md-components-mdigial-azamat 0.0.308 → 0.0.310
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.
- package/dist/AllBlocksInfo.js +1 -1
- package/dist/AllComponents.js +1 -1
- package/dist/AllComponentsInfo.js +1 -1
- package/dist/{AllModuleData-92370dde.js → AllModuleData-b5062f11.js} +92 -90
- package/dist/ConfigProvider/index.js +1 -1
- package/dist/Header/HeaderDefault.js +1 -1
- package/dist/Header/components/VisuallyImpaired/VisuallyImpaired.js +6 -2
- package/dist/Header/info.js +1 -1
- package/dist/HeroIconsBanner/HeroIconsBanner.js +8 -7
- package/dist/ModuleBlock/ModuleBlock.js +1 -1
- package/dist/ModuleBlock/index.js +1 -1
- package/dist/ModuleBlock/info.js +1 -1
- package/dist/ModuleSettingsWidget/ModuleSettingsWidget.js +1 -1
- package/dist/Modules/AllModuleData.js +1 -1
- package/dist/Modules/Header/arm/HeaderArm.js +1 -1
- package/dist/Modules/Header/arm/Sidebar.js +1 -1
- package/dist/Modules/Header/model/blocks.js +1 -1
- package/dist/Modules/Header/model/init.js +1 -1
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/SegmentedContent/SegmentedContent.js +54 -50
- package/dist/SegmentedContent/components/ContentCard.js +23 -22
- package/dist/SegmentedContent/schema.js +12 -2
- package/dist/SegmentsIcons/SegmentsIcons.js +44 -35
- package/dist/assets/{index.c1a46dde.css → index.facb4d9e.css} +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
package/dist/AllBlocksInfo.js
CHANGED
|
@@ -33,7 +33,7 @@ import { footerInfo as H } from "./Footer/info.js";
|
|
|
33
33
|
import { footerDarkInfo as M } from "./FooterDark/info.js";
|
|
34
34
|
import { formDefaultInfo as v } from "./Forms/FormDefault/info.js";
|
|
35
35
|
import { FinanceApplicationFormInfo as R } from "./FinanceApplicationForm/info.js";
|
|
36
|
-
import { h as V } from "./AllModuleData-
|
|
36
|
+
import { h as V } from "./AllModuleData-b5062f11.js";
|
|
37
37
|
import { heroIconsBannerInfo as x } from "./HeroIconsBanner/info.js";
|
|
38
38
|
import { heroPossibilityBannerInfo as q } from "./HeroPossibilityBanner/info.js";
|
|
39
39
|
import { htmlContentInfo as G } from "./HtmlContent/info.js";
|
package/dist/AllComponents.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./data.mock-d2196f3a.js";
|
|
2
2
|
import "./ActionCardSecondaryList/ActionCardSecondaryList.js";
|
|
3
3
|
import "./CustomHtmlBlock/CustomHtmlBlock.js";
|
|
4
|
-
import { a as _m, A as $m } from "./AllModuleData-
|
|
4
|
+
import { a as _m, A as $m } from "./AllModuleData-b5062f11.js";
|
|
5
5
|
import "./ActionCardsGrid/ActionCardsGrid.js";
|
|
6
6
|
import "./AnimatedSwiper/index.js";
|
|
7
7
|
import "./Banner/Banner.js";
|
|
@@ -44,7 +44,7 @@ import { footerInfo as z } from "./Footer/info.js";
|
|
|
44
44
|
import { footerDarkInfo as E } from "./FooterDark/info.js";
|
|
45
45
|
import { formDefaultInfo as J } from "./Forms/FormDefault/info.js";
|
|
46
46
|
import { fullpageBannerInfo as K } from "./FullpageBanner/info.js";
|
|
47
|
-
import { h as N } from "./AllModuleData-
|
|
47
|
+
import { h as N } from "./AllModuleData-b5062f11.js";
|
|
48
48
|
import { headlineBannerInfo as O } from "./HeadlineBanner/info.js";
|
|
49
49
|
import { heroIconsBannerInfo as Q } from "./HeroIconsBanner/info.js";
|
|
50
50
|
import { heroPossibilityBannerInfo as U } from "./HeroPossibilityBanner/info.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useState as
|
|
1
|
+
import { useState as B, useRef as co, useEffect as $, useMemo as F, lazy as C } from "react";
|
|
2
2
|
import { initContentCardsModule as ae } from "./Modules/ContentCards/model/init.js";
|
|
3
3
|
import { initCurrencyRatesModule as ie } from "./Modules/CurrencyRates/model/init.js";
|
|
4
4
|
import { initDepositsModule as se } from "./Modules/Deposits/model/init.js";
|
|
5
5
|
import { initFooterModule as pe } from "./Modules/Footer/model/init.js";
|
|
6
6
|
import { SettingsType as me } from "./Modules/init/settings.js";
|
|
7
|
-
import { jsxs as
|
|
7
|
+
import { jsxs as w, Fragment as le, jsx as m } from "react/jsx-runtime";
|
|
8
8
|
import { c as mo } from "./cn-6a4bf187.js";
|
|
9
9
|
import { u as ce } from "./useScreenSize-c1b64c02.js";
|
|
10
10
|
import { HeaderMobile as de } from "./Header/components/HeaderMobile/HeaderMobile.js";
|
|
@@ -42,11 +42,11 @@ import { InstructionList as To } from "./InstructionList/InstructionList.js";
|
|
|
42
42
|
import { HeroPossibilityBanner as De } from "./HeroPossibilityBanner/index.js";
|
|
43
43
|
import { FeatureCardBanner as xo } from "./FeatureCardBanner/FeatureCardBanner.js";
|
|
44
44
|
import { PartnersColors as Ho } from "./PartnersColors/PartnersColors.js";
|
|
45
|
-
import { PreviewList as
|
|
45
|
+
import { PreviewList as No } from "./PreviewList/PreviewList.js";
|
|
46
46
|
import { CardImage as ge } from "./Cards/CardImage/CardImage.js";
|
|
47
47
|
import "./Cards/CardImage/info.js";
|
|
48
48
|
import { ContentCard as Le } from "./Cards/ContentCard/ContentCard.js";
|
|
49
|
-
import { WarningCard as
|
|
49
|
+
import { WarningCard as Ro } from "./Cards/WarningCard/WarningCard.js";
|
|
50
50
|
import { ColoredCard as Fe } from "./Cards/ColoredCard/index.js";
|
|
51
51
|
import { FeaturesCard as we } from "./Cards/FeaturesCard/index.js";
|
|
52
52
|
import { DownloadFileBanner as ho } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
@@ -134,16 +134,16 @@ import { Space as Tt } from "./Space/Space.js";
|
|
|
134
134
|
import { StandartTable as xt } from "./StandartTable/index.js";
|
|
135
135
|
import { SwiperList as Ht } from "./SwiperList/SwiperList.js";
|
|
136
136
|
import { TasksBanner as ve } from "./TasksBanner/TasksBanner.js";
|
|
137
|
-
import { TasksBannerList as
|
|
138
|
-
import { TiltCardsList as
|
|
137
|
+
import { TasksBannerList as Nt } from "./TasksBannerList/TasksBannerList.js";
|
|
138
|
+
import { TiltCardsList as Rt } from "./TiltCardsList/TiltCardsList.js";
|
|
139
139
|
import { TitleBlock as ht } from "./TitleBlock/TitleBlock.js";
|
|
140
140
|
import { VideoMainBanner as Mt } from "./VideoMainBanner/VideoMainBanner.js";
|
|
141
141
|
import { VideoSwiper as Et } from "./VideoSwiper/VideoSwiper.js";
|
|
142
|
-
import { buildNewsDateSortQuery as lo, fetchModuleJson as Ve, buildModuleItemUrl as Te, DEFAULT_API_BASE as xe, getModuleToken as He, mapModuleEntityToItem as
|
|
143
|
-
import { useModuleData as
|
|
142
|
+
import { buildNewsDateSortQuery as lo, fetchModuleJson as Ve, buildModuleItemUrl as Te, DEFAULT_API_BASE as xe, getModuleToken as He, mapModuleEntityToItem as Ne } from "./ModuleBlock/api.js";
|
|
143
|
+
import { useModuleData as Re } from "./ModuleBlock/useModuleData.js";
|
|
144
144
|
import { useNewsRuntime as he } from "./ModuleBlock/useNewsRuntime.js";
|
|
145
145
|
import { usePinnedNewsItems as Me } from "./ModuleBlock/usePinnedNewsItems.js";
|
|
146
|
-
import { M as Ee, B as Ke, H as ze, C as Qe, z as qe, S as Ge, b as Oe, V as je, c as We, d as Ye, e as $e, G as Je, J as Ue, K as Ze, f as Xe, g as or, L as tr, P as er, h as rr, W as nr, F as ar, k as ir, N as sr, O as pr, D as mr, l as lr, m as cr, I as dr, o as ur, p as yr, A as fr, q as Cr, T as kr, r as Dr, s as gr, E as Lr, t as Fr, u as wr, v as Br, w as Pr, x as _r, y as Sr, Q as Ir, R as br, U as Ar, X as vr, Y as Vr, Z as Tr, _ as xr, $ as Hr, a0 as
|
|
146
|
+
import { M as Ee, B as Ke, H as ze, C as Qe, z as qe, S as Ge, b as Oe, V as je, c as We, d as Ye, e as $e, G as Je, J as Ue, K as Ze, f as Xe, g as or, L as tr, P as er, h as rr, W as nr, F as ar, k as ir, N as sr, O as pr, D as mr, l as lr, m as cr, I as dr, o as ur, p as yr, A as fr, q as Cr, T as kr, r as Dr, s as gr, E as Lr, t as Fr, u as wr, v as Br, w as Pr, x as _r, y as Sr, Q as Ir, R as br, U as Ar, X as vr, Y as Vr, Z as Tr, _ as xr, $ as Hr, a0 as Nr, a1 as Rr, a2 as hr, a3 as Mr, a4 as Er, a5 as Kr, a6 as zr, a7 as Qr, a8 as qr, a9 as Gr, aa as Or, ab as jr, ac as Wr, ad as Yr, ae as $r, af as Jr, ag as Ur, ah as Zr, ai as Xr, aj as on, ak as tn, al as en, am as rn, an as nn, ao as an } from "./data.mock-d2196f3a.js";
|
|
147
147
|
import "react-dom";
|
|
148
148
|
import "./modalLayoutContext-cca98682.js";
|
|
149
149
|
import "./ActionCard/info.js";
|
|
@@ -302,20 +302,20 @@ const dn = {
|
|
|
302
302
|
logo: k,
|
|
303
303
|
logo_link: c,
|
|
304
304
|
right_action_image: s,
|
|
305
|
-
right_action_image_scrolled:
|
|
306
|
-
right_action_text:
|
|
305
|
+
right_action_image_scrolled: N,
|
|
306
|
+
right_action_text: R,
|
|
307
307
|
right_action_link: h,
|
|
308
|
-
phone:
|
|
308
|
+
phone: P,
|
|
309
309
|
locale: d,
|
|
310
310
|
darkTheme: u,
|
|
311
311
|
className: M,
|
|
312
|
-
onChangeLanguage:
|
|
312
|
+
onChangeLanguage: _,
|
|
313
313
|
sections: y,
|
|
314
314
|
is_floating: a,
|
|
315
|
-
is_dark_glass:
|
|
316
|
-
is_preview:
|
|
315
|
+
is_dark_glass: S,
|
|
316
|
+
is_preview: I
|
|
317
317
|
}) => {
|
|
318
|
-
const
|
|
318
|
+
const b = ce(960), [E, A] = B(!1), [D, v] = B(!1), V = co(!1), [q, G] = B(!1), l = (Array.isArray(y) ? y : y ? [y] : []).map((t) => ({
|
|
319
319
|
...t,
|
|
320
320
|
type: (t == null ? void 0 : t.type) === "dropdown" ? "category" : "link",
|
|
321
321
|
is_left: (t == null ? void 0 : t.is_left) === !0 || (t == null ? void 0 : t.is_left) === "true",
|
|
@@ -328,50 +328,52 @@ const dn = {
|
|
|
328
328
|
}
|
|
329
329
|
let t = null;
|
|
330
330
|
const K = () => {
|
|
331
|
-
const e =
|
|
331
|
+
const e = b ? 24 : window.innerHeight * 0.7, T = window.scrollY >= e;
|
|
332
332
|
V.current !== T && (V.current = T, v(T));
|
|
333
|
-
},
|
|
333
|
+
}, g = () => {
|
|
334
334
|
t === null && (t = window.requestAnimationFrame(() => {
|
|
335
335
|
t = null, K();
|
|
336
336
|
}));
|
|
337
337
|
};
|
|
338
|
-
return K(), window.addEventListener("scroll",
|
|
338
|
+
return K(), window.addEventListener("scroll", g, {
|
|
339
339
|
passive: !0
|
|
340
|
-
}), window.addEventListener("resize",
|
|
341
|
-
t !== null && window.cancelAnimationFrame(t), window.removeEventListener("scroll",
|
|
340
|
+
}), window.addEventListener("resize", g), () => {
|
|
341
|
+
t !== null && window.cancelAnimationFrame(t), window.removeEventListener("scroll", g), window.removeEventListener("resize", g);
|
|
342
342
|
};
|
|
343
|
-
}, [a,
|
|
344
|
-
|
|
343
|
+
}, [a, b]), /* @__PURE__ */ w(le, { children: [
|
|
344
|
+
/* @__PURE__ */ m("div", { className: "hidden max-tablet:block", children: /* @__PURE__ */ m(
|
|
345
345
|
de,
|
|
346
346
|
{
|
|
347
347
|
logo: k,
|
|
348
348
|
logo_link: c,
|
|
349
349
|
right_action_image: s,
|
|
350
|
-
right_action_image_scrolled:
|
|
351
|
-
right_action_text:
|
|
350
|
+
right_action_image_scrolled: N,
|
|
351
|
+
right_action_text: R,
|
|
352
352
|
right_action_link: h,
|
|
353
|
-
phone:
|
|
353
|
+
phone: P,
|
|
354
354
|
locale: d,
|
|
355
|
-
onChangeLanguage:
|
|
355
|
+
onChangeLanguage: _,
|
|
356
356
|
sections: l,
|
|
357
357
|
darkTheme: u,
|
|
358
|
-
className: mo(
|
|
358
|
+
className: mo(I ? "relative z-auto" : "fixed z-[9999]"),
|
|
359
359
|
is_floating: a,
|
|
360
|
-
is_dark_glass:
|
|
361
|
-
is_floating_scrolled:
|
|
360
|
+
is_dark_glass: S,
|
|
361
|
+
is_floating_scrolled: D,
|
|
362
362
|
onToggleVisuallyImpaired: () => A((t) => !t)
|
|
363
363
|
}
|
|
364
|
-
)
|
|
364
|
+
) }),
|
|
365
|
+
/* @__PURE__ */ m(
|
|
365
366
|
"div",
|
|
366
367
|
{
|
|
367
368
|
"data-header-floating": a ? "true" : void 0,
|
|
368
369
|
className: mo(
|
|
370
|
+
"max-tablet:hidden",
|
|
369
371
|
"fixed left-0 right-0 z-[9999] flex items-center justify-center transition-[background-color,box-shadow] duration-300 ease-in-out",
|
|
370
372
|
!a && "top-0 h-[70px] w-full py-[9px]",
|
|
371
373
|
!a && !u && "shadow-[0_1px_0_rgba(224,229,232,0.7)]",
|
|
372
|
-
!a && (u && !
|
|
374
|
+
!a && (u && !D && !q ? "bg-[#222529]" : "bg-white"),
|
|
373
375
|
a && "top-[20px] h-[76px] px-10",
|
|
374
|
-
|
|
376
|
+
I && "relative left-auto right-auto top-auto z-auto",
|
|
375
377
|
M
|
|
376
378
|
),
|
|
377
379
|
children: /* @__PURE__ */ m(
|
|
@@ -380,17 +382,17 @@ const dn = {
|
|
|
380
382
|
logo: k,
|
|
381
383
|
logo_link: c,
|
|
382
384
|
right_action_image: s,
|
|
383
|
-
right_action_image_scrolled:
|
|
384
|
-
right_action_text:
|
|
385
|
+
right_action_image_scrolled: N,
|
|
386
|
+
right_action_text: R,
|
|
385
387
|
right_action_link: h,
|
|
386
|
-
phone:
|
|
388
|
+
phone: P,
|
|
387
389
|
locale: d,
|
|
388
|
-
onChangeLanguage:
|
|
390
|
+
onChangeLanguage: _,
|
|
389
391
|
sections: l,
|
|
390
392
|
darkTheme: u,
|
|
391
393
|
is_floating: a,
|
|
392
|
-
is_dark_glass:
|
|
393
|
-
is_floating_scrolled:
|
|
394
|
+
is_dark_glass: S,
|
|
395
|
+
is_floating_scrolled: D,
|
|
394
396
|
onDropdownOpenChange: G,
|
|
395
397
|
onToggleVisuallyImpaired: () => A((t) => !t)
|
|
396
398
|
}
|
|
@@ -442,22 +444,22 @@ const un = ["module_id"], om = {
|
|
|
442
444
|
title: k,
|
|
443
445
|
description: c,
|
|
444
446
|
module_id: s,
|
|
445
|
-
cardKey:
|
|
446
|
-
detailKey:
|
|
447
|
+
cardKey: N,
|
|
448
|
+
detailKey: R,
|
|
447
449
|
variantKey: h,
|
|
448
|
-
viewMode:
|
|
450
|
+
viewMode: P,
|
|
449
451
|
detailItemId: d,
|
|
450
452
|
display_mode: u,
|
|
451
453
|
display_columns: M,
|
|
452
|
-
display_autoplay:
|
|
454
|
+
display_autoplay: _,
|
|
453
455
|
display_loop: y,
|
|
454
456
|
display_page_size: a,
|
|
455
|
-
display_auto_load:
|
|
456
|
-
sort_by:
|
|
457
|
-
sort_order:
|
|
457
|
+
display_auto_load: S,
|
|
458
|
+
sort_by: I,
|
|
459
|
+
sort_order: b,
|
|
458
460
|
filter_code: E,
|
|
459
461
|
initial_filter_value: A,
|
|
460
|
-
filter_mode:
|
|
462
|
+
filter_mode: D,
|
|
461
463
|
pinned_category_value: v,
|
|
462
464
|
visible_category_values: V,
|
|
463
465
|
all_link: q,
|
|
@@ -465,7 +467,7 @@ const un = ["module_id"], om = {
|
|
|
465
467
|
apiBaseUrl: l,
|
|
466
468
|
authToken: t,
|
|
467
469
|
locale: K,
|
|
468
|
-
currentLanguage:
|
|
470
|
+
currentLanguage: g,
|
|
469
471
|
prefetchedModule: e,
|
|
470
472
|
prefetchedItems: T,
|
|
471
473
|
prefetchedHasMore: Qt,
|
|
@@ -475,9 +477,9 @@ const un = ["module_id"], om = {
|
|
|
475
477
|
prefetchedPinnedHasMore: Ot
|
|
476
478
|
}) => {
|
|
477
479
|
var po;
|
|
478
|
-
const f =
|
|
480
|
+
const f = g ?? K ?? "ru", jt = `component_props_${f}`, [Wt, z] = B(null), [Yt, j] = B(!1), [x, $t] = B(() => ({
|
|
479
481
|
responseQuery: yn({
|
|
480
|
-
filterMode:
|
|
482
|
+
filterMode: D,
|
|
481
483
|
filterCode: E,
|
|
482
484
|
pinnedCategoryValue: v
|
|
483
485
|
}),
|
|
@@ -486,7 +488,7 @@ const un = ["module_id"], om = {
|
|
|
486
488
|
// после первого useEffect'а ниже.
|
|
487
489
|
fetchFilters: (e == null ? void 0 : e.key) === "News",
|
|
488
490
|
deferResponseFetch: !1
|
|
489
|
-
})), W =
|
|
491
|
+
})), W = F(() => a ?? ((e == null ? void 0 : e.key) === "News" ? 6 : a), [a, e == null ? void 0 : e.key]), Jt = F(() => {
|
|
490
492
|
const n = (e == null ? void 0 : e.key) === "News" ? { ...x.responseQuery, ...lo() } : x.responseQuery;
|
|
491
493
|
return !W || n.page_size != null ? n : { ...n, page_size: W };
|
|
492
494
|
}, [
|
|
@@ -504,7 +506,7 @@ const un = ["module_id"], om = {
|
|
|
504
506
|
hasMore: eo,
|
|
505
507
|
isFetchingNextPage: ro,
|
|
506
508
|
fetchNextPage: no
|
|
507
|
-
} =
|
|
509
|
+
} = Re(
|
|
508
510
|
s,
|
|
509
511
|
l,
|
|
510
512
|
t,
|
|
@@ -526,13 +528,13 @@ const un = ["module_id"], om = {
|
|
|
526
528
|
blockProps: {
|
|
527
529
|
filter_code: E,
|
|
528
530
|
initial_filter_value: A,
|
|
529
|
-
filter_mode:
|
|
531
|
+
filter_mode: D,
|
|
530
532
|
pinned_category_value: v,
|
|
531
533
|
visible_category_values: V,
|
|
532
534
|
all_link: q,
|
|
533
535
|
all_link_text: G
|
|
534
536
|
}
|
|
535
|
-
}), H =
|
|
537
|
+
}), H = F(() => a ?? (((e == null ? void 0 : e.key) ?? (r == null ? void 0 : r.key)) === "News" ? 6 : a), [a, r == null ? void 0 : r.key, e == null ? void 0 : e.key]), Xt = F(() => {
|
|
536
538
|
const n = o.config.filterCode, Y = o.config.pinnedCategoryValue;
|
|
537
539
|
return o.config.filterMode !== "advanced" || !n || !Y ? zt : {
|
|
538
540
|
[`filter__${n}`]: Y,
|
|
@@ -544,7 +546,7 @@ const un = ["module_id"], om = {
|
|
|
544
546
|
o.config.filterMode,
|
|
545
547
|
o.config.pinnedCategoryValue,
|
|
546
548
|
H
|
|
547
|
-
]),
|
|
549
|
+
]), L = Me(
|
|
548
550
|
s,
|
|
549
551
|
l,
|
|
550
552
|
t,
|
|
@@ -555,7 +557,7 @@ const un = ["module_id"], om = {
|
|
|
555
557
|
enabled: o.isNewsModule && o.config.filterMode === "advanced" && !!o.config.filterCode && !!o.config.pinnedCategoryValue,
|
|
556
558
|
locale: f
|
|
557
559
|
}
|
|
558
|
-
), ao = (r == null ? void 0 : r.key) === "News" &&
|
|
560
|
+
), ao = (r == null ? void 0 : r.key) === "News" && P === "detail" && d != null && O == null;
|
|
559
561
|
$(() => {
|
|
560
562
|
if (!ao) {
|
|
561
563
|
z(null), j(!1);
|
|
@@ -570,7 +572,7 @@ const un = ["module_id"], om = {
|
|
|
570
572
|
He(t, l),
|
|
571
573
|
f
|
|
572
574
|
);
|
|
573
|
-
n || z(
|
|
575
|
+
n || z(Ne(ne));
|
|
574
576
|
} catch {
|
|
575
577
|
n || z(null);
|
|
576
578
|
} finally {
|
|
@@ -604,38 +606,38 @@ const un = ["module_id"], om = {
|
|
|
604
606
|
o.isNewsModule,
|
|
605
607
|
o.shouldDeferResponseFetch
|
|
606
608
|
]);
|
|
607
|
-
const oe =
|
|
609
|
+
const oe = F(
|
|
608
610
|
() => ({
|
|
609
611
|
displayMode: u,
|
|
610
612
|
columns: M,
|
|
611
|
-
autoplay:
|
|
613
|
+
autoplay: _,
|
|
612
614
|
loop: y,
|
|
613
615
|
pageSize: H,
|
|
614
|
-
autoLoad:
|
|
616
|
+
autoLoad: S
|
|
615
617
|
}),
|
|
616
618
|
[
|
|
617
619
|
u,
|
|
618
620
|
M,
|
|
619
|
-
|
|
621
|
+
_,
|
|
620
622
|
y,
|
|
621
623
|
H,
|
|
622
|
-
|
|
624
|
+
S
|
|
623
625
|
]
|
|
624
|
-
), te =
|
|
625
|
-
sortBy:
|
|
626
|
-
sortOrder:
|
|
627
|
-
}, [r == null ? void 0 : r.key, e == null ? void 0 : e.key,
|
|
626
|
+
), te = F(() => ((e == null ? void 0 : e.key) ?? (r == null ? void 0 : r.key)) === "News" ? {} : {
|
|
627
|
+
sortBy: I,
|
|
628
|
+
sortOrder: b
|
|
629
|
+
}, [r == null ? void 0 : r.key, e == null ? void 0 : e.key, I, b]);
|
|
628
630
|
if (!s)
|
|
629
|
-
return /* @__PURE__ */
|
|
631
|
+
return /* @__PURE__ */ w("div", { className: "flex flex-col items-center justify-center p-10 border-2 border-dashed border-gray-300 rounded-lg bg-gray-50 text-gray-500", children: [
|
|
630
632
|
/* @__PURE__ */ m("div", { className: "text-xl font-bold mb-2", children: "Модуль" }),
|
|
631
633
|
/* @__PURE__ */ m("p", { children: "Выберите модуль из настроек" })
|
|
632
634
|
] });
|
|
633
635
|
if (!r && Zt)
|
|
634
636
|
return /* @__PURE__ */ m("div", { className: "flex items-center justify-center p-10 text-gray-400", children: "Загрузка модуля..." });
|
|
635
637
|
if (!r)
|
|
636
|
-
return /* @__PURE__ */
|
|
638
|
+
return /* @__PURE__ */ w("div", { className: "flex flex-col items-center justify-center p-10 border-2 border-dashed border-red-300 rounded-lg bg-red-50 text-red-500", children: [
|
|
637
639
|
/* @__PURE__ */ m("div", { className: "text-xl font-bold mb-2", children: "Модуль не найден" }),
|
|
638
|
-
/* @__PURE__ */
|
|
640
|
+
/* @__PURE__ */ w("p", { children: [
|
|
639
641
|
"Модуль с ID ",
|
|
640
642
|
s,
|
|
641
643
|
" не найден или был удален"
|
|
@@ -643,8 +645,8 @@ const un = ["module_id"], om = {
|
|
|
643
645
|
] });
|
|
644
646
|
const so = fn[r.key];
|
|
645
647
|
if (!so)
|
|
646
|
-
return /* @__PURE__ */
|
|
647
|
-
/* @__PURE__ */
|
|
648
|
+
return /* @__PURE__ */ w("div", { className: "flex flex-col items-center justify-center p-10 border-2 border-dashed border-yellow-300 rounded-lg bg-yellow-50 text-yellow-600", children: [
|
|
649
|
+
/* @__PURE__ */ w("div", { className: "text-xl font-bold mb-2", children: [
|
|
648
650
|
"Компонент «",
|
|
649
651
|
r.key,
|
|
650
652
|
"» не найден"
|
|
@@ -686,12 +688,12 @@ const un = ["module_id"], om = {
|
|
|
686
688
|
hasMore: eo,
|
|
687
689
|
onLoadMore: no,
|
|
688
690
|
isLoadingMore: ro,
|
|
689
|
-
pinnedItems:
|
|
690
|
-
pinnedHasMore:
|
|
691
|
-
onPinnedLoadMore:
|
|
692
|
-
isPinnedInitialLoading:
|
|
693
|
-
isPinnedLoadingMore:
|
|
694
|
-
hasPinnedItemsError:
|
|
691
|
+
pinnedItems: L.items,
|
|
692
|
+
pinnedHasMore: L.hasMore,
|
|
693
|
+
onPinnedLoadMore: L.loadMore,
|
|
694
|
+
isPinnedInitialLoading: L.isInitialLoading,
|
|
695
|
+
isPinnedLoadingMore: L.isLoadingMore,
|
|
696
|
+
hasPinnedItemsError: L.hasError
|
|
695
697
|
} : {};
|
|
696
698
|
return /* @__PURE__ */ m(
|
|
697
699
|
so,
|
|
@@ -699,10 +701,10 @@ const un = ["module_id"], om = {
|
|
|
699
701
|
...p,
|
|
700
702
|
title: k,
|
|
701
703
|
description: c,
|
|
702
|
-
cardKey:
|
|
703
|
-
detailKey:
|
|
704
|
+
cardKey: N ?? p.cardKey,
|
|
705
|
+
detailKey: R ?? p.detailKey,
|
|
704
706
|
variantKey: h ?? p.variantKey,
|
|
705
|
-
viewMode:
|
|
707
|
+
viewMode: P,
|
|
706
708
|
detailItemId: d,
|
|
707
709
|
items: Ut,
|
|
708
710
|
moduleId: s,
|
|
@@ -742,7 +744,7 @@ const fn = {
|
|
|
742
744
|
Partners: Io,
|
|
743
745
|
PartnersColors: Ho,
|
|
744
746
|
MainBanner: vo,
|
|
745
|
-
WarningCard:
|
|
747
|
+
WarningCard: Ro,
|
|
746
748
|
Faq: Vo,
|
|
747
749
|
DownloadFileBanner: ho,
|
|
748
750
|
DownloadBrandLogos: Eo,
|
|
@@ -751,11 +753,11 @@ const fn = {
|
|
|
751
753
|
DownloadFileFull: Ko,
|
|
752
754
|
DownloadFileMini: Qo,
|
|
753
755
|
InstructionList: To,
|
|
754
|
-
PreviewList:
|
|
756
|
+
PreviewList: No,
|
|
755
757
|
SwiperList: Ht,
|
|
756
758
|
AnimatedSwiper: Wo,
|
|
757
759
|
InfoBannerList: it,
|
|
758
|
-
TasksBannerList:
|
|
760
|
+
TasksBannerList: Nt,
|
|
759
761
|
VideoMainBanner: Mt,
|
|
760
762
|
FullpageBanner: qo,
|
|
761
763
|
Space: Tt,
|
|
@@ -789,7 +791,7 @@ const fn = {
|
|
|
789
791
|
ProductCardDetail: Co,
|
|
790
792
|
InfoBanner: Se,
|
|
791
793
|
InfoCardList: st,
|
|
792
|
-
TiltCardsList:
|
|
794
|
+
TiltCardsList: Rt,
|
|
793
795
|
TasksBanner: ve,
|
|
794
796
|
SliderCardList: vt,
|
|
795
797
|
CardImageSecondary: Be,
|
|
@@ -843,7 +845,7 @@ const fn = {
|
|
|
843
845
|
SolutionCards: { key: "SolutionCards", component: Ce },
|
|
844
846
|
Partners: { key: "Partners", component: Io },
|
|
845
847
|
PartnersColors: { key: "PartnersColors", component: Ho },
|
|
846
|
-
WarningCard: { key: "WarningCard", component:
|
|
848
|
+
WarningCard: { key: "WarningCard", component: Ro },
|
|
847
849
|
Faq: { key: "Faq", component: Vo },
|
|
848
850
|
DownloadFileBanner: {
|
|
849
851
|
key: "DownloadFileBanner",
|
|
@@ -861,11 +863,11 @@ const fn = {
|
|
|
861
863
|
DownloadFileFull: { key: "DownloadFileFull", component: Ko },
|
|
862
864
|
DownloadFileMini: { key: "DownloadFileMini", component: Qo },
|
|
863
865
|
InstructionList: { key: "InstructionList", component: To },
|
|
864
|
-
PreviewList: { key: "PreviewList", component:
|
|
866
|
+
PreviewList: { key: "PreviewList", component: No },
|
|
865
867
|
SwiperList: { key: "SwiperList", component: Ht },
|
|
866
868
|
AnimatedSwiper: { key: "AnimatedSwiper", component: Wo },
|
|
867
869
|
InfoBannerList: { key: "InfoBannerList", component: it },
|
|
868
|
-
TasksBannerList: { key: "TasksBannerList", component:
|
|
870
|
+
TasksBannerList: { key: "TasksBannerList", component: Nt },
|
|
869
871
|
VideoMainBanner: { key: "VideoMainBanner", component: Mt },
|
|
870
872
|
FullpageBanner: { key: "FullpageBanner", component: qo },
|
|
871
873
|
Space: { key: "Space", component: Tt },
|
|
@@ -923,7 +925,7 @@ const fn = {
|
|
|
923
925
|
SegmentedContent: { key: "SegmentedContent", component: bt },
|
|
924
926
|
SocialLinks: { key: "SocialLinks", component: Vt },
|
|
925
927
|
InfoCardList: { key: "InfoCardList", component: st },
|
|
926
|
-
TiltCardsList: { key: "TiltCardsList", component:
|
|
928
|
+
TiltCardsList: { key: "TiltCardsList", component: Rt },
|
|
927
929
|
Products: { key: "Products", component: lt },
|
|
928
930
|
News: { key: "News", component: mt },
|
|
929
931
|
CurrencyRatesModule: { key: "CurrencyRatesModule", component: Ct },
|
|
@@ -997,8 +999,8 @@ const fn = {
|
|
|
997
999
|
ProductFeatures: Tr.component_props,
|
|
998
1000
|
ProductGallery: xr.component_props,
|
|
999
1001
|
ProductActions: Hr.component_props,
|
|
1000
|
-
ProductRelated:
|
|
1001
|
-
ProductCardDetail:
|
|
1002
|
+
ProductRelated: Nr.component_props,
|
|
1003
|
+
ProductCardDetail: Rr.component_props,
|
|
1002
1004
|
ActionCardSecondaryList: hr.component_props,
|
|
1003
1005
|
ActionCardsGrid: Mr.component_props,
|
|
1004
1006
|
ButtonsList: Er.component_props,
|
|
@@ -5,7 +5,7 @@ import "../useScreenSize-c1b64c02.js";
|
|
|
5
5
|
import "./components/HeaderMobile/HeaderMobile.js";
|
|
6
6
|
import "./components/HeaderWeb/HeaderWeb.js";
|
|
7
7
|
import "./components/VisuallyImpaired/VisuallyImpaired.js";
|
|
8
|
-
import { H as d } from "../AllModuleData-
|
|
8
|
+
import { H as d } from "../AllModuleData-b5062f11.js";
|
|
9
9
|
export {
|
|
10
10
|
d as Header
|
|
11
11
|
};
|
|
@@ -317,8 +317,12 @@ const R = ({
|
|
|
317
317
|
className: s(
|
|
318
318
|
"fixed right-[-100%] top-1/2 z-[10041] flex max-h-[80vh] w-[560px] -translate-y-1/2 flex-col rounded-[24px] bg-white shadow-[0_4px_12px_rgba(0,0,0,0.15)] transition-all duration-500",
|
|
319
319
|
n && "right-[44px]",
|
|
320
|
-
|
|
321
|
-
|
|
320
|
+
// На мобилке прячем через translateY(100%) от собственной высоты
|
|
321
|
+
// (тоже 100dvh), а не bottom:-100% в % вьюпорта — иначе при анимации
|
|
322
|
+
// адресной строки bottom(%) и height(dvh) рассинхронятся и модалка
|
|
323
|
+
// на миг вылезает снизу.
|
|
324
|
+
"max-tablet:top-auto max-tablet:bottom-0 max-tablet:right-0 max-tablet:h-[100dvh] max-tablet:max-h-[100dvh] max-tablet:w-full max-tablet:translate-y-full max-tablet:rounded-none",
|
|
325
|
+
n && "max-tablet:translate-y-0 max-tablet:right-0"
|
|
322
326
|
),
|
|
323
327
|
children: [
|
|
324
328
|
/* @__PURE__ */ l("div", { className: "relative flex items-center gap-3 px-8 py-5 max-md:px-4 max-md:py-4", children: [
|
package/dist/Header/info.js
CHANGED
|
@@ -2,7 +2,7 @@ import "../ConfigProvider/index.js";
|
|
|
2
2
|
import "../Banner/Banner.js";
|
|
3
3
|
import "../BannerAndText/index.js";
|
|
4
4
|
import "../HeadlineBanner/HeadlineBanner.js";
|
|
5
|
-
import { h as Xt, i as Yt } from "../AllModuleData-
|
|
5
|
+
import { h as Xt, i as Yt } from "../AllModuleData-b5062f11.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "../ProductCard/ProductCard/ProductCard.js";
|
|
8
8
|
import "../ProductCard/ProductCardDetail/ProductCardDetail.js";
|
|
@@ -9,9 +9,9 @@ import { S as C } from "../SafeHtml-c00e29eb.js";
|
|
|
9
9
|
import { c as h } from "../cn-6a4bf187.js";
|
|
10
10
|
import { HeroIconsBannerArrows as F } from "./HeroIconsBannerArrows.js";
|
|
11
11
|
import { HeroIconsBannerIndicator as H } from "./HeroIconsBannerIndicator.js";
|
|
12
|
-
import { propsToEdit as
|
|
13
|
-
import { useHeroIconsBanner as
|
|
14
|
-
import '../assets/HeroIconsBanner.15c9ffb1.css';const p = _(j),
|
|
12
|
+
import { propsToEdit as L } from "./schema.js";
|
|
13
|
+
import { useHeroIconsBanner as z } from "./useHeroIconsBanner.js";
|
|
14
|
+
import '../assets/HeroIconsBanner.15c9ffb1.css';const p = _(j), D = ({
|
|
15
15
|
autoplay_delay_seconds: f,
|
|
16
16
|
icon_list: s,
|
|
17
17
|
slides: u
|
|
@@ -29,7 +29,7 @@ import '../assets/HeroIconsBanner.15c9ffb1.css';const p = _(j), L = ({
|
|
|
29
29
|
setActiveSlideIndex: N,
|
|
30
30
|
slideChangeDelay: y,
|
|
31
31
|
visibleBackgroundIndexes: w
|
|
32
|
-
} =
|
|
32
|
+
} = z({
|
|
33
33
|
autoplay_delay_seconds: f,
|
|
34
34
|
slides: u
|
|
35
35
|
});
|
|
@@ -66,7 +66,8 @@ import '../assets/HeroIconsBanner.15c9ffb1.css';const p = _(j), L = ({
|
|
|
66
66
|
className: "absolute inset-0 h-full w-full",
|
|
67
67
|
imageStyles: "h-full w-full object-cover object-center",
|
|
68
68
|
loading: a === 0 ? "eager" : "lazy",
|
|
69
|
-
fetchPriority: a === 0 ? "high" : "auto"
|
|
69
|
+
fetchPriority: a === 0 ? "high" : "auto",
|
|
70
|
+
disableLoadingEffect: !0
|
|
70
71
|
}
|
|
71
72
|
)
|
|
72
73
|
},
|
|
@@ -158,7 +159,7 @@ import '../assets/HeroIconsBanner.15c9ffb1.css';const p = _(j), L = ({
|
|
|
158
159
|
/* @__PURE__ */ e("div", { className: "mt-8 hidden w-full justify-center max-tablet:flex", children: /* @__PURE__ */ e(p, { items: s }) })
|
|
159
160
|
] });
|
|
160
161
|
};
|
|
161
|
-
|
|
162
|
+
D.propsToEdit = L;
|
|
162
163
|
export {
|
|
163
|
-
|
|
164
|
+
D as HeroIconsBanner
|
|
164
165
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { M as l, m as s, p as a } from "../AllModuleData-
|
|
3
|
+
import { M as l, m as s, p as a } from "../AllModuleData-b5062f11.js";
|
|
4
4
|
import "./api.js";
|
|
5
5
|
import "./useModuleData.js";
|
|
6
6
|
import "./useNewsRuntime.js";
|
package/dist/ModuleBlock/info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as o } from "../index-0a5f313c.js";
|
|
2
|
-
import { p as t } from "../AllModuleData-
|
|
2
|
+
import { p as t } from "../AllModuleData-b5062f11.js";
|
|
3
3
|
const e = {
|
|
4
4
|
title: "Модуль",
|
|
5
5
|
description: "Контейнер для отображения существующих модулей. Поддерживает различные режимы отображения (сетка, карусель, подгрузка), сортировку и настройку количества элементов.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as d, jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import { useState as N, useCallback as h, useMemo as f } from "react";
|
|
3
|
-
import { b as m, d as O } from "../AllModuleData-
|
|
3
|
+
import { b as m, d as O } from "../AllModuleData-b5062f11.js";
|
|
4
4
|
import { SettingsType as u } from "../Modules/init/settings.js";
|
|
5
5
|
import { c as k } from "../cn-6a4bf187.js";
|
|
6
6
|
import { ConfigOutput as S } from "./components/ConfigOutput.js";
|
|
@@ -3,7 +3,7 @@ import "./ContentCards/model/init.js";
|
|
|
3
3
|
import "./CurrencyRates/model/init.js";
|
|
4
4
|
import "./Deposits/model/init.js";
|
|
5
5
|
import "./Footer/model/init.js";
|
|
6
|
-
import { b as s, c as d, d as u } from "../AllModuleData-
|
|
6
|
+
import { b as s, c as d, d as u } from "../AllModuleData-b5062f11.js";
|
|
7
7
|
import "./News/model/init.js";
|
|
8
8
|
import "./Products/model/init.js";
|
|
9
9
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as p, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as _, useEffect as z, useCallback as m } from "react";
|
|
3
3
|
import { c as J } from "../../../cn-6a4bf187.js";
|
|
4
|
-
import { e as u, g as L } from "../../../AllModuleData-
|
|
4
|
+
import { e as u, g as L } from "../../../AllModuleData-b5062f11.js";
|
|
5
5
|
import { AppearanceTab as Q } from "./AppearanceTab.js";
|
|
6
6
|
import { GeneralTab as S } from "./GeneralTab.js";
|
|
7
7
|
import { SectionsTab as V } from "./SectionsTab.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import { c as a } from "../../../cn-6a4bf187.js";
|
|
3
|
-
import { e as y } from "../../../AllModuleData-
|
|
3
|
+
import { e as y } from "../../../AllModuleData-b5062f11.js";
|
|
4
4
|
const g = [
|
|
5
5
|
{ key: "general", label: "Основные", icon: "⚙" },
|
|
6
6
|
{ key: "sections", label: "Секции", icon: "☰" },
|