@redneckz/wildless-cms-uni-blocks 0.5.13 → 0.5.15
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +834 -697
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Accordion/Accordion.d.ts +2 -2
- package/bundle/components/Accordion/Accordion.mobile.d.ts +2 -2
- package/bundle/components/Accordion/AccordionContent.d.ts +0 -26
- package/bundle/components/AccordionItem/AccordionItem.d.ts +3 -0
- package/bundle/components/AccordionItem/AccordionItem.mobile.d.ts +3 -0
- package/bundle/components/AccordionItem/AccordionItemContent.d.ts +14 -0
- package/bundle/components/AccordionItem/AccordionItemProps.d.ts +4 -0
- package/bundle/components/BaseTile/BaseTile.d.ts +1 -1
- package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/bundle/components/Blocks.d.ts +6 -3
- package/bundle/components/Blocks.mobile.d.ts +2 -1
- package/bundle/components/Bonus/Bonus.d.ts +1 -1
- package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
- package/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/bundle/components/Calculator/Calculator.d.ts +1 -1
- package/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/bundle/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/bundle/components/Calculator/renderButtonSection.d.ts +3 -1
- package/bundle/components/Calculator/renderFootnote.d.ts +1 -1
- package/bundle/components/Calculator/renderInitialFeeInput.d.ts +1 -1
- package/bundle/components/Calculator/renderMonthsInput.d.ts +1 -1
- package/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
- package/bundle/components/Calculator/renderRealEstateValue.d.ts +1 -1
- package/bundle/components/Calculator/renderWantedSumInput.d.ts +1 -1
- package/bundle/components/CardTransfer/CardTransfer.d.ts +1 -1
- package/bundle/components/Catalog/Catalog.d.ts +1 -1
- package/bundle/components/Catalog/CatalogCard.d.ts +1 -1
- package/bundle/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/bundle/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
- package/bundle/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/bundle/components/ContentPage/ContentPage.d.ts +2 -1
- package/bundle/components/ErrorBlock/ErrorBlock.d.ts +1 -1
- package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/bundle/components/Footer/Contacts.d.ts +1 -1
- package/bundle/components/Footer/Footer.d.ts +1 -1
- package/bundle/components/Footer/Footer.mobile.d.ts +1 -1
- package/bundle/components/Footer/FooterLink.d.ts +1 -1
- package/bundle/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/bundle/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
- package/bundle/components/Footer/Sitemap.d.ts +2 -2
- package/bundle/components/Footer/SocialMedia.d.ts +1 -1
- package/bundle/components/Footer/SocialMedia.mobile.d.ts +1 -1
- package/bundle/components/Gallery/GalleryInner.d.ts +1 -1
- package/bundle/components/Gallery/GalleryProps.d.ts +1 -1
- package/bundle/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -3
- package/bundle/components/Header/DropdownMenu.d.ts +1 -1
- package/bundle/components/Header/Header.d.ts +1 -1
- package/bundle/components/Header/Header.mobile.d.ts +1 -1
- package/bundle/components/Headline/Headline.d.ts +1 -1
- package/bundle/components/Headline/Headline.mobile.d.ts +1 -1
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
- package/bundle/components/LikeControl/LikeControl.d.ts +1 -1
- package/bundle/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/bundle/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
- package/bundle/components/LinkList/LinkList.d.ts +1 -1
- package/bundle/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/bundle/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
- package/bundle/components/OfficeMap/OfficeMap.d.ts +2 -0
- package/bundle/components/OfficeMap/OfficeMapContent.d.ts +34 -0
- package/bundle/components/OfficeMap/YandexMap.d.ts +5 -0
- package/bundle/components/OfficeMap/mockOfficeMap.d.ts +57 -0
- package/bundle/components/OfficeMap/renderFunctions.d.ts +5 -0
- package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
- package/bundle/components/OtherProducts/OtherProducts.d.ts +2 -2
- package/bundle/components/OtherProducts/OtherProductsContent.d.ts +2 -19
- package/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
- package/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
- package/bundle/components/PictureText/PictureText.d.ts +1 -1
- package/bundle/components/Placeholder/Placeholder.d.ts +1 -1
- package/bundle/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/bundle/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
- package/bundle/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
- package/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
- package/bundle/components/ProductTile/ProductTile.d.ts +1 -1
- package/bundle/components/PromoTile/PromoTile.d.ts +1 -1
- package/bundle/components/Recommendation/Recommendation.d.ts +1 -1
- package/bundle/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/bundle/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
- package/bundle/components/Tabs/Tabs.d.ts +1 -1
- package/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/bundle/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
- package/bundle/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +14 -0
- package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
- package/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
- package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
- package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
- package/bundle/components/TextBlock/TextBlock.d.ts +1 -1
- package/bundle/components/TextBlock/TextBlock.mobile.d.ts +1 -1
- package/bundle/components/Tile/Tile.d.ts +1 -1
- package/bundle/hooks/useOfficeMap.d.ts +3 -0
- package/bundle/icons/IconName.d.ts +4 -2
- package/bundle/index.d.ts +1 -0
- package/bundle/model/BlocksRegistry.d.ts +1 -7
- package/bundle/model/ContentPageDef.d.ts +0 -8
- package/bundle/model/JSXBlock.d.ts +17 -0
- package/bundle/model/getParentBlockContent.d.ts +2 -0
- package/bundle/model/getParentBlockDef.d.ts +3 -0
- package/bundle/ui-kit/BlockWrapper.d.ts +1 -1
- package/bundle/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/bundle/ui-kit/Img/getIconVersion.d.ts +2 -1
- package/bundle/ui-kit/InnerTable/InnerTable.d.ts +1 -1
- package/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
- package/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
- package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
- package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
- package/bundle/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
- package/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
- package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
- package/cosmos-static/icons/MetroIcon.svg +1 -0
- package/dist/components/Accordion/Accordion.d.ts +2 -2
- package/dist/components/Accordion/Accordion.js +2 -5
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.d.ts +2 -2
- package/dist/components/Accordion/Accordion.mobile.js +2 -5
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +0 -26
- package/dist/components/AccordionItem/AccordionItem.d.ts +3 -0
- package/dist/components/AccordionItem/AccordionItem.js +12 -0
- package/dist/components/AccordionItem/AccordionItem.js.map +1 -0
- package/dist/components/AccordionItem/AccordionItem.mobile.d.ts +3 -0
- package/dist/components/AccordionItem/AccordionItem.mobile.js +16 -0
- package/dist/components/AccordionItem/AccordionItem.mobile.js.map +1 -0
- package/dist/components/AccordionItem/AccordionItemContent.d.ts +14 -0
- package/dist/components/AccordionItem/AccordionItemContent.js +2 -0
- package/dist/components/AccordionItem/AccordionItemContent.js.map +1 -0
- package/dist/components/AccordionItem/AccordionItemProps.d.ts +4 -0
- package/dist/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
- package/dist/components/AccordionItem/AccordionItemProps.js.map +1 -0
- package/dist/components/BaseTile/BaseTile.d.ts +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/dist/components/Blocks.d.ts +6 -3
- package/dist/components/Blocks.js +7 -1
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.d.ts +2 -1
- package/dist/components/Blocks.mobile.js +2 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/Bonus.d.ts +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
- package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/Calculator.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/CreditCalculatorForm.js +2 -1
- package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/dist/components/Calculator/DepositCalculatorForm.js +2 -1
- package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/dist/components/Calculator/renderButtonSection.d.ts +3 -1
- package/dist/components/Calculator/renderButtonSection.js.map +1 -1
- package/dist/components/Calculator/renderFootnote.d.ts +1 -1
- package/dist/components/Calculator/renderFootnote.js.map +1 -1
- package/dist/components/Calculator/renderInitialFeeInput.d.ts +1 -1
- package/dist/components/Calculator/renderInitialFeeInput.js +1 -1
- package/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/dist/components/Calculator/renderMonthsInput.d.ts +1 -1
- package/dist/components/Calculator/renderMonthsInput.js.map +1 -1
- package/dist/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
- package/dist/components/Calculator/renderPaymentTypeSelector.js +2 -2
- package/dist/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
- package/dist/components/Calculator/renderRealEstateValue.d.ts +1 -1
- package/dist/components/Calculator/renderRealEstateValue.js +1 -1
- package/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/dist/components/Calculator/renderWantedSumInput.d.ts +1 -1
- package/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +3 -3
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Catalog/Catalog.d.ts +1 -1
- package/dist/components/Catalog/CatalogCard.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
- package/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/dist/components/ContentPage/ContentPage.d.ts +2 -1
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/renderBlock.js +7 -6
- package/dist/components/ContentPage/renderBlock.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
- package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +1 -1
- package/dist/components/Footer/Footer.d.ts +1 -1
- package/dist/components/Footer/Footer.mobile.d.ts +1 -1
- package/dist/components/Footer/Footer.mobile.js +1 -1
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterLink.d.ts +1 -1
- package/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
- package/dist/components/Footer/Sitemap.d.ts +2 -2
- package/dist/components/Footer/Sitemap.js +3 -3
- package/dist/components/Footer/Sitemap.js.map +1 -1
- package/dist/components/Footer/SocialMedia.d.ts +1 -1
- package/dist/components/Footer/SocialMedia.mobile.d.ts +1 -1
- package/dist/components/Gallery/Gallery.mobile.js +1 -1
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/dist/components/Gallery/GalleryProps.d.ts +1 -1
- package/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +4 -3
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -3
- package/dist/components/Header/DropdownMenu.d.ts +1 -1
- package/dist/components/Header/DropdownMenu.js.map +1 -1
- package/dist/components/Header/Header.d.ts +1 -1
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.d.ts +1 -1
- package/dist/components/Header/Header.mobile.js +1 -1
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Headline/Headline.d.ts +1 -1
- package/dist/components/Headline/Headline.mobile.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
- package/dist/components/LikeControl/LikeControl.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
- package/dist/components/LinkList/LinkList.d.ts +1 -1
- package/dist/components/LinkList/LinkList.js.map +1 -1
- package/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
- package/dist/components/OfficeMap/OfficeMap.d.ts +2 -0
- package/dist/components/OfficeMap/OfficeMap.js +45 -0
- package/dist/components/OfficeMap/OfficeMap.js.map +1 -0
- package/dist/components/OfficeMap/OfficeMapContent.d.ts +34 -0
- package/dist/components/OfficeMap/OfficeMapContent.js +2 -0
- package/dist/components/OfficeMap/OfficeMapContent.js.map +1 -0
- package/dist/components/OfficeMap/YandexMap.d.ts +5 -0
- package/dist/components/OfficeMap/YandexMap.js +30 -0
- package/dist/components/OfficeMap/YandexMap.js.map +1 -0
- package/dist/components/OfficeMap/mockOfficeMap.d.ts +57 -0
- package/dist/components/OfficeMap/mockOfficeMap.js +82 -0
- package/dist/components/OfficeMap/mockOfficeMap.js.map +1 -0
- package/dist/components/OfficeMap/renderFunctions.d.ts +5 -0
- package/dist/components/OfficeMap/renderFunctions.js +19 -0
- package/dist/components/OfficeMap/renderFunctions.js.map +1 -0
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/dist/components/OtherProducts/OtherProducts.d.ts +2 -2
- package/dist/components/OtherProducts/OtherProducts.js +2 -4
- package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -19
- package/dist/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
- package/dist/components/OtherProductsItem/OtherProductsItem.js +15 -0
- package/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -0
- package/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
- package/dist/components/OtherProductsItem/OtherProductsItemContent.js +2 -0
- package/dist/components/OtherProductsItem/OtherProductsItemContent.js.map +1 -0
- package/dist/components/PictureText/PictureText.d.ts +1 -1
- package/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +4 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +1 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
- package/dist/components/ProductTile/ProductTile.d.ts +1 -1
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/PromoTile/PromoTile.d.ts +1 -1
- package/dist/components/Recommendation/Recommendation.d.ts +1 -1
- package/dist/components/Recommendation/Recommendation.js +2 -2
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +1 -1
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/Tabs/Tabs.d.ts +1 -1
- package/dist/components/Tabs/renderGroupTab.js +4 -4
- package/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +14 -0
- package/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
- package/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
- package/dist/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
- package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
- package/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
- package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/dist/components/TextBlock/TextBlock.d.ts +1 -1
- package/dist/components/TextBlock/TextBlock.mobile.d.ts +1 -1
- package/dist/components/Tile/Tile.d.ts +1 -1
- package/dist/components/Tile/Tile.js +2 -2
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/hooks/useOfficeMap.d.ts +3 -0
- package/dist/hooks/useOfficeMap.js +19 -0
- package/dist/hooks/useOfficeMap.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/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/model/BlocksRegistry.d.ts +1 -7
- package/dist/model/ContentPageDef.d.ts +0 -8
- package/dist/model/JSXBlock.d.ts +17 -0
- package/dist/{ui-kit/BlocksList/BlocksListProps.js → model/JSXBlock.js} +1 -1
- package/dist/model/JSXBlock.js.map +1 -0
- package/dist/model/getParentBlockContent.d.ts +2 -0
- package/dist/model/getParentBlockContent.js +9 -0
- package/dist/model/getParentBlockContent.js.map +1 -0
- package/dist/model/getParentBlockDef.d.ts +3 -0
- package/dist/model/getParentBlockDef.js +8 -0
- package/dist/model/getParentBlockDef.js.map +1 -0
- package/dist/ui-kit/BenefitItem/BenefitItem.js +2 -2
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.d.ts +1 -1
- package/dist/ui-kit/BlockWrapper.js +3 -1
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/dist/ui-kit/Foldable/FoldableSection.js +1 -1
- package/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/dist/ui-kit/Img/getIconVersion.d.ts +2 -1
- package/dist/ui-kit/Img/getIconVersion.js +1 -1
- package/dist/ui-kit/Img/getIconVersion.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/Logo/Logo.js.map +1 -1
- package/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
- package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
- package/dist/ui-kit/Select/Select.js +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
- package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.d.ts +2 -2
- package/lib/components/Accordion/Accordion.fixture.d.ts +1 -0
- package/lib/components/Accordion/Accordion.fixture.mobile.d.ts +1 -0
- package/lib/components/Accordion/Accordion.js +2 -5
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.d.ts +2 -2
- package/lib/components/Accordion/Accordion.mobile.js +2 -5
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +0 -26
- package/lib/components/AccordionItem/AccordionItem.d.ts +3 -0
- package/lib/components/AccordionItem/AccordionItem.fixture.d.ts +5 -0
- package/lib/components/AccordionItem/AccordionItem.fixture.mobile.d.ts +5 -0
- package/lib/components/AccordionItem/AccordionItem.js +10 -0
- package/lib/components/AccordionItem/AccordionItem.js.map +1 -0
- package/lib/components/AccordionItem/AccordionItem.mobile.d.ts +3 -0
- package/lib/components/AccordionItem/AccordionItem.mobile.js +14 -0
- package/lib/components/AccordionItem/AccordionItem.mobile.js.map +1 -0
- package/lib/components/AccordionItem/AccordionItemContent.d.ts +14 -0
- package/lib/components/AccordionItem/AccordionItemContent.js +2 -0
- package/lib/components/AccordionItem/AccordionItemContent.js.map +1 -0
- package/lib/components/AccordionItem/AccordionItemProps.d.ts +4 -0
- package/lib/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
- package/lib/components/AccordionItem/AccordionItemProps.js.map +1 -0
- package/lib/components/BaseTile/BaseTile.d.ts +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/lib/components/Blocks.d.ts +6 -3
- package/lib/components/Blocks.js +7 -1
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.d.ts +2 -1
- package/lib/components/Blocks.mobile.js +2 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/Bonus.d.ts +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.d.ts +1 -0
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
- package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/Calculator.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/CreditCalculatorForm.js +2 -1
- package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/lib/components/Calculator/DepositCalculatorForm.js +2 -1
- package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/lib/components/Calculator/renderButtonSection.d.ts +3 -1
- package/lib/components/Calculator/renderButtonSection.js.map +1 -1
- package/lib/components/Calculator/renderFootnote.d.ts +1 -1
- package/lib/components/Calculator/renderFootnote.js.map +1 -1
- package/lib/components/Calculator/renderInitialFeeInput.d.ts +1 -1
- package/lib/components/Calculator/renderInitialFeeInput.js +1 -1
- package/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/lib/components/Calculator/renderMonthsInput.d.ts +1 -1
- package/lib/components/Calculator/renderMonthsInput.js.map +1 -1
- package/lib/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
- package/lib/components/Calculator/renderPaymentTypeSelector.js +2 -2
- package/lib/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
- package/lib/components/Calculator/renderRealEstateValue.d.ts +1 -1
- package/lib/components/Calculator/renderRealEstateValue.js +1 -1
- package/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/lib/components/Calculator/renderWantedSumInput.d.ts +1 -1
- package/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +3 -3
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Catalog/Catalog.d.ts +1 -1
- package/lib/components/Catalog/CatalogCard.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.d.ts +1 -1
- package/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/lib/components/ContentPage/ContentPage.d.ts +2 -1
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/renderBlock.js +7 -6
- package/lib/components/ContentPage/renderBlock.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
- package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +1 -1
- package/lib/components/Footer/Footer.d.ts +1 -1
- package/lib/components/Footer/Footer.mobile.d.ts +1 -1
- package/lib/components/Footer/Footer.mobile.js +1 -1
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterLink.d.ts +1 -1
- package/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.d.ts +1 -1
- package/lib/components/Footer/Sitemap.d.ts +2 -2
- package/lib/components/Footer/Sitemap.js +3 -3
- package/lib/components/Footer/Sitemap.js.map +1 -1
- package/lib/components/Footer/SocialMedia.d.ts +1 -1
- package/lib/components/Footer/SocialMedia.mobile.d.ts +1 -1
- package/lib/components/Gallery/Gallery.mobile.js +1 -1
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/lib/components/Gallery/GalleryProps.d.ts +1 -1
- package/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/lib/components/GracePeriod/GracePeriod.js +4 -3
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -3
- package/lib/components/Header/DropdownMenu.d.ts +1 -1
- package/lib/components/Header/DropdownMenu.js.map +1 -1
- package/lib/components/Header/Header.d.ts +1 -1
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.d.ts +1 -1
- package/lib/components/Header/Header.mobile.js +1 -1
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Headline/Headline.d.ts +1 -1
- package/lib/components/Headline/Headline.mobile.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
- package/lib/components/LikeControl/LikeControl.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +1 -1
- package/lib/components/LinkList/LinkList.d.ts +1 -1
- package/lib/components/LinkList/LinkList.js.map +1 -1
- package/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
- package/lib/components/OfficeMap/OfficeMap.d.ts +2 -0
- package/lib/components/OfficeMap/OfficeMap.fixture.d.ts +5 -0
- package/lib/components/OfficeMap/OfficeMap.js +43 -0
- package/lib/components/OfficeMap/OfficeMap.js.map +1 -0
- package/lib/components/OfficeMap/OfficeMapContent.d.ts +34 -0
- package/lib/components/OfficeMap/OfficeMapContent.js +2 -0
- package/lib/components/OfficeMap/OfficeMapContent.js.map +1 -0
- package/lib/components/OfficeMap/YandexMap.d.ts +5 -0
- package/lib/components/OfficeMap/YandexMap.js +28 -0
- package/lib/components/OfficeMap/YandexMap.js.map +1 -0
- package/lib/components/OfficeMap/mockOfficeMap.d.ts +57 -0
- package/lib/components/OfficeMap/mockOfficeMap.js +80 -0
- package/lib/components/OfficeMap/mockOfficeMap.js.map +1 -0
- package/lib/components/OfficeMap/renderFunctions.d.ts +5 -0
- package/lib/components/OfficeMap/renderFunctions.js +14 -0
- package/lib/components/OfficeMap/renderFunctions.js.map +1 -0
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/lib/components/OtherProducts/OtherProducts.d.ts +2 -2
- package/lib/components/OtherProducts/OtherProducts.fixture.d.ts +1 -0
- package/lib/components/OtherProducts/OtherProducts.js +2 -4
- package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -19
- package/lib/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
- package/lib/components/OtherProductsItem/OtherProductsItem.fixture.d.ts +5 -0
- package/lib/components/OtherProductsItem/OtherProductsItem.js +13 -0
- package/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -0
- package/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
- package/lib/components/OtherProductsItem/OtherProductsItemContent.js +2 -0
- package/lib/components/OtherProductsItem/OtherProductsItemContent.js.map +1 -0
- package/lib/components/PictureText/PictureText.d.ts +1 -1
- package/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +4 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +1 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
- package/lib/components/ProductTile/ProductTile.d.ts +1 -1
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/PromoTile/PromoTile.d.ts +1 -1
- package/lib/components/Recommendation/Recommendation.d.ts +1 -1
- package/lib/components/Recommendation/Recommendation.js +2 -2
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +1 -1
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/Tabs/Tabs.d.ts +1 -1
- package/lib/components/Tabs/renderGroupTab.js +4 -4
- package/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +14 -0
- package/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
- package/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
- package/lib/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
- package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
- package/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
- package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/lib/components/TextBlock/TextBlock.d.ts +1 -1
- package/lib/components/TextBlock/TextBlock.mobile.d.ts +1 -1
- package/lib/components/Tile/Tile.d.ts +1 -1
- package/lib/components/Tile/Tile.js +2 -2
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/hooks/useOfficeMap.d.ts +3 -0
- package/lib/hooks/useOfficeMap.js +16 -0
- package/lib/hooks/useOfficeMap.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/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/model/BlocksRegistry.d.ts +1 -7
- package/lib/model/ContentPageDef.d.ts +0 -8
- package/lib/model/JSXBlock.d.ts +17 -0
- package/lib/model/JSXBlock.js +2 -0
- package/lib/model/JSXBlock.js.map +1 -0
- package/lib/model/getParentBlockContent.d.ts +2 -0
- package/lib/model/getParentBlockContent.js +6 -0
- package/lib/model/getParentBlockContent.js.map +1 -0
- package/lib/model/getParentBlockDef.d.ts +3 -0
- package/lib/model/getParentBlockDef.js +5 -0
- package/lib/model/getParentBlockDef.js.map +1 -0
- package/lib/ui-kit/BenefitItem/BenefitItem.js +2 -2
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.d.ts +1 -1
- package/lib/ui-kit/BlockWrapper.js +3 -1
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/lib/ui-kit/Foldable/FoldableSection.js +1 -1
- package/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/lib/ui-kit/Img/getIconVersion.d.ts +2 -1
- package/lib/ui-kit/Img/getIconVersion.js +1 -1
- package/lib/ui-kit/Img/getIconVersion.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/Logo/Logo.js.map +1 -1
- package/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
- package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +1 -1
- package/lib/ui-kit/Select/Select.js +2 -2
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
- package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +539 -547
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Accordion/Accordion.d.ts +2 -2
- package/mobile/bundle/components/Accordion/AccordionContent.d.ts +0 -26
- package/mobile/bundle/components/AccordionItem/AccordionItem.d.ts +3 -0
- package/mobile/bundle/components/AccordionItem/AccordionItemContent.d.ts +14 -0
- package/mobile/bundle/components/AccordionItem/AccordionItemProps.d.ts +4 -0
- package/mobile/bundle/components/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/bundle/components/Blocks.d.ts +2 -1
- package/mobile/bundle/components/Bonus/Bonus.d.ts +1 -1
- package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
- package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/bundle/components/Calculator/Calculator.d.ts +1 -1
- package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +3 -1
- package/mobile/bundle/components/Calculator/renderFootnote.d.ts +1 -1
- package/mobile/bundle/components/Calculator/renderInitialFeeInput.d.ts +1 -1
- package/mobile/bundle/components/Calculator/renderMonthsInput.d.ts +1 -1
- package/mobile/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
- package/mobile/bundle/components/Calculator/renderRealEstateValue.d.ts +1 -1
- package/mobile/bundle/components/Calculator/renderWantedSumInput.d.ts +1 -1
- package/mobile/bundle/components/CardTransfer/CardTransfer.d.ts +1 -1
- package/mobile/bundle/components/Catalog/Catalog.d.ts +1 -1
- package/mobile/bundle/components/Catalog/CatalogCard.d.ts +1 -1
- package/mobile/bundle/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/mobile/bundle/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/mobile/bundle/components/ContentPage/ContentPage.d.ts +2 -1
- package/mobile/bundle/components/ErrorBlock/ErrorBlock.d.ts +1 -1
- package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/mobile/bundle/components/Footer/Contacts.d.ts +1 -1
- package/mobile/bundle/components/Footer/Footer.d.ts +1 -1
- package/mobile/bundle/components/Footer/FooterLink.d.ts +1 -1
- package/mobile/bundle/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/mobile/bundle/components/Footer/Sitemap.d.ts +2 -2
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +1 -1
- package/mobile/bundle/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/bundle/components/Gallery/GalleryProps.d.ts +1 -1
- package/mobile/bundle/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +3 -3
- package/mobile/bundle/components/Header/DropdownMenu.d.ts +1 -1
- package/mobile/bundle/components/Header/Header.d.ts +1 -1
- package/mobile/bundle/components/Headline/Headline.d.ts +1 -1
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
- package/mobile/bundle/components/LikeControl/LikeControl.d.ts +1 -1
- package/mobile/bundle/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/mobile/bundle/components/LinkList/LinkList.d.ts +1 -1
- package/mobile/bundle/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/mobile/bundle/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/bundle/components/OfficeMap/OfficeMap.d.ts +2 -0
- package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +34 -0
- package/mobile/bundle/components/OfficeMap/YandexMap.d.ts +5 -0
- package/mobile/bundle/components/OfficeMap/mockOfficeMap.d.ts +57 -0
- package/mobile/bundle/components/OfficeMap/renderFunctions.d.ts +5 -0
- package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
- package/mobile/bundle/components/OtherProducts/OtherProducts.d.ts +2 -2
- package/mobile/bundle/components/OtherProducts/OtherProductsContent.d.ts +2 -19
- package/mobile/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
- package/mobile/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
- package/mobile/bundle/components/PictureText/PictureText.d.ts +1 -1
- package/mobile/bundle/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/mobile/bundle/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/mobile/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
- package/mobile/bundle/components/ProductTile/ProductTile.d.ts +1 -1
- package/mobile/bundle/components/PromoTile/PromoTile.d.ts +1 -1
- package/mobile/bundle/components/Recommendation/Recommendation.d.ts +1 -1
- package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/mobile/bundle/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/mobile/bundle/components/Tabs/Tabs.d.ts +1 -1
- package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +14 -0
- package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
- package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
- package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
- package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
- package/mobile/bundle/components/TextBlock/TextBlock.d.ts +1 -1
- package/mobile/bundle/components/Tile/Tile.d.ts +1 -1
- package/mobile/bundle/hooks/useOfficeMap.d.ts +3 -0
- package/mobile/bundle/icons/IconName.d.ts +4 -2
- package/mobile/bundle/index.d.ts +1 -0
- package/mobile/bundle/model/BlocksRegistry.d.ts +1 -7
- package/mobile/bundle/model/ContentPageDef.d.ts +0 -8
- package/mobile/bundle/model/JSXBlock.d.ts +17 -0
- package/mobile/bundle/model/getParentBlockContent.d.ts +2 -0
- package/mobile/bundle/model/getParentBlockDef.d.ts +3 -0
- package/mobile/bundle/ui-kit/BlockWrapper.d.ts +1 -1
- package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +2 -1
- package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +1 -1
- package/mobile/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
- package/mobile/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
- package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
- package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
- package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
- package/mobile/dist/components/Accordion/Accordion.d.ts +2 -2
- package/mobile/dist/components/Accordion/Accordion.js +2 -5
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +0 -26
- package/mobile/dist/components/AccordionItem/AccordionItem.d.ts +3 -0
- package/mobile/dist/components/AccordionItem/AccordionItem.js +16 -0
- package/mobile/dist/components/AccordionItem/AccordionItem.js.map +1 -0
- package/mobile/dist/components/AccordionItem/AccordionItemContent.d.ts +14 -0
- package/mobile/dist/components/AccordionItem/AccordionItemContent.js +2 -0
- package/mobile/dist/components/AccordionItem/AccordionItemContent.js.map +1 -0
- package/mobile/dist/components/AccordionItem/AccordionItemProps.d.ts +4 -0
- package/mobile/dist/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
- package/mobile/dist/components/AccordionItem/AccordionItemProps.js.map +1 -0
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/dist/components/Blocks.d.ts +2 -1
- package/mobile/dist/components/Blocks.js +2 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.d.ts +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
- package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/Calculator.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -1
- package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -1
- package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/dist/components/Calculator/renderButtonSection.d.ts +3 -1
- package/mobile/dist/components/Calculator/renderButtonSection.js.map +1 -1
- package/mobile/dist/components/Calculator/renderFootnote.d.ts +1 -1
- package/mobile/dist/components/Calculator/renderFootnote.js.map +1 -1
- package/mobile/dist/components/Calculator/renderInitialFeeInput.d.ts +1 -1
- package/mobile/dist/components/Calculator/renderInitialFeeInput.js +1 -1
- package/mobile/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/mobile/dist/components/Calculator/renderMonthsInput.d.ts +1 -1
- package/mobile/dist/components/Calculator/renderMonthsInput.js.map +1 -1
- package/mobile/dist/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
- package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js +2 -2
- package/mobile/dist/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
- package/mobile/dist/components/Calculator/renderRealEstateValue.d.ts +1 -1
- package/mobile/dist/components/Calculator/renderRealEstateValue.js +1 -1
- package/mobile/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/mobile/dist/components/Calculator/renderWantedSumInput.d.ts +1 -1
- package/mobile/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.d.ts +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +3 -3
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.d.ts +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.d.ts +2 -1
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/ContentPage/renderBlock.js +7 -6
- package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
- package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +1 -1
- package/mobile/dist/components/Footer/Footer.d.ts +1 -1
- package/mobile/dist/components/Footer/Footer.js +1 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterLink.d.ts +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/mobile/dist/components/Footer/Sitemap.d.ts +2 -2
- package/mobile/dist/components/Footer/Sitemap.js +3 -3
- package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.d.ts +1 -1
- package/mobile/dist/components/Gallery/Gallery.js +1 -1
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryProps.d.ts +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +4 -3
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriodContent.d.ts +3 -3
- package/mobile/dist/components/Header/DropdownMenu.d.ts +1 -1
- package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/dist/components/Header/Header.d.ts +1 -1
- package/mobile/dist/components/Header/Header.js +1 -1
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Headline/Headline.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
- package/mobile/dist/components/LikeControl/LikeControl.d.ts +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/mobile/dist/components/LinkList/LinkList.d.ts +1 -1
- package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
- package/mobile/dist/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/dist/components/OfficeMap/OfficeMap.d.ts +2 -0
- package/mobile/dist/components/OfficeMap/OfficeMap.js +45 -0
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -0
- package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +34 -0
- package/mobile/dist/components/OfficeMap/OfficeMapContent.js +2 -0
- package/mobile/dist/components/OfficeMap/OfficeMapContent.js.map +1 -0
- package/mobile/dist/components/OfficeMap/YandexMap.d.ts +5 -0
- package/mobile/dist/components/OfficeMap/YandexMap.js +30 -0
- package/mobile/dist/components/OfficeMap/YandexMap.js.map +1 -0
- package/mobile/dist/components/OfficeMap/mockOfficeMap.d.ts +57 -0
- package/mobile/dist/components/OfficeMap/mockOfficeMap.js +82 -0
- package/mobile/dist/components/OfficeMap/mockOfficeMap.js.map +1 -0
- package/mobile/dist/components/OfficeMap/renderFunctions.d.ts +5 -0
- package/mobile/dist/components/OfficeMap/renderFunctions.js +19 -0
- package/mobile/dist/components/OfficeMap/renderFunctions.js.map +1 -0
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.d.ts +2 -2
- package/mobile/dist/components/OtherProducts/OtherProducts.js +2 -4
- package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +2 -19
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +15 -0
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -0
- package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
- package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.js +2 -0
- package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.js.map +1 -0
- package/mobile/dist/components/PictureText/PictureText.d.ts +1 -1
- package/mobile/dist/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
- package/mobile/dist/components/ProductTile/ProductTile.d.ts +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/PromoTile/PromoTile.d.ts +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.d.ts +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.js +2 -2
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/Tabs.d.ts +1 -1
- package/mobile/dist/components/Tabs/renderGroupTab.js +4 -4
- package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +14 -0
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/mobile/dist/components/TextBlock/TextBlock.d.ts +1 -1
- package/mobile/dist/components/Tile/Tile.d.ts +1 -1
- package/mobile/dist/components/Tile/Tile.js +2 -2
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/hooks/useOfficeMap.d.ts +3 -0
- package/mobile/dist/hooks/useOfficeMap.js +19 -0
- package/mobile/dist/hooks/useOfficeMap.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/index.d.ts +1 -0
- package/mobile/dist/index.js +2 -1
- package/mobile/dist/index.js.map +1 -1
- package/mobile/dist/model/BlocksRegistry.d.ts +1 -7
- package/mobile/dist/model/ContentPageDef.d.ts +0 -8
- package/mobile/dist/model/JSXBlock.d.ts +17 -0
- package/mobile/dist/{ui-kit/BlocksList/BlocksListProps.js → model/JSXBlock.js} +1 -1
- package/mobile/dist/model/JSXBlock.js.map +1 -0
- package/mobile/dist/model/getParentBlockContent.d.ts +2 -0
- package/mobile/dist/model/getParentBlockContent.js +9 -0
- package/mobile/dist/model/getParentBlockContent.js.map +1 -0
- package/mobile/dist/model/getParentBlockDef.d.ts +3 -0
- package/mobile/dist/model/getParentBlockDef.js +8 -0
- package/mobile/dist/model/getParentBlockDef.js.map +1 -0
- 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.d.ts +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +3 -1
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/dist/ui-kit/Foldable/FoldableSection.js +1 -1
- package/mobile/dist/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/mobile/dist/ui-kit/Img/getIconVersion.d.ts +2 -1
- package/mobile/dist/ui-kit/Img/getIconVersion.js +1 -1
- package/mobile/dist/ui-kit/Img/getIconVersion.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTable.d.ts +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/mobile/dist/ui-kit/Select/Select.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
- package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
- package/mobile/lib/components/Accordion/Accordion.d.ts +2 -2
- package/mobile/lib/components/Accordion/Accordion.js +2 -5
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +0 -26
- package/mobile/lib/components/AccordionItem/AccordionItem.d.ts +3 -0
- package/mobile/lib/components/AccordionItem/AccordionItem.js +14 -0
- package/mobile/lib/components/AccordionItem/AccordionItem.js.map +1 -0
- package/mobile/lib/components/AccordionItem/AccordionItemContent.d.ts +14 -0
- package/mobile/lib/components/AccordionItem/AccordionItemContent.js +2 -0
- package/mobile/lib/components/AccordionItem/AccordionItemContent.js.map +1 -0
- package/mobile/lib/components/AccordionItem/AccordionItemProps.d.ts +4 -0
- package/mobile/lib/components/{Accordion → AccordionItem}/AccordionItemProps.js +0 -0
- package/mobile/lib/components/AccordionItem/AccordionItemProps.js.map +1 -0
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +1 -1
- package/mobile/lib/components/Blocks.d.ts +2 -1
- package/mobile/lib/components/Blocks.js +2 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.d.ts +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +2 -2
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +10 -1
- package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/Calculator.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -1
- package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.d.ts +1 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -1
- package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
- package/mobile/lib/components/Calculator/renderButtonSection.d.ts +3 -1
- package/mobile/lib/components/Calculator/renderButtonSection.js.map +1 -1
- package/mobile/lib/components/Calculator/renderFootnote.d.ts +1 -1
- package/mobile/lib/components/Calculator/renderFootnote.js.map +1 -1
- package/mobile/lib/components/Calculator/renderInitialFeeInput.d.ts +1 -1
- package/mobile/lib/components/Calculator/renderInitialFeeInput.js +1 -1
- package/mobile/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/mobile/lib/components/Calculator/renderMonthsInput.d.ts +1 -1
- package/mobile/lib/components/Calculator/renderMonthsInput.js.map +1 -1
- package/mobile/lib/components/Calculator/renderPaymentTypeSelector.d.ts +10 -5
- package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js +2 -2
- package/mobile/lib/components/Calculator/renderPaymentTypeSelector.js.map +1 -1
- package/mobile/lib/components/Calculator/renderRealEstateValue.d.ts +1 -1
- package/mobile/lib/components/Calculator/renderRealEstateValue.js +1 -1
- package/mobile/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/mobile/lib/components/Calculator/renderWantedSumInput.d.ts +1 -1
- package/mobile/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.d.ts +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -3
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.d.ts +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.d.ts +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.d.ts +2 -1
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/ContentPage/renderBlock.js +7 -6
- package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +2 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.d.ts +1 -1
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -2
- package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +1 -1
- package/mobile/lib/components/Footer/Footer.d.ts +1 -1
- package/mobile/lib/components/Footer/Footer.js +1 -1
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterLink.d.ts +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.d.ts +1 -1
- package/mobile/lib/components/Footer/Sitemap.d.ts +2 -2
- package/mobile/lib/components/Footer/Sitemap.js +3 -3
- package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.d.ts +1 -1
- package/mobile/lib/components/Gallery/Gallery.js +1 -1
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryProps.d.ts +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.d.ts +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +4 -3
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriodContent.d.ts +3 -3
- package/mobile/lib/components/Header/DropdownMenu.d.ts +1 -1
- package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
- package/mobile/lib/components/Header/Header.d.ts +1 -1
- package/mobile/lib/components/Header/Header.js +1 -1
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Headline/Headline.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.d.ts +1 -1
- package/mobile/lib/components/LikeControl/LikeControl.d.ts +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.d.ts +1 -1
- package/mobile/lib/components/LinkList/LinkList.d.ts +1 -1
- package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
- package/mobile/lib/components/MiniGallery/MiniGallery.d.ts +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/lib/components/OfficeMap/OfficeMap.d.ts +2 -0
- package/mobile/lib/components/OfficeMap/OfficeMap.js +43 -0
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -0
- package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +34 -0
- package/mobile/lib/components/OfficeMap/OfficeMapContent.js +2 -0
- package/mobile/lib/components/OfficeMap/OfficeMapContent.js.map +1 -0
- package/mobile/lib/components/OfficeMap/YandexMap.d.ts +5 -0
- package/mobile/lib/components/OfficeMap/YandexMap.js +28 -0
- package/mobile/lib/components/OfficeMap/YandexMap.js.map +1 -0
- package/mobile/lib/components/OfficeMap/mockOfficeMap.d.ts +57 -0
- package/mobile/lib/components/OfficeMap/mockOfficeMap.js +80 -0
- package/mobile/lib/components/OfficeMap/mockOfficeMap.js.map +1 -0
- package/mobile/lib/components/OfficeMap/renderFunctions.d.ts +5 -0
- package/mobile/lib/components/OfficeMap/renderFunctions.js +14 -0
- package/mobile/lib/components/OfficeMap/renderFunctions.js.map +1 -0
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +1 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.d.ts +2 -2
- package/mobile/lib/components/OtherProducts/OtherProducts.js +2 -4
- package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +2 -19
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.d.ts +5 -0
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +13 -0
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -0
- package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +12 -0
- package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.js +2 -0
- package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.js.map +1 -0
- package/mobile/lib/components/PictureText/PictureText.d.ts +1 -1
- package/mobile/lib/components/Placeholder/Placeholder.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.d.ts +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +1 -1
- package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -3
- package/mobile/lib/components/ProductTile/ProductTile.d.ts +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/PromoTile/PromoTile.d.ts +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.d.ts +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.js +2 -2
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/Tabs.d.ts +1 -1
- package/mobile/lib/components/Tabs/renderGroupTab.js +4 -4
- package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +14 -0
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.d.ts +2 -6
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRowContainer.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.d.ts +2 -3
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
- package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.d.ts +2 -6
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/mobile/lib/components/TextBlock/TextBlock.d.ts +1 -1
- package/mobile/lib/components/Tile/Tile.d.ts +1 -1
- package/mobile/lib/components/Tile/Tile.js +2 -2
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/hooks/useOfficeMap.d.ts +3 -0
- package/mobile/lib/hooks/useOfficeMap.js +16 -0
- package/mobile/lib/hooks/useOfficeMap.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/index.d.ts +1 -0
- package/mobile/lib/index.js +1 -0
- package/mobile/lib/index.js.map +1 -1
- package/mobile/lib/model/BlocksRegistry.d.ts +1 -7
- package/mobile/lib/model/ContentPageDef.d.ts +0 -8
- package/mobile/lib/model/JSXBlock.d.ts +17 -0
- package/mobile/lib/model/JSXBlock.js +2 -0
- package/mobile/lib/model/JSXBlock.js.map +1 -0
- package/mobile/lib/model/getParentBlockContent.d.ts +2 -0
- package/mobile/lib/model/getParentBlockContent.js +6 -0
- package/mobile/lib/model/getParentBlockContent.js.map +1 -0
- package/mobile/lib/model/getParentBlockDef.d.ts +3 -0
- package/mobile/lib/model/getParentBlockDef.js +5 -0
- package/mobile/lib/model/getParentBlockDef.js.map +1 -0
- 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.d.ts +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +3 -1
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +1 -1
- package/mobile/lib/ui-kit/Foldable/FoldableSection.js +1 -1
- package/mobile/lib/ui-kit/Foldable/FoldableSection.js.map +1 -1
- package/mobile/lib/ui-kit/Img/getIconVersion.d.ts +2 -1
- package/mobile/lib/ui-kit/Img/getIconVersion.js +1 -1
- package/mobile/lib/ui-kit/Img/getIconVersion.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTable.d.ts +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.d.ts +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.d.ts +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.d.ts +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -1
- package/mobile/lib/ui-kit/Select/Select.js +2 -2
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +2 -1
- package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +1 -1
- package/mobile/src/components/Accordion/Accordion.example.json +1 -63
- package/mobile/src/components/Accordion/Accordion.tsx +15 -31
- package/mobile/src/components/Accordion/Accordion.ui.json +1 -79
- package/mobile/src/components/Accordion/AccordionContent.ts +2 -28
- package/mobile/src/components/AccordionItem/AccordionItem.example.json +7 -0
- package/mobile/src/components/AccordionItem/AccordionItem.tsx +73 -0
- package/mobile/src/components/AccordionItem/AccordionItem.ui.json +7 -0
- package/mobile/src/components/AccordionItem/AccordionItemContent.ts +15 -0
- package/mobile/src/components/AccordionItem/AccordionItemProps.ts +4 -0
- package/mobile/src/components/BaseTile/BaseTile.tsx +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Blocks.ts +2 -0
- package/mobile/src/components/Bonus/Bonus.tsx +1 -1
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +11 -5
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +5 -0
- package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +10 -1
- package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
- package/mobile/src/components/Calculator/Calculator.tsx +1 -1
- package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
- package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
- package/mobile/src/components/Calculator/renderButtonSection.tsx +3 -1
- package/mobile/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
- package/mobile/src/components/Calculator/renderFootnote.tsx +1 -1
- package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +5 -1
- package/mobile/src/components/Calculator/renderMonthsInput.tsx +6 -2
- package/mobile/src/components/Calculator/renderPaymentTypeSelector.tsx +11 -9
- package/mobile/src/components/Calculator/renderRealEstateValue.tsx +5 -1
- package/mobile/src/components/Calculator/renderWantedSumInput.tsx +5 -1
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +5 -5
- package/mobile/src/components/Catalog/Catalog.tsx +2 -2
- package/mobile/src/components/Catalog/Catalog.ui.json +11 -1
- package/mobile/src/components/Catalog/CatalogCard.tsx +1 -1
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +1 -1
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -1
- package/mobile/src/components/ContentPage/renderBlock.tsx +15 -9
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +1 -1
- package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +2 -3
- package/mobile/src/components/Footer/Contacts.tsx +1 -1
- package/mobile/src/components/Footer/Footer.tsx +2 -2
- package/mobile/src/components/Footer/FooterLink.ts +1 -1
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/mobile/src/components/Footer/Sitemap.tsx +13 -5
- package/mobile/src/components/Footer/SocialMedia.tsx +1 -1
- package/mobile/src/components/Gallery/Gallery.tsx +14 -10
- package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
- package/mobile/src/components/Gallery/GalleryProps.ts +1 -1
- package/mobile/src/components/GracePeriod/GracePeriod.example.json +7 -7
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +13 -9
- package/mobile/src/components/GracePeriod/GracePeriodContent.ts +3 -3
- package/mobile/src/components/Header/DropdownMenu.tsx +2 -2
- package/mobile/src/components/Header/Header.tsx +2 -2
- package/mobile/src/components/Headline/Headline.tsx +1 -1
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +9 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +6 -0
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/mobile/src/components/LikeControl/LikeControl.tsx +1 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/mobile/src/components/LinkList/LinkList.tsx +3 -2
- package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +80 -0
- package/mobile/src/components/OfficeMap/OfficeMapContent.ts +38 -0
- package/mobile/src/components/OfficeMap/YandexMap.tsx +41 -0
- package/mobile/src/components/OfficeMap/mockOfficeMap.ts +79 -0
- package/mobile/src/components/OfficeMap/renderFunctions.tsx +69 -0
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -2
- package/mobile/src/components/OtherProducts/OtherProducts.example.json +1 -54
- package/mobile/src/components/OtherProducts/OtherProducts.tsx +13 -25
- package/mobile/src/components/OtherProducts/OtherProducts.ui.json +1 -76
- package/mobile/src/components/OtherProducts/OtherProductsContent.ts +2 -20
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.example.json +4 -0
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +47 -0
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.ui.json +1 -0
- package/mobile/src/components/OtherProductsItem/OtherProductsItemContent.ts +13 -0
- package/mobile/src/components/PictureText/PictureText.tsx +1 -1
- package/mobile/src/components/PictureText/PictureText.ui.json +10 -1
- package/mobile/src/components/Placeholder/Placeholder.tsx +1 -1
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +1 -1
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +1 -1
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +3 -2
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +1 -1
- package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +1 -1
- package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/mobile/src/components/ProductTile/ProductTile.tsx +2 -2
- package/mobile/src/components/PromoTile/PromoTile.tsx +1 -1
- package/mobile/src/components/Recommendation/Recommendation.tsx +6 -6
- package/mobile/src/components/Recommendation/RecommendationCard.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
- package/mobile/src/components/Tabs/Tabs.tsx +1 -1
- package/mobile/src/components/Tabs/renderGroupTab.tsx +5 -4
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +9 -2
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +16 -0
- package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +4 -7
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +5 -6
- package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +4 -7
- package/mobile/src/components/TextBlock/TextBlock.tsx +1 -1
- package/mobile/src/components/Tile/Tile.tsx +3 -3
- package/mobile/src/hooks/useOfficeMap.ts +23 -0
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/icons/MetroIcon.svg +10 -0
- package/mobile/src/index.ts +1 -0
- package/mobile/src/model/BlocksRegistry.ts +1 -12
- package/mobile/src/model/ContentPageDef.ts +0 -9
- package/mobile/src/model/JSXBlock.ts +23 -0
- package/mobile/src/model/getParentBlockContent.ts +11 -0
- package/mobile/src/model/getParentBlockDef.ts +8 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
- package/mobile/src/ui-kit/BlockWrapper.tsx +6 -2
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/mobile/src/ui-kit/Foldable/FoldableSection.tsx +1 -1
- package/mobile/src/ui-kit/Img/getIconVersion.tsx +4 -2
- package/mobile/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +2 -2
- package/mobile/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -2
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
- package/mobile/src/ui-kit/Select/Select.tsx +11 -6
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +1 -1
- package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
- package/package.json +3 -2
- package/src/components/Accordion/Accordion.example.json +1 -63
- package/src/components/Accordion/Accordion.fixture.mobile.tsx +45 -41
- package/src/components/Accordion/Accordion.fixture.tsx +75 -110
- package/src/components/Accordion/Accordion.mobile.tsx +15 -31
- package/src/components/Accordion/Accordion.tsx +27 -42
- package/src/components/Accordion/Accordion.ui.json +1 -79
- package/src/components/Accordion/AccordionContent.ts +2 -28
- package/src/components/AccordionItem/AccordionItem.example.json +7 -0
- package/src/components/AccordionItem/AccordionItem.fixture.mobile.tsx +6 -0
- package/src/components/AccordionItem/AccordionItem.fixture.tsx +6 -0
- package/src/components/AccordionItem/AccordionItem.mobile.tsx +73 -0
- package/src/components/AccordionItem/AccordionItem.tsx +48 -0
- package/src/components/AccordionItem/AccordionItem.ui.json +7 -0
- package/src/components/AccordionItem/AccordionItemContent.ts +15 -0
- package/src/components/AccordionItem/AccordionItemProps.ts +4 -0
- package/src/components/BaseTile/BaseTile.tsx +1 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.mobile.ts +2 -0
- package/src/components/Blocks.ts +7 -1
- package/src/components/Bonus/Bonus.tsx +1 -1
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.fixture.tsx +49 -34
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +11 -5
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.ui.json +5 -0
- package/src/components/BonusBenefitsBlock/BonusBenefitsBlockContent.ts +10 -1
- package/src/components/Calculator/BonusCalculatorForm.tsx +1 -1
- package/src/components/Calculator/Calculator.tsx +1 -1
- package/src/components/Calculator/CreditCalculatorForm.tsx +3 -2
- package/src/components/Calculator/DepositCalculatorForm.tsx +3 -2
- package/src/components/Calculator/renderButtonSection.tsx +3 -1
- package/src/components/Calculator/renderCalculatorBlock.tsx +1 -1
- package/src/components/Calculator/renderFootnote.tsx +1 -1
- package/src/components/Calculator/renderInitialFeeInput.tsx +5 -1
- package/src/components/Calculator/renderMonthsInput.tsx +6 -2
- package/src/components/Calculator/renderPaymentTypeSelector.tsx +11 -9
- package/src/components/Calculator/renderRealEstateValue.tsx +5 -1
- package/src/components/Calculator/renderWantedSumInput.tsx +5 -1
- package/src/components/CardTransfer/CardTransfer.tsx +5 -5
- package/src/components/Catalog/Catalog.tsx +2 -2
- package/src/components/Catalog/Catalog.ui.json +11 -1
- package/src/components/Catalog/CatalogCard.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +1 -1
- package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
- package/src/components/ComparisonTable/TableColumn.tsx +1 -1
- package/src/components/ContentPage/ContentPage.tsx +2 -1
- package/src/components/ContentPage/renderBlock.tsx +15 -9
- package/src/components/ErrorBlock/ErrorBlock.tsx +1 -1
- package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +3 -3
- package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +2 -3
- package/src/components/Footer/Contacts.tsx +1 -1
- package/src/components/Footer/Footer.mobile.tsx +2 -2
- package/src/components/Footer/Footer.tsx +1 -1
- package/src/components/Footer/FooterLink.ts +1 -1
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +1 -1
- package/src/components/Footer/HorizontalNavigation.tsx +1 -1
- package/src/components/Footer/Sitemap.tsx +13 -5
- package/src/components/Footer/SocialMedia.mobile.tsx +1 -1
- package/src/components/Footer/SocialMedia.tsx +1 -1
- package/src/components/Gallery/Gallery.mobile.tsx +14 -10
- package/src/components/Gallery/GalleryInner.tsx +1 -1
- package/src/components/Gallery/GalleryProps.ts +1 -1
- package/src/components/GracePeriod/GracePeriod.example.json +7 -7
- package/src/components/GracePeriod/GracePeriod.fixture.tsx +5 -5
- package/src/components/GracePeriod/GracePeriod.tsx +13 -9
- package/src/components/GracePeriod/GracePeriodContent.ts +3 -3
- package/src/components/Header/DropdownMenu.tsx +2 -2
- package/src/components/Header/Header.mobile.tsx +2 -2
- package/src/components/Header/Header.tsx +2 -2
- package/src/components/Headline/Headline.mobile.tsx +1 -1
- package/src/components/Headline/Headline.tsx +1 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +9 -2
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.ui.json +6 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +1 -1
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
- package/src/components/LikeControl/LikeControl.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -1
- package/src/components/LinkDocs/LinkDocs.tsx +1 -1
- package/src/components/LinkList/LinkList.tsx +3 -2
- package/src/components/MiniGallery/MiniGallery.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/OfficeMap/OfficeMap.fixture.tsx +10 -0
- package/src/components/OfficeMap/OfficeMap.tsx +80 -0
- package/src/components/OfficeMap/OfficeMapContent.ts +38 -0
- package/src/components/OfficeMap/YandexMap.tsx +41 -0
- package/src/components/OfficeMap/mockOfficeMap.ts +79 -0
- package/src/components/OfficeMap/renderFunctions.tsx +69 -0
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -2
- package/src/components/OtherProducts/OtherProducts.example.json +1 -54
- package/src/components/OtherProducts/OtherProducts.fixture.tsx +77 -126
- package/src/components/OtherProducts/OtherProducts.tsx +13 -25
- package/src/components/OtherProducts/OtherProducts.ui.json +1 -76
- package/src/components/OtherProducts/OtherProductsContent.ts +2 -20
- package/src/components/OtherProductsItem/OtherProductsItem.example.json +4 -0
- package/src/components/OtherProductsItem/OtherProductsItem.fixture.tsx +5 -0
- package/src/components/OtherProductsItem/OtherProductsItem.tsx +47 -0
- package/src/components/OtherProductsItem/OtherProductsItem.ui.json +1 -0
- package/src/components/OtherProductsItem/OtherProductsItemContent.ts +13 -0
- package/src/components/PictureText/PictureText.tsx +1 -1
- package/src/components/PictureText/PictureText.ui.json +10 -1
- package/src/components/Placeholder/Placeholder.tsx +1 -1
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +1 -1
- package/src/components/ProductBlock/ProductBlock.tsx +1 -1
- package/src/components/ProductBlock/ProductBlockContent.ts +1 -1
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +3 -2
- package/src/components/ProductBlock/ProductBlockInner.tsx +12 -4
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +1 -1
- package/src/components/ProductGallery/ProductGallery.tsx +18 -5
- package/src/components/ProductGallery/ProductGalleryBlock.tsx +1 -1
- package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
- package/src/components/ProductTile/ProductTile.tsx +2 -2
- package/src/components/PromoTile/PromoTile.tsx +1 -1
- package/src/components/Recommendation/Recommendation.tsx +6 -6
- package/src/components/Recommendation/RecommendationCard.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
- package/src/components/StepsBlock/StepsBlock.tsx +2 -2
- package/src/components/Tabs/Tabs.tsx +1 -1
- package/src/components/Tabs/renderGroupTab.tsx +5 -4
- package/src/components/TariffsTable/TariffsTable.mobile.tsx +9 -2
- package/src/components/TariffsTable/TariffsTable.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableContent.ts +16 -0
- package/src/components/TariffsTable/TariffsTableHorizontal.tsx +4 -7
- package/src/components/TariffsTable/TariffsTableRow.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableRowContainer.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableTileCell.tsx +5 -6
- package/src/components/TariffsTable/TariffsTableVertical.tsx +4 -7
- package/src/components/TextBlock/TextBlock.mobile.tsx +1 -1
- package/src/components/TextBlock/TextBlock.tsx +1 -1
- package/src/components/Tile/Tile.tsx +3 -3
- package/src/hooks/useOfficeMap.ts +23 -0
- package/src/icons/IconName.ts +4 -1
- package/src/icons/MetroIcon.svg +10 -0
- package/src/index.ts +1 -0
- package/src/model/BlocksRegistry.ts +1 -12
- package/src/model/ContentPageDef.ts +0 -9
- package/src/model/JSXBlock.ts +23 -0
- package/src/model/getParentBlockContent.ts +11 -0
- package/src/model/getParentBlockDef.ts +8 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -3
- package/src/ui-kit/BlockWrapper.tsx +6 -2
- package/src/ui-kit/Button/ButtonSection.tsx +1 -1
- package/src/ui-kit/Foldable/FoldableSection.tsx +1 -1
- package/src/ui-kit/Img/getIconVersion.tsx +4 -2
- package/src/ui-kit/InnerTable/InnerTable.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
- package/src/ui-kit/InputRange/InputRange.tsx +2 -2
- package/src/ui-kit/Logo/Logo.tsx +2 -1
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.tsx +2 -2
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +1 -1
- package/src/ui-kit/SearchBar/SearchBar.tsx +1 -1
- package/src/ui-kit/Select/Select.tsx +11 -6
- package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +2 -2
- package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +1 -1
- package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +1 -1
- package/tailwind.config.cjs +3 -0
- package/bundle/components/Accordion/AccordionItem.d.ts +0 -2
- package/bundle/components/Accordion/AccordionItem.mobile.d.ts +0 -2
- package/bundle/components/Accordion/AccordionItemProps.d.ts +0 -5
- package/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
- package/bundle/components/OtherProducts/OtherProductsItem.d.ts +0 -6
- package/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
- package/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -12
- package/bundle/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +0 -8
- package/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
- package/dist/components/Accordion/AccordionItem.d.ts +0 -2
- package/dist/components/Accordion/AccordionItem.js +0 -11
- package/dist/components/Accordion/AccordionItem.js.map +0 -1
- package/dist/components/Accordion/AccordionItem.mobile.d.ts +0 -2
- package/dist/components/Accordion/AccordionItem.mobile.js +0 -16
- package/dist/components/Accordion/AccordionItem.mobile.js.map +0 -1
- package/dist/components/Accordion/AccordionItemProps.d.ts +0 -5
- package/dist/components/Accordion/AccordionItemProps.js.map +0 -1
- package/dist/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
- package/dist/components/BonusBenefitsBlock/getElementsColsValue.js +0 -17
- package/dist/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
- package/dist/components/OtherProducts/OtherProductsItem.d.ts +0 -6
- package/dist/components/OtherProducts/OtherProductsItem.js +0 -17
- package/dist/components/OtherProducts/OtherProductsItem.js.map +0 -1
- package/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
- package/dist/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -12
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.js +0 -25
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +0 -8
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +0 -17
- package/dist/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +0 -1
- package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
- package/dist/ui-kit/BlocksList/renderBlocksList.js +0 -20
- package/dist/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
- package/lib/components/Accordion/AccordionItem.d.ts +0 -2
- package/lib/components/Accordion/AccordionItem.js +0 -9
- package/lib/components/Accordion/AccordionItem.js.map +0 -1
- package/lib/components/Accordion/AccordionItem.mobile.d.ts +0 -2
- package/lib/components/Accordion/AccordionItem.mobile.js +0 -14
- package/lib/components/Accordion/AccordionItem.mobile.js.map +0 -1
- package/lib/components/Accordion/AccordionItemProps.d.ts +0 -5
- package/lib/components/Accordion/AccordionItemProps.js.map +0 -1
- package/lib/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
- package/lib/components/BonusBenefitsBlock/getElementsColsValue.js +0 -14
- package/lib/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
- package/lib/components/OtherProducts/OtherProductsItem.d.ts +0 -6
- package/lib/components/OtherProducts/OtherProductsItem.js +0 -15
- package/lib/components/OtherProducts/OtherProductsItem.js.map +0 -1
- package/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
- package/lib/ui-kit/BlocksList/BlocksListProps.js +0 -2
- package/lib/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -12
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.js +0 -23
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +0 -8
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js +0 -15
- package/lib/ui-kit/BlocksList/EmbeddableBlocks.mobile.js.map +0 -1
- package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +0 -8
- package/lib/ui-kit/BlocksList/renderBlocksList.js +0 -17
- package/lib/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
- package/mobile/bundle/components/Accordion/AccordionItem.d.ts +0 -2
- package/mobile/bundle/components/Accordion/AccordionItemProps.d.ts +0 -5
- package/mobile/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
- package/mobile/bundle/components/OtherProducts/OtherProductsItem.d.ts +0 -6
- package/mobile/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
- package/mobile/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -8
- package/mobile/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
- package/mobile/dist/components/Accordion/AccordionItem.d.ts +0 -2
- package/mobile/dist/components/Accordion/AccordionItem.js +0 -16
- package/mobile/dist/components/Accordion/AccordionItem.js.map +0 -1
- package/mobile/dist/components/Accordion/AccordionItemProps.d.ts +0 -5
- package/mobile/dist/components/Accordion/AccordionItemProps.js.map +0 -1
- package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
- package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.js +0 -17
- package/mobile/dist/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
- package/mobile/dist/components/OtherProducts/OtherProductsItem.d.ts +0 -6
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js +0 -17
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +0 -1
- package/mobile/dist/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
- package/mobile/dist/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
- package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -8
- package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js +0 -17
- package/mobile/dist/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +0 -20
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
- package/mobile/lib/components/Accordion/AccordionItem.d.ts +0 -2
- package/mobile/lib/components/Accordion/AccordionItem.js +0 -14
- package/mobile/lib/components/Accordion/AccordionItem.js.map +0 -1
- package/mobile/lib/components/Accordion/AccordionItemProps.d.ts +0 -5
- package/mobile/lib/components/Accordion/AccordionItemProps.js.map +0 -1
- package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.d.ts +0 -1
- package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.js +0 -14
- package/mobile/lib/components/BonusBenefitsBlock/getElementsColsValue.js.map +0 -1
- package/mobile/lib/components/OtherProducts/OtherProductsItem.d.ts +0 -6
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js +0 -15
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +0 -1
- package/mobile/lib/ui-kit/BlocksList/BlocksListProps.d.ts +0 -96
- package/mobile/lib/ui-kit/BlocksList/BlocksListProps.js +0 -2
- package/mobile/lib/ui-kit/BlocksList/BlocksListProps.js.map +0 -1
- package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.d.ts +0 -8
- package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js +0 -15
- package/mobile/lib/ui-kit/BlocksList/EmbeddableBlocks.js.map +0 -1
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +0 -9
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +0 -17
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +0 -1
- package/mobile/src/components/Accordion/AccordionItem.tsx +0 -72
- package/mobile/src/components/Accordion/AccordionItemProps.ts +0 -6
- package/mobile/src/components/BonusBenefitsBlock/getElementsColsValue.ts +0 -12
- package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +0 -52
- package/mobile/src/ui-kit/BlocksList/BlocksListProps.ts +0 -130
- package/mobile/src/ui-kit/BlocksList/EmbeddableBlocks.tsx +0 -15
- package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +0 -41
- package/src/components/Accordion/AccordionItem.mobile.tsx +0 -72
- package/src/components/Accordion/AccordionItem.tsx +0 -52
- package/src/components/Accordion/AccordionItemProps.ts +0 -6
- package/src/components/BonusBenefitsBlock/getElementsColsValue.ts +0 -12
- package/src/components/OtherProducts/OtherProductsItem.tsx +0 -52
- package/src/ui-kit/BlocksList/BlocksListProps.ts +0 -130
- package/src/ui-kit/BlocksList/EmbeddableBlocks.mobile.tsx +0 -15
- package/src/ui-kit/BlocksList/EmbeddableBlocks.tsx +0 -23
- package/src/ui-kit/BlocksList/renderBlocksList.tsx +0 -41
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
-
import type { UniBlockProps } from '../../model/
|
|
3
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
|
+
import type { Picture } from '../../model/Picture';
|
|
4
5
|
import { ButtonSection } from '../../ui-kit/Button/ButtonSection';
|
|
5
6
|
import { Img } from '../../ui-kit/Img/Img';
|
|
6
7
|
import { List } from '../../ui-kit/List/List';
|
|
@@ -65,7 +66,7 @@ export const ProductBlockInner = JSX<ProductBlockInnerProps>(
|
|
|
65
66
|
},
|
|
66
67
|
);
|
|
67
68
|
|
|
68
|
-
function renderImage(image) {
|
|
69
|
+
function renderImage(image?: Picture) {
|
|
69
70
|
return image?.src ? (
|
|
70
71
|
<Img imageClassName="mt-5 mx-auto block" image={{ className: 'block', ...image }} />
|
|
71
72
|
) : null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../model/
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl';
|
|
4
4
|
import { ProductGalleryBlock } from './ProductGalleryBlock';
|
|
5
5
|
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { VersionStyleMap } from '../../model/BlockVersion';
|
|
3
|
-
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
4
3
|
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
4
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
5
5
|
import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
|
|
6
6
|
import { ProductBlockInner } from '../ProductBlock/ProductBlockInner';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
|
|
2
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { ProductBlockInnerContent } from '../ProductBlock/ProductBlockContent';
|
|
3
3
|
|
|
4
4
|
/** @title Кнопка под слайдом */
|
|
5
|
-
interface ProductGalleryNav {
|
|
5
|
+
export interface ProductGalleryNav {
|
|
6
6
|
title: string;
|
|
7
7
|
/** @title Описание */
|
|
8
8
|
description: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
3
|
import { VersionStyleMap } from '../../model/BlockVersion';
|
|
4
|
-
import type { UniBlockProps } from '../../model/
|
|
4
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
5
5
|
import type { Picture } from '../../model/Picture';
|
|
6
6
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
7
7
|
import { ButtonSection } from '../../ui-kit/Button/ButtonSection';
|
|
@@ -80,7 +80,7 @@ function renderBenefit(version: BlockVersion = 'primary') {
|
|
|
80
80
|
secondary: 'text-white',
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
return function renderVersionedBenefit(benefit: TextBenefit, i) {
|
|
83
|
+
return function renderVersionedBenefit(benefit: TextBenefit, i: number) {
|
|
84
84
|
const { label = '', description = '' } = benefit;
|
|
85
85
|
|
|
86
86
|
return [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { VersionStyleMap } from '../../model/BlockVersion';
|
|
3
|
-
import type { UniBlockProps } from '../../model/
|
|
3
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
5
|
import { ButtonSection } from '../../ui-kit/Button/ButtonSection';
|
|
6
6
|
import { BaseTile } from '../BaseTile/BaseTile';
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import type {
|
|
3
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
4
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
6
|
import { renderArrows } from '../../ui-kit/Button/renderArrows';
|
|
6
7
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
8
|
+
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
7
9
|
import { RecommendationCard } from './RecommendationCard';
|
|
8
10
|
import type { RecommendationCardTypes, RecommendationContent } from './RecommendationContent';
|
|
9
11
|
|
|
@@ -35,9 +37,7 @@ export const Recommendation = JSX<RecommendationProps>(
|
|
|
35
37
|
role="list"
|
|
36
38
|
>
|
|
37
39
|
{recommendations?.length
|
|
38
|
-
? recommendations.map(
|
|
39
|
-
renderRecommendationCard({ context, version, className: cardClassName }),
|
|
40
|
-
)
|
|
40
|
+
? recommendations.map(renderRecommendationCard(context, cardClassName, version))
|
|
41
41
|
: null}
|
|
42
42
|
</div>
|
|
43
43
|
{renderNavButtons({
|
|
@@ -62,7 +62,7 @@ export const Recommendation = JSX<RecommendationProps>(
|
|
|
62
62
|
);
|
|
63
63
|
|
|
64
64
|
const renderRecommendationCard =
|
|
65
|
-
(
|
|
65
|
+
(context: ContentPageContext, className: string, version?: BlockVersion) =>
|
|
66
66
|
(card: RecommendationCardTypes, i: number) => {
|
|
67
67
|
return (
|
|
68
68
|
<RecommendationCard
|
|
@@ -82,7 +82,7 @@ const renderNavButtons = ({
|
|
|
82
82
|
}: {
|
|
83
83
|
cardsCount: number;
|
|
84
84
|
activeCardIndex: number;
|
|
85
|
-
setActiveCardIndex: (number) => void;
|
|
85
|
+
setActiveCardIndex: (index: number) => void;
|
|
86
86
|
}) => {
|
|
87
87
|
const handleNextClick = () => setActiveCardIndex(activeCardIndex + 1);
|
|
88
88
|
const handlePrevClick = () => setActiveCardIndex(activeCardIndex - 1);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
-
import type { UniBlockProps } from '../../model/
|
|
3
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
4
|
import { Description } from '../../ui-kit/Description/Description';
|
|
5
5
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
6
|
import { Img } from '../../ui-kit/Img/Img';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { useSafeBoxes } from '../../hooks/useSafeBoxes';
|
|
4
|
-
import { UniBlockProps } from '../../model/
|
|
4
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
5
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
6
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
7
7
|
import type { SafeDepositRentalContent } from './SafeDepositRentalContent';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
-
import
|
|
3
|
+
import { IconVersion } from '../../model/IconVersion';
|
|
4
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
5
|
import type { SizeVersion } from '../../model/SizeVersion';
|
|
5
6
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
7
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
8
|
import { checkIsIconRenderable } from '../../utils/checkIsIconRenderable';
|
|
8
9
|
import type { Step, StepsBlockContent } from './StepsBlockContent';
|
|
9
10
|
import { STEPS_BLOCK_STYLE_MAPS } from './StepsBlockStyleMaps';
|
|
10
|
-
import { IconVersion } from '../../model/IconVersion';
|
|
11
11
|
|
|
12
12
|
export interface StepsBlockProps extends StepsBlockContent, UniBlockProps {}
|
|
13
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { EventBus } from '../../EventBus/EventBus';
|
|
4
|
-
import type { UniBlockProps } from '../../model/
|
|
4
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
5
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
6
|
import { renderTab } from './renderTab';
|
|
7
7
|
import type { Tab, TabsContent } from './TabsContent';
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import type { GroupTab } from './TabsContent';
|
|
11
11
|
|
|
12
12
|
const BADGE_CLASSES =
|
|
13
|
-
'min-w-[22px]
|
|
13
|
+
'min-w-[22px] h-[22px] rounded-full text-xs ml-2 flex justify-center items-center';
|
|
14
14
|
const ACTIVE_BADGE_CLASSES = 'bg-white/30 text-white';
|
|
15
15
|
const INACTIVE_BADGE_CLASSES = 'bg-main-divider text-secondary-text group-hover:text-primary-main';
|
|
16
16
|
|
|
@@ -19,9 +19,10 @@ export const renderGroupTab =
|
|
|
19
19
|
(tab: GroupTab, i: number) => {
|
|
20
20
|
const active = currentTab === tab;
|
|
21
21
|
|
|
22
|
-
const count =
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
const count =
|
|
23
|
+
tab.ref && page?.blocks
|
|
24
|
+
? page.blocks.filter((block) => block?.labels?.includes(tab.ref as string)).length
|
|
25
|
+
: 0;
|
|
25
26
|
|
|
26
27
|
return (
|
|
27
28
|
<div
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../model/
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
|
+
import type { ListOrientation } from '../../model/ListOrientation';
|
|
3
4
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
5
|
+
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
4
6
|
import type {
|
|
5
7
|
CellDef,
|
|
6
8
|
TariffsTableColumn,
|
|
7
9
|
TariffsTableContent,
|
|
8
10
|
TariffsTableRowHeader,
|
|
11
|
+
TariffsTableTile,
|
|
9
12
|
} from './TariffsTableContent';
|
|
10
13
|
import { TariffsTableHorizontal } from './TariffsTableHorizontal';
|
|
11
14
|
import { TariffsTableVertical } from './TariffsTableVertical';
|
|
@@ -40,7 +43,11 @@ export const TariffsTable = JSX<TariffsTableProps>(
|
|
|
40
43
|
},
|
|
41
44
|
);
|
|
42
45
|
|
|
43
|
-
function renderOrientationTable(
|
|
46
|
+
function renderOrientationTable(
|
|
47
|
+
orientation: ListOrientation,
|
|
48
|
+
tiles: TariffsTableTile[],
|
|
49
|
+
context: ContentPageContext,
|
|
50
|
+
) {
|
|
44
51
|
return orientation === 'vertical' ? (
|
|
45
52
|
<TariffsTableVertical context={context} tiles={tiles} />
|
|
46
53
|
) : (
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../model/
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
4
4
|
import { EmbeddableCellData } from './EmbeddableCellData';
|
|
5
5
|
import type { CellDef, TariffsTableCellIndexProps } from './TariffsTableContent';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { EmptyOption } from '../../model/EmptyOptionType';
|
|
2
2
|
import type { DescriptionProps, LabelProps } from '../../model/HeadlineType';
|
|
3
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
4
|
import type { ListOrientation } from '../../model/ListOrientation';
|
|
4
5
|
import type { Picture } from '../../model/Picture';
|
|
5
6
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
@@ -7,6 +8,21 @@ import type { HeadingProps } from '../../ui-kit/Heading/HeadingProps';
|
|
|
7
8
|
import type { TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
8
9
|
import type { ListProps } from '../../ui-kit/List/ListProps';
|
|
9
10
|
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export interface TariffsTableTile {
|
|
15
|
+
header: TariffsTableRowHeader;
|
|
16
|
+
data: CellDef[];
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
export interface TariffsTableProps extends UniBlockProps {
|
|
23
|
+
tiles: TariffsTableTile[];
|
|
24
|
+
}
|
|
25
|
+
|
|
10
26
|
/**
|
|
11
27
|
* @hidden
|
|
12
28
|
*/
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
3
2
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl';
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
tiles: TariffsTableTileCellProps[];
|
|
7
|
-
}
|
|
3
|
+
import type { TariffsTableProps } from './TariffsTableContent';
|
|
4
|
+
import { TariffsTableTileCell } from './TariffsTableTileCell';
|
|
8
5
|
|
|
9
|
-
export const TariffsTableHorizontal = JSX<
|
|
6
|
+
export const TariffsTableHorizontal = JSX<TariffsTableProps>(({ tiles, context }) => (
|
|
10
7
|
<SwipeListControl context={context}>
|
|
11
8
|
{tiles.map((tile, i) => (
|
|
12
|
-
<TariffsTableTileCell key={String(i)} {
|
|
9
|
+
<TariffsTableTileCell key={String(i)} tile={tile} context={context} />
|
|
13
10
|
))}
|
|
14
11
|
</SwipeListControl>
|
|
15
12
|
));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import { UniBlockProps } from '../../model/
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import { Img } from '../../ui-kit/Img/Img';
|
|
4
4
|
import { TableCarouselContainer } from '../ComparisonTable/TableCarouselContainer';
|
|
5
5
|
import { COLUMN_WIDTH, DIVIDER_CLASSES, FIRST_CELL_CLASSES } from './constants';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useEffect, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import { EventBus } from '../../EventBus/EventBus';
|
|
4
|
-
import type { UniBlockProps } from '../../model/
|
|
4
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
5
5
|
import type { VNode } from '../../model/VNode';
|
|
6
6
|
import { InnerTable } from '../../ui-kit/InnerTable/InnerTable';
|
|
7
7
|
import type { TariffsTableInnerContent } from '../../ui-kit/InnerTable/InnerTableProps';
|
|
@@ -2,19 +2,18 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
3
3
|
import { EmbeddableCellData } from './EmbeddableCellData';
|
|
4
4
|
import { TableTileHeader } from './TableTileHeader';
|
|
5
|
-
import type { CellDef,
|
|
5
|
+
import type { CellDef, TariffsTableTile } from './TariffsTableContent';
|
|
6
6
|
|
|
7
7
|
export interface TariffsTableTileCellProps {
|
|
8
|
-
header: TariffsTableRowHeader;
|
|
9
|
-
data: CellDef[];
|
|
10
8
|
context: ContentPageContext;
|
|
9
|
+
tile: TariffsTableTile;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
export const TariffsTableTileCell = JSX<TariffsTableTileCellProps>(({ context,
|
|
12
|
+
export const TariffsTableTileCell = JSX<TariffsTableTileCellProps>(({ context, tile }) => {
|
|
14
13
|
return (
|
|
15
14
|
<div className="rounded-md border-main-stroke h-full box-border border p-4">
|
|
16
|
-
<TableTileHeader {...header} />
|
|
17
|
-
{data?.length ? data.map(renderCellInner(context)) : null}
|
|
15
|
+
<TableTileHeader {...tile.header} />
|
|
16
|
+
{tile.data?.length ? tile.data.map(renderCellInner(context)) : null}
|
|
18
17
|
</div>
|
|
19
18
|
);
|
|
20
19
|
});
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
3
|
-
import { TariffsTableTileCell, TariffsTableTileCellProps } from './TariffsTableTileCell';
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
3
|
+
import type { TariffsTableProps } from './TariffsTableContent';
|
|
4
|
+
import { TariffsTableTileCell } from './TariffsTableTileCell';
|
|
8
5
|
|
|
9
|
-
export const TariffsTableVertical = JSX<
|
|
6
|
+
export const TariffsTableVertical = JSX<TariffsTableProps>(({ tiles, context }) => (
|
|
10
7
|
<div className="flex flex-col gap-3.5">
|
|
11
8
|
{tiles.map((tile, i) => (
|
|
12
|
-
<TariffsTableTileCell key={String(i)} {
|
|
9
|
+
<TariffsTableTileCell key={String(i)} tile={tile} context={context} />
|
|
13
10
|
))}
|
|
14
11
|
</div>
|
|
15
12
|
));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { UniBlockProps } from '../../model/
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
4
|
import { Img } from '../../ui-kit/Img/Img';
|
|
5
5
|
import { List } from '../../ui-kit/List/List';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { VersionStyleMap } from '../../model/BlockVersion';
|
|
3
|
-
import type { UniBlockProps } from '../../model/
|
|
3
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
5
|
import { ButtonSection } from '../../ui-kit/Button/ButtonSection';
|
|
6
6
|
import { Description } from '../../ui-kit/Description/Description';
|
|
@@ -70,13 +70,13 @@ export const Tile = JSX<TileProps>((props) => {
|
|
|
70
70
|
<Description className="max-w-[600px] text-xl-light mt-2.5" description={description} />
|
|
71
71
|
) : null}
|
|
72
72
|
{children}
|
|
73
|
-
{renderList(
|
|
73
|
+
{renderList({ version, isDotted, listItemSize }, items)}
|
|
74
74
|
</BaseTile>
|
|
75
75
|
</BlockWrapper>
|
|
76
76
|
);
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
function renderList(
|
|
79
|
+
function renderList({ version, isDotted, listItemSize }: ListProps, items?: string[]) {
|
|
80
80
|
return items?.length ? (
|
|
81
81
|
<List
|
|
82
82
|
items={items}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
|
|
2
|
+
import { fetchJSON } from '../utils/fetchJSON';
|
|
3
|
+
|
|
4
|
+
const OFFICE_MAP_URL = '/api/v1/branches';
|
|
5
|
+
|
|
6
|
+
// TODO: regionCode - внутренний идентификатор банка. Не соответствует государственной нумерации регионов РФ
|
|
7
|
+
// TODO: Список регионов можно получить через api/v1/regions
|
|
8
|
+
export function useOfficeMap(regionCode?: string) {
|
|
9
|
+
const { data } = useAsyncData<{ data?: any }, any, string | undefined>(
|
|
10
|
+
regionCode ? `${OFFICE_MAP_URL}?regionCode=${regionCode}` : undefined,
|
|
11
|
+
fetchOfficeMap,
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
return data;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const fetchOfficeMap = (url?: string) => {
|
|
18
|
+
if (!url) {
|
|
19
|
+
return {};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
return fetchJSON(url, { method: 'GET' });
|
|
23
|
+
};
|
|
@@ -7,11 +7,11 @@ export const IconsWithoutInversion = new Set([
|
|
|
7
7
|
]);
|
|
8
8
|
|
|
9
9
|
export enum IconMap {
|
|
10
|
-
ActualBalanceIcon = 'ActualBalanceIcon', AirPlaneIcon = 'AirPlaneIcon', AppleIcon = 'AppleIcon', ArrowDownIcon = 'ArrowDownIcon', ArrowLeftIcon = 'ArrowLeftIcon', ArrowUpIcon = 'ArrowUpIcon', AtmIcon = 'AtmIcon', BankIcon = 'BankIcon', BuildingIcon = 'BuildingIcon', BurgerIcon = 'BurgerIcon', Calendar2Icon = 'Calendar2Icon', CalendarCircleIcon = 'CalendarCircleIcon', CalendarIcon = 'CalendarIcon', CalendarTickIcon = 'CalendarTickIcon', Car2Icon = 'Car2Icon', CardIcon = 'CardIcon', CardPosIcon = 'CardPosIcon', CardTickIcon = 'CardTickIcon', CardWithGemIcon = 'CardWithGemIcon', CarIcon = 'CarIcon', ChartSquareIcon = 'ChartSquareIcon', CinemaIcon = 'CinemaIcon', ClockIcon = 'ClockIcon', CloseIcon = 'CloseIcon', ComfortableCompIcon = 'ComfortableCompIcon', CreditCardsIcon = 'CreditCardsIcon', DiscountShapeIcon = 'DiscountShapeIcon', DocDownloadIcon = 'DocDownloadIcon', DocIcon = 'DocIcon', DocIconMonoColor = 'DocIconMonoColor', DocsIcon = 'DocsIcon', DocumentTextIcon = 'DocumentTextIcon', DollarIcon = 'DollarIcon', DoneIcon = 'DoneIcon', DoneSimpleIcon = 'DoneSimpleIcon', EarthIcon = 'EarthIcon', EmptyWalletChangeIcon = 'EmptyWalletChangeIcon', EmptyWalletIcon = 'EmptyWalletIcon', EuroIcon = 'EuroIcon', GeolocationIcon = 'GeolocationIcon', GlassIcon = 'GlassIcon', GlobalIcon = 'GlobalIcon', GpsIcon = 'GpsIcon', GridIcon = 'GridIcon', InterestGrowthIcon = 'InterestGrowthIcon', InterestIcon = 'InterestIcon', JCBIcon = 'JCBIcon', LogoIcon = 'LogoIcon', LoupeIcon = 'LoupeIcon', MapMarkerClusterIcon = 'MapMarkerClusterIcon', MapMarkerSingleIcon = 'MapMarkerSingleIcon', MasterCardIcon = 'MasterCardIcon', MinusIcon = 'MinusIcon', MirIcon = 'MirIcon', MoneyIcon = 'MoneyIcon', MoneyInsuranceIcon = 'MoneyInsuranceIcon', MoneysIcon = 'MoneysIcon', MonitorMobileIcon = 'MonitorMobileIcon', NewDocIcon = 'NewDocIcon', OfficeIcon = 'OfficeIcon', OkIcon = 'OkIcon', PackA4Icon = 'PackA4Icon', PassSendIcon = 'PassSendIcon', PercentageRoundIcon = 'PercentageRoundIcon', PercentageSquareIcon = 'PercentageSquareIcon', PersonalCardIcon = 'PersonalCardIcon', PlayMarketIcon = 'PlayMarketIcon', PlusIcon = 'PlusIcon', PowerIcon = 'PowerIcon', Profile2UserIcon = 'Profile2UserIcon', ProfileIcon = 'ProfileIcon', PumpkinIcon = 'PumpkinIcon', RoundRubleIcon = 'RoundRubleIcon', SafeIcon = 'SafeIcon', ShieldTickIcon = 'ShieldTickIcon', SignDocsIcon = 'SignDocsIcon', SmallClockIcon = 'SmallClockIcon', SoundIcon = 'SoundIcon', StrongBoxIcon = 'StrongBoxIcon', TelegramIcon = 'TelegramIcon', UnionPayIcon = 'UnionPayIcon', UserSquareIcon = 'UserSquareIcon', UserTickIcon = 'UserTickIcon', VisaIcon = 'VisaIcon', VKIcon = 'VKIcon', WalletAdd2Icon = 'WalletAdd2Icon', WalletAddIcon = 'WalletAddIcon', WalletIcon = 'WalletIcon', WalletWithMoneyIcon = 'WalletWithMoneyIcon', WateringCanIcon = 'WateringCanIcon'
|
|
10
|
+
ActualBalanceIcon = 'ActualBalanceIcon', AirPlaneIcon = 'AirPlaneIcon', AppleIcon = 'AppleIcon', ArrowDownIcon = 'ArrowDownIcon', ArrowLeftIcon = 'ArrowLeftIcon', ArrowUpIcon = 'ArrowUpIcon', AtmIcon = 'AtmIcon', BankIcon = 'BankIcon', BuildingIcon = 'BuildingIcon', BurgerIcon = 'BurgerIcon', Calendar2Icon = 'Calendar2Icon', CalendarCircleIcon = 'CalendarCircleIcon', CalendarIcon = 'CalendarIcon', CalendarTickIcon = 'CalendarTickIcon', Car2Icon = 'Car2Icon', CardIcon = 'CardIcon', CardPosIcon = 'CardPosIcon', CardTickIcon = 'CardTickIcon', CardWithGemIcon = 'CardWithGemIcon', CarIcon = 'CarIcon', ChartSquareIcon = 'ChartSquareIcon', CinemaIcon = 'CinemaIcon', ClockIcon = 'ClockIcon', CloseIcon = 'CloseIcon', ComfortableCompIcon = 'ComfortableCompIcon', CreditCardsIcon = 'CreditCardsIcon', DiscountShapeIcon = 'DiscountShapeIcon', DocDownloadIcon = 'DocDownloadIcon', DocIcon = 'DocIcon', DocIconMonoColor = 'DocIconMonoColor', DocsIcon = 'DocsIcon', DocumentTextIcon = 'DocumentTextIcon', DollarIcon = 'DollarIcon', DoneIcon = 'DoneIcon', DoneSimpleIcon = 'DoneSimpleIcon', EarthIcon = 'EarthIcon', EmptyWalletChangeIcon = 'EmptyWalletChangeIcon', EmptyWalletIcon = 'EmptyWalletIcon', EuroIcon = 'EuroIcon', GeolocationIcon = 'GeolocationIcon', GlassIcon = 'GlassIcon', GlobalIcon = 'GlobalIcon', GpsIcon = 'GpsIcon', GridIcon = 'GridIcon', InterestGrowthIcon = 'InterestGrowthIcon', InterestIcon = 'InterestIcon', JCBIcon = 'JCBIcon', LogoIcon = 'LogoIcon', LoupeIcon = 'LoupeIcon', MapMarkerClusterIcon = 'MapMarkerClusterIcon', MapMarkerSingleIcon = 'MapMarkerSingleIcon', MasterCardIcon = 'MasterCardIcon', MetroIcon = 'MetroIcon', MinusIcon = 'MinusIcon', MirIcon = 'MirIcon', MoneyIcon = 'MoneyIcon', MoneyInsuranceIcon = 'MoneyInsuranceIcon', MoneysIcon = 'MoneysIcon', MonitorMobileIcon = 'MonitorMobileIcon', NewDocIcon = 'NewDocIcon', OfficeIcon = 'OfficeIcon', OkIcon = 'OkIcon', PackA4Icon = 'PackA4Icon', PassSendIcon = 'PassSendIcon', PercentageRoundIcon = 'PercentageRoundIcon', PercentageSquareIcon = 'PercentageSquareIcon', PersonalCardIcon = 'PersonalCardIcon', PlayMarketIcon = 'PlayMarketIcon', PlusIcon = 'PlusIcon', PowerIcon = 'PowerIcon', Profile2UserIcon = 'Profile2UserIcon', ProfileIcon = 'ProfileIcon', PumpkinIcon = 'PumpkinIcon', RoundRubleIcon = 'RoundRubleIcon', SafeIcon = 'SafeIcon', ShieldTickIcon = 'ShieldTickIcon', SignDocsIcon = 'SignDocsIcon', SmallClockIcon = 'SmallClockIcon', SoundIcon = 'SoundIcon', StrongBoxIcon = 'StrongBoxIcon', TelegramIcon = 'TelegramIcon', UnionPayIcon = 'UnionPayIcon', UserSquareIcon = 'UserSquareIcon', UserTickIcon = 'UserTickIcon', VisaIcon = 'VisaIcon', VKIcon = 'VKIcon', WalletAdd2Icon = 'WalletAdd2Icon', WalletAddIcon = 'WalletAddIcon', WalletIcon = 'WalletIcon', WalletWithMoneyIcon = 'WalletWithMoneyIcon', WateringCanIcon = 'WateringCanIcon'
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export enum IconTitleMap {
|
|
14
|
-
ActualBalanceIcon = 'Деньги', AirPlaneIcon = 'Самолёт', AppleIcon = 'Лого «Apple»', ArrowDownIcon = 'Стрелка \'Вниз\'', ArrowLeftIcon = 'Стрелка', ArrowUpIcon = 'Стрелка вверх', AtmIcon = 'Банкомат', BankIcon = 'Банк', BuildingIcon = 'Здание с деревом', BurgerIcon = 'Бургер', Calendar2Icon = 'Календарь 2', CalendarCircleIcon = 'Скруглённый календарь', CalendarIcon = 'Календарь', CalendarTickIcon = 'Календарь с галочкой', Car2Icon = 'Машина2', CardIcon = 'Кред. карта', CardPosIcon = 'Кред. карта под наклоном', CardTickIcon = 'Кред. карта с галочкой', CardWithGemIcon = 'Карта с драгоценностями', CarIcon = 'Машина', ChartSquareIcon = 'Деньги внутри кошелька', CinemaIcon = 'Кинотеатр', ClockIcon = 'Часы', CloseIcon = 'Крестик', ComfortableCompIcon = 'Кресло', CreditCardsIcon = 'Кредитные карты', DiscountShapeIcon = 'Скидка', DocDownloadIcon = 'Скачать документ', DocIcon = 'Документ', DocIconMonoColor = 'Документ (одноцветный)', DocsIcon = 'Документы', DocumentTextIcon = 'Документ с текстом', DollarIcon = 'Доллар', DoneIcon = 'Зелёная \'галочка\' в круге', DoneSimpleIcon = 'Зелёная \'галочка\'', EarthIcon = 'Земля', EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом', EmptyWalletIcon = 'Пустой кошелёк', EuroIcon = 'Евро', GeolocationIcon = 'Геолокация', GlassIcon = 'Зеркало', GlobalIcon = 'Глобус', GpsIcon = 'Gps', GridIcon = 'Сетка (белая)', InterestGrowthIcon = 'Диаграмма роста', InterestIcon = 'Скидка', JCBIcon = 'JCB', LogoIcon = 'Logo', LoupeIcon = 'Лупа', MapMarkerClusterIcon = 'Маркер карты', MapMarkerSingleIcon = 'Маркер карты РСХБ', MasterCardIcon = 'MasterCard', MinusIcon = 'Минус', MirIcon = 'МИР', MoneyIcon = 'Деньги', MoneyInsuranceIcon = 'Денежное страхование', MoneysIcon = 'Купюры', MonitorMobileIcon = 'Монитор и мобильный', NewDocIcon = 'Новый документ', OfficeIcon = 'Офис', OkIcon = 'Лого «Одноклассники»', PackA4Icon = 'Пачка бумаги А4', PassSendIcon = 'Бизнес', PercentageRoundIcon = 'Проценты (круг.)', PercentageSquareIcon = 'Проценты', PersonalCardIcon = 'Персональная карта', PlayMarketIcon = 'Лого «PlayMarket»', PlusIcon = 'Плюс', PowerIcon = 'Щит', Profile2UserIcon = 'Профиль, 2 персоны', ProfileIcon = 'Профиль', PumpkinIcon = 'Тыква', RoundRubleIcon = 'Рубль (круг.)', SafeIcon = 'Сейф', ShieldTickIcon = 'Безопасность', SignDocsIcon = 'Подписанные документы', SmallClockIcon = 'Маленькие часы', SoundIcon = 'Звук', StrongBoxIcon = 'Ящик с замочной скважиной', TelegramIcon = 'Лого «Telegram»', UnionPayIcon = 'UnionPay', UserSquareIcon = 'Пользователь в рамке', UserTickIcon = 'Пользователь', VisaIcon = 'Visa', VKIcon = 'Лого «VK»', WalletAdd2Icon = 'Пополнение карты', WalletAddIcon = 'Кошелёк с плюсом', WalletIcon = 'Кошелёк', WalletWithMoneyIcon = 'Кошелёк с деньгами', WateringCanIcon = 'Добавить продукт'
|
|
14
|
+
ActualBalanceIcon = 'Деньги', AirPlaneIcon = 'Самолёт', AppleIcon = 'Лого «Apple»', ArrowDownIcon = 'Стрелка \'Вниз\'', ArrowLeftIcon = 'Стрелка', ArrowUpIcon = 'Стрелка вверх', AtmIcon = 'Банкомат', BankIcon = 'Банк', BuildingIcon = 'Здание с деревом', BurgerIcon = 'Бургер', Calendar2Icon = 'Календарь 2', CalendarCircleIcon = 'Скруглённый календарь', CalendarIcon = 'Календарь', CalendarTickIcon = 'Календарь с галочкой', Car2Icon = 'Машина2', CardIcon = 'Кред. карта', CardPosIcon = 'Кред. карта под наклоном', CardTickIcon = 'Кред. карта с галочкой', CardWithGemIcon = 'Карта с драгоценностями', CarIcon = 'Машина', ChartSquareIcon = 'Деньги внутри кошелька', CinemaIcon = 'Кинотеатр', ClockIcon = 'Часы', CloseIcon = 'Крестик', ComfortableCompIcon = 'Кресло', CreditCardsIcon = 'Кредитные карты', DiscountShapeIcon = 'Скидка', DocDownloadIcon = 'Скачать документ', DocIcon = 'Документ', DocIconMonoColor = 'Документ (одноцветный)', DocsIcon = 'Документы', DocumentTextIcon = 'Документ с текстом', DollarIcon = 'Доллар', DoneIcon = 'Зелёная \'галочка\' в круге', DoneSimpleIcon = 'Зелёная \'галочка\'', EarthIcon = 'Земля', EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом', EmptyWalletIcon = 'Пустой кошелёк', EuroIcon = 'Евро', GeolocationIcon = 'Геолокация', GlassIcon = 'Зеркало', GlobalIcon = 'Глобус', GpsIcon = 'Gps', GridIcon = 'Сетка (белая)', InterestGrowthIcon = 'Диаграмма роста', InterestIcon = 'Скидка', JCBIcon = 'JCB', LogoIcon = 'Logo', LoupeIcon = 'Лупа', MapMarkerClusterIcon = 'Маркер карты', MapMarkerSingleIcon = 'Маркер карты РСХБ', MasterCardIcon = 'MasterCard', MetroIcon = 'Лого Метро', MinusIcon = 'Минус', MirIcon = 'МИР', MoneyIcon = 'Деньги', MoneyInsuranceIcon = 'Денежное страхование', MoneysIcon = 'Купюры', MonitorMobileIcon = 'Монитор и мобильный', NewDocIcon = 'Новый документ', OfficeIcon = 'Офис', OkIcon = 'Лого «Одноклассники»', PackA4Icon = 'Пачка бумаги А4', PassSendIcon = 'Бизнес', PercentageRoundIcon = 'Проценты (круг.)', PercentageSquareIcon = 'Проценты', PersonalCardIcon = 'Персональная карта', PlayMarketIcon = 'Лого «PlayMarket»', PlusIcon = 'Плюс', PowerIcon = 'Щит', Profile2UserIcon = 'Профиль, 2 персоны', ProfileIcon = 'Профиль', PumpkinIcon = 'Тыква', RoundRubleIcon = 'Рубль (круг.)', SafeIcon = 'Сейф', ShieldTickIcon = 'Безопасность', SignDocsIcon = 'Подписанные документы', SmallClockIcon = 'Маленькие часы', SoundIcon = 'Звук', StrongBoxIcon = 'Ящик с замочной скважиной', TelegramIcon = 'Лого «Telegram»', UnionPayIcon = 'UnionPay', UserSquareIcon = 'Пользователь в рамке', UserTickIcon = 'Пользователь', VisaIcon = 'Visa', VKIcon = 'Лого «VK»', WalletAdd2Icon = 'Пополнение карты', WalletAddIcon = 'Кошелёк с плюсом', WalletIcon = 'Кошелёк', WalletWithMoneyIcon = 'Кошелёк с деньгами', WateringCanIcon = 'Добавить продукт'
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -19,7 +19,7 @@ export enum IconTitleMap {
|
|
|
19
19
|
* @title Иконка
|
|
20
20
|
* @enumNames [
|
|
21
21
|
* "",
|
|
22
|
-
* 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка', 'Стрелка вверх', 'Банкомат', 'Банк', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кинотеатр', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'Персональная карта', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт'
|
|
22
|
+
* 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка', 'Стрелка вверх', 'Банкомат', 'Банк', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кинотеатр', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Лого Метро', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'Персональная карта', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт'
|
|
23
23
|
* ]
|
|
24
24
|
*/
|
|
25
|
-
export type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowLeftIcon' | 'ArrowUpIcon' | 'AtmIcon' | 'BankIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PersonalCardIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon';
|
|
25
|
+
export type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowLeftIcon' | 'ArrowUpIcon' | 'AtmIcon' | 'BankIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MetroIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PersonalCardIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg title="Лого Метро" isInverse="false" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_7847_200219)">
|
|
3
|
+
<path d="M11.5632 2.04809L11.4286 2.04786L8.56842 7.65248L5.60534 2L1.54844 12.2114H0.5V13.0315H6.2437V12.2114H5.10404L6.2437 9.01998L8.56842 13.0315L10.8021 9.01998L11.9416 12.2114H10.8021V13.0315H16.5V12.2114H15.5129L11.5632 2.04809Z" fill="#21ABD9"/>
|
|
4
|
+
</g>
|
|
5
|
+
<defs>
|
|
6
|
+
<clipPath id="clip0_7847_200219">
|
|
7
|
+
<rect width="16" height="16" fill="white" transform="translate(0.5)"/>
|
|
8
|
+
</clipPath>
|
|
9
|
+
</defs>
|
|
10
|
+
</svg>
|
package/mobile/src/index.ts
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { UniBlockProps } from './ContentPageDef';
|
|
3
|
-
import type { VNode } from './VNode';
|
|
4
|
-
|
|
5
|
-
export type JSXBlock<BlockProps = Record<string, any>> = UNIComponent<
|
|
6
|
-
BlockProps & UniBlockProps,
|
|
7
|
-
any,
|
|
8
|
-
VNode | VNode[]
|
|
9
|
-
> & {
|
|
10
|
-
childrenTypes?: string[];
|
|
11
|
-
renderChild?: (child: VNode, i: number) => VNode;
|
|
12
|
-
};
|
|
1
|
+
import type { JSXBlock } from './JSXBlock';
|
|
13
2
|
|
|
14
3
|
export type BlocksRegistry<BlockProps = Record<string, any>> = Record<string, JSXBlock<BlockProps>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
|
|
2
1
|
import type { BlockVersion } from './BlockVersion';
|
|
3
2
|
|
|
4
3
|
/**
|
|
@@ -50,11 +49,3 @@ export interface ContentPageDef extends ContentPageMeta, Slot {
|
|
|
50
49
|
likeControl?: boolean;
|
|
51
50
|
colorPalette?: ColorPalette;
|
|
52
51
|
}
|
|
53
|
-
|
|
54
|
-
export interface UniBlockProps {
|
|
55
|
-
className?: string;
|
|
56
|
-
context: ContentPageContext;
|
|
57
|
-
page?: ContentPageDef;
|
|
58
|
-
labels?: string[];
|
|
59
|
-
anchor?: string;
|
|
60
|
-
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { UNIComponent } from '@redneckz/uni-jsx';
|
|
2
|
+
import type { ContentPageContext } from '../components/ContentPage/ContentPageContext';
|
|
3
|
+
import type { BlockAncestors } from './BlockDecorator';
|
|
4
|
+
import type { ContentPageDef } from './ContentPageDef';
|
|
5
|
+
import type { VNode } from './VNode';
|
|
6
|
+
|
|
7
|
+
export interface UniBlockProps {
|
|
8
|
+
className?: string;
|
|
9
|
+
context: ContentPageContext;
|
|
10
|
+
page?: ContentPageDef;
|
|
11
|
+
ancestors?: BlockAncestors;
|
|
12
|
+
labels?: string[];
|
|
13
|
+
anchor?: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type JSXBlock<BlockProps = Record<string, any>> = UNIComponent<
|
|
17
|
+
BlockProps & UniBlockProps,
|
|
18
|
+
any,
|
|
19
|
+
VNode | VNode[]
|
|
20
|
+
> & {
|
|
21
|
+
childrenTypes?: string[];
|
|
22
|
+
renderChild?: (child: VNode, i: number) => VNode;
|
|
23
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { BlockAncestors } from './BlockDecorator';
|
|
2
|
+
import { getParentBlockDef } from './getParentBlockDef';
|
|
3
|
+
|
|
4
|
+
export function getParentBlockContent<C extends Record<string, any>>(
|
|
5
|
+
ancestors: BlockAncestors | undefined,
|
|
6
|
+
defaultContent: C,
|
|
7
|
+
): C {
|
|
8
|
+
const { content } = getParentBlockDef(ancestors);
|
|
9
|
+
|
|
10
|
+
return (content as C) || defaultContent;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { BlockAncestors } from './BlockDecorator';
|
|
2
|
+
import type { BlockDef } from './ContentPageDef';
|
|
3
|
+
|
|
4
|
+
export function getParentBlockDef(ancestors: BlockAncestors | undefined, type?: string): BlockDef {
|
|
5
|
+
const [, ...blocks] = ancestors || [];
|
|
6
|
+
|
|
7
|
+
return blocks.reverse().find((_) => !type || type === (_ as BlockDef)?.type) || {};
|
|
8
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
+
import type { IconVersion } from '../../model/IconVersion';
|
|
4
|
+
import type { Picture } from '../../model/Picture';
|
|
3
5
|
import { Img } from '../Img/Img';
|
|
4
6
|
import type { BenefitItemCommonProps, BenefitItemProps } from './BenefitItemProps';
|
|
5
7
|
|
|
@@ -26,7 +28,7 @@ export const BenefitItem = JSX<BenefitGeneralProps>((props) => {
|
|
|
26
28
|
|
|
27
29
|
const isIconWhite = benefitsVersion === 'white' || version === 'secondary';
|
|
28
30
|
const listItemAlign = description ? 'items-start' : 'items-center';
|
|
29
|
-
const iconVersion = getIconVersion(
|
|
31
|
+
const iconVersion = getIconVersion(isIconWhite, icon);
|
|
30
32
|
|
|
31
33
|
return (
|
|
32
34
|
<div className={`flex gap-5 ${listItemAlign} ${className}`}>
|
|
@@ -45,7 +47,7 @@ export const BenefitItem = JSX<BenefitGeneralProps>((props) => {
|
|
|
45
47
|
);
|
|
46
48
|
});
|
|
47
49
|
|
|
48
|
-
function renderBenefitIconBgStyle(version, benefitsVersion) {
|
|
50
|
+
function renderBenefitIconBgStyle(version: BlockVersion, benefitsVersion: IconVersion) {
|
|
49
51
|
let bgColorStyle = 'bg-primary-main text-black';
|
|
50
52
|
|
|
51
53
|
if (version === 'secondary') {
|
|
@@ -57,5 +59,5 @@ function renderBenefitIconBgStyle(version, benefitsVersion) {
|
|
|
57
59
|
return `w-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
|
|
58
60
|
}
|
|
59
61
|
|
|
60
|
-
const getIconVersion = (
|
|
62
|
+
const getIconVersion = (isIconWhite: boolean, icon?: Picture) =>
|
|
61
63
|
icon?.iconVersion || isIconWhite ? 'white' : 'normal';
|