mimir-ui-kit 1.41.6 → 1.42.1

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.
@@ -1,80 +1,80 @@
1
- import { jsxs as Y, jsx as L, Fragment as K } from "react/jsx-runtime";
2
- import { c as A } from "../../index-DIxK0V-G.js";
1
+ import { jsxs as Y, jsx as L, Fragment as F } from "react/jsx-runtime";
2
+ import { c as C } from "../../index-DIxK0V-G.js";
3
3
  import { useState as j } from "react";
4
- import { g as R, b as G, e as U, c as $, n as B, d as C, S as q, A as Z, a as J } from "../../swiper-react-BvAw14a4.js";
4
+ import { g as R, b as G, e as U, c as $, n as B, d as A, S as q, A as Z, a as J } from "../../swiper-react-BvAw14a4.js";
5
5
  import { Chip as Q } from "../Chip/Chip.js";
6
6
  import { AppImage as ee } from "../Image/Image.js";
7
7
  import '../../assets/PromoSlider.css';function te(P) {
8
8
  let {
9
9
  swiper: e,
10
- extendParams: S,
11
- on: w,
12
- emit: _
10
+ extendParams: k,
11
+ on: T,
12
+ emit: x
13
13
  } = P;
14
- const c = R(), b = G();
14
+ const p = R(), v = G();
15
15
  e.keyboard = {
16
16
  enabled: !1
17
- }, S({
17
+ }, k({
18
18
  keyboard: {
19
19
  enabled: !1,
20
20
  onlyInViewport: !0,
21
21
  pageUpDown: !0
22
22
  }
23
23
  });
24
- function I(E) {
24
+ function I(n) {
25
25
  if (!e.enabled) return;
26
26
  const {
27
- rtlTranslate: x
27
+ rtlTranslate: u
28
28
  } = e;
29
- let l = E;
30
- l.originalEvent && (l = l.originalEvent);
31
- const T = l.keyCode || l.charCode, H = e.params.keyboard.pageUpDown, h = H && T === 33, v = H && T === 34, y = T === 37, M = T === 39, n = T === 38, s = T === 40;
32
- if (!e.allowSlideNext && (e.isHorizontal() && M || e.isVertical() && s || v) || !e.allowSlidePrev && (e.isHorizontal() && y || e.isVertical() && n || h))
29
+ let o = n;
30
+ o.originalEvent && (o = o.originalEvent);
31
+ const g = o.keyCode || o.charCode, H = e.params.keyboard.pageUpDown, b = H && g === 33, _ = H && g === 34, y = g === 37, M = g === 39, t = g === 38, s = g === 40;
32
+ if (!e.allowSlideNext && (e.isHorizontal() && M || e.isVertical() && s || _) || !e.allowSlidePrev && (e.isHorizontal() && y || e.isVertical() && t || b))
33
33
  return !1;
34
- if (!(l.shiftKey || l.altKey || l.ctrlKey || l.metaKey) && !(c.activeElement && c.activeElement.nodeName && (c.activeElement.nodeName.toLowerCase() === "input" || c.activeElement.nodeName.toLowerCase() === "textarea"))) {
35
- if (e.params.keyboard.onlyInViewport && (h || v || y || M || n || s)) {
34
+ if (!(o.shiftKey || o.altKey || o.ctrlKey || o.metaKey) && !(p.activeElement && p.activeElement.nodeName && (p.activeElement.nodeName.toLowerCase() === "input" || p.activeElement.nodeName.toLowerCase() === "textarea"))) {
35
+ if (e.params.keyboard.onlyInViewport && (b || _ || y || M || t || s)) {
36
36
  let N = !1;
37
37
  if (U(e.el, `.${e.params.slideClass}, swiper-slide`).length > 0 && U(e.el, `.${e.params.slideActiveClass}`).length === 0)
38
38
  return;
39
- const p = e.el, d = p.clientWidth, u = p.clientHeight, a = b.innerWidth, o = b.innerHeight, i = $(p);
40
- x && (i.left -= p.scrollLeft);
41
- const D = [[i.left, i.top], [i.left + d, i.top], [i.left, i.top + u], [i.left + d, i.top + u]];
39
+ const w = e.el, m = w.clientWidth, d = w.clientHeight, a = v.innerWidth, f = v.innerHeight, l = $(w);
40
+ u && (l.left -= w.scrollLeft);
41
+ const D = [[l.left, l.top], [l.left + m, l.top], [l.left, l.top + d], [l.left + m, l.top + d]];
42
42
  for (let r = 0; r < D.length; r += 1) {
43
- const f = D[r];
44
- if (f[0] >= 0 && f[0] <= a && f[1] >= 0 && f[1] <= o) {
45
- if (f[0] === 0 && f[1] === 0) continue;
43
+ const c = D[r];
44
+ if (c[0] >= 0 && c[0] <= a && c[1] >= 0 && c[1] <= f) {
45
+ if (c[0] === 0 && c[1] === 0) continue;
46
46
  N = !0;
47
47
  }
48
48
  }
49
49
  if (!N) return;
50
50
  }
51
- e.isHorizontal() ? ((h || v || y || M) && (l.preventDefault ? l.preventDefault() : l.returnValue = !1), ((v || M) && !x || (h || y) && x) && e.slideNext(), ((h || y) && !x || (v || M) && x) && e.slidePrev()) : ((h || v || n || s) && (l.preventDefault ? l.preventDefault() : l.returnValue = !1), (v || s) && e.slideNext(), (h || n) && e.slidePrev()), _("keyPress", T);
51
+ e.isHorizontal() ? ((b || _ || y || M) && (o.preventDefault ? o.preventDefault() : o.returnValue = !1), ((_ || M) && !u || (b || y) && u) && e.slideNext(), ((b || y) && !u || (_ || M) && u) && e.slidePrev()) : ((b || _ || t || s) && (o.preventDefault ? o.preventDefault() : o.returnValue = !1), (_ || s) && e.slideNext(), (b || t) && e.slidePrev()), x("keyPress", g);
52
52
  }
53
53
  }
54
- function m() {
55
- e.keyboard.enabled || (c.addEventListener("keydown", I), e.keyboard.enabled = !0);
54
+ function h() {
55
+ e.keyboard.enabled || (p.addEventListener("keydown", I), e.keyboard.enabled = !0);
56
56
  }
57
- function t() {
58
- e.keyboard.enabled && (c.removeEventListener("keydown", I), e.keyboard.enabled = !1);
57
+ function i() {
58
+ e.keyboard.enabled && (p.removeEventListener("keydown", I), e.keyboard.enabled = !1);
59
59
  }
60
- w("init", () => {
61
- e.params.keyboard.enabled && m();
62
- }), w("destroy", () => {
63
- e.keyboard.enabled && t();
60
+ T("init", () => {
61
+ e.params.keyboard.enabled && h();
62
+ }), T("destroy", () => {
63
+ e.keyboard.enabled && i();
64
64
  }), Object.assign(e.keyboard, {
65
- enable: m,
66
- disable: t
65
+ enable: h,
66
+ disable: i
67
67
  });
68
68
  }
69
69
  function ne(P) {
70
70
  let {
71
71
  swiper: e,
72
- extendParams: S,
73
- on: w,
74
- emit: _
72
+ extendParams: k,
73
+ on: T,
74
+ emit: x
75
75
  } = P;
76
- const c = G();
77
- S({
76
+ const p = G();
77
+ k({
78
78
  mousewheel: {
79
79
  enabled: !1,
80
80
  releaseOnEdges: !1,
@@ -89,123 +89,123 @@ function ne(P) {
89
89
  }), e.mousewheel = {
90
90
  enabled: !1
91
91
  };
92
- let b, I = C(), m;
93
- const t = [];
94
- function E(n) {
95
- let d = 0, u = 0, a = 0, o = 0;
96
- return "detail" in n && (u = n.detail), "wheelDelta" in n && (u = -n.wheelDelta / 120), "wheelDeltaY" in n && (u = -n.wheelDeltaY / 120), "wheelDeltaX" in n && (d = -n.wheelDeltaX / 120), "axis" in n && n.axis === n.HORIZONTAL_AXIS && (d = u, u = 0), a = d * 10, o = u * 10, "deltaY" in n && (o = n.deltaY), "deltaX" in n && (a = n.deltaX), n.shiftKey && !a && (a = o, o = 0), (a || o) && n.deltaMode && (n.deltaMode === 1 ? (a *= 40, o *= 40) : (a *= 800, o *= 800)), a && !d && (d = a < 1 ? -1 : 1), o && !u && (u = o < 1 ? -1 : 1), {
97
- spinX: d,
98
- spinY: u,
92
+ let v, I = A(), h;
93
+ const i = [];
94
+ function n(t) {
95
+ let m = 0, d = 0, a = 0, f = 0;
96
+ return "detail" in t && (d = t.detail), "wheelDelta" in t && (d = -t.wheelDelta / 120), "wheelDeltaY" in t && (d = -t.wheelDeltaY / 120), "wheelDeltaX" in t && (m = -t.wheelDeltaX / 120), "axis" in t && t.axis === t.HORIZONTAL_AXIS && (m = d, d = 0), a = m * 10, f = d * 10, "deltaY" in t && (f = t.deltaY), "deltaX" in t && (a = t.deltaX), t.shiftKey && !a && (a = f, f = 0), (a || f) && t.deltaMode && (t.deltaMode === 1 ? (a *= 40, f *= 40) : (a *= 800, f *= 800)), a && !m && (m = a < 1 ? -1 : 1), f && !d && (d = f < 1 ? -1 : 1), {
97
+ spinX: m,
98
+ spinY: d,
99
99
  pixelX: a,
100
- pixelY: o
100
+ pixelY: f
101
101
  };
102
102
  }
103
- function x() {
103
+ function u() {
104
104
  e.enabled && (e.mouseEntered = !0);
105
105
  }
106
- function l() {
106
+ function o() {
107
107
  e.enabled && (e.mouseEntered = !1);
108
108
  }
109
- function T(n) {
110
- return e.params.mousewheel.thresholdDelta && n.delta < e.params.mousewheel.thresholdDelta || e.params.mousewheel.thresholdTime && C() - I < e.params.mousewheel.thresholdTime ? !1 : n.delta >= 6 && C() - I < 60 ? !0 : (n.direction < 0 ? (!e.isEnd || e.params.loop) && !e.animating && (e.slideNext(), _("scroll", n.raw)) : (!e.isBeginning || e.params.loop) && !e.animating && (e.slidePrev(), _("scroll", n.raw)), I = new c.Date().getTime(), !1);
109
+ function g(t) {
110
+ return e.params.mousewheel.thresholdDelta && t.delta < e.params.mousewheel.thresholdDelta || e.params.mousewheel.thresholdTime && A() - I < e.params.mousewheel.thresholdTime ? !1 : t.delta >= 6 && A() - I < 60 ? !0 : (t.direction < 0 ? (!e.isEnd || e.params.loop) && !e.animating && (e.slideNext(), x("scroll", t.raw)) : (!e.isBeginning || e.params.loop) && !e.animating && (e.slidePrev(), x("scroll", t.raw)), I = new p.Date().getTime(), !1);
111
111
  }
112
- function H(n) {
112
+ function H(t) {
113
113
  const s = e.params.mousewheel;
114
- if (n.direction < 0) {
114
+ if (t.direction < 0) {
115
115
  if (e.isEnd && !e.params.loop && s.releaseOnEdges)
116
116
  return !0;
117
117
  } else if (e.isBeginning && !e.params.loop && s.releaseOnEdges)
118
118
  return !0;
119
119
  return !1;
120
120
  }
121
- function h(n) {
122
- let s = n, N = !0;
123
- if (!e.enabled || n.target.closest(`.${e.params.mousewheel.noMousewheelClass}`)) return;
124
- const p = e.params.mousewheel;
121
+ function b(t) {
122
+ let s = t, N = !0;
123
+ if (!e.enabled || t.target.closest(`.${e.params.mousewheel.noMousewheelClass}`)) return;
124
+ const w = e.params.mousewheel;
125
125
  e.params.cssMode && s.preventDefault();
126
- let d = e.el;
127
- e.params.mousewheel.eventsTarget !== "container" && (d = document.querySelector(e.params.mousewheel.eventsTarget));
128
- const u = d && d.contains(s.target);
129
- if (!e.mouseEntered && !u && !p.releaseOnEdges) return !0;
126
+ let m = e.el;
127
+ e.params.mousewheel.eventsTarget !== "container" && (m = document.querySelector(e.params.mousewheel.eventsTarget));
128
+ const d = m && m.contains(s.target);
129
+ if (!e.mouseEntered && !d && !w.releaseOnEdges) return !0;
130
130
  s.originalEvent && (s = s.originalEvent);
131
131
  let a = 0;
132
- const o = e.rtlTranslate ? -1 : 1, i = E(s);
133
- if (p.forceToAxis)
132
+ const f = e.rtlTranslate ? -1 : 1, l = n(s);
133
+ if (w.forceToAxis)
134
134
  if (e.isHorizontal())
135
- if (Math.abs(i.pixelX) > Math.abs(i.pixelY)) a = -i.pixelX * o;
135
+ if (Math.abs(l.pixelX) > Math.abs(l.pixelY)) a = -l.pixelX * f;
136
136
  else return !0;
137
- else if (Math.abs(i.pixelY) > Math.abs(i.pixelX)) a = -i.pixelY;
137
+ else if (Math.abs(l.pixelY) > Math.abs(l.pixelX)) a = -l.pixelY;
138
138
  else return !0;
139
139
  else
140
- a = Math.abs(i.pixelX) > Math.abs(i.pixelY) ? -i.pixelX * o : -i.pixelY;
140
+ a = Math.abs(l.pixelX) > Math.abs(l.pixelY) ? -l.pixelX * f : -l.pixelY;
141
141
  if (a === 0) return !0;
142
- p.invert && (a = -a);
143
- let D = e.getTranslate() + a * p.sensitivity;
142
+ w.invert && (a = -a);
143
+ let D = e.getTranslate() + a * w.sensitivity;
144
144
  if (D >= e.minTranslate() && (D = e.minTranslate()), D <= e.maxTranslate() && (D = e.maxTranslate()), N = e.params.loop ? !0 : !(D === e.minTranslate() || D === e.maxTranslate()), N && e.params.nested && s.stopPropagation(), !e.params.freeMode || !e.params.freeMode.enabled) {
145
145
  const r = {
146
- time: C(),
146
+ time: A(),
147
147
  delta: Math.abs(a),
148
148
  direction: Math.sign(a),
149
- raw: n
149
+ raw: t
150
150
  };
151
- t.length >= 2 && t.shift();
152
- const f = t.length ? t[t.length - 1] : void 0;
153
- if (t.push(r), f ? (r.direction !== f.direction || r.delta > f.delta || r.time > f.time + 150) && T(r) : T(r), H(r))
151
+ i.length >= 2 && i.shift();
152
+ const c = i.length ? i[i.length - 1] : void 0;
153
+ if (i.push(r), c ? (r.direction !== c.direction || r.delta > c.delta || r.time > c.time + 150) && g(r) : g(r), H(r))
154
154
  return !0;
155
155
  } else {
156
156
  const r = {
157
- time: C(),
157
+ time: A(),
158
158
  delta: Math.abs(a),
159
159
  direction: Math.sign(a)
160
- }, f = m && r.time < m.time + 500 && r.delta <= m.delta && r.direction === m.direction;
161
- if (!f) {
162
- m = void 0;
163
- let k = e.getTranslate() + a * p.sensitivity;
164
- const W = e.isBeginning, F = e.isEnd;
165
- if (k >= e.minTranslate() && (k = e.minTranslate()), k <= e.maxTranslate() && (k = e.maxTranslate()), e.setTransition(0), e.setTranslate(k), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses(), (!W && e.isBeginning || !F && e.isEnd) && e.updateSlidesClasses(), e.params.loop && e.loopFix({
160
+ }, c = h && r.time < h.time + 500 && r.delta <= h.delta && r.direction === h.direction;
161
+ if (!c) {
162
+ h = void 0;
163
+ let S = e.getTranslate() + a * w.sensitivity;
164
+ const W = e.isBeginning, K = e.isEnd;
165
+ if (S >= e.minTranslate() && (S = e.minTranslate()), S <= e.maxTranslate() && (S = e.maxTranslate()), e.setTransition(0), e.setTranslate(S), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses(), (!W && e.isBeginning || !K && e.isEnd) && e.updateSlidesClasses(), e.params.loop && e.loopFix({
166
166
  direction: r.direction < 0 ? "next" : "prev",
167
167
  byMousewheel: !0
168
168
  }), e.params.freeMode.sticky) {
169
- clearTimeout(b), b = void 0, t.length >= 15 && t.shift();
170
- const X = t.length ? t[t.length - 1] : void 0, z = t[0];
171
- if (t.push(r), X && (r.delta > X.delta || r.direction !== X.direction))
172
- t.splice(0);
173
- else if (t.length >= 15 && r.time - z.time < 500 && z.delta - r.delta >= 1 && r.delta <= 6) {
169
+ clearTimeout(v), v = void 0, i.length >= 15 && i.shift();
170
+ const X = i.length ? i[i.length - 1] : void 0, z = i[0];
171
+ if (i.push(r), X && (r.delta > X.delta || r.direction !== X.direction))
172
+ i.splice(0);
173
+ else if (i.length >= 15 && r.time - z.time < 500 && z.delta - r.delta >= 1 && r.delta <= 6) {
174
174
  const O = a > 0 ? 0.8 : 0.2;
175
- m = r, t.splice(0), b = B(() => {
175
+ h = r, i.splice(0), v = B(() => {
176
176
  e.slideToClosest(e.params.speed, !0, void 0, O);
177
177
  }, 0);
178
178
  }
179
- b || (b = B(() => {
180
- m = r, t.splice(0), e.slideToClosest(e.params.speed, !0, void 0, 0.5);
179
+ v || (v = B(() => {
180
+ h = r, i.splice(0), e.slideToClosest(e.params.speed, !0, void 0, 0.5);
181
181
  }, 500));
182
182
  }
183
- if (f || _("scroll", s), e.params.autoplay && e.params.autoplayDisableOnInteraction && e.autoplay.stop(), p.releaseOnEdges && (k === e.minTranslate() || k === e.maxTranslate()))
183
+ if (c || x("scroll", s), e.params.autoplay && e.params.autoplayDisableOnInteraction && e.autoplay.stop(), w.releaseOnEdges && (S === e.minTranslate() || S === e.maxTranslate()))
184
184
  return !0;
185
185
  }
186
186
  }
187
187
  return s.preventDefault ? s.preventDefault() : s.returnValue = !1, !1;
188
188
  }
189
- function v(n) {
189
+ function _(t) {
190
190
  let s = e.el;
191
- e.params.mousewheel.eventsTarget !== "container" && (s = document.querySelector(e.params.mousewheel.eventsTarget)), s[n]("mouseenter", x), s[n]("mouseleave", l), s[n]("wheel", h);
191
+ e.params.mousewheel.eventsTarget !== "container" && (s = document.querySelector(e.params.mousewheel.eventsTarget)), s[t]("mouseenter", u), s[t]("mouseleave", o), s[t]("wheel", b);
192
192
  }
193
193
  function y() {
194
- return e.params.cssMode ? (e.wrapperEl.removeEventListener("wheel", h), !0) : e.mousewheel.enabled ? !1 : (v("addEventListener"), e.mousewheel.enabled = !0, !0);
194
+ return e.params.cssMode ? (e.wrapperEl.removeEventListener("wheel", b), !0) : e.mousewheel.enabled ? !1 : (_("addEventListener"), e.mousewheel.enabled = !0, !0);
195
195
  }
196
196
  function M() {
197
- return e.params.cssMode ? (e.wrapperEl.addEventListener(event, h), !0) : e.mousewheel.enabled ? (v("removeEventListener"), e.mousewheel.enabled = !1, !0) : !1;
197
+ return e.params.cssMode ? (e.wrapperEl.addEventListener(event, b), !0) : e.mousewheel.enabled ? (_("removeEventListener"), e.mousewheel.enabled = !1, !0) : !1;
198
198
  }
199
- w("init", () => {
199
+ T("init", () => {
200
200
  !e.params.mousewheel.enabled && e.params.cssMode && M(), e.params.mousewheel.enabled && y();
201
- }), w("destroy", () => {
201
+ }), T("destroy", () => {
202
202
  e.params.cssMode && y(), e.mousewheel.enabled && M();
203
203
  }), Object.assign(e.mousewheel, {
204
204
  enable: y,
205
205
  disable: M
206
206
  });
207
207
  }
208
- const ae = "_swiper_f3z07_2", se = "_slide_f3z07_7", re = "_image_f3z07_14", ie = "_chip_f3z07_21", le = "_content_f3z07_27", oe = "_bullet_f3z07_46", g = {
208
+ const ae = "_swiper_f3z07_2", se = "_slide_f3z07_7", re = "_image_f3z07_14", ie = "_chip_f3z07_21", le = "_content_f3z07_27", oe = "_bullet_f3z07_46", E = {
209
209
  swiper: ae,
210
210
  slide: se,
211
211
  image: re,
@@ -216,90 +216,91 @@ const ae = "_swiper_f3z07_2", se = "_slide_f3z07_7", re = "_image_f3z07_14", ie
216
216
  "bullet-active": "_bullet-active_f3z07_47",
217
217
  "bullet-s": "_bullet-s_f3z07_48",
218
218
  "bullet-xs": "_bullet-xs_f3z07_49"
219
- }, V = 5, ue = 5e3, fe = 8, de = (P, e) => {
220
- const S = e % V, w = Math.abs(P - S), _ = 0, c = 1;
221
- return w === _ ? g["bullet-active"] : w === c ? g["bullet-s"] : g["bullet-xs"];
219
+ }, V = 5, fe = 5e3, ue = 8, de = (P, e) => {
220
+ const k = e % V, T = Math.abs(P - k), x = 0, p = 1;
221
+ return T === x ? E["bullet-active"] : T === p ? E["bullet-s"] : E["bullet-xs"];
222
222
  }, be = ({
223
223
  slides: P,
224
- delay: e = ue,
225
- spaceBetween: S = fe,
226
- imageClassName: w,
227
- slideClassName: _,
228
- swiperClassName: c,
229
- contentClassName: b
224
+ onSlideClick: e,
225
+ delay: k = fe,
226
+ spaceBetween: T = ue,
227
+ imageClassName: x,
228
+ slideClassName: p,
229
+ swiperClassName: v,
230
+ contentClassName: I
230
231
  }) => {
231
- const [I, m] = j(0);
232
+ const [h, i] = j(0);
232
233
  return /* @__PURE__ */ Y(
233
234
  q,
234
235
  {
235
236
  direction: "horizontal",
236
- spaceBetween: S,
237
+ spaceBetween: T,
237
238
  modules: [Z, te, ne],
238
- onSlideChange: (t) => m(t.realIndex),
239
+ onSlideChange: (n) => i(n.realIndex),
239
240
  loop: !0,
240
241
  mousewheel: !0,
241
242
  keyboard: {
242
- enabled: !0,
243
- onlyInViewport: !0
243
+ enabled: !0
244
244
  },
245
245
  autoplay: {
246
- delay: e,
246
+ delay: k,
247
247
  disableOnInteraction: !1,
248
248
  pauseOnMouseEnter: !0
249
249
  },
250
- className: A(g.swiper, c),
250
+ className: C(E.swiper, v),
251
251
  children: [
252
- P.map((t) => {
253
- if (!t) return null;
254
- const E = t != null && t.imageUrl ? /* @__PURE__ */ L(
252
+ P.map((n) => {
253
+ if (!n) return null;
254
+ const u = n != null && n.imageUrl ? /* @__PURE__ */ L(
255
255
  ee,
256
256
  {
257
- className: A(g.image, w),
258
- src: t.imageUrl,
259
- desktopImage: t.imageDesktop,
260
- mobileImage: t.imageMobile,
261
- alt: t.title
257
+ className: C(E.image, x),
258
+ src: n.imageUrl,
259
+ desktopImage: n.imageDesktop,
260
+ mobileImage: n.imageMobile,
261
+ alt: n.title
262
262
  }
263
- ) : null, x = /* @__PURE__ */ L(
263
+ ) : null, o = /* @__PURE__ */ L(
264
264
  "a",
265
265
  {
266
- className: g.link,
267
- href: t.url,
266
+ className: E.link,
267
+ href: n.url,
268
268
  rel: "noopener noreferrer",
269
269
  target: "_blank",
270
- children: E
270
+ children: u
271
271
  }
272
- ), l = () => t.url ? x : E;
272
+ ), g = () => n.url ? o : u;
273
273
  return /* @__PURE__ */ L(
274
274
  J,
275
275
  {
276
- className: A(g.slide, _),
277
- children: /* @__PURE__ */ Y(K, { children: [
278
- t.isPromotion && /* @__PURE__ */ L(
276
+ onClick: e,
277
+ className: C(E.slide, p),
278
+ children: /* @__PURE__ */ Y(F, { children: [
279
+ n.isPromotion && /* @__PURE__ */ L(
279
280
  Q,
280
281
  {
281
- ...t.promotionProps,
282
- className: A(
283
- t.promotionProps.className,
284
- g.chip
282
+ ...n.promotionProps,
283
+ className: C(
284
+ n.promotionProps.className,
285
+ E.chip
285
286
  )
286
287
  }
287
288
  ),
288
- l(),
289
- (t == null ? void 0 : t.content) && /* @__PURE__ */ L("div", { className: A(g.content, b), children: t == null ? void 0 : t.content })
289
+ g(),
290
+ (n == null ? void 0 : n.content) && /* @__PURE__ */ L("div", { className: C(E.content, I), children: n == null ? void 0 : n.content })
290
291
  ] })
291
292
  },
292
- t.id
293
+ n.id
293
294
  );
294
295
  }),
295
- /* @__PURE__ */ L("div", { className: g["custom-pagination"], children: Array.from({ length: V }).map((t, E) => /* @__PURE__ */ L(
296
+ /* @__PURE__ */ L("div", { className: E["custom-pagination"], children: Array.from({ length: V }).map((n, u) => /* @__PURE__ */ L(
296
297
  "button",
297
298
  {
299
+ tabIndex: u,
298
300
  type: "button",
299
- autoFocus: E === 0,
300
- className: A(g.bullet, de(E, I))
301
+ className: C(E.bullet, de(u, h))
301
302
  },
302
- E
303
+ u
303
304
  )) })
304
305
  ]
305
306
  }
@@ -72,3 +72,4 @@ export { Table } from './Table';
72
72
  export { ESortDirection, ETableVariant, ETableDisplayMode, ETableScrollButtonVariant, ETableScrollIconName } from './Table';
73
73
  export { PromoSlider } from './PromoSlider';
74
74
  export { CardTrail } from './CardTrail';
75
+ export { ClearButton } from './InputClearButton';
@@ -5,12 +5,12 @@ import { EInputSize as S, EInputStatus as s, EInputVariant as u } from "./Input/
5
5
  import { TextArea as c } from "./TextArea/TextArea.js";
6
6
  import { ETextAreaInputSize as I } from "./TextArea/constants.js";
7
7
  import { InputPassword as g } from "./InputPassword/InputPassword.js";
8
- import { InputPhoneNumber as h } from "./InputPhoneNumber/InputPhoneNumber.js";
8
+ import { InputPhoneNumber as B } from "./InputPhoneNumber/InputPhoneNumber.js";
9
9
  import { getMaskedInputPhoneValue as k, getUnmaskedInputValue as P } from "./InputPhoneNumber/utils.js";
10
10
  import { OtpInput as L } from "./OtpInput/OtpInput.js";
11
11
  import { RadioGroup as A } from "./RadioGroup/RadioGroup.js";
12
- import { DatePicker as U } from "./DatePicker/DatePicker.js";
13
- import { MergedButton as y } from "./MergedButton/MergedButton.js";
12
+ import { DatePicker as R } from "./DatePicker/DatePicker.js";
13
+ import { MergedButton as w } from "./MergedButton/MergedButton.js";
14
14
  import { EMergedButtonVariantRound as D } from "./MergedButton/constants.js";
15
15
  import { AppImage as v } from "./Image/Image.js";
16
16
  import { Loader as N } from "./Loader/Loader.js";
@@ -30,13 +30,13 @@ import { Tag as So } from "./Tag/Tag.js";
30
30
  import { ETagSize as uo, ETagType as co } from "./Tag/constants.js";
31
31
  import { Timer as Io } from "./Timer/Timer.js";
32
32
  import { Accordion as go } from "./Accordion/Accordion.js";
33
- import { EAccordionSize as ho } from "./Accordion/constants.js";
33
+ import { EAccordionSize as Bo } from "./Accordion/constants.js";
34
34
  import { AccordionItem as ko } from "./Accordion/AccordionItem/AccordionItem.js";
35
35
  import { TabTrail as bo } from "./TabTrail/TabTrail.js";
36
36
  import { ETabTrailSize as Mo } from "./TabTrail/constants.js";
37
- import { Pagination as Ro } from "./Pagination/Pagination.js";
38
- import { ToastProvider as wo } from "./Toasts/ToastsProvider.js";
39
- import { useToast as Co } from "./Toasts/hooks.js";
37
+ import { Pagination as Co } from "./Pagination/Pagination.js";
38
+ import { ToastProvider as Uo } from "./Toasts/ToastsProvider.js";
39
+ import { useToast as yo } from "./Toasts/hooks.js";
40
40
  import { EToastPosition as Fo, EToastVariant as vo } from "./Toasts/constants.js";
41
41
  import { UploaderPhotos as No } from "./UploaderPhotos/UploaderPhotos.js";
42
42
  import { UploaderFiles as Oo } from "./UploaderFiles/UploaderFiles.js";
@@ -55,12 +55,12 @@ import { EInputRangeSliderBorderState as sr, EInputRangeSliderPositions as ur }
55
55
  import { GosZnak as cr } from "./GosZnak/GosZnak.js";
56
56
  import { EGosZnakSize as Ir, EGosZnakType as Vr } from "./GosZnak/constants.js";
57
57
  import { Switcher as zr } from "./Switcher/Switcher.js";
58
- import { ELabelPositions as Br } from "./Switcher/constants.js";
58
+ import { ELabelPositions as hr } from "./Switcher/constants.js";
59
59
  import { TwinSwitcher as Pr } from "./TwinSwitcher/TwinSwitcher.js";
60
60
  import { SkeletonBrick as Lr } from "./Skeleton/SkeletonBrick/SkeletonBrick.js";
61
61
  import { SkeletonText as Ar } from "./Skeleton/SkeletonText/SkeletonText.js";
62
- import { SkeletonCircle as Ur } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
63
- import { ESkeletonVariant as yr } from "./Skeleton/constants.js";
62
+ import { SkeletonCircle as Rr } from "./Skeleton/SkeletonCircle/SkeletonCircle.js";
63
+ import { ESkeletonVariant as wr } from "./Skeleton/constants.js";
64
64
  import { Avatar as Dr } from "./Avatar/Avatar.js";
65
65
  import { EAvatarSize as vr } from "./Avatar/constants.js";
66
66
  import { MultiSelectSearch as Nr } from "./MultiSelectSearch/MultiSelectSearch.js";
@@ -74,8 +74,9 @@ import { Table as oe } from "./Table/Table.js";
74
74
  import { ESortDirection as ee, ETableDisplayMode as te, ETableScrollButtonVariant as pe, ETableScrollIconName as ae, ETableVariant as ie } from "./Table/constants.js";
75
75
  import { PromoSlider as fe } from "./PromoSlider/PromoSlider.js";
76
76
  import { CardTrail as ne } from "./CardTrail/CardTrail.js";
77
- import { default as Ee } from "./Slider/Slider.js";
78
- import { EProgressBarPosition as se } from "./Slider/constants.js";
77
+ import { ClearButton as Ee } from "./InputClearButton/ClearButton.js";
78
+ import { default as se } from "./Slider/Slider.js";
79
+ import { EProgressBarPosition as de } from "./Slider/constants.js";
79
80
  export {
80
81
  go as Accordion,
81
82
  ko as AccordionItem,
@@ -84,10 +85,11 @@ export {
84
85
  ne as CardTrail,
85
86
  lo as CheckboxMimir,
86
87
  tr as Chip,
87
- U as DatePicker,
88
+ Ee as ClearButton,
89
+ R as DatePicker,
88
90
  J as Drawer,
89
91
  X as Dropdown,
90
- ho as EAccordionSize,
92
+ Bo as EAccordionSize,
91
93
  vr as EAvatarSize,
92
94
  p as EButtonForm,
93
95
  a as EButtonSize,
@@ -106,7 +108,7 @@ export {
106
108
  S as EInputSize,
107
109
  s as EInputStatus,
108
110
  u as EInputVariant,
109
- Br as ELabelPositions,
111
+ hr as ELabelPositions,
110
112
  Xo as ELinkSize,
111
113
  Yo as ELinkVariant,
112
114
  O as ELoaderSize,
@@ -114,9 +116,9 @@ export {
114
116
  _r as EMessageShortReplyVariant,
115
117
  Or as EMultiSelectSearchSize,
116
118
  rr as ENotificationBadgeSize,
117
- se as EProgressBarPosition,
119
+ de as EProgressBarPosition,
118
120
  xo as ESelectSearchSize,
119
- yr as ESkeletonVariant,
121
+ wr as ESkeletonVariant,
120
122
  ee as ESortDirection,
121
123
  oo as EStepColor,
122
124
  ro as EStepsSize,
@@ -137,25 +139,25 @@ export {
137
139
  v as Image,
138
140
  l as Input,
139
141
  g as InputPassword,
140
- h as InputPhoneNumber,
142
+ B as InputPhoneNumber,
141
143
  Er as InputRangeSlider,
142
144
  Qo as Link,
143
145
  qr as ListFiles,
144
146
  Qr as ListPhotos,
145
147
  N as Loader,
146
- y as MergedButton,
148
+ w as MergedButton,
147
149
  Xr as MessageShortReply,
148
150
  Nr as MultiSelectSearch,
149
151
  $o as NotificationBadge,
150
152
  L as OtpInput,
151
- Ro as Pagination,
153
+ Co as Pagination,
152
154
  fe as PromoSlider,
153
155
  A as RadioGroup,
154
156
  mo as SelectSearch,
155
157
  Lr as SkeletonBrick,
156
- Ur as SkeletonCircle,
158
+ Rr as SkeletonCircle,
157
159
  Ar as SkeletonText,
158
- Ee as Slider,
160
+ se as Slider,
159
161
  q as SliderLazy,
160
162
  _ as Steps,
161
163
  zr as Switcher,
@@ -164,7 +166,7 @@ export {
164
166
  So as Tag,
165
167
  c as TextArea,
166
168
  Io as Timer,
167
- wo as ToastProvider,
169
+ Uo as ToastProvider,
168
170
  Pr as TwinSwitcher,
169
171
  fr as UniversalUploader,
170
172
  Jo as Uploader,
@@ -173,5 +175,5 @@ export {
173
175
  to as Vote,
174
176
  k as getMaskedInputPhoneValue,
175
177
  P as getUnmaskedInputValue,
176
- Co as useToast
178
+ yo as useToast
177
179
  };
@@ -1,16 +1,23 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- const r = (e) => /* @__PURE__ */ t(
1
+ import { jsx as l } from "react/jsx-runtime";
2
+ const o = (e) => /* @__PURE__ */ l(
3
3
  "svg",
4
4
  {
5
5
  width: "12",
6
6
  height: "12",
7
- viewBox: "0 0 12 12",
8
- fill: "none",
7
+ viewBox: "0 0 16 16",
9
8
  xmlns: "http://www.w3.org/2000/svg",
10
9
  ...e,
11
- children: /* @__PURE__ */ t("path", { d: "M3 9L8.99991 3M9 9L3 3", stroke: "#333333", strokeWidth: "1.5" })
10
+ children: /* @__PURE__ */ l(
11
+ "path",
12
+ {
13
+ fillRule: "evenodd",
14
+ clipRule: "evenodd",
15
+ d: "M9.06 8l3.47 3.47-1.06 1.06L8 9.06l-3.47 3.47-1.06-1.06L6.94 8 3.47 4.53l1.06-1.06L8 6.94l3.47-3.47 1.06 1.06L9.06 8z",
16
+ fill: "#000"
17
+ }
18
+ )
12
19
  }
13
20
  );
14
21
  export {
15
- r as default
22
+ o as default
16
23
  };