md-components-mdigial-azamat 0.0.109 → 0.0.113

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 (166) hide show
  1. package/dist/ActionCardList/ActionCardList.js +32 -7
  2. package/dist/ActionCardList/index.js +1 -1
  3. package/dist/ActionCardList/info.js +1 -1
  4. package/dist/ActionCardSecondaryList/ActionCardSecondaryList.js +32 -0
  5. package/dist/ActionCardSecondaryList/index.js +6 -0
  6. package/dist/ActionCardSecondaryList/info.js +11 -0
  7. package/dist/ActionCardSecondaryList/schema.js +51 -0
  8. package/dist/ActionCardSecondaryList/types.js +4 -0
  9. package/dist/ActionIconList/ActionIconList.js +29 -4
  10. package/dist/AllComponents.js +35 -9
  11. package/dist/AllComponentsInfo.js +107 -89
  12. package/dist/AnimatedSwiper/index.js +40 -38
  13. package/dist/ButtonsList/ButtonsList.js +25 -19
  14. package/dist/CardImageList/CardImageList.js +130 -73
  15. package/dist/CardImageList/info.js +1 -1
  16. package/dist/CardImageList/schema.js +62 -0
  17. package/dist/Cards/ActionSecondaryCard/ActionSecondaryCard.js +77 -0
  18. package/dist/Cards/ActionSecondaryCard/index.js +6 -0
  19. package/dist/Cards/ActionSecondaryCard/info.js +11 -0
  20. package/dist/Cards/ActionSecondaryCard/types.js +4 -0
  21. package/dist/Cards/CardImage/CardImage.js +100 -55
  22. package/dist/Cards/CardImage/index.js +6 -1
  23. package/dist/Cards/CardImage/info.js +1 -1
  24. package/dist/Cards/CardImage/schema.js +32 -0
  25. package/dist/Cards/CardImage/types.js +3 -2
  26. package/dist/Cards/InfoCard/InfoCard.js +114 -0
  27. package/dist/Cards/InfoCard/index.js +9 -0
  28. package/dist/Cards/InfoCard/info.js +11 -0
  29. package/dist/Cards/InfoCard/schema.js +60 -0
  30. package/dist/Cards/InfoCard/types.js +4 -0
  31. package/dist/Cards/PostCard/PostCard.js +60 -0
  32. package/dist/Cards/PostCard/index.js +6 -0
  33. package/dist/Cards/PostCard/info.js +11 -0
  34. package/dist/Cards/PostCard/types.js +4 -0
  35. package/dist/Cards/WarningCard/WarningCard.js +31 -6
  36. package/dist/Cards/WarningCard/index.js +1 -1
  37. package/dist/Cards/WarningCard/info.js +1 -1
  38. package/dist/Cards/WarningCard/model.js +1 -1
  39. package/dist/CurrencyRates/CurrencyRates.js +78 -0
  40. package/dist/CurrencyRates/components/Calculator.js +101 -0
  41. package/dist/CurrencyRates/components/RateCell.js +15 -0
  42. package/dist/CurrencyRates/components/RatesTable.js +134 -0
  43. package/dist/CurrencyRates/components/index.js +6 -0
  44. package/dist/CurrencyRates/index.js +8 -0
  45. package/dist/CurrencyRates/info.js +11 -0
  46. package/dist/CurrencyRates/schema.js +63 -0
  47. package/dist/CurrencyRates/types.js +4 -0
  48. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
  49. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
  50. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
  51. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
  52. package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +1 -1
  53. package/dist/Faq/Faq.js +1 -1
  54. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +55 -6
  55. package/dist/Faq/components/FeedbackForm/index.js +1 -1
  56. package/dist/FieldInput-ef2a18d4.js +2743 -0
  57. package/dist/Flex-86aee720.js +78 -0
  58. package/dist/Footer/Footer.js +5 -5
  59. package/dist/Forms/FormDefault/FormDefault.js +12 -0
  60. package/dist/Forms/FormDefault/components/FieldCustom.js +11 -0
  61. package/dist/Forms/FormDefault/components/FieldInput.js +11 -0
  62. package/dist/Forms/FormDefault/components/FieldSection.js +10 -0
  63. package/dist/Forms/FormDefault/components/FormContent.js +10 -0
  64. package/dist/Forms/FormDefault/components/FormFields.js +7 -0
  65. package/dist/Forms/FormDefault/components/FormSuccessMessage.js +49 -0
  66. package/dist/Forms/FormDefault/components/index.js +6 -0
  67. package/dist/Forms/FormDefault/hooks/index.js +10 -0
  68. package/dist/Forms/FormDefault/hooks/useFieldOptions.js +32 -0
  69. package/dist/Forms/FormDefault/hooks/useFieldValidation.js +33 -0
  70. package/dist/Forms/FormDefault/hooks/useFieldVisibility.js +24 -0
  71. package/dist/Forms/FormDefault/hooks/useFormSubmission.js +64 -0
  72. package/dist/Forms/FormDefault/index.js +6 -12
  73. package/dist/Forms/FormDefault/info.js +3 -113
  74. package/dist/Forms/FormDefault/model/componentRegistry.js +134 -0
  75. package/dist/Forms/FormDefault/model/fieldTypes.js +18 -0
  76. package/dist/Forms/FormDefault/model/formElementTypes.js +18 -0
  77. package/dist/Forms/FormDefault/model/index.js +13 -0
  78. package/dist/Forms/FormDefault/model/requestForm.js +4 -0
  79. package/dist/Forms/{model/components.js → FormDefault/schema.js} +36 -7
  80. package/dist/Forms/FormDefault/utils.js +20 -0
  81. package/dist/Grid-331af266.js +80 -0
  82. package/dist/Header/Header.js +54 -42
  83. package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +26 -24
  84. package/dist/Header/components/HeaderMobile/HeaderMobile.js +67 -52
  85. package/dist/Header/components/HeaderSearch/HeaderSearch.js +1 -1
  86. package/dist/Header/components/HeaderTab/HeaderTab.js +17 -15
  87. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +10 -9
  88. package/dist/Header/components/HeaderWeb/HeaderWeb.js +134 -114
  89. package/dist/Header/components/TabsOutlined/TabsOutlined.js +8 -7
  90. package/dist/HeroIconsBanner/HeroIconsBanner.js +71 -54
  91. package/dist/IconList/IconList.js +59 -33
  92. package/dist/InfoCardList/InfoCardList.js +100 -0
  93. package/dist/InfoCardList/index.js +6 -0
  94. package/dist/InfoCardList/info.js +11 -0
  95. package/dist/InfoCardList/schema.js +39 -0
  96. package/dist/InfoCardList/types.js +1 -0
  97. package/dist/ModalBody/index.js +1 -1
  98. package/dist/PageViewer/renderComponents.js +1 -1
  99. package/dist/PostsList/PostsList.js +78 -0
  100. package/dist/PostsList/index.js +4 -0
  101. package/dist/PostsList/info.js +11 -0
  102. package/dist/PostsList/schema.js +49 -0
  103. package/dist/PostsList/types.js +1 -0
  104. package/dist/PostsSlider/PostsSlider.js +78 -0
  105. package/dist/PostsSlider/index.js +4 -0
  106. package/dist/PostsSlider/info.js +11 -0
  107. package/dist/PostsSlider/schema.js +49 -0
  108. package/dist/PostsSlider/types.js +1 -0
  109. package/dist/PreviewList/PreviewList.js +19 -19
  110. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +29 -29
  111. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  112. package/dist/RenderAllComponents/const.js +1 -1
  113. package/dist/SearchBlock/SearchBlock.js +101 -0
  114. package/dist/SearchBlock/index.js +4 -0
  115. package/dist/SearchBlock/info.js +11 -0
  116. package/dist/SearchBlock/schema.js +36 -0
  117. package/dist/SegmentedContent/SegmentedContent.js +160 -0
  118. package/dist/SegmentedContent/components/ContentCard.js +50 -0
  119. package/dist/SegmentedContent/components/index.js +4 -0
  120. package/dist/SegmentedContent/index.js +8 -0
  121. package/dist/SegmentedContent/info.js +12 -0
  122. package/dist/SegmentedContent/schema.js +108 -0
  123. package/dist/SegmentedContent/types.js +1 -0
  124. package/dist/Segments/Segments.js +36 -28
  125. package/dist/Segments/index.js +8 -2
  126. package/dist/Segments/info.js +1 -1
  127. package/dist/Segments/schema.js +21 -0
  128. package/dist/Segments/types.js +4 -1
  129. package/dist/SegmentsIcons/SegmentsIcons.js +92 -0
  130. package/dist/SegmentsIcons/index.js +8 -0
  131. package/dist/SegmentsIcons/info.js +11 -0
  132. package/dist/SegmentsIcons/schema.js +14 -0
  133. package/dist/SegmentsIcons/types.js +1 -0
  134. package/dist/SwiperList/SwiperList.js +13 -11
  135. package/dist/assets/index.css +1 -1
  136. package/dist/{clientApi-642fea4b.js → clientApi-ccb08ba6.js} +7 -7
  137. package/dist/{componentsMap-855b1df7.js → componentsMap-29ccdfcc.js} +6 -3
  138. package/dist/{data.mock-182979d1.js → data.mock-bb32e8ee.js} +485 -133
  139. package/dist/index-0791c17f.js +56 -0
  140. package/dist/index-2ec92a04.js +32 -0
  141. package/dist/{index-497f59a8.js → index-b795390d.js} +23 -20
  142. package/dist/index.esm-0558519f.js +1171 -0
  143. package/dist/{index.module-c8833286.js → index.module-8835bf96.js} +1 -1
  144. package/dist/info-72904479.js +791 -0
  145. package/dist/main.js +151 -116
  146. package/dist/{mousewheel-865ae601.js → mousewheel-afbc6d42.js} +1 -1
  147. package/dist/navigation-266856e7.js +136 -0
  148. package/dist/navigation-cd786a0d.js +133 -0
  149. package/dist/{palette-c2fe86ec.js → palette-256cf77a.js} +3 -1
  150. package/dist/{swiper-react-90953710.js → swiper-react-3c2710e8.js} +695 -825
  151. package/dist/trash/HeroLargeCards/index.js +7 -6
  152. package/dist/types-c3843cc0.js +4 -0
  153. package/dist/useDraggableScroll-440da9b7.js +29 -0
  154. package/dist/useTranslation-d7a3ca6f.js +298 -0
  155. package/package.json +1 -1
  156. package/dist/FileLoader/fileLoader.js +0 -22
  157. package/dist/FileLoader/index.js +0 -8
  158. package/dist/Forms/FormDefault/componentTypes.js +0 -31
  159. package/dist/Forms/FormDefault/fieldTypesList.js +0 -45
  160. package/dist/Forms/helpers/renderFormFields.js +0 -7
  161. package/dist/Forms/model/requestForm.js +0 -4
  162. package/dist/index-6686852d.js +0 -1794
  163. package/dist/index-a0ed2e4a.js +0 -1221
  164. package/dist/info-34fbb2a8.js +0 -1534
  165. package/dist/navigation-b894d0cd.js +0 -183
  166. /package/dist/Forms/{types/formItems.js → FormDefault/model/types.js} +0 -0
