@redneckz/wildless-cms-uni-blocks 0.14.0 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +221 -315
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/bundle/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/bundle/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/bundle/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/bundle/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/bundle/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/bundle/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/bundle/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/cosmos-static/icons/CloseIcon.svg +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/dist/components/Blocks.js +2 -6
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +2 -2
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinkButton.js +2 -2
- package/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.js +2 -1
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +3 -2
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/dist/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/dist/components/OfficesAtmsMap/Badge.js +14 -0
- package/dist/components/OfficesAtmsMap/Badge.js.map +1 -0
- package/dist/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/dist/components/OfficesAtmsMap/CardCell.js +14 -0
- package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -0
- package/dist/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/dist/components/OfficesAtmsMap/CardRow.js +7 -0
- package/dist/components/OfficesAtmsMap/CardRow.js.map +1 -0
- package/dist/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/dist/components/OfficesAtmsMap/OfficesAtmsMap.js +74 -0
- package/dist/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/dist/components/{OfficeMap/OfficeMapContent.js → OfficesAtmsMap/OfficesAtmsMapContent.js} +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/dist/components/OfficesAtmsMap/renderAtmCard.js +31 -0
- package/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/dist/components/OfficesAtmsMap/renderLunchHour.js +10 -0
- package/dist/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/dist/components/OfficesAtmsMap/renderOfficeCard.js +50 -0
- package/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
- package/dist/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js +19 -0
- package/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js +2 -2
- package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +1 -1
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.js +5 -5
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/dist/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/dist/ui-kit/BenefitItem/renderBenefitText.js +1 -1
- package/dist/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
- package/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.js +4 -4
- package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/dist/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/dist/ui-kit/YandexMap/YandexMap.js +13 -22
- package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/dist/ui-kit/YandexMap/renderClusterer.js +2 -2
- package/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/dist/ui-kit/YandexMap/renderSearchField.js +2 -1
- package/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/dist/utils/fetchJSON.js +1 -1
- package/dist/utils/fetchJSON.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/lib/components/Blocks.js +2 -6
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +2 -2
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinkButton.js +2 -2
- package/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.js +2 -1
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +3 -2
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/lib/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/lib/components/OfficesAtmsMap/Badge.js +12 -0
- package/lib/components/OfficesAtmsMap/Badge.js.map +1 -0
- package/lib/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/lib/components/OfficesAtmsMap/CardCell.js +12 -0
- package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -0
- package/lib/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/lib/components/OfficesAtmsMap/CardRow.js +5 -0
- package/lib/components/OfficesAtmsMap/CardRow.js.map +1 -0
- package/lib/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/lib/components/{OfficeMap/OfficeMap.fixture.d.ts → OfficesAtmsMap/OfficesAtmsMap.fixture.d.ts} +2 -2
- package/lib/components/OfficesAtmsMap/OfficesAtmsMap.js +72 -0
- package/lib/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js +2 -0
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/lib/components/OfficesAtmsMap/renderAtmCard.js +28 -0
- package/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/lib/components/OfficesAtmsMap/renderLunchHour.js +7 -0
- package/lib/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/lib/components/OfficesAtmsMap/renderOfficeCard.js +44 -0
- package/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
- package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js +16 -0
- package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js +2 -2
- package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.js +1 -1
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js +5 -5
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/lib/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/lib/ui-kit/BenefitItem/renderBenefitText.js +1 -1
- package/lib/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
- package/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.js +4 -4
- package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/lib/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/lib/ui-kit/YandexMap/YandexMap.js +13 -22
- package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderClusterer.js +2 -2
- package/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderSearchField.d.ts +1 -0
- package/lib/ui-kit/YandexMap/renderSearchField.js +2 -1
- package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/lib/utils/fetchJSON.js +1 -1
- package/lib/utils/fetchJSON.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +69 -135
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/bundle/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/mobile/bundle/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/mobile/bundle/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/mobile/bundle/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/mobile/bundle/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +2 -2
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +2 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +3 -2
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/dist/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/mobile/dist/components/OfficesAtmsMap/Badge.js +14 -0
- package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/mobile/dist/components/OfficesAtmsMap/CardCell.js +14 -0
- package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/mobile/dist/components/OfficesAtmsMap/CardRow.js +7 -0
- package/mobile/dist/components/OfficesAtmsMap/CardRow.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.js +74 -0
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/mobile/dist/components/{OfficeMap/OfficeMapContent.js → OfficesAtmsMap/OfficesAtmsMapContent.js} +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js +31 -0
- package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js +10 -0
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js +50 -0
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js +19 -0
- package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +2 -2
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +5 -5
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.js +1 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- 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/InnerTable/renderInnerTableRow.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js +4 -4
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js +13 -22
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderClusterer.js +2 -2
- package/mobile/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderSearchField.js +2 -1
- package/mobile/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/mobile/dist/utils/fetchJSON.js +1 -1
- package/mobile/dist/utils/fetchJSON.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +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/ApplicationFormWed.js +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +2 -2
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +2 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +3 -2
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/lib/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/mobile/lib/components/OfficesAtmsMap/Badge.js +12 -0
- package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/mobile/lib/components/OfficesAtmsMap/CardCell.js +12 -0
- package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/mobile/lib/components/OfficesAtmsMap/CardRow.js +5 -0
- package/mobile/lib/components/OfficesAtmsMap/CardRow.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.js +72 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js +2 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js +28 -0
- package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js +7 -0
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js +44 -0
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js +16 -0
- package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +2 -2
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +5 -5
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.js +1 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- 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/InnerTable/renderInnerTableRow.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js +4 -4
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js +13 -22
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderClusterer.js +2 -2
- package/mobile/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderSearchField.js +2 -1
- package/mobile/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/mobile/lib/utils/fetchJSON.js +1 -1
- package/mobile/lib/utils/fetchJSON.js.map +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +2 -2
- package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +2 -2
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
- package/mobile/src/components/Header/HeaderSubMenu.tsx +6 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +19 -6
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
- package/mobile/src/components/OfficesAtmsMap/Badge.tsx +30 -0
- package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +40 -0
- package/mobile/src/components/OfficesAtmsMap/CardRow.tsx +17 -0
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMap.tsx +165 -0
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +40 -0
- package/mobile/src/components/OfficesAtmsMap/renderAtmCard.tsx +60 -0
- package/mobile/src/components/OfficesAtmsMap/renderLunchHour.tsx +28 -0
- package/mobile/src/components/OfficesAtmsMap/renderOfficeCard.tsx +121 -0
- package/mobile/src/components/OfficesAtmsMap/useOfficesAtmsMap.ts +118 -0
- package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +6 -6
- package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
- package/mobile/src/icons/CloseIcon.svg +4 -4
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +22 -10
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +5 -5
- package/mobile/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
- package/mobile/src/ui-kit/BenefitItem/renderBenefitText.tsx +10 -2
- package/mobile/src/ui-kit/BenefitsList/BenefitsListProps.ts +1 -0
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/renderInnerTableRow.tsx +2 -2
- package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +10 -6
- package/mobile/src/ui-kit/Text/TextProps.ts +2 -0
- package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +70 -79
- package/mobile/src/ui-kit/YandexMap/renderClusterer.ts +2 -2
- package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
- package/mobile/src/utils/fetchJSON.ts +1 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
- package/src/components/Blocks.ts +2 -6
- package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
- package/src/components/CarouselCard/CarouselCard.tsx +2 -2
- package/src/components/CarouselLinks/CarouselLinkButton.tsx +2 -2
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
- package/src/components/Header/HeaderSubMenu.tsx +6 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +19 -6
- package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
- package/src/components/OfficesAtmsMap/Badge.tsx +30 -0
- package/src/components/OfficesAtmsMap/CardCell.tsx +40 -0
- package/src/components/OfficesAtmsMap/CardRow.tsx +17 -0
- package/src/components/OfficesAtmsMap/OfficesAtmsMap.fixture.tsx +41 -0
- package/src/components/OfficesAtmsMap/OfficesAtmsMap.tsx +165 -0
- package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +40 -0
- package/src/components/OfficesAtmsMap/renderAtmCard.tsx +60 -0
- package/src/components/OfficesAtmsMap/renderLunchHour.tsx +28 -0
- package/src/components/OfficesAtmsMap/renderOfficeCard.tsx +121 -0
- package/src/components/OfficesAtmsMap/useOfficesAtmsMap.ts +118 -0
- package/src/components/PictureText/renderInsuranceSumMonth.tsx +6 -6
- package/src/components/ProductTile/ProductTile.fixture.mobile.tsx +7 -4
- package/src/components/ProductTile/ProductTile.tsx +1 -1
- package/src/icons/CloseIcon.svg +4 -4
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +22 -10
- package/src/ui-kit/BaseTile/BaseTile.tsx +5 -5
- package/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
- package/src/ui-kit/BenefitItem/renderBenefitText.tsx +10 -2
- package/src/ui-kit/BenefitsList/BenefitsListProps.ts +1 -0
- package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/src/ui-kit/InnerTable/renderInnerTableRow.tsx +2 -2
- package/src/ui-kit/Sitemap/Sitemap.tsx +10 -6
- package/src/ui-kit/Text/TextProps.ts +2 -0
- package/src/ui-kit/YandexMap/YandexMap.tsx +70 -79
- package/src/ui-kit/YandexMap/renderClusterer.ts +2 -2
- package/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
- package/src/utils/fetchJSON.ts +1 -1
- package/bundle/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/bundle/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -3
- package/bundle/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/bundle/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/bundle/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/bundle/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/bundle/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/bundle/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/dist/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/dist/components/ExchangeRateOffice/Currencies.js +0 -12
- package/dist/components/ExchangeRateOffice/Currencies.js.map +0 -1
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -16
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
- package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
- package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
- package/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/dist/components/ExchangeRateOffice/renderCurrencies.js +0 -30
- package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
- package/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/dist/components/ExchangeRateOffice/renderTableHeader.js +0 -9
- package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
- package/dist/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/dist/components/MobileAppTile/buttonsConditionStyle.js +0 -6
- package/dist/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
- package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -3
- package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js +0 -13
- package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +0 -1
- package/dist/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/dist/components/OfficeMap/OfficeMap.js +0 -43
- package/dist/components/OfficeMap/OfficeMap.js.map +0 -1
- package/dist/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/dist/components/OfficeMap/OfficeMapContent.js.map +0 -1
- package/dist/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/dist/components/OfficeMap/mockOfficeMap.js +0 -82
- package/dist/components/OfficeMap/mockOfficeMap.js.map +0 -1
- package/dist/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/dist/components/OfficeMap/nearbyOffices.js +0 -9
- package/dist/components/OfficeMap/nearbyOffices.js.map +0 -1
- package/dist/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/dist/components/OfficeMap/renderFunctions.js +0 -20
- package/dist/components/OfficeMap/renderFunctions.js.map +0 -1
- package/dist/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/dist/components/OfficeMap/useOfficeMap.js +0 -20
- package/dist/components/OfficeMap/useOfficeMap.js.map +0 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -12
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
- package/lib/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/lib/components/ExchangeRateOffice/Currencies.js +0 -10
- package/lib/components/ExchangeRateOffice/Currencies.js.map +0 -1
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.fixture.d.ts +0 -6
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -14
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
- package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
- package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
- package/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/lib/components/ExchangeRateOffice/renderCurrencies.js +0 -27
- package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
- package/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/lib/components/ExchangeRateOffice/renderTableHeader.js +0 -6
- package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
- package/lib/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/lib/components/MobileAppTile/buttonsConditionStyle.js +0 -3
- package/lib/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
- package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -2
- package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js +0 -10
- package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +0 -1
- package/lib/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/lib/components/OfficeMap/OfficeMap.js +0 -41
- package/lib/components/OfficeMap/OfficeMap.js.map +0 -1
- package/lib/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/lib/components/OfficeMap/OfficeMapContent.js +0 -2
- package/lib/components/OfficeMap/OfficeMapContent.js.map +0 -1
- package/lib/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/lib/components/OfficeMap/mockOfficeMap.js +0 -80
- package/lib/components/OfficeMap/mockOfficeMap.js.map +0 -1
- package/lib/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/lib/components/OfficeMap/nearbyOffices.js +0 -7
- package/lib/components/OfficeMap/nearbyOffices.js.map +0 -1
- package/lib/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/lib/components/OfficeMap/renderFunctions.js +0 -15
- package/lib/components/OfficeMap/renderFunctions.js.map +0 -1
- package/lib/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/lib/components/OfficeMap/useOfficeMap.js +0 -17
- package/lib/components/OfficeMap/useOfficeMap.js.map +0 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +0 -6
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -10
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
- package/mobile/bundle/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/mobile/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/mobile/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/mobile/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/mobile/bundle/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/mobile/bundle/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/mobile/bundle/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/mobile/bundle/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/mobile/dist/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/mobile/dist/components/ExchangeRateOffice/Currencies.js +0 -12
- package/mobile/dist/components/ExchangeRateOffice/Currencies.js.map +0 -1
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -16
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
- package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +0 -30
- package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +0 -9
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
- package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js +0 -13
- package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
- package/mobile/dist/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/mobile/dist/components/OfficeMap/OfficeMap.js +0 -43
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +0 -1
- package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/mobile/dist/components/OfficeMap/OfficeMapContent.js.map +0 -1
- package/mobile/dist/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/mobile/dist/components/OfficeMap/mockOfficeMap.js +0 -82
- package/mobile/dist/components/OfficeMap/mockOfficeMap.js.map +0 -1
- package/mobile/dist/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/mobile/dist/components/OfficeMap/nearbyOffices.js +0 -9
- package/mobile/dist/components/OfficeMap/nearbyOffices.js.map +0 -1
- package/mobile/dist/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/mobile/dist/components/OfficeMap/renderFunctions.js +0 -20
- package/mobile/dist/components/OfficeMap/renderFunctions.js.map +0 -1
- package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/mobile/dist/components/OfficeMap/useOfficeMap.js +0 -20
- package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +0 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -12
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
- package/mobile/lib/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/mobile/lib/components/ExchangeRateOffice/Currencies.js +0 -10
- package/mobile/lib/components/ExchangeRateOffice/Currencies.js.map +0 -1
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -14
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
- package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +0 -27
- package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +0 -6
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
- package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js +0 -10
- package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
- package/mobile/lib/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/mobile/lib/components/OfficeMap/OfficeMap.js +0 -41
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +0 -1
- package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/mobile/lib/components/OfficeMap/OfficeMapContent.js +0 -2
- package/mobile/lib/components/OfficeMap/OfficeMapContent.js.map +0 -1
- package/mobile/lib/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/mobile/lib/components/OfficeMap/mockOfficeMap.js +0 -80
- package/mobile/lib/components/OfficeMap/mockOfficeMap.js.map +0 -1
- package/mobile/lib/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/mobile/lib/components/OfficeMap/nearbyOffices.js +0 -7
- package/mobile/lib/components/OfficeMap/nearbyOffices.js.map +0 -1
- package/mobile/lib/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/mobile/lib/components/OfficeMap/renderFunctions.js +0 -15
- package/mobile/lib/components/OfficeMap/renderFunctions.js.map +0 -1
- package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/mobile/lib/components/OfficeMap/useOfficeMap.js +0 -17
- package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +0 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -10
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
- package/mobile/src/components/ExchangeRateOffice/Currencies.ts +0 -8
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +0 -32
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +0 -62
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +0 -36
- package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +0 -73
- package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +0 -11
- package/mobile/src/components/MobileAppTile/buttonsConditionStyle.tsx +0 -12
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +0 -76
- package/mobile/src/components/OfficeMap/OfficeMapContent.ts +0 -42
- package/mobile/src/components/OfficeMap/mockOfficeMap.ts +0 -79
- package/mobile/src/components/OfficeMap/nearbyOffices.ts +0 -8
- package/mobile/src/components/OfficeMap/renderFunctions.tsx +0 -75
- package/mobile/src/components/OfficeMap/useOfficeMap.ts +0 -24
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +0 -49
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +0 -37
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +0 -11
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +0 -14
- package/src/components/ExchangeRateOffice/Currencies.ts +0 -8
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +0 -32
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +0 -79
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +0 -62
- package/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +0 -36
- package/src/components/ExchangeRateOffice/renderCurrencies.tsx +0 -73
- package/src/components/ExchangeRateOffice/renderTableHeader.tsx +0 -11
- package/src/components/MobileAppTile/buttonsConditionStyle.mobile.tsx +0 -12
- package/src/components/MobileAppTile/buttonsConditionStyle.tsx +0 -5
- package/src/components/OfficeMap/OfficeMap.fixture.tsx +0 -11
- package/src/components/OfficeMap/OfficeMap.tsx +0 -76
- package/src/components/OfficeMap/OfficeMapContent.ts +0 -42
- package/src/components/OfficeMap/mockOfficeMap.ts +0 -79
- package/src/components/OfficeMap/nearbyOffices.ts +0 -8
- package/src/components/OfficeMap/renderFunctions.tsx +0 -75
- package/src/components/OfficeMap/useOfficeMap.ts +0 -24
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +0 -49
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +0 -44
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +0 -37
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +0 -11
- package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +0 -14
- /package/mobile/src/components/{ExchangeRateOffice/ExchangeRateOffice.ui.json → OfficesAtmsMap/OfficesAtmsMap.ui.json} +0 -0
- /package/mobile/src/components/{OfficeMap/OfficeMap.ui.json → OfficesAtmsMap/OfficesAtmsMaps.example.json} +0 -0
- /package/src/components/{ExchangeRateOffice/ExchangeRateOffice.ui.json → OfficesAtmsMap/OfficesAtmsMap.ui.json} +0 -0
- /package/src/components/{OfficeMap/OfficeMap.ui.json → OfficesAtmsMap/OfficesAtmsMaps.example.json} +0 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
2
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
3
|
+
import { Badge } from './Badge';
|
|
4
|
+
import { CardCell } from './CardCell';
|
|
5
|
+
import { CardRow } from './CardRow';
|
|
6
|
+
import { Branch, Currency, WorkSchedule, WorkScheduleWeek } from './useOfficesAtmsMap';
|
|
7
|
+
|
|
8
|
+
const WEEKDAY_MAP = [
|
|
9
|
+
['Понедельник', 'workingMonday'],
|
|
10
|
+
['Вторник', 'workingTuesday'],
|
|
11
|
+
['Среда', 'workingWednesday'],
|
|
12
|
+
['Четверг', 'workingThursday'],
|
|
13
|
+
['Пятница', 'workingFriday'],
|
|
14
|
+
['Суббота', 'workingSaturday'],
|
|
15
|
+
['Воскресенье', 'workingSunday'],
|
|
16
|
+
];
|
|
17
|
+
|
|
18
|
+
const currentWeekDayIdx = new Date().getDay();
|
|
19
|
+
|
|
20
|
+
export const renderOfficeCard = (
|
|
21
|
+
{
|
|
22
|
+
name,
|
|
23
|
+
address,
|
|
24
|
+
phone,
|
|
25
|
+
fax,
|
|
26
|
+
phoneBusiness,
|
|
27
|
+
phoneNatural,
|
|
28
|
+
phoneCallCentre,
|
|
29
|
+
phoneCurrencyControl,
|
|
30
|
+
workSchedule,
|
|
31
|
+
exchangeRate,
|
|
32
|
+
}: Branch,
|
|
33
|
+
index: number,
|
|
34
|
+
) => {
|
|
35
|
+
const workScheduleWeek = workSchedule ? getWorkScheduleWeek(workSchedule) : null;
|
|
36
|
+
const [currentWeekDay] = workScheduleWeek?.slice(currentWeekDayIdx - 1) ?? [];
|
|
37
|
+
|
|
38
|
+
return (
|
|
39
|
+
<div key={String(index)} className="bg-white col-span-12 p-3xl border-green border">
|
|
40
|
+
<div className="flex justify-between">
|
|
41
|
+
<Text size="text-h4">{name}</Text>
|
|
42
|
+
{renderCurrentDaySchedule(currentWeekDay)}
|
|
43
|
+
</div>
|
|
44
|
+
{address ? (
|
|
45
|
+
<div className="flex pb-xl pt-xs gap-2xs">
|
|
46
|
+
<Icon name="GeolocationIcon" width="24" height="24" />
|
|
47
|
+
<Text size="text-l">{address}</Text>
|
|
48
|
+
</div>
|
|
49
|
+
) : null}
|
|
50
|
+
<CardRow className="flex-wrap">
|
|
51
|
+
<CardCell label="Факс" value={fax} />
|
|
52
|
+
<CardCell label="Телефон филиала" value={phone} />
|
|
53
|
+
<CardCell label="Для обращений юридических лиц" value={phoneBusiness} />
|
|
54
|
+
<CardCell label="Обслуживание физических лиц" value={phoneNatural} />
|
|
55
|
+
<CardCell label="Для консультаций по валютному контролю" value={phoneCurrencyControl} />
|
|
56
|
+
<CardCell label="Контакт-центр" value={phoneCallCentre} />
|
|
57
|
+
</CardRow>
|
|
58
|
+
{workScheduleWeek?.length ? <CardRow>{workScheduleWeek?.map(renderDay)}</CardRow> : null}
|
|
59
|
+
{exchangeRate?.currencies?.length ? (
|
|
60
|
+
<CardRow className="flex-wrap">{exchangeRate?.currencies?.map(renderCurrency)}</CardRow>
|
|
61
|
+
) : null}
|
|
62
|
+
</div>
|
|
63
|
+
);
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
const getWorkScheduleWeek = (workSchedule?: WorkSchedule): WorkScheduleWeek[] =>
|
|
67
|
+
WEEKDAY_MAP.map(([title, key]) => {
|
|
68
|
+
const dayOff = ['workingSaturday', 'workingSunday'].includes(key);
|
|
69
|
+
|
|
70
|
+
return {
|
|
71
|
+
title,
|
|
72
|
+
status: Boolean(workSchedule?.[key]),
|
|
73
|
+
workTime: dayOff ? workSchedule?.workTimeSaturday : workSchedule?.workTime,
|
|
74
|
+
lunchHour: dayOff ? workSchedule?.lunchHourSaturday : workSchedule?.lunchHour,
|
|
75
|
+
get hasLunch() {
|
|
76
|
+
return /\d+/.test(this.lunchHour ?? '');
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export const renderCurrency = (
|
|
82
|
+
{ currency, buyExchangeRate, saleExchangeRate }: Currency,
|
|
83
|
+
i: number,
|
|
84
|
+
) => (
|
|
85
|
+
<div key={String(i)} className="flex gap-lg h-full">
|
|
86
|
+
{currency?.currency ? <CardCell label="Валюта" value={currency.currency} /> : null}
|
|
87
|
+
{buyExchangeRate ? <CardCell label="Купить" value={String(buyExchangeRate)} /> : null}
|
|
88
|
+
{saleExchangeRate ? <CardCell label="Продать" value={String(saleExchangeRate)} /> : null}
|
|
89
|
+
</div>
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
//TODO: Add logic time https://github.com/redneckz/wildless-cms-uni-blocks/pull/1549
|
|
93
|
+
export const renderCurrentDaySchedule = (workScheduleWeek?: WorkScheduleWeek) => {
|
|
94
|
+
if (!workScheduleWeek) {
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
const { lunchHour, status, workTime, hasLunch } = workScheduleWeek;
|
|
99
|
+
|
|
100
|
+
return status ? (
|
|
101
|
+
<div className="flex gap-s">
|
|
102
|
+
{workTime ? <Badge color="green">{workTime}</Badge> : null}
|
|
103
|
+
{lunchHour && hasLunch ? <Badge color="yellow">{lunchHour}</Badge> : null}
|
|
104
|
+
</div>
|
|
105
|
+
) : (
|
|
106
|
+
<Badge color="red">Выходной</Badge>
|
|
107
|
+
);
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export const renderDay = (
|
|
111
|
+
{ title, status, workTime, lunchHour, hasLunch }: WorkScheduleWeek,
|
|
112
|
+
index: number,
|
|
113
|
+
) => (
|
|
114
|
+
<CardCell
|
|
115
|
+
key={String(index)}
|
|
116
|
+
label={title}
|
|
117
|
+
value={status && workTime ? workTime : ''}
|
|
118
|
+
subText={!status ? 'Выходной' : lunchHour}
|
|
119
|
+
subColor={!status || hasLunch ? 'text-error' : 'text-green-dark'}
|
|
120
|
+
/>
|
|
121
|
+
);
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
|
|
2
|
+
import { IconName } from '../../icons/IconName';
|
|
3
|
+
import { fetchJSON } from '../../utils/fetchJSON';
|
|
4
|
+
|
|
5
|
+
const MAP_URL = {
|
|
6
|
+
offices: '/api/v1/branches',
|
|
7
|
+
atms: '/api/v1/atms',
|
|
8
|
+
};
|
|
9
|
+
const EMPTY_VALUE = [];
|
|
10
|
+
|
|
11
|
+
export type DataType = keyof typeof MAP_URL;
|
|
12
|
+
|
|
13
|
+
export interface Currency {
|
|
14
|
+
buyExchangeRate?: number;
|
|
15
|
+
saleExchangeRate?: number;
|
|
16
|
+
currency?: {
|
|
17
|
+
id?: number;
|
|
18
|
+
code?: string;
|
|
19
|
+
currency?: string;
|
|
20
|
+
name?: string;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface ExchangeRate {
|
|
25
|
+
currencies?: Currency[];
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type WorkScheduleWeek = {
|
|
29
|
+
title?: string;
|
|
30
|
+
status?: boolean;
|
|
31
|
+
workTime?: string;
|
|
32
|
+
lunchHour?: string;
|
|
33
|
+
hasLunch?: boolean;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export type NearbyOffices = {
|
|
37
|
+
title?: string;
|
|
38
|
+
time?: string;
|
|
39
|
+
distance?: string;
|
|
40
|
+
icon?: IconName;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export type WorkSchedule = {
|
|
44
|
+
workTime?: string;
|
|
45
|
+
lunchHour?: string;
|
|
46
|
+
workTimeSaturday?: string;
|
|
47
|
+
lunchHourSaturday?: string;
|
|
48
|
+
workingMonday?: boolean;
|
|
49
|
+
workingTuesday?: boolean;
|
|
50
|
+
workingWednesday?: boolean;
|
|
51
|
+
workingThursday?: boolean;
|
|
52
|
+
workingFriday?: boolean;
|
|
53
|
+
workingSaturday?: boolean;
|
|
54
|
+
workingSunday?: boolean;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
export type SafeBoxCaseTariff = {
|
|
58
|
+
id?: number;
|
|
59
|
+
tariffType?: string;
|
|
60
|
+
tariffValue?: number;
|
|
61
|
+
tariffTypeDescription?: string;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
export type SafeBoxCase = {
|
|
65
|
+
id?: number;
|
|
66
|
+
count?: number;
|
|
67
|
+
safeBoxCasesSize?: string;
|
|
68
|
+
tariffs: SafeBoxCaseTariff[];
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export type SafeBoxCaseVolume = {
|
|
72
|
+
volume?: string;
|
|
73
|
+
safeBoxCases?: SafeBoxCase[];
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
export interface Branch {
|
|
77
|
+
name?: string;
|
|
78
|
+
address?: string;
|
|
79
|
+
phone?: string;
|
|
80
|
+
fax?: string;
|
|
81
|
+
phoneBusiness?: string;
|
|
82
|
+
phoneNatural?: string;
|
|
83
|
+
phoneCurrencyControl?: string;
|
|
84
|
+
phoneCallCentre?: string;
|
|
85
|
+
workSchedule?: WorkSchedule;
|
|
86
|
+
gpsLatitude?: number;
|
|
87
|
+
gpsLongitude?: number;
|
|
88
|
+
exchangeRate?: ExchangeRate;
|
|
89
|
+
safeBoxCaseVolumes?: SafeBoxCaseVolume[];
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface Atm {
|
|
93
|
+
location?: string;
|
|
94
|
+
address?: string;
|
|
95
|
+
billAcceptorType?: string;
|
|
96
|
+
terminalType?: string;
|
|
97
|
+
billAcceptorEnable?: boolean;
|
|
98
|
+
atmAccess?: string;
|
|
99
|
+
atmCode?: string;
|
|
100
|
+
workTime?: string;
|
|
101
|
+
gpsLatitude?: number;
|
|
102
|
+
gpsLongitude?: number;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function useOfficesAtmsMap(regionCode?: string, type: DataType = 'offices') {
|
|
106
|
+
const { data } = useAsyncData<Branch[] | Atm[], any, string | null>(
|
|
107
|
+
`${MAP_URL[type]}?regionCode=${regionCode}`,
|
|
108
|
+
fetchMap,
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
return data || EMPTY_VALUE;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const fetchMap = async (url: string): Promise<Branch[] | Atm[]> => {
|
|
115
|
+
const result = await fetchJSON<Branch[] | Atm[]>(url, { method: 'GET' });
|
|
116
|
+
|
|
117
|
+
return result || EMPTY_VALUE;
|
|
118
|
+
};
|
|
@@ -4,18 +4,18 @@ import { toLocalNumberFormat } from '../../utils/toLocalNumberFormat';
|
|
|
4
4
|
export const renderInsuranceSumMonth = (sum?: number, monthLimit?: number) =>
|
|
5
5
|
sum || monthLimit ? (
|
|
6
6
|
<div className="flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-xl">
|
|
7
|
-
{Number(sum) > 0 ? renderValueBlock('Страховая
|
|
8
|
-
{Number(monthLimit) > 0 ? renderValueBlock('Ежемесячный
|
|
7
|
+
{Number(sum) > 0 ? renderValueBlock('Страховая сумма', sum) : null}
|
|
8
|
+
{Number(monthLimit) > 0 ? renderValueBlock('Ежемесячный лимит', monthLimit) : null}
|
|
9
9
|
</div>
|
|
10
10
|
) : null;
|
|
11
11
|
|
|
12
12
|
const renderValueBlock = (title: string, value = 0) => (
|
|
13
|
-
<div className="basis-full flex flex-col-reverse sm:flex-row sm:justify-between items-baseline whitespace-pre">
|
|
14
|
-
<Text font="font-light" size="text-l">
|
|
13
|
+
<div className="basis-full flex flex-col-reverse sm:flex-row sm:justify-between sm:bg-main-divider sm:py-m sm:px-lg sm:rounded-md items-baseline whitespace-pre">
|
|
14
|
+
<Text font="font-light" size="text-l" color="text-secondary-text">
|
|
15
15
|
{title}
|
|
16
16
|
</Text>
|
|
17
|
-
<
|
|
17
|
+
<span className="font-sans text-h6 sm:text-primary-main text-primary-text">
|
|
18
18
|
{toLocalNumberFormat(2)(value)} ₽
|
|
19
|
-
</
|
|
19
|
+
</span>
|
|
20
20
|
</div>
|
|
21
21
|
);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '../../setup-fixture';
|
|
2
2
|
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
|
-
import type { ComplexBenefitContent } from '../../ui-kit/BenefitItem/BenefitItemContent';
|
|
5
4
|
import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
6
5
|
import { ProductTile } from './ProductTile';
|
|
7
6
|
import type { ProductTileContent } from './ProductTileContent';
|
|
7
|
+
import { BenefitTextProps } from '../../ui-kit/BenefitItem/renderBenefitText';
|
|
8
8
|
|
|
9
9
|
const imageSize = {
|
|
10
10
|
height: 200,
|
|
@@ -39,25 +39,28 @@ const building: Picture = {
|
|
|
39
39
|
size: imageSize,
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
const benefits:
|
|
42
|
+
const benefits: BenefitTextProps[] = [
|
|
43
43
|
{
|
|
44
44
|
type: 'default',
|
|
45
45
|
label: 'до 5 млн Р',
|
|
46
46
|
description: 'Кредитный лимит',
|
|
47
|
+
descriptionClassName: 'text-right',
|
|
47
48
|
},
|
|
48
49
|
{
|
|
49
50
|
type: 'default',
|
|
50
51
|
label: 'от 12,5%',
|
|
51
52
|
description: 'Процентная ставка',
|
|
53
|
+
descriptionClassName: 'text-right',
|
|
52
54
|
},
|
|
53
55
|
{
|
|
54
56
|
type: 'default',
|
|
55
57
|
label: 'до 5 лет',
|
|
56
58
|
description: 'Срок кредитования',
|
|
59
|
+
descriptionClassName: 'text-right',
|
|
57
60
|
},
|
|
58
61
|
];
|
|
59
62
|
|
|
60
|
-
const benefits2:
|
|
63
|
+
const benefits2: BenefitTextProps[] = [
|
|
61
64
|
{
|
|
62
65
|
type: 'default',
|
|
63
66
|
label: '1 год',
|
|
@@ -65,7 +68,7 @@ const benefits2: ComplexBenefitContent[] = [
|
|
|
65
68
|
},
|
|
66
69
|
];
|
|
67
70
|
|
|
68
|
-
const multilineBenefits:
|
|
71
|
+
const multilineBenefits: BenefitTextProps[] = [
|
|
69
72
|
{
|
|
70
73
|
type: 'default',
|
|
71
74
|
label: 'Широкий',
|
|
@@ -20,7 +20,7 @@ export const ProductTile = JSX<ProductTileProps>(
|
|
|
20
20
|
<BlockWrapper className={className} padding="p-0" {...rest}>
|
|
21
21
|
<BaseProductTile
|
|
22
22
|
className="h-full"
|
|
23
|
-
defaultPadding="p-xl"
|
|
23
|
+
defaultPadding="p-4xl sm:p-xl"
|
|
24
24
|
padding={padding}
|
|
25
25
|
headlineVersion={headlineVersion}
|
|
26
26
|
isTabularBenefits={isTabularBenefits}
|
package/src/icons/CloseIcon.svg
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<svg title="Крестик" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M3.70304 5.11173C3.31449 4.72318 3.31449 4.09322 3.70304 3.70468C4.09159 3.31613 4.72155 3.31613 5.1101 3.70467L11.3313 9.92584C11.7198 10.3144 11.7198 10.9444 11.3313 11.3329C10.9427 11.7214 10.3128 11.7214 9.92421 11.3329L3.70304 5.11173Z" fill="
|
|
3
|
-
<path d="M12.6679 14.0766C12.2793 13.688 12.2793 13.0581 12.6679 12.6695C13.0564 12.281 13.6864 12.281 14.0749 12.6695L20.2961 18.8907C20.6847 19.2792 20.6847 19.9092 20.2961 20.2977C19.9076 20.6863 19.2776 20.6863 18.8891 20.2977L12.6679 14.0766Z" fill="
|
|
4
|
-
<path d="M14.0746 11.3316C13.6861 11.7202 13.0561 11.7202 12.6676 11.3316C12.279 10.9431 12.279 10.3131 12.6676 9.92457L18.8887 3.70341C19.2773 3.31486 19.9072 3.31486 20.2958 3.70341C20.6843 4.09195 20.6843 4.72191 20.2958 5.11046L14.0746 11.3316Z" fill="
|
|
5
|
-
<path d="M5.11027 20.2262C4.72172 20.6147 4.09176 20.6147 3.70321 20.2262C3.31466 19.8376 3.31466 19.2077 3.70321 18.8191L9.92438 12.5979C10.3129 12.2094 10.9429 12.2094 11.3314 12.5979C11.72 12.9865 11.72 13.6164 11.3314 14.005L5.11027 20.2262Z" fill="
|
|
2
|
+
<path d="M3.70304 5.11173C3.31449 4.72318 3.31449 4.09322 3.70304 3.70468C4.09159 3.31613 4.72155 3.31613 5.1101 3.70467L11.3313 9.92584C11.7198 10.3144 11.7198 10.9444 11.3313 11.3329C10.9427 11.7214 10.3128 11.7214 9.92421 11.3329L3.70304 5.11173Z" fill="currentColor"/>
|
|
3
|
+
<path d="M12.6679 14.0766C12.2793 13.688 12.2793 13.0581 12.6679 12.6695C13.0564 12.281 13.6864 12.281 14.0749 12.6695L20.2961 18.8907C20.6847 19.2792 20.6847 19.9092 20.2961 20.2977C19.9076 20.6863 19.2776 20.6863 18.8891 20.2977L12.6679 14.0766Z" fill="currentColor"/>
|
|
4
|
+
<path d="M14.0746 11.3316C13.6861 11.7202 13.0561 11.7202 12.6676 11.3316C12.279 10.9431 12.279 10.3131 12.6676 9.92457L18.8887 3.70341C19.2773 3.31486 19.9072 3.31486 20.2958 3.70341C20.6843 4.09195 20.6843 4.72191 20.2958 5.11046L14.0746 11.3316Z" fill="currentColor"/>
|
|
5
|
+
<path d="M5.11027 20.2262C4.72172 20.6147 4.09176 20.6147 3.70321 20.2262C3.31466 19.8376 3.31466 19.2077 3.70321 18.8191L9.92438 12.5979C10.3129 12.2094 10.9429 12.2094 11.3314 12.5979C11.72 12.9865 11.72 13.6164 11.3314 14.005L5.11027 20.2262Z" fill="currentColor"/>
|
|
6
6
|
</svg>
|
|
@@ -10,6 +10,8 @@ import { List } from '../List/List';
|
|
|
10
10
|
import { RichText } from '../RichText/RichText';
|
|
11
11
|
import { Tags } from '../Tags/Tags';
|
|
12
12
|
import type { BaseProductTileContent } from './BaseProductTileContent';
|
|
13
|
+
import type { HeadlineVersion } from '../../model/HeadlineType';
|
|
14
|
+
import type { TextAlign } from '../Text/TextProps';
|
|
13
15
|
|
|
14
16
|
interface BaseProductTileProps extends UniBlockProps, BaseProductTileContent {}
|
|
15
17
|
|
|
@@ -42,15 +44,7 @@ export const BaseProductTile = JSX<BaseProductTileProps>(
|
|
|
42
44
|
children,
|
|
43
45
|
}) => {
|
|
44
46
|
const img = image?.src ? <Img image={image} /> : null;
|
|
45
|
-
const headline = (
|
|
46
|
-
<Headline
|
|
47
|
-
title={title}
|
|
48
|
-
description={description}
|
|
49
|
-
headlineVersion={headlineVersion}
|
|
50
|
-
align={align}
|
|
51
|
-
isEmbedded={true}
|
|
52
|
-
/>
|
|
53
|
-
);
|
|
47
|
+
const headline = renderHeadline({ title, description, headlineVersion, align });
|
|
54
48
|
const filteredBenefits = benefits?.filter(
|
|
55
49
|
(_) => _?.type === 'rte' || 'label' in _ || 'description' in _,
|
|
56
50
|
);
|
|
@@ -66,7 +60,7 @@ export const BaseProductTile = JSX<BaseProductTileProps>(
|
|
|
66
60
|
isImageAlwaysOnRight={isImageAlwaysOnRight}
|
|
67
61
|
buttons={renderButtonsSection(buttons)}
|
|
68
62
|
>
|
|
69
|
-
<div className="flex flex-col gap-xl">
|
|
63
|
+
<div className="flex flex-col sm:gap-xl gap-4xl">
|
|
70
64
|
{filteredBenefits?.length ? (
|
|
71
65
|
<BenefitsList
|
|
72
66
|
benefitsVersion={benefitsVersion}
|
|
@@ -90,3 +84,21 @@ const leftOrRightImage = (img: VNode, directionRight: boolean) =>
|
|
|
90
84
|
directionRight ? { rightImage: img } : { leftImage: img };
|
|
91
85
|
|
|
92
86
|
const renderTags = (tags: string[]) => (tags?.length ? <Tags tags={tags} /> : null);
|
|
87
|
+
|
|
88
|
+
interface RenderHeadline {
|
|
89
|
+
title?: string;
|
|
90
|
+
description?: string;
|
|
91
|
+
headlineVersion?: HeadlineVersion;
|
|
92
|
+
align?: TextAlign;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
const renderHeadline = ({ title, description, headlineVersion, align }: RenderHeadline) =>
|
|
96
|
+
title || description ? (
|
|
97
|
+
<Headline
|
|
98
|
+
title={title}
|
|
99
|
+
description={description}
|
|
100
|
+
headlineVersion={headlineVersion}
|
|
101
|
+
align={align}
|
|
102
|
+
isEmbedded={true}
|
|
103
|
+
/>
|
|
104
|
+
) : null;
|
|
@@ -16,9 +16,9 @@ interface BaseTileProps extends UniBlockProps {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
const imageAlignmentMap: Record<Align, string> = {
|
|
19
|
-
start: '@
|
|
20
|
-
center: '@
|
|
21
|
-
end: '@
|
|
19
|
+
start: '@xl:self-start',
|
|
20
|
+
center: '@xl:self-center',
|
|
21
|
+
end: '@xl:self-end',
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
export const BaseTile = JSX<BaseTileProps>(
|
|
@@ -47,7 +47,7 @@ export const BaseTile = JSX<BaseTileProps>(
|
|
|
47
47
|
<div
|
|
48
48
|
className={style(
|
|
49
49
|
'grow relative flex justify-around @lg:justify-between items-stretch gap-3xl',
|
|
50
|
-
isImageAlwaysOnRight ? 'flex-row' : 'flex-col @lg:flex-row',
|
|
50
|
+
isImageAlwaysOnRight ? 'flex-row' : 'flex-col-reverse @lg:flex-row',
|
|
51
51
|
)}
|
|
52
52
|
>
|
|
53
53
|
{renderImageContainer(leftImage, { imageAlign })}
|
|
@@ -67,7 +67,7 @@ export const BaseTile = JSX<BaseTileProps>(
|
|
|
67
67
|
{buttons}
|
|
68
68
|
</div>
|
|
69
69
|
{renderImageContainer(rightImage, {
|
|
70
|
-
className: isImageAlwaysOnRight ? '' : '
|
|
70
|
+
className: isImageAlwaysOnRight ? '' : '@xl:order-1',
|
|
71
71
|
imageAlign,
|
|
72
72
|
})}
|
|
73
73
|
</div>
|
|
@@ -10,7 +10,7 @@ export const renderBenefitIcon = (
|
|
|
10
10
|
icon ? (
|
|
11
11
|
<div
|
|
12
12
|
className={style(
|
|
13
|
-
'w-12 h-12 min-w-12 box-border flex items-center justify-center rounded-icon',
|
|
13
|
+
'sm:w-12 sm:h-12 sm:min-w-12 w-11 h-11 min-w-11 box-border flex items-center justify-center rounded-icon',
|
|
14
14
|
benefitsVersion === 'normal'
|
|
15
15
|
? 'bg-secondary-light text-primary-main'
|
|
16
16
|
: 'bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black',
|
|
@@ -3,12 +3,20 @@ import type { ComplexBenefitContent } from './BenefitItemContent';
|
|
|
3
3
|
import { renderBenefitDescription } from './renderBenefitDescription';
|
|
4
4
|
import { renderBenefitLabel } from './renderBenefitLabel';
|
|
5
5
|
|
|
6
|
-
export
|
|
6
|
+
export type BenefitTextProps = ComplexBenefitContent & {
|
|
7
|
+
descriptionClassName?: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export const renderBenefitText = (_: BenefitTextProps, i?: number) =>
|
|
7
11
|
_.type === 'rte' && '__html' in _ && _.__html ? (
|
|
8
12
|
<RichText key={`rte-${i}`} {..._} />
|
|
9
13
|
) : (
|
|
10
14
|
[
|
|
11
15
|
'label' in _ ? renderBenefitLabel(_.label, i) : null,
|
|
12
|
-
'description' in _ ?
|
|
16
|
+
'description' in _ ? (
|
|
17
|
+
<span key={String(i)} className={_.descriptionClassName}>
|
|
18
|
+
{renderBenefitDescription(_.description, i)}
|
|
19
|
+
</span>
|
|
20
|
+
) : null,
|
|
13
21
|
]
|
|
14
22
|
);
|
|
@@ -18,7 +18,7 @@ export const renderButtonsSection = (
|
|
|
18
18
|
<div
|
|
19
19
|
className={style(
|
|
20
20
|
'flex',
|
|
21
|
-
isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-m',
|
|
21
|
+
isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-lg sm:gap-m',
|
|
22
22
|
className,
|
|
23
23
|
)}
|
|
24
24
|
>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { RowsData } from './InnerTableProps';
|
|
2
1
|
import { style } from '../../utils/style';
|
|
3
2
|
import { getHorizontalShift } from './getHorizontalShift';
|
|
3
|
+
import type { RowsData } from './InnerTableProps';
|
|
4
4
|
|
|
5
5
|
export const renderInnerTableRow =
|
|
6
6
|
(activeColumnIndex: number) => (rowData: RowsData[], rowIdx: number) => {
|
|
@@ -18,7 +18,7 @@ export const renderInnerTableRow =
|
|
|
18
18
|
return (
|
|
19
19
|
<div key={String(rowIdx)} className="flex border-main-divider border-b border-solid h-full">
|
|
20
20
|
{headerColumn?.data ? (
|
|
21
|
-
<div className="text-xl font-light min-w-56 py-lg">{headerColumn.data}</div>
|
|
21
|
+
<div className="text-xl font-light w-56 min-w-56 py-lg">{headerColumn.data}</div>
|
|
22
22
|
) : null}
|
|
23
23
|
<div className="flex flex-grow overflow-hidden">
|
|
24
24
|
<div
|
|
@@ -21,8 +21,14 @@ export const Sitemap = JSX<SitemapProps>(({ className, topItems }) => {
|
|
|
21
21
|
);
|
|
22
22
|
});
|
|
23
23
|
|
|
24
|
+
const FOOTER_AREA_KEY = 'footer';
|
|
25
|
+
|
|
24
26
|
const renderColumn = (menuItem: TopMenuItemProps & { onClick: () => void }, index: number) => {
|
|
25
|
-
const { text, items, href, target, onClick } = menuItem;
|
|
27
|
+
const { text, items = [], href, target, onClick } = menuItem;
|
|
28
|
+
|
|
29
|
+
const visibleSubItems = items.filter(
|
|
30
|
+
(_) => !_.displayArea || _.displayArea.toLowerCase() === FOOTER_AREA_KEY,
|
|
31
|
+
);
|
|
26
32
|
|
|
27
33
|
return (
|
|
28
34
|
<div key={String(index)} className="flex flex-col gap-s w-1/4">
|
|
@@ -34,11 +40,9 @@ const renderColumn = (menuItem: TopMenuItemProps & { onClick: () => void }, inde
|
|
|
34
40
|
>
|
|
35
41
|
{text || `Раздел ${index}`}
|
|
36
42
|
</a>
|
|
37
|
-
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<ColumnItem key={String(i)} {..._} basePath={appendSlash(href)} index={i} />
|
|
41
|
-
))}
|
|
43
|
+
{visibleSubItems.map((_, i) => (
|
|
44
|
+
<ColumnItem key={String(i)} {..._} basePath={appendSlash(href)} index={i} />
|
|
45
|
+
))}
|
|
42
46
|
</div>
|
|
43
47
|
);
|
|
44
48
|
};
|
|
@@ -30,10 +30,12 @@ export type TextColor = BlockVersionMolecule<
|
|
|
30
30
|
| 'text-primary-main'
|
|
31
31
|
| 'text-secondary-text'
|
|
32
32
|
| 'text-secondary-light'
|
|
33
|
+
| 'text-yellow'
|
|
33
34
|
| 'text-error'
|
|
34
35
|
| 'text-white'
|
|
35
36
|
| 'text-white/80'
|
|
36
37
|
| 'text-green'
|
|
38
|
+
| 'text-green-dark'
|
|
37
39
|
>;
|
|
38
40
|
|
|
39
41
|
/**
|