md-components-mdigial-azamat 0.0.38 → 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 (46) hide show
  1. package/dist/AllComponents.js +5 -6
  2. package/dist/AnimatedSwiper/index.js +2 -2
  3. package/dist/Header/Header.js +6 -31
  4. package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +13 -58
  5. package/dist/Header/components/HeaderMobile/HeaderMobile.js +9 -71
  6. package/dist/Header/components/HeaderMobile/index.js +1 -1
  7. package/dist/Header/components/HeaderSearch/HeaderSearch.js +11 -157
  8. package/dist/Header/components/HeaderSearch/index.js +2 -2
  9. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +2 -2
  10. package/dist/Header/components/HeaderWeb/HeaderWeb.js +9 -9
  11. package/dist/Header/components/SelectLanguage/SelectLanguage.js +1 -1
  12. package/dist/Header/components/TabsOutlined/TabsOutlined.js +2 -2
  13. package/dist/Header/index.js +2 -2
  14. package/dist/InfoBannerList/InfoBannerList.js +1 -1
  15. package/dist/InfoBannerList/index.js +1 -1
  16. package/dist/InstructionList/InstructionList.js +1 -1
  17. package/dist/InstructionList/components/InstructionCard/InstructionCard.js +8 -8
  18. package/dist/InstructionList/components/InstructionCard/index.js +1 -1
  19. package/dist/InstructionList/index.js +1 -1
  20. package/dist/PageViewer/PageViewer.js +4 -3
  21. package/dist/PageViewer/renderComponents.js +1 -1
  22. package/dist/PreviewList/PreviewList.js +1 -1
  23. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +9 -9
  24. package/dist/PreviewList/components/PreviewCard/index.js +1 -1
  25. package/dist/PreviewList/index.js +1 -1
  26. package/dist/PromoPoster/PromoPoster.js +1 -1
  27. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  28. package/dist/StandartTable/components/CardMarkedRow/index.js +10 -10
  29. package/dist/StandartTable/index.js +1 -1
  30. package/dist/SwiperList/SwiperList.js +3 -3
  31. package/dist/SwiperList/index.js +1 -1
  32. package/dist/TasksBanner/TasksBanner.js +3 -3
  33. package/dist/TasksBanner/index.js +2 -2
  34. package/dist/TasksBannerList/TasksBannerList.js +1 -1
  35. package/dist/TasksBannerList/index.js +1 -1
  36. package/dist/{componentsMap-1d79e069.js → componentsMap-d90efb17.js} +22 -23
  37. package/dist/index-3a534581.js +261 -0
  38. package/dist/{index-9c3ff10b.js → index-66837af1.js} +55 -55
  39. package/dist/index-db31fa48.js +924 -0
  40. package/dist/{languages-list-87ab3324.js → languages-list-8419e560.js} +2 -2
  41. package/dist/main.js +81 -78
  42. package/dist/{mousewheel-f9c6bcd7.js → mousewheel-865ae601.js} +1 -1
  43. package/dist/{swiper-react-39919ab6.js → swiper-react-90953710.js} +251 -251
  44. package/package.json +1 -1
  45. package/dist/header-4f7ca247.js +0 -107
  46. package/dist/index-a302b5ed.js +0 -787
@@ -1,787 +0,0 @@
1
- import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
- import { useState as b, useRef as I } from "react";
3
- import { HtmlContent as _ } from "./HtmlContent/HtmlContent.js";
4
- import { FieldTypes as i } from "./Types/FiledTypes.js";
5
- import "./ConfigProvider/index.js";
6
- import { Banner as F } from "./Banner/Banner.js";
7
- import "./BannerAndText/index.js";
8
- import { Stepper as A } from "./Stepper/Stepper.js";
9
- import { Segments as O } from "./Segments/Segments.js";
10
- import { VideoFull as Y } from "./Video/VideoFull/VideoFull.js";
11
- import { VideoList as Z } from "./Video/VideoList/VideoList.js";
12
- import { VideoListMini as H } from "./Video/VideoListMini/VideoListMini.js";
13
- import { ContentCardList as R } from "./ContentCardList/ContentCardList.js";
14
- import { CardIconList as V } from "./CardIconList/CardIconList.js";
15
- import { MultiCards as Q } from "./MultiCards/index.js";
16
- import { Partners as W } from "./Partners/Partners.js";
17
- import { CardImageList as G } from "./CardImageList/CardImageList.js";
18
- import { MainBanner as U } from "./MainBanner/MainBanner.js";
19
- import { Faq as $ } from "./Faq/Faq.js";
20
- import { B as N } from "./index-6af94f99.js";
21
- import { c as w, b as J } from "./const-637b0dca.js";
22
- import { C as m } from "./ComponentContainer-cdb2528c.js";
23
- import "./HeroPossibilityBanner/index.js";
24
- import { PartnersColors as K } from "./PartnersColors/PartnersColors.js";
25
- import "./Cards/CardImage/CardImage.js";
26
- import "./Cards/ContentCard/ContentCard.js";
27
- import { WarningCard as X } from "./Cards/WarningCard/WarningCard.js";
28
- import "./Cards/ColoredCard/index.js";
29
- import "./index-815f0132.js";
30
- import { DownloadFileBanner as q } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
31
- import { DownloadFileFull as ee } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
32
- import { DownloadFileHalf as ae } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
33
- import { DownloadFileMini as te } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
34
- import "./Faq/components/Collapse/Collapse.js";
35
- import { I as x } from "./index-2265d593.js";
36
- import { a as oe, C as ne, b as re, A as ie } from "./index-9c3ff10b.js";
37
- import { CardImageSecondaryList as se } from "./CardImageSecondaryList/CardImageSecondaryList.js";
38
- import { CardInfoTable as le } from "./CardInfoTable/index.js";
39
- import { DownloadFileBright as pe } from "./DownloadFile/components/DownloadFileBright/index.js";
40
- import "./Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
41
- import "./Header/components/TabsOutlined/TabsOutlined.js";
42
- import { InfoBanner as de, InfoBannerFields as ce } from "./InfoBanner/index.js";
43
- import { c as p } from "./cn-6a4bf187.js";
44
- import { u as y } from "./useScreenSize-c1b64c02.js";
45
- import { IntroBanner as me } from "./IntroBanner/IntroBanner.js";
46
- import { Space as xe } from "./Space/Space.js";
47
- import { a as ge, N as fe, b as ue } from "./swiper-react-39919ab6.js";
48
- import { VideoMainBanner as be } from "./VideoMainBanner/VideoMainBanner.js";
49
- import { M as Ne, B as he, C as Me, S as Ie, b as we, V as ye, c as Le, d as Te, e as De, f as Ce, g as Ee, P as je, h as Se, W as ke, F as Be, k as ve, D as ze, l as Pe, m as _e, I as Fe, o as Ae, p as Oe, A as Ye, q as Ze, T as He, r as Re, E as Ve, s as Qe, t as We, u as Ge, v as Ue, w as $e, x as Je } from "./data.mock-483400cb.js";
50
- import { Bullet as Ke } from "./SwiperList/components/Bullet/Bullet.js";
51
- import { Slide as Xe } from "./SwiperList/components/Slide/Slide.js";
52
- import './assets/swiper.css';import './assets/index3.css';/* empty css */import { CardWarning as qe } from "./StandartTable/components/CardWarning/index.js";
53
- import { InstructionModal as ea } from "./InstructionList/components/InstructionModal/InstructionModal.js";
54
- const aa = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzYxODBfMjc4KSI+CjxwYXRoIGQ9Ik0xNS4zMzM3IDQuNjY2NjlIMTIuNjY3QzEyLjAzODUgNC42NjY2OSAxMS43MjQyIDQuNjY2NjkgMTEuNTI4OSA0LjQ3MTQyQzExLjMzMzcgNC4yNzYxNiAxMS4zMzM3IDMuOTYxODkgMTEuMzMzNyAzLjMzMzM1VjAuNjY2Njg3TTE1LjMzMzcgMTEuMzMzNEgxMi42NjdDMTIuMDM4NSAxMS4zMzM0IDExLjcyNDIgMTEuMzMzNCAxMS41Mjg5IDExLjUyODZDMTEuMzMzNyAxMS43MjM5IDExLjMzMzcgMTIuMDM4MSAxMS4zMzM3IDEyLjY2NjdWMTUuMzMzNE00LjY2Njk5IDE1LjMzMzRWMTIuNjY2N0M0LjY2Njk5IDEyLjAzODEgNC42NjY5OSAxMS43MjM5IDQuNDcxNzMgMTEuNTI4NkM0LjI3NjQ3IDExLjMzMzQgMy45NjIyIDExLjMzMzQgMy4zMzM2NiAxMS4zMzM0SDAuNjY2OTkyTTQuNjY2OTkgMC42NjY2ODdWMy4zMzMzNUM0LjY2Njk5IDMuOTYxODkgNC42NjY5OSA0LjI3NjE2IDQuNDcxNzMgNC40NzE0MkM0LjI3NjQ3IDQuNjY2NjkgMy45NjIyIDQuNjY2NjkgMy4zMzM2NiA0LjY2NjY5SDAuNjY2OTkyIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF82MTgwXzI3OCI+CjxyZWN0IHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K", ta = ["title", "subtitle", "count_color", "image", "id"], oa = {
55
- title: i.TITLE,
56
- subtitle: i.DESCRIPTION,
57
- count_color: i.COLOR,
58
- image: i.FILE,
59
- id: i.NUMBER
60
- }, L = ({
61
- title: o,
62
- subtitle: t,
63
- count_color: n,
64
- image: a,
65
- id: r
66
- }) => {
67
- const [l, c] = b(!1);
68
- return /* @__PURE__ */ s("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
69
- /* @__PURE__ */ s("div", { className: "relative w-full h-[256px]", children: [
70
- /* @__PURE__ */ e(
71
- x,
72
- {
73
- src: a,
74
- alt: o,
75
- className: "w-full h-full",
76
- imageStyles: "object-cover"
77
- }
78
- ),
79
- r && /* @__PURE__ */ e(
80
- "div",
81
- {
82
- className: `absolute top-[26px] left-[36px] text-[20px] leading-[32px] text-white
83
- px-[18px] rounded-[100px]`,
84
- style: { background: n },
85
- children: r
86
- }
87
- ),
88
- /* @__PURE__ */ s(
89
- "button",
90
- {
91
- className: `absolute top-[26px] right-[36px] w-fit flex items-center gap-[4px] py-[8px] px-[10px]
92
- bg-translucentBlack rounded-[100px] cursor-pointer`,
93
- onClick: () => {
94
- a && (c(!0), document.body.style.overflow = "hidden");
95
- },
96
- children: [
97
- /* @__PURE__ */ e("p", { className: "text-[14px] leading-[20px] text-white", children: "Показать" }),
98
- /* @__PURE__ */ e(
99
- x,
100
- {
101
- src: aa,
102
- alt: "show"
103
- }
104
- )
105
- ]
106
- }
107
- )
108
- ] }),
109
- /* @__PURE__ */ s("div", { className: "bg-white px-[24px] py-[32px] flex flex-col flex-grow gap-[8px]", children: [
110
- o && /* @__PURE__ */ e("p", { className: "text-[24px] leading-[32px] font-bold", children: o }),
111
- t && /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] text-graySoft2", children: t })
112
- ] }),
113
- /* @__PURE__ */ e(
114
- ea,
115
- {
116
- show: l,
117
- image: a,
118
- title: o,
119
- onClose: () => {
120
- c(!1), document.body.style.overflow = "auto";
121
- }
122
- }
123
- )
124
- ] });
125
- };
126
- L.propsToEdit = ta;
127
- const na = ["title", "cards", w], Pt = {
128
- type: "cards",
129
- label: "Карточки",
130
- dataType: "array",
131
- data: {
132
- ...oa
133
- }
134
- }, T = ({
135
- title: o,
136
- cards: t,
137
- button: n
138
- }) => /* @__PURE__ */ s(m, { className: "flex flex-col items-center", children: [
139
- o && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[54px] font-bold text-center mb-[48px]", children: o }),
140
- /* @__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(
141
- L,
142
- {
143
- ...a
144
- },
145
- a == null ? void 0 : a.id
146
- )) }),
147
- /* @__PURE__ */ e(N, { ...n })
148
- ] });
149
- T.propsToEdit = na;
150
- const ra = ["title", "subtitle", "image", "button", "id"], ia = {
151
- title: i.TITLE,
152
- subtitle: i.DESCRIPTION,
153
- image: i.FILE,
154
- button: J
155
- }, D = ({ title: o, subtitle: t, image: n, button: a }) => /* @__PURE__ */ s("div", { className: "w-full flex flex-col rounded-[20px] overflow-hidden", children: [
156
- /* @__PURE__ */ e("div", { className: "relative w-full h-[256px]", children: /* @__PURE__ */ e(
157
- x,
158
- {
159
- src: n,
160
- alt: o,
161
- className: "w-full h-full",
162
- imageStyles: "object-cover"
163
- }
164
- ) }),
165
- /* @__PURE__ */ s("div", { className: "bg-white p-[32px] flex flex-col gap-[8px] h-full", children: [
166
- o && /* @__PURE__ */ e("p", { className: "text-[24px] leading-[32px] font-bold", children: o }),
167
- t && /* @__PURE__ */ e("p", { className: "text-[14px] leading-[20px] text-graySoft", children: t }),
168
- ((a == null ? void 0 : a.title) || (a == null ? void 0 : a.children)) && /* @__PURE__ */ e(N, { ...a })
169
- ] })
170
- ] });
171
- D.propsToEdit = ra;
172
- const sa = {
173
- type: "cards",
174
- dataType: "array",
175
- label: "Карточки",
176
- data: {
177
- ...ia
178
- }
179
- }, la = ["title", sa, w, "grid"], C = ({
180
- title: o,
181
- cards: t,
182
- button: n,
183
- grid: a = 3
184
- }) => /* @__PURE__ */ s(m, { className: "flex flex-col items-center", children: [
185
- (o == null ? void 0 : o.length) && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: o }),
186
- /* @__PURE__ */ e("div", { className: `grid grid-cols-${a} items-stretch gap-[24px]`, children: t == null ? void 0 : t.map((r, l) => /* @__PURE__ */ e(
187
- D,
188
- {
189
- ...r
190
- },
191
- l
192
- )) }),
193
- (n.title || n.children) && /* @__PURE__ */ e(N, { ...n })
194
- ] });
195
- C.propsToEdit = la;
196
- const g = ({
197
- label: o,
198
- type: t
199
- }) => ({
200
- dataType: i.BOOLEAN,
201
- label: o,
202
- type: t
203
- }), pa = {
204
- type: "cards",
205
- label: "Карточки информации",
206
- dataType: "array",
207
- data: ce
208
- }, da = g({
209
- label: "Светлый вариант",
210
- type: "isLight"
211
- }), ca = g({
212
- label: "Светлый заголовок",
213
- type: "isLightTitle"
214
- }), ma = ["title", pa, da, ca], E = ({
215
- title: o,
216
- cards: t,
217
- isLight: n,
218
- isLightTitle: a
219
- }) => {
220
- const r = y(960);
221
- return /* @__PURE__ */ e(m, { children: /* @__PURE__ */ s("div", { className: p("w-full"), children: [
222
- o && /* @__PURE__ */ e(
223
- "p",
224
- {
225
- className: p(
226
- "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]",
227
- { "text-white4": a }
228
- ),
229
- children: o
230
- }
231
- ),
232
- /* @__PURE__ */ e("div", { className: p("flex flex-col gap-[40px] w-full"), children: t == null ? void 0 : t.map((l, c) => /* @__PURE__ */ e(
233
- de,
234
- {
235
- data: l,
236
- isTextLast: r ? !1 : c % 2 === 1,
237
- isLight: n
238
- },
239
- c
240
- )) })
241
- ] }) });
242
- };
243
- E.propsToEdit = ma;
244
- const xa = g({
245
- label: "Большой текст",
246
- type: "is_big"
247
- }), ga = {
248
- type: "texts",
249
- label: "Тексты",
250
- dataType: "array",
251
- data: {
252
- title: i.TITLE,
253
- is_big: xa
254
- }
255
- }, fa = ["image", "image_mob", ga], j = ({ image: o, image_mob: t, texts: n }) => {
256
- const a = y(960);
257
- return /* @__PURE__ */ e(
258
- m,
259
- {
260
- 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",
261
- style: {
262
- backgroundImage: `url(${a ? t : o})`
263
- },
264
- children: n == null ? void 0 : n.map((r, l) => /* @__PURE__ */ e(
265
- "p",
266
- {
267
- className: p(
268
- "text-[15px] leading-[22px] text-white break-words whitespace-normal max-w-full overflow-hidden",
269
- {
270
- "text-[72px] leading-[32px] font-bold text-white max-tablet:text-[32px] max-tablet:leading-[32px] max-tablet:h-[57px] max-tablet:break-words": r == null ? void 0 : r.is_big
271
- }
272
- ),
273
- children: r == null ? void 0 : r.title
274
- },
275
- l
276
- ))
277
- }
278
- );
279
- };
280
- j.propsToEdit = fa;
281
- const ua = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxNiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjY2NzMgMS41NTMyMkw1Ljc3ODQzIDEwLjQ0MjNMMS4zMzM5OCA1Ljk5Nzg4IiBzdHJva2U9IiMxNkEzNEEiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K", ba = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAxOCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuNSAxLjQ0NjA0TDE2LjUgMTYuNDQ2TTE2LjUgMS40NDYwNEwxLjUgMTYuNDQ2IiBzdHJva2U9IiNFRjQ0NDQiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K", Na = g({
282
- label: "Маркированный",
283
- type: "is_marked"
284
- }), ha = {
285
- title: i.TITLE,
286
- columns: {
287
- type: "columns",
288
- label: "Колонки",
289
- dataType: "array",
290
- data: {
291
- title: i.TITLE,
292
- description: i.DESCRIPTION,
293
- is_marked: Na
294
- }
295
- }
296
- }, Ma = ({ title: o, columns: t, className: n }) => /* @__PURE__ */ s(
297
- "div",
298
- {
299
- className: p(
300
- "w-full grid grid-cols-[200px_3fr] gap-[24px] border-b border-greyLight",
301
- "max-tablet:last:border-none",
302
- "max-tablet:grid-cols-[170px_3fr] max-tablet:gap-0 max-tablet:w-fit",
303
- n
304
- ),
305
- children: [
306
- /* @__PURE__ */ e(
307
- "p",
308
- {
309
- className: p(
310
- "sticky left-0 top-0 z-10 bg-white font-medium text-[18px] leading-[24px] text-graySoft3 border-r border-greyLight",
311
- "py-[24px] px-[32px] max-tablet:w-[170px] max-tablet:px-4 whitespace-normal"
312
- ),
313
- children: o
314
- }
315
- ),
316
- /* @__PURE__ */ e(
317
- "div",
318
- {
319
- className: p(
320
- "grid grid-cols-[repeat(4,1fr)] max-tablet:grid-cols-[repeat(4,134px)] gap-[24px] max-tablet:gap-0 w-full"
321
- ),
322
- children: t == null ? void 0 : t.map((a) => /* @__PURE__ */ s(
323
- "div",
324
- {
325
- className: p(
326
- "w-full flex flex-col gap-2",
327
- "py-[24px] max-tablet:last:py-[10px] max-tablet:px-[12px] max-tablet:last:pb-0 max-tablet:w-134px]"
328
- ),
329
- children: [
330
- /* @__PURE__ */ s("div", { className: "flex flex-row items-start gap-2 w-[240px] max-tablet:w-full", children: [
331
- (a == null ? void 0 : a.is_marked) === null ? null : a != null && a.is_marked ? /* @__PURE__ */ e(
332
- x,
333
- {
334
- src: ua,
335
- alt: "check",
336
- width: 20,
337
- height: 20,
338
- className: "flex items-center justify-center"
339
- }
340
- ) : /* @__PURE__ */ e(
341
- x,
342
- {
343
- src: ba,
344
- alt: "cross",
345
- width: 20,
346
- height: 20,
347
- className: "flex items-center justify-center"
348
- }
349
- ),
350
- (a == null ? void 0 : a.title) && /* @__PURE__ */ e("p", { className: "text-[18px] leading-[26px] font-medium m-0 break-words", children: a == null ? void 0 : a.title })
351
- ] }),
352
- (a == null ? void 0 : a.description) && /* @__PURE__ */ e("div", { className: "text-[14px] leading-[20px] text-graySoft3 max-tablet:text-[13px] max-tablet:leading-[16px]", children: a == null ? void 0 : a.description })
353
- ]
354
- },
355
- a == null ? void 0 : a.id
356
- ))
357
- }
358
- )
359
- ]
360
- }
361
- ), Ia = {
362
- type: "table",
363
- label: "Таблица",
364
- dataType: "object",
365
- data: {
366
- keys: {
367
- image: i.FILE,
368
- image_mob: i.FILE,
369
- warning: {
370
- dataType: i.OBJECT,
371
- label: "Предупреждение",
372
- type: "warning",
373
- keys: {
374
- warning_title: i.TITLE,
375
- warning_description: i.DESCRIPTION
376
- }
377
- }
378
- }
379
- }
380
- }, wa = {
381
- type: "rows",
382
- label: "Строки таблицы",
383
- dataType: "array",
384
- data: ha
385
- }, ya = ["title", Ia, wa], S = ({ title: o, table: t, rows: n }) => {
386
- var a;
387
- return /* @__PURE__ */ s(m, { children: [
388
- o && /* @__PURE__ */ e(
389
- "p",
390
- {
391
- className: p(
392
- "text-[44px] font-bold leading-[52px] mb-[48px] text-black text-center max-tablet:text-[26px] max-tablet:leading-[32px] max-tablet:mb-[32px]"
393
- ),
394
- children: o
395
- }
396
- ),
397
- /* @__PURE__ */ s("div", { className: "bg-white rounded-[20px] overflow-hidden p-8 md:p-6", children: [
398
- /* @__PURE__ */ e(
399
- "div",
400
- {
401
- className: p("overflow-x-auto whitespace-nowrap custom-scrollbar"),
402
- children: /* @__PURE__ */ e("div", { className: "bg-white rounded-[20px] w-full", children: n == null ? void 0 : n.map((r) => /* @__PURE__ */ e(
403
- Ma,
404
- {
405
- id: r == null ? void 0 : r.id,
406
- title: r == null ? void 0 : r.title,
407
- description: r == null ? void 0 : r.description,
408
- columns: r == null ? void 0 : r.columns,
409
- className: p({
410
- "border-b border-[#E6E8EB]": !(t != null && t.warning)
411
- })
412
- },
413
- r == null ? void 0 : r.id
414
- )) })
415
- }
416
- ),
417
- ((a = t == null ? void 0 : t.warning) == null ? void 0 : a.warning_description) && /* @__PURE__ */ e("div", { className: "mt-4", children: /* @__PURE__ */ e(
418
- qe,
419
- {
420
- className: "!flex-[1_1_100%] bg-white",
421
- title: t.warning.warning_title,
422
- description: t.warning.warning_description
423
- }
424
- ) })
425
- ] })
426
- ] });
427
- };
428
- S.propsToEdit = ya;
429
- const h = ({
430
- label: o,
431
- type: t
432
- }) => ({
433
- dataType: i.NUMBER,
434
- label: o,
435
- type: t
436
- }), La = {
437
- type: "cards",
438
- label: "Карточки слайдера",
439
- dataType: "array",
440
- data: {
441
- description: i.DESCRIPTION,
442
- image: i.FILE
443
- }
444
- }, Ta = g({
445
- label: "Автоматический переход",
446
- type: "autoplay"
447
- }), Da = h({
448
- label: "Задержка автоматического перехода",
449
- type: "autoplayDelay"
450
- }), Ca = h({
451
- label: "Количество слайдов на экране",
452
- type: "perViewScreens"
453
- }), Ea = h({
454
- label: "Высота карточки",
455
- type: "cardHeight"
456
- }), ja = [
457
- "title",
458
- La,
459
- Ea,
460
- Ta,
461
- Da,
462
- Ca
463
- ], k = ({
464
- title: o,
465
- cards: t,
466
- card_height: n,
467
- autoplay: a,
468
- autoplayDelay: r = 2e3,
469
- perViewScreens: l
470
- }) => {
471
- const [c, M] = b(0), P = a ? {
472
- delay: r,
473
- disableOnInteraction: !1,
474
- waitForTransition: !0
475
- } : !1, f = I(null), u = I(null);
476
- return /* @__PURE__ */ s(m, { children: [
477
- o && /* @__PURE__ */ e("p", { className: "text-[44px] leading-[52px] font-bold text-center mb-[48px]", children: o }),
478
- /* @__PURE__ */ s("div", { className: "relative w-full", children: [
479
- /* @__PURE__ */ e(
480
- ge,
481
- {
482
- modules: [fe, oe],
483
- spaceBetween: 24,
484
- slidesPerView: l,
485
- slidesPerGroup: 1,
486
- navigation: {
487
- nextEl: f.current,
488
- prevEl: u.current
489
- },
490
- onBeforeInit: (d) => {
491
- d.params.navigation && typeof d.params.navigation != "boolean" && (d.params.navigation.nextEl = f.current, d.params.navigation.prevEl = u.current);
492
- },
493
- pagination: { clickable: !0 },
494
- onSlideChange: (d) => M(d.realIndex),
495
- autoplay: P,
496
- children: t == null ? void 0 : t.map((d) => /* @__PURE__ */ e(ue, { children: /* @__PURE__ */ e(
497
- Xe,
498
- {
499
- height: n,
500
- image: d == null ? void 0 : d.image,
501
- description: d == null ? void 0 : d.description
502
- }
503
- ) }, d.id))
504
- }
505
- ),
506
- /* @__PURE__ */ e(
507
- "button",
508
- {
509
- ref: u,
510
- className: "custom-prev absolute left-0 top-[50%] translate-y-[-50%] translate-x-[-50%] z-10 p-[8px] rounded-[50%] bg-white",
511
- children: /* @__PURE__ */ e(ne, { size: 24 })
512
- }
513
- ),
514
- /* @__PURE__ */ e(
515
- "button",
516
- {
517
- ref: f,
518
- className: "custom-next p-[8px] absolute right-0 top-[50%] translate-y-[-50%] translate-x-[50%] z-10 rounded-[50%] bg-white",
519
- children: /* @__PURE__ */ e(re, { size: 24 })
520
- }
521
- )
522
- ] }),
523
- t.length > 1 && /* @__PURE__ */ e(
524
- Ke,
525
- {
526
- count: t.length - (l - 1),
527
- active: c,
528
- activeColor: "#16A34A",
529
- anActiveColor: "#A6B2BA",
530
- className: "mt-[24px]"
531
- }
532
- )
533
- ] });
534
- };
535
- k.propsToEdit = ja;
536
- const Sa = ({
537
- color: o = "#40474F",
538
- size: t = 24,
539
- ...n
540
- }) => /* @__PURE__ */ e(
541
- "svg",
542
- {
543
- xmlns: "http://www.w3.org/2000/svg",
544
- width: t,
545
- height: t,
546
- viewBox: "0 0 16 16",
547
- fill: "none",
548
- ...n,
549
- children: /* @__PURE__ */ e(
550
- "path",
551
- {
552
- 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",
553
- stroke: o || "currentColor",
554
- "stroke-width": "2",
555
- "stroke-linejoin": "round"
556
- }
557
- )
558
- }
559
- );
560
- const _t = {
561
- title: i.TITLE,
562
- htmlContent: i.HTML_CONTENT,
563
- image: i.FILE,
564
- isTextLast: i.BOOLEAN,
565
- turnover: i.BOOLEAN
566
- }, ka = g({
567
- label: "Текст в конце",
568
- type: "isTextLast"
569
- }), Ba = [
570
- "title",
571
- "htmlContent",
572
- "image",
573
- ka,
574
- i.TURN_OVER
575
- ], B = ({
576
- htmlContent: o,
577
- image: t,
578
- title: n,
579
- isTextLast: a,
580
- turnover: r
581
- }) => {
582
- const [l, c] = b(!1);
583
- 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: [
584
- /* @__PURE__ */ s(
585
- "div",
586
- {
587
- className: p(
588
- "h-full py-[32px] pr-[64px] pl-[48px] max-tablet:p-[32px] max-tablet:order-1 max-tablet:w-full",
589
- {
590
- "order-1": a
591
- }
592
- ),
593
- children: [
594
- /* @__PURE__ */ s("div", { className: "h-full flex flex-col gap-[24px]", children: [
595
- /* @__PURE__ */ e("p", { className: "text-[32px] leading-[40px] font-bold text-black5 max-tablet:text-[22px] max-tablet:leading-[26px]", children: n }),
596
- /* @__PURE__ */ e(
597
- "div",
598
- {
599
- className: p(
600
- "max-h-[98px] overflow-hidden max-tablet:text-[95px] transition-[max-height] duration-500 ease-in-out",
601
- {
602
- "max-h-[1000px]": l
603
- }
604
- ),
605
- children: /* @__PURE__ */ e(
606
- _,
607
- {
608
- className: "htmlContent",
609
- data: o
610
- }
611
- )
612
- }
613
- )
614
- ] }),
615
- /* @__PURE__ */ s(
616
- "button",
617
- {
618
- className: "flex items-center gap-2 px-6 bg-none border-none cursor-pointer transition-all duration-500 ease-in-out",
619
- onClick: () => c(!l),
620
- children: [
621
- /* @__PURE__ */ e("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 ? "Скрыть" : "Показать больше" }),
622
- /* @__PURE__ */ e(
623
- Sa,
624
- {
625
- size: 16,
626
- color: "#3B82F6",
627
- className: p(
628
- l ? "transition-all duration-500 rotate-180" : "transition-all duration-500",
629
- "mt-[12px]"
630
- )
631
- }
632
- )
633
- ]
634
- }
635
- )
636
- ]
637
- }
638
- ),
639
- t && /* @__PURE__ */ e(
640
- x,
641
- {
642
- src: t,
643
- alt: n,
644
- width: 453,
645
- className: p(
646
- "absolute right-0 bottom-0 h-auto flex items-end max-tablet:relative"
647
- ),
648
- imageStyles: p(
649
- "object-contain",
650
- r && "object-bottom",
651
- l && "object-bottom"
652
- )
653
- }
654
- )
655
- ] });
656
- };
657
- B.propsToEdit = Ba;
658
- const va = {
659
- type: "cards",
660
- label: "Карточки задач",
661
- dataType: "array",
662
- data: {
663
- title: i.TITLE,
664
- description: i.HTML_CONTENT,
665
- image: i.FILE,
666
- icon: i.FILE,
667
- is_black: i.BOOLEAN,
668
- is_promo: i.BOOLEAN,
669
- is_yellow: i.BOOLEAN
670
- }
671
- }, za = ["title", va], v = ({ title: o, cards: t }) => /* @__PURE__ */ s(m, { children: [
672
- 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 }),
673
- /* @__PURE__ */ e("div", { className: "flex flex-col gap-[40px] w-full", children: t == null ? void 0 : t.map((n, a) => {
674
- const r = a === 0;
675
- return /* @__PURE__ */ e(
676
- B,
677
- {
678
- title: n == null ? void 0 : n.title,
679
- description: n == null ? void 0 : n.description,
680
- image: n == null ? void 0 : n.image,
681
- isFirst: r
682
- },
683
- a
684
- );
685
- }) })
686
- ] });
687
- v.propsToEdit = za;
688
- const Ft = {
689
- MainBanner: { key: "MainBanner", component: U },
690
- Banner: { key: "Banner", component: F },
691
- CardImageList: { key: "CardImageList", component: G },
692
- Stepper: { key: "Stepper", component: A },
693
- Segments: { key: "Segments", component: O },
694
- VideoFull: { key: "VideoFull", component: Y },
695
- VideoList: { key: "VideoList", component: Z },
696
- VideoListMini: { key: "VideoListMini", component: H },
697
- ContentCardList: { key: "ContentCardList", component: R },
698
- CardIconList: { key: "CardIconList", component: V },
699
- MultiCards: { key: "MultiCards", component: Q },
700
- Partners: { key: "Partners", component: W },
701
- PartnersColors: { key: "PartnersColors", component: K },
702
- WarningCard: { key: "WarningCard", component: X },
703
- Faq: { key: "Faq", component: $ },
704
- DownloadFileBanner: {
705
- key: "DownloadFileBanner",
706
- component: q
707
- },
708
- DownloadFileHalf: { key: "DownloadFileHalf", component: ae },
709
- DownloadFileFull: { key: "DownloadFileFull", component: ee },
710
- DownloadFileMini: { key: "DownloadFileMini", component: te },
711
- InstructionList: { key: "InstructionList", component: T },
712
- PreviewList: { key: "PreviewList", component: C },
713
- SwiperList: { key: "SwiperList", component: k },
714
- AnimatedSwiper: { key: "AnimatedSwiper", component: ie },
715
- InfoBannerList: { key: "InfoBannerList", component: E },
716
- TasksBannerList: { key: "TasksBannerList", component: v },
717
- VideoMainBanner: { key: "VideoMainBanner", component: be },
718
- Space: { key: "Space", component: xe },
719
- PromoPoster: { key: "PromoPoster", component: j },
720
- CardImageSecondaryList: {
721
- key: "CardImageSecondaryList",
722
- component: se
723
- },
724
- CardInfoTable: { key: "CardInfoTable", component: le },
725
- StandartTable: { key: "StandartTable", component: S },
726
- IntroBanner: { key: "IntroBanner", component: me },
727
- DownloadFileBright: {
728
- key: "DownloadFileBright",
729
- component: pe
730
- }
731
- // Header: { key: 'Header', component: Header },
732
- // Footer: { key: 'Footer', component: Footer },
733
- }, At = {
734
- MainBanner: Ne.component_props,
735
- Banner: he.component_props,
736
- CardImageList: Me.component_props,
737
- Stepper: Ie.component_props,
738
- Segments: we.component_props,
739
- VideoFull: ye.component_props,
740
- VideoList: Le.component_props,
741
- VideoListMini: Te.component_props,
742
- ContentCardList: De.component_props,
743
- CardIconList: Ce.component_props,
744
- MultiCards: Ee.component_props,
745
- Partners: je.component_props,
746
- PartnersColors: Se.component_props,
747
- WarningCard: ke.component_props,
748
- Faq: Be.component_props,
749
- DownloadFileBanner: ve.component_props,
750
- DownloadFileHalf: ze.component_props,
751
- DownloadFileFull: Pe.component_props,
752
- DownloadFileMini: _e.component_props,
753
- InstructionList: Fe.component_props,
754
- PreviewList: Ae.component_props,
755
- SwiperList: Oe.component_props,
756
- AnimatedSwiper: Ye.component_props,
757
- InfoBannerList: Ze.component_props,
758
- TasksBannerList: He.component_props,
759
- VideoMainBanner: Re.component_props,
760
- EmptyBox: Ve.component_props,
761
- PromoPoster: Qe.component_props,
762
- CardImageSecondaryList: We.component_props,
763
- CardInfoTable: Ge.component_props,
764
- StandartTable: Ue.component_props,
765
- IntroBanner: $e.component_props,
766
- DownloadFileBright: Je.component_props
767
- };
768
- export {
769
- At as A,
770
- ha as C,
771
- T as I,
772
- C as P,
773
- k as S,
774
- v as T,
775
- E as a,
776
- j as b,
777
- S as c,
778
- L as d,
779
- D as e,
780
- Ft as f,
781
- oa as g,
782
- Pt as h,
783
- ia as i,
784
- Ma as j,
785
- _t as k,
786
- B as l
787
- };