@redneckz/wildless-cms-uni-blocks 0.2.111 → 0.2.112
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/mobile/bundle/bundle.umd.js +846 -0
- package/mobile/bundle/bundle.umd.min.js +1 -0
- package/mobile/dist/ProjectSettings.d.ts +21 -0
- package/mobile/dist/ProjectSettings.js +33 -0
- package/mobile/dist/ProjectSettings.js.map +1 -0
- package/mobile/dist/api/DaDataAPI.d.ts +3 -0
- package/mobile/dist/api/DaDataAPI.js +33 -0
- package/mobile/dist/api/DaDataAPI.js.map +1 -0
- package/mobile/dist/api/LikeAPI.d.ts +9 -0
- package/mobile/dist/api/LikeAPI.js +120 -0
- package/mobile/dist/api/LikeAPI.js.map +1 -0
- package/mobile/dist/components/Accordion/Accordion.d.ts +5 -0
- package/mobile/dist/components/Accordion/Accordion.js +10 -0
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.d.ts +6 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.js +13 -0
- package/mobile/dist/components/Accordion/AccordionBlocks.js.map +1 -0
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +65 -0
- package/mobile/dist/components/Accordion/AccordionContent.js +2 -0
- package/mobile/dist/components/Accordion/AccordionContent.js.map +1 -0
- package/mobile/dist/components/Accordion/AccordionItem.d.ts +5 -0
- package/mobile/dist/components/Accordion/AccordionItem.js +33 -0
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -0
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +5 -0
- package/mobile/dist/components/BaseTile/BaseTile.js +41 -0
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -0
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +41 -0
- package/mobile/dist/components/BaseTile/BaseTileProps.js +2 -0
- package/mobile/dist/components/BaseTile/BaseTileProps.js.map +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +13 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +23 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.js +2 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
- package/mobile/dist/components/BlockContent.d.ts +23 -0
- package/mobile/dist/components/BlockContent.js +2 -0
- package/mobile/dist/components/BlockContent.js.map +1 -0
- package/mobile/dist/components/Blocks.d.ts +16 -0
- package/mobile/dist/components/Blocks.js +33 -0
- package/mobile/dist/components/Blocks.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +36 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +59 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.js +2 -0
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/HeaderCell.d.ts +10 -0
- package/mobile/dist/components/ComparisonTable/HeaderCell.js +11 -0
- package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js +10 -0
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableCell.d.ts +8 -0
- package/mobile/dist/components/ComparisonTable/TableCell.js +12 -0
- package/mobile/dist/components/ComparisonTable/TableCell.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableRow.d.ts +10 -0
- package/mobile/dist/components/ComparisonTable/TableRow.js +10 -0
- package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/TableRowContainer.d.ts +4 -0
- package/mobile/dist/components/ComparisonTable/TableRowContainer.js +6 -0
- package/mobile/dist/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/mobile/dist/components/ComparisonTable/constants.d.ts +6 -0
- package/mobile/dist/components/ComparisonTable/constants.js +9 -0
- package/mobile/dist/components/ComparisonTable/constants.js.map +1 -0
- package/mobile/dist/components/ContentPage/ContentPage.d.ts +28 -0
- package/mobile/dist/components/ContentPage/ContentPage.js +32 -0
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -0
- package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +31 -0
- package/mobile/dist/components/ContentPage/ContentPageContext.js +2 -0
- package/mobile/dist/components/ContentPage/ContentPageContext.js.map +1 -0
- package/mobile/dist/components/ContentPage/ContentPageHead.d.ts +6 -0
- package/mobile/dist/components/ContentPage/ContentPageHead.js +11 -0
- package/mobile/dist/components/ContentPage/ContentPageHead.js.map +1 -0
- package/mobile/dist/components/ContentPage/toMobilePage.d.ts +2 -0
- package/mobile/dist/components/ContentPage/toMobilePage.js +34 -0
- package/mobile/dist/components/ContentPage/toMobilePage.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculator.d.ts +5 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculator.js +57 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculator.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.d.ts +19 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.js +2 -0
- package/mobile/dist/components/CreditCalculator/CreditCalculatorContent.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/constants.d.ts +7 -0
- package/mobile/dist/components/CreditCalculator/constants.js +10 -0
- package/mobile/dist/components/CreditCalculator/constants.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getCalculatorParams.d.ts +7 -0
- package/mobile/dist/components/CreditCalculator/getCalculatorParams.js +11 -0
- package/mobile/dist/components/CreditCalculator/getCalculatorParams.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getCreditRate.d.ts +7 -0
- package/mobile/dist/components/CreditCalculator/getCreditRate.js +13 -0
- package/mobile/dist/components/CreditCalculator/getCreditRate.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getCreditTermYears.d.ts +1 -0
- package/mobile/dist/components/CreditCalculator/getCreditTermYears.js +15 -0
- package/mobile/dist/components/CreditCalculator/getCreditTermYears.js.map +1 -0
- package/mobile/dist/components/CreditCalculator/getMonthlyPayment.d.ts +11 -0
- package/mobile/dist/components/CreditCalculator/getMonthlyPayment.js +19 -0
- package/mobile/dist/components/CreditCalculator/getMonthlyPayment.js.map +1 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +35 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +7 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js +2 -0
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
- package/mobile/dist/components/Footer/Contacts.d.ts +7 -0
- package/mobile/dist/components/Footer/Contacts.js +31 -0
- package/mobile/dist/components/Footer/Contacts.js.map +1 -0
- package/mobile/dist/components/Footer/Footer.d.ts +5 -0
- package/mobile/dist/components/Footer/Footer.js +7 -0
- package/mobile/dist/components/Footer/Footer.js.map +1 -0
- package/mobile/dist/components/Footer/FooterContent.d.ts +38 -0
- package/mobile/dist/components/Footer/FooterContent.js +2 -0
- package/mobile/dist/components/Footer/FooterContent.js.map +1 -0
- package/mobile/dist/components/Footer/FooterLink.d.ts +5 -0
- package/mobile/dist/components/Footer/FooterLink.js +2 -0
- package/mobile/dist/components/Footer/FooterLink.js.map +1 -0
- package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +2 -0
- package/mobile/dist/components/Footer/HorizontalNavigation.js +12 -0
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -0
- package/mobile/dist/components/Footer/Sitemap.d.ts +6 -0
- package/mobile/dist/components/Footer/Sitemap.js +22 -0
- package/mobile/dist/components/Footer/Sitemap.js.map +1 -0
- package/mobile/dist/components/Footer/SocialMedia.d.ts +6 -0
- package/mobile/dist/components/Footer/SocialMedia.js +29 -0
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -0
- package/mobile/dist/components/Footer/TextInformation.d.ts +2 -0
- package/mobile/dist/components/Footer/TextInformation.js +12 -0
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -0
- package/mobile/dist/components/Gallery/Gallery.d.ts +2 -0
- package/mobile/dist/components/Gallery/Gallery.js +18 -0
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/mobile/dist/components/Gallery/GalleryCardInner.js +19 -0
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryContainer.d.ts +13 -0
- package/mobile/dist/components/Gallery/GalleryContainer.js +16 -0
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +32 -0
- package/mobile/dist/components/Gallery/GalleryContent.js +2 -0
- package/mobile/dist/components/Gallery/GalleryContent.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryInner.d.ts +7 -0
- package/mobile/dist/components/Gallery/GalleryInner.js +18 -0
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -0
- package/mobile/dist/components/Gallery/GalleryProps.d.ts +4 -0
- package/mobile/dist/components/Gallery/GalleryProps.js +2 -0
- package/mobile/dist/components/Gallery/GalleryProps.js.map +1 -0
- package/mobile/dist/components/Gallery/constants.d.ts +6 -0
- package/mobile/dist/components/Gallery/constants.js +19 -0
- package/mobile/dist/components/Gallery/constants.js.map +1 -0
- package/mobile/dist/components/Header/Header.d.ts +5 -0
- package/mobile/dist/components/Header/Header.js +30 -0
- package/mobile/dist/components/Header/Header.js.map +1 -0
- package/mobile/dist/components/Header/HeaderContent.d.ts +19 -0
- package/mobile/dist/components/Header/HeaderContent.js +2 -0
- package/mobile/dist/components/Header/HeaderContent.js.map +1 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +10 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +24 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js +6 -0
- package/mobile/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
- package/mobile/dist/components/Headline/Headline.d.ts +5 -0
- package/mobile/dist/components/Headline/Headline.js +15 -0
- package/mobile/dist/components/Headline/Headline.js.map +1 -0
- package/mobile/dist/components/Headline/HeadlineContent.d.ts +8 -0
- package/mobile/dist/components/Headline/HeadlineContent.js +2 -0
- package/mobile/dist/components/Headline/HeadlineContent.js.map +1 -0
- package/mobile/dist/components/LikeControl/LikeControl.d.ts +2 -0
- package/mobile/dist/components/LikeControl/LikeControl.js +10 -0
- package/mobile/dist/components/LikeControl/LikeControl.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +5 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.js +42 -0
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -0
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +23 -0
- package/mobile/dist/components/LinkDocs/LinkDocsContent.js +2 -0
- package/mobile/dist/components/LinkDocs/LinkDocsContent.js.map +1 -0
- package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/mobile/dist/components/MiniGallery/MiniGallery.js +7 -0
- package/mobile/dist/components/MiniGallery/MiniGallery.js.map +1 -0
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +5 -0
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.js +2 -0
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +9 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +16 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.js +2 -0
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
- package/mobile/dist/components/Navigation/Navigation.d.ts +5 -0
- package/mobile/dist/components/Navigation/Navigation.js +16 -0
- package/mobile/dist/components/Navigation/Navigation.js.map +1 -0
- package/mobile/dist/components/Navigation/NavigationContent.d.ts +10 -0
- package/mobile/dist/components/Navigation/NavigationContent.js +2 -0
- package/mobile/dist/components/Navigation/NavigationContent.js.map +1 -0
- package/mobile/dist/components/Navigation/NavigationItem.d.ts +4 -0
- package/mobile/dist/components/Navigation/NavigationItem.js +6 -0
- package/mobile/dist/components/Navigation/NavigationItem.js.map +1 -0
- package/mobile/dist/components/PictureText/PictureText.d.ts +5 -0
- package/mobile/dist/components/PictureText/PictureText.js +14 -0
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -0
- package/mobile/dist/components/PictureText/PictureTextContent.d.ts +9 -0
- package/mobile/dist/components/PictureText/PictureTextContent.js +2 -0
- package/mobile/dist/components/PictureText/PictureTextContent.js.map +1 -0
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +6 -0
- package/mobile/dist/components/Placeholder/Placeholder.js +15 -0
- package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -0
- package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +6 -0
- package/mobile/dist/components/Placeholder/PlaceholderContent.js +2 -0
- package/mobile/dist/components/Placeholder/PlaceholderContent.js.map +1 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.js +12 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -0
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +25 -0
- package/mobile/dist/components/ProductBlock/ProductBlockContent.js +2 -0
- package/mobile/dist/components/ProductBlock/ProductBlockContent.js.map +1 -0
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +5 -0
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +26 -0
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +5 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.js +27 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.js +2 -0
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.js.map +1 -0
- package/mobile/dist/components/ProductTile/ProductTile.d.ts +5 -0
- package/mobile/dist/components/ProductTile/ProductTile.js +20 -0
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -0
- package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +12 -0
- package/mobile/dist/components/ProductTile/ProductTileContent.js +2 -0
- package/mobile/dist/components/ProductTile/ProductTileContent.js.map +1 -0
- package/mobile/dist/components/PromoTile/PromoTile.d.ts +5 -0
- package/mobile/dist/components/PromoTile/PromoTile.js +18 -0
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -0
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +8 -0
- package/mobile/dist/components/PromoTile/PromoTileContent.js +2 -0
- package/mobile/dist/components/PromoTile/PromoTileContent.js.map +1 -0
- package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/mobile/dist/components/StepsBlock/StepsBlock.js +20 -0
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -0
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +29 -0
- package/mobile/dist/components/StepsBlock/StepsBlockContent.js +2 -0
- package/mobile/dist/components/StepsBlock/StepsBlockContent.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +5 -0
- package/mobile/dist/components/TariffsTable/TariffsTable.js +25 -0
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +6 -0
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +16 -0
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +59 -0
- package/mobile/dist/components/TariffsTable/TariffsTableContent.js +2 -0
- package/mobile/dist/components/TariffsTable/TariffsTableContent.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +8 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +13 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -0
- package/mobile/dist/components/TariffsTable/constants.d.ts +4 -0
- package/mobile/dist/components/TariffsTable/constants.js +7 -0
- package/mobile/dist/components/TariffsTable/constants.js.map +1 -0
- package/mobile/dist/components/TextBlock/TextBlock.d.ts +5 -0
- package/mobile/dist/components/TextBlock/TextBlock.js +36 -0
- package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -0
- package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +23 -0
- package/mobile/dist/components/TextBlock/TextBlockContent.js +2 -0
- package/mobile/dist/components/TextBlock/TextBlockContent.js.map +1 -0
- package/mobile/dist/components/Tile/Tile.d.ts +6 -0
- package/mobile/dist/components/Tile/Tile.js +39 -0
- package/mobile/dist/components/Tile/Tile.js.map +1 -0
- package/mobile/dist/components/Tile/TileContent.d.ts +5 -0
- package/mobile/dist/components/Tile/TileContent.js +2 -0
- package/mobile/dist/components/Tile/TileContent.js.map +1 -0
- package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +10 -0
- package/mobile/dist/content-page-repository/ContentPageRepository.js +56 -0
- package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -0
- package/mobile/dist/content-page-repository/TransformationOptions.d.ts +4 -0
- package/mobile/dist/content-page-repository/TransformationOptions.js +2 -0
- package/mobile/dist/content-page-repository/TransformationOptions.js.map +1 -0
- package/mobile/dist/content-page-repository/index.d.ts +2 -0
- package/mobile/dist/content-page-repository/index.js +7 -0
- package/mobile/dist/content-page-repository/index.js.map +1 -0
- package/mobile/dist/content-page-repository/mapJSON.d.ts +1 -0
- package/mobile/dist/content-page-repository/mapJSON.js +24 -0
- package/mobile/dist/content-page-repository/mapJSON.js.map +1 -0
- package/mobile/dist/content-page-repository/transformContentPage.d.ts +3 -0
- package/mobile/dist/content-page-repository/transformContentPage.js +30 -0
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -0
- package/mobile/dist/content-page-repository/transformMarkdown.d.ts +1 -0
- package/mobile/dist/content-page-repository/transformMarkdown.js +16 -0
- package/mobile/dist/content-page-repository/transformMarkdown.js.map +1 -0
- package/mobile/dist/content-page-repository/transformPicture.d.ts +3 -0
- package/mobile/dist/content-page-repository/transformPicture.js +45 -0
- package/mobile/dist/content-page-repository/transformPicture.js.map +1 -0
- package/mobile/dist/hooks/useComparisonTableScroll.d.ts +12 -0
- package/mobile/dist/hooks/useComparisonTableScroll.js +12 -0
- package/mobile/dist/hooks/useComparisonTableScroll.js.map +1 -0
- package/mobile/dist/hooks/useCreditCalculatorData.d.ts +3 -0
- package/mobile/dist/hooks/useCreditCalculatorData.js +15 -0
- package/mobile/dist/hooks/useCreditCalculatorData.js.map +1 -0
- package/mobile/dist/hooks/useLink.d.ts +15 -0
- package/mobile/dist/hooks/useLink.js +23 -0
- package/mobile/dist/hooks/useLink.js.map +1 -0
- package/mobile/dist/index.d.ts +19 -0
- package/mobile/dist/index.js +49 -0
- package/mobile/dist/index.js.map +1 -0
- package/mobile/dist/model/BgColorVersion.d.ts +8 -0
- package/mobile/dist/model/BgColorVersion.js +2 -0
- package/mobile/dist/model/BgColorVersion.js.map +1 -0
- package/mobile/dist/model/BlockVersion.d.ts +5 -0
- package/mobile/dist/model/BlockVersion.js +2 -0
- package/mobile/dist/model/BlockVersion.js.map +1 -0
- package/mobile/dist/model/ButtonVersion.d.ts +6 -0
- package/mobile/dist/model/ButtonVersion.js +2 -0
- package/mobile/dist/model/ButtonVersion.js.map +1 -0
- package/mobile/dist/model/GalleryVersion.d.ts +1 -0
- package/mobile/dist/model/GalleryVersion.js +2 -0
- package/mobile/dist/model/GalleryVersion.js.map +1 -0
- package/mobile/dist/model/LinkProps.d.ts +22 -0
- package/mobile/dist/model/LinkProps.js +2 -0
- package/mobile/dist/model/LinkProps.js.map +1 -0
- package/mobile/dist/model/Picture.d.ts +28 -0
- package/mobile/dist/model/Picture.js +2 -0
- package/mobile/dist/model/Picture.js.map +1 -0
- package/mobile/dist/model/SitemapProps.d.ts +13 -0
- package/mobile/dist/model/SitemapProps.js +2 -0
- package/mobile/dist/model/SitemapProps.js.map +1 -0
- package/mobile/dist/model/SizeVersion.d.ts +8 -0
- package/mobile/dist/model/SizeVersion.js +2 -0
- package/mobile/dist/model/SizeVersion.js.map +1 -0
- package/mobile/dist/model/TableVersion.d.ts +1 -0
- package/mobile/dist/model/TableVersion.js +2 -0
- package/mobile/dist/model/TableVersion.js.map +1 -0
- package/mobile/dist/services/sitemap/SitemapProps.d.ts +13 -0
- package/mobile/dist/services/sitemap/SitemapProps.js +2 -0
- package/mobile/dist/services/sitemap/SitemapProps.js.map +1 -0
- package/mobile/dist/services/sitemap/findActiveSubItem.d.ts +3 -0
- package/mobile/dist/services/sitemap/findActiveSubItem.js +13 -0
- package/mobile/dist/services/sitemap/findActiveSubItem.js.map +1 -0
- package/mobile/dist/services/sitemap/isHrefActive.d.ts +4 -0
- package/mobile/dist/services/sitemap/isHrefActive.js +9 -0
- package/mobile/dist/services/sitemap/isHrefActive.js.map +1 -0
- package/mobile/dist/services/sitemap/isSubItemActive.d.ts +3 -0
- package/mobile/dist/services/sitemap/isSubItemActive.js +6 -0
- package/mobile/dist/services/sitemap/isSubItemActive.js.map +1 -0
- package/mobile/dist/services/sitemap/isTopItemActive.d.ts +3 -0
- package/mobile/dist/services/sitemap/isTopItemActive.js +7 -0
- package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -0
- package/mobile/dist/services/sitemap/mergeTopItems.d.ts +2 -0
- package/mobile/dist/services/sitemap/mergeTopItems.js +8 -0
- package/mobile/dist/services/sitemap/mergeTopItems.js.map +1 -0
- package/mobile/dist/services/sitemap/useSitemap.d.ts +3 -0
- package/mobile/dist/services/sitemap/useSitemap.js +16 -0
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -0
- package/mobile/dist/types.d.ts +51 -0
- package/mobile/dist/types.js +2 -0
- package/mobile/dist/types.js.map +1 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItem.d.ts +2 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js +24 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItemProps.d.ts +21 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItemProps.js +2 -0
- package/mobile/dist/ui-kit/BlockItem/BlockItemProps.js.map +1 -0
- package/mobile/dist/ui-kit/Breadcrumb.d.ts +6 -0
- package/mobile/dist/ui-kit/Breadcrumb.js +13 -0
- package/mobile/dist/ui-kit/Breadcrumb.js.map +1 -0
- package/mobile/dist/ui-kit/Button/ArrowButton.d.ts +2 -0
- package/mobile/dist/ui-kit/Button/ArrowButton.js +22 -0
- package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -0
- package/mobile/dist/ui-kit/Button/Button.d.ts +6 -0
- package/mobile/dist/ui-kit/Button/Button.js +26 -0
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -0
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +30 -0
- package/mobile/dist/ui-kit/Button/ButtonProps.js +2 -0
- package/mobile/dist/ui-kit/Button/ButtonProps.js.map +1 -0
- package/mobile/dist/ui-kit/Button/LikeButton.d.ts +6 -0
- package/mobile/dist/ui-kit/Button/LikeButton.js +15 -0
- package/mobile/dist/ui-kit/Button/LikeButton.js.map +1 -0
- package/mobile/dist/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js +17 -0
- package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -0
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.js +2 -0
- package/mobile/dist/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +21 -0
- package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/Icon.d.ts +2 -0
- package/mobile/dist/ui-kit/Icon/Icon.js +13 -0
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +147 -0
- package/mobile/dist/ui-kit/Icon/IconProps.js +72 -0
- package/mobile/dist/ui-kit/Icon/IconProps.js.map +1 -0
- package/mobile/dist/ui-kit/Img.d.ts +7 -0
- package/mobile/dist/ui-kit/Img.js +18 -0
- package/mobile/dist/ui-kit/Img.js.map +1 -0
- package/mobile/dist/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/mobile/dist/ui-kit/InputRange/InputRange.js +27 -0
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -0
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.js +2 -0
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.js.map +1 -0
- package/mobile/dist/ui-kit/Logo/Logo.d.ts +7 -0
- package/mobile/dist/ui-kit/Logo/Logo.js +24 -0
- package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -0
- package/mobile/dist/ui-kit/SVG.d.ts +20 -0
- package/mobile/dist/ui-kit/SVG.js +8 -0
- package/mobile/dist/ui-kit/SVG.js.map +1 -0
- package/mobile/dist/ui-kit/SearchBar.d.ts +2 -0
- package/mobile/dist/ui-kit/SearchBar.js +14 -0
- package/mobile/dist/ui-kit/SearchBar.js.map +1 -0
- package/mobile/dist/ui-kit/Title/Title.d.ts +3 -0
- package/mobile/dist/ui-kit/Title/Title.js +18 -0
- package/mobile/dist/ui-kit/Title/Title.js.map +1 -0
- package/mobile/dist/ui-kit/Title/TitleProps.d.ts +4 -0
- package/mobile/dist/ui-kit/Title/TitleProps.js +2 -0
- package/mobile/dist/ui-kit/Title/TitleProps.js.map +1 -0
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +13 -0
- package/mobile/dist/ui-kit/TopItem/TopItem.js +24 -0
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -0
- package/mobile/dist/utils/addSpacesBetweenNumbers.d.ts +1 -0
- package/mobile/dist/utils/addSpacesBetweenNumbers.js +5 -0
- package/mobile/dist/utils/addSpacesBetweenNumbers.js.map +1 -0
- package/mobile/dist/utils/adjustHref.d.ts +4 -0
- package/mobile/dist/utils/adjustHref.js +21 -0
- package/mobile/dist/utils/adjustHref.js.map +1 -0
- package/mobile/dist/utils/clamp.d.ts +1 -0
- package/mobile/dist/utils/clamp.js +5 -0
- package/mobile/dist/utils/clamp.js.map +1 -0
- package/mobile/dist/utils/getColSpan.d.ts +1 -0
- package/mobile/dist/utils/getColSpan.js +9 -0
- package/mobile/dist/utils/getColSpan.js.map +1 -0
- package/mobile/dist/utils/getGeolocation.d.ts +1 -0
- package/mobile/dist/utils/getGeolocation.js +5 -0
- package/mobile/dist/utils/getGeolocation.js.map +1 -0
- package/mobile/dist/utils/joinList.d.ts +1 -0
- package/mobile/dist/utils/joinList.js +7 -0
- package/mobile/dist/utils/joinList.js.map +1 -0
- package/mobile/dist/utils/maxBy.d.ts +2 -0
- package/mobile/dist/utils/maxBy.js +7 -0
- package/mobile/dist/utils/maxBy.js.map +1 -0
- package/mobile/dist/utils/url.d.ts +3 -0
- package/mobile/dist/utils/url.js +18 -0
- package/mobile/dist/utils/url.js.map +1 -0
- package/mobile/dist/utils/withoutMobilePath.d.ts +2 -0
- package/mobile/dist/utils/withoutMobilePath.js +6 -0
- package/mobile/dist/utils/withoutMobilePath.js.map +1 -0
- package/mobile/lib/ProjectSettings.d.ts +21 -0
- package/mobile/lib/ProjectSettings.js +31 -0
- package/mobile/lib/ProjectSettings.js.map +1 -0
- package/mobile/lib/api/DaDataAPI.d.ts +3 -0
- package/mobile/lib/api/DaDataAPI.js +30 -0
- package/mobile/lib/api/DaDataAPI.js.map +1 -0
- package/mobile/lib/api/LikeAPI.d.ts +9 -0
- package/mobile/lib/api/LikeAPI.js +117 -0
- package/mobile/lib/api/LikeAPI.js.map +1 -0
- package/mobile/lib/components/Accordion/Accordion.d.ts +5 -0
- package/mobile/lib/components/Accordion/Accordion.js +8 -0
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.d.ts +6 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.js +11 -0
- package/mobile/lib/components/Accordion/AccordionBlocks.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +65 -0
- package/mobile/lib/components/Accordion/AccordionContent.js +2 -0
- package/mobile/lib/components/Accordion/AccordionContent.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionItem.d.ts +5 -0
- package/mobile/lib/components/Accordion/AccordionItem.js +31 -0
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -0
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +5 -0
- package/mobile/lib/components/BaseTile/BaseTile.js +39 -0
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -0
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +41 -0
- package/mobile/lib/components/BaseTile/BaseTileProps.js +2 -0
- package/mobile/lib/components/BaseTile/BaseTileProps.js.map +1 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +11 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +23 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.js +2 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.js.map +1 -0
- package/mobile/lib/components/BlockContent.d.ts +23 -0
- package/mobile/lib/components/BlockContent.js +2 -0
- package/mobile/lib/components/BlockContent.js.map +1 -0
- package/mobile/lib/components/Blocks.d.ts +16 -0
- package/mobile/lib/components/Blocks.js +31 -0
- package/mobile/lib/components/Blocks.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +34 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +59 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.js +2 -0
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/HeaderCell.d.ts +10 -0
- package/mobile/lib/components/ComparisonTable/HeaderCell.js +9 -0
- package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js +8 -0
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableCell.d.ts +8 -0
- package/mobile/lib/components/ComparisonTable/TableCell.js +10 -0
- package/mobile/lib/components/ComparisonTable/TableCell.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableRow.d.ts +10 -0
- package/mobile/lib/components/ComparisonTable/TableRow.js +8 -0
- package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/TableRowContainer.d.ts +4 -0
- package/mobile/lib/components/ComparisonTable/TableRowContainer.js +4 -0
- package/mobile/lib/components/ComparisonTable/TableRowContainer.js.map +1 -0
- package/mobile/lib/components/ComparisonTable/constants.d.ts +6 -0
- package/mobile/lib/components/ComparisonTable/constants.js +7 -0
- package/mobile/lib/components/ComparisonTable/constants.js.map +1 -0
- package/mobile/lib/components/ContentPage/ContentPage.d.ts +28 -0
- package/mobile/lib/components/ContentPage/ContentPage.js +30 -0
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -0
- package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +31 -0
- package/mobile/lib/components/ContentPage/ContentPageContext.js +2 -0
- package/mobile/lib/components/ContentPage/ContentPageContext.js.map +1 -0
- package/mobile/lib/components/ContentPage/ContentPageHead.d.ts +6 -0
- package/mobile/lib/components/ContentPage/ContentPageHead.js +9 -0
- package/mobile/lib/components/ContentPage/ContentPageHead.js.map +1 -0
- package/mobile/lib/components/ContentPage/toMobilePage.d.ts +2 -0
- package/mobile/lib/components/ContentPage/toMobilePage.js +31 -0
- package/mobile/lib/components/ContentPage/toMobilePage.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculator.d.ts +5 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculator.js +55 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculator.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.d.ts +19 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.js +2 -0
- package/mobile/lib/components/CreditCalculator/CreditCalculatorContent.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/constants.d.ts +7 -0
- package/mobile/lib/components/CreditCalculator/constants.js +8 -0
- package/mobile/lib/components/CreditCalculator/constants.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getCalculatorParams.d.ts +7 -0
- package/mobile/lib/components/CreditCalculator/getCalculatorParams.js +8 -0
- package/mobile/lib/components/CreditCalculator/getCalculatorParams.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getCreditRate.d.ts +7 -0
- package/mobile/lib/components/CreditCalculator/getCreditRate.js +10 -0
- package/mobile/lib/components/CreditCalculator/getCreditRate.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getCreditTermYears.d.ts +1 -0
- package/mobile/lib/components/CreditCalculator/getCreditTermYears.js +12 -0
- package/mobile/lib/components/CreditCalculator/getCreditTermYears.js.map +1 -0
- package/mobile/lib/components/CreditCalculator/getMonthlyPayment.d.ts +11 -0
- package/mobile/lib/components/CreditCalculator/getMonthlyPayment.js +16 -0
- package/mobile/lib/components/CreditCalculator/getMonthlyPayment.js.map +1 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +33 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +7 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js +2 -0
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.js.map +1 -0
- package/mobile/lib/components/Footer/Contacts.d.ts +7 -0
- package/mobile/lib/components/Footer/Contacts.js +29 -0
- package/mobile/lib/components/Footer/Contacts.js.map +1 -0
- package/mobile/lib/components/Footer/Footer.d.ts +5 -0
- package/mobile/lib/components/Footer/Footer.js +5 -0
- package/mobile/lib/components/Footer/Footer.js.map +1 -0
- package/mobile/lib/components/Footer/FooterContent.d.ts +38 -0
- package/mobile/lib/components/Footer/FooterContent.js +2 -0
- package/mobile/lib/components/Footer/FooterContent.js.map +1 -0
- package/mobile/lib/components/Footer/FooterLink.d.ts +5 -0
- package/mobile/lib/components/Footer/FooterLink.js +2 -0
- package/mobile/lib/components/Footer/FooterLink.js.map +1 -0
- package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +2 -0
- package/mobile/lib/components/Footer/HorizontalNavigation.js +10 -0
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -0
- package/mobile/lib/components/Footer/Sitemap.d.ts +6 -0
- package/mobile/lib/components/Footer/Sitemap.js +20 -0
- package/mobile/lib/components/Footer/Sitemap.js.map +1 -0
- package/mobile/lib/components/Footer/SocialMedia.d.ts +6 -0
- package/mobile/lib/components/Footer/SocialMedia.js +27 -0
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -0
- package/mobile/lib/components/Footer/TextInformation.d.ts +2 -0
- package/mobile/lib/components/Footer/TextInformation.js +10 -0
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -0
- package/mobile/lib/components/Gallery/Gallery.d.ts +2 -0
- package/mobile/lib/components/Gallery/Gallery.js +16 -0
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/mobile/lib/components/Gallery/GalleryCardInner.js +17 -0
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryContainer.d.ts +13 -0
- package/mobile/lib/components/Gallery/GalleryContainer.js +14 -0
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +32 -0
- package/mobile/lib/components/Gallery/GalleryContent.js +2 -0
- package/mobile/lib/components/Gallery/GalleryContent.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryInner.d.ts +7 -0
- package/mobile/lib/components/Gallery/GalleryInner.js +16 -0
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -0
- package/mobile/lib/components/Gallery/GalleryProps.d.ts +4 -0
- package/mobile/lib/components/Gallery/GalleryProps.js +2 -0
- package/mobile/lib/components/Gallery/GalleryProps.js.map +1 -0
- package/mobile/lib/components/Gallery/constants.d.ts +6 -0
- package/mobile/lib/components/Gallery/constants.js +17 -0
- package/mobile/lib/components/Gallery/constants.js.map +1 -0
- package/mobile/lib/components/Header/Header.d.ts +5 -0
- package/mobile/lib/components/Header/Header.js +28 -0
- package/mobile/lib/components/Header/Header.js.map +1 -0
- package/mobile/lib/components/Header/HeaderContent.d.ts +19 -0
- package/mobile/lib/components/Header/HeaderContent.js +2 -0
- package/mobile/lib/components/Header/HeaderContent.js.map +1 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +10 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +22 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js +4 -0
- package/mobile/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -0
- package/mobile/lib/components/Headline/Headline.d.ts +5 -0
- package/mobile/lib/components/Headline/Headline.js +13 -0
- package/mobile/lib/components/Headline/Headline.js.map +1 -0
- package/mobile/lib/components/Headline/HeadlineContent.d.ts +8 -0
- package/mobile/lib/components/Headline/HeadlineContent.js +2 -0
- package/mobile/lib/components/Headline/HeadlineContent.js.map +1 -0
- package/mobile/lib/components/LikeControl/LikeControl.d.ts +2 -0
- package/mobile/lib/components/LikeControl/LikeControl.js +8 -0
- package/mobile/lib/components/LikeControl/LikeControl.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +5 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.js +40 -0
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -0
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +23 -0
- package/mobile/lib/components/LinkDocs/LinkDocsContent.js +2 -0
- package/mobile/lib/components/LinkDocs/LinkDocsContent.js.map +1 -0
- package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/mobile/lib/components/MiniGallery/MiniGallery.js +5 -0
- package/mobile/lib/components/MiniGallery/MiniGallery.js.map +1 -0
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +5 -0
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.js +2 -0
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +7 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +16 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.js +2 -0
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.js.map +1 -0
- package/mobile/lib/components/Navigation/Navigation.d.ts +5 -0
- package/mobile/lib/components/Navigation/Navigation.js +14 -0
- package/mobile/lib/components/Navigation/Navigation.js.map +1 -0
- package/mobile/lib/components/Navigation/NavigationContent.d.ts +10 -0
- package/mobile/lib/components/Navigation/NavigationContent.js +2 -0
- package/mobile/lib/components/Navigation/NavigationContent.js.map +1 -0
- package/mobile/lib/components/Navigation/NavigationItem.d.ts +4 -0
- package/mobile/lib/components/Navigation/NavigationItem.js +4 -0
- package/mobile/lib/components/Navigation/NavigationItem.js.map +1 -0
- package/mobile/lib/components/PictureText/PictureText.d.ts +5 -0
- package/mobile/lib/components/PictureText/PictureText.js +12 -0
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -0
- package/mobile/lib/components/PictureText/PictureTextContent.d.ts +9 -0
- package/mobile/lib/components/PictureText/PictureTextContent.js +2 -0
- package/mobile/lib/components/PictureText/PictureTextContent.js.map +1 -0
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +6 -0
- package/mobile/lib/components/Placeholder/Placeholder.js +13 -0
- package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -0
- package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +6 -0
- package/mobile/lib/components/Placeholder/PlaceholderContent.js +2 -0
- package/mobile/lib/components/Placeholder/PlaceholderContent.js.map +1 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.js +10 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -0
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +25 -0
- package/mobile/lib/components/ProductBlock/ProductBlockContent.js +2 -0
- package/mobile/lib/components/ProductBlock/ProductBlockContent.js.map +1 -0
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +5 -0
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +24 -0
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +5 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.js +25 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.js +2 -0
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.js.map +1 -0
- package/mobile/lib/components/ProductTile/ProductTile.d.ts +5 -0
- package/mobile/lib/components/ProductTile/ProductTile.js +18 -0
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -0
- package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +12 -0
- package/mobile/lib/components/ProductTile/ProductTileContent.js +2 -0
- package/mobile/lib/components/ProductTile/ProductTileContent.js.map +1 -0
- package/mobile/lib/components/PromoTile/PromoTile.d.ts +5 -0
- package/mobile/lib/components/PromoTile/PromoTile.js +16 -0
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -0
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +8 -0
- package/mobile/lib/components/PromoTile/PromoTileContent.js +2 -0
- package/mobile/lib/components/PromoTile/PromoTileContent.js.map +1 -0
- package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/mobile/lib/components/StepsBlock/StepsBlock.js +18 -0
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -0
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +29 -0
- package/mobile/lib/components/StepsBlock/StepsBlockContent.js +2 -0
- package/mobile/lib/components/StepsBlock/StepsBlockContent.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +5 -0
- package/mobile/lib/components/TariffsTable/TariffsTable.js +23 -0
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +6 -0
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +14 -0
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +59 -0
- package/mobile/lib/components/TariffsTable/TariffsTableContent.js +2 -0
- package/mobile/lib/components/TariffsTable/TariffsTableContent.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +8 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +11 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -0
- package/mobile/lib/components/TariffsTable/constants.d.ts +4 -0
- package/mobile/lib/components/TariffsTable/constants.js +5 -0
- package/mobile/lib/components/TariffsTable/constants.js.map +1 -0
- package/mobile/lib/components/TextBlock/TextBlock.d.ts +5 -0
- package/mobile/lib/components/TextBlock/TextBlock.js +34 -0
- package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -0
- package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +23 -0
- package/mobile/lib/components/TextBlock/TextBlockContent.js +2 -0
- package/mobile/lib/components/TextBlock/TextBlockContent.js.map +1 -0
- package/mobile/lib/components/Tile/Tile.d.ts +6 -0
- package/mobile/lib/components/Tile/Tile.js +37 -0
- package/mobile/lib/components/Tile/Tile.js.map +1 -0
- package/mobile/lib/components/Tile/TileContent.d.ts +5 -0
- package/mobile/lib/components/Tile/TileContent.js +2 -0
- package/mobile/lib/components/Tile/TileContent.js.map +1 -0
- package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +10 -0
- package/mobile/lib/content-page-repository/ContentPageRepository.js +50 -0
- package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -0
- package/mobile/lib/content-page-repository/TransformationOptions.d.ts +4 -0
- package/mobile/lib/content-page-repository/TransformationOptions.js +2 -0
- package/mobile/lib/content-page-repository/TransformationOptions.js.map +1 -0
- package/mobile/lib/content-page-repository/index.d.ts +2 -0
- package/mobile/lib/content-page-repository/index.js +3 -0
- package/mobile/lib/content-page-repository/index.js.map +1 -0
- package/mobile/lib/content-page-repository/mapJSON.d.ts +1 -0
- package/mobile/lib/content-page-repository/mapJSON.js +21 -0
- package/mobile/lib/content-page-repository/mapJSON.js.map +1 -0
- package/mobile/lib/content-page-repository/transformContentPage.d.ts +3 -0
- package/mobile/lib/content-page-repository/transformContentPage.js +24 -0
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -0
- package/mobile/lib/content-page-repository/transformMarkdown.d.ts +1 -0
- package/mobile/lib/content-page-repository/transformMarkdown.js +10 -0
- package/mobile/lib/content-page-repository/transformMarkdown.js.map +1 -0
- package/mobile/lib/content-page-repository/transformPicture.d.ts +3 -0
- package/mobile/lib/content-page-repository/transformPicture.js +39 -0
- package/mobile/lib/content-page-repository/transformPicture.js.map +1 -0
- package/mobile/lib/hooks/useComparisonTableScroll.d.ts +12 -0
- package/mobile/lib/hooks/useComparisonTableScroll.js +9 -0
- package/mobile/lib/hooks/useComparisonTableScroll.js.map +1 -0
- package/mobile/lib/hooks/useCreditCalculatorData.d.ts +3 -0
- package/mobile/lib/hooks/useCreditCalculatorData.js +12 -0
- package/mobile/lib/hooks/useCreditCalculatorData.js.map +1 -0
- package/mobile/lib/hooks/useLink.d.ts +15 -0
- package/mobile/lib/hooks/useLink.js +20 -0
- package/mobile/lib/hooks/useLink.js.map +1 -0
- package/mobile/lib/index.d.ts +19 -0
- package/mobile/lib/index.js +13 -0
- package/mobile/lib/index.js.map +1 -0
- package/mobile/lib/model/BgColorVersion.d.ts +8 -0
- package/mobile/lib/model/BgColorVersion.js +2 -0
- package/mobile/lib/model/BgColorVersion.js.map +1 -0
- package/mobile/lib/model/BlockVersion.d.ts +5 -0
- package/mobile/lib/model/BlockVersion.js +2 -0
- package/mobile/lib/model/BlockVersion.js.map +1 -0
- package/mobile/lib/model/ButtonVersion.d.ts +6 -0
- package/mobile/lib/model/ButtonVersion.js +2 -0
- package/mobile/lib/model/ButtonVersion.js.map +1 -0
- package/mobile/lib/model/GalleryVersion.d.ts +1 -0
- package/mobile/lib/model/GalleryVersion.js +2 -0
- package/mobile/lib/model/GalleryVersion.js.map +1 -0
- package/mobile/lib/model/LinkProps.d.ts +22 -0
- package/mobile/lib/model/LinkProps.js +2 -0
- package/mobile/lib/model/LinkProps.js.map +1 -0
- package/mobile/lib/model/Picture.d.ts +28 -0
- package/mobile/lib/model/Picture.js +2 -0
- package/mobile/lib/model/Picture.js.map +1 -0
- package/mobile/lib/model/SitemapProps.d.ts +13 -0
- package/mobile/lib/model/SitemapProps.js +2 -0
- package/mobile/lib/model/SitemapProps.js.map +1 -0
- package/mobile/lib/model/SizeVersion.d.ts +8 -0
- package/mobile/lib/model/SizeVersion.js +2 -0
- package/mobile/lib/model/SizeVersion.js.map +1 -0
- package/mobile/lib/model/TableVersion.d.ts +1 -0
- package/mobile/lib/model/TableVersion.js +2 -0
- package/mobile/lib/model/TableVersion.js.map +1 -0
- package/mobile/lib/services/sitemap/SitemapProps.d.ts +13 -0
- package/mobile/lib/services/sitemap/SitemapProps.js +2 -0
- package/mobile/lib/services/sitemap/SitemapProps.js.map +1 -0
- package/mobile/lib/services/sitemap/findActiveSubItem.d.ts +3 -0
- package/mobile/lib/services/sitemap/findActiveSubItem.js +10 -0
- package/mobile/lib/services/sitemap/findActiveSubItem.js.map +1 -0
- package/mobile/lib/services/sitemap/isHrefActive.d.ts +4 -0
- package/mobile/lib/services/sitemap/isHrefActive.js +6 -0
- package/mobile/lib/services/sitemap/isHrefActive.js.map +1 -0
- package/mobile/lib/services/sitemap/isSubItemActive.d.ts +3 -0
- package/mobile/lib/services/sitemap/isSubItemActive.js +3 -0
- package/mobile/lib/services/sitemap/isSubItemActive.js.map +1 -0
- package/mobile/lib/services/sitemap/isTopItemActive.d.ts +3 -0
- package/mobile/lib/services/sitemap/isTopItemActive.js +4 -0
- package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -0
- package/mobile/lib/services/sitemap/mergeTopItems.d.ts +2 -0
- package/mobile/lib/services/sitemap/mergeTopItems.js +5 -0
- package/mobile/lib/services/sitemap/mergeTopItems.js.map +1 -0
- package/mobile/lib/services/sitemap/useSitemap.d.ts +3 -0
- package/mobile/lib/services/sitemap/useSitemap.js +13 -0
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -0
- package/mobile/lib/types.d.ts +51 -0
- package/mobile/lib/types.js +2 -0
- package/mobile/lib/types.js.map +1 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItem.d.ts +2 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js +22 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItemProps.d.ts +21 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItemProps.js +2 -0
- package/mobile/lib/ui-kit/BlockItem/BlockItemProps.js.map +1 -0
- package/mobile/lib/ui-kit/Breadcrumb.d.ts +6 -0
- package/mobile/lib/ui-kit/Breadcrumb.js +11 -0
- package/mobile/lib/ui-kit/Breadcrumb.js.map +1 -0
- package/mobile/lib/ui-kit/Button/ArrowButton.d.ts +2 -0
- package/mobile/lib/ui-kit/Button/ArrowButton.js +20 -0
- package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -0
- package/mobile/lib/ui-kit/Button/Button.d.ts +6 -0
- package/mobile/lib/ui-kit/Button/Button.js +24 -0
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -0
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +30 -0
- package/mobile/lib/ui-kit/Button/ButtonProps.js +2 -0
- package/mobile/lib/ui-kit/Button/ButtonProps.js.map +1 -0
- package/mobile/lib/ui-kit/Button/LikeButton.d.ts +6 -0
- package/mobile/lib/ui-kit/Button/LikeButton.js +13 -0
- package/mobile/lib/ui-kit/Button/LikeButton.js.map +1 -0
- package/mobile/lib/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js +15 -0
- package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -0
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.d.ts +6 -0
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.js +2 -0
- package/mobile/lib/ui-kit/Checkbox/CheckboxProps.js.map +1 -0
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +19 -0
- package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/Icon.d.ts +2 -0
- package/mobile/lib/ui-kit/Icon/Icon.js +11 -0
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +147 -0
- package/mobile/lib/ui-kit/Icon/IconProps.js +70 -0
- package/mobile/lib/ui-kit/Icon/IconProps.js.map +1 -0
- package/mobile/lib/ui-kit/Img.d.ts +7 -0
- package/mobile/lib/ui-kit/Img.js +15 -0
- package/mobile/lib/ui-kit/Img.js.map +1 -0
- package/mobile/lib/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/mobile/lib/ui-kit/InputRange/InputRange.js +25 -0
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -0
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +10 -0
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.js +2 -0
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.js.map +1 -0
- package/mobile/lib/ui-kit/Logo/Logo.d.ts +7 -0
- package/mobile/lib/ui-kit/Logo/Logo.js +22 -0
- package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -0
- package/mobile/lib/ui-kit/SVG.d.ts +20 -0
- package/mobile/lib/ui-kit/SVG.js +6 -0
- package/mobile/lib/ui-kit/SVG.js.map +1 -0
- package/mobile/lib/ui-kit/SearchBar.d.ts +2 -0
- package/mobile/lib/ui-kit/SearchBar.js +12 -0
- package/mobile/lib/ui-kit/SearchBar.js.map +1 -0
- package/mobile/lib/ui-kit/Title/Title.d.ts +3 -0
- package/mobile/lib/ui-kit/Title/Title.js +16 -0
- package/mobile/lib/ui-kit/Title/Title.js.map +1 -0
- package/mobile/lib/ui-kit/Title/TitleProps.d.ts +4 -0
- package/mobile/lib/ui-kit/Title/TitleProps.js +2 -0
- package/mobile/lib/ui-kit/Title/TitleProps.js.map +1 -0
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +13 -0
- package/mobile/lib/ui-kit/TopItem/TopItem.js +22 -0
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -0
- package/mobile/lib/utils/addSpacesBetweenNumbers.d.ts +1 -0
- package/mobile/lib/utils/addSpacesBetweenNumbers.js +2 -0
- package/mobile/lib/utils/addSpacesBetweenNumbers.js.map +1 -0
- package/mobile/lib/utils/adjustHref.d.ts +4 -0
- package/mobile/lib/utils/adjustHref.js +18 -0
- package/mobile/lib/utils/adjustHref.js.map +1 -0
- package/mobile/lib/utils/clamp.d.ts +1 -0
- package/mobile/lib/utils/clamp.js +2 -0
- package/mobile/lib/utils/clamp.js.map +1 -0
- package/mobile/lib/utils/getColSpan.d.ts +1 -0
- package/mobile/lib/utils/getColSpan.js +6 -0
- package/mobile/lib/utils/getColSpan.js.map +1 -0
- package/mobile/lib/utils/getGeolocation.d.ts +1 -0
- package/mobile/lib/utils/getGeolocation.js +2 -0
- package/mobile/lib/utils/getGeolocation.js.map +1 -0
- package/mobile/lib/utils/joinList.d.ts +1 -0
- package/mobile/lib/utils/joinList.js +4 -0
- package/mobile/lib/utils/joinList.js.map +1 -0
- package/mobile/lib/utils/maxBy.d.ts +2 -0
- package/mobile/lib/utils/maxBy.js +3 -0
- package/mobile/lib/utils/maxBy.js.map +1 -0
- package/mobile/lib/utils/url.d.ts +3 -0
- package/mobile/lib/utils/url.js +13 -0
- package/mobile/lib/utils/url.js.map +1 -0
- package/mobile/lib/utils/withoutMobilePath.d.ts +2 -0
- package/mobile/lib/utils/withoutMobilePath.js +3 -0
- package/mobile/lib/utils/withoutMobilePath.js.map +1 -0
- package/mobile/src/ProjectSettings.ts +43 -0
- package/mobile/src/api/DaDataAPI.ts +34 -0
- package/mobile/src/api/LikeAPI.ts +145 -0
- package/mobile/src/common.css +141 -0
- package/mobile/src/components/Accordion/Accordion.example.json +50 -0
- package/mobile/src/components/Accordion/Accordion.tsx +22 -0
- package/mobile/src/components/Accordion/AccordionBlocks.tsx +11 -0
- package/mobile/src/components/Accordion/AccordionContent.ts +79 -0
- package/mobile/src/components/Accordion/AccordionItem.tsx +72 -0
- package/mobile/src/components/BaseTile/BaseTile.tsx +108 -0
- package/mobile/src/components/BaseTile/BaseTileProps.ts +44 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.example.json +13 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +43 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +25 -0
- package/mobile/src/components/BlockContent.ts +43 -0
- package/mobile/src/components/Blocks.ts +31 -0
- package/mobile/src/components/ComparisonTable/ComparisonTable.example.json +84 -0
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +129 -0
- package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +64 -0
- package/mobile/src/components/ComparisonTable/HeaderCell.tsx +50 -0
- package/mobile/src/components/ComparisonTable/TableCarouselContainer.tsx +26 -0
- package/mobile/src/components/ComparisonTable/TableCell.tsx +43 -0
- package/mobile/src/components/ComparisonTable/TableRow.tsx +44 -0
- package/mobile/src/components/ComparisonTable/TableRowContainer.tsx +7 -0
- package/mobile/src/components/ComparisonTable/constants.ts +6 -0
- package/mobile/src/components/ContentPage/ContentPage.page.json +2061 -0
- package/mobile/src/components/ContentPage/ContentPage.tsx +125 -0
- package/mobile/src/components/ContentPage/ContentPageContext.tsx +37 -0
- package/mobile/src/components/ContentPage/ContentPageHead.tsx +26 -0
- package/mobile/src/components/ContentPage/toMobilePage.ts +38 -0
- package/mobile/src/components/CreditCalculator/CreditCalculator.tsx +154 -0
- package/mobile/src/components/CreditCalculator/CreditCalculatorContent.ts +21 -0
- package/mobile/src/components/CreditCalculator/constants.ts +8 -0
- package/mobile/src/components/CreditCalculator/getCalculatorParams.ts +16 -0
- package/mobile/src/components/CreditCalculator/getCreditRate.ts +18 -0
- package/mobile/src/components/CreditCalculator/getCreditTermYears.spec.ts +10 -0
- package/mobile/src/components/CreditCalculator/getCreditTermYears.ts +15 -0
- package/mobile/src/components/CreditCalculator/getMonthlyPayment.ts +32 -0
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +80 -0
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +7 -0
- package/mobile/src/components/Footer/Contacts.tsx +73 -0
- package/mobile/src/components/Footer/Footer.tsx +12 -0
- package/mobile/src/components/Footer/FooterContent.ts +42 -0
- package/mobile/src/components/Footer/FooterLink.ts +6 -0
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +46 -0
- package/mobile/src/components/Footer/Sitemap.tsx +59 -0
- package/mobile/src/components/Footer/SocialMedia.tsx +63 -0
- package/mobile/src/components/Footer/TextInformation.tsx +50 -0
- package/mobile/src/components/Gallery/Gallery.example.json +58 -0
- package/mobile/src/components/Gallery/Gallery.tsx +69 -0
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +53 -0
- package/mobile/src/components/Gallery/GalleryContainer.tsx +59 -0
- package/mobile/src/components/Gallery/GalleryContent.ts +34 -0
- package/mobile/src/components/Gallery/GalleryInner.tsx +57 -0
- package/mobile/src/components/Gallery/GalleryProps.ts +4 -0
- package/mobile/src/components/Gallery/constants.ts +22 -0
- package/mobile/src/components/Header/Header.tsx +72 -0
- package/mobile/src/components/Header/HeaderContent.ts +20 -0
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +69 -0
- package/mobile/src/components/Header/HeaderSecondaryMenuButton.tsx +19 -0
- package/mobile/src/components/Headline/Headline.example.json +6 -0
- package/mobile/src/components/Headline/Headline.tsx +32 -0
- package/mobile/src/components/Headline/HeadlineContent.ts +10 -0
- package/mobile/src/components/LikeControl/LikeControl.tsx +23 -0
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +26 -0
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +82 -0
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +26 -0
- package/mobile/src/components/MiniGallery/MiniGallery.example.json +50 -0
- package/mobile/src/components/MiniGallery/MiniGallery.tsx +10 -0
- package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +6 -0
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +20 -0
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +32 -0
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +18 -0
- package/mobile/src/components/Navigation/Navigation.tsx +39 -0
- package/mobile/src/components/Navigation/NavigationContent.ts +11 -0
- package/mobile/src/components/Navigation/NavigationItem.tsx +17 -0
- package/mobile/src/components/PictureText/PictureText.example.json +20 -0
- package/mobile/src/components/PictureText/PictureText.tsx +47 -0
- package/mobile/src/components/PictureText/PictureTextContent.ts +10 -0
- package/mobile/src/components/Placeholder/Placeholder.tsx +30 -0
- package/mobile/src/components/Placeholder/PlaceholderContent.ts +6 -0
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +17 -0
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +20 -0
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +28 -0
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +86 -0
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +21 -0
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +80 -0
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +31 -0
- package/mobile/src/components/ProductTile/ProductTile.example.json +30 -0
- package/mobile/src/components/ProductTile/ProductTile.tsx +44 -0
- package/mobile/src/components/ProductTile/ProductTileContent.ts +13 -0
- package/mobile/src/components/PromoTile/PromoTile.example.json +13 -0
- package/mobile/src/components/PromoTile/PromoTile.tsx +43 -0
- package/mobile/src/components/PromoTile/PromoTileContent.ts +9 -0
- package/mobile/src/components/StepsBlock/StepsBlock.example.json +19 -0
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +72 -0
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +32 -0
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +83 -0
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +74 -0
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +61 -0
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +65 -0
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +51 -0
- package/mobile/src/components/TariffsTable/constants.ts +4 -0
- package/mobile/src/components/TextBlock/TextBlock.example.json +13 -0
- package/mobile/src/components/TextBlock/TextBlock.tsx +65 -0
- package/mobile/src/components/TextBlock/TextBlockContent.ts +26 -0
- package/mobile/src/components/Tile/Tile.example.json +21 -0
- package/mobile/src/components/Tile/Tile.tsx +52 -0
- package/mobile/src/components/Tile/TileContent.ts +6 -0
- package/mobile/src/content-page-repository/ContentPageRepository.ts +63 -0
- package/mobile/src/content-page-repository/TransformationOptions.ts +4 -0
- package/mobile/src/content-page-repository/index.ts +2 -0
- package/mobile/src/content-page-repository/mapJSON.spec.ts +28 -0
- package/mobile/src/content-page-repository/mapJSON.ts +23 -0
- package/mobile/src/content-page-repository/transformContentPage.ts +33 -0
- package/mobile/src/content-page-repository/transformMarkdown.ts +10 -0
- package/mobile/src/content-page-repository/transformPicture.ts +61 -0
- package/mobile/src/hooks/useComparisonTableScroll.ts +21 -0
- package/mobile/src/hooks/useCreditCalculatorData.ts +23 -0
- package/mobile/src/hooks/useLink.ts +29 -0
- package/mobile/src/icons/ActualBalanceIcon.svg +187 -0
- package/mobile/src/icons/AppleIcon.svg +1 -0
- package/mobile/src/icons/Calendar2Icon.svg +1 -0
- package/mobile/src/icons/CalendarCircleIcon.svg +1 -0
- package/mobile/src/icons/CalendarIcon.svg +17 -0
- package/mobile/src/icons/CalendarTickIcon.svg +1 -0
- package/mobile/src/icons/CalendarWhiteIcon.svg +17 -0
- package/mobile/src/icons/CardIcon.svg +1 -0
- package/mobile/src/icons/CardPosIcon.svg +1 -0
- package/mobile/src/icons/CardTickIcon.svg +1 -0
- package/mobile/src/icons/CardWithGemIcon.svg +1 -0
- package/mobile/src/icons/ChartSquareIcon.svg +1 -0
- package/mobile/src/icons/ClockIcon.svg +209 -0
- package/mobile/src/icons/ComfortableCompIcon.svg +374 -0
- package/mobile/src/icons/CreditCardsIcon.svg +1 -0
- package/mobile/src/icons/DiscountShapeIcon.svg +1 -0
- package/mobile/src/icons/DocIcon.svg +5 -0
- package/mobile/src/icons/DocumentTextIcon.svg +6 -0
- package/mobile/src/icons/DollarIcon.svg +10 -0
- package/mobile/src/icons/EarthIcon.svg +1 -0
- package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -0
- package/mobile/src/icons/EmptyWalletIcon.svg +17 -0
- package/mobile/src/icons/EmptyWalletWhiteIcon.svg +16 -0
- package/mobile/src/icons/EuroIcon.svg +10 -0
- package/mobile/src/icons/GlassIcon.svg +1 -0
- package/mobile/src/icons/GlobalIcon.svg +1 -0
- package/mobile/src/icons/GridIcon.svg +4 -0
- package/mobile/src/icons/GridIconWhite.svg +4 -0
- package/mobile/src/icons/InterestGrowthIcon.svg +1 -0
- package/mobile/src/icons/InterestIcon.svg +1 -0
- package/mobile/src/icons/JCBIcon.svg +1 -0
- package/mobile/src/icons/LoupeIcon.svg +9 -0
- package/mobile/src/icons/MasterCardIcon.svg +1 -0
- package/mobile/src/icons/MinusIcon.svg +1 -0
- package/mobile/src/icons/MirIcon.svg +1 -0
- package/mobile/src/icons/MoneyIcon.svg +1 -0
- package/mobile/src/icons/MoneyInsuranceIcon.svg +1 -0
- package/mobile/src/icons/MonitorMobileIcon.svg +1 -0
- package/mobile/src/icons/NewDocIcon.svg +251 -0
- package/mobile/src/icons/OfficeIcon.svg +1 -0
- package/mobile/src/icons/OkIcon.svg +5 -0
- package/mobile/src/icons/PassSendIcon.svg +238 -0
- package/mobile/src/icons/PercentageRoundIcon.svg +1 -0
- package/mobile/src/icons/PercentageSquareIcon.svg +16 -0
- package/mobile/src/icons/PercentageSquareWhiteIcon.svg +16 -0
- package/mobile/src/icons/PersonalCardIcon.svg +1 -0
- package/mobile/src/icons/PlayMarketIcon.svg +1 -0
- package/mobile/src/icons/PlusIcon.svg +1 -0
- package/mobile/src/icons/Profile2UserIcon.svg +1 -0
- package/mobile/src/icons/ProfileIcon.svg +16 -0
- package/mobile/src/icons/RoundRubleIcon.svg +1 -0
- package/mobile/src/icons/SafeIcon.svg +1 -0
- package/mobile/src/icons/ShieldTickIcon.svg +1 -0
- package/mobile/src/icons/SignDocsIcon.svg +288 -0
- package/mobile/src/icons/SmallClockIcon.svg +1 -0
- package/mobile/src/icons/TelegramIcon.svg +5 -0
- package/mobile/src/icons/UnionPayIcon.svg +1 -0
- package/mobile/src/icons/UserTickIcon.svg +1 -0
- package/mobile/src/icons/VKIcon.svg +7 -0
- package/mobile/src/icons/VisaIcon.svg +1 -0
- package/mobile/src/icons/WalletAdd2Icon.svg +1 -0
- package/mobile/src/icons/WalletAddIcon.svg +1 -0
- package/mobile/src/icons/WalletIcon.svg +1 -0
- package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -0
- package/mobile/src/index.ts +34 -0
- package/mobile/src/model/BgColorVersion.ts +8 -0
- package/mobile/src/model/BlockVersion.ts +5 -0
- package/mobile/src/model/ButtonVersion.ts +6 -0
- package/mobile/src/model/GalleryVersion.ts +1 -0
- package/mobile/src/model/LinkProps.ts +23 -0
- package/mobile/src/model/Picture.ts +30 -0
- package/mobile/src/model/SitemapProps.ts +15 -0
- package/mobile/src/model/SizeVersion.ts +8 -0
- package/mobile/src/model/TableVersion.ts +1 -0
- package/mobile/src/services/sitemap/SitemapProps.ts +15 -0
- package/mobile/src/services/sitemap/findActiveSubItem.ts +14 -0
- package/mobile/src/services/sitemap/isHrefActive.ts +13 -0
- package/mobile/src/services/sitemap/isSubItemActive.ts +8 -0
- package/mobile/src/services/sitemap/isTopItemActive.ts +9 -0
- package/mobile/src/services/sitemap/mergeTopItems.spec.ts +20 -0
- package/mobile/src/services/sitemap/mergeTopItems.ts +12 -0
- package/mobile/src/services/sitemap/useSitemap.ts +17 -0
- package/mobile/src/setup-fixture.ts +83 -0
- package/mobile/src/types.ts +61 -0
- package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +36 -0
- package/mobile/src/ui-kit/BlockItem/BlockItemProps.ts +23 -0
- package/mobile/src/ui-kit/Breadcrumb.tsx +26 -0
- package/mobile/src/ui-kit/Button/ArrowButton.tsx +32 -0
- package/mobile/src/ui-kit/Button/Button.tsx +94 -0
- package/mobile/src/ui-kit/Button/ButtonProps.ts +33 -0
- package/mobile/src/ui-kit/Button/LikeButton.tsx +41 -0
- package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +40 -0
- package/mobile/src/ui-kit/Checkbox/CheckboxProps.ts +6 -0
- package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +39 -0
- package/mobile/src/ui-kit/Icon/Icon.tsx +30 -0
- package/mobile/src/ui-kit/Icon/IconProps.ts +149 -0
- package/mobile/src/ui-kit/Img.tsx +35 -0
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +65 -0
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +10 -0
- package/mobile/src/ui-kit/Logo/Logo.tsx +47 -0
- package/mobile/src/ui-kit/SVG.tsx +41 -0
- package/mobile/src/ui-kit/SearchBar.tsx +46 -0
- package/mobile/src/ui-kit/Title/Title.tsx +22 -0
- package/mobile/src/ui-kit/Title/TitleProps.ts +5 -0
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +64 -0
- package/mobile/src/utils/addSpacesBetweenNumbers.ts +2 -0
- package/mobile/src/utils/adjustHref.spec.ts +25 -0
- package/mobile/src/utils/adjustHref.ts +24 -0
- package/mobile/src/utils/clamp.ts +2 -0
- package/mobile/src/utils/getColSpan.ts +5 -0
- package/mobile/src/utils/getGeolocation.ts +4 -0
- package/mobile/src/utils/joinList.ts +7 -0
- package/mobile/src/utils/maxBy.spec.ts +11 -0
- package/mobile/src/utils/maxBy.ts +7 -0
- package/mobile/src/utils/url.spec.ts +17 -0
- package/mobile/src/utils/url.ts +15 -0
- package/mobile/src/utils/withoutMobilePath.ts +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAC9C,oDAAiD;AAKpC,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtF,OAAO,CACL,qCACE,SAAS,EAAE,6EACT,SAAS,IAAI,EACf,EAAE,aAED,KAAK,CAAC,CAAC,CAAC,uBAAC,aAAK,IAAC,SAAS,EAAC,2CAA2C,YAAE,KAAK,GAAS,CAAC,CAAC,CAAC,IAAI,EAC3F,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,6BAA6B,YAAE,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,GAAO,CAC9E,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,OAAgB,EAAE,CAAS,EAAE,EAAE;IACjD,OAAO,CACL,iCAAqB,SAAS,EAAC,4CAA4C,aACxE,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,6CAA6C,EACvD,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,EACD,4CACE,+BAAI,SAAS,EAAC,yBAAyB,YAAE,OAAO,CAAC,KAAK,GAAM,EAC3D,OAAO,CAAC,WAAW,IAAI,CACtB,gCAAK,SAAS,EAAC,0BAA0B,YAAE,OAAO,CAAC,WAAW,GAAO,CACtE,IACG,KAdE,MAAM,CAAC,CAAC,CAAC,CAeb,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { IconName } from '../../ui-kit/Icon/IconProps';
|
|
2
|
+
/**
|
|
3
|
+
* @title Преимущество
|
|
4
|
+
*/
|
|
5
|
+
export interface Benefit {
|
|
6
|
+
/** @title Название */
|
|
7
|
+
label?: string;
|
|
8
|
+
/** @title Описание */
|
|
9
|
+
description?: string;
|
|
10
|
+
icon?: IconName;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @title Блок преимущества
|
|
14
|
+
*/
|
|
15
|
+
export interface BenefitsBlockContent {
|
|
16
|
+
/** @title Заголовок */
|
|
17
|
+
title?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @title Список преимуществ
|
|
20
|
+
* @maxItems 6
|
|
21
|
+
*/
|
|
22
|
+
benefits?: Benefit[];
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BenefitsBlockContent.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlockContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { BenefitsBlockContent } from './BenefitsBlock/BenefitsBlockContent';
|
|
2
|
+
import type { ComparisonTableContent } from './ComparisonTable/ComparisonTableContent';
|
|
3
|
+
import type { ExchangeRateTileContent } from './ExchangeRateTile/ExchangeRateTileContent';
|
|
4
|
+
import type { FooterContent } from './Footer/FooterContent';
|
|
5
|
+
import type { GalleryContent } from './Gallery/GalleryContent';
|
|
6
|
+
import type { HeaderContent } from './Header/HeaderContent';
|
|
7
|
+
import type { LinkDocsContent } from './LinkDocs/LinkDocsContent';
|
|
8
|
+
import type { MobileAppTileContent } from './MobileAppTile/MobileAppTileContent';
|
|
9
|
+
import type { NavigationContent } from './Navigation/NavigationContent';
|
|
10
|
+
import type { PictureTextContent } from './PictureText/PictureTextContent';
|
|
11
|
+
import type { PlaceholderContent } from './Placeholder/PlaceholderContent';
|
|
12
|
+
import type { ProductBlockContent } from './ProductBlock/ProductBlockContent';
|
|
13
|
+
import type { ProductGalleryContent } from './ProductGallery/ProductGalleryContent';
|
|
14
|
+
import type { ProductTileContent } from './ProductTile/ProductTileContent';
|
|
15
|
+
import type { PromoTileContent } from './PromoTile/PromoTileContent';
|
|
16
|
+
import type { StepsBlockContent } from './StepsBlock/StepsBlockContent';
|
|
17
|
+
import type { TariffsTableContent } from './TariffsTable/TariffsTableContent';
|
|
18
|
+
import type { TextBlockContent } from './TextBlock/TextBlockContent';
|
|
19
|
+
import type { TileContent } from './Tile/TileContent';
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
*/
|
|
23
|
+
export declare type BlockContent = BenefitsBlockContent | ComparisonTableContent | ExchangeRateTileContent | FooterContent | GalleryContent | HeaderContent | LinkDocsContent | MobileAppTileContent | PictureTextContent | PlaceholderContent | ProductBlockContent | ProductGalleryContent | ProductTileContent | PromoTileContent | StepsBlockContent | TariffsTableContent | TextBlockContent | TileContent | NavigationContent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockContent.js","sourceRoot":"","sources":["../../src/components/BlockContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const Blocks: {
|
|
2
|
+
ExchangeRateTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ExchangeRateTile/ExchangeRateTile").ExchangeRateTileProps, any>, context?: any) => any;
|
|
3
|
+
Footer: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Footer/Footer").FooterProps, any>, context?: any) => any;
|
|
4
|
+
Gallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Gallery/GalleryProps").GalleryProps, any>, context?: any) => any;
|
|
5
|
+
Header: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Header/Header").HeaderProps, any>, context?: any) => any;
|
|
6
|
+
Headline: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Headline/Headline").HeadlineProps, any>, context?: any) => any;
|
|
7
|
+
MobileAppTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./MobileAppTile/MobileAppTile").MobileAppTileProps, any>, context?: any) => any;
|
|
8
|
+
PictureText: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./PictureText/PictureText").PictureTextProps, any>, context?: any) => any;
|
|
9
|
+
Placeholder: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Placeholder/Placeholder").PlaceholderProps, any>, context?: any) => any;
|
|
10
|
+
ProductBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ProductBlock/ProductBlock").ProductBlockProps, any>, context?: any) => any;
|
|
11
|
+
ProductTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./ProductTile/ProductTile").ProductTileProps, any>, context?: any) => any;
|
|
12
|
+
TextBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./TextBlock/TextBlock").TextBlockProps, any>, context?: any) => any;
|
|
13
|
+
Tile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Tile/Tile").TileProps, any>, context?: any) => any;
|
|
14
|
+
Navigation: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Navigation/Navigation").NavigationProps, any>, context?: any) => any;
|
|
15
|
+
StepsBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./StepsBlock/StepsBlock").StepsBlockProps, any>, context?: any) => any;
|
|
16
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.Blocks = void 0;
|
|
3
|
+
const ExchangeRateTile_1 = require("./ExchangeRateTile/ExchangeRateTile");
|
|
4
|
+
const Footer_1 = require("./Footer/Footer");
|
|
5
|
+
const Gallery_1 = require("./Gallery/Gallery");
|
|
6
|
+
const Header_1 = require("./Header/Header");
|
|
7
|
+
const Headline_1 = require("./Headline/Headline");
|
|
8
|
+
const MobileAppTile_1 = require("./MobileAppTile/MobileAppTile");
|
|
9
|
+
const Navigation_1 = require("./Navigation/Navigation");
|
|
10
|
+
const PictureText_1 = require("./PictureText/PictureText");
|
|
11
|
+
const Placeholder_1 = require("./Placeholder/Placeholder");
|
|
12
|
+
const ProductBlock_1 = require("./ProductBlock/ProductBlock");
|
|
13
|
+
const ProductTile_1 = require("./ProductTile/ProductTile");
|
|
14
|
+
const StepsBlock_1 = require("./StepsBlock/StepsBlock");
|
|
15
|
+
const TextBlock_1 = require("./TextBlock/TextBlock");
|
|
16
|
+
const Tile_1 = require("./Tile/Tile");
|
|
17
|
+
exports.Blocks = {
|
|
18
|
+
ExchangeRateTile: ExchangeRateTile_1.ExchangeRateTile,
|
|
19
|
+
Footer: Footer_1.Footer,
|
|
20
|
+
Gallery: Gallery_1.Gallery,
|
|
21
|
+
Header: Header_1.Header,
|
|
22
|
+
Headline: Headline_1.Headline,
|
|
23
|
+
MobileAppTile: MobileAppTile_1.MobileAppTile,
|
|
24
|
+
PictureText: PictureText_1.PictureText,
|
|
25
|
+
Placeholder: Placeholder_1.Placeholder,
|
|
26
|
+
ProductBlock: ProductBlock_1.ProductBlock,
|
|
27
|
+
ProductTile: ProductTile_1.ProductTile,
|
|
28
|
+
TextBlock: TextBlock_1.TextBlock,
|
|
29
|
+
Tile: Tile_1.Tile,
|
|
30
|
+
Navigation: Navigation_1.Navigation,
|
|
31
|
+
StepsBlock: StepsBlock_1.StepsBlock,
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=Blocks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":";;AAAA,0EAAuE;AACvE,4CAAyC;AACzC,+CAA4C;AAC5C,4CAAyC;AACzC,kDAA+C;AAC/C,iEAA8D;AAC9D,wDAAqD;AACrD,2DAAwD;AACxD,2DAAwD;AACxD,8DAA2D;AAC3D,2DAAwD;AACxD,wDAAqD;AACrD,qDAAkD;AAClD,sCAAmC;AAEtB,QAAA,MAAM,GAAG;IACpB,gBAAgB,EAAhB,mCAAgB;IAChB,MAAM,EAAN,eAAM;IACN,OAAO,EAAP,iBAAO;IACP,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,WAAW,EAAX,yBAAW;IACX,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,WAAW,EAAX,yBAAW;IACX,SAAS,EAAT,qBAAS;IACT,IAAI,EAAJ,WAAI;IACJ,UAAU,EAAV,uBAAU;IACV,UAAU,EAAV,uBAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../types';
|
|
2
|
+
import type { ComparisonTableContent } from './ComparisonTableContent';
|
|
3
|
+
export interface ComparisonTableProps extends ComparisonTableContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const ComparisonTable: (props: import("@redneckz/uni-jsx").PropsWithChildren<ComparisonTableProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.ComparisonTable = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const useComparisonTableScroll_1 = require("../../hooks/useComparisonTableScroll");
|
|
6
|
+
const useLink_1 = require("../../hooks/useLink");
|
|
7
|
+
const ArrowButton_1 = require("../../ui-kit/Button/ArrowButton");
|
|
8
|
+
const Title_1 = require("../../ui-kit/Title/Title");
|
|
9
|
+
const constants_1 = require("./constants");
|
|
10
|
+
const HeaderCell_1 = require("./HeaderCell");
|
|
11
|
+
const TableCarouselContainer_1 = require("./TableCarouselContainer");
|
|
12
|
+
const TableRow_1 = require("./TableRow");
|
|
13
|
+
const TableRowContainer_1 = require("./TableRowContainer");
|
|
14
|
+
exports.ComparisonTable = (0, uni_jsx_1.JSX)(({ className, context, title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, }) => {
|
|
15
|
+
const router = context.useRouter();
|
|
16
|
+
const { handlerDecorator } = context;
|
|
17
|
+
const [activeCardIndex, setActiveCardIndex] = context.useState(0);
|
|
18
|
+
const [isShowAllRow, setIsShowAllRow] = context.useState(!visibleRowLength);
|
|
19
|
+
const colHeaders = columns?.map(({ header }) => header || {});
|
|
20
|
+
const colData = columns?.map(({ data }) => data) || [];
|
|
21
|
+
const rowData = rowHeaders
|
|
22
|
+
?.map((header, i) => ({
|
|
23
|
+
header,
|
|
24
|
+
data: colData.map((col) => col?.[i] || [{}]),
|
|
25
|
+
}))
|
|
26
|
+
.slice(0, isShowAllRow ? rowHeaders.length : visibleRowLength);
|
|
27
|
+
const { nextClick, prevClick, isScrollAvailable, showNextButton, showPrevButton } = (0, useComparisonTableScroll_1.useComparisonTableScroll)({
|
|
28
|
+
colData,
|
|
29
|
+
colsLengthForScroll: constants_1.COLS_LENGTH_FOR_SCROLL,
|
|
30
|
+
activeCardIndex,
|
|
31
|
+
setActiveCardIndex,
|
|
32
|
+
});
|
|
33
|
+
const showToggle = () => setIsShowAllRow(!isShowAllRow);
|
|
34
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${className || ''}`, children: [(0, jsx_runtime_1.jsx)(Title_1.Title, { className: "font-medium m-0 max-w-[47rem] text-center mb-9 mx-auto", children: title }), (0, jsx_runtime_1.jsxs)("div", { role: "table", children: [colHeaders?.length ? ((0, jsx_runtime_1.jsxs)(TableRowContainer_1.TableRowContainer, { children: [(0, jsx_runtime_1.jsx)("div", { className: constants_1.FIRST_CELL_CLASSES, role: "columnheader", scope: "col" }), (0, jsx_runtime_1.jsx)(TableCarouselContainer_1.TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: constants_1.COLUMN_WIDTH, children: colHeaders.map((header, i) => ((0, jsx_runtime_1.jsx)(HeaderCell_1.HeaderCell, { ...header, link: header.link && (0, useLink_1.useLink)({ router, handlerDecorator }, header.link) }, String(i)))) })] })) : null, rowData?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: "relative", children: [rowData.map((row, i, { length }) => ((0, jsx_runtime_1.jsx)(TableRow_1.TableRow, { row: row, isFirstRow: i === 0, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex, isColoredFirstColumn: isColoredFirstColumn }, String(i)))), isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", { className: "absolute top-7 right-7 z-10", children: [(0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { onClick: nextClick, disabled: !showNextButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E" }), (0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { className: "mt-4 rotate-180", onClick: prevClick, disabled: !showPrevButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E" })] }) })) : null] })) : null] }), isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null, visibleRowLength ? ((0, jsx_runtime_1.jsx)("div", { className: "pr-[50px]", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: constants_1.FIRST_CELL_CLASSES }), (0, jsx_runtime_1.jsx)("button", { onClick: showToggle, className: "mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: (0, jsx_runtime_1.jsx)("div", { className: "font-sans font-medium text-xs py-[11px]", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) })) : null] }));
|
|
35
|
+
});
|
|
36
|
+
//# sourceMappingURL=ComparisonTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
+
import type { Picture } from '../../model/Picture';
|
|
3
|
+
import type { IconName } from '../../ui-kit/Icon/IconProps';
|
|
4
|
+
/**
|
|
5
|
+
* @hidden
|
|
6
|
+
*/
|
|
7
|
+
export declare type Row = {
|
|
8
|
+
header: RowHeader;
|
|
9
|
+
data: CellData[][];
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @title Ячейка
|
|
13
|
+
*/
|
|
14
|
+
export interface CellData {
|
|
15
|
+
/** @title Заголовок */
|
|
16
|
+
label?: string;
|
|
17
|
+
/** @title Описание */
|
|
18
|
+
description?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @title Шапка колонки
|
|
22
|
+
*/
|
|
23
|
+
export interface ColumnHeader {
|
|
24
|
+
/** @title Заголовок */
|
|
25
|
+
title?: string;
|
|
26
|
+
icon?: IconName;
|
|
27
|
+
image?: Picture;
|
|
28
|
+
link?: LinkProps;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @title Продукт
|
|
32
|
+
*/
|
|
33
|
+
export interface Column {
|
|
34
|
+
header?: ColumnHeader;
|
|
35
|
+
/** @title Данные */
|
|
36
|
+
data?: CellData[][];
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @title Параметр
|
|
40
|
+
*/
|
|
41
|
+
export interface RowHeader {
|
|
42
|
+
/** @title Заголовок */
|
|
43
|
+
title?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @title Сравнительная таблица
|
|
47
|
+
*/
|
|
48
|
+
export interface ComparisonTableContent {
|
|
49
|
+
/** @title Заголовок */
|
|
50
|
+
title?: string;
|
|
51
|
+
/** @title Параметры */
|
|
52
|
+
rowHeaders?: RowHeader[];
|
|
53
|
+
/** @title Продукты */
|
|
54
|
+
columns?: Column[];
|
|
55
|
+
/** @title Закрасить первую колонку */
|
|
56
|
+
isColoredFirstColumn?: boolean;
|
|
57
|
+
/** @title Отображать заданное количество строк */
|
|
58
|
+
visibleRowLength?: number;
|
|
59
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComparisonTableContent.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTableContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
+
import type { Picture } from '../../model/Picture';
|
|
3
|
+
import type { IconName } from '../../ui-kit/Icon/IconProps';
|
|
4
|
+
export interface HeaderCellProps {
|
|
5
|
+
icon?: IconName;
|
|
6
|
+
image?: Picture;
|
|
7
|
+
title?: string;
|
|
8
|
+
link?: LinkProps;
|
|
9
|
+
}
|
|
10
|
+
export declare const HeaderCell: (props: import("@redneckz/uni-jsx").PropsWithChildren<HeaderCellProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.HeaderCell = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const Button_1 = require("../../ui-kit/Button/Button");
|
|
6
|
+
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
7
|
+
const Img_1 = require("../../ui-kit/Img");
|
|
8
|
+
const Title_1 = require("../../ui-kit/Title/Title");
|
|
9
|
+
const constants_1 = require("./constants");
|
|
10
|
+
exports.HeaderCell = (0, uni_jsx_1.JSX)(({ icon, image, title, link }) => ((0, jsx_runtime_1.jsxs)("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${constants_1.BORDER_CLASSES} ${constants_1.GRADIENT}`, role: "columnheader", scope: "col", children: [icon && !image?.src && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", name: icon, width: "63", height: "63" })), image?.src && (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mb-[18px]", image: image }), title && ((0, jsx_runtime_1.jsx)(Title_1.Title, { size: "S", className: "font-medium m-0 text-center text-white", children: title })), link?.text && ((0, jsx_runtime_1.jsx)("div", { className: "mt-auto w-full", children: (0, jsx_runtime_1.jsx)(Button_1.Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: (0, jsx_runtime_1.jsx)("div", { className: "font-medium text-xs py-[11px]", children: link.text }) }) }))] })));
|
|
11
|
+
//# sourceMappingURL=HeaderCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HeaderCell.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/HeaderCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,uDAAoD;AACpD,iDAA8C;AAE9C,0CAAuC;AACvC,oDAAiD;AACjD,2CAAuD;AAS1C,QAAA,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAC/E,iCACE,SAAS,EAAE,0FAA0F,0BAAc,IAAI,oBAAQ,EAAE,EACjI,IAAI,EAAC,cAAc,EACnB,KAAK,EAAC,KAAK,aAEV,IAAI,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CACtB,uBAAC,WAAI,IACH,SAAS,EAAC,kDAAkD,EAC5D,IAAI,EAAE,IAAI,EACV,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,EACA,KAAK,EAAE,GAAG,IAAI,uBAAC,SAAG,IAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAE,KAAK,GAAI,EACzD,KAAK,IAAI,CACR,uBAAC,aAAK,IAAC,IAAI,EAAC,GAAG,EAAC,SAAS,EAAC,wCAAwC,YAC/D,KAAK,GACA,CACT,EACA,IAAI,EAAE,IAAI,IAAI,CACb,gCAAK,SAAS,EAAC,gBAAgB,YAC7B,uBAAC,eAAM,IACL,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,SAAS,EAAC,4FAA4F,YAEtG,gCAAK,SAAS,EAAC,+BAA+B,YAAE,IAAI,CAAC,IAAI,GAAO,GACzD,GACL,CACP,IACG,CACP,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TableVersion } from '../../model/TableVersion';
|
|
2
|
+
export interface TableCarouselContainerProps {
|
|
3
|
+
activeCardIndex: number;
|
|
4
|
+
columnWidth: number;
|
|
5
|
+
version?: TableVersion;
|
|
6
|
+
}
|
|
7
|
+
export declare const TableCarouselContainer: (props: import("@redneckz/uni-jsx").PropsWithChildren<TableCarouselContainerProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.TableCarouselContainer = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const carouselContainerClassesMap = {
|
|
6
|
+
comparison: 'flex gap-4 duration-1000',
|
|
7
|
+
tariff: 'flex flex-grow duration-1000',
|
|
8
|
+
};
|
|
9
|
+
exports.TableCarouselContainer = (0, uni_jsx_1.JSX)(({ children, activeCardIndex, columnWidth, version = 'comparison' }) => ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-1 overflow-hidden", children: (0, jsx_runtime_1.jsx)("div", { className: carouselContainerClassesMap[version], style: { transform: `translateX(-${activeCardIndex * columnWidth}px)` }, children: children }) })));
|
|
10
|
+
//# sourceMappingURL=TableCarouselContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableCarouselContainer.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/TableCarouselContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AASxC,MAAM,2BAA2B,GAAiC;IAChE,UAAU,EAAE,0BAA0B;IACtC,MAAM,EAAE,8BAA8B;CACvC,CAAC;AAEW,QAAA,sBAAsB,GAAG,IAAA,aAAG,EACvC,CAAC,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,GAAG,YAAY,EAAE,EAAE,EAAE,CAAC,CACtE,gCAAK,SAAS,EAAC,6BAA6B,YAC1C,gCACE,SAAS,EAAE,2BAA2B,CAAC,OAAO,CAAC,EAC/C,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,eAAe,GAAG,WAAW,KAAK,EAAE,YAEtE,QAAQ,GACL,GACF,CACP,CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CellData } from './ComparisonTableContent';
|
|
2
|
+
export interface TableCellProps {
|
|
3
|
+
cell: CellData[];
|
|
4
|
+
isLastRow: boolean;
|
|
5
|
+
isFirstRow: boolean;
|
|
6
|
+
isFillGradient: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const TableCell: (props: import("@redneckz/uni-jsx").PropsWithChildren<TableCellProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.TableCell = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const constants_1 = require("./constants");
|
|
6
|
+
exports.TableCell = (0, uni_jsx_1.JSX)(({ cell, isFirstRow, isLastRow, isFillGradient }) => {
|
|
7
|
+
const cellWrapperClasses = `w-80 box-border flex flex-col ${constants_1.BORDER_CLASSES} ${!isLastRow ? 'border-y-0' : 'border-t-0 rounded-b-md'} ${isFillGradient ? constants_1.GRADIENT : ''}`;
|
|
8
|
+
const cellClasses = `mx-7 h-full ${constants_1.DIVIDER_CLASSES} ${isFillGradient && isFirstRow ? 'border-t' : ''} ${!isLastRow ? 'border-solid' : ''}`;
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: cellWrapperClasses, role: "cell", children: (0, jsx_runtime_1.jsx)("div", { className: cellClasses, children: cell.map((item, i) => renderCellInner(item, i, isFillGradient)) }) }));
|
|
10
|
+
});
|
|
11
|
+
const renderCellInner = ({ label, description }, i, isFillGradient) => ((0, jsx_runtime_1.jsxs)("div", { className: "first:pt-7 pt-6 last:pb-7", children: [label && ((0, jsx_runtime_1.jsx)("h5", { className: `text-xl font-medium m-0 ${isFillGradient ? 'text-white' : ''}`, children: label })), description && ((0, jsx_runtime_1.jsx)("div", { className: `text-sm opacity-80 ${isFillGradient ? 'text-white' : 'text-secondary-text'}`, children: description }))] }, String(i)));
|
|
12
|
+
//# sourceMappingURL=TableCell.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableCell.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/TableCell.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2CAAwE;AAS3D,QAAA,SAAS,GAAG,IAAA,aAAG,EAAiB,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,EAAE,EAAE;IAC/F,MAAM,kBAAkB,GAAG,iCAAiC,0BAAc,IACxE,CAAC,SAAS,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,yBAC9B,IAAI,cAAc,CAAC,CAAC,CAAC,oBAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAErC,MAAM,WAAW,GAAG,eAAe,2BAAe,IAChD,cAAc,IAAI,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAC9C,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IAEvC,OAAO,CACL,gCAAK,SAAS,EAAE,kBAAkB,EAAE,IAAI,EAAC,MAAM,YAC7C,gCAAK,SAAS,EAAE,WAAW,YACxB,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC,EAAE,cAAc,CAAC,CAAC,GAC5D,GACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,eAAe,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAY,EAAE,CAAS,EAAE,cAAuB,EAAE,EAAE,CAAC,CAChG,iCAAqB,SAAS,EAAC,2BAA2B,aACvD,KAAK,IAAI,CACR,+BAAI,SAAS,EAAE,2BAA2B,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,EAAE,YAAG,KAAK,GAAM,CAC7F,EACA,WAAW,IAAI,CACd,gCACE,SAAS,EAAE,sBAAsB,cAAc,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,qBAAqB,EAAE,YAEvF,WAAW,GACR,CACP,KAVO,MAAM,CAAC,CAAC,CAAC,CAWb,CACP,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Row } from './ComparisonTableContent';
|
|
2
|
+
export interface TableRowProps {
|
|
3
|
+
className?: string;
|
|
4
|
+
row: Row;
|
|
5
|
+
activeCardIndex: number;
|
|
6
|
+
isColoredFirstColumn: boolean;
|
|
7
|
+
isFirstRow: boolean;
|
|
8
|
+
isLastRow: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const TableRow: (props: import("@redneckz/uni-jsx").PropsWithChildren<TableRowProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.TableRow = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const constants_1 = require("./constants");
|
|
6
|
+
const TableCarouselContainer_1 = require("./TableCarouselContainer");
|
|
7
|
+
const TableCell_1 = require("./TableCell");
|
|
8
|
+
const TableRowContainer_1 = require("./TableRowContainer");
|
|
9
|
+
exports.TableRow = (0, uni_jsx_1.JSX)(({ row: { header, data }, activeCardIndex, isColoredFirstColumn, isFirstRow, isLastRow }) => ((0, jsx_runtime_1.jsxs)(TableRowContainer_1.TableRowContainer, { children: [header?.title ? ((0, jsx_runtime_1.jsx)("div", { className: `text-sm py-7 ${constants_1.DIVIDER_CLASSES} ${constants_1.FIRST_CELL_CLASSES} ${!isLastRow ? 'border-solid' : ''}`, children: header.title })) : null, data?.length ? ((0, jsx_runtime_1.jsx)(TableCarouselContainer_1.TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: constants_1.COLUMN_WIDTH, children: data.map((cell, i) => ((0, jsx_runtime_1.jsx)(TableCell_1.TableCell, { cell: cell, isFirstRow: isFirstRow, isLastRow: isLastRow, isFillGradient: isColoredFirstColumn && i === 0 }, String(i)))) })) : null] })));
|
|
10
|
+
//# sourceMappingURL=TableRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableRow.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/TableRow.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2CAAgF;AAChF,qEAAkE;AAClE,2CAAwC;AACxC,2DAAwD;AAW3C,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,eAAe,EAAE,oBAAoB,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC,CAC3F,wBAAC,qCAAiB,eACf,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CACf,gCACE,SAAS,EAAE,gBAAgB,2BAAe,IAAI,8BAAkB,IAC9D,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAChC,EAAE,YAED,MAAM,CAAC,KAAK,GACT,CACP,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,uBAAC,+CAAsB,IAAC,eAAe,EAAE,eAAe,EAAE,WAAW,EAAE,wBAAY,YAChF,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACrB,uBAAC,qBAAS,IAER,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,oBAAoB,IAAI,CAAC,KAAK,CAAC,IAJ1C,MAAM,CAAC,CAAC,CAAC,CAKd,CACH,CAAC,GACqB,CAC1B,CAAC,CAAC,CAAC,IAAI,IACU,CACrB,CACF,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.TableRowContainer = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
exports.TableRowContainer = (0, uni_jsx_1.JSX)(({ children }) => ((0, jsx_runtime_1.jsx)("div", { className: "self-start flex flex-col", role: "row", children: (0, jsx_runtime_1.jsx)("div", { className: "flex", children: children }) })));
|
|
6
|
+
//# sourceMappingURL=TableRowContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableRowContainer.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/TableRowContainer.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAE3B,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACrD,gCAAK,SAAS,EAAC,0BAA0B,EAAC,IAAI,EAAC,KAAK,YAClD,gCAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,GAAO,GAClC,CACP,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const GRADIENT = "bg-gradient-to-r from-main-gradient-start to-main-gradient-end";
|
|
2
|
+
export declare const BORDER_CLASSES = "border-main-stroke border-solid border";
|
|
3
|
+
export declare const DIVIDER_CLASSES = "border-main-divider border border-t-0 border-x-0";
|
|
4
|
+
export declare const FIRST_CELL_CLASSES = "w-[200px] mr-6";
|
|
5
|
+
export declare const COLS_LENGTH_FOR_SCROLL = 2;
|
|
6
|
+
export declare const COLUMN_WIDTH: number;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.COLUMN_WIDTH = exports.COLS_LENGTH_FOR_SCROLL = exports.FIRST_CELL_CLASSES = exports.DIVIDER_CLASSES = exports.BORDER_CLASSES = exports.GRADIENT = void 0;
|
|
3
|
+
exports.GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
|
|
4
|
+
exports.BORDER_CLASSES = 'border-main-stroke border-solid border';
|
|
5
|
+
exports.DIVIDER_CLASSES = 'border-main-divider border border-t-0 border-x-0';
|
|
6
|
+
exports.FIRST_CELL_CLASSES = 'w-[200px] mr-6';
|
|
7
|
+
exports.COLS_LENGTH_FOR_SCROLL = 2;
|
|
8
|
+
exports.COLUMN_WIDTH = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
|
|
9
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/constants.ts"],"names":[],"mappings":";;AAAa,QAAA,QAAQ,GAAG,gEAAgE,CAAC;AAC5E,QAAA,cAAc,GAAG,wCAAwC,CAAC;AAC1D,QAAA,eAAe,GAAG,kDAAkD,CAAC;AACrE,QAAA,kBAAkB,GAAG,gBAAgB,CAAC;AACtC,QAAA,sBAAsB,GAAG,CAAC,CAAC;AAC3B,QAAA,YAAY,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,uBAAuB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PropsWithChildren } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { BlockDef, ContentPageDef, UniBlockProps } from '../../types';
|
|
3
|
+
import type { BlockContent } from '../BlockContent';
|
|
4
|
+
import { ContentPageContext } from './ContentPageContext';
|
|
5
|
+
interface BlockDecoratorProps<VNode> {
|
|
6
|
+
blockClassName: string;
|
|
7
|
+
block: BlockDef;
|
|
8
|
+
render: (props: {
|
|
9
|
+
blockClassName: string;
|
|
10
|
+
block: BlockDef;
|
|
11
|
+
}) => VNode;
|
|
12
|
+
}
|
|
13
|
+
export declare type BlockDecorator<VNode = any> = (props: BlockDecoratorProps<VNode>, index?: number | string) => any;
|
|
14
|
+
export declare type JSXBlock = (props: PropsWithChildren<UniBlockProps & BlockContent, any>, context?: any) => any;
|
|
15
|
+
export declare type BlocksRegistry = Record<string, JSXBlock>;
|
|
16
|
+
export interface ContentPageProps extends UniBlockProps {
|
|
17
|
+
blocksRegistry: BlocksRegistry;
|
|
18
|
+
data: ContentPageDef;
|
|
19
|
+
blockDecorator?: BlockDecorator;
|
|
20
|
+
}
|
|
21
|
+
export interface RenderBlockFunc {
|
|
22
|
+
block: BlockDef;
|
|
23
|
+
blockDecorator: BlockDecorator;
|
|
24
|
+
blocksRegistry: BlocksRegistry;
|
|
25
|
+
context: ContentPageContext;
|
|
26
|
+
}
|
|
27
|
+
export declare const ContentPage: (props: PropsWithChildren<ContentPageProps, any>, context?: any) => any;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.ContentPage = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
const LikeControl_1 = require("../LikeControl/LikeControl");
|
|
6
|
+
const Placeholder_1 = require("../Placeholder/Placeholder");
|
|
7
|
+
const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
|
|
8
|
+
exports.ContentPage = (0, uni_jsx_1.JSX)(({ className, context, blocksRegistry, data: { style: pageStyle, blocks, slots = {}, likeControl, colorPalette = 'pc' }, blockDecorator = defaultBlockDecorator, }) => {
|
|
9
|
+
const { header } = slots;
|
|
10
|
+
return ((0, jsx_runtime_1.jsxs)("section", { className: `relative ${style2className(pageStyle)} ${className || ''}`, "data-theme": colorPalette, children: [header?.blocks?.length ? ((0, jsx_runtime_1.jsx)("div", { className: `${style2className(header?.style)}`, children: header.blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context }, i)) })) : null, blocks?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "container grid grid-cols-12 gap-1", children: blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context }, i)) })) : null, likeControl && ((0, jsx_runtime_1.jsx)("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: (0, jsx_runtime_1.jsx)(LikeControl_1.LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto", context: context }) }))] }));
|
|
11
|
+
});
|
|
12
|
+
function renderBlock({ block, blockDecorator, blocksRegistry, context }, i) {
|
|
13
|
+
const { type } = block;
|
|
14
|
+
if (!(type in blocksRegistry)) {
|
|
15
|
+
console.warn(`No block with "${type}" is registered`);
|
|
16
|
+
}
|
|
17
|
+
const BlockComponent = blocksRegistry[type] || Placeholder_1.Placeholder;
|
|
18
|
+
return blockDecorator({
|
|
19
|
+
blockClassName: style2className(block.style),
|
|
20
|
+
block,
|
|
21
|
+
render: (props) => {
|
|
22
|
+
const { version, content, blocks } = props.block;
|
|
23
|
+
return ((0, jsx_runtime_1.jsx)(BlockComponent, { className: props.blockClassName, version: version, context: context, ...content, children: blocks?.length
|
|
24
|
+
? blocks.map((block, i) => renderBlock({ block, blockDecorator, blocksRegistry, context }, i))
|
|
25
|
+
: null }, `${type}-${i}`));
|
|
26
|
+
},
|
|
27
|
+
}, `block-${i}`);
|
|
28
|
+
}
|
|
29
|
+
function style2className(style) {
|
|
30
|
+
return style ? style.join(' ') : '';
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=ContentPage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface Router {
|
|
2
|
+
pathname: string;
|
|
3
|
+
query: Record<string, string | string[] | undefined>;
|
|
4
|
+
href?: string;
|
|
5
|
+
basePath?: string;
|
|
6
|
+
push: (url: string) => void;
|
|
7
|
+
}
|
|
8
|
+
export interface LikeService {
|
|
9
|
+
likeCount: number;
|
|
10
|
+
like: () => void;
|
|
11
|
+
dislike: () => void;
|
|
12
|
+
}
|
|
13
|
+
export declare type HandlerDecorator = <F extends Function>(handler: F, targetContent: any) => F;
|
|
14
|
+
export interface Search {
|
|
15
|
+
term: string;
|
|
16
|
+
setTerm: (t: string) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare type AsyncDataHook = <Data, Error = any>(key: string, fetcher: () => Promise<Data>) => {
|
|
19
|
+
data?: Data;
|
|
20
|
+
error?: Error;
|
|
21
|
+
};
|
|
22
|
+
export declare type GeolocationHook = (defaultLocation: string) => [string, () => void];
|
|
23
|
+
export interface ContentPageContext {
|
|
24
|
+
useRouter: () => Router;
|
|
25
|
+
useState: <State>(initialState: State) => [State, (_: State) => void];
|
|
26
|
+
useAsyncData: AsyncDataHook;
|
|
27
|
+
useGeolocation: GeolocationHook;
|
|
28
|
+
useLikeService: () => LikeService;
|
|
29
|
+
useSearch: () => Search;
|
|
30
|
+
handlerDecorator?: HandlerDecorator;
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentPageContext.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPageContext.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ContentPageMeta } from '../../types';
|
|
2
|
+
export interface ContentPageHeadProps {
|
|
3
|
+
HeadComponent: <Props, Context, VNode>(props: Props, context?: Context) => VNode;
|
|
4
|
+
data: ContentPageMeta;
|
|
5
|
+
}
|
|
6
|
+
export declare const ContentPageHead: (props: import("@redneckz/uni-jsx").PropsWithChildren<ContentPageHeadProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.ContentPageHead = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
+
exports.ContentPageHead = (0, uni_jsx_1.JSX)(({ HeadComponent, data, children }) => {
|
|
6
|
+
const { title, description, keywords, robots, og } = data;
|
|
7
|
+
return ((0, jsx_runtime_1.jsxs)(HeadComponent, { children: [(0, jsx_runtime_1.jsx)("title", { children: title }), (0, jsx_runtime_1.jsx)("meta", { name: "viewport", content: "width=device-width, initial-scale=1" }), description && (0, jsx_runtime_1.jsx)("meta", { name: "description", content: description }), keywords && (0, jsx_runtime_1.jsx)("meta", { name: "keywords", content: keywords.join(',') }), robots && (0, jsx_runtime_1.jsx)("meta", { name: "robots", content: robots.join(',') }), og
|
|
8
|
+
? Object.entries(og).map(([key, value]) => ((0, jsx_runtime_1.jsx)("meta", { name: `og:${key}`, content: value }, key)))
|
|
9
|
+
: null, children] }));
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=ContentPageHead.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContentPageHead.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPageHead.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAQ3B,QAAA,eAAe,GAAG,IAAA,aAAG,EAAuB,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC7F,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,IAAI,CAAC;IAC1D,OAAO,CACL,wBAAC,aAAa,eACZ,4CAAQ,KAAK,GAAS,EACtB,iCAAM,IAAI,EAAC,UAAU,EAAC,OAAO,EAAC,qCAAqC,GAAG,EACrE,WAAW,IAAI,iCAAM,IAAI,EAAC,aAAa,EAAC,OAAO,EAAE,WAAW,GAAI,EAChE,QAAQ,IAAI,iCAAM,IAAI,EAAC,UAAU,EAAC,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,GAAI,EACjE,MAAM,IAAI,iCAAM,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,GAAI,EAC3D,EAAE;gBACD,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CACvC,iCAAgB,IAAI,EAAE,MAAM,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,IAAtC,GAAG,CAAuC,CACtD,CAAC;gBACJ,CAAC,CAAC,IAAI,EACP,QAAQ,IACK,CACjB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.toMobilePage = void 0;
|
|
3
|
+
function toMobilePage(contentPage) {
|
|
4
|
+
const { blocks, slots } = contentPage;
|
|
5
|
+
return {
|
|
6
|
+
...contentPage,
|
|
7
|
+
blocks: getMobileBlocks(blocks),
|
|
8
|
+
slots: slots &&
|
|
9
|
+
Object.keys(slots).reduce((res, key) => ({
|
|
10
|
+
...res,
|
|
11
|
+
[key]: {
|
|
12
|
+
...slots[key],
|
|
13
|
+
blocks: getMobileBlocks(slots[key].blocks),
|
|
14
|
+
},
|
|
15
|
+
}), {}),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
exports.toMobilePage = toMobilePage;
|
|
19
|
+
function getMobileBlocks(blocks) {
|
|
20
|
+
return blocks?.filter(({ mobile }) => !mobile?.hidden).map(toMobileBlock);
|
|
21
|
+
}
|
|
22
|
+
function toMobileBlock(block) {
|
|
23
|
+
const { mobile } = block;
|
|
24
|
+
if (mobile) {
|
|
25
|
+
return {
|
|
26
|
+
...block,
|
|
27
|
+
style: mobile.style?.length ? mobile.style : block.style,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
return block;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=toMobilePage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toMobilePage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/toMobilePage.ts"],"names":[],"mappings":";;AAEA,SAAgB,YAAY,CAAC,WAA2B;IACtD,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,WAAW,CAAC;IAEtC,OAAO;QACL,GAAG,WAAW;QACd,MAAM,EAAE,eAAe,CAAC,MAAM,CAAC;QAC/B,KAAK,EACH,KAAK;YACL,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACvB,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,CAAC;gBACb,GAAG,GAAG;gBACN,CAAC,GAAG,CAAC,EAAE;oBACL,GAAG,KAAK,CAAC,GAAG,CAAC;oBACb,MAAM,EAAE,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC;iBAC3C;aACF,CAAC,EACF,EAAE,CACH;KACJ,CAAC;AACJ,CAAC;AAnBD,oCAmBC;AAED,SAAS,eAAe,CAAC,MAAmB;IAC1C,OAAO,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;AAC5E,CAAC;AAED,SAAS,aAAa,CAAC,KAAe;IACpC,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;IACzB,IAAI,MAAM,EAAE;QACV,OAAO;YACL,GAAG,KAAK;YACR,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK;SACzD,CAAC;KACH;SAAM;QACL,OAAO,KAAK,CAAC;KACd;AACH,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UniBlockProps } from '../../types';
|
|
2
|
+
import { CreditCalculatorContent } from './CreditCalculatorContent';
|
|
3
|
+
export interface CreditCalculatorProps extends CreditCalculatorContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const CreditCalculator: (props: import("@redneckz/uni-jsx").PropsWithChildren<CreditCalculatorProps, any>, context?: any) => any;
|