md-components-mdigial-azamat 0.0.37 → 0.0.39

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.
Files changed (32) hide show
  1. package/dist/AllComponents.js +1 -1
  2. package/dist/Header/Header.js +1 -1
  3. package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +1 -1
  4. package/dist/Header/components/HeaderMobile/HeaderMobile.js +1 -1
  5. package/dist/Header/components/HeaderMobile/index.js +1 -1
  6. package/dist/Header/index.js +1 -1
  7. package/dist/InfoBannerList/InfoBannerList.js +1 -1
  8. package/dist/InfoBannerList/index.js +1 -1
  9. package/dist/InstructionList/InstructionList.js +1 -1
  10. package/dist/InstructionList/components/InstructionCard/InstructionCard.js +1 -1
  11. package/dist/InstructionList/components/InstructionCard/index.js +1 -1
  12. package/dist/InstructionList/index.js +1 -1
  13. package/dist/PageViewer/PageViewer.js +1 -1
  14. package/dist/PageViewer/renderComponents.js +1 -1
  15. package/dist/PreviewList/PreviewList.js +1 -1
  16. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +1 -1
  17. package/dist/PreviewList/components/PreviewCard/index.js +1 -1
  18. package/dist/PreviewList/index.js +1 -1
  19. package/dist/PromoPoster/PromoPoster.js +1 -1
  20. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  21. package/dist/StandartTable/components/CardMarkedRow/index.js +1 -1
  22. package/dist/StandartTable/index.js +1 -1
  23. package/dist/SwiperList/SwiperList.js +1 -1
  24. package/dist/SwiperList/index.js +1 -1
  25. package/dist/TasksBanner/TasksBanner.js +1 -1
  26. package/dist/TasksBanner/index.js +1 -1
  27. package/dist/TasksBannerList/TasksBannerList.js +1 -1
  28. package/dist/TasksBannerList/index.js +1 -1
  29. package/dist/{componentsMap-e7dba337.js → componentsMap-d90efb17.js} +1 -1
  30. package/dist/{index-3f94ad07.js → index-db31fa48.js} +85 -86
  31. package/dist/main.js +1 -1
  32. package/package.json +1 -1
@@ -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 { f as R, A as S } from "./index-3f94ad07.js";
11
+ import { f as R, A as S } from "./index-db31fa48.js";
12
12
  import "./IntroBanner/IntroBanner.js";
13
13
  import "./MainBanner/MainBanner.js";
14
14
  import "./MultiCards/index.js";
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../cn-6a4bf187.js";
3
3
  import "../useScreenSize-c1b64c02.js";
4
- import { H as e } from "../index-3f94ad07.js";
4
+ import { H as e } from "../index-db31fa48.js";
5
5
  import "./components/HeaderWeb/HeaderWeb.js";
6
6
  export {
7
7
  e as Header
@@ -5,7 +5,7 @@ import "../../../ConfigProvider/index.js";
5
5
  import "../../../Banner/Banner.js";
6
6
  import "../../../BannerAndText/index.js";
7
7
  import "../../../cn-6a4bf187.js";
8
- import { g as T } from "../../../index-3f94ad07.js";
8
+ import { g as T } from "../../../index-db31fa48.js";
9
9
  import "../../../HtmlContent/HtmlContent.js";
10
10
  import "../TabsOutlined/TabsOutlined.js";
11
11
  import "../../../index-6af94f99.js";
@@ -4,7 +4,7 @@ import "../../const.js";
4
4
  import "../../../index-3a534581.js";
5
5
  import "../../../cn-6a4bf187.js";
6
6
  import "../HeaderMainMobile/HeaderMainMobile.js";
7
- import { h as d } from "../../../index-3f94ad07.js";
7
+ import { h as d } from "../../../index-db31fa48.js";
8
8
  import "../HeaderSearchMobile/HeaderSearchMobile.js";
9
9
  export {
10
10
  d as HeaderMobile
@@ -1,4 +1,4 @@
1
- import { h as r } from "../../../index-3f94ad07.js";
1
+ import { h as r } from "../../../index-db31fa48.js";
2
2
  export {
3
3
  r as HeaderMobile
4
4
  };
@@ -1,4 +1,4 @@
1
- import { H as a } from "../index-3f94ad07.js";
1
+ import { H as a } from "../index-db31fa48.js";
2
2
  export {
3
3
  a as Header
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../InfoBanner/index.js";
3
- import { a as n } from "../index-3f94ad07.js";
3
+ import { a as n } from "../index-db31fa48.js";
4
4
  import "../ComponentContainer-cdb2528c.js";
5
5
  import "../cn-6a4bf187.js";
6
6
  import "../useScreenSize-c1b64c02.js";
@@ -1,4 +1,4 @@
1
- import { a as o } from "../index-3f94ad07.js";
1
+ import { a as o } from "../index-db31fa48.js";
2
2
  export {
3
3
  o as InfoBannerList
4
4
  };
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "../index-6af94f99.js";
3
3
  import "../const-637b0dca.js";
4
4
  import "../ComponentContainer-cdb2528c.js";
5
- import { I as s, j as a } from "../index-3f94ad07.js";
5
+ import { I as s, j as a } from "../index-db31fa48.js";
6
6
  export {
7
7
  s as InstructionList,
8
8
  a as cards
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { d as U, i as V } from "../../../index-3f94ad07.js";
3
+ import { d as U, i as V } from "../../../index-db31fa48.js";
4
4
  import "../../../ConfigProvider/index.js";
5
5
  import "../../../Banner/Banner.js";
6
6
  import "../../../BannerAndText/index.js";
@@ -1,4 +1,4 @@
1
- import { d as t } from "../../../index-3f94ad07.js";
1
+ import { d as t } from "../../../index-db31fa48.js";
2
2
  export {
3
3
  t as InstructionCard
4
4
  };
@@ -1,4 +1,4 @@
1
- import { I as r } from "../index-3f94ad07.js";
1
+ import { I as r } from "../index-db31fa48.js";
2
2
  export {
3
3
  r as InstructionList
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import "../ConfigProvider/index.js";
2
2
  import "../Banner/Banner.js";
3
3
  import "../BannerAndText/index.js";
4
- import "../index-3f94ad07.js";
4
+ import "../index-db31fa48.js";
5
5
  import "../Footer/Footer.js";
6
6
  import "../Stepper/Stepper.js";
7
7
  import "../Segments/Segments.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
- import { c as f } from "../componentsMap-e7dba337.js";
2
+ import { c as f } from "../componentsMap-d90efb17.js";
3
3
  const a = (p) => p.map((r) => {
4
4
  const s = f[r.key];
5
5
  if (!s)
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "../index-6af94f99.js";
3
3
  import "../const-637b0dca.js";
4
4
  import "../ComponentContainer-cdb2528c.js";
5
- import { P as e } from "../index-3f94ad07.js";
5
+ import { P as e } from "../index-db31fa48.js";
6
6
  export {
7
7
  e as PreviewList
8
8
  };
@@ -21,7 +21,7 @@ import "../../../Partners/Partners.js";
21
21
  import "../../../CardImageList/CardImageList.js";
22
22
  import "../../../MainBanner/MainBanner.js";
23
23
  import "../../../Faq/Faq.js";
24
- import { e as T, k as U } from "../../../index-3f94ad07.js";
24
+ import { e as T, k as U } from "../../../index-db31fa48.js";
25
25
  import "../../../HeroPossibilityBanner/index.js";
26
26
  import "../../../PartnersColors/PartnersColors.js";
27
27
  import "../../../Cards/CardImage/CardImage.js";
@@ -1,4 +1,4 @@
1
- import { e as a } from "../../../index-3f94ad07.js";
1
+ import { e as a } from "../../../index-db31fa48.js";
2
2
  export {
3
3
  a as PreviewCard
4
4
  };
@@ -1,4 +1,4 @@
1
- import { P as i } from "../index-3f94ad07.js";
1
+ import { P as i } from "../index-db31fa48.js";
2
2
  export {
3
3
  i as PreviewList
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../Types/FiledTypes.js";
3
- import { b as s } from "../index-3f94ad07.js";
3
+ import { b as s } from "../index-db31fa48.js";
4
4
  import "../ComponentContainer-cdb2528c.js";
5
5
  import "../cn-6a4bf187.js";
6
6
  import "../useScreenSize-c1b64c02.js";
@@ -1,5 +1,5 @@
1
1
  import { jsx as n, Fragment as t } from "react/jsx-runtime";
2
- import { c as i } from "../componentsMap-e7dba337.js";
2
+ import { c as i } from "../componentsMap-d90efb17.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(
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { l as U, C as V } from "../../../index-3f94ad07.js";
2
+ import { l as U, C as V } from "../../../index-db31fa48.js";
3
3
  import "../../../ConfigProvider/index.js";
4
4
  import "../../../Banner/Banner.js";
5
5
  import "../../../BannerAndText/index.js";
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
2
2
  import "../Types/FiledTypes.js";
3
3
  import "../ComponentContainer-cdb2528c.js";
4
4
  import "../cn-6a4bf187.js";
5
- import { c as e } from "../index-3f94ad07.js";
5
+ import { c as e } from "../index-db31fa48.js";
6
6
  import "./components/CardWarning/index.js";
7
7
  export {
8
8
  e as StandartTable
@@ -3,7 +3,7 @@ import "react";
3
3
  import "../index-66837af1.js";
4
4
  import "../Types/FiledTypes.js";
5
5
  import "../swiper-react-90953710.js";
6
- import { S as w } from "../index-3f94ad07.js";
6
+ import { S as w } from "../index-db31fa48.js";
7
7
  import "../ComponentContainer-cdb2528c.js";
8
8
  import "./components/Bullet/Bullet.js";
9
9
  import "./components/Slide/Slide.js";
@@ -1,4 +1,4 @@
1
- import { S as i } from "../index-3f94ad07.js";
1
+ import { S as i } from "../index-db31fa48.js";
2
2
  export {
3
3
  i as SwiperList
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import { n, m as e } from "../index-3f94ad07.js";
3
+ import { n, m as e } from "../index-db31fa48.js";
4
4
  import "../HtmlContent/HtmlContent.js";
5
5
  import "../Types/FiledTypes.js";
6
6
  import "../index-2265d593.js";
@@ -1,4 +1,4 @@
1
- import { n as r } from "../index-3f94ad07.js";
1
+ import { n as r } from "../index-db31fa48.js";
2
2
  export {
3
3
  r as TasksBanner
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { T as p } from "../index-3f94ad07.js";
2
+ import { T as p } from "../index-db31fa48.js";
3
3
  import "../Types/FiledTypes.js";
4
4
  import "../ComponentContainer-cdb2528c.js";
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { T as r } from "../index-3f94ad07.js";
1
+ import { T as r } from "../index-db31fa48.js";
2
2
  export {
3
3
  r as TasksBannerList
4
4
  };
@@ -13,7 +13,7 @@ import { DownloadFileHalf as d } from "./DownloadFile/components/DownloadFileHal
13
13
  import { DownloadFileMini as l } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
14
14
  import { Faq as L } from "./Faq/Faq.js";
15
15
  import { Footer as C } from "./Footer/Footer.js";
16
- import { I as F, P as c, S as w, a as B, T as I, b as S, c as M, H as P } from "./index-3f94ad07.js";
16
+ import { I as F, P as c, S as w, a as B, T as I, b as S, c as M, H as P } from "./index-db31fa48.js";
17
17
  import { IntroBanner as g } from "./IntroBanner/IntroBanner.js";
18
18
  import { MainBanner as D } from "./MainBanner/MainBanner.js";
19
19
  import { MultiCards as u } from "./MultiCards/index.js";
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as s, Fragment as _ } from "react/jsx-runtime";
2
2
  import { useState as x, useEffect as H, useRef as T } from "react";
3
- import { HeaderMobileRender as w } from "./Header/const.js";
3
+ import { HeaderMobileRender as N } from "./Header/const.js";
4
4
  import { c as O, a as R } from "./index-3a534581.js";
5
5
  import { c as d } from "./cn-6a4bf187.js";
6
6
  import Y from "./Header/components/HeaderMainMobile/HeaderMainMobile.js";
@@ -42,7 +42,7 @@ import { a as me, C as xe, b as ge, A as fe } from "./index-66837af1.js";
42
42
  import { CardImageSecondaryList as ue } from "./CardImageSecondaryList/CardImageSecondaryList.js";
43
43
  import { CardInfoTable as he } from "./CardInfoTable/index.js";
44
44
  import { DownloadFileBright as be } from "./DownloadFile/components/DownloadFileBright/index.js";
45
- import { InfoBanner as Ne, InfoBannerFields as we } from "./InfoBanner/index.js";
45
+ import { InfoBanner as we, InfoBannerFields as Ne } from "./InfoBanner/index.js";
46
46
  import { IntroBanner as Me } from "./IntroBanner/IntroBanner.js";
47
47
  import { FieldTypes as l } from "./Types/FiledTypes.js";
48
48
  import { u as I } from "./useScreenSize-c1b64c02.js";
@@ -57,7 +57,7 @@ import { Slide as pa } from "./SwiperList/components/Slide/Slide.js";
57
57
  import './assets/swiper.css';import './assets/index3.css';/* empty css */import { CardWarning as da } from "./StandartTable/components/CardWarning/index.js";
58
58
  import { InstructionModal as ca } from "./InstructionList/components/InstructionModal/InstructionModal.js";
59
59
  import ma from "./Header/components/HeaderSearchMobile/HeaderSearchMobile.js";
60
- const xa = ({ sectionsData: o, render: t }) => {
60
+ const xa = ({ sectionsData: n, render: t }) => {
61
61
  const [r, a] = x(
62
62
  []
63
63
  );
@@ -67,25 +67,25 @@ const xa = ({ sectionsData: o, render: t }) => {
67
67
  className: d(
68
68
  "fixed -top-[100vh] left-0 right-0 w-full h-[calc(100vh-56px)] bg-white z-[9998] overflow-y-auto overflow-x-hidden transition-all duration-500 pb-12",
69
69
  {
70
- "top-14": t === w.MENU
70
+ "top-14": t === N.MENU
71
71
  }
72
72
  ),
73
73
  children: /* @__PURE__ */ e("div", { className: "flex items-center justify-between py-2 px-4 pb-2.5 relative", children: /* @__PURE__ */ s("div", { className: "w-full bg-white flex flex-col z-[1000]", children: [
74
74
  /* @__PURE__ */ e(
75
75
  ne,
76
76
  {
77
- sectionsData: o,
77
+ sectionsData: n,
78
78
  setCategoriesData: a
79
79
  }
80
80
  ),
81
- r == null ? void 0 : r.map((n, i) => {
81
+ r == null ? void 0 : r.map((o, i) => {
82
82
  var c;
83
83
  return /* @__PURE__ */ e(
84
84
  ce,
85
85
  {
86
- title: n == null ? void 0 : n.title,
87
- icon: n == null ? void 0 : n.icon,
88
- children: /* @__PURE__ */ e("div", { className: "rounded-2xl bg-white4 p-3 px-4 flex flex-col gap-6", children: (c = n == null ? void 0 : n.subcategories) == null ? void 0 : c.map((m, h) => /* @__PURE__ */ e(
86
+ title: o == null ? void 0 : o.title,
87
+ icon: o == null ? void 0 : o.icon,
88
+ children: /* @__PURE__ */ e("div", { className: "rounded-2xl bg-white4 p-3 px-4 flex flex-col gap-6", children: (c = o == null ? void 0 : o.subcategories) == null ? void 0 : c.map((m, h) => /* @__PURE__ */ e(
89
89
  "a",
90
90
  {
91
91
  href: (m == null ? void 0 : m.link) || "/",
@@ -102,12 +102,12 @@ const xa = ({ sectionsData: o, render: t }) => {
102
102
  }
103
103
  );
104
104
  }, ga = ({
105
- sections: o,
105
+ sections: n,
106
106
  darkTheme: t,
107
107
  className: r
108
108
  }) => {
109
- const [a, n] = x(w.MAIN), i = (p) => {
110
- n(p);
109
+ const [a, o] = x(N.MAIN), i = (p) => {
110
+ o(p);
111
111
  }, [c, m] = x(void 0), [h, M] = x(!1), b = O(async (p) => {
112
112
  if (p.trim())
113
113
  try {
@@ -116,11 +116,11 @@ const xa = ({ sectionsData: o, render: t }) => {
116
116
  } catch {
117
117
  console.log("Нет результатов");
118
118
  }
119
- }, 500), N = (p) => {
119
+ }, 500), w = (p) => {
120
120
  b(p);
121
121
  };
122
122
  return H(() => {
123
- if (a === w.MENU || a === w.SEARCH)
123
+ if (a === N.MENU || a === N.SEARCH)
124
124
  return document.body.style.overflow = "hidden", () => {
125
125
  document.body.style.overflow = "";
126
126
  };
@@ -138,14 +138,14 @@ const xa = ({ sectionsData: o, render: t }) => {
138
138
  render: a,
139
139
  show: i,
140
140
  darkEffect: t,
141
- setSearchValue: N
141
+ setSearchValue: w
142
142
  }
143
143
  ),
144
144
  /* @__PURE__ */ e(
145
145
  xa,
146
146
  {
147
147
  show: i,
148
- sectionsData: Array.isArray(o) ? o : [o],
148
+ sectionsData: Array.isArray(n) ? n : [n],
149
149
  className: "top-[56px]",
150
150
  render: a
151
151
  }
@@ -162,12 +162,12 @@ const xa = ({ sectionsData: o, render: t }) => {
162
162
  ]
163
163
  }
164
164
  );
165
- }, fa = ({ sections: o, darkTheme: t }) => {
165
+ }, fa = ({ sections: n, darkTheme: t }) => {
166
166
  const r = I(960);
167
167
  return /* @__PURE__ */ e(_, { children: r ? /* @__PURE__ */ e(
168
168
  ga,
169
169
  {
170
- sections: o,
170
+ sections: n,
171
171
  darkTheme: t,
172
172
  className: "fixed top-0 z-[9999] w-full"
173
173
  }
@@ -180,7 +180,7 @@ const xa = ({ sectionsData: o, render: t }) => {
180
180
  children: /* @__PURE__ */ e(
181
181
  la,
182
182
  {
183
- sections: o,
183
+ sections: n,
184
184
  darkTheme: t
185
185
  }
186
186
  )
@@ -193,11 +193,11 @@ const xa = ({ sectionsData: o, render: t }) => {
193
193
  image: l.FILE,
194
194
  id: l.NUMBER
195
195
  }, C = ({
196
- title: o,
196
+ title: n,
197
197
  subtitle: t,
198
198
  count_color: r,
199
199
  image: a,
200
- id: n
200
+ id: o
201
201
  }) => {
202
202
  const [i, c] = x(!1);
203
203
  return /* @__PURE__ */ s("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
@@ -206,18 +206,18 @@ const xa = ({ sectionsData: o, render: t }) => {
206
206
  f,
207
207
  {
208
208
  src: a,
209
- alt: o,
209
+ alt: n,
210
210
  className: "w-full h-full",
211
211
  imageStyles: "object-cover"
212
212
  }
213
213
  ),
214
- n && /* @__PURE__ */ e(
214
+ o && /* @__PURE__ */ e(
215
215
  "div",
216
216
  {
217
217
  className: `absolute top-[26px] left-[36px] text-[20px] leading-[32px] text-white
218
218
  px-[18px] rounded-[100px]`,
219
219
  style: { background: r },
220
- children: n
220
+ children: o
221
221
  }
222
222
  ),
223
223
  /* @__PURE__ */ s(
@@ -242,7 +242,7 @@ const xa = ({ sectionsData: o, render: t }) => {
242
242
  )
243
243
  ] }),
244
244
  /* @__PURE__ */ s("div", { className: "bg-white px-[24px] py-[32px] flex flex-col flex-grow gap-[8px]", children: [
245
- o && /* @__PURE__ */ e("p", { className: "text-[24px] leading-[32px] font-bold", children: o }),
245
+ n && /* @__PURE__ */ e("p", { className: "text-[24px] leading-[32px] font-bold", children: n }),
246
246
  t && /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] text-graySoft2", children: t })
247
247
  ] }),
248
248
  /* @__PURE__ */ e(
@@ -250,7 +250,7 @@ const xa = ({ sectionsData: o, render: t }) => {
250
250
  {
251
251
  show: i,
252
252
  image: a,
253
- title: o,
253
+ title: n,
254
254
  onClose: () => {
255
255
  c(!1), document.body.style.overflow = "auto";
256
256
  }
@@ -259,7 +259,7 @@ const xa = ({ sectionsData: o, render: t }) => {
259
259
  ] });
260
260
  };
261
261
  C.propsToEdit = ha;
262
- const Na = ["title", "cards", D], to = {
262
+ const wa = ["title", "cards", D], to = {
263
263
  type: "cards",
264
264
  label: "Карточки",
265
265
  dataType: "array",
@@ -267,11 +267,11 @@ const Na = ["title", "cards", D], to = {
267
267
  ...ba
268
268
  }
269
269
  }, v = ({
270
- title: o,
270
+ title: n,
271
271
  cards: t,
272
272
  button: r
273
273
  }) => /* @__PURE__ */ s(g, { className: "flex flex-col items-center", children: [
274
- o && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[54px] font-bold text-center mb-[48px]", children: o }),
274
+ n && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[54px] font-bold text-center mb-[48px]", children: n }),
275
275
  /* @__PURE__ */ e("div", { className: "flex flex-row max-tablet:flex-col items-stretch gap-[24px]", children: t == null ? void 0 : t.map((a) => /* @__PURE__ */ e(
276
276
  C,
277
277
  {
@@ -281,29 +281,29 @@ const Na = ["title", "cards", D], to = {
281
281
  )) }),
282
282
  /* @__PURE__ */ e(y, { ...r })
283
283
  ] });
284
- v.propsToEdit = Na;
285
- const wa = ["title", "subtitle", "image", "button", "id"], Ma = {
284
+ v.propsToEdit = wa;
285
+ const Na = ["title", "subtitle", "image", "button", "id"], Ma = {
286
286
  title: l.TITLE,
287
287
  subtitle: l.DESCRIPTION,
288
288
  image: l.FILE,
289
289
  button: Q
290
- }, E = ({ title: o, subtitle: t, image: r, button: a }) => /* @__PURE__ */ s("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
290
+ }, E = ({ title: n, subtitle: t, image: r, button: a }) => /* @__PURE__ */ s("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
291
291
  /* @__PURE__ */ e("div", { className: "relative w-full h-[256px]", children: /* @__PURE__ */ e(
292
292
  f,
293
293
  {
294
294
  src: r,
295
- alt: o,
295
+ alt: n,
296
296
  className: "w-full h-full",
297
297
  imageStyles: "object-cover"
298
298
  }
299
299
  ) }),
300
300
  /* @__PURE__ */ s("div", { className: "bg-white p-[32px] flex flex-col gap-[8px] h-full", children: [
301
- o && /* @__PURE__ */ e("p", { className: "text-[24px] leading-[32px] font-bold", children: o }),
301
+ n && /* @__PURE__ */ e("p", { className: "text-[24px] leading-[32px] font-bold", children: n }),
302
302
  t && /* @__PURE__ */ e("p", { className: "text-[14px] leading-[20px] text-graySoft", children: t }),
303
303
  ((a == null ? void 0 : a.title) || (a == null ? void 0 : a.children)) && /* @__PURE__ */ e(y, { ...a })
304
304
  ] })
305
305
  ] });
306
- E.propsToEdit = wa;
306
+ E.propsToEdit = Na;
307
307
  const ya = {
308
308
  type: "cards",
309
309
  dataType: "array",
@@ -312,34 +312,33 @@ const ya = {
312
312
  ...Ma
313
313
  }
314
314
  }, Ia = ["title", ya, D, "grid"], S = ({
315
- title: o,
315
+ title: n,
316
316
  cards: t,
317
317
  button: r,
318
318
  grid: a = 3
319
- }) => /* @__PURE__ */ s(g, { className: "flex flex-col items-center", children: [
320
- (o == null ? void 0 : o.length) && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: o }),
321
- /* @__PURE__ */ e("div", { className: `grid grid-cols-${a} items-stretch gap-[24px]`, children: t == null ? void 0 : t.map((n, i) => /* @__PURE__ */ e(
319
+ }) => (console.log(n), /* @__PURE__ */ s(g, { className: "flex flex-col items-center", children: [
320
+ /* @__PURE__ */ e("div", { className: `grid grid-cols-${a} items-stretch gap-[24px]`, children: t == null ? void 0 : t.map((o, i) => /* @__PURE__ */ e(
322
321
  E,
323
322
  {
324
- ...n
323
+ ...o
325
324
  },
326
325
  i
327
326
  )) }),
328
327
  (r.title || r.children) && /* @__PURE__ */ e(y, { ...r })
329
- ] });
328
+ ] }));
330
329
  S.propsToEdit = Ia;
331
330
  const u = ({
332
- label: o,
331
+ label: n,
333
332
  type: t
334
333
  }) => ({
335
334
  dataType: l.BOOLEAN,
336
- label: o,
335
+ label: n,
337
336
  type: t
338
337
  }), La = {
339
338
  type: "cards",
340
339
  label: "Карточки информации",
341
340
  dataType: "array",
342
- data: we
341
+ data: Ne
343
342
  }, Ta = u({
344
343
  label: "Светлый вариант",
345
344
  type: "isLight"
@@ -347,28 +346,28 @@ const u = ({
347
346
  label: "Светлый заголовок",
348
347
  type: "isLightTitle"
349
348
  }), Ca = ["title", La, Ta, Da], j = ({
350
- title: o,
349
+ title: n,
351
350
  cards: t,
352
351
  isLight: r,
353
352
  isLightTitle: a
354
353
  }) => {
355
- const n = I(960);
354
+ const o = I(960);
356
355
  return /* @__PURE__ */ e(g, { children: /* @__PURE__ */ s("div", { className: d("w-full"), children: [
357
- o && /* @__PURE__ */ e(
356
+ n && /* @__PURE__ */ e(
358
357
  "p",
359
358
  {
360
359
  className: d(
361
360
  "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]",
362
361
  { "text-white4": a }
363
362
  ),
364
- children: o
363
+ children: n
365
364
  }
366
365
  ),
367
366
  /* @__PURE__ */ e("div", { className: d("flex flex-col gap-[40px] w-full"), children: t == null ? void 0 : t.map((i, c) => /* @__PURE__ */ e(
368
- Ne,
367
+ we,
369
368
  {
370
369
  data: i,
371
- isTextLast: n ? !1 : c % 2 === 1,
370
+ isTextLast: o ? !1 : c % 2 === 1,
372
371
  isLight: r
373
372
  },
374
373
  c
@@ -387,25 +386,25 @@ const va = u({
387
386
  title: l.TITLE,
388
387
  is_big: va
389
388
  }
390
- }, Sa = ["image", "image_mob", Ea], k = ({ image: o, image_mob: t, texts: r }) => {
389
+ }, Sa = ["image", "image_mob", Ea], k = ({ image: n, image_mob: t, texts: r }) => {
391
390
  const a = I(960);
392
391
  return /* @__PURE__ */ e(
393
392
  g,
394
393
  {
395
394
  className: "flex items-center justify-between gap-[40px] px-[48px] py-[38px] pr-[68px] bg-cover bg-no-repeat rounded-[24px] overflow-hidden max-tablet:flex-col max-tablet:items-start max-tablet:gap-[24px] max-tablet:p-[24px] max-tablet:bg-center",
396
395
  style: {
397
- backgroundImage: `url(${a ? t : o})`
396
+ backgroundImage: `url(${a ? t : n})`
398
397
  },
399
- children: r == null ? void 0 : r.map((n, i) => /* @__PURE__ */ e(
398
+ children: r == null ? void 0 : r.map((o, i) => /* @__PURE__ */ e(
400
399
  "p",
401
400
  {
402
401
  className: d(
403
402
  "text-[15px] leading-[22px] text-white break-words whitespace-normal max-w-full overflow-hidden",
404
403
  {
405
- "text-[72px] leading-[32px] font-bold text-white max-tablet:text-[32px] max-tablet:leading-[32px] max-tablet:h-[57px] max-tablet:break-words": n == null ? void 0 : n.is_big
404
+ "text-[72px] leading-[32px] font-bold text-white max-tablet:text-[32px] max-tablet:leading-[32px] max-tablet:h-[57px] max-tablet:break-words": o == null ? void 0 : o.is_big
406
405
  }
407
406
  ),
408
- children: n == null ? void 0 : n.title
407
+ children: o == null ? void 0 : o.title
409
408
  },
410
409
  i
411
410
  ))
@@ -428,7 +427,7 @@ const ja = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZX
428
427
  is_marked: Ba
429
428
  }
430
429
  }
431
- }, Pa = ({ title: o, columns: t, className: r }) => /* @__PURE__ */ s(
430
+ }, Pa = ({ title: n, columns: t, className: r }) => /* @__PURE__ */ s(
432
431
  "div",
433
432
  {
434
433
  className: d(
@@ -445,7 +444,7 @@ const ja = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZX
445
444
  "sticky left-0 top-0 z-10 bg-white font-medium text-[18px] leading-[24px] text-graySoft3 border-r border-greyLight",
446
445
  "py-[24px] px-[32px] max-tablet:w-[170px] max-tablet:px-4 whitespace-normal"
447
446
  ),
448
- children: o
447
+ children: n
449
448
  }
450
449
  ),
451
450
  /* @__PURE__ */ e(
@@ -517,16 +516,16 @@ const ja = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZX
517
516
  label: "Строки таблицы",
518
517
  dataType: "array",
519
518
  data: za
520
- }, _a = ["title", Aa, Fa], B = ({ title: o, table: t, rows: r }) => {
519
+ }, _a = ["title", Aa, Fa], B = ({ title: n, table: t, rows: r }) => {
521
520
  var a;
522
521
  return /* @__PURE__ */ s(g, { children: [
523
- o && /* @__PURE__ */ e(
522
+ n && /* @__PURE__ */ e(
524
523
  "p",
525
524
  {
526
525
  className: d(
527
526
  "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
528
527
  ),
529
- children: o
528
+ children: n
530
529
  }
531
530
  ),
532
531
  /* @__PURE__ */ s("div", { className: "bg-white rounded-[20px] overflow-hidden p-8 md:p-6", children: [
@@ -534,18 +533,18 @@ const ja = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZX
534
533
  "div",
535
534
  {
536
535
  className: d("overflow-x-auto whitespace-nowrap custom-scrollbar"),
537
- children: /* @__PURE__ */ e("div", { className: "bg-white rounded-[20px] w-full", children: r == null ? void 0 : r.map((n) => /* @__PURE__ */ e(
536
+ children: /* @__PURE__ */ e("div", { className: "bg-white rounded-[20px] w-full", children: r == null ? void 0 : r.map((o) => /* @__PURE__ */ e(
538
537
  Pa,
539
538
  {
540
- id: n == null ? void 0 : n.id,
541
- title: n == null ? void 0 : n.title,
542
- description: n == null ? void 0 : n.description,
543
- columns: n == null ? void 0 : n.columns,
539
+ id: o == null ? void 0 : o.id,
540
+ title: o == null ? void 0 : o.title,
541
+ description: o == null ? void 0 : o.description,
542
+ columns: o == null ? void 0 : o.columns,
544
543
  className: d({
545
544
  "border-b border-[#E6E8EB]": !(t != null && t.warning)
546
545
  })
547
546
  },
548
- n == null ? void 0 : n.id
547
+ o == null ? void 0 : o.id
549
548
  )) })
550
549
  }
551
550
  ),
@@ -562,11 +561,11 @@ const ja = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZX
562
561
  };
563
562
  B.propsToEdit = _a;
564
563
  const L = ({
565
- label: o,
564
+ label: n,
566
565
  type: t
567
566
  }) => ({
568
567
  dataType: l.NUMBER,
569
- label: o,
568
+ label: n,
570
569
  type: t
571
570
  }), Ha = {
572
571
  type: "cards",
@@ -596,20 +595,20 @@ const L = ({
596
595
  Ra,
597
596
  Ya
598
597
  ], z = ({
599
- title: o,
598
+ title: n,
600
599
  cards: t,
601
600
  card_height: r,
602
601
  autoplay: a,
603
- autoplayDelay: n = 2e3,
602
+ autoplayDelay: o = 2e3,
604
603
  perViewScreens: i
605
604
  }) => {
606
605
  const [c, m] = x(0), M = a ? {
607
- delay: n,
606
+ delay: o,
608
607
  disableOnInteraction: !1,
609
608
  waitForTransition: !0
610
- } : !1, b = T(null), N = T(null);
609
+ } : !1, b = T(null), w = T(null);
611
610
  return /* @__PURE__ */ s(g, { children: [
612
- o && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: o }),
611
+ n && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: n }),
613
612
  /* @__PURE__ */ s("div", { className: "relative w-full", children: [
614
613
  /* @__PURE__ */ e(
615
614
  Ie,
@@ -620,10 +619,10 @@ const L = ({
620
619
  slidesPerGroup: 1,
621
620
  navigation: {
622
621
  nextEl: b.current,
623
- prevEl: N.current
622
+ prevEl: w.current
624
623
  },
625
624
  onBeforeInit: (p) => {
626
- p.params.navigation && typeof p.params.navigation != "boolean" && (p.params.navigation.nextEl = b.current, p.params.navigation.prevEl = N.current);
625
+ p.params.navigation && typeof p.params.navigation != "boolean" && (p.params.navigation.nextEl = b.current, p.params.navigation.prevEl = w.current);
627
626
  },
628
627
  pagination: { clickable: !0 },
629
628
  onSlideChange: (p) => m(p.realIndex),
@@ -641,7 +640,7 @@ const L = ({
641
640
  /* @__PURE__ */ e(
642
641
  "button",
643
642
  {
644
- ref: N,
643
+ ref: w,
645
644
  className: "custom-prev absolute left-0 top-[50%] translate-y-[-50%] translate-x-[-50%] z-10 p-[8px] rounded-[50%] bg-white",
646
645
  children: /* @__PURE__ */ e(xe, { size: 24 })
647
646
  }
@@ -669,7 +668,7 @@ const L = ({
669
668
  };
670
669
  z.propsToEdit = Va;
671
670
  const Qa = ({
672
- color: o = "#40474F",
671
+ color: n = "#40474F",
673
672
  size: t = 24,
674
673
  ...r
675
674
  }) => /* @__PURE__ */ e(
@@ -685,7 +684,7 @@ const Qa = ({
685
684
  "path",
686
685
  {
687
686
  d: "M12.6666 5.7334L8.65995 9.7401C8.34884 10.0512 8.19328 10.2068 7.99998 10.2068C7.80668 10.2068 7.65113 10.0512 7.34001 9.7401L3.33331 5.7334",
688
- stroke: o || "currentColor",
687
+ stroke: n || "currentColor",
689
688
  "stroke-width": "2",
690
689
  "stroke-linejoin": "round"
691
690
  }
@@ -708,11 +707,11 @@ const oo = {
708
707
  Wa,
709
708
  l.TURN_OVER
710
709
  ], P = ({
711
- htmlContent: o,
710
+ htmlContent: n,
712
711
  image: t,
713
712
  title: r,
714
713
  isTextLast: a,
715
- turnover: n
714
+ turnover: o
716
715
  }) => {
717
716
  const [i, c] = x(!1);
718
717
  return /* @__PURE__ */ s("div", { className: "relative w-full rounded-[20px] flex items-center justify-between gap-[100px] bg-white overflow-hidden max-tablet:flex-col max-tablet:gap-0", children: [
@@ -741,7 +740,7 @@ const oo = {
741
740
  V,
742
741
  {
743
742
  className: "htmlContent",
744
- data: o
743
+ data: n
745
744
  }
746
745
  )
747
746
  }
@@ -782,7 +781,7 @@ const oo = {
782
781
  ),
783
782
  imageStyles: d(
784
783
  "object-contain",
785
- n && "object-bottom",
784
+ o && "object-bottom",
786
785
  i && "object-bottom"
787
786
  )
788
787
  }
@@ -803,17 +802,17 @@ const Ga = {
803
802
  is_promo: l.BOOLEAN,
804
803
  is_yellow: l.BOOLEAN
805
804
  }
806
- }, $a = ["title", Ga], A = ({ title: o, cards: t }) => /* @__PURE__ */ s(g, { children: [
807
- o && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-[#0e0f11] text-center mb-[48px] max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px] [font-variant-numeric:lining-nums_tabular-nums_stacked-fractions] [font-feature-settings:'liga'_off,'clig'_off]", children: o }),
805
+ }, $a = ["title", Ga], A = ({ title: n, cards: t }) => /* @__PURE__ */ s(g, { children: [
806
+ n && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-[#0e0f11] text-center mb-[48px] max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px] [font-variant-numeric:lining-nums_tabular-nums_stacked-fractions] [font-feature-settings:'liga'_off,'clig'_off]", children: n }),
808
807
  /* @__PURE__ */ e("div", { className: "flex flex-col gap-[40px] w-full", children: t == null ? void 0 : t.map((r, a) => {
809
- const n = a === 0;
808
+ const o = a === 0;
810
809
  return /* @__PURE__ */ e(
811
810
  P,
812
811
  {
813
812
  title: r == null ? void 0 : r.title,
814
813
  description: r == null ? void 0 : r.description,
815
814
  image: r == null ? void 0 : r.image,
816
- isFirst: n
815
+ isFirst: o
817
816
  },
818
817
  a
819
818
  );
package/dist/main.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { ConfigProvider as e } from "./ConfigProvider/index.js";
2
2
  import { Banner as a } from "./Banner/Banner.js";
3
3
  import { BannerAndText as m } from "./BannerAndText/index.js";
4
- import { f, A as x, H as i, d as s, I as d, e as l, P as C } from "./index-3f94ad07.js";
4
+ import { f, A as x, H as i, d as s, I as d, e as l, P as C } from "./index-db31fa48.js";
5
5
  import { Footer as P } from "./Footer/Footer.js";
6
6
  import { Stepper as I } from "./Stepper/Stepper.js";
7
7
  import { Segments as w } from "./Segments/Segments.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.37",
5
+ "version": "0.0.39",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",