@sheerid/jslib 2.300.0 → 2.302.0
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/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +43 -43
- package/chunk/{AddressComponent-DlI35H_a.js → AddressComponent-DMjWstD0.js} +6 -6
- package/chunk/{AddressComponent-DlI35H_a.js.map → AddressComponent-DMjWstD0.js.map} +1 -1
- package/chunk/{AddressComponent-x6BuM8au.js → AddressComponent-HgOPFaTV.js} +6 -6
- package/chunk/{AddressComponent-x6BuM8au.js.map → AddressComponent-HgOPFaTV.js.map} +1 -1
- package/chunk/AnnouncingHeader-CnV2m0Ak.js +4 -4
- package/chunk/AnnouncingHeader-zH7WLU2-.js +4 -4
- package/chunk/{BirthDateComponent-I3fR6ykN.js → BirthDateComponent-DULhhlCB.js} +6 -6
- package/chunk/{BirthDateComponent-Bf_ESBId.js.map → BirthDateComponent-DULhhlCB.js.map} +1 -1
- package/chunk/{BirthDateComponent-Bf_ESBId.js → BirthDateComponent-DiLk0zA1.js} +6 -6
- package/chunk/{BirthDateComponent-I3fR6ykN.js.map → BirthDateComponent-DiLk0zA1.js.map} +1 -1
- package/chunk/{CaptchaComponent-CPy68xDd.js → CaptchaComponent-IPki4JiO.js} +10 -10
- package/chunk/{CaptchaComponent-CPy68xDd.js.map → CaptchaComponent-IPki4JiO.js.map} +1 -1
- package/chunk/{CaptchaComponent-D38WQwmT.js → CaptchaComponent-VO2ah-8j.js} +10 -10
- package/chunk/{CaptchaComponent-D38WQwmT.js.map → CaptchaComponent-VO2ah-8j.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-D9w_5kKC.js → ChangeLocaleComponent-D8jA640h.js} +7 -7
- package/chunk/{ChangeLocaleComponent-CSVg0Nnn.js.map → ChangeLocaleComponent-D8jA640h.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CSVg0Nnn.js → ChangeLocaleComponent-DY3mTZmW.js} +7 -7
- package/chunk/{ChangeLocaleComponent-D9w_5kKC.js.map → ChangeLocaleComponent-DY3mTZmW.js.map} +1 -1
- package/chunk/{City-ClQzhgTi.js → City-CrQskjYm.js} +6 -6
- package/chunk/{City-ClQzhgTi.js.map → City-CrQskjYm.js.map} +1 -1
- package/chunk/{City-CyA91uLw.js → City-N99Ylumw.js} +6 -6
- package/chunk/{City-CyA91uLw.js.map → City-N99Ylumw.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BfS1tezJ.js → CollegeNameComponent-DYL4QpDh.js} +8 -8
- package/chunk/{CollegeNameComponent-BfS1tezJ.js.map → CollegeNameComponent-DYL4QpDh.js.map} +1 -1
- package/chunk/{CollegeNameComponent-fIb0PEkZ.js → CollegeNameComponent-Dfpi_RVo.js} +8 -8
- package/chunk/{CollegeNameComponent-fIb0PEkZ.js.map → CollegeNameComponent-Dfpi_RVo.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BdrpxpHJ.js +4 -4
- package/chunk/CopyToClipboardComponent-Dm3-3x4b.js +4 -4
- package/chunk/{CountryComponentWrapper-DC_jx0yQ.js → CountryComponentWrapper-AZfdcr0e.js} +10 -10
- package/chunk/{CountryComponentWrapper-DC_jx0yQ.js.map → CountryComponentWrapper-AZfdcr0e.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-gz_CoCUW.js → CountryComponentWrapper-DxJLaSii.js} +10 -10
- package/chunk/{CountryComponentWrapper-gz_CoCUW.js.map → CountryComponentWrapper-DxJLaSii.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Dyil9dAb.js → DischargeDateComponent-2zgmUX_G.js} +9 -9
- package/chunk/{DischargeDateComponent-CkQKujQv.js.map → DischargeDateComponent-2zgmUX_G.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CkQKujQv.js → DischargeDateComponent-B1VHZ-mW.js} +9 -9
- package/chunk/{DischargeDateComponent-Dyil9dAb.js.map → DischargeDateComponent-B1VHZ-mW.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-D9nn2MkE.js → DriverLicenseNumberComponent-Cwg2jjXc.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-D9nn2MkE.js.map → DriverLicenseNumberComponent-Cwg2jjXc.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DRG-AC8J.js → DriverLicenseNumberComponent-cXc98oAB.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-DRG-AC8J.js.map → DriverLicenseNumberComponent-cXc98oAB.js.map} +1 -1
- package/chunk/{EmailLoopPending-H8H6yIsz.js → EmailLoopPending-CW0IXYCV.js} +8 -8
- package/chunk/{EmailLoopPending-DYroEaXX.js.map → EmailLoopPending-CW0IXYCV.js.map} +1 -1
- package/chunk/{EmailLoopPending-DYroEaXX.js → EmailLoopPending-Cos-1XuS.js} +8 -8
- package/chunk/{EmailLoopPending-H8H6yIsz.js.map → EmailLoopPending-Cos-1XuS.js.map} +1 -1
- package/chunk/{ExtraMessage-CZH3rwtd.js → ExtraMessage-DjFl8EFt.js} +5 -5
- package/chunk/{ExtraMessage-CCKKmRh-.js.map → ExtraMessage-DjFl8EFt.js.map} +1 -1
- package/chunk/{ExtraMessage-CCKKmRh-.js → ExtraMessage-Ufr6pUdi.js} +5 -5
- package/chunk/{ExtraMessage-CZH3rwtd.js.map → ExtraMessage-Ufr6pUdi.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CtJ-ye0M.js → FirstResponderOrganizationComponent-B2BUcsCS.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-CtJ-ye0M.js.map → FirstResponderOrganizationComponent-B2BUcsCS.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DQYDzThA.js → FirstResponderOrganizationComponent-CaEVgzrw.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-DQYDzThA.js.map → FirstResponderOrganizationComponent-CaEVgzrw.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CR7qimq6.js → FormFieldInputSelect-DmGgd3ys.js} +5 -5
- package/chunk/{FormFieldInputSelect-CR7qimq6.js.map → FormFieldInputSelect-DmGgd3ys.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DxqQuYZ9.js → FormFieldInputSelect-VUOf6ebh.js} +5 -5
- package/chunk/{FormFieldInputSelect-DxqQuYZ9.js.map → FormFieldInputSelect-VUOf6ebh.js.map} +1 -1
- package/chunk/FormFieldLayout-D1tb5nAu.js +4 -4
- package/chunk/FormFieldLayout-Dt_dMiDh.js +4 -4
- package/chunk/FormFieldText-BU2NBm1H.js +4 -4
- package/chunk/FormFieldText-CsFISbyw.js +4 -4
- package/chunk/{FormFieldTypeahead-BesC5zby.js → FormFieldTypeahead-C0AlhMib.js} +10 -10
- package/chunk/{FormFieldTypeahead-BesC5zby.js.map → FormFieldTypeahead-C0AlhMib.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BKrucHBk.js → FormFieldTypeahead-D8bK5U52.js} +10 -10
- package/chunk/{FormFieldTypeahead-BKrucHBk.js.map → FormFieldTypeahead-D8bK5U52.js.map} +1 -1
- package/chunk/{FormFooterComponent-DEps7Imq.js → FormFooterComponent-Bgtt26qj.js} +11 -11
- package/chunk/{FormFooterComponent-DEps7Imq.js.map → FormFooterComponent-Bgtt26qj.js.map} +1 -1
- package/chunk/{FormFooterComponent-BrYSzs1B.js → FormFooterComponent-wJK9dVmZ.js} +11 -11
- package/chunk/{FormFooterComponent-BrYSzs1B.js.map → FormFooterComponent-wJK9dVmZ.js.map} +1 -1
- package/chunk/{FormSelectChoice-C2S8cVWC.js → FormSelectChoice-CBgwNqPf.js} +6 -6
- package/chunk/{FormSelectChoice-BXvuPodN.js.map → FormSelectChoice-CBgwNqPf.js.map} +1 -1
- package/chunk/{FormSelectChoice-BXvuPodN.js → FormSelectChoice-DCHixfLC.js} +6 -6
- package/chunk/{FormSelectChoice-C2S8cVWC.js.map → FormSelectChoice-DCHixfLC.js.map} +1 -1
- package/chunk/InputText-CuBi-ytU.js +4 -4
- package/chunk/InputText-DMztCQmi.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-CueqEFzp.js → LicensedProfessionalOrganizationComponent-CEOF8iiN.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-CueqEFzp.js.map → LicensedProfessionalOrganizationComponent-CEOF8iiN.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-B9yBMLMW.js → LicensedProfessionalOrganizationComponent-DSnF_tTO.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-B9yBMLMW.js.map → LicensedProfessionalOrganizationComponent-DSnF_tTO.js.map} +1 -1
- package/chunk/{LogoComponent-BFselU-U.js → LogoComponent-CkyIDoTb.js} +5 -5
- package/chunk/{LogoComponent-BFselU-U.js.map → LogoComponent-CkyIDoTb.js.map} +1 -1
- package/chunk/{LogoComponent-CrQYqv08.js → LogoComponent-DUBdhQUZ.js} +5 -5
- package/chunk/{LogoComponent-CrQYqv08.js.map → LogoComponent-DUBdhQUZ.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CnNDzm_h.js → LowIncomeOrganizationComponent-ChFAxJfX.js} +9 -9
- package/chunk/{LowIncomeOrganizationComponent-CnNDzm_h.js.map → LowIncomeOrganizationComponent-ChFAxJfX.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BUzo5wLL.js → LowIncomeOrganizationComponent-Cq0AMxkr.js} +9 -9
- package/chunk/{LowIncomeOrganizationComponent-BUzo5wLL.js.map → LowIncomeOrganizationComponent-Cq0AMxkr.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DTFkFHzz.js → MedicalProfessionalOrganizationComponent-BILEi2lj.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-C6416Fsk.js.map → MedicalProfessionalOrganizationComponent-BILEi2lj.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-C6416Fsk.js → MedicalProfessionalOrganizationComponent-Qhnj0S4u.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-DTFkFHzz.js.map → MedicalProfessionalOrganizationComponent-Qhnj0S4u.js.map} +1 -1
- package/chunk/{MemberIdComponent-DQcsjRny.js → MemberIdComponent-D8OxtYrr.js} +6 -6
- package/chunk/{MemberIdComponent-CPDoe1HL.js.map → MemberIdComponent-D8OxtYrr.js.map} +1 -1
- package/chunk/{MemberIdComponent-CPDoe1HL.js → MemberIdComponent-Dm_Hhrqs.js} +6 -6
- package/chunk/{MemberIdComponent-DQcsjRny.js.map → MemberIdComponent-Dm_Hhrqs.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-60ZGDL6P.js → MembershipOrganizationComponent-BiIIsbuh.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-60ZGDL6P.js.map → MembershipOrganizationComponent-BiIIsbuh.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-P_JrQVHd.js → MembershipOrganizationComponent-DW6wZqae.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-P_JrQVHd.js.map → MembershipOrganizationComponent-DW6wZqae.js.map} +1 -1
- package/chunk/{Message-B9El0eKQ.js → Message-BhvG12pX.js} +1896 -1902
- package/chunk/{Message-B9El0eKQ.js.map → Message-BhvG12pX.js.map} +1 -1
- package/chunk/{Message-D-ID3nyt.js → Message-DRlHAfhp.js} +227 -233
- package/chunk/Message-DRlHAfhp.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-CyIbpdpL.js → PersonalInfoStepSubmitButton-BrmnjKyp.js} +8 -8
- package/chunk/{PersonalInfoStepSubmitButton-CyIbpdpL.js.map → PersonalInfoStepSubmitButton-BrmnjKyp.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-DpNy1B1C.js → PersonalInfoStepSubmitButton-EoLwWois.js} +8 -8
- package/chunk/{PersonalInfoStepSubmitButton-DpNy1B1C.js.map → PersonalInfoStepSubmitButton-EoLwWois.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-fphBx-Va.js → PersonalInfoStepWrapper-BR9Bc3NZ.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-fphBx-Va.js.map → PersonalInfoStepWrapper-BR9Bc3NZ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-IoWfgPTg.js → PersonalInfoStepWrapper-CtAV_LI9.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-IoWfgPTg.js.map → PersonalInfoStepWrapper-CtAV_LI9.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BxtOJQ92.js → PostalCodeComponent-8lYcNG8O.js} +6 -6
- package/chunk/{PostalCodeComponent-BxtOJQ92.js.map → PostalCodeComponent-8lYcNG8O.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CBNDz5cX.js → PostalCodeComponent-D6tXYa6C.js} +6 -6
- package/chunk/{PostalCodeComponent-CBNDz5cX.js.map → PostalCodeComponent-D6tXYa6C.js.map} +1 -1
- package/chunk/{SSN-2_hOM_R3.js → SSN-CAWgb0lT.js} +6 -6
- package/chunk/{SSN-2_hOM_R3.js.map → SSN-CAWgb0lT.js.map} +1 -1
- package/chunk/{SSN-Cs3P5A40.js → SSN-CFh1QANN.js} +6 -6
- package/chunk/{SSN-Cs3P5A40.js.map → SSN-CFh1QANN.js.map} +1 -1
- package/chunk/{StateSelectComponent-VTkNvr9b.js → StateSelectComponent-7OKVu9_Q.js} +7 -7
- package/chunk/{StateSelectComponent-VTkNvr9b.js.map → StateSelectComponent-7OKVu9_Q.js.map} +1 -1
- package/chunk/{StateSelectComponent-BL-Ub3W8.js → StateSelectComponent-CBBmFM_i.js} +7 -7
- package/chunk/{StateSelectComponent-BL-Ub3W8.js.map → StateSelectComponent-CBBmFM_i.js.map} +1 -1
- package/chunk/{StatusComponent-CBgImupN.js → StatusComponent-BDzRWlQa.js} +7 -7
- package/chunk/{StatusComponent-CBgImupN.js.map → StatusComponent-BDzRWlQa.js.map} +1 -1
- package/chunk/{StatusComponent-C1rPwGLo.js → StatusComponent-niwGqX_A.js} +7 -7
- package/chunk/{StatusComponent-C1rPwGLo.js.map → StatusComponent-niwGqX_A.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CphLBaA8.js → StepAgePersonalInfo-BF2Et12w.js} +18 -18
- package/chunk/{StepAgePersonalInfo-CphLBaA8.js.map → StepAgePersonalInfo-BF2Et12w.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-NztHW1k6.js → StepAgePersonalInfo-vae6Mbfo.js} +18 -18
- package/chunk/{StepAgePersonalInfo-NztHW1k6.js.map → StepAgePersonalInfo-vae6Mbfo.js.map} +1 -1
- package/chunk/StepCard-DJR-l3sW.js +4 -4
- package/chunk/StepCard-wwTRGIhn.js +4 -4
- package/chunk/{StepCollectIdentifier-g9ryUUeH.js → StepCollectIdentifier-D5QAFiM1.js} +7 -7
- package/chunk/{StepCollectIdentifier-g9ryUUeH.js.map → StepCollectIdentifier-D5QAFiM1.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-B1_ycDfw.js → StepCollectIdentifier-pivAyrci.js} +7 -7
- package/chunk/{StepCollectIdentifier-B1_ycDfw.js.map → StepCollectIdentifier-pivAyrci.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CXNKuaYi.js → StepCollectMilitaryPersonalInfoComponent-COAGVTKO.js} +22 -22
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CXNKuaYi.js.map → StepCollectMilitaryPersonalInfoComponent-COAGVTKO.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DnrIHNFP.js → StepCollectMilitaryPersonalInfoComponent-C_Iw5N2Q.js} +22 -22
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DnrIHNFP.js.map → StepCollectMilitaryPersonalInfoComponent-C_Iw5N2Q.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-BE1_LVLL.js → StepCollectPersonalInfo-DgjQoMzk.js} +32 -32
- package/chunk/{StepCollectPersonalInfo-BE1_LVLL.js.map → StepCollectPersonalInfo-DgjQoMzk.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DqiXiynI.js → StepCollectPersonalInfo-o7Op9y7E.js} +32 -32
- package/chunk/{StepCollectPersonalInfo-DqiXiynI.js.map → StepCollectPersonalInfo-o7Op9y7E.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-VpE4-5vs.js → StepCompleteAuthentication-DOywOfPZ.js} +6 -6
- package/chunk/{StepCompleteAuthentication-BawnNriI.js.map → StepCompleteAuthentication-DOywOfPZ.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BawnNriI.js → StepCompleteAuthentication-DWg90te_.js} +6 -6
- package/chunk/{StepCompleteAuthentication-VpE4-5vs.js.map → StepCompleteAuthentication-DWg90te_.js.map} +1 -1
- package/chunk/{StepConsolation-B-6ugg91.js → StepConsolation-9E8D4OYc.js} +6 -6
- package/chunk/{StepConsolation-5vihi-JE.js.map → StepConsolation-9E8D4OYc.js.map} +1 -1
- package/chunk/{StepConsolation-5vihi-JE.js → StepConsolation-BZBH7C4R.js} +6 -6
- package/chunk/{StepConsolation-B-6ugg91.js.map → StepConsolation-BZBH7C4R.js.map} +1 -1
- package/chunk/{StepDocUpload-kH_2yW4i.js → StepDocUpload-6pfD9E_N.js} +10 -10
- package/chunk/{StepDocUpload-kH_2yW4i.js.map → StepDocUpload-6pfD9E_N.js.map} +1 -1
- package/chunk/{StepDocUpload-Bu25hr7V.js → StepDocUpload-D9nor4JZ.js} +10 -10
- package/chunk/{StepDocUpload-Bu25hr7V.js.map → StepDocUpload-D9nor4JZ.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Er2dJmuT.js → StepDriverLicensePersonalInfoComponent-CXcnpE-O.js} +13 -13
- package/chunk/{StepDriverLicensePersonalInfoComponent-CGa6kAij.js.map → StepDriverLicensePersonalInfoComponent-CXcnpE-O.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CGa6kAij.js → StepDriverLicensePersonalInfoComponent-CbVyiNu6.js} +13 -13
- package/chunk/{StepDriverLicensePersonalInfoComponent-Er2dJmuT.js.map → StepDriverLicensePersonalInfoComponent-CbVyiNu6.js.map} +1 -1
- package/chunk/{StepEmailLoop-CIxOuoP9.js → StepEmailLoop-BpLJAHXf.js} +9 -9
- package/chunk/{StepEmailLoop-CIxOuoP9.js.map → StepEmailLoop-BpLJAHXf.js.map} +1 -1
- package/chunk/{StepEmailLoop-E2eKRjqx.js → StepEmailLoop-dHQ2jwEJ.js} +9 -9
- package/chunk/{StepEmailLoop-E2eKRjqx.js.map → StepEmailLoop-dHQ2jwEJ.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CsH7NDu5.js → StepEmploymentPersonalInfo-B-PVwBxK.js} +18 -18
- package/chunk/{StepEmploymentPersonalInfo-Bu4X5QMt.js.map → StepEmploymentPersonalInfo-B-PVwBxK.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-Bu4X5QMt.js → StepEmploymentPersonalInfo-CPzZ4Dty.js} +18 -18
- package/chunk/{StepEmploymentPersonalInfo-CsH7NDu5.js.map → StepEmploymentPersonalInfo-CPzZ4Dty.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DP243kjs.js → StepFirstResponderPersonalInfo-CX3LjXFF.js} +20 -20
- package/chunk/{StepFirstResponderPersonalInfo-B5XBr0pf.js.map → StepFirstResponderPersonalInfo-CX3LjXFF.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-B5XBr0pf.js → StepFirstResponderPersonalInfo-t14PPnT-.js} +20 -20
- package/chunk/{StepFirstResponderPersonalInfo-DP243kjs.js.map → StepFirstResponderPersonalInfo-t14PPnT-.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D6GrymW_.js → StepGeneralIdentityPersonalInfoComponent-Cs-amRVS.js} +16 -16
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D6GrymW_.js.map → StepGeneralIdentityPersonalInfoComponent-Cs-amRVS.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-QJcCs6V_.js → StepGeneralIdentityPersonalInfoComponent-Dg9n96NK.js} +16 -16
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-QJcCs6V_.js.map → StepGeneralIdentityPersonalInfoComponent-Dg9n96NK.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-zwYuMM7f.js → StepHybridIdentityPersonalInfoComponent-Bk085zqd.js} +17 -17
- package/chunk/{StepHybridIdentityPersonalInfoComponent-oc1_nwDA.js.map → StepHybridIdentityPersonalInfoComponent-Bk085zqd.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-oc1_nwDA.js → StepHybridIdentityPersonalInfoComponent-qWQ95lIP.js} +17 -17
- package/chunk/{StepHybridIdentityPersonalInfoComponent-zwYuMM7f.js.map → StepHybridIdentityPersonalInfoComponent-qWQ95lIP.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-B7WczXPe.js → StepIDCheckLoop-BUTZLH5d.js} +6 -6
- package/chunk/{StepIDCheckLoop-B7WczXPe.js.map → StepIDCheckLoop-BUTZLH5d.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CdhWplrP.js → StepIDCheckLoop-DpUxzbp6.js} +6 -6
- package/chunk/{StepIDCheckLoop-CdhWplrP.js.map → StepIDCheckLoop-DpUxzbp6.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BfeiYCBR.js → StepIDCheckLoopOnfido-BCC746X-.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-_V3Z1idA.js.map → StepIDCheckLoopOnfido-BCC746X-.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-_V3Z1idA.js → StepIDCheckLoopOnfido-CPKnHVjk.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-BfeiYCBR.js.map → StepIDCheckLoopOnfido-CPKnHVjk.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-FOF3-5OW.js → StepIDCheckLoopRegula-D6mlKXMg.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-D2w6IBm-.js.map → StepIDCheckLoopRegula-D6mlKXMg.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D2w6IBm-.js → StepIDCheckLoopRegula-DFcYcndS.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-FOF3-5OW.js.map → StepIDCheckLoopRegula-DFcYcndS.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DYJEn7L_.js → StepLicensedProfessionalPersonalInfo-Dv79I78o.js} +19 -19
- package/chunk/{StepLicensedProfessionalPersonalInfo-DYJEn7L_.js.map → StepLicensedProfessionalPersonalInfo-Dv79I78o.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-fWYZu_jV.js → StepLicensedProfessionalPersonalInfo-ZODr0Sin.js} +19 -19
- package/chunk/{StepLicensedProfessionalPersonalInfo-fWYZu_jV.js.map → StepLicensedProfessionalPersonalInfo-ZODr0Sin.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DxOTvWl7.js → StepLowIncomePersonalInfo-DGEBDGer.js} +23 -23
- package/chunk/{StepLowIncomePersonalInfo-CzNnZ7bw.js.map → StepLowIncomePersonalInfo-DGEBDGer.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CzNnZ7bw.js → StepLowIncomePersonalInfo-DKcOi0Be.js} +23 -23
- package/chunk/{StepLowIncomePersonalInfo-DxOTvWl7.js.map → StepLowIncomePersonalInfo-DKcOi0Be.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BxwC9WRG.js → StepMedicalProfessionalPersonalInfo-BDoPxwbq.js} +20 -20
- package/chunk/{StepMedicalProfessionalPersonalInfo-BxwC9WRG.js.map → StepMedicalProfessionalPersonalInfo-BDoPxwbq.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-ClhrR715.js → StepMedicalProfessionalPersonalInfo-BcKSEPns.js} +20 -20
- package/chunk/{StepMedicalProfessionalPersonalInfo-ClhrR715.js.map → StepMedicalProfessionalPersonalInfo-BcKSEPns.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-C8TLNBRo.js → StepMemberPersonalInfo-DEVs-Z8h.js} +15 -15
- package/chunk/{StepMemberPersonalInfo-C8TLNBRo.js.map → StepMemberPersonalInfo-DEVs-Z8h.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DwnSwugb.js → StepMemberPersonalInfo-DxIUMa40.js} +15 -15
- package/chunk/{StepMemberPersonalInfo-DwnSwugb.js.map → StepMemberPersonalInfo-DxIUMa40.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-raBemDeE.js → StepMoverPersonalInfo-BysYb21u.js} +13 -13
- package/chunk/{StepMoverPersonalInfo-C9nOwwEs.js.map → StepMoverPersonalInfo-BysYb21u.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-C9nOwwEs.js → StepMoverPersonalInfo-C8lwcN46.js} +13 -13
- package/chunk/{StepMoverPersonalInfo-raBemDeE.js.map → StepMoverPersonalInfo-C8lwcN46.js.map} +1 -1
- package/chunk/{StepOverrideComponent-hXEUikIp.js → StepOverrideComponent-DXsbx1Hj.js} +8 -8
- package/chunk/{StepOverrideComponent-CsBoIW58.js.map → StepOverrideComponent-DXsbx1Hj.js.map} +1 -1
- package/chunk/{StepOverrideComponent-CsBoIW58.js → StepOverrideComponent-g7AEzqna.js} +8 -8
- package/chunk/{StepOverrideComponent-hXEUikIp.js.map → StepOverrideComponent-g7AEzqna.js.map} +1 -1
- package/chunk/{StepSMSLoop-DhQDGt-C.js → StepSMSLoop-C7nA_FOu.js} +5 -5
- package/chunk/{StepSMSLoop-DhQDGt-C.js.map → StepSMSLoop-C7nA_FOu.js.map} +1 -1
- package/chunk/{StepSMSLoop-RR4NAEv3.js → StepSMSLoop-DeLEVdEF.js} +5 -5
- package/chunk/{StepSMSLoop-RR4NAEv3.js.map → StepSMSLoop-DeLEVdEF.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-CDmrKavT.js → StepSocialSecurityNumber-M3Y3uz1m.js} +9 -9
- package/chunk/{StepSocialSecurityNumber-CDmrKavT.js.map → StepSocialSecurityNumber-M3Y3uz1m.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-_ZgW1bFX.js → StepSocialSecurityNumber-vJlvhLo0.js} +9 -9
- package/chunk/{StepSocialSecurityNumber-_ZgW1bFX.js.map → StepSocialSecurityNumber-vJlvhLo0.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-C13mW6z9.js +235 -0
- package/chunk/StepStudentPersonalInfo-C13mW6z9.js.map +1 -0
- package/chunk/StepStudentPersonalInfo-Chfj2PZO.js +231 -0
- package/chunk/StepStudentPersonalInfo-Chfj2PZO.js.map +1 -0
- package/chunk/{StepSuccess-DynHfeVg.js → StepSuccess-CC7iPIaH.js} +9 -9
- package/chunk/{StepSuccess-qRfhpHM1.js.map → StepSuccess-CC7iPIaH.js.map} +1 -1
- package/chunk/{StepSuccess-qRfhpHM1.js → StepSuccess-DAZef3AB.js} +9 -9
- package/chunk/{StepSuccess-DynHfeVg.js.map → StepSuccess-DAZef3AB.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DbAoE4kA.js → StepTeacherPersonalInfo-BB08EyDm.js} +16 -16
- package/chunk/{StepTeacherPersonalInfo-BGkefNw4.js.map → StepTeacherPersonalInfo-BB08EyDm.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-BGkefNw4.js → StepTeacherPersonalInfo-C43xnTcR.js} +16 -16
- package/chunk/{StepTeacherPersonalInfo-DbAoE4kA.js.map → StepTeacherPersonalInfo-C43xnTcR.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-Da9QU8fR.js → TeacherSchoolComponent-Bl74DnxI.js} +8 -8
- package/chunk/{TeacherSchoolComponent-Da9QU8fR.js.map → TeacherSchoolComponent-Bl74DnxI.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-Dq-UZXkM.js → TeacherSchoolComponent-f9Sup6bM.js} +8 -8
- package/chunk/{TeacherSchoolComponent-Dq-UZXkM.js.map → TeacherSchoolComponent-f9Sup6bM.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-BbCY31VT.js → TestingRouteOverrides-Bx1n-xCR.js} +5 -5
- package/chunk/{TestingRouteOverrides-BbCY31VT.js.map → TestingRouteOverrides-Bx1n-xCR.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-DEu_4afz.js → TestingRouteOverrides-DHe5BulD.js} +5 -5
- package/chunk/{TestingRouteOverrides-DEu_4afz.js.map → TestingRouteOverrides-DHe5BulD.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/countryUtils-0Vt4Ufed.js +12 -0
- package/chunk/{countryUtils-D50KRNPY.js.map → countryUtils-0Vt4Ufed.js.map} +1 -1
- package/chunk/{countryUtils-DE4eQAAo.js → countryUtils-Bn6PaKqR.js} +5 -5
- package/chunk/{countryUtils-DE4eQAAo.js.map → countryUtils-Bn6PaKqR.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-U13Mcse5.js → downshift.esm-BCAMjZ0g.js} +5 -5
- package/chunk/{downshift.esm-U13Mcse5.js.map → downshift.esm-BCAMjZ0g.js.map} +1 -1
- package/chunk/{downshift.esm-VXeyIisf.js → downshift.esm-DsR2aEqI.js} +103 -103
- package/chunk/{downshift.esm-VXeyIisf.js.map → downshift.esm-DsR2aEqI.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-B034wwK_.js → empties-C5H0EoXJ.js} +5 -5
- package/chunk/empties-C5H0EoXJ.js.map +1 -0
- package/chunk/{empties-lrCPA-9V.js → empties-DaNcqYFb.js} +5 -5
- package/chunk/empties-DaNcqYFb.js.map +1 -0
- package/chunk/en-GB-CNQ8Ww2j.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-DtYEjP2m.js → hooks-B4mmDpuv.js} +324 -324
- package/chunk/hooks-B4mmDpuv.js.map +1 -0
- package/chunk/{hooks-QCx6OZlb.js → hooks-CMAl6OEH.js} +324 -324
- package/chunk/hooks-CMAl6OEH.js.map +1 -0
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/intl-DYOqmiaL.js +4 -4
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-DQO6A867.js +4 -4
- package/chunk/jsx-runtime-DtApx7WX.js +4 -4
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/{mocks-BQNtP7qW.js → mocks-D8UIPfvt.js} +5 -5
- package/chunk/{mocks-BQNtP7qW.js.map → mocks-D8UIPfvt.js.map} +1 -1
- package/chunk/{mocks-DC7WJf5c.js → mocks-denu632X.js} +5 -5
- package/chunk/{mocks-DC7WJf5c.js.map → mocks-denu632X.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/options-DsRV5fwh.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-D_uvjOIR.js → programThemeGetters-BX4evnnI.js} +5 -5
- package/chunk/{programThemeGetters-D_uvjOIR.js.map → programThemeGetters-BX4evnnI.js.map} +1 -1
- package/chunk/{programThemeGetters-DoycjUp1.js → programThemeGetters-DZ0ZFrUM.js} +5 -5
- package/chunk/{programThemeGetters-DoycjUp1.js.map → programThemeGetters-DZ0ZFrUM.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-C-r8qzyD.js → stepComponentHelpers-Bo_ASl0b.js} +6 -6
- package/chunk/{stepComponentHelpers-C-r8qzyD.js.map → stepComponentHelpers-Bo_ASl0b.js.map} +1 -1
- package/chunk/{stepComponentHelpers-CDj3don1.js → stepComponentHelpers-D_F4GOcs.js} +6 -6
- package/chunk/{stepComponentHelpers-CDj3don1.js.map → stepComponentHelpers-D_F4GOcs.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/useCollectFieldsEndpoint-BZIO1IO5.js +67 -0
- package/chunk/useCollectFieldsEndpoint-BZIO1IO5.js.map +1 -0
- package/chunk/useCollectFieldsEndpoint-Br47rbzo.js +63 -0
- package/chunk/useCollectFieldsEndpoint-Br47rbzo.js.map +1 -0
- package/chunk/{useMetrics-DGl7Sxfe.js → useMetrics-CrpCzbvt.js} +5 -5
- package/chunk/{useMetrics-D6LU4c5p.js.map → useMetrics-CrpCzbvt.js.map} +1 -1
- package/chunk/{useMetrics-D6LU4c5p.js → useMetrics-kG8AjSPf.js} +5 -5
- package/chunk/{useMetrics-DGl7Sxfe.js.map → useMetrics-kG8AjSPf.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -3
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +51 -51
- package/sheerid.js.map +1 -1
- package/chunk/Message-D-ID3nyt.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-C1dtOD08.js +0 -213
- package/chunk/StepStudentPersonalInfo-C1dtOD08.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-Cx0tZnpd.js +0 -209
- package/chunk/StepStudentPersonalInfo-Cx0tZnpd.js.map +0 -1
- package/chunk/countryUtils-D50KRNPY.js +0 -12
- package/chunk/empties-B034wwK_.js.map +0 -1
- package/chunk/empties-lrCPA-9V.js.map +0 -1
- package/chunk/hooks-DtYEjP2m.js.map +0 -1
- package/chunk/hooks-QCx6OZlb.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-CpB9ajYT.js +0 -66
- package/chunk/useCollectFieldsEndpoint-CpB9ajYT.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-DgCa9fme.js +0 -62
- package/chunk/useCollectFieldsEndpoint-DgCa9fme.js.map +0 -1
package/chunk/{StepSocialSecurityNumber-CDmrKavT.js.map → StepSocialSecurityNumber-M3Y3uz1m.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepSocialSecurityNumber-
|
|
1
|
+
{"version":3,"file":"StepSocialSecurityNumber-M3Y3uz1m.js","names":[],"sources":["../../src/components/StepSocialSecurityNumber/SsnChoice.tsx","../../src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\n\ntype Props = {\n useSsn: () => void;\n useDocUpload: () => void;\n verificationService: any;\n};\n\nconst Step = ({ useSsn, useDocUpload, verificationService }: Props) => (\n <div id=\"sid-ssn-choice\" className=\"sid-ssn-choice-container sid-l-container sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-ssn-choice-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <div className=\"sid-header__title sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.selectOption\"\n defaultMessage=\"Select an option\"\n tagName=\"h1\"\n />\n </div>\n </div>\n\n <div className=\"sid-ssn-choice__choice1 sid-l-space-top-lg\">\n <button\n type=\"button\"\n onClick={useSsn}\n className=\"sid-btn sid-ssn-choice-one-btn sid-btn--light sid-l-full-width sid-use-ssn\"\n >\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.useSsn\"\n defaultMessage=\"Verify using your social security number\"\n />\n </button>\n </div>\n\n <div className=\"sid-ssn-choice__choice2 sid-l-space-top-md\">\n <button\n type=\"button\"\n onClick={useDocUpload}\n className=\"sid-btn sid-ssn-choice-two-btn sid-btn--light sid-l-full-width sid-use-doc-upload\"\n >\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadDoc\"\n defaultMessage=\"Upload a document\"\n />\n </button>\n </div>\n </div>\n <div className=\"sid-ssn-choice__footer sid-l-space-top-lg\">\n <FormFooter verificationService={verificationService} />\n </div>\n </div>\n);\n\nexport const SsnChoice = Step;\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum, FieldIdEnum } from \"../../lib/types/runtimeTypes\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport { type VerificationService, type SocialSecurityViewModel } from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nimport { SsnChoice } from \"./SsnChoice\";\n\ninterface StepSocialSecurityNumberProps {\n verificationService: VerificationService;\n}\n\nexport const StepSocialSecurityNumber = ({\n verificationService,\n}: StepSocialSecurityNumberProps) => {\n const [showChoice, setShowChoice] = React.useState(true);\n const viewModel = verificationService.viewModel as SocialSecurityViewModel;\n const { fieldValidationErrors } = verificationService;\n const doCancelStep = () =>\n verificationService.submitStep(\n VerificationStepsEnum.cancelSocialSecurityNumber,\n viewModel,\n verificationService.verificationResponse,\n );\n\n const updateSSNViewModel = (key: keyof SocialSecurityViewModel, value: any) => {\n const nextState: SocialSecurityViewModel = produce(\n viewModel,\n (draft: SocialSecurityViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const isSubmittable =\n viewModel.socialSecurityNumber && viewModel.socialSecurityNumber.toString().length === 9;\n\n if (showChoice) {\n return (\n <SsnChoice\n useSsn={() => setShowChoice(false)}\n useDocUpload={doCancelStep}\n verificationService={verificationService}\n />\n );\n }\n\n return (\n <div\n id=\"sid-step-social-security\"\n className=\"sid-social-sercurity-number-container sid-l-container sid-l-horz-center\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-social-security-number-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.title\"\n defaultMessage=\"Enter your social security number\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updateSSNViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-social-security-number-submit sid-submit\">\n <button\n id=\"sid-submit-wrapper__collect-info\"\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.collectSocialSecurityNumber,\n )\n }\n type=\"submit\"\n className={`sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${\n isSubmittable ? \"\" : \"sid-btn--disabled-like\"\n }`}\n aria-label=\"submit\"\n ref={(button) => setRef(\"submitButton\", button)}\n >\n <FormattedHTMLMessage id=\"proceed\" defaultMessage=\"Proceed\" />\n </button>\n </div>\n </div>\n\n <div\n className=\"sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md\"\n role=\"button\"\n tabIndex={0}\n onKeyUp={doCancelStep}\n onClick={doCancelStep}\n >\n <div className=\"sid-social-security-number-upload-instead-text sid-h-link-like\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadInstead\"\n defaultMessage=\"Upload a document instead\"\n />\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n"],"mappings":";;;;;;;;;;;4CA2DA,KAhDA,EAAA,WAAA,iBAAA,6BAAA,iBAAA,GAAA,EAAA,MAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ICYa,KAA4B,EACvC,6BACmC;CACnC,IAAM,CAAC,GAAY,KAAA,EAAuB,SAAS,EAAI,GACjD,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,UACJ,EAAoB,WAClB,EAAsB,4BACtB,GACA,EAAoB,oBACtB,GAEI,KAAsB,GAAoC,MAAe;EAC7E,IAAM,IAAqC,EACzC,IACC,MAAmC;GAClC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IACJ,EAAU,wBAAwB,EAAU,qBAAqB,SAAS,EAAE,WAAW;CAYzF,OAVI,IAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,cAAc,EAAc,EAAK;EACjC,cAAc;EACO;CACtB,CAAA,IAKH,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,MAAC,OAAD;KAAK,WAAU;eAAf;MACE,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAoC,uBAAsB,CAAA;MACvD,CAAA;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD;OAAkB,OAAM;iBACtB,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;QACf,SAAQ;OACT,CAAA;MACe,CAAA;MAElB,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;MAEpE,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,OAAO,EAAU;QACjB,WAAW,MAAkB;SAE3B,AADA,EAAmB,wBAAwB,CAAK,GAChD,EACE,wBACA,GACA,CACF;QACF;QACA,WAAW,CAAC,CAAC,EAAsB,EAAY;QAC/C,aAAY;OACb,CAAA;MACE,CAAA;KACF;;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,UAAD;OACE,IAAG;OACH,eACE,EACE,GACA,GACA,EAAsB,2BACxB;OAEF,MAAK;OACL,WAAW,gFACT,IAAgB,KAAK;OAEvB,cAAW;OACX,MAAM,MAAW,EAAO,gBAAgB,CAAM;iBAE9C,iBAAA,GAAA,EAAA,KAAC,GAAD;QAAsB,IAAG;QAAU,gBAAe;OAAW,CAAA;MACvD,CAAA;KACL,CAAA;IACF,CAAA;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KACE,WAAU;KACV,MAAK;KACL,UAAU;KACV,SAAS;KACT,SAAS;eAET,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACE,CAAA;IACF,CAAA;GACF;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.302.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1792086972223
|
|
5
|
+
* BUILD_DATE: Thu Oct 15 2026 17:56:12 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: b3bf133f0f248c0208a604166d5a7ad4ab45501c
|
|
7
7
|
*/
|
|
8
8
|
import { c as e, kt as t } from "./options-DsRV5fwh.js";
|
|
9
9
|
import { n, s as r, t as i } from "./jsx-runtime-DQO6A867.js";
|
|
10
10
|
import { b as a, t as o } from "./runtimeTypes-B2AGNJMT.js";
|
|
11
|
-
import { t as s } from "./FormFooterComponent-
|
|
11
|
+
import { t as s } from "./FormFooterComponent-wJK9dVmZ.js";
|
|
12
12
|
import { o as c } from "./refs-Mq0rtW9K.js";
|
|
13
|
-
import { t as l } from "./LogoComponent-
|
|
13
|
+
import { t as l } from "./LogoComponent-CkyIDoTb.js";
|
|
14
14
|
import { t as u } from "./AnnouncingHeader-zH7WLU2-.js";
|
|
15
|
-
import { d, l as f } from "./stepComponentHelpers-
|
|
16
|
-
import { t as p } from "./ChangeLocaleComponent-
|
|
17
|
-
import { t as m } from "./SSN-
|
|
15
|
+
import { d, l as f } from "./stepComponentHelpers-D_F4GOcs.js";
|
|
16
|
+
import { t as p } from "./ChangeLocaleComponent-DY3mTZmW.js";
|
|
17
|
+
import { t as m } from "./SSN-CAWgb0lT.js";
|
|
18
18
|
//#region src/components/StepSocialSecurityNumber/SsnChoice.tsx
|
|
19
19
|
var h = /* @__PURE__ */ t(r(), 1), g = i(), _ = ({ useSsn: e, useDocUpload: t, verificationService: r }) => /* @__PURE__ */ (0, g.jsxs)("div", {
|
|
20
20
|
id: "sid-ssn-choice",
|
package/chunk/{StepSocialSecurityNumber-_ZgW1bFX.js.map → StepSocialSecurityNumber-vJlvhLo0.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepSocialSecurityNumber-
|
|
1
|
+
{"version":3,"file":"StepSocialSecurityNumber-vJlvhLo0.js","names":[],"sources":["../../src/components/StepSocialSecurityNumber/SsnChoice.tsx","../../src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\n\ntype Props = {\n useSsn: () => void;\n useDocUpload: () => void;\n verificationService: any;\n};\n\nconst Step = ({ useSsn, useDocUpload, verificationService }: Props) => (\n <div id=\"sid-ssn-choice\" className=\"sid-ssn-choice-container sid-l-container sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-ssn-choice-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <div className=\"sid-header__title sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.selectOption\"\n defaultMessage=\"Select an option\"\n tagName=\"h1\"\n />\n </div>\n </div>\n\n <div className=\"sid-ssn-choice__choice1 sid-l-space-top-lg\">\n <button\n type=\"button\"\n onClick={useSsn}\n className=\"sid-btn sid-ssn-choice-one-btn sid-btn--light sid-l-full-width sid-use-ssn\"\n >\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.useSsn\"\n defaultMessage=\"Verify using your social security number\"\n />\n </button>\n </div>\n\n <div className=\"sid-ssn-choice__choice2 sid-l-space-top-md\">\n <button\n type=\"button\"\n onClick={useDocUpload}\n className=\"sid-btn sid-ssn-choice-two-btn sid-btn--light sid-l-full-width sid-use-doc-upload\"\n >\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadDoc\"\n defaultMessage=\"Upload a document\"\n />\n </button>\n </div>\n </div>\n <div className=\"sid-ssn-choice__footer sid-l-space-top-lg\">\n <FormFooter verificationService={verificationService} />\n </div>\n </div>\n);\n\nexport const SsnChoice = Step;\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum, FieldIdEnum } from \"../../lib/types/runtimeTypes\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport { type VerificationService, type SocialSecurityViewModel } from \"../../lib/types/types\";\nimport {\n submitForm,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nimport { SsnChoice } from \"./SsnChoice\";\n\ninterface StepSocialSecurityNumberProps {\n verificationService: VerificationService;\n}\n\nexport const StepSocialSecurityNumber = ({\n verificationService,\n}: StepSocialSecurityNumberProps) => {\n const [showChoice, setShowChoice] = React.useState(true);\n const viewModel = verificationService.viewModel as SocialSecurityViewModel;\n const { fieldValidationErrors } = verificationService;\n const doCancelStep = () =>\n verificationService.submitStep(\n VerificationStepsEnum.cancelSocialSecurityNumber,\n viewModel,\n verificationService.verificationResponse,\n );\n\n const updateSSNViewModel = (key: keyof SocialSecurityViewModel, value: any) => {\n const nextState: SocialSecurityViewModel = produce(\n viewModel,\n (draft: SocialSecurityViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const isSubmittable =\n viewModel.socialSecurityNumber && viewModel.socialSecurityNumber.toString().length === 9;\n\n if (showChoice) {\n return (\n <SsnChoice\n useSsn={() => setShowChoice(false)}\n useDocUpload={doCancelStep}\n verificationService={verificationService}\n />\n );\n }\n\n return (\n <div\n id=\"sid-step-social-security\"\n className=\"sid-social-sercurity-number-container sid-l-container sid-l-horz-center\"\n >\n <div role=\"main\">\n <div className=\"sid-header\">\n <div className=\"sid-social-security-number-logo-container sid-l-horz-center\">\n <LogoComponent verificationService={verificationService} />\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.title\"\n defaultMessage=\"Enter your social security number\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updateSSNViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className=\"sid-social-security-number-submit sid-submit\">\n <button\n id=\"sid-submit-wrapper__collect-info\"\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.collectSocialSecurityNumber,\n )\n }\n type=\"submit\"\n className={`sid-btn sid-social-security-number-submit-btn sid-btn--dark sid-l-full-width ${\n isSubmittable ? \"\" : \"sid-btn--disabled-like\"\n }`}\n aria-label=\"submit\"\n ref={(button) => setRef(\"submitButton\", button)}\n >\n <FormattedHTMLMessage id=\"proceed\" defaultMessage=\"Proceed\" />\n </button>\n </div>\n </div>\n\n <div\n className=\"sid-form-region sid-social-security-number-upload-instead-btn sid-l-space-top-md\"\n role=\"button\"\n tabIndex={0}\n onKeyUp={doCancelStep}\n onClick={doCancelStep}\n >\n <div className=\"sid-social-security-number-upload-instead-text sid-h-link-like\">\n <FormattedHTMLMessage\n id=\"step.collectSocialSecurityNumber.uploadInstead\"\n defaultMessage=\"Upload a document instead\"\n />\n </div>\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n"],"mappings":";;;;;;;;;;;4CA2DA,KAhDA,EAAA,WAAA,iBAAA,6BAAA,iBAAA,GAAA,EAAA,MAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ICYa,KAA4B,EACvC,6BACmC;CACnC,IAAM,CAAC,GAAY,KAAA,EAAuB,SAAS,EAAI,GACjD,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,UACJ,EAAoB,WAClB,EAAsB,4BACtB,GACA,EAAoB,oBACtB,GAEI,KAAsB,GAAoC,MAAe;EAC7E,IAAM,IAAqC,EACzC,IACC,MAAmC;GAClC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IACJ,EAAU,wBAAwB,EAAU,qBAAqB,SAAS,EAAE,WAAW;CAYzF,OAVI,IAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,cAAc,EAAc,EAAK;EACjC,cAAc;EACO;CACtB,CAAA,IAKH,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,MAAC,OAAD;KAAK,WAAU;eAAf;MACE,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAoC,uBAAsB,CAAA;MACvD,CAAA;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD;OAAkB,OAAM;iBACtB,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;QACf,SAAQ;OACT,CAAA;MACe,CAAA;MAElB,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;MAEpE,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,OAAO,EAAU;QACjB,WAAW,MAAkB;SAE3B,AADA,EAAmB,wBAAwB,CAAK,GAChD,EACE,wBACA,GACA,CACF;QACF;QACA,WAAW,CAAC,CAAC,EAAsB,EAAY;QAC/C,aAAY;OACb,CAAA;MACE,CAAA;KACF;;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,UAAD;OACE,IAAG;OACH,eACE,EACE,GACA,GACA,EAAsB,2BACxB;OAEF,MAAK;OACL,WAAW,gFACT,IAAgB,KAAK;OAEvB,cAAW;OACX,MAAM,MAAW,EAAO,gBAAgB,CAAM;iBAE9C,iBAAA,GAAA,EAAA,KAAC,GAAD;QAAsB,IAAG;QAAU,gBAAe;OAAW,CAAA;MACvD,CAAA;KACL,CAAA;IACF,CAAA;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KACE,WAAU;KACV,MAAK;KACL,UAAU;KACV,SAAS;KACT,SAAS;eAET,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACE,CAAA;IACF,CAAA;GACF;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET"}
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* WARNING: This file is intended to be used within MySheerID.
|
|
4
|
+
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* VERSION: 2.302.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1792086977491
|
|
9
|
+
* BUILD_DATE: Thu Oct 15 2026 17:56:17 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: b3bf133f0f248c0208a604166d5a7ad4ab45501c
|
|
11
|
+
*/
|
|
12
|
+
import { kt as e, p as t, s as n } from "./intl-DYOqmiaL.js";
|
|
13
|
+
import { b as r, p as i } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
|
+
import { n as a, s as o, t as s } from "./jsx-runtime-DtApx7WX.js";
|
|
15
|
+
import { n as c } from "./Message-DRlHAfhp.js";
|
|
16
|
+
import { p as l } from "./FormFooterComponent-Bgtt26qj.js";
|
|
17
|
+
import { t as u } from "./hooks-B4mmDpuv.js";
|
|
18
|
+
import { t as d } from "../_mysheerid-preview.js";
|
|
19
|
+
import { t as f } from "./useCollectFieldsEndpoint-BZIO1IO5.js";
|
|
20
|
+
import { d as p, f as m, r as h, t as g } from "./stepComponentHelpers-Bo_ASl0b.js";
|
|
21
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-IPki4JiO.js";
|
|
22
|
+
import { t as C } from "./FormFieldText-BU2NBm1H.js";
|
|
23
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-EoLwWois.js";
|
|
24
|
+
import { i as E } from "./FormSelectChoice-DCHixfLC.js";
|
|
25
|
+
import { t as D } from "./BirthDateComponent-DULhhlCB.js";
|
|
26
|
+
import { t as O } from "./CountryComponentWrapper-AZfdcr0e.js";
|
|
27
|
+
import { t as k } from "./ExtraMessage-DjFl8EFt.js";
|
|
28
|
+
import { t as A } from "./ChangeLocaleComponent-D8jA640h.js";
|
|
29
|
+
import { t as j } from "./PersonalInfoStepWrapper-BR9Bc3NZ.js";
|
|
30
|
+
import { t as M } from "./CollegeNameComponent-Dfpi_RVo.js";
|
|
31
|
+
import { t as N } from "./StatusComponent-BDzRWlQa.js";
|
|
32
|
+
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
33
|
+
var P = /* @__PURE__ */ e(o(), 1), F = s(), I = ({ value: e, isErrored: t, onChange: n, explanation: r, placeholder: i = "", isRequired: o = !1 }) => {
|
|
34
|
+
let { msg: s } = c(), l = u("include-cvec-field-france-student");
|
|
35
|
+
return g("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, F.jsx)(C, {
|
|
36
|
+
fieldId: "cvecNumber",
|
|
37
|
+
value: e,
|
|
38
|
+
onChange: n,
|
|
39
|
+
placeholder: i || s({ id: "cvecNumber" }),
|
|
40
|
+
label: /* @__PURE__ */ (0, F.jsx)(a, {
|
|
41
|
+
id: "cvecNumber",
|
|
42
|
+
defaultMessage: "CVEC certificate number"
|
|
43
|
+
}),
|
|
44
|
+
errorMessage: t && /* @__PURE__ */ (0, F.jsx)(a, {
|
|
45
|
+
id: "errorId.invalidCvecNumber",
|
|
46
|
+
defaultMessage: "Invalid CVEC certificate number"
|
|
47
|
+
}),
|
|
48
|
+
showPlaceholderAndHideLabel: !!i,
|
|
49
|
+
required: o,
|
|
50
|
+
explanation: r || (l === "labeled-optional" ? /* @__PURE__ */ (0, F.jsx)(a, {
|
|
51
|
+
id: "cvecNumberExplanation",
|
|
52
|
+
defaultMessage: "Optional - Add your CVEC number to increase your chances of being verified instantly."
|
|
53
|
+
}) : /* @__PURE__ */ (0, F.jsx)(a, {
|
|
54
|
+
id: "_EXPERIMENTAL.cvecNumberExplanation",
|
|
55
|
+
defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
|
|
56
|
+
}))
|
|
57
|
+
});
|
|
58
|
+
}, L = (e = []) => e.includes("GRADUATE") && e.some((e) => e !== "GRADUATE"), R = (e = []) => e.includes("GRADUATE") ? "GRADUATE" : e.length ? "STUDENT" : void 0, z = (e, t = []) => e === "GRADUATE" ? ["GRADUATE"] : e === "STUDENT" ? t.filter((e) => e !== "GRADUATE") : [], B = Object.keys(i), V = ({ availableStatuses: e, value: t, onChange: n, isErrored: r, disabled: i = !1 }) => {
|
|
59
|
+
let o = E(B), s = R(t);
|
|
60
|
+
return /* @__PURE__ */ (0, F.jsx)(N, {
|
|
61
|
+
segmentId: "student",
|
|
62
|
+
label: /* @__PURE__ */ (0, F.jsx)(a, {
|
|
63
|
+
id: "graduationStatus",
|
|
64
|
+
defaultMessage: "Graduation Status"
|
|
65
|
+
}),
|
|
66
|
+
value: o.find((e) => e.value === s),
|
|
67
|
+
isErrored: r,
|
|
68
|
+
options: o,
|
|
69
|
+
disabled: i,
|
|
70
|
+
onChange: (t) => n(z(t ? t.value : void 0, e))
|
|
71
|
+
});
|
|
72
|
+
}, H = [], U = ({ verificationService: e }) => {
|
|
73
|
+
let { msg: i } = c(), o = e.viewModel, { fieldValidationErrors: s } = e, C = e.verificationResponse, E = n(), N = u("include-cvec-field-france-student"), B = N !== "control" && N !== "default" && o?.countryChoice?.value === "FR", { availableStatuses: U } = f({
|
|
74
|
+
verificationId: C.verificationId,
|
|
75
|
+
currentStep: C.currentStep,
|
|
76
|
+
viewModel: o,
|
|
77
|
+
dispatchFieldRequirements: !1
|
|
78
|
+
}), W = U ?? C.availableStatuses ?? H, G = L(W);
|
|
79
|
+
P.useEffect(() => {
|
|
80
|
+
let n = (e.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "cvecNumber" && e !== "statuses");
|
|
81
|
+
B || (n = [...n, "cvecNumber"]), G || (n = [...n, "statuses"]);
|
|
82
|
+
let r = G ? z(R(o.statuses), W) : [];
|
|
83
|
+
e.updateViewModel(t(o, (e) => {
|
|
84
|
+
e.fieldsToSkipValidation = n, e.statuses = r;
|
|
85
|
+
}));
|
|
86
|
+
}, [
|
|
87
|
+
B,
|
|
88
|
+
G,
|
|
89
|
+
W
|
|
90
|
+
]);
|
|
91
|
+
let K = l(C), q = (n, r) => {
|
|
92
|
+
let i = t(o, (e) => {
|
|
93
|
+
e[n] = r;
|
|
94
|
+
});
|
|
95
|
+
e.updateViewModel(i);
|
|
96
|
+
}, J = o.localeChoice.value;
|
|
97
|
+
return /* @__PURE__ */ (0, F.jsxs)(j, {
|
|
98
|
+
verificationService: e,
|
|
99
|
+
step: C.currentStep,
|
|
100
|
+
children: [
|
|
101
|
+
/* @__PURE__ */ (0, F.jsx)(d, {
|
|
102
|
+
verificationService: e,
|
|
103
|
+
classNameIdentifier: "student-personal-info"
|
|
104
|
+
}),
|
|
105
|
+
/* @__PURE__ */ (0, F.jsx)(A, { verificationService: e }),
|
|
106
|
+
/* @__PURE__ */ (0, F.jsx)(O, {
|
|
107
|
+
verificationService: e,
|
|
108
|
+
disabled: g("country")?.disabled
|
|
109
|
+
}),
|
|
110
|
+
G && /* @__PURE__ */ (0, F.jsx)(V, {
|
|
111
|
+
availableStatuses: W,
|
|
112
|
+
value: o.statuses ?? [],
|
|
113
|
+
isErrored: !!s.statuses,
|
|
114
|
+
disabled: g("statuses")?.disabled,
|
|
115
|
+
onChange: (t) => {
|
|
116
|
+
q("statuses", t), p("statuses", t[0] ?? "", e);
|
|
117
|
+
}
|
|
118
|
+
}),
|
|
119
|
+
/* @__PURE__ */ (0, F.jsx)(M, {
|
|
120
|
+
value: e.viewModel.organization,
|
|
121
|
+
verificationService: e,
|
|
122
|
+
isErrored: !!s.organization,
|
|
123
|
+
isRequired: !0,
|
|
124
|
+
disabled: g("organization")?.disabled,
|
|
125
|
+
onChange: (t) => {
|
|
126
|
+
m(t, e), p("organization", t, e);
|
|
127
|
+
}
|
|
128
|
+
}),
|
|
129
|
+
B && /* @__PURE__ */ (0, F.jsx)(I, {
|
|
130
|
+
isRequired: g("cvecNumber")?.requireIfOptional,
|
|
131
|
+
value: o.cvecNumber,
|
|
132
|
+
isErrored: !!s.cvecNumber,
|
|
133
|
+
disabled: g("cvecNumber")?.disabled,
|
|
134
|
+
onChange: (t) => {
|
|
135
|
+
q("cvecNumber", t), p("cvecNumber", t, e);
|
|
136
|
+
}
|
|
137
|
+
}),
|
|
138
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
139
|
+
className: "sid-names-explanation sid-l-space-top-md",
|
|
140
|
+
children: /* @__PURE__ */ (0, F.jsx)(a, {
|
|
141
|
+
id: "step.personalInfo.nameInstructions",
|
|
142
|
+
defaultMessage: "Personal or school email is fine"
|
|
143
|
+
})
|
|
144
|
+
}),
|
|
145
|
+
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
146
|
+
className: "sid-names",
|
|
147
|
+
children: [/* @__PURE__ */ (0, F.jsx)(_, {
|
|
148
|
+
value: o.firstName,
|
|
149
|
+
isErrored: !!s.firstName,
|
|
150
|
+
disabled: g("firstName")?.disabled,
|
|
151
|
+
onChange: (t) => {
|
|
152
|
+
q("firstName", t), p("firstName", t, e);
|
|
153
|
+
}
|
|
154
|
+
}), /* @__PURE__ */ (0, F.jsx)(v, {
|
|
155
|
+
value: o.lastName,
|
|
156
|
+
isErrored: !!s.lastName,
|
|
157
|
+
disabled: g("lastName")?.disabled,
|
|
158
|
+
onChange: (t) => {
|
|
159
|
+
q("lastName", t), p("lastName", t, e);
|
|
160
|
+
}
|
|
161
|
+
})]
|
|
162
|
+
}),
|
|
163
|
+
/* @__PURE__ */ (0, F.jsx)(D, {
|
|
164
|
+
value: o.birthDate,
|
|
165
|
+
errorId: s.birthDate,
|
|
166
|
+
locale: J,
|
|
167
|
+
isRequired: !0,
|
|
168
|
+
disabled: g("birthDate")?.disabled,
|
|
169
|
+
onChange: (t) => {
|
|
170
|
+
q("birthDate", t), p("birthDate", t, e);
|
|
171
|
+
}
|
|
172
|
+
}),
|
|
173
|
+
/* @__PURE__ */ (0, F.jsx)(w, {
|
|
174
|
+
value: o.email,
|
|
175
|
+
isErrored: !!s.email,
|
|
176
|
+
explanation: /* @__PURE__ */ (0, F.jsx)(a, {
|
|
177
|
+
id: "emailExplanation",
|
|
178
|
+
defaultMessage: "Personal or school email is fine"
|
|
179
|
+
}),
|
|
180
|
+
onChange: (t) => {
|
|
181
|
+
q("email", t), p("email", t, e);
|
|
182
|
+
},
|
|
183
|
+
onKeyDown: (e) => h(e),
|
|
184
|
+
disabled: g("email")?.disabled
|
|
185
|
+
}),
|
|
186
|
+
e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, F.jsx)(b, {
|
|
187
|
+
isRequired: !!e.programTheme.smsLoopEnabled,
|
|
188
|
+
value: o.phoneNumber,
|
|
189
|
+
isErrored: !!s.phoneNumber,
|
|
190
|
+
disabled: g("phoneNumber")?.disabled,
|
|
191
|
+
onChange: (t) => {
|
|
192
|
+
q("phoneNumber", t), p("phoneNumber", t, e);
|
|
193
|
+
},
|
|
194
|
+
selectedCountryCode: o.countryChoice && o.countryChoice.value
|
|
195
|
+
}) : null,
|
|
196
|
+
(E.customFormFields || []).map((t) => /* @__PURE__ */ (0, F.jsx)(y, {
|
|
197
|
+
config: t,
|
|
198
|
+
verificationService: e
|
|
199
|
+
})),
|
|
200
|
+
" ",
|
|
201
|
+
/* @__PURE__ */ (0, F.jsx)(x, {
|
|
202
|
+
verificationService: e,
|
|
203
|
+
isErrored: !!s.marketConsentValue,
|
|
204
|
+
disabled: g("marketConsentValue")?.disabled,
|
|
205
|
+
onChange: (t) => {
|
|
206
|
+
q("metadata", {
|
|
207
|
+
...e.viewModel.metadata,
|
|
208
|
+
marketConsentValue: t
|
|
209
|
+
}), p("marketConsentValue", t, e);
|
|
210
|
+
},
|
|
211
|
+
viewModel: o
|
|
212
|
+
}),
|
|
213
|
+
/* @__PURE__ */ (0, F.jsx)(k, {
|
|
214
|
+
verificationService: e,
|
|
215
|
+
suffix: "CollectAboveSubmit"
|
|
216
|
+
}),
|
|
217
|
+
/* @__PURE__ */ (0, F.jsx)(S, {
|
|
218
|
+
verificationService: e,
|
|
219
|
+
isErrored: !!s.captchaToken
|
|
220
|
+
}),
|
|
221
|
+
/* @__PURE__ */ (0, F.jsx)(T, {
|
|
222
|
+
step: r.collectStudentPersonalInfo,
|
|
223
|
+
verificationService: e,
|
|
224
|
+
viewModel: o,
|
|
225
|
+
failedInstantMatch: K,
|
|
226
|
+
buttonText: /* @__PURE__ */ (0, F.jsx)(a, {
|
|
227
|
+
id: "step.personalInfo.submitButtonText",
|
|
228
|
+
defaultMessage: "Verify My Student Status"
|
|
229
|
+
})
|
|
230
|
+
})
|
|
231
|
+
]
|
|
232
|
+
});
|
|
233
|
+
};
|
|
234
|
+
//#endregion
|
|
235
|
+
export { U as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepStudentPersonalInfo-C13mW6z9.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/FormFields/GraduationStatus/graduationStatusUtils.ts","../../src/components/FormFields/GraduationStatus/GraduationStatusComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumberComponent = ({\n value,\n isErrored,\n onChange,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n const { msg } = useMessage();\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={placeholder || msg({ id: \"cvecNumber\" })}\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\n","import type { StudentStatus, StudentStatusSelection } from \"@/lib/types/types\";\n\nexport const hasGraduationStatusChoice = (availableStatuses: StudentStatus[] = []): boolean =>\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\nexport const statusesToSelection = (\n statuses: StudentStatus[] = [],\n): StudentStatusSelection | undefined => {\n if (statuses.includes(\"GRADUATE\")) {\n return \"GRADUATE\";\n }\n return statuses.length ? \"STUDENT\" : undefined;\n};\n\nexport const selectionToStatuses = (\n selection: StudentStatusSelection | undefined,\n availableStatuses: StudentStatus[] = [],\n): StudentStatus[] => {\n if (selection === \"GRADUATE\") {\n return [\"GRADUATE\"];\n }\n if (selection === \"STUDENT\") {\n return availableStatuses.filter((s) => s !== \"GRADUATE\");\n }\n return [];\n};\n","import type React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { StudentStatusDefaultMessagesEnum } from \"@/lib/types/runtimeTypes\";\nimport {\n type FormSelectChoice,\n type StudentStatus,\n type StudentStatusSelection,\n} from \"@/lib/types/types\";\n\nimport { useFormSelectChoice } from \"../../FormInputs/InputSelect/InputSelectComponent\";\nimport { StatusComponent as Status } from \"../Status/StatusComponent\";\n\nimport { selectionToStatuses, statusesToSelection } from \"./graduationStatusUtils\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\n\ninterface GraduationStatusProps {\n availableStatuses: StudentStatus[];\n value: StudentStatus[];\n onChange: (statuses: StudentStatus[]) => void;\n isErrored: boolean;\n disabled?: boolean;\n}\n\nexport const GraduationStatusComponent: React.FC<GraduationStatusProps> = ({\n availableStatuses,\n value,\n onChange,\n isErrored,\n disabled = false,\n}) => {\n const options = useFormSelectChoice(STATUS_SELECTIONS);\n\n const selection = statusesToSelection(value);\n\n return (\n <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={options.find((option) => option.value === selection)}\n isErrored={isErrored}\n options={options}\n disabled={disabled}\n onChange={(choice: FormSelectChoice) =>\n onChange(\n selectionToStatuses(\n choice ? (choice.value as StudentStatusSelection) : undefined,\n availableStatuses,\n ),\n )\n }\n />\n );\n};\n","import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n type VerificationService,\n type StudentPersonalInfoViewModel,\n type Organization,\n type StudentPersonalInfoResponse,\n type CustomFormFieldConfig,\n type FieldId,\n type StudentStatus,\n} from \"@/lib/types/types\";\n\nimport { VerificationStepsEnum } from \"@/lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"@/lib/VerificationService/VerificationServiceHelpers\";\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { GraduationStatusComponent as GraduationStatus } from \"../FormFields/GraduationStatus/GraduationStatusComponent\";\nimport {\n hasGraduationStatusChoice,\n selectionToStatuses,\n statusesToSelection,\n} from \"../FormFields/GraduationStatus/graduationStatusUtils\";\n\nconst NO_STATUSES: StudentStatus[] = [];\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepStudentPersonalInfoComponent = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const { msg } = useMessage();\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n // #endregion include-cvec-field-france-student\n\n const { availableStatuses: dynamicStatuses } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n // Only statuses come from the fields endpoint; every other field keeps the step's own validation\n // Cleanup: DATA-5704\n dispatchFieldRequirements: false,\n });\n\n const availableStatuses = (dynamicStatuses ??\n verificationResponse.availableStatuses ??\n NO_STATUSES) as StudentStatus[];\n const showGraduateStatusInput = hasGraduationStatusChoice(availableStatuses);\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"statuses\",\n );\n if (!showCvecInput) {\n // Don't validate CVEC number if country is not France\n skip = [...skip, \"cvecNumber\"];\n }\n if (!showGraduateStatusInput) {\n // Only require a graduation status when the program offers the Student/Graduate choice.\n skip = [...skip, \"statuses\"];\n }\n const statuses = showGraduateStatusInput\n ? selectionToStatuses(statusesToSelection(viewModel.statuses), availableStatuses)\n : [];\n verificationService.updateViewModel(\n produce(viewModel, (draft: StudentPersonalInfoViewModel) => {\n draft.fieldsToSkipValidation = skip;\n draft.statuses = statuses;\n }),\n );\n }, [showCvecInput, showGraduateStatusInput, availableStatuses]);\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {showGraduateStatusInput && (\n <GraduationStatus\n availableStatuses={availableStatuses}\n value={viewModel.statuses ?? []}\n isErrored={!!fieldValidationErrors.statuses}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(statuses: StudentStatus[]) => {\n updateStudentViewModel(\"statuses\", statuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n statuses[0] ?? \"\",\n verificationService,\n );\n }}\n />\n )}\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names-explanation sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.personalInfo.nameInstructions\"\n defaultMessage=\"Personal or school email is fine\"\n />\n </div>\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":"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"}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* VERSION: 2.302.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1792086972223
|
|
5
|
+
* BUILD_DATE: Thu Oct 15 2026 17:56:12 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: b3bf133f0f248c0208a604166d5a7ad4ab45501c
|
|
7
|
+
*/
|
|
8
|
+
import { c as e, kt as t, n } from "./options-DsRV5fwh.js";
|
|
9
|
+
import { n as r, s as i, t as a } from "./jsx-runtime-DQO6A867.js";
|
|
10
|
+
import { n as o } from "./Message-BhvG12pX.js";
|
|
11
|
+
import { b as s, p as c } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
|
+
import { h as l } from "./FormFooterComponent-wJK9dVmZ.js";
|
|
13
|
+
import { t as u } from "./hooks-CMAl6OEH.js";
|
|
14
|
+
import { n as d } from "../sheerid.js";
|
|
15
|
+
import { t as f } from "./useCollectFieldsEndpoint-Br47rbzo.js";
|
|
16
|
+
import { d as p, f as m, r as h, t as g } from "./stepComponentHelpers-D_F4GOcs.js";
|
|
17
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-VO2ah-8j.js";
|
|
18
|
+
import { t as C } from "./FormFieldText-CsFISbyw.js";
|
|
19
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-BrmnjKyp.js";
|
|
20
|
+
import { i as E } from "./FormSelectChoice-CBgwNqPf.js";
|
|
21
|
+
import { t as D } from "./BirthDateComponent-DiLk0zA1.js";
|
|
22
|
+
import { t as O } from "./CountryComponentWrapper-DxJLaSii.js";
|
|
23
|
+
import { t as k } from "./ExtraMessage-Ufr6pUdi.js";
|
|
24
|
+
import { t as A } from "./ChangeLocaleComponent-DY3mTZmW.js";
|
|
25
|
+
import { t as j } from "./PersonalInfoStepWrapper-CtAV_LI9.js";
|
|
26
|
+
import { t as M } from "./CollegeNameComponent-DYL4QpDh.js";
|
|
27
|
+
import { t as N } from "./StatusComponent-niwGqX_A.js";
|
|
28
|
+
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
29
|
+
var P = /* @__PURE__ */ t(i(), 1), F = a(), I = ({ value: e, isErrored: t, onChange: n, explanation: i, placeholder: a = "", isRequired: s = !1 }) => {
|
|
30
|
+
let { msg: c } = o(), l = u("include-cvec-field-france-student");
|
|
31
|
+
return g("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, F.jsx)(C, {
|
|
32
|
+
fieldId: "cvecNumber",
|
|
33
|
+
value: e,
|
|
34
|
+
onChange: n,
|
|
35
|
+
placeholder: a || c({ id: "cvecNumber" }),
|
|
36
|
+
label: /* @__PURE__ */ (0, F.jsx)(r, {
|
|
37
|
+
id: "cvecNumber",
|
|
38
|
+
defaultMessage: "CVEC certificate number"
|
|
39
|
+
}),
|
|
40
|
+
errorMessage: t && /* @__PURE__ */ (0, F.jsx)(r, {
|
|
41
|
+
id: "errorId.invalidCvecNumber",
|
|
42
|
+
defaultMessage: "Invalid CVEC certificate number"
|
|
43
|
+
}),
|
|
44
|
+
showPlaceholderAndHideLabel: !!a,
|
|
45
|
+
required: s,
|
|
46
|
+
explanation: i || (l === "labeled-optional" ? /* @__PURE__ */ (0, F.jsx)(r, {
|
|
47
|
+
id: "cvecNumberExplanation",
|
|
48
|
+
defaultMessage: "Optional - Add your CVEC number to increase your chances of being verified instantly."
|
|
49
|
+
}) : /* @__PURE__ */ (0, F.jsx)(r, {
|
|
50
|
+
id: "_EXPERIMENTAL.cvecNumberExplanation",
|
|
51
|
+
defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
|
|
52
|
+
}))
|
|
53
|
+
});
|
|
54
|
+
}, L = (e = []) => e.includes("GRADUATE") && e.some((e) => e !== "GRADUATE"), R = (e = []) => e.includes("GRADUATE") ? "GRADUATE" : e.length ? "STUDENT" : void 0, z = (e, t = []) => e === "GRADUATE" ? ["GRADUATE"] : e === "STUDENT" ? t.filter((e) => e !== "GRADUATE") : [], B = Object.keys(c), V = ({ availableStatuses: e, value: t, onChange: n, isErrored: i, disabled: a = !1 }) => {
|
|
55
|
+
let o = E(B), s = R(t);
|
|
56
|
+
return /* @__PURE__ */ (0, F.jsx)(N, {
|
|
57
|
+
segmentId: "student",
|
|
58
|
+
label: /* @__PURE__ */ (0, F.jsx)(r, {
|
|
59
|
+
id: "graduationStatus",
|
|
60
|
+
defaultMessage: "Graduation Status"
|
|
61
|
+
}),
|
|
62
|
+
value: o.find((e) => e.value === s),
|
|
63
|
+
isErrored: i,
|
|
64
|
+
options: o,
|
|
65
|
+
disabled: a,
|
|
66
|
+
onChange: (t) => n(z(t ? t.value : void 0, e))
|
|
67
|
+
});
|
|
68
|
+
}, H = [], U = ({ verificationService: t }) => {
|
|
69
|
+
let { msg: i } = o(), a = t.viewModel, { fieldValidationErrors: c } = t, C = t.verificationResponse, E = n(), N = u("include-cvec-field-france-student"), B = N !== "control" && N !== "default" && a?.countryChoice?.value === "FR", { availableStatuses: U } = f({
|
|
70
|
+
verificationId: C.verificationId,
|
|
71
|
+
currentStep: C.currentStep,
|
|
72
|
+
viewModel: a,
|
|
73
|
+
dispatchFieldRequirements: !1
|
|
74
|
+
}), W = U ?? C.availableStatuses ?? H, G = L(W);
|
|
75
|
+
P.useEffect(() => {
|
|
76
|
+
let n = (t.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "cvecNumber" && e !== "statuses");
|
|
77
|
+
B || (n = [...n, "cvecNumber"]), G || (n = [...n, "statuses"]);
|
|
78
|
+
let r = G ? z(R(a.statuses), W) : [];
|
|
79
|
+
t.updateViewModel(e(a, (e) => {
|
|
80
|
+
e.fieldsToSkipValidation = n, e.statuses = r;
|
|
81
|
+
}));
|
|
82
|
+
}, [
|
|
83
|
+
B,
|
|
84
|
+
G,
|
|
85
|
+
W
|
|
86
|
+
]);
|
|
87
|
+
let K = l(C), q = (n, r) => {
|
|
88
|
+
let i = e(a, (e) => {
|
|
89
|
+
e[n] = r;
|
|
90
|
+
});
|
|
91
|
+
t.updateViewModel(i);
|
|
92
|
+
}, J = a.localeChoice.value;
|
|
93
|
+
return /* @__PURE__ */ (0, F.jsxs)(j, {
|
|
94
|
+
verificationService: t,
|
|
95
|
+
step: C.currentStep,
|
|
96
|
+
children: [
|
|
97
|
+
/* @__PURE__ */ (0, F.jsx)(d, {
|
|
98
|
+
verificationService: t,
|
|
99
|
+
classNameIdentifier: "student-personal-info"
|
|
100
|
+
}),
|
|
101
|
+
/* @__PURE__ */ (0, F.jsx)(A, { verificationService: t }),
|
|
102
|
+
/* @__PURE__ */ (0, F.jsx)(O, {
|
|
103
|
+
verificationService: t,
|
|
104
|
+
disabled: g("country")?.disabled
|
|
105
|
+
}),
|
|
106
|
+
G && /* @__PURE__ */ (0, F.jsx)(V, {
|
|
107
|
+
availableStatuses: W,
|
|
108
|
+
value: a.statuses ?? [],
|
|
109
|
+
isErrored: !!c.statuses,
|
|
110
|
+
disabled: g("statuses")?.disabled,
|
|
111
|
+
onChange: (e) => {
|
|
112
|
+
q("statuses", e), p("statuses", e[0] ?? "", t);
|
|
113
|
+
}
|
|
114
|
+
}),
|
|
115
|
+
/* @__PURE__ */ (0, F.jsx)(M, {
|
|
116
|
+
value: t.viewModel.organization,
|
|
117
|
+
verificationService: t,
|
|
118
|
+
isErrored: !!c.organization,
|
|
119
|
+
isRequired: !0,
|
|
120
|
+
disabled: g("organization")?.disabled,
|
|
121
|
+
onChange: (e) => {
|
|
122
|
+
m(e, t), p("organization", e, t);
|
|
123
|
+
}
|
|
124
|
+
}),
|
|
125
|
+
B && /* @__PURE__ */ (0, F.jsx)(I, {
|
|
126
|
+
isRequired: g("cvecNumber")?.requireIfOptional,
|
|
127
|
+
value: a.cvecNumber,
|
|
128
|
+
isErrored: !!c.cvecNumber,
|
|
129
|
+
disabled: g("cvecNumber")?.disabled,
|
|
130
|
+
onChange: (e) => {
|
|
131
|
+
q("cvecNumber", e), p("cvecNumber", e, t);
|
|
132
|
+
}
|
|
133
|
+
}),
|
|
134
|
+
/* @__PURE__ */ (0, F.jsx)("div", {
|
|
135
|
+
className: "sid-names-explanation sid-l-space-top-md",
|
|
136
|
+
children: /* @__PURE__ */ (0, F.jsx)(r, {
|
|
137
|
+
id: "step.personalInfo.nameInstructions",
|
|
138
|
+
defaultMessage: "Personal or school email is fine"
|
|
139
|
+
})
|
|
140
|
+
}),
|
|
141
|
+
/* @__PURE__ */ (0, F.jsxs)("div", {
|
|
142
|
+
className: "sid-names",
|
|
143
|
+
children: [/* @__PURE__ */ (0, F.jsx)(_, {
|
|
144
|
+
value: a.firstName,
|
|
145
|
+
isErrored: !!c.firstName,
|
|
146
|
+
disabled: g("firstName")?.disabled,
|
|
147
|
+
onChange: (e) => {
|
|
148
|
+
q("firstName", e), p("firstName", e, t);
|
|
149
|
+
}
|
|
150
|
+
}), /* @__PURE__ */ (0, F.jsx)(v, {
|
|
151
|
+
value: a.lastName,
|
|
152
|
+
isErrored: !!c.lastName,
|
|
153
|
+
disabled: g("lastName")?.disabled,
|
|
154
|
+
onChange: (e) => {
|
|
155
|
+
q("lastName", e), p("lastName", e, t);
|
|
156
|
+
}
|
|
157
|
+
})]
|
|
158
|
+
}),
|
|
159
|
+
/* @__PURE__ */ (0, F.jsx)(D, {
|
|
160
|
+
value: a.birthDate,
|
|
161
|
+
errorId: c.birthDate,
|
|
162
|
+
locale: J,
|
|
163
|
+
isRequired: !0,
|
|
164
|
+
disabled: g("birthDate")?.disabled,
|
|
165
|
+
onChange: (e) => {
|
|
166
|
+
q("birthDate", e), p("birthDate", e, t);
|
|
167
|
+
}
|
|
168
|
+
}),
|
|
169
|
+
/* @__PURE__ */ (0, F.jsx)(w, {
|
|
170
|
+
value: a.email,
|
|
171
|
+
isErrored: !!c.email,
|
|
172
|
+
explanation: /* @__PURE__ */ (0, F.jsx)(r, {
|
|
173
|
+
id: "emailExplanation",
|
|
174
|
+
defaultMessage: "Personal or school email is fine"
|
|
175
|
+
}),
|
|
176
|
+
onChange: (e) => {
|
|
177
|
+
q("email", e), p("email", e, t);
|
|
178
|
+
},
|
|
179
|
+
onKeyDown: (e) => h(e),
|
|
180
|
+
disabled: g("email")?.disabled
|
|
181
|
+
}),
|
|
182
|
+
t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, F.jsx)(b, {
|
|
183
|
+
isRequired: !!t.programTheme.smsLoopEnabled,
|
|
184
|
+
value: a.phoneNumber,
|
|
185
|
+
isErrored: !!c.phoneNumber,
|
|
186
|
+
disabled: g("phoneNumber")?.disabled,
|
|
187
|
+
onChange: (e) => {
|
|
188
|
+
q("phoneNumber", e), p("phoneNumber", e, t);
|
|
189
|
+
},
|
|
190
|
+
selectedCountryCode: a.countryChoice && a.countryChoice.value
|
|
191
|
+
}) : null,
|
|
192
|
+
(E.customFormFields || []).map((e) => /* @__PURE__ */ (0, F.jsx)(y, {
|
|
193
|
+
config: e,
|
|
194
|
+
verificationService: t
|
|
195
|
+
})),
|
|
196
|
+
" ",
|
|
197
|
+
/* @__PURE__ */ (0, F.jsx)(x, {
|
|
198
|
+
verificationService: t,
|
|
199
|
+
isErrored: !!c.marketConsentValue,
|
|
200
|
+
disabled: g("marketConsentValue")?.disabled,
|
|
201
|
+
onChange: (e) => {
|
|
202
|
+
q("metadata", {
|
|
203
|
+
...t.viewModel.metadata,
|
|
204
|
+
marketConsentValue: e
|
|
205
|
+
}), p("marketConsentValue", e, t);
|
|
206
|
+
},
|
|
207
|
+
viewModel: a
|
|
208
|
+
}),
|
|
209
|
+
/* @__PURE__ */ (0, F.jsx)(k, {
|
|
210
|
+
verificationService: t,
|
|
211
|
+
suffix: "CollectAboveSubmit"
|
|
212
|
+
}),
|
|
213
|
+
/* @__PURE__ */ (0, F.jsx)(S, {
|
|
214
|
+
verificationService: t,
|
|
215
|
+
isErrored: !!c.captchaToken
|
|
216
|
+
}),
|
|
217
|
+
/* @__PURE__ */ (0, F.jsx)(T, {
|
|
218
|
+
step: s.collectStudentPersonalInfo,
|
|
219
|
+
verificationService: t,
|
|
220
|
+
viewModel: a,
|
|
221
|
+
failedInstantMatch: K,
|
|
222
|
+
buttonText: /* @__PURE__ */ (0, F.jsx)(r, {
|
|
223
|
+
id: "step.personalInfo.submitButtonText",
|
|
224
|
+
defaultMessage: "Verify My Student Status"
|
|
225
|
+
})
|
|
226
|
+
})
|
|
227
|
+
]
|
|
228
|
+
});
|
|
229
|
+
};
|
|
230
|
+
//#endregion
|
|
231
|
+
export { U as default };
|