@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
|
@@ -22,6 +22,8 @@ export interface HeaderSubMenuProps {
|
|
|
22
22
|
internetBankUrl?: string;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
const HEADER_AREA_KEY = 'header';
|
|
26
|
+
|
|
25
27
|
export const HeaderSubMenu = JSX<HeaderSubMenuProps>(
|
|
26
28
|
({ subItems = [], version, internetBankUrl }) => {
|
|
27
29
|
const iconVersion: IconVersion = version === 'transparent' ? 'white' : 'black';
|
|
@@ -29,7 +31,10 @@ export const HeaderSubMenu = JSX<HeaderSubMenuProps>(
|
|
|
29
31
|
const router = useRouter();
|
|
30
32
|
|
|
31
33
|
const visibleSubItems = useMemo(
|
|
32
|
-
() =>
|
|
34
|
+
() =>
|
|
35
|
+
subItems.filter(
|
|
36
|
+
(item) => !item.displayArea || item.displayArea.toLowerCase() === HEADER_AREA_KEY,
|
|
37
|
+
),
|
|
33
38
|
[subItems],
|
|
34
39
|
);
|
|
35
40
|
const activeSubItem = findActiveSubItem(router)(subItems);
|
|
@@ -2,13 +2,13 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
2
2
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
import { BaseTile } from '../../ui-kit/BaseTile/BaseTile';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
|
+
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
5
6
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
7
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
8
|
import { style } from '../../utils/style';
|
|
8
9
|
import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
9
10
|
import { renderDescription } from './renderDescription';
|
|
10
11
|
import { renderList } from './renderList';
|
|
11
|
-
import { buttonsConditionStyle } from './buttonsConditionStyle';
|
|
12
12
|
|
|
13
13
|
export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {}
|
|
14
14
|
|
|
@@ -30,6 +30,8 @@ export const MobileAppTile = JSX<MobileAppTileProps>(
|
|
|
30
30
|
}) => {
|
|
31
31
|
const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
|
|
32
32
|
|
|
33
|
+
const img = image?.src ? <Img className="hidden lg:block" image={image} /> : null;
|
|
34
|
+
|
|
33
35
|
return (
|
|
34
36
|
<BlockWrapper
|
|
35
37
|
className={style('min-h-80', className)}
|
|
@@ -50,17 +52,28 @@ export const MobileAppTile = JSX<MobileAppTileProps>(
|
|
|
50
52
|
/>
|
|
51
53
|
) : null
|
|
52
54
|
}
|
|
53
|
-
rightImage={
|
|
54
|
-
buttons={
|
|
55
|
+
rightImage={img}
|
|
56
|
+
buttons={renderButtonsSection(buttons)}
|
|
55
57
|
>
|
|
56
58
|
{renderDescription(description)}
|
|
57
|
-
<div
|
|
59
|
+
<div
|
|
60
|
+
className={style(
|
|
61
|
+
'gap-m',
|
|
62
|
+
'flex flex-1 flex-col',
|
|
63
|
+
'flex-col items-start @4xl:flex-row @4xl:items-center',
|
|
64
|
+
)}
|
|
65
|
+
>
|
|
66
|
+
{renderList(items, listItemSize)}
|
|
58
67
|
{qr?.src ? (
|
|
59
|
-
<div
|
|
68
|
+
<div
|
|
69
|
+
className={style(
|
|
70
|
+
'flex justify-center bg-white rounded-md @4xl:-order-1',
|
|
71
|
+
containerStyle,
|
|
72
|
+
)}
|
|
73
|
+
>
|
|
60
74
|
<Img className="w-fit" image={qr} />
|
|
61
75
|
</div>
|
|
62
76
|
) : null}
|
|
63
|
-
{renderList(items, listItemSize)}
|
|
64
77
|
{image?.src ? <Img className="lg:hidden" image={image} /> : null}
|
|
65
78
|
</div>
|
|
66
79
|
</BaseTile>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
3
|
import type { Picture } from '../../model/Picture';
|
|
4
|
+
import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
4
5
|
import type { HeadingCommonProps } from '../../ui-kit/Heading/HeadingProps';
|
|
5
6
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
6
7
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
|
-
import type { ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @title Мобильное приложение
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
3
|
+
import type { TextColor } from '../../ui-kit/Text/TextProps';
|
|
4
|
+
import { style } from '../../utils/style';
|
|
5
|
+
|
|
6
|
+
const colorStyle: Record<string, { border: string; text: TextColor }> = {
|
|
7
|
+
yellow: { border: 'border-yellow-light', text: 'text-yellow' },
|
|
8
|
+
green: { border: 'border-green-light', text: 'text-green-dark' },
|
|
9
|
+
gray: { border: 'border-gray', text: 'text-secondary-text' },
|
|
10
|
+
red: { border: 'border-error', text: 'text-error' },
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export interface BadgeProps {
|
|
14
|
+
className?: string;
|
|
15
|
+
color?: keyof typeof colorStyle;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const Badge = JSX<BadgeProps>(({ className, children, color = 'gray' }) => (
|
|
19
|
+
<div
|
|
20
|
+
className={style(
|
|
21
|
+
'p-s border border-gray rounded-md flex items-center',
|
|
22
|
+
colorStyle[color].border,
|
|
23
|
+
className,
|
|
24
|
+
)}
|
|
25
|
+
>
|
|
26
|
+
<Text size="text-m" color={colorStyle[color].text}>
|
|
27
|
+
{children}
|
|
28
|
+
</Text>
|
|
29
|
+
</div>
|
|
30
|
+
));
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
3
|
+
import type { TextColor } from '../../ui-kit/Text/TextProps';
|
|
4
|
+
import { style } from '../../utils/style';
|
|
5
|
+
|
|
6
|
+
export interface CardCellProps {
|
|
7
|
+
className?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
value?: string;
|
|
10
|
+
subText?: string;
|
|
11
|
+
subColor?: TextColor;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const CardCell = JSX<CardCellProps>(({ className, label, value, subText, subColor }) => {
|
|
15
|
+
const textItems = value?.split(',') ?? [];
|
|
16
|
+
|
|
17
|
+
if (!textItems.length && !subText) {
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
return (
|
|
22
|
+
<div className={style('flex gap-2xs flex-col h-full max-w-[300px]', className)}>
|
|
23
|
+
{label ? (
|
|
24
|
+
<Text color="text-secondary-text" font="font-light" size="text-m">
|
|
25
|
+
{label}
|
|
26
|
+
</Text>
|
|
27
|
+
) : null}
|
|
28
|
+
{textItems.filter(Boolean).map((text, i) => (
|
|
29
|
+
<Text key={String(i)} size="text-l">
|
|
30
|
+
{text.trim()}
|
|
31
|
+
</Text>
|
|
32
|
+
))}
|
|
33
|
+
{subText ? (
|
|
34
|
+
<Text color={subColor} size="text-m">
|
|
35
|
+
{subText}
|
|
36
|
+
</Text>
|
|
37
|
+
) : null}
|
|
38
|
+
</div>
|
|
39
|
+
);
|
|
40
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { style } from '../../utils/style';
|
|
3
|
+
|
|
4
|
+
export interface CardRowProps {
|
|
5
|
+
className?: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const CardRow = JSX<CardRowProps>(({ className, children }) => (
|
|
9
|
+
<div
|
|
10
|
+
className={style(
|
|
11
|
+
'flex border-t border-solid border-main-divider py-xl gap-x-6xl gap-y-xl',
|
|
12
|
+
className,
|
|
13
|
+
)}
|
|
14
|
+
>
|
|
15
|
+
{children}
|
|
16
|
+
</div>
|
|
17
|
+
));
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
+
import { useMemo } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
+
import { FormFieldRegisterer, useForm } from '../../hooks/useForm';
|
|
4
|
+
import { useLocation } from '../../hooks/useLocation';
|
|
5
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
6
|
+
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
7
|
+
import { Button } from '../../ui-kit/Button/Button';
|
|
8
|
+
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox';
|
|
9
|
+
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
10
|
+
import { Icon } from '../../ui-kit/Icon/Icon';
|
|
11
|
+
import { Img } from '../../ui-kit/Img/Img';
|
|
12
|
+
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph';
|
|
13
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
14
|
+
import { YandexMap } from '../../ui-kit/YandexMap/YandexMap';
|
|
15
|
+
import { style } from '../../utils/style';
|
|
16
|
+
import type { AtmsDef, OfficesAtmsMapContent } from './OfficesAtmsMapContent';
|
|
17
|
+
import { renderAtmCard } from './renderAtmCard';
|
|
18
|
+
import { renderOfficeCard } from './renderOfficeCard';
|
|
19
|
+
import { Atm, Branch, useOfficesAtmsMap } from './useOfficesAtmsMap';
|
|
20
|
+
|
|
21
|
+
const INITIAL_FILTRATION_OFFICES_STATE = {
|
|
22
|
+
safeBoxCaseVolumes: false,
|
|
23
|
+
workingSaturday: false,
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const INITIAL_FILTRATION_ATMS_STATE = {
|
|
27
|
+
terminalTypeAtms: true,
|
|
28
|
+
terminalTypeTerm: false,
|
|
29
|
+
workAllTime: false,
|
|
30
|
+
billAcceptorEnable: false,
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
const FILTRATION_LABELS = {
|
|
34
|
+
safeBoxCaseVolumes: 'Аренда индивидуальных сейфовых ячеек',
|
|
35
|
+
workingSaturday: 'Открыты по субботам',
|
|
36
|
+
terminalTypeAtms: 'Банкоматы',
|
|
37
|
+
terminalTypeTerm: 'Терминалы',
|
|
38
|
+
workAllTime: 'Круглосуточно',
|
|
39
|
+
billAcceptorEnable: 'Прием наличных',
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
const FILTRATION_BRANCHES_PREDICATES = {
|
|
43
|
+
safeBoxCaseVolumes: (item: Branch) => Boolean(item.safeBoxCaseVolumes),
|
|
44
|
+
workingSaturday: (item: Branch) => Boolean(item.workSchedule?.workingSaturday),
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
const FILTRATION_ATMS_PREDICATES = {
|
|
48
|
+
terminalTypeAtms: (item: Atm) => item.terminalType?.toLowerCase() === 'банкомат',
|
|
49
|
+
terminalTypeTerm: (item: Atm) => item.terminalType?.toLowerCase() === 'терминал',
|
|
50
|
+
workAllTime: (item: Atm) => item.workTime?.toLowerCase() === 'круглосуточно',
|
|
51
|
+
billAcceptorEnable: (item: Atm) => Boolean(item.billAcceptorEnable),
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export interface OfficesAtmsMapProps extends OfficesAtmsMapContent, UniBlockProps {}
|
|
55
|
+
|
|
56
|
+
export const OfficesAtmsMap = JSX<OfficesAtmsMapProps>(({ data, className = '', ...rest }) => {
|
|
57
|
+
const dataType = data?.dataType ?? 'offices';
|
|
58
|
+
const initialState =
|
|
59
|
+
dataType === 'offices' ? INITIAL_FILTRATION_OFFICES_STATE : INITIAL_FILTRATION_ATMS_STATE;
|
|
60
|
+
const [filtrationState, { field, reset }] = useForm(initialState);
|
|
61
|
+
|
|
62
|
+
const [currentLocation] = useLocation();
|
|
63
|
+
|
|
64
|
+
const [regionCode, title] = useMemo(
|
|
65
|
+
() => [currentLocation?.code || '000', getTitle(currentLocation?.name, dataType)],
|
|
66
|
+
[currentLocation, dataType],
|
|
67
|
+
);
|
|
68
|
+
|
|
69
|
+
const officesAtmsData = useOfficesAtmsMap(regionCode, dataType);
|
|
70
|
+
|
|
71
|
+
const filteredOfficesAtmsData = filterOfficesAtms(officesAtmsData, filtrationState);
|
|
72
|
+
|
|
73
|
+
const lengthOfficesAtms = filteredOfficesAtmsData.length;
|
|
74
|
+
|
|
75
|
+
const points = filteredOfficesAtmsData
|
|
76
|
+
.map((_: Branch | Atm) => [_.gpsLatitude, _.gpsLongitude].filter(Boolean) as number[])
|
|
77
|
+
.filter((_) => _ && _.length === 2);
|
|
78
|
+
|
|
79
|
+
return (
|
|
80
|
+
<BlockWrapper
|
|
81
|
+
version="transparent"
|
|
82
|
+
className={style('grid grid-cols-12 gap-1', className)}
|
|
83
|
+
defaultPadding="p-0"
|
|
84
|
+
{...rest}
|
|
85
|
+
>
|
|
86
|
+
<div className="col-span-12 bg-white">
|
|
87
|
+
<div className="pt-6xl px-6xl">
|
|
88
|
+
<div className="flex gap-2 pb-2xl">
|
|
89
|
+
<Heading headingType="h2">{title}</Heading>
|
|
90
|
+
{lengthOfficesAtms ? (
|
|
91
|
+
<Text size="text-h2" color="text-secondary-text">{`(${lengthOfficesAtms})`}</Text>
|
|
92
|
+
) : null}
|
|
93
|
+
</div>
|
|
94
|
+
{data && 'description' in data ? renderDescriptionBlock(data) : null}
|
|
95
|
+
{renderFiltrationForm(Object.keys(initialState), { field, reset })}
|
|
96
|
+
</div>
|
|
97
|
+
<div className="h-[600px]">
|
|
98
|
+
<YandexMap points={points} className="h-full" />
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
{filteredOfficesAtmsData.map(dataType === 'offices' ? renderOfficeCard : renderAtmCard)}
|
|
102
|
+
</BlockWrapper>
|
|
103
|
+
);
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
const filterOfficesAtms = (data: Branch[] | Atm[], filtrationState: Record<string, boolean>) => {
|
|
107
|
+
const truthyFilters = Object.keys(filtrationState).filter((key) => filtrationState[key]);
|
|
108
|
+
|
|
109
|
+
return 'name' in data
|
|
110
|
+
? (data as Branch[]).filter(filterOffices(truthyFilters))
|
|
111
|
+
: (data as Atm[]).filter(filterAtms(truthyFilters));
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
const filterOffices = (filters: string[]) => (item: Branch) =>
|
|
115
|
+
filters.every((filterName) => FILTRATION_BRANCHES_PREDICATES[filterName](item));
|
|
116
|
+
|
|
117
|
+
const filterAtms = (filters: string[]) => (item: Atm) =>
|
|
118
|
+
filters.every((filterName) => FILTRATION_ATMS_PREDICATES[filterName](item));
|
|
119
|
+
|
|
120
|
+
const getTitle = (name = '', dataType = 'offices') =>
|
|
121
|
+
dataType === 'offices' ? `Офисы филиала ${name}` : `Банкоматы филиала ${name}`;
|
|
122
|
+
|
|
123
|
+
const renderFiltrationForm = (
|
|
124
|
+
filters: string[],
|
|
125
|
+
{ field, reset }: { field: FormFieldRegisterer<any>; reset: () => void },
|
|
126
|
+
) => (
|
|
127
|
+
<div className="pb-2xl">
|
|
128
|
+
{filters?.length ? (
|
|
129
|
+
<div className="flex flex-wrap gap-3xl pb-2xl">
|
|
130
|
+
{filters.map((key) => (
|
|
131
|
+
<Checkbox key={key} text={FILTRATION_LABELS[key]} {...field(key)} />
|
|
132
|
+
))}
|
|
133
|
+
</div>
|
|
134
|
+
) : null}
|
|
135
|
+
<Button
|
|
136
|
+
version="transparent"
|
|
137
|
+
className="text-secondary-text [&>*]:p-0"
|
|
138
|
+
onClick={reset}
|
|
139
|
+
text="Очистить фильтр"
|
|
140
|
+
appendRight={<Icon name="CloseIcon" width="16" height="16" />}
|
|
141
|
+
/>
|
|
142
|
+
</div>
|
|
143
|
+
);
|
|
144
|
+
|
|
145
|
+
const renderDescriptionBlock = ({ description, list }: AtmsDef) => (
|
|
146
|
+
<div className="p-xl mb-2xl border border-gray rounded-md">
|
|
147
|
+
<Paragraph size="text-l" font="font-light">
|
|
148
|
+
{description}
|
|
149
|
+
</Paragraph>
|
|
150
|
+
{list?.length ? (
|
|
151
|
+
<div className="flex gap-2xl flex-wrap pt-xs">
|
|
152
|
+
{list.map((item, i) => (
|
|
153
|
+
<div key={String(i)} className="flex gap-xs items-center">
|
|
154
|
+
{item?.image ? <Img image={item.image} /> : null}
|
|
155
|
+
{item?.text ? (
|
|
156
|
+
<Text size="text-m" font="font-light">
|
|
157
|
+
{item.text}
|
|
158
|
+
</Text>
|
|
159
|
+
) : null}
|
|
160
|
+
</div>
|
|
161
|
+
))}
|
|
162
|
+
</div>
|
|
163
|
+
) : null}
|
|
164
|
+
</div>
|
|
165
|
+
);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EmptyOption } from '../../model/EmptyOptionType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* @title Пункт
|
|
7
|
+
*/
|
|
8
|
+
export type ItemList = {
|
|
9
|
+
text?: string;
|
|
10
|
+
image?: Picture;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* @title Офисы
|
|
15
|
+
* @default {"dataType": "offices"}
|
|
16
|
+
*/
|
|
17
|
+
export type OfficesDef = {
|
|
18
|
+
dataType: 'offices';
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @title Банкоматы
|
|
23
|
+
* @default {"dataType": "atms"}
|
|
24
|
+
*/
|
|
25
|
+
export type AtmsDef = {
|
|
26
|
+
dataType: 'atms';
|
|
27
|
+
/** @title Описание */
|
|
28
|
+
description: string;
|
|
29
|
+
/** @title Список */
|
|
30
|
+
list?: ItemList[];
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @title Данные
|
|
35
|
+
*/
|
|
36
|
+
export type OfficesAtmsBlockDef = EmptyOption | OfficesDef | AtmsDef;
|
|
37
|
+
|
|
38
|
+
export type OfficesAtmsMapContent = UniBlockContent & {
|
|
39
|
+
data?: OfficesAtmsBlockDef;
|
|
40
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
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 { Atm } from './useOfficesAtmsMap';
|
|
7
|
+
|
|
8
|
+
export const renderAtmCard = (
|
|
9
|
+
{
|
|
10
|
+
location,
|
|
11
|
+
address,
|
|
12
|
+
billAcceptorType,
|
|
13
|
+
terminalType,
|
|
14
|
+
billAcceptorEnable,
|
|
15
|
+
atmCode = '',
|
|
16
|
+
atmAccess = '',
|
|
17
|
+
workTime,
|
|
18
|
+
}: Atm,
|
|
19
|
+
index: number,
|
|
20
|
+
) => {
|
|
21
|
+
const additionalInfo = [
|
|
22
|
+
{
|
|
23
|
+
label: 'Устройство',
|
|
24
|
+
value: capitalizedFirstLetter(terminalType),
|
|
25
|
+
},
|
|
26
|
+
{ label: 'Модуль приема наличных', value: billAcceptorEnable ? 'Да' : 'Нет' },
|
|
27
|
+
{
|
|
28
|
+
label: 'Прием наличных пачкой',
|
|
29
|
+
value: billAcceptorType === 'банкомат принимает пачками' ? 'Да' : 'Нет',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
label: 'Доступность',
|
|
33
|
+
value: ['внешняя установка', 'территория банка'].includes(atmAccess) ? 'Общедоступный' : '',
|
|
34
|
+
},
|
|
35
|
+
{ label: 'Регистрационный номер', value: atmCode },
|
|
36
|
+
];
|
|
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">{capitalizedFirstLetter(location)}</Text>
|
|
42
|
+
<Badge color="green">{capitalizedFirstLetter(workTime)}</Badge>
|
|
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">{additionalInfo?.map(renderInfo)}</CardRow>
|
|
51
|
+
</div>
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
const renderInfo = (item: Record<string, string>, index: number) => (
|
|
56
|
+
<CardCell key={String(index)} {...item} />
|
|
57
|
+
);
|
|
58
|
+
|
|
59
|
+
const capitalizedFirstLetter = (text?: string) =>
|
|
60
|
+
text ? `${text?.charAt(0)?.toUpperCase()}${text?.slice(1)}` : '';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Text } from '../../ui-kit/Text/Text';
|
|
2
|
+
|
|
3
|
+
export const renderLunchHour = (lunchHour: string) => {
|
|
4
|
+
const hasLunch = /\d+/gi.test(lunchHour);
|
|
5
|
+
|
|
6
|
+
return hasLunch ? (
|
|
7
|
+
<div className="flex flex-row w-full pb-2xs">
|
|
8
|
+
<div className="pr-s">
|
|
9
|
+
<Text size="text-l" color="text-error">
|
|
10
|
+
Перерыв
|
|
11
|
+
</Text>
|
|
12
|
+
</div>
|
|
13
|
+
<div>
|
|
14
|
+
<Text size="text-l" color="text-error">
|
|
15
|
+
{lunchHour}
|
|
16
|
+
</Text>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
) : (
|
|
20
|
+
<div className="items-center w-full pb-2xs">
|
|
21
|
+
<div>
|
|
22
|
+
<Text size="text-m" color="text-primary-main" font="font-light">
|
|
23
|
+
{lunchHour}
|
|
24
|
+
</Text>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
);
|
|
28
|
+
};
|
|
@@ -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
|
+
);
|