md-components-mdigial-azamat 0.0.112 → 0.0.114
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 +28 -5
- 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 +25 -2
- package/dist/AllComponents.js +28 -5
- package/dist/AllComponentsInfo.js +111 -95
- package/dist/AnimatedSwiper/index.js +40 -38
- package/dist/CardImageList/CardImageList.js +122 -81
- package/dist/CardImageList/schema.js +17 -12
- 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 +48 -50
- 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 +27 -4
- 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/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 -115
- 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} +32 -5
- 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 +21 -19
- package/dist/Header/components/HeaderMobile/HeaderMobile.js +67 -52
- package/dist/Header/components/HeaderTab/HeaderTab.js +17 -15
- package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +8 -7
- package/dist/Header/components/HeaderWeb/HeaderWeb.js +134 -114
- package/dist/Header/components/TabsOutlined/TabsOutlined.js +8 -7
- package/dist/HeroIconsBanner/HeroIconsBanner.js +25 -25
- package/dist/IconList/IconList.js +60 -54
- 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/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/RenderAllComponents/RenderAllComponents.js +1 -1
- package/dist/RenderAllComponents/const.js +1 -1
- package/dist/SearchBlock/SearchBlock.js +36 -37
- 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/{componentsMap-cac6c316.js → componentsMap-6fc8d724.js} +5 -3
- package/dist/{data.mock-ebc679ec.js → data.mock-a00d8eec.js} +546 -148
- package/dist/index-0791c17f.js +56 -0
- package/dist/index-2ec92a04.js +32 -0
- package/dist/index.esm-0558519f.js +1171 -0
- package/dist/info-ce6598a7.js +794 -0
- package/dist/main.js +151 -119
- 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/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-d05a1f02.js +0 -1547
- package/dist/navigation-b894d0cd.js +0 -183
- /package/dist/Forms/{types/formItems.js → FormDefault/model/types.js} +0 -0
package/dist/main.js
CHANGED
|
@@ -1,127 +1,159 @@
|
|
|
1
|
-
import { ConfigProvider as
|
|
2
|
-
import { Banner as
|
|
3
|
-
import { BannerAndText as
|
|
4
|
-
import { Header as
|
|
5
|
-
import { Footer as
|
|
6
|
-
import { Stepper as
|
|
7
|
-
import { Segments as
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
1
|
+
import { ConfigProvider as A } from "./ConfigProvider/index.js";
|
|
2
|
+
import { Banner as g } from "./Banner/Banner.js";
|
|
3
|
+
import { BannerAndText as V } from "./BannerAndText/index.js";
|
|
4
|
+
import { Header as D } from "./Header/Header.js";
|
|
5
|
+
import { Footer as H } from "./Footer/Footer.js";
|
|
6
|
+
import { Stepper as T } from "./Stepper/Stepper.js";
|
|
7
|
+
import { Segments as O } from "./Segments/Segments.js";
|
|
8
|
+
import "./Segments/info.js";
|
|
9
|
+
import "./Segments/schema.js";
|
|
10
|
+
import { VideoFull as h } from "./Video/VideoFull/VideoFull.js";
|
|
11
|
+
import { VideoList as E } from "./Video/VideoList/VideoList.js";
|
|
12
|
+
import { VideoListMini as Z } from "./Video/VideoListMini/VideoListMini.js";
|
|
13
|
+
import { ContentCardList as z } from "./ContentCardList/ContentCardList.js";
|
|
14
|
+
import { CardIconList as J } from "./CardIconList/CardIconList.js";
|
|
15
|
+
import { MultiCards as N } from "./MultiCards/index.js";
|
|
16
|
+
import { Partners as U } from "./Partners/Partners.js";
|
|
17
|
+
import { CardImageList as Y } from "./CardImageList/CardImageList.js";
|
|
18
|
+
import { MainBanner as $ } from "./MainBanner/MainBanner.js";
|
|
19
|
+
import { Faq as ro } from "./Faq/Faq.js";
|
|
20
|
+
import { HtmlContent as to } from "./HtmlContent/HtmlContent.js";
|
|
21
|
+
import { InstructionList as no } from "./InstructionList/InstructionList.js";
|
|
22
|
+
import { HeroPossibilityBanner as mo } from "./HeroPossibilityBanner/index.js";
|
|
23
|
+
import { PartnersColors as io } from "./PartnersColors/PartnersColors.js";
|
|
24
|
+
import { PreviewList as so } from "./PreviewList/PreviewList.js";
|
|
25
|
+
import { CardImage as Co } from "./Cards/CardImage/CardImage.js";
|
|
24
26
|
import "./Cards/CardImage/info.js";
|
|
25
|
-
import { ContentCard as
|
|
26
|
-
import { a as
|
|
27
|
-
import { ColoredCard as
|
|
28
|
-
import { FeaturesCard as
|
|
29
|
-
import { DownloadFileBanner as
|
|
30
|
-
import { DownloadFileFull as
|
|
31
|
-
import { DownloadFileHalf as
|
|
32
|
-
import { DownloadFileMini as
|
|
33
|
-
import { Collapse as
|
|
34
|
-
import {
|
|
35
|
-
import { PlusMinusIcon as
|
|
36
|
-
import { InstructionCard as
|
|
37
|
-
import { InstructionModal as
|
|
38
|
-
import { PartnerCard as
|
|
39
|
-
import { PartnerTab as
|
|
40
|
-
import { PreviewCard as
|
|
41
|
-
import { VideoPlayer as
|
|
42
|
-
import { PageViewer as
|
|
43
|
-
import { FieldTypes as
|
|
44
|
-
import { B as
|
|
45
|
-
import { Space as
|
|
46
|
-
import { FileBannerSecondary as
|
|
47
|
-
import { M as
|
|
27
|
+
import { ContentCard as uo } from "./Cards/ContentCard/ContentCard.js";
|
|
28
|
+
import { a as Fo, b as Io, A as Po, F as Bo, W as Lo } from "./info-ce6598a7.js";
|
|
29
|
+
import { ColoredCard as yo } from "./Cards/ColoredCard/index.js";
|
|
30
|
+
import { FeaturesCard as Mo } from "./Cards/FeaturesCard/index.js";
|
|
31
|
+
import { DownloadFileBanner as wo } from "./DownloadFile/components/DownloadFileBanner/DownloadFileBanner.js";
|
|
32
|
+
import { DownloadFileFull as bo } from "./DownloadFile/components/DownloadFileFull/DownloadFileFull.js";
|
|
33
|
+
import { DownloadFileHalf as ko } from "./DownloadFile/components/DownloadFileHalf/DownloadFileHalf.js";
|
|
34
|
+
import { DownloadFileMini as vo } from "./DownloadFile/components/DownloadFileMini/DownloadFileMini.js";
|
|
35
|
+
import { Collapse as Wo } from "./Faq/components/Collapse/Collapse.js";
|
|
36
|
+
import { FeedbackForm as qo } from "./Faq/components/FeedbackForm/FeedbackForm.js";
|
|
37
|
+
import { PlusMinusIcon as Ro } from "./Faq/components/PlusMinusIcon/PlusMinusIcon.js";
|
|
38
|
+
import { InstructionCard as jo } from "./InstructionList/components/InstructionCard/InstructionCard.js";
|
|
39
|
+
import { InstructionModal as Go } from "./InstructionList/components/InstructionModal/InstructionModal.js";
|
|
40
|
+
import { PartnerCard as Ko } from "./PartnersColors/components/PartnerCard/PartnerCard.js";
|
|
41
|
+
import { PartnerTab as Qo } from "./PartnersColors/components/PartnerTab/PartnerTab.js";
|
|
42
|
+
import { PreviewCard as Xo } from "./PreviewList/components/PreviewCard/PreviewCard.js";
|
|
43
|
+
import { VideoPlayer as _o } from "./Video/components/VideoPlayer/VideoPlayer.js";
|
|
44
|
+
import { PageViewer as or } from "./PageViewer/PageViewer.js";
|
|
45
|
+
import { FieldTypes as er } from "./Types/FiledTypes.js";
|
|
46
|
+
import { B as ar } from "./const-53dff524.js";
|
|
47
|
+
import { Space as pr } from "./Space/Space.js";
|
|
48
|
+
import { FileBannerSecondary as fr } from "./DownloadFile/components/FileBannerSecondary/FileBannerSecondary.js";
|
|
49
|
+
import { M as xr, a as sr } from "./index-b795390d.js";
|
|
48
50
|
import { useState as f, useCallback as r } from "react";
|
|
49
|
-
import { S as
|
|
50
|
-
import { TitleBlock as
|
|
51
|
-
import { AllComponentsInfo as
|
|
52
|
-
import { Actions as
|
|
53
|
-
import { ButtonsList as
|
|
54
|
-
import { IconList as
|
|
55
|
-
import { HeroIconsBanner as
|
|
56
|
-
import { SearchBlock as
|
|
57
|
-
|
|
58
|
-
|
|
51
|
+
import { S as lr } from "./size-b1291031.js";
|
|
52
|
+
import { TitleBlock as cr } from "./TitleBlock/TitleBlock.js";
|
|
53
|
+
import { AllComponentsInfo as Sr } from "./AllComponentsInfo.js";
|
|
54
|
+
import { Actions as Ir } from "./Actions/types.js";
|
|
55
|
+
import { ButtonsList as Br } from "./ButtonsList/ButtonsList.js";
|
|
56
|
+
import { IconList as Ar } from "./IconList/IconList.js";
|
|
57
|
+
import { HeroIconsBanner as gr } from "./HeroIconsBanner/HeroIconsBanner.js";
|
|
58
|
+
import { SearchBlock as Vr } from "./SearchBlock/SearchBlock.js";
|
|
59
|
+
import { SegmentsIcons as Dr } from "./SegmentsIcons/SegmentsIcons.js";
|
|
60
|
+
import "./SegmentsIcons/schema.js";
|
|
61
|
+
import "./SegmentsIcons/info.js";
|
|
62
|
+
import { SegmentedContent as Hr } from "./SegmentedContent/SegmentedContent.js";
|
|
63
|
+
import "./SegmentedContent/info.js";
|
|
64
|
+
import "./SegmentedContent/schema.js";
|
|
65
|
+
import { InfoCardList as Tr } from "./InfoCardList/InfoCardList.js";
|
|
66
|
+
import "./InfoCardList/schema.js";
|
|
67
|
+
import { InfoCard as Or } from "./Cards/InfoCard/InfoCard.js";
|
|
68
|
+
import "./Cards/InfoCard/schema.js";
|
|
69
|
+
import { CurrencyRates as hr } from "./CurrencyRates/CurrencyRates.js";
|
|
70
|
+
import "./CurrencyRates/schema.js";
|
|
71
|
+
import { ActionCardSecondaryList as Er } from "./ActionCardSecondaryList/ActionCardSecondaryList.js";
|
|
72
|
+
import { ActionSecondaryCardVariant as Zr, ActionSecondaryCardVariant as jr } from "./Cards/ActionSecondaryCard/types.js";
|
|
73
|
+
import { ActionSecondaryCard as Gr } from "./Cards/ActionSecondaryCard/ActionSecondaryCard.js";
|
|
74
|
+
import { PostCard as Kr } from "./Cards/PostCard/PostCard.js";
|
|
75
|
+
import { PostCardVariant as Qr } from "./Cards/PostCard/types.js";
|
|
76
|
+
import { PostsSlider as Xr } from "./PostsSlider/PostsSlider.js";
|
|
77
|
+
const P = (e = !1) => {
|
|
78
|
+
const [t, o] = f(e), a = r(() => o(!0), []), n = r(() => o(!1), []), p = r(() => o((m) => !m), []);
|
|
59
79
|
return {
|
|
60
80
|
isOpen: t,
|
|
61
|
-
open:
|
|
62
|
-
close:
|
|
63
|
-
toggle:
|
|
81
|
+
open: a,
|
|
82
|
+
close: n,
|
|
83
|
+
toggle: p
|
|
64
84
|
};
|
|
65
85
|
};
|
|
66
86
|
export {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
87
|
+
Fo as ActionCardList,
|
|
88
|
+
Er as ActionCardSecondaryList,
|
|
89
|
+
Zr as ActionCardSecondaryListVariant,
|
|
90
|
+
Gr as ActionSecondaryCard,
|
|
91
|
+
jr as ActionSecondaryCardVariant,
|
|
92
|
+
Ir as Actions,
|
|
93
|
+
Io as AllComponents,
|
|
94
|
+
Po as AllComponentsData,
|
|
95
|
+
Sr as AllComponentsInfo,
|
|
96
|
+
g as Banner,
|
|
97
|
+
V as BannerAndText,
|
|
98
|
+
ar as ButtonProps,
|
|
99
|
+
Br as ButtonsList,
|
|
100
|
+
J as CardIconList,
|
|
101
|
+
Co as CardImage,
|
|
102
|
+
Y as CardImageList,
|
|
103
|
+
Wo as Collapse,
|
|
104
|
+
yo as ColoredCard,
|
|
105
|
+
A as ConfigProvider,
|
|
106
|
+
uo as ContentCard,
|
|
107
|
+
z as ContentCardList,
|
|
108
|
+
hr as CurrencyRates,
|
|
109
|
+
wo as DownloadFileBanner,
|
|
110
|
+
bo as DownloadFileFull,
|
|
111
|
+
ko as DownloadFileHalf,
|
|
112
|
+
vo as DownloadFileMini,
|
|
113
|
+
ro as Faq,
|
|
114
|
+
Mo as FeaturesCard,
|
|
115
|
+
qo as FeedbackForm,
|
|
116
|
+
er as FieldTypes,
|
|
117
|
+
fr as FileBannerSecondary,
|
|
118
|
+
H as Footer,
|
|
119
|
+
Bo as FormDefault,
|
|
120
|
+
D as Header,
|
|
121
|
+
gr as HeroIconsBanner,
|
|
122
|
+
mo as HeroPossibilityBanner,
|
|
123
|
+
to as HtmlContent,
|
|
124
|
+
Ar as IconList,
|
|
125
|
+
Or as InfoCard,
|
|
126
|
+
Tr as InfoCardList,
|
|
127
|
+
jo as InstructionCard,
|
|
128
|
+
no as InstructionList,
|
|
129
|
+
Go as InstructionModal,
|
|
130
|
+
$ as MainBanner,
|
|
131
|
+
xr as Modal,
|
|
132
|
+
sr as ModalBody,
|
|
133
|
+
N as MultiCards,
|
|
134
|
+
or as PageViewer,
|
|
135
|
+
Ko as PartnerCard,
|
|
136
|
+
Qo as PartnerTab,
|
|
137
|
+
U as Partners,
|
|
138
|
+
io as PartnersColors,
|
|
139
|
+
Ro as PlusMinusIcon,
|
|
140
|
+
Kr as PostCard,
|
|
141
|
+
Qr as PostCardVariant,
|
|
142
|
+
Xr as PostsSlider,
|
|
143
|
+
Xo as PreviewCard,
|
|
144
|
+
so as PreviewList,
|
|
145
|
+
lr as SIZE,
|
|
146
|
+
Vr as SearchBlock,
|
|
147
|
+
Hr as SegmentedContent,
|
|
148
|
+
O as Segments,
|
|
149
|
+
Dr as SegmentsIcons,
|
|
150
|
+
pr as Space,
|
|
151
|
+
T as Stepper,
|
|
152
|
+
cr as TitleBlock,
|
|
153
|
+
h as VideoFull,
|
|
154
|
+
E as VideoList,
|
|
155
|
+
Z as VideoListMini,
|
|
156
|
+
_o as VideoPlayer,
|
|
157
|
+
Lo as WarningCard,
|
|
158
|
+
P as useModal
|
|
127
159
|
};
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { e as w, d as k, m as d } from "./swiper-react-3c2710e8.js";
|
|
2
|
+
function N(g, a, c, o) {
|
|
3
|
+
return g.params.createElements && Object.keys(o).forEach((l) => {
|
|
4
|
+
if (!c[l] && c.auto === !0) {
|
|
5
|
+
let r = w(g.el, `.${o[l]}`)[0];
|
|
6
|
+
r || (r = k("div", o[l]), r.className = o[l], g.el.append(r)), c[l] = r, a[l] = r;
|
|
7
|
+
}
|
|
8
|
+
}), c;
|
|
9
|
+
}
|
|
10
|
+
function O(g) {
|
|
11
|
+
let {
|
|
12
|
+
swiper: a,
|
|
13
|
+
extendParams: c,
|
|
14
|
+
on: o,
|
|
15
|
+
emit: l
|
|
16
|
+
} = g;
|
|
17
|
+
c({
|
|
18
|
+
navigation: {
|
|
19
|
+
nextEl: null,
|
|
20
|
+
prevEl: null,
|
|
21
|
+
hideOnClick: !1,
|
|
22
|
+
disabledClass: "swiper-button-disabled",
|
|
23
|
+
hiddenClass: "swiper-button-hidden",
|
|
24
|
+
lockClass: "swiper-button-lock",
|
|
25
|
+
navigationDisabledClass: "swiper-navigation-disabled"
|
|
26
|
+
}
|
|
27
|
+
}), a.navigation = {
|
|
28
|
+
nextEl: null,
|
|
29
|
+
prevEl: null
|
|
30
|
+
};
|
|
31
|
+
function r(n) {
|
|
32
|
+
let e;
|
|
33
|
+
return n && typeof n == "string" && a.isElement && (e = a.el.querySelector(n) || a.hostEl.querySelector(n), e) ? e : (n && (typeof n == "string" && (e = [...document.querySelectorAll(n)]), a.params.uniqueNavElements && typeof n == "string" && e && e.length > 1 && a.el.querySelectorAll(n).length === 1 ? e = a.el.querySelector(n) : e && e.length === 1 && (e = e[0])), n && !e ? n : e);
|
|
34
|
+
}
|
|
35
|
+
function u(n, e) {
|
|
36
|
+
const t = a.params.navigation;
|
|
37
|
+
n = d(n), n.forEach((i) => {
|
|
38
|
+
i && (i.classList[e ? "add" : "remove"](...t.disabledClass.split(" ")), i.tagName === "BUTTON" && (i.disabled = e), a.params.watchOverflow && a.enabled && i.classList[a.isLocked ? "add" : "remove"](t.lockClass));
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
function v() {
|
|
42
|
+
const {
|
|
43
|
+
nextEl: n,
|
|
44
|
+
prevEl: e
|
|
45
|
+
} = a.navigation;
|
|
46
|
+
if (a.params.loop) {
|
|
47
|
+
u(e, !1), u(n, !1);
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
u(e, a.isBeginning && !a.params.rewind), u(n, a.isEnd && !a.params.rewind);
|
|
51
|
+
}
|
|
52
|
+
function b(n) {
|
|
53
|
+
n.preventDefault(), !(a.isBeginning && !a.params.loop && !a.params.rewind) && (a.slidePrev(), l("navigationPrev"));
|
|
54
|
+
}
|
|
55
|
+
function x(n) {
|
|
56
|
+
n.preventDefault(), !(a.isEnd && !a.params.loop && !a.params.rewind) && (a.slideNext(), l("navigationNext"));
|
|
57
|
+
}
|
|
58
|
+
function E() {
|
|
59
|
+
const n = a.params.navigation;
|
|
60
|
+
if (a.params.navigation = N(a, a.originalParams.navigation, a.params.navigation, {
|
|
61
|
+
nextEl: "swiper-button-next",
|
|
62
|
+
prevEl: "swiper-button-prev"
|
|
63
|
+
}), !(n.nextEl || n.prevEl))
|
|
64
|
+
return;
|
|
65
|
+
let e = r(n.nextEl), t = r(n.prevEl);
|
|
66
|
+
Object.assign(a.navigation, {
|
|
67
|
+
nextEl: e,
|
|
68
|
+
prevEl: t
|
|
69
|
+
}), e = d(e), t = d(t);
|
|
70
|
+
const i = (s, m) => {
|
|
71
|
+
s && s.addEventListener("click", m === "next" ? x : b), !a.enabled && s && s.classList.add(...n.lockClass.split(" "));
|
|
72
|
+
};
|
|
73
|
+
e.forEach((s) => i(s, "next")), t.forEach((s) => i(s, "prev"));
|
|
74
|
+
}
|
|
75
|
+
function h() {
|
|
76
|
+
let {
|
|
77
|
+
nextEl: n,
|
|
78
|
+
prevEl: e
|
|
79
|
+
} = a.navigation;
|
|
80
|
+
n = d(n), e = d(e);
|
|
81
|
+
const t = (i, s) => {
|
|
82
|
+
i.removeEventListener("click", s === "next" ? x : b), i.classList.remove(...a.params.navigation.disabledClass.split(" "));
|
|
83
|
+
};
|
|
84
|
+
n.forEach((i) => t(i, "next")), e.forEach((i) => t(i, "prev"));
|
|
85
|
+
}
|
|
86
|
+
o("init", () => {
|
|
87
|
+
a.params.navigation.enabled === !1 ? C() : (E(), v());
|
|
88
|
+
}), o("toEdge fromEdge lock unlock", () => {
|
|
89
|
+
v();
|
|
90
|
+
}), o("destroy", () => {
|
|
91
|
+
h();
|
|
92
|
+
}), o("enable disable", () => {
|
|
93
|
+
let {
|
|
94
|
+
nextEl: n,
|
|
95
|
+
prevEl: e
|
|
96
|
+
} = a.navigation;
|
|
97
|
+
if (n = d(n), e = d(e), a.enabled) {
|
|
98
|
+
v();
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
[...n, ...e].filter((t) => !!t).forEach((t) => t.classList.add(a.params.navigation.lockClass));
|
|
102
|
+
}), o("click", (n, e) => {
|
|
103
|
+
let {
|
|
104
|
+
nextEl: t,
|
|
105
|
+
prevEl: i
|
|
106
|
+
} = a.navigation;
|
|
107
|
+
t = d(t), i = d(i);
|
|
108
|
+
const s = e.target;
|
|
109
|
+
let m = i.includes(s) || t.includes(s);
|
|
110
|
+
if (a.isElement && !m) {
|
|
111
|
+
const p = e.path || e.composedPath && e.composedPath();
|
|
112
|
+
p && (m = p.find((f) => t.includes(f) || i.includes(f)));
|
|
113
|
+
}
|
|
114
|
+
if (a.params.navigation.hideOnClick && !m) {
|
|
115
|
+
if (a.pagination && a.params.pagination && a.params.pagination.clickable && (a.pagination.el === s || a.pagination.el.contains(s)))
|
|
116
|
+
return;
|
|
117
|
+
let p;
|
|
118
|
+
t.length ? p = t[0].classList.contains(a.params.navigation.hiddenClass) : i.length && (p = i[0].classList.contains(a.params.navigation.hiddenClass)), l(p === !0 ? "navigationShow" : "navigationHide"), [...t, ...i].filter((f) => !!f).forEach((f) => f.classList.toggle(a.params.navigation.hiddenClass));
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
const L = () => {
|
|
122
|
+
a.el.classList.remove(...a.params.navigation.navigationDisabledClass.split(" ")), E(), v();
|
|
123
|
+
}, C = () => {
|
|
124
|
+
a.el.classList.add(...a.params.navigation.navigationDisabledClass.split(" ")), h();
|
|
125
|
+
};
|
|
126
|
+
Object.assign(a.navigation, {
|
|
127
|
+
enable: L,
|
|
128
|
+
disable: C,
|
|
129
|
+
update: v,
|
|
130
|
+
init: E,
|
|
131
|
+
destroy: h
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
export {
|
|
135
|
+
O as N
|
|
136
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { f as S } from "./swiper-react-3c2710e8.js";
|
|
2
|
+
import './assets/navigation.css';function k(x) {
|
|
3
|
+
let {
|
|
4
|
+
swiper: e,
|
|
5
|
+
extendParams: B,
|
|
6
|
+
on: s,
|
|
7
|
+
emit: r,
|
|
8
|
+
params: u
|
|
9
|
+
} = x;
|
|
10
|
+
e.autoplay = {
|
|
11
|
+
running: !1,
|
|
12
|
+
paused: !1,
|
|
13
|
+
timeLeft: 0
|
|
14
|
+
}, B({
|
|
15
|
+
autoplay: {
|
|
16
|
+
enabled: !1,
|
|
17
|
+
delay: 3e3,
|
|
18
|
+
waitForTransition: !0,
|
|
19
|
+
disableOnInteraction: !1,
|
|
20
|
+
stopOnLastSlide: !1,
|
|
21
|
+
reverseDirection: !1,
|
|
22
|
+
pauseOnMouseEnter: !1
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
let y, E, b = u && u.autoplay ? u.autoplay.delay : 3e3, g = u && u.autoplay ? u.autoplay.delay : 3e3, n, f = (/* @__PURE__ */ new Date()).getTime(), w, v, p, h, L, o, D;
|
|
26
|
+
function M(t) {
|
|
27
|
+
!e || e.destroyed || !e.wrapperEl || t.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", M), !(D || t.detail && t.detail.bySwiperTouchMove) && l());
|
|
28
|
+
}
|
|
29
|
+
const O = () => {
|
|
30
|
+
if (e.destroyed || !e.autoplay.running)
|
|
31
|
+
return;
|
|
32
|
+
e.autoplay.paused ? w = !0 : w && (g = n, w = !1);
|
|
33
|
+
const t = e.autoplay.paused ? n : f + g - (/* @__PURE__ */ new Date()).getTime();
|
|
34
|
+
e.autoplay.timeLeft = t, r("autoplayTimeLeft", t, t / b), E = requestAnimationFrame(() => {
|
|
35
|
+
O();
|
|
36
|
+
});
|
|
37
|
+
}, C = () => {
|
|
38
|
+
let t;
|
|
39
|
+
return e.virtual && e.params.virtual.enabled ? t = e.slides.find((a) => a.classList.contains("swiper-slide-active")) : t = e.slides[e.activeIndex], t ? parseInt(t.getAttribute("data-swiper-autoplay"), 10) : void 0;
|
|
40
|
+
}, T = (t) => {
|
|
41
|
+
if (e.destroyed || !e.autoplay.running)
|
|
42
|
+
return;
|
|
43
|
+
cancelAnimationFrame(E), O();
|
|
44
|
+
let i = typeof t > "u" ? e.params.autoplay.delay : t;
|
|
45
|
+
b = e.params.autoplay.delay, g = e.params.autoplay.delay;
|
|
46
|
+
const a = C();
|
|
47
|
+
!Number.isNaN(a) && a > 0 && typeof t > "u" && (i = a, b = a, g = a), n = i;
|
|
48
|
+
const c = e.params.speed, N = () => {
|
|
49
|
+
!e || e.destroyed || (e.params.autoplay.reverseDirection ? !e.isBeginning || e.params.loop || e.params.rewind ? (e.slidePrev(c, !0, !0), r("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(e.slides.length - 1, c, !0, !0), r("autoplay")) : !e.isEnd || e.params.loop || e.params.rewind ? (e.slideNext(c, !0, !0), r("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(0, c, !0, !0), r("autoplay")), e.params.cssMode && (f = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => {
|
|
50
|
+
T();
|
|
51
|
+
})));
|
|
52
|
+
};
|
|
53
|
+
return i > 0 ? (clearTimeout(y), y = setTimeout(() => {
|
|
54
|
+
N();
|
|
55
|
+
}, i)) : requestAnimationFrame(() => {
|
|
56
|
+
N();
|
|
57
|
+
}), i;
|
|
58
|
+
}, A = () => {
|
|
59
|
+
f = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, T(), r("autoplayStart");
|
|
60
|
+
}, m = () => {
|
|
61
|
+
e.autoplay.running = !1, clearTimeout(y), cancelAnimationFrame(E), r("autoplayStop");
|
|
62
|
+
}, d = (t, i) => {
|
|
63
|
+
if (e.destroyed || !e.autoplay.running)
|
|
64
|
+
return;
|
|
65
|
+
clearTimeout(y), t || (o = !0);
|
|
66
|
+
const a = () => {
|
|
67
|
+
r("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", M) : l();
|
|
68
|
+
};
|
|
69
|
+
if (e.autoplay.paused = !0, i) {
|
|
70
|
+
L && (n = e.params.autoplay.delay), L = !1, a();
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
n = (n || e.params.autoplay.delay) - ((/* @__PURE__ */ new Date()).getTime() - f), !(e.isEnd && n < 0 && !e.params.loop) && (n < 0 && (n = 0), a());
|
|
74
|
+
}, l = () => {
|
|
75
|
+
e.isEnd && n < 0 && !e.params.loop || e.destroyed || !e.autoplay.running || (f = (/* @__PURE__ */ new Date()).getTime(), o ? (o = !1, T(n)) : T(), e.autoplay.paused = !1, r("autoplayResume"));
|
|
76
|
+
}, I = () => {
|
|
77
|
+
if (e.destroyed || !e.autoplay.running)
|
|
78
|
+
return;
|
|
79
|
+
const t = S();
|
|
80
|
+
t.visibilityState === "hidden" && (o = !0, d(!0)), t.visibilityState === "visible" && l();
|
|
81
|
+
}, P = (t) => {
|
|
82
|
+
t.pointerType === "mouse" && (o = !0, D = !0, !(e.animating || e.autoplay.paused) && d(!0));
|
|
83
|
+
}, F = (t) => {
|
|
84
|
+
t.pointerType === "mouse" && (D = !1, e.autoplay.paused && l());
|
|
85
|
+
}, q = () => {
|
|
86
|
+
e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", P), e.el.addEventListener("pointerleave", F));
|
|
87
|
+
}, R = () => {
|
|
88
|
+
e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", P), e.el.removeEventListener("pointerleave", F));
|
|
89
|
+
}, _ = () => {
|
|
90
|
+
S().addEventListener("visibilitychange", I);
|
|
91
|
+
}, j = () => {
|
|
92
|
+
S().removeEventListener("visibilitychange", I);
|
|
93
|
+
};
|
|
94
|
+
s("init", () => {
|
|
95
|
+
e.params.autoplay.enabled && (q(), _(), A());
|
|
96
|
+
}), s("destroy", () => {
|
|
97
|
+
R(), j(), e.autoplay.running && m();
|
|
98
|
+
}), s("_freeModeStaticRelease", () => {
|
|
99
|
+
(p || o) && l();
|
|
100
|
+
}), s("_freeModeNoMomentumRelease", () => {
|
|
101
|
+
e.params.autoplay.disableOnInteraction ? m() : d(!0, !0);
|
|
102
|
+
}), s("beforeTransitionStart", (t, i, a) => {
|
|
103
|
+
e.destroyed || !e.autoplay.running || (a || !e.params.autoplay.disableOnInteraction ? d(!0, !0) : m());
|
|
104
|
+
}), s("sliderFirstMove", () => {
|
|
105
|
+
if (!(e.destroyed || !e.autoplay.running)) {
|
|
106
|
+
if (e.params.autoplay.disableOnInteraction) {
|
|
107
|
+
m();
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
v = !0, p = !1, o = !1, h = setTimeout(() => {
|
|
111
|
+
o = !0, p = !0, d(!0);
|
|
112
|
+
}, 200);
|
|
113
|
+
}
|
|
114
|
+
}), s("touchEnd", () => {
|
|
115
|
+
if (!(e.destroyed || !e.autoplay.running || !v)) {
|
|
116
|
+
if (clearTimeout(h), clearTimeout(y), e.params.autoplay.disableOnInteraction) {
|
|
117
|
+
p = !1, v = !1;
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
p && e.params.cssMode && l(), p = !1, v = !1;
|
|
121
|
+
}
|
|
122
|
+
}), s("slideChange", () => {
|
|
123
|
+
e.destroyed || !e.autoplay.running || (L = !0);
|
|
124
|
+
}), Object.assign(e.autoplay, {
|
|
125
|
+
start: A,
|
|
126
|
+
stop: m,
|
|
127
|
+
pause: d,
|
|
128
|
+
resume: l
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
export {
|
|
132
|
+
k as A
|
|
133
|
+
};
|