mimir-ui-kit 1.43.1 → 1.43.3
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/assets/Slider.css +1 -1
- package/dist/components/DatePicker/DatePicker.js +199 -135
- package/dist/components/DatePicker/DatePickerModal.d.ts +2 -1
- package/dist/components/DatePicker/DatePickerModal.js +75 -74
- package/dist/components/DatePicker/MonthPickerModal.d.ts +3 -1
- package/dist/components/DatePicker/MonthPickerModal.js +74 -72
- package/dist/components/DatePicker/YearPickerModal.d.ts +3 -1
- package/dist/components/DatePicker/YearPickerModal.js +73 -63
- package/dist/components/Slider/Slider.d.ts +14 -1
- package/dist/components/Slider/Slider.js +175 -134
- package/package.json +1 -1
@@ -1,62 +1,72 @@
|
|
1
|
-
import { jsxs as
|
2
|
-
import { c as
|
3
|
-
import { useState as
|
4
|
-
import { useDatePickerPosition as
|
5
|
-
import { c as
|
6
|
-
import { formating as
|
7
|
-
import { Button as
|
8
|
-
const
|
9
|
-
date:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
1
|
+
import { jsxs as b, jsx as c } from "react/jsx-runtime";
|
2
|
+
import { c as $ } from "../../index-DIxK0V-G.js";
|
3
|
+
import { useState as j } from "react";
|
4
|
+
import { useDatePickerPosition as z } from "./hooks.js";
|
5
|
+
import { c as n } from "../../styles.module-Cuqm31CO.js";
|
6
|
+
import { formating as F } from "../../utils/index.js";
|
7
|
+
import { Button as P } from "../Button/Button.js";
|
8
|
+
const p = 15, I = 7, W = ({
|
9
|
+
date: v,
|
10
|
+
selectedDate: u,
|
11
|
+
onChangeValue: E,
|
12
|
+
before: Y,
|
13
|
+
onChangeType: d,
|
14
|
+
onChangeYear: N,
|
15
|
+
disableFuture: S = !1,
|
16
|
+
disablePast: _ = !1,
|
17
|
+
disabledDate: o,
|
18
|
+
validRange: k
|
17
19
|
}) => {
|
18
|
-
const
|
19
|
-
y:
|
20
|
-
d:
|
21
|
-
m:
|
22
|
-
},
|
23
|
-
y:
|
24
|
-
d:
|
25
|
-
m:
|
26
|
-
}, [
|
27
|
-
(t) => t +
|
28
|
-
),
|
29
|
-
|
20
|
+
const y = z(), i = new Date(v), l = u ? new Date(u) : i, G = {
|
21
|
+
y: l.getFullYear(),
|
22
|
+
d: l.getDate(),
|
23
|
+
m: l.getMonth() + 1
|
24
|
+
}, e = {
|
25
|
+
y: i.getFullYear(),
|
26
|
+
d: i.getDate(),
|
27
|
+
m: i.getMonth() + 1
|
28
|
+
}, [D, h] = j(e.y), M = D - I, Q = Array.from(Array(p).keys()).map(
|
29
|
+
(t) => t + M
|
30
|
+
), B = () => {
|
31
|
+
h(D + p);
|
30
32
|
}, H = () => {
|
31
|
-
|
33
|
+
h(D - p);
|
32
34
|
}, g = (t) => {
|
33
|
-
const
|
34
|
-
if (
|
35
|
-
const [
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
35
|
+
const s = (/* @__PURE__ */ new Date()).getFullYear();
|
36
|
+
if (k) {
|
37
|
+
const [a, w] = k;
|
38
|
+
let r;
|
39
|
+
if (e.m && e.d)
|
40
|
+
r = new Date(t, e.m - 1, e.d);
|
41
|
+
else {
|
42
|
+
const A = /* @__PURE__ */ new Date();
|
43
|
+
r = new Date(t, A.getMonth(), A.getDate());
|
44
|
+
}
|
45
|
+
r.setHours(0, 0, 0, 0);
|
46
|
+
const m = new Date(a), f = new Date(w);
|
47
|
+
if (m.setHours(0, 0, 0, 0), f.setHours(23, 59, 59, 999), r < m || r > f)
|
48
|
+
return !0;
|
41
49
|
}
|
42
|
-
if (
|
50
|
+
if (Y && Y.getFullYear() > t || S && t > s || _ && t < s)
|
43
51
|
return !0;
|
44
|
-
if (
|
45
|
-
const
|
46
|
-
|
52
|
+
if (o) {
|
53
|
+
const a = new Date(t, e.m - 1, e.d);
|
54
|
+
if (!o(a)) return !1;
|
55
|
+
const w = new Date(t, 2, 15), r = new Date(t, 5, 15), m = new Date(t, 8, 15), f = new Date(t, 11, 15);
|
56
|
+
return o(w) && o(r) && o(m) && o(f);
|
47
57
|
}
|
48
58
|
return !1;
|
49
|
-
},
|
50
|
-
g(t) ||
|
59
|
+
}, R = (t) => {
|
60
|
+
g(t) || (N ? N(t) : E(
|
51
61
|
/* @__PURE__ */ new Date(
|
52
|
-
`${t}-${
|
62
|
+
`${t}-${F.Number(2, e.m)}-${F.Number(2, e.d)}`
|
53
63
|
)
|
54
|
-
);
|
64
|
+
));
|
55
65
|
};
|
56
|
-
return /* @__PURE__ */
|
57
|
-
/* @__PURE__ */
|
58
|
-
/* @__PURE__ */
|
59
|
-
|
66
|
+
return /* @__PURE__ */ b("div", { className: n["calendar-block"], ref: y, children: [
|
67
|
+
/* @__PURE__ */ b("div", { className: n.h, children: [
|
68
|
+
/* @__PURE__ */ c(
|
69
|
+
P,
|
60
70
|
{
|
61
71
|
isIconButton: !0,
|
62
72
|
iconName: "DropdownArrowLeft16px",
|
@@ -65,39 +75,39 @@ const D = 15, z = 7, W = ({
|
|
65
75
|
size: "l"
|
66
76
|
}
|
67
77
|
),
|
68
|
-
/* @__PURE__ */
|
78
|
+
/* @__PURE__ */ c(
|
69
79
|
"button",
|
70
80
|
{
|
71
81
|
type: "button",
|
72
|
-
onClick: () =>
|
73
|
-
className:
|
82
|
+
onClick: () => d == null ? void 0 : d("years"),
|
83
|
+
className: n.d
|
74
84
|
}
|
75
85
|
),
|
76
|
-
/* @__PURE__ */
|
77
|
-
|
86
|
+
/* @__PURE__ */ c(
|
87
|
+
P,
|
78
88
|
{
|
79
89
|
isIconButton: !0,
|
80
90
|
iconName: "DropdownArrowRight16px",
|
81
|
-
onClick:
|
91
|
+
onClick: B,
|
82
92
|
variant: "secondary-gray",
|
83
93
|
size: "l"
|
84
94
|
}
|
85
95
|
)
|
86
96
|
] }),
|
87
|
-
/* @__PURE__ */
|
88
|
-
const
|
89
|
-
return /* @__PURE__ */
|
97
|
+
/* @__PURE__ */ c("div", { className: n.monthGrid, "data-testid": "year-picker", children: Q.map((t, x) => {
|
98
|
+
const s = g(t);
|
99
|
+
return /* @__PURE__ */ c(
|
90
100
|
"button",
|
91
101
|
{
|
92
102
|
type: "button",
|
93
|
-
onClick: () =>
|
94
|
-
disabled:
|
95
|
-
className:
|
96
|
-
[
|
103
|
+
onClick: () => R(t),
|
104
|
+
disabled: s,
|
105
|
+
className: $(s ? n.m : n.a, {
|
106
|
+
[n.current]: u && G.y === t
|
97
107
|
}),
|
98
108
|
children: t
|
99
109
|
},
|
100
|
-
|
110
|
+
x
|
101
111
|
);
|
102
112
|
}) })
|
103
113
|
] });
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { ReactNode } from 'react';
|
2
2
|
import { SwiperProps } from 'swiper/react';
|
3
3
|
import { EProgressBarPosition } from './constants';
|
4
|
+
import { TButtonPropsWithoutStyles } from '../MergedButton';
|
4
5
|
|
5
6
|
export type TSlideImage = {
|
6
7
|
image?: string;
|
@@ -62,6 +63,10 @@ type TProps = SwiperProps & {
|
|
62
63
|
* Дополнительные классы для нижней панели
|
63
64
|
*/
|
64
65
|
sliderBottomPanelClassName?: string;
|
66
|
+
/**
|
67
|
+
* Дополнительные классы для контента панели навигации.
|
68
|
+
*/
|
69
|
+
navigationContentClassName?: string;
|
65
70
|
/**
|
66
71
|
* Дополнительные классы для описания слайдов
|
67
72
|
*/
|
@@ -70,10 +75,18 @@ type TProps = SwiperProps & {
|
|
70
75
|
* Контент для слайдера.
|
71
76
|
*/
|
72
77
|
children?: ReactNode | ((props: TSlideImage) => ReactNode);
|
78
|
+
/**
|
79
|
+
* Контент для панели навигации.
|
80
|
+
*/
|
81
|
+
navigationContent?: ReactNode;
|
82
|
+
/**
|
83
|
+
* Вариант кнопок навигации.
|
84
|
+
*/
|
85
|
+
buttonsVariant?: TButtonPropsWithoutStyles['variant'];
|
73
86
|
/**
|
74
87
|
* Массив данных для отрисовки слайдов.
|
75
88
|
*/
|
76
89
|
images?: TSlideImage[];
|
77
90
|
};
|
78
|
-
export default function Slider({ images, children, gap, onSlideClick, swiperClassName, slideClassName, imageClassName, navigationClassName, sliderBottomPanelClassName, descriptionsClassName, progressBarPosition, isFullPaginationWidth, needNavigation, leftDescription, rightDescription, delay, ...props }: TProps): import("react/jsx-runtime").JSX.Element;
|
91
|
+
export default function Slider({ images, children, gap, onSlideClick, swiperClassName, slideClassName, imageClassName, navigationClassName, navigationContent, sliderBottomPanelClassName, descriptionsClassName, navigationContentClassName, buttonsVariant, progressBarPosition, isFullPaginationWidth, needNavigation, leftDescription, rightDescription, delay, ...props }: TProps): import("react/jsx-runtime").JSX.Element;
|
79
92
|
export {};
|
@@ -1,203 +1,244 @@
|
|
1
|
-
import { jsx as
|
2
|
-
import { c as
|
3
|
-
import { memo as
|
4
|
-
import { u as
|
5
|
-
import { EProgressBarPosition as
|
6
|
-
import { formatSlideNumber as
|
7
|
-
import { AppImage as
|
8
|
-
import { MergedButton as
|
9
|
-
import '../../assets/Slider.css';const
|
10
|
-
swiper:
|
11
|
-
slide:
|
12
|
-
link:
|
13
|
-
image:
|
14
|
-
navigation:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
"progress-bar": "_progress-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
1
|
+
import { jsx as s, jsxs as o, Fragment as N } from "react/jsx-runtime";
|
2
|
+
import { c as a } from "../../index-DIxK0V-G.js";
|
3
|
+
import { memo as F, useCallback as u, useMemo as X, forwardRef as Z, useRef as B, useState as V, Children as I } from "react";
|
4
|
+
import { u as W, S as ee, A as se, a as T } from "../../swiper-react-BvAw14a4.js";
|
5
|
+
import { EProgressBarPosition as S } from "./constants.js";
|
6
|
+
import { formatSlideNumber as O } from "./utils.js";
|
7
|
+
import { AppImage as P } from "../Image/Image.js";
|
8
|
+
import { MergedButton as re } from "../MergedButton/MergedButton.js";
|
9
|
+
import '../../assets/Slider.css';const te = "_swiper_zqjj3_2", ne = "_slide_zqjj3_8", ae = "_link_zqjj3_15", oe = "_image_zqjj3_21", ie = "_navigation_zqjj3_28", le = "_pagination_zqjj3_46", ce = "_slides_zqjj3_65", de = "_separator_zqjj3_71", pe = "_progress_zqjj3_78", ue = "_descriptions_zqjj3_95", e = {
|
10
|
+
swiper: te,
|
11
|
+
slide: ne,
|
12
|
+
link: ae,
|
13
|
+
image: oe,
|
14
|
+
navigation: ie,
|
15
|
+
"navigation-content": "_navigation-content_zqjj3_37",
|
16
|
+
pagination: le,
|
17
|
+
"is-full": "_is-full_zqjj3_60",
|
18
|
+
slides: ce,
|
19
|
+
separator: de,
|
20
|
+
progress: pe,
|
21
|
+
"progress-bar-bottom": "_progress-bar-bottom_zqjj3_85",
|
22
|
+
"progress-bar": "_progress-bar_zqjj3_85",
|
23
|
+
descriptions: ue
|
24
|
+
}, me = 15e3, E = F(
|
25
|
+
({
|
26
|
+
variant: t = "white"
|
27
|
+
}) => {
|
28
|
+
const n = W(), p = u(() => {
|
29
|
+
n.slideNext();
|
30
|
+
}, [n]), c = u(() => {
|
31
|
+
n.slidePrev();
|
32
|
+
}, [n]), m = X(
|
33
|
+
() => [
|
34
|
+
{
|
35
|
+
isIconButton: !0,
|
36
|
+
iconName: "ArrowLeft16px",
|
37
|
+
variant: t,
|
38
|
+
onClick: c
|
39
|
+
},
|
40
|
+
{
|
41
|
+
isIconButton: !0,
|
42
|
+
iconName: "ArrowRight16px",
|
43
|
+
variant: t,
|
44
|
+
onClick: p
|
45
|
+
}
|
46
|
+
],
|
47
|
+
[c, t, p]
|
48
|
+
);
|
49
|
+
return /* @__PURE__ */ s(re, { buttons: m });
|
50
|
+
}
|
51
|
+
), b = F(
|
52
|
+
Z((t, n) => /* @__PURE__ */ s(
|
48
53
|
"div",
|
49
54
|
{
|
50
55
|
"data-testid": "progress-bar-wrapper",
|
51
|
-
className:
|
52
|
-
children: /* @__PURE__ */
|
56
|
+
className: a(e.progress, t == null ? void 0 : t.className),
|
57
|
+
children: /* @__PURE__ */ s(
|
53
58
|
"div",
|
54
59
|
{
|
55
|
-
ref:
|
56
|
-
className:
|
60
|
+
ref: n,
|
61
|
+
className: e["progress-bar"],
|
57
62
|
"data-testid": "progress-bar"
|
58
63
|
}
|
59
64
|
)
|
60
65
|
}
|
61
66
|
))
|
62
67
|
);
|
63
|
-
function
|
64
|
-
images:
|
65
|
-
children:
|
66
|
-
gap:
|
67
|
-
onSlideClick:
|
68
|
-
swiperClassName:
|
69
|
-
slideClassName:
|
70
|
-
imageClassName:
|
71
|
-
navigationClassName:
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
68
|
+
function qe({
|
69
|
+
images: t,
|
70
|
+
children: n,
|
71
|
+
gap: p,
|
72
|
+
onSlideClick: c,
|
73
|
+
swiperClassName: m,
|
74
|
+
slideClassName: q,
|
75
|
+
imageClassName: z,
|
76
|
+
navigationClassName: L,
|
77
|
+
navigationContent: _,
|
78
|
+
sliderBottomPanelClassName: M,
|
79
|
+
descriptionsClassName: R,
|
80
|
+
navigationContentClassName: $,
|
81
|
+
buttonsVariant: v,
|
82
|
+
progressBarPosition: f = "top",
|
83
|
+
isFullPaginationWidth: k = !1,
|
84
|
+
needNavigation: i = !0,
|
85
|
+
leftDescription: C,
|
86
|
+
rightDescription: y,
|
87
|
+
delay: D = me,
|
88
|
+
...U
|
81
89
|
}) {
|
82
|
-
const
|
83
|
-
|
84
|
-
),
|
85
|
-
if (
|
86
|
-
const r =
|
87
|
-
|
90
|
+
const d = B(null), h = B(null), [Y, G] = V(1), j = !(typeof n == "function") && !!n, H = j ? I.count(n) : 0, J = (t == null ? void 0 : t.length) ?? 0, A = O(Y), x = O(
|
91
|
+
j ? H : J
|
92
|
+
), K = u(() => {
|
93
|
+
if (h.current && i) {
|
94
|
+
const r = h.current.swiper;
|
95
|
+
G(r.realIndex + 1);
|
88
96
|
}
|
89
|
-
}, [
|
90
|
-
(r,
|
91
|
-
if (
|
92
|
-
const
|
93
|
-
|
97
|
+
}, [i]), Q = u(
|
98
|
+
(r, l) => {
|
99
|
+
if (d.current && i) {
|
100
|
+
const g = r.params.autoplay.delay, w = l / g * 100;
|
101
|
+
d.current.style.width = `${100 - w}%`;
|
94
102
|
}
|
95
103
|
},
|
96
|
-
[
|
104
|
+
[i]
|
97
105
|
);
|
98
|
-
return /* @__PURE__ */
|
99
|
-
|
106
|
+
return /* @__PURE__ */ o(
|
107
|
+
ee,
|
100
108
|
{
|
101
|
-
...
|
102
|
-
ref:
|
103
|
-
className:
|
109
|
+
...U,
|
110
|
+
ref: h,
|
111
|
+
className: a(e.swiper, m),
|
104
112
|
loop: !0,
|
105
|
-
spaceBetween:
|
113
|
+
spaceBetween: p,
|
106
114
|
autoplay: {
|
107
|
-
delay:
|
115
|
+
delay: D,
|
108
116
|
disableOnInteraction: !1
|
109
117
|
},
|
110
118
|
fadeEffect: {
|
111
119
|
crossFade: !0
|
112
120
|
},
|
113
|
-
modules: [
|
114
|
-
onAutoplayTimeLeft:
|
115
|
-
onSlideChange:
|
121
|
+
modules: [se],
|
122
|
+
onAutoplayTimeLeft: Q,
|
123
|
+
onSlideChange: K,
|
116
124
|
children: [
|
117
|
-
/* @__PURE__ */
|
125
|
+
/* @__PURE__ */ s(
|
118
126
|
"div",
|
119
127
|
{
|
120
|
-
className:
|
128
|
+
className: a(e.navigation, L, {
|
129
|
+
[e["navigation-with-content"]]: !!_
|
130
|
+
}),
|
121
131
|
slot: "container-start",
|
122
|
-
children:
|
123
|
-
/* @__PURE__ */
|
132
|
+
children: _ ? /* @__PURE__ */ o(N, { children: [
|
133
|
+
/* @__PURE__ */ o(
|
134
|
+
"div",
|
135
|
+
{
|
136
|
+
className: a(
|
137
|
+
e["navigation-content"],
|
138
|
+
$
|
139
|
+
),
|
140
|
+
children: [
|
141
|
+
_,
|
142
|
+
i && /* @__PURE__ */ o(
|
143
|
+
"div",
|
144
|
+
{
|
145
|
+
"data-testid": "pagination",
|
146
|
+
className: a(e.pagination, {
|
147
|
+
[e["is-full"]]: k
|
148
|
+
}),
|
149
|
+
children: [
|
150
|
+
/* @__PURE__ */ o("h2", { className: e.slides, children: [
|
151
|
+
A,
|
152
|
+
/* @__PURE__ */ s("span", { className: e.separator }),
|
153
|
+
x
|
154
|
+
] }),
|
155
|
+
/* @__PURE__ */ s(E, { variant: v })
|
156
|
+
]
|
157
|
+
}
|
158
|
+
)
|
159
|
+
]
|
160
|
+
}
|
161
|
+
),
|
162
|
+
f === S.TOP && i && /* @__PURE__ */ s(b, { ref: d })
|
163
|
+
] }) : /* @__PURE__ */ s(N, { children: i && /* @__PURE__ */ o(N, { children: [
|
164
|
+
/* @__PURE__ */ o(
|
124
165
|
"div",
|
125
166
|
{
|
126
167
|
"data-testid": "pagination",
|
127
|
-
className:
|
128
|
-
[
|
168
|
+
className: a(e.pagination, {
|
169
|
+
[e["is-full"]]: k
|
129
170
|
}),
|
130
171
|
children: [
|
131
|
-
/* @__PURE__ */
|
132
|
-
|
133
|
-
/* @__PURE__ */
|
134
|
-
|
172
|
+
/* @__PURE__ */ o("h2", { className: e.slides, children: [
|
173
|
+
A,
|
174
|
+
/* @__PURE__ */ s("span", { className: e.separator }),
|
175
|
+
x
|
135
176
|
] }),
|
136
|
-
/* @__PURE__ */
|
177
|
+
/* @__PURE__ */ s(E, { variant: v })
|
137
178
|
]
|
138
179
|
}
|
139
180
|
),
|
140
|
-
|
141
|
-
] })
|
181
|
+
f === S.TOP && /* @__PURE__ */ s(b, { ref: d })
|
182
|
+
] }) })
|
142
183
|
}
|
143
184
|
),
|
144
|
-
|
145
|
-
|
185
|
+
j ? I.map(n, (r, l) => /* @__PURE__ */ s(
|
186
|
+
T,
|
146
187
|
{
|
147
|
-
onClick:
|
148
|
-
"data-testid": `slide-${
|
149
|
-
className:
|
188
|
+
onClick: c,
|
189
|
+
"data-testid": `slide-${l}`,
|
190
|
+
className: a(e.slide, q),
|
150
191
|
children: r
|
151
192
|
},
|
152
|
-
|
153
|
-
)) :
|
193
|
+
l
|
194
|
+
)) : t == null ? void 0 : t.map((r, l) => {
|
154
195
|
if (!r) return null;
|
155
|
-
const
|
196
|
+
const g = /* @__PURE__ */ s(
|
156
197
|
"a",
|
157
198
|
{
|
158
|
-
className:
|
199
|
+
className: e.link,
|
159
200
|
href: r.url,
|
160
201
|
rel: "noopener noreferrer",
|
161
202
|
target: "_blank",
|
162
|
-
children: /* @__PURE__ */
|
163
|
-
|
203
|
+
children: /* @__PURE__ */ s(
|
204
|
+
P,
|
164
205
|
{
|
165
|
-
className:
|
206
|
+
className: a(e.image, z),
|
166
207
|
src: r.image
|
167
208
|
}
|
168
209
|
)
|
169
210
|
}
|
170
|
-
),
|
171
|
-
|
211
|
+
), w = () => typeof n == "function" ? n(r) : r.url ? g : /* @__PURE__ */ s(
|
212
|
+
P,
|
172
213
|
{
|
173
|
-
className:
|
214
|
+
className: a(e.image, z),
|
174
215
|
src: r.image,
|
175
216
|
desktopImage: r.imageDesktop,
|
176
217
|
mobileImage: r.imageMobile
|
177
218
|
}
|
178
219
|
);
|
179
|
-
return /* @__PURE__ */
|
180
|
-
|
220
|
+
return /* @__PURE__ */ s(
|
221
|
+
T,
|
181
222
|
{
|
182
|
-
"data-testid": `slide-${
|
183
|
-
onClick:
|
184
|
-
className:
|
185
|
-
children:
|
223
|
+
"data-testid": `slide-${l}`,
|
224
|
+
onClick: c,
|
225
|
+
className: a(e.slide, q),
|
226
|
+
children: w()
|
186
227
|
},
|
187
228
|
r.id
|
188
229
|
);
|
189
230
|
}),
|
190
|
-
|
191
|
-
/* @__PURE__ */
|
192
|
-
|
231
|
+
f === S.BOTTOM && /* @__PURE__ */ o("div", { className: M, children: [
|
232
|
+
/* @__PURE__ */ s(
|
233
|
+
b,
|
193
234
|
{
|
194
|
-
ref:
|
195
|
-
className:
|
235
|
+
ref: d,
|
236
|
+
className: e["progress-bar-bottom"]
|
196
237
|
}
|
197
238
|
),
|
198
|
-
/* @__PURE__ */
|
199
|
-
|
200
|
-
|
239
|
+
/* @__PURE__ */ o("div", { className: a(e.descriptions, R), children: [
|
240
|
+
C && /* @__PURE__ */ s("div", { "data-testid": "slider-left-description", children: C }),
|
241
|
+
y && /* @__PURE__ */ s("div", { "data-testid": "slider-right-description", children: y })
|
201
242
|
] })
|
202
243
|
] })
|
203
244
|
]
|
@@ -205,5 +246,5 @@ function Se({
|
|
205
246
|
);
|
206
247
|
}
|
207
248
|
export {
|
208
|
-
|
249
|
+
qe as default
|
209
250
|
};
|