@sheerid/jslib 2.278.0 → 2.279.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 +63 -64
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-LZTJCC-l.js → AddressComponent-BXt3LO3L.js} +6 -6
- package/chunk/{AddressComponent-CaMRwh5O.js.map → AddressComponent-BXt3LO3L.js.map} +1 -1
- package/chunk/{AddressComponent-CaMRwh5O.js → AddressComponent-lF-v0RZf.js} +6 -6
- package/chunk/{AddressComponent-LZTJCC-l.js.map → AddressComponent-lF-v0RZf.js.map} +1 -1
- package/chunk/AnnouncingHeader-CCVSQeQR.js +4 -4
- package/chunk/AnnouncingHeader-YPjBYzsZ.js +4 -4
- package/chunk/{ApiUrls-DRCiQtw6.js → ApiUrls-CKbVuRAx.js} +5 -5
- package/chunk/{ApiUrls-DRCiQtw6.js.map → ApiUrls-CKbVuRAx.js.map} +1 -1
- package/chunk/{ApiUrls-_Hc7S_uv.js → ApiUrls-K7CaWewT.js} +5 -5
- package/chunk/{ApiUrls-_Hc7S_uv.js.map → ApiUrls-K7CaWewT.js.map} +1 -1
- package/chunk/{BirthDateComponent-CAQJ-IWM.js → BirthDateComponent-CD4M-BN9.js} +6 -6
- package/chunk/{BirthDateComponent-CAQJ-IWM.js.map → BirthDateComponent-CD4M-BN9.js.map} +1 -1
- package/chunk/{BirthDateComponent-_BjsBSM4.js → BirthDateComponent-D3HhW2Lq.js} +6 -6
- package/chunk/{BirthDateComponent-_BjsBSM4.js.map → BirthDateComponent-D3HhW2Lq.js.map} +1 -1
- package/chunk/{CaptchaComponent-BqREyMje.js → CaptchaComponent-DlgV116k.js} +17 -17
- package/chunk/{CaptchaComponent-BqREyMje.js.map → CaptchaComponent-DlgV116k.js.map} +1 -1
- package/chunk/{CaptchaComponent-D2OIvL-b.js → CaptchaComponent-_azicSSq.js} +17 -17
- package/chunk/{CaptchaComponent-D2OIvL-b.js.map → CaptchaComponent-_azicSSq.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BvnXlDa-.js → ChangeLocaleComponent-DaswLDgf.js} +62 -61
- package/chunk/{ChangeLocaleComponent-BvnXlDa-.js.map → ChangeLocaleComponent-DaswLDgf.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CpHB_D8Q.js → ChangeLocaleComponent-oYqC5rPO.js} +62 -61
- package/chunk/{ChangeLocaleComponent-CpHB_D8Q.js.map → ChangeLocaleComponent-oYqC5rPO.js.map} +1 -1
- package/chunk/{City-CCBan228.js → City-Ca92IEBF.js} +6 -6
- package/chunk/{City-B6bQRRvQ.js.map → City-Ca92IEBF.js.map} +1 -1
- package/chunk/{City-B6bQRRvQ.js → City-DT_jbaQV.js} +6 -6
- package/chunk/{City-CCBan228.js.map → City-DT_jbaQV.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BbxIOfzR.js → CollegeNameComponent-BPwD0IZd.js} +6 -6
- package/chunk/{CollegeNameComponent-BbxIOfzR.js.map → CollegeNameComponent-BPwD0IZd.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CEJO0-bq.js → CollegeNameComponent-CPHVzAfn.js} +6 -6
- package/chunk/{CollegeNameComponent-CEJO0-bq.js.map → CollegeNameComponent-CPHVzAfn.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-DGi3bxV2.js +4 -4
- package/chunk/CopyToClipboardComponent-cLuyXFes.js +4 -4
- package/chunk/{CountryComponentWrapper-BNtvUusJ.js → CountryComponentWrapper-BfX4aqM2.js} +11 -11
- package/chunk/{CountryComponentWrapper-BNtvUusJ.js.map → CountryComponentWrapper-BfX4aqM2.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CW4yj9IF.js → CountryComponentWrapper-DziHrBMX.js} +11 -11
- package/chunk/{CountryComponentWrapper-CW4yj9IF.js.map → CountryComponentWrapper-DziHrBMX.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CNaz5UZP.js → DischargeDateComponent-BrNcDHcj.js} +10 -11
- package/chunk/{DischargeDateComponent-CNaz5UZP.js.map → DischargeDateComponent-BrNcDHcj.js.map} +1 -1
- package/chunk/{DischargeDateComponent-tTwN3FLy.js → DischargeDateComponent-Caq0MbSz.js} +10 -11
- package/chunk/{DischargeDateComponent-tTwN3FLy.js.map → DischargeDateComponent-Caq0MbSz.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-vsVldXkA.js → DriverLicenseNumberComponent-BeJbl-IS.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-B5_svahy.js.map → DriverLicenseNumberComponent-BeJbl-IS.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-B5_svahy.js → DriverLicenseNumberComponent-DqHVF2Mw.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-vsVldXkA.js.map → DriverLicenseNumberComponent-DqHVF2Mw.js.map} +1 -1
- package/chunk/{EmailLoopPending-CYCQv7pW.js → EmailLoopPending-Dc_6ANLw.js} +40 -49
- package/chunk/EmailLoopPending-Dc_6ANLw.js.map +1 -0
- package/chunk/{EmailLoopPending-DNFHR6Ck.js → EmailLoopPending-i9SDmULt.js} +39 -48
- package/chunk/EmailLoopPending-i9SDmULt.js.map +1 -0
- package/chunk/{ExtraMessage-g4LSV-H2.js → ExtraMessage-BCHypT6I.js} +5 -5
- package/chunk/{ExtraMessage-Byw0Tgm1.js.map → ExtraMessage-BCHypT6I.js.map} +1 -1
- package/chunk/{ExtraMessage-Byw0Tgm1.js → ExtraMessage-owvdVH7U.js} +5 -5
- package/chunk/{ExtraMessage-g4LSV-H2.js.map → ExtraMessage-owvdVH7U.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DVF6aC7P.js → FirstResponderOrganizationComponent-Cq8brgQb.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-BtIXngo4.js.map → FirstResponderOrganizationComponent-Cq8brgQb.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BtIXngo4.js → FirstResponderOrganizationComponent-zm8038ks.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-DVF6aC7P.js.map → FirstResponderOrganizationComponent-zm8038ks.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-ie6Vx1Bx.js → FormFieldInputSelect-B56HjXNt.js} +5 -5
- package/chunk/{FormFieldInputSelect-D1aFx17c.js.map → FormFieldInputSelect-B56HjXNt.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-D1aFx17c.js → FormFieldInputSelect-CTkrJXtl.js} +5 -5
- package/chunk/{FormFieldInputSelect-ie6Vx1Bx.js.map → FormFieldInputSelect-CTkrJXtl.js.map} +1 -1
- package/chunk/FormFieldLayout-C4SCdGBC.js +4 -4
- package/chunk/FormFieldLayout-Cj_v9kYa.js +4 -4
- package/chunk/FormFieldText-BbdrtNh_.js +4 -4
- package/chunk/FormFieldText-Gf13Luq7.js +4 -4
- package/chunk/{FormFieldTypeahead-DQEez7ko.js → FormFieldTypeahead-DV-Vbq4P.js} +38 -39
- package/chunk/{FormFieldTypeahead-uKX8ZHqO.js.map → FormFieldTypeahead-DV-Vbq4P.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-uKX8ZHqO.js → FormFieldTypeahead-rknI__Ge.js} +26 -27
- package/chunk/{FormFieldTypeahead-DQEez7ko.js.map → FormFieldTypeahead-rknI__Ge.js.map} +1 -1
- package/chunk/{FormFooterComponent-BHQc5VBK.js → FormFooterComponent-CKDwnyg2.js} +214 -215
- package/chunk/{FormFooterComponent-BHQc5VBK.js.map → FormFooterComponent-CKDwnyg2.js.map} +1 -1
- package/chunk/{FormFooterComponent-CAoH3NjO.js → FormFooterComponent-DEFTsR2L.js} +39 -40
- package/chunk/{FormFooterComponent-CAoH3NjO.js.map → FormFooterComponent-DEFTsR2L.js.map} +1 -1
- package/chunk/{FormSelectChoice-Cm99LmoK.js → FormSelectChoice-BLwNcyNA.js} +5 -5
- package/chunk/{FormSelectChoice-Cm99LmoK.js.map → FormSelectChoice-BLwNcyNA.js.map} +1 -1
- package/chunk/{FormSelectChoice-DjcUTWnw.js → FormSelectChoice-CNxt_oMb.js} +5 -5
- package/chunk/{FormSelectChoice-DjcUTWnw.js.map → FormSelectChoice-CNxt_oMb.js.map} +1 -1
- package/chunk/InputText-BXPuBlPq.js +4 -4
- package/chunk/InputText-h_myNeHr.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-BHrQmG_W.js → LicensedProfessionalOrganizationComponent-BbKzyFwo.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-BHrQmG_W.js.map → LicensedProfessionalOrganizationComponent-BbKzyFwo.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-DMdDUhnU.js → LicensedProfessionalOrganizationComponent-MO7F0SpQ.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-DMdDUhnU.js.map → LicensedProfessionalOrganizationComponent-MO7F0SpQ.js.map} +1 -1
- package/chunk/LogoComponent-Do8K5ydz.js +4 -4
- package/chunk/LogoComponent-Dx1G-rzE.js +4 -4
- package/chunk/{LowIncomeOrganizationComponent-CZnbIM2h.js → LowIncomeOrganizationComponent-DjlrreR8.js} +12 -13
- package/chunk/{LowIncomeOrganizationComponent-DLxB_wnC.js.map → LowIncomeOrganizationComponent-DjlrreR8.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DLxB_wnC.js → LowIncomeOrganizationComponent-eipgmum9.js} +12 -13
- package/chunk/{LowIncomeOrganizationComponent-CZnbIM2h.js.map → LowIncomeOrganizationComponent-eipgmum9.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-t-k48G10.js → MedicalProfessionalOrganizationComponent-BCYOuT46.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-CozwSmoI.js.map → MedicalProfessionalOrganizationComponent-BCYOuT46.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CozwSmoI.js → MedicalProfessionalOrganizationComponent-BTlqVGFC.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-t-k48G10.js.map → MedicalProfessionalOrganizationComponent-BTlqVGFC.js.map} +1 -1
- package/chunk/{MemberIdComponent-CYqH9MG5.js → MemberIdComponent-BRu3zJYi.js} +6 -6
- package/chunk/{MemberIdComponent-BzUuPdSk.js.map → MemberIdComponent-BRu3zJYi.js.map} +1 -1
- package/chunk/{MemberIdComponent-BzUuPdSk.js → MemberIdComponent-DDoGHydu.js} +6 -6
- package/chunk/{MemberIdComponent-CYqH9MG5.js.map → MemberIdComponent-DDoGHydu.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Bbu2i3Dm.js → MembershipOrganizationComponent-CPvwsgGQ.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-BPQ27RX9.js.map → MembershipOrganizationComponent-CPvwsgGQ.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BPQ27RX9.js → MembershipOrganizationComponent-E2KnhazB.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-Bbu2i3Dm.js.map → MembershipOrganizationComponent-E2KnhazB.js.map} +1 -1
- package/chunk/{Message-CSa2etjX.js → Message-C8RQk5lc.js} +3002 -1540
- package/chunk/Message-C8RQk5lc.js.map +1 -0
- package/chunk/{Message-BK3a2RyH.js → Message-Sbek6JOj.js} +3217 -1779
- package/chunk/Message-Sbek6JOj.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-VxT_vwVv.js → PersonalInfoStepSubmitButton-DGdDk2n_.js} +6 -6
- package/chunk/PersonalInfoStepSubmitButton-DGdDk2n_.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-BcdQUzMO.js → PersonalInfoStepSubmitButton-ksVF3h1P.js} +6 -6
- package/chunk/PersonalInfoStepSubmitButton-ksVF3h1P.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-CxRB64LQ.js → PersonalInfoStepWrapper-BUOcq-Sb.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-CxRB64LQ.js.map → PersonalInfoStepWrapper-BUOcq-Sb.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BHS3GKl7.js → PersonalInfoStepWrapper-bFDtj-hV.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-BHS3GKl7.js.map → PersonalInfoStepWrapper-bFDtj-hV.js.map} +1 -1
- package/chunk/{PostalCodeComponent-jmSOU3LM.js → PostalCodeComponent-C6gU75E3.js} +6 -6
- package/chunk/{PostalCodeComponent-CKbC80_m.js.map → PostalCodeComponent-C6gU75E3.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CKbC80_m.js → PostalCodeComponent-DShP_eiB.js} +6 -6
- package/chunk/{PostalCodeComponent-jmSOU3LM.js.map → PostalCodeComponent-DShP_eiB.js.map} +1 -1
- package/chunk/{SSN-DHAzpgQK.js → SSN-BF8VH8xi.js} +6 -6
- package/chunk/{SSN-DHAzpgQK.js.map → SSN-BF8VH8xi.js.map} +1 -1
- package/chunk/{SSN-DNVykxAU.js → SSN-X45bqqG5.js} +6 -6
- package/chunk/{SSN-DNVykxAU.js.map → SSN-X45bqqG5.js.map} +1 -1
- package/chunk/{StateSelectComponent-B7Cp6ANo.js → StateSelectComponent-DEsJPcGo.js} +6 -6
- package/chunk/{StateSelectComponent-B5lHw2N5.js.map → StateSelectComponent-DEsJPcGo.js.map} +1 -1
- package/chunk/{StateSelectComponent-B5lHw2N5.js → StateSelectComponent-MEcusWyr.js} +6 -6
- package/chunk/{StateSelectComponent-B7Cp6ANo.js.map → StateSelectComponent-MEcusWyr.js.map} +1 -1
- package/chunk/{StatusComponent-CyX5COrt.js → StatusComponent-BlVRLPOR.js} +6 -6
- package/chunk/{StatusComponent-CrGh5fqB.js.map → StatusComponent-BlVRLPOR.js.map} +1 -1
- package/chunk/{StatusComponent-CrGh5fqB.js → StatusComponent-DP2VlynN.js} +6 -6
- package/chunk/{StatusComponent-CyX5COrt.js.map → StatusComponent-DP2VlynN.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CHBH5ROm.js → StepAgePersonalInfo-BfVe24h1.js} +39 -39
- package/chunk/{StepAgePersonalInfo-BswIeVCd.js.map → StepAgePersonalInfo-BfVe24h1.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BswIeVCd.js → StepAgePersonalInfo-BsftVg7L.js} +39 -39
- package/chunk/{StepAgePersonalInfo-CHBH5ROm.js.map → StepAgePersonalInfo-BsftVg7L.js.map} +1 -1
- package/chunk/StepCard-B0o7IN6g.js +4 -4
- package/chunk/StepCard-CWT2BiAH.js +4 -4
- package/chunk/{StepCollectIdentifier-dPXJHRwi.js → StepCollectIdentifier-BbSr7Z9A.js} +7 -7
- package/chunk/{StepCollectIdentifier-dPXJHRwi.js.map → StepCollectIdentifier-BbSr7Z9A.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-D8IjgFjI.js → StepCollectIdentifier-DWxYhtYJ.js} +7 -7
- package/chunk/{StepCollectIdentifier-D8IjgFjI.js.map → StepCollectIdentifier-DWxYhtYJ.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js → StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js} +58 -58
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js.map → StepCollectMilitaryPersonalInfoComponent-Bf8Y4oMV.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js → StepCollectMilitaryPersonalInfoComponent-CXBsaj89.js} +58 -58
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js.map → StepCollectMilitaryPersonalInfoComponent-CXBsaj89.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-CpZ03KDD.js +368 -0
- package/chunk/{StepCollectPersonalInfo-BLClPcAC.js.map → StepCollectPersonalInfo-CpZ03KDD.js.map} +1 -1
- package/chunk/StepCollectPersonalInfo-Dl1oW7u9.js +372 -0
- package/chunk/{StepCollectPersonalInfo-BvBAA_0_.js.map → StepCollectPersonalInfo-Dl1oW7u9.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js → StepCompleteAuthentication-BZrnQ5_y.js} +8 -8
- package/chunk/{StepCompleteAuthentication-D7NH3MFa.js.map → StepCompleteAuthentication-BZrnQ5_y.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-D7NH3MFa.js → StepCompleteAuthentication-mYpzxp_K.js} +8 -8
- package/chunk/{StepCompleteAuthentication-Cnv_QzG7.js.map → StepCompleteAuthentication-mYpzxp_K.js.map} +1 -1
- package/chunk/{StepConsolation-qvCq7iMz.js → StepConsolation-B-89ZSSf.js} +5 -5
- package/chunk/{StepConsolation-CKbOj-OW.js.map → StepConsolation-B-89ZSSf.js.map} +1 -1
- package/chunk/{StepConsolation-CKbOj-OW.js → StepConsolation-CyFzsf7D.js} +5 -5
- package/chunk/{StepConsolation-qvCq7iMz.js.map → StepConsolation-CyFzsf7D.js.map} +1 -1
- package/chunk/{StepDocUpload-CelPrD2S.js → StepDocUpload-BhSHl2xg.js} +579 -582
- package/chunk/{StepDocUpload-hbZjFKLA.js.map → StepDocUpload-BhSHl2xg.js.map} +1 -1
- package/chunk/{StepDocUpload-hbZjFKLA.js → StepDocUpload-Da23Nac7.js} +563 -566
- package/chunk/{StepDocUpload-CelPrD2S.js.map → StepDocUpload-Da23Nac7.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js → StepDriverLicensePersonalInfoComponent-BzzPdAKT.js} +29 -29
- package/chunk/{StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js.map → StepDriverLicensePersonalInfoComponent-BzzPdAKT.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js → StepDriverLicensePersonalInfoComponent-DZREXMwQ.js} +29 -29
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js.map → StepDriverLicensePersonalInfoComponent-DZREXMwQ.js.map} +1 -1
- package/chunk/{StepEmailLoop-B_D0MzXV.js → StepEmailLoop-D84khZXV.js} +57 -57
- package/chunk/{StepEmailLoop-B_D0MzXV.js.map → StepEmailLoop-D84khZXV.js.map} +1 -1
- package/chunk/{StepEmailLoop-DnFBaEUV.js → StepEmailLoop-DROpnxge.js} +57 -57
- package/chunk/{StepEmailLoop-DnFBaEUV.js.map → StepEmailLoop-DROpnxge.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-D6wk7BPP.js → StepEmploymentPersonalInfo-BGr1Yvq_.js} +46 -46
- package/chunk/{StepEmploymentPersonalInfo-D6wk7BPP.js.map → StepEmploymentPersonalInfo-BGr1Yvq_.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-CWyReZIX.js → StepEmploymentPersonalInfo-D7RPMyzC.js} +46 -46
- package/chunk/{StepEmploymentPersonalInfo-CWyReZIX.js.map → StepEmploymentPersonalInfo-D7RPMyzC.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-WFafxPno.js → StepFirstResponderPersonalInfo-CjNdy_IK.js} +39 -39
- package/chunk/{StepFirstResponderPersonalInfo-BEYQjJZE.js.map → StepFirstResponderPersonalInfo-CjNdy_IK.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BEYQjJZE.js → StepFirstResponderPersonalInfo-DQCaR_hD.js} +39 -39
- package/chunk/{StepFirstResponderPersonalInfo-WFafxPno.js.map → StepFirstResponderPersonalInfo-DQCaR_hD.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js → StepGeneralIdentityPersonalInfoComponent-BsDZlyGG.js} +38 -38
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js.map → StepGeneralIdentityPersonalInfoComponent-BsDZlyGG.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js → StepGeneralIdentityPersonalInfoComponent-DRxMlfke.js} +38 -38
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js.map → StepGeneralIdentityPersonalInfoComponent-DRxMlfke.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js → StepHybridIdentityPersonalInfoComponent-BGVL9sDI.js} +41 -41
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js.map → StepHybridIdentityPersonalInfoComponent-BGVL9sDI.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js → StepHybridIdentityPersonalInfoComponent-DmXgxIAw.js} +41 -41
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js.map → StepHybridIdentityPersonalInfoComponent-DmXgxIAw.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-3dEcYNM-.js → StepIDCheckLoop-9dhIxbuJ.js} +5 -5
- package/chunk/{StepIDCheckLoop-3dEcYNM-.js.map → StepIDCheckLoop-9dhIxbuJ.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-ADjD8T7n.js → StepIDCheckLoop-DTIF9BCb.js} +5 -5
- package/chunk/{StepIDCheckLoop-ADjD8T7n.js.map → StepIDCheckLoop-DTIF9BCb.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-u841Fq12.js → StepIDCheckLoopOnfido-BxY2wBPp.js} +112 -113
- package/chunk/StepIDCheckLoopOnfido-BxY2wBPp.js.map +1 -0
- package/chunk/{StepIDCheckLoopOnfido-DFITsdwV.js → StepIDCheckLoopOnfido-DEwJWvD5.js} +112 -113
- package/chunk/StepIDCheckLoopOnfido-DEwJWvD5.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-DDU-aqdl.js → StepIDCheckLoopRegula-B6NsjTDL.js} +6 -6
- package/chunk/{StepIDCheckLoopRegula-4XrJNB8_.js.map → StepIDCheckLoopRegula-B6NsjTDL.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-4XrJNB8_.js → StepIDCheckLoopRegula-CnxabsF_.js} +6 -6
- package/chunk/{StepIDCheckLoopRegula-DDU-aqdl.js.map → StepIDCheckLoopRegula-CnxabsF_.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CvU4u5nA.js → StepLicensedProfessionalPersonalInfo-Bxh1PYd4.js} +39 -39
- package/chunk/{StepLicensedProfessionalPersonalInfo-BXscxOmH.js.map → StepLicensedProfessionalPersonalInfo-Bxh1PYd4.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BXscxOmH.js → StepLicensedProfessionalPersonalInfo-avWn-HsU.js} +39 -39
- package/chunk/{StepLicensedProfessionalPersonalInfo-CvU4u5nA.js.map → StepLicensedProfessionalPersonalInfo-avWn-HsU.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BlvN-faw.js → StepLowIncomePersonalInfo-Du_sG7Xc.js} +51 -51
- package/chunk/{StepLowIncomePersonalInfo-BD5AdV7z.js.map → StepLowIncomePersonalInfo-Du_sG7Xc.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BD5AdV7z.js → StepLowIncomePersonalInfo-qYLCAzKx.js} +51 -51
- package/chunk/{StepLowIncomePersonalInfo-BlvN-faw.js.map → StepLowIncomePersonalInfo-qYLCAzKx.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DzPoAdkI.js → StepMedicalProfessionalPersonalInfo-B9f28oQh.js} +44 -44
- package/chunk/{StepMedicalProfessionalPersonalInfo-D-wc9M27.js.map → StepMedicalProfessionalPersonalInfo-B9f28oQh.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D-wc9M27.js → StepMedicalProfessionalPersonalInfo-C9owmZP4.js} +44 -44
- package/chunk/{StepMedicalProfessionalPersonalInfo-DzPoAdkI.js.map → StepMedicalProfessionalPersonalInfo-C9owmZP4.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DcH87kDt.js → StepMemberPersonalInfo-B3abjYzP.js} +27 -27
- package/chunk/{StepMemberPersonalInfo-BwhcP3-x.js.map → StepMemberPersonalInfo-B3abjYzP.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BwhcP3-x.js → StepMemberPersonalInfo-BjwgnTyJ.js} +27 -27
- package/chunk/{StepMemberPersonalInfo-DcH87kDt.js.map → StepMemberPersonalInfo-BjwgnTyJ.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-C3e_5Bhi.js → StepMoverPersonalInfo-BuAttGuv.js} +28 -28
- package/chunk/{StepMoverPersonalInfo-C3e_5Bhi.js.map → StepMoverPersonalInfo-BuAttGuv.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DdAYuWun.js → StepMoverPersonalInfo-DHQ4lFop.js} +28 -28
- package/chunk/{StepMoverPersonalInfo-DdAYuWun.js.map → StepMoverPersonalInfo-DHQ4lFop.js.map} +1 -1
- package/chunk/{StepOverrideComponent-C58-KkL6.js → StepOverrideComponent-BECVh2YW.js} +31 -33
- package/chunk/StepOverrideComponent-BECVh2YW.js.map +1 -0
- package/chunk/{StepOverrideComponent-BA6ZbYda.js → StepOverrideComponent-BbflJqAn.js} +31 -33
- package/chunk/StepOverrideComponent-BbflJqAn.js.map +1 -0
- package/chunk/StepSMSLoop-DBLKaJge.js +172 -0
- package/chunk/StepSMSLoop-DBLKaJge.js.map +1 -0
- package/chunk/StepSMSLoop-DaWjEr_v.js +168 -0
- package/chunk/StepSMSLoop-DaWjEr_v.js.map +1 -0
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-6QeIRjAc.js → StepSocialSecurityNumber-O1UZ-5U6.js} +10 -10
- package/chunk/{StepSocialSecurityNumber-6QeIRjAc.js.map → StepSocialSecurityNumber-O1UZ-5U6.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-kcHexBbp.js → StepSocialSecurityNumber-rJXiboT7.js} +10 -10
- package/chunk/{StepSocialSecurityNumber-kcHexBbp.js.map → StepSocialSecurityNumber-rJXiboT7.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-CDJ5MqYn.js +217 -0
- package/chunk/StepStudentPersonalInfo-CDJ5MqYn.js.map +1 -0
- package/chunk/StepStudentPersonalInfo-tgT5jO54.js +213 -0
- package/chunk/StepStudentPersonalInfo-tgT5jO54.js.map +1 -0
- package/chunk/{StepSuccess-Cc0UdSaD.js → StepSuccess-C1pgML90.js} +6 -6
- package/chunk/{StepSuccess-Cc0UdSaD.js.map → StepSuccess-C1pgML90.js.map} +1 -1
- package/chunk/{StepSuccess-ZEmH-ZFX.js → StepSuccess-CLv_-kPd.js} +6 -6
- package/chunk/{StepSuccess-ZEmH-ZFX.js.map → StepSuccess-CLv_-kPd.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-X7uaefYx.js → StepTeacherPersonalInfo-BndXbwZz.js} +26 -26
- package/chunk/{StepTeacherPersonalInfo-CiHN6WAb.js.map → StepTeacherPersonalInfo-BndXbwZz.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-CiHN6WAb.js → StepTeacherPersonalInfo-DttiAJyO.js} +26 -26
- package/chunk/{StepTeacherPersonalInfo-X7uaefYx.js.map → StepTeacherPersonalInfo-DttiAJyO.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-DL4ZFk5x.js → TeacherSchoolComponent-CnBfquOO.js} +6 -6
- package/chunk/{TeacherSchoolComponent-DH3cPm43.js.map → TeacherSchoolComponent-CnBfquOO.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-DH3cPm43.js → TeacherSchoolComponent-DOAXb1sf.js} +6 -6
- package/chunk/{TeacherSchoolComponent-DL4ZFk5x.js.map → TeacherSchoolComponent-DOAXb1sf.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CAGESMw9.js +4 -4
- package/chunk/TestingRouteOverrides-CrhfSmLr.js +4 -4
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-Dh-2G5c3.js +4 -4
- package/chunk/bg-BbAhdJRh.js +4 -4
- package/chunk/bn-IN-Cx3Q5Utp.js +4 -4
- package/chunk/countryUtils-AR9k3KRg.js +4 -4
- package/chunk/countryUtils-DWqId-zY.js +4 -4
- package/chunk/cs-CYGsmvju.js +4 -4
- package/chunk/da-COZWvvUD.js +4 -4
- package/chunk/de-BHclNQGr.js +4 -4
- package/chunk/{downshift.esm-GtunYkBG.js → downshift.esm-CljItZH3.js} +5 -5
- package/chunk/{downshift.esm-5BwX87os.js.map → downshift.esm-CljItZH3.js.map} +1 -1
- package/chunk/{downshift.esm-5BwX87os.js → downshift.esm-GP9lYKvI.js} +5 -5
- package/chunk/{downshift.esm-GtunYkBG.js.map → downshift.esm-GP9lYKvI.js.map} +1 -1
- package/chunk/el-Bv_XQ0FX.js +4 -4
- package/chunk/empties-B6naRhes.js +4 -4
- package/chunk/empties-Crmkxudi.js +4 -4
- package/chunk/en-GB-CkENrh2I.js +4 -4
- package/chunk/es-BRKAFTKN.js +4 -4
- package/chunk/es-ES-BWfAbWbQ.js +4 -4
- package/chunk/et-CxMgVbW2.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BEC3aNBF.js +4 -4
- package/chunk/fi-BaP3FR15.js +4 -4
- package/chunk/fr-CA-CS4SuM-m.js +4 -4
- package/chunk/fr-DSU2B7p2.js +4 -4
- package/chunk/ga-DZEr9X_A.js +4 -4
- package/chunk/hi-IN-DvBVpWNQ.js +4 -4
- package/chunk/hooks-C15H5pD-.js +4 -4
- package/chunk/hooks-ChQrxN58.js +4 -4
- package/chunk/hr-CL1lHDbu.js +4 -4
- package/chunk/hu-Cf5Uq9R_.js +4 -4
- package/chunk/id-ay9yilKx.js +4 -4
- package/chunk/intl-e5WHiYfA.js +4 -4
- package/chunk/is-tpzRyIZi.js +4 -4
- package/chunk/it-C3-BupR4.js +4 -4
- package/chunk/iw-CBna3XPT.js +4 -4
- package/chunk/ja-DvXOkZRn.js +4 -4
- package/chunk/jsx-runtime-Ini3eO9_.js +4 -4
- package/chunk/jsx-runtime-LqzCS-0D.js +4 -4
- package/chunk/kk-DGXgY6Uw.js +4 -4
- package/chunk/ko-BlUGwGxN.js +4 -4
- package/chunk/lo-DT6wxwS1.js +4 -4
- package/chunk/lt-CT5-H4ci.js +4 -4
- package/chunk/lv-CBMD1XRp.js +4 -4
- package/chunk/mocks-DGc1byho.js +4 -4
- package/chunk/mocks-RU9BGNOn.js +4 -4
- package/chunk/ms-DuxNeOgk.js +4 -4
- package/chunk/nl-BE-D028qM7-.js +4 -4
- package/chunk/nl-DEuaat_s.js +4 -4
- package/chunk/no-CjeRjD1D.js +4 -4
- package/chunk/options-pBCAJBwS.js +4 -4
- package/chunk/pl-X0qJw7IS.js +4 -4
- package/chunk/programThemeGetters-C9Sw0RZq.js +4 -4
- package/chunk/programThemeGetters-uLsgGat1.js +4 -4
- package/chunk/pt-BR-C6XmLn3o.js +4 -4
- package/chunk/pt-o7v4iOVx.js +4 -4
- package/chunk/refs-CGvEbCaw.js +4 -4
- package/chunk/refs-CI3K5ndt.js +4 -4
- package/chunk/ro-C74ZR3HS.js +4 -4
- package/chunk/ru-BA9P3RVu.js +4 -4
- package/chunk/sk-DmyizV49.js +4 -4
- package/chunk/sl-Cxm3YoWE.js +4 -4
- package/chunk/sr-gOtgEOlP.js +4 -4
- package/chunk/{stepComponentHelpers-DIHMDrmF.js → stepComponentHelpers-BOwTk6Tq.js} +39 -51
- package/chunk/stepComponentHelpers-BOwTk6Tq.js.map +1 -0
- package/chunk/{stepComponentHelpers-BdqtwfRd.js → stepComponentHelpers-Cm0-8yXr.js} +39 -51
- package/chunk/stepComponentHelpers-Cm0-8yXr.js.map +1 -0
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DnCUWo1-.js +4 -4
- package/chunk/sw-BY7XXvUU.js +4 -4
- package/chunk/ta-CVL0b6Hh.js +4 -4
- package/chunk/th-CyU0RW3x.js +4 -4
- package/chunk/tl-BfgQ0irB.js +4 -4
- package/chunk/tr-BPg_L4bY.js +4 -4
- package/chunk/uk-CNaioa7V.js +4 -4
- package/chunk/ur-Ht1Mcpm0.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-dSngHehw.js → useCollectFieldsEndpoint-D_Qf33n2.js} +9 -10
- package/chunk/{useCollectFieldsEndpoint-74jMd594.js.map → useCollectFieldsEndpoint-D_Qf33n2.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-74jMd594.js → useCollectFieldsEndpoint-jY0agtQB.js} +13 -14
- package/chunk/{useCollectFieldsEndpoint-dSngHehw.js.map → useCollectFieldsEndpoint-jY0agtQB.js.map} +1 -1
- package/chunk/useMetrics-BrHWTzbP.js +4 -4
- package/chunk/useMetrics-O5xTFm6y.js +4 -4
- package/chunk/vi-sI1BYLXG.js +4 -4
- package/chunk/zh-DNG4VB8r.js +4 -4
- package/chunk/zh-HK-5Y3ROXEm.js +4 -4
- package/chunk/zu-DNMG8Idu.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +63 -64
- package/sheerid.js.map +1 -1
- package/chunk/EmailLoopPending-CYCQv7pW.js.map +0 -1
- package/chunk/EmailLoopPending-DNFHR6Ck.js.map +0 -1
- package/chunk/Message-BK3a2RyH.js.map +0 -1
- package/chunk/Message-CSa2etjX.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-BcdQUzMO.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-VxT_vwVv.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-BLClPcAC.js +0 -372
- package/chunk/StepCollectPersonalInfo-BvBAA_0_.js +0 -368
- package/chunk/StepIDCheckLoopOnfido-DFITsdwV.js.map +0 -1
- package/chunk/StepIDCheckLoopOnfido-u841Fq12.js.map +0 -1
- package/chunk/StepOverrideComponent-BA6ZbYda.js.map +0 -1
- package/chunk/StepOverrideComponent-C58-KkL6.js.map +0 -1
- package/chunk/StepSMSLoop-CiFQF0bq.js +0 -181
- package/chunk/StepSMSLoop-CiFQF0bq.js.map +0 -1
- package/chunk/StepSMSLoop-DmbMtSCW.js +0 -185
- package/chunk/StepSMSLoop-DmbMtSCW.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js +0 -216
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js +0 -220
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js.map +0 -1
- package/chunk/VerificationApiClient-CVe2IgK7.js +0 -1451
- package/chunk/VerificationApiClient-CVe2IgK7.js.map +0 -1
- package/chunk/VerificationApiClient-DOQLbKh3.js +0 -1471
- package/chunk/VerificationApiClient-DOQLbKh3.js.map +0 -1
- package/chunk/stepComponentHelpers-BdqtwfRd.js.map +0 -1
- package/chunk/stepComponentHelpers-DIHMDrmF.js.map +0 -1
|
@@ -0,0 +1,217 @@
|
|
|
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.279.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1788995300702
|
|
9
|
+
* BUILD_DATE: Wed Sep 09 2026 23:08:20 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: fdde81acaae8bfe2d0c43f5327d4569e8353b6e7
|
|
11
|
+
*/
|
|
12
|
+
import { Nt as e, Wt as t, kt as n, p as r, s as i } from "./intl-e5WHiYfA.js";
|
|
13
|
+
import { c as a, n as o, t as s } from "./jsx-runtime-LqzCS-0D.js";
|
|
14
|
+
import { n as c } from "./Message-Sbek6JOj.js";
|
|
15
|
+
import { p as l } from "./FormFooterComponent-DEFTsR2L.js";
|
|
16
|
+
import { t as u } from "./hooks-C15H5pD-.js";
|
|
17
|
+
import { t as d } from "../_mysheerid-preview.js";
|
|
18
|
+
import { _ as f, c as p, g as m, i as h } from "./stepComponentHelpers-Cm0-8yXr.js";
|
|
19
|
+
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-DlgV116k.js";
|
|
20
|
+
import { t as S } from "./FormFieldText-Gf13Luq7.js";
|
|
21
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-DGdDk2n_.js";
|
|
22
|
+
import { t as T } from "./BirthDateComponent-D3HhW2Lq.js";
|
|
23
|
+
import { t as E } from "./CountryComponentWrapper-BfX4aqM2.js";
|
|
24
|
+
import { t as D } from "./ExtraMessage-owvdVH7U.js";
|
|
25
|
+
import { t as O } from "./ChangeLocaleComponent-oYqC5rPO.js";
|
|
26
|
+
import { t as k } from "./PersonalInfoStepWrapper-BUOcq-Sb.js";
|
|
27
|
+
import { t as A } from "./CollegeNameComponent-CPHVzAfn.js";
|
|
28
|
+
import { t as j } from "./StatusComponent-DP2VlynN.js";
|
|
29
|
+
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
30
|
+
var M = /* @__PURE__ */ t(a(), 1), N = s(), P = ({ value: e, isErrored: t, onChange: n, explanation: r, placeholder: i = "", isRequired: a = !1 }) => {
|
|
31
|
+
let { msg: s } = c(), l = u("include-cvec-field-france-student");
|
|
32
|
+
return h("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, N.jsx)(S, {
|
|
33
|
+
fieldId: "cvecNumber",
|
|
34
|
+
value: e,
|
|
35
|
+
onChange: n,
|
|
36
|
+
placeholder: i || s({ id: "cvecNumber" }),
|
|
37
|
+
label: /* @__PURE__ */ (0, N.jsx)(o, {
|
|
38
|
+
id: "cvecNumber",
|
|
39
|
+
defaultMessage: "CVEC certificate number"
|
|
40
|
+
}),
|
|
41
|
+
errorMessage: t && /* @__PURE__ */ (0, N.jsx)(o, {
|
|
42
|
+
id: "errorId.invalidCvecNumber",
|
|
43
|
+
defaultMessage: "Invalid CVEC certificate number"
|
|
44
|
+
}),
|
|
45
|
+
showPlaceholderAndHideLabel: !!i,
|
|
46
|
+
required: a,
|
|
47
|
+
explanation: r || (l === "labeled-optional" ? /* @__PURE__ */ (0, N.jsx)(o, {
|
|
48
|
+
id: "cvecNumberExplanation",
|
|
49
|
+
defaultMessage: "Optional - Add your CVEC number to increase your chances of being verified instantly."
|
|
50
|
+
}) : /* @__PURE__ */ (0, N.jsx)(o, {
|
|
51
|
+
id: "_EXPERIMENTAL.cvecNumberExplanation",
|
|
52
|
+
defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
|
|
53
|
+
}))
|
|
54
|
+
});
|
|
55
|
+
}, F = Object.keys(n), I = ({ verificationService: t }) => {
|
|
56
|
+
let { msg: n } = c(), a = t.viewModel, { fieldValidationErrors: s } = t, S = t.verificationResponse, I = i(), L = u("include-cvec-field-france-student"), R = L !== "control" && L !== "default" && a?.countryChoice?.value === "FR", z = S.availableStatuses ?? [], B = z.includes("GRADUATE") && z.some((e) => e !== "GRADUATE");
|
|
57
|
+
M.useEffect(() => {
|
|
58
|
+
let e = (t.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "cvecNumber" && e !== "status");
|
|
59
|
+
R || (e = [...e, "cvecNumber"]), B || (e = [...e, "status"]), H("fieldsToSkipValidation", e);
|
|
60
|
+
}, [R, B]);
|
|
61
|
+
let V = l(S), H = (e, n) => {
|
|
62
|
+
let i = r(a, (t) => {
|
|
63
|
+
t[e] = n;
|
|
64
|
+
});
|
|
65
|
+
t.updateViewModel(i);
|
|
66
|
+
}, U = a.localeChoice.value, W = (e) => e ? {
|
|
67
|
+
value: e,
|
|
68
|
+
label: n({ id: e })
|
|
69
|
+
} : {
|
|
70
|
+
value: "",
|
|
71
|
+
label: ""
|
|
72
|
+
};
|
|
73
|
+
return /* @__PURE__ */ (0, N.jsxs)(k, {
|
|
74
|
+
verificationService: t,
|
|
75
|
+
step: S.currentStep,
|
|
76
|
+
children: [
|
|
77
|
+
/* @__PURE__ */ (0, N.jsx)(d, {
|
|
78
|
+
verificationService: t,
|
|
79
|
+
classNameIdentifier: "student-personal-info"
|
|
80
|
+
}),
|
|
81
|
+
/* @__PURE__ */ (0, N.jsx)(O, { verificationService: t }),
|
|
82
|
+
/* @__PURE__ */ (0, N.jsx)(E, {
|
|
83
|
+
verificationService: t,
|
|
84
|
+
disabled: h("country")?.disabled
|
|
85
|
+
}),
|
|
86
|
+
B && /* @__PURE__ */ (0, N.jsx)(j, {
|
|
87
|
+
segmentId: "student",
|
|
88
|
+
label: /* @__PURE__ */ (0, N.jsx)(o, {
|
|
89
|
+
id: "graduationStatus",
|
|
90
|
+
defaultMessage: "Graduation Status"
|
|
91
|
+
}),
|
|
92
|
+
value: W(a.status),
|
|
93
|
+
isErrored: !!s.status,
|
|
94
|
+
options: F.map(W),
|
|
95
|
+
disabled: h("status")?.disabled,
|
|
96
|
+
onChange: (e) => {
|
|
97
|
+
let n = e ? e.value : void 0;
|
|
98
|
+
H("status", n), m("status", n ?? "", t);
|
|
99
|
+
}
|
|
100
|
+
}),
|
|
101
|
+
/* @__PURE__ */ (0, N.jsx)(A, {
|
|
102
|
+
value: t.viewModel.organization,
|
|
103
|
+
verificationService: t,
|
|
104
|
+
isErrored: !!s.organization,
|
|
105
|
+
isRequired: !0,
|
|
106
|
+
disabled: h("organization")?.disabled,
|
|
107
|
+
onChange: (e) => {
|
|
108
|
+
f(e, t), m("organization", e, t);
|
|
109
|
+
}
|
|
110
|
+
}),
|
|
111
|
+
R && /* @__PURE__ */ (0, N.jsx)(P, {
|
|
112
|
+
isRequired: h("cvecNumber")?.requireIfOptional,
|
|
113
|
+
value: a.cvecNumber,
|
|
114
|
+
isErrored: !!s.cvecNumber,
|
|
115
|
+
disabled: h("cvecNumber")?.disabled,
|
|
116
|
+
onChange: (e) => {
|
|
117
|
+
H("cvecNumber", e), m("cvecNumber", e, t);
|
|
118
|
+
}
|
|
119
|
+
}),
|
|
120
|
+
/* @__PURE__ */ (0, N.jsx)("div", {
|
|
121
|
+
className: "sid-names-explanation sid-l-space-top-md",
|
|
122
|
+
children: /* @__PURE__ */ (0, N.jsx)(o, {
|
|
123
|
+
id: "step.personalInfo.nameInstructions",
|
|
124
|
+
defaultMessage: "Personal or school email is fine"
|
|
125
|
+
})
|
|
126
|
+
}),
|
|
127
|
+
/* @__PURE__ */ (0, N.jsxs)("div", {
|
|
128
|
+
className: "sid-names",
|
|
129
|
+
children: [/* @__PURE__ */ (0, N.jsx)(g, {
|
|
130
|
+
value: a.firstName,
|
|
131
|
+
isErrored: !!s.firstName,
|
|
132
|
+
disabled: h("firstName")?.disabled,
|
|
133
|
+
onChange: (e) => {
|
|
134
|
+
H("firstName", e), m("firstName", e, t);
|
|
135
|
+
}
|
|
136
|
+
}), /* @__PURE__ */ (0, N.jsx)(_, {
|
|
137
|
+
value: a.lastName,
|
|
138
|
+
isErrored: !!s.lastName,
|
|
139
|
+
disabled: h("lastName")?.disabled,
|
|
140
|
+
onChange: (e) => {
|
|
141
|
+
H("lastName", e), m("lastName", e, t);
|
|
142
|
+
}
|
|
143
|
+
})]
|
|
144
|
+
}),
|
|
145
|
+
/* @__PURE__ */ (0, N.jsx)(T, {
|
|
146
|
+
value: a.birthDate,
|
|
147
|
+
errorId: s.birthDate,
|
|
148
|
+
locale: U,
|
|
149
|
+
isRequired: !0,
|
|
150
|
+
disabled: h("birthDate")?.disabled,
|
|
151
|
+
onChange: (e) => {
|
|
152
|
+
H("birthDate", e), m("birthDate", e, t);
|
|
153
|
+
}
|
|
154
|
+
}),
|
|
155
|
+
/* @__PURE__ */ (0, N.jsx)(C, {
|
|
156
|
+
value: a.email,
|
|
157
|
+
isErrored: !!s.email,
|
|
158
|
+
explanation: /* @__PURE__ */ (0, N.jsx)(o, {
|
|
159
|
+
id: "emailExplanation",
|
|
160
|
+
defaultMessage: "Personal or school email is fine"
|
|
161
|
+
}),
|
|
162
|
+
onChange: (e) => {
|
|
163
|
+
H("email", e), m("email", e, t);
|
|
164
|
+
},
|
|
165
|
+
onKeyDown: (e) => p(e),
|
|
166
|
+
disabled: h("email")?.disabled
|
|
167
|
+
}),
|
|
168
|
+
t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, N.jsx)(y, {
|
|
169
|
+
isRequired: !!t.programTheme.smsLoopEnabled,
|
|
170
|
+
value: a.phoneNumber,
|
|
171
|
+
isErrored: !!s.phoneNumber,
|
|
172
|
+
disabled: h("phoneNumber")?.disabled,
|
|
173
|
+
onChange: (e) => {
|
|
174
|
+
H("phoneNumber", e), m("phoneNumber", e, t);
|
|
175
|
+
},
|
|
176
|
+
selectedCountryCode: a.countryChoice && a.countryChoice.value
|
|
177
|
+
}) : null,
|
|
178
|
+
(I.customFormFields || []).map((e) => /* @__PURE__ */ (0, N.jsx)(v, {
|
|
179
|
+
config: e,
|
|
180
|
+
verificationService: t
|
|
181
|
+
})),
|
|
182
|
+
" ",
|
|
183
|
+
/* @__PURE__ */ (0, N.jsx)(b, {
|
|
184
|
+
verificationService: t,
|
|
185
|
+
isErrored: !!s.marketConsentValue,
|
|
186
|
+
disabled: h("marketConsentValue")?.disabled,
|
|
187
|
+
onChange: (e) => {
|
|
188
|
+
H("metadata", {
|
|
189
|
+
...t.viewModel.metadata,
|
|
190
|
+
marketConsentValue: e
|
|
191
|
+
}), m("marketConsentValue", e, t);
|
|
192
|
+
},
|
|
193
|
+
viewModel: a
|
|
194
|
+
}),
|
|
195
|
+
/* @__PURE__ */ (0, N.jsx)(D, {
|
|
196
|
+
verificationService: t,
|
|
197
|
+
suffix: "CollectAboveSubmit"
|
|
198
|
+
}),
|
|
199
|
+
/* @__PURE__ */ (0, N.jsx)(x, {
|
|
200
|
+
verificationService: t,
|
|
201
|
+
isErrored: !!s.captchaToken
|
|
202
|
+
}),
|
|
203
|
+
/* @__PURE__ */ (0, N.jsx)(w, {
|
|
204
|
+
step: e.collectStudentPersonalInfo,
|
|
205
|
+
verificationService: t,
|
|
206
|
+
viewModel: a,
|
|
207
|
+
failedInstantMatch: V,
|
|
208
|
+
buttonText: /* @__PURE__ */ (0, N.jsx)(o, {
|
|
209
|
+
id: "step.personalInfo.submitButtonText",
|
|
210
|
+
defaultMessage: "Verify My Student Status"
|
|
211
|
+
})
|
|
212
|
+
})
|
|
213
|
+
]
|
|
214
|
+
});
|
|
215
|
+
};
|
|
216
|
+
//#endregion
|
|
217
|
+
export { I as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepStudentPersonalInfo-CDJ5MqYn.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.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","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n type FieldId,\n type FormSelectChoice,\n type StudentStatusSelection,\n} from \"@/lib/types/types\";\n\nimport { StudentStatusDefaultMessagesEnum, VerificationStepsEnum } from \"@/lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"@/lib/VerificationService/VerificationServiceHelpers\";\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 { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\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 // The \"Graduation Status\" input applies only when the program offers a genuine\n // Student or Graduate choice: GRADUATE and at least one non-graduate student status\n // The \"Student\" option includes all program configured non-graduate statuses\n const availableStatuses = verificationResponse.availableStatuses ?? [];\n const showGraduateStatusInput =\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"status\",\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, \"status\"];\n }\n updateStudentViewModel(\"fieldsToSkipValidation\", skip);\n }, [showCvecInput, showGraduateStatusInput]);\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 const getStatusChoice = (status?: StudentStatusSelection): FormSelectChoice =>\n status\n ? {\n value: status,\n label: msg({ id: status }),\n }\n : { value: \"\", label: \"\" };\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 <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={getStatusChoice(viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n options={STATUS_SELECTIONS.map(getStatusChoice)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const value = status ? (status.value as StudentStatusSelection) : undefined;\n updateStudentViewModel(\"status\", value);\n updateFieldValidationErrorsByFieldId(\"status\", value ?? \"\", verificationService);\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":";;;;;;;;;;;;;;;;;;4CAaA,KAAA,EAAA,UAAA,cAAA,aAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,GCdM,IAAoB,OAAO,KAAK,CAAgC,GAMzD,KAAoC,EAC/C,6BAC2C;CAC3C,IAAM,EAAE,WAAQ,EAAW,GACrB,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU,MAMhC,IAAoB,EAAqB,qBAAqB,CAAC,GAC/D,IACJ,EAAkB,SAAS,UAAU,KAAK,EAAkB,MAAM,MAAM,MAAM,UAAU;CAE1F,EAAM,gBAAgB;EACpB,IAAI,KAAmB,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QACjF,MAAO,MAAO,gBAAgB,MAAO,QACxC;EASA,AARK,MAEH,IAAO,CAAC,GAAG,GAAM,YAAY,IAE1B,MAEH,IAAO,CAAC,GAAG,GAAM,QAAQ,IAE3B,EAAuB,0BAA0B,CAAI;CACvD,GAAG,CAAC,GAAe,CAAuB,CAAC;CAE3C,IAAM,IAAqB,EAAsB,CAAoB,GAE/D,KAA0B,GAAyC,MAAe;EACtF,IAAM,IAA0C,EAC9C,IACC,MAAwC;GACvC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IAAS,EAAU,aAAa,OAEhC,KAAmB,MACvB,IACI;EACE,OAAO;EACP,OAAO,EAAI,EAAE,IAAI,EAAO,CAAC;CAC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fe2d0c43f5327d4569e8353b6e7
|
|
7
|
+
*/
|
|
8
|
+
import { Ft as e, Wt as t, c as n, jt as r, n as i } from "./options-pBCAJBwS.js";
|
|
9
|
+
import { c as a, n as o, t as s } from "./jsx-runtime-Ini3eO9_.js";
|
|
10
|
+
import { n as c } from "./Message-C8RQk5lc.js";
|
|
11
|
+
import { h as l } from "./FormFooterComponent-CKDwnyg2.js";
|
|
12
|
+
import { t as u } from "./hooks-ChQrxN58.js";
|
|
13
|
+
import { n as d } from "../sheerid.js";
|
|
14
|
+
import { _ as f, c as p, g as m, i as h } from "./stepComponentHelpers-BOwTk6Tq.js";
|
|
15
|
+
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-_azicSSq.js";
|
|
16
|
+
import { t as S } from "./FormFieldText-BbdrtNh_.js";
|
|
17
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-ksVF3h1P.js";
|
|
18
|
+
import { t as T } from "./BirthDateComponent-CD4M-BN9.js";
|
|
19
|
+
import { t as E } from "./CountryComponentWrapper-DziHrBMX.js";
|
|
20
|
+
import { t as D } from "./ExtraMessage-BCHypT6I.js";
|
|
21
|
+
import { t as O } from "./ChangeLocaleComponent-DaswLDgf.js";
|
|
22
|
+
import { t as k } from "./PersonalInfoStepWrapper-bFDtj-hV.js";
|
|
23
|
+
import { t as A } from "./CollegeNameComponent-BPwD0IZd.js";
|
|
24
|
+
import { t as j } from "./StatusComponent-BlVRLPOR.js";
|
|
25
|
+
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
26
|
+
var M = /* @__PURE__ */ t(a(), 1), N = s(), P = ({ value: e, isErrored: t, onChange: n, explanation: r, placeholder: i = "", isRequired: a = !1 }) => {
|
|
27
|
+
let { msg: s } = c(), l = u("include-cvec-field-france-student");
|
|
28
|
+
return h("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, N.jsx)(S, {
|
|
29
|
+
fieldId: "cvecNumber",
|
|
30
|
+
value: e,
|
|
31
|
+
onChange: n,
|
|
32
|
+
placeholder: i || s({ id: "cvecNumber" }),
|
|
33
|
+
label: /* @__PURE__ */ (0, N.jsx)(o, {
|
|
34
|
+
id: "cvecNumber",
|
|
35
|
+
defaultMessage: "CVEC certificate number"
|
|
36
|
+
}),
|
|
37
|
+
errorMessage: t && /* @__PURE__ */ (0, N.jsx)(o, {
|
|
38
|
+
id: "errorId.invalidCvecNumber",
|
|
39
|
+
defaultMessage: "Invalid CVEC certificate number"
|
|
40
|
+
}),
|
|
41
|
+
showPlaceholderAndHideLabel: !!i,
|
|
42
|
+
required: a,
|
|
43
|
+
explanation: r || (l === "labeled-optional" ? /* @__PURE__ */ (0, N.jsx)(o, {
|
|
44
|
+
id: "cvecNumberExplanation",
|
|
45
|
+
defaultMessage: "Optional - Add your CVEC number to increase your chances of being verified instantly."
|
|
46
|
+
}) : /* @__PURE__ */ (0, N.jsx)(o, {
|
|
47
|
+
id: "_EXPERIMENTAL.cvecNumberExplanation",
|
|
48
|
+
defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
|
|
49
|
+
}))
|
|
50
|
+
});
|
|
51
|
+
}, F = Object.keys(r), I = ({ verificationService: t }) => {
|
|
52
|
+
let { msg: r } = c(), a = t.viewModel, { fieldValidationErrors: s } = t, S = t.verificationResponse, I = i(), L = u("include-cvec-field-france-student"), R = L !== "control" && L !== "default" && a?.countryChoice?.value === "FR", z = S.availableStatuses ?? [], B = z.includes("GRADUATE") && z.some((e) => e !== "GRADUATE");
|
|
53
|
+
M.useEffect(() => {
|
|
54
|
+
let e = (t.viewModel?.fieldsToSkipValidation || []).filter((e) => e !== "cvecNumber" && e !== "status");
|
|
55
|
+
R || (e = [...e, "cvecNumber"]), B || (e = [...e, "status"]), H("fieldsToSkipValidation", e);
|
|
56
|
+
}, [R, B]);
|
|
57
|
+
let V = l(S), H = (e, r) => {
|
|
58
|
+
let i = n(a, (t) => {
|
|
59
|
+
t[e] = r;
|
|
60
|
+
});
|
|
61
|
+
t.updateViewModel(i);
|
|
62
|
+
}, U = a.localeChoice.value, W = (e) => e ? {
|
|
63
|
+
value: e,
|
|
64
|
+
label: r({ id: e })
|
|
65
|
+
} : {
|
|
66
|
+
value: "",
|
|
67
|
+
label: ""
|
|
68
|
+
};
|
|
69
|
+
return /* @__PURE__ */ (0, N.jsxs)(k, {
|
|
70
|
+
verificationService: t,
|
|
71
|
+
step: S.currentStep,
|
|
72
|
+
children: [
|
|
73
|
+
/* @__PURE__ */ (0, N.jsx)(d, {
|
|
74
|
+
verificationService: t,
|
|
75
|
+
classNameIdentifier: "student-personal-info"
|
|
76
|
+
}),
|
|
77
|
+
/* @__PURE__ */ (0, N.jsx)(O, { verificationService: t }),
|
|
78
|
+
/* @__PURE__ */ (0, N.jsx)(E, {
|
|
79
|
+
verificationService: t,
|
|
80
|
+
disabled: h("country")?.disabled
|
|
81
|
+
}),
|
|
82
|
+
B && /* @__PURE__ */ (0, N.jsx)(j, {
|
|
83
|
+
segmentId: "student",
|
|
84
|
+
label: /* @__PURE__ */ (0, N.jsx)(o, {
|
|
85
|
+
id: "graduationStatus",
|
|
86
|
+
defaultMessage: "Graduation Status"
|
|
87
|
+
}),
|
|
88
|
+
value: W(a.status),
|
|
89
|
+
isErrored: !!s.status,
|
|
90
|
+
options: F.map(W),
|
|
91
|
+
disabled: h("status")?.disabled,
|
|
92
|
+
onChange: (e) => {
|
|
93
|
+
let n = e ? e.value : void 0;
|
|
94
|
+
H("status", n), m("status", n ?? "", t);
|
|
95
|
+
}
|
|
96
|
+
}),
|
|
97
|
+
/* @__PURE__ */ (0, N.jsx)(A, {
|
|
98
|
+
value: t.viewModel.organization,
|
|
99
|
+
verificationService: t,
|
|
100
|
+
isErrored: !!s.organization,
|
|
101
|
+
isRequired: !0,
|
|
102
|
+
disabled: h("organization")?.disabled,
|
|
103
|
+
onChange: (e) => {
|
|
104
|
+
f(e, t), m("organization", e, t);
|
|
105
|
+
}
|
|
106
|
+
}),
|
|
107
|
+
R && /* @__PURE__ */ (0, N.jsx)(P, {
|
|
108
|
+
isRequired: h("cvecNumber")?.requireIfOptional,
|
|
109
|
+
value: a.cvecNumber,
|
|
110
|
+
isErrored: !!s.cvecNumber,
|
|
111
|
+
disabled: h("cvecNumber")?.disabled,
|
|
112
|
+
onChange: (e) => {
|
|
113
|
+
H("cvecNumber", e), m("cvecNumber", e, t);
|
|
114
|
+
}
|
|
115
|
+
}),
|
|
116
|
+
/* @__PURE__ */ (0, N.jsx)("div", {
|
|
117
|
+
className: "sid-names-explanation sid-l-space-top-md",
|
|
118
|
+
children: /* @__PURE__ */ (0, N.jsx)(o, {
|
|
119
|
+
id: "step.personalInfo.nameInstructions",
|
|
120
|
+
defaultMessage: "Personal or school email is fine"
|
|
121
|
+
})
|
|
122
|
+
}),
|
|
123
|
+
/* @__PURE__ */ (0, N.jsxs)("div", {
|
|
124
|
+
className: "sid-names",
|
|
125
|
+
children: [/* @__PURE__ */ (0, N.jsx)(g, {
|
|
126
|
+
value: a.firstName,
|
|
127
|
+
isErrored: !!s.firstName,
|
|
128
|
+
disabled: h("firstName")?.disabled,
|
|
129
|
+
onChange: (e) => {
|
|
130
|
+
H("firstName", e), m("firstName", e, t);
|
|
131
|
+
}
|
|
132
|
+
}), /* @__PURE__ */ (0, N.jsx)(_, {
|
|
133
|
+
value: a.lastName,
|
|
134
|
+
isErrored: !!s.lastName,
|
|
135
|
+
disabled: h("lastName")?.disabled,
|
|
136
|
+
onChange: (e) => {
|
|
137
|
+
H("lastName", e), m("lastName", e, t);
|
|
138
|
+
}
|
|
139
|
+
})]
|
|
140
|
+
}),
|
|
141
|
+
/* @__PURE__ */ (0, N.jsx)(T, {
|
|
142
|
+
value: a.birthDate,
|
|
143
|
+
errorId: s.birthDate,
|
|
144
|
+
locale: U,
|
|
145
|
+
isRequired: !0,
|
|
146
|
+
disabled: h("birthDate")?.disabled,
|
|
147
|
+
onChange: (e) => {
|
|
148
|
+
H("birthDate", e), m("birthDate", e, t);
|
|
149
|
+
}
|
|
150
|
+
}),
|
|
151
|
+
/* @__PURE__ */ (0, N.jsx)(C, {
|
|
152
|
+
value: a.email,
|
|
153
|
+
isErrored: !!s.email,
|
|
154
|
+
explanation: /* @__PURE__ */ (0, N.jsx)(o, {
|
|
155
|
+
id: "emailExplanation",
|
|
156
|
+
defaultMessage: "Personal or school email is fine"
|
|
157
|
+
}),
|
|
158
|
+
onChange: (e) => {
|
|
159
|
+
H("email", e), m("email", e, t);
|
|
160
|
+
},
|
|
161
|
+
onKeyDown: (e) => p(e),
|
|
162
|
+
disabled: h("email")?.disabled
|
|
163
|
+
}),
|
|
164
|
+
t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, N.jsx)(y, {
|
|
165
|
+
isRequired: !!t.programTheme.smsLoopEnabled,
|
|
166
|
+
value: a.phoneNumber,
|
|
167
|
+
isErrored: !!s.phoneNumber,
|
|
168
|
+
disabled: h("phoneNumber")?.disabled,
|
|
169
|
+
onChange: (e) => {
|
|
170
|
+
H("phoneNumber", e), m("phoneNumber", e, t);
|
|
171
|
+
},
|
|
172
|
+
selectedCountryCode: a.countryChoice && a.countryChoice.value
|
|
173
|
+
}) : null,
|
|
174
|
+
(I.customFormFields || []).map((e) => /* @__PURE__ */ (0, N.jsx)(v, {
|
|
175
|
+
config: e,
|
|
176
|
+
verificationService: t
|
|
177
|
+
})),
|
|
178
|
+
" ",
|
|
179
|
+
/* @__PURE__ */ (0, N.jsx)(b, {
|
|
180
|
+
verificationService: t,
|
|
181
|
+
isErrored: !!s.marketConsentValue,
|
|
182
|
+
disabled: h("marketConsentValue")?.disabled,
|
|
183
|
+
onChange: (e) => {
|
|
184
|
+
H("metadata", {
|
|
185
|
+
...t.viewModel.metadata,
|
|
186
|
+
marketConsentValue: e
|
|
187
|
+
}), m("marketConsentValue", e, t);
|
|
188
|
+
},
|
|
189
|
+
viewModel: a
|
|
190
|
+
}),
|
|
191
|
+
/* @__PURE__ */ (0, N.jsx)(D, {
|
|
192
|
+
verificationService: t,
|
|
193
|
+
suffix: "CollectAboveSubmit"
|
|
194
|
+
}),
|
|
195
|
+
/* @__PURE__ */ (0, N.jsx)(x, {
|
|
196
|
+
verificationService: t,
|
|
197
|
+
isErrored: !!s.captchaToken
|
|
198
|
+
}),
|
|
199
|
+
/* @__PURE__ */ (0, N.jsx)(w, {
|
|
200
|
+
step: e.collectStudentPersonalInfo,
|
|
201
|
+
verificationService: t,
|
|
202
|
+
viewModel: a,
|
|
203
|
+
failedInstantMatch: V,
|
|
204
|
+
buttonText: /* @__PURE__ */ (0, N.jsx)(o, {
|
|
205
|
+
id: "step.personalInfo.submitButtonText",
|
|
206
|
+
defaultMessage: "Verify My Student Status"
|
|
207
|
+
})
|
|
208
|
+
})
|
|
209
|
+
]
|
|
210
|
+
});
|
|
211
|
+
};
|
|
212
|
+
//#endregion
|
|
213
|
+
export { I as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepStudentPersonalInfo-tgT5jO54.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.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","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n type FieldId,\n type FormSelectChoice,\n type StudentStatusSelection,\n} from \"@/lib/types/types\";\n\nimport { StudentStatusDefaultMessagesEnum, VerificationStepsEnum } from \"@/lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"@/lib/VerificationService/VerificationServiceHelpers\";\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 { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\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 // The \"Graduation Status\" input applies only when the program offers a genuine\n // Student or Graduate choice: GRADUATE and at least one non-graduate student status\n // The \"Student\" option includes all program configured non-graduate statuses\n const availableStatuses = verificationResponse.availableStatuses ?? [];\n const showGraduateStatusInput =\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"status\",\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, \"status\"];\n }\n updateStudentViewModel(\"fieldsToSkipValidation\", skip);\n }, [showCvecInput, showGraduateStatusInput]);\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 const getStatusChoice = (status?: StudentStatusSelection): FormSelectChoice =>\n status\n ? {\n value: status,\n label: msg({ id: status }),\n }\n : { value: \"\", label: \"\" };\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 <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={getStatusChoice(viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n options={STATUS_SELECTIONS.map(getStatusChoice)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const value = status ? (status.value as StudentStatusSelection) : undefined;\n updateStudentViewModel(\"status\", value);\n updateFieldValidationErrorsByFieldId(\"status\", value ?? \"\", verificationService);\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":";;;;;;;;;;;;;;;;;;4CAaA,KAAA,EAAA,UAAA,cAAA,aAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,GCdM,IAAoB,OAAO,KAAK,CAAgC,GAMzD,KAAoC,EAC/C,6BAC2C;CAC3C,IAAM,EAAE,WAAQ,EAAW,GACrB,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU,MAMhC,IAAoB,EAAqB,qBAAqB,CAAC,GAC/D,IACJ,EAAkB,SAAS,UAAU,KAAK,EAAkB,MAAM,MAAM,MAAM,UAAU;CAE1F,EAAM,gBAAgB;EACpB,IAAI,KAAmB,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QACjF,MAAO,MAAO,gBAAgB,MAAO,QACxC;EASA,AARK,MAEH,IAAO,CAAC,GAAG,GAAM,YAAY,IAE1B,MAEH,IAAO,CAAC,GAAG,GAAM,QAAQ,IAE3B,EAAuB,0BAA0B,CAAI;CACvD,GAAG,CAAC,GAAe,CAAuB,CAAC;CAE3C,IAAM,IAAqB,EAAsB,CAAoB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EzB"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Sep 09 2026
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.279.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1788995296072
|
|
5
|
+
* BUILD_DATE: Wed Sep 09 2026 23:08:16 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: fdde81acaae8bfe2d0c43f5327d4569e8353b6e7
|
|
7
7
|
*/
|
|
8
8
|
import { Bt as e, Dt as t, G as n, K as r, Wt as i, d as a, m as o, n as s, w as c } from "./options-pBCAJBwS.js";
|
|
9
9
|
import { c as l, n as u, t as d } from "./jsx-runtime-Ini3eO9_.js";
|
|
10
10
|
import { i as f } from "./TestingRouteOverrides-CrhfSmLr.js";
|
|
11
|
-
import { f as p, t as m } from "./ApiUrls-
|
|
11
|
+
import { f as p, t as m } from "./ApiUrls-CKbVuRAx.js";
|
|
12
12
|
import { t as h } from "./eventEmitter-CSG6jR7V.js";
|
|
13
13
|
import { t as g } from "./hooks-ChQrxN58.js";
|
|
14
14
|
import { t as _ } from "./LogoComponent-Do8K5ydz.js";
|
|
15
15
|
import { t as v } from "./AnnouncingHeader-CCVSQeQR.js";
|
|
16
|
-
import {
|
|
16
|
+
import { a as y } from "./stepComponentHelpers-BOwTk6Tq.js";
|
|
17
17
|
import { t as b } from "./CopyToClipboardComponent-DGi3bxV2.js";
|
|
18
18
|
//#region src/lib/installScript/utils.ts
|
|
19
19
|
var x = /* @__PURE__ */ i(l(), 1), S = (e) => {
|