@redneckz/wildless-cms-uni-blocks 0.8.26 → 0.8.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.8.17.js +4 -2
- package/bin/migration-scripts/0.8.24.js +24 -0
- package/bundle/EventBus/defaultEventBus.d.ts +1 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +230 -64
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
- package/bundle/components/BaseTile/BaseTileProps.d.ts +2 -2
- package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
- package/bundle/components/Bonus/BonusContent.d.ts +0 -1
- package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
- package/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
- package/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
- package/bundle/components/Calculator/CalculatorContent.d.ts +2 -4
- package/bundle/components/Carousel/CarouselContent.d.ts +1 -4
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -10
- package/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
- package/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
- package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
- package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
- package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
- package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +2 -3
- package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
- package/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/bundle/components/Footer/Sitemap.d.ts +2 -2
- package/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -14
- package/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
- package/bundle/components/ImgBlock/ImgBlockContent.d.ts +2 -4
- package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -17
- package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
- package/bundle/components/PictureText/PictureTextContent.d.ts +3 -21
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -23
- package/bundle/components/ProductTile/ProductTileContent.d.ts +2 -17
- package/bundle/components/Recommendation/RecommendationContent.d.ts +2 -28
- package/bundle/components/StepsBlock/StepsBlockContent.d.ts +7 -23
- package/bundle/components/Tabs/TabsContent.d.ts +1 -4
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +4 -9
- package/bundle/components/TextBlock/TextBlockContent.d.ts +3 -3
- package/bundle/components/Tile/TileContent.d.ts +3 -22
- package/bundle/components/Video/VideoContent.d.ts +2 -15
- package/bundle/hooks/useCarouselControls.d.ts +0 -2
- package/{dist/services/sitemap → bundle/hooks}/useSWRResource.d.ts +1 -1
- package/bundle/model/Bullets.d.ts +4 -0
- package/bundle/model/Button.d.ts +15 -0
- package/bundle/model/HeadlineType.d.ts +4 -0
- package/bundle/model/Picture.d.ts +3 -10
- package/{dist/services/sitemap/SitemapProps.d.ts → bundle/services/sitemap/SitemapData.d.ts} +1 -1
- package/bundle/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
- package/bundle/services/sitemap/search/joinMaps.d.ts +1 -0
- package/bundle/services/sitemap/search/search.d.ts +12 -0
- package/bundle/services/sitemap/search/textRank.d.ts +1 -0
- package/bundle/services/sitemap/search/tokenize.d.ts +1 -0
- package/bundle/services/sitemap/useSearch.d.ts +8 -0
- package/bundle/ui-kit/BlockWrapper.d.ts +1 -0
- package/bundle/ui-kit/Button/ButtonProps.d.ts +4 -4
- package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
- package/bundle/ui-kit/List/ListProps.d.ts +3 -4
- package/bundle/ui-kit/Location/Location.d.ts +1 -18
- package/bundle/ui-kit/Location/LocationProps.d.ts +16 -0
- package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
- package/bundle/utils/Comparator.d.ts +4 -0
- package/bundle/utils/maxBy.d.ts +1 -0
- package/bundle/utils/minBy.d.ts +1 -0
- package/bundle/utils/sum.d.ts +1 -0
- package/bundle/utils/unique.d.ts +1 -0
- package/bundle/utils/url.d.ts +1 -1
- package/bundle/utils/zip.d.ts +4 -0
- package/dist/EventBus/defaultEventBus.d.ts +1 -0
- package/dist/EventBus/defaultEventBus.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
- package/dist/components/BaseTile/BaseTileProps.d.ts +2 -2
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
- package/dist/components/Bonus/BonusContent.d.ts +0 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
- package/dist/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
- package/dist/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
- package/dist/components/Calculator/CalculatorContent.d.ts +2 -4
- package/dist/components/Carousel/CarouselContent.d.ts +1 -4
- package/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -10
- package/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
- package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
- package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
- package/dist/components/ComparisonTable/HeaderCell.mobile.d.ts +2 -3
- package/dist/components/ContentPage/ContentPage.js +7 -1
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js +2 -1
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
- package/dist/components/Footer/Footer.js +22 -2
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +1 -1
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/dist/components/Footer/MediaButton.js +5 -2
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/Sitemap.d.ts +2 -2
- package/dist/components/Footer/Sitemap.js +2 -4
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js +1 -1
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -14
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +1 -1
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js +2 -0
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Headline/Headline.js +2 -2
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js +2 -2
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
- package/dist/components/ImgBlock/ImgBlockContent.d.ts +2 -4
- package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -17
- package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
- package/dist/components/PictureText/PictureTextContent.d.ts +3 -21
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -23
- package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductTile/ProductTileContent.d.ts +2 -17
- package/dist/components/Recommendation/RecommendationContent.d.ts +2 -28
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +7 -23
- package/dist/components/Tabs/TabsContent.d.ts +1 -4
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +4 -9
- package/dist/components/TextBlock/TextBlockContent.d.ts +3 -3
- package/dist/components/Tile/TileContent.d.ts +3 -22
- package/dist/components/VerticalLayout/VerticalLayout.js +5 -3
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/Video/VideoContent.d.ts +2 -15
- package/dist/hooks/useCarouselControls.d.ts +0 -2
- package/dist/hooks/useCarouselControls.js +7 -15
- package/dist/hooks/useCarouselControls.js.map +1 -1
- package/{lib/services/sitemap → dist/hooks}/useSWRResource.d.ts +1 -1
- package/{mobile/dist/services/sitemap → dist/hooks}/useSWRResource.js +1 -1
- package/dist/hooks/useSWRResource.js.map +1 -0
- package/dist/model/Bullets.d.ts +4 -0
- package/dist/{services/sitemap/SitemapProps.js → model/Bullets.js} +1 -1
- package/dist/model/Bullets.js.map +1 -0
- package/dist/model/Button.d.ts +15 -0
- package/{mobile/dist/services/sitemap/SitemapProps.js → dist/model/Button.js} +1 -1
- package/dist/model/Button.js.map +1 -0
- package/dist/model/HeadlineType.d.ts +4 -0
- package/dist/model/Picture.d.ts +3 -10
- package/{bundle/services/sitemap/SitemapProps.d.ts → dist/services/sitemap/SitemapData.d.ts} +1 -1
- package/dist/services/sitemap/SitemapData.js +2 -0
- package/dist/services/sitemap/SitemapData.js.map +1 -0
- package/dist/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
- package/dist/services/sitemap/search/jaroWinklerDistance.js +67 -0
- package/dist/services/sitemap/search/jaroWinklerDistance.js.map +1 -0
- package/dist/services/sitemap/search/joinMaps.d.ts +1 -0
- package/dist/services/sitemap/search/joinMaps.js +10 -0
- package/dist/services/sitemap/search/joinMaps.js.map +1 -0
- package/dist/services/sitemap/search/search.d.ts +12 -0
- package/dist/services/sitemap/search/search.js +39 -0
- package/dist/services/sitemap/search/search.js.map +1 -0
- package/dist/services/sitemap/search/textRank.d.ts +1 -0
- package/dist/services/sitemap/search/textRank.js +14 -0
- package/dist/services/sitemap/search/textRank.js.map +1 -0
- package/dist/services/sitemap/search/tokenize.d.ts +1 -0
- package/dist/services/sitemap/search/tokenize.js +9 -0
- package/dist/services/sitemap/search/tokenize.js.map +1 -0
- package/dist/services/sitemap/useSearch.d.ts +8 -0
- package/dist/services/sitemap/useSearch.js +33 -0
- package/dist/services/sitemap/useSearch.js.map +1 -0
- package/dist/ui-kit/BlockWrapper.d.ts +1 -0
- package/dist/ui-kit/BlockWrapper.js +3 -2
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Button/ButtonProps.d.ts +4 -4
- package/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
- package/dist/ui-kit/List/ListProps.d.ts +3 -4
- package/dist/ui-kit/Location/Location.d.ts +1 -18
- package/dist/ui-kit/Location/Location.js +6 -8
- package/dist/ui-kit/Location/Location.js.map +1 -1
- package/dist/ui-kit/Location/LocationProps.d.ts +16 -0
- package/dist/ui-kit/Location/LocationProps.js +2 -0
- package/dist/ui-kit/Location/LocationProps.js.map +1 -0
- package/dist/ui-kit/Location/SearchBar.js +1 -1
- package/dist/ui-kit/Location/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
- package/dist/ui-kit/SearchBar/SearchBarInner.js +4 -6
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/dist/utils/Comparator.d.ts +4 -0
- package/dist/utils/Comparator.js +9 -0
- package/dist/utils/Comparator.js.map +1 -0
- package/dist/utils/fetchJSON.js +1 -1
- package/dist/utils/fetchJSON.js.map +1 -1
- package/dist/utils/maxBy.d.ts +1 -0
- package/dist/utils/maxBy.js +2 -1
- package/dist/utils/maxBy.js.map +1 -1
- package/dist/utils/minBy.d.ts +1 -0
- package/dist/utils/minBy.js +2 -1
- package/dist/utils/minBy.js.map +1 -1
- package/dist/utils/sum.d.ts +1 -0
- package/dist/utils/sum.js +5 -0
- package/dist/utils/sum.js.map +1 -0
- package/dist/utils/unique.d.ts +1 -0
- package/dist/utils/unique.js +5 -0
- package/dist/utils/unique.js.map +1 -0
- package/dist/utils/url.d.ts +1 -1
- package/dist/utils/url.js.map +1 -1
- package/dist/utils/zip.d.ts +4 -0
- package/dist/utils/zip.js +7 -0
- package/dist/utils/zip.js.map +1 -0
- package/lib/EventBus/defaultEventBus.d.ts +1 -0
- package/lib/EventBus/defaultEventBus.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
- package/lib/components/BaseTile/BaseTileProps.d.ts +2 -2
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
- package/lib/components/Bonus/BonusContent.d.ts +0 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
- package/lib/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
- package/lib/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
- package/lib/components/Calculator/CalculatorContent.d.ts +2 -4
- package/lib/components/Carousel/CarouselContent.d.ts +1 -4
- package/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -10
- package/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
- package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +4 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
- package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
- package/lib/components/ComparisonTable/HeaderCell.mobile.d.ts +2 -3
- package/lib/components/ContentPage/ContentPage.js +7 -1
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js +2 -1
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
- package/lib/components/Footer/Footer.js +22 -2
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +1 -1
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/lib/components/Footer/MediaButton.js +5 -2
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/Sitemap.d.ts +2 -2
- package/lib/components/Footer/Sitemap.js +2 -4
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js +1 -1
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -14
- package/lib/components/Header/Header.js +1 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +1 -1
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js +2 -0
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Headline/Headline.js +2 -2
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js +2 -2
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
- package/lib/components/ImgBlock/ImgBlockContent.d.ts +2 -4
- package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -17
- package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
- package/lib/components/PictureText/PictureTextContent.d.ts +3 -21
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -23
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductTile/ProductTileContent.d.ts +2 -17
- package/lib/components/Recommendation/RecommendationContent.d.ts +2 -28
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +7 -23
- package/lib/components/Tabs/TabsContent.d.ts +1 -4
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +4 -9
- package/lib/components/TextBlock/TextBlockContent.d.ts +3 -3
- package/lib/components/Tile/TileContent.d.ts +3 -22
- package/lib/components/VerticalLayout/VerticalLayout.js +5 -3
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/Video/VideoContent.d.ts +2 -15
- package/lib/hooks/useCarouselControls.d.ts +0 -2
- package/lib/hooks/useCarouselControls.js +7 -15
- package/lib/hooks/useCarouselControls.js.map +1 -1
- package/{bundle/services/sitemap → lib/hooks}/useSWRResource.d.ts +1 -1
- package/lib/{services/sitemap → hooks}/useSWRResource.js +1 -1
- package/lib/hooks/useSWRResource.js.map +1 -0
- package/lib/model/Bullets.d.ts +4 -0
- package/lib/model/Bullets.js +2 -0
- package/lib/model/Bullets.js.map +1 -0
- package/lib/model/Button.d.ts +15 -0
- package/lib/model/Button.js +2 -0
- package/lib/model/Button.js.map +1 -0
- package/lib/model/HeadlineType.d.ts +4 -0
- package/lib/model/Picture.d.ts +3 -10
- package/{mobile/bundle/services/sitemap/SitemapProps.d.ts → lib/services/sitemap/SitemapData.d.ts} +1 -1
- package/lib/services/sitemap/SitemapData.js +2 -0
- package/lib/services/sitemap/SitemapData.js.map +1 -0
- package/lib/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
- package/lib/services/sitemap/search/jaroWinklerDistance.js +64 -0
- package/lib/services/sitemap/search/jaroWinklerDistance.js.map +1 -0
- package/lib/services/sitemap/search/joinMaps.d.ts +1 -0
- package/lib/services/sitemap/search/joinMaps.js +7 -0
- package/lib/services/sitemap/search/joinMaps.js.map +1 -0
- package/lib/services/sitemap/search/search.d.ts +12 -0
- package/lib/services/sitemap/search/search.js +36 -0
- package/lib/services/sitemap/search/search.js.map +1 -0
- package/lib/services/sitemap/search/textRank.d.ts +1 -0
- package/lib/services/sitemap/search/textRank.js +11 -0
- package/lib/services/sitemap/search/textRank.js.map +1 -0
- package/lib/services/sitemap/search/tokenize.d.ts +1 -0
- package/lib/services/sitemap/search/tokenize.js +6 -0
- package/lib/services/sitemap/search/tokenize.js.map +1 -0
- package/lib/services/sitemap/useSearch.d.ts +8 -0
- package/lib/services/sitemap/useSearch.js +30 -0
- package/lib/services/sitemap/useSearch.js.map +1 -0
- package/lib/ui-kit/BlockWrapper.d.ts +1 -0
- package/lib/ui-kit/BlockWrapper.js +3 -2
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Button/ButtonProps.d.ts +4 -4
- package/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
- package/lib/ui-kit/List/ListProps.d.ts +3 -4
- package/lib/ui-kit/Location/Location.d.ts +1 -18
- package/lib/ui-kit/Location/Location.js +7 -9
- package/lib/ui-kit/Location/Location.js.map +1 -1
- package/lib/ui-kit/Location/LocationProps.d.ts +16 -0
- package/lib/ui-kit/Location/LocationProps.js +2 -0
- package/lib/ui-kit/Location/LocationProps.js.map +1 -0
- package/lib/ui-kit/Location/SearchBar.js +1 -1
- package/lib/ui-kit/Location/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
- package/lib/ui-kit/SearchBar/SearchBarInner.js +4 -6
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/lib/utils/Comparator.d.ts +4 -0
- package/lib/utils/Comparator.js +4 -0
- package/lib/utils/Comparator.js.map +1 -0
- package/lib/utils/fetchJSON.js +1 -1
- package/lib/utils/fetchJSON.js.map +1 -1
- package/lib/utils/maxBy.d.ts +1 -0
- package/lib/utils/maxBy.js +1 -0
- package/lib/utils/maxBy.js.map +1 -1
- package/lib/utils/minBy.d.ts +1 -0
- package/lib/utils/minBy.js +1 -0
- package/lib/utils/minBy.js.map +1 -1
- package/lib/utils/sum.d.ts +1 -0
- package/lib/utils/sum.js +2 -0
- package/lib/utils/sum.js.map +1 -0
- package/lib/utils/unique.d.ts +1 -0
- package/lib/utils/unique.js +2 -0
- package/lib/utils/unique.js.map +1 -0
- package/lib/utils/url.d.ts +1 -1
- package/lib/utils/url.js.map +1 -1
- package/lib/utils/zip.d.ts +4 -0
- package/lib/utils/zip.js +4 -0
- package/lib/utils/zip.js.map +1 -0
- package/mobile/bundle/EventBus/defaultEventBus.d.ts +1 -0
- package/mobile/bundle/bundle.umd.js +25 -24
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
- package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +2 -2
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
- package/mobile/bundle/components/Bonus/BonusContent.d.ts +0 -1
- package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
- package/mobile/bundle/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
- package/mobile/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +2 -4
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +1 -4
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -10
- package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
- package/mobile/bundle/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
- package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
- package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
- package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
- package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +2 -3
- package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
- package/mobile/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/bundle/components/Footer/Sitemap.d.ts +2 -2
- package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -14
- package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
- package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +2 -4
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +3 -17
- package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
- package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +3 -21
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -23
- package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +2 -17
- package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +2 -28
- package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +7 -23
- package/mobile/bundle/components/Tabs/TabsContent.d.ts +1 -4
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +4 -9
- package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +3 -3
- package/mobile/bundle/components/Tile/TileContent.d.ts +3 -22
- package/mobile/bundle/components/Video/VideoContent.d.ts +2 -15
- package/mobile/bundle/hooks/useCarouselControls.d.ts +0 -2
- package/mobile/bundle/{services/sitemap → hooks}/useSWRResource.d.ts +1 -1
- package/mobile/bundle/model/Bullets.d.ts +4 -0
- package/mobile/bundle/model/Button.d.ts +15 -0
- package/mobile/bundle/model/HeadlineType.d.ts +4 -0
- package/mobile/bundle/model/Picture.d.ts +3 -10
- package/{lib/services/sitemap/SitemapProps.d.ts → mobile/bundle/services/sitemap/SitemapData.d.ts} +1 -1
- package/mobile/bundle/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
- package/mobile/bundle/services/sitemap/search/joinMaps.d.ts +1 -0
- package/mobile/bundle/services/sitemap/search/search.d.ts +12 -0
- package/mobile/bundle/services/sitemap/search/textRank.d.ts +1 -0
- package/mobile/bundle/services/sitemap/search/tokenize.d.ts +1 -0
- package/mobile/bundle/services/sitemap/useSearch.d.ts +8 -0
- package/mobile/bundle/ui-kit/BlockWrapper.d.ts +1 -0
- package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +4 -4
- package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
- package/mobile/bundle/ui-kit/List/ListProps.d.ts +3 -4
- package/mobile/bundle/ui-kit/Location/Location.d.ts +1 -18
- package/mobile/bundle/ui-kit/Location/LocationProps.d.ts +16 -0
- package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
- package/mobile/bundle/utils/Comparator.d.ts +4 -0
- package/mobile/bundle/utils/maxBy.d.ts +1 -0
- package/mobile/bundle/utils/minBy.d.ts +1 -0
- package/mobile/bundle/utils/sum.d.ts +1 -0
- package/mobile/bundle/utils/unique.d.ts +1 -0
- package/mobile/bundle/utils/url.d.ts +1 -1
- package/mobile/bundle/utils/zip.d.ts +4 -0
- package/mobile/dist/EventBus/defaultEventBus.d.ts +1 -0
- package/mobile/dist/EventBus/defaultEventBus.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +2 -2
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
- package/mobile/dist/components/Bonus/BonusContent.d.ts +0 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
- package/mobile/dist/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
- package/mobile/dist/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +2 -4
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +1 -4
- package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +2 -10
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
- package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
- package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +2 -3
- package/mobile/dist/components/ContentPage/ContentPage.js +7 -1
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js +2 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
- package/mobile/dist/components/Footer/Footer.js +1 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/dist/components/Footer/MediaButton.js +5 -2
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Footer/Sitemap.d.ts +2 -2
- package/mobile/dist/components/Footer/Sitemap.js +2 -4
- package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -14
- package/mobile/dist/components/Header/Header.js +1 -1
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +2 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.js +2 -2
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +2 -2
- package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
- package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +2 -4
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +3 -17
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +3 -21
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -23
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +2 -17
- package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +2 -28
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +7 -23
- package/mobile/dist/components/Tabs/TabsContent.d.ts +1 -4
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +4 -9
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +3 -3
- package/mobile/dist/components/Tile/TileContent.d.ts +3 -22
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +5 -3
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/Video/VideoContent.d.ts +2 -15
- package/mobile/dist/hooks/useCarouselControls.d.ts +0 -2
- package/mobile/dist/hooks/useCarouselControls.js +7 -15
- package/mobile/dist/hooks/useCarouselControls.js.map +1 -1
- package/mobile/dist/hooks/useSWRResource.d.ts +2 -0
- package/{dist/services/sitemap → mobile/dist/hooks}/useSWRResource.js +1 -1
- package/mobile/dist/hooks/useSWRResource.js.map +1 -0
- package/mobile/dist/model/Bullets.d.ts +4 -0
- package/mobile/dist/model/Bullets.js +2 -0
- package/mobile/dist/model/Bullets.js.map +1 -0
- package/mobile/dist/model/Button.d.ts +15 -0
- package/mobile/dist/model/Button.js +2 -0
- package/mobile/dist/model/Button.js.map +1 -0
- package/mobile/dist/model/HeadlineType.d.ts +4 -0
- package/mobile/dist/model/Picture.d.ts +3 -10
- package/mobile/dist/services/sitemap/SitemapData.d.ts +32 -0
- package/mobile/dist/services/sitemap/SitemapData.js +2 -0
- package/mobile/dist/services/sitemap/SitemapData.js.map +1 -0
- package/mobile/dist/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
- package/mobile/dist/services/sitemap/search/jaroWinklerDistance.js +67 -0
- package/mobile/dist/services/sitemap/search/jaroWinklerDistance.js.map +1 -0
- package/mobile/dist/services/sitemap/search/joinMaps.d.ts +1 -0
- package/mobile/dist/services/sitemap/search/joinMaps.js +10 -0
- package/mobile/dist/services/sitemap/search/joinMaps.js.map +1 -0
- package/mobile/dist/services/sitemap/search/search.d.ts +12 -0
- package/mobile/dist/services/sitemap/search/search.js +39 -0
- package/mobile/dist/services/sitemap/search/search.js.map +1 -0
- package/mobile/dist/services/sitemap/search/textRank.d.ts +1 -0
- package/mobile/dist/services/sitemap/search/textRank.js +14 -0
- package/mobile/dist/services/sitemap/search/textRank.js.map +1 -0
- package/mobile/dist/services/sitemap/search/tokenize.d.ts +1 -0
- package/mobile/dist/services/sitemap/search/tokenize.js +9 -0
- package/mobile/dist/services/sitemap/search/tokenize.js.map +1 -0
- package/mobile/dist/services/sitemap/useSearch.d.ts +8 -0
- package/mobile/dist/services/sitemap/useSearch.js +33 -0
- package/mobile/dist/services/sitemap/useSearch.js.map +1 -0
- package/mobile/dist/ui-kit/BlockWrapper.d.ts +1 -0
- package/mobile/dist/ui-kit/BlockWrapper.js +3 -2
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +4 -4
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
- package/mobile/dist/ui-kit/List/ListProps.d.ts +3 -4
- package/mobile/dist/ui-kit/Location/Location.d.ts +1 -18
- package/mobile/dist/ui-kit/Location/Location.js +6 -8
- package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
- package/mobile/dist/ui-kit/Location/LocationProps.d.ts +16 -0
- package/mobile/dist/ui-kit/Location/LocationProps.js +2 -0
- package/mobile/dist/ui-kit/Location/LocationProps.js.map +1 -0
- package/mobile/dist/ui-kit/Location/SearchBar.js +1 -1
- package/mobile/dist/ui-kit/Location/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +4 -6
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/dist/utils/Comparator.d.ts +4 -0
- package/mobile/dist/utils/Comparator.js +9 -0
- package/mobile/dist/utils/Comparator.js.map +1 -0
- package/mobile/dist/utils/fetchJSON.js +1 -1
- package/mobile/dist/utils/fetchJSON.js.map +1 -1
- package/mobile/dist/utils/maxBy.d.ts +1 -0
- package/mobile/dist/utils/maxBy.js +2 -1
- package/mobile/dist/utils/maxBy.js.map +1 -1
- package/mobile/dist/utils/minBy.d.ts +1 -0
- package/mobile/dist/utils/minBy.js +2 -1
- package/mobile/dist/utils/minBy.js.map +1 -1
- package/mobile/dist/utils/sum.d.ts +1 -0
- package/mobile/dist/utils/sum.js +5 -0
- package/mobile/dist/utils/sum.js.map +1 -0
- package/mobile/dist/utils/unique.d.ts +1 -0
- package/mobile/dist/utils/unique.js +5 -0
- package/mobile/dist/utils/unique.js.map +1 -0
- package/mobile/dist/utils/url.d.ts +1 -1
- package/mobile/dist/utils/url.js.map +1 -1
- package/mobile/dist/utils/zip.d.ts +4 -0
- package/mobile/dist/utils/zip.js +7 -0
- package/mobile/dist/utils/zip.js.map +1 -0
- package/mobile/lib/EventBus/defaultEventBus.d.ts +1 -0
- package/mobile/lib/EventBus/defaultEventBus.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +2 -2
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
- package/mobile/lib/components/Bonus/BonusContent.d.ts +0 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +2 -8
- package/mobile/lib/components/BusinessBlock/BusinessBlockContent.d.ts +2 -9
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.d.ts +1 -5
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +2 -4
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +1 -4
- package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +2 -10
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCardContent.d.ts +2 -10
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCardContent.d.ts +3 -21
- package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +4 -29
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +8 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +2 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +12 -7
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +5 -21
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +4 -8
- package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +2 -3
- package/mobile/lib/components/ContentPage/ContentPage.js +7 -1
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +2 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlockContent.d.ts +4 -23
- package/mobile/lib/components/Footer/Footer.js +1 -1
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/lib/components/Footer/MediaButton.js +5 -2
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Footer/Sitemap.d.ts +2 -2
- package/mobile/lib/components/Footer/Sitemap.js +2 -4
- package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -14
- package/mobile/lib/components/Header/Header.js +1 -1
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +2 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.js +2 -2
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +2 -2
- package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +3 -1
- package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +2 -4
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +2 -3
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +3 -17
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +3 -20
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +3 -21
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -23
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +2 -17
- package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +2 -28
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +7 -23
- package/mobile/lib/components/Tabs/TabsContent.d.ts +1 -4
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +4 -9
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +3 -3
- package/mobile/lib/components/Tile/TileContent.d.ts +3 -22
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +5 -3
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/Video/VideoContent.d.ts +2 -15
- package/mobile/lib/hooks/useCarouselControls.d.ts +0 -2
- package/mobile/lib/hooks/useCarouselControls.js +7 -15
- package/mobile/lib/hooks/useCarouselControls.js.map +1 -1
- package/mobile/lib/hooks/useSWRResource.d.ts +2 -0
- package/mobile/lib/{services/sitemap → hooks}/useSWRResource.js +1 -1
- package/mobile/lib/hooks/useSWRResource.js.map +1 -0
- package/mobile/lib/model/Bullets.d.ts +4 -0
- package/mobile/lib/model/Bullets.js +2 -0
- package/mobile/lib/model/Bullets.js.map +1 -0
- package/mobile/lib/model/Button.d.ts +15 -0
- package/mobile/lib/model/Button.js +2 -0
- package/mobile/lib/model/Button.js.map +1 -0
- package/mobile/lib/model/HeadlineType.d.ts +4 -0
- package/mobile/lib/model/Picture.d.ts +3 -10
- package/mobile/lib/services/sitemap/SitemapData.d.ts +32 -0
- package/mobile/lib/services/sitemap/SitemapData.js +2 -0
- package/mobile/lib/services/sitemap/SitemapData.js.map +1 -0
- package/mobile/lib/services/sitemap/search/jaroWinklerDistance.d.ts +1 -0
- package/mobile/lib/services/sitemap/search/jaroWinklerDistance.js +64 -0
- package/mobile/lib/services/sitemap/search/jaroWinklerDistance.js.map +1 -0
- package/mobile/lib/services/sitemap/search/joinMaps.d.ts +1 -0
- package/mobile/lib/services/sitemap/search/joinMaps.js +7 -0
- package/mobile/lib/services/sitemap/search/joinMaps.js.map +1 -0
- package/mobile/lib/services/sitemap/search/search.d.ts +12 -0
- package/mobile/lib/services/sitemap/search/search.js +36 -0
- package/mobile/lib/services/sitemap/search/search.js.map +1 -0
- package/mobile/lib/services/sitemap/search/textRank.d.ts +1 -0
- package/mobile/lib/services/sitemap/search/textRank.js +11 -0
- package/mobile/lib/services/sitemap/search/textRank.js.map +1 -0
- package/mobile/lib/services/sitemap/search/tokenize.d.ts +1 -0
- package/mobile/lib/services/sitemap/search/tokenize.js +6 -0
- package/mobile/lib/services/sitemap/search/tokenize.js.map +1 -0
- package/mobile/lib/services/sitemap/useSearch.d.ts +8 -0
- package/mobile/lib/services/sitemap/useSearch.js +30 -0
- package/mobile/lib/services/sitemap/useSearch.js.map +1 -0
- package/mobile/lib/ui-kit/BlockWrapper.d.ts +1 -0
- package/mobile/lib/ui-kit/BlockWrapper.js +3 -2
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +4 -4
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -1
- package/mobile/lib/ui-kit/List/ListProps.d.ts +3 -4
- package/mobile/lib/ui-kit/Location/Location.d.ts +1 -18
- package/mobile/lib/ui-kit/Location/Location.js +7 -9
- package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
- package/mobile/lib/ui-kit/Location/LocationProps.d.ts +16 -0
- package/mobile/lib/ui-kit/Location/LocationProps.js +2 -0
- package/mobile/lib/ui-kit/Location/LocationProps.js.map +1 -0
- package/mobile/lib/ui-kit/Location/SearchBar.js +1 -1
- package/mobile/lib/ui-kit/Location/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +3 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +4 -6
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/lib/utils/Comparator.d.ts +4 -0
- package/mobile/lib/utils/Comparator.js +4 -0
- package/mobile/lib/utils/Comparator.js.map +1 -0
- package/mobile/lib/utils/fetchJSON.js +1 -1
- package/mobile/lib/utils/fetchJSON.js.map +1 -1
- package/mobile/lib/utils/maxBy.d.ts +1 -0
- package/mobile/lib/utils/maxBy.js +1 -0
- package/mobile/lib/utils/maxBy.js.map +1 -1
- package/mobile/lib/utils/minBy.d.ts +1 -0
- package/mobile/lib/utils/minBy.js +1 -0
- package/mobile/lib/utils/minBy.js.map +1 -1
- package/mobile/lib/utils/sum.d.ts +1 -0
- package/mobile/lib/utils/sum.js +2 -0
- package/mobile/lib/utils/sum.js.map +1 -0
- package/mobile/lib/utils/unique.d.ts +1 -0
- package/mobile/lib/utils/unique.js +2 -0
- package/mobile/lib/utils/unique.js.map +1 -0
- package/mobile/lib/utils/url.d.ts +1 -1
- package/mobile/lib/utils/url.js.map +1 -1
- package/mobile/lib/utils/zip.d.ts +4 -0
- package/mobile/lib/utils/zip.js +4 -0
- package/mobile/lib/utils/zip.js.map +1 -0
- package/mobile/src/EventBus/defaultEventBus.ts +1 -0
- package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +8 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +1 -5
- package/mobile/src/components/BaseTile/BaseTileProps.ts +2 -2
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +3 -3
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -8
- package/mobile/src/components/Bonus/Bonus.example.json +2 -1
- package/mobile/src/components/Bonus/Bonus.ui.json +1 -1
- package/mobile/src/components/Bonus/BonusContent.ts +0 -1
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +3 -8
- package/mobile/src/components/BusinessBlock/BusinessBlock.example.json +42 -8
- package/mobile/src/components/BusinessBlock/BusinessBlockContent.ts +3 -9
- package/mobile/src/components/ButtonBlock/ButtonBlock.example.json +3 -1
- package/mobile/src/components/ButtonBlock/ButtonBlockContent.ts +1 -5
- package/mobile/src/components/Calculator/CalculatorContent.ts +6 -7
- package/mobile/src/components/Carousel/Carousel.example.json +2 -1
- package/mobile/src/components/Carousel/CarouselContent.ts +1 -4
- package/mobile/src/components/CarouselCard/CarouselCard.example.json +4 -2
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +4 -3
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +3 -10
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +3 -1
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -10
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +13 -6
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +4 -21
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.example.json +11 -2
- package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +7 -29
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +25 -12
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +2 -0
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -5
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +44 -26
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -21
- package/mobile/src/components/ComparisonTable/ComparisonTable.example.json +8 -0
- package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +15 -11
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +3 -3
- package/mobile/src/components/ContentPage/ContentPage.tsx +16 -1
- package/mobile/src/components/ErrorBlock/ErrorBlock.example.json +15 -1
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +7 -4
- package/mobile/src/components/ErrorBlock/ErrorBlockContent.ts +5 -23
- package/mobile/src/components/Footer/Footer.tsx +3 -3
- package/mobile/src/components/Footer/FooterDataProps.ts +2 -2
- package/mobile/src/components/Footer/MediaButton.tsx +13 -7
- package/mobile/src/components/Footer/Sitemap.tsx +4 -7
- package/mobile/src/components/GracePeriod/GracePeriod.example.json +15 -0
- package/mobile/src/components/GracePeriod/GracePeriod.ui.json +1 -1
- package/mobile/src/components/GracePeriod/GracePeriodContent.ts +3 -14
- package/mobile/src/components/Header/Header.tsx +3 -3
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +4 -1
- package/mobile/src/components/Headline/Headline.tsx +5 -6
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.example.json +3 -1
- package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +10 -2
- package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +3 -1
- package/mobile/src/components/ImgBlock/ImgBlockContent.ts +2 -4
- package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +3 -3
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +9 -2
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +4 -17
- package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +2 -2
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +10 -1
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +4 -20
- package/mobile/src/components/PictureText/PictureText.example.json +9 -1
- package/mobile/src/components/PictureText/PictureTextContent.ts +4 -21
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +10 -1
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +5 -23
- package/mobile/src/components/ProductTile/ProductTile.example.json +10 -2
- package/mobile/src/components/ProductTile/ProductTileContent.ts +3 -17
- package/mobile/src/components/Recommendation/Recommendation.example.json +5 -1
- package/mobile/src/components/Recommendation/RecommendationContent.ts +2 -28
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +8 -4
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +19 -33
- package/mobile/src/components/Tabs/Tabs.example.json +2 -1
- package/mobile/src/components/Tabs/TabsContent.ts +1 -4
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +4 -9
- package/mobile/src/components/TextBlock/TextBlockContent.ts +5 -5
- package/mobile/src/components/Tile/Tile.example.json +9 -1
- package/mobile/src/components/Tile/TileContent.ts +5 -22
- package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +1 -0
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +5 -1
- package/mobile/src/components/Video/Video.example.json +7 -1
- package/mobile/src/components/Video/VideoContent.ts +2 -15
- package/mobile/src/hooks/useCarouselControls.ts +7 -30
- package/mobile/src/{services/sitemap → hooks}/useSWRResource.ts +2 -2
- package/mobile/src/model/Bullets.ts +4 -0
- package/mobile/src/model/Button.ts +16 -0
- package/mobile/src/model/HeadlineType.ts +5 -0
- package/mobile/src/model/Picture.ts +3 -10
- package/mobile/src/services/sitemap/{SitemapProps.ts → SitemapData.ts} +1 -1
- package/mobile/src/services/sitemap/search/jaroWinklerDistance.ts +98 -0
- package/mobile/src/services/sitemap/search/joinMaps.ts +9 -0
- package/mobile/src/services/sitemap/search/search.ts +73 -0
- package/mobile/src/services/sitemap/search/textRank.ts +14 -0
- package/mobile/src/services/sitemap/search/tokenize.ts +7 -0
- package/mobile/src/services/sitemap/useSearch.ts +56 -0
- package/mobile/src/ui-kit/BlockWrapper.tsx +8 -3
- package/mobile/src/ui-kit/Button/ButtonProps.ts +4 -4
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +3 -1
- package/mobile/src/ui-kit/List/ListProps.ts +11 -11
- package/mobile/src/ui-kit/Location/Location.tsx +23 -40
- package/mobile/src/ui-kit/Location/LocationProps.ts +25 -0
- package/mobile/src/ui-kit/Location/SearchBar.tsx +1 -1
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +59 -56
- package/mobile/src/utils/Comparator.ts +14 -0
- package/mobile/src/utils/fetchJSON.ts +1 -1
- package/mobile/src/utils/maxBy.ts +2 -0
- package/mobile/src/utils/minBy.ts +2 -0
- package/mobile/src/utils/sum.ts +1 -0
- package/mobile/src/utils/unique.ts +1 -0
- package/mobile/src/utils/url.ts +1 -1
- package/mobile/src/utils/zip.ts +8 -0
- package/package.json +1 -1
- package/src/EventBus/defaultEventBus.ts +1 -0
- package/src/components/ApplicationForm/ApplicationForm.example.json +8 -0
- package/src/components/ApplicationForm/ApplicationFormContent.ts +1 -5
- package/src/components/BaseTile/BaseTileProps.ts +2 -2
- package/src/components/BenefitsBlock/BenefitsBlock.example.json +3 -3
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -8
- package/src/components/Bonus/Bonus.example.json +2 -1
- package/src/components/Bonus/Bonus.ui.json +1 -1
- package/src/components/Bonus/BonusContent.ts +0 -1
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +3 -8
- package/src/components/BusinessBlock/BusinessBlock.example.json +42 -8
- package/src/components/BusinessBlock/BusinessBlockContent.ts +3 -9
- package/src/components/ButtonBlock/ButtonBlock.example.json +3 -1
- package/src/components/ButtonBlock/ButtonBlockContent.ts +1 -5
- package/src/components/Calculator/CalculatorContent.ts +6 -7
- package/src/components/Carousel/Carousel.example.json +2 -1
- package/src/components/Carousel/Carousel.fixture.tsx +5 -4
- package/src/components/Carousel/CarouselContent.ts +1 -4
- package/src/components/CarouselCard/CarouselCard.example.json +4 -2
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -0
- package/src/components/CarouselCard/CarouselCard.tsx +4 -3
- package/src/components/CarouselCard/CarouselCardContent.ts +3 -10
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.example.json +3 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCardContent.ts +3 -10
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.example.json +13 -6
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCardContent.ts +4 -21
- package/src/components/CarouselProductCard/CarouselProductCard.example.json +11 -2
- package/src/components/CarouselProductCard/CarouselProductCardContent.ts +7 -29
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +2 -0
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +25 -12
- package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +2 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -5
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +82 -22
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +44 -26
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +8 -21
- package/src/components/ComparisonTable/ComparisonTable.example.json +8 -0
- package/src/components/ComparisonTable/ComparisonTableContent.ts +15 -11
- package/src/components/ComparisonTable/HeaderCell.mobile.tsx +3 -3
- package/src/components/ContentPage/ContentPage.tsx +16 -1
- package/src/components/ErrorBlock/ErrorBlock.example.json +15 -1
- package/src/components/ErrorBlock/ErrorBlock.tsx +7 -4
- package/src/components/ErrorBlock/ErrorBlockContent.ts +5 -23
- package/src/components/Footer/Footer.mobile.tsx +3 -3
- package/src/components/Footer/Footer.tsx +33 -3
- package/src/components/Footer/FooterDataProps.ts +2 -2
- package/src/components/Footer/MediaButton.tsx +13 -7
- package/src/components/Footer/Sitemap.tsx +4 -7
- package/src/components/Footer/SocialMedia.tsx +11 -2
- package/src/components/GracePeriod/GracePeriod.example.json +15 -0
- package/src/components/GracePeriod/GracePeriod.ui.json +1 -1
- package/src/components/GracePeriod/GracePeriodContent.ts +3 -14
- package/src/components/Header/Header.mobile.tsx +3 -3
- package/src/components/Header/Header.tsx +3 -3
- package/src/components/Header/HeaderSecondaryMenu.tsx +4 -1
- package/src/components/Headline/Headline.fixture.tsx +11 -11
- package/src/components/Headline/Headline.tsx +5 -6
- package/src/components/HorizontalLayout/HorizontalLayout.example.json +3 -1
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +10 -2
- package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +3 -1
- package/src/components/ImgBlock/ImgBlockContent.ts +2 -4
- package/src/components/InvestmentInfo/InvestmentInfoContent.ts +3 -3
- package/src/components/LinkDocs/LinkDocs.example.json +9 -2
- package/src/components/LinkDocs/LinkDocsContent.ts +4 -17
- package/src/components/LinkDocs/LinkDocsListItemBase.tsx +2 -2
- package/src/components/MobileAppTile/MobileAppTile.example.json +10 -1
- package/src/components/MobileAppTile/MobileAppTileContent.ts +4 -20
- package/src/components/PictureText/PictureText.example.json +9 -1
- package/src/components/PictureText/PictureTextContent.ts +4 -21
- package/src/components/ProductBlock/ProductBlock.example.json +10 -1
- package/src/components/ProductBlock/ProductBlockContent.ts +5 -23
- package/src/components/ProductBlock/ProductBlockInner.tsx +0 -1
- package/src/components/ProductTile/ProductTile.example.json +10 -2
- package/src/components/ProductTile/ProductTileContent.ts +3 -17
- package/src/components/Recommendation/Recommendation.example.json +5 -1
- package/src/components/Recommendation/RecommendationContent.ts +2 -28
- package/src/components/StepsBlock/StepsBlock.example.json +8 -4
- package/src/components/StepsBlock/StepsBlockContent.ts +19 -33
- package/src/components/Tabs/Tabs.example.json +2 -1
- package/src/components/Tabs/TabsContent.ts +1 -4
- package/src/components/TariffsTable/TariffsTableContent.ts +4 -9
- package/src/components/TextBlock/TextBlockContent.ts +5 -5
- package/src/components/Tile/Tile.example.json +9 -1
- package/src/components/Tile/TileContent.ts +5 -22
- package/src/components/VerticalLayout/VerticalLayout.example.json +1 -0
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +1 -0
- package/src/components/VerticalLayout/VerticalLayout.tsx +5 -1
- package/src/components/Video/Video.example.json +7 -1
- package/src/components/Video/VideoContent.ts +2 -15
- package/src/hooks/useCarouselControls.ts +7 -30
- package/src/{services/sitemap → hooks}/useSWRResource.ts +2 -2
- package/src/model/Bullets.ts +4 -0
- package/src/model/Button.ts +16 -0
- package/src/model/HeadlineType.ts +5 -0
- package/src/model/Picture.ts +3 -10
- package/src/services/sitemap/{SitemapProps.ts → SitemapData.ts} +1 -1
- package/src/services/sitemap/search/jaroWinklerDistance.ts +98 -0
- package/src/services/sitemap/search/joinMaps.ts +9 -0
- package/src/services/sitemap/search/search.ts +73 -0
- package/src/services/sitemap/search/textRank.ts +14 -0
- package/src/services/sitemap/search/tokenize.ts +7 -0
- package/src/services/sitemap/useSearch.ts +56 -0
- package/src/ui-kit/BlockWrapper.tsx +8 -3
- package/src/ui-kit/Button/ButtonProps.ts +4 -4
- package/src/ui-kit/InputRange/InputRangeProps.ts +3 -1
- package/src/ui-kit/List/ListProps.ts +11 -11
- package/src/ui-kit/Location/Location.fixture.tsx +1 -1
- package/src/ui-kit/Location/Location.tsx +23 -40
- package/src/ui-kit/Location/LocationProps.ts +25 -0
- package/src/ui-kit/Location/SearchBar.tsx +1 -1
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +59 -56
- package/src/utils/Comparator.ts +14 -0
- package/src/utils/fetchJSON.ts +1 -1
- package/src/utils/maxBy.ts +2 -0
- package/src/utils/minBy.ts +2 -0
- package/src/utils/sum.ts +1 -0
- package/src/utils/unique.ts +1 -0
- package/src/utils/url.ts +1 -1
- package/src/utils/zip.ts +8 -0
- package/bundle/hooks/useSearch.d.ts +0 -4
- package/dist/hooks/useSearch.d.ts +0 -4
- package/dist/hooks/useSearch.js +0 -12
- package/dist/hooks/useSearch.js.map +0 -1
- package/dist/services/sitemap/SitemapProps.js.map +0 -1
- package/dist/services/sitemap/useSWRResource.js.map +0 -1
- package/lib/hooks/useSearch.d.ts +0 -4
- package/lib/hooks/useSearch.js +0 -9
- package/lib/hooks/useSearch.js.map +0 -1
- package/lib/services/sitemap/SitemapProps.js +0 -2
- package/lib/services/sitemap/SitemapProps.js.map +0 -1
- package/lib/services/sitemap/useSWRResource.js.map +0 -1
- package/mobile/bundle/hooks/useSearch.d.ts +0 -4
- package/mobile/dist/hooks/useSearch.d.ts +0 -4
- package/mobile/dist/hooks/useSearch.js +0 -12
- package/mobile/dist/hooks/useSearch.js.map +0 -1
- package/mobile/dist/services/sitemap/SitemapProps.d.ts +0 -32
- package/mobile/dist/services/sitemap/SitemapProps.js.map +0 -1
- package/mobile/dist/services/sitemap/useSWRResource.d.ts +0 -2
- package/mobile/dist/services/sitemap/useSWRResource.js.map +0 -1
- package/mobile/lib/hooks/useSearch.d.ts +0 -4
- package/mobile/lib/hooks/useSearch.js +0 -9
- package/mobile/lib/hooks/useSearch.js.map +0 -1
- package/mobile/lib/services/sitemap/SitemapProps.d.ts +0 -32
- package/mobile/lib/services/sitemap/SitemapProps.js +0 -2
- package/mobile/lib/services/sitemap/SitemapProps.js.map +0 -1
- package/mobile/lib/services/sitemap/useSWRResource.d.ts +0 -2
- package/mobile/lib/services/sitemap/useSWRResource.js.map +0 -1
- package/mobile/src/hooks/useSearch.ts +0 -10
- package/src/hooks/useSearch.ts +0 -10
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import type { BulletsProps } from '../../model/Bullets';
|
|
1
2
|
import type { Footnote } from '../../model/Footnote';
|
|
2
3
|
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
3
4
|
import type { IconVersion } from '../../model/IconVersion';
|
|
4
5
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
6
|
import type { LinkProps } from '../../model/LinkProps';
|
|
6
|
-
import type { Picture } from '../../model/Picture';
|
|
7
7
|
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
8
8
|
import type { BackwardButtonProps, ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
9
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
9
10
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
10
11
|
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
11
12
|
|
|
@@ -13,25 +14,11 @@ export type ProductBlockInnerContent = HeadlineProps &
|
|
|
13
14
|
RichTextProps &
|
|
14
15
|
ListContent &
|
|
15
16
|
ButtonContent &
|
|
16
|
-
Footnote &
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
* "format": "webp",
|
|
20
|
-
* "size": {
|
|
21
|
-
* "width": 600
|
|
22
|
-
* },
|
|
23
|
-
* "sources": [{
|
|
24
|
-
* "media": 1279,
|
|
25
|
-
* "width": 360,
|
|
26
|
-
* "format": "webp",
|
|
27
|
-
* "alignment": "northeast"
|
|
28
|
-
* }]
|
|
29
|
-
* }
|
|
30
|
-
*/
|
|
31
|
-
image?: Picture;
|
|
17
|
+
Footnote &
|
|
18
|
+
ImageContent &
|
|
19
|
+
BulletsProps & {
|
|
32
20
|
/**
|
|
33
21
|
* @title Количество преимуществ в строке
|
|
34
|
-
* @default 3
|
|
35
22
|
* @enumNames ["2", "3"]
|
|
36
23
|
*/
|
|
37
24
|
benefitsCountOfRow?: 2 | 3;
|
|
@@ -42,11 +29,6 @@ export type ProductBlockInnerContent = HeadlineProps &
|
|
|
42
29
|
*/
|
|
43
30
|
benefits?: BenefitItemProps[];
|
|
44
31
|
benefitsVersion?: IconVersion;
|
|
45
|
-
/**
|
|
46
|
-
* @title Буллиты
|
|
47
|
-
* @default true
|
|
48
|
-
*/
|
|
49
|
-
isDotted?: boolean;
|
|
50
32
|
/** @title Лейбл (моб.) */
|
|
51
33
|
label?: string;
|
|
52
34
|
/**
|
|
@@ -6,8 +6,16 @@
|
|
|
6
6
|
"image": {
|
|
7
7
|
"format": "webp",
|
|
8
8
|
"size": {
|
|
9
|
-
"width":
|
|
10
|
-
}
|
|
9
|
+
"width": 242
|
|
10
|
+
},
|
|
11
|
+
"sources": [
|
|
12
|
+
{
|
|
13
|
+
"media": 1279,
|
|
14
|
+
"width": 145,
|
|
15
|
+
"format": "webp",
|
|
16
|
+
"alignment": "southeast"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
11
19
|
},
|
|
12
20
|
"version": "primary",
|
|
13
21
|
"benefits": [
|
|
@@ -6,9 +6,9 @@ import type {
|
|
|
6
6
|
LabelProps,
|
|
7
7
|
} from '../../model/HeadlineType';
|
|
8
8
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
9
|
-
import type { Picture } from '../../model/Picture';
|
|
10
9
|
import type { RichTextItem } from '../../model/RichTextItem';
|
|
11
10
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
11
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* @title Стандартный
|
|
@@ -29,22 +29,8 @@ export type Benefit = TextBenefit | RichTextItem;
|
|
|
29
29
|
export type ProductTileContent = UniBlockContent &
|
|
30
30
|
HeadlineProps &
|
|
31
31
|
AdditionalDescriptionProps &
|
|
32
|
-
ButtonContent &
|
|
33
|
-
|
|
34
|
-
* @default {
|
|
35
|
-
* "format": "webp",
|
|
36
|
-
* "size": {
|
|
37
|
-
* "width": 320
|
|
38
|
-
* },
|
|
39
|
-
* "sources": [{
|
|
40
|
-
* "media": 1279,
|
|
41
|
-
* "width": 192,
|
|
42
|
-
* "format": "webp",
|
|
43
|
-
* "alignment": "southeast"
|
|
44
|
-
* }]
|
|
45
|
-
* }
|
|
46
|
-
*/
|
|
47
|
-
image?: Picture;
|
|
32
|
+
ButtonContent &
|
|
33
|
+
ImageContent & {
|
|
48
34
|
/**
|
|
49
35
|
* @title Преимущества
|
|
50
36
|
* @maxItems 7
|
|
@@ -1,45 +1,19 @@
|
|
|
1
1
|
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
4
|
-
import type { Picture } from '../../model/Picture';
|
|
5
4
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
+
import { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
6
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* @title Карточка
|
|
10
10
|
*/
|
|
11
|
-
export interface RecommendationCardTypes extends HeadlineCommonProps, ListContent {
|
|
11
|
+
export interface RecommendationCardTypes extends HeadlineCommonProps, ListContent, ImageContent {
|
|
12
12
|
/**
|
|
13
13
|
* @title Соц сети
|
|
14
14
|
* @minItems 3
|
|
15
|
-
* @default [
|
|
16
|
-
* { "href": "https://t.me" },
|
|
17
|
-
* { "href": "https://vk.com" },
|
|
18
|
-
* { "href": "https://ok.ru" },
|
|
19
|
-
* ]
|
|
20
15
|
*/
|
|
21
16
|
socialMedia?: LinkCommonProps[];
|
|
22
|
-
/**
|
|
23
|
-
* @default {
|
|
24
|
-
* "format": "webp",
|
|
25
|
-
* "size": {
|
|
26
|
-
* "width": 290
|
|
27
|
-
* },
|
|
28
|
-
* "sources": [{
|
|
29
|
-
* "media": 1279,
|
|
30
|
-
* "width": 174,
|
|
31
|
-
* "format": "webp",
|
|
32
|
-
* "alignment": "southeast"
|
|
33
|
-
* }]
|
|
34
|
-
* }
|
|
35
|
-
*/
|
|
36
|
-
image?: Picture;
|
|
37
|
-
/**
|
|
38
|
-
* @default {
|
|
39
|
-
* "text": "",
|
|
40
|
-
* "version": "secondary"
|
|
41
|
-
* }
|
|
42
|
-
*/
|
|
43
17
|
button?: ButtonProps;
|
|
44
18
|
}
|
|
45
19
|
|
|
@@ -12,12 +12,13 @@
|
|
|
12
12
|
"label": "Шаг №1",
|
|
13
13
|
"description": "Описание шага №1",
|
|
14
14
|
"icon": {
|
|
15
|
+
"format": "webp",
|
|
15
16
|
"icon": "NewDocIcon",
|
|
16
17
|
"size": {
|
|
17
18
|
"width": 48,
|
|
18
19
|
"height": 48
|
|
19
20
|
},
|
|
20
|
-
"
|
|
21
|
+
"iconVersion": "normal"
|
|
21
22
|
},
|
|
22
23
|
"button": {
|
|
23
24
|
"text": "Кнопка",
|
|
@@ -29,12 +30,13 @@
|
|
|
29
30
|
"type": "default",
|
|
30
31
|
"label": "Шаг №2",
|
|
31
32
|
"icon": {
|
|
33
|
+
"format": "webp",
|
|
32
34
|
"icon": "PassSendIcon",
|
|
33
35
|
"size": {
|
|
34
36
|
"width": 48,
|
|
35
37
|
"height": 48
|
|
36
38
|
},
|
|
37
|
-
"
|
|
39
|
+
"iconVersion": "normal"
|
|
38
40
|
},
|
|
39
41
|
"button": {
|
|
40
42
|
"text": "Кнопка",
|
|
@@ -46,12 +48,13 @@
|
|
|
46
48
|
"type": "default",
|
|
47
49
|
"description": "Шаг №3 без заголовка",
|
|
48
50
|
"icon": {
|
|
51
|
+
"format": "webp",
|
|
49
52
|
"icon": "ActualBalanceIcon",
|
|
50
53
|
"size": {
|
|
51
54
|
"width": 48,
|
|
52
55
|
"height": 48
|
|
53
56
|
},
|
|
54
|
-
"
|
|
57
|
+
"iconVersion": "normal"
|
|
55
58
|
},
|
|
56
59
|
"button": {
|
|
57
60
|
"text": "Кнопка",
|
|
@@ -64,6 +67,7 @@
|
|
|
64
67
|
"text": "Кнопка",
|
|
65
68
|
"target": "_blank",
|
|
66
69
|
"version": "primary"
|
|
67
|
-
}
|
|
70
|
+
},
|
|
71
|
+
"isDotted": true
|
|
68
72
|
}
|
|
69
73
|
}
|
|
@@ -1,23 +1,15 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { BulletsProps } from '../../model/Bullets';
|
|
3
|
+
import type { ButtonCommonIconProps } from '../../model/Button';
|
|
2
4
|
import type { DefaultListItemType } from '../../model/DefaultListItemType';
|
|
3
5
|
import type { DescriptionProps, HeadlineCommonProps, LabelProps } from '../../model/HeadlineType';
|
|
4
6
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
7
|
import type { IconProps } from '../../model/Picture';
|
|
6
8
|
import type { RichTextItem } from '../../model/RichTextItem';
|
|
7
9
|
import type { SizeVersion } from '../../model/SizeVersion';
|
|
8
|
-
import type {
|
|
10
|
+
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
9
11
|
|
|
10
|
-
type StepCommonProps = IconProps & {
|
|
11
|
-
/** @title Кнопка */
|
|
12
|
-
button?: ButtonWithIconProps;
|
|
13
|
-
/**
|
|
14
|
-
* @title Буллиты
|
|
15
|
-
* @default true
|
|
16
|
-
*/
|
|
17
|
-
isDotted?: boolean;
|
|
18
|
-
/** @title Список */
|
|
19
|
-
items?: string[];
|
|
20
|
-
};
|
|
12
|
+
type StepCommonProps = IconProps & ButtonCommonIconProps & BulletsProps & ListContent & {};
|
|
21
13
|
|
|
22
14
|
/**
|
|
23
15
|
* @title Стандартный
|
|
@@ -37,24 +29,18 @@ export type Step = DefaultStep | RichTextStep;
|
|
|
37
29
|
/**
|
|
38
30
|
* @title Блок шаги
|
|
39
31
|
*/
|
|
40
|
-
export type StepsBlockContent = UniBlockContent &
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @title Размер шагов
|
|
57
|
-
* @default normal
|
|
58
|
-
*/
|
|
59
|
-
size?: SizeVersion; // TODO: mobile content
|
|
60
|
-
};
|
|
32
|
+
export type StepsBlockContent = UniBlockContent &
|
|
33
|
+
HeadlineCommonProps &
|
|
34
|
+
ButtonCommonIconProps & {
|
|
35
|
+
/** @title Линии */
|
|
36
|
+
showLines?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @title Шаги
|
|
39
|
+
* @minItems 2
|
|
40
|
+
* @maxItems 5
|
|
41
|
+
*/
|
|
42
|
+
steps?: Step[];
|
|
43
|
+
stepVersion?: BlockVersion;
|
|
44
|
+
/** @title Размер шагов */
|
|
45
|
+
size?: SizeVersion; // TODO: mobile content
|
|
46
|
+
};
|
|
@@ -46,9 +46,6 @@ export type TabsContent = UniBlockContent & {
|
|
|
46
46
|
isSticky?: boolean;
|
|
47
47
|
/** @title Показывать счетчик блоков во вкладках */
|
|
48
48
|
showCounter?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* @title Режим вкладок
|
|
51
|
-
* @default "wideScreen"
|
|
52
|
-
*/
|
|
49
|
+
/** @title Режим вкладок */
|
|
53
50
|
tabsMode?: TabsMode;
|
|
54
51
|
};
|
|
@@ -2,8 +2,9 @@ import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
|
2
2
|
import type { DescriptionProps, LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
4
|
import type { ListOrientation } from '../../model/ListOrientation';
|
|
5
|
-
import type {
|
|
5
|
+
import type { IconProps } from '../../model/Picture';
|
|
6
6
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
7
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
7
8
|
import type { TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
8
9
|
import type { ListProps } from '../../ui-kit/List/ListProps';
|
|
9
10
|
|
|
@@ -42,19 +43,14 @@ export type Data = {
|
|
|
42
43
|
/**
|
|
43
44
|
* @title Параметр
|
|
44
45
|
*/
|
|
45
|
-
export type TariffsTableRowHeader = TitleProps & {
|
|
46
|
-
/** @default { "format": "webp", "size": { "width": 24, "height": 24 } } */
|
|
47
|
-
icon?: Picture;
|
|
48
|
-
};
|
|
46
|
+
export type TariffsTableRowHeader = TitleProps & IconProps & {};
|
|
49
47
|
|
|
50
48
|
/**
|
|
51
49
|
* @title Изображение
|
|
52
50
|
*/
|
|
53
|
-
export type ImageCellDef = {
|
|
51
|
+
export type ImageCellDef = ImageContent & {
|
|
54
52
|
/** @default Img */
|
|
55
53
|
tableCellType: 'Img';
|
|
56
|
-
/** @default { "format": "webp", "size": { "width": 24, "height": 24 } } */
|
|
57
|
-
image?: Picture;
|
|
58
54
|
};
|
|
59
55
|
|
|
60
56
|
/**
|
|
@@ -80,7 +76,6 @@ export type LabelDescriptionCellDef = LabelDescriptionCell & {
|
|
|
80
76
|
|
|
81
77
|
/**
|
|
82
78
|
* @title Список
|
|
83
|
-
* @default { "listItemSize": "M", "isDotted": true }
|
|
84
79
|
*/
|
|
85
80
|
export type ListBlockDef = ListProps & {
|
|
86
81
|
/** @default List */
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import type { BulletsProps } from '../../model/Bullets';
|
|
1
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
3
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
4
|
+
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
3
5
|
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
4
6
|
|
|
5
7
|
/**
|
|
@@ -19,11 +21,9 @@ type TextBlockIconVersion = 'none' | 'small' | 'big';
|
|
|
19
21
|
*/
|
|
20
22
|
export type TextBlockContent = HeadlineCommonProps &
|
|
21
23
|
RichTextProps &
|
|
22
|
-
ImageContent &
|
|
24
|
+
ImageContent &
|
|
25
|
+
ListContent &
|
|
26
|
+
BulletsProps & {
|
|
23
27
|
iconVersion?: TextBlockIconVersion;
|
|
24
28
|
blockVersion?: TextBlockVersion;
|
|
25
|
-
/** @title Буллиты */ // TODO: mobile prop
|
|
26
|
-
isDotted?: boolean;
|
|
27
|
-
/** @title Список (моб.) */ // TODO: mobile prop
|
|
28
|
-
items?: string[];
|
|
29
29
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { BulletsProps } from '../../model/Bullets';
|
|
1
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
|
-
import type { Picture } from '../../model/Picture';
|
|
3
3
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
5
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
6
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
6
7
|
import type { ListItemSize } from '../../ui-kit/List/ListProps';
|
|
7
8
|
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
@@ -15,26 +16,8 @@ export type TileContent = UniBlockContent &
|
|
|
15
16
|
RichTextProps &
|
|
16
17
|
ListContent &
|
|
17
18
|
ButtonContent &
|
|
18
|
-
TagsContent &
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* "format": "webp",
|
|
22
|
-
* "size": {
|
|
23
|
-
* "width": 320
|
|
24
|
-
* },
|
|
25
|
-
* "sources": [{
|
|
26
|
-
* "media": 1279,
|
|
27
|
-
* "width": 192,
|
|
28
|
-
* "format": "webp",
|
|
29
|
-
* "alignment": "southeast"
|
|
30
|
-
* }]
|
|
31
|
-
* }
|
|
32
|
-
*/
|
|
33
|
-
image?: Picture;
|
|
34
|
-
/**
|
|
35
|
-
* @title Буллиты
|
|
36
|
-
* @default true
|
|
37
|
-
*/
|
|
38
|
-
isDotted?: boolean;
|
|
19
|
+
TagsContent &
|
|
20
|
+
ImageContent &
|
|
21
|
+
BulletsProps & {
|
|
39
22
|
listItemSize?: ListItemSize;
|
|
40
23
|
};
|
|
@@ -24,6 +24,7 @@ export const VerticalLayout: JSXBlock<VerticalLayoutProps> = JSX<VerticalLayoutP
|
|
|
24
24
|
isPadding = false,
|
|
25
25
|
isInnerPadding = true,
|
|
26
26
|
version = 'transparent',
|
|
27
|
+
isTheme = false,
|
|
27
28
|
options,
|
|
28
29
|
...rest
|
|
29
30
|
}) => {
|
|
@@ -39,6 +40,7 @@ export const VerticalLayout: JSXBlock<VerticalLayoutProps> = JSX<VerticalLayoutP
|
|
|
39
40
|
className,
|
|
40
41
|
)}
|
|
41
42
|
version={version}
|
|
43
|
+
isTheme={isTheme}
|
|
42
44
|
{...rest}
|
|
43
45
|
>
|
|
44
46
|
{renderChildren({ ...rest, options: { ...options, className: innerPaddingStyle } })}
|
|
@@ -47,4 +49,6 @@ export const VerticalLayout: JSXBlock<VerticalLayoutProps> = JSX<VerticalLayoutP
|
|
|
47
49
|
},
|
|
48
50
|
);
|
|
49
51
|
|
|
50
|
-
VerticalLayout.childrenTypes =
|
|
52
|
+
VerticalLayout.childrenTypes = {
|
|
53
|
+
exclude: ['Accordion', 'OtherProducts'],
|
|
54
|
+
};
|
|
@@ -2,26 +2,13 @@ import type { TitleProps } from '../../model/HeadlineType';
|
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
4
|
|
|
5
|
-
/**
|
|
6
|
-
* @title Блок Видео
|
|
7
|
-
* @default {
|
|
8
|
-
* "title": "Заголовок блока"
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
5
|
+
/** @title Блок Видео */
|
|
11
6
|
export type VideoContent = UniBlockContent &
|
|
12
7
|
TitleProps & {
|
|
13
8
|
/**
|
|
14
9
|
* @title Ссылка на видео
|
|
15
10
|
*/
|
|
16
11
|
url?: string;
|
|
17
|
-
/**
|
|
18
|
-
* @title Заставка в блоке
|
|
19
|
-
* @default {
|
|
20
|
-
* "format": "webp",
|
|
21
|
-
* "size": {
|
|
22
|
-
* "width": 1004
|
|
23
|
-
* },
|
|
24
|
-
* }
|
|
25
|
-
*/
|
|
12
|
+
/** @title Заставка в блоке */
|
|
26
13
|
previewImg?: Picture;
|
|
27
14
|
};
|
|
@@ -11,28 +11,18 @@ export interface CarouselControls {
|
|
|
11
11
|
interface CarouselControlsProps {
|
|
12
12
|
itemCount: number;
|
|
13
13
|
visibleItemCount?: number;
|
|
14
|
-
isCyclic?: boolean;
|
|
15
|
-
container?: HTMLDivElement | null;
|
|
16
14
|
}
|
|
17
15
|
|
|
18
16
|
export const useCarouselControls = (props: CarouselControlsProps): [number, CarouselControls] => {
|
|
19
|
-
const { itemCount, visibleItemCount
|
|
17
|
+
const { itemCount, visibleItemCount } = props;
|
|
20
18
|
|
|
21
19
|
const [activeIndex, setActiveIndex] = useState(0);
|
|
22
20
|
|
|
23
|
-
const inc = useCallback(
|
|
24
|
-
|
|
25
|
-
[isCyclic, itemCount],
|
|
26
|
-
);
|
|
27
|
-
const dec = useCallback(
|
|
28
|
-
() => setActiveIndex((_) => (isCyclic ? (itemCount + _ - 1) % itemCount : Math.max(_ - 1, 0))),
|
|
29
|
-
[isCyclic, itemCount],
|
|
30
|
-
);
|
|
21
|
+
const inc = useCallback(() => setActiveIndex((_) => Math.min(_ + 1, itemCount - 1)), [itemCount]);
|
|
22
|
+
const dec = useCallback(() => setActiveIndex((_) => Math.max(_ - 1, 0)), [itemCount]);
|
|
31
23
|
|
|
32
|
-
const canInc =
|
|
33
|
-
|
|
34
|
-
(isScrollable(activeIndex, props) && activeIndex < itemCount - (visibleItemCount || 1));
|
|
35
|
-
const canDec = isCyclic || activeIndex > 0;
|
|
24
|
+
const canInc = isScrollable(props) && activeIndex < itemCount - (visibleItemCount || 1);
|
|
25
|
+
const canDec = activeIndex > 0;
|
|
36
26
|
const isScrollAvailable = canDec || canInc;
|
|
37
27
|
|
|
38
28
|
return [
|
|
@@ -47,19 +37,6 @@ export const useCarouselControls = (props: CarouselControlsProps): [number, Caro
|
|
|
47
37
|
];
|
|
48
38
|
};
|
|
49
39
|
|
|
50
|
-
function isScrollable(
|
|
51
|
-
|
|
52
|
-
{ itemCount, visibleItemCount, container }: CarouselControlsProps,
|
|
53
|
-
): boolean {
|
|
54
|
-
if (visibleItemCount) {
|
|
55
|
-
return itemCount > visibleItemCount;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
if (container) {
|
|
59
|
-
const scrollLeft = (container.scrollWidth * activeIndex) / itemCount;
|
|
60
|
-
|
|
61
|
-
return scrollLeft + container.clientWidth < container.scrollWidth;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
return false;
|
|
40
|
+
function isScrollable({ itemCount, visibleItemCount }: CarouselControlsProps): boolean {
|
|
41
|
+
return Boolean(visibleItemCount && itemCount > visibleItemCount);
|
|
65
42
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
|
|
2
|
-
import type { Fallback } from '
|
|
3
|
-
import { fetchJSONUnsafe } from '
|
|
2
|
+
import type { Fallback } from '../model/Fallback';
|
|
3
|
+
import { fetchJSONUnsafe } from '../utils/fetchJSON';
|
|
4
4
|
|
|
5
5
|
export function useSWRResource<Data>(filename: string, fallback: Fallback = {}): Data {
|
|
6
6
|
const { data } = useAsyncData<Data>(`/wcms-resources/${filename}.json`, fetchJSONUnsafe, {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ButtonProps, ButtonWithIconProps } from '../ui-kit/Button/ButtonProps';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @title Блок Кнопка
|
|
5
|
+
*/
|
|
6
|
+
export interface ButtonCommonProps {
|
|
7
|
+
/** @title Кнопка */
|
|
8
|
+
button?: ButtonProps;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @title Блок Кнопка
|
|
12
|
+
*/
|
|
13
|
+
export interface ButtonCommonIconProps {
|
|
14
|
+
/** @title Кнопка */
|
|
15
|
+
button?: ButtonWithIconProps;
|
|
16
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IconName } from '../icons/IconName';
|
|
2
2
|
import type { IconVersion } from './IconVersion';
|
|
3
|
-
import { ImageSize } from './ImageSize';
|
|
3
|
+
import type { ImageSize } from './ImageSize';
|
|
4
4
|
|
|
5
5
|
export type ImgFormats = 'jpeg' | 'jpg' | 'png' | 'gif' | 'webp' | 'heif' | 'avif';
|
|
6
6
|
|
|
@@ -17,7 +17,6 @@ export type ImgFormats = 'jpeg' | 'jpg' | 'png' | 'gif' | 'webp' | 'heif' | 'avi
|
|
|
17
17
|
* "Снизу по центру",
|
|
18
18
|
* "Снизу справа"
|
|
19
19
|
* ]
|
|
20
|
-
* @default "center"
|
|
21
20
|
*/
|
|
22
21
|
export type ImgAlignment =
|
|
23
22
|
| 'northwest'
|
|
@@ -33,15 +32,9 @@ export type ImgAlignment =
|
|
|
33
32
|
export interface Img {
|
|
34
33
|
/** @title Картинка */
|
|
35
34
|
src?: string;
|
|
36
|
-
/**
|
|
37
|
-
* @title Альтернативный текст (alt)
|
|
38
|
-
* @default ""
|
|
39
|
-
*/
|
|
35
|
+
/** @title Альтернативный текст (alt) */
|
|
40
36
|
alt?: string;
|
|
41
|
-
/**
|
|
42
|
-
* @title Текст подсказки (title)
|
|
43
|
-
* @default ""
|
|
44
|
-
*/
|
|
37
|
+
/** @title Текст подсказки (title) */
|
|
45
38
|
title?: string;
|
|
46
39
|
}
|
|
47
40
|
|
|
@@ -26,7 +26,7 @@ export interface DispositionItem extends LinkProps {
|
|
|
26
26
|
*/
|
|
27
27
|
export type ForeignOffice = LinkProps & IconProps;
|
|
28
28
|
|
|
29
|
-
export interface
|
|
29
|
+
export interface SitemapData {
|
|
30
30
|
topItems?: TopMenuItem[];
|
|
31
31
|
dispositions?: DispositionItem[];
|
|
32
32
|
logo?: LogoType;
|