@redneckz/wildless-cms-uni-blocks 0.10.9 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.10.10.js +44 -0
- package/bin/migration-scripts/0.11.0.js +29 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +372 -329
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BaseTile/BaseTile.d.ts +12 -2
- package/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/bundle/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
- package/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/bundle/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
- package/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
- package/bundle/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
- package/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/bundle/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/bundle/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/getIconName.d.ts +1 -0
- package/bundle/components/RollupItem/getIconName.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/labelSize.d.ts +1 -0
- package/bundle/components/RollupItem/labelSize.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/bundle/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/bundle/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
- package/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/bundle/hooks/useForm.d.ts +8 -4
- package/bundle/hooks/useNormalizedInput.d.ts +11 -0
- package/bundle/icons/IconName.d.ts +12 -2
- package/bundle/services/sitemap/SitemapData.d.ts +1 -1
- package/{dist/components/Filtration/FiltrationContent.d.ts → bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/bundle/ui-kit/ControlProps.d.ts +1 -1
- package/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
- package/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/bundle/ui-kit/Input/Input.d.ts +1 -1
- package/bundle/ui-kit/Input/InputProps.d.ts +4 -5
- package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/bundle/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
- package/bundle/ui-kit/List/ListProps.d.ts +0 -2
- package/bundle/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/bundle/utils/identity.d.ts +1 -0
- package/bundle/utils/isEmpty.d.ts +1 -0
- package/bundle/utils/joinList.d.ts +1 -1
- package/bundle/utils/toLocalNumberFormat.d.ts +1 -0
- package/cosmos-static/icons/ArrowDownSolidIcon.svg +1 -0
- package/cosmos-static/icons/ArrowUpSolidIcon.svg +1 -0
- package/cosmos-static/icons/BagIcon.svg +1 -0
- package/cosmos-static/icons/BriefcaseIcon.svg +1 -0
- package/cosmos-static/icons/ClientIcon.svg +1 -0
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.d.ts +12 -2
- package/dist/components/BaseTile/BaseTile.js +2 -1
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/Blocks.js +6 -4
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -2
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js +2 -2
- package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/dist/components/Calculator/renderInitialFeeInput.js +3 -3
- package/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/dist/components/Calculator/renderProposal.js +2 -2
- package/dist/components/Calculator/renderProposal.js.map +1 -1
- package/dist/components/Calculator/renderRealEstateValue.js +2 -2
- package/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/dist/components/Calculator/renderWantedSumInput.js +3 -3
- package/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +10 -8
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.page.json +0 -1
- package/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/dist/components/DepositFiltration/DepositFiltration.js +34 -0
- package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/dist/{ui-kit/CurrencyInput/CurrencyInputProps.js → components/DepositFiltration/DepositFiltrationContent.js} +1 -1
- package/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/dist/components/Footer/Footer.mobile.js +3 -9
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js +2 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigationLink.js +3 -1
- package/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/dist/components/Footer/MediaButton.js +2 -8
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/TextInformation.js +3 -1
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/dist/components/Footer/buttonStylesWithText.js +12 -0
- package/dist/components/Footer/buttonStylesWithText.js.map +1 -0
- package/dist/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
- package/dist/components/Footer/buttonStylesWithText.mobile.js +12 -0
- package/dist/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js +4 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
- package/dist/components/Footer/textInformationTextSize.d.ts +1 -0
- package/dist/components/Footer/textInformationTextSize.js +4 -0
- package/dist/components/Footer/textInformationTextSize.js.map +1 -0
- package/dist/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
- package/dist/components/Footer/textInformationTextSize.mobile.js +4 -0
- package/dist/components/Footer/textInformationTextSize.mobile.js.map +1 -0
- package/dist/components/Header/Header.mobile.js +2 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
- package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/dist/components/OfficeMap/OfficeMap.js +2 -2
- package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/dist/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/dist/components/OfficeMap/useOfficeMap.js +1 -2
- package/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +2 -2
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +3 -8
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/dist/components/ProductBlock/ProductBlockInner.js +4 -8
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +7 -5
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +9 -18
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +19 -4
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/dist/components/RollupItem/foldableSectionStyles.js +4 -0
- package/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/dist/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
- package/dist/components/RollupItem/foldableSectionStyles.mobile.js +4 -0
- package/dist/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
- package/dist/components/RollupItem/getIconName.d.ts +1 -0
- package/dist/components/RollupItem/getIconName.js +5 -0
- package/dist/components/RollupItem/getIconName.js.map +1 -0
- package/dist/components/RollupItem/getIconName.mobile.d.ts +1 -0
- package/dist/components/RollupItem/getIconName.mobile.js +5 -0
- package/dist/components/RollupItem/getIconName.mobile.js.map +1 -0
- package/dist/components/RollupItem/labelSize.d.ts +1 -0
- package/dist/components/RollupItem/labelSize.js +4 -0
- package/dist/components/RollupItem/labelSize.js.map +1 -0
- package/dist/components/RollupItem/labelSize.mobile.d.ts +1 -0
- package/dist/components/RollupItem/labelSize.mobile.js +4 -0
- package/dist/components/RollupItem/labelSize.mobile.js.map +1 -0
- package/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/dist/components/RollupItem/rollupIconVersion.js +4 -0
- package/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/dist/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
- package/dist/components/RollupItem/rollupIconVersion.mobile.js +4 -0
- package/dist/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
- package/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/dist/components/RollupItem/rollupItemStyles.js +4 -0
- package/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/dist/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
- package/dist/components/RollupItem/rollupItemStyles.mobile.js +4 -0
- package/dist/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
- package/dist/components/Tile/Tile.js +2 -2
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/content-page-repository/transformContentPage.js +12 -4
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/dist/content-page-repository/transformDocumentLink.js +32 -0
- package/dist/content-page-repository/transformDocumentLink.js.map +1 -0
- package/dist/hooks/useForm.d.ts +8 -4
- package/dist/hooks/useForm.js +5 -3
- package/dist/hooks/useForm.js.map +1 -1
- package/dist/hooks/useNormalizedInput.d.ts +11 -0
- package/dist/hooks/useNormalizedInput.js +23 -0
- package/dist/hooks/useNormalizedInput.js.map +1 -0
- package/dist/hooks/useSWRResource.js +2 -1
- package/dist/hooks/useSWRResource.js.map +1 -1
- package/dist/icons/IconName.d.ts +12 -2
- package/dist/icons/IconName.js +11 -1
- package/dist/icons/IconName.js.map +1 -1
- package/dist/services/search/useSearch.js +3 -2
- package/dist/services/search/useSearch.js.map +1 -1
- package/dist/services/sitemap/SitemapData.d.ts +1 -1
- package/{lib/components/Filtration/FiltrationContent.d.ts → dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/dist/{components/Filtration/FiltrationContent.js → ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
- package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/{mobile/dist/components/Filtration/FiltrationInner.js → dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
- package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.js +1 -1
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/ControlProps.d.ts +1 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +4 -0
- package/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/dist/ui-kit/Icon/RoundedIcon.js +13 -0
- package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/dist/ui-kit/Input/Input.d.ts +1 -1
- package/dist/ui-kit/Input/Input.js +3 -2
- package/dist/ui-kit/Input/Input.js.map +1 -1
- package/dist/ui-kit/Input/InputProps.d.ts +4 -5
- package/dist/ui-kit/InputRange/InputRange.js +9 -11
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/dist/ui-kit/LinkList/LinkList.js +12 -0
- package/dist/ui-kit/LinkList/LinkList.js.map +1 -0
- package/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
- package/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.js +4 -0
- package/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.mobile.js +4 -0
- package/dist/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
- package/dist/ui-kit/List/List.js +2 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListItem.js +5 -4
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/ui-kit/List/ListProps.d.ts +0 -2
- package/dist/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/dist/ui-kit/NumberInput/NumberInput.js +22 -0
- package/dist/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/dist/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/dist/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/dist/ui-kit/SearchBar/SearchBar.js +21 -2
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/dist/utils/identity.d.ts +1 -0
- package/dist/utils/identity.js +5 -0
- package/dist/utils/identity.js.map +1 -0
- package/dist/utils/isEmpty.d.ts +1 -0
- package/dist/utils/isEmpty.js +9 -0
- package/dist/utils/isEmpty.js.map +1 -0
- package/dist/utils/joinList.d.ts +1 -1
- package/dist/utils/joinList.js +1 -3
- package/dist/utils/joinList.js.map +1 -1
- package/dist/utils/toLocalNumberFormat.d.ts +1 -0
- package/dist/utils/toLocalNumberFormat.js +8 -0
- package/dist/utils/toLocalNumberFormat.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +12 -2
- package/lib/components/BaseTile/BaseTile.js +2 -1
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/Blocks.js +6 -4
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -2
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js +2 -2
- package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/lib/components/Calculator/renderInitialFeeInput.js +3 -3
- package/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/lib/components/Calculator/renderProposal.js +2 -2
- package/lib/components/Calculator/renderProposal.js.map +1 -1
- package/lib/components/Calculator/renderRealEstateValue.js +2 -2
- package/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/lib/components/Calculator/renderWantedSumInput.js +3 -3
- package/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +10 -8
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.d.ts +1 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +1 -0
- package/lib/components/CarouselEventCard/CarouselEventCard.fixture.d.ts +1 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +1 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +1 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +1 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.fixture.d.ts +1 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.d.ts +1 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.d.ts +1 -0
- package/lib/components/ContentPage/ContentPage.page.json +0 -1
- package/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/lib/components/DepositFiltration/DepositFiltration.js +32 -0
- package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
- package/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/lib/components/Footer/Footer.mobile.js +3 -9
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js +2 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigationLink.js +3 -1
- package/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/lib/components/Footer/MediaButton.js +1 -7
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/TextInformation.js +3 -1
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/lib/components/Footer/buttonStylesWithText.js +9 -0
- package/lib/components/Footer/buttonStylesWithText.js.map +1 -0
- package/lib/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
- package/lib/components/Footer/buttonStylesWithText.mobile.js +9 -0
- package/lib/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js +2 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
- package/lib/components/Footer/textInformationTextSize.d.ts +1 -0
- package/lib/components/Footer/textInformationTextSize.js +2 -0
- package/lib/components/Footer/textInformationTextSize.js.map +1 -0
- package/lib/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
- package/lib/components/Footer/textInformationTextSize.mobile.js +2 -0
- package/lib/components/Footer/textInformationTextSize.mobile.js.map +1 -0
- package/lib/components/Header/Header.mobile.js +2 -2
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/lib/components/{Filtration/Filtration.fixture.d.ts → MortgageFiltration/MortgageFiltration.fixture.d.ts} +1 -0
- package/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
- package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/lib/components/OfficeMap/OfficeMap.js +2 -2
- package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/lib/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/lib/components/OfficeMap/useOfficeMap.js +1 -2
- package/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/lib/components/PictureText/PictureText.js +2 -2
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +3 -8
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/lib/components/ProductBlock/ProductBlockInner.js +4 -8
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +7 -5
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +10 -19
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.fixture.d.ts +1 -0
- package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +2 -0
- package/lib/components/RollupItem/RollupItem.js +19 -4
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/lib/components/RollupItem/foldableSectionStyles.js +2 -0
- package/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/lib/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
- package/lib/components/RollupItem/foldableSectionStyles.mobile.js +2 -0
- package/lib/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
- package/lib/components/RollupItem/getIconName.d.ts +1 -0
- package/lib/components/RollupItem/getIconName.js +2 -0
- package/lib/components/RollupItem/getIconName.js.map +1 -0
- package/lib/components/RollupItem/getIconName.mobile.d.ts +1 -0
- package/lib/components/RollupItem/getIconName.mobile.js +2 -0
- package/lib/components/RollupItem/getIconName.mobile.js.map +1 -0
- package/lib/components/RollupItem/labelSize.d.ts +1 -0
- package/lib/components/RollupItem/labelSize.js +2 -0
- package/lib/components/RollupItem/labelSize.js.map +1 -0
- package/lib/components/RollupItem/labelSize.mobile.d.ts +1 -0
- package/lib/components/RollupItem/labelSize.mobile.js +2 -0
- package/lib/components/RollupItem/labelSize.mobile.js.map +1 -0
- package/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/lib/components/RollupItem/rollupIconVersion.js +2 -0
- package/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/lib/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
- package/lib/components/RollupItem/rollupIconVersion.mobile.js +2 -0
- package/lib/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
- package/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/lib/components/RollupItem/rollupItemStyles.js +2 -0
- package/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/lib/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
- package/lib/components/RollupItem/rollupItemStyles.mobile.js +2 -0
- package/lib/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.d.ts +1 -0
- package/lib/components/Tile/Tile.js +2 -2
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +0 -2
- package/lib/components/VerticalLayout/VerticalLayout.fixture.mobile.d.ts +1 -0
- package/lib/components/Video/Video.fixture.d.ts +1 -0
- package/lib/content-page-repository/transformContentPage.js +12 -4
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/lib/content-page-repository/transformDocumentLink.js +26 -0
- package/lib/content-page-repository/transformDocumentLink.js.map +1 -0
- package/lib/hooks/useForm.d.ts +8 -4
- package/lib/hooks/useForm.js +5 -3
- package/lib/hooks/useForm.js.map +1 -1
- package/lib/hooks/useNormalizedInput.d.ts +11 -0
- package/lib/hooks/useNormalizedInput.js +20 -0
- package/lib/hooks/useNormalizedInput.js.map +1 -0
- package/lib/hooks/useSWRResource.js +2 -1
- package/lib/hooks/useSWRResource.js.map +1 -1
- package/lib/icons/IconName.d.ts +12 -2
- package/lib/icons/IconName.js +11 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/services/search/useSearch.js +3 -2
- package/lib/services/search/useSearch.js.map +1 -1
- package/lib/services/sitemap/SitemapData.d.ts +1 -1
- package/{bundle/components/Filtration/FiltrationContent.d.ts → lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
- package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
- package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.js +1 -1
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/ControlProps.d.ts +1 -1
- package/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/lib/ui-kit/Heading/Heading.fixture.d.ts +1 -0
- package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +1 -0
- package/lib/ui-kit/Icon/IconProps.d.ts +4 -0
- package/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/lib/ui-kit/Icon/RoundedIcon.js +11 -0
- package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/lib/ui-kit/Input/Input.d.ts +1 -1
- package/lib/ui-kit/Input/Input.js +3 -2
- package/lib/ui-kit/Input/Input.js.map +1 -1
- package/lib/ui-kit/Input/InputProps.d.ts +4 -5
- package/lib/ui-kit/InputRange/InputRange.js +10 -12
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +1 -0
- package/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/lib/ui-kit/LinkList/LinkList.fixture.d.ts +8 -0
- package/lib/ui-kit/LinkList/LinkList.js +10 -0
- package/lib/ui-kit/LinkList/LinkList.js.map +1 -0
- package/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/lib/ui-kit/LinkList/LinkListProps.js +2 -0
- package/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.js +2 -0
- package/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.mobile.js +2 -0
- package/lib/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
- package/lib/ui-kit/List/List.js +2 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListItem.js +5 -4
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/ui-kit/List/ListProps.d.ts +0 -2
- package/lib/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/lib/ui-kit/NumberInput/NumberInput.fixture.d.ts +7 -0
- package/lib/ui-kit/NumberInput/NumberInput.js +20 -0
- package/lib/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/lib/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/lib/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/lib/ui-kit/RichText/RichText.fixture.d.ts +1 -0
- package/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/lib/ui-kit/SearchBar/SearchBar.js +22 -3
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/lib/ui-kit/Select/Select.fixture.d.ts +1 -0
- package/lib/ui-kit/SlideCheckbox/SlideCheckbox.fixture.d.ts +1 -0
- package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/lib/ui-kit/Tags/Tags.fixture.d.ts +1 -0
- package/lib/utils/identity.d.ts +1 -0
- package/lib/utils/identity.js +2 -0
- package/lib/utils/identity.js.map +1 -0
- package/lib/utils/isEmpty.d.ts +1 -0
- package/lib/utils/isEmpty.js +6 -0
- package/lib/utils/isEmpty.js.map +1 -0
- package/lib/utils/joinList.d.ts +1 -1
- package/lib/utils/joinList.js +1 -3
- package/lib/utils/joinList.js.map +1 -1
- package/lib/utils/toLocalNumberFormat.d.ts +1 -0
- package/lib/utils/toLocalNumberFormat.js +5 -0
- package/lib/utils/toLocalNumberFormat.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +267 -242
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BaseTile/BaseTile.d.ts +12 -2
- package/mobile/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/mobile/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/mobile/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/mobile/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/mobile/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
- package/mobile/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/mobile/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/getIconName.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/labelSize.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/mobile/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/mobile/bundle/hooks/useForm.d.ts +8 -4
- package/mobile/bundle/hooks/useNormalizedInput.d.ts +11 -0
- package/mobile/bundle/icons/IconName.d.ts +12 -2
- package/mobile/bundle/services/sitemap/SitemapData.d.ts +1 -1
- package/mobile/bundle/{components/Filtration/FiltrationContent.d.ts → ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/mobile/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/mobile/bundle/ui-kit/ControlProps.d.ts +1 -1
- package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
- package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/mobile/bundle/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/bundle/ui-kit/Input/InputProps.d.ts +4 -5
- package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/mobile/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/mobile/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/mobile/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -2
- package/mobile/bundle/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/mobile/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/mobile/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/mobile/bundle/utils/identity.d.ts +1 -0
- package/mobile/bundle/utils/isEmpty.d.ts +1 -0
- package/mobile/bundle/utils/joinList.d.ts +1 -1
- package/mobile/bundle/utils/toLocalNumberFormat.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +12 -2
- package/mobile/dist/components/BaseTile/BaseTile.js +2 -1
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/Blocks.js +0 -2
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +2 -2
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/renderInitialFeeInput.js +3 -3
- package/mobile/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/mobile/dist/components/Calculator/renderProposal.js +2 -2
- package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/dist/components/Calculator/renderRealEstateValue.js +2 -2
- package/mobile/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/mobile/dist/components/Calculator/renderWantedSumInput.js +3 -3
- package/mobile/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +10 -8
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.page.json +0 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js +34 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js +2 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/mobile/dist/components/Footer/Footer.js +3 -9
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js +2 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigationLink.js +3 -1
- package/mobile/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.js +2 -8
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.js +3 -3
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/mobile/dist/components/Footer/buttonStylesWithText.js +12 -0
- package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -0
- package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
- package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/mobile/dist/components/Footer/textInformationTextSize.d.ts +1 -0
- package/mobile/dist/components/Footer/textInformationTextSize.js +4 -0
- package/mobile/dist/components/Footer/textInformationTextSize.js.map +1 -0
- package/mobile/dist/components/Header/Header.js +2 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/mobile/dist/components/OfficeMap/OfficeMap.js +2 -2
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/mobile/dist/components/OfficeMap/useOfficeMap.js +1 -2
- package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +2 -2
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +5 -4
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +6 -7
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +7 -5
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +9 -18
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +18 -8
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/mobile/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/mobile/dist/components/RollupItem/foldableSectionStyles.js +4 -0
- package/mobile/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/mobile/dist/components/RollupItem/getIconName.d.ts +1 -0
- package/mobile/dist/components/RollupItem/getIconName.js +5 -0
- package/mobile/dist/components/RollupItem/getIconName.js.map +1 -0
- package/mobile/dist/components/RollupItem/labelSize.d.ts +1 -0
- package/mobile/dist/components/RollupItem/labelSize.js +4 -0
- package/mobile/dist/components/RollupItem/labelSize.js.map +1 -0
- package/mobile/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/mobile/dist/components/RollupItem/rollupIconVersion.js +4 -0
- package/mobile/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/mobile/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/mobile/dist/components/RollupItem/rollupItemStyles.js +4 -0
- package/mobile/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/mobile/dist/components/Tile/Tile.js +2 -2
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/content-page-repository/transformContentPage.js +12 -4
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/mobile/dist/content-page-repository/transformDocumentLink.js +32 -0
- package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -0
- package/mobile/dist/hooks/useForm.d.ts +8 -4
- package/mobile/dist/hooks/useForm.js +5 -3
- package/mobile/dist/hooks/useForm.js.map +1 -1
- package/mobile/dist/hooks/useNormalizedInput.d.ts +11 -0
- package/mobile/dist/hooks/useNormalizedInput.js +23 -0
- package/mobile/dist/hooks/useNormalizedInput.js.map +1 -0
- package/mobile/dist/hooks/useSWRResource.js +2 -1
- package/mobile/dist/hooks/useSWRResource.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +12 -2
- package/mobile/dist/icons/IconName.js +11 -1
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/services/search/useSearch.js +3 -2
- package/mobile/dist/services/search/useSearch.js.map +1 -1
- package/mobile/dist/services/sitemap/SitemapData.d.ts +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
- package/{dist/components/LinkList/LinkListContent.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/{dist/components/Filtration/FiltrationInner.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
- package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/mobile/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/ControlProps.d.ts +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +4 -0
- package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js +13 -0
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/dist/ui-kit/Input/Input.js +3 -2
- package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
- package/mobile/dist/ui-kit/Input/InputProps.d.ts +4 -5
- package/mobile/dist/ui-kit/InputRange/InputRange.js +9 -11
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/mobile/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/mobile/dist/ui-kit/LinkList/LinkList.js +12 -0
- package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -0
- package/mobile/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/mobile/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
- package/mobile/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/mobile/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/mobile/dist/ui-kit/LinkList/linkListStyles.js +4 -0
- package/mobile/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/mobile/dist/ui-kit/List/List.js +2 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.js +5 -4
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -2
- package/mobile/dist/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/mobile/dist/ui-kit/NumberInput/NumberInput.js +22 -0
- package/mobile/dist/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +21 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/mobile/dist/utils/identity.d.ts +1 -0
- package/mobile/dist/utils/identity.js +5 -0
- package/mobile/dist/utils/identity.js.map +1 -0
- package/mobile/dist/utils/isEmpty.d.ts +1 -0
- package/mobile/dist/utils/isEmpty.js +9 -0
- package/mobile/dist/utils/isEmpty.js.map +1 -0
- package/mobile/dist/utils/joinList.d.ts +1 -1
- package/mobile/dist/utils/joinList.js +1 -3
- package/mobile/dist/utils/joinList.js.map +1 -1
- package/mobile/dist/utils/toLocalNumberFormat.d.ts +1 -0
- package/mobile/dist/utils/toLocalNumberFormat.js +8 -0
- package/mobile/dist/utils/toLocalNumberFormat.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +12 -2
- package/mobile/lib/components/BaseTile/BaseTile.js +2 -1
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/Blocks.js +0 -2
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +2 -2
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/renderInitialFeeInput.js +3 -3
- package/mobile/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/mobile/lib/components/Calculator/renderProposal.js +2 -2
- package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/lib/components/Calculator/renderRealEstateValue.js +2 -2
- package/mobile/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/mobile/lib/components/Calculator/renderWantedSumInput.js +3 -3
- package/mobile/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +10 -8
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.page.json +0 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js +32 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/mobile/lib/components/Footer/Footer.js +3 -9
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js +2 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigationLink.js +3 -1
- package/mobile/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.js +1 -7
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.js +3 -3
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/mobile/lib/components/Footer/buttonStylesWithText.js +9 -0
- package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -0
- package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
- package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/mobile/lib/components/Footer/textInformationTextSize.d.ts +1 -0
- package/mobile/lib/components/Footer/textInformationTextSize.js +2 -0
- package/mobile/lib/components/Footer/textInformationTextSize.js.map +1 -0
- package/mobile/lib/components/Header/Header.js +2 -2
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/mobile/lib/components/OfficeMap/OfficeMap.js +2 -2
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/mobile/lib/components/OfficeMap/useOfficeMap.js +1 -2
- package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +2 -2
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +6 -5
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +6 -7
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +7 -5
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +10 -19
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +18 -8
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/mobile/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/mobile/lib/components/RollupItem/foldableSectionStyles.js +2 -0
- package/mobile/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/mobile/lib/components/RollupItem/getIconName.d.ts +1 -0
- package/mobile/lib/components/RollupItem/getIconName.js +2 -0
- package/mobile/lib/components/RollupItem/getIconName.js.map +1 -0
- package/mobile/lib/components/RollupItem/labelSize.d.ts +1 -0
- package/mobile/lib/components/RollupItem/labelSize.js +2 -0
- package/mobile/lib/components/RollupItem/labelSize.js.map +1 -0
- package/mobile/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/mobile/lib/components/RollupItem/rollupIconVersion.js +2 -0
- package/mobile/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/mobile/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/mobile/lib/components/RollupItem/rollupItemStyles.js +2 -0
- package/mobile/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/mobile/lib/components/Tile/Tile.js +2 -2
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/content-page-repository/transformContentPage.js +12 -4
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/mobile/lib/content-page-repository/transformDocumentLink.js +26 -0
- package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -0
- package/mobile/lib/hooks/useForm.d.ts +8 -4
- package/mobile/lib/hooks/useForm.js +5 -3
- package/mobile/lib/hooks/useForm.js.map +1 -1
- package/mobile/lib/hooks/useNormalizedInput.d.ts +11 -0
- package/mobile/lib/hooks/useNormalizedInput.js +20 -0
- package/mobile/lib/hooks/useNormalizedInput.js.map +1 -0
- package/mobile/lib/hooks/useSWRResource.js +2 -1
- package/mobile/lib/hooks/useSWRResource.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +12 -2
- package/mobile/lib/icons/IconName.js +11 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/services/search/useSearch.js +3 -2
- package/mobile/lib/services/search/useSearch.js.map +1 -1
- package/mobile/lib/services/sitemap/SitemapData.d.ts +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/mobile/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
- package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/ControlProps.d.ts +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +4 -0
- package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js +11 -0
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/lib/ui-kit/Input/Input.js +3 -2
- package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
- package/mobile/lib/ui-kit/Input/InputProps.d.ts +4 -5
- package/mobile/lib/ui-kit/InputRange/InputRange.js +10 -12
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/mobile/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/mobile/lib/ui-kit/LinkList/LinkList.js +10 -0
- package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -0
- package/mobile/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/mobile/lib/ui-kit/LinkList/LinkListProps.js +2 -0
- package/mobile/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/mobile/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/mobile/lib/ui-kit/LinkList/linkListStyles.js +2 -0
- package/mobile/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/mobile/lib/ui-kit/List/List.js +2 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js +5 -4
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -2
- package/mobile/lib/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/mobile/lib/ui-kit/NumberInput/NumberInput.js +20 -0
- package/mobile/lib/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +22 -3
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/mobile/lib/utils/identity.d.ts +1 -0
- package/mobile/lib/utils/identity.js +2 -0
- package/mobile/lib/utils/identity.js.map +1 -0
- package/mobile/lib/utils/isEmpty.d.ts +1 -0
- package/mobile/lib/utils/isEmpty.js +6 -0
- package/mobile/lib/utils/isEmpty.js.map +1 -0
- package/mobile/lib/utils/joinList.d.ts +1 -1
- package/mobile/lib/utils/joinList.js +1 -3
- package/mobile/lib/utils/joinList.js.map +1 -1
- package/mobile/lib/utils/toLocalNumberFormat.d.ts +1 -0
- package/mobile/lib/utils/toLocalNumberFormat.js +5 -0
- package/mobile/lib/utils/toLocalNumberFormat.js.map +1 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
- package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +4 -4
- package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +4 -4
- package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +6 -10
- package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +4 -4
- package/mobile/src/components/BaseTile/BaseTile.tsx +32 -9
- package/mobile/src/components/Blocks.ts +0 -2
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
- package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +3 -3
- package/mobile/src/components/Calculator/renderProposal.tsx +2 -2
- package/mobile/src/components/Calculator/renderRealEstateValue.tsx +2 -2
- package/mobile/src/components/Calculator/renderWantedSumInput.tsx +3 -3
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +16 -12
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
- package/mobile/src/components/ContentPage/ContentPage.page.json +0 -1
- package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
- package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
- package/mobile/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
- package/mobile/src/components/Footer/Footer.tsx +21 -30
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +4 -3
- package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
- package/mobile/src/components/Footer/MediaButton.tsx +1 -10
- package/mobile/src/components/Footer/TextInformation.tsx +17 -17
- package/mobile/src/components/Footer/buttonStylesWithText.ts +15 -0
- package/mobile/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
- package/mobile/src/components/Footer/textInformationTextSize.ts +1 -0
- package/mobile/src/components/Header/Header.tsx +2 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
- package/mobile/src/components/LinkDocs/LinkDocs.ui.json +9 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +5 -1
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
- package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +2 -2
- package/mobile/src/components/OfficeMap/useOfficeMap.ts +1 -3
- package/mobile/src/components/PictureText/PictureText.tsx +2 -2
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +16 -9
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -13
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +43 -45
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +3 -12
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +50 -73
- package/mobile/src/components/RollupItem/RollupItem.tsx +52 -38
- package/mobile/src/components/RollupItem/RollupItemContent.ts +2 -0
- package/mobile/src/components/RollupItem/foldableSectionStyles.ts +1 -0
- package/mobile/src/components/RollupItem/getIconName.tsx +2 -0
- package/mobile/src/components/RollupItem/labelSize.tsx +1 -0
- package/mobile/src/components/RollupItem/rollupIconVersion.tsx +1 -0
- package/mobile/src/components/RollupItem/rollupItemStyles.ts +1 -0
- package/mobile/src/components/Tile/Tile.tsx +2 -8
- package/mobile/src/content-page-repository/transformContentPage.ts +19 -7
- package/mobile/src/content-page-repository/transformDocumentLink.ts +37 -0
- package/mobile/src/hooks/useForm.ts +16 -8
- package/mobile/src/hooks/useNormalizedInput.ts +33 -0
- package/mobile/src/hooks/useSWRResource.ts +3 -1
- package/mobile/src/icons/ArrowDownSolidIcon.svg +1 -0
- package/mobile/src/icons/ArrowUpSolidIcon.svg +1 -0
- package/mobile/src/icons/BagIcon.svg +1 -0
- package/mobile/src/icons/BriefcaseIcon.svg +7 -0
- package/mobile/src/icons/ClientIcon.svg +1 -0
- package/mobile/src/icons/IconName.ts +5 -5
- package/mobile/src/services/search/useSearch.ts +3 -2
- package/mobile/src/services/sitemap/SitemapData.ts +1 -1
- package/mobile/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +38 -24
- package/mobile/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
- package/mobile/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
- package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
- package/mobile/src/ui-kit/BlockWrapper.tsx +1 -9
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/mobile/src/ui-kit/ControlProps.ts +1 -1
- package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +12 -38
- package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
- package/mobile/src/ui-kit/Icon/IconProps.ts +5 -0
- package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
- package/mobile/src/ui-kit/Input/Input.tsx +33 -16
- package/mobile/src/ui-kit/Input/InputProps.ts +4 -5
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +43 -49
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +2 -4
- package/mobile/src/ui-kit/LinkList/LinkList.tsx +25 -0
- package/mobile/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
- package/mobile/src/ui-kit/LinkList/linkListStyles.ts +1 -0
- package/mobile/src/ui-kit/List/List.tsx +10 -11
- package/mobile/src/ui-kit/List/ListItem.tsx +11 -7
- package/mobile/src/ui-kit/List/ListProps.ts +0 -2
- package/mobile/src/ui-kit/NumberInput/NumberInput.tsx +35 -0
- package/mobile/src/ui-kit/PhoneInput/PhoneInput.tsx +2 -3
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +36 -4
- package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -1
- package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
- package/mobile/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +9 -5
- package/mobile/src/utils/identity.ts +1 -0
- package/mobile/src/utils/isEmpty.ts +6 -0
- package/mobile/src/utils/joinList.ts +4 -4
- package/mobile/src/utils/toLocalNumberFormat.ts +7 -0
- package/package.json +3 -3
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +1 -0
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +4 -4
- package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +4 -4
- package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +6 -10
- package/src/components/ApplicationForm/renderWedDataOrganization.tsx +4 -4
- package/src/components/BaseTile/BaseTile.tsx +32 -9
- package/src/components/Blocks.mobile.ts +0 -2
- package/src/components/Blocks.ts +6 -4
- package/src/components/Bonus/Bonus.fixture.tsx +2 -1
- package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +1 -0
- package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +1 -0
- package/src/components/Calculator/Calculator.fixture.tsx +1 -1
- package/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
- package/src/components/Calculator/renderInitialFeeInput.tsx +3 -3
- package/src/components/Calculator/renderProposal.tsx +2 -2
- package/src/components/Calculator/renderRealEstateValue.tsx +2 -2
- package/src/components/Calculator/renderWantedSumInput.tsx +3 -3
- package/src/components/CardTransfer/CardTransfer.fixture.tsx +1 -0
- package/src/components/CardTransfer/CardTransfer.tsx +16 -12
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +2 -1
- package/src/components/Carousel/Carousel.fixture.tsx +2 -1
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +2 -0
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +2 -0
- package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +3 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.fixture.tsx +2 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
- package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +2 -0
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +2 -0
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +2 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +2 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +2 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -3
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +2 -0
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +2 -0
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +2 -0
- package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +2 -1
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +2 -1
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +2 -7
- package/src/components/ContentPage/ContentPage.page.json +0 -1
- package/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
- package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +190 -0
- package/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
- package/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
- package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +2 -1
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +1 -0
- package/src/components/Footer/Footer.fixture.mobile.tsx +1 -0
- package/src/components/Footer/Footer.fixture.tsx +1 -0
- package/src/components/Footer/Footer.mobile.tsx +21 -30
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +4 -3
- package/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
- package/src/components/Footer/MediaButton.tsx +1 -10
- package/src/components/Footer/TextInformation.tsx +5 -3
- package/src/components/Footer/buttonStylesWithText.mobile.ts +15 -0
- package/src/components/Footer/buttonStylesWithText.ts +15 -0
- package/src/components/Footer/horizontalNavigationLinkStyles.mobile.ts +1 -0
- package/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
- package/src/components/Footer/textInformationTextSize.mobile.ts +1 -0
- package/src/components/Footer/textInformationTextSize.ts +1 -0
- package/src/components/Header/Header.fixture.mobile.tsx +1 -0
- package/src/components/Header/Header.fixture.tsx +1 -0
- package/src/components/Header/Header.mobile.tsx +2 -2
- package/src/components/Headline/Headline.fixture.mobile.tsx +2 -1
- package/src/components/Headline/Headline.fixture.tsx +2 -1
- package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +2 -1
- package/src/components/ImgBlock/ImgBlock.fixture.mobile.tsx +2 -1
- package/src/components/ImgBlock/ImgBlock.fixture.tsx +2 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +1 -0
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
- package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -0
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +1 -0
- package/src/components/LinkDocs/LinkDocs.ui.json +9 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -1
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +5 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/{Filtration/Filtration.fixture.tsx → MortgageFiltration/MortgageFiltration.fixture.tsx} +7 -5
- package/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
- package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
- package/src/components/OfficeMap/OfficeMap.fixture.tsx +1 -0
- package/src/components/OfficeMap/OfficeMap.tsx +2 -2
- package/src/components/OfficeMap/useOfficeMap.ts +1 -3
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -0
- package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +1 -0
- package/src/components/PictureText/PictureText.fixture.tsx +2 -1
- package/src/components/PictureText/PictureText.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -1
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -3
- package/src/components/ProductBlock/ProductBlock.tsx +14 -31
- package/src/components/ProductBlock/ProductBlockContent.ts +0 -13
- package/src/components/ProductBlock/ProductBlockInner.tsx +29 -46
- package/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
- package/src/components/ProductBlock/renderBenefit.tsx +3 -12
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +2 -1
- package/src/components/ProductGallery/ProductGallery.tsx +50 -73
- package/src/components/ProductTile/ProductTile.fixture.tsx +2 -1
- package/src/components/PromoTile/PromoTile.fixture.tsx +1 -0
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +1 -0
- package/src/components/RichTextBlock/RichTextBlock.fixture.mobile.tsx +1 -0
- package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +1 -0
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +24 -3
- package/src/components/RollupItem/RollupItem.fixture.tsx +2 -0
- package/src/components/RollupItem/RollupItem.tsx +73 -34
- package/src/components/RollupItem/RollupItemContent.ts +2 -0
- package/src/components/RollupItem/foldableSectionStyles.mobile.ts +1 -0
- package/src/components/RollupItem/foldableSectionStyles.ts +1 -0
- package/src/components/RollupItem/getIconName.mobile.tsx +2 -0
- package/src/components/RollupItem/getIconName.tsx +1 -0
- package/src/components/RollupItem/labelSize.mobile.tsx +1 -0
- package/src/components/RollupItem/labelSize.tsx +1 -0
- package/src/components/RollupItem/rollupIconVersion.mobile.tsx +1 -0
- package/src/components/RollupItem/rollupIconVersion.tsx +1 -0
- package/src/components/RollupItem/rollupItemStyles.mobile.ts +1 -0
- package/src/components/RollupItem/rollupItemStyles.ts +2 -0
- package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -0
- package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -0
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +1 -0
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +2 -0
- package/src/components/Tabs/Tabs.fixture.tsx +1 -0
- package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +1 -0
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -0
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +2 -1
- package/src/components/TextBlock/TextBlock.fixture.tsx +2 -1
- package/src/components/Tile/Tile.fixture.tsx +2 -1
- package/src/components/Tile/Tile.tsx +2 -8
- package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +71 -2
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +3 -2
- package/src/components/Video/Video.fixture.tsx +2 -0
- package/src/content-page-repository/transformContentPage.ts +19 -7
- package/src/content-page-repository/transformDocumentLink.ts +37 -0
- package/src/hooks/useForm.ts +16 -8
- package/src/hooks/useNormalizedInput.ts +33 -0
- package/src/hooks/useSWRResource.ts +3 -1
- package/src/icons/ArrowDownSolidIcon.svg +1 -0
- package/src/icons/ArrowUpSolidIcon.svg +1 -0
- package/src/icons/BagIcon.svg +1 -0
- package/src/icons/BriefcaseIcon.svg +7 -0
- package/src/icons/ClientIcon.svg +1 -0
- package/src/icons/IconName.ts +19 -1
- package/src/services/search/useSearch.ts +3 -2
- package/src/services/sitemap/SitemapData.ts +1 -1
- package/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +38 -24
- package/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
- package/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
- package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
- package/src/ui-kit/BlockWrapper.tsx +1 -9
- package/src/ui-kit/Button/Button.fixture.tsx +1 -0
- package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/src/ui-kit/ControlProps.ts +1 -1
- package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +12 -38
- package/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
- package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +2 -0
- package/src/ui-kit/Heading/Heading.fixture.tsx +2 -0
- package/src/ui-kit/Icon/Icon.fixture.tsx +2 -1
- package/src/ui-kit/Icon/IconProps.ts +5 -0
- package/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
- package/src/ui-kit/Input/Input.tsx +33 -16
- package/src/ui-kit/Input/InputProps.ts +4 -5
- package/src/ui-kit/InputRange/InputRange.tsx +43 -49
- package/src/ui-kit/InputRange/InputRangeProps.ts +2 -4
- package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +2 -0
- package/{mobile/src/components/LinkList/linkListContentExample.ts → src/ui-kit/LinkList/LinkList.fixture.tsx} +13 -3
- package/src/ui-kit/LinkList/LinkList.tsx +25 -0
- package/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
- package/src/ui-kit/LinkList/linkListStyles.mobile.ts +1 -0
- package/src/ui-kit/LinkList/linkListStyles.ts +1 -0
- package/src/ui-kit/List/List.fixture.tsx +1 -0
- package/src/ui-kit/List/List.tsx +10 -11
- package/src/ui-kit/List/ListItem.tsx +11 -7
- package/src/ui-kit/List/ListProps.ts +0 -2
- package/src/ui-kit/LocationDialog/LocationDialog.fixture.tsx +2 -1
- package/src/ui-kit/NumberInput/NumberInput.fixture.tsx +31 -0
- package/src/ui-kit/NumberInput/NumberInput.tsx +35 -0
- package/src/ui-kit/PhoneInput/PhoneInput.tsx +2 -3
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +1 -0
- package/src/ui-kit/RichText/RichText.fixture.tsx +2 -0
- package/src/ui-kit/SearchBar/SearchBar.tsx +36 -2
- package/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -1
- package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
- package/src/ui-kit/Select/Select.fixture.tsx +2 -0
- package/src/ui-kit/SlideCheckbox/SlideCheckbox.fixture.tsx +2 -0
- package/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +9 -5
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +2 -1
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.tsx +2 -1
- package/src/ui-kit/Tags/Tags.fixture.tsx +2 -0
- package/src/utils/identity.ts +1 -0
- package/src/utils/isEmpty.ts +6 -0
- package/src/utils/joinList.ts +4 -4
- package/src/utils/toLocalNumberFormat.ts +7 -0
- package/tailwind.config.cjs +10 -5
- package/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/bundle/components/Filtration/Filtration.d.ts +0 -6
- package/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
- package/bundle/components/Filtration/renderFormItem.d.ts +0 -4
- package/bundle/components/Footer/TextInformation.mobile.d.ts +0 -2
- package/bundle/components/LinkList/LinkList.d.ts +0 -5
- package/bundle/components/LinkList/LinkListContent.d.ts +0 -9
- package/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
- package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
- package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
- package/bundle/components/RollupItem/RollupItem.mobile.d.ts +0 -5
- package/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
- package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/bundle/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/dist/components/BaseTile/BaseTileProps.js.map +0 -1
- package/dist/components/Filtration/Filtration.d.ts +0 -6
- package/dist/components/Filtration/Filtration.js +0 -18
- package/dist/components/Filtration/Filtration.js.map +0 -1
- package/dist/components/Filtration/FiltrationContent.js.map +0 -1
- package/dist/components/Filtration/FiltrationInner.d.ts +0 -7
- package/dist/components/Filtration/FiltrationInner.js.map +0 -1
- package/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
- package/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/dist/components/Filtration/renderFormItem.d.ts +0 -4
- package/dist/components/Filtration/renderFormItem.js.map +0 -1
- package/dist/components/Footer/TextInformation.mobile.d.ts +0 -2
- package/dist/components/Footer/TextInformation.mobile.js +0 -9
- package/dist/components/Footer/TextInformation.mobile.js.map +0 -1
- package/dist/components/LinkList/LinkList.d.ts +0 -5
- package/dist/components/LinkList/LinkList.js +0 -13
- package/dist/components/LinkList/LinkList.js.map +0 -1
- package/dist/components/LinkList/LinkListContent.d.ts +0 -9
- package/dist/components/LinkList/LinkListContent.js.map +0 -1
- package/dist/components/LinkList/linkListContentExample.d.ts +0 -2
- package/dist/components/LinkList/linkListContentExample.js +0 -23
- package/dist/components/LinkList/linkListContentExample.js.map +0 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
- package/dist/components/ProductBlock/ProductBlock.mobile.js +0 -11
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +0 -18
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
- package/dist/components/RollupItem/RollupItem.mobile.d.ts +0 -5
- package/dist/components/RollupItem/RollupItem.mobile.js +0 -30
- package/dist/components/RollupItem/RollupItem.mobile.js.map +0 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/dist/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js +0 -7
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
- package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/dist/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/dist/utils/addSpacesBetweenNumbers.js +0 -5
- package/dist/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/lib/components/BaseTile/BaseTileProps.js +0 -2
- package/lib/components/BaseTile/BaseTileProps.js.map +0 -1
- package/lib/components/Filtration/Filtration.d.ts +0 -6
- package/lib/components/Filtration/Filtration.js +0 -16
- package/lib/components/Filtration/Filtration.js.map +0 -1
- package/lib/components/Filtration/FiltrationContent.js +0 -2
- package/lib/components/Filtration/FiltrationContent.js.map +0 -1
- package/lib/components/Filtration/FiltrationInner.d.ts +0 -7
- package/lib/components/Filtration/FiltrationInner.js.map +0 -1
- package/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
- package/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/lib/components/Filtration/renderFormItem.d.ts +0 -4
- package/lib/components/Filtration/renderFormItem.js +0 -19
- package/lib/components/Filtration/renderFormItem.js.map +0 -1
- package/lib/components/Footer/TextInformation.mobile.d.ts +0 -2
- package/lib/components/Footer/TextInformation.mobile.js +0 -7
- package/lib/components/Footer/TextInformation.mobile.js.map +0 -1
- package/lib/components/LinkList/LinkList.d.ts +0 -5
- package/lib/components/LinkList/LinkList.js +0 -11
- package/lib/components/LinkList/LinkList.js.map +0 -1
- package/lib/components/LinkList/LinkListContent.d.ts +0 -9
- package/lib/components/LinkList/LinkListContent.js +0 -2
- package/lib/components/LinkList/LinkListContent.js.map +0 -1
- package/lib/components/LinkList/linkListContentExample.d.ts +0 -2
- package/lib/components/LinkList/linkListContentExample.js +0 -21
- package/lib/components/LinkList/linkListContentExample.js.map +0 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
- package/lib/components/ProductBlock/ProductBlock.mobile.js +0 -9
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +0 -16
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
- package/lib/components/RollupItem/RollupItem.mobile.d.ts +0 -5
- package/lib/components/RollupItem/RollupItem.mobile.js +0 -28
- package/lib/components/RollupItem/RollupItem.mobile.js.map +0 -1
- package/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/lib/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
- package/lib/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js +0 -5
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
- package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/lib/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/lib/utils/addSpacesBetweenNumbers.js +0 -2
- package/lib/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/mobile/bundle/components/Filtration/Filtration.d.ts +0 -6
- package/mobile/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
- package/mobile/bundle/components/Filtration/renderFormItem.d.ts +0 -4
- package/mobile/bundle/components/LinkList/LinkList.d.ts +0 -5
- package/mobile/bundle/components/LinkList/LinkListContent.d.ts +0 -9
- package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
- package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/mobile/bundle/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/mobile/dist/components/BaseTile/BaseTileProps.js.map +0 -1
- package/mobile/dist/components/Filtration/Filtration.d.ts +0 -6
- package/mobile/dist/components/Filtration/Filtration.js +0 -18
- package/mobile/dist/components/Filtration/Filtration.js.map +0 -1
- package/mobile/dist/components/Filtration/FiltrationContent.d.ts +0 -88
- package/mobile/dist/components/Filtration/FiltrationContent.js +0 -2
- package/mobile/dist/components/Filtration/FiltrationContent.js.map +0 -1
- package/mobile/dist/components/Filtration/FiltrationInner.d.ts +0 -7
- package/mobile/dist/components/Filtration/FiltrationInner.js.map +0 -1
- package/mobile/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
- package/mobile/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/mobile/dist/components/Filtration/renderFormItem.d.ts +0 -4
- package/mobile/dist/components/Filtration/renderFormItem.js.map +0 -1
- package/mobile/dist/components/LinkList/LinkList.d.ts +0 -5
- package/mobile/dist/components/LinkList/LinkList.js +0 -13
- package/mobile/dist/components/LinkList/LinkList.js.map +0 -1
- package/mobile/dist/components/LinkList/LinkListContent.d.ts +0 -9
- package/mobile/dist/components/LinkList/LinkListContent.js +0 -2
- package/mobile/dist/components/LinkList/LinkListContent.js.map +0 -1
- package/mobile/dist/components/LinkList/linkListContentExample.d.ts +0 -2
- package/mobile/dist/components/LinkList/linkListContentExample.js +0 -23
- package/mobile/dist/components/LinkList/linkListContentExample.js.map +0 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/mobile/dist/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/mobile/dist/utils/addSpacesBetweenNumbers.js +0 -5
- package/mobile/dist/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/mobile/lib/components/BaseTile/BaseTileProps.js +0 -2
- package/mobile/lib/components/BaseTile/BaseTileProps.js.map +0 -1
- package/mobile/lib/components/Filtration/Filtration.d.ts +0 -6
- package/mobile/lib/components/Filtration/Filtration.js +0 -16
- package/mobile/lib/components/Filtration/Filtration.js.map +0 -1
- package/mobile/lib/components/Filtration/FiltrationContent.d.ts +0 -88
- package/mobile/lib/components/Filtration/FiltrationContent.js +0 -2
- package/mobile/lib/components/Filtration/FiltrationContent.js.map +0 -1
- package/mobile/lib/components/Filtration/FiltrationInner.d.ts +0 -7
- package/mobile/lib/components/Filtration/FiltrationInner.js.map +0 -1
- package/mobile/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
- package/mobile/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/mobile/lib/components/Filtration/renderFormItem.d.ts +0 -4
- package/mobile/lib/components/Filtration/renderFormItem.js +0 -19
- package/mobile/lib/components/Filtration/renderFormItem.js.map +0 -1
- package/mobile/lib/components/LinkList/LinkList.d.ts +0 -5
- package/mobile/lib/components/LinkList/LinkList.js +0 -11
- package/mobile/lib/components/LinkList/LinkList.js.map +0 -1
- package/mobile/lib/components/LinkList/LinkListContent.d.ts +0 -9
- package/mobile/lib/components/LinkList/LinkListContent.js +0 -2
- package/mobile/lib/components/LinkList/LinkListContent.js.map +0 -1
- package/mobile/lib/components/LinkList/linkListContentExample.d.ts +0 -2
- package/mobile/lib/components/LinkList/linkListContentExample.js +0 -21
- package/mobile/lib/components/LinkList/linkListContentExample.js.map +0 -1
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/mobile/lib/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/mobile/lib/utils/addSpacesBetweenNumbers.js +0 -2
- package/mobile/lib/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/mobile/src/components/BaseTile/BaseTileProps.ts +0 -15
- package/mobile/src/components/Filtration/Filtration.tsx +0 -38
- package/mobile/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
- package/mobile/src/components/Filtration/renderFormItem.tsx +0 -36
- package/mobile/src/components/LinkList/LinkList.example.json +0 -23
- package/mobile/src/components/LinkList/LinkList.tsx +0 -29
- package/mobile/src/components/LinkList/LinkListContent.ts +0 -10
- package/mobile/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +0 -6
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
- package/mobile/src/utils/addSpacesBetweenNumbers.ts +0 -2
- package/src/components/BaseTile/BaseTileProps.ts +0 -15
- package/src/components/Filtration/Filtration.tsx +0 -38
- package/src/components/Filtration/Filtration.ui.json +0 -1
- package/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
- package/src/components/Filtration/renderFormItem.tsx +0 -36
- package/src/components/Footer/TextInformation.mobile.tsx +0 -22
- package/src/components/Gallery/Gallery.ui.json +0 -1
- package/src/components/LinkList/LinkList.example.json +0 -23
- package/src/components/LinkList/LinkList.fixture.tsx +0 -11
- package/src/components/LinkList/LinkList.tsx +0 -29
- package/src/components/LinkList/LinkList.ui.json +0 -1
- package/src/components/LinkList/LinkListContent.ts +0 -10
- package/src/components/LinkList/linkListContentExample.ts +0 -22
- package/src/components/MiniGallery/MiniGallery.ui.json +0 -1
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +0 -17
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +0 -65
- package/src/components/RollupItem/RollupItem.mobile.tsx +0 -122
- package/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +0 -6
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +0 -6
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
- package/src/utils/addSpacesBetweenNumbers.ts +0 -2
- /package/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/lib/components/{LinkList/LinkList.fixture.d.ts → DepositFiltration/DepositFiltration.fixture.d.ts} +0 -0
- /package/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/src/components/{Filtration/Filtration.ui.json → DepositFiltration/DepositFiltration.ui.json} +0 -0
- /package/mobile/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
- /package/mobile/src/components/{Gallery/Gallery.ui.json → MortgageFiltration/MortgageFiltration.ui.json} +0 -0
- /package/{mobile/src/components/LinkList/LinkList.ui.json → src/components/DepositFiltration/DepositFiltration.ui.json} +0 -0
- /package/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
- /package/{mobile/src/components/MiniGallery/MiniGallery.ui.json → src/components/MortgageFiltration/MortgageFiltration.ui.json} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/OfficeMap.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAC9C,gEAA6D;AAC7D,mDAAgD;AAEhD,uDAA4F;
|
|
1
|
+
{"version":3,"file":"OfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/OfficeMap.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAC9C,gEAA6D;AAC7D,mDAA6C;AAC7C,mDAAgD;AAEhD,uDAA4F;AAG/E,QAAA,SAAS,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,EAAE,EAAE;IACjE,wFAAwF;IACxF,6CAA6C;IAC7C,2FAA2F;IAC3F,MAAM,eAAe,GAAG,0BAAU,CAAC;IACnC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,GAC9D,eAAmC,CAAC;IACtC,MAAM,EACJ,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,eAAe,EACf,aAAa,GACd,GAAG,YAAY,CAAC;IACjB,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,GAAG,YAAY,CAAC;IAClF,MAAM,KAAK,GAAG,WAAW,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAC/E,MAAM,gBAAgB,GAAuB;QAC3C,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE;QACpE,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,EAAE,SAAS,EAAE;QACjE,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,gBAAgB,EAAE,QAAQ,EAAE,SAAS,EAAE;QACjE;YACE,KAAK,EAAE,SAAS;YAChB,MAAM,EAAE,eAAe;YACvB,QAAQ;YACR,SAAS,EAAE,eAAe;YAC1B,WAAW,EAAE,0CAA0C,EAAE,yBAAyB;SACnF;QACD,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,SAAS,EAAE;QAChE;YACE,KAAK,EAAE,SAAS;YAChB,MAAM,EAAE,eAAe;YACvB,QAAQ,EAAE,gBAAgB;YAC1B,SAAS,EAAE,iBAAiB;SAC7B;QACD,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,EAAE,aAAa,EAAE;KAChD,CAAC;IACF,MAAM,iBAAiB,GAAG,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,CAAC;IAC9C,MAAM,cAAc,GAClB,iBAAiB,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,iBAAiB,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;IAExF,OAAO,CACL,iCAAK,SAAS,EAAE,2CAA2C,SAAS,EAAE,aACpE,iCAAK,SAAS,EAAC,2BAA2B,aACxC,iCAAK,SAAS,EAAC,sBAAsB,aACnC,gCAAK,SAAS,EAAC,SAAS,YAAE,IAAI,GAAO,EACpC,IAAA,0CAAwB,EAAC,cAAc,CAAC,IACrC,EACN,iCAAK,SAAS,EAAC,wBAAwB,aACrC,uBAAC,WAAI,IAAC,IAAI,EAAC,iBAAiB,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,SAAS,EAAC,MAAM,GAAG,EACtE,OAAO,IACJ,EACN,gCAAK,SAAS,EAAC,WAAW,YAAE,6BAAa,CAAC,GAAG,CAAC,oCAAkB,CAAC,GAAO,IACpE,EACN,iCAAK,SAAS,EAAC,2BAA2B,aACxC,gCAAK,SAAS,EAAC,yCAAyC,YACrD,KAAK,CAAC,CAAC,CAAC,uBAAC,qBAAS,IAAC,MAAM,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,EAAC,QAAQ,GAAG,CAAC,CAAC,CAAC,IAAI,GAC7D,EACN,gCAAK,SAAS,EAAC,wDAAwD,YACpE,gBAAgB,CAAC,GAAG,CAAC,2BAAS,CAAC,GAC5B,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -8,8 +8,7 @@ const OFFICE_MAP_URL = '/api/v1/branches';
|
|
|
8
8
|
// TODO: Список регионов можно получить через api/v1/regions
|
|
9
9
|
function useOfficeMap(regionCode) {
|
|
10
10
|
const { data } = (0, useAsyncData_1.useAsyncData)(regionCode ? `${OFFICE_MAP_URL}?regionCode=${regionCode}` : undefined, fetchOfficeMap);
|
|
11
|
-
|
|
12
|
-
return mockOfficeMap_1.OFFICE_MAP;
|
|
11
|
+
return data || mockOfficeMap_1.OFFICE_MAP;
|
|
13
12
|
}
|
|
14
13
|
exports.useOfficeMap = useOfficeMap;
|
|
15
14
|
function fetchOfficeMap(url) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/useOfficeMap.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AACxE,qDAAkD;AAClD,mDAA6C;AAE7C,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAE1C,4GAA4G;AAC5G,4DAA4D;AAC5D,SAAgB,YAAY,CAAC,UAAmB;IAC9C,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAC3B,UAAU,CAAC,CAAC,CAAC,GAAG,cAAc,eAAe,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,EACrE,cAAc,CACf,CAAC;IAEF,OAAO,
|
|
1
|
+
{"version":3,"file":"useOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/useOfficeMap.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AACxE,qDAAkD;AAClD,mDAA6C;AAE7C,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAE1C,4GAA4G;AAC5G,4DAA4D;AAC5D,SAAgB,YAAY,CAAC,UAAmB;IAC9C,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAC3B,UAAU,CAAC,CAAC,CAAC,GAAG,cAAc,eAAe,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,EACrE,cAAc,CACf,CAAC;IAEF,OAAO,IAAI,IAAI,0BAAU,CAAC;AAC5B,CAAC;AAPD,oCAOC;AAED,SAAS,cAAc,CAAC,GAAY;IAClC,IAAI,CAAC,GAAG,EAAE;QACR,OAAO,EAAE,CAAC;KACX;IAED,OAAO,IAAA,qBAAS,EAAC,GAAG,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -4,7 +4,7 @@ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
6
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
7
|
-
const
|
|
7
|
+
const toLocalNumberFormat_1 = require("../../utils/toLocalNumberFormat");
|
|
8
8
|
const Headline_1 = require("../Headline/Headline");
|
|
9
9
|
const renderBenefit_1 = require("./renderBenefit");
|
|
10
10
|
exports.PictureText = (0, uni_jsx_1.JSX)(({ className = '', title, description, image, benefits, sum, monthLimit, directionRight = false, version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `relative py-12 px-24 ${className}`, version: version, ...rest, children: [(0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), (0, jsx_runtime_1.jsxs)("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: directionRight ? 'order-2' : '', image: image }) : null, (0, jsx_runtime_1.jsxs)("div", { className: "w-[558px] m-auto", children: [benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-4", children: benefits.map((0, renderBenefit_1.renderBenefit)(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
|
|
@@ -15,6 +15,6 @@ function renderInsuranceSumMonth(sum, monthLimit) {
|
|
|
15
15
|
}
|
|
16
16
|
function renderValueBlock(title, sum = 0, isAnotherBlock = false) {
|
|
17
17
|
const widthStyle = isAnotherBlock ? 'w-fit' : 'w-full';
|
|
18
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex justify-between items-center gap-2 w-full whitespace-pre ${widthStyle}`, children: [(0, jsx_runtime_1.jsx)("span", { className: "text-secondary-text text-l-light", children: title }), (0, jsx_runtime_1.jsxs)("span", { className: "text-primary-main text-h6", children: [(0,
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex justify-between items-center gap-2 w-full whitespace-pre ${widthStyle}`, children: [(0, jsx_runtime_1.jsx)("span", { className: "text-secondary-text text-l-light", children: title }), (0, jsx_runtime_1.jsxs)("span", { className: "text-primary-main text-h6", children: [(0, toLocalNumberFormat_1.toLocalNumberFormat)(2)(sum), " \u20BD"] })] }));
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=PictureText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,8CAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"PictureText.js","sourceRoot":"","sources":["../../../src/components/PictureText/PictureText.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,8CAA2C;AAC3C,yEAAsE;AACtE,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,WAAW,GAAG,IAAA,aAAG,EAC5B,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,EACL,WAAW,EACX,KAAK,EACL,QAAQ,EACR,GAAG,EACH,UAAU,EACV,cAAc,GAAG,KAAK,EACtB,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IAAC,SAAS,EAAE,wBAAwB,SAAS,EAAE,EAAE,OAAO,EAAE,OAAO,KAAM,IAAI,aACtF,uBAAC,mBAAQ,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,eAAe,EAAC,GAAG,GAAG,EACzF,iCAAK,SAAS,EAAE,2CAA2C,aACxD,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAE,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,iCAAK,SAAS,EAAC,kBAAkB,aAC9B,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,qBAAqB,YAAE,QAAQ,CAAC,GAAG,CAAC,IAAA,6BAAa,EAAC,OAAO,CAAC,CAAC,GAAO,CAClF,CAAC,CAAC,CAAC,IAAI,EACP,uBAAuB,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,IACrD,IACF,IACO,CAChB,CACF,CAAC;AAEF,SAAS,uBAAuB,CAAC,GAAY,EAAE,UAAmB;IAChE,OAAO,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CACzB,iCAAK,SAAS,EAAC,sDAAsD,aAClE,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,GAAG,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EACvF,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC;gBACrB,CAAC,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,UAAU,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;gBAClE,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC;AAED,SAAS,gBAAgB,CAAC,KAAa,EAAE,GAAG,GAAG,CAAC,EAAE,cAAc,GAAG,KAAK;IACtE,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC;IAEvD,OAAO,CACL,iCAAK,SAAS,EAAE,iEAAiE,UAAU,EAAE,aAC3F,iCAAM,SAAS,EAAC,kCAAkC,YAAE,KAAK,GAAQ,EACjE,kCAAM,SAAS,EAAC,2BAA2B,aAAE,IAAA,yCAAmB,EAAC,CAAC,CAAC,CAAC,GAAG,CAAC,eAAU,IAC9E,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -3,15 +3,10 @@ exports.ProductBlock = 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 BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
-
const Breadcrumb_1 = require("../../ui-kit/Breadcrumb");
|
|
7
|
-
const joinList_1 = require("../../utils/joinList");
|
|
8
6
|
const style_1 = require("../../utils/style");
|
|
9
7
|
const ProductBlockInner_1 = require("./ProductBlockInner");
|
|
10
8
|
const renderBackwardButton_1 = require("./renderBackwardButton");
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const buttonVersion = version === 'primary' ? version : 'white';
|
|
15
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden p-default flex flex-col box-border min-h-[454px]', className), version: version, ...rest, children: [backwardButton?.text ? (0, renderBackwardButton_1.renderBackwardButton)(backwardButton, buttonVersion) : null, breadcrumbs?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "text-xs-light mb-6", children: (0, joinList_1.joinList)((0, jsx_runtime_1.jsx)("span", { className: (0, style_1.style)('mx-2', breadcrumbStyle), children: "/" }))(breadcrumbs.map((breadcrumb, i) => ((0, jsx_runtime_1.jsx)(Breadcrumb_1.Breadcrumb, { className: breadcrumbStyle, ...breadcrumb }, String(i))))) })) : null, (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { className: "mt-10", version: version, ...rest })] }));
|
|
16
|
-
});
|
|
9
|
+
exports.ProductBlock = (0, uni_jsx_1.JSX)(({ className, backwardButton, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('overflow-hidden p-default flex flex-col gap-10 box-border', className), ...rest, children: [backwardButton?.text
|
|
10
|
+
? (0, renderBackwardButton_1.renderBackwardButton)(backwardButton, !rest.version || rest.version === 'primary' ? 'primary' : 'white')
|
|
11
|
+
: null, (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { className: "grow", ...rest })] })));
|
|
17
12
|
//# sourceMappingURL=ProductBlock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"ProductBlock.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,6CAA0C;AAE1C,2DAAwD;AACxD,iEAA8D;AAIjD,QAAA,YAAY,GAAG,IAAA,aAAG,EAAoB,CAAC,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC7F,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,2DAA2D,EAAE,SAAS,CAAC,KACpF,IAAI,aAEP,cAAc,EAAE,IAAI;YACnB,CAAC,CAAC,IAAA,2CAAoB,EAClB,cAAc,EACd,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAClE;YACH,CAAC,CAAC,IAAI,EACR,uBAAC,qCAAiB,IAAC,SAAS,EAAC,MAAM,KAAK,IAAI,GAAI,IACnC,CAChB,CAAC,CAAC"}
|
|
@@ -2,18 +2,12 @@ import type { BulletsProps } from '../../model/Bullets';
|
|
|
2
2
|
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { IconVersion } from '../../model/IconVersion';
|
|
4
4
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
|
-
import type { LinkProps } from '../../model/LinkProps';
|
|
6
5
|
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
7
6
|
import type { BackwardButtonProps, ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
8
7
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
9
8
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
10
9
|
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
11
10
|
export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & ListContent & ButtonContent & ImageContent & BulletsProps & {
|
|
12
|
-
/**
|
|
13
|
-
* @title Количество преимуществ в строке
|
|
14
|
-
* @enumNames ["2", "3"]
|
|
15
|
-
*/
|
|
16
|
-
benefitsCountOfRow?: 2 | 3;
|
|
17
11
|
/**
|
|
18
12
|
* @title Список преимуществ
|
|
19
13
|
* @minItems 2
|
|
@@ -23,11 +17,6 @@ export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & L
|
|
|
23
17
|
benefitsVersion?: IconVersion;
|
|
24
18
|
/** @title Лейбл (моб.) */
|
|
25
19
|
label?: string;
|
|
26
|
-
/**
|
|
27
|
-
* @title Стиль для текстовой части
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
textBlockClassName?: string;
|
|
31
20
|
/** @title Картинка справа/текст слева */
|
|
32
21
|
directionRight?: boolean;
|
|
33
22
|
};
|
|
@@ -35,8 +24,6 @@ export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & L
|
|
|
35
24
|
* @title Продуктовый блок
|
|
36
25
|
*/
|
|
37
26
|
export declare type ProductBlockContent = UniBlockContent & ProductBlockInnerContent & {
|
|
38
|
-
/** @title Хлебные крошки */
|
|
39
|
-
breadcrumbs?: LinkProps[];
|
|
40
27
|
/** @title Кнопка возврата */
|
|
41
28
|
backwardButton?: BackwardButtonProps;
|
|
42
29
|
};
|
|
@@ -6,16 +6,12 @@ const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection
|
|
|
6
6
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
7
7
|
const List_1 = require("../../ui-kit/List/List");
|
|
8
8
|
const RichText_1 = require("../../ui-kit/RichText/RichText");
|
|
9
|
-
const style_1 = require("../../utils/style");
|
|
10
9
|
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
11
10
|
const Headline_1 = require("../Headline/Headline");
|
|
12
11
|
const renderBenefit_1 = require("./renderBenefit");
|
|
13
|
-
exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className = '',
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
return ((0, jsx_runtime_1.jsxs)(
|
|
12
|
+
exports.ProductBlockInner = (0, uni_jsx_1.JSX)(({ className, version = 'primary', headlineVersion = 'L', title, description, benefits, benefitsVersion, items, isDotted = true, __html, buttons, image, directionRight = true, }) => {
|
|
13
|
+
const benefitsWithLabel = benefits?.filter((_) => _.label);
|
|
14
|
+
const img = image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "mt-[-50px]", image: image }) : null;
|
|
15
|
+
return ((0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { className: className, insetTitle: (0, jsx_runtime_1.jsx)(Headline_1.Headline, { className: "max-w-[600px] xl:max-w-[800px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left", isPadding: false }), ...(directionRight ? { rightImage: img } : { leftImage: img }), buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons), children: [benefitsWithLabel?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-wrap gap-6", children: benefitsWithLabel.map((0, renderBenefit_1.renderBenefit)(version, benefitsVersion)) })) : null, __html ? ((0, jsx_runtime_1.jsx)("div", { className: "mt-5", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) })) : null, items?.length ? (0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-5", items: items, isDotted: isDotted }) : null] }));
|
|
17
16
|
});
|
|
18
|
-
const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
|
|
19
|
-
? 'inline-grid grid-cols-[auto_auto_auto]'
|
|
20
|
-
: 'inline-grid grid-cols-[auto_auto]'}`;
|
|
21
17
|
//# sourceMappingURL=ProductBlockInner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,6DAA0D;AAC1D,
|
|
1
|
+
{"version":3,"file":"ProductBlockInner.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/ProductBlockInner.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,mFAAgF;AAChF,8CAA2C;AAC3C,iDAA8C;AAC9C,6DAA0D;AAC1D,mDAAgD;AAChD,mDAAgD;AAEhD,mDAAgD;AAInC,QAAA,iBAAiB,GAAG,IAAA,aAAG,EAClC,CAAC,EACC,SAAS,EACT,OAAO,GAAG,SAAS,EACnB,eAAe,GAAG,GAAG,EACrB,KAAK,EACL,WAAW,EACX,QAAQ,EACR,eAAe,EACf,KAAK,EACL,QAAQ,GAAG,IAAI,EACf,MAAM,EACN,OAAO,EACP,KAAK,EACL,cAAc,GAAG,IAAI,GACtB,EAAE,EAAE;IACH,MAAM,iBAAiB,GAAG,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;IAC3D,MAAM,GAAG,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAE7E,OAAO,CACL,wBAAC,mBAAQ,IACP,SAAS,EAAE,SAAS,EACpB,UAAU,EACR,uBAAC,mBAAQ,IACP,SAAS,EAAC,gCAAgC,EAC1C,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAC,WAAW,EACjB,SAAS,EAAE,KAAK,GAChB,KAEA,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,UAAU,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,CAAC,EAC/D,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,CAAC,aAErC,iBAAiB,EAAE,MAAM,CAAC,CAAC,CAAC,CAC3B,gCAAK,SAAS,EAAC,sBAAsB,YAClC,iBAAiB,CAAC,GAAG,CAAC,IAAA,6BAAa,EAAC,OAAO,EAAE,eAAe,CAAC,CAAC,GAC3D,CACP,CAAC,CAAC,CAAC,IAAI,EACP,MAAM,CAAC,CAAC,CAAC,CACR,gCAAK,SAAS,EAAC,MAAM,YACnB,uBAAC,mBAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,GACxB,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,GAAI,CAAC,CAAC,CAAC,IAAI,IAC1E,CACZ,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
3
3
|
import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
|
-
export declare function renderBackwardButton(
|
|
4
|
+
export declare function renderBackwardButton({ text, href, target, icon }: BackwardButtonProps, version: ButtonVersion): JSX.Element;
|
|
@@ -3,12 +3,14 @@ exports.renderBackwardButton = void 0;
|
|
|
3
3
|
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
|
-
|
|
7
|
-
function renderBackwardButton(button, version, className) {
|
|
8
|
-
const { text, href, target } = button;
|
|
6
|
+
function renderBackwardButton({ text, href, target, icon }, version) {
|
|
9
7
|
const iconVersion = version === 'primary' ? 'white' : 'black';
|
|
10
|
-
const
|
|
11
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className:
|
|
8
|
+
const commonProps = { text, href, target, ariaLabel: text };
|
|
9
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center gap-3", children: [(0, jsx_runtime_1.jsx)(Button_1.Button, { className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center", version: version, rounded: true, ...commonProps, children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-4 h-4", image: {
|
|
10
|
+
...icon,
|
|
11
|
+
icon: icon?.icon || 'ArrowLeftIcon',
|
|
12
|
+
iconVersion: icon?.iconVersion || iconVersion,
|
|
13
|
+
} }) }), (0, jsx_runtime_1.jsx)(Button_1.Button, { version: "link", ...commonProps })] }));
|
|
12
14
|
}
|
|
13
15
|
exports.renderBackwardButton = renderBackwardButton;
|
|
14
16
|
//# sourceMappingURL=renderBackwardButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBackwardButton.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBackwardButton.tsx"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,8CAA2C;
|
|
1
|
+
{"version":3,"file":"renderBackwardButton.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBackwardButton.tsx"],"names":[],"mappings":";;;AACA,uDAAoD;AAEpD,8CAA2C;AAE3C,SAAgB,oBAAoB,CAClC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAuB,EACjD,OAAsB;IAEtB,MAAM,WAAW,GAAG,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAC9D,MAAM,WAAW,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;IAE5D,OAAO,CACL,iCAAK,SAAS,EAAC,yBAAyB,aACtC,uBAAC,eAAM,IACL,SAAS,EAAC,8DAA8D,EACxE,OAAO,EAAE,OAAO,EAChB,OAAO,WACH,WAAW,YAEf,uBAAC,SAAG,IACF,SAAS,EAAC,SAAS,EACnB,KAAK,EAAE;wBACL,GAAG,IAAI;wBACP,IAAI,EAAE,IAAI,EAAE,IAAI,IAAI,eAAe;wBACnC,WAAW,EAAE,IAAI,EAAE,WAAW,IAAI,WAAW;qBAC9C,GACD,GACK,EACT,uBAAC,eAAM,IAAC,OAAO,EAAC,MAAM,KAAK,WAAW,GAAI,IACtC,CACP,CAAC;AACJ,CAAC;AA3BD,oDA2BC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
-
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
4
3
|
import type { IconVersion } from '../../model/IconVersion';
|
|
5
|
-
|
|
4
|
+
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
5
|
+
export declare const renderBenefit: (version?: BlockVersion, benefitsVersion?: IconVersion) => (props: BenefitItemProps, i: number) => JSX.Element;
|
|
@@ -2,6 +2,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.renderBenefit = void 0;
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const BenefitItem_1 = require("../../ui-kit/BenefitItem/BenefitItem");
|
|
5
|
-
const renderBenefit = (version = 'primary', benefitsVersion = 'normal') => (
|
|
5
|
+
const renderBenefit = (version = 'primary', benefitsVersion = 'normal') => (props, i) => (0, jsx_runtime_1.jsx)(BenefitItem_1.BenefitItem, { version: version, benefitsVersion: benefitsVersion, ...props }, String(i));
|
|
6
6
|
exports.renderBenefit = renderBenefit;
|
|
7
7
|
//# sourceMappingURL=renderBenefit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBenefit.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBenefit.tsx"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"renderBenefit.js","sourceRoot":"","sources":["../../../src/components/ProductBlock/renderBenefit.tsx"],"names":[],"mappings":";;;AAEA,sEAAmE;AAG5D,MAAM,aAAa,GACxB,CAAC,UAAwB,SAAS,EAAE,kBAA+B,QAAQ,EAAE,EAAE,CAC/E,CAAC,KAAuB,EAAE,CAAS,EAAE,EAAE,CACrC,uBAAC,yBAAW,IAAiB,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,eAAe,KAAM,KAAK,IAAxE,MAAM,CAAC,CAAC,CAAC,CAAmE,CAAC;AAHtF,QAAA,aAAa,iBAGyE"}
|
|
@@ -4,32 +4,23 @@ 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
6
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
+
const style_1 = require("../../utils/style");
|
|
7
8
|
const ProductBlockInner_1 = require("../ProductBlock/ProductBlockInner");
|
|
8
9
|
exports.ProductGallery = (0, uni_jsx_1.JSX)(({ className = '', slides = [], ...rest }) => {
|
|
9
|
-
const galleryNav = slides.map((s) => s.nav);
|
|
10
|
-
const galleryBlocks = slides.map((s) => s.productBlock);
|
|
11
10
|
const [activeSlideIndex, setActiveSlideIndex] = (0, hooks_1.useState)(0);
|
|
12
|
-
|
|
13
|
-
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: `box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`, ...rest, children: [(0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest }, i)) }), (0, jsx_runtime_1.jsx)("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
|
|
14
|
-
slide,
|
|
15
|
-
i,
|
|
16
|
-
isActive: Boolean(i === activeSlideIndex),
|
|
17
|
-
onClick: () => handleActiveSlideIndex(i),
|
|
18
|
-
})) })] }));
|
|
11
|
+
return ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('box-border py-default overflow-hidden', className), ...rest, children: [(0, jsx_runtime_1.jsx)("div", { className: "flex duration-1000", style: { transform: `translateX(-${activeSlideIndex * 100}%)` }, role: "list", children: slides.map(({ productBlock }, i) => ((0, jsx_runtime_1.jsx)("div", { className: "box-border grow-0 shrink-0 basis-full", role: "listitem", children: (0, jsx_runtime_1.jsx)(ProductBlockInner_1.ProductBlockInner, { className: "pl-default h-full", headlineVersion: "XXL", ...productBlock, ...rest }) }, String(i)))) }), (0, jsx_runtime_1.jsx)("div", { className: "h-28 px-6 mt-6 -mb-6 flex items-center gap-2 box-border", children: slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex })) })] }));
|
|
19
12
|
});
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
function renderNavButton({ slide, i, isActive, onClick }) {
|
|
13
|
+
const renderNavButton = ({ activeSlideIndex, onClick }) => ({ nav }, i) => {
|
|
14
|
+
const isActive = i === activeSlideIndex;
|
|
24
15
|
const btnClassName = isActive
|
|
25
|
-
? 'bg-white shadow-dark-blue
|
|
26
|
-
: 'min-w-[290px]
|
|
16
|
+
? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
|
|
17
|
+
: 'min-w-[290px] ease-in duration-300 bg-white/10 px-6 py-5 hover:py-6 backdrop-blur';
|
|
27
18
|
const btnTitleClassName = isActive
|
|
28
|
-
? 'text-primary-text
|
|
19
|
+
? 'text-primary-text text-h6 py-2'
|
|
29
20
|
: 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
|
|
30
21
|
const btnDescClassName = isActive
|
|
31
22
|
? 'text-secondary-text text-l-light'
|
|
32
23
|
: 'text-m-light text-secondary-text group-data-secondary:text-white/80';
|
|
33
|
-
return ((0, jsx_runtime_1.
|
|
34
|
-
}
|
|
24
|
+
return ((0, jsx_runtime_1.jsxs)("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: (0, style_1.style)('relative px-6 box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50', btnClassName), children: [(0, jsx_runtime_1.jsx)("div", { className: btnTitleClassName, children: nav?.title }), (0, jsx_runtime_1.jsx)("div", { className: btnDescClassName, children: nav?.description })] }, String(i)));
|
|
25
|
+
};
|
|
35
26
|
//# sourceMappingURL=ProductGallery.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,
|
|
1
|
+
{"version":3,"file":"ProductGallery.js","sourceRoot":"","sources":["../../../src/components/ProductGallery/ProductGallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAEvD,4DAAyD;AACzD,6CAA0C;AAC1C,yEAAsE;AAKzD,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC3C,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,IAAA,gBAAQ,EAAC,CAAC,CAAC,CAAC;IAE5D,OAAO,CACL,wBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,uCAAuC,EAAE,SAAS,CAAC,KAAM,IAAI,aAC1F,gCACE,SAAS,EAAC,oBAAoB,EAC9B,KAAK,EAAE,EAAE,SAAS,EAAE,eAAe,gBAAgB,GAAG,GAAG,IAAI,EAAE,EAC/D,IAAI,EAAC,MAAM,YAEV,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,YAAY,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CACnC,gCAAqB,SAAS,EAAC,uCAAuC,EAAC,IAAI,EAAC,UAAU,YACpF,uBAAC,qCAAiB,IAChB,SAAS,EAAC,mBAAmB,EAC7B,eAAe,EAAC,KAAK,KACjB,YAAY,KACZ,IAAI,GACR,IANM,MAAM,CAAC,CAAC,CAAC,CAOb,CACP,CAAC,GACE,EACN,gCAAK,SAAS,EAAC,yDAAyD,YACrE,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,EAAE,gBAAgB,EAAE,OAAO,EAAE,mBAAmB,EAAE,CAAC,CAAC,GAC5E,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAOF,MAAM,eAAe,GACnB,CAAC,EAAE,gBAAgB,EAAE,OAAO,EAAkB,EAAE,EAAE,CAClD,CAAC,EAAE,GAAG,EAAgB,EAAE,CAAS,EAAE,EAAE;IACnC,MAAM,QAAQ,GAAG,CAAC,KAAK,gBAAgB,CAAC;IACxC,MAAM,YAAY,GAAG,QAAQ;QAC3B,CAAC,CAAC,yDAAyD;QAC3D,CAAC,CAAC,mFAAmF,CAAC;IACxF,MAAM,iBAAiB,GAAG,QAAQ;QAChC,CAAC,CAAC,gCAAgC;QAClC,CAAC,CAAC,iEAAiE,CAAC;IACtE,MAAM,gBAAgB,GAAG,QAAQ;QAC/B,CAAC,CAAC,kCAAkC;QACpC,CAAC,CAAC,qEAAqE,CAAC;IAE1E,OAAO,CACL,oCACE,IAAI,EAAC,QAAQ,EAEb,OAAO,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC,gBACb,GAAG,EAAE,KAAK,EACtB,SAAS,EAAE,IAAA,aAAK,EACd,yHAAyH,EACzH,YAAY,CACb,aAED,gCAAK,SAAS,EAAE,iBAAiB,YAAG,GAAG,EAAE,KAAK,GAAO,EACrD,gCAAK,SAAS,EAAE,gBAAgB,YAAG,GAAG,EAAE,WAAW,GAAO,KATrD,MAAM,CAAC,CAAC,CAAC,CAUP,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -8,18 +8,33 @@ const DefaultFoldButton_1 = require("../../ui-kit/Foldable/DefaultFoldButton");
|
|
|
8
8
|
const Foldable_1 = require("../../ui-kit/Foldable/Foldable");
|
|
9
9
|
const FoldableSection_1 = require("../../ui-kit/Foldable/FoldableSection");
|
|
10
10
|
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
11
|
+
const RoundedIcon_1 = require("../../ui-kit/Icon/RoundedIcon");
|
|
11
12
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
12
|
-
|
|
13
|
+
const style_1 = require("../../utils/style");
|
|
14
|
+
const foldableSectionStyles_1 = require("./foldableSectionStyles");
|
|
15
|
+
const getIconName_1 = require("./getIconName");
|
|
16
|
+
const labelSize_1 = require("./labelSize");
|
|
17
|
+
const rollupIconVersion_1 = require("./rollupIconVersion");
|
|
18
|
+
const rollupItemStyles_1 = require("./rollupItemStyles");
|
|
19
|
+
exports.RollupItem = (0, uni_jsx_1.JSX)(({ className = '', label = 'Развернуть', labelIcon, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
|
|
20
|
+
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('w-full', rollupItemStyles_1.rollupItemStyles, className), tag: "div", version: "transparent", ...rest, children: (0, jsx_runtime_1.jsx)(Foldable_1.Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => ((0, jsx_runtime_1.jsx)(FoldableSection_1.FoldableSection, { className: (0, style_1.style)('gap-5 [&>*]:p-0', foldableSectionStyles_1.foldableSectionStyles), isUnfolded: isUnfolded, children: (0, renderChildren_1.renderChildren)(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, labelIcon, isUnfolded, onToggle }) }) }));
|
|
21
|
+
});
|
|
13
22
|
exports.RollupItem.childrenTypes = {
|
|
14
23
|
exclude: ['RollupItem'],
|
|
15
24
|
};
|
|
16
|
-
const renderFoldButton = ({ version, label: defaultLabel, isUnfolded, onToggle, }) => {
|
|
25
|
+
const renderFoldButton = ({ version, label: defaultLabel, labelIcon, isUnfolded, onToggle, }) => {
|
|
17
26
|
const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
|
|
18
27
|
return version === 'primary' ? (renderPrimaryFoldButton({
|
|
19
28
|
label,
|
|
20
|
-
|
|
29
|
+
labelIcon,
|
|
30
|
+
icon: (0, getIconName_1.getIconName)(isUnfolded),
|
|
21
31
|
onToggle,
|
|
22
32
|
})) : ((0, jsx_runtime_1.jsx)(DefaultFoldButton_1.DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
|
|
23
33
|
};
|
|
24
|
-
const renderPrimaryFoldButton = ({ label, icon, onToggle
|
|
34
|
+
const renderPrimaryFoldButton = ({ label, icon, onToggle, labelIcon }) => {
|
|
35
|
+
const iconWidth = String(labelIcon?.size?.width || 24);
|
|
36
|
+
const iconHeight = String(labelIcon?.size?.height || 24);
|
|
37
|
+
const iconName = labelIcon?.icon;
|
|
38
|
+
return ((0, jsx_runtime_1.jsxs)("button", { className: (0, style_1.style)('border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button', iconName ? 'py-2' : 'py-5'), onClick: onToggle, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-center group-hover/button:text-primary-main", children: [iconName ? ((0, jsx_runtime_1.jsx)(RoundedIcon_1.RoundedIcon, { name: iconName, width: iconWidth, height: iconHeight, iconVersion: labelIcon?.iconVersion })) : null, label ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: labelSize_1.labelSize, font: "font-normal", children: label })) : null] }), icon ? (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, iconVersion: rollupIconVersion_1.rollupIconVersion, width: "24", height: "24" }) : null] }));
|
|
39
|
+
};
|
|
25
40
|
//# sourceMappingURL=RollupItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;
|
|
1
|
+
{"version":3,"file":"RollupItem.js","sourceRoot":"","sources":["../../../src/components/RollupItem/RollupItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uEAAoE;AAIpE,4DAAyD;AACzD,+EAA4E;AAC5E,6DAA0D;AAE1D,2EAAwE;AACxE,iDAA8C;AAE9C,+DAA4D;AAC5D,iDAA8C;AAC9C,6CAA0C;AAC1C,mEAAgE;AAChE,+CAA4C;AAC5C,2CAAwC;AACxC,2DAAwD;AAExD,yDAAsD;AAIzC,QAAA,UAAU,GAA8B,IAAA,aAAG,EACtD,CAAC,EACC,SAAS,GAAG,EAAE,EACd,KAAK,GAAG,YAAY,EACpB,SAAS,EACT,UAAU,EACV,iBAAiB,GAAG,IAAI,EACxB,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,QAAQ,EAAE,mCAAgB,EAAE,SAAS,CAAC,EACvD,GAAG,EAAC,KAAK,EACT,OAAO,EAAC,aAAa,KACjB,IAAI,YAER,uBAAC,mBAAQ,IACP,iBAAiB,EAAE,iBAAiB,EACpC,iBAAiB,EAAE,UAAU,EAC7B,qBAAqB,EAAE,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,CACzC,uBAAC,iCAAe,IACd,SAAS,EAAE,IAAA,aAAK,EAAC,iBAAiB,EAAE,6CAAqB,CAAC,EAC1D,UAAU,EAAE,UAAU,YAErB,IAAA,+BAAc,EAAC,IAAI,CAAC,GACL,CACnB,EACD,gBAAgB,EAAE,CAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,EAAE,EAAE,CAC7C,gBAAgB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,QAAQ,EAAE,CAAC,GAEvE,GACW,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,kBAAU,CAAC,aAAa,GAAG;IACzB,OAAO,EAAE,CAAC,YAAY,CAAC;CACxB,CAAC;AASF,MAAM,gBAAgB,GAAG,CAAC,EACxB,OAAO,EACP,KAAK,EAAE,YAAY,EACnB,SAAS,EACT,UAAU,EACV,QAAQ,GACQ,EAAE,EAAE;IACpB,MAAM,KAAK,GAAG,YAAY,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC;IAErE,OAAO,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,CAC7B,uBAAuB,CAAC;QACtB,KAAK;QACL,SAAS;QACT,IAAI,EAAE,IAAA,yBAAW,EAAC,UAAU,CAAC;QAC7B,QAAQ;KACT,CAAC,CACH,CAAC,CAAC,CAAC,CACF,uBAAC,qCAAiB,IAChB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,eAAe,EAClD,OAAO,EAAE,QAAQ,GACjB,CACH,CAAC;AACJ,CAAC,CAAC;AASF,MAAM,uBAAuB,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAA0B,EAAE,EAAE;IAC/F,MAAM,SAAS,GAAG,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC;IACvD,MAAM,UAAU,GAAG,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,MAAM,IAAI,EAAE,CAAC,CAAC;IACzD,MAAM,QAAQ,GAAG,SAAS,EAAE,IAAI,CAAC;IAEjC,OAAO,CACL,oCACE,SAAS,EAAE,IAAA,aAAK,EACd,sGAAsG,EACtG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAC3B,EACD,OAAO,EAAE,QAAQ,aAEjB,iCAAK,SAAS,EAAC,wDAAwD,aACpE,QAAQ,CAAC,CAAC,CAAC,CACV,uBAAC,yBAAW,IACV,IAAI,EAAE,QAAQ,EACd,KAAK,EAAE,SAAS,EAChB,MAAM,EAAE,UAAU,EAClB,WAAW,EAAE,SAAS,EAAE,WAAW,GACnC,CACH,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,WAAI,IAAC,IAAI,EAAE,qBAAS,EAAE,IAAI,EAAC,aAAa,YACtC,KAAK,GACD,CACR,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,IAAI,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,qCAAiB,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,IACnF,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { LabelProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
+
import type { IconProps } from '../../ui-kit/Icon/IconProps';
|
|
3
4
|
/**
|
|
4
5
|
* @title Сворачивающаяся секция
|
|
5
6
|
*/
|
|
@@ -8,4 +9,5 @@ export declare type RollupItemContent = UniBlockContent & LabelProps & {
|
|
|
8
9
|
isExpanded?: boolean;
|
|
9
10
|
/** @title Кнопка сверху */
|
|
10
11
|
isFoldButtonOnTop?: boolean;
|
|
12
|
+
labelIcon?: IconProps;
|
|
11
13
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const foldableSectionStyles = "grid grid-cols-12 [&>*]:pb-4";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"foldableSectionStyles.js","sourceRoot":"","sources":["../../../src/components/RollupItem/foldableSectionStyles.ts"],"names":[],"mappings":";;AAAa,QAAA,qBAAqB,GAAG,8BAA8B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const foldableSectionStyles = "flex flex-wrap group-last:last:pb-0";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"foldableSectionStyles.mobile.js","sourceRoot":"","sources":["../../../src/components/RollupItem/foldableSectionStyles.mobile.ts"],"names":[],"mappings":";;AAAa,QAAA,qBAAqB,GAAG,qCAAqC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getIconName: (isUnfolded?: boolean) => "MinusIcon" | "PlusIcon";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIconName.js","sourceRoot":"","sources":["../../../src/components/RollupItem/getIconName.tsx"],"names":[],"mappings":";;AAAO,MAAM,WAAW,GAAG,CAAC,UAAoB,EAAE,EAAE,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;AAAhF,QAAA,WAAW,eAAqE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getIconName: (isUnfolded?: boolean) => "ArrowDownSolidIcon" | "ArrowUpSolidIcon";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
+
exports.getIconName = void 0;
|
|
3
|
+
const getIconName = (isUnfolded) => isUnfolded ? 'ArrowUpSolidIcon' : 'ArrowDownSolidIcon';
|
|
4
|
+
exports.getIconName = getIconName;
|
|
5
|
+
//# sourceMappingURL=getIconName.mobile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getIconName.mobile.js","sourceRoot":"","sources":["../../../src/components/RollupItem/getIconName.mobile.tsx"],"names":[],"mappings":";;AAAO,MAAM,WAAW,GAAG,CAAC,UAAoB,EAAE,EAAE,CAClD,UAAU,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,oBAAoB,CAAC;AAD5C,QAAA,WAAW,eACiC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const labelSize = "text-h6";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labelSize.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.tsx"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const labelSize = "text-l";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labelSize.mobile.js","sourceRoot":"","sources":["../../../src/components/RollupItem/labelSize.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,SAAS,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rollupIconVersion = "color";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rollupIconVersion.js","sourceRoot":"","sources":["../../../src/components/RollupItem/rollupIconVersion.tsx"],"names":[],"mappings":";;AAAa,QAAA,iBAAiB,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rollupIconVersion = "normal";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rollupIconVersion.mobile.js","sourceRoot":"","sources":["../../../src/components/RollupItem/rollupIconVersion.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,iBAAiB,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rollupItemStyles = "border-0 border-b border-solid border-main-divider last:border-b-0";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rollupItemStyles.js","sourceRoot":"","sources":["../../../src/components/RollupItem/rollupItemStyles.ts"],"names":[],"mappings":";;AAAa,QAAA,gBAAgB,GAC3B,oEAAoE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rollupItemStyles = "";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rollupItemStyles.mobile.js","sourceRoot":"","sources":["../../../src/components/RollupItem/rollupItemStyles.mobile.ts"],"names":[],"mappings":";;AAAa,QAAA,gBAAgB,GAAG,EAAE,CAAC"}
|
|
@@ -9,12 +9,12 @@ const Img_1 = require("../../ui-kit/Img/Img");
|
|
|
9
9
|
const List_1 = require("../../ui-kit/List/List");
|
|
10
10
|
const RichText_1 = require("../../ui-kit/RichText/RichText");
|
|
11
11
|
const Tags_1 = require("../../ui-kit/Tags/Tags");
|
|
12
|
+
const style_1 = require("../../utils/style");
|
|
12
13
|
const BaseTile_1 = require("../BaseTile/BaseTile");
|
|
13
14
|
const getTileMinHeight_1 = require("../BaseTile/getTileMinHeight");
|
|
14
15
|
const getTileRightPadding_1 = require("../BaseTile/getTileRightPadding");
|
|
15
|
-
const style_1 = require("../../utils/style");
|
|
16
16
|
exports.Tile = (0, uni_jsx_1.JSX)(({ title, headingType = 'h3', __html, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', tags, children, directionRight = true, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex grow justify-between items-stretch h-full p-9 pr-3 box-border', (0, getTileRightPadding_1.getTileRightPadding)(className), (0, getTileMinHeight_1.getTileMinHeight)(className), className), ...rest, children: [image?.src ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: (0, style_1.style)('mt-auto ml-7', directionRight ? 'order-2' : ''), image: image })) : null, (0, jsx_runtime_1.jsx)(BaseTile_1.BaseTile, { title: title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons, {
|
|
17
17
|
className: 'mt-8',
|
|
18
18
|
buttonClassName: 'min-w-[158px]',
|
|
19
|
-
}), children: (0, jsx_runtime_1.jsxs)("div", { children: [__html ? ((0, jsx_runtime_1.jsx)("div", { className: "max-w-[600px] mt-2.5", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) })) : null, children, (0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-2.5",
|
|
19
|
+
}), children: (0, jsx_runtime_1.jsxs)("div", { children: [__html ? ((0, jsx_runtime_1.jsx)("div", { className: "max-w-[600px] mt-2.5", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) })) : null, children, (0, jsx_runtime_1.jsx)(List_1.List, { className: "mt-2.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? (0, jsx_runtime_1.jsx)(Tags_1.Tags, { tags: tags, className: "mt-5" }) : null] }) })] })));
|
|
20
20
|
//# sourceMappingURL=Tile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,mFAAgF;AAChF,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,6DAA0D;AAC1D,iDAA8C;AAC9C,mDAAgD;AAChD,mEAAgE;AAChE,yEAAsE;
|
|
1
|
+
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,mFAAgF;AAChF,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,6DAA0D;AAC1D,iDAA8C;AAC9C,6CAA0C;AAC1C,mDAAgD;AAChD,mEAAgE;AAChE,yEAAsE;AAKzD,QAAA,IAAI,GAAG,IAAA,aAAG,EACrB,CAAC,EACC,KAAK,EACL,WAAW,GAAG,IAAI,EAClB,MAAM,EACN,KAAK,EACL,OAAO,EACP,KAAK,EACL,QAAQ,GAAG,IAAI,EACf,YAAY,GAAG,GAAG,EAClB,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,QAAQ,EACR,cAAc,GAAG,IAAI,EACrB,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,wBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EACd,oEAAoE,EACpE,IAAA,yCAAmB,EAAC,SAAS,CAAC,EAC9B,IAAA,mCAAgB,EAAC,SAAS,CAAC,EAC3B,SAAS,CACV,KACG,IAAI,aAEP,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACZ,uBAAC,SAAG,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,cAAc,EAAE,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,GAAI,CACzF,CAAC,CAAC,CAAC,IAAI,EACR,uBAAC,mBAAQ,IACP,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,uBAAC,iBAAO,IACN,WAAW,EAAE,WAAW,EACxB,EAAE,EAAC,IAAI,EACP,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,mCAAmC,GAC9C,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,EAAE;gBACrC,SAAS,EAAE,MAAM;gBACjB,eAAe,EAAE,eAAe;aACjC,CAAC,YAEF,4CACG,MAAM,CAAC,CAAC,CAAC,CACR,gCAAK,SAAS,EAAC,sBAAsB,YACnC,uBAAC,mBAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,GACxB,CACP,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,EACT,uBAAC,WAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,GAAI,EACxF,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAC,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,IACxD,GACG,IACE,CAChB,CACF,CAAC"}
|