suus-component-library 0.1.36 → 0.1.37
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/dist/components/avatar/avatar.d.ts +1 -1
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/counter/counter.d.ts +1 -2
- package/dist/components/counter/counter.d.ts.map +1 -1
- package/dist/components/star-rating/star-rating.d.ts +1 -2
- package/dist/components/star-rating/star-rating.d.ts.map +1 -1
- package/dist/components/stepper-vertical/stepper-vertical.d.ts +2 -3
- package/dist/components/stepper-vertical/stepper-vertical.d.ts.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/suus-component-library.css +1 -1
- package/dist/suus-component-library.js +394 -227
- package/dist/suus-component-library.umd.cjs +3 -3
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment as e, jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
var
|
|
2
|
+
import { Children as r, cloneElement as i, createContext as a, isValidElement as o, useCallback as s, useContext as c, useEffect as l, useId as u, useMemo as d, useRef as f, useState as p } from "react";
|
|
3
|
+
var m = {
|
|
4
4
|
suusButton: "_suusButton_1ucmz_1",
|
|
5
5
|
icon: "_icon_1ucmz_45",
|
|
6
6
|
label: "_label_1ucmz_62",
|
|
@@ -13,40 +13,40 @@ var d = {
|
|
|
13
13
|
};
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/components/form/button/Button.tsx
|
|
16
|
-
function
|
|
16
|
+
function h({ label: r, onClick: i, type: a = "button", disabled: o = !1, loading: s = !1, variant: c = "primary", colorToken: l = "--color-juice-sugarcane", icon: u, ...d }) {
|
|
17
17
|
return /* @__PURE__ */ t("button", {
|
|
18
18
|
type: a,
|
|
19
19
|
onClick: i,
|
|
20
20
|
disabled: o || s,
|
|
21
21
|
style: { "--button-background-color": `var(${l})` },
|
|
22
22
|
className: [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
s ?
|
|
23
|
+
m.suusButton,
|
|
24
|
+
m[c],
|
|
25
|
+
s ? m.loading : ""
|
|
26
26
|
].filter(Boolean).join(" "),
|
|
27
27
|
"aria-busy": s,
|
|
28
|
-
...
|
|
28
|
+
...d,
|
|
29
29
|
children: s ? /* @__PURE__ */ t("span", {
|
|
30
|
-
className: `${
|
|
30
|
+
className: `${m.loader} ${c === "primary" ? "" : m.loaderSecondary}`,
|
|
31
31
|
"aria-hidden": "true"
|
|
32
32
|
}) : /* @__PURE__ */ n(e, { children: [u ? /* @__PURE__ */ t("span", {
|
|
33
|
-
className:
|
|
33
|
+
className: m.icon,
|
|
34
34
|
children: u
|
|
35
35
|
}) : null, /* @__PURE__ */ t("span", {
|
|
36
|
-
className:
|
|
36
|
+
className: m.label,
|
|
37
37
|
children: r
|
|
38
38
|
})] })
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
//#endregion
|
|
42
42
|
//#region src/components/banner-hero/banner-hero.tsx
|
|
43
|
-
var
|
|
44
|
-
function
|
|
45
|
-
let [v, y] =
|
|
43
|
+
var g = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 800'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0%25' stop-color='%23e8f3ec'/%3E%3Cstop offset='100%25' stop-color='%23d7e6dc'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1600' height='800' fill='url(%23g)'/%3E%3C/svg%3E", _ = (e) => e === "--color-juice-sugarcane" || e === "--color-juice-tamarind" || e === "--color-juice-guarana" || e === "--color-juice-icetea";
|
|
44
|
+
function v({ title: e, description: r, colorToken: i, imageBackgroundDesktop: a, imageBackgroundTablet: o, imageBackgroundMobile: s, fallbackImageSrc: c, labelButtonPrimary: l, actionButtonPrimary: u, labelButtonSecondary: d, actionButtonSecondary: f, gradientOverlay: m = !1 }) {
|
|
45
|
+
let [v, y] = p(null), b = a?.trim(), x = o?.trim(), S = s?.trim(), C = c?.trim() || g, w = [
|
|
46
46
|
b,
|
|
47
47
|
x,
|
|
48
48
|
S
|
|
49
|
-
].filter(Boolean).join("|"), T = !!b && v !== w, E =
|
|
49
|
+
].filter(Boolean).join("|"), T = !!b && v !== w, E = _(i) ? i : void 0, D = T ? [
|
|
50
50
|
S ? `${S} 900w` : "",
|
|
51
51
|
x ? `${x} 1600w` : "",
|
|
52
52
|
`${b} 2400w`
|
|
@@ -64,7 +64,7 @@ function h({ title: e, description: r, colorToken: i, imageBackgroundDesktop: a,
|
|
|
64
64
|
alt: "background",
|
|
65
65
|
onError: T ? () => y(w) : void 0
|
|
66
66
|
}),
|
|
67
|
-
|
|
67
|
+
m && /* @__PURE__ */ t("div", {
|
|
68
68
|
className: "hero__gradient-overlay",
|
|
69
69
|
"aria-hidden": "true"
|
|
70
70
|
}),
|
|
@@ -83,15 +83,15 @@ function h({ title: e, description: r, colorToken: i, imageBackgroundDesktop: a,
|
|
|
83
83
|
}),
|
|
84
84
|
/* @__PURE__ */ n("div", {
|
|
85
85
|
className: "banner-hero-buttonbar",
|
|
86
|
-
children: [l && /* @__PURE__ */ t(
|
|
86
|
+
children: [l && /* @__PURE__ */ t(h, {
|
|
87
87
|
label: l,
|
|
88
88
|
variant: "primary",
|
|
89
89
|
colorToken: E,
|
|
90
|
-
onClick:
|
|
91
|
-
}),
|
|
92
|
-
label:
|
|
90
|
+
onClick: u
|
|
91
|
+
}), d && /* @__PURE__ */ t(h, {
|
|
92
|
+
label: d,
|
|
93
93
|
variant: "secondary",
|
|
94
|
-
onClick:
|
|
94
|
+
onClick: f
|
|
95
95
|
})]
|
|
96
96
|
})
|
|
97
97
|
]
|
|
@@ -102,48 +102,48 @@ function h({ title: e, description: r, colorToken: i, imageBackgroundDesktop: a,
|
|
|
102
102
|
}
|
|
103
103
|
//#endregion
|
|
104
104
|
//#region src/components/accordion/accordion-context.ts
|
|
105
|
-
var
|
|
105
|
+
var y = a(null), b = {
|
|
106
106
|
accordion: "_accordion_h1kjy_1",
|
|
107
107
|
glassy: "_glassy_h1kjy_9"
|
|
108
108
|
};
|
|
109
109
|
//#endregion
|
|
110
110
|
//#region src/components/accordion/accordion.tsx
|
|
111
|
-
function
|
|
111
|
+
function x(e, t = !1) {
|
|
112
112
|
let n = Array.from(new Set((e ?? []).filter(Boolean)));
|
|
113
113
|
return t ? n : n.slice(0, 1);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
let [
|
|
115
|
+
function S({ children: e, variant: n = "default", allowMultipleOpen: r = !1, defaultOpenItems: i, openItems: a, onOpenItemsChange: o, className: c }) {
|
|
116
|
+
let [l, u] = p(() => x(i, r)), f = a !== void 0, m = x(f ? a : l, r), h = d(() => new Set(m), [m]), g = s((e) => {
|
|
117
117
|
let t = h.has(e), n;
|
|
118
|
-
n = t ? m.filter((t) => t !== e) : r ? [...m, e] : [e],
|
|
118
|
+
n = t ? m.filter((t) => t !== e) : r ? [...m, e] : [e], f || u(n), o?.(n);
|
|
119
119
|
}, [
|
|
120
120
|
r,
|
|
121
121
|
m,
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
f,
|
|
123
|
+
o,
|
|
124
124
|
h
|
|
125
|
-
]),
|
|
125
|
+
]), _ = d(() => ({
|
|
126
126
|
variant: n,
|
|
127
127
|
isOpen: (e) => h.has(e),
|
|
128
|
-
toggle:
|
|
128
|
+
toggle: g
|
|
129
129
|
}), [
|
|
130
130
|
h,
|
|
131
|
-
|
|
131
|
+
g,
|
|
132
132
|
n
|
|
133
133
|
]);
|
|
134
134
|
return /* @__PURE__ */ t("div", {
|
|
135
135
|
className: [
|
|
136
|
-
|
|
137
|
-
n === "glassy" ?
|
|
138
|
-
|
|
136
|
+
b.accordion,
|
|
137
|
+
n === "glassy" ? b.glassy : "",
|
|
138
|
+
c ?? ""
|
|
139
139
|
].filter(Boolean).join(" "),
|
|
140
|
-
children: /* @__PURE__ */ t(
|
|
141
|
-
value:
|
|
140
|
+
children: /* @__PURE__ */ t(y.Provider, {
|
|
141
|
+
value: _,
|
|
142
142
|
children: e
|
|
143
143
|
})
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
|
-
var
|
|
146
|
+
var C = {
|
|
147
147
|
tile: "_tile_l4lii_1",
|
|
148
148
|
tileDefault: "_tileDefault_l4lii_5",
|
|
149
149
|
tileGlassy: "_tileGlassy_l4lii_9",
|
|
@@ -160,51 +160,51 @@ var b = {
|
|
|
160
160
|
};
|
|
161
161
|
//#endregion
|
|
162
162
|
//#region src/components/accordion/components/tile-accordion.tsx
|
|
163
|
-
function
|
|
164
|
-
let h =
|
|
163
|
+
function w({ itemId: e, label: r, icon: i, children: a, variant: o, defaultOpen: s = !1, className: l, disabled: d, onClick: f, ...m }) {
|
|
164
|
+
let h = c(y), g = u(), _ = e ?? g, [v, b] = p(s), x = o ?? h?.variant ?? "default", S = h ? h.isOpen(_) : v, w = `${_}-trigger`, T = `${_}-content`;
|
|
165
165
|
function E(e) {
|
|
166
|
-
|
|
166
|
+
d || (h ? h.toggle(_) : b((e) => !e)), f?.(e);
|
|
167
167
|
}
|
|
168
168
|
return /* @__PURE__ */ n("div", {
|
|
169
169
|
className: [
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
C.tile,
|
|
171
|
+
x === "glassy" ? C.tileGlassy : C.tileDefault,
|
|
172
|
+
S ? C.tileOpen : "",
|
|
173
|
+
l ?? ""
|
|
174
174
|
].filter(Boolean).join(" "),
|
|
175
175
|
children: [/* @__PURE__ */ n("button", {
|
|
176
176
|
type: "button",
|
|
177
177
|
id: w,
|
|
178
|
-
className: [
|
|
178
|
+
className: [C.trigger, x === "glassy" ? C.triggerGlassy : C.triggerDefault].filter(Boolean).join(" "),
|
|
179
179
|
onClick: E,
|
|
180
|
-
"aria-expanded":
|
|
180
|
+
"aria-expanded": S,
|
|
181
181
|
"aria-controls": T,
|
|
182
|
-
disabled:
|
|
182
|
+
disabled: d,
|
|
183
183
|
...m,
|
|
184
184
|
children: [/* @__PURE__ */ n("span", {
|
|
185
|
-
className:
|
|
185
|
+
className: C.labelGroup,
|
|
186
186
|
children: [i ? /* @__PURE__ */ t("span", {
|
|
187
|
-
className:
|
|
187
|
+
className: C.icon,
|
|
188
188
|
children: i
|
|
189
189
|
}) : null, /* @__PURE__ */ t("span", {
|
|
190
|
-
className:
|
|
190
|
+
className: C.label,
|
|
191
191
|
children: r
|
|
192
192
|
})]
|
|
193
193
|
}), /* @__PURE__ */ t("span", {
|
|
194
|
-
className:
|
|
194
|
+
className: C.indicator,
|
|
195
195
|
"aria-hidden": "true",
|
|
196
|
-
children:
|
|
196
|
+
children: S ? "-" : "+"
|
|
197
197
|
})]
|
|
198
|
-
}),
|
|
198
|
+
}), S ? /* @__PURE__ */ t("div", {
|
|
199
199
|
id: T,
|
|
200
200
|
role: "region",
|
|
201
201
|
"aria-labelledby": w,
|
|
202
|
-
className: [
|
|
203
|
-
children:
|
|
202
|
+
className: [C.content, x === "glassy" ? C.contentGlassy : C.contentDefault].filter(Boolean).join(" "),
|
|
203
|
+
children: a
|
|
204
204
|
}) : null]
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
var
|
|
207
|
+
var T = {
|
|
208
208
|
checkboxWrapper: "_checkboxWrapper_hv63b_1",
|
|
209
209
|
checkboxInput: "_checkboxInput_hv63b_15",
|
|
210
210
|
checkboxLabel: "_checkboxLabel_hv63b_24",
|
|
@@ -219,14 +219,14 @@ var S = {
|
|
|
219
219
|
};
|
|
220
220
|
//#endregion
|
|
221
221
|
//#region src/components/form/checkbox/Checkbox.tsx
|
|
222
|
-
function
|
|
222
|
+
function E({ label: e, name: r, id: i, error: a, variant: o = "default", className: s, disabled: c, ...l }) {
|
|
223
223
|
let u = i ?? `${r}-checkbox`;
|
|
224
224
|
return /* @__PURE__ */ n("div", {
|
|
225
225
|
className: [
|
|
226
|
-
|
|
227
|
-
o === "glassy" ?
|
|
228
|
-
a ?
|
|
229
|
-
c ?
|
|
226
|
+
T.checkboxWrapper,
|
|
227
|
+
o === "glassy" ? T.checkboxWrapperGlassy : "",
|
|
228
|
+
a ? T.checkboxWrapperError : "",
|
|
229
|
+
c ? T.checkboxWrapperDisabled : "",
|
|
230
230
|
s ?? ""
|
|
231
231
|
].filter(Boolean).join(" "),
|
|
232
232
|
children: [
|
|
@@ -235,38 +235,38 @@ function C({ label: e, name: r, id: i, error: a, variant: o = "default", classNa
|
|
|
235
235
|
id: u,
|
|
236
236
|
name: r,
|
|
237
237
|
disabled: c,
|
|
238
|
-
className:
|
|
238
|
+
className: T.checkboxInput,
|
|
239
239
|
"aria-invalid": !!a,
|
|
240
240
|
"aria-describedby": `${r}-error`,
|
|
241
241
|
...l
|
|
242
242
|
}),
|
|
243
243
|
/* @__PURE__ */ n("label", {
|
|
244
244
|
htmlFor: u,
|
|
245
|
-
className:
|
|
245
|
+
className: T.checkboxLabel,
|
|
246
246
|
children: [/* @__PURE__ */ t("span", {
|
|
247
|
-
className:
|
|
247
|
+
className: T.customCheckbox,
|
|
248
248
|
"aria-hidden": "true",
|
|
249
249
|
children: /* @__PURE__ */ t("svg", {
|
|
250
|
-
className:
|
|
250
|
+
className: T.checkIcon,
|
|
251
251
|
viewBox: "0 0 24 24",
|
|
252
252
|
focusable: "false",
|
|
253
253
|
"aria-hidden": "true",
|
|
254
254
|
children: /* @__PURE__ */ t("path", { d: "M20 6L9 17L4 12" })
|
|
255
255
|
})
|
|
256
256
|
}), /* @__PURE__ */ t("span", {
|
|
257
|
-
className:
|
|
257
|
+
className: T.checkboxText,
|
|
258
258
|
children: e
|
|
259
259
|
})]
|
|
260
260
|
}),
|
|
261
261
|
/* @__PURE__ */ t("span", {
|
|
262
262
|
id: `${r}-error`,
|
|
263
|
-
className: [
|
|
263
|
+
className: [T.errorMessage, a ? "" : T.errorMessageHidden].filter(Boolean).join(" "),
|
|
264
264
|
children: a || "\xA0"
|
|
265
265
|
})
|
|
266
266
|
]
|
|
267
267
|
});
|
|
268
268
|
}
|
|
269
|
-
var
|
|
269
|
+
var D = {
|
|
270
270
|
chip: "_chip_1po0g_1",
|
|
271
271
|
chipDefault: "_chipDefault_1po0g_21",
|
|
272
272
|
chipGlassy: "_chipGlassy_1po0g_36",
|
|
@@ -275,19 +275,19 @@ var w = {
|
|
|
275
275
|
};
|
|
276
276
|
//#endregion
|
|
277
277
|
//#region src/components/form/chip/Chip.tsx
|
|
278
|
-
function
|
|
279
|
-
let [l,
|
|
278
|
+
function O({ children: e, variant: n = "default", clickable: r = !0, checked: i, defaultChecked: a = !1, onCheckedChange: o, className: s, ...c }) {
|
|
279
|
+
let [l, u] = p(a), d = typeof i == "boolean", f = d ? i : l;
|
|
280
280
|
function m(e) {
|
|
281
281
|
if (!r) return;
|
|
282
|
-
let t = !
|
|
283
|
-
|
|
282
|
+
let t = !f;
|
|
283
|
+
d || u(t), o?.(t), c.onClick?.(e);
|
|
284
284
|
}
|
|
285
|
-
let h = n === "glassy" ?
|
|
285
|
+
let h = n === "glassy" ? D.chipGlassy : D.chipDefault, g = f ? D.chipChecked : "", _ = r ? "" : D.chipDisabled;
|
|
286
286
|
return r ? /* @__PURE__ */ t("button", {
|
|
287
287
|
type: "button",
|
|
288
|
-
"aria-pressed":
|
|
288
|
+
"aria-pressed": f,
|
|
289
289
|
className: [
|
|
290
|
-
|
|
290
|
+
D.chip,
|
|
291
291
|
h,
|
|
292
292
|
g,
|
|
293
293
|
s ?? ""
|
|
@@ -297,7 +297,7 @@ function T({ children: e, variant: n = "default", clickable: r = !0, checked: i,
|
|
|
297
297
|
children: e
|
|
298
298
|
}) : /* @__PURE__ */ t("span", {
|
|
299
299
|
className: [
|
|
300
|
-
|
|
300
|
+
D.chip,
|
|
301
301
|
h,
|
|
302
302
|
g,
|
|
303
303
|
_,
|
|
@@ -306,7 +306,7 @@ function T({ children: e, variant: n = "default", clickable: r = !0, checked: i,
|
|
|
306
306
|
children: e
|
|
307
307
|
});
|
|
308
308
|
}
|
|
309
|
-
var
|
|
309
|
+
var k = {
|
|
310
310
|
dateInputWrapper: "_dateInputWrapper_liktj_1",
|
|
311
311
|
inputDateField: "_inputDateField_liktj_6",
|
|
312
312
|
inputDateFieldGlassy: "_inputDateFieldGlassy_liktj_38",
|
|
@@ -318,10 +318,10 @@ var E = {
|
|
|
318
318
|
};
|
|
319
319
|
//#endregion
|
|
320
320
|
//#region src/components/form/date-picker/DatePicker.tsx
|
|
321
|
-
function
|
|
322
|
-
let _ = i ?? r, v =
|
|
321
|
+
function A({ label: e, name: r, id: i, value: a = null, maxDate: o, minDate: s, error: c, variant: l = "default", className: u, ref: d, onDateChange: p, onBlur: m, disabled: h, ...g }) {
|
|
322
|
+
let _ = i ?? r, v = f(null), y = o ?? /* @__PURE__ */ new Date();
|
|
323
323
|
function b(e) {
|
|
324
|
-
v.current = e, typeof
|
|
324
|
+
v.current = e, typeof d == "function" ? d(e) : d && (d.current = e);
|
|
325
325
|
}
|
|
326
326
|
function x(e) {
|
|
327
327
|
let t = e.target.value;
|
|
@@ -329,7 +329,7 @@ function D({ label: e, name: r, id: i, value: a = null, maxDate: o, minDate: s,
|
|
|
329
329
|
p?.(null);
|
|
330
330
|
return;
|
|
331
331
|
}
|
|
332
|
-
p?.(
|
|
332
|
+
p?.(M(t));
|
|
333
333
|
}
|
|
334
334
|
function S() {
|
|
335
335
|
h || (v.current?.showPicker?.(), v.current?.focus());
|
|
@@ -339,59 +339,59 @@ function D({ label: e, name: r, id: i, value: a = null, maxDate: o, minDate: s,
|
|
|
339
339
|
children: [
|
|
340
340
|
/* @__PURE__ */ t("label", {
|
|
341
341
|
htmlFor: _,
|
|
342
|
-
className: ["inputLabel",
|
|
342
|
+
className: ["inputLabel", l === "glassy" ? "inputLabelGlassy" : ""].filter(Boolean).join(" "),
|
|
343
343
|
children: e
|
|
344
344
|
}),
|
|
345
345
|
/* @__PURE__ */ n("div", {
|
|
346
|
-
className:
|
|
346
|
+
className: k.dateInputWrapper,
|
|
347
347
|
children: [/* @__PURE__ */ t("input", {
|
|
348
348
|
id: _,
|
|
349
349
|
name: r,
|
|
350
350
|
ref: b,
|
|
351
351
|
type: "date",
|
|
352
|
-
value:
|
|
353
|
-
max:
|
|
354
|
-
min: s ?
|
|
352
|
+
value: j(a),
|
|
353
|
+
max: j(y),
|
|
354
|
+
min: s ? j(s) : void 0,
|
|
355
355
|
disabled: h,
|
|
356
356
|
onChange: x,
|
|
357
357
|
onBlur: m,
|
|
358
358
|
className: [
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
c ?
|
|
362
|
-
|
|
359
|
+
k.inputDateField,
|
|
360
|
+
l === "glassy" ? k.inputDateFieldGlassy : "",
|
|
361
|
+
c ? k.inputError : "",
|
|
362
|
+
u ?? ""
|
|
363
363
|
].filter(Boolean).join(" "),
|
|
364
364
|
"aria-invalid": !!c,
|
|
365
365
|
"aria-describedby": `${r}-error`,
|
|
366
366
|
...g
|
|
367
367
|
}), /* @__PURE__ */ t("button", {
|
|
368
368
|
type: "button",
|
|
369
|
-
className:
|
|
369
|
+
className: k.calendarIconButton,
|
|
370
370
|
onClick: S,
|
|
371
371
|
disabled: h,
|
|
372
372
|
"aria-label": "Datum auswählen",
|
|
373
373
|
tabIndex: -1,
|
|
374
|
-
children: /* @__PURE__ */ t(
|
|
374
|
+
children: /* @__PURE__ */ t(N, {})
|
|
375
375
|
})]
|
|
376
376
|
}),
|
|
377
377
|
/* @__PURE__ */ t("span", {
|
|
378
378
|
id: `${r}-error`,
|
|
379
|
-
className: [
|
|
379
|
+
className: [k.errorMessage, c ? "" : k.errorMessageHidden].filter(Boolean).join(" "),
|
|
380
380
|
children: c || "\xA0"
|
|
381
381
|
})
|
|
382
382
|
]
|
|
383
383
|
});
|
|
384
384
|
}
|
|
385
|
-
function
|
|
385
|
+
function j(e) {
|
|
386
386
|
return e ? `${e.getFullYear()}-${String(e.getMonth() + 1).padStart(2, "0")}-${String(e.getDate()).padStart(2, "0")}` : "";
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function M(e) {
|
|
389
389
|
let [t, n, r] = e.split("-").map(Number);
|
|
390
390
|
return new Date(t, n - 1, r);
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function N() {
|
|
393
393
|
return /* @__PURE__ */ n("svg", {
|
|
394
|
-
className:
|
|
394
|
+
className: k.icon,
|
|
395
395
|
xmlns: "http://www.w3.org/2000/svg",
|
|
396
396
|
viewBox: "0 0 24 24",
|
|
397
397
|
fill: "none",
|
|
@@ -404,7 +404,7 @@ function A() {
|
|
|
404
404
|
]
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
|
-
var
|
|
407
|
+
var P = {
|
|
408
408
|
inputSelectField: "_inputSelectField_1505j_1",
|
|
409
409
|
inputSelectFieldGlassy: "_inputSelectFieldGlassy_1505j_12",
|
|
410
410
|
inputError: "_inputError_1505j_24",
|
|
@@ -413,7 +413,7 @@ var j = {
|
|
|
413
413
|
};
|
|
414
414
|
//#endregion
|
|
415
415
|
//#region src/components/form/dropdown/Dropdown.tsx
|
|
416
|
-
function
|
|
416
|
+
function F({ label: e, name: r, options: i, placeholder: a, error: o, variant: s = "default", className: c, disabled: l, ...u }) {
|
|
417
417
|
return /* @__PURE__ */ n("div", {
|
|
418
418
|
className: "inputBlockVertical",
|
|
419
419
|
children: [
|
|
@@ -427,9 +427,9 @@ function M({ label: e, name: r, options: i, placeholder: a, error: o, variant: s
|
|
|
427
427
|
name: r,
|
|
428
428
|
disabled: l,
|
|
429
429
|
className: [
|
|
430
|
-
|
|
431
|
-
s === "glassy" ?
|
|
432
|
-
o ?
|
|
430
|
+
P.inputSelectField,
|
|
431
|
+
s === "glassy" ? P.inputSelectFieldGlassy : "",
|
|
432
|
+
o ? P.inputError : "",
|
|
433
433
|
c ?? ""
|
|
434
434
|
].filter(Boolean).join(" "),
|
|
435
435
|
"aria-invalid": !!o,
|
|
@@ -446,13 +446,13 @@ function M({ label: e, name: r, options: i, placeholder: a, error: o, variant: s
|
|
|
446
446
|
}),
|
|
447
447
|
/* @__PURE__ */ t("span", {
|
|
448
448
|
id: `${r}-error`,
|
|
449
|
-
className: [
|
|
449
|
+
className: [P.errorMessage, o ? "" : P.errorMessageHidden].filter(Boolean).join(" "),
|
|
450
450
|
children: o || "\xA0"
|
|
451
451
|
})
|
|
452
452
|
]
|
|
453
453
|
});
|
|
454
454
|
}
|
|
455
|
-
var
|
|
455
|
+
var I = {
|
|
456
456
|
appLink: "_appLink_o2z21_1",
|
|
457
457
|
appLinkDefault: "_appLinkDefault_o2z21_19",
|
|
458
458
|
appLinkGlassy: "_appLinkGlassy_o2z21_30",
|
|
@@ -463,7 +463,7 @@ var N = {
|
|
|
463
463
|
};
|
|
464
464
|
//#endregion
|
|
465
465
|
//#region src/components/form/link/Link.tsx
|
|
466
|
-
function
|
|
466
|
+
function L({ children: e, href: r, onClick: i, newTab: a = !1, showArrow: o = !0, arrowPosition: s = "right", variant: c = "default", className: l, ...u }) {
|
|
467
467
|
function d(e) {
|
|
468
468
|
r || e.preventDefault(), i?.(e);
|
|
469
469
|
}
|
|
@@ -473,32 +473,32 @@ function P({ children: e, href: r, onClick: i, newTab: a = !1, showArrow: o = !0
|
|
|
473
473
|
target: r && a ? "_blank" : void 0,
|
|
474
474
|
rel: r && a ? "noopener noreferrer" : void 0,
|
|
475
475
|
className: [
|
|
476
|
-
|
|
477
|
-
c === "glassy" ?
|
|
476
|
+
I.appLink,
|
|
477
|
+
c === "glassy" ? I.appLinkGlassy : I.appLinkDefault,
|
|
478
478
|
l ?? ""
|
|
479
479
|
].filter(Boolean).join(" "),
|
|
480
480
|
...u,
|
|
481
481
|
children: [
|
|
482
482
|
o && s === "left" && /* @__PURE__ */ t("span", {
|
|
483
|
-
className: [
|
|
483
|
+
className: [I.icon, I.iconLeft].join(" "),
|
|
484
484
|
"aria-hidden": "true",
|
|
485
|
-
children: /* @__PURE__ */ t(
|
|
485
|
+
children: /* @__PURE__ */ t(z, {})
|
|
486
486
|
}),
|
|
487
487
|
/* @__PURE__ */ t("span", {
|
|
488
|
-
className:
|
|
488
|
+
className: I.label,
|
|
489
489
|
children: e
|
|
490
490
|
}),
|
|
491
491
|
o && s === "right" && /* @__PURE__ */ t("span", {
|
|
492
|
-
className:
|
|
492
|
+
className: I.icon,
|
|
493
493
|
"aria-hidden": "true",
|
|
494
|
-
children: /* @__PURE__ */ t(
|
|
494
|
+
children: /* @__PURE__ */ t(R, {})
|
|
495
495
|
})
|
|
496
496
|
]
|
|
497
497
|
});
|
|
498
498
|
}
|
|
499
|
-
function
|
|
499
|
+
function R() {
|
|
500
500
|
return /* @__PURE__ */ n("svg", {
|
|
501
|
-
className:
|
|
501
|
+
className: I.arrowIcon,
|
|
502
502
|
xmlns: "http://www.w3.org/2000/svg",
|
|
503
503
|
viewBox: "0 0 24 24",
|
|
504
504
|
fill: "none",
|
|
@@ -506,9 +506,9 @@ function F() {
|
|
|
506
506
|
children: [/* @__PURE__ */ t("path", { d: "M5 12H19" }), /* @__PURE__ */ t("path", { d: "M13 6L19 12L13 18" })]
|
|
507
507
|
});
|
|
508
508
|
}
|
|
509
|
-
function
|
|
509
|
+
function z() {
|
|
510
510
|
return /* @__PURE__ */ n("svg", {
|
|
511
|
-
className:
|
|
511
|
+
className: I.arrowIcon,
|
|
512
512
|
xmlns: "http://www.w3.org/2000/svg",
|
|
513
513
|
viewBox: "0 0 24 24",
|
|
514
514
|
fill: "none",
|
|
@@ -516,7 +516,7 @@ function I() {
|
|
|
516
516
|
children: [/* @__PURE__ */ t("path", { d: "M19 12H5" }), /* @__PURE__ */ t("path", { d: "M11 6L5 12L11 18" })]
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
var
|
|
519
|
+
var B = {
|
|
520
520
|
iconButton: "_iconButton_14rp3_1",
|
|
521
521
|
withFrame: "_withFrame_14rp3_17",
|
|
522
522
|
withoutFrame: "_withoutFrame_14rp3_24",
|
|
@@ -529,7 +529,7 @@ var L = {
|
|
|
529
529
|
};
|
|
530
530
|
//#endregion
|
|
531
531
|
//#region src/components/form/icon-button/IconButton.tsx
|
|
532
|
-
function
|
|
532
|
+
function V({ label: e, icon: n, variant: r = "default", frame: i = !0, active: a = !1, size: o = "default", className: s, type: c = "button", disabled: l, ...u }) {
|
|
533
533
|
return /* @__PURE__ */ t("button", {
|
|
534
534
|
type: c,
|
|
535
535
|
"aria-label": e,
|
|
@@ -537,45 +537,45 @@ function R({ label: e, icon: n, variant: r = "default", frame: i = !0, active: a
|
|
|
537
537
|
"aria-pressed": a,
|
|
538
538
|
disabled: l,
|
|
539
539
|
className: [
|
|
540
|
-
|
|
541
|
-
i ?
|
|
542
|
-
r === "glassy" ?
|
|
543
|
-
a ?
|
|
544
|
-
o === "small" ?
|
|
545
|
-
o === "large" ?
|
|
540
|
+
B.iconButton,
|
|
541
|
+
i ? B.withFrame : B.withoutFrame,
|
|
542
|
+
r === "glassy" ? B.glassy : "",
|
|
543
|
+
a ? B.active : "",
|
|
544
|
+
o === "small" ? B.small : "",
|
|
545
|
+
o === "large" ? B.large : "",
|
|
546
546
|
s ?? ""
|
|
547
547
|
].filter(Boolean).join(" "),
|
|
548
548
|
...u,
|
|
549
549
|
children: /* @__PURE__ */ t("span", {
|
|
550
|
-
className:
|
|
550
|
+
className: B.icon,
|
|
551
551
|
"aria-hidden": "true",
|
|
552
552
|
children: n
|
|
553
553
|
})
|
|
554
554
|
});
|
|
555
555
|
}
|
|
556
|
-
var
|
|
556
|
+
var H = {
|
|
557
557
|
icon: "_icon_1pk0b_1",
|
|
558
558
|
badge: "_badge_1pk0b_6",
|
|
559
559
|
badgeLarge: "_badgeLarge_1pk0b_25"
|
|
560
560
|
};
|
|
561
561
|
//#endregion
|
|
562
562
|
//#region src/components/icon/icon.tsx
|
|
563
|
-
function
|
|
563
|
+
function U({ icon: e, badgeCount: r, size: i = 32, badgeColor: a = "green" }) {
|
|
564
564
|
let o = i >= 48, s = r !== void 0 && r > 99 ? "99+" : r;
|
|
565
565
|
return /* @__PURE__ */ n("div", {
|
|
566
|
-
className: `relative inline-block ${
|
|
566
|
+
className: `relative inline-block ${H.icon}`,
|
|
567
567
|
style: {
|
|
568
568
|
width: i,
|
|
569
569
|
height: i
|
|
570
570
|
},
|
|
571
571
|
children: [e, r !== void 0 && r > 0 && /* @__PURE__ */ t("span", {
|
|
572
|
-
className: `${
|
|
572
|
+
className: `${H.badge} ${o ? H.badgeLarge : ""}`,
|
|
573
573
|
style: { backgroundColor: a },
|
|
574
574
|
children: s
|
|
575
575
|
})]
|
|
576
576
|
});
|
|
577
577
|
}
|
|
578
|
-
var
|
|
578
|
+
var W = {
|
|
579
579
|
passwordInputWrapper: "_passwordInputWrapper_1ris8_1",
|
|
580
580
|
inputTextField: "_inputTextField_1ris8_6",
|
|
581
581
|
inputTextFieldGlassy: "_inputTextFieldGlassy_1ris8_18",
|
|
@@ -587,8 +587,8 @@ var V = {
|
|
|
587
587
|
};
|
|
588
588
|
//#endregion
|
|
589
589
|
//#region src/components/form/password/Password.tsx
|
|
590
|
-
function
|
|
591
|
-
let [
|
|
590
|
+
function G({ label: e, name: r, id: i, error: a, variant: o = "default", className: s, disabled: c, ref: l, autoComplete: u = "current-password", ...d }) {
|
|
591
|
+
let [f, m] = p(!1), h = i ?? r;
|
|
592
592
|
function g() {
|
|
593
593
|
m((e) => !e);
|
|
594
594
|
}
|
|
@@ -601,44 +601,44 @@ function H({ label: e, name: r, id: i, error: a, variant: o = "default", classNa
|
|
|
601
601
|
children: e
|
|
602
602
|
}),
|
|
603
603
|
/* @__PURE__ */ n("div", {
|
|
604
|
-
className:
|
|
604
|
+
className: W.passwordInputWrapper,
|
|
605
605
|
children: [/* @__PURE__ */ t("input", {
|
|
606
606
|
id: h,
|
|
607
607
|
name: r,
|
|
608
608
|
ref: l,
|
|
609
|
-
type:
|
|
609
|
+
type: f ? "text" : "password",
|
|
610
610
|
disabled: c,
|
|
611
|
-
autoComplete:
|
|
611
|
+
autoComplete: u,
|
|
612
612
|
className: [
|
|
613
|
-
|
|
614
|
-
o === "glassy" ?
|
|
615
|
-
a ?
|
|
613
|
+
W.inputTextField,
|
|
614
|
+
o === "glassy" ? W.inputTextFieldGlassy : "",
|
|
615
|
+
a ? W.inputError : "",
|
|
616
616
|
s ?? ""
|
|
617
617
|
].filter(Boolean).join(" "),
|
|
618
618
|
"aria-invalid": !!a,
|
|
619
619
|
"aria-describedby": `${r}-error`,
|
|
620
|
-
...
|
|
620
|
+
...d
|
|
621
621
|
}), /* @__PURE__ */ t("button", {
|
|
622
622
|
type: "button",
|
|
623
|
-
className:
|
|
623
|
+
className: W.togglePasswordButton,
|
|
624
624
|
onClick: g,
|
|
625
625
|
disabled: c,
|
|
626
|
-
"aria-label":
|
|
627
|
-
"aria-pressed":
|
|
628
|
-
children: t(
|
|
626
|
+
"aria-label": f ? "Passwort ausblenden" : "Passwort anzeigen",
|
|
627
|
+
"aria-pressed": f,
|
|
628
|
+
children: t(f ? te : ee, {})
|
|
629
629
|
})]
|
|
630
630
|
}),
|
|
631
631
|
/* @__PURE__ */ t("span", {
|
|
632
632
|
id: `${r}-error`,
|
|
633
|
-
className: [
|
|
633
|
+
className: [W.errorMessage, a ? "" : W.errorMessageHidden].filter(Boolean).join(" "),
|
|
634
634
|
children: a || "\xA0"
|
|
635
635
|
})
|
|
636
636
|
]
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function ee() {
|
|
640
640
|
return /* @__PURE__ */ n("svg", {
|
|
641
|
-
className:
|
|
641
|
+
className: W.icon,
|
|
642
642
|
xmlns: "http://www.w3.org/2000/svg",
|
|
643
643
|
viewBox: "0 0 24 24",
|
|
644
644
|
fill: "none",
|
|
@@ -650,9 +650,9 @@ function U() {
|
|
|
650
650
|
})]
|
|
651
651
|
});
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function te() {
|
|
654
654
|
return /* @__PURE__ */ t("svg", {
|
|
655
|
-
className:
|
|
655
|
+
className: W.icon,
|
|
656
656
|
xmlns: "http://www.w3.org/2000/svg",
|
|
657
657
|
viewBox: "0 0 24 24",
|
|
658
658
|
fill: "none",
|
|
@@ -660,7 +660,7 @@ function W() {
|
|
|
660
660
|
children: /* @__PURE__ */ t("path", { d: "M17.94 17.94A10.94 10.94 0 0 1 12 20C7 20 2.73 16.11 1 12c.74-1.64 1.82-3.06 3.11-4.24m3.52-2.42A10.94 10.94 0 0 1 12 4c5 0 9.27 3.89 11 8-1.1 2.42-2.91 4.5-5.06 5.94M1 1l22 22" })
|
|
661
661
|
});
|
|
662
662
|
}
|
|
663
|
-
var
|
|
663
|
+
var K = {
|
|
664
664
|
inputWrapper: "_inputWrapper_1qpua_1",
|
|
665
665
|
inputTextField: "_inputTextField_1qpua_6",
|
|
666
666
|
inputTextFieldGlassy: "_inputTextFieldGlassy_1qpua_18",
|
|
@@ -676,9 +676,9 @@ var G = {
|
|
|
676
676
|
};
|
|
677
677
|
//#endregion
|
|
678
678
|
//#region src/components/form/postal-code/PostalCode.tsx
|
|
679
|
-
function
|
|
680
|
-
let b =
|
|
681
|
-
A && w.trim().length >= 4 && E.length,
|
|
679
|
+
function ne({ label: e, name: r, id: i, error: a, variant: o = "default", className: s, disabled: c, placeholder: d = "z.B. 8001 oder Zürich", ref: m, onChange: h, onBlur: g, onValueChange: _, onSuggestionSelect: v, ...y }) {
|
|
680
|
+
let b = u(), x = i ?? `${r}-${b}`, S = f(null), C = f(!1), [w, T] = p(""), [E, D] = p([]), [O, k] = p(!1), [A, j] = p(!1), M = w.trim().match(/^(\d+)\s+(.+)$/), N = !!M, P = M?.[1], F = M?.[2], I = N && E.some((e) => e.postalCode === P && e.locality === F), L = /^\d+$/.test(w.trim()), R = w.trim().length >= 4 && L && !O, z = R && E.some((e) => e.postalCode === w.trim()), B = R && !z, V = a ?? (B ? "Diese Schweizer Postleitzahl wurde nicht gefunden." : void 0);
|
|
681
|
+
A && w.trim().length >= 4 && E.length, l(() => {
|
|
682
682
|
let e = w.trim();
|
|
683
683
|
if (e.length < 2) {
|
|
684
684
|
D([]), j(!1);
|
|
@@ -730,11 +730,11 @@ function K({ label: e, name: r, id: i, error: a, variant: c = "default", classNa
|
|
|
730
730
|
children: [
|
|
731
731
|
/* @__PURE__ */ t("label", {
|
|
732
732
|
htmlFor: x,
|
|
733
|
-
className: ["inputLabel",
|
|
733
|
+
className: ["inputLabel", o === "glassy" ? "inputLabelGlassy" : ""].filter(Boolean).join(" "),
|
|
734
734
|
children: e
|
|
735
735
|
}),
|
|
736
736
|
/* @__PURE__ */ n("div", {
|
|
737
|
-
className:
|
|
737
|
+
className: K.inputWrapper,
|
|
738
738
|
children: [
|
|
739
739
|
/* @__PURE__ */ t("input", {
|
|
740
740
|
id: x,
|
|
@@ -743,56 +743,56 @@ function K({ label: e, name: r, id: i, error: a, variant: c = "default", classNa
|
|
|
743
743
|
type: "text",
|
|
744
744
|
inputMode: "search",
|
|
745
745
|
autoComplete: "postal-code",
|
|
746
|
-
disabled:
|
|
747
|
-
placeholder:
|
|
746
|
+
disabled: c,
|
|
747
|
+
placeholder: d,
|
|
748
748
|
value: w,
|
|
749
749
|
onChange: U,
|
|
750
750
|
onBlur: g,
|
|
751
751
|
className: [
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
z || I ?
|
|
755
|
-
B || a ?
|
|
756
|
-
|
|
752
|
+
K.inputTextField,
|
|
753
|
+
o === "glassy" ? K.inputTextFieldGlassy : "",
|
|
754
|
+
z || I ? K.inputValid : "",
|
|
755
|
+
B || a ? K.inputError : "",
|
|
756
|
+
s ?? ""
|
|
757
757
|
].filter(Boolean).join(" "),
|
|
758
758
|
"aria-invalid": !!V,
|
|
759
759
|
"aria-describedby": `${r}-error`,
|
|
760
760
|
...y
|
|
761
761
|
}),
|
|
762
762
|
O && /* @__PURE__ */ t("span", {
|
|
763
|
-
className:
|
|
763
|
+
className: K.loading,
|
|
764
764
|
children: "Lädt…"
|
|
765
765
|
}),
|
|
766
766
|
E.length > 0 && /* @__PURE__ */ t("ul", {
|
|
767
|
-
className:
|
|
767
|
+
className: K.suggestionList,
|
|
768
768
|
children: E.map((e) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ n("button", {
|
|
769
769
|
type: "button",
|
|
770
|
-
className:
|
|
770
|
+
className: K.suggestionItem,
|
|
771
771
|
onMouseDown: (e) => e.preventDefault(),
|
|
772
772
|
onClick: () => W(e),
|
|
773
773
|
children: [/* @__PURE__ */ t("span", { children: e.postalCode }), /* @__PURE__ */ t("span", {
|
|
774
|
-
className:
|
|
774
|
+
className: K.locality,
|
|
775
775
|
children: e.locality
|
|
776
776
|
})]
|
|
777
777
|
}) }, e.label))
|
|
778
778
|
}),
|
|
779
779
|
A && w.trim().length >= 2 && E.length === 0 && !O && !I && !B && /* @__PURE__ */ t("div", {
|
|
780
|
-
className:
|
|
780
|
+
className: K.emptyState,
|
|
781
781
|
children: "Keine Schweizer PLZ oder Ortschaft gefunden."
|
|
782
782
|
})
|
|
783
783
|
]
|
|
784
784
|
}),
|
|
785
785
|
z && /* @__PURE__ */ t("span", {
|
|
786
|
-
className:
|
|
786
|
+
className: K.successMessage,
|
|
787
787
|
children: "Gültige Schweizer Postleitzahl"
|
|
788
788
|
}),
|
|
789
789
|
I && /* @__PURE__ */ t("span", {
|
|
790
|
-
className:
|
|
790
|
+
className: K.successMessage,
|
|
791
791
|
children: "Gültige Schweizer Postleitzahl"
|
|
792
792
|
}),
|
|
793
793
|
/* @__PURE__ */ t("span", {
|
|
794
794
|
id: `${r}-error`,
|
|
795
|
-
className: [
|
|
795
|
+
className: [K.errorMessage, V ? "" : K.errorMessageHidden].filter(Boolean).join(" "),
|
|
796
796
|
children: V || "\xA0"
|
|
797
797
|
})
|
|
798
798
|
]
|
|
@@ -815,7 +815,7 @@ var q = {
|
|
|
815
815
|
};
|
|
816
816
|
//#endregion
|
|
817
817
|
//#region src/components/form/radiobutton/RadioButton.tsx
|
|
818
|
-
function
|
|
818
|
+
function re({ label: e, name: r, options: i, error: a, variant: o = "default", disabled: s, value: c, defaultValue: l, onChange: u, ...d }) {
|
|
819
819
|
let f = c !== void 0;
|
|
820
820
|
return /* @__PURE__ */ t("div", {
|
|
821
821
|
className: "inputBlockVertical",
|
|
@@ -870,7 +870,7 @@ function J({ label: e, name: r, options: i, error: a, variant: o = "default", di
|
|
|
870
870
|
})
|
|
871
871
|
});
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var J = {
|
|
874
874
|
switchWrapper: "_switchWrapper_1dr6p_1",
|
|
875
875
|
switchCheckbox: "_switchCheckbox_1dr6p_5",
|
|
876
876
|
switchLabel: "_switchLabel_1dr6p_13",
|
|
@@ -888,54 +888,54 @@ var Y = {
|
|
|
888
888
|
};
|
|
889
889
|
//#endregion
|
|
890
890
|
//#region src/components/form/switch/Switch.tsx
|
|
891
|
-
function
|
|
891
|
+
function ie({ name: e, id: r, label: i, error: a, variant: o = "default", className: s, disabled: c, ...l }) {
|
|
892
892
|
let u = r ?? `${e}-switch`;
|
|
893
893
|
return /* @__PURE__ */ t("div", {
|
|
894
894
|
className: "inputBlockHorizontal",
|
|
895
895
|
children: /* @__PURE__ */ n("div", {
|
|
896
|
-
className: [
|
|
896
|
+
className: [J.switchWrapper, s ?? ""].filter(Boolean).join(" "),
|
|
897
897
|
children: [
|
|
898
898
|
/* @__PURE__ */ t("input", {
|
|
899
899
|
id: u,
|
|
900
900
|
name: e,
|
|
901
901
|
type: "checkbox",
|
|
902
902
|
disabled: c,
|
|
903
|
-
className:
|
|
903
|
+
className: J.switchCheckbox,
|
|
904
904
|
"aria-invalid": !!a,
|
|
905
905
|
"aria-describedby": `${e}-error`,
|
|
906
906
|
...l
|
|
907
907
|
}),
|
|
908
908
|
/* @__PURE__ */ n("label", {
|
|
909
909
|
htmlFor: u,
|
|
910
|
-
className: [
|
|
910
|
+
className: [J.switchLabel, o === "glassy" ? J.switchLabelGlassy : J.switchLabelDefault].filter(Boolean).join(" "),
|
|
911
911
|
children: [i && /* @__PURE__ */ t("span", {
|
|
912
|
-
className:
|
|
912
|
+
className: J.switchText,
|
|
913
913
|
children: i
|
|
914
914
|
}), /* @__PURE__ */ t("span", {
|
|
915
|
-
className: [
|
|
915
|
+
className: [J.switchBackground, o === "glassy" ? J.switchBackgroundGlassy : J.switchBackgroundDefault].filter(Boolean).join(" "),
|
|
916
916
|
children: /* @__PURE__ */ n("span", {
|
|
917
|
-
className:
|
|
917
|
+
className: J.switchButton,
|
|
918
918
|
"aria-hidden": "true",
|
|
919
919
|
children: [/* @__PURE__ */ t("span", {
|
|
920
|
-
className:
|
|
921
|
-
children: /* @__PURE__ */ t(
|
|
920
|
+
className: J.iconChecked,
|
|
921
|
+
children: /* @__PURE__ */ t(ae, {})
|
|
922
922
|
}), /* @__PURE__ */ t("span", {
|
|
923
|
-
className:
|
|
924
|
-
children: /* @__PURE__ */ t(
|
|
923
|
+
className: J.iconUnchecked,
|
|
924
|
+
children: /* @__PURE__ */ t(oe, {})
|
|
925
925
|
})]
|
|
926
926
|
})
|
|
927
927
|
})]
|
|
928
928
|
}),
|
|
929
929
|
/* @__PURE__ */ t("span", {
|
|
930
930
|
id: `${e}-error`,
|
|
931
|
-
className: [
|
|
931
|
+
className: [J.errorMessage, a ? "" : J.errorMessageHidden].filter(Boolean).join(" "),
|
|
932
932
|
children: a || "\xA0"
|
|
933
933
|
})
|
|
934
934
|
]
|
|
935
935
|
})
|
|
936
936
|
});
|
|
937
937
|
}
|
|
938
|
-
function
|
|
938
|
+
function ae() {
|
|
939
939
|
return /* @__PURE__ */ t("svg", {
|
|
940
940
|
width: "16",
|
|
941
941
|
height: "16",
|
|
@@ -951,7 +951,7 @@ function ee() {
|
|
|
951
951
|
})
|
|
952
952
|
});
|
|
953
953
|
}
|
|
954
|
-
function
|
|
954
|
+
function oe() {
|
|
955
955
|
return /* @__PURE__ */ t("svg", {
|
|
956
956
|
width: "16",
|
|
957
957
|
height: "16",
|
|
@@ -966,7 +966,7 @@ function te() {
|
|
|
966
966
|
})
|
|
967
967
|
});
|
|
968
968
|
}
|
|
969
|
-
var
|
|
969
|
+
var Y = {
|
|
970
970
|
snackbar: "_snackbar_o1awg_1",
|
|
971
971
|
"snackbar--success": "_snackbar--success_o1awg_13",
|
|
972
972
|
"snackbar--info": "_snackbar--info_o1awg_17",
|
|
@@ -975,8 +975,8 @@ var Z = {
|
|
|
975
975
|
};
|
|
976
976
|
//#endregion
|
|
977
977
|
//#region src/components/snackbar/snackbar.tsx
|
|
978
|
-
function
|
|
979
|
-
return
|
|
978
|
+
function se({ message: e, isOpen: n, onClose: r, duration: i = 5e3, type: a = "info" }) {
|
|
979
|
+
return l(() => {
|
|
980
980
|
if (n) {
|
|
981
981
|
let e = setTimeout(() => {
|
|
982
982
|
r();
|
|
@@ -988,11 +988,11 @@ function ne({ message: e, isOpen: n, onClose: r, duration: i = 5e3, type: a = "i
|
|
|
988
988
|
i,
|
|
989
989
|
r
|
|
990
990
|
]), n ? /* @__PURE__ */ t("div", {
|
|
991
|
-
className: `${
|
|
991
|
+
className: `${Y.snackbar} ${Y[`snackbar--${a}`]}`,
|
|
992
992
|
children: e
|
|
993
993
|
}) : null;
|
|
994
994
|
}
|
|
995
|
-
var
|
|
995
|
+
var X = {
|
|
996
996
|
inputLabel: "_inputLabel_1hmxe_1",
|
|
997
997
|
inputTextField: "_inputTextField_1hmxe_5",
|
|
998
998
|
inputTextFieldGlassy: "_inputTextFieldGlassy_1hmxe_22",
|
|
@@ -1002,13 +1002,13 @@ var Q = {
|
|
|
1002
1002
|
};
|
|
1003
1003
|
//#endregion
|
|
1004
1004
|
//#region src/components/form/textfield/TextField.tsx
|
|
1005
|
-
function
|
|
1005
|
+
function ce({ label: e, name: r, error: i, placeholder: a, variant: o = "default", className: s, ref: c, ...l }) {
|
|
1006
1006
|
return /* @__PURE__ */ n("div", {
|
|
1007
1007
|
className: "inputBlockVertical",
|
|
1008
1008
|
children: [
|
|
1009
1009
|
/* @__PURE__ */ t("label", {
|
|
1010
1010
|
htmlFor: r,
|
|
1011
|
-
className: [
|
|
1011
|
+
className: [X.inputLabel, o === "glassy" ? "inputLabelGlassy" : ""].filter(Boolean).join(" "),
|
|
1012
1012
|
children: e
|
|
1013
1013
|
}),
|
|
1014
1014
|
/* @__PURE__ */ t("input", {
|
|
@@ -1017,9 +1017,9 @@ function re({ label: e, name: r, error: i, placeholder: a, variant: o = "default
|
|
|
1017
1017
|
ref: c,
|
|
1018
1018
|
placeholder: a,
|
|
1019
1019
|
className: [
|
|
1020
|
-
|
|
1021
|
-
o === "glassy" ?
|
|
1022
|
-
i ?
|
|
1020
|
+
X.inputTextField,
|
|
1021
|
+
o === "glassy" ? X.inputTextFieldGlassy : "",
|
|
1022
|
+
i ? X.inputError : "",
|
|
1023
1023
|
s ?? ""
|
|
1024
1024
|
].filter(Boolean).join(" "),
|
|
1025
1025
|
"aria-invalid": !!i,
|
|
@@ -1028,13 +1028,13 @@ function re({ label: e, name: r, error: i, placeholder: a, variant: o = "default
|
|
|
1028
1028
|
}),
|
|
1029
1029
|
/* @__PURE__ */ t("span", {
|
|
1030
1030
|
id: `${r}-error`,
|
|
1031
|
-
className: [
|
|
1031
|
+
className: [X.errorMessage, i ? "" : X.errorMessageHidden].filter(Boolean).join(" "),
|
|
1032
1032
|
children: i || "\xA0"
|
|
1033
1033
|
})
|
|
1034
1034
|
]
|
|
1035
1035
|
});
|
|
1036
1036
|
}
|
|
1037
|
-
var
|
|
1037
|
+
var Z = {
|
|
1038
1038
|
wrapper: "_wrapper_1get6_1",
|
|
1039
1039
|
label: "_label_1get6_7",
|
|
1040
1040
|
labelGlassy: "_labelGlassy_1get6_13",
|
|
@@ -1060,15 +1060,15 @@ var $ = {
|
|
|
1060
1060
|
};
|
|
1061
1061
|
//#endregion
|
|
1062
1062
|
//#region src/components/form/upload/Upload.tsx
|
|
1063
|
-
function
|
|
1064
|
-
let y =
|
|
1065
|
-
|
|
1063
|
+
function le({ label: e, name: r, id: i, file: a, error: o, variant: s = "default", accept: c = "image/*", maxSizeBytes: f = 5 * 1024 * 1024, disabled: m, className: h, onChange: g, onFileChange: _, ...v }) {
|
|
1064
|
+
let y = u(), b = i ?? `${r}-${y}`, [x, S] = p(!1), [C, w] = p(a ?? null), T = a !== void 0, E = T ? a : C, D = d(() => !E || !E.type.startsWith("image/") ? null : URL.createObjectURL(E), [E]);
|
|
1065
|
+
l(() => {
|
|
1066
1066
|
T && w(a ?? null);
|
|
1067
|
-
}, [a, T]),
|
|
1067
|
+
}, [a, T]), l(() => () => {
|
|
1068
1068
|
D && URL.revokeObjectURL(D);
|
|
1069
1069
|
}, [D]);
|
|
1070
1070
|
function O(e) {
|
|
1071
|
-
return !e || (
|
|
1071
|
+
return !e || (c === "image/*" || c.startsWith("image/")) && !e.type.startsWith("image/") || f && e.size > f ? null : e;
|
|
1072
1072
|
}
|
|
1073
1073
|
function k(e) {
|
|
1074
1074
|
let t = O(e);
|
|
@@ -1089,22 +1089,22 @@ function ie({ label: e, name: r, id: i, file: a, error: l, variant: d = "default
|
|
|
1089
1089
|
function P() {
|
|
1090
1090
|
T || w(null), _?.(null);
|
|
1091
1091
|
}
|
|
1092
|
-
let F = Math.round(
|
|
1092
|
+
let F = Math.round(f / (1024 * 1024));
|
|
1093
1093
|
return /* @__PURE__ */ n("div", {
|
|
1094
|
-
className: [
|
|
1094
|
+
className: [Z.wrapper, h ?? ""].filter(Boolean).join(" "),
|
|
1095
1095
|
children: [
|
|
1096
1096
|
/* @__PURE__ */ t("label", {
|
|
1097
|
-
className: [
|
|
1097
|
+
className: [Z.label, s === "glassy" ? Z.labelGlassy : ""].filter(Boolean).join(" "),
|
|
1098
1098
|
htmlFor: b,
|
|
1099
1099
|
children: e
|
|
1100
1100
|
}),
|
|
1101
1101
|
/* @__PURE__ */ n("div", {
|
|
1102
1102
|
className: [
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
x ?
|
|
1106
|
-
|
|
1107
|
-
m ?
|
|
1103
|
+
Z.dropzone,
|
|
1104
|
+
s === "glassy" ? Z.dropzoneGlassy : "",
|
|
1105
|
+
x ? Z.dragOver : "",
|
|
1106
|
+
o ? Z.errorState : "",
|
|
1107
|
+
m ? Z.disabled : ""
|
|
1108
1108
|
].filter(Boolean).join(" "),
|
|
1109
1109
|
onDragOver: j,
|
|
1110
1110
|
onDragLeave: M,
|
|
@@ -1113,31 +1113,31 @@ function ie({ label: e, name: r, id: i, file: a, error: l, variant: d = "default
|
|
|
1113
1113
|
/* @__PURE__ */ t("input", {
|
|
1114
1114
|
id: b,
|
|
1115
1115
|
name: r,
|
|
1116
|
-
className:
|
|
1116
|
+
className: Z.hiddenInput,
|
|
1117
1117
|
type: "file",
|
|
1118
|
-
accept:
|
|
1118
|
+
accept: c,
|
|
1119
1119
|
disabled: m,
|
|
1120
1120
|
onChange: A,
|
|
1121
|
-
"aria-invalid": !!
|
|
1121
|
+
"aria-invalid": !!o,
|
|
1122
1122
|
"aria-describedby": `${r}-error`,
|
|
1123
1123
|
...v
|
|
1124
1124
|
}),
|
|
1125
1125
|
/* @__PURE__ */ t("label", {
|
|
1126
1126
|
htmlFor: b,
|
|
1127
|
-
className:
|
|
1127
|
+
className: Z.dropzoneContent,
|
|
1128
1128
|
children: E ? /* @__PURE__ */ n("span", {
|
|
1129
|
-
className:
|
|
1129
|
+
className: Z.selected,
|
|
1130
1130
|
children: [D && /* @__PURE__ */ t("img", {
|
|
1131
|
-
className:
|
|
1131
|
+
className: Z.preview,
|
|
1132
1132
|
src: D,
|
|
1133
1133
|
alt: `Vorschau von ${E.name}`
|
|
1134
1134
|
}), /* @__PURE__ */ n("span", {
|
|
1135
|
-
className:
|
|
1135
|
+
className: Z.fileMeta,
|
|
1136
1136
|
children: [/* @__PURE__ */ t("span", {
|
|
1137
|
-
className:
|
|
1137
|
+
className: Z.fileName,
|
|
1138
1138
|
children: E.name
|
|
1139
1139
|
}), /* @__PURE__ */ n("span", {
|
|
1140
|
-
className:
|
|
1140
|
+
className: Z.fileSize,
|
|
1141
1141
|
children: [
|
|
1142
1142
|
(E.size / 1024).toFixed(0),
|
|
1143
1143
|
" KB ·",
|
|
@@ -1147,21 +1147,21 @@ function ie({ label: e, name: r, id: i, file: a, error: l, variant: d = "default
|
|
|
1147
1147
|
})]
|
|
1148
1148
|
})]
|
|
1149
1149
|
}) : /* @__PURE__ */ n("span", {
|
|
1150
|
-
className:
|
|
1150
|
+
className: Z.placeholder,
|
|
1151
1151
|
children: [
|
|
1152
1152
|
/* @__PURE__ */ t("span", {
|
|
1153
|
-
className:
|
|
1153
|
+
className: Z.big,
|
|
1154
1154
|
children: "Datei hier reinziehen"
|
|
1155
1155
|
}),
|
|
1156
1156
|
/* @__PURE__ */ t("span", {
|
|
1157
|
-
className:
|
|
1157
|
+
className: Z.small,
|
|
1158
1158
|
children: "…oder klicken, um auszuwählen"
|
|
1159
1159
|
}),
|
|
1160
1160
|
/* @__PURE__ */ n("span", {
|
|
1161
|
-
className:
|
|
1161
|
+
className: Z.hint,
|
|
1162
1162
|
children: [
|
|
1163
1163
|
"Erlaubt: ",
|
|
1164
|
-
|
|
1164
|
+
c,
|
|
1165
1165
|
" · max. ",
|
|
1166
1166
|
F,
|
|
1167
1167
|
" MB"
|
|
@@ -1172,7 +1172,7 @@ function ie({ label: e, name: r, id: i, file: a, error: l, variant: d = "default
|
|
|
1172
1172
|
}),
|
|
1173
1173
|
E && /* @__PURE__ */ t("button", {
|
|
1174
1174
|
type: "button",
|
|
1175
|
-
className:
|
|
1175
|
+
className: Z.remove,
|
|
1176
1176
|
onClick: P,
|
|
1177
1177
|
disabled: m,
|
|
1178
1178
|
children: "Entfernen"
|
|
@@ -1181,11 +1181,178 @@ function ie({ label: e, name: r, id: i, file: a, error: l, variant: d = "default
|
|
|
1181
1181
|
}),
|
|
1182
1182
|
/* @__PURE__ */ t("span", {
|
|
1183
1183
|
id: `${r}-error`,
|
|
1184
|
-
className: [
|
|
1185
|
-
children:
|
|
1184
|
+
className: [Z.errorMessage, o ? "" : Z.errorMessageHidden].filter(Boolean).join(" "),
|
|
1185
|
+
children: o || "\xA0"
|
|
1186
1186
|
})
|
|
1187
1187
|
]
|
|
1188
1188
|
});
|
|
1189
1189
|
}
|
|
1190
|
+
var Q = {
|
|
1191
|
+
counter: "_counter_zq8ye_1",
|
|
1192
|
+
button: "_button_zq8ye_11",
|
|
1193
|
+
value: "_value_zq8ye_33"
|
|
1194
|
+
};
|
|
1195
|
+
//#endregion
|
|
1196
|
+
//#region src/components/counter/counter.tsx
|
|
1197
|
+
function ue({ value: e, onChange: r, min: i = 0, max: a = Infinity, step: o = 1, disabled: s = !1 }) {
|
|
1198
|
+
return /* @__PURE__ */ n("div", {
|
|
1199
|
+
className: Q.counter,
|
|
1200
|
+
onClick: (e) => e.stopPropagation(),
|
|
1201
|
+
children: [
|
|
1202
|
+
/* @__PURE__ */ t("button", {
|
|
1203
|
+
type: "button",
|
|
1204
|
+
onClick: () => {
|
|
1205
|
+
s || r(Math.max(e - o, i));
|
|
1206
|
+
},
|
|
1207
|
+
disabled: s || e <= i,
|
|
1208
|
+
className: Q.button,
|
|
1209
|
+
children: "–"
|
|
1210
|
+
}),
|
|
1211
|
+
/* @__PURE__ */ t("span", {
|
|
1212
|
+
className: Q.value,
|
|
1213
|
+
children: e
|
|
1214
|
+
}),
|
|
1215
|
+
/* @__PURE__ */ t("button", {
|
|
1216
|
+
type: "button",
|
|
1217
|
+
onClick: () => {
|
|
1218
|
+
s || r(Math.min(e + o, a));
|
|
1219
|
+
},
|
|
1220
|
+
disabled: s || e >= a,
|
|
1221
|
+
className: Q.button,
|
|
1222
|
+
children: "+"
|
|
1223
|
+
})
|
|
1224
|
+
]
|
|
1225
|
+
});
|
|
1226
|
+
}
|
|
1227
|
+
var de = { avatar: "_avatar_hgx2w_1" };
|
|
1228
|
+
//#endregion
|
|
1229
|
+
//#region src/components/avatar/avatar.tsx
|
|
1230
|
+
function fe({ src: e, alt: n = "Avatar", size: r = 40, shape: i = "circle", className: a, onClick: o, fallbackSrc: s, children: c }) {
|
|
1231
|
+
let [u, d] = p(e ?? "");
|
|
1232
|
+
l(() => {
|
|
1233
|
+
d(e ?? "");
|
|
1234
|
+
}, [e]);
|
|
1235
|
+
let f = () => {
|
|
1236
|
+
d(s || "");
|
|
1237
|
+
}, m = {
|
|
1238
|
+
"--avatar-size": `${r}px`,
|
|
1239
|
+
"--avatar-radius": i === "circle" ? "50%" : "0"
|
|
1240
|
+
};
|
|
1241
|
+
return /* @__PURE__ */ t("div", {
|
|
1242
|
+
className: [de.avatar, a].filter(Boolean).join(" "),
|
|
1243
|
+
style: m,
|
|
1244
|
+
onClick: o,
|
|
1245
|
+
"aria-label": n,
|
|
1246
|
+
role: "img",
|
|
1247
|
+
children: c ?? (u ? /* @__PURE__ */ t("img", {
|
|
1248
|
+
src: u,
|
|
1249
|
+
alt: n,
|
|
1250
|
+
onError: f
|
|
1251
|
+
}) : /* @__PURE__ */ t("span", { "aria-hidden": "true" }))
|
|
1252
|
+
});
|
|
1253
|
+
}
|
|
1254
|
+
//#endregion
|
|
1255
|
+
//#region src/components/star-rating/star-rating.tsx
|
|
1256
|
+
function pe({ value: e, onChange: r, max: i = 5, readOnly: a = !1 }) {
|
|
1257
|
+
let [o, s] = p(null), c = (e) => {
|
|
1258
|
+
!a && r && r(e + 1);
|
|
1259
|
+
}, l = (e) => {
|
|
1260
|
+
a || s(e);
|
|
1261
|
+
}, u = () => {
|
|
1262
|
+
a || s(null);
|
|
1263
|
+
};
|
|
1264
|
+
return /* @__PURE__ */ n("div", {
|
|
1265
|
+
style: {
|
|
1266
|
+
display: "flex",
|
|
1267
|
+
gap: "0.25rem"
|
|
1268
|
+
},
|
|
1269
|
+
children: [Array.from({ length: i }).map((n, r) => /* @__PURE__ */ t("span", {
|
|
1270
|
+
onClick: () => c(r),
|
|
1271
|
+
onMouseEnter: () => l(r),
|
|
1272
|
+
onMouseLeave: u,
|
|
1273
|
+
style: {
|
|
1274
|
+
fontSize: "2rem",
|
|
1275
|
+
color: (o === null ? r < e : r <= o) ? "#FFD700" : "#CCCCCC",
|
|
1276
|
+
cursor: a ? "default" : "pointer",
|
|
1277
|
+
transition: "color 0.2s"
|
|
1278
|
+
},
|
|
1279
|
+
children: "★"
|
|
1280
|
+
}, r)), /* @__PURE__ */ t("p", { children: "23 Reviews" })]
|
|
1281
|
+
});
|
|
1282
|
+
}
|
|
1283
|
+
var $ = {
|
|
1284
|
+
stepperVStack: "_stepperVStack_1utyy_1",
|
|
1285
|
+
stepRow: "_stepRow_1utyy_7",
|
|
1286
|
+
rail: "_rail_1utyy_16",
|
|
1287
|
+
dot: "_dot_1utyy_23",
|
|
1288
|
+
dotNumber: "_dotNumber_1utyy_34",
|
|
1289
|
+
connector: "_connector_1utyy_41",
|
|
1290
|
+
stepBody: "_stepBody_1utyy_50",
|
|
1291
|
+
stepTitle: "_stepTitle_1utyy_55",
|
|
1292
|
+
stepContent: "_stepContent_1utyy_65",
|
|
1293
|
+
active: "_active_1utyy_71",
|
|
1294
|
+
done: "_done_1utyy_81",
|
|
1295
|
+
actions: "_actions_1utyy_94",
|
|
1296
|
+
"animate-forward": "_animate-forward_1utyy_129",
|
|
1297
|
+
slideUpFade: "_slideUpFade_1utyy_1",
|
|
1298
|
+
"animate-backward": "_animate-backward_1utyy_133",
|
|
1299
|
+
slideDownFade: "_slideDownFade_1utyy_1",
|
|
1300
|
+
btn: "_btn_1utyy_233"
|
|
1301
|
+
};
|
|
1302
|
+
//#endregion
|
|
1303
|
+
//#region src/components/stepper-vertical/stepper-vertical.tsx
|
|
1304
|
+
function me({ stepTitles: e, children: a, onFinish: s, initialStep: c = 0 }) {
|
|
1305
|
+
let u = d(() => r.toArray(a).filter(o), [a]), [m, h] = p(() => c >= 0 && c < u.length ? c : 0), [g, _] = p("forward"), v = f(null);
|
|
1306
|
+
l(() => {
|
|
1307
|
+
v.current?.scrollIntoView({
|
|
1308
|
+
behavior: "smooth",
|
|
1309
|
+
block: "start"
|
|
1310
|
+
});
|
|
1311
|
+
}, [m]), l(() => {
|
|
1312
|
+
c < 0 || c >= u.length || h(c);
|
|
1313
|
+
}, [c, u.length]);
|
|
1314
|
+
let y = e && e.length === u.length ? e : u.map((e, t) => `Schritt ${t + 1}`), b = m === u.length - 1, x = async () => {
|
|
1315
|
+
if (!b) {
|
|
1316
|
+
_("forward"), h((e) => e + 1);
|
|
1317
|
+
return;
|
|
1318
|
+
}
|
|
1319
|
+
s && await s();
|
|
1320
|
+
}, S = () => {
|
|
1321
|
+
_("backward"), h((e) => e - 1);
|
|
1322
|
+
};
|
|
1323
|
+
return /* @__PURE__ */ n("div", {
|
|
1324
|
+
className: $.stepperVStack,
|
|
1325
|
+
children: [/* @__PURE__ */ t("div", { ref: v }), y.map((e, r) => {
|
|
1326
|
+
let a = r < m ? "done" : r === m ? "active" : "upcoming", o = r === m, s = r === u.length - 1;
|
|
1327
|
+
return /* @__PURE__ */ n("div", {
|
|
1328
|
+
className: `${$.stepRow} ${$[a]}`,
|
|
1329
|
+
children: [/* @__PURE__ */ n("div", {
|
|
1330
|
+
className: $.rail,
|
|
1331
|
+
children: [/* @__PURE__ */ t("div", {
|
|
1332
|
+
className: $.dot,
|
|
1333
|
+
children: /* @__PURE__ */ t("span", {
|
|
1334
|
+
className: $.dotNumber,
|
|
1335
|
+
children: r + 1
|
|
1336
|
+
})
|
|
1337
|
+
}), !s && /* @__PURE__ */ t("div", { className: $.connector })]
|
|
1338
|
+
}), /* @__PURE__ */ n("div", {
|
|
1339
|
+
className: $.stepBody,
|
|
1340
|
+
children: [/* @__PURE__ */ t("div", {
|
|
1341
|
+
className: $.stepTitle,
|
|
1342
|
+
children: e
|
|
1343
|
+
}), o && /* @__PURE__ */ t("div", {
|
|
1344
|
+
className: `${$.stepContent} ${$[`animate-${g}`]}`,
|
|
1345
|
+
children: i(u[r], {
|
|
1346
|
+
onNext: x,
|
|
1347
|
+
onBack: S,
|
|
1348
|
+
isFirstStep: m === 0,
|
|
1349
|
+
isLastStep: b
|
|
1350
|
+
})
|
|
1351
|
+
}, m)]
|
|
1352
|
+
})]
|
|
1353
|
+
}, `step-${r}`);
|
|
1354
|
+
})]
|
|
1355
|
+
});
|
|
1356
|
+
}
|
|
1190
1357
|
//#endregion
|
|
1191
|
-
export {
|
|
1358
|
+
export { S as Accordion, fe as Avatar, v as BannerHero, h as Button, E as Checkbox, O as Chip, ue as Counter, A as DatePicker, F as Dropdown, U as Icon, V as IconButton, L as Link, G as Password, ne as PostalCode, re as RadioButton, se as Snackbar, pe as StarRating, me as StepperVertical, ie as Switch, ce as TextField, w as TileAccordion, le as Upload };
|