md-components-mdigial-azamat 0.0.94 → 0.0.96

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.
@@ -4,18 +4,18 @@ import { BannerAndText as m } from "./BannerAndText/index.js";
4
4
  import { CardIconList as t } from "./CardIconList/CardIconList.js";
5
5
  import { CardImageList as i } from "./CardImageList/CardImageList.js";
6
6
  import { CardImageSecondary as n } from "./CardImageSecondary/CardImageSecondary.js";
7
- import { CardImageSecondaryList as a } from "./CardImageSecondaryList/CardImageSecondaryList.js";
8
- import { CardInfoTable as e } from "./CardInfoTable/index.js";
7
+ import { CardImageSecondaryList as e } from "./CardImageSecondaryList/CardImageSecondaryList.js";
8
+ import { CardInfoTable as a } from "./CardInfoTable/index.js";
9
9
  import { CardImage as p } from "./Cards/CardImage/CardImage.js";
10
10
  import { ColoredCard as f } from "./Cards/ColoredCard/index.js";
11
11
  import { ContentCard as s } from "./Cards/ContentCard/ContentCard.js";
12
12
  import { FeaturesCard as d } from "./Cards/FeaturesCard/index.js";
13
- import { W as l, F as C } from "./info-fe4d0d4f.js";
13
+ import { W as l, F as C } from "./info-90d541ed.js";
14
14
  import { ContentCardList as B } from "./ContentCardList/ContentCardList.js";
15
15
  import { DownloadFileBanner as F } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
16
16
  import { DownloadFileBright as L } from "./DownloadFile/components/DownloadFileBright/index.js";
17
- import { DownloadFileFull as I } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
18
- import { DownloadFileHalf as c } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
17
+ import { DownloadFileFull as c } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
18
+ import { DownloadFileHalf as I } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
19
19
  import { DownloadFileMini as S } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
20
20
  import { FileBannerSecondary as w } from "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
21
21
  import { Faq as g } from "./Faq/Faq.js";
@@ -40,19 +40,20 @@ import { Stepper as z } from "./Stepper/Stepper.js";
40
40
  import { SwiperList as E } from "./SwiperList/SwiperList.js";
41
41
  import { TasksBanner as G } from "./TasksBanner/TasksBanner.js";
42
42
  import { TasksBannerList as J } from "./TasksBannerList/TasksBannerList.js";
43
- import { VideoFull as K } from "./Video/VideoFull/VideoFull.js";
44
- import { VideoList as N } from "./Video/VideoList/VideoList.js";
45
- import { VideoListMini as O } from "./Video/VideoListMini/VideoListMini.js";
46
- import { VideoMainBanner as Q } from "./VideoMainBanner/VideoMainBanner.js";
47
- const zr = {
43
+ import { TitleBlock as K } from "./TitleBlock/TitleBlock.js";
44
+ import { VideoFull as N } from "./Video/VideoFull/VideoFull.js";
45
+ import { VideoList as O } from "./Video/VideoList/VideoList.js";
46
+ import { VideoListMini as Q } from "./Video/VideoListMini/VideoListMini.js";
47
+ import { VideoMainBanner as R } from "./VideoMainBanner/VideoMainBanner.js";
48
+ const Gr = {
48
49
  Banner: o,
49
50
  BannerAndText: m,
50
51
  CardImageList: i,
51
52
  Stepper: z,
52
53
  Segments: q,
53
- VideoFull: K,
54
- VideoList: N,
55
- VideoListMini: O,
54
+ VideoFull: N,
55
+ VideoList: O,
56
+ VideoListMini: Q,
56
57
  ContentCardList: B,
57
58
  CardIconList: t,
58
59
  MultiCards: k,
@@ -62,8 +63,8 @@ const zr = {
62
63
  WarningCard: l,
63
64
  Faq: g,
64
65
  DownloadFileBanner: F,
65
- DownloadFileHalf: c,
66
- DownloadFileFull: I,
66
+ DownloadFileHalf: I,
67
+ DownloadFileFull: c,
67
68
  DownloadFileMini: S,
68
69
  InstructionList: H,
69
70
  PreviewList: W,
@@ -71,11 +72,11 @@ const zr = {
71
72
  AnimatedSwiper: r,
72
73
  InfoBannerList: y,
73
74
  TasksBannerList: J,
74
- VideoMainBanner: Q,
75
+ VideoMainBanner: R,
75
76
  Space: v,
76
77
  PromoPoster: h,
77
- CardImageSecondaryList: a,
78
- CardInfoTable: e,
78
+ CardImageSecondaryList: e,
79
+ CardInfoTable: a,
79
80
  StandartTable: j,
80
81
  IntroBanner: V,
81
82
  DownloadFileBright: L,
@@ -91,8 +92,9 @@ const zr = {
91
92
  InfoBanner: T,
92
93
  TasksBanner: G,
93
94
  CardImageSecondary: n,
94
- FileBannerSecondary: w
95
+ FileBannerSecondary: w,
96
+ TitleBlock: K
95
97
  };
96
98
  export {
97
- zr as c
99
+ Gr as c
98
100
  };
@@ -2,10 +2,10 @@ import { C as ee } from "./index-0a5f313c.js";
2
2
  import { jsx as t, jsxs as i, Fragment as U } from "react/jsx-runtime";
3
3
  import { warningCardVariant as he, WarningCardVariant as j, WarningCardVariantKey as ge } from "./Cards/WarningCard/model.js";
4
4
  import "./ConfigProvider/index.js";
5
- import { Banner as xe } from "./Banner/Banner.js";
5
+ import { Banner as be } from "./Banner/Banner.js";
6
6
  import "./BannerAndText/index.js";
7
- import { forwardRef as P, useState as I, useMemo as Z, useEffect as be, useRef as ye, useImperativeHandle as te, useCallback as we } from "react";
8
- import { c as x } from "./cn-6a4bf187.js";
7
+ import { forwardRef as P, useState as I, useMemo as A, useEffect as xe, useRef as ye, useImperativeHandle as te, useCallback as we } from "react";
8
+ import { c as b } from "./cn-6a4bf187.js";
9
9
  import "./Faq/components/Collapse/Collapse.js";
10
10
  import "./Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
11
11
  import { HtmlContent as ke } from "./HtmlContent/HtmlContent.js";
@@ -34,8 +34,8 @@ import "./Cards/ColoredCard/index.js";
34
34
  import "./Cards/FeaturesCard/index.js";
35
35
  import { DownloadFileBanner as je } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
36
36
  import { DownloadFileFull as Ee } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
37
- import { DownloadFileHalf as Ze } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
38
- import { DownloadFileMini as Ae } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
37
+ import { DownloadFileHalf as Ae } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
38
+ import { DownloadFileMini as Ze } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
39
39
  import "./InstructionList/components/InstructionCard/InstructionCard.js";
40
40
  import "./PreviewList/components/PreviewCard/PreviewCard.js";
41
41
  import $e from "./AnimatedSwiper/index.js";
@@ -60,7 +60,7 @@ import { SwiperList as ot } from "./SwiperList/SwiperList.js";
60
60
  import "./TasksBanner/TasksBanner.js";
61
61
  import { TasksBannerList as at } from "./TasksBannerList/TasksBannerList.js";
62
62
  import { VideoMainBanner as nt } from "./VideoMainBanner/VideoMainBanner.js";
63
- import { M as st, B as it, C as lt, S as ct, b as pt, V as dt, c as mt, d as ut, e as ft, f as ht, g as gt, P as xt, h as bt, W as yt, F as wt, k as kt, D as vt, l as Ct, m as Dt, I as Nt, o as Lt, p as _t, A as Bt, q as Mt, T as St, r as Ft, E as Vt, s as It, t as Tt, u as Ht, v as Pt, w as Wt, x as Gt, y as Ot } from "./data.mock-f00bb32c.js";
63
+ import { M as st, B as it, C as lt, S as ct, b as pt, V as dt, c as mt, d as ut, e as ft, f as ht, g as gt, P as bt, h as xt, W as yt, F as wt, k as kt, D as vt, l as Ct, m as Dt, I as Nt, o as Lt, p as _t, A as Bt, q as Mt, T as St, r as Ft, E as Vt, s as It, t as Tt, u as Ht, v as Pt, w as Wt, x as Gt, y as Ot } from "./data.mock-f00bb32c.js";
64
64
  import { DataTypesEnum as X, FieldTypes as G } from "./Types/FiledTypes.js";
65
65
  import "react-dom";
66
66
  import "./AnimatedSwiper/info.js";
@@ -109,8 +109,8 @@ import "./VideoMainBanner/info.js";
109
109
  import "./Actions/types.js";
110
110
  import { componentTypes as jt } from "./Forms/FormDefault/componentTypes.js";
111
111
  import { fieldTypesList as Et } from "./Forms/FormDefault/fieldTypesList.js";
112
- import { Header as Zt } from "./Header/Header.js";
113
- import { Footer as At } from "./Footer/Footer.js";
112
+ import { Header as At } from "./Header/Header.js";
113
+ import { Footer as Zt } from "./Footer/Footer.js";
114
114
  import { I as $t } from "./Icon-70ea6cb8.js";
115
115
  const ae = [
116
116
  "title",
@@ -150,7 +150,7 @@ const ae = [
150
150
  /* @__PURE__ */ t(
151
151
  "p",
152
152
  {
153
- className: x("text-[24px] leading-8 font-bold"),
153
+ className: b("text-[24px] leading-8 font-bold"),
154
154
  style: { color: (k = j[e]) == null ? void 0 : k.textColor },
155
155
  children: a
156
156
  }
@@ -194,13 +194,13 @@ const ne = P(
194
194
  "div",
195
195
  {
196
196
  ref: k,
197
- className: x("flex flex-col gap-2", s),
197
+ className: b("flex flex-col gap-2", s),
198
198
  children: [
199
199
  a && /* @__PURE__ */ t("label", { className: "text-sm font-medium text-blackBG mb-1", children: a }),
200
200
  /* @__PURE__ */ t(
201
201
  "div",
202
202
  {
203
- className: x(
203
+ className: b(
204
204
  "flex gap-4",
205
205
  m === "column" ? "flex-col" : "flex-row flex-wrap"
206
206
  ),
@@ -239,7 +239,7 @@ const Y = P(
239
239
  /* @__PURE__ */ t(
240
240
  "div",
241
241
  {
242
- className: x(
242
+ className: b(
243
243
  "relative flex items-center justify-center w-5 h-5 rounded-md border-2 transition-all duration-200",
244
244
  "border-grayBlue5 bg-white",
245
245
  "peer-checked:bg-greenLight peer-checked:border-greenLight",
@@ -259,7 +259,7 @@ const Y = P(
259
259
  r && /* @__PURE__ */ t(
260
260
  "span",
261
261
  {
262
- className: x(
262
+ className: b(
263
263
  "text-sm leading-5 text-graySoft select-none",
264
264
  "group-hover:text-blackBG transition-colors duration-200",
265
265
  o && "text-red-500"
@@ -279,7 +279,7 @@ const se = P(
279
279
  "input",
280
280
  {
281
281
  type: r,
282
- className: x(
282
+ className: b(
283
283
  "flex h-14 w-full rounded-2xl border-[1px] border-grayBlue bg-white px-[16px] py-[16px] text-base",
284
284
  "placeholder:text-gray2 placeholder:opacity-60",
285
285
  "transition-all duration-300 ease-in-out",
@@ -341,13 +341,13 @@ const Rt = () => /* @__PURE__ */ t(
341
341
  placeholder: s = "Дата обращения в Контакт-центр",
342
342
  ...m
343
343
  }, k) => {
344
- const [y, l] = I(""), [N, v] = I(!1), [c, C] = I((/* @__PURE__ */ new Date()).getMonth()), [h, b] = I((/* @__PURE__ */ new Date()).getFullYear()), [u, S] = I(null), F = n !== void 0, w = F ? n : y, { ref: L } = q(N, () => {
344
+ const [y, l] = I(""), [N, v] = I(!1), [c, C] = I((/* @__PURE__ */ new Date()).getMonth()), [h, x] = I((/* @__PURE__ */ new Date()).getFullYear()), [u, S] = I(null), F = n !== void 0, w = F ? n : y, { ref: L } = q(N, () => {
345
345
  v(!1);
346
- }), B = Z(() => qt(w), [w]);
347
- be(() => {
348
- B && (S(B), C(B.getMonth()), b(B.getFullYear()));
346
+ }), B = A(() => qt(w), [w]);
347
+ xe(() => {
348
+ B && (S(B), C(B.getMonth()), x(B.getFullYear()));
349
349
  }, [B]);
350
- const T = Z(() => {
350
+ const T = A(() => {
351
351
  const f = new Date(h, c, 1), V = new Date(h, c + 1, 0).getDate(), d = f.getDay(), D = [], W = new Date(h, c, 0).getDate();
352
352
  for (let M = d - 1; M >= 0; M--)
353
353
  D.push(W - M);
@@ -360,17 +360,17 @@ const Rt = () => /* @__PURE__ */ t(
360
360
  }, [c, h]), O = (f) => {
361
361
  const p = f.target.value;
362
362
  F || l(p), e == null || e(p);
363
- }, A = (f, p, V) => {
363
+ }, Z = (f, p, V) => {
364
364
  if (f === null)
365
365
  return;
366
366
  let d = c, D = h;
367
367
  p ? (d = d - 1, d < 0 && (d = 11, D = D - 1)) : V && (d = d + 1, d > 11 && (d = 0, D = D + 1));
368
368
  const W = new Date(D, d, f), H = Xt(W);
369
- S(W), C(d), b(D), F || l(H), e == null || e(H), v(!1);
369
+ S(W), C(d), x(D), F || l(H), e == null || e(H), v(!1);
370
370
  }, $ = () => {
371
- c === 0 ? (C(11), b(h - 1)) : C(c - 1);
371
+ c === 0 ? (C(11), x(h - 1)) : C(c - 1);
372
372
  }, g = () => {
373
- c === 11 ? (C(0), b(h + 1)) : C(c + 1);
373
+ c === 11 ? (C(0), x(h + 1)) : C(c + 1);
374
374
  }, _ = (f, p, V) => {
375
375
  if (!u || f === null)
376
376
  return !1;
@@ -383,7 +383,7 @@ const Rt = () => /* @__PURE__ */ t(
383
383
  /* @__PURE__ */ i(
384
384
  "div",
385
385
  {
386
- className: x(
386
+ className: b(
387
387
  "relative flex items-center h-14 w-full rounded-2xl border-[1px] border-grayBlue bg-white",
388
388
  "transition-all duration-300 ease-in-out",
389
389
  "hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
@@ -407,7 +407,7 @@ const Rt = () => /* @__PURE__ */ t(
407
407
  {
408
408
  type: "text",
409
409
  inputMode: "none",
410
- className: x(
410
+ className: b(
411
411
  "flex h-full w-full rounded-2xl px-[16px] pl-[48px] py-[16px] text-base",
412
412
  "placeholder:text-gray2 placeholder:opacity-60",
413
413
  "bg-transparent border-none outline-none",
@@ -512,9 +512,9 @@ const Rt = () => /* @__PURE__ */ t(
512
512
  "button",
513
513
  {
514
514
  type: "button",
515
- onClick: () => A(f, W, H),
515
+ onClick: () => Z(f, W, H),
516
516
  disabled: f === null,
517
- className: x(
517
+ className: b(
518
518
  "w-10 h-10 rounded-lg text-sm font-medium transition-colors",
519
519
  "hover:bg-[#E8F4FD] focus:outline-none focus:bg-[#E8F4FD]",
520
520
  M ? "text-blackBG" : "text-grayBlue5 opacity-50",
@@ -549,10 +549,10 @@ const le = P(
549
549
  const N = ye(null);
550
550
  te(l, () => N.current);
551
551
  const v = !!o || !!r, c = we(
552
- (b) => {
553
- if (b == null || b === "")
552
+ (x) => {
553
+ if (x == null || x === "")
554
554
  return "";
555
- const u = Array.isArray(b) ? b.join("").replace(/\D/g, "") : b.toString().replace(/\D/g, "");
555
+ const u = Array.isArray(x) ? x.join("").replace(/\D/g, "") : x.toString().replace(/\D/g, "");
556
556
  return v ? u.replace(/\B(?=(\d{3})+(?!\d))/g, " ") : u;
557
557
  },
558
558
  [v]
@@ -560,11 +560,11 @@ const le = P(
560
560
  ...y,
561
561
  type: "text",
562
562
  inputMode: "numeric",
563
- onChange: (b) => {
564
- const u = b.target, S = u.value, F = S.replace(/\D/g, ""), w = u.selectionStart || 0, L = S.slice(0, w).replace(/\D/g, "").length, B = c(F);
563
+ onChange: (x) => {
564
+ const u = x.target, S = u.value, F = S.replace(/\D/g, ""), w = u.selectionStart || 0, L = S.slice(0, w).replace(/\D/g, "").length, B = c(F);
565
565
  if (u.value = B, s) {
566
566
  const T = u.value;
567
- u.value = F, s(b), u.value = T;
567
+ u.value = F, s(x), u.value = T;
568
568
  }
569
569
  if (v) {
570
570
  let T = 0, O = 0;
@@ -573,7 +573,7 @@ const le = P(
573
573
  u.setSelectionRange(T, T);
574
574
  }
575
575
  },
576
- className: x(
576
+ className: b(
577
577
  "flex h-14 w-full rounded-2xl border-[1px] border-grayBlue bg-white px-[16px] py-[16px] text-base text-blackBG",
578
578
  "placeholder:text-gray2 placeholder:opacity-60",
579
579
  "transition-all duration-300 ease-in-out",
@@ -644,9 +644,9 @@ const Kt = {
644
644
  defaultCountry: s = "996",
645
645
  ...m
646
646
  }, k) => {
647
- const [y, l] = I(""), [N, v] = I(s), [c, C] = I(!1), [h, b] = I(""), u = n !== void 0, S = u ? n : y, { ref: F } = q(c, () => {
648
- C(!1), b("");
649
- }), w = Z(() => K(), []), L = E(N) || w[0], B = Z(() => {
647
+ const [y, l] = I(""), [N, v] = I(s), [c, C] = I(!1), [h, x] = I(""), u = n !== void 0, S = u ? n : y, { ref: F } = q(c, () => {
648
+ C(!1), x("");
649
+ }), w = A(() => K(), []), L = E(N) || w[0], B = A(() => {
650
650
  if (!h)
651
651
  return w;
652
652
  const g = h.toLowerCase();
@@ -661,8 +661,8 @@ const Kt = {
661
661
  (_.startsWith(L.dialCode) || g.startsWith(L.mask)) && (f = _.slice(L.dialCode.length));
662
662
  const p = f.slice(0, L.length);
663
663
  return p.length === 0 ? "" : p.length <= 3 ? p : p.length <= 6 ? `${p.slice(0, 3)} ${p.slice(3)}` : `${p.slice(0, 3)} ${p.slice(3, 6)} ${p.slice(6)}`;
664
- })(S), A = (g) => {
665
- v(g), C(!1), b("");
664
+ })(S), Z = (g) => {
665
+ v(g), C(!1), x("");
666
666
  const _ = S.replace(/\D/g, ""), f = E(g);
667
667
  if (!f)
668
668
  return;
@@ -683,7 +683,7 @@ const Kt = {
683
683
  /* @__PURE__ */ i(
684
684
  "div",
685
685
  {
686
- className: x(
686
+ className: b(
687
687
  "relative flex gap-2 h-14 flex-1 rounded-2xl border-[1px] border-grayBlue bg-white text-base",
688
688
  "placeholder:text-gray2 placeholder:opacity-60",
689
689
  "transition-all duration-300 ease-in-out",
@@ -705,7 +705,7 @@ const Kt = {
705
705
  {
706
706
  type: "button",
707
707
  onClick: () => C(!c),
708
- className: x(
708
+ className: b(
709
709
  "flex h-14 w-[120px] rounded-2xl px-3 py-2 items-center justify-center cursor-pointer shrink-0",
710
710
  "transition-all duration-300 ease-in-out",
711
711
  r && "border-red-500 hover:border-red-500 focus:border-red-500",
@@ -720,7 +720,7 @@ const Kt = {
720
720
  /* @__PURE__ */ t(
721
721
  "svg",
722
722
  {
723
- className: x(
723
+ className: b(
724
724
  "w-4 h-4 ml-1 text-grayBlue5 transition-transform duration-200 shrink-0",
725
725
  c && "rotate-180"
726
726
  ),
@@ -747,9 +747,9 @@ const Kt = {
747
747
  {
748
748
  type: "text",
749
749
  value: h,
750
- onChange: (g) => b(g.target.value),
750
+ onChange: (g) => x(g.target.value),
751
751
  placeholder: "Поиск страны...",
752
- className: x(
752
+ className: b(
753
753
  "w-full px-3 py-2 rounded-xl border-[1px] border-grayBlue text-sm",
754
754
  "focus:outline-none focus:border-greenLight"
755
755
  ),
@@ -760,8 +760,8 @@ const Kt = {
760
760
  "button",
761
761
  {
762
762
  type: "button",
763
- onClick: () => A(g.id),
764
- className: x(
763
+ onClick: () => Z(g.id),
764
+ className: b(
765
765
  "w-full px-4 py-3 text-left cursor-pointer text-base text-blackBG transition-colors",
766
766
  "hover:bg-[#E8F4FD] focus:bg-[#E8F4FD] focus:outline-none",
767
767
  N === g.id && "bg-[#E8F4FD]",
@@ -784,7 +784,7 @@ const Kt = {
784
784
  {
785
785
  type: "tel",
786
786
  inputMode: "tel",
787
- className: x(
787
+ className: b(
788
788
  "flex h-full flex-1 rounded-2xl px-[16px] py-[16px] text-base",
789
789
  "placeholder:text-gray2 placeholder:opacity-60",
790
790
  "transition-all duration-300 ease-in-out",
@@ -819,12 +819,12 @@ const pe = P(
819
819
  error: s,
820
820
  className: m,
821
821
  direction: k = "column"
822
- }, y) => /* @__PURE__ */ i("div", { ref: y, className: x("flex flex-col gap-2", m), children: [
822
+ }, y) => /* @__PURE__ */ i("div", { ref: y, className: b("flex flex-col gap-2", m), children: [
823
823
  a && /* @__PURE__ */ t("label", { className: "text-sm font-medium text-blackBG mb-1", children: a }),
824
824
  /* @__PURE__ */ t(
825
825
  "div",
826
826
  {
827
- className: x(
827
+ className: b(
828
828
  "flex gap-4",
829
829
  k === "column" ? "flex-col" : "flex-row flex-wrap"
830
830
  ),
@@ -862,7 +862,7 @@ const de = P(
862
862
  /* @__PURE__ */ t(
863
863
  "div",
864
864
  {
865
- className: x(
865
+ className: b(
866
866
  "relative flex items-center justify-center w-5 h-5 rounded-full border-2 transition-all duration-200",
867
867
  "border-grayBlue5 bg-white",
868
868
  "peer-checked:bg-white peer-checked:border-greenLight",
@@ -882,7 +882,7 @@ const de = P(
882
882
  r && /* @__PURE__ */ t(
883
883
  "span",
884
884
  {
885
- className: x(
885
+ className: b(
886
886
  "text-sm leading-5 text-graySoft select-none",
887
887
  "group-hover:text-blackBG transition-colors duration-200",
888
888
  o && "text-red-500"
@@ -915,7 +915,7 @@ const me = P(
915
915
  setIsShow: h
916
916
  } = q(!1);
917
917
  te(v, () => c.current);
918
- const b = n.find((w) => w.value === s), u = () => {
918
+ const x = n.find((w) => w.value === s), u = () => {
919
919
  l || h(!C);
920
920
  }, S = (w) => {
921
921
  m && m({
@@ -935,7 +935,7 @@ const me = P(
935
935
  return /* @__PURE__ */ i(
936
936
  "div",
937
937
  {
938
- className: x("w-full", a),
938
+ className: b("w-full", a),
939
939
  ref: c,
940
940
  onBlur: F,
941
941
  ...N,
@@ -948,21 +948,21 @@ const me = P(
948
948
  type: "button",
949
949
  onClick: u,
950
950
  disabled: l,
951
- className: x(
951
+ className: b(
952
952
  "flex h-14 w-full items-center justify-between rounded-2xl border-[1px] border-grayBlue bg-white px-[20px] text-base text-blackBG",
953
953
  "transition-all duration-300 ease-in-out",
954
954
  "hover:border-greenLight hover:shadow-[0_0_0_4px_rgba(22,163,74,0.1)]",
955
955
  C && "border-greenLight shadow-[0_0_0_4px_rgba(22,163,74,0.15)] ring-0 outline-none",
956
956
  l && "cursor-not-allowed bg-lightGray opacity-50",
957
957
  r && "border-red-500 hover:border-red-500 focus:border-red-500 focus:shadow-[0_0_0_4px_rgba(239,68,68,0.15)]",
958
- !b && "text-gray2 opacity-60"
958
+ !x && "text-gray2 opacity-60"
959
959
  ),
960
960
  children: [
961
- /* @__PURE__ */ t("span", { className: "truncate", children: b ? b.label : e }),
961
+ /* @__PURE__ */ t("span", { className: "truncate", children: x ? x.label : e }),
962
962
  /* @__PURE__ */ t(
963
963
  "svg",
964
964
  {
965
- className: x(
965
+ className: b(
966
966
  "ml-2 h-5 w-5 text-gray2 transition-transform duration-300",
967
967
  C && "rotate-180"
968
968
  ),
@@ -986,7 +986,7 @@ const me = P(
986
986
  C && /* @__PURE__ */ t(
987
987
  "div",
988
988
  {
989
- className: x(
989
+ className: b(
990
990
  "absolute left-0 z-[100] mt-2 w-full overflow-hidden rounded-2xl border-[1px] border-grayBlue bg-white shadow-xl",
991
991
  "transition-all duration-200 ease-in-out"
992
992
  ),
@@ -995,7 +995,7 @@ const me = P(
995
995
  {
996
996
  type: "button",
997
997
  onClick: () => S(w),
998
- className: x(
998
+ className: b(
999
999
  "flex w-full items-center px-5 py-3 text-left text-base transition-colors",
1000
1000
  "hover:bg-green-50 active:bg-green-100",
1001
1001
  w.value === s && "bg-green-50 font-medium text-greenLight",
@@ -1058,8 +1058,8 @@ const Jt = {
1058
1058
  if (m) {
1059
1059
  const y = ["select", "radio", "checkbox", "file"].includes(
1060
1060
  e.type
1061
- ), l = (k = o[e.name]) == null ? void 0 : k.message;
1062
- return y && n ? /* @__PURE__ */ t(
1061
+ ), l = e.name ? (k = o[e.name]) == null ? void 0 : k.message : void 0;
1062
+ return y && n && e.name ? /* @__PURE__ */ t(
1063
1063
  ze,
1064
1064
  {
1065
1065
  name: e.name,
@@ -1078,7 +1078,7 @@ const Jt = {
1078
1078
  )
1079
1079
  },
1080
1080
  s
1081
- ) : /* @__PURE__ */ t(
1081
+ ) : e.name ? /* @__PURE__ */ t(
1082
1082
  m,
1083
1083
  {
1084
1084
  ...e == null ? void 0 : e.field_props,
@@ -1088,6 +1088,13 @@ const Jt = {
1088
1088
  error: l
1089
1089
  },
1090
1090
  s
1091
+ ) : /* @__PURE__ */ t(
1092
+ m,
1093
+ {
1094
+ ...e == null ? void 0 : e.field_props,
1095
+ error: l
1096
+ },
1097
+ s
1091
1098
  );
1092
1099
  }
1093
1100
  return null;
@@ -1103,7 +1110,7 @@ const Jt = {
1103
1110
  }), ga = {
1104
1111
  title: "Оставьте заявку, чтобы подключить MKassa",
1105
1112
  subtitle: "с Вами свяжется наш специалист и поможет с подключением сервиса"
1106
- }, xa = {
1113
+ }, ba = {
1107
1114
  title: "Форма заявки",
1108
1115
  description: "Форма заявки ",
1109
1116
  types: [ee.form]
@@ -1168,7 +1175,7 @@ const Jt = {
1168
1175
  handleSubmit: c,
1169
1176
  watch: C,
1170
1177
  reset: h,
1171
- control: b,
1178
+ control: x,
1172
1179
  formState: { errors: u }
1173
1180
  } = Ye({
1174
1181
  defaultValues: {
@@ -1182,7 +1189,7 @@ const Jt = {
1182
1189
  }, w = rr(s || [], {
1183
1190
  register: v,
1184
1191
  errors: u,
1185
- control: b
1192
+ control: x
1186
1193
  });
1187
1194
  return /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
1188
1195
  "form",
@@ -1196,7 +1203,7 @@ const Jt = {
1196
1203
  style: {
1197
1204
  boxShadow: `0px 8px 24px rgba(0,0,0,0.08),0px -8px 0px ${o}`
1198
1205
  },
1199
- className: "bg-white rounded-[24px] shadow-[0px_8px_24px_rgba(0,0,0,0.08),0px_-8px_0px_#45464b] w-full flex flex-col items-center justify-center py-[72px] px-[96px] max-tablet:py-[40px] max-tablet:px-[32px] transition-all duration-300 hover:shadow-[0px_12px_32px_rgba(0,0,0,0.12),0px_-8px_0px_#45464b] mt-[8px]",
1206
+ className: "bg-white rounded-[24px] w-full flex flex-col items-center justify-center py-[72px] px-[96px] max-tablet:py-[40px] max-tablet:px-[32px] transition-all duration-300 mt-[8px]",
1200
1207
  children: [
1201
1208
  /* @__PURE__ */ i("div", { className: "text-center mb-10 max-tablet:mb-8", children: [
1202
1209
  /* @__PURE__ */ t("h2", { className: "text-[36px] leading-[44px] font-semibold m-0 mb-3 text-blackBG max-tablet:text-[28px] max-tablet:leading-[36px]", children: a }),
@@ -1291,9 +1298,9 @@ const Jt = {
1291
1298
  ) });
1292
1299
  };
1293
1300
  ue.propsToEdit = lr;
1294
- const ba = {
1301
+ const xa = {
1295
1302
  MainBanner: { key: "MainBanner", component: He },
1296
- Banner: { key: "Banner", component: xe },
1303
+ Banner: { key: "Banner", component: be },
1297
1304
  CardImageList: { key: "CardImageList", component: Te },
1298
1305
  Stepper: { key: "Stepper", component: Ne },
1299
1306
  Segments: { key: "Segments", component: Le },
@@ -1311,9 +1318,9 @@ const ba = {
1311
1318
  key: "DownloadFileBanner",
1312
1319
  component: je
1313
1320
  },
1314
- DownloadFileHalf: { key: "DownloadFileHalf", component: Ze },
1321
+ DownloadFileHalf: { key: "DownloadFileHalf", component: Ae },
1315
1322
  DownloadFileFull: { key: "DownloadFileFull", component: Ee },
1316
- DownloadFileMini: { key: "DownloadFileMini", component: Ae },
1323
+ DownloadFileMini: { key: "DownloadFileMini", component: Ze },
1317
1324
  InstructionList: { key: "InstructionList", component: We },
1318
1325
  PreviewList: { key: "PreviewList", component: Oe },
1319
1326
  SwiperList: { key: "SwiperList", component: ot },
@@ -1338,8 +1345,8 @@ const ba = {
1338
1345
  key: "FormDefault",
1339
1346
  component: ue
1340
1347
  },
1341
- Header: { key: "Header", component: Zt },
1342
- Footer: { key: "Footer", component: At },
1348
+ Header: { key: "Header", component: At },
1349
+ Footer: { key: "Footer", component: Zt },
1343
1350
  TitleBlock: { key: "TitleBlock", component: oe }
1344
1351
  }, ya = {
1345
1352
  MainBanner: st.component_props,
@@ -1353,8 +1360,8 @@ const ba = {
1353
1360
  ContentCardList: ft.component_props,
1354
1361
  CardIconList: ht.component_props,
1355
1362
  MultiCards: gt.component_props,
1356
- Partners: xt.component_props,
1357
- PartnersColors: bt.component_props,
1363
+ Partners: bt.component_props,
1364
+ PartnersColors: xt.component_props,
1358
1365
  WarningCard: yt.component_props,
1359
1366
  Faq: wt.component_props,
1360
1367
  DownloadFileBanner: kt.component_props,
@@ -1387,12 +1394,12 @@ export {
1387
1394
  ya as A,
1388
1395
  ue as F,
1389
1396
  z as W,
1390
- ba as a,
1397
+ xa as a,
1391
1398
  er as b,
1392
1399
  Jt as c,
1393
1400
  or as d,
1394
1401
  ir as e,
1395
- xa as f,
1402
+ ba as f,
1396
1403
  lr as g,
1397
1404
  ga as i,
1398
1405
  ae as p,
package/dist/main.js CHANGED
@@ -22,7 +22,7 @@ import { PartnersColors as $ } from "./PartnersColors/PartnersColors.js";
22
22
  import { PreviewList as ro } from "./PreviewList/PreviewList.js";
23
23
  import { CardImage as to } from "./Cards/CardImage/CardImage.js";
24
24
  import { ContentCard as po } from "./Cards/ContentCard/ContentCard.js";
25
- import { a as mo, A as fo, F as xo, W as so } from "./info-fe4d0d4f.js";
25
+ import { a as mo, A as fo, F as xo, W as so } from "./info-90d541ed.js";
26
26
  import { ColoredCard as io } from "./Cards/ColoredCard/index.js";
27
27
  import { FeaturesCard as co } from "./Cards/FeaturesCard/index.js";
28
28
  import { DownloadFileBanner as Fo } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "md-components-mdigial-azamat",
3
3
  "author": "Azamat Raimbekov",
4
4
  "private": false,
5
- "version": "0.0.94",
5
+ "version": "0.0.96",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",