@redneckz/wildless-cms-uni-blocks 0.6.32 → 0.6.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.6.34.js +51 -0
- package/bundle/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/bundle/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/bundle/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/bundle/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/bundle/BlockRenderer/renderBlock.d.ts +3 -0
- package/bundle/BlockRenderer/renderBlockList.d.ts +9 -0
- package/bundle/BlockRenderer/renderChildren.d.ts +10 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +382 -395
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/bundle/components/Carousel/Carousel.d.ts +1 -0
- package/bundle/components/Carousel/CarouselContainer.d.ts +8 -5
- package/bundle/components/Carousel/CarouselContent.d.ts +5 -8
- package/bundle/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/bundle/components/ComparisonTable/TableRow.d.ts +1 -1
- package/bundle/components/ComparisonTable/constants.d.ts +1 -1
- package/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/bundle/components/Video/Video.d.ts +6 -0
- package/bundle/components/Video/VideoContent.d.ts +8 -0
- package/bundle/components/Video/getPaddings.d.ts +1 -0
- package/bundle/hooks/useCarouselControls.d.ts +5 -3
- package/bundle/model/JSXBlock.d.ts +4 -5
- package/bundle/model/LinkProps.d.ts +1 -0
- package/bundle/model/Picture.d.ts +8 -2
- package/bundle/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/bundle/ui-kit/Button/renderArrows.d.ts +6 -4
- package/bundle/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/bundle/ui-kit/Text/Text.d.ts +34 -0
- package/dist/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/dist/BlockRenderer/BlockRendererOptions.js +2 -0
- package/dist/BlockRenderer/BlockRendererOptions.js.map +1 -0
- package/dist/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/dist/BlockRenderer/defaultBlockDecorator.js +5 -0
- package/dist/BlockRenderer/defaultBlockDecorator.js.map +1 -0
- package/dist/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/{mobile/dist/model → dist/BlockRenderer}/getParentBlockContent.js +2 -2
- package/dist/BlockRenderer/getParentBlockContent.js.map +1 -0
- package/dist/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/dist/BlockRenderer/getParentBlockDef.js +7 -0
- package/dist/BlockRenderer/getParentBlockDef.js.map +1 -0
- package/dist/BlockRenderer/renderBlock.d.ts +3 -0
- package/dist/BlockRenderer/renderBlock.js +27 -0
- package/dist/BlockRenderer/renderBlock.js.map +1 -0
- package/dist/BlockRenderer/renderBlockList.d.ts +9 -0
- package/dist/BlockRenderer/renderBlockList.js +14 -0
- package/dist/BlockRenderer/renderBlockList.js.map +1 -0
- package/dist/BlockRenderer/renderChildren.d.ts +10 -0
- package/dist/BlockRenderer/renderChildren.js +13 -0
- package/dist/BlockRenderer/renderChildren.js.map +1 -0
- package/dist/components/Accordion/Accordion.js +3 -1
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.js +3 -1
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
- package/dist/components/AccordionItem/AccordionItem.js +4 -2
- package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
- package/dist/components/AccordionItem/AccordionItem.mobile.js +7 -5
- package/dist/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
- package/dist/components/Blocks.js +3 -1
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/dist/components/Calculator/Calculator.js +22 -22
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js +1 -3
- package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +2 -1
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Carousel/Carousel.d.ts +1 -0
- package/dist/components/Carousel/Carousel.js +16 -14
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/CarouselContainer.d.ts +8 -5
- package/dist/components/Carousel/CarouselContainer.js +8 -5
- package/dist/components/Carousel/CarouselContainer.js.map +1 -1
- package/dist/components/Carousel/CarouselContent.d.ts +5 -8
- package/dist/components/Carousel/CarouselContent.js +0 -3
- package/dist/components/Carousel/CarouselContent.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/dist/components/CarouselCard/CarouselCard.js +4 -11
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +9 -9
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/Catalog/Catalog.js +8 -11
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js +2 -2
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableBody.js +4 -4
- package/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/dist/components/ComparisonTable/ComparisonTableRows.js +8 -7
- package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/dist/components/ComparisonTable/TableRow.d.ts +1 -1
- package/dist/components/ComparisonTable/TableRow.js +1 -1
- package/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/dist/components/ComparisonTable/constants.d.ts +1 -1
- package/dist/components/ComparisonTable/constants.js +1 -1
- package/dist/components/ContactsBlock/ContactsBlock.js +3 -5
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +13 -7
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ExchangeRateTile/CurrencyTable.js +1 -3
- package/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -3
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +2 -2
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +2 -4
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
- package/dist/components/Gallery/GalleryContainer.js +1 -3
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/Gallery/GalleryInner.js +9 -12
- package/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +2 -3
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Headline/Headline.js +1 -2
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +23 -25
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/InvestmentGallery/InvestmentGallery.js +10 -20
- package/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +1 -2
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +4 -4
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/OtherProducts/OtherProducts.js +2 -1
- package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/dist/components/OtherProductsItem/OtherProductsItem.js +5 -4
- package/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +2 -2
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/Recommendation/Recommendation.js +11 -21
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.js +1 -2
- package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +5 -3
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +12 -14
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +2 -2
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/Tile/Tile.js +2 -2
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.js +3 -2
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/Video/Video.d.ts +6 -0
- package/dist/components/Video/Video.js +12 -0
- package/dist/components/Video/Video.js.map +1 -0
- package/dist/components/Video/VideoContent.d.ts +8 -0
- package/dist/components/Video/VideoContent.js +2 -0
- package/dist/components/Video/VideoContent.js.map +1 -0
- package/dist/components/Video/getPaddings.d.ts +1 -0
- package/dist/components/Video/getPaddings.js +7 -0
- package/dist/components/Video/getPaddings.js.map +1 -0
- package/dist/hooks/useCarouselControls.d.ts +5 -3
- package/dist/hooks/useCarouselControls.js +19 -8
- package/dist/hooks/useCarouselControls.js.map +1 -1
- package/dist/model/JSXBlock.d.ts +4 -5
- package/dist/model/LinkProps.d.ts +1 -0
- package/dist/model/Picture.d.ts +8 -2
- package/dist/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/{mobile/dist/react → dist}/setup-fixture.js +4 -4
- package/dist/setup-fixture.js.map +1 -0
- package/dist/ui-kit/Button/renderArrows.d.ts +6 -4
- package/dist/ui-kit/Button/renderArrows.js +3 -2
- package/dist/ui-kit/Button/renderArrows.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/dist/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/dist/ui-kit/Paragraph/Paragraph.js +10 -0
- package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -0
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js +5 -2
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/dist/ui-kit/Text/Text.d.ts +34 -0
- package/dist/ui-kit/Text/Text.js +10 -0
- package/dist/ui-kit/Text/Text.js.map +1 -0
- package/lib/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/lib/BlockRenderer/BlockRendererOptions.js +2 -0
- package/lib/BlockRenderer/BlockRendererOptions.js.map +1 -0
- package/lib/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/lib/BlockRenderer/defaultBlockDecorator.js +2 -0
- package/lib/BlockRenderer/defaultBlockDecorator.js.map +1 -0
- package/lib/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/lib/BlockRenderer/getParentBlockContent.js +6 -0
- package/lib/BlockRenderer/getParentBlockContent.js.map +1 -0
- package/lib/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/lib/BlockRenderer/getParentBlockDef.js +4 -0
- package/lib/BlockRenderer/getParentBlockDef.js.map +1 -0
- package/lib/BlockRenderer/renderBlock.d.ts +3 -0
- package/lib/BlockRenderer/renderBlock.js +24 -0
- package/lib/BlockRenderer/renderBlock.js.map +1 -0
- package/lib/BlockRenderer/renderBlockList.d.ts +9 -0
- package/lib/BlockRenderer/renderBlockList.js +11 -0
- package/lib/BlockRenderer/renderBlockList.js.map +1 -0
- package/lib/BlockRenderer/renderChildren.d.ts +10 -0
- package/lib/BlockRenderer/renderChildren.js +10 -0
- package/lib/BlockRenderer/renderChildren.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.fixture.d.ts +3 -2
- package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +3 -2
- package/lib/components/Accordion/Accordion.js +3 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.js +3 -1
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
- package/lib/components/AccordionItem/AccordionItem.js +4 -2
- package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
- package/lib/components/AccordionItem/AccordionItem.mobile.js +7 -5
- package/lib/components/AccordionItem/AccordionItem.mobile.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.fixture.d.ts +1 -1
- package/lib/components/Blocks.js +3 -1
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Bonus/Bonus.fixture.d.ts +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +2 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/lib/components/BusinessBlock/BusinessBlock.fixture.d.ts +1 -1
- package/lib/components/Calculator/Calculator.fixture.d.ts +1 -1
- package/lib/components/Calculator/Calculator.js +23 -23
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js +1 -3
- package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.fixture.d.ts +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +3 -2
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Carousel/Carousel.d.ts +1 -0
- package/lib/components/Carousel/Carousel.fixture.d.ts +1 -1
- package/lib/components/Carousel/Carousel.js +16 -14
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/CarouselContainer.d.ts +8 -5
- package/lib/components/Carousel/CarouselContainer.js +8 -5
- package/lib/components/Carousel/CarouselContainer.js.map +1 -1
- package/lib/components/Carousel/CarouselContent.d.ts +5 -8
- package/lib/components/Carousel/CarouselContent.js +0 -3
- package/lib/components/Carousel/CarouselContent.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/lib/components/CarouselCard/CarouselCard.fixture.d.ts +2 -1
- package/lib/components/CarouselCard/CarouselCard.js +4 -11
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +9 -9
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/Catalog/Catalog.fixture.d.ts +1 -1
- package/lib/components/Catalog/Catalog.js +8 -11
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.fixture.d.ts +2 -2
- package/lib/components/ComparisonTable/ComparisonTable.fixture.mobile.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js +2 -2
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableBody.js +4 -4
- package/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/lib/components/ComparisonTable/ComparisonTableRows.js +8 -7
- package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/lib/components/ComparisonTable/TableRow.d.ts +1 -1
- package/lib/components/ComparisonTable/TableRow.js +1 -1
- package/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/lib/components/ComparisonTable/constants.d.ts +1 -1
- package/lib/components/ComparisonTable/constants.js +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +1 -1
- package/lib/components/ContactsBlock/ContactsBlock.js +3 -5
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.fixture.d.ts +1 -1
- package/lib/components/ContentPage/ContentPage.fixture.mobile.d.ts +1 -1
- package/lib/components/ContentPage/ContentPage.js +13 -7
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.fixture.d.ts +1 -1
- package/lib/components/ExchangeRateTile/CurrencyTable.js +1 -3
- package/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -4
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.fixture.d.ts +1 -1
- package/lib/components/Footer/Footer.fixture.d.ts +1 -1
- package/lib/components/Footer/Footer.fixture.mobile.d.ts +1 -1
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +2 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Gallery/Gallery.fixture.d.ts +1 -1
- package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +2 -4
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
- package/lib/components/Gallery/GalleryContainer.js +1 -3
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/Gallery/GalleryInner.js +9 -12
- package/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.fixture.d.ts +1 -1
- package/lib/components/Header/Header.fixture.d.ts +1 -1
- package/lib/components/Header/Header.fixture.mobile.d.ts +1 -1
- package/lib/components/Header/Header.js +1 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +2 -3
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Headline/Headline.fixture.d.ts +1 -1
- package/lib/components/Headline/Headline.fixture.mobile.d.ts +1 -1
- package/lib/components/Headline/Headline.js +1 -2
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +24 -26
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/InvestmentGallery/InvestmentGallery.fixture.d.ts +1 -1
- package/lib/components/InvestmentGallery/InvestmentGallery.js +10 -20
- package/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +1 -2
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +1 -1
- package/lib/components/LikeControl/LikeControl.fixture.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +1 -1
- package/lib/components/LinkList/LinkList.fixture.d.ts +1 -1
- package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.fixture.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +4 -4
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/OfficeMap/OfficeMap.fixture.d.ts +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +1 -1
- package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +3 -2
- package/lib/components/OtherProducts/OtherProducts.js +2 -1
- package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/lib/components/OtherProductsItem/OtherProductsItem.js +5 -4
- package/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/lib/components/PictureText/PictureText.fixture.d.ts +1 -1
- package/lib/components/Placeholder/Placeholder.fixture.d.ts +1 -1
- package/lib/components/Placeholder/Placeholder.fixture.mobile.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +2 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.mobile.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +2 -2
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.fixture.d.ts +1 -1
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -1
- package/lib/components/PromoTile/PromoTile.fixture.d.ts +1 -1
- package/lib/components/Recommendation/Recommendation.fixture.d.ts +1 -1
- package/lib/components/Recommendation/Recommendation.js +11 -21
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.js +1 -2
- package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.js +5 -3
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.fixture.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.fixture.mobile.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/Tabs/Tabs.fixture.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.fixture.mobile.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +12 -14
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +2 -2
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.fixture.d.ts +1 -1
- package/lib/components/TextBlock/TextBlock.fixture.mobile.d.ts +1 -1
- package/lib/components/Tile/Tile.fixture.d.ts +1 -1
- package/lib/components/Tile/Tile.js +2 -2
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.js +3 -2
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/Video/Video.d.ts +6 -0
- package/lib/components/Video/Video.fixture.d.ts +8 -0
- package/lib/components/Video/Video.js +10 -0
- package/lib/components/Video/Video.js.map +1 -0
- package/lib/components/Video/VideoContent.d.ts +8 -0
- package/lib/components/Video/VideoContent.js +2 -0
- package/lib/components/Video/VideoContent.js.map +1 -0
- package/lib/components/Video/getPaddings.d.ts +1 -0
- package/lib/components/Video/getPaddings.js +4 -0
- package/lib/components/Video/getPaddings.js.map +1 -0
- package/lib/hooks/useCarouselControls.d.ts +5 -3
- package/lib/hooks/useCarouselControls.js +19 -8
- package/lib/hooks/useCarouselControls.js.map +1 -1
- package/lib/model/JSXBlock.d.ts +4 -5
- package/lib/model/LinkProps.d.ts +1 -0
- package/lib/model/Picture.d.ts +8 -2
- package/lib/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/lib/{react/setup-fixture.js → setup-fixture.js} +4 -4
- package/lib/setup-fixture.js.map +1 -0
- package/lib/ui-kit/Button/Button.fixture.d.ts +1 -1
- package/lib/ui-kit/Button/renderArrows.d.ts +6 -4
- package/lib/ui-kit/Button/renderArrows.js +3 -2
- package/lib/ui-kit/Button/renderArrows.js.map +1 -1
- package/lib/ui-kit/HeaderItem/HeaderItem.fixture.d.ts +1 -1
- package/lib/ui-kit/Icon/Icon.fixture.d.ts +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/lib/ui-kit/List/List.fixture.d.ts +1 -1
- package/lib/ui-kit/Logo/Logo.fixture.d.ts +1 -1
- package/lib/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/lib/ui-kit/Paragraph/Paragraph.js +8 -0
- package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -0
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.d.ts +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +3 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js +6 -3
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/lib/ui-kit/Text/Text.d.ts +34 -0
- package/lib/ui-kit/Text/Text.js +8 -0
- package/lib/ui-kit/Text/Text.js.map +1 -0
- package/lib/ui-kit/TopItem/TopItem.fixture.d.ts +1 -1
- package/mobile/bundle/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/mobile/bundle/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/mobile/bundle/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/mobile/bundle/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/mobile/bundle/BlockRenderer/renderBlock.d.ts +3 -0
- package/mobile/bundle/BlockRenderer/renderBlockList.d.ts +9 -0
- package/mobile/bundle/BlockRenderer/renderChildren.d.ts +10 -0
- package/mobile/bundle/bundle.umd.js +103 -88
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/mobile/bundle/components/Carousel/Carousel.d.ts +1 -0
- package/mobile/bundle/components/Carousel/CarouselContainer.d.ts +8 -5
- package/mobile/bundle/components/Carousel/CarouselContent.d.ts +5 -8
- package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/mobile/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +1 -1
- package/mobile/bundle/components/ComparisonTable/constants.d.ts +1 -1
- package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/bundle/components/Video/Video.d.ts +6 -0
- package/mobile/bundle/components/Video/VideoContent.d.ts +8 -0
- package/mobile/bundle/components/Video/getPaddings.d.ts +1 -0
- package/mobile/bundle/hooks/useCarouselControls.d.ts +5 -3
- package/mobile/bundle/model/JSXBlock.d.ts +4 -5
- package/mobile/bundle/model/LinkProps.d.ts +1 -0
- package/mobile/bundle/model/Picture.d.ts +8 -2
- package/mobile/bundle/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/mobile/bundle/ui-kit/Button/renderArrows.d.ts +6 -4
- package/mobile/bundle/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/mobile/bundle/ui-kit/Text/Text.d.ts +34 -0
- package/mobile/dist/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/mobile/dist/BlockRenderer/BlockRendererOptions.js +2 -0
- package/mobile/dist/BlockRenderer/BlockRendererOptions.js.map +1 -0
- package/mobile/dist/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/mobile/dist/BlockRenderer/defaultBlockDecorator.js +5 -0
- package/mobile/dist/BlockRenderer/defaultBlockDecorator.js.map +1 -0
- package/mobile/dist/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/{dist/model → mobile/dist/BlockRenderer}/getParentBlockContent.js +2 -2
- package/mobile/dist/BlockRenderer/getParentBlockContent.js.map +1 -0
- package/mobile/dist/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/mobile/dist/BlockRenderer/getParentBlockDef.js +7 -0
- package/mobile/dist/BlockRenderer/getParentBlockDef.js.map +1 -0
- package/mobile/dist/BlockRenderer/renderBlock.d.ts +3 -0
- package/mobile/dist/BlockRenderer/renderBlock.js +27 -0
- package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -0
- package/mobile/dist/BlockRenderer/renderBlockList.d.ts +9 -0
- package/mobile/dist/BlockRenderer/renderBlockList.js +14 -0
- package/mobile/dist/BlockRenderer/renderBlockList.js.map +1 -0
- package/mobile/dist/BlockRenderer/renderChildren.d.ts +10 -0
- package/mobile/dist/BlockRenderer/renderChildren.js +13 -0
- package/mobile/dist/BlockRenderer/renderChildren.js.map +1 -0
- package/mobile/dist/components/Accordion/Accordion.js +3 -1
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/AccordionItem/AccordionItem.js +7 -5
- package/mobile/dist/components/AccordionItem/AccordionItem.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/mobile/dist/components/Calculator/Calculator.js +22 -22
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +1 -3
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +2 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.d.ts +1 -0
- package/mobile/dist/components/Carousel/Carousel.js +16 -14
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContainer.d.ts +8 -5
- package/mobile/dist/components/Carousel/CarouselContainer.js +8 -5
- package/mobile/dist/components/Carousel/CarouselContainer.js.map +1 -1
- package/mobile/dist/components/Carousel/CarouselContent.d.ts +5 -8
- package/mobile/dist/components/Carousel/CarouselContent.js +0 -3
- package/mobile/dist/components/Carousel/CarouselContent.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/mobile/dist/components/CarouselCard/CarouselCard.js +4 -11
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +9 -9
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.js +8 -11
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js +4 -4
- package/mobile/dist/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +8 -7
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/mobile/dist/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.js +1 -1
- package/mobile/dist/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/constants.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/constants.js +1 -1
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -5
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +13 -7
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js +1 -3
- package/mobile/dist/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -3
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +2 -2
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -4
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js +1 -3
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.js +9 -12
- package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +2 -3
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +23 -25
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +10 -20
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +1 -2
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.js +2 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +5 -4
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/mobile/dist/components/Recommendation/Recommendation.js +11 -21
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.js +1 -2
- package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +5 -3
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.js +2 -2
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +3 -2
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/Video/Video.d.ts +6 -0
- package/mobile/dist/components/Video/Video.js +12 -0
- package/mobile/dist/components/Video/Video.js.map +1 -0
- package/mobile/dist/components/Video/VideoContent.d.ts +8 -0
- package/mobile/dist/components/Video/VideoContent.js +2 -0
- package/mobile/dist/components/Video/VideoContent.js.map +1 -0
- package/mobile/dist/components/Video/getPaddings.d.ts +1 -0
- package/mobile/dist/components/Video/getPaddings.js +7 -0
- package/mobile/dist/components/Video/getPaddings.js.map +1 -0
- package/mobile/dist/hooks/useCarouselControls.d.ts +5 -3
- package/mobile/dist/hooks/useCarouselControls.js +19 -8
- package/mobile/dist/hooks/useCarouselControls.js.map +1 -1
- package/mobile/dist/model/JSXBlock.d.ts +4 -5
- package/mobile/dist/model/LinkProps.d.ts +1 -0
- package/mobile/dist/model/Picture.d.ts +8 -2
- package/mobile/dist/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/{dist/react → mobile/dist}/setup-fixture.js +4 -4
- package/mobile/dist/setup-fixture.js.map +1 -0
- package/mobile/dist/ui-kit/Button/renderArrows.d.ts +6 -4
- package/mobile/dist/ui-kit/Button/renderArrows.js +3 -2
- package/mobile/dist/ui-kit/Button/renderArrows.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/dist/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js +10 -0
- package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -0
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +5 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/dist/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/mobile/dist/ui-kit/Text/Text.d.ts +34 -0
- package/mobile/dist/ui-kit/Text/Text.js +10 -0
- package/mobile/dist/ui-kit/Text/Text.js.map +1 -0
- package/mobile/lib/BlockRenderer/BlockRendererOptions.d.ts +11 -0
- package/mobile/lib/BlockRenderer/BlockRendererOptions.js +2 -0
- package/mobile/lib/BlockRenderer/BlockRendererOptions.js.map +1 -0
- package/mobile/lib/BlockRenderer/defaultBlockDecorator.d.ts +2 -0
- package/mobile/lib/BlockRenderer/defaultBlockDecorator.js +2 -0
- package/mobile/lib/BlockRenderer/defaultBlockDecorator.js.map +1 -0
- package/mobile/lib/BlockRenderer/getParentBlockContent.d.ts +2 -0
- package/mobile/lib/BlockRenderer/getParentBlockContent.js +6 -0
- package/mobile/lib/BlockRenderer/getParentBlockContent.js.map +1 -0
- package/mobile/lib/BlockRenderer/getParentBlockDef.d.ts +3 -0
- package/mobile/lib/BlockRenderer/getParentBlockDef.js +4 -0
- package/mobile/lib/BlockRenderer/getParentBlockDef.js.map +1 -0
- package/mobile/lib/BlockRenderer/renderBlock.d.ts +3 -0
- package/mobile/lib/BlockRenderer/renderBlock.js +24 -0
- package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -0
- package/mobile/lib/BlockRenderer/renderBlockList.d.ts +9 -0
- package/mobile/lib/BlockRenderer/renderBlockList.js +11 -0
- package/mobile/lib/BlockRenderer/renderBlockList.js.map +1 -0
- package/mobile/lib/BlockRenderer/renderChildren.d.ts +10 -0
- package/mobile/lib/BlockRenderer/renderChildren.js +10 -0
- package/mobile/lib/BlockRenderer/renderChildren.js.map +1 -0
- package/mobile/lib/components/Accordion/Accordion.js +3 -1
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/AccordionItem/AccordionItem.js +7 -5
- package/mobile/lib/components/AccordionItem/AccordionItem.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +16 -4
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +6 -3
- package/mobile/lib/components/Calculator/Calculator.js +23 -23
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +1 -3
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -2
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.d.ts +1 -0
- package/mobile/lib/components/Carousel/Carousel.js +16 -14
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContainer.d.ts +8 -5
- package/mobile/lib/components/Carousel/CarouselContainer.js +8 -5
- package/mobile/lib/components/Carousel/CarouselContainer.js.map +1 -1
- package/mobile/lib/components/Carousel/CarouselContent.d.ts +5 -8
- package/mobile/lib/components/Carousel/CarouselContent.js +0 -3
- package/mobile/lib/components/Carousel/CarouselContent.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +0 -2
- package/mobile/lib/components/CarouselCard/CarouselCard.js +4 -11
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +9 -9
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.js +8 -11
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js +4 -4
- package/mobile/lib/components/ComparisonTable/ComparisonTableBody.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableColumnHeaders.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +1 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +8 -7
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js +1 -1
- package/mobile/lib/components/ComparisonTable/TableCarouselContainer.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.js +1 -1
- package/mobile/lib/components/ComparisonTable/TableRow.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/constants.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/constants.js +1 -1
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -5
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +13 -7
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js +1 -3
- package/mobile/lib/components/ExchangeRateTile/CurrencyTable.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +2 -4
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +2 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +2 -4
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js +1 -3
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.js +9 -12
- package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +2 -3
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +24 -26
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +10 -20
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -1
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +1 -2
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.js +2 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +5 -4
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -1
- package/mobile/lib/components/Recommendation/Recommendation.js +11 -21
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.js +1 -2
- package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +5 -3
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalContent.d.ts +1 -4
- package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.js +2 -2
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +3 -2
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/Video/Video.d.ts +6 -0
- package/mobile/lib/components/Video/Video.js +10 -0
- package/mobile/lib/components/Video/Video.js.map +1 -0
- package/mobile/lib/components/Video/VideoContent.d.ts +8 -0
- package/mobile/lib/components/Video/VideoContent.js +2 -0
- package/mobile/lib/components/Video/VideoContent.js.map +1 -0
- package/mobile/lib/components/Video/getPaddings.d.ts +1 -0
- package/mobile/lib/components/Video/getPaddings.js +4 -0
- package/mobile/lib/components/Video/getPaddings.js.map +1 -0
- package/mobile/lib/hooks/useCarouselControls.d.ts +5 -3
- package/mobile/lib/hooks/useCarouselControls.js +19 -8
- package/mobile/lib/hooks/useCarouselControls.js.map +1 -1
- package/mobile/lib/model/JSXBlock.d.ts +4 -5
- package/mobile/lib/model/LinkProps.d.ts +1 -0
- package/mobile/lib/model/Picture.d.ts +8 -2
- package/mobile/lib/{react/setup-fixture.d.ts → setup-fixture.d.ts} +0 -0
- package/mobile/lib/{react/setup-fixture.js → setup-fixture.js} +4 -4
- package/mobile/lib/setup-fixture.js.map +1 -0
- package/mobile/lib/ui-kit/Button/renderArrows.d.ts +6 -4
- package/mobile/lib/ui-kit/Button/renderArrows.js +3 -2
- package/mobile/lib/ui-kit/Button/renderArrows.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +9 -10
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/lib/ui-kit/Paragraph/Paragraph.d.ts +9 -0
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js +8 -0
- package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -0
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +6 -3
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +9 -12
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +2 -2
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js +5 -3
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControl.js.map +1 -1
- package/mobile/lib/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +2 -1
- package/mobile/lib/ui-kit/Text/Text.d.ts +34 -0
- package/mobile/lib/ui-kit/Text/Text.js +8 -0
- package/mobile/lib/ui-kit/Text/Text.js.map +1 -0
- package/mobile/src/BlockRenderer/BlockRendererOptions.ts +12 -0
- package/mobile/src/BlockRenderer/defaultBlockDecorator.ts +4 -0
- package/mobile/src/{model → BlockRenderer}/getParentBlockContent.ts +3 -3
- package/mobile/src/BlockRenderer/getParentBlockDef.ts +6 -0
- package/mobile/src/BlockRenderer/renderBlock.tsx +47 -0
- package/mobile/src/BlockRenderer/renderBlockList.tsx +33 -0
- package/mobile/src/BlockRenderer/renderChildren.ts +25 -0
- package/mobile/src/components/Accordion/Accordion.tsx +12 -7
- package/mobile/src/components/AccordionItem/AccordionItem.tsx +12 -8
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -0
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +31 -18
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +6 -3
- package/mobile/src/components/Calculator/Calculator.tsx +32 -33
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +10 -12
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -2
- package/mobile/src/components/Carousel/Carousel.example.json +2 -2
- package/mobile/src/components/Carousel/Carousel.tsx +29 -40
- package/mobile/src/components/Carousel/CarouselContainer.tsx +19 -12
- package/mobile/src/components/Carousel/CarouselContent.ts +5 -9
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +22 -34
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +30 -24
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
- package/mobile/src/components/Catalog/Catalog.tsx +8 -13
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +2 -2
- package/mobile/src/components/ComparisonTable/ComparisonTableBody.tsx +6 -7
- package/mobile/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +3 -3
- package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +10 -14
- package/mobile/src/components/ComparisonTable/TableCarouselContainer.tsx +3 -3
- package/mobile/src/components/ComparisonTable/TableRow.tsx +3 -3
- package/mobile/src/components/ComparisonTable/constants.ts +1 -1
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +10 -13
- package/mobile/src/components/ContentPage/ContentPage.tsx +21 -20
- package/mobile/src/components/ExchangeRateTile/CurrencyTable.tsx +12 -14
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -4
- package/mobile/src/components/Footer/Footer.tsx +3 -3
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +12 -14
- package/mobile/src/components/Gallery/GalleryContainer.tsx +14 -16
- package/mobile/src/components/Gallery/GalleryInner.tsx +9 -22
- package/mobile/src/components/Header/Header.tsx +3 -4
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +29 -42
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +12 -34
- package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +2 -3
- package/mobile/src/components/OtherProducts/OtherProducts.tsx +3 -2
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +6 -5
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -1
- package/mobile/src/components/Recommendation/Recommendation.tsx +12 -36
- package/mobile/src/components/Recommendation/RecommendationCard.tsx +1 -2
- package/mobile/src/components/RollupItem/RollupItem.tsx +9 -7
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalContent.ts +1 -5
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +3 -3
- package/mobile/src/components/Tile/Tile.tsx +4 -2
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +3 -2
- package/mobile/src/components/Video/Video.tsx +29 -0
- package/mobile/src/components/Video/Video.ui.json +12 -0
- package/mobile/src/components/Video/VideoContent.ts +9 -0
- package/mobile/src/components/Video/getPaddings.ts +6 -0
- package/mobile/src/hooks/useCarouselControls.ts +33 -19
- package/mobile/src/model/JSXBlock.ts +4 -5
- package/mobile/src/model/LinkProps.ts +1 -0
- package/mobile/src/model/Picture.ts +8 -2
- package/{src/react → mobile/src}/setup-fixture.ts +4 -4
- package/mobile/src/ui-kit/Button/renderArrows.tsx +22 -17
- package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +9 -13
- package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +17 -0
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +35 -28
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +32 -27
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +10 -8
- package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +5 -3
- package/mobile/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -1
- package/mobile/src/ui-kit/Text/Text.tsx +79 -0
- package/package.json +1 -1
- package/src/BlockRenderer/BlockRendererOptions.ts +12 -0
- package/src/BlockRenderer/defaultBlockDecorator.ts +4 -0
- package/src/{model → BlockRenderer}/getParentBlockContent.ts +3 -3
- package/src/BlockRenderer/getParentBlockDef.ts +6 -0
- package/src/BlockRenderer/renderBlock.tsx +47 -0
- package/src/BlockRenderer/renderBlockList.tsx +33 -0
- package/src/BlockRenderer/renderChildren.ts +25 -0
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +40 -55
- package/src/components/Accordion/Accordion.fixture.tsx +79 -52
- package/src/components/Accordion/Accordion.mobile.tsx +12 -7
- package/src/components/Accordion/Accordion.tsx +10 -4
- package/src/components/AccordionItem/AccordionItem.fixture.mobile.tsx +13 -2
- package/src/components/AccordionItem/AccordionItem.fixture.tsx +12 -1
- package/src/components/AccordionItem/AccordionItem.mobile.tsx +12 -8
- package/src/components/AccordionItem/AccordionItem.tsx +7 -3
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +1 -1
- package/src/components/Blocks.ts +3 -1
- package/src/components/Bonus/Bonus.fixture.tsx +1 -1
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.example.json +1 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +12 -1
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +31 -18
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +6 -3
- package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +1 -1
- package/src/components/Calculator/Calculator.fixture.tsx +1 -1
- package/src/components/Calculator/Calculator.tsx +32 -33
- package/src/components/Calculator/CalculatorValueBlock.tsx +10 -12
- package/src/components/CardTransfer/CardTransfer.fixture.tsx +1 -1
- package/src/components/CardTransfer/CardTransfer.tsx +3 -2
- package/src/components/Carousel/Carousel.example.json +2 -2
- package/src/components/Carousel/Carousel.fixture.tsx +38 -45
- package/src/components/Carousel/Carousel.tsx +29 -40
- package/src/components/Carousel/CarouselContainer.tsx +19 -12
- package/src/components/Carousel/CarouselContent.ts +5 -9
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +9 -4
- package/src/components/CarouselCard/CarouselCard.tsx +22 -34
- package/src/components/CarouselLinks/CarouselLinks.tsx +30 -24
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +3 -3
- package/src/components/Catalog/Catalog.fixture.tsx +1 -1
- package/src/components/Catalog/Catalog.tsx +8 -13
- package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +2 -2
- package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +2 -2
- package/src/components/ComparisonTable/ComparisonTableBody.tsx +6 -7
- package/src/components/ComparisonTable/ComparisonTableColumnHeaders.tsx +3 -3
- package/src/components/ComparisonTable/ComparisonTableRows.tsx +10 -14
- package/src/components/ComparisonTable/TableCarouselContainer.tsx +3 -3
- package/src/components/ComparisonTable/TableRow.tsx +3 -3
- package/src/components/ComparisonTable/constants.ts +1 -1
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +1 -1
- package/src/components/ContactsBlock/ContactsBlock.tsx +10 -13
- package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +1 -1
- package/src/components/ContentPage/ContentPage.fixture.tsx +1 -1
- package/src/components/ContentPage/ContentPage.tsx +21 -20
- package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +1 -1
- package/src/components/ExchangeRateTile/CurrencyTable.tsx +12 -14
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +5 -4
- package/src/components/ExchangeRateTile/ExchangeRateTile.fixture.tsx +1 -1
- package/src/components/Footer/Footer.fixture.mobile.tsx +1 -1
- package/src/components/Footer/Footer.fixture.tsx +1 -1
- package/src/components/Footer/Footer.mobile.tsx +3 -3
- package/src/components/Footer/Footer.tsx +1 -1
- package/src/components/Gallery/Gallery.fixture.mobile.tsx +1 -1
- package/src/components/Gallery/Gallery.fixture.tsx +1 -1
- package/src/components/Gallery/GalleryCardInner.tsx +12 -14
- package/src/components/Gallery/GalleryContainer.tsx +14 -16
- package/src/components/Gallery/GalleryInner.tsx +9 -22
- package/src/components/GracePeriod/GracePeriod.fixture.tsx +1 -1
- package/src/components/Header/Header.fixture.mobile.tsx +1 -1
- package/src/components/Header/Header.fixture.tsx +1 -1
- package/src/components/Header/Header.mobile.tsx +3 -4
- package/src/components/Header/Header.tsx +1 -1
- package/src/components/Headline/Headline.fixture.mobile.tsx +1 -1
- package/src/components/Headline/Headline.fixture.tsx +1 -1
- package/src/components/Headline/Headline.tsx +3 -5
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +29 -42
- package/src/components/InvestmentGallery/InvestmentGallery.fixture.tsx +1 -1
- package/src/components/InvestmentGallery/InvestmentGallery.tsx +12 -34
- package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +2 -3
- package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +1 -1
- package/src/components/LikeControl/LikeControl.fixture.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +1 -1
- package/src/components/LinkList/LinkList.fixture.tsx +1 -1
- package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +5 -5
- package/src/components/OfficeMap/OfficeMap.fixture.tsx +1 -1
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -1
- package/src/components/OtherProducts/OtherProducts.fixture.tsx +86 -76
- package/src/components/OtherProducts/OtherProducts.tsx +3 -2
- package/src/components/OtherProductsItem/OtherProductsItem.fixture.tsx +16 -1
- package/src/components/OtherProductsItem/OtherProductsItem.tsx +6 -5
- package/src/components/PictureText/PictureText.fixture.tsx +1 -1
- package/src/components/Placeholder/Placeholder.fixture.mobile.tsx +1 -1
- package/src/components/Placeholder/Placeholder.fixture.tsx +1 -1
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +1 -1
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +13 -1
- package/src/components/ProductBlock/ProductBlockContent.ts +3 -1
- package/src/components/ProductBlock/ProductBlockInner.tsx +26 -22
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +1 -1
- package/src/components/ProductTile/ProductTile.fixture.tsx +1 -1
- package/src/components/PromoTile/PromoTile.fixture.tsx +1 -1
- package/src/components/Recommendation/Recommendation.fixture.tsx +1 -1
- package/src/components/Recommendation/Recommendation.tsx +12 -36
- package/src/components/Recommendation/RecommendationCard.tsx +1 -2
- package/src/components/RollupItem/RollupItem.fixture.tsx +44 -11
- package/src/components/RollupItem/RollupItem.tsx +9 -7
- package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRentalContent.ts +1 -5
- package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.tsx +1 -1
- package/src/components/Tabs/Tabs.fixture.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.tsx +21 -38
- package/src/components/TariffsTable/TariffsTableRow.tsx +3 -3
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +1 -1
- package/src/components/TextBlock/TextBlock.fixture.tsx +1 -1
- package/src/components/Tile/Tile.fixture.tsx +1 -1
- package/src/components/Tile/Tile.tsx +4 -2
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +126 -47
- package/src/components/VerticalLayout/VerticalLayout.tsx +3 -2
- package/src/components/Video/Video.fixture.tsx +33 -0
- package/src/components/Video/Video.tsx +29 -0
- package/src/components/Video/Video.ui.json +12 -0
- package/src/components/Video/VideoContent.ts +9 -0
- package/src/components/Video/getPaddings.ts +6 -0
- package/src/hooks/useCarouselControls.ts +33 -19
- package/src/model/JSXBlock.ts +4 -5
- package/src/model/LinkProps.ts +1 -0
- package/src/model/Picture.ts +8 -2
- package/{mobile/src/react → src}/setup-fixture.ts +4 -4
- package/src/ui-kit/Button/Button.fixture.tsx +1 -1
- package/src/ui-kit/Button/renderArrows.tsx +22 -17
- package/src/ui-kit/HeaderItem/HeaderItem.fixture.tsx +1 -1
- package/src/ui-kit/Icon/Icon.fixture.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +9 -13
- package/src/ui-kit/List/List.fixture.tsx +1 -1
- package/src/ui-kit/Logo/Logo.fixture.tsx +1 -1
- package/src/ui-kit/Paragraph/Paragraph.tsx +17 -0
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +1 -1
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +24 -8
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +35 -28
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +32 -27
- package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +10 -8
- package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControl.tsx +5 -3
- package/src/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.ts +2 -1
- package/src/ui-kit/Text/Text.tsx +79 -0
- package/src/ui-kit/TopItem/TopItem.fixture.tsx +1 -1
- package/bundle/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/bundle/components/ContentPage/renderBlock.d.ts +0 -15
- package/bundle/components/ContentPage/renderBlockList.d.ts +0 -14
- package/bundle/components/ContentPage/renderSlots.d.ts +0 -12
- package/bundle/model/getParentBlockContent.d.ts +0 -2
- package/bundle/model/getParentBlockDef.d.ts +0 -3
- package/bundle/ui-kit/Description/Description.d.ts +0 -5
- package/bundle/utils/sliceArray.d.ts +0 -1
- package/dist/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/dist/components/Carousel/CarouselNavButtons.js +0 -36
- package/dist/components/Carousel/CarouselNavButtons.js.map +0 -1
- package/dist/components/ContentPage/renderBlock.d.ts +0 -15
- package/dist/components/ContentPage/renderBlock.js +0 -29
- package/dist/components/ContentPage/renderBlock.js.map +0 -1
- package/dist/components/ContentPage/renderBlockList.d.ts +0 -14
- package/dist/components/ContentPage/renderBlockList.js +0 -11
- package/dist/components/ContentPage/renderBlockList.js.map +0 -1
- package/dist/components/ContentPage/renderSlots.d.ts +0 -12
- package/dist/components/ContentPage/renderSlots.js +0 -15
- package/dist/components/ContentPage/renderSlots.js.map +0 -1
- package/dist/model/getParentBlockContent.d.ts +0 -2
- package/dist/model/getParentBlockContent.js.map +0 -1
- package/dist/model/getParentBlockDef.d.ts +0 -3
- package/dist/model/getParentBlockDef.js +0 -11
- package/dist/model/getParentBlockDef.js.map +0 -1
- package/dist/react/setup-fixture.js.map +0 -1
- package/dist/ui-kit/Description/Description.d.ts +0 -5
- package/dist/ui-kit/Description/Description.js +0 -9
- package/dist/ui-kit/Description/Description.js.map +0 -1
- package/dist/utils/sliceArray.d.ts +0 -1
- package/dist/utils/sliceArray.js +0 -15
- package/dist/utils/sliceArray.js.map +0 -1
- package/lib/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/lib/components/Carousel/CarouselNavButtons.js +0 -34
- package/lib/components/Carousel/CarouselNavButtons.js.map +0 -1
- package/lib/components/ContentPage/renderBlock.d.ts +0 -15
- package/lib/components/ContentPage/renderBlock.js +0 -26
- package/lib/components/ContentPage/renderBlock.js.map +0 -1
- package/lib/components/ContentPage/renderBlockList.d.ts +0 -14
- package/lib/components/ContentPage/renderBlockList.js +0 -8
- package/lib/components/ContentPage/renderBlockList.js.map +0 -1
- package/lib/components/ContentPage/renderSlots.d.ts +0 -12
- package/lib/components/ContentPage/renderSlots.js +0 -12
- package/lib/components/ContentPage/renderSlots.js.map +0 -1
- package/lib/model/getParentBlockContent.d.ts +0 -2
- package/lib/model/getParentBlockContent.js +0 -6
- package/lib/model/getParentBlockContent.js.map +0 -1
- package/lib/model/getParentBlockDef.d.ts +0 -3
- package/lib/model/getParentBlockDef.js +0 -8
- package/lib/model/getParentBlockDef.js.map +0 -1
- package/lib/react/setup-fixture.js.map +0 -1
- package/lib/ui-kit/Description/Description.d.ts +0 -5
- package/lib/ui-kit/Description/Description.js +0 -7
- package/lib/ui-kit/Description/Description.js.map +0 -1
- package/lib/utils/sliceArray.d.ts +0 -1
- package/lib/utils/sliceArray.js +0 -12
- package/lib/utils/sliceArray.js.map +0 -1
- package/mobile/bundle/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/mobile/bundle/components/ContentPage/renderBlock.d.ts +0 -15
- package/mobile/bundle/components/ContentPage/renderBlockList.d.ts +0 -14
- package/mobile/bundle/components/ContentPage/renderSlots.d.ts +0 -12
- package/mobile/bundle/model/getParentBlockContent.d.ts +0 -2
- package/mobile/bundle/model/getParentBlockDef.d.ts +0 -3
- package/mobile/bundle/ui-kit/Description/Description.d.ts +0 -5
- package/mobile/bundle/utils/sliceArray.d.ts +0 -1
- package/mobile/dist/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/mobile/dist/components/Carousel/CarouselNavButtons.js +0 -36
- package/mobile/dist/components/Carousel/CarouselNavButtons.js.map +0 -1
- package/mobile/dist/components/ContentPage/renderBlock.d.ts +0 -15
- package/mobile/dist/components/ContentPage/renderBlock.js +0 -29
- package/mobile/dist/components/ContentPage/renderBlock.js.map +0 -1
- package/mobile/dist/components/ContentPage/renderBlockList.d.ts +0 -14
- package/mobile/dist/components/ContentPage/renderBlockList.js +0 -11
- package/mobile/dist/components/ContentPage/renderBlockList.js.map +0 -1
- package/mobile/dist/components/ContentPage/renderSlots.d.ts +0 -12
- package/mobile/dist/components/ContentPage/renderSlots.js +0 -15
- package/mobile/dist/components/ContentPage/renderSlots.js.map +0 -1
- package/mobile/dist/model/getParentBlockContent.d.ts +0 -2
- package/mobile/dist/model/getParentBlockContent.js.map +0 -1
- package/mobile/dist/model/getParentBlockDef.d.ts +0 -3
- package/mobile/dist/model/getParentBlockDef.js +0 -11
- package/mobile/dist/model/getParentBlockDef.js.map +0 -1
- package/mobile/dist/react/setup-fixture.js.map +0 -1
- package/mobile/dist/ui-kit/Description/Description.d.ts +0 -5
- package/mobile/dist/ui-kit/Description/Description.js +0 -9
- package/mobile/dist/ui-kit/Description/Description.js.map +0 -1
- package/mobile/dist/utils/sliceArray.d.ts +0 -1
- package/mobile/dist/utils/sliceArray.js +0 -15
- package/mobile/dist/utils/sliceArray.js.map +0 -1
- package/mobile/lib/components/Carousel/CarouselNavButtons.d.ts +0 -11
- package/mobile/lib/components/Carousel/CarouselNavButtons.js +0 -34
- package/mobile/lib/components/Carousel/CarouselNavButtons.js.map +0 -1
- package/mobile/lib/components/ContentPage/renderBlock.d.ts +0 -15
- package/mobile/lib/components/ContentPage/renderBlock.js +0 -26
- package/mobile/lib/components/ContentPage/renderBlock.js.map +0 -1
- package/mobile/lib/components/ContentPage/renderBlockList.d.ts +0 -14
- package/mobile/lib/components/ContentPage/renderBlockList.js +0 -8
- package/mobile/lib/components/ContentPage/renderBlockList.js.map +0 -1
- package/mobile/lib/components/ContentPage/renderSlots.d.ts +0 -12
- package/mobile/lib/components/ContentPage/renderSlots.js +0 -12
- package/mobile/lib/components/ContentPage/renderSlots.js.map +0 -1
- package/mobile/lib/model/getParentBlockContent.d.ts +0 -2
- package/mobile/lib/model/getParentBlockContent.js +0 -6
- package/mobile/lib/model/getParentBlockContent.js.map +0 -1
- package/mobile/lib/model/getParentBlockDef.d.ts +0 -3
- package/mobile/lib/model/getParentBlockDef.js +0 -8
- package/mobile/lib/model/getParentBlockDef.js.map +0 -1
- package/mobile/lib/react/setup-fixture.js.map +0 -1
- package/mobile/lib/ui-kit/Description/Description.d.ts +0 -5
- package/mobile/lib/ui-kit/Description/Description.js +0 -7
- package/mobile/lib/ui-kit/Description/Description.js.map +0 -1
- package/mobile/lib/utils/sliceArray.d.ts +0 -1
- package/mobile/lib/utils/sliceArray.js +0 -12
- package/mobile/lib/utils/sliceArray.js.map +0 -1
- package/mobile/src/components/Carousel/CarouselNavButtons.tsx +0 -51
- package/mobile/src/components/ContentPage/renderBlock.tsx +0 -61
- package/mobile/src/components/ContentPage/renderBlockList.tsx +0 -28
- package/mobile/src/components/ContentPage/renderSlots.tsx +0 -32
- package/mobile/src/model/getParentBlockDef.ts +0 -12
- package/mobile/src/ui-kit/Description/Description.tsx +0 -12
- package/mobile/src/utils/sliceArray.ts +0 -15
- package/src/components/Carousel/CarouselNavButtons.tsx +0 -51
- package/src/components/ContentPage/renderBlock.tsx +0 -61
- package/src/components/ContentPage/renderBlockList.tsx +0 -28
- package/src/components/ContentPage/renderSlots.tsx +0 -32
- package/src/model/.CarouselCardVersion.ts.icloud +0 -0
- package/src/model/getParentBlockDef.ts +0 -12
- package/src/ui-kit/Description/Description.tsx +0 -12
- package/src/utils/sliceArray.ts +0 -15
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getParentBlockDef.js","sourceRoot":"","sources":["../../src/model/getParentBlockDef.ts"],"names":[],"mappings":";;AAGA,SAAgB,iBAAiB,CAAC,SAAqC,EAAE,IAAa;IACpF,MAAM,CAAC,KAAK,CAAC,GACX,CAAC,SAAS,IAAI,EAAE,CAAC;SACd,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC;SACnB,OAAO,EAAE;SACT,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,KAAM,CAAc,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;IAEvF,OAAO,KAAK,IAAI,EAAE,CAAC;AACrB,CAAC;AARD,8CAQC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup-fixture.js","sourceRoot":"","sources":["../../src/react/setup-fixture.ts"],"names":[],"mappings":";;;;AAAA,6CAA2C;AAC3C,iCAAiC;AACjC,gEAA6D;AAC7D,kDAA+C;AAC/C,wDAAqD;AACrD,2DAA8B;AAE9B,iCAAe,CAAC,KAAK,CAAC,kBAAG,CAAC,CAAC;AAE3B,qBAAS,CAAC,KAAK,CAAC,GAAG,EAAE;IACnB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,EAAS,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEnE,OAAO;QACL,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;YAC5C,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;QACD,OAAO,EAAE,CAAC,GAAW,EAAE,EAAE;YACvB,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;YAC/C,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;KACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,mCAAgB,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,aAAa,EAAO,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE;IAC7D,EAAE,CAAC,cAAc,EAAE,CAAC;IACpB,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,EAAE,aAAa,CAAC,CAAC;IAC1C,OAAO,CAAC,EAAE,CAAC,CAAC;AACd,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
2
|
-
export interface DescriptionCommonProps extends DescriptionProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const Description: import("@redneckz/uni-jsx").UNIComponent<DescriptionCommonProps, any, any>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.Description = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
exports.Description = (0, uni_jsx_1.JSX)((props) => {
|
|
6
|
-
const { className = '', description } = props;
|
|
7
|
-
return (0, jsx_runtime_1.jsx)("div", { className: `${className}`, children: description });
|
|
8
|
-
});
|
|
9
|
-
//# sourceMappingURL=Description.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/ui-kit/Description/Description.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAO3B,QAAA,WAAW,GAAG,IAAA,aAAG,EAAyB,CAAC,KAAK,EAAE,EAAE;IAC/D,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE9C,OAAO,gCAAK,SAAS,EAAE,GAAG,SAAS,EAAE,YAAG,WAAW,GAAO,CAAC;AAC7D,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const sliceArray: <T>(items: T[], size: number) => T[][];
|
package/dist/utils/sliceArray.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.sliceArray = void 0;
|
|
3
|
-
const sliceArray = (items, size) => {
|
|
4
|
-
const result = items.reduce((resultArray, item, index) => {
|
|
5
|
-
const chunkIndex = Math.floor(index / (size - 1));
|
|
6
|
-
if (!resultArray[chunkIndex]) {
|
|
7
|
-
resultArray[chunkIndex] = [item];
|
|
8
|
-
}
|
|
9
|
-
resultArray[chunkIndex].push(item);
|
|
10
|
-
return resultArray;
|
|
11
|
-
}, []);
|
|
12
|
-
return result;
|
|
13
|
-
};
|
|
14
|
-
exports.sliceArray = sliceArray;
|
|
15
|
-
//# sourceMappingURL=sliceArray.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sliceArray.js","sourceRoot":"","sources":["../../src/utils/sliceArray.ts"],"names":[],"mappings":";;AAAO,MAAM,UAAU,GAAG,CAAI,KAAU,EAAE,IAAY,EAAE,EAAE;IACxD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,WAAkB,EAAE,IAAO,EAAE,KAAa,EAAE,EAAE;QACzE,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;QAElD,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE;YAC5B,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;SAClC;QAED,WAAW,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEnC,OAAO,WAAW,CAAC;IACrB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC;AAdW,QAAA,UAAU,cAcrB"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { VNode } from '../../model/VNode';
|
|
2
|
-
interface CarouselNavButtonsProps {
|
|
3
|
-
cardsCount: number;
|
|
4
|
-
activeCardIndex: number;
|
|
5
|
-
setActiveCardIndex: (index: number) => void;
|
|
6
|
-
cardFullViewCount: number;
|
|
7
|
-
cards?: VNode[];
|
|
8
|
-
isCycle?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const CarouselNavButtons: import("@redneckz/uni-jsx").UNIComponent<CarouselNavButtonsProps, any, any>;
|
|
11
|
-
export {};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import { renderArrows } from '../../ui-kit/Button/renderArrows.js';
|
|
4
|
-
export const CarouselNavButtons = JSX(({ cardsCount, activeCardIndex, setActiveCardIndex, cardFullViewCount, isCycle }) => {
|
|
5
|
-
const isGalleryScrollAvailable = cardsCount > cardFullViewCount;
|
|
6
|
-
const showNextButton = (isCycle && isGalleryScrollAvailable) ||
|
|
7
|
-
(isGalleryScrollAvailable && cardsCount - activeCardIndex > cardFullViewCount);
|
|
8
|
-
const showPrevButton = (isCycle && isGalleryScrollAvailable) || (isGalleryScrollAvailable && activeCardIndex > 0);
|
|
9
|
-
const handleNextClick = useCallback(() => {
|
|
10
|
-
if (isCycle) {
|
|
11
|
-
const nextIndex = activeCardIndex + 1;
|
|
12
|
-
setActiveCardIndex(cardsCount === nextIndex ? 0 : nextIndex);
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
setActiveCardIndex(activeCardIndex + 1);
|
|
16
|
-
}
|
|
17
|
-
}, []);
|
|
18
|
-
const handlePrevClick = useCallback(() => {
|
|
19
|
-
if (isCycle && cardsCount > 0) {
|
|
20
|
-
const prevIndex = activeCardIndex - 1;
|
|
21
|
-
setActiveCardIndex(prevIndex < 0 ? cardsCount - 1 : prevIndex);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
setActiveCardIndex(activeCardIndex - 1);
|
|
25
|
-
}
|
|
26
|
-
}, []);
|
|
27
|
-
return renderArrows({
|
|
28
|
-
handler: [handlePrevClick, handleNextClick],
|
|
29
|
-
isShown: [showPrevButton, showNextButton],
|
|
30
|
-
btnClass: ['left-8', 'right-8'],
|
|
31
|
-
className: 'top-1/2 z-10',
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
//# sourceMappingURL=CarouselNavButtons.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselNavButtons.js","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselNavButtons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAWhE,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CACnC,CAAC,EAAE,UAAU,EAAE,eAAe,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,EAAE;IAClF,MAAM,wBAAwB,GAAG,UAAU,GAAG,iBAAiB,CAAC;IAEhE,MAAM,cAAc,GAClB,CAAC,OAAO,IAAI,wBAAwB,CAAC;QACrC,CAAC,wBAAwB,IAAI,UAAU,GAAG,eAAe,GAAG,iBAAiB,CAAC,CAAC;IAEjF,MAAM,cAAc,GAClB,CAAC,OAAO,IAAI,wBAAwB,CAAC,IAAI,CAAC,wBAAwB,IAAI,eAAe,GAAG,CAAC,CAAC,CAAC;IAE7F,MAAM,eAAe,GAAG,WAAW,CAAC,GAAG,EAAE;QACvC,IAAI,OAAO,EAAE;YACX,MAAM,SAAS,GAAG,eAAe,GAAG,CAAC,CAAC;YACtC,kBAAkB,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;SAC9D;aAAM;YACL,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;SACzC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,eAAe,GAAG,WAAW,CAAC,GAAG,EAAE;QACvC,IAAI,OAAO,IAAI,UAAU,GAAG,CAAC,EAAE;YAC7B,MAAM,SAAS,GAAG,eAAe,GAAG,CAAC,CAAC;YACtC,kBAAkB,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;SAChE;aAAM;YACL,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;SACzC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;QACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;QAC/B,SAAS,EAAE,cAAc;KAC1B,CAAC,CAAC;AACL,CAAC,CACF,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BlockAncestors, BlockDecorator } from '../../model/BlockDecorator';
|
|
2
|
-
import type { BlocksRegistry } from '../../model/BlocksRegistry';
|
|
3
|
-
import type { BlockDef, ContentPageDef } from '../../model/ContentPageDef';
|
|
4
|
-
export interface RenderBlockOptions {
|
|
5
|
-
key: string;
|
|
6
|
-
page: ContentPageDef;
|
|
7
|
-
blockDecorator: BlockDecorator;
|
|
8
|
-
blocksRegistry: BlocksRegistry;
|
|
9
|
-
}
|
|
10
|
-
export interface RenderBlockProps {
|
|
11
|
-
block?: BlockDef;
|
|
12
|
-
options: RenderBlockOptions;
|
|
13
|
-
ancestors?: BlockAncestors;
|
|
14
|
-
}
|
|
15
|
-
export declare function renderBlock({ block, options, ancestors }: RenderBlockProps): any;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { style2className } from '../../utils/style2className.js';
|
|
3
|
-
import { renderBlocksList } from './renderBlockList.js';
|
|
4
|
-
import { renderSlots } from './renderSlots.js';
|
|
5
|
-
export function renderBlock({ block = {}, options, ancestors = [] }) {
|
|
6
|
-
const { key, page, blockDecorator, blocksRegistry = {} } = options;
|
|
7
|
-
const { type, slots, blocks: childBlocks } = block;
|
|
8
|
-
if (!(type && type in blocksRegistry)) {
|
|
9
|
-
console.warn(`No block with "${type}" is registered`);
|
|
10
|
-
}
|
|
11
|
-
const BlockComponent = type && blocksRegistry[type];
|
|
12
|
-
const subBlockRenderProps = { parent: block, options, ancestors };
|
|
13
|
-
const children = renderBlocksList({ ...subBlockRenderProps, blocks: childBlocks });
|
|
14
|
-
const blockSlots = slots ? renderSlots({ ...subBlockRenderProps, slots }) : {};
|
|
15
|
-
return blockDecorator({
|
|
16
|
-
blockClassName: `scroll-mt-12 ${style2className(block.style)}`,
|
|
17
|
-
block,
|
|
18
|
-
ancestors,
|
|
19
|
-
// Adjusted by decorator block and blockClassName
|
|
20
|
-
render: ({ block: adjustedBlock, blockClassName: adjustedBlockClassName }) => {
|
|
21
|
-
const { content } = adjustedBlock;
|
|
22
|
-
return BlockComponent ? (_jsx(BlockComponent, { page: page, block: adjustedBlock, className: adjustedBlockClassName, ancestors: ancestors, slots: blockSlots, ...content, children: children }, key)) : null;
|
|
23
|
-
},
|
|
24
|
-
}, key);
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=renderBlock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderBlock.js","sourceRoot":"","sources":["../../../src/components/ContentPage/renderBlock.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAe5C,MAAM,UAAU,WAAW,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAoB;IACnF,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,cAAc,EAAE,cAAc,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;IACnE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAEnD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,IAAI,cAAc,CAAC,EAAE;QACrC,OAAO,CAAC,IAAI,CAAC,kBAAkB,IAAI,iBAAiB,CAAC,CAAC;KACvD;IAED,MAAM,cAAc,GAAG,IAAI,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;IAEpD,MAAM,mBAAmB,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;IAClE,MAAM,QAAQ,GAAG,gBAAgB,CAAC,EAAE,GAAG,mBAAmB,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;IACnF,MAAM,UAAU,GAAG,KAAK,CAAC,CAAC,CAAC,WAAW,CAAC,EAAE,GAAG,mBAAmB,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAE/E,OAAO,cAAc,CACnB;QACE,cAAc,EAAE,gBAAgB,eAAe,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;QAC9D,KAAK;QACL,SAAS;QACT,iDAAiD;QACjD,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,sBAAsB,EAAE,EAAE,EAAE;YAC3E,MAAM,EAAE,OAAO,EAAE,GAAG,aAAa,CAAC;YAElC,OAAO,cAAc,CAAC,CAAC,CAAC,CACtB,KAAC,cAAc,IAEb,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,aAAa,EACpB,SAAS,EAAE,sBAAsB,EACjC,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,UAAU,KACb,OAAO,YAEV,QAAQ,IARJ,GAAG,CASO,CAClB,CAAC,CAAC,CAAC,IAAI,CAAC;QACX,CAAC;KACF,EACD,GAAG,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { SlotName } from '../../model/BlockDecorator';
|
|
2
|
-
import { BlockAncestors } from '../../model/BlockDecorator';
|
|
3
|
-
import type { BlockDef, Slot } from '../../model/ContentPageDef';
|
|
4
|
-
import type { VNode } from '../../model/VNode';
|
|
5
|
-
import { RenderBlockOptions } from './renderBlock';
|
|
6
|
-
interface RenderBlockListProps {
|
|
7
|
-
blocks?: BlockDef[];
|
|
8
|
-
parent: Slot;
|
|
9
|
-
slotName?: SlotName;
|
|
10
|
-
options: RenderBlockOptions;
|
|
11
|
-
ancestors?: BlockAncestors;
|
|
12
|
-
}
|
|
13
|
-
export declare const renderBlocksList: ({ blocks, parent, slotName, options, ancestors, }: RenderBlockListProps) => VNode[];
|
|
14
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DEFAULT_SLOT_NAME } from '../../model/BlockDecorator.js';
|
|
2
|
-
import { renderBlock } from './renderBlock.js';
|
|
3
|
-
export const renderBlocksList = ({ blocks, parent, slotName = DEFAULT_SLOT_NAME, options, ancestors = [], }) => (blocks || []).map((_, j) => renderBlock({
|
|
4
|
-
block: _,
|
|
5
|
-
options: { ...options, key: `${options.key ? options.key : _.type}-${j}` },
|
|
6
|
-
ancestors: [...ancestors, [parent, slotName]],
|
|
7
|
-
}));
|
|
8
|
-
//# sourceMappingURL=renderBlockList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderBlockList.js","sourceRoot":"","sources":["../../../src/components/ContentPage/renderBlockList.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkB,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/E,OAAO,EAAE,WAAW,EAAsB,MAAM,eAAe,CAAC;AAUhE,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAC/B,MAAM,EACN,MAAM,EACN,QAAQ,GAAG,iBAAiB,EAC5B,OAAO,EACP,SAAS,GAAG,EAAE,GACO,EAAW,EAAE,CAClC,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAW,EAAE,CAAS,EAAE,EAAE,CAC5C,WAAW,CAAC;IACV,KAAK,EAAE,CAAC;IACR,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,EAAE,EAAE;IAC1E,SAAS,EAAE,CAAC,GAAG,SAAS,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CAC9C,CAAC,CACH,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BlockAncestors } from '../../model/BlockDecorator';
|
|
2
|
-
import type { BlockDef, Slot } from '../../model/ContentPageDef';
|
|
3
|
-
import type { VNode } from '../../model/VNode';
|
|
4
|
-
import type { RenderBlockOptions } from './renderBlock';
|
|
5
|
-
interface RenderSlotsProps {
|
|
6
|
-
slots?: Record<string, BlockDef[]>;
|
|
7
|
-
parent: Slot;
|
|
8
|
-
options: RenderBlockOptions;
|
|
9
|
-
ancestors?: BlockAncestors;
|
|
10
|
-
}
|
|
11
|
-
export declare const renderSlots: ({ slots, parent, options, ancestors, }: RenderSlotsProps) => Record<string, VNode[]>;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { renderBlocksList } from './renderBlockList.js';
|
|
2
|
-
export const renderSlots = ({ slots, parent, options, ancestors = [], }) => Object.entries(slots || {}).reduce((res, [slotName, slotBlocks]) => ({
|
|
3
|
-
...res,
|
|
4
|
-
[slotName]: renderBlocksList({
|
|
5
|
-
blocks: slotBlocks,
|
|
6
|
-
parent,
|
|
7
|
-
slotName,
|
|
8
|
-
options,
|
|
9
|
-
ancestors,
|
|
10
|
-
}),
|
|
11
|
-
}), {});
|
|
12
|
-
//# sourceMappingURL=renderSlots.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderSlots.js","sourceRoot":"","sources":["../../../src/components/ContentPage/renderSlots.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AASrD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAC1B,KAAK,EACL,MAAM,EACN,OAAO,EACP,SAAS,GAAG,EAAE,GACG,EAA2B,EAAE,CAC9C,MAAM,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,CAChC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC,EAAE,EAAE,CAAC,CAAC;IAChC,GAAG,GAAG;IACN,CAAC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;QAC3B,MAAM,EAAE,UAAU;QAClB,MAAM;QACN,QAAQ;QACR,OAAO;QACP,SAAS;KACV,CAAC;CACH,CAAC,EACF,EAAE,CACH,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { getParentBlockDef } from './getParentBlockDef.js';
|
|
2
|
-
export function getParentBlockContent(ancestors, defaultContent) {
|
|
3
|
-
const { content } = getParentBlockDef(ancestors);
|
|
4
|
-
return content || defaultContent;
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=getParentBlockContent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getParentBlockContent.js","sourceRoot":"","sources":["../../src/model/getParentBlockContent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,UAAU,qBAAqB,CACnC,SAAqC,EACrC,cAAiB;IAEjB,MAAM,EAAE,OAAO,EAAE,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAC;IAEjD,OAAQ,OAAa,IAAI,cAAc,CAAC;AAC1C,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export function getParentBlockDef(ancestors, type) {
|
|
2
|
-
const [block] = (ancestors || [])
|
|
3
|
-
.map((item) => item)
|
|
4
|
-
.reverse()
|
|
5
|
-
.find(([_]) => _ && 'type' in _ && (!type || type === _.type)) || [];
|
|
6
|
-
return block || {};
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=getParentBlockDef.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getParentBlockDef.js","sourceRoot":"","sources":["../../src/model/getParentBlockDef.ts"],"names":[],"mappings":"AAGA,MAAM,UAAU,iBAAiB,CAAC,SAAqC,EAAE,IAAa;IACpF,MAAM,CAAC,KAAK,CAAC,GACX,CAAC,SAAS,IAAI,EAAE,CAAC;SACd,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC;SACnB,OAAO,EAAE;SACT,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,KAAM,CAAc,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;IAEvF,OAAO,KAAK,IAAI,EAAE,CAAC;AACrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup-fixture.js","sourceRoot":"","sources":["../../src/react/setup-fixture.ts"],"names":[],"mappings":"AAAA,OAAO,mCAAmC,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,GAAG,MAAM,aAAa,CAAC;AAE9B,eAAe,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;AAE3B,SAAS,CAAC,KAAK,CAAC,GAAG,EAAE;IACnB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAS,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEnE,OAAO;QACL,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;YAC5C,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;QACD,OAAO,EAAE,CAAC,GAAW,EAAE,EAAE;YACvB,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;YAC/C,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;KACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,gBAAgB,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,aAAa,EAAO,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE;IAC7D,EAAE,CAAC,cAAc,EAAE,CAAC;IACpB,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,EAAE,aAAa,CAAC,CAAC;IAC1C,OAAO,CAAC,EAAE,CAAC,CAAC;AACd,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
2
|
-
export interface DescriptionCommonProps extends DescriptionProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const Description: import("@redneckz/uni-jsx").UNIComponent<DescriptionCommonProps, any, any>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
export const Description = JSX((props) => {
|
|
4
|
-
const { className = '', description } = props;
|
|
5
|
-
return _jsx("div", { className: `${className}`, children: description });
|
|
6
|
-
});
|
|
7
|
-
//# sourceMappingURL=Description.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Description.js","sourceRoot":"","sources":["../../../src/ui-kit/Description/Description.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAOxC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAyB,CAAC,KAAK,EAAE,EAAE;IAC/D,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE9C,OAAO,cAAK,SAAS,EAAE,GAAG,SAAS,EAAE,YAAG,WAAW,GAAO,CAAC;AAC7D,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const sliceArray: <T>(items: T[], size: number) => T[][];
|
package/lib/utils/sliceArray.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export const sliceArray = (items, size) => {
|
|
2
|
-
const result = items.reduce((resultArray, item, index) => {
|
|
3
|
-
const chunkIndex = Math.floor(index / (size - 1));
|
|
4
|
-
if (!resultArray[chunkIndex]) {
|
|
5
|
-
resultArray[chunkIndex] = [item];
|
|
6
|
-
}
|
|
7
|
-
resultArray[chunkIndex].push(item);
|
|
8
|
-
return resultArray;
|
|
9
|
-
}, []);
|
|
10
|
-
return result;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=sliceArray.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sliceArray.js","sourceRoot":"","sources":["../../src/utils/sliceArray.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,CAAI,KAAU,EAAE,IAAY,EAAE,EAAE;IACxD,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,WAAkB,EAAE,IAAO,EAAE,KAAa,EAAE,EAAE;QACzE,MAAM,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC;QAElD,IAAI,CAAC,WAAW,CAAC,UAAU,CAAC,EAAE;YAC5B,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;SAClC;QAED,WAAW,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAEnC,OAAO,WAAW,CAAC;IACrB,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,MAAM,CAAC;AAChB,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { VNode } from '../../model/VNode';
|
|
2
|
-
interface CarouselNavButtonsProps {
|
|
3
|
-
cardsCount: number;
|
|
4
|
-
activeCardIndex: number;
|
|
5
|
-
setActiveCardIndex: (index: number) => void;
|
|
6
|
-
cardFullViewCount: number;
|
|
7
|
-
cards?: VNode[];
|
|
8
|
-
isCycle?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const CarouselNavButtons: import("@redneckz/uni-jsx").UNIComponent<CarouselNavButtonsProps, any, any>;
|
|
11
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BlockAncestors, BlockDecorator } from '../../model/BlockDecorator';
|
|
2
|
-
import type { BlocksRegistry } from '../../model/BlocksRegistry';
|
|
3
|
-
import type { BlockDef, ContentPageDef } from '../../model/ContentPageDef';
|
|
4
|
-
export interface RenderBlockOptions {
|
|
5
|
-
key: string;
|
|
6
|
-
page: ContentPageDef;
|
|
7
|
-
blockDecorator: BlockDecorator;
|
|
8
|
-
blocksRegistry: BlocksRegistry;
|
|
9
|
-
}
|
|
10
|
-
export interface RenderBlockProps {
|
|
11
|
-
block?: BlockDef;
|
|
12
|
-
options: RenderBlockOptions;
|
|
13
|
-
ancestors?: BlockAncestors;
|
|
14
|
-
}
|
|
15
|
-
export declare function renderBlock({ block, options, ancestors }: RenderBlockProps): any;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { SlotName } from '../../model/BlockDecorator';
|
|
2
|
-
import { BlockAncestors } from '../../model/BlockDecorator';
|
|
3
|
-
import type { BlockDef, Slot } from '../../model/ContentPageDef';
|
|
4
|
-
import type { VNode } from '../../model/VNode';
|
|
5
|
-
import { RenderBlockOptions } from './renderBlock';
|
|
6
|
-
interface RenderBlockListProps {
|
|
7
|
-
blocks?: BlockDef[];
|
|
8
|
-
parent: Slot;
|
|
9
|
-
slotName?: SlotName;
|
|
10
|
-
options: RenderBlockOptions;
|
|
11
|
-
ancestors?: BlockAncestors;
|
|
12
|
-
}
|
|
13
|
-
export declare const renderBlocksList: ({ blocks, parent, slotName, options, ancestors, }: RenderBlockListProps) => VNode[];
|
|
14
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BlockAncestors } from '../../model/BlockDecorator';
|
|
2
|
-
import type { BlockDef, Slot } from '../../model/ContentPageDef';
|
|
3
|
-
import type { VNode } from '../../model/VNode';
|
|
4
|
-
import type { RenderBlockOptions } from './renderBlock';
|
|
5
|
-
interface RenderSlotsProps {
|
|
6
|
-
slots?: Record<string, BlockDef[]>;
|
|
7
|
-
parent: Slot;
|
|
8
|
-
options: RenderBlockOptions;
|
|
9
|
-
ancestors?: BlockAncestors;
|
|
10
|
-
}
|
|
11
|
-
export declare const renderSlots: ({ slots, parent, options, ancestors, }: RenderSlotsProps) => Record<string, VNode[]>;
|
|
12
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
2
|
-
export interface DescriptionCommonProps extends DescriptionProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const Description: import("@redneckz/uni-jsx").UNIComponent<DescriptionCommonProps, any, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const sliceArray: <T>(items: T[], size: number) => T[][];
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { VNode } from '../../model/VNode';
|
|
2
|
-
interface CarouselNavButtonsProps {
|
|
3
|
-
cardsCount: number;
|
|
4
|
-
activeCardIndex: number;
|
|
5
|
-
setActiveCardIndex: (index: number) => void;
|
|
6
|
-
cardFullViewCount: number;
|
|
7
|
-
cards?: VNode[];
|
|
8
|
-
isCycle?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare const CarouselNavButtons: import("@redneckz/uni-jsx").UNIComponent<CarouselNavButtonsProps, any, any>;
|
|
11
|
-
export {};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.CarouselNavButtons = void 0;
|
|
3
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
4
|
-
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
5
|
-
const renderArrows_1 = require("../../ui-kit/Button/renderArrows");
|
|
6
|
-
exports.CarouselNavButtons = (0, uni_jsx_1.JSX)(({ cardsCount, activeCardIndex, setActiveCardIndex, cardFullViewCount, isCycle }) => {
|
|
7
|
-
const isGalleryScrollAvailable = cardsCount > cardFullViewCount;
|
|
8
|
-
const showNextButton = (isCycle && isGalleryScrollAvailable) ||
|
|
9
|
-
(isGalleryScrollAvailable && cardsCount - activeCardIndex > cardFullViewCount);
|
|
10
|
-
const showPrevButton = (isCycle && isGalleryScrollAvailable) || (isGalleryScrollAvailable && activeCardIndex > 0);
|
|
11
|
-
const handleNextClick = (0, hooks_1.useCallback)(() => {
|
|
12
|
-
if (isCycle) {
|
|
13
|
-
const nextIndex = activeCardIndex + 1;
|
|
14
|
-
setActiveCardIndex(cardsCount === nextIndex ? 0 : nextIndex);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
setActiveCardIndex(activeCardIndex + 1);
|
|
18
|
-
}
|
|
19
|
-
}, []);
|
|
20
|
-
const handlePrevClick = (0, hooks_1.useCallback)(() => {
|
|
21
|
-
if (isCycle && cardsCount > 0) {
|
|
22
|
-
const prevIndex = activeCardIndex - 1;
|
|
23
|
-
setActiveCardIndex(prevIndex < 0 ? cardsCount - 1 : prevIndex);
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
setActiveCardIndex(activeCardIndex - 1);
|
|
27
|
-
}
|
|
28
|
-
}, []);
|
|
29
|
-
return (0, renderArrows_1.renderArrows)({
|
|
30
|
-
handler: [handlePrevClick, handleNextClick],
|
|
31
|
-
isShown: [showPrevButton, showNextButton],
|
|
32
|
-
btnClass: ['left-8', 'right-8'],
|
|
33
|
-
className: 'top-1/2 z-10',
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
//# sourceMappingURL=CarouselNavButtons.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselNavButtons.js","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselNavButtons.tsx"],"names":[],"mappings":";;AAAA,+CAAwC;AACxC,uDAA0D;AAE1D,mEAAgE;AAWnD,QAAA,kBAAkB,GAAG,IAAA,aAAG,EACnC,CAAC,EAAE,UAAU,EAAE,eAAe,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,EAAE;IAClF,MAAM,wBAAwB,GAAG,UAAU,GAAG,iBAAiB,CAAC;IAEhE,MAAM,cAAc,GAClB,CAAC,OAAO,IAAI,wBAAwB,CAAC;QACrC,CAAC,wBAAwB,IAAI,UAAU,GAAG,eAAe,GAAG,iBAAiB,CAAC,CAAC;IAEjF,MAAM,cAAc,GAClB,CAAC,OAAO,IAAI,wBAAwB,CAAC,IAAI,CAAC,wBAAwB,IAAI,eAAe,GAAG,CAAC,CAAC,CAAC;IAE7F,MAAM,eAAe,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QACvC,IAAI,OAAO,EAAE;YACX,MAAM,SAAS,GAAG,eAAe,GAAG,CAAC,CAAC;YACtC,kBAAkB,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;SAC9D;aAAM;YACL,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;SACzC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,MAAM,eAAe,GAAG,IAAA,mBAAW,EAAC,GAAG,EAAE;QACvC,IAAI,OAAO,IAAI,UAAU,GAAG,CAAC,EAAE;YAC7B,MAAM,SAAS,GAAG,eAAe,GAAG,CAAC,CAAC;YACtC,kBAAkB,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;SAChE;aAAM;YACL,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;SACzC;IACH,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,IAAA,2BAAY,EAAC;QAClB,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;QACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;QAC/B,SAAS,EAAE,cAAc;KAC1B,CAAC,CAAC;AACL,CAAC,CACF,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BlockAncestors, BlockDecorator } from '../../model/BlockDecorator';
|
|
2
|
-
import type { BlocksRegistry } from '../../model/BlocksRegistry';
|
|
3
|
-
import type { BlockDef, ContentPageDef } from '../../model/ContentPageDef';
|
|
4
|
-
export interface RenderBlockOptions {
|
|
5
|
-
key: string;
|
|
6
|
-
page: ContentPageDef;
|
|
7
|
-
blockDecorator: BlockDecorator;
|
|
8
|
-
blocksRegistry: BlocksRegistry;
|
|
9
|
-
}
|
|
10
|
-
export interface RenderBlockProps {
|
|
11
|
-
block?: BlockDef;
|
|
12
|
-
options: RenderBlockOptions;
|
|
13
|
-
ancestors?: BlockAncestors;
|
|
14
|
-
}
|
|
15
|
-
export declare function renderBlock({ block, options, ancestors }: RenderBlockProps): any;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderBlock = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const style2className_1 = require("../../utils/style2className");
|
|
5
|
-
const renderBlockList_1 = require("./renderBlockList");
|
|
6
|
-
const renderSlots_1 = require("./renderSlots");
|
|
7
|
-
function renderBlock({ block = {}, options, ancestors = [] }) {
|
|
8
|
-
const { key, page, blockDecorator, blocksRegistry = {} } = options;
|
|
9
|
-
const { type, slots, blocks: childBlocks } = block;
|
|
10
|
-
if (!(type && type in blocksRegistry)) {
|
|
11
|
-
console.warn(`No block with "${type}" is registered`);
|
|
12
|
-
}
|
|
13
|
-
const BlockComponent = type && blocksRegistry[type];
|
|
14
|
-
const subBlockRenderProps = { parent: block, options, ancestors };
|
|
15
|
-
const children = (0, renderBlockList_1.renderBlocksList)({ ...subBlockRenderProps, blocks: childBlocks });
|
|
16
|
-
const blockSlots = slots ? (0, renderSlots_1.renderSlots)({ ...subBlockRenderProps, slots }) : {};
|
|
17
|
-
return blockDecorator({
|
|
18
|
-
blockClassName: `scroll-mt-12 ${(0, style2className_1.style2className)(block.style)}`,
|
|
19
|
-
block,
|
|
20
|
-
ancestors,
|
|
21
|
-
// Adjusted by decorator block and blockClassName
|
|
22
|
-
render: ({ block: adjustedBlock, blockClassName: adjustedBlockClassName }) => {
|
|
23
|
-
const { content } = adjustedBlock;
|
|
24
|
-
return BlockComponent ? ((0, jsx_runtime_1.jsx)(BlockComponent, { page: page, block: adjustedBlock, className: adjustedBlockClassName, ancestors: ancestors, slots: blockSlots, ...content, children: children }, key)) : null;
|
|
25
|
-
},
|
|
26
|
-
}, key);
|
|
27
|
-
}
|
|
28
|
-
exports.renderBlock = renderBlock;
|
|
29
|
-
//# sourceMappingURL=renderBlock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderBlock.js","sourceRoot":"","sources":["../../../src/components/ContentPage/renderBlock.tsx"],"names":[],"mappings":";;;AAGA,iEAA8D;AAC9D,uDAAqD;AACrD,+CAA4C;AAe5C,SAAgB,WAAW,CAAC,EAAE,KAAK,GAAG,EAAE,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAoB;IACnF,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,cAAc,EAAE,cAAc,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;IACnE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAEnD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,IAAI,cAAc,CAAC,EAAE;QACrC,OAAO,CAAC,IAAI,CAAC,kBAAkB,IAAI,iBAAiB,CAAC,CAAC;KACvD;IAED,MAAM,cAAc,GAAG,IAAI,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;IAEpD,MAAM,mBAAmB,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,CAAC;IAClE,MAAM,QAAQ,GAAG,IAAA,kCAAgB,EAAC,EAAE,GAAG,mBAAmB,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;IACnF,MAAM,UAAU,GAAG,KAAK,CAAC,CAAC,CAAC,IAAA,yBAAW,EAAC,EAAE,GAAG,mBAAmB,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAE/E,OAAO,cAAc,CACnB;QACE,cAAc,EAAE,gBAAgB,IAAA,iCAAe,EAAC,KAAK,CAAC,KAAK,CAAC,EAAE;QAC9D,KAAK;QACL,SAAS;QACT,iDAAiD;QACjD,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,sBAAsB,EAAE,EAAE,EAAE;YAC3E,MAAM,EAAE,OAAO,EAAE,GAAG,aAAa,CAAC;YAElC,OAAO,cAAc,CAAC,CAAC,CAAC,CACtB,uBAAC,cAAc,IAEb,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,aAAa,EACpB,SAAS,EAAE,sBAAsB,EACjC,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,UAAU,KACb,OAAO,YAEV,QAAQ,IARJ,GAAG,CASO,CAClB,CAAC,CAAC,CAAC,IAAI,CAAC;QACX,CAAC;KACF,EACD,GAAG,CACJ,CAAC;AACJ,CAAC;AAxCD,kCAwCC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { SlotName } from '../../model/BlockDecorator';
|
|
2
|
-
import { BlockAncestors } from '../../model/BlockDecorator';
|
|
3
|
-
import type { BlockDef, Slot } from '../../model/ContentPageDef';
|
|
4
|
-
import type { VNode } from '../../model/VNode';
|
|
5
|
-
import { RenderBlockOptions } from './renderBlock';
|
|
6
|
-
interface RenderBlockListProps {
|
|
7
|
-
blocks?: BlockDef[];
|
|
8
|
-
parent: Slot;
|
|
9
|
-
slotName?: SlotName;
|
|
10
|
-
options: RenderBlockOptions;
|
|
11
|
-
ancestors?: BlockAncestors;
|
|
12
|
-
}
|
|
13
|
-
export declare const renderBlocksList: ({ blocks, parent, slotName, options, ancestors, }: RenderBlockListProps) => VNode[];
|
|
14
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderBlocksList = void 0;
|
|
3
|
-
const BlockDecorator_1 = require("../../model/BlockDecorator");
|
|
4
|
-
const renderBlock_1 = require("./renderBlock");
|
|
5
|
-
const renderBlocksList = ({ blocks, parent, slotName = BlockDecorator_1.DEFAULT_SLOT_NAME, options, ancestors = [], }) => (blocks || []).map((_, j) => (0, renderBlock_1.renderBlock)({
|
|
6
|
-
block: _,
|
|
7
|
-
options: { ...options, key: `${options.key ? options.key : _.type}-${j}` },
|
|
8
|
-
ancestors: [...ancestors, [parent, slotName]],
|
|
9
|
-
}));
|
|
10
|
-
exports.renderBlocksList = renderBlocksList;
|
|
11
|
-
//# sourceMappingURL=renderBlockList.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderBlockList.js","sourceRoot":"","sources":["../../../src/components/ContentPage/renderBlockList.tsx"],"names":[],"mappings":";;AACA,+DAA+E;AAG/E,+CAAgE;AAUzD,MAAM,gBAAgB,GAAG,CAAC,EAC/B,MAAM,EACN,MAAM,EACN,QAAQ,GAAG,kCAAiB,EAC5B,OAAO,EACP,SAAS,GAAG,EAAE,GACO,EAAW,EAAE,CAClC,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAW,EAAE,CAAS,EAAE,EAAE,CAC5C,IAAA,yBAAW,EAAC;IACV,KAAK,EAAE,CAAC;IACR,OAAO,EAAE,EAAE,GAAG,OAAO,EAAE,GAAG,EAAE,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,EAAE,EAAE;IAC1E,SAAS,EAAE,CAAC,GAAG,SAAS,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CAC9C,CAAC,CACH,CAAC;AAbS,QAAA,gBAAgB,oBAazB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BlockAncestors } from '../../model/BlockDecorator';
|
|
2
|
-
import type { BlockDef, Slot } from '../../model/ContentPageDef';
|
|
3
|
-
import type { VNode } from '../../model/VNode';
|
|
4
|
-
import type { RenderBlockOptions } from './renderBlock';
|
|
5
|
-
interface RenderSlotsProps {
|
|
6
|
-
slots?: Record<string, BlockDef[]>;
|
|
7
|
-
parent: Slot;
|
|
8
|
-
options: RenderBlockOptions;
|
|
9
|
-
ancestors?: BlockAncestors;
|
|
10
|
-
}
|
|
11
|
-
export declare const renderSlots: ({ slots, parent, options, ancestors, }: RenderSlotsProps) => Record<string, VNode[]>;
|
|
12
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderSlots = void 0;
|
|
3
|
-
const renderBlockList_1 = require("./renderBlockList");
|
|
4
|
-
const renderSlots = ({ slots, parent, options, ancestors = [], }) => Object.entries(slots || {}).reduce((res, [slotName, slotBlocks]) => ({
|
|
5
|
-
...res,
|
|
6
|
-
[slotName]: (0, renderBlockList_1.renderBlocksList)({
|
|
7
|
-
blocks: slotBlocks,
|
|
8
|
-
parent,
|
|
9
|
-
slotName,
|
|
10
|
-
options,
|
|
11
|
-
ancestors,
|
|
12
|
-
}),
|
|
13
|
-
}), {});
|
|
14
|
-
exports.renderSlots = renderSlots;
|
|
15
|
-
//# sourceMappingURL=renderSlots.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderSlots.js","sourceRoot":"","sources":["../../../src/components/ContentPage/renderSlots.tsx"],"names":[],"mappings":";;AAIA,uDAAqD;AAS9C,MAAM,WAAW,GAAG,CAAC,EAC1B,KAAK,EACL,MAAM,EACN,OAAO,EACP,SAAS,GAAG,EAAE,GACG,EAA2B,EAAE,CAC9C,MAAM,CAAC,OAAO,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,MAAM,CAChC,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC,EAAE,EAAE,CAAC,CAAC;IAChC,GAAG,GAAG;IACN,CAAC,QAAQ,CAAC,EAAE,IAAA,kCAAgB,EAAC;QAC3B,MAAM,EAAE,UAAU;QAClB,MAAM;QACN,QAAQ;QACR,OAAO;QACP,SAAS;KACV,CAAC;CACH,CAAC,EACF,EAAE,CACH,CAAC;AAlBS,QAAA,WAAW,eAkBpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getParentBlockContent.js","sourceRoot":"","sources":["../../src/model/getParentBlockContent.ts"],"names":[],"mappings":";;AACA,2DAAwD;AAExD,SAAgB,qBAAqB,CACnC,SAAqC,EACrC,cAAiB;IAEjB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,qCAAiB,EAAC,SAAS,CAAC,CAAC;IAEjD,OAAQ,OAAa,IAAI,cAAc,CAAC;AAC1C,CAAC;AAPD,sDAOC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.getParentBlockDef = void 0;
|
|
3
|
-
function getParentBlockDef(ancestors, type) {
|
|
4
|
-
const [block] = (ancestors || [])
|
|
5
|
-
.map((item) => item)
|
|
6
|
-
.reverse()
|
|
7
|
-
.find(([_]) => _ && 'type' in _ && (!type || type === _.type)) || [];
|
|
8
|
-
return block || {};
|
|
9
|
-
}
|
|
10
|
-
exports.getParentBlockDef = getParentBlockDef;
|
|
11
|
-
//# sourceMappingURL=getParentBlockDef.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getParentBlockDef.js","sourceRoot":"","sources":["../../src/model/getParentBlockDef.ts"],"names":[],"mappings":";;AAGA,SAAgB,iBAAiB,CAAC,SAAqC,EAAE,IAAa;IACpF,MAAM,CAAC,KAAK,CAAC,GACX,CAAC,SAAS,IAAI,EAAE,CAAC;SACd,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC;SACnB,OAAO,EAAE;SACT,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,IAAI,MAAM,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,KAAM,CAAc,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,CAAC;IAEvF,OAAO,KAAK,IAAI,EAAE,CAAC;AACrB,CAAC;AARD,8CAQC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup-fixture.js","sourceRoot":"","sources":["../../src/react/setup-fixture.ts"],"names":[],"mappings":";;;;AAAA,6CAA2C;AAC3C,iCAAiC;AACjC,gEAA6D;AAC7D,kDAA+C;AAC/C,wDAAqD;AACrD,2DAA8B;AAE9B,iCAAe,CAAC,KAAK,CAAC,kBAAG,CAAC,CAAC;AAE3B,qBAAS,CAAC,KAAK,CAAC,GAAG,EAAE;IACnB,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,EAAS,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;IAEnE,OAAO;QACL,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,EAAE;QACT,IAAI,EAAE,CAAC,GAAW,EAAE,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;YAC5C,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;QACD,OAAO,EAAE,CAAC,GAAW,EAAE,EAAE;YACvB,UAAU,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;YAC/C,OAAO,CAAC,UAAU,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;KACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,mCAAgB,CAAC,KAAK,CAAC,CAAC,OAAO,EAAE,aAAa,EAAO,EAAE,CAAC,CAAC,EAAE,EAAE,EAAE;IAC7D,EAAE,CAAC,cAAc,EAAE,CAAC;IACpB,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,MAAM,EAAE,EAAE,EAAE,aAAa,CAAC,CAAC;IAC1C,OAAO,CAAC,EAAE,CAAC,CAAC;AACd,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
2
|
-
export interface DescriptionCommonProps extends DescriptionProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
}
|
|
5
|
-
export declare const Description: import("@redneckz/uni-jsx").UNIComponent<DescriptionCommonProps, any, any>;
|