@@ -1,71 +1,116 @@
1
- import { jsxs as p, jsx as x } from "react/jsx-runtime";
2
- import { actionsGenerator as m } from "../../Actions/actionsGenerator.js";
1
+ import { jsxs as x, jsx as r } from "react/jsx-runtime";
2
+ import { actionsGenerator as f } from "../../Actions/actionsGenerator.js";
3
3
  import "../../Actions/projectActions.js";
4
4
  import "../../Actions/types.js";
5
- import { FieldTypes as l } from "../../Types/FiledTypes.js";
6
- import { I as s } from "../../index-9384c6d6.js";
7
- import { c as i } from "../../cn-6a4bf187.js";
8
- const c = {
9
- type: "data",
10
- label: "Данные карточки с изображением",
11
- dataType: "object",
12
- data: {
13
- keys: {
14
- title: l.TITLE,
15
- description: l.DESCRIPTION,
16
- image: l.FILE,
17
- variant: l.VARIANT,
18
- is_black: l.BOOLEAN
19
- }
5
+ import { F as p } from "../../Flex-86aee720.js";
6
+ import { I as w } from "../../index-9384c6d6.js";
7
+ import { c as t } from "../../cn-6a4bf187.js";
8
+ import { propsToEdit as u } from "./schema.js";
9
+ import { CardImageVariant as l, CardImageSize as m } from "./types.js";
10
+ const o = {
11
+ [l.PRIMARY]: {
12
+ container: "bg-white",
13
+ title: "text-blackBG",
14
+ description: "text-graySoft"
15
+ },
16
+ [l.SECONDARY]: {
17
+ container: "bg-white/15 backdrop-blur-[15px]",
18
+ title: "text-white",
19
+ description: "text-white/80"
20
+ }
21
+ }, a = {
22
+ [m.SMALL]: {
23
+ container: "rounded-3xl",
24
+ content: "pt-8 pb-4 px-6 max-tablet:p-4 gap-3",
25
+ description: "max-tablet:hidden",
26
+ image: "min-h-[256px] max-h-[272px] w-fit"
27
+ },
28
+ [m.LARGE]: {
29
+ container: "rounded-[20px]",
30
+ content: "p-12 max-tablet:py-6 max-tablet:px-8 gap-5 max-tablet:gap-4",
31
+ description: "",
32
+ image: "min-h-[264px] max-h-[356px] max-tablet:min-h-[262px] max-tablet:max-h-[262px] w-full"
20
33
  }
21
- }, n = [c], b = ({ data: e }) => {
22
- const o = ((e == null ? void 0 : e.variant) === "large", "min-h-[364px] max-w-[364px]"), t = ((e == null ? void 0 : e.variant) === "small", "w-[364px]"), r = m(e == null ? void 0 : e.action);
23
- return /* @__PURE__ */ p(
24
- "div",
34
+ }, I = ({ data: s }) => {
35
+ const {
36
+ variant: i = l.PRIMARY,
37
+ size: e = m.LARGE,
38
+ title: c,
39
+ description: d,
40
+ image: b,
41
+ action: g,
42
+ is_black: n
43
+ } = s || {}, h = f(g);
44
+ return /* @__PURE__ */ x(
45
+ p,
25
46
  {
26
- ...r,
27
- className: i(
28
- "w-full overflow-hidden bg-white rounded-[20px] flex flex-1 flex-col items-center justify-between",
29
- { "!bg-black": e == null ? void 0 : e.is_black }
47
+ ...h,
48
+ vertical: !0,
49
+ align: "center",
50
+ justify: "between",
51
+ className: t(
52
+ "w-full overflow-hidden flex-1 transition-colors duration-300",
53
+ o[i].container,
54
+ a[e].container,
55
+ {
56
+ "!bg-black": n
57
+ }
30
58
  ),
31
59
  children: [
32
- /* @__PURE__ */ p("div", { className: "w-full flex flex-col gap-[20px] p-[48px] max-tablet:gap-[16px] max-tablet:py-[24px] max-tablet:px-[32px]", children: [
33
- /* @__PURE__ */ x(
34
- "p",
35
- {
36
- className: i(
37
- "font-bold text-[24px] leading-[32px] text-center text-blackBG max-tablet:text-[22px] max-tablet:leading-[26px]",
38
- { "!text-white": e == null ? void 0 : e.is_black }
39
- ),
40
- children: e == null ? void 0 : e.title
41
- }
42
- ),
43
- /* @__PURE__ */ x(
44
- "p",
45
- {
46
- className: i(
47
- "text-[16px] leading-[24px] text-center text-graySoft max-tablet:text-[15px] max-tablet:leading-[22px]",
48
- { "!text-graySoft": e == null ? void 0 : e.is_black }
49
- ),
50
- children: e == null ? void 0 : e.description
51
- }
52
- )
53
- ] }),
54
60
  /* @__PURE__ */ x(
55
- s,
61
+ p,
62
+ {
63
+ vertical: !0,
64
+ align: "center",
65
+ className: t("w-full", a[e].content),
66
+ children: [
67
+ /* @__PURE__ */ r(
68
+ "p",
69
+ {
70
+ className: t(
71
+ "font-bold text-2xl text-center max-tablet:text-xl max-tablet:leading-6",
72
+ o[i].title,
73
+ {
74
+ "text-white": n
75
+ }
76
+ ),
77
+ children: c
78
+ }
79
+ ),
80
+ /* @__PURE__ */ r(
81
+ "p",
82
+ {
83
+ className: t(
84
+ "text-base leading-6 text-center max-tablet:text-sm max-tablet:leading-5",
85
+ o[i].description,
86
+ a[e].description,
87
+ {
88
+ "!text-white/80": n
89
+ }
90
+ ),
91
+ children: d
92
+ }
93
+ )
94
+ ]
95
+ }
96
+ ),
97
+ /* @__PURE__ */ r(
98
+ w,
56
99
  {
57
- src: e == null ? void 0 : e.image,
58
- alt: e == null ? void 0 : e.title,
59
- className: `w-full ${o} max-tablet:h-[200px] box-border`,
60
- imageStyles: `${t} h-full max-tablet:w-[200px] object-contain`
100
+ src: b,
101
+ alt: c,
102
+ className: t(
103
+ "w-full box-border max-tablet:h-[200px]",
104
+ a[e].image
105
+ ),
106
+ imageStyles: "h-full max-tablet:w-[200px] object-contain"
61
107
  }
62
108
  )
63
109
  ]
64
110
  }
65
111
  );
66
112
  };
67
- b.propsToEdit = n;
113
+ I.propsToEdit = u;
68
114
  export {
69
- b as CardImage,
70
- n as propsToEdit
115
+ I as CardImage
71
116
  };
@@ -1,4 +1,9 @@
1
1
  import { CardImage as e } from "./CardImage.js";
2
+ import { cardImageInfo as o } from "./info.js";
3
+ import { CardImageSize as d, CardImageVariant as f } from "./types.js";
2
4
  export {
3
- e as CardImage
5
+ e as CardImage,
6
+ d as CardImageSize,
7
+ f as CardImageVariant,
8
+ o as cardImageInfo
4
9
  };
@@ -1,5 +1,5 @@
1
1
  import { C as o } from "../../index-0a5f313c.js";
2
- import { propsToEdit as t } from "./CardImage.js";
2
+ import { propsToEdit as t } from "./schema.js";
3
3
  const p = {
4
4
  title: "Карточка с изображением",
5
5
  description: "Компонент для отображения карточки с изображением, заголовком и описанием. Используется для представления отдельных элементов с визуальным контентом.",
@@ -0,0 +1,32 @@
1
+ import { FieldTypes as a } from "../../Types/FiledTypes.js";
2
+ import { CardImageVariant as e, CardImageSize as t } from "./types.js";
3
+ const l = {
4
+ type: "data",
5
+ label: "Данные карточки с изображением",
6
+ dataType: "object",
7
+ data: {
8
+ keys: {
9
+ title: a.TITLE,
10
+ description: a.DESCRIPTION,
11
+ image: a.FILE,
12
+ variant: {
13
+ type: a.VARIANT,
14
+ options: [
15
+ { label: "Primary", value: e.PRIMARY },
16
+ { label: "Secondary", value: e.SECONDARY }
17
+ ]
18
+ },
19
+ size: {
20
+ type: a.VARIANT,
21
+ options: [
22
+ { label: "Small", value: t.SMALL },
23
+ { label: "Large", value: t.LARGE }
24
+ ]
25
+ },
26
+ is_black: a.BOOLEAN
27
+ }
28
+ }
29
+ }, r = [l];
30
+ export {
31
+ r as propsToEdit
32
+ };
@@ -1,4 +1,5 @@
1
- var r = /* @__PURE__ */ ((l) => (l.LARGE = "large", l.SMALL = "small", l))(r || {});
1
+ var A = /* @__PURE__ */ ((r) => (r.LARGE = "large", r.SMALL = "small", r))(A || {}), R = /* @__PURE__ */ ((r) => (r.PRIMARY = "primary", r.SECONDARY = "secondary", r))(R || {});
2
2
  export {
3
- r as CardImageVariant
3
+ A as CardImageSize,
4
+ R as CardImageVariant
4
5
  };
@@ -0,0 +1,114 @@
1
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
+ import { F as a } from "../../Flex-86aee720.js";
3
+ import { I as p } from "../../index-9384c6d6.js";
4
+ import { c as l } from "../../cn-6a4bf187.js";
5
+ import { propsToEdit as d } from "./schema.js";
6
+ import { InfoCardVariant as x } from "./types.js";
7
+ const h = {
8
+ [x.PRIMARY]: {
9
+ container: "bg-white text-blackBG",
10
+ description: "text-graySoft",
11
+ attributeLabel: "text-graySoft",
12
+ attributeValue: "text-graySoft",
13
+ divider: "border-b border-[#E0E5E8]"
14
+ },
15
+ [x.SECONDARY]: {
16
+ container: "bg-white/15 backdrop-blur-[2px] text-white border border-white/15",
17
+ description: "text-white",
18
+ attributeLabel: "text-white/90",
19
+ attributeValue: "text-white/90",
20
+ divider: "border-b border-white/20"
21
+ }
22
+ }, f = ({
23
+ title: n,
24
+ description: m,
25
+ image: s,
26
+ attributes: r,
27
+ variant: b = x.PRIMARY
28
+ }) => {
29
+ const t = h[b];
30
+ return /* @__PURE__ */ i(
31
+ a,
32
+ {
33
+ vertical: !0,
34
+ justify: "between",
35
+ className: l(
36
+ "w-full rounded-3xl py-8 max-tablet:py-0 max-tablet:flex-col-reverse max-tablet:items-center",
37
+ t.container
38
+ ),
39
+ children: [
40
+ /* @__PURE__ */ e(
41
+ a,
42
+ {
43
+ align: "end",
44
+ className: "w-full h-[292px] max-tablet:h-[160px]",
45
+ children: /* @__PURE__ */ e(
46
+ p,
47
+ {
48
+ src: s,
49
+ alt: n,
50
+ className: "w-full",
51
+ imageStyles: "w-full max-h-[292px] max-tablet:max-h-[160px] object-contain"
52
+ }
53
+ )
54
+ }
55
+ ),
56
+ /* @__PURE__ */ i(
57
+ a,
58
+ {
59
+ vertical: !0,
60
+ className: "px-6 pt-8 pb-4 gap-3 max-tablet:gap-2 max-tablet:p-4 max-tablet:items-center",
61
+ children: [
62
+ /* @__PURE__ */ e("h3", { className: "text-3xl leading-10 font-bold max-tablet:text-xl max-tablet:text-center", children: n }),
63
+ m && /* @__PURE__ */ e(
64
+ "p",
65
+ {
66
+ className: l(
67
+ "text-lg leading-[26px] min-h-[78px] max-tablet:text-[15px] max-tablet:leading-6 max-tablet:min-h-[48px] max-tablet:text-center",
68
+ t.description
69
+ ),
70
+ children: m
71
+ }
72
+ )
73
+ ]
74
+ }
75
+ ),
76
+ r && r.length > 0 && /* @__PURE__ */ e(
77
+ a,
78
+ {
79
+ vertical: !0,
80
+ gap: 12,
81
+ className: "w-full px-6 max-tablet:hidden",
82
+ children: r.map((c, o) => /* @__PURE__ */ i(
83
+ a,
84
+ {
85
+ justify: "between",
86
+ align: "center",
87
+ gap: 12,
88
+ className: l(
89
+ "pb-3 w-full",
90
+ o !== r.length - 1 && t.divider
91
+ ),
92
+ children: [
93
+ /* @__PURE__ */ e(
94
+ "span",
95
+ {
96
+ className: l("text-lg leading-[26px]", t.attributeLabel),
97
+ children: c.label
98
+ }
99
+ ),
100
+ /* @__PURE__ */ e("span", { className: l("text-base text-end", t.attributeValue), children: c.value })
101
+ ]
102
+ },
103
+ o
104
+ ))
105
+ }
106
+ )
107
+ ]
108
+ }
109
+ );
110
+ };
111
+ f.propsToEdit = d;
112
+ export {
113
+ f as InfoCard
114
+ };
@@ -0,0 +1,9 @@
1
+ import { InfoCard as a } from "./InfoCard.js";
2
+ import { InfoCardVariant as t } from "./types.js";
3
+ import { InfoCardItemSchema as m, propsToEdit as p } from "./schema.js";
4
+ export {
5
+ a as InfoCard,
6
+ m as InfoCardItemSchema,
7
+ t as InfoCardVariant,
8
+ p as propsToEdit
9
+ };
@@ -0,0 +1,11 @@
1
+ import { C as o } from "../../index-0a5f313c.js";
2
+ import { propsToEdit as r } from "./schema.js";
3
+ const e = {
4
+ title: "Инфо карточка",
5
+ description: "Карточка с изображением, заголовком, описанием и списком атрибутов. Поддерживает варианты Primary и Secondary.",
6
+ types: [o.cards],
7
+ propsToEdit: r
8
+ };
9
+ export {
10
+ e as infoCardInfo
11
+ };
@@ -0,0 +1,60 @@
1
+ import { AllActionsObject as l } from "../../Actions/types.js";
2
+ import { FieldTypes as e } from "../../Types/FiledTypes.js";
3
+ import { InfoCardVariant as a } from "./types.js";
4
+ const t = {
5
+ id: {
6
+ type: e.NUMBER,
7
+ label: "ID"
8
+ },
9
+ title: {
10
+ type: e.TITLE,
11
+ label: "Заголовок"
12
+ },
13
+ description: {
14
+ type: e.DESCRIPTION,
15
+ label: "Описание"
16
+ },
17
+ image: {
18
+ type: e.FILE,
19
+ label: "Изображение"
20
+ },
21
+ variant: {
22
+ type: e.VARIANT,
23
+ label: "Вариант",
24
+ options: [
25
+ { label: "Primary", value: a.PRIMARY },
26
+ { label: "Secondary", value: a.SECONDARY }
27
+ ]
28
+ },
29
+ action: {
30
+ ...l,
31
+ label: "Действие"
32
+ },
33
+ attributes: {
34
+ type: "array",
35
+ label: "Атрибуты",
36
+ itemLabel: "Атрибут",
37
+ data: {
38
+ label: {
39
+ type: e.STRING,
40
+ label: "Название"
41
+ },
42
+ value: {
43
+ type: e.STRING,
44
+ label: "Значение"
45
+ }
46
+ }
47
+ }
48
+ }, p = [
49
+ t.id,
50
+ t.title,
51
+ t.description,
52
+ t.image,
53
+ t.variant,
54
+ t.action,
55
+ t.attributes
56
+ ];
57
+ export {
58
+ t as InfoCardItemSchema,
59
+ p as propsToEdit
60
+ };
@@ -0,0 +1,4 @@
1
+ var e = /* @__PURE__ */ ((r) => (r.PRIMARY = "primary", r.SECONDARY = "secondary", r))(e || {});
2
+ export {
3
+ e as InfoCardVariant
4
+ };
@@ -0,0 +1,60 @@
1
+ import { jsxs as l, jsx as a } from "react/jsx-runtime";
2
+ import { actionsGenerator as d } from "../../Actions/actionsGenerator.js";
3
+ import { F as s } from "../../Flex-86aee720.js";
4
+ import { I as p } from "../../index-9384c6d6.js";
5
+ import { c as r } from "../../cn-6a4bf187.js";
6
+ import { PostCardVariant as o } from "./types.js";
7
+ const x = {
8
+ [o.PRIMARY]: {
9
+ container: "bg-white backdrop-blur-[12px]",
10
+ title: "text-blackBG",
11
+ date: "text-softGray"
12
+ },
13
+ [o.SECONDARY]: {
14
+ container: "bg-white/15 backdrop-blur-[15px]",
15
+ title: "text-white",
16
+ date: "text-white"
17
+ }
18
+ }, g = ({
19
+ item: t,
20
+ variant: c
21
+ }) => {
22
+ const { onClick: n } = d(t == null ? void 0 : t.action), i = c || t.variant || o.PRIMARY, e = x[i];
23
+ return /* @__PURE__ */ l(
24
+ s,
25
+ {
26
+ vertical: !0,
27
+ onClick: n,
28
+ className: r(
29
+ "w-full h-full rounded-3xl cursor-pointer overflow-hidden border border-white/25",
30
+ e.container
31
+ ),
32
+ children: [
33
+ /* @__PURE__ */ a(
34
+ p,
35
+ {
36
+ src: t.image,
37
+ alt: t.title,
38
+ className: "w-full aspect-[2/1]",
39
+ imageStyles: "w-full aspect-[2/1] object-cover"
40
+ }
41
+ ),
42
+ /* @__PURE__ */ l(
43
+ s,
44
+ {
45
+ vertical: !0,
46
+ gap: 12,
47
+ className: "p-6 max-tablet:p-4",
48
+ children: [
49
+ t.date && /* @__PURE__ */ a("span", { className: r("text-[13px] leading-[16px]", e.date), children: t.date }),
50
+ /* @__PURE__ */ a("h3", { className: r("text-base font-medium", e.title), children: t.title })
51
+ ]
52
+ }
53
+ )
54
+ ]
55
+ }
56
+ );
57
+ };
58
+ export {
59
+ g as PostCard
60
+ };
@@ -0,0 +1,6 @@
1
+ import { PostCard as t } from "./PostCard.js";
2
+ import { PostCardVariant as d } from "./types.js";
3
+ export {
4
+ t as PostCard,
5
+ d as PostCardVariant
6
+ };
@@ -0,0 +1,11 @@
1
+ import { fieldProps as o } from "../../PostsList/schema.js";
2
+ import { C as r } from "../../types-c3843cc0.js";
3
+ import { PostCard as t } from "./PostCard.js";
4
+ const m = {
5
+ key: r.PostCard,
6
+ component: t,
7
+ propsToEdit: Object.keys(o)
8
+ };
9
+ export {
10
+ m as postCardInfo
11
+ };
@@ -0,0 +1,4 @@
1
+ var e = /* @__PURE__ */ ((r) => (r.PRIMARY = "primary", r.SECONDARY = "secondary", r))(e || {});
2
+ export {
3
+ e as PostCardVariant
4
+ };
@@ -13,6 +13,8 @@ import "../../index-875e92ce.js";
13
13
  import "../../const-53dff524.js";
14
14
  import "../../Stepper/Stepper.js";
15
15
  import "../../Segments/Segments.js";
16
+ import "../../Segments/info.js";
17
+ import "../../Segments/schema.js";
16
18
  import "../../Video/VideoFull/VideoFull.js";
17
19
  import "../../Video/VideoList/VideoList.js";
18
20
  import "../../Video/VideoListMini/VideoListMini.js";
@@ -28,8 +30,9 @@ import "../../HeroPossibilityBanner/index.js";
28
30
  import "../../PartnersColors/PartnersColors.js";
29
31
  import "../../PreviewList/PreviewList.js";
30
32
  import "../CardImage/CardImage.js";
33
+ import "../CardImage/info.js";
31
34
  import "../ContentCard/ContentCard.js";
32
- import { W as po, p as io } from "../../info-34fbb2a8.js";
35
+ import { W as yo, p as zo } from "../../info-72904479.js";
33
36
  import "../ColoredCard/index.js";
34
37
  import "../FeaturesCard/index.js";
35
38
  import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -56,21 +59,23 @@ import "../../TasksBannerList/TasksBannerList.js";
56
59
  import "../../TitleBlock/TitleBlock.js";
57
60
  import "../../VideoMainBanner/VideoMainBanner.js";
58
61
  import "react-dom";
62
+ import "../../ActionCardSecondaryList/info.js";
59
63
  import "../../AnimatedSwiper/info.js";
60
64
  import "../../Banner/info.js";
61
65
  import "../../BannerAndText/info.js";
62
- import "../../HeroIconsBanner/info.js";
63
66
  import "../../ButtonsList/info.js";
64
67
  import "../../CardIconList/info.js";
65
68
  import "../../CardImageList/info.js";
66
69
  import "../../CardImageSecondary/info.js";
67
70
  import "../../CardImageSecondaryList/info.js";
68
71
  import "../../CardInfoTable/info.js";
69
- import "../CardImage/info.js";
70
72
  import "../ColoredCard/info.js";
71
73
  import "../ContentCard/info.js";
72
74
  import "../FeaturesCard/info.js";
75
+ import "../InfoCard/info.js";
76
+ import "../PostCard/info.js";
73
77
  import "../../ContentCardList/info.js";
78
+ import "../../CurrencyRates/info.js";
74
79
  import "../../DownloadFile/components/DownloadFileBanner/info.js";
75
80
  import "../../DownloadFile/components/DownloadFileBright/info.js";
76
81
  import "../../DownloadFile/components/DownloadFileFull/info.js";
@@ -79,19 +84,24 @@ import "../../DownloadFile/components/DownloadFileMini/info.js";
79
84
  import "../../Faq/info.js";
80
85
  import "../../Footer/info.js";
81
86
  import "../../Header/info.js";
87
+ import "../../HeroIconsBanner/info.js";
82
88
  import "../../HeroPossibilityBanner/info.js";
83
89
  import "../../IconList/info.js";
84
90
  import "../../InfoBanner/info.js";
85
91
  import "../../InfoBannerList/info.js";
92
+ import "../../InfoCardList/info.js";
86
93
  import "../../InstructionList/info.js";
87
94
  import "../../IntroBanner/info.js";
88
95
  import "../../MainBanner/info.js";
89
96
  import "../../MultiCards/info.js";
90
97
  import "../../Partners/info.js";
91
98
  import "../../PartnersColors/info.js";
99
+ import "../../PostsSlider/info.js";
92
100
  import "../../PreviewList/info.js";
93
101
  import "../../PromoPoster/info.js";
94
- import "../../Segments/info.js";
102
+ import "../../SearchBlock/info.js";
103
+ import "../../SegmentedContent/info.js";
104
+ import "../../SegmentsIcons/info.js";
95
105
  import "../../Space/info.js";
96
106
  import "../../StandartTable/info.js";
97
107
  import "../../Stepper/info.js";
@@ -104,10 +114,25 @@ import "../../Video/VideoListMini/info.js";
104
114
  import "../../VideoMainBanner/info.js";
105
115
  import "../../Actions/types.js";
106
116
  import "../../Actions/projectActions.js";
117
+ import "../../Flex-86aee720.js";
107
118
  import "../../HeroIconsBanner/HeroIconsBanner.js";
119
+ import "../../SegmentsIcons/SegmentsIcons.js";
120
+ import "../../SegmentsIcons/schema.js";
121
+ import "../../SegmentedContent/SegmentedContent.js";
122
+ import "../../SegmentedContent/schema.js";
123
+ import "../../InfoCardList/InfoCardList.js";
124
+ import "../../InfoCardList/schema.js";
125
+ import "../InfoCard/InfoCard.js";
126
+ import "../InfoCard/schema.js";
127
+ import "../../CurrencyRates/CurrencyRates.js";
128
+ import "../../CurrencyRates/schema.js";
129
+ import "../../ActionCardSecondaryList/ActionCardSecondaryList.js";
130
+ import "../ActionSecondaryCard/ActionSecondaryCard.js";
131
+ import "../PostCard/PostCard.js";
132
+ import "../../PostsSlider/PostsSlider.js";
108
133
  import "../../Icon-70ea6cb8.js";
109
134
  import "../../ComponentContainer-dca711c6.js";
110
135
  export {
111
- po as WarningCard,
112
- io as propsToEdit
136
+ yo as WarningCard,
137
+ zo as propsToEdit
113
138
  };
@@ -1,4 +1,4 @@
1
- import { W as n } from "../../info-34fbb2a8.js";
1
+ import { W as n } from "../../info-72904479.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-34fbb2a8.js";
2
+ import { w as n } from "../../info-72904479.js";
3
3
  export {
4
4
  n as warningCardInfo
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { OptionTypesEnum as e, DataTypesEnum as o } from "../../Types/FiledTypes.js";
2
- import { p as r } from "../../palette-c2fe86ec.js";
2
+ import { p as r } from "../../palette-256cf77a.js";
3
3
  import { g as n } from "../../generateSelectOptions-7b23cdb8.js";
4
4
  var t = /* @__PURE__ */ ((a) => (a.Orange = "orange", a.Gray = "gray", a.Black = "black", a))(t || {});
5
5
  const c = {