md-components-mdigial-azamat 0.0.109 → 0.0.113
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 +32 -7
- package/dist/ActionCardList/index.js +1 -1
- package/dist/ActionCardList/info.js +1 -1
- package/dist/ActionCardSecondaryList/ActionCardSecondaryList.js +32 -0
- package/dist/ActionCardSecondaryList/index.js +6 -0
- package/dist/ActionCardSecondaryList/info.js +11 -0
- package/dist/ActionCardSecondaryList/schema.js +51 -0
- package/dist/ActionCardSecondaryList/types.js +4 -0
- package/dist/ActionIconList/ActionIconList.js +29 -4
- package/dist/AllComponents.js +35 -9
- package/dist/AllComponentsInfo.js +107 -89
- package/dist/AnimatedSwiper/index.js +40 -38
- package/dist/ButtonsList/ButtonsList.js +25 -19
- package/dist/CardImageList/CardImageList.js +130 -73
- package/dist/CardImageList/info.js +1 -1
- package/dist/CardImageList/schema.js +62 -0
- package/dist/Cards/ActionSecondaryCard/ActionSecondaryCard.js +77 -0
- package/dist/Cards/ActionSecondaryCard/index.js +6 -0
- package/dist/Cards/ActionSecondaryCard/info.js +11 -0
- package/dist/Cards/ActionSecondaryCard/types.js +4 -0
- package/dist/Cards/CardImage/CardImage.js +100 -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/InfoCard/InfoCard.js +114 -0
- package/dist/Cards/InfoCard/index.js +9 -0
- package/dist/Cards/InfoCard/info.js +11 -0
- package/dist/Cards/InfoCard/schema.js +60 -0
- package/dist/Cards/InfoCard/types.js +4 -0
- package/dist/Cards/PostCard/PostCard.js +60 -0
- package/dist/Cards/PostCard/index.js +6 -0
- package/dist/Cards/PostCard/info.js +11 -0
- package/dist/Cards/PostCard/types.js +4 -0
- package/dist/Cards/WarningCard/WarningCard.js +31 -6
- package/dist/Cards/WarningCard/index.js +1 -1
- package/dist/Cards/WarningCard/info.js +1 -1
- package/dist/Cards/WarningCard/model.js +1 -1
- package/dist/CurrencyRates/CurrencyRates.js +78 -0
- package/dist/CurrencyRates/components/Calculator.js +101 -0
- package/dist/CurrencyRates/components/RateCell.js +15 -0
- package/dist/CurrencyRates/components/RatesTable.js +134 -0
- package/dist/CurrencyRates/components/index.js +6 -0
- package/dist/CurrencyRates/index.js +8 -0
- package/dist/CurrencyRates/info.js +11 -0
- package/dist/CurrencyRates/schema.js +63 -0
- package/dist/CurrencyRates/types.js +4 -0
- package/dist/DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js +1 -1
- package/dist/DownloadFile/components/DownloadFileFull/DownloadFileFull.js +1 -1
- package/dist/DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js +1 -1
- package/dist/DownloadFile/components/DownloadFileMini/DownloadFileMini.js +1 -1
- package/dist/DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js +1 -1
- package/dist/Faq/Faq.js +1 -1
- package/dist/Faq/components/FeedbackForm/FeedbackForm.js +55 -6
- package/dist/Faq/components/FeedbackForm/index.js +1 -1
- package/dist/FieldInput-ef2a18d4.js +2743 -0
- package/dist/Flex-86aee720.js +78 -0
- package/dist/Footer/Footer.js +5 -5
- package/dist/Forms/FormDefault/FormDefault.js +12 -0
- package/dist/Forms/FormDefault/components/FieldCustom.js +11 -0
- package/dist/Forms/FormDefault/components/FieldInput.js +11 -0
- package/dist/Forms/FormDefault/components/FieldSection.js +10 -0
- package/dist/Forms/FormDefault/components/FormContent.js +10 -0
- package/dist/Forms/FormDefault/components/FormFields.js +7 -0
- package/dist/Forms/FormDefault/components/FormSuccessMessage.js +49 -0
- package/dist/Forms/FormDefault/components/index.js +6 -0
- package/dist/Forms/FormDefault/hooks/index.js +10 -0
- package/dist/Forms/FormDefault/hooks/useFieldOptions.js +32 -0
- package/dist/Forms/FormDefault/hooks/useFieldValidation.js +33 -0
- package/dist/Forms/FormDefault/hooks/useFieldVisibility.js +24 -0
- package/dist/Forms/FormDefault/hooks/useFormSubmission.js +64 -0
- package/dist/Forms/FormDefault/index.js +6 -12
- package/dist/Forms/FormDefault/info.js +3 -113
- package/dist/Forms/FormDefault/model/componentRegistry.js +134 -0
- package/dist/Forms/FormDefault/model/fieldTypes.js +18 -0
- package/dist/Forms/FormDefault/model/formElementTypes.js +18 -0
- package/dist/Forms/FormDefault/model/index.js +13 -0
- package/dist/Forms/FormDefault/model/requestForm.js +4 -0
- package/dist/Forms/{model/components.js → FormDefault/schema.js} +36 -7
- package/dist/Forms/FormDefault/utils.js +20 -0
- package/dist/Grid-331af266.js +80 -0
- package/dist/Header/Header.js +54 -42
- package/dist/Header/components/HeaderMainMobile/HeaderMainMobile.js +26 -24
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +67 -52
- package/dist/Header/components/HeaderSearch/HeaderSearch.js +1 -1
- package/dist/Header/components/HeaderTab/HeaderTab.js +17 -15
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +10 -9
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +134 -114
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +8 -7
- package/dist/HeroIconsBanner/HeroIconsBanner.js +71 -54
- package/dist/IconList/IconList.js +59 -33
- package/dist/InfoCardList/InfoCardList.js +100 -0
- package/dist/InfoCardList/index.js +6 -0
- package/dist/InfoCardList/info.js +11 -0
- package/dist/InfoCardList/schema.js +39 -0
- package/dist/InfoCardList/types.js +1 -0
- package/dist/ModalBody/index.js +1 -1
- package/dist/PageViewer/renderComponents.js +1 -1
- package/dist/PostsList/PostsList.js +78 -0
- package/dist/PostsList/index.js +4 -0
- package/dist/PostsList/info.js +11 -0
- package/dist/PostsList/schema.js +49 -0
- package/dist/PostsList/types.js +1 -0
- package/dist/PostsSlider/PostsSlider.js +78 -0
- package/dist/PostsSlider/index.js +4 -0
- package/dist/PostsSlider/info.js +11 -0
- package/dist/PostsSlider/schema.js +49 -0
- package/dist/PostsSlider/types.js +1 -0
- 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 +101 -0
- package/dist/SearchBlock/index.js +4 -0
- package/dist/SearchBlock/info.js +11 -0
- package/dist/SearchBlock/schema.js +36 -0
- package/dist/SegmentedContent/SegmentedContent.js +160 -0
- package/dist/SegmentedContent/components/ContentCard.js +50 -0
- package/dist/SegmentedContent/components/index.js +4 -0
- package/dist/SegmentedContent/index.js +8 -0
- package/dist/SegmentedContent/info.js +12 -0
- package/dist/SegmentedContent/schema.js +108 -0
- package/dist/SegmentedContent/types.js +1 -0
- package/dist/Segments/Segments.js +36 -28
- package/dist/Segments/index.js +8 -2
- package/dist/Segments/info.js +1 -1
- package/dist/Segments/schema.js +21 -0
- package/dist/Segments/types.js +4 -1
- package/dist/SegmentsIcons/SegmentsIcons.js +92 -0
- package/dist/SegmentsIcons/index.js +8 -0
- package/dist/SegmentsIcons/info.js +11 -0
- package/dist/SegmentsIcons/schema.js +14 -0
- package/dist/SegmentsIcons/types.js +1 -0
- package/dist/SwiperList/SwiperList.js +13 -11
- package/dist/assets/index.css +1 -1
- package/dist/{clientApi-642fea4b.js → clientApi-ccb08ba6.js} +7 -7
- package/dist/{componentsMap-855b1df7.js → componentsMap-29ccdfcc.js} +6 -3
- package/dist/{data.mock-182979d1.js → data.mock-bb32e8ee.js} +485 -133
- package/dist/index-0791c17f.js +56 -0
- package/dist/index-2ec92a04.js +32 -0
- package/dist/{index-497f59a8.js → index-b795390d.js} +23 -20
- package/dist/index.esm-0558519f.js +1171 -0
- package/dist/{index.module-c8833286.js → index.module-8835bf96.js} +1 -1
- package/dist/info-72904479.js +791 -0
- package/dist/main.js +151 -116
- package/dist/{mousewheel-865ae601.js → mousewheel-afbc6d42.js} +1 -1
- package/dist/navigation-266856e7.js +136 -0
- package/dist/navigation-cd786a0d.js +133 -0
- package/dist/{palette-c2fe86ec.js → palette-256cf77a.js} +3 -1
- package/dist/{swiper-react-90953710.js → swiper-react-3c2710e8.js} +695 -825
- package/dist/trash/HeroLargeCards/index.js +7 -6
- package/dist/types-c3843cc0.js +4 -0
- package/dist/useDraggableScroll-440da9b7.js +29 -0
- package/dist/useTranslation-d7a3ca6f.js +298 -0
- package/package.json +1 -1
- package/dist/FileLoader/fileLoader.js +0 -22
- package/dist/FileLoader/index.js +0 -8
- package/dist/Forms/FormDefault/componentTypes.js +0 -31
- package/dist/Forms/FormDefault/fieldTypesList.js +0 -45
- package/dist/Forms/helpers/renderFormFields.js +0 -7
- package/dist/Forms/model/requestForm.js +0 -4
- package/dist/index-6686852d.js +0 -1794
- package/dist/index-a0ed2e4a.js +0 -1221
- package/dist/info-34fbb2a8.js +0 -1534
- package/dist/navigation-b894d0cd.js +0 -183
- /package/dist/Forms/{types/formItems.js → FormDefault/model/types.js} +0 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import "../../../TitleBlock/TitleBlock.js";
|
|
2
|
+
import "../../../ConfigProvider/index.js";
|
|
3
|
+
import "../../../Banner/Banner.js";
|
|
4
|
+
import "../../../BannerAndText/index.js";
|
|
5
|
+
import "react/jsx-runtime";
|
|
6
|
+
import "react";
|
|
7
|
+
import "../../../Faq/components/Collapse/Collapse.js";
|
|
8
|
+
import "../../../Header/components/HeaderTabsMobile/HeaderTabsMobile.js";
|
|
9
|
+
import "../../../HtmlContent/HtmlContent.js";
|
|
10
|
+
import "../../../Header/components/TabsOutlined/TabsOutlined.js";
|
|
11
|
+
import "../../../index-875e92ce.js";
|
|
12
|
+
import "../../../const-53dff524.js";
|
|
13
|
+
import "../../../Stepper/Stepper.js";
|
|
14
|
+
import "../../../Segments/Segments.js";
|
|
15
|
+
import "../../../Segments/info.js";
|
|
16
|
+
import "../../../Segments/schema.js";
|
|
17
|
+
import "../../../Video/VideoFull/VideoFull.js";
|
|
18
|
+
import "../../../Video/VideoList/VideoList.js";
|
|
19
|
+
import "../../../Video/VideoListMini/VideoListMini.js";
|
|
20
|
+
import "../../../ContentCardList/ContentCardList.js";
|
|
21
|
+
import "../../../CardIconList/CardIconList.js";
|
|
22
|
+
import "../../../MultiCards/index.js";
|
|
23
|
+
import "../../../Partners/Partners.js";
|
|
24
|
+
import "../../../CardImageList/CardImageList.js";
|
|
25
|
+
import "../../../MainBanner/MainBanner.js";
|
|
26
|
+
import "../../../Faq/Faq.js";
|
|
27
|
+
import "../../../InstructionList/InstructionList.js";
|
|
28
|
+
import "../../../HeroPossibilityBanner/index.js";
|
|
29
|
+
import "../../../PartnersColors/PartnersColors.js";
|
|
30
|
+
import "../../../PreviewList/PreviewList.js";
|
|
31
|
+
import "../../../Cards/CardImage/CardImage.js";
|
|
32
|
+
import "../../../Cards/CardImage/info.js";
|
|
33
|
+
import "../../../Cards/ContentCard/ContentCard.js";
|
|
34
|
+
import { h as vp, g as wp } from "../../../info-72904479.js";
|
|
35
|
+
import "../../../Cards/ColoredCard/index.js";
|
|
36
|
+
import "../../../Cards/FeaturesCard/index.js";
|
|
37
|
+
import "../../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
38
|
+
import "../../../DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
39
|
+
import "../../../DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
40
|
+
import "../../../DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
41
|
+
import "../../../InstructionList/components/InstructionCard/InstructionCard.js";
|
|
42
|
+
import "../../../PreviewList/components/PreviewCard/PreviewCard.js";
|
|
43
|
+
import "../../../AnimatedSwiper/index.js";
|
|
44
|
+
import "../../../CardImageSecondary/CardImageSecondary.js";
|
|
45
|
+
import "../../../CardImageSecondaryList/CardImageSecondaryList.js";
|
|
46
|
+
import "../../../CardInfoTable/index.js";
|
|
47
|
+
import "../../../DownloadFile/components/DownloadFileBright/index.js";
|
|
48
|
+
import "../../../DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
|
|
49
|
+
import "../../../InfoBanner/index.js";
|
|
50
|
+
import "../../../InfoBannerList/InfoBannerList.js";
|
|
51
|
+
import "../../../IntroBanner/IntroBanner.js";
|
|
52
|
+
import "../../../PromoPoster/PromoPoster.js";
|
|
53
|
+
import "../../../Space/Space.js";
|
|
54
|
+
import "../../../StandartTable/index.js";
|
|
55
|
+
import "../../../SwiperList/SwiperList.js";
|
|
56
|
+
import "../../../TasksBanner/TasksBanner.js";
|
|
57
|
+
import "../../../TasksBannerList/TasksBannerList.js";
|
|
58
|
+
import "../../../VideoMainBanner/VideoMainBanner.js";
|
|
59
|
+
import "react-dom";
|
|
60
|
+
import "../../../ActionCardSecondaryList/info.js";
|
|
61
|
+
import "../../../AnimatedSwiper/info.js";
|
|
62
|
+
import "../../../Banner/info.js";
|
|
63
|
+
import "../../../BannerAndText/info.js";
|
|
64
|
+
import "../../../ButtonsList/info.js";
|
|
65
|
+
import "../../../CardIconList/info.js";
|
|
66
|
+
import "../../../CardImageList/info.js";
|
|
67
|
+
import "../../../CardImageSecondary/info.js";
|
|
68
|
+
import "../../../CardImageSecondaryList/info.js";
|
|
69
|
+
import "../../../CardInfoTable/info.js";
|
|
70
|
+
import "../../../Cards/ColoredCard/info.js";
|
|
71
|
+
import "../../../Cards/ContentCard/info.js";
|
|
72
|
+
import "../../../Cards/FeaturesCard/info.js";
|
|
73
|
+
import "../../../Cards/InfoCard/info.js";
|
|
74
|
+
import "../../../Cards/PostCard/info.js";
|
|
75
|
+
import "../../../ContentCardList/info.js";
|
|
76
|
+
import "../../../CurrencyRates/info.js";
|
|
77
|
+
import "../../../DownloadFile/components/DownloadFileBanner/info.js";
|
|
78
|
+
import "../../../DownloadFile/components/DownloadFileBright/info.js";
|
|
79
|
+
import "../../../DownloadFile/components/DownloadFileFull/info.js";
|
|
80
|
+
import "../../../DownloadFile/components/DownloadFileHalf/info.js";
|
|
81
|
+
import "../../../DownloadFile/components/DownloadFileMini/info.js";
|
|
82
|
+
import "../../../Faq/info.js";
|
|
83
|
+
import "../../../Footer/info.js";
|
|
84
|
+
import "../../../Header/info.js";
|
|
85
|
+
import "../../../HeroIconsBanner/info.js";
|
|
86
|
+
import "../../../HeroPossibilityBanner/info.js";
|
|
87
|
+
import "../../../IconList/info.js";
|
|
88
|
+
import "../../../InfoBanner/info.js";
|
|
89
|
+
import "../../../InfoBannerList/info.js";
|
|
90
|
+
import "../../../InfoCardList/info.js";
|
|
91
|
+
import "../../../InstructionList/info.js";
|
|
92
|
+
import "../../../IntroBanner/info.js";
|
|
93
|
+
import "../../../MainBanner/info.js";
|
|
94
|
+
import "../../../MultiCards/info.js";
|
|
95
|
+
import "../../../Partners/info.js";
|
|
96
|
+
import "../../../PartnersColors/info.js";
|
|
97
|
+
import "../../../PostsSlider/info.js";
|
|
98
|
+
import "../../../PreviewList/info.js";
|
|
99
|
+
import "../../../PromoPoster/info.js";
|
|
100
|
+
import "../../../SearchBlock/info.js";
|
|
101
|
+
import "../../../SegmentedContent/info.js";
|
|
102
|
+
import "../../../SegmentsIcons/info.js";
|
|
103
|
+
import "../../../Space/info.js";
|
|
104
|
+
import "../../../StandartTable/info.js";
|
|
105
|
+
import "../../../Stepper/info.js";
|
|
106
|
+
import "../../../SwiperList/info.js";
|
|
107
|
+
import "../../../TasksBanner/info.js";
|
|
108
|
+
import "../../../TasksBannerList/info.js";
|
|
109
|
+
import "../../../Video/VideoFull/info.js";
|
|
110
|
+
import "../../../Video/VideoList/info.js";
|
|
111
|
+
import "../../../Video/VideoListMini/info.js";
|
|
112
|
+
import "../../../VideoMainBanner/info.js";
|
|
113
|
+
import "../../../Actions/types.js";
|
|
114
|
+
import "../../../Actions/projectActions.js";
|
|
115
|
+
import "../../../Flex-86aee720.js";
|
|
116
|
+
import "../../../HeroIconsBanner/HeroIconsBanner.js";
|
|
117
|
+
import "../../../SegmentsIcons/SegmentsIcons.js";
|
|
118
|
+
import "../../../SegmentsIcons/schema.js";
|
|
119
|
+
import "../../../SegmentedContent/SegmentedContent.js";
|
|
120
|
+
import "../../../SegmentedContent/schema.js";
|
|
121
|
+
import "../../../InfoCardList/InfoCardList.js";
|
|
122
|
+
import "../../../InfoCardList/schema.js";
|
|
123
|
+
import "../../../Cards/InfoCard/InfoCard.js";
|
|
124
|
+
import "../../../Cards/InfoCard/schema.js";
|
|
125
|
+
import "../../../CurrencyRates/CurrencyRates.js";
|
|
126
|
+
import "../../../CurrencyRates/schema.js";
|
|
127
|
+
import "../../../ActionCardSecondaryList/ActionCardSecondaryList.js";
|
|
128
|
+
import "../../../Cards/ActionSecondaryCard/ActionSecondaryCard.js";
|
|
129
|
+
import "../../../Cards/PostCard/PostCard.js";
|
|
130
|
+
import "../../../PostsSlider/PostsSlider.js";
|
|
131
|
+
export {
|
|
132
|
+
vp as componentsList,
|
|
133
|
+
wp as componentsMap
|
|
134
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
text: { value: "text", label: "Text" },
|
|
3
|
+
number: { value: "number", label: "Number" },
|
|
4
|
+
phone: { value: "phone", label: "Phone" },
|
|
5
|
+
email: { value: "email", label: "Email" },
|
|
6
|
+
password: { value: "password", label: "Password" },
|
|
7
|
+
textarea: { value: "textarea", label: "Textarea" },
|
|
8
|
+
select: { value: "select", label: "Select" },
|
|
9
|
+
radio: { value: "radio", label: "Radio" },
|
|
10
|
+
checkbox: { value: "checkbox", label: "Checkbox" },
|
|
11
|
+
date: { value: "date", label: "Date" },
|
|
12
|
+
time: { value: "time", label: "Time" },
|
|
13
|
+
file: { value: "file", label: "File" }
|
|
14
|
+
}, l = Object.values(e);
|
|
15
|
+
export {
|
|
16
|
+
l as FieldTypeOptions,
|
|
17
|
+
e as FieldTypeParams
|
|
18
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const e = {
|
|
2
|
+
field: {
|
|
3
|
+
value: "field",
|
|
4
|
+
label: "Поле"
|
|
5
|
+
},
|
|
6
|
+
component: {
|
|
7
|
+
value: "component",
|
|
8
|
+
label: "Компонент"
|
|
9
|
+
},
|
|
10
|
+
section: {
|
|
11
|
+
value: "section",
|
|
12
|
+
label: "Секция"
|
|
13
|
+
}
|
|
14
|
+
}, l = Object.values(e);
|
|
15
|
+
export {
|
|
16
|
+
l as FormElementTypeOptions,
|
|
17
|
+
e as FormElementTypeParams
|
|
18
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { h as m, g as p } from "../../../info-72904479.js";
|
|
2
|
+
import { FieldTypeOptions as t, FieldTypeParams as s } from "./fieldTypes.js";
|
|
3
|
+
import { FormElementTypeOptions as n, FormElementTypeParams as i } from "./formElementTypes.js";
|
|
4
|
+
import { R as f } from "../../../requestForm-23442a57.js";
|
|
5
|
+
export {
|
|
6
|
+
t as FieldTypeOptions,
|
|
7
|
+
s as FieldTypeParams,
|
|
8
|
+
n as FormElementTypeOptions,
|
|
9
|
+
i as FormElementTypeParams,
|
|
10
|
+
f as RequestForm,
|
|
11
|
+
m as componentsList,
|
|
12
|
+
p as componentsMap
|
|
13
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../
|
|
1
|
+
import "../../Types/FiledTypes.js";
|
|
2
2
|
import "../../ConfigProvider/index.js";
|
|
3
3
|
import "../../Banner/Banner.js";
|
|
4
4
|
import "../../BannerAndText/index.js";
|
|
@@ -12,6 +12,8 @@ import "../../index-875e92ce.js";
|
|
|
12
12
|
import "../../const-53dff524.js";
|
|
13
13
|
import "../../Stepper/Stepper.js";
|
|
14
14
|
import "../../Segments/Segments.js";
|
|
15
|
+
import "../../Segments/info.js";
|
|
16
|
+
import "../../Segments/schema.js";
|
|
15
17
|
import "../../Video/VideoFull/VideoFull.js";
|
|
16
18
|
import "../../Video/VideoList/VideoList.js";
|
|
17
19
|
import "../../Video/VideoListMini/VideoListMini.js";
|
|
@@ -27,8 +29,9 @@ import "../../HeroPossibilityBanner/index.js";
|
|
|
27
29
|
import "../../PartnersColors/PartnersColors.js";
|
|
28
30
|
import "../../PreviewList/PreviewList.js";
|
|
29
31
|
import "../../Cards/CardImage/CardImage.js";
|
|
32
|
+
import "../../Cards/CardImage/info.js";
|
|
30
33
|
import "../../Cards/ContentCard/ContentCard.js";
|
|
31
|
-
import {
|
|
34
|
+
import { m as yr, n as zr } from "../../info-72904479.js";
|
|
32
35
|
import "../../Cards/ColoredCard/index.js";
|
|
33
36
|
import "../../Cards/FeaturesCard/index.js";
|
|
34
37
|
import "../../DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
@@ -52,23 +55,26 @@ import "../../StandartTable/index.js";
|
|
|
52
55
|
import "../../SwiperList/SwiperList.js";
|
|
53
56
|
import "../../TasksBanner/TasksBanner.js";
|
|
54
57
|
import "../../TasksBannerList/TasksBannerList.js";
|
|
58
|
+
import "../../TitleBlock/TitleBlock.js";
|
|
55
59
|
import "../../VideoMainBanner/VideoMainBanner.js";
|
|
56
60
|
import "react-dom";
|
|
61
|
+
import "../../ActionCardSecondaryList/info.js";
|
|
57
62
|
import "../../AnimatedSwiper/info.js";
|
|
58
63
|
import "../../Banner/info.js";
|
|
59
64
|
import "../../BannerAndText/info.js";
|
|
60
|
-
import "../../HeroIconsBanner/info.js";
|
|
61
65
|
import "../../ButtonsList/info.js";
|
|
62
66
|
import "../../CardIconList/info.js";
|
|
63
67
|
import "../../CardImageList/info.js";
|
|
64
68
|
import "../../CardImageSecondary/info.js";
|
|
65
69
|
import "../../CardImageSecondaryList/info.js";
|
|
66
70
|
import "../../CardInfoTable/info.js";
|
|
67
|
-
import "../../Cards/CardImage/info.js";
|
|
68
71
|
import "../../Cards/ColoredCard/info.js";
|
|
69
72
|
import "../../Cards/ContentCard/info.js";
|
|
70
73
|
import "../../Cards/FeaturesCard/info.js";
|
|
74
|
+
import "../../Cards/InfoCard/info.js";
|
|
75
|
+
import "../../Cards/PostCard/info.js";
|
|
71
76
|
import "../../ContentCardList/info.js";
|
|
77
|
+
import "../../CurrencyRates/info.js";
|
|
72
78
|
import "../../DownloadFile/components/DownloadFileBanner/info.js";
|
|
73
79
|
import "../../DownloadFile/components/DownloadFileBright/info.js";
|
|
74
80
|
import "../../DownloadFile/components/DownloadFileFull/info.js";
|
|
@@ -77,19 +83,24 @@ import "../../DownloadFile/components/DownloadFileMini/info.js";
|
|
|
77
83
|
import "../../Faq/info.js";
|
|
78
84
|
import "../../Footer/info.js";
|
|
79
85
|
import "../../Header/info.js";
|
|
86
|
+
import "../../HeroIconsBanner/info.js";
|
|
80
87
|
import "../../HeroPossibilityBanner/info.js";
|
|
81
88
|
import "../../IconList/info.js";
|
|
82
89
|
import "../../InfoBanner/info.js";
|
|
83
90
|
import "../../InfoBannerList/info.js";
|
|
91
|
+
import "../../InfoCardList/info.js";
|
|
84
92
|
import "../../InstructionList/info.js";
|
|
85
93
|
import "../../IntroBanner/info.js";
|
|
86
94
|
import "../../MainBanner/info.js";
|
|
87
95
|
import "../../MultiCards/info.js";
|
|
88
96
|
import "../../Partners/info.js";
|
|
89
97
|
import "../../PartnersColors/info.js";
|
|
98
|
+
import "../../PostsSlider/info.js";
|
|
90
99
|
import "../../PreviewList/info.js";
|
|
91
100
|
import "../../PromoPoster/info.js";
|
|
92
|
-
import "../../
|
|
101
|
+
import "../../SearchBlock/info.js";
|
|
102
|
+
import "../../SegmentedContent/info.js";
|
|
103
|
+
import "../../SegmentsIcons/info.js";
|
|
93
104
|
import "../../Space/info.js";
|
|
94
105
|
import "../../StandartTable/info.js";
|
|
95
106
|
import "../../Stepper/info.js";
|
|
@@ -102,8 +113,26 @@ import "../../Video/VideoListMini/info.js";
|
|
|
102
113
|
import "../../VideoMainBanner/info.js";
|
|
103
114
|
import "../../Actions/types.js";
|
|
104
115
|
import "../../Actions/projectActions.js";
|
|
116
|
+
import "../../Flex-86aee720.js";
|
|
105
117
|
import "../../HeroIconsBanner/HeroIconsBanner.js";
|
|
118
|
+
import "../../SegmentsIcons/SegmentsIcons.js";
|
|
119
|
+
import "../../SegmentsIcons/schema.js";
|
|
120
|
+
import "../../SegmentedContent/SegmentedContent.js";
|
|
121
|
+
import "../../SegmentedContent/schema.js";
|
|
122
|
+
import "../../InfoCardList/InfoCardList.js";
|
|
123
|
+
import "../../InfoCardList/schema.js";
|
|
124
|
+
import "../../Cards/InfoCard/InfoCard.js";
|
|
125
|
+
import "../../Cards/InfoCard/schema.js";
|
|
126
|
+
import "../../CurrencyRates/CurrencyRates.js";
|
|
127
|
+
import "../../CurrencyRates/schema.js";
|
|
128
|
+
import "../../ActionCardSecondaryList/ActionCardSecondaryList.js";
|
|
129
|
+
import "../../Cards/ActionSecondaryCard/ActionSecondaryCard.js";
|
|
130
|
+
import "../../Cards/PostCard/PostCard.js";
|
|
131
|
+
import "../../PostsSlider/PostsSlider.js";
|
|
132
|
+
import "../../requestForm-23442a57.js";
|
|
133
|
+
import "./model/fieldTypes.js";
|
|
134
|
+
import "./model/formElementTypes.js";
|
|
106
135
|
export {
|
|
107
|
-
|
|
108
|
-
|
|
136
|
+
yr as FormFieldsProps,
|
|
137
|
+
zr as propsToEdit
|
|
109
138
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const i = (r, n) => !r || r.length === 0 ? !0 : r.every((t) => {
|
|
2
|
+
const e = n == null ? void 0 : n[t.name];
|
|
3
|
+
switch (t.operator) {
|
|
4
|
+
case "eq":
|
|
5
|
+
return e === t.value;
|
|
6
|
+
case "neq":
|
|
7
|
+
return e !== t.value;
|
|
8
|
+
case "exists":
|
|
9
|
+
return e != null && e !== "";
|
|
10
|
+
case "not_exists":
|
|
11
|
+
return e == null || e === "";
|
|
12
|
+
case "includes":
|
|
13
|
+
return Array.isArray(e) && e.includes(t.value);
|
|
14
|
+
default:
|
|
15
|
+
return !0;
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
export {
|
|
19
|
+
i as checkVisibility
|
|
20
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as j } from "react";
|
|
3
|
+
import { c as p } from "./cn-6a4bf187.js";
|
|
4
|
+
const C = {
|
|
5
|
+
start: "items-start",
|
|
6
|
+
end: "items-end",
|
|
7
|
+
center: "items-center",
|
|
8
|
+
baseline: "items-baseline",
|
|
9
|
+
stretch: "items-stretch"
|
|
10
|
+
}, b = {
|
|
11
|
+
start: "content-start",
|
|
12
|
+
end: "content-end",
|
|
13
|
+
center: "content-center",
|
|
14
|
+
between: "content-between",
|
|
15
|
+
around: "content-around",
|
|
16
|
+
evenly: "content-evenly",
|
|
17
|
+
stretch: "content-stretch"
|
|
18
|
+
}, h = {
|
|
19
|
+
start: "justify-items-start",
|
|
20
|
+
end: "justify-items-end",
|
|
21
|
+
center: "justify-items-center",
|
|
22
|
+
between: "justify-between",
|
|
23
|
+
around: "justify-around",
|
|
24
|
+
evenly: "justify-evenly"
|
|
25
|
+
}, v = {
|
|
26
|
+
row: "grid-flow-row",
|
|
27
|
+
col: "grid-flow-col",
|
|
28
|
+
"row-dense": "grid-flow-row-dense",
|
|
29
|
+
"col-dense": "grid-flow-col-dense"
|
|
30
|
+
}, G = {
|
|
31
|
+
1: "grid-cols-1",
|
|
32
|
+
2: "grid-cols-2",
|
|
33
|
+
3: "grid-cols-3",
|
|
34
|
+
4: "grid-cols-4",
|
|
35
|
+
5: "grid-cols-5",
|
|
36
|
+
6: "grid-cols-6",
|
|
37
|
+
7: "grid-cols-7",
|
|
38
|
+
8: "grid-cols-8",
|
|
39
|
+
9: "grid-cols-9",
|
|
40
|
+
10: "grid-cols-10",
|
|
41
|
+
11: "grid-cols-11",
|
|
42
|
+
12: "grid-cols-12"
|
|
43
|
+
}, N = j((o, r) => {
|
|
44
|
+
const {
|
|
45
|
+
children: c,
|
|
46
|
+
className: i,
|
|
47
|
+
cols: l = 1,
|
|
48
|
+
gap: d,
|
|
49
|
+
align: e,
|
|
50
|
+
alignContent: s,
|
|
51
|
+
justify: t,
|
|
52
|
+
flow: n,
|
|
53
|
+
as: a,
|
|
54
|
+
component: g,
|
|
55
|
+
style: f,
|
|
56
|
+
...m
|
|
57
|
+
} = o, w = g || a || "div", y = [
|
|
58
|
+
"grid",
|
|
59
|
+
G[l],
|
|
60
|
+
e && C[e],
|
|
61
|
+
s && b[s],
|
|
62
|
+
t && h[t],
|
|
63
|
+
n && v[n],
|
|
64
|
+
i
|
|
65
|
+
];
|
|
66
|
+
return /* @__PURE__ */ u(
|
|
67
|
+
w,
|
|
68
|
+
{
|
|
69
|
+
ref: r,
|
|
70
|
+
className: p(...y),
|
|
71
|
+
style: { gap: d, ...f },
|
|
72
|
+
...m,
|
|
73
|
+
children: c
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
});
|
|
77
|
+
N.displayName = "Grid";
|
|
78
|
+
export {
|
|
79
|
+
N as G
|
|
80
|
+
};
|
package/dist/Header/Header.js
CHANGED
|
@@ -1,65 +1,77 @@
|
|
|
1
|
-
import { jsx as t, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import { H as
|
|
4
|
-
import { L as
|
|
5
|
-
import { R as
|
|
6
|
-
import { c as
|
|
7
|
-
import { u as
|
|
8
|
-
import { HeaderMobile as
|
|
9
|
-
import
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { jsx as t, Fragment as h } from "react/jsx-runtime";
|
|
2
|
+
import { useState as w, useEffect as L } from "react";
|
|
3
|
+
import { H as x } from "../index.module-8835bf96.js";
|
|
4
|
+
import { L as v } from "../languages-list-87ab3324.js";
|
|
5
|
+
import { R as S } from "../routes-76228734.js";
|
|
6
|
+
import { c as b } from "../cn-6a4bf187.js";
|
|
7
|
+
import { u as E } from "../useScreenSize-c1b64c02.js";
|
|
8
|
+
import { HeaderMobile as y } from "./components/HeaderMobile/HeaderMobile.js";
|
|
9
|
+
import A from "./components/HeaderWeb/HeaderWeb.js";
|
|
10
|
+
const H = "app_language", I = () => localStorage.getItem(H) || v.RU, T = ({
|
|
11
|
+
darkTheme: o,
|
|
12
|
+
app_setting: a,
|
|
13
|
+
sections: m,
|
|
14
|
+
is_floating: r,
|
|
15
|
+
is_dark_glass: n
|
|
16
|
+
}) => {
|
|
17
|
+
console.log(a);
|
|
18
|
+
const p = E(960), [g, u] = w(m || null);
|
|
19
|
+
L(() => {
|
|
20
|
+
const s = async () => {
|
|
15
21
|
try {
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
22
|
+
const c = I(), f = window.location.pathname.startsWith(S.ISLAM) ? "M_ISLAMIC" : "", { data: e } = await x.getHeaderSections(
|
|
23
|
+
c,
|
|
24
|
+
f
|
|
19
25
|
);
|
|
20
|
-
e && (Array.isArray(e) || typeof e == "object") ?
|
|
21
|
-
} catch (
|
|
22
|
-
console.error("Error fetching header data:",
|
|
26
|
+
e && (Array.isArray(e) || typeof e == "object") ? u(e) : console.warn("Header data is null or invalid:", e);
|
|
27
|
+
} catch (c) {
|
|
28
|
+
console.error("Error fetching header data:", c);
|
|
23
29
|
}
|
|
24
30
|
};
|
|
25
|
-
|
|
26
|
-
const
|
|
27
|
-
|
|
31
|
+
s();
|
|
32
|
+
const l = () => {
|
|
33
|
+
s();
|
|
28
34
|
};
|
|
29
|
-
window.addEventListener("languageChange",
|
|
30
|
-
const
|
|
31
|
-
|
|
35
|
+
window.addEventListener("languageChange", l);
|
|
36
|
+
const d = () => {
|
|
37
|
+
s();
|
|
32
38
|
};
|
|
33
|
-
return window.addEventListener("popstate",
|
|
34
|
-
window.removeEventListener("languageChange",
|
|
39
|
+
return window.addEventListener("popstate", d), () => {
|
|
40
|
+
window.removeEventListener("languageChange", l), window.removeEventListener("popstate", d);
|
|
35
41
|
};
|
|
36
42
|
}, []);
|
|
37
|
-
const
|
|
38
|
-
return /* @__PURE__ */ t(
|
|
39
|
-
|
|
43
|
+
const i = g || [];
|
|
44
|
+
return /* @__PURE__ */ t(h, { children: p ? /* @__PURE__ */ t(
|
|
45
|
+
y,
|
|
40
46
|
{
|
|
41
|
-
app_setting:
|
|
42
|
-
sections:
|
|
43
|
-
darkTheme:
|
|
44
|
-
className: "fixed
|
|
47
|
+
app_setting: a,
|
|
48
|
+
sections: i,
|
|
49
|
+
darkTheme: o,
|
|
50
|
+
className: "fixed z-[9999]",
|
|
51
|
+
is_floating: r,
|
|
52
|
+
is_dark_glass: n
|
|
45
53
|
}
|
|
46
54
|
) : /* @__PURE__ */ t(
|
|
47
55
|
"div",
|
|
48
56
|
{
|
|
49
|
-
className:
|
|
50
|
-
"fixed top-0 z-[9999] w-full h-[70px] bg-white flex items-center justify-center py-[9px]"
|
|
57
|
+
className: b(
|
|
58
|
+
"fixed top-0 z-[9999] w-full h-[70px] bg-white flex items-center justify-center py-[9px]",
|
|
59
|
+
r && "w-auto top-10 left-10 right-10 mx-auto max-w-[1200px] rounded-full h-[76px]",
|
|
60
|
+
n && "bg-[rgba(65,61,61,0.40)] backdrop-blur-[2px]"
|
|
51
61
|
),
|
|
52
62
|
children: /* @__PURE__ */ t(
|
|
53
|
-
|
|
63
|
+
A,
|
|
54
64
|
{
|
|
55
|
-
app_setting:
|
|
56
|
-
sections:
|
|
57
|
-
darkTheme:
|
|
65
|
+
app_setting: a,
|
|
66
|
+
sections: i,
|
|
67
|
+
darkTheme: o,
|
|
68
|
+
is_floating: r,
|
|
69
|
+
is_dark_glass: n
|
|
58
70
|
}
|
|
59
71
|
)
|
|
60
72
|
}
|
|
61
73
|
) });
|
|
62
74
|
};
|
|
63
75
|
export {
|
|
64
|
-
|
|
76
|
+
T as Header
|
|
65
77
|
};
|