@redneckz/wildless-cms-uni-blocks 0.8.27 → 0.8.29
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.24.js +24 -0
- package/bin/migration-scripts/0.8.29.js +41 -0
- package/bundle/EventBus/defaultEventBus.d.ts +1 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +305 -109
- 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/GracePeriod/GracePeriodContent.d.ts +3 -14
- package/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
- 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 +6 -11
- package/bundle/components/TextBlock/TextBlockContent.d.ts +4 -9
- package/bundle/components/Tile/TileContent.d.ts +3 -22
- package/bundle/components/Video/VideoContent.d.ts +2 -15
- package/bundle/{services/sitemap → hooks}/fallbackWCMSResource.d.ts +1 -1
- package/bundle/hooks/useCarouselControls.d.ts +0 -2
- package/bundle/hooks/useLink.d.ts +1 -1
- package/bundle/{services/sitemap → 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/bundle/services/search/jaroWinklerDistance.d.ts +1 -0
- package/bundle/services/search/joinMaps.d.ts +1 -0
- package/bundle/services/search/search.d.ts +12 -0
- package/bundle/services/search/textRank.d.ts +1 -0
- package/bundle/services/search/tokenize.d.ts +1 -0
- package/bundle/services/search/useSearch.d.ts +8 -0
- package/{lib/services/sitemap/SitemapProps.d.ts → bundle/services/sitemap/SitemapData.d.ts} +1 -1
- package/bundle/ui-kit/BlockWrapper.d.ts +1 -0
- package/bundle/ui-kit/Button/ButtonProps.d.ts +6 -7
- package/bundle/ui-kit/Dialog/CloseButton.d.ts +7 -0
- package/bundle/ui-kit/Dialog/Dialog.d.ts +7 -0
- 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/{model → ui-kit}/PreventableEvent.d.ts +0 -0
- package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
- package/bundle/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
- package/bundle/{components/Footer → ui-kit/Sitemap}/Sitemap.d.ts +2 -2
- package/bundle/ui-kit/TopItem/TopItem.d.ts +1 -1
- 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/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
- package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/dist/components/BaseTile/BaseTileProps.d.ts +2 -2
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
- package/dist/components/Blocks.js +0 -2
- package/dist/components/Blocks.js.map +1 -1
- 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.fallback.js +1 -1
- package/dist/components/Footer/Footer.fallback.js.map +1 -1
- package/dist/components/Footer/Footer.js +4 -3
- 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/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.fallback.js +1 -1
- package/dist/components/Header/Header.fallback.js.map +1 -1
- 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 +3 -1
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
- package/dist/components/Header/HeaderSecondaryMenuButton.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 +6 -11
- package/dist/components/TextBlock/TextBlockContent.d.ts +4 -9
- 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/{services/sitemap → hooks}/fallbackWCMSResource.d.ts +1 -1
- package/dist/{services/sitemap → hooks}/fallbackWCMSResource.js +0 -0
- package/dist/hooks/fallbackWCMSResource.js.map +1 -0
- package/dist/hooks/useCarouselControls.d.ts +0 -2
- package/dist/hooks/useCarouselControls.js +7 -15
- package/dist/hooks/useCarouselControls.js.map +1 -1
- package/dist/hooks/useLink.d.ts +1 -1
- package/dist/{services/sitemap → 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/{mobile/dist/model/SitemapProps.js → dist/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/dist/services/search/jaroWinklerDistance.d.ts +1 -0
- package/dist/services/search/jaroWinklerDistance.js +67 -0
- package/dist/services/search/jaroWinklerDistance.js.map +1 -0
- package/dist/services/search/joinMaps.d.ts +1 -0
- package/dist/services/search/joinMaps.js +10 -0
- package/dist/services/search/joinMaps.js.map +1 -0
- package/dist/services/search/search.d.ts +12 -0
- package/dist/services/search/search.js +39 -0
- package/dist/services/search/search.js.map +1 -0
- package/dist/services/search/textRank.d.ts +1 -0
- package/dist/services/search/textRank.js +14 -0
- package/dist/services/search/textRank.js.map +1 -0
- package/dist/services/search/tokenize.d.ts +1 -0
- package/dist/services/search/tokenize.js +9 -0
- package/dist/services/search/tokenize.js.map +1 -0
- package/dist/services/search/useSearch.d.ts +8 -0
- package/dist/services/search/useSearch.js +33 -0
- package/dist/services/search/useSearch.js.map +1 -0
- package/{bundle/services/sitemap/SitemapProps.d.ts → dist/services/sitemap/SitemapData.d.ts} +1 -1
- package/dist/{model/SitemapProps.js → services/sitemap/SitemapData.js} +1 -1
- package/dist/services/sitemap/SitemapData.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 +6 -7
- package/dist/ui-kit/Dialog/CloseButton.d.ts +7 -0
- package/dist/ui-kit/Dialog/CloseButton.js +8 -0
- package/dist/ui-kit/Dialog/CloseButton.js.map +1 -0
- package/dist/ui-kit/Dialog/Dialog.d.ts +7 -0
- package/dist/ui-kit/Dialog/Dialog.js +26 -0
- package/dist/ui-kit/Dialog/Dialog.js.map +1 -0
- 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 +11 -15
- 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/{model → ui-kit}/PreventableEvent.d.ts +0 -0
- package/dist/{model → ui-kit}/PreventableEvent.js +0 -0
- package/dist/ui-kit/PreventableEvent.js.map +1 -0
- package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
- package/dist/ui-kit/SearchBar/SearchBarInner.js +46 -16
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
- package/dist/ui-kit/SearchBar/SearchBarInput.js +14 -0
- package/dist/ui-kit/SearchBar/SearchBarInput.js.map +1 -0
- package/{lib/components/Footer → dist/ui-kit/Sitemap}/Sitemap.d.ts +2 -2
- package/dist/ui-kit/Sitemap/Sitemap.js +23 -0
- package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -0
- package/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/dist/ui-kit/TopItem/TopItem.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/groupBy.js +6 -6
- package/dist/utils/groupBy.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/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
- package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/lib/components/BaseTile/BaseTileProps.d.ts +2 -2
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -8
- package/lib/components/Blocks.js +0 -2
- package/lib/components/Blocks.js.map +1 -1
- 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.fallback.js +1 -1
- package/lib/components/Footer/Footer.fallback.js.map +1 -1
- package/lib/components/Footer/Footer.js +4 -3
- 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/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.fallback.js +1 -1
- package/lib/components/Header/Header.fallback.js.map +1 -1
- 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 +3 -1
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
- package/lib/components/Header/HeaderSecondaryMenuButton.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 +6 -11
- package/lib/components/TextBlock/TextBlockContent.d.ts +4 -9
- 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/{services/sitemap → hooks}/fallbackWCMSResource.d.ts +1 -1
- package/lib/{services/sitemap → hooks}/fallbackWCMSResource.js +0 -0
- package/lib/hooks/fallbackWCMSResource.js.map +1 -0
- package/lib/hooks/useCarouselControls.d.ts +0 -2
- package/lib/hooks/useCarouselControls.js +7 -15
- package/lib/hooks/useCarouselControls.js.map +1 -1
- package/lib/hooks/useLink.d.ts +1 -1
- package/lib/{services/sitemap → 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/lib/services/search/jaroWinklerDistance.d.ts +1 -0
- package/lib/services/search/jaroWinklerDistance.js +64 -0
- package/lib/services/search/jaroWinklerDistance.js.map +1 -0
- package/lib/services/search/joinMaps.d.ts +1 -0
- package/lib/services/search/joinMaps.js +7 -0
- package/lib/services/search/joinMaps.js.map +1 -0
- package/lib/services/search/search.d.ts +12 -0
- package/lib/services/search/search.js +36 -0
- package/lib/services/search/search.js.map +1 -0
- package/lib/services/search/textRank.d.ts +1 -0
- package/lib/services/search/textRank.js +11 -0
- package/lib/services/search/textRank.js.map +1 -0
- package/lib/services/search/tokenize.d.ts +1 -0
- package/lib/services/search/tokenize.js +6 -0
- package/lib/services/search/tokenize.js.map +1 -0
- package/lib/services/search/useSearch.d.ts +8 -0
- package/lib/services/search/useSearch.js +30 -0
- package/lib/services/search/useSearch.js.map +1 -0
- 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/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 +6 -7
- package/lib/ui-kit/Dialog/CloseButton.d.ts +7 -0
- package/lib/ui-kit/Dialog/CloseButton.js +6 -0
- package/lib/ui-kit/Dialog/CloseButton.js.map +1 -0
- package/lib/ui-kit/Dialog/Dialog.d.ts +7 -0
- package/lib/ui-kit/Dialog/Dialog.js +24 -0
- package/lib/ui-kit/Dialog/Dialog.js.map +1 -0
- 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 +12 -16
- 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/{model → ui-kit}/PreventableEvent.d.ts +0 -0
- package/lib/{model → ui-kit}/PreventableEvent.js +0 -0
- package/lib/ui-kit/PreventableEvent.js.map +1 -0
- package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
- package/lib/ui-kit/SearchBar/SearchBarInner.js +46 -16
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/lib/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
- package/lib/ui-kit/SearchBar/SearchBarInput.js +12 -0
- package/lib/ui-kit/SearchBar/SearchBarInput.js.map +1 -0
- package/{mobile/bundle/components/Footer → lib/ui-kit/Sitemap}/Sitemap.d.ts +2 -2
- package/lib/ui-kit/Sitemap/Sitemap.js +21 -0
- package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -0
- package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/lib/ui-kit/TopItem/TopItem.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/groupBy.js +6 -6
- package/lib/utils/groupBy.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 +266 -30
- 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/GracePeriod/GracePeriodContent.d.ts +3 -14
- package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +1 -1
- package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
- 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 +6 -11
- package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +4 -9
- package/mobile/bundle/components/Tile/TileContent.d.ts +3 -22
- package/mobile/bundle/components/Video/VideoContent.d.ts +2 -15
- package/mobile/bundle/{services/sitemap → hooks}/fallbackWCMSResource.d.ts +1 -1
- package/mobile/bundle/hooks/useCarouselControls.d.ts +0 -2
- package/mobile/bundle/hooks/useLink.d.ts +1 -1
- 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/mobile/bundle/services/search/jaroWinklerDistance.d.ts +1 -0
- package/mobile/bundle/services/search/joinMaps.d.ts +1 -0
- package/mobile/bundle/services/search/search.d.ts +12 -0
- package/mobile/bundle/services/search/textRank.d.ts +1 -0
- package/mobile/bundle/services/search/tokenize.d.ts +1 -0
- package/mobile/bundle/services/search/useSearch.d.ts +8 -0
- package/{dist/services/sitemap/SitemapProps.d.ts → mobile/bundle/services/sitemap/SitemapData.d.ts} +1 -1
- package/mobile/bundle/ui-kit/BlockWrapper.d.ts +1 -0
- package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +6 -7
- package/mobile/bundle/ui-kit/Dialog/CloseButton.d.ts +7 -0
- package/mobile/bundle/ui-kit/Dialog/Dialog.d.ts +7 -0
- 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/{model → ui-kit}/PreventableEvent.d.ts +0 -0
- package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
- package/mobile/bundle/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
- package/{dist/components/Footer → mobile/bundle/ui-kit/Sitemap}/Sitemap.d.ts +2 -2
- package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +1 -1
- 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/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- 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.fallback.js +1 -1
- package/mobile/dist/components/Footer/Footer.fallback.js.map +1 -1
- 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/GracePeriod/GracePeriodContent.d.ts +3 -14
- package/mobile/dist/components/Header/Header.fallback.js +1 -1
- package/mobile/dist/components/Header/Header.fallback.js.map +1 -1
- 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 +3 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.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 +6 -11
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +4 -9
- 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/fallbackWCMSResource.d.ts +2 -0
- package/mobile/dist/{services/sitemap → hooks}/fallbackWCMSResource.js +0 -0
- package/mobile/dist/hooks/fallbackWCMSResource.js.map +1 -0
- 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/useLink.d.ts +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/{dist/services/sitemap/SitemapProps.js → mobile/dist/model/Bullets.js} +1 -1
- 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/search/jaroWinklerDistance.d.ts +1 -0
- package/mobile/dist/services/search/jaroWinklerDistance.js +67 -0
- package/mobile/dist/services/search/jaroWinklerDistance.js.map +1 -0
- package/mobile/dist/services/search/joinMaps.d.ts +1 -0
- package/mobile/dist/services/search/joinMaps.js +10 -0
- package/mobile/dist/services/search/joinMaps.js.map +1 -0
- package/mobile/dist/services/search/search.d.ts +12 -0
- package/mobile/dist/services/search/search.js +39 -0
- package/mobile/dist/services/search/search.js.map +1 -0
- package/mobile/dist/services/search/textRank.d.ts +1 -0
- package/mobile/dist/services/search/textRank.js +14 -0
- package/mobile/dist/services/search/textRank.js.map +1 -0
- package/mobile/dist/services/search/tokenize.d.ts +1 -0
- package/mobile/dist/services/search/tokenize.js +9 -0
- package/mobile/dist/services/search/tokenize.js.map +1 -0
- package/mobile/dist/services/search/useSearch.d.ts +8 -0
- package/mobile/dist/services/search/useSearch.js +33 -0
- package/mobile/dist/services/search/useSearch.js.map +1 -0
- 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/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 +6 -7
- package/mobile/dist/ui-kit/Dialog/CloseButton.d.ts +7 -0
- package/mobile/dist/ui-kit/Dialog/CloseButton.js +8 -0
- package/mobile/dist/ui-kit/Dialog/CloseButton.js.map +1 -0
- package/mobile/dist/ui-kit/Dialog/Dialog.d.ts +7 -0
- package/mobile/dist/ui-kit/Dialog/Dialog.js +26 -0
- package/mobile/dist/ui-kit/Dialog/Dialog.js.map +1 -0
- 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 +11 -15
- 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/{model → ui-kit}/PreventableEvent.d.ts +0 -0
- package/mobile/dist/{model → ui-kit}/PreventableEvent.js +0 -0
- package/mobile/dist/ui-kit/PreventableEvent.js.map +1 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +46 -16
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBarInput.js +14 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBarInput.js.map +1 -0
- package/mobile/dist/ui-kit/Sitemap/Sitemap.d.ts +6 -0
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js +23 -0
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -0
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.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/groupBy.js +6 -6
- package/mobile/dist/utils/groupBy.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/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -5
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- 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.fallback.js +1 -1
- package/mobile/lib/components/Footer/Footer.fallback.js.map +1 -1
- 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/GracePeriod/GracePeriodContent.d.ts +3 -14
- package/mobile/lib/components/Header/Header.fallback.js +1 -1
- package/mobile/lib/components/Header/Header.fallback.js.map +1 -1
- 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 +3 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +2 -3
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.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 +6 -11
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +4 -9
- 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/fallbackWCMSResource.d.ts +2 -0
- package/mobile/lib/{services/sitemap → hooks}/fallbackWCMSResource.js +0 -0
- package/mobile/lib/hooks/fallbackWCMSResource.js.map +1 -0
- 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/useLink.d.ts +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/search/jaroWinklerDistance.d.ts +1 -0
- package/mobile/lib/services/search/jaroWinklerDistance.js +64 -0
- package/mobile/lib/services/search/jaroWinklerDistance.js.map +1 -0
- package/mobile/lib/services/search/joinMaps.d.ts +1 -0
- package/mobile/lib/services/search/joinMaps.js +7 -0
- package/mobile/lib/services/search/joinMaps.js.map +1 -0
- package/mobile/lib/services/search/search.d.ts +12 -0
- package/mobile/lib/services/search/search.js +36 -0
- package/mobile/lib/services/search/search.js.map +1 -0
- package/mobile/lib/services/search/textRank.d.ts +1 -0
- package/mobile/lib/services/search/textRank.js +11 -0
- package/mobile/lib/services/search/textRank.js.map +1 -0
- package/mobile/lib/services/search/tokenize.d.ts +1 -0
- package/mobile/lib/services/search/tokenize.js +6 -0
- package/mobile/lib/services/search/tokenize.js.map +1 -0
- package/mobile/lib/services/search/useSearch.d.ts +8 -0
- package/mobile/lib/services/search/useSearch.js +30 -0
- package/mobile/lib/services/search/useSearch.js.map +1 -0
- 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/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 +6 -7
- package/mobile/lib/ui-kit/Dialog/CloseButton.d.ts +7 -0
- package/mobile/lib/ui-kit/Dialog/CloseButton.js +6 -0
- package/mobile/lib/ui-kit/Dialog/CloseButton.js.map +1 -0
- package/mobile/lib/ui-kit/Dialog/Dialog.d.ts +7 -0
- package/mobile/lib/ui-kit/Dialog/Dialog.js +24 -0
- package/mobile/lib/ui-kit/Dialog/Dialog.js.map +1 -0
- 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 +12 -16
- 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/{model → ui-kit}/PreventableEvent.d.ts +0 -0
- package/mobile/lib/{model → ui-kit}/PreventableEvent.js +0 -0
- package/mobile/lib/ui-kit/PreventableEvent.js.map +1 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +2 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +46 -16
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInput.d.ts +9 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBarInput.js +12 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBarInput.js.map +1 -0
- package/mobile/lib/ui-kit/Sitemap/Sitemap.d.ts +6 -0
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js +21 -0
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -0
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.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/groupBy.js +6 -6
- package/mobile/lib/utils/groupBy.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/ApplicationFormAcquiring.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +1 -5
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +1 -1
- 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.fallback.ts +1 -1
- 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/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.fallback.ts +1 -1
- package/mobile/src/components/Header/Header.tsx +3 -3
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +6 -3
- package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +2 -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 +7 -11
- package/mobile/src/components/TextBlock/TextBlockContent.ts +8 -13
- 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/{services/sitemap → hooks}/fallbackWCMSResource.ts +1 -1
- package/mobile/src/hooks/useCarouselControls.ts +7 -30
- package/mobile/src/hooks/useLink.ts +1 -1
- package/{src/services/sitemap → mobile/src/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/search/jaroWinklerDistance.ts +98 -0
- package/mobile/src/services/search/joinMaps.ts +9 -0
- package/mobile/src/services/search/search.ts +73 -0
- package/mobile/src/services/search/textRank.ts +14 -0
- package/mobile/src/services/search/tokenize.ts +7 -0
- package/mobile/src/services/search/useSearch.ts +56 -0
- package/mobile/src/services/sitemap/{SitemapProps.ts → SitemapData.ts} +1 -1
- package/mobile/src/ui-kit/BlockWrapper.tsx +8 -3
- package/mobile/src/ui-kit/Button/ButtonProps.ts +6 -5
- package/mobile/src/ui-kit/Dialog/CloseButton.tsx +22 -0
- package/mobile/src/ui-kit/Dialog/Dialog.tsx +54 -0
- 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 +45 -70
- package/mobile/src/ui-kit/Location/LocationProps.ts +25 -0
- package/mobile/src/ui-kit/Location/SearchBar.tsx +1 -1
- package/mobile/src/{model → ui-kit}/PreventableEvent.ts +0 -0
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +91 -51
- package/mobile/src/ui-kit/SearchBar/SearchBarInput.tsx +46 -0
- package/mobile/src/{components/Footer → ui-kit/Sitemap}/Sitemap.tsx +12 -11
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +1 -1
- package/mobile/src/utils/Comparator.ts +14 -0
- package/mobile/src/utils/fetchJSON.ts +1 -1
- package/mobile/src/utils/groupBy.ts +8 -7
- 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 +2 -2
- package/src/EventBus/defaultEventBus.ts +1 -0
- package/src/components/ApplicationForm/ApplicationForm.example.json +8 -0
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormContent.ts +1 -5
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +1 -1
- 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/Blocks.ts +0 -2
- 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.fallback.ts +1 -1
- package/src/components/Footer/Footer.mobile.tsx +3 -3
- package/src/components/Footer/Footer.tsx +6 -4
- package/src/components/Footer/FooterDataProps.ts +2 -2
- package/src/components/Footer/MediaButton.tsx +13 -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.fallback.ts +1 -1
- package/src/components/Header/Header.mobile.tsx +3 -3
- package/src/components/Header/Header.tsx +3 -3
- package/src/components/Header/HeaderSecondaryMenu.tsx +6 -3
- package/src/components/Header/HeaderSecondaryMenuButton.tsx +2 -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 +7 -11
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +11 -20
- package/src/components/TextBlock/TextBlockContent.ts +8 -13
- 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/{services/sitemap → hooks}/fallbackWCMSResource.ts +1 -1
- package/src/hooks/useCarouselControls.ts +7 -30
- package/src/hooks/useLink.ts +1 -1
- package/{mobile/src/services/sitemap → src/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/search/jaroWinklerDistance.ts +98 -0
- package/src/services/search/joinMaps.ts +9 -0
- package/src/services/search/search.ts +73 -0
- package/src/services/search/textRank.ts +14 -0
- package/src/services/search/tokenize.ts +7 -0
- package/src/services/search/useSearch.ts +56 -0
- package/src/services/sitemap/{SitemapProps.ts → SitemapData.ts} +1 -1
- package/src/ui-kit/BlockWrapper.tsx +8 -3
- package/src/ui-kit/Button/ButtonProps.ts +6 -5
- package/src/ui-kit/Dialog/CloseButton.tsx +22 -0
- package/src/ui-kit/Dialog/Dialog.tsx +54 -0
- 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 +2 -2
- package/src/ui-kit/Location/Location.tsx +45 -70
- package/src/ui-kit/Location/LocationProps.ts +25 -0
- package/src/ui-kit/Location/SearchBar.tsx +1 -1
- package/src/{model → ui-kit}/PreventableEvent.ts +0 -0
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +91 -51
- package/src/ui-kit/SearchBar/SearchBarInput.tsx +46 -0
- package/src/{components/Footer → ui-kit/Sitemap}/Sitemap.tsx +12 -11
- package/src/ui-kit/TopItem/TopItem.tsx +1 -1
- package/src/utils/Comparator.ts +14 -0
- package/src/utils/fetchJSON.ts +1 -1
- package/src/utils/groupBy.ts +8 -7
- 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/components/OtherProducts/OtherProducts.d.ts +0 -5
- package/bundle/components/OtherProducts/OtherProductsContent.d.ts +0 -8
- package/bundle/hooks/useSearch.d.ts +0 -4
- package/bundle/model/SitemapProps.d.ts +0 -24
- package/dist/components/Footer/Sitemap.js +0 -24
- package/dist/components/Footer/Sitemap.js.map +0 -1
- package/dist/components/OtherProducts/OtherProducts.d.ts +0 -5
- package/dist/components/OtherProducts/OtherProducts.js +0 -9
- package/dist/components/OtherProducts/OtherProducts.js.map +0 -1
- package/dist/components/OtherProducts/OtherProductsContent.d.ts +0 -8
- package/dist/components/OtherProducts/OtherProductsContent.js +0 -2
- package/dist/components/OtherProducts/OtherProductsContent.js.map +0 -1
- 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/model/PreventableEvent.js.map +0 -1
- package/dist/model/SitemapProps.d.ts +0 -24
- package/dist/model/SitemapProps.js.map +0 -1
- package/dist/services/sitemap/SitemapProps.js.map +0 -1
- package/dist/services/sitemap/fallbackWCMSResource.js.map +0 -1
- package/dist/services/sitemap/useSWRResource.js.map +0 -1
- package/lib/components/Footer/Sitemap.js +0 -22
- package/lib/components/Footer/Sitemap.js.map +0 -1
- package/lib/components/OtherProducts/OtherProducts.d.ts +0 -5
- package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +0 -8
- package/lib/components/OtherProducts/OtherProducts.js +0 -7
- package/lib/components/OtherProducts/OtherProducts.js.map +0 -1
- package/lib/components/OtherProducts/OtherProductsContent.d.ts +0 -8
- package/lib/components/OtherProducts/OtherProductsContent.js +0 -2
- package/lib/components/OtherProducts/OtherProductsContent.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/model/PreventableEvent.js.map +0 -1
- package/lib/model/SitemapProps.d.ts +0 -24
- package/lib/model/SitemapProps.js +0 -2
- package/lib/model/SitemapProps.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/fallbackWCMSResource.js.map +0 -1
- package/lib/services/sitemap/useSWRResource.js.map +0 -1
- package/mobile/bundle/components/OtherProducts/OtherProducts.d.ts +0 -5
- package/mobile/bundle/components/OtherProducts/OtherProductsContent.d.ts +0 -8
- package/mobile/bundle/hooks/useSearch.d.ts +0 -4
- package/mobile/bundle/model/SitemapProps.d.ts +0 -24
- package/mobile/dist/components/Footer/Sitemap.d.ts +0 -6
- package/mobile/dist/components/Footer/Sitemap.js +0 -24
- package/mobile/dist/components/Footer/Sitemap.js.map +0 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +0 -5
- package/mobile/dist/components/OtherProducts/OtherProducts.js +0 -9
- package/mobile/dist/components/OtherProducts/OtherProducts.js.map +0 -1
- package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +0 -8
- package/mobile/dist/components/OtherProducts/OtherProductsContent.js +0 -2
- package/mobile/dist/components/OtherProducts/OtherProductsContent.js.map +0 -1
- 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/model/PreventableEvent.js.map +0 -1
- package/mobile/dist/model/SitemapProps.d.ts +0 -24
- package/mobile/dist/model/SitemapProps.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/fallbackWCMSResource.d.ts +0 -2
- package/mobile/dist/services/sitemap/fallbackWCMSResource.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/components/Footer/Sitemap.d.ts +0 -6
- package/mobile/lib/components/Footer/Sitemap.js +0 -22
- package/mobile/lib/components/Footer/Sitemap.js.map +0 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +0 -5
- package/mobile/lib/components/OtherProducts/OtherProducts.js +0 -7
- package/mobile/lib/components/OtherProducts/OtherProducts.js.map +0 -1
- package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +0 -8
- package/mobile/lib/components/OtherProducts/OtherProductsContent.js +0 -2
- package/mobile/lib/components/OtherProducts/OtherProductsContent.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/model/PreventableEvent.js.map +0 -1
- package/mobile/lib/model/SitemapProps.d.ts +0 -24
- package/mobile/lib/model/SitemapProps.js +0 -2
- package/mobile/lib/model/SitemapProps.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/fallbackWCMSResource.d.ts +0 -2
- package/mobile/lib/services/sitemap/fallbackWCMSResource.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/components/OtherProducts/OtherProducts.example.json +0 -30
- package/mobile/src/components/OtherProducts/OtherProducts.tsx +0 -17
- package/mobile/src/components/OtherProducts/OtherProducts.ui.json +0 -1
- package/mobile/src/components/OtherProducts/OtherProductsContent.ts +0 -9
- package/mobile/src/hooks/useSearch.ts +0 -10
- package/mobile/src/model/SitemapProps.ts +0 -27
- package/src/components/OtherProducts/OtherProducts.example.json +0 -30
- package/src/components/OtherProducts/OtherProducts.fixture.tsx +0 -88
- package/src/components/OtherProducts/OtherProducts.tsx +0 -17
- package/src/components/OtherProducts/OtherProducts.ui.json +0 -1
- package/src/components/OtherProducts/OtherProductsContent.ts +0 -9
- package/src/hooks/useSearch.ts +0 -10
- package/src/model/SitemapProps.ts +0 -27
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"SearchBarInner.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAqB,MAAM,iCAAiC,CAAC;AAE/E,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQlD,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAAsB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC3F,MAAM,YAAY,GAAG,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,CAAC;IACzD,MAAM,CAAC,YAAY,EAAE,gBAAgB,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,CAAC;IAEjE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,gBAAgB,CAAC;IAEtD,MAAM,WAAW,GAAG,OAAO,CACzB,GAAG,EAAE,CAAC,8BAA8B,CAAC,QAAQ,CAAC,CAAC,YAAY,CAAC,EAC5D,CAAC,QAAQ,EAAE,YAAY,CAAC,CACzB,CAAC;IAEF,SAAS,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,OAAO;IAEtE,MAAM,CAAC,kBAAkB,EAAE,EAAE,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAC,GAAG,OAAO,EAAE,CAAC;IAElG,MAAM,wBAAwB,GAAG,WAAW,CAC1C,CAAC,CAAS,EAAE,EAAE;QACZ,QAAQ,CAAC,CAAC,CAAC,CAAC;QACZ,IAAI,iBAAiB,CAAC,CAAC,CAAC,EAAE;YACxB,gBAAgB,EAAE,CAAC;SACpB;IACH,CAAC,EACD,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAC9B,CAAC;IACF,MAAM,uBAAuB,GAAG,WAAW,CAAC,GAAG,EAAE;QAC/C,OAAO,EAAE,CAAC;QACV,IAAI,iBAAiB,CAAC,KAAK,CAAC,EAAE;YAC5B,gBAAgB,EAAE,CAAC;SACpB;IACH,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;IAErB,OAAO,CACL,eAAK,SAAS,EAAE,SAAS,aACvB,KAAC,cAAc,IACb,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,wBAAwB,EAClC,OAAO,EAAE,uBAAuB,GAChC,EACD,QAAQ,CAAC,CAAC,CAAC,CACV,KAAC,WAAW,IACV,SAAS,EAAC,wBAAwB,EAClC,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;oBACb,CAAC,CAAC,cAAc,EAAE,CAAC;oBACnB,QAAQ,CAAC,EAAE,CAAC,CAAC;gBACf,CAAC,GACD,CACH,CAAC,CAAC,CAAC,IAAI,EACP,kBAAkB,CAAC,CAAC,CAAC,CACpB,KAAC,MAAM,IACL,IAAI,EACF,KAAC,cAAc,IACb,SAAS,EAAC,MAAM,EAChB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,IAAI,KACX,gBAAgB,GACpB,EAEJ,OAAO,EAAE,gBAAgB,YAEzB,KAAC,OAAO,IAAC,QAAQ,EAAE,WAAW,GAAI,GAC3B,CACV,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,IAAI,aAAa,CAAC;AAExE,MAAM,8BAA8B,GAClC,CAAC,QAAmC,EAAE,EAAE,CACxC,CAAC,YAA6C,EAAiB,EAAE,CAC/D,QAAQ,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM;IACtC,CAAC,CAAC,GAAG,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,kBAAkB,CAAC,EAAE,EAAE,CAAC,CAAC;QAC5D,GAAG,CAAC;QACJ,KAAK,EAAE,kBAAkB,EAAE,GAAG,CAC5B,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,EAAa,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAC5D;KACF,CAAC,CAAC;IACL,CAAC,CAAC,EAAE,CAAC;AAEX,OAAO;AACP,SAAS,gBAAgB,CAAC,QAAuB;IAC/C,KAAK,MAAM,CAAC,IAAI,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE;QAC7D,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QACtB,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;QACzC,OAAO,CAAC,QAAQ,EAAE,CAAC;KACpB;AACH,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface SearchBarInputProps {
|
|
2
|
+
className?: string;
|
|
3
|
+
isMobile?: boolean;
|
|
4
|
+
value?: string;
|
|
5
|
+
autoFocus?: boolean;
|
|
6
|
+
onChange?: (value: string) => void;
|
|
7
|
+
onFocus?: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const SearchBarInput: import("@redneckz/uni-jsx").UNIComponent<SearchBarInputProps, any, any>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
+
import { style } from '../../utils/style.js';
|
|
5
|
+
import { Img } from '../Img/Img.js';
|
|
6
|
+
export const SearchBarInput = JSX(({ className, isMobile, value, autoFocus, onChange, onFocus }) => {
|
|
7
|
+
const handleChange = useCallback((ev) => {
|
|
8
|
+
onChange && onChange(ev.target?.value || '');
|
|
9
|
+
}, [onChange]);
|
|
10
|
+
return (_jsxs("div", { className: style('font-sans relative', className), role: "form", children: [_jsx("div", { className: "absolute h-full flex items-center pl-4 pointer-events-none", children: _jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), _jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text', isMobile ? '' : 'h-full'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=SearchBarInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchBarInput.js","sourceRoot":"","sources":["../../../src/ui-kit/SearchBar/SearchBarInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAWjC,MAAM,CAAC,MAAM,cAAc,GAAG,GAAG,CAC/B,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IAC/D,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,EAAmC,EAAE,EAAE;QACtC,QAAQ,IAAI,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;IAC/C,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAE,KAAK,CAAC,oBAAoB,EAAE,SAAS,CAAC,EAAE,IAAI,EAAC,MAAM,aACjE,cAAK,SAAS,EAAC,4DAA4D,YACzE,KAAC,GAAG,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,GACxD,EACN,gBACE,SAAS,EAAE,KAAK,CACd,6DAA6D,EAC7D,4HAA4H,EAC5H,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CACzB,EACD,KAAK,EAAE,KAAK,EACZ,IAAI,EAAC,MAAM,EACX,IAAI,EAAC,kBAAkB,EACvB,WAAW,EAAC,4EAAgB,EAC5B,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,YAAY,EACtB,OAAO,EAAE,OAAO,GAChB,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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 { projectSettings } from '../../ProjectSettings.js';
|
|
5
|
+
import { style } from '../../utils/style.js';
|
|
6
|
+
import { joinPath } from '../../utils/url.js';
|
|
7
|
+
export const Sitemap = JSX(({ className, topItems }) => {
|
|
8
|
+
const link = useLink(true);
|
|
9
|
+
return (_jsx("div", { className: style('flex items-start justify-between', className), children: topItems?.map(link).map(renderColumn) }));
|
|
10
|
+
});
|
|
11
|
+
const renderColumn = (menuItem, index) => {
|
|
12
|
+
const { text, items, href, target, onClick } = menuItem;
|
|
13
|
+
return (_jsxs("div", { className: "flex flex-col gap-3.5 w-1/4", children: [_jsx("a", { className: "leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }), items?.map((_, i) => (_jsx(ColumnItem, { ..._, basePath: href, index: i }, String(i))))] }, String(index)));
|
|
14
|
+
};
|
|
15
|
+
const ColumnItem = JSX(({ text, index, basePath, ...rest }) => {
|
|
16
|
+
const isAnotherPortal = projectSettings.BASE_PATH && basePath ? !projectSettings.BASE_PATH.startsWith(basePath) : false;
|
|
17
|
+
const link = useLink(isAnotherPortal);
|
|
18
|
+
const { href, target, onClick } = link(rest);
|
|
19
|
+
return (_jsx("a", { className: style('text-l-light text-secondary-text hover:text-primary-main no-underline', 'overflow-x-hidden overflow-ellipsis whitespace-nowrap'), href: isAnotherPortal ? joinPath(basePath, href) : href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }));
|
|
20
|
+
});
|
|
21
|
+
//# sourceMappingURL=Sitemap.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../../src/ui-kit/Sitemap/Sitemap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAO3C,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,EAAE;IACnE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE3B,OAAO,CACL,cAAK,SAAS,EAAE,KAAK,CAAC,kCAAkC,EAAE,SAAS,CAAC,YACjE,QAAQ,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAClC,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,QAA+C,EAAE,KAAa,EAAE,EAAE;IACtF,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,QAAQ,CAAC;IAExD,OAAO,CACL,eAAyB,SAAS,EAAC,6BAA6B,aAC9D,YACE,SAAS,EAAC,yEAAyE,EACnF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,EACzB,OAAO,EAAE,OAAO,YAEf,IAAI,IAAI,UAAU,KAAK,EAAE,GACxB,EACH,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CACpB,KAAC,UAAU,OAAqB,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,IAA1C,MAAM,CAAC,CAAC,CAAC,CAAqC,CAChE,CAAC,KAXM,MAAM,CAAC,KAAK,CAAC,CAYjB,CACP,CAAC;AACJ,CAAC,CAAC;AAOF,MAAM,UAAU,GAAG,GAAG,CAAkB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC7E,MAAM,eAAe,GACnB,eAAe,CAAC,SAAS,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,SAAS,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAElG,MAAM,IAAI,GAAG,OAAO,CAAC,eAAe,CAAC,CAAC;IACtC,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAE7C,OAAO,CACL,YACE,SAAS,EAAE,KAAK,CACd,uEAAuE,EACvE,uDAAuD,CACxD,EACD,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC,QAAQ,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,EACvD,MAAM,EAAE,MAAM,IAAI,OAAO,EACzB,OAAO,EAAE,OAAO,YAEf,IAAI,IAAI,UAAU,KAAK,EAAE,GACxB,CACL,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TopItem.js","sourceRoot":"","sources":["../../../src/ui-kit/TopItem/TopItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"TopItem.js","sourceRoot":"","sources":["../../../src/ui-kit/TopItem/TopItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAc1C,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC/F,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;IAEnD,OAAO,CACL,YACE,SAAS,EAAE,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,EAAE,SAAS,CAAC,EACvD,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,OAAO,EAChB,GAAG,EAAC,qBAAqB,gBACb,IAAI,YAEhB,eAAM,SAAS,EAAE,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,YAAG,IAAI,IAAI,QAAQ,GAAQ,GACpE,CACL,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,CAAC,MAAM,GAAG,KAAK,EAAE,IAAI,GAAG,KAAK,EAAE,EAAE,CACpD,KAAK,CACH,0EAA0E,EAC1E,MAAM;IACJ,CAAC,CAAC,oEAAoE;IACtE,CAAC,CAAC,oBAAoB,EACxB,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,WAAW,CACxB,CAAC;AAEJ,MAAM,YAAY,GAAG,CAAC,MAAM,GAAG,KAAK,EAAE,IAAI,GAAG,KAAK,EAAE,EAAE,CACpD,KAAK,CACH,wBAAwB,EACxB,MAAM;IACJ,CAAC,CAAC,mBAAmB;IACrB,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,EAAE,yBAAyB,CAAC,EACxF,mFAAmF,CACpF,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare type Comparator<T> = (a: T, b: T) => number;
|
|
2
|
+
export declare const compareBy: <T>(indexOf: (a: T) => number) => Comparator<T>;
|
|
3
|
+
export declare const desc: <T>(cmp: Comparator<T>) => Comparator<T>;
|
|
4
|
+
export declare const combineCmps: <T>(comparators: Comparator<T>[], eps?: number) => Comparator<T>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export const compareBy = (indexOf) => (a, b) => indexOf(a) - indexOf(b);
|
|
2
|
+
export const desc = (cmp) => (a, b) => -cmp(a, b);
|
|
3
|
+
export const combineCmps = (comparators, eps = 0) => comparators.reduce((cmp1, cmp2) => (a, b) => cmp1(a, b) >= eps ? cmp1(a, b) : cmp2(a, b));
|
|
4
|
+
//# sourceMappingURL=Comparator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Comparator.js","sourceRoot":"","sources":["../../src/utils/Comparator.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,SAAS,GACpB,CAAI,OAAyB,EAAiB,EAAE,CAChD,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACP,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;AAE5B,MAAM,CAAC,MAAM,IAAI,GACf,CAAI,GAAkB,EAAiB,EAAE,CACzC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CACP,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AAEf,MAAM,CAAC,MAAM,WAAW,GAAG,CAAI,WAA4B,EAAE,GAAG,GAAG,CAAC,EAAiB,EAAE,CACrF,WAAW,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchJSON.js","sourceRoot":"","sources":["../../src/utils/fetchJSON.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,SAAS,CAC7B,GAAW,EACX,OAAqB;IAErB,IAAI;QACF,OAAO,MAAM,eAAe,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"fetchJSON.js","sourceRoot":"","sources":["../../src/utils/fetchJSON.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,KAAK,UAAU,SAAS,CAC7B,GAAW,EACX,OAAqB;IAErB,IAAI;QACF,OAAO,GAAG,CAAC,CAAC,CAAC,MAAM,eAAe,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;KACzD;IAAC,OAAO,GAAG,EAAE;QACZ,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;KACpB;IAED,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,eAAe,CAAc,GAAW,EAAE,OAAqB;IACnF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE;QAChC,GAAG,OAAO;QACV,OAAO,EAAE;YACP,GAAG,OAAO,EAAE,OAAO;YACnB,cAAc,EAAE,kBAAkB;SACnC;KACF,CAAC,CAAC;IAEH,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export const groupBy = (list, keyGetter) => {
|
|
2
|
-
const
|
|
3
|
-
|
|
2
|
+
const result = new Map();
|
|
3
|
+
for (const item of list) {
|
|
4
4
|
const key = keyGetter(item);
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
return
|
|
5
|
+
const group = result.get(key) || [];
|
|
6
|
+
result.set(key, [...group, item]);
|
|
7
|
+
}
|
|
8
|
+
return result;
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=groupBy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"groupBy.js","sourceRoot":"","sources":["../../src/utils/groupBy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,CAAO,
|
|
1
|
+
{"version":3,"file":"groupBy.js","sourceRoot":"","sources":["../../src/utils/groupBy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,CAAO,IAAS,EAAE,SAA0B,EAAe,EAAE;IAClF,MAAM,MAAM,GAAG,IAAI,GAAG,EAAU,CAAC;IAEjC,KAAK,MAAM,IAAI,IAAI,IAAI,EAAE;QACvB,MAAM,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;QAC5B,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;QACpC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;KACnC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maxBy.js","sourceRoot":"","sources":["../../src/utils/maxBy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAc,CAAO,EAAS,EAAE,CAAC,CAAQ,CAAC;AAE9E,MAAM,CAAC,MAAM,KAAK,GAChB,CAAqB,gBAAuC,oBAAoB,EAAE,EAAE,CACpF,CAAC,IAAY,EAAQ,EAAE,CACrB,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"maxBy.js","sourceRoot":"","sources":["../../src/utils/maxBy.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAc,CAAO,EAAS,EAAE,CAAC,CAAQ,CAAC;AAE9E,MAAM,CAAC,MAAM,KAAK,GAChB,CAAqB,gBAAuC,oBAAoB,EAAE,EAAE,CACpF,CAAC,IAAY,EAAQ,EAAE,CACrB,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE9E,MAAM,CAAC,MAAM,GAAG,GAAG,KAAK,EAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minBy.js","sourceRoot":"","sources":["../../src/utils/minBy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEtD,MAAM,CAAC,MAAM,KAAK,GAAG,CACnB,gBAAuC,oBAAoB,EAC3D,EAAE,CAAC,KAAK,CAAC,CAAC,CAAO,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"minBy.js","sourceRoot":"","sources":["../../src/utils/minBy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEtD,MAAM,CAAC,MAAM,KAAK,GAAG,CACnB,gBAAuC,oBAAoB,EAC3D,EAAE,CAAC,KAAK,CAAC,CAAC,CAAO,EAAE,EAAE,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3C,MAAM,CAAC,MAAM,GAAG,GAAG,KAAK,EAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const sum: (list?: number[]) => number;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sum.js","sourceRoot":"","sources":["../../src/utils/sum.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,OAAiB,EAAE,EAAU,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const unique: <T>(list: T[]) => T[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unique.js","sourceRoot":"","sources":["../../src/utils/unique.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,MAAM,GAAG,CAAI,IAAS,EAAO,EAAE,CAAC,CAAC,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC"}
|
|
@@ -3,4 +3,4 @@ export declare const isURL: (href?: string) => href is `${string}:${string}`;
|
|
|
3
3
|
export declare const isLocalURL: (href: string | undefined, target?: Target) => boolean;
|
|
4
4
|
export declare const isHash: (href?: string) => href is `#${string}`;
|
|
5
5
|
export declare const withoutQuery: (href?: string) => string;
|
|
6
|
-
export declare const joinPath: (...path: (string | undefined)[]) => string;
|
|
6
|
+
export declare const joinPath: (...path: (string | undefined | null)[]) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"url.js","sourceRoot":"","sources":["../../src/utils/url.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,IAAa,EAAiC,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;AAEpG,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,IAAwB,EAAE,MAAe,EAAE,EAAE,CACtE,OAAO,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,IAAI,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC;AAEnE,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,IAAa,EAAwB,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;AAE9F,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAa,EAAU,EAAE,CACpD,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AAEtD,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"url.js","sourceRoot":"","sources":["../../src/utils/url.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,IAAa,EAAiC,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC;AAEpG,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,IAAwB,EAAE,MAAe,EAAE,EAAE,CACtE,OAAO,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,IAAI,MAAM,KAAK,OAAO,CAAC,CAAC,CAAC;AAEnE,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,IAAa,EAAwB,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;AAE9F,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,IAAa,EAAU,EAAE,CACpD,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;AAEtD,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAG,IAAmC,EAAU,EAAE,CACzE,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function zip<A>(a: A[]): [A][];
|
|
2
|
+
export declare function zip<A, B>(a: A[], b: B[]): [A, B][];
|
|
3
|
+
export declare function zip<A, B, C>(a: A[], b: B[], c: C[]): [A, B, C][];
|
|
4
|
+
export declare function zip<A, B, C, D>(a: A[], b: B[], c: C[], d: D[]): [A, B, C, D][];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zip.js","sourceRoot":"","sources":["../../src/utils/zip.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,GAAG,CAAC,QAAe,EAAE,GAAG,QAAiB;IACvD,OAAO,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;AACjG,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import type { PreventableEvent } from '../../model/PreventableEvent';
|
|
4
3
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
4
|
import { Input } from '../../ui-kit/Input/Input';
|
|
5
|
+
import type { PreventableEvent } from '../../ui-kit/PreventableEvent';
|
|
6
6
|
import { useGetRegions } from '../SafeDepositRental/useGetRegions';
|
|
7
7
|
import { ACQUIRING_TYPES } from './acquiringTypes';
|
|
8
8
|
import type { ApplicationFormsProps } from './ApplicationFormsProps';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import type { Region } from '../../hooks/useRegions';
|
|
4
|
-
import type { PreventableEvent } from '../../
|
|
4
|
+
import type { PreventableEvent } from '../../ui-kit/PreventableEvent';
|
|
5
5
|
import { Input } from '../../ui-kit/Input/Input';
|
|
6
6
|
import { useGetRegions } from '../SafeDepositRental/useGetRegions';
|
|
7
7
|
import type { ApplicationFormsProps } from './ApplicationFormsProps';
|
|
@@ -8,10 +8,7 @@ import type { ButtonAdditionalProps } from '../../ui-kit/Button/ButtonProps';
|
|
|
8
8
|
* @title Кнопка
|
|
9
9
|
*/
|
|
10
10
|
export interface SubmitButtonProps extends ButtonAdditionalProps {
|
|
11
|
-
/**
|
|
12
|
-
* @title Текст
|
|
13
|
-
* @default "Отправить заявку"
|
|
14
|
-
*/
|
|
11
|
+
/** @title Текст */
|
|
15
12
|
text?: string;
|
|
16
13
|
version?: ButtonVersion;
|
|
17
14
|
}
|
|
@@ -23,7 +20,6 @@ export type ApplicationFormContent = UniBlockContent &
|
|
|
23
20
|
TitleProps & {
|
|
24
21
|
/**
|
|
25
22
|
* @title Вид заявки
|
|
26
|
-
* @default credit
|
|
27
23
|
* @enumNames ["Бизнес-карта", "ВЭД", "Депозит", "Кредит", "Эквайринг"]
|
|
28
24
|
*/
|
|
29
25
|
typeForm?: 'business-card' | 'wed' | 'deposit' | 'credit' | 'acquiring';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { useBranches } from '../../hooks/useBranches';
|
|
4
|
-
import type { PreventableEvent } from '../../model/PreventableEvent';
|
|
5
4
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
|
+
import type { PreventableEvent } from '../../ui-kit/PreventableEvent';
|
|
6
6
|
import { useGetRegions } from '../SafeDepositRental/useGetRegions';
|
|
7
7
|
import type { ApplicationFormsProps } from './ApplicationFormsProps';
|
|
8
8
|
import { MIN_CREDIT_AMOUNT, MIN_CREDIT_TERM } from './CreditParameters';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import type { PreventableEvent } from '../../model/PreventableEvent';
|
|
4
3
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
4
|
import { Input } from '../../ui-kit/Input/Input';
|
|
5
|
+
import type { PreventableEvent } from '../../ui-kit/PreventableEvent';
|
|
6
6
|
import type { ApplicationFormsProps } from './ApplicationFormsProps';
|
|
7
7
|
import { Footnote } from './Footnote';
|
|
8
8
|
import type { HandleFormStateChange } from './models';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import type { PreventableEvent } from '../../model/PreventableEvent';
|
|
4
3
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
4
|
import { Input } from '../../ui-kit/Input/Input';
|
|
5
|
+
import type { PreventableEvent } from '../../ui-kit/PreventableEvent';
|
|
6
6
|
import type { ApplicationFormsProps } from './ApplicationFormsProps';
|
|
7
7
|
import { Footnote } from './Footnote';
|
|
8
8
|
import type { HandleFormStateChange } from './models';
|
|
@@ -2,13 +2,13 @@ import type { AlignType } from '../../model/AlignType';
|
|
|
2
2
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import type { VNode } from '../../model/VNode';
|
|
4
4
|
import type { HeadingType } from '../../ui-kit/Heading/HeadingProps';
|
|
5
|
+
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
5
6
|
|
|
6
|
-
export interface BaseTileCommonProps extends UniBlockProps {
|
|
7
|
+
export interface BaseTileCommonProps extends UniBlockProps, ListContent {
|
|
7
8
|
title?: VNode;
|
|
8
9
|
headingType?: HeadingType;
|
|
9
10
|
description?: string;
|
|
10
11
|
image?: VNode;
|
|
11
|
-
items?: string[];
|
|
12
12
|
list?: string;
|
|
13
13
|
buttons?: VNode;
|
|
14
14
|
align?: AlignType;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"label": "Преимущество №1",
|
|
8
8
|
"description": {
|
|
9
9
|
"name": "Описание 1",
|
|
10
|
-
"benefitType": "
|
|
10
|
+
"benefitType": "text"
|
|
11
11
|
},
|
|
12
12
|
"icon": {
|
|
13
13
|
"icon": "ClockIcon",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
{
|
|
22
22
|
"label": "Преимущество №2",
|
|
23
23
|
"description": {
|
|
24
|
-
"
|
|
25
|
-
"benefitType": "
|
|
24
|
+
"items": ["Пункт 1", "Пункт 2"],
|
|
25
|
+
"benefitType": "list"
|
|
26
26
|
},
|
|
27
27
|
"icon": {
|
|
28
28
|
"icon": "SignDocsIcon",
|
|
@@ -2,6 +2,7 @@ import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
|
2
2
|
import type { LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
4
4
|
import type { IconProps } from '../../model/Picture';
|
|
5
|
+
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* @title Пункты описания
|
|
@@ -16,16 +17,9 @@ export type TextBenefitDef = {
|
|
|
16
17
|
/**
|
|
17
18
|
* @title Список
|
|
18
19
|
*/
|
|
19
|
-
export type ListBenefitDef = {
|
|
20
|
+
export type ListBenefitDef = ListContent & {
|
|
20
21
|
/** @title Буллиты */
|
|
21
22
|
bullets?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* @title Пункты
|
|
24
|
-
* @default [
|
|
25
|
-
* "Пункт 1"
|
|
26
|
-
* ]
|
|
27
|
-
*/
|
|
28
|
-
items?: string[];
|
|
29
23
|
/** @default list */
|
|
30
24
|
benefitType?: 'list';
|
|
31
25
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AlignType } from '../../model/AlignType';
|
|
2
|
-
import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { DescriptionProps, SubtitleProps, TitleProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
4
4
|
import type { IconProps } from '../../model/Picture';
|
|
5
5
|
|
|
@@ -15,10 +15,6 @@ export type ColumnsCount = '3' | '4' | '5';
|
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* @title Бонус и преимущество
|
|
18
|
-
* @default {
|
|
19
|
-
* "title": "Верхний заголовок",
|
|
20
|
-
* "description": "Нижний заголовок",
|
|
21
|
-
* }
|
|
22
18
|
*/
|
|
23
19
|
export type BonusBenefit = TitleProps & IconProps & DescriptionProps;
|
|
24
20
|
|
|
@@ -26,9 +22,8 @@ export type BonusBenefit = TitleProps & IconProps & DescriptionProps;
|
|
|
26
22
|
* @title Блок бонусов и преимуществ
|
|
27
23
|
*/
|
|
28
24
|
export type BonusBenefitsBlockContent = UniBlockContent &
|
|
29
|
-
TitleProps &
|
|
30
|
-
|
|
31
|
-
subtitle?: string;
|
|
25
|
+
TitleProps &
|
|
26
|
+
SubtitleProps & {
|
|
32
27
|
/** @title Список бонусов */
|
|
33
28
|
bonusBenefits?: BonusBenefit[];
|
|
34
29
|
columnsCount?: ColumnsCount;
|
|
@@ -12,22 +12,39 @@
|
|
|
12
12
|
"title": "Заголовок карточки",
|
|
13
13
|
"cardItems": [
|
|
14
14
|
{
|
|
15
|
-
"icon": {
|
|
15
|
+
"icon": {
|
|
16
|
+
"icon": "RoundRubleIcon",
|
|
17
|
+
"format": "webp",
|
|
18
|
+
"size": { "width": 24, "height": 24 },
|
|
19
|
+
"iconVersion": "color"
|
|
20
|
+
},
|
|
16
21
|
"text": "Пункт 1"
|
|
17
22
|
},
|
|
18
23
|
{
|
|
19
|
-
"icon": {
|
|
24
|
+
"icon": {
|
|
25
|
+
"icon": "EmptyWalletIcon",
|
|
26
|
+
"format": "webp",
|
|
27
|
+
"size": { "width": 24, "height": 24 },
|
|
28
|
+
"iconVersion": "color"
|
|
29
|
+
},
|
|
20
30
|
"text": "Пункт 2"
|
|
21
31
|
},
|
|
22
32
|
{
|
|
23
|
-
"icon": {
|
|
33
|
+
"icon": {
|
|
34
|
+
"icon": "PercentageSquareIcon",
|
|
35
|
+
"format": "webp",
|
|
36
|
+
"size": { "width": 24, "height": 24 },
|
|
37
|
+
"iconVersion": "color"
|
|
38
|
+
},
|
|
24
39
|
"text": "Пункт 3"
|
|
25
40
|
}
|
|
26
41
|
],
|
|
27
42
|
"button": {
|
|
28
43
|
"href": "#",
|
|
29
44
|
"text": "Кнопка",
|
|
30
|
-
"version": "primary"
|
|
45
|
+
"version": "primary",
|
|
46
|
+
"icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
|
|
47
|
+
"iconRight": { "format": "webp", "size": { "width": 24, "height": 24 } }
|
|
31
48
|
}
|
|
32
49
|
},
|
|
33
50
|
{
|
|
@@ -41,22 +58,39 @@
|
|
|
41
58
|
"title": "Заголовок карточки",
|
|
42
59
|
"cardItems": [
|
|
43
60
|
{
|
|
44
|
-
"icon": {
|
|
61
|
+
"icon": {
|
|
62
|
+
"icon": "RoundRubleIcon",
|
|
63
|
+
"format": "webp",
|
|
64
|
+
"size": { "width": 24, "height": 24 },
|
|
65
|
+
"iconVersion": "color"
|
|
66
|
+
},
|
|
45
67
|
"text": "Пункт 1"
|
|
46
68
|
},
|
|
47
69
|
{
|
|
48
|
-
"icon": {
|
|
70
|
+
"icon": {
|
|
71
|
+
"icon": "EmptyWalletIcon",
|
|
72
|
+
"format": "webp",
|
|
73
|
+
"size": { "width": 24, "height": 24 },
|
|
74
|
+
"iconVersion": "color"
|
|
75
|
+
},
|
|
49
76
|
"text": "Пункт 2"
|
|
50
77
|
},
|
|
51
78
|
{
|
|
52
|
-
"icon": {
|
|
79
|
+
"icon": {
|
|
80
|
+
"icon": "PercentageSquareIcon",
|
|
81
|
+
"format": "webp",
|
|
82
|
+
"size": { "width": 24, "height": 24 },
|
|
83
|
+
"iconVersion": "color"
|
|
84
|
+
},
|
|
53
85
|
"text": "Пункт 3"
|
|
54
86
|
}
|
|
55
87
|
],
|
|
56
88
|
"button": {
|
|
57
89
|
"href": "#",
|
|
58
90
|
"text": "Кнопка",
|
|
59
|
-
"version": "primary"
|
|
91
|
+
"version": "primary",
|
|
92
|
+
"icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
|
|
93
|
+
"iconRight": { "format": "webp", "size": { "width": 24, "height": 24 } }
|
|
60
94
|
}
|
|
61
95
|
}
|
|
62
96
|
]
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
+
import type { ButtonCommonIconProps } from '../../model/Button';
|
|
1
2
|
import type { TitleProps } from '../../model/HeadlineType';
|
|
2
3
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
4
|
import type { IconProps } from '../../model/Picture';
|
|
4
|
-
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
5
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
6
|
|
|
7
|
-
/** @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }}} */
|
|
8
7
|
export type BusinessCardItemProps = IconProps & {
|
|
9
8
|
/** @title Текст */
|
|
10
9
|
text?: string;
|
|
11
10
|
};
|
|
12
11
|
|
|
13
12
|
export type BusinessCardProps = TitleProps &
|
|
14
|
-
ImageContent &
|
|
13
|
+
ImageContent &
|
|
14
|
+
ButtonCommonIconProps & {
|
|
15
15
|
/** @title Список */
|
|
16
16
|
cardItems?: BusinessCardItemProps[];
|
|
17
|
-
/**
|
|
18
|
-
* @title Кнопка
|
|
19
|
-
* @default {"icon": {"format": "webp", "size": { "width": 24, "height": 24 }},
|
|
20
|
-
* "iconRight": {"format": "webp", "size": { "width": 24, "height": 24 }}, "text": "Кнопка"}
|
|
21
|
-
*/
|
|
22
|
-
button?: ButtonWithIconProps;
|
|
23
17
|
};
|
|
24
18
|
|
|
25
19
|
/**
|
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
"href": "#",
|
|
5
5
|
"text": "Кнопка",
|
|
6
6
|
"target": "_blank",
|
|
7
|
-
"version": "primary"
|
|
7
|
+
"version": "primary",
|
|
8
|
+
"icon": { "format": "webp", "size": { "width": 24, "height": 24 } },
|
|
9
|
+
"iconRight": { "format": "webp", "size": { "width": 24, "height": 24 } }
|
|
8
10
|
}
|
|
9
11
|
}
|
|
10
12
|
}
|