@redneckz/wildless-cms-uni-blocks 0.14.26 → 0.14.28
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.12.12.js +0 -10
- package/bin/migration-scripts/0.14.26.js +3 -1
- package/bundle/api/{CorporateLeadAPI.d.ts → LeadServiceAPI.d.ts} +2 -2
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +286 -259
- 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/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/bundle/components/Bonus/BonusContent.d.ts +1 -0
- package/bundle/components/Calculator/CalculatorContent.d.ts +3 -0
- package/bundle/components/CarouselCard/titleSize.d.ts +1 -1
- package/bundle/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/bundle/components/MobileAppTile/renderList.d.ts +1 -1
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -0
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/bundle/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/bundle/icons/IconName.d.ts +16 -2
- package/bundle/ui-kit/DatePicker/DatePicker.d.ts +1 -0
- package/bundle/utils/getBorderStyle.d.ts +1 -0
- package/cosmos-static/icons/CardSendIcon.svg +1 -0
- package/cosmos-static/icons/CoinIcon.svg +1 -0
- package/cosmos-static/icons/ConvertCardIcon.svg +1 -0
- package/cosmos-static/icons/DzenIcon.svg +1 -0
- package/cosmos-static/icons/HeartTickIcon.svg +1 -0
- package/cosmos-static/icons/NotificationBingIcon.svg +1 -0
- package/cosmos-static/icons/Security/320/241ardIcon.svg +1 -0
- package/{lib/api/CorporateLeadAPI.d.ts → dist/api/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/{PromoTile/PromoTileContent.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/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/dist/components/Blocks.js +0 -2
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Bonus/BonusContent.d.ts +1 -0
- package/dist/components/Calculator/Calculator.mobile.js +6 -5
- package/dist/components/Calculator/Calculator.mobile.js.map +1 -1
- package/dist/components/Calculator/CalculatorContent.d.ts +3 -0
- package/dist/components/Carousel/renderCarouselCards.js +2 -2
- 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/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/dist/components/CarouselTariffsCard/CarouselTariffsCard.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 +3 -3
- package/dist/components/Footer/SocialMedia.js.map +1 -1
- package/dist/components/Footer/iconsMap.js +4 -0
- package/dist/components/Footer/iconsMap.js.map +1 -1
- package/dist/components/HorizontalLayout/HorizontalLayout.js +2 -3
- package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocItem.js +6 -14
- package/dist/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocs.js +4 -3
- package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/dist/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/dist/components/LinkDocs/linkDocsContentExample.js +14 -5
- package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +2 -2
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/dist/components/MobileAppTile/renderList.d.ts +1 -1
- package/dist/components/MobileAppTile/renderList.js +3 -2
- package/dist/components/MobileAppTile/renderList.js.map +1 -1
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -0
- package/dist/components/ProductBlock/ProductBlock.js +2 -4
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +1 -1
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTable.js +1 -2
- package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/dist/components/VerticalLayout/VerticalLayout.js +6 -2
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/icons/IconName.d.ts +16 -2
- package/dist/icons/IconName.js +14 -0
- package/dist/icons/IconName.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/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/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/getBorderStyle.d.ts +1 -0
- package/dist/utils/getBorderStyle.js +7 -0
- package/dist/utils/getBorderStyle.js.map +1 -0
- package/{mobile/bundle/api/CorporateLeadAPI.d.ts → lib/api/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/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/lib/components/Blocks.js +0 -2
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Bonus/BonusContent.d.ts +1 -0
- package/lib/components/Calculator/Calculator.mobile.js +6 -5
- package/lib/components/Calculator/Calculator.mobile.js.map +1 -1
- package/lib/components/Calculator/CalculatorContent.d.ts +3 -0
- package/lib/components/Carousel/renderCarouselCards.js +2 -2
- 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/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.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 +3 -3
- package/lib/components/Footer/SocialMedia.js.map +1 -1
- package/lib/components/Footer/iconsMap.js +4 -0
- package/lib/components/Footer/iconsMap.js.map +1 -1
- package/lib/components/HorizontalLayout/HorizontalLayout.js +2 -3
- package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocItem.js +6 -14
- package/lib/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocs.js +4 -3
- package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/lib/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/lib/components/LinkDocs/linkDocsContentExample.js +14 -5
- package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +2 -2
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/lib/components/MobileAppTile/renderList.d.ts +1 -1
- package/lib/components/MobileAppTile/renderList.js +3 -2
- package/lib/components/MobileAppTile/renderList.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -0
- package/lib/components/ProductBlock/ProductBlock.js +2 -4
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +1 -1
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTable.js +1 -2
- package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/lib/components/VerticalLayout/VerticalLayout.js +6 -2
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/icons/IconName.d.ts +16 -2
- package/lib/icons/IconName.js +14 -0
- package/lib/icons/IconName.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/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/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/getBorderStyle.d.ts +1 -0
- package/lib/utils/getBorderStyle.js +4 -0
- package/lib/utils/getBorderStyle.js.map +1 -0
- package/{dist/api/CorporateLeadAPI.d.ts → mobile/bundle/api/LeadServiceAPI.d.ts} +2 -2
- package/mobile/bundle/bundle.umd.js +290 -95
- 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/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/mobile/bundle/components/Bonus/BonusContent.d.ts +1 -0
- package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +3 -0
- package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/bundle/components/MobileAppTile/renderList.d.ts +1 -1
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -0
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/bundle/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/mobile/bundle/icons/IconName.d.ts +16 -2
- package/mobile/bundle/ui-kit/DatePicker/DatePicker.d.ts +1 -0
- package/mobile/bundle/utils/getBorderStyle.d.ts +1 -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/{PromoTile/PromoTileContent.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/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/mobile/dist/components/Bonus/BonusContent.d.ts +1 -0
- package/mobile/dist/components/Calculator/Calculator.js +6 -5
- package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorContent.d.ts +3 -0
- package/mobile/dist/components/Carousel/renderCarouselCards.js +2 -2
- 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/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.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 +3 -3
- package/mobile/dist/components/Footer/SocialMedia.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/LinkDocs/LinkDocItem.js +6 -14
- package/mobile/dist/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocs.js +4 -3
- package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +14 -5
- package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -2
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/dist/components/MobileAppTile/renderList.d.ts +1 -1
- package/mobile/dist/components/MobileAppTile/renderList.js +3 -2
- package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -1
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -0
- package/mobile/dist/components/ProductBlock/ProductBlock.js +2 -4
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -2
- package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/dist/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +6 -2
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +16 -2
- package/mobile/dist/icons/IconName.js +14 -0
- package/mobile/dist/icons/IconName.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/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/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/getBorderStyle.d.ts +1 -0
- package/mobile/dist/utils/getBorderStyle.js +7 -0
- package/mobile/dist/utils/getBorderStyle.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/BenefitsBlock/BenefitsBlockContent.d.ts +1 -0
- package/mobile/lib/components/Bonus/BonusContent.d.ts +1 -0
- package/mobile/lib/components/Calculator/Calculator.js +6 -5
- package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorContent.d.ts +3 -0
- package/mobile/lib/components/Carousel/renderCarouselCards.js +2 -2
- 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/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
- package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.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 +3 -3
- package/mobile/lib/components/Footer/SocialMedia.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/LinkDocs/LinkDocItem.js +6 -14
- package/mobile/lib/components/LinkDocs/LinkDocItem.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocs.js +4 -3
- package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
- package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +6 -0
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +14 -5
- package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -2
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -2
- package/mobile/lib/components/MobileAppTile/renderList.d.ts +1 -1
- package/mobile/lib/components/MobileAppTile/renderList.js +3 -2
- package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -0
- package/mobile/lib/components/ProductBlock/ProductBlock.js +2 -4
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -2
- package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/lib/components/TariffsTable/TariffsTableVertical.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.d.ts +1 -0
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +6 -2
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +16 -2
- package/mobile/lib/icons/IconName.js +14 -0
- package/mobile/lib/icons/IconName.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/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/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/getBorderStyle.d.ts +1 -0
- package/mobile/lib/utils/getBorderStyle.js +4 -0
- package/mobile/lib/utils/getBorderStyle.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/BenefitsBlock/BenefitsBlockContent.ts +1 -0
- package/mobile/src/components/Bonus/BonusContent.ts +1 -0
- package/mobile/src/components/Calculator/Calculator.tsx +9 -9
- package/mobile/src/components/Calculator/CalculatorContent.ts +3 -0
- package/mobile/src/components/Carousel/renderCarouselCards.tsx +3 -2
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
- 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 +8 -8
- package/mobile/src/components/Footer/iconsMap.ts +4 -0
- package/mobile/src/components/LinkDocs/LinkDocItem.tsx +24 -34
- package/mobile/src/components/LinkDocs/LinkDocs.example.json +4 -1
- package/mobile/src/components/LinkDocs/LinkDocs.tsx +5 -3
- package/mobile/src/components/LinkDocs/LinkDocsContent.ts +6 -0
- package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +14 -5
- package/mobile/src/components/MobileAppTile/MobileAppTile.example.json +2 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +2 -1
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +5 -1
- package/mobile/src/components/MobileAppTile/renderList.tsx +9 -4
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMap.ui.json +16 -1
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +2 -0
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +2 -4
- 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.ui.json +1 -0
- package/mobile/src/components/TariffsTable/TariffsTable.tsx +2 -3
- package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +0 -1
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -0
- package/mobile/src/components/TariffsTable/TariffsTableVertical.tsx +0 -1
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +9 -2
- package/mobile/src/icons/CardSendIcon.svg +9 -0
- package/mobile/src/icons/CoinIcon.svg +5 -0
- package/mobile/src/icons/ConvertCardIcon.svg +8 -0
- package/mobile/src/icons/DzenIcon.svg +4 -0
- package/mobile/src/icons/HeartTickIcon.svg +5 -0
- package/mobile/src/icons/IconName.ts +4 -4
- package/mobile/src/icons/NotificationBingIcon.svg +5 -0
- package/mobile/src/icons/Security/320/241ardIcon.svg +7 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -7
- 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/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/getBorderStyle.ts +4 -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/BenefitsBlock/BenefitsBlockContent.ts +1 -0
- package/src/components/Blocks.ts +0 -2
- package/src/components/Bonus/BonusContent.ts +1 -0
- package/src/components/Calculator/Calculator.mobile.tsx +9 -9
- package/src/components/Calculator/CalculatorContent.ts +3 -0
- package/src/components/Carousel/renderCarouselCards.tsx +3 -2
- package/src/components/CarouselCard/CarouselCard.tsx +1 -1
- package/src/components/CarouselCard/titleSize.tsx +1 -1
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -2
- package/src/components/Footer/Footer.mobile.tsx +7 -5
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +2 -1
- package/src/components/Footer/SocialMedia.tsx +8 -8
- package/src/components/Footer/iconsMap.ts +4 -0
- package/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -3
- package/src/components/LinkDocs/LinkDocItem.tsx +24 -34
- package/src/components/LinkDocs/LinkDocs.example.json +4 -1
- package/src/components/LinkDocs/LinkDocs.tsx +5 -3
- package/src/components/LinkDocs/LinkDocsContent.ts +6 -0
- package/src/components/LinkDocs/linkDocsContentExample.ts +14 -5
- package/src/components/MobileAppTile/MobileAppTile.example.json +2 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +3 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +2 -1
- package/src/components/MobileAppTile/MobileAppTileContent.ts +5 -1
- package/src/components/MobileAppTile/renderList.tsx +9 -4
- package/src/components/OfficesAtmsMap/OfficesAtmsMap.ui.json +16 -1
- package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +2 -0
- package/src/components/ProductBlock/ProductBlock.tsx +2 -4
- 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.ui.json +1 -0
- package/src/components/TariffsTable/TariffsTable.tsx +2 -3
- package/src/components/TariffsTable/TariffsTableCell.tsx +0 -1
- package/src/components/TariffsTable/TariffsTableContent.ts +1 -0
- package/src/components/TariffsTable/TariffsTableVertical.tsx +0 -1
- package/src/components/VerticalLayout/VerticalLayout.tsx +9 -2
- package/src/icons/CardSendIcon.svg +9 -0
- package/src/icons/CoinIcon.svg +5 -0
- package/src/icons/ConvertCardIcon.svg +8 -0
- package/src/icons/DzenIcon.svg +4 -0
- package/src/icons/HeartTickIcon.svg +5 -0
- package/src/icons/IconName.ts +22 -1
- package/src/icons/NotificationBingIcon.svg +5 -0
- package/src/icons/Security/320/241ardIcon.svg +7 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +1 -7
- 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/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/getBorderStyle.ts +4 -0
- package/bundle/components/PromoTile/PromoTile.d.ts +0 -5
- package/bundle/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/bundle/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/bundle/components/TariffsTable/headlineAlign.mobile.d.ts +0 -1
- package/dist/api/CorporateLeadAPI.js.map +0 -1
- package/dist/components/PromoTile/PromoTile.d.ts +0 -5
- package/dist/components/PromoTile/PromoTile.js +0 -20
- package/dist/components/PromoTile/PromoTile.js.map +0 -1
- package/dist/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/dist/components/PromoTile/PromoTileContent.js.map +0 -1
- package/dist/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/dist/components/TariffsTable/headlineAlign.js +0 -4
- package/dist/components/TariffsTable/headlineAlign.js.map +0 -1
- package/dist/components/TariffsTable/headlineAlign.mobile.d.ts +0 -1
- package/dist/components/TariffsTable/headlineAlign.mobile.js +0 -4
- package/dist/components/TariffsTable/headlineAlign.mobile.js.map +0 -1
- package/lib/api/CorporateLeadAPI.js.map +0 -1
- package/lib/components/PromoTile/PromoTile.d.ts +0 -5
- package/lib/components/PromoTile/PromoTile.fixture.d.ts +0 -6
- package/lib/components/PromoTile/PromoTile.js +0 -18
- package/lib/components/PromoTile/PromoTile.js.map +0 -1
- package/lib/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/lib/components/PromoTile/PromoTileContent.js +0 -2
- package/lib/components/PromoTile/PromoTileContent.js.map +0 -1
- package/lib/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/lib/components/TariffsTable/headlineAlign.js +0 -2
- package/lib/components/TariffsTable/headlineAlign.js.map +0 -1
- package/lib/components/TariffsTable/headlineAlign.mobile.d.ts +0 -1
- package/lib/components/TariffsTable/headlineAlign.mobile.js +0 -2
- package/lib/components/TariffsTable/headlineAlign.mobile.js.map +0 -1
- package/mobile/bundle/components/PromoTile/PromoTile.d.ts +0 -5
- package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/mobile/bundle/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/mobile/dist/api/CorporateLeadAPI.d.ts +0 -15
- package/mobile/dist/api/CorporateLeadAPI.js.map +0 -1
- package/mobile/dist/components/PromoTile/PromoTile.d.ts +0 -5
- package/mobile/dist/components/PromoTile/PromoTile.js +0 -20
- package/mobile/dist/components/PromoTile/PromoTile.js.map +0 -1
- package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/mobile/dist/components/PromoTile/PromoTileContent.js.map +0 -1
- package/mobile/dist/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/mobile/dist/components/TariffsTable/headlineAlign.js +0 -4
- package/mobile/dist/components/TariffsTable/headlineAlign.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/PromoTile/PromoTile.d.ts +0 -5
- package/mobile/lib/components/PromoTile/PromoTile.js +0 -18
- package/mobile/lib/components/PromoTile/PromoTile.js.map +0 -1
- package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +0 -10
- package/mobile/lib/components/PromoTile/PromoTileContent.js +0 -2
- package/mobile/lib/components/PromoTile/PromoTileContent.js.map +0 -1
- package/mobile/lib/components/TariffsTable/headlineAlign.d.ts +0 -1
- package/mobile/lib/components/TariffsTable/headlineAlign.js +0 -2
- package/mobile/lib/components/TariffsTable/headlineAlign.js.map +0 -1
- package/mobile/src/components/PromoTile/PromoTile.example.json +0 -16
- package/mobile/src/components/PromoTile/PromoTile.tsx +0 -53
- package/mobile/src/components/PromoTile/PromoTile.ui.json +0 -1
- package/mobile/src/components/PromoTile/PromoTileContent.ts +0 -14
- package/mobile/src/components/TariffsTable/headlineAlign.tsx +0 -1
- package/src/components/PromoTile/PromoTile.example.json +0 -16
- package/src/components/PromoTile/PromoTile.fixture.tsx +0 -25
- package/src/components/PromoTile/PromoTile.tsx +0 -53
- package/src/components/PromoTile/PromoTile.ui.json +0 -1
- package/src/components/PromoTile/PromoTileContent.ts +0 -14
- package/src/components/TariffsTable/headlineAlign.mobile.tsx +0 -1
- package/src/components/TariffsTable/headlineAlign.tsx +0 -1
package/src/icons/IconName.ts
CHANGED
|
@@ -51,12 +51,15 @@ export enum IconMap {
|
|
|
51
51
|
CalendarTickIcon = 'CalendarTickIcon',
|
|
52
52
|
CardIcon = 'CardIcon',
|
|
53
53
|
CardPosIcon = 'CardPosIcon',
|
|
54
|
+
CardSendIcon = 'CardSendIcon',
|
|
54
55
|
CardTickIcon = 'CardTickIcon',
|
|
55
56
|
ChartIcon = 'ChartIcon',
|
|
56
57
|
ChartSquareIcon = 'ChartSquareIcon',
|
|
57
58
|
ChevronLeftIcon = 'ChevronLeftIcon',
|
|
58
59
|
ClientIcon = 'ClientIcon',
|
|
59
60
|
CloseIcon = 'CloseIcon',
|
|
61
|
+
CoinIcon = 'CoinIcon',
|
|
62
|
+
ConvertCardIcon = 'ConvertCardIcon',
|
|
60
63
|
CourtHouseIcon = 'CourtHouseIcon',
|
|
61
64
|
DiscountShapeIcon = 'DiscountShapeIcon',
|
|
62
65
|
DocDownloadIcon = 'DocDownloadIcon',
|
|
@@ -64,6 +67,7 @@ export enum IconMap {
|
|
|
64
67
|
DollarIcon = 'DollarIcon',
|
|
65
68
|
DoneIcon = 'DoneIcon',
|
|
66
69
|
DoneSimpleIcon = 'DoneSimpleIcon',
|
|
70
|
+
DzenIcon = 'DzenIcon',
|
|
67
71
|
EmptyWalletChangeIcon = 'EmptyWalletChangeIcon',
|
|
68
72
|
EmptyWalletIcon = 'EmptyWalletIcon',
|
|
69
73
|
EuroIcon = 'EuroIcon',
|
|
@@ -75,6 +79,7 @@ export enum IconMap {
|
|
|
75
79
|
GridIcon = 'GridIcon',
|
|
76
80
|
HeadphonesIcon = 'HeadphonesIcon',
|
|
77
81
|
HeartIcon = 'HeartIcon',
|
|
82
|
+
HeartTickIcon = 'HeartTickIcon',
|
|
78
83
|
HouseIcon = 'HouseIcon',
|
|
79
84
|
HuaweiIcon = 'HuaweiIcon',
|
|
80
85
|
LogoIcon = 'LogoIcon',
|
|
@@ -89,6 +94,7 @@ export enum IconMap {
|
|
|
89
94
|
MoneyInsuranceIcon = 'MoneyInsuranceIcon',
|
|
90
95
|
MonitorMobileIcon = 'MonitorMobileIcon',
|
|
91
96
|
NewDocIcon = 'NewDocIcon',
|
|
97
|
+
NotificationBingIcon = 'NotificationBingIcon',
|
|
92
98
|
OkIcon = 'OkIcon',
|
|
93
99
|
PackA4Icon = 'PackA4Icon',
|
|
94
100
|
PassSendIcon = 'PassSendIcon',
|
|
@@ -107,6 +113,7 @@ export enum IconMap {
|
|
|
107
113
|
RoundRubleIcon = 'RoundRubleIcon',
|
|
108
114
|
RutubeIcon = 'RutubeIcon',
|
|
109
115
|
SafeIcon = 'SafeIcon',
|
|
116
|
+
SecurityСardIcon = 'SecurityСardIcon',
|
|
110
117
|
ShieldTickIcon = 'ShieldTickIcon',
|
|
111
118
|
SignDocsIcon = 'SignDocsIcon',
|
|
112
119
|
SmallClockIcon = 'SmallClockIcon',
|
|
@@ -143,12 +150,15 @@ export enum IconTitleMap {
|
|
|
143
150
|
CalendarTickIcon = 'Календарь с галочкой',
|
|
144
151
|
CardIcon = 'Кред. карта',
|
|
145
152
|
CardPosIcon = 'Кред. карта под наклоном',
|
|
153
|
+
CardSendIcon = 'Карта',
|
|
146
154
|
CardTickIcon = 'Кред. карта с галочкой',
|
|
147
155
|
ChartIcon = 'Инвестиции',
|
|
148
156
|
ChartSquareIcon = 'Деньги внутри кошелька',
|
|
149
157
|
ChevronLeftIcon = "Стрелка 'Влево'",
|
|
150
158
|
ClientIcon = 'Клиент',
|
|
151
159
|
CloseIcon = 'Крестик',
|
|
160
|
+
CoinIcon = 'Монеты',
|
|
161
|
+
ConvertCardIcon = 'Конвертирование',
|
|
152
162
|
CourtHouseIcon = 'Здание суда',
|
|
153
163
|
DiscountShapeIcon = 'Скидка',
|
|
154
164
|
DocDownloadIcon = 'Скачать документ',
|
|
@@ -156,6 +166,7 @@ export enum IconTitleMap {
|
|
|
156
166
|
DollarIcon = 'Доллар',
|
|
157
167
|
DoneIcon = "Зелёная 'галочка' в круге",
|
|
158
168
|
DoneSimpleIcon = "Зелёная 'галочка'",
|
|
169
|
+
DzenIcon = 'Лого «Дзен»',
|
|
159
170
|
EmptyWalletChangeIcon = 'Пустой кошелёк с возвратом',
|
|
160
171
|
EmptyWalletIcon = 'Пустой кошелёк',
|
|
161
172
|
EuroIcon = 'Евро',
|
|
@@ -167,6 +178,7 @@ export enum IconTitleMap {
|
|
|
167
178
|
GridIcon = 'Сетка (белая)',
|
|
168
179
|
HeadphonesIcon = 'HeadphonesIcon',
|
|
169
180
|
HeartIcon = 'Сердце',
|
|
181
|
+
HeartTickIcon = 'Сердцебеение',
|
|
170
182
|
HouseIcon = 'Ипотека',
|
|
171
183
|
HuaweiIcon = 'Лого «Huawei»',
|
|
172
184
|
LogoIcon = 'Logo',
|
|
@@ -181,6 +193,7 @@ export enum IconTitleMap {
|
|
|
181
193
|
MoneyInsuranceIcon = 'Денежное страхование',
|
|
182
194
|
MonitorMobileIcon = 'Монитор и мобильный',
|
|
183
195
|
NewDocIcon = 'Новый документ',
|
|
196
|
+
NotificationBingIcon = 'Колокольчик нотификаций',
|
|
184
197
|
OkIcon = 'Лого «Одноклассники»',
|
|
185
198
|
PackA4Icon = 'Пачка бумаги А4',
|
|
186
199
|
PassSendIcon = 'Бизнес',
|
|
@@ -199,6 +212,7 @@ export enum IconTitleMap {
|
|
|
199
212
|
RoundRubleIcon = 'Рубль (круг.)',
|
|
200
213
|
RutubeIcon = 'Лого «Rutube»',
|
|
201
214
|
SafeIcon = 'Сейф',
|
|
215
|
+
SecurityСardIcon = 'Безопасность',
|
|
202
216
|
ShieldTickIcon = 'Безопасность',
|
|
203
217
|
SignDocsIcon = 'Подписанные документы',
|
|
204
218
|
SmallClockIcon = 'Маленькие часы',
|
|
@@ -219,7 +233,7 @@ export enum IconTitleMap {
|
|
|
219
233
|
* @title Иконка
|
|
220
234
|
* @enumNames [
|
|
221
235
|
* "",
|
|
222
|
-
* 'Деньги', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Банк', 'Белорусский флаг', 'Портфель', 'Здание с деревом', 'Бургер', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Инвестиции', 'Деньги внутри кошелька', 'Стрелка \'Влево\'', 'Клиент', 'Крестик', 'Здание суда', 'Скидка', 'Скачать документ', 'Документ', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Факс', 'FullScreenIcon', 'Геолокация', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Ипотека', 'Лого «Huawei»', 'Logo', 'Лупа', 'MagnifierIcon', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'Иконка Развёрнутая карта', 'Минус', 'Деньги', 'Денежное страхование', 'Монитор и мобильный', 'Новый документ', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'PercentIcon', 'Персональная карта', 'Звонящий телефон', 'Телефон', 'Лого «PlayMarket»', 'Плюс в круге', 'Плюс', 'Профиль, 2 персоны', 'Профиль', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Лого «Rutube»', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Лого «Telegram»', 'Самолётик', 'Пользователь в рамке', 'Пользователь', 'Лого «VK»', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Лого «Youtube»'
|
|
236
|
+
* 'Деньги', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Банк', 'Белорусский флаг', 'Портфель', 'Здание с деревом', 'Бургер', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Кред. карта', 'Кред. карта под наклоном', 'Карта', 'Кред. карта с галочкой', 'Инвестиции', 'Деньги внутри кошелька', 'Стрелка \'Влево\'', 'Клиент', 'Крестик', 'Монеты', 'Конвертирование', 'Здание суда', 'Скидка', 'Скачать документ', 'Документ', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Лого «Дзен»', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'Факс', 'FullScreenIcon', 'Геолокация', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Сердцебеение', 'Ипотека', 'Лого «Huawei»', 'Logo', 'Лупа', 'MagnifierIcon', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'Иконка Развёрнутая карта', 'Минус', 'Деньги', 'Денежное страхование', 'Монитор и мобильный', 'Новый документ', 'Колокольчик нотификаций', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'PercentIcon', 'Персональная карта', 'Звонящий телефон', 'Телефон', 'Лого «PlayMarket»', 'Плюс в круге', 'Плюс', 'Профиль, 2 персоны', 'Профиль', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Лого «Rutube»', 'Сейф', 'Безопасность', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Лого «Telegram»', 'Самолётик', 'Пользователь в рамке', 'Пользователь', 'Лого «VK»', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Лого «Youtube»'
|
|
223
237
|
* ]
|
|
224
238
|
*/
|
|
225
239
|
export type IconName =
|
|
@@ -244,12 +258,15 @@ export type IconName =
|
|
|
244
258
|
| 'CalendarTickIcon'
|
|
245
259
|
| 'CardIcon'
|
|
246
260
|
| 'CardPosIcon'
|
|
261
|
+
| 'CardSendIcon'
|
|
247
262
|
| 'CardTickIcon'
|
|
248
263
|
| 'ChartIcon'
|
|
249
264
|
| 'ChartSquareIcon'
|
|
250
265
|
| 'ChevronLeftIcon'
|
|
251
266
|
| 'ClientIcon'
|
|
252
267
|
| 'CloseIcon'
|
|
268
|
+
| 'CoinIcon'
|
|
269
|
+
| 'ConvertCardIcon'
|
|
253
270
|
| 'CourtHouseIcon'
|
|
254
271
|
| 'DiscountShapeIcon'
|
|
255
272
|
| 'DocDownloadIcon'
|
|
@@ -257,6 +274,7 @@ export type IconName =
|
|
|
257
274
|
| 'DollarIcon'
|
|
258
275
|
| 'DoneIcon'
|
|
259
276
|
| 'DoneSimpleIcon'
|
|
277
|
+
| 'DzenIcon'
|
|
260
278
|
| 'EmptyWalletChangeIcon'
|
|
261
279
|
| 'EmptyWalletIcon'
|
|
262
280
|
| 'EuroIcon'
|
|
@@ -268,6 +286,7 @@ export type IconName =
|
|
|
268
286
|
| 'GridIcon'
|
|
269
287
|
| 'HeadphonesIcon'
|
|
270
288
|
| 'HeartIcon'
|
|
289
|
+
| 'HeartTickIcon'
|
|
271
290
|
| 'HouseIcon'
|
|
272
291
|
| 'HuaweiIcon'
|
|
273
292
|
| 'LogoIcon'
|
|
@@ -282,6 +301,7 @@ export type IconName =
|
|
|
282
301
|
| 'MoneyInsuranceIcon'
|
|
283
302
|
| 'MonitorMobileIcon'
|
|
284
303
|
| 'NewDocIcon'
|
|
304
|
+
| 'NotificationBingIcon'
|
|
285
305
|
| 'OkIcon'
|
|
286
306
|
| 'PackA4Icon'
|
|
287
307
|
| 'PassSendIcon'
|
|
@@ -300,6 +320,7 @@ export type IconName =
|
|
|
300
320
|
| 'RoundRubleIcon'
|
|
301
321
|
| 'RutubeIcon'
|
|
302
322
|
| 'SafeIcon'
|
|
323
|
+
| 'SecurityСardIcon'
|
|
303
324
|
| 'ShieldTickIcon'
|
|
304
325
|
| 'SignDocsIcon'
|
|
305
326
|
| 'SmallClockIcon'
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg title="Колокольчик нотификаций" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M12 6.44043V9.77043" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"/>
|
|
3
|
+
<path d="M20.5899 15.17C21.3199 16.39 20.7399 17.97 19.3899 18.42C14.6099 20.01 9.43993 20.01 4.65993 18.42C3.21993 17.94 2.66993 16.48 3.45993 15.17L4.72993 13.05C5.07993 12.47 5.35993 11.44 5.35993 10.77V8.67C5.35993 4.98 8.33993 2 12.0199 2C15.6799 2 18.6799 5 18.6799 8.66V10.76C18.6799 10.94 18.6999 11.14 18.7299 11.35" stroke="#000000" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"/>
|
|
4
|
+
<path d="M15.3299 18.8203C15.3299 20.6503 13.8299 22.1503 11.9999 22.1503C11.0899 22.1503 10.2499 21.7703 9.64992 21.1703C9.04992 20.5703 8.66992 19.7303 8.66992 18.8203" stroke="#000000" stroke-width="2" stroke-miterlimit="10"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg title="Безопасность" isInverse="true" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2.00023 7.14012C2.00023 5.92012 2.93024 4.57012 4.07024 4.14012L9.05023 2.2701C9.87023 1.9601 11.2302 1.9601 12.0502 2.2701L17.0202 4.14012C17.9702 4.50012 18.7802 5.5001 19.0302 6.5201H11.7302C11.5102 6.5201 11.3102 6.53011 11.1202 6.53011C9.27022 6.64011 8.79022 7.31012 8.79022 9.42012V14.8501C8.79022 17.1601 9.38022 17.7501 11.7302 17.7501H17.6502C17.5602 17.8301 17.4702 17.9001 17.3802 17.9801L13.1102 21.1801C11.7002 22.2301 9.40022 22.2301 7.98022 21.1801L3.70023 17.9801C2.76023 17.2801 1.99023 15.7301 1.99023 14.5601V11.2401" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
<path d="M8.80029 11.2202H22.0003" stroke="#000000" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M22.0003 9.42026V14.9702C21.9803 17.1902 21.3703 17.7402 19.0603 17.7402H11.7403C9.3903 17.7402 8.80029 17.1502 8.80029 14.8402V9.41025C8.80029 7.31025 9.28029 6.64023 11.1303 6.52023C11.3203 6.52023 11.5203 6.51025 11.7403 6.51025H19.0603C21.4103 6.52025 22.0003 7.10026 22.0003 9.42026Z" stroke="#000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
5
|
+
<path d="M11.3203 15.2603H12.6503" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
6
|
+
<path d="M14.75 15.2603H18.02" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
|
7
|
+
</svg>
|
|
@@ -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>
|
|
@@ -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,
|
|
@@ -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 PromoTileContent } from './PromoTileContent';
|
|
3
|
-
export interface PromoTileProps extends PromoTileContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const PromoTile: import("@redneckz/uni-jsx").UNIComponent<PromoTileProps, any, any>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type DescriptionProps, type HeadlineProps } from '../../model/HeadlineType';
|
|
2
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
4
|
-
/**
|
|
5
|
-
* @title Акции
|
|
6
|
-
*/
|
|
7
|
-
export declare type PromoTileContent = UniBlockContent & HeadlineProps & DescriptionProps & ButtonsSectionContent & {
|
|
8
|
-
/** @title Дата публикации */
|
|
9
|
-
date?: string;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const headlineAlign = "text-center";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const headlineAlign = "text-left";
|
|
@@ -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 PromoTileContent } from './PromoTileContent';
|
|
3
|
-
export interface PromoTileProps extends PromoTileContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const PromoTile: import("@redneckz/uni-jsx").UNIComponent<PromoTileProps, any, any>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.PromoTile = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BaseTile_1 = require("../../ui-kit/BaseTile/BaseTile");
|
|
6
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
-
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
8
|
-
const style_1 = require("../../utils/style");
|
|
9
|
-
const Headline_1 = require("../Headline/Headline");
|
|
10
|
-
exports.PromoTile = (0, uni_jsx_1.JSX)(({ className, title = 'Акции и спецпредложения', description, headlineVersion = 'S', date, buttons = [], ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('box-border', className), ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { className: "h-full", title: title ? ((0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, headlineVersion: headlineVersion, align: "text-left", isEmbedded: true })) : null, buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons), children: [date ? (0, jsx_runtime_1.jsx)("div", { className: "text-s mb-xs", children: formatDate(date) }) : null, (0, jsx_runtime_1.jsx)("div", { className: "text-l", children: description })] }) })));
|
|
11
|
-
function formatDate(date) {
|
|
12
|
-
const dateObj = new Date(date);
|
|
13
|
-
const dateFormat = {
|
|
14
|
-
day: 'numeric',
|
|
15
|
-
month: 'long',
|
|
16
|
-
year: 'numeric',
|
|
17
|
-
};
|
|
18
|
-
return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=PromoTile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAA0D;AAC1D,4DAAyD;AACzD,mFAAgF;AAChF,6CAA0C;AAC1C,mDAAgD;AAKnC,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EACC,SAAS,EACT,KAAK,GAAG,yBAAyB,EACjC,WAAW,EACX,eAAe,GAAG,GAAG,EACrB,IAAI,EACJ,OAAO,GAAG,EAAE,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,YAAY,EAAE,SAAS,CAAC,KAAM,IAAI,YAC/D,wBAAC,mBAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,eAAe,EAChC,KAAK,EAAC,WAAW,EACjB,UAAU,EAAE,IAAI,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,CAAC,aAErC,IAAI,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,cAAc,YAAE,UAAU,CAAC,IAAI,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,EACrE,gCAAK,SAAS,EAAC,QAAQ,YAAE,WAAW,GAAO,IAClC,GACE,CAChB,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,IAAY;IAC9B,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,UAAU,GAA+B;QAC7C,GAAG,EAAE,SAAS;QACd,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,SAAS;KAChB,CAAC;IAEF,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type DescriptionProps, type HeadlineProps } from '../../model/HeadlineType';
|
|
2
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
4
|
-
/**
|
|
5
|
-
* @title Акции
|
|
6
|
-
*/
|
|
7
|
-
export declare type PromoTileContent = UniBlockContent & HeadlineProps & DescriptionProps & ButtonsSectionContent & {
|
|
8
|
-
/** @title Дата публикации */
|
|
9
|
-
date?: string;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTileContent.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTileContent.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const headlineAlign = "text-center";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"headlineAlign.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/headlineAlign.tsx"],"names":[],"mappings":";;AAAa,QAAA,aAAa,GAAG,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const headlineAlign = "text-left";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"headlineAlign.mobile.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/headlineAlign.mobile.tsx"],"names":[],"mappings":";;AAAa,QAAA,aAAa,GAAG,WAAW,CAAC"}
|
|
@@ -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 PromoTileContent } from './PromoTileContent';
|
|
3
|
-
export interface PromoTileProps extends PromoTileContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const PromoTile: import("@redneckz/uni-jsx").UNIComponent<PromoTileProps, any, any>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { BaseTile } from '../../ui-kit/BaseTile/BaseTile.js';
|
|
4
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
5
|
-
import { renderButtonsSection } from '../../ui-kit/Button/renderButtonsSection.js';
|
|
6
|
-
import { style } from '../../utils/style.js';
|
|
7
|
-
import { Headline } from '../Headline/Headline.js';
|
|
8
|
-
export const PromoTile = JSX(({ className, title = 'Акции и спецпредложения', description, headlineVersion = 'S', date, buttons = [], ...rest }) => (_jsx(BlockWrapper, { className: style('box-border', className), ...rest, children: _jsxs(BaseTile, { className: "h-full", title: title ? (_jsx(Headline, { title: title, headlineVersion: headlineVersion, align: "text-left", isEmbedded: true })) : null, buttons: renderButtonsSection(buttons), children: [date ? _jsx("div", { className: "text-s mb-xs", children: formatDate(date) }) : null, _jsx("div", { className: "text-l", children: description })] }) })));
|
|
9
|
-
function formatDate(date) {
|
|
10
|
-
const dateObj = new Date(date);
|
|
11
|
-
const dateFormat = {
|
|
12
|
-
day: 'numeric',
|
|
13
|
-
month: 'long',
|
|
14
|
-
year: 'numeric',
|
|
15
|
-
};
|
|
16
|
-
return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=PromoTile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,0CAA0C,CAAC;AAChF,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAKhD,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAC1B,CAAC,EACC,SAAS,EACT,KAAK,GAAG,yBAAyB,EACjC,WAAW,EACX,eAAe,GAAG,GAAG,EACrB,IAAI,EACJ,OAAO,GAAG,EAAE,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,KAAC,YAAY,IAAC,SAAS,EAAE,KAAK,CAAC,YAAY,EAAE,SAAS,CAAC,KAAM,IAAI,YAC/D,MAAC,QAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,KAAC,QAAQ,IACP,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,eAAe,EAChC,KAAK,EAAC,WAAW,EACjB,UAAU,EAAE,IAAI,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,OAAO,EAAE,oBAAoB,CAAC,OAAO,CAAC,aAErC,IAAI,CAAC,CAAC,CAAC,cAAK,SAAS,EAAC,cAAc,YAAE,UAAU,CAAC,IAAI,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,EACrE,cAAK,SAAS,EAAC,QAAQ,YAAE,WAAW,GAAO,IAClC,GACE,CAChB,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,IAAY;IAC9B,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,UAAU,GAA+B;QAC7C,GAAG,EAAE,SAAS;QACd,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,SAAS;KAChB,CAAC;IAEF,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type DescriptionProps, type HeadlineProps } from '../../model/HeadlineType';
|
|
2
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
4
|
-
/**
|
|
5
|
-
* @title Акции
|
|
6
|
-
*/
|
|
7
|
-
export declare type PromoTileContent = UniBlockContent & HeadlineProps & DescriptionProps & ButtonsSectionContent & {
|
|
8
|
-
/** @title Дата публикации */
|
|
9
|
-
date?: string;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTileContent.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTileContent.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const headlineAlign = "text-center";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"headlineAlign.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/headlineAlign.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const headlineAlign = "text-left";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"headlineAlign.mobile.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/headlineAlign.mobile.tsx"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
-
import { type PromoTileContent } from './PromoTileContent';
|
|
3
|
-
export interface PromoTileProps extends PromoTileContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const PromoTile: import("@redneckz/uni-jsx").UNIComponent<PromoTileProps, any, any>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type DescriptionProps, type HeadlineProps } from '../../model/HeadlineType';
|
|
2
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
4
|
-
/**
|
|
5
|
-
* @title Акции
|
|
6
|
-
*/
|
|
7
|
-
export declare type PromoTileContent = UniBlockContent & HeadlineProps & DescriptionProps & ButtonsSectionContent & {
|
|
8
|
-
/** @title Дата публикации */
|
|
9
|
-
date?: string;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const headlineAlign = "text-left";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
interface DaDataSuggestion<T> {
|
|
2
|
-
value?: string;
|
|
3
|
-
unrestricted_value?: string;
|
|
4
|
-
data?: T;
|
|
5
|
-
}
|
|
6
|
-
interface DaDataAddress {
|
|
7
|
-
city?: string | null;
|
|
8
|
-
}
|
|
9
|
-
export interface DaDataResult {
|
|
10
|
-
suggestions?: DaDataSuggestion<DaDataAddress>[];
|
|
11
|
-
}
|
|
12
|
-
export declare function CorporateLeadAPI(): {
|
|
13
|
-
send: (body: Record<string, string>) => Promise<any>;
|
|
14
|
-
};
|
|
15
|
-
export {};
|
|
@@ -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 PromoTileContent } from './PromoTileContent';
|
|
3
|
-
export interface PromoTileProps extends PromoTileContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const PromoTile: import("@redneckz/uni-jsx").UNIComponent<PromoTileProps, any, any>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.PromoTile = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BaseTile_1 = require("../../ui-kit/BaseTile/BaseTile");
|
|
6
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
|
-
const renderButtonsSection_1 = require("../../ui-kit/Button/renderButtonsSection");
|
|
8
|
-
const style_1 = require("../../utils/style");
|
|
9
|
-
const Headline_1 = require("../Headline/Headline");
|
|
10
|
-
exports.PromoTile = (0, uni_jsx_1.JSX)(({ className, title = 'Акции и спецпредложения', description, headlineVersion = 'S', date, buttons = [], ...rest }) => ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('box-border', className), ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { className: "h-full", title: title ? ((0, jsx_runtime_1.jsx)(Headline_1.Headline, { title: title, headlineVersion: headlineVersion, align: "text-left", isEmbedded: true })) : null, buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons), children: [date ? (0, jsx_runtime_1.jsx)("div", { className: "text-s mb-xs", children: formatDate(date) }) : null, (0, jsx_runtime_1.jsx)("div", { className: "text-l", children: description })] }) })));
|
|
11
|
-
function formatDate(date) {
|
|
12
|
-
const dateObj = new Date(date);
|
|
13
|
-
const dateFormat = {
|
|
14
|
-
day: 'numeric',
|
|
15
|
-
month: 'long',
|
|
16
|
-
year: 'numeric',
|
|
17
|
-
};
|
|
18
|
-
return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=PromoTile.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTile.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6DAA0D;AAC1D,4DAAyD;AACzD,mFAAgF;AAChF,6CAA0C;AAC1C,mDAAgD;AAKnC,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EACC,SAAS,EACT,KAAK,GAAG,yBAAyB,EACjC,WAAW,EACX,eAAe,GAAG,GAAG,EACrB,IAAI,EACJ,OAAO,GAAG,EAAE,EACZ,GAAG,IAAI,EACR,EAAE,EAAE,CAAC,CACJ,uBAAC,2BAAY,IAAC,SAAS,EAAE,IAAA,aAAK,EAAC,YAAY,EAAE,SAAS,CAAC,KAAM,IAAI,YAC/D,wBAAC,mBAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,KAAK,EACH,KAAK,CAAC,CAAC,CAAC,CACN,uBAAC,mBAAQ,IACP,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,eAAe,EAChC,KAAK,EAAC,WAAW,EACjB,UAAU,EAAE,IAAI,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,EAEV,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,CAAC,aAErC,IAAI,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,cAAc,YAAE,UAAU,CAAC,IAAI,CAAC,GAAO,CAAC,CAAC,CAAC,IAAI,EACrE,gCAAK,SAAS,EAAC,QAAQ,YAAE,WAAW,GAAO,IAClC,GACE,CAChB,CACF,CAAC;AAEF,SAAS,UAAU,CAAC,IAAY;IAC9B,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,MAAM,UAAU,GAA+B;QAC7C,GAAG,EAAE,SAAS;QACd,KAAK,EAAE,MAAM;QACb,IAAI,EAAE,SAAS;KAChB,CAAC;IAEF,OAAO,OAAO,CAAC,cAAc,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AACvE,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type DescriptionProps, type HeadlineProps } from '../../model/HeadlineType';
|
|
2
|
-
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import { type ButtonsSectionContent } from '../../ui-kit/Button/ButtonsSectionContent';
|
|
4
|
-
/**
|
|
5
|
-
* @title Акции
|
|
6
|
-
*/
|
|
7
|
-
export declare type PromoTileContent = UniBlockContent & HeadlineProps & DescriptionProps & ButtonsSectionContent & {
|
|
8
|
-
/** @title Дата публикации */
|
|
9
|
-
date?: string;
|
|
10
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PromoTileContent.js","sourceRoot":"","sources":["../../../src/components/PromoTile/PromoTileContent.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const headlineAlign = "text-left";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"headlineAlign.js","sourceRoot":"","sources":["../../../src/components/TariffsTable/headlineAlign.tsx"],"names":[],"mappings":";;AAAa,QAAA,aAAa,GAAG,WAAW,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
interface DaDataSuggestion<T> {
|
|
2
|
-
value?: string;
|
|
3
|
-
unrestricted_value?: string;
|
|
4
|
-
data?: T;
|
|
5
|
-
}
|
|
6
|
-
interface DaDataAddress {
|
|
7
|
-
city?: string | null;
|
|
8
|
-
}
|
|
9
|
-
export interface DaDataResult {
|
|
10
|
-
suggestions?: DaDataSuggestion<DaDataAddress>[];
|
|
11
|
-
}
|
|
12
|
-
export declare function CorporateLeadAPI(): {
|
|
13
|
-
send: (body: Record<string, string>) => Promise<any>;
|
|
14
|
-
};
|
|
15
|
-
export {};
|