md-components-mdigial-azamat 0.0.352 → 0.0.354
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-69616c18.js → AllModuleData-e1acabd3.js} +8 -2
- package/dist/Atoms/AtomButton/AtomButton.js +1 -1
- package/dist/Atoms/AtomDivider/AtomDivider.js +1 -1
- package/dist/Atoms/AtomIcon/AtomIcon.js +76 -61
- package/dist/Atoms/AtomIcon/schema.js +7 -0
- package/dist/Atoms/AtomImage/AtomImage.js +1 -1
- 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 +21 -18
- 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-226d5893.js → LayoutContext-9bb8572b.js} +1 -1
- 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 +75 -65
- package/dist/Segments/schema.js +17 -7
- package/dist/StandartTable/index.js +75 -82
- package/dist/assets/{LayoutContext.9ae0a5ca.css → LayoutContext.3b96bfb6.css} +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-e1acabd3.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
|
@@ -60,7 +60,7 @@ import "./InfoBannerList/InfoBannerList.js";
|
|
|
60
60
|
import "./InfoCardList/InfoCardList.js";
|
|
61
61
|
import "./InfoCardList/schema.js";
|
|
62
62
|
import "./IntroBanner/IntroBanner.js";
|
|
63
|
-
import { b as zp, A as Bp } from "./AllModuleData-
|
|
63
|
+
import { b as zp, A as Bp } from "./AllModuleData-e1acabd3.js";
|
|
64
64
|
import "./Layout/LayoutBox/info.js";
|
|
65
65
|
import "./Layout/LayoutBox/schema.js";
|
|
66
66
|
import "./Layout/LayoutGrid/info.js";
|
|
@@ -238,7 +238,7 @@ import "./Modules/News/arm/NewsArm.js";
|
|
|
238
238
|
import "./Modules/Deposits/arm/DepositArm.js";
|
|
239
239
|
import "./Modules/ContentCards/arm/ContentCardArm.js";
|
|
240
240
|
import "./Modules/CurrencyRates/arm/CurrencyRatesArm.js";
|
|
241
|
-
import "./LayoutContext-
|
|
241
|
+
import "./LayoutContext-9bb8572b.js";
|
|
242
242
|
export {
|
|
243
243
|
zp as AllComponents,
|
|
244
244
|
Bp as AllComponentsData
|
|
@@ -50,7 +50,7 @@ import { footerDarkInfo as Q } from "./FooterDark/info.js";
|
|
|
50
50
|
import { formDefaultInfo as U } from "./Forms/FormDefault/info.js";
|
|
51
51
|
import { fullpageBannerInfo as X } from "./FullpageBanner/info.js";
|
|
52
52
|
import { groupedTableInfo as Y } from "./GroupedTable/info.js";
|
|
53
|
-
import { h as Z } from "./AllModuleData-
|
|
53
|
+
import { h as Z } from "./AllModuleData-e1acabd3.js";
|
|
54
54
|
import { headlineBannerInfo as _ } from "./HeadlineBanner/info.js";
|
|
55
55
|
import { heroIconsBannerInfo as oo } from "./HeroIconsBanner/info.js";
|
|
56
56
|
import { heroPossibilityBannerInfo as ro } 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 _t } from "./FullpageBanner/FullpageBanner.js";
|
|
74
74
|
import { GroupedTable as Dt } from "./GroupedTable/GroupedTable.js";
|
|
75
|
-
import { r as u, t as b, B as St, a as M, i as K, L as cr, d as dr, e as io, s as ur, f as X, A as fr, b as so } from "./LayoutContext-
|
|
75
|
+
import { r as u, t as b, B as St, a as M, i as K, L as cr, d as dr, e as io, s as ur, f as X, A as fr, b as so } from "./LayoutContext-9bb8572b.js";
|
|
76
76
|
import { r as ko, a as yr, c as Cr } from "./tokens-29849cf7.js";
|
|
77
77
|
import { ActionCardList as Bt } from "./ActionCardList/ActionCardList.js";
|
|
78
78
|
import { ActionCardSecondaryList as ht } from "./ActionCardSecondaryList/ActionCardSecondaryList.js";
|
|
@@ -792,7 +792,13 @@ const ha = {
|
|
|
792
792
|
"data-slides": L || void 0,
|
|
793
793
|
children: [
|
|
794
794
|
F,
|
|
795
|
-
/* @__PURE__ */ i(
|
|
795
|
+
/* @__PURE__ */ i(
|
|
796
|
+
"div",
|
|
797
|
+
{
|
|
798
|
+
className: j("mbl-slider-viewport", t.bleed && "mbl-slider-bleed"),
|
|
799
|
+
children: v
|
|
800
|
+
}
|
|
801
|
+
),
|
|
796
802
|
t.bullets && /* @__PURE__ */ i(
|
|
797
803
|
zr,
|
|
798
804
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import { r as v, t as V } from "../../LayoutContext-
|
|
2
|
+
import { r as v, t as V } from "../../LayoutContext-9bb8572b.js";
|
|
3
3
|
import { r as d } from "../../tokens-29849cf7.js";
|
|
4
4
|
import { B as h } from "../../index-4ceee683.js";
|
|
5
5
|
import { B as b, a as j } from "../../const-9ea436d6.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import "../../LayoutContext-
|
|
2
|
+
import "../../LayoutContext-9bb8572b.js";
|
|
3
3
|
import { r as n } from "../../tokens-29849cf7.js";
|
|
4
4
|
import { c } from "../../cn-6a4bf187.js";
|
|
5
5
|
import { propsToEdit as l } from "./schema.js";
|
|
@@ -1,123 +1,138 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
3
|
-
import { u as
|
|
4
|
-
import { r as x, a as
|
|
5
|
-
import { c as
|
|
6
|
-
import { actionsGenerator as
|
|
2
|
+
import { useState as L, useEffect as O } from "react";
|
|
3
|
+
import { u as T, a as A, r as e, t as n } from "../../LayoutContext-9bb8572b.js";
|
|
4
|
+
import { r as x, a as D } from "../../tokens-29849cf7.js";
|
|
5
|
+
import { c as g } from "../../cn-6a4bf187.js";
|
|
6
|
+
import { actionsGenerator as G } from "../../Actions/actionsGenerator.js";
|
|
7
7
|
import "../../Actions/projectActions.js";
|
|
8
8
|
import "../../Actions/types.js";
|
|
9
|
-
import { propsToEdit as
|
|
10
|
-
const
|
|
9
|
+
import { propsToEdit as V } from "./schema.js";
|
|
10
|
+
const $ = (o) => o !== "" && (o.includes("/") || o.includes(".") || o.startsWith("data:") || o.startsWith("blob:")), q = ({
|
|
11
11
|
link: o,
|
|
12
|
-
target:
|
|
12
|
+
target: v,
|
|
13
13
|
action: y,
|
|
14
|
-
aria_label:
|
|
15
|
-
name:
|
|
16
|
-
size:
|
|
14
|
+
aria_label: d,
|
|
15
|
+
name: s = "star",
|
|
16
|
+
size: i = 24,
|
|
17
17
|
color: C,
|
|
18
18
|
stroke_width: N = 1.5,
|
|
19
|
-
shape:
|
|
20
|
-
background_color:
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
shape: c = "none",
|
|
20
|
+
background_color: j,
|
|
21
|
+
box_size: l,
|
|
22
|
+
padding: E = 8,
|
|
23
|
+
className: m
|
|
23
24
|
}) => {
|
|
24
|
-
const [
|
|
25
|
-
|
|
26
|
-
if (
|
|
27
|
-
|
|
25
|
+
const [p, h] = L(null), I = T(), u = $(s);
|
|
26
|
+
O(() => {
|
|
27
|
+
if (u) {
|
|
28
|
+
h(null);
|
|
28
29
|
return;
|
|
29
30
|
}
|
|
30
31
|
let t = !0;
|
|
31
|
-
return import("../../iconNodes-2395ac4a.js").then((
|
|
32
|
-
t &&
|
|
32
|
+
return import("../../iconNodes-2395ac4a.js").then((b) => {
|
|
33
|
+
t && h(b.ICON_NODES[s] ?? null);
|
|
33
34
|
}).catch(() => {
|
|
34
|
-
t &&
|
|
35
|
+
t && h(null);
|
|
35
36
|
}), () => {
|
|
36
37
|
t = !1;
|
|
37
38
|
};
|
|
38
|
-
}, [
|
|
39
|
-
const
|
|
39
|
+
}, [s, u]);
|
|
40
|
+
const a = A(i, I ?? "base") ?? 24, B = x(C) ?? "currentColor", R = /* @__PURE__ */ r(
|
|
40
41
|
"img",
|
|
41
42
|
{
|
|
42
|
-
className:
|
|
43
|
+
className: g("mbl", c === "none" ? m : void 0),
|
|
43
44
|
style: {
|
|
44
|
-
...
|
|
45
|
+
...e("w", i, n),
|
|
45
46
|
// Высота тоже по экранам: без переменной на брейкпоинте картинка
|
|
46
47
|
// взяла бы атрибут ниже, а не растянулась вместе с шириной
|
|
47
|
-
...
|
|
48
|
+
...e("h", i, n),
|
|
48
49
|
objectFit: "contain"
|
|
49
50
|
},
|
|
50
|
-
width:
|
|
51
|
-
height:
|
|
52
|
-
src:
|
|
53
|
-
alt:
|
|
51
|
+
width: a,
|
|
52
|
+
height: a,
|
|
53
|
+
src: s,
|
|
54
|
+
alt: d ?? "",
|
|
54
55
|
loading: "lazy",
|
|
55
56
|
decoding: "async"
|
|
56
57
|
}
|
|
57
|
-
),
|
|
58
|
+
), W = /* @__PURE__ */ r(
|
|
58
59
|
"svg",
|
|
59
60
|
{
|
|
60
|
-
className:
|
|
61
|
-
style:
|
|
62
|
-
width:
|
|
63
|
-
height:
|
|
61
|
+
className: g("mbl", c === "none" ? m : void 0),
|
|
62
|
+
style: e("w", i, n),
|
|
63
|
+
width: a,
|
|
64
|
+
height: a,
|
|
64
65
|
viewBox: "0 0 24 24",
|
|
65
66
|
fill: "none",
|
|
66
|
-
stroke:
|
|
67
|
+
stroke: B,
|
|
67
68
|
strokeWidth: N,
|
|
68
69
|
strokeLinecap: "round",
|
|
69
70
|
strokeLinejoin: "round",
|
|
70
71
|
"aria-hidden": !0,
|
|
71
72
|
focusable: "false",
|
|
72
|
-
children:
|
|
73
|
+
children: p == null ? void 0 : p.map(([t, b], F) => /* @__PURE__ */ r(
|
|
73
74
|
t,
|
|
74
75
|
{
|
|
75
|
-
...
|
|
76
|
+
...b
|
|
76
77
|
},
|
|
77
|
-
|
|
78
|
+
F
|
|
78
79
|
))
|
|
79
80
|
}
|
|
80
|
-
),
|
|
81
|
+
), k = u ? R : W, w = l != null, f = c === "none" ? k : /* @__PURE__ */ r(
|
|
81
82
|
"span",
|
|
82
83
|
{
|
|
83
|
-
className:
|
|
84
|
+
className: g(
|
|
85
|
+
// `mbl` — чтобы сторона подложки шла по экранам тем же каскадом
|
|
86
|
+
// переменных, что размер иконки
|
|
84
87
|
"inline-flex items-center justify-center shrink-0",
|
|
85
|
-
|
|
88
|
+
w && "mbl",
|
|
89
|
+
m
|
|
86
90
|
),
|
|
87
91
|
style: {
|
|
88
|
-
backgroundColor: x(
|
|
89
|
-
borderRadius:
|
|
90
|
-
|
|
92
|
+
backgroundColor: x(j) ?? "transparent",
|
|
93
|
+
borderRadius: c === "circle" ? "9999px" : D("md"),
|
|
94
|
+
...w ? {
|
|
95
|
+
...e("w", l, n),
|
|
96
|
+
...e("h", l, n),
|
|
97
|
+
// Сторона — инлайном, а не классом `.mbl`: подложка — прямой
|
|
98
|
+
// ребёнок обёртки узла, и `.mbl-item > .mbl { height: 100% }`
|
|
99
|
+
// перебивал высоту — квадрат 61 сплющивался до высоты иконки
|
|
100
|
+
width: "var(--mbl-w-c)",
|
|
101
|
+
height: "var(--mbl-h-c)",
|
|
102
|
+
// flex у `.mbl` по умолчанию разрешает сжатие — подложка
|
|
103
|
+
// в узкой строке сплющилась бы в овал
|
|
104
|
+
flexShrink: 0
|
|
105
|
+
} : { padding: `${E}px` }
|
|
91
106
|
},
|
|
92
|
-
children:
|
|
107
|
+
children: k
|
|
93
108
|
}
|
|
94
109
|
);
|
|
95
110
|
if (!o && !y)
|
|
96
|
-
return
|
|
97
|
-
const
|
|
111
|
+
return f;
|
|
112
|
+
const S = "inline-flex cursor-pointer transition-opacity hover:opacity-80";
|
|
98
113
|
return o ? /* @__PURE__ */ r(
|
|
99
114
|
"a",
|
|
100
115
|
{
|
|
101
116
|
href: o,
|
|
102
|
-
target:
|
|
103
|
-
rel:
|
|
104
|
-
"aria-label":
|
|
105
|
-
className:
|
|
106
|
-
children:
|
|
117
|
+
target: v,
|
|
118
|
+
rel: v === "_blank" ? "noreferrer" : void 0,
|
|
119
|
+
"aria-label": d,
|
|
120
|
+
className: S,
|
|
121
|
+
children: f
|
|
107
122
|
}
|
|
108
123
|
) : /* @__PURE__ */ r(
|
|
109
124
|
"button",
|
|
110
125
|
{
|
|
111
126
|
type: "button",
|
|
112
|
-
"aria-label":
|
|
113
|
-
className:
|
|
114
|
-
...
|
|
115
|
-
children:
|
|
127
|
+
"aria-label": d,
|
|
128
|
+
className: S,
|
|
129
|
+
...G(y),
|
|
130
|
+
children: f
|
|
116
131
|
}
|
|
117
132
|
);
|
|
118
133
|
};
|
|
119
|
-
|
|
134
|
+
q.propsToEdit = V;
|
|
120
135
|
export {
|
|
121
|
-
|
|
122
|
-
|
|
136
|
+
q as AtomIcon,
|
|
137
|
+
$ as isImageSource
|
|
123
138
|
};
|
|
@@ -34,6 +34,13 @@ const t = [
|
|
|
34
34
|
dataType: a.string,
|
|
35
35
|
key: "background_color",
|
|
36
36
|
label: "Цвет подложки"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
type: e.RESPONSIVE_NUMBER,
|
|
40
|
+
dataType: a.number,
|
|
41
|
+
key: "box_size",
|
|
42
|
+
label: "Размер подложки",
|
|
43
|
+
hint: "Пусто — подложка обхватывает иконку с отступом 8px"
|
|
37
44
|
}
|
|
38
45
|
];
|
|
39
46
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
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-9bb8572b.js";
|
|
3
3
|
import { a as f } from "../../tokens-29849cf7.js";
|
|
4
4
|
import { I as b } from "../../index-df8034eb.js";
|
|
5
5
|
import { c as u } from "../../cn-6a4bf187.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as H } from "react/jsx-runtime";
|
|
2
2
|
import { createElement as S } from "react";
|
|
3
|
-
import { r as i, t as a, B as k, a as c } from "../../LayoutContext-
|
|
3
|
+
import { r as i, t as a, B as k, a as c } from "../../LayoutContext-9bb8572b.js";
|
|
4
4
|
import { T as h, r as w } from "../../tokens-29849cf7.js";
|
|
5
5
|
import { S as A, d as C, s as P } 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-e1acabd3.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 jp, z as kp } from "../AllModuleData-
|
|
5
|
+
import { h as jp, z as kp } from "../AllModuleData-e1acabd3.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "../ProductCard/ProductCard/ProductCard.js";
|
|
8
8
|
import "../ProductCard/ProductCardDetail/ProductCardDetail.js";
|
|
@@ -232,7 +232,7 @@ import "../Modules/News/arm/NewsArm.js";
|
|
|
232
232
|
import "../Modules/Deposits/arm/DepositArm.js";
|
|
233
233
|
import "../Modules/ContentCards/arm/ContentCardArm.js";
|
|
234
234
|
import "../Modules/CurrencyRates/arm/CurrencyRatesArm.js";
|
|
235
|
-
import "../LayoutContext-
|
|
235
|
+
import "../LayoutContext-9bb8572b.js";
|
|
236
236
|
import "../createBoolean-56064b0d.js";
|
|
237
237
|
import "../index-a4b0dde9.js";
|
|
238
238
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../LayoutContext-
|
|
3
|
-
import { i as a } from "../../AllModuleData-
|
|
2
|
+
import "../../LayoutContext-9bb8572b.js";
|
|
3
|
+
import { i as a } from "../../AllModuleData-e1acabd3.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-9bb8572b.js";
|
|
3
|
+
import { g as d } from "../../AllModuleData-e1acabd3.js";
|
|
4
4
|
import "../../ComponentContainer-aefde3e0.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-9bb8572b.js";
|
|
4
|
+
import { j as l } from "../../AllModuleData-e1acabd3.js";
|
|
5
5
|
import "../../ComponentContainer-aefde3e0.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 { B as l } from "../../AllModuleData-
|
|
5
|
+
import "../../LayoutContext-9bb8572b.js";
|
|
6
|
+
import { B as l } from "../../AllModuleData-e1acabd3.js";
|
|
7
7
|
import "./SliderTrack.js";
|
|
8
8
|
/* empty css */export {
|
|
9
9
|
l as LiveSlider
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { B as
|
|
1
|
+
import { jsx as c } from "react/jsx-runtime";
|
|
2
|
+
import { B as r, r as f, t as a, a as n } from "../../LayoutContext-9bb8572b.js";
|
|
3
3
|
import { c as d } from "../../cn-6a4bf187.js";
|
|
4
|
-
const
|
|
4
|
+
const l = (s, t) => {
|
|
5
5
|
const e = n(
|
|
6
6
|
s.slides_per_view,
|
|
7
7
|
t
|
|
@@ -10,50 +10,53 @@ const r = (s, t) => {
|
|
|
10
10
|
t
|
|
11
11
|
), i = n(s.space_between, t) ?? 24;
|
|
12
12
|
if (o !== void 0 && o !== "auto")
|
|
13
|
-
return
|
|
13
|
+
return a(o);
|
|
14
14
|
if (typeof e == "number" && e > 0)
|
|
15
15
|
return `calc((100% - ${i * (e - 1)}px) / ${e})`;
|
|
16
16
|
}, w = (s) => {
|
|
17
17
|
const t = {};
|
|
18
|
-
for (const e of
|
|
19
|
-
const o =
|
|
18
|
+
for (const e of r) {
|
|
19
|
+
const o = l(s, e);
|
|
20
20
|
if (!o)
|
|
21
21
|
continue;
|
|
22
22
|
const i = e === "base" ? "b" : e === "tablet" ? "t" : "m";
|
|
23
23
|
t[`--mbl-w-${i}`] = o;
|
|
24
24
|
}
|
|
25
25
|
return t;
|
|
26
|
-
},
|
|
26
|
+
}, v = (s) => {
|
|
27
27
|
const t = { flex: "0 0 auto" };
|
|
28
|
-
for (const e of
|
|
29
|
-
const o =
|
|
28
|
+
for (const e of r) {
|
|
29
|
+
const o = l(s, e);
|
|
30
30
|
if (!o)
|
|
31
31
|
continue;
|
|
32
32
|
const i = e === "base" ? "b" : e === "tablet" ? "t" : "m";
|
|
33
33
|
t[`--mbl-sw-${i}`] = o;
|
|
34
34
|
}
|
|
35
35
|
return t;
|
|
36
|
-
},
|
|
37
|
-
const e =
|
|
36
|
+
}, x = (s, t = "base") => {
|
|
37
|
+
const e = l(s, t);
|
|
38
38
|
return e ? { width: e, flex: "0 0 auto" } : { flex: "0 0 auto" };
|
|
39
|
-
},
|
|
39
|
+
}, p = ({
|
|
40
40
|
props: s,
|
|
41
41
|
children: t,
|
|
42
42
|
interactive: e = !1
|
|
43
|
-
}) => /* @__PURE__ */
|
|
43
|
+
}) => /* @__PURE__ */ c(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
46
46
|
className: d(
|
|
47
|
-
"mbl mbl-slider-track flex
|
|
47
|
+
"mbl mbl-slider-track flex",
|
|
48
|
+
// С растворением лента выдвинута влево (layout.css) и тянется сама:
|
|
49
|
+
// `w-full` сузил бы её на ширину сдвига
|
|
50
|
+
!s.edge_fade && "w-full",
|
|
48
51
|
e ? "overflow-x-auto" : "overflow-hidden"
|
|
49
52
|
),
|
|
50
|
-
style: f("gap", s.space_between,
|
|
53
|
+
style: f("gap", s.space_between, a),
|
|
51
54
|
children: t
|
|
52
55
|
}
|
|
53
56
|
);
|
|
54
57
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
+
p as SliderTrack,
|
|
59
|
+
v as liveSlideStyle,
|
|
60
|
+
x as slideWidthStyle,
|
|
58
61
|
w as slideWidthVars
|
|
59
62
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as t } from "../../AllModuleData-
|
|
1
|
+
import { j as t } from "../../AllModuleData-e1acabd3.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-9bb8572b.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-9bb8572b.js";
|
|
3
|
+
import { L } from "../../AllModuleData-e1acabd3.js";
|
|
4
4
|
import "../../ComponentContainer-aefde3e0.js";
|
|
5
5
|
import "../../cn-6a4bf187.js";
|
|
6
6
|
import "./schema.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as A } from "react/jsx-runtime";
|
|
2
2
|
import { createContext as S, useContext as g } from "react";
|
|
3
|
-
import './assets/LayoutContext.
|
|
3
|
+
import './assets/LayoutContext.3b96bfb6.css';const v = ["base", "tablet", "mobile"], I = {
|
|
4
4
|
base: null,
|
|
5
5
|
tablet: 960,
|
|
6
6
|
mobile: 768
|
|
@@ -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-e1acabd3.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-e1acabd3.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-e1acabd3.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-e1acabd3.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 u, y as L } from "../../../AllModuleData-
|
|
4
|
+
import { a as u, y as L } from "../../../AllModuleData-e1acabd3.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-e1acabd3.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-e1acabd3.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(
|