@tetjana/flowmakers-ds 0.1.8 → 0.1.10
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/Question.d.ts +4 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +277 -275
- package/dist/styles.css +1 -1
- package/guidelines/Guidelines.md +25 -4
- package/guidelines/components/dashboardtitle.md +49 -0
- package/guidelines/components/datepicker.md +59 -0
- package/guidelines/components/dropdown.md +68 -0
- package/guidelines/components/listitem.md +40 -0
- package/guidelines/components/price.md +51 -0
- package/guidelines/components/pricecard.md +35 -0
- package/guidelines/components/processstep.md +70 -0
- package/guidelines/components/question.md +65 -0
- package/guidelines/components/radiobutton.md +57 -0
- package/guidelines/components/search.md +41 -0
- package/guidelines/components/sectiontitle.md +74 -0
- package/guidelines/components/signupform.md +40 -0
- package/guidelines/components/stepper.md +61 -0
- package/guidelines/components/stepperprogress.md +62 -0
- package/guidelines/components/tagbig.md +39 -0
- package/guidelines/components/tariffs.md +57 -0
- package/guidelines/components/taskswidget.md +68 -0
- package/guidelines/components/testimonialcard.md +50 -0
- package/guidelines/components/timepicker.md +58 -0
- package/guidelines/overview-components.md +29 -5
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as c, jsx as e, Fragment as _ } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as k, useEffect as
|
|
3
|
-
const
|
|
4
|
-
variant:
|
|
2
|
+
import { useRef as k, useEffect as w, useState as v } from "react";
|
|
3
|
+
const E = ({
|
|
4
|
+
variant: s = "primary",
|
|
5
5
|
size: i = "md",
|
|
6
|
-
leftIcon:
|
|
6
|
+
leftIcon: a,
|
|
7
7
|
rightIcon: r,
|
|
8
8
|
children: l,
|
|
9
9
|
fullWidth: t = !1,
|
|
@@ -13,21 +13,21 @@ const A = ({
|
|
|
13
13
|
}) => {
|
|
14
14
|
const m = [
|
|
15
15
|
"fm-btn",
|
|
16
|
-
`fm-btn--${
|
|
16
|
+
`fm-btn--${s}`,
|
|
17
17
|
`fm-btn--${i}`,
|
|
18
18
|
t ? "fm-btn--full" : "",
|
|
19
19
|
n ? "fm-btn--disabled" : "",
|
|
20
20
|
d
|
|
21
21
|
].filter(Boolean).join(" ");
|
|
22
22
|
return /* @__PURE__ */ c("button", { className: m, disabled: n, ...o, children: [
|
|
23
|
-
|
|
23
|
+
a && /* @__PURE__ */ e("span", { className: "fm-btn__icon fm-btn__icon--left", children: a }),
|
|
24
24
|
l && /* @__PURE__ */ e("span", { className: "fm-btn__label", children: l }),
|
|
25
25
|
r && /* @__PURE__ */ e("span", { className: "fm-btn__icon fm-btn__icon--right", children: r })
|
|
26
26
|
] });
|
|
27
|
-
},
|
|
28
|
-
label:
|
|
27
|
+
}, H = ({
|
|
28
|
+
label: s,
|
|
29
29
|
placeholder: i,
|
|
30
|
-
state:
|
|
30
|
+
state: a = "default",
|
|
31
31
|
errorMessage: r,
|
|
32
32
|
successMessage: l,
|
|
33
33
|
leftIcon: t,
|
|
@@ -38,12 +38,12 @@ const A = ({
|
|
|
38
38
|
}) => {
|
|
39
39
|
const f = [
|
|
40
40
|
"fm-input-wrapper",
|
|
41
|
-
`fm-input-wrapper--${
|
|
41
|
+
`fm-input-wrapper--${a}`,
|
|
42
42
|
o ? "fm-input-wrapper--disabled" : "",
|
|
43
43
|
d
|
|
44
44
|
].filter(Boolean).join(" ");
|
|
45
45
|
return /* @__PURE__ */ c("div", { className: f, children: [
|
|
46
|
-
|
|
46
|
+
s && /* @__PURE__ */ e("label", { className: "fm-input__label", children: s }),
|
|
47
47
|
/* @__PURE__ */ c("div", { className: "fm-input__field", children: [
|
|
48
48
|
t && /* @__PURE__ */ e("span", { className: "fm-input__icon fm-input__icon--left", children: t }),
|
|
49
49
|
/* @__PURE__ */ e(
|
|
@@ -57,36 +57,36 @@ const A = ({
|
|
|
57
57
|
),
|
|
58
58
|
n && /* @__PURE__ */ e("span", { className: "fm-input__icon fm-input__icon--right", children: n })
|
|
59
59
|
] }),
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
a === "error" && r && /* @__PURE__ */ e("p", { className: "fm-input__message fm-input__message--error", children: r }),
|
|
61
|
+
a === "success" && l && /* @__PURE__ */ e("p", { className: "fm-input__message fm-input__message--success", children: l })
|
|
62
62
|
] });
|
|
63
|
-
}, F = ({ children:
|
|
64
|
-
const r = ["fm-tag", `fm-tag--${i}`,
|
|
65
|
-
return /* @__PURE__ */ e("span", { className: r, children:
|
|
66
|
-
},
|
|
63
|
+
}, F = ({ children: s, color: i = "grey", className: a = "" }) => {
|
|
64
|
+
const r = ["fm-tag", `fm-tag--${i}`, a].filter(Boolean).join(" ");
|
|
65
|
+
return /* @__PURE__ */ e("span", { className: r, children: s });
|
|
66
|
+
}, V = ({ checked: s, onChange: i, disabled: a, label: r, className: l = "" }) => /* @__PURE__ */ c("label", { className: ["fm-toggle", a ? "fm-toggle--disabled" : "", l].filter(Boolean).join(" "), children: [
|
|
67
67
|
/* @__PURE__ */ e(
|
|
68
68
|
"input",
|
|
69
69
|
{
|
|
70
70
|
type: "checkbox",
|
|
71
71
|
className: "fm-toggle__input",
|
|
72
|
-
checked:
|
|
72
|
+
checked: s,
|
|
73
73
|
onChange: (t) => i(t.target.checked),
|
|
74
|
-
disabled:
|
|
74
|
+
disabled: a
|
|
75
75
|
}
|
|
76
76
|
),
|
|
77
77
|
/* @__PURE__ */ e("span", { className: "fm-toggle__track", children: /* @__PURE__ */ e("span", { className: "fm-toggle__thumb" }) }),
|
|
78
78
|
r && /* @__PURE__ */ e("span", { className: "fm-toggle__label", children: r })
|
|
79
|
-
] }),
|
|
80
|
-
checked:
|
|
79
|
+
] }), O = ({
|
|
80
|
+
checked: s = !1,
|
|
81
81
|
indeterminate: i = !1,
|
|
82
|
-
onChange:
|
|
82
|
+
onChange: a,
|
|
83
83
|
disabled: r,
|
|
84
84
|
size: l = "small",
|
|
85
85
|
label: t,
|
|
86
86
|
className: n = ""
|
|
87
87
|
}) => {
|
|
88
88
|
const d = k(null);
|
|
89
|
-
return
|
|
89
|
+
return w(() => {
|
|
90
90
|
d.current && (d.current.indeterminate = i);
|
|
91
91
|
}, [i]), /* @__PURE__ */ c("label", { className: ["fm-checkbox", `fm-checkbox--${l}`, r ? "fm-checkbox--disabled" : "", n].filter(Boolean).join(" "), children: [
|
|
92
92
|
/* @__PURE__ */ e(
|
|
@@ -95,49 +95,49 @@ const A = ({
|
|
|
95
95
|
ref: d,
|
|
96
96
|
type: "checkbox",
|
|
97
97
|
className: "fm-checkbox__input",
|
|
98
|
-
checked:
|
|
99
|
-
onChange: (o) =>
|
|
98
|
+
checked: s,
|
|
99
|
+
onChange: (o) => a == null ? void 0 : a(o.target.checked),
|
|
100
100
|
disabled: r
|
|
101
101
|
}
|
|
102
102
|
),
|
|
103
103
|
/* @__PURE__ */ c("span", { className: "fm-checkbox__box", children: [
|
|
104
|
-
|
|
104
|
+
s && !i && /* @__PURE__ */ e("svg", { width: "10", height: "8", viewBox: "0 0 10 8", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 4L3.5 6.5L9 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
|
|
105
105
|
i && /* @__PURE__ */ e("span", { className: "fm-checkbox__minus" })
|
|
106
106
|
] }),
|
|
107
107
|
t && /* @__PURE__ */ e("span", { className: "fm-checkbox__label", children: t })
|
|
108
108
|
] });
|
|
109
|
-
},
|
|
110
|
-
title:
|
|
109
|
+
}, U = ({
|
|
110
|
+
title: s,
|
|
111
111
|
subtitle: i,
|
|
112
|
-
color:
|
|
112
|
+
color: a = "purple",
|
|
113
113
|
leftSlot: r,
|
|
114
114
|
rightSlot: l,
|
|
115
115
|
className: t = ""
|
|
116
116
|
}) => {
|
|
117
|
-
const n = ["fm-header", `fm-header--${
|
|
117
|
+
const n = ["fm-header", `fm-header--${a}`, t].filter(Boolean).join(" ");
|
|
118
118
|
return /* @__PURE__ */ c("div", { className: n, children: [
|
|
119
119
|
r && /* @__PURE__ */ e("div", { className: "fm-header__slot fm-header__slot--left", children: r }),
|
|
120
120
|
/* @__PURE__ */ c("div", { className: "fm-header__title-block", children: [
|
|
121
|
-
/* @__PURE__ */ e("h4", { className: "fm-header__title", children:
|
|
121
|
+
/* @__PURE__ */ e("h4", { className: "fm-header__title", children: s }),
|
|
122
122
|
i && /* @__PURE__ */ e("p", { className: "fm-header__subtitle", children: i })
|
|
123
123
|
] }),
|
|
124
124
|
l && /* @__PURE__ */ e("div", { className: "fm-header__slot fm-header__slot--right", children: l })
|
|
125
125
|
] });
|
|
126
|
-
},
|
|
127
|
-
variant:
|
|
126
|
+
}, G = ({
|
|
127
|
+
variant: s = "light",
|
|
128
128
|
headline: i = "Є ідеї чи пропозиції?",
|
|
129
|
-
ctaLabel:
|
|
129
|
+
ctaLabel: a = "Написати нам",
|
|
130
130
|
onCtaClick: r,
|
|
131
131
|
sections: l = [],
|
|
132
132
|
copyright: t = "© 2024 Made by FlowMakers. All rights reserved",
|
|
133
133
|
className: n = ""
|
|
134
134
|
}) => {
|
|
135
|
-
const d = ["fm-footer", `fm-footer--${
|
|
135
|
+
const d = ["fm-footer", `fm-footer--${s}`, n].filter(Boolean).join(" ");
|
|
136
136
|
return /* @__PURE__ */ c("footer", { className: d, children: [
|
|
137
137
|
/* @__PURE__ */ c("div", { className: "fm-footer__top", children: [
|
|
138
138
|
/* @__PURE__ */ c("div", { className: "fm-footer__cta-block", children: [
|
|
139
139
|
/* @__PURE__ */ e("h3", { className: "fm-footer__headline", children: i }),
|
|
140
|
-
/* @__PURE__ */ e("button", { className: "fm-footer__cta-btn", onClick: r, children:
|
|
140
|
+
/* @__PURE__ */ e("button", { className: "fm-footer__cta-btn", onClick: r, children: a })
|
|
141
141
|
] }),
|
|
142
142
|
/* @__PURE__ */ e("div", { className: "fm-footer__sections", children: l.map((o, m) => /* @__PURE__ */ c("div", { className: "fm-footer__section", children: [
|
|
143
143
|
/* @__PURE__ */ e("p", { className: "fm-footer__section-title", children: o.title }),
|
|
@@ -146,43 +146,43 @@ const A = ({
|
|
|
146
146
|
] }),
|
|
147
147
|
/* @__PURE__ */ e("div", { className: "fm-footer__bottom", children: /* @__PURE__ */ e("p", { className: "fm-footer__copyright", children: t }) })
|
|
148
148
|
] });
|
|
149
|
-
},
|
|
150
|
-
icon:
|
|
149
|
+
}, Z = ({
|
|
150
|
+
icon: s,
|
|
151
151
|
label: i,
|
|
152
|
-
active:
|
|
152
|
+
active: a = !1,
|
|
153
153
|
href: r,
|
|
154
154
|
onClick: l,
|
|
155
155
|
className: t = ""
|
|
156
156
|
}) => {
|
|
157
157
|
const n = [
|
|
158
158
|
"fm-nav-item",
|
|
159
|
-
|
|
159
|
+
a ? "fm-nav-item--active" : "",
|
|
160
160
|
t
|
|
161
161
|
].filter(Boolean).join(" "), d = /* @__PURE__ */ c(_, { children: [
|
|
162
|
-
|
|
162
|
+
s && /* @__PURE__ */ e("span", { className: "fm-nav-item__icon", children: s }),
|
|
163
163
|
/* @__PURE__ */ e("span", { className: "fm-nav-item__label", children: i })
|
|
164
164
|
] });
|
|
165
165
|
return r ? /* @__PURE__ */ e("a", { className: n, href: r, children: d }) : /* @__PURE__ */ e("button", { className: n, onClick: l, type: "button", children: d });
|
|
166
|
-
},
|
|
167
|
-
children:
|
|
166
|
+
}, z = ({
|
|
167
|
+
children: s,
|
|
168
168
|
horizontal: i = !1,
|
|
169
|
-
className:
|
|
169
|
+
className: a = ""
|
|
170
170
|
}) => {
|
|
171
171
|
const r = [
|
|
172
172
|
"fm-nav-bar",
|
|
173
173
|
i ? "fm-nav-bar--horizontal" : "",
|
|
174
|
-
|
|
174
|
+
a
|
|
175
175
|
].filter(Boolean).join(" ");
|
|
176
|
-
return /* @__PURE__ */ e("nav", { className: r, children:
|
|
177
|
-
},
|
|
176
|
+
return /* @__PURE__ */ e("nav", { className: r, children: s });
|
|
177
|
+
}, b = {
|
|
178
178
|
available: "Доступно",
|
|
179
179
|
"in-progress": "В процесі",
|
|
180
180
|
completed: "Завершено",
|
|
181
181
|
unavailable: "Недоступно"
|
|
182
|
-
},
|
|
183
|
-
title:
|
|
182
|
+
}, K = ({
|
|
183
|
+
title: s,
|
|
184
184
|
description: i,
|
|
185
|
-
image:
|
|
185
|
+
image: a,
|
|
186
186
|
state: r = "available",
|
|
187
187
|
tags: l,
|
|
188
188
|
meta: t,
|
|
@@ -196,12 +196,12 @@ const A = ({
|
|
|
196
196
|
].filter(Boolean).join(" ");
|
|
197
197
|
return /* @__PURE__ */ c("div", { className: o, children: [
|
|
198
198
|
/* @__PURE__ */ c("div", { className: "fm-card-test__image", children: [
|
|
199
|
-
|
|
199
|
+
a && /* @__PURE__ */ e("img", { src: a, alt: s }),
|
|
200
200
|
/* @__PURE__ */ e("div", { className: "fm-card-test__image-overlay" }),
|
|
201
|
-
/* @__PURE__ */ e("span", { className: `fm-card-test__status-tag fm-card-test__status-tag--${r}`, children:
|
|
201
|
+
/* @__PURE__ */ e("span", { className: `fm-card-test__status-tag fm-card-test__status-tag--${r}`, children: b[r] })
|
|
202
202
|
] }),
|
|
203
203
|
/* @__PURE__ */ c("div", { className: "fm-card-test__content", children: [
|
|
204
|
-
/* @__PURE__ */ e("h3", { className: "fm-card-test__title", children:
|
|
204
|
+
/* @__PURE__ */ e("h3", { className: "fm-card-test__title", children: s }),
|
|
205
205
|
i && /* @__PURE__ */ e("p", { className: "fm-card-test__description", children: i })
|
|
206
206
|
] }),
|
|
207
207
|
l && /* @__PURE__ */ e("div", { className: "fm-card-test__tags", children: l }),
|
|
@@ -211,15 +211,15 @@ const A = ({
|
|
|
211
211
|
] }, f)) }),
|
|
212
212
|
n
|
|
213
213
|
] });
|
|
214
|
-
}, h = 21, p = 2 * Math.PI * h, L = ({ value:
|
|
215
|
-
const i = p * (1 - Math.min(100, Math.max(0,
|
|
214
|
+
}, h = 21, p = 2 * Math.PI * h, L = ({ value: s }) => {
|
|
215
|
+
const i = p * (1 - Math.min(100, Math.max(0, s)) / 100), a = s >= 100;
|
|
216
216
|
return /* @__PURE__ */ c("div", { className: "fm-card-career__progress", children: [
|
|
217
217
|
/* @__PURE__ */ c("svg", { viewBox: "0 0 50 50", children: [
|
|
218
218
|
/* @__PURE__ */ e("circle", { className: "fm-card-career__progress-track", cx: "25", cy: "25", r: h }),
|
|
219
219
|
/* @__PURE__ */ e(
|
|
220
220
|
"circle",
|
|
221
221
|
{
|
|
222
|
-
className: `fm-card-career__progress-fill${
|
|
222
|
+
className: `fm-card-career__progress-fill${a ? " fm-card-career__progress-fill--complete" : ""}`,
|
|
223
223
|
cx: "25",
|
|
224
224
|
cy: "25",
|
|
225
225
|
r: h,
|
|
@@ -229,14 +229,14 @@ const A = ({
|
|
|
229
229
|
)
|
|
230
230
|
] }),
|
|
231
231
|
/* @__PURE__ */ c("span", { className: "fm-card-career__progress-label", children: [
|
|
232
|
-
|
|
232
|
+
s,
|
|
233
233
|
"%"
|
|
234
234
|
] })
|
|
235
235
|
] });
|
|
236
|
-
}, x = () => /* @__PURE__ */ e("svg", { className: "fm-card-career__chevron", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e("path", { d: "M5 7.5l5 5 5-5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
|
|
237
|
-
title:
|
|
236
|
+
}, x = () => /* @__PURE__ */ e("svg", { className: "fm-card-career__chevron", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ e("path", { d: "M5 7.5l5 5 5-5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), Q = ({
|
|
237
|
+
title: s,
|
|
238
238
|
subtitle: i,
|
|
239
|
-
statusTag:
|
|
239
|
+
statusTag: a,
|
|
240
240
|
tasks: r = [],
|
|
241
241
|
defaultOpen: l = !1,
|
|
242
242
|
className: t = ""
|
|
@@ -250,8 +250,8 @@ const A = ({
|
|
|
250
250
|
/* @__PURE__ */ c("div", { className: "fm-card-career__header", onClick: () => d((m) => !m), children: [
|
|
251
251
|
/* @__PURE__ */ c("div", { className: "fm-card-career__header-content", children: [
|
|
252
252
|
/* @__PURE__ */ c("div", { className: "fm-card-career__title-row", children: [
|
|
253
|
-
/* @__PURE__ */ e("h3", { className: "fm-card-career__title", children:
|
|
254
|
-
|
|
253
|
+
/* @__PURE__ */ e("h3", { className: "fm-card-career__title", children: s }),
|
|
254
|
+
a
|
|
255
255
|
] }),
|
|
256
256
|
i && /* @__PURE__ */ e("p", { className: "fm-card-career__subtitle", children: i })
|
|
257
257
|
] }),
|
|
@@ -327,9 +327,9 @@ const A = ({
|
|
|
327
327
|
}
|
|
328
328
|
) })
|
|
329
329
|
}, N = ({
|
|
330
|
-
icon:
|
|
330
|
+
icon: s = "arrow-right",
|
|
331
331
|
size: i = "regular",
|
|
332
|
-
variant:
|
|
332
|
+
variant: a = "filled",
|
|
333
333
|
className: r = "",
|
|
334
334
|
disabled: l,
|
|
335
335
|
...t
|
|
@@ -337,18 +337,18 @@ const A = ({
|
|
|
337
337
|
const n = [
|
|
338
338
|
"fm-icon-btn",
|
|
339
339
|
`fm-icon-btn--${i}`,
|
|
340
|
-
`fm-icon-btn--${
|
|
340
|
+
`fm-icon-btn--${a}`,
|
|
341
341
|
r
|
|
342
342
|
].filter(Boolean).join(" ");
|
|
343
|
-
return /* @__PURE__ */ e("button", { className: n, disabled: l, ...t, children: B[
|
|
344
|
-
},
|
|
345
|
-
options:
|
|
343
|
+
return /* @__PURE__ */ e("button", { className: n, disabled: l, ...t, children: B[s] });
|
|
344
|
+
}, J = ({
|
|
345
|
+
options: s,
|
|
346
346
|
value: i,
|
|
347
|
-
onChange:
|
|
347
|
+
onChange: a,
|
|
348
348
|
className: r = ""
|
|
349
349
|
}) => {
|
|
350
350
|
const l = ["fm-segmented-control", r].filter(Boolean).join(" ");
|
|
351
|
-
return /* @__PURE__ */ e("div", { className: l, role: "tablist", children:
|
|
351
|
+
return /* @__PURE__ */ e("div", { className: l, role: "tablist", children: s.map((t) => /* @__PURE__ */ e(
|
|
352
352
|
"button",
|
|
353
353
|
{
|
|
354
354
|
role: "tab",
|
|
@@ -357,15 +357,15 @@ const A = ({
|
|
|
357
357
|
"fm-segmented-control__item",
|
|
358
358
|
t.value === i ? "fm-segmented-control__item--active" : ""
|
|
359
359
|
].filter(Boolean).join(" "),
|
|
360
|
-
onClick: () =>
|
|
360
|
+
onClick: () => a == null ? void 0 : a(t.value),
|
|
361
361
|
children: t.label
|
|
362
362
|
},
|
|
363
363
|
t.value
|
|
364
364
|
)) });
|
|
365
|
-
},
|
|
366
|
-
variant:
|
|
365
|
+
}, X = ({
|
|
366
|
+
variant: s = "dots",
|
|
367
367
|
page: i = 1,
|
|
368
|
-
total:
|
|
368
|
+
total: a = 9,
|
|
369
369
|
onPrev: r,
|
|
370
370
|
onNext: l,
|
|
371
371
|
prevDisabled: t = !1,
|
|
@@ -374,7 +374,7 @@ const A = ({
|
|
|
374
374
|
}) => {
|
|
375
375
|
const o = [
|
|
376
376
|
"fm-pagination",
|
|
377
|
-
`fm-pagination--${
|
|
377
|
+
`fm-pagination--${s}`,
|
|
378
378
|
d
|
|
379
379
|
].filter(Boolean).join(" ");
|
|
380
380
|
return /* @__PURE__ */ c("div", { className: o, children: [
|
|
@@ -387,7 +387,7 @@ const A = ({
|
|
|
387
387
|
onClick: r
|
|
388
388
|
}
|
|
389
389
|
),
|
|
390
|
-
|
|
390
|
+
s === "dots" && /* @__PURE__ */ e("div", { className: "fm-pagination__dots", children: Array.from({ length: a }).map((m, f) => /* @__PURE__ */ e(
|
|
391
391
|
"span",
|
|
392
392
|
{
|
|
393
393
|
className: [
|
|
@@ -397,10 +397,10 @@ const A = ({
|
|
|
397
397
|
},
|
|
398
398
|
f
|
|
399
399
|
)) }),
|
|
400
|
-
|
|
400
|
+
s === "numbers" && /* @__PURE__ */ e("div", { className: "fm-pagination__numbers", children: /* @__PURE__ */ c("span", { className: "fm-pagination__numbers-text", children: [
|
|
401
401
|
i,
|
|
402
402
|
" з ",
|
|
403
|
-
|
|
403
|
+
a
|
|
404
404
|
] }) }),
|
|
405
405
|
/* @__PURE__ */ e(
|
|
406
406
|
N,
|
|
@@ -412,84 +412,84 @@ const A = ({
|
|
|
412
412
|
}
|
|
413
413
|
)
|
|
414
414
|
] });
|
|
415
|
-
},
|
|
416
|
-
title:
|
|
415
|
+
}, Y = ({
|
|
416
|
+
title: s,
|
|
417
417
|
subtitle: i,
|
|
418
|
-
color:
|
|
418
|
+
color: a = "purple",
|
|
419
419
|
leftAction: r,
|
|
420
420
|
rightAction: l,
|
|
421
421
|
className: t = ""
|
|
422
422
|
}) => {
|
|
423
423
|
const n = [
|
|
424
424
|
"fm-widget-header",
|
|
425
|
-
`fm-widget-header--${
|
|
425
|
+
`fm-widget-header--${a}`,
|
|
426
426
|
t
|
|
427
427
|
].filter(Boolean).join(" ");
|
|
428
428
|
return /* @__PURE__ */ c("div", { className: n, children: [
|
|
429
429
|
r && /* @__PURE__ */ e("div", { className: "fm-widget-header__action", children: r }),
|
|
430
430
|
/* @__PURE__ */ c("div", { className: "fm-widget-header__title-group", children: [
|
|
431
|
-
/* @__PURE__ */ e("h3", { className: "fm-widget-header__title", children:
|
|
431
|
+
/* @__PURE__ */ e("h3", { className: "fm-widget-header__title", children: s }),
|
|
432
432
|
i && /* @__PURE__ */ e("p", { className: "fm-widget-header__subtitle", children: i })
|
|
433
433
|
] }),
|
|
434
434
|
l && /* @__PURE__ */ e("div", { className: "fm-widget-header__action", children: l })
|
|
435
435
|
] });
|
|
436
|
-
},
|
|
437
|
-
header:
|
|
436
|
+
}, ee = ({
|
|
437
|
+
header: s,
|
|
438
438
|
children: i,
|
|
439
|
-
className:
|
|
439
|
+
className: a = "",
|
|
440
440
|
width: r
|
|
441
441
|
}) => {
|
|
442
|
-
const l = ["fm-widget-card",
|
|
442
|
+
const l = ["fm-widget-card", a].filter(Boolean).join(" ");
|
|
443
443
|
return /* @__PURE__ */ c("div", { className: l, style: r ? { width: r } : void 0, children: [
|
|
444
|
-
|
|
444
|
+
s,
|
|
445
445
|
/* @__PURE__ */ e("div", { className: "fm-widget-card__body", children: i })
|
|
446
446
|
] });
|
|
447
|
-
},
|
|
448
|
-
tag:
|
|
447
|
+
}, ae = ({
|
|
448
|
+
tag: s,
|
|
449
449
|
title: i,
|
|
450
|
-
text:
|
|
450
|
+
text: a,
|
|
451
451
|
className: r = ""
|
|
452
452
|
}) => /* @__PURE__ */ c("div", { className: ["fm-widget-news", r].filter(Boolean).join(" "), children: [
|
|
453
|
-
|
|
453
|
+
s && /* @__PURE__ */ e("div", { className: "fm-widget-news__tag", children: s }),
|
|
454
454
|
/* @__PURE__ */ c("div", { className: "fm-widget-news__content", children: [
|
|
455
455
|
/* @__PURE__ */ e("p", { className: "fm-widget-news__title", children: i }),
|
|
456
|
-
/* @__PURE__ */ e("p", { className: "fm-widget-news__text", children:
|
|
456
|
+
/* @__PURE__ */ e("p", { className: "fm-widget-news__text", children: a })
|
|
457
457
|
] })
|
|
458
|
-
] }),
|
|
459
|
-
image:
|
|
458
|
+
] }), se = ({
|
|
459
|
+
image: s,
|
|
460
460
|
tag: i,
|
|
461
|
-
title:
|
|
461
|
+
title: a,
|
|
462
462
|
className: r = ""
|
|
463
463
|
}) => /* @__PURE__ */ c("div", { className: ["fm-widget-general-news", r].filter(Boolean).join(" "), children: [
|
|
464
|
-
/* @__PURE__ */ e("div", { className: "fm-widget-general-news__image", children:
|
|
464
|
+
/* @__PURE__ */ e("div", { className: "fm-widget-general-news__image", children: s && /* @__PURE__ */ e("img", { src: s, alt: a }) }),
|
|
465
465
|
/* @__PURE__ */ c("div", { className: "fm-widget-general-news__content", children: [
|
|
466
466
|
i && /* @__PURE__ */ e("div", { className: "fm-widget-general-news__tag", children: i }),
|
|
467
|
-
/* @__PURE__ */ e("p", { className: "fm-widget-general-news__title", children:
|
|
467
|
+
/* @__PURE__ */ e("p", { className: "fm-widget-general-news__title", children: a })
|
|
468
468
|
] })
|
|
469
|
-
] }),
|
|
470
|
-
title:
|
|
469
|
+
] }), ie = ({
|
|
470
|
+
title: s,
|
|
471
471
|
text: i,
|
|
472
|
-
date:
|
|
472
|
+
date: a,
|
|
473
473
|
className: r = ""
|
|
474
474
|
}) => /* @__PURE__ */ c("div", { className: ["fm-widget-notes", r].filter(Boolean).join(" "), children: [
|
|
475
|
-
/* @__PURE__ */ e("p", { className: "fm-widget-notes__title", children:
|
|
475
|
+
/* @__PURE__ */ e("p", { className: "fm-widget-notes__title", children: s }),
|
|
476
476
|
/* @__PURE__ */ e("p", { className: "fm-widget-notes__text", children: i }),
|
|
477
|
-
|
|
478
|
-
] }),
|
|
479
|
-
tag:
|
|
477
|
+
a && /* @__PURE__ */ e("div", { className: "fm-widget-notes__footer", children: /* @__PURE__ */ e("span", { className: "fm-widget-notes__date", children: a }) })
|
|
478
|
+
] }), re = ({
|
|
479
|
+
tag: s,
|
|
480
480
|
text: i,
|
|
481
|
-
action:
|
|
481
|
+
action: a,
|
|
482
482
|
className: r = ""
|
|
483
483
|
}) => /* @__PURE__ */ c("div", { className: ["fm-widget-advice", r].filter(Boolean).join(" "), children: [
|
|
484
|
-
|
|
484
|
+
s && /* @__PURE__ */ e("div", { className: "fm-widget-advice__tag", children: s }),
|
|
485
485
|
/* @__PURE__ */ e("p", { className: "fm-widget-advice__text", children: i }),
|
|
486
|
-
|
|
487
|
-
] }),
|
|
488
|
-
days:
|
|
486
|
+
a && /* @__PURE__ */ e("div", { className: "fm-widget-advice__action", children: a })
|
|
487
|
+
] }), ce = ({
|
|
488
|
+
days: s = [],
|
|
489
489
|
events: i = [],
|
|
490
|
-
className:
|
|
491
|
-
}) => /* @__PURE__ */ c("div", { className: ["fm-widget-calendar",
|
|
492
|
-
/* @__PURE__ */ e("div", { className: "fm-widget-calendar__days", children:
|
|
490
|
+
className: a = ""
|
|
491
|
+
}) => /* @__PURE__ */ c("div", { className: ["fm-widget-calendar", a].filter(Boolean).join(" "), children: [
|
|
492
|
+
/* @__PURE__ */ e("div", { className: "fm-widget-calendar__days", children: s.map((r, l) => /* @__PURE__ */ c(
|
|
493
493
|
"div",
|
|
494
494
|
{
|
|
495
495
|
className: ["fm-widget-calendar__day", r.active ? "fm-widget-calendar__day--active" : ""].filter(Boolean).join(" "),
|
|
@@ -508,10 +508,10 @@ const A = ({
|
|
|
508
508
|
/* @__PURE__ */ e("span", { className: "fm-widget-calendar__event-time", children: r.time })
|
|
509
509
|
] })
|
|
510
510
|
] }, l)) })
|
|
511
|
-
] }),
|
|
512
|
-
placeholder:
|
|
511
|
+
] }), le = ({
|
|
512
|
+
placeholder: s = "Пошук...",
|
|
513
513
|
className: i = "",
|
|
514
|
-
...
|
|
514
|
+
...a
|
|
515
515
|
}) => /* @__PURE__ */ c("div", { className: `fm-search ${i}`.trim(), children: [
|
|
516
516
|
/* @__PURE__ */ c("svg", { className: "fm-search__icon", width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
517
517
|
/* @__PURE__ */ e("circle", { cx: "9", cy: "9", r: "6", stroke: "#91939f", strokeWidth: "1.5" }),
|
|
@@ -521,15 +521,15 @@ const A = ({
|
|
|
521
521
|
"input",
|
|
522
522
|
{
|
|
523
523
|
className: "fm-search__input",
|
|
524
|
-
placeholder:
|
|
525
|
-
...
|
|
524
|
+
placeholder: s,
|
|
525
|
+
...a
|
|
526
526
|
}
|
|
527
527
|
)
|
|
528
|
-
] }),
|
|
529
|
-
options:
|
|
528
|
+
] }), te = ({
|
|
529
|
+
options: s = [],
|
|
530
530
|
onSelect: i,
|
|
531
|
-
className:
|
|
532
|
-
}) => /* @__PURE__ */ e("div", { className: `fm-dropdown ${
|
|
531
|
+
className: a = ""
|
|
532
|
+
}) => /* @__PURE__ */ e("div", { className: `fm-dropdown ${a}`.trim(), children: s.map((r) => /* @__PURE__ */ e(
|
|
533
533
|
"button",
|
|
534
534
|
{
|
|
535
535
|
className: "fm-dropdown__item",
|
|
@@ -538,7 +538,7 @@ const A = ({
|
|
|
538
538
|
children: r.label
|
|
539
539
|
},
|
|
540
540
|
r.value
|
|
541
|
-
)) }),
|
|
541
|
+
)) }), C = () => /* @__PURE__ */ c("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
542
542
|
/* @__PURE__ */ e("rect", { x: "2.5", y: "4.5", width: "15", height: "13", rx: "2", stroke: "currentColor", strokeWidth: "1.3" }),
|
|
543
543
|
/* @__PURE__ */ e("path", { d: "M6.5 2.5v4M13.5 2.5v4M2.5 8.5h15", stroke: "currentColor", strokeWidth: "1.3", strokeLinecap: "round" }),
|
|
544
544
|
/* @__PURE__ */ e("circle", { cx: "7", cy: "12", r: "1", fill: "currentColor" }),
|
|
@@ -546,22 +546,22 @@ const A = ({
|
|
|
546
546
|
/* @__PURE__ */ e("circle", { cx: "13", cy: "12", r: "1", fill: "currentColor" }),
|
|
547
547
|
/* @__PURE__ */ e("circle", { cx: "7", cy: "15", r: "1", fill: "currentColor" }),
|
|
548
548
|
/* @__PURE__ */ e("circle", { cx: "10", cy: "15", r: "1", fill: "currentColor" })
|
|
549
|
-
] }),
|
|
550
|
-
label:
|
|
549
|
+
] }), ne = ({
|
|
550
|
+
label: s,
|
|
551
551
|
helperText: i,
|
|
552
|
-
state:
|
|
552
|
+
state: a = "default",
|
|
553
553
|
disabled: r,
|
|
554
554
|
className: l = "",
|
|
555
555
|
...t
|
|
556
556
|
}) => {
|
|
557
|
-
const n = r ||
|
|
557
|
+
const n = r || a === "disabled", d = [
|
|
558
558
|
"fm-datepicker",
|
|
559
|
-
`fm-datepicker--${
|
|
559
|
+
`fm-datepicker--${a}`,
|
|
560
560
|
n ? "fm-datepicker--disabled" : "",
|
|
561
561
|
l
|
|
562
562
|
].filter(Boolean).join(" ");
|
|
563
563
|
return /* @__PURE__ */ c("div", { className: d, children: [
|
|
564
|
-
|
|
564
|
+
s && /* @__PURE__ */ e("label", { className: "fm-datepicker__label", children: s }),
|
|
565
565
|
/* @__PURE__ */ c("div", { className: "fm-datepicker__field", children: [
|
|
566
566
|
/* @__PURE__ */ e(
|
|
567
567
|
"input",
|
|
@@ -572,29 +572,29 @@ const A = ({
|
|
|
572
572
|
...t
|
|
573
573
|
}
|
|
574
574
|
),
|
|
575
|
-
/* @__PURE__ */ e("span", { className: "fm-datepicker__icon", children: /* @__PURE__ */ e(
|
|
575
|
+
/* @__PURE__ */ e("span", { className: "fm-datepicker__icon", children: /* @__PURE__ */ e(C, {}) })
|
|
576
576
|
] }),
|
|
577
577
|
i && /* @__PURE__ */ e("p", { className: "fm-datepicker__helper", children: i })
|
|
578
578
|
] });
|
|
579
|
-
},
|
|
579
|
+
}, $ = () => /* @__PURE__ */ c("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: [
|
|
580
580
|
/* @__PURE__ */ e("circle", { cx: "10", cy: "10", r: "7", stroke: "currentColor", strokeWidth: "1.3" }),
|
|
581
581
|
/* @__PURE__ */ e("path", { d: "M10 6.5V10.5L13 12", stroke: "currentColor", strokeWidth: "1.3", strokeLinecap: "round", strokeLinejoin: "round" })
|
|
582
|
-
] }),
|
|
583
|
-
label:
|
|
582
|
+
] }), de = ({
|
|
583
|
+
label: s,
|
|
584
584
|
helperText: i,
|
|
585
|
-
state:
|
|
585
|
+
state: a = "default",
|
|
586
586
|
disabled: r,
|
|
587
587
|
className: l = "",
|
|
588
588
|
...t
|
|
589
589
|
}) => {
|
|
590
|
-
const n = r ||
|
|
590
|
+
const n = r || a === "disabled", d = [
|
|
591
591
|
"fm-timepicker",
|
|
592
|
-
`fm-timepicker--${
|
|
592
|
+
`fm-timepicker--${a}`,
|
|
593
593
|
n ? "fm-timepicker--disabled" : "",
|
|
594
594
|
l
|
|
595
595
|
].filter(Boolean).join(" ");
|
|
596
596
|
return /* @__PURE__ */ c("div", { className: d, children: [
|
|
597
|
-
|
|
597
|
+
s && /* @__PURE__ */ e("label", { className: "fm-timepicker__label", children: s }),
|
|
598
598
|
/* @__PURE__ */ c("div", { className: "fm-timepicker__field", children: [
|
|
599
599
|
/* @__PURE__ */ e(
|
|
600
600
|
"input",
|
|
@@ -605,18 +605,18 @@ const A = ({
|
|
|
605
605
|
...t
|
|
606
606
|
}
|
|
607
607
|
),
|
|
608
|
-
/* @__PURE__ */ e("span", { className: "fm-timepicker__icon", children: /* @__PURE__ */ e(
|
|
608
|
+
/* @__PURE__ */ e("span", { className: "fm-timepicker__icon", children: /* @__PURE__ */ e($, {}) })
|
|
609
609
|
] }),
|
|
610
610
|
i && /* @__PURE__ */ e("p", { className: "fm-timepicker__helper", children: i })
|
|
611
611
|
] });
|
|
612
|
-
},
|
|
613
|
-
label:
|
|
612
|
+
}, oe = ({
|
|
613
|
+
label: s,
|
|
614
614
|
checked: i = !1,
|
|
615
|
-
disabled:
|
|
615
|
+
disabled: a,
|
|
616
616
|
className: r = "",
|
|
617
617
|
onChange: l,
|
|
618
618
|
...t
|
|
619
|
-
}) => /* @__PURE__ */ c("label", { className: `fm-radio ${
|
|
619
|
+
}) => /* @__PURE__ */ c("label", { className: `fm-radio ${a ? "fm-radio--disabled" : ""} ${r}`.trim(), children: [
|
|
620
620
|
/* @__PURE__ */ e("span", { className: `fm-radio__circle ${i ? "fm-radio__circle--checked" : ""}`, children: i && /* @__PURE__ */ e("span", { className: "fm-radio__dot" }) }),
|
|
621
621
|
/* @__PURE__ */ e(
|
|
622
622
|
"input",
|
|
@@ -624,50 +624,50 @@ const A = ({
|
|
|
624
624
|
type: "radio",
|
|
625
625
|
className: "fm-radio__input",
|
|
626
626
|
checked: i,
|
|
627
|
-
disabled:
|
|
627
|
+
disabled: a,
|
|
628
628
|
onChange: l,
|
|
629
629
|
...t
|
|
630
630
|
}
|
|
631
631
|
),
|
|
632
|
-
|
|
633
|
-
] }),
|
|
634
|
-
step:
|
|
632
|
+
s && /* @__PURE__ */ e("span", { className: "fm-radio__label", children: s })
|
|
633
|
+
] }), y = () => /* @__PURE__ */ e("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1.5 6L6 10.5L14.5 1.5", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), j = ({
|
|
634
|
+
step: s,
|
|
635
635
|
index: i,
|
|
636
|
-
isLast:
|
|
636
|
+
isLast: a
|
|
637
637
|
}) => /* @__PURE__ */ c("div", { className: "fm-stepper__step", children: [
|
|
638
|
-
/* @__PURE__ */ c("div", { className: `fm-stepper__circle fm-stepper__circle--${
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
638
|
+
/* @__PURE__ */ c("div", { className: `fm-stepper__circle fm-stepper__circle--${s.state}`, children: [
|
|
639
|
+
s.state === "done" && /* @__PURE__ */ e(y, {}),
|
|
640
|
+
s.state === "in-process" && /* @__PURE__ */ e("span", { className: "fm-stepper__num", children: i + 1 }),
|
|
641
|
+
s.state === "inactive" && /* @__PURE__ */ e("span", { className: "fm-stepper__num fm-stepper__num--inactive", children: i + 1 })
|
|
642
642
|
] }),
|
|
643
|
-
!
|
|
644
|
-
|
|
645
|
-
] }),
|
|
646
|
-
const
|
|
647
|
-
return /* @__PURE__ */ c("div", { className: `fm-stepper-progress__step fm-stepper-progress__step--${
|
|
648
|
-
/* @__PURE__ */ e("div", { className: "fm-stepper-progress__circle", children: /* @__PURE__ */ e(
|
|
643
|
+
!a && /* @__PURE__ */ e("div", { className: `fm-stepper__line fm-stepper__line--${s.state}` }),
|
|
644
|
+
s.label && /* @__PURE__ */ e("p", { className: `fm-stepper__label fm-stepper__label--${s.state}`, children: s.label })
|
|
645
|
+
] }), me = ({ steps: s, className: i = "" }) => /* @__PURE__ */ e("div", { className: `fm-stepper ${i}`.trim(), children: s.map((a, r) => /* @__PURE__ */ e(j, { step: a, index: r, isLast: r === s.length - 1 }, r)) }), M = () => /* @__PURE__ */ e("svg", { width: "16", height: "12", viewBox: "0 0 16 12", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1.5 6L6 10.5L14.5 1.5", stroke: "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }), W = ({ step: s, isLast: i }) => {
|
|
646
|
+
const a = s.state ?? "inactive";
|
|
647
|
+
return /* @__PURE__ */ c("div", { className: `fm-stepper-progress__step fm-stepper-progress__step--${a}`, children: [
|
|
648
|
+
/* @__PURE__ */ e("div", { className: "fm-stepper-progress__circle", children: /* @__PURE__ */ e(M, {}) }),
|
|
649
649
|
!i && /* @__PURE__ */ e("div", { className: "fm-stepper-progress__line" }),
|
|
650
|
-
/* @__PURE__ */ e("p", { className: "fm-stepper-progress__label", children:
|
|
650
|
+
/* @__PURE__ */ e("p", { className: "fm-stepper-progress__label", children: s.label })
|
|
651
651
|
] });
|
|
652
|
-
},
|
|
653
|
-
avatar:
|
|
652
|
+
}, fe = ({ steps: s, className: i = "" }) => /* @__PURE__ */ e("div", { className: `fm-stepper-progress ${i}`.trim(), children: s.map((a, r) => /* @__PURE__ */ e(W, { step: a, isLast: r === s.length - 1 }, r)) }), _e = ({
|
|
653
|
+
avatar: s,
|
|
654
654
|
name: i,
|
|
655
|
-
role:
|
|
655
|
+
role: a,
|
|
656
656
|
quote: r,
|
|
657
657
|
className: l = ""
|
|
658
658
|
}) => /* @__PURE__ */ c("div", { className: `fm-testimonial ${l}`.trim(), children: [
|
|
659
659
|
/* @__PURE__ */ c("div", { className: "fm-testimonial__author", children: [
|
|
660
|
-
|
|
660
|
+
s ? /* @__PURE__ */ e("img", { className: "fm-testimonial__avatar", src: s, alt: i }) : /* @__PURE__ */ e("div", { className: "fm-testimonial__avatar fm-testimonial__avatar--placeholder", children: i.charAt(0) }),
|
|
661
661
|
/* @__PURE__ */ c("div", { className: "fm-testimonial__meta", children: [
|
|
662
662
|
/* @__PURE__ */ e("p", { className: "fm-testimonial__name", children: i }),
|
|
663
|
-
|
|
663
|
+
a && /* @__PURE__ */ e("p", { className: "fm-testimonial__role", children: a })
|
|
664
664
|
] })
|
|
665
665
|
] }),
|
|
666
666
|
/* @__PURE__ */ e("p", { className: "fm-testimonial__quote", children: r })
|
|
667
|
-
] }),
|
|
668
|
-
icon:
|
|
667
|
+
] }), he = ({
|
|
668
|
+
icon: s,
|
|
669
669
|
title: i,
|
|
670
|
-
description:
|
|
670
|
+
description: a,
|
|
671
671
|
price: r,
|
|
672
672
|
period: l = "/місяць",
|
|
673
673
|
action: t,
|
|
@@ -676,10 +676,10 @@ const A = ({
|
|
|
676
676
|
className: o = ""
|
|
677
677
|
}) => /* @__PURE__ */ c("div", { className: `fm-pricecard ${d ? "fm-pricecard--highlighted" : ""} ${o}`.trim(), children: [
|
|
678
678
|
n && /* @__PURE__ */ e("span", { className: "fm-pricecard__badge", children: n }),
|
|
679
|
-
|
|
679
|
+
s && /* @__PURE__ */ e("div", { className: "fm-pricecard__icon", children: s }),
|
|
680
680
|
/* @__PURE__ */ c("div", { className: "fm-pricecard__info", children: [
|
|
681
681
|
/* @__PURE__ */ e("h3", { className: "fm-pricecard__title", children: i }),
|
|
682
|
-
|
|
682
|
+
a && /* @__PURE__ */ e("p", { className: "fm-pricecard__desc", children: a })
|
|
683
683
|
] }),
|
|
684
684
|
/* @__PURE__ */ c("div", { className: "fm-pricecard__footer", children: [
|
|
685
685
|
r !== void 0 && /* @__PURE__ */ c("div", { className: "fm-pricecard__price", children: [
|
|
@@ -688,28 +688,28 @@ const A = ({
|
|
|
688
688
|
] }),
|
|
689
689
|
t && /* @__PURE__ */ e("div", { className: "fm-pricecard__action", children: t })
|
|
690
690
|
] })
|
|
691
|
-
] }), I = () => /* @__PURE__ */ e("svg", { width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 5L5.5 9.5L13 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
|
|
692
|
-
title:
|
|
691
|
+
] }), I = () => /* @__PURE__ */ e("svg", { width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 5L5.5 9.5L13 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), pe = ({
|
|
692
|
+
title: s = "Базовий",
|
|
693
693
|
amount: i = "₴0",
|
|
694
|
-
period:
|
|
694
|
+
period: a = "/місяць",
|
|
695
695
|
actionLabel: r = "Отримати",
|
|
696
696
|
onAction: l,
|
|
697
697
|
features: t = [],
|
|
698
698
|
className: n = ""
|
|
699
699
|
}) => /* @__PURE__ */ c("div", { className: `fm-price ${n}`.trim(), children: [
|
|
700
|
-
/* @__PURE__ */ e("p", { className: "fm-price__title", children:
|
|
700
|
+
/* @__PURE__ */ e("p", { className: "fm-price__title", children: s }),
|
|
701
701
|
/* @__PURE__ */ c("div", { className: "fm-price__amount-row", children: [
|
|
702
702
|
/* @__PURE__ */ e("span", { className: "fm-price__amount", children: i }),
|
|
703
|
-
/* @__PURE__ */ e("span", { className: "fm-price__period", children:
|
|
703
|
+
/* @__PURE__ */ e("span", { className: "fm-price__period", children: a })
|
|
704
704
|
] }),
|
|
705
705
|
/* @__PURE__ */ e("button", { className: "fm-price__cta", type: "button", onClick: l, children: r }),
|
|
706
706
|
t.length > 0 && /* @__PURE__ */ e("ul", { className: "fm-price__features", children: t.map((d, o) => /* @__PURE__ */ c("li", { className: "fm-price__feature", children: [
|
|
707
707
|
/* @__PURE__ */ e("div", { className: "fm-price__check", children: /* @__PURE__ */ e(I, {}) }),
|
|
708
708
|
/* @__PURE__ */ e("span", { children: d })
|
|
709
709
|
] }, o)) })
|
|
710
|
-
] }), P = () => /* @__PURE__ */ e("svg", { width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 5L5.5 9.5L13 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }),
|
|
710
|
+
] }), P = () => /* @__PURE__ */ e("svg", { width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 5L5.5 9.5L13 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), Ne = ({ children: s, className: i = "" }) => /* @__PURE__ */ c("div", { className: `fm-list-item ${i}`.trim(), children: [
|
|
711
711
|
/* @__PURE__ */ e("div", { className: "fm-list-item__check", children: /* @__PURE__ */ e(P, {}) }),
|
|
712
|
-
/* @__PURE__ */ e("span", { className: "fm-list-item__text", children:
|
|
712
|
+
/* @__PURE__ */ e("span", { className: "fm-list-item__text", children: s })
|
|
713
713
|
] }), D = () => /* @__PURE__ */ c("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", children: [
|
|
714
714
|
/* @__PURE__ */ e("path", { d: "M8 1L9.5 6.5L15 8L9.5 9.5L8 15L6.5 9.5L1 8L6.5 6.5L8 1Z", fill: "url(#fm-sparkle-grad)" }),
|
|
715
715
|
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ c("linearGradient", { id: "fm-sparkle-grad", x1: "0", y1: "0", x2: "16", y2: "16", gradientUnits: "userSpaceOnUse", children: [
|
|
@@ -717,67 +717,67 @@ const A = ({
|
|
|
717
717
|
/* @__PURE__ */ e("stop", { offset: "100%", stopColor: "#ffa8f1" })
|
|
718
718
|
] }) })
|
|
719
719
|
] }), u = ({
|
|
720
|
-
label:
|
|
720
|
+
label: s = "АІ-помічник для кар'єрного розвитку",
|
|
721
721
|
showIcon: i = !0,
|
|
722
|
-
className:
|
|
723
|
-
}) => /* @__PURE__ */ c("div", { className: `fm-tag-big ${
|
|
722
|
+
className: a = ""
|
|
723
|
+
}) => /* @__PURE__ */ c("div", { className: `fm-tag-big ${a}`.trim(), children: [
|
|
724
724
|
i && /* @__PURE__ */ e("span", { className: "fm-tag-big__icon", children: /* @__PURE__ */ e(D, {}) }),
|
|
725
|
-
/* @__PURE__ */ e("span", { className: "fm-tag-big__label", children:
|
|
726
|
-
] }),
|
|
727
|
-
tag:
|
|
725
|
+
/* @__PURE__ */ e("span", { className: "fm-tag-big__label", children: s })
|
|
726
|
+
] }), ue = ({
|
|
727
|
+
tag: s = "Можливості платформи",
|
|
728
728
|
showTag: i = !0,
|
|
729
|
-
title:
|
|
729
|
+
title: a = "Все для твоєї кар'єри",
|
|
730
730
|
subtitle: r = "Комплексна платформа для пошуку роботи, навчання та професійного розвитку",
|
|
731
731
|
showSubtitle: l = !0,
|
|
732
732
|
variant: t = "centered",
|
|
733
733
|
className: n = ""
|
|
734
734
|
}) => /* @__PURE__ */ e("div", { className: `fm-section-title fm-section-title--${t} ${n}`.trim(), children: t === "split" ? /* @__PURE__ */ c(_, { children: [
|
|
735
735
|
/* @__PURE__ */ c("div", { className: "fm-section-title__left", children: [
|
|
736
|
-
i && /* @__PURE__ */ e(u, { label:
|
|
737
|
-
/* @__PURE__ */ e("h2", { className: "fm-section-title__heading", children:
|
|
736
|
+
i && /* @__PURE__ */ e(u, { label: s, showIcon: !1 }),
|
|
737
|
+
/* @__PURE__ */ e("h2", { className: "fm-section-title__heading", children: a })
|
|
738
738
|
] }),
|
|
739
739
|
l && /* @__PURE__ */ e("p", { className: "fm-section-title__subtitle", children: r })
|
|
740
740
|
] }) : /* @__PURE__ */ c(_, { children: [
|
|
741
|
-
i && /* @__PURE__ */ e(u, { label:
|
|
742
|
-
/* @__PURE__ */ e("h2", { className: "fm-section-title__heading", children:
|
|
741
|
+
i && /* @__PURE__ */ e(u, { label: s, showIcon: !1 }),
|
|
742
|
+
/* @__PURE__ */ e("h2", { className: "fm-section-title__heading", children: a }),
|
|
743
743
|
l && /* @__PURE__ */ e("p", { className: "fm-section-title__subtitle", children: r })
|
|
744
|
-
] }) }),
|
|
745
|
-
title:
|
|
744
|
+
] }) }), ve = ({
|
|
745
|
+
title: s = "Привіт!",
|
|
746
746
|
subtitle: i = "Сьогодні чудовий день для кар'єрного зростання.",
|
|
747
|
-
actionLabel:
|
|
747
|
+
actionLabel: a = "Почати тренування",
|
|
748
748
|
showAction: r = !0,
|
|
749
749
|
onAction: l,
|
|
750
750
|
className: t = ""
|
|
751
751
|
}) => /* @__PURE__ */ c("div", { className: `fm-dashboard-title ${t}`.trim(), children: [
|
|
752
752
|
/* @__PURE__ */ c("div", { className: "fm-dashboard-title__text", children: [
|
|
753
|
-
/* @__PURE__ */ e("h1", { className: "fm-dashboard-title__heading", children:
|
|
753
|
+
/* @__PURE__ */ e("h1", { className: "fm-dashboard-title__heading", children: s }),
|
|
754
754
|
/* @__PURE__ */ e("p", { className: "fm-dashboard-title__subtitle", children: i })
|
|
755
755
|
] }),
|
|
756
|
-
r && /* @__PURE__ */ e("button", { className: "fm-dashboard-title__action", type: "button", onClick: l, children:
|
|
757
|
-
] }),
|
|
758
|
-
number:
|
|
756
|
+
r && /* @__PURE__ */ e("button", { className: "fm-dashboard-title__action", type: "button", onClick: l, children: a })
|
|
757
|
+
] }), ge = ({
|
|
758
|
+
number: s = 1,
|
|
759
759
|
title: i = "Пройди тестування",
|
|
760
|
-
content:
|
|
760
|
+
content: a = "АІ аналізує твої навички, інтерес та досвід",
|
|
761
761
|
style: r = "select",
|
|
762
762
|
className: l = ""
|
|
763
763
|
}) => /* @__PURE__ */ c("div", { className: `fm-process-step fm-process-step--${r} ${l}`.trim(), children: [
|
|
764
|
-
/* @__PURE__ */ e("div", { className: "fm-process-step__number", children: /* @__PURE__ */ e("span", { children:
|
|
764
|
+
/* @__PURE__ */ e("div", { className: "fm-process-step__number", children: /* @__PURE__ */ e("span", { children: s }) }),
|
|
765
765
|
/* @__PURE__ */ c("div", { className: "fm-process-step__body", children: [
|
|
766
766
|
/* @__PURE__ */ e("h3", { className: "fm-process-step__title", children: i }),
|
|
767
|
-
/* @__PURE__ */ e("p", { className: "fm-process-step__content", children:
|
|
767
|
+
/* @__PURE__ */ e("p", { className: "fm-process-step__content", children: a })
|
|
768
768
|
] })
|
|
769
|
-
] }),
|
|
770
|
-
/* @__PURE__ */ e("div", { className: `fm-tasks-widget__checkbox ${
|
|
771
|
-
/* @__PURE__ */ e("span", { className: `fm-tasks-widget__label ${
|
|
772
|
-
|
|
773
|
-
] }, r)) }),
|
|
774
|
-
placeholder:
|
|
769
|
+
] }), q = () => /* @__PURE__ */ e("svg", { width: "14", height: "10", viewBox: "0 0 14 10", fill: "none", children: /* @__PURE__ */ e("path", { d: "M1 5L5.5 9.5L13 1", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }), ke = ({ tasks: s, className: i = "" }) => /* @__PURE__ */ e("div", { className: `fm-tasks-widget ${i}`.trim(), children: s.map((a, r) => /* @__PURE__ */ c("div", { className: "fm-tasks-widget__row", children: [
|
|
770
|
+
/* @__PURE__ */ e("div", { className: `fm-tasks-widget__checkbox ${a.done ? "fm-tasks-widget__checkbox--done" : ""}`, children: a.done && /* @__PURE__ */ e(q, {}) }),
|
|
771
|
+
/* @__PURE__ */ e("span", { className: `fm-tasks-widget__label ${a.done ? "fm-tasks-widget__label--done" : ""}`, children: a.label }),
|
|
772
|
+
a.time && /* @__PURE__ */ e("span", { className: "fm-tasks-widget__tag", children: a.time })
|
|
773
|
+
] }, r)) }), we = ({
|
|
774
|
+
placeholder: s = "Ваша електронна пошта",
|
|
775
775
|
buttonLabel: i = "Почати безкоштовно",
|
|
776
|
-
onSubmit:
|
|
776
|
+
onSubmit: a,
|
|
777
777
|
className: r = ""
|
|
778
778
|
}) => {
|
|
779
779
|
const [l, t] = v(""), n = (d) => {
|
|
780
|
-
d.preventDefault(),
|
|
780
|
+
d.preventDefault(), a == null || a(l);
|
|
781
781
|
};
|
|
782
782
|
return /* @__PURE__ */ c("form", { className: `fm-signup-form ${r}`.trim(), onSubmit: n, children: [
|
|
783
783
|
/* @__PURE__ */ e(
|
|
@@ -785,92 +785,94 @@ const A = ({
|
|
|
785
785
|
{
|
|
786
786
|
type: "email",
|
|
787
787
|
className: "fm-signup-form__input",
|
|
788
|
-
placeholder:
|
|
788
|
+
placeholder: s,
|
|
789
789
|
value: l,
|
|
790
790
|
onChange: (d) => t(d.target.value)
|
|
791
791
|
}
|
|
792
792
|
),
|
|
793
793
|
/* @__PURE__ */ e("button", { type: "submit", className: "fm-signup-form__btn", children: i })
|
|
794
794
|
] });
|
|
795
|
-
},
|
|
796
|
-
icon:
|
|
795
|
+
}, be = ({
|
|
796
|
+
icon: s,
|
|
797
797
|
title: i = "Базовий",
|
|
798
|
-
description:
|
|
798
|
+
description: a = "Ідеальний старт для знайомства з платформою та визначення кар'єрного напрямку.",
|
|
799
799
|
variant: r = "default",
|
|
800
800
|
className: l = ""
|
|
801
801
|
}) => /* @__PURE__ */ c("div", { className: `fm-tariffs fm-tariffs--${r} ${l}`.trim(), children: [
|
|
802
|
-
|
|
802
|
+
s && /* @__PURE__ */ e("div", { className: "fm-tariffs__icon", children: s }),
|
|
803
803
|
/* @__PURE__ */ c("div", { className: "fm-tariffs__body", children: [
|
|
804
804
|
/* @__PURE__ */ e("p", { className: "fm-tariffs__title", children: i }),
|
|
805
|
-
/* @__PURE__ */ e("p", { className: "fm-tariffs__desc", children:
|
|
805
|
+
/* @__PURE__ */ e("p", { className: "fm-tariffs__desc", children: a })
|
|
806
806
|
] })
|
|
807
|
-
] }),
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
/* @__PURE__ */ e("
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
807
|
+
] }), T = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", children: /* @__PURE__ */ e("path", { d: "M9 3.5V14.5M3.5 9H14.5", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round" }) }), S = () => /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 18 18", fill: "none", children: /* @__PURE__ */ e("path", { d: "M4.5 4.5L13.5 13.5M13.5 4.5L4.5 13.5", stroke: "white", strokeWidth: "1.5", strokeLinecap: "round" }) }), Le = ({
|
|
808
|
+
title: s = "Що таке Rework?",
|
|
809
|
+
text: i = "Rework — це AI-платформа для кар'єрного розвитку, яка допомагає знайти нову професію через персоналізовані тести, симуляції співбесід та розумні рекомендації вакансій.",
|
|
810
|
+
open: a = !1,
|
|
811
|
+
state: r = "default",
|
|
812
|
+
onClick: l,
|
|
813
|
+
className: t = ""
|
|
814
|
+
}) => /* @__PURE__ */ c(
|
|
815
|
+
"div",
|
|
816
|
+
{
|
|
817
|
+
className: [
|
|
818
|
+
"fm-question",
|
|
819
|
+
a ? "fm-question--open" : "",
|
|
820
|
+
!a && r === "hover" ? "fm-question--hover" : "",
|
|
821
|
+
t
|
|
822
|
+
].filter(Boolean).join(" "),
|
|
823
|
+
onClick: l,
|
|
824
|
+
role: "button",
|
|
825
|
+
tabIndex: 0,
|
|
826
|
+
onKeyDown: (n) => n.key === "Enter" && (l == null ? void 0 : l()),
|
|
827
|
+
"aria-expanded": a,
|
|
828
|
+
children: [
|
|
829
|
+
/* @__PURE__ */ c("div", { className: "fm-question__content", children: [
|
|
830
|
+
/* @__PURE__ */ e("p", { className: "fm-question__title", children: s }),
|
|
831
|
+
a && /* @__PURE__ */ e("p", { className: "fm-question__text", children: i })
|
|
832
|
+
] }),
|
|
833
|
+
/* @__PURE__ */ e("span", { className: `fm-question__icon ${a ? "fm-question__icon--open" : ""}`, children: a ? /* @__PURE__ */ e(S, {}) : /* @__PURE__ */ e(T, {}) })
|
|
834
|
+
]
|
|
835
|
+
}
|
|
836
|
+
);
|
|
835
837
|
export {
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
838
|
+
E as Button,
|
|
839
|
+
ce as CalendarWidget,
|
|
840
|
+
Q as CardCareer,
|
|
841
|
+
K as CardTest,
|
|
842
|
+
O as Checkbox,
|
|
843
|
+
ve as DashboardTitle,
|
|
844
|
+
ne as DatePicker,
|
|
845
|
+
te as Dropdown,
|
|
846
|
+
G as Footer,
|
|
847
|
+
se as GeneralNewsWidget,
|
|
848
|
+
U as Header,
|
|
847
849
|
N as IconButton,
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
850
|
+
H as Input,
|
|
851
|
+
Ne as ListItem,
|
|
852
|
+
z as NavBar,
|
|
853
|
+
Z as NavItem,
|
|
854
|
+
ie as NotesWidget,
|
|
855
|
+
X as Pagination,
|
|
856
|
+
re as PersonalAdviceWidget,
|
|
857
|
+
ae as PlatformNewsWidget,
|
|
858
|
+
pe as Price,
|
|
859
|
+
he as PriceCard,
|
|
860
|
+
ge as ProcessStep,
|
|
861
|
+
Le as Question,
|
|
862
|
+
oe as RadioButton,
|
|
863
|
+
le as Search,
|
|
864
|
+
ue as SectionTitle,
|
|
865
|
+
J as SegmentedControl,
|
|
866
|
+
we as SignupForm,
|
|
867
|
+
me as Stepper,
|
|
868
|
+
fe as StepperProgress,
|
|
867
869
|
F as Tag,
|
|
868
870
|
u as TagBig,
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
871
|
+
be as Tariffs,
|
|
872
|
+
ke as TasksWidget,
|
|
873
|
+
_e as TestimonialCard,
|
|
874
|
+
de as TimePicker,
|
|
875
|
+
V as Toggle,
|
|
876
|
+
ee as WidgetCard,
|
|
877
|
+
Y as WidgetHeader
|
|
876
878
|
};
|