@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":"BonusBenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAs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AAiD,EAC3D,KAAK,EAAE,YAAY,CAAC,IAAI,EACxB,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,GACZ,CACH,CAAC,CAAC,CAAC,IAAI,EACR,wBACG,YAAY,EAAE,KAAK,CAAC,CAAC,CAAC,eAAM,SAAS,EAAC,aAAa,YAAE,YAAY,CAAC,KAAK,GAAQ,CAAC,CAAC,CAAC,IAAI,GACnF,KAXE,MAAM,CAAC,CAAC,CAAC,CAYb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAAsB,EAAE,EAAE,CACtD,QAAQ,KAAK,GAAG,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC"}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
import type { IconProps } from '../../model/Picture';
|
|
2
1
|
import type { LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { IconProps } from '../../model/Picture';
|
|
3
|
+
/**
|
|
4
|
+
* @title Количество элементов в строке
|
|
5
|
+
* @enumNames [
|
|
6
|
+
* "Четыре колонки",
|
|
7
|
+
* "Пять колонок",
|
|
8
|
+
* ]
|
|
9
|
+
*/
|
|
10
|
+
export declare type ColumnsCount = '4' | '5';
|
|
3
11
|
/**
|
|
4
12
|
* @title Бонус и преимущество
|
|
5
13
|
*/
|
|
@@ -12,4 +20,5 @@ export declare type BonusBenefitsBlockContent = TitleProps & {
|
|
|
12
20
|
subtitle?: string;
|
|
13
21
|
/** @title Список бонусов */
|
|
14
22
|
bonusBenefits?: BonusBenefit[];
|
|
23
|
+
columnsCount?: ColumnsCount;
|
|
15
24
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import { CommonCalculatorProps } from './CalculatorContent';
|
|
3
3
|
export interface BonusCalculatorProps extends CommonCalculatorProps, UniBlockProps {
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import { CommonCalculatorProps } from './CalculatorContent';
|
|
3
3
|
export declare const ANNUITY = "annuity";
|
|
4
4
|
export declare const DIFFERENTIAL = "differential";
|
|
@@ -39,7 +39,8 @@ export const CreditCalculatorForm = JSX(({ context, className = '', sourceBookDi
|
|
|
39
39
|
monthsValue,
|
|
40
40
|
};
|
|
41
41
|
const calculatorParams = useCreditCalculatorParams(userInputParams, sourceBookDir);
|
|
42
|
-
return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue), _jsxs("div", { className: "mt-7", children: [_jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), _jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), _jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), _jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [_jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), renderPaymentTypeSelector(
|
|
42
|
+
return (_jsxs("section", { className: className, children: [_jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, setMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, setMonthsValue), _jsxs("div", { className: "mt-7", children: [_jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), _jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), _jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), _jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [_jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), renderPaymentTypeSelector({
|
|
43
|
+
context,
|
|
43
44
|
items: paymentTypeItems,
|
|
44
45
|
checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL,
|
|
45
46
|
onChange: (text) => toggleIsAnnuity(text === ANNUITY),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC;AACjC,MAAM,CAAC,MAAM,YAAY,GAAG,cAAc,CAAC;AAE3C,MAAM,gBAAgB,GAAG;IACvB;QACE,EAAE,EAAE,OAAO;QACX,IAAI,EAAE,aAAa;KACpB;IACD;QACE,EAAE,EAAE,YAAY;QAChB,IAAI,EAAE,oBAAoB;KAC3B;CACF,CAAC;AAIF,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,C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EAAE,qBAAqB,GAC/B,EACF,KAAC,QAAQ,IACP,SAAS,EAAC,MAAM,EAChB,IAAI,EAAC,gKAA8B,EACnC,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,iBAAiB,GAC3B,IACE,IACF,EACN,KAAC,IAAI,IACH,KAAK,EAAC,sCAAQ,EACd,IAAI,EAAE,gBAAgB,CAAC,SAAS,EAChC,kBAAkB,EAAC,kBAAkB,EACrC,IAAI,EAAC,GAAG,GACR,EACF,eAAK,SAAS,EAAC,sBAAsB,aACnC,KAAC,oBAAoB,IACnB,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,oBAAoB,CAAC,CAAC,CAAC,uBAAuB,EACjE,KAAK,EAAE,gBAAgB,CAAC,cAAc,EACtC,OAAO,EAAC,QAAG,GACX,EACD,yBAAyB,CAAC,OAAO
|
|
1
|
+
{"version":3,"file":"CreditCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/CreditCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,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'../../model/
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import { CommonCalculatorProps, DepositCalculatorParams } from './CalculatorContent';
|
|
3
3
|
export interface DepositCalculatorProp extends DepositCalculatorParams, CommonCalculatorProps, UniBlockProps {
|
|
4
4
|
}
|
|
@@ -36,7 +36,8 @@ export const DepositCalculatorForm = JSX(({ context, className = '', rate, butto
|
|
|
36
36
|
minMonths: DEFAULT_MIN_MONTHS,
|
|
37
37
|
maxMonths: DEFAULT_MAX_MONTHS,
|
|
38
38
|
monthsValue,
|
|
39
|
-
}, setMonthsValue)] }), _jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (_jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finallySum ? (_jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finallySum, postfix: "\u20BD" })) : null, renderPaymentTypeSelector(
|
|
39
|
+
}, setMonthsValue)] }), _jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), _jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (_jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finallySum ? (_jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finallySum, postfix: "\u20BD" })) : null, renderPaymentTypeSelector({
|
|
40
|
+
context,
|
|
40
41
|
items: depositTypeItems,
|
|
41
42
|
checkedItem: isEveryMonth ? EVERY_MONTH : AT_END_TERM,
|
|
42
43
|
onChange: (text) => toggleIsEveryMonth(text === EVERY_MONTH),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO;AAEP,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,cAAc,EACd,WAAW,GACZ,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAO9D,MAAM,WAAW,GAAG,YAAY,CAAC;AACjC,MAAM,WAAW,GAAG,WAAW,CAAC;AAEhC,MAAM,gBAAgB,GAAG;IACvB;QACE,EAAE,EAAE,WAAW;QACf,IAAI,EAAE,YAAY;KACnB;IACD;QACE,EAAE,EAAE,WAAW;QACf,IAAI,EAAE,eAAe;KACtB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CACtC,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IACvD,MAAM,CAAC,UAAU,EAAE,aAAa,CAAC,GAAG,QAAQ,CAAC,WAAW,CAAC,CAAC;IAC1D,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,QAAQ,CAAC,cAAc,CAAC,CAAC;IAC/D,MAAM,CAAC,YAAY,EAAE,kBAAkB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE3D,MAAM,MAAM,GAAG,MAAM,CAAC;IACtB,MAAM,UAAU,GAAG,OAAO,CAAC;IAE3B,OAAO,CACL,mBAAS,SAAS,EAAE,SAAS,aAC3B,eAAK,SAAS,EAAC,WAAW,aACvB,oBAAoB,CACnB,iBAAiB,EACjB;wBACE,UAAU;wBACV,MAAM,EAAE,eAAe;wBACvB,MAAM,EAAE,eAAe;qBACxB,EACD,aAAa,CACd,EACA,iBAAiB,CAChB,sBAAsB,EACtB;wBACE,SAAS,EAAE,kBAAkB;wBAC7B,SAAS,EAAE,kBAAkB;wBAC7B,WAAW;qBACZ,EACD,cAAc,CACf,IACG,EACN,KAAC,IAAI,IAAC,IAAI,EAAE,IAAI,IAAI,CAAC,EAAE,kBAAkB,EAAC,kBAAkB,EAAC,IAAI,EAAC,GAAG,GAAG,EACxE,eAAK,SAAS,EAAC,sBAAsB,aAClC,MAAM,CAAC,CAAC,CAAC,CACR,KAAC,oBAAoB,IAAC,KAAK,EAAC,kFAAiB,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAC,QAAG,EAAC,MAAM,EAAC,GAAG,GAAG,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,UAAU,CAAC,CAAC,CAAC,CACZ,KAAC,oBAAoB,IAAC,KAAK,EAAC,qGAAqB,EAAC,KAAK,EAAE,UAAU,EAAE,OAAO,EAAC,QAAG,GAAG,CACpF,CAAC,CAAC,CAAC,IAAI,EACP,yBAAyB,CAAC,OAAO
|
|
1
|
+
{"version":3,"file":"DepositCalculatorForm.js","sourceRoot":"","sources":["../../../src/components/Calculator/DepositCalculatorForm.tsx"],"names":[],"mappings":";AAAA,OAAO;AAEP,OAAO,EAAE,GAAG,EAAE,MAAM,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
-
|
|
2
|
+
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
3
|
+
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
4
|
+
export declare function renderButtonSection(context: ContentPageContext, buttons?: ButtonWithIconProps[]): JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderButtonSection.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderButtonSection.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"renderButtonSection.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderButtonSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAGlE,MAAM,UAAU,mBAAmB,CAAC,OAA2B,EAAE,OAA+B;IAC9F,OAAO,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,KAAC,aAAa,IAAC,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAC,0BAA0B,GAAG,CAC3F,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const renderFootnote: (text
|
|
2
|
+
export declare const renderFootnote: (text?: string) => JSX.Element | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderFootnote.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderFootnote.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"renderFootnote.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderFootnote.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,IAAa,EAAE,EAAE,CAC9C,IAAI,CAAC,CAAC,CAAC,YAAG,SAAS,EAAC,uCAAuC,YAAE,IAAI,GAAK,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
interface RenderWantedSumInputParams {
|
|
3
3
|
moneyValue: number;
|
|
4
4
|
}
|
|
5
|
-
export declare function renderInitialFeeInput(
|
|
5
|
+
export declare function renderInitialFeeInput(props: RenderWantedSumInputParams, title?: string, callback?: (value: number) => void): JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -4,7 +4,7 @@ import { InputRange } from '../../ui-kit/InputRange/InputRange.js';
|
|
|
4
4
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers.js';
|
|
5
5
|
import { DEFAULT_MAX_SUM, DEFAULT_MIN_SUM } from './constants.js';
|
|
6
6
|
const STEP_MONEY = 1000;
|
|
7
|
-
export function renderInitialFeeInput(
|
|
7
|
+
export function renderInitialFeeInput(props, title, callback) {
|
|
8
8
|
const { moneyValue } = props;
|
|
9
9
|
const minSum = DEFAULT_MIN_SUM;
|
|
10
10
|
const maxSum = DEFAULT_MAX_SUM;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderInitialFeeInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderInitialFeeInput.tsx"],"names":[],"mappings":";AAAA,OAAO;AACP,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE/D,MAAM,UAAU,GAAG,IAAI,CAAC;AAMxB,MAAM,UAAU,qBAAqB,
|
|
1
|
+
{"version":3,"file":"renderInitialFeeInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderInitialFeeInput.tsx"],"names":[],"mappings":";AAAA,OAAO;AACP,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE/D,MAAM,UAAU,GAAG,IAAI,CAAC;AAMxB,MAAM,UAAU,qBAAqB,CACnC,KAAiC,EACjC,KAAc,EACd,QAAkC;IAElC,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAE7B,MAAM,MAAM,GAAG,eAAe,CAAC;IAC/B,MAAM,MAAM,GAAG,eAAe,CAAC;IAE/B,OAAO,CACL,KAAC,UAAU,IACT,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE;YACL,MAAM,uBAAuB,CAAC,MAAM,CAAC,SAAS;YAC9C,MAAM,uBAAuB,CAAC,MAAM,CAAC,SAAS;SAC/C,EACD,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -4,5 +4,5 @@ interface RenderMonthsInputParams {
|
|
|
4
4
|
maxMonths: number;
|
|
5
5
|
monthsValue: number;
|
|
6
6
|
}
|
|
7
|
-
export declare function renderMonthsInput(title: string, params: RenderMonthsInputParams, callback:
|
|
7
|
+
export declare function renderMonthsInput(title: string, params: RenderMonthsInputParams, callback?: (value: number) => void): JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderMonthsInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderMonthsInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,WAAW,GAAG,CAAC,CAAC;AAQtB,MAAM,UAAU,iBAAiB,
|
|
1
|
+
{"version":3,"file":"renderMonthsInput.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderMonthsInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,WAAW,GAAG,CAAC,CAAC;AAQtB,MAAM,UAAU,iBAAiB,CAC/B,KAAa,EACb,MAA+B,EAC/B,QAAkC;IAElC,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,MAAM,CAAC;IACrD,MAAM,SAAS,GAAG,CAAC,KAAa,EAAE,EAAE;QAClC,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;QAE7D,OAAO,GAAG,KAAK,IAAI,IAAI,EAAE,CAAC;IAC5B,CAAC,CAAC;IAEF,OAAO,CACL,KAAC,UAAU,IACT,SAAS,EAAC,MAAM,EAChB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,CAAC,MAAM,SAAS,CAAC,SAAS,CAAC,EAAE,EAAE,MAAM,SAAS,CAAC,SAAS,CAAC,EAAE,CAAC,EACnE,GAAG,EAAE,SAAS,EACd,GAAG,EAAE,SAAS,EACd,IAAI,EAAE,WAAW,EACjB,KAAK,EAAE,KAAK,CAAC,WAAW,EAAE,SAAS,EAAE,SAAS,CAAC,EAC/C,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
import type { RadioButtonItem } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup';
|
|
3
|
+
import type { ContentPageContext } from '../ContentPage/ContentPageContext';
|
|
4
|
+
interface RenderPaymentTypeSelectorProps {
|
|
5
|
+
context: ContentPageContext;
|
|
6
|
+
items: RadioButtonItem[];
|
|
7
|
+
checkedItem?: string;
|
|
8
|
+
onChange: (id: string) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function renderPaymentTypeSelector({ onChange, ...rest }: RenderPaymentTypeSelectorProps): JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { RadioButtonGroup } from '../../ui-kit/RadioButtonGroup/RadioButtonGroup.js';
|
|
3
|
-
export function renderPaymentTypeSelector(
|
|
4
|
-
return
|
|
3
|
+
export function renderPaymentTypeSelector({ onChange, ...rest }) {
|
|
4
|
+
return _jsx(RadioButtonGroup, { onChangeCheckedItem: onChange, ...rest });
|
|
5
5
|
}
|
|
6
6
|
//# sourceMappingURL=renderPaymentTypeSelector.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderPaymentTypeSelector.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderPaymentTypeSelector.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"renderPaymentTypeSelector.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderPaymentTypeSelector.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAUlF,MAAM,UAAU,yBAAyB,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAkC;IAC7F,OAAO,KAAC,gBAAgB,IAAC,mBAAmB,EAAE,QAAQ,KAAM,IAAI,GAAI,CAAC;AACvE,CAAC"}
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
interface RenderRealEstateValueInputProps {
|
|
3
3
|
moneyValue: number;
|
|
4
4
|
}
|
|
5
|
-
export declare function renderRealEstateValue(
|
|
5
|
+
export declare function renderRealEstateValue(props: RenderRealEstateValueInputProps, title?: string, callback?: (value: number) => void): JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -4,7 +4,7 @@ import { InputRange } from '../../ui-kit/InputRange/InputRange.js';
|
|
|
4
4
|
import { addSpacesBetweenNumbers } from '../../utils/addSpacesBetweenNumbers.js';
|
|
5
5
|
import { DEFAULT_MAX_SUM, DEFAULT_MIN_SUM } from './constants.js';
|
|
6
6
|
const STEP_MONEY = 1000;
|
|
7
|
-
export function renderRealEstateValue(
|
|
7
|
+
export function renderRealEstateValue(props, title, callback) {
|
|
8
8
|
const { moneyValue } = props;
|
|
9
9
|
const minSum = DEFAULT_MIN_SUM;
|
|
10
10
|
const maxSum = DEFAULT_MAX_SUM;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderRealEstateValue.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderRealEstateValue.tsx"],"names":[],"mappings":";AAAA,OAAO;AACP,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE/D,MAAM,UAAU,GAAG,IAAI,CAAC;AAMxB,MAAM,UAAU,qBAAqB,
|
|
1
|
+
{"version":3,"file":"renderRealEstateValue.js","sourceRoot":"","sources":["../../../src/components/Calculator/renderRealEstateValue.tsx"],"names":[],"mappings":";AAAA,OAAO;AACP,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE/D,MAAM,UAAU,GAAG,IAAI,CAAC;AAMxB,MAAM,UAAU,qBAAqB,CACnC,KAAsC,EACtC,KAAc,EACd,QAAkC;IAElC,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAE7B,MAAM,MAAM,GAAG,eAAe,CAAC;IAC/B,MAAM,MAAM,GAAG,eAAe,CAAC;IAE/B,OAAO,CACL,KAAC,UAAU,IACT,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,CAAC,MAAM,uBAAuB,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,uBAAuB,CAAC,MAAM,CAAC,IAAI,CAAC,EAC7F,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC;AACJ,CAAC"}
|
|
@@ -7,5 +7,5 @@ interface RenderWantedSumParams {
|
|
|
7
7
|
step?: number;
|
|
8
8
|
isShowItems?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare function renderWantedSumInput(title: string, params: RenderWantedSumParams, callback:
|
|
10
|
+
export declare function renderWantedSumInput(title: string, params: RenderWantedSumParams, callback?: (value: number) => void): JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -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,OAAO,EAAE,wBAAwB,EAAE,MAAM,8CAA8C,CAAC;AACxF,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGlE,MAAM,UAAU,GAAG,QAAQ,CAAC;AAC5B,MAAM,QAAQ,GAAG,0BAA0B,CAAC;AAC5C,MAAM,aAAa,GAAG,wBAAwB,CAAC;AAC/C,MAAM,aAAa,GAAG,gBAAgB,CAAC;AACvC,MAAM,mBAAmB,GAAG,MAAM,CAA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ACD,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
|
}
|
|
@@ -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,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,IAAI,IAC9B,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,IAAqB,EAAE,EAAE,CAAC,CAC5C,cAAK,SAAS,EAAC,yBAAyB,YACrC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,EAA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,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,GAAG,KAAK,CAAC;IAErD,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,GAAG,IAAI,EAAE,GAAG,IAAI,CAAC;IAEnF,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,KAAK,CAAC,CAAC;IAEnD,OAAO,CACL,mBACE,SAAS,EAAE,Y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
@@ -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;IAE5C,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,IAAI,cAAc,CAAC,EAAE;QACrC,OAAO,CAAC,IAAI,CAAC,kBAAkB,IAAI,iBAAiB,CAAC,CAAC;KACvD;IAED,MAAM,cAAc,GAAG,IAAI,IAAI,cAAc,CAAC,IAAI,CAAC,CAAC;IAEpD,MAAM,EAAE,WAAW,GAAG,oB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AAc,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;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAoB5C,MAAM,CAAC,MAAM,0BAA0B,GAAG,GAAG,CAC3C,CAAC,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,EAAE,EAAE,EAAE;IAC3E,MAAM,EAAE,SAAS,EAAE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,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
|
}
|