md-components-mdigial-azamat 0.0.109 → 0.0.112
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/ActionCardList/ActionCardList.js +8 -6
- package/dist/ActionCardList/index.js +1 -1
- package/dist/ActionCardList/info.js +1 -1
- package/dist/ActionIconList/ActionIconList.js +5 -3
- package/dist/AllComponents.js +11 -8
- package/dist/AllComponentsInfo.js +83 -81
- package/dist/ButtonsList/ButtonsList.js +25 -19
- package/dist/CardImageList/CardImageList.js +87 -71
- package/dist/CardImageList/info.js +1 -1
- package/dist/CardImageList/schema.js +57 -0
- package/dist/Cards/CardImage/CardImage.js +102 -55
- package/dist/Cards/CardImage/index.js +6 -1
- package/dist/Cards/CardImage/info.js +1 -1
- package/dist/Cards/CardImage/schema.js +32 -0
- package/dist/Cards/CardImage/types.js +3 -2
- package/dist/Cards/WarningCard/WarningCard.js +7 -5
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/info.js +1 -1
- package/dist/Flex-86aee720.js +78 -0
- package/dist/Footer/Footer.js +5 -5
- package/dist/Forms/FormDefault/index.js +1 -1
- package/dist/Forms/FormDefault/info.js +9 -7
- package/dist/Forms/helpers/renderFormFields.js +1 -1
- package/dist/Forms/model/components.js +7 -5
- package/dist/Header/Header.js +1 -1
- package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +12 -12
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +1 -1
- package/dist/Header/components/HeaderSearch/HeaderSearch.js +1 -1
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +10 -10
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +15 -15
- package/dist/HeroIconsBanner/HeroIconsBanner.js +73 -56
- package/dist/IconList/IconList.js +53 -33
- package/dist/ModalBody/index.js +1 -1
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/PreviewList/PreviewList.js +19 -19
- package/dist/PreviewList/components/PreviewCard/PreviewCard.js +29 -29
- package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/SearchBlock/SearchBlock.js +102 -0
- package/dist/SearchBlock/index.js +4 -0
- package/dist/SearchBlock/info.js +11 -0
- package/dist/SearchBlock/schema.js +36 -0
- package/dist/assets/index.css +1 -1
- package/dist/{clientApi-642fea4b.js → clientApi-ccb08ba6.js} +7 -7
- package/dist/{componentsMap-855b1df7.js → componentsMap-cac6c316.js} +4 -3
- package/dist/{data.mock-182979d1.js → data.mock-ebc679ec.js} +107 -27
- package/dist/{index-497f59a8.js → index-b795390d.js} +23 -20
- package/dist/{index.module-c8833286.js → index.module-8835bf96.js} +1 -1
- package/dist/{info-34fbb2a8.js → info-d05a1f02.js} +171 -158
- package/dist/main.js +107 -104
- package/dist/trash/HeroLargeCards/index.js +7 -6
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { AllActionsObject as l } from "../Actions/types.js";
|
|
2
|
+
import { CardImageVariant as e, CardImageSize as t } from "../Cards/CardImage/types.js";
|
|
3
|
+
import { FieldTypes as a } from "../Types/FiledTypes.js";
|
|
4
|
+
import { B as r } from "../const-53dff524.js";
|
|
5
|
+
const i = {
|
|
6
|
+
type: "cards",
|
|
7
|
+
dataType: "array",
|
|
8
|
+
label: "Карточки",
|
|
9
|
+
data: {
|
|
10
|
+
action: l,
|
|
11
|
+
title: a.TITLE,
|
|
12
|
+
description: a.DESCRIPTION,
|
|
13
|
+
image: a.FILE,
|
|
14
|
+
is_black: a.BOOLEAN
|
|
15
|
+
}
|
|
16
|
+
}, o = {
|
|
17
|
+
label: "Вариант",
|
|
18
|
+
key: "variant",
|
|
19
|
+
value: e.PRIMARY,
|
|
20
|
+
options: [
|
|
21
|
+
{
|
|
22
|
+
label: "Primary",
|
|
23
|
+
value: e.PRIMARY
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: "Secondary",
|
|
27
|
+
value: e.SECONDARY
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
type: a.VARIANT
|
|
31
|
+
}, s = {
|
|
32
|
+
label: "Размер",
|
|
33
|
+
key: "size",
|
|
34
|
+
value: t.LARGE,
|
|
35
|
+
options: [
|
|
36
|
+
{
|
|
37
|
+
label: "Large",
|
|
38
|
+
value: t.LARGE
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
label: "Small",
|
|
42
|
+
value: t.SMALL
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
type: a.VARIANT
|
|
46
|
+
}, A = [
|
|
47
|
+
"title",
|
|
48
|
+
"description",
|
|
49
|
+
o,
|
|
50
|
+
s,
|
|
51
|
+
i,
|
|
52
|
+
"grid",
|
|
53
|
+
r
|
|
54
|
+
];
|
|
55
|
+
export {
|
|
56
|
+
A as propsToEdit
|
|
57
|
+
};
|
|
@@ -1,71 +1,118 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { actionsGenerator as
|
|
1
|
+
import { jsxs as s, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import { actionsGenerator as f } from "../../Actions/actionsGenerator.js";
|
|
3
3
|
import "../../Actions/projectActions.js";
|
|
4
4
|
import "../../Actions/types.js";
|
|
5
|
-
import {
|
|
6
|
-
import { I as
|
|
7
|
-
import { c as
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
5
|
+
import { F as p } from "../../Flex-86aee720.js";
|
|
6
|
+
import { I as u } from "../../index-9384c6d6.js";
|
|
7
|
+
import { c as t } from "../../cn-6a4bf187.js";
|
|
8
|
+
import { propsToEdit as w } from "./schema.js";
|
|
9
|
+
import { CardImageVariant as m, CardImageSize as x } from "./types.js";
|
|
10
|
+
const o = {
|
|
11
|
+
[m.PRIMARY]: {
|
|
12
|
+
bg: "bg-white",
|
|
13
|
+
title: "text-blackBG",
|
|
14
|
+
description: "text-graySoft"
|
|
15
|
+
},
|
|
16
|
+
[m.SECONDARY]: {
|
|
17
|
+
bg: "bg-white/15 backdrop-blur-[15px]",
|
|
18
|
+
title: "text-white",
|
|
19
|
+
description: "text-white/80"
|
|
20
|
+
}
|
|
21
|
+
}, a = {
|
|
22
|
+
[x.SMALL]: {
|
|
23
|
+
borderRadius: "rounded-3xl",
|
|
24
|
+
padding: "pt-8 pb-4 px-6 gap-3",
|
|
25
|
+
imgHeight: "min-h-[256px] max-h-[272px] max-w-full",
|
|
26
|
+
imgWidth: "w-auto"
|
|
27
|
+
},
|
|
28
|
+
[x.LARGE]: {
|
|
29
|
+
borderRadius: "rounded-[20px]",
|
|
30
|
+
padding: "p-12 max-tablet:py-6 max-tablet:px-8 gap-5 max-tablet:gap-4",
|
|
31
|
+
imgHeight: "min-h-[264px] max-h-[356px] max-tablet:min-h-[262px] max-tablet:max-h-[262px]",
|
|
32
|
+
imgWidth: "w-full"
|
|
20
33
|
}
|
|
21
|
-
},
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
|
|
34
|
+
}, R = ({ data: d }) => {
|
|
35
|
+
const {
|
|
36
|
+
variant: i = m.PRIMARY,
|
|
37
|
+
size: e = x.LARGE,
|
|
38
|
+
title: n,
|
|
39
|
+
description: c,
|
|
40
|
+
image: g,
|
|
41
|
+
action: b,
|
|
42
|
+
is_black: r
|
|
43
|
+
} = d || {}, h = f(b);
|
|
44
|
+
return /* @__PURE__ */ s(
|
|
45
|
+
p,
|
|
25
46
|
{
|
|
26
|
-
...
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
47
|
+
...h,
|
|
48
|
+
vertical: !0,
|
|
49
|
+
align: "center",
|
|
50
|
+
justify: "between",
|
|
51
|
+
className: t(
|
|
52
|
+
"w-full overflow-hidden flex-1 transition-colors duration-300",
|
|
53
|
+
o[i].bg,
|
|
54
|
+
a[e].borderRadius,
|
|
55
|
+
{
|
|
56
|
+
"!bg-black": r
|
|
57
|
+
}
|
|
30
58
|
),
|
|
31
59
|
children: [
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
60
|
+
/* @__PURE__ */ s(
|
|
61
|
+
p,
|
|
62
|
+
{
|
|
63
|
+
vertical: !0,
|
|
64
|
+
align: "center",
|
|
65
|
+
className: t("w-full", a[e].padding),
|
|
66
|
+
children: [
|
|
67
|
+
/* @__PURE__ */ l(
|
|
68
|
+
"p",
|
|
69
|
+
{
|
|
70
|
+
className: t(
|
|
71
|
+
"font-bold text-2xl text-center max-tablet:text-xl max-tablet:leading-6",
|
|
72
|
+
o[i].title,
|
|
73
|
+
{
|
|
74
|
+
"text-white": r
|
|
75
|
+
}
|
|
76
|
+
),
|
|
77
|
+
children: n
|
|
78
|
+
}
|
|
49
79
|
),
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
80
|
+
/* @__PURE__ */ l(
|
|
81
|
+
"p",
|
|
82
|
+
{
|
|
83
|
+
className: t(
|
|
84
|
+
"text-base leading-6 text-center max-tablet:text-sm max-tablet:leading-5",
|
|
85
|
+
o[i].description,
|
|
86
|
+
{
|
|
87
|
+
"!text-white/80": r
|
|
88
|
+
}
|
|
89
|
+
),
|
|
90
|
+
children: c
|
|
91
|
+
}
|
|
92
|
+
)
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
),
|
|
96
|
+
/* @__PURE__ */ l(
|
|
97
|
+
u,
|
|
56
98
|
{
|
|
57
|
-
src:
|
|
58
|
-
alt:
|
|
59
|
-
className:
|
|
60
|
-
|
|
99
|
+
src: g,
|
|
100
|
+
alt: n,
|
|
101
|
+
className: t(
|
|
102
|
+
"w-full box-border max-tablet:h-[200px]",
|
|
103
|
+
a[e].imgHeight
|
|
104
|
+
),
|
|
105
|
+
imageStyles: t(
|
|
106
|
+
a[e].imgWidth,
|
|
107
|
+
"h-full max-tablet:w-[200px] object-contain"
|
|
108
|
+
)
|
|
61
109
|
}
|
|
62
110
|
)
|
|
63
111
|
]
|
|
64
112
|
}
|
|
65
113
|
);
|
|
66
114
|
};
|
|
67
|
-
|
|
115
|
+
R.propsToEdit = w;
|
|
68
116
|
export {
|
|
69
|
-
|
|
70
|
-
n as propsToEdit
|
|
117
|
+
R as CardImage
|
|
71
118
|
};
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { CardImage as e } from "./CardImage.js";
|
|
2
|
+
import { cardImageInfo as o } from "./info.js";
|
|
3
|
+
import { CardImageSize as d, CardImageVariant as f } from "./types.js";
|
|
2
4
|
export {
|
|
3
|
-
e as CardImage
|
|
5
|
+
e as CardImage,
|
|
6
|
+
d as CardImageSize,
|
|
7
|
+
f as CardImageVariant,
|
|
8
|
+
o as cardImageInfo
|
|
4
9
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as o } from "../../index-0a5f313c.js";
|
|
2
|
-
import { propsToEdit as t } from "./
|
|
2
|
+
import { propsToEdit as t } from "./schema.js";
|
|
3
3
|
const p = {
|
|
4
4
|
title: "Карточка с изображением",
|
|
5
5
|
description: "Компонент для отображения карточки с изображением, заголовком и описанием. Используется для представления отдельных элементов с визуальным контентом.",
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { FieldTypes as a } from "../../Types/FiledTypes.js";
|
|
2
|
+
import { CardImageVariant as e, CardImageSize as t } from "./types.js";
|
|
3
|
+
const l = {
|
|
4
|
+
type: "data",
|
|
5
|
+
label: "Данные карточки с изображением",
|
|
6
|
+
dataType: "object",
|
|
7
|
+
data: {
|
|
8
|
+
keys: {
|
|
9
|
+
title: a.TITLE,
|
|
10
|
+
description: a.DESCRIPTION,
|
|
11
|
+
image: a.FILE,
|
|
12
|
+
variant: {
|
|
13
|
+
type: a.VARIANT,
|
|
14
|
+
options: [
|
|
15
|
+
{ label: "Primary", value: e.PRIMARY },
|
|
16
|
+
{ label: "Secondary", value: e.SECONDARY }
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
size: {
|
|
20
|
+
type: a.VARIANT,
|
|
21
|
+
options: [
|
|
22
|
+
{ label: "Small", value: t.SMALL },
|
|
23
|
+
{ label: "Large", value: t.LARGE }
|
|
24
|
+
]
|
|
25
|
+
},
|
|
26
|
+
is_black: a.BOOLEAN
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}, r = [l];
|
|
30
|
+
export {
|
|
31
|
+
r as propsToEdit
|
|
32
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
var
|
|
1
|
+
var A = /* @__PURE__ */ ((r) => (r.LARGE = "large", r.SMALL = "small", r))(A || {}), R = /* @__PURE__ */ ((r) => (r.PRIMARY = "primary", r.SECONDARY = "secondary", r))(R || {});
|
|
2
2
|
export {
|
|
3
|
-
|
|
3
|
+
A as CardImageSize,
|
|
4
|
+
R as CardImageVariant
|
|
4
5
|
};
|
|
@@ -28,8 +28,9 @@ import "../../HeroPossibilityBanner/index.js";
|
|
|
28
28
|
import "../../PartnersColors/PartnersColors.js";
|
|
29
29
|
import "../../PreviewList/PreviewList.js";
|
|
30
30
|
import "../CardImage/CardImage.js";
|
|
31
|
+
import "../CardImage/info.js";
|
|
31
32
|
import "../ContentCard/ContentCard.js";
|
|
32
|
-
import { W as
|
|
33
|
+
import { W as to, p as mo } from "../../info-d05a1f02.js";
|
|
33
34
|
import "../ColoredCard/index.js";
|
|
34
35
|
import "../FeaturesCard/index.js";
|
|
35
36
|
import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
@@ -59,14 +60,12 @@ import "react-dom";
|
|
|
59
60
|
import "../../AnimatedSwiper/info.js";
|
|
60
61
|
import "../../Banner/info.js";
|
|
61
62
|
import "../../BannerAndText/info.js";
|
|
62
|
-
import "../../HeroIconsBanner/info.js";
|
|
63
63
|
import "../../ButtonsList/info.js";
|
|
64
64
|
import "../../CardIconList/info.js";
|
|
65
65
|
import "../../CardImageList/info.js";
|
|
66
66
|
import "../../CardImageSecondary/info.js";
|
|
67
67
|
import "../../CardImageSecondaryList/info.js";
|
|
68
68
|
import "../../CardInfoTable/info.js";
|
|
69
|
-
import "../CardImage/info.js";
|
|
70
69
|
import "../ColoredCard/info.js";
|
|
71
70
|
import "../ContentCard/info.js";
|
|
72
71
|
import "../FeaturesCard/info.js";
|
|
@@ -79,6 +78,7 @@ import "../../DownloadFile/components/DownloadFileMini/info.js";
|
|
|
79
78
|
import "../../Faq/info.js";
|
|
80
79
|
import "../../Footer/info.js";
|
|
81
80
|
import "../../Header/info.js";
|
|
81
|
+
import "../../HeroIconsBanner/info.js";
|
|
82
82
|
import "../../HeroPossibilityBanner/info.js";
|
|
83
83
|
import "../../IconList/info.js";
|
|
84
84
|
import "../../InfoBanner/info.js";
|
|
@@ -91,6 +91,7 @@ import "../../Partners/info.js";
|
|
|
91
91
|
import "../../PartnersColors/info.js";
|
|
92
92
|
import "../../PreviewList/info.js";
|
|
93
93
|
import "../../PromoPoster/info.js";
|
|
94
|
+
import "../../SearchBlock/info.js";
|
|
94
95
|
import "../../Segments/info.js";
|
|
95
96
|
import "../../Space/info.js";
|
|
96
97
|
import "../../StandartTable/info.js";
|
|
@@ -104,10 +105,11 @@ import "../../Video/VideoListMini/info.js";
|
|
|
104
105
|
import "../../VideoMainBanner/info.js";
|
|
105
106
|
import "../../Actions/types.js";
|
|
106
107
|
import "../../Actions/projectActions.js";
|
|
108
|
+
import "../../Flex-86aee720.js";
|
|
107
109
|
import "../../HeroIconsBanner/HeroIconsBanner.js";
|
|
108
110
|
import "../../Icon-70ea6cb8.js";
|
|
109
111
|
import "../../ComponentContainer-dca711c6.js";
|
|
110
112
|
export {
|
|
111
|
-
|
|
112
|
-
|
|
113
|
+
to as WarningCard,
|
|
114
|
+
mo as propsToEdit
|
|
113
115
|
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as h } from "react";
|
|
3
|
+
import { c as g } from "./cn-6a4bf187.js";
|
|
4
|
+
const F = {
|
|
5
|
+
start: "justify-start",
|
|
6
|
+
end: "justify-end",
|
|
7
|
+
center: "justify-center",
|
|
8
|
+
between: "justify-between",
|
|
9
|
+
around: "justify-around",
|
|
10
|
+
evenly: "justify-evenly"
|
|
11
|
+
}, N = {
|
|
12
|
+
start: "items-start",
|
|
13
|
+
end: "items-end",
|
|
14
|
+
center: "items-center",
|
|
15
|
+
baseline: "items-baseline",
|
|
16
|
+
stretch: "items-stretch"
|
|
17
|
+
}, P = {
|
|
18
|
+
start: "content-start",
|
|
19
|
+
end: "content-end",
|
|
20
|
+
center: "content-center",
|
|
21
|
+
between: "content-between",
|
|
22
|
+
around: "content-around",
|
|
23
|
+
evenly: "content-evenly",
|
|
24
|
+
stretch: "content-stretch"
|
|
25
|
+
}, R = {
|
|
26
|
+
row: "flex-row",
|
|
27
|
+
column: "flex-col",
|
|
28
|
+
"row-reverse": "flex-row-reverse",
|
|
29
|
+
"column-reverse": "flex-col-reverse"
|
|
30
|
+
}, k = {
|
|
31
|
+
nowrap: "flex-nowrap",
|
|
32
|
+
wrap: "flex-wrap",
|
|
33
|
+
"wrap-reverse": "flex-wrap-reverse"
|
|
34
|
+
}, q = h((r, s) => {
|
|
35
|
+
const {
|
|
36
|
+
children: o,
|
|
37
|
+
className: a,
|
|
38
|
+
justify: c = "start",
|
|
39
|
+
align: l = "start",
|
|
40
|
+
alignContent: n,
|
|
41
|
+
direction: i,
|
|
42
|
+
wrap: e = "nowrap",
|
|
43
|
+
gap: p,
|
|
44
|
+
as: f,
|
|
45
|
+
component: w,
|
|
46
|
+
max: m,
|
|
47
|
+
vertical: d,
|
|
48
|
+
flex: u,
|
|
49
|
+
style: y,
|
|
50
|
+
...x
|
|
51
|
+
} = r, v = w || f || "div", j = d ? "column" : i || "row";
|
|
52
|
+
let t = "nowrap";
|
|
53
|
+
typeof e == "boolean" ? t = e ? "wrap" : "nowrap" : t = e;
|
|
54
|
+
const C = [
|
|
55
|
+
"flex",
|
|
56
|
+
F[c],
|
|
57
|
+
N[l],
|
|
58
|
+
n && P[n],
|
|
59
|
+
R[j],
|
|
60
|
+
k[t],
|
|
61
|
+
m && "w-full",
|
|
62
|
+
a
|
|
63
|
+
];
|
|
64
|
+
return /* @__PURE__ */ b(
|
|
65
|
+
v,
|
|
66
|
+
{
|
|
67
|
+
ref: s,
|
|
68
|
+
className: g(...C),
|
|
69
|
+
style: { gap: p, flex: u, ...y },
|
|
70
|
+
...x,
|
|
71
|
+
children: o
|
|
72
|
+
}
|
|
73
|
+
);
|
|
74
|
+
});
|
|
75
|
+
q.displayName = "Flex";
|
|
76
|
+
export {
|
|
77
|
+
q as F
|
|
78
|
+
};
|
package/dist/Footer/Footer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as j, jsx as M } from "react/jsx-runtime";
|
|
2
|
-
import { useState as
|
|
2
|
+
import { useState as b, useEffect as v } from "react";
|
|
3
3
|
import { L } from "../languages-list-87ab3324.js";
|
|
4
|
-
import { c as e } from "../clientApi-
|
|
4
|
+
import { c as e } from "../clientApi-ccb08ba6.js";
|
|
5
5
|
import { R as i } from "../routes-76228734.js";
|
|
6
6
|
import { I as f } from "../index-9384c6d6.js";
|
|
7
7
|
import { c as z } from "../cn-6a4bf187.js";
|
|
@@ -252,11 +252,11 @@ function MM(D) {
|
|
|
252
252
|
return D ? D.replace(/[^\d]/g, "") : "";
|
|
253
253
|
}
|
|
254
254
|
const NM = "app_language", DM = () => localStorage.getItem(NM) || L.RU, jM = "https://api.whatsapp.com/send?phone=", IM = "https://t.me/", zM = "tel:", a = "mailto:", lM = ({ footerTheme: D = "grey" }) => {
|
|
255
|
-
const [N, T] =
|
|
255
|
+
const [N, T] = b(void 0);
|
|
256
256
|
if (v(() => {
|
|
257
257
|
const A = async () => {
|
|
258
258
|
try {
|
|
259
|
-
const y = DM(), g = window.location.pathname, r = g.startsWith(i.LEGAL), s = g.startsWith(i.MKASSA), o = g.startsWith(i.MBUSINESS), d = g.startsWith(i.MPLUS_PARTNERS), m = g.startsWith(i.ISLAM), h = g.startsWith(i.MISLAMIC_NEW),
|
|
259
|
+
const y = DM(), g = window.location.pathname, r = g.startsWith(i.LEGAL), s = g.startsWith(i.MKASSA), o = g.startsWith(i.MBUSINESS), d = g.startsWith(i.MPLUS_PARTNERS), m = g.startsWith(i.ISLAM), h = g.startsWith(i.MISLAMIC_NEW), p = r || o || s || d ? "legal" : m || h ? "islam" : void 0, { data: O } = await q.getHeaderFooter(y, p);
|
|
260
260
|
O && T(O);
|
|
261
261
|
} catch (y) {
|
|
262
262
|
console.error("Error fetching footer data:", y);
|
|
@@ -275,7 +275,7 @@ const NM = "app_language", DM = () => localStorage.getItem(NM) || L.RU, jM = "ht
|
|
|
275
275
|
};
|
|
276
276
|
}, []), !N)
|
|
277
277
|
return null;
|
|
278
|
-
const Q = window.location.pathname === "/yuridichecskiye-litsa", u = [
|
|
278
|
+
const Q = typeof window < "u" ? window.location.pathname === "/yuridichecskiye-litsa" : !1, u = [
|
|
279
279
|
{ link: N.instagram_link, icon: /* @__PURE__ */ M(P, {}) },
|
|
280
280
|
{ link: N.fb_link, icon: /* @__PURE__ */ M(G, {}) },
|
|
281
281
|
{ link: N.ok_link, icon: /* @__PURE__ */ M(R, {}) },
|
|
@@ -3,7 +3,7 @@ import "react";
|
|
|
3
3
|
import "../../index-a0ed2e4a.js";
|
|
4
4
|
import "../../index-875e92ce.js";
|
|
5
5
|
import "../../const-53dff524.js";
|
|
6
|
-
import { F, l as d } from "../../info-
|
|
6
|
+
import { F, l as d } from "../../info-d05a1f02.js";
|
|
7
7
|
import "../../ComponentContainer-dca711c6.js";
|
|
8
8
|
import "../../useScreenSize-c1b64c02.js";
|
|
9
9
|
import "../../requestForm-23442a57.js";
|
|
@@ -27,8 +27,9 @@ import "../../HeroPossibilityBanner/index.js";
|
|
|
27
27
|
import "../../PartnersColors/PartnersColors.js";
|
|
28
28
|
import "../../PreviewList/PreviewList.js";
|
|
29
29
|
import "../../Cards/CardImage/CardImage.js";
|
|
30
|
+
import "../../Cards/CardImage/info.js";
|
|
30
31
|
import "../../Cards/ContentCard/ContentCard.js";
|
|
31
|
-
import { k as
|
|
32
|
+
import { k as fr, f as sr, j as ar, i as er } from "../../info-d05a1f02.js";
|
|
32
33
|
import "../../Cards/ColoredCard/index.js";
|
|
33
34
|
import "../../Cards/FeaturesCard/index.js";
|
|
34
35
|
import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
@@ -58,14 +59,12 @@ import "react-dom";
|
|
|
58
59
|
import "../../AnimatedSwiper/info.js";
|
|
59
60
|
import "../../Banner/info.js";
|
|
60
61
|
import "../../BannerAndText/info.js";
|
|
61
|
-
import "../../HeroIconsBanner/info.js";
|
|
62
62
|
import "../../ButtonsList/info.js";
|
|
63
63
|
import "../../CardIconList/info.js";
|
|
64
64
|
import "../../CardImageList/info.js";
|
|
65
65
|
import "../../CardImageSecondary/info.js";
|
|
66
66
|
import "../../CardImageSecondaryList/info.js";
|
|
67
67
|
import "../../CardInfoTable/info.js";
|
|
68
|
-
import "../../Cards/CardImage/info.js";
|
|
69
68
|
import "../../Cards/ColoredCard/info.js";
|
|
70
69
|
import "../../Cards/ContentCard/info.js";
|
|
71
70
|
import "../../Cards/FeaturesCard/info.js";
|
|
@@ -78,6 +77,7 @@ import "../../DownloadFile/components/DownloadFileMini/info.js";
|
|
|
78
77
|
import "../../Faq/info.js";
|
|
79
78
|
import "../../Footer/info.js";
|
|
80
79
|
import "../../Header/info.js";
|
|
80
|
+
import "../../HeroIconsBanner/info.js";
|
|
81
81
|
import "../../HeroPossibilityBanner/info.js";
|
|
82
82
|
import "../../IconList/info.js";
|
|
83
83
|
import "../../InfoBanner/info.js";
|
|
@@ -90,6 +90,7 @@ import "../../Partners/info.js";
|
|
|
90
90
|
import "../../PartnersColors/info.js";
|
|
91
91
|
import "../../PreviewList/info.js";
|
|
92
92
|
import "../../PromoPoster/info.js";
|
|
93
|
+
import "../../SearchBlock/info.js";
|
|
93
94
|
import "../../Segments/info.js";
|
|
94
95
|
import "../../Space/info.js";
|
|
95
96
|
import "../../StandartTable/info.js";
|
|
@@ -103,14 +104,15 @@ import "../../Video/VideoListMini/info.js";
|
|
|
103
104
|
import "../../VideoMainBanner/info.js";
|
|
104
105
|
import "../../Actions/types.js";
|
|
105
106
|
import "../../Actions/projectActions.js";
|
|
107
|
+
import "../../Flex-86aee720.js";
|
|
106
108
|
import "../../HeroIconsBanner/HeroIconsBanner.js";
|
|
107
109
|
import "../../requestForm-23442a57.js";
|
|
108
110
|
import "../../index-0a5f313c.js";
|
|
109
111
|
import "./componentTypes.js";
|
|
110
112
|
import "./fieldTypesList.js";
|
|
111
113
|
export {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
fr as FormFieldsProps,
|
|
115
|
+
sr as formDefaultInfo,
|
|
116
|
+
ar as formDefaultProps,
|
|
117
|
+
er as info
|
|
116
118
|
};
|
|
@@ -27,8 +27,9 @@ import "../../HeroPossibilityBanner/index.js";
|
|
|
27
27
|
import "../../PartnersColors/PartnersColors.js";
|
|
28
28
|
import "../../PreviewList/PreviewList.js";
|
|
29
29
|
import "../../Cards/CardImage/CardImage.js";
|
|
30
|
+
import "../../Cards/CardImage/info.js";
|
|
30
31
|
import "../../Cards/ContentCard/ContentCard.js";
|
|
31
|
-
import { h as
|
|
32
|
+
import { h as pp, g as tp } from "../../info-d05a1f02.js";
|
|
32
33
|
import "../../Cards/ColoredCard/index.js";
|
|
33
34
|
import "../../Cards/FeaturesCard/index.js";
|
|
34
35
|
import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
@@ -57,14 +58,12 @@ import "react-dom";
|
|
|
57
58
|
import "../../AnimatedSwiper/info.js";
|
|
58
59
|
import "../../Banner/info.js";
|
|
59
60
|
import "../../BannerAndText/info.js";
|
|
60
|
-
import "../../HeroIconsBanner/info.js";
|
|
61
61
|
import "../../ButtonsList/info.js";
|
|
62
62
|
import "../../CardIconList/info.js";
|
|
63
63
|
import "../../CardImageList/info.js";
|
|
64
64
|
import "../../CardImageSecondary/info.js";
|
|
65
65
|
import "../../CardImageSecondaryList/info.js";
|
|
66
66
|
import "../../CardInfoTable/info.js";
|
|
67
|
-
import "../../Cards/CardImage/info.js";
|
|
68
67
|
import "../../Cards/ColoredCard/info.js";
|
|
69
68
|
import "../../Cards/ContentCard/info.js";
|
|
70
69
|
import "../../Cards/FeaturesCard/info.js";
|
|
@@ -77,6 +76,7 @@ import "../../DownloadFile/components/DownloadFileMini/info.js";
|
|
|
77
76
|
import "../../Faq/info.js";
|
|
78
77
|
import "../../Footer/info.js";
|
|
79
78
|
import "../../Header/info.js";
|
|
79
|
+
import "../../HeroIconsBanner/info.js";
|
|
80
80
|
import "../../HeroPossibilityBanner/info.js";
|
|
81
81
|
import "../../IconList/info.js";
|
|
82
82
|
import "../../InfoBanner/info.js";
|
|
@@ -89,6 +89,7 @@ import "../../Partners/info.js";
|
|
|
89
89
|
import "../../PartnersColors/info.js";
|
|
90
90
|
import "../../PreviewList/info.js";
|
|
91
91
|
import "../../PromoPoster/info.js";
|
|
92
|
+
import "../../SearchBlock/info.js";
|
|
92
93
|
import "../../Segments/info.js";
|
|
93
94
|
import "../../Space/info.js";
|
|
94
95
|
import "../../StandartTable/info.js";
|
|
@@ -102,8 +103,9 @@ import "../../Video/VideoListMini/info.js";
|
|
|
102
103
|
import "../../VideoMainBanner/info.js";
|
|
103
104
|
import "../../Actions/types.js";
|
|
104
105
|
import "../../Actions/projectActions.js";
|
|
106
|
+
import "../../Flex-86aee720.js";
|
|
105
107
|
import "../../HeroIconsBanner/HeroIconsBanner.js";
|
|
106
108
|
export {
|
|
107
|
-
|
|
108
|
-
|
|
109
|
+
pp as componentsList,
|
|
110
|
+
tp as componentsMap
|
|
109
111
|
};
|
package/dist/Header/Header.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, Fragment as p } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f, useEffect as u } from "react";
|
|
3
|
-
import { H as h } from "../index.module-
|
|
3
|
+
import { H as h } from "../index.module-8835bf96.js";
|
|
4
4
|
import { L as w } from "../languages-list-87ab3324.js";
|
|
5
5
|
import { R as L } from "../routes-76228734.js";
|
|
6
6
|
import { c as v } from "../cn-6a4bf187.js";
|