@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,18 +1,24 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { renderChildren } from '../../BlockRenderer/renderChildren';
|
|
3
|
-
import type {
|
|
4
|
-
import { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
5
4
|
import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
|
|
6
|
-
import { Picture } from '../../model/Picture';
|
|
5
|
+
import type { Picture } from '../../model/Picture';
|
|
7
6
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
8
7
|
import { DefaultFoldButton } from '../../ui-kit/Foldable/DefaultFoldButton';
|
|
9
8
|
import { Foldable } from '../../ui-kit/Foldable/Foldable';
|
|
10
9
|
import type { FoldablePartProps } from '../../ui-kit/Foldable/FoldablePartProps';
|
|
11
10
|
import { FoldableSection } from '../../ui-kit/Foldable/FoldableSection';
|
|
12
|
-
import {
|
|
11
|
+
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
12
|
+
import type { IconName, IconProps } from '../../ui-kit/Icon/IconProps';
|
|
13
|
+
import { RoundedIcon } from '../../ui-kit/Icon/RoundedIcon';
|
|
13
14
|
import { Text } from '../../ui-kit/Text/Text';
|
|
14
15
|
import { style } from '../../utils/style';
|
|
16
|
+
import { foldableSectionStyles } from './foldableSectionStyles';
|
|
17
|
+
import { getIconName } from './getIconName';
|
|
18
|
+
import { labelSize } from './labelSize';
|
|
19
|
+
import { rollupIconVersion } from './rollupIconVersion';
|
|
15
20
|
import type { RollupItemContent } from './RollupItemContent';
|
|
21
|
+
import { rollupItemStyles } from './rollupItemStyles';
|
|
16
22
|
|
|
17
23
|
export interface RollupItemProps extends RollupItemContent, UniBlockProps {}
|
|
18
24
|
|
|
@@ -20,6 +26,7 @@ export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
|
|
|
20
26
|
({
|
|
21
27
|
className = '',
|
|
22
28
|
label = 'Развернуть',
|
|
29
|
+
labelIcon,
|
|
23
30
|
isExpanded,
|
|
24
31
|
isFoldButtonOnTop = true,
|
|
25
32
|
version = 'primary',
|
|
@@ -27,7 +34,7 @@ export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
|
|
|
27
34
|
}) => {
|
|
28
35
|
return (
|
|
29
36
|
<BlockWrapper
|
|
30
|
-
className={style('
|
|
37
|
+
className={style('w-full', rollupItemStyles, className)}
|
|
31
38
|
tag="div"
|
|
32
39
|
version="transparent"
|
|
33
40
|
{...rest}
|
|
@@ -37,14 +44,14 @@ export const RollupItem: JSXBlock<RollupItemProps> = JSX<RollupItemProps>(
|
|
|
37
44
|
unfoldedByDefault={isExpanded}
|
|
38
45
|
renderFoldableSection={({ isUnfolded }) => (
|
|
39
46
|
<FoldableSection
|
|
40
|
-
className=
|
|
47
|
+
className={style('gap-5 [&>*]:p-0', foldableSectionStyles)}
|
|
41
48
|
isUnfolded={isUnfolded}
|
|
42
49
|
>
|
|
43
50
|
{renderChildren(rest)}
|
|
44
51
|
</FoldableSection>
|
|
45
52
|
)}
|
|
46
53
|
renderFoldButton={({ isUnfolded, onToggle }) =>
|
|
47
|
-
renderFoldButton({ version, label, isUnfolded, onToggle })
|
|
54
|
+
renderFoldButton({ version, label, labelIcon, isUnfolded, onToggle })
|
|
48
55
|
}
|
|
49
56
|
/>
|
|
50
57
|
</BlockWrapper>
|
|
@@ -59,27 +66,25 @@ RollupItem.childrenTypes = {
|
|
|
59
66
|
interface FoldButtonProps extends FoldablePartProps {
|
|
60
67
|
version?: BlockVersion;
|
|
61
68
|
label?: string;
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
labelIcon?: IconProps;
|
|
70
|
+
isPadding?: boolean;
|
|
64
71
|
}
|
|
65
72
|
|
|
66
73
|
const renderFoldButton = ({
|
|
67
74
|
version,
|
|
68
75
|
label: defaultLabel,
|
|
76
|
+
labelIcon,
|
|
69
77
|
isUnfolded,
|
|
70
78
|
onToggle,
|
|
71
|
-
className = '',
|
|
72
|
-
primaryIcon,
|
|
73
79
|
}: FoldButtonProps) => {
|
|
74
80
|
const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
|
|
75
81
|
|
|
76
82
|
return version === 'primary' ? (
|
|
77
83
|
renderPrimaryFoldButton({
|
|
78
84
|
label,
|
|
79
|
-
|
|
85
|
+
labelIcon,
|
|
86
|
+
icon: getIconName(isUnfolded),
|
|
80
87
|
onToggle,
|
|
81
|
-
className,
|
|
82
|
-
primaryIcon,
|
|
83
88
|
})
|
|
84
89
|
) : (
|
|
85
90
|
<DefaultFoldButton
|
|
@@ -93,30 +98,39 @@ const renderFoldButton = ({
|
|
|
93
98
|
interface PrimaryFoldButtonProps {
|
|
94
99
|
label?: string;
|
|
95
100
|
icon?: IconName;
|
|
96
|
-
primaryIcon?: Picture;
|
|
97
101
|
onToggle?: () => void;
|
|
98
|
-
|
|
99
|
-
className?: string;
|
|
102
|
+
labelIcon?: Picture;
|
|
100
103
|
}
|
|
101
104
|
|
|
102
|
-
const renderPrimaryFoldButton = ({
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
{
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
105
|
+
const renderPrimaryFoldButton = ({ label, icon, onToggle, labelIcon }: PrimaryFoldButtonProps) => {
|
|
106
|
+
const iconWidth = String(labelIcon?.size?.width || 24);
|
|
107
|
+
const iconHeight = String(labelIcon?.size?.height || 24);
|
|
108
|
+
const iconName = labelIcon?.icon;
|
|
109
|
+
|
|
110
|
+
return (
|
|
111
|
+
<button
|
|
112
|
+
className={style(
|
|
113
|
+
'border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button',
|
|
114
|
+
iconName ? 'py-2' : 'py-5',
|
|
115
|
+
)}
|
|
116
|
+
onClick={onToggle}
|
|
117
|
+
>
|
|
118
|
+
<div className="flex items-center group-hover/button:text-primary-main">
|
|
119
|
+
{iconName ? (
|
|
120
|
+
<RoundedIcon
|
|
121
|
+
name={iconName}
|
|
122
|
+
width={iconWidth}
|
|
123
|
+
height={iconHeight}
|
|
124
|
+
iconVersion={labelIcon?.iconVersion}
|
|
125
|
+
/>
|
|
126
|
+
) : null}
|
|
127
|
+
{label ? (
|
|
128
|
+
<Text size={labelSize} font="font-normal">
|
|
129
|
+
{label}
|
|
130
|
+
</Text>
|
|
131
|
+
) : null}
|
|
132
|
+
</div>
|
|
133
|
+
{icon ? <Icon name={icon} iconVersion={rollupIconVersion} width="24" height="24" /> : null}
|
|
134
|
+
</button>
|
|
135
|
+
);
|
|
136
|
+
};
|
|
@@ -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
|
/**
|
|
5
6
|
* @title Сворачивающаяся секция
|
|
@@ -10,4 +11,5 @@ export type RollupItemContent = UniBlockContent &
|
|
|
10
11
|
isExpanded?: boolean;
|
|
11
12
|
/** @title Кнопка сверху */
|
|
12
13
|
isFoldButtonOnTop?: boolean;
|
|
14
|
+
labelIcon?: IconProps; // TODO: только для мобильной версии
|
|
13
15
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const foldableSectionStyles = 'flex flex-wrap group-last:last:pb-0';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const labelSize = 'text-l';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const rollupIconVersion = 'normal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const rollupItemStyles = '';
|
|
@@ -7,11 +7,11 @@ import { Img } from '../../ui-kit/Img/Img';
|
|
|
7
7
|
import { List } from '../../ui-kit/List/List';
|
|
8
8
|
import { RichText } from '../../ui-kit/RichText/RichText';
|
|
9
9
|
import { Tags } from '../../ui-kit/Tags/Tags';
|
|
10
|
+
import { style } from '../../utils/style';
|
|
10
11
|
import { BaseTile } from '../BaseTile/BaseTile';
|
|
11
12
|
import { getTileMinHeight } from '../BaseTile/getTileMinHeight';
|
|
12
13
|
import { getTileRightPadding } from '../BaseTile/getTileRightPadding';
|
|
13
14
|
import type { TileContent } from './TileContent';
|
|
14
|
-
import { style } from '../../utils/style';
|
|
15
15
|
|
|
16
16
|
export interface TileProps extends TileContent, UniBlockProps {}
|
|
17
17
|
|
|
@@ -66,13 +66,7 @@ export const Tile = JSX<TileProps>(
|
|
|
66
66
|
</div>
|
|
67
67
|
) : null}
|
|
68
68
|
{children}
|
|
69
|
-
<List
|
|
70
|
-
className="mt-2.5"
|
|
71
|
-
itemClassName="mb-1.5"
|
|
72
|
-
items={items}
|
|
73
|
-
isDotted={isDotted}
|
|
74
|
-
listItemSize={listItemSize}
|
|
75
|
-
/>
|
|
69
|
+
<List className="mt-2.5" items={items} isDotted={isDotted} listItemSize={listItemSize} />
|
|
76
70
|
{tags?.length ? <Tags tags={tags} className="mt-5" /> : null}
|
|
77
71
|
</div>
|
|
78
72
|
</BaseTile>
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
2
3
|
import util from 'util';
|
|
3
4
|
import type { ContentPageDef } from '../model/ContentPageDef';
|
|
5
|
+
import { LinkProps } from '../model/LinkProps';
|
|
4
6
|
import type { Picture } from '../model/Picture';
|
|
5
7
|
import { mapJSON } from './mapJSON';
|
|
6
8
|
import type { TransformationOptions } from './TransformationOptions';
|
|
9
|
+
import { transformDocumentLink } from './transformDocumentLink';
|
|
7
10
|
import { transformHTML } from './transformHTML';
|
|
8
11
|
import { transformMarkdown } from './transformMarkdown';
|
|
9
12
|
import { transformPicture } from './transformPicture';
|
|
@@ -13,6 +16,8 @@ const writeFile = util.promisify(fs.writeFile);
|
|
|
13
16
|
|
|
14
17
|
const OUTPUT_SUFFIX = '.static';
|
|
15
18
|
|
|
19
|
+
const DOCUMENT_EXT_LIST = ['.txt', '.doc', '.docx', '.xls', '.xlsx', '.ppt', '.pptx', '.pdf'];
|
|
20
|
+
|
|
16
21
|
export async function transformContentPage(
|
|
17
22
|
pagePath: string,
|
|
18
23
|
options: TransformationOptions,
|
|
@@ -21,14 +26,13 @@ export async function transformContentPage(
|
|
|
21
26
|
|
|
22
27
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
23
28
|
const result = await mapJSON<ContentPageDef>(JSON.parse(content), async (value: any, [key]) => {
|
|
24
|
-
const isMarkdown = isString(value) && key?.endsWith('__md');
|
|
25
|
-
const isHTML = isString(value) && key?.endsWith('__html');
|
|
26
|
-
|
|
27
29
|
try {
|
|
28
|
-
if (isMarkdown) {
|
|
29
|
-
return await transformMarkdown(value);
|
|
30
|
-
} else if (isHTML) {
|
|
31
|
-
return await transformHTML(value);
|
|
30
|
+
if (isMarkdown(key, value)) {
|
|
31
|
+
return await transformMarkdown(value as string);
|
|
32
|
+
} else if (isHTML(key, value)) {
|
|
33
|
+
return await transformHTML(value as string);
|
|
34
|
+
} else if (isDocumentLink(value)) {
|
|
35
|
+
return await transformDocumentLink(value, pagePath, options);
|
|
32
36
|
} else if (isPicture(value)) {
|
|
33
37
|
return await transformPicture(value, pagePath, options);
|
|
34
38
|
}
|
|
@@ -47,6 +51,14 @@ export async function transformContentPage(
|
|
|
47
51
|
|
|
48
52
|
export const generatedPagePath = (pagePath: string) => `${pagePath}${OUTPUT_SUFFIX}`;
|
|
49
53
|
|
|
54
|
+
const isMarkdown = (key: string, value: any): value is string =>
|
|
55
|
+
isString(value) && key?.endsWith('__md');
|
|
56
|
+
const isHTML = (key: string, value: any): value is string =>
|
|
57
|
+
isString(value) && key?.endsWith('__html');
|
|
58
|
+
const isDocumentLink = (_: any): _ is LinkProps =>
|
|
59
|
+
Boolean(_ && isLocalPath(_?.href) && isDocumentExt(path.extname(_?.href as string)));
|
|
60
|
+
const isDocumentExt = (input: string) =>
|
|
61
|
+
DOCUMENT_EXT_LIST.some((ext) => input.toLowerCase().endsWith(ext));
|
|
50
62
|
const isPicture = (_: any): _ is Picture => Boolean(_ && isLocalPath(_?.src));
|
|
51
63
|
const isLocalPath = (_: any): boolean => isString(_) && _.length < 1024 && !isURL(_);
|
|
52
64
|
const isURL = (src: string) => ['data:', 'https:', 'http:'].some((proto) => src.startsWith(proto));
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import util from 'util';
|
|
4
|
+
import type { LinkProps } from '../model/LinkProps';
|
|
5
|
+
import type { TransformationOptions } from './TransformationOptions';
|
|
6
|
+
|
|
7
|
+
const copyFile = util.promisify(fs.copyFile);
|
|
8
|
+
|
|
9
|
+
export async function transformDocumentLink(
|
|
10
|
+
link: LinkProps,
|
|
11
|
+
pagePath: string,
|
|
12
|
+
options: TransformationOptions,
|
|
13
|
+
): Promise<LinkProps> {
|
|
14
|
+
if (!link?.href) {
|
|
15
|
+
return link;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const { contentDir, publicDir } = options;
|
|
19
|
+
const input = path.join(path.dirname(pagePath), link.href);
|
|
20
|
+
const docRelativePath = path.relative(contentDir, input);
|
|
21
|
+
const output = path.join(publicDir, docRelativePath);
|
|
22
|
+
|
|
23
|
+
try {
|
|
24
|
+
await copyFile(input, output);
|
|
25
|
+
} catch (e) {
|
|
26
|
+
console.error(e);
|
|
27
|
+
|
|
28
|
+
return link;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
const href = path.join('/', docRelativePath);
|
|
32
|
+
|
|
33
|
+
return {
|
|
34
|
+
...link,
|
|
35
|
+
href,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { useCallback, useRef, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
+
import { ControlProps } from '../ui-kit/ControlProps';
|
|
2
3
|
import type { PreventableEvent } from '../ui-kit/PreventableEvent';
|
|
4
|
+
import { identity } from '../utils/identity';
|
|
3
5
|
|
|
4
|
-
export interface FieldProps<V> {
|
|
5
|
-
value?: V;
|
|
6
|
+
export interface FieldProps<V> extends ControlProps<V> {
|
|
6
7
|
isDirty?: boolean;
|
|
7
|
-
onChange?: (value: V) => void;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
type Options<In, Out> = {
|
|
11
|
+
parse?: (_: In) => Out;
|
|
12
|
+
format?: (_: Out) => In;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export type FormFieldRegisterer<FormState> = <N extends keyof FormState, V = FormState[N]>(
|
|
11
16
|
fieldName: N,
|
|
12
|
-
|
|
17
|
+
options?: Options<V, FormState[N]>,
|
|
18
|
+
) => FieldProps<V extends undefined ? FormState[N] : V>;
|
|
13
19
|
|
|
14
20
|
export const useForm = <FormState extends Record<string, any>>(
|
|
15
21
|
initialState: FormState,
|
|
@@ -33,18 +39,20 @@ export const useForm = <FormState extends Record<string, any>>(
|
|
|
33
39
|
const handlersMap = useRef<Partial<Record<keyof FormState, (value: any) => void>>>({});
|
|
34
40
|
|
|
35
41
|
const field: FormFieldRegisterer<FormState> = useCallback(
|
|
36
|
-
(fieldName) => {
|
|
42
|
+
(fieldName, options) => {
|
|
43
|
+
const { parse = identity, format = identity } = options || {};
|
|
44
|
+
|
|
37
45
|
if (!handlersMap.current) {
|
|
38
46
|
handlersMap.current = {};
|
|
39
47
|
}
|
|
40
48
|
|
|
41
49
|
handlersMap.current[fieldName] ||= (value) => {
|
|
42
|
-
setFormState((prev) => ({ ...prev, [fieldName]: value }));
|
|
50
|
+
setFormState((prev) => ({ ...prev, [fieldName]: parse(value) }));
|
|
43
51
|
setDirtyFieldsMap((prev) => ({ ...prev, [fieldName]: true }));
|
|
44
52
|
};
|
|
45
53
|
|
|
46
54
|
return {
|
|
47
|
-
value: formState[fieldName],
|
|
55
|
+
value: format(formState[fieldName]) as any,
|
|
48
56
|
isDirty: isDirtyForm || dirtyFieldsMap[fieldName],
|
|
49
57
|
onChange: handlersMap.current[fieldName],
|
|
50
58
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { useCallback, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
2
|
+
import { InputProps } from '../ui-kit/Input/InputProps';
|
|
3
|
+
|
|
4
|
+
interface UseNormalizedInputOptions<V, R> {
|
|
5
|
+
normalize: (v: V | undefined) => V;
|
|
6
|
+
format?: (v: V | undefined) => R;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const useNormalizedInput = <V, P extends InputProps<V>, R = V>(
|
|
10
|
+
props: P,
|
|
11
|
+
{ normalize, format }: UseNormalizedInputOptions<V, R>,
|
|
12
|
+
) => {
|
|
13
|
+
const { value, onFocus, onBlur, onChange } = props;
|
|
14
|
+
|
|
15
|
+
const [isFocused, setIsFocused] = useState(false);
|
|
16
|
+
|
|
17
|
+
const handleFocus = useCallback((e) => {
|
|
18
|
+
setIsFocused(true);
|
|
19
|
+
onFocus && onFocus(e);
|
|
20
|
+
}, []);
|
|
21
|
+
|
|
22
|
+
const handleBlur = useCallback(() => {
|
|
23
|
+
setIsFocused(false);
|
|
24
|
+
onChange && onChange(normalize(value));
|
|
25
|
+
onBlur && onBlur();
|
|
26
|
+
}, [onChange, value]);
|
|
27
|
+
|
|
28
|
+
return {
|
|
29
|
+
value: (isFocused || !format ? value : format(value)) as R,
|
|
30
|
+
onFocus: handleFocus,
|
|
31
|
+
onBlur: handleBlur,
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -2,10 +2,12 @@ import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
|
|
|
2
2
|
import type { Fallback } from '../model/Fallback';
|
|
3
3
|
import { fetchJSONUnsafe } from '../utils/fetchJSON';
|
|
4
4
|
|
|
5
|
+
const EMPTY_VALUE = {};
|
|
6
|
+
|
|
5
7
|
export function useSWRResource<Data>(filename: string, fallback: Fallback = {}): Data {
|
|
6
8
|
const { data } = useAsyncData<Data>(`/wcms-resources/${filename}.json`, fetchJSONUnsafe, {
|
|
7
9
|
fallback,
|
|
8
10
|
});
|
|
9
11
|
|
|
10
|
-
return data || (
|
|
12
|
+
return data || (EMPTY_VALUE as Data);
|
|
11
13
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg title="Стрелка сплошная 'Вниз'" isInverse="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 25"><path fill="#C8CCD0" d="M6.293 9.457a1 1 0 0 1 1.414 0L12 13.75l4.293-4.293a1 1 0 1 1 1.414 1.414l-5 5a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 0-1.414Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg title="Стрелка сплошная 'Вверх'" isInverse="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 25"><path fill="#C8CCD0" d="M17.707 14.871a1 1 0 0 1-1.414 0L12 10.578l-4.293 4.293a1 1 0 0 1-1.414-1.414l5-5a1 1 0 0 1 1.414 0l5 5a1 1 0 0 1 0 1.414Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" title="Сумка" viewBox="0 0 24 25" fill="none"><path stroke="#1C1C1C" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="m21.37 14.164.34-3.57c.26-2.44-.44-4.43-4.71-4.43H7c-4.27 0-4.97 1.99-4.7 4.43l.75 8c.21 1.96.93 3.57 4.95 3.57h8c4.02 0 4.74-1.61 4.95-3.57M8 6.164v-.8c0-1.77 0-3.2 3.2-3.2h1.6c3.2 0 3.2 1.43 3.2 3.2v.8"/><path stroke="#1C1C1C" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M14 13.164v1.02c0 1.09-.01 1.98-2 1.98-1.98 0-2-.88-2-1.97v-1.03c0-1 0-1 1-1h2c1 0 1 0 1 1Z"/><path stroke="#1C1C1C" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M21.65 11.164a16.484 16.484 0 0 1-7.65 3.02M2.62 11.438c2.25 1.54 4.79 2.47 7.38 2.76"/></svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M21.3708 14L21.7108 10.43C21.9708 7.99 21.2708 6 17.0008 6H7.0008C2.7308 6 2.0308 7.99 2.3008 10.43L3.0508 18.43C3.2608 20.39 3.9808 22 8.0008 22H16.0008C20.0208 22 20.7408 20.39 20.9508 18.43" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M8 6V5.2C8 3.43 8 2 11.2 2H12.8C16 2 16 3.43 16 5.2V6" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M14 13V14C14 14.01 14 14.01 14 14.02C14 15.11 13.99 16 12 16C10.02 16 10 15.12 10 14.03V13C10 12 10 12 11 12H13C14 12 14 12 14 13Z" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M21.65 11C19.34 12.68 16.7 13.68 14 14.02" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M2.61719 11.2695C4.86719 12.8095 7.40719 13.7395 9.99719 14.0295" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" title="Клиент" viewBox="0 0 24 25" fill="none"><path stroke="#1C1C1C" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.68 4.124c.48.71.76 1.56.76 2.48-.01 2.4-1.9 4.35-4.28 4.43-.1-.01-.22-.01-.33 0-2.21-.07-4-1.76-4.24-3.92-.29-2.57 1.82-4.95 4.4-4.95M6.99 14.724c-2.42 1.62-2.42 4.26 0 5.87 2.75 1.84 7.26 1.84 10.01 0 2.42-1.62 2.42-4.26 0-5.87-2.73-1.83-7.24-1.83-10.01 0Z"/></svg>
|
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
/* eslint-disable max-len, max-lines */
|
|
4
4
|
|
|
5
5
|
export const IconsWithoutInversion = new Set([
|
|
6
|
-
'ActualBalanceIcon', 'AirPlaneIcon', 'CardWithGemIcon', 'CarIcon', 'CinemaIcon', 'ClockIcon', 'ComfortableCompIcon', 'CreditCardsIcon', 'DocsIcon', 'DollarIcon', 'DoneIcon', 'EarthIcon', 'EuroIcon', 'FullScreenIcon', 'GlassIcon', 'HeadphonesIcon', 'HeartIcon', 'HuaweiIcon', 'InterestGrowthIcon', 'JCBIcon', 'MailIcon', 'MapMarkerClusterIcon', 'MapMarkerSingleIcon', 'MasterCardIcon', 'MirIcon', 'MoneyInsuranceIcon', 'NewDocIcon', 'OfficeIcon', 'PackA4Icon', 'PassSendIcon', 'PercentIcon', 'PhoneIcon', 'PowerIcon', 'PumpkinIcon', 'ResponceFailIcon', 'ResponceOKIcon', 'SignDocsIcon', 'SoundIcon', 'UnionPayIcon', 'UserGeoLocationIcon', 'VisaIcon', 'WateringCanIcon'
|
|
6
|
+
'ActualBalanceIcon', 'AirPlaneIcon', 'BagIcon', 'BriefcaseIcon', 'CardWithGemIcon', 'CarIcon', 'CinemaIcon', 'ClientIcon', 'ClockIcon', 'ComfortableCompIcon', 'CreditCardsIcon', 'DocsIcon', 'DollarIcon', 'DoneIcon', 'EarthIcon', 'EuroIcon', 'FullScreenIcon', 'GlassIcon', 'HeadphonesIcon', 'HeartIcon', 'HuaweiIcon', 'InterestGrowthIcon', 'JCBIcon', 'MailIcon', 'MapMarkerClusterIcon', 'MapMarkerSingleIcon', 'MasterCardIcon', 'MirIcon', 'MoneyInsuranceIcon', 'NewDocIcon', 'OfficeIcon', 'PackA4Icon', 'PassSendIcon', 'PercentIcon', 'PhoneIcon', 'PowerIcon', 'PumpkinIcon', 'ResponceFailIcon', 'ResponceOKIcon', 'SignDocsIcon', 'SoundIcon', 'UnionPayIcon', 'UserGeoLocationIcon', 'VisaIcon', 'WateringCanIcon'
|
|
7
7
|
]);
|
|
8
8
|
|
|
9
9
|
export enum IconMap {
|
|
10
|
-
ActualBalanceIcon = 'ActualBalanceIcon', AirPlaneIcon = 'AirPlaneIcon', AppleIcon = 'AppleIcon', ArrowDownIcon = 'ArrowDownIcon', ArrowLeftIcon = 'ArrowLeftIcon', ArrowRightIcon = 'ArrowRightIcon', ArrowTopRightIcon = 'ArrowTopRightIcon', ArrowUpIcon = 'ArrowUpIcon', AtmIcon = 'AtmIcon', BankIcon = 'BankIcon', BuildingIcon = 'BuildingIcon', BurgerIcon = 'BurgerIcon', Calendar2Icon = 'Calendar2Icon', CalendarCircleIcon = 'CalendarCircleIcon', CalendarIcon = 'CalendarIcon', CalendarTickIcon = 'CalendarTickIcon', Car2Icon = 'Car2Icon', CardIcon = 'CardIcon', CardPosIcon = 'CardPosIcon', CardTickIcon = 'CardTickIcon', CardWithGemIcon = 'CardWithGemIcon', CarIcon = 'CarIcon', ChartSquareIcon = 'ChartSquareIcon', CinemaIcon = 'CinemaIcon', ClockIcon = 'ClockIcon', CloseIcon = 'CloseIcon', ComfortableCompIcon = 'ComfortableCompIcon', CreditCardsIcon = 'CreditCardsIcon', DiscountShapeIcon = 'DiscountShapeIcon', DocDownloadIcon = 'DocDownloadIcon', DocIcon = 'DocIcon', DocIconMonoColor = 'DocIconMonoColor', DocsIcon = 'DocsIcon', DocumentText2Icon = 'DocumentText2Icon', DocumentTextIcon = 'DocumentTextIcon', DollarIcon = 'DollarIcon', DoneIcon = 'DoneIcon', DoneSimpleIcon = 'DoneSimpleIcon', EarthIcon = 'EarthIcon', EmptyWalletChangeIcon = 'EmptyWalletChangeIcon', EmptyWalletIcon = 'EmptyWalletIcon', EuroIcon = 'EuroIcon', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'GeolocationIcon', GlassIcon = 'GlassIcon', GlobalIcon = 'GlobalIcon', GpsIcon = 'GpsIcon', GridIcon = 'GridIcon', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'HeartIcon', HuaweiIcon = 'HuaweiIcon', InterestGrowthIcon = 'InterestGrowthIcon', InterestIcon = 'InterestIcon', JCBIcon = 'JCBIcon', LogoIcon = 'LogoIcon', LoupeIcon = 'LoupeIcon', MailIcon = 'MailIcon', MapMarkerClusterIcon = 'MapMarkerClusterIcon', MapMarkerSingleIcon = 'MapMarkerSingleIcon', MasterCardIcon = 'MasterCardIcon', MetroIcon = 'MetroIcon', MinusIcon = 'MinusIcon', MirIcon = 'MirIcon', MoneyIcon = 'MoneyIcon', MoneyInsuranceIcon = 'MoneyInsuranceIcon', MoneysIcon = 'MoneysIcon', MonitorMobileIcon = 'MonitorMobileIcon', NewDocIcon = 'NewDocIcon', OfficeIcon = 'OfficeIcon', OkIcon = 'OkIcon', PackA4Icon = 'PackA4Icon', PassSendIcon = 'PassSendIcon', PercentageRoundIcon = 'PercentageRoundIcon', PercentageSquareIcon = 'PercentageSquareIcon', PercentIcon = 'PercentIcon', PersonalCardIcon = 'PersonalCardIcon', PhoneIcon = 'PhoneIcon', PlayMarketIcon = 'PlayMarketIcon', PlusIcon = 'PlusIcon', PowerIcon = 'PowerIcon', Profile2UserIcon = 'Profile2UserIcon', ProfileIcon = 'ProfileIcon', PumpkinIcon = 'PumpkinIcon', ResponceFailIcon = 'ResponceFailIcon', ResponceOKIcon = 'ResponceOKIcon', RoundRubleIcon = 'RoundRubleIcon', SafeIcon = 'SafeIcon', ShieldTickIcon = 'ShieldTickIcon', SignDocsIcon = 'SignDocsIcon', SmallClockIcon = 'SmallClockIcon', SoundIcon = 'SoundIcon', StrongBoxIcon = 'StrongBoxIcon', TelegramIcon = 'TelegramIcon', UnionPayIcon = 'UnionPayIcon', UserGeoLocationIcon = 'UserGeoLocationIcon', UserSquareIcon = 'UserSquareIcon', UserTickIcon = 'UserTickIcon', VisaIcon = 'VisaIcon', VKIcon = 'VKIcon', WalletAdd2Icon = 'WalletAdd2Icon', WalletAddIcon = 'WalletAddIcon', WalletIcon = 'WalletIcon', WalletWithMoneyIcon = 'WalletWithMoneyIcon', WateringCanIcon = 'WateringCanIcon', YoutubeIcon = 'YoutubeIcon'
|
|
10
|
+
ActualBalanceIcon = 'ActualBalanceIcon', AirPlaneIcon = 'AirPlaneIcon', AppleIcon = 'AppleIcon', ArrowDownIcon = 'ArrowDownIcon', ArrowDownSolidIcon = 'ArrowDownSolidIcon', ArrowLeftIcon = 'ArrowLeftIcon', ArrowRightIcon = 'ArrowRightIcon', ArrowTopRightIcon = 'ArrowTopRightIcon', ArrowUpIcon = 'ArrowUpIcon', ArrowUpSolidIcon = 'ArrowUpSolidIcon', AtmIcon = 'AtmIcon', BagIcon = 'BagIcon', BankIcon = 'BankIcon', BriefcaseIcon = 'BriefcaseIcon', BuildingIcon = 'BuildingIcon', BurgerIcon = 'BurgerIcon', Calendar2Icon = 'Calendar2Icon', CalendarCircleIcon = 'CalendarCircleIcon', CalendarIcon = 'CalendarIcon', CalendarTickIcon = 'CalendarTickIcon', Car2Icon = 'Car2Icon', CardIcon = 'CardIcon', CardPosIcon = 'CardPosIcon', CardTickIcon = 'CardTickIcon', CardWithGemIcon = 'CardWithGemIcon', CarIcon = 'CarIcon', ChartSquareIcon = 'ChartSquareIcon', CinemaIcon = 'CinemaIcon', ClientIcon = 'ClientIcon', ClockIcon = 'ClockIcon', CloseIcon = 'CloseIcon', ComfortableCompIcon = 'ComfortableCompIcon', CreditCardsIcon = 'CreditCardsIcon', DiscountShapeIcon = 'DiscountShapeIcon', DocDownloadIcon = 'DocDownloadIcon', DocIcon = 'DocIcon', DocIconMonoColor = 'DocIconMonoColor', DocsIcon = 'DocsIcon', DocumentText2Icon = 'DocumentText2Icon', DocumentTextIcon = 'DocumentTextIcon', DollarIcon = 'DollarIcon', DoneIcon = 'DoneIcon', DoneSimpleIcon = 'DoneSimpleIcon', EarthIcon = 'EarthIcon', EmptyWalletChangeIcon = 'EmptyWalletChangeIcon', EmptyWalletIcon = 'EmptyWalletIcon', EuroIcon = 'EuroIcon', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'GeolocationIcon', GlassIcon = 'GlassIcon', GlobalIcon = 'GlobalIcon', GpsIcon = 'GpsIcon', GridIcon = 'GridIcon', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'HeartIcon', HuaweiIcon = 'HuaweiIcon', InterestGrowthIcon = 'InterestGrowthIcon', InterestIcon = 'InterestIcon', JCBIcon = 'JCBIcon', LogoIcon = 'LogoIcon', LoupeIcon = 'LoupeIcon', MailIcon = 'MailIcon', MapMarkerClusterIcon = 'MapMarkerClusterIcon', MapMarkerSingleIcon = 'MapMarkerSingleIcon', MasterCardIcon = 'MasterCardIcon', MetroIcon = 'MetroIcon', MinusIcon = 'MinusIcon', MirIcon = 'MirIcon', MoneyIcon = 'MoneyIcon', MoneyInsuranceIcon = 'MoneyInsuranceIcon', MoneysIcon = 'MoneysIcon', MonitorMobileIcon = 'MonitorMobileIcon', NewDocIcon = 'NewDocIcon', OfficeIcon = 'OfficeIcon', OkIcon = 'OkIcon', PackA4Icon = 'PackA4Icon', PassSendIcon = 'PassSendIcon', PercentageRoundIcon = 'PercentageRoundIcon', PercentageSquareIcon = 'PercentageSquareIcon', PercentIcon = 'PercentIcon', PersonalCardIcon = 'PersonalCardIcon', PhoneIcon = 'PhoneIcon', PlayMarketIcon = 'PlayMarketIcon', PlusIcon = 'PlusIcon', PowerIcon = 'PowerIcon', Profile2UserIcon = 'Profile2UserIcon', ProfileIcon = 'ProfileIcon', PumpkinIcon = 'PumpkinIcon', ResponceFailIcon = 'ResponceFailIcon', ResponceOKIcon = 'ResponceOKIcon', RoundRubleIcon = 'RoundRubleIcon', SafeIcon = 'SafeIcon', ShieldTickIcon = 'ShieldTickIcon', SignDocsIcon = 'SignDocsIcon', SmallClockIcon = 'SmallClockIcon', SoundIcon = 'SoundIcon', StrongBoxIcon = 'StrongBoxIcon', TelegramIcon = 'TelegramIcon', UnionPayIcon = 'UnionPayIcon', UserGeoLocationIcon = 'UserGeoLocationIcon', UserSquareIcon = 'UserSquareIcon', UserTickIcon = 'UserTickIcon', VisaIcon = 'VisaIcon', VKIcon = 'VKIcon', WalletAdd2Icon = 'WalletAdd2Icon', WalletAddIcon = 'WalletAddIcon', WalletIcon = 'WalletIcon', WalletWithMoneyIcon = 'WalletWithMoneyIcon', WateringCanIcon = 'WateringCanIcon', YoutubeIcon = 'YoutubeIcon'
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export enum IconTitleMap {
|
|
14
|
-
ActualBalanceIcon = 'Деньги', AirPlaneIcon = 'Самолёт', AppleIcon = 'Лого «Apple»', ArrowDownIcon = 'Стрелка \'Вниз\'', ArrowLeftIcon = 'Стрелка \'Влево\'', ArrowRightIcon = 'Стрелка \'Вправо\'', ArrowTopRightIcon = 'Стрелка \'Вверх-право\'', ArrowUpIcon = 'Стрелка \'Вверх\'', AtmIcon = 'Банкомат', BankIcon = 'Банк', BuildingIcon = 'Здание с деревом', BurgerIcon = 'Бургер', Calendar2Icon = 'Календарь 2', CalendarCircleIcon = 'Скруглённый календарь', CalendarIcon = 'Календарь', CalendarTickIcon = 'Календарь с галочкой', Car2Icon = 'Машина2', CardIcon = 'Кред. карта', CardPosIcon = 'Кред. карта под наклоном', CardTickIcon = 'Кред. карта с галочкой', CardWithGemIcon = 'Карта с драгоценностями', CarIcon = 'Машина', ChartSquareIcon = 'Деньги внутри кошелька', CinemaIcon = 'Кинотеатр', ClockIcon = 'Часы', CloseIcon = 'Крестик', ComfortableCompIcon = 'Кресло', CreditCardsIcon = 'Кредитные карты', DiscountShapeIcon = 'Скидка', DocDownloadIcon = 'Скачать документ', DocIcon = 'Документ', DocIconMonoColor = 'Документ (одноцветный)', DocsIcon = 'Документы', DocumentText2Icon = 'Документы-2', DocumentTextIcon = 'Документ с текстом', DollarIcon = 'Доллар', DoneIcon = 'Зелёная \'галочка\' в круге', DoneSimpleIcon = 'Зелёная \'галочка\'', EarthIcon = 'Земля', EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом', EmptyWalletIcon = 'Пустой кошелёк', EuroIcon = 'Евро', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'Геолокация', GlassIcon = 'Зеркало', GlobalIcon = 'Глобус', GpsIcon = 'Gps', GridIcon = 'Сетка (белая)', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'Сердце', HuaweiIcon = 'Лого «Huawei»', InterestGrowthIcon = 'Диаграмма роста', InterestIcon = 'Скидка', JCBIcon = 'JCB', LogoIcon = 'Logo', LoupeIcon = 'Лупа', MailIcon = 'E-mail', MapMarkerClusterIcon = 'Маркер карты', MapMarkerSingleIcon = 'Маркер карты РСХБ', MasterCardIcon = 'MasterCard', MetroIcon = 'Лого Метро', MinusIcon = 'Минус', MirIcon = 'МИР', MoneyIcon = 'Деньги', MoneyInsuranceIcon = 'Денежное страхование', MoneysIcon = 'Купюры', MonitorMobileIcon = 'Монитор и мобильный', NewDocIcon = 'Новый документ', OfficeIcon = 'Офис', OkIcon = 'Лого «Одноклассники»', PackA4Icon = 'Пачка бумаги А4', PassSendIcon = 'Бизнес', PercentageRoundIcon = 'Проценты (круг.)', PercentageSquareIcon = 'Проценты', PercentIcon = 'PercentIcon', PersonalCardIcon = 'Персональная карта', PhoneIcon = 'Телефон', PlayMarketIcon = 'Лого «PlayMarket»', PlusIcon = 'Плюс', PowerIcon = 'Щит', Profile2UserIcon = 'Профиль, 2 персоны', ProfileIcon = 'Профиль', PumpkinIcon = 'Тыква', ResponceFailIcon = 'Ошибка', ResponceOKIcon = 'Ок', RoundRubleIcon = 'Рубль (круг.)', SafeIcon = 'Сейф', ShieldTickIcon = 'Безопасность', SignDocsIcon = 'Подписанные документы', SmallClockIcon = 'Маленькие часы', SoundIcon = 'Звук', StrongBoxIcon = 'Ящик с замочной скважиной', TelegramIcon = 'Лого «Telegram»', UnionPayIcon = 'UnionPay', UserGeoLocationIcon = 'UserGeoLocationIcon', UserSquareIcon = 'Пользователь в рамке', UserTickIcon = 'Пользователь', VisaIcon = 'Visa', VKIcon = 'Лого «VK»', WalletAdd2Icon = 'Пополнение карты', WalletAddIcon = 'Кошелёк с плюсом', WalletIcon = 'Кошелёк', WalletWithMoneyIcon = 'Кошелёк с деньгами', WateringCanIcon = 'Добавить продукт', YoutubeIcon = 'Лого «Youtube»'
|
|
14
|
+
ActualBalanceIcon = 'Деньги', AirPlaneIcon = 'Самолёт', AppleIcon = 'Лого «Apple»', ArrowDownIcon = 'Стрелка \'Вниз\'', ArrowDownSolidIcon = 'Стрелка сплошная \'Вниз\'', ArrowLeftIcon = 'Стрелка \'Влево\'', ArrowRightIcon = 'Стрелка \'Вправо\'', ArrowTopRightIcon = 'Стрелка \'Вверх-право\'', ArrowUpIcon = 'Стрелка \'Вверх\'', ArrowUpSolidIcon = 'Стрелка сплошная \'Вверх\'', AtmIcon = 'Банкомат', BagIcon = 'Сумка', BankIcon = 'Банк', BriefcaseIcon = 'BriefcaseIcon', BuildingIcon = 'Здание с деревом', BurgerIcon = 'Бургер', Calendar2Icon = 'Календарь 2', CalendarCircleIcon = 'Скруглённый календарь', CalendarIcon = 'Календарь', CalendarTickIcon = 'Календарь с галочкой', Car2Icon = 'Машина2', CardIcon = 'Кред. карта', CardPosIcon = 'Кред. карта под наклоном', CardTickIcon = 'Кред. карта с галочкой', CardWithGemIcon = 'Карта с драгоценностями', CarIcon = 'Машина', ChartSquareIcon = 'Деньги внутри кошелька', CinemaIcon = 'Кинотеатр', ClientIcon = 'Клиент', ClockIcon = 'Часы', CloseIcon = 'Крестик', ComfortableCompIcon = 'Кресло', CreditCardsIcon = 'Кредитные карты', DiscountShapeIcon = 'Скидка', DocDownloadIcon = 'Скачать документ', DocIcon = 'Документ', DocIconMonoColor = 'Документ (одноцветный)', DocsIcon = 'Документы', DocumentText2Icon = 'Документы-2', DocumentTextIcon = 'Документ с текстом', DollarIcon = 'Доллар', DoneIcon = 'Зелёная \'галочка\' в круге', DoneSimpleIcon = 'Зелёная \'галочка\'', EarthIcon = 'Земля', EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом', EmptyWalletIcon = 'Пустой кошелёк', EuroIcon = 'Евро', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'Геолокация', GlassIcon = 'Зеркало', GlobalIcon = 'Глобус', GpsIcon = 'Gps', GridIcon = 'Сетка (белая)', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'Сердце', HuaweiIcon = 'Лого «Huawei»', InterestGrowthIcon = 'Диаграмма роста', InterestIcon = 'Скидка', JCBIcon = 'JCB', LogoIcon = 'Logo', LoupeIcon = 'Лупа', MailIcon = 'E-mail', MapMarkerClusterIcon = 'Маркер карты', MapMarkerSingleIcon = 'Маркер карты РСХБ', MasterCardIcon = 'MasterCard', MetroIcon = 'Лого Метро', MinusIcon = 'Минус', MirIcon = 'МИР', MoneyIcon = 'Деньги', MoneyInsuranceIcon = 'Денежное страхование', MoneysIcon = 'Купюры', MonitorMobileIcon = 'Монитор и мобильный', NewDocIcon = 'Новый документ', OfficeIcon = 'Офис', OkIcon = 'Лого «Одноклассники»', PackA4Icon = 'Пачка бумаги А4', PassSendIcon = 'Бизнес', PercentageRoundIcon = 'Проценты (круг.)', PercentageSquareIcon = 'Проценты', PercentIcon = 'PercentIcon', PersonalCardIcon = 'Персональная карта', PhoneIcon = 'Телефон', PlayMarketIcon = 'Лого «PlayMarket»', PlusIcon = 'Плюс', PowerIcon = 'Щит', Profile2UserIcon = 'Профиль, 2 персоны', ProfileIcon = 'Профиль', PumpkinIcon = 'Тыква', ResponceFailIcon = 'Ошибка', ResponceOKIcon = 'Ок', RoundRubleIcon = 'Рубль (круг.)', SafeIcon = 'Сейф', ShieldTickIcon = 'Безопасность', SignDocsIcon = 'Подписанные документы', SmallClockIcon = 'Маленькие часы', SoundIcon = 'Звук', StrongBoxIcon = 'Ящик с замочной скважиной', TelegramIcon = 'Лого «Telegram»', UnionPayIcon = 'UnionPay', UserGeoLocationIcon = 'UserGeoLocationIcon', UserSquareIcon = 'Пользователь в рамке', UserTickIcon = 'Пользователь', VisaIcon = 'Visa', VKIcon = 'Лого «VK»', WalletAdd2Icon = 'Пополнение карты', WalletAddIcon = 'Кошелёк с плюсом', WalletIcon = 'Кошелёк', WalletWithMoneyIcon = 'Кошелёк с деньгами', WateringCanIcon = 'Добавить продукт', YoutubeIcon = 'Лого «Youtube»'
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -19,7 +19,7 @@ export enum IconTitleMap {
|
|
|
19
19
|
* @title Иконка
|
|
20
20
|
* @enumNames [
|
|
21
21
|
* "",
|
|
22
|
-
* 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Банкомат', 'Банк', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кинотеатр', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документы-2', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'FullScreenIcon', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Лого «Huawei»', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Лого Метро', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'PercentIcon', 'Персональная карта', 'Телефон', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'UserGeoLocationIcon', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт', 'Лого «Youtube»'
|
|
22
|
+
* 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Сумка', 'Банк', 'BriefcaseIcon', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кинотеатр', 'Клиент', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документы-2', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'FullScreenIcon', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Лого «Huawei»', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Лого Метро', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'PercentIcon', 'Персональная карта', 'Телефон', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'UserGeoLocationIcon', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт', 'Лого «Youtube»'
|
|
23
23
|
* ]
|
|
24
24
|
*/
|
|
25
|
-
export type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'AtmIcon' | 'BankIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentText2Icon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HuaweiIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MailIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MetroIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PhoneIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'ResponceFailIcon' | 'ResponceOKIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon' | 'YoutubeIcon';
|
|
25
|
+
export type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowDownSolidIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'ArrowUpSolidIcon' | 'AtmIcon' | 'BagIcon' | 'BankIcon' | 'BriefcaseIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClientIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentText2Icon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HuaweiIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MailIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MetroIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PhoneIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'ResponceFailIcon' | 'ResponceOKIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon' | 'YoutubeIcon';
|
|
@@ -6,6 +6,7 @@ import { useDebouncedEffect } from '../../utils/useDebouncedEffect';
|
|
|
6
6
|
import { CorpusItem, search, SearchIndex } from './search';
|
|
7
7
|
|
|
8
8
|
const SEARCH_INDEX_FILENAME = 'search.index.json';
|
|
9
|
+
const DEFAULT_BASE_PATH = ['/'];
|
|
9
10
|
|
|
10
11
|
export type SearchResult = Array<CorpusItem[]>; // List of pages (CorpusItem) per base path from "basePathList"
|
|
11
12
|
|
|
@@ -21,7 +22,7 @@ export interface SearchInputProps {
|
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
export const useSearch = ({
|
|
24
|
-
basePathList =
|
|
25
|
+
basePathList = DEFAULT_BASE_PATH,
|
|
25
26
|
initialQuery = '',
|
|
26
27
|
wasOpened,
|
|
27
28
|
}: SearchParams): [SearchResult | null, SearchInputProps] => {
|
|
@@ -35,7 +36,7 @@ export const useSearch = ({
|
|
|
35
36
|
|
|
36
37
|
const key = useMemo(
|
|
37
38
|
() => basePathList.map((_) => (wasOpened ? _ : null)), // Load search index on very first search
|
|
38
|
-
[wasOpened,
|
|
39
|
+
[wasOpened, basePathList],
|
|
39
40
|
);
|
|
40
41
|
|
|
41
42
|
const { data } = useAsyncData(key, fetchSearchIndex);
|
|
@@ -6,7 +6,7 @@ import type { IconProps, Picture } from '../../model/Picture';
|
|
|
6
6
|
* @title Ссылка
|
|
7
7
|
* @required ["text", "href"]
|
|
8
8
|
*/
|
|
9
|
-
export interface TopMenuItemProps extends LinkProps {
|
|
9
|
+
export interface TopMenuItemProps extends LinkProps, IconProps {
|
|
10
10
|
/** @hidden */
|
|
11
11
|
items?: LinkProps[];
|
|
12
12
|
}
|