@redneckz/wildless-cms-uni-blocks 0.4.2 → 0.4.4
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/migrate.js +40 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +336 -260
- package/bundle/bundle.umd.min.js +1 -1
- package/cosmos-static/icons/CardTickIcon.svg +1 -1
- package/cosmos-static/icons/DocDownload.svg +1 -0
- package/dist/EventBus/EventMap.d.ts +2 -0
- package/dist/components/Accordion/AccordionItem.js +1 -1
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.js +1 -1
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- package/dist/components/BlockContent.d.ts +2 -3
- package/dist/components/Blocks.d.ts +1 -3
- package/dist/components/Blocks.js +0 -4
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Calculator/Calculator.js +1 -1
- package/dist/components/Calculator/Calculator.js.map +1 -1
- package/dist/components/Calculator/useCalculatorParams.js +2 -5
- package/dist/components/Calculator/useCalculatorParams.js.map +1 -1
- package/dist/components/Calculator/useCreditCalculatorParams.js +1 -2
- package/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.js +12 -6
- package/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTableContent.d.ts +7 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/dist/components/ContentPage/normalizePage.js +1 -1
- package/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/dist/components/ContentPage/normalizePage.mobile.js +1 -1
- package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +2 -5
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.d.ts +2 -2
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.d.ts +2 -2
- package/dist/components/Gallery/GalleryContainer.js +3 -2
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +4 -4
- package/dist/components/Gallery/GalleryProps.d.ts +1 -1
- package/dist/components/Gallery/constants.d.ts +0 -2
- package/dist/components/Gallery/constants.js +1 -5
- package/dist/components/Gallery/constants.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/dist/components/Header/Header.js +3 -2
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +4 -6
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -0
- package/dist/components/Navigation/Navigation.d.ts +1 -1
- package/dist/components/OtherProducts/OtherProductsContent.d.ts +1 -4
- package/dist/components/PictureText/PictureText.js +2 -5
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +2 -5
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.js +2 -5
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +14 -2
- package/dist/components/ProductGallery/ProductGallery.js +4 -11
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.js +2 -5
- package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +14 -14
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.js +2 -5
- package/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTileContent.d.ts +2 -2
- package/dist/components/Recommendation/RecommendationContent.d.ts +4 -4
- package/dist/components/SafeDepositRental/SafeDepositRental.js +4 -0
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +4 -3
- package/dist/components/Tabs/Tabs.js +11 -4
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/components/Tabs/TabsContent.d.ts +14 -6
- package/dist/components/Tabs/renderGroupTab.d.ts +4 -0
- package/dist/components/Tabs/renderGroupTab.js +18 -0
- package/dist/components/Tabs/renderGroupTab.js.map +1 -0
- package/dist/components/Tabs/renderLinkTab.d.ts +8 -0
- package/dist/components/Tabs/renderLinkTab.js +7 -0
- package/dist/components/Tabs/renderLinkTab.js.map +1 -0
- package/dist/components/Tabs/renderTab.d.ts +5 -5
- package/dist/components/Tabs/renderTab.js +25 -14
- package/dist/components/Tabs/renderTab.js.map +1 -1
- package/dist/components/Tabs/tabItemClasses.d.ts +6 -0
- package/dist/components/Tabs/tabItemClasses.js +9 -0
- package/dist/components/Tabs/tabItemClasses.js.map +1 -0
- package/dist/components/TariffsTable/EmbeddableCellData.d.ts +14 -0
- package/dist/components/TariffsTable/EmbeddableCellData.js +35 -0
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -0
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.d.ts +15 -0
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +21 -0
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -0
- package/dist/components/TariffsTable/TariffsTable.js +10 -11
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js +2 -2
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.d.ts +6 -3
- package/dist/components/TariffsTable/TariffsTableCell.js +18 -10
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +80 -26
- package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +5 -5
- package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.d.ts +5 -4
- package/dist/components/TariffsTable/TariffsTableRow.js +3 -3
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
- package/dist/components/TariffsTable/TariffsTableRowContainer.js +15 -0
- package/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -0
- package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +7 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.js +15 -9
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableVertical.d.ts +5 -3
- package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/dist/components/TariffsTable/dataFixture.d.ts +5 -0
- package/dist/components/TariffsTable/dataFixture.js +140 -0
- package/dist/components/TariffsTable/dataFixture.js.map +1 -0
- package/dist/components/Tile/Tile.js +6 -9
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/components/Tile/TileContent.d.ts +4 -2
- package/dist/hooks/useExchangeRates.js +9 -18
- package/dist/hooks/useExchangeRates.js.map +1 -1
- package/dist/hooks/useTariffsInnerTableData.d.ts +1 -0
- package/dist/hooks/useTariffsInnerTableData.js +16 -0
- package/dist/hooks/useTariffsInnerTableData.js.map +1 -0
- package/dist/icons/IconName.d.ts +4 -2
- package/dist/icons/IconName.js +2 -0
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/BlockVersion.d.ts +1 -0
- package/dist/model/BlockVersion.js +5 -0
- package/dist/model/BlockVersion.js.map +1 -1
- package/dist/model/HeadlineType.d.ts +3 -3
- package/dist/model/LinkProps.d.ts +6 -4
- package/dist/services/sitemap/useSitemap.js +2 -8
- package/dist/services/sitemap/useSitemap.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js +2 -2
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.js +10 -1
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -2
- package/dist/ui-kit/Button/Button.d.ts +2 -4
- package/dist/ui-kit/Button/Button.js +1 -1
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/Button.mobile.d.ts +2 -4
- package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/dist/ui-kit/Description/Description.d.ts +3 -3
- package/dist/ui-kit/Description/Description.js.map +1 -1
- package/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Heading/HeadingProps.d.ts +5 -2
- package/dist/ui-kit/InnerTable/InnerTable.d.ts +5 -0
- package/dist/ui-kit/InnerTable/InnerTable.js +17 -0
- package/dist/ui-kit/InnerTable/InnerTable.js.map +1 -0
- package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
- package/dist/ui-kit/InnerTable/InnerTableBody.js +18 -0
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -0
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +33 -0
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -0
- package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
- package/dist/ui-kit/InnerTable/InnerTableButton.js +14 -0
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -0
- package/dist/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
- package/dist/ui-kit/InnerTable/InnerTableHeader.js +8 -0
- package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -0
- package/dist/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
- package/dist/{components/GroupBlock/BlocksTypeProps.js → ui-kit/InnerTable/InnerTableProps.js} +1 -1
- package/dist/ui-kit/InnerTable/InnerTableProps.js.map +1 -0
- package/dist/ui-kit/List/List.js +6 -2
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListProps.d.ts +9 -1
- package/dist/ui-kit/Logo/Logo.js +6 -2
- package/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/dist/ui-kit/TopItem/TopItem.js +2 -2
- package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/dist/utils/assertUnreachable.d.ts +1 -0
- package/dist/utils/assertUnreachable.js +7 -0
- package/dist/utils/assertUnreachable.js.map +1 -0
- package/dist/utils/fetchJSON.d.ts +2 -0
- package/dist/utils/fetchJSON.js +24 -0
- package/dist/utils/fetchJSON.js.map +1 -0
- package/dist/utils/roundTo.d.ts +1 -1
- package/dist/utils/roundTo.js +1 -1
- package/dist/utils/roundTo.js.map +1 -1
- package/lib/EventBus/EventMap.d.ts +2 -0
- package/lib/common.css +1 -1
- package/lib/components/Accordion/AccordionItem.js +1 -1
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.js +1 -1
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- package/lib/components/BlockContent.d.ts +2 -3
- package/lib/components/Blocks.d.ts +1 -3
- package/lib/components/Blocks.js +0 -4
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Calculator/Calculator.js +1 -1
- package/lib/components/Calculator/Calculator.js.map +1 -1
- package/lib/components/Calculator/useCalculatorParams.js +2 -5
- package/lib/components/Calculator/useCalculatorParams.js.map +1 -1
- package/lib/components/Calculator/useCreditCalculatorParams.js +1 -2
- package/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.js +12 -6
- package/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTableContent.d.ts +7 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/lib/components/ContentPage/normalizePage.js +1 -1
- package/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/lib/components/ContentPage/normalizePage.mobile.js +1 -1
- package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +2 -5
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.d.ts +2 -2
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.d.ts +2 -2
- package/lib/components/Gallery/GalleryContainer.js +4 -3
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +4 -4
- package/lib/components/Gallery/GalleryProps.d.ts +1 -1
- package/lib/components/Gallery/constants.d.ts +0 -2
- package/lib/components/Gallery/constants.js +0 -4
- package/lib/components/Gallery/constants.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/lib/components/Header/Header.js +3 -2
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +4 -6
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -0
- package/lib/components/Navigation/Navigation.d.ts +1 -1
- package/lib/components/OtherProducts/OtherProductsContent.d.ts +1 -4
- package/lib/components/PictureText/PictureText.js +2 -5
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +2 -5
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.js +2 -5
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +14 -2
- package/lib/components/ProductGallery/ProductGallery.js +4 -11
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.js +2 -5
- package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.fixture.d.ts +1 -0
- package/lib/components/ProductTile/ProductTile.js +14 -14
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.js +2 -5
- package/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTileContent.d.ts +2 -2
- package/lib/components/Recommendation/RecommendationContent.d.ts +4 -4
- package/lib/components/SafeDepositRental/SafeDepositRental.js +4 -0
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/Tabs/Tabs.d.ts +4 -3
- package/lib/components/Tabs/Tabs.js +11 -4
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/components/Tabs/TabsContent.d.ts +14 -6
- package/lib/components/Tabs/renderGroupTab.d.ts +4 -0
- package/lib/components/Tabs/renderGroupTab.js +15 -0
- package/lib/components/Tabs/renderGroupTab.js.map +1 -0
- package/lib/components/Tabs/renderLinkTab.d.ts +8 -0
- package/lib/components/Tabs/renderLinkTab.js +4 -0
- package/lib/components/Tabs/renderLinkTab.js.map +1 -0
- package/lib/components/Tabs/renderTab.d.ts +5 -5
- package/lib/components/Tabs/renderTab.js +25 -14
- package/lib/components/Tabs/renderTab.js.map +1 -1
- package/lib/components/Tabs/tabItemClasses.d.ts +6 -0
- package/lib/components/Tabs/tabItemClasses.js +7 -0
- package/lib/components/Tabs/tabItemClasses.js.map +1 -0
- package/lib/components/TariffsTable/EmbeddableCellData.d.ts +14 -0
- package/lib/components/TariffsTable/EmbeddableCellData.js +33 -0
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -0
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.d.ts +14 -0
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +19 -0
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -0
- package/lib/components/TariffsTable/TariffsTable.fixture.d.ts +1 -0
- package/lib/components/TariffsTable/TariffsTable.js +10 -11
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js +2 -2
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.d.ts +6 -3
- package/lib/components/TariffsTable/TariffsTableCell.js +18 -10
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +80 -26
- package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +5 -5
- package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.d.ts +5 -4
- package/lib/components/TariffsTable/TariffsTableRow.js +3 -3
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
- package/lib/components/TariffsTable/TariffsTableRowContainer.js +13 -0
- package/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -0
- package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +7 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.js +15 -9
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableVertical.d.ts +5 -3
- package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/lib/components/TariffsTable/dataFixture.d.ts +5 -0
- package/lib/components/TariffsTable/dataFixture.js +138 -0
- package/lib/components/TariffsTable/dataFixture.js.map +1 -0
- 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.js +6 -9
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/Tile/TileContent.d.ts +4 -2
- package/lib/hooks/useExchangeRates.js +9 -18
- package/lib/hooks/useExchangeRates.js.map +1 -1
- package/lib/hooks/useTariffsInnerTableData.d.ts +1 -0
- package/lib/hooks/useTariffsInnerTableData.js +13 -0
- package/lib/hooks/useTariffsInnerTableData.js.map +1 -0
- package/lib/icons/IconName.d.ts +4 -2
- package/lib/icons/IconName.js +2 -0
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/BlockVersion.d.ts +1 -0
- package/lib/model/BlockVersion.js +4 -1
- package/lib/model/BlockVersion.js.map +1 -1
- package/lib/model/HeadlineType.d.ts +3 -3
- package/lib/model/LinkProps.d.ts +6 -4
- package/lib/services/sitemap/useSitemap.js +2 -8
- package/lib/services/sitemap/useSitemap.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js +2 -2
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.js +10 -1
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -2
- package/lib/ui-kit/Button/Button.d.ts +2 -4
- package/lib/ui-kit/Button/Button.js +1 -1
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/Button.mobile.d.ts +2 -4
- package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/lib/ui-kit/Description/Description.d.ts +3 -3
- package/lib/ui-kit/Description/Description.js.map +1 -1
- package/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Heading/HeadingProps.d.ts +5 -2
- package/lib/ui-kit/InnerTable/InnerTable.d.ts +5 -0
- package/lib/ui-kit/InnerTable/InnerTable.js +15 -0
- package/lib/ui-kit/InnerTable/InnerTable.js.map +1 -0
- package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
- package/lib/ui-kit/InnerTable/InnerTableBody.js +16 -0
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -0
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +31 -0
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -0
- package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
- package/lib/ui-kit/InnerTable/InnerTableButton.js +12 -0
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -0
- package/lib/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
- package/lib/ui-kit/InnerTable/InnerTableHeader.js +6 -0
- package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -0
- package/lib/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
- package/lib/ui-kit/InnerTable/InnerTableProps.js +2 -0
- package/lib/ui-kit/InnerTable/InnerTableProps.js.map +1 -0
- package/lib/ui-kit/List/List.js +6 -2
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListProps.d.ts +9 -1
- package/lib/ui-kit/Logo/Logo.js +6 -2
- package/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/lib/ui-kit/TopItem/TopItem.js +2 -2
- package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/lib/utils/assertUnreachable.d.ts +1 -0
- package/lib/utils/assertUnreachable.js +4 -0
- package/lib/utils/assertUnreachable.js.map +1 -0
- package/lib/utils/fetchJSON.d.ts +2 -0
- package/lib/utils/fetchJSON.js +20 -0
- package/lib/utils/fetchJSON.js.map +1 -0
- package/lib/utils/roundTo.d.ts +1 -1
- package/lib/utils/roundTo.js +1 -1
- package/lib/utils/roundTo.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +94 -61
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/EventBus/EventMap.d.ts +2 -0
- package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.js +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- package/mobile/dist/components/BlockContent.d.ts +2 -3
- package/mobile/dist/components/Calculator/Calculator.js +1 -1
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/useCalculatorParams.js +2 -5
- package/mobile/dist/components/Calculator/useCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.js +1 -2
- package/mobile/dist/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js +12 -6
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableContent.d.ts +7 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.js +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/dist/components/Gallery/Gallery.js +2 -5
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.d.ts +2 -2
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.d.ts +2 -2
- package/mobile/dist/components/Gallery/GalleryContainer.js +3 -2
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +4 -4
- package/mobile/dist/components/Gallery/GalleryProps.d.ts +1 -1
- package/mobile/dist/components/Gallery/constants.d.ts +0 -2
- package/mobile/dist/components/Gallery/constants.js +1 -5
- package/mobile/dist/components/Gallery/constants.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -0
- package/mobile/dist/components/Navigation/Navigation.d.ts +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +1 -4
- package/mobile/dist/components/PictureText/PictureText.js +2 -5
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +2 -5
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +14 -2
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +2 -5
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +14 -14
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.js +2 -5
- package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -2
- package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -4
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +4 -0
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/Tabs.d.ts +4 -3
- package/mobile/dist/components/Tabs/Tabs.js +11 -4
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/components/Tabs/TabsContent.d.ts +14 -6
- package/mobile/dist/components/Tabs/renderGroupTab.d.ts +4 -0
- package/mobile/dist/components/Tabs/renderGroupTab.js +18 -0
- package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -0
- package/mobile/dist/components/Tabs/renderLinkTab.d.ts +8 -0
- package/mobile/dist/components/Tabs/renderLinkTab.js +7 -0
- package/mobile/dist/components/Tabs/renderLinkTab.js.map +1 -0
- package/mobile/dist/components/Tabs/renderTab.d.ts +5 -5
- package/mobile/dist/components/Tabs/renderTab.js +25 -14
- package/mobile/dist/components/Tabs/renderTab.js.map +1 -1
- package/mobile/dist/components/Tabs/tabItemClasses.d.ts +6 -0
- package/mobile/dist/components/Tabs/tabItemClasses.js +9 -0
- package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -0
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.d.ts +15 -0
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +21 -0
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTable.js +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +6 -3
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +18 -10
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +80 -26
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +5 -5
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +5 -4
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +3 -3
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js +15 -0
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.js.map +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +7 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +15 -9
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +5 -3
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/mobile/dist/components/TariffsTable/dataFixture.d.ts +5 -0
- package/mobile/dist/components/TariffsTable/dataFixture.js +140 -0
- package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -0
- package/mobile/dist/components/Tile/Tile.js +6 -9
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +4 -2
- package/mobile/dist/hooks/useExchangeRates.js +9 -18
- package/mobile/dist/hooks/useExchangeRates.js.map +1 -1
- package/mobile/dist/hooks/useTariffsInnerTableData.d.ts +1 -0
- package/mobile/dist/hooks/useTariffsInnerTableData.js +16 -0
- package/mobile/dist/hooks/useTariffsInnerTableData.js.map +1 -0
- package/mobile/dist/icons/IconName.d.ts +4 -2
- package/mobile/dist/icons/IconName.js +2 -0
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/BlockVersion.d.ts +1 -0
- package/mobile/dist/model/BlockVersion.js +5 -0
- package/mobile/dist/model/BlockVersion.js.map +1 -1
- package/mobile/dist/model/HeadlineType.d.ts +3 -3
- package/mobile/dist/model/LinkProps.d.ts +6 -4
- package/mobile/dist/services/sitemap/useSitemap.js +2 -8
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +2 -2
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +10 -1
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -2
- package/mobile/dist/ui-kit/Button/Button.d.ts +2 -4
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/mobile/dist/ui-kit/Description/Description.d.ts +3 -3
- package/mobile/dist/ui-kit/Description/Description.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/HeadingProps.d.ts +5 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +5 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js +17 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTable.js.map +1 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +18 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +33 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +14 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +8 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -0
- package/mobile/dist/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
- package/mobile/dist/{components/GroupBlock/BlocksTypeProps.js → ui-kit/InnerTable/InnerTableProps.js} +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableProps.js.map +1 -0
- package/mobile/dist/ui-kit/List/List.js +6 -2
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListProps.d.ts +9 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/dist/ui-kit/TopItem/TopItem.js +2 -2
- package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/dist/utils/assertUnreachable.d.ts +1 -0
- package/mobile/dist/utils/assertUnreachable.js +7 -0
- package/mobile/dist/utils/assertUnreachable.js.map +1 -0
- package/mobile/dist/utils/fetchJSON.d.ts +2 -0
- package/mobile/dist/utils/fetchJSON.js +24 -0
- package/mobile/dist/utils/fetchJSON.js.map +1 -0
- package/mobile/dist/utils/roundTo.d.ts +1 -1
- package/mobile/dist/utils/roundTo.js +1 -1
- package/mobile/dist/utils/roundTo.js.map +1 -1
- package/mobile/lib/EventBus/EventMap.d.ts +2 -0
- package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.js +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +2 -2
- package/mobile/lib/components/BlockContent.d.ts +2 -3
- package/mobile/lib/components/Calculator/Calculator.js +1 -1
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/useCalculatorParams.js +2 -5
- package/mobile/lib/components/Calculator/useCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.js +1 -2
- package/mobile/lib/components/Calculator/useCreditCalculatorParams.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js +12 -6
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableContent.d.ts +7 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.d.ts +2 -2
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTableRows.js.map +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.js +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/lib/components/Gallery/Gallery.js +2 -5
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.d.ts +2 -2
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.d.ts +2 -2
- package/mobile/lib/components/Gallery/GalleryContainer.js +4 -3
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +4 -4
- package/mobile/lib/components/Gallery/GalleryProps.d.ts +1 -1
- package/mobile/lib/components/Gallery/constants.d.ts +0 -2
- package/mobile/lib/components/Gallery/constants.js +0 -4
- package/mobile/lib/components/Gallery/constants.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +2 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +4 -3
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -0
- package/mobile/lib/components/Navigation/Navigation.d.ts +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +1 -4
- package/mobile/lib/components/PictureText/PictureText.js +2 -5
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +2 -5
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +14 -2
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +2 -5
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +14 -14
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.js +2 -5
- package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -2
- package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -4
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +4 -0
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/Tabs.d.ts +4 -3
- package/mobile/lib/components/Tabs/Tabs.js +11 -4
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/components/Tabs/TabsContent.d.ts +14 -6
- package/mobile/lib/components/Tabs/renderGroupTab.d.ts +4 -0
- package/mobile/lib/components/Tabs/renderGroupTab.js +15 -0
- package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -0
- package/mobile/lib/components/Tabs/renderLinkTab.d.ts +8 -0
- package/mobile/lib/components/Tabs/renderLinkTab.js +4 -0
- package/mobile/lib/components/Tabs/renderLinkTab.js.map +1 -0
- package/mobile/lib/components/Tabs/renderTab.d.ts +5 -5
- package/mobile/lib/components/Tabs/renderTab.js +25 -14
- package/mobile/lib/components/Tabs/renderTab.js.map +1 -1
- package/mobile/lib/components/Tabs/tabItemClasses.d.ts +6 -0
- package/mobile/lib/components/Tabs/tabItemClasses.js +7 -0
- package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -0
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.d.ts +15 -0
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +19 -0
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +6 -3
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +18 -10
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +80 -26
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +5 -5
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +5 -4
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +3 -3
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js +13 -0
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.js.map +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +7 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +15 -9
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +5 -3
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/mobile/lib/components/TariffsTable/dataFixture.d.ts +5 -0
- package/mobile/lib/components/TariffsTable/dataFixture.js +138 -0
- package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -0
- package/mobile/lib/components/Tile/Tile.js +6 -9
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +4 -2
- package/mobile/lib/hooks/useExchangeRates.js +9 -18
- package/mobile/lib/hooks/useExchangeRates.js.map +1 -1
- package/mobile/lib/hooks/useTariffsInnerTableData.d.ts +1 -0
- package/mobile/lib/hooks/useTariffsInnerTableData.js +13 -0
- package/mobile/lib/hooks/useTariffsInnerTableData.js.map +1 -0
- package/mobile/lib/icons/IconName.d.ts +4 -2
- package/mobile/lib/icons/IconName.js +2 -0
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/BlockVersion.d.ts +1 -0
- package/mobile/lib/model/BlockVersion.js +4 -1
- package/mobile/lib/model/BlockVersion.js.map +1 -1
- package/mobile/lib/model/HeadlineType.d.ts +3 -3
- package/mobile/lib/model/LinkProps.d.ts +6 -4
- package/mobile/lib/services/sitemap/useSitemap.js +2 -8
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +2 -2
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +10 -1
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -2
- package/mobile/lib/ui-kit/Button/Button.d.ts +2 -4
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +1 -1
- package/mobile/lib/ui-kit/Description/Description.d.ts +3 -3
- package/mobile/lib/ui-kit/Description/Description.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js +1 -1
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/HeadingProps.d.ts +5 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +5 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js +15 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTable.js.map +1 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +16 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +31 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +12 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +6 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableProps.js +2 -0
- package/mobile/lib/ui-kit/InnerTable/InnerTableProps.js.map +1 -0
- package/mobile/lib/ui-kit/List/List.js +6 -2
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListProps.d.ts +9 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -1
- package/mobile/lib/ui-kit/TopItem/TopItem.js +2 -2
- package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
- package/mobile/lib/utils/assertUnreachable.d.ts +1 -0
- package/mobile/lib/utils/assertUnreachable.js +4 -0
- package/mobile/lib/utils/assertUnreachable.js.map +1 -0
- package/mobile/lib/utils/fetchJSON.d.ts +2 -0
- package/mobile/lib/utils/fetchJSON.js +20 -0
- package/mobile/lib/utils/fetchJSON.js.map +1 -0
- package/mobile/lib/utils/roundTo.d.ts +1 -1
- package/mobile/lib/utils/roundTo.js +1 -1
- package/mobile/lib/utils/roundTo.js.map +1 -1
- package/mobile/src/EventBus/EventMap.ts +2 -1
- package/mobile/src/components/Accordion/AccordionItem.tsx +4 -2
- package/mobile/src/components/BaseTile/BaseTile.tsx +2 -2
- package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
- package/mobile/src/components/BlockContent.ts +3 -5
- package/mobile/src/components/Calculator/Calculator.tsx +1 -1
- package/mobile/src/components/Calculator/useCalculatorParams.ts +2 -10
- package/mobile/src/components/Calculator/useCreditCalculatorParams.ts +1 -3
- package/mobile/src/components/Catalog/CatalogCard.tsx +13 -6
- package/mobile/src/components/ComparisonTable/ComparisonTableContent.ts +8 -1
- package/mobile/src/components/ComparisonTable/ComparisonTableRows.tsx +3 -3
- package/mobile/src/components/ContentPage/ContentPage.page.json +1 -34
- package/mobile/src/components/ContentPage/normalizePage.ts +1 -1
- package/mobile/src/components/Gallery/Gallery.tsx +8 -13
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +8 -4
- package/mobile/src/components/Gallery/GalleryContainer.tsx +6 -5
- package/mobile/src/components/Gallery/GalleryContent.ts +4 -4
- package/mobile/src/components/Gallery/GalleryProps.ts +1 -1
- package/mobile/src/components/Gallery/constants.ts +0 -6
- package/mobile/src/components/GracePeriod/GracePeriod.example.json +5 -0
- package/mobile/src/components/GracePeriod/GracePeriodContent.ts +2 -2
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +3 -3
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +1 -2
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -0
- package/mobile/src/components/Navigation/Navigation.tsx +1 -1
- package/mobile/src/components/OtherProducts/OtherProductsContent.ts +1 -4
- package/mobile/src/components/PictureText/PictureText.tsx +2 -6
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +2 -9
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +14 -3
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +34 -2
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +2 -7
- package/mobile/src/components/ProductTile/ProductTile.tsx +39 -50
- package/mobile/src/components/PromoTile/PromoTile.tsx +12 -19
- package/mobile/src/components/PromoTile/PromoTileContent.ts +2 -2
- package/mobile/src/components/Recommendation/RecommendationContent.ts +4 -4
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +4 -0
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +1 -1
- package/mobile/src/components/Tabs/Tabs.example.json +6 -3
- package/mobile/src/components/Tabs/Tabs.tsx +15 -6
- package/mobile/src/components/Tabs/TabsContent.ts +17 -6
- package/mobile/src/components/Tabs/renderGroupTab.tsx +51 -0
- package/mobile/src/components/Tabs/renderLinkTab.tsx +25 -0
- package/mobile/src/components/Tabs/renderTab.tsx +28 -37
- package/mobile/src/components/Tabs/tabItemClasses.ts +7 -0
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +67 -0
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +30 -29
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +12 -7
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +50 -55
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +101 -37
- package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +6 -7
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +19 -11
- package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +36 -0
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +35 -53
- package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +7 -3
- package/mobile/src/components/TariffsTable/dataFixture.ts +158 -0
- package/mobile/src/components/Tile/Tile.example.json +1 -0
- package/mobile/src/components/Tile/Tile.tsx +17 -13
- package/mobile/src/components/Tile/TileContent.ts +4 -2
- package/mobile/src/components/__snapshots__/Blocks.spec.tsx.snap +36 -48
- package/mobile/src/hooks/useExchangeRates.ts +9 -20
- package/mobile/src/hooks/useTariffsInnerTableData.ts +20 -0
- package/mobile/src/icons/CardTickIcon.svg +7 -1
- package/mobile/src/icons/DocDownload.svg +8 -0
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/model/BlockVersion.ts +5 -0
- package/mobile/src/model/HeadlineType.ts +3 -3
- package/mobile/src/model/LinkProps.ts +7 -4
- package/mobile/src/services/sitemap/useSitemap.ts +5 -11
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +2 -2
- package/mobile/src/ui-kit/BlockWrapper.tsx +12 -1
- package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
- package/mobile/src/ui-kit/Button/Button.tsx +2 -4
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/mobile/src/ui-kit/Description/Description.tsx +3 -3
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +1 -2
- package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
- package/mobile/src/ui-kit/Heading/HeadingProps.ts +5 -2
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +32 -0
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +53 -0
- package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +86 -0
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +36 -0
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +42 -0
- package/mobile/src/ui-kit/InnerTable/InnerTableProps.ts +31 -0
- package/mobile/src/ui-kit/List/List.tsx +18 -3
- package/mobile/src/ui-kit/List/ListProps.ts +10 -1
- package/mobile/src/ui-kit/Logo/Logo.tsx +1 -1
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/mobile/src/ui-kit/TopItem/TopItem.tsx +3 -3
- package/mobile/src/utils/assertUnreachable.ts +3 -0
- package/mobile/src/utils/fetchJSON.ts +24 -0
- package/mobile/src/utils/roundTo.ts +2 -2
- package/package.json +5 -2
- package/src/EventBus/EventMap.ts +2 -1
- package/src/components/Accordion/AccordionItem.mobile.tsx +4 -2
- package/src/components/Accordion/AccordionItem.tsx +7 -1
- package/src/components/BaseTile/BaseTile.tsx +2 -2
- package/src/components/BenefitsBlock/BenefitsBlockContent.ts +2 -2
- package/src/components/BlockContent.ts +3 -5
- package/src/components/Blocks.ts +0 -4
- package/src/components/Calculator/Calculator.tsx +1 -1
- package/src/components/Calculator/useCalculatorParams.ts +2 -10
- package/src/components/Calculator/useCreditCalculatorParams.ts +1 -3
- package/src/components/Catalog/Catalog.fixture.tsx +5 -2
- package/src/components/Catalog/CatalogCard.tsx +13 -6
- package/src/components/ComparisonTable/ComparisonTableContent.ts +8 -1
- package/src/components/ComparisonTable/ComparisonTableRows.tsx +3 -3
- package/src/components/ContentPage/ContentPage.page.json +1 -34
- package/src/components/ContentPage/normalizePage.mobile.ts +1 -1
- package/src/components/ContentPage/normalizePage.ts +1 -1
- package/src/components/Gallery/Gallery.fixture.mobile.tsx +6 -6
- package/src/components/Gallery/Gallery.fixture.tsx +3 -3
- package/src/components/Gallery/Gallery.mobile.tsx +8 -13
- package/src/components/Gallery/GalleryCardInner.tsx +8 -4
- package/src/components/Gallery/GalleryContainer.tsx +6 -5
- package/src/components/Gallery/GalleryContent.ts +4 -4
- package/src/components/Gallery/GalleryProps.ts +1 -1
- package/src/components/Gallery/constants.ts +0 -6
- package/src/components/GracePeriod/GracePeriod.example.json +5 -0
- package/src/components/GracePeriod/GracePeriodContent.ts +2 -2
- package/src/components/Header/Header.tsx +3 -2
- package/src/components/Header/HeaderSecondaryMenu.tsx +3 -3
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +2 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +2 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +6 -5
- package/src/components/MobileAppTile/MobileAppTile.example.json +1 -2
- package/src/components/MobileAppTile/MobileAppTile.tsx +8 -12
- package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -0
- package/src/components/Navigation/Navigation.tsx +1 -1
- package/src/components/OtherProducts/OtherProductsContent.ts +1 -4
- package/src/components/PictureText/PictureText.fixture.tsx +1 -1
- package/src/components/PictureText/PictureText.tsx +2 -6
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +2 -9
- package/src/components/ProductBlock/ProductBlock.tsx +3 -7
- package/src/components/ProductBlock/ProductBlockContent.ts +14 -3
- package/src/components/ProductGallery/ProductGallery.example.json +34 -2
- package/src/components/ProductGallery/ProductGallery.tsx +6 -15
- package/src/components/ProductGallery/ProductGalleryBlock.tsx +2 -7
- package/src/components/ProductTile/ProductTile.fixture.tsx +35 -1
- package/src/components/ProductTile/ProductTile.tsx +39 -50
- package/src/components/PromoTile/PromoTile.tsx +12 -19
- package/src/components/PromoTile/PromoTileContent.ts +2 -2
- package/src/components/Recommendation/RecommendationContent.ts +4 -4
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +4 -0
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +1 -1
- package/src/components/Tabs/Tabs.example.json +6 -3
- package/src/components/Tabs/Tabs.fixture.tsx +3 -3
- package/src/components/Tabs/Tabs.tsx +15 -6
- package/src/components/Tabs/TabsContent.ts +17 -6
- package/src/components/Tabs/renderGroupTab.tsx +51 -0
- package/src/components/Tabs/renderLinkTab.tsx +25 -0
- package/src/components/Tabs/renderTab.tsx +28 -37
- package/src/components/Tabs/tabItemClasses.ts +7 -0
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +67 -0
- package/src/components/TariffsTable/EmbeddableCellData.tsx +82 -0
- package/src/components/TariffsTable/TariffsTable.example.json +30 -29
- package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +3 -111
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +24 -151
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +12 -7
- package/src/components/TariffsTable/TariffsTable.tsx +25 -29
- package/src/components/TariffsTable/TariffsTableCell.tsx +50 -55
- package/src/components/TariffsTable/TariffsTableContent.ts +101 -37
- package/src/components/TariffsTable/TariffsTableHorizontal.tsx +6 -7
- package/src/components/TariffsTable/TariffsTableRow.tsx +19 -11
- package/src/components/TariffsTable/TariffsTableRowContainer.tsx +36 -0
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +35 -53
- package/src/components/TariffsTable/TariffsTableVertical.tsx +7 -3
- package/src/components/TariffsTable/dataFixture.ts +158 -0
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +1 -1
- package/src/components/TextBlock/TextBlock.fixture.tsx +1 -1
- package/src/components/Tile/Tile.example.json +1 -0
- package/src/components/Tile/Tile.fixture.tsx +7 -6
- package/src/components/Tile/Tile.tsx +17 -13
- package/src/components/Tile/TileContent.ts +4 -2
- package/src/components/__snapshots__/Blocks.spec.tsx.snap +36 -48
- package/src/cosmos.decorator.tsx +1 -1
- package/src/hooks/useExchangeRates.ts +9 -20
- package/src/hooks/useTariffsInnerTableData.ts +20 -0
- package/src/icons/CardTickIcon.svg +7 -1
- package/src/icons/DocDownload.svg +8 -0
- package/src/icons/IconName.ts +4 -1
- package/src/model/BlockVersion.ts +5 -0
- package/src/model/HeadlineType.ts +3 -3
- package/src/model/LinkProps.ts +7 -4
- package/src/services/sitemap/useSitemap.ts +5 -11
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +2 -2
- package/src/ui-kit/BlockWrapper.tsx +12 -1
- package/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
- package/src/ui-kit/Button/Button.mobile.tsx +2 -4
- package/src/ui-kit/Button/Button.tsx +5 -7
- package/src/ui-kit/Button/ButtonInner.tsx +1 -1
- package/src/ui-kit/Description/Description.tsx +3 -3
- package/src/ui-kit/Foldable/Foldable.tsx +1 -2
- package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +1 -1
- package/src/ui-kit/HeaderItem/HeaderItem.tsx +1 -1
- package/src/ui-kit/Heading/HeadingProps.ts +5 -2
- package/src/ui-kit/InnerTable/InnerTable.tsx +32 -0
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +53 -0
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +86 -0
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +36 -0
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +42 -0
- package/src/ui-kit/InnerTable/InnerTableProps.ts +31 -0
- package/src/ui-kit/List/List.tsx +18 -3
- package/src/ui-kit/List/ListProps.ts +10 -1
- package/src/ui-kit/Logo/Logo.mobile.tsx +1 -1
- package/src/ui-kit/Logo/Logo.tsx +8 -3
- package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
- package/src/ui-kit/TopItem/TopItem.tsx +3 -3
- package/src/utils/assertUnreachable.ts +3 -0
- package/src/utils/fetchJSON.ts +24 -0
- package/src/utils/roundTo.ts +2 -2
- package/dist/components/GroupBlock/BlocksTypeProps.d.ts +0 -36
- package/dist/components/GroupBlock/BlocksTypeProps.js.map +0 -1
- package/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +0 -4
- package/dist/components/GroupBlock/EmbeddableGroupBlocks.js +0 -9
- package/dist/components/GroupBlock/EmbeddableGroupBlocks.js.map +0 -1
- package/dist/components/GroupBlock/GroupBlock.d.ts +0 -9
- package/dist/components/GroupBlock/GroupBlock.js +0 -21
- package/dist/components/GroupBlock/GroupBlock.js.map +0 -1
- package/dist/components/GroupBlock/GroupBlockContent.d.ts +0 -21
- package/dist/components/GroupBlock/GroupBlockContent.js +0 -2
- package/dist/components/GroupBlock/GroupBlockContent.js.map +0 -1
- package/dist/components/GroupBlock/GroupBlockTabs.d.ts +0 -9
- package/dist/components/GroupBlock/GroupBlockTabs.js +0 -20
- package/dist/components/GroupBlock/GroupBlockTabs.js.map +0 -1
- package/dist/components/GroupBlock/GroupBlocksItem.d.ts +0 -9
- package/dist/components/GroupBlock/GroupBlocksItem.js +0 -20
- package/dist/components/GroupBlock/GroupBlocksItem.js.map +0 -1
- package/dist/components/GroupBlock/filterBlocksByTag.d.ts +0 -2
- package/dist/components/GroupBlock/filterBlocksByTag.js +0 -7
- package/dist/components/GroupBlock/filterBlocksByTag.js.map +0 -1
- package/dist/components/GroupBlock/renderBlocksTypes.d.ts +0 -10
- package/dist/components/GroupBlock/renderBlocksTypes.js +0 -19
- package/dist/components/GroupBlock/renderBlocksTypes.js.map +0 -1
- package/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +0 -7
- package/dist/components/NavigatorTabs/NavigatorTabItem.js +0 -16
- package/dist/components/NavigatorTabs/NavigatorTabItem.js.map +0 -1
- package/dist/components/NavigatorTabs/NavigatorTabs.d.ts +0 -5
- package/dist/components/NavigatorTabs/NavigatorTabs.js +0 -19
- package/dist/components/NavigatorTabs/NavigatorTabs.js.map +0 -1
- package/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +0 -11
- package/dist/components/NavigatorTabs/NavigatorTabsContent.js +0 -2
- package/dist/components/NavigatorTabs/NavigatorTabsContent.js.map +0 -1
- package/dist/hooks/useSafeDepositRental.d.ts +0 -1
- package/dist/hooks/useSafeDepositRental.js +0 -24
- package/dist/hooks/useSafeDepositRental.js.map +0 -1
- package/lib/components/GroupBlock/BlocksTypeProps.d.ts +0 -36
- package/lib/components/GroupBlock/BlocksTypeProps.js +0 -2
- package/lib/components/GroupBlock/BlocksTypeProps.js.map +0 -1
- package/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +0 -4
- package/lib/components/GroupBlock/EmbeddableGroupBlocks.js +0 -7
- package/lib/components/GroupBlock/EmbeddableGroupBlocks.js.map +0 -1
- package/lib/components/GroupBlock/GroupBlock.d.ts +0 -9
- package/lib/components/GroupBlock/GroupBlock.fixture.d.ts +0 -6
- package/lib/components/GroupBlock/GroupBlock.js +0 -19
- package/lib/components/GroupBlock/GroupBlock.js.map +0 -1
- package/lib/components/GroupBlock/GroupBlockContent.d.ts +0 -21
- package/lib/components/GroupBlock/GroupBlockContent.js +0 -2
- package/lib/components/GroupBlock/GroupBlockContent.js.map +0 -1
- package/lib/components/GroupBlock/GroupBlockTabs.d.ts +0 -9
- package/lib/components/GroupBlock/GroupBlockTabs.js +0 -18
- package/lib/components/GroupBlock/GroupBlockTabs.js.map +0 -1
- package/lib/components/GroupBlock/GroupBlocksItem.d.ts +0 -9
- package/lib/components/GroupBlock/GroupBlocksItem.js +0 -17
- package/lib/components/GroupBlock/GroupBlocksItem.js.map +0 -1
- package/lib/components/GroupBlock/filterBlocksByTag.d.ts +0 -2
- package/lib/components/GroupBlock/filterBlocksByTag.js +0 -4
- package/lib/components/GroupBlock/filterBlocksByTag.js.map +0 -1
- package/lib/components/GroupBlock/renderBlocksTypes.d.ts +0 -10
- package/lib/components/GroupBlock/renderBlocksTypes.js +0 -16
- package/lib/components/GroupBlock/renderBlocksTypes.js.map +0 -1
- package/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +0 -7
- package/lib/components/NavigatorTabs/NavigatorTabItem.js +0 -14
- package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +0 -1
- package/lib/components/NavigatorTabs/NavigatorTabs.d.ts +0 -5
- package/lib/components/NavigatorTabs/NavigatorTabs.fixture.d.ts +0 -5
- package/lib/components/NavigatorTabs/NavigatorTabs.js +0 -17
- package/lib/components/NavigatorTabs/NavigatorTabs.js.map +0 -1
- package/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +0 -11
- package/lib/components/NavigatorTabs/NavigatorTabsContent.js +0 -2
- package/lib/components/NavigatorTabs/NavigatorTabsContent.js.map +0 -1
- package/lib/hooks/useSafeDepositRental.d.ts +0 -1
- package/lib/hooks/useSafeDepositRental.js +0 -21
- package/lib/hooks/useSafeDepositRental.js.map +0 -1
- package/mobile/dist/components/GroupBlock/BlocksTypeProps.d.ts +0 -36
- package/mobile/dist/components/GroupBlock/BlocksTypeProps.js.map +0 -1
- package/mobile/dist/components/GroupBlock/EmbeddableGroupBlocks.d.ts +0 -4
- package/mobile/dist/components/GroupBlock/EmbeddableGroupBlocks.js +0 -9
- package/mobile/dist/components/GroupBlock/EmbeddableGroupBlocks.js.map +0 -1
- package/mobile/dist/components/GroupBlock/GroupBlock.d.ts +0 -9
- package/mobile/dist/components/GroupBlock/GroupBlock.js +0 -21
- package/mobile/dist/components/GroupBlock/GroupBlock.js.map +0 -1
- package/mobile/dist/components/GroupBlock/GroupBlockContent.d.ts +0 -21
- package/mobile/dist/components/GroupBlock/GroupBlockContent.js +0 -2
- package/mobile/dist/components/GroupBlock/GroupBlockContent.js.map +0 -1
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.d.ts +0 -9
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.js +0 -20
- package/mobile/dist/components/GroupBlock/GroupBlockTabs.js.map +0 -1
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.d.ts +0 -9
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.js +0 -20
- package/mobile/dist/components/GroupBlock/GroupBlocksItem.js.map +0 -1
- package/mobile/dist/components/GroupBlock/filterBlocksByTag.d.ts +0 -2
- package/mobile/dist/components/GroupBlock/filterBlocksByTag.js +0 -7
- package/mobile/dist/components/GroupBlock/filterBlocksByTag.js.map +0 -1
- package/mobile/dist/components/GroupBlock/renderBlocksTypes.d.ts +0 -10
- package/mobile/dist/components/GroupBlock/renderBlocksTypes.js +0 -19
- package/mobile/dist/components/GroupBlock/renderBlocksTypes.js.map +0 -1
- package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.d.ts +0 -7
- package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +0 -16
- package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +0 -1
- package/mobile/dist/components/NavigatorTabs/NavigatorTabs.d.ts +0 -5
- package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js +0 -19
- package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js.map +0 -1
- package/mobile/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +0 -11
- package/mobile/dist/components/NavigatorTabs/NavigatorTabsContent.js +0 -2
- package/mobile/dist/components/NavigatorTabs/NavigatorTabsContent.js.map +0 -1
- package/mobile/dist/hooks/useSafeDepositRental.d.ts +0 -1
- package/mobile/dist/hooks/useSafeDepositRental.js +0 -24
- package/mobile/dist/hooks/useSafeDepositRental.js.map +0 -1
- package/mobile/lib/components/GroupBlock/BlocksTypeProps.d.ts +0 -36
- package/mobile/lib/components/GroupBlock/BlocksTypeProps.js +0 -2
- package/mobile/lib/components/GroupBlock/BlocksTypeProps.js.map +0 -1
- package/mobile/lib/components/GroupBlock/EmbeddableGroupBlocks.d.ts +0 -4
- package/mobile/lib/components/GroupBlock/EmbeddableGroupBlocks.js +0 -7
- package/mobile/lib/components/GroupBlock/EmbeddableGroupBlocks.js.map +0 -1
- package/mobile/lib/components/GroupBlock/GroupBlock.d.ts +0 -9
- package/mobile/lib/components/GroupBlock/GroupBlock.js +0 -19
- package/mobile/lib/components/GroupBlock/GroupBlock.js.map +0 -1
- package/mobile/lib/components/GroupBlock/GroupBlockContent.d.ts +0 -21
- package/mobile/lib/components/GroupBlock/GroupBlockContent.js +0 -2
- package/mobile/lib/components/GroupBlock/GroupBlockContent.js.map +0 -1
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.d.ts +0 -9
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.js +0 -18
- package/mobile/lib/components/GroupBlock/GroupBlockTabs.js.map +0 -1
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.d.ts +0 -9
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.js +0 -17
- package/mobile/lib/components/GroupBlock/GroupBlocksItem.js.map +0 -1
- package/mobile/lib/components/GroupBlock/filterBlocksByTag.d.ts +0 -2
- package/mobile/lib/components/GroupBlock/filterBlocksByTag.js +0 -4
- package/mobile/lib/components/GroupBlock/filterBlocksByTag.js.map +0 -1
- package/mobile/lib/components/GroupBlock/renderBlocksTypes.d.ts +0 -10
- package/mobile/lib/components/GroupBlock/renderBlocksTypes.js +0 -16
- package/mobile/lib/components/GroupBlock/renderBlocksTypes.js.map +0 -1
- package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.d.ts +0 -7
- package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +0 -14
- package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +0 -1
- package/mobile/lib/components/NavigatorTabs/NavigatorTabs.d.ts +0 -5
- package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js +0 -17
- package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js.map +0 -1
- package/mobile/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +0 -11
- package/mobile/lib/components/NavigatorTabs/NavigatorTabsContent.js +0 -2
- package/mobile/lib/components/NavigatorTabs/NavigatorTabsContent.js.map +0 -1
- package/mobile/lib/hooks/useSafeDepositRental.d.ts +0 -1
- package/mobile/lib/hooks/useSafeDepositRental.js +0 -21
- package/mobile/lib/hooks/useSafeDepositRental.js.map +0 -1
- package/mobile/src/components/GroupBlock/BlocksTypeProps.ts +0 -39
- package/mobile/src/components/GroupBlock/EmbeddableGroupBlocks.tsx +0 -7
- package/mobile/src/components/GroupBlock/GroupBlock.example.json +0 -97
- package/mobile/src/components/GroupBlock/GroupBlock.tsx +0 -50
- package/mobile/src/components/GroupBlock/GroupBlockContent.ts +0 -23
- package/mobile/src/components/GroupBlock/GroupBlockTabs.tsx +0 -55
- package/mobile/src/components/GroupBlock/GroupBlocksItem.tsx +0 -31
- package/mobile/src/components/GroupBlock/filterBlocksByTag.ts +0 -5
- package/mobile/src/components/GroupBlock/renderBlocksTypes.tsx +0 -34
- package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +0 -31
- package/mobile/src/components/NavigatorTabs/NavigatorTabs.example.json +0 -7
- package/mobile/src/components/NavigatorTabs/NavigatorTabs.tsx +0 -41
- package/mobile/src/components/NavigatorTabs/NavigatorTabsContent.ts +0 -12
- package/mobile/src/hooks/useSafeDepositRental.ts +0 -25
- package/src/components/GroupBlock/BlocksTypeProps.ts +0 -39
- package/src/components/GroupBlock/EmbeddableGroupBlocks.tsx +0 -7
- package/src/components/GroupBlock/GroupBlock.example.json +0 -97
- package/src/components/GroupBlock/GroupBlock.fixture.tsx +0 -67
- package/src/components/GroupBlock/GroupBlock.tsx +0 -50
- package/src/components/GroupBlock/GroupBlockContent.ts +0 -23
- package/src/components/GroupBlock/GroupBlockTabs.tsx +0 -55
- package/src/components/GroupBlock/GroupBlocksItem.tsx +0 -31
- package/src/components/GroupBlock/filterBlocksByTag.ts +0 -5
- package/src/components/GroupBlock/renderBlocksTypes.tsx +0 -34
- package/src/components/NavigatorTabs/NavigatorTabItem.tsx +0 -31
- package/src/components/NavigatorTabs/NavigatorTabs.example.json +0 -7
- package/src/components/NavigatorTabs/NavigatorTabs.fixture.tsx +0 -16
- package/src/components/NavigatorTabs/NavigatorTabs.tsx +0 -41
- package/src/components/NavigatorTabs/NavigatorTabsContent.ts +0 -12
- package/src/hooks/useSafeDepositRental.ts +0 -25
|
@@ -9,6 +9,7 @@ import type { Picture } from '../../model/Picture';
|
|
|
9
9
|
* @title Мобильное приложение
|
|
10
10
|
*/
|
|
11
11
|
export declare type MobileAppTileContent = HeadlineCommonProps & HeadingCommonProps & ButtonContent & ListContent & ImageContent & {
|
|
12
|
+
/** @title QR-код */
|
|
12
13
|
qr?: Picture;
|
|
13
14
|
/** @title Ссылка */
|
|
14
15
|
href?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
|
-
import { NavigationContent } from './NavigationContent';
|
|
2
|
+
import type { NavigationContent } from './NavigationContent';
|
|
3
3
|
export interface NavigationProps extends NavigationContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const Navigation: import("@redneckz/uni-jsx").UNIComponent<NavigationProps, any, any>;
|
|
@@ -5,12 +5,9 @@ import { Img } from '../../ui-kit/Img/Img.js';
|
|
|
5
5
|
import { BenefitItem } from '../../ui-kit/BenefitItem/BenefitItem.js';
|
|
6
6
|
import { Headline } from '../Headline/Headline.js';
|
|
7
7
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers.js';
|
|
8
|
-
|
|
9
|
-
primary: 'bg-white text-primary-text',
|
|
10
|
-
secondary: 'bg-primary-main text-white',
|
|
11
|
-
};
|
|
8
|
+
import { VersionStyleMap } from '../../model/BlockVersion.js';
|
|
12
9
|
export const PictureText = JSX(({ className = '', context, title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => {
|
|
13
|
-
return (_jsxs(BlockWrapper, { className: `relative font-sans p-14 ${
|
|
10
|
+
return (_jsxs(BlockWrapper, { className: `relative font-sans p-14 ${VersionStyleMap[version]} ${className}`, context: context, ...rest, children: [_jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center" }), _jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src && _jsx(Img, { className: directionRight ? 'order-2 ml-6' : 'mr-6', image: image }), _jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (_jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit(version)) })) : null, renderInsuranceSumMonth(sum, monthLimit)] })] })] }));
|
|
14
11
|
});
|
|
15
12
|
const renderBenefit = (version) => (benefit, i) => (_jsx(BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
|
|
16
13
|
function renderInsuranceSumMonth(sum, monthLimit) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;
|
|
1
|
+
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAI3D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,OAAO,GAAG,SAAS,EACnB,GAAG,EACH,UAAU,EACV,cAAc,GAAG,KAAK,EACtB,GAAG,I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AC,sDAAsD,aAClE,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAC5F,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC;gBAC1B,CAAC,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;gBAClE,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,GAAG,GAAG,CAAC,EAAE,cAAc,GAAG,KAAK;IACtE,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEvD,OAAO,CACL,eAAK,SAAS,EAAE,kDAAkD,UAAU,EAAE,aAC5E,eAAM,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAQ,EACjE,gBAAM,SAAS,EAAC,2BAA2B,aAAE,uBAAuB,CAAC,GAAG,CAAC,eAAU,IAC/E,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { ProductBlockInner } from './ProductBlockInner.js';
|
|
4
|
-
|
|
5
|
-
primary: 'bg-white text-primary-text',
|
|
6
|
-
secondary: 'bg-primary-main text-white',
|
|
7
|
-
};
|
|
4
|
+
import { VersionStyleMap } from '../../model/BlockVersion.js';
|
|
8
5
|
export const ProductBlock = JSX((props /* Get rid of image and benefits */) => {
|
|
9
6
|
const { className = '', version = 'primary' } = props;
|
|
10
|
-
return (_jsx("section", { className: `font-sans bg-white px-4 py-6 ${
|
|
7
|
+
return (_jsx("section", { className: `font-sans bg-white px-4 py-6 ${VersionStyleMap[version]} ${className}`, children: _jsx(ProductBlockInner, { ...props }) }));
|
|
11
8
|
});
|
|
12
9
|
//# sourceMappingURL=ProductBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAI3D,MAAM,CAAC,MAAM,YAAY,GAAG,GAAG,CAAoB,CAAC,KAAK,CAAC,mCAAmC,EAAE,EAAE;IAC/F,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,GAAG,SAAS,EAAE,GAAG,KAAK,CAAC;IAEtD,OAAO,CACL,kBAAS,SAAS,EAAE,gCAAgC,eAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,YACzF,KAAC,iBAAiB,OAAK,KAAK,GAAI,GACxB,CACX,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -2,11 +2,23 @@ import type { BlockVersion } from '../../model/BlockVersion';
|
|
|
2
2
|
import type { IconVersion } from '../../model/IconVersion';
|
|
3
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
4
4
|
import type { ButtonContent, BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
-
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
5
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
6
|
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
8
7
|
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
9
|
-
|
|
8
|
+
import type { Picture } from '../../model/Picture';
|
|
9
|
+
export declare type ProductBlockInnerContent = HeadlineProps & ListContent & ButtonContent & {
|
|
10
|
+
/**
|
|
11
|
+
* @title Иконка
|
|
12
|
+
* @default
|
|
13
|
+
* {
|
|
14
|
+
* "size": {
|
|
15
|
+
* "width": 608,
|
|
16
|
+
* "height": 299
|
|
17
|
+
* },
|
|
18
|
+
* "format": "webp"
|
|
19
|
+
* }
|
|
20
|
+
*/
|
|
21
|
+
image?: Picture;
|
|
10
22
|
/**
|
|
11
23
|
* @title Список преимуществ
|
|
12
24
|
* @minItems 2
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { ProductBlockInner } from '../ProductBlock/ProductBlockInner.js';
|
|
4
|
-
|
|
5
|
-
primary: 'bg-white text-primary-text',
|
|
6
|
-
secondary: 'bg-primary-main text-white',
|
|
7
|
-
};
|
|
4
|
+
import { VersionStyleMap } from '../../model/BlockVersion.js';
|
|
8
5
|
export const ProductGalleryBlock = JSX(({ block, context, className = '' }) => {
|
|
9
6
|
const version = block?.version ?? 'primary';
|
|
10
|
-
return (_jsx("section", { className: `flex grow-0 shrink-0 basis-full px-4 pt-6 ${
|
|
7
|
+
return (_jsx("section", { className: `flex grow-0 shrink-0 basis-full px-4 pt-6 ${VersionStyleMap[version]} ${className}`, role: "listitem", children: _jsx("div", { className: "flex grow", children: _jsx(ProductBlockInner, { context: context, ...block }) }) }));
|
|
11
8
|
});
|
|
12
9
|
//# sourceMappingURL=ProductGalleryBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGalleryBlock.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGalleryBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductGalleryBlock.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGalleryBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAItE,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAO3D,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE;IACrC,MAAM,OAAO,GAAG,KAAK,EAAE,OAAO,IAAI,SAAS,CAAC;IAE5C,OAAO,CACL,kBACE,SAAS,EAAE,6CAA6C,eAAe,CAAC,OAAO,CAAC,IAAI,SAAS,EAAE,EAC/F,IAAI,EAAC,UAAU,YAEf,cAAK,SAAS,EAAC,WAAW,YACxB,KAAC,iBAAiB,IAAC,OAAO,EAAE,OAAO,KAAM,KAAK,GAAI,GAC9C,GACE,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -6,27 +6,27 @@ import { Img } from '../../ui-kit/Img/Img.js';
|
|
|
6
6
|
import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
|
|
7
7
|
import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
|
|
8
8
|
import { Headline } from '../Headline/Headline.js';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
export const ProductTile = JSX(({ context, className = '', title, headlineVersion = 'S', description, additionalDescription, benefits, buttons, image, version = 'primary', ...rest }) => {
|
|
14
|
-
return (_jsxs(BlockWrapper, { context: context, className: `bg-white overflow-hidden text-primary-text font-sans p-9 box-border min-h-[364px] relative justify-between grid ${className} ${productTileStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: [_jsxs("div", { className: "z-[1]", children: [_jsx(Headline, { context: context, className: "!p-0", as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "left" }), renderBenefits(benefits || [], version), additionalDescription
|
|
15
|
-
? renderAdditionalDescription(additionalDescription, version)
|
|
16
|
-
: null] }), buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex self-end mt-5 gap-4 z-[1] text-l" })) : null, image?.src ? _jsx(Img, { className: "absolute right-0 bottom-0", image: image }) : null] }));
|
|
9
|
+
import { VersionStyleMap } from '../../model/BlockVersion.js';
|
|
10
|
+
export const ProductTile = JSX(({ context, className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, version = 'primary', ...rest }) => {
|
|
11
|
+
return (_jsxs(BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 box-border relative justify-between grid ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)}`, ...rest, children: [_jsx(Headline, { context: context, className: `!p-0 z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "left" }), renderBenefits(benefits, version), additionalDescription ? renderAdditionalDescription(additionalDescription, version) : null, buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex self-end mt-5 gap-4 z-10 text-l" })) : null, image?.src ? _jsx(Img, { className: "absolute right-0 bottom-0", image: image }) : null] }));
|
|
17
12
|
});
|
|
13
|
+
// picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
|
|
14
|
+
const BENEFITS_WIDTH = 'max-w-[calc(100%-186px)]';
|
|
18
15
|
function renderBenefits(benefits, version) {
|
|
19
|
-
return (
|
|
16
|
+
return (_jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline ${BENEFITS_WIDTH}`, children: benefits.length ? benefits.map(renderBenefit(version)) : null }));
|
|
20
17
|
}
|
|
21
|
-
function
|
|
22
|
-
return (_jsx("div", { className: `${i ? 'mt-2.5' : ''}`, children: benefit.label }, String(i)));
|
|
23
|
-
}
|
|
24
|
-
function renderBenefitDescription(benefit, i, version = 'primary') {
|
|
18
|
+
function renderBenefit(version = 'primary') {
|
|
25
19
|
const labelStyleMap = {
|
|
26
20
|
primary: 'text-secondary-text',
|
|
27
21
|
secondary: 'text-white',
|
|
28
22
|
};
|
|
29
|
-
return (
|
|
23
|
+
return function renderVersionedBenefit(benefit, i) {
|
|
24
|
+
const { label = '', description = '' } = benefit;
|
|
25
|
+
return [
|
|
26
|
+
_jsx("div", { className: "text-h6", children: label }, `label-${i}`),
|
|
27
|
+
_jsx("div", { className: `text-m-light ${labelStyleMap[version]}`, children: description }, `desc-${i}`),
|
|
28
|
+
];
|
|
29
|
+
};
|
|
30
30
|
}
|
|
31
31
|
function renderAdditionalDescription(additionalDescription, version = 'primary') {
|
|
32
32
|
const descStyleMap = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,mBAAm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'../BaseTile/getTileHeadingType.js';
|
|
|
7
7
|
import { getTileMinHeight } from '../BaseTile/getTileMinHeight.js';
|
|
8
8
|
import { getTileRightPadding } from '../BaseTile/getTileRightPadding.js';
|
|
9
9
|
import { Headline } from '../Headline/Headline.js';
|
|
10
|
-
|
|
11
|
-
primary: 'bg-white text-primary-text',
|
|
12
|
-
secondary: 'bg-primary-main text-white',
|
|
13
|
-
};
|
|
10
|
+
import { VersionStyleMap } from '../../model/BlockVersion.js';
|
|
14
11
|
export const PromoTile = JSX(({ className = '', context, title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => {
|
|
15
|
-
return (_jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${
|
|
12
|
+
return (_jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: _jsx(BaseTile, { context: context, title: title ? (_jsx(Headline, { context: context, title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "left", as: "h2" })) : null, buttons: buttons?.length ? (_jsx(ButtonSection, { context: context, buttons: buttons, className: "flex gap-3" })) : null, children: _jsxs("div", { className: "mt-1.5", children: [date ? _jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, _jsx("div", { className: "text-l", children: description })] }) }) }));
|
|
16
13
|
});
|
|
17
14
|
function formatDate(date) {
|
|
18
15
|
const dateObj = new Date(date);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAClE,OAAO,EAAE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QAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,KAAC,QAAQ,IACP,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,oBAAoB,EAC/B,eAAe,EAAE,kBAAkB,CAAC,SAAS,CAAC,EAC9C,eAAe,EAAE,OAAO,EACxB,KAAK,EAAC,MAAM,EACZ,EAAE,EAAC,IAAI,GACP,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,OAAO,EACL,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAChB,KAAC,aAAa,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,YAAY,GAAG,CAC7E,CAAC,CAAC,CAAC,IAAI,YAGV,eAAK,SAAS,EAAC,QAAQ,aACpB,IAAI,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,aAAa,YAAE,UAAU,CAAC,IAAI,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,EACpE,cAAK,SAAS,EAAC,QAAQ,YAAE,WAAW,GAAO,IACvC,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,IAAY;IAC9B,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,UAAU,GAA+B;QAC7C,GAAG,EAAE,SAAS;QACd,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,SAAS;KAChB,CAAC;IAEF,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
2
3
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
-
import type { DescriptionProp } from '../../model/HeadlineType';
|
|
4
4
|
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
5
5
|
/**
|
|
6
6
|
* @title Акции
|
|
7
7
|
*/
|
|
8
|
-
export declare type PromoTileContent = HeadingCommonProps &
|
|
8
|
+
export declare type PromoTileContent = HeadingCommonProps & DescriptionProps & ButtonContent & {
|
|
9
9
|
/** @title Дата публикации */
|
|
10
10
|
date?: string;
|
|
11
11
|
version?: BlockVersion;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type {
|
|
2
|
+
import type { HeadlineCommonProps, TitleProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
3
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
4
5
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
5
|
-
import type { HeadlineCommonProps, TitleProp } from '../../model/HeadlineType';
|
|
6
6
|
export interface RecommendationCardTypes extends HeadlineCommonProps, ListContent, ImageContent {
|
|
7
7
|
/**
|
|
8
8
|
* @title Соц сети
|
|
9
9
|
* @minItems 3
|
|
10
10
|
*/
|
|
11
|
-
socialMedia?:
|
|
11
|
+
socialMedia?: LinkCommonProps[];
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* @title Рекомендации
|
|
15
15
|
*/
|
|
16
|
-
export interface RecommendationContent extends
|
|
16
|
+
export interface RecommendationContent extends TitleProps {
|
|
17
17
|
/** @title Карточки */
|
|
18
18
|
recommendations?: RecommendationCardTypes[];
|
|
19
19
|
version?: BlockVersion;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QA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AAM,IAAI,GAAG,IAAI,CAAC;IAElB,OAAO,CACL,MAAC,YAAY,IAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,uBAAuB,SAAS,EAAE,KAAM,IAAI,aACrF,eAAK,SAAS,EAAC,qCAAqC,aACjD,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,CACtB,KAAC,qBAAqB,OAAK,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,GAAI,CAClE,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,sBAAsB,IAAC,IAAI,EAAE,IAAI,GAAI,IAClC,EACN,YAAG,SAAS,EAAC,kCAAkC,goBAG3C,IACS,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAIlE,MAAM,YAAY,GAAG,EAAE,CAAC;AAExB,MAAM,IAAI,GAAG;IACX,MAAM,EAAE;QACN;YACE,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE;gBACP;oBACE,MAAM,EAAE,oBAAoB;oBAC5B,IAAI,EAAE,IAAI;iBACX;gBACD;oBACE,MAAM,EAAE,aAAa;oBACrB,IAAI,EAAE,CAAC;iBACR;gBACD;oBACE,MAAM,EAAE,aAAa;oBACrB,IAAI,EAAE,CAAC;iBACR;gBACD;oBACE,MAAM,EAAE,aAAa;oBACrB,IAAI,EAAE,CAAC;iBACR;aACF;SACF;QACD;YACE,IAA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{
|
|
|
63
63
|
};
|
|
64
64
|
// TODO: В качестве компонента не годится
|
|
65
65
|
const RadioButtons = JSX(() => {
|
|
66
|
-
const [selected, setSelected] = useState('
|
|
66
|
+
const [selected, setSelected] = useState('option2');
|
|
67
67
|
const onChange = (_) => setSelected(_.target.value);
|
|
68
68
|
return (_jsxs("div", { children: [_jsx(Radio, { className: "mb-2", name: "contractType", text: "\u041F\u0440\u043E\u0441\u0442\u043E\u0435 \u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435", value: "option1", checked: selected === 'option1', onChange: onChange }), _jsx(Radio, { name: "contractType", text: "\u0421\u0434\u0435\u043B\u043A\u0430 \u0441 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C\u044E", value: "option2", checked: selected === 'option2', onChange: onChange })] }));
|
|
69
69
|
});
|
|
@@ -21,7 +21,7 @@ const renderStepTitle = (size, version, showLines) => (step, i, steps) => {
|
|
|
21
21
|
const isLastStep = steps.length - 1 === i;
|
|
22
22
|
const margin = size === 'normal' ? 'ml-[34px]' : 'ml-6';
|
|
23
23
|
const styleMap = STEPS_BLOCK_STYLE_MAPS[version];
|
|
24
|
-
return (_jsx("div", { children: _jsxs("div", { className: "flex flex-row text-center relative", children: [_jsxs("div", { className: "overflow-hidden", children: [renderIconArea(size, version)(step, i), isLastStep ? null : (_jsx("div", { className: `min-h-8 h-full w-[2px] ${showLines ? styleMap.iconConnector : ''} ${margin}` }))] }), _jsxs("div", { className: `flex flex-col justify-center h-fit ${STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]}`, children: [step.label ? (_jsx("div", { className: "text-m-title-xs font-medium m-0 text-left mb-1", children: step.label })) : null, step.description ? (_jsx("div", { className: `text-s ${styleMap.description} text-left`, children: step.description })) : null] })] }) }, String(i)));
|
|
24
|
+
return (_jsx("div", { children: _jsxs("div", { className: "flex flex-row text-center relative", children: [_jsxs("div", { className: "overflow-hidden flex-shrink-0", children: [renderIconArea(size, version)(step, i), isLastStep ? null : (_jsx("div", { className: `min-h-8 h-full w-[2px] ${showLines ? styleMap.iconConnector : ''} ${margin}` }))] }), _jsxs("div", { className: `flex flex-col justify-center h-fit ${STEPS_TILE_DESCRIPTION_HEIGHT_MAP[size]}`, children: [step.label ? (_jsx("div", { className: "text-m-title-xs font-medium m-0 text-left mb-1", children: step.label })) : null, step.description ? (_jsx("div", { className: `text-s ${styleMap.description} text-left`, children: step.description })) : null] })] }) }, String(i)));
|
|
25
25
|
};
|
|
26
26
|
const renderIconArea = (size, version) => (step, i) => {
|
|
27
27
|
const styleMap = STEPS_BLOCK_STYLE_MAPS[version];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKxC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAI/D,MAAM,cAAc,GAAgC;IAClD,MAAM,EAAE,6CAA6C;IACrD,KAAK,EAAE,6CAA6C;CACrD,CAAC;AAEF,MAAM,iCAAiC,GAAgC;IACrE,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,cAAc;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EACC,SAAS,EACT,KAAK,EACL,WAAW,EACX,SAAS,GAAG,IAAI,EAChB,KAAK,EACL,IAAI,GAAG,QAAQ,EACf,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,MAAM,QAAQ,GAAG,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAEjD,OAAO,CACL,mBACE,SAAS,EAAE;UACT,Q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,WAAW,GAAO,CACrF,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,IAtBE,MAAM,CAAC,CAAC,CAAC,CAuBb,CACP,CAAC;AACJ,CAAC,CAAC;AAEJ,MAAM,cAAc,GAAG,CAAC,IAAiB,EAAE,OAAqB,EAAE,EAAE,CAAC,CAAC,IAAU,EAAE,CAAS,EAAE,EAAE;IAC7F,MAAM,QAAQ,GAAG,sBAAsB,CAAC,OAAO,CAAC,CAAC;IACjD,MAAM,YAAY,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IAE1C,MAAM,QAAQ,GAAG,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACjD,MAAM,YAAY,GAAG,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,iBAAiB,CAAC;IAE5E,OAAO,CACL,cACE,SAAS,EAAE,GAAG,YAAY,IAAI,QAAQ,CAAC,cAAc,4DAA4D,YAEjH,eAAM,SAAS,EAAE,gCAAgC,QAAQ,CAAC,KAAK,IAAI,YAAY,EAAE,YAC9E,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACnC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,SAAG,CACnE,CAAC,CAAC,CAAC,CACF,yBAAO,CAAC,GAAG,CAAC,GAAQ,CACrB,GACI,GACH,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../types';
|
|
2
|
-
import type { TabsContent } from './TabsContent';
|
|
2
|
+
import type { Tab, TabsContent } from './TabsContent';
|
|
3
3
|
export interface TabActivationEvent {
|
|
4
|
+
type?: Tab['type'];
|
|
4
5
|
label?: string;
|
|
5
6
|
}
|
|
6
|
-
export interface
|
|
7
|
+
export interface TabsBlockProps extends TabsContent, UniBlockProps {
|
|
7
8
|
}
|
|
8
|
-
export declare const Tabs: import("@redneckz/uni-jsx").UNIComponent<
|
|
9
|
+
export declare const Tabs: import("@redneckz/uni-jsx").UNIComponent<TabsBlockProps, any, any>;
|
|
@@ -7,11 +7,18 @@ import { renderTab } from './renderTab.js';
|
|
|
7
7
|
export const Tabs = JSX((props) => {
|
|
8
8
|
const { context, className, tabs, page, showCounter } = props;
|
|
9
9
|
const [currentTab, setCurrentTab] = useState(tabs ? tabs[0] : undefined);
|
|
10
|
-
useEffect(() =>
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
if (currentTab?.type === 'group') {
|
|
12
|
+
return EventBus.inst.subject('tab', { label: currentTab.ref });
|
|
13
|
+
}
|
|
14
|
+
return undefined;
|
|
15
|
+
}, [currentTab]);
|
|
11
16
|
const handleClick = (selectedTab) => {
|
|
12
|
-
|
|
13
|
-
|
|
17
|
+
if (selectedTab?.type === 'group') {
|
|
18
|
+
EventBus.inst.fire('tab', { type: selectedTab.type, label: selectedTab.ref });
|
|
19
|
+
setCurrentTab(selectedTab);
|
|
20
|
+
}
|
|
14
21
|
};
|
|
15
|
-
return (_jsx(BlockWrapper, { context: context, className: `mb-2 box-border flex gap-x-1 ${className}`, role: "tablist", children: tabs?.map(renderTab({ onClick: handleClick, currentTab, page, showCounter })) }));
|
|
22
|
+
return (_jsx(BlockWrapper, { context: context, className: `mb-2 box-border flex gap-x-1 ${className}`, role: "tablist", children: tabs?.map(renderTab({ onClick: handleClick, currentTab, page, showCounter, context })) }));
|
|
16
23
|
});
|
|
17
24
|
//# sourceMappingURL=Tabs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.js","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,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,CAAC,IAAI,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC;YAC9E,aAAa,CAAC,WAAW,CAAC,CAAC;SAC5B;IACH,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,gCAAgC,SAAS,EAAE,EACtD,IAAI,EAAC,SAAS,YAEb,IAAI,EAAE,GAAG,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC,CAAC,GAC1E,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
/** @title
|
|
6
|
-
|
|
1
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
+
export interface GroupTab {
|
|
3
|
+
/** @default group */
|
|
4
|
+
type: 'group';
|
|
5
|
+
/** @title Тег */
|
|
6
|
+
ref?: string;
|
|
7
7
|
/** @title Название */
|
|
8
8
|
title?: string;
|
|
9
9
|
}
|
|
10
|
+
export declare type LinkTab = LinkProps & {
|
|
11
|
+
/** @default link */
|
|
12
|
+
type: 'link';
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @title Таб
|
|
16
|
+
*/
|
|
17
|
+
export declare type Tab = GroupTab | LinkTab;
|
|
10
18
|
/**
|
|
11
19
|
* @title Вкладки
|
|
12
20
|
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { RenderTabProps } from './renderTab';
|
|
3
|
+
import type { GroupTab } from './TabsContent';
|
|
4
|
+
export declare const renderGroupTab: ({ onClick, currentTab, showCounter, page }: RenderTabProps) => (tab: GroupTab, i: number) => JSX.Element;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { ACTIVE_LINK_CLASSES, ACTIVE_TEXT_CLASSES, INACTIVE_LINK_CLASSES, INACTIVE_TEXT_CLASSES, LINK_CLASSES, TEXT_CLASSES, } from './tabItemClasses.js';
|
|
3
|
+
const BADGE_CLASSES = 'min-w-[22px] w-[22px] h-[22px] rounded-full text-xs ml-2';
|
|
4
|
+
const ACTIVE_BADGE_CLASSES = 'bg-white/30 text-white';
|
|
5
|
+
const INACTIVE_BADGE_CLASSES = 'bg-main-divider text-secondary-text group-hover:text-primary-main';
|
|
6
|
+
export const renderGroupTab = ({ onClick, currentTab, showCounter, page }) => (tab, i) => {
|
|
7
|
+
const active = currentTab === tab;
|
|
8
|
+
const count = tab.ref
|
|
9
|
+
? page?.blocks?.filter((block) => block?.labels?.includes(tab.ref)).length
|
|
10
|
+
: page?.blocks?.length;
|
|
11
|
+
return (_jsx("div", { className: `${LINK_CLASSES} ${active ? ACTIVE_LINK_CLASSES : INACTIVE_LINK_CLASSES}`, role: "tab", "aria-selected": active, onClick: () => onClick(tab), children: _jsxs("div", { className: "flex flex-1 items-center justify-center", children: [tab?.title ? renderTitle(tab.title, active) : null, showCounter && count ? renderCount(count, active) : null] }) }, String(i)));
|
|
12
|
+
};
|
|
13
|
+
const renderTitle = (title, active) => (_jsx("h3", { className: `${TEXT_CLASSES} ${active ? ACTIVE_TEXT_CLASSES : INACTIVE_TEXT_CLASSES}`, children: title }));
|
|
14
|
+
const renderCount = (count, active) => (_jsx("div", { className: `${BADGE_CLASSES} ${active ? ACTIVE_BADGE_CLASSES : INACTIVE_BADGE_CLASSES}`, children: count }));
|
|
15
|
+
//# sourceMappingURL=renderGroupTab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderGroupTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/renderGroupTab.tsx"],"names":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,CAAC,CAAC;AAEJ,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,MAAe,EAAE,EAAE,CAAC,CACtD,aAAI,SAAS,EAAE,GAAG,YAAY,IAAI,MAAM,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,qBAAqB,EAAE,YACrF,KAAK,GACH,CACN,CAAC;AAEF,MAAM,WAAW,GAAG,CAAC,KAAa,EAAE,MAAe,EAAE,EAAE,CAAC,CACtD,cAAK,SAAS,EAAE,GAAG,aAAa,IAAI,MAAM,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,sBAAsB,EAAE,YACzF,KAAK,GACF,CACP,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { LinkProps } from '../../model/LinkProps';
|
|
3
|
+
export interface RenderLinkTabProps extends LinkProps {
|
|
4
|
+
active?: boolean;
|
|
5
|
+
onClick?: () => void;
|
|
6
|
+
i: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const renderLinkTab: ({ text, onClick, href, target, i }: RenderLinkTabProps) => JSX.Element;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { INACTIVE_LINK_CLASSES, INACTIVE_TEXT_CLASSES, LINK_CLASSES, TEXT_CLASSES, } from './tabItemClasses.js';
|
|
3
|
+
export const renderLinkTab = ({ text, onClick, href, target = '_self', i }) => (_jsx("a", { className: `${LINK_CLASSES} ${INACTIVE_LINK_CLASSES}`, target: target, href: href, onClick: onClick, children: _jsx("span", { className: `${TEXT_CLASSES} ${INACTIVE_TEXT_CLASSES}`, children: text }) }, String(i)));
|
|
4
|
+
//# sourceMappingURL=renderLinkTab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderLinkTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/renderLinkTab.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,YAAY,EACZ,YAAY,GACb,MAAM,kBAAkB,CAAC;AAQ1B,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,EAAE,CAAC,EAAsB,EAAE,EAAE,CAAC,CACjG,YAEE,SAAS,EAAE,GAAG,YAAY,IAAI,qBAAqB,EAAE,EACrD,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,YAEhB,eAAM,SAAS,EAAE,GAAG,YAAY,IAAI,qBAAqB,EAAE,YAAG,IAAI,GAAQ,IANrE,MAAM,CAAC,CAAC,CAAC,CAOZ,CACL,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ContentPageDef } from '../../types';
|
|
3
|
+
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
3
4
|
import type { Tab } from './TabsContent';
|
|
4
|
-
interface RenderTabProps {
|
|
5
|
-
onClick:
|
|
5
|
+
export interface RenderTabProps {
|
|
6
|
+
onClick: (tab: Tab) => void;
|
|
6
7
|
currentTab?: Tab;
|
|
7
8
|
page?: ContentPageDef;
|
|
8
9
|
showCounter?: boolean;
|
|
10
|
+
context: ContentPageContext;
|
|
9
11
|
}
|
|
10
|
-
declare
|
|
11
|
-
export declare const renderTab: ({ onClick, currentTab, showCounter, page }: RenderTabProps) => (tab: Tab, i: number) => JSX.Element;
|
|
12
|
-
export {};
|
|
12
|
+
export declare const renderTab: ({ onClick, currentTab, showCounter, page, context }: RenderTabProps) => (tab: Tab, i: number) => JSX.Element | null;
|
|
@@ -1,16 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
2
|
+
import { assertUnreachable } from '../../utils/assertUnreachable.js';
|
|
3
|
+
import { renderGroupTab } from './renderGroupTab.js';
|
|
4
|
+
import { renderLinkTab } from './renderLinkTab.js';
|
|
5
|
+
export const renderTab = ({ onClick, currentTab, showCounter, page, context }) =>
|
|
6
|
+
// Linter doesn't understand that switch processes all cases
|
|
7
|
+
// eslint-disable-next-line consistent-return
|
|
8
|
+
(tab, i) => {
|
|
9
|
+
const { useRouter, handlerDecorator } = context;
|
|
10
|
+
const router = useRouter();
|
|
11
|
+
const type = tab.type;
|
|
12
|
+
if (!(type === 'group' || type === 'link')) {
|
|
13
|
+
return null;
|
|
14
|
+
}
|
|
15
|
+
switch (type) {
|
|
16
|
+
case 'group':
|
|
17
|
+
return renderGroupTab({ onClick, currentTab, showCounter, page, context })(tab, i);
|
|
18
|
+
case 'link':
|
|
19
|
+
return renderLinkTab({
|
|
20
|
+
...useLink({ router, handlerDecorator }, tab),
|
|
21
|
+
i,
|
|
22
|
+
});
|
|
23
|
+
default:
|
|
24
|
+
assertUnreachable(type);
|
|
25
|
+
}
|
|
15
26
|
};
|
|
16
27
|
//# sourceMappingURL=renderTab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/renderTab.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"renderTab.js","sourceRoot":"","sources":["../../../src/components/Tabs/renderTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAWhD,MAAM,CAAC,MAAM,SAAS,GACpB,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAkB,EAAE,EAAE;AACxE,4DAA4D;AAC5D,6CAA6C;AAC7C,CAAC,GAAQ,EAAE,CAAS,EAAE,EAAE;IACtB,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAChD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;IAE3B,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;IAEtB,IAAI,CAAC,CAAC,IAAI,KAAK,OAAO,IAAI,IAAI,KAAK,MAAM,CAAC,EAAE;QAC1C,OAAO,IAAI,CAAC;KACb;IAED,QAAQ,IAAI,EAAE;QACZ,KAAK,OAAO;YACV,OAAO,cAAc,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;QACrF,KAAK,MAAM;YACT,OAAO,aAAa,CAAC;gBACnB,GAAG,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,GAAG,CAAC;gBAC7C,CAAC;aACF,CAAC,CAAC;QACL;YACE,iBAAiB,CAAC,IAAI,CAAC,CAAC;KAC3B;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const LINK_CLASSES = "h-12 flex-1 flex items-center justify-center cursor-pointer";
|
|
2
|
+
export declare const ACTIVE_LINK_CLASSES = "bg-primary-main";
|
|
3
|
+
export declare const INACTIVE_LINK_CLASSES = "group bg-white";
|
|
4
|
+
export declare const TEXT_CLASSES = "font-sans text-m";
|
|
5
|
+
export declare const ACTIVE_TEXT_CLASSES = "text-white";
|
|
6
|
+
export declare const INACTIVE_TEXT_CLASSES = "text-secondary-text group-hover:text-primary-main";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export const LINK_CLASSES = 'h-12 flex-1 flex items-center justify-center cursor-pointer';
|
|
2
|
+
export const ACTIVE_LINK_CLASSES = 'bg-primary-main';
|
|
3
|
+
export const INACTIVE_LINK_CLASSES = 'group bg-white';
|
|
4
|
+
export const TEXT_CLASSES = 'font-sans text-m';
|
|
5
|
+
export const ACTIVE_TEXT_CLASSES = 'text-white';
|
|
6
|
+
export const INACTIVE_TEXT_CLASSES = 'text-secondary-text group-hover:text-primary-main';
|
|
7
|
+
//# sourceMappingURL=tabItemClasses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tabItemClasses.js","sourceRoot":"","sources":["../../../src/components/Tabs/tabItemClasses.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,6DAA6D,CAAC;AAC1F,MAAM,CAAC,MAAM,mBAAmB,GAAG,iBAAiB,CAAC;AACrD,MAAM,CAAC,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAEtD,MAAM,CAAC,MAAM,YAAY,GAAG,kBAAkB,CAAC;AAC/C,MAAM,CAAC,MAAM,mBAAmB,GAAG,YAAY,CAAC;AAChD,MAAM,CAAC,MAAM,qBAAqB,GAAG,mDAAmD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
+
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
4
|
+
import type { ListProps } from '../../ui-kit/List/ListProps';
|
|
5
|
+
import type { LabelDescriptionCell } from './TariffsTableContent';
|
|
6
|
+
export interface LabelProps {
|
|
7
|
+
label?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare type EmbeddableCellDataType = ButtonContent | LabelDescriptionCell | ImageContent | ListProps;
|
|
10
|
+
export declare const EmbeddableCellData: {
|
|
11
|
+
Buttons: ({ buttons }: ButtonContent) => JSX.Element | null;
|
|
12
|
+
Img: ({ image }: ImageContent) => JSX.Element | null;
|
|
13
|
+
List: ({ isDotted, ...rest }: ListProps) => JSX.Element;
|
|
14
|
+
LabelDescription: ({ label, description }: LabelDescriptionCell) => JSX.Element;
|
|
15
|
+
};
|