@recursica/mantine-adapter 0.10.0 → 0.12.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/README.md +6 -28
- 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 +1650 -1344
- package/dist/mantine-adapter.js.map +1 -1
- package/dist/src/components/Checkbox/Checkbox.d.ts +3 -1
- package/dist/src/components/FormControlLayout/FormControlLayout.d.ts +21 -0
- package/dist/src/components/FormControlWrapper/FormControlWrapper.d.ts +2 -0
- package/dist/src/components/Label/Label.d.ts +1 -3
- package/dist/src/components/Menu/Menu.d.ts +85 -3
- package/dist/src/components/Radio/Radio.d.ts +3 -1
- package/dist/src/components/ReadOnlyField/ReadOnlyBooleanField.d.ts +5 -0
- package/dist/src/components/ReadOnlyField/ReadOnlyField.d.ts +6 -6
- package/dist/src/components/ReadOnlyField/ReadOnlySwitchField.d.ts +5 -0
- package/dist/src/components/ReadOnlyField/WithReadOnlyWrapper.d.ts +7 -1
- package/dist/src/components/ReadOnlyField/index.d.ts +2 -0
- package/dist/src/components/Switch/Switch.d.ts +3 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/utils/RequireAccessibleLabel.d.ts +18 -0
- package/package.json +1 -1
- package/src/components/AssistiveElement/AssistiveElement.stories.tsx +6 -4
- package/src/components/Avatar/Avatar.stories.tsx +10 -5
- package/src/components/Badge/Badge.stories.tsx +2 -1
- package/src/components/Button/Button.stories.tsx +2 -4
- package/src/components/Checkbox/Checkbox.module.css +1 -1
- package/src/components/Checkbox/Checkbox.stories.tsx +24 -3
- package/src/components/Checkbox/Checkbox.tsx +72 -15
- package/src/components/Checkbox/CheckboxGroup.stories.tsx +26 -25
- package/src/components/Checkbox/CheckboxGroup.tsx +38 -58
- package/src/components/Container/Container.stories.tsx +6 -3
- package/src/components/DatePicker/DatePicker.stories.tsx +1 -5
- package/src/components/Dropdown/Dropdown.stories.tsx +0 -3
- package/src/components/Dropdown/Dropdown.tsx +6 -5
- package/src/components/FileInput/FileInput.stories.tsx +1 -5
- package/src/components/FileUpload/FileUpload.stories.tsx +1 -5
- package/src/components/Flex/Flex.stories.tsx +6 -3
- package/src/components/FormControlLayout/FormControlLayout.module.css +80 -0
- package/src/components/FormControlLayout/FormControlLayout.stories.tsx +82 -0
- package/src/components/FormControlLayout/FormControlLayout.tsx +78 -0
- package/src/components/FormControlWrapper/FormControlWrapper.module.css +3 -41
- package/src/components/FormControlWrapper/FormControlWrapper.stories.tsx +18 -5
- package/src/components/FormControlWrapper/FormControlWrapper.tsx +28 -41
- package/src/components/Group/Group.stories.tsx +6 -3
- package/src/components/Label/Label.module.css +0 -37
- package/src/components/Label/Label.stories.tsx +8 -9
- package/src/components/Label/Label.tsx +2 -7
- package/src/components/Loader/Loader.stories.tsx +10 -5
- package/src/components/Menu/MENU_IMPLEMENTATION_NOTES.md +78 -0
- package/src/components/Menu/Menu.module.css +244 -0
- package/src/components/Menu/Menu.stories.tsx +309 -5
- package/src/components/Menu/Menu.tsx +317 -4
- package/src/components/NumberInput/NumberInput.stories.tsx +1 -5
- package/src/components/Radio/Radio.stories.tsx +22 -8
- package/src/components/Radio/Radio.tsx +134 -75
- package/src/components/Radio/RadioGroup.stories.tsx +26 -7
- package/src/components/Radio/RadioGroup.tsx +37 -57
- package/src/components/ReadOnlyField/ReadOnlyBooleanField.tsx +21 -0
- package/src/components/ReadOnlyField/ReadOnlyField.stories.tsx +43 -0
- package/src/components/ReadOnlyField/ReadOnlyField.tsx +30 -3
- package/src/components/ReadOnlyField/ReadOnlySwitchField.tsx +21 -0
- package/src/components/ReadOnlyField/ReadOnlyTextField.tsx +3 -1
- package/src/components/ReadOnlyField/WithReadOnlyWrapper.tsx +10 -2
- package/src/components/ReadOnlyField/index.ts +2 -0
- package/src/components/SegmentedControl/SegmentedControl.stories.tsx +1 -5
- package/src/components/Slider/Slider.stories.tsx +1 -5
- package/src/components/Stack/Stack.stories.tsx +6 -3
- package/src/components/Switch/Switch.module.css +2 -10
- package/src/components/Switch/Switch.stories.tsx +42 -27
- package/src/components/Switch/Switch.tsx +138 -89
- package/src/components/Switch/SwitchGroup.stories.tsx +28 -8
- package/src/components/Switch/SwitchGroup.tsx +37 -57
- package/src/components/TextArea/TextArea.stories.tsx +0 -3
- package/src/components/TextArea/TextArea.tsx +6 -5
- package/src/components/TextField/TextField.tsx +6 -5
- package/src/components/TimePicker/TimePicker.stories.tsx +1 -5
- package/src/components/index.ts +1 -0
- package/src/utils/RequireAccessibleLabel.ts +12 -0
package/dist/mantine-adapter.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { Accordion as
|
|
4
|
-
const
|
|
1
|
+
import { jsx as e, jsxs as E, Fragment as ie } from "react/jsx-runtime";
|
|
2
|
+
import B, { forwardRef as $, useId as no, useEffect as lo } from "react";
|
|
3
|
+
import { Accordion as ye, Avatar as co, Badge as io, Breadcrumbs as po, Button as mo, Card as he, Input as Ae, Box as Ce, Checkbox as Se, Chip as uo, Container as _o, Select as bo, Flex as yo, Group as ho, Loader as fo, Menu as q, Radio as Te, Stack as No, Switch as Ie, CheckIcon as $o, CloseIcon as vo, Text as Co, Textarea as go, Title as xo } from "@mantine/core";
|
|
4
|
+
const wo = [
|
|
5
5
|
"className",
|
|
6
6
|
"classNames",
|
|
7
7
|
"style",
|
|
@@ -45,7 +45,7 @@ const ie = [
|
|
|
45
45
|
"mih",
|
|
46
46
|
"mah"
|
|
47
47
|
// Dimensions
|
|
48
|
-
],
|
|
48
|
+
], Po = /* @__PURE__ */ new Set([
|
|
49
49
|
"m",
|
|
50
50
|
"my",
|
|
51
51
|
"mx",
|
|
@@ -60,7 +60,7 @@ const ie = [
|
|
|
60
60
|
"left",
|
|
61
61
|
"bottom",
|
|
62
62
|
"right"
|
|
63
|
-
]),
|
|
63
|
+
]), Pe = {
|
|
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,420 +69,418 @@ const ie = [
|
|
|
69
69
|
"rec-xl": "var(--recursica_brand_dimensions_general_xl)",
|
|
70
70
|
"rec-2xl": "var(--recursica_brand_dimensions_general_2xl)"
|
|
71
71
|
};
|
|
72
|
-
function
|
|
73
|
-
if (
|
|
74
|
-
return
|
|
75
|
-
const
|
|
76
|
-
for (const
|
|
77
|
-
|
|
78
|
-
for (const [
|
|
79
|
-
typeof
|
|
80
|
-
return
|
|
72
|
+
function v(r, o) {
|
|
73
|
+
if (o)
|
|
74
|
+
return r;
|
|
75
|
+
const n = { ...r };
|
|
76
|
+
for (const s of wo)
|
|
77
|
+
s in n && delete n[s];
|
|
78
|
+
for (const [s, t] of Object.entries(n))
|
|
79
|
+
typeof t == "string" && t.startsWith("rec-") && Po.has(s) && t in Pe && (n[s] = Pe[t]);
|
|
80
|
+
return n;
|
|
81
81
|
}
|
|
82
|
-
const
|
|
83
|
-
root:
|
|
84
|
-
item:
|
|
85
|
-
noDivider:
|
|
86
|
-
control:
|
|
87
|
-
label:
|
|
88
|
-
chevron:
|
|
89
|
-
iconLeftWrapper:
|
|
90
|
-
panel:
|
|
91
|
-
content:
|
|
92
|
-
},
|
|
93
|
-
variant:
|
|
94
|
-
overStyled:
|
|
95
|
-
...
|
|
82
|
+
const Wo = "Accordion-module__root___Dem6d", ko = "Accordion-module__item___7ryVk", Ao = "Accordion-module__noDivider___Ni2tT", So = "Accordion-module__control___b4wgX", To = "Accordion-module__label___Ss7uW", Io = "Accordion-module__chevron___i-HVZ", Lo = "Accordion-module__iconLeftWrapper___5oLen", Ro = "Accordion-module__panel___Wx50w", Oo = "Accordion-module__content___PEM9t", H = {
|
|
83
|
+
root: Wo,
|
|
84
|
+
item: ko,
|
|
85
|
+
noDivider: Ao,
|
|
86
|
+
control: So,
|
|
87
|
+
label: To,
|
|
88
|
+
chevron: Io,
|
|
89
|
+
iconLeftWrapper: Lo,
|
|
90
|
+
panel: Ro,
|
|
91
|
+
content: Oo
|
|
92
|
+
}, Le = function({
|
|
93
|
+
variant: o = "unstyled",
|
|
94
|
+
overStyled: n = !1,
|
|
95
|
+
...s
|
|
96
96
|
}) {
|
|
97
|
-
const
|
|
98
|
-
root:
|
|
99
|
-
item:
|
|
100
|
-
control:
|
|
101
|
-
label:
|
|
102
|
-
chevron:
|
|
103
|
-
panel:
|
|
104
|
-
content:
|
|
105
|
-
},
|
|
106
|
-
if (
|
|
107
|
-
const
|
|
108
|
-
Object.keys(
|
|
109
|
-
|
|
97
|
+
const t = v(s, n), a = {
|
|
98
|
+
root: H.root,
|
|
99
|
+
item: H.item,
|
|
100
|
+
control: H.control,
|
|
101
|
+
label: H.label,
|
|
102
|
+
chevron: H.chevron,
|
|
103
|
+
panel: H.panel,
|
|
104
|
+
content: H.content
|
|
105
|
+
}, c = t.classNames;
|
|
106
|
+
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
107
|
+
const d = c;
|
|
108
|
+
Object.keys(d).forEach((i) => {
|
|
109
|
+
a[i] ? a[i] = `${a[i]} ${d[i]}` : a[i] = d[i];
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
|
-
const
|
|
113
|
-
return /* @__PURE__ */
|
|
114
|
-
|
|
112
|
+
const l = t.className;
|
|
113
|
+
return /* @__PURE__ */ e(
|
|
114
|
+
ye,
|
|
115
115
|
{
|
|
116
|
-
variant:
|
|
117
|
-
className:
|
|
118
|
-
classNames:
|
|
119
|
-
...
|
|
116
|
+
variant: o,
|
|
117
|
+
className: l,
|
|
118
|
+
classNames: a,
|
|
119
|
+
...t
|
|
120
120
|
}
|
|
121
121
|
);
|
|
122
122
|
};
|
|
123
|
-
|
|
124
|
-
const
|
|
125
|
-
const
|
|
126
|
-
return /* @__PURE__ */
|
|
127
|
-
|
|
123
|
+
Le.displayName = "Accordion";
|
|
124
|
+
const Re = $(function({ title: o, leftIcon: n, divider: s = !0, children: t, overStyled: a = !1, ...c }, l) {
|
|
125
|
+
const d = v(c, a), i = d.className, p = [s ? void 0 : H.noDivider, i].filter(Boolean).join(" ") || void 0;
|
|
126
|
+
return /* @__PURE__ */ e(
|
|
127
|
+
ye.Item,
|
|
128
128
|
{
|
|
129
|
-
ref:
|
|
129
|
+
ref: l,
|
|
130
130
|
className: p,
|
|
131
|
-
...
|
|
132
|
-
children:
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */
|
|
135
|
-
] }) :
|
|
131
|
+
...d,
|
|
132
|
+
children: o ? /* @__PURE__ */ E(ie, { children: [
|
|
133
|
+
/* @__PURE__ */ e(ge, { leftIcon: n, children: o }),
|
|
134
|
+
/* @__PURE__ */ e(xe, { children: t })
|
|
135
|
+
] }) : t
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
138
|
});
|
|
139
|
-
|
|
140
|
-
const
|
|
141
|
-
const
|
|
142
|
-
return /* @__PURE__ */
|
|
143
|
-
|
|
139
|
+
Re.displayName = "AccordionItem";
|
|
140
|
+
const ge = $(function({ leftIcon: o, children: n, overStyled: s = !1, ...t }, a) {
|
|
141
|
+
const c = v(t, s), l = c.className;
|
|
142
|
+
return /* @__PURE__ */ e(
|
|
143
|
+
ye.Control,
|
|
144
144
|
{
|
|
145
|
-
ref:
|
|
146
|
-
className:
|
|
147
|
-
icon:
|
|
148
|
-
...
|
|
149
|
-
children:
|
|
145
|
+
ref: a,
|
|
146
|
+
className: l,
|
|
147
|
+
icon: o ? /* @__PURE__ */ e("span", { className: H.iconLeftWrapper, "aria-hidden": !0, children: o }) : void 0,
|
|
148
|
+
...c,
|
|
149
|
+
children: n
|
|
150
150
|
}
|
|
151
151
|
);
|
|
152
152
|
});
|
|
153
|
-
|
|
154
|
-
const
|
|
155
|
-
const
|
|
156
|
-
return /* @__PURE__ */
|
|
157
|
-
|
|
153
|
+
ge.displayName = "AccordionControl";
|
|
154
|
+
const xe = $(function({ overStyled: o = !1, ...n }, s) {
|
|
155
|
+
const t = v(n, o), a = t.className;
|
|
156
|
+
return /* @__PURE__ */ e(
|
|
157
|
+
ye.Panel,
|
|
158
158
|
{
|
|
159
|
-
ref:
|
|
160
|
-
className:
|
|
161
|
-
...
|
|
159
|
+
ref: s,
|
|
160
|
+
className: a,
|
|
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
|
-
},
|
|
177
|
-
size:
|
|
178
|
-
variant:
|
|
179
|
-
icon:
|
|
180
|
-
className:
|
|
181
|
-
classNames:
|
|
182
|
-
children:
|
|
183
|
-
style:
|
|
184
|
-
src:
|
|
185
|
-
...
|
|
165
|
+
xe.displayName = "AccordionPanel";
|
|
166
|
+
const we = Le;
|
|
167
|
+
we.Item = Re;
|
|
168
|
+
we.Control = ge;
|
|
169
|
+
we.Panel = xe;
|
|
170
|
+
const zo = "Avatar-module__root___fXu-J", Mo = "Avatar-module__iconWrapper___ojly2", Fo = "Avatar-module__textWrapper___zp-jD", Eo = "Avatar-module__image___ieqGp", Bo = "Avatar-module__placeholder___IDW7-", V = {
|
|
171
|
+
root: zo,
|
|
172
|
+
iconWrapper: Mo,
|
|
173
|
+
textWrapper: Fo,
|
|
174
|
+
image: Eo,
|
|
175
|
+
placeholder: Bo
|
|
176
|
+
}, jo = $(function({
|
|
177
|
+
size: o = "default",
|
|
178
|
+
variant: n = "solid",
|
|
179
|
+
icon: s,
|
|
180
|
+
className: t,
|
|
181
|
+
classNames: a,
|
|
182
|
+
children: c,
|
|
183
|
+
style: l,
|
|
184
|
+
src: d,
|
|
185
|
+
...i
|
|
186
186
|
}, p) {
|
|
187
|
-
const
|
|
187
|
+
const u = {
|
|
188
188
|
solid: "filled",
|
|
189
189
|
outline: "outline",
|
|
190
190
|
ghost: "transparent"
|
|
191
|
-
},
|
|
191
|
+
}, y = {
|
|
192
192
|
default: "md",
|
|
193
193
|
small: "sm",
|
|
194
194
|
large: "lg"
|
|
195
195
|
};
|
|
196
|
-
let
|
|
197
|
-
|
|
198
|
-
const
|
|
199
|
-
root:
|
|
200
|
-
image:
|
|
201
|
-
placeholder:
|
|
196
|
+
let m = "text";
|
|
197
|
+
d ? m = "image" : s && (m = "icon");
|
|
198
|
+
const _ = {
|
|
199
|
+
root: V.root,
|
|
200
|
+
image: V.image,
|
|
201
|
+
placeholder: V.placeholder
|
|
202
202
|
};
|
|
203
|
-
if (
|
|
204
|
-
const
|
|
205
|
-
|
|
203
|
+
if (a && typeof a == "object" && !Array.isArray(a)) {
|
|
204
|
+
const h = a;
|
|
205
|
+
_.root = h.root ? `${V.root} ${h.root}` : V.root, _.image = h.image ? `${V.image} ${h.image}` : V.image, _.placeholder = h.placeholder ? `${V.placeholder} ${h.placeholder}` : V.placeholder;
|
|
206
206
|
}
|
|
207
|
-
return /* @__PURE__ */
|
|
208
|
-
|
|
207
|
+
return /* @__PURE__ */ e(
|
|
208
|
+
co,
|
|
209
209
|
{
|
|
210
210
|
ref: p,
|
|
211
|
-
className:
|
|
212
|
-
classNames:
|
|
213
|
-
variant:
|
|
214
|
-
size:
|
|
215
|
-
style:
|
|
216
|
-
src:
|
|
217
|
-
"data-variant":
|
|
218
|
-
"data-size":
|
|
219
|
-
"data-style":
|
|
220
|
-
...
|
|
221
|
-
children:
|
|
211
|
+
className: t,
|
|
212
|
+
classNames: _,
|
|
213
|
+
variant: u[n],
|
|
214
|
+
size: y[o],
|
|
215
|
+
style: l,
|
|
216
|
+
src: d,
|
|
217
|
+
"data-variant": n,
|
|
218
|
+
"data-size": o,
|
|
219
|
+
"data-style": m,
|
|
220
|
+
...i,
|
|
221
|
+
children: s != null ? /* @__PURE__ */ e("span", { className: V.iconWrapper, "aria-hidden": !0, children: s }) : c != null ? /* @__PURE__ */ e("span", { className: V.textWrapper, children: c }) : void 0
|
|
222
222
|
}
|
|
223
223
|
);
|
|
224
224
|
});
|
|
225
|
-
|
|
226
|
-
const
|
|
227
|
-
root:
|
|
228
|
-
},
|
|
229
|
-
const
|
|
230
|
-
root:
|
|
231
|
-
section:
|
|
232
|
-
label:
|
|
233
|
-
},
|
|
234
|
-
if (
|
|
235
|
-
const p =
|
|
236
|
-
|
|
225
|
+
jo.displayName = "Avatar";
|
|
226
|
+
const Do = "Badge-module__root___5osNT", Y = {
|
|
227
|
+
root: Do
|
|
228
|
+
}, Vo = $(function({ variant: o = "primary-color", overStyled: n = !1, ...s }, t) {
|
|
229
|
+
const a = v(s, n), c = {
|
|
230
|
+
root: Y.root,
|
|
231
|
+
section: Y.section,
|
|
232
|
+
label: Y.label
|
|
233
|
+
}, l = a.classNames;
|
|
234
|
+
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
235
|
+
const p = l;
|
|
236
|
+
c.root = p.root ? `${Y.root} ${p.root}` : Y.root, c.section = p.section ?? Y.section, c.label = p.label ?? Y.label;
|
|
237
237
|
}
|
|
238
|
-
const
|
|
239
|
-
return /* @__PURE__ */
|
|
240
|
-
|
|
238
|
+
const d = a.className, i = d ? `${Y.root} ${d}` : Y.root;
|
|
239
|
+
return /* @__PURE__ */ e(
|
|
240
|
+
io,
|
|
241
241
|
{
|
|
242
|
-
ref:
|
|
242
|
+
ref: t,
|
|
243
243
|
variant: "filled",
|
|
244
|
-
"data-variant":
|
|
245
|
-
...
|
|
246
|
-
className:
|
|
247
|
-
classNames:
|
|
244
|
+
"data-variant": o,
|
|
245
|
+
...a,
|
|
246
|
+
className: i,
|
|
247
|
+
classNames: c
|
|
248
248
|
}
|
|
249
249
|
);
|
|
250
250
|
});
|
|
251
|
-
|
|
252
|
-
const
|
|
253
|
-
root:
|
|
254
|
-
separator:
|
|
255
|
-
},
|
|
256
|
-
function({ overStyled:
|
|
257
|
-
const
|
|
258
|
-
{ separator:
|
|
259
|
-
|
|
260
|
-
),
|
|
261
|
-
root:
|
|
262
|
-
separator:
|
|
263
|
-
},
|
|
264
|
-
if (
|
|
265
|
-
const p =
|
|
266
|
-
|
|
251
|
+
Vo.displayName = "Badge";
|
|
252
|
+
const Go = "Breadcrumb-module__root___x-9ln", qo = "Breadcrumb-module__separator___qrUX-", U = {
|
|
253
|
+
root: Go,
|
|
254
|
+
separator: qo
|
|
255
|
+
}, Yo = $(
|
|
256
|
+
function({ overStyled: o = !1, separator: n = ">", ...s }, t) {
|
|
257
|
+
const a = v(
|
|
258
|
+
{ separator: n, ...s },
|
|
259
|
+
o
|
|
260
|
+
), c = {
|
|
261
|
+
root: U.root,
|
|
262
|
+
separator: U.separator
|
|
263
|
+
}, l = a.classNames;
|
|
264
|
+
if (l && typeof l == "object" && !Array.isArray(l)) {
|
|
265
|
+
const p = l;
|
|
266
|
+
c.root = p.root ? `${U.root} ${p.root}` : U.root, c.separator = p.separator ? `${U.separator} ${p.separator}` : U.separator;
|
|
267
267
|
}
|
|
268
|
-
const
|
|
269
|
-
return /* @__PURE__ */
|
|
270
|
-
|
|
268
|
+
const d = a.className, i = d ? `${U.root} ${d}` : U.root;
|
|
269
|
+
return /* @__PURE__ */ e(
|
|
270
|
+
po,
|
|
271
271
|
{
|
|
272
|
-
ref:
|
|
273
|
-
...
|
|
274
|
-
className:
|
|
275
|
-
classNames:
|
|
272
|
+
ref: t,
|
|
273
|
+
...a,
|
|
274
|
+
className: i,
|
|
275
|
+
classNames: c
|
|
276
276
|
}
|
|
277
277
|
);
|
|
278
278
|
}
|
|
279
279
|
);
|
|
280
|
-
|
|
281
|
-
const
|
|
282
|
-
root:
|
|
283
|
-
label:
|
|
284
|
-
labelText:
|
|
285
|
-
iconWrapper:
|
|
286
|
-
section:
|
|
280
|
+
Yo.displayName = "Breadcrumb";
|
|
281
|
+
const Zo = "Button-module__root___Q2R8-", Ho = "Button-module__label___UJ3Zt", Ko = "Button-module__labelText___rFV5p", Uo = "Button-module__iconWrapper___uEKPa", Xo = "Button-module__section___f2mKr", G = {
|
|
282
|
+
root: Zo,
|
|
283
|
+
label: Ho,
|
|
284
|
+
labelText: Ko,
|
|
285
|
+
iconWrapper: Uo,
|
|
286
|
+
section: Xo
|
|
287
287
|
};
|
|
288
|
-
function
|
|
289
|
-
return
|
|
288
|
+
function Qo(r) {
|
|
289
|
+
return r == null || r === "" ? !1 : typeof r == "string" ? r.trim() !== "" : !0;
|
|
290
290
|
}
|
|
291
|
-
const
|
|
291
|
+
const Jo = $(
|
|
292
292
|
function({
|
|
293
|
-
variant:
|
|
294
|
-
size:
|
|
295
|
-
icon:
|
|
296
|
-
children:
|
|
297
|
-
overStyled:
|
|
298
|
-
...
|
|
299
|
-
},
|
|
300
|
-
const
|
|
293
|
+
variant: o = "solid",
|
|
294
|
+
size: n = "default",
|
|
295
|
+
icon: s,
|
|
296
|
+
children: t,
|
|
297
|
+
overStyled: a = !1,
|
|
298
|
+
...c
|
|
299
|
+
}, l) {
|
|
300
|
+
const d = {
|
|
301
301
|
solid: "filled",
|
|
302
302
|
outline: "outline",
|
|
303
303
|
text: "subtle"
|
|
304
|
-
},
|
|
304
|
+
}, i = {
|
|
305
305
|
default: "md",
|
|
306
306
|
small: "sm"
|
|
307
|
-
}, p =
|
|
308
|
-
delete
|
|
309
|
-
const
|
|
310
|
-
typeof process < "u" && process.env.NODE_ENV !== "production" &&
|
|
307
|
+
}, p = v(c, a), u = p;
|
|
308
|
+
delete u.fullWidth;
|
|
309
|
+
const y = !!s || !!u.leftSection, m = !!u.rightSection, _ = (y || m) && !Qo(t);
|
|
310
|
+
typeof process < "u" && process.env.NODE_ENV !== "production" && _ && !u["aria-label"] && console.warn(
|
|
311
311
|
'[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
|
|
312
312
|
);
|
|
313
|
-
const
|
|
314
|
-
root:
|
|
315
|
-
section:
|
|
316
|
-
label:
|
|
317
|
-
}, C =
|
|
313
|
+
const h = {
|
|
314
|
+
root: G.root,
|
|
315
|
+
section: G.section,
|
|
316
|
+
label: G.label
|
|
317
|
+
}, C = u.classNames;
|
|
318
318
|
if (C && typeof C == "object" && !Array.isArray(C)) {
|
|
319
|
-
const
|
|
320
|
-
|
|
319
|
+
const b = C;
|
|
320
|
+
h.root = b.root ? `${G.root} ${b.root}` : G.root, h.section = b.section ?? G.section, h.label = b.label ?? G.label;
|
|
321
321
|
}
|
|
322
|
-
const
|
|
323
|
-
return /* @__PURE__ */
|
|
324
|
-
|
|
322
|
+
const f = u.className, g = f ? `${G.root} ${f}` : G.root;
|
|
323
|
+
return /* @__PURE__ */ e(
|
|
324
|
+
mo,
|
|
325
325
|
{
|
|
326
|
-
ref:
|
|
326
|
+
ref: l,
|
|
327
327
|
className: g,
|
|
328
|
-
classNames:
|
|
329
|
-
variant:
|
|
330
|
-
size:
|
|
331
|
-
leftSection:
|
|
332
|
-
"data-variant":
|
|
333
|
-
"data-size":
|
|
334
|
-
...
|
|
328
|
+
classNames: h,
|
|
329
|
+
variant: d[o],
|
|
330
|
+
size: i[n],
|
|
331
|
+
leftSection: s != null ? /* @__PURE__ */ e("span", { className: G.iconWrapper, "aria-hidden": !0, children: s }) : void 0,
|
|
332
|
+
"data-variant": o,
|
|
333
|
+
"data-size": n,
|
|
334
|
+
..._ ? { "data-icon-only": "" } : {},
|
|
335
335
|
...p,
|
|
336
|
-
children: /* @__PURE__ */
|
|
336
|
+
children: /* @__PURE__ */ e("span", { className: G.labelText, children: t })
|
|
337
337
|
}
|
|
338
338
|
);
|
|
339
339
|
}
|
|
340
340
|
);
|
|
341
|
-
|
|
342
|
-
const
|
|
343
|
-
root:
|
|
344
|
-
header:
|
|
345
|
-
footer:
|
|
346
|
-
section:
|
|
347
|
-
content:
|
|
348
|
-
},
|
|
349
|
-
const
|
|
350
|
-
root:
|
|
351
|
-
},
|
|
352
|
-
if (
|
|
353
|
-
const
|
|
354
|
-
Object.keys(
|
|
355
|
-
|
|
341
|
+
Jo.displayName = "Button";
|
|
342
|
+
const et = "Card-module__root___c9KvZ", ot = "Card-module__header___PTXf2", tt = "Card-module__footer___Mu-JC", rt = "Card-module__section___BRT8H", at = "Card-module__content___oFIQa", K = {
|
|
343
|
+
root: et,
|
|
344
|
+
header: ot,
|
|
345
|
+
footer: tt,
|
|
346
|
+
section: rt,
|
|
347
|
+
content: at
|
|
348
|
+
}, Oe = $(function({ overStyled: o = !1, ...n }, s) {
|
|
349
|
+
const t = v(n, o), a = {
|
|
350
|
+
root: K.root
|
|
351
|
+
}, c = t.classNames;
|
|
352
|
+
if (c && typeof c == "object" && !Array.isArray(c)) {
|
|
353
|
+
const d = c;
|
|
354
|
+
Object.keys(d).forEach((i) => {
|
|
355
|
+
a[i] ? a[i] = `${a[i]} ${d[i]}` : a[i] = d[i];
|
|
356
356
|
});
|
|
357
357
|
}
|
|
358
|
-
const
|
|
359
|
-
return /* @__PURE__ */
|
|
360
|
-
|
|
358
|
+
const l = t.className;
|
|
359
|
+
return /* @__PURE__ */ e(
|
|
360
|
+
he,
|
|
361
361
|
{
|
|
362
|
-
ref:
|
|
363
|
-
className:
|
|
364
|
-
classNames:
|
|
365
|
-
...
|
|
362
|
+
ref: s,
|
|
363
|
+
className: l,
|
|
364
|
+
classNames: a,
|
|
365
|
+
...t
|
|
366
366
|
}
|
|
367
367
|
);
|
|
368
368
|
});
|
|
369
|
-
|
|
370
|
-
const
|
|
371
|
-
function({ overStyled:
|
|
372
|
-
const
|
|
373
|
-
return /* @__PURE__ */
|
|
374
|
-
|
|
369
|
+
Oe.displayName = "Card";
|
|
370
|
+
const ze = $(
|
|
371
|
+
function({ overStyled: o = !1, ...n }, s) {
|
|
372
|
+
const t = v(n, o), a = t.className;
|
|
373
|
+
return /* @__PURE__ */ e(
|
|
374
|
+
he.Section,
|
|
375
375
|
{
|
|
376
|
-
ref:
|
|
377
|
-
className:
|
|
378
|
-
...
|
|
376
|
+
ref: s,
|
|
377
|
+
className: a ? `${K.section} ${a}` : K.section,
|
|
378
|
+
...t
|
|
379
379
|
}
|
|
380
380
|
);
|
|
381
381
|
}
|
|
382
382
|
);
|
|
383
|
-
|
|
384
|
-
const
|
|
385
|
-
function({ overStyled:
|
|
386
|
-
const
|
|
387
|
-
return /* @__PURE__ */
|
|
388
|
-
|
|
383
|
+
ze.displayName = "CardSection";
|
|
384
|
+
const Me = $(
|
|
385
|
+
function({ overStyled: o = !1, ...n }, s) {
|
|
386
|
+
const t = v(n, o), a = t.className;
|
|
387
|
+
return /* @__PURE__ */ e(
|
|
388
|
+
he.Section,
|
|
389
389
|
{
|
|
390
|
-
ref:
|
|
391
|
-
className:
|
|
392
|
-
...
|
|
390
|
+
ref: s,
|
|
391
|
+
className: a ? `${K.header} ${a}` : K.header,
|
|
392
|
+
...t
|
|
393
393
|
}
|
|
394
394
|
);
|
|
395
395
|
}
|
|
396
396
|
);
|
|
397
|
-
|
|
398
|
-
const
|
|
399
|
-
function({ overStyled:
|
|
400
|
-
const
|
|
401
|
-
return /* @__PURE__ */
|
|
402
|
-
|
|
397
|
+
Me.displayName = "CardHeader";
|
|
398
|
+
const Fe = $(
|
|
399
|
+
function({ overStyled: o = !1, ...n }, s) {
|
|
400
|
+
const t = v(n, o), a = t.className;
|
|
401
|
+
return /* @__PURE__ */ e(
|
|
402
|
+
he.Section,
|
|
403
403
|
{
|
|
404
|
-
ref:
|
|
405
|
-
className:
|
|
406
|
-
...
|
|
404
|
+
ref: s,
|
|
405
|
+
className: a ? `${K.footer} ${a}` : K.footer,
|
|
406
|
+
...t
|
|
407
407
|
}
|
|
408
408
|
);
|
|
409
409
|
}
|
|
410
410
|
);
|
|
411
|
-
|
|
412
|
-
const
|
|
413
|
-
function({ overStyled:
|
|
414
|
-
const
|
|
415
|
-
return /* @__PURE__ */
|
|
411
|
+
Fe.displayName = "CardFooter";
|
|
412
|
+
const Ee = $(
|
|
413
|
+
function({ overStyled: o = !1, ...n }, s) {
|
|
414
|
+
const t = v(n, o), a = t.className;
|
|
415
|
+
return /* @__PURE__ */ e(
|
|
416
416
|
"div",
|
|
417
417
|
{
|
|
418
|
-
ref:
|
|
419
|
-
className:
|
|
420
|
-
...
|
|
418
|
+
ref: s,
|
|
419
|
+
className: a ? `${K.content} ${a}` : K.content,
|
|
420
|
+
...t
|
|
421
421
|
}
|
|
422
422
|
);
|
|
423
423
|
}
|
|
424
424
|
);
|
|
425
|
-
|
|
426
|
-
const
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
const
|
|
432
|
-
root:
|
|
433
|
-
labelText:
|
|
434
|
-
required:
|
|
435
|
-
optionalText:
|
|
436
|
-
actionAreaWrapper:
|
|
437
|
-
editIconWrapper:
|
|
438
|
-
},
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
...m
|
|
425
|
+
Ee.displayName = "CardContent";
|
|
426
|
+
const fe = Oe;
|
|
427
|
+
fe.Section = ze;
|
|
428
|
+
fe.Header = Me;
|
|
429
|
+
fe.Footer = Fe;
|
|
430
|
+
fe.Content = Ee;
|
|
431
|
+
const st = "Label-module__root___e6HXZ", nt = "Label-module__labelText___rieFR", lt = "Label-module__required___Ggrzc", ct = "Label-module__optionalText___Y2yun", it = "Label-module__actionAreaWrapper___ELoZK", dt = "Label-module__editIconWrapper___NG2xW", D = {
|
|
432
|
+
root: st,
|
|
433
|
+
labelText: nt,
|
|
434
|
+
required: lt,
|
|
435
|
+
optionalText: ct,
|
|
436
|
+
actionAreaWrapper: it,
|
|
437
|
+
editIconWrapper: dt
|
|
438
|
+
}, Be = $(function({
|
|
439
|
+
labelSize: o = "default",
|
|
440
|
+
labelAlignment: n,
|
|
441
|
+
required: s = !1,
|
|
442
|
+
labelOptionalText: t,
|
|
443
|
+
labelWithEditIcon: a,
|
|
444
|
+
labelActionArea: c,
|
|
445
|
+
onLabelEditClick: l,
|
|
446
|
+
children: d,
|
|
447
|
+
overStyled: i = !1,
|
|
448
|
+
...p
|
|
450
449
|
}, u) {
|
|
451
|
-
const
|
|
452
|
-
let
|
|
453
|
-
|
|
454
|
-
const
|
|
455
|
-
label:
|
|
456
|
-
required:
|
|
457
|
-
},
|
|
458
|
-
if (
|
|
459
|
-
const
|
|
460
|
-
|
|
450
|
+
const y = n || "left";
|
|
451
|
+
let m;
|
|
452
|
+
s || (t === !0 ? m = "optional" : t && (m = t));
|
|
453
|
+
const _ = v(p, i), h = _, C = {
|
|
454
|
+
label: D.root,
|
|
455
|
+
required: D.required
|
|
456
|
+
}, f = h.classNames;
|
|
457
|
+
if (f && typeof f == "object" && !Array.isArray(f)) {
|
|
458
|
+
const P = f;
|
|
459
|
+
C.label = P.label ? `${D.root} ${P.label}` : D.root, C.required = P.required ? `${D.required} ${P.required}` : D.required;
|
|
461
460
|
}
|
|
462
|
-
const
|
|
463
|
-
return /* @__PURE__ */
|
|
464
|
-
|
|
461
|
+
const g = h.className, b = g ? `${D.root} ${g}` : D.root;
|
|
462
|
+
return /* @__PURE__ */ E(
|
|
463
|
+
Ae.Label,
|
|
465
464
|
{
|
|
466
465
|
ref: u,
|
|
467
|
-
className:
|
|
468
|
-
classNames:
|
|
469
|
-
"data-
|
|
470
|
-
"data-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
...b,
|
|
466
|
+
className: b,
|
|
467
|
+
classNames: C,
|
|
468
|
+
"data-size": o,
|
|
469
|
+
"data-alignment": y,
|
|
470
|
+
required: s && !a,
|
|
471
|
+
..._,
|
|
474
472
|
children: [
|
|
475
|
-
/* @__PURE__ */
|
|
476
|
-
|
|
477
|
-
|
|
473
|
+
/* @__PURE__ */ e("span", { className: D.labelText, children: d }),
|
|
474
|
+
m && /* @__PURE__ */ e("span", { className: D.optionalText, children: typeof m == "string" ? `(${m})` : m }),
|
|
475
|
+
c ? /* @__PURE__ */ e("span", { className: D.actionAreaWrapper, children: c }) : a ? /* @__PURE__ */ e(
|
|
478
476
|
"button",
|
|
479
477
|
{
|
|
480
478
|
type: "button",
|
|
481
|
-
className:
|
|
482
|
-
"data-replaces-asterisk":
|
|
483
|
-
onClick:
|
|
479
|
+
className: D.editIconWrapper,
|
|
480
|
+
"data-replaces-asterisk": s ? "true" : void 0,
|
|
481
|
+
onClick: l,
|
|
484
482
|
"aria-label": "Edit",
|
|
485
|
-
children: /* @__PURE__ */
|
|
483
|
+
children: /* @__PURE__ */ e(
|
|
486
484
|
"svg",
|
|
487
485
|
{
|
|
488
486
|
width: "16",
|
|
@@ -490,7 +488,7 @@ const De = "Label-module__root___e6HXZ", Ve = "Label-module__labelText___rieFR",
|
|
|
490
488
|
viewBox: "0 0 16 16",
|
|
491
489
|
fill: "none",
|
|
492
490
|
xmlns: "http://www.w3.org/2000/svg",
|
|
493
|
-
children: /* @__PURE__ */
|
|
491
|
+
children: /* @__PURE__ */ e(
|
|
494
492
|
"path",
|
|
495
493
|
{
|
|
496
494
|
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",
|
|
@@ -507,12 +505,48 @@ const De = "Label-module__root___e6HXZ", Ve = "Label-module__labelText___rieFR",
|
|
|
507
505
|
}
|
|
508
506
|
);
|
|
509
507
|
});
|
|
510
|
-
|
|
511
|
-
const
|
|
512
|
-
root:
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
},
|
|
508
|
+
Be.displayName = "Label";
|
|
509
|
+
const pt = "FormControlLayout-module__root___yNDhZ", mt = "FormControlLayout-module__leftSection___GBM1r", ut = "FormControlLayout-module__rightSection___bcL4v", pe = {
|
|
510
|
+
root: pt,
|
|
511
|
+
leftSection: mt,
|
|
512
|
+
rightSection: ut
|
|
513
|
+
}, X = $(function({
|
|
514
|
+
formLayout: o = "stacked",
|
|
515
|
+
labelSize: n = "default",
|
|
516
|
+
controlMaxWidth: s,
|
|
517
|
+
controlMinWidth: t,
|
|
518
|
+
leftSection: a,
|
|
519
|
+
children: c,
|
|
520
|
+
className: l,
|
|
521
|
+
style: d,
|
|
522
|
+
...i
|
|
523
|
+
}, p) {
|
|
524
|
+
const u = l ? `${pe.root} ${l}` : pe.root, m = a != null || o === "side-by-side";
|
|
525
|
+
return /* @__PURE__ */ E(
|
|
526
|
+
"div",
|
|
527
|
+
{
|
|
528
|
+
ref: p,
|
|
529
|
+
className: u,
|
|
530
|
+
"data-form-layout": o,
|
|
531
|
+
style: {
|
|
532
|
+
...d,
|
|
533
|
+
...s ? { "--form-control-max-width": s } : {},
|
|
534
|
+
...t ? { "--form-control-min-width": t } : {}
|
|
535
|
+
},
|
|
536
|
+
...i,
|
|
537
|
+
children: [
|
|
538
|
+
m && /* @__PURE__ */ e("div", { className: pe.leftSection, "data-size": n, children: a }),
|
|
539
|
+
/* @__PURE__ */ e("div", { className: pe.rightSection, children: c })
|
|
540
|
+
]
|
|
541
|
+
}
|
|
542
|
+
);
|
|
543
|
+
});
|
|
544
|
+
X.displayName = "FormControlLayout";
|
|
545
|
+
const _t = "AssistiveElement-module__root___WhQ43", bt = "AssistiveElement-module__textWrapper___sfy5E", yt = "AssistiveElement-module__iconWrapper___gObRF", $e = {
|
|
546
|
+
root: _t,
|
|
547
|
+
textWrapper: bt,
|
|
548
|
+
iconWrapper: yt
|
|
549
|
+
}, ht = () => /* @__PURE__ */ E(
|
|
516
550
|
"svg",
|
|
517
551
|
{
|
|
518
552
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -523,12 +557,12 @@ const Ke = "AssistiveElement-module__root___WhQ43", Ue = "AssistiveElement-modul
|
|
|
523
557
|
strokeLinecap: "round",
|
|
524
558
|
strokeLinejoin: "round",
|
|
525
559
|
children: [
|
|
526
|
-
/* @__PURE__ */
|
|
527
|
-
/* @__PURE__ */
|
|
528
|
-
/* @__PURE__ */
|
|
560
|
+
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "10" }),
|
|
561
|
+
/* @__PURE__ */ e("path", { d: "M12 16v-4" }),
|
|
562
|
+
/* @__PURE__ */ e("path", { d: "M12 8h.01" })
|
|
529
563
|
]
|
|
530
564
|
}
|
|
531
|
-
),
|
|
565
|
+
), ft = () => /* @__PURE__ */ E(
|
|
532
566
|
"svg",
|
|
533
567
|
{
|
|
534
568
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -539,271 +573,430 @@ const Ke = "AssistiveElement-module__root___WhQ43", Ue = "AssistiveElement-modul
|
|
|
539
573
|
strokeLinecap: "round",
|
|
540
574
|
strokeLinejoin: "round",
|
|
541
575
|
children: [
|
|
542
|
-
/* @__PURE__ */
|
|
543
|
-
/* @__PURE__ */
|
|
544
|
-
/* @__PURE__ */
|
|
576
|
+
/* @__PURE__ */ e("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" }),
|
|
577
|
+
/* @__PURE__ */ e("path", { d: "M12 9v4" }),
|
|
578
|
+
/* @__PURE__ */ e("path", { d: "M12 17h.01" })
|
|
545
579
|
]
|
|
546
580
|
}
|
|
547
|
-
),
|
|
548
|
-
assistiveVariant:
|
|
549
|
-
assistiveWithIcon:
|
|
550
|
-
children:
|
|
551
|
-
className:
|
|
552
|
-
overStyled:
|
|
553
|
-
...
|
|
554
|
-
},
|
|
555
|
-
const
|
|
556
|
-
return /* @__PURE__ */
|
|
581
|
+
), ve = $(function({
|
|
582
|
+
assistiveVariant: o = "help",
|
|
583
|
+
assistiveWithIcon: n = !0,
|
|
584
|
+
children: s,
|
|
585
|
+
className: t,
|
|
586
|
+
overStyled: a = !1,
|
|
587
|
+
...c
|
|
588
|
+
}, l) {
|
|
589
|
+
const i = v(c, a), p = $e.root, u = t ? `${p} ${t}` : p, y = o === "error" ? ft : ht;
|
|
590
|
+
return /* @__PURE__ */ E(
|
|
557
591
|
"div",
|
|
558
592
|
{
|
|
559
|
-
ref:
|
|
560
|
-
className:
|
|
561
|
-
"data-variant":
|
|
562
|
-
style:
|
|
563
|
-
...
|
|
593
|
+
ref: l,
|
|
594
|
+
className: u,
|
|
595
|
+
"data-variant": o,
|
|
596
|
+
style: i.style,
|
|
597
|
+
...i,
|
|
564
598
|
children: [
|
|
565
|
-
|
|
566
|
-
/* @__PURE__ */
|
|
599
|
+
n && /* @__PURE__ */ e("span", { className: $e.iconWrapper, children: /* @__PURE__ */ e(y, {}) }),
|
|
600
|
+
/* @__PURE__ */ e("span", { className: $e.textWrapper, children: s })
|
|
567
601
|
]
|
|
568
602
|
}
|
|
569
603
|
);
|
|
570
604
|
});
|
|
571
|
-
|
|
572
|
-
const
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
label: i,
|
|
585
|
-
description: r,
|
|
605
|
+
ve.displayName = "AssistiveElement";
|
|
606
|
+
const Nt = "FormControlWrapper-module__inputSection___HenXk", We = {
|
|
607
|
+
inputSection: Nt
|
|
608
|
+
}, ue = $(function({
|
|
609
|
+
formLayout: o,
|
|
610
|
+
labelSize: n,
|
|
611
|
+
labelAlignment: s,
|
|
612
|
+
labelOptionalText: t,
|
|
613
|
+
labelWithEditIcon: a,
|
|
614
|
+
labelActionArea: c,
|
|
615
|
+
onLabelEditClick: l,
|
|
616
|
+
label: d,
|
|
617
|
+
description: i,
|
|
586
618
|
assistiveText: p,
|
|
587
|
-
assistiveWithIcon:
|
|
588
|
-
controlMaxWidth:
|
|
589
|
-
controlMinWidth:
|
|
590
|
-
error:
|
|
591
|
-
required:
|
|
619
|
+
assistiveWithIcon: u = !0,
|
|
620
|
+
controlMaxWidth: y,
|
|
621
|
+
controlMinWidth: m,
|
|
622
|
+
error: _,
|
|
623
|
+
required: h,
|
|
592
624
|
withAsterisk: C,
|
|
593
|
-
id:
|
|
625
|
+
id: f,
|
|
594
626
|
children: g,
|
|
595
|
-
className:
|
|
596
|
-
overStyled:
|
|
597
|
-
labelElement:
|
|
627
|
+
className: b,
|
|
628
|
+
overStyled: P = !1,
|
|
629
|
+
labelElement: N,
|
|
598
630
|
// Extracted safely preventing bleeding into HTML domains
|
|
599
631
|
...z
|
|
600
|
-
},
|
|
601
|
-
const
|
|
632
|
+
}, L) {
|
|
633
|
+
const A = no(), R = f || `recursica-fc-${A}`, O = p || i, S = O ? `${R}-assistive` : void 0, T = _ ? `${R}-error` : void 0, I = v(z, P), Q = b || I.className, de = We.root, j = Q ? `${de} ${Q}` : de, ao = B.isValidElement(g) ? B.cloneElement(
|
|
602
634
|
g,
|
|
603
635
|
{
|
|
604
|
-
...
|
|
605
|
-
...
|
|
636
|
+
...O && !g.props["aria-describedby"] ? { "aria-describedby": S } : {},
|
|
637
|
+
..._ && !g.props["aria-errormessage"] ? { "aria-errormessage": T } : {}
|
|
606
638
|
}
|
|
607
|
-
) : g
|
|
608
|
-
|
|
609
|
-
Co,
|
|
639
|
+
) : g, so = d ? /* @__PURE__ */ e(
|
|
640
|
+
Be,
|
|
610
641
|
{
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
642
|
+
id: R,
|
|
643
|
+
labelAlignment: s,
|
|
644
|
+
labelOptionalText: t,
|
|
645
|
+
labelWithEditIcon: a,
|
|
646
|
+
labelActionArea: c,
|
|
647
|
+
onLabelEditClick: l,
|
|
648
|
+
required: C ?? h,
|
|
649
|
+
...N === "div" ? { as: "div" } : {},
|
|
650
|
+
children: d
|
|
651
|
+
}
|
|
652
|
+
) : void 0;
|
|
653
|
+
return /* @__PURE__ */ e(
|
|
654
|
+
X,
|
|
655
|
+
{
|
|
656
|
+
ref: L,
|
|
657
|
+
className: j,
|
|
658
|
+
formLayout: o,
|
|
659
|
+
labelSize: n,
|
|
660
|
+
controlMaxWidth: y,
|
|
661
|
+
controlMinWidth: m,
|
|
662
|
+
leftSection: so,
|
|
663
|
+
...I,
|
|
664
|
+
children: /* @__PURE__ */ E("div", { className: We.inputSection, children: [
|
|
665
|
+
ao,
|
|
666
|
+
_ && /* @__PURE__ */ e(
|
|
667
|
+
ve,
|
|
624
668
|
{
|
|
625
|
-
id:
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
labelOptionalText: a,
|
|
630
|
-
labelWithEditIcon: n,
|
|
631
|
-
labelActionArea: l,
|
|
632
|
-
onLabelEditClick: d,
|
|
633
|
-
required: C ?? b,
|
|
634
|
-
...k === "div" ? { as: "div" } : {},
|
|
635
|
-
children: i
|
|
669
|
+
id: T,
|
|
670
|
+
assistiveVariant: "error",
|
|
671
|
+
assistiveWithIcon: u,
|
|
672
|
+
children: _
|
|
636
673
|
}
|
|
637
|
-
)
|
|
638
|
-
/* @__PURE__ */
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
),
|
|
649
|
-
!h && T && /* @__PURE__ */ o(
|
|
650
|
-
mo,
|
|
651
|
-
{
|
|
652
|
-
id: R,
|
|
653
|
-
assistiveVariant: "help",
|
|
654
|
-
assistiveWithIcon: m,
|
|
655
|
-
children: T
|
|
656
|
-
}
|
|
657
|
-
)
|
|
658
|
-
] })
|
|
659
|
-
]
|
|
674
|
+
),
|
|
675
|
+
!_ && O && /* @__PURE__ */ e(
|
|
676
|
+
ve,
|
|
677
|
+
{
|
|
678
|
+
id: S,
|
|
679
|
+
assistiveVariant: "help",
|
|
680
|
+
assistiveWithIcon: u,
|
|
681
|
+
children: O
|
|
682
|
+
}
|
|
683
|
+
)
|
|
684
|
+
] })
|
|
660
685
|
}
|
|
661
686
|
);
|
|
662
687
|
});
|
|
663
|
-
|
|
664
|
-
const
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
688
|
+
ue.displayName = "FormControlWrapper";
|
|
689
|
+
const $t = "_root_1qhn7_3", vt = "_contents_1qhn7_18", oe = {
|
|
690
|
+
root: $t,
|
|
691
|
+
contents: vt
|
|
692
|
+
}, Ct = $(function({ layer: r, contentsOnly: o, children: n, className: s, style: t, ...a }, c) {
|
|
693
|
+
const l = o ? s ? `${oe.root} ${oe.contents} ${s}` : `${oe.root} ${oe.contents}` : s ? `${oe.root} ${s}` : oe.root;
|
|
694
|
+
return /* @__PURE__ */ e(
|
|
695
|
+
"div",
|
|
696
|
+
{
|
|
697
|
+
ref: c,
|
|
698
|
+
className: l,
|
|
699
|
+
style: t,
|
|
700
|
+
...o ? {} : { "data-recursica-layer": String(r) },
|
|
701
|
+
...a,
|
|
702
|
+
children: n
|
|
703
|
+
}
|
|
704
|
+
);
|
|
705
|
+
});
|
|
706
|
+
Ct.displayName = "Layer";
|
|
707
|
+
const _e = ({ emptyText: r = "N/A" }) => /* @__PURE__ */ e(B.Fragment, { children: r });
|
|
708
|
+
_e.displayName = "EmptyValueRenderer";
|
|
709
|
+
_e.check = (r) => r == null || r === "" || Array.isArray(r) && r.length === 0;
|
|
710
|
+
const ke = "data-recursica-theme";
|
|
711
|
+
function Vr({
|
|
712
|
+
children: r,
|
|
713
|
+
theme: o = "light"
|
|
714
|
+
}) {
|
|
715
|
+
return lo(() => {
|
|
716
|
+
const n = document.documentElement;
|
|
717
|
+
return n.setAttribute(ke, o), () => {
|
|
718
|
+
n.removeAttribute(ke);
|
|
719
|
+
};
|
|
720
|
+
}, [o]), /* @__PURE__ */ e(ie, { children: r });
|
|
721
|
+
}
|
|
722
|
+
const gt = "ReadOnlyField-module__textField___qKn25", be = {
|
|
723
|
+
textField: gt
|
|
724
|
+
}, me = ({
|
|
725
|
+
value: r,
|
|
726
|
+
overStyled: o = !1,
|
|
727
|
+
...n
|
|
728
|
+
}) => {
|
|
729
|
+
const s = v(n, o), t = s.className;
|
|
730
|
+
return /* @__PURE__ */ e(
|
|
731
|
+
Ce,
|
|
732
|
+
{
|
|
733
|
+
component: "p",
|
|
734
|
+
className: t ? `${be.textField} ${t}` : be.textField,
|
|
735
|
+
...s,
|
|
736
|
+
children: r != null ? B.isValidElement(r) ? r : Array.isArray(r) ? r.join(", ") : String(r) : ""
|
|
737
|
+
}
|
|
738
|
+
);
|
|
739
|
+
};
|
|
740
|
+
me.displayName = "ReadOnlyTextField";
|
|
741
|
+
const je = $(
|
|
742
|
+
function({ value: o, type: n = "text", emptyValueComponent: s, overStyled: t = !1, ...a }, c) {
|
|
743
|
+
let l = null;
|
|
744
|
+
const d = v(a, t), i = s || _e, u = (i.check ? i.check(o) : _e.check(o)) ? /* @__PURE__ */ e(i, { value: o }) : o;
|
|
745
|
+
switch (n) {
|
|
746
|
+
case "boolean":
|
|
747
|
+
l = /* @__PURE__ */ e(
|
|
748
|
+
me,
|
|
749
|
+
{
|
|
750
|
+
value: o === !0 ? "True" : o === !1 ? "False" : u,
|
|
751
|
+
overStyled: t
|
|
752
|
+
}
|
|
753
|
+
);
|
|
754
|
+
break;
|
|
755
|
+
case "switch":
|
|
756
|
+
l = /* @__PURE__ */ e(
|
|
757
|
+
me,
|
|
758
|
+
{
|
|
759
|
+
value: o === !0 ? "On" : o === !1 ? "Off" : u,
|
|
760
|
+
overStyled: t
|
|
761
|
+
}
|
|
762
|
+
);
|
|
763
|
+
break;
|
|
764
|
+
case "text":
|
|
765
|
+
default:
|
|
766
|
+
l = /* @__PURE__ */ e(
|
|
767
|
+
me,
|
|
768
|
+
{
|
|
769
|
+
value: u,
|
|
770
|
+
overStyled: t
|
|
771
|
+
}
|
|
772
|
+
);
|
|
773
|
+
break;
|
|
774
|
+
}
|
|
775
|
+
return /* @__PURE__ */ e(
|
|
776
|
+
ue,
|
|
702
777
|
{
|
|
703
|
-
|
|
704
|
-
style: $,
|
|
705
|
-
controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
|
|
706
|
-
controlMinWidth: void 0,
|
|
778
|
+
ref: c,
|
|
707
779
|
overStyled: t,
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
labelSize: c,
|
|
711
|
-
labelAlignment: a,
|
|
712
|
-
labelOptionalText: n,
|
|
713
|
-
labelWithEditIcon: l,
|
|
714
|
-
onLabelEditClick: d,
|
|
715
|
-
label: i,
|
|
716
|
-
description: r,
|
|
717
|
-
assistiveText: p,
|
|
718
|
-
assistiveWithIcon: m,
|
|
719
|
-
error: u,
|
|
720
|
-
required: _,
|
|
721
|
-
withAsterisk: h,
|
|
722
|
-
id: b,
|
|
723
|
-
children: W
|
|
780
|
+
...d,
|
|
781
|
+
children: l
|
|
724
782
|
}
|
|
725
|
-
)
|
|
726
|
-
|
|
783
|
+
);
|
|
784
|
+
}
|
|
785
|
+
);
|
|
786
|
+
je.displayName = "ReadOnlyField";
|
|
787
|
+
const ee = $(function({
|
|
788
|
+
readOnly: o,
|
|
789
|
+
readOnlyComponent: n,
|
|
790
|
+
readOnlyType: s = "text",
|
|
791
|
+
readOnlyValue: t,
|
|
792
|
+
readOnlyNativeProps: a,
|
|
793
|
+
emptyValueComponent: c,
|
|
794
|
+
activeComponent: l,
|
|
795
|
+
overStyled: d,
|
|
796
|
+
onLabelEditClick: i,
|
|
797
|
+
...p
|
|
798
|
+
}, u) {
|
|
799
|
+
return o ? n ? /* @__PURE__ */ e(
|
|
800
|
+
ue,
|
|
801
|
+
{
|
|
802
|
+
ref: u,
|
|
803
|
+
...p,
|
|
804
|
+
onLabelEditClick: i,
|
|
805
|
+
overStyled: d,
|
|
806
|
+
children: /* @__PURE__ */ e(n, { ...a })
|
|
807
|
+
}
|
|
808
|
+
) : /* @__PURE__ */ e(
|
|
809
|
+
je,
|
|
810
|
+
{
|
|
811
|
+
ref: u,
|
|
812
|
+
type: s,
|
|
813
|
+
value: t,
|
|
814
|
+
emptyValueComponent: c,
|
|
815
|
+
onLabelEditClick: i,
|
|
816
|
+
overStyled: d,
|
|
817
|
+
...p
|
|
818
|
+
}
|
|
819
|
+
) : /* @__PURE__ */ e(
|
|
820
|
+
ue,
|
|
821
|
+
{
|
|
822
|
+
ref: u,
|
|
823
|
+
...p,
|
|
824
|
+
onLabelEditClick: i,
|
|
825
|
+
overStyled: d,
|
|
826
|
+
children: l
|
|
827
|
+
}
|
|
828
|
+
);
|
|
829
|
+
});
|
|
830
|
+
ee.displayName = "WithReadOnlyWrapper";
|
|
831
|
+
const xt = "Checkbox-module__groupRoot___cBS0o", wt = "Checkbox-module__root___mY3qk", Pt = "Checkbox-module__body___5yC7q", Wt = "Checkbox-module__inner___rTke4", kt = "Checkbox-module__input___2kt-h", At = "Checkbox-module__icon___-O7i6", St = "Checkbox-module__labelWrapper___GpZkr", Tt = "Checkbox-module__label___cwRtI", W = {
|
|
832
|
+
groupRoot: xt,
|
|
833
|
+
root: wt,
|
|
834
|
+
body: Pt,
|
|
835
|
+
inner: Wt,
|
|
836
|
+
input: kt,
|
|
837
|
+
icon: At,
|
|
838
|
+
labelWrapper: St,
|
|
839
|
+
label: Tt
|
|
840
|
+
}, De = $(
|
|
841
|
+
function(o, n) {
|
|
842
|
+
const {
|
|
843
|
+
overStyled: s = !1,
|
|
844
|
+
formLayout: t = "stacked",
|
|
845
|
+
// Label Wrappers
|
|
846
|
+
labelSize: a,
|
|
847
|
+
labelAlignment: c,
|
|
848
|
+
labelOptionalText: l,
|
|
849
|
+
labelWithEditIcon: d,
|
|
850
|
+
onLabelEditClick: i,
|
|
851
|
+
// Base Mantine Extracted Attributes
|
|
852
|
+
label: p,
|
|
853
|
+
description: u,
|
|
854
|
+
assistiveText: y,
|
|
855
|
+
assistiveWithIcon: m,
|
|
856
|
+
error: _,
|
|
857
|
+
required: h,
|
|
858
|
+
withAsterisk: C,
|
|
859
|
+
id: f,
|
|
860
|
+
className: g,
|
|
861
|
+
style: b,
|
|
862
|
+
children: P,
|
|
863
|
+
readOnly: N,
|
|
864
|
+
readOnlyComponent: z,
|
|
865
|
+
emptyValueComponent: L,
|
|
866
|
+
value: A,
|
|
867
|
+
defaultValue: R,
|
|
868
|
+
...O
|
|
869
|
+
} = o, S = v(O, s), T = S;
|
|
870
|
+
return delete T.size, /* @__PURE__ */ e(
|
|
871
|
+
ee,
|
|
727
872
|
{
|
|
728
|
-
className:
|
|
729
|
-
style:
|
|
873
|
+
className: g,
|
|
874
|
+
style: b,
|
|
730
875
|
controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
|
|
731
876
|
controlMinWidth: void 0,
|
|
732
|
-
overStyled:
|
|
877
|
+
overStyled: s,
|
|
733
878
|
labelElement: "div",
|
|
734
|
-
formLayout:
|
|
735
|
-
labelSize:
|
|
736
|
-
labelAlignment:
|
|
737
|
-
labelOptionalText:
|
|
738
|
-
labelWithEditIcon:
|
|
739
|
-
onLabelEditClick:
|
|
740
|
-
label:
|
|
741
|
-
description:
|
|
742
|
-
assistiveText:
|
|
879
|
+
formLayout: t,
|
|
880
|
+
labelSize: a,
|
|
881
|
+
labelAlignment: c,
|
|
882
|
+
labelOptionalText: l,
|
|
883
|
+
labelWithEditIcon: d,
|
|
884
|
+
onLabelEditClick: i,
|
|
885
|
+
label: p,
|
|
886
|
+
description: u,
|
|
887
|
+
assistiveText: y,
|
|
743
888
|
assistiveWithIcon: m,
|
|
744
|
-
error:
|
|
745
|
-
required:
|
|
746
|
-
withAsterisk:
|
|
747
|
-
id:
|
|
748
|
-
|
|
749
|
-
|
|
889
|
+
error: _,
|
|
890
|
+
required: h,
|
|
891
|
+
withAsterisk: C,
|
|
892
|
+
id: f,
|
|
893
|
+
readOnly: N && !!z,
|
|
894
|
+
readOnlyComponent: z,
|
|
895
|
+
emptyValueComponent: L,
|
|
896
|
+
readOnlyType: "text",
|
|
897
|
+
readOnlyValue: A !== void 0 ? A : R,
|
|
898
|
+
readOnlyNativeProps: o,
|
|
899
|
+
activeComponent: /* @__PURE__ */ e(
|
|
900
|
+
Se.Group,
|
|
750
901
|
{
|
|
751
|
-
ref:
|
|
902
|
+
ref: n,
|
|
752
903
|
...S,
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
904
|
+
disabled: N || T.disabled,
|
|
905
|
+
value: A,
|
|
906
|
+
defaultValue: R,
|
|
907
|
+
children: /* @__PURE__ */ e("div", { className: W.groupRoot, "data-layout": t, children: B.Children.map(P, (x) => B.isValidElement(x) ? B.cloneElement(x, {
|
|
908
|
+
disabled: N || x.props.disabled
|
|
909
|
+
}) : x) })
|
|
756
910
|
}
|
|
757
911
|
)
|
|
758
912
|
}
|
|
759
913
|
);
|
|
760
914
|
}
|
|
761
915
|
);
|
|
762
|
-
|
|
763
|
-
const
|
|
764
|
-
function(
|
|
765
|
-
const
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
916
|
+
De.displayName = "CheckboxGroup";
|
|
917
|
+
const Ve = $(
|
|
918
|
+
function(o, n) {
|
|
919
|
+
const {
|
|
920
|
+
overStyled: s = !1,
|
|
921
|
+
readOnly: t,
|
|
922
|
+
readOnlyComponent: a,
|
|
923
|
+
disabled: c,
|
|
924
|
+
formLayout: l,
|
|
925
|
+
labelSize: d,
|
|
926
|
+
controlMaxWidth: i,
|
|
927
|
+
controlMinWidth: p,
|
|
928
|
+
...u
|
|
929
|
+
} = o, y = v(u, s), m = y;
|
|
930
|
+
delete m.size, delete m.color, delete m.radius, delete m.variant, delete m.iconColor;
|
|
931
|
+
const _ = {
|
|
932
|
+
root: W.root,
|
|
933
|
+
body: W.body,
|
|
934
|
+
inner: W.inner,
|
|
935
|
+
input: W.input,
|
|
936
|
+
icon: W.icon,
|
|
937
|
+
labelWrapper: W.labelWrapper,
|
|
938
|
+
label: W.label
|
|
939
|
+
}, h = m.classNames;
|
|
940
|
+
if (h && typeof h == "object" && !Array.isArray(h)) {
|
|
941
|
+
const b = h;
|
|
942
|
+
_.root = b.root ? `${W.root} ${b.root}` : W.root, _.body = b.body ? `${W.body} ${b.body}` : W.body, _.inner = b.inner ? `${W.inner} ${b.inner}` : W.inner, _.input = b.input ? `${W.input} ${b.input}` : W.input, _.icon = b.icon ? `${W.icon} ${b.icon}` : W.icon, _.labelWrapper = b.labelWrapper ? `${W.labelWrapper} ${b.labelWrapper}` : W.labelWrapper, _.label = b.label ? `${W.label} ${b.label}` : W.label;
|
|
943
|
+
}
|
|
944
|
+
const C = m.className, f = C ? `${W.root} ${C}` : W.root;
|
|
945
|
+
if (t && a) {
|
|
946
|
+
const b = !!(m.checked ?? m.defaultChecked), N = /* @__PURE__ */ e(
|
|
947
|
+
a,
|
|
948
|
+
{
|
|
949
|
+
...o,
|
|
950
|
+
checked: b,
|
|
951
|
+
label: m.label
|
|
952
|
+
}
|
|
953
|
+
);
|
|
954
|
+
return l ? /* @__PURE__ */ e(
|
|
955
|
+
X,
|
|
956
|
+
{
|
|
957
|
+
formLayout: l,
|
|
958
|
+
labelSize: d,
|
|
959
|
+
controlMaxWidth: i,
|
|
960
|
+
controlMinWidth: p,
|
|
961
|
+
children: N
|
|
962
|
+
}
|
|
963
|
+
) : /* @__PURE__ */ e(ie, { children: N });
|
|
780
964
|
}
|
|
781
|
-
const
|
|
782
|
-
|
|
783
|
-
go,
|
|
965
|
+
const g = /* @__PURE__ */ e(
|
|
966
|
+
Se,
|
|
784
967
|
{
|
|
785
|
-
ref:
|
|
786
|
-
className:
|
|
787
|
-
classNames:
|
|
788
|
-
disabled:
|
|
789
|
-
...
|
|
968
|
+
ref: n,
|
|
969
|
+
className: f,
|
|
970
|
+
classNames: _,
|
|
971
|
+
disabled: t || c,
|
|
972
|
+
...y
|
|
790
973
|
}
|
|
791
974
|
);
|
|
975
|
+
return l ? /* @__PURE__ */ e(
|
|
976
|
+
X,
|
|
977
|
+
{
|
|
978
|
+
formLayout: l,
|
|
979
|
+
labelSize: d,
|
|
980
|
+
controlMaxWidth: i,
|
|
981
|
+
controlMinWidth: p,
|
|
982
|
+
children: g
|
|
983
|
+
}
|
|
984
|
+
) : g;
|
|
792
985
|
}
|
|
793
986
|
);
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
const
|
|
797
|
-
root:
|
|
798
|
-
label:
|
|
799
|
-
mantineIconWrapper:
|
|
800
|
-
innerWrapper:
|
|
801
|
-
children:
|
|
802
|
-
leadingIcon:
|
|
803
|
-
removeIcon:
|
|
987
|
+
Ve.displayName = "Checkbox";
|
|
988
|
+
Ve.Group = De;
|
|
989
|
+
const It = "Chip-module__root___f5pFk", Lt = "Chip-module__label___Ov9pg", Rt = "Chip-module__mantineIconWrapper___KLSz6", Ot = "Chip-module__innerWrapper___EnrTF", zt = "Chip-module__children___zbRAR", Mt = "Chip-module__leadingIcon___JBtjQ", Ft = "Chip-module__removeIcon___pVju-", M = {
|
|
990
|
+
root: It,
|
|
991
|
+
label: Lt,
|
|
992
|
+
mantineIconWrapper: Rt,
|
|
993
|
+
innerWrapper: Ot,
|
|
994
|
+
children: zt,
|
|
995
|
+
leadingIcon: Mt,
|
|
996
|
+
removeIcon: Ft
|
|
804
997
|
};
|
|
805
|
-
function
|
|
806
|
-
return /* @__PURE__ */
|
|
998
|
+
function Et(r) {
|
|
999
|
+
return /* @__PURE__ */ E(
|
|
807
1000
|
"svg",
|
|
808
1001
|
{
|
|
809
1002
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -815,320 +1008,202 @@ function $t(e) {
|
|
|
815
1008
|
strokeWidth: "2",
|
|
816
1009
|
strokeLinecap: "round",
|
|
817
1010
|
strokeLinejoin: "round",
|
|
818
|
-
...
|
|
1011
|
+
...r,
|
|
819
1012
|
children: [
|
|
820
|
-
/* @__PURE__ */
|
|
821
|
-
/* @__PURE__ */
|
|
1013
|
+
/* @__PURE__ */ e("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
|
|
1014
|
+
/* @__PURE__ */ e("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
|
|
822
1015
|
]
|
|
823
1016
|
}
|
|
824
1017
|
);
|
|
825
1018
|
}
|
|
826
|
-
const
|
|
827
|
-
error:
|
|
828
|
-
icon:
|
|
829
|
-
onRemove:
|
|
830
|
-
removeLabel:
|
|
831
|
-
children:
|
|
832
|
-
overStyled:
|
|
833
|
-
...
|
|
834
|
-
},
|
|
835
|
-
const
|
|
836
|
-
root:
|
|
837
|
-
label:
|
|
838
|
-
input:
|
|
839
|
-
iconWrapper:
|
|
840
|
-
checkIcon:
|
|
841
|
-
},
|
|
842
|
-
if (
|
|
843
|
-
const
|
|
844
|
-
|
|
1019
|
+
const Bt = $(function({
|
|
1020
|
+
error: o = !1,
|
|
1021
|
+
icon: n,
|
|
1022
|
+
onRemove: s,
|
|
1023
|
+
removeLabel: t = "Remove",
|
|
1024
|
+
children: a,
|
|
1025
|
+
overStyled: c = !1,
|
|
1026
|
+
...l
|
|
1027
|
+
}, d) {
|
|
1028
|
+
const i = v(l, c), p = i, u = {
|
|
1029
|
+
root: M.root,
|
|
1030
|
+
label: M.label,
|
|
1031
|
+
input: M.input,
|
|
1032
|
+
iconWrapper: M.mantineIconWrapper,
|
|
1033
|
+
checkIcon: M.checkIcon
|
|
1034
|
+
}, y = p.classNames;
|
|
1035
|
+
if (y && typeof y == "object" && !Array.isArray(y)) {
|
|
1036
|
+
const f = y;
|
|
1037
|
+
u.root = f.root ? `${M.root} ${f.root}` : M.root, u.label = f.label ? `${M.label} ${f.label}` : M.label;
|
|
845
1038
|
}
|
|
846
|
-
const
|
|
847
|
-
return /* @__PURE__ */
|
|
848
|
-
|
|
1039
|
+
const m = p.className, _ = m ? `${M.root} ${m}` : M.root;
|
|
1040
|
+
return /* @__PURE__ */ e(
|
|
1041
|
+
uo,
|
|
849
1042
|
{
|
|
850
|
-
ref:
|
|
851
|
-
className:
|
|
852
|
-
classNames:
|
|
853
|
-
...(
|
|
854
|
-
...!
|
|
855
|
-
...
|
|
856
|
-
children: /* @__PURE__ */
|
|
857
|
-
|
|
858
|
-
/* @__PURE__ */
|
|
859
|
-
|
|
1043
|
+
ref: d,
|
|
1044
|
+
className: _,
|
|
1045
|
+
classNames: u,
|
|
1046
|
+
...(o ? "" : void 0) !== void 0 ? { "data-error": "" } : {},
|
|
1047
|
+
...!a && (!!n || !!s) ? { "data-icon-only": "" } : {},
|
|
1048
|
+
...i,
|
|
1049
|
+
children: /* @__PURE__ */ E("span", { className: M.innerWrapper, children: [
|
|
1050
|
+
n && /* @__PURE__ */ e("span", { className: M.leadingIcon, "aria-hidden": !0, children: n }),
|
|
1051
|
+
/* @__PURE__ */ e("span", { className: M.children, children: a }),
|
|
1052
|
+
s && /* @__PURE__ */ e(
|
|
860
1053
|
"span",
|
|
861
1054
|
{
|
|
862
1055
|
role: "button",
|
|
863
|
-
className:
|
|
864
|
-
onClick: (
|
|
865
|
-
|
|
1056
|
+
className: M.removeIcon,
|
|
1057
|
+
onClick: (f) => {
|
|
1058
|
+
f.preventDefault(), f.stopPropagation(), s(f);
|
|
866
1059
|
},
|
|
867
|
-
"aria-label":
|
|
868
|
-
onKeyDown: (
|
|
869
|
-
(
|
|
870
|
-
|
|
1060
|
+
"aria-label": t,
|
|
1061
|
+
onKeyDown: (f) => {
|
|
1062
|
+
(f.key === "Enter" || f.key === " ") && (f.preventDefault(), f.stopPropagation(), s(
|
|
1063
|
+
f
|
|
871
1064
|
));
|
|
872
1065
|
},
|
|
873
1066
|
tabIndex: 0,
|
|
874
|
-
children: /* @__PURE__ */
|
|
1067
|
+
children: /* @__PURE__ */ e(Et, {})
|
|
875
1068
|
}
|
|
876
1069
|
)
|
|
877
1070
|
] })
|
|
878
1071
|
}
|
|
879
1072
|
);
|
|
880
1073
|
});
|
|
881
|
-
|
|
882
|
-
const
|
|
883
|
-
root:
|
|
884
|
-
},
|
|
885
|
-
function({ children:
|
|
886
|
-
const
|
|
1074
|
+
Bt.displayName = "Chip";
|
|
1075
|
+
const jt = "Container-module__root___UVssr", ae = {
|
|
1076
|
+
root: jt
|
|
1077
|
+
}, Dt = $(
|
|
1078
|
+
function({ children: o, size: n, overStyled: s = !1, ...t }, a) {
|
|
1079
|
+
const c = v(t, s), l = c, d = {
|
|
887
1080
|
"rec-sm": "sm",
|
|
888
1081
|
"rec-default": "md",
|
|
889
1082
|
"rec-md": "md",
|
|
890
1083
|
"rec-lg": "lg",
|
|
891
1084
|
"rec-xl": "xl",
|
|
892
1085
|
"rec-2xl": "xl"
|
|
893
|
-
},
|
|
894
|
-
root:
|
|
895
|
-
},
|
|
896
|
-
if (
|
|
897
|
-
const
|
|
898
|
-
p.root =
|
|
1086
|
+
}, i = typeof n == "string" && d[n] ? d[n] : n, p = {
|
|
1087
|
+
root: ae.root
|
|
1088
|
+
}, u = l.classNames;
|
|
1089
|
+
if (u && typeof u == "object" && !Array.isArray(u)) {
|
|
1090
|
+
const _ = u;
|
|
1091
|
+
p.root = _.root ? `${ae.root} ${_.root}` : ae.root;
|
|
899
1092
|
}
|
|
900
|
-
const
|
|
901
|
-
return /* @__PURE__ */
|
|
902
|
-
|
|
1093
|
+
const y = l.className, m = y ? `${ae.root} ${y}` : ae.root;
|
|
1094
|
+
return /* @__PURE__ */ e(
|
|
1095
|
+
_o,
|
|
903
1096
|
{
|
|
904
|
-
ref:
|
|
905
|
-
size:
|
|
906
|
-
className:
|
|
1097
|
+
ref: a,
|
|
1098
|
+
size: i,
|
|
1099
|
+
className: m,
|
|
907
1100
|
classNames: p,
|
|
908
|
-
...
|
|
909
|
-
children:
|
|
1101
|
+
...c,
|
|
1102
|
+
children: o
|
|
910
1103
|
}
|
|
911
1104
|
);
|
|
912
1105
|
}
|
|
913
1106
|
);
|
|
914
|
-
|
|
915
|
-
const
|
|
916
|
-
root:
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
},
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
}) => {
|
|
955
|
-
const c = N(s, t), a = c.className;
|
|
956
|
-
return /* @__PURE__ */ o(
|
|
957
|
-
Co,
|
|
958
|
-
{
|
|
959
|
-
component: "p",
|
|
960
|
-
className: a ? `${yo.textField} ${a}` : yo.textField,
|
|
961
|
-
...c,
|
|
962
|
-
children: e != null ? j.isValidElement(e) ? e : String(e) : ""
|
|
963
|
-
}
|
|
964
|
-
);
|
|
965
|
-
};
|
|
966
|
-
Lo.displayName = "ReadOnlyTextField";
|
|
967
|
-
const Bo = f(
|
|
968
|
-
function({ value: t, type: s = "text", emptyValueComponent: c, overStyled: a = !1, ...n }, l) {
|
|
969
|
-
let d = null;
|
|
970
|
-
const i = N(n, a), r = c || ao, m = (r.check ? r.check(t) : ao.check(t)) ? /* @__PURE__ */ o(r, { value: t }) : t;
|
|
971
|
-
switch (s) {
|
|
972
|
-
case "text":
|
|
973
|
-
default:
|
|
974
|
-
d = /* @__PURE__ */ o(
|
|
975
|
-
Lo,
|
|
976
|
-
{
|
|
977
|
-
value: m,
|
|
978
|
-
overStyled: a
|
|
979
|
-
}
|
|
980
|
-
);
|
|
981
|
-
break;
|
|
982
|
-
}
|
|
983
|
-
return /* @__PURE__ */ o(
|
|
984
|
-
V,
|
|
985
|
-
{
|
|
986
|
-
ref: l,
|
|
987
|
-
overStyled: a,
|
|
988
|
-
...i,
|
|
989
|
-
children: d
|
|
990
|
-
}
|
|
991
|
-
);
|
|
992
|
-
}
|
|
993
|
-
);
|
|
994
|
-
Bo.displayName = "ReadOnlyField";
|
|
995
|
-
const lo = f(function({
|
|
996
|
-
readOnly: t,
|
|
997
|
-
readOnlyComponent: s,
|
|
998
|
-
readOnlyType: c = "text",
|
|
999
|
-
readOnlyValue: a,
|
|
1000
|
-
activeComponent: n,
|
|
1001
|
-
overStyled: l,
|
|
1002
|
-
onLabelEditClick: d,
|
|
1003
|
-
...i
|
|
1004
|
-
}, r) {
|
|
1005
|
-
return t ? s ? /* @__PURE__ */ o(
|
|
1006
|
-
V,
|
|
1007
|
-
{
|
|
1008
|
-
ref: r,
|
|
1009
|
-
...i,
|
|
1010
|
-
onLabelEditClick: d,
|
|
1011
|
-
overStyled: l,
|
|
1012
|
-
children: s
|
|
1013
|
-
}
|
|
1014
|
-
) : /* @__PURE__ */ o(
|
|
1015
|
-
Bo,
|
|
1016
|
-
{
|
|
1017
|
-
ref: r,
|
|
1018
|
-
type: c,
|
|
1019
|
-
value: a,
|
|
1020
|
-
onLabelEditClick: d,
|
|
1021
|
-
overStyled: l,
|
|
1022
|
-
...i
|
|
1023
|
-
}
|
|
1024
|
-
) : /* @__PURE__ */ o(
|
|
1025
|
-
V,
|
|
1026
|
-
{
|
|
1027
|
-
ref: r,
|
|
1028
|
-
...i,
|
|
1029
|
-
onLabelEditClick: d,
|
|
1030
|
-
overStyled: l,
|
|
1031
|
-
children: n
|
|
1032
|
-
}
|
|
1033
|
-
);
|
|
1034
|
-
});
|
|
1035
|
-
lo.displayName = "WithReadOnlyWrapper";
|
|
1036
|
-
const wt = "Dropdown-module__root___uVyL0", Pt = "Dropdown-module__input___dK4dN", Wt = "Dropdown-module__section___j3MRB", kt = "Dropdown-module__dropdown___gG-Sw", At = "Dropdown-module__option___nAGU-", L = {
|
|
1037
|
-
root: wt,
|
|
1038
|
-
input: Pt,
|
|
1039
|
-
section: Wt,
|
|
1040
|
-
dropdown: kt,
|
|
1041
|
-
option: At
|
|
1042
|
-
}, Rt = f(
|
|
1043
|
-
function({
|
|
1044
|
-
overStyled: t = !1,
|
|
1045
|
-
formLayout: s = "stacked",
|
|
1046
|
-
containerWidth: c,
|
|
1047
|
-
// Label & Wrapper Maps
|
|
1048
|
-
labelSize: a,
|
|
1049
|
-
labelAlignment: n,
|
|
1050
|
-
labelOptionalText: l,
|
|
1051
|
-
labelWithEditIcon: d,
|
|
1052
|
-
onLabelEditClick: i,
|
|
1053
|
-
label: r,
|
|
1054
|
-
assistiveText: p,
|
|
1055
|
-
assistiveWithIcon: m,
|
|
1056
|
-
error: u,
|
|
1057
|
-
required: _,
|
|
1058
|
-
withAsterisk: h,
|
|
1059
|
-
id: b,
|
|
1060
|
-
className: C,
|
|
1061
|
-
style: $,
|
|
1062
|
-
disabled: g,
|
|
1063
|
-
readOnly: x,
|
|
1064
|
-
readOnlyComponent: W,
|
|
1065
|
-
value: k,
|
|
1066
|
-
defaultValue: z,
|
|
1067
|
-
data: S,
|
|
1068
|
-
...I
|
|
1069
|
-
}, y) {
|
|
1070
|
-
const T = N(I, t), R = T;
|
|
1071
|
-
delete R.size, delete R.variant, delete R.radius;
|
|
1072
|
-
const A = {
|
|
1073
|
-
wrapper: L.root,
|
|
1107
|
+
Dt.displayName = "Container";
|
|
1108
|
+
const Gr = (r) => /* @__PURE__ */ e("div", { ...r, children: "DatePicker" }), Vt = "Dropdown-module__root___uVyL0", Gt = "Dropdown-module__input___dK4dN", qt = "Dropdown-module__section___j3MRB", Yt = "Dropdown-module__dropdown___gG-Sw", Zt = "Dropdown-module__option___nAGU-", F = {
|
|
1109
|
+
root: Vt,
|
|
1110
|
+
input: Gt,
|
|
1111
|
+
section: qt,
|
|
1112
|
+
dropdown: Yt,
|
|
1113
|
+
option: Zt
|
|
1114
|
+
}, Ht = $(
|
|
1115
|
+
function(o, n) {
|
|
1116
|
+
const {
|
|
1117
|
+
overStyled: s = !1,
|
|
1118
|
+
formLayout: t = "stacked",
|
|
1119
|
+
containerWidth: a,
|
|
1120
|
+
// Label & Wrapper Maps
|
|
1121
|
+
labelSize: c,
|
|
1122
|
+
labelAlignment: l,
|
|
1123
|
+
labelOptionalText: d,
|
|
1124
|
+
labelWithEditIcon: i,
|
|
1125
|
+
onLabelEditClick: p,
|
|
1126
|
+
label: u,
|
|
1127
|
+
assistiveText: y,
|
|
1128
|
+
assistiveWithIcon: m,
|
|
1129
|
+
error: _,
|
|
1130
|
+
required: h,
|
|
1131
|
+
withAsterisk: C,
|
|
1132
|
+
id: f,
|
|
1133
|
+
className: g,
|
|
1134
|
+
style: b,
|
|
1135
|
+
disabled: P,
|
|
1136
|
+
readOnly: N,
|
|
1137
|
+
readOnlyComponent: z,
|
|
1138
|
+
emptyValueComponent: L,
|
|
1139
|
+
value: A,
|
|
1140
|
+
defaultValue: R,
|
|
1141
|
+
data: O,
|
|
1142
|
+
...S
|
|
1143
|
+
} = o, T = v(S, s), x = T;
|
|
1144
|
+
delete x.size, delete x.variant, delete x.radius;
|
|
1145
|
+
const I = {
|
|
1146
|
+
wrapper: F.root,
|
|
1074
1147
|
// The nested Input internal relative wrapper bounding box
|
|
1075
|
-
input:
|
|
1076
|
-
section:
|
|
1077
|
-
dropdown:
|
|
1078
|
-
option:
|
|
1079
|
-
}, Q =
|
|
1148
|
+
input: F.input,
|
|
1149
|
+
section: F.section,
|
|
1150
|
+
dropdown: F.dropdown,
|
|
1151
|
+
option: F.option
|
|
1152
|
+
}, Q = x.classNames;
|
|
1080
1153
|
if (Q && typeof Q == "object" && !Array.isArray(Q)) {
|
|
1081
|
-
const
|
|
1082
|
-
|
|
1154
|
+
const j = Q;
|
|
1155
|
+
I.wrapper = j.wrapper ? `${F.root} ${j.wrapper}` : F.root, I.input = j.input ? `${F.input} ${j.input}` : F.input, I.section = j.section ? `${F.section} ${j.section}` : F.section, I.dropdown = j.dropdown ? `${F.dropdown} ${j.dropdown}` : F.dropdown, I.option = j.option ? `${F.option} ${j.option}` : F.option;
|
|
1083
1156
|
}
|
|
1084
|
-
const
|
|
1085
|
-
|
|
1086
|
-
width:
|
|
1157
|
+
const de = {
|
|
1158
|
+
...b || {},
|
|
1159
|
+
width: a || "100%"
|
|
1087
1160
|
};
|
|
1088
|
-
return /* @__PURE__ */
|
|
1089
|
-
|
|
1161
|
+
return /* @__PURE__ */ e(
|
|
1162
|
+
ee,
|
|
1090
1163
|
{
|
|
1091
|
-
className:
|
|
1092
|
-
style:
|
|
1164
|
+
className: g,
|
|
1165
|
+
style: de,
|
|
1093
1166
|
controlMaxWidth: "var(--recursica_ui-kit_components_dropdown_properties_max-width)",
|
|
1094
1167
|
controlMinWidth: "var(--recursica_ui-kit_components_dropdown_properties_min-width)",
|
|
1095
|
-
overStyled:
|
|
1096
|
-
formLayout:
|
|
1097
|
-
labelSize:
|
|
1098
|
-
labelAlignment:
|
|
1099
|
-
labelOptionalText:
|
|
1100
|
-
labelWithEditIcon:
|
|
1101
|
-
onLabelEditClick:
|
|
1102
|
-
label:
|
|
1103
|
-
assistiveText:
|
|
1168
|
+
overStyled: s,
|
|
1169
|
+
formLayout: t,
|
|
1170
|
+
labelSize: c,
|
|
1171
|
+
labelAlignment: l,
|
|
1172
|
+
labelOptionalText: d,
|
|
1173
|
+
labelWithEditIcon: i,
|
|
1174
|
+
onLabelEditClick: p,
|
|
1175
|
+
label: u,
|
|
1176
|
+
assistiveText: y,
|
|
1104
1177
|
assistiveWithIcon: m,
|
|
1105
|
-
error:
|
|
1106
|
-
required:
|
|
1107
|
-
withAsterisk:
|
|
1108
|
-
id:
|
|
1109
|
-
readOnly:
|
|
1110
|
-
readOnlyComponent:
|
|
1178
|
+
error: _,
|
|
1179
|
+
required: h,
|
|
1180
|
+
withAsterisk: C,
|
|
1181
|
+
id: f,
|
|
1182
|
+
readOnly: N,
|
|
1183
|
+
readOnlyComponent: z,
|
|
1184
|
+
emptyValueComponent: L,
|
|
1111
1185
|
readOnlyType: "text",
|
|
1112
|
-
readOnlyValue:
|
|
1186
|
+
readOnlyValue: A !== void 0 ? String(A) : R ? String(R) : void 0,
|
|
1187
|
+
readOnlyNativeProps: o,
|
|
1113
1188
|
activeComponent: (
|
|
1114
1189
|
/* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1115
|
-
/* @__PURE__ */
|
|
1116
|
-
|
|
1190
|
+
/* @__PURE__ */ e(
|
|
1191
|
+
bo,
|
|
1117
1192
|
{
|
|
1118
|
-
ref:
|
|
1119
|
-
classNames:
|
|
1120
|
-
disabled:
|
|
1121
|
-
value:
|
|
1122
|
-
defaultValue:
|
|
1123
|
-
data:
|
|
1193
|
+
ref: n,
|
|
1194
|
+
classNames: I,
|
|
1195
|
+
disabled: P,
|
|
1196
|
+
value: A,
|
|
1197
|
+
defaultValue: R,
|
|
1198
|
+
data: O || [],
|
|
1124
1199
|
label: void 0,
|
|
1125
1200
|
description: void 0,
|
|
1126
1201
|
error: void 0,
|
|
1127
1202
|
required: void 0,
|
|
1128
1203
|
withAsterisk: void 0,
|
|
1129
1204
|
wrapperProps: {
|
|
1130
|
-
"data-disabled":
|
|
1131
|
-
"data-error":
|
|
1205
|
+
"data-disabled": P ? "true" : void 0,
|
|
1206
|
+
"data-error": _ ? "true" : void 0
|
|
1132
1207
|
},
|
|
1133
1208
|
...T
|
|
1134
1209
|
}
|
|
@@ -1138,489 +1213,714 @@ const wt = "Dropdown-module__root___uVyL0", Pt = "Dropdown-module__input___dK4dN
|
|
|
1138
1213
|
);
|
|
1139
1214
|
}
|
|
1140
1215
|
);
|
|
1141
|
-
|
|
1142
|
-
const
|
|
1143
|
-
root:
|
|
1144
|
-
},
|
|
1145
|
-
const
|
|
1146
|
-
root:
|
|
1147
|
-
},
|
|
1148
|
-
if (
|
|
1149
|
-
const
|
|
1150
|
-
|
|
1216
|
+
Ht.displayName = "Dropdown";
|
|
1217
|
+
const qr = (r) => /* @__PURE__ */ e("div", { ...r, children: "FileInput" }), Yr = (r) => /* @__PURE__ */ e("div", { ...r, children: "FileUpload" }), Kt = "Flex-module__root___yYser", se = {
|
|
1218
|
+
root: Kt
|
|
1219
|
+
}, Ut = $(function({ children: o, overStyled: n = !1, gap: s = "rec-default", ...t }, a) {
|
|
1220
|
+
const c = v({ ...t, gap: s }, n), l = c, d = {
|
|
1221
|
+
root: se.root
|
|
1222
|
+
}, i = l.classNames;
|
|
1223
|
+
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
1224
|
+
const y = i;
|
|
1225
|
+
d.root = y.root ? `${se.root} ${y.root}` : se.root;
|
|
1151
1226
|
}
|
|
1152
|
-
const p =
|
|
1153
|
-
return /* @__PURE__ */
|
|
1154
|
-
|
|
1227
|
+
const p = l.className, u = p ? `${se.root} ${p}` : se.root;
|
|
1228
|
+
return /* @__PURE__ */ e(
|
|
1229
|
+
yo,
|
|
1155
1230
|
{
|
|
1156
|
-
ref:
|
|
1157
|
-
className:
|
|
1158
|
-
classNames:
|
|
1159
|
-
...
|
|
1160
|
-
children:
|
|
1231
|
+
ref: a,
|
|
1232
|
+
className: u,
|
|
1233
|
+
classNames: d,
|
|
1234
|
+
...c,
|
|
1235
|
+
children: o
|
|
1161
1236
|
}
|
|
1162
1237
|
);
|
|
1163
1238
|
});
|
|
1164
|
-
|
|
1165
|
-
const
|
|
1166
|
-
root:
|
|
1167
|
-
},
|
|
1168
|
-
const
|
|
1169
|
-
root:
|
|
1170
|
-
},
|
|
1171
|
-
if (
|
|
1172
|
-
const
|
|
1173
|
-
|
|
1239
|
+
Ut.displayName = "Flex";
|
|
1240
|
+
const Xt = "Group-module__root___ftO64", ne = {
|
|
1241
|
+
root: Xt
|
|
1242
|
+
}, Qt = $(function({ children: o, overStyled: n = !1, gap: s = "rec-default", ...t }, a) {
|
|
1243
|
+
const c = v({ ...t, gap: s }, n), l = c, d = {
|
|
1244
|
+
root: ne.root
|
|
1245
|
+
}, i = l.classNames;
|
|
1246
|
+
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
1247
|
+
const y = i;
|
|
1248
|
+
d.root = y.root ? `${ne.root} ${y.root}` : ne.root;
|
|
1174
1249
|
}
|
|
1175
|
-
const p =
|
|
1176
|
-
return /* @__PURE__ */
|
|
1177
|
-
|
|
1250
|
+
const p = l.className, u = p ? `${ne.root} ${p}` : ne.root;
|
|
1251
|
+
return /* @__PURE__ */ e(
|
|
1252
|
+
ho,
|
|
1178
1253
|
{
|
|
1179
|
-
ref:
|
|
1180
|
-
className:
|
|
1181
|
-
classNames:
|
|
1182
|
-
...
|
|
1183
|
-
children:
|
|
1254
|
+
ref: a,
|
|
1255
|
+
className: u,
|
|
1256
|
+
classNames: d,
|
|
1257
|
+
...c,
|
|
1258
|
+
children: o
|
|
1184
1259
|
}
|
|
1185
1260
|
);
|
|
1186
1261
|
});
|
|
1187
|
-
|
|
1188
|
-
const
|
|
1189
|
-
root:
|
|
1190
|
-
},
|
|
1191
|
-
const
|
|
1262
|
+
Qt.displayName = "Group";
|
|
1263
|
+
const Zr = (r) => /* @__PURE__ */ e("div", { ...r, children: "HoverCard" }), Hr = (r) => /* @__PURE__ */ e("div", { ...r, children: "Link" }), Jt = "Loader-module__root___6iYOP", le = {
|
|
1264
|
+
root: Jt
|
|
1265
|
+
}, er = $(function({ variant: o = "oval", size: n = "default", overStyled: s = !1, ...t }, a) {
|
|
1266
|
+
const l = {
|
|
1192
1267
|
sm: "small",
|
|
1193
1268
|
md: "default",
|
|
1194
1269
|
lg: "large",
|
|
1195
1270
|
small: "small",
|
|
1196
1271
|
default: "default",
|
|
1197
1272
|
large: "large"
|
|
1198
|
-
}[
|
|
1199
|
-
root:
|
|
1200
|
-
}, p =
|
|
1273
|
+
}[n] || "default", d = v(t, s), i = {
|
|
1274
|
+
root: le.root
|
|
1275
|
+
}, p = d.classNames;
|
|
1201
1276
|
if (p && typeof p == "object" && !Array.isArray(p)) {
|
|
1202
|
-
const
|
|
1203
|
-
|
|
1277
|
+
const m = p;
|
|
1278
|
+
i.root = m.root ? `${le.root} ${m.root}` : le.root;
|
|
1204
1279
|
}
|
|
1205
|
-
const
|
|
1206
|
-
return /* @__PURE__ */
|
|
1207
|
-
|
|
1280
|
+
const u = d.className, y = u ? `${le.root} ${u}` : le.root;
|
|
1281
|
+
return /* @__PURE__ */ e(
|
|
1282
|
+
fo,
|
|
1208
1283
|
{
|
|
1209
|
-
ref:
|
|
1210
|
-
type:
|
|
1211
|
-
"data-variant":
|
|
1212
|
-
"data-size":
|
|
1213
|
-
...
|
|
1214
|
-
className:
|
|
1215
|
-
classNames:
|
|
1284
|
+
ref: a,
|
|
1285
|
+
type: o,
|
|
1286
|
+
"data-variant": o,
|
|
1287
|
+
"data-size": l,
|
|
1288
|
+
...d,
|
|
1289
|
+
className: y,
|
|
1290
|
+
classNames: i
|
|
1216
1291
|
}
|
|
1217
1292
|
);
|
|
1218
1293
|
});
|
|
1219
|
-
|
|
1220
|
-
const
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1294
|
+
er.displayName = "Loader";
|
|
1295
|
+
const or = "Menu-module__dropdown___j4xuA", tr = "Menu-module__item___NMXha", rr = "Menu-module__itemLabel___zvcqC", ar = "Menu-module__itemSection___pRIcn", sr = "Menu-module__divider___wPiNq", nr = "Menu-module__label___4FBGa", lr = "Menu-module__chevron___hEEiy", J = {
|
|
1296
|
+
dropdown: or,
|
|
1297
|
+
item: tr,
|
|
1298
|
+
itemLabel: rr,
|
|
1299
|
+
itemSection: ar,
|
|
1300
|
+
divider: sr,
|
|
1301
|
+
label: nr,
|
|
1302
|
+
chevron: lr
|
|
1303
|
+
}, Ge = function({ overStyled: o = !1, ...n }) {
|
|
1304
|
+
const s = v(n, o), t = {
|
|
1305
|
+
dropdown: J.dropdown,
|
|
1306
|
+
item: J.item,
|
|
1307
|
+
itemLabel: J.itemLabel,
|
|
1308
|
+
itemSection: J.itemSection,
|
|
1309
|
+
divider: J.divider,
|
|
1310
|
+
label: J.label,
|
|
1311
|
+
chevron: J.chevron
|
|
1312
|
+
}, a = s.classNames;
|
|
1313
|
+
if (a && typeof a == "object" && !Array.isArray(a)) {
|
|
1314
|
+
const c = a;
|
|
1315
|
+
Object.keys(c).forEach((l) => {
|
|
1316
|
+
t[l] ? t[l] = `${t[l]} ${c[l]}` : t[l] = c[l];
|
|
1317
|
+
});
|
|
1318
|
+
}
|
|
1319
|
+
return /* @__PURE__ */ e(
|
|
1320
|
+
q,
|
|
1321
|
+
{
|
|
1322
|
+
classNames: t,
|
|
1323
|
+
...s
|
|
1324
|
+
}
|
|
1325
|
+
);
|
|
1326
|
+
};
|
|
1327
|
+
Ge.displayName = "Menu";
|
|
1328
|
+
const qe = function(o) {
|
|
1329
|
+
return /* @__PURE__ */ e(q.Target, { ...o });
|
|
1330
|
+
};
|
|
1331
|
+
qe.displayName = "MenuTarget";
|
|
1332
|
+
const Ye = $(
|
|
1333
|
+
function({ overStyled: o = !1, ...n }, s) {
|
|
1334
|
+
const t = v(n, o), a = t.className;
|
|
1335
|
+
return /* @__PURE__ */ e(
|
|
1336
|
+
q.Dropdown,
|
|
1258
1337
|
{
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1338
|
+
ref: s,
|
|
1339
|
+
className: a,
|
|
1340
|
+
...t
|
|
1341
|
+
}
|
|
1342
|
+
);
|
|
1343
|
+
}
|
|
1344
|
+
);
|
|
1345
|
+
Ye.displayName = "MenuDropdown";
|
|
1346
|
+
const Ze = $(function({ overStyled: o = !1, ...n }, s) {
|
|
1347
|
+
const t = v(n, o), a = t;
|
|
1348
|
+
o || delete a.color;
|
|
1349
|
+
const c = a.className;
|
|
1350
|
+
return /* @__PURE__ */ e(
|
|
1351
|
+
q.Item,
|
|
1352
|
+
{
|
|
1353
|
+
ref: s,
|
|
1354
|
+
className: c,
|
|
1355
|
+
...t
|
|
1356
|
+
}
|
|
1357
|
+
);
|
|
1358
|
+
});
|
|
1359
|
+
Ze.displayName = "MenuItem";
|
|
1360
|
+
const He = $(
|
|
1361
|
+
function({ overStyled: o = !1, ...n }, s) {
|
|
1362
|
+
const t = v(n, o), a = t.className;
|
|
1363
|
+
return /* @__PURE__ */ e(
|
|
1364
|
+
q.Divider,
|
|
1365
|
+
{
|
|
1366
|
+
ref: s,
|
|
1367
|
+
className: a,
|
|
1368
|
+
...t
|
|
1369
|
+
}
|
|
1370
|
+
);
|
|
1371
|
+
}
|
|
1372
|
+
);
|
|
1373
|
+
He.displayName = "MenuDivider";
|
|
1374
|
+
const Ke = $(function({ overStyled: o = !1, ...n }, s) {
|
|
1375
|
+
const t = v(n, o), a = t.className;
|
|
1376
|
+
return /* @__PURE__ */ e(
|
|
1377
|
+
q.Label,
|
|
1378
|
+
{
|
|
1379
|
+
ref: s,
|
|
1380
|
+
className: a,
|
|
1381
|
+
...t
|
|
1382
|
+
}
|
|
1383
|
+
);
|
|
1384
|
+
});
|
|
1385
|
+
Ke.displayName = "MenuLabel";
|
|
1386
|
+
const Ue = function(o) {
|
|
1387
|
+
return /* @__PURE__ */ e(q.Sub, { ...o });
|
|
1388
|
+
};
|
|
1389
|
+
Ue.displayName = "MenuSub";
|
|
1390
|
+
const Xe = function(o) {
|
|
1391
|
+
return /* @__PURE__ */ e(q.Sub.Target, { ...o });
|
|
1392
|
+
};
|
|
1393
|
+
Xe.displayName = "MenuSubTarget";
|
|
1394
|
+
const Qe = $(
|
|
1395
|
+
function({ overStyled: o = !1, ...n }, s) {
|
|
1396
|
+
const t = v(n, o), a = t;
|
|
1397
|
+
o || delete a.color;
|
|
1398
|
+
const c = a.className;
|
|
1399
|
+
return /* @__PURE__ */ e(
|
|
1400
|
+
q.Sub.Item,
|
|
1401
|
+
{
|
|
1402
|
+
ref: s,
|
|
1403
|
+
className: c,
|
|
1404
|
+
...t
|
|
1280
1405
|
}
|
|
1281
|
-
)
|
|
1282
|
-
|
|
1406
|
+
);
|
|
1407
|
+
}
|
|
1408
|
+
);
|
|
1409
|
+
Qe.displayName = "MenuSubItem";
|
|
1410
|
+
const Je = $(
|
|
1411
|
+
function({ overStyled: o = !1, ...n }, s) {
|
|
1412
|
+
const t = v(n, o), a = t.className;
|
|
1413
|
+
return /* @__PURE__ */ e(
|
|
1414
|
+
q.Sub.Dropdown,
|
|
1283
1415
|
{
|
|
1284
|
-
|
|
1285
|
-
|
|
1416
|
+
ref: s,
|
|
1417
|
+
className: a,
|
|
1418
|
+
...t
|
|
1419
|
+
}
|
|
1420
|
+
);
|
|
1421
|
+
}
|
|
1422
|
+
);
|
|
1423
|
+
Je.displayName = "MenuSubDropdown";
|
|
1424
|
+
const Ne = Ue;
|
|
1425
|
+
Ne.Target = Xe;
|
|
1426
|
+
Ne.Item = Qe;
|
|
1427
|
+
Ne.Dropdown = Je;
|
|
1428
|
+
const re = Ge;
|
|
1429
|
+
re.Target = qe;
|
|
1430
|
+
re.Dropdown = Ye;
|
|
1431
|
+
re.Item = Ze;
|
|
1432
|
+
re.Divider = He;
|
|
1433
|
+
re.Label = Ke;
|
|
1434
|
+
re.Sub = Ne;
|
|
1435
|
+
const Kr = (r) => /* @__PURE__ */ e("div", { ...r, children: "Modal" }), Ur = (r) => /* @__PURE__ */ e("div", { ...r, children: "NumberInput" }), Xr = (r) => /* @__PURE__ */ e("div", { ...r, children: "Pagination" }), Qr = (r) => /* @__PURE__ */ e("div", { ...r, children: "Panel" }), Jr = (r) => /* @__PURE__ */ e("div", { ...r, children: "Popover" }), cr = "Radio-module__groupRoot___bfUii", ir = "Radio-module__root___kAjTD", dr = "Radio-module__body___q2Wpj", pr = "Radio-module__inner___QaTBB", mr = "Radio-module__radio___MfgN-", ur = "Radio-module__icon___DWznm", _r = "Radio-module__labelWrapper___dB0Gi", br = "Radio-module__label___vAFIP", k = {
|
|
1436
|
+
groupRoot: cr,
|
|
1437
|
+
root: ir,
|
|
1438
|
+
body: dr,
|
|
1439
|
+
inner: pr,
|
|
1440
|
+
radio: mr,
|
|
1441
|
+
icon: ur,
|
|
1442
|
+
labelWrapper: _r,
|
|
1443
|
+
label: br
|
|
1444
|
+
}, eo = $(
|
|
1445
|
+
function(o, n) {
|
|
1446
|
+
const {
|
|
1447
|
+
overStyled: s = !1,
|
|
1448
|
+
formLayout: t = "stacked",
|
|
1449
|
+
// Label Wrappers
|
|
1450
|
+
labelSize: a,
|
|
1451
|
+
labelAlignment: c,
|
|
1452
|
+
labelOptionalText: l,
|
|
1453
|
+
labelWithEditIcon: d,
|
|
1454
|
+
onLabelEditClick: i,
|
|
1455
|
+
// Base Mantine Extracted Attributes
|
|
1456
|
+
label: p,
|
|
1457
|
+
description: u,
|
|
1458
|
+
assistiveText: y,
|
|
1459
|
+
assistiveWithIcon: m,
|
|
1460
|
+
error: _,
|
|
1461
|
+
required: h,
|
|
1462
|
+
withAsterisk: C,
|
|
1463
|
+
id: f,
|
|
1464
|
+
className: g,
|
|
1465
|
+
style: b,
|
|
1466
|
+
children: P,
|
|
1467
|
+
readOnly: N,
|
|
1468
|
+
readOnlyComponent: z,
|
|
1469
|
+
emptyValueComponent: L,
|
|
1470
|
+
value: A,
|
|
1471
|
+
defaultValue: R,
|
|
1472
|
+
...O
|
|
1473
|
+
} = o, S = v(O, s), T = S;
|
|
1474
|
+
return delete T.size, /* @__PURE__ */ e(
|
|
1475
|
+
ee,
|
|
1476
|
+
{
|
|
1477
|
+
className: g,
|
|
1478
|
+
style: b,
|
|
1286
1479
|
controlMaxWidth: "var(--recursica_ui-kit_components_radio-button-item_properties_max-width)",
|
|
1287
1480
|
controlMinWidth: void 0,
|
|
1288
|
-
overStyled:
|
|
1481
|
+
overStyled: s,
|
|
1289
1482
|
labelElement: "div",
|
|
1290
|
-
formLayout:
|
|
1291
|
-
labelSize:
|
|
1292
|
-
labelAlignment:
|
|
1293
|
-
labelOptionalText:
|
|
1294
|
-
labelWithEditIcon:
|
|
1295
|
-
onLabelEditClick:
|
|
1296
|
-
label:
|
|
1297
|
-
description:
|
|
1298
|
-
assistiveText:
|
|
1483
|
+
formLayout: t,
|
|
1484
|
+
labelSize: a,
|
|
1485
|
+
labelAlignment: c,
|
|
1486
|
+
labelOptionalText: l,
|
|
1487
|
+
labelWithEditIcon: d,
|
|
1488
|
+
onLabelEditClick: i,
|
|
1489
|
+
label: p,
|
|
1490
|
+
description: u,
|
|
1491
|
+
assistiveText: y,
|
|
1299
1492
|
assistiveWithIcon: m,
|
|
1300
|
-
error:
|
|
1301
|
-
required:
|
|
1302
|
-
withAsterisk:
|
|
1303
|
-
id:
|
|
1304
|
-
|
|
1305
|
-
|
|
1493
|
+
error: _,
|
|
1494
|
+
required: h,
|
|
1495
|
+
withAsterisk: C,
|
|
1496
|
+
id: f,
|
|
1497
|
+
readOnly: N && !!z,
|
|
1498
|
+
readOnlyComponent: z,
|
|
1499
|
+
emptyValueComponent: L,
|
|
1500
|
+
readOnlyType: "text",
|
|
1501
|
+
readOnlyValue: A !== void 0 ? A : R,
|
|
1502
|
+
readOnlyNativeProps: o,
|
|
1503
|
+
activeComponent: /* @__PURE__ */ e(
|
|
1504
|
+
Te.Group,
|
|
1306
1505
|
{
|
|
1307
|
-
ref:
|
|
1506
|
+
ref: n,
|
|
1308
1507
|
...S,
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1508
|
+
disabled: N || T.disabled,
|
|
1509
|
+
value: A,
|
|
1510
|
+
defaultValue: R,
|
|
1511
|
+
children: /* @__PURE__ */ e("div", { className: k.groupRoot, "data-layout": t, children: B.Children.map(P, (x) => B.isValidElement(x) ? B.cloneElement(x, {
|
|
1512
|
+
disabled: N || x.props.disabled
|
|
1513
|
+
}) : x) })
|
|
1312
1514
|
}
|
|
1313
1515
|
)
|
|
1314
1516
|
}
|
|
1315
1517
|
);
|
|
1316
1518
|
}
|
|
1317
1519
|
);
|
|
1318
|
-
|
|
1319
|
-
const
|
|
1520
|
+
eo.displayName = "RadioGroup";
|
|
1521
|
+
const yr = ({ className: r, style: o }) => /* @__PURE__ */ e(
|
|
1320
1522
|
"svg",
|
|
1321
1523
|
{
|
|
1322
1524
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1323
1525
|
viewBox: "0 0 16 16",
|
|
1324
1526
|
fill: "currentColor",
|
|
1325
|
-
className:
|
|
1326
|
-
style:
|
|
1327
|
-
children: /* @__PURE__ */
|
|
1527
|
+
className: r,
|
|
1528
|
+
style: o,
|
|
1529
|
+
children: /* @__PURE__ */ e("circle", { cx: "8", cy: "8", r: "5" })
|
|
1328
1530
|
}
|
|
1329
|
-
),
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
const _ =
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
...d
|
|
1531
|
+
), oo = $(
|
|
1532
|
+
function(o, n) {
|
|
1533
|
+
const {
|
|
1534
|
+
overStyled: s = !1,
|
|
1535
|
+
readOnly: t,
|
|
1536
|
+
readOnlyComponent: a,
|
|
1537
|
+
disabled: c,
|
|
1538
|
+
formLayout: l,
|
|
1539
|
+
labelSize: d,
|
|
1540
|
+
controlMaxWidth: i,
|
|
1541
|
+
controlMinWidth: p,
|
|
1542
|
+
...u
|
|
1543
|
+
} = o, y = v(u, s), m = y;
|
|
1544
|
+
delete m.size, delete m.color, delete m.radius, delete m.variant, delete m.iconColor;
|
|
1545
|
+
const _ = {
|
|
1546
|
+
root: k.root,
|
|
1547
|
+
body: k.body,
|
|
1548
|
+
inner: k.inner,
|
|
1549
|
+
radio: k.radio,
|
|
1550
|
+
icon: k.icon,
|
|
1551
|
+
labelWrapper: k.labelWrapper,
|
|
1552
|
+
label: k.label
|
|
1553
|
+
}, h = m.classNames;
|
|
1554
|
+
if (h && typeof h == "object" && !Array.isArray(h)) {
|
|
1555
|
+
const b = h;
|
|
1556
|
+
_.root = b.root ? `${k.root} ${b.root}` : k.root, _.body = b.body ? `${k.body} ${b.body}` : k.body, _.inner = b.inner ? `${k.inner} ${b.inner}` : k.inner, _.radio = b.radio ? `${k.radio} ${b.radio}` : k.radio, _.icon = b.icon ? `${k.icon} ${b.icon}` : k.icon, _.labelWrapper = b.labelWrapper ? `${k.labelWrapper} ${b.labelWrapper}` : k.labelWrapper, _.label = b.label ? `${k.label} ${b.label}` : k.label;
|
|
1356
1557
|
}
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1558
|
+
const C = m.className, f = C ? `${k.root} ${C}` : k.root;
|
|
1559
|
+
if (t && a) {
|
|
1560
|
+
const b = !!(m.checked ?? m.defaultChecked), N = /* @__PURE__ */ e(
|
|
1561
|
+
a,
|
|
1562
|
+
{
|
|
1563
|
+
...o,
|
|
1564
|
+
checked: b,
|
|
1565
|
+
label: m.label
|
|
1566
|
+
}
|
|
1567
|
+
);
|
|
1568
|
+
return l ? /* @__PURE__ */ e(
|
|
1569
|
+
X,
|
|
1570
|
+
{
|
|
1571
|
+
formLayout: l,
|
|
1572
|
+
labelSize: d,
|
|
1573
|
+
controlMaxWidth: i,
|
|
1574
|
+
controlMinWidth: p,
|
|
1575
|
+
children: N
|
|
1576
|
+
}
|
|
1577
|
+
) : /* @__PURE__ */ e(ie, { children: N });
|
|
1578
|
+
}
|
|
1579
|
+
const g = /* @__PURE__ */ e(
|
|
1580
|
+
Te,
|
|
1581
|
+
{
|
|
1582
|
+
ref: n,
|
|
1583
|
+
icon: yr,
|
|
1584
|
+
className: f,
|
|
1585
|
+
classNames: _,
|
|
1586
|
+
disabled: t || c,
|
|
1587
|
+
...y
|
|
1588
|
+
}
|
|
1589
|
+
);
|
|
1590
|
+
return l ? /* @__PURE__ */ e(
|
|
1591
|
+
X,
|
|
1592
|
+
{
|
|
1593
|
+
formLayout: l,
|
|
1594
|
+
labelSize: d,
|
|
1595
|
+
controlMaxWidth: i,
|
|
1596
|
+
controlMinWidth: p,
|
|
1597
|
+
children: g
|
|
1598
|
+
}
|
|
1599
|
+
) : g;
|
|
1370
1600
|
}
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1601
|
+
);
|
|
1602
|
+
oo.displayName = "Radio";
|
|
1603
|
+
oo.Group = eo;
|
|
1604
|
+
const hr = ({ checked: r, label: o }) => /* @__PURE__ */ E(
|
|
1605
|
+
Ce,
|
|
1606
|
+
{
|
|
1607
|
+
component: "span",
|
|
1608
|
+
className: be.textField,
|
|
1609
|
+
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
1610
|
+
children: [
|
|
1611
|
+
o && /* @__PURE__ */ E("span", { style: { fontWeight: 500 }, children: [
|
|
1612
|
+
o,
|
|
1613
|
+
":"
|
|
1614
|
+
] }),
|
|
1615
|
+
/* @__PURE__ */ e("span", { children: r ? "On" : "Off" })
|
|
1616
|
+
]
|
|
1617
|
+
}
|
|
1618
|
+
);
|
|
1619
|
+
hr.displayName = "ReadOnlySwitchField";
|
|
1620
|
+
const fr = ({ checked: r, label: o }) => /* @__PURE__ */ E(
|
|
1621
|
+
Ce,
|
|
1622
|
+
{
|
|
1623
|
+
component: "span",
|
|
1624
|
+
className: be.textField,
|
|
1625
|
+
style: { display: "inline-flex", gap: "8px", alignItems: "baseline" },
|
|
1626
|
+
children: [
|
|
1627
|
+
o && /* @__PURE__ */ E("span", { style: { fontWeight: 500 }, children: [
|
|
1628
|
+
o,
|
|
1629
|
+
":"
|
|
1630
|
+
] }),
|
|
1631
|
+
/* @__PURE__ */ e("span", { children: r ? "True" : "False" })
|
|
1632
|
+
]
|
|
1633
|
+
}
|
|
1634
|
+
);
|
|
1635
|
+
fr.displayName = "ReadOnlyBooleanField";
|
|
1636
|
+
const ea = (r) => /* @__PURE__ */ e("div", { ...r, children: "Search" }), oa = (r) => /* @__PURE__ */ e("div", { ...r, children: "SegmentedControl" }), ta = (r) => /* @__PURE__ */ e("div", { ...r, children: "Slider" }), Nr = "Stack-module__root___NUN-x", ce = {
|
|
1637
|
+
root: Nr
|
|
1638
|
+
}, $r = $(function({ children: o, overStyled: n = !1, gap: s = "rec-default", ...t }, a) {
|
|
1639
|
+
const c = v({ ...t, gap: s }, n), l = c, d = {
|
|
1640
|
+
root: ce.root
|
|
1641
|
+
}, i = l.classNames;
|
|
1642
|
+
if (i && typeof i == "object" && !Array.isArray(i)) {
|
|
1643
|
+
const y = i;
|
|
1644
|
+
d.root = y.root ? `${ce.root} ${y.root}` : ce.root;
|
|
1645
|
+
}
|
|
1646
|
+
const p = l.className, u = p ? `${ce.root} ${p}` : ce.root;
|
|
1647
|
+
return /* @__PURE__ */ e(
|
|
1648
|
+
No,
|
|
1374
1649
|
{
|
|
1375
|
-
ref:
|
|
1376
|
-
className:
|
|
1377
|
-
classNames:
|
|
1378
|
-
...
|
|
1379
|
-
children:
|
|
1650
|
+
ref: a,
|
|
1651
|
+
className: u,
|
|
1652
|
+
classNames: d,
|
|
1653
|
+
...c,
|
|
1654
|
+
children: o
|
|
1380
1655
|
}
|
|
1381
1656
|
);
|
|
1382
1657
|
});
|
|
1383
|
-
|
|
1384
|
-
const
|
|
1385
|
-
root:
|
|
1386
|
-
body:
|
|
1387
|
-
track:
|
|
1388
|
-
thumb:
|
|
1389
|
-
labelWrapper:
|
|
1390
|
-
label:
|
|
1391
|
-
thumbIconWrapper:
|
|
1392
|
-
checkIcon:
|
|
1393
|
-
closeIcon:
|
|
1394
|
-
groupRoot:
|
|
1395
|
-
},
|
|
1396
|
-
function({
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1658
|
+
$r.displayName = "Stack";
|
|
1659
|
+
const ra = (r) => /* @__PURE__ */ e("div", { ...r, children: "Stepper" }), vr = "Switch-module__root___Y5Ydi", Cr = "Switch-module__body___Sw9Wr", gr = "Switch-module__track___7ObdZ", xr = "Switch-module__thumb___-FTeK", wr = "Switch-module__labelWrapper___YSOwx", Pr = "Switch-module__label___LrH7V", Wr = "Switch-module__thumbIconWrapper___sCY-1", kr = "Switch-module__checkIcon___ZBAQN", Ar = "Switch-module__closeIcon___bLLGw", Sr = "Switch-module__groupRoot___-Uepi", w = {
|
|
1660
|
+
root: vr,
|
|
1661
|
+
body: Cr,
|
|
1662
|
+
track: gr,
|
|
1663
|
+
thumb: xr,
|
|
1664
|
+
labelWrapper: wr,
|
|
1665
|
+
label: Pr,
|
|
1666
|
+
thumbIconWrapper: Wr,
|
|
1667
|
+
checkIcon: kr,
|
|
1668
|
+
closeIcon: Ar,
|
|
1669
|
+
groupRoot: Sr
|
|
1670
|
+
}, to = $(
|
|
1671
|
+
function(o, n) {
|
|
1672
|
+
const {
|
|
1673
|
+
overStyled: s = !1,
|
|
1674
|
+
formLayout: t = "stacked",
|
|
1675
|
+
// Label Wrappers
|
|
1676
|
+
labelSize: a,
|
|
1677
|
+
labelAlignment: c,
|
|
1678
|
+
labelOptionalText: l,
|
|
1679
|
+
labelWithEditIcon: d,
|
|
1680
|
+
onLabelEditClick: i,
|
|
1681
|
+
// Base Mantine Extracted Attributes
|
|
1682
|
+
label: p,
|
|
1683
|
+
description: u,
|
|
1684
|
+
assistiveText: y,
|
|
1685
|
+
assistiveWithIcon: m,
|
|
1686
|
+
error: _,
|
|
1687
|
+
required: h,
|
|
1688
|
+
withAsterisk: C,
|
|
1689
|
+
id: f,
|
|
1690
|
+
className: g,
|
|
1691
|
+
style: b,
|
|
1692
|
+
children: P,
|
|
1693
|
+
readOnly: N,
|
|
1694
|
+
readOnlyComponent: z,
|
|
1695
|
+
emptyValueComponent: L,
|
|
1696
|
+
value: A,
|
|
1697
|
+
defaultValue: R,
|
|
1698
|
+
...O
|
|
1699
|
+
} = o, S = v(O, s), T = S;
|
|
1700
|
+
return delete T.size, /* @__PURE__ */ e(
|
|
1701
|
+
ee,
|
|
1424
1702
|
{
|
|
1425
|
-
className:
|
|
1426
|
-
style:
|
|
1427
|
-
controlMaxWidth: "var(--recursica_ui-kit_components_switch_properties_max-width)",
|
|
1428
|
-
controlMinWidth: void 0,
|
|
1429
|
-
overStyled: t,
|
|
1430
|
-
labelElement: "div",
|
|
1431
|
-
formLayout: s,
|
|
1432
|
-
labelSize: c,
|
|
1433
|
-
labelAlignment: a,
|
|
1434
|
-
labelOptionalText: n,
|
|
1435
|
-
labelWithEditIcon: l,
|
|
1436
|
-
onLabelEditClick: d,
|
|
1437
|
-
label: i,
|
|
1438
|
-
description: r,
|
|
1439
|
-
assistiveText: p,
|
|
1440
|
-
assistiveWithIcon: m,
|
|
1441
|
-
error: u,
|
|
1442
|
-
required: _,
|
|
1443
|
-
withAsterisk: h,
|
|
1444
|
-
id: b,
|
|
1445
|
-
children: W
|
|
1446
|
-
}
|
|
1447
|
-
) : /* @__PURE__ */ o(
|
|
1448
|
-
V,
|
|
1449
|
-
{
|
|
1450
|
-
className: C,
|
|
1451
|
-
style: $,
|
|
1703
|
+
className: g,
|
|
1704
|
+
style: b,
|
|
1452
1705
|
controlMaxWidth: "var(--recursica_ui-kit_components_switch_properties_max-width)",
|
|
1453
1706
|
controlMinWidth: void 0,
|
|
1454
|
-
overStyled:
|
|
1707
|
+
overStyled: s,
|
|
1455
1708
|
labelElement: "div",
|
|
1456
|
-
formLayout:
|
|
1457
|
-
labelSize:
|
|
1458
|
-
labelAlignment:
|
|
1459
|
-
labelOptionalText:
|
|
1460
|
-
labelWithEditIcon:
|
|
1461
|
-
onLabelEditClick:
|
|
1462
|
-
label:
|
|
1463
|
-
description:
|
|
1464
|
-
assistiveText:
|
|
1709
|
+
formLayout: t,
|
|
1710
|
+
labelSize: a,
|
|
1711
|
+
labelAlignment: c,
|
|
1712
|
+
labelOptionalText: l,
|
|
1713
|
+
labelWithEditIcon: d,
|
|
1714
|
+
onLabelEditClick: i,
|
|
1715
|
+
label: p,
|
|
1716
|
+
description: u,
|
|
1717
|
+
assistiveText: y,
|
|
1465
1718
|
assistiveWithIcon: m,
|
|
1466
|
-
error:
|
|
1467
|
-
required:
|
|
1468
|
-
withAsterisk:
|
|
1469
|
-
id:
|
|
1470
|
-
|
|
1471
|
-
|
|
1719
|
+
error: _,
|
|
1720
|
+
required: h,
|
|
1721
|
+
withAsterisk: C,
|
|
1722
|
+
id: f,
|
|
1723
|
+
readOnly: N && !!z,
|
|
1724
|
+
readOnlyComponent: z,
|
|
1725
|
+
emptyValueComponent: L,
|
|
1726
|
+
readOnlyType: "text",
|
|
1727
|
+
readOnlyValue: A !== void 0 ? A : R,
|
|
1728
|
+
readOnlyNativeProps: o,
|
|
1729
|
+
activeComponent: /* @__PURE__ */ e(
|
|
1730
|
+
Ie.Group,
|
|
1472
1731
|
{
|
|
1473
|
-
ref:
|
|
1732
|
+
ref: n,
|
|
1474
1733
|
...S,
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1734
|
+
disabled: N || T.disabled,
|
|
1735
|
+
value: A,
|
|
1736
|
+
defaultValue: R,
|
|
1737
|
+
children: /* @__PURE__ */ e("div", { className: w.groupRoot, children: B.Children.map(P, (x) => B.isValidElement(x) ? B.cloneElement(x, {
|
|
1738
|
+
disabled: N || x.props.disabled
|
|
1739
|
+
}) : x) })
|
|
1478
1740
|
}
|
|
1479
1741
|
)
|
|
1480
1742
|
}
|
|
1481
1743
|
);
|
|
1482
1744
|
}
|
|
1483
1745
|
);
|
|
1484
|
-
|
|
1485
|
-
const
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
] });
|
|
1513
|
-
return /* @__PURE__ */ o(
|
|
1514
|
-
wo,
|
|
1515
|
-
{
|
|
1516
|
-
ref: d,
|
|
1517
|
-
className: _,
|
|
1518
|
-
classNames: p,
|
|
1519
|
-
disabled: s || a,
|
|
1520
|
-
thumbIcon: n ?? h,
|
|
1521
|
-
...i
|
|
1746
|
+
to.displayName = "SwitchGroup";
|
|
1747
|
+
const ro = $(
|
|
1748
|
+
function(o, n) {
|
|
1749
|
+
const {
|
|
1750
|
+
overStyled: s = !1,
|
|
1751
|
+
readOnly: t,
|
|
1752
|
+
readOnlyComponent: a,
|
|
1753
|
+
disabled: c,
|
|
1754
|
+
thumbIcon: l,
|
|
1755
|
+
formLayout: d,
|
|
1756
|
+
labelSize: i,
|
|
1757
|
+
controlMaxWidth: p,
|
|
1758
|
+
controlMinWidth: u,
|
|
1759
|
+
...y
|
|
1760
|
+
} = o, m = v(y, s), _ = m;
|
|
1761
|
+
delete _.size, delete _.color, delete _.radius, delete _.variant;
|
|
1762
|
+
const h = {
|
|
1763
|
+
root: w.root,
|
|
1764
|
+
body: w.body,
|
|
1765
|
+
track: w.track,
|
|
1766
|
+
thumb: w.thumb,
|
|
1767
|
+
trackLabel: w.trackLabel,
|
|
1768
|
+
labelWrapper: w.labelWrapper,
|
|
1769
|
+
label: w.label
|
|
1770
|
+
}, C = _.classNames;
|
|
1771
|
+
if (C && typeof C == "object" && !Array.isArray(C)) {
|
|
1772
|
+
const N = C;
|
|
1773
|
+
h.root = N.root ? `${w.root} ${N.root}` : w.root, h.body = N.body ? `${w.body} ${N.body}` : w.body, h.track = N.track ? `${w.track} ${N.track}` : w.track, h.thumb = N.thumb ? `${w.thumb} ${N.thumb}` : w.thumb, h.trackLabel = N.trackLabel ? `${w.trackLabel} ${N.trackLabel}` : w.trackLabel, h.labelWrapper = N.labelWrapper ? `${w.labelWrapper} ${N.labelWrapper}` : w.labelWrapper, h.label = N.label ? `${w.label} ${N.label}` : w.label;
|
|
1522
1774
|
}
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1775
|
+
const f = _.className, g = f ? `${w.root} ${f}` : w.root;
|
|
1776
|
+
if (t && a) {
|
|
1777
|
+
const N = !!(_.checked ?? _.defaultChecked), L = /* @__PURE__ */ e(
|
|
1778
|
+
a,
|
|
1779
|
+
{
|
|
1780
|
+
...o,
|
|
1781
|
+
checked: N,
|
|
1782
|
+
label: _.label
|
|
1783
|
+
}
|
|
1784
|
+
);
|
|
1785
|
+
return d ? /* @__PURE__ */ e(
|
|
1786
|
+
X,
|
|
1787
|
+
{
|
|
1788
|
+
formLayout: d,
|
|
1789
|
+
labelSize: i,
|
|
1790
|
+
controlMaxWidth: p,
|
|
1791
|
+
controlMinWidth: u,
|
|
1792
|
+
children: L
|
|
1793
|
+
}
|
|
1794
|
+
) : /* @__PURE__ */ e(ie, { children: L });
|
|
1795
|
+
}
|
|
1796
|
+
const b = /* @__PURE__ */ E("div", { className: w.thumbIconWrapper, children: [
|
|
1797
|
+
/* @__PURE__ */ e($o, { className: w.checkIcon }),
|
|
1798
|
+
/* @__PURE__ */ e(vo, { className: w.closeIcon })
|
|
1799
|
+
] }), P = /* @__PURE__ */ e(
|
|
1800
|
+
Ie,
|
|
1801
|
+
{
|
|
1802
|
+
ref: n,
|
|
1803
|
+
className: g,
|
|
1804
|
+
classNames: h,
|
|
1805
|
+
disabled: t || c,
|
|
1806
|
+
thumbIcon: l ?? b,
|
|
1807
|
+
...m
|
|
1808
|
+
}
|
|
1809
|
+
);
|
|
1810
|
+
return d ? /* @__PURE__ */ e(
|
|
1811
|
+
X,
|
|
1812
|
+
{
|
|
1813
|
+
formLayout: d,
|
|
1814
|
+
labelSize: i,
|
|
1815
|
+
controlMaxWidth: p,
|
|
1816
|
+
controlMinWidth: u,
|
|
1817
|
+
children: P
|
|
1818
|
+
}
|
|
1819
|
+
) : P;
|
|
1820
|
+
}
|
|
1821
|
+
);
|
|
1822
|
+
ro.displayName = "Switch";
|
|
1823
|
+
ro.Group = to;
|
|
1824
|
+
const aa = (r) => /* @__PURE__ */ e("div", { ...r, children: "Table" }), sa = (r) => /* @__PURE__ */ e("div", { ...r, children: "Tabs" }), Tr = $(function({ overStyled: o = !1, variant: n = "body", ...s }, t) {
|
|
1825
|
+
const a = v(s, o), c = a.className, l = `recursica_brand_typography_${n}`, d = c ? `${l} ${c}` : l;
|
|
1826
|
+
return /* @__PURE__ */ e(
|
|
1827
|
+
Co,
|
|
1531
1828
|
{
|
|
1532
|
-
ref:
|
|
1533
|
-
className:
|
|
1534
|
-
...
|
|
1829
|
+
ref: t,
|
|
1830
|
+
className: d,
|
|
1831
|
+
...a
|
|
1535
1832
|
}
|
|
1536
1833
|
);
|
|
1537
1834
|
});
|
|
1538
|
-
|
|
1539
|
-
const
|
|
1540
|
-
root:
|
|
1541
|
-
input:
|
|
1542
|
-
},
|
|
1543
|
-
function({
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1835
|
+
Tr.displayName = "Text";
|
|
1836
|
+
const Ir = "TextArea-module__root___3dyeu", Lr = "TextArea-module__input___8l36v", te = {
|
|
1837
|
+
root: Ir,
|
|
1838
|
+
input: Lr
|
|
1839
|
+
}, Rr = $(
|
|
1840
|
+
function(o, n) {
|
|
1841
|
+
const {
|
|
1842
|
+
overStyled: s = !1,
|
|
1843
|
+
formLayout: t = "stacked",
|
|
1844
|
+
// Label & Wrapper Maps
|
|
1845
|
+
labelSize: a,
|
|
1846
|
+
labelAlignment: c,
|
|
1847
|
+
labelOptionalText: l,
|
|
1848
|
+
labelWithEditIcon: d,
|
|
1849
|
+
onLabelEditClick: i,
|
|
1850
|
+
label: p,
|
|
1851
|
+
assistiveText: u,
|
|
1852
|
+
assistiveWithIcon: y,
|
|
1853
|
+
error: m,
|
|
1854
|
+
required: _,
|
|
1855
|
+
withAsterisk: h,
|
|
1856
|
+
id: C,
|
|
1857
|
+
className: f,
|
|
1858
|
+
style: g,
|
|
1859
|
+
disabled: b,
|
|
1860
|
+
readOnly: P,
|
|
1861
|
+
readOnlyComponent: N,
|
|
1862
|
+
emptyValueComponent: z,
|
|
1863
|
+
value: L,
|
|
1864
|
+
defaultValue: A,
|
|
1865
|
+
...R
|
|
1866
|
+
} = o, O = v(R, s), S = O;
|
|
1867
|
+
delete S.size, delete S.variant, delete S.radius;
|
|
1570
1868
|
const T = {
|
|
1571
|
-
wrapper:
|
|
1869
|
+
wrapper: te.root,
|
|
1572
1870
|
// The nested Input internal relative wrapper bounding box
|
|
1573
|
-
input:
|
|
1574
|
-
},
|
|
1575
|
-
if (
|
|
1576
|
-
const
|
|
1577
|
-
T.wrapper =
|
|
1871
|
+
input: te.input
|
|
1872
|
+
}, x = S.classNames;
|
|
1873
|
+
if (x && typeof x == "object" && !Array.isArray(x)) {
|
|
1874
|
+
const I = x;
|
|
1875
|
+
T.wrapper = I.wrapper ? `${te.root} ${I.wrapper}` : te.root, T.input = I.input ? `${te.input} ${I.input}` : te.input;
|
|
1578
1876
|
}
|
|
1579
|
-
return /* @__PURE__ */
|
|
1580
|
-
|
|
1877
|
+
return /* @__PURE__ */ e(
|
|
1878
|
+
ee,
|
|
1581
1879
|
{
|
|
1582
|
-
className:
|
|
1583
|
-
style:
|
|
1880
|
+
className: f,
|
|
1881
|
+
style: g,
|
|
1584
1882
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
1585
1883
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
1586
|
-
overStyled:
|
|
1587
|
-
formLayout:
|
|
1588
|
-
labelSize:
|
|
1589
|
-
labelAlignment:
|
|
1590
|
-
labelOptionalText:
|
|
1591
|
-
labelWithEditIcon:
|
|
1592
|
-
onLabelEditClick:
|
|
1593
|
-
label:
|
|
1594
|
-
assistiveText:
|
|
1595
|
-
assistiveWithIcon:
|
|
1884
|
+
overStyled: s,
|
|
1885
|
+
formLayout: t,
|
|
1886
|
+
labelSize: a,
|
|
1887
|
+
labelAlignment: c,
|
|
1888
|
+
labelOptionalText: l,
|
|
1889
|
+
labelWithEditIcon: d,
|
|
1890
|
+
onLabelEditClick: i,
|
|
1891
|
+
label: p,
|
|
1892
|
+
assistiveText: u,
|
|
1893
|
+
assistiveWithIcon: y,
|
|
1596
1894
|
error: m,
|
|
1597
|
-
required:
|
|
1598
|
-
withAsterisk:
|
|
1599
|
-
id:
|
|
1600
|
-
readOnly:
|
|
1601
|
-
readOnlyComponent:
|
|
1895
|
+
required: _,
|
|
1896
|
+
withAsterisk: h,
|
|
1897
|
+
id: C,
|
|
1898
|
+
readOnly: P,
|
|
1899
|
+
readOnlyComponent: N,
|
|
1900
|
+
emptyValueComponent: z,
|
|
1602
1901
|
readOnlyType: "text",
|
|
1603
|
-
readOnlyValue:
|
|
1902
|
+
readOnlyValue: L !== void 0 ? L : A,
|
|
1903
|
+
readOnlyNativeProps: o,
|
|
1604
1904
|
activeComponent: (
|
|
1605
1905
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1606
|
-
/* @__PURE__ */
|
|
1607
|
-
|
|
1906
|
+
/* @__PURE__ */ e(
|
|
1907
|
+
go,
|
|
1608
1908
|
{
|
|
1609
|
-
ref:
|
|
1909
|
+
ref: n,
|
|
1610
1910
|
classNames: T,
|
|
1611
|
-
disabled:
|
|
1612
|
-
value:
|
|
1613
|
-
defaultValue:
|
|
1911
|
+
disabled: b,
|
|
1912
|
+
value: L,
|
|
1913
|
+
defaultValue: A,
|
|
1614
1914
|
label: void 0,
|
|
1615
1915
|
description: void 0,
|
|
1616
1916
|
error: void 0,
|
|
1617
1917
|
required: void 0,
|
|
1618
1918
|
withAsterisk: void 0,
|
|
1619
1919
|
wrapperProps: {
|
|
1620
|
-
"data-disabled":
|
|
1920
|
+
"data-disabled": b ? "true" : void 0,
|
|
1621
1921
|
"data-error": m ? "true" : void 0
|
|
1622
1922
|
},
|
|
1623
|
-
...
|
|
1923
|
+
...O
|
|
1624
1924
|
}
|
|
1625
1925
|
)
|
|
1626
1926
|
)
|
|
@@ -1628,89 +1928,92 @@ const ar = "TextArea-module__root___3dyeu", nr = "TextArea-module__input___8l36v
|
|
|
1628
1928
|
);
|
|
1629
1929
|
}
|
|
1630
1930
|
);
|
|
1631
|
-
|
|
1632
|
-
const
|
|
1633
|
-
root:
|
|
1634
|
-
input:
|
|
1635
|
-
section:
|
|
1636
|
-
},
|
|
1637
|
-
function({
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1931
|
+
Rr.displayName = "TextArea";
|
|
1932
|
+
const Or = "TextField-module__root___2ZYkG", zr = "TextField-module__input___RL-My", Mr = "TextField-module__section___bCIJ0", Z = {
|
|
1933
|
+
root: Or,
|
|
1934
|
+
input: zr,
|
|
1935
|
+
section: Mr
|
|
1936
|
+
}, Fr = $(
|
|
1937
|
+
function(o, n) {
|
|
1938
|
+
const {
|
|
1939
|
+
overStyled: s = !1,
|
|
1940
|
+
formLayout: t = "stacked",
|
|
1941
|
+
// Label & Wrapper Maps
|
|
1942
|
+
labelSize: a,
|
|
1943
|
+
labelAlignment: c,
|
|
1944
|
+
labelOptionalText: l,
|
|
1945
|
+
labelWithEditIcon: d,
|
|
1946
|
+
onLabelEditClick: i,
|
|
1947
|
+
label: p,
|
|
1948
|
+
assistiveText: u,
|
|
1949
|
+
assistiveWithIcon: y,
|
|
1950
|
+
error: m,
|
|
1951
|
+
required: _,
|
|
1952
|
+
withAsterisk: h,
|
|
1953
|
+
id: C,
|
|
1954
|
+
className: f,
|
|
1955
|
+
style: g,
|
|
1956
|
+
disabled: b,
|
|
1957
|
+
readOnly: P,
|
|
1958
|
+
readOnlyComponent: N,
|
|
1959
|
+
emptyValueComponent: z,
|
|
1960
|
+
value: L,
|
|
1961
|
+
defaultValue: A,
|
|
1962
|
+
...R
|
|
1963
|
+
} = o, O = v(R, s), S = O;
|
|
1964
|
+
delete S.size, delete S.variant, delete S.radius;
|
|
1664
1965
|
const T = {
|
|
1665
|
-
wrapper:
|
|
1966
|
+
wrapper: Z.root,
|
|
1666
1967
|
// The nested Input internal relative wrapper bounding box
|
|
1667
|
-
input:
|
|
1668
|
-
section:
|
|
1669
|
-
},
|
|
1670
|
-
if (
|
|
1671
|
-
const
|
|
1672
|
-
T.wrapper =
|
|
1968
|
+
input: Z.input,
|
|
1969
|
+
section: Z.section
|
|
1970
|
+
}, x = S.classNames;
|
|
1971
|
+
if (x && typeof x == "object" && !Array.isArray(x)) {
|
|
1972
|
+
const I = x;
|
|
1973
|
+
T.wrapper = I.wrapper ? `${Z.root} ${I.wrapper}` : Z.root, T.input = I.input ? `${Z.input} ${I.input}` : Z.input, T.section = I.section ? `${Z.section} ${I.section}` : Z.section;
|
|
1673
1974
|
}
|
|
1674
|
-
return /* @__PURE__ */
|
|
1675
|
-
|
|
1975
|
+
return /* @__PURE__ */ e(
|
|
1976
|
+
ee,
|
|
1676
1977
|
{
|
|
1677
|
-
className:
|
|
1678
|
-
style:
|
|
1978
|
+
className: f,
|
|
1979
|
+
style: g,
|
|
1679
1980
|
controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
|
|
1680
1981
|
controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
|
|
1681
|
-
overStyled:
|
|
1682
|
-
formLayout:
|
|
1683
|
-
labelSize:
|
|
1684
|
-
labelAlignment:
|
|
1685
|
-
labelOptionalText:
|
|
1686
|
-
labelWithEditIcon:
|
|
1687
|
-
onLabelEditClick:
|
|
1688
|
-
label:
|
|
1689
|
-
assistiveText:
|
|
1690
|
-
assistiveWithIcon:
|
|
1982
|
+
overStyled: s,
|
|
1983
|
+
formLayout: t,
|
|
1984
|
+
labelSize: a,
|
|
1985
|
+
labelAlignment: c,
|
|
1986
|
+
labelOptionalText: l,
|
|
1987
|
+
labelWithEditIcon: d,
|
|
1988
|
+
onLabelEditClick: i,
|
|
1989
|
+
label: p,
|
|
1990
|
+
assistiveText: u,
|
|
1991
|
+
assistiveWithIcon: y,
|
|
1691
1992
|
error: m,
|
|
1692
|
-
required:
|
|
1693
|
-
withAsterisk:
|
|
1694
|
-
id:
|
|
1695
|
-
readOnly:
|
|
1696
|
-
readOnlyComponent:
|
|
1993
|
+
required: _,
|
|
1994
|
+
withAsterisk: h,
|
|
1995
|
+
id: C,
|
|
1996
|
+
readOnly: P,
|
|
1997
|
+
readOnlyComponent: N,
|
|
1998
|
+
emptyValueComponent: z,
|
|
1697
1999
|
readOnlyType: "text",
|
|
1698
|
-
readOnlyValue:
|
|
2000
|
+
readOnlyValue: L !== void 0 ? L : A,
|
|
2001
|
+
readOnlyNativeProps: o,
|
|
1699
2002
|
activeComponent: (
|
|
1700
2003
|
/* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
|
|
1701
|
-
/* @__PURE__ */
|
|
1702
|
-
|
|
2004
|
+
/* @__PURE__ */ e(
|
|
2005
|
+
Ae,
|
|
1703
2006
|
{
|
|
1704
|
-
ref:
|
|
2007
|
+
ref: n,
|
|
1705
2008
|
classNames: T,
|
|
1706
|
-
disabled:
|
|
1707
|
-
value:
|
|
1708
|
-
defaultValue:
|
|
2009
|
+
disabled: b,
|
|
2010
|
+
value: L,
|
|
2011
|
+
defaultValue: A,
|
|
1709
2012
|
wrapperProps: {
|
|
1710
|
-
"data-disabled":
|
|
2013
|
+
"data-disabled": b ? "true" : void 0,
|
|
1711
2014
|
"data-error": m ? "true" : void 0
|
|
1712
2015
|
},
|
|
1713
|
-
...
|
|
2016
|
+
...O
|
|
1714
2017
|
}
|
|
1715
2018
|
)
|
|
1716
2019
|
)
|
|
@@ -1718,80 +2021,83 @@ const ir = "TextField-module__root___2ZYkG", lr = "TextField-module__input___RL-
|
|
|
1718
2021
|
);
|
|
1719
2022
|
}
|
|
1720
2023
|
);
|
|
1721
|
-
|
|
1722
|
-
const
|
|
1723
|
-
const
|
|
1724
|
-
return /* @__PURE__ */
|
|
1725
|
-
|
|
2024
|
+
Fr.displayName = "TextField";
|
|
2025
|
+
const na = (r) => /* @__PURE__ */ e("div", { ...r, children: "TimePicker" }), la = (r) => /* @__PURE__ */ e("div", { ...r, children: "Timeline" }), Er = $(function({ overStyled: o = !1, order: n = 1, ...s }, t) {
|
|
2026
|
+
const a = v(s, o), c = a.className, l = `recursica_brand_typography_h${n}`, d = c ? `${l} ${c}` : l;
|
|
2027
|
+
return /* @__PURE__ */ e(
|
|
2028
|
+
xo,
|
|
1726
2029
|
{
|
|
1727
|
-
ref:
|
|
1728
|
-
order:
|
|
1729
|
-
className:
|
|
1730
|
-
...
|
|
2030
|
+
ref: t,
|
|
2031
|
+
order: n,
|
|
2032
|
+
className: d,
|
|
2033
|
+
...a
|
|
1731
2034
|
}
|
|
1732
2035
|
);
|
|
1733
2036
|
});
|
|
1734
|
-
|
|
1735
|
-
const
|
|
2037
|
+
Er.displayName = "Title";
|
|
2038
|
+
const ca = (r) => /* @__PURE__ */ e("div", { ...r, children: "Toast" }), ia = (r) => /* @__PURE__ */ e("div", { ...r, children: "Tooltip" }), da = (r) => /* @__PURE__ */ e("div", { ...r, children: "TransferList" });
|
|
1736
2039
|
export {
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
2040
|
+
we as Accordion,
|
|
2041
|
+
ge as AccordionControl,
|
|
2042
|
+
Re as AccordionItem,
|
|
2043
|
+
xe as AccordionPanel,
|
|
2044
|
+
jo as Avatar,
|
|
2045
|
+
Vo as Badge,
|
|
2046
|
+
Yo as Breadcrumb,
|
|
2047
|
+
Jo as Button,
|
|
2048
|
+
fe as Card,
|
|
2049
|
+
Ee as CardContent,
|
|
2050
|
+
Fe as CardFooter,
|
|
2051
|
+
Me as CardHeader,
|
|
2052
|
+
ze as CardSection,
|
|
2053
|
+
Ve as Checkbox,
|
|
2054
|
+
De as CheckboxGroup,
|
|
2055
|
+
Bt as Chip,
|
|
2056
|
+
Dt as Container,
|
|
2057
|
+
Gr as DatePicker,
|
|
2058
|
+
Ht as Dropdown,
|
|
2059
|
+
_e as EmptyValueRenderer,
|
|
2060
|
+
qr as FileInput,
|
|
2061
|
+
Yr as FileUpload,
|
|
2062
|
+
Ut as Flex,
|
|
2063
|
+
X as FormControlLayout,
|
|
2064
|
+
Qt as Group,
|
|
2065
|
+
Zr as HoverCard,
|
|
2066
|
+
Be as Label,
|
|
2067
|
+
Ct as Layer,
|
|
2068
|
+
Hr as Link,
|
|
2069
|
+
er as Loader,
|
|
2070
|
+
re as Menu,
|
|
2071
|
+
Kr as Modal,
|
|
2072
|
+
Ur as NumberInput,
|
|
2073
|
+
Xr as Pagination,
|
|
2074
|
+
Qr as Panel,
|
|
2075
|
+
Jr as Popover,
|
|
2076
|
+
oo as Radio,
|
|
2077
|
+
eo as RadioGroup,
|
|
2078
|
+
fr as ReadOnlyBooleanField,
|
|
2079
|
+
je as ReadOnlyField,
|
|
2080
|
+
hr as ReadOnlySwitchField,
|
|
2081
|
+
me as ReadOnlyTextField,
|
|
2082
|
+
Vr as RecursicaThemeProvider,
|
|
2083
|
+
ea as Search,
|
|
2084
|
+
oa as SegmentedControl,
|
|
2085
|
+
ta as Slider,
|
|
2086
|
+
$r as Stack,
|
|
2087
|
+
ra as Stepper,
|
|
2088
|
+
ro as Switch,
|
|
2089
|
+
to as SwitchGroup,
|
|
2090
|
+
aa as Table,
|
|
2091
|
+
sa as Tabs,
|
|
2092
|
+
Tr as Text,
|
|
2093
|
+
Rr as TextArea,
|
|
2094
|
+
Fr as TextField,
|
|
2095
|
+
na as TimePicker,
|
|
2096
|
+
la as Timeline,
|
|
2097
|
+
Er as Title,
|
|
2098
|
+
ca as Toast,
|
|
2099
|
+
ia as Tooltip,
|
|
2100
|
+
da as TransferList,
|
|
2101
|
+
ee as WithReadOnlyWrapper
|
|
1796
2102
|
};
|
|
1797
2103
|
//# sourceMappingURL=mantine-adapter.js.map
|