@redneckz/wildless-cms-uni-blocks 0.2.109 → 0.2.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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +101 -119
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Accordion/Accordion.mobile.d.ts +5 -0
- package/dist/components/Accordion/Accordion.mobile.js +10 -0
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -0
- package/dist/components/Accordion/AccordionContent.d.ts +12 -0
- package/dist/components/Accordion/AccordionItem.js +7 -24
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.d.ts +5 -0
- package/dist/components/Accordion/AccordionItem.mobile.js +16 -0
- package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -0
- package/dist/components/Accordion/AccordionItemInner.d.ts +2 -0
- package/dist/components/Accordion/AccordionItemInner.js +17 -0
- package/dist/components/Accordion/AccordionItemInner.js.map +1 -0
- package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +2 -0
- package/dist/components/Accordion/AccordionItemInner.mobile.js +17 -0
- package/dist/components/Accordion/AccordionItemInner.mobile.js.map +1 -0
- package/dist/components/Accordion/utils/isActiveHandler.d.ts +9 -0
- package/dist/components/Accordion/utils/isActiveHandler.js +21 -0
- package/dist/components/Accordion/utils/isActiveHandler.js.map +1 -0
- package/dist/components/BaseTile/BaseTile.js +3 -29
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.mobile.d.ts +5 -0
- package/dist/components/BaseTile/BaseTile.mobile.js +17 -0
- package/dist/components/BaseTile/BaseTile.mobile.js.map +1 -0
- package/dist/components/BaseTile/BaseTileInner.d.ts +5 -0
- package/dist/components/BaseTile/BaseTileInner.js +14 -0
- package/dist/components/BaseTile/BaseTileInner.js.map +1 -0
- package/dist/components/BaseTile/BaseTileInner.mobile.d.ts +5 -0
- package/dist/components/BaseTile/BaseTileInner.mobile.js +14 -0
- package/dist/components/BaseTile/BaseTileInner.mobile.js.map +1 -0
- package/dist/components/BaseTile/BaseTileProps.d.ts +9 -3
- package/dist/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
- package/dist/components/BaseTile/getTitleSizeByClassName.js +17 -0
- package/dist/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
- package/dist/components/BaseTile/renderButton.d.ts +2 -0
- package/dist/components/BaseTile/renderButton.js +12 -0
- package/dist/components/BaseTile/renderButton.js.map +1 -0
- package/dist/components/BaseTile/renderButton.mobile.d.ts +2 -0
- package/dist/components/BaseTile/renderButton.mobile.js +13 -0
- package/dist/components/BaseTile/renderButton.mobile.js.map +1 -0
- package/dist/components/BaseTile/renderItems.d.ts +2 -0
- package/dist/components/BaseTile/renderItems.js +9 -0
- package/dist/components/BaseTile/renderItems.js.map +1 -0
- package/dist/components/BaseTile/renderItems.mobile.d.ts +2 -0
- package/dist/components/BaseTile/renderItems.mobile.js +9 -0
- package/dist/components/BaseTile/renderItems.mobile.js.map +1 -0
- package/dist/components/Blocks.d.ts +1 -1
- package/dist/components/Blocks.mobile.d.ts +11 -0
- package/dist/components/Blocks.mobile.js +23 -0
- package/dist/components/Blocks.mobile.js.map +1 -0
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +20 -1
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +12 -0
- package/dist/components/Footer/HorizontalNavigation.d.ts +5 -1
- package/dist/components/Footer/HorizontalNavigation.js +3 -3
- package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +6 -0
- package/dist/components/Footer/HorizontalNavigation.mobile.js +12 -0
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -0
- package/dist/components/Footer/MediaButton.d.ts +5 -0
- package/dist/components/Footer/MediaButton.js +23 -0
- package/dist/components/Footer/MediaButton.js.map +1 -0
- package/dist/components/Footer/SocialMedia.js +2 -19
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/SocialMedia.mobile.d.ts +6 -0
- package/dist/components/Footer/SocialMedia.mobile.js +12 -0
- package/dist/components/Footer/SocialMedia.mobile.js.map +1 -0
- package/dist/components/Footer/TextInformation.d.ts +1 -1
- package/dist/components/Footer/TextInformation.mobile.d.ts +2 -0
- package/dist/components/Footer/TextInformation.mobile.js +12 -0
- package/dist/components/Footer/TextInformation.mobile.js.map +1 -0
- package/dist/components/Gallery/Gallery.d.ts +1 -4
- package/dist/components/Gallery/Gallery.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.d.ts +1 -1
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +6 -6
- package/dist/components/Gallery/GalleryProps.d.ts +4 -0
- package/dist/components/Gallery/GalleryProps.js +2 -0
- package/dist/components/Gallery/GalleryProps.js.map +1 -0
- package/dist/components/Header/Header.mobile.d.ts +5 -0
- package/dist/components/Header/Header.mobile.js +32 -0
- package/dist/components/Header/Header.mobile.js.map +1 -0
- package/dist/components/Header/HeaderBurger.d.ts +10 -0
- package/dist/components/Header/HeaderBurger.js +16 -0
- package/dist/components/Header/HeaderBurger.js.map +1 -0
- package/dist/components/Header/HeaderContent.d.ts +11 -1
- package/dist/components/Header/HeaderTop.d.ts +6 -0
- package/dist/components/Header/HeaderTop.js +8 -0
- package/dist/components/Header/HeaderTop.js.map +1 -0
- package/dist/components/Headline/Headline.js +2 -2
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/Headline.mobile.d.ts +5 -0
- package/dist/components/Headline/Headline.mobile.js +10 -0
- package/dist/components/Headline/Headline.mobile.js.map +1 -0
- package/dist/components/Headline/HeadlineContent.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +1 -1
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +5 -0
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +9 -0
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -0
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +3 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +2 -2
- package/dist/components/ProductBlock/ProductBlock.mobile.js +2 -2
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +2 -17
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +5 -0
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +11 -0
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -0
- package/dist/components/ProductBlock/renderBenefit.d.ts +2 -0
- package/dist/components/ProductBlock/renderBenefit.js +21 -0
- package/dist/components/ProductBlock/renderBenefit.js.map +1 -0
- package/dist/components/ProductBlock/renderBenefit.mobile.d.ts +2 -0
- package/dist/components/ProductBlock/renderBenefit.mobile.js +17 -0
- package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.js +21 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.js +9 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +8 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +9 -0
- package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -0
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -1
- package/dist/components/ProductTile/ProductTile.d.ts +1 -1
- package/dist/components/ProductTile/ProductTile.js +6 -6
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +4 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +5 -4
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +1 -0
- package/dist/components/TextBlock/TextBlock.js +2 -2
- package/dist/components/TextBlock/TextBlock.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.d.ts +5 -0
- package/dist/components/TextBlock/TextBlock.mobile.js +40 -0
- package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -0
- package/dist/components/TextBlock/TextBlockContent.d.ts +1 -0
- package/dist/components/Tile/Tile.js +1 -1
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/content-page-repository/transformPicture.js +6 -1
- package/dist/content-page-repository/transformPicture.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/dist/model/Picture.d.ts +1 -0
- package/dist/ui-kit/BlockItem/BlockItem.js +2 -2
- package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/dist/ui-kit/Breadcrumb.js +3 -3
- package/dist/ui-kit/Breadcrumb.js.map +1 -1
- package/dist/ui-kit/Button/Button.js +7 -5
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/Button.mobile.d.ts +6 -0
- package/dist/ui-kit/Button/Button.mobile.js +28 -0
- package/dist/ui-kit/Button/Button.mobile.js.map +1 -0
- package/dist/ui-kit/HeaderItem/HeaderItem.d.ts +0 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.js +2 -2
- package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +3 -0
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +23 -0
- package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -0
- package/dist/ui-kit/Icon/IconProps.d.ts +73 -61
- package/dist/ui-kit/Icon/IconProps.js +67 -61
- package/dist/ui-kit/Icon/IconProps.js.map +1 -1
- package/dist/ui-kit/Img.d.ts +2 -2
- package/dist/ui-kit/Img.js +3 -3
- package/dist/ui-kit/Img.js.map +1 -1
- package/dist/ui-kit/Img.mobile.d.ts +7 -0
- package/dist/ui-kit/Img.mobile.js +18 -0
- package/dist/ui-kit/Img.mobile.js.map +1 -0
- package/dist/ui-kit/Logo/Logo.d.ts +1 -0
- package/dist/ui-kit/Logo/Logo.js +2 -2
- package/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.mobile.d.ts +8 -0
- package/dist/ui-kit/Logo/Logo.mobile.js +24 -0
- package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -0
- package/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -0
- package/dist/ui-kit/{SearchBar.js → SearchBar/SearchBar.js} +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -0
- package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -0
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js +14 -0
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -0
- package/dist/ui-kit/{SearchBar.d.ts → SearchBar.mobile.d.ts} +0 -0
- package/dist/ui-kit/SearchBar.mobile.js +14 -0
- package/dist/ui-kit/SearchBar.mobile.js.map +1 -0
- package/dist/ui-kit/Title/Title.d.ts +2 -1
- package/dist/ui-kit/Title/Title.js +10 -3
- package/dist/ui-kit/Title/Title.js.map +1 -1
- package/dist/ui-kit/Title/Title.mobile.d.ts +3 -0
- package/dist/ui-kit/Title/Title.mobile.js +18 -0
- package/dist/ui-kit/Title/Title.mobile.js.map +1 -0
- package/dist/ui-kit/Title/TitleProps.d.ts +1 -10
- package/dist/ui-kit/Title/TitleProps.js +0 -11
- package/dist/ui-kit/Title/TitleProps.js.map +1 -1
- package/dist/utils/getAccordionItems.d.ts +1 -0
- package/dist/utils/getAccordionItems.js +13 -0
- package/dist/utils/getAccordionItems.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +2 -0
- package/lib/components/Accordion/Accordion.mobile.d.ts +5 -0
- package/lib/components/Accordion/Accordion.mobile.js +8 -0
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -0
- package/lib/components/Accordion/AccordionContent.d.ts +12 -0
- package/lib/components/Accordion/AccordionItem.js +7 -24
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.d.ts +5 -0
- package/lib/components/Accordion/AccordionItem.mobile.js +14 -0
- package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -0
- package/lib/components/Accordion/AccordionItemInner.d.ts +2 -0
- package/lib/components/Accordion/AccordionItemInner.js +15 -0
- package/lib/components/Accordion/AccordionItemInner.js.map +1 -0
- package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +2 -0
- package/lib/components/Accordion/AccordionItemInner.mobile.js +15 -0
- package/lib/components/Accordion/AccordionItemInner.mobile.js.map +1 -0
- package/lib/components/Accordion/utils/isActiveHandler.d.ts +9 -0
- package/lib/components/Accordion/utils/isActiveHandler.js +18 -0
- package/lib/components/Accordion/utils/isActiveHandler.js.map +1 -0
- package/lib/components/BaseTile/BaseTile.js +3 -29
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.mobile.d.ts +5 -0
- package/lib/components/BaseTile/BaseTile.mobile.js +15 -0
- package/lib/components/BaseTile/BaseTile.mobile.js.map +1 -0
- package/lib/components/BaseTile/BaseTileInner.d.ts +5 -0
- package/lib/components/BaseTile/BaseTileInner.js +12 -0
- package/lib/components/BaseTile/BaseTileInner.js.map +1 -0
- package/lib/components/BaseTile/BaseTileInner.mobile.d.ts +5 -0
- package/lib/components/BaseTile/BaseTileInner.mobile.js +12 -0
- package/lib/components/BaseTile/BaseTileInner.mobile.js.map +1 -0
- package/lib/components/BaseTile/BaseTileProps.d.ts +9 -3
- package/lib/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
- package/lib/components/BaseTile/getTitleSizeByClassName.js +14 -0
- package/lib/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
- package/lib/components/BaseTile/renderButton.d.ts +2 -0
- package/lib/components/BaseTile/renderButton.js +9 -0
- package/lib/components/BaseTile/renderButton.js.map +1 -0
- package/lib/components/BaseTile/renderButton.mobile.d.ts +2 -0
- package/lib/components/BaseTile/renderButton.mobile.js +10 -0
- package/lib/components/BaseTile/renderButton.mobile.js.map +1 -0
- package/lib/components/BaseTile/renderItems.d.ts +2 -0
- package/lib/components/BaseTile/renderItems.js +6 -0
- package/lib/components/BaseTile/renderItems.js.map +1 -0
- package/lib/components/BaseTile/renderItems.mobile.d.ts +2 -0
- package/lib/components/BaseTile/renderItems.mobile.js +6 -0
- package/lib/components/BaseTile/renderItems.mobile.js.map +1 -0
- package/lib/components/Blocks.d.ts +1 -1
- package/lib/components/Blocks.mobile.d.ts +11 -0
- package/lib/components/Blocks.mobile.js +21 -0
- package/lib/components/Blocks.mobile.js.map +1 -0
- package/lib/components/ContentPage/ContentPage.fixture.d.ts +0 -1
- package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +4 -0
- package/lib/components/Footer/Footer.fixture.mobile.d.ts +2 -0
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +21 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +12 -0
- package/lib/components/Footer/HorizontalNavigation.d.ts +5 -1
- package/lib/components/Footer/HorizontalNavigation.js +3 -3
- package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +6 -0
- package/lib/components/Footer/HorizontalNavigation.mobile.js +10 -0
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -0
- package/lib/components/Footer/MediaButton.d.ts +5 -0
- package/lib/components/Footer/MediaButton.js +21 -0
- package/lib/components/Footer/MediaButton.js.map +1 -0
- package/lib/components/Footer/SocialMedia.js +1 -18
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/SocialMedia.mobile.d.ts +6 -0
- package/lib/components/Footer/SocialMedia.mobile.js +10 -0
- package/lib/components/Footer/SocialMedia.mobile.js.map +1 -0
- package/lib/components/Footer/TextInformation.d.ts +1 -1
- package/lib/components/Footer/TextInformation.mobile.d.ts +2 -0
- package/lib/components/Footer/TextInformation.mobile.js +10 -0
- package/lib/components/Footer/TextInformation.mobile.js.map +1 -0
- package/lib/components/Gallery/Gallery.d.ts +1 -4
- package/lib/components/Gallery/Gallery.fixture.d.ts +0 -1
- package/lib/components/Gallery/Gallery.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.d.ts +1 -1
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +6 -6
- package/lib/components/Gallery/GalleryProps.d.ts +4 -0
- package/lib/components/Gallery/GalleryProps.js +2 -0
- package/lib/components/Gallery/GalleryProps.js.map +1 -0
- package/lib/components/Header/Header.fixture.mobile.d.ts +5 -0
- package/lib/components/Header/Header.mobile.d.ts +5 -0
- package/lib/components/Header/Header.mobile.js +30 -0
- package/lib/components/Header/Header.mobile.js.map +1 -0
- package/lib/components/Header/HeaderBurger.d.ts +10 -0
- package/lib/components/Header/HeaderBurger.js +14 -0
- package/lib/components/Header/HeaderBurger.js.map +1 -0
- package/lib/components/Header/HeaderContent.d.ts +11 -1
- package/lib/components/Header/HeaderTop.d.ts +6 -0
- package/lib/components/Header/HeaderTop.js +6 -0
- package/lib/components/Header/HeaderTop.js.map +1 -0
- package/lib/components/Headline/Headline.fixture.d.ts +4 -0
- package/lib/components/Headline/Headline.fixture.mobile.d.ts +9 -0
- package/lib/components/Headline/Headline.js +2 -2
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/Headline.mobile.d.ts +5 -0
- package/lib/components/Headline/Headline.mobile.js +8 -0
- package/lib/components/Headline/Headline.mobile.js.map +1 -0
- package/lib/components/Headline/HeadlineContent.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +1 -1
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +1 -3
- package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +2 -0
- package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +5 -0
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +7 -0
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -0
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +3 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +4 -0
- package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +2 -2
- package/lib/components/ProductBlock/ProductBlock.mobile.js +2 -2
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -16
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +5 -0
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +9 -0
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -0
- package/lib/components/ProductBlock/renderBenefit.d.ts +2 -0
- package/lib/components/ProductBlock/renderBenefit.js +18 -0
- package/lib/components/ProductBlock/renderBenefit.js.map +1 -0
- package/lib/components/ProductBlock/renderBenefit.mobile.d.ts +2 -0
- package/lib/components/ProductBlock/renderBenefit.mobile.js +14 -0
- package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -0
- package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +4 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.js +19 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.js +7 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +8 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +7 -0
- package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -0
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -1
- package/lib/components/ProductTile/ProductTile.d.ts +1 -1
- package/lib/components/ProductTile/ProductTile.js +6 -6
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +4 -1
- package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +0 -5
- package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +8 -0
- package/lib/components/StepsBlock/StepsBlock.mobile.js +5 -4
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +1 -0
- package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +4 -0
- package/lib/components/TextBlock/TextBlock.js +2 -2
- package/lib/components/TextBlock/TextBlock.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.d.ts +5 -0
- package/lib/components/TextBlock/TextBlock.mobile.js +38 -0
- package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -0
- package/lib/components/TextBlock/TextBlockContent.d.ts +1 -0
- package/lib/components/Tile/Tile.js +1 -1
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/content-page-repository/transformPicture.js +6 -1
- package/lib/content-page-repository/transformPicture.js.map +1 -1
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/lib/index.js.map +1 -1
- package/lib/model/Picture.d.ts +1 -0
- package/lib/ui-kit/BlockItem/BlockItem.js +2 -2
- package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
- package/lib/ui-kit/Breadcrumb.js +3 -3
- package/lib/ui-kit/Breadcrumb.js.map +1 -1
- package/lib/ui-kit/Button/Button.fixture.mobile.d.ts +5 -0
- package/lib/ui-kit/Button/Button.js +7 -5
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/Button.mobile.d.ts +6 -0
- package/lib/ui-kit/Button/Button.mobile.js +26 -0
- package/lib/ui-kit/Button/Button.mobile.js.map +1 -0
- package/lib/ui-kit/HeaderItem/HeaderItem.d.ts +0 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.js +2 -2
- package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +3 -0
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +21 -0
- package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -0
- package/lib/ui-kit/Icon/IconProps.d.ts +73 -61
- package/lib/ui-kit/Icon/IconProps.js +67 -61
- package/lib/ui-kit/Icon/IconProps.js.map +1 -1
- package/lib/ui-kit/Img.d.ts +2 -2
- package/lib/ui-kit/Img.js +3 -3
- package/lib/ui-kit/Img.js.map +1 -1
- package/lib/ui-kit/Img.mobile.d.ts +7 -0
- package/lib/ui-kit/Img.mobile.js +15 -0
- package/lib/ui-kit/Img.mobile.js.map +1 -0
- package/lib/ui-kit/Logo/Logo.d.ts +1 -0
- package/lib/ui-kit/Logo/Logo.js +2 -2
- package/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.mobile.d.ts +8 -0
- package/lib/ui-kit/Logo/Logo.mobile.js +22 -0
- package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -0
- package/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -0
- package/lib/ui-kit/{SearchBar.js → SearchBar/SearchBar.js} +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -0
- package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -0
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js +12 -0
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +1 -0
- package/lib/ui-kit/{SearchBar.d.ts → SearchBar.mobile.d.ts} +0 -0
- package/lib/ui-kit/SearchBar.mobile.js +12 -0
- package/lib/ui-kit/SearchBar.mobile.js.map +1 -0
- package/lib/ui-kit/Title/Title.d.ts +2 -1
- package/lib/ui-kit/Title/Title.js +8 -1
- package/lib/ui-kit/Title/Title.js.map +1 -1
- package/lib/ui-kit/Title/Title.mobile.d.ts +3 -0
- package/lib/ui-kit/Title/Title.mobile.js +16 -0
- package/lib/ui-kit/Title/Title.mobile.js.map +1 -0
- package/lib/ui-kit/Title/TitleProps.d.ts +1 -10
- package/lib/ui-kit/Title/TitleProps.js +1 -10
- package/lib/ui-kit/Title/TitleProps.js.map +1 -1
- package/lib/utils/getAccordionItems.d.ts +1 -0
- package/lib/utils/getAccordionItems.js +10 -0
- package/lib/utils/getAccordionItems.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +974 -0
- package/mobile/bundle/bundle.umd.min.js +1 -0
- package/mobile/dist/ProjectSettings.d.ts +21 -0
- package/mobile/dist/ProjectSettings.js +33 -0
- package/mobile/dist/ProjectSettings.js.map +1 -0
- package/mobile/dist/api/DaDataAPI.d.ts +3 -0
- package/mobile/dist/api/DaDataAPI.js +33 -0
- package/mobile/dist/api/DaDataAPI.js.map +1 -0
- package/mobile/dist/api/LikeAPI.d.ts +9 -0
- package/mobile/dist/api/LikeAPI.js +120 -0
- package/mobile/dist/api/LikeAPI.js.map +1 -0
- package/mobile/dist/components/Accordion/Accordion.d.ts +5 -0
- package/mobile/dist/components/Accordion/Accordion.js +10 -0
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.d.ts +6 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.js +13 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.js.map +1 -0
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +77 -0
- package/mobile/dist/components/Accordion/AccordionContent.js +2 -0
- package/mobile/dist/components/Accordion/AccordionContent.js.map +1 -0
- package/mobile/dist/components/Accordion/AccordionItem.d.ts +5 -0
- package/mobile/dist/components/Accordion/AccordionItem.js +16 -0
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -0
- package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +2 -0
- package/mobile/dist/components/Accordion/AccordionItemInner.js +17 -0
- package/mobile/dist/components/Accordion/AccordionItemInner.js.map +1 -0
- package/mobile/dist/components/Accordion/utils/isActiveHandler.d.ts +9 -0
- package/mobile/dist/components/Accordion/utils/isActiveHandler.js +21 -0
- package/mobile/dist/components/Accordion/utils/isActiveHandler.js.map +1 -0
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +5 -0
- package/mobile/dist/components/BaseTile/BaseTile.js +17 -0
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -0
- package/mobile/dist/components/BaseTile/BaseTileInner.d.ts +5 -0
- package/mobile/dist/components/BaseTile/BaseTileInner.js +14 -0
- package/mobile/dist/components/BaseTile/BaseTileInner.js.map +1 -0
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +47 -0
- package/mobile/dist/components/BaseTile/BaseTileProps.js +2 -0
- package/mobile/dist/components/BaseTile/BaseTileProps.js.map +1 -0
- package/mobile/dist/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
- package/mobile/dist/components/BaseTile/getTitleSizeByClassName.js +17 -0
- package/mobile/dist/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
- package/mobile/dist/components/BaseTile/renderButton.d.ts +2 -0
- package/mobile/dist/components/BaseTile/renderButton.js +13 -0
- package/mobile/dist/components/BaseTile/renderButton.js.map +1 -0
- package/mobile/dist/components/BaseTile/renderItems.d.ts +2 -0
- package/mobile/dist/components/BaseTile/renderItems.js +9 -0
- package/mobile/dist/components/BaseTile/renderItems.js.map +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +13 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +23 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.js +2 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
- package/mobile/dist/components/BlockContent.d.ts +23 -0
- package/mobile/dist/components/BlockContent.js +2 -0
- package/mobile/dist/components/BlockContent.js.map +1 -0
- package/mobile/dist/components/Blocks.d.ts +11 -0
- package/mobile/dist/components/Blocks.js +23 -0
- package/mobile/dist/components/Blocks.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +36 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +59 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.js +2 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +10 -0
- package/mobile/dist/components/ComparisonTable/HeaderCell.js +11 -0
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js +10 -0
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableCell.d.ts +8 -0
- package/mobile/dist/components/ComparisonTable/TableCell.js +12 -0
- package/mobile/dist/components/ComparisonTable/TableCell.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableRow.d.ts +10 -0
- package/mobile/dist/components/ComparisonTable/TableRow.js +10 -0
- package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableRowContainer.d.ts +4 -0
- package/mobile/dist/components/ComparisonTable/TableRowContainer.js +6 -0
- package/mobile/dist/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/constants.d.ts +6 -0
- package/mobile/dist/components/ComparisonTable/constants.js +9 -0
- package/mobile/dist/components/ComparisonTable/constants.js.map +1 -0
- package/mobile/dist/components/ContentPage/ContentPage.d.ts +28 -0
- package/mobile/dist/components/ContentPage/ContentPage.js +32 -0
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -0
- package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +31 -0
- package/mobile/dist/components/ContentPage/ContentPageContext.js +2 -0
- package/mobile/dist/components/ContentPage/ContentPageContext.js.map +1 -0
- package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +6 -0
- package/mobile/dist/components/ContentPage/ContentPageHead.js +11 -0
- package/mobile/dist/components/ContentPage/ContentPageHead.js.map +1 -0
- package/mobile/dist/components/ContentPage/toMobilePage.d.ts +2 -0
- package/mobile/dist/components/ContentPage/toMobilePage.js +34 -0
- package/mobile/dist/components/ContentPage/toMobilePage.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculator.d.ts +5 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculator.js +57 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculator.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.d.ts +19 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.js +2 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/constants.d.ts +7 -0
- package/mobile/dist/components/CreditCalculator/constants.js +10 -0
- package/mobile/dist/components/CreditCalculator/constants.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getCalculatorParams.d.ts +7 -0
- package/mobile/dist/components/CreditCalculator/getCalculatorParams.js +11 -0
- package/mobile/dist/components/CreditCalculator/getCalculatorParams.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getCreditRate.d.ts +7 -0
- package/mobile/dist/components/CreditCalculator/getCreditRate.js +13 -0
- package/mobile/dist/components/CreditCalculator/getCreditRate.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getCreditTermYears.d.ts +1 -0
- package/mobile/dist/components/CreditCalculator/getCreditTermYears.js +15 -0
- package/mobile/dist/components/CreditCalculator/getCreditTermYears.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getMonthlyPayment.d.ts +11 -0
- package/mobile/dist/components/CreditCalculator/getMonthlyPayment.js +19 -0
- package/mobile/dist/components/CreditCalculator/getMonthlyPayment.js.map +1 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +35 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +7 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +2 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
- package/mobile/dist/components/Footer/Contacts.d.ts +7 -0
- package/mobile/dist/components/Footer/Contacts.js +31 -0
- package/mobile/dist/components/Footer/Contacts.js.map +1 -0
- package/mobile/dist/components/Footer/Footer.d.ts +5 -0
- package/mobile/dist/components/Footer/Footer.js +26 -0
- package/mobile/dist/components/Footer/Footer.js.map +1 -0
- package/mobile/dist/components/Footer/FooterContent.d.ts +50 -0
- package/mobile/dist/components/Footer/FooterContent.js +2 -0
- package/mobile/dist/components/Footer/FooterContent.js.map +1 -0
- package/mobile/dist/components/Footer/FooterLink.d.ts +5 -0
- package/mobile/dist/components/Footer/FooterLink.js +2 -0
- package/mobile/dist/components/Footer/FooterLink.js.map +1 -0
- package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +6 -0
- package/mobile/dist/components/Footer/HorizontalNavigation.js +12 -0
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -0
- package/mobile/dist/components/Footer/MediaButton.d.ts +5 -0
- package/mobile/dist/components/Footer/MediaButton.js +23 -0
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -0
- package/mobile/dist/components/Footer/Sitemap.d.ts +6 -0
- package/mobile/dist/components/Footer/Sitemap.js +22 -0
- package/mobile/dist/components/Footer/Sitemap.js.map +1 -0
- package/mobile/dist/components/Footer/SocialMedia.d.ts +6 -0
- package/mobile/dist/components/Footer/SocialMedia.js +12 -0
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -0
- package/mobile/dist/components/Footer/TextInformation.d.ts +2 -0
- package/mobile/dist/components/Footer/TextInformation.js +12 -0
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -0
- package/mobile/dist/components/Gallery/Gallery.d.ts +2 -0
- package/mobile/dist/components/Gallery/Gallery.js +18 -0
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/mobile/dist/components/Gallery/GalleryCardInner.js +19 -0
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryContainer.d.ts +13 -0
- package/mobile/dist/components/Gallery/GalleryContainer.js +16 -0
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +32 -0
- package/mobile/dist/components/Gallery/GalleryContent.js +2 -0
- package/mobile/dist/components/Gallery/GalleryContent.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryInner.d.ts +7 -0
- package/mobile/dist/components/Gallery/GalleryInner.js +18 -0
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryProps.d.ts +4 -0
- package/mobile/dist/components/Gallery/GalleryProps.js +2 -0
- package/mobile/dist/components/Gallery/GalleryProps.js.map +1 -0
- package/mobile/dist/components/Gallery/constants.d.ts +6 -0
- package/mobile/dist/components/Gallery/constants.js +19 -0
- package/mobile/dist/components/Gallery/constants.js.map +1 -0
- package/mobile/dist/components/Header/Header.d.ts +5 -0
- package/mobile/dist/components/Header/Header.js +32 -0
- package/mobile/dist/components/Header/Header.js.map +1 -0
- package/mobile/dist/components/Header/HeaderBurger.d.ts +10 -0
- package/mobile/dist/components/Header/HeaderBurger.js +16 -0
- package/mobile/dist/components/Header/HeaderBurger.js.map +1 -0
- package/mobile/dist/components/Header/HeaderContent.d.ts +29 -0
- package/mobile/dist/components/Header/HeaderContent.js +2 -0
- package/mobile/dist/components/Header/HeaderContent.js.map +1 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +10 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +24 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js +6 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
- package/mobile/dist/components/Header/HeaderTop.d.ts +6 -0
- package/mobile/dist/components/Header/HeaderTop.js +8 -0
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -0
- package/mobile/dist/components/Headline/Headline.d.ts +5 -0
- package/mobile/dist/components/Headline/Headline.js +10 -0
- package/mobile/dist/components/Headline/Headline.js.map +1 -0
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +8 -0
- package/mobile/dist/components/Headline/HeadlineContent.js +2 -0
- package/mobile/dist/components/Headline/HeadlineContent.js.map +1 -0
- package/mobile/dist/components/LikeControl/LikeControl.d.ts +2 -0
- package/mobile/dist/components/LikeControl/LikeControl.js +10 -0
- package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +5 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.js +42 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +23 -0
- package/mobile/dist/components/LinkDocs/LinkDocsContent.js +2 -0
- package/mobile/dist/components/LinkDocs/LinkDocsContent.js.map +1 -0
- package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/mobile/dist/components/MiniGallery/MiniGallery.js +7 -0
- package/mobile/dist/components/MiniGallery/MiniGallery.js.map +1 -0
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +5 -0
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.js +2 -0
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +9 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +18 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.js +2 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
- package/mobile/dist/components/Navigation/Navigation.d.ts +5 -0
- package/mobile/dist/components/Navigation/Navigation.js +16 -0
- package/mobile/dist/components/Navigation/Navigation.js.map +1 -0
- package/mobile/dist/components/Navigation/NavigationContent.d.ts +10 -0
- package/mobile/dist/components/Navigation/NavigationContent.js +2 -0
- package/mobile/dist/components/Navigation/NavigationContent.js.map +1 -0
- package/mobile/dist/components/Navigation/NavigationItem.d.ts +4 -0
- package/mobile/dist/components/Navigation/NavigationItem.js +6 -0
- package/mobile/dist/components/Navigation/NavigationItem.js.map +1 -0
- package/mobile/dist/components/PictureText/PictureText.d.ts +5 -0
- package/mobile/dist/components/PictureText/PictureText.js +14 -0
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -0
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +9 -0
- package/mobile/dist/components/PictureText/PictureTextContent.js +2 -0
- package/mobile/dist/components/PictureText/PictureTextContent.js.map +1 -0
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +6 -0
- package/mobile/dist/components/Placeholder/Placeholder.js +15 -0
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -0
- package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +6 -0
- package/mobile/dist/components/Placeholder/PlaceholderContent.js +2 -0
- package/mobile/dist/components/Placeholder/PlaceholderContent.js.map +1 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.js +12 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -0
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +25 -0
- package/mobile/dist/components/ProductBlock/ProductBlockContent.js +2 -0
- package/mobile/dist/components/ProductBlock/ProductBlockContent.js.map +1 -0
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +5 -0
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +11 -0
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -0
- package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -0
- package/mobile/dist/components/ProductBlock/renderBenefit.js +17 -0
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +5 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.js +21 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +9 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +30 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.js +2 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.js.map +1 -0
- package/mobile/dist/components/ProductTile/ProductTile.d.ts +5 -0
- package/mobile/dist/components/ProductTile/ProductTile.js +20 -0
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -0
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +12 -0
- package/mobile/dist/components/ProductTile/ProductTileContent.js +2 -0
- package/mobile/dist/components/ProductTile/ProductTileContent.js.map +1 -0
- package/mobile/dist/components/PromoTile/PromoTile.d.ts +5 -0
- package/mobile/dist/components/PromoTile/PromoTile.js +18 -0
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -0
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +8 -0
- package/mobile/dist/components/PromoTile/PromoTileContent.js +2 -0
- package/mobile/dist/components/PromoTile/PromoTileContent.js.map +1 -0
- package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/mobile/dist/components/StepsBlock/StepsBlock.js +20 -0
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -0
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +30 -0
- package/mobile/dist/components/StepsBlock/StepsBlockContent.js +2 -0
- package/mobile/dist/components/StepsBlock/StepsBlockContent.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +5 -0
- package/mobile/dist/components/TariffsTable/TariffsTable.js +25 -0
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +6 -0
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +16 -0
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +59 -0
- package/mobile/dist/components/TariffsTable/TariffsTableContent.js +2 -0
- package/mobile/dist/components/TariffsTable/TariffsTableContent.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +8 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +13 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -0
- package/mobile/dist/components/TariffsTable/constants.d.ts +4 -0
- package/mobile/dist/components/TariffsTable/constants.js +7 -0
- package/mobile/dist/components/TariffsTable/constants.js.map +1 -0
- package/mobile/dist/components/TextBlock/TextBlock.d.ts +5 -0
- package/mobile/dist/components/TextBlock/TextBlock.js +40 -0
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -0
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +24 -0
- package/mobile/dist/components/TextBlock/TextBlockContent.js +2 -0
- package/mobile/dist/components/TextBlock/TextBlockContent.js.map +1 -0
- package/mobile/dist/components/Tile/Tile.d.ts +6 -0
- package/mobile/dist/components/Tile/Tile.js +39 -0
- package/mobile/dist/components/Tile/Tile.js.map +1 -0
- package/mobile/dist/components/Tile/TileContent.d.ts +5 -0
- package/mobile/dist/components/Tile/TileContent.js +2 -0
- package/mobile/dist/components/Tile/TileContent.js.map +1 -0
- package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +10 -0
- package/mobile/dist/content-page-repository/ContentPageRepository.js +56 -0
- package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -0
- package/mobile/dist/content-page-repository/TransformationOptions.d.ts +4 -0
- package/mobile/dist/content-page-repository/TransformationOptions.js +2 -0
- package/mobile/dist/content-page-repository/TransformationOptions.js.map +1 -0
- package/mobile/dist/content-page-repository/index.d.ts +2 -0
- package/mobile/dist/content-page-repository/index.js +7 -0
- package/mobile/dist/content-page-repository/index.js.map +1 -0
- package/mobile/dist/content-page-repository/mapJSON.d.ts +1 -0
- package/mobile/dist/content-page-repository/mapJSON.js +24 -0
- package/mobile/dist/content-page-repository/mapJSON.js.map +1 -0
- package/mobile/dist/content-page-repository/transformContentPage.d.ts +3 -0
- package/mobile/dist/content-page-repository/transformContentPage.js +30 -0
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -0
- package/mobile/dist/content-page-repository/transformMarkdown.d.ts +1 -0
- package/mobile/dist/content-page-repository/transformMarkdown.js +16 -0
- package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -0
- package/mobile/dist/content-page-repository/transformPicture.d.ts +3 -0
- package/mobile/dist/content-page-repository/transformPicture.js +50 -0
- package/mobile/dist/content-page-repository/transformPicture.js.map +1 -0
- package/mobile/dist/hooks/useComparisonTableScroll.d.ts +12 -0
- package/mobile/dist/hooks/useComparisonTableScroll.js +12 -0
- package/mobile/dist/hooks/useComparisonTableScroll.js.map +1 -0
- package/mobile/dist/hooks/useCreditCalculatorData.d.ts +3 -0
- package/mobile/dist/hooks/useCreditCalculatorData.js +15 -0
- package/mobile/dist/hooks/useCreditCalculatorData.js.map +1 -0
- package/mobile/dist/hooks/useLink.d.ts +15 -0
- package/mobile/dist/hooks/useLink.js +23 -0
- package/mobile/dist/hooks/useLink.js.map +1 -0
- package/mobile/dist/index.d.ts +19 -0
- package/mobile/dist/index.js +49 -0
- package/mobile/dist/index.js.map +1 -0
- package/mobile/dist/model/BgColorVersion.d.ts +8 -0
- package/mobile/dist/model/BgColorVersion.js +2 -0
- package/mobile/dist/model/BgColorVersion.js.map +1 -0
- package/mobile/dist/model/BlockVersion.d.ts +5 -0
- package/mobile/dist/model/BlockVersion.js +2 -0
- package/mobile/dist/model/BlockVersion.js.map +1 -0
- package/mobile/dist/model/ButtonVersion.d.ts +6 -0
- package/mobile/dist/model/ButtonVersion.js +2 -0
- package/mobile/dist/model/ButtonVersion.js.map +1 -0
- package/mobile/dist/model/GalleryVersion.d.ts +1 -0
- package/mobile/dist/model/GalleryVersion.js +2 -0
- package/mobile/dist/model/GalleryVersion.js.map +1 -0
- package/mobile/dist/model/LinkProps.d.ts +22 -0
- package/mobile/dist/model/LinkProps.js +2 -0
- package/mobile/dist/model/LinkProps.js.map +1 -0
- package/mobile/dist/model/Picture.d.ts +29 -0
- package/mobile/dist/model/Picture.js +2 -0
- package/mobile/dist/model/Picture.js.map +1 -0
- package/mobile/dist/model/SitemapProps.d.ts +13 -0
- package/mobile/dist/model/SitemapProps.js +2 -0
- package/mobile/dist/model/SitemapProps.js.map +1 -0
- package/mobile/dist/model/SizeVersion.d.ts +8 -0
- package/mobile/dist/model/SizeVersion.js +2 -0
- package/mobile/dist/model/SizeVersion.js.map +1 -0
- package/mobile/dist/model/TableVersion.d.ts +1 -0
- package/mobile/dist/model/TableVersion.js +2 -0
- package/mobile/dist/model/TableVersion.js.map +1 -0
- package/mobile/dist/services/sitemap/SitemapProps.d.ts +13 -0
- package/mobile/dist/services/sitemap/SitemapProps.js +2 -0
- package/mobile/dist/services/sitemap/SitemapProps.js.map +1 -0
- package/mobile/dist/services/sitemap/findActiveSubItem.d.ts +3 -0
- package/mobile/dist/services/sitemap/findActiveSubItem.js +13 -0
- package/mobile/dist/services/sitemap/findActiveSubItem.js.map +1 -0
- package/mobile/dist/services/sitemap/isHrefActive.d.ts +4 -0
- package/mobile/dist/services/sitemap/isHrefActive.js +9 -0
- package/mobile/dist/services/sitemap/isHrefActive.js.map +1 -0
- package/mobile/dist/services/sitemap/isSubItemActive.d.ts +3 -0
- package/mobile/dist/services/sitemap/isSubItemActive.js +6 -0
- package/mobile/dist/services/sitemap/isSubItemActive.js.map +1 -0
- package/mobile/dist/services/sitemap/isTopItemActive.d.ts +3 -0
- package/mobile/dist/services/sitemap/isTopItemActive.js +7 -0
- package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -0
- package/mobile/dist/services/sitemap/mergeTopItems.d.ts +2 -0
- package/mobile/dist/services/sitemap/mergeTopItems.js +8 -0
- package/mobile/dist/services/sitemap/mergeTopItems.js.map +1 -0
- package/mobile/dist/services/sitemap/useSitemap.d.ts +3 -0
- package/mobile/dist/services/sitemap/useSitemap.js +16 -0
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -0
- package/mobile/dist/types.d.ts +51 -0
- package/mobile/dist/types.js +2 -0
- package/mobile/dist/types.js.map +1 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItem.d.ts +2 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js +24 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItemProps.d.ts +21 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItemProps.js +2 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItemProps.js.map +1 -0
- package/mobile/dist/ui-kit/Breadcrumb.d.ts +6 -0
- package/mobile/dist/ui-kit/Breadcrumb.js +13 -0
- package/mobile/dist/ui-kit/Breadcrumb.js.map +1 -0
- package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +2 -0
- package/mobile/dist/ui-kit/Button/ArrowButton.js +22 -0
- package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -0
- package/mobile/dist/ui-kit/Button/Button.d.ts +6 -0
- package/mobile/dist/ui-kit/Button/Button.js +28 -0
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -0
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +30 -0
- package/mobile/dist/ui-kit/Button/ButtonProps.js +2 -0
- package/mobile/dist/ui-kit/Button/ButtonProps.js.map +1 -0
- package/mobile/dist/ui-kit/Button/LikeButton.d.ts +6 -0
- package/mobile/dist/ui-kit/Button/LikeButton.js +15 -0
- package/mobile/dist/ui-kit/Button/LikeButton.js.map +1 -0
- package/mobile/dist/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +17 -0
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -0
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.js +2 -0
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +23 -0
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/Icon.d.ts +2 -0
- package/mobile/dist/ui-kit/Icon/Icon.js +13 -0
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +159 -0
- package/mobile/dist/ui-kit/Icon/IconProps.js +78 -0
- package/mobile/dist/ui-kit/Icon/IconProps.js.map +1 -0
- package/mobile/dist/ui-kit/Img.d.ts +7 -0
- package/mobile/dist/ui-kit/Img.js +18 -0
- package/mobile/dist/ui-kit/Img.js.map +1 -0
- package/mobile/dist/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/mobile/dist/ui-kit/InputRange/InputRange.js +27 -0
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -0
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.js +2 -0
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.js.map +1 -0
- package/mobile/dist/ui-kit/Logo/Logo.d.ts +8 -0
- package/mobile/dist/ui-kit/Logo/Logo.js +24 -0
- package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -0
- package/mobile/dist/ui-kit/SVG.d.ts +20 -0
- package/mobile/dist/ui-kit/SVG.js +8 -0
- package/mobile/dist/ui-kit/SVG.js.map +1 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +2 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +14 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -0
- package/mobile/dist/ui-kit/Title/Title.d.ts +3 -0
- package/mobile/dist/ui-kit/Title/Title.js +18 -0
- package/mobile/dist/ui-kit/Title/Title.js.map +1 -0
- package/mobile/dist/ui-kit/Title/TitleProps.d.ts +4 -0
- package/mobile/dist/ui-kit/Title/TitleProps.js +2 -0
- package/mobile/dist/ui-kit/Title/TitleProps.js.map +1 -0
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +13 -0
- package/mobile/dist/ui-kit/TopItem/TopItem.js +24 -0
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -0
- package/mobile/dist/utils/addSpacesBetweenNumbers.d.ts +1 -0
- package/mobile/dist/utils/addSpacesBetweenNumbers.js +5 -0
- package/mobile/dist/utils/addSpacesBetweenNumbers.js.map +1 -0
- package/mobile/dist/utils/adjustHref.d.ts +4 -0
- package/mobile/dist/utils/adjustHref.js +21 -0
- package/mobile/dist/utils/adjustHref.js.map +1 -0
- package/mobile/dist/utils/clamp.d.ts +1 -0
- package/mobile/dist/utils/clamp.js +5 -0
- package/mobile/dist/utils/clamp.js.map +1 -0
- package/mobile/dist/utils/getAccordionItems.d.ts +1 -0
- package/mobile/dist/utils/getAccordionItems.js +13 -0
- package/mobile/dist/utils/getAccordionItems.js.map +1 -0
- package/mobile/dist/utils/getColSpan.d.ts +1 -0
- package/mobile/dist/utils/getColSpan.js +9 -0
- package/mobile/dist/utils/getColSpan.js.map +1 -0
- package/mobile/dist/utils/getGeolocation.d.ts +1 -0
- package/mobile/dist/utils/getGeolocation.js +5 -0
- package/mobile/dist/utils/getGeolocation.js.map +1 -0
- package/mobile/dist/utils/joinList.d.ts +1 -0
- package/mobile/dist/utils/joinList.js +7 -0
- package/mobile/dist/utils/joinList.js.map +1 -0
- package/mobile/dist/utils/maxBy.d.ts +2 -0
- package/mobile/dist/utils/maxBy.js +7 -0
- package/mobile/dist/utils/maxBy.js.map +1 -0
- package/mobile/dist/utils/url.d.ts +3 -0
- package/mobile/dist/utils/url.js +18 -0
- package/mobile/dist/utils/url.js.map +1 -0
- package/mobile/dist/utils/withoutMobilePath.d.ts +2 -0
- package/mobile/dist/utils/withoutMobilePath.js +6 -0
- package/mobile/dist/utils/withoutMobilePath.js.map +1 -0
- package/mobile/lib/ProjectSettings.d.ts +21 -0
- package/mobile/lib/ProjectSettings.js +31 -0
- package/mobile/lib/ProjectSettings.js.map +1 -0
- package/mobile/lib/api/DaDataAPI.d.ts +3 -0
- package/mobile/lib/api/DaDataAPI.js +30 -0
- package/mobile/lib/api/DaDataAPI.js.map +1 -0
- package/mobile/lib/api/LikeAPI.d.ts +9 -0
- package/mobile/lib/api/LikeAPI.js +117 -0
- package/mobile/lib/api/LikeAPI.js.map +1 -0
- package/mobile/lib/components/Accordion/Accordion.d.ts +5 -0
- package/mobile/lib/components/Accordion/Accordion.js +8 -0
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.d.ts +6 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.js +11 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +77 -0
- package/mobile/lib/components/Accordion/AccordionContent.js +2 -0
- package/mobile/lib/components/Accordion/AccordionContent.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionItem.d.ts +5 -0
- package/mobile/lib/components/Accordion/AccordionItem.js +14 -0
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +2 -0
- package/mobile/lib/components/Accordion/AccordionItemInner.js +15 -0
- package/mobile/lib/components/Accordion/AccordionItemInner.js.map +1 -0
- package/mobile/lib/components/Accordion/utils/isActiveHandler.d.ts +9 -0
- package/mobile/lib/components/Accordion/utils/isActiveHandler.js +18 -0
- package/mobile/lib/components/Accordion/utils/isActiveHandler.js.map +1 -0
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +5 -0
- package/mobile/lib/components/BaseTile/BaseTile.js +15 -0
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -0
- package/mobile/lib/components/BaseTile/BaseTileInner.d.ts +5 -0
- package/mobile/lib/components/BaseTile/BaseTileInner.js +12 -0
- package/mobile/lib/components/BaseTile/BaseTileInner.js.map +1 -0
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +47 -0
- package/mobile/lib/components/BaseTile/BaseTileProps.js +2 -0
- package/mobile/lib/components/BaseTile/BaseTileProps.js.map +1 -0
- package/mobile/lib/components/BaseTile/getTitleSizeByClassName.d.ts +1 -0
- package/mobile/lib/components/BaseTile/getTitleSizeByClassName.js +14 -0
- package/mobile/lib/components/BaseTile/getTitleSizeByClassName.js.map +1 -0
- package/mobile/lib/components/BaseTile/renderButton.d.ts +2 -0
- package/mobile/lib/components/BaseTile/renderButton.js +10 -0
- package/mobile/lib/components/BaseTile/renderButton.js.map +1 -0
- package/mobile/lib/components/BaseTile/renderItems.d.ts +2 -0
- package/mobile/lib/components/BaseTile/renderItems.js +6 -0
- package/mobile/lib/components/BaseTile/renderItems.js.map +1 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +11 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +23 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.js +2 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
- package/mobile/lib/components/BlockContent.d.ts +23 -0
- package/mobile/lib/components/BlockContent.js +2 -0
- package/mobile/lib/components/BlockContent.js.map +1 -0
- package/mobile/lib/components/Blocks.d.ts +11 -0
- package/mobile/lib/components/Blocks.js +21 -0
- package/mobile/lib/components/Blocks.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +34 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +59 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.js +2 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +10 -0
- package/mobile/lib/components/ComparisonTable/HeaderCell.js +9 -0
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js +8 -0
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableCell.d.ts +8 -0
- package/mobile/lib/components/ComparisonTable/TableCell.js +10 -0
- package/mobile/lib/components/ComparisonTable/TableCell.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableRow.d.ts +10 -0
- package/mobile/lib/components/ComparisonTable/TableRow.js +8 -0
- package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableRowContainer.d.ts +4 -0
- package/mobile/lib/components/ComparisonTable/TableRowContainer.js +4 -0
- package/mobile/lib/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/constants.d.ts +6 -0
- package/mobile/lib/components/ComparisonTable/constants.js +7 -0
- package/mobile/lib/components/ComparisonTable/constants.js.map +1 -0
- package/mobile/lib/components/ContentPage/ContentPage.d.ts +28 -0
- package/mobile/lib/components/ContentPage/ContentPage.js +30 -0
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -0
- package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +31 -0
- package/mobile/lib/components/ContentPage/ContentPageContext.js +2 -0
- package/mobile/lib/components/ContentPage/ContentPageContext.js.map +1 -0
- package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +6 -0
- package/mobile/lib/components/ContentPage/ContentPageHead.js +9 -0
- package/mobile/lib/components/ContentPage/ContentPageHead.js.map +1 -0
- package/mobile/lib/components/ContentPage/toMobilePage.d.ts +2 -0
- package/mobile/lib/components/ContentPage/toMobilePage.js +31 -0
- package/mobile/lib/components/ContentPage/toMobilePage.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculator.d.ts +5 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculator.js +55 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculator.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.d.ts +19 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.js +2 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/constants.d.ts +7 -0
- package/mobile/lib/components/CreditCalculator/constants.js +8 -0
- package/mobile/lib/components/CreditCalculator/constants.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getCalculatorParams.d.ts +7 -0
- package/mobile/lib/components/CreditCalculator/getCalculatorParams.js +8 -0
- package/mobile/lib/components/CreditCalculator/getCalculatorParams.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getCreditRate.d.ts +7 -0
- package/mobile/lib/components/CreditCalculator/getCreditRate.js +10 -0
- package/mobile/lib/components/CreditCalculator/getCreditRate.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getCreditTermYears.d.ts +1 -0
- package/mobile/lib/components/CreditCalculator/getCreditTermYears.js +12 -0
- package/mobile/lib/components/CreditCalculator/getCreditTermYears.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getMonthlyPayment.d.ts +11 -0
- package/mobile/lib/components/CreditCalculator/getMonthlyPayment.js +16 -0
- package/mobile/lib/components/CreditCalculator/getMonthlyPayment.js.map +1 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +33 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +7 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +2 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
- package/mobile/lib/components/Footer/Contacts.d.ts +7 -0
- package/mobile/lib/components/Footer/Contacts.js +29 -0
- package/mobile/lib/components/Footer/Contacts.js.map +1 -0
- package/mobile/lib/components/Footer/Footer.d.ts +5 -0
- package/mobile/lib/components/Footer/Footer.js +24 -0
- package/mobile/lib/components/Footer/Footer.js.map +1 -0
- package/mobile/lib/components/Footer/FooterContent.d.ts +50 -0
- package/mobile/lib/components/Footer/FooterContent.js +2 -0
- package/mobile/lib/components/Footer/FooterContent.js.map +1 -0
- package/mobile/lib/components/Footer/FooterLink.d.ts +5 -0
- package/mobile/lib/components/Footer/FooterLink.js +2 -0
- package/mobile/lib/components/Footer/FooterLink.js.map +1 -0
- package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +6 -0
- package/mobile/lib/components/Footer/HorizontalNavigation.js +10 -0
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -0
- package/mobile/lib/components/Footer/MediaButton.d.ts +5 -0
- package/mobile/lib/components/Footer/MediaButton.js +21 -0
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -0
- package/mobile/lib/components/Footer/Sitemap.d.ts +6 -0
- package/mobile/lib/components/Footer/Sitemap.js +20 -0
- package/mobile/lib/components/Footer/Sitemap.js.map +1 -0
- package/mobile/lib/components/Footer/SocialMedia.d.ts +6 -0
- package/mobile/lib/components/Footer/SocialMedia.js +10 -0
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -0
- package/mobile/lib/components/Footer/TextInformation.d.ts +2 -0
- package/mobile/lib/components/Footer/TextInformation.js +10 -0
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -0
- package/mobile/lib/components/Gallery/Gallery.d.ts +2 -0
- package/mobile/lib/components/Gallery/Gallery.js +16 -0
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/mobile/lib/components/Gallery/GalleryCardInner.js +17 -0
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryContainer.d.ts +13 -0
- package/mobile/lib/components/Gallery/GalleryContainer.js +14 -0
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +32 -0
- package/mobile/lib/components/Gallery/GalleryContent.js +2 -0
- package/mobile/lib/components/Gallery/GalleryContent.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryInner.d.ts +7 -0
- package/mobile/lib/components/Gallery/GalleryInner.js +16 -0
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryProps.d.ts +4 -0
- package/mobile/lib/components/Gallery/GalleryProps.js +2 -0
- package/mobile/lib/components/Gallery/GalleryProps.js.map +1 -0
- package/mobile/lib/components/Gallery/constants.d.ts +6 -0
- package/mobile/lib/components/Gallery/constants.js +17 -0
- package/mobile/lib/components/Gallery/constants.js.map +1 -0
- package/mobile/lib/components/Header/Header.d.ts +5 -0
- package/mobile/lib/components/Header/Header.js +30 -0
- package/mobile/lib/components/Header/Header.js.map +1 -0
- package/mobile/lib/components/Header/HeaderBurger.d.ts +10 -0
- package/mobile/lib/components/Header/HeaderBurger.js +14 -0
- package/mobile/lib/components/Header/HeaderBurger.js.map +1 -0
- package/mobile/lib/components/Header/HeaderContent.d.ts +29 -0
- package/mobile/lib/components/Header/HeaderContent.js +2 -0
- package/mobile/lib/components/Header/HeaderContent.js.map +1 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +10 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +22 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js +4 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
- package/mobile/lib/components/Header/HeaderTop.d.ts +6 -0
- package/mobile/lib/components/Header/HeaderTop.js +6 -0
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -0
- package/mobile/lib/components/Headline/Headline.d.ts +5 -0
- package/mobile/lib/components/Headline/Headline.js +8 -0
- package/mobile/lib/components/Headline/Headline.js.map +1 -0
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +8 -0
- package/mobile/lib/components/Headline/HeadlineContent.js +2 -0
- package/mobile/lib/components/Headline/HeadlineContent.js.map +1 -0
- package/mobile/lib/components/LikeControl/LikeControl.d.ts +2 -0
- package/mobile/lib/components/LikeControl/LikeControl.js +8 -0
- package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +5 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.js +40 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +23 -0
- package/mobile/lib/components/LinkDocs/LinkDocsContent.js +2 -0
- package/mobile/lib/components/LinkDocs/LinkDocsContent.js.map +1 -0
- package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/mobile/lib/components/MiniGallery/MiniGallery.js +5 -0
- package/mobile/lib/components/MiniGallery/MiniGallery.js.map +1 -0
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +5 -0
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.js +2 -0
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +7 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +18 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.js +2 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
- package/mobile/lib/components/Navigation/Navigation.d.ts +5 -0
- package/mobile/lib/components/Navigation/Navigation.js +14 -0
- package/mobile/lib/components/Navigation/Navigation.js.map +1 -0
- package/mobile/lib/components/Navigation/NavigationContent.d.ts +10 -0
- package/mobile/lib/components/Navigation/NavigationContent.js +2 -0
- package/mobile/lib/components/Navigation/NavigationContent.js.map +1 -0
- package/mobile/lib/components/Navigation/NavigationItem.d.ts +4 -0
- package/mobile/lib/components/Navigation/NavigationItem.js +4 -0
- package/mobile/lib/components/Navigation/NavigationItem.js.map +1 -0
- package/mobile/lib/components/PictureText/PictureText.d.ts +5 -0
- package/mobile/lib/components/PictureText/PictureText.js +12 -0
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -0
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +9 -0
- package/mobile/lib/components/PictureText/PictureTextContent.js +2 -0
- package/mobile/lib/components/PictureText/PictureTextContent.js.map +1 -0
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +6 -0
- package/mobile/lib/components/Placeholder/Placeholder.js +13 -0
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -0
- package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +6 -0
- package/mobile/lib/components/Placeholder/PlaceholderContent.js +2 -0
- package/mobile/lib/components/Placeholder/PlaceholderContent.js.map +1 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.js +10 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -0
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +25 -0
- package/mobile/lib/components/ProductBlock/ProductBlockContent.js +2 -0
- package/mobile/lib/components/ProductBlock/ProductBlockContent.js.map +1 -0
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +5 -0
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +9 -0
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -0
- package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -0
- package/mobile/lib/components/ProductBlock/renderBenefit.js +14 -0
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +5 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.js +19 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +7 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +30 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.js +2 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.js.map +1 -0
- package/mobile/lib/components/ProductTile/ProductTile.d.ts +5 -0
- package/mobile/lib/components/ProductTile/ProductTile.js +18 -0
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -0
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +12 -0
- package/mobile/lib/components/ProductTile/ProductTileContent.js +2 -0
- package/mobile/lib/components/ProductTile/ProductTileContent.js.map +1 -0
- package/mobile/lib/components/PromoTile/PromoTile.d.ts +5 -0
- package/mobile/lib/components/PromoTile/PromoTile.js +16 -0
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -0
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +8 -0
- package/mobile/lib/components/PromoTile/PromoTileContent.js +2 -0
- package/mobile/lib/components/PromoTile/PromoTileContent.js.map +1 -0
- package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/mobile/lib/components/StepsBlock/StepsBlock.js +18 -0
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -0
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +30 -0
- package/mobile/lib/components/StepsBlock/StepsBlockContent.js +2 -0
- package/mobile/lib/components/StepsBlock/StepsBlockContent.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +5 -0
- package/mobile/lib/components/TariffsTable/TariffsTable.js +23 -0
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +6 -0
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +14 -0
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +59 -0
- package/mobile/lib/components/TariffsTable/TariffsTableContent.js +2 -0
- package/mobile/lib/components/TariffsTable/TariffsTableContent.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +8 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +11 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -0
- package/mobile/lib/components/TariffsTable/constants.d.ts +4 -0
- package/mobile/lib/components/TariffsTable/constants.js +5 -0
- package/mobile/lib/components/TariffsTable/constants.js.map +1 -0
- package/mobile/lib/components/TextBlock/TextBlock.d.ts +5 -0
- package/mobile/lib/components/TextBlock/TextBlock.js +38 -0
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -0
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +24 -0
- package/mobile/lib/components/TextBlock/TextBlockContent.js +2 -0
- package/mobile/lib/components/TextBlock/TextBlockContent.js.map +1 -0
- package/mobile/lib/components/Tile/Tile.d.ts +6 -0
- package/mobile/lib/components/Tile/Tile.js +37 -0
- package/mobile/lib/components/Tile/Tile.js.map +1 -0
- package/mobile/lib/components/Tile/TileContent.d.ts +5 -0
- package/mobile/lib/components/Tile/TileContent.js +2 -0
- package/mobile/lib/components/Tile/TileContent.js.map +1 -0
- package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +10 -0
- package/mobile/lib/content-page-repository/ContentPageRepository.js +50 -0
- package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -0
- package/mobile/lib/content-page-repository/TransformationOptions.d.ts +4 -0
- package/mobile/lib/content-page-repository/TransformationOptions.js +2 -0
- package/mobile/lib/content-page-repository/TransformationOptions.js.map +1 -0
- package/mobile/lib/content-page-repository/index.d.ts +2 -0
- package/mobile/lib/content-page-repository/index.js +3 -0
- package/mobile/lib/content-page-repository/index.js.map +1 -0
- package/mobile/lib/content-page-repository/mapJSON.d.ts +1 -0
- package/mobile/lib/content-page-repository/mapJSON.js +21 -0
- package/mobile/lib/content-page-repository/mapJSON.js.map +1 -0
- package/mobile/lib/content-page-repository/transformContentPage.d.ts +3 -0
- package/mobile/lib/content-page-repository/transformContentPage.js +24 -0
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -0
- package/mobile/lib/content-page-repository/transformMarkdown.d.ts +1 -0
- package/mobile/lib/content-page-repository/transformMarkdown.js +10 -0
- package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -0
- package/mobile/lib/content-page-repository/transformPicture.d.ts +3 -0
- package/mobile/lib/content-page-repository/transformPicture.js +44 -0
- package/mobile/lib/content-page-repository/transformPicture.js.map +1 -0
- package/mobile/lib/hooks/useComparisonTableScroll.d.ts +12 -0
- package/mobile/lib/hooks/useComparisonTableScroll.js +9 -0
- package/mobile/lib/hooks/useComparisonTableScroll.js.map +1 -0
- package/mobile/lib/hooks/useCreditCalculatorData.d.ts +3 -0
- package/mobile/lib/hooks/useCreditCalculatorData.js +12 -0
- package/mobile/lib/hooks/useCreditCalculatorData.js.map +1 -0
- package/mobile/lib/hooks/useLink.d.ts +15 -0
- package/mobile/lib/hooks/useLink.js +20 -0
- package/mobile/lib/hooks/useLink.js.map +1 -0
- package/mobile/lib/index.d.ts +19 -0
- package/mobile/lib/index.js +13 -0
- package/mobile/lib/index.js.map +1 -0
- package/mobile/lib/model/BgColorVersion.d.ts +8 -0
- package/mobile/lib/model/BgColorVersion.js +2 -0
- package/mobile/lib/model/BgColorVersion.js.map +1 -0
- package/mobile/lib/model/BlockVersion.d.ts +5 -0
- package/mobile/lib/model/BlockVersion.js +2 -0
- package/mobile/lib/model/BlockVersion.js.map +1 -0
- package/mobile/lib/model/ButtonVersion.d.ts +6 -0
- package/mobile/lib/model/ButtonVersion.js +2 -0
- package/mobile/lib/model/ButtonVersion.js.map +1 -0
- package/mobile/lib/model/GalleryVersion.d.ts +1 -0
- package/mobile/lib/model/GalleryVersion.js +2 -0
- package/mobile/lib/model/GalleryVersion.js.map +1 -0
- package/mobile/lib/model/LinkProps.d.ts +22 -0
- package/mobile/lib/model/LinkProps.js +2 -0
- package/mobile/lib/model/LinkProps.js.map +1 -0
- package/mobile/lib/model/Picture.d.ts +29 -0
- package/mobile/lib/model/Picture.js +2 -0
- package/mobile/lib/model/Picture.js.map +1 -0
- package/mobile/lib/model/SitemapProps.d.ts +13 -0
- package/mobile/lib/model/SitemapProps.js +2 -0
- package/mobile/lib/model/SitemapProps.js.map +1 -0
- package/mobile/lib/model/SizeVersion.d.ts +8 -0
- package/mobile/lib/model/SizeVersion.js +2 -0
- package/mobile/lib/model/SizeVersion.js.map +1 -0
- package/mobile/lib/model/TableVersion.d.ts +1 -0
- package/mobile/lib/model/TableVersion.js +2 -0
- package/mobile/lib/model/TableVersion.js.map +1 -0
- package/mobile/lib/services/sitemap/SitemapProps.d.ts +13 -0
- package/mobile/lib/services/sitemap/SitemapProps.js +2 -0
- package/mobile/lib/services/sitemap/SitemapProps.js.map +1 -0
- package/mobile/lib/services/sitemap/findActiveSubItem.d.ts +3 -0
- package/mobile/lib/services/sitemap/findActiveSubItem.js +10 -0
- package/mobile/lib/services/sitemap/findActiveSubItem.js.map +1 -0
- package/mobile/lib/services/sitemap/isHrefActive.d.ts +4 -0
- package/mobile/lib/services/sitemap/isHrefActive.js +6 -0
- package/mobile/lib/services/sitemap/isHrefActive.js.map +1 -0
- package/mobile/lib/services/sitemap/isSubItemActive.d.ts +3 -0
- package/mobile/lib/services/sitemap/isSubItemActive.js +3 -0
- package/mobile/lib/services/sitemap/isSubItemActive.js.map +1 -0
- package/mobile/lib/services/sitemap/isTopItemActive.d.ts +3 -0
- package/mobile/lib/services/sitemap/isTopItemActive.js +4 -0
- package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -0
- package/mobile/lib/services/sitemap/mergeTopItems.d.ts +2 -0
- package/mobile/lib/services/sitemap/mergeTopItems.js +5 -0
- package/mobile/lib/services/sitemap/mergeTopItems.js.map +1 -0
- package/mobile/lib/services/sitemap/useSitemap.d.ts +3 -0
- package/mobile/lib/services/sitemap/useSitemap.js +13 -0
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -0
- package/mobile/lib/types.d.ts +51 -0
- package/mobile/lib/types.js +2 -0
- package/mobile/lib/types.js.map +1 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItem.d.ts +2 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js +22 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItemProps.d.ts +21 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItemProps.js +2 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItemProps.js.map +1 -0
- package/mobile/lib/ui-kit/Breadcrumb.d.ts +6 -0
- package/mobile/lib/ui-kit/Breadcrumb.js +11 -0
- package/mobile/lib/ui-kit/Breadcrumb.js.map +1 -0
- package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +2 -0
- package/mobile/lib/ui-kit/Button/ArrowButton.js +20 -0
- package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -0
- package/mobile/lib/ui-kit/Button/Button.d.ts +6 -0
- package/mobile/lib/ui-kit/Button/Button.js +26 -0
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -0
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +30 -0
- package/mobile/lib/ui-kit/Button/ButtonProps.js +2 -0
- package/mobile/lib/ui-kit/Button/ButtonProps.js.map +1 -0
- package/mobile/lib/ui-kit/Button/LikeButton.d.ts +6 -0
- package/mobile/lib/ui-kit/Button/LikeButton.js +13 -0
- package/mobile/lib/ui-kit/Button/LikeButton.js.map +1 -0
- package/mobile/lib/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +15 -0
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -0
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.js +2 -0
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +21 -0
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/Icon.d.ts +2 -0
- package/mobile/lib/ui-kit/Icon/Icon.js +11 -0
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +159 -0
- package/mobile/lib/ui-kit/Icon/IconProps.js +76 -0
- package/mobile/lib/ui-kit/Icon/IconProps.js.map +1 -0
- package/mobile/lib/ui-kit/Img.d.ts +7 -0
- package/mobile/lib/ui-kit/Img.js +15 -0
- package/mobile/lib/ui-kit/Img.js.map +1 -0
- package/mobile/lib/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/mobile/lib/ui-kit/InputRange/InputRange.js +25 -0
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -0
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.js +2 -0
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.js.map +1 -0
- package/mobile/lib/ui-kit/Logo/Logo.d.ts +8 -0
- package/mobile/lib/ui-kit/Logo/Logo.js +22 -0
- package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -0
- package/mobile/lib/ui-kit/SVG.d.ts +20 -0
- package/mobile/lib/ui-kit/SVG.js +6 -0
- package/mobile/lib/ui-kit/SVG.js.map +1 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +2 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +12 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -0
- package/mobile/lib/ui-kit/Title/Title.d.ts +3 -0
- package/mobile/lib/ui-kit/Title/Title.js +16 -0
- package/mobile/lib/ui-kit/Title/Title.js.map +1 -0
- package/mobile/lib/ui-kit/Title/TitleProps.d.ts +4 -0
- package/mobile/lib/ui-kit/Title/TitleProps.js +2 -0
- package/mobile/lib/ui-kit/Title/TitleProps.js.map +1 -0
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +13 -0
- package/mobile/lib/ui-kit/TopItem/TopItem.js +22 -0
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -0
- package/mobile/lib/utils/addSpacesBetweenNumbers.d.ts +1 -0
- package/mobile/lib/utils/addSpacesBetweenNumbers.js +2 -0
- package/mobile/lib/utils/addSpacesBetweenNumbers.js.map +1 -0
- package/mobile/lib/utils/adjustHref.d.ts +4 -0
- package/mobile/lib/utils/adjustHref.js +18 -0
- package/mobile/lib/utils/adjustHref.js.map +1 -0
- package/mobile/lib/utils/clamp.d.ts +1 -0
- package/mobile/lib/utils/clamp.js +2 -0
- package/mobile/lib/utils/clamp.js.map +1 -0
- package/mobile/lib/utils/getAccordionItems.d.ts +1 -0
- package/mobile/lib/utils/getAccordionItems.js +10 -0
- package/mobile/lib/utils/getAccordionItems.js.map +1 -0
- package/mobile/lib/utils/getColSpan.d.ts +1 -0
- package/mobile/lib/utils/getColSpan.js +6 -0
- package/mobile/lib/utils/getColSpan.js.map +1 -0
- package/mobile/lib/utils/getGeolocation.d.ts +1 -0
- package/mobile/lib/utils/getGeolocation.js +2 -0
- package/mobile/lib/utils/getGeolocation.js.map +1 -0
- package/mobile/lib/utils/joinList.d.ts +1 -0
- package/mobile/lib/utils/joinList.js +4 -0
- package/mobile/lib/utils/joinList.js.map +1 -0
- package/mobile/lib/utils/maxBy.d.ts +2 -0
- package/mobile/lib/utils/maxBy.js +3 -0
- package/mobile/lib/utils/maxBy.js.map +1 -0
- package/mobile/lib/utils/url.d.ts +3 -0
- package/mobile/lib/utils/url.js +13 -0
- package/mobile/lib/utils/url.js.map +1 -0
- package/mobile/lib/utils/withoutMobilePath.d.ts +2 -0
- package/mobile/lib/utils/withoutMobilePath.js +3 -0
- package/mobile/lib/utils/withoutMobilePath.js.map +1 -0
- package/mobile/src/ProjectSettings.ts +43 -0
- package/mobile/src/api/DaDataAPI.ts +34 -0
- package/mobile/src/api/LikeAPI.ts +145 -0
- package/mobile/src/common.css +141 -0
- package/mobile/src/components/Accordion/Accordion.example.json +50 -0
- package/mobile/src/components/Accordion/Accordion.tsx +38 -0
- package/mobile/src/components/Accordion/AccordionBlocks.tsx +11 -0
- package/mobile/src/components/Accordion/AccordionContent.ts +91 -0
- package/mobile/src/components/Accordion/AccordionItem.tsx +39 -0
- package/mobile/src/components/Accordion/AccordionItemInner.tsx +28 -0
- package/mobile/src/components/Accordion/utils/isActiveHandler.ts +24 -0
- package/mobile/src/components/BaseTile/BaseTile.tsx +53 -0
- package/mobile/src/components/BaseTile/BaseTileInner.tsx +31 -0
- package/mobile/src/components/BaseTile/BaseTileProps.ts +50 -0
- package/mobile/src/components/BaseTile/getTitleSizeByClassName.ts +11 -0
- package/mobile/src/components/BaseTile/renderButton.tsx +20 -0
- package/mobile/src/components/BaseTile/renderItems.tsx +12 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +13 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +43 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +25 -0
- package/mobile/src/components/BlockContent.ts +43 -0
- package/mobile/src/components/Blocks.ts +21 -0
- package/mobile/src/components/ComparisonTable/ComparisonTable.example.json +84 -0
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +129 -0
- package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +64 -0
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +50 -0
- package/mobile/src/components/ComparisonTable/TableCarouselContainer.tsx +26 -0
- package/mobile/src/components/ComparisonTable/TableCell.tsx +43 -0
- package/mobile/src/components/ComparisonTable/TableRow.tsx +44 -0
- package/mobile/src/components/ComparisonTable/TableRowContainer.tsx +7 -0
- package/mobile/src/components/ComparisonTable/constants.ts +6 -0
- package/mobile/src/components/ContentPage/ContentPage.page.json +452 -0
- package/mobile/src/components/ContentPage/ContentPage.tsx +125 -0
- package/mobile/src/components/ContentPage/ContentPageContext.tsx +37 -0
- package/mobile/src/components/ContentPage/ContentPageHead.tsx +26 -0
- package/mobile/src/components/ContentPage/toMobilePage.ts +38 -0
- package/mobile/src/components/CreditCalculator/CreditCalculator.tsx +154 -0
- package/mobile/src/components/CreditCalculator/CreditCalculatorContent.ts +21 -0
- package/mobile/src/components/CreditCalculator/constants.ts +8 -0
- package/mobile/src/components/CreditCalculator/getCalculatorParams.ts +16 -0
- package/mobile/src/components/CreditCalculator/getCreditRate.ts +18 -0
- package/mobile/src/components/CreditCalculator/getCreditTermYears.spec.ts +10 -0
- package/mobile/src/components/CreditCalculator/getCreditTermYears.ts +15 -0
- package/mobile/src/components/CreditCalculator/getMonthlyPayment.ts +32 -0
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +80 -0
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +7 -0
- package/mobile/src/components/Footer/Contacts.tsx +73 -0
- package/mobile/src/components/Footer/Footer.tsx +66 -0
- package/mobile/src/components/Footer/FooterContent.ts +55 -0
- package/mobile/src/components/Footer/FooterLink.ts +6 -0
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +52 -0
- package/mobile/src/components/Footer/MediaButton.tsx +43 -0
- package/mobile/src/components/Footer/Sitemap.tsx +59 -0
- package/mobile/src/components/Footer/SocialMedia.tsx +21 -0
- package/mobile/src/components/Footer/TextInformation.tsx +50 -0
- package/mobile/src/components/Gallery/Gallery.example.json +58 -0
- package/mobile/src/components/Gallery/Gallery.tsx +69 -0
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +53 -0
- package/mobile/src/components/Gallery/GalleryContainer.tsx +59 -0
- package/mobile/src/components/Gallery/GalleryContent.ts +34 -0
- package/mobile/src/components/Gallery/GalleryInner.tsx +57 -0
- package/mobile/src/components/Gallery/GalleryProps.ts +4 -0
- package/mobile/src/components/Gallery/constants.ts +22 -0
- package/mobile/src/components/Header/Header.tsx +73 -0
- package/mobile/src/components/Header/HeaderBurger.tsx +45 -0
- package/mobile/src/components/Header/HeaderContent.ts +30 -0
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +69 -0
- package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +19 -0
- package/mobile/src/components/Header/HeaderTop.tsx +28 -0
- package/mobile/src/components/Headline/Headline.example.json +6 -0
- package/mobile/src/components/Headline/Headline.tsx +30 -0
- package/mobile/src/components/Headline/HeadlineContent.ts +11 -0
- package/mobile/src/components/LikeControl/LikeControl.tsx +23 -0
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +26 -0
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +82 -0
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +26 -0
- package/mobile/src/components/MiniGallery/MiniGallery.example.json +50 -0
- package/mobile/src/components/MiniGallery/MiniGallery.tsx +10 -0
- package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +6 -0
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +22 -0
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +31 -0
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +22 -0
- package/mobile/src/components/Navigation/Navigation.tsx +39 -0
- package/mobile/src/components/Navigation/NavigationContent.ts +11 -0
- package/mobile/src/components/Navigation/NavigationItem.tsx +17 -0
- package/mobile/src/components/PictureText/PictureText.example.json +20 -0
- package/mobile/src/components/PictureText/PictureText.tsx +47 -0
- package/mobile/src/components/PictureText/PictureTextContent.ts +10 -0
- package/mobile/src/components/Placeholder/Placeholder.tsx +30 -0
- package/mobile/src/components/Placeholder/PlaceholderContent.ts +6 -0
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +17 -0
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +18 -0
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +28 -0
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +49 -0
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +35 -0
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +21 -0
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +56 -0
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +22 -0
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +32 -0
- package/mobile/src/components/ProductTile/ProductTile.example.json +30 -0
- package/mobile/src/components/ProductTile/ProductTile.tsx +44 -0
- package/mobile/src/components/ProductTile/ProductTileContent.ts +13 -0
- package/mobile/src/components/PromoTile/PromoTile.example.json +13 -0
- package/mobile/src/components/PromoTile/PromoTile.tsx +43 -0
- package/mobile/src/components/PromoTile/PromoTileContent.ts +9 -0
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +20 -0
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +72 -0
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +33 -0
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +83 -0
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +74 -0
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +61 -0
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +65 -0
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +51 -0
- package/mobile/src/components/TariffsTable/constants.ts +4 -0
- package/mobile/src/components/TextBlock/TextBlock.example.json +13 -0
- package/mobile/src/components/TextBlock/TextBlock.tsx +76 -0
- package/mobile/src/components/TextBlock/TextBlockContent.ts +27 -0
- package/mobile/src/components/Tile/Tile.example.json +21 -0
- package/mobile/src/components/Tile/Tile.tsx +52 -0
- package/mobile/src/components/Tile/TileContent.ts +6 -0
- package/mobile/src/content-page-repository/ContentPageRepository.ts +63 -0
- package/mobile/src/content-page-repository/TransformationOptions.ts +4 -0
- package/mobile/src/content-page-repository/index.ts +2 -0
- package/mobile/src/content-page-repository/mapJSON.spec.ts +28 -0
- package/mobile/src/content-page-repository/mapJSON.ts +23 -0
- package/mobile/src/content-page-repository/transformContentPage.ts +33 -0
- package/mobile/src/content-page-repository/transformMarkdown.ts +10 -0
- package/mobile/src/content-page-repository/transformPicture.ts +66 -0
- package/mobile/src/hooks/useComparisonTableScroll.ts +21 -0
- package/mobile/src/hooks/useCreditCalculatorData.ts +23 -0
- package/mobile/src/hooks/useLink.ts +29 -0
- package/mobile/src/icons/ActualBalanceIcon.svg +187 -0
- package/mobile/src/icons/AppleIcon.svg +1 -0
- package/mobile/src/icons/AtmIcon.svg +7 -0
- package/mobile/src/icons/BankIcon.svg +11 -0
- package/mobile/src/icons/BurgerIcon.svg +6 -0
- package/mobile/src/icons/BurgerIconWhite.svg +6 -0
- package/mobile/src/icons/Calendar2Icon.svg +1 -0
- package/mobile/src/icons/CalendarCircleIcon.svg +1 -0
- package/mobile/src/icons/CalendarIcon.svg +17 -0
- package/mobile/src/icons/CalendarTickIcon.svg +1 -0
- package/mobile/src/icons/CalendarWhiteIcon.svg +17 -0
- package/mobile/src/icons/CardIcon.svg +1 -0
- package/mobile/src/icons/CardPosIcon.svg +1 -0
- package/mobile/src/icons/CardTickIcon.svg +1 -0
- package/mobile/src/icons/CardWithGemIcon.svg +1 -0
- package/mobile/src/icons/ChartSquareIcon.svg +1 -0
- package/mobile/src/icons/ClockIcon.svg +209 -0
- package/mobile/src/icons/CloseIcon.svg +6 -0
- package/mobile/src/icons/ComfortableCompIcon.svg +374 -0
- package/mobile/src/icons/CreditCardsIcon.svg +1 -0
- package/mobile/src/icons/DiscountShapeIcon.svg +1 -0
- package/mobile/src/icons/DocIcon.svg +5 -0
- package/mobile/src/icons/DocumentTextIcon.svg +6 -0
- package/mobile/src/icons/DollarIcon.svg +10 -0
- package/mobile/src/icons/EarthIcon.svg +1 -0
- package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -0
- package/mobile/src/icons/EmptyWalletIcon.svg +17 -0
- package/mobile/src/icons/EmptyWalletWhiteIcon.svg +16 -0
- package/mobile/src/icons/EuroIcon.svg +10 -0
- package/mobile/src/icons/GeolocationIcon.svg +4 -0
- package/mobile/src/icons/GlassIcon.svg +1 -0
- package/mobile/src/icons/GlobalIcon.svg +1 -0
- package/mobile/src/icons/GridIcon.svg +4 -0
- package/mobile/src/icons/GridIconWhite.svg +4 -0
- package/mobile/src/icons/InterestGrowthIcon.svg +1 -0
- package/mobile/src/icons/InterestIcon.svg +1 -0
- package/mobile/src/icons/JCBIcon.svg +1 -0
- package/mobile/src/icons/LoupeIcon.svg +9 -0
- package/mobile/src/icons/MasterCardIcon.svg +1 -0
- package/mobile/src/icons/MinusIcon.svg +1 -0
- package/mobile/src/icons/MirIcon.svg +1 -0
- package/mobile/src/icons/MoneyIcon.svg +1 -0
- package/mobile/src/icons/MoneyInsuranceIcon.svg +1 -0
- package/mobile/src/icons/MonitorMobileIcon.svg +1 -0
- package/mobile/src/icons/NewDocIcon.svg +251 -0
- package/mobile/src/icons/OfficeIcon.svg +1 -0
- package/mobile/src/icons/OkIcon.svg +5 -0
- package/mobile/src/icons/PassSendIcon.svg +238 -0
- package/mobile/src/icons/PercentageRoundIcon.svg +1 -0
- package/mobile/src/icons/PercentageSquareIcon.svg +16 -0
- package/mobile/src/icons/PercentageSquareWhiteIcon.svg +16 -0
- package/mobile/src/icons/PersonalCardIcon.svg +1 -0
- package/mobile/src/icons/PlayMarketIcon.svg +1 -0
- package/mobile/src/icons/PlusIcon.svg +1 -0
- package/mobile/src/icons/Profile2UserIcon.svg +1 -0
- package/mobile/src/icons/ProfileIcon.svg +16 -0
- package/mobile/src/icons/RoundRubleIcon.svg +1 -0
- package/mobile/src/icons/SafeIcon.svg +1 -0
- package/mobile/src/icons/ShieldTickIcon.svg +1 -0
- package/mobile/src/icons/SignDocsIcon.svg +288 -0
- package/mobile/src/icons/SmallClockIcon.svg +1 -0
- package/mobile/src/icons/TelegramIcon.svg +5 -0
- package/mobile/src/icons/UnionPayIcon.svg +1 -0
- package/mobile/src/icons/UserTickIcon.svg +1 -0
- package/mobile/src/icons/VKIcon.svg +7 -0
- package/mobile/src/icons/VisaIcon.svg +1 -0
- package/mobile/src/icons/WalletAdd2Icon.svg +1 -0
- package/mobile/src/icons/WalletAddIcon.svg +1 -0
- package/mobile/src/icons/WalletIcon.svg +1 -0
- package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -0
- package/mobile/src/index.ts +34 -0
- package/mobile/src/model/BgColorVersion.ts +8 -0
- package/mobile/src/model/BlockVersion.ts +5 -0
- package/mobile/src/model/ButtonVersion.ts +6 -0
- package/mobile/src/model/GalleryVersion.ts +1 -0
- package/mobile/src/model/LinkProps.ts +23 -0
- package/mobile/src/model/Picture.ts +31 -0
- package/mobile/src/model/SitemapProps.ts +15 -0
- package/mobile/src/model/SizeVersion.ts +8 -0
- package/mobile/src/model/TableVersion.ts +1 -0
- package/mobile/src/services/sitemap/SitemapProps.ts +15 -0
- package/mobile/src/services/sitemap/findActiveSubItem.ts +14 -0
- package/mobile/src/services/sitemap/isHrefActive.ts +13 -0
- package/mobile/src/services/sitemap/isSubItemActive.ts +8 -0
- package/mobile/src/services/sitemap/isTopItemActive.ts +9 -0
- package/mobile/src/services/sitemap/mergeTopItems.spec.ts +20 -0
- package/mobile/src/services/sitemap/mergeTopItems.ts +12 -0
- package/mobile/src/services/sitemap/useSitemap.ts +17 -0
- package/mobile/src/setup-fixture.ts +83 -0
- package/mobile/src/types.ts +61 -0
- package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +36 -0
- package/mobile/src/ui-kit/BlockItem/BlockItemProps.ts +23 -0
- package/mobile/src/ui-kit/Breadcrumb.tsx +21 -0
- package/mobile/src/ui-kit/Button/ArrowButton.tsx +32 -0
- package/mobile/src/ui-kit/Button/Button.tsx +97 -0
- package/mobile/src/ui-kit/Button/ButtonProps.ts +33 -0
- package/mobile/src/ui-kit/Button/LikeButton.tsx +41 -0
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +40 -0
- package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +6 -0
- package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +43 -0
- package/mobile/src/ui-kit/Icon/Icon.tsx +30 -0
- package/mobile/src/ui-kit/Icon/IconProps.ts +161 -0
- package/mobile/src/ui-kit/Img.tsx +36 -0
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +65 -0
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +10 -0
- package/mobile/src/ui-kit/Logo/Logo.tsx +50 -0
- package/mobile/src/ui-kit/SVG.tsx +41 -0
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +46 -0
- package/mobile/src/ui-kit/Title/Title.tsx +22 -0
- package/mobile/src/ui-kit/Title/TitleProps.ts +5 -0
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +64 -0
- package/mobile/src/utils/addSpacesBetweenNumbers.ts +2 -0
- package/mobile/src/utils/adjustHref.spec.ts +25 -0
- package/mobile/src/utils/adjustHref.ts +24 -0
- package/mobile/src/utils/clamp.ts +2 -0
- package/mobile/src/utils/getAccordionItems.ts +10 -0
- package/mobile/src/utils/getColSpan.ts +5 -0
- package/mobile/src/utils/getGeolocation.ts +4 -0
- package/mobile/src/utils/joinList.ts +7 -0
- package/mobile/src/utils/maxBy.spec.ts +11 -0
- package/mobile/src/utils/maxBy.ts +7 -0
- package/mobile/src/utils/url.spec.ts +17 -0
- package/mobile/src/utils/url.ts +15 -0
- package/mobile/src/utils/withoutMobilePath.ts +3 -0
- package/package.json +26 -5
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +65 -0
- package/src/components/Accordion/Accordion.fixture.tsx +1 -0
- package/src/components/Accordion/Accordion.mobile.tsx +38 -0
- package/src/components/Accordion/AccordionContent.ts +12 -0
- package/src/components/Accordion/AccordionItem.mobile.tsx +39 -0
- package/src/components/Accordion/AccordionItem.tsx +9 -46
- package/src/components/Accordion/AccordionItemInner.mobile.tsx +28 -0
- package/src/components/Accordion/AccordionItemInner.tsx +28 -0
- package/src/components/Accordion/utils/isActiveHandler.ts +24 -0
- package/src/components/BaseTile/BaseTile.mobile.tsx +53 -0
- package/src/components/BaseTile/BaseTile.tsx +11 -69
- package/src/components/BaseTile/BaseTileInner.mobile.tsx +31 -0
- package/src/components/BaseTile/BaseTileInner.tsx +37 -0
- package/src/components/BaseTile/BaseTileProps.ts +9 -3
- package/src/components/BaseTile/getTitleSizeByClassName.ts +11 -0
- package/src/components/BaseTile/renderButton.mobile.tsx +20 -0
- package/src/components/BaseTile/renderButton.tsx +13 -0
- package/src/components/BaseTile/renderItems.mobile.tsx +12 -0
- package/src/components/BaseTile/renderItems.tsx +12 -0
- package/src/components/Blocks.mobile.ts +21 -0
- package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +19 -0
- package/src/components/ContentPage/ContentPage.fixture.tsx +1 -11
- package/src/components/ContentPage/ContentPage.page.mobile.json +452 -0
- package/src/components/Footer/Footer.fixture.mobile.tsx +285 -0
- package/src/components/Footer/Footer.mobile.tsx +60 -6
- package/src/components/Footer/Footer.tsx +1 -1
- package/src/components/Footer/FooterContent.ts +13 -0
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +52 -0
- package/src/components/Footer/HorizontalNavigation.tsx +29 -24
- package/src/components/Footer/MediaButton.tsx +43 -0
- package/src/components/Footer/SocialMedia.mobile.tsx +21 -0
- package/src/components/Footer/SocialMedia.tsx +1 -43
- package/src/components/Footer/TextInformation.mobile.tsx +50 -0
- package/src/components/Footer/TextInformation.tsx +1 -1
- package/src/components/Gallery/Gallery.example.json +0 -13
- package/src/components/Gallery/Gallery.fixture.tsx +2 -7
- package/src/components/Gallery/Gallery.mobile.tsx +2 -2
- package/src/components/Gallery/Gallery.tsx +1 -4
- package/src/components/Gallery/GalleryCardInner.tsx +1 -1
- package/src/components/Gallery/GalleryContent.ts +6 -6
- package/src/components/Gallery/GalleryProps.ts +4 -0
- package/src/components/Header/Header.fixture.mobile.tsx +209 -0
- package/src/components/Header/Header.mobile.tsx +73 -0
- package/src/components/Header/HeaderBurger.tsx +45 -0
- package/src/components/Header/HeaderContent.ts +11 -1
- package/src/components/Header/HeaderTop.tsx +28 -0
- package/src/components/Headline/Headline.fixture.mobile.tsx +67 -0
- package/src/components/Headline/Headline.fixture.tsx +54 -0
- package/src/components/Headline/Headline.mobile.tsx +30 -0
- package/src/components/Headline/Headline.tsx +3 -3
- package/src/components/Headline/HeadlineContent.ts +2 -1
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +0 -1
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/components/MiniGallery/MiniGallery.example.json +0 -11
- package/src/components/MobileAppTile/MobileAppTile.example.json +3 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +13 -0
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +30 -32
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +31 -0
- package/src/components/MobileAppTile/MobileAppTileContent.ts +5 -1
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +59 -0
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +5 -7
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +49 -0
- package/src/components/ProductBlock/ProductBlockInner.tsx +1 -41
- package/src/components/ProductBlock/renderBenefit.mobile.tsx +35 -0
- package/src/components/ProductBlock/renderBenefit.tsx +41 -0
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +127 -0
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +5 -4
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +56 -0
- package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +22 -0
- package/src/components/ProductGallery/ProductGalleryBlock.tsx +27 -0
- package/src/components/ProductGallery/ProductGalleryContent.ts +2 -1
- package/src/components/ProductTile/ProductTile.fixture.tsx +25 -25
- package/src/components/ProductTile/ProductTile.tsx +16 -15
- package/src/components/ProductTile/ProductTileContent.ts +4 -1
- package/src/components/StepsBlock/StepsBlock.example.json +1 -0
- package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +96 -0
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +0 -77
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +8 -7
- package/src/components/StepsBlock/StepsBlockContent.ts +1 -0
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +103 -0
- package/src/components/TextBlock/TextBlock.mobile.tsx +76 -0
- package/src/components/TextBlock/TextBlock.tsx +3 -3
- package/src/components/TextBlock/TextBlockContent.ts +1 -0
- package/src/components/Tile/Tile.tsx +1 -1
- package/src/content-page-repository/transformPicture.ts +6 -1
- package/src/icons/AtmIcon.svg +7 -0
- package/src/icons/BankIcon.svg +11 -0
- package/src/icons/BurgerIcon.svg +6 -0
- package/src/icons/BurgerIconWhite.svg +6 -0
- package/src/icons/CloseIcon.svg +6 -0
- package/src/icons/GeolocationIcon.svg +4 -0
- package/src/index.ts +0 -1
- package/src/model/Picture.ts +1 -0
- package/src/ui-kit/BlockItem/BlockItem.tsx +2 -2
- package/src/ui-kit/Breadcrumb.tsx +4 -9
- package/src/ui-kit/Button/Button.fixture.mobile.tsx +16 -0
- package/src/ui-kit/Button/Button.fixture.tsx +40 -10
- package/src/ui-kit/Button/Button.mobile.tsx +97 -0
- package/src/ui-kit/Button/Button.tsx +12 -9
- package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +43 -0
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +3 -5
- package/src/ui-kit/Icon/IconProps.ts +12 -0
- package/src/ui-kit/Img.mobile.tsx +36 -0
- package/src/ui-kit/Img.tsx +4 -3
- package/src/ui-kit/Logo/Logo.mobile.tsx +50 -0
- package/src/ui-kit/Logo/Logo.tsx +7 -4
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +46 -0
- package/src/ui-kit/SearchBar/SearchBar.tsx +46 -0
- package/src/ui-kit/{SearchBar.tsx → SearchBar.mobile.tsx} +2 -2
- package/src/ui-kit/Title/Title.mobile.tsx +22 -0
- package/src/ui-kit/Title/Title.tsx +10 -1
- package/src/ui-kit/Title/TitleProps.ts +1 -11
- package/src/utils/getAccordionItems.ts +10 -0
- package/dist/components/MobileBlocks.d.ts +0 -15
- package/dist/components/MobileBlocks.js +0 -31
- package/dist/components/MobileBlocks.js.map +0 -1
- package/dist/ui-kit/SearchBar.js.map +0 -1
- package/lib/components/MobileBlocks.d.ts +0 -15
- package/lib/components/MobileBlocks.js +0 -29
- package/lib/components/MobileBlocks.js.map +0 -1
- package/lib/ui-kit/SearchBar.js.map +0 -1
- package/src/components/MobileBlocks.ts +0 -29
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
+
import type { SitemapProps } from '../../services/sitemap/SitemapProps';
|
|
3
|
+
import type { IconName } from '../../ui-kit/Icon/IconProps';
|
|
4
|
+
/**
|
|
5
|
+
* @title Тип контакта
|
|
6
|
+
* @enumNames [
|
|
7
|
+
* "Телефон",
|
|
8
|
+
* "Почта"
|
|
9
|
+
* ]
|
|
10
|
+
*/
|
|
11
|
+
export declare type ContactType = 'tel' | 'email';
|
|
12
|
+
/**
|
|
13
|
+
* @title Контакт
|
|
14
|
+
*/
|
|
15
|
+
export interface ContactInfo {
|
|
16
|
+
/** @title Текст */
|
|
17
|
+
text?: string;
|
|
18
|
+
type?: ContactType;
|
|
19
|
+
/** @title Описание */
|
|
20
|
+
description?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @required ["href"]
|
|
24
|
+
*/
|
|
25
|
+
export declare type SocialMedia = Omit<LinkProps, 'text'>;
|
|
26
|
+
/**
|
|
27
|
+
* @title Пункт подменю
|
|
28
|
+
*/
|
|
29
|
+
export interface SubMenuItem extends LinkProps {
|
|
30
|
+
/** @title Иконка подменю */
|
|
31
|
+
icon?: IconName;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @title Подвал
|
|
35
|
+
* @required ["topItems"]
|
|
36
|
+
*/
|
|
37
|
+
export interface FooterContent extends SitemapProps {
|
|
38
|
+
/** @title Обязательные документы */
|
|
39
|
+
documents?: LinkProps[];
|
|
40
|
+
/** @title Другие предприятия */
|
|
41
|
+
relatedEnterprises?: LinkProps[];
|
|
42
|
+
/** @title Контакты */
|
|
43
|
+
contacts?: ContactInfo[];
|
|
44
|
+
/** @title Социальные сети */
|
|
45
|
+
socialMedia?: SocialMedia[];
|
|
46
|
+
/** @title Заголовок для меню */
|
|
47
|
+
horizontalNavigationTitle?: string;
|
|
48
|
+
/** @title Подменю */
|
|
49
|
+
subMenu?: SubMenuItem[];
|
|
50
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FooterContent.js","sourceRoot":"","sources":["../../../src/components/Footer/FooterContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FooterLink.js","sourceRoot":"","sources":["../../../src/components/Footer/FooterLink.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { FooterLink } from './FooterLink';
|
|
3
|
+
export interface HorizontalNavigationProps extends FooterLink, UniBlockProps {
|
|
4
|
+
title?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const HorizontalNavigation: (props: import("@redneckz/uni-jsx").PropsWithChildren<HorizontalNavigationProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
+
export const HorizontalNavigation = JSX(({ title, links, className = '', context }) => {
|
|
5
|
+
const router = context.useRouter();
|
|
6
|
+
const { handlerDecorator } = context;
|
|
7
|
+
return (_jsxs("div", { className: className, children: [_jsx("span", { className: "text-primary-text font-sans font-medium text-sm", children: title }), links?.length ? (_jsx("div", { className: "flex flex-col gap-5 py-5", children: links.map((_, i) => (_jsx(HorizontalNavigationLink, { index: i, ...useLink({ router, handlerDecorator }, _) }, String(i)))) })) : null] }));
|
|
8
|
+
});
|
|
9
|
+
const HorizontalNavigationLink = JSX(({ className = '', index, text, href, target, onClick }) => (_jsx("a", { className: `font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline ${className}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` })));
|
|
10
|
+
//# sourceMappingURL=HorizontalNavigation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HorizontalNavigation.js","sourceRoot":"","sources":["../../../src/components/Footer/HorizontalNavigation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAS9C,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5C,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,OAAO,CACL,eAAK,SAAS,EAAE,SAAS,aACvB,eAAM,SAAS,EAAC,iDAAiD,YAAE,KAAK,GAAQ,EAC/E,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,cAAK,SAAS,EAAC,0BAA0B,YACtC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,wBAAwB,IAEvB,KAAK,EAAE,CAAC,KACJ,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAFvC,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAQF,MAAM,wBAAwB,GAAG,GAAG,CAClC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAC1D,YACE,SAAS,EAAE,uGAAuG,SAAS,EAAE,EAC7H,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,YAEf,IAAI,IAAI,YAAY,KAAK,EAAE,GAC1B,CACL,CACF,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
4
|
+
const ICONS_MAP = [
|
|
5
|
+
{
|
|
6
|
+
origins: ['t.me', 'telegram.org'],
|
|
7
|
+
icon: 'TelegramIcon',
|
|
8
|
+
label: 'Телеграм',
|
|
9
|
+
width: '20px',
|
|
10
|
+
height: '16px',
|
|
11
|
+
},
|
|
12
|
+
{ origins: ['vk.com'], icon: 'VKIcon', label: 'ВКонтакте', width: '24px', height: '12px' },
|
|
13
|
+
{ origins: ['ok.ru'], icon: 'OkIcon', label: 'Одноклассники', width: '12px', height: '20px' },
|
|
14
|
+
];
|
|
15
|
+
export const MediaButton = JSX(({ href }) => {
|
|
16
|
+
const { icon, width, height } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
|
|
17
|
+
if (!icon)
|
|
18
|
+
return null;
|
|
19
|
+
return (_jsx("a", { className: "flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[38px] h-[38px] hover:fill-primary-main", href: href, target: "_blank", rel: "noopener noreferrer", children: Icon && _jsx(Icon, { name: icon, width: width, height: height, asSVG: true, className: "block" }) }));
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=MediaButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaButton.js","sourceRoot":"","sources":["../../../src/components/Footer/MediaButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,SAAS,GAMV;IACH;QACE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;QACjC,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,UAAU;QACjB,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,MAAM;KACf;IACD,EAAE,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE;IAC1F,EAAE,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE;CAC9F,CAAC;AAMF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IAC5D,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAC3B,SAAS,CAAC,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAEhF,IAAI,CAAC,IAAI;QAAE,OAAO,IAAI,CAAC;IAEvB,OAAO,CACL,YACE,SAAS,EAAC,2JAA2J,EACrK,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,YAExB,IAAI,IAAI,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,QAAC,SAAS,EAAC,OAAO,GAAG,GACjF,CACL,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { TopMenuItem } from '../../services/sitemap/SitemapProps';
|
|
2
|
+
import type { UniBlockProps } from '../../types';
|
|
3
|
+
export interface SitemapProps extends UniBlockProps {
|
|
4
|
+
items?: TopMenuItem[];
|
|
5
|
+
}
|
|
6
|
+
export declare const Sitemap: (props: import("@redneckz/uni-jsx").PropsWithChildren<SitemapProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
+
import { mergeTopItems } from '../../services/sitemap/mergeTopItems.js';
|
|
5
|
+
import { useSitemap } from '../../services/sitemap/useSitemap.js';
|
|
6
|
+
export const Sitemap = JSX(({ className, items, context }) => {
|
|
7
|
+
const sitemap = useSitemap(context.useAsyncData);
|
|
8
|
+
const mergedItems = mergeTopItems(sitemap.topItems, items);
|
|
9
|
+
const linkParams = {
|
|
10
|
+
router: context.useRouter(),
|
|
11
|
+
handlerDecorator: context.handlerDecorator,
|
|
12
|
+
};
|
|
13
|
+
return (_jsx("div", { className: `flex items-start justify-start gap-11 xl:gap-5 ${className || ''}`, children: mergedItems?.map((_, i) => renderColumn(_, i, linkParams)) }));
|
|
14
|
+
});
|
|
15
|
+
const renderColumn = (c, index, { router, handlerDecorator }) => {
|
|
16
|
+
const { text, href, items, target } = c;
|
|
17
|
+
return (_jsxs("div", { className: "flex flex-col gap-[14px]", children: [_jsx("a", { className: "block font-sans font-medium text-base text-primary-text no-underline", href: href, target: target || '_self', children: text || `Раздел ${index}` }), items?.map((_, i) => (_jsx(ColumnItem, { ...useLink({ router, handlerDecorator }, _), index: i }, String(i))))] }, String(index)));
|
|
18
|
+
};
|
|
19
|
+
const ColumnItem = JSX(({ text, href, target, index }) => (_jsx("a", { className: "block font-sans font-normal text-base text-secondary-text hover:text-primary-main no-underline", href: href, target: target || '_self', children: text || `Раздел ${index}` })));
|
|
20
|
+
//# sourceMappingURL=Sitemap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../../src/components/Footer/Sitemap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAO/D,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IACzE,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACjD,MAAM,WAAW,GAAG,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;IAC3D,MAAM,UAAU,GAAG;QACjB,MAAM,EAAE,OAAO,CAAC,SAAS,EAAE;QAC3B,gBAAgB,EAAE,OAAO,CAAC,gBAAgB;KAC3C,CAAC;IAEF,OAAO,CACL,cAAK,SAAS,EAAE,kDAAkD,SAAS,IAAI,EAAE,EAAE,YAChF,WAAW,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,UAAU,CAAC,CAAC,GACvD,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,CAAc,EAAE,KAAa,EAAE,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,EAAE;IACnF,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,CAAC;IAExC,OAAO,CACL,eAAyB,SAAS,EAAC,0BAA0B,aAC3D,YACE,SAAS,EAAC,sEAAsE,EAChF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,YAExB,IAAI,IAAI,UAAU,KAAK,EAAE,GACxB,EACH,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACpB,KAAC,UAAU,OAAqB,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,IAAjE,MAAM,CAAC,CAAC,CAAC,CAA4D,CACvF,CAAC,KAVM,MAAM,CAAC,KAAK,CAAC,CAWjB,CACP,CAAC;AACJ,CAAC,CAAC;AAMF,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACzE,YACE,SAAS,EAAC,gGAAgG,EAC1G,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,YAExB,IAAI,IAAI,UAAU,KAAK,EAAE,GACxB,CACL,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
+
import type { UniBlockProps } from '../../types';
|
|
3
|
+
export interface SocialMediaProps extends UniBlockProps {
|
|
4
|
+
media?: Omit<LinkProps, 'text'>[];
|
|
5
|
+
}
|
|
6
|
+
export declare const SocialMedia: (props: import("@redneckz/uni-jsx").PropsWithChildren<SocialMediaProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
+
import { MediaButton } from './MediaButton.js';
|
|
5
|
+
export const SocialMedia = JSX(({ className, media, context }) => {
|
|
6
|
+
const router = context.useRouter();
|
|
7
|
+
const { handlerDecorator } = context;
|
|
8
|
+
return (_jsx("div", { className: `flex gap-2 items-start justify-start pt-6 pb-6 ${className || ''}`, children: media?.map((_, index) => (_jsx(MediaButton, { ...useLink({ router, handlerDecorator }, _) }, String(index)))) }));
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=SocialMedia.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../../src/components/Footer/SocialMedia.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAM5C,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IACjF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,cAAK,SAAS,EAAE,kDAAkD,SAAS,IAAI,EAAE,EAAE,YAChF,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,KAAC,WAAW,OAAyB,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAA3D,MAAM,CAAC,KAAK,CAAC,CAAkD,CAClF,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
+
export const TextInformation = JSX(({ className, links, context }) => {
|
|
5
|
+
const router = context.useRouter();
|
|
6
|
+
const { handlerDecorator } = context;
|
|
7
|
+
return (_jsxs("div", { className: `${className || ''}`, children: [_jsx("div", { className: "pt-5 pb-[5px]", children: _jsx("span", { className: "font-sans font-normal text-xs text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (_jsx("div", { className: `flex flex-col justify-start items-start gap-5 pt-[5px]`, children: links.map((_, i) => (_jsx(TextInformationLink, { index: i, ...useLink({ router, handlerDecorator }, _) }, String(i)))) })) : null] }));
|
|
8
|
+
});
|
|
9
|
+
const TextInformationLink = JSX(({ className, index, text, href, target, onClick }) => (_jsx("a", { className: `font-sans font-normal text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${className || ''}`, href: href, target: target, onClick: onClick, children: text || `Документ ${index}` })));
|
|
10
|
+
//# sourceMappingURL=TextInformation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextInformation.js","sourceRoot":"","sources":["../../../src/components/Footer/TextInformation.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAI9C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAa,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IAC/E,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,eAAK,SAAS,EAAE,GAAG,SAAS,IAAI,EAAE,EAAE,aAClC,cAAK,SAAS,EAAC,eAAe,YAC5B,eAAM,SAAS,EAAC,mDAAmD,YAChE,oBAAoB,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,mHAAmH,GAC3J,GACH,EACL,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,cAAK,SAAS,EAAE,wDAAwD,YACrE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACnB,KAAC,mBAAmB,IAElB,KAAK,EAAE,CAAC,KACJ,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAFvC,MAAM,CAAC,CAAC,CAAC,CAGd,CACH,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAQH,MAAM,mBAAmB,GAAG,GAAG,CAC7B,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CACrD,YACE,SAAS,EAAE,iJACT,SAAS,IAAI,EACf,EAAE,EACF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,YAEf,IAAI,IAAI,YAAY,KAAK,EAAE,GAC1B,CACL,CACF,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { BlockItem } from '../../ui-kit/BlockItem/BlockItem.js';
|
|
4
|
+
import { Button } from '../../ui-kit/Button/Button.js';
|
|
5
|
+
import { Img } from '../../ui-kit/Img.js';
|
|
6
|
+
import { Title } from '../../ui-kit/Title/Title.js';
|
|
7
|
+
export const Gallery = JSX(({ title, description, cards = [], className }) => {
|
|
8
|
+
return (_jsxs("section", { className: `relative font-sans text-primary-text bg-white p-4 overflow-hidden ${className}`, children: [_jsxs("div", { className: "flex flex-col items-center mb-8", children: [_jsx(Title, { className: "font-medium m-0 text-centers", children: title }), description ? (_jsx("div", { className: "font-normal text-base max-w-[600px] mt-3", children: description })) : null] }), _jsx("div", { className: "horizontal-list no-scrollbar", role: "list", children: cards?.map(renderCard) })] }));
|
|
9
|
+
});
|
|
10
|
+
function renderCard(card, key) {
|
|
11
|
+
return (_jsxs("div", { className: "box-border horizontal-list-item border-solid border rounded-md border-main-divider p-4 mx-1 flex flex-col justify-between items-stretch", role: "listitem", children: [_jsxs("div", { children: [card.image?.src ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-6", image: card.image }) })) : null, card.title ? (_jsx("h4", { className: `font-medium text-xl m-0 ${!card.description && !card.items?.length ? 'text-center' : ''}`, children: card.title })) : null, card.description ? (_jsx("div", { className: "font-normal text-sm text-secondary-text mt-2", children: card.description })) : null, card.items?.length ? renderItems(card.items) : null] }), card?.button?.href ? _jsx(Button, { className: "mt-6", ...card.button }) : null] }, key));
|
|
12
|
+
}
|
|
13
|
+
function renderItems(items = []) {
|
|
14
|
+
return (_jsx("section", { className: "max-w-[308px] mt-2", role: "list", children: items.map((item, i) => (_jsx(BlockItem, { children: _jsx("span", { className: "text-sm text-secondary-text", children: item }) }, String(i)))) }));
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=Gallery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Gallery.js","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAIjD,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACzF,OAAO,CACL,mBACE,SAAS,EAAE,qEAAqE,SAAS,EAAE,aAE3F,eAAK,SAAS,EAAC,iCAAiC,aAC9C,KAAC,KAAK,IAAC,SAAS,EAAC,8BAA8B,YAAE,KAAK,GAAS,EAC9D,WAAW,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAC,0CAA0C,YAAE,WAAW,GAAO,CAC9E,CAAC,CAAC,CAAC,IAAI,IACJ,EACN,cAAK,SAAS,EAAC,8BAA8B,EAAC,IAAI,EAAC,MAAM,YACtD,KAAK,EAAE,GAAG,CAAC,UAAU,CAAC,GACnB,IACE,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,UAAU,CAAC,IAAiB,EAAE,GAAW;IAChD,OAAO,CACL,eACE,SAAS,EAAC,yIAAyI,EACnJ,IAAI,EAAC,UAAU,aAGf,0BACG,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACjB,cAAK,SAAS,EAAC,qBAAqB,YAClC,KAAC,GAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACZ,aACE,SAAS,EAAE,2BACT,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAC7D,EAAE,YAED,IAAI,CAAC,KAAK,GACR,CACN,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAClB,cAAK,SAAS,EAAC,8CAA8C,YAAE,IAAI,CAAC,WAAW,GAAO,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAChD,EACL,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,KAAC,MAAM,IAAC,SAAS,EAAC,MAAM,KAAK,IAAI,CAAC,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,KAtBpE,GAAG,CAuBJ,CACP,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,QAAkB,EAAE;IACvC,OAAO,CACL,kBAAS,SAAS,EAAC,oBAAoB,EAAC,IAAI,EAAC,MAAM,YAChD,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,KAAC,SAAS,cACR,eAAM,SAAS,EAAC,6BAA6B,YAAE,IAAI,GAAQ,IAD7C,MAAM,CAAC,CAAC,CAAC,CAEb,CACb,CAAC,GACM,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { BlockItem } from '../../ui-kit/BlockItem/BlockItem.js';
|
|
4
|
+
import { Button } from '../../ui-kit/Button/Button.js';
|
|
5
|
+
import { Img } from '../../ui-kit/Img.js';
|
|
6
|
+
import { cardVersionMap } from './constants.js';
|
|
7
|
+
export const GalleryCardInner = JSX(({ title, description, image, items, button, version }) => {
|
|
8
|
+
const cardVersionClasses = cardVersionMap[version ?? 'primary'];
|
|
9
|
+
return (_jsxs("div", { children: [_jsxs("div", { children: [image?.src ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-6", image: image }) })) : null, title && renderCardTitle(title, description, items), description && (_jsx("div", { className: `font-normal text-sm mt-2 ${cardVersionClasses}`, children: description })), items?.length ? (_jsx("section", { className: `max-w-[308px] mt-2 ${cardVersionClasses}`, role: "list", children: items.map((item, i) => renderItem(item, i, version)) })) : null] }), button?.text && _jsx(Button, { className: "mt-6", ...button })] }));
|
|
10
|
+
});
|
|
11
|
+
function renderCardTitle(title, description, items) {
|
|
12
|
+
return (_jsx("div", { className: `font-medium text-xl m-0 ${!description && !items?.length ? 'text-center' : ''}`, children: title }));
|
|
13
|
+
}
|
|
14
|
+
function renderItem(item, i, version) {
|
|
15
|
+
return (_jsx(BlockItem, { version: version ?? 'primary', children: _jsx("span", { className: "text-sm", children: item }) }, String(i)));
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=GalleryCardInner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAC7D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAG7C,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,EAAE;IACxD,MAAM,kBAAkB,GAAG,cAAc,CAAC,OAAO,IAAI,SAAS,CAAC,CAAC;IAEhE,OAAO,CACL,0BACE,0BACG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACZ,cAAK,SAAS,EAAC,qBAAqB,YAClC,KAAC,GAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,GAAI,GAClC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,IAAI,eAAe,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,CAAC,EACnD,WAAW,IAAI,CACd,cAAK,SAAS,EAAE,4BAA4B,kBAAkB,EAAE,YAAG,WAAW,GAAO,CACtF,EACA,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,kBAAS,SAAS,EAAE,sBAAsB,kBAAkB,EAAE,EAAE,IAAI,EAAC,MAAM,YACxE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,IAAI,EAAE,CAAC,EAAE,OAAO,CAAC,CAAC,GAC7C,CACX,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,MAAM,EAAE,IAAI,IAAI,KAAC,MAAM,IAAC,SAAS,EAAC,MAAM,KAAK,MAAM,GAAI,IACpD,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,KAAa,EAAE,WAAoB,EAAE,KAAgB;IAC5E,OAAO,CACL,cACE,SAAS,EAAE,2BAA2B,CAAC,WAAW,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,EAAE,YAE1F,KAAK,GACF,CACP,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,IAAY,EAAE,CAAS,EAAE,OAAsB;IACjE,OAAO,CACL,KAAC,SAAS,IAAiB,OAAO,EAAE,OAAO,IAAI,SAAS,YACtD,eAAM,SAAS,EAAC,SAAS,YAAE,IAAI,GAAQ,IADzB,MAAM,CAAC,CAAC,CAAC,CAEb,CACb,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { GalleryVersion } from '../../model/GalleryVersion';
|
|
2
|
+
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
3
|
+
import type { GalleryCard } from './GalleryContent';
|
|
4
|
+
import type { GalleryInnerProps } from './GalleryInner';
|
|
5
|
+
export interface GalleryContainerProps extends Omit<GalleryInnerProps, 'className'> {
|
|
6
|
+
activeCardIndex: number;
|
|
7
|
+
}
|
|
8
|
+
export interface GalleryCardData {
|
|
9
|
+
card: GalleryCard;
|
|
10
|
+
version: GalleryVersion;
|
|
11
|
+
context: ContentPageContext;
|
|
12
|
+
}
|
|
13
|
+
export declare const GalleryContainer: (props: import("@redneckz/uni-jsx").PropsWithChildren<GalleryContainerProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Title } from '../../ui-kit/Title/Title.js';
|
|
4
|
+
import { Tile } from '../Tile/Tile.js';
|
|
5
|
+
import { cardStyleMap, cardWidthMap, galleryLengthForScrollMap } from './constants.js';
|
|
6
|
+
import { GalleryCardInner } from './GalleryCardInner.js';
|
|
7
|
+
export const GalleryContainer = JSX(({ context, title, description, cards = [], version = 'normal', activeCardIndex }) => {
|
|
8
|
+
return (_jsxs("div", { children: [_jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent" }), _jsxs("div", { className: "flex flex-col items-center mb-8", children: [title ? _jsx(Title, { className: "font-medium m-0 text-center", children: title }) : null, description ? (_jsx("div", { className: "font-normal text-base max-w-[600px] mt-2.5", children: description })) : null] }), _jsx("div", { className: `flex ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeCardIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version, context }, i)) })] }));
|
|
9
|
+
});
|
|
10
|
+
function renderCard({ card, version, context }, i) {
|
|
11
|
+
return (_jsx(Tile, { context: context, className: `box-border border-solid border rounded-md border-main-divider p-7 mx-2 flex flex-col justify-between
|
|
12
|
+
items-stretch ${cardStyleMap[version]} w-full col-span-4`, version: card.version, role: "listitem", children: _jsx(GalleryCardInner, { ...card }) }, String(i)));
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=GalleryContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryContainer.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAEjD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AActD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,GAAG,EAAE,EAAE,OAAO,GAAG,QAAQ,EAAE,eAAe,EAAE,EAAE,EAAE;IACnF,OAAO,CACL,0BACE,cAAK,SAAS,EAAC,oFAAoF,GAAG,EACtG,eAAK,SAAS,EAAC,iCAAiC,aAC7C,KAAK,CAAC,CAAC,CAAC,KAAC,KAAK,IAAC,SAAS,EAAC,6BAA6B,YAAE,KAAK,GAAS,CAAC,CAAC,CAAC,IAAI,EAC7E,WAAW,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAC,4CAA4C,YAAE,WAAW,GAAO,CAChF,CAAC,CAAC,CAAC,IAAI,IACJ,EACN,cACE,SAAS,EAAE,QACT,KAAK,EAAE,MAAM,IAAI,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAC3E,gBAAgB,EAChB,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,eAAe,GAAG,YAAY,CAAC,OAAO,CAAC,KAAK,EAAE,EACjF,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,GAC/D,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAmB,EAAE,CAAS;IACxE,OAAO,CACL,KAAC,IAAI,IACH,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE;wBACO,YAAY,CAAC,OAAO,CAAC,oBAAoB,EAC3D,OAAO,EAAE,IAAI,CAAC,OAAO,EAErB,IAAI,EAAC,UAAU,YAEf,KAAC,gBAAgB,OAAK,IAAI,GAAI,IAHzB,MAAM,CAAC,CAAC,CAAC,CAIT,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { Picture } from '../../model/Picture';
|
|
3
|
+
import type { BaseTileIconButton } from '../BaseTile/BaseTileProps';
|
|
4
|
+
/**
|
|
5
|
+
* @title Карточка
|
|
6
|
+
*/
|
|
7
|
+
export interface GalleryCard {
|
|
8
|
+
/** @title Заголовок */
|
|
9
|
+
title?: string;
|
|
10
|
+
/** @title Описание */
|
|
11
|
+
description?: string;
|
|
12
|
+
image?: Picture;
|
|
13
|
+
/** @title Кнопка */
|
|
14
|
+
button?: BaseTileIconButton;
|
|
15
|
+
/** @title Список */
|
|
16
|
+
items?: string[];
|
|
17
|
+
version?: BlockVersion;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @title Галерея
|
|
21
|
+
*/
|
|
22
|
+
export interface GalleryContent {
|
|
23
|
+
/** @title Заголовок */
|
|
24
|
+
title?: string;
|
|
25
|
+
/** @title Описание */
|
|
26
|
+
description?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @title Карточки
|
|
29
|
+
* @minItems 4
|
|
30
|
+
*/
|
|
31
|
+
cards?: GalleryCard[];
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryContent.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { GalleryVersion } from '../../model/GalleryVersion';
|
|
2
|
+
import type { UniBlockProps } from '../../types';
|
|
3
|
+
import type { GalleryContent } from './GalleryContent';
|
|
4
|
+
export interface GalleryInnerProps extends GalleryContent, UniBlockProps {
|
|
5
|
+
version?: GalleryVersion;
|
|
6
|
+
}
|
|
7
|
+
export declare const GalleryInner: (props: import("@redneckz/uni-jsx").PropsWithChildren<GalleryInnerProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { ArrowButton } from '../../ui-kit/Button/ArrowButton.js';
|
|
4
|
+
import { galleryLengthForScrollMap } from './constants.js';
|
|
5
|
+
import { GalleryContainer } from './GalleryContainer.js';
|
|
6
|
+
export const GalleryInner = JSX(({ context, cards = [], className, version = 'normal', ...rest }) => {
|
|
7
|
+
const [activeCardIndex, setActiveCardIndex] = context.useState(0);
|
|
8
|
+
const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
|
|
9
|
+
const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
|
|
10
|
+
const isGalleryScrollAvailable = cards?.length > galleryLengthForScrollMap[version];
|
|
11
|
+
const showNextButton = isGalleryScrollAvailable &&
|
|
12
|
+
cards?.length - activeCardIndex > galleryLengthForScrollMap[version];
|
|
13
|
+
const showPrevButton = isGalleryScrollAvailable && activeCardIndex > 0;
|
|
14
|
+
return (_jsxs("section", { className: `relative font-sans text-primary-text bg-white p-[50px] overflow-hidden ${className}`, children: [_jsx(GalleryContainer, { context: context, cards: cards, version: version, activeCardIndex: activeCardIndex, ...rest }), showPrevButton && (_jsx(ArrowButton, { className: "absolute top-1/2 left-8 rotate-180", onClick: handlePrevClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E" })), showNextButton && (_jsx(ArrowButton, { className: "absolute top-1/2 right-1 z-10", onClick: handleNextClick, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E" })), _jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })] }));
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=GalleryInner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAOtD,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,OAAO,GAAG,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAClE,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAElE,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IACtE,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IAEtE,MAAM,wBAAwB,GAAG,KAAK,EAAE,MAAM,GAAG,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAEpF,MAAM,cAAc,GAClB,wBAAwB;QACxB,KAAK,EAAE,MAAM,GAAG,eAAe,GAAG,yBAAyB,CAAC,OAAO,CAAC,CAAC;IAEvE,MAAM,cAAc,GAAG,wBAAwB,IAAI,eAAe,GAAG,CAAC,CAAC;IAEvE,OAAO,CACL,mBACE,SAAS,EAAE,0EAA0E,SAAS,EAAE,aAEhG,KAAC,gBAAgB,IACf,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,KAC5B,IAAI,GACR,EACD,cAAc,IAAI,CACjB,KAAC,WAAW,IACV,SAAS,EAAC,oCAAoC,EAC9C,OAAO,EAAE,eAAe,EACxB,SAAS,EAAC,6FAAkB,GAC5B,CACH,EACA,cAAc,IAAI,CACjB,KAAC,WAAW,IACV,SAAS,EAAC,+BAA+B,EACzC,OAAO,EAAE,eAAe,EACxB,SAAS,EAAC,mGAAmB,GAC7B,CACH,EACD,cAAK,SAAS,EAAC,8DAA8D,GAAG,IACxE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryProps.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryProps.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { GalleryVersion } from '../../model/GalleryVersion';
|
|
3
|
+
export declare const cardVersionMap: Record<BlockVersion, string>;
|
|
4
|
+
export declare const galleryLengthForScrollMap: Record<GalleryVersion, number>;
|
|
5
|
+
export declare const cardStyleMap: Record<GalleryVersion, string>;
|
|
6
|
+
export declare const cardWidthMap: Record<GalleryVersion, number>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const cardVersionMap = {
|
|
2
|
+
primary: 'text-secondary-text',
|
|
3
|
+
secondary: '',
|
|
4
|
+
};
|
|
5
|
+
export const galleryLengthForScrollMap = {
|
|
6
|
+
normal: 3,
|
|
7
|
+
mini: 4,
|
|
8
|
+
};
|
|
9
|
+
export const cardStyleMap = {
|
|
10
|
+
normal: 'min-w-[364px] w-[364px]',
|
|
11
|
+
mini: 'min-w-[260px] w-[260px]',
|
|
12
|
+
};
|
|
13
|
+
export const cardWidthMap = {
|
|
14
|
+
normal: 380,
|
|
15
|
+
mini: 276,
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/Gallery/constants.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,cAAc,GAAiC;IAC1D,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,EAAE;CACd,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAmC;IACvE,MAAM,EAAE,CAAC;IACT,IAAI,EAAE,CAAC;CACR,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAmC;IAC1D,MAAM,EAAE,yBAAyB;IACjC,IAAI,EAAE,yBAAyB;CAChC,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAmC;IAC1D,MAAM,EAAE,GAAG;IACX,IAAI,EAAE,GAAG;CACV,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { HeaderContent } from './HeaderContent';
|
|
3
|
+
export interface HeaderProps extends HeaderContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const Header: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
+
import { findActiveSubItem } from '../../services/sitemap/findActiveSubItem.js';
|
|
5
|
+
import { isTopItemActive } from '../../services/sitemap/isTopItemActive.js';
|
|
6
|
+
import { mergeTopItems } from '../../services/sitemap/mergeTopItems.js';
|
|
7
|
+
import { useSitemap } from '../../services/sitemap/useSitemap.js';
|
|
8
|
+
import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem.js';
|
|
9
|
+
import { getAccordionItems } from '../../utils/getAccordionItems.js';
|
|
10
|
+
import { Accordion } from '../Accordion/Accordion.js';
|
|
11
|
+
import { HeaderBurger } from './HeaderBurger.js';
|
|
12
|
+
import { HeaderTop } from './HeaderTop.js';
|
|
13
|
+
export const Header = JSX(({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems, burgerSubMenu }) => {
|
|
14
|
+
const router = context.useRouter();
|
|
15
|
+
const sitemap = useSitemap(context.useAsyncData);
|
|
16
|
+
const { handlerDecorator } = context;
|
|
17
|
+
const mergedItems = mergeTopItems(sitemap.topItems, topItems);
|
|
18
|
+
const activeTopItem = mergedItems.find(isTopItemActive(router));
|
|
19
|
+
const subItems = activeTopItem?.items;
|
|
20
|
+
const activeSubItem = findActiveSubItem(router)(subItems);
|
|
21
|
+
const [burgerMenuShow, setBurgerMenuShow] = context.useState(false);
|
|
22
|
+
const toggleBurgerMenu = () => setBurgerMenuShow(!burgerMenuShow);
|
|
23
|
+
return (_jsxs("header", { className: `${bgColor} ${className}`, children: [_jsxs("div", { className: "container px-4 py-0", children: [_jsx(HeaderTop, { onClick: toggleBurgerMenu, bgColor: bgColor }), _jsx("nav", { className: "flex items-center m-0 p-0 overflow-x-scroll overflow-y-hidden w-full h-[50px]", children: _jsx("div", { className: "flex", children: subItems?.map((_, i) => renderSubItem({
|
|
24
|
+
...useLink({ router, handlerDecorator }, _),
|
|
25
|
+
active: _ === activeSubItem,
|
|
26
|
+
bgColor,
|
|
27
|
+
}, i)) }) })] }), burgerMenuShow ? (_jsx(HeaderBurger, { context: context, onClick: toggleBurgerMenu, burgerSubMenu: burgerSubMenu, defaultLocation: defaultLocation, children: _jsx(Accordion, { context: context, accordionItems: getAccordionItems(topItems), className: "p-0 pt-0 pb-0 mb-4" }) })) : null] }));
|
|
28
|
+
});
|
|
29
|
+
const renderSubItem = (item, i) => (_jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-sm", ...item }, String(i)));
|
|
30
|
+
//# sourceMappingURL=Header.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.js","sourceRoot":"","sources":["../../../src/components/Header/Header.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAEhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIxC,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CACvB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,eAAe,EAAE,OAAO,GAAG,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,EAAE,EAAE;IAC9F,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IACjD,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,MAAM,WAAW,GAAG,aAAa,CAAC,OAAO,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;IAC9D,MAAM,aAAa,GAAG,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;IAChE,MAAM,QAAQ,GAAG,aAAa,EAAE,KAAK,CAAC;IACtC,MAAM,aAAa,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAC;IAE1D,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEpE,MAAM,gBAAgB,GAAG,GAAG,EAAE,CAAC,iBAAiB,CAAC,CAAC,cAAc,CAAC,CAAC;IAElE,OAAO,CACL,kBAAQ,SAAS,EAAE,GAAG,OAAO,IAAI,SAAS,EAAE,aAC1C,eAAK,SAAS,EAAC,qBAAqB,aAClC,KAAC,SAAS,IAAC,OAAO,EAAE,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAI,EAC1D,cAAK,SAAS,EAAC,+EAA+E,YAC5F,cAAK,SAAS,EAAC,MAAM,YAClB,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACtB,aAAa,CACX;gCACE,GAAG,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC;gCAC3C,MAAM,EAAE,CAAC,KAAK,aAAa;gCAC3B,OAAO;6BACR,EACD,CAAC,CACF,CACF,GACG,GACF,IACF,EACL,cAAc,CAAC,CAAC,CAAC,CAChB,KAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,gBAAgB,EACzB,aAAa,EAAE,aAAa,EAC5B,eAAe,EAAE,eAAe,YAEhC,KAAC,SAAS,IACR,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,iBAAiB,CAAC,QAAQ,CAAC,EAC3C,SAAS,EAAC,oBAAoB,GAC9B,GACW,CAChB,CAAC,CAAC,CAAC,IAAI,IACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,IAAkB,EAAE,CAAS,EAAE,EAAE,CAAC,CACvD,KAAC,UAAU,IAAiB,SAAS,EAAC,gCAAgC,KAAK,IAAI,IAA9D,MAAM,CAAC,CAAC,CAAC,CAAyD,CACpF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
2
|
+
import type { SubMenuItem } from './HeaderContent';
|
|
3
|
+
export interface HeaderBurgerProps {
|
|
4
|
+
context: ContentPageContext;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
burgerSubMenu?: SubMenuItem[];
|
|
7
|
+
defaultLocation?: string;
|
|
8
|
+
children?: any;
|
|
9
|
+
}
|
|
10
|
+
export declare const HeaderBurger: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderBurgerProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Button } from '../../ui-kit/Button/Button.js';
|
|
4
|
+
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
5
|
+
import { SearchBar } from '../../ui-kit/SearchBar/SearchBar.js';
|
|
6
|
+
export const HeaderBurger = JSX(({ context, burgerSubMenu, onClick, defaultLocation = '', children }) => {
|
|
7
|
+
const [city, getCity] = context.useGeolocation(defaultLocation);
|
|
8
|
+
return (_jsxs("div", { className: "absolute top-0 left-0 w-full h-full bg-white p-4", children: [_jsx("button", { className: "absolute top-4 right-4", onClick: onClick, children: _jsx(Icon, { name: "CloseIcon", width: "24", height: "24", asSVG: true }) }), _jsxs(Button, { onClick: getCity, className: "flex items-center text-sm text-secondary-text mb-4", children: [_jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "box-border mr-2", asSVG: true }), city] }), children, _jsx("div", { className: "mb-7", children: burgerSubMenu?.map(renderBurgerSubMenuItem) }), _jsx(SearchBar, { context: context, className: "grow" })] }));
|
|
9
|
+
});
|
|
10
|
+
const renderBurgerSubMenuItem = (menu, i) => {
|
|
11
|
+
const { icon, href, text } = menu;
|
|
12
|
+
return (_jsxs(Button, { href: href, className: "flex text-sm mb-4", children: [icon ? _jsx(Icon, { className: "pr-1", name: icon, width: "24", height: "24", asSVG: true }) : null, _jsx("span", { className: "pl-0.5 font-medium", children: text })] }, `headerSubMenu-${i}`));
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=HeaderBurger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderBurger.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderBurger.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAY7D,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAC7B,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,eAAe,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtE,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;IAEhE,OAAO,CACL,eAAK,SAAS,EAAC,kDAAkD,aAC/D,iBAAQ,SAAS,EAAC,wBAAwB,EAAC,OAAO,EAAE,OAAO,YACzD,KAAC,IAAI,IAAC,IAAI,EAAC,WAAW,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,GAC/C,EACT,MAAC,MAAM,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,oDAAoD,aACtF,KAAC,IAAI,IAAC,IAAI,EAAC,iBAAiB,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,SAAG,EACvF,IAAI,IACE,EACR,QAAQ,EACT,cAAK,SAAS,EAAC,MAAM,YAAE,aAAa,EAAE,GAAG,CAAC,uBAAuB,CAAC,GAAO,EACzE,KAAC,SAAS,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,MAAM,GAAG,IAC5C,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAAC,IAAiB,EAAE,CAAS,EAAE,EAAE;IAC/D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,IAAI,CAAC;IAClC,OAAO,CACL,MAAC,MAAM,IAA4B,IAAI,EAAE,IAAI,EAAE,SAAS,EAAC,mBAAmB,aACzE,IAAI,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,EACjF,eAAM,SAAS,EAAC,oBAAoB,YAAE,IAAI,GAAQ,KAFvC,iBAAiB,CAAC,EAAE,CAGxB,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
3
|
+
import type { SitemapProps } from '../../services/sitemap/SitemapProps';
|
|
4
|
+
import type { IconName } from '../../ui-kit/Icon/IconProps';
|
|
5
|
+
/**
|
|
6
|
+
* @title Пункт подменю
|
|
7
|
+
*/
|
|
8
|
+
export interface SubMenuItem extends LinkProps {
|
|
9
|
+
icon?: IconName;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @title Шапка
|
|
13
|
+
* @required ["defaultLocation", "topItems"]
|
|
14
|
+
*/
|
|
15
|
+
export interface HeaderContent extends SitemapProps {
|
|
16
|
+
/**
|
|
17
|
+
* @title Город по-умолчанию
|
|
18
|
+
* @default Москва
|
|
19
|
+
*/
|
|
20
|
+
defaultLocation?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @title Фон элемента
|
|
23
|
+
* @hidden
|
|
24
|
+
* @default white
|
|
25
|
+
*/
|
|
26
|
+
bgColor?: BgColorVersion;
|
|
27
|
+
/** @title Подменю */
|
|
28
|
+
burgerSubMenu?: SubMenuItem[];
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderContent.js","sourceRoot":"","sources":["../../../src/components/Header/HeaderContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
|
+
import type { UniBlockProps } from '../../types';
|
|
3
|
+
interface HeaderSecondaryMenuContent {
|
|
4
|
+
defaultLocation?: string;
|
|
5
|
+
bgColor?: BgColorVersion;
|
|
6
|
+
}
|
|
7
|
+
export interface HeaderSecondaryMenuProps extends HeaderSecondaryMenuContent, UniBlockProps {
|
|
8
|
+
}
|
|
9
|
+
export declare const HeaderSecondaryMenu: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderSecondaryMenuProps, any>, context?: any) => any;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
4
|
+
import { TopItem } from '../../ui-kit/TopItem/TopItem.js';
|
|
5
|
+
import { HeaderSecondaryMenuButton } from './HeaderSecondaryMenuButton.js';
|
|
6
|
+
const COLORS_MAP = {
|
|
7
|
+
'bg-white': 'text-primary-text hover:text-primary-main',
|
|
8
|
+
transparent: 'text-white',
|
|
9
|
+
};
|
|
10
|
+
const DOP_LINKS_COLORS_MAP = {
|
|
11
|
+
'bg-white': 'text-secondary-light hover:text-secondary-hover',
|
|
12
|
+
transparent: 'text-white',
|
|
13
|
+
};
|
|
14
|
+
const DOP_LINKS_ICON_NAME_MAP = {
|
|
15
|
+
'bg-white': 'GridIcon',
|
|
16
|
+
transparent: 'GridIconWhite',
|
|
17
|
+
};
|
|
18
|
+
export const HeaderSecondaryMenu = JSX(({ context, className, defaultLocation = '', bgColor = 'bg-white' }) => {
|
|
19
|
+
const [city, getCity] = context.useGeolocation(defaultLocation);
|
|
20
|
+
return (_jsxs("div", { className: `flex items-center ${className || ''}`, children: [_jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), _jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), _jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: _jsx(Icon, { name: "LoupeIcon", className: "h-full", asSVG: true }) }), _jsx(HeaderSecondaryMenuButton, { className: `mr-5 ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u0440\u043E\u0444\u0438\u043B\u044C", children: _jsx(Icon, { name: "ProfileIcon", className: "h-full", asSVG: true }) }), _jsx(HeaderSecondaryMenuButton, { className: `${DOP_LINKS_COLORS_MAP[bgColor]} min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: _jsx(Icon, { name: DOP_LINKS_ICON_NAME_MAP[bgColor], className: "h-full", asSVG: true }) })] }));
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=HeaderSecondaryMenu.js.map
|