@redneckz/wildless-cms-uni-blocks 0.14.25 → 0.14.27
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/bin/migration-scripts/0.14.26.js +55 -0
- package/bin/migration-scripts/0.14.27.js +38 -0
- package/bundle/api/{CorporateLeadAPI.d.ts → LeadServiceAPI.d.ts} +2 -2
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +293 -255
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
- package/bundle/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
- package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
- package/bundle/components/ApplicationForm/DatePickerControl.d.ts +8 -0
- package/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/bundle/components/ApplicationForm/Footnote.d.ts +1 -0
- package/bundle/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
- package/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +4 -0
- package/bundle/components/CarouselCard/titleSize.d.ts +1 -1
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/bundle/icons/IconName.d.ts +4 -2
- package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- package/bundle/ui-kit/DatePicker/DatePicker.d.ts +1 -0
- package/bundle/utils/isIcon.d.ts +2 -0
- package/cosmos-static/icons/DzenIcon.svg +1 -0
- package/dist/api/{CorporateLeadAPI.d.ts → LeadServiceAPI.d.ts} +2 -2
- package/dist/api/{CorporateLeadAPI.js → LeadServiceAPI.js} +7 -6
- package/dist/api/LeadServiceAPI.js.map +1 -0
- package/dist/components/ApplicationForm/ApplicationForm.js +4 -4
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -2
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
- package/dist/components/ApplicationForm/ApplicationFormIndividuals.js +52 -0
- package/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -0
- package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
- package/dist/components/ApplicationForm/DatePickerControl.d.ts +8 -0
- package/dist/components/ApplicationForm/DatePickerControl.js +8 -0
- package/dist/components/ApplicationForm/DatePickerControl.js.map +1 -0
- package/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
- package/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
- package/dist/components/ApplicationForm/Footnote.d.ts +1 -0
- package/dist/components/ApplicationForm/Footnote.js +1 -1
- package/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/dist/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
- package/dist/components/{Tile/TileContent.js → ApplicationForm/IndividualsFormState.js} +1 -1
- package/dist/components/ApplicationForm/IndividualsFormState.js.map +1 -0
- package/dist/components/ApplicationForm/renderIndividualsFields.d.ts +4 -0
- package/dist/components/ApplicationForm/renderIndividualsFields.js +11 -0
- package/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -0
- package/dist/components/Blocks.js +0 -4
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -4
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +4 -4
- package/dist/components/Bonus/Bonus.js.map +1 -1
- package/dist/components/Calculator/Calculator.mobile.js +4 -4
- package/dist/components/Calculator/Calculator.mobile.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +1 -1
- package/dist/components/Carousel/Carousel.js.map +1 -1
- package/dist/components/Carousel/renderCarouselCards.js +1 -1
- package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/titleSize.d.ts +1 -1
- package/dist/components/CarouselCard/titleSize.js +1 -1
- package/dist/components/CarouselCard/titleSize.js.map +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -2
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.js +1 -1
- package/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/dist/components/Footer/Footer.mobile.js +2 -2
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js +2 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/dist/components/Footer/SocialMedia.js +5 -5
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/TextInformation.js +1 -1
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/Footer/iconsMap.js +4 -0
- package/dist/components/Footer/iconsMap.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/dist/components/ProductBlock/ProductBlock.js +1 -3
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +1 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/components/Tabs/Tabs.js +7 -3
- package/dist/components/Tabs/Tabs.js.map +1 -1
- package/dist/icons/IconName.d.ts +4 -2
- package/dist/icons/IconName.js +2 -0
- package/dist/icons/IconName.js.map +1 -1
- package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- 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 +3 -2
- package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/Button/ButtonInner.js +2 -1
- package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +2 -1
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/DatePicker/DatePicker.d.ts +1 -0
- package/dist/ui-kit/DatePicker/DatePicker.js +4 -4
- package/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/dist/ui-kit/DatePicker/getYears.js +1 -1
- package/dist/ui-kit/Input/Input.js +1 -1
- package/dist/ui-kit/Input/Input.js.map +1 -1
- package/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
- package/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
- package/dist/ui-kit/LocationDialog/renderRegion.js +3 -2
- package/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/dist/ui-kit/NotFound/NotFound.js +1 -1
- package/dist/ui-kit/NotFound/NotFound.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/dist/ui-kit/Select/Select.js +1 -1
- package/dist/ui-kit/Select/Select.js.map +1 -1
- package/dist/utils/isIcon.d.ts +2 -0
- package/dist/utils/isIcon.js +5 -0
- package/dist/utils/isIcon.js.map +1 -0
- package/lib/api/{CorporateLeadAPI.d.ts → LeadServiceAPI.d.ts} +2 -2
- package/lib/api/{CorporateLeadAPI.js → LeadServiceAPI.js} +5 -4
- package/lib/api/LeadServiceAPI.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
- package/lib/components/ApplicationForm/ApplicationForm.fixture.mobile.d.ts +1 -0
- package/lib/components/ApplicationForm/ApplicationForm.js +4 -4
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -2
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
- package/lib/components/ApplicationForm/ApplicationFormIndividuals.js +50 -0
- package/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -0
- package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
- package/lib/components/ApplicationForm/DatePickerControl.d.ts +8 -0
- package/lib/components/ApplicationForm/DatePickerControl.js +6 -0
- package/lib/components/ApplicationForm/DatePickerControl.js.map +1 -0
- package/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
- package/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
- package/lib/components/ApplicationForm/Footnote.d.ts +1 -0
- package/lib/components/ApplicationForm/Footnote.js +1 -1
- package/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/lib/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
- package/lib/components/ApplicationForm/IndividualsFormState.js +2 -0
- package/lib/components/ApplicationForm/IndividualsFormState.js.map +1 -0
- package/lib/components/ApplicationForm/renderIndividualsFields.d.ts +3 -0
- package/lib/components/ApplicationForm/renderIndividualsFields.js +8 -0
- package/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -0
- package/lib/components/Blocks.js +0 -4
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -4
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +4 -4
- package/lib/components/Bonus/Bonus.js.map +1 -1
- package/lib/components/Calculator/Calculator.mobile.js +4 -4
- package/lib/components/Calculator/Calculator.mobile.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.d.ts +1 -1
- package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +1 -1
- package/lib/components/Carousel/Carousel.js +1 -1
- package/lib/components/Carousel/Carousel.js.map +1 -1
- package/lib/components/Carousel/renderCarouselCards.js +1 -1
- package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/titleSize.d.ts +1 -1
- package/lib/components/CarouselCard/titleSize.js +1 -1
- package/lib/components/CarouselCard/titleSize.js.map +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.d.ts +2 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.d.ts +2 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +6 -3
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/lib/components/ContentPage/ContentPage.js +1 -1
- package/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/lib/components/Footer/Footer.mobile.js +2 -2
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js +2 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/lib/components/Footer/SocialMedia.js +5 -5
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/TextInformation.js +1 -1
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/Footer/iconsMap.js +4 -0
- package/lib/components/Footer/iconsMap.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/lib/components/ProductBlock/ProductBlock.js +1 -3
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +1 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/components/Tabs/Tabs.js +7 -3
- package/lib/components/Tabs/Tabs.js.map +1 -1
- package/lib/icons/IconName.d.ts +4 -2
- package/lib/icons/IconName.js +2 -0
- package/lib/icons/IconName.js.map +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/lib/ui-kit/BaseTile/BaseTile.js +3 -2
- package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/Button/ButtonInner.js +2 -1
- package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +2 -1
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/DatePicker/DatePicker.d.ts +1 -0
- package/lib/ui-kit/DatePicker/DatePicker.js +4 -4
- package/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/lib/ui-kit/DatePicker/getYears.js +1 -1
- package/lib/ui-kit/Input/Input.js +1 -1
- package/lib/ui-kit/Input/Input.js.map +1 -1
- package/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
- package/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
- package/lib/ui-kit/LocationDialog/renderRegion.js +3 -2
- package/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/lib/ui-kit/NotFound/NotFound.js +1 -1
- package/lib/ui-kit/NotFound/NotFound.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/lib/ui-kit/Select/Select.js +1 -1
- package/lib/ui-kit/Select/Select.js.map +1 -1
- package/lib/utils/isIcon.d.ts +2 -0
- package/lib/utils/isIcon.js +2 -0
- package/lib/utils/isIcon.js.map +1 -0
- package/mobile/bundle/api/{CorporateLeadAPI.d.ts → LeadServiceAPI.d.ts} +2 -2
- package/mobile/bundle/bundle.umd.js +298 -107
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
- package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
- package/mobile/bundle/components/ApplicationForm/DatePickerControl.d.ts +8 -0
- package/mobile/bundle/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/mobile/bundle/components/ApplicationForm/Footnote.d.ts +1 -0
- package/mobile/bundle/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
- package/mobile/bundle/components/ApplicationForm/renderIndividualsFields.d.ts +4 -0
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/mobile/bundle/icons/IconName.d.ts +4 -2
- package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- package/mobile/bundle/ui-kit/DatePicker/DatePicker.d.ts +1 -0
- package/mobile/bundle/utils/isIcon.d.ts +2 -0
- package/mobile/dist/api/LeadServiceAPI.d.ts +15 -0
- package/mobile/dist/api/{CorporateLeadAPI.js → LeadServiceAPI.js} +7 -6
- package/mobile/dist/api/LeadServiceAPI.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +4 -4
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -2
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js +52 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
- package/mobile/dist/components/ApplicationForm/DatePickerControl.d.ts +8 -0
- package/mobile/dist/components/ApplicationForm/DatePickerControl.js +8 -0
- package/mobile/dist/components/ApplicationForm/DatePickerControl.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/EmbeddableForms.js +2 -0
- package/mobile/dist/components/ApplicationForm/EmbeddableForms.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/Footnote.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/Footnote.js +1 -1
- package/mobile/dist/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
- package/mobile/dist/components/{Tile/TileContent.js → ApplicationForm/IndividualsFormState.js} +1 -1
- package/mobile/dist/components/ApplicationForm/IndividualsFormState.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderIndividualsFields.d.ts +4 -0
- package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js +11 -0
- package/mobile/dist/components/ApplicationForm/renderIndividualsFields.js.map +1 -0
- package/mobile/dist/components/Blocks.js +0 -4
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +4 -4
- package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
- package/mobile/dist/components/Calculator/Calculator.js +4 -4
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -1
- package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
- package/mobile/dist/components/Carousel/renderCarouselCards.js +1 -1
- package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +5 -2
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +2 -2
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js +2 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/SocialMedia.js +5 -5
- package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.js +1 -1
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/Footer/iconsMap.js +4 -0
- package/mobile/dist/components/Footer/iconsMap.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -3
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/components/Tabs/Tabs.js +7 -3
- package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +4 -2
- package/mobile/dist/icons/IconName.js +2 -0
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- 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 +3 -2
- package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -1
- package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/DatePicker/DatePicker.d.ts +1 -0
- package/mobile/dist/ui-kit/DatePicker/DatePicker.js +4 -4
- package/mobile/dist/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/mobile/dist/ui-kit/DatePicker/getYears.js +1 -1
- package/mobile/dist/ui-kit/Input/Input.js +1 -1
- package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/mobile/dist/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
- package/mobile/dist/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
- package/mobile/dist/ui-kit/LocationDialog/renderRegion.js +3 -2
- package/mobile/dist/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/mobile/dist/ui-kit/NotFound/NotFound.js +1 -1
- package/mobile/dist/ui-kit/NotFound/NotFound.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js +1 -1
- package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
- package/mobile/dist/utils/isIcon.d.ts +2 -0
- package/mobile/dist/utils/isIcon.js +5 -0
- package/mobile/dist/utils/isIcon.js.map +1 -0
- package/mobile/lib/api/LeadServiceAPI.d.ts +15 -0
- package/mobile/lib/api/{CorporateLeadAPI.js → LeadServiceAPI.js} +5 -4
- package/mobile/lib/api/LeadServiceAPI.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +4 -4
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +11 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -2
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormGrantSupport.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.d.ts +2 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js +50 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormIndividuals.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -1
- package/mobile/lib/components/ApplicationForm/DatePickerControl.d.ts +8 -0
- package/mobile/lib/components/ApplicationForm/DatePickerControl.js +6 -0
- package/mobile/lib/components/ApplicationForm/DatePickerControl.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/EmbeddableForms.d.ts +1 -0
- package/mobile/lib/components/ApplicationForm/EmbeddableForms.js +2 -0
- package/mobile/lib/components/ApplicationForm/EmbeddableForms.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/Footnote.d.ts +1 -0
- package/mobile/lib/components/ApplicationForm/Footnote.js +1 -1
- package/mobile/lib/components/ApplicationForm/Footnote.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/IndividualsFormState.d.ts +9 -0
- package/mobile/lib/components/ApplicationForm/IndividualsFormState.js +2 -0
- package/mobile/lib/components/ApplicationForm/IndividualsFormState.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderIndividualsFields.d.ts +4 -0
- package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js +8 -0
- package/mobile/lib/components/ApplicationForm/renderIndividualsFields.js.map +1 -0
- package/mobile/lib/components/Blocks.js +0 -4
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +4 -4
- package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
- package/mobile/lib/components/Calculator/Calculator.js +4 -4
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -1
- package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
- package/mobile/lib/components/Carousel/renderCarouselCards.js +1 -1
- package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +1 -1
- package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +6 -3
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +4 -3
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +2 -2
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +2 -2
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js +2 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/SocialMedia.js +5 -5
- package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.js +1 -1
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/Footer/iconsMap.js +4 -0
- package/mobile/lib/components/Footer/iconsMap.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +1 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -3
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +2 -2
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/components/Tabs/Tabs.js +7 -3
- package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +4 -2
- package/mobile/lib/icons/IconName.js +2 -0
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +8 -0
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +1 -1
- package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -1
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js +3 -2
- package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -1
- package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/DatePicker/DatePicker.d.ts +1 -0
- package/mobile/lib/ui-kit/DatePicker/DatePicker.js +4 -4
- package/mobile/lib/ui-kit/DatePicker/DatePicker.js.map +1 -1
- package/mobile/lib/ui-kit/DatePicker/getYears.js +1 -1
- package/mobile/lib/ui-kit/Input/Input.js +1 -1
- package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js +2 -2
- package/mobile/lib/ui-kit/LocationDialog/LocationDialog.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js +2 -2
- package/mobile/lib/ui-kit/LocationDialog/renderForeignOffices.js.map +1 -1
- package/mobile/lib/ui-kit/LocationDialog/renderRegion.js +3 -2
- package/mobile/lib/ui-kit/LocationDialog/renderRegion.js.map +1 -1
- package/mobile/lib/ui-kit/NotFound/NotFound.js +1 -1
- package/mobile/lib/ui-kit/NotFound/NotFound.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js +1 -1
- package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
- package/mobile/lib/utils/isIcon.d.ts +2 -0
- package/mobile/lib/utils/isIcon.js +2 -0
- package/mobile/lib/utils/isIcon.js.map +1 -0
- package/mobile/src/api/{CorporateLeadAPI.ts → LeadServiceAPI.ts} +5 -3
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +14 -8
- package/mobile/src/components/ApplicationForm/ApplicationForm.ui.json +5 -2
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +13 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -3
- package/mobile/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
- package/mobile/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +74 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -1
- package/mobile/src/components/ApplicationForm/DatePickerControl.tsx +33 -0
- package/mobile/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
- package/mobile/src/components/ApplicationForm/Footnote.tsx +3 -2
- package/mobile/src/components/ApplicationForm/IndividualsFormState.ts +9 -0
- package/mobile/src/components/ApplicationForm/renderIndividualsFields.tsx +46 -0
- package/mobile/src/components/Blocks.ts +0 -4
- package/mobile/src/components/Bonus/Bonus.tsx +4 -4
- package/mobile/src/components/Calculator/Calculator.tsx +5 -7
- package/mobile/src/components/Carousel/Carousel.tsx +1 -1
- package/mobile/src/components/Carousel/renderCarouselCards.tsx +1 -1
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +15 -5
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +5 -3
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +8 -8
- package/mobile/src/components/ContentPage/ContentPage.tsx +1 -1
- package/mobile/src/components/Footer/Footer.tsx +7 -5
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +2 -1
- package/mobile/src/components/Footer/SocialMedia.tsx +10 -12
- package/mobile/src/components/Footer/TextInformation.tsx +1 -1
- package/mobile/src/components/Footer/iconsMap.ts +4 -0
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMap.ui.json +16 -1
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +1 -0
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +1 -6
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +7 -1
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +1 -1
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +1 -0
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -8
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +1 -0
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
- package/mobile/src/components/Tabs/Tabs.tsx +8 -4
- package/mobile/src/icons/DzenIcon.svg +4 -0
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
- package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +8 -4
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -7
- package/mobile/src/ui-kit/Button/ButtonInner.tsx +7 -2
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
- package/mobile/src/ui-kit/DatePicker/DatePicker.tsx +13 -5
- package/mobile/src/ui-kit/DatePicker/getYears.ts +1 -1
- package/mobile/src/ui-kit/Input/Input.tsx +1 -1
- package/mobile/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -1
- package/mobile/src/ui-kit/LocationDialog/renderForeignOffices.tsx +6 -4
- package/mobile/src/ui-kit/LocationDialog/renderRegion.tsx +5 -2
- package/mobile/src/ui-kit/NotFound/NotFound.tsx +1 -1
- package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
- package/mobile/src/ui-kit/Select/Select.tsx +1 -1
- package/mobile/src/utils/isIcon.ts +3 -0
- package/package.json +1 -1
- package/src/api/{CorporateLeadAPI.ts → LeadServiceAPI.ts} +5 -3
- package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +14 -0
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +14 -0
- package/src/components/ApplicationForm/ApplicationForm.tsx +14 -8
- package/src/components/ApplicationForm/ApplicationForm.ui.json +5 -2
- package/src/components/ApplicationForm/ApplicationFormContent.ts +13 -1
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +1 -3
- package/src/components/ApplicationForm/ApplicationFormGrantSupport.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationFormIndividuals.tsx +74 -0
- package/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -1
- package/src/components/ApplicationForm/DatePickerControl.tsx +33 -0
- package/src/components/ApplicationForm/EmbeddableForms.tsx +2 -0
- package/src/components/ApplicationForm/Footnote.tsx +3 -2
- package/src/components/ApplicationForm/IndividualsFormState.ts +9 -0
- package/src/components/ApplicationForm/renderIndividualsFields.tsx +46 -0
- package/src/components/Blocks.mobile.ts +0 -4
- package/src/components/Blocks.ts +0 -4
- package/src/components/Bonus/Bonus.tsx +4 -4
- package/src/components/Calculator/Calculator.mobile.tsx +5 -7
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +12 -11
- package/src/components/Carousel/Carousel.fixture.tsx +15 -14
- package/src/components/Carousel/Carousel.tsx +1 -1
- package/src/components/Carousel/renderCarouselCards.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/src/components/CarouselCard/titleSize.tsx +1 -1
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +1 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +41 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +41 -2
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +15 -5
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +5 -3
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +8 -8
- package/src/components/ContentPage/ContentPage.tsx +1 -1
- package/src/components/Footer/Footer.mobile.tsx +7 -5
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +2 -1
- package/src/components/Footer/SocialMedia.tsx +10 -12
- package/src/components/Footer/TextInformation.tsx +1 -1
- package/src/components/Footer/iconsMap.ts +4 -0
- package/src/components/OfficesAtmsMap/OfficesAtmsMap.ui.json +16 -1
- package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +1 -0
- package/src/components/ProductBlock/ProductBlock.tsx +1 -6
- package/src/components/ProductBlock/renderBackwardButton.tsx +7 -1
- package/src/components/ProductGallery/ProductGallery.example.json +1 -1
- package/src/components/ProductGallery/ProductGallery.tsx +1 -1
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +1 -0
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +6 -8
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +1 -0
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
- package/src/components/StepsBlock/StepsBlock.tsx +3 -3
- package/src/components/Tabs/Tabs.tsx +8 -4
- package/src/icons/DzenIcon.svg +4 -0
- package/src/icons/IconName.ts +4 -1
- package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +1 -1
- package/src/ui-kit/BaseTile/BaseTile.tsx +8 -4
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -7
- package/src/ui-kit/Button/ButtonInner.tsx +7 -2
- package/src/ui-kit/Button/renderButtonsSection.tsx +2 -1
- package/src/ui-kit/DatePicker/DatePicker.tsx +13 -5
- package/src/ui-kit/DatePicker/getYears.ts +1 -1
- package/src/ui-kit/Input/Input.tsx +1 -1
- package/src/ui-kit/LocationDialog/LocationDialog.tsx +5 -1
- package/src/ui-kit/LocationDialog/renderForeignOffices.tsx +6 -4
- package/src/ui-kit/LocationDialog/renderRegion.tsx +5 -2
- package/src/ui-kit/NotFound/NotFound.tsx +1 -1
- package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -1
- package/src/ui-kit/Select/Select.tsx +1 -1
- package/src/utils/isIcon.ts +3 -0
- package/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/bundle/components/Tile/Tile.d.ts +0 -5
- package/bundle/components/Tile/TileContent.d.ts +0 -6
- package/dist/api/CorporateLeadAPI.js.map +0 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -13
- package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
- package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
- package/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
- package/dist/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/dist/components/StepsBlock/checkCanRenderIcon.js +0 -5
- package/dist/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
- package/dist/components/Tile/Tile.d.ts +0 -5
- package/dist/components/Tile/Tile.js +0 -8
- package/dist/components/Tile/Tile.js.map +0 -1
- package/dist/components/Tile/TileContent.d.ts +0 -6
- package/dist/components/Tile/TileContent.js.map +0 -1
- package/lib/api/CorporateLeadAPI.js.map +0 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +0 -8
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.d.ts +0 -7
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -11
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
- package/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
- package/lib/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/lib/components/StepsBlock/checkCanRenderIcon.js +0 -2
- package/lib/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
- package/lib/components/Tile/Tile.d.ts +0 -5
- package/lib/components/Tile/Tile.fixture.d.ts +0 -15
- package/lib/components/Tile/Tile.fixture.mobile.d.ts +0 -9
- package/lib/components/Tile/Tile.js +0 -6
- package/lib/components/Tile/Tile.js.map +0 -1
- package/lib/components/Tile/TileContent.d.ts +0 -6
- package/lib/components/Tile/TileContent.js +0 -2
- package/lib/components/Tile/TileContent.js.map +0 -1
- package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/mobile/bundle/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/mobile/bundle/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/mobile/bundle/components/Tile/Tile.d.ts +0 -5
- package/mobile/bundle/components/Tile/TileContent.d.ts +0 -6
- package/mobile/dist/api/CorporateLeadAPI.d.ts +0 -15
- package/mobile/dist/api/CorporateLeadAPI.js.map +0 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -13
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
- package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
- package/mobile/dist/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js +0 -5
- package/mobile/dist/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
- package/mobile/dist/components/Tile/Tile.d.ts +0 -5
- package/mobile/dist/components/Tile/Tile.js +0 -8
- package/mobile/dist/components/Tile/Tile.js.map +0 -1
- package/mobile/dist/components/Tile/TileContent.d.ts +0 -6
- package/mobile/dist/components/Tile/TileContent.js.map +0 -1
- package/mobile/lib/api/CorporateLeadAPI.d.ts +0 -15
- package/mobile/lib/api/CorporateLeadAPI.js.map +0 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.d.ts +0 -5
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +0 -11
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +0 -1
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.d.ts +0 -11
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js +0 -2
- package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCardContent.js.map +0 -1
- package/mobile/lib/components/StepsBlock/checkCanRenderIcon.d.ts +0 -4
- package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js +0 -2
- package/mobile/lib/components/StepsBlock/checkCanRenderIcon.js.map +0 -1
- package/mobile/lib/components/Tile/Tile.d.ts +0 -5
- package/mobile/lib/components/Tile/Tile.js +0 -6
- package/mobile/lib/components/Tile/Tile.js.map +0 -1
- package/mobile/lib/components/Tile/TileContent.d.ts +0 -6
- package/mobile/lib/components/Tile/TileContent.js +0 -2
- package/mobile/lib/components/Tile/TileContent.js.map +0 -1
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +0 -25
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +0 -28
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +0 -1
- package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +0 -15
- package/mobile/src/components/StepsBlock/checkCanRenderIcon.ts +0 -4
- package/mobile/src/components/Tile/Tile.example.json +0 -28
- package/mobile/src/components/Tile/Tile.tsx +0 -23
- package/mobile/src/components/Tile/Tile.ui.json +0 -17
- package/mobile/src/components/Tile/TileContent.ts +0 -7
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.example.json +0 -25
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.mobile.tsx +0 -34
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +0 -36
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +0 -28
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.ui.json +0 -1
- package/src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts +0 -15
- package/src/components/StepsBlock/checkCanRenderIcon.ts +0 -4
- package/src/components/Tile/Tile.example.json +0 -28
- package/src/components/Tile/Tile.fixture.mobile.tsx +0 -48
- package/src/components/Tile/Tile.fixture.tsx +0 -147
- package/src/components/Tile/Tile.tsx +0 -23
- package/src/components/Tile/Tile.ui.json +0 -17
- package/src/components/Tile/TileContent.ts +0 -7
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useState } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
3
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
4
|
-
import type { Picture } from '../../model/Picture';
|
|
5
4
|
import type { ButtonContent } from '../../ui-kit/Button/ButtonContent';
|
|
6
5
|
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
7
6
|
import { Text } from '../../ui-kit/Text/Text';
|
|
7
|
+
import { isIcon } from '../../utils/isIcon';
|
|
8
8
|
import { style } from '../../utils/style';
|
|
9
9
|
import { findIconByHref } from './findIconByHref';
|
|
10
10
|
|
|
@@ -22,7 +22,7 @@ export const SocialMedia = JSX<SocialMediaProps>(
|
|
|
22
22
|
const buttons: ButtonContent[] | undefined = media?.map((_) => {
|
|
23
23
|
const { href, icon, text } = _;
|
|
24
24
|
const { iconMapped } = findIconByHref(href);
|
|
25
|
-
const iconCustom =
|
|
25
|
+
const iconCustom = isIcon(icon) ? icon : iconMapped;
|
|
26
26
|
const buttonText = showButtonText ? { text } : { text: '' };
|
|
27
27
|
|
|
28
28
|
if (!hasText && text) {
|
|
@@ -39,26 +39,24 @@ export const SocialMedia = JSX<SocialMediaProps>(
|
|
|
39
39
|
|
|
40
40
|
const buttonClassName = style(
|
|
41
41
|
'border border-solid hover:border-transparent group-data-primary:border-main-divider border-main-divider group-data-gray:border-green group/media',
|
|
42
|
-
showButtonText && hasText ? '' : '
|
|
42
|
+
showButtonText && hasText ? '' : 'basis-auto',
|
|
43
43
|
stretched ? 'flex-1 justify-center' : '',
|
|
44
44
|
);
|
|
45
45
|
|
|
46
46
|
return (
|
|
47
|
-
<div className=
|
|
48
|
-
|
|
49
|
-
<Text size="text-s" font="font-light" color="text-secondary-text">
|
|
50
|
-
{children}
|
|
51
|
-
</Text>
|
|
52
|
-
) : null}
|
|
53
|
-
<div className={style('flex gap-xs', className)}>
|
|
47
|
+
<div className={style('flex flex-col gap-xs', className)}>
|
|
48
|
+
<div className="flex gap-xs">
|
|
54
49
|
{renderButtonsSection(buttons, {
|
|
55
50
|
className: stretched ? 'w-full' : '',
|
|
56
51
|
buttonClassName,
|
|
57
52
|
})}
|
|
58
53
|
</div>
|
|
54
|
+
{children ? (
|
|
55
|
+
<Text size="text-s" font="font-light" color="text-secondary-text">
|
|
56
|
+
{children}
|
|
57
|
+
</Text>
|
|
58
|
+
) : null}
|
|
59
59
|
</div>
|
|
60
60
|
);
|
|
61
61
|
},
|
|
62
62
|
);
|
|
63
|
-
|
|
64
|
-
const getFilteredIcon = (icon: Picture | undefined) => (icon?.src || icon?.icon ? icon : undefined);
|
|
@@ -12,7 +12,7 @@ export const TextInformation = JSX<FooterLink>(({ className = '', links }) => (
|
|
|
12
12
|
</Text>
|
|
13
13
|
</div>
|
|
14
14
|
{links?.length ? (
|
|
15
|
-
<div className="flex flex-col @
|
|
15
|
+
<div className="flex flex-col @5xl:flex-row justify-start items-start gap-x-lg gap-y-xs pt-lg">
|
|
16
16
|
{links.map((_, i) => (
|
|
17
17
|
<TextInformationLink key={String(i)} index={i} {..._} />
|
|
18
18
|
))}
|
|
@@ -33,12 +33,7 @@ export const ProductBlock = JSX<ProductBlockProps>(
|
|
|
33
33
|
padding={padding}
|
|
34
34
|
{...rest}
|
|
35
35
|
>
|
|
36
|
-
{backwardButton
|
|
37
|
-
? renderBackwardButton(
|
|
38
|
-
!rest.version || rest.version === 'primary' ? 'primary' : 'white',
|
|
39
|
-
handleClick,
|
|
40
|
-
)
|
|
41
|
-
: null}
|
|
36
|
+
{backwardButton ? renderBackwardButton(rest.version || 'primary', handleClick) : null}
|
|
42
37
|
<BaseProductTile className="grow h-full" {...rest} />
|
|
43
38
|
</BlockWrapper>
|
|
44
39
|
);
|
|
@@ -22,7 +22,13 @@ export function renderBackwardButton(version: ButtonVersion, handleClick: () =>
|
|
|
22
22
|
}}
|
|
23
23
|
/>
|
|
24
24
|
</div>
|
|
25
|
-
<Button
|
|
25
|
+
<Button
|
|
26
|
+
version="link"
|
|
27
|
+
className="group-data-secondary:text-white/80"
|
|
28
|
+
text={text}
|
|
29
|
+
ariaLabel={text}
|
|
30
|
+
onClick={handleClick}
|
|
31
|
+
/>
|
|
26
32
|
</div>
|
|
27
33
|
);
|
|
28
34
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { type IconName } from '../../icons/IconName';
|
|
3
3
|
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
4
|
-
import { type Picture } from '../../model/Picture';
|
|
5
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
6
5
|
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
7
6
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
@@ -10,6 +9,7 @@ import { Img } from '../../ui-kit/Img/Img';
|
|
|
10
9
|
import { RichText } from '../../ui-kit/RichText/RichText';
|
|
11
10
|
import { Text } from '../../ui-kit/Text/Text';
|
|
12
11
|
import { type TextColor } from '../../ui-kit/Text/TextProps';
|
|
12
|
+
import { isIcon } from '../../utils/isIcon';
|
|
13
13
|
import { style } from '../../utils/style';
|
|
14
14
|
import { type RepresentativeOfficeInfoContent } from './RepresentativeOfficeInfoContent';
|
|
15
15
|
|
|
@@ -36,7 +36,11 @@ export const RepresentativeOfficeInfo = JSX<RepresentativeOfficeInfoProps>(
|
|
|
36
36
|
{...rest}
|
|
37
37
|
>
|
|
38
38
|
<div className="w-full flex justify-between flex-row-reverse">
|
|
39
|
-
{
|
|
39
|
+
{isIcon(icon) ? (
|
|
40
|
+
<div className={'w-10 h-7 sm:w-24 sm:h-16'}>
|
|
41
|
+
<Img image={icon} />
|
|
42
|
+
</div>
|
|
43
|
+
) : null}
|
|
40
44
|
{title ? <Heading headingType="h3" as="h3" title={title} /> : null}
|
|
41
45
|
</div>
|
|
42
46
|
<div className="w-full space-y-m">
|
|
@@ -59,12 +63,6 @@ export const RepresentativeOfficeInfo = JSX<RepresentativeOfficeInfoProps>(
|
|
|
59
63
|
),
|
|
60
64
|
);
|
|
61
65
|
|
|
62
|
-
const renderIconBlock = (icon?: Picture) => (
|
|
63
|
-
<div className={'w-10 h-7 sm:w-24 sm:h-16'}>
|
|
64
|
-
{icon?.src || icon?.icon ? <Img image={icon} /> : null}
|
|
65
|
-
</div>
|
|
66
|
-
);
|
|
67
|
-
|
|
68
66
|
const renderDescriptionBlock = (__html?: string) => (
|
|
69
67
|
<div className="border-b border-main-divider pb-lg">
|
|
70
68
|
<RichText __html={__html} />
|
|
@@ -7,9 +7,9 @@ import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
|
7
7
|
import { Img } from '../../ui-kit/Img/Img';
|
|
8
8
|
import { RichText } from '../../ui-kit/RichText/RichText';
|
|
9
9
|
import { assertUnreachable } from '../../utils/assertUnreachable';
|
|
10
|
+
import { isIcon } from '../../utils/isIcon';
|
|
10
11
|
import { style } from '../../utils/style';
|
|
11
12
|
import { Headline } from '../Headline/Headline';
|
|
12
|
-
import { checkCanRenderIcon } from './checkCanRenderIcon';
|
|
13
13
|
import { type DefaultStep, type Step, type StepsBlockContent } from './StepsBlockContent';
|
|
14
14
|
import { STEPS_BLOCK_STYLE } from './StepsBlockStyleMaps';
|
|
15
15
|
|
|
@@ -128,7 +128,7 @@ const renderIconArea = (size: SizeVersion, version: BlockVersion) => (step: Step
|
|
|
128
128
|
)}
|
|
129
129
|
>
|
|
130
130
|
<span className="flex max-w-full max-h-full self-center text-h4 text-secondary-text group-data-secondary:text-white">
|
|
131
|
-
{
|
|
131
|
+
{isIcon(step?.icon) ? (
|
|
132
132
|
<Img
|
|
133
133
|
image={{ ...step.icon, iconVersion: step.icon?.iconVersion || iconVersion }}
|
|
134
134
|
imageClassName="max-w-full max-h-full"
|
|
@@ -31,9 +31,9 @@ export const Tabs = JSX<TabsBlockProps>(
|
|
|
31
31
|
(_) => _.type === 'group' && _.ref === router.query[TAB_QUERY_PARAM_KEY],
|
|
32
32
|
) || 0
|
|
33
33
|
: 0;
|
|
34
|
-
|
|
34
|
+
const defaultTab = tabs[defaultTabIndex] || tabs[0];
|
|
35
35
|
setActiveTabIndex(defaultTabIndex);
|
|
36
|
-
fireTabEvent(
|
|
36
|
+
fireTabEvent(defaultTab);
|
|
37
37
|
}, [isReady]);
|
|
38
38
|
|
|
39
39
|
useEffect(() => {
|
|
@@ -57,10 +57,14 @@ export const Tabs = JSX<TabsBlockProps>(
|
|
|
57
57
|
const handleChange = useCallback(
|
|
58
58
|
(_: TabItemBase) => {
|
|
59
59
|
const index = tabsControlItems.indexOf(_);
|
|
60
|
+
const tab = tabs[index];
|
|
60
61
|
|
|
61
62
|
setActiveTabIndex(index);
|
|
62
|
-
fireTabEvent(
|
|
63
|
-
|
|
63
|
+
fireTabEvent(tab);
|
|
64
|
+
|
|
65
|
+
if (tab.type === 'group') {
|
|
66
|
+
updateUrlSearchTabParam(_);
|
|
67
|
+
}
|
|
64
68
|
},
|
|
65
69
|
[tabs, tabsControlItems],
|
|
66
70
|
);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg title="Лого «Дзен»" isInverse="true" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="none">
|
|
2
|
+
<path fill="currentColor" d="M1.2 11.665C1.2 5.885 6.197 1.2 12.363 1.2c6.166 0 11.165 4.685 11.165 10.465S18.53 22.129 12.364 22.129c-6.166 0-11.165-4.685-11.165-10.464Z"/>
|
|
3
|
+
<path fill="#ffffff" fill-rule="evenodd" d="M12.03 1.2c-.057 4.242-.366 6.627-2.063 8.218-1.698 1.59-4.242 1.88-8.768 1.933v.627c4.526.053 7.07.343 8.768 1.934 1.697 1.59 2.006 3.975 2.062 8.217h.67c.056-4.242.365-6.626 2.062-8.217 1.698-1.591 4.242-1.88 8.768-1.934v-.627c-4.526-.053-7.07-.342-8.768-1.933C13.063 7.827 12.755 5.442 12.7 1.2h-.67Z" clip-rule="evenodd"/>
|
|
4
|
+
</svg>
|
|
@@ -7,11 +7,11 @@ export const IconsWithoutInversion = new Set([
|
|
|
7
7
|
]);
|
|
8
8
|
|
|
9
9
|
export enum IconMap {
|
|
10
|
-
ActualBalanceIcon = 'ActualBalanceIcon', AppleIcon = 'AppleIcon', ArrowDownIcon = 'ArrowDownIcon', ArrowDownSolidIcon = 'ArrowDownSolidIcon', ArrowLeftIcon = 'ArrowLeftIcon', ArrowRightIcon = 'ArrowRightIcon', ArrowTopRightIcon = 'ArrowTopRightIcon', ArrowUpIcon = 'ArrowUpIcon', ArrowUpSolidIcon = 'ArrowUpSolidIcon', AtmIcon = 'AtmIcon', BankIcon = 'BankIcon', BelarusianFlag = 'BelarusianFlag', BriefcaseIcon = 'BriefcaseIcon', BuildingIcon = 'BuildingIcon', BurgerIcon = 'BurgerIcon', CalendarCircleIcon = 'CalendarCircleIcon', CalendarIcon = 'CalendarIcon', CalendarTickIcon = 'CalendarTickIcon', CardIcon = 'CardIcon', CardPosIcon = 'CardPosIcon', CardTickIcon = 'CardTickIcon', ChartIcon = 'ChartIcon', ChartSquareIcon = 'ChartSquareIcon', ChevronLeftIcon = 'ChevronLeftIcon', ClientIcon = 'ClientIcon', CloseIcon = 'CloseIcon', CourtHouseIcon = 'CourtHouseIcon', DiscountShapeIcon = 'DiscountShapeIcon', DocDownloadIcon = 'DocDownloadIcon', DocIcon = 'DocIcon', DollarIcon = 'DollarIcon', DoneIcon = 'DoneIcon', DoneSimpleIcon = 'DoneSimpleIcon', EmptyWalletChangeIcon = 'EmptyWalletChangeIcon', EmptyWalletIcon = 'EmptyWalletIcon', EuroIcon = 'EuroIcon', FaxIcon = 'FaxIcon', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'GeolocationIcon', GlobalIcon = 'GlobalIcon', GpsIcon = 'GpsIcon', GridIcon = 'GridIcon', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'HeartIcon', HouseIcon = 'HouseIcon', HuaweiIcon = 'HuaweiIcon', LogoIcon = 'LogoIcon', LoupeIcon = 'LoupeIcon', MagnifierIcon = 'MagnifierIcon', MailIcon = 'MailIcon', MapMarkerClusterIcon = 'MapMarkerClusterIcon', MapMarkerSingleIcon = 'MapMarkerSingleIcon', MapOpenedIcon = 'MapOpenedIcon', MinusIcon = 'MinusIcon', MoneyIcon = 'MoneyIcon', MoneyInsuranceIcon = 'MoneyInsuranceIcon', MonitorMobileIcon = 'MonitorMobileIcon', NewDocIcon = 'NewDocIcon', OkIcon = 'OkIcon', PackA4Icon = 'PackA4Icon', PassSendIcon = 'PassSendIcon', PercentageRoundIcon = 'PercentageRoundIcon', PercentIcon = 'PercentIcon', PersonalCardIcon = 'PersonalCardIcon', PhoneCallingIcon = 'PhoneCallingIcon', PhoneIcon = 'PhoneIcon', PlayMarketIcon = 'PlayMarketIcon', PlusCircleIcon = 'PlusCircleIcon', PlusIcon = 'PlusIcon', Profile2UserIcon = 'Profile2UserIcon', ProfileIcon = 'ProfileIcon', ResponseFailIcon = 'ResponseFailIcon', ResponseOKIcon = 'ResponseOKIcon', RoundRubleIcon = 'RoundRubleIcon', RutubeIcon = 'RutubeIcon', SafeIcon = 'SafeIcon', ShieldTickIcon = 'ShieldTickIcon', SignDocsIcon = 'SignDocsIcon', SmallClockIcon = 'SmallClockIcon', SoundIcon = 'SoundIcon', TelegramIcon = 'TelegramIcon', UserGeoLocationIcon = 'UserGeoLocationIcon', UserSquareIcon = 'UserSquareIcon', UserTickIcon = 'UserTickIcon', VKIcon = 'VKIcon', WalletAddIcon = 'WalletAddIcon', WalletIcon = 'WalletIcon', WalletWithMoneyIcon = 'WalletWithMoneyIcon', YoutubeIcon = 'YoutubeIcon'
|
|
10
|
+
ActualBalanceIcon = 'ActualBalanceIcon', AppleIcon = 'AppleIcon', ArrowDownIcon = 'ArrowDownIcon', ArrowDownSolidIcon = 'ArrowDownSolidIcon', ArrowLeftIcon = 'ArrowLeftIcon', ArrowRightIcon = 'ArrowRightIcon', ArrowTopRightIcon = 'ArrowTopRightIcon', ArrowUpIcon = 'ArrowUpIcon', ArrowUpSolidIcon = 'ArrowUpSolidIcon', AtmIcon = 'AtmIcon', BankIcon = 'BankIcon', BelarusianFlag = 'BelarusianFlag', BriefcaseIcon = 'BriefcaseIcon', BuildingIcon = 'BuildingIcon', BurgerIcon = 'BurgerIcon', CalendarCircleIcon = 'CalendarCircleIcon', CalendarIcon = 'CalendarIcon', CalendarTickIcon = 'CalendarTickIcon', CardIcon = 'CardIcon', CardPosIcon = 'CardPosIcon', CardTickIcon = 'CardTickIcon', ChartIcon = 'ChartIcon', ChartSquareIcon = 'ChartSquareIcon', ChevronLeftIcon = 'ChevronLeftIcon', ClientIcon = 'ClientIcon', CloseIcon = 'CloseIcon', CourtHouseIcon = 'CourtHouseIcon', DiscountShapeIcon = 'DiscountShapeIcon', DocDownloadIcon = 'DocDownloadIcon', DocIcon = 'DocIcon', DollarIcon = 'DollarIcon', DoneIcon = 'DoneIcon', DoneSimpleIcon = 'DoneSimpleIcon', DzenIcon = 'DzenIcon', EmptyWalletChangeIcon = 'EmptyWalletChangeIcon', EmptyWalletIcon = 'EmptyWalletIcon', EuroIcon = 'EuroIcon', FaxIcon = 'FaxIcon', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'GeolocationIcon', GlobalIcon = 'GlobalIcon', GpsIcon = 'GpsIcon', GridIcon = 'GridIcon', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'HeartIcon', HouseIcon = 'HouseIcon', HuaweiIcon = 'HuaweiIcon', LogoIcon = 'LogoIcon', LoupeIcon = 'LoupeIcon', MagnifierIcon = 'MagnifierIcon', MailIcon = 'MailIcon', MapMarkerClusterIcon = 'MapMarkerClusterIcon', MapMarkerSingleIcon = 'MapMarkerSingleIcon', MapOpenedIcon = 'MapOpenedIcon', MinusIcon = 'MinusIcon', MoneyIcon = 'MoneyIcon', MoneyInsuranceIcon = 'MoneyInsuranceIcon', MonitorMobileIcon = 'MonitorMobileIcon', NewDocIcon = 'NewDocIcon', OkIcon = 'OkIcon', PackA4Icon = 'PackA4Icon', PassSendIcon = 'PassSendIcon', PercentageRoundIcon = 'PercentageRoundIcon', PercentIcon = 'PercentIcon', PersonalCardIcon = 'PersonalCardIcon', PhoneCallingIcon = 'PhoneCallingIcon', PhoneIcon = 'PhoneIcon', PlayMarketIcon = 'PlayMarketIcon', PlusCircleIcon = 'PlusCircleIcon', PlusIcon = 'PlusIcon', Profile2UserIcon = 'Profile2UserIcon', ProfileIcon = 'ProfileIcon', ResponseFailIcon = 'ResponseFailIcon', ResponseOKIcon = 'ResponseOKIcon', RoundRubleIcon = 'RoundRubleIcon', RutubeIcon = 'RutubeIcon', SafeIcon = 'SafeIcon', ShieldTickIcon = 'ShieldTickIcon', SignDocsIcon = 'SignDocsIcon', SmallClockIcon = 'SmallClockIcon', SoundIcon = 'SoundIcon', TelegramIcon = 'TelegramIcon', UserGeoLocationIcon = 'UserGeoLocationIcon', UserSquareIcon = 'UserSquareIcon', UserTickIcon = 'UserTickIcon', VKIcon = 'VKIcon', WalletAddIcon = 'WalletAddIcon', WalletIcon = 'WalletIcon', WalletWithMoneyIcon = 'WalletWithMoneyIcon', YoutubeIcon = 'YoutubeIcon'
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export enum IconTitleMap {
|
|
14
|
-
ActualBalanceIcon = 'Деньги', AppleIcon = 'Лого «Apple»', ArrowDownIcon = 'Стрелка \'Вниз\'', ArrowDownSolidIcon = 'Стрелка сплошная \'Вниз\'', ArrowLeftIcon = 'Стрелка \'Влево\'', ArrowRightIcon = 'Стрелка \'Вправо\'', ArrowTopRightIcon = 'Стрелка \'Вверх-право\'', ArrowUpIcon = 'Стрелка \'Вверх\'', ArrowUpSolidIcon = 'Стрелка сплошная \'Вверх\'', AtmIcon = 'Банкомат', BankIcon = 'Банк', BelarusianFlag = 'Белорусский флаг', BriefcaseIcon = 'Портфель', BuildingIcon = 'Здание с деревом', BurgerIcon = 'Бургер', CalendarCircleIcon = 'Скруглённый календарь', CalendarIcon = 'Календарь', CalendarTickIcon = 'Календарь с галочкой', CardIcon = 'Кред. карта', CardPosIcon = 'Кред. карта под наклоном', CardTickIcon = 'Кред. карта с галочкой', ChartIcon = 'Инвестиции', ChartSquareIcon = 'Деньги внутри кошелька', ChevronLeftIcon = 'Стрелка \'Влево\'', ClientIcon = 'Клиент', CloseIcon = 'Крестик', CourtHouseIcon = 'Здание суда', DiscountShapeIcon = 'Скидка', DocDownloadIcon = 'Скачать документ', DocIcon = 'Документ', DollarIcon = 'Доллар', DoneIcon = 'Зелёная \'галочка\' в круге', DoneSimpleIcon = 'Зелёная \'галочка\'', EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом', EmptyWalletIcon = 'Пустой кошелёк', EuroIcon = 'Евро', FaxIcon = 'Факс', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'Геолокация', GlobalIcon = 'Глобус', GpsIcon = 'Gps', GridIcon = 'Сетка (белая)', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'Сердце', HouseIcon = 'Ипотека', HuaweiIcon = 'Лого «Huawei»', LogoIcon = 'Logo', LoupeIcon = 'Лупа', MagnifierIcon = 'MagnifierIcon', MailIcon = 'E-mail', MapMarkerClusterIcon = 'Маркер карты', MapMarkerSingleIcon = 'Маркер карты РСХБ', MapOpenedIcon = 'Иконка Развёрнутая карта', MinusIcon = 'Минус', MoneyIcon = 'Деньги', MoneyInsuranceIcon = 'Денежное страхование', MonitorMobileIcon = 'Монитор и мобильный', NewDocIcon = 'Новый документ', OkIcon = 'Лого «Одноклассники»', PackA4Icon = 'Пачка бумаги А4', PassSendIcon = 'Бизнес', PercentageRoundIcon = 'Проценты (круг.)', PercentIcon = 'PercentIcon', PersonalCardIcon = 'Персональная карта', PhoneCallingIcon = 'Звонящий телефон', PhoneIcon = 'Телефон', PlayMarketIcon = 'Лого «PlayMarket»', PlusCircleIcon = 'Плюс в круге', PlusIcon = 'Плюс', Profile2UserIcon = 'Профиль, 2 персоны', ProfileIcon = 'Профиль', ResponseFailIcon = 'Ошибка', ResponseOKIcon = 'Ок', RoundRubleIcon = 'Рубль (круг.)', RutubeIcon = 'Лого «Rutube»', SafeIcon = 'Сейф', ShieldTickIcon = 'Безопасность', SignDocsIcon = 'Подписанные документы', SmallClockIcon = 'Маленькие часы', SoundIcon = 'Звук', TelegramIcon = 'Лого «Telegram»', UserGeoLocationIcon = 'Самолётик', UserSquareIcon = 'Пользователь в рамке', UserTickIcon = 'Пользователь', VKIcon = 'Лого «VK»', WalletAddIcon = 'Кошелёк с плюсом', WalletIcon = 'Кошелёк', WalletWithMoneyIcon = 'Кошелёк с деньгами', YoutubeIcon = 'Лого «Youtube»'
|
|
14
|
+
ActualBalanceIcon = 'Деньги', AppleIcon = 'Лого «Apple»', ArrowDownIcon = 'Стрелка \'Вниз\'', ArrowDownSolidIcon = 'Стрелка сплошная \'Вниз\'', ArrowLeftIcon = 'Стрелка \'Влево\'', ArrowRightIcon = 'Стрелка \'Вправо\'', ArrowTopRightIcon = 'Стрелка \'Вверх-право\'', ArrowUpIcon = 'Стрелка \'Вверх\'', ArrowUpSolidIcon = 'Стрелка сплошная \'Вверх\'', AtmIcon = 'Банкомат', BankIcon = 'Банк', BelarusianFlag = 'Белорусский флаг', BriefcaseIcon = 'Портфель', BuildingIcon = 'Здание с деревом', BurgerIcon = 'Бургер', CalendarCircleIcon = 'Скруглённый календарь', CalendarIcon = 'Календарь', CalendarTickIcon = 'Календарь с галочкой', CardIcon = 'Кред. карта', CardPosIcon = 'Кред. карта под наклоном', CardTickIcon = 'Кред. карта с галочкой', ChartIcon = 'Инвестиции', ChartSquareIcon = 'Деньги внутри кошелька', ChevronLeftIcon = 'Стрелка \'Влево\'', ClientIcon = 'Клиент', CloseIcon = 'Крестик', CourtHouseIcon = 'Здание суда', DiscountShapeIcon = 'Скидка', DocDownloadIcon = 'Скачать документ', DocIcon = 'Документ', DollarIcon = 'Доллар', DoneIcon = 'Зелёная \'галочка\' в круге', DoneSimpleIcon = 'Зелёная \'галочка\'', DzenIcon = 'Лого «Дзен»', EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом', EmptyWalletIcon = 'Пустой кошелёк', EuroIcon = 'Евро', FaxIcon = 'Факс', FullScreenIcon = 'FullScreenIcon', GeolocationIcon = 'Геолокация', GlobalIcon = 'Глобус', GpsIcon = 'Gps', GridIcon = 'Сетка (белая)', HeadphonesIcon = 'HeadphonesIcon', HeartIcon = 'Сердце', HouseIcon = 'Ипотека', HuaweiIcon = 'Лого «Huawei»', LogoIcon = 'Logo', LoupeIcon = 'Лупа', MagnifierIcon = 'MagnifierIcon', MailIcon = 'E-mail', MapMarkerClusterIcon = 'Маркер карты', MapMarkerSingleIcon = 'Маркер карты РСХБ', MapOpenedIcon = 'Иконка Развёрнутая карта', MinusIcon = 'Минус', MoneyIcon = 'Деньги', MoneyInsuranceIcon = 'Денежное страхование', MonitorMobileIcon = 'Монитор и мобильный', NewDocIcon = 'Новый документ', OkIcon = 'Лого «Одноклассники»', PackA4Icon = 'Пачка бумаги А4', PassSendIcon = 'Бизнес', PercentageRoundIcon = 'Проценты (круг.)', PercentIcon = 'PercentIcon', PersonalCardIcon = 'Персональная карта', PhoneCallingIcon = 'Звонящий телефон', PhoneIcon = 'Телефон', PlayMarketIcon = 'Лого «PlayMarket»', PlusCircleIcon = 'Плюс в круге', PlusIcon = 'Плюс', Profile2UserIcon = 'Профиль, 2 персоны', ProfileIcon = 'Профиль', ResponseFailIcon = 'Ошибка', ResponseOKIcon = 'Ок', RoundRubleIcon = 'Рубль (круг.)', RutubeIcon = 'Лого «Rutube»', SafeIcon = 'Сейф', ShieldTickIcon = 'Безопасность', SignDocsIcon = 'Подписанные документы', SmallClockIcon = 'Маленькие часы', SoundIcon = 'Звук', TelegramIcon = 'Лого «Telegram»', UserGeoLocationIcon = 'Самолётик', UserSquareIcon = 'Пользователь в рамке', UserTickIcon = 'Пользователь', VKIcon = 'Лого «VK»', WalletAddIcon = 'Кошелёк с плюсом', WalletIcon = 'Кошелёк', WalletWithMoneyIcon = 'Кошелёк с деньгами', YoutubeIcon = 'Лого «Youtube»'
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -19,7 +19,7 @@ export enum IconTitleMap {
|
|
|
19
19
|
* @title Иконка
|
|
20
20
|
* @enumNames [
|
|
21
21
|
* "",
|
|
22
|
-
* 'Деньги', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Банк', 'Белорусский флаг', 'Портфель', 'Здание с деревом', 'Бургер', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Инвестиции', 'Деньги внутри кошелька', 'Стрелка \'Влево\'', 'Клиент', 'Крестик', 'Здание суда', 'Скидка', 'Скачать документ', 'Документ', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Факс', 'FullScreenIcon', 'Геолокация', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Ипотека', 'Лого «Huawei»', 'Logo', 'Лупа', 'MagnifierIcon', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'Иконка Развёрнутая карта', 'Минус', 'Деньги', 'Денежное страхование', 'Монитор и мобильный', 'Новый документ', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'PercentIcon', 'Персональная карта', 'Звонящий телефон', 'Телефон', 'Лого «PlayMarket»', 'Плюс в круге', 'Плюс', 'Профиль, 2 персоны', 'Профиль', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Лого «Rutube»', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Лого «Telegram»', 'Самолётик', 'Пользователь в рамке', 'Пользователь', 'Лого «VK»', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Лого «Youtube»'
|
|
22
|
+
* 'Деньги', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Банк', 'Белорусский флаг', 'Портфель', 'Здание с деревом', 'Бургер', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Инвестиции', 'Деньги внутри кошелька', 'Стрелка \'Влево\'', 'Клиент', 'Крестик', 'Здание суда', 'Скидка', 'Скачать документ', 'Документ', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Лого «Дзен»', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Факс', 'FullScreenIcon', 'Геолокация', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Ипотека', 'Лого «Huawei»', 'Logo', 'Лупа', 'MagnifierIcon', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'Иконка Развёрнутая карта', 'Минус', 'Деньги', 'Денежное страхование', 'Монитор и мобильный', 'Новый документ', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'PercentIcon', 'Персональная карта', 'Звонящий телефон', 'Телефон', 'Лого «PlayMarket»', 'Плюс в круге', 'Плюс', 'Профиль, 2 персоны', 'Профиль', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Лого «Rutube»', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Лого «Telegram»', 'Самолётик', 'Пользователь в рамке', 'Пользователь', 'Лого «VK»', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Лого «Youtube»'
|
|
23
23
|
* ]
|
|
24
24
|
*/
|
|
25
|
-
export type IconName = '' | 'ActualBalanceIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowDownSolidIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'ArrowUpSolidIcon' | 'AtmIcon' | 'BankIcon' | 'BelarusianFlag' | 'BriefcaseIcon' | 'BuildingIcon' | 'BurgerIcon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'ChartIcon' | 'ChartSquareIcon' | 'ChevronLeftIcon' | 'ClientIcon' | 'CloseIcon' | 'CourtHouseIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FaxIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HouseIcon' | 'HuaweiIcon' | 'LogoIcon' | 'LoupeIcon' | 'MagnifierIcon' | 'MailIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MapOpenedIcon' | 'MinusIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PhoneCallingIcon' | 'PhoneIcon' | 'PlayMarketIcon' | 'PlusCircleIcon' | 'PlusIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'ResponseFailIcon' | 'ResponseOKIcon' | 'RoundRubleIcon' | 'RutubeIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'TelegramIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VKIcon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'YoutubeIcon';
|
|
25
|
+
export type IconName = '' | 'ActualBalanceIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowDownSolidIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'ArrowUpSolidIcon' | 'AtmIcon' | 'BankIcon' | 'BelarusianFlag' | 'BriefcaseIcon' | 'BuildingIcon' | 'BurgerIcon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'ChartIcon' | 'ChartSquareIcon' | 'ChevronLeftIcon' | 'ClientIcon' | 'CloseIcon' | 'CourtHouseIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'DzenIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FaxIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HouseIcon' | 'HuaweiIcon' | 'LogoIcon' | 'LoupeIcon' | 'MagnifierIcon' | 'MailIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MapOpenedIcon' | 'MinusIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PhoneCallingIcon' | 'PhoneIcon' | 'PlayMarketIcon' | 'PlusCircleIcon' | 'PlusIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'ResponseFailIcon' | 'ResponseOKIcon' | 'RoundRubleIcon' | 'RutubeIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'TelegramIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VKIcon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'YoutubeIcon';
|
|
@@ -81,7 +81,7 @@ export const BaseProductTile = JSX<BaseProductTileProps>(
|
|
|
81
81
|
},
|
|
82
82
|
);
|
|
83
83
|
|
|
84
|
-
const leftOrRightImage = (img: VNode, directionRight: boolean) =>
|
|
84
|
+
export const leftOrRightImage = (img: VNode, directionRight: boolean) =>
|
|
85
85
|
directionRight ? { rightImage: img } : { leftImage: img };
|
|
86
86
|
|
|
87
87
|
const renderTags = (tags: string[]) => (tags?.length ? <Tags tags={tags} /> : null);
|
|
@@ -38,7 +38,7 @@ export const BaseTile = JSX<BaseTileProps>(
|
|
|
38
38
|
}) => (
|
|
39
39
|
<div
|
|
40
40
|
className={style(
|
|
41
|
-
'relative flex flex-col gap-3xl
|
|
41
|
+
'relative flex flex-col gap-3xl overflow-hidden',
|
|
42
42
|
padding || defaultPadding,
|
|
43
43
|
className,
|
|
44
44
|
)}
|
|
@@ -46,10 +46,11 @@ export const BaseTile = JSX<BaseTileProps>(
|
|
|
46
46
|
{title ? <div className="relative">{title}</div> : null}
|
|
47
47
|
<div
|
|
48
48
|
className={style(
|
|
49
|
-
'grow relative flex flex-col
|
|
49
|
+
'grow relative flex flex-col @md:flex-row gap-3xl',
|
|
50
|
+
leftImage ? 'self-start' : '',
|
|
50
51
|
)}
|
|
51
52
|
>
|
|
52
|
-
{renderImageContainer(leftImage, { imageAlign })}
|
|
53
|
+
{renderImageContainer(leftImage, { imageAlign, className: 'm-auto' })}
|
|
53
54
|
<div
|
|
54
55
|
className={style(
|
|
55
56
|
'grid gap-3xl',
|
|
@@ -66,7 +67,7 @@ export const BaseTile = JSX<BaseTileProps>(
|
|
|
66
67
|
'@xl:justify-self-end @xl:col-start-2',
|
|
67
68
|
buttons ? rowSpanStyle(isImageAlwaysOnRight) : '',
|
|
68
69
|
positionStyle(isImageAlwaysOnRight),
|
|
69
|
-
isImageSecondary
|
|
70
|
+
imageSecondaryStyle(isImageSecondary),
|
|
70
71
|
),
|
|
71
72
|
imageAlign,
|
|
72
73
|
})}
|
|
@@ -101,3 +102,6 @@ const renderImageContainer = (
|
|
|
101
102
|
{image}
|
|
102
103
|
</div>
|
|
103
104
|
) : null;
|
|
105
|
+
|
|
106
|
+
const imageSecondaryStyle = (isImageSecondary: boolean) =>
|
|
107
|
+
isImageSecondary ? 'hidden @md:block' : '';
|
|
@@ -11,13 +11,7 @@ export type BenefitItemProps = ComplexBenefitContent & {
|
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
export const BenefitItem = JSX<BenefitItemProps>(({ className, benefitsVersion, ..._ }) => (
|
|
14
|
-
<div
|
|
15
|
-
className={style(
|
|
16
|
-
'flex gap-m min-w-56',
|
|
17
|
-
'description' in _ && _.description ? 'items-start' : 'items-center',
|
|
18
|
-
className,
|
|
19
|
-
)}
|
|
20
|
-
>
|
|
14
|
+
<div className={style('flex gap-m min-w-56 items-center', className)}>
|
|
21
15
|
{'icon' in _ ? renderBenefitIcon(_.icon, benefitsVersion) : null}
|
|
22
16
|
<div>{renderBenefitText(_)}</div>
|
|
23
17
|
</div>
|
|
@@ -6,17 +6,22 @@ import { type ButtonProps } from './ButtonProps';
|
|
|
6
6
|
|
|
7
7
|
export const ButtonInner = JSX<ButtonProps>((props) => {
|
|
8
8
|
const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
|
|
9
|
+
const iconHideStyle = isWithText(props) ? 'hidden lg:block' : '';
|
|
9
10
|
|
|
10
11
|
return (
|
|
11
12
|
<div className={style(getButtonStyle(props), 'flex gap-xs')}>
|
|
12
|
-
{appendLeft ?
|
|
13
|
+
{appendLeft ? (
|
|
14
|
+
<div className={style(iconHideStyle, iconStyleMap[version])}>{appendLeft}</div>
|
|
15
|
+
) : null}
|
|
13
16
|
{isWithText(props) ? (
|
|
14
17
|
<div className="whitespace-pre">
|
|
15
18
|
{aboveText ? <div className="text-xs font-light text-left">{aboveText}</div> : null}
|
|
16
19
|
<div className={`text-left ${aboveText ? 'text-s -mt-3xs' : 'text-l'}`}>{text}</div>
|
|
17
20
|
</div>
|
|
18
21
|
) : null}
|
|
19
|
-
{appendRight ?
|
|
22
|
+
{appendRight ? (
|
|
23
|
+
<div className={style(iconHideStyle, iconStyleMap[version])}>{appendRight}</div>
|
|
24
|
+
) : null}
|
|
20
25
|
</div>
|
|
21
26
|
);
|
|
22
27
|
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type Picture } from '../../model/Picture';
|
|
2
|
+
import { isIcon } from '../../utils/isIcon';
|
|
2
3
|
import { style } from '../../utils/style';
|
|
3
4
|
import { Img } from '../Img/Img';
|
|
4
5
|
import { Button } from './Button';
|
|
@@ -57,7 +58,7 @@ const getIconVersion = (icon: Picture | undefined, version = 'secondary') => {
|
|
|
57
58
|
};
|
|
58
59
|
|
|
59
60
|
const renderButtonIcon = (icon: Picture) =>
|
|
60
|
-
icon
|
|
61
|
+
isIcon(icon) ? (
|
|
61
62
|
<Img
|
|
62
63
|
image={icon}
|
|
63
64
|
width={String(icon?.size?.width || DEFAULT_ICON_W)}
|
|
@@ -29,17 +29,18 @@ const SELECT_PROPS: { className: string; iconVersion: IconVersion; isBorder: boo
|
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
const formStyle =
|
|
32
|
-
'flex justify-between px-m py-s border
|
|
32
|
+
'flex justify-between items-center h-14 px-m py-s border rounded-md cursor-pointer ' +
|
|
33
33
|
'hover:border-black active:border-black focus:border-black';
|
|
34
34
|
|
|
35
35
|
interface DatePickerProps extends ControlProps<Date>, LabelProps {
|
|
36
36
|
className?: string;
|
|
37
37
|
minDate?: Date;
|
|
38
38
|
maxDate?: Date;
|
|
39
|
+
valid?: boolean;
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
export const DatePicker = JSX<DatePickerProps>(
|
|
42
|
-
({ className = '', label = '', value, minDate, maxDate, onChange }) => {
|
|
43
|
+
({ className = '', label = '', value, valid = true, minDate, maxDate, onChange }) => {
|
|
43
44
|
const [showCalendar, { setValue }] = useBool(false);
|
|
44
45
|
const [selectedMonth, setSelectedMonth] = useState(value?.getMonth() || new Date().getMonth());
|
|
45
46
|
const [selectedYear, setSelectedYear] = useState(
|
|
@@ -67,7 +68,7 @@ export const DatePicker = JSX<DatePickerProps>(
|
|
|
67
68
|
return (
|
|
68
69
|
<div className={style(className, 'relative')} ref={ref}>
|
|
69
70
|
<Text size="text-m">{label}</Text>
|
|
70
|
-
{renderDatePickerForm(handleChangeVisibleCalendar, value)}
|
|
71
|
+
{renderDatePickerForm(handleChangeVisibleCalendar, value, valid)}
|
|
71
72
|
{showCalendar ? (
|
|
72
73
|
<div className="absolute bg-white z-10 select-none">
|
|
73
74
|
<div className="flex gap-s">
|
|
@@ -105,8 +106,15 @@ export const DatePicker = JSX<DatePickerProps>(
|
|
|
105
106
|
},
|
|
106
107
|
);
|
|
107
108
|
|
|
108
|
-
const renderDatePickerForm = (
|
|
109
|
-
|
|
109
|
+
const renderDatePickerForm = (
|
|
110
|
+
handleChangeVisibleCalendar: () => void,
|
|
111
|
+
value: Date | undefined,
|
|
112
|
+
valid: boolean,
|
|
113
|
+
) => (
|
|
114
|
+
<div
|
|
115
|
+
onClick={handleChangeVisibleCalendar}
|
|
116
|
+
className={style(formStyle, valid ? 'border-gray' : 'border-error')}
|
|
117
|
+
>
|
|
110
118
|
<Paragraph>{value && formatDate(value)}</Paragraph>
|
|
111
119
|
<Icon {...ICON_PROPS} name="CalendarIcon" />
|
|
112
120
|
</div>
|
|
@@ -56,7 +56,7 @@ export const Input = JSX<InputProps>(
|
|
|
56
56
|
ref={inputRef}
|
|
57
57
|
key={key}
|
|
58
58
|
className={style(
|
|
59
|
-
'w-full border rounded-md text-primary-text outline-none p-m',
|
|
59
|
+
'w-full h-14 border rounded-md text-primary-text outline-none p-m',
|
|
60
60
|
paddingStyle,
|
|
61
61
|
validStyle,
|
|
62
62
|
inputClassName,
|
|
@@ -35,8 +35,12 @@ export const LocationDialog = JSX<UniBlockProps>(() => {
|
|
|
35
35
|
|
|
36
36
|
return (
|
|
37
37
|
<Dialog
|
|
38
|
+
className="pb-20"
|
|
38
39
|
head={
|
|
39
40
|
<div>
|
|
41
|
+
<Text size="text-h4" color="text-primary-text">
|
|
42
|
+
Выберите филиал
|
|
43
|
+
</Text>
|
|
40
44
|
{currentLocation ? (
|
|
41
45
|
<div className="mb-s">
|
|
42
46
|
<Text size="text-l" font="font-light">
|
|
@@ -61,7 +65,7 @@ export const LocationDialog = JSX<UniBlockProps>(() => {
|
|
|
61
65
|
.map(renderRegion(handleChangeLocation))}
|
|
62
66
|
</div>
|
|
63
67
|
) : (
|
|
64
|
-
<div className="columns-
|
|
68
|
+
<div className="columns-1 sm:columns-5">
|
|
65
69
|
{Array.from(regionsGroupByLetter.entries()).map(renderRegionGroup(handleChangeLocation))}
|
|
66
70
|
</div>
|
|
67
71
|
)}
|
|
@@ -6,13 +6,13 @@ import { Text } from '../Text/Text';
|
|
|
6
6
|
|
|
7
7
|
export const renderForeignOffices = (foreignOffices: ForeignOffice[] | undefined) =>
|
|
8
8
|
foreignOffices?.length ? (
|
|
9
|
-
<div className="border-t border-main-divider mt-2xs pt-2xs">
|
|
9
|
+
<div className="sm:border-t sm:border-main-divider mt-2xs pt-2xs">
|
|
10
10
|
<div className="mb-m">
|
|
11
11
|
<Text size="text-m" font="font-light" color="text-secondary-text">
|
|
12
12
|
Представительства за рубежом:
|
|
13
13
|
</Text>
|
|
14
14
|
</div>
|
|
15
|
-
<div className="flex gap-5xl">
|
|
15
|
+
<div className="flex flex-col sm:flex-row gap-5xl">
|
|
16
16
|
{foreignOffices.map((office, i: number) => (
|
|
17
17
|
<ForeignOffice key={String(i)} {...office} />
|
|
18
18
|
))}
|
|
@@ -25,11 +25,13 @@ const ForeignOffice = JSX<ForeignOffice>(({ icon, ...rest }) => {
|
|
|
25
25
|
const { text, target, href, onClick } = link(rest);
|
|
26
26
|
|
|
27
27
|
return (
|
|
28
|
-
<div className="flex gap-s">
|
|
28
|
+
<div className="flex gap-s items-center">
|
|
29
29
|
{icon ? <Img pathPrefix="/wcms-resources/" image={icon} /> : null}
|
|
30
30
|
{text ? (
|
|
31
31
|
<a className="hover:text-primary-hover" href={href} target={target} onClick={onClick}>
|
|
32
|
-
|
|
32
|
+
<Text size="text-l" font="font-light" color="text-primary-text">
|
|
33
|
+
{text}
|
|
34
|
+
</Text>
|
|
33
35
|
</a>
|
|
34
36
|
) : null}
|
|
35
37
|
</div>
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { type Region } from '../../hooks/useRegions';
|
|
2
|
+
import { Text } from '../Text/Text';
|
|
2
3
|
|
|
3
4
|
export const renderRegion = (onChangeLocation?: (region: Region) => void) => (region: Region) =>
|
|
4
5
|
(
|
|
5
|
-
<div key={region.id} className="mb-2xs">
|
|
6
|
+
<div key={region.id} className="mb-xs sm:mb-2xs">
|
|
6
7
|
<button
|
|
7
8
|
className="cursor-pointer hover:text-primary-hover"
|
|
8
9
|
onClick={() => {
|
|
9
10
|
onChangeLocation && onChangeLocation(region);
|
|
10
11
|
}}
|
|
11
12
|
>
|
|
12
|
-
|
|
13
|
+
<Text size="text-l" font="font-light">
|
|
14
|
+
{region.name || ''}
|
|
15
|
+
</Text>
|
|
13
16
|
</button>
|
|
14
17
|
</div>
|
|
15
18
|
);
|
|
@@ -6,7 +6,7 @@ import { Img } from '../Img/Img';
|
|
|
6
6
|
|
|
7
7
|
export const NotFound = JSX<NotFoundContent>(({ title, description }) => (
|
|
8
8
|
<div className="bg-white p-6xl py-20 flex gap-s flex-col @xl:items-center">
|
|
9
|
-
<Img image={{ icon: 'MagnifierIcon' }} width="120" height="120" />
|
|
9
|
+
<Img image={{ icon: 'MagnifierIcon', iconVersion: 'normal' }} width="120" height="120" />
|
|
10
10
|
<Headline
|
|
11
11
|
title={title}
|
|
12
12
|
description={description}
|
|
@@ -28,7 +28,7 @@ export const SearchInput = JSX<SearchInputProps>(
|
|
|
28
28
|
</div>
|
|
29
29
|
<input
|
|
30
30
|
className={style(
|
|
31
|
-
'h-
|
|
31
|
+
'h-14 w-full px-10 text-l text-black outline-none box-border border border-solid rounded-md',
|
|
32
32
|
'border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text',
|
|
33
33
|
)}
|
|
34
34
|
value={value}
|
|
@@ -59,7 +59,7 @@ export const Select = JSX<SelectProps>(
|
|
|
59
59
|
<div className={style('relative', isOpen ? 'z-20' : 'z-10')} ref={inputRef}>
|
|
60
60
|
<div
|
|
61
61
|
className={style(
|
|
62
|
-
'text-l flex justify-between items-center text-primary-text cursor-pointer relative z-10',
|
|
62
|
+
'h-14 text-l flex justify-between items-center text-primary-text cursor-pointer relative z-10',
|
|
63
63
|
getBorderStyle(isBorder, valid),
|
|
64
64
|
)}
|
|
65
65
|
onClick={isOpen ? handleClose : open}
|