@redneckz/wildless-cms-uni-blocks 0.5.11 → 0.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/EventBus/EventBus.d.ts +10 -0
- package/bundle/EventBus/EventMap.d.ts +7 -0
- package/bundle/ProjectSettings.d.ts +24 -0
- package/bundle/api/DaDataAPI.d.ts +15 -0
- package/bundle/api/LikeAPI.d.ts +9 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +457 -596
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Accordion/Accordion.d.ts +5 -0
- package/bundle/components/Accordion/Accordion.mobile.d.ts +5 -0
- package/bundle/components/Accordion/AccordionContent.d.ts +45 -0
- package/bundle/components/Accordion/AccordionItem.d.ts +2 -0
- package/bundle/components/Accordion/AccordionItem.mobile.d.ts +2 -0
- package/bundle/components/Accordion/AccordionItemProps.d.ts +5 -0
- package/bundle/components/Accordion/AccordionItemsList.d.ts +1 -0
- package/bundle/components/BaseTile/BaseTile.d.ts +5 -0
- package/bundle/components/BaseTile/BaseTileProps.d.ts +15 -0
- package/bundle/components/BaseTile/getTileHeadingType.d.ts +1 -0
- package/bundle/components/BaseTile/getTileMinHeight.d.ts +1 -0
- package/bundle/components/BaseTile/getTileRightPadding.d.ts +1 -0
- package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +52 -0
- package/bundle/components/Blocks.d.ts +37 -0
- package/bundle/components/Blocks.mobile.d.ts +17 -0
- package/bundle/components/Bonus/Bonus.d.ts +5 -0
- package/bundle/components/Bonus/BonusContent.d.ts +45 -0
- package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
- package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +15 -0
- package/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
- package/bundle/components/Calculator/BonusCalculatorForm.d.ts +5 -0
- package/bundle/components/Calculator/Calculator.d.ts +5 -0
- package/bundle/components/Calculator/CalculatorContent.d.ts +129 -0
- package/bundle/components/Calculator/CalculatorValueBlock.d.ts +8 -0
- package/bundle/components/Calculator/CreditCalculatorForm.d.ts +7 -0
- package/bundle/components/Calculator/DepositCalculatorForm.d.ts +5 -0
- package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +9 -0
- package/bundle/components/Calculator/Rate.d.ts +7 -0
- package/bundle/components/Calculator/constants.d.ts +16 -0
- package/bundle/components/Calculator/getBonus.d.ts +2 -0
- package/bundle/components/Calculator/getCreditRate.d.ts +7 -0
- package/bundle/components/Calculator/getDefaultMonths.d.ts +1 -0
- package/bundle/components/Calculator/getDefaultSum.d.ts +1 -0
- package/bundle/components/Calculator/getMonthlyPayment.d.ts +6 -0
- package/bundle/components/Calculator/renderButtonSection.d.ts +2 -0
- package/bundle/components/Calculator/renderCalculatorBlock.d.ts +3 -0
- package/bundle/components/Calculator/renderFootnote.d.ts +2 -0
- package/bundle/components/Calculator/renderInitialFeeInput.d.ts +6 -0
- package/bundle/components/Calculator/renderMonthsInput.d.ts +8 -0
- package/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +6 -0
- package/bundle/components/Calculator/renderProposal.d.ts +2 -0
- package/bundle/components/Calculator/renderProposalMortgage.d.ts +8 -0
- package/bundle/components/Calculator/renderRealEstateValue.d.ts +6 -0
- package/bundle/components/Calculator/renderWantedSumInput.d.ts +11 -0
- package/bundle/components/Calculator/useBonusCalculatorParams.d.ts +36 -0
- package/bundle/components/Calculator/useCalculatorParams.d.ts +1 -0
- package/bundle/components/Calculator/useCreditCalculatorParams.d.ts +27 -0
- package/bundle/components/CardTransfer/CardTransfer.d.ts +5 -0
- package/bundle/components/CardTransfer/CardTransferContent.d.ts +10 -0
- package/bundle/components/Catalog/Catalog.d.ts +5 -0
- package/bundle/components/Catalog/CatalogCard.d.ts +7 -0
- package/bundle/components/Catalog/CatalogContent.d.ts +25 -0
- package/bundle/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/bundle/components/ComparisonTable/ComparisonTable.mobile.d.ts +5 -0
- package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
- package/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
- package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +50 -0
- package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
- package/bundle/components/ComparisonTable/HeaderCell.d.ts +10 -0
- package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +11 -0
- package/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
- package/bundle/components/ComparisonTable/TableCell.d.ts +9 -0
- package/bundle/components/ComparisonTable/TableCell.mobile.d.ts +9 -0
- package/bundle/components/ComparisonTable/TableColumn.d.ts +15 -0
- package/bundle/components/ComparisonTable/TableRow.d.ts +14 -0
- package/bundle/components/ComparisonTable/TableRowContainer.d.ts +1 -0
- package/bundle/components/ComparisonTable/constants.d.ts +6 -0
- package/bundle/components/ContentPage/ContentPage.d.ts +10 -0
- package/bundle/components/ContentPage/ContentPageContext.d.ts +17 -0
- package/bundle/components/ContentPage/ContentPageHead.d.ts +7 -0
- package/bundle/components/ContentPage/computeAPIFallback.d.ts +5 -0
- package/bundle/components/ContentPage/filterBlocks.d.ts +12 -0
- package/bundle/components/ContentPage/filterBlocks.mobile.d.ts +12 -0
- package/bundle/components/ContentPage/normalizeBlock.d.ts +11 -0
- package/bundle/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
- package/bundle/components/ContentPage/normalizePage.d.ts +3 -0
- package/bundle/components/ContentPage/renderBlock.d.ts +13 -0
- package/bundle/components/ErrorBlock/ErrorBlock.d.ts +5 -0
- package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +48 -0
- package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
- package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
- package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +7 -0
- package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +21 -0
- package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +8 -0
- package/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
- package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
- package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
- package/bundle/components/ExchangeRateTile/renderInput.d.ts +13 -0
- package/bundle/components/Footer/Contacts.d.ts +7 -0
- package/bundle/components/Footer/Footer.d.ts +5 -0
- package/bundle/components/Footer/Footer.mobile.d.ts +5 -0
- package/bundle/components/Footer/FooterContent.d.ts +44 -0
- package/bundle/components/Footer/FooterLink.d.ts +5 -0
- package/bundle/components/Footer/HorizontalNavigation.d.ts +6 -0
- package/bundle/components/Footer/HorizontalNavigation.mobile.d.ts +6 -0
- package/bundle/components/Footer/HorizontalNavigationLink.d.ts +8 -0
- package/bundle/components/Footer/MediaButton.d.ts +7 -0
- package/bundle/components/Footer/Sitemap.d.ts +8 -0
- package/bundle/components/Footer/SocialMedia.d.ts +8 -0
- package/bundle/components/Footer/SocialMedia.mobile.d.ts +8 -0
- package/bundle/components/Footer/TextInformation.d.ts +2 -0
- package/bundle/components/Footer/TextInformation.mobile.d.ts +2 -0
- package/bundle/components/Footer/TextInformationLink.d.ts +8 -0
- package/bundle/components/Gallery/Gallery.d.ts +2 -0
- package/bundle/components/Gallery/Gallery.mobile.d.ts +2 -0
- package/bundle/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/bundle/components/Gallery/GalleryContainer.d.ts +13 -0
- package/bundle/components/Gallery/GalleryContent.d.ts +64 -0
- package/bundle/components/Gallery/GalleryInner.d.ts +7 -0
- package/bundle/components/Gallery/GalleryProps.d.ts +4 -0
- package/bundle/components/Gallery/constants.d.ts +4 -0
- package/bundle/components/GracePeriod/GracePeriod.d.ts +5 -0
- package/bundle/components/GracePeriod/GracePeriodContent.d.ts +32 -0
- package/bundle/components/Header/DropdownMenu.d.ts +14 -0
- package/bundle/components/Header/Header.d.ts +5 -0
- package/bundle/components/Header/Header.fallback.d.ts +2 -0
- package/bundle/components/Header/Header.mobile.d.ts +5 -0
- package/bundle/components/Header/HeaderBurger.d.ts +11 -0
- package/bundle/components/Header/HeaderContent.d.ts +41 -0
- package/bundle/components/Header/HeaderSecondaryMenu.d.ts +10 -0
- package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
- package/bundle/components/Header/HeaderSubMenu.d.ts +9 -0
- package/bundle/components/Header/HeaderTop.d.ts +6 -0
- package/bundle/components/Headline/Headline.d.ts +5 -0
- package/bundle/components/Headline/Headline.mobile.d.ts +5 -0
- package/bundle/components/Headline/HeadlineContent.d.ts +15 -0
- package/bundle/components/Headline/constants.d.ts +20 -0
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
- package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +7 -0
- package/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
- package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
- package/bundle/components/LikeControl/LikeControl.d.ts +2 -0
- package/bundle/components/LinkDocs/LinkDocs.d.ts +5 -0
- package/bundle/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +43 -0
- package/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
- package/bundle/components/LinkDocs/LinkDocsList.d.ts +9 -0
- package/bundle/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
- package/bundle/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
- package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
- package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
- package/bundle/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
- package/bundle/components/LinkList/LinkList.d.ts +5 -0
- package/bundle/components/LinkList/LinkListContent.d.ts +8 -0
- package/bundle/components/LinkList/linkListContentExample.d.ts +2 -0
- package/bundle/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/bundle/components/MiniGallery/MiniGalleryContent.d.ts +12 -0
- package/bundle/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +5 -0
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +31 -0
- package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
- package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +10 -0
- package/bundle/components/OtherProducts/OtherProducts.d.ts +5 -0
- package/bundle/components/OtherProducts/OtherProductsContent.d.ts +25 -0
- package/bundle/components/OtherProducts/OtherProductsItem.d.ts +6 -0
- package/bundle/components/PictureText/PictureText.d.ts +5 -0
- package/bundle/components/PictureText/PictureTextContent.d.ts +34 -0
- package/bundle/components/Placeholder/Placeholder.d.ts +6 -0
- package/bundle/components/Placeholder/PlaceholderContent.d.ts +5 -0
- package/bundle/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +5 -0
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +54 -0
- package/bundle/components/ProductBlock/ProductBlockInner.d.ts +4 -0
- package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +4 -0
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +4 -0
- package/bundle/components/ProductBlock/renderBenefit.d.ts +5 -0
- package/bundle/components/ProductGallery/ProductGallery.d.ts +5 -0
- package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
- package/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
- package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
- package/bundle/components/ProductTile/ProductTile.d.ts +5 -0
- package/bundle/components/ProductTile/ProductTileContent.d.ts +33 -0
- package/bundle/components/PromoTile/PromoTile.d.ts +5 -0
- package/bundle/components/PromoTile/PromoTileContent.d.ts +12 -0
- package/bundle/components/Recommendation/Recommendation.d.ts +5 -0
- package/bundle/components/Recommendation/RecommendationCard.d.ts +7 -0
- package/bundle/components/Recommendation/RecommendationContent.d.ts +43 -0
- package/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
- package/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
- package/bundle/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
- package/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
- package/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +5 -0
- package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +9 -0
- package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +12 -0
- package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +11 -0
- package/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +6 -0
- package/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +8 -0
- package/bundle/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
- package/bundle/components/SafeDepositRental/YandexMap.d.ts +5 -0
- package/bundle/components/SafeDepositRental/renderClusterer.d.ts +2 -0
- package/bundle/components/SafeDepositRental/useGetRegions.d.ts +6 -0
- package/bundle/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
- package/bundle/components/SafeDepositRental/utils.d.ts +3 -0
- package/bundle/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/bundle/components/StepsBlock/StepsBlock.mobile.d.ts +5 -0
- package/bundle/components/StepsBlock/StepsBlockContent.d.ts +43 -0
- package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +11 -0
- package/bundle/components/StepsBlock/renderItems.d.ts +8 -0
- package/bundle/components/StepsBlock/renderStepContent.d.ts +14 -0
- package/bundle/components/Tabs/Tabs.d.ts +13 -0
- package/bundle/components/Tabs/TabsContent.d.ts +36 -0
- package/bundle/components/Tabs/renderGroupTab.d.ts +4 -0
- package/bundle/components/Tabs/renderLinkTab.d.ts +9 -0
- package/bundle/components/Tabs/renderTab.d.ts +12 -0
- package/bundle/components/Tabs/tabItemClasses.d.ts +6 -0
- package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +14 -0
- package/bundle/components/TariffsTable/EmbeddableCellData.mobile.d.ts +12 -0
- package/bundle/components/TariffsTable/TableTileHeader.d.ts +2 -0
- package/bundle/components/TariffsTable/TariffsTable.d.ts +5 -0
- package/bundle/components/TariffsTable/TariffsTable.mobile.d.ts +5 -0
- package/bundle/components/TariffsTable/TariffsTableCell.d.ts +9 -0
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +95 -0
- package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
- package/bundle/components/TariffsTable/TariffsTableRow.d.ts +9 -0
- package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
- package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +8 -0
- package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +6 -0
- package/bundle/components/TariffsTable/constants.d.ts +4 -0
- package/bundle/components/TariffsTable/dataFixture.d.ts +5 -0
- package/bundle/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
- package/bundle/components/TextBlock/TextBlock.d.ts +5 -0
- package/bundle/components/TextBlock/TextBlock.mobile.d.ts +5 -0
- package/bundle/components/TextBlock/TextBlockContent.d.ts +22 -0
- package/bundle/components/Tile/Tile.d.ts +6 -0
- package/bundle/components/Tile/TileContent.d.ts +34 -0
- package/bundle/content-page-repository/ContentPageRepository.d.ts +11 -0
- package/bundle/content-page-repository/TransformationOptions.d.ts +4 -0
- package/bundle/content-page-repository/index.d.ts +2 -0
- package/bundle/content-page-repository/mapJSON.d.ts +1 -0
- package/bundle/content-page-repository/transformContentPage.d.ts +3 -0
- package/bundle/content-page-repository/transformImg.d.ts +11 -0
- package/bundle/content-page-repository/transformMarkdown.d.ts +1 -0
- package/bundle/content-page-repository/transformPicture.d.ts +3 -0
- package/bundle/content-page-repository/transformSrc.d.ts +3 -0
- package/bundle/hooks/useExchangeRates.d.ts +2 -0
- package/bundle/hooks/useExternalNS.d.ts +2 -0
- package/bundle/hooks/useGeolocation.d.ts +1 -0
- package/bundle/hooks/useLikeService.d.ts +5 -0
- package/bundle/hooks/useLink.d.ts +18 -0
- package/bundle/hooks/useOutsideClick.d.ts +5 -0
- package/{mobile/dist/hooks/useFetchSafeBoxes.d.ts → bundle/hooks/useSafeBoxes.d.ts} +1 -3
- package/bundle/hooks/useSearch.d.ts +4 -0
- package/bundle/hooks/useTableArrowScrollControl.d.ts +7 -0
- package/bundle/hooks/useTariffsInnerTableData.d.ts +1 -0
- package/bundle/icons/IconName.d.ts +194 -0
- package/bundle/index.d.ts +9 -0
- package/bundle/model/AlignType.d.ts +9 -0
- package/bundle/model/BgColorVersion.d.ts +8 -0
- package/bundle/model/BlockDecorator.d.ts +15 -0
- package/bundle/model/BlockVersion.d.ts +11 -0
- package/bundle/model/BlocksRegistry.d.ts +8 -0
- package/bundle/model/ButtonVersion.d.ts +6 -0
- package/bundle/model/ContentPageDef.d.ts +52 -0
- package/bundle/model/EmptyOptionType.d.ts +4 -0
- package/bundle/model/Fallback.d.ts +5 -0
- package/bundle/model/Footnote.d.ts +4 -0
- package/bundle/model/GalleryVersion.d.ts +1 -0
- package/bundle/model/HeadlineType.d.ts +29 -0
- package/bundle/model/IconVersion.d.ts +9 -0
- package/bundle/model/ImageSize.d.ts +6 -0
- package/bundle/model/InputTypes.d.ts +1 -0
- package/bundle/model/LinkProps.d.ts +24 -0
- package/bundle/model/ListOrientation.d.ts +8 -0
- package/bundle/model/Picture.d.ts +59 -0
- package/bundle/model/ProductColorVersion.d.ts +4 -0
- package/bundle/model/SitemapProps.d.ts +24 -0
- package/bundle/model/SizeVersion.d.ts +8 -0
- package/bundle/model/TableVersion.d.ts +1 -0
- package/bundle/model/VNode.d.ts +1 -0
- package/bundle/react/setup-fixture.d.ts +4 -0
- package/bundle/services/sitemap/SitemapProps.d.ts +24 -0
- package/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
- package/bundle/services/sitemap/findActiveSubItem.d.ts +3 -0
- package/bundle/services/sitemap/isHrefActive.d.ts +4 -0
- package/bundle/services/sitemap/isSubItemActive.d.ts +3 -0
- package/bundle/services/sitemap/isTopItemActive.d.ts +3 -0
- package/bundle/services/sitemap/mergeTopItems.d.ts +2 -0
- package/bundle/services/sitemap/useSitemap.d.ts +3 -0
- package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -0
- package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +20 -0
- package/bundle/ui-kit/BlockWrapper.d.ts +7 -0
- package/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +96 -0
- package/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +12 -0
- package/bundle/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +8 -0
- package/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +9 -0
- package/bundle/ui-kit/Breadcrumb.d.ts +6 -0
- package/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
- package/bundle/ui-kit/Button/Button.d.ts +2 -0
- package/bundle/ui-kit/Button/Button.mobile.d.ts +2 -0
- package/bundle/ui-kit/Button/ButtonInner.d.ts +7 -0
- package/bundle/ui-kit/Button/ButtonProps.d.ts +54 -0
- package/bundle/ui-kit/Button/ButtonSection.d.ts +5 -0
- package/bundle/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
- package/bundle/ui-kit/Button/LikeButton.d.ts +6 -0
- package/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +5 -0
- package/bundle/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
- package/bundle/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
- package/bundle/ui-kit/Button/renderArrows.d.ts +9 -0
- package/bundle/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +7 -0
- package/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -0
- package/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +5 -0
- package/bundle/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
- package/bundle/ui-kit/Description/Description.d.ts +5 -0
- package/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
- package/bundle/ui-kit/Foldable/Foldable.d.ts +9 -0
- package/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
- package/bundle/ui-kit/Foldable/FoldableSection.d.ts +5 -0
- package/bundle/ui-kit/HeaderItem/HeaderItem.d.ts +2 -0
- package/bundle/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +3 -0
- package/bundle/ui-kit/Heading/Heading.d.ts +2 -0
- package/bundle/ui-kit/Heading/Heading.mobile.d.ts +2 -0
- package/bundle/ui-kit/Heading/HeadingProps.d.ts +23 -0
- package/bundle/ui-kit/Icon/Icon.d.ts +2 -0
- package/bundle/ui-kit/Icon/IconProps.d.ts +21 -0
- package/bundle/ui-kit/Img/Img.d.ts +1 -0
- package/bundle/ui-kit/Img/Img.mobile.d.ts +2 -0
- package/bundle/ui-kit/Img/ImgAsPicture.d.ts +4 -0
- package/bundle/ui-kit/Img/ImgInner.d.ts +2 -0
- package/bundle/ui-kit/Img/ImgProps.d.ts +11 -0
- package/bundle/ui-kit/Img/getIconVersion.d.ts +1 -0
- package/bundle/ui-kit/InnerTable/InnerTable.d.ts +5 -0
- package/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
- package/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
- package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
- package/bundle/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
- package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
- package/bundle/ui-kit/Input/Input.d.ts +2 -0
- package/bundle/ui-kit/Input/InputProps.d.ts +16 -0
- package/bundle/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +11 -0
- package/bundle/ui-kit/IntersectionObserverTag.d.ts +11 -0
- package/bundle/ui-kit/List/List.d.ts +2 -0
- package/bundle/ui-kit/List/ListContent.d.ts +4 -0
- package/bundle/ui-kit/List/ListItem.d.ts +12 -0
- package/bundle/ui-kit/List/ListProps.d.ts +26 -0
- package/bundle/ui-kit/Logo/Logo.d.ts +13 -0
- package/bundle/ui-kit/Logo/Logo.mobile.d.ts +8 -0
- package/bundle/ui-kit/Radio/Radio.d.ts +2 -0
- package/bundle/ui-kit/Radio/RadioProps.d.ts +9 -0
- package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
- package/bundle/ui-kit/SVG.d.ts +19 -0
- package/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -0
- package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -0
- package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
- package/bundle/ui-kit/Select/Select.d.ts +14 -0
- package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
- package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
- package/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
- package/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
- package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +18 -0
- package/bundle/ui-kit/SwipeListControl/constants.d.ts +2 -0
- package/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
- package/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
- package/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
- package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
- package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
- package/bundle/ui-kit/TopItem/TopItem.d.ts +14 -0
- package/bundle/utils/addSpacesBetweenNumbers.d.ts +1 -0
- package/bundle/utils/adjustHref.d.ts +4 -0
- package/bundle/utils/assertUnreachable.d.ts +1 -0
- package/bundle/utils/changeHashOnObserve.d.ts +9 -0
- package/bundle/utils/checkIsIconRenderable.d.ts +2 -0
- package/bundle/utils/clamp.d.ts +1 -0
- package/bundle/utils/fetchJSON.d.ts +2 -0
- package/bundle/utils/getColSpan.d.ts +1 -0
- package/bundle/utils/getCurrentDate.d.ts +1 -0
- package/bundle/utils/getGeolocation.d.ts +1 -0
- package/bundle/utils/getSanitizedValue.d.ts +1 -0
- package/bundle/utils/isPictureSizeEmpty.d.ts +2 -0
- package/bundle/utils/joinList.d.ts +1 -0
- package/bundle/utils/maxBy.d.ts +2 -0
- package/bundle/utils/roundTo.d.ts +1 -0
- package/bundle/utils/style2className.d.ts +1 -0
- package/bundle/utils/tableFunc.d.ts +2 -0
- package/bundle/utils/url.d.ts +5 -0
- package/bundle/utils/withoutMobilePath.d.ts +2 -0
- package/dist/components/Accordion/Accordion.js +3 -1
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/Accordion.mobile.js +5 -2
- package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionContent.d.ts +9 -7
- package/dist/components/Accordion/AccordionItem.d.ts +1 -4
- package/dist/components/Accordion/AccordionItem.js +5 -11
- package/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -4
- package/dist/components/Accordion/AccordionItem.mobile.js +7 -8
- package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/dist/components/Accordion/AccordionItemProps.d.ts +5 -0
- package/dist/components/Accordion/AccordionItemProps.js +2 -0
- package/dist/components/Accordion/AccordionItemProps.js.map +1 -0
- package/dist/components/Accordion/AccordionItemsList.d.ts +1 -0
- package/dist/components/Accordion/AccordionItemsList.js +6 -0
- package/dist/components/Accordion/AccordionItemsList.js.map +1 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.d.ts +1 -0
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.d.ts +0 -1
- package/dist/components/Blocks.mobile.js +0 -2
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +3 -2
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/Catalog/Catalog.js +1 -1
- package/dist/components/Catalog/Catalog.js.map +1 -1
- package/dist/components/Catalog/CatalogCard.js +1 -23
- package/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js +13 -48
- package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/dist/components/ComparisonTable/TableCell.d.ts +1 -1
- package/dist/components/ComparisonTable/TableCell.js.map +1 -1
- package/dist/components/ComparisonTable/TableColumn.d.ts +5 -8
- package/dist/components/ComparisonTable/TableColumn.js +2 -8
- package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/dist/components/ContentPage/ContentPageContext.d.ts +0 -11
- package/dist/components/ContentPage/filterBlocks.js +1 -2
- package/dist/components/ContentPage/filterBlocks.js.map +1 -1
- package/dist/components/ContentPage/filterBlocks.mobile.js +1 -3
- package/dist/components/ContentPage/filterBlocks.mobile.js.map +1 -1
- package/dist/components/ContentPage/renderBlock.js +1 -1
- package/dist/components/ContentPage/renderBlock.js.map +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
- package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/dist/components/ExchangeRateTile/renderInput.js +1 -1
- package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/dist/components/Footer/Contacts.js +1 -1
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +8 -7
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +5 -9
- package/dist/components/Gallery/Gallery.mobile.js +7 -3
- package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
- package/dist/components/Gallery/GalleryCardInner.js +14 -17
- 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 +11 -3
- package/dist/components/Header/Header.mobile.js +5 -5
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.js +3 -2
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/Headline/constants.d.ts +2 -1
- package/dist/components/Headline/constants.js +10 -1
- package/dist/components/Headline/constants.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
- package/dist/components/InvestmentInfo/InvestmentInfo.js +49 -0
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -0
- package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
- package/dist/components/InvestmentInfo/InvestmentInfoContent.js +2 -0
- package/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +1 -0
- package/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/OtherProducts/OtherProductsItem.js +5 -5
- package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +1 -1
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/components/Recommendation/RecommendationContent.d.ts +5 -0
- package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRental.js +17 -3
- package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
- package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +7 -28
- package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
- package/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
- package/dist/components/SafeDepositRental/utils.d.ts +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +5 -6
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlockContent.d.ts +9 -2
- package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js +4 -2
- package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/dist/components/StepsBlock/renderItems.d.ts +8 -0
- package/dist/components/StepsBlock/renderItems.js +10 -0
- package/dist/components/StepsBlock/renderItems.js.map +1 -0
- package/dist/components/StepsBlock/renderStepContent.d.ts +14 -0
- package/dist/components/StepsBlock/renderStepContent.js +20 -0
- package/dist/components/StepsBlock/renderStepContent.js.map +1 -0
- package/dist/components/TariffsTable/EmbeddableCellData.js +4 -5
- package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +1 -2
- package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +11 -2
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableRow.js +1 -2
- package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/dist/components/TariffsTable/dataFixture.js +4 -2
- package/dist/components/TariffsTable/dataFixture.js.map +1 -1
- package/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
- package/dist/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
- package/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
- package/dist/components/Tile/Tile.js +2 -3
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/hooks/useOutsideClick.d.ts +5 -0
- package/dist/hooks/useOutsideClick.js +21 -0
- package/dist/hooks/useOutsideClick.js.map +1 -0
- package/dist/hooks/{useFetchSafeBoxes.d.ts → useSafeBoxes.d.ts} +1 -3
- package/{mobile/dist/hooks/useFetchSafeBoxes.js → dist/hooks/useSafeBoxes.js} +9 -10
- package/dist/hooks/useSafeBoxes.js.map +1 -0
- package/dist/icons/IconName.d.ts +1 -92
- package/dist/icons/IconName.js +4 -4
- package/dist/icons/IconName.js.map +1 -1
- package/dist/model/BlockDecorator.d.ts +1 -0
- package/dist/model/BlockDecorator.js +2 -1
- package/dist/model/BlockDecorator.js.map +1 -1
- package/dist/model/BlocksRegistry.d.ts +4 -1
- package/dist/model/HeadlineType.d.ts +8 -0
- package/dist/model/Picture.d.ts +1 -0
- package/dist/react/setup-fixture.js +0 -2
- package/dist/react/setup-fixture.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.d.ts +0 -3
- package/dist/ui-kit/BlockWrapper.js +5 -5
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
- package/dist/ui-kit/BlocksList/renderBlocksList.js +1 -1
- package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/dist/ui-kit/Button/Button.js +6 -10
- package/dist/ui-kit/Button/Button.js.map +1 -1
- package/dist/ui-kit/Button/Button.mobile.js +1 -1
- package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +3 -2
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/ButtonProps.d.ts +1 -7
- package/dist/ui-kit/Button/ButtonSection.js +5 -10
- package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/dist/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
- package/dist/ui-kit/Button/buttonClassNameConstants.js +7 -1
- package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js +7 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/dist/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
- package/dist/ui-kit/CurrencyInput/adjustValue .js +11 -2
- package/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
- package/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
- package/dist/ui-kit/Foldable/DefaultFoldButton.js +16 -0
- package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -0
- package/dist/ui-kit/Foldable/Foldable.d.ts +5 -18
- package/dist/ui-kit/Foldable/Foldable.js +9 -17
- package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/dist/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
- package/dist/ui-kit/Foldable/FoldablePartProps.js +2 -0
- package/dist/ui-kit/Foldable/FoldablePartProps.js.map +1 -0
- package/dist/ui-kit/Foldable/FoldableSection.d.ts +5 -0
- package/dist/ui-kit/Foldable/FoldableSection.js +17 -0
- package/dist/ui-kit/Foldable/FoldableSection.js.map +1 -0
- package/dist/ui-kit/Icon/Icon.js +4 -5
- package/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +0 -1
- package/dist/ui-kit/Img/Img.d.ts +1 -2
- package/dist/ui-kit/Img/Img.js +2 -6
- package/dist/ui-kit/Img/Img.js.map +1 -1
- package/dist/ui-kit/Img/Img.mobile.js +1 -3
- package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
- package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/dist/ui-kit/Input/Input.js +12 -3
- package/dist/ui-kit/Input/Input.js.map +1 -1
- package/dist/ui-kit/Input/InputProps.d.ts +2 -0
- package/dist/ui-kit/InputRange/InputRange.js +2 -2
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/IntersectionObserverTag.d.ts +11 -0
- package/dist/ui-kit/IntersectionObserverTag.js +22 -0
- package/dist/ui-kit/IntersectionObserverTag.js.map +1 -0
- package/dist/ui-kit/List/List.js +13 -8
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListItem.d.ts +2 -2
- package/dist/ui-kit/List/ListItem.js +8 -23
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/ui-kit/List/ListProps.d.ts +5 -3
- package/dist/ui-kit/Radio/Radio.js +1 -1
- package/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/dist/ui-kit/Select/Select.js +4 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/utils/getSanitizedValue.d.ts +1 -0
- package/dist/utils/getSanitizedValue.js +5 -0
- package/dist/utils/getSanitizedValue.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/Accordion/Accordion.js +3 -1
- package/lib/components/Accordion/Accordion.js.map +1 -1
- package/lib/components/Accordion/Accordion.mobile.js +5 -2
- package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionContent.d.ts +9 -7
- package/lib/components/Accordion/AccordionItem.d.ts +1 -4
- package/lib/components/Accordion/AccordionItem.js +5 -11
- package/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -4
- package/lib/components/Accordion/AccordionItem.mobile.js +7 -8
- package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
- package/lib/components/Accordion/AccordionItemProps.d.ts +5 -0
- package/lib/components/Accordion/AccordionItemProps.js +2 -0
- package/lib/components/Accordion/AccordionItemProps.js.map +1 -0
- package/lib/components/Accordion/AccordionItemsList.d.ts +1 -0
- package/lib/components/Accordion/AccordionItemsList.js +4 -0
- package/lib/components/Accordion/AccordionItemsList.js.map +1 -0
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.d.ts +1 -0
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.d.ts +0 -1
- package/lib/components/Blocks.mobile.js +0 -2
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +3 -2
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/Catalog/Catalog.js +1 -1
- package/lib/components/Catalog/Catalog.js.map +1 -1
- package/lib/components/Catalog/CatalogCard.js +1 -23
- package/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js +14 -49
- package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
- package/lib/components/ComparisonTable/TableCell.d.ts +1 -1
- package/lib/components/ComparisonTable/TableCell.js.map +1 -1
- package/lib/components/ComparisonTable/TableColumn.d.ts +5 -8
- package/lib/components/ComparisonTable/TableColumn.js +2 -8
- package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/lib/components/ContentPage/ContentPageContext.d.ts +0 -11
- package/lib/components/ContentPage/filterBlocks.js +1 -2
- package/lib/components/ContentPage/filterBlocks.js.map +1 -1
- package/lib/components/ContentPage/filterBlocks.mobile.js +1 -3
- package/lib/components/ContentPage/filterBlocks.mobile.js.map +1 -1
- package/lib/components/ContentPage/renderBlock.js +2 -2
- package/lib/components/ContentPage/renderBlock.js.map +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/lib/components/ExchangeRateTile/renderInput.js +1 -1
- package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/lib/components/Footer/Contacts.js +1 -1
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +8 -7
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +5 -9
- package/lib/components/Gallery/Gallery.mobile.js +7 -3
- package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
- package/lib/components/Gallery/GalleryCardInner.js +15 -18
- 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 +11 -3
- package/lib/components/Header/Header.mobile.js +5 -5
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.js +2 -1
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/Headline/constants.d.ts +2 -1
- package/lib/components/Headline/constants.js +9 -0
- package/lib/components/Headline/constants.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
- package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +7 -0
- package/lib/components/InvestmentInfo/InvestmentInfo.js +47 -0
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -0
- package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
- package/lib/components/InvestmentInfo/InvestmentInfoContent.js +2 -0
- package/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +1 -0
- package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -0
- package/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/OtherProducts/OtherProductsItem.js +5 -5
- package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.js +1 -1
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/components/Recommendation/RecommendationContent.d.ts +5 -0
- package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRental.js +18 -4
- package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
- package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +9 -30
- package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
- package/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
- package/lib/components/SafeDepositRental/utils.d.ts +1 -1
- package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +2 -0
- package/lib/components/StepsBlock/StepsBlock.js +5 -6
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlockContent.d.ts +9 -2
- package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js +4 -2
- package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/lib/components/StepsBlock/renderItems.d.ts +8 -0
- package/lib/components/StepsBlock/renderItems.js +7 -0
- package/lib/components/StepsBlock/renderItems.js.map +1 -0
- package/lib/components/StepsBlock/renderStepContent.d.ts +14 -0
- package/lib/components/StepsBlock/renderStepContent.js +17 -0
- package/lib/components/StepsBlock/renderStepContent.js.map +1 -0
- package/lib/components/TariffsTable/EmbeddableCellData.js +4 -5
- package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +1 -2
- package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +11 -2
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableRow.js +1 -2
- package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/lib/components/TariffsTable/dataFixture.js +4 -2
- package/lib/components/TariffsTable/dataFixture.js.map +1 -1
- package/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
- package/lib/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
- package/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
- package/lib/components/Tile/Tile.js +2 -3
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/hooks/useOutsideClick.d.ts +5 -0
- package/lib/hooks/useOutsideClick.js +18 -0
- package/lib/hooks/useOutsideClick.js.map +1 -0
- package/lib/hooks/{useFetchSafeBoxes.d.ts → useSafeBoxes.d.ts} +1 -3
- package/lib/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +7 -8
- package/lib/hooks/useSafeBoxes.js.map +1 -0
- package/lib/icons/IconName.d.ts +1 -92
- package/lib/icons/IconName.js +3 -3
- package/lib/icons/IconName.js.map +1 -1
- package/lib/model/BlockDecorator.d.ts +1 -0
- package/lib/model/BlockDecorator.js +1 -0
- package/lib/model/BlockDecorator.js.map +1 -1
- package/lib/model/BlocksRegistry.d.ts +4 -1
- package/lib/model/HeadlineType.d.ts +8 -0
- package/lib/model/Picture.d.ts +1 -0
- package/lib/react/setup-fixture.js +0 -2
- package/lib/react/setup-fixture.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.d.ts +0 -3
- package/lib/ui-kit/BlockWrapper.js +4 -4
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
- package/lib/ui-kit/BlocksList/renderBlocksList.js +1 -1
- package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/lib/ui-kit/Button/Button.js +6 -10
- package/lib/ui-kit/Button/Button.js.map +1 -1
- package/lib/ui-kit/Button/Button.mobile.js +1 -1
- package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +3 -2
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/ButtonProps.d.ts +1 -7
- package/lib/ui-kit/Button/ButtonSection.js +5 -10
- package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/lib/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
- package/lib/ui-kit/Button/buttonClassNameConstants.js +6 -0
- package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -2
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/lib/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
- package/lib/ui-kit/CurrencyInput/adjustValue .js +9 -2
- package/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
- package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
- package/lib/ui-kit/Foldable/DefaultFoldButton.js +13 -0
- package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -0
- package/lib/ui-kit/Foldable/Foldable.d.ts +5 -18
- package/lib/ui-kit/Foldable/Foldable.js +10 -18
- package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/lib/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
- package/lib/ui-kit/Foldable/FoldablePartProps.js +2 -0
- package/lib/ui-kit/Foldable/FoldablePartProps.js.map +1 -0
- package/lib/ui-kit/Foldable/FoldableSection.d.ts +5 -0
- package/lib/ui-kit/Foldable/FoldableSection.js +15 -0
- package/lib/ui-kit/Foldable/FoldableSection.js.map +1 -0
- package/lib/ui-kit/Icon/Icon.js +4 -5
- package/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/lib/ui-kit/Icon/IconProps.d.ts +0 -1
- package/lib/ui-kit/Img/Img.d.ts +1 -2
- package/lib/ui-kit/Img/Img.js +1 -6
- package/lib/ui-kit/Img/Img.js.map +1 -1
- package/lib/ui-kit/Img/Img.mobile.js +1 -3
- package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
- package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/lib/ui-kit/Input/Input.js +12 -3
- package/lib/ui-kit/Input/Input.js.map +1 -1
- package/lib/ui-kit/Input/InputProps.d.ts +2 -0
- package/lib/ui-kit/InputRange/InputRange.js +2 -2
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/IntersectionObserverTag.d.ts +11 -0
- package/lib/ui-kit/IntersectionObserverTag.js +20 -0
- package/lib/ui-kit/IntersectionObserverTag.js.map +1 -0
- package/lib/ui-kit/List/List.fixture.d.ts +0 -4
- package/lib/ui-kit/List/List.js +13 -8
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListItem.d.ts +2 -2
- package/lib/ui-kit/List/ListItem.js +7 -21
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/ui-kit/List/ListProps.d.ts +5 -3
- package/lib/ui-kit/Radio/Radio.js +1 -1
- package/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/lib/ui-kit/Select/Select.js +5 -2
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/utils/getSanitizedValue.d.ts +1 -0
- package/lib/utils/getSanitizedValue.js +2 -0
- package/lib/utils/getSanitizedValue.js.map +1 -0
- package/mobile/bundle/EventBus/EventBus.d.ts +10 -0
- package/mobile/bundle/EventBus/EventMap.d.ts +7 -0
- package/mobile/bundle/ProjectSettings.d.ts +24 -0
- package/mobile/bundle/api/DaDataAPI.d.ts +15 -0
- package/mobile/bundle/api/LikeAPI.d.ts +9 -0
- package/mobile/bundle/bundle.umd.js +157 -625
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Accordion/Accordion.d.ts +5 -0
- package/mobile/bundle/components/Accordion/AccordionContent.d.ts +45 -0
- package/mobile/bundle/components/Accordion/AccordionItem.d.ts +2 -0
- package/mobile/bundle/components/Accordion/AccordionItemProps.d.ts +5 -0
- package/mobile/bundle/components/Accordion/AccordionItemsList.d.ts +1 -0
- package/mobile/bundle/components/BaseTile/BaseTile.d.ts +5 -0
- package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +15 -0
- package/mobile/bundle/components/BaseTile/getTileHeadingType.d.ts +1 -0
- package/mobile/bundle/components/BaseTile/getTileMinHeight.d.ts +1 -0
- package/mobile/bundle/components/BaseTile/getTileRightPadding.d.ts +1 -0
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +52 -0
- package/mobile/bundle/components/Blocks.d.ts +17 -0
- package/mobile/bundle/components/Bonus/Bonus.d.ts +5 -0
- package/mobile/bundle/components/Bonus/BonusContent.d.ts +45 -0
- package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
- package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +15 -0
- package/mobile/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
- package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +5 -0
- package/mobile/bundle/components/Calculator/Calculator.d.ts +5 -0
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +129 -0
- package/mobile/bundle/components/Calculator/CalculatorValueBlock.d.ts +8 -0
- package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +7 -0
- package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +5 -0
- package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +9 -0
- package/mobile/bundle/components/Calculator/Rate.d.ts +7 -0
- package/mobile/bundle/components/Calculator/constants.d.ts +16 -0
- package/mobile/bundle/components/Calculator/getBonus.d.ts +2 -0
- package/mobile/bundle/components/Calculator/getCreditRate.d.ts +7 -0
- package/mobile/bundle/components/Calculator/getDefaultMonths.d.ts +1 -0
- package/mobile/bundle/components/Calculator/getDefaultSum.d.ts +1 -0
- package/mobile/bundle/components/Calculator/getMonthlyPayment.d.ts +6 -0
- package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +2 -0
- package/mobile/bundle/components/Calculator/renderCalculatorBlock.d.ts +3 -0
- package/mobile/bundle/components/Calculator/renderFootnote.d.ts +2 -0
- package/mobile/bundle/components/Calculator/renderInitialFeeInput.d.ts +6 -0
- package/mobile/bundle/components/Calculator/renderMonthsInput.d.ts +8 -0
- package/mobile/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +6 -0
- package/mobile/bundle/components/Calculator/renderProposal.d.ts +2 -0
- package/mobile/bundle/components/Calculator/renderProposalMortgage.d.ts +8 -0
- package/mobile/bundle/components/Calculator/renderRealEstateValue.d.ts +6 -0
- package/mobile/bundle/components/Calculator/renderWantedSumInput.d.ts +11 -0
- package/mobile/bundle/components/Calculator/useBonusCalculatorParams.d.ts +36 -0
- package/mobile/bundle/components/Calculator/useCalculatorParams.d.ts +1 -0
- package/mobile/bundle/components/Calculator/useCreditCalculatorParams.d.ts +27 -0
- package/mobile/bundle/components/CardTransfer/CardTransfer.d.ts +5 -0
- package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +10 -0
- package/mobile/bundle/components/Catalog/Catalog.d.ts +5 -0
- package/mobile/bundle/components/Catalog/CatalogCard.d.ts +7 -0
- package/mobile/bundle/components/Catalog/CatalogContent.d.ts +25 -0
- package/mobile/bundle/components/ComparisonTable/ComparisonTable.d.ts +5 -0
- package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
- package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
- package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +50 -0
- package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
- package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +11 -0
- package/mobile/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
- package/mobile/bundle/components/ComparisonTable/TableCell.d.ts +9 -0
- package/mobile/bundle/components/ComparisonTable/TableColumn.d.ts +15 -0
- package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +14 -0
- package/mobile/bundle/components/ComparisonTable/TableRowContainer.d.ts +1 -0
- package/mobile/bundle/components/ComparisonTable/constants.d.ts +6 -0
- package/mobile/bundle/components/ContentPage/ContentPage.d.ts +10 -0
- package/mobile/bundle/components/ContentPage/ContentPageContext.d.ts +17 -0
- package/mobile/bundle/components/ContentPage/ContentPageHead.d.ts +7 -0
- package/mobile/bundle/components/ContentPage/computeAPIFallback.d.ts +5 -0
- package/mobile/bundle/components/ContentPage/filterBlocks.d.ts +3 -0
- package/mobile/bundle/components/ContentPage/normalizeBlock.d.ts +2 -0
- package/mobile/bundle/components/ContentPage/normalizePage.d.ts +3 -0
- package/mobile/bundle/components/ContentPage/renderBlock.d.ts +13 -0
- package/mobile/bundle/components/ErrorBlock/ErrorBlock.d.ts +5 -0
- package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +48 -0
- package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
- package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
- package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +7 -0
- package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +21 -0
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
- package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +8 -0
- package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
- package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
- package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
- package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +13 -0
- package/mobile/bundle/components/Footer/Contacts.d.ts +7 -0
- package/mobile/bundle/components/Footer/Footer.d.ts +5 -0
- package/mobile/bundle/components/Footer/FooterContent.d.ts +44 -0
- package/mobile/bundle/components/Footer/FooterLink.d.ts +5 -0
- package/mobile/bundle/components/Footer/HorizontalNavigation.d.ts +6 -0
- package/mobile/bundle/components/Footer/HorizontalNavigationLink.d.ts +8 -0
- package/mobile/bundle/components/Footer/MediaButton.d.ts +7 -0
- package/mobile/bundle/components/Footer/Sitemap.d.ts +8 -0
- package/mobile/bundle/components/Footer/SocialMedia.d.ts +8 -0
- package/mobile/bundle/components/Footer/TextInformation.d.ts +2 -0
- package/mobile/bundle/components/Footer/TextInformationLink.d.ts +8 -0
- package/mobile/bundle/components/Gallery/Gallery.d.ts +2 -0
- package/mobile/bundle/components/Gallery/GalleryCardInner.d.ts +2 -0
- package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +13 -0
- package/mobile/bundle/components/Gallery/GalleryContent.d.ts +64 -0
- package/mobile/bundle/components/Gallery/GalleryInner.d.ts +7 -0
- package/mobile/bundle/components/Gallery/GalleryProps.d.ts +4 -0
- package/mobile/bundle/components/Gallery/constants.d.ts +4 -0
- package/mobile/bundle/components/GracePeriod/GracePeriod.d.ts +5 -0
- package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +32 -0
- package/mobile/bundle/components/Header/DropdownMenu.d.ts +14 -0
- package/mobile/bundle/components/Header/Header.d.ts +5 -0
- package/mobile/bundle/components/Header/Header.fallback.d.ts +2 -0
- package/mobile/bundle/components/Header/HeaderBurger.d.ts +11 -0
- package/mobile/bundle/components/Header/HeaderContent.d.ts +41 -0
- package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +10 -0
- package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
- package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +9 -0
- package/mobile/bundle/components/Header/HeaderTop.d.ts +6 -0
- package/mobile/bundle/components/Headline/Headline.d.ts +5 -0
- package/mobile/bundle/components/Headline/HeadlineContent.d.ts +15 -0
- package/mobile/bundle/components/Headline/constants.d.ts +20 -0
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
- package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +7 -0
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
- package/mobile/bundle/components/LikeControl/LikeControl.d.ts +2 -0
- package/mobile/bundle/components/LinkDocs/LinkDocs.d.ts +5 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +43 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsList.d.ts +9 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
- package/mobile/bundle/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
- package/mobile/bundle/components/LinkList/LinkList.d.ts +5 -0
- package/mobile/bundle/components/LinkList/LinkListContent.d.ts +8 -0
- package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +2 -0
- package/mobile/bundle/components/MiniGallery/MiniGallery.d.ts +5 -0
- package/mobile/bundle/components/MiniGallery/MiniGalleryContent.d.ts +12 -0
- package/mobile/bundle/components/MobileAppTile/MobileAppTile.d.ts +5 -0
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +31 -0
- package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
- package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +10 -0
- package/mobile/bundle/components/OtherProducts/OtherProducts.d.ts +5 -0
- package/mobile/bundle/components/OtherProducts/OtherProductsContent.d.ts +25 -0
- package/mobile/bundle/components/OtherProducts/OtherProductsItem.d.ts +6 -0
- package/mobile/bundle/components/PictureText/PictureText.d.ts +5 -0
- package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +34 -0
- package/mobile/bundle/components/Placeholder/Placeholder.d.ts +6 -0
- package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +5 -0
- package/mobile/bundle/components/ProductBlock/ProductBlock.d.ts +5 -0
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +54 -0
- package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +4 -0
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +4 -0
- package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +5 -0
- package/mobile/bundle/components/ProductGallery/ProductGallery.d.ts +5 -0
- package/mobile/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
- package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
- package/mobile/bundle/components/ProductTile/ProductTile.d.ts +5 -0
- package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +33 -0
- package/mobile/bundle/components/PromoTile/PromoTile.d.ts +5 -0
- package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +12 -0
- package/mobile/bundle/components/Recommendation/Recommendation.d.ts +5 -0
- package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +7 -0
- package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +43 -0
- package/mobile/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
- package/mobile/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
- package/mobile/bundle/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
- package/mobile/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +5 -0
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +9 -0
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +12 -0
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +11 -0
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +6 -0
- package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +8 -0
- package/mobile/bundle/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
- package/mobile/bundle/components/SafeDepositRental/YandexMap.d.ts +5 -0
- package/mobile/bundle/components/SafeDepositRental/renderClusterer.d.ts +2 -0
- package/mobile/bundle/components/SafeDepositRental/useGetRegions.d.ts +6 -0
- package/mobile/bundle/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
- package/mobile/bundle/components/SafeDepositRental/utils.d.ts +3 -0
- package/mobile/bundle/components/StepsBlock/StepsBlock.d.ts +5 -0
- package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +43 -0
- package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +11 -0
- package/mobile/bundle/components/StepsBlock/renderItems.d.ts +8 -0
- package/mobile/bundle/components/StepsBlock/renderStepContent.d.ts +14 -0
- package/mobile/bundle/components/Tabs/Tabs.d.ts +13 -0
- package/mobile/bundle/components/Tabs/TabsContent.d.ts +36 -0
- package/mobile/bundle/components/Tabs/renderGroupTab.d.ts +4 -0
- package/mobile/bundle/components/Tabs/renderLinkTab.d.ts +9 -0
- package/mobile/bundle/components/Tabs/renderTab.d.ts +12 -0
- package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +6 -0
- package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +12 -0
- package/mobile/bundle/components/TariffsTable/TableTileHeader.d.ts +2 -0
- package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +5 -0
- package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +9 -0
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +95 -0
- package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
- package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +9 -0
- package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
- package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +8 -0
- package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +6 -0
- package/mobile/bundle/components/TariffsTable/constants.d.ts +4 -0
- package/mobile/bundle/components/TariffsTable/dataFixture.d.ts +5 -0
- package/mobile/bundle/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
- package/mobile/bundle/components/TextBlock/TextBlock.d.ts +5 -0
- package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +22 -0
- package/mobile/bundle/components/Tile/Tile.d.ts +6 -0
- package/mobile/bundle/components/Tile/TileContent.d.ts +34 -0
- package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +11 -0
- package/mobile/bundle/content-page-repository/TransformationOptions.d.ts +4 -0
- package/mobile/bundle/content-page-repository/index.d.ts +2 -0
- package/mobile/bundle/content-page-repository/mapJSON.d.ts +1 -0
- package/mobile/bundle/content-page-repository/transformContentPage.d.ts +3 -0
- package/mobile/bundle/content-page-repository/transformImg.d.ts +11 -0
- package/mobile/bundle/content-page-repository/transformMarkdown.d.ts +1 -0
- package/mobile/bundle/content-page-repository/transformPicture.d.ts +3 -0
- package/mobile/bundle/content-page-repository/transformSrc.d.ts +3 -0
- package/mobile/bundle/hooks/useExchangeRates.d.ts +2 -0
- package/mobile/bundle/hooks/useExternalNS.d.ts +2 -0
- package/mobile/bundle/hooks/useGeolocation.d.ts +1 -0
- package/mobile/bundle/hooks/useLikeService.d.ts +5 -0
- package/mobile/bundle/hooks/useLink.d.ts +18 -0
- package/mobile/bundle/hooks/useOutsideClick.d.ts +5 -0
- package/mobile/{lib/hooks/useFetchSafeBoxes.d.ts → bundle/hooks/useSafeBoxes.d.ts} +1 -3
- package/mobile/bundle/hooks/useSearch.d.ts +4 -0
- package/mobile/bundle/hooks/useTableArrowScrollControl.d.ts +7 -0
- package/mobile/bundle/hooks/useTariffsInnerTableData.d.ts +1 -0
- package/mobile/bundle/icons/IconName.d.ts +194 -0
- package/mobile/bundle/index.d.ts +9 -0
- package/mobile/bundle/model/AlignType.d.ts +9 -0
- package/mobile/bundle/model/BgColorVersion.d.ts +8 -0
- package/mobile/bundle/model/BlockDecorator.d.ts +15 -0
- package/mobile/bundle/model/BlockVersion.d.ts +11 -0
- package/mobile/bundle/model/BlocksRegistry.d.ts +8 -0
- package/mobile/bundle/model/ButtonVersion.d.ts +6 -0
- package/mobile/bundle/model/ContentPageDef.d.ts +52 -0
- package/mobile/bundle/model/EmptyOptionType.d.ts +4 -0
- package/mobile/bundle/model/Fallback.d.ts +5 -0
- package/mobile/bundle/model/Footnote.d.ts +4 -0
- package/mobile/bundle/model/GalleryVersion.d.ts +1 -0
- package/mobile/bundle/model/HeadlineType.d.ts +29 -0
- package/mobile/bundle/model/IconVersion.d.ts +9 -0
- package/mobile/bundle/model/ImageSize.d.ts +6 -0
- package/mobile/bundle/model/InputTypes.d.ts +1 -0
- package/mobile/bundle/model/LinkProps.d.ts +24 -0
- package/mobile/bundle/model/ListOrientation.d.ts +8 -0
- package/mobile/bundle/model/Picture.d.ts +59 -0
- package/mobile/bundle/model/ProductColorVersion.d.ts +4 -0
- package/mobile/bundle/model/SitemapProps.d.ts +24 -0
- package/mobile/bundle/model/SizeVersion.d.ts +8 -0
- package/mobile/bundle/model/TableVersion.d.ts +1 -0
- package/mobile/bundle/model/VNode.d.ts +1 -0
- package/mobile/bundle/react/setup-fixture.d.ts +4 -0
- package/mobile/bundle/services/sitemap/SitemapProps.d.ts +24 -0
- package/mobile/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
- package/mobile/bundle/services/sitemap/findActiveSubItem.d.ts +3 -0
- package/mobile/bundle/services/sitemap/isHrefActive.d.ts +4 -0
- package/mobile/bundle/services/sitemap/isSubItemActive.d.ts +3 -0
- package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +3 -0
- package/mobile/bundle/services/sitemap/mergeTopItems.d.ts +2 -0
- package/mobile/bundle/services/sitemap/useSitemap.d.ts +3 -0
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -0
- package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +20 -0
- package/mobile/bundle/ui-kit/BlockWrapper.d.ts +7 -0
- package/mobile/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +96 -0
- package/mobile/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +8 -0
- package/mobile/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +9 -0
- package/mobile/bundle/ui-kit/Breadcrumb.d.ts +6 -0
- package/mobile/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
- package/mobile/bundle/ui-kit/Button/Button.d.ts +2 -0
- package/mobile/bundle/ui-kit/Button/ButtonInner.d.ts +7 -0
- package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +54 -0
- package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +5 -0
- package/mobile/bundle/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
- package/mobile/bundle/ui-kit/Button/LikeButton.d.ts +6 -0
- package/mobile/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +5 -0
- package/mobile/bundle/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
- package/mobile/bundle/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
- package/mobile/bundle/ui-kit/Button/renderArrows.d.ts +9 -0
- package/mobile/bundle/ui-kit/Checkbox/Checkbox.d.ts +2 -0
- package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +7 -0
- package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -0
- package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +5 -0
- package/mobile/bundle/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
- package/mobile/bundle/ui-kit/Description/Description.d.ts +5 -0
- package/mobile/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
- package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +9 -0
- package/mobile/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
- package/mobile/bundle/ui-kit/Foldable/FoldableSection.d.ts +5 -0
- package/mobile/bundle/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
- package/mobile/bundle/ui-kit/Heading/Heading.d.ts +2 -0
- package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +23 -0
- package/mobile/bundle/ui-kit/Icon/Icon.d.ts +2 -0
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +21 -0
- package/mobile/bundle/ui-kit/Img/Img.d.ts +2 -0
- package/mobile/bundle/ui-kit/Img/ImgAsPicture.d.ts +4 -0
- package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +2 -0
- package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +11 -0
- package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +1 -0
- package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +5 -0
- package/mobile/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
- package/mobile/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
- package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
- package/mobile/bundle/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
- package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
- package/mobile/bundle/ui-kit/Input/Input.d.ts +2 -0
- package/mobile/bundle/ui-kit/Input/InputProps.d.ts +16 -0
- package/mobile/bundle/ui-kit/InputRange/InputRange.d.ts +2 -0
- package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +11 -0
- package/mobile/bundle/ui-kit/IntersectionObserverTag.d.ts +11 -0
- package/mobile/bundle/ui-kit/List/List.d.ts +2 -0
- package/mobile/bundle/ui-kit/List/ListContent.d.ts +4 -0
- package/mobile/bundle/ui-kit/List/ListItem.d.ts +12 -0
- package/mobile/bundle/ui-kit/List/ListProps.d.ts +26 -0
- package/mobile/bundle/ui-kit/Logo/Logo.d.ts +8 -0
- package/mobile/bundle/ui-kit/Radio/Radio.d.ts +2 -0
- package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +9 -0
- package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
- package/mobile/bundle/ui-kit/SVG.d.ts +19 -0
- package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -0
- package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
- package/mobile/bundle/ui-kit/Select/Select.d.ts +14 -0
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
- package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +18 -0
- package/mobile/bundle/ui-kit/SwipeListControl/constants.d.ts +2 -0
- package/mobile/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
- package/mobile/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
- package/mobile/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
- package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
- package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
- package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +14 -0
- package/mobile/bundle/utils/addSpacesBetweenNumbers.d.ts +1 -0
- package/mobile/bundle/utils/adjustHref.d.ts +4 -0
- package/mobile/bundle/utils/assertUnreachable.d.ts +1 -0
- package/mobile/bundle/utils/changeHashOnObserve.d.ts +9 -0
- package/mobile/bundle/utils/checkIsIconRenderable.d.ts +2 -0
- package/mobile/bundle/utils/clamp.d.ts +1 -0
- package/mobile/bundle/utils/fetchJSON.d.ts +2 -0
- package/mobile/bundle/utils/getColSpan.d.ts +1 -0
- package/mobile/bundle/utils/getCurrentDate.d.ts +1 -0
- package/mobile/bundle/utils/getGeolocation.d.ts +1 -0
- package/mobile/bundle/utils/getSanitizedValue.d.ts +1 -0
- package/mobile/bundle/utils/isPictureSizeEmpty.d.ts +2 -0
- package/mobile/bundle/utils/joinList.d.ts +1 -0
- package/mobile/bundle/utils/maxBy.d.ts +2 -0
- package/mobile/bundle/utils/roundTo.d.ts +1 -0
- package/mobile/bundle/utils/style2className.d.ts +1 -0
- package/mobile/bundle/utils/tableFunc.d.ts +2 -0
- package/mobile/bundle/utils/url.d.ts +5 -0
- package/mobile/bundle/utils/withoutMobilePath.d.ts +2 -0
- package/mobile/dist/components/Accordion/Accordion.js +5 -2
- package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionContent.d.ts +9 -7
- package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -4
- package/mobile/dist/components/Accordion/AccordionItem.js +7 -8
- package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/dist/components/Accordion/AccordionItemProps.d.ts +5 -0
- package/mobile/dist/components/Accordion/AccordionItemProps.js +2 -0
- package/mobile/dist/components/Accordion/AccordionItemProps.js.map +1 -0
- package/mobile/dist/components/Accordion/AccordionItemsList.d.ts +1 -0
- package/mobile/dist/components/Accordion/AccordionItemsList.js +6 -0
- package/mobile/dist/components/Accordion/AccordionItemsList.js.map +1 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Blocks.d.ts +0 -1
- package/mobile/dist/components/Blocks.js +0 -2
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +3 -2
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/Catalog/Catalog.js +1 -1
- package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogCard.js +1 -23
- package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js +13 -48
- package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +5 -8
- package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -8
- package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +0 -11
- package/mobile/dist/components/ContentPage/filterBlocks.js +1 -3
- package/mobile/dist/components/ContentPage/filterBlocks.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/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/dist/components/ExchangeRateTile/renderInput.js +1 -1
- package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.js +1 -1
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +8 -7
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +5 -9
- package/mobile/dist/components/Gallery/Gallery.js +7 -3
- package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
- package/mobile/dist/components/Gallery/GalleryCardInner.js +14 -17
- 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 +11 -3
- package/mobile/dist/components/Header/Header.js +5 -5
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +3 -2
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/Headline/constants.d.ts +2 -1
- package/mobile/dist/components/Headline/constants.js +10 -1
- package/mobile/dist/components/Headline/constants.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +49 -0
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -0
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js +2 -0
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +1 -0
- package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js +5 -5
- package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +5 -0
- package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +17 -3
- package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +7 -28
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
- package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
- package/mobile/dist/components/SafeDepositRental/utils.d.ts +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +9 -2
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +4 -2
- package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/dist/components/StepsBlock/renderItems.d.ts +8 -0
- package/mobile/dist/components/StepsBlock/renderItems.js +10 -0
- package/mobile/dist/components/StepsBlock/renderItems.js.map +1 -0
- package/mobile/dist/components/StepsBlock/renderStepContent.d.ts +14 -0
- package/mobile/dist/components/StepsBlock/renderStepContent.js +20 -0
- package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -0
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -2
- package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -2
- package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/dist/components/TariffsTable/dataFixture.js +4 -2
- package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
- package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
- package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
- package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
- package/mobile/dist/components/Tile/Tile.js +2 -3
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/hooks/useOutsideClick.d.ts +5 -0
- package/mobile/dist/hooks/useOutsideClick.js +21 -0
- package/mobile/dist/hooks/useOutsideClick.js.map +1 -0
- package/mobile/dist/hooks/useSafeBoxes.d.ts +20 -0
- package/{dist/hooks/useFetchSafeBoxes.js → mobile/dist/hooks/useSafeBoxes.js} +9 -10
- package/mobile/dist/hooks/useSafeBoxes.js.map +1 -0
- package/mobile/dist/icons/IconName.d.ts +1 -92
- package/mobile/dist/icons/IconName.js +4 -4
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/model/BlockDecorator.d.ts +1 -0
- package/mobile/dist/model/BlockDecorator.js +2 -1
- package/mobile/dist/model/BlockDecorator.js.map +1 -1
- package/mobile/dist/model/BlocksRegistry.d.ts +4 -1
- package/mobile/dist/model/HeadlineType.d.ts +8 -0
- package/mobile/dist/model/Picture.d.ts +1 -0
- package/mobile/dist/react/setup-fixture.js +0 -2
- package/mobile/dist/react/setup-fixture.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.d.ts +0 -3
- package/mobile/dist/ui-kit/BlockWrapper.js +5 -5
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +1 -1
- package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/mobile/dist/ui-kit/Button/Button.js +1 -1
- package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +3 -2
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +1 -7
- package/mobile/dist/ui-kit/Button/ButtonSection.js +5 -10
- package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +7 -1
- package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +7 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
- package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js +11 -2
- package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +16 -0
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -0
- package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +5 -18
- package/mobile/dist/ui-kit/Foldable/Foldable.js +9 -17
- package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
- package/mobile/dist/ui-kit/Foldable/FoldablePartProps.js +2 -0
- package/mobile/dist/ui-kit/Foldable/FoldablePartProps.js.map +1 -0
- package/mobile/dist/ui-kit/Foldable/FoldableSection.d.ts +5 -0
- package/mobile/dist/ui-kit/Foldable/FoldableSection.js +17 -0
- package/mobile/dist/ui-kit/Foldable/FoldableSection.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/Icon.js +4 -5
- package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +0 -1
- package/mobile/dist/ui-kit/Img/Img.js +1 -3
- package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
- package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/dist/ui-kit/Input/Input.js +12 -3
- package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
- package/mobile/dist/ui-kit/Input/InputProps.d.ts +2 -0
- package/mobile/dist/ui-kit/InputRange/InputRange.js +2 -2
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/IntersectionObserverTag.d.ts +11 -0
- package/mobile/dist/ui-kit/IntersectionObserverTag.js +22 -0
- package/mobile/dist/ui-kit/IntersectionObserverTag.js.map +1 -0
- package/mobile/dist/ui-kit/List/List.js +13 -8
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.d.ts +2 -2
- package/mobile/dist/ui-kit/List/ListItem.js +8 -23
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListProps.d.ts +5 -3
- package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
- package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/dist/ui-kit/Select/Select.js +4 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/utils/getSanitizedValue.d.ts +1 -0
- package/mobile/dist/utils/getSanitizedValue.js +5 -0
- package/mobile/dist/utils/getSanitizedValue.js.map +1 -0
- package/mobile/lib/components/Accordion/Accordion.js +5 -2
- package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionContent.d.ts +9 -7
- package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -4
- package/mobile/lib/components/Accordion/AccordionItem.js +7 -8
- package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
- package/mobile/lib/components/Accordion/AccordionItemProps.d.ts +5 -0
- package/mobile/lib/components/Accordion/AccordionItemProps.js +2 -0
- package/mobile/lib/components/Accordion/AccordionItemProps.js.map +1 -0
- package/mobile/lib/components/Accordion/AccordionItemsList.d.ts +1 -0
- package/mobile/lib/components/Accordion/AccordionItemsList.js +4 -0
- package/mobile/lib/components/Accordion/AccordionItemsList.js.map +1 -0
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Blocks.d.ts +0 -1
- package/mobile/lib/components/Blocks.js +0 -2
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -2
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/Catalog/Catalog.js +1 -1
- package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogCard.js +1 -23
- package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js +14 -49
- package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
- package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +5 -8
- package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -8
- package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +0 -11
- package/mobile/lib/components/ContentPage/filterBlocks.js +1 -3
- package/mobile/lib/components/ContentPage/filterBlocks.js.map +1 -1
- package/mobile/lib/components/ContentPage/renderBlock.js +2 -2
- package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
- package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
- package/mobile/lib/components/ExchangeRateTile/renderInput.js +1 -1
- package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.js +1 -1
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +8 -7
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +5 -9
- package/mobile/lib/components/Gallery/Gallery.js +7 -3
- package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
- package/mobile/lib/components/Gallery/GalleryCardInner.js +15 -18
- 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 +11 -3
- package/mobile/lib/components/Header/Header.js +5 -5
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +2 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/Headline/constants.d.ts +2 -1
- package/mobile/lib/components/Headline/constants.js +9 -0
- package/mobile/lib/components/Headline/constants.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +47 -0
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -0
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js +2 -0
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +1 -0
- package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js +5 -5
- package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +5 -0
- package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +18 -4
- package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +9 -30
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
- package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
- package/mobile/lib/components/SafeDepositRental/utils.d.ts +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +9 -2
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +4 -2
- package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
- package/mobile/lib/components/StepsBlock/renderItems.d.ts +8 -0
- package/mobile/lib/components/StepsBlock/renderItems.js +7 -0
- package/mobile/lib/components/StepsBlock/renderItems.js.map +1 -0
- package/mobile/lib/components/StepsBlock/renderStepContent.d.ts +14 -0
- package/mobile/lib/components/StepsBlock/renderStepContent.js +17 -0
- package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -0
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -2
- package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -2
- package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
- package/mobile/lib/components/TariffsTable/dataFixture.js +4 -2
- package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
- package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
- package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
- package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
- package/mobile/lib/components/Tile/Tile.js +2 -3
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/hooks/useOutsideClick.d.ts +5 -0
- package/mobile/lib/hooks/useOutsideClick.js +18 -0
- package/mobile/lib/hooks/useOutsideClick.js.map +1 -0
- package/mobile/lib/hooks/useSafeBoxes.d.ts +20 -0
- package/mobile/lib/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +7 -8
- package/mobile/lib/hooks/useSafeBoxes.js.map +1 -0
- package/mobile/lib/icons/IconName.d.ts +1 -92
- package/mobile/lib/icons/IconName.js +3 -3
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/model/BlockDecorator.d.ts +1 -0
- package/mobile/lib/model/BlockDecorator.js +1 -0
- package/mobile/lib/model/BlockDecorator.js.map +1 -1
- package/mobile/lib/model/BlocksRegistry.d.ts +4 -1
- package/mobile/lib/model/HeadlineType.d.ts +8 -0
- package/mobile/lib/model/Picture.d.ts +1 -0
- package/mobile/lib/react/setup-fixture.js +0 -2
- package/mobile/lib/react/setup-fixture.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.d.ts +0 -3
- package/mobile/lib/ui-kit/BlockWrapper.js +4 -4
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +1 -1
- package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
- package/mobile/lib/ui-kit/Button/Button.js +1 -1
- package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +3 -2
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +1 -7
- package/mobile/lib/ui-kit/Button/ButtonSection.js +5 -10
- package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +6 -0
- package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -2
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
- package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js +9 -2
- package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +13 -0
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -0
- package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +5 -18
- package/mobile/lib/ui-kit/Foldable/Foldable.js +10 -18
- package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
- package/mobile/lib/ui-kit/Foldable/FoldablePartProps.js +2 -0
- package/mobile/lib/ui-kit/Foldable/FoldablePartProps.js.map +1 -0
- package/mobile/lib/ui-kit/Foldable/FoldableSection.d.ts +5 -0
- package/mobile/lib/ui-kit/Foldable/FoldableSection.js +15 -0
- package/mobile/lib/ui-kit/Foldable/FoldableSection.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/Icon.js +4 -5
- package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +0 -1
- package/mobile/lib/ui-kit/Img/Img.js +1 -3
- package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
- package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
- package/mobile/lib/ui-kit/Input/Input.js +12 -3
- package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
- package/mobile/lib/ui-kit/Input/InputProps.d.ts +2 -0
- package/mobile/lib/ui-kit/InputRange/InputRange.js +2 -2
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/IntersectionObserverTag.d.ts +11 -0
- package/mobile/lib/ui-kit/IntersectionObserverTag.js +20 -0
- package/mobile/lib/ui-kit/IntersectionObserverTag.js.map +1 -0
- package/mobile/lib/ui-kit/List/List.js +13 -8
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.d.ts +2 -2
- package/mobile/lib/ui-kit/List/ListItem.js +7 -21
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListProps.d.ts +5 -3
- package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
- package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
- package/mobile/lib/ui-kit/Select/Select.js +5 -2
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/utils/getSanitizedValue.d.ts +1 -0
- package/mobile/lib/utils/getSanitizedValue.js +2 -0
- package/mobile/lib/utils/getSanitizedValue.js.map +1 -0
- package/mobile/src/common.css +11 -3
- package/mobile/src/components/Accordion/Accordion.tsx +17 -7
- package/mobile/src/components/Accordion/AccordionContent.ts +10 -7
- package/mobile/src/components/Accordion/AccordionItem.tsx +61 -33
- package/mobile/src/components/Accordion/AccordionItemProps.ts +6 -0
- package/mobile/src/components/Accordion/AccordionItemsList.tsx +5 -0
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Blocks.ts +0 -2
- package/mobile/src/components/Calculator/CalculatorContent.ts +1 -1
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -1
- package/mobile/src/components/Catalog/Catalog.tsx +2 -2
- package/mobile/src/components/Catalog/CatalogCard.tsx +1 -35
- package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +49 -120
- package/mobile/src/components/ComparisonTable/TableColumn.tsx +25 -27
- package/mobile/src/components/ContentPage/ContentPageContext.tsx +0 -14
- package/mobile/src/components/ContentPage/filterBlocks.ts +1 -3
- package/mobile/src/components/ContentPage/renderBlock.tsx +2 -2
- package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +1 -3
- package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +8 -1
- package/mobile/src/components/ExchangeRateTile/renderInput.tsx +1 -1
- package/mobile/src/components/Footer/Contacts.tsx +1 -0
- package/mobile/src/components/Footer/Footer.tsx +15 -13
- package/mobile/src/components/Footer/FooterContent.ts +5 -10
- package/mobile/src/components/Gallery/Gallery.tsx +15 -5
- package/mobile/src/components/Gallery/GalleryCardInner.tsx +60 -44
- package/mobile/src/components/Gallery/GalleryContainer.tsx +10 -2
- package/mobile/src/components/Gallery/GalleryContent.ts +11 -3
- package/mobile/src/components/GracePeriod/GracePeriod.ui.json +5 -0
- package/mobile/src/components/Header/Header.tsx +16 -11
- package/mobile/src/components/Header/HeaderSubMenu.tsx +2 -1
- package/mobile/src/components/Headline/constants.ts +11 -1
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +48 -0
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +149 -0
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.ui.json +16 -0
- package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +55 -0
- package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +1 -0
- package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +26 -14
- package/mobile/src/components/ProductTile/ProductTile.tsx +3 -3
- package/mobile/src/components/Recommendation/RecommendationContent.ts +5 -0
- package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +34 -7
- package/mobile/src/components/SafeDepositRental/SafeDepositRental.ui.json +8 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +13 -21
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +21 -49
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
- package/mobile/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -3
- package/mobile/src/components/SafeDepositRental/utils.ts +1 -1
- package/mobile/src/components/StepsBlock/StepsBlock.ui.json +8 -0
- package/mobile/src/components/StepsBlock/StepsBlockContent.ts +9 -2
- package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +5 -2
- package/mobile/src/components/StepsBlock/renderItems.tsx +26 -0
- package/mobile/src/components/StepsBlock/renderStepContent.tsx +63 -0
- package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +4 -8
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -4
- package/mobile/src/components/TariffsTable/{dataFixture.ts → dataFixture.tsx} +3 -2
- package/mobile/src/components/TariffsTable/utils/getButtonAriaLabel.ts +1 -3
- package/mobile/src/components/Tile/Tile.tsx +3 -5
- package/mobile/src/hooks/useOutsideClick.ts +25 -0
- package/mobile/src/hooks/{useFetchSafeBoxes.ts → useSafeBoxes.ts} +7 -8
- package/mobile/src/icons/IconName.ts +3 -3
- package/mobile/src/model/BlockDecorator.ts +2 -0
- package/mobile/src/model/BlocksRegistry.ts +4 -1
- package/mobile/src/model/HeadlineType.ts +10 -0
- package/mobile/src/model/Picture.ts +1 -0
- package/mobile/src/react/setup-fixture.ts +0 -2
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -5
- package/mobile/src/ui-kit/BlockWrapper.tsx +5 -9
- package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
- package/mobile/src/ui-kit/Button/Button.tsx +1 -1
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +4 -3
- package/mobile/src/ui-kit/Button/ButtonProps.ts +1 -7
- package/mobile/src/ui-kit/Button/ButtonSection.tsx +19 -41
- package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +7 -0
- package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +19 -3
- package/mobile/src/ui-kit/CurrencyInput/adjustValue .ts +13 -2
- package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +52 -0
- package/mobile/src/ui-kit/Foldable/Foldable.tsx +26 -78
- package/mobile/src/ui-kit/Foldable/FoldablePartProps.ts +4 -0
- package/mobile/src/ui-kit/Foldable/FoldableSection.tsx +30 -0
- package/mobile/src/ui-kit/Icon/Icon.tsx +5 -6
- package/mobile/src/ui-kit/Icon/IconProps.ts +0 -1
- package/mobile/src/ui-kit/Img/Img.tsx +1 -13
- package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +14 -5
- package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -3
- package/mobile/src/ui-kit/Input/Input.tsx +18 -2
- package/mobile/src/ui-kit/Input/InputProps.ts +2 -0
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +2 -3
- package/mobile/src/ui-kit/IntersectionObserverTag.tsx +49 -0
- package/mobile/src/ui-kit/List/List.tsx +29 -18
- package/mobile/src/ui-kit/List/ListItem.tsx +14 -26
- package/mobile/src/ui-kit/List/ListProps.ts +5 -3
- package/mobile/src/ui-kit/Radio/Radio.tsx +3 -2
- package/mobile/src/ui-kit/Select/Select.tsx +8 -3
- package/mobile/src/utils/getSanitizedValue.ts +1 -0
- package/package.json +3 -3
- package/src/common.css +11 -3
- package/src/components/Accordion/Accordion.mobile.tsx +17 -7
- package/src/components/Accordion/Accordion.tsx +12 -3
- package/src/components/Accordion/AccordionContent.ts +10 -7
- package/src/components/Accordion/AccordionItem.mobile.tsx +61 -33
- package/src/components/Accordion/AccordionItem.tsx +45 -33
- package/src/components/Accordion/AccordionItemProps.ts +6 -0
- package/src/components/Accordion/AccordionItemsList.tsx +5 -0
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +4 -4
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.mobile.ts +0 -2
- package/src/components/Blocks.ts +2 -0
- package/src/components/Calculator/CalculatorContent.ts +1 -1
- package/src/components/CardTransfer/CardTransfer.tsx +3 -1
- package/src/components/Catalog/Catalog.fixture.tsx +10 -3
- package/src/components/Catalog/Catalog.tsx +2 -2
- package/src/components/Catalog/CatalogCard.tsx +1 -35
- package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +49 -120
- package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
- package/src/components/ComparisonTable/TableCell.tsx +2 -2
- package/src/components/ComparisonTable/TableColumn.tsx +25 -27
- package/src/components/ContentPage/ContentPageContext.tsx +0 -14
- package/src/components/ContentPage/filterBlocks.mobile.ts +1 -3
- package/src/components/ContentPage/filterBlocks.ts +1 -2
- package/src/components/ContentPage/renderBlock.tsx +2 -2
- package/src/components/ErrorBlock/ErrorBlock.tsx +1 -3
- package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +8 -1
- package/src/components/ExchangeRateTile/renderInput.tsx +1 -1
- package/src/components/Footer/Contacts.tsx +1 -0
- package/src/components/Footer/Footer.mobile.tsx +15 -13
- package/src/components/Footer/FooterContent.ts +5 -10
- package/src/components/Gallery/Gallery.fixture.tsx +2 -2
- package/src/components/Gallery/Gallery.mobile.tsx +15 -5
- package/src/components/Gallery/GalleryCardInner.tsx +60 -44
- package/src/components/Gallery/GalleryContainer.tsx +10 -2
- package/src/components/Gallery/GalleryContent.ts +11 -3
- package/src/components/GracePeriod/GracePeriod.ui.json +5 -0
- package/src/components/Header/Header.mobile.tsx +16 -11
- package/src/components/Header/HeaderSubMenu.tsx +2 -1
- package/src/components/Headline/constants.ts +11 -1
- package/src/components/InvestmentInfo/InvestmentInfo.example.json +48 -0
- package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +107 -0
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +149 -0
- package/src/components/InvestmentInfo/InvestmentInfo.ui.json +16 -0
- package/src/components/InvestmentInfo/InvestmentInfoContent.ts +55 -0
- package/src/components/MiniGallery/MiniGallery.fixture.tsx +45 -0
- package/src/components/MiniGallery/MiniGalleryContent.ts +1 -0
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +14 -4
- package/src/components/MobileAppTile/MobileAppTile.tsx +3 -6
- package/src/components/OtherProducts/OtherProductsItem.tsx +26 -14
- package/src/components/ProductGallery/ProductGallery.tsx +2 -2
- package/src/components/ProductTile/ProductTile.tsx +3 -3
- package/src/components/Recommendation/RecommendationContent.ts +5 -0
- package/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
- package/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRental.tsx +34 -7
- package/src/components/SafeDepositRental/SafeDepositRental.ui.json +8 -1
- package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +13 -21
- package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +21 -49
- package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
- package/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -3
- package/src/components/SafeDepositRental/utils.ts +1 -1
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +48 -6
- package/src/components/StepsBlock/StepsBlock.tsx +8 -49
- package/src/components/StepsBlock/StepsBlock.ui.json +8 -0
- package/src/components/StepsBlock/StepsBlockContent.ts +9 -2
- package/src/components/StepsBlock/StepsBlockStyleMaps.ts +5 -2
- package/src/components/StepsBlock/renderItems.tsx +26 -0
- package/src/components/StepsBlock/renderStepContent.tsx +63 -0
- package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +4 -8
- package/src/components/TariffsTable/EmbeddableCellData.tsx +5 -10
- package/src/components/TariffsTable/TariffsTable.tsx +32 -25
- package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
- package/src/components/TariffsTable/TariffsTableRow.tsx +1 -4
- package/src/components/TariffsTable/{dataFixture.ts → dataFixture.tsx} +3 -2
- package/src/components/TariffsTable/utils/getButtonAriaLabel.ts +1 -3
- package/src/components/Tile/Tile.tsx +3 -5
- package/src/hooks/useOutsideClick.ts +25 -0
- package/src/hooks/{useFetchSafeBoxes.ts → useSafeBoxes.ts} +7 -8
- package/src/icons/IconName.ts +34 -92
- package/src/model/BlockDecorator.ts +2 -0
- package/src/model/BlocksRegistry.ts +4 -1
- package/src/model/HeadlineType.ts +10 -0
- package/src/model/Picture.ts +1 -0
- package/src/react/setup-fixture.ts +0 -2
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -5
- package/src/ui-kit/BlockWrapper.tsx +5 -9
- package/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
- package/src/ui-kit/Button/Button.mobile.tsx +1 -1
- package/src/ui-kit/Button/Button.tsx +55 -27
- package/src/ui-kit/Button/ButtonInner.tsx +4 -3
- package/src/ui-kit/Button/ButtonProps.ts +1 -7
- package/src/ui-kit/Button/ButtonSection.tsx +19 -41
- package/src/ui-kit/Button/buttonClassNameConstants.ts +7 -0
- package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +19 -3
- package/src/ui-kit/CurrencyInput/adjustValue .ts +13 -2
- package/src/ui-kit/Foldable/DefaultFoldButton.tsx +52 -0
- package/src/ui-kit/Foldable/Foldable.tsx +26 -78
- package/src/ui-kit/Foldable/FoldablePartProps.ts +4 -0
- package/src/ui-kit/Foldable/FoldableSection.tsx +30 -0
- package/src/ui-kit/Icon/Icon.tsx +5 -6
- package/src/ui-kit/Icon/IconProps.ts +0 -1
- package/src/ui-kit/Img/Img.mobile.tsx +1 -13
- package/src/ui-kit/Img/Img.tsx +1 -17
- package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +14 -5
- package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
- package/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -3
- package/src/ui-kit/Input/Input.tsx +18 -2
- package/src/ui-kit/Input/InputProps.ts +2 -0
- package/src/ui-kit/InputRange/InputRange.tsx +2 -3
- package/src/ui-kit/IntersectionObserverTag.tsx +49 -0
- package/src/ui-kit/List/List.fixture.tsx +1 -21
- package/src/ui-kit/List/List.tsx +29 -18
- package/src/ui-kit/List/ListItem.tsx +14 -26
- package/src/ui-kit/List/ListProps.ts +5 -3
- package/src/ui-kit/Radio/Radio.tsx +3 -2
- package/src/ui-kit/Select/Select.tsx +8 -3
- package/src/utils/getSanitizedValue.ts +1 -0
- package/tailwind.config.cjs +6 -1
- package/dist/components/Accordion/AccordionItemInner.d.ts +0 -2
- package/dist/components/Accordion/AccordionItemInner.js +0 -9
- package/dist/components/Accordion/AccordionItemInner.js.map +0 -1
- package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +0 -2
- package/dist/components/Accordion/AccordionItemInner.mobile.js +0 -9
- package/dist/components/Accordion/AccordionItemInner.mobile.js.map +0 -1
- package/dist/components/Accordion/useActiveHandler.d.ts +0 -7
- package/dist/components/Accordion/useActiveHandler.js +0 -22
- package/dist/components/Accordion/useActiveHandler.js.map +0 -1
- package/dist/components/ContentPage/isBlockInRegistry.d.ts +0 -2
- package/dist/components/ContentPage/isBlockInRegistry.js +0 -7
- package/dist/components/ContentPage/isBlockInRegistry.js.map +0 -1
- package/dist/hooks/useFetchSafeBoxes.js.map +0 -1
- package/dist/react/IntersectionObserverTag.d.ts +0 -2
- package/dist/react/IntersectionObserverTag.js +0 -43
- package/dist/react/IntersectionObserverTag.js.map +0 -1
- package/dist/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
- package/dist/ui-kit/Foldable/useActiveHandler.js +0 -23
- package/dist/ui-kit/Foldable/useActiveHandler.js.map +0 -1
- package/dist/utils/getAccordionItems.d.ts +0 -1
- package/dist/utils/getAccordionItems.js +0 -13
- package/dist/utils/getAccordionItems.js.map +0 -1
- package/lib/components/Accordion/AccordionItemInner.d.ts +0 -2
- package/lib/components/Accordion/AccordionItemInner.js +0 -7
- package/lib/components/Accordion/AccordionItemInner.js.map +0 -1
- package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +0 -2
- package/lib/components/Accordion/AccordionItemInner.mobile.js +0 -7
- package/lib/components/Accordion/AccordionItemInner.mobile.js.map +0 -1
- package/lib/components/Accordion/useActiveHandler.d.ts +0 -7
- package/lib/components/Accordion/useActiveHandler.js +0 -19
- package/lib/components/Accordion/useActiveHandler.js.map +0 -1
- package/lib/components/ContentPage/isBlockInRegistry.d.ts +0 -2
- package/lib/components/ContentPage/isBlockInRegistry.js +0 -4
- package/lib/components/ContentPage/isBlockInRegistry.js.map +0 -1
- package/lib/hooks/useFetchSafeBoxes.js.map +0 -1
- package/lib/react/IntersectionObserverTag.d.ts +0 -2
- package/lib/react/IntersectionObserverTag.js +0 -17
- package/lib/react/IntersectionObserverTag.js.map +0 -1
- package/lib/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
- package/lib/ui-kit/Foldable/useActiveHandler.js +0 -20
- package/lib/ui-kit/Foldable/useActiveHandler.js.map +0 -1
- package/lib/utils/getAccordionItems.d.ts +0 -1
- package/lib/utils/getAccordionItems.js +0 -10
- package/lib/utils/getAccordionItems.js.map +0 -1
- package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +0 -2
- package/mobile/dist/components/Accordion/AccordionItemInner.js +0 -9
- package/mobile/dist/components/Accordion/AccordionItemInner.js.map +0 -1
- package/mobile/dist/components/Accordion/useActiveHandler.d.ts +0 -7
- package/mobile/dist/components/Accordion/useActiveHandler.js +0 -22
- package/mobile/dist/components/Accordion/useActiveHandler.js.map +0 -1
- package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +0 -2
- package/mobile/dist/components/ContentPage/isBlockInRegistry.js +0 -7
- package/mobile/dist/components/ContentPage/isBlockInRegistry.js.map +0 -1
- package/mobile/dist/hooks/useFetchSafeBoxes.js.map +0 -1
- package/mobile/dist/react/IntersectionObserverTag.d.ts +0 -2
- package/mobile/dist/react/IntersectionObserverTag.js +0 -43
- package/mobile/dist/react/IntersectionObserverTag.js.map +0 -1
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.js +0 -23
- package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +0 -1
- package/mobile/dist/utils/getAccordionItems.d.ts +0 -1
- package/mobile/dist/utils/getAccordionItems.js +0 -13
- package/mobile/dist/utils/getAccordionItems.js.map +0 -1
- package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +0 -2
- package/mobile/lib/components/Accordion/AccordionItemInner.js +0 -7
- package/mobile/lib/components/Accordion/AccordionItemInner.js.map +0 -1
- package/mobile/lib/components/Accordion/useActiveHandler.d.ts +0 -7
- package/mobile/lib/components/Accordion/useActiveHandler.js +0 -19
- package/mobile/lib/components/Accordion/useActiveHandler.js.map +0 -1
- package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +0 -2
- package/mobile/lib/components/ContentPage/isBlockInRegistry.js +0 -4
- package/mobile/lib/components/ContentPage/isBlockInRegistry.js.map +0 -1
- package/mobile/lib/hooks/useFetchSafeBoxes.js.map +0 -1
- package/mobile/lib/react/IntersectionObserverTag.d.ts +0 -2
- package/mobile/lib/react/IntersectionObserverTag.js +0 -17
- package/mobile/lib/react/IntersectionObserverTag.js.map +0 -1
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.js +0 -20
- package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +0 -1
- package/mobile/lib/utils/getAccordionItems.d.ts +0 -1
- package/mobile/lib/utils/getAccordionItems.js +0 -10
- package/mobile/lib/utils/getAccordionItems.js.map +0 -1
- package/mobile/src/components/Accordion/AccordionItemInner.tsx +0 -11
- package/mobile/src/components/Accordion/useActiveHandler.ts +0 -25
- package/mobile/src/components/ContentPage/isBlockInRegistry.ts +0 -5
- package/mobile/src/react/IntersectionObserverTag.tsx +0 -33
- package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +0 -33
- package/mobile/src/utils/getAccordionItems.ts +0 -10
- package/src/components/Accordion/AccordionItemInner.mobile.tsx +0 -11
- package/src/components/Accordion/AccordionItemInner.tsx +0 -11
- package/src/components/Accordion/useActiveHandler.ts +0 -25
- package/src/components/ContentPage/isBlockInRegistry.ts +0 -5
- package/src/react/IntersectionObserverTag.tsx +0 -33
- package/src/ui-kit/Foldable/useActiveHandler.ts +0 -33
- package/src/utils/getAccordionItems.ts +0 -10
|
@@ -228,6 +228,10 @@
|
|
|
228
228
|
return JSXTmpl;
|
|
229
229
|
};
|
|
230
230
|
|
|
231
|
+
function style2className(style) {
|
|
232
|
+
return style ? style.filter(Boolean).join(' ') : '';
|
|
233
|
+
}
|
|
234
|
+
|
|
231
235
|
const HeadingClass = {
|
|
232
236
|
h0: 'text-m-title',
|
|
233
237
|
h1: 'text-m-title',
|
|
@@ -242,220 +246,28 @@
|
|
|
242
246
|
return (jsx(Tag, { className: `font-sans font-medium m-0 ${HeadingClass[headingType]} ${className || ''}`, children: title }));
|
|
243
247
|
});
|
|
244
248
|
|
|
245
|
-
// Generated. Do not touch
|
|
246
|
-
/* eslint-disable max-len, max-lines */
|
|
247
|
-
const IconInverseMap = {
|
|
248
|
-
ActualBalanceIcon: false, AirPlaneIcon: false, AppleIcon: true, ArrowDownIcon: true, ArrowLeftIcon: true, ArrowUpIcon: true, AtmIcon: true, BankIcon: true, BuildingIcon: true, BurgerIcon: true, Calendar2Icon: true, CalendarCircleIcon: true, CalendarIcon: true, CalendarTickIcon: true, Car2Icon: true, CardIcon: true, CardPosIcon: true, CardTickIcon: true, CardWithGemIcon: false, CarIcon: false, ChartSquareIcon: true, CinemaIcon: false, ClockIcon: false, CloseIcon: true, ComfortableCompIcon: false, CreditCardsIcon: false, DiscountShapeIcon: true, DocDownloadIcon: true, DocIcon: true, DocIconMonoColor: true, DocsIcon: false, DocumentTextIcon: true, DollarIcon: false, DoneIcon: false, DoneSimpleIcon: true, EarthIcon: false, EmptyWalletChangeIcon: true, EmptyWalletIcon: true, EuroIcon: false, GeolocationIcon: true, GlassIcon: false, GlobalIcon: true, GpsIcon: true, GridIcon: true, InterestGrowthIcon: false, InterestIcon: true, JCBIcon: false, LogoIcon: true, LoupeIcon: true, MapMarkerClusterIcon: false, MapMarkerSingleIcon: false, MasterCardIcon: false, MinusIcon: true, MirIcon: false, MoneyIcon: true, MoneyInsuranceIcon: false, MoneysIcon: true, MonitorMobileIcon: true, NewDocIcon: false, OfficeIcon: false, OkIcon: true, PackA4Icon: false, PassSendIcon: false, PercentageRoundIcon: true, PercentageSquareIcon: true, PersonalCardIcon: true, PlayMarketIcon: true, PlusIcon: true, PowerIcon: false, Profile2UserIcon: true, ProfileIcon: true, PumpkinIcon: false, RoundRubleIcon: true, SafeIcon: true, ShieldTickIcon: true, SignDocsIcon: false, SmallClockIcon: true, SoundIcon: false, StrongBoxIcon: true, TelegramIcon: true, UnionPayIcon: false, UserSquareIcon: true, UserTickIcon: true, VisaIcon: false, VKIcon: true, WalletAdd2Icon: true, WalletAddIcon: true, WalletIcon: true, WalletWithMoneyIcon: true, WateringCanIcon: false
|
|
249
|
-
};
|
|
250
|
-
var IconMap;
|
|
251
|
-
(function (IconMap) {
|
|
252
|
-
IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
|
|
253
|
-
IconMap["AirPlaneIcon"] = "AirPlaneIcon";
|
|
254
|
-
IconMap["AppleIcon"] = "AppleIcon";
|
|
255
|
-
IconMap["ArrowDownIcon"] = "ArrowDownIcon";
|
|
256
|
-
IconMap["ArrowLeftIcon"] = "ArrowLeftIcon";
|
|
257
|
-
IconMap["ArrowUpIcon"] = "ArrowUpIcon";
|
|
258
|
-
IconMap["AtmIcon"] = "AtmIcon";
|
|
259
|
-
IconMap["BankIcon"] = "BankIcon";
|
|
260
|
-
IconMap["BuildingIcon"] = "BuildingIcon";
|
|
261
|
-
IconMap["BurgerIcon"] = "BurgerIcon";
|
|
262
|
-
IconMap["Calendar2Icon"] = "Calendar2Icon";
|
|
263
|
-
IconMap["CalendarCircleIcon"] = "CalendarCircleIcon";
|
|
264
|
-
IconMap["CalendarIcon"] = "CalendarIcon";
|
|
265
|
-
IconMap["CalendarTickIcon"] = "CalendarTickIcon";
|
|
266
|
-
IconMap["Car2Icon"] = "Car2Icon";
|
|
267
|
-
IconMap["CardIcon"] = "CardIcon";
|
|
268
|
-
IconMap["CardPosIcon"] = "CardPosIcon";
|
|
269
|
-
IconMap["CardTickIcon"] = "CardTickIcon";
|
|
270
|
-
IconMap["CardWithGemIcon"] = "CardWithGemIcon";
|
|
271
|
-
IconMap["CarIcon"] = "CarIcon";
|
|
272
|
-
IconMap["ChartSquareIcon"] = "ChartSquareIcon";
|
|
273
|
-
IconMap["CinemaIcon"] = "CinemaIcon";
|
|
274
|
-
IconMap["ClockIcon"] = "ClockIcon";
|
|
275
|
-
IconMap["CloseIcon"] = "CloseIcon";
|
|
276
|
-
IconMap["ComfortableCompIcon"] = "ComfortableCompIcon";
|
|
277
|
-
IconMap["CreditCardsIcon"] = "CreditCardsIcon";
|
|
278
|
-
IconMap["DiscountShapeIcon"] = "DiscountShapeIcon";
|
|
279
|
-
IconMap["DocDownloadIcon"] = "DocDownloadIcon";
|
|
280
|
-
IconMap["DocIcon"] = "DocIcon";
|
|
281
|
-
IconMap["DocIconMonoColor"] = "DocIconMonoColor";
|
|
282
|
-
IconMap["DocsIcon"] = "DocsIcon";
|
|
283
|
-
IconMap["DocumentTextIcon"] = "DocumentTextIcon";
|
|
284
|
-
IconMap["DollarIcon"] = "DollarIcon";
|
|
285
|
-
IconMap["DoneIcon"] = "DoneIcon";
|
|
286
|
-
IconMap["DoneSimpleIcon"] = "DoneSimpleIcon";
|
|
287
|
-
IconMap["EarthIcon"] = "EarthIcon";
|
|
288
|
-
IconMap["EmptyWalletChangeIcon"] = "EmptyWalletChangeIcon";
|
|
289
|
-
IconMap["EmptyWalletIcon"] = "EmptyWalletIcon";
|
|
290
|
-
IconMap["EuroIcon"] = "EuroIcon";
|
|
291
|
-
IconMap["GeolocationIcon"] = "GeolocationIcon";
|
|
292
|
-
IconMap["GlassIcon"] = "GlassIcon";
|
|
293
|
-
IconMap["GlobalIcon"] = "GlobalIcon";
|
|
294
|
-
IconMap["GpsIcon"] = "GpsIcon";
|
|
295
|
-
IconMap["GridIcon"] = "GridIcon";
|
|
296
|
-
IconMap["InterestGrowthIcon"] = "InterestGrowthIcon";
|
|
297
|
-
IconMap["InterestIcon"] = "InterestIcon";
|
|
298
|
-
IconMap["JCBIcon"] = "JCBIcon";
|
|
299
|
-
IconMap["LogoIcon"] = "LogoIcon";
|
|
300
|
-
IconMap["LoupeIcon"] = "LoupeIcon";
|
|
301
|
-
IconMap["MapMarkerClusterIcon"] = "MapMarkerClusterIcon";
|
|
302
|
-
IconMap["MapMarkerSingleIcon"] = "MapMarkerSingleIcon";
|
|
303
|
-
IconMap["MasterCardIcon"] = "MasterCardIcon";
|
|
304
|
-
IconMap["MinusIcon"] = "MinusIcon";
|
|
305
|
-
IconMap["MirIcon"] = "MirIcon";
|
|
306
|
-
IconMap["MoneyIcon"] = "MoneyIcon";
|
|
307
|
-
IconMap["MoneyInsuranceIcon"] = "MoneyInsuranceIcon";
|
|
308
|
-
IconMap["MoneysIcon"] = "MoneysIcon";
|
|
309
|
-
IconMap["MonitorMobileIcon"] = "MonitorMobileIcon";
|
|
310
|
-
IconMap["NewDocIcon"] = "NewDocIcon";
|
|
311
|
-
IconMap["OfficeIcon"] = "OfficeIcon";
|
|
312
|
-
IconMap["OkIcon"] = "OkIcon";
|
|
313
|
-
IconMap["PackA4Icon"] = "PackA4Icon";
|
|
314
|
-
IconMap["PassSendIcon"] = "PassSendIcon";
|
|
315
|
-
IconMap["PercentageRoundIcon"] = "PercentageRoundIcon";
|
|
316
|
-
IconMap["PercentageSquareIcon"] = "PercentageSquareIcon";
|
|
317
|
-
IconMap["PersonalCardIcon"] = "PersonalCardIcon";
|
|
318
|
-
IconMap["PlayMarketIcon"] = "PlayMarketIcon";
|
|
319
|
-
IconMap["PlusIcon"] = "PlusIcon";
|
|
320
|
-
IconMap["PowerIcon"] = "PowerIcon";
|
|
321
|
-
IconMap["Profile2UserIcon"] = "Profile2UserIcon";
|
|
322
|
-
IconMap["ProfileIcon"] = "ProfileIcon";
|
|
323
|
-
IconMap["PumpkinIcon"] = "PumpkinIcon";
|
|
324
|
-
IconMap["RoundRubleIcon"] = "RoundRubleIcon";
|
|
325
|
-
IconMap["SafeIcon"] = "SafeIcon";
|
|
326
|
-
IconMap["ShieldTickIcon"] = "ShieldTickIcon";
|
|
327
|
-
IconMap["SignDocsIcon"] = "SignDocsIcon";
|
|
328
|
-
IconMap["SmallClockIcon"] = "SmallClockIcon";
|
|
329
|
-
IconMap["SoundIcon"] = "SoundIcon";
|
|
330
|
-
IconMap["StrongBoxIcon"] = "StrongBoxIcon";
|
|
331
|
-
IconMap["TelegramIcon"] = "TelegramIcon";
|
|
332
|
-
IconMap["UnionPayIcon"] = "UnionPayIcon";
|
|
333
|
-
IconMap["UserSquareIcon"] = "UserSquareIcon";
|
|
334
|
-
IconMap["UserTickIcon"] = "UserTickIcon";
|
|
335
|
-
IconMap["VisaIcon"] = "VisaIcon";
|
|
336
|
-
IconMap["VKIcon"] = "VKIcon";
|
|
337
|
-
IconMap["WalletAdd2Icon"] = "WalletAdd2Icon";
|
|
338
|
-
IconMap["WalletAddIcon"] = "WalletAddIcon";
|
|
339
|
-
IconMap["WalletIcon"] = "WalletIcon";
|
|
340
|
-
IconMap["WalletWithMoneyIcon"] = "WalletWithMoneyIcon";
|
|
341
|
-
IconMap["WateringCanIcon"] = "WateringCanIcon";
|
|
342
|
-
})(IconMap || (IconMap = {}));
|
|
343
|
-
var IconTitleMap;
|
|
344
|
-
(function (IconTitleMap) {
|
|
345
|
-
IconTitleMap["ActualBalanceIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438";
|
|
346
|
-
IconTitleMap["AirPlaneIcon"] = "\u0421\u0430\u043C\u043E\u043B\u0451\u0442";
|
|
347
|
-
IconTitleMap["AppleIcon"] = "\u041B\u043E\u0433\u043E \u00ABApple\u00BB";
|
|
348
|
-
IconTitleMap["ArrowDownIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043D\u0438\u0437'";
|
|
349
|
-
IconTitleMap["ArrowLeftIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430";
|
|
350
|
-
IconTitleMap["ArrowUpIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445";
|
|
351
|
-
IconTitleMap["AtmIcon"] = "\u0411\u0430\u043D\u043A\u043E\u043C\u0430\u0442";
|
|
352
|
-
IconTitleMap["BankIcon"] = "\u0411\u0430\u043D\u043A";
|
|
353
|
-
IconTitleMap["BuildingIcon"] = "\u0417\u0434\u0430\u043D\u0438\u0435 \u0441 \u0434\u0435\u0440\u0435\u0432\u043E\u043C";
|
|
354
|
-
IconTitleMap["BurgerIcon"] = "\u0411\u0443\u0440\u0433\u0435\u0440";
|
|
355
|
-
IconTitleMap["Calendar2Icon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C 2";
|
|
356
|
-
IconTitleMap["CalendarCircleIcon"] = "\u0421\u043A\u0440\u0443\u0433\u043B\u0451\u043D\u043D\u044B\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C";
|
|
357
|
-
IconTitleMap["CalendarIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C";
|
|
358
|
-
IconTitleMap["CalendarTickIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u0441 \u0433\u0430\u043B\u043E\u0447\u043A\u043E\u0439";
|
|
359
|
-
IconTitleMap["Car2Icon"] = "\u041C\u0430\u0448\u0438\u043D\u04302";
|
|
360
|
-
IconTitleMap["CardIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430";
|
|
361
|
-
IconTitleMap["CardPosIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u043F\u043E\u0434 \u043D\u0430\u043A\u043B\u043E\u043D\u043E\u043C";
|
|
362
|
-
IconTitleMap["CardTickIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u0441 \u0433\u0430\u043B\u043E\u0447\u043A\u043E\u0439";
|
|
363
|
-
IconTitleMap["CardWithGemIcon"] = "\u041A\u0430\u0440\u0442\u0430 \u0441 \u0434\u0440\u0430\u0433\u043E\u0446\u0435\u043D\u043D\u043E\u0441\u0442\u044F\u043C\u0438";
|
|
364
|
-
IconTitleMap["CarIcon"] = "\u041C\u0430\u0448\u0438\u043D\u0430";
|
|
365
|
-
IconTitleMap["ChartSquareIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438 \u0432\u043D\u0443\u0442\u0440\u0438 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430";
|
|
366
|
-
IconTitleMap["CinemaIcon"] = "\u041A\u0438\u043D\u043E\u0442\u0435\u0430\u0442\u0440";
|
|
367
|
-
IconTitleMap["ClockIcon"] = "\u0427\u0430\u0441\u044B";
|
|
368
|
-
IconTitleMap["CloseIcon"] = "\u041A\u0440\u0435\u0441\u0442\u0438\u043A";
|
|
369
|
-
IconTitleMap["ComfortableCompIcon"] = "\u041A\u0440\u0435\u0441\u043B\u043E";
|
|
370
|
-
IconTitleMap["CreditCardsIcon"] = "\u041A\u0440\u0435\u0434\u0438\u0442\u043D\u044B\u0435 \u043A\u0430\u0440\u0442\u044B";
|
|
371
|
-
IconTitleMap["DiscountShapeIcon"] = "\u0421\u043A\u0438\u0434\u043A\u0430";
|
|
372
|
-
IconTitleMap["DocDownloadIcon"] = "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
|
|
373
|
-
IconTitleMap["DocIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
|
|
374
|
-
IconTitleMap["DocIconMonoColor"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 (\u043E\u0434\u043D\u043E\u0446\u0432\u0435\u0442\u043D\u044B\u0439)";
|
|
375
|
-
IconTitleMap["DocsIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B";
|
|
376
|
-
IconTitleMap["DocumentTextIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0441 \u0442\u0435\u043A\u0441\u0442\u043E\u043C";
|
|
377
|
-
IconTitleMap["DollarIcon"] = "\u0414\u043E\u043B\u043B\u0430\u0440";
|
|
378
|
-
IconTitleMap["DoneIcon"] = "\u0417\u0435\u043B\u0451\u043D\u0430\u044F '\u0433\u0430\u043B\u043E\u0447\u043A\u0430' \u0432 \u043A\u0440\u0443\u0433\u0435";
|
|
379
|
-
IconTitleMap["DoneSimpleIcon"] = "\u0417\u0435\u043B\u0451\u043D\u0430\u044F '\u0433\u0430\u043B\u043E\u0447\u043A\u0430'";
|
|
380
|
-
IconTitleMap["EarthIcon"] = "\u0417\u0435\u043C\u043B\u044F";
|
|
381
|
-
IconTitleMap["EmptyWalletChangeIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u043C";
|
|
382
|
-
IconTitleMap["EmptyWalletIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A";
|
|
383
|
-
IconTitleMap["EuroIcon"] = "\u0415\u0432\u0440\u043E";
|
|
384
|
-
IconTitleMap["GeolocationIcon"] = "\u0413\u0435\u043E\u043B\u043E\u043A\u0430\u0446\u0438\u044F";
|
|
385
|
-
IconTitleMap["GlassIcon"] = "\u0417\u0435\u0440\u043A\u0430\u043B\u043E";
|
|
386
|
-
IconTitleMap["GlobalIcon"] = "\u0413\u043B\u043E\u0431\u0443\u0441";
|
|
387
|
-
IconTitleMap["GpsIcon"] = "Gps";
|
|
388
|
-
IconTitleMap["GridIcon"] = "\u0421\u0435\u0442\u043A\u0430 (\u0431\u0435\u043B\u0430\u044F)";
|
|
389
|
-
IconTitleMap["InterestGrowthIcon"] = "\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0440\u043E\u0441\u0442\u0430";
|
|
390
|
-
IconTitleMap["InterestIcon"] = "\u0421\u043A\u0438\u0434\u043A\u0430";
|
|
391
|
-
IconTitleMap["JCBIcon"] = "JCB";
|
|
392
|
-
IconTitleMap["LogoIcon"] = "Logo";
|
|
393
|
-
IconTitleMap["LoupeIcon"] = "\u041B\u0443\u043F\u0430";
|
|
394
|
-
IconTitleMap["MapMarkerClusterIcon"] = "\u041C\u0430\u0440\u043A\u0435\u0440 \u043A\u0430\u0440\u0442\u044B";
|
|
395
|
-
IconTitleMap["MapMarkerSingleIcon"] = "\u041C\u0430\u0440\u043A\u0435\u0440 \u043A\u0430\u0440\u0442\u044B \u0420\u0421\u0425\u0411";
|
|
396
|
-
IconTitleMap["MasterCardIcon"] = "MasterCard";
|
|
397
|
-
IconTitleMap["MinusIcon"] = "\u041C\u0438\u043D\u0443\u0441";
|
|
398
|
-
IconTitleMap["MirIcon"] = "\u041C\u0418\u0420";
|
|
399
|
-
IconTitleMap["MoneyIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438";
|
|
400
|
-
IconTitleMap["MoneyInsuranceIcon"] = "\u0414\u0435\u043D\u0435\u0436\u043D\u043E\u0435 \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u0438\u0435";
|
|
401
|
-
IconTitleMap["MoneysIcon"] = "\u041A\u0443\u043F\u044E\u0440\u044B";
|
|
402
|
-
IconTitleMap["MonitorMobileIcon"] = "\u041C\u043E\u043D\u0438\u0442\u043E\u0440 \u0438 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u044B\u0439";
|
|
403
|
-
IconTitleMap["NewDocIcon"] = "\u041D\u043E\u0432\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
|
|
404
|
-
IconTitleMap["OfficeIcon"] = "\u041E\u0444\u0438\u0441";
|
|
405
|
-
IconTitleMap["OkIcon"] = "\u041B\u043E\u0433\u043E \u00AB\u041E\u0434\u043D\u043E\u043A\u043B\u0430\u0441\u0441\u043D\u0438\u043A\u0438\u00BB";
|
|
406
|
-
IconTitleMap["PackA4Icon"] = "\u041F\u0430\u0447\u043A\u0430 \u0431\u0443\u043C\u0430\u0433\u0438 \u04104";
|
|
407
|
-
IconTitleMap["PassSendIcon"] = "\u0411\u0438\u0437\u043D\u0435\u0441";
|
|
408
|
-
IconTitleMap["PercentageRoundIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B (\u043A\u0440\u0443\u0433.)";
|
|
409
|
-
IconTitleMap["PercentageSquareIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B";
|
|
410
|
-
IconTitleMap["PersonalCardIcon"] = "\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430";
|
|
411
|
-
IconTitleMap["PlayMarketIcon"] = "\u041B\u043E\u0433\u043E \u00ABPlayMarket\u00BB";
|
|
412
|
-
IconTitleMap["PlusIcon"] = "\u041F\u043B\u044E\u0441";
|
|
413
|
-
IconTitleMap["PowerIcon"] = "\u0429\u0438\u0442";
|
|
414
|
-
IconTitleMap["Profile2UserIcon"] = "\u041F\u0440\u043E\u0444\u0438\u043B\u044C, 2 \u043F\u0435\u0440\u0441\u043E\u043D\u044B";
|
|
415
|
-
IconTitleMap["ProfileIcon"] = "\u041F\u0440\u043E\u0444\u0438\u043B\u044C";
|
|
416
|
-
IconTitleMap["PumpkinIcon"] = "\u0422\u044B\u043A\u0432\u0430";
|
|
417
|
-
IconTitleMap["RoundRubleIcon"] = "\u0420\u0443\u0431\u043B\u044C (\u043A\u0440\u0443\u0433.)";
|
|
418
|
-
IconTitleMap["SafeIcon"] = "\u0421\u0435\u0439\u0444";
|
|
419
|
-
IconTitleMap["ShieldTickIcon"] = "\u0411\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u044C";
|
|
420
|
-
IconTitleMap["SignDocsIcon"] = "\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u043D\u044B\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B";
|
|
421
|
-
IconTitleMap["SmallClockIcon"] = "\u041C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0435 \u0447\u0430\u0441\u044B";
|
|
422
|
-
IconTitleMap["SoundIcon"] = "\u0417\u0432\u0443\u043A";
|
|
423
|
-
IconTitleMap["StrongBoxIcon"] = "\u042F\u0449\u0438\u043A \u0441 \u0437\u0430\u043C\u043E\u0447\u043D\u043E\u0439 \u0441\u043A\u0432\u0430\u0436\u0438\u043D\u043E\u0439";
|
|
424
|
-
IconTitleMap["TelegramIcon"] = "\u041B\u043E\u0433\u043E \u00ABTelegram\u00BB";
|
|
425
|
-
IconTitleMap["UnionPayIcon"] = "UnionPay";
|
|
426
|
-
IconTitleMap["UserSquareIcon"] = "\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u0432 \u0440\u0430\u043C\u043A\u0435";
|
|
427
|
-
IconTitleMap["UserTickIcon"] = "\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C";
|
|
428
|
-
IconTitleMap["VisaIcon"] = "Visa";
|
|
429
|
-
IconTitleMap["VKIcon"] = "\u041B\u043E\u0433\u043E \u00ABVK\u00BB";
|
|
430
|
-
IconTitleMap["WalletAdd2Icon"] = "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043A\u0430\u0440\u0442\u044B";
|
|
431
|
-
IconTitleMap["WalletAddIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u043F\u043B\u044E\u0441\u043E\u043C";
|
|
432
|
-
IconTitleMap["WalletIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A";
|
|
433
|
-
IconTitleMap["WalletWithMoneyIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u0434\u0435\u043D\u044C\u0433\u0430\u043C\u0438";
|
|
434
|
-
IconTitleMap["WateringCanIcon"] = "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0434\u0443\u043A\u0442";
|
|
435
|
-
})(IconTitleMap || (IconTitleMap = {}));
|
|
436
|
-
|
|
437
249
|
const svgUseStyleMap = {
|
|
438
250
|
normal: 'text-primary-main',
|
|
439
251
|
black: 'text-black',
|
|
440
252
|
white: 'text-black',
|
|
441
253
|
};
|
|
442
|
-
const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${
|
|
254
|
+
const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
|
|
443
255
|
const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
|
|
444
|
-
if (asSVG
|
|
256
|
+
if (asSVG) {
|
|
445
257
|
return (jsx(Background, { className: className, children: jsxs("svg", { className: [
|
|
446
258
|
getSvgSize(className, imgProps.width),
|
|
447
259
|
svgUseStyleMap[iconVersion],
|
|
448
260
|
imageClassName,
|
|
449
|
-
getInvertStyle(
|
|
261
|
+
getInvertStyle(iconVersion),
|
|
450
262
|
].join(' '), ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
|
|
451
263
|
}
|
|
452
264
|
return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
|
|
453
265
|
});
|
|
454
|
-
const getInvertStyle = (
|
|
266
|
+
const getInvertStyle = (iconVersion) => iconVersion === 'white' ? 'invert' : '';
|
|
455
267
|
const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
|
|
456
268
|
const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
|
|
457
269
|
|
|
458
|
-
function getIconVersion(image) {
|
|
270
|
+
function getIconVersion$1(image) {
|
|
459
271
|
return typeof image === 'string' ? 'normal' : image.iconVersion || 'normal';
|
|
460
272
|
}
|
|
461
273
|
|
|
@@ -497,18 +309,12 @@
|
|
|
497
309
|
// backwards compatibility with existing icons in usage
|
|
498
310
|
const icon = typeof image === 'string' ? image : image.icon;
|
|
499
311
|
if (icon || icon === '') {
|
|
500
|
-
return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion(image), name: icon, ...iconProps })) : null;
|
|
312
|
+
return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion$1(image), name: icon, ...iconProps })) : null;
|
|
501
313
|
}
|
|
502
314
|
return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile }));
|
|
503
315
|
});
|
|
504
316
|
|
|
505
|
-
const Img = JSX((
|
|
506
|
-
return (jsx(ImgInner, { className: className, image: image, imageClassName: imageClassName, ...iconProps, isMobile: true }));
|
|
507
|
-
});
|
|
508
|
-
|
|
509
|
-
function style2className(style) {
|
|
510
|
-
return style ? style.filter(Boolean).join(' ') : '';
|
|
511
|
-
}
|
|
317
|
+
const Img = JSX((props) => jsx(ImgInner, { ...props, isMobile: true }));
|
|
512
318
|
|
|
513
319
|
const ALIGN_TEXT = {
|
|
514
320
|
left: 'text-left',
|
|
@@ -785,9 +591,16 @@
|
|
|
785
591
|
};
|
|
786
592
|
}
|
|
787
593
|
|
|
594
|
+
const iconStyleMap = {
|
|
595
|
+
primary: 'group-hover:brightness-0 group-hover:invert',
|
|
596
|
+
secondary: 'group-hover:brightness-0 group-hover:invert',
|
|
597
|
+
white: 'group-hover:brightness-0 group-hover:invert',
|
|
598
|
+
link: '',
|
|
599
|
+
};
|
|
600
|
+
|
|
788
601
|
const ButtonInner = JSX((props) => {
|
|
789
|
-
const { text, aboveText, appendLeft, appendRight } = props;
|
|
790
|
-
return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-xs-light text-left", children: aboveText }), jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? appendRight : null] }));
|
|
602
|
+
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
603
|
+
return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-xs-light text-left", children: aboveText }), jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
|
|
791
604
|
});
|
|
792
605
|
const getButtonStyle = (props) => {
|
|
793
606
|
const { className = '', version, aboveText, rounded } = props;
|
|
@@ -820,7 +633,7 @@
|
|
|
820
633
|
const Button = JSX(({ className, text, aboveText, appendLeft, href, target, onClick, children, disabled, rounded, version = 'primary', ariaLabel, ...rest }) => {
|
|
821
634
|
// It isn't a valid HTML attribute. Must be excluded from "rest"
|
|
822
635
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
823
|
-
const {
|
|
636
|
+
const { appendRight, ...buttonInnerRest } = rest;
|
|
824
637
|
const buttonInner = children ?? (jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, rounded: rounded, version: version }));
|
|
825
638
|
if (disabled) {
|
|
826
639
|
return (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: `inline-block ${styleButton} ${buttonDisabledStyleMap[version] || ''} ${rounded ? 'rounded-full' : 'rounded-md'} ${className || ''}`, children: buttonInner }));
|
|
@@ -831,61 +644,48 @@
|
|
|
831
644
|
const ButtonSection = JSX(({ context, className = '', buttons }) => {
|
|
832
645
|
const { handlerDecorator } = context;
|
|
833
646
|
const router = context.useRouter();
|
|
834
|
-
return buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) =>
|
|
647
|
+
return buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => (jsx(ButtonSectionItem, { button: button, handlerDecorator: handlerDecorator, router: router }, String(index)))) })) : null;
|
|
648
|
+
});
|
|
649
|
+
const ButtonSectionItem = JSX(({ router, handlerDecorator, button }) => {
|
|
650
|
+
const buttonProps = useLink({ router, handlerDecorator }, button);
|
|
651
|
+
return jsx(Button, { ...button, ...buttonProps });
|
|
835
652
|
});
|
|
836
|
-
function renderButton$2({ icon, iconRight, version = 'primary', ...button }, i) {
|
|
837
|
-
if (!button?.text) {
|
|
838
|
-
return null;
|
|
839
|
-
}
|
|
840
|
-
const imgStyle = version === 'primary' ? 'group-hover:text-black' : 'group-hover:text-white';
|
|
841
|
-
const iconVersion = version === 'secondary' ? 'normal' : 'white';
|
|
842
|
-
return icon ? (jsx(Button, { appendLeft: jsx(Img, { imageClassName: imgStyle, image: { ...icon, iconVersion: iconVersion }, width: "24", height: "24", asSVG: true }), appendRight: jsx(Img, { imageClassName: imgStyle, image: { ...iconRight, iconVersion: iconVersion }, width: "24", height: "24", asSVG: true }), version: version, ...button }, String(i))) : (jsx(Button, { version: version, ...button }, String(i)));
|
|
843
|
-
}
|
|
844
653
|
|
|
845
|
-
const
|
|
846
|
-
primary: 'rounded-full inline-block mr-3 mt-2',
|
|
847
|
-
secondary: 'rounded-full inline-block mr-3 mt-2',
|
|
848
|
-
gray: 'rounded-full inline-block mr-3 mt-2',
|
|
849
|
-
tile: 'rounded-full inline-block mr-4 mt-3',
|
|
850
|
-
'tile-white': 'rounded-full inline-block mr-4 mt-3',
|
|
851
|
-
};
|
|
852
|
-
const LIST_DOT_STYLE_MAP = {
|
|
654
|
+
const LIST_DOT_STYLE_MAP$1 = {
|
|
853
655
|
primary: 'bg-primary-text',
|
|
854
656
|
secondary: 'bg-white',
|
|
855
657
|
gray: 'bg-secondary-text',
|
|
856
|
-
tile: 'bg-black',
|
|
857
|
-
'tile-white': 'bg-white',
|
|
858
658
|
};
|
|
859
|
-
const
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
const size = {
|
|
864
|
-
primary: 'w-2 h-2 min-w-2 min-h-2',
|
|
865
|
-
secondary: 'w-2 h-2 min-w-2 min-h-2',
|
|
866
|
-
gray: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5',
|
|
867
|
-
tile: 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
|
|
868
|
-
'tile-white': 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
|
|
869
|
-
};
|
|
870
|
-
return `${LIST_STYLE_CLASSES[version]} ${LIST_DOT_STYLE_MAP[version]} ${size[version]}`;
|
|
659
|
+
const DOT_SIZE_MAP = {
|
|
660
|
+
L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4 mt-3',
|
|
661
|
+
M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3 mt-3',
|
|
662
|
+
S: 'w-1 h-1 min-w-1 min-h-1 mr-2 mt-2.5',
|
|
871
663
|
};
|
|
664
|
+
const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary', size = 'M' }) => {
|
|
665
|
+
return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { className: `rounded-full inline-block ${LIST_DOT_STYLE_MAP$1[version]} ${DOT_SIZE_MAP[size]}` })) : null, jsx("span", { children: children })] }));
|
|
666
|
+
});
|
|
872
667
|
|
|
873
668
|
const TEXT_STYLE_MAP = {
|
|
874
669
|
primary: 'text-primary-text',
|
|
875
670
|
secondary: 'text-white',
|
|
876
671
|
gray: 'text-secondary-text',
|
|
877
|
-
tile: 'text-primary-text',
|
|
878
|
-
'tile-white': 'text-white',
|
|
879
672
|
};
|
|
880
673
|
const TEXT_SIZE_MAP = {
|
|
881
|
-
|
|
882
|
-
|
|
674
|
+
S: 'text-l-light',
|
|
675
|
+
M: 'text-h6',
|
|
676
|
+
L: 'text-h5',
|
|
677
|
+
};
|
|
678
|
+
const ITEM_INDENT_MAP = {
|
|
679
|
+
S: 'ml-2',
|
|
680
|
+
M: 'ml-3',
|
|
681
|
+
L: 'ml-4',
|
|
883
682
|
};
|
|
884
683
|
const List = JSX((props) => {
|
|
885
|
-
const { className = '',
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
684
|
+
const { className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M', version = 'primary', } = props;
|
|
685
|
+
if (!items?.length) {
|
|
686
|
+
return null;
|
|
687
|
+
}
|
|
688
|
+
return (jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${TEXT_SIZE_MAP[listItemSize]} ${className} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, version: version, size: listItemSize, children: item }, String(i)))) }));
|
|
889
689
|
});
|
|
890
690
|
|
|
891
691
|
const BaseTile = JSX(({ className = '', title = '', children, buttons, image }) => {
|
|
@@ -904,7 +704,8 @@
|
|
|
904
704
|
const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
|
|
905
705
|
const isIconWhite = benefitsVersion === 'white' || version === 'secondary';
|
|
906
706
|
const listItemAlign = description ? 'items-start' : 'items-center';
|
|
907
|
-
|
|
707
|
+
const iconVersion = getIconVersion(icon, isIconWhite);
|
|
708
|
+
return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: renderBenefitIconBgStyle(version, benefitsVersion), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion }, asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
|
|
908
709
|
});
|
|
909
710
|
function renderBenefitIconBgStyle(version, benefitsVersion) {
|
|
910
711
|
let bgColorStyle = 'bg-primary-main text-black';
|
|
@@ -916,6 +717,7 @@
|
|
|
916
717
|
}
|
|
917
718
|
return `w-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
|
|
918
719
|
}
|
|
720
|
+
const getIconVersion = (icon, isIconWhite) => icon?.iconVersion || isIconWhite ? 'white' : 'normal';
|
|
919
721
|
|
|
920
722
|
const renderBenefit = (version = 'primary', benefitsVersion = 'normal') => ({ icon, label, description }, i) => {
|
|
921
723
|
return (jsx(BenefitItem, { icon: icon, label: label, description: description, version: version, benefitsVersion: benefitsVersion }, String(i)));
|
|
@@ -979,16 +781,21 @@
|
|
|
979
781
|
}
|
|
980
782
|
function renderCard(card, key) {
|
|
981
783
|
return (jsxs("div", { className: `h-full justify-between box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col
|
|
982
|
-
${VersionStyleMap[card.version ?? 'primary']}`, children: [jsxs("div", { children: [card.image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? jsx("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton
|
|
784
|
+
${VersionStyleMap[card.version ?? 'primary']}`, children: [jsxs("div", { children: [card.image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-3.5", image: card.image }) })) : null, card.title ? jsx("h3", { className: `text-m-title-xs font-medium m-0`, children: card.title }) : null, card.description ? renderDescription(card) : null, card.items?.length ? renderItems(card.items, card.isDotted, card.version) : null] }), card?.button?.text ? renderButton(card.button) : null] }, key));
|
|
983
785
|
}
|
|
984
|
-
function renderButton
|
|
786
|
+
function renderButton(button) {
|
|
985
787
|
return (jsx(Button, { className: "mt-3", appendLeft: button?.icon && jsx(Img, { image: button?.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
|
|
986
788
|
}
|
|
987
789
|
function renderDescription(card) {
|
|
988
790
|
return (jsx("div", { className: `text-secondary-text mt-1 text-s ${card.version === 'secondary' ? 'text-white opacity-80' : ''}`, children: card.description }));
|
|
989
791
|
}
|
|
792
|
+
const LIST_DOT_STYLE_MAP = {
|
|
793
|
+
primary: 'bg-primary-text',
|
|
794
|
+
secondary: 'bg-white',
|
|
795
|
+
gray: 'bg-secondary-text',
|
|
796
|
+
};
|
|
990
797
|
function renderItems(items, isDotted, version = 'primary') {
|
|
991
|
-
return (jsx("section", { className: "mt-3", children: items.map((item, i) => (jsxs("div", { children: [isDotted ? jsx("div", { className:
|
|
798
|
+
return (jsx("section", { className: "mt-3", children: items.map((item, i) => (jsxs("div", { children: [isDotted ? (jsx("div", { className: `rounded-full inline-block mr-3 mt-2 w-2 h-2 min-w-2 min-h-2 ${LIST_DOT_STYLE_MAP[version]}` })) : null, jsx("span", { className: "text-m font-medium", children: item.title }), jsx("span", { className: `text-s pl-2 ${version === 'primary' ? 'text-secondary-text' : ''}`, children: item.text })] }, String(i)))) }));
|
|
992
799
|
}
|
|
993
800
|
|
|
994
801
|
class EventBus {
|
|
@@ -1035,15 +842,31 @@
|
|
|
1035
842
|
}
|
|
1036
843
|
};
|
|
1037
844
|
|
|
845
|
+
const IntersectionObserverTag = JSX((props) => {
|
|
846
|
+
const { tag = 'section', observerCallback, observerOptions, className = '', anchor = null, children, } = props;
|
|
847
|
+
const intersectionObserver = useRef(null);
|
|
848
|
+
const ref = useCallback((element) => {
|
|
849
|
+
if (!element) {
|
|
850
|
+
return;
|
|
851
|
+
}
|
|
852
|
+
if (intersectionObserver.current) {
|
|
853
|
+
intersectionObserver.current.disconnect();
|
|
854
|
+
}
|
|
855
|
+
intersectionObserver.current = new IntersectionObserver(observerCallback, observerOptions);
|
|
856
|
+
intersectionObserver.current.observe(element);
|
|
857
|
+
}, [observerCallback, observerOptions]);
|
|
858
|
+
const Tag = tag;
|
|
859
|
+
return (jsx(Tag, { ref: ref, className: className, id: anchor, children: children }));
|
|
860
|
+
});
|
|
861
|
+
|
|
1038
862
|
const THRESHOLD_ACCURACY = 100; // Decimals number (100 is for two decimals number, 0.**)
|
|
1039
863
|
const THRESHOLD_ARRAY_LENGTH = 18;
|
|
1040
864
|
const THRESHOLD_ARRAY_START_VALUE = (THRESHOLD_ACCURACY - THRESHOLD_ARRAY_LENGTH) / THRESHOLD_ACCURACY;
|
|
1041
|
-
const BlockWrapper = JSX(({ anchor, className,
|
|
865
|
+
const BlockWrapper = JSX(({ anchor, className, children, tag = 'section', labels }) => {
|
|
1042
866
|
const Tag = tag;
|
|
1043
|
-
const { IntersectionObserverTag } = context;
|
|
1044
867
|
const [shouldRenderBlock, setShouldRenderBlock] = useState(true);
|
|
1045
868
|
const anchorClickRef = useRef({});
|
|
1046
|
-
const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor
|
|
869
|
+
const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor]);
|
|
1047
870
|
useEffect(() => {
|
|
1048
871
|
const anchorClickCleanup = EventBus.inst.subscribe('anchorClick', (e) => {
|
|
1049
872
|
anchorClickRef.current = e;
|
|
@@ -1061,7 +884,7 @@
|
|
|
1061
884
|
anchorClickCleanup();
|
|
1062
885
|
tabCleanup();
|
|
1063
886
|
};
|
|
1064
|
-
}, [
|
|
887
|
+
}, []);
|
|
1065
888
|
if (!shouldRenderBlock) {
|
|
1066
889
|
return null;
|
|
1067
890
|
}
|
|
@@ -1098,7 +921,7 @@
|
|
|
1098
921
|
LinkList,
|
|
1099
922
|
};
|
|
1100
923
|
|
|
1101
|
-
const renderBlocksList$1 = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) :
|
|
924
|
+
const renderBlocksList$1 = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) : [];
|
|
1102
925
|
const renderBlock$1 = ({ context, className }) => (block, i) => {
|
|
1103
926
|
if (!block) {
|
|
1104
927
|
return null;
|
|
@@ -1112,40 +935,41 @@
|
|
|
1112
935
|
return (jsx(EmbeddedBlock, { className: `${className} ${classNameBlock}`, context: context, ...rest }, `block_${i}`));
|
|
1113
936
|
};
|
|
1114
937
|
|
|
1115
|
-
const
|
|
1116
|
-
|
|
938
|
+
const Foldable = JSX(({ isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
|
|
939
|
+
const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
|
|
940
|
+
const onToggle = useCallback(() => {
|
|
941
|
+
setIsUnfolded((_) => !_);
|
|
942
|
+
}, []);
|
|
943
|
+
const sectionNode = renderFoldableSection({ isUnfolded, onToggle });
|
|
944
|
+
const buttonNode = renderFoldButton ? renderFoldButton({ isUnfolded, onToggle }) : null;
|
|
945
|
+
return isFoldButtonOnTop ? (jsxs("div", { children: [buttonNode, sectionNode] })) : (jsxs("div", { children: [sectionNode, buttonNode] }));
|
|
1117
946
|
});
|
|
1118
947
|
|
|
1119
|
-
const
|
|
1120
|
-
const
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
return;
|
|
948
|
+
const FoldableSection = JSX(({ className = '', isUnfolded, children }) => {
|
|
949
|
+
const containerRef = useRef(null);
|
|
950
|
+
useEffect(() => {
|
|
951
|
+
if (containerRef.current) {
|
|
952
|
+
containerRef.current.style.maxHeight = isUnfolded
|
|
953
|
+
? `${containerRef.current.scrollHeight}px`
|
|
954
|
+
: '';
|
|
1127
955
|
}
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
contentBlock.style.maxHeight = contentBlock.style.maxHeight
|
|
1131
|
-
? ''
|
|
1132
|
-
: `${contentBlock.scrollHeight}px`;
|
|
1133
|
-
};
|
|
1134
|
-
return { isActive, hasContent, icon, handleToggle };
|
|
1135
|
-
};
|
|
1136
|
-
|
|
1137
|
-
const AccordionItem = JSX(({ label, labelIcon, blocks, bordered, context }) => {
|
|
1138
|
-
const { hasContent, icon, handleToggle } = useActiveHandler({ blocks });
|
|
1139
|
-
return (jsxs("li", { className: `${borderedLiClass(bordered)} border-solid border-main-divider`, children: [jsxs("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text
|
|
1140
|
-
${bordered ? '' : 'py-[14px] px-0'}
|
|
1141
|
-
${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [jsxs("span", { className: `text-m-title-xs font-medium pr-2.5 flex ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: [labelIcon ? (jsx(Img, { image: labelIcon, className: "mr-3 flex-shrink-0", width: "24", height: "24", asSVG: true })) : null, label] }), hasContent ? (jsx(Img, { className: "flex-shrink-0", image: icon, width: "24", height: "24", asSVG: true })) : null] }), hasContent ? jsx(AccordionItemInner, { blocks: blocks, context: context }) : null] }));
|
|
956
|
+
}, [isUnfolded]);
|
|
957
|
+
return (jsx("div", { ref: containerRef, className: `transition-max-h duration-300 overflow-hidden max-h-0 ${className}`, children: children }));
|
|
1142
958
|
});
|
|
959
|
+
|
|
960
|
+
const icons = ['PlusIcon', 'MinusIcon'];
|
|
961
|
+
const AccordionItem = JSX(({ label = '', labelIcon, bordered, children, hasContent = true }) => (jsx("li", { className: `${borderedLiClass(bordered)} border-solid border-main-divider`, children: jsx(Foldable, { isFoldButtonOnTop: true, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: "flex flex-wrap group-last:last:pb-0", isUnfolded: isUnfolded, children: children })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(FoldButton, { className: bordered ? '' : 'py-[14px] px-0', label: label, icon: icons[Number(isUnfolded)], primaryIcon: labelIcon, hasContent: hasContent, onClick: onToggle })) }) })));
|
|
962
|
+
const FoldButton = JSX(({ className, hasContent, icon, label, primaryIcon, onClick }) => (jsxs("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text
|
|
963
|
+
${className}
|
|
964
|
+
${hasContent ? 'group cursor-pointer' : ''}`, onClick: onClick, children: [jsxs("span", { className: `text-m-title-xs font-medium pr-2.5 flex ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: [primaryIcon ? (jsx(Img, { image: primaryIcon, className: "mr-3 flex-shrink-0", width: "24", height: "24", asSVG: true })) : null, label] }), hasContent ? (jsx(Img, { className: "flex-shrink-0", image: icon, width: "24", height: "24", asSVG: true })) : null] })));
|
|
1143
965
|
function borderedLiClass(bordered) {
|
|
1144
966
|
return bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0';
|
|
1145
967
|
}
|
|
1146
968
|
|
|
1147
|
-
const
|
|
1148
|
-
|
|
969
|
+
const AccordionItemsList = JSX(({ children }) => (jsx("ul", { className: "list-none m-0 p-0", children: children })));
|
|
970
|
+
|
|
971
|
+
const Accordion = JSX(({ title, description, accordionItems, context, className = '', bordered, ...rest }) => {
|
|
972
|
+
return (jsxs(BlockWrapper, { context: context, className: `py-6 px-4 font-sans bg-white text-primary-text ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-2 text-center", title: title }) : null, description ? jsx("div", { className: "mb-5 text-m-light text-center", children: description }) : null, accordionItems?.length ? (jsx(AccordionItemsList, { children: accordionItems.map((item, i) => (jsx(AccordionItem, { context: context, bordered: bordered, hasContent: Boolean(item.blocks?.length), ...item, children: renderBlocksList$1({ blocks: item.blocks, context, className: '!p-0 mb-5' }) }, `AccordionItem_${i}`))) })) : null] }));
|
|
1149
973
|
});
|
|
1150
974
|
|
|
1151
975
|
const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
|
|
@@ -1168,69 +992,28 @@
|
|
|
1168
992
|
const buttonVersion = isFillGradient ? 'secondary' : 'primary';
|
|
1169
993
|
return (jsxs("div", { className: `border border-main-stroke rounded-md p-4 mb-3.5 ${gradientClassName}`, role: "row", children: [jsx(HeaderCell, { ...header, isFillGradient: isFillGradient }), columnDataView?.length
|
|
1170
994
|
? columnDataView.map(({ rowHeader, cell }, i) => (jsx(TableCell, { cell: cell, rowHeader: rowHeader, isFillGradient: isFillGradient }, String(i))))
|
|
1171
|
-
: null, showRow ?
|
|
995
|
+
: null, showRow && header?.link ? (jsx(Button, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "text-s font-medium mt-4 py-[11px]", children: header.link.text })) : null, renderToggleButton({ onToggleColumn, isFillGradient, showRow })] }));
|
|
1172
996
|
});
|
|
1173
|
-
const
|
|
1174
|
-
if (!header.link) {
|
|
1175
|
-
return null;
|
|
1176
|
-
}
|
|
1177
|
-
return (jsx(Button, { href: header.link.href, target: header.link.target, version: buttonVersion, className: "text-s font-medium mt-4 py-[11px]", children: header.link.text }));
|
|
1178
|
-
};
|
|
1179
|
-
const renderToggleButton = ({ onToggleColumn, isFillGradient, showRow }) => (jsx("div", { className: "mt-5", role: "cell", children: jsx("a", { role: "link", onClick: onToggleColumn, className: `text-s font-medium cursor-pointer ${isFillGradient ? 'text-white/80' : 'text-primary-main'}`, children: !showRow ? 'Показать описание' : 'Скрыть' }) }));
|
|
997
|
+
const renderToggleButton = ({ onToggleColumn, isFillGradient, showRow, }) => (jsx("div", { className: "mt-5", role: "cell", children: jsx("a", { role: "link", onClick: onToggleColumn, className: `text-s font-medium cursor-pointer ${isFillGradient ? 'text-white/80' : 'text-primary-main'}`, children: !showRow ? 'Показать описание' : 'Скрыть' }) }));
|
|
1180
998
|
|
|
1181
|
-
const ComparisonTable = JSX((
|
|
1182
|
-
const
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
999
|
+
const ComparisonTable = JSX((props) => {
|
|
1000
|
+
const { className, title } = props;
|
|
1001
|
+
return (jsxs("section", { className: `bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${className || ''}`, children: [title ? (jsx(Heading, { headingType: "h3", className: "font-medium text-center m-0 mb-5", title: title })) : null, jsx("div", { role: "table", children: jsx(TableInner, { ...props }) })] }));
|
|
1002
|
+
});
|
|
1003
|
+
const TableInner = JSX(({ columns, rowHeaders, isColoredFirstColumn, visibleRowLength, orientation, context }) => {
|
|
1186
1004
|
const [columnsViewState, setColumnsViewState] = useState(new Array(columns?.length || 0).fill(!visibleRowLength));
|
|
1187
|
-
const handleToggleColumn = (
|
|
1188
|
-
|
|
1189
|
-
setColumnsViewState(
|
|
1190
|
-
};
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
isColoredFirstColumn,
|
|
1196
|
-
columnsViewState,
|
|
1197
|
-
handleToggleColumn,
|
|
1198
|
-
orientation,
|
|
1199
|
-
setColumnsViewState,
|
|
1200
|
-
})] }));
|
|
1005
|
+
const handleToggleColumn = useCallback((colIndex) => {
|
|
1006
|
+
const toggleColState = (colState, i) => i === colIndex ? !colState : colState;
|
|
1007
|
+
setColumnsViewState((_) => _.map(toggleColState));
|
|
1008
|
+
}, []);
|
|
1009
|
+
const handleSlideChange = useCallback(() => setColumnsViewState((_) => new Array(_.length).fill(false)), []);
|
|
1010
|
+
const getColumnData = (cellData) => cellData?.map((cell, i) => ({ cell, rowHeader: rowHeaders?.[i]?.title }));
|
|
1011
|
+
const tableColumns = columns?.map(({ data, header }, colIndex) => (jsx(TableColumn, { context: context, visibleRowLength: visibleRowLength, showRow: columnsViewState[colIndex], header: header, columnData: getColumnData(data), isFillGradient: colIndex === 0 && isColoredFirstColumn, onToggleColumn: () => handleToggleColumn(colIndex) }, String(colIndex))));
|
|
1012
|
+
return orientation === 'horizontal' ? (jsx(SwipeListControl, { context: context, onSlideChange: handleSlideChange, children: tableColumns })) : (tableColumns);
|
|
1201
1013
|
});
|
|
1202
|
-
const renderColumns = ({ context, tableData, visibleRowLength, isColoredFirstColumn, columnsViewState, handleToggleColumn, orientation = 'horizontal', setColumnsViewState, }) => (jsx("div", { role: "table", children: tableData?.length
|
|
1203
|
-
? renderInnerTable({
|
|
1204
|
-
orientation,
|
|
1205
|
-
context,
|
|
1206
|
-
columnsViewState,
|
|
1207
|
-
setColumnsViewState,
|
|
1208
|
-
tableData,
|
|
1209
|
-
visibleRowLength,
|
|
1210
|
-
isColoredFirstColumn,
|
|
1211
|
-
handleToggleColumn,
|
|
1212
|
-
})
|
|
1213
|
-
: null }));
|
|
1214
|
-
const renderInnerTable = ({ orientation, context, columnsViewState, setColumnsViewState, tableData, visibleRowLength, isColoredFirstColumn, handleToggleColumn, }) => orientation === 'horizontal' ? (jsx(SwipeListControl, { context: context, onSlideChange: onSlideChange(columnsViewState, setColumnsViewState), children: tableData.map(renderColumn({
|
|
1215
|
-
context,
|
|
1216
|
-
visibleRowLength,
|
|
1217
|
-
isColoredFirstColumn,
|
|
1218
|
-
columnsViewState,
|
|
1219
|
-
handleToggleColumn,
|
|
1220
|
-
})) })) : (tableData.map(renderColumn({
|
|
1221
|
-
context,
|
|
1222
|
-
visibleRowLength,
|
|
1223
|
-
isColoredFirstColumn,
|
|
1224
|
-
columnsViewState,
|
|
1225
|
-
handleToggleColumn,
|
|
1226
|
-
})));
|
|
1227
|
-
const renderColumn = ({ context, visibleRowLength, isColoredFirstColumn, columnsViewState, handleToggleColumn }) => (columnData, i) => (jsx(TableColumn, { context: context, visibleRowLength: visibleRowLength, showRow: columnsViewState[i], header: columnData.header, columnData: columnData.column, isFillGradient: i === 0 && isColoredFirstColumn, onToggleColumn: () => handleToggleColumn(i) }, String(i)));
|
|
1228
|
-
const onSlideChange = (columnsViewState, setColumnsViewState) => () => {
|
|
1229
|
-
setColumnsViewState(new Array(columnsViewState.length).fill(false));
|
|
1230
|
-
};
|
|
1231
1014
|
|
|
1232
1015
|
const consistentDataMap = new Map();
|
|
1233
|
-
function useAsyncData
|
|
1016
|
+
function useAsyncData(key, fetcher, { fallback } = {}) {
|
|
1234
1017
|
const args = useMemo(() => keyToArgs(key), [key]);
|
|
1235
1018
|
const [data, setData] = useState();
|
|
1236
1019
|
const [error, setError] = useState();
|
|
@@ -1289,18 +1072,6 @@
|
|
|
1289
1072
|
}
|
|
1290
1073
|
}
|
|
1291
1074
|
|
|
1292
|
-
let impl = useAsyncData$1;
|
|
1293
|
-
const useAsyncData = (...args) => impl(...args);
|
|
1294
|
-
|
|
1295
|
-
async function fetchJSON(url, options) {
|
|
1296
|
-
try {
|
|
1297
|
-
return await fetchJSONUnsafe(url, options);
|
|
1298
|
-
}
|
|
1299
|
-
catch (err) {
|
|
1300
|
-
console.error(err);
|
|
1301
|
-
}
|
|
1302
|
-
return null;
|
|
1303
|
-
}
|
|
1304
1075
|
async function fetchJSONUnsafe(url, options) {
|
|
1305
1076
|
const response = await fetch(url, {
|
|
1306
1077
|
...options,
|
|
@@ -1312,232 +1083,37 @@
|
|
|
1312
1083
|
return await response.json();
|
|
1313
1084
|
}
|
|
1314
1085
|
|
|
1315
|
-
|
|
1316
|
-
const
|
|
1317
|
-
return
|
|
1318
|
-
};
|
|
1319
|
-
|
|
1320
|
-
function useExchangeRates() {
|
|
1321
|
-
const { data } = useAsyncData(EXCHANGE_RATES_URL, fetchExchangeRates);
|
|
1322
|
-
const result = data?.hits?.hits?.map((_) => _._source) || [];
|
|
1323
|
-
return result.length ? getCurrencyListByRate(result) : result;
|
|
1324
|
-
}
|
|
1325
|
-
function fetchExchangeRates() {
|
|
1326
|
-
return fetchJSON(EXCHANGE_RATES_URL, {
|
|
1327
|
-
method: 'POST',
|
|
1328
|
-
body: JSON.stringify(EXCHANGE_RATES_BODY),
|
|
1329
|
-
});
|
|
1086
|
+
function useSitemap(fallback = {}) {
|
|
1087
|
+
const { data } = useAsyncData(`/wcms-resources/${projectSettings.SITEMAP || 'sitemap'}.json`, fetchJSONUnsafe, { fallback });
|
|
1088
|
+
return data || {};
|
|
1330
1089
|
}
|
|
1331
|
-
const EXCHANGE_RATES_URL = 'https://coins.rshb.ru/api/catalog/vue_storefront_magento_1_currency_rates_average/currency_rates_average/_search?size=10000';
|
|
1332
|
-
const EXCHANGE_RATES_BODY = {
|
|
1333
|
-
query: {
|
|
1334
|
-
bool: {
|
|
1335
|
-
must: [
|
|
1336
|
-
{
|
|
1337
|
-
term: {
|
|
1338
|
-
// eslint-disable-next-line camelcase
|
|
1339
|
-
russian_region_code: '77',
|
|
1340
|
-
},
|
|
1341
|
-
},
|
|
1342
|
-
{
|
|
1343
|
-
term: {
|
|
1344
|
-
// eslint-disable-next-line camelcase
|
|
1345
|
-
from_volume: '0',
|
|
1346
|
-
},
|
|
1347
|
-
},
|
|
1348
|
-
{
|
|
1349
|
-
terms: {
|
|
1350
|
-
// eslint-disable-next-line camelcase
|
|
1351
|
-
currency_pair: ['USD/RUB', 'EUR/RUB'],
|
|
1352
|
-
},
|
|
1353
|
-
},
|
|
1354
|
-
],
|
|
1355
|
-
},
|
|
1356
|
-
},
|
|
1357
|
-
};
|
|
1358
|
-
const getCurrencyListByRate = (currencyRates) => currencyRates.reduce((result, _) => {
|
|
1359
|
-
const currencyInfo = _['currency_first'];
|
|
1360
|
-
const currencyCode = currencyInfo?.code;
|
|
1361
|
-
if (!result.some((i) => i.code === currencyCode)) {
|
|
1362
|
-
result.push({
|
|
1363
|
-
code: currencyCode,
|
|
1364
|
-
buy: roundTo(Number(_.rate_buy), 3),
|
|
1365
|
-
sell: roundTo(Number(_.rate_sell), 3),
|
|
1366
|
-
});
|
|
1367
|
-
}
|
|
1368
|
-
return result;
|
|
1369
|
-
}, []);
|
|
1370
|
-
|
|
1371
|
-
var Currency;
|
|
1372
|
-
(function (Currency) {
|
|
1373
|
-
Currency["RUB"] = "RUB";
|
|
1374
|
-
Currency["EUR"] = "EUR";
|
|
1375
|
-
Currency["USD"] = "USD";
|
|
1376
|
-
})(Currency || (Currency = {}));
|
|
1377
|
-
|
|
1378
|
-
const currencyNumberFormat = new Intl.NumberFormat('ru', {
|
|
1379
|
-
style: 'currency',
|
|
1380
|
-
currency: Currency.RUB,
|
|
1381
|
-
});
|
|
1382
|
-
const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
|
|
1383
1090
|
|
|
1384
|
-
const
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
const CurrencyTable = JSX(({ className, exchangeCurrencyItems }) => {
|
|
1390
|
-
return (jsxs("table", { className: `h-fit w-fit ${className}`, children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { className: TABLE_HEAD_STYLE, children: "\u0412\u0430\u043B\u044E\u0442\u0430" }), jsx("th", { className: `${TABLE_HEAD_STYLE} pl-11`, children: "\u041A\u0443\u043F\u0438\u0442\u044C" }), jsx("th", { className: `${TABLE_HEAD_STYLE} pl-11`, children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" })] }) }), jsx("tbody", { children: exchangeCurrencyItems.map((item) => renderCurrencyRow(item)) })] }));
|
|
1391
|
-
});
|
|
1392
|
-
const renderCurrencyRow = (exchangeCurrencyItem) => {
|
|
1393
|
-
const code = exchangeCurrencyItem?.code;
|
|
1394
|
-
return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [code ? jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[code] }, width: "24", height: "24" }) : null, jsx("span", { className: "ml-2", children: code })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.sell) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buy) })] }, code));
|
|
1395
|
-
};
|
|
1396
|
-
|
|
1397
|
-
const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0 text-m-light", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
|
|
1398
|
-
|
|
1399
|
-
const Input = JSX(({ className = '', inputClassName = '', id, name, type = 'text', label, value = '', children, onChange, ...inputProps }) => {
|
|
1400
|
-
const handleChange = useCallback((e) => {
|
|
1401
|
-
const validInputValue = e.target.validity.valid ? e.target.value : value;
|
|
1402
|
-
onChange(validInputValue);
|
|
1403
|
-
}, [onChange]);
|
|
1404
|
-
const paddingStyle = children ? 'pr-8' : '';
|
|
1405
|
-
return (jsxs("div", { className: `relative ${className}`, children: [label ? jsx("label", { className: "block text-m-light mb-2", children: label }) : null, jsx("input", { className: `w-full border rounded-md border-main-stroke hover:border-primary-hover active:border-primary-text
|
|
1406
|
-
focus:border-primary-text text-primary-text outline-none p-4 ${paddingStyle} ${inputClassName}`, id: id, name: name || id, type: type, value: value, onChange: handleChange, ...inputProps }), children] }));
|
|
1407
|
-
});
|
|
1408
|
-
|
|
1409
|
-
const Select = JSX(({ className = '', isBorder = true, label, options = [], value, onChange, placeholder = '' }) => {
|
|
1410
|
-
const [selectedItem, setSelectedItem] = useState(options[0] || { key: '', text: '' });
|
|
1411
|
-
const [isOpen, setIsOpen] = useState(false);
|
|
1412
|
-
const choiceOption = (option) => {
|
|
1413
|
-
setSelectedItem(option);
|
|
1414
|
-
setIsOpen(false);
|
|
1415
|
-
onChange(option);
|
|
1091
|
+
const useSearch = () => {
|
|
1092
|
+
const [term, setTerm] = useState('');
|
|
1093
|
+
return {
|
|
1094
|
+
term,
|
|
1095
|
+
setTerm: (text) => setTerm(text),
|
|
1416
1096
|
};
|
|
1417
|
-
const isSelected = (option) => Boolean(option.key === selectedItem.key);
|
|
1418
|
-
useEffect(() => {
|
|
1419
|
-
setSelectedItem(value || { key: '', text: '' });
|
|
1420
|
-
}, [value]);
|
|
1421
|
-
return (jsxs("div", { className: `${className}`, children: [label ? jsx("span", { className: "mb-2 flex", children: label }) : null, jsxs("div", { className: `relative ${isOpen ? 'z-20' : 'z-10'}`, children: [jsxs("div", { className: `text-m-light flex justify-between items-center mb-0.5 text-primary-text cursor-pointer
|
|
1422
|
-
${getBorderStyle(isBorder)}`, onClick: () => setIsOpen(!isOpen), children: [jsx("p", { className: "p-4 pr-8 h-[56px] overflow-hidden text-ellipsis whitespace-nowrap", children: selectedItem?.text || placeholder }), jsx(Icon, { name: "ArrowUpIcon", width: "16", height: "16", className: `absolute right-3 ${isOpen ? '' : 'rotate-180'}` })] }), options?.length ? (jsx("div", { className: `h-0 ${renderOptionsStyle(isOpen)}`, children: jsx("div", { className: `bg-white text-l max-h-[256px] overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]`, children: options.map(renderOption(choiceOption, isOpen, isSelected)) }) })) : null] })] }));
|
|
1423
|
-
});
|
|
1424
|
-
const renderOptionsStyle = (isOpen) => (isOpen ? '' : 'overflow-hidden');
|
|
1425
|
-
const renderOption = (choiceOption, isOpen, isSelected) => (option, i) => {
|
|
1426
|
-
return (jsxs("div", { onClick: () => {
|
|
1427
|
-
choiceOption(option);
|
|
1428
|
-
}, className: "flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative", children: [jsx("span", { className: "min-h-6", children: option.text }), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", className: ['absolute right-4 pt-0.5', isSelected(option) && isOpen ? '' : 'hidden'].join(' ') })] }, String(i)));
|
|
1429
1097
|
};
|
|
1430
|
-
const getBorderStyle = (isBorder) => isBorder ? 'border border-main-stroke rounded-md hover:border-primary-hover' : '';
|
|
1431
|
-
|
|
1432
|
-
function renderInput(props) {
|
|
1433
|
-
const { placeholder, rates, selected, value, setValue, setSelected } = props;
|
|
1434
|
-
const ratesOptions = rates.map((_) => ({ key: _.code ?? '', text: _.code ?? '' }));
|
|
1435
|
-
const selectedValue = { key: selected, text: selected };
|
|
1436
|
-
return (jsxs("div", { className: "relative flex", children: [jsx(Input, { className: "shrink-0 h-14 pl-4 pt-4 pb-4 text-l w-full appearance-none mr-[-90px]", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (jsx(Select, { isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
|
|
1437
|
-
}
|
|
1438
1098
|
|
|
1439
|
-
const
|
|
1440
|
-
const
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
() => props.handleConvert(props.value, Currency.RUB),
|
|
1454
|
-
],
|
|
1455
|
-
[
|
|
1456
|
-
(_) => _.value === Currency.RUB && _.oppositeValue === Currency.RUB,
|
|
1457
|
-
() => props.handleConvert(props.value, Currency.USD),
|
|
1458
|
-
],
|
|
1459
|
-
[() => true, () => props.handleConvert(props.value)],
|
|
1460
|
-
])(props)?.();
|
|
1461
|
-
|
|
1462
|
-
const ExchangeCurrencyCalculator = JSX(({ context, className = '', currencyRatesBuy, currencyRatesSell, button }) => {
|
|
1463
|
-
const { useRouter, handlerDecorator } = context;
|
|
1464
|
-
const router = useRouter();
|
|
1465
|
-
const [calcState, setCalcState] = useState({
|
|
1466
|
-
inputSell: '',
|
|
1467
|
-
inputBuy: '',
|
|
1468
|
-
selectSell: currencyRatesBuy?.[0]?.code || Currency.RUB,
|
|
1469
|
-
selectBuy: currencyRatesSell?.[0]?.code || Currency.USD,
|
|
1470
|
-
});
|
|
1471
|
-
const handleSetCalcState = (newState) => {
|
|
1472
|
-
setCalcState((oldState) => ({ ...oldState, ...newState }));
|
|
1473
|
-
};
|
|
1474
|
-
return (jsxs("div", { className: `grid gap-[18px] pt-2 ${className}`, children: [renderInput({
|
|
1475
|
-
placeholder: 'Хочу продать',
|
|
1476
|
-
rates: currencyRatesSell,
|
|
1477
|
-
selected: calcState.selectSell,
|
|
1478
|
-
setSelected: handleSelectSell(calcState, handleSetCalcState, currencyRatesSell),
|
|
1479
|
-
value: calcState.inputSell,
|
|
1480
|
-
setValue: (value) => handleInputSell(handleSetCalcState, currencyRatesSell)(value, calcState.selectSell, calcState.selectBuy),
|
|
1481
|
-
}), renderInput({
|
|
1482
|
-
placeholder: 'Получу',
|
|
1483
|
-
rates: currencyRatesBuy,
|
|
1484
|
-
selected: calcState.selectBuy,
|
|
1485
|
-
setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
|
|
1486
|
-
value: calcState.inputBuy,
|
|
1487
|
-
setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
|
|
1488
|
-
}), button?.text ? (jsx(Button, { className: "py-4 mr-1", version: button?.version, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] }));
|
|
1099
|
+
const SearchBarInner = JSX(({ className, isMobile = false }) => {
|
|
1100
|
+
const { term, setTerm } = useSearch();
|
|
1101
|
+
const LoupeIconClassName = isMobile ? 'w-5 h-5' : 'w-6 h-6';
|
|
1102
|
+
const SearchBarLabelClassName = isMobile ? 'text-s' : 'text-l-light';
|
|
1103
|
+
const SearchBarInputClassName = isMobile ? ' placeholder-transparent' : 'h-full';
|
|
1104
|
+
const inputPlaceholder = isMobile ? 'some search' : undefined;
|
|
1105
|
+
return (jsxs("form", { className: `font-sans relative ${className}`, children: [jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [jsx("div", { className: LoupeIconClassName, children: jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
|
|
1106
|
+
outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
|
|
1107
|
+
e.preventDefault();
|
|
1108
|
+
setTerm('');
|
|
1109
|
+
}, children: jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })) : (jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-[3px] right-1", onClick: (ev) => {
|
|
1110
|
+
ev?.preventDefault();
|
|
1111
|
+
console.log('click');
|
|
1112
|
+
}, children: jsx("div", { className: "text-s px-9 py-2.5", children: "\u041D\u0430\u0439\u0442\u0438" }) }))] }));
|
|
1489
1113
|
});
|
|
1490
|
-
const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
|
|
1491
|
-
setCalcState({ selectSell: value });
|
|
1492
|
-
callbackCurrencySelect({
|
|
1493
|
-
value,
|
|
1494
|
-
oppositeValue: calcState.selectBuy,
|
|
1495
|
-
handleConvert: (codeFrom = calcState.selectSell, codeTo = calcState.selectBuy) => {
|
|
1496
|
-
handleInputSell(setCalcState, currencyRatesSell)(calcState.inputSell, codeFrom, codeTo);
|
|
1497
|
-
},
|
|
1498
|
-
});
|
|
1499
|
-
};
|
|
1500
|
-
const handleSelectBuy = (calcState, setCalcState, currencyRatesBuy) => (value) => {
|
|
1501
|
-
setCalcState({ selectBuy: value });
|
|
1502
|
-
callbackCurrencySelect({
|
|
1503
|
-
value,
|
|
1504
|
-
oppositeValue: calcState.selectSell,
|
|
1505
|
-
handleConvert: (codeTo = calcState.selectBuy, codeFrom = calcState.selectSell) => handleInputBuy(setCalcState, currencyRatesBuy)(calcState.inputBuy, codeTo, codeFrom),
|
|
1506
|
-
});
|
|
1507
|
-
};
|
|
1508
|
-
const handleInputSell = (setCalcState, currencyRatesSell) => (value, codeFrom, codeTo) => {
|
|
1509
|
-
setCalcState({ inputSell: formatValue(value), selectBuy: codeTo });
|
|
1510
|
-
const rate = currencyRatesSell.find((_) => _.code === codeTo)?.buy ||
|
|
1511
|
-
currencyRatesSell.find((_) => _.code === codeFrom)?.sell;
|
|
1512
|
-
if (rate) {
|
|
1513
|
-
setCalcState({
|
|
1514
|
-
inputBuy: String(calculateResult(value, rate, codeFrom === Currency.RUB) || ''),
|
|
1515
|
-
});
|
|
1516
|
-
}
|
|
1517
|
-
};
|
|
1518
|
-
const handleInputBuy = (setCalcState, currencyRatesBuy) => (value, codeTo, codeFrom) => {
|
|
1519
|
-
setCalcState({ inputBuy: formatValue(value), selectSell: codeFrom });
|
|
1520
|
-
const rate = currencyRatesBuy.find((_) => _.code === codeFrom)?.sell ||
|
|
1521
|
-
currencyRatesBuy.find((_) => _.code === codeTo)?.buy;
|
|
1522
|
-
if (rate) {
|
|
1523
|
-
setCalcState({
|
|
1524
|
-
inputSell: String(calculateResult(value, rate, codeTo === Currency.RUB) || ''),
|
|
1525
|
-
});
|
|
1526
|
-
}
|
|
1527
|
-
};
|
|
1528
1114
|
|
|
1529
|
-
const
|
|
1530
|
-
|
|
1531
|
-
distance: '6км',
|
|
1532
|
-
};
|
|
1533
|
-
const ExchangeRateTile = JSX(({ className = '', context, title = 'Курсы обмена валют', button, ...rest }) => {
|
|
1534
|
-
const currencyRates = useExchangeRates();
|
|
1535
|
-
const currencyRatesBuy = currencyRates.filter((_) => _.buy);
|
|
1536
|
-
currencyRatesBuy.unshift({ code: Currency.RUB });
|
|
1537
|
-
const currencyRatesSell = currencyRates.filter((_) => _.sell);
|
|
1538
|
-
currencyRatesSell.push({ code: Currency.RUB });
|
|
1539
|
-
return (jsx(BlockWrapper, { context: context, className: `bg-white text-primary-text font-sans p-9 box-border min-h-[320px]
|
|
1540
|
-
${className}`, ...rest, children: jsx(BaseTile, { context: context, title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation, { ...DEFAULT_LOCATION })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", context: context, currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
|
|
1115
|
+
const SearchBar = JSX(({ className = '' }) => {
|
|
1116
|
+
return jsx(SearchBarInner, { className: className, isMobile: true });
|
|
1541
1117
|
});
|
|
1542
1118
|
|
|
1543
1119
|
const SVG_COLOR = {
|
|
@@ -1563,7 +1139,7 @@
|
|
|
1563
1139
|
text: 'Обратная связь',
|
|
1564
1140
|
href: '/',
|
|
1565
1141
|
target: '_blank',
|
|
1566
|
-
}) })) : null] }));
|
|
1142
|
+
}), ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] }));
|
|
1567
1143
|
});
|
|
1568
1144
|
const renderContact = (item, index) => {
|
|
1569
1145
|
const { type, text, description } = item;
|
|
@@ -1642,54 +1218,11 @@
|
|
|
1642
1218
|
return (jsxs("div", { className: `${className || ''}`, children: [jsx("div", { className: "py-6", children: jsx("span", { className: "text-xs-light text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: `flex flex-col justify-start items-start gap-2`, children: links.map((_, i) => (jsx(TextInformationLink, { index: i, className: "", ...useLink({ router, handlerDecorator }, _) }, String(i)))) })) : null] }));
|
|
1643
1219
|
});
|
|
1644
1220
|
|
|
1645
|
-
function useSitemap(fallback = {}) {
|
|
1646
|
-
const { data } = useAsyncData(`/wcms-resources/${projectSettings.SITEMAP || 'sitemap'}.json`, fetchJSONUnsafe, { fallback });
|
|
1647
|
-
return data || {};
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
const useSearch = () => {
|
|
1651
|
-
const [term, setTerm] = useState('');
|
|
1652
|
-
return {
|
|
1653
|
-
term,
|
|
1654
|
-
setTerm: (text) => setTerm(text),
|
|
1655
|
-
};
|
|
1656
|
-
};
|
|
1657
|
-
|
|
1658
|
-
const SearchBarInner = JSX(({ className, isMobile = false }) => {
|
|
1659
|
-
const { term, setTerm } = useSearch();
|
|
1660
|
-
const LoupeIconClassName = isMobile ? 'w-5 h-5' : 'w-6 h-6';
|
|
1661
|
-
const SearchBarLabelClassName = isMobile ? 'text-s' : 'text-l-light';
|
|
1662
|
-
const SearchBarInputClassName = isMobile ? ' placeholder-transparent' : 'h-full';
|
|
1663
|
-
const inputPlaceholder = isMobile ? 'some search' : undefined;
|
|
1664
|
-
return (jsxs("form", { className: `font-sans relative ${className}`, children: [jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [jsx("div", { className: LoupeIconClassName, children: jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
|
|
1665
|
-
outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
|
|
1666
|
-
e.preventDefault();
|
|
1667
|
-
setTerm('');
|
|
1668
|
-
}, children: jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })) : (jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-[3px] right-1", onClick: (ev) => {
|
|
1669
|
-
ev?.preventDefault();
|
|
1670
|
-
console.log('click');
|
|
1671
|
-
}, children: jsx("div", { className: "text-s px-9 py-2.5", children: "\u041D\u0430\u0439\u0442\u0438" }) }))] }));
|
|
1672
|
-
});
|
|
1673
|
-
|
|
1674
|
-
const SearchBar = JSX(({ className = '' }) => {
|
|
1675
|
-
return jsx(SearchBarInner, { className: className, isMobile: true });
|
|
1676
|
-
});
|
|
1677
|
-
|
|
1678
|
-
const getAccordionItems = (items) => items?.map((item) => ({
|
|
1679
|
-
label: item.text || '',
|
|
1680
|
-
blocks: [
|
|
1681
|
-
{
|
|
1682
|
-
accordionBlockType: 'LinkList',
|
|
1683
|
-
documents: item.items || [],
|
|
1684
|
-
},
|
|
1685
|
-
],
|
|
1686
|
-
}));
|
|
1687
|
-
|
|
1688
1221
|
const Footer = JSX(({ className = '', documents, relatedEnterprises, contacts, socialMedia, context, horizontalNavigationTitle, page, }) => {
|
|
1689
1222
|
const fallback = page?.fallback;
|
|
1690
1223
|
const sitemap = useSitemap(fallback);
|
|
1691
1224
|
const dispositions = sitemap?.dispositions;
|
|
1692
|
-
return (jsxs("footer", { className: `font-sans px-4 py-[26px] bg-white ${className}`, children: [jsx(Contacts, { className: "overflow-hidden", items: contacts, context: context, hasButton: true }), jsx(
|
|
1225
|
+
return (jsxs("footer", { className: `font-sans px-4 py-[26px] bg-white ${className}`, children: [jsx(Contacts, { className: "overflow-hidden", items: contacts, context: context, hasButton: true }), jsx(AccordionItemsList, { children: sitemap.topItems?.map((item, i) => (jsx(AccordionItem, { context: context, label: item.text, children: jsx(LinkList, { context: context, documents: item.items }) }, String(i)))) }), jsx("div", { children: dispositions?.map(renderSubMenuItem) }), jsx(MobileAppTile, { context: context, title: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435", description: "\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043B\u044F IOS \u0438 Android" }), jsx(SearchBar, { context: context, className: "grow" }), jsx(SocialMedia, { className: "pb-4", media: socialMedia, context: context }), jsx(HorizontalNavigation, { title: horizontalNavigationTitle, links: relatedEnterprises, context: context }), jsx(TextInformation, { links: documents, context: context })] }));
|
|
1693
1226
|
});
|
|
1694
1227
|
const renderSubMenuItem = (menu, i) => {
|
|
1695
1228
|
const { icon, href, text } = menu;
|
|
@@ -1769,11 +1302,10 @@
|
|
|
1769
1302
|
const HeaderTop = JSX(({ onClick, bgColor }) => (jsxs("div", { className: "flex items-center justify-between border-0 border-b border-main-divider h-[50px]", children: [jsxs("div", { className: "flex items-center", children: [jsx("button", { className: "pl-0 pr-4 border-0 bg-transparent cursor-pointer", onClick: onClick, "aria-label": "\u041E\u0442\u043A\u0440\u044B\u0442\u044C \u043C\u0435\u043D\u044E", children: jsx(Img, { image: { icon: 'BurgerIcon', iconVersion: bgColor === 'bg-white' ? 'black' : 'white' }, className: "text-primary-text w-6 h-6", width: "24", height: "24", asSVG: true }) }), jsx(Logo, { className: "mr-8", bgColor: bgColor })] }), jsx("button", { className: `${bgColor === 'bg-white' ? 'text-primary-main' : 'text-white'} text-s border-0 bg-transparent cursor-pointer`, children: "\u0412\u043E\u0439\u0442\u0438" })] })));
|
|
1770
1303
|
|
|
1771
1304
|
const Header = JSX(({ className = '', defaultLocation, bgColor = 'bg-white', context, topItems, page }) => {
|
|
1305
|
+
const { handlerDecorator } = context;
|
|
1772
1306
|
const router = context.useRouter();
|
|
1773
1307
|
const fallback = page?.fallback;
|
|
1774
1308
|
const sitemap = useSitemap(fallback);
|
|
1775
|
-
const dispositions = sitemap?.dispositions;
|
|
1776
|
-
const { handlerDecorator } = context;
|
|
1777
1309
|
const mergedItems = mergeTopItems(sitemap.topItems, topItems);
|
|
1778
1310
|
const activeTopItem = mergedItems.find(isTopItemActive(router));
|
|
1779
1311
|
const subItems = activeTopItem?.items;
|
|
@@ -1784,7 +1316,7 @@
|
|
|
1784
1316
|
...useLink({ router, handlerDecorator }, _),
|
|
1785
1317
|
active: _ === activeSubItem,
|
|
1786
1318
|
bgColor,
|
|
1787
|
-
}, i)) }) })] }), burgerMenuShow ? (jsx(HeaderBurger, { context: context, onClick: toggleBurgerMenu, burgerSubMenu: dispositions, defaultLocation: defaultLocation, children: jsx(
|
|
1319
|
+
}, i)) }) })] }), burgerMenuShow ? (jsx(HeaderBurger, { context: context, onClick: toggleBurgerMenu, burgerSubMenu: sitemap?.dispositions, defaultLocation: defaultLocation, children: jsx(AccordionItemsList, { children: sitemap.topItems?.map((item, i) => (jsx(AccordionItem, { context: context, label: item.text, children: jsx(LinkList, { context: context, documents: item.items }) }, String(i)))) }) })) : null] }));
|
|
1788
1320
|
});
|
|
1789
1321
|
const renderSubItem = (item, i) => (jsx(HeaderItem, { className: "mr-8 whitespace-nowrap text-s", ...item }, String(i)));
|
|
1790
1322
|
|
|
@@ -1859,18 +1391,20 @@
|
|
|
1859
1391
|
primary: {
|
|
1860
1392
|
background: 'bg-white',
|
|
1861
1393
|
title: 'text-primary-text',
|
|
1862
|
-
description: 'text-secondary-text',
|
|
1394
|
+
description: '!text-secondary-text text-l-light',
|
|
1863
1395
|
iconText: 'text-secondary-text',
|
|
1864
1396
|
iconBackground: 'bg-main-divider',
|
|
1865
1397
|
iconConnector: 'bg-secondary-light',
|
|
1398
|
+
dot: 'bg-secondary-text',
|
|
1866
1399
|
},
|
|
1867
1400
|
secondary: {
|
|
1868
1401
|
background: 'bg-primary-main',
|
|
1869
1402
|
title: 'text-white',
|
|
1870
|
-
description: 'text-white/80',
|
|
1403
|
+
description: '!text-white/80 text-l-light',
|
|
1871
1404
|
iconText: 'text-white',
|
|
1872
1405
|
iconBackground: 'bg-white/30',
|
|
1873
1406
|
iconConnector: 'bg-white',
|
|
1407
|
+
dot: 'bg-white/80',
|
|
1874
1408
|
},
|
|
1875
1409
|
};
|
|
1876
1410
|
|
|
@@ -1905,9 +1439,7 @@
|
|
|
1905
1439
|
return (jsx("div", { className: `${iconAreaSize} ${styleMap.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`, children: jsx("span", { className: `font-medium flex self-center ${styleMap.title} ${iconTextSize}`, children: checkIsIconRenderable(step?.icon) ? (jsx(Img, { image: { ...step.icon, iconVersion: STEPS_SVG_VERSION_MAP[version] }, width: iconSize, height: iconSize, asSVG: true })) : (jsx("span", { children: i + 1 })) }) }));
|
|
1906
1440
|
};
|
|
1907
1441
|
|
|
1908
|
-
const
|
|
1909
|
-
|
|
1910
|
-
const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? (jsx("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => (jsx(Button, { className: `mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${icon ? 'w-12 h-12' : ''}`, ariaLabel: getButtonAriaLabel(icon), rounded: rounded, appendLeft: icon?.src || icon?.icon ? jsx(Img, { image: icon, width: "24px", height: "24px", asSVG: true }) : null, ...buttonProps, "aria-label": icon }, String(idx)))) })) : null;
|
|
1442
|
+
const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? (jsx("div", { children: buttons.map(({ rounded, appendLeft, ariaLabel, ...buttonProps }, idx) => (jsx(Button, { className: `mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${appendLeft ? 'w-12 h-12' : ''}`, appendLeft: appendLeft, rounded: rounded, ariaLabel: ariaLabel, ...buttonProps }, String(idx)))) })) : null;
|
|
1911
1443
|
const renderLabelDescriptionCellData = ({ label, description }) => {
|
|
1912
1444
|
const labelClassName = `text-xl font-medium m-0 ${description ? 'mb-1' : ''}`;
|
|
1913
1445
|
return (jsxs("div", { children: [label ? jsx("div", { className: labelClassName, children: label }) : null, description ? jsx("div", { className: "text-s text-secondary-text", children: description }) : null] }));
|
|
@@ -1963,7 +1495,6 @@
|
|
|
1963
1495
|
const Blocks = {
|
|
1964
1496
|
Accordion,
|
|
1965
1497
|
ComparisonTable,
|
|
1966
|
-
ExchangeRateTile,
|
|
1967
1498
|
Footer,
|
|
1968
1499
|
Gallery,
|
|
1969
1500
|
Header,
|
|
@@ -2022,8 +1553,9 @@
|
|
|
2022
1553
|
});
|
|
2023
1554
|
|
|
2024
1555
|
const DEFAULT_SLOT_NAME = null;
|
|
1556
|
+
const DEFAULT_ANCESTORS = [DEFAULT_SLOT_NAME];
|
|
2025
1557
|
|
|
2026
|
-
function renderBlock(block, options, ancestors =
|
|
1558
|
+
function renderBlock(block, options, ancestors = DEFAULT_ANCESTORS) {
|
|
2027
1559
|
const { key, page, blockDecorator, blocksRegistry, context } = options;
|
|
2028
1560
|
const { type } = block;
|
|
2029
1561
|
if (!(type && type in blocksRegistry)) {
|