@redneckz/wildless-cms-uni-blocks 0.14.0 → 0.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +221 -315
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/bundle/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/bundle/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/bundle/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/bundle/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/bundle/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/bundle/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- package/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/bundle/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/cosmos-static/icons/CloseIcon.svg +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/dist/components/Blocks.js +2 -6
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +2 -2
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinkButton.js +2 -2
- package/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/dist/components/Header/HeaderSubMenu.js +2 -1
- package/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +3 -2
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/dist/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/dist/components/OfficesAtmsMap/Badge.js +14 -0
- package/dist/components/OfficesAtmsMap/Badge.js.map +1 -0
- package/dist/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/dist/components/OfficesAtmsMap/CardCell.js +14 -0
- package/dist/components/OfficesAtmsMap/CardCell.js.map +1 -0
- package/dist/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/dist/components/OfficesAtmsMap/CardRow.js +7 -0
- package/dist/components/OfficesAtmsMap/CardRow.js.map +1 -0
- package/dist/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/dist/components/OfficesAtmsMap/OfficesAtmsMap.js +74 -0
- package/dist/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/dist/components/{OfficeMap/OfficeMapContent.js → OfficesAtmsMap/OfficesAtmsMapContent.js} +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/dist/components/OfficesAtmsMap/renderAtmCard.js +31 -0
- package/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/dist/components/OfficesAtmsMap/renderLunchHour.js +10 -0
- package/dist/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
- package/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/dist/components/OfficesAtmsMap/renderOfficeCard.js +50 -0
- package/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
- package/dist/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js +19 -0
- package/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js +2 -2
- package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/dist/components/ProductTile/ProductTile.js +1 -1
- package/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/dist/ui-kit/BaseTile/BaseTile.js +5 -5
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/dist/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/dist/ui-kit/BenefitItem/renderBenefitText.js +1 -1
- package/dist/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
- package/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.js +4 -4
- package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/dist/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/dist/ui-kit/YandexMap/YandexMap.js +13 -22
- package/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/dist/ui-kit/YandexMap/renderClusterer.js +2 -2
- package/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/dist/ui-kit/YandexMap/renderSearchField.js +2 -1
- package/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/dist/utils/fetchJSON.js +1 -1
- package/dist/utils/fetchJSON.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/lib/components/Blocks.js +2 -6
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +2 -2
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinkButton.js +2 -2
- package/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/lib/components/Header/HeaderSubMenu.js +2 -1
- package/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +3 -2
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/lib/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/lib/components/OfficesAtmsMap/Badge.js +12 -0
- package/lib/components/OfficesAtmsMap/Badge.js.map +1 -0
- package/lib/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/lib/components/OfficesAtmsMap/CardCell.js +12 -0
- package/lib/components/OfficesAtmsMap/CardCell.js.map +1 -0
- package/lib/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/lib/components/OfficesAtmsMap/CardRow.js +5 -0
- package/lib/components/OfficesAtmsMap/CardRow.js.map +1 -0
- package/lib/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/lib/components/{OfficeMap/OfficeMap.fixture.d.ts → OfficesAtmsMap/OfficesAtmsMap.fixture.d.ts} +2 -2
- package/lib/components/OfficesAtmsMap/OfficesAtmsMap.js +72 -0
- package/lib/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js +2 -0
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/lib/components/OfficesAtmsMap/renderAtmCard.js +28 -0
- package/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/lib/components/OfficesAtmsMap/renderLunchHour.js +7 -0
- package/lib/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
- package/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/lib/components/OfficesAtmsMap/renderOfficeCard.js +44 -0
- package/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
- package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js +16 -0
- package/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js +2 -2
- package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/lib/components/ProductTile/ProductTile.js +1 -1
- package/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js +5 -5
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/lib/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/lib/ui-kit/BenefitItem/renderBenefitText.js +1 -1
- package/lib/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
- package/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.js +4 -4
- package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/lib/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/lib/ui-kit/YandexMap/YandexMap.js +13 -22
- package/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderClusterer.js +2 -2
- package/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/lib/ui-kit/YandexMap/renderSearchField.d.ts +1 -0
- package/lib/ui-kit/YandexMap/renderSearchField.js +2 -1
- package/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/lib/utils/fetchJSON.js +1 -1
- package/lib/utils/fetchJSON.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +69 -135
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/bundle/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/mobile/bundle/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/mobile/bundle/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/mobile/bundle/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/mobile/bundle/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/mobile/bundle/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/mobile/bundle/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- package/mobile/bundle/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/bundle/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +2 -2
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js +2 -1
- package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +3 -2
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/dist/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/mobile/dist/components/OfficesAtmsMap/Badge.js +14 -0
- package/mobile/dist/components/OfficesAtmsMap/Badge.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/mobile/dist/components/OfficesAtmsMap/CardCell.js +14 -0
- package/mobile/dist/components/OfficesAtmsMap/CardCell.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/mobile/dist/components/OfficesAtmsMap/CardRow.js +7 -0
- package/mobile/dist/components/OfficesAtmsMap/CardRow.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.js +74 -0
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/mobile/dist/components/{OfficeMap/OfficeMapContent.js → OfficesAtmsMap/OfficesAtmsMapContent.js} +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js +31 -0
- package/mobile/dist/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js +10 -0
- package/mobile/dist/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js +50 -0
- package/mobile/dist/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
- package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js +19 -0
- package/mobile/dist/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +2 -2
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
- package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js +5 -5
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.js +1 -1
- package/mobile/dist/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/mobile/dist/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js +4 -4
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/dist/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js +13 -22
- package/mobile/dist/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderClusterer.js +2 -2
- package/mobile/dist/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/renderSearchField.js +2 -1
- package/mobile/dist/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/mobile/dist/utils/fetchJSON.js +1 -1
- package/mobile/dist/utils/fetchJSON.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +2 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +2 -2
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js +2 -1
- package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +3 -2
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +1 -1
- package/mobile/lib/components/OfficesAtmsMap/Badge.d.ts +11 -0
- package/mobile/lib/components/OfficesAtmsMap/Badge.js +12 -0
- package/mobile/lib/components/OfficesAtmsMap/Badge.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/CardCell.d.ts +9 -0
- package/mobile/lib/components/OfficesAtmsMap/CardCell.js +12 -0
- package/mobile/lib/components/OfficesAtmsMap/CardCell.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/CardRow.d.ts +4 -0
- package/mobile/lib/components/OfficesAtmsMap/CardRow.js +5 -0
- package/mobile/lib/components/OfficesAtmsMap/CardRow.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.d.ts +5 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.js +72 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMap.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +35 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js +2 -0
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.d.ts +3 -0
- package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js +28 -0
- package/mobile/lib/components/OfficesAtmsMap/renderAtmCard.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.d.ts +2 -0
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js +7 -0
- package/mobile/lib/components/OfficesAtmsMap/renderLunchHour.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.d.ts +6 -0
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js +44 -0
- package/mobile/lib/components/OfficesAtmsMap/renderOfficeCard.js.map +1 -0
- package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.d.ts +90 -0
- package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js +16 -0
- package/mobile/lib/components/OfficesAtmsMap/useOfficesAtmsMap.js.map +1 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +2 -2
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
- package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +3 -2
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +5 -5
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js +1 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitIcon.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.d.ts +4 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.js +1 -1
- package/mobile/lib/ui-kit/BenefitItem/renderBenefitText.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitsList/BenefitsListProps.d.ts +1 -0
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js +1 -1
- package/mobile/lib/ui-kit/InnerTable/renderInnerTableRow.js.map +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js +4 -4
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/lib/ui-kit/Text/TextProps.d.ts +1 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.d.ts +0 -1
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js +13 -22
- package/mobile/lib/ui-kit/YandexMap/YandexMap.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderClusterer.js +2 -2
- package/mobile/lib/ui-kit/YandexMap/renderClusterer.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/renderSearchField.js +2 -1
- package/mobile/lib/ui-kit/YandexMap/renderSearchField.js.map +1 -1
- package/mobile/lib/utils/fetchJSON.js +1 -1
- package/mobile/lib/utils/fetchJSON.js.map +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +2 -2
- package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +2 -2
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
- package/mobile/src/components/Header/HeaderSubMenu.tsx +6 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +19 -6
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
- package/mobile/src/components/OfficesAtmsMap/Badge.tsx +30 -0
- package/mobile/src/components/OfficesAtmsMap/CardCell.tsx +40 -0
- package/mobile/src/components/OfficesAtmsMap/CardRow.tsx +17 -0
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMap.tsx +165 -0
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +40 -0
- package/mobile/src/components/OfficesAtmsMap/renderAtmCard.tsx +60 -0
- package/mobile/src/components/OfficesAtmsMap/renderLunchHour.tsx +28 -0
- package/mobile/src/components/OfficesAtmsMap/renderOfficeCard.tsx +121 -0
- package/mobile/src/components/OfficesAtmsMap/useOfficesAtmsMap.ts +118 -0
- package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +6 -6
- package/mobile/src/components/ProductTile/ProductTile.tsx +1 -1
- package/mobile/src/icons/CloseIcon.svg +4 -4
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +22 -10
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +5 -5
- package/mobile/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
- package/mobile/src/ui-kit/BenefitItem/renderBenefitText.tsx +10 -2
- package/mobile/src/ui-kit/BenefitsList/BenefitsListProps.ts +1 -0
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/mobile/src/ui-kit/InnerTable/renderInnerTableRow.tsx +2 -2
- package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +10 -6
- package/mobile/src/ui-kit/Text/TextProps.ts +2 -0
- package/mobile/src/ui-kit/YandexMap/YandexMap.tsx +70 -79
- package/mobile/src/ui-kit/YandexMap/renderClusterer.ts +2 -2
- package/mobile/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
- package/mobile/src/utils/fetchJSON.ts +1 -1
- package/package.json +1 -1
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +2 -2
- package/src/components/Blocks.ts +2 -6
- package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
- package/src/components/CarouselCard/CarouselCard.tsx +2 -2
- package/src/components/CarouselLinks/CarouselLinkButton.tsx +2 -2
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +1 -1
- package/src/components/Header/HeaderSubMenu.tsx +6 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +19 -6
- package/src/components/MobileAppTile/MobileAppTileContent.ts +1 -1
- package/src/components/OfficesAtmsMap/Badge.tsx +30 -0
- package/src/components/OfficesAtmsMap/CardCell.tsx +40 -0
- package/src/components/OfficesAtmsMap/CardRow.tsx +17 -0
- package/src/components/OfficesAtmsMap/OfficesAtmsMap.fixture.tsx +41 -0
- package/src/components/OfficesAtmsMap/OfficesAtmsMap.tsx +165 -0
- package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +40 -0
- package/src/components/OfficesAtmsMap/renderAtmCard.tsx +60 -0
- package/src/components/OfficesAtmsMap/renderLunchHour.tsx +28 -0
- package/src/components/OfficesAtmsMap/renderOfficeCard.tsx +121 -0
- package/src/components/OfficesAtmsMap/useOfficesAtmsMap.ts +118 -0
- package/src/components/PictureText/renderInsuranceSumMonth.tsx +6 -6
- package/src/components/ProductTile/ProductTile.fixture.mobile.tsx +7 -4
- package/src/components/ProductTile/ProductTile.tsx +1 -1
- package/src/icons/CloseIcon.svg +4 -4
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +22 -10
- package/src/ui-kit/BaseTile/BaseTile.tsx +5 -5
- package/src/ui-kit/BenefitItem/renderBenefitIcon.tsx +1 -1
- package/src/ui-kit/BenefitItem/renderBenefitText.tsx +10 -2
- package/src/ui-kit/BenefitsList/BenefitsListProps.ts +1 -0
- package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/src/ui-kit/InnerTable/renderInnerTableRow.tsx +2 -2
- package/src/ui-kit/Sitemap/Sitemap.tsx +10 -6
- package/src/ui-kit/Text/TextProps.ts +2 -0
- package/src/ui-kit/YandexMap/YandexMap.tsx +70 -79
- package/src/ui-kit/YandexMap/renderClusterer.ts +2 -2
- package/src/ui-kit/YandexMap/renderSearchField.tsx +2 -1
- package/src/utils/fetchJSON.ts +1 -1
- package/bundle/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/bundle/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -3
- package/bundle/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/bundle/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/bundle/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/bundle/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/bundle/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/bundle/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/dist/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/dist/components/ExchangeRateOffice/Currencies.js +0 -12
- package/dist/components/ExchangeRateOffice/Currencies.js.map +0 -1
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -16
- package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
- package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
- package/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
- package/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/dist/components/ExchangeRateOffice/renderCurrencies.js +0 -30
- package/dist/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
- package/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/dist/components/ExchangeRateOffice/renderTableHeader.js +0 -9
- package/dist/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
- package/dist/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/dist/components/MobileAppTile/buttonsConditionStyle.js +0 -6
- package/dist/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
- package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -3
- package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js +0 -13
- package/dist/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +0 -1
- package/dist/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/dist/components/OfficeMap/OfficeMap.js +0 -43
- package/dist/components/OfficeMap/OfficeMap.js.map +0 -1
- package/dist/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/dist/components/OfficeMap/OfficeMapContent.js.map +0 -1
- package/dist/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/dist/components/OfficeMap/mockOfficeMap.js +0 -82
- package/dist/components/OfficeMap/mockOfficeMap.js.map +0 -1
- package/dist/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/dist/components/OfficeMap/nearbyOffices.js +0 -9
- package/dist/components/OfficeMap/nearbyOffices.js.map +0 -1
- package/dist/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/dist/components/OfficeMap/renderFunctions.js +0 -20
- package/dist/components/OfficeMap/renderFunctions.js.map +0 -1
- package/dist/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/dist/components/OfficeMap/useOfficeMap.js +0 -20
- package/dist/components/OfficeMap/useOfficeMap.js.map +0 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -12
- package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
- package/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
- package/lib/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/lib/components/ExchangeRateOffice/Currencies.js +0 -10
- package/lib/components/ExchangeRateOffice/Currencies.js.map +0 -1
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.fixture.d.ts +0 -6
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -14
- package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
- package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
- package/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
- package/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/lib/components/ExchangeRateOffice/renderCurrencies.js +0 -27
- package/lib/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
- package/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/lib/components/ExchangeRateOffice/renderTableHeader.js +0 -6
- package/lib/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
- package/lib/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/lib/components/MobileAppTile/buttonsConditionStyle.js +0 -3
- package/lib/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
- package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.d.ts +0 -2
- package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js +0 -10
- package/lib/components/MobileAppTile/buttonsConditionStyle.mobile.js.map +0 -1
- package/lib/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/lib/components/OfficeMap/OfficeMap.js +0 -41
- package/lib/components/OfficeMap/OfficeMap.js.map +0 -1
- package/lib/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/lib/components/OfficeMap/OfficeMapContent.js +0 -2
- package/lib/components/OfficeMap/OfficeMapContent.js.map +0 -1
- package/lib/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/lib/components/OfficeMap/mockOfficeMap.js +0 -80
- package/lib/components/OfficeMap/mockOfficeMap.js.map +0 -1
- package/lib/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/lib/components/OfficeMap/nearbyOffices.js +0 -7
- package/lib/components/OfficeMap/nearbyOffices.js.map +0 -1
- package/lib/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/lib/components/OfficeMap/renderFunctions.js +0 -15
- package/lib/components/OfficeMap/renderFunctions.js.map +0 -1
- package/lib/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/lib/components/OfficeMap/useOfficeMap.js +0 -17
- package/lib/components/OfficeMap/useOfficeMap.js.map +0 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.fixture.d.ts +0 -6
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -10
- package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
- package/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
- package/mobile/bundle/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/mobile/bundle/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/mobile/bundle/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/mobile/bundle/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/mobile/bundle/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/mobile/bundle/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/mobile/bundle/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/mobile/bundle/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/mobile/bundle/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/mobile/bundle/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/mobile/dist/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/mobile/dist/components/ExchangeRateOffice/Currencies.js +0 -12
- package/mobile/dist/components/ExchangeRateOffice/Currencies.js.map +0 -1
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -16
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
- package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
- package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js +0 -30
- package/mobile/dist/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js +0 -9
- package/mobile/dist/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
- package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js +0 -13
- package/mobile/dist/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
- package/mobile/dist/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/mobile/dist/components/OfficeMap/OfficeMap.js +0 -43
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +0 -1
- package/mobile/dist/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/mobile/dist/components/OfficeMap/OfficeMapContent.js.map +0 -1
- package/mobile/dist/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/mobile/dist/components/OfficeMap/mockOfficeMap.js +0 -82
- package/mobile/dist/components/OfficeMap/mockOfficeMap.js.map +0 -1
- package/mobile/dist/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/mobile/dist/components/OfficeMap/nearbyOffices.js +0 -9
- package/mobile/dist/components/OfficeMap/nearbyOffices.js.map +0 -1
- package/mobile/dist/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/mobile/dist/components/OfficeMap/renderFunctions.js +0 -20
- package/mobile/dist/components/OfficeMap/renderFunctions.js.map +0 -1
- package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/mobile/dist/components/OfficeMap/useOfficeMap.js +0 -20
- package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +0 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -12
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
- package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
- package/mobile/lib/components/ExchangeRateOffice/Currencies.d.ts +0 -8
- package/mobile/lib/components/ExchangeRateOffice/Currencies.js +0 -10
- package/mobile/lib/components/ExchangeRateOffice/Currencies.js.map +0 -1
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.d.ts +0 -5
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +0 -14
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +0 -1
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.d.ts +0 -36
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js +0 -2
- package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOfficeContent.js.map +0 -1
- package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.d.ts +0 -3
- package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js +0 -27
- package/mobile/lib/components/ExchangeRateOffice/renderCurrencies.js.map +0 -1
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.d.ts +0 -2
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js +0 -6
- package/mobile/lib/components/ExchangeRateOffice/renderTableHeader.js.map +0 -1
- package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.d.ts +0 -3
- package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js +0 -10
- package/mobile/lib/components/MobileAppTile/buttonsConditionStyle.js.map +0 -1
- package/mobile/lib/components/OfficeMap/OfficeMap.d.ts +0 -5
- package/mobile/lib/components/OfficeMap/OfficeMap.js +0 -41
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +0 -1
- package/mobile/lib/components/OfficeMap/OfficeMapContent.d.ts +0 -38
- package/mobile/lib/components/OfficeMap/OfficeMapContent.js +0 -2
- package/mobile/lib/components/OfficeMap/OfficeMapContent.js.map +0 -1
- package/mobile/lib/components/OfficeMap/mockOfficeMap.d.ts +0 -57
- package/mobile/lib/components/OfficeMap/mockOfficeMap.js +0 -80
- package/mobile/lib/components/OfficeMap/mockOfficeMap.js.map +0 -1
- package/mobile/lib/components/OfficeMap/nearbyOffices.d.ts +0 -2
- package/mobile/lib/components/OfficeMap/nearbyOffices.js +0 -7
- package/mobile/lib/components/OfficeMap/nearbyOffices.js.map +0 -1
- package/mobile/lib/components/OfficeMap/renderFunctions.d.ts +0 -5
- package/mobile/lib/components/OfficeMap/renderFunctions.js +0 -15
- package/mobile/lib/components/OfficeMap/renderFunctions.js.map +0 -1
- package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +0 -59
- package/mobile/lib/components/OfficeMap/useOfficeMap.js +0 -17
- package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +0 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +0 -5
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +0 -10
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +0 -1
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +0 -11
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js +0 -2
- package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlockContent.js.map +0 -1
- package/mobile/src/components/ExchangeRateOffice/Currencies.ts +0 -8
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +0 -32
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +0 -62
- package/mobile/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +0 -36
- package/mobile/src/components/ExchangeRateOffice/renderCurrencies.tsx +0 -73
- package/mobile/src/components/ExchangeRateOffice/renderTableHeader.tsx +0 -11
- package/mobile/src/components/MobileAppTile/buttonsConditionStyle.tsx +0 -12
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +0 -76
- package/mobile/src/components/OfficeMap/OfficeMapContent.ts +0 -42
- package/mobile/src/components/OfficeMap/mockOfficeMap.ts +0 -79
- package/mobile/src/components/OfficeMap/nearbyOffices.ts +0 -8
- package/mobile/src/components/OfficeMap/renderFunctions.tsx +0 -75
- package/mobile/src/components/OfficeMap/useOfficeMap.ts +0 -24
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +0 -49
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +0 -37
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +0 -11
- package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +0 -14
- package/src/components/ExchangeRateOffice/Currencies.ts +0 -8
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.example.json +0 -32
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +0 -79
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +0 -62
- package/src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts +0 -36
- package/src/components/ExchangeRateOffice/renderCurrencies.tsx +0 -73
- package/src/components/ExchangeRateOffice/renderTableHeader.tsx +0 -11
- package/src/components/MobileAppTile/buttonsConditionStyle.mobile.tsx +0 -12
- package/src/components/MobileAppTile/buttonsConditionStyle.tsx +0 -5
- package/src/components/OfficeMap/OfficeMap.fixture.tsx +0 -11
- package/src/components/OfficeMap/OfficeMap.tsx +0 -76
- package/src/components/OfficeMap/OfficeMapContent.ts +0 -42
- package/src/components/OfficeMap/mockOfficeMap.ts +0 -79
- package/src/components/OfficeMap/nearbyOffices.ts +0 -8
- package/src/components/OfficeMap/renderFunctions.tsx +0 -75
- package/src/components/OfficeMap/useOfficeMap.ts +0 -24
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.example.json +0 -49
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +0 -44
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +0 -37
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.ui.json +0 -11
- package/src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts +0 -14
- /package/mobile/src/components/{ExchangeRateOffice/ExchangeRateOffice.ui.json → OfficesAtmsMap/OfficesAtmsMap.ui.json} +0 -0
- /package/mobile/src/components/{OfficeMap/OfficeMap.ui.json → OfficesAtmsMap/OfficesAtmsMaps.example.json} +0 -0
- /package/src/components/{ExchangeRateOffice/ExchangeRateOffice.ui.json → OfficesAtmsMap/OfficesAtmsMap.ui.json} +0 -0
- /package/src/components/{OfficeMap/OfficeMap.ui.json → OfficesAtmsMap/OfficesAtmsMaps.example.json} +0 -0
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { Img } from '../../ui-kit/Img/Img.js';
|
|
3
|
-
import { style } from '../../utils/style.js';
|
|
4
|
-
import { Currencies } from './Currencies.js';
|
|
5
|
-
const CURRENCY_ICONS_MAP = {
|
|
6
|
-
USD: 'DollarIcon',
|
|
7
|
-
EUR: 'EuroIcon',
|
|
8
|
-
GBP: 'DollarIcon',
|
|
9
|
-
AUD: 'DollarIcon',
|
|
10
|
-
CNY: 'DollarIcon',
|
|
11
|
-
RUB: 'RoundRubleIcon',
|
|
12
|
-
};
|
|
13
|
-
export const renderCurrencyRow = ({ title, buyPrice, buyDifference, sellPrice, sellDifference, buyOfficeName, sellOfficeName, }) => {
|
|
14
|
-
return (_jsxs("tr", { className: "pb-2xs text-h6", children: [_jsx("td", { className: "pt-m", children: _jsxs("div", { className: "flex items-center", children: [title ? (_jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[title] }, width: "24", height: "24" })) : null, _jsx("span", { className: "ml-xs", children: title })] }) }), renderCurrency(buyPrice, buyDifference), renderCurrency(sellPrice, sellDifference), renderOffice(buyPrice, buyOfficeName), renderOffice(sellPrice, sellOfficeName)] }, title));
|
|
15
|
-
};
|
|
16
|
-
const formatCurrency = (value) => (value ? currencyNumberFormat.format(value) : '');
|
|
17
|
-
const renderCurrency = (price, difference) => {
|
|
18
|
-
return (_jsxs("td", { className: "pt-m pl-5xl", children: [_jsx("div", { children: formatCurrency(price) }), _jsx("div", { className: style('font-normal text-sm text-secondary-text', (difference || 0) >= 0 ? 'text-green' : 'text-red'), children: formatCurrency(difference) })] }));
|
|
19
|
-
};
|
|
20
|
-
const renderOffice = (price, officeName = '') => {
|
|
21
|
-
return (_jsxs("td", { className: "pt-m pl-5xl", children: [_jsx("div", { children: formatCurrency(price) }), _jsx("div", { className: "font-normal text-sm text-green", children: officeName })] }));
|
|
22
|
-
};
|
|
23
|
-
const currencyNumberFormat = new Intl.NumberFormat('ru', {
|
|
24
|
-
style: 'currency',
|
|
25
|
-
currency: Currencies.RUB,
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=renderCurrencies.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderCurrencies.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateOffice/renderCurrencies.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,kBAAkB,GAA8C;IACpE,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,UAAU;IACf,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,gBAAgB;CACtB,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAChC,KAAK,EACL,QAAQ,EACR,aAAa,EACb,SAAS,EACT,cAAc,EACd,aAAa,EACb,cAAc,GACM,EAAE,EAAE;IACxB,OAA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AAC,KAAK,CAAC,GAAO,EAClC,cAAK,SAAS,EAAC,gCAAgC,YAAE,UAAU,GAAO,IAC/D,CACN,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,oBAAoB,GAAG,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE;IACvD,KAAK,EAAE,UAAU;IACjB,QAAQ,EAAE,UAAU,CAAC,GAAG;CACzB,CAAC,CAAC"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
3
|
-
export const renderTableHeader = (title) => {
|
|
4
|
-
return (_jsx("th", { className: "pl-5xl", children: _jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: title }) }));
|
|
5
|
-
};
|
|
6
|
-
//# sourceMappingURL=renderTableHeader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderTableHeader.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateOffice/renderTableHeader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAE,EAAE;IACjD,OAAO,CACL,aAAI,SAAS,EAAC,QAAQ,YACpB,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,qBAAqB,YAChF,KAAK,GACD,GACJ,CACN,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buttonsConditionStyle.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/buttonsConditionStyle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAGhF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAsB,EAAE,EAAE,CAC9D,oBAAoB,CAAC,OAAO,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
2
|
-
import { style } from '../../utils/style.js';
|
|
3
|
-
export const buttonsConditionStyle = (buttons) => {
|
|
4
|
-
const buttonsLengthMoreThanTwo = buttons.length > 2;
|
|
5
|
-
return renderButtonsSection(buttons, {
|
|
6
|
-
className: style(buttonsLengthMoreThanTwo ? 'w-full' : 'flex-nowrap'),
|
|
7
|
-
isVertical: buttonsLengthMoreThanTwo,
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=buttonsConditionStyle.mobile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buttonsConditionStyle.mobile.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/buttonsConditionStyle.mobile.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAEhF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,OAAsB,EAAE,EAAE;IAC9D,MAAM,wBAAwB,GAAG,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;IAEpD,OAAO,oBAAoB,CAAC,OAAO,EAAE;QACnC,SAAS,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC;QACrE,UAAU,EAAE,wBAAwB;KACrC,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -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,41 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
4
|
-
import { YandexMap } from '../../ui-kit/YandexMap/YandexMap.js';
|
|
5
|
-
import { OFFICE_MAP } from './mockOfficeMap.js';
|
|
6
|
-
import { nearbyOffices } from './nearbyOffices.js';
|
|
7
|
-
import { renderCurrentDaySchedule, renderDay, renderNearbyOffice } from './renderFunctions.js';
|
|
8
|
-
export const OfficeMap = JSX(({ className = '' }) => {
|
|
9
|
-
// TODO: useOfficeMap endpoint had use /api/v1/branches. This endpoint now is`t correct/
|
|
10
|
-
// TODO: useOfficeMap has return MOCK OBJECT!
|
|
11
|
-
// TODO: Fix this when endpoint /api/v1/branches (or new endpoint) had returning right data
|
|
12
|
-
const resultOfficeMap = OFFICE_MAP;
|
|
13
|
-
const { name, address, gpsLatitude, gpsLongitude, workSchedule } = resultOfficeMap;
|
|
14
|
-
const { workingMonday, workingTuesday, workingWednesday, workingThursday, workingFriday, workingSaturday, workingSunday, } = workSchedule;
|
|
15
|
-
const { workTime, lunchHour, workTimeSaturday, lunchHourSaturday } = workSchedule;
|
|
16
|
-
const point = gpsLatitude && gpsLongitude ? [gpsLatitude, gpsLongitude] : null;
|
|
17
|
-
const workScheduleWeek = [
|
|
18
|
-
{ title: 'Понедельник', status: workingMonday, workTime, lunchHour },
|
|
19
|
-
{ title: 'Вторник', status: workingTuesday, workTime, lunchHour },
|
|
20
|
-
{ title: 'Среда', status: workingWednesday, workTime, lunchHour },
|
|
21
|
-
{
|
|
22
|
-
title: 'Четверг',
|
|
23
|
-
status: workingThursday,
|
|
24
|
-
workTime,
|
|
25
|
-
lunchHour: '13:00 - 14:00',
|
|
26
|
-
description: 'Не работает прием денег с 17:00 до 19:00', // Добавлено для проверки
|
|
27
|
-
},
|
|
28
|
-
{ title: 'Пятница', status: workingFriday, workTime, lunchHour },
|
|
29
|
-
{
|
|
30
|
-
title: 'Суббота',
|
|
31
|
-
status: workingSaturday,
|
|
32
|
-
workTime: workTimeSaturday,
|
|
33
|
-
lunchHour: lunchHourSaturday,
|
|
34
|
-
},
|
|
35
|
-
{ title: 'Воскресенье', status: workingSunday },
|
|
36
|
-
];
|
|
37
|
-
const currentWeekDayInd = new Date().getDay();
|
|
38
|
-
const currentWeekDay = currentWeekDayInd > 0 ? workScheduleWeek[currentWeekDayInd - 1] : workScheduleWeek[6];
|
|
39
|
-
return (_jsxs("div", { className: `flex flex-col font-sans w-full ${className}`, children: [_jsxs("div", { className: "flex flex-col gap-m p-6xl pb-3xl", children: [_jsxs("div", { className: "flex justify-between", children: [_jsx("div", { className: "text-h2", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), _jsxs("div", { className: "flex text-l font-light", children: [_jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "pr-2xs" }), address] }), _jsx("div", { className: "flex", children: nearbyOffices.map(renderNearbyOffice) })] }), _jsxs("div", { className: "flex justify-between", children: [_jsx("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? _jsx(YandexMap, { points: [point], className: "h-full" }) : null }), _jsx("div", { className: "w-[434px] min-w-[434px] p-6xl pt-0 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
|
|
40
|
-
});
|
|
41
|
-
//# sourceMappingURL=OfficeMap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/OfficeMap.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,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gB,CAAC,GAAG,CAAC,SAAS,CAAC,GAC5B,IACF,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeMapContent.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/OfficeMapContent.ts"],"names":[],"mappings":""}
|
|
@@ -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,80 +0,0 @@
|
|
|
1
|
-
export const OFFICE_MAP = {
|
|
2
|
-
id: 123,
|
|
3
|
-
branchType: {
|
|
4
|
-
id: 7,
|
|
5
|
-
code: '21',
|
|
6
|
-
name: 'Отделение на балансе филиала',
|
|
7
|
-
},
|
|
8
|
-
shortName: 'Ейский ДО',
|
|
9
|
-
name: 'ДО №3349/3/05',
|
|
10
|
-
address: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
|
|
11
|
-
lawAddress: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
|
|
12
|
-
openDate: '2000-12-05',
|
|
13
|
-
closeDate: null,
|
|
14
|
-
bik: '040349536',
|
|
15
|
-
corAcc: '30101810700000000536',
|
|
16
|
-
registrationNumber: '3349/3/05',
|
|
17
|
-
phone: '+7(XXX)XXX-XX-XX',
|
|
18
|
-
fax: '+7(XXX)XXX-XX-XY',
|
|
19
|
-
okpo: '55105921',
|
|
20
|
-
ogrn: '1027700342890',
|
|
21
|
-
kpp: '231002002',
|
|
22
|
-
inn: '7725114488',
|
|
23
|
-
branchCode: '0305',
|
|
24
|
-
upperBranchCode: '0300',
|
|
25
|
-
timeZone: '+03:00',
|
|
26
|
-
exchangeRate: {
|
|
27
|
-
currencies: [
|
|
28
|
-
{
|
|
29
|
-
buyExchangeRate: 0.0,
|
|
30
|
-
saleExchangeRate: 0.0,
|
|
31
|
-
currency: {
|
|
32
|
-
id: 3,
|
|
33
|
-
code: '156',
|
|
34
|
-
currency: 'CNY',
|
|
35
|
-
name: 'Китайский юань',
|
|
36
|
-
},
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
buyExchangeRate: 59.15,
|
|
40
|
-
saleExchangeRate: 69.25,
|
|
41
|
-
currency: {
|
|
42
|
-
id: 2,
|
|
43
|
-
code: '978',
|
|
44
|
-
currency: 'EUR',
|
|
45
|
-
name: 'Евро',
|
|
46
|
-
},
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
buyExchangeRate: 58.4,
|
|
50
|
-
saleExchangeRate: 70.05,
|
|
51
|
-
currency: {
|
|
52
|
-
id: 1,
|
|
53
|
-
code: '840',
|
|
54
|
-
currency: 'USD',
|
|
55
|
-
name: 'Американский доллар',
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
lastUpdate: '2022-11-11 03:56:17',
|
|
60
|
-
},
|
|
61
|
-
workSchedule: {
|
|
62
|
-
id: 413,
|
|
63
|
-
workTime: '09.00–16.30',
|
|
64
|
-
lunchHour: 'без перерыва',
|
|
65
|
-
workTimeSaturday: '09.00–15.00',
|
|
66
|
-
lunchHourSaturday: 'без перерыва',
|
|
67
|
-
workingMonday: false,
|
|
68
|
-
workingTuesday: false,
|
|
69
|
-
workingWednesday: true,
|
|
70
|
-
workingThursday: true,
|
|
71
|
-
workingFriday: true,
|
|
72
|
-
workingSaturday: true,
|
|
73
|
-
workingSunday: false,
|
|
74
|
-
},
|
|
75
|
-
gpsLatitude: 46.709744,
|
|
76
|
-
gpsLongitude: 38.260703,
|
|
77
|
-
range: null,
|
|
78
|
-
safeBoxCaseVolumes: null,
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=mockOfficeMap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mockOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/mockOfficeMap.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,EAAE,EAAE,GAAG;IACP,UAAU,EAAE;QACV,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,IAAI;QACV,IAAI,EAAE,8BAA8B;KACrC;IACD,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE,0EAA0E;IACnF,UAAU,EAAE,0EAA0E;IACtF,QAAQ,EAAE,YAAY;IACtB,SAAS,EAAE,IAAI;IACf,GAAG,EAAE,WAAW;IAChB,MAAM,EAAE,sBAAsB;IAC9B,kBAAkB,EAAE,WAAW;IAC/B,K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EAAE,IAAI;IACX,kBAAkB,EAAE,IAAI;CACzB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// Добавлено для проверки
|
|
2
|
-
export const nearbyOffices = [
|
|
3
|
-
{ title: 'Деловой центр', time: '1 мин', distance: '~30 м.', icon: 'MetroIcon' },
|
|
4
|
-
{ title: 'Выставочная', time: '5 мин', distance: '~120 м.', icon: 'MetroIcon' },
|
|
5
|
-
{ title: 'Деловой центр', time: '8 мин', distance: '~350 м.', icon: 'MetroIcon' },
|
|
6
|
-
];
|
|
7
|
-
//# sourceMappingURL=nearbyOffices.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nearbyOffices.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/nearbyOffices.ts"],"names":[],"mappings":"AAEA,yBAAyB;AACzB,MAAM,CAAC,MAAM,aAAa,GAAoB;IAC5C,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE;IAChF,EAAE,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE;IAC/E,EAAE,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,WAAW,EAAE;CAClF,CAAC"}
|
|
@@ -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,15 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
3
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
4
|
-
export const renderCurrentDaySchedule = ({ lunchHour, status, workTime }) => {
|
|
5
|
-
const hasTime = /\d+/gi.test(lunchHour);
|
|
6
|
-
const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
|
|
7
|
-
return status ? (_jsxs("div", { className: "flex gap-m", children: [_jsx("div", { className: "p-s border rounded-md text-m flex items-center cursor-pointer text-primary-main border-green-light", children: workTime ? workTime : null }), _jsx("div", { className: "p-s border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden", children: lunchHour ? lunchHourText : null })] })) : (_jsx("div", { className: "flex", children: _jsx("div", { className: "p-s border rounded-md text-m flex items-center cursor-pointer text-error border-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }) }));
|
|
8
|
-
};
|
|
9
|
-
export const renderNearbyOffice = ({ icon, title, distance, time }, index) => (_jsxs("div", { className: "flex mr-m", children: [_jsx(Icon, { name: icon, width: "16", height: "16", className: "mr-xs" }), title ? _jsxs(Text, { size: "text-m", children: [title, "\u00A0"] }) : null, _jsxs(Text, { size: "text-m", font: "font-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
|
|
10
|
-
export const renderDay = ({ title, status, workTime, lunchHour, description }, inx) => (_jsxs("div", { className: "flex flex-col gap-2xs pb-s border-b border-solid border-main-divider mb-s last:border-0", children: [_jsxs("div", { className: "flex justify-between items-center w-full text-l text-primary-text", children: [_jsx("div", { children: title }), status ? null : _jsx("div", { className: "text-m font-light text-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }), status && workTime ? _jsx("div", { children: workTime }) : null] }), status && lunchHour ? renderLunchHour(lunchHour) : null, description ? (_jsx("div", { className: "text-s font-light text-secondary-text", children: description })) : null] }, `day${inx}`));
|
|
11
|
-
const renderLunchHour = (lunchHour) => {
|
|
12
|
-
const hasTime = /\d+/gi.test(lunchHour);
|
|
13
|
-
return hasTime ? (_jsxs("div", { className: "flex justify-between items-center w-full text-m font-light text-error", children: [_jsx("div", { children: "\u041F\u0435\u0440\u0435\u0440\u044B\u0432" }), _jsx("div", { children: lunchHour })] })) : (_jsx("div", { className: "flex justify-between items-center w-full", children: _jsx(Text, { size: "text-m", font: "font-light", color: "text-primary-main", children: lunchHour }) }));
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=renderFunctions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderFunctions.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/renderFunctions.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAoB,EAAE,EAAE;IAC5F,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,SAAmB,CAAC,CAAC;IAClD,MAAM,aAAa,GAAG,OAAO,CAAC,CAAC,CAAC,WAAW,SAAS,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC;IAEnE,OAAO,MAAM,CAAC,CAAC,CAAC,CACd,eAAK,SAAS,EAAC,YAAY,aACzB,cAAK,SAAS,EAAC,oGAAoG,YAChH,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,GACvB,EACN,cAAK,SAAS,EAAC,yFAAyF,YACrG,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,GAC7B,IACF,CACP,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,MAAM,YACnB,cAAK,SAA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AAC,CAAC,CACb,cAAK,SAAS,EAAC,uCAAuC,YAAE,WAAW,GAAO,CAC3E,CAAC,CAAC,CAAC,IAAI,KAVH,MAAM,GAAG,EAAE,CAWZ,CACP,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,SAAiB,EAAE,EAAE;IAC5C,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;IAExC,OAAO,OAAO,CAAC,CAAC,CAAC,CACf,eAAK,SAAS,EAAC,uEAAuE,aACpF,uEAAkB,EAClB,wBAAM,SAAS,GAAO,IAClB,CACP,CAAC,CAAC,CAAC,CACF,cAAK,SAAS,EAAC,0CAA0C,YACvD,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,mBAAmB,YAC5D,SAAS,GACL,GACH,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -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,17 +0,0 @@
|
|
|
1
|
-
import { useAsyncData } from '@redneckz/uni-jsx/lib/hooks/useAsyncData';
|
|
2
|
-
import { fetchJSON } from '../../utils/fetchJSON.js';
|
|
3
|
-
import { OFFICE_MAP } from './mockOfficeMap.js';
|
|
4
|
-
const OFFICE_MAP_URL = '/api/v1/branches';
|
|
5
|
-
// TODO: regionCode - внутренний идентификатор банка. Не соответствует государственной нумерации регионов РФ
|
|
6
|
-
// TODO: Список регионов можно получить через api/v1/regions
|
|
7
|
-
export function useOfficeMap(regionCode) {
|
|
8
|
-
const { data } = useAsyncData(regionCode ? `${OFFICE_MAP_URL}?regionCode=${regionCode}` : undefined, fetchOfficeMap);
|
|
9
|
-
return data || OFFICE_MAP;
|
|
10
|
-
}
|
|
11
|
-
function fetchOfficeMap(url) {
|
|
12
|
-
if (!url) {
|
|
13
|
-
return {};
|
|
14
|
-
}
|
|
15
|
-
return fetchJSON(url, { method: 'GET' });
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=useOfficeMap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/useOfficeMap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAE1C,4GAA4G;AAC5G,4DAA4D;AAC5D,MAAM,UAAU,YAAY,CAAC,UAAmB;IAC9C,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,UAAU,CAAC,CAAC,CAAC,GAAG,cAAc,eAAe,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,EACrE,cAAc,CACf,CAAC;IAEF,OAAO,IAAI,IAAI,UAAU,CAAC;AAC5B,CAAC;AAED,SAAS,cAAc,CAAC,GAAY;IAClC,IAAI,CAAC,GAAG,EAAE;QACR,OAAO,EAAE,CAAC;KACX;IAED,OAAO,SAAS,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,CAAC;AAC3C,CAAC"}
|
|
@@ -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,10 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
-
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
|
-
import { Img } from '../../ui-kit/Img/Img.js';
|
|
6
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
7
|
-
import { style } from '../../utils/style.js';
|
|
8
|
-
export const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (_jsxs(BlockWrapper, { className: style('flex flex-col gap-lg', className), ...rest, children: [title ? _jsx(Heading, { headingType: "h5", title: title }) : null, servicesList?.length ? (_jsx("ul", { className: "list-none space-y-lg", children: servicesList.map(renderListItems) })) : null] })));
|
|
9
|
-
const renderListItems = (itemList, i) => (_jsxs("li", { className: "flex gap-s list-none ", children: [itemList.icon ? (_jsx(Img, { className: "min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", image: itemList.icon })) : null, itemList.label ? (_jsx(Text, { size: "text-l", font: "font-light", children: itemList.label })) : null] }, `list_item_${String(i)}`));
|
|
10
|
-
//# sourceMappingURL=OfficeServicesBlock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAQ1C,MAAM,CAAC,MAAM,mBAAmB,GAAG,GAAG,CACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACpD,MAAC,YAAY,IAAC,SAAS,EAAE,KAAK,CAAC,sBAAsB,EAAE,SAAS,CAAC,KAAM,IAAI,aACxE,KAAK,CAAC,CAAC,CAAC,KAAC,OAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACzD,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,CACtB,aAAI,SAAS,EAAC,sBAAsB,YAAE,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,GAAM,CAC9E,CAAC,CAAC,CAAC,IAAI,IACK,CAChB,CACF,CAAC;AAEF,MAAM,eAAe,GAAG,CAAC,QAAiC,EAAE,CAAS,EAAE,EAAE,CAAC,CACxE,cAAmC,SAAS,EAAC,uBAAuB,aACjE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CACf,KAAC,GAAG,IAAC,SAAS,EAAC,yBAAyB,EAAC,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,EAAE,QAAQ,CAAC,IAAI,GAAI,CACzF,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAChB,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,YAClC,QAAQ,CAAC,KAAK,GACV,CACR,CAAC,CAAC,CAAC,IAAI,KARD,aAAa,MAAM,CAAC,CAAC,CAAC,EAAE,CAS5B,CACN,CAAC"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeServicesBlockContent.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlockContent.ts"],"names":[],"mappings":""}
|
|
@@ -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>;
|