@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderInsuranceSumMonth.js","sourceRoot":"","sources":["../../../src/components/PictureText/renderInsuranceSumMonth.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,GAAY,EAAE,UAAmB,EAAE,EAAE,CAC3E,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAClB,eAAK,SAAS,EAAC,4EAA4E,aACxF,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,
|
|
1
|
+
{"version":3,"file":"renderInsuranceSumMonth.js","sourceRoot":"","sources":["../../../src/components/PictureText/renderInsuranceSumMonth.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,GAAY,EAAE,UAAmB,EAAE,EAAE,CAC3E,GAAG,IAAI,UAAU,CAAC,CAAC,CAAC,CAClB,eAAK,SAAS,EAAC,4EAA4E,aACxF,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,EACjE,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,IAC9E,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AAEX,MAAM,gBAAgB,GAAG,CAAC,KAAa,EAAE,KAAK,GAAG,CAAC,EAAE,EAAE,CAAC,CACrD,eAAK,SAAS,EAAC,iJAAiJ,aAC9J,KAAC,IAAI,IAAC,IAAI,EAAC,YAAY,EAAC,IAAI,EAAC,QAAQ,EAAC,KAAK,EAAC,qBAAqB,YAC9D,KAAK,GACD,EACP,gBAAM,SAAS,EAAC,0DAA0D,aACvE,mBAAmB,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,eACzB,IACH,CACP,CAAC"}
|
|
@@ -3,5 +3,5 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { BaseProductTile } from '../../ui-kit/BaseProductTile/BaseProductTile.js';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
5
|
import { Paragraph } from '../../ui-kit/Paragraph/Paragraph.js';
|
|
6
|
-
export const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, ...rest }) => (_jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: _jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isBackground: true, ...imageOptions }, ...rest, children: additionalDescription ? (_jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
|
|
6
|
+
export const ProductTile = JSX(({ className, padding, headlineVersion = 'S', isTabularBenefits = true, additionalDescription, imageOptions, ...rest }) => (_jsx(BlockWrapper, { className: className, padding: "p-0", ...rest, children: _jsx(BaseProductTile, { className: "h-full", defaultPadding: "p-4xl sm:p-xl", padding: padding, headlineVersion: headlineVersion, isTabularBenefits: isTabularBenefits, imageOptions: { isBackground: true, ...imageOptions }, ...rest, children: additionalDescription ? (_jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null }) })));
|
|
7
7
|
//# sourceMappingURL=ProductTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAK7D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,EACT,OAAO,EACP,eAAe,GAAG,GAAG,EACrB,iBAAiB,GAAG,IAAI,EACxB,qBAAqB,EACrB,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YACxD,KAAC,eAAe,IACd,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,
|
|
1
|
+
{"version":3,"file":"ProductTile.js","sourceRoot":"","sources":["../../../src/components/ProductTile/ProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAK7D,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAC5B,CAAC,EACC,SAAS,EACT,OAAO,EACP,eAAe,GAAG,GAAG,EACrB,iBAAiB,GAAG,IAAI,EACxB,qBAAqB,EACrB,YAAY,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,KAAC,YAAY,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YACxD,KAAC,eAAe,IACd,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,eAAe,EAC9B,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,EAChC,iBAAiB,EAAE,iBAAiB,EACpC,YAAY,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,GAAG,YAAY,EAAE,KACjD,IAAI,YAEP,qBAAqB,CAAC,CAAC,CAAC,CACvB,KAAC,SAAS,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,wCAAwC,YACtF,qBAAqB,GACZ,CACb,CAAC,CAAC,CAAC,IAAI,GACQ,GACL,CAChB,CACF,CAAC"}
|
|
@@ -10,10 +10,11 @@ import { RichText } from '../RichText/RichText.js';
|
|
|
10
10
|
import { Tags } from '../Tags/Tags.js';
|
|
11
11
|
export const BaseProductTile = JSX(({ className, padding, defaultPadding, title, description, headlineVersion = 'L', align = 'text-left', benefitsVersion, isTabularBenefits, benefits, __html, isFullWidthTitle = true, items, isDotted = true, listItemSize, tags = [], buttons, image, imageOptions: { imageAlign = 'end', directionRight = true, isBackground, isImageAlwaysOnRight, } = {}, children, }) => {
|
|
12
12
|
const img = image?.src ? _jsx(Img, { image: image }) : null;
|
|
13
|
-
const headline = (
|
|
13
|
+
const headline = renderHeadline({ title, description, headlineVersion, align });
|
|
14
14
|
const filteredBenefits = benefits?.filter((_) => _?.type === 'rte' || 'label' in _ || 'description' in _);
|
|
15
|
-
return (_jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isFullWidthTitle ? { insetTitle: headline } : { title: headline }), ...(isBackground ? { backImage: img } : leftOrRightImage(img, directionRight)), imageAlign: imageAlign, isImageAlwaysOnRight: isImageAlwaysOnRight, buttons: renderButtonsSection(buttons), children: _jsxs("div", { className: "flex flex-col gap-xl", children: [filteredBenefits?.length ? (_jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: filteredBenefits })) : null, __html ? _jsx(RichText, { __html: __html }) : null, items?.length ? (_jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, renderTags(tags)] }) }));
|
|
15
|
+
return (_jsx(BaseTile, { className: className, padding: padding, defaultPadding: defaultPadding, ...(isFullWidthTitle ? { insetTitle: headline } : { title: headline }), ...(isBackground ? { backImage: img } : leftOrRightImage(img, directionRight)), imageAlign: imageAlign, isImageAlwaysOnRight: isImageAlwaysOnRight, buttons: renderButtonsSection(buttons), children: _jsxs("div", { className: "flex flex-col sm:gap-xl gap-4xl", children: [filteredBenefits?.length ? (_jsx(BenefitsList, { benefitsVersion: benefitsVersion, isTabularBenefits: isTabularBenefits, benefits: filteredBenefits })) : null, __html ? _jsx(RichText, { __html: __html }) : null, items?.length ? (_jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, renderTags(tags)] }) }));
|
|
16
16
|
});
|
|
17
17
|
const leftOrRightImage = (img, directionRight) => directionRight ? { rightImage: img } : { leftImage: img };
|
|
18
18
|
const renderTags = (tags) => (tags?.length ? _jsx(Tags, { tags: tags }) : null);
|
|
19
|
+
const renderHeadline = ({ title, description, headlineVersion, align }) => title || description ? (_jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isEmbedded: true })) : null;
|
|
19
20
|
//# sourceMappingURL=BaseProductTile.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseProductTile.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseProductTile/BaseProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAG9D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"BaseProductTile.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseProductTile/BaseProductTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AAG9D,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MA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AE,IAAI,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;AASpF,MAAM,cAAc,GAAG,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,EAAkB,EAAE,EAAE,CACxF,KAAK,IAAI,WAAW,CAAC,CAAC,CAAC,CACrB,KAAC,QAAQ,IACP,KAAK,EAAE,KAAK,EACZ,WAAW,EAAE,WAAW,EACxB,eAAe,EAAE,eAAe,EAChC,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,IAAI,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -2,12 +2,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { style } from '../../utils/style.js';
|
|
4
4
|
const imageAlignmentMap = {
|
|
5
|
-
start: '@
|
|
6
|
-
center: '@
|
|
7
|
-
end: '@
|
|
5
|
+
start: '@xl:self-start',
|
|
6
|
+
center: '@xl:self-center',
|
|
7
|
+
end: '@xl:self-end',
|
|
8
8
|
};
|
|
9
|
-
export const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, isImageAlwaysOnRight = false, children, }) => (_jsxs("div", { className: style('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [title ? _jsx("div", { className: "relative", children: title }) : null, _jsxs("div", { className: style('grow relative flex justify-around @lg:justify-between items-stretch gap-3xl', isImageAlwaysOnRight ? 'flex-row' : 'flex-col @lg:flex-row'), children: [renderImageContainer(leftImage, { imageAlign }), _jsxs("div", { className: style('flex flex-col gap-3xl max-w-[600px] @xl:max-w-[728px]', leftImage ? '' : 'grow'), children: [insetTitle, _jsx("div", { className: "grow", children: children }), backImage ? (_jsx("div", { className: "justify-center mx-auto sm:absolute sm:-z-10 sm:-bottom-4 sm:-right-4", children: backImage })) : null, buttons] }), renderImageContainer(rightImage, {
|
|
10
|
-
className: isImageAlwaysOnRight ? '' : '
|
|
9
|
+
export const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, isImageAlwaysOnRight = false, children, }) => (_jsxs("div", { className: style('relative flex flex-col gap-3xl font-sans overflow-hidden', padding || defaultPadding, className), children: [title ? _jsx("div", { className: "relative", children: title }) : null, _jsxs("div", { className: style('grow relative flex justify-around @lg:justify-between items-stretch gap-3xl', isImageAlwaysOnRight ? 'flex-row' : 'flex-col-reverse @lg:flex-row'), children: [renderImageContainer(leftImage, { imageAlign }), _jsxs("div", { className: style('flex flex-col gap-3xl max-w-[600px] @xl:max-w-[728px]', leftImage ? '' : 'grow'), children: [insetTitle, _jsx("div", { className: "grow", children: children }), backImage ? (_jsx("div", { className: "justify-center mx-auto sm:absolute sm:-z-10 sm:-bottom-4 sm:-right-4", children: backImage })) : null, buttons] }), renderImageContainer(rightImage, {
|
|
10
|
+
className: isImageAlwaysOnRight ? '' : '@xl:order-1',
|
|
11
11
|
imageAlign,
|
|
12
12
|
})] })] })));
|
|
13
13
|
const renderImageContainer = (image, { className, imageAlign }) => image ? (_jsx("div", { className: style('md:flex-shrink-0 self-center', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/ui-kit/BaseTile/BaseTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAIxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAa1C,MAAM,iBAAiB,GAA0B;IAC/C,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,iBAAiB;IACzB,GAAG,EAAE,cAAc;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CACzB,CAAC,EACC,SAAS,EACT,cAAc,EACd,O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EAA6E,EAC7E,oBAAoB,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,+BAA+B,CACpE,aAEA,oBAAoB,CAAC,SAAS,EAAE,EAAE,UAAU,EAAE,CAAC,EAChD,eACE,SAAS,EAAE,KAAK,CACd,uDAAuD,EACvD,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,CACxB,aAEA,UAAU,EACX,cAAK,SAAS,EAAC,MAAM,YAAE,QAAQ,GAAO,EACrC,SAAS,CAAC,CAAC,CAAC,CACX,cAAK,SAAS,EAAC,sEAAsE,YAClF,SAAS,GACN,CACP,CAAC,CAAC,CAAC,IAAI,EACP,OAAO,IACJ,EACL,oBAAoB,CAAC,UAAU,EAAE;oBAChC,SAAS,EAAE,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa;oBACpD,UAAU;iBACX,CAAC,IACE,IACF,CACP,CACF,CAAC;AAEF,MAAM,oBAAoB,GAAG,CAC3B,KAAwB,EACxB,EAAE,SAAS,EAAE,UAAU,EAA8C,EACrE,EAAE,CACF,KAAK,CAAC,CAAC,CAAC,CACN,cACE,SAAS,EAAE,KAAK,CACd,8BAA8B,EAC9B,UAAU,IAAI,iBAAiB,CAAC,UAAU,CAAC,EAC3C,SAAS,CACV,YAEA,KAAK,GACF,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { style } from '../../utils/style.js';
|
|
3
3
|
import { Img } from '../Img/Img.js';
|
|
4
|
-
export const renderBenefitIcon = (icon, benefitsVersion = 'normal') => icon ? (_jsx("div", { className: style('w-12 h-12 min-w-12 box-border flex items-center justify-center rounded-icon', benefitsVersion === 'normal'
|
|
4
|
+
export const renderBenefitIcon = (icon, benefitsVersion = 'normal') => icon ? (_jsx("div", { className: style('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', benefitsVersion === 'normal'
|
|
5
5
|
? 'bg-secondary-light text-primary-main'
|
|
6
6
|
: 'bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black'), children: _jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null;
|
|
7
7
|
//# sourceMappingURL=renderBenefitIcon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBenefitIcon.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/renderBenefitIcon.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,IAAyB,EACzB,kBAA+B,QAAQ,EACvC,EAAE,CACF,IAAI,CAAC,CAAC,CAAC,CACL,cACE,SAAS,EAAE,KAAK,CACd,
|
|
1
|
+
{"version":3,"file":"renderBenefitIcon.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/renderBenefitIcon.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEjC,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,IAAyB,EACzB,kBAA+B,QAAQ,EACvC,EAAE,CACF,IAAI,CAAC,CAAC,CAAC,CACL,cACE,SAAS,EAAE,KAAK,CACd,yGAAyG,EACzG,eAAe,KAAK,QAAQ;QAC1B,CAAC,CAAC,sCAAsC;QACxC,CAAC,CAAC,6FAA6F,CAClG,YAED,KAAC,GAAG,IACF,SAAS,EAAC,SAAS,EACnB,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,eAAe,EAAE,GACpE,GACE,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import type { ComplexBenefitContent } from './BenefitItemContent';
|
|
2
|
-
export declare
|
|
2
|
+
export declare type BenefitTextProps = ComplexBenefitContent & {
|
|
3
|
+
descriptionClassName?: string;
|
|
4
|
+
};
|
|
5
|
+
export declare const renderBenefitText: (_: BenefitTextProps, i?: number) => JSX.Element | (JSX.Element | null)[];
|
|
@@ -4,6 +4,6 @@ import { renderBenefitDescription } from './renderBenefitDescription.js';
|
|
|
4
4
|
import { renderBenefitLabel } from './renderBenefitLabel.js';
|
|
5
5
|
export const renderBenefitText = (_, i) => _.type === 'rte' && '__html' in _ && _.__html ? (_jsx(RichText, { ..._ }, `rte-${i}`)) : ([
|
|
6
6
|
'label' in _ ? renderBenefitLabel(_.label, i) : null,
|
|
7
|
-
'description' in _ ? renderBenefitDescription(_.description, i) : null,
|
|
7
|
+
'description' in _ ? (_jsx("span", { className: _.descriptionClassName, children: renderBenefitDescription(_.description, i) }, String(i))) : null,
|
|
8
8
|
]);
|
|
9
9
|
//# sourceMappingURL=renderBenefitText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBenefitText.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/renderBenefitText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"renderBenefitText.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/renderBenefitText.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAM1D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAmB,EAAE,CAAU,EAAE,EAAE,CACnE,CAAC,CAAC,IAAI,KAAK,KAAK,IAAI,QAAQ,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAC9C,KAAC,QAAQ,OAAsB,CAAC,IAAjB,OAAO,CAAC,EAAE,CAAW,CACrC,CAAC,CAAC,CAAC,CACF;IACE,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;IACpD,aAAa,IAAI,CAAC,CAAC,CAAC,CAAC,CACnB,eAAsB,SAAS,EAAE,CAAC,CAAC,oBAAoB,YACpD,wBAAwB,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,IADlC,MAAM,CAAC,CAAC,CAAC,CAEb,CACR,CAAC,CAAC,CAAC,IAAI;CACT,CACF,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { style } from '../../utils/style.js';
|
|
3
3
|
import { Img } from '../Img/Img.js';
|
|
4
4
|
import { Button } from './Button.js';
|
|
5
|
-
export const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (_jsx("div", { className: style('flex', isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-m', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
|
|
5
|
+
export const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (_jsx("div", { className: style('flex', isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-lg sm:gap-m', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
|
|
6
6
|
const renderButton = (buttonClassName = '') => (button, index) => {
|
|
7
7
|
const { text, icon, iconRight, version, ...rest } = button || {};
|
|
8
8
|
const iconVersion = getIconVersion(icon, version);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAAuC,EACvC,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EACtE,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CACjE,cACE,SAAS,EAAE,KAAK,CACd,MAAM,EACN,UAAU,CAAC,CAAC,CAAC,uCAAuC,CAAC,CAAC,CAAC,
|
|
1
|
+
{"version":3,"file":"renderButtonsSection.js","sourceRoot":"","sources":["../../../src/ui-kit/Button/renderButtonsSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAClC,OAAuC,EACvC,EAAE,SAAS,EAAE,eAAe,EAAE,UAAU,KAA4B,EAAE,EACtE,EAAE,CACF,OAAO,EAAE,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,IAAI,CAAC,EAAE,IAAI,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,kBAAkB,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC;IAEvE,OAAO,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC,CAAC,kBAAkB,CAAC;AACpE,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CACzC,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,CACxB,KAAC,GAAG,IACF,KAAK,EAAE,IAAI,EACX,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,IAAI,cAAc,CAAC,EAClD,MAAM,EAAE,MAAM,CAAC,cAAc,CAAC,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -10,7 +10,7 @@ export declare type TitleSize = '' | 'text-h6' | 'text-h5' | 'text-h4' | 'text-h
|
|
|
10
10
|
/**
|
|
11
11
|
* @title Цвет текста
|
|
12
12
|
*/
|
|
13
|
-
export declare type TextColor = BlockVersionMolecule<'' | 'text-main' | 'text-primary-text' | 'text-primary-main' | 'text-secondary-text' | 'text-secondary-light' | 'text-error' | 'text-white' | 'text-white/80' | 'text-green'>;
|
|
13
|
+
export declare type TextColor = BlockVersionMolecule<'' | 'text-main' | 'text-primary-text' | 'text-primary-main' | 'text-secondary-text' | 'text-secondary-light' | 'text-yellow' | 'text-error' | 'text-white' | 'text-white/80' | 'text-green' | 'text-green-dark'>;
|
|
14
14
|
/**
|
|
15
15
|
* @title Выравнивание
|
|
16
16
|
* @enumNames [
|
|
@@ -3,14 +3,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
3
3
|
// @ts-nocheck
|
|
4
4
|
import { JSX } from '@redneckz/uni-jsx';
|
|
5
5
|
import { useEffect, useRef, useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
6
|
+
import { style } from '../../utils/style.js';
|
|
6
7
|
import { Icon } from '../Icon/Icon.js';
|
|
7
|
-
import {
|
|
8
|
+
import { ZoomButton } from './ZoomButton.js';
|
|
8
9
|
import { renderClusterer } from './renderClusterer.js';
|
|
9
10
|
import { renderOpenMap } from './renderOpenMap.js';
|
|
10
|
-
import { renderSearchField } from './renderSearchField.js';
|
|
11
11
|
import { renderUserGeolocation } from './renderUserGeolocation.js';
|
|
12
12
|
import { useYandexMaps } from './useYandexMaps.js';
|
|
13
|
-
import { ZoomButton } from './ZoomButton.js';
|
|
14
13
|
const FULLSCREEN_STYLES = {
|
|
15
14
|
border: 'border border-transparent rounded-md ',
|
|
16
15
|
position: 'absolute flex items-center justify-center',
|
|
@@ -21,15 +20,16 @@ const FULLSCREEN_STYLES = {
|
|
|
21
20
|
hover: 'hover:bg-primary-hover',
|
|
22
21
|
other: 'select-none cursor-pointer',
|
|
23
22
|
};
|
|
23
|
+
const DEFAULT_CENTER_COORDS = [55.753995, 37.614069];
|
|
24
24
|
// TODO: Поле для поиска: невыяснено среди каких данных делать поиск (искать в имени офиса, в адресе, метро и т.д.).
|
|
25
25
|
// Сейчас реализован поиск среди тестовых данных
|
|
26
26
|
// TODO: Также выяснить что делать когда ничего не найдено
|
|
27
27
|
// TODO: На макетах также когда есть поле поиска нет кнопки открыть на карте.
|
|
28
|
-
export const YandexMap = JSX(({ points, className = '', zoom = 5
|
|
28
|
+
export const YandexMap = JSX(({ points, className = '', zoom = 5 }) => {
|
|
29
29
|
const map = useRef(null);
|
|
30
30
|
const yandexMaps = useYandexMaps();
|
|
31
31
|
const [isFullScreen, setIsFullScreen] = useState();
|
|
32
|
-
const pointsCenter = points ? getCenterPoint(points) :
|
|
32
|
+
const pointsCenter = points ? getCenterPoint(points) : DEFAULT_CENTER_COORDS;
|
|
33
33
|
useEffect(() => {
|
|
34
34
|
if (!map?.current) {
|
|
35
35
|
yandexMaps?.ready(() => {
|
|
@@ -42,13 +42,13 @@ export const YandexMap = JSX(({ points, className = '', zoom = 5, showSearchFiel
|
|
|
42
42
|
renderClusterer(yandexMaps, map.current, points);
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
if (map.current && yandexMaps) {
|
|
46
|
+
renderClusterer(yandexMaps, map.current, points);
|
|
47
|
+
if (!points?.length) {
|
|
48
|
+
map.current.setCenter(DEFAULT_CENTER_COORDS);
|
|
49
|
+
}
|
|
50
50
|
}
|
|
51
|
-
}, [map, points
|
|
51
|
+
}, [yandexMaps, map, points]);
|
|
52
52
|
if (!yandexMaps) {
|
|
53
53
|
return null;
|
|
54
54
|
}
|
|
@@ -63,21 +63,12 @@ export const YandexMap = JSX(({ points, className = '', zoom = 5, showSearchFiel
|
|
|
63
63
|
setIsFullScreen(container.isFullscreen());
|
|
64
64
|
};
|
|
65
65
|
const zIndex = isFullScreen ? 'z-[100000]' : 'z-10';
|
|
66
|
-
|
|
67
|
-
if (newPoints) {
|
|
68
|
-
const normalizedPoints = normalizePoints(newPoints);
|
|
69
|
-
setPointsToRender(normalizedPoints);
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
return (_jsxs("div", { id: "map", className: `${isFullScreen ? '' : 'relative'} w-full ${className}`, children: [_jsx("div", { className: `absolute flex left-2 top-4 w-1/2 ${zIndex}`, children: showSearchField
|
|
73
|
-
? renderSearchField(mockPoints, yandexMaps, updatePointsToRender)
|
|
74
|
-
: renderOpenMap(pointsCenter) }), _jsx("div", { className: `${Object.values(FULLSCREEN_STYLES).join(' ')} ${zIndex} right-2 top-4 bg-white`, onClick: toggleFullscreen, children: _jsx(Icon, { name: "FullScreenIcon", width: "16", height: "16" }) }), _jsxs("div", { className: `absolute right-2 top-52 z-10 w-12 overflow-hidden border border-transparent rounded-md ${zIndex}`, children: [_jsx(ZoomButton, { yandexMaps: map }), _jsx(ZoomButton, { yandexMaps: map, direction: "out" })] }), renderUserGeolocation(map.current, yandexMaps, `right-2 top-80 ${zIndex}`)] }));
|
|
66
|
+
return (_jsxs("div", { id: "map", className: style(!isFullScreen && 'relative', 'w-full', className), children: [_jsx("div", { className: style('absolute flex left-2 top-4 w-1/2', zIndex), children: renderOpenMap(pointsCenter) }), _jsx("div", { className: style(Object.values(FULLSCREEN_STYLES), zIndex, 'right-2 top-4 bg-white'), onClick: toggleFullscreen, children: _jsx(Icon, { name: "FullScreenIcon", width: "16", height: "16" }) }), _jsxs("div", { className: style('absolute right-2 top-52 z-10 w-12 overflow-hidden border border-transparent rounded-md', zIndex), children: [_jsx(ZoomButton, { yandexMaps: map }), _jsx(ZoomButton, { yandexMaps: map, direction: "out" })] }), renderUserGeolocation(map.current, yandexMaps, style('right-2 top-80', zIndex))] }));
|
|
75
67
|
});
|
|
76
68
|
const getCenterPoint = (points) => [
|
|
77
69
|
getArraySumAndAverage(mapByIndex(points, 0)),
|
|
78
70
|
getArraySumAndAverage(mapByIndex(points, 1)),
|
|
79
71
|
];
|
|
80
72
|
const mapByIndex = (arr, index) => arr.map((a) => a[index]);
|
|
81
|
-
const getArraySumAndAverage = (arr) => arr.reduce((a, b) => a + b) / arr.length;
|
|
82
|
-
const normalizePoints = (points) => (points ? points.map((_) => _.coords) : null);
|
|
73
|
+
const getArraySumAndAverage = (arr) => arr.length && arr.reduce((a, b) => a + b) / arr.length;
|
|
83
74
|
//# sourceMappingURL=YandexMap.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"YandexMap.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/YandexMap.tsx"],"names":[],"mappings":";AAAA,6DAA6D;AAC7D,cAAc;AACd,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAE1E,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"YandexMap.js","sourceRoot":"","sources":["../../../src/ui-kit/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,IAAI,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC"}
|
|
@@ -4,7 +4,7 @@ export function renderClusterer(yandexMaps, map, points) {
|
|
|
4
4
|
const clusterer = new yandexMaps.Clusterer({
|
|
5
5
|
clusterIcons: [
|
|
6
6
|
{
|
|
7
|
-
href: 'icons/MapMarkerClusterIcon.svg',
|
|
7
|
+
href: '/icons/MapMarkerClusterIcon.svg',
|
|
8
8
|
size: [78, 84],
|
|
9
9
|
offset: [-35, -50],
|
|
10
10
|
},
|
|
@@ -15,7 +15,7 @@ export function renderClusterer(yandexMaps, map, points) {
|
|
|
15
15
|
});
|
|
16
16
|
const geoObjects = points.map((point) => new yandexMaps.Placemark(point, {}, {
|
|
17
17
|
iconLayout: 'default#image',
|
|
18
|
-
iconImageHref: 'icons/MapMarkerSingleIcon.svg',
|
|
18
|
+
iconImageHref: '/icons/MapMarkerSingleIcon.svg',
|
|
19
19
|
iconImageSize: [78, 84],
|
|
20
20
|
iconImageOffset: [-35, -50],
|
|
21
21
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderClusterer.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/renderClusterer.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,eAAe,CAAC,UAAwB,EAAE,GAAc,EAAE,MAAkB;IAC1F,GAAG,CAAC,UAAU,CAAC,SAAS,EAAE,CAAC;IAE3B,MAAM,wBAAwB,GAAG,UAAU,CAAC,qBAAqB,CAAC,WAAW,CAC3E,uEAAuE,CACxE,CAAC;IAEF,MAAM,SAAS,GAAG,IAAI,UAAU,CAAC,SAAS,CAAC;QACzC,YAAY,EAAE;YACZ;gBACE,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"renderClusterer.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/renderClusterer.ts"],"names":[],"mappings":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
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import ymaps from 'yandex-maps';
|
|
2
3
|
import type { MockPoints } from './mockPoints';
|
|
3
4
|
export declare const renderSearchField: (points: MockPoints[], yandexMaps: ymaps.Map, updatePointsToRender: (any: MockPoints[] | null) => void) => JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
+
import { style } from '../../utils/style.js';
|
|
2
3
|
import { Icon } from '../Icon/Icon.js';
|
|
3
4
|
const styles = {
|
|
4
5
|
border: 'border border-transparent rounded-md',
|
|
@@ -23,6 +24,6 @@ export const renderSearchField = (points, yandexMaps, updatePointsToRender) => {
|
|
|
23
24
|
updatePointsToRender(null);
|
|
24
25
|
}
|
|
25
26
|
};
|
|
26
|
-
return (_jsxs("div", { className:
|
|
27
|
+
return (_jsxs("div", { className: style(Object.values(styles), 'bg-white py-s pl-5xl pr-m w-full'), children: [_jsx(Icon, { name: "LoupeIcon", iconVersion: "black", width: "20", height: "20", className: "absolute left-4" }), _jsx("input", { type: "text", placeholder: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0438\u043B\u0438 \u043C\u0435\u0442\u0440\u043E", onChange: onChange, className: "border-0 focus:border-0 outline-0 w-full" })] }));
|
|
27
28
|
};
|
|
28
29
|
//# sourceMappingURL=renderSearchField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderSearchField.js","sourceRoot":"","sources":["../../../src/ui-kit/YandexMap/renderSearchField.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,MAAM,MAAM,GAAG;IACb,MAAM,EAAE,sCAAsC;IAC9C,QAAQ,EAAE,4BAA4B;IACtC,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE,sCAAsC;CAC/C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