md-components-mdigial-azamat 0.0.112 → 0.0.114

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 (147) hide show
  1. package/dist/ActionCardList/ActionCardList.js +28 -5
  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 +25 -2
  10. package/dist/AllComponents.js +28 -5
  11. package/dist/AllComponentsInfo.js +111 -95
  12. package/dist/AnimatedSwiper/index.js +40 -38
  13. package/dist/CardImageList/CardImageList.js +122 -81
  14. package/dist/CardImageList/schema.js +17 -12
  15. package/dist/Cards/ActionSecondaryCard/ActionSecondaryCard.js +77 -0
  16. package/dist/Cards/ActionSecondaryCard/index.js +6 -0
  17. package/dist/Cards/ActionSecondaryCard/info.js +11 -0
  18. package/dist/Cards/ActionSecondaryCard/types.js +4 -0
  19. package/dist/Cards/CardImage/CardImage.js +48 -50
  20. package/dist/Cards/InfoCard/InfoCard.js +114 -0
  21. package/dist/Cards/InfoCard/index.js +9 -0
  22. package/dist/Cards/InfoCard/info.js +11 -0
  23. package/dist/Cards/InfoCard/schema.js +60 -0
  24. package/dist/Cards/InfoCard/types.js +4 -0
  25. package/dist/Cards/PostCard/PostCard.js +60 -0
  26. package/dist/Cards/PostCard/index.js +6 -0
  27. package/dist/Cards/PostCard/info.js +11 -0
  28. package/dist/Cards/PostCard/types.js +4 -0
  29. package/dist/Cards/WarningCard/WarningCard.js +27 -4
  30. package/dist/Cards/WarningCard/index.js +1 -1
  31. package/dist/Cards/WarningCard/info.js +1 -1
  32. package/dist/Cards/WarningCard/model.js +1 -1
  33. package/dist/CurrencyRates/CurrencyRates.js +78 -0
  34. package/dist/CurrencyRates/components/Calculator.js +101 -0
  35. package/dist/CurrencyRates/components/RateCell.js +15 -0
  36. package/dist/CurrencyRates/components/RatesTable.js +134 -0
  37. package/dist/CurrencyRates/components/index.js +6 -0
  38. package/dist/CurrencyRates/index.js +8 -0
  39. package/dist/CurrencyRates/info.js +11 -0
  40. package/dist/CurrencyRates/schema.js +63 -0
  41. package/dist/CurrencyRates/types.js +4 -0
  42. package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
  43. package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
  44. package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
  45. package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
  46. package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +1 -1
  47. package/dist/Faq/Faq.js +1 -1
  48. package/dist/Faq/components/FeedbackForm/FeedbackForm.js +55 -6
  49. package/dist/Faq/components/FeedbackForm/index.js +1 -1
  50. package/dist/FieldInput-ef2a18d4.js +2743 -0
  51. package/dist/Forms/FormDefault/FormDefault.js +12 -0
  52. package/dist/Forms/FormDefault/components/FieldCustom.js +11 -0
  53. package/dist/Forms/FormDefault/components/FieldInput.js +11 -0
  54. package/dist/Forms/FormDefault/components/FieldSection.js +10 -0
  55. package/dist/Forms/FormDefault/components/FormContent.js +10 -0
  56. package/dist/Forms/FormDefault/components/FormFields.js +7 -0
  57. package/dist/Forms/FormDefault/components/FormSuccessMessage.js +49 -0
  58. package/dist/Forms/FormDefault/components/index.js +6 -0
  59. package/dist/Forms/FormDefault/hooks/index.js +10 -0
  60. package/dist/Forms/FormDefault/hooks/useFieldOptions.js +32 -0
  61. package/dist/Forms/FormDefault/hooks/useFieldValidation.js +33 -0
  62. package/dist/Forms/FormDefault/hooks/useFieldVisibility.js +24 -0
  63. package/dist/Forms/FormDefault/hooks/useFormSubmission.js +64 -0
  64. package/dist/Forms/FormDefault/index.js +6 -12
  65. package/dist/Forms/FormDefault/info.js +3 -115
  66. package/dist/Forms/FormDefault/model/componentRegistry.js +134 -0
  67. package/dist/Forms/FormDefault/model/fieldTypes.js +18 -0
  68. package/dist/Forms/FormDefault/model/formElementTypes.js +18 -0
  69. package/dist/Forms/FormDefault/model/index.js +13 -0
  70. package/dist/Forms/FormDefault/model/requestForm.js +4 -0
  71. package/dist/Forms/{model/components.js → FormDefault/schema.js} +32 -5
  72. package/dist/Forms/FormDefault/utils.js +20 -0
  73. package/dist/Grid-331af266.js +80 -0
  74. package/dist/Header/Header.js +54 -42
  75. package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +21 -19
  76. package/dist/Header/components/HeaderMobile/HeaderMobile.js +67 -52
  77. package/dist/Header/components/HeaderTab/HeaderTab.js +17 -15
  78. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +8 -7
  79. package/dist/Header/components/HeaderWeb/HeaderWeb.js +134 -114
  80. package/dist/Header/components/TabsOutlined/TabsOutlined.js +8 -7
  81. package/dist/HeroIconsBanner/HeroIconsBanner.js +25 -25
  82. package/dist/IconList/IconList.js +60 -54
  83. package/dist/InfoCardList/InfoCardList.js +100 -0
  84. package/dist/InfoCardList/index.js +6 -0
  85. package/dist/InfoCardList/info.js +11 -0
  86. package/dist/InfoCardList/schema.js +39 -0
  87. package/dist/InfoCardList/types.js +1 -0
  88. package/dist/PageViewer/renderComponents.js +1 -1
  89. package/dist/PostsList/PostsList.js +78 -0
  90. package/dist/PostsList/index.js +4 -0
  91. package/dist/PostsList/info.js +11 -0
  92. package/dist/PostsList/schema.js +49 -0
  93. package/dist/PostsList/types.js +1 -0
  94. package/dist/PostsSlider/PostsSlider.js +78 -0
  95. package/dist/PostsSlider/index.js +4 -0
  96. package/dist/PostsSlider/info.js +11 -0
  97. package/dist/PostsSlider/schema.js +49 -0
  98. package/dist/PostsSlider/types.js +1 -0
  99. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  100. package/dist/RenderAllComponents/const.js +1 -1
  101. package/dist/SearchBlock/SearchBlock.js +36 -37
  102. package/dist/SegmentedContent/SegmentedContent.js +160 -0
  103. package/dist/SegmentedContent/components/ContentCard.js +50 -0
  104. package/dist/SegmentedContent/components/index.js +4 -0
  105. package/dist/SegmentedContent/index.js +8 -0
  106. package/dist/SegmentedContent/info.js +12 -0
  107. package/dist/SegmentedContent/schema.js +108 -0
  108. package/dist/SegmentedContent/types.js +1 -0
  109. package/dist/Segments/Segments.js +36 -28
  110. package/dist/Segments/index.js +8 -2
  111. package/dist/Segments/info.js +1 -1
  112. package/dist/Segments/schema.js +21 -0
  113. package/dist/Segments/types.js +4 -1
  114. package/dist/SegmentsIcons/SegmentsIcons.js +92 -0
  115. package/dist/SegmentsIcons/index.js +8 -0
  116. package/dist/SegmentsIcons/info.js +11 -0
  117. package/dist/SegmentsIcons/schema.js +14 -0
  118. package/dist/SegmentsIcons/types.js +1 -0
  119. package/dist/SwiperList/SwiperList.js +13 -11
  120. package/dist/assets/index.css +1 -1
  121. package/dist/{componentsMap-cac6c316.js → componentsMap-6fc8d724.js} +5 -3
  122. package/dist/{data.mock-ebc679ec.js → data.mock-a00d8eec.js} +546 -148
  123. package/dist/index-0791c17f.js +56 -0
  124. package/dist/index-2ec92a04.js +32 -0
  125. package/dist/index.esm-0558519f.js +1171 -0
  126. package/dist/info-ce6598a7.js +794 -0
  127. package/dist/main.js +151 -119
  128. package/dist/{mousewheel-865ae601.js → mousewheel-afbc6d42.js} +1 -1
  129. package/dist/navigation-266856e7.js +136 -0
  130. package/dist/navigation-cd786a0d.js +133 -0
  131. package/dist/{palette-c2fe86ec.js → palette-256cf77a.js} +3 -1
  132. package/dist/{swiper-react-90953710.js → swiper-react-3c2710e8.js} +695 -825
  133. package/dist/types-c3843cc0.js +4 -0
  134. package/dist/useDraggableScroll-440da9b7.js +29 -0
  135. package/dist/useTranslation-d7a3ca6f.js +298 -0
  136. package/package.json +1 -1
  137. package/dist/FileLoader/fileLoader.js +0 -22
  138. package/dist/FileLoader/index.js +0 -8
  139. package/dist/Forms/FormDefault/componentTypes.js +0 -31
  140. package/dist/Forms/FormDefault/fieldTypesList.js +0 -45
  141. package/dist/Forms/helpers/renderFormFields.js +0 -7
  142. package/dist/Forms/model/requestForm.js +0 -4
  143. package/dist/index-6686852d.js +0 -1794
  144. package/dist/index-a0ed2e4a.js +0 -1221
  145. package/dist/info-d05a1f02.js +0 -1547
  146. package/dist/navigation-b894d0cd.js +0 -183
  147. /package/dist/Forms/{types/formItems.js → FormDefault/model/types.js} +0 -0
@@ -1,47 +1,47 @@
1
- import { jsxs as s, jsx as l } from "react/jsx-runtime";
1
+ import { jsxs as x, jsx as r } from "react/jsx-runtime";
2
2
  import { actionsGenerator as f } from "../../Actions/actionsGenerator.js";
3
3
  import "../../Actions/projectActions.js";
4
4
  import "../../Actions/types.js";
5
5
  import { F as p } from "../../Flex-86aee720.js";
6
- import { I as u } from "../../index-9384c6d6.js";
6
+ import { I as w } from "../../index-9384c6d6.js";
7
7
  import { c as t } from "../../cn-6a4bf187.js";
8
- import { propsToEdit as w } from "./schema.js";
9
- import { CardImageVariant as m, CardImageSize as x } from "./types.js";
8
+ import { propsToEdit as u } from "./schema.js";
9
+ import { CardImageVariant as l, CardImageSize as m } from "./types.js";
10
10
  const o = {
11
- [m.PRIMARY]: {
12
- bg: "bg-white",
11
+ [l.PRIMARY]: {
12
+ container: "bg-white",
13
13
  title: "text-blackBG",
14
14
  description: "text-graySoft"
15
15
  },
16
- [m.SECONDARY]: {
17
- bg: "bg-white/15 backdrop-blur-[15px]",
16
+ [l.SECONDARY]: {
17
+ container: "bg-white/15 backdrop-blur-[15px]",
18
18
  title: "text-white",
19
19
  description: "text-white/80"
20
20
  }
21
21
  }, a = {
22
- [x.SMALL]: {
23
- borderRadius: "rounded-3xl",
24
- padding: "pt-8 pb-4 px-6 gap-3",
25
- imgHeight: "min-h-[256px] max-h-[272px] max-w-full",
26
- imgWidth: "w-auto"
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
27
  },
28
- [x.LARGE]: {
29
- borderRadius: "rounded-[20px]",
30
- padding: "p-12 max-tablet:py-6 max-tablet:px-8 gap-5 max-tablet:gap-4",
31
- imgHeight: "min-h-[264px] max-h-[356px] max-tablet:min-h-[262px] max-tablet:max-h-[262px]",
32
- imgWidth: "w-full"
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"
33
33
  }
34
- }, R = ({ data: d }) => {
34
+ }, I = ({ data: s }) => {
35
35
  const {
36
- variant: i = m.PRIMARY,
37
- size: e = x.LARGE,
38
- title: n,
39
- description: c,
40
- image: g,
41
- action: b,
42
- is_black: r
43
- } = d || {}, h = f(b);
44
- return /* @__PURE__ */ s(
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
45
  p,
46
46
  {
47
47
  ...h,
@@ -50,69 +50,67 @@ const o = {
50
50
  justify: "between",
51
51
  className: t(
52
52
  "w-full overflow-hidden flex-1 transition-colors duration-300",
53
- o[i].bg,
54
- a[e].borderRadius,
53
+ o[i].container,
54
+ a[e].container,
55
55
  {
56
- "!bg-black": r
56
+ "!bg-black": n
57
57
  }
58
58
  ),
59
59
  children: [
60
- /* @__PURE__ */ s(
60
+ /* @__PURE__ */ x(
61
61
  p,
62
62
  {
63
63
  vertical: !0,
64
64
  align: "center",
65
- className: t("w-full", a[e].padding),
65
+ className: t("w-full", a[e].content),
66
66
  children: [
67
- /* @__PURE__ */ l(
67
+ /* @__PURE__ */ r(
68
68
  "p",
69
69
  {
70
70
  className: t(
71
71
  "font-bold text-2xl text-center max-tablet:text-xl max-tablet:leading-6",
72
72
  o[i].title,
73
73
  {
74
- "text-white": r
74
+ "text-white": n
75
75
  }
76
76
  ),
77
- children: n
77
+ children: c
78
78
  }
79
79
  ),
80
- /* @__PURE__ */ l(
80
+ /* @__PURE__ */ r(
81
81
  "p",
82
82
  {
83
83
  className: t(
84
84
  "text-base leading-6 text-center max-tablet:text-sm max-tablet:leading-5",
85
85
  o[i].description,
86
+ a[e].description,
86
87
  {
87
- "!text-white/80": r
88
+ "!text-white/80": n
88
89
  }
89
90
  ),
90
- children: c
91
+ children: d
91
92
  }
92
93
  )
93
94
  ]
94
95
  }
95
96
  ),
96
- /* @__PURE__ */ l(
97
- u,
97
+ /* @__PURE__ */ r(
98
+ w,
98
99
  {
99
- src: g,
100
- alt: n,
100
+ src: b,
101
+ alt: c,
101
102
  className: t(
102
103
  "w-full box-border max-tablet:h-[200px]",
103
- a[e].imgHeight
104
+ a[e].image
104
105
  ),
105
- imageStyles: t(
106
- a[e].imgWidth,
107
- "h-full max-tablet:w-[200px] object-contain"
108
- )
106
+ imageStyles: "h-full max-tablet:w-[200px] object-contain"
109
107
  }
110
108
  )
111
109
  ]
112
110
  }
113
111
  );
114
112
  };
115
- R.propsToEdit = w;
113
+ I.propsToEdit = u;
116
114
  export {
117
- R as CardImage
115
+ I as CardImage
118
116
  };
@@ -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";
@@ -30,7 +32,7 @@ import "../../PreviewList/PreviewList.js";
30
32
  import "../CardImage/CardImage.js";
31
33
  import "../CardImage/info.js";
32
34
  import "../ContentCard/ContentCard.js";
33
- import { W as to, p as mo } from "../../info-d05a1f02.js";
35
+ import { W as yo, p as zo } from "../../info-ce6598a7.js";
34
36
  import "../ColoredCard/index.js";
35
37
  import "../FeaturesCard/index.js";
36
38
  import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
@@ -57,6 +59,7 @@ import "../../TasksBannerList/TasksBannerList.js";
57
59
  import "../../TitleBlock/TitleBlock.js";
58
60
  import "../../VideoMainBanner/VideoMainBanner.js";
59
61
  import "react-dom";
62
+ import "../../ActionCardSecondaryList/info.js";
60
63
  import "../../AnimatedSwiper/info.js";
61
64
  import "../../Banner/info.js";
62
65
  import "../../BannerAndText/info.js";
@@ -69,7 +72,10 @@ import "../../CardInfoTable/info.js";
69
72
  import "../ColoredCard/info.js";
70
73
  import "../ContentCard/info.js";
71
74
  import "../FeaturesCard/info.js";
75
+ import "../InfoCard/info.js";
76
+ import "../PostCard/info.js";
72
77
  import "../../ContentCardList/info.js";
78
+ import "../../CurrencyRates/info.js";
73
79
  import "../../DownloadFile/components/DownloadFileBanner/info.js";
74
80
  import "../../DownloadFile/components/DownloadFileBright/info.js";
75
81
  import "../../DownloadFile/components/DownloadFileFull/info.js";
@@ -83,16 +89,19 @@ 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
102
  import "../../SearchBlock/info.js";
95
- import "../../Segments/info.js";
103
+ import "../../SegmentedContent/info.js";
104
+ import "../../SegmentsIcons/info.js";
96
105
  import "../../Space/info.js";
97
106
  import "../../StandartTable/info.js";
98
107
  import "../../Stepper/info.js";
@@ -107,9 +116,23 @@ import "../../Actions/types.js";
107
116
  import "../../Actions/projectActions.js";
108
117
  import "../../Flex-86aee720.js";
109
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";
110
133
  import "../../Icon-70ea6cb8.js";
111
134
  import "../../ComponentContainer-dca711c6.js";
112
135
  export {
113
- to as WarningCard,
114
- mo as propsToEdit
136
+ yo as WarningCard,
137
+ zo as propsToEdit
115
138
  };
@@ -1,4 +1,4 @@
1
- import { W as n } from "../../info-d05a1f02.js";
1
+ import { W as n } from "../../info-ce6598a7.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-d05a1f02.js";
2
+ import { w as n } from "../../info-ce6598a7.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 = {
@@ -0,0 +1,78 @@
1
+ import { jsx as e, jsxs as n } from "react/jsx-runtime";
2
+ import { C as x } from "../ComponentContainer-dca711c6.js";
3
+ import { F as a } from "../Flex-86aee720.js";
4
+ import { c } from "../cn-6a4bf187.js";
5
+ import { Calculator as b } from "./components/Calculator.js";
6
+ import { RatesTable as d } from "./components/RatesTable.js";
7
+ import { propsToEdit as f } from "./schema.js";
8
+ import { CurrencyRatesVariant as r } from "./types.js";
9
+ const h = {
10
+ [r.PRIMARY]: {
11
+ container: "bg-white text-blackBG",
12
+ title: "text-blackBG"
13
+ },
14
+ [r.SECONDARY]: {
15
+ container: "bg-white/15 backdrop-blur-[20px] border border-white/15 text-white",
16
+ title: "text-white"
17
+ }
18
+ }, u = ({
19
+ title: m = "Курсы валют",
20
+ calculatorTitle: p = "Калькулятор",
21
+ rates: t,
22
+ variant: o = r.PRIMARY
23
+ }) => {
24
+ var i;
25
+ const l = h[o], s = ((i = t == null ? void 0 : t[0]) == null ? void 0 : i.symbol) || "c";
26
+ return /* @__PURE__ */ e(x, { children: /* @__PURE__ */ n(
27
+ a,
28
+ {
29
+ vertical: !0,
30
+ gap: 16,
31
+ className: c(
32
+ "w-full rounded-3xl p-8 max-tablet:p-4",
33
+ l.container
34
+ ),
35
+ children: [
36
+ /* @__PURE__ */ e(
37
+ "h2",
38
+ {
39
+ className: c(
40
+ "text-[28px] font-bold leading-[42px] max-tablet:text-[22px] max-tablet:leading-[26px]",
41
+ l.title
42
+ ),
43
+ children: m
44
+ }
45
+ ),
46
+ /* @__PURE__ */ n(
47
+ a,
48
+ {
49
+ vertical: !0,
50
+ gap: 32,
51
+ className: "w-full",
52
+ children: [
53
+ /* @__PURE__ */ e(
54
+ b,
55
+ {
56
+ title: p,
57
+ symbol: s,
58
+ variant: o
59
+ }
60
+ ),
61
+ t && t.length > 0 && /* @__PURE__ */ e(
62
+ d,
63
+ {
64
+ rates: t,
65
+ variant: o
66
+ }
67
+ )
68
+ ]
69
+ }
70
+ )
71
+ ]
72
+ }
73
+ ) });
74
+ };
75
+ u.propsToEdit = f;
76
+ export {
77
+ u as CurrencyRates
78
+ };