@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,2DAA2D;AAG3D,4DAAyD;AACzD,qEAAkE;AAClE,8CAA2C;AAC3C,yEAAsE;AACtE,mDAAgD;AAKnC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,OAAO,EACP,SAAS,GAAG,EAAE,EACd,KAAK,EACL,eAAe,GAAG,GAAG,EACrB,WAAW,EACX,qBAAqB,EACrB,QAAQ,GAAG,EAAE,EACb,OAAO,EACP,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,wBAAC,2BAAY,IACX,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE;YACP,SAAS,IAAI,8BAAe,CAAC,O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AAC;AACJ,CAAC;AAED,SAAS,aAAa,CAAC,UAAwB,SAAS;IACtD,MAAM,aAAa,GAAiC;QAClD,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,YAAY;KACxB,CAAC;IAEF,OAAO,SAAS,sBAAsB,CAAC,OAAoB,EAAE,CAAC;QAC5D,MAAM,EAAE,KAAK,GAAG,EAAE,EAAE,WAAW,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;QAEjD,OAAO;YACL,gCAAwB,SAAS,EAAC,SAAS,YACxC,KAAK,IADE,SAAS,CAAC,EAAE,CAEhB;YACN,gCAAuB,SAAS,EAAE,gBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE,YACvE,WAAW,IADJ,QAAQ,CAAC,EAAE,CAEf;SACP,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,2BAA2B,CAClC,qBAA6B,EAC7B,KAAe,EACf,UAAwB,SAAS;IAEjC,MAAM,YAAY,GAAiC;QACjD,OAAO,EAAE,qBAAqB;QAC9B,SAAS,EAAE,YAAY;KACxB,CAAC;IAEF,wGAAwG;IACxG,MAAM,iBAAiB,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,0BAA0B,CAAC,CAAC,CAAC,MAAM,CAAC;IAE3E,OAAO,CACL,gCAAK,SAAS,EAAE,4BAA4B,iBAAiB,IAAI,YAAY,CAAC,OAAO,CAAC,EAAE,YACrF,qBAAqB,GAClB,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -10,6 +10,11 @@ export interface RecommendationCardTypes extends HeadlineCommonProps, ListConten
|
|
|
10
10
|
/**
|
|
11
11
|
* @title Соц сети
|
|
12
12
|
* @minItems 3
|
|
13
|
+
* @default [
|
|
14
|
+
* { "href": "https://t.me" },
|
|
15
|
+
* { "href": "https://vk.com" },
|
|
16
|
+
* { "href": "https://ok.ru" },
|
|
17
|
+
* ]
|
|
13
18
|
*/
|
|
14
19
|
socialMedia?: LinkCommonProps[];
|
|
15
20
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { UniBlockProps } from '../../model/ContentPageDef';
|
|
2
2
|
import type { SafeDepositRentalContent } from './SafeDepositRentalContent';
|
|
3
3
|
export interface SafeDepositRentalProps extends SafeDepositRentalContent, UniBlockProps {
|
|
4
4
|
}
|
|
@@ -3,18 +3,32 @@ exports.SafeDepositRental = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
+
const useSafeBoxes_1 = require("../../hooks/useSafeBoxes");
|
|
6
7
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
8
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
9
|
const SafeDepositRentalForm_1 = require("./SafeDepositRentalForm");
|
|
9
10
|
const useGetRegions_1 = require("./useGetRegions");
|
|
11
|
+
const utils_1 = require("./utils");
|
|
10
12
|
const YandexMap_1 = require("./YandexMap");
|
|
13
|
+
const DEFAULT_DAYS = 26;
|
|
11
14
|
exports.SafeDepositRental = (0, uni_jsx_1.JSX)(({ title, footnote, context, className = '', ...rest }) => {
|
|
12
|
-
const [points, setPoints] = (0, hooks_1.useState)([]);
|
|
13
15
|
const [showMap, setShowMap] = (0, hooks_1.useState)(false);
|
|
16
|
+
const [safeDepositState, setStateDepositState] = (0, hooks_1.useState)({
|
|
17
|
+
selectedRegion: '',
|
|
18
|
+
selectedBranch: '',
|
|
19
|
+
selectedCaseVolume: '',
|
|
20
|
+
selectedBoxSize: '',
|
|
21
|
+
days: DEFAULT_DAYS,
|
|
22
|
+
});
|
|
14
23
|
const regions = (0, useGetRegions_1.useGetRegions)();
|
|
15
|
-
const
|
|
24
|
+
const selectedRegion = normalizeSelectedRegion(safeDepositState.selectedRegion, regions);
|
|
25
|
+
const branches = (0, useSafeBoxes_1.useSafeBoxes)(selectedRegion);
|
|
26
|
+
const handleChangeSafeDepositState = (0, hooks_1.useCallback)((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
|
|
27
|
+
const onShowMapToggle = () => {
|
|
16
28
|
setShowMap(!showMap);
|
|
17
29
|
};
|
|
18
|
-
|
|
30
|
+
const points = (0, utils_1.getCoordinates)((0, utils_1.getBranch)(branches, safeDepositState.selectedBranch) || branches);
|
|
31
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { context: context, className: className, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "font-sans bg-white px-8 py-12", children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { title: title, headingType: "h3", as: "h2", className: "mb-2.5 text-center" })) : null, (0, jsx_runtime_1.jsx)(SafeDepositRentalForm_1.SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onShowMapToggle: onShowMapToggle, onChange: handleChangeSafeDepositState }), footnote ? (0, jsx_runtime_1.jsx)("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? (0, jsx_runtime_1.jsx)(YandexMap_1.YandexMap, { points: points }) : null] }));
|
|
19
32
|
});
|
|
33
|
+
const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
|
|
20
34
|
//# sourceMappingURL=SafeDepositRental.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"SafeDepositRental.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRental.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;AACpE,2DAAwD;AAExD,4DAAyD;AACzD,0DAA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AAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,KAAM,IAAI,aAC5D,iCAAK,SAAS,EAAC,+BAA+B,aAC3C,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,SAAS,EAAC,oBAAoB,GAAG,CAClF,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,6CAAqB,IACpB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,EAClB,IAAI,EAAE,EAAE,GAAG,gBAAgB,EAAE,cAAc,EAAE,EAC7C,eAAe,EAAE,eAAe,EAChC,QAAQ,EAAE,4BAA4B,GACtC,EACD,QAAQ,CAAC,CAAC,CAAC,8BAAG,SAAS,EAAC,kCAAkC,YAAE,QAAQ,GAAK,CAAC,CAAC,CAAC,IAAI,IAC7E,EACL,MAAM,CAAC,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,uBAAC,qBAAS,IAAC,MAAM,EAAE,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,IACnD,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,uBAAuB,GAAG,CAAC,cAAsB,EAAE,OAAkB,EAAE,EAAE,CAC7E,CAAC,cAAc,IAAI,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,cAAc,CAAC"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import type { SafeBoxCase, SafeBoxCaseVolume } from '../../hooks/
|
|
2
|
-
import type { SafeDepositRentalFormProps } from './SafeDepositRentalForm';
|
|
1
|
+
import type { Branch, SafeBoxCase, SafeBoxCaseVolume } from '../../hooks/useSafeBoxes';
|
|
3
2
|
import type { HandleChangeState, SafeDepositRentalState } from './SafeDepositRentalTypes';
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { Region } from './useGetRegions';
|
|
4
|
+
export interface SafeDepositRentalFieldsProps extends SafeDepositRentalState {
|
|
5
|
+
regions?: Region[];
|
|
6
6
|
safeBoxCases?: SafeBoxCase[];
|
|
7
7
|
caseVolumes?: SafeBoxCaseVolume[];
|
|
8
|
+
branches?: Branch[];
|
|
9
|
+
onShowMapToggle: () => void;
|
|
10
|
+
onChange: HandleChangeState;
|
|
8
11
|
}
|
|
9
12
|
export declare const SafeDepositRentalFields: import("@redneckz/uni-jsx").UNIComponent<SafeDepositRentalFieldsProps, any, any>;
|
|
@@ -7,13 +7,11 @@ const RegionsAndBranches_1 = require("./RegionsAndBranches");
|
|
|
7
7
|
const RenderRadioButtons_1 = require("./RenderRadioButtons");
|
|
8
8
|
const RentalPeriod_1 = require("./RentalPeriod");
|
|
9
9
|
const SafeBoxCases_1 = require("./SafeBoxCases");
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex-1 mr-9", children: [(0, jsx_runtime_1.jsx)(RegionsAndBranches_1.RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange, setPoints, branches) }), (0, jsx_runtime_1.jsx)(RentalPeriod_1.RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), (0, jsx_runtime_1.jsx)(SafeBoxCases_1.SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), (0, jsx_runtime_1.jsx)("span", { className: "text-secondary-text text-l-light", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between items-center mt-5", children: [(0, jsx_runtime_1.jsx)(RenderRadioButtons_1.RenderRadioButtons, {}), (0, jsx_runtime_1.jsx)(Button_1.Button, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: toggleShowMap })] })] }));
|
|
10
|
+
exports.SafeDepositRentalFields = (0, uni_jsx_1.JSX)(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onShowMapToggle, }) => {
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex-1 mr-9", children: [(0, jsx_runtime_1.jsx)(RegionsAndBranches_1.RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), (0, jsx_runtime_1.jsx)(RentalPeriod_1.RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), (0, jsx_runtime_1.jsx)(SafeBoxCases_1.SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), (0, jsx_runtime_1.jsx)("span", { className: "text-secondary-text text-l-light", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between items-center mt-5", children: [(0, jsx_runtime_1.jsx)(RenderRadioButtons_1.RenderRadioButtons, {}), (0, jsx_runtime_1.jsx)(Button_1.Button, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: onShowMapToggle })] })] }));
|
|
13
12
|
});
|
|
14
|
-
const onSelectedBranch = (onChange
|
|
13
|
+
const onSelectedBranch = (onChange) => (value) => {
|
|
15
14
|
onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
|
|
16
|
-
setPoints((0, utils_1.getCoordinates)(value ? (0, utils_1.getBranch)(branches, value) : branches));
|
|
17
15
|
};
|
|
18
16
|
const onSelectedCaseVolume = (onChange) => (value) => {
|
|
19
17
|
onChange({ selectedCaseVolume: value, selectedBoxSize: '' });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeDepositRentalFields.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRentalFields.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,uDAAoD;AACpD,6DAA0D;AAC1D,6DAA0D;AAC1D,iDAA8C;AAC9C,iDAA8C;
|
|
1
|
+
{"version":3,"file":"SafeDepositRentalFields.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRentalFields.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,uDAAoD;AACpD,6DAA0D;AAC1D,6DAA0D;AAC1D,iDAA8C;AAC9C,iDAA8C;AAajC,QAAA,uBAAuB,GAAG,IAAA,aAAG,EACxC,CAAC,EACC,OAAO,EACP,cAAc,EACd,QAAQ,EACR,cAAc,EACd,IAAI,EACJ,kBAAkB,EAClB,eAAe,EACf,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,eAAe,GAChB,EAAE,EAAE;IACH,OAAO,CACL,iCAAK,SAAS,EAAC,aAAa,aAC1B,uBAAC,uCAAkB,IACjB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,CAAC,EAChE,QAAQ,EAAE,QAAQ,EAClB,cAAc,EAAE,cAAc,EAC9B,gBAAgB,EAAE,gBAAgB,CAAC,QAAQ,CAAC,GAC5C,EACF,uBAAC,2BAAY,IAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAAI,EAC3E,uBAAC,2BAAY,IACX,WAAW,EAAE,WAAW,EACxB,kBAAkB,EAAE,kBAAkB,EACtC,oBAAoB,EAAE,oBAAoB,CAAC,QAAQ,CAAC,EACpD,YAAY,EAAE,YAAY,EAC1B,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,EAAE,eAAe,EAAE,KAAK,EAAE,CAAC,GAClE,EACF,iCAAM,SAAS,EAAC,kCAAkC,oFAAoB,EACtE,iCAAK,SAAS,EAAC,wCAAwC,aACrD,uBAAC,uCAAkB,KAAG,EACtB,uBAAC,eAAM,IAAC,IAAI,EAAC,4EAAgB,EAAC,OAAO,EAAC,SAAS,EAAC,OAAO,EAAE,eAAe,GAAI,IACxE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,QAA2B,EAAE,EAAE,CAAC,CAAC,KAAa,EAAE,EAAE;IAC1E,QAAQ,CAAC,EAAE,cAAc,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,CAAC;AACnF,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAAC,QAA2B,EAAE,EAAE,CAAC,CAAC,KAAa,EAAE,EAAE;IAC9E,QAAQ,CAAC,EAAE,kBAAkB,EAAE,KAAK,EAAE,eAAe,EAAE,EAAE,EAAE,CAAC,CAAC;AAC/D,CAAC,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import { Branch } from '../../hooks/useSafeBoxes';
|
|
2
|
+
import type { SafeDepositRentalState } from './SafeDepositRentalTypes';
|
|
1
3
|
import type { Region } from './useGetRegions';
|
|
2
4
|
export interface SafeDepositRentalFormProps {
|
|
3
|
-
regions
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
regions: Region[];
|
|
6
|
+
branches: Branch[];
|
|
7
|
+
data: SafeDepositRentalState;
|
|
8
|
+
onShowMapToggle: () => void;
|
|
9
|
+
onChange: (data: Partial<SafeDepositRentalState>) => void;
|
|
6
10
|
}
|
|
7
11
|
export declare const SafeDepositRentalForm: import("@redneckz/uni-jsx").UNIComponent<SafeDepositRentalFormProps, any, any>;
|
|
@@ -3,45 +3,24 @@ exports.SafeDepositRentalForm = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const core_1 = require("@redneckz/uni-jsx/lib/hooks/core");
|
|
6
|
-
const useFetchSafeBoxes_1 = require("../../hooks/useFetchSafeBoxes");
|
|
7
6
|
const SafeDepositRentalFields_1 = require("./SafeDepositRentalFields");
|
|
8
7
|
const SafeDepositRentalTotal_1 = require("./SafeDepositRentalTotal");
|
|
9
8
|
const utils_1 = require("./utils");
|
|
10
|
-
const DEFAULT_DAYS = 26;
|
|
11
9
|
exports.SafeDepositRentalForm = (0, uni_jsx_1.JSX)((props) => {
|
|
12
|
-
const
|
|
13
|
-
selectedRegion: '',
|
|
14
|
-
selectedBranch: '',
|
|
15
|
-
selectedCaseVolume: '',
|
|
16
|
-
selectedBoxSize: '',
|
|
17
|
-
days: DEFAULT_DAYS,
|
|
18
|
-
branches: [],
|
|
19
|
-
});
|
|
20
|
-
const resultBranches = (0, useFetchSafeBoxes_1.useFetchSafeBoxes)(safeDepositState.selectedRegion);
|
|
21
|
-
const handleChangeSafeDepositState = (state) => setStateDepositState((oldState) => ({ ...oldState, ...state }));
|
|
22
|
-
(0, core_1.useEffect)(() => handleChangeSafeDepositState({
|
|
23
|
-
selectedRegion: getInitialValueSelectedRegion(props.regions),
|
|
24
|
-
}), [props.regions]);
|
|
10
|
+
const { regions, data, branches, onChange, onShowMapToggle } = props;
|
|
25
11
|
(0, core_1.useEffect)(() => {
|
|
26
|
-
|
|
27
|
-
handleChangeSafeDepositState({ branches: resultBranches });
|
|
28
|
-
props.setPoints((0, utils_1.getCoordinates)(resultBranches));
|
|
29
|
-
}
|
|
30
|
-
}, [resultBranches]);
|
|
31
|
-
(0, core_1.useEffect)(() => {
|
|
32
|
-
handleChangeSafeDepositState({
|
|
12
|
+
onChange({
|
|
33
13
|
selectedBranch: '',
|
|
34
14
|
selectedCaseVolume: '',
|
|
35
15
|
selectedBoxSize: '',
|
|
36
16
|
});
|
|
37
|
-
}, [
|
|
38
|
-
const branch = (0, utils_1.getBranch)(
|
|
17
|
+
}, [data.selectedRegion, onChange]);
|
|
18
|
+
const branch = (0, utils_1.getBranch)(branches, data.selectedBranch);
|
|
39
19
|
const caseVolumes = getCaseVolumes(branch?.safeBoxCaseVolumes);
|
|
40
|
-
const safeBoxCases = getCaseVolume(branch?.safeBoxCaseVolumes,
|
|
41
|
-
const tariffs = getTariffs(safeBoxCases,
|
|
42
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between align-top mb-6", children: [(0, jsx_runtime_1.jsx)(SafeDepositRentalFields_1.SafeDepositRentalFields, { ...
|
|
20
|
+
const safeBoxCases = getCaseVolume(branch?.safeBoxCaseVolumes, data.selectedCaseVolume)?.safeBoxCases;
|
|
21
|
+
const tariffs = getTariffs(safeBoxCases, data.selectedBoxSize);
|
|
22
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between align-top mb-6", children: [(0, jsx_runtime_1.jsx)(SafeDepositRentalFields_1.SafeDepositRentalFields, { ...data, regions: regions, onShowMapToggle: onShowMapToggle, branches: branches, caseVolumes: caseVolumes, safeBoxCases: safeBoxCases, onChange: onChange }), (0, jsx_runtime_1.jsx)(SafeDepositRentalTotal_1.SafeDepositRentalTotal, { days: data.days, tariffs: tariffs })] }));
|
|
43
23
|
});
|
|
44
|
-
const getInitialValueSelectedRegion = (regions) => regions?.length && regions[0]?.code ? regions[0].code : '';
|
|
45
24
|
const getCaseVolumes = (safeBoxCaseVolumes) => safeBoxCaseVolumes?.length ? safeBoxCaseVolumes?.filter((_) => _?.safeBoxCases?.length) : [];
|
|
46
25
|
const getCaseVolume = (caseVolumes, selectedCaseVolume) => caseVolumes?.find((_) => _.volume === selectedCaseVolume);
|
|
47
26
|
const getTariffs = (safeBoxCases, selectedBoxSize) => safeBoxCases?.find((_) => _.safeBoxCasesSize === selectedBoxSize)?.tariffs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SafeDepositRentalForm.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRentalForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"SafeDepositRentalForm.js","sourceRoot":"","sources":["../../../src/components/SafeDepositRental/SafeDepositRentalForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,2DAA6D;AAE7D,uEAAoE;AACpE,qEAAkE;AAGlE,mCAAoC;AAUvB,QAAA,qBAAqB,GAAG,IAAA,aAAG,EAA6B,CAAC,KAAK,EAAE,EAAE;IAC7E,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,eAAe,EAAE,GAAG,KAAK,CAAC;IAErE,IAAA,gBAAS,EAAC,GAAG,EAAE;QACb,QAAQ,CAAC;YACP,cAAc,EAAE,EAAE;YAClB,kBAAkB,EAAE,EAAE;YACtB,eAAe,EAAE,EAAE;SACpB,CAAC,CAAC;IACL,CAAC,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC,CAAC;IAEpC,MAAM,MAAM,GAAG,IAAA,iBAAS,EAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACxD,MAAM,WAAW,GAAG,cAAc,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAE/D,MAAM,YAAY,GAAG,aAAa,CAChC,MAA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|
|
5
4
|
selectedCaseVolume: string;
|
|
6
5
|
selectedBoxSize: string;
|
|
7
6
|
days: number;
|
|
8
|
-
branches: Branch[];
|
|
9
7
|
}
|
|
10
8
|
export declare type HandleChangeState = (state: Partial<SafeDepositRentalState>) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Branch } from '../../hooks/
|
|
1
|
+
import type { Branch } from '../../hooks/useSafeBoxes';
|
|
2
2
|
export declare const getCoordinates: (data?: Branch | Branch[]) => number[][];
|
|
3
3
|
export declare const getBranch: (branches: Branch[], selectedBranch: string) => Branch | undefined;
|
|
@@ -3,14 +3,16 @@ exports.StepsBlock = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const useLink_1 = require("../../hooks/useLink");
|
|
6
|
+
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
7
|
const Button_1 = require("../../ui-kit/Button/Button");
|
|
7
8
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
9
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
9
10
|
const checkIsIconRenderable_1 = require("../../utils/checkIsIconRenderable");
|
|
10
11
|
const joinList_1 = require("../../utils/joinList");
|
|
11
12
|
const StepsBlockStyleMaps_1 = require("./StepsBlockStyleMaps");
|
|
12
|
-
const
|
|
13
|
+
const renderStepContent_1 = require("./renderStepContent");
|
|
13
14
|
const getLineOpacity = (showLines) => (showLines ? '' : 'opacity-0');
|
|
15
|
+
const getPaddingX = (steps) => (steps < 5 ? 'px-[88px]' : 'px-[55px]');
|
|
14
16
|
exports.StepsBlock = (0, uni_jsx_1.JSX)(({ className = '', showLines = true, steps = [], button, version = 'primary', context, ...rest }) => {
|
|
15
17
|
const router = context.useRouter();
|
|
16
18
|
const { handlerDecorator } = context;
|
|
@@ -19,6 +21,7 @@ exports.StepsBlock = (0, uni_jsx_1.JSX)(({ className = '', showLines = true, ste
|
|
|
19
21
|
const shortGaps = steps.length > 3;
|
|
20
22
|
const lineOpacity = getLineOpacity(showLines);
|
|
21
23
|
const titleMargin = title ? 'mt-9' : '';
|
|
24
|
+
const paddingX = getPaddingX(steps.length);
|
|
22
25
|
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: [
|
|
23
26
|
'box-border font-sans text-primary-text bg-white',
|
|
24
27
|
shortGaps ? 'px-20' : 'px-[70px]',
|
|
@@ -26,7 +29,7 @@ exports.StepsBlock = (0, uni_jsx_1.JSX)(({ className = '', showLines = true, ste
|
|
|
26
29
|
styleMap.background,
|
|
27
30
|
styleMap.title,
|
|
28
31
|
className,
|
|
29
|
-
].join(' '), context: context, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "
|
|
32
|
+
].join(' '), context: context, ...rest, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "max-w-[752px] text-center", title: title })) : null, steps?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: `box-border ${titleMargin}`, children: [(0, jsx_runtime_1.jsx)("div", { className: `flex items-center ${paddingX}`, children: (0, joinList_1.joinList)((0, jsx_runtime_1.jsx)("div", { className: `h-0.5 w-full bg-secondary-light ${lineOpacity}` }))(steps.map(renderStepIcon(styleMap))) }), (0, jsx_runtime_1.jsx)("div", { className: `flex justify-between ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map((0, renderStepContent_1.renderStepContent)({
|
|
30
33
|
styleMap,
|
|
31
34
|
isMainButton: Boolean(button?.text),
|
|
32
35
|
version,
|
|
@@ -38,8 +41,4 @@ const renderStepIcon = (styleMap) => ({ icon }, i) => {
|
|
|
38
41
|
return ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col items-center text-center", children: (0, jsx_runtime_1.jsx)("div", { className: `h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 flex justify-center items-center
|
|
39
42
|
${styleMap.iconBackground} ${styleMap.title}`, children: (0, checkIsIconRenderable_1.checkIsIconRenderable)(icon) ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, width: "48", height: "48", asSVG: true })) : ((0, jsx_runtime_1.jsx)("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
|
|
40
43
|
};
|
|
41
|
-
const renderStepTitle = ({ styleMap, isMainButton, version, router, handlerDecorator, }) => (step, i) => {
|
|
42
|
-
const additionalMarginClass = step?.label ? 'mt-2' : 'mt-4';
|
|
43
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center justify-between text-center relative w-[276px]\n whitespace-pre-line overflow-hidden", children: [step?.label ? (0, jsx_runtime_1.jsx)("div", { className: "text-xl m-0 mt-4", children: step.label }) : null, step?.description ? ((0, jsx_runtime_1.jsx)("div", { className: `text-l-light ${styleMap.description} ${additionalMarginClass}`, children: step.description })) : null, step.button?.text && !isMainButton ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: "box-border mt-8 py-3 h-12 w-full max-w-[240px]", ...(0, useLink_1.useLink)({ router, handlerDecorator }, step.button), version: version, children: step.button.text })) : null] }, String(i)));
|
|
44
|
-
};
|
|
45
44
|
//# sourceMappingURL=StepsBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;
|
|
1
|
+
{"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAE9C,4DAAyD;AACzD,uDAAoD;AACpD,0DAAuD;AACvD,8CAA2C;AAC3C,6EAA0E;AAC1E,mDAAgD;AAGhD,+DAA+D;AAC/D,2DAAwD;AAIxD,MAAM,cAAc,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,CAAC,CAAC,CAAC,CAAC,CAC7B,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAClD,CAAC,CAAC,CAAC,CACF,iCAAM,SAAS,EAAE,WAAW,QAAQ,CAAC,QAAQ,EAAE,YAAG,CAAC,GAAG,CAAC,GAAQ,CAChE,GACG,IAVE,MAAM,CAAC,CAAC,CAAC,CAWb,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,14 +1,21 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { DescriptionProps, HeadlineCommonProps, LabelProps } from '../../model/HeadlineType';
|
|
2
3
|
import type { IconProps } from '../../model/Picture';
|
|
3
4
|
import type { SizeVersion } from '../../model/SizeVersion';
|
|
4
5
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
-
import type { DescriptionProps, HeadlineCommonProps, LabelProps } from '../../model/HeadlineType';
|
|
6
6
|
/**
|
|
7
7
|
* @title Шаг
|
|
8
8
|
*/
|
|
9
9
|
export declare type Step = DescriptionProps & LabelProps & IconProps & {
|
|
10
10
|
/** @title Кнопка */
|
|
11
11
|
button?: ButtonWithIconProps;
|
|
12
|
+
/**
|
|
13
|
+
* @title Буллиты
|
|
14
|
+
* @default true
|
|
15
|
+
*/
|
|
16
|
+
isDotted?: boolean;
|
|
17
|
+
/** @title Список */
|
|
18
|
+
items?: string[];
|
|
12
19
|
};
|
|
13
20
|
/**
|
|
14
21
|
* @title Блок шаги
|
|
@@ -22,7 +29,7 @@ export declare type StepsBlockContent = HeadlineCommonProps & {
|
|
|
22
29
|
/**
|
|
23
30
|
* @title Шаги
|
|
24
31
|
* @minItems 2
|
|
25
|
-
* @maxItems
|
|
32
|
+
* @maxItems 5
|
|
26
33
|
*/
|
|
27
34
|
steps?: Step[];
|
|
28
35
|
/** @title Кнопка */
|
|
@@ -4,18 +4,20 @@ exports.STEPS_BLOCK_STYLE_MAPS = {
|
|
|
4
4
|
primary: {
|
|
5
5
|
background: 'bg-white',
|
|
6
6
|
title: 'text-primary-text',
|
|
7
|
-
description: 'text-secondary-text',
|
|
7
|
+
description: '!text-secondary-text text-l-light',
|
|
8
8
|
iconText: 'text-secondary-text',
|
|
9
9
|
iconBackground: 'bg-main-divider',
|
|
10
10
|
iconConnector: 'bg-secondary-light',
|
|
11
|
+
dot: 'bg-secondary-text',
|
|
11
12
|
},
|
|
12
13
|
secondary: {
|
|
13
14
|
background: 'bg-primary-main',
|
|
14
15
|
title: 'text-white',
|
|
15
|
-
description: 'text-white/80',
|
|
16
|
+
description: '!text-white/80 text-l-light',
|
|
16
17
|
iconText: 'text-white',
|
|
17
18
|
iconBackground: 'bg-white/30',
|
|
18
19
|
iconConnector: 'bg-white',
|
|
20
|
+
dot: 'bg-white/80',
|
|
19
21
|
},
|
|
20
22
|
};
|
|
21
23
|
//# sourceMappingURL=StepsBlockStyleMaps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepsBlockStyleMaps.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlockStyleMaps.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"StepsBlockStyleMaps.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlockStyleMaps.ts"],"names":[],"mappings":";;AAYa,QAAA,sBAAsB,GAAoC;IACrE,OAAO,EAAE;QACP,UAAU,EAAE,UAAU;QACtB,KAAK,EAAE,mBAAmB;QAC1B,WAAW,EAAE,mCAAmC;QAChD,QAAQ,EAAE,qBAAqB;QAC/B,cAAc,EAAE,iBAAiB;QACjC,aAAa,EAAE,oBAAoB;QACnC,GAAG,EAAE,mBAAmB;KACzB;IACD,SAAS,EAAE;QACT,UAAU,EAAE,iBAAiB;QAC7B,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,6BAA6B;QAC1C,QAAQ,EAAE,YAAY;QACtB,cAAc,EAAE,aAAa;QAC7B,aAAa,EAAE,UAAU;QACzB,GAAG,EAAE,aAAa;KACnB;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
+
export declare const renderItems: ({ items, isDotted, version, className, }: {
|
|
4
|
+
items?: string[] | undefined;
|
|
5
|
+
isDotted?: boolean | undefined;
|
|
6
|
+
version?: BlockVersion | undefined;
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
}) => JSX.Element | null;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.renderItems = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const List_1 = require("../../ui-kit/List/List");
|
|
5
|
+
const renderItems = ({ items, isDotted = true, version = 'primary', className = '', }) => {
|
|
6
|
+
const listVersion = version === 'primary' ? 'gray' : version;
|
|
7
|
+
return items ? ((0, jsx_runtime_1.jsx)(List_1.List, { className: `mt-4 ${className}`, version: listVersion, items: items, listItemSize: "S", isDotted: isDotted })) : null;
|
|
8
|
+
};
|
|
9
|
+
exports.renderItems = renderItems;
|
|
10
|
+
//# sourceMappingURL=renderItems.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderItems.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/renderItems.tsx"],"names":[],"mappings":";;;AAAA,iDAA8C;AAGvC,MAAM,WAAW,GAAG,CAAC,EAC1B,KAAK,EACL,QAAQ,GAAG,IAAI,EACf,OAAO,GAAG,SAAS,EACnB,SAAS,GAAG,EAAE,GAMf,EAAE,EAAE;IACH,MAAM,WAAW,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;IAE7D,OAAO,KAAK,CAAC,CAAC,CAAC,CACb,uBAAC,WAAI,IACH,SAAS,EAAE,QAAQ,SAAS,EAAE,EAC9B,OAAO,EAAE,WAAW,EACpB,KAAK,EAAE,KAAK,EACZ,YAAY,EAAC,GAAG,EAChB,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAtBW,QAAA,WAAW,eAsBtB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
+
import type { HandlerDecorator, Router } from '../ContentPage/ContentPageContext';
|
|
4
|
+
import type { Step } from './StepsBlockContent';
|
|
5
|
+
import type { StyleType } from './StepsBlockStyleMaps';
|
|
6
|
+
export declare const renderStepContent: ({ styleMap, isMainButton, version, router, handlerDecorator, }: {
|
|
7
|
+
styleMap: StyleType;
|
|
8
|
+
isMainButton: boolean;
|
|
9
|
+
version: BlockVersion;
|
|
10
|
+
router: Router;
|
|
11
|
+
handlerDecorator?: HandlerDecorator | undefined;
|
|
12
|
+
}) => (step: Step, i: number, { length }: {
|
|
13
|
+
length: number;
|
|
14
|
+
}) => JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.renderStepContent = void 0;
|
|
3
|
+
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
+
const Button_1 = require("../../ui-kit/Button/Button");
|
|
5
|
+
const renderItems_1 = require("./renderItems");
|
|
6
|
+
const useLink_1 = require("../../hooks/useLink");
|
|
7
|
+
const renderStepContent = ({ styleMap, isMainButton, version, router, handlerDecorator, }) => (step, i, { length }) => {
|
|
8
|
+
const { label, description, button, items, isDotted } = step;
|
|
9
|
+
const additionalMarginClass = `${button?.text ? 'mb-8' : ''} ${step?.label ? 'mt-2' : 'mt-4'}`;
|
|
10
|
+
const widthContainer = length < 5 ? 'w-[276px]' : 'w-[210px]';
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex flex-col items-center text-center relative
|
|
12
|
+
whitespace-pre-line overflow-hidden ${widthContainer}`, children: [renderStepLabel(label), renderStepDescription({
|
|
13
|
+
description,
|
|
14
|
+
className: `${styleMap.description} ${additionalMarginClass}`,
|
|
15
|
+
}), (0, renderItems_1.renderItems)({ items, isDotted, version, className: styleMap.description }), button?.text && !isMainButton ? ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", ...(0, useLink_1.useLink)({ router, handlerDecorator }, button), version: version, children: button.text })) : null] }, String(i)));
|
|
16
|
+
};
|
|
17
|
+
exports.renderStepContent = renderStepContent;
|
|
18
|
+
const renderStepLabel = (label) => label ? (0, jsx_runtime_1.jsx)("div", { className: "text-x6 m-0 mt-4", children: label }) : null;
|
|
19
|
+
const renderStepDescription = ({ description, className = '', }) => (description ? (0, jsx_runtime_1.jsx)("div", { className: className, children: description }) : null);
|
|
20
|
+
//# sourceMappingURL=renderStepContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderStepContent.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/renderStepContent.tsx"],"names":[],"mappings":";;;AAAA,uDAAoD;AAKpD,+CAA4C;AAC5C,iDAA8C;AAEvC,MAAM,iBAAiB,GAC5B,CAAC,EACC,QAAQ,EACR,YAAY,EACZ,OAAO,EACP,MAAM,EACN,gBAAgB,GAOjB,EAAE,EAAE,CACL,CAAC,IAAU,EAAE,CAAS,EAAE,EAAE,MAAM,EAAsB,EAAE,EAAE;IACxD,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAC;IAE7D,MAAM,qBAAqB,GAAG,GAAG,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,IAAI,EAAE,KAAK,CAAC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button/Button");
|
|
|
8
8
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
9
9
|
const InnerTableButton_1 = require("../../ui-kit/InnerTable/InnerTableButton");
|
|
10
10
|
const List_1 = require("../../ui-kit/List/List");
|
|
11
|
-
const
|
|
12
|
-
const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: `${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`, ariaLabel: (0, getButtonAriaLabel_1.getButtonAriaLabel)(icon), rounded: rounded, appendLeft: icon?.src || icon?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, width: "24px", height: "24px", asSVG: true }) : null, ...buttonProps }, String(idx)))) })) : null;
|
|
11
|
+
const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { children: buttons.map(({ rounded, ...buttonProps }, idx) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: `${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`, rounded: rounded, ...buttonProps }, String(idx)))) })) : null;
|
|
13
12
|
const renderLabelDescriptionCellData = ({ label, description }) => {
|
|
14
|
-
const labelClassName = `text-h6
|
|
15
|
-
return ((0, jsx_runtime_1.jsxs)("div", { children: [label ? (0, jsx_runtime_1.jsx)("div", { className: labelClassName, children: label }) : null, description ? (0, jsx_runtime_1.jsx)("div", { className: "text-
|
|
13
|
+
const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
|
|
14
|
+
return ((0, jsx_runtime_1.jsxs)("div", { children: [label ? (0, jsx_runtime_1.jsx)("div", { className: labelClassName, children: label }) : null, description ? (0, jsx_runtime_1.jsx)("div", { className: "text-secondary-text text-l-light", children: description }) : null] }));
|
|
16
15
|
};
|
|
17
16
|
const renderImgCellData = ({ image }) => (image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: image }) : null);
|
|
18
|
-
const renderListCellData = ({ isDotted, ...rest }) => ((0, jsx_runtime_1.jsx)(List_1.List, { className: "flex flex-col justify-between items-start text-
|
|
17
|
+
const renderListCellData = ({ isDotted, ...rest }) => ((0, jsx_runtime_1.jsx)(List_1.List, { className: "flex flex-col justify-between items-start text-h6", version: "primary", isDotted: isDotted ?? true, ...rest }));
|
|
19
18
|
const renderTableCellData = (0, uni_jsx_1.JSX)((props) => {
|
|
20
19
|
const [showBtn, setShowBtn] = (0, hooks_1.useState)(true);
|
|
21
20
|
console.log(props);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddableCellData.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;AAClE,sDAAmD;AACnD,uDAAoD;AAEpD,8CAA2C;AAE3C,+EAAmG;AAEnG,iDAA8C;
|
|
1
|
+
{"version":3,"file":"EmbeddableCellData.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;AAClE,sDAAmD;AACnD,uDAAoD;AAEpD,8CAA2C;AAE3C,+EAAmG;AAEnG,iDAA8C;AAW9C,MAAM,qBAAqB,GAAG,CAAC,EAAE,OAAO,EAAiB,EAAE,EAAE,CAC3D,OAAO,IAAI,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAC3B,0CACG,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,GAAG,WAAW,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACjD,uBAAC,eAAM,IACL,SAAS,EAAE,GAAG,GAAG,GAAG,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,YAAY,EAE1D,OAAO,EAAE,OAAO,KACZ,WAAW,IAFV,MAAM,CAAC,GAAG,CAAC,CAGhB,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AC,CAAC,GAAG,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QAC5C,UAAU,CAAC,CAAC,QAAQ,CAAC,CAAC;IACxB,CAAC,CAAC;IAEF,IAAA,iBAAS,EAAC,GAAG,EAAE,CAAC,mBAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,kBAAkB,EAAE,0BAA0B,CAAC,EAAE,EAAE,CAAC,CAAC;IAE7F,OAAO,OAAO,CAAC,CAAC,CAAC,uBAAC,mCAAgB,OAAK,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;AAC1D,CAAC,CAAC,CAAC;AAEU,QAAA,kBAAkB,GAAG;IAChC,OAAO,EAAE,qBAAqB;IAC9B,GAAG,EAAE,iBAAiB;IACtB,IAAI,EAAE,kBAAkB;IACxB,gBAAgB,EAAE,8BAA8B;IAChD,KAAK,EAAE,mBAAmB;CAC3B,CAAC"}
|
|
@@ -4,8 +4,7 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const Button_1 = require("../../ui-kit/Button/Button");
|
|
5
5
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
6
6
|
const List_1 = require("../../ui-kit/List/List");
|
|
7
|
-
const
|
|
8
|
-
const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: `mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${icon ? 'w-12 h-12' : ''}`, ariaLabel: (0, getButtonAriaLabel_1.getButtonAriaLabel)(icon), rounded: rounded, appendLeft: icon?.src || icon?.icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, width: "24px", height: "24px", asSVG: true }) : null, ...buttonProps, "aria-label": icon }, String(idx)))) })) : null;
|
|
7
|
+
const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { children: buttons.map(({ rounded, appendLeft, ariaLabel, ...buttonProps }, idx) => ((0, jsx_runtime_1.jsx)(Button_1.Button, { className: `mt-3 ${idx > 0 && rounded ? 'ml-2.5' : ''} ${appendLeft ? 'w-12 h-12' : ''}`, appendLeft: appendLeft, rounded: rounded, ariaLabel: ariaLabel, ...buttonProps }, String(idx)))) })) : null;
|
|
9
8
|
const renderLabelDescriptionCellData = ({ label, description }) => {
|
|
10
9
|
const labelClassName = `text-xl font-medium m-0 ${description ? 'mb-1' : ''}`;
|
|
11
10
|
return ((0, jsx_runtime_1.jsxs)("div", { children: [label ? (0, jsx_runtime_1.jsx)("div", { className: labelClassName, children: label }) : null, description ? (0, jsx_runtime_1.jsx)("div", { className: "text-s text-secondary-text", children: description }) : null] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmbeddableCellData.mobile.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.mobile.tsx"],"names":[],"mappings":";;;AAAA,uDAAoD;AAEpD,8CAA2C;AAE3C,iDAA8C;
|
|
1
|
+
{"version":3,"file":"EmbeddableCellData.mobile.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/EmbeddableCellData.mobile.tsx"],"names":[],"mappings":";;;AAAA,uDAAoD;AAEpD,8CAA2C;AAE3C,iDAA8C;AAU9C,MAAM,qBAAqB,GAAG,CAAC,EAAE,OAAO,EAAiB,EAAE,EAAE,CAC3D,OAAO,IAAI,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAC3B,0CACG,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,WAAW,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACxE,uBAAC,eAAM,IACL,SAAS,EAAE,QAAQ,GAAG,GAAG,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,C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,gBAAgB,EAAE,8BAA8B;CACjD,CAAC"}
|
|
@@ -5,7 +5,9 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
6
|
const useTableArrowScrollControl_1 = require("../../hooks/useTableArrowScrollControl");
|
|
7
7
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
8
|
+
const DefaultFoldButton_1 = require("../../ui-kit/Foldable/DefaultFoldButton");
|
|
8
9
|
const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
|
|
10
|
+
const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
|
|
9
11
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
10
12
|
const TableArrowScrollControl_1 = require("../../ui-kit/TableArrowScrollControl/TableArrowScrollControl");
|
|
11
13
|
const constants_1 = require("./constants");
|
|
@@ -24,9 +26,16 @@ exports.TariffsTable = (0, uni_jsx_1.JSX)(({ className = '', context, title, des
|
|
|
24
26
|
activeCardIndex,
|
|
25
27
|
setActiveCardIndex,
|
|
26
28
|
});
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
+
const rows = (rowData || []).map((row, i, { length }) => ((0, jsx_runtime_1.jsx)(TariffsTableRow_1.TariffsTableRow, { context: context, row: row, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex, rowIdx: i }, String(i))));
|
|
30
|
+
const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
|
|
31
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `bg-white font-sans p-[50px] overflow-hidden text-primary-text relative ${columnsLength > 1 ? 'pr-0' : ''} ${className}`, context: context, ...rest, children: [renderTitle({ title, description }), renderDescription(description), hiddenRowsNum > 0 ? ((0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsxs)(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: [visibleRows, (0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: DefaultFoldButton_1.renderDefaultFoldButton })) : ((0, jsx_runtime_1.jsx)(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: rows }))] }));
|
|
29
32
|
});
|
|
33
|
+
function renderTitle({ title, description }) {
|
|
34
|
+
return title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2.5' : 'mb-8'}`, title: title })) : null;
|
|
35
|
+
}
|
|
36
|
+
function renderDescription(description) {
|
|
37
|
+
return description ? (0, jsx_runtime_1.jsx)("div", { className: "mb-9 text-center text-l", children: description }) : null;
|
|
38
|
+
}
|
|
30
39
|
const Wrapper = (0, uni_jsx_1.JSX)(({ children, tableArrowScrollControlProps }) => {
|
|
31
40
|
const { isScrollAvailable } = tableArrowScrollControlProps;
|
|
32
41
|
return ((0, jsx_runtime_1.jsxs)("div", { role: "table", children: [(0, jsx_runtime_1.jsxs)("div", { className: "relative", children: [children, (0, jsx_runtime_1.jsx)(TableArrowScrollControl_1.TableArrowScrollControl, { ...tableArrowScrollControlProps })] }), isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null] }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,uFAAoF;
|
|
1
|
+
{"version":3,"file":"TariffsTable.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/TariffsTable.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AACvD,uFAAoF;AAEpF,4DAAyD;AACzD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