@redneckz/wildless-cms-uni-blocks 0.5.14 → 0.6.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/bin/migration-scripts/0.5.14.js +27 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +840 -695
- 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 +7 -4
- 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/ContactsBlock/ContactsBlock.d.ts +5 -0
- package/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
- package/bundle/components/ContentPage/ContentPage.d.ts +2 -1
- package/bundle/components/ContentPage/renderContentPageHead.d.ts +3 -0
- 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/GalleryContent.d.ts +3 -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/Headline/constants.d.ts +0 -2
- 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/MobileAppTile/MobileAppTileContent.d.ts +6 -0
- 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 +1 -2
- package/bundle/components/OtherProducts/OtherProductsContent.d.ts +4 -1
- package/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
- package/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
- 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/AlignText.d.ts +2 -0
- package/bundle/model/BlocksRegistry.d.ts +1 -7
- package/bundle/model/ContentPageDef.d.ts +0 -8
- package/bundle/model/HeadlineType.d.ts +2 -2
- 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 +3 -10
- 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 +7 -4
- 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/ContactsBlock/ContactsBlock.d.ts +5 -0
- package/dist/components/ContactsBlock/ContactsBlock.js +19 -0
- package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -0
- package/dist/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
- package/dist/components/ContactsBlock/ContactsBlockContent.js +2 -0
- package/dist/components/ContactsBlock/ContactsBlockContent.js.map +1 -0
- package/dist/components/ContentPage/ContentPage.d.ts +2 -1
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/ContentPage/renderBlock.js +1 -1
- package/dist/components/ContentPage/renderBlock.js.map +1 -1
- package/dist/components/ContentPage/renderContentPageHead.d.ts +3 -0
- package/dist/components/ContentPage/renderContentPageHead.js +30 -0
- package/dist/components/ContentPage/renderContentPageHead.js.map +1 -0
- 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 +3 -2
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +6 -11
- package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/dist/components/Gallery/GalleryContainer.js +2 -2
- package/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/dist/components/Gallery/GalleryContent.d.ts +3 -1
- package/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/dist/components/Gallery/GalleryInner.js +4 -3
- package/dist/components/Gallery/GalleryInner.js.map +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.js +2 -1
- package/dist/components/Headline/Headline.js.map +1 -1
- package/dist/components/Headline/Headline.mobile.d.ts +1 -1
- package/dist/components/Headline/Headline.mobile.js +2 -1
- package/dist/components/Headline/Headline.mobile.js.map +1 -1
- package/dist/components/Headline/constants.d.ts +0 -2
- package/dist/components/Headline/constants.js +2 -6
- package/dist/components/Headline/constants.js.map +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.js +5 -3
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +6 -0
- 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 +1 -2
- package/dist/components/OtherProducts/OtherProducts.js +1 -1
- package/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/dist/components/OtherProducts/OtherProductsContent.d.ts +4 -1
- package/dist/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
- package/dist/components/OtherProductsItem/OtherProductsItem.js +5 -1
- package/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
- 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 +2 -2
- 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/AlignText.d.ts +2 -0
- package/dist/model/AlignText.js +8 -0
- package/dist/model/AlignText.js.map +1 -0
- package/dist/model/BlocksRegistry.d.ts +1 -7
- package/dist/model/ContentPageDef.d.ts +0 -8
- package/dist/model/HeadlineType.d.ts +2 -2
- 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/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/List/ListItem.js +4 -4
- package/dist/ui-kit/List/ListItem.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 +3 -10
- 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 +7 -4
- 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/ContactsBlock/ContactsBlock.d.ts +5 -0
- package/lib/components/ContactsBlock/ContactsBlock.fixture.d.ts +5 -0
- package/lib/components/ContactsBlock/ContactsBlock.js +17 -0
- package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -0
- package/lib/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
- package/lib/components/ContactsBlock/ContactsBlockContent.js +2 -0
- package/lib/components/ContactsBlock/ContactsBlockContent.js.map +1 -0
- package/lib/components/ContentPage/ContentPage.d.ts +2 -1
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/ContentPage/renderBlock.js +1 -1
- package/lib/components/ContentPage/renderBlock.js.map +1 -1
- package/lib/components/ContentPage/renderContentPageHead.d.ts +3 -0
- package/lib/components/ContentPage/renderContentPageHead.js +27 -0
- package/lib/components/ContentPage/renderContentPageHead.js.map +1 -0
- 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 +3 -2
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +6 -11
- package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/lib/components/Gallery/GalleryContainer.js +2 -2
- package/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/lib/components/Gallery/GalleryContent.d.ts +3 -1
- package/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/lib/components/Gallery/GalleryInner.js +4 -3
- package/lib/components/Gallery/GalleryInner.js.map +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.js +3 -2
- package/lib/components/Headline/Headline.js.map +1 -1
- package/lib/components/Headline/Headline.mobile.d.ts +1 -1
- package/lib/components/Headline/Headline.mobile.js +3 -2
- package/lib/components/Headline/Headline.mobile.js.map +1 -1
- package/lib/components/Headline/constants.d.ts +0 -2
- package/lib/components/Headline/constants.js +1 -5
- package/lib/components/Headline/constants.js.map +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/MiniGallery/MiniGallery.fixture.d.ts +2 -1
- package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +5 -3
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +6 -0
- 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 +1 -2
- package/lib/components/OtherProducts/OtherProducts.js +1 -1
- package/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/lib/components/OtherProducts/OtherProductsContent.d.ts +4 -1
- package/lib/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
- package/lib/components/OtherProductsItem/OtherProductsItem.js +5 -1
- package/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
- 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 +2 -2
- 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/AlignText.d.ts +2 -0
- package/lib/model/AlignText.js +6 -0
- package/lib/model/AlignText.js.map +1 -0
- package/lib/model/BlocksRegistry.d.ts +1 -7
- package/lib/model/ContentPageDef.d.ts +0 -8
- package/lib/model/HeadlineType.d.ts +2 -2
- 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/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/List/ListItem.js +4 -4
- package/lib/ui-kit/List/ListItem.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 +538 -545
- 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/ContactsBlock/ContactsBlock.d.ts +5 -0
- package/mobile/bundle/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
- package/mobile/bundle/components/ContentPage/ContentPage.d.ts +2 -1
- package/mobile/bundle/components/ContentPage/renderContentPageHead.d.ts +3 -0
- 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/GalleryContent.d.ts +3 -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/Headline/constants.d.ts +0 -2
- 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/MobileAppTile/MobileAppTileContent.d.ts +6 -0
- 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 +1 -2
- package/mobile/bundle/components/OtherProducts/OtherProductsContent.d.ts +4 -1
- package/mobile/bundle/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
- package/mobile/bundle/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
- 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/AlignText.d.ts +2 -0
- package/mobile/bundle/model/BlocksRegistry.d.ts +1 -7
- package/mobile/bundle/model/ContentPageDef.d.ts +0 -8
- package/mobile/bundle/model/HeadlineType.d.ts +2 -2
- 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/ContactsBlock/ContactsBlock.d.ts +5 -0
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js +19 -0
- package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -0
- package/mobile/dist/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
- package/mobile/dist/components/ContactsBlock/ContactsBlockContent.js +2 -0
- package/mobile/dist/components/ContactsBlock/ContactsBlockContent.js.map +1 -0
- 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 +1 -1
- package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/renderContentPageHead.d.ts +3 -0
- package/mobile/dist/components/ContentPage/renderContentPageHead.js +30 -0
- package/mobile/dist/components/ContentPage/renderContentPageHead.js.map +1 -0
- 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 +3 -2
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +6 -11
- package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
- package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryContent.d.ts +3 -1
- package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/dist/components/Gallery/GalleryInner.js +4 -3
- package/mobile/dist/components/Gallery/GalleryInner.js.map +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/Headline/Headline.js +2 -1
- package/mobile/dist/components/Headline/Headline.js.map +1 -1
- package/mobile/dist/components/Headline/constants.d.ts +0 -2
- package/mobile/dist/components/Headline/constants.js +2 -6
- package/mobile/dist/components/Headline/constants.js.map +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/MobileAppTile/MobileAppTileContent.d.ts +6 -0
- 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 +1 -2
- package/mobile/dist/components/OtherProducts/OtherProducts.js +1 -1
- package/mobile/dist/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/dist/components/OtherProducts/OtherProductsContent.d.ts +4 -1
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js +5 -1
- package/mobile/dist/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/mobile/dist/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
- 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/AlignText.d.ts +2 -0
- package/mobile/dist/model/AlignText.js +8 -0
- package/mobile/dist/model/AlignText.js.map +1 -0
- package/mobile/dist/model/BlocksRegistry.d.ts +1 -7
- package/mobile/dist/model/ContentPageDef.d.ts +0 -8
- package/mobile/dist/model/HeadlineType.d.ts +2 -2
- 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/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/List/ListItem.js +4 -4
- package/mobile/dist/ui-kit/List/ListItem.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/ContactsBlock/ContactsBlock.d.ts +5 -0
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js +17 -0
- package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -0
- package/mobile/lib/components/ContactsBlock/ContactsBlockContent.d.ts +36 -0
- package/mobile/lib/components/ContactsBlock/ContactsBlockContent.js +2 -0
- package/mobile/lib/components/ContactsBlock/ContactsBlockContent.js.map +1 -0
- 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 +1 -1
- package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/renderContentPageHead.d.ts +3 -0
- package/mobile/lib/components/ContentPage/renderContentPageHead.js +27 -0
- package/mobile/lib/components/ContentPage/renderContentPageHead.js.map +1 -0
- 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 +3 -2
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +6 -11
- package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
- package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryContent.d.ts +3 -1
- package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
- package/mobile/lib/components/Gallery/GalleryInner.js +4 -3
- package/mobile/lib/components/Gallery/GalleryInner.js.map +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/Headline/Headline.js +3 -2
- package/mobile/lib/components/Headline/Headline.js.map +1 -1
- package/mobile/lib/components/Headline/constants.d.ts +0 -2
- package/mobile/lib/components/Headline/constants.js +1 -5
- package/mobile/lib/components/Headline/constants.js.map +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/MobileAppTile/MobileAppTileContent.d.ts +6 -0
- 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 +1 -2
- package/mobile/lib/components/OtherProducts/OtherProducts.js +1 -1
- package/mobile/lib/components/OtherProducts/OtherProducts.js.map +1 -1
- package/mobile/lib/components/OtherProducts/OtherProductsContent.d.ts +4 -1
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.d.ts +1 -2
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js +5 -1
- package/mobile/lib/components/OtherProductsItem/OtherProductsItem.js.map +1 -1
- package/mobile/lib/components/OtherProductsItem/OtherProductsItemContent.d.ts +0 -2
- 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/AlignText.d.ts +2 -0
- package/mobile/lib/model/AlignText.js +6 -0
- package/mobile/lib/model/AlignText.js.map +1 -0
- package/mobile/lib/model/BlocksRegistry.d.ts +1 -7
- package/mobile/lib/model/ContentPageDef.d.ts +0 -8
- package/mobile/lib/model/HeadlineType.d.ts +2 -2
- 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/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/List/ListItem.js +4 -4
- package/mobile/lib/ui-kit/List/ListItem.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/ContactsBlock/ContactsBlock.example.json +51 -0
- package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +70 -0
- package/mobile/src/components/ContactsBlock/ContactsBlock.ui.json +8 -0
- package/mobile/src/components/ContactsBlock/ContactsBlockContent.ts +39 -0
- package/mobile/src/components/ContentPage/ContentPage.tsx +2 -1
- package/mobile/src/components/ContentPage/renderBlock.tsx +1 -0
- package/mobile/src/components/ContentPage/renderContentPageHead.tsx +34 -0
- 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.example.json +2 -2
- package/mobile/src/components/Gallery/Gallery.tsx +23 -15
- package/mobile/src/components/Gallery/Gallery.ui.json +11 -1
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +17 -26
- package/mobile/src/components/Gallery/GalleryContainer.tsx +1 -2
- package/mobile/src/components/Gallery/GalleryContent.ts +3 -1
- package/mobile/src/components/Gallery/GalleryInner.tsx +12 -5
- 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 +5 -4
- package/mobile/src/components/Headline/constants.ts +1 -7
- 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/MobileAppTile/MobileAppTileContent.ts +6 -0
- 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.tsx +4 -5
- package/mobile/src/components/OtherProducts/OtherProductsContent.ts +4 -1
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.example.json +2 -1
- package/mobile/src/components/OtherProductsItem/OtherProductsItem.tsx +34 -26
- package/mobile/src/components/OtherProductsItem/OtherProductsItemContent.ts +0 -4
- 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 +4 -4
- 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/AlignText.ts +7 -0
- package/mobile/src/model/BlocksRegistry.ts +1 -12
- package/mobile/src/model/ContentPageDef.ts +0 -9
- package/mobile/src/model/HeadlineType.ts +2 -2
- 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/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/List/ListItem.tsx +10 -7
- 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 -48
- 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/ContactsBlock/ContactsBlock.example.json +51 -0
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +57 -0
- package/src/components/ContactsBlock/ContactsBlock.tsx +70 -0
- package/src/components/ContactsBlock/ContactsBlock.ui.json +8 -0
- package/src/components/ContactsBlock/ContactsBlockContent.ts +39 -0
- package/src/components/ContentPage/ContentPage.tsx +2 -1
- package/src/components/ContentPage/renderBlock.tsx +1 -0
- package/src/components/ContentPage/renderContentPageHead.tsx +34 -0
- 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.example.json +2 -2
- package/src/components/Gallery/Gallery.fixture.mobile.tsx +3 -3
- package/src/components/Gallery/Gallery.fixture.tsx +20 -24
- package/src/components/Gallery/Gallery.mobile.tsx +23 -15
- package/src/components/Gallery/Gallery.ui.json +11 -1
- package/src/components/Gallery/GalleryCardInner.tsx +17 -26
- package/src/components/Gallery/GalleryContainer.tsx +1 -2
- package/src/components/Gallery/GalleryContent.ts +3 -1
- package/src/components/Gallery/GalleryInner.tsx +12 -5
- 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 +5 -4
- package/src/components/Headline/Headline.tsx +5 -4
- package/src/components/Headline/constants.ts +1 -7
- 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.fixture.tsx +72 -44
- package/src/components/MiniGallery/MiniGallery.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +1 -0
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +1 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +9 -2
- package/src/components/MobileAppTile/MobileAppTileContent.ts +6 -0
- 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.tsx +4 -5
- package/src/components/OtherProducts/OtherProductsContent.ts +4 -1
- package/src/components/OtherProductsItem/OtherProductsItem.example.json +2 -1
- package/src/components/OtherProductsItem/OtherProductsItem.tsx +34 -26
- package/src/components/OtherProductsItem/OtherProductsItemContent.ts +0 -4
- 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 +3 -3
- 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 +4 -4
- 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/AlignText.ts +7 -0
- package/src/model/BlocksRegistry.ts +1 -12
- package/src/model/ContentPageDef.ts +0 -9
- package/src/model/HeadlineType.ts +2 -2
- 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/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/List/ListItem.tsx +10 -7
- 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/ContentPage/ContentPageHead.d.ts +0 -7
- 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/ContentPage/ContentPageHead.d.ts +0 -7
- package/dist/components/ContentPage/ContentPageHead.js +0 -20
- package/dist/components/ContentPage/ContentPageHead.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/ContentPage/ContentPageHead.d.ts +0 -7
- package/lib/components/ContentPage/ContentPageHead.js +0 -18
- package/lib/components/ContentPage/ContentPageHead.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/ContentPage/ContentPageHead.d.ts +0 -7
- 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/ContentPage/ContentPageHead.d.ts +0 -7
- package/mobile/dist/components/ContentPage/ContentPageHead.js +0 -20
- package/mobile/dist/components/ContentPage/ContentPageHead.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/ContentPage/ContentPageHead.d.ts +0 -7
- package/mobile/lib/components/ContentPage/ContentPageHead.js +0 -18
- package/mobile/lib/components/ContentPage/ContentPageHead.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/ContentPage/ContentPageHead.tsx +0 -43
- 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/ContentPage/ContentPageHead.tsx +0 -43
- 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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderWantedSumInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderWantedSumInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAWhC,MAAM,UAAU,oBAAoB,
|
|
1
|
+
{"version":3,"file":"renderWantedSumInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderWantedSumInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAWhC,MAAM,UAAU,oBAAoB,CAClC,KAAa,EACb,MAA6B,EAC7B,QAAkC;IAElC,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,GAAG,kBAAkB,EAAE,WAAW,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;IAE7F,MAAM,KAAK,GAAG;QACZ,MAAM,uBAAuB,CAAC,MAAM,CAAC,IAAI;QACzC,MAAM,uBAAuB,CAAC,MAAM,CAAC,IAAI;KAC1C,CAAC;IAEF,OAAO,CACL,KAAC,UAAU,IACT,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAC/B,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EACxC,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { CardTransferContent } from './CardTransferContent';
|
|
3
3
|
export interface CardTransferProps extends CardTransferContent, UniBlockProps {
|
|
4
4
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
|
+
import { useLink } from '../../hooks/useLink.js';
|
|
4
5
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
|
-
import { CurrencyInput } from '../../ui-kit/CurrencyInput/CurrencyInput.js';
|
|
6
|
-
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
7
6
|
import { getDisabledButtonClasses } from '../../ui-kit/Button/getDisabledButtonClasses.js';
|
|
8
7
|
import { getRegularButtonClasses } from '../../ui-kit/Button/getRegularButtonClasses.js';
|
|
9
|
-
import {
|
|
8
|
+
import { CurrencyInput } from '../../ui-kit/CurrencyInput/CurrencyInput.js';
|
|
9
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
10
10
|
import { getSanitizedValue } from '../../utils/getSanitizedValue.js';
|
|
11
11
|
const AMOUNT_KEY = 'amount';
|
|
12
12
|
const FORM_URL = 'https://www.rshb.ru/p2p/';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAA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AO,KACZ,IAAI,aAEP,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,SAAS,EAAC,oBAAoB,EAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACzF,gBAAM,SAAS,EAAC,WAAW,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,EAAE,QAAQ,aACxD,KAAC,aAAa,IACZ,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,KAAK,EAAE,IAAI,CAAC,UAAU,EAClC,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,GACZ,EACD,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,CACd,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAE,mBAAmB,WAAW,GAAG,EAC5C,QAAQ,EAAE,UAAU,KAChB,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,YAEhD,MAAM,CAAC,IAAI,GACL,CACV,CAAC,CAAC,CAAC,IAAI,IACH,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type { UniBlockProps } from '../../model/
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import type { CatalogCardType } from './CatalogContent';
|
|
4
4
|
export interface CatalogCardProps extends CatalogCardType, UniBlockProps {
|
|
5
5
|
version?: BlockVersion;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { ComparisonTableContent } from './ComparisonTableContent';
|
|
3
3
|
export interface ComparisonTableProps extends ComparisonTableContent, UniBlockProps {
|
|
4
4
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { ContactsBlockContent } from './ContactsBlockContent';
|
|
3
|
+
export interface ContactsBlockProps extends ContactsBlockContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const ContactsBlock: import("@redneckz/uni-jsx").UNIComponent<ContactsBlockProps, any, any>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
+
import { Button } from '../../ui-kit/Button/Button.js';
|
|
5
|
+
import { Description } from '../../ui-kit/Description/Description.js';
|
|
6
|
+
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
7
|
+
const contactsBlockStyleMap = {
|
|
8
|
+
primary: 'bg-white',
|
|
9
|
+
secondary: 'bg-primary-main text-white',
|
|
10
|
+
};
|
|
11
|
+
export const ContactsBlock = JSX(({ className = '', contacts, context, info, contactsBlockVersion = 'secondary', ...rest }) => {
|
|
12
|
+
return (_jsxs(BlockWrapper, { context: context, className: `${contactsBlockStyleMap[contactsBlockVersion]} flex p-12 ${className}`, ...rest, children: [info ? renderInfo(info) : null, contacts ? renderContacts(contacts) : null] }));
|
|
13
|
+
});
|
|
14
|
+
const renderInfo = (info) => (_jsx("div", { className: "flex grow basis-0 pr-11", children: info.map(({ title, description, button }, index) => (_jsxs("div", { className: "grow basis-0 pr-11 last:pr-0", children: [_jsx(Heading, { as: "h5", headingType: "h5", title: title, className: "pb-2.5" }), _jsx(Description, { className: "text-l-light pb-6", description: description }), button ? _jsx(Button, { ...button }) : null] }, String(index)))) }));
|
|
15
|
+
const renderContacts = (contacts) => (_jsx("div", { className: "flex grow basis-0", children: contacts.map((contactsColumn, index) => renderContactsColumn({ contactsColumn, index })) }));
|
|
16
|
+
const renderContactsColumn = ({ contactsColumn, index }) => contactsColumn ? (_jsx("div", { className: "flex flex-col grow basis-0 pr-11", children: contactsColumn.map(({ title, description, additionalDescription }, key) => (_jsxs("div", { className: "pr-11 last:pr-0 last:mt-5", children: [_jsx(Heading, { as: "h5", headingType: "h5", title: title }), _jsx(Description, { className: "text-l-light mt-2.5", description: description }), additionalDescription ? (_jsx(Description, { className: "text-m-light mt-1.5 opacity-80", description: additionalDescription })) : null] }, String(key)))) }, String(index))) : null;
|
|
17
|
+
//# sourceMappingURL=ContactsBlock.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactsBlock.js","sourceRoot":"","sources":["../../../src/components/ContactsBlock/ContactsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAUvD,MAAM,qBAAqB,GAAG;IAC5B,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,4BAA4B;CACxC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,oBAAoB,GAAG,WAAW,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC3F,OAAO,CACL,MAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,GAAG,qBAAqB,CAAC,oBAAoB,CAAC,cAAc,SAAS,EAAE,KAC9E,IAAI,aAEP,IAAI,CAAC,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,EAC9B,QAAQ,CAAC,CAAC,CAAC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C,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,EAClD,KAAC,WAAW,IAAC,SAAS,EAAC,qBAAqB,EAAC,WAAW,EAAE,WAAW,GAAI,EACxE,qBAAqB,CAAC,CAAC,CAAC,CACvB,KAAC,WAAW,IACV,SAAS,EAAC,gCAAgC,EAC1C,WAAW,EAAE,qBAAqB,GAClC,CACH,CAAC,CAAC,CAAC,IAAI,KARsC,MAAM,CAAC,GAAG,CAAC,CASrD,CACP,CAAC,IAZmD,MAAM,CAAC,KAAK,CAAC,CAa9D,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
+
/**
|
|
4
|
+
* @title Контакты
|
|
5
|
+
*/
|
|
6
|
+
export interface ContactsBlockContent {
|
|
7
|
+
/**
|
|
8
|
+
* @title Данные
|
|
9
|
+
* @maxItems 2
|
|
10
|
+
* */
|
|
11
|
+
info?: InfoItemProps[];
|
|
12
|
+
/**
|
|
13
|
+
* @title Контакты
|
|
14
|
+
* @maxItems 2
|
|
15
|
+
* */
|
|
16
|
+
contacts?: ContactItemProps[][];
|
|
17
|
+
contactsBlockVersion?: 'secondary';
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @title Элемент плитки
|
|
21
|
+
*/
|
|
22
|
+
export interface ContactItemProps {
|
|
23
|
+
/** @title Дополнительное описание */
|
|
24
|
+
additionalDescription?: string;
|
|
25
|
+
/** @title Описание */
|
|
26
|
+
description?: string;
|
|
27
|
+
/** @title Заголовок */
|
|
28
|
+
title?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @title Элемент плитки
|
|
32
|
+
*/
|
|
33
|
+
export interface InfoItemProps extends HeadlineCommonProps {
|
|
34
|
+
/** @title Кнопка */
|
|
35
|
+
button?: ButtonProps;
|
|
36
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ContactsBlockContent.js","sourceRoot":"","sources":["../../../src/components/ContactsBlock/ContactsBlockContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { BlockDecorator } from '../../model/BlockDecorator';
|
|
2
2
|
import type { BlocksRegistry } from '../../model/BlocksRegistry';
|
|
3
|
-
import type { ContentPageDef
|
|
3
|
+
import type { ContentPageDef } from '../../model/ContentPageDef';
|
|
4
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
5
|
interface ContentPageProps extends UniBlockProps {
|
|
5
6
|
blocksRegistry: BlocksRegistry;
|
|
6
7
|
data?: ContentPageDef;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ContentPage.js","sourceRoot":"","sources":["../../../src/components/ContentPage/ContentPage.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAKxC,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAQ5C,MAAM,qBAAqB,GAAmB,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,EAAE,CAClF,MAAM,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,CAAC;AAEpC,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAmB,CAAC,KAAK,EAAE,EAAE;IACzD,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,OAAO,EAAE,IAAI,GAAG,EAAE,EAAE,GA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,SAAS,CACV,CACF,CAAC;AACN,CAAC;AAED,SAAS,iBAAiB,CAAC,OAA2B;IACpD,OAAO,CACL,cAAK,SAAS,EAAC,qEAAqE,YAClF,KAAC,WAAW,IAEV,SAAS,EAAC,mDAAmD,EAC7D,OAAO,EAAE,OAAO,IAFZ,aAAa,CAGjB,GACE,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -19,7 +19,7 @@ export function renderBlock(block, options, ancestors = DEFAULT_ANCESTORS) {
|
|
|
19
19
|
// Adjusted by decorator block and blockClassName
|
|
20
20
|
render: ({ block: adjustedBlock, blockClassName: adjustedBlockClassName }) => {
|
|
21
21
|
const { version, anchor, labels, content } = adjustedBlock;
|
|
22
|
-
return BlockComponent ? (_jsx(BlockComponent, { className: adjustedBlockClassName, context: context, page: page, version: version, anchor: anchor, labels: labels, ...content, children: children }, key)) : null;
|
|
22
|
+
return BlockComponent ? (_jsx(BlockComponent, { className: adjustedBlockClassName, context: context, page: page, ancestors: ancestors, version: version, anchor: anchor, labels: labels, ...content, children: children }, key)) : null;
|
|
23
23
|
},
|
|
24
24
|
}, key);
|
|
25
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBlock.js","sourceRoot":"","sources":["../../../src/components/ContentPage/renderBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAkC,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAI/F,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAW9D,MAAM,oBAAoB,GAAG,CAAC,CAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAE7C,MAAM,UAAU,WAAW,CACzB,KAAe,EACf,OAA2B,EAC3B,YAA4B,iBAAiB;IAE7C,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;IACvE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAE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AE;QAC9D,KAAK;QACL,SAAS;QACT,iDAAiD;QACjD,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,sBAAsB,EAAE,EAAE,EAAE;YAC3E,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,aAAa,CAAC;YAE3D,OAAO,cAAc,CAAC,CAAC,CAAC,CACtB,KAAC,cAAc,IAEb,SAAS,EAAE,sBAAsB,EACjC,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,EACV,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,MAAM,KACV,OAAO,YAEV,QAAQ,IAVJ,GAAG,CAWO,CAClB,CAAC,CAAC,CAAC,IAAI,CAAC;QACX,CAAC;KACF,EACD,GAAG,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
export function renderContentPageHead(data) {
|
|
3
|
+
const { title, main, og, twitter, jsonLd } = data;
|
|
4
|
+
const { description, keywords, canonical, robots } = main || {};
|
|
5
|
+
return [
|
|
6
|
+
_jsx("title", { children: title }),
|
|
7
|
+
_jsx("meta", { name: "viewport", content: "width=device-width, initial-scale=1" }),
|
|
8
|
+
description ? _jsx("meta", { name: "description", content: description }) : null,
|
|
9
|
+
keywords ? _jsx("meta", { name: "keywords", content: keywords.join(',') }) : null,
|
|
10
|
+
robots ? _jsx("meta", { name: "robots", content: robots.join(',') }) : null,
|
|
11
|
+
renderOpenGraph(og),
|
|
12
|
+
renderTwitter(twitter),
|
|
13
|
+
canonical ? _jsx("link", { rel: "canonical", href: canonical }) : null,
|
|
14
|
+
jsonLd ? _jsx("script", { type: "application/ld+json", children: jsonLd }) : null,
|
|
15
|
+
].filter(Boolean);
|
|
16
|
+
}
|
|
17
|
+
function renderOpenGraph(og) {
|
|
18
|
+
return og
|
|
19
|
+
? Object.entries(og).map(([key, value]) => (_jsx("meta", { property: `og:${key}`, content: value }, key)))
|
|
20
|
+
: null;
|
|
21
|
+
}
|
|
22
|
+
function renderTwitter(twitter) {
|
|
23
|
+
return twitter
|
|
24
|
+
? Object.entries(twitter).map(([key, value]) => (_jsx("meta", { name: `twitter:${key}`, content: value }, key)))
|
|
25
|
+
: null;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=renderContentPageHead.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderContentPageHead.js","sourceRoot":"","sources":["../../../src/components/ContentPage/renderContentPageHead.tsx"],"names":[],"mappings":";AAEA,MAAM,UAAU,qBAAqB,CAAC,IAAqB;IACzD,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAClD,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI,IAAI,EAAE,CAAC;IAEhE,OAAO;QACL,0BAAQ,KAAK,GAAS;QACtB,eAAM,IAAI,EAAC,UAAU,EAAC,OAAO,EAAC,qCAAqC,GAAG;QACtE,WAAW,CAAC,CAAC,CAAC,eAAM,IAAI,EAAC,aAAa,EAAC,OAAO,EAAE,WAAW,GAAI,CAAC,CAAC,CAAC,IAAI;QACtE,QAAQ,CAAC,CAAC,CAAC,eAAM,IAAI,EAAC,UAAU,EAAC,OAAO,EAAE,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI;QACvE,MAAM,CAAC,CAAC,CAAC,eAAM,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI;QACjE,eAAe,CAAC,EAAE,CAAC;QACnB,aAAa,CAAC,OAAO,CAAC;QACtB,SAAS,CAAC,CAAC,CAAC,eAAM,GAAG,EAAC,WAAW,EAAC,IAAI,EAAE,SAAS,GAAI,CAAC,CAAC,CAAC,IAAI;QAC5D,MAAM,CAAC,CAAC,CAAC,iBAAQ,IAAI,EAAC,qBAAqB,YAAE,MAAM,GAAU,CAAC,CAAC,CAAC,IAAI;KACrE,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AACpB,CAAC;AAED,SAAS,eAAe,CAAC,EAAsC;IAC7D,OAAO,EAAE;QACP,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CACvC,eAAgB,QAAQ,EAAE,MAAM,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,IAA1C,GAAG,CAA2C,CAC1D,CAAC;QACJ,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,SAAS,aAAa,CAAC,OAA2C;IAChE,OAAO,OAAO;QACZ,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,CAC5C,eAAgB,IAAI,EAAE,WAAW,GAAG,EAAE,EAAE,OAAO,EAAE,KAAK,IAA3C,GAAG,CAA4C,CAC3D,CAAC;QACJ,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
2
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
+
import { Currency } from './CurrencyProps';
|
|
4
4
|
export interface ExchangeCurrencyItem {
|
|
5
5
|
code?: Currency;
|
|
6
6
|
buy?: number;
|
|
@@ -3,10 +3,10 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
4
|
import { useLink } from '../../hooks/useLink.js';
|
|
5
5
|
import { Button } from '../../ui-kit/Button/Button.js';
|
|
6
|
-
import { renderInput } from './renderInput.js';
|
|
7
6
|
import { calculateResult, formatValue } from './calculateResult.js';
|
|
8
7
|
import { callbackCurrencySelect } from './callbackCurrencySelect.js';
|
|
9
8
|
import { Currency } from './CurrencyProps.js';
|
|
9
|
+
import { renderInput } from './renderInput.js';
|
|
10
10
|
export const ExchangeCurrencyCalculator = JSX(({ context, className = '', currencyRatesBuy, currencyRatesSell, button }) => {
|
|
11
11
|
const { useRouter, handlerDecorator } = context;
|
|
12
12
|
const router = useRouter();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExchangeCurrencyCalculator.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"ExchangeCurrencyCalculator.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;A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,YAAY,CAAC,EAAE,QAAQ,EAAE,WAAW,CAAC,KAAK,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,CAAC;IACrE,MAAM,IAAI,GACR,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,QAAQ,CAAC,EAAE,IAAI;QACvD,gBAAgB,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,EAAE,GAAG,CAAC;IACvD,IAAI,IAAI,EAAE;QACR,YAAY,CAAC;YACX,SAAS,EAAE,MAAM,CAAC,eAAe,CAAC,KAAK,EAAE,IAAI,EAAE,MAAM,KAAK,QAAQ,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC;SAC/E,CAAC,CAAC;KACJ;AACH,CAAC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { ExchangeRateTileContent } from './ExchangeRateTileContent';
|
|
3
3
|
export interface ExchangeRateTileProps extends ExchangeRateTileContent, UniBlockProps {
|
|
4
4
|
}
|
|
@@ -18,7 +18,6 @@ export const ExchangeRateTile = JSX(({ className = '', context, title = 'Кур
|
|
|
18
18
|
currencyRatesBuy.unshift({ code: Currency.RUB });
|
|
19
19
|
const currencyRatesSell = currencyRates.filter((_) => _.sell);
|
|
20
20
|
currencyRatesSell.push({ code: Currency.RUB });
|
|
21
|
-
return (_jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border min-h-[320px]
|
|
22
|
-
${className}`, ...rest, children: _jsx(BaseTile, { context: context, title: _jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: _jsxs("div", { className: "flex", children: [_jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (_jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, _jsx(CurrentLocation, { ...DEFAULT_LOCATION })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (_jsx(ExchangeCurrencyCalculator, { className: "grow", context: context, currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
|
|
21
|
+
return (_jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border min-h-[320px] ${className}`, ...rest, children: _jsx(BaseTile, { context: context, title: _jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: _jsxs("div", { className: "flex", children: [_jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (_jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, _jsx(CurrentLocation, { ...DEFAULT_LOCATION })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (_jsx(ExchangeCurrencyCalculator, { className: "grow", context: context, currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
|
|
23
22
|
});
|
|
24
23
|
//# sourceMappingURL=ExchangeRateTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExchangeRateTile.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateTile/ExchangeRateTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AA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YAAY,aACxB,aAAa,CAAC,CAAC,CAAC,CACf,KAAC,aAAa,IAAC,SAAS,EAAC,WAAW,EAAC,qBAAqB,EAAE,aAAa,GAAI,CAC9E,CAAC,CAAC,CAAC,IAAI,EACR,KAAC,eAAe,OAAK,gBAAgB,GAAI,IACrC,EACL,aAAa,CAAC,MAAM,IAAI,gBAAgB,CAAC,MAAM,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC,CAAC,CAC7E,KAAC,0BAA0B,IACzB,SAAS,EAAC,MAAM,EAChB,OAAO,EAAE,OAAO,EAChB,gBAAgB,EAAE,gBAAgB,EAClC,iBAAiB,EAAE,iBAAiB,EACpC,MAAM,EAAE,MAAM,GACd,CACH,CAAC,CAAC,CAAC,IAAI,IACJ,GACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -4,8 +4,8 @@ import { useSitemap } from '../../services/sitemap/useSitemap.js';
|
|
|
4
4
|
import { Button } from '../../ui-kit/Button/Button.js';
|
|
5
5
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
6
|
import { SearchBar } from '../../ui-kit/SearchBar/SearchBar.js';
|
|
7
|
-
import { AccordionItem } from '../Accordion/AccordionItem.js';
|
|
8
7
|
import { AccordionItemsList } from '../Accordion/AccordionItemsList.js';
|
|
8
|
+
import { AccordionItem } from '../AccordionItem/AccordionItem.js';
|
|
9
9
|
import { LinkList } from '../LinkList/LinkList.js';
|
|
10
10
|
import { MobileAppTile } from '../MobileAppTile/MobileAppTile.js';
|
|
11
11
|
import { Contacts } from './Contacts.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../../src/components/Footer/Footer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC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,EAAE,SAAS,EAAC,sBAAsB,aACpF,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,EACjF,eAAM,SAAS,EAAC,sCAAsC,YAAE,IAAI,GAAQ,KAF1C,UAAU,CAAC,EAAE,CAGhC,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
2
1
|
import type { TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import type { FooterLink } from './FooterLink';
|
|
4
4
|
export interface HorizontalNavigationProps extends FooterLink, UniBlockProps, TitleProps {
|
|
5
5
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
2
|
-
import type { TopMenuItem } from '../../services/sitemap/SitemapProps';
|
|
3
1
|
import type { Fallback } from '../../model/Fallback';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
|
+
import type { TopMenuItem } from '../../services/sitemap/SitemapProps';
|
|
4
4
|
export interface SitemapProps extends UniBlockProps {
|
|
5
5
|
items?: TopMenuItem[];
|
|
6
6
|
fallback?: Fallback;
|
|
@@ -10,10 +10,10 @@ export const Sitemap = JSX(({ className = '', items, fallback, context }) => {
|
|
|
10
10
|
router: context.useRouter(),
|
|
11
11
|
handlerDecorator: context.handlerDecorator,
|
|
12
12
|
};
|
|
13
|
-
return (_jsx("div", { className: `flex flex-grow items-start justify-between gap-[54px] xl:gap-5 ${className}`, children: mergedItems?.map((_, i) => renderColumn(_, i, linkParams)) }));
|
|
13
|
+
return (_jsx("div", { className: `flex flex-grow items-start justify-between gap-[54px] xl:gap-5 ${className}`, children: mergedItems?.map((_, i) => renderColumn({ menuItem: _, index: i, ...linkParams })) }));
|
|
14
14
|
});
|
|
15
|
-
const renderColumn = (
|
|
16
|
-
const { text, href, items, target } =
|
|
15
|
+
const renderColumn = ({ menuItem, index, router, handlerDecorator }) => {
|
|
16
|
+
const { text, href, items, target } = menuItem;
|
|
17
17
|
return (_jsxs("div", { className: "flex flex-col w-1/5 last:w-1/4 gap-3.5", children: [_jsx("a", { className: "block leading-5 text-l text-primary-text hover:text-primary-main no-underline", href: href, target: target || '_self', children: text || `Раздел ${index}` }), items?.map((_, i) => (_jsx(ColumnItem, { ...useLink({ router, handlerDecorator }, _), index: i }, String(i))))] }, String(index)));
|
|
18
18
|
};
|
|
19
19
|
const ColumnItem = JSX(({ text, href, target, index }) => (_jsx("a", { className: "block text-l-light text-secondary-text hover:text-primary-main no-underline", href: href, target: target || '_self', children: text || `Раздел ${index}` })));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../../src/components/Footer/Sitemap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../../src/components/Footer/Sitemap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAI9C,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAe/D,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CAAe,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IACxF,MAAM,OAAO,GAAG,UAAU,CA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AAM,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,CACzE,YACE,SAAS,EAAC,6EAA6E,EACvF,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,YAExB,IAAI,IAAI,UAAU,KAAK,EAAE,GACxB,CACL,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
-
import type { UniBlockProps } from '../../model/
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
4
4
|
export interface SocialMediaProps extends UniBlockProps {
|
|
5
5
|
media?: Omit<LinkProps, 'text'>[];
|
|
@@ -14,10 +14,11 @@ function renderCardsLayout(orientation, cards, context) {
|
|
|
14
14
|
}
|
|
15
15
|
function renderCard(card, key) {
|
|
16
16
|
return (_jsxs("div", { className: `h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col
|
|
17
|
-
${VersionStyleMap[card.version ?? 'primary']}`, children: [_jsxs("div", { children: [
|
|
17
|
+
${VersionStyleMap[card.version ?? 'primary']}`, children: [_jsxs("div", { children: [renderImage(card.icon), card.title ? _jsx("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
|
|
18
18
|
}
|
|
19
|
+
const renderImage = (image) => image?.src || image?.icon ? (_jsx("div", { className: "flex justify-center", children: _jsx(Img, { className: "mb-3.5", image: image }) })) : null;
|
|
19
20
|
function renderButton(button) {
|
|
20
|
-
return
|
|
21
|
+
return _jsx(Button, { className: "mt-3", ...button });
|
|
21
22
|
}
|
|
22
23
|
function renderDescription(card) {
|
|
23
24
|
return (_jsx("div", { className: `text-secondary-text mt-1 text-s ${card.version === 'secondary' ? 'text-white opacity-80' : ''}`, children: card.description }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.js","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"Gallery.js","sourceRoot":"","sources":["../../../src/components/Gallery/Gallery.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAEpD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAE3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAMlF,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,WAAW,GAAG,YAAY,EAAE,EAAE,EAAE;IACrF,MAAM,gBAAgB,GAAG,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IAEvD,OAAO,CACL,mBACE,SAAS,EAAE,2EAA2E,SAAS,EAAE,aAEjG,eAAK,SAAS,EAAC,iCAAiC,aAC7C,KAAK,CAAC,CAAC,CAAC,CACP,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAE,eAAe,gBAAgB,EAAE,EAAE,KAAK,EAAE,KAAK,GAAI,CACzF,CAAC,CAAC,CAAC,IAAI,EACP,WAAW,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAC,uCAAuC,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CAAC,GACM,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
import { jsxs as _jsxs, jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { AlignText } from '../../model/AlignText.js';
|
|
3
4
|
import { Button } from '../../ui-kit/Button/Button.js';
|
|
4
5
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
5
6
|
import { List } from '../../ui-kit/List/List.js';
|
|
6
7
|
import { HEADLINE_SMALL_VERSION } from '../Headline/constants.js';
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
center: 'text-center',
|
|
10
|
-
right: 'text-right',
|
|
11
|
-
};
|
|
12
|
-
export const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'XL_L', description, additionalDescription, image, items, button, version, isDotted = true, align = 'center', }) => {
|
|
13
|
-
return (_jsxs("div", { className: `h-full flex flex-col justify-between ${ALIGN_TITLE[align]}`, children: [_jsxs("div", { className: "flex flex-col h-full", children: [renderImage(image), renderCardTitle(headlineSmallVersion, title), renderDescription(description, title), renderAdditionalDescription(additionalDescription), items?.length ? renderItems(items, isDotted, version) : null] }), button ? renderButton(button) : null] }));
|
|
8
|
+
export const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, version, isDotted = true, align = 'center', }) => {
|
|
9
|
+
return (_jsxs("div", { className: `h-full flex flex-col justify-between ${AlignText[align]}`, children: [_jsxs("div", { className: "flex flex-col h-full", children: [renderImage(icon), renderCardTitle(headlineSmallVersion, title), renderDescription(description, title), items?.length ? renderItems(items, isDotted, version) : null, renderAdditionalDescription(additionalDescription)] }), button?.text ? _jsx(Button, { className: "mt-6", ...button }) : null] }));
|
|
14
10
|
});
|
|
15
|
-
const renderImage = (image) =>
|
|
11
|
+
const renderImage = (image) => (_jsxs("div", { className: "flex justify-center", children: [image?.src ? _jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? (_jsx(Img, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: image, asSVG: true })) : null] }));
|
|
16
12
|
const renderCardTitle = (headlineSmallVersion, title) => title ? _jsx("div", { className: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
|
|
17
|
-
const renderDescription = (description, title) => description ? _jsx("div", { className: `text-
|
|
13
|
+
const renderDescription = (description, title) => description ? _jsx("div", { className: `text-l ${title ? 'mt-2' : ''}`, children: description }) : null;
|
|
18
14
|
const renderAdditionalDescription = (additionalDescription) => additionalDescription ? (_jsx("div", { className: "text-m-light text-secondary-text mt-auto", children: additionalDescription })) : null;
|
|
19
|
-
const
|
|
20
|
-
const renderItems = (items, isDotted, version = 'primary') => (_jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "mt-1 text-left first:mt-0", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version }));
|
|
15
|
+
const renderItems = (items, isDotted, version = 'primary') => (_jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version }));
|
|
21
16
|
//# sourceMappingURL=GalleryCardInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"GalleryCardInner.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryCardInner.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGlD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAA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Headline } from '../Headline/Headline.js';
|
|
5
5
|
import { cardStyleMap, cardWidthMap, galleryLengthForScrollMap } from './constants.js';
|
|
6
6
|
import { GalleryCardInner } from './GalleryCardInner.js';
|
|
7
|
-
export const GalleryContainer = JSX(({ context, title, headlineVersion = '
|
|
8
|
-
return (_jsxs("div", { children: [_jsx(
|
|
7
|
+
export const GalleryContainer = JSX(({ context, title, headlineVersion = 'M', description, cards = [], version = 'normal', activeCardIndex, }) => {
|
|
8
|
+
return (_jsxs("div", { children: [_jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: headlineVersion, align: "center" }), _jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeCardIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version, context }, i)) })] }));
|
|
9
9
|
});
|
|
10
10
|
function renderCard({ card, version }, i) {
|
|
11
11
|
return (_jsx("section", { className: `box-border border-solid border border-main-stroke p-6 mx-2 flex flex-col justify-between
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GalleryContainer.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AActD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EACC,OAAO,EACP,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,KAAK,GAAG,EAAE,EACV,OAAO,GAAG,QAAQ,EAClB,eAAe,GAChB,EAAE,EAAE;IACH,OAAO,CACL,0BACE,
|
|
1
|
+
{"version":3,"file":"GalleryContainer.js","sourceRoot":"","sources":["../../../src/components/Gallery/GalleryContainer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAG3D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACpF,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AActD,MAAM,CAAC,MAAM,gBAAgB,GAAG,GAAG,CACjC,CAAC,EACC,OAAO,EACP,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,KAAK,GAAG,EAAE,EACV,OAAO,GAAG,QAAQ,EAClB,eAAe,GAChB,EAAE,EAAE;IACH,OAAO,CACL,0BACE,KAAC,QAAQ,IACP,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAC,QAAQ,GACd,EACF,cACE,SAAS,EAAE,aACT,KAAK,EAAE,MAAM,IAAI,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAC3E,gBAAgB,EAChB,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,eAAe,GAAG,YAAY,CAAC,OAAO,CAAC,KAAK,EAAE,EACjF,IAAI,EAAC,MAAM,YAEV,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,UAAU,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,CAAC,GAC/D,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,EAAE,IAAI,EAAE,OAAO,EAAmB,EAAE,CAAS;IAC/D,OAAO,CACL,kBACE,SAAS,EAAE;wBACO,YAAY,CAAC,OAAO,CAAC,IACrC,eAAe,CAAC,IAAI,CAAC,OAAO,IAAI,SAAS,CAC3C,oBAAoB,EAEpB,IAAI,EAAC,UAAU,YAEf,KAAC,gBAAgB,OAAK,IAAI,GAAI,IAHzB,MAAM,CAAC,CAAC,CAAC,CAIN,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -18,6 +18,7 @@ export interface GalleryItemProps {
|
|
|
18
18
|
* @default {"headlineSmallVersion": "XL_L"}
|
|
19
19
|
*/
|
|
20
20
|
export declare type GalleryCardProps = HeadlineSmallProps & {
|
|
21
|
+
/** @title Дополнительное описание */
|
|
21
22
|
additionalDescription?: string;
|
|
22
23
|
/**
|
|
23
24
|
* @default {
|
|
@@ -33,7 +34,7 @@ export declare type GalleryCardProps = HeadlineSmallProps & {
|
|
|
33
34
|
* }]
|
|
34
35
|
* }
|
|
35
36
|
*/
|
|
36
|
-
|
|
37
|
+
icon?: Picture;
|
|
37
38
|
/** @title Кнопка */
|
|
38
39
|
button?: ButtonWithIconProps;
|
|
39
40
|
/**
|
|
@@ -61,4 +62,5 @@ export declare type GalleryContent = HeadlineProps & {
|
|
|
61
62
|
cards?: GalleryCardProps[];
|
|
62
63
|
/** @title Отображать элементы в моб. версии (прокрутка shift+mouseScroll) */
|
|
63
64
|
orientation?: ListOrientation;
|
|
65
|
+
button?: ButtonWithIconProps;
|
|
64
66
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
2
1
|
import type { GalleryVersion } from '../../model/GalleryVersion';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import type { GalleryContent } from './GalleryContent';
|
|
4
4
|
export interface GalleryInnerProps extends GalleryContent, UniBlockProps {
|
|
5
5
|
version?: GalleryVersion;
|