@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,9 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderTableHeader = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
5
|
-
const renderTableHeader = (title) => {
|
|
6
|
-
return ((0, jsx_runtime_1.jsx)("th", { className: "pl-5xl", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: title }) }));
|
|
7
|
-
};
|
|
8
|
-
exports.renderTableHeader = renderTableHeader;
|
|
9
|
-
//# sourceMappingURL=renderTableHeader.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderTableHeader.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateOffice/renderTableHeader.tsx"],"names":[],"mappings":";;;AAAA,iDAA8C;AAEvC,MAAM,iBAAiB,GAAG,CAAC,KAAa,EAAE,EAAE;IACjD,OAAO,CACL,+BAAI,SAAS,EAAC,QAAQ,YACpB,uBAAC,WAAI,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;AARW,QAAA,iBAAiB,qBAQ5B"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.buttonsConditionStyle = void 0;
|
|
3
|
-
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
4
|
-
const buttonsConditionStyle = (buttons) => (0, renderButtonsSection_1.renderButtonsSection)(buttons, { isVertical: false });
|
|
5
|
-
exports.buttonsConditionStyle = buttonsConditionStyle;
|
|
6
|
-
//# sourceMappingURL=buttonsConditionStyle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buttonsConditionStyle.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/buttonsConditionStyle.tsx"],"names":[],"mappings":";;AAAA,mFAAgF;AAGzE,MAAM,qBAAqB,GAAG,CAAC,OAAsB,EAAE,EAAE,CAC9D,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC;AAD1C,QAAA,qBAAqB,yBACqB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.buttonsConditionStyle = void 0;
|
|
3
|
-
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
4
|
-
const style_1 = require("../../utils/style");
|
|
5
|
-
const buttonsConditionStyle = (buttons) => {
|
|
6
|
-
const buttonsLengthMoreThanTwo = buttons.length > 2;
|
|
7
|
-
return (0, renderButtonsSection_1.renderButtonsSection)(buttons, {
|
|
8
|
-
className: (0, style_1.style)(buttonsLengthMoreThanTwo ? 'w-full' : 'flex-nowrap'),
|
|
9
|
-
isVertical: buttonsLengthMoreThanTwo,
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
exports.buttonsConditionStyle = buttonsConditionStyle;
|
|
13
|
-
//# 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,mFAAgF;AAEhF,6CAA0C;AAEnC,MAAM,qBAAqB,GAAG,CAAC,OAAsB,EAAE,EAAE;IAC9D,MAAM,wBAAwB,GAAG,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC;IAEpD,OAAO,IAAA,2CAAoB,EAAC,OAAO,EAAE;QACnC,SAAS,EAAE,IAAA,aAAK,EAAC,wBAAwB,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,aAAa,CAAC;QACrE,UAAU,EAAE,wBAAwB;KACrC,CAAC,CAAC;AACL,CAAC,CAAC;AAPW,QAAA,qBAAqB,yBAOhC"}
|
|
@@ -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,43 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.OfficeMap = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
6
|
-
const YandexMap_1 = require("../../ui-kit/YandexMap/YandexMap");
|
|
7
|
-
const mockOfficeMap_1 = require("./mockOfficeMap");
|
|
8
|
-
const nearbyOffices_1 = require("./nearbyOffices");
|
|
9
|
-
const renderFunctions_1 = require("./renderFunctions");
|
|
10
|
-
exports.OfficeMap = (0, uni_jsx_1.JSX)(({ className = '' }) => {
|
|
11
|
-
// TODO: useOfficeMap endpoint had use /api/v1/branches. This endpoint now is`t correct/
|
|
12
|
-
// TODO: useOfficeMap has return MOCK OBJECT!
|
|
13
|
-
// TODO: Fix this when endpoint /api/v1/branches (or new endpoint) had returning right data
|
|
14
|
-
const resultOfficeMap = mockOfficeMap_1.OFFICE_MAP;
|
|
15
|
-
const { name, address, gpsLatitude, gpsLongitude, workSchedule } = resultOfficeMap;
|
|
16
|
-
const { workingMonday, workingTuesday, workingWednesday, workingThursday, workingFriday, workingSaturday, workingSunday, } = workSchedule;
|
|
17
|
-
const { workTime, lunchHour, workTimeSaturday, lunchHourSaturday } = workSchedule;
|
|
18
|
-
const point = gpsLatitude && gpsLongitude ? [gpsLatitude, gpsLongitude] : null;
|
|
19
|
-
const workScheduleWeek = [
|
|
20
|
-
{ title: 'Понедельник', status: workingMonday, workTime, lunchHour },
|
|
21
|
-
{ title: 'Вторник', status: workingTuesday, workTime, lunchHour },
|
|
22
|
-
{ title: 'Среда', status: workingWednesday, workTime, lunchHour },
|
|
23
|
-
{
|
|
24
|
-
title: 'Четверг',
|
|
25
|
-
status: workingThursday,
|
|
26
|
-
workTime,
|
|
27
|
-
lunchHour: '13:00 - 14:00',
|
|
28
|
-
description: 'Не работает прием денег с 17:00 до 19:00', // Добавлено для проверки
|
|
29
|
-
},
|
|
30
|
-
{ title: 'Пятница', status: workingFriday, workTime, lunchHour },
|
|
31
|
-
{
|
|
32
|
-
title: 'Суббота',
|
|
33
|
-
status: workingSaturday,
|
|
34
|
-
workTime: workTimeSaturday,
|
|
35
|
-
lunchHour: lunchHourSaturday,
|
|
36
|
-
},
|
|
37
|
-
{ title: 'Воскресенье', status: workingSunday },
|
|
38
|
-
];
|
|
39
|
-
const currentWeekDayInd = new Date().getDay();
|
|
40
|
-
const currentWeekDay = currentWeekDayInd > 0 ? workScheduleWeek[currentWeekDayInd - 1] : workScheduleWeek[6];
|
|
41
|
-
return ((0, jsx_runtime_1.jsxs)("div", { className: `flex flex-col font-sans w-full ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-m p-6xl pb-3xl", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between", children: [(0, jsx_runtime_1.jsx)("div", { className: "text-h2", children: name }), (0, renderFunctions_1.renderCurrentDaySchedule)(currentWeekDay)] }), (0, jsx_runtime_1.jsxs)("div", { className: "flex text-l font-light", children: [(0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "GeolocationIcon", width: "24", height: "24", className: "pr-2xs" }), address] }), (0, jsx_runtime_1.jsx)("div", { className: "flex", children: nearbyOffices_1.nearbyOffices.map(renderFunctions_1.renderNearbyOffice) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between", children: [(0, jsx_runtime_1.jsx)("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? (0, jsx_runtime_1.jsx)(YandexMap_1.YandexMap, { points: [point], className: "h-full" }) : null }), (0, jsx_runtime_1.jsx)("div", { className: "w-[434px] min-w-[434px] p-6xl pt-0 flex flex-col", children: workScheduleWeek.map(renderFunctions_1.renderDay) })] })] }));
|
|
42
|
-
});
|
|
43
|
-
//# sourceMappingURL=OfficeMap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/OfficeMap.tsx"],"names":[],"mappings":"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"}
|
|
@@ -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,82 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.OFFICE_MAP = void 0;
|
|
3
|
-
exports.OFFICE_MAP = {
|
|
4
|
-
id: 123,
|
|
5
|
-
branchType: {
|
|
6
|
-
id: 7,
|
|
7
|
-
code: '21',
|
|
8
|
-
name: 'Отделение на балансе филиала',
|
|
9
|
-
},
|
|
10
|
-
shortName: 'Ейский ДО',
|
|
11
|
-
name: 'ДО №3349/3/05',
|
|
12
|
-
address: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
|
|
13
|
-
lawAddress: '353682, Краснодарский край, г.Ейск, ул.Гоголя, 349/ ул.Баррикадная, 42/1',
|
|
14
|
-
openDate: '2000-12-05',
|
|
15
|
-
closeDate: null,
|
|
16
|
-
bik: '040349536',
|
|
17
|
-
corAcc: '30101810700000000536',
|
|
18
|
-
registrationNumber: '3349/3/05',
|
|
19
|
-
phone: '+7(XXX)XXX-XX-XX',
|
|
20
|
-
fax: '+7(XXX)XXX-XX-XY',
|
|
21
|
-
okpo: '55105921',
|
|
22
|
-
ogrn: '1027700342890',
|
|
23
|
-
kpp: '231002002',
|
|
24
|
-
inn: '7725114488',
|
|
25
|
-
branchCode: '0305',
|
|
26
|
-
upperBranchCode: '0300',
|
|
27
|
-
timeZone: '+03:00',
|
|
28
|
-
exchangeRate: {
|
|
29
|
-
currencies: [
|
|
30
|
-
{
|
|
31
|
-
buyExchangeRate: 0.0,
|
|
32
|
-
saleExchangeRate: 0.0,
|
|
33
|
-
currency: {
|
|
34
|
-
id: 3,
|
|
35
|
-
code: '156',
|
|
36
|
-
currency: 'CNY',
|
|
37
|
-
name: 'Китайский юань',
|
|
38
|
-
},
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
buyExchangeRate: 59.15,
|
|
42
|
-
saleExchangeRate: 69.25,
|
|
43
|
-
currency: {
|
|
44
|
-
id: 2,
|
|
45
|
-
code: '978',
|
|
46
|
-
currency: 'EUR',
|
|
47
|
-
name: 'Евро',
|
|
48
|
-
},
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
buyExchangeRate: 58.4,
|
|
52
|
-
saleExchangeRate: 70.05,
|
|
53
|
-
currency: {
|
|
54
|
-
id: 1,
|
|
55
|
-
code: '840',
|
|
56
|
-
currency: 'USD',
|
|
57
|
-
name: 'Американский доллар',
|
|
58
|
-
},
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
lastUpdate: '2022-11-11 03:56:17',
|
|
62
|
-
},
|
|
63
|
-
workSchedule: {
|
|
64
|
-
id: 413,
|
|
65
|
-
workTime: '09.00–16.30',
|
|
66
|
-
lunchHour: 'без перерыва',
|
|
67
|
-
workTimeSaturday: '09.00–15.00',
|
|
68
|
-
lunchHourSaturday: 'без перерыва',
|
|
69
|
-
workingMonday: false,
|
|
70
|
-
workingTuesday: false,
|
|
71
|
-
workingWednesday: true,
|
|
72
|
-
workingThursday: true,
|
|
73
|
-
workingFriday: true,
|
|
74
|
-
workingSaturday: true,
|
|
75
|
-
workingSunday: false,
|
|
76
|
-
},
|
|
77
|
-
gpsLatitude: 46.709744,
|
|
78
|
-
gpsLongitude: 38.260703,
|
|
79
|
-
range: null,
|
|
80
|
-
safeBoxCaseVolumes: null,
|
|
81
|
-
};
|
|
82
|
-
//# sourceMappingURL=mockOfficeMap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mockOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/mockOfficeMap.ts"],"names":[],"mappings":";;AAAa,QAAA,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,KAAK,EAAE,kBAAkB;IACzB,GAAG,EAAE,kBAAkB;IACvB,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,eAAe;IACrB,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,YAAY;IACjB,UAAU,EAAE,MAAM;IAClB,eAAe,EAAE,MAAM;IACvB,QAAQ,EAAE,QAAQ;IAClB,YAAY,EAAE;QACZ,UAAU,EAAE;YACV;gBACE,eAAe,EAAE,GAAG;gBACpB,gBAAgB,EAAE,GAAG;gBACrB,QAAQ,EAAE;oBACR,EAAE,EAAE,CAAC;oBACL,IAAI,EAAE,KAAK;oBACX,QAAQ,EAAE,KAAK;oBACf,IAAI,EAAE,gBAAgB;iBACvB;aACF;YACD;gBACE,eAAe,EAAE,KAAK;gBACtB,gBAAgB,EAAE,KAAK;gBACvB,QAAQ,EAAE;oBACR,EAAE,EAAE,CAAC;oBACL,IAAI,EAAE,KAAK;oBACX,QAAQ,EAAE,KAAK;oBACf,IAAI,EAAE,MAAM;iBACb;aACF;YACD;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,KAAK;gBACvB,QAAQ,EAAE;oBACR,EAAE,EAAE,CAAC;oBACL,IAAI,EAAE,KAAK;oBACX,QAAQ,EAAE,KAAK;oBACf,IAAI,EAAE,qBAAqB;iBAC5B;aACF;SACF;QACD,UAAU,EAAE,qBAAqB;KAClC;IACD,YAAY,EAAE;QACZ,EAAE,EAAE,GAAG;QACP,QAAQ,EAAE,aAAa;QACvB,SAAS,EAAE,cAAc;QACzB,gBAAgB,EAAE,aAAa;QAC/B,iBAAiB,EAAE,cAAc;QACjC,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,KAAK;QACrB,gBAAgB,EAAE,IAAI;QACtB,eAAe,EAAE,IAAI;QACrB,aAAa,EAAE,IAAI;QACnB,eAAe,EAAE,IAAI;QACrB,aAAa,EAAE,KAAK;KACrB;IACD,WAAW,EAAE,SAAS;IACtB,YAAY,EAAE,SAAS;IACvB,KAAK,EAAE,IAAI;IACX,kBAAkB,EAAE,IAAI;CACzB,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.nearbyOffices = void 0;
|
|
3
|
-
// Добавлено для проверки
|
|
4
|
-
exports.nearbyOffices = [
|
|
5
|
-
{ title: 'Деловой центр', time: '1 мин', distance: '~30 м.', icon: 'MetroIcon' },
|
|
6
|
-
{ title: 'Выставочная', time: '5 мин', distance: '~120 м.', icon: 'MetroIcon' },
|
|
7
|
-
{ title: 'Деловой центр', time: '8 мин', distance: '~350 м.', icon: 'MetroIcon' },
|
|
8
|
-
];
|
|
9
|
-
//# sourceMappingURL=nearbyOffices.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nearbyOffices.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/nearbyOffices.ts"],"names":[],"mappings":";;AAEA,yBAAyB;AACZ,QAAA,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,20 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderDay = exports.renderNearbyOffice = exports.renderCurrentDaySchedule = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
5
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
6
|
-
const renderCurrentDaySchedule = ({ lunchHour, status, workTime }) => {
|
|
7
|
-
const hasTime = /\d+/gi.test(lunchHour);
|
|
8
|
-
const lunchHourText = hasTime ? `Перерыв ${lunchHour}` : lunchHour;
|
|
9
|
-
return status ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-m", children: [(0, jsx_runtime_1.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 }), (0, jsx_runtime_1.jsx)("div", { className: "p-s border rounded-md text-m flex items-center cursor-pointer text-yellow border-golden", children: lunchHour ? lunchHourText : null })] })) : ((0, jsx_runtime_1.jsx)("div", { className: "flex", children: (0, jsx_runtime_1.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" }) }));
|
|
10
|
-
};
|
|
11
|
-
exports.renderCurrentDaySchedule = renderCurrentDaySchedule;
|
|
12
|
-
const renderNearbyOffice = ({ icon, title, distance, time }, index) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex mr-m", children: [(0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, width: "16", height: "16", className: "mr-xs" }), title ? (0, jsx_runtime_1.jsxs)(Text_1.Text, { size: "text-m", children: [title, "\u00A0"] }) : null, (0, jsx_runtime_1.jsxs)(Text_1.Text, { size: "text-m", font: "font-light", children: [distance ? ` (${distance})` : null, time ? `, ${time}` : null] })] }, `nearbyOffice${index}`));
|
|
13
|
-
exports.renderNearbyOffice = renderNearbyOffice;
|
|
14
|
-
const renderDay = ({ title, status, workTime, lunchHour, description }, inx) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-2xs pb-s border-b border-solid border-main-divider mb-s last:border-0", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between items-center w-full text-l text-primary-text", children: [(0, jsx_runtime_1.jsx)("div", { children: title }), status ? null : (0, jsx_runtime_1.jsx)("div", { className: "text-m font-light text-error", children: "\u0412\u044B\u0445\u043E\u0434\u043D\u043E\u0439" }), status && workTime ? (0, jsx_runtime_1.jsx)("div", { children: workTime }) : null] }), status && lunchHour ? renderLunchHour(lunchHour) : null, description ? ((0, jsx_runtime_1.jsx)("div", { className: "text-s font-light text-secondary-text", children: description })) : null] }, `day${inx}`));
|
|
15
|
-
exports.renderDay = renderDay;
|
|
16
|
-
const renderLunchHour = (lunchHour) => {
|
|
17
|
-
const hasTime = /\d+/gi.test(lunchHour);
|
|
18
|
-
return hasTime ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between items-center w-full text-m font-light text-error", children: [(0, jsx_runtime_1.jsx)("div", { children: "\u041F\u0435\u0440\u0435\u0440\u044B\u0432" }), (0, jsx_runtime_1.jsx)("div", { children: lunchHour })] })) : ((0, jsx_runtime_1.jsx)("div", { className: "flex justify-between items-center w-full", children: (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", color: "text-primary-main", children: lunchHour }) }));
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=renderFunctions.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderFunctions.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/renderFunctions.tsx"],"names":[],"mappings":";;;AAAA,iDAA8C;AAC9C,iDAA8C;AAGvC,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,iCAAK,SAAS,EAAC,YAAY,aACzB,gCAAK,SAAS,EAAC,oGAAoG,YAChH,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,GACvB,EACN,gCAAK,SAAS,EAAC,yFAAyF,YACrG,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,GAC7B,IACF,CACP,CAAC,CAAC,CAAC,CACF,gCAAK,SAAS,EAAC,MAAM,YACnB,gCAAK,SAAS,EAAC,uFAAuF,iEAEhG,GACF,CACP,CAAC;AACJ,CAAC,CAAC;AApBW,QAAA,wBAAwB,4BAoBnC;AAEK,MAAM,kBAAkB,GAAG,CAChC,EAAE,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAiB,EAC9C,KAAa,EACb,EAAE,CAAC,CACH,iCAAK,SAAS,EAAC,WAAW,aACxB,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,SAAS,EAAC,OAAO,GAAG,EAC5D,KAAK,CAAC,CAAC,CAAC,wBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,aAAE,KAAK,cAAc,CAAC,CAAC,CAAC,IAAI,EACxD,wBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,aAClC,QAAQ,CAAC,CAAC,CAAC,KAAK,QAAQ,GAAG,CAAC,CAAC,CAAC,IAAI,EAClC,IAAI,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,IACrB,KANuB,eAAe,KAAK,EAAE,CAOhD,CACP,CAAC;AAZW,QAAA,kBAAkB,sBAY7B;AACK,MAAM,SAAS,GAAG,CACvB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAoB,EACrE,GAAW,EACX,EAAE,CAAC,CACH,iCACE,SAAS,EAAC,yFAAyF,aAGnG,iCAAK,SAAS,EAAC,mEAAmE,aAChF,0CAAM,KAAK,GAAO,EACjB,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,8BAA8B,iEAAe,EAC5E,MAAM,IAAI,QAAQ,CAAC,CAAC,CAAC,0CAAM,QAAQ,GAAO,CAAC,CAAC,CAAC,IAAI,IAC9C,EACL,MAAM,IAAI,SAAS,CAAC,CAAC,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,IAAI,EACvD,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,uCAAuC,YAAE,WAAW,GAAO,CAC3E,CAAC,CAAC,CAAC,IAAI,KAVH,MAAM,GAAG,EAAE,CAWZ,CACP,CAAC;AAlBW,QAAA,SAAS,aAkBpB;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,iCAAK,SAAS,EAAC,uEAAuE,aACpF,yFAAkB,EAClB,0CAAM,SAAS,GAAO,IAClB,CACP,CAAC,CAAC,CAAC,CACF,gCAAK,SAAS,EAAC,0CAA0C,YACvD,uBAAC,WAAI,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,20 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.useOfficeMap = void 0;
|
|
3
|
-
const useAsyncData_1 = require("@redneckz/uni-jsx/lib/hooks/useAsyncData");
|
|
4
|
-
const fetchJSON_1 = require("../../utils/fetchJSON");
|
|
5
|
-
const mockOfficeMap_1 = require("./mockOfficeMap");
|
|
6
|
-
const OFFICE_MAP_URL = '/api/v1/branches';
|
|
7
|
-
// TODO: regionCode - внутренний идентификатор банка. Не соответствует государственной нумерации регионов РФ
|
|
8
|
-
// TODO: Список регионов можно получить через api/v1/regions
|
|
9
|
-
function useOfficeMap(regionCode) {
|
|
10
|
-
const { data } = (0, useAsyncData_1.useAsyncData)(regionCode ? `${OFFICE_MAP_URL}?regionCode=${regionCode}` : undefined, fetchOfficeMap);
|
|
11
|
-
return data || mockOfficeMap_1.OFFICE_MAP;
|
|
12
|
-
}
|
|
13
|
-
exports.useOfficeMap = useOfficeMap;
|
|
14
|
-
function fetchOfficeMap(url) {
|
|
15
|
-
if (!url) {
|
|
16
|
-
return {};
|
|
17
|
-
}
|
|
18
|
-
return (0, fetchJSON_1.fetchJSON)(url, { method: 'GET' });
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=useOfficeMap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useOfficeMap.js","sourceRoot":"","sources":["../../../src/components/OfficeMap/useOfficeMap.ts"],"names":[],"mappings":";;AAAA,2EAAwE;AACxE,qDAAkD;AAClD,mDAA6C;AAE7C,MAAM,cAAc,GAAG,kBAAkB,CAAC;AAE1C,4GAA4G;AAC5G,4DAA4D;AAC5D,SAAgB,YAAY,CAAC,UAAmB;IAC9C,MAAM,EAAE,IAAI,EAAE,GAAG,IAAA,2BAAY,EAC3B,UAAU,CAAC,CAAC,CAAC,GAAG,cAAc,eAAe,UAAU,EAAE,CAAC,CAAC,CAAC,SAAS,EACrE,cAAc,CACf,CAAC;IAEF,OAAO,IAAI,IAAI,0BAAU,CAAC;AAC5B,CAAC;AAPD,oCAOC;AAED,SAAS,cAAc,CAAC,GAAY;IAClC,IAAI,CAAC,GAAG,EAAE;QACR,OAAO,EAAE,CAAC;KACX;IAED,OAAO,IAAA,qBAAS,EAAC,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,12 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.OfficeServicesBlock = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
-
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
|
-
const Img_1 = require("../../ui-kit/Img/Img");
|
|
8
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
9
|
-
const style_1 = require("../../utils/style");
|
|
10
|
-
exports.OfficeServicesBlock = (0, uni_jsx_1.JSX)(({ className = '', title, servicesList, ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('flex flex-col gap-lg', className), ...rest, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h5", title: title }) : null, servicesList?.length ? ((0, jsx_runtime_1.jsx)("ul", { className: "list-none space-y-lg", children: servicesList.map(renderListItems) })) : null] })));
|
|
11
|
-
const renderListItems = (itemList, i) => ((0, jsx_runtime_1.jsxs)("li", { className: "flex gap-s list-none ", children: [itemList.icon ? ((0, jsx_runtime_1.jsx)(Img_1.Img, { className: "min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", image: itemList.icon })) : null, itemList.label ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-l", font: "font-light", children: itemList.label })) : null] }, `list_item_${String(i)}`));
|
|
12
|
-
//# sourceMappingURL=OfficeServicesBlock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeServicesBlock.js","sourceRoot":"","sources":["../../../src/components/OfficeServicesBlock/OfficeServicesBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,iDAA8C;AAC9C,6CAA0C;AAQ7B,QAAA,mBAAmB,GAAG,IAAA,aAAG,EACpC,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CACpD,wBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,sBAAsB,EAAE,SAAS,CAAC,KAAM,IAAI,aACxE,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACzD,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC,CACtB,+BAAI,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,gCAAmC,SAAS,EAAC,uBAAuB,aACjE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CACf,uBAAC,SAAG,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,uBAAC,WAAI,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,10 +0,0 @@
|
|
|
1
|
-
export var Currencies;
|
|
2
|
-
(function (Currencies) {
|
|
3
|
-
Currencies["EUR"] = "EUR";
|
|
4
|
-
Currencies["USD"] = "USD";
|
|
5
|
-
Currencies["GBP"] = "GBP";
|
|
6
|
-
Currencies["AUD"] = "AUD";
|
|
7
|
-
Currencies["CNY"] = "CNY";
|
|
8
|
-
Currencies["RUB"] = "RUB";
|
|
9
|
-
})(Currencies || (Currencies = {}));
|
|
10
|
-
//# sourceMappingURL=Currencies.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Currencies.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateOffice/Currencies.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,yBAAW,CAAA;IACX,yBAAW,CAAA;IACX,yBAAW,CAAA;IACX,yBAAW,CAAA;IACX,yBAAW,CAAA;IACX,yBAAW,CAAA;AACb,CAAC,EAPW,UAAU,KAAV,UAAU,QAOrB"}
|
|
@@ -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,14 +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 { Text } from '../../ui-kit/Text/Text.js';
|
|
6
|
-
import { style } from '../../utils/style.js';
|
|
7
|
-
import { renderCurrencyRow } from './renderCurrencies.js';
|
|
8
|
-
import { renderTableHeader } from './renderTableHeader.js';
|
|
9
|
-
export const ExchangeRateOffice = JSX(({ className, currencies = [], actuality = '', officeName = '', ...rest }) => {
|
|
10
|
-
const fourRates = topNRates(currencies, 4);
|
|
11
|
-
return (_jsxs(BlockWrapper, { className: style('space-y-3xl', className), ...rest, children: [_jsxs("div", { className: "flex flex-row flex-grow-0 justify-between space-y-lg", children: [_jsx(Heading, { headingType: "h4", title: 'Курс обмена валют в ' + officeName, className: "whitespace-pre-wrap text-h4" }), _jsx("div", { className: "pl-6xl", children: _jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: actuality }) })] }), _jsx("div", { className: "flex flex-row pt-m text-left", children: fourRates.length > 0 ? (_jsxs("table", { className: style('h-fit w-fit', className), children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { children: _jsx(Text, { size: "text-m", font: "font-light", align: "text-left", color: "text-secondary-text", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), renderTableHeader('Купить'), renderTableHeader('Продать'), renderTableHeader('Лучшая покупка'), renderTableHeader('Лучшая продажа')] }) }), _jsx("tbody", { children: fourRates.map((item) => renderCurrencyRow(item)) })] })) : null })] }));
|
|
12
|
-
});
|
|
13
|
-
const topNRates = (rates, n) => rates.sort((a, b) => Number(a.id) - Number(b.id)).slice(0, n);
|
|
14
|
-
//# sourceMappingURL=ExchangeRateOffice.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExchangeRateOffice.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateOffice/ExchangeRateOffice.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,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAIxD,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CACnC,CAAC,EAAE,SAAS,EAAE,UAAU,GAAG,EAAE,EAAE,SAAS,GAAG,EAAE,EAAE,UAAU,GAAG,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE;IAC3E,MAAM,SAAS,GAA0B,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAElE,OAAO,CACL,MAAC,YAAY,IAAC,SAAS,EAAE,KAAK,CAAC,aAAa,EAAE,SAAS,CAAC,KAAM,IAAI,aAChE,eAAK,SAAS,EAAC,sDAAsD,aACnE,KAAC,OAAO,IACN,WAAW,EAAC,IAAI,EAChB,KAAK,EAAE,sBAAsB,GAAG,UAAU,EAC1C,SAAS,EAAC,6BAA6B,GACvC,EACF,cAAK,SAAS,EAAC,QAAQ,YACrB,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,WAAW,EAAC,KAAK,EAAC,qBAAqB,YAChF,SAAS,GACL,GACH,IACF,EACN,cAAK,SAAS,EAAC,8BAA8B,YAC1C,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CACtB,iBAAO,SAAS,EAAE,KAAK,CAAC,aAAa,EAAE,SAAS,CAAC,aAC/C,0BACE,yBACE,uBACE,KAAC,IAAI,IACH,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,YAAY,EACjB,KAAK,EAAC,WAAW,EACjB,KAAK,EAAC,qBAAqB,qDAGtB,GACJ,EACJ,iBAAiB,CAAC,QAAQ,CAAC,EAC3B,iBAAiB,CAAC,SAAS,CAAC,EAC5B,iBAAiB,CAAC,gBAAgB,CAAC,EACnC,iBAAiB,CAAC,gBAAgB,CAAC,IACjC,GACC,EACR,0BAAQ,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC,GAAS,IAC3D,CACT,CAAC,CAAC,CAAC,IAAI,GACJ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,KAA4B,EAAE,CAAS,EAAE,EAAE,CAC5D,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExchangeRateOfficeContent.js","sourceRoot":"","sources":["../../../src/components/ExchangeRateOffice/ExchangeRateOfficeContent.ts"],"names":[],"mappings":""}
|
|
@@ -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;
|