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