@redneckz/wildless-cms-uni-blocks 0.14.0 → 0.14.1
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 +211 -305
- package/bundle/bundle.umd.min.js +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/renderCurrentDaySchedule.d.ts +1 -0
- package/bundle/components/OfficesAtmsMap/renderDay.d.ts +1 -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/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +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/{ExchangeRateOffice/ExchangeRateOfficeContent.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/renderCurrentDaySchedule.d.ts +1 -0
- package/{mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js → dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js} +1 -1
- package/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderDay.d.ts +1 -0
- package/dist/components/{OfficeMap/OfficeMapContent.js → OfficesAtmsMap/renderDay.js} +1 -1
- package/dist/components/OfficesAtmsMap/renderDay.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/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/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +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/renderCurrentDaySchedule.d.ts +1 -0
- package/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js +2 -0
- package/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderDay.d.ts +1 -0
- package/lib/components/OfficesAtmsMap/renderDay.js +2 -0
- package/lib/components/OfficesAtmsMap/renderDay.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/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 +61 -120
- package/mobile/bundle/bundle.umd.min.js +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/renderCurrentDaySchedule.d.ts +1 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderDay.d.ts +1 -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/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +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/OfficesAtmsMap/OfficesAtmsMapContent.js +2 -0
- 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/renderCurrentDaySchedule.d.ts +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js +2 -0
- package/mobile/dist/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderDay.d.ts +1 -0
- package/mobile/dist/components/{OfficeMap/OfficeMapContent.js → OfficesAtmsMap/renderDay.js} +1 -1
- package/mobile/dist/components/OfficesAtmsMap/renderDay.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/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/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +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/renderCurrentDaySchedule.d.ts +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js +2 -0
- package/mobile/lib/components/OfficesAtmsMap/renderCurrentDaySchedule.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderDay.d.ts +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderDay.js +2 -0
- package/mobile/lib/components/OfficesAtmsMap/renderDay.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/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/CarouselProgramsCard/CarouselProgramsCard.tsx +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/renderCurrentDaySchedule.tsx +2 -0
- package/mobile/src/components/OfficesAtmsMap/renderDay.tsx +2 -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/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/CarouselProgramsCard/CarouselProgramsCard.tsx +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/renderCurrentDaySchedule.tsx +2 -0
- package/src/components/OfficesAtmsMap/renderDay.tsx +2 -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/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/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.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/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/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/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.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/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/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/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/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
|
@@ -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
|
>
|
|
@@ -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
|
/**
|
|
@@ -3,20 +3,18 @@
|
|
|
3
3
|
import { JSX } from '@redneckz/uni-jsx';
|
|
4
4
|
import { useEffect, useRef, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
5
5
|
import ymaps from 'yandex-maps';
|
|
6
|
+
import { style } from '../../utils/style';
|
|
6
7
|
import { Icon } from '../Icon/Icon';
|
|
7
|
-
import {
|
|
8
|
+
import { ZoomButton } from './ZoomButton';
|
|
8
9
|
import { renderClusterer } from './renderClusterer';
|
|
9
10
|
import { renderOpenMap } from './renderOpenMap';
|
|
10
|
-
import { renderSearchField } from './renderSearchField';
|
|
11
11
|
import { renderUserGeolocation } from './renderUserGeolocation';
|
|
12
12
|
import { useYandexMaps } from './useYandexMaps';
|
|
13
|
-
import { ZoomButton } from './ZoomButton';
|
|
14
13
|
|
|
15
14
|
interface YandexMapProps {
|
|
16
15
|
points?: number[][];
|
|
17
16
|
className?: string;
|
|
18
17
|
zoom?: number;
|
|
19
|
-
showSearchField?: boolean;
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
const FULLSCREEN_STYLES = {
|
|
@@ -30,90 +28,84 @@ const FULLSCREEN_STYLES = {
|
|
|
30
28
|
other: 'select-none cursor-pointer',
|
|
31
29
|
};
|
|
32
30
|
|
|
31
|
+
const DEFAULT_CENTER_COORDS = [55.753995, 37.614069];
|
|
32
|
+
|
|
33
33
|
// TODO: Поле для поиска: невыяснено среди каких данных делать поиск (искать в имени офиса, в адресе, метро и т.д.).
|
|
34
34
|
// Сейчас реализован поиск среди тестовых данных
|
|
35
35
|
// TODO: Также выяснить что делать когда ничего не найдено
|
|
36
36
|
// TODO: На макетах также когда есть поле поиска нет кнопки открыть на карте.
|
|
37
|
-
export const YandexMap = JSX<YandexMapProps>(
|
|
38
|
-
|
|
39
|
-
const map = useRef<ymaps.Map | null>(null);
|
|
40
|
-
|
|
41
|
-
const yandexMaps = useYandexMaps();
|
|
42
|
-
|
|
43
|
-
const [isFullScreen, setIsFullScreen] = useState();
|
|
44
|
-
|
|
45
|
-
const pointsCenter = points ? getCenterPoint(points) : [55.753995, 37.614069];
|
|
46
|
-
|
|
47
|
-
useEffect(() => {
|
|
48
|
-
if (!map?.current) {
|
|
49
|
-
yandexMaps?.ready(() => {
|
|
50
|
-
map.current = new yandexMaps.Map('map', {
|
|
51
|
-
center: pointsCenter,
|
|
52
|
-
zoom,
|
|
53
|
-
controls: [],
|
|
54
|
-
suppressMapOpenBlock: true,
|
|
55
|
-
});
|
|
56
|
-
renderClusterer(yandexMaps, map.current, points);
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
}, [yandexMaps, map, points]);
|
|
37
|
+
export const YandexMap = JSX<YandexMapProps>(({ points, className = '', zoom = 5 }) => {
|
|
38
|
+
const map = useRef<ymaps.Map | null>(null);
|
|
60
39
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
renderClusterer(yandexMaps, map.current, newPoints);
|
|
65
|
-
}
|
|
66
|
-
}, [map, points, yandexMaps]);
|
|
40
|
+
const yandexMaps = useYandexMaps();
|
|
41
|
+
|
|
42
|
+
const [isFullScreen, setIsFullScreen] = useState();
|
|
67
43
|
|
|
68
|
-
|
|
69
|
-
|
|
44
|
+
const pointsCenter = points ? getCenterPoint(points) : DEFAULT_CENTER_COORDS;
|
|
45
|
+
|
|
46
|
+
useEffect(() => {
|
|
47
|
+
if (!map?.current) {
|
|
48
|
+
yandexMaps?.ready(() => {
|
|
49
|
+
map.current = new yandexMaps.Map('map', {
|
|
50
|
+
center: pointsCenter,
|
|
51
|
+
zoom,
|
|
52
|
+
controls: [],
|
|
53
|
+
suppressMapOpenBlock: true,
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
renderClusterer(yandexMaps, map.current, points);
|
|
57
|
+
});
|
|
70
58
|
}
|
|
71
59
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
container.exitFullscreen();
|
|
60
|
+
if (map.current && yandexMaps) {
|
|
61
|
+
renderClusterer(yandexMaps, map.current, points);
|
|
62
|
+
|
|
63
|
+
if (!points?.length) {
|
|
64
|
+
map.current.setCenter(DEFAULT_CENTER_COORDS);
|
|
78
65
|
}
|
|
79
|
-
|
|
80
|
-
|
|
66
|
+
}
|
|
67
|
+
}, [yandexMaps, map, points]);
|
|
68
|
+
|
|
69
|
+
if (!yandexMaps) {
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
const toggleFullscreen = () => {
|
|
74
|
+
const container = map.current.container;
|
|
75
|
+
if (!isFullScreen) {
|
|
76
|
+
container.enterFullscreen();
|
|
77
|
+
} else {
|
|
78
|
+
container.exitFullscreen();
|
|
79
|
+
}
|
|
80
|
+
setIsFullScreen(container.isFullscreen());
|
|
81
|
+
};
|
|
81
82
|
|
|
82
|
-
|
|
83
|
+
const zIndex = isFullScreen ? 'z-[100000]' : 'z-10';
|
|
83
84
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
<
|
|
94
|
-
{showSearchField
|
|
95
|
-
? renderSearchField(mockPoints, yandexMaps, updatePointsToRender)
|
|
96
|
-
: renderOpenMap(pointsCenter)}
|
|
97
|
-
</div>
|
|
98
|
-
<div
|
|
99
|
-
className={`${Object.values(FULLSCREEN_STYLES).join(
|
|
100
|
-
' ',
|
|
101
|
-
)} ${zIndex} right-2 top-4 bg-white`}
|
|
102
|
-
onClick={toggleFullscreen}
|
|
103
|
-
>
|
|
104
|
-
<Icon name="FullScreenIcon" width="16" height="16" />
|
|
105
|
-
</div>
|
|
106
|
-
<div
|
|
107
|
-
className={`absolute right-2 top-52 z-10 w-12 overflow-hidden border border-transparent rounded-md ${zIndex}`}
|
|
108
|
-
>
|
|
109
|
-
<ZoomButton yandexMaps={map} />
|
|
110
|
-
<ZoomButton yandexMaps={map} direction="out" />
|
|
111
|
-
</div>
|
|
112
|
-
{renderUserGeolocation(map.current, yandexMaps, `right-2 top-80 ${zIndex}`)}
|
|
85
|
+
return (
|
|
86
|
+
<div id="map" className={style(!isFullScreen && 'relative', 'w-full', className)}>
|
|
87
|
+
<div className={style('absolute flex left-2 top-4 w-1/2', zIndex)}>
|
|
88
|
+
{renderOpenMap(pointsCenter)}
|
|
89
|
+
</div>
|
|
90
|
+
<div
|
|
91
|
+
className={style(Object.values(FULLSCREEN_STYLES), zIndex, 'right-2 top-4 bg-white')}
|
|
92
|
+
onClick={toggleFullscreen}
|
|
93
|
+
>
|
|
94
|
+
<Icon name="FullScreenIcon" width="16" height="16" />
|
|
113
95
|
</div>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
96
|
+
<div
|
|
97
|
+
className={style(
|
|
98
|
+
'absolute right-2 top-52 z-10 w-12 overflow-hidden border border-transparent rounded-md',
|
|
99
|
+
zIndex,
|
|
100
|
+
)}
|
|
101
|
+
>
|
|
102
|
+
<ZoomButton yandexMaps={map} />
|
|
103
|
+
<ZoomButton yandexMaps={map} direction="out" />
|
|
104
|
+
</div>
|
|
105
|
+
{renderUserGeolocation(map.current, yandexMaps, style('right-2 top-80', zIndex))}
|
|
106
|
+
</div>
|
|
107
|
+
);
|
|
108
|
+
});
|
|
117
109
|
|
|
118
110
|
const getCenterPoint = (points: number[][]) => [
|
|
119
111
|
getArraySumAndAverage(mapByIndex(points, 0)),
|
|
@@ -122,6 +114,5 @@ const getCenterPoint = (points: number[][]) => [
|
|
|
122
114
|
|
|
123
115
|
const mapByIndex = (arr: number[][], index: number) => arr.map((a) => a[index]);
|
|
124
116
|
|
|
125
|
-
const getArraySumAndAverage = (arr: number[][]) =>
|
|
126
|
-
|
|
127
|
-
const normalizePoints = (points: number[][]) => (points ? points.map((_) => _.coords) : null);
|
|
117
|
+
const getArraySumAndAverage = (arr: number[][]) =>
|
|
118
|
+
arr.length && arr.reduce((a, b) => a + b) / arr.length;
|
|
@@ -13,7 +13,7 @@ export function renderClusterer(yandexMaps: typeof ymaps, map: ymaps.Map, points
|
|
|
13
13
|
const clusterer = new yandexMaps.Clusterer({
|
|
14
14
|
clusterIcons: [
|
|
15
15
|
{
|
|
16
|
-
href: 'icons/MapMarkerClusterIcon.svg',
|
|
16
|
+
href: '/icons/MapMarkerClusterIcon.svg',
|
|
17
17
|
size: [78, 84],
|
|
18
18
|
offset: [-35, -50],
|
|
19
19
|
},
|
|
@@ -30,7 +30,7 @@ export function renderClusterer(yandexMaps: typeof ymaps, map: ymaps.Map, points
|
|
|
30
30
|
{},
|
|
31
31
|
{
|
|
32
32
|
iconLayout: 'default#image',
|
|
33
|
-
iconImageHref: 'icons/MapMarkerSingleIcon.svg',
|
|
33
|
+
iconImageHref: '/icons/MapMarkerSingleIcon.svg',
|
|
34
34
|
iconImageSize: [78, 84],
|
|
35
35
|
iconImageOffset: [-35, -50],
|
|
36
36
|
},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import ymaps from 'yandex-maps';
|
|
2
|
+
import { style } from '../../utils/style';
|
|
2
3
|
import { Icon } from '../Icon/Icon';
|
|
3
4
|
import type { MockPoints } from './mockPoints';
|
|
4
5
|
|
|
@@ -32,7 +33,7 @@ export const renderSearchField = (
|
|
|
32
33
|
};
|
|
33
34
|
|
|
34
35
|
return (
|
|
35
|
-
<div className={
|
|
36
|
+
<div className={style(Object.values(styles), 'bg-white py-s pl-5xl pr-m w-full')}>
|
|
36
37
|
<Icon
|
|
37
38
|
name="LoupeIcon"
|
|
38
39
|
iconVersion="black"
|
package/src/utils/fetchJSON.ts
CHANGED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import type { ExchangeRateOfficeContent } from './ExchangeRateOfficeContent';
|
|
3
|
-
export interface ExchangeRateOfficeProps extends ExchangeRateOfficeContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const ExchangeRateOffice: import("@redneckz/uni-jsx").UNIComponent<ExchangeRateOfficeProps, any, any>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @title Информация об одной валюте
|
|
3
|
-
*/
|
|
4
|
-
export interface CurrencyInformation {
|
|
5
|
-
/** @title Номер */
|
|
6
|
-
id?: number;
|
|
7
|
-
/** @title Название */
|
|
8
|
-
title?: string;
|
|
9
|
-
/** @title Покупная цена */
|
|
10
|
-
buyPrice?: number;
|
|
11
|
-
/** @title Цена продажи */
|
|
12
|
-
sellPrice?: number;
|
|
13
|
-
/** @title Разница покупки */
|
|
14
|
-
buyDifference?: number;
|
|
15
|
-
/** @title Разница продажи */
|
|
16
|
-
sellDifference?: number;
|
|
17
|
-
/** @title Имя основного офиса для покупки */
|
|
18
|
-
buyOfficeName?: string;
|
|
19
|
-
/** @title Другие офисы покупки */
|
|
20
|
-
buyBonusOfficeName?: string;
|
|
21
|
-
/** @title Имя основного офиса для продажи*/
|
|
22
|
-
sellOfficeName?: string;
|
|
23
|
-
/** @title Другие офисы продажи */
|
|
24
|
-
sellBonusOfficeName?: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* @title Курсы валют офиса
|
|
28
|
-
*/
|
|
29
|
-
export interface ExchangeRateOfficeContent {
|
|
30
|
-
/** @title Имя офиса */
|
|
31
|
-
officeName?: string;
|
|
32
|
-
/** @title Список валют */
|
|
33
|
-
currencies?: CurrencyInformation[];
|
|
34
|
-
/** @title Актуальность информации */
|
|
35
|
-
actuality?: string;
|
|
36
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { CurrencyInformation } from './ExchangeRateOfficeContent';
|
|
3
|
-
export declare const renderCurrencyRow: ({ title, buyPrice, buyDifference, sellPrice, sellDifference, buyOfficeName, sellOfficeName, }: CurrencyInformation) => JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import type { OfficeMapContent } from './OfficeMapContent';
|
|
3
|
-
export interface OfficeMapProps extends OfficeMapContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const OfficeMap: import("@redneckz/uni-jsx").UNIComponent<UniBlockProps, any, any>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { IconName } from '../../icons/IconName';
|
|
2
|
-
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
export declare type WorkSchedule = {
|
|
4
|
-
workTime: string;
|
|
5
|
-
lunchHour: string;
|
|
6
|
-
workTimeSaturday: string;
|
|
7
|
-
lunchHourSaturday: string;
|
|
8
|
-
workingMonday: boolean;
|
|
9
|
-
workingTuesday: boolean;
|
|
10
|
-
workingWednesday: boolean;
|
|
11
|
-
workingThursday: boolean;
|
|
12
|
-
workingFriday: boolean;
|
|
13
|
-
workingSaturday: boolean;
|
|
14
|
-
workingSunday: boolean;
|
|
15
|
-
};
|
|
16
|
-
export declare type WorkScheduleWeek = {
|
|
17
|
-
title?: string;
|
|
18
|
-
status?: boolean;
|
|
19
|
-
workTime?: string;
|
|
20
|
-
lunchHour?: string;
|
|
21
|
-
description?: string;
|
|
22
|
-
};
|
|
23
|
-
export declare type NearbyOffices = {
|
|
24
|
-
title?: string;
|
|
25
|
-
time?: string;
|
|
26
|
-
distance?: string;
|
|
27
|
-
icon?: IconName;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* @title Карта офиса
|
|
31
|
-
*/
|
|
32
|
-
export declare type OfficeMapContent = UniBlockContent & {
|
|
33
|
-
name?: string;
|
|
34
|
-
address: string;
|
|
35
|
-
workSchedule: WorkSchedule;
|
|
36
|
-
gpsLatitude?: number;
|
|
37
|
-
gpsLongitude?: number;
|
|
38
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export declare const OFFICE_MAP: {
|
|
2
|
-
id: number;
|
|
3
|
-
branchType: {
|
|
4
|
-
id: number;
|
|
5
|
-
code: string;
|
|
6
|
-
name: string;
|
|
7
|
-
};
|
|
8
|
-
shortName: string;
|
|
9
|
-
name: string;
|
|
10
|
-
address: string;
|
|
11
|
-
lawAddress: string;
|
|
12
|
-
openDate: string;
|
|
13
|
-
closeDate: null;
|
|
14
|
-
bik: string;
|
|
15
|
-
corAcc: string;
|
|
16
|
-
registrationNumber: string;
|
|
17
|
-
phone: string;
|
|
18
|
-
fax: string;
|
|
19
|
-
okpo: string;
|
|
20
|
-
ogrn: string;
|
|
21
|
-
kpp: string;
|
|
22
|
-
inn: string;
|
|
23
|
-
branchCode: string;
|
|
24
|
-
upperBranchCode: string;
|
|
25
|
-
timeZone: string;
|
|
26
|
-
exchangeRate: {
|
|
27
|
-
currencies: {
|
|
28
|
-
buyExchangeRate: number;
|
|
29
|
-
saleExchangeRate: number;
|
|
30
|
-
currency: {
|
|
31
|
-
id: number;
|
|
32
|
-
code: string;
|
|
33
|
-
currency: string;
|
|
34
|
-
name: string;
|
|
35
|
-
};
|
|
36
|
-
}[];
|
|
37
|
-
lastUpdate: string;
|
|
38
|
-
};
|
|
39
|
-
workSchedule: {
|
|
40
|
-
id: number;
|
|
41
|
-
workTime: string;
|
|
42
|
-
lunchHour: string;
|
|
43
|
-
workTimeSaturday: string;
|
|
44
|
-
lunchHourSaturday: string;
|
|
45
|
-
workingMonday: boolean;
|
|
46
|
-
workingTuesday: boolean;
|
|
47
|
-
workingWednesday: boolean;
|
|
48
|
-
workingThursday: boolean;
|
|
49
|
-
workingFriday: boolean;
|
|
50
|
-
workingSaturday: boolean;
|
|
51
|
-
workingSunday: boolean;
|
|
52
|
-
};
|
|
53
|
-
gpsLatitude: number;
|
|
54
|
-
gpsLongitude: number;
|
|
55
|
-
range: null;
|
|
56
|
-
safeBoxCaseVolumes: null;
|
|
57
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { NearbyOffices, WorkScheduleWeek } from './OfficeMapContent';
|
|
3
|
-
export declare const renderCurrentDaySchedule: ({ lunchHour, status, workTime }: WorkScheduleWeek) => JSX.Element;
|
|
4
|
-
export declare const renderNearbyOffice: ({ icon, title, distance, time }: NearbyOffices, index: number) => JSX.Element;
|
|
5
|
-
export declare const renderDay: ({ title, status, workTime, lunchHour, description }: WorkScheduleWeek, inx: number) => JSX.Element;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export declare function useOfficeMap(regionCode?: string): {
|
|
2
|
-
id: number;
|
|
3
|
-
branchType: {
|
|
4
|
-
id: number;
|
|
5
|
-
code: string;
|
|
6
|
-
name: string;
|
|
7
|
-
};
|
|
8
|
-
shortName: string;
|
|
9
|
-
name: string;
|
|
10
|
-
address: string;
|
|
11
|
-
lawAddress: string;
|
|
12
|
-
openDate: string;
|
|
13
|
-
closeDate: null;
|
|
14
|
-
bik: string;
|
|
15
|
-
corAcc: string;
|
|
16
|
-
registrationNumber: string;
|
|
17
|
-
phone: string;
|
|
18
|
-
fax: string;
|
|
19
|
-
okpo: string;
|
|
20
|
-
ogrn: string;
|
|
21
|
-
kpp: string;
|
|
22
|
-
inn: string;
|
|
23
|
-
branchCode: string;
|
|
24
|
-
upperBranchCode: string;
|
|
25
|
-
timeZone: string;
|
|
26
|
-
exchangeRate: {
|
|
27
|
-
currencies: {
|
|
28
|
-
buyExchangeRate: number;
|
|
29
|
-
saleExchangeRate: number;
|
|
30
|
-
currency: {
|
|
31
|
-
id: number;
|
|
32
|
-
code: string;
|
|
33
|
-
currency: string;
|
|
34
|
-
name: string;
|
|
35
|
-
};
|
|
36
|
-
}[];
|
|
37
|
-
lastUpdate: string;
|
|
38
|
-
};
|
|
39
|
-
workSchedule: {
|
|
40
|
-
id: number;
|
|
41
|
-
workTime: string;
|
|
42
|
-
lunchHour: string;
|
|
43
|
-
workTimeSaturday: string;
|
|
44
|
-
lunchHourSaturday: string;
|
|
45
|
-
workingMonday: boolean;
|
|
46
|
-
workingTuesday: boolean;
|
|
47
|
-
workingWednesday: boolean;
|
|
48
|
-
workingThursday: boolean;
|
|
49
|
-
workingFriday: boolean;
|
|
50
|
-
workingSaturday: boolean;
|
|
51
|
-
workingSunday: boolean;
|
|
52
|
-
};
|
|
53
|
-
gpsLatitude: number;
|
|
54
|
-
gpsLongitude: number;
|
|
55
|
-
range: null;
|
|
56
|
-
safeBoxCaseVolumes: null;
|
|
57
|
-
} | {
|
|
58
|
-
data?: any;
|
|
59
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import type { OfficeServicesBlockContent } from './OfficeServicesBlockContent';
|
|
3
|
-
export interface OfficeServicesBlockProps extends OfficeServicesBlockContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const OfficeServicesBlock: import("@redneckz/uni-jsx").UNIComponent<OfficeServicesBlockProps, any, any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { LabelProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
-
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type { IconProps } from '../../model/Picture';
|
|
4
|
-
export declare type OfficeServicesBlockList = LabelProps & IconProps;
|
|
5
|
-
/**
|
|
6
|
-
* @title Офисные услуги
|
|
7
|
-
*/
|
|
8
|
-
export declare type OfficeServicesBlockContent = UniBlockContent & TitleProps & {
|
|
9
|
-
/** @title Список услуг */
|
|
10
|
-
servicesList?: OfficeServicesBlockList[];
|
|
11
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.Currencies = void 0;
|
|
3
|
-
var Currencies;
|
|
4
|
-
(function (Currencies) {
|
|
5
|
-
Currencies["EUR"] = "EUR";
|
|
6
|
-
Currencies["USD"] = "USD";
|
|
7
|
-
Currencies["GBP"] = "GBP";
|
|
8
|
-
Currencies["AUD"] = "AUD";
|
|
9
|
-
Currencies["CNY"] = "CNY";
|
|
10
|
-
Currencies["RUB"] = "RUB";
|
|
11
|
-
})(Currencies = exports.Currencies || (exports.Currencies = {}));
|
|
12
|
-
//# sourceMappingURL=Currencies.js.map
|