md-components-mdigial-azamat 0.0.340 → 0.0.342
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 +2 -2
- package/dist/AllComponentsInfo.js +1 -1
- package/dist/{AllModuleData-ec67650d.js → AllModuleData-1c578b76.js} +60 -58
- package/dist/Atoms/AtomButton/AtomButton.js +1 -1
- package/dist/Atoms/AtomIcon/AtomIcon.js +1 -1
- package/dist/Atoms/AtomImage/AtomImage.js +13 -10
- package/dist/Atoms/AtomText/AtomText.js +1 -1
- package/dist/Header/HeaderDefault.js +1 -1
- package/dist/Header/info.js +2 -2
- package/dist/Layout/LayoutBox/LayoutBox.js +2 -2
- package/dist/Layout/LayoutBox/index.js +1 -1
- package/dist/Layout/LayoutGrid/LayoutGrid.js +2 -2
- package/dist/Layout/LayoutGrid/index.js +1 -1
- package/dist/Layout/LayoutSlider/LayoutSlider.js +2 -2
- package/dist/Layout/LayoutSlider/LiveSlider.js +2 -2
- package/dist/Layout/LayoutSlider/SliderTrack.js +1 -1
- package/dist/Layout/LayoutSlider/index.js +1 -1
- package/dist/Layout/LayoutSpacer/LayoutSpacer.js +1 -1
- package/dist/Layout/LayoutStack/LayoutStack.js +2 -2
- package/dist/Layout/LayoutStack/index.js +1 -1
- package/dist/{LayoutContext-30c85540.js → LayoutContext-fb733f34.js} +65 -56
- 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/Segments/Segments.js +1 -1
- package/dist/main.js +2 -2
- package/package.json +1 -1
package/dist/AllBlocksInfo.js
CHANGED
|
@@ -34,7 +34,7 @@ import { footerInfo as M } from "./Footer/info.js";
|
|
|
34
34
|
import { footerDarkInfo as v } from "./FooterDark/info.js";
|
|
35
35
|
import { formDefaultInfo as R } from "./Forms/FormDefault/info.js";
|
|
36
36
|
import { groupedTableInfo as V } from "./GroupedTable/info.js";
|
|
37
|
-
import { h as x } from "./AllModuleData-
|
|
37
|
+
import { h as x } from "./AllModuleData-1c578b76.js";
|
|
38
38
|
import { heroIconsBannerInfo as G } from "./HeroIconsBanner/info.js";
|
|
39
39
|
import { heroPossibilityBannerInfo as q } from "./HeroPossibilityBanner/info.js";
|
|
40
40
|
import { htmlContentInfo as $ } from "./HtmlContent/info.js";
|
package/dist/AllComponents.js
CHANGED
|
@@ -57,7 +57,7 @@ import "./InfoBannerList/InfoBannerList.js";
|
|
|
57
57
|
import "./InfoCardList/InfoCardList.js";
|
|
58
58
|
import "./InfoCardList/schema.js";
|
|
59
59
|
import "./IntroBanner/IntroBanner.js";
|
|
60
|
-
import { b as vp, A as wp } from "./AllModuleData-
|
|
60
|
+
import { b as vp, A as wp } from "./AllModuleData-1c578b76.js";
|
|
61
61
|
import "./Layout/LayoutBox/info.js";
|
|
62
62
|
import "./Layout/LayoutBox/schema.js";
|
|
63
63
|
import "./Layout/LayoutGrid/info.js";
|
|
@@ -235,7 +235,7 @@ import "./Modules/News/arm/NewsArm.js";
|
|
|
235
235
|
import "./Modules/Deposits/arm/DepositArm.js";
|
|
236
236
|
import "./Modules/ContentCards/arm/ContentCardArm.js";
|
|
237
237
|
import "./Modules/CurrencyRates/arm/CurrencyRatesArm.js";
|
|
238
|
-
import "./LayoutContext-
|
|
238
|
+
import "./LayoutContext-fb733f34.js";
|
|
239
239
|
export {
|
|
240
240
|
vp as AllComponents,
|
|
241
241
|
wp as AllComponentsData
|
|
@@ -49,7 +49,7 @@ import { footerDarkInfo as O } from "./FooterDark/info.js";
|
|
|
49
49
|
import { formDefaultInfo as Q } from "./Forms/FormDefault/info.js";
|
|
50
50
|
import { fullpageBannerInfo as U } from "./FullpageBanner/info.js";
|
|
51
51
|
import { groupedTableInfo as X } from "./GroupedTable/info.js";
|
|
52
|
-
import { h as Y } from "./AllModuleData-
|
|
52
|
+
import { h as Y } from "./AllModuleData-1c578b76.js";
|
|
53
53
|
import { headlineBannerInfo as Z } from "./HeadlineBanner/info.js";
|
|
54
54
|
import { heroIconsBannerInfo as _ } from "./HeroIconsBanner/info.js";
|
|
55
55
|
import { heroPossibilityBannerInfo as oo } from "./HeroPossibilityBanner/info.js";
|
|
@@ -72,7 +72,7 @@ import "./InstructionList/components/InstructionCard/InstructionCard.js";
|
|
|
72
72
|
import "./PreviewList/components/PreviewCard/PreviewCard.js";
|
|
73
73
|
import { FullpageBanner as Ct } from "./FullpageBanner/FullpageBanner.js";
|
|
74
74
|
import { GroupedTable as gt } from "./GroupedTable/GroupedTable.js";
|
|
75
|
-
import { r as g, t as k, B as ir, a as j, L as sr, d as mr, e as eo, s as pr, f as U, A as lr, b as ro } from "./LayoutContext-
|
|
75
|
+
import { r as g, t as k, B as ir, a as j, L as sr, d as mr, e as eo, s as pr, f as U, A as lr, b as ro } from "./LayoutContext-fb733f34.js";
|
|
76
76
|
import { r as Eo, a as cr, c as dr } from "./tokens-29849cf7.js";
|
|
77
77
|
import { ActionCardList as kt } from "./ActionCardList/ActionCardList.js";
|
|
78
78
|
import { ActionCardSecondaryList as Lt } from "./ActionCardSecondaryList/ActionCardSecondaryList.js";
|
|
@@ -93,8 +93,8 @@ import "./Atoms/AtomText/schema.js";
|
|
|
93
93
|
import { ButtonsList as ht } from "./ButtonsList/ButtonsList.js";
|
|
94
94
|
import { CardImageSecondary as ur } from "./CardImageSecondary/CardImageSecondary.js";
|
|
95
95
|
import { CardImageSecondaryList as Ft } from "./CardImageSecondaryList/CardImageSecondaryList.js";
|
|
96
|
-
import { CardInfoTable as
|
|
97
|
-
import { CtaBanner as
|
|
96
|
+
import { CardInfoTable as It } from "./CardInfoTable/index.js";
|
|
97
|
+
import { CtaBanner as vt } from "./CtaBanner/CtaBanner.js";
|
|
98
98
|
import { CtaBlock as Pt } from "./CtaBlock/CtaBlock.js";
|
|
99
99
|
import { CtaCardList as xt } from "./CtaCardList/CtaCardList.js";
|
|
100
100
|
import { CurrencyRates as At } from "./CurrencyRates/CurrencyRates.js";
|
|
@@ -158,13 +158,13 @@ import { SocialLinks as le } from "./SocialLinks/SocialLinks.js";
|
|
|
158
158
|
import { Space as ce } from "./Space/Space.js";
|
|
159
159
|
import { StandartTable as de } from "./StandartTable/index.js";
|
|
160
160
|
import { SwiperList as ue } from "./SwiperList/SwiperList.js";
|
|
161
|
-
import { TasksBanner as
|
|
161
|
+
import { TasksBanner as Ir } from "./TasksBanner/TasksBanner.js";
|
|
162
162
|
import { TasksBannerList as fe } from "./TasksBannerList/TasksBannerList.js";
|
|
163
163
|
import { TiltCardsList as ye } from "./TiltCardsList/TiltCardsList.js";
|
|
164
164
|
import { TitleBlock as Ce } from "./TitleBlock/TitleBlock.js";
|
|
165
165
|
import { VideoMainBanner as ge } from "./VideoMainBanner/VideoMainBanner.js";
|
|
166
166
|
import { VideoSwiper as ke } from "./VideoSwiper/VideoSwiper.js";
|
|
167
|
-
import './assets/custom-calculator.5d97f6b7.css';import './assets/swiper.816446ca.css';import './assets/navigation.3a5b0a22.css';/* empty css */import { N as
|
|
167
|
+
import './assets/custom-calculator.5d97f6b7.css';import './assets/swiper.816446ca.css';import './assets/navigation.3a5b0a22.css';/* empty css */import { N as vr } from "./navigation-7e4f6dee.js";
|
|
168
168
|
import { A as Pr } from "./autoplay-42615b44.js";
|
|
169
169
|
import { S as xr, a as Ar } from "./swiper-react-f34d3a3b.js";
|
|
170
170
|
import { slideWidthStyle as Tr, slideWidthVars as Vr, SliderTrack as Nr } from "./Layout/LayoutSlider/SliderTrack.js";
|
|
@@ -176,7 +176,7 @@ import "./Modules/News/model/config.js";
|
|
|
176
176
|
import "./Modules/News/ui/NewsCard.js";
|
|
177
177
|
import "./Modules/News/ui/NewsDetail.js";
|
|
178
178
|
import "./Modules/Products/model/blocks.js";
|
|
179
|
-
import { M as Rr, B as Hr, H as Mr, C as zr, z as $r, S as Gr, b as Or, L as Kr, G as Qr, J as jr, K as qr, N as Wr, O as Yr, Q as Ur, R as Jr, U as Zr, X as Xr, V as on, c as tn, d as en, e as rn, Y as nn, Z as an, _ as sn, f as mn, g as pn, $ as ln, P as cn, h as dn, W as un, F as fn, k as yn, a0 as Cn, a1 as gn, D as kn, l as Ln, m as bn, I as wn, o as Dn, p as _n, A as Sn, q as Bn, T as hn, r as Fn, s as
|
|
179
|
+
import { M as Rr, B as Hr, H as Mr, C as zr, z as $r, S as Gr, b as Or, L as Kr, G as Qr, J as jr, K as qr, N as Wr, O as Yr, Q as Ur, R as Jr, U as Zr, X as Xr, V as on, c as tn, d as en, e as rn, Y as nn, Z as an, _ as sn, f as mn, g as pn, $ as ln, P as cn, h as dn, W as un, F as fn, k as yn, a0 as Cn, a1 as gn, D as kn, l as Ln, m as bn, I as wn, o as Dn, p as _n, A as Sn, q as Bn, T as hn, r as Fn, s as In, E as vn, t as Pn, u as xn, v as An, w as Tn, x as Vn, y as Nn, a2 as En, a3 as Rn, a4 as Hn, a5 as Mn, a6 as zn, a7 as $n, a8 as Gn, a9 as On, aa as Kn, ab as Qn, ac as jn, ad as qn, ae as Wn, af as Yn, ag as Un, ah as Jn, ai as Zn, aj as Xn, ak as oa, al as ta, am as ea, an as ra, ao as na, ap as aa, aq as ia, ar as sa, as as ma, at as pa, au as la, av as ca, aw as da, ax as ua, ay as fa } from "./data.mock-1aa7aaf4.js";
|
|
180
180
|
import "react-dom";
|
|
181
181
|
import "./modalLayoutContext-cca98682.js";
|
|
182
182
|
import "./ActionCard/info.js";
|
|
@@ -349,7 +349,7 @@ const ba = {
|
|
|
349
349
|
is_dark_glass: C,
|
|
350
350
|
is_preview: F
|
|
351
351
|
}) => {
|
|
352
|
-
const
|
|
352
|
+
const I = We(960), [x, B] = M(!1), [v, h] = M(!1), D = oo(!1), [E, N] = M(!1), A = (Array.isArray(b) ? b : b ? [b] : []).map((n) => ({
|
|
353
353
|
...n,
|
|
354
354
|
type: (n == null ? void 0 : n.type) === "dropdown" ? "category" : "link",
|
|
355
355
|
is_left: (n == null ? void 0 : n.is_left) === !0 || (n == null ? void 0 : n.is_left) === "true",
|
|
@@ -362,7 +362,7 @@ const ba = {
|
|
|
362
362
|
}
|
|
363
363
|
let n = null;
|
|
364
364
|
const _ = () => {
|
|
365
|
-
const S =
|
|
365
|
+
const S = I ? 24 : window.innerHeight * 0.7, a = window.scrollY >= S;
|
|
366
366
|
D.current !== a && (D.current = a, h(a));
|
|
367
367
|
}, T = () => {
|
|
368
368
|
n === null && (n = window.requestAnimationFrame(() => {
|
|
@@ -374,7 +374,7 @@ const ba = {
|
|
|
374
374
|
}), window.addEventListener("resize", T), () => {
|
|
375
375
|
n !== null && window.cancelAnimationFrame(n), window.removeEventListener("scroll", T), window.removeEventListener("resize", T);
|
|
376
376
|
};
|
|
377
|
-
}, [l,
|
|
377
|
+
}, [l, I]), /* @__PURE__ */ R(Mo, { children: [
|
|
378
378
|
/* @__PURE__ */ i("div", { className: "hidden max-tablet:block", children: /* @__PURE__ */ i(
|
|
379
379
|
Ye,
|
|
380
380
|
{
|
|
@@ -392,7 +392,7 @@ const ba = {
|
|
|
392
392
|
className: G(F ? "relative z-auto" : "fixed z-[9999]"),
|
|
393
393
|
is_floating: l,
|
|
394
394
|
is_dark_glass: C,
|
|
395
|
-
is_floating_scrolled:
|
|
395
|
+
is_floating_scrolled: v,
|
|
396
396
|
onToggleVisuallyImpaired: () => B((n) => !n)
|
|
397
397
|
}
|
|
398
398
|
) }),
|
|
@@ -405,7 +405,7 @@ const ba = {
|
|
|
405
405
|
"fixed left-0 right-0 z-[9999] flex items-center justify-center transition-[background-color,box-shadow] duration-300 ease-in-out",
|
|
406
406
|
!l && "top-0 h-[70px] w-full py-[9px]",
|
|
407
407
|
!l && !p && "shadow-[0_1px_0_rgba(224,229,232,0.7)]",
|
|
408
|
-
!l && (p && !
|
|
408
|
+
!l && (p && !v && !E ? "bg-[#222529]" : "bg-white"),
|
|
409
409
|
l && "top-[20px] h-[76px] px-10",
|
|
410
410
|
F && "relative left-auto right-auto top-auto z-auto",
|
|
411
411
|
w
|
|
@@ -426,7 +426,7 @@ const ba = {
|
|
|
426
426
|
darkTheme: p,
|
|
427
427
|
is_floating: l,
|
|
428
428
|
is_dark_glass: C,
|
|
429
|
-
is_floating_scrolled:
|
|
429
|
+
is_floating_scrolled: v,
|
|
430
430
|
onDropdownOpenChange: N,
|
|
431
431
|
onToggleVisuallyImpaired: () => B((n) => !n)
|
|
432
432
|
}
|
|
@@ -531,15 +531,17 @@ const wa = {
|
|
|
531
531
|
// поэтому отрицательный margin честно надвигает узел на соседа
|
|
532
532
|
...J(o.margin),
|
|
533
533
|
...io(o.offset_x, o.offset_y),
|
|
534
|
+
// «1» пишется явным `auto`: иначе на узком экране оно не перебивало
|
|
535
|
+
// `span 2` с широкого, и сетка в одну колонку получала лишнюю неявную
|
|
534
536
|
...g(
|
|
535
537
|
"gc",
|
|
536
538
|
o.col_span,
|
|
537
|
-
(p) => p && p > 1 ? `span ${p}` :
|
|
539
|
+
(p) => p && p > 1 ? `span ${p}` : "auto"
|
|
538
540
|
),
|
|
539
541
|
...g(
|
|
540
542
|
"gr",
|
|
541
543
|
o.row_span,
|
|
542
|
-
(p) => p && p > 1 ? `span ${p}` :
|
|
544
|
+
(p) => p && p > 1 ? `span ${p}` : "auto"
|
|
543
545
|
)
|
|
544
546
|
} };
|
|
545
547
|
return o.zIndex !== void 0 && (e.zIndex = o.zIndex), o.position === "absolute" && (e.position = "absolute", e.top = k((s = o.inset) == null ? void 0 : s.top), e.right = k((c = o.inset) == null ? void 0 : c.right), e.bottom = k((d = o.inset) == null ? void 0 : d.bottom), e.left = k((y = o.inset) == null ? void 0 : y.left)), e;
|
|
@@ -562,7 +564,7 @@ const wa = {
|
|
|
562
564
|
for (const [r, e] of Object.entries(o))
|
|
563
565
|
ha.has(r) || (t[r] = e);
|
|
564
566
|
return t;
|
|
565
|
-
},
|
|
567
|
+
}, Ia = ({
|
|
566
568
|
components: o,
|
|
567
569
|
parent: t,
|
|
568
570
|
itemStyle: r
|
|
@@ -594,13 +596,13 @@ const wa = {
|
|
|
594
596
|
parent: t,
|
|
595
597
|
itemStyle: r
|
|
596
598
|
}) => /* @__PURE__ */ i(sr, { value: t, children: /* @__PURE__ */ i(
|
|
597
|
-
|
|
599
|
+
Ia,
|
|
598
600
|
{
|
|
599
601
|
components: o,
|
|
600
602
|
parent: t,
|
|
601
603
|
itemStyle: r
|
|
602
604
|
}
|
|
603
|
-
) }),
|
|
605
|
+
) }), va = ({
|
|
604
606
|
props: o,
|
|
605
607
|
prevRef: t,
|
|
606
608
|
nextRef: r,
|
|
@@ -616,7 +618,7 @@ const wa = {
|
|
|
616
618
|
return /* @__PURE__ */ i(
|
|
617
619
|
xr,
|
|
618
620
|
{
|
|
619
|
-
modules: [
|
|
621
|
+
modules: [vr, Pr],
|
|
620
622
|
className: "!overflow-visible [&_.swiper-wrapper]:items-stretch",
|
|
621
623
|
slidesPerView: s,
|
|
622
624
|
spaceBetween: y,
|
|
@@ -665,7 +667,7 @@ const wa = {
|
|
|
665
667
|
to(() => {
|
|
666
668
|
t.children || s(!0);
|
|
667
669
|
}, [t.children]);
|
|
668
|
-
const w = { kind: "stack", direction: "row" }, L = Vr(t), b = ((D = t.components) == null ? void 0 : D.length) ?? 0, l = t.arrows !== !1 && !!t.arrows, C = (t.arrows_position ?? "header") === "header", F = !!t.title || l && C,
|
|
670
|
+
const w = { kind: "stack", direction: "row" }, L = Vr(t), b = ((D = t.components) == null ? void 0 : D.length) ?? 0, l = t.arrows !== !1 && !!t.arrows, C = (t.arrows_position ?? "header") === "header", F = !!t.title || l && C, I = {
|
|
669
671
|
...ao(t.padding),
|
|
670
672
|
...J(t.margin),
|
|
671
673
|
...r.kind === "root" ? U(t.width, t.height, r) : {},
|
|
@@ -702,8 +704,8 @@ const wa = {
|
|
|
702
704
|
parent: w,
|
|
703
705
|
itemStyle: L
|
|
704
706
|
}
|
|
705
|
-
),
|
|
706
|
-
|
|
707
|
+
), v = e && !t.children ? /* @__PURE__ */ i(
|
|
708
|
+
va,
|
|
707
709
|
{
|
|
708
710
|
props: t,
|
|
709
711
|
prevRef: y,
|
|
@@ -725,11 +727,11 @@ const wa = {
|
|
|
725
727
|
t.edge_fade && "mbl-slider-fade",
|
|
726
728
|
t.className
|
|
727
729
|
),
|
|
728
|
-
style:
|
|
730
|
+
style: I,
|
|
729
731
|
"data-slides": b || void 0,
|
|
730
732
|
children: [
|
|
731
733
|
x,
|
|
732
|
-
/* @__PURE__ */ i("div", { className: G(t.bleed && "mbl-slider-bleed"), children:
|
|
734
|
+
/* @__PURE__ */ i("div", { className: G(t.bleed && "mbl-slider-bleed"), children: v }),
|
|
733
735
|
t.bullets && /* @__PURE__ */ i(
|
|
734
736
|
Er,
|
|
735
737
|
{
|
|
@@ -765,10 +767,10 @@ const wo = ({
|
|
|
765
767
|
offset_y: l,
|
|
766
768
|
$visible: C,
|
|
767
769
|
background_color: F,
|
|
768
|
-
background_image:
|
|
770
|
+
background_image: I,
|
|
769
771
|
background_fit: x,
|
|
770
772
|
radius: B,
|
|
771
|
-
shadow:
|
|
773
|
+
shadow: v,
|
|
772
774
|
border: h,
|
|
773
775
|
overflow: D,
|
|
774
776
|
opacity: E,
|
|
@@ -793,10 +795,10 @@ const wo = ({
|
|
|
793
795
|
} : {},
|
|
794
796
|
...mo({
|
|
795
797
|
background_color: F,
|
|
796
|
-
background_image:
|
|
798
|
+
background_image: I,
|
|
797
799
|
background_fit: x,
|
|
798
800
|
radius: B,
|
|
799
|
-
shadow:
|
|
801
|
+
shadow: v,
|
|
800
802
|
border: h,
|
|
801
803
|
overflow: D,
|
|
802
804
|
opacity: E
|
|
@@ -844,10 +846,10 @@ const xa = (o) => {
|
|
|
844
846
|
max_height: l,
|
|
845
847
|
offset_x: C,
|
|
846
848
|
offset_y: F,
|
|
847
|
-
$visible:
|
|
849
|
+
$visible: I,
|
|
848
850
|
background_color: x,
|
|
849
851
|
background_image: B,
|
|
850
|
-
background_fit:
|
|
852
|
+
background_fit: v,
|
|
851
853
|
radius: h,
|
|
852
854
|
shadow: D,
|
|
853
855
|
border: E,
|
|
@@ -875,7 +877,7 @@ const xa = (o) => {
|
|
|
875
877
|
...mo({
|
|
876
878
|
background_color: x,
|
|
877
879
|
background_image: B,
|
|
878
|
-
background_fit:
|
|
880
|
+
background_fit: v,
|
|
879
881
|
radius: h,
|
|
880
882
|
shadow: D,
|
|
881
883
|
border: E,
|
|
@@ -894,7 +896,7 @@ const xa = (o) => {
|
|
|
894
896
|
// габариты страницы. Только у блока верхнего уровня: у вложенного
|
|
895
897
|
// ширину задаёт родитель, и растягивать там нечего.
|
|
896
898
|
S.kind === "root" && A && "mbl-bleed-bg",
|
|
897
|
-
eo(
|
|
899
|
+
eo(I),
|
|
898
900
|
T
|
|
899
901
|
),
|
|
900
902
|
style: q,
|
|
@@ -927,10 +929,10 @@ const _o = ({
|
|
|
927
929
|
max_height: l,
|
|
928
930
|
offset_x: C,
|
|
929
931
|
offset_y: F,
|
|
930
|
-
$visible:
|
|
932
|
+
$visible: I,
|
|
931
933
|
background_color: x,
|
|
932
934
|
background_image: B,
|
|
933
|
-
background_fit:
|
|
935
|
+
background_fit: v,
|
|
934
936
|
radius: h,
|
|
935
937
|
shadow: D,
|
|
936
938
|
border: E,
|
|
@@ -961,7 +963,7 @@ const _o = ({
|
|
|
961
963
|
...mo({
|
|
962
964
|
background_color: x,
|
|
963
965
|
background_image: B,
|
|
964
|
-
background_fit:
|
|
966
|
+
background_fit: v,
|
|
965
967
|
radius: h,
|
|
966
968
|
shadow: D,
|
|
967
969
|
border: E,
|
|
@@ -980,7 +982,7 @@ const _o = ({
|
|
|
980
982
|
// габариты страницы. Только у блока верхнего уровня: у вложенного
|
|
981
983
|
// ширину задаёт родитель, и растягивать там нечего.
|
|
982
984
|
S.kind === "root" && A && "mbl-bleed-bg",
|
|
983
|
-
eo(
|
|
985
|
+
eo(I),
|
|
984
986
|
T
|
|
985
987
|
),
|
|
986
988
|
style: q,
|
|
@@ -1044,10 +1046,10 @@ const Aa = ["module_id"], Xl = {
|
|
|
1044
1046
|
display_loop: l,
|
|
1045
1047
|
display_page_size: C,
|
|
1046
1048
|
display_auto_load: F,
|
|
1047
|
-
sort_by:
|
|
1049
|
+
sort_by: I,
|
|
1048
1050
|
sort_order: x,
|
|
1049
1051
|
filter_code: B,
|
|
1050
|
-
initial_filter_value:
|
|
1052
|
+
initial_filter_value: v,
|
|
1051
1053
|
filter_mode: h,
|
|
1052
1054
|
pinned_category_value: D,
|
|
1053
1055
|
visible_category_values: E,
|
|
@@ -1066,7 +1068,7 @@ const Aa = ["module_id"], Xl = {
|
|
|
1066
1068
|
prefetchedPinnedHasMore: Se
|
|
1067
1069
|
}) => {
|
|
1068
1070
|
var No;
|
|
1069
|
-
const $ = S ?? T ?? "ru", Be = `component_props_${$}`, [he, X] = M(null), [Fe, lo] = M(!1), [W,
|
|
1071
|
+
const $ = S ?? T ?? "ru", Be = `component_props_${$}`, [he, X] = M(null), [Fe, lo] = M(!1), [W, Ie] = M(() => ({
|
|
1070
1072
|
responseQuery: Ta({
|
|
1071
1073
|
filterMode: h,
|
|
1072
1074
|
filterCode: B,
|
|
@@ -1077,7 +1079,7 @@ const Aa = ["module_id"], Xl = {
|
|
|
1077
1079
|
// после первого useEffect'а ниже.
|
|
1078
1080
|
fetchFilters: (a == null ? void 0 : a.key) === "News",
|
|
1079
1081
|
deferResponseFetch: !1
|
|
1080
|
-
})), co = Q(() => C ?? ((a == null ? void 0 : a.key) === "News" ? 6 : C), [C, a == null ? void 0 : a.key]),
|
|
1082
|
+
})), co = Q(() => C ?? ((a == null ? void 0 : a.key) === "News" ? 6 : C), [C, a == null ? void 0 : a.key]), ve = Q(() => {
|
|
1081
1083
|
const f = (a == null ? void 0 : a.key) === "News" ? { ...W.responseQuery, ...Ro() } : W.responseQuery;
|
|
1082
1084
|
return !co || f.page_size != null ? f : { ...f, page_size: co };
|
|
1083
1085
|
}, [
|
|
@@ -1091,8 +1093,8 @@ const Aa = ["module_id"], Xl = {
|
|
|
1091
1093
|
isModuleLoading: xe,
|
|
1092
1094
|
isInitialLoading: ho,
|
|
1093
1095
|
isRefetching: Fo,
|
|
1094
|
-
isItemsError:
|
|
1095
|
-
hasMore:
|
|
1096
|
+
isItemsError: Io,
|
|
1097
|
+
hasMore: vo,
|
|
1096
1098
|
isFetchingNextPage: Po,
|
|
1097
1099
|
fetchNextPage: xo
|
|
1098
1100
|
} = Dr(
|
|
@@ -1104,7 +1106,7 @@ const Aa = ["module_id"], Xl = {
|
|
|
1104
1106
|
z,
|
|
1105
1107
|
De,
|
|
1106
1108
|
{
|
|
1107
|
-
responseQuery:
|
|
1109
|
+
responseQuery: ve,
|
|
1108
1110
|
fetchFilters: W.fetchFilters,
|
|
1109
1111
|
deferResponseFetch: W.deferResponseFetch,
|
|
1110
1112
|
locale: $
|
|
@@ -1116,7 +1118,7 @@ const Aa = ["module_id"], Xl = {
|
|
|
1116
1118
|
currentLanguage: $,
|
|
1117
1119
|
blockProps: {
|
|
1118
1120
|
filter_code: B,
|
|
1119
|
-
initial_filter_value:
|
|
1121
|
+
initial_filter_value: v,
|
|
1120
1122
|
filter_mode: h,
|
|
1121
1123
|
pinned_category_value: D,
|
|
1122
1124
|
visible_category_values: E,
|
|
@@ -1185,7 +1187,7 @@ const Aa = ["module_id"], Xl = {
|
|
|
1185
1187
|
f: m.isNewsModule,
|
|
1186
1188
|
d: m.shouldDeferResponseFetch
|
|
1187
1189
|
});
|
|
1188
|
-
f !== To.current && (To.current = f,
|
|
1190
|
+
f !== To.current && (To.current = f, Ie({
|
|
1189
1191
|
responseQuery: m.responseQuery,
|
|
1190
1192
|
fetchFilters: m.isNewsModule,
|
|
1191
1193
|
deferResponseFetch: m.shouldDeferResponseFetch
|
|
@@ -1213,9 +1215,9 @@ const Aa = ["module_id"], Xl = {
|
|
|
1213
1215
|
F
|
|
1214
1216
|
]
|
|
1215
1217
|
), Ve = Q(() => ((a == null ? void 0 : a.key) ?? (u == null ? void 0 : u.key)) === "News" ? {} : {
|
|
1216
|
-
sortBy:
|
|
1218
|
+
sortBy: I,
|
|
1217
1219
|
sortOrder: x
|
|
1218
|
-
}, [u == null ? void 0 : u.key, a == null ? void 0 : a.key,
|
|
1220
|
+
}, [u == null ? void 0 : u.key, a == null ? void 0 : a.key, I, x]);
|
|
1219
1221
|
if (!e)
|
|
1220
1222
|
return /* @__PURE__ */ R("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: [
|
|
1221
1223
|
/* @__PURE__ */ i("div", { className: "text-xl font-bold mb-2", children: "Модуль" }),
|
|
@@ -1273,8 +1275,8 @@ const Aa = ["module_id"], Xl = {
|
|
|
1273
1275
|
detailItem: po ?? he,
|
|
1274
1276
|
isInitialLoading: ho || Fe,
|
|
1275
1277
|
isRefetching: Fo,
|
|
1276
|
-
hasItemsError:
|
|
1277
|
-
hasMore:
|
|
1278
|
+
hasItemsError: Io,
|
|
1279
|
+
hasMore: vo,
|
|
1278
1280
|
onLoadMore: xo,
|
|
1279
1281
|
isLoadingMore: Po,
|
|
1280
1282
|
pinnedItems: K.items,
|
|
@@ -1305,8 +1307,8 @@ const Aa = ["module_id"], Xl = {
|
|
|
1305
1307
|
sortConfig: Ve,
|
|
1306
1308
|
isInitialLoading: ho,
|
|
1307
1309
|
isRefetching: Fo,
|
|
1308
|
-
hasItemsError:
|
|
1309
|
-
hasMore:
|
|
1310
|
+
hasItemsError: Io,
|
|
1311
|
+
hasMore: vo,
|
|
1310
1312
|
onLoadMore: xo,
|
|
1311
1313
|
isLoadingMore: Po,
|
|
1312
1314
|
...Ee
|
|
@@ -1353,7 +1355,7 @@ const we = {
|
|
|
1353
1355
|
Space: ce,
|
|
1354
1356
|
PromoPoster: ne,
|
|
1355
1357
|
CardImageSecondaryList: Ft,
|
|
1356
|
-
CardInfoTable:
|
|
1358
|
+
CardInfoTable: It,
|
|
1357
1359
|
StandartTable: de,
|
|
1358
1360
|
IntroBanner: Qt,
|
|
1359
1361
|
DownloadFileBright: Nt,
|
|
@@ -1362,7 +1364,7 @@ const we = {
|
|
|
1362
1364
|
Footer: Ht,
|
|
1363
1365
|
HtmlContent: or,
|
|
1364
1366
|
HeroPossibilityBanner: tr,
|
|
1365
|
-
CtaBanner:
|
|
1367
|
+
CtaBanner: vt,
|
|
1366
1368
|
CtaBlock: Pt,
|
|
1367
1369
|
CtaCardList: xt,
|
|
1368
1370
|
ButtonsList: ht,
|
|
@@ -1382,7 +1384,7 @@ const we = {
|
|
|
1382
1384
|
InfoBanner: Cr,
|
|
1383
1385
|
InfoCardList: Kt,
|
|
1384
1386
|
TiltCardsList: ye,
|
|
1385
|
-
TasksBanner:
|
|
1387
|
+
TasksBanner: Ir,
|
|
1386
1388
|
SliderCardList: pe,
|
|
1387
1389
|
CardImageSecondary: ur,
|
|
1388
1390
|
FileBannerSecondary: fr,
|
|
@@ -1486,7 +1488,7 @@ const we = {
|
|
|
1486
1488
|
key: "CardImageSecondaryList",
|
|
1487
1489
|
component: Ft
|
|
1488
1490
|
},
|
|
1489
|
-
CardInfoTable: { key: "CardInfoTable", component:
|
|
1491
|
+
CardInfoTable: { key: "CardInfoTable", component: It },
|
|
1490
1492
|
StandartTable: { key: "StandartTable", component: de },
|
|
1491
1493
|
IntroBanner: { key: "IntroBanner", component: Qt },
|
|
1492
1494
|
DownloadFileBright: {
|
|
@@ -1554,7 +1556,7 @@ const we = {
|
|
|
1554
1556
|
component: Et
|
|
1555
1557
|
},
|
|
1556
1558
|
PromoBanner: { key: "PromoBanner", component: re },
|
|
1557
|
-
CtaBanner: { key: "CtaBanner", component:
|
|
1559
|
+
CtaBanner: { key: "CtaBanner", component: vt },
|
|
1558
1560
|
CtaBlock: { key: "CtaBlock", component: Pt },
|
|
1559
1561
|
ReviewsSlider: { key: "ReviewsSlider", component: ae },
|
|
1560
1562
|
VideoSwiper: { key: "VideoSwiper", component: ke },
|
|
@@ -1604,8 +1606,8 @@ const we = {
|
|
|
1604
1606
|
InfoBannerList: Bn.component_props,
|
|
1605
1607
|
TasksBannerList: hn.component_props,
|
|
1606
1608
|
VideoMainBanner: Fn.component_props,
|
|
1607
|
-
FullpageBanner:
|
|
1608
|
-
EmptyBox:
|
|
1609
|
+
FullpageBanner: In.component_props,
|
|
1610
|
+
EmptyBox: vn.component_props,
|
|
1609
1611
|
PromoPoster: Pn.component_props,
|
|
1610
1612
|
CardImageSecondaryList: xn.component_props,
|
|
1611
1613
|
CardInfoTable: An.component_props,
|
|
@@ -1752,6 +1754,6 @@ export {
|
|
|
1752
1754
|
Lo as v,
|
|
1753
1755
|
Va as w,
|
|
1754
1756
|
Le as x,
|
|
1755
|
-
|
|
1757
|
+
va as y,
|
|
1756
1758
|
Ra as z
|
|
1757
1759
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { r as d, t as A } from "../../LayoutContext-
|
|
2
|
+
import { r as d, t as A } from "../../LayoutContext-fb733f34.js";
|
|
3
3
|
import { r as C } from "../../tokens-29849cf7.js";
|
|
4
4
|
import { B as E } from "../../index-4ceee683.js";
|
|
5
5
|
import { B as L, a as N } from "../../const-9ea436d6.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as B, useEffect as F } from "react";
|
|
3
|
-
import { u as L, a as O, r as f, t as h } from "../../LayoutContext-
|
|
3
|
+
import { u as L, a as O, r as f, t as h } from "../../LayoutContext-fb733f34.js";
|
|
4
4
|
import { r as x, a as T } from "../../tokens-29849cf7.js";
|
|
5
5
|
import { c as b } from "../../cn-6a4bf187.js";
|
|
6
6
|
import { actionsGenerator as A } from "../../Actions/actionsGenerator.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { r as p, t as d } from "../../LayoutContext-
|
|
2
|
+
import { r as p, t as d } from "../../LayoutContext-fb733f34.js";
|
|
3
3
|
import { a as f } from "../../tokens-29849cf7.js";
|
|
4
|
-
import { I as
|
|
5
|
-
import { c as
|
|
6
|
-
import { propsToEdit as
|
|
4
|
+
import { I as b } from "../../index-df8034eb.js";
|
|
5
|
+
import { c as u } from "../../cn-6a4bf187.js";
|
|
6
|
+
import { propsToEdit as v } from "./schema.js";
|
|
7
7
|
const R = {
|
|
8
8
|
"1:1": "1 / 1",
|
|
9
9
|
"4:3": "4 / 3",
|
|
@@ -15,21 +15,24 @@ const R = {
|
|
|
15
15
|
fit: i = "cover",
|
|
16
16
|
radius: m,
|
|
17
17
|
aspect_ratio: c = "auto",
|
|
18
|
-
height:
|
|
19
|
-
className:
|
|
18
|
+
height: l,
|
|
19
|
+
className: n
|
|
20
20
|
}) => {
|
|
21
21
|
const o = {
|
|
22
|
-
...p("h",
|
|
22
|
+
...p("h", l, d),
|
|
23
|
+
// Пропорции от заданной высоты не должны раздвигать ячейку: на узком
|
|
24
|
+
// экране ячейка ужимается, а картинка вылезала из неё квадратом
|
|
25
|
+
"--mbl-maxw-b": "100%"
|
|
23
26
|
}, r = R[c];
|
|
24
27
|
r && (o.aspectRatio = r);
|
|
25
28
|
const s = f(m);
|
|
26
29
|
return s && (o.borderRadius = s), /* @__PURE__ */ t(
|
|
27
30
|
"div",
|
|
28
31
|
{
|
|
29
|
-
className:
|
|
32
|
+
className: u("mbl overflow-hidden", n),
|
|
30
33
|
style: o,
|
|
31
34
|
children: /* @__PURE__ */ t(
|
|
32
|
-
|
|
35
|
+
b,
|
|
33
36
|
{
|
|
34
37
|
src: e,
|
|
35
38
|
alt: a,
|
|
@@ -40,7 +43,7 @@ const R = {
|
|
|
40
43
|
}
|
|
41
44
|
);
|
|
42
45
|
};
|
|
43
|
-
h.propsToEdit =
|
|
46
|
+
h.propsToEdit = v;
|
|
44
47
|
export {
|
|
45
48
|
h as AtomImage
|
|
46
49
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as E } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as S } from "react";
|
|
3
|
-
import { r, t as a, B as k, a as c } from "../../LayoutContext-
|
|
3
|
+
import { r, t as a, B as k, a as c } from "../../LayoutContext-fb733f34.js";
|
|
4
4
|
import { T as h, r as w } from "../../tokens-29849cf7.js";
|
|
5
5
|
import { S as A } from "../../SafeHtml-c32fde04.js";
|
|
6
6
|
import { c as y } from "../../cn-6a4bf187.js";
|
|
@@ -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-1c578b76.js";
|
|
9
9
|
export {
|
|
10
10
|
d as Header
|
|
11
11
|
};
|
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 cp, x as gp } from "../AllModuleData-
|
|
5
|
+
import { h as cp, x as gp } from "../AllModuleData-1c578b76.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "../ProductCard/ProductCard/ProductCard.js";
|
|
8
8
|
import "../ProductCard/ProductCardDetail/ProductCardDetail.js";
|
|
@@ -229,7 +229,7 @@ import "../Modules/News/arm/NewsArm.js";
|
|
|
229
229
|
import "../Modules/Deposits/arm/DepositArm.js";
|
|
230
230
|
import "../Modules/ContentCards/arm/ContentCardArm.js";
|
|
231
231
|
import "../Modules/CurrencyRates/arm/CurrencyRatesArm.js";
|
|
232
|
-
import "../LayoutContext-
|
|
232
|
+
import "../LayoutContext-fb733f34.js";
|
|
233
233
|
import "../createBoolean-56064b0d.js";
|
|
234
234
|
import "../index-a4b0dde9.js";
|
|
235
235
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../LayoutContext-
|
|
3
|
-
import { i as a } from "../../AllModuleData-
|
|
2
|
+
import "../../LayoutContext-fb733f34.js";
|
|
3
|
+
import { i as a } from "../../AllModuleData-1c578b76.js";
|
|
4
4
|
import "../../cn-6a4bf187.js";
|
|
5
5
|
import "./schema.js";
|
|
6
6
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../LayoutContext-
|
|
3
|
-
import { g as d } from "../../AllModuleData-
|
|
2
|
+
import "../../LayoutContext-fb733f34.js";
|
|
3
|
+
import { g as d } from "../../AllModuleData-1c578b76.js";
|
|
4
4
|
import "../../ComponentContainer-dca711c6.js";
|
|
5
5
|
import "../../cn-6a4bf187.js";
|
|
6
6
|
import "./schema.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../LayoutContext-
|
|
4
|
-
import { j as l } from "../../AllModuleData-
|
|
3
|
+
import "../../LayoutContext-fb733f34.js";
|
|
4
|
+
import { j as l } from "../../AllModuleData-1c578b76.js";
|
|
5
5
|
import "../../ComponentContainer-dca711c6.js";
|
|
6
6
|
import "../../cn-6a4bf187.js";
|
|
7
7
|
import "./SliderArrows.js";
|
|
@@ -2,8 +2,8 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import '../../assets/swiper.816446ca.css';import '../../assets/navigation.3a5b0a22.css';/* empty css */import "../../navigation-7e4f6dee.js";
|
|
3
3
|
import "../../autoplay-42615b44.js";
|
|
4
4
|
import "../../swiper-react-f34d3a3b.js";
|
|
5
|
-
import "../../LayoutContext-
|
|
6
|
-
import { y as l } from "../../AllModuleData-
|
|
5
|
+
import "../../LayoutContext-fb733f34.js";
|
|
6
|
+
import { y as l } from "../../AllModuleData-1c578b76.js";
|
|
7
7
|
import "./SliderTrack.js";
|
|
8
8
|
/* empty css */export {
|
|
9
9
|
l as LiveSlider
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { B as c, r as d, t as l, a as r } from "../../LayoutContext-
|
|
2
|
+
import { B as c, r as d, t as l, a as r } from "../../LayoutContext-fb733f34.js";
|
|
3
3
|
import { c as f } from "../../cn-6a4bf187.js";
|
|
4
4
|
const a = (s, t) => {
|
|
5
5
|
const e = r(
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "../../AllModuleData-
|
|
1
|
+
import { j as t } from "../../AllModuleData-1c578b76.js";
|
|
2
2
|
import { SLIDER_PRESETS as p } from "./types.js";
|
|
3
3
|
import { layoutSliderInfo as S } from "./info.js";
|
|
4
4
|
import { propsToEdit as x } from "./schema.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { r, t as s } from "../../LayoutContext-
|
|
2
|
+
import { r, t as s } from "../../LayoutContext-fb733f34.js";
|
|
3
3
|
import { c as m } from "../../cn-6a4bf187.js";
|
|
4
4
|
import { propsToEdit as p } from "./schema.js";
|
|
5
5
|
const a = ({ size: o = 24, className: t }) => /* @__PURE__ */ i(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../LayoutContext-
|
|
3
|
-
import { L } from "../../AllModuleData-
|
|
2
|
+
import "../../LayoutContext-fb733f34.js";
|
|
3
|
+
import { L } from "../../AllModuleData-1c578b76.js";
|
|
4
4
|
import "../../ComponentContainer-dca711c6.js";
|
|
5
5
|
import "../../cn-6a4bf187.js";
|
|
6
6
|
import "./schema.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as A } from "react/jsx-runtime";
|
|
2
|
-
import { createContext as
|
|
3
|
-
import './assets/LayoutContext.b0e12b12.css';const v = ["base", "tablet", "mobile"],
|
|
2
|
+
import { createContext as S, useContext as g } from "react";
|
|
3
|
+
import './assets/LayoutContext.b0e12b12.css';const v = ["base", "tablet", "mobile"], I = {
|
|
4
4
|
base: null,
|
|
5
5
|
tablet: 960,
|
|
6
6
|
mobile: 768
|
|
7
|
-
},
|
|
7
|
+
}, R = {
|
|
8
8
|
base: "b",
|
|
9
9
|
tablet: "t",
|
|
10
10
|
mobile: "m"
|
|
@@ -26,7 +26,7 @@ import './assets/LayoutContext.b0e12b12.css';const v = ["base", "tablet", "mobil
|
|
|
26
26
|
if (s !== void 0)
|
|
27
27
|
return s;
|
|
28
28
|
}
|
|
29
|
-
},
|
|
29
|
+
}, _ = (t, e) => a(t) ? t[e] !== void 0 : e === "base" && t !== void 0, K = (t, e, o = (i) => i == null ? void 0 : String(i)) => {
|
|
30
30
|
const i = {};
|
|
31
31
|
if (e === void 0)
|
|
32
32
|
return i;
|
|
@@ -34,10 +34,10 @@ import './assets/LayoutContext.b0e12b12.css';const v = ["base", "tablet", "mobil
|
|
|
34
34
|
if (u === void 0)
|
|
35
35
|
return;
|
|
36
36
|
const c = o(u);
|
|
37
|
-
c === void 0 || c === "" || (i[`--mbl-${t}-${
|
|
37
|
+
c === void 0 || c === "" || (i[`--mbl-${t}-${R[n]}`] = c);
|
|
38
38
|
};
|
|
39
39
|
return a(e) ? (s("base", e.base), s("tablet", e.tablet), s("mobile", e.mobile), i) : (s("base", e), i);
|
|
40
|
-
},
|
|
40
|
+
}, j = (t) => {
|
|
41
41
|
if (!a(t)) {
|
|
42
42
|
const s = t !== !1;
|
|
43
43
|
return { base: s, tablet: s, mobile: s };
|
|
@@ -47,30 +47,30 @@ import './assets/LayoutContext.b0e12b12.css';const v = ["base", "tablet", "mobil
|
|
|
47
47
|
for (const s of v)
|
|
48
48
|
e[s] !== void 0 && (i = e[s] !== !1), o[s] = i;
|
|
49
49
|
return o;
|
|
50
|
-
}, K = (t) => {
|
|
51
|
-
const e = g(t);
|
|
52
|
-
return !e.base && !e.tablet && !e.mobile;
|
|
53
50
|
}, V = (t) => {
|
|
51
|
+
const e = j(t);
|
|
52
|
+
return !e.base && !e.tablet && !e.mobile;
|
|
53
|
+
}, H = (t) => {
|
|
54
54
|
if (t === void 0)
|
|
55
55
|
return "";
|
|
56
|
-
const e =
|
|
56
|
+
const e = j(t), o = [];
|
|
57
57
|
return e.base || o.push("mbl-hide-b"), e.tablet || o.push("mbl-hide-t"), e.mobile || o.push("mbl-hide-m"), o.join(" ");
|
|
58
|
-
},
|
|
58
|
+
}, w = (t) => {
|
|
59
59
|
if (!(t == null || t === ""))
|
|
60
60
|
return typeof t == "number" ? `${t}px` : t;
|
|
61
|
-
},
|
|
61
|
+
}, N = (...t) => Object.assign({}, ...t.filter(Boolean)), B = { kind: "root" }, U = { kind: "absolute" }, x = (t) => t.kind === "root" || t.kind === "absolute", $ = (t, e) => {
|
|
62
62
|
const o = d(t.wrap, e);
|
|
63
63
|
return o === !0 || o === "wrap" || o === "wrap-reverse";
|
|
64
|
-
},
|
|
64
|
+
}, O = {
|
|
65
65
|
base: "b",
|
|
66
66
|
tablet: "t",
|
|
67
67
|
mobile: "m"
|
|
68
|
-
},
|
|
68
|
+
}, C = (t, e) => t.kind !== "stack" ? null : (d(t.direction, e) ?? "row") === "row" ? "width" : "height", p = (t, e, o, i) => {
|
|
69
69
|
if (!e)
|
|
70
70
|
return {};
|
|
71
|
-
const s = t === "width", n =
|
|
71
|
+
const s = t === "width", n = C(o, i), u = n === t, c = n !== null && n !== t, r = s ? "w" : "h", f = s ? "minw" : "minh", l = o.kind === "grid" && s ? "jsf" : "asf";
|
|
72
72
|
if (e.mode === "fill")
|
|
73
|
-
return u ?
|
|
73
|
+
return u ? $(o, i) ? { flex: "1 1 auto" } : { flex: "1 1 0", [f]: "0" } : c ? {
|
|
74
74
|
[l]: "stretch",
|
|
75
75
|
[r]: "auto",
|
|
76
76
|
[f]: "0"
|
|
@@ -80,25 +80,34 @@ import './assets/LayoutContext.b0e12b12.css';const v = ["base", "tablet", "mobil
|
|
|
80
80
|
[f]: "0"
|
|
81
81
|
} : o.kind === "absolute" ? { [r]: "100%" } : s ? { w: "100%" } : { h: "auto" };
|
|
82
82
|
if (e.mode === "hug")
|
|
83
|
-
return u ? {
|
|
83
|
+
return u ? {
|
|
84
|
+
flex: s ? "0 1 auto" : "0 0 auto",
|
|
85
|
+
[r]: "fit-content"
|
|
86
|
+
} : {
|
|
84
87
|
[r]: "fit-content",
|
|
85
|
-
...
|
|
88
|
+
...x(o) ? {} : { [l]: "start" }
|
|
86
89
|
};
|
|
87
|
-
const b =
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
const b = w(e.value);
|
|
91
|
+
if (b === void 0)
|
|
92
|
+
return {};
|
|
93
|
+
const y = s && o.kind !== "absolute" ? { maxw: "100%" } : {};
|
|
94
|
+
return u ? {
|
|
95
|
+
flex: `0 ${s ? 1 : 0} ${b}`,
|
|
90
96
|
[r]: b,
|
|
91
|
-
[f]: "0"
|
|
97
|
+
[f]: "0",
|
|
98
|
+
...y
|
|
92
99
|
} : {
|
|
93
100
|
[r]: b,
|
|
94
101
|
[f]: "0",
|
|
95
|
-
...y
|
|
102
|
+
...y,
|
|
103
|
+
...x(o) ? {} : { [l]: "start" }
|
|
96
104
|
};
|
|
97
105
|
}, z = {
|
|
98
106
|
w: "auto",
|
|
99
107
|
h: "auto",
|
|
100
108
|
minw: "auto",
|
|
101
109
|
minh: "auto",
|
|
110
|
+
maxw: "none",
|
|
102
111
|
flex: "0 1 auto",
|
|
103
112
|
asf: "auto",
|
|
104
113
|
jsf: "auto"
|
|
@@ -111,7 +120,7 @@ import './assets/LayoutContext.b0e12b12.css';const v = ["base", "tablet", "mobil
|
|
|
111
120
|
if (typeof t == "object" && "mode" in t)
|
|
112
121
|
return t;
|
|
113
122
|
}
|
|
114
|
-
}, m = (t, e) => t === void 0 ? !1 : a(t) ? t[e] !== void 0 : e === "base",
|
|
123
|
+
}, m = (t, e) => t === void 0 ? !1 : a(t) ? t[e] !== void 0 : e === "base", M = (t, e, o = B) => {
|
|
115
124
|
const i = {};
|
|
116
125
|
if (t === void 0 && e === void 0)
|
|
117
126
|
return i;
|
|
@@ -120,13 +129,13 @@ import './assets/LayoutContext.b0e12b12.css';const v = ["base", "tablet", "mobil
|
|
|
120
129
|
if (!(n === "base" || m(t, n) || m(e, n) || m(o.direction, n) || m(o.wrap, n)))
|
|
121
130
|
continue;
|
|
122
131
|
const c = {
|
|
123
|
-
...
|
|
132
|
+
...p(
|
|
124
133
|
"width",
|
|
125
134
|
h(d(t, n)),
|
|
126
135
|
o,
|
|
127
136
|
n
|
|
128
137
|
),
|
|
129
|
-
...
|
|
138
|
+
...p(
|
|
130
139
|
"height",
|
|
131
140
|
h(d(e, n)),
|
|
132
141
|
o,
|
|
@@ -136,55 +145,55 @@ import './assets/LayoutContext.b0e12b12.css';const v = ["base", "tablet", "mobil
|
|
|
136
145
|
for (const r of s)
|
|
137
146
|
c[r] === void 0 && (c[r] = z[r]);
|
|
138
147
|
for (const [r, f] of Object.entries(c))
|
|
139
|
-
f !== void 0 && (i[`--mbl-${r}-${
|
|
148
|
+
f !== void 0 && (i[`--mbl-${r}-${O[n]}`] = f, s.add(r));
|
|
140
149
|
}
|
|
141
150
|
return i;
|
|
142
|
-
},
|
|
151
|
+
}, X = { mode: "fill" }, W = { mode: "hug" }, D = (t) => ({
|
|
143
152
|
mode: "fixed",
|
|
144
153
|
value: t
|
|
145
154
|
}), E = (t, e, o, i) => {
|
|
146
155
|
const s = h(d(t, o));
|
|
147
156
|
return !(!s || s.mode === "fill" && e === "height" && i.kind === "root");
|
|
148
|
-
},
|
|
157
|
+
}, k = (t, e, o) => {
|
|
149
158
|
for (const i of v)
|
|
150
159
|
if (E(t, e, i, o))
|
|
151
|
-
return
|
|
160
|
+
return O[i];
|
|
152
161
|
return "";
|
|
153
|
-
},
|
|
154
|
-
const i = [], s =
|
|
162
|
+
}, G = (t, e, o) => {
|
|
163
|
+
const i = [], s = k(t, "width", o);
|
|
155
164
|
s && i.push(`mbl-sized-w-${s}`);
|
|
156
|
-
const n =
|
|
165
|
+
const n = k(e, "height", o);
|
|
157
166
|
return n && i.push(`mbl-sized-h-${n}`), i.join(" ");
|
|
158
|
-
},
|
|
167
|
+
}, F = S(B), q = () => g(F), J = ({
|
|
159
168
|
value: t,
|
|
160
169
|
children: e
|
|
161
|
-
}) => /* @__PURE__ */ A(
|
|
170
|
+
}) => /* @__PURE__ */ A(F.Provider, { value: t, children: e }), P = S(null), Q = () => g(P), Y = ({
|
|
162
171
|
value: t,
|
|
163
172
|
children: e
|
|
164
|
-
}) => /* @__PURE__ */ A(
|
|
173
|
+
}) => /* @__PURE__ */ A(P.Provider, { value: t, children: e }), Z = (t) => t === "tablet" ? "mbl-force-tablet" : t === "mobile" ? "mbl-force-mobile" : "";
|
|
165
174
|
export {
|
|
166
|
-
|
|
175
|
+
U as A,
|
|
167
176
|
v as B,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
177
|
+
X as F,
|
|
178
|
+
W as H,
|
|
179
|
+
J as L,
|
|
180
|
+
B as R,
|
|
172
181
|
d as a,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
182
|
+
q as b,
|
|
183
|
+
I as c,
|
|
184
|
+
V as d,
|
|
185
|
+
H as e,
|
|
186
|
+
M as f,
|
|
187
|
+
D as g,
|
|
188
|
+
_ as h,
|
|
180
189
|
a as i,
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
190
|
+
Y as j,
|
|
191
|
+
Z as k,
|
|
192
|
+
N as m,
|
|
184
193
|
h as p,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
194
|
+
K as r,
|
|
195
|
+
G as s,
|
|
196
|
+
w as t,
|
|
197
|
+
Q as u,
|
|
198
|
+
j as v
|
|
190
199
|
};
|
|
@@ -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-1c578b76.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-a4b0dde9.js";
|
|
2
|
-
import { p as t } from "../AllModuleData-
|
|
2
|
+
import { p as t } from "../AllModuleData-1c578b76.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 { d as m, f as O } from "../AllModuleData-
|
|
3
|
+
import { d as m, f as O } from "../AllModuleData-1c578b76.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 { d as s, e as d, f as u } from "../AllModuleData-
|
|
6
|
+
import { d as s, e as d, f as u } from "../AllModuleData-1c578b76.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 { a as O, w as L } from "../../../AllModuleData-
|
|
4
|
+
import { a as O, w as L } from "../../../AllModuleData-1c578b76.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 { a as y } from "../../../AllModuleData-
|
|
3
|
+
import { a as y } from "../../../AllModuleData-1c578b76.js";
|
|
4
4
|
const g = [
|
|
5
5
|
{ key: "general", label: "Основные", icon: "⚙" },
|
|
6
6
|
{ key: "sections", label: "Секции", icon: "☰" },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as n, Fragment as t } from "react/jsx-runtime";
|
|
2
|
-
import { c as p } from "../AllModuleData-
|
|
2
|
+
import { c as p } from "../AllModuleData-1c578b76.js";
|
|
3
3
|
const s = ({ components: o }) => /* @__PURE__ */ n(t, { children: o.map((r) => {
|
|
4
4
|
const e = p[r.key];
|
|
5
5
|
return e ? /* @__PURE__ */ n(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as E, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as N, useEffect as A, useCallback as R, lazy as L, Suspense as k } from "react";
|
|
3
|
-
import { b as D } from "../LayoutContext-
|
|
3
|
+
import { b as D } from "../LayoutContext-fb733f34.js";
|
|
4
4
|
import { r as H } from "../tokens-29849cf7.js";
|
|
5
5
|
import { C as T } from "../ComponentContainer-dca711c6.js";
|
|
6
6
|
import { F as h } from "../Flex-86aee720.js";
|
package/dist/main.js
CHANGED
|
@@ -2,7 +2,7 @@ import { ConfigProvider as sr } from "./ConfigProvider/index.js";
|
|
|
2
2
|
import { Banner as ir } from "./Banner/Banner.js";
|
|
3
3
|
import { BannerAndText as mr } from "./BannerAndText/index.js";
|
|
4
4
|
import { HeadlineBanner as fr } from "./HeadlineBanner/HeadlineBanner.js";
|
|
5
|
-
import { b as cr, A as xr, d as ur, H as Cr, i as gr, g as yr, j as Ar, L as hr, e as Sr, M as kr, k as Pr, u as Lr, r as br, n as Br, v as Fr, l as Ir, s as wr, q as Mr, m as vr, f as Rr, o as Tr, t as Dr } from "./AllModuleData-
|
|
5
|
+
import { b as cr, A as xr, d as ur, H as Cr, i as gr, g as yr, j as Ar, L as hr, e as Sr, M as kr, k as Pr, u as Lr, r as br, n as Br, v as Fr, l as Ir, s as wr, q as Mr, m as vr, f as Rr, o as Tr, t as Dr } from "./AllModuleData-1c578b76.js";
|
|
6
6
|
import { HeaderPrimary as Hr } from "./Header/HeaderPrimary.js";
|
|
7
7
|
import { HeaderLanding as Er } from "./Header/HeaderLanding.js";
|
|
8
8
|
import { ProductCard as Nr } from "./ProductCard/ProductCard/ProductCard.js";
|
|
@@ -166,7 +166,7 @@ import "./Atoms/AtomImage/schema.js";
|
|
|
166
166
|
import { AtomButton as ls } from "./Atoms/AtomButton/AtomButton.js";
|
|
167
167
|
import "./Atoms/AtomButton/info.js";
|
|
168
168
|
import "./Atoms/AtomButton/schema.js";
|
|
169
|
-
import { A as ds, B as cs, c as xs, F as us, j as Cs, H as gs, L as ys, R as As, g as hs, k as Ss, h as ks, d as Ps, i as Ls, m as bs, p as Bs, a as Fs, f as Is, r as ws, s as Ms, t as vs, u as Rs, b as Ts, v as Ds, e as Vs } from "./LayoutContext-
|
|
169
|
+
import { A as ds, B as cs, c as xs, F as us, j as Cs, H as gs, L as ys, R as As, g as hs, k as Ss, h as ks, d as Ps, i as Ls, m as bs, p as Bs, a as Fs, f as Is, r as ws, s as Ms, t as vs, u as Rs, b as Ts, v as Ds, e as Vs } from "./LayoutContext-fb733f34.js";
|
|
170
170
|
import { C as Os, R as Es, b as _s, S as Ns, T as Gs, r as js, a as zs, c as qs } from "./tokens-29849cf7.js";
|
|
171
171
|
const p = "ru", n = (r) => typeof r == "object" && r !== null && !Array.isArray(r) && "$i18n" in r, d = (r, e = p) => {
|
|
172
172
|
if (!n(r))
|