@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,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"
|
|
@@ -4,10 +4,10 @@ import { type UniBlockProps } from '../../model/JSXBlock';
|
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
5
|
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection';
|
|
6
6
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
|
+
import { isIcon } from '../../utils/isIcon';
|
|
7
8
|
import { joinList } from '../../utils/joinList';
|
|
8
9
|
import { style } from '../../utils/style';
|
|
9
10
|
import { Headline } from '../Headline/Headline';
|
|
10
|
-
import { checkCanRenderIcon } from './checkCanRenderIcon';
|
|
11
11
|
import { renderStep } from './renderStep';
|
|
12
12
|
import { type Step, type StepsBlockContent } from './StepsBlockContent';
|
|
13
13
|
import { STEPS_BLOCK_STYLE, type StyleType } from './StepsBlockStyleMaps';
|
|
@@ -89,9 +89,9 @@ const renderStepIcon =
|
|
|
89
89
|
)} flex justify-center items-center text-center rounded-full box-border z-10`}
|
|
90
90
|
version={stepVersion}
|
|
91
91
|
>
|
|
92
|
-
{
|
|
92
|
+
{isIcon(icon) ? (
|
|
93
93
|
<Img
|
|
94
|
-
image={{ ...icon, iconVersion: icon
|
|
94
|
+
image={{ ...icon, iconVersion: icon?.iconVersion || iconVersion }}
|
|
95
95
|
width="48"
|
|
96
96
|
height="48"
|
|
97
97
|
/>
|
|
@@ -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>
|
package/src/icons/IconName.ts
CHANGED
|
@@ -64,6 +64,7 @@ export enum IconMap {
|
|
|
64
64
|
DollarIcon = 'DollarIcon',
|
|
65
65
|
DoneIcon = 'DoneIcon',
|
|
66
66
|
DoneSimpleIcon = 'DoneSimpleIcon',
|
|
67
|
+
DzenIcon = 'DzenIcon',
|
|
67
68
|
EmptyWalletChangeIcon = 'EmptyWalletChangeIcon',
|
|
68
69
|
EmptyWalletIcon = 'EmptyWalletIcon',
|
|
69
70
|
EuroIcon = 'EuroIcon',
|
|
@@ -156,6 +157,7 @@ export enum IconTitleMap {
|
|
|
156
157
|
DollarIcon = 'Доллар',
|
|
157
158
|
DoneIcon = "Зелёная 'галочка' в круге",
|
|
158
159
|
DoneSimpleIcon = "Зелёная 'галочка'",
|
|
160
|
+
DzenIcon = 'Лого «Дзен»',
|
|
159
161
|
EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом',
|
|
160
162
|
EmptyWalletIcon = 'Пустой кошелёк',
|
|
161
163
|
EuroIcon = 'Евро',
|
|
@@ -219,7 +221,7 @@ export enum IconTitleMap {
|
|
|
219
221
|
* @title Иконка
|
|
220
222
|
* @enumNames [
|
|
221
223
|
* "",
|
|
222
|
-
* 'Деньги', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Банк', 'Белорусский флаг', 'Портфель', 'Здание с деревом', 'Бургер', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Инвестиции', 'Деньги внутри кошелька', 'Стрелка \'Влево\'', 'Клиент', 'Крестик', 'Здание суда', 'Скидка', 'Скачать документ', 'Документ', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Факс', 'FullScreenIcon', 'Геолокация', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Ипотека', 'Лого «Huawei»', 'Logo', 'Лупа', 'MagnifierIcon', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'Иконка Развёрнутая карта', 'Минус', 'Деньги', 'Денежное страхование', 'Монитор и мобильный', 'Новый документ', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'PercentIcon', 'Персональная карта', 'Звонящий телефон', 'Телефон', 'Лого «PlayMarket»', 'Плюс в круге', 'Плюс', 'Профиль, 2 персоны', 'Профиль', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Лого «Rutube»', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Лого «Telegram»', 'Самолётик', 'Пользователь в рамке', 'Пользователь', 'Лого «VK»', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Лого «Youtube»'
|
|
224
|
+
* 'Деньги', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Банк', 'Белорусский флаг', 'Портфель', 'Здание с деревом', 'Бургер', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Инвестиции', 'Деньги внутри кошелька', 'Стрелка \'Влево\'', 'Клиент', 'Крестик', 'Здание суда', 'Скидка', 'Скачать документ', 'Документ', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Лого «Дзен»', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Факс', 'FullScreenIcon', 'Геолокация', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Ипотека', 'Лого «Huawei»', 'Logo', 'Лупа', 'MagnifierIcon', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'Иконка Развёрнутая карта', 'Минус', 'Деньги', 'Денежное страхование', 'Монитор и мобильный', 'Новый документ', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'PercentIcon', 'Персональная карта', 'Звонящий телефон', 'Телефон', 'Лого «PlayMarket»', 'Плюс в круге', 'Плюс', 'Профиль, 2 персоны', 'Профиль', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Лого «Rutube»', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Лого «Telegram»', 'Самолётик', 'Пользователь в рамке', 'Пользователь', 'Лого «VK»', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Лого «Youtube»'
|
|
223
225
|
* ]
|
|
224
226
|
*/
|
|
225
227
|
export type IconName =
|
|
@@ -257,6 +259,7 @@ export type IconName =
|
|
|
257
259
|
| 'DollarIcon'
|
|
258
260
|
| 'DoneIcon'
|
|
259
261
|
| 'DoneSimpleIcon'
|
|
262
|
+
| 'DzenIcon'
|
|
260
263
|
| 'EmptyWalletChangeIcon'
|
|
261
264
|
| 'EmptyWalletIcon'
|
|
262
265
|
| 'EuroIcon'
|
|
@@ -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}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type CarouselProgramsCardContent } from './CarouselProgramsCardContent';
|
|
3
|
-
export interface CarouselTariffsCardProps extends CarouselProgramsCardContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const CarouselProgramsCard: import("@redneckz/uni-jsx").UNIComponent<CarouselTariffsCardProps, any, any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type HeadlineCommonProps, type TitleProps } from '../../model/HeadlineType';
|
|
2
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import { type LinkCommonProps } from '../../model/LinkProps';
|
|
4
|
-
import { type IconProps } from '../../model/Picture';
|
|
5
|
-
/**
|
|
6
|
-
* @title Карточка программ карусели
|
|
7
|
-
*/
|
|
8
|
-
export declare type CarouselProgramsCardContent = UniBlockContent & LinkCommonProps & TitleProps & IconProps & {
|
|
9
|
-
/** @title Список */
|
|
10
|
-
list?: HeadlineCommonProps[];
|
|
11
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type TileContent } from './TileContent';
|
|
3
|
-
export interface TileProps extends TileContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const Tile: import("@redneckz/uni-jsx").UNIComponent<TileProps, any, any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CorporateLeadAPI.js","sourceRoot":"","sources":["../../src/api/CorporateLeadAPI.ts"],"names":[],"mappings":";;AAcA,SAAgB,gBAAgB;IAC9B,KAAK,UAAU,IAAI,CAAC,IAA4B;QAC9C,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,2BAA2B,EAAE;gBACxD,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;gBAC/C,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;aAC3B,CAAC,CAAC;YAEH,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE;gBACjB,OAAO,IAAI,CAAC;aACb;YAED,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;YAEnC,OAAO,IAAI,CAAC;SACb;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAI,CAAC;SACb;IACH,CAAC;IAED,OAAO;QACL,IAAI;KACL,CAAC;AACJ,CAAC;AAzBD,4CAyBC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type CarouselProgramsCardContent } from './CarouselProgramsCardContent';
|
|
3
|
-
export interface CarouselTariffsCardProps extends CarouselProgramsCardContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const CarouselProgramsCard: import("@redneckz/uni-jsx").UNIComponent<CarouselTariffsCardProps, any, any>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.CarouselProgramsCard = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BaseProductTile_1 = require("../../ui-kit/BaseProductTile/BaseProductTile");
|
|
6
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
-
const LinkWrapper_1 = require("../../ui-kit/LinkWrapper/LinkWrapper");
|
|
8
|
-
exports.CarouselProgramsCard = (0, uni_jsx_1.JSX)(({ className, title, icon, list, href, target, ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-3xl", ...rest, children: (0, jsx_runtime_1.jsx)(LinkWrapper_1.LinkWrapper, { className: "flex items-center h-full", href: href, target: target, children: (0, jsx_runtime_1.jsx)(BaseProductTile_1.BaseProductTile, { title: title, headlineVersion: "XS", image: icon, imageOptions: { directionRight: true, imageAlign: 'center' }, benefits: list?.map((_) => ({
|
|
9
|
-
type: 'default',
|
|
10
|
-
label: _.title,
|
|
11
|
-
description: _.description,
|
|
12
|
-
})) }) }) })));
|
|
13
|
-
//# sourceMappingURL=CarouselProgramsCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselProgramsCard.js","sourceRoot":"","sources":["../../../src/components/CarouselProgramsCard/CarouselProgramsCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,kFAA+E;AAC/E,4DAAyD;AACzD,sEAAmE;AAKtD,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC3D,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,cAAc,EAAC,OAAO,KAAK,IAAI,YACjE,uBAAC,yBAAW,IAAC,SAAS,EAAC,0BAA0B,EAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,YAC1E,uBAAC,iCAAe,IACd,KAAK,EAAE,KAAK,EACZ,eAAe,EAAC,IAAI,EACpB,KAAK,EAAE,IAAI,EACX,YAAY,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,UAAU,EAAE,QAAQ,EAAE,EAC5D,QAAQ,EAAE,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;gBAC1B,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,CAAC,CAAC,KAAK;gBACd,WAAW,EAAE,CAAC,CAAC,WAAW;aAC3B,CAAC,CAAC,GACH,GACU,GACD,CAChB,CACF,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type HeadlineCommonProps, type TitleProps } from '../../model/HeadlineType';
|
|
2
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import { type LinkCommonProps } from '../../model/LinkProps';
|
|
4
|
-
import { type IconProps } from '../../model/Picture';
|
|
5
|
-
/**
|
|
6
|
-
* @title Карточка программ карусели
|
|
7
|
-
*/
|
|
8
|
-
export declare type CarouselProgramsCardContent = UniBlockContent & LinkCommonProps & TitleProps & IconProps & {
|
|
9
|
-
/** @title Список */
|
|
10
|
-
list?: HeadlineCommonProps[];
|
|
11
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselProgramsCardContent.js","sourceRoot":"","sources":["../../../src/components/CarouselProgramsCard/CarouselProgramsCardContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.checkCanRenderIcon = void 0;
|
|
3
|
-
const checkCanRenderIcon = (icon) => Boolean(icon?.icon || icon?.src);
|
|
4
|
-
exports.checkCanRenderIcon = checkCanRenderIcon;
|
|
5
|
-
//# sourceMappingURL=checkCanRenderIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"checkCanRenderIcon.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/checkCanRenderIcon.ts"],"names":[],"mappings":";;AAEO,MAAM,kBAAkB,GAAG,CAAC,IAAc,EAAqC,EAAE,CACtF,OAAO,CAAC,IAAI,EAAE,IAAI,IAAI,IAAI,EAAE,GAAG,CAAC,CAAC;AADtB,QAAA,kBAAkB,sBACI"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type TileContent } from './TileContent';
|
|
3
|
-
export interface TileProps extends TileContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const Tile: import("@redneckz/uni-jsx").UNIComponent<TileProps, any, any>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.Tile = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BaseProductTile_1 = require("../../ui-kit/BaseProductTile/BaseProductTile");
|
|
6
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
-
exports.Tile = (0, uni_jsx_1.JSX)(({ className, padding, headlineVersion = 'S', listItemSize = 'M', ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, padding: "p-0", ...rest, children: (0, jsx_runtime_1.jsx)(BaseProductTile_1.BaseProductTile, { className: "h-full", defaultPadding: "p-xl", padding: padding, headlineVersion: headlineVersion, listItemSize: listItemSize, isFullWidthTitle: false, ...rest }) })));
|
|
8
|
-
//# sourceMappingURL=Tile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../src/components/Tile/Tile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,kFAA+E;AAC/E,4DAAyD;AAK5C,QAAA,IAAI,GAAG,IAAA,aAAG,EACrB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,eAAe,GAAG,GAAG,EAAE,YAAY,GAAG,GAAG,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC9E,uBAAC,2BAAY,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAC,KAAK,KAAK,IAAI,YACxD,uBAAC,iCAAe,IACd,SAAS,EAAC,QAAQ,EAClB,cAAc,EAAC,MAAM,EACrB,OAAO,EAAE,OAAO,EAChB,eAAe,EAAE,eAAe,EAChC,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,KAAK,KACnB,IAAI,GACR,GACW,CAChB,CACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TileContent.js","sourceRoot":"","sources":["../../../src/components/Tile/TileContent.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CorporateLeadAPI.js","sourceRoot":"","sources":["../../src/api/CorporateLeadAPI.ts"],"names":[],"mappings":"AAcA,MAAM,UAAU,gBAAgB;IAC9B,KAAK,UAAU,IAAI,CAAC,IAA4B;QAC9C,IAAI;YACF,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,2BAA2B,EAAE;gBACxD,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE;gBAC/C,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;aAC3B,CAAC,CAAC;YAEH,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAE;gBACjB,OAAO,IAAI,CAAC;aACb;YAED,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;YAEnC,OAAO,IAAI,CAAC;SACb;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,IAAI,CAAC;SACb;IACH,CAAC;IAED,OAAO;QACL,IAAI;KACL,CAAC;AACJ,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type CarouselProgramsCardContent } from './CarouselProgramsCardContent';
|
|
3
|
-
export interface CarouselTariffsCardProps extends CarouselProgramsCardContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const CarouselProgramsCard: import("@redneckz/uni-jsx").UNIComponent<CarouselTariffsCardProps, any, any>;
|