@redneckz/wildless-cms-uni-blocks 0.8.16 → 0.8.18
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.8.8.js +9 -6
- package/bundle/ProjectSettings.d.ts +2 -0
- package/bundle/api/CorporateLeadAPI.d.ts +1 -1
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +157 -81
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
- package/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
- package/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/bundle/components/ApplicationForm/CreditParameters.d.ts +6 -0
- package/bundle/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/bundle/components/ApplicationForm/renderInputRange.d.ts +11 -0
- package/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
- package/bundle/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
- package/bundle/components/ApplicationForm/useFormHandlers.d.ts +1 -5
- package/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/bundle/components/CarouselCard/constants.d.ts +3 -3
- package/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/bundle/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/bundle/components/Header/HeaderContent.d.ts +0 -6
- package/bundle/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/bundle/components/Header/useChatBot.d.ts +1 -2
- package/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/bundle/components/Video/VideoContent.d.ts +19 -4
- package/bundle/hooks/useLink.d.ts +1 -3
- package/bundle/model/AlignType.d.ts +10 -0
- package/bundle/model/PreventableEvent.d.ts +3 -0
- package/bundle/services/sitemap/isTopItemActive.d.ts +3 -2
- package/dist/ProjectSettings.d.ts +2 -0
- package/dist/ProjectSettings.js +3 -0
- package/dist/ProjectSettings.js.map +1 -1
- package/dist/api/CorporateLeadAPI.d.ts +1 -1
- package/dist/api/CorporateLeadAPI.js +1 -1
- package/dist/api/CorporateLeadAPI.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationForm.js +6 -3
- package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js +16 -5
- package/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +16 -7
- package/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
- package/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
- package/dist/components/ApplicationForm/ApplicationFormCredit.js +21 -13
- package/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +11 -4
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormWed.js +14 -4
- package/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/dist/components/ApplicationForm/CreditParameters.d.ts +6 -0
- package/dist/components/ApplicationForm/CreditParameters.js +9 -0
- package/dist/components/ApplicationForm/CreditParameters.js.map +1 -0
- package/dist/components/ApplicationForm/acquiringTypes.js +0 -5
- package/dist/components/ApplicationForm/acquiringTypes.js.map +1 -1
- package/dist/components/ApplicationForm/renderBankOffices.js +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/dist/components/ApplicationForm/renderCreditParameters.js +10 -12
- package/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/dist/components/ApplicationForm/renderInputRange.d.ts +11 -0
- package/dist/components/ApplicationForm/renderInputRange.js +8 -0
- package/dist/components/ApplicationForm/renderInputRange.js.map +1 -0
- package/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
- package/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/dist/components/ApplicationForm/renderSelects.js +1 -1
- package/dist/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
- package/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/dist/components/ApplicationForm/useFormHandlers.d.ts +1 -5
- package/dist/components/ApplicationForm/useFormHandlers.js +1 -6
- package/dist/components/ApplicationForm/useFormHandlers.js.map +1 -1
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Carousel/Carousel.js +1 -0
- package/dist/components/Carousel/Carousel.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/CarouselCardContent.d.ts +2 -2
- package/dist/components/CarouselCard/constants.d.ts +3 -3
- package/dist/components/CarouselCard/constants.js +2 -2
- package/dist/components/CarouselCard/constants.js.map +1 -1
- package/dist/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/dist/components/CarouselEventCard/CarouselEventCard.js +12 -0
- package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
- package/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/dist/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
- package/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/dist/components/Footer/MediaButton.js +13 -10
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Header/Header.js +2 -2
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +0 -6
- package/dist/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/dist/components/Header/HeaderSecondaryMenu.js +3 -2
- package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/dist/components/Header/useChatBot.d.ts +1 -2
- package/dist/components/Header/useChatBot.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js +1 -1
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +3 -3
- 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/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/dist/components/VerticalLayout/VerticalLayout.js +2 -1
- package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/dist/components/Video/Video.js +6 -1
- package/dist/components/Video/Video.js.map +1 -1
- package/dist/components/Video/VideoContent.d.ts +19 -4
- package/dist/hooks/useLink.d.ts +1 -3
- package/dist/hooks/useLink.js +1 -1
- package/dist/hooks/useLink.js.map +1 -1
- package/dist/model/AlignType.d.ts +10 -0
- package/dist/model/PreventableEvent.d.ts +3 -0
- package/{mobile/dist/model/CarouselCardVersion.js → dist/model/PreventableEvent.js} +1 -1
- package/dist/model/PreventableEvent.js.map +1 -0
- package/dist/services/sitemap/isTopItemActive.d.ts +3 -2
- package/dist/services/sitemap/isTopItemActive.js +1 -3
- package/dist/services/sitemap/isTopItemActive.js.map +1 -1
- package/dist/wlc.json +3 -1
- package/lib/ProjectSettings.d.ts +2 -0
- package/lib/ProjectSettings.js +3 -0
- package/lib/ProjectSettings.js.map +1 -1
- package/lib/api/CorporateLeadAPI.d.ts +1 -1
- package/lib/api/CorporateLeadAPI.js +1 -1
- package/lib/api/CorporateLeadAPI.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +0 -2
- package/lib/components/ApplicationForm/ApplicationForm.js +6 -3
- package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js +16 -5
- package/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +16 -7
- package/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
- package/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
- package/lib/components/ApplicationForm/ApplicationFormCredit.js +18 -10
- package/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +11 -4
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormWed.js +14 -4
- package/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/lib/components/ApplicationForm/CreditParameters.d.ts +6 -0
- package/lib/components/ApplicationForm/CreditParameters.js +7 -0
- package/lib/components/ApplicationForm/CreditParameters.js.map +1 -0
- package/lib/components/ApplicationForm/acquiringTypes.js +0 -5
- package/lib/components/ApplicationForm/acquiringTypes.js.map +1 -1
- package/lib/components/ApplicationForm/renderBankOffices.js +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/lib/components/ApplicationForm/renderCreditParameters.js +3 -5
- package/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/lib/components/ApplicationForm/renderInputRange.d.ts +11 -0
- package/lib/components/ApplicationForm/renderInputRange.js +5 -0
- package/lib/components/ApplicationForm/renderInputRange.js.map +1 -0
- package/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
- package/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/lib/components/ApplicationForm/renderSelects.js +1 -1
- package/lib/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
- package/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/lib/components/ApplicationForm/useFormHandlers.d.ts +1 -5
- package/lib/components/ApplicationForm/useFormHandlers.js +1 -6
- package/lib/components/ApplicationForm/useFormHandlers.js.map +1 -1
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Carousel/Carousel.fixture.d.ts +1 -0
- package/lib/components/Carousel/Carousel.js +1 -0
- package/lib/components/Carousel/Carousel.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/CarouselCardContent.d.ts +2 -2
- package/lib/components/CarouselCard/constants.d.ts +3 -3
- package/lib/components/CarouselCard/constants.js +2 -2
- package/lib/components/CarouselCard/constants.js.map +1 -1
- package/lib/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/lib/components/CarouselEventCard/CarouselEventCard.fixture.d.ts +7 -0
- package/lib/components/CarouselEventCard/CarouselEventCard.js +10 -0
- package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
- package/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/lib/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
- package/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/lib/components/Footer/MediaButton.js +13 -10
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Header/Header.js +2 -2
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +0 -6
- package/lib/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/lib/components/Header/HeaderSecondaryMenu.js +3 -2
- package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/lib/components/Header/useChatBot.d.ts +1 -2
- package/lib/components/Header/useChatBot.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js +1 -1
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +3 -3
- 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/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/lib/components/VerticalLayout/VerticalLayout.js +2 -1
- package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/lib/components/Video/Video.js +6 -1
- package/lib/components/Video/Video.js.map +1 -1
- package/lib/components/Video/VideoContent.d.ts +19 -4
- package/lib/hooks/useLink.d.ts +1 -3
- package/lib/hooks/useLink.js +1 -1
- package/lib/hooks/useLink.js.map +1 -1
- package/lib/model/AlignType.d.ts +10 -0
- package/lib/model/PreventableEvent.d.ts +3 -0
- package/lib/model/PreventableEvent.js +2 -0
- package/lib/model/PreventableEvent.js.map +1 -0
- package/lib/services/sitemap/isTopItemActive.d.ts +3 -2
- package/lib/services/sitemap/isTopItemActive.js +1 -3
- package/lib/services/sitemap/isTopItemActive.js.map +1 -1
- package/lib/wlc.json +3 -1
- package/mobile/bundle/ProjectSettings.d.ts +2 -0
- package/mobile/bundle/api/CorporateLeadAPI.d.ts +1 -1
- package/mobile/bundle/bundle.umd.js +18 -14
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
- package/mobile/bundle/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
- package/mobile/bundle/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/mobile/bundle/components/ApplicationForm/CreditParameters.d.ts +6 -0
- package/mobile/bundle/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/renderInputRange.d.ts +11 -0
- package/mobile/bundle/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
- package/mobile/bundle/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
- package/mobile/bundle/components/ApplicationForm/useFormHandlers.d.ts +1 -5
- package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/bundle/components/CarouselCard/constants.d.ts +3 -3
- package/mobile/bundle/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/mobile/bundle/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/mobile/bundle/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/mobile/bundle/components/Header/HeaderContent.d.ts +0 -6
- package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/mobile/bundle/components/Header/useChatBot.d.ts +1 -2
- package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/mobile/bundle/components/Video/VideoContent.d.ts +19 -4
- package/mobile/bundle/hooks/useLink.d.ts +1 -3
- package/mobile/bundle/model/AlignType.d.ts +10 -0
- package/mobile/bundle/model/PreventableEvent.d.ts +3 -0
- package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +3 -2
- package/mobile/dist/ProjectSettings.d.ts +2 -0
- package/mobile/dist/ProjectSettings.js +3 -0
- package/mobile/dist/ProjectSettings.js.map +1 -1
- package/mobile/dist/api/CorporateLeadAPI.d.ts +1 -1
- package/mobile/dist/api/CorporateLeadAPI.js +1 -1
- package/mobile/dist/api/CorporateLeadAPI.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js +6 -3
- package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js +16 -5
- package/mobile/dist/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js +16 -7
- package/mobile/dist/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js +21 -13
- package/mobile/dist/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +11 -4
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js +14 -4
- package/mobile/dist/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/mobile/dist/components/ApplicationForm/CreditParameters.d.ts +6 -0
- package/mobile/dist/components/ApplicationForm/CreditParameters.js +9 -0
- package/mobile/dist/components/ApplicationForm/CreditParameters.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/acquiringTypes.js +0 -5
- package/mobile/dist/components/ApplicationForm/acquiringTypes.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderBankOffices.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js +10 -12
- package/mobile/dist/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderInputRange.d.ts +11 -0
- package/mobile/dist/components/ApplicationForm/renderInputRange.js +8 -0
- package/mobile/dist/components/ApplicationForm/renderInputRange.js.map +1 -0
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderSelects.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
- package/mobile/dist/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/useFormHandlers.d.ts +1 -5
- package/mobile/dist/components/ApplicationForm/useFormHandlers.js +1 -6
- package/mobile/dist/components/ApplicationForm/useFormHandlers.js.map +1 -1
- package/mobile/dist/components/Carousel/Carousel.js +1 -0
- package/mobile/dist/components/Carousel/Carousel.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/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/dist/components/CarouselCard/constants.d.ts +3 -3
- package/mobile/dist/components/CarouselCard/constants.js +2 -2
- package/mobile/dist/components/CarouselCard/constants.js.map +1 -1
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +12 -0
- package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
- package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
- package/mobile/dist/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/mobile/dist/components/Footer/MediaButton.js +13 -10
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/mobile/dist/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +0 -6
- package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -2
- package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/dist/components/Header/useChatBot.d.ts +1 -2
- package/mobile/dist/components/Header/useChatBot.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +3 -3
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js +2 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/mobile/dist/components/Video/Video.js +6 -1
- package/mobile/dist/components/Video/Video.js.map +1 -1
- package/mobile/dist/components/Video/VideoContent.d.ts +19 -4
- package/mobile/dist/hooks/useLink.d.ts +1 -3
- package/mobile/dist/hooks/useLink.js +1 -1
- package/mobile/dist/hooks/useLink.js.map +1 -1
- package/mobile/dist/model/AlignType.d.ts +10 -0
- package/mobile/dist/model/PreventableEvent.d.ts +3 -0
- package/{dist/model/CarouselCardVersion.js → mobile/dist/model/PreventableEvent.js} +1 -1
- package/mobile/dist/model/PreventableEvent.js.map +1 -0
- package/mobile/dist/services/sitemap/isTopItemActive.d.ts +3 -2
- package/mobile/dist/services/sitemap/isTopItemActive.js +1 -3
- package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -1
- package/mobile/dist/wlc.json +3 -1
- package/mobile/lib/ProjectSettings.d.ts +2 -0
- package/mobile/lib/ProjectSettings.js +3 -0
- package/mobile/lib/ProjectSettings.js.map +1 -1
- package/mobile/lib/api/CorporateLeadAPI.d.ts +1 -1
- package/mobile/lib/api/CorporateLeadAPI.js +1 -1
- package/mobile/lib/api/CorporateLeadAPI.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js +6 -3
- package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js +16 -5
- package/mobile/lib/components/ApplicationForm/ApplicationFormAcquiring.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js +16 -7
- package/mobile/lib/components/ApplicationForm/ApplicationFormBusinessCard.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +15 -4
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.d.ts +0 -6
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js +18 -10
- package/mobile/lib/components/ApplicationForm/ApplicationFormCredit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +11 -4
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js +14 -4
- package/mobile/lib/components/ApplicationForm/ApplicationFormWed.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormsProps.d.ts +2 -2
- package/mobile/lib/components/ApplicationForm/CreditParameters.d.ts +6 -0
- package/mobile/lib/components/ApplicationForm/CreditParameters.js +7 -0
- package/mobile/lib/components/ApplicationForm/CreditParameters.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/acquiringTypes.js +0 -5
- package/mobile/lib/components/ApplicationForm/acquiringTypes.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderBankOffices.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js +3 -5
- package/mobile/lib/components/ApplicationForm/renderCreditParameters.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderInputRange.d.ts +11 -0
- package/mobile/lib/components/ApplicationForm/renderInputRange.js +5 -0
- package/mobile/lib/components/ApplicationForm/renderInputRange.js.map +1 -0
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.d.ts +2 -2
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderQuestionsInterested.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderSelects.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.d.ts +1 -1
- package/mobile/lib/components/ApplicationForm/renderSubmitButton.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/useFormHandlers.d.ts +1 -5
- package/mobile/lib/components/ApplicationForm/useFormHandlers.js +1 -6
- package/mobile/lib/components/ApplicationForm/useFormHandlers.js.map +1 -1
- package/mobile/lib/components/Carousel/Carousel.js +1 -0
- package/mobile/lib/components/Carousel/Carousel.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/CarouselCard/CarouselCardContent.d.ts +2 -2
- package/mobile/lib/components/CarouselCard/constants.d.ts +3 -3
- package/mobile/lib/components/CarouselCard/constants.js +2 -2
- package/mobile/lib/components/CarouselCard/constants.js.map +1 -1
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.d.ts +5 -0
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +10 -0
- package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -0
- package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.d.ts +9 -0
- package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js +2 -0
- package/mobile/lib/components/CarouselEventCard/CarouselEventCardContent.js.map +1 -0
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +3 -4
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +8 -9
- package/mobile/lib/components/Footer/MediaButton.js +13 -10
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Header/HeaderChatBotButton.d.ts +1 -3
- package/mobile/lib/components/Header/HeaderChatBotButton.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +0 -6
- package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +0 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -2
- package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
- package/mobile/lib/components/Header/useChatBot.d.ts +1 -2
- package/mobile/lib/components/Header/useChatBot.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +3 -3
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +1 -0
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js +2 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
- package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +2 -2
- package/mobile/lib/components/Video/Video.js +6 -1
- package/mobile/lib/components/Video/Video.js.map +1 -1
- package/mobile/lib/components/Video/VideoContent.d.ts +19 -4
- package/mobile/lib/hooks/useLink.d.ts +1 -3
- package/mobile/lib/hooks/useLink.js +1 -1
- package/mobile/lib/hooks/useLink.js.map +1 -1
- package/mobile/lib/model/AlignType.d.ts +10 -0
- package/mobile/lib/model/PreventableEvent.d.ts +3 -0
- package/mobile/lib/model/PreventableEvent.js +2 -0
- package/mobile/lib/model/PreventableEvent.js.map +1 -0
- package/mobile/lib/services/sitemap/isTopItemActive.d.ts +3 -2
- package/mobile/lib/services/sitemap/isTopItemActive.js +1 -3
- package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -1
- package/mobile/lib/wlc.json +3 -1
- package/mobile/src/ProjectSettings.ts +4 -0
- package/mobile/src/api/CorporateLeadAPI.ts +2 -2
- package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +8 -4
- package/mobile/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +20 -5
- package/mobile/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +20 -7
- package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +16 -4
- package/mobile/src/components/ApplicationForm/ApplicationFormCredit.tsx +23 -12
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +15 -4
- package/mobile/src/components/ApplicationForm/ApplicationFormWed.tsx +18 -4
- package/mobile/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -2
- package/mobile/src/components/ApplicationForm/CreditParameters.ts +7 -0
- package/mobile/src/components/ApplicationForm/WrapperSelect.tsx +1 -1
- package/mobile/src/components/ApplicationForm/acquiringTypes.ts +0 -5
- package/mobile/src/components/ApplicationForm/renderBankOffices.tsx +1 -1
- package/mobile/src/components/ApplicationForm/renderCreditParameters.tsx +3 -22
- package/mobile/src/components/ApplicationForm/renderInputRange.tsx +20 -0
- package/mobile/src/components/ApplicationForm/renderQuestionsInterested.tsx +3 -3
- package/mobile/src/components/ApplicationForm/renderSelects.tsx +2 -2
- package/mobile/src/components/ApplicationForm/renderSubmitButton.tsx +1 -1
- package/mobile/src/components/ApplicationForm/useFormHandlers.ts +1 -15
- package/mobile/src/components/Carousel/Carousel.tsx +1 -0
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +4 -4
- package/mobile/src/components/CarouselCard/CarouselCardContent.ts +2 -2
- package/mobile/src/components/CarouselCard/constants.ts +5 -5
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.example.json +14 -0
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +32 -0
- package/mobile/src/components/CarouselEventCard/CarouselEventCard.ui.json +1 -0
- package/mobile/src/components/CarouselEventCard/CarouselEventCardContent.ts +12 -0
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -18
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -4
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.ui.json +1 -4
- package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +9 -9
- package/mobile/src/components/Footer/MediaButton.tsx +19 -14
- package/mobile/src/components/Header/HeaderChatBotButton.tsx +1 -4
- package/mobile/src/components/Header/HeaderContent.ts +0 -7
- package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +8 -5
- package/mobile/src/components/Header/useChatBot.ts +2 -3
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +6 -4
- package/mobile/src/components/ProductGallery/ProductGallery.example.json +2 -3
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +1 -1
- package/mobile/src/components/TariffsTable/TariffsTable.example.json +3 -0
- package/mobile/src/components/TariffsTable/TariffsTableContent.ts +1 -0
- package/mobile/src/components/VerticalLayout/VerticalLayout.example.json +1 -1
- package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +4 -3
- package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +2 -2
- package/mobile/src/components/Video/Video.example.json +5 -0
- package/mobile/src/components/Video/Video.tsx +23 -17
- package/mobile/src/components/Video/Video.ui.json +1 -1
- package/mobile/src/components/Video/VideoContent.ts +19 -4
- package/mobile/src/hooks/useLink.ts +2 -5
- package/mobile/src/model/AlignType.ts +11 -0
- package/mobile/src/model/PreventableEvent.ts +3 -0
- package/mobile/src/services/sitemap/isTopItemActive.ts +2 -7
- package/mobile/src/wlc.json +3 -1
- package/package.json +1 -1
- package/src/ProjectSettings.ts +4 -0
- package/src/api/CorporateLeadAPI.ts +2 -2
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +1 -1
- package/src/components/ApplicationForm/ApplicationForm.tsx +8 -4
- package/src/components/ApplicationForm/ApplicationFormAcquiring.tsx +20 -5
- package/src/components/ApplicationForm/ApplicationFormBusinessCard.tsx +20 -7
- package/src/components/ApplicationForm/ApplicationFormContent.ts +16 -4
- package/src/components/ApplicationForm/ApplicationFormCredit.tsx +23 -12
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +15 -4
- package/src/components/ApplicationForm/ApplicationFormWed.tsx +18 -4
- package/src/components/ApplicationForm/ApplicationFormsProps.ts +2 -2
- package/src/components/ApplicationForm/CreditParameters.ts +7 -0
- package/src/components/ApplicationForm/WrapperSelect.tsx +1 -1
- package/src/components/ApplicationForm/acquiringTypes.ts +0 -5
- package/src/components/ApplicationForm/renderBankOffices.tsx +1 -1
- package/src/components/ApplicationForm/renderCreditParameters.tsx +3 -22
- package/src/components/ApplicationForm/renderInputRange.tsx +20 -0
- package/src/components/ApplicationForm/renderQuestionsInterested.tsx +3 -3
- package/src/components/ApplicationForm/renderSelects.tsx +2 -2
- package/src/components/ApplicationForm/renderSubmitButton.tsx +1 -1
- package/src/components/ApplicationForm/useFormHandlers.ts +1 -15
- package/src/components/Blocks.ts +2 -0
- package/src/components/Carousel/Carousel.fixture.tsx +19 -0
- package/src/components/Carousel/Carousel.tsx +1 -0
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -1
- package/src/components/CarouselCard/CarouselCard.tsx +4 -4
- package/src/components/CarouselCard/CarouselCardContent.ts +2 -2
- package/src/components/CarouselCard/constants.ts +5 -5
- package/src/components/CarouselEventCard/CarouselEventCard.example.json +14 -0
- package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +21 -0
- package/src/components/CarouselEventCard/CarouselEventCard.tsx +32 -0
- package/src/components/CarouselEventCard/CarouselEventCard.ui.json +1 -0
- package/src/components/CarouselEventCard/CarouselEventCardContent.ts +12 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.example.json +18 -18
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +8 -3
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -4
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.ui.json +1 -4
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +9 -9
- package/src/components/Footer/MediaButton.tsx +19 -14
- package/src/components/Header/Header.fixture.tsx +3 -3
- package/src/components/Header/Header.tsx +0 -2
- package/src/components/Header/HeaderChatBotButton.tsx +1 -4
- package/src/components/Header/HeaderContent.ts +0 -7
- package/src/components/Header/HeaderSecondaryMenu.tsx +8 -5
- package/src/components/Header/useChatBot.ts +2 -3
- package/src/components/ProductBlock/ProductBlockInner.tsx +1 -1
- package/src/components/ProductBlock/renderBackwardButton.tsx +6 -4
- package/src/components/ProductGallery/ProductGallery.example.json +2 -3
- package/src/components/ProductGallery/ProductGallery.tsx +1 -1
- package/src/components/TariffsTable/TariffsTable.example.json +3 -0
- package/src/components/TariffsTable/TariffsTableContent.ts +1 -0
- package/src/components/VerticalLayout/VerticalLayout.example.json +1 -1
- package/src/components/VerticalLayout/VerticalLayout.tsx +4 -3
- package/src/components/VerticalLayout/VerticalLayoutContent.ts +2 -2
- package/src/components/Video/Video.example.json +5 -0
- package/src/components/Video/Video.fixture.tsx +1 -1
- package/src/components/Video/Video.tsx +23 -17
- package/src/components/Video/Video.ui.json +1 -1
- package/src/components/Video/VideoContent.ts +19 -4
- package/src/hooks/useLink.ts +2 -5
- package/src/model/AlignType.ts +11 -0
- package/src/model/PreventableEvent.ts +3 -0
- package/src/services/sitemap/isTopItemActive.ts +2 -7
- package/src/wlc.json +3 -1
- package/bundle/model/CarouselCardVersion.d.ts +0 -1
- package/dist/model/CarouselCardVersion.d.ts +0 -1
- package/dist/model/CarouselCardVersion.js.map +0 -1
- package/lib/model/CarouselCardVersion.d.ts +0 -1
- package/lib/model/CarouselCardVersion.js +0 -2
- package/lib/model/CarouselCardVersion.js.map +0 -1
- package/mobile/bundle/model/CarouselCardVersion.d.ts +0 -1
- package/mobile/dist/model/CarouselCardVersion.d.ts +0 -1
- package/mobile/dist/model/CarouselCardVersion.js.map +0 -1
- package/mobile/lib/model/CarouselCardVersion.d.ts +0 -1
- package/mobile/lib/model/CarouselCardVersion.js +0 -2
- package/mobile/lib/model/CarouselCardVersion.js.map +0 -1
- package/mobile/src/model/CarouselCardVersion.ts +0 -1
- package/src/model/CarouselCardVersion.ts +0 -1
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
2
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
2
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import type {
|
|
4
|
+
import type { ButtonAdditionalProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
+
/**
|
|
6
|
+
* @title Кнопка
|
|
7
|
+
*/
|
|
8
|
+
export interface ButtonProps extends ButtonAdditionalProps {
|
|
9
|
+
/**
|
|
10
|
+
* @title Текст
|
|
11
|
+
* @default "Отправить заявку"
|
|
12
|
+
*/
|
|
13
|
+
text?: string;
|
|
14
|
+
version?: ButtonVersion;
|
|
15
|
+
}
|
|
4
16
|
/**
|
|
5
17
|
* @title Форма заявки
|
|
6
18
|
*/
|
|
7
|
-
export declare type ApplicationFormContent =
|
|
19
|
+
export declare type ApplicationFormContent = TitleProps & {
|
|
8
20
|
/**
|
|
9
21
|
* @title Вид заявки
|
|
10
22
|
* @default credit
|
|
11
23
|
* @enumNames ["Бизнес-карта", "ВЭД", "Депозит", "Кредит", "Эквайринг"]
|
|
12
24
|
*/
|
|
13
25
|
typeForm?: 'business-card' | 'wed' | 'deposit' | 'credit' | 'acquiring';
|
|
14
|
-
/** @title Кнопка */
|
|
15
26
|
button?: ButtonProps;
|
|
16
27
|
/** @title Условия передачи данных */
|
|
17
28
|
link?: LinkProps;
|
|
@@ -11,10 +11,4 @@ export interface CreditFormState {
|
|
|
11
11
|
department: string;
|
|
12
12
|
annualRevenue: string;
|
|
13
13
|
}
|
|
14
|
-
export declare const MIN_CREDIT_AMOUNT = 50000;
|
|
15
|
-
export declare const MAX_CREDIT_AMOUNT = 3000000;
|
|
16
|
-
export declare const ITEMS_CREDIT_AMOUNT: string[];
|
|
17
|
-
export declare const MIN_CREDIT_TERM = 1;
|
|
18
|
-
export declare const MAX_CREDIT_TERM = 60;
|
|
19
|
-
export declare const ITEMS_CREDIT_TERM: string[];
|
|
20
14
|
export declare const ApplicationFormCredit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { LinkProps } from '../../model/LinkProps';
|
|
2
|
-
import type { ButtonProps } from '
|
|
2
|
+
import type { ButtonProps } from './ApplicationFormContent';
|
|
3
3
|
export interface ApplicationFormsProps {
|
|
4
4
|
button?: ButtonProps;
|
|
5
5
|
link?: LinkProps;
|
|
6
|
-
handleSubmit: (data:
|
|
6
|
+
handleSubmit: (data: Record<string, string>) => Promise<string>;
|
|
7
7
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const MIN_CREDIT_AMOUNT = 50000;
|
|
2
|
+
export declare const MAX_CREDIT_AMOUNT = 3000000;
|
|
3
|
+
export declare const ITEMS_CREDIT_AMOUNT: string[];
|
|
4
|
+
export declare const MIN_CREDIT_TERM = 1;
|
|
5
|
+
export declare const MAX_CREDIT_TERM = 60;
|
|
6
|
+
export declare const ITEMS_CREDIT_TERM: string[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CreditFormState } from './ApplicationFormCredit';
|
|
2
|
+
import type { CreditFormState } from './ApplicationFormCredit';
|
|
3
3
|
import type { HandleFormStateChange } from './models';
|
|
4
4
|
interface RenderCreditParametersProps {
|
|
5
5
|
amount: number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface RenderInputRangeProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value: number;
|
|
5
|
+
onChange: (value: number) => void;
|
|
6
|
+
min: number;
|
|
7
|
+
max: number;
|
|
8
|
+
items: string[];
|
|
9
|
+
}
|
|
10
|
+
export declare const renderInputRange: (props: RenderInputRangeProps) => JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { WedFormState } from './ApplicationFormWed';
|
|
3
|
-
import { HandleFormStateChange } from './models';
|
|
2
|
+
import type { WedFormState } from './ApplicationFormWed';
|
|
3
|
+
import type { HandleFormStateChange } from './models';
|
|
4
4
|
interface RenderQuestionsInterestedProps {
|
|
5
5
|
currencyControl: boolean;
|
|
6
6
|
documentaryOperations: boolean;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { Dispatch, SetStateAction } from 'react';
|
|
2
2
|
import type { HandleFormStateChange } from './models';
|
|
3
3
|
interface UseFormHandlersProps<T> {
|
|
4
|
-
formState: Partial<T>;
|
|
5
|
-
handleSubmit: (data: Partial<T>) => void;
|
|
6
4
|
setFormState: Dispatch<SetStateAction<T>>;
|
|
7
|
-
typeForm: string;
|
|
8
5
|
}
|
|
9
|
-
export declare const useFormHandlers: <T>({
|
|
6
|
+
export declare const useFormHandlers: <T>({ setFormState }: UseFormHandlersProps<T>) => {
|
|
10
7
|
handleChange: HandleFormStateChange<T>;
|
|
11
|
-
onSubmit: (e: React.FormEvent<HTMLFormElement>) => Promise<void>;
|
|
12
8
|
};
|
|
13
9
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SizeVersion } from '../../model/SizeVersion';
|
|
2
2
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
/**
|
|
@@ -13,5 +13,5 @@ export interface CarouselCardContent extends HeadlineCommonProps {
|
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
15
|
button?: ButtonWithIconProps;
|
|
16
|
-
carouselVersion?:
|
|
16
|
+
carouselVersion?: SizeVersion;
|
|
17
17
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const cardStyleMap: Record<
|
|
3
|
-
export declare const cardWidthMap: Record<
|
|
1
|
+
import type { SizeVersion } from '../../model/SizeVersion';
|
|
2
|
+
export declare const cardStyleMap: Record<SizeVersion, string>;
|
|
3
|
+
export declare const cardWidthMap: Record<SizeVersion, string>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { CarouselEventCardContent } from './CarouselEventCardContent';
|
|
3
|
+
export interface CarouselEventCardProps extends CarouselEventCardContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const CarouselEventCard: import("@redneckz/uni-jsx").UNIComponent<CarouselEventCardProps, any, any>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { DescriptionProps, TitleProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
|
+
/**
|
|
5
|
+
* @title Карточка мероприятия в карусели
|
|
6
|
+
*/
|
|
7
|
+
export declare type CarouselEventCardContent = TitleProps & DescriptionProps & LinkCommonProps & {
|
|
8
|
+
icon?: Picture;
|
|
9
|
+
};
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
|
+
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
2
3
|
import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
4
|
+
import type { LinkCommonProps } from '../../model/LinkProps';
|
|
3
5
|
import type { Picture } from '../../model/Picture';
|
|
4
|
-
import type { ButtonWithIconProps, ButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
6
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
7
|
+
export declare type RecommendationSocialMedia = LinkCommonProps & {
|
|
8
|
+
version: ButtonVersion;
|
|
9
|
+
icon?: Picture;
|
|
10
|
+
rounded?: boolean;
|
|
11
|
+
};
|
|
6
12
|
/**
|
|
7
13
|
* @title Карточка рекомендаций
|
|
8
14
|
*/
|
|
@@ -10,7 +16,7 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
|
|
|
10
16
|
/**
|
|
11
17
|
* @title Соц сети
|
|
12
18
|
*/
|
|
13
|
-
socialMedia?:
|
|
19
|
+
socialMedia?: RecommendationSocialMedia[];
|
|
14
20
|
/**
|
|
15
21
|
* @default {
|
|
16
22
|
* "format": "webp",
|
|
@@ -26,12 +32,5 @@ export interface CarouselRecommendationCardContent extends HeadlineCommonProps,
|
|
|
26
32
|
* }
|
|
27
33
|
*/
|
|
28
34
|
image?: Picture;
|
|
29
|
-
/**
|
|
30
|
-
* @default {
|
|
31
|
-
* "text": "",
|
|
32
|
-
* "version": "secondary"
|
|
33
|
-
* }
|
|
34
|
-
*/
|
|
35
|
-
button?: ButtonProps;
|
|
36
35
|
version?: BlockVersion;
|
|
37
36
|
}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import type { IconVersion } from '../../model/IconVersion';
|
|
2
|
-
import type { ChatBot as ChatBotWithEmptyOption } from './HeaderContent';
|
|
3
|
-
export declare type ChatBot = Exclude<ChatBotWithEmptyOption, ''>;
|
|
4
2
|
interface HeaderChatBotButtonProps {
|
|
5
3
|
className?: string;
|
|
6
4
|
iconVersion?: IconVersion;
|
|
7
|
-
chat?:
|
|
5
|
+
chat?: string;
|
|
8
6
|
onClick?: () => void;
|
|
9
7
|
}
|
|
10
8
|
export declare const HeaderChatBotButton: import("@redneckz/uni-jsx").UNIComponent<HeaderChatBotButtonProps, any, any>;
|
|
@@ -5,11 +5,6 @@ import type { IconProps, Picture } from '../../model/Picture';
|
|
|
5
5
|
* @title Пункт подменю
|
|
6
6
|
*/
|
|
7
7
|
export declare type SubMenuItem = LinkProps & IconProps;
|
|
8
|
-
/**
|
|
9
|
-
* @title Чат-бот
|
|
10
|
-
* @enumNames ["", "Для физических лиц", "Для юридических лиц"]
|
|
11
|
-
*/
|
|
12
|
-
export declare type ChatBot = '' | 'personal' | 'business';
|
|
13
8
|
/**
|
|
14
9
|
* @title Ссылка дополнительного меню
|
|
15
10
|
* @required ["text", "href"]
|
|
@@ -35,5 +30,4 @@ export interface HeaderContent {
|
|
|
35
30
|
showSubMenu?: boolean;
|
|
36
31
|
/** @hidden */
|
|
37
32
|
bgColor?: BgColorVersion;
|
|
38
|
-
chat?: ChatBot;
|
|
39
33
|
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
2
2
|
import type { ForeignOffice } from '../../services/sitemap/SitemapProps';
|
|
3
|
-
import type { ChatBot } from './HeaderContent';
|
|
4
3
|
interface HeaderSecondaryMenuContent {
|
|
5
4
|
version?: BlockVersion;
|
|
6
5
|
defaultLocation?: string;
|
|
7
6
|
officesLink?: string;
|
|
8
7
|
foreignOffices?: ForeignOffice[];
|
|
9
|
-
chat?: ChatBot;
|
|
10
8
|
}
|
|
11
9
|
export interface HeaderSecondaryMenuProps extends HeaderSecondaryMenuContent {
|
|
12
10
|
className?: string;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const useChatBot: (chat: ChatBot) => unknown;
|
|
1
|
+
export declare const useChatBot: (chat: string) => unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AlignTypeWithStretch } from '../../model/AlignType';
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
3
|
import type { ColorPalette } from '../../model/ContentPageDef';
|
|
4
4
|
import type { GapVersion } from '../HorizontalLayout/HorizontalLayoutContent';
|
|
@@ -8,7 +8,7 @@ import type { GapVersion } from '../HorizontalLayout/HorizontalLayoutContent';
|
|
|
8
8
|
export interface VerticalLayoutContent {
|
|
9
9
|
colorPalette?: ColorPalette;
|
|
10
10
|
version?: BlockVersion;
|
|
11
|
-
align?:
|
|
11
|
+
align?: AlignTypeWithStretch;
|
|
12
12
|
gap?: GapVersion;
|
|
13
13
|
/** @title Внутренний отступ компоновщика */
|
|
14
14
|
isPadding?: boolean;
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import type { TitleProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* @title Блок Видео
|
|
5
|
+
* @default {
|
|
6
|
+
* "title": "Заголовок блока"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
4
9
|
export interface VideoContent extends TitleProps {
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
/**
|
|
11
|
+
* @title Ссылка на видео
|
|
12
|
+
*/
|
|
13
|
+
url?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @title Заставка в блоке
|
|
16
|
+
* @default {
|
|
17
|
+
* "format": "webp",
|
|
18
|
+
* "size": {
|
|
19
|
+
* "width": 1004
|
|
20
|
+
* },
|
|
21
|
+
* }
|
|
22
|
+
*/
|
|
8
23
|
previewImg?: Picture;
|
|
9
24
|
}
|
|
@@ -7,3 +7,13 @@
|
|
|
7
7
|
* ]
|
|
8
8
|
*/
|
|
9
9
|
export declare type AlignType = 'left' | 'center' | 'right';
|
|
10
|
+
/**
|
|
11
|
+
* @title Выравнивание
|
|
12
|
+
* @enumNames [
|
|
13
|
+
* "Во всю ширину",
|
|
14
|
+
* "По левому краю",
|
|
15
|
+
* "По центру",
|
|
16
|
+
* "По правому краю"
|
|
17
|
+
* ]
|
|
18
|
+
*/
|
|
19
|
+
export declare type AlignTypeWithStretch = 'stretch' | 'left' | 'center' | 'right';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { Router } from '../../hooks/useRouter';
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
export declare const isTopItemActive: (router: Router) => ({ href }: {
|
|
3
|
+
href?: string | undefined;
|
|
4
|
+
}) => boolean;
|
|
@@ -6,6 +6,7 @@ export interface ProjectSettings {
|
|
|
6
6
|
ASSIST_PROJECT_ID?: string;
|
|
7
7
|
SITEMAP?: string;
|
|
8
8
|
FOOTER?: string;
|
|
9
|
+
CHAT_BOT?: string;
|
|
9
10
|
CDN?: string;
|
|
10
11
|
BASE_PATH?: string;
|
|
11
12
|
YANDEX_MAP_API_KEY?: string;
|
|
@@ -21,6 +22,7 @@ export declare const projectSettings: {
|
|
|
21
22
|
readonly ASSIST_PROJECT_ID: string | undefined;
|
|
22
23
|
readonly SITEMAP: string | undefined;
|
|
23
24
|
readonly FOOTER: string | undefined;
|
|
25
|
+
readonly CHAT_BOT: string | undefined;
|
|
24
26
|
readonly CDN: string | undefined;
|
|
25
27
|
readonly BASE_PATH: string | undefined;
|
|
26
28
|
readonly YANDEX_MAP_API_KEY: string | undefined;
|
package/dist/ProjectSettings.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ProjectSettings.js","sourceRoot":"","sources":["../src/ProjectSettings.ts"],"names":[],"mappings":";;AAeA,MAAM,wBAAwB,GAAoB,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC;AAE/D,QAAA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AI,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CorporateLeadAPI.js","sourceRoot":"","sources":["../../src/api/CorporateLeadAPI.ts"],"names":[],"mappings":";;AAcA,SAAgB,gBAAgB;IAC9B,KAAK,UAAU,IAAI,CAAC,
|
|
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,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;AArBD,4CAqBC"}
|
|
@@ -3,6 +3,7 @@ exports.ApplicationForm = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const hooks_1 = require("@redneckz/uni-jsx/lib/hooks");
|
|
6
|
+
const CorporateLeadAPI_1 = require("../../api/CorporateLeadAPI");
|
|
6
7
|
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
7
8
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
8
9
|
const ApplicationFormAcquiring_1 = require("./ApplicationFormAcquiring");
|
|
@@ -18,11 +19,13 @@ const COMPONENTS_MAP = {
|
|
|
18
19
|
deposit: (props) => (0, jsx_runtime_1.jsx)(ApplicationFormDeposit_1.ApplicationFormDeposit, { ...props }),
|
|
19
20
|
wed: (props) => (0, jsx_runtime_1.jsx)(ApplicationFormWed_1.ApplicationFormWed, { ...props }),
|
|
20
21
|
};
|
|
22
|
+
const API = (0, CorporateLeadAPI_1.CorporateLeadAPI)();
|
|
21
23
|
exports.ApplicationForm = (0, uni_jsx_1.JSX)((props) => {
|
|
22
24
|
const { className = '', title, typeForm = 'credit', button, link, ...rest } = props;
|
|
23
|
-
const [responceType,
|
|
24
|
-
const handleSubmit = (0, hooks_1.useCallback)(() => {
|
|
25
|
-
|
|
25
|
+
const [responceType, setResponseType] = (0, hooks_1.useState)('');
|
|
26
|
+
const handleSubmit = (0, hooks_1.useCallback)(async (data) => {
|
|
27
|
+
const status = await API.send(data);
|
|
28
|
+
setResponseType(status ? 'OK' : 'Fail');
|
|
26
29
|
return 'OK';
|
|
27
30
|
}, []);
|
|
28
31
|
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: `font-sans bg-white p-[50px] pb-9 ${className}`, ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container max-w-[978px]", children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", title: title, className: "text-center mb-8" }) : null, COMPONENTS_MAP[typeForm]({ button, link, handleSubmit }), responceType ? (0, jsx_runtime_1.jsx)(ResponseNotification_1.ResponseNotification, { responceType: responceType }) : null] }) }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationForm.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationForm.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAoE;
|
|
1
|
+
{"version":3,"file":"ApplicationForm.js","s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AAC,CAAC,MAAM,CAAC,CAAC;QAExC,OAAO,IAAI,CAAC;IACd,CAAC,EAAE,EAAE,CAAC,CAAC;IAEP,OAAO,CACL,uBAAC,2BAAY,IAAC,SAAS,EAAE,oCAAoC,SAAS,EAAE,KAAM,IAAI,YAChF,iCAAK,SAAS,EAAC,yBAAyB,aACrC,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAC,kBAAkB,GAAG,CAAC,CAAC,CAAC,IAAI,EACtF,cAAc,CAAC,QAAQ,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,CAAC,EACxD,YAAY,CAAC,CAAC,CAAC,uBAAC,2CAAoB,IAAC,YAAY,EAAE,YAAY,GAAI,CAAC,CAAC,CAAC,IAAI,IACvE,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -27,19 +27,30 @@ exports.ApplicationFormAcquiring = (0, uni_jsx_1.JSX)((props) => {
|
|
|
27
27
|
});
|
|
28
28
|
const { acquiringType, region, fullName, inn, name, phone, onlineСheckout, posTerminal } = formState;
|
|
29
29
|
const regions = (0, useGetRegions_1.useGetRegions)();
|
|
30
|
-
const { handleChange
|
|
31
|
-
formState,
|
|
32
|
-
handleSubmit,
|
|
30
|
+
const { handleChange } = (0, useFormHandlers_1.useFormHandlers)({
|
|
33
31
|
setFormState,
|
|
34
|
-
typeForm: 'acqr',
|
|
35
32
|
});
|
|
36
33
|
const selectedRegion = (0, normalizeSelectedRegion_1.normalizeSelectedRegion)(region, regions);
|
|
37
34
|
(0, hooks_1.useEffect)(() => {
|
|
38
35
|
setFormState((oldState) => ({
|
|
39
36
|
...oldState,
|
|
40
|
-
acquiringType: acquiringTypes_1.ACQUIRING_TYPES?.length && acquiringTypes_1.ACQUIRING_TYPES[0]?.
|
|
37
|
+
acquiringType: acquiringTypes_1.ACQUIRING_TYPES?.length && acquiringTypes_1.ACQUIRING_TYPES[0]?.name ? acquiringTypes_1.ACQUIRING_TYPES[0].name : '',
|
|
41
38
|
}));
|
|
42
39
|
}, []);
|
|
40
|
+
const onSubmit = async (e) => {
|
|
41
|
+
e.preventDefault();
|
|
42
|
+
const PartnerComments = `Вид эквайринга=${acquiringType}/Онлайн касса=${onlineСheckout}/POS-терминал=${posTerminal}`;
|
|
43
|
+
handleSubmit &&
|
|
44
|
+
(await handleSubmit({
|
|
45
|
+
typeForm: 'acqr',
|
|
46
|
+
region,
|
|
47
|
+
PartnerComments,
|
|
48
|
+
fullName,
|
|
49
|
+
inn,
|
|
50
|
+
name,
|
|
51
|
+
phone,
|
|
52
|
+
}));
|
|
53
|
+
};
|
|
43
54
|
return ((0, jsx_runtime_1.jsxs)("form", { onSubmit: onSubmit, className: "container", children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h6", title: "\u0412\u0438\u0434 \u044D\u043A\u0432\u0430\u0439\u0440\u0438\u043D\u0433\u0430 \u0438 \u0440\u0435\u0433\u0438\u043E\u043D", className: "text-center mb-4" }), (0, renderSelects_1.renderSelects)({
|
|
44
55
|
acquiringType,
|
|
45
56
|
regions,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationFormAcquiring.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormAcquiring.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;
|
|
1
|
+
{"version":3,"file":"ApplicationFormAcquiring.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormAcquiring.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAkE;AAElE,0DAAuD;AACvD,oDAAiD;AACjD,sEAAmE;AACnE,qDAAmD;AAEnD,yCAAsC;AAEtC,uEAAoE;AACpE,mDAAgD;AAChD,mEAAgE;AAChE,6DAA0D;AAC1D,uDAAoD;AAavC,QAAA,wBAAwB,GAAG,IAAA,aAAG,EA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YAAY,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,GACtD,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,wBAAwB,EAClC,IAAI,EAAC,MAAM,gBACA,uFAAiB,EAC5B,KAAK,EAAC,uFAAiB,EACvB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,IACE,EACN,iCAAK,SAAS,EAAC,OAAO,aACpB,uBAAC,aAAK,IACJ,SAAS,EAAC,6BAA6B,EACvC,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,oBAAK,gBACA,oBAAK,EAChB,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,GACjD,EACF,uBAAC,aAAK,IACJ,SAAS,EAAC,wBAAwB,EAClC,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4CAAS,gBACJ,4CAAS,EACpB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,GACnD,IACE,IACF,CACP,CAAC"}
|
|
@@ -19,15 +19,24 @@ exports.ApplicationFormBusinessCard = (0, uni_jsx_1.JSX)((props) => {
|
|
|
19
19
|
inn: '',
|
|
20
20
|
mail: '',
|
|
21
21
|
});
|
|
22
|
-
const { name, phone, inn, mail } = formState;
|
|
22
|
+
const { region, name, phone, inn, mail } = formState;
|
|
23
23
|
const regions = (0, useGetRegions_1.useGetRegions)();
|
|
24
|
-
const { handleChange
|
|
25
|
-
formState,
|
|
26
|
-
handleSubmit,
|
|
24
|
+
const { handleChange } = (0, useFormHandlers_1.useFormHandlers)({
|
|
27
25
|
setFormState,
|
|
28
|
-
typeForm: 'bcrd',
|
|
29
26
|
});
|
|
30
|
-
const selectedRegion = (0, normalizeSelectedRegion_1.normalizeSelectedRegion)(
|
|
27
|
+
const selectedRegion = (0, normalizeSelectedRegion_1.normalizeSelectedRegion)(region, regions);
|
|
28
|
+
const onSubmit = async (e) => {
|
|
29
|
+
e.preventDefault();
|
|
30
|
+
handleSubmit &&
|
|
31
|
+
(await handleSubmit({
|
|
32
|
+
typeForm: 'bcrd',
|
|
33
|
+
region,
|
|
34
|
+
name,
|
|
35
|
+
phone,
|
|
36
|
+
inn,
|
|
37
|
+
mail,
|
|
38
|
+
}));
|
|
39
|
+
};
|
|
31
40
|
return ((0, jsx_runtime_1.jsxs)("form", { onSubmit: onSubmit, className: "container", children: [renderRegion({
|
|
32
41
|
regions,
|
|
33
42
|
region: selectedRegion,
|
|
@@ -35,5 +44,5 @@ exports.ApplicationFormBusinessCard = (0, uni_jsx_1.JSX)((props) => {
|
|
|
35
44
|
}), renderDataOrganization({ name, phone, inn, mail, handleChange }), (0, renderSubmitButton_1.renderSubmitButton)(button, 'mb-4'), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }));
|
|
36
45
|
});
|
|
37
46
|
const renderDataOrganization = ({ name, phone, mail, inn, handleChange, }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex justify-between gap-5", children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", label: "\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0435 \u043B\u0438\u0446\u043E", value: name, onChange: (value) => handleChange({ name: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0418\u041D\u041D", label: "\u0418\u041D\u041D", value: inn, onChange: (value) => handleChange({ inn: value }) })] }), (0, jsx_runtime_1.jsxs)("div", { className: "w-1/2", children: [(0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full mb-5", type: "text", "aria-label": "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", value: phone, onChange: (value) => handleChange({ phone: value }) }), (0, jsx_runtime_1.jsx)(Input_1.Input, { className: "shrink-0 text-l w-full ", type: "text", "aria-label": "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", value: mail, onChange: (value) => handleChange({ mail: value }) })] })] }));
|
|
38
|
-
const renderRegion = ({ regions, region, handleChange }) => ((0, jsx_runtime_1.jsx)("div", { className: "flex justify-between gap-5 mb-5", children: (0, jsx_runtime_1.jsx)("div", { className: "w-full", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: regions, fieldValue: "
|
|
47
|
+
const renderRegion = ({ regions, region, handleChange }) => ((0, jsx_runtime_1.jsx)("div", { className: "flex justify-between gap-5 mb-5", children: (0, jsx_runtime_1.jsx)("div", { className: "w-full", children: (0, jsx_runtime_1.jsx)(WrapperSelect_1.WrapperSelect, { data: regions, fieldValue: "name", fieldLabel: "name", selected: region, setSelected: (value) => handleChange({ region: value }), label: "\u0420\u0435\u0433\u0438\u043E\u043D", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u043E\u043D" }) }) }));
|
|
39
48
|
//# sourceMappingURL=ApplicationFormBusinessCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApplicationFormBusinessCard.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormBusinessCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;
|
|
1
|
+
{"version":3,"file":"ApplicationFormBusinessCard.js","sourceRoot":"","sources":["../../../src/components/ApplicationForm/ApplicationFormBusinessCard.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAuD;AAGvD,oDAAiD;AACjD,sEAAmE;AAEnE,yCAAsC;AAEtC,uEAAoE;AACpE,6DAA0D;AAC1D,uDAAoD;AACpD,mDAAgD;AAUnC,QAAA,2BAA2B,GAAG,IAAA,aAAG,EAAwB,CAAC,KAAK,EAAE,EAAE;IAC9E,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,KAAK,CAAC;IAE7C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,EAAwB;QAChE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,EAAE;QACT,GAAG,EAAE,EAAE;QACP,IAAI,EAAE,EAAE;KACT,CAAC,CAAC;IAEH,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,SAAS,CAAC;IAErD,MAAM,OAAO,GAAG,IAAA,6BAAa,GAAE,CAAC;IAEhC,MAAM,EAAE,YAAY,EAAE,GAAG,IAAA,iCAAe,EAAwB;QAC9D,YAAY;KACb,CAAC,CAAC;IAEH,MAAM,cAAc,GAAG,IAAA,iDAAuB,EAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEhE,MAAM,QAAQ,GAAG,KAAK,EAAE,CAAmB,EAAE,EAAE;QAC7C,CAAC,CAAC,cAAc,EAAE,CAAC;QAEnB,YAAY;YACV,CAAC,MAAM,YAAY,CAAC;gBAClB,QAAQ,EAAE,MAAM;gBAChB,MAAM;gBACN,IAAI;gBACJ,KAAK;gBACL,GAAG;gBACH,IAAI;aACL,CAAC,CAAC,CAAC;IACR,CAAC,CAAC;IAEF,OAAO,CACL,kCAAM,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAC,WAAW,aAC5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ACF,uBAAC,aAAK,IACJ,SAAS,EAAC,yBAAyB,EACnC,IAAI,EAAC,MAAM,gBACA,mGAAmB,EAC9B,KAAK,EAAC,mGAAmB,EACzB,KAAK,EAAE,IAAI,EACX,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,GAClD,IACE,IACF,CACP,CAAC;AAQF,MAAM,YAAY,GAAG,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,YAAY,EAAqB,EAAE,EAAE,CAAC,CAC7E,gCAAK,SAAS,EAAC,iCAAiC,YAC9C,gCAAK,SAAS,EAAC,QAAQ,YACrB,uBAAC,6BAAa,IACZ,IAAI,EAAE,OAAO,EACb,UAAU,EAAC,MAAM,EACjB,UAAU,EAAC,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACvD,KAAK,EAAC,sCAAQ,EACd,WAAW,EAAC,uFAAiB,GAC7B,GACE,GACF,CACP,CAAC"}
|
|
@@ -1,17 +1,28 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
2
|
+
import type { TitleProps } from '../../model/HeadlineType';
|
|
2
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import type {
|
|
4
|
+
import type { ButtonAdditionalProps } from '../../ui-kit/Button/ButtonProps';
|
|
5
|
+
/**
|
|
6
|
+
* @title Кнопка
|
|
7
|
+
*/
|
|
8
|
+
export interface ButtonProps extends ButtonAdditionalProps {
|
|
9
|
+
/**
|
|
10
|
+
* @title Текст
|
|
11
|
+
* @default "Отправить заявку"
|
|
12
|
+
*/
|
|
13
|
+
text?: string;
|
|
14
|
+
version?: ButtonVersion;
|
|
15
|
+
}
|
|
4
16
|
/**
|
|
5
17
|
* @title Форма заявки
|
|
6
18
|
*/
|
|
7
|
-
export declare type ApplicationFormContent =
|
|
19
|
+
export declare type ApplicationFormContent = TitleProps & {
|
|
8
20
|
/**
|
|
9
21
|
* @title Вид заявки
|
|
10
22
|
* @default credit
|
|
11
23
|
* @enumNames ["Бизнес-карта", "ВЭД", "Депозит", "Кредит", "Эквайринг"]
|
|
12
24
|
*/
|
|
13
25
|
typeForm?: 'business-card' | 'wed' | 'deposit' | 'credit' | 'acquiring';
|
|
14
|
-
/** @title Кнопка */
|
|
15
26
|
button?: ButtonProps;
|
|
16
27
|
/** @title Условия передачи данных */
|
|
17
28
|
link?: LinkProps;
|
|
@@ -11,10 +11,4 @@ export interface CreditFormState {
|
|
|
11
11
|
department: string;
|
|
12
12
|
annualRevenue: string;
|
|
13
13
|
}
|
|
14
|
-
export declare const MIN_CREDIT_AMOUNT = 50000;
|
|
15
|
-
export declare const MAX_CREDIT_AMOUNT = 3000000;
|
|
16
|
-
export declare const ITEMS_CREDIT_AMOUNT: string[];
|
|
17
|
-
export declare const MIN_CREDIT_TERM = 1;
|
|
18
|
-
export declare const MAX_CREDIT_TERM = 60;
|
|
19
|
-
export declare const ITEMS_CREDIT_TERM: string[];
|
|
20
14
|
export declare const ApplicationFormCredit: import("@redneckz/uni-jsx").UNIComponent<ApplicationFormsProps, any, any>;
|