md-components-mdigial-azamat 0.0.97 → 0.0.98

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.
@@ -31,7 +31,7 @@ import "../PartnersColors/PartnersColors.js";
31
31
  import "../PreviewList/PreviewList.js";
32
32
  import "../Cards/CardImage/CardImage.js";
33
33
  import "../Cards/ContentCard/ContentCard.js";
34
- import "../info-085c4fc3.js";
34
+ import "../info-e9389d85.js";
35
35
  import "../Cards/ColoredCard/index.js";
36
36
  import "../Cards/FeaturesCard/index.js";
37
37
  import "../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -8,7 +8,7 @@ import "./CardInfoTable/index.js";
8
8
  import "./ContentCardList/ContentCardList.js";
9
9
  import "./DownloadFile/components/DownloadFileBright/index.js";
10
10
  import "./Faq/Faq.js";
11
- import { a as Xo, A as Yo } from "./info-085c4fc3.js";
11
+ import { a as Xo, A as Yo } from "./info-e9389d85.js";
12
12
  import "./InfoBannerList/InfoBannerList.js";
13
13
  import "./IntroBanner/IntroBanner.js";
14
14
  import "./MainBanner/MainBanner.js";
@@ -10,7 +10,7 @@ import { cardImageInfo as f } from "./Cards/CardImage/info.js";
10
10
  import { coloredCardInfo as I } from "./Cards/ColoredCard/info.js";
11
11
  import { contentCardInfo as d } from "./Cards/ContentCard/info.js";
12
12
  import { featuresCardInfo as p } from "./Cards/FeaturesCard/info.js";
13
- import { w as s, f as l } from "./info-085c4fc3.js";
13
+ import { w as s, f as l } from "./info-e9389d85.js";
14
14
  import { contentCardListInfo as C } from "./ContentCardList/info.js";
15
15
  import { downloadFileBannerInfo as B } from "./DownloadFile/components/DownloadFileBanner/info.js";
16
16
  import { downloadFileBrightInfo as L } from "./DownloadFile/components/DownloadFileBright/info.js";
@@ -29,7 +29,7 @@ import "../../PartnersColors/PartnersColors.js";
29
29
  import "../../PreviewList/PreviewList.js";
30
30
  import "../CardImage/CardImage.js";
31
31
  import "../ContentCard/ContentCard.js";
32
- import { W as Zr, p as _r } from "../../info-085c4fc3.js";
32
+ import { W as Zr, p as _r } from "../../info-e9389d85.js";
33
33
  import "../ColoredCard/index.js";
34
34
  import "../FeaturesCard/index.js";
35
35
  import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -1,4 +1,4 @@
1
- import { W as n } from "../../info-085c4fc3.js";
1
+ import { W as n } from "../../info-e9389d85.js";
2
2
  export {
3
3
  n as WarningCard
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import "../../index-0a5f313c.js";
2
- import { w as n } from "../../info-085c4fc3.js";
2
+ import { w as n } from "../../info-e9389d85.js";
3
3
  export {
4
4
  n as warningCardInfo
5
5
  };
@@ -3,7 +3,7 @@ import "react";
3
3
  import "../../index-a0ed2e4a.js";
4
4
  import "../../index-875e92ce.js";
5
5
  import "../../const-53dff524.js";
6
- import { F as f, g as F } from "../../info-085c4fc3.js";
6
+ import { F as f, g as F } from "../../info-e9389d85.js";
7
7
  import "../../ComponentContainer-dca711c6.js";
8
8
  import "../../useScreenSize-c1b64c02.js";
9
9
  export {
@@ -1,3 +1,4 @@
1
+ import { e as _o, f as $o, d as or, i as rr } from "../../info-e9389d85.js";
1
2
  import "../../Types/FiledTypes.js";
2
3
  import "../../ConfigProvider/index.js";
3
4
  import "../../Banner/Banner.js";
@@ -28,7 +29,6 @@ import "../../PartnersColors/PartnersColors.js";
28
29
  import "../../PreviewList/PreviewList.js";
29
30
  import "../../Cards/CardImage/CardImage.js";
30
31
  import "../../Cards/ContentCard/ContentCard.js";
31
- import { e as _o, f as $o, d as or, i as rr } from "../../info-085c4fc3.js";
32
32
  import "../../Cards/ColoredCard/index.js";
33
33
  import "../../Cards/FeaturesCard/index.js";
34
34
  import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../../index-a0ed2e4a.js";
3
3
  import "../../FileLoader/index.js";
4
- import { r as p } from "../../info-085c4fc3.js";
4
+ import { r as p } from "../../info-e9389d85.js";
5
5
  export {
6
6
  p as renderFormFields
7
7
  };
@@ -28,7 +28,7 @@ import "../../PartnersColors/PartnersColors.js";
28
28
  import "../../PreviewList/PreviewList.js";
29
29
  import "../../Cards/CardImage/CardImage.js";
30
30
  import "../../Cards/ContentCard/ContentCard.js";
31
- import { b as Wo, c as Xo } from "../../info-085c4fc3.js";
31
+ import { b as Wo, c as Xo } from "../../info-e9389d85.js";
32
32
  import "../../Cards/ColoredCard/index.js";
33
33
  import "../../Cards/FeaturesCard/index.js";
34
34
  import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { c as f } from "../componentsMap-280a0148.js";
2
+ import { c as f } from "../componentsMap-12ca184c.js";
3
3
  const a = (p) => p.map((r) => {
4
4
  const s = f[r.key];
5
5
  if (!s)
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, Fragment as t } from "react/jsx-runtime";
2
- import { c as i } from "../componentsMap-280a0148.js";
2
+ import { c as i } from "../componentsMap-12ca184c.js";
3
3
  const d = ({ components: o, device: p }) => /* @__PURE__ */ n(t, { children: o.map((r) => {
4
4
  const e = i[r.key];
5
5
  return e ? /* @__PURE__ */ n(
@@ -10,7 +10,7 @@ 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-085c4fc3.js";
13
+ import { W as l, F as C } from "./info-e9389d85.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";
@@ -1,66 +1,66 @@
1
1
  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
- import { warningCardVariant as he, WarningCardVariant as j, WarningCardVariantKey as ge } from "./Cards/WarningCard/model.js";
3
+ import { warningCardVariant as ge, WarningCardVariant as j, WarningCardVariantKey as be } from "./Cards/WarningCard/model.js";
4
4
  import "./ConfigProvider/index.js";
5
- import { Banner as be } from "./Banner/Banner.js";
5
+ import { Banner as xe } from "./Banner/Banner.js";
6
6
  import "./BannerAndText/index.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";
7
+ import { forwardRef as P, useState as I, useMemo as A, useEffect as ye, useRef as we, useImperativeHandle as te, useCallback as ke } from "react";
8
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
- import { HtmlContent as ke } from "./HtmlContent/HtmlContent.js";
11
+ import { HtmlContent as Ce } from "./HtmlContent/HtmlContent.js";
12
12
  import "./Header/components/TabsOutlined/TabsOutlined.js";
13
13
  import { B as R } from "./index-875e92ce.js";
14
- import { B as Ce, a as ve, b as De } from "./const-53dff524.js";
15
- import { Stepper as Ne } from "./Stepper/Stepper.js";
16
- import { Segments as Le } from "./Segments/Segments.js";
17
- import { VideoFull as _e } from "./Video/VideoFull/VideoFull.js";
18
- import { VideoList as Be } from "./Video/VideoList/VideoList.js";
19
- import { VideoListMini as Me } from "./Video/VideoListMini/VideoListMini.js";
20
- import { ContentCardList as Se } from "./ContentCardList/ContentCardList.js";
21
- import { CardIconList as Fe } from "./CardIconList/CardIconList.js";
22
- import { MultiCards as Ve } from "./MultiCards/index.js";
23
- import { Partners as Ie } from "./Partners/Partners.js";
24
- import { CardImageList as Te } from "./CardImageList/CardImageList.js";
25
- import { MainBanner as He } from "./MainBanner/MainBanner.js";
26
- import { Faq as Pe } from "./Faq/Faq.js";
27
- import { InstructionList as We } from "./InstructionList/InstructionList.js";
14
+ import { B as ve, a as De, b as Ne } from "./const-53dff524.js";
15
+ import { Stepper as Le } from "./Stepper/Stepper.js";
16
+ import { Segments as _e } from "./Segments/Segments.js";
17
+ import { VideoFull as Be } from "./Video/VideoFull/VideoFull.js";
18
+ import { VideoList as Me } from "./Video/VideoList/VideoList.js";
19
+ import { VideoListMini as Se } from "./Video/VideoListMini/VideoListMini.js";
20
+ import { ContentCardList as Fe } from "./ContentCardList/ContentCardList.js";
21
+ import { CardIconList as Ve } from "./CardIconList/CardIconList.js";
22
+ import { MultiCards as Ie } from "./MultiCards/index.js";
23
+ import { Partners as Te } from "./Partners/Partners.js";
24
+ import { CardImageList as He } from "./CardImageList/CardImageList.js";
25
+ import { MainBanner as Pe } from "./MainBanner/MainBanner.js";
26
+ import { Faq as We } from "./Faq/Faq.js";
27
+ import { InstructionList as Ge } from "./InstructionList/InstructionList.js";
28
28
  import "./HeroPossibilityBanner/index.js";
29
- import { PartnersColors as Ge } from "./PartnersColors/PartnersColors.js";
30
- import { PreviewList as Oe } from "./PreviewList/PreviewList.js";
29
+ import { PartnersColors as Oe } from "./PartnersColors/PartnersColors.js";
30
+ import { PreviewList as je } from "./PreviewList/PreviewList.js";
31
31
  import "./Cards/CardImage/CardImage.js";
32
32
  import "./Cards/ContentCard/ContentCard.js";
33
33
  import "./Cards/ColoredCard/index.js";
34
34
  import "./Cards/FeaturesCard/index.js";
35
- import { DownloadFileBanner as je } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
36
- import { DownloadFileFull as Ee } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
37
- import { DownloadFileHalf as Ae } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
38
- import { DownloadFileMini as Ze } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
35
+ import { DownloadFileBanner as Ee } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
36
+ import { DownloadFileFull as Ae } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
37
+ import { DownloadFileHalf as Ze } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
38
+ import { DownloadFileMini as $e } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
39
39
  import "./InstructionList/components/InstructionCard/InstructionCard.js";
40
40
  import "./PreviewList/components/PreviewCard/PreviewCard.js";
41
- import $e from "./AnimatedSwiper/index.js";
41
+ import Re from "./AnimatedSwiper/index.js";
42
42
  import "./CardImageSecondary/CardImageSecondary.js";
43
- import { CardImageSecondaryList as Re } from "./CardImageSecondaryList/CardImageSecondaryList.js";
44
- import { CardInfoTable as Xe } from "./CardInfoTable/index.js";
45
- import { DownloadFileBright as qe } from "./DownloadFile/components/DownloadFileBright/index.js";
43
+ import { CardImageSecondaryList as Xe } from "./CardImageSecondaryList/CardImageSecondaryList.js";
44
+ import { CardInfoTable as qe } from "./CardInfoTable/index.js";
45
+ import { DownloadFileBright as ze } from "./DownloadFile/components/DownloadFileBright/index.js";
46
46
  import "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
47
- import { C as ze, u as Ye } from "./index-a0ed2e4a.js";
47
+ import { C as Ye, u as Ke } from "./index-a0ed2e4a.js";
48
48
  import { C as re } from "./ComponentContainer-dca711c6.js";
49
- import { u as Ke } from "./useScreenSize-c1b64c02.js";
50
- import Qe from "./FileLoader/index.js";
49
+ import { u as Qe } from "./useScreenSize-c1b64c02.js";
50
+ import Ue from "./FileLoader/index.js";
51
51
  import { u as q } from "./useClickOutside-197b0df2.js";
52
52
  import { TitleBlock as oe } from "./TitleBlock/TitleBlock.js";
53
53
  import "./InfoBanner/index.js";
54
- import { InfoBannerList as Ue } from "./InfoBannerList/InfoBannerList.js";
55
- import { IntroBanner as Je } from "./IntroBanner/IntroBanner.js";
56
- import { PromoPoster as et } from "./PromoPoster/PromoPoster.js";
57
- import { Space as tt } from "./Space/Space.js";
58
- import { StandartTable as rt } from "./StandartTable/index.js";
59
- import { SwiperList as ot } from "./SwiperList/SwiperList.js";
54
+ import { InfoBannerList as Je } from "./InfoBannerList/InfoBannerList.js";
55
+ import { IntroBanner as et } from "./IntroBanner/IntroBanner.js";
56
+ import { PromoPoster as tt } from "./PromoPoster/PromoPoster.js";
57
+ import { Space as rt } from "./Space/Space.js";
58
+ import { StandartTable as ot } from "./StandartTable/index.js";
59
+ import { SwiperList as at } from "./SwiperList/SwiperList.js";
60
60
  import "./TasksBanner/TasksBanner.js";
61
- import { TasksBannerList as at } from "./TasksBannerList/TasksBannerList.js";
62
- import { VideoMainBanner as nt } from "./VideoMainBanner/VideoMainBanner.js";
63
- import { M as st, B as lt, C as it, S as ct, b as dt, V as pt, 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 Ct, l as vt, 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";
61
+ import { TasksBannerList as nt } from "./TasksBannerList/TasksBannerList.js";
62
+ import { VideoMainBanner as st } from "./VideoMainBanner/VideoMainBanner.js";
63
+ import { M as lt, B as it, C as ct, S as dt, b as pt, V as mt, c as ut, d as ft, e as ht, f as gt, g as bt, P as xt, h as yt, W as wt, F as kt, k as Ct, D as vt, l as Dt, m as Nt, I as Lt, o as _t, p as Bt, A as Mt, q as St, T as Ft, r as Vt, E as It, s as Tt, t as Ht, u as Pt, v as Wt, w as Gt, x as Ot, y as jt } 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";
@@ -107,25 +107,25 @@ import "./Video/VideoList/info.js";
107
107
  import "./Video/VideoListMini/info.js";
108
108
  import "./VideoMainBanner/info.js";
109
109
  import "./Actions/types.js";
110
- import { componentTypes as jt } from "./Forms/FormDefault/componentTypes.js";
111
- import { fieldTypesList as Et } from "./Forms/FormDefault/fieldTypesList.js";
112
- import { Header as At } from "./Header/Header.js";
113
- import { Footer as Zt } from "./Footer/Footer.js";
114
- import { I as $t } from "./Icon-70ea6cb8.js";
110
+ import { componentTypes as Et } from "./Forms/FormDefault/componentTypes.js";
111
+ import { fieldTypesList as At } from "./Forms/FormDefault/fieldTypesList.js";
112
+ import { Header as Zt } from "./Header/Header.js";
113
+ import { Footer as $t } from "./Footer/Footer.js";
114
+ import { I as Rt } from "./Icon-70ea6cb8.js";
115
115
  const ae = [
116
116
  "title",
117
117
  "title_color",
118
118
  "description",
119
119
  "description_color",
120
120
  "html_content",
121
- Ce,
122
- he
121
+ ve,
122
+ ge
123
123
  ], z = ({
124
124
  title: a,
125
125
  description: r,
126
126
  button: o,
127
127
  html_content: s,
128
- variant: e = ge.Orange
128
+ variant: e = be.Orange
129
129
  }) => {
130
130
  var l, m, k, y;
131
131
  return /* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
@@ -140,7 +140,7 @@ const ae = [
140
140
  className: "flex gap-[16px] items-center max-tablet:flex-col max-tablet:items-start max-tablet:gap-[12px]",
141
141
  children: [
142
142
  /* @__PURE__ */ t(
143
- $t,
143
+ Rt,
144
144
  {
145
145
  name: (m = j[e]) == null ? void 0 : m.icon,
146
146
  size: 40
@@ -163,7 +163,7 @@ const ae = [
163
163
  children: r
164
164
  }
165
165
  ),
166
- s && /* @__PURE__ */ t(ke, { data: s })
166
+ s && /* @__PURE__ */ t(Ce, { data: s })
167
167
  ] })
168
168
  ]
169
169
  }
@@ -297,7 +297,7 @@ const se = P(
297
297
  ] })
298
298
  );
299
299
  se.displayName = "Input";
300
- const Rt = () => /* @__PURE__ */ t(
300
+ const Xt = () => /* @__PURE__ */ t(
301
301
  "svg",
302
302
  {
303
303
  width: "20",
@@ -313,12 +313,12 @@ const Rt = () => /* @__PURE__ */ t(
313
313
  }
314
314
  )
315
315
  }
316
- ), Xt = (a) => {
316
+ ), qt = (a) => {
317
317
  if (!a)
318
318
  return "";
319
319
  const r = String(a.getDate()).padStart(2, "0"), o = String(a.getMonth() + 1).padStart(2, "0"), s = a.getFullYear();
320
320
  return `${r}.${o}.${s}`;
321
- }, qt = (a) => {
321
+ }, zt = (a) => {
322
322
  if (!a)
323
323
  return null;
324
324
  const r = a.split(".");
@@ -331,7 +331,7 @@ const Rt = () => /* @__PURE__ */ t(
331
331
  }
332
332
  }
333
333
  return null;
334
- }, zt = (a, r) => new Date(r, a, 1).toLocaleDateString("ru-RU", { month: "long", year: "numeric" }), Yt = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], le = P(
334
+ }, Yt = (a, r) => new Date(r, a, 1).toLocaleDateString("ru-RU", { month: "long", year: "numeric" }), Kt = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], le = P(
335
335
  ({
336
336
  className: a,
337
337
  error: r,
@@ -343,8 +343,8 @@ const Rt = () => /* @__PURE__ */ t(
343
343
  }, k) => {
344
344
  const [y, n] = I(""), [N, C] = I(!1), [c, v] = I((/* @__PURE__ */ new Date()).getMonth()), [h, x] = I((/* @__PURE__ */ new Date()).getFullYear()), [u, S] = I(null), F = s !== void 0, w = F ? s : y, { ref: L } = q(N, () => {
345
345
  C(!1);
346
- }), B = A(() => qt(w), [w]);
347
- xe(() => {
346
+ }), B = A(() => zt(w), [w]);
347
+ ye(() => {
348
348
  B && (S(B), v(B.getMonth()), x(B.getFullYear()));
349
349
  }, [B]);
350
350
  const T = A(() => {
@@ -365,7 +365,7 @@ const Rt = () => /* @__PURE__ */ t(
365
365
  return;
366
366
  let p = c, D = h;
367
367
  d ? (p = p - 1, p < 0 && (p = 11, D = D - 1)) : V && (p = p + 1, p > 11 && (p = 0, D = D + 1));
368
- const W = new Date(D, p, f), H = Xt(W);
368
+ const W = new Date(D, p, f), H = qt(W);
369
369
  S(W), v(p), x(D), F || n(H), e == null || e(H), C(!1);
370
370
  }, $ = () => {
371
371
  c === 0 ? (v(11), x(h - 1)) : v(c - 1);
@@ -399,7 +399,7 @@ const Rt = () => /* @__PURE__ */ t(
399
399
  onClick: () => C(!N),
400
400
  className: "absolute left-4 flex items-center justify-center cursor-pointer",
401
401
  tabIndex: -1,
402
- children: /* @__PURE__ */ t(Rt, {})
402
+ children: /* @__PURE__ */ t(Xt, {})
403
403
  }
404
404
  ),
405
405
  /* @__PURE__ */ t(
@@ -460,7 +460,7 @@ const Rt = () => /* @__PURE__ */ t(
460
460
  )
461
461
  }
462
462
  ),
463
- /* @__PURE__ */ t("h3", { className: "text-base font-semibold text-blackBG", children: zt(c, h) }),
463
+ /* @__PURE__ */ t("h3", { className: "text-base font-semibold text-blackBG", children: Yt(c, h) }),
464
464
  /* @__PURE__ */ t(
465
465
  "button",
466
466
  {
@@ -490,7 +490,7 @@ const Rt = () => /* @__PURE__ */ t(
490
490
  }
491
491
  )
492
492
  ] }),
493
- /* @__PURE__ */ t("div", { className: "grid grid-cols-7 gap-1 mb-2", children: Yt.map((f) => /* @__PURE__ */ t(
493
+ /* @__PURE__ */ t("div", { className: "grid grid-cols-7 gap-1 mb-2", children: Kt.map((f) => /* @__PURE__ */ t(
494
494
  "div",
495
495
  {
496
496
  className: "text-center text-xs font-medium text-grayBlue5 py-2",
@@ -503,7 +503,7 @@ const Rt = () => /* @__PURE__ */ t(
503
503
  h,
504
504
  c + 1,
505
505
  0
506
- ).getDate(), W = d < p, H = d >= p + D, M = !W && !H, fe = _(
506
+ ).getDate(), W = d < p, H = d >= p + D, M = !W && !H, he = _(
507
507
  f,
508
508
  W,
509
509
  H
@@ -518,7 +518,7 @@ const Rt = () => /* @__PURE__ */ t(
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",
521
- fe && "bg-[#16A34A] text-white hover:bg-[#16A34A] focus:bg-[#16A34A]"
521
+ he && "bg-[#16A34A] text-white hover:bg-[#16A34A] focus:bg-[#16A34A]"
522
522
  ),
523
523
  children: f
524
524
  },
@@ -546,9 +546,9 @@ const ie = P(
546
546
  defaultValue: k,
547
547
  ...y
548
548
  }, n) => {
549
- const N = ye(null);
549
+ const N = we(null);
550
550
  te(n, () => N.current);
551
- const C = !!o || !!r, c = we(
551
+ const C = !!o || !!r, c = ke(
552
552
  (x) => {
553
553
  if (x == null || x === "")
554
554
  return "";
@@ -599,19 +599,19 @@ const ie = P(
599
599
  }
600
600
  );
601
601
  ie.displayName = "NumberField";
602
- const Kt = {
602
+ const Qt = {
603
603
  96: { name: "Кыргызстан", short: "KG", mask: "+996", length: 9 }
604
- }, Qt = (a) => {
604
+ }, Ut = (a) => {
605
605
  const r = a.toUpperCase().split("").map((o) => 127397 + o.charCodeAt(0));
606
606
  return String.fromCodePoint(...r);
607
- }, K = () => Object.entries(Kt).map(([a, r]) => ({
607
+ }, K = () => Object.entries(Qt).map(([a, r]) => ({
608
608
  id: a,
609
609
  name: r.name,
610
610
  short: r.short,
611
611
  mask: r.mask,
612
612
  dialCode: r.mask.replace("+", ""),
613
613
  length: r.length,
614
- flag: Qt(r.short)
614
+ flag: Ut(r.short)
615
615
  })), E = (a) => K().find((o) => o.id === a), J = (a, r) => {
616
616
  const o = r.dialCode, s = r.length;
617
617
  let e = a;
@@ -621,7 +621,7 @@ const Kt = {
621
621
  return r.mask;
622
622
  let m = l;
623
623
  return l.length > 6 ? m = `${l.slice(0, 3)} ${l.slice(3, 6)} ${l.slice(6)}` : l.length > 3 && (m = `${l.slice(0, 3)} ${l.slice(3)}`), `${r.mask} ${m}`;
624
- }, Ut = (a, r) => {
624
+ }, Jt = (a, r) => {
625
625
  if (!a)
626
626
  return null;
627
627
  const o = a.replace(/\D/g, ""), s = K();
@@ -671,7 +671,7 @@ const Kt = {
671
671
  const V = J(d, f);
672
672
  u || n(V), e == null || e(V);
673
673
  }, $ = (g) => {
674
- const _ = g.target.value, f = _.replace(/\D/g, ""), d = Ut(
674
+ const _ = g.target.value, f = _.replace(/\D/g, ""), d = Jt(
675
675
  _
676
676
  );
677
677
  d && d.id !== N && C(d.id);
@@ -1023,10 +1023,10 @@ const me = P(
1023
1023
  }
1024
1024
  );
1025
1025
  me.displayName = "Select";
1026
- const Jt = {
1026
+ const er = {
1027
1027
  TitleBlock: oe,
1028
1028
  WarningCard: z
1029
- }, er = [
1029
+ }, tr = [
1030
1030
  {
1031
1031
  label: "TitleBlock",
1032
1032
  value: "TitleBlock"
@@ -1035,7 +1035,7 @@ const Jt = {
1035
1035
  label: "WarningCard",
1036
1036
  value: "WarningCard"
1037
1037
  }
1038
- ], tr = {
1038
+ ], rr = {
1039
1039
  text: se,
1040
1040
  number: ie,
1041
1041
  phone: ce,
@@ -1043,15 +1043,15 @@ const Jt = {
1043
1043
  date: le,
1044
1044
  radio: de,
1045
1045
  checkbox: ne,
1046
- file: Qe
1047
- }, rr = (a, {
1046
+ file: Ue
1047
+ }, or = (a, {
1048
1048
  register: r,
1049
1049
  errors: o,
1050
1050
  control: s
1051
1051
  }) => a.map((e, l) => {
1052
1052
  var k;
1053
1053
  if ((e == null ? void 0 : e.componentType) === "component") {
1054
- const y = Jt[e == null ? void 0 : e.key];
1054
+ const y = er[e == null ? void 0 : e.key];
1055
1055
  if (y)
1056
1056
  return /* @__PURE__ */ t(
1057
1057
  y,
@@ -1061,13 +1061,13 @@ const Jt = {
1061
1061
  l
1062
1062
  );
1063
1063
  }
1064
- const m = tr[e == null ? void 0 : e.type];
1064
+ const m = rr[e == null ? void 0 : e.type];
1065
1065
  if (m) {
1066
1066
  const y = ["select", "radio", "checkbox", "file"].includes(
1067
1067
  e.type
1068
1068
  ), n = e != null && e.name ? (k = o[e == null ? void 0 : e.name]) == null ? void 0 : k.message : void 0;
1069
1069
  return y && s && (e != null && e.name) ? /* @__PURE__ */ t(
1070
- ze,
1070
+ Ye,
1071
1071
  {
1072
1072
  name: e.name,
1073
1073
  control: s,
@@ -1120,55 +1120,57 @@ const Jt = {
1120
1120
  }, ba = {
1121
1121
  title: "Форма заявки",
1122
1122
  description: "Форма заявки ",
1123
- types: [ee.form]
1124
- // propsToEdit: propsToEdit,
1125
- }, or = {
1123
+ types: [ee.form],
1124
+ propsToEdit: ue
1125
+ }, ar = {
1126
1126
  title: "Оставьте заявку, чтобы подключить MKassa",
1127
1127
  description: "с Вами свяжется наш специалист и поможет с подключением сервиса",
1128
1128
  color: "#45464b"
1129
- }, ar = Q({
1129
+ }, nr = Q({
1130
1130
  label: "Тип поля",
1131
1131
  type: "componentType",
1132
- options: jt
1133
- }), nr = Q({
1132
+ options: Et
1133
+ }), sr = Q({
1134
1134
  label: "Компонент",
1135
1135
  type: "componentType",
1136
- options: er
1137
- }), sr = Q({
1136
+ options: tr
1137
+ }), lr = Q({
1138
1138
  label: "Тип поля",
1139
1139
  type: "fieldType",
1140
- options: Et
1141
- }), lr = {
1140
+ options: At
1141
+ }), ir = {
1142
1142
  type: "fields",
1143
1143
  dataType: "array",
1144
1144
  label: "Поля для формы",
1145
1145
  data: {
1146
- componentType: ar,
1147
- type: sr,
1148
- key: nr,
1146
+ componentType: nr,
1147
+ type: lr,
1148
+ key: sr,
1149
1149
  name: G.STRING,
1150
1150
  props: {
1151
+ label: "Свойства компонента",
1151
1152
  dataType: X.object,
1152
- keys: {
1153
- title: G.TITLE,
1154
- description: G.DESCRIPTION,
1155
- html_content: G.HTML_CONTENT
1156
- }
1157
- },
1158
- field_props: {
1159
- dataType: X.object,
1160
- keys: {
1161
- label: G.TITLE,
1162
- placeholder: G.DESCRIPTION,
1163
- is_required: G.BOOLEAN
1153
+ data: {
1154
+ keys: {
1155
+ title: G.TITLE,
1156
+ description: G.DESCRIPTION,
1157
+ html_content: G.HTML_CONTENT
1158
+ }
1159
+ },
1160
+ field_props: {
1161
+ label: "Свойства поля",
1162
+ dataType: X.object,
1163
+ data: {
1164
+ keys: {
1165
+ label: G.TITLE,
1166
+ placeholder: G.DESCRIPTION,
1167
+ is_required: G.BOOLEAN
1168
+ }
1169
+ }
1164
1170
  }
1165
1171
  }
1166
- // form_item_props: {
1167
- // label: FieldTypes.STRING,
1168
- // placeholder: FieldTypes.STRING,
1169
- // },
1170
1172
  }
1171
- }, ir = ["title", "subtitle", "color", lr], ue = ({
1173
+ }, ue = ["title", "subtitle", "color", ir], fe = ({
1172
1174
  title: a,
1173
1175
  subtitle: r,
1174
1176
  color: o,
@@ -1177,14 +1179,14 @@ const Jt = {
1177
1179
  fields: l = []
1178
1180
  }) => {
1179
1181
  var L;
1180
- const [m, k] = I(!1), [y, n] = I(!1), N = Ke(960), {
1182
+ const [m, k] = I(!1), [y, n] = I(!1), N = Qe(960), {
1181
1183
  register: C,
1182
1184
  handleSubmit: c,
1183
1185
  watch: v,
1184
1186
  reset: h,
1185
1187
  control: x,
1186
1188
  formState: { errors: u }
1187
- } = Ye({
1189
+ } = Ke({
1188
1190
  defaultValues: {
1189
1191
  fio: "",
1190
1192
  phone: "",
@@ -1193,7 +1195,7 @@ const Jt = {
1193
1195
  }
1194
1196
  }), S = v("agreement"), F = async (B) => {
1195
1197
  console.log("Form submitted:", B);
1196
- }, w = rr(l || [], {
1198
+ }, w = or(l || [], {
1197
1199
  register: C,
1198
1200
  errors: u,
1199
1201
  control: x
@@ -1291,8 +1293,8 @@ const Jt = {
1291
1293
  loading: y,
1292
1294
  className: "w-full whitespace-nowrap transition-all duration-200 hover:scale-[1.02] active:scale-[0.98]",
1293
1295
  type: "submit",
1294
- size: ve.XL,
1295
- variant: De.Primary,
1296
+ size: De.XL,
1297
+ variant: Ne.Primary,
1296
1298
  disabled: !S || y,
1297
1299
  children: "Отправить заявку"
1298
1300
  }
@@ -1304,93 +1306,93 @@ const Jt = {
1304
1306
  }
1305
1307
  ) });
1306
1308
  };
1307
- ue.propsToEdit = ir;
1309
+ fe.propsToEdit = ue;
1308
1310
  const xa = {
1309
- MainBanner: { key: "MainBanner", component: He },
1310
- Banner: { key: "Banner", component: be },
1311
- CardImageList: { key: "CardImageList", component: Te },
1312
- Stepper: { key: "Stepper", component: Ne },
1313
- Segments: { key: "Segments", component: Le },
1314
- VideoFull: { key: "VideoFull", component: _e },
1315
- VideoList: { key: "VideoList", component: Be },
1316
- VideoListMini: { key: "VideoListMini", component: Me },
1317
- ContentCardList: { key: "ContentCardList", component: Se },
1318
- CardIconList: { key: "CardIconList", component: Fe },
1319
- MultiCards: { key: "MultiCards", component: Ve },
1320
- Partners: { key: "Partners", component: Ie },
1321
- PartnersColors: { key: "PartnersColors", component: Ge },
1311
+ MainBanner: { key: "MainBanner", component: Pe },
1312
+ Banner: { key: "Banner", component: xe },
1313
+ CardImageList: { key: "CardImageList", component: He },
1314
+ Stepper: { key: "Stepper", component: Le },
1315
+ Segments: { key: "Segments", component: _e },
1316
+ VideoFull: { key: "VideoFull", component: Be },
1317
+ VideoList: { key: "VideoList", component: Me },
1318
+ VideoListMini: { key: "VideoListMini", component: Se },
1319
+ ContentCardList: { key: "ContentCardList", component: Fe },
1320
+ CardIconList: { key: "CardIconList", component: Ve },
1321
+ MultiCards: { key: "MultiCards", component: Ie },
1322
+ Partners: { key: "Partners", component: Te },
1323
+ PartnersColors: { key: "PartnersColors", component: Oe },
1322
1324
  WarningCard: { key: "WarningCard", component: z },
1323
- Faq: { key: "Faq", component: Pe },
1325
+ Faq: { key: "Faq", component: We },
1324
1326
  DownloadFileBanner: {
1325
1327
  key: "DownloadFileBanner",
1326
- component: je
1328
+ component: Ee
1327
1329
  },
1328
- DownloadFileHalf: { key: "DownloadFileHalf", component: Ae },
1329
- DownloadFileFull: { key: "DownloadFileFull", component: Ee },
1330
- DownloadFileMini: { key: "DownloadFileMini", component: Ze },
1331
- InstructionList: { key: "InstructionList", component: We },
1332
- PreviewList: { key: "PreviewList", component: Oe },
1333
- SwiperList: { key: "SwiperList", component: ot },
1334
- AnimatedSwiper: { key: "AnimatedSwiper", component: $e },
1335
- InfoBannerList: { key: "InfoBannerList", component: Ue },
1336
- TasksBannerList: { key: "TasksBannerList", component: at },
1337
- VideoMainBanner: { key: "VideoMainBanner", component: nt },
1338
- Space: { key: "Space", component: tt },
1339
- PromoPoster: { key: "PromoPoster", component: et },
1330
+ DownloadFileHalf: { key: "DownloadFileHalf", component: Ze },
1331
+ DownloadFileFull: { key: "DownloadFileFull", component: Ae },
1332
+ DownloadFileMini: { key: "DownloadFileMini", component: $e },
1333
+ InstructionList: { key: "InstructionList", component: Ge },
1334
+ PreviewList: { key: "PreviewList", component: je },
1335
+ SwiperList: { key: "SwiperList", component: at },
1336
+ AnimatedSwiper: { key: "AnimatedSwiper", component: Re },
1337
+ InfoBannerList: { key: "InfoBannerList", component: Je },
1338
+ TasksBannerList: { key: "TasksBannerList", component: nt },
1339
+ VideoMainBanner: { key: "VideoMainBanner", component: st },
1340
+ Space: { key: "Space", component: rt },
1341
+ PromoPoster: { key: "PromoPoster", component: tt },
1340
1342
  CardImageSecondaryList: {
1341
1343
  key: "CardImageSecondaryList",
1342
- component: Re
1344
+ component: Xe
1343
1345
  },
1344
- CardInfoTable: { key: "CardInfoTable", component: Xe },
1345
- StandartTable: { key: "StandartTable", component: rt },
1346
- IntroBanner: { key: "IntroBanner", component: Je },
1346
+ CardInfoTable: { key: "CardInfoTable", component: qe },
1347
+ StandartTable: { key: "StandartTable", component: ot },
1348
+ IntroBanner: { key: "IntroBanner", component: et },
1347
1349
  DownloadFileBright: {
1348
1350
  key: "DownloadFileBright",
1349
- component: qe
1351
+ component: ze
1350
1352
  },
1351
1353
  FormDefault: {
1352
1354
  key: "FormDefault",
1353
- component: ue
1355
+ component: fe
1354
1356
  },
1355
- Header: { key: "Header", component: At },
1356
- Footer: { key: "Footer", component: Zt },
1357
+ Header: { key: "Header", component: Zt },
1358
+ Footer: { key: "Footer", component: $t },
1357
1359
  TitleBlock: { key: "TitleBlock", component: oe }
1358
1360
  }, ya = {
1359
- MainBanner: st.component_props,
1360
- Banner: lt.component_props,
1361
- CardImageList: it.component_props,
1362
- Stepper: ct.component_props,
1363
- Segments: dt.component_props,
1364
- VideoFull: pt.component_props,
1365
- VideoList: mt.component_props,
1366
- VideoListMini: ut.component_props,
1367
- ContentCardList: ft.component_props,
1368
- CardIconList: ht.component_props,
1369
- MultiCards: gt.component_props,
1370
- Partners: bt.component_props,
1371
- PartnersColors: xt.component_props,
1372
- WarningCard: yt.component_props,
1373
- Faq: wt.component_props,
1374
- DownloadFileBanner: kt.component_props,
1375
- DownloadFileHalf: Ct.component_props,
1376
- DownloadFileFull: vt.component_props,
1377
- DownloadFileMini: Dt.component_props,
1378
- InstructionList: Nt.component_props,
1379
- PreviewList: Lt.component_props,
1380
- SwiperList: _t.component_props,
1381
- AnimatedSwiper: Bt.component_props,
1382
- InfoBannerList: Mt.component_props,
1383
- TasksBannerList: St.component_props,
1384
- VideoMainBanner: Ft.component_props,
1385
- EmptyBox: Vt.component_props,
1386
- PromoPoster: It.component_props,
1387
- CardImageSecondaryList: Tt.component_props,
1388
- CardInfoTable: Ht.component_props,
1389
- StandartTable: Pt.component_props,
1390
- IntroBanner: Wt.component_props,
1391
- DownloadFileBright: Gt.component_props,
1392
- FormDefault: or,
1393
- TitleBlock: Ot.component_props
1361
+ MainBanner: lt.component_props,
1362
+ Banner: it.component_props,
1363
+ CardImageList: ct.component_props,
1364
+ Stepper: dt.component_props,
1365
+ Segments: pt.component_props,
1366
+ VideoFull: mt.component_props,
1367
+ VideoList: ut.component_props,
1368
+ VideoListMini: ft.component_props,
1369
+ ContentCardList: ht.component_props,
1370
+ CardIconList: gt.component_props,
1371
+ MultiCards: bt.component_props,
1372
+ Partners: xt.component_props,
1373
+ PartnersColors: yt.component_props,
1374
+ WarningCard: wt.component_props,
1375
+ Faq: kt.component_props,
1376
+ DownloadFileBanner: Ct.component_props,
1377
+ DownloadFileHalf: vt.component_props,
1378
+ DownloadFileFull: Dt.component_props,
1379
+ DownloadFileMini: Nt.component_props,
1380
+ InstructionList: Lt.component_props,
1381
+ PreviewList: _t.component_props,
1382
+ SwiperList: Bt.component_props,
1383
+ AnimatedSwiper: Mt.component_props,
1384
+ InfoBannerList: St.component_props,
1385
+ TasksBannerList: Ft.component_props,
1386
+ VideoMainBanner: Vt.component_props,
1387
+ EmptyBox: It.component_props,
1388
+ PromoPoster: Tt.component_props,
1389
+ CardImageSecondaryList: Ht.component_props,
1390
+ CardInfoTable: Pt.component_props,
1391
+ StandartTable: Wt.component_props,
1392
+ IntroBanner: Gt.component_props,
1393
+ DownloadFileBright: Ot.component_props,
1394
+ FormDefault: ar,
1395
+ TitleBlock: jt.component_props
1394
1396
  }, wa = {
1395
1397
  title: "Предупреждающая карточка",
1396
1398
  description: "Компонент для отображения предупреждающей информации в виде карточки с иконкой, заголовком и описанием. Используется для привлечения внимания к важной информации или предупреждениям.",
@@ -1399,17 +1401,17 @@ const xa = {
1399
1401
  };
1400
1402
  export {
1401
1403
  ya as A,
1402
- ue as F,
1404
+ fe as F,
1403
1405
  z as W,
1404
1406
  xa as a,
1405
- er as b,
1406
- Jt as c,
1407
- or as d,
1408
- lr as e,
1407
+ tr as b,
1408
+ er as c,
1409
+ ar as d,
1410
+ ir as e,
1409
1411
  ba as f,
1410
- ir as g,
1412
+ ue as g,
1411
1413
  ga as i,
1412
1414
  ae as p,
1413
- rr as r,
1415
+ or as r,
1414
1416
  wa as w
1415
1417
  };
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-085c4fc3.js";
25
+ import { a as mo, A as fo, F as xo, W as so } from "./info-e9389d85.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.97",
5
+ "version": "0.0.98",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",