@redneckz/wildless-cms-uni-blocks 0.8.16 → 0.8.17
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/bin/migration-scripts/0.8.8.js +9 -6
- package/bundle/ProjectSettings.d.ts +2 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +44 -33
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/bundle/components/CarouselCard/constants.d.ts +3 -3
- package/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/bundle/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/bundle/components/Header/HeaderContent.d.ts +0 -6
- package/bundle/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/bundle/components/Header/useChatBot.d.ts +1 -2
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/bundle/model/AlignType.d.ts +10 -0
- package/bundle/services/sitemap/isTopItemActive.d.ts +3 -2
- package/dist/ProjectSettings.d.ts +2 -0
- package/dist/ProjectSettings.js +3 -0
- package/dist/ProjectSettings.js.map +1 -1
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +1 -0
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/dist/components/CarouselCard/constants.d.ts +3 -3
- package/dist/components/CarouselCard/constants.js +2 -2
- package/dist/components/CarouselCard/constants.js.map +1 -1
- package/dist/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/dist/components/CarouselEventCard/CarouselEventCard.js +12 -0
- package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
- package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/{mobile/dist/model/CarouselCardVersion.js → dist/components/CarouselEventCard/CarouselEventCardContent.js} +1 -1
- package/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/dist/components/Footer/MediaButton.js +13 -10
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Header/Header.js +2 -2
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +0 -6
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/dist/components/Header/HeaderSecondaryMenu.js +3 -2
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/useChatBot.d.ts +1 -2
- package/dist/components/Header/useChatBot.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +3 -3
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +1 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/dist/components/VerticalLayout/VerticalLayout.js +2 -1
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/dist/components/Video/Video.js +6 -1
- package/dist/components/Video/Video.js.map +1 -1
- package/dist/hooks/useLink.js +1 -1
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/model/AlignType.d.ts +10 -0
- package/dist/services/sitemap/isTopItemActive.d.ts +3 -2
- package/dist/services/sitemap/isTopItemActive.js +1 -3
- package/dist/services/sitemap/isTopItemActive.js.map +1 -1
- package/dist/wlc.json +3 -1
- package/lib/ProjectSettings.d.ts +2 -0
- package/lib/ProjectSettings.js +3 -0
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.d.ts +1 -0
- package/lib/components/Carousel/Carousel.js +1 -0
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/lib/components/CarouselCard/constants.d.ts +3 -3
- package/lib/components/CarouselCard/constants.js +2 -2
- package/lib/components/CarouselCard/constants.js.map +1 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/lib/components/CarouselEventCard/CarouselEventCard.fixture.d.ts +7 -0
- package/lib/components/CarouselEventCard/CarouselEventCard.js +10 -0
- package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
- package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/lib/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
- package/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/lib/components/Footer/MediaButton.js +13 -10
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Header/Header.js +2 -2
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +0 -6
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/lib/components/Header/HeaderSecondaryMenu.js +3 -2
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/useChatBot.d.ts +1 -2
- package/lib/components/Header/useChatBot.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +3 -3
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +1 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/lib/components/VerticalLayout/VerticalLayout.js +2 -1
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/lib/components/Video/Video.js +6 -1
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/hooks/useLink.js +1 -1
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/model/AlignType.d.ts +10 -0
- package/lib/services/sitemap/isTopItemActive.d.ts +3 -2
- package/lib/services/sitemap/isTopItemActive.js +1 -3
- package/lib/services/sitemap/isTopItemActive.js.map +1 -1
- package/lib/wlc.json +3 -1
- package/mobile/bundle/ProjectSettings.d.ts +2 -0
- package/mobile/bundle/bundle.umd.js +18 -14
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselCard/constants.d.ts +3 -3
- package/mobile/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/mobile/bundle/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/mobile/bundle/components/Header/HeaderContent.d.ts +0 -6
- package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/mobile/bundle/components/Header/useChatBot.d.ts +1 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/mobile/bundle/model/AlignType.d.ts +10 -0
- package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +3 -2
- package/mobile/dist/ProjectSettings.d.ts +2 -0
- package/mobile/dist/ProjectSettings.js +3 -0
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -0
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/dist/components/CarouselCard/constants.d.ts +3 -3
- package/mobile/dist/components/CarouselCard/constants.js +2 -2
- package/mobile/dist/components/CarouselCard/constants.js.map +1 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +12 -0
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
- package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/{dist/model/CarouselCardVersion.js → mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js} +1 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/mobile/dist/components/Footer/MediaButton.js +13 -10
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +0 -6
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/useChatBot.d.ts +1 -2
- package/mobile/dist/components/Header/useChatBot.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +3 -3
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +2 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/mobile/dist/components/Video/Video.js +6 -1
- package/mobile/dist/components/Video/Video.js.map +1 -1
- package/mobile/dist/hooks/useLink.js +1 -1
- package/mobile/dist/hooks/useLink.js.map +1 -1
- package/mobile/dist/model/AlignType.d.ts +10 -0
- package/mobile/dist/services/sitemap/isTopItemActive.d.ts +3 -2
- package/mobile/dist/services/sitemap/isTopItemActive.js +1 -3
- package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -1
- package/mobile/dist/wlc.json +3 -1
- package/mobile/lib/ProjectSettings.d.ts +2 -0
- package/mobile/lib/ProjectSettings.js +3 -0
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -0
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/lib/components/CarouselCard/constants.d.ts +3 -3
- package/mobile/lib/components/CarouselCard/constants.js +2 -2
- package/mobile/lib/components/CarouselCard/constants.js.map +1 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +10 -0
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
- package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
- package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/mobile/lib/components/Footer/MediaButton.js +13 -10
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +0 -6
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/useChatBot.d.ts +1 -2
- package/mobile/lib/components/Header/useChatBot.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +3 -3
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +2 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/mobile/lib/components/Video/Video.js +6 -1
- package/mobile/lib/components/Video/Video.js.map +1 -1
- package/mobile/lib/hooks/useLink.js +1 -1
- package/mobile/lib/hooks/useLink.js.map +1 -1
- package/mobile/lib/model/AlignType.d.ts +10 -0
- package/mobile/lib/services/sitemap/isTopItemActive.d.ts +3 -2
- package/mobile/lib/services/sitemap/isTopItemActive.js +1 -3
- package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -1
- package/mobile/lib/wlc.json +3 -1
- package/mobile/src/ProjectSettings.ts +4 -0
- package/mobile/src/components/Carousel/Carousel.tsx +1 -0
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +4 -4
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +2 -2
- package/mobile/src/components/CarouselCard/constants.ts +5 -5
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.example.json +14 -0
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +32 -0
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.ui.json +1 -0
- package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +12 -0
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -18
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -4
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.ui.json +1 -4
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +9 -9
- package/mobile/src/components/Footer/MediaButton.tsx +19 -14
- package/mobile/src/components/Header/HeaderChatBotButton.tsx +1 -4
- package/mobile/src/components/Header/HeaderContent.ts +0 -7
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +8 -5
- package/mobile/src/components/Header/useChatBot.ts +2 -3
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +6 -4
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +2 -3
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +3 -0
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -0
- package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +1 -1
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +4 -3
- package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +2 -2
- package/mobile/src/components/Video/Video.tsx +22 -16
- package/mobile/src/hooks/useLink.ts +1 -1
- package/mobile/src/model/AlignType.ts +11 -0
- package/mobile/src/services/sitemap/isTopItemActive.ts +2 -7
- package/mobile/src/wlc.json +3 -1
- package/package.json +1 -1
- package/src/ProjectSettings.ts +4 -0
- package/src/components/Blocks.ts +2 -0
- package/src/components/Carousel/Carousel.fixture.tsx +19 -0
- package/src/components/Carousel/Carousel.tsx +1 -0
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.tsx +4 -4
- package/src/components/CarouselCard/CarouselCardContent.ts +2 -2
- package/src/components/CarouselCard/constants.ts +5 -5
- package/src/components/CarouselEventCard/CarouselEventCard.example.json +14 -0
- package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +21 -0
- package/src/components/CarouselEventCard/CarouselEventCard.tsx +32 -0
- package/src/components/CarouselEventCard/CarouselEventCard.ui.json +1 -0
- package/src/components/CarouselEventCard/CarouselEventCardContent.ts +12 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -18
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +8 -3
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -4
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.ui.json +1 -4
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +9 -9
- package/src/components/Footer/MediaButton.tsx +19 -14
- package/src/components/Header/Header.fixture.tsx +3 -3
- package/src/components/Header/Header.tsx +0 -2
- package/src/components/Header/HeaderChatBotButton.tsx +1 -4
- package/src/components/Header/HeaderContent.ts +0 -7
- package/src/components/Header/HeaderSecondaryMenu.tsx +8 -5
- package/src/components/Header/useChatBot.ts +2 -3
- package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
- package/src/components/ProductBlock/renderBackwardButton.tsx +6 -4
- package/src/components/ProductGallery/ProductGallery.example.json +2 -3
- package/src/components/ProductGallery/ProductGallery.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.example.json +3 -0
- package/src/components/TariffsTable/TariffsTableContent.ts +1 -0
- package/src/components/VerticalLayout/VerticalLayout.example.json +1 -1
- package/src/components/VerticalLayout/VerticalLayout.tsx +4 -3
- package/src/components/VerticalLayout/VerticalLayoutContent.ts +2 -2
- package/src/components/Video/Video.tsx +22 -16
- package/src/hooks/useLink.ts +1 -1
- package/src/model/AlignType.ts +11 -0
- package/src/services/sitemap/isTopItemActive.ts +2 -7
- package/src/wlc.json +3 -1
- package/bundle/model/CarouselCardVersion.d.ts +0 -1
- package/dist/model/CarouselCardVersion.d.ts +0 -1
- package/dist/model/CarouselCardVersion.js.map +0 -1
- package/lib/model/CarouselCardVersion.d.ts +0 -1
- package/lib/model/CarouselCardVersion.js +0 -2
- package/lib/model/CarouselCardVersion.js.map +0 -1
- package/mobile/bundle/model/CarouselCardVersion.d.ts +0 -1
- package/mobile/dist/model/CarouselCardVersion.d.ts +0 -1
- package/mobile/dist/model/CarouselCardVersion.js.map +0 -1
- package/mobile/lib/model/CarouselCardVersion.d.ts +0 -1
- package/mobile/lib/model/CarouselCardVersion.js +0 -2
- package/mobile/lib/model/CarouselCardVersion.js.map +0 -1
- package/mobile/src/model/CarouselCardVersion.ts +0 -1
- package/src/model/CarouselCardVersion.ts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SizeVersion } from '../../model/SizeVersion';
|
|
2
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
/**
|
|
@@ -13,5 +13,5 @@ export interface CarouselCardContent extends HeadlineCommonProps {
|
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
button?: ButtonWithIconProps;
|
|
16
|
-
carouselVersion?:
|
|
16
|
+
carouselVersion?: SizeVersion;
|
|
17
17
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const cardStyleMap: Record<
|
|
3
|
-
export declare const cardWidthMap: Record<
|
|
1
|
+
import type { SizeVersion } from '../../model/SizeVersion';
|
|
2
|
+
export declare const cardStyleMap: Record<SizeVersion, string>;
|
|
3
|
+
export declare const cardWidthMap: Record<SizeVersion, string>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { CarouselEventCardContent } from './CarouselEventCardContent';
|
|
3
|
+
export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const CarouselEventCard: import("@redneckz/uni-jsx").UNIComponent<CarouselEventCardProps, any, any>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
|
+
/**
|
|
5
|
+
* @title Карточка мероприятия в карусели
|
|
6
|
+
*/
|
|
7
|
+
export declare type CarouselEventCardContent = TitleProps & DescriptionProps & LinkCommonProps & {
|
|
8
|
+
icon?: Picture;
|
|
9
|
+
};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
2
3
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
4
|
+
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
3
5
|
import type { Picture } from '../../model/Picture';
|
|
4
|
-
import type { ButtonWithIconProps, ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
6
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
|
+
export declare type RecommendationSocialMedia = LinkCommonProps & {
|
|
8
|
+
version: ButtonVersion;
|
|
9
|
+
icon?: Picture;
|
|
10
|
+
rounded?: boolean;
|
|
11
|
+
};
|
|
6
12
|
/**
|
|
7
13
|
* @title Карточка рекомендаций
|
|
8
14
|
*/
|
|
@@ -10,7 +16,7 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
|
|
|
10
16
|
/**
|
|
11
17
|
* @title Соц сети
|
|
12
18
|
*/
|
|
13
|
-
socialMedia?:
|
|
19
|
+
socialMedia?: RecommendationSocialMedia[];
|
|
14
20
|
/**
|
|
15
21
|
* @default {
|
|
16
22
|
* "format": "webp",
|
|
@@ -26,12 +32,5 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
|
|
|
26
32
|
* }
|
|
27
33
|
*/
|
|
28
34
|
image?: Picture;
|
|
29
|
-
/**
|
|
30
|
-
* @default {
|
|
31
|
-
* "text": "",
|
|
32
|
-
* "version": "secondary"
|
|
33
|
-
* }
|
|
34
|
-
*/
|
|
35
|
-
button?: ButtonProps;
|
|
36
35
|
version?: BlockVersion;
|
|
37
36
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { IconVersion } from '../../model/IconVersion';
|
|
2
|
-
import type { ChatBot as ChatBotWithEmptyOption } from './HeaderContent';
|
|
3
|
-
export declare type ChatBot = Exclude<ChatBotWithEmptyOption, ''>;
|
|
4
2
|
interface HeaderChatBotButtonProps {
|
|
5
3
|
className?: string;
|
|
6
4
|
iconVersion?: IconVersion;
|
|
7
|
-
chat?:
|
|
5
|
+
chat?: string;
|
|
8
6
|
onClick?: () => void;
|
|
9
7
|
}
|
|
10
8
|
export declare const HeaderChatBotButton: import("@redneckz/uni-jsx").UNIComponent<HeaderChatBotButtonProps, any, any>;
|
|
@@ -5,11 +5,6 @@ import type { IconProps, Picture } from '../../model/Picture';
|
|
|
5
5
|
* @title Пункт подменю
|
|
6
6
|
*/
|
|
7
7
|
export declare type SubMenuItem = LinkProps & IconProps;
|
|
8
|
-
/**
|
|
9
|
-
* @title Чат-бот
|
|
10
|
-
* @enumNames ["", "Для физических лиц", "Для юридических лиц"]
|
|
11
|
-
*/
|
|
12
|
-
export declare type ChatBot = '' | 'personal' | 'business';
|
|
13
8
|
/**
|
|
14
9
|
* @title Ссылка дополнительного меню
|
|
15
10
|
* @required ["text", "href"]
|
|
@@ -35,5 +30,4 @@ export interface HeaderContent {
|
|
|
35
30
|
showSubMenu?: boolean;
|
|
36
31
|
/** @hidden */
|
|
37
32
|
bgColor?: BgColorVersion;
|
|
38
|
-
chat?: ChatBot;
|
|
39
33
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { ForeignOffice } from '../../services/sitemap/SitemapProps';
|
|
3
|
-
import type { ChatBot } from './HeaderContent';
|
|
4
3
|
interface HeaderSecondaryMenuContent {
|
|
5
4
|
version?: BlockVersion;
|
|
6
5
|
defaultLocation?: string;
|
|
7
6
|
officesLink?: string;
|
|
8
7
|
foreignOffices?: ForeignOffice[];
|
|
9
|
-
chat?: ChatBot;
|
|
10
8
|
}
|
|
11
9
|
export interface HeaderSecondaryMenuProps extends HeaderSecondaryMenuContent {
|
|
12
10
|
className?: string;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const useChatBot: (chat: ChatBot) => unknown;
|
|
1
|
+
export declare const useChatBot: (chat: string) => unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AlignTypeWithStretch } from '../../model/AlignType';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
3
|
import type { ColorPalette } from '../../model/ContentPageDef';
|
|
4
4
|
import type { GapVersion } from '../HorizontalLayout/HorizontalLayoutContent';
|
|
@@ -8,7 +8,7 @@ import type { GapVersion } from '../HorizontalLayout/HorizontalLayoutContent';
|
|
|
8
8
|
export interface VerticalLayoutContent {
|
|
9
9
|
colorPalette?: ColorPalette;
|
|
10
10
|
version?: BlockVersion;
|
|
11
|
-
align?:
|
|
11
|
+
align?: AlignTypeWithStretch;
|
|
12
12
|
gap?: GapVersion;
|
|
13
13
|
/** @title Внутренний отступ компоновщика */
|
|
14
14
|
isPadding?: boolean;
|
|
@@ -7,3 +7,13 @@
|
|
|
7
7
|
* ]
|
|
8
8
|
*/
|
|
9
9
|
export declare type AlignType = 'left' | 'center' | 'right';
|
|
10
|
+
/**
|
|
11
|
+
* @title Выравнивание
|
|
12
|
+
* @enumNames [
|
|
13
|
+
* "Во всю ширину",
|
|
14
|
+
* "По левому краю",
|
|
15
|
+
* "По центру",
|
|
16
|
+
* "По правому краю"
|
|
17
|
+
* ]
|
|
18
|
+
*/
|
|
19
|
+
export declare type AlignTypeWithStretch = 'stretch' | 'left' | 'center' | 'right';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { Router } from '../../hooks/useRouter';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
export declare const isTopItemActive: (router: Router) => ({ href }: {
|
|
3
|
+
href?: string | undefined;
|
|
4
|
+
}) => boolean;
|
|
@@ -6,6 +6,7 @@ export interface ProjectSettings {
|
|
|
6
6
|
ASSIST_PROJECT_ID?: string;
|
|
7
7
|
SITEMAP?: string;
|
|
8
8
|
FOOTER?: string;
|
|
9
|
+
CHAT_BOT?: string;
|
|
9
10
|
CDN?: string;
|
|
10
11
|
BASE_PATH?: string;
|
|
11
12
|
YANDEX_MAP_API_KEY?: string;
|
|
@@ -21,6 +22,7 @@ export declare const projectSettings: {
|
|
|
21
22
|
readonly ASSIST_PROJECT_ID: string | undefined;
|
|
22
23
|
readonly SITEMAP: string | undefined;
|
|
23
24
|
readonly FOOTER: string | undefined;
|
|
25
|
+
readonly CHAT_BOT: string | undefined;
|
|
24
26
|
readonly CDN: string | undefined;
|
|
25
27
|
readonly BASE_PATH: string | undefined;
|
|
26
28
|
readonly YANDEX_MAP_API_KEY: string | undefined;
|
package/dist/ProjectSettings.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":";;AAeA,MAAM,wBAAwB,GAAoB,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC;AAE/D,QAAA,eAAe,GAAG,IAAI,CAAC;IAClC,CAAC,GAAoB,wBAAwB,CAAC;IAE9C,KAAK,CAAC,CAAkB;QACtB,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,CAAC;IAC5B,CAAC;IACD,IAAI,SAAS;QACX,OAAO,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;IAC1B,CAAC;IACD,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,CAAC,CAAC,WAAW,IAAI,wBAAwB,CAAC,WAAW,CAAC;IACpE,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACD,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC;IACxB,CAAC;IACD,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACvB,CAAC;IACD,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC;IACzB,CAAC;IACD,IAAI,GAAG;QACL,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACjC,CAAC;IACD,IAAI,SAAS;QACX,OAAO,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IACvC,CAAC;IACD,IAAI,kBAAkB;QACpB,OAAO,IAAI,CAAC,CAAC,CAAC,kBAAkB,CAAC;IACnC,CAAC;IACD,IAAI,iBAAiB;QACnB,OAAO,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAClC,CAAC;CACF,CAAC,EAAE,CAAC;AAEL,MAAM,WAAW,GAAG,CAAC,GAAuB,EAAE,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -14,6 +14,7 @@ const Carousel_1 = require("./Carousel/Carousel");
|
|
|
14
14
|
const CarouselBankHistoryCard_1 = require("./CarouselBankHistoryCard/CarouselBankHistoryCard");
|
|
15
15
|
const CarouselCard_1 = require("./CarouselCard/CarouselCard");
|
|
16
16
|
const CarouselCatalogCard_1 = require("./CarouselCatalogCard/CarouselCatalogCard");
|
|
17
|
+
const CarouselEventCard_1 = require("./CarouselEventCard/CarouselEventCard");
|
|
17
18
|
const CarouselInvestmentCard_1 = require("./CarouselInvestmentCard/CarouselInvestmentCard");
|
|
18
19
|
const CarouselLinks_1 = require("./CarouselLinks/CarouselLinks");
|
|
19
20
|
const CarouselProductCard_1 = require("./CarouselProductCard/CarouselProductCard");
|
|
@@ -72,6 +73,7 @@ exports.Blocks = {
|
|
|
72
73
|
CarouselBankHistoryCard: CarouselBankHistoryCard_1.CarouselBankHistoryCard,
|
|
73
74
|
CarouselCard: CarouselCard_1.CarouselCard,
|
|
74
75
|
CarouselCatalogCard: CarouselCatalogCard_1.CarouselCatalogCard,
|
|
76
|
+
CarouselEventCard: CarouselEventCard_1.CarouselEventCard,
|
|
75
77
|
CarouselInvestmentCard: CarouselInvestmentCard_1.CarouselInvestmentCard,
|
|
76
78
|
CarouselLinks: CarouselLinks_1.CarouselLinks,
|
|
77
79
|
CarouselProductCard: CarouselProductCard_1.CarouselProductCard,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AACA,qDAAkD;AAClD,iEAA8D;AAC9D,uEAAoE;AACpE,iEAA8D;AAC9D,yCAAsC;AACtC,gFAA6E;AAC7E,iEAA8D;AAC9D,2DAAwD;AACxD,wDAAqD;AACrD,8DAA2D;AAC3D,kDAA+C;AAC/C,+FAA4F;AAC5F,8DAA2D;AAC3D,mFAAgF;AAChF,4FAAyF;AACzF,iEAA8D;AAC9D,mFAAgF;AAChF,sFAAmF;AACnF,wGAAqG;AACrG,mFAAgF;AAChF,uEAAoE;AACpE,iEAA8D;AAC9D,wDAAqD;AACrD,0EAAuE;AACvE,4CAAyC;AACzC,2DAAwD;AACxD,4CAAyC;AACzC,kDAA+C;AAC/C,0EAAuE;AACvE,kDAA+C;AAC/C,sFAAmF;AACnF,oEAAiE;AACjE,kDAA+C;AAC/C,iEAA8D;AAC9D,qDAAkD;AAClD,mFAAgF;AAChF,iEAA8D;AAC9D,6EAA0E;AAC1E,oEAAiE;AACjE,2DAAwD;AACxD,2DAAwD;AACxD,8DAA2D;AAC3D,oEAAiE;AACjE,2DAAwD;AACxD,qDAAkD;AAClD,oEAAiE;AACjE,iEAA8D;AAC9D,wDAAqD;AACrD,6EAA0E;AA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EAAE,qBAAqB,EACpC,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,KAAK,GAChB,IACE,GACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,gBAAQ,CAAC,aAAa,GAAG;IACvB,cAAc;IACd,yBAAyB;IACzB,qBAAqB;IACrB,wBAAwB;IACxB,qBAAqB;IACrB,sBAAsB;IACtB,4BAA4B;IAC5B,qBAAqB;IACrB,wBAAwB;IACxB,mBAAmB;CACpB,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,SAAkB,EAAU,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -7,7 +7,7 @@ const Headline_1 = require("../Headline/Headline");
|
|
|
7
7
|
const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
|
|
8
8
|
const CARD_WIDTH_MAP = {
|
|
9
9
|
normal: 'min-w-[970px]',
|
|
10
|
-
|
|
10
|
+
small: 'min-w-[355px]',
|
|
11
11
|
};
|
|
12
12
|
exports.CarouselCard = (0, uni_jsx_1.JSX)(({ className = '', button, description, title, carouselVersion = 'normal' }) => ((0, jsx_runtime_1.jsx)("section", { className: `flex pb-9 pl-12 border-box h-full ${CARD_WIDTH_MAP[carouselVersion]} ${className}`, children: (0, jsx_runtime_1.jsxs)("div", { className: "relative w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), (0, jsx_runtime_1.jsx)("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), (0, jsx_runtime_1.jsxs)("div", { className: "relative h-full bg-white z-10 p-10 border border-solid border-green-light", children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "L", align: "text-left" }), (0, renderButtonsSection_1.renderButtonsSection)([button], { className: 'mt-14' })] })] }) })));
|
|
13
13
|
//# sourceMappingURL=CarouselCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"CarouselCard.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/CarouselCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,mFAAgF;AAChF,mDAAgD;AAOhD,MAAM,aAAa,GAAG,wDAAwD,CAAC;AAE/E,MAAM,cAAc,GAAgC;IAClD,MAAM,EAAE,eAAe;IACvB,KAAK,EAAE,eAAe;CACvB,CAAC;AAEW,QAAA,YAAY,GAAG,IAAA,aAAG,EAC7B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,eAAe,GAAG,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC9E,oCACE,SAAS,EAAE,qCAAqC,cAAc,CAAC,eAAe,CAAC,IAAI,SAAS,EAAE,YAE9F,iCAAK,SAAS,EAAC,iBAAiB,aAC9B,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,gCAAK,SAAS,EAAE,GAAG,aAAa,8BAA8B,GAAI,EAClE,gCAAK,SAAS,EAAE,GAAG,aAAa,oCAAoC,GAAI,EACxE,iCAAK,SAAS,EAAC,2EAA2E,aACxF,uBAAC,mBAAQ,IACP,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAC,GAAG,EACnB,KAAK,EAAC,WAAW,GACjB,EACD,IAAA,2CAAoB,EAAC,CAAC,MAAM,CAAC,EAAE,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,IACnD,IACF,GACE,CACX,CACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SizeVersion } from '../../model/SizeVersion';
|
|
2
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
/**
|
|
@@ -13,5 +13,5 @@ export interface CarouselCardContent extends HeadlineCommonProps {
|
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
button?: ButtonWithIconProps;
|
|
16
|
-
carouselVersion?:
|
|
16
|
+
carouselVersion?: SizeVersion;
|
|
17
17
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const cardStyleMap: Record<
|
|
3
|
-
export declare const cardWidthMap: Record<
|
|
1
|
+
import type { SizeVersion } from '../../model/SizeVersion';
|
|
2
|
+
export declare const cardStyleMap: Record<SizeVersion, string>;
|
|
3
|
+
export declare const cardWidthMap: Record<SizeVersion, string>;
|
|
@@ -2,10 +2,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.cardWidthMap = exports.cardStyleMap = void 0;
|
|
3
3
|
exports.cardStyleMap = {
|
|
4
4
|
normal: 'min-w-[100%] justify-center items-center m-7 col-span-12',
|
|
5
|
-
|
|
5
|
+
small: 'min-w-auto justify-center items-center m-9 col-span-4',
|
|
6
6
|
};
|
|
7
7
|
exports.cardWidthMap = {
|
|
8
8
|
normal: 'w-[1007px]',
|
|
9
|
-
|
|
9
|
+
small: 'w-[350px]',
|
|
10
10
|
};
|
|
11
11
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/constants.ts"],"names":[],"mappings":";;AAEa,QAAA,YAAY,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/CarouselCard/constants.ts"],"names":[],"mappings":";;AAEa,QAAA,YAAY,GAAgC;IACvD,MAAM,EAAE,0DAA0D;IAClE,KAAK,EAAE,uDAAuD;CAC/D,CAAC;AAEW,QAAA,YAAY,GAAgC;IACvD,MAAM,EAAE,YAAY;IACpB,KAAK,EAAE,WAAW;CACnB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { CarouselEventCardContent } from './CarouselEventCardContent';
|
|
3
|
+
export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const CarouselEventCard: import("@redneckz/uni-jsx").UNIComponent<CarouselEventCardProps, any, any>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.CarouselEventCard = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
+
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
|
+
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
|
+
const Text_1 = require("../../ui-kit/Text/Text");
|
|
9
|
+
const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
|
|
10
|
+
const style_1 = require("../../utils/style");
|
|
11
|
+
exports.CarouselEventCard = (0, uni_jsx_1.JSX)(({ className = '', icon, title, description, href, target, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col w-[365px]', className), ...rest, children: (0, jsx_runtime_1.jsxs)("a", { href: href, target: target, role: "link", children: [icon?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: (0, getIconWithVersion_1.getIconWithVersion)(icon), asSVG: true }) : null, icon?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) : null, title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", as: "h4", className: "text-left mb-2", title: title })) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "mb-4", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { font: "font-light", size: "text-s", color: "text-secondary-text", children: description }) })) : null] }) })));
|
|
12
|
+
//# sourceMappingURL=CarouselEventCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarouselEventCard.js","sourceRoot":"","sources":["../../../src/components/CarouselEventCard/CarouselEventCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,uEAAoE;AACpE,6CAA0C;AAM7B,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACvE,uBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,yBAAyB,EAAE,SAAS,CAAC,KAAM,IAAI,YAC5E,+BAAG,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAC,MAAM,aACvC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAA,uCAAkB,EAAC,IAAI,CAAC,EAAE,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,EAClE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,EACvC,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,gBAAgB,EAAC,KAAK,EAAE,KAAK,GAAI,CAC9E,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,WAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,YAC9D,WAAW,GACP,GACH,CACP,CAAC,CAAC,CAAC,IAAI,IACN,GACS,CAChB,CACF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
|
+
/**
|
|
5
|
+
* @title Карточка мероприятия в карусели
|
|
6
|
+
*/
|
|
7
|
+
export declare type CarouselEventCardContent = TitleProps & DescriptionProps & LinkCommonProps & {
|
|
8
|
+
icon?: Picture;
|
|
9
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
//# sourceMappingURL=
|
|
2
|
+
//# sourceMappingURL=CarouselEventCardContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarouselEventCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselEventCard/CarouselEventCardContent.ts"],"names":[],"mappings":""}
|
|
@@ -3,17 +3,16 @@ exports.CarouselRecommendationCard = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
-
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
7
6
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
7
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
9
8
|
const List_1 = require("../../ui-kit/List/List");
|
|
9
|
+
const style_1 = require("../../utils/style");
|
|
10
10
|
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
11
11
|
const SocialMedia_1 = require("../Footer/SocialMedia");
|
|
12
|
-
|
|
13
|
-
exports.CarouselRecommendationCard = (0, uni_jsx_1.JSX)(({ button, className = '', description, image, items = [], socialMedia = [], title, version = 'primary', ...rest }) => {
|
|
12
|
+
exports.CarouselRecommendationCard = (0, uni_jsx_1.JSX)(({ className = '', description, image, items = [], socialMedia = [], title, version = 'primary', ...rest }) => {
|
|
14
13
|
const tileTitle = title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
|
|
15
14
|
const tileImage = image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
|
|
16
15
|
const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
|
|
17
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative p-7 min-w-[524px] h-full text-left box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), version: version, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: (0, jsx_runtime_1.jsxs)("div", { className: "h-full flex flex-col justify-between", children: [description ? ((0, jsx_runtime_1.jsx)("span", { className: "mb-2 group-data-gray:text-secondary-text group-data-gray:max-w-[265px]", children: description })) : null, items.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia.length ? (0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null
|
|
16
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('relative p-7 min-w-[524px] h-full text-left box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), version: version, ...rest, children: (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: (0, jsx_runtime_1.jsxs)("div", { className: "h-full flex flex-col justify-between", children: [description ? ((0, jsx_runtime_1.jsx)("span", { className: "mb-2 group-data-gray:text-secondary-text group-data-gray:max-w-[265px]", children: description })) : null, items.length ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia.length ? (0, jsx_runtime_1.jsx)(SocialMedia_1.SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null] }) }) }));
|
|
18
17
|
});
|
|
19
18
|
//# sourceMappingURL=CarouselRecommendationCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"CarouselRecommendationCard.js","sourceRoot":"","sources":["../../../src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,6CAA0C;AAC1C,mDAAgD;AAChD,uDAAoD;AAKvC,QAAA,0BAA0B,GAAG,IAAA,aAAG,EAC3C,CAAC,EACC,SAAS,GAAG,EAAE,EACd,WAAW,EACX,KAAK,EACL,KAAK,GAAG,EAAE,EACV,WAAW,GAAG,EAAE,EAChB,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CACxB,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,aAAa,EAAC,KAAK,EAAE,KAAK,GAAI,CAC3E,CAAC,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,SAAS,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CAC7B,uBAAC,SAAG,IAAC,SAAS,EAAC,+BAA+B,EAAC,KAAK,EAAE,KAAK,GAAI,CAChE,CAAC,CAAC,CAAC,IAAI,CAAC;IACT,MAAM,YAAY,GAChB,0GAA0G,CAAC;IAE7G,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,2FAA2F,EAC3F,YAAY,EACZ,SAAS,CACV,EACD,OAAO,EAAE,OAAO,KACZ,IAAI,YAER,uBAAC,mBAAQ,IAAC,SAAS,EAAC,sBAAsB,EAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,YAC3E,iCAAK,SAAS,EAAC,sCAAsC,aAClD,WAAW,CAAC,CAAC,CAAC,CACb,iCAAM,SAAS,EAAC,wEAAwE,YACrF,WAAW,GACP,CACR,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CACd,uBAAC,WAAI,IACH,SAAS,EAAC,wDAAwD,EAClE,KAAK,EAAE,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,uBAAC,yBAAW,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI,IACnF,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
2
3
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
4
|
+
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
3
5
|
import type { Picture } from '../../model/Picture';
|
|
4
|
-
import type { ButtonWithIconProps, ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
6
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
|
+
export declare type RecommendationSocialMedia = LinkCommonProps & {
|
|
8
|
+
version: ButtonVersion;
|
|
9
|
+
icon?: Picture;
|
|
10
|
+
rounded?: boolean;
|
|
11
|
+
};
|
|
6
12
|
/**
|
|
7
13
|
* @title Карточка рекомендаций
|
|
8
14
|
*/
|
|
@@ -10,7 +16,7 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
|
|
|
10
16
|
/**
|
|
11
17
|
* @title Соц сети
|
|
12
18
|
*/
|
|
13
|
-
socialMedia?:
|
|
19
|
+
socialMedia?: RecommendationSocialMedia[];
|
|
14
20
|
/**
|
|
15
21
|
* @default {
|
|
16
22
|
* "format": "webp",
|
|
@@ -26,12 +32,5 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
|
|
|
26
32
|
* }
|
|
27
33
|
*/
|
|
28
34
|
image?: Picture;
|
|
29
|
-
/**
|
|
30
|
-
* @default {
|
|
31
|
-
* "text": "",
|
|
32
|
-
* "version": "secondary"
|
|
33
|
-
* }
|
|
34
|
-
*/
|
|
35
|
-
button?: ButtonProps;
|
|
36
35
|
version?: BlockVersion;
|
|
37
36
|
}
|
|
@@ -2,39 +2,39 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.MediaButton = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Button_1 = require("../../ui-kit/Button/Button");
|
|
5
6
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
6
7
|
const getIconWithVersion_1 = require("../../utils/getIconWithVersion");
|
|
7
8
|
const style_1 = require("../../utils/style");
|
|
8
|
-
const Button_1 = require("../../ui-kit/Button/Button");
|
|
9
9
|
const ICONS_MAP = [
|
|
10
10
|
{
|
|
11
11
|
origins: ['t.me', 'telegram.org'],
|
|
12
|
-
|
|
12
|
+
iconMapped: { icon: 'TelegramIcon' },
|
|
13
13
|
label: 'Телеграм',
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
origins: ['vk.com'],
|
|
17
|
-
|
|
17
|
+
iconMapped: { icon: 'VKIcon' },
|
|
18
18
|
label: 'ВКонтакте',
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
origins: ['ok.ru'],
|
|
22
|
-
|
|
22
|
+
iconMapped: { icon: 'OkIcon' },
|
|
23
23
|
label: 'Одноклассники',
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
origins: ['apps.apple.com'],
|
|
27
|
-
|
|
27
|
+
iconMapped: { icon: 'AppleIcon' },
|
|
28
28
|
label: 'App Store',
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
origins: ['play.google.com'],
|
|
32
|
-
|
|
32
|
+
iconMapped: { icon: 'PlayMarketIcon' },
|
|
33
33
|
label: 'Google Play',
|
|
34
34
|
},
|
|
35
35
|
{
|
|
36
36
|
origins: ['youtube.com'],
|
|
37
|
-
|
|
37
|
+
iconMapped: { icon: 'YoutubeIcon' },
|
|
38
38
|
label: 'Youtube',
|
|
39
39
|
},
|
|
40
40
|
];
|
|
@@ -42,10 +42,13 @@ const buttonSizeStyles = {
|
|
|
42
42
|
default: 'w-14 h-14',
|
|
43
43
|
small: 'w-12 h-12',
|
|
44
44
|
};
|
|
45
|
-
exports.MediaButton = (0, uni_jsx_1.JSX)(({ iconVersion = 'color', buttonSize = 'default', rounded = false, ...rest }) => {
|
|
45
|
+
exports.MediaButton = (0, uni_jsx_1.JSX)(({ iconVersion = 'color', buttonSize = 'default', rounded = false, icon, ...rest }) => {
|
|
46
46
|
const { href, version } = rest;
|
|
47
|
-
const {
|
|
48
|
-
const
|
|
47
|
+
const { iconMapped, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
|
|
48
|
+
const iconCustom = icon ?? iconMapped;
|
|
49
|
+
const iconWithVersion = iconCustom
|
|
50
|
+
? { ...(0, getIconWithVersion_1.getIconWithVersion)(iconCustom), iconVersion }
|
|
51
|
+
: undefined;
|
|
49
52
|
return ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: (0, style_1.style)('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize], rounded ? 'rounded-full' : 'rounded-md', 'border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', buttonSizeStyles[buttonSize]), "aria-label": label, target: "_blank", rel: "noopener noreferrer", version: version, ...rest, children: iconWithVersion ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: iconWithVersion, imageClassName: "group-hover/media:text-white", width: "24", height: "24", asSVG: true })) : null }));
|
|
50
53
|
});
|
|
51
54
|
//# sourceMappingURL=MediaButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,uDAAoD;AAEpD,8CAA2C;AAC3C,uEAAoE;AACpE,6CAA0C;AAE1C,MAAM,SAAS,GAIV;IACH;QACE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;QACjC,UAAU,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;QACpC,KAAK,EAAE,UAAU;KAClB;IACD;QACE,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;QAC9B,KAAK,EAAE,WAAW;KACnB;IACD;QACE,OAAO,EAAE,CAAC,OAAO,CAAC;QAClB,UAAU,EAAE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A,aAAK,EACd,yDAAyD,EACzD,gBAAgB,CAAC,UAAU,CAAC,EAC5B,OAAO,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,YAAY,EACvC,8CAA8C,EAC9C,wCAAwC,EACxC,wCAAwC,EACxC,iGAAiG,EACjG,8BAA8B,EAE9B,gBAAgB,CAAC,UAAU,CAAC,CAC7B,gBACW,KAAK,EACjB,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,EACzB,OAAO,EAAE,OAAO,KACZ,IAAI,YAEP,eAAe,CAAC,CAAC,CAAC,CACjB,uBAAC,SAAG,IACF,KAAK,EAAE,eAAe,EACtB,cAAc,EAAC,8BAA8B,EAC7C,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,KAAK,SACL,CACH,CAAC,CAAC,CAAC,IAAI,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -16,10 +16,10 @@ const BG_COLOR_TO_BLOCK_VERSION = {
|
|
|
16
16
|
'bg-white': 'primary',
|
|
17
17
|
transparent: 'transparent',
|
|
18
18
|
};
|
|
19
|
-
exports.Header = (0, uni_jsx_1.JSX)(({ bgColor = 'bg-white', className, showSubMenu = true, version = BG_COLOR_TO_BLOCK_VERSION[bgColor],
|
|
19
|
+
exports.Header = (0, uni_jsx_1.JSX)(({ bgColor = 'bg-white', className, showSubMenu = true, version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
|
|
20
20
|
const router = (0, useRouter_1.useRouter)();
|
|
21
21
|
const { topItems, logo, defaultLocation, foreignOffices, officesLink } = (0, useSWRResource_1.useSWRResource)(ProjectSettings_1.projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
|
|
22
22
|
const activeTopItem = topItems?.find((0, isTopItemActive_1.isTopItemActive)(router));
|
|
23
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { tag: "header", className: (0, style_1.style)('pt-6 px-20', showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5', className), version: version, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-center", children: [(0, jsx_runtime_1.jsx)(Logo_1.Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topItems?.map((_, i) => ((0, jsx_runtime_1.jsx)(TopItem_1.TopItem, { active: _ === activeTopItem, ..._ }, String(i)))), (0, jsx_runtime_1.jsx)(HeaderSecondaryMenu_1.HeaderSecondaryMenu, { version: version, className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink
|
|
23
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { tag: "header", className: (0, style_1.style)('pt-6 px-20', showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5', className), version: version, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-center", children: [(0, jsx_runtime_1.jsx)(Logo_1.Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topItems?.map((_, i) => ((0, jsx_runtime_1.jsx)(TopItem_1.TopItem, { active: _ === activeTopItem, ..._ }, String(i)))), (0, jsx_runtime_1.jsx)(HeaderSecondaryMenu_1.HeaderSecondaryMenu, { version: version, className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink })] }), (0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('mt-6 h-px bg-main-divider', version === 'transparent' ? 'opacity-30' : '') }), showSubMenu && activeTopItem?.items?.length ? ((0, jsx_runtime_1.jsx)(HeaderSubMenu_1.HeaderSubMenu, { subItems: activeTopItem.items })) : null] }) }));
|
|
24
24
|
});
|
|
25
25
|
//# sourceMappingURL=Header.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";;;AAAA,+CAA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ptyOption } from './HeaderContent';
|
|
3
|
-
export declare type ChatBot = Exclude<ChatBotWithEmptyOption, ''>;
|
|
4
2
|
interface HeaderChatBotButtonProps {
|
|
5
3
|
className?: string;
|
|
6
4
|
iconVersion?: IconVersion;
|
|
7
|
-
chat?:
|
|
5
|
+
chat?: string;
|
|
8
6
|
onClick?: () => void;
|
|
9
7
|
}
|
|
10
8
|
export declare const HeaderChatBotButton: import("@redneckz/uni-jsx").UNIComponent<HeaderChatBotButtonProps, any, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderChatBotButton.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderChatBotButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,6CAA0C;
|
|
1
|
+
{"version":3,"file":"HeaderChatBotButton.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderChatBotButton.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,6CAA0C;AAC1C,2EAAwE;AACxE,6CAA0C;AAS1C,MAAM,yBAAyB,GAAG,qBAAqB,CAAC;AAE3C,QAAA,mBAAmB,GAAG,IAAA,aAAG,EAA2B,CAAC,KAAK,EAAE,EAAE;IACzE,MAAM,CAAC,aAAa,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,GAAG,IAAA,iBAAO,GAAE,CAAC;IAErD,OAAO,aAAa,CAAC,CAAC,CAAC,CACrB,uBAAC,6BAA6B,OAAK,KAAK,GAAI,CAC7C,CAAC,CAAC,CAAC,CACF,mBAAmB,CAAC,EAAE,GAAG,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CACjD,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,6BAA6B,GAAG,IAAA,aAAG,EACvC,CAAC,EAAE,IAAI,GAAG,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IACjC,IAAA,uBAAU,EAAC,IAAI,CAAC,CAAC;IAEjB,OAAO,mBAAmB,CAAC,IAAI,CAAC,CAAC;AACnC,CAAC,CACF,CAAC;AAEF,MAAM,mBAAmB,GAAG,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAA4B,EAAE,EAAE,CAAC,CAC7F,uBAAC,qDAAyB,IACxB,SAAS,EAAE,IAAA,aAAK,EAAC,yBAAyB,EAAE,SAAS,CAAC,EACtD,KAAK,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,WAAW,EAAE,EAC9C,SAAS,EAAC,oBAAK,EACf,OAAO,EAAE,OAAO,GAChB,CACH,CAAC"}
|
|
@@ -5,11 +5,6 @@ import type { IconProps, Picture } from '../../model/Picture';
|
|
|
5
5
|
* @title Пункт подменю
|
|
6
6
|
*/
|
|
7
7
|
export declare type SubMenuItem = LinkProps & IconProps;
|
|
8
|
-
/**
|
|
9
|
-
* @title Чат-бот
|
|
10
|
-
* @enumNames ["", "Для физических лиц", "Для юридических лиц"]
|
|
11
|
-
*/
|
|
12
|
-
export declare type ChatBot = '' | 'personal' | 'business';
|
|
13
8
|
/**
|
|
14
9
|
* @title Ссылка дополнительного меню
|
|
15
10
|
* @required ["text", "href"]
|
|
@@ -35,5 +30,4 @@ export interface HeaderContent {
|
|
|
35
30
|
showSubMenu?: boolean;
|
|
36
31
|
/** @hidden */
|
|
37
32
|
bgColor?: BgColorVersion;
|
|
38
|
-
chat?: ChatBot;
|
|
39
33
|
}
|