md-components-mdigial-azamat 0.0.32 → 0.0.33

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 (82) hide show
  1. package/dist/Actions/downloadFile/downloadFile.js +28 -0
  2. package/dist/Actions/index.js +13 -0
  3. package/dist/Actions/types.js +9 -0
  4. package/dist/AllComponents.js +4 -8
  5. package/dist/AnimatedSwiper/Slide/Slide.js +29 -29
  6. package/dist/AnimatedSwiper/index.js +8 -137
  7. package/dist/Banner/Banner.js +2 -2
  8. package/dist/Banner/index.js +1 -1
  9. package/dist/BannerAndText/index.js +3 -7
  10. package/dist/CardIconList/CardIconList.js +3 -7
  11. package/dist/CardIconList/index.js +1 -1
  12. package/dist/CardImageList/CardImageList.js +1 -1
  13. package/dist/CardImageList/index.js +1 -1
  14. package/dist/CardImageSecondary/CardImageSecondary.js +4 -8
  15. package/dist/CardImageSecondary/index.js +2 -2
  16. package/dist/CardImageSecondaryList/CardImageSecondaryList.js +1 -1
  17. package/dist/CardImageSecondaryList/index.js +1 -1
  18. package/dist/CardInfoTable/index.js +3 -7
  19. package/dist/Cards/ContentCard/ContentCard.js +1 -1
  20. package/dist/Cards/ContentCard/index.js +1 -1
  21. package/dist/Cards/WarningCard/WarningCard.js +1 -1
  22. package/dist/Cards/WarningCard/index.js +1 -1
  23. package/dist/ContentCardList/ContentCardList.js +3 -7
  24. package/dist/ContentCardList/index.js +1 -1
  25. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
  26. package/dist/DownloadFile/components/DownloadFileBanner/index.js +1 -1
  27. package/dist/DownloadFile/components/DownloadFileBright/index.js +2 -3
  28. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +4 -2
  29. package/dist/DownloadFile/components/DownloadFileFull/index.js +1 -1
  30. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
  31. package/dist/DownloadFile/components/DownloadFileHalf/index.js +1 -1
  32. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +4 -2
  33. package/dist/DownloadFile/components/DownloadFileMini/index.js +1 -1
  34. package/dist/Faq/Faq.js +3 -7
  35. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +1 -1
  36. package/dist/Faq/components/FeedbackForm/index.js +1 -1
  37. package/dist/Faq/index.js +1 -1
  38. package/dist/InfoBanner/index.js +4 -3
  39. package/dist/InfoBannerList/InfoBannerList.js +3 -4
  40. package/dist/InfoBannerList/index.js +1 -1
  41. package/dist/InstructionList/InstructionList.js +3 -3
  42. package/dist/InstructionList/components/InstructionCard/InstructionCard.js +23 -66
  43. package/dist/InstructionList/components/InstructionCard/index.js +2 -2
  44. package/dist/InstructionList/index.js +1 -1
  45. package/dist/IntroBanner/IntroBanner.js +2 -2
  46. package/dist/IntroBanner/index.js +1 -1
  47. package/dist/MainBanner/MainBanner.js +1 -1
  48. package/dist/MainBanner/index.js +1 -1
  49. package/dist/MultiCards/index.js +1 -1
  50. package/dist/PageViewer/PageViewer.js +3 -4
  51. package/dist/PageViewer/renderComponents.js +1 -1
  52. package/dist/PreviewList/PreviewList.js +1 -1
  53. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +20 -2
  54. package/dist/PreviewList/components/PreviewCard/index.js +1 -1
  55. package/dist/PreviewList/index.js +1 -1
  56. package/dist/PromoPoster/PromoPoster.js +7 -48
  57. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  58. package/dist/RenderAllComponents/const.js +3 -3
  59. package/dist/StandartTable/components/CardMarkedRow/index.js +23 -73
  60. package/dist/StandartTable/components/CardWarning/index.js +1 -1
  61. package/dist/StandartTable/index.js +2 -3
  62. package/dist/Stepper/Stepper.js +1 -1
  63. package/dist/Stepper/index.js +1 -1
  64. package/dist/SwiperList/SwiperList.js +10 -97
  65. package/dist/SwiperList/components/Slide/Slide.js +6 -6
  66. package/dist/SwiperList/index.js +1 -1
  67. package/dist/TasksBanner/TasksBanner.js +9 -123
  68. package/dist/TasksBanner/index.js +2 -2
  69. package/dist/TasksBannerList/TasksBannerList.js +5 -30
  70. package/dist/TasksBannerList/index.js +2 -2
  71. package/dist/Types/FiledTypes.js +1 -1
  72. package/dist/VideoMainBanner/VideoMainBanner.js +1 -1
  73. package/dist/VideoMainBanner/index.js +1 -1
  74. package/dist/componentsMap-6d7d63d5.js +47 -0
  75. package/dist/{swiper-react-c049ea66.js → index-b093f70c.js} +645 -502
  76. package/dist/{index-92f77047.js → index-b999483f.js} +2085 -1636
  77. package/dist/main.js +53 -54
  78. package/package.json +1 -1
  79. package/dist/componentsMap-71c9335f.js +0 -50
  80. package/dist/useScreenSize-c1b64c02.js +0 -19
  81. /package/dist/assets/{swiper-react.css → index2.css} +0 -0
  82. /package/dist/assets/{TasksBanner.css → index3.css} +0 -0
@@ -1,98 +1,11 @@
1
- import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
- import { useState as g, useRef as p } from "react";
3
- import { S as x, N as v, A as y, a as b, C, b as S } from "../swiper-react-c049ea66.js";
4
- import { FieldTypes as i } from "../Types/FiledTypes.js";
5
- import { C as E } from "../ComponentContainer-0fcc2695.js";
6
- import { Bullet as w } from "./components/Bullet/Bullet.js";
7
- import { Slide as A } from "./components/Slide/Slide.js";
8
- import '../assets/swiper.css';/* empty css */const N = {
9
- type: "cards",
10
- label: "Карточки слайдера",
11
- dataType: "array",
12
- data: {
13
- title: i.TITLE,
14
- image: i.FILE,
15
- description: i.DESCRIPTION
16
- }
17
- }, T = [
18
- "title",
19
- N,
20
- "card_height",
21
- "autoplay",
22
- "autoplayDelay",
23
- "perViewScreens"
24
- ], I = ({
25
- title: r,
26
- cards: a,
27
- card_height: c,
28
- autoplay: m,
29
- autoplayDelay: u = 2e3,
30
- perViewScreens: l
31
- }) => {
32
- const [d, f] = g(0), h = m ? {
33
- delay: u,
34
- disableOnInteraction: !1,
35
- waitForTransition: !0
36
- } : !1, o = p(null), n = p(null);
37
- return /* @__PURE__ */ s(E, { children: [
38
- r && /* @__PURE__ */ t("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: r }),
39
- /* @__PURE__ */ s("div", { className: "relative w-full", children: [
40
- /* @__PURE__ */ t(
41
- x,
42
- {
43
- modules: [v, y],
44
- spaceBetween: 24,
45
- slidesPerView: l,
46
- slidesPerGroup: 1,
47
- navigation: {
48
- nextEl: o.current,
49
- prevEl: n.current
50
- },
51
- onBeforeInit: (e) => {
52
- e.params.navigation && typeof e.params.navigation != "boolean" && (e.params.navigation.nextEl = o.current, e.params.navigation.prevEl = n.current);
53
- },
54
- pagination: { clickable: !0 },
55
- onSlideChange: (e) => f(e.realIndex),
56
- autoplay: h,
57
- children: a == null ? void 0 : a.map((e) => /* @__PURE__ */ t(b, { children: /* @__PURE__ */ t(
58
- A,
59
- {
60
- card: e,
61
- height: c
62
- }
63
- ) }, e.id))
64
- }
65
- ),
66
- /* @__PURE__ */ t(
67
- "button",
68
- {
69
- ref: n,
70
- className: "custom-prev absolute left-0 top-[50%] translate-y-[-50%] translate-x-[-50%] z-10 p-[8px] rounded-[50%] bg-white",
71
- children: /* @__PURE__ */ t(C, { size: 24 })
72
- }
73
- ),
74
- /* @__PURE__ */ t(
75
- "button",
76
- {
77
- ref: o,
78
- className: "custom-next p-[8px] absolute right-0 top-[50%] translate-y-[-50%] translate-x-[50%] z-10 rounded-[50%] bg-white",
79
- children: /* @__PURE__ */ t(S, { size: 24 })
80
- }
81
- )
82
- ] }),
83
- a.length > 1 && /* @__PURE__ */ t(
84
- w,
85
- {
86
- count: a.length - (l - 1),
87
- active: d,
88
- activeColor: "#16A34A",
89
- anActiveColor: "#A6B2BA",
90
- className: "mt-[24px]"
91
- }
92
- )
93
- ] });
94
- };
95
- I.propsToEdit = T;
96
- export {
97
- I as SwiperList
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import "../index-b093f70c.js";
4
+ import "../Types/FiledTypes.js";
5
+ import { g } from "../index-b999483f.js";
6
+ import "../ComponentContainer-0fcc2695.js";
7
+ import "./components/Bullet/Bullet.js";
8
+ import "./components/Slide/Slide.js";
9
+ import '../assets/swiper.css';/* empty css */export {
10
+ g as SwiperList
98
11
  };
@@ -1,10 +1,10 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import '../../../assets/swiper.css';/* empty css */const n = ({ card: e, height: l = 340 }) => /* @__PURE__ */ t(
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import '../../../assets/swiper.css';/* empty css */const d = ({ height: t = 340, image: l, description: r }) => /* @__PURE__ */ e(
3
3
  "div",
4
4
  {
5
5
  className: "relative bg-cover rounded-[24px] overflow-hidden",
6
- style: { backgroundImage: `url(${e.image})`, height: `${l}px` },
7
- children: /* @__PURE__ */ t(
6
+ style: { backgroundImage: `url(${l})`, height: `${t}px` },
7
+ children: /* @__PURE__ */ e(
8
8
  "div",
9
9
  {
10
10
  className: `absolute top-0 left-0 w-full h-full flex items-end justify-start
@@ -18,11 +18,11 @@ import '../../../assets/swiper.css';/* empty css */const
18
18
  )
19
19
  `
20
20
  },
21
- children: /* @__PURE__ */ t("p", { className: "text-[18px] leading-[26px] text-white w-[90%]", children: e == null ? void 0 : e.description })
21
+ children: /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] text-white w-[90%]", children: r })
22
22
  }
23
23
  )
24
24
  }
25
25
  );
26
26
  export {
27
- n as Slide
27
+ d as Slide
28
28
  };
@@ -1,4 +1,4 @@
1
- import { SwiperList as i } from "./SwiperList.js";
1
+ import { g as i } from "../index-b999483f.js";
2
2
  export {
3
3
  i as SwiperList
4
4
  };
@@ -1,125 +1,11 @@
1
- import { jsx as t, jsxs as r } from "react/jsx-runtime";
2
- import { useState as m } from "react";
3
- import { HtmlContent as p } from "../HtmlContent/HtmlContent.js";
4
- import { FieldTypes as o } from "../Types/FiledTypes.js";
5
- import { I as x } from "../index-60dfa873.js";
6
- import { c as i } from "../cn-d8c04b28.js";
7
- import '../assets/TasksBanner.css';const c = ({
8
- color: e = "#40474F",
9
- size: n = 24,
10
- ...s
11
- }) => /* @__PURE__ */ t(
12
- "svg",
13
- {
14
- xmlns: "http://www.w3.org/2000/svg",
15
- width: n,
16
- height: n,
17
- viewBox: "0 0 16 16",
18
- fill: "none",
19
- ...s,
20
- children: /* @__PURE__ */ t(
21
- "path",
22
- {
23
- 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",
24
- stroke: e || "currentColor",
25
- "stroke-width": "2",
26
- "stroke-linejoin": "round"
27
- }
28
- )
29
- }
30
- );
31
- const h = {
32
- type: "data",
33
- label: "Данные задачи",
34
- dataType: "object",
35
- data: {
36
- keys: {
37
- title: o.TITLE,
38
- description: o.HTML_CONTENT,
39
- image: o.FILE,
40
- icon: o.FILE,
41
- is_black: o.BOOLEAN,
42
- is_promo: o.BOOLEAN,
43
- is_yellow: o.BOOLEAN
44
- }
45
- }
46
- }, b = [h, "isTextLast", "isFirst"], u = ({ data: e, isTextLast: n, isFirst: s }) => {
47
- const [l, a] = m(!1);
48
- return /* @__PURE__ */ r("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: [
49
- /* @__PURE__ */ r(
50
- "div",
51
- {
52
- className: i(
53
- "h-full py-[32px] pr-[64px] pl-[48px] max-tablet:p-[32px] max-tablet:order-1 max-tablet:w-full",
54
- {
55
- "order-1": n
56
- }
57
- ),
58
- children: [
59
- /* @__PURE__ */ r("div", { className: "h-full flex flex-col gap-[24px]", children: [
60
- /* @__PURE__ */ t("p", { className: "text-[32px] leading-[40px] font-bold text-black5 max-tablet:text-[22px] max-tablet:leading-[26px]", children: e == null ? void 0 : e.title }),
61
- /* @__PURE__ */ t(
62
- "div",
63
- {
64
- className: i(
65
- "max-h-[98px] overflow-hidden max-tablet:text-[95px] transition-[max-height] duration-500 ease-in-out",
66
- {
67
- "max-h-[1000px]": l
68
- }
69
- ),
70
- children: /* @__PURE__ */ t(
71
- p,
72
- {
73
- className: "htmlContent",
74
- data: e == null ? void 0 : e.description
75
- }
76
- )
77
- }
78
- )
79
- ] }),
80
- /* @__PURE__ */ r(
81
- "button",
82
- {
83
- className: "flex items-center gap-2 px-6 bg-none border-none cursor-pointer transition-all duration-500 ease-in-out",
84
- onClick: () => a(!l),
85
- children: [
86
- /* @__PURE__ */ t("p", { className: "text-[16px] text-deepBlue leading-[24px] font-medium text-lightBlue6 transition-all duration-500 ease-in-out whitespace-nowrap mt-[12px]", children: l ? "Скрыть" : "Показать больше" }),
87
- /* @__PURE__ */ t(
88
- c,
89
- {
90
- size: 16,
91
- color: "#3B82F6",
92
- className: i(
93
- l ? "transition-all duration-500 rotate-180" : "transition-all duration-500",
94
- "mt-[12px]"
95
- )
96
- }
97
- )
98
- ]
99
- }
100
- )
101
- ]
102
- }
103
- ),
104
- (e == null ? void 0 : e.image) && /* @__PURE__ */ t(
105
- x,
106
- {
107
- src: e == null ? void 0 : e.image,
108
- alt: e == null ? void 0 : e.title,
109
- width: 453,
110
- className: i(
111
- "absolute right-0 bottom-0 h-auto flex items-end max-tablet:relative"
112
- ),
113
- imageStyles: i(
114
- "object-contain",
115
- s && "object-bottom",
116
- l && "object-bottom"
117
- )
118
- }
119
- )
120
- ] });
121
- };
122
- u.propsToEdit = b;
1
+ import "react/jsx-runtime";
2
+ import "react";
3
+ import { at as e, as as n } from "../index-b999483f.js";
4
+ import "../HtmlContent/HtmlContent.js";
5
+ import "../Types/FiledTypes.js";
6
+ import "../index-60dfa873.js";
7
+ import "../cn-d8c04b28.js";
123
8
  export {
124
- u as TasksBanner
9
+ e as TasksBanner,
10
+ n as TasksBannerFields
125
11
  };
@@ -1,4 +1,4 @@
1
- import { TasksBanner as e } from "./TasksBanner.js";
1
+ import { at as s } from "../index-b999483f.js";
2
2
  export {
3
- e as TasksBanner
3
+ s as TasksBanner
4
4
  };
@@ -1,32 +1,7 @@
1
- import { jsxs as n, jsx as a } from "react/jsx-runtime";
2
- import { TasksBanner as r } from "../TasksBanner/TasksBanner.js";
3
- import { FieldTypes as t } from "../Types/FiledTypes.js";
4
- import { C as l } from "../ComponentContainer-0fcc2695.js";
5
- const p = {
6
- type: "cards",
7
- label: "Карточки задач",
8
- dataType: "array",
9
- data: {
10
- title: t.TITLE,
11
- description: t.HTML_CONTENT,
12
- image: t.FILE,
13
- icon: t.FILE,
14
- is_black: t.BOOLEAN,
15
- is_promo: t.BOOLEAN,
16
- is_yellow: t.BOOLEAN
17
- }
18
- }, m = ["title", p], x = ({ title: i, cards: e }) => /* @__PURE__ */ n(l, { children: [
19
- i && /* @__PURE__ */ a("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: i }),
20
- /* @__PURE__ */ a("div", { className: "flex flex-col gap-[40px] w-full", children: e == null ? void 0 : e.map((s, o) => /* @__PURE__ */ a(
21
- r,
22
- {
23
- data: s,
24
- isFirst: o === 0
25
- },
26
- o
27
- )) })
28
- ] });
29
- x.propsToEdit = m;
1
+ import "react/jsx-runtime";
2
+ import { T as p } from "../index-b999483f.js";
3
+ import "../Types/FiledTypes.js";
4
+ import "../ComponentContainer-0fcc2695.js";
30
5
  export {
31
- x as TasksBannerList
6
+ p as TasksBannerList
32
7
  };
@@ -1,4 +1,4 @@
1
- import { TasksBannerList as a } from "./TasksBannerList.js";
1
+ import { T as r } from "../index-b999483f.js";
2
2
  export {
3
- a as TasksBannerList
3
+ r as TasksBannerList
4
4
  };
@@ -1,4 +1,4 @@
1
- var n = /* @__PURE__ */ ((o) => (o.STRING = "string", o.NUMBER = "number", o.BOOLEAN = "boolean", o.ARRAY = "array", o.OBJECT = "object", o.FUNCTION = "function", o.UNDEFINED = "undefined", o.NULL = "null", o.SYMBOL = "symbol", o.BIGINT = "bigint", o.DATE = "date", o.REGEXP = "regexp", o.FILE = "file", o.TITLE = "title", o.DESCRIPTION = "description", o.VARIANT = "variant", o.LINK = "link", o.COMPONENT = "component", o.CLASSNAME = "classname", o.COLOR = "color", o.TITLE_TEXT = "title_text", o.NODE = "node", o.HTML_CONTENT = "html_content", o))(n || {}), t = /* @__PURE__ */ ((o) => (o.options = "options", o.choices = "choices", o))(t || {});
1
+ var n = /* @__PURE__ */ ((o) => (o.STRING = "string", o.NUMBER = "number", o.BOOLEAN = "boolean", o.ARRAY = "array", o.OBJECT = "object", o.FUNCTION = "function", o.UNDEFINED = "undefined", o.NULL = "null", o.SYMBOL = "symbol", o.BIGINT = "bigint", o.DATE = "date", o.REGEXP = "regexp", o.FILE = "file", o.TITLE = "title", o.DESCRIPTION = "description", o.VARIANT = "variant", o.LINK = "link", o.COMPONENT = "component", o.CLASSNAME = "classname", o.COLOR = "color", o.TITLE_TEXT = "title_text", o.NODE = "node", o.HTML_CONTENT = "html_content", o.TURN_OVER = "turnover", o))(n || {}), t = /* @__PURE__ */ ((o) => (o.options = "options", o.choices = "choices", o))(t || {});
2
2
  const c = {
3
3
  options: {
4
4
  label: "Options",
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "../cn-d8c04b28.js";
3
3
  import "../Types/FiledTypes.js";
4
- import { V as e } from "../index-92f77047.js";
4
+ import { V as e } from "../index-b999483f.js";
5
5
  import "../ComponentContainer-0fcc2695.js";
6
6
  import "../index-60dfa873.js";
7
7
  export {
@@ -1,4 +1,4 @@
1
- import { V as n } from "../index-92f77047.js";
1
+ import { V as n } from "../index-b999483f.js";
2
2
  export {
3
3
  n as VideoMainBanner
4
4
  };
@@ -0,0 +1,47 @@
1
+ import { A as a } from "./index-b093f70c.js";
2
+ import { B as r, C as s, S as o, a as i, b as n, M as e, c as t, W as m, F as d, D as l, d as p, e as f, f as L, I as C, P as B, g as F, h as c, T as w, V as I, i as S, j as M, k as g, l as D, m as P, n as V } from "./index-b999483f.js";
3
+ import { Partners as u } from "./Partners/Partners.js";
4
+ import { PartnersColors as T } from "./PartnersColors/PartnersColors.js";
5
+ import { Segments as b } from "./Segments/Segments.js";
6
+ import { Space as h } from "./Space/Space.js";
7
+ import { VideoFull as k } from "./Video/VideoFull/VideoFull.js";
8
+ import { VideoList as A } from "./Video/VideoList/VideoList.js";
9
+ import { VideoListMini as W } from "./Video/VideoListMini/VideoListMini.js";
10
+ const J = {
11
+ Banner: r,
12
+ CardImageList: s,
13
+ Stepper: o,
14
+ Segments: b,
15
+ VideoFull: k,
16
+ VideoList: A,
17
+ VideoListMini: W,
18
+ ContentCardList: i,
19
+ CardIconList: n,
20
+ MultiCards: e,
21
+ Partners: u,
22
+ PartnersColors: T,
23
+ MainBanner: t,
24
+ WarningCard: m,
25
+ Faq: d,
26
+ DownloadFileBanner: l,
27
+ DownloadFileHalf: p,
28
+ DownloadFileFull: f,
29
+ DownloadFileMini: L,
30
+ InstructionList: C,
31
+ PreviewList: B,
32
+ SwiperList: F,
33
+ AnimatedSwiper: a,
34
+ InfoBannerList: c,
35
+ TasksBannerList: w,
36
+ VideoMainBanner: I,
37
+ Space: h,
38
+ PromoPoster: S,
39
+ CardImageSecondaryList: M,
40
+ CardInfoTable: g,
41
+ StandartTable: D,
42
+ IntroBanner: P,
43
+ DownloadFileBright: V
44
+ };
45
+ export {
46
+ J as c
47
+ };