@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
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Foldable } from '../../ui-kit/Foldable/Foldable.js';
|
|
4
|
+
import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection.js';
|
|
3
5
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const { isActive, hasContent, icon, handleToggle } = useActiveHandler({
|
|
8
|
-
blocks,
|
|
9
|
-
initialState: isExpanded,
|
|
10
|
-
});
|
|
11
|
-
return (_jsxs("li", { className: "border-0 border-b border-solid border-main-divider last:border-b-0", children: [_jsxs("button", { className: `border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full
|
|
12
|
-
font-sans text-h6 ${hasContent ? 'group cursor-pointer' : ''}
|
|
13
|
-
`, onClick: handleToggle, children: [_jsx("span", { className: `text-xl font-medium pr-2.5`, children: label }), hasContent ? (_jsx(Img, { image: icon, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })) : null] }), hasContent ? (_jsx(AccordionItemInner, { isExpanded: isActive, blocks: blocks, context: context })) : null] }));
|
|
14
|
-
});
|
|
6
|
+
const icons = ['PlusIcon', 'MinusIcon'];
|
|
7
|
+
export const AccordionItem = JSX(({ label = '', children, hasContent = true }) => (_jsx("li", { className: "border-0 border-b border-solid border-main-divider last:border-b-0", children: _jsx(Foldable, { isFoldButtonOnTop: true, renderFoldableSection: ({ isUnfolded }) => (_jsx(FoldableSection, { className: "grid grid-cols-12", isUnfolded: isUnfolded, children: children })), renderFoldButton: ({ isUnfolded, onToggle }) => (_jsx(FoldButton, { label: label, icon: icons[Number(isUnfolded)], hasContent: hasContent, onClick: onToggle })) }) })));
|
|
8
|
+
const FoldButton = JSX(({ label, icon, hasContent, onClick }) => (_jsxs("button", { className: `border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer ${hasContent ? 'group cursor-pointer' : ''}`, onClick: onClick, children: [_jsx("span", { className: `text-xl font-medium pr-2.5`, children: label }), hasContent ? (_jsx(Img, { image: icon, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })) : null] })));
|
|
15
9
|
//# sourceMappingURL=AccordionItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE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AC"}
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { AccordionItemCommonProps } from './AccordionContent';
|
|
3
|
-
export interface AccordionItemProps extends AccordionItemCommonProps, UniBlockProps {
|
|
4
|
-
}
|
|
1
|
+
import type { AccordionItemProps } from './AccordionItemProps';
|
|
5
2
|
export declare const AccordionItem: import("@redneckz/uni-jsx").UNIComponent<AccordionItemProps, any, any>;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
import { Foldable } from '../../ui-kit/Foldable/Foldable.js';
|
|
4
|
+
import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection.js';
|
|
3
5
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
${bordered ? '' : 'py-[14px] px-0'}
|
|
10
|
-
${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] }));
|
|
11
|
-
});
|
|
6
|
+
const icons = ['PlusIcon', 'MinusIcon'];
|
|
7
|
+
export 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 })) }) })));
|
|
8
|
+
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
|
|
9
|
+
${className}
|
|
10
|
+
${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] })));
|
|
12
11
|
function borderedLiClass(bordered) {
|
|
13
12
|
return bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0';
|
|
14
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccordionItem.mobile.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"AccordionItem.mobile.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAG3C,MAAM,KAAK,GAAe,CAAC,UAAU,EAAE,WA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E,WAAW,EAAE,SAAS,EAAC,oBAAoB,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CACxF,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,IACD,EACN,UAAU,CAAC,CAAC,CAAC,CACZ,KAAC,GAAG,IAAC,SAAS,EAAC,eAAe,EAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAC5E,CAAC,CAAC,CAAC,IAAI,IACD,CACV,CACF,CAAC;AAEF,SAAS,eAAe,CAAC,QAAkB;IACzC,OAAO,QAAQ,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,mCAAmC,CAAC;AACpF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionItemProps.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItemProps.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const AccordionItemsList: import("@redneckz/uni-jsx").UNIComponent<{}, any, any>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
+
export const AccordionItemsList = JSX(({ children }) => (_jsx("ul", { className: "list-none m-0 p-0", children: children })));
|
|
4
|
+
//# sourceMappingURL=AccordionItemsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccordionItemsList.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItemsList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACtD,aAAI,SAAS,EAAC,mBAAmB,YAAE,QAAQ,GAAM,CAClD,CAAC,CAAC"}
|
|
@@ -26,7 +26,7 @@ const renderBenefits = (benefitList, benefitsBlockVersion) => {
|
|
|
26
26
|
return (_jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(benefitsBlockVersion)) }));
|
|
27
27
|
};
|
|
28
28
|
const setIconVersion = (benefitIcon, benefitsBlockVersion) => {
|
|
29
|
-
if (!benefitIcon.icon) {
|
|
29
|
+
if (!benefitIcon.icon || benefitIcon?.iconVersion) {
|
|
30
30
|
return benefitIcon;
|
|
31
31
|
}
|
|
32
32
|
benefitIcon.iconVersion = benefitsBlockVersion === 'secondary' ? 'white' : 'normal';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAM3C,MAAM,qBAAqB,GAAG;IAC5B,OAAO,EAAE,UAAU;IACnB,SAAS,EAAE,iBAAiB;CAC7B,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,EAAE;IACX,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,2BAA2B,GAAG;IAClC,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,uBAAuB;CACnC,CAAC;AAEF,MAAM,oBAAoB,GAAG;IAC3B,OAAO,EAAE,mCAAmC;IAC5C,SAAS,EAAE,wBAAwB;CACpC,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE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AAW,CAAC,CAAC,CAAC,IAAI,CAAC;IAClE,IAAI,CAAC,WAAW,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;IAED,OAAO,WAAW,CAAC,CAAC,CAAC,CACnB,cAAK,SAAS,EAAE,qBAAqB,2BAA2B,CAAC,oBAAoB,CAAC,EAAE,YACrF,WAAW,KAAK,MAAM;YACrB,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC;YAClD,CAAC,CAAC,iBAAiB,CAAC,WAA6B,CAAC,GAChD,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AAEpG,MAAM,iBAAiB,GAAG,CAAC,WAA4B,EAAE,EAAE;IACzD,MAAM,aAAa,GAAG,WAAW,EAAE,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAAC;IAEnE,OAAO,WAAW,EAAE,KAAK,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAC1D,aAAI,SAAS,EAAE,aAAa,YACzB,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,uBAAkC,CAAC,IAA1B,mBAAmB,CAAC,EAAE,CAAU,CAC1C,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC"}
|
|
@@ -13,6 +13,7 @@ export declare const Blocks: {
|
|
|
13
13
|
Header: import("@redneckz/uni-jsx").UNIComponent<import("./Header/Header").HeaderProps, any, any>;
|
|
14
14
|
Headline: import("@redneckz/uni-jsx").UNIComponent<import("./Headline/Headline").HeadlineProps, any, any>;
|
|
15
15
|
InsuranceAmountBlock: import("@redneckz/uni-jsx").UNIComponent<import("./InsuranceAmountBlock/InsuranceAmountBlock").InsuranceAmountBlockProps, any, any>;
|
|
16
|
+
InvestmentInfo: import("@redneckz/uni-jsx").UNIComponent<import("./InvestmentInfo/InvestmentInfo").InvestmentInfoProps, any, any>;
|
|
16
17
|
LinkDocs: import("@redneckz/uni-jsx").UNIComponent<import("./LinkDocs/LinkDocs").LinkDocsProps, any, any>;
|
|
17
18
|
MiniGallery: import("@redneckz/uni-jsx").UNIComponent<import("./MiniGallery/MiniGallery").MiniGalleryProps, any, any>;
|
|
18
19
|
MobileAppTile: import("@redneckz/uni-jsx").UNIComponent<import("./MobileAppTile/MobileAppTile").MobileAppTileProps, any, any>;
|
package/lib/components/Blocks.js
CHANGED
|
@@ -14,6 +14,7 @@ import { GracePeriod } from './GracePeriod/GracePeriod.js';
|
|
|
14
14
|
import { Header } from './Header/Header.js';
|
|
15
15
|
import { Headline } from './Headline/Headline.js';
|
|
16
16
|
import { InsuranceAmountBlock } from './InsuranceAmountBlock/InsuranceAmountBlock.js';
|
|
17
|
+
import { InvestmentInfo } from './InvestmentInfo/InvestmentInfo.js';
|
|
17
18
|
import { LinkDocs } from './LinkDocs/LinkDocs.js';
|
|
18
19
|
import { MiniGallery } from './MiniGallery/MiniGallery.js';
|
|
19
20
|
import { MobileAppTile } from './MobileAppTile/MobileAppTile.js';
|
|
@@ -47,6 +48,7 @@ export const Blocks = {
|
|
|
47
48
|
Header,
|
|
48
49
|
Headline,
|
|
49
50
|
InsuranceAmountBlock,
|
|
51
|
+
InvestmentInfo,
|
|
50
52
|
LinkDocs,
|
|
51
53
|
MiniGallery,
|
|
52
54
|
MobileAppTile,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../../src/components/Blocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO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1E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAEnC,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,SAAS;IACT,aAAa;IACb,KAAK;IACL,YAAY;IACZ,eAAe;IACf,UAAU;IACV,OAAO;IACP,gBAAgB;IAChB,MAAM;IACN,OAAO;IACP,WAAW;IACX,MAAM;IACN,QAAQ;IACR,oBAAoB;IACpB,cAAc;IACd,QAAQ;IACR,WAAW;IACX,aAAa;IACb,WAAW;IACX,YAAY;IACZ,cAAc;IACd,WAAW;IACX,SAAS;IACT,aAAa;IACb,cAAc;IACd,UAAU;IACV,YAAY;IACZ,SAAS;IACT,IAAI;IACJ,WAAW;IACX,kBAAkB;IAClB,iBAAiB;IACjB,IAAI;IACJ,UAAU;IACV,mBAAmB;CACpB,CAAC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export declare const Blocks: {
|
|
2
2
|
Accordion: import("@redneckz/uni-jsx").UNIComponent<import("./Accordion/Accordion").AccordionProps, any, any>;
|
|
3
3
|
ComparisonTable: import("@redneckz/uni-jsx").UNIComponent<import("./ComparisonTable/ComparisonTable").ComparisonTableProps, any, any>;
|
|
4
|
-
ExchangeRateTile: import("@redneckz/uni-jsx").UNIComponent<import("./ExchangeRateTile/ExchangeRateTile").ExchangeRateTileProps, any, any>;
|
|
5
4
|
Footer: import("@redneckz/uni-jsx").UNIComponent<import("./Footer/Footer").FooterProps, any, any>;
|
|
6
5
|
Gallery: import("@redneckz/uni-jsx").UNIComponent<import("./Gallery/GalleryProps").GalleryProps, any, any>;
|
|
7
6
|
Header: import("@redneckz/uni-jsx").UNIComponent<import("./Header/Header").HeaderProps, any, any>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Accordion } from './Accordion/Accordion.js';
|
|
2
2
|
import { ComparisonTable } from './ComparisonTable/ComparisonTable.js';
|
|
3
|
-
import { ExchangeRateTile } from './ExchangeRateTile/ExchangeRateTile.js';
|
|
4
3
|
import { Footer } from './Footer/Footer.js';
|
|
5
4
|
import { Gallery } from './Gallery/Gallery.js';
|
|
6
5
|
import { Header } from './Header/Header.js';
|
|
@@ -17,7 +16,6 @@ import { TextBlock } from './TextBlock/TextBlock.js';
|
|
|
17
16
|
export const Blocks = {
|
|
18
17
|
Accordion,
|
|
19
18
|
ComparisonTable,
|
|
20
|
-
ExchangeRateTile,
|
|
21
19
|
Footer,
|
|
22
20
|
Gallery,
|
|
23
21
|
Header,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.mobile.js","sourceRoot":"","sources":["../../src/components/Blocks.mobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Blocks.mobile.js","sourceRoot":"","sources":["../../src/components/Blocks.mobile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAElD,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,SAAS;IACT,eAAe;IACf,MAAM;IACN,OAAO;IACP,MAAM;IACN,QAAQ;IACR,QAAQ;IACR,QAAQ;IACR,aAAa;IACb,YAAY;IACZ,cAAc;IACd,UAAU;IACV,YAAY;IACZ,SAAS;IACT,WAAW;CACZ,CAAC"}
|
|
@@ -116,7 +116,7 @@ export declare type CalculatorNav = HeadlineCommonProps & IconProps;
|
|
|
116
116
|
/**
|
|
117
117
|
* @title Вкладка
|
|
118
118
|
*/
|
|
119
|
-
export declare type CalculatorTab =
|
|
119
|
+
export declare type CalculatorTab = {
|
|
120
120
|
nav?: CalculatorNav;
|
|
121
121
|
calculatorBlock?: CalculatorBlockDef;
|
|
122
122
|
};
|
|
@@ -7,6 +7,7 @@ import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
|
7
7
|
import { getDisabledButtonClasses } from '../../ui-kit/Button/getDisabledButtonClasses.js';
|
|
8
8
|
import { getRegularButtonClasses } from '../../ui-kit/Button/getRegularButtonClasses.js';
|
|
9
9
|
import { useLink } from '../../hooks/useLink.js';
|
|
10
|
+
import { getSanitizedValue } from '../../utils/getSanitizedValue.js';
|
|
10
11
|
const AMOUNT_KEY = 'amount';
|
|
11
12
|
const FORM_URL = 'https://www.rshb.ru/p2p/';
|
|
12
13
|
const DEFAULT_TITLE = 'Укажите сумму перевода';
|
|
@@ -16,10 +17,10 @@ export const CardTransfer = JSX(({ className = '', title = DEFAULT_TITLE, label
|
|
|
16
17
|
const router = context.useRouter();
|
|
17
18
|
const { handlerDecorator } = context;
|
|
18
19
|
const [value, setValue] = useState('');
|
|
19
|
-
const isDisabled = !Number(value);
|
|
20
|
+
const isDisabled = !Number(getSanitizedValue(value));
|
|
20
21
|
const buttonStyle = isDisabled
|
|
21
22
|
? getDisabledButtonClasses({ version: button?.version })
|
|
22
23
|
: getRegularButtonClasses({ className: 'text-white', version: button?.version });
|
|
23
|
-
return (_jsxs(BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, context: context, ...rest, children: [title ? _jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, _jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [_jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: setValue, placeholder: placeholder, label: label }), button?.text ? (_jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] })] }));
|
|
24
|
+
return (_jsxs(BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, context: context, ...rest, children: [title ? _jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, _jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [_jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: setValue, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (_jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] })] }));
|
|
24
25
|
});
|
|
25
26
|
//# sourceMappingURL=CardTransfer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTransfer.js","sourceRoot":"","sources":["../../../src/components/CardTransfer/CardTransfer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,G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E,mBAAmB,WAAW,GAAG,EAC5C,QAAQ,EAAE,UAAU,KAChB,OAAO,CAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,YAEhD,MAAM,CAAC,IAAI,GACL,CACV,CAAC,CAAC,CAAC,IAAI,IACH,IACM,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -14,7 +14,7 @@ export const Catalog = JSX(({ context, cards = [], className = '', title, descri
|
|
|
14
14
|
cardsCount: cards.length,
|
|
15
15
|
activeCardIndex,
|
|
16
16
|
setActiveCardIndex,
|
|
17
|
-
}), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0
|
|
17
|
+
}), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} left-0 bg-opacity-from-white` }), _jsx("div", { className: `${BLUR_BLOCK_CLASSES} right-0 bg-opacity-to-white` })] }));
|
|
18
18
|
});
|
|
19
19
|
const renderCatalogCard = (context) => (card, i) => {
|
|
20
20
|
return _jsx(CatalogCard, { context: context, ...card }, String(i));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Catalog.js","sourceRoot":"","sources":["../../../src/components/Catalog/Catalog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAK5C,MAAM,kBAAkB,GAAG,kCAAkC,CAAC;AAC9D,MAAM,oBAAoB,GAAG,CAAC,CAAC;AAC/B,MAAM,UAAU,GAAG,GAAG,CAAC;AAEvB,MAAM,CAAC,MAAM,OAAO,GAAG,GAAG,CACxB,CAAC,E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C,IAAqB,EAAE,CAAS,EAAE,EAAE;IAC9F,OAAO,KAAC,WAAW,IAAiB,OAAO,EAAE,OAAO,KAAM,IAAI,IAArC,MAAM,CAAC,CAAC,CAAC,CAAgC,CAAC;AACrE,CAAC,CAAC;AAQF,MAAM,gBAAgB,GAAG,CAAC,EACxB,UAAU,EACV,eAAe,EACf,kBAAkB,GACI,EAAE,EAAE;IAC1B,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IACtE,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IAEtE,MAAM,WAAW,GAAG,UAAU,GAAG,oBAAoB,CAAC;IACtD,MAAM,cAAc,GAAG,WAAW,IAAI,UAAU,GAAG,eAAe,GAAG,oBAAoB,CAAC;IAC1F,MAAM,cAAc,GAAG,WAAW,IAAI,eAAe,GAAG,CAAC,CAAC;IAE1D,OAAO,YAAY,CAAC;QAClB,OAAO,EAAE,CAAC,eAAe,EAAE,eAAe,CAAC;QAC3C,OAAO,EAAE,CAAC,cAAc,EAAE,cAAc,CAAC;QACzC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC;QAC/B,SAAS,EAAE,mBAAmB;KAC/B,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -3,34 +3,12 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { Button } from '../../ui-kit/Button/Button.js';
|
|
4
4
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
5
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
|
-
const iconVersionMap = {
|
|
7
|
-
default: 'normal',
|
|
8
|
-
primary: 'white',
|
|
9
|
-
secondary: 'black',
|
|
10
|
-
};
|
|
11
6
|
const cardStyleMap = {
|
|
12
7
|
black: 'bg-black',
|
|
13
8
|
white: 'bg-white',
|
|
14
9
|
};
|
|
15
10
|
export const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => {
|
|
16
|
-
return (_jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? _jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (_jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? _jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (_jsxs("div", { className: "flex mb-4 text-m-light text-secondary-text", children: [_jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? _jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ?
|
|
11
|
+
return (_jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? _jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (_jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? _jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (_jsxs("div", { className: "flex mb-4 text-m-light text-secondary-text", children: [_jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? _jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? _jsx(Button, { className: "mt-5 w-full", ...button }) : null] }));
|
|
17
12
|
});
|
|
18
13
|
const renderColorOption = (color, i) => (_jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
|
|
19
|
-
const renderButton = (button) => {
|
|
20
|
-
const { icon, iconRight, ...other } = button;
|
|
21
|
-
if (!button?.text) {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
const iconVersion = iconVersionMap[button?.version || 'default'];
|
|
25
|
-
const leftIcon = renderButtonIcon({ ...icon, iconVersion });
|
|
26
|
-
const rightIcon = renderButtonIcon({ ...iconRight, iconVersion });
|
|
27
|
-
return (_jsx(Button, { className: "mt-5 w-full", appendLeft: leftIcon, appendRight: rightIcon, ...other }));
|
|
28
|
-
};
|
|
29
|
-
const renderButtonIcon = (buttonIcon) => {
|
|
30
|
-
if (!buttonIcon || (!buttonIcon?.icon && !buttonIcon?.src)) {
|
|
31
|
-
return null;
|
|
32
|
-
}
|
|
33
|
-
const iconWidth = buttonIcon?.size?.width ? `${buttonIcon.size.width}` : '24';
|
|
34
|
-
return _jsx(Img, { image: buttonIcon, width: iconWidth, height: "24", asSVG: true });
|
|
35
|
-
};
|
|
36
14
|
//# sourceMappingURL=CatalogCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/Catalog/CatalogCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"CatalogCard.js","sourceRoot":"","sources":["../../../src/components/Catalog/CatalogCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAO3C,MAAM,YAAY,GAAwC;IACxD,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,UAAU;CAClB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,KAA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
13
13
|
: null] }));
|
|
14
14
|
});
|
|
15
15
|
const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => {
|
|
16
|
-
return (_jsx("div", { className: "pr-[50px]", children: _jsxs("div", { className: "flex w-full", children: [_jsx("div", { className: FIRST_CELL_CLASSES }), _jsx("button", { onClick: onClick, className: "mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: _jsx("div", { className: "font-sans text-xs-light font-medium py-
|
|
16
|
+
return (_jsx("div", { className: "pr-[50px]", children: _jsxs("div", { className: "flex w-full", children: [_jsx("div", { className: FIRST_CELL_CLASSES }), _jsx("button", { onClick: onClick, className: "mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: _jsx("div", { className: "font-sans text-xs-light font-medium py-3", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=ComparisonTable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAIjD,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAChC,CAAC,EACC,SAAS,GAAG,EAAE,EACd,OAAO,EACP,KAAK,EACL,UAAU,EACV,OAAO,EACP,gBAAgB,GAAG,CAAC,EACpB,oBAAoB,GAAG,KAAK,EAC5B,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAC,CAAC,gBAAgB,CAAC,CAAC;IACpE,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC,eAAe,CAAC,CAAC,YAAY,CAAC,CAAC;IAExD,OAAO,CACL,MAAC,YAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,qFAAqF,SAAS,EAAE,KACvG,IAAI,aAER,KAAC,OAAO,IACN,WAAW,EAAC,IAAI,EAChB,SAAS,EAAC,wCAAwC,EAClD,KAAK,EAAE,KAAK,GACZ,EACF,KAAC,mBAAmB,IAClB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,YAAY,EAC1B,oBAAoB,EAAE,oBAAoB,EAC1C,gBAAgB,EAAE,gBAAgB,GAClC,EACD,gBAAgB;gBACf,CAAC,CAAC,0BAA0B,CAAC,EAAE,YAAY,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;gBACnE,CAAC,CAAC,IAAI,IACK,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,0BAA0B,GAAG,CAAC,EAClC,YAAY,EACZ,OAAO,GAIR,EAAE,EAAE;IACH,OAAO,CACL,cAAK,SAAS,EAAC,WAAW,YACxB,eAAK,SAAS,EAAC,aAAa,aAC1B,cAAK,SAAS,EAAE,kBAAkB,GAAI,EACtC,iBACE,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,iIAAiI,YAE3I,cAAK,SAAS,EAAC
|
|
1
|
+
{"version":3,"file":"ComparisonTable.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEvD,OAAO,EAAE,YAAY,EAAE,MAA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C1B,cAAK,SAAS,EAAE,kBAAkB,GAAI,EACtC,iBACE,OAAO,EAAE,OAAO,EAChB,SAAS,EAAC,iIAAiI,YAE3I,cAAK,SAAS,EAAC,0CAA0C,YACtD,CAAC,YAAY,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC,QAAQ,GAChD,GACC,IACL,GACF,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,57 +1,22 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
4
4
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
5
|
import { SwipeListControl } from '../../ui-kit/SwipeListControl/SwipeListControl.js';
|
|
6
6
|
import { TableColumn } from './TableColumn.js';
|
|
7
|
-
export const ComparisonTable = JSX((
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
export const ComparisonTable = JSX((props) => {
|
|
8
|
+
const { className, title } = props;
|
|
9
|
+
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 }) })] }));
|
|
10
|
+
});
|
|
11
|
+
const TableInner = JSX(({ columns, rowHeaders, isColoredFirstColumn, visibleRowLength, orientation, context }) => {
|
|
12
12
|
const [columnsViewState, setColumnsViewState] = useState(new Array(columns?.length || 0).fill(!visibleRowLength));
|
|
13
|
-
const handleToggleColumn = (
|
|
14
|
-
|
|
15
|
-
setColumnsViewState(
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
isColoredFirstColumn,
|
|
22
|
-
columnsViewState,
|
|
23
|
-
handleToggleColumn,
|
|
24
|
-
orientation,
|
|
25
|
-
setColumnsViewState,
|
|
26
|
-
})] }));
|
|
13
|
+
const handleToggleColumn = useCallback((colIndex) => {
|
|
14
|
+
const toggleColState = (colState, i) => i === colIndex ? !colState : colState;
|
|
15
|
+
setColumnsViewState((_) => _.map(toggleColState));
|
|
16
|
+
}, []);
|
|
17
|
+
const handleSlideChange = useCallback(() => setColumnsViewState((_) => new Array(_.length).fill(false)), []);
|
|
18
|
+
const getColumnData = (cellData) => cellData?.map((cell, i) => ({ cell, rowHeader: rowHeaders?.[i]?.title }));
|
|
19
|
+
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))));
|
|
20
|
+
return orientation === 'horizontal' ? (_jsx(SwipeListControl, { context: context, onSlideChange: handleSlideChange, children: tableColumns })) : (tableColumns);
|
|
27
21
|
});
|
|
28
|
-
const renderColumns = ({ context, tableData, visibleRowLength, isColoredFirstColumn, columnsViewState, handleToggleColumn, orientation = 'horizontal', setColumnsViewState, }) => (_jsx("div", { role: "table", children: tableData?.length
|
|
29
|
-
? renderInnerTable({
|
|
30
|
-
orientation,
|
|
31
|
-
context,
|
|
32
|
-
columnsViewState,
|
|
33
|
-
setColumnsViewState,
|
|
34
|
-
tableData,
|
|
35
|
-
visibleRowLength,
|
|
36
|
-
isColoredFirstColumn,
|
|
37
|
-
handleToggleColumn,
|
|
38
|
-
})
|
|
39
|
-
: null }));
|
|
40
|
-
const renderInnerTable = ({ orientation, context, columnsViewState, setColumnsViewState, tableData, visibleRowLength, isColoredFirstColumn, handleToggleColumn, }) => orientation === 'horizontal' ? (_jsx(SwipeListControl, { context: context, onSlideChange: onSlideChange(columnsViewState, setColumnsViewState), children: tableData.map(renderColumn({
|
|
41
|
-
context,
|
|
42
|
-
visibleRowLength,
|
|
43
|
-
isColoredFirstColumn,
|
|
44
|
-
columnsViewState,
|
|
45
|
-
handleToggleColumn,
|
|
46
|
-
})) })) : (tableData.map(renderColumn({
|
|
47
|
-
context,
|
|
48
|
-
visibleRowLength,
|
|
49
|
-
isColoredFirstColumn,
|
|
50
|
-
columnsViewState,
|
|
51
|
-
handleToggleColumn,
|
|
52
|
-
})));
|
|
53
|
-
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)));
|
|
54
|
-
const onSlideChange = (columnsViewState, setColumnsViewState) => () => {
|
|
55
|
-
setColumnsViewState(new Array(columnsViewState.length).fill(false));
|
|
56
|
-
};
|
|
57
22
|
//# sourceMappingURL=ComparisonTable.mobile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComparisonTable.mobile.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"ComparisonTable.mobile.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/ComparisonTable.mobile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC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,eAAe,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAY,EAAE,CAAS,EAAE,cAAwB,EAAE,EAAE,CAAC,CACjG,eAAqB,SAAS,EAAC,2BAA2B,aACvD,KAAK,CAAC,CAAC,CAAC,aAAI,SAAS,EAAE,UAAU,CAAC,cAAc,CAAC,YAAG,KAAK,GAAM,CAAC,CAAC,CAAC,IAAI,EACtE,WAAW,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,gBAAgB,CAAC,cAAc,CAAC,YAAG,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,KAFnF,MAAM,CAAC,CAAC,CAAC,CAGb,CACP,CAAC"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../model/ContentPageDef';
|
|
2
|
-
import type {
|
|
3
|
-
import type { IconProps } from '../../model/Picture';
|
|
4
|
-
import { CellData } from './ComparisonTableContent';
|
|
2
|
+
import type { CellData, ColumnHeader } from './ComparisonTableContent';
|
|
5
3
|
export interface TableColumnData {
|
|
6
4
|
rowHeader?: string;
|
|
7
5
|
cell: CellData[];
|
|
8
6
|
}
|
|
9
|
-
export declare type TableColumnHeader = TitleProps & IconProps;
|
|
10
7
|
export interface TableColumnProps extends UniBlockProps {
|
|
11
|
-
header
|
|
12
|
-
columnData
|
|
13
|
-
visibleRowLength
|
|
14
|
-
isFillGradient
|
|
8
|
+
header?: ColumnHeader;
|
|
9
|
+
columnData?: TableColumnData[];
|
|
10
|
+
visibleRowLength?: number;
|
|
11
|
+
isFillGradient?: boolean;
|
|
15
12
|
showRow: boolean;
|
|
16
13
|
onToggleColumn: () => void;
|
|
17
14
|
}
|
|
@@ -10,13 +10,7 @@ export const TableColumn = JSX(({ header, columnData, visibleRowLength = 0, isFi
|
|
|
10
10
|
const buttonVersion = isFillGradient ? 'secondary' : 'primary';
|
|
11
11
|
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
|
|
12
12
|
? columnDataView.map(({ rowHeader, cell }, i) => (_jsx(TableCell, { cell: cell, rowHeader: rowHeader, isFillGradient: isFillGradient }, String(i))))
|
|
13
|
-
: null, showRow ?
|
|
13
|
+
: 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 })] }));
|
|
14
14
|
});
|
|
15
|
-
const
|
|
16
|
-
if (!header.link) {
|
|
17
|
-
return null;
|
|
18
|
-
}
|
|
19
|
-
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 }));
|
|
20
|
-
};
|
|
21
|
-
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 ? 'Показать описание' : 'Скрыть' }) }));
|
|
15
|
+
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 ? 'Показать описание' : 'Скрыть' }) }));
|
|
22
16
|
//# sourceMappingURL=TableColumn.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableColumn.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/TableColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"TableColumn.js","sourceRoot":"","sources":["../../../src/components/ComparisonTable/TableColumn.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,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AE,MAAM,CAAC,IAAI,CAAC,IAAI,EACtB,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,EAC1B,OAAO,EAAE,aAAa,EACtB,SAAS,EAAC,mCAAmC,YAE5C,MAAM,CAAC,IAAI,CAAC,IAAI,GACV,CACV,CAAC,CAAC,CAAC,IAAI,EACP,kBAAkB,CAAC,EAAE,cAAc,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC,IAC5D,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAQF,MAAM,kBAAkB,GAAG,CAAC,EAC1B,cAAc,EACd,cAAc,EACd,OAAO,GACiB,EAAE,EAAE,CAAC,CAC7B,cAAK,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,MAAM,YAC/B,YACE,IAAI,EAAC,MAAM,EACX,OAAO,EAAE,cAAc,EACvB,SAAS,EAAE,qCACT,cAAc,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,mBACrC,EAAE,YAED,CAAC,OAAO,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,QAAQ,GACxC,GACA,CACP,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { VNode } from '../../model/VNode';
|
|
2
1
|
export interface Router {
|
|
3
2
|
pathname: string;
|
|
4
3
|
query: Record<string, string | string[] | undefined>;
|
|
@@ -12,17 +11,7 @@ export interface Search {
|
|
|
12
11
|
term: string;
|
|
13
12
|
setTerm: (t: string) => void;
|
|
14
13
|
}
|
|
15
|
-
export interface IntersectionObserverTagProps {
|
|
16
|
-
tag: keyof HTMLElementTagNameMap;
|
|
17
|
-
className?: string;
|
|
18
|
-
anchor?: string;
|
|
19
|
-
children?: VNode;
|
|
20
|
-
observerCallback: IntersectionObserverCallback;
|
|
21
|
-
observerOptions?: IntersectionObserverInit;
|
|
22
|
-
}
|
|
23
|
-
export declare type IntersectionObserverComponent = (props: IntersectionObserverTagProps) => VNode;
|
|
24
14
|
export interface ContentPageContext {
|
|
25
15
|
useRouter: () => Router;
|
|
26
16
|
handlerDecorator?: HandlerDecorator;
|
|
27
|
-
IntersectionObserverTag: IntersectionObserverComponent;
|
|
28
17
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { isBlockInRegistry } from './isBlockInRegistry.js';
|
|
2
1
|
import { normalizeBlock } from './normalizeBlock.js';
|
|
3
|
-
export const filterBlocks = (blocks, blocksRegistry) => blocks?.filter((block) =>
|
|
2
|
+
export const filterBlocks = (blocks, blocksRegistry) => blocks?.filter((block) => (block?.type || '') in blocksRegistry).map(normalizeBlock);
|
|
4
3
|
//# sourceMappingURL=filterBlocks.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filterBlocks.js","sourceRoot":"","sources":["../../../src/components/ContentPage/filterBlocks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"filterBlocks.js","sourceRoot":"","sources":["../../../src/components/ContentPage/filterBlocks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,MAAkB,EAAE,cAA8B,EAAE,EAAE,CACjF,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,EAAE,IAAI,IAAI,EAAE,CAAC,IAAI,cAAc,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { isBlockInRegistry } from './isBlockInRegistry.js';
|
|
2
1
|
import { normalizeBlock } from './normalizeBlock.js';
|
|
3
2
|
export const filterBlocks = (blocks, blocksRegistry) => blocks
|
|
4
|
-
?.filter((block) =>
|
|
5
|
-
!block.mobile?.hidden)
|
|
3
|
+
?.filter((block) => (block?.type || block?.mobile?.type || '') in blocksRegistry && !block.mobile?.hidden)
|
|
6
4
|
.map(normalizeBlock);
|
|
7
5
|
//# sourceMappingURL=filterBlocks.mobile.js.map
|