@redneckz/wildless-cms-uni-blocks 0.14.951 → 0.14.952
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/api/apiBaseUrl.d.ts +0 -1
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +323 -128
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -0
- package/bundle/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +6 -4
- package/bundle/components/ApplicationLeadForm/parseEsiaProfile.d.ts +1 -1
- package/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -1
- package/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +3 -1
- package/bundle/components/ApplicationLeadForm/useLeadFormStore.d.ts +3 -2
- package/bundle/components/ApplicationLeadForm/useSaveUserData.d.ts +2 -1
- package/bundle/components/Header/DropdownMenu.d.ts +2 -2
- package/bundle/components/Header/HeaderQuickActionsMenu.d.ts +1 -1
- package/bundle/retail/adaptors/getCreditFormTaskData.d.ts +3 -2
- package/bundle/retail/api/apiBaseUrl.d.ts +2 -1
- package/bundle/retail/api/checkCaptcha.d.ts +1 -0
- package/bundle/retail/api/checkCode.d.ts +1 -0
- package/bundle/retail/api/createDraftTask.d.ts +2 -1
- package/bundle/retail/api/createParticipant.d.ts +6 -0
- package/bundle/retail/api/sendMessage.d.ts +7 -0
- package/bundle/retail/api/updateUserTask.d.ts +14 -8
- package/bundle/retail/components/ConsentBkiDialog/useConsentBkiDialog.d.ts +9 -1
- package/bundle/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +2 -1
- package/bundle/retail/hooks/useRetailFormStore.d.ts +1 -1
- package/bundle/retail/model/LeadFormState.d.ts +2 -4
- package/bundle/retail/utils/checkNewMicroservice.d.ts +1 -0
- package/bundle/ui-kit/SearchBar/SearchBar.d.ts +1 -2
- package/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +0 -2
- package/dist/api/apiBaseUrl.d.ts +0 -1
- package/dist/api/apiBaseUrl.js +1 -2
- package/dist/api/apiBaseUrl.js.map +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +3 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -0
- package/dist/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +6 -4
- package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +35 -24
- package/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/dist/components/ApplicationLeadForm/parseEsiaProfile.d.ts +1 -1
- package/dist/components/ApplicationLeadForm/parseEsiaProfile.js +13 -11
- package/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -1
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +98 -4
- package/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +3 -1
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.js +3 -2
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useLeadFormStore.d.ts +3 -2
- package/dist/components/ApplicationLeadForm/useLeadFormStore.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useSaveUserData.d.ts +2 -1
- package/dist/components/ApplicationLeadForm/useSaveUserData.js.map +1 -1
- package/dist/components/CreditForm/CreditFormStatusTracker.js +16 -2
- package/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/dist/components/CreditForm/useCreditFormAPI.js +1 -1
- package/dist/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Footer/Footer.js.map +1 -1
- package/dist/components/Footer/renderLogoSearchBar.js +2 -2
- package/dist/components/Footer/renderLogoSearchBar.js.map +1 -1
- package/dist/components/Header/DropdownMenu.d.ts +2 -2
- package/dist/components/Header/HeaderQuickActionsMenu.d.ts +1 -1
- package/dist/components/Header/HeaderQuickActionsMenu.js +5 -7
- package/dist/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/dist/retail/adaptors/getCreditFormTaskData.d.ts +3 -2
- package/dist/retail/adaptors/getCreditFormTaskData.js +36 -25
- package/dist/retail/adaptors/getCreditFormTaskData.js.map +1 -1
- package/dist/retail/adaptors/utils.js +1 -1
- package/dist/retail/adaptors/utils.js.map +1 -1
- package/dist/retail/api/apiBaseUrl.d.ts +2 -1
- package/dist/retail/api/apiBaseUrl.js +3 -2
- package/dist/retail/api/apiBaseUrl.js.map +1 -1
- package/dist/retail/api/checkCaptcha.d.ts +1 -0
- package/dist/retail/api/checkCaptcha.js +10 -3
- package/dist/retail/api/checkCaptcha.js.map +1 -1
- package/dist/retail/api/checkCode.d.ts +1 -0
- package/dist/retail/api/checkCode.js +9 -1
- package/dist/retail/api/checkCode.js.map +1 -1
- package/dist/retail/api/createCaptcha.js +5 -1
- package/dist/retail/api/createCaptcha.js.map +1 -1
- package/dist/retail/api/createDraftTask.d.ts +2 -1
- package/dist/retail/api/createDraftTask.js.map +1 -1
- package/dist/retail/api/createParticipant.d.ts +6 -0
- package/dist/retail/api/createParticipant.js +6 -0
- package/dist/retail/api/createParticipant.js.map +1 -0
- package/dist/retail/api/doRequest.js +4 -2
- package/dist/retail/api/doRequest.js.map +1 -1
- package/dist/retail/api/esiaRequestProfile.js +11 -7
- package/dist/retail/api/esiaRequestProfile.js.map +1 -1
- package/dist/retail/api/getDictionaries.js +3 -1
- package/dist/retail/api/getDictionaries.js.map +1 -1
- package/dist/retail/api/getLink.js +5 -1
- package/dist/retail/api/getLink.js.map +1 -1
- package/dist/retail/api/sendCode.js +8 -1
- package/dist/retail/api/sendCode.js.map +1 -1
- package/dist/retail/api/sendMessage.d.ts +7 -0
- package/dist/retail/api/sendMessage.js +8 -0
- package/dist/retail/api/sendMessage.js.map +1 -0
- package/dist/retail/api/updateUserTask.d.ts +14 -8
- package/dist/retail/api/updateUserTask.js.map +1 -1
- package/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/dist/retail/components/ConsentBkiDialog/useConsentBkiDialog.d.ts +9 -1
- package/dist/retail/components/ConsentBkiDialog/useConsentBkiDialog.js +28 -4
- package/dist/retail/components/ConsentBkiDialog/useConsentBkiDialog.js.map +1 -1
- package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -1
- package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +2 -1
- package/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js +2 -1
- package/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js.map +1 -1
- package/dist/retail/hooks/useLeadFormData.js +3 -1
- package/dist/retail/hooks/useLeadFormData.js.map +1 -1
- package/dist/retail/hooks/useRetailFormStore.d.ts +1 -1
- package/dist/retail/model/LeadFormState.d.ts +2 -4
- package/dist/retail/utils/checkNewMicroservice.d.ts +1 -0
- package/dist/retail/utils/checkNewMicroservice.js +8 -0
- package/dist/retail/utils/checkNewMicroservice.js.map +1 -0
- package/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -2
- package/dist/ui-kit/SearchBar/SearchBar.js +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.d.ts +0 -2
- package/dist/ui-kit/SearchDialog/SearchDialog.js +2 -2
- package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/dist/ui-kit/YandexMap/useYandexMaps.js +1 -2
- package/dist/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/dist/wlc.json +1 -2
- package/lib/api/apiBaseUrl.d.ts +0 -1
- package/lib/api/apiBaseUrl.js +0 -1
- package/lib/api/apiBaseUrl.js.map +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.fixture.d.ts +1 -0
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +3 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -0
- package/lib/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +6 -4
- package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +33 -23
- package/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/lib/components/ApplicationLeadForm/parseEsiaProfile.d.ts +1 -1
- package/lib/components/ApplicationLeadForm/parseEsiaProfile.js +13 -11
- package/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -1
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +98 -4
- package/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +3 -1
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.js +3 -2
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useLeadFormStore.d.ts +3 -2
- package/lib/components/ApplicationLeadForm/useLeadFormStore.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useSaveUserData.d.ts +2 -1
- package/lib/components/ApplicationLeadForm/useSaveUserData.js.map +1 -1
- package/lib/components/CreditForm/CreditFormStatusTracker.js +16 -2
- package/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/lib/components/CreditForm/useCreditFormAPI.js +1 -1
- package/lib/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/lib/components/Footer/Footer.js +1 -1
- package/lib/components/Footer/Footer.js.map +1 -1
- package/lib/components/Footer/renderLogoSearchBar.js +2 -2
- package/lib/components/Footer/renderLogoSearchBar.js.map +1 -1
- package/lib/components/Header/DropdownMenu.d.ts +2 -2
- package/lib/components/Header/HeaderQuickActionsMenu.d.ts +1 -1
- package/lib/components/Header/HeaderQuickActionsMenu.js +5 -7
- package/lib/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/lib/retail/adaptors/getCreditFormTaskData.d.ts +3 -2
- package/lib/retail/adaptors/getCreditFormTaskData.js +36 -25
- package/lib/retail/adaptors/getCreditFormTaskData.js.map +1 -1
- package/lib/retail/adaptors/utils.js +1 -1
- package/lib/retail/adaptors/utils.js.map +1 -1
- package/lib/retail/api/apiBaseUrl.d.ts +2 -1
- package/lib/retail/api/apiBaseUrl.js +2 -1
- package/lib/retail/api/apiBaseUrl.js.map +1 -1
- package/lib/retail/api/checkCaptcha.d.ts +1 -0
- package/lib/retail/api/checkCaptcha.js +10 -3
- package/lib/retail/api/checkCaptcha.js.map +1 -1
- package/lib/retail/api/checkCode.d.ts +1 -0
- package/lib/retail/api/checkCode.js +9 -1
- package/lib/retail/api/checkCode.js.map +1 -1
- package/lib/retail/api/createCaptcha.js +5 -1
- package/lib/retail/api/createCaptcha.js.map +1 -1
- package/lib/retail/api/createDraftTask.d.ts +2 -1
- package/lib/retail/api/createDraftTask.js.map +1 -1
- package/lib/retail/api/createParticipant.d.ts +6 -0
- package/lib/retail/api/createParticipant.js +3 -0
- package/lib/retail/api/createParticipant.js.map +1 -0
- package/lib/retail/api/doRequest.js +4 -2
- package/lib/retail/api/doRequest.js.map +1 -1
- package/lib/retail/api/esiaRequestProfile.js +11 -7
- package/lib/retail/api/esiaRequestProfile.js.map +1 -1
- package/lib/retail/api/getDictionaries.js +3 -1
- package/lib/retail/api/getDictionaries.js.map +1 -1
- package/lib/retail/api/getLink.js +5 -1
- package/lib/retail/api/getLink.js.map +1 -1
- package/lib/retail/api/sendCode.js +8 -1
- package/lib/retail/api/sendCode.js.map +1 -1
- package/lib/retail/api/sendMessage.d.ts +7 -0
- package/lib/retail/api/sendMessage.js +5 -0
- package/lib/retail/api/sendMessage.js.map +1 -0
- package/lib/retail/api/updateUserTask.d.ts +14 -8
- package/lib/retail/api/updateUserTask.js.map +1 -1
- package/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/lib/retail/components/ConsentBkiDialog/useConsentBkiDialog.d.ts +9 -1
- package/lib/retail/components/ConsentBkiDialog/useConsentBkiDialog.js +28 -4
- package/lib/retail/components/ConsentBkiDialog/useConsentBkiDialog.js.map +1 -1
- package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -1
- package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +2 -1
- package/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js +2 -1
- package/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js.map +1 -1
- package/lib/retail/hooks/useLeadFormData.js +4 -2
- package/lib/retail/hooks/useLeadFormData.js.map +1 -1
- package/lib/retail/hooks/useRetailFormStore.d.ts +1 -1
- package/lib/retail/model/LeadFormState.d.ts +2 -4
- package/lib/retail/utils/checkNewMicroservice.d.ts +1 -0
- package/lib/retail/utils/checkNewMicroservice.js +5 -0
- package/lib/retail/utils/checkNewMicroservice.js.map +1 -0
- package/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -2
- package/lib/ui-kit/SearchBar/SearchBar.js +1 -1
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.d.ts +0 -2
- package/lib/ui-kit/SearchDialog/SearchDialog.js +2 -2
- package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/lib/ui-kit/YandexMap/useYandexMaps.js +1 -2
- package/lib/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/lib/wlc.json +1 -2
- package/mobile/bundle/api/apiBaseUrl.d.ts +0 -1
- package/mobile/bundle/bundle.umd.js +318 -123
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -0
- package/mobile/bundle/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +6 -4
- package/mobile/bundle/components/ApplicationLeadForm/parseEsiaProfile.d.ts +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -1
- package/mobile/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +3 -1
- package/mobile/bundle/components/ApplicationLeadForm/useLeadFormStore.d.ts +3 -2
- package/mobile/bundle/components/ApplicationLeadForm/useSaveUserData.d.ts +2 -1
- package/mobile/bundle/components/Header/DropdownMenu.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderQuickActionsMenu.d.ts +1 -1
- package/mobile/bundle/retail/adaptors/getCreditFormTaskData.d.ts +3 -2
- package/mobile/bundle/retail/api/apiBaseUrl.d.ts +2 -1
- package/mobile/bundle/retail/api/checkCaptcha.d.ts +1 -0
- package/mobile/bundle/retail/api/checkCode.d.ts +1 -0
- package/mobile/bundle/retail/api/createDraftTask.d.ts +2 -1
- package/mobile/bundle/retail/api/createParticipant.d.ts +6 -0
- package/mobile/bundle/retail/api/sendMessage.d.ts +7 -0
- package/mobile/bundle/retail/api/updateUserTask.d.ts +14 -8
- package/mobile/bundle/retail/components/ConsentBkiDialog/useConsentBkiDialog.d.ts +9 -1
- package/mobile/bundle/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +2 -1
- package/mobile/bundle/retail/hooks/useRetailFormStore.d.ts +1 -1
- package/mobile/bundle/retail/model/LeadFormState.d.ts +2 -4
- package/mobile/bundle/retail/utils/checkNewMicroservice.d.ts +1 -0
- package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +1 -2
- package/mobile/bundle/ui-kit/SearchDialog/SearchDialog.d.ts +0 -2
- package/mobile/dist/api/apiBaseUrl.d.ts +0 -1
- package/mobile/dist/api/apiBaseUrl.js +1 -2
- package/mobile/dist/api/apiBaseUrl.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +3 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -0
- package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +6 -4
- package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js +35 -24
- package/mobile/dist/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.d.ts +1 -1
- package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.js +13 -11
- package/mobile/dist/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -1
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js +98 -4
- package/mobile/dist/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +3 -1
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js +3 -2
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useLeadFormStore.d.ts +3 -2
- package/mobile/dist/components/ApplicationLeadForm/useLeadFormStore.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useSaveUserData.d.ts +2 -1
- package/mobile/dist/components/ApplicationLeadForm/useSaveUserData.js.map +1 -1
- package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js +16 -2
- package/mobile/dist/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/mobile/dist/components/CreditForm/useCreditFormAPI.js +1 -1
- package/mobile/dist/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/mobile/dist/components/Footer/Footer.js +1 -1
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Header/DropdownMenu.d.ts +2 -2
- package/mobile/dist/components/Header/HeaderQuickActionsMenu.d.ts +1 -1
- package/mobile/dist/components/Header/HeaderQuickActionsMenu.js +5 -7
- package/mobile/dist/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/mobile/dist/retail/adaptors/getCreditFormTaskData.d.ts +3 -2
- package/mobile/dist/retail/adaptors/getCreditFormTaskData.js +36 -25
- package/mobile/dist/retail/adaptors/getCreditFormTaskData.js.map +1 -1
- package/mobile/dist/retail/adaptors/utils.js +1 -1
- package/mobile/dist/retail/adaptors/utils.js.map +1 -1
- package/mobile/dist/retail/api/apiBaseUrl.d.ts +2 -1
- package/mobile/dist/retail/api/apiBaseUrl.js +3 -2
- package/mobile/dist/retail/api/apiBaseUrl.js.map +1 -1
- package/mobile/dist/retail/api/checkCaptcha.d.ts +1 -0
- package/mobile/dist/retail/api/checkCaptcha.js +10 -3
- package/mobile/dist/retail/api/checkCaptcha.js.map +1 -1
- package/mobile/dist/retail/api/checkCode.d.ts +1 -0
- package/mobile/dist/retail/api/checkCode.js +9 -1
- package/mobile/dist/retail/api/checkCode.js.map +1 -1
- package/mobile/dist/retail/api/createCaptcha.js +5 -1
- package/mobile/dist/retail/api/createCaptcha.js.map +1 -1
- package/mobile/dist/retail/api/createDraftTask.d.ts +2 -1
- package/mobile/dist/retail/api/createDraftTask.js.map +1 -1
- package/mobile/dist/retail/api/createParticipant.d.ts +6 -0
- package/mobile/dist/retail/api/createParticipant.js +6 -0
- package/mobile/dist/retail/api/createParticipant.js.map +1 -0
- package/mobile/dist/retail/api/doRequest.js +4 -2
- package/mobile/dist/retail/api/doRequest.js.map +1 -1
- package/mobile/dist/retail/api/esiaRequestProfile.js +11 -7
- package/mobile/dist/retail/api/esiaRequestProfile.js.map +1 -1
- package/mobile/dist/retail/api/getDictionaries.js +3 -1
- package/mobile/dist/retail/api/getDictionaries.js.map +1 -1
- package/mobile/dist/retail/api/getLink.js +5 -1
- package/mobile/dist/retail/api/getLink.js.map +1 -1
- package/mobile/dist/retail/api/sendCode.js +8 -1
- package/mobile/dist/retail/api/sendCode.js.map +1 -1
- package/mobile/dist/retail/api/sendMessage.d.ts +7 -0
- package/mobile/dist/retail/api/sendMessage.js +8 -0
- package/mobile/dist/retail/api/sendMessage.js.map +1 -0
- package/mobile/dist/retail/api/updateUserTask.d.ts +14 -8
- package/mobile/dist/retail/api/updateUserTask.js.map +1 -1
- package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/mobile/dist/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/mobile/dist/retail/components/ConsentBkiDialog/useConsentBkiDialog.d.ts +9 -1
- package/mobile/dist/retail/components/ConsentBkiDialog/useConsentBkiDialog.js +28 -4
- package/mobile/dist/retail/components/ConsentBkiDialog/useConsentBkiDialog.js.map +1 -1
- package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -1
- package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +2 -1
- package/mobile/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js +2 -1
- package/mobile/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js.map +1 -1
- package/mobile/dist/retail/hooks/useLeadFormData.js +3 -1
- package/mobile/dist/retail/hooks/useLeadFormData.js.map +1 -1
- package/mobile/dist/retail/hooks/useRetailFormStore.d.ts +1 -1
- package/mobile/dist/retail/model/LeadFormState.d.ts +2 -4
- package/mobile/dist/retail/utils/checkNewMicroservice.d.ts +1 -0
- package/mobile/dist/retail/utils/checkNewMicroservice.js +8 -0
- package/mobile/dist/retail/utils/checkNewMicroservice.js.map +1 -0
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +1 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.d.ts +0 -2
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js +2 -2
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/dist/ui-kit/YandexMap/useYandexMaps.js +1 -2
- package/mobile/dist/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/mobile/dist/wlc.json +1 -2
- package/mobile/lib/api/apiBaseUrl.d.ts +0 -1
- package/mobile/lib/api/apiBaseUrl.js +0 -1
- package/mobile/lib/api/apiBaseUrl.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +3 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +2 -0
- package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.d.ts +6 -4
- package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js +33 -23
- package/mobile/lib/components/ApplicationLeadForm/getLeadFormTaskData.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.d.ts +1 -1
- package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.js +13 -11
- package/mobile/lib/components/ApplicationLeadForm/parseEsiaProfile.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.d.ts +2 -1
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js +98 -4
- package/mobile/lib/components/ApplicationLeadForm/useApplicationLeadApi.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +3 -1
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js +3 -2
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useLeadFormStore.d.ts +3 -2
- package/mobile/lib/components/ApplicationLeadForm/useLeadFormStore.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useSaveUserData.d.ts +2 -1
- package/mobile/lib/components/ApplicationLeadForm/useSaveUserData.js.map +1 -1
- package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js +16 -2
- package/mobile/lib/components/CreditForm/CreditFormStatusTracker.js.map +1 -1
- package/mobile/lib/components/CreditForm/useCreditFormAPI.js +1 -1
- package/mobile/lib/components/CreditForm/useCreditFormAPI.js.map +1 -1
- package/mobile/lib/components/Footer/Footer.js +1 -1
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Header/DropdownMenu.d.ts +2 -2
- package/mobile/lib/components/Header/HeaderQuickActionsMenu.d.ts +1 -1
- package/mobile/lib/components/Header/HeaderQuickActionsMenu.js +5 -7
- package/mobile/lib/components/Header/HeaderQuickActionsMenu.js.map +1 -1
- package/mobile/lib/retail/adaptors/getCreditFormTaskData.d.ts +3 -2
- package/mobile/lib/retail/adaptors/getCreditFormTaskData.js +36 -25
- package/mobile/lib/retail/adaptors/getCreditFormTaskData.js.map +1 -1
- package/mobile/lib/retail/adaptors/utils.js +1 -1
- package/mobile/lib/retail/adaptors/utils.js.map +1 -1
- package/mobile/lib/retail/api/apiBaseUrl.d.ts +2 -1
- package/mobile/lib/retail/api/apiBaseUrl.js +2 -1
- package/mobile/lib/retail/api/apiBaseUrl.js.map +1 -1
- package/mobile/lib/retail/api/checkCaptcha.d.ts +1 -0
- package/mobile/lib/retail/api/checkCaptcha.js +10 -3
- package/mobile/lib/retail/api/checkCaptcha.js.map +1 -1
- package/mobile/lib/retail/api/checkCode.d.ts +1 -0
- package/mobile/lib/retail/api/checkCode.js +9 -1
- package/mobile/lib/retail/api/checkCode.js.map +1 -1
- package/mobile/lib/retail/api/createCaptcha.js +5 -1
- package/mobile/lib/retail/api/createCaptcha.js.map +1 -1
- package/mobile/lib/retail/api/createDraftTask.d.ts +2 -1
- package/mobile/lib/retail/api/createDraftTask.js.map +1 -1
- package/mobile/lib/retail/api/createParticipant.d.ts +6 -0
- package/mobile/lib/retail/api/createParticipant.js +3 -0
- package/mobile/lib/retail/api/createParticipant.js.map +1 -0
- package/mobile/lib/retail/api/doRequest.js +4 -2
- package/mobile/lib/retail/api/doRequest.js.map +1 -1
- package/mobile/lib/retail/api/esiaRequestProfile.js +11 -7
- package/mobile/lib/retail/api/esiaRequestProfile.js.map +1 -1
- package/mobile/lib/retail/api/getDictionaries.js +3 -1
- package/mobile/lib/retail/api/getDictionaries.js.map +1 -1
- package/mobile/lib/retail/api/getLink.js +5 -1
- package/mobile/lib/retail/api/getLink.js.map +1 -1
- package/mobile/lib/retail/api/sendCode.js +8 -1
- package/mobile/lib/retail/api/sendCode.js.map +1 -1
- package/mobile/lib/retail/api/sendMessage.d.ts +7 -0
- package/mobile/lib/retail/api/sendMessage.js +5 -0
- package/mobile/lib/retail/api/sendMessage.js.map +1 -0
- package/mobile/lib/retail/api/updateUserTask.d.ts +14 -8
- package/mobile/lib/retail/api/updateUserTask.js.map +1 -1
- package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js +1 -1
- package/mobile/lib/retail/components/CaptchaDialog/CaptchaDialog.js.map +1 -1
- package/mobile/lib/retail/components/ConsentBkiDialog/useConsentBkiDialog.d.ts +9 -1
- package/mobile/lib/retail/components/ConsentBkiDialog/useConsentBkiDialog.js +28 -4
- package/mobile/lib/retail/components/ConsentBkiDialog/useConsentBkiDialog.js.map +1 -1
- package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +2 -1
- package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
- package/mobile/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +2 -1
- package/mobile/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js +2 -1
- package/mobile/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js.map +1 -1
- package/mobile/lib/retail/hooks/useLeadFormData.js +4 -2
- package/mobile/lib/retail/hooks/useLeadFormData.js.map +1 -1
- package/mobile/lib/retail/hooks/useRetailFormStore.d.ts +1 -1
- package/mobile/lib/retail/model/LeadFormState.d.ts +2 -4
- package/mobile/lib/retail/utils/checkNewMicroservice.d.ts +1 -0
- package/mobile/lib/retail/utils/checkNewMicroservice.js +5 -0
- package/mobile/lib/retail/utils/checkNewMicroservice.js.map +1 -0
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +1 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.d.ts +0 -2
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js +2 -2
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/lib/ui-kit/YandexMap/useYandexMaps.js +1 -2
- package/mobile/lib/ui-kit/YandexMap/useYandexMaps.js.map +1 -1
- package/mobile/lib/wlc.json +1 -2
- package/mobile/src/api/apiBaseUrl.ts +0 -1
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +3 -0
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +2 -0
- package/mobile/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +50 -24
- package/mobile/src/components/ApplicationLeadForm/parseEsiaProfile.ts +17 -11
- package/mobile/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +129 -3
- package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +9 -1
- package/mobile/src/components/ApplicationLeadForm/useLeadFormStore.ts +2 -1
- package/mobile/src/components/ApplicationLeadForm/useSaveUserData.ts +2 -1
- package/mobile/src/components/CreditForm/CreditFormStatusTracker.tsx +16 -2
- package/mobile/src/components/CreditForm/useCreditFormAPI.tsx +1 -1
- package/mobile/src/components/Footer/Footer.tsx +3 -5
- package/mobile/src/components/Header/DropdownMenu.tsx +2 -2
- package/mobile/src/components/Header/HeaderQuickActionsMenu.tsx +7 -9
- package/mobile/src/retail/adaptors/getCreditFormTaskData.ts +42 -28
- package/mobile/src/retail/adaptors/utils.ts +1 -1
- package/mobile/src/retail/api/apiBaseUrl.ts +2 -1
- package/mobile/src/retail/api/checkCaptcha.ts +10 -2
- package/mobile/src/retail/api/checkCode.ts +11 -2
- package/mobile/src/retail/api/createCaptcha.ts +11 -4
- package/mobile/src/retail/api/createDraftTask.ts +2 -1
- package/mobile/src/retail/api/createParticipant.ts +17 -0
- package/mobile/src/retail/api/doRequest.ts +17 -12
- package/mobile/src/retail/api/esiaRequestProfile.ts +10 -2
- package/mobile/src/retail/api/getDictionaries.ts +6 -1
- package/mobile/src/retail/api/getLink.ts +10 -2
- package/mobile/src/retail/api/sendCode.ts +9 -1
- package/mobile/src/retail/api/sendMessage.ts +12 -0
- package/mobile/src/retail/api/updateUserTask.ts +14 -9
- package/mobile/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +1 -1
- package/mobile/src/retail/components/ConsentBkiDialog/useConsentBkiDialog.tsx +54 -21
- package/mobile/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +2 -1
- package/mobile/src/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.tsx +3 -0
- package/mobile/src/retail/hooks/useLeadFormData.ts +7 -2
- package/mobile/src/retail/model/LeadFormState.ts +2 -4
- package/mobile/src/retail/utils/checkNewMicroservice.ts +5 -0
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +1 -3
- package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +28 -39
- package/mobile/src/ui-kit/YandexMap/useYandexMaps.ts +1 -4
- package/mobile/src/wlc.json +2 -2
- package/package.json +1 -1
- package/src/api/apiBaseUrl.ts +0 -1
- package/src/components/ApplicationLeadForm/ApplicationLeadForm.fixture.tsx +15 -0
- package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +3 -0
- package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +2 -0
- package/src/components/ApplicationLeadForm/getLeadFormTaskData.ts +50 -24
- package/src/components/ApplicationLeadForm/parseEsiaProfile.ts +17 -11
- package/src/components/ApplicationLeadForm/useApplicationLeadApi.tsx +129 -3
- package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +9 -1
- package/src/components/ApplicationLeadForm/useLeadFormStore.ts +2 -1
- package/src/components/ApplicationLeadForm/useSaveUserData.ts +2 -1
- package/src/components/CreditForm/CreditForm.fixture.tsx +12 -18
- package/src/components/CreditForm/CreditFormStatusTracker.tsx +16 -2
- package/src/components/CreditForm/useCreditFormAPI.tsx +1 -1
- package/src/components/Footer/Footer.tsx +3 -5
- package/src/components/Footer/renderLogoSearchBar.tsx +2 -7
- package/src/components/Header/DropdownMenu.tsx +2 -2
- package/src/components/Header/HeaderQuickActionsMenu.tsx +7 -9
- package/src/retail/adaptors/getCreditFormTaskData.ts +42 -28
- package/src/retail/adaptors/utils.ts +1 -1
- package/src/retail/api/apiBaseUrl.ts +2 -1
- package/src/retail/api/checkCaptcha.ts +10 -2
- package/src/retail/api/checkCode.ts +11 -2
- package/src/retail/api/createCaptcha.ts +11 -4
- package/src/retail/api/createDraftTask.ts +2 -1
- package/src/retail/api/createParticipant.ts +17 -0
- package/src/retail/api/doRequest.ts +17 -12
- package/src/retail/api/esiaRequestProfile.ts +10 -2
- package/src/retail/api/getDictionaries.ts +6 -1
- package/src/retail/api/getLink.ts +10 -2
- package/src/retail/api/sendCode.ts +9 -1
- package/src/retail/api/sendMessage.ts +12 -0
- package/src/retail/api/updateUserTask.ts +14 -9
- package/src/retail/components/CaptchaDialog/CaptchaDialog.tsx +1 -1
- package/src/retail/components/ConsentBkiDialog/useConsentBkiDialog.tsx +54 -21
- package/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +2 -1
- package/src/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.tsx +3 -0
- package/src/retail/hooks/useLeadFormData.ts +7 -2
- package/src/retail/model/LeadFormState.ts +2 -4
- package/src/retail/utils/checkNewMicroservice.ts +5 -0
- package/src/ui-kit/SearchBar/SearchBar.tsx +1 -3
- package/src/ui-kit/SearchDialog/SearchDialog.tsx +28 -39
- package/src/ui-kit/YandexMap/useYandexMaps.ts +1 -4
- package/src/wlc.json +2 -2
- package/bundle/components/ApplicationLeadForm/renderAgreementSubmit.d.ts +0 -8
- package/dist/components/ApplicationLeadForm/renderAgreementSubmit.d.ts +0 -8
- package/dist/components/ApplicationLeadForm/renderAgreementSubmit.js +0 -14
- package/dist/components/ApplicationLeadForm/renderAgreementSubmit.js.map +0 -1
- package/lib/components/ApplicationLeadForm/renderAgreementSubmit.d.ts +0 -8
- package/lib/components/ApplicationLeadForm/renderAgreementSubmit.js +0 -11
- package/lib/components/ApplicationLeadForm/renderAgreementSubmit.js.map +0 -1
- package/mobile/bundle/components/ApplicationLeadForm/renderAgreementSubmit.d.ts +0 -8
- package/mobile/dist/components/ApplicationLeadForm/renderAgreementSubmit.d.ts +0 -8
- package/mobile/dist/components/ApplicationLeadForm/renderAgreementSubmit.js +0 -14
- package/mobile/dist/components/ApplicationLeadForm/renderAgreementSubmit.js.map +0 -1
- package/mobile/lib/components/ApplicationLeadForm/renderAgreementSubmit.d.ts +0 -8
- package/mobile/lib/components/ApplicationLeadForm/renderAgreementSubmit.js +0 -11
- package/mobile/lib/components/ApplicationLeadForm/renderAgreementSubmit.js.map +0 -1
- package/mobile/src/components/ApplicationLeadForm/renderAgreementSubmit.tsx +0 -32
- package/src/components/ApplicationLeadForm/renderAgreementSubmit.tsx +0 -32
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
2
|
import { useMemo } from '@redneckz/uni-jsx/lib/hooks';
|
|
3
|
-
import type { SearchHeaderProps } from '../../data/CommonData';
|
|
4
3
|
import { type TopMenuItemProps } from '../../data/NavigationData';
|
|
5
4
|
import { env } from '../../Env';
|
|
6
5
|
import { type LinkProps } from '../../model/LinkProps';
|
|
@@ -16,48 +15,38 @@ import { SearchInput } from './SearchInput';
|
|
|
16
15
|
export interface SearchDialogProps extends OnCloseProps {
|
|
17
16
|
initialQuery?: string;
|
|
18
17
|
navigationItems?: TopMenuItemProps[];
|
|
19
|
-
search?: SearchHeaderProps;
|
|
20
18
|
}
|
|
21
19
|
|
|
22
20
|
const IS_SINGLE_SEARCH_INDEX = Boolean(env.SINGLE_SEARCH_INDEX);
|
|
23
21
|
|
|
24
|
-
export const SearchDialog = JSX<SearchDialogProps>(
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/>
|
|
53
|
-
}
|
|
54
|
-
onClose={onClose}
|
|
55
|
-
>
|
|
56
|
-
<Sitemap navigationItems={searchItems} isSearchPanel={true} />
|
|
57
|
-
</Dialog>
|
|
58
|
-
);
|
|
59
|
-
},
|
|
60
|
-
);
|
|
22
|
+
export const SearchDialog = JSX<SearchDialogProps>(({ initialQuery, navigationItems, onClose }) => {
|
|
23
|
+
const basePath = getBasePath(env.SITE_URL);
|
|
24
|
+
|
|
25
|
+
const basePathList = useMemo(
|
|
26
|
+
() => (IS_SINGLE_SEARCH_INDEX ? [basePath] : navigationItems?.map((_) => _.href || '/')),
|
|
27
|
+
[navigationItems],
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
const [searchResult, searchInputProps] = useSearch({
|
|
31
|
+
basePathList,
|
|
32
|
+
initialQuery,
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
const searchItems = useMemo(
|
|
36
|
+
() => combineTopItemsAndSearchResult(navigationItems)(searchResult),
|
|
37
|
+
[navigationItems, searchResult],
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
return (
|
|
41
|
+
<Dialog
|
|
42
|
+
maxWidth="none"
|
|
43
|
+
head={<SearchInput className="mt-s" autoFocus={true} {...searchInputProps} />}
|
|
44
|
+
onClose={onClose}
|
|
45
|
+
>
|
|
46
|
+
<Sitemap navigationItems={searchItems} isSearchPanel={true} />
|
|
47
|
+
</Dialog>
|
|
48
|
+
);
|
|
49
|
+
});
|
|
61
50
|
|
|
62
51
|
const combineTopItemsAndSearchResult =
|
|
63
52
|
(topItems: TopMenuItemProps[] | undefined) =>
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import type ymaps from 'yandex-maps';
|
|
2
2
|
import { useExternalNS } from '../../hooks/useExternalNS';
|
|
3
|
-
import { projectSettings } from '../../ProjectSettings';
|
|
4
3
|
|
|
5
4
|
const YMAPS_NAMESPACE = 'ymaps';
|
|
6
5
|
|
|
7
6
|
export const useYandexMaps = () => {
|
|
8
|
-
const url = `https://api-maps.yandex.ru/2.1/?
|
|
9
|
-
projectSettings.YANDEX_MAP_API_KEY || ''
|
|
10
|
-
}&lang=ru_RU`;
|
|
7
|
+
const url = `https://api-maps.yandex.ru/2.1/?lang=ru_RU`;
|
|
11
8
|
|
|
12
9
|
return useExternalNS<typeof ymaps>(YMAPS_NAMESPACE, url, false);
|
|
13
10
|
};
|
package/src/wlc.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type FieldProps } from '../../hooks/useForm/useForm';
|
|
2
|
-
import { type LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import { type SubmitButtonProps } from './ApplicationLeadFormContent';
|
|
4
|
-
export declare const renderAgreementSubmit: ({ consentDataProcessing, link, button, }: {
|
|
5
|
-
consentDataProcessing?: FieldProps<boolean> | undefined;
|
|
6
|
-
link?: LinkProps | undefined;
|
|
7
|
-
button?: SubmitButtonProps | undefined;
|
|
8
|
-
}) => any;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type FieldProps } from '../../hooks/useForm/useForm';
|
|
2
|
-
import { type LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import { type SubmitButtonProps } from './ApplicationLeadFormContent';
|
|
4
|
-
export declare const renderAgreementSubmit: ({ consentDataProcessing, link, button, }: {
|
|
5
|
-
consentDataProcessing?: FieldProps<boolean> | undefined;
|
|
6
|
-
link?: LinkProps | undefined;
|
|
7
|
-
button?: SubmitButtonProps | undefined;
|
|
8
|
-
}) => any;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderAgreementSubmit = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
|
|
5
|
-
const validators_1 = require("../../ui-kit/FormField/validators");
|
|
6
|
-
const renderErrorText_1 = require("../../ui-kit/Input/renderErrorText");
|
|
7
|
-
const withValidator_1 = require("../../validation/withValidator");
|
|
8
|
-
const Footnote_1 = require("./Footnote");
|
|
9
|
-
const renderSubmitButton_1 = require("./renderSubmitButton");
|
|
10
|
-
const renderAgreementSubmit = ({ consentDataProcessing, link, button, }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex col-span-2 gap-xs flex-col w-full items-baseline", children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex gap-3 items-center", children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { ...consentDataProcessing }), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }), consentDataProcessing
|
|
11
|
-
? (0, renderErrorText_1.renderErrorText)((0, withValidator_1.withValidator)(consentDataProcessing, validators_1.agreementValidator).error)
|
|
12
|
-
: null] }), (0, renderSubmitButton_1.renderSubmitButton)(button)] }));
|
|
13
|
-
exports.renderAgreementSubmit = renderAgreementSubmit;
|
|
14
|
-
//# sourceMappingURL=renderAgreementSubmit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderAgreementSubmit.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/renderAgreementSubmit.tsx"],"names":[],"mappings":";;;AAEA,6DAA0D;AAC1D,kEAAuE;AACvE,wEAAqE;AACrE,kEAA+D;AAE/D,yCAAsC;AACtC,6DAA0D;AAEnD,MAAM,qBAAqB,GAAG,CAAC,EACpC,qBAAqB,EACrB,IAAI,EACJ,MAAM,GAKP,EAAE,EAAE,CAAC,CACJ,iCAAK,SAAS,EAAC,uDAAuD,aACpE,4CACE,iCAAK,SAAS,EAAC,yBAAyB,aACtC,uBAAC,mBAAQ,OAAK,qBAAqB,GAAI,EACvC,uBAAC,mBAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,IACpB,EACL,qBAAqB;oBACpB,CAAC,CAAC,IAAA,iCAAe,EAAC,IAAA,6BAAa,EAAC,qBAAqB,EAAE,+BAAkB,CAAC,CAAC,KAAK,CAAC;oBACjF,CAAC,CAAC,IAAI,IACJ,EACL,IAAA,uCAAkB,EAAC,MAAM,CAAC,IACvB,CACP,CAAC;AArBW,QAAA,qBAAqB,yBAqBhC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type FieldProps } from '../../hooks/useForm/useForm';
|
|
2
|
-
import { type LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import { type SubmitButtonProps } from './ApplicationLeadFormContent';
|
|
4
|
-
export declare const renderAgreementSubmit: ({ consentDataProcessing, link, button, }: {
|
|
5
|
-
consentDataProcessing?: FieldProps<boolean> | undefined;
|
|
6
|
-
link?: LinkProps | undefined;
|
|
7
|
-
button?: SubmitButtonProps | undefined;
|
|
8
|
-
}) => any;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox.js';
|
|
3
|
-
import { agreementValidator } from '../../ui-kit/FormField/validators.js';
|
|
4
|
-
import { renderErrorText } from '../../ui-kit/Input/renderErrorText.js';
|
|
5
|
-
import { withValidator } from '../../validation/withValidator.js';
|
|
6
|
-
import { Footnote } from './Footnote.js';
|
|
7
|
-
import { renderSubmitButton } from './renderSubmitButton.js';
|
|
8
|
-
export const renderAgreementSubmit = ({ consentDataProcessing, link, button, }) => (_jsxs("div", { className: "flex col-span-2 gap-xs flex-col w-full items-baseline", children: [_jsxs("div", { children: [_jsxs("div", { className: "flex gap-3 items-center", children: [_jsx(Checkbox, { ...consentDataProcessing }), _jsx(Footnote, { link: link })] }), consentDataProcessing
|
|
9
|
-
? renderErrorText(withValidator(consentDataProcessing, agreementValidator).error)
|
|
10
|
-
: null] }), renderSubmitButton(button)] }));
|
|
11
|
-
//# sourceMappingURL=renderAgreementSubmit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderAgreementSubmit.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/renderAgreementSubmit.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EACpC,qBAAqB,EACrB,IAAI,EACJ,MAAM,GAKP,EAAE,EAAE,CAAC,CACJ,eAAK,SAAS,EAAC,uDAAuD,aACpE,0BACE,eAAK,SAAS,EAAC,yBAAyB,aACtC,KAAC,QAAQ,OAAK,qBAAqB,GAAI,EACvC,KAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,IACpB,EACL,qBAAqB;oBACpB,CAAC,CAAC,eAAe,CAAC,aAAa,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAAC,KAAK,CAAC;oBACjF,CAAC,CAAC,IAAI,IACJ,EACL,kBAAkB,CAAC,MAAM,CAAC,IACvB,CACP,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type FieldProps } from '../../hooks/useForm/useForm';
|
|
2
|
-
import { type LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import { type SubmitButtonProps } from './ApplicationLeadFormContent';
|
|
4
|
-
export declare const renderAgreementSubmit: ({ consentDataProcessing, link, button, }: {
|
|
5
|
-
consentDataProcessing?: FieldProps<boolean> | undefined;
|
|
6
|
-
link?: LinkProps | undefined;
|
|
7
|
-
button?: SubmitButtonProps | undefined;
|
|
8
|
-
}) => any;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type FieldProps } from '../../hooks/useForm/useForm';
|
|
2
|
-
import { type LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import { type SubmitButtonProps } from './ApplicationLeadFormContent';
|
|
4
|
-
export declare const renderAgreementSubmit: ({ consentDataProcessing, link, button, }: {
|
|
5
|
-
consentDataProcessing?: FieldProps<boolean> | undefined;
|
|
6
|
-
link?: LinkProps | undefined;
|
|
7
|
-
button?: SubmitButtonProps | undefined;
|
|
8
|
-
}) => any;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.renderAgreementSubmit = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const Checkbox_1 = require("../../ui-kit/Checkbox/Checkbox");
|
|
5
|
-
const validators_1 = require("../../ui-kit/FormField/validators");
|
|
6
|
-
const renderErrorText_1 = require("../../ui-kit/Input/renderErrorText");
|
|
7
|
-
const withValidator_1 = require("../../validation/withValidator");
|
|
8
|
-
const Footnote_1 = require("./Footnote");
|
|
9
|
-
const renderSubmitButton_1 = require("./renderSubmitButton");
|
|
10
|
-
const renderAgreementSubmit = ({ consentDataProcessing, link, button, }) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex col-span-2 gap-xs flex-col w-full items-baseline", children: [(0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex gap-3 items-center", children: [(0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { ...consentDataProcessing }), (0, jsx_runtime_1.jsx)(Footnote_1.Footnote, { link: link })] }), consentDataProcessing
|
|
11
|
-
? (0, renderErrorText_1.renderErrorText)((0, withValidator_1.withValidator)(consentDataProcessing, validators_1.agreementValidator).error)
|
|
12
|
-
: null] }), (0, renderSubmitButton_1.renderSubmitButton)(button)] }));
|
|
13
|
-
exports.renderAgreementSubmit = renderAgreementSubmit;
|
|
14
|
-
//# sourceMappingURL=renderAgreementSubmit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderAgreementSubmit.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/renderAgreementSubmit.tsx"],"names":[],"mappings":";;;AAEA,6DAA0D;AAC1D,kEAAuE;AACvE,wEAAqE;AACrE,kEAA+D;AAE/D,yCAAsC;AACtC,6DAA0D;AAEnD,MAAM,qBAAqB,GAAG,CAAC,EACpC,qBAAqB,EACrB,IAAI,EACJ,MAAM,GAKP,EAAE,EAAE,CAAC,CACJ,iCAAK,SAAS,EAAC,uDAAuD,aACpE,4CACE,iCAAK,SAAS,EAAC,yBAAyB,aACtC,uBAAC,mBAAQ,OAAK,qBAAqB,GAAI,EACvC,uBAAC,mBAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,IACpB,EACL,qBAAqB;oBACpB,CAAC,CAAC,IAAA,iCAAe,EAAC,IAAA,6BAAa,EAAC,qBAAqB,EAAE,+BAAkB,CAAC,CAAC,KAAK,CAAC;oBACjF,CAAC,CAAC,IAAI,IACJ,EACL,IAAA,uCAAkB,EAAC,MAAM,CAAC,IACvB,CACP,CAAC;AArBW,QAAA,qBAAqB,yBAqBhC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { type FieldProps } from '../../hooks/useForm/useForm';
|
|
2
|
-
import { type LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import { type SubmitButtonProps } from './ApplicationLeadFormContent';
|
|
4
|
-
export declare const renderAgreementSubmit: ({ consentDataProcessing, link, button, }: {
|
|
5
|
-
consentDataProcessing?: FieldProps<boolean> | undefined;
|
|
6
|
-
link?: LinkProps | undefined;
|
|
7
|
-
button?: SubmitButtonProps | undefined;
|
|
8
|
-
}) => any;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox.js';
|
|
3
|
-
import { agreementValidator } from '../../ui-kit/FormField/validators.js';
|
|
4
|
-
import { renderErrorText } from '../../ui-kit/Input/renderErrorText.js';
|
|
5
|
-
import { withValidator } from '../../validation/withValidator.js';
|
|
6
|
-
import { Footnote } from './Footnote.js';
|
|
7
|
-
import { renderSubmitButton } from './renderSubmitButton.js';
|
|
8
|
-
export const renderAgreementSubmit = ({ consentDataProcessing, link, button, }) => (_jsxs("div", { className: "flex col-span-2 gap-xs flex-col w-full items-baseline", children: [_jsxs("div", { children: [_jsxs("div", { className: "flex gap-3 items-center", children: [_jsx(Checkbox, { ...consentDataProcessing }), _jsx(Footnote, { link: link })] }), consentDataProcessing
|
|
9
|
-
? renderErrorText(withValidator(consentDataProcessing, agreementValidator).error)
|
|
10
|
-
: null] }), renderSubmitButton(button)] }));
|
|
11
|
-
//# sourceMappingURL=renderAgreementSubmit.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"renderAgreementSubmit.js","sourceRoot":"","sources":["../../../src/components/ApplicationLeadForm/renderAgreementSubmit.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EACpC,qBAAqB,EACrB,IAAI,EACJ,MAAM,GAKP,EAAE,EAAE,CAAC,CACJ,eAAK,SAAS,EAAC,uDAAuD,aACpE,0BACE,eAAK,SAAS,EAAC,yBAAyB,aACtC,KAAC,QAAQ,OAAK,qBAAqB,GAAI,EACvC,KAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,GAAI,IACpB,EACL,qBAAqB;oBACpB,CAAC,CAAC,eAAe,CAAC,aAAa,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAAC,KAAK,CAAC;oBACjF,CAAC,CAAC,IAAI,IACJ,EACL,kBAAkB,CAAC,MAAM,CAAC,IACvB,CACP,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type FieldProps } from '../../hooks/useForm/useForm';
|
|
2
|
-
import { type LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox';
|
|
4
|
-
import { agreementValidator } from '../../ui-kit/FormField/validators';
|
|
5
|
-
import { renderErrorText } from '../../ui-kit/Input/renderErrorText';
|
|
6
|
-
import { withValidator } from '../../validation/withValidator';
|
|
7
|
-
import { type SubmitButtonProps } from './ApplicationLeadFormContent';
|
|
8
|
-
import { Footnote } from './Footnote';
|
|
9
|
-
import { renderSubmitButton } from './renderSubmitButton';
|
|
10
|
-
|
|
11
|
-
export const renderAgreementSubmit = ({
|
|
12
|
-
consentDataProcessing,
|
|
13
|
-
link,
|
|
14
|
-
button,
|
|
15
|
-
}: {
|
|
16
|
-
consentDataProcessing?: FieldProps<boolean>;
|
|
17
|
-
link?: LinkProps;
|
|
18
|
-
button?: SubmitButtonProps;
|
|
19
|
-
}) => (
|
|
20
|
-
<div className="flex col-span-2 gap-xs flex-col w-full items-baseline">
|
|
21
|
-
<div>
|
|
22
|
-
<div className="flex gap-3 items-center">
|
|
23
|
-
<Checkbox {...consentDataProcessing} />
|
|
24
|
-
<Footnote link={link} />
|
|
25
|
-
</div>
|
|
26
|
-
{consentDataProcessing
|
|
27
|
-
? renderErrorText(withValidator(consentDataProcessing, agreementValidator).error)
|
|
28
|
-
: null}
|
|
29
|
-
</div>
|
|
30
|
-
{renderSubmitButton(button)}
|
|
31
|
-
</div>
|
|
32
|
-
);
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { type FieldProps } from '../../hooks/useForm/useForm';
|
|
2
|
-
import { type LinkProps } from '../../model/LinkProps';
|
|
3
|
-
import { Checkbox } from '../../ui-kit/Checkbox/Checkbox';
|
|
4
|
-
import { agreementValidator } from '../../ui-kit/FormField/validators';
|
|
5
|
-
import { renderErrorText } from '../../ui-kit/Input/renderErrorText';
|
|
6
|
-
import { withValidator } from '../../validation/withValidator';
|
|
7
|
-
import { type SubmitButtonProps } from './ApplicationLeadFormContent';
|
|
8
|
-
import { Footnote } from './Footnote';
|
|
9
|
-
import { renderSubmitButton } from './renderSubmitButton';
|
|
10
|
-
|
|
11
|
-
export const renderAgreementSubmit = ({
|
|
12
|
-
consentDataProcessing,
|
|
13
|
-
link,
|
|
14
|
-
button,
|
|
15
|
-
}: {
|
|
16
|
-
consentDataProcessing?: FieldProps<boolean>;
|
|
17
|
-
link?: LinkProps;
|
|
18
|
-
button?: SubmitButtonProps;
|
|
19
|
-
}) => (
|
|
20
|
-
<div className="flex col-span-2 gap-xs flex-col w-full items-baseline">
|
|
21
|
-
<div>
|
|
22
|
-
<div className="flex gap-3 items-center">
|
|
23
|
-
<Checkbox {...consentDataProcessing} />
|
|
24
|
-
<Footnote link={link} />
|
|
25
|
-
</div>
|
|
26
|
-
{consentDataProcessing
|
|
27
|
-
? renderErrorText(withValidator(consentDataProcessing, agreementValidator).error)
|
|
28
|
-
: null}
|
|
29
|
-
</div>
|
|
30
|
-
{renderSubmitButton(button)}
|
|
31
|
-
</div>
|
|
32
|
-
);
|