@sheerid/jslib 2.277.0 → 2.278.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 +91 -90
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/AddressComponent-CaMRwh5O.js +37 -0
- package/chunk/AddressComponent-CaMRwh5O.js.map +1 -0
- package/chunk/AddressComponent-LZTJCC-l.js +41 -0
- package/chunk/AddressComponent-LZTJCC-l.js.map +1 -0
- package/chunk/AnnouncingHeader-CCVSQeQR.js +4 -4
- package/chunk/AnnouncingHeader-YPjBYzsZ.js +4 -4
- package/chunk/{ApiUrls-C93kMsSC.js → ApiUrls-DRCiQtw6.js} +5 -5
- package/chunk/{ApiUrls-C93kMsSC.js.map → ApiUrls-DRCiQtw6.js.map} +1 -1
- package/chunk/{ApiUrls-BEuqNxHS.js → ApiUrls-_Hc7S_uv.js} +5 -5
- package/chunk/{ApiUrls-BEuqNxHS.js.map → ApiUrls-_Hc7S_uv.js.map} +1 -1
- package/chunk/{BirthDateComponent-f9e4it7x.js → BirthDateComponent-CAQJ-IWM.js} +5 -5
- package/chunk/{BirthDateComponent-MZDnneXy.js.map → BirthDateComponent-CAQJ-IWM.js.map} +1 -1
- package/chunk/{BirthDateComponent-MZDnneXy.js → BirthDateComponent-_BjsBSM4.js} +5 -5
- package/chunk/{BirthDateComponent-f9e4it7x.js.map → BirthDateComponent-_BjsBSM4.js.map} +1 -1
- package/chunk/{CaptchaComponent-CCq7YSum.js → CaptchaComponent-BqREyMje.js} +118 -117
- package/chunk/CaptchaComponent-BqREyMje.js.map +1 -0
- package/chunk/{CaptchaComponent-hqx9tSkk.js → CaptchaComponent-D2OIvL-b.js} +118 -117
- package/chunk/CaptchaComponent-D2OIvL-b.js.map +1 -0
- package/chunk/{ChangeLocaleComponent-DtJjnuBc.js → ChangeLocaleComponent-BvnXlDa-.js} +5 -5
- package/chunk/{ChangeLocaleComponent-CKKK4OcA.js.map → ChangeLocaleComponent-BvnXlDa-.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CKKK4OcA.js → ChangeLocaleComponent-CpHB_D8Q.js} +5 -5
- package/chunk/{ChangeLocaleComponent-DtJjnuBc.js.map → ChangeLocaleComponent-CpHB_D8Q.js.map} +1 -1
- package/chunk/City-B6bQRRvQ.js +40 -0
- package/chunk/City-B6bQRRvQ.js.map +1 -0
- package/chunk/City-CCBan228.js +36 -0
- package/chunk/City-CCBan228.js.map +1 -0
- package/chunk/{CollegeNameComponent-C47D3rO4.js → CollegeNameComponent-BbxIOfzR.js} +5 -5
- package/chunk/{CollegeNameComponent-4QYMIIcd.js.map → CollegeNameComponent-BbxIOfzR.js.map} +1 -1
- package/chunk/{CollegeNameComponent-4QYMIIcd.js → CollegeNameComponent-CEJO0-bq.js} +5 -5
- package/chunk/{CollegeNameComponent-C47D3rO4.js.map → CollegeNameComponent-CEJO0-bq.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-DGi3bxV2.js +4 -4
- package/chunk/CopyToClipboardComponent-cLuyXFes.js +4 -4
- package/chunk/CountryComponentWrapper-BNtvUusJ.js +82 -0
- package/chunk/CountryComponentWrapper-BNtvUusJ.js.map +1 -0
- package/chunk/CountryComponentWrapper-CW4yj9IF.js +78 -0
- package/chunk/CountryComponentWrapper-CW4yj9IF.js.map +1 -0
- package/chunk/DischargeDateComponent-CNaz5UZP.js +120 -0
- package/chunk/DischargeDateComponent-CNaz5UZP.js.map +1 -0
- package/chunk/DischargeDateComponent-tTwN3FLy.js +116 -0
- package/chunk/DischargeDateComponent-tTwN3FLy.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-B5_svahy.js +43 -0
- package/chunk/DriverLicenseNumberComponent-B5_svahy.js.map +1 -0
- package/chunk/DriverLicenseNumberComponent-vsVldXkA.js +39 -0
- package/chunk/DriverLicenseNumberComponent-vsVldXkA.js.map +1 -0
- package/chunk/{EmailLoopPending-HyZBgisU.js → EmailLoopPending-CYCQv7pW.js} +5 -5
- package/chunk/{EmailLoopPending-HyZBgisU.js.map → EmailLoopPending-CYCQv7pW.js.map} +1 -1
- package/chunk/{EmailLoopPending-ojWCBFjq.js → EmailLoopPending-DNFHR6Ck.js} +5 -5
- package/chunk/{EmailLoopPending-ojWCBFjq.js.map → EmailLoopPending-DNFHR6Ck.js.map} +1 -1
- package/chunk/{ExtraMessage-PLTUBdhw.js → ExtraMessage-Byw0Tgm1.js} +5 -5
- package/chunk/{ExtraMessage-BXxlQROb.js.map → ExtraMessage-Byw0Tgm1.js.map} +1 -1
- package/chunk/{ExtraMessage-BXxlQROb.js → ExtraMessage-g4LSV-H2.js} +5 -5
- package/chunk/{ExtraMessage-PLTUBdhw.js.map → ExtraMessage-g4LSV-H2.js.map} +1 -1
- package/chunk/FirstResponderOrganizationComponent-BtIXngo4.js +41 -0
- package/chunk/FirstResponderOrganizationComponent-BtIXngo4.js.map +1 -0
- package/chunk/FirstResponderOrganizationComponent-DVF6aC7P.js +37 -0
- package/chunk/FirstResponderOrganizationComponent-DVF6aC7P.js.map +1 -0
- package/chunk/{FormFieldInputSelect-Cl4QZ12h.js → FormFieldInputSelect-D1aFx17c.js} +5 -5
- package/chunk/{FormFieldInputSelect-C6OyLsWL.js.map → FormFieldInputSelect-D1aFx17c.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C6OyLsWL.js → FormFieldInputSelect-ie6Vx1Bx.js} +5 -5
- package/chunk/{FormFieldInputSelect-Cl4QZ12h.js.map → FormFieldInputSelect-ie6Vx1Bx.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-DbrQgvbJ.js → FormFieldTypeahead-DQEez7ko.js} +466 -469
- package/chunk/{FormFieldTypeahead-DTFxOQnf.js.map → FormFieldTypeahead-DQEez7ko.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DTFxOQnf.js → FormFieldTypeahead-uKX8ZHqO.js} +385 -388
- package/chunk/{FormFieldTypeahead-DbrQgvbJ.js.map → FormFieldTypeahead-uKX8ZHqO.js.map} +1 -1
- package/chunk/FormFooterComponent-BHQc5VBK.js +2007 -0
- package/chunk/FormFooterComponent-BHQc5VBK.js.map +1 -0
- package/chunk/FormFooterComponent-CAoH3NjO.js +1981 -0
- package/chunk/FormFooterComponent-CAoH3NjO.js.map +1 -0
- package/chunk/{FormSelectChoice-C4LlT7fR.js → FormSelectChoice-Cm99LmoK.js} +5 -5
- package/chunk/{FormSelectChoice-C4LlT7fR.js.map → FormSelectChoice-Cm99LmoK.js.map} +1 -1
- package/chunk/{FormSelectChoice-CClt04rV.js → FormSelectChoice-DjcUTWnw.js} +5 -5
- package/chunk/{FormSelectChoice-CClt04rV.js.map → FormSelectChoice-DjcUTWnw.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 +40 -0
- package/chunk/LicensedProfessionalOrganizationComponent-BHrQmG_W.js.map +1 -0
- package/chunk/LicensedProfessionalOrganizationComponent-DMdDUhnU.js +36 -0
- package/chunk/LicensedProfessionalOrganizationComponent-DMdDUhnU.js.map +1 -0
- package/chunk/LogoComponent-Do8K5ydz.js +4 -4
- package/chunk/LogoComponent-Dx1G-rzE.js +4 -4
- package/chunk/LowIncomeOrganizationComponent-CZnbIM2h.js +101 -0
- package/chunk/LowIncomeOrganizationComponent-CZnbIM2h.js.map +1 -0
- package/chunk/LowIncomeOrganizationComponent-DLxB_wnC.js +105 -0
- package/chunk/LowIncomeOrganizationComponent-DLxB_wnC.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-CozwSmoI.js +41 -0
- package/chunk/MedicalProfessionalOrganizationComponent-CozwSmoI.js.map +1 -0
- package/chunk/MedicalProfessionalOrganizationComponent-t-k48G10.js +37 -0
- package/chunk/MedicalProfessionalOrganizationComponent-t-k48G10.js.map +1 -0
- package/chunk/MemberIdComponent-BzUuPdSk.js +39 -0
- package/chunk/MemberIdComponent-BzUuPdSk.js.map +1 -0
- package/chunk/MemberIdComponent-CYqH9MG5.js +43 -0
- package/chunk/MemberIdComponent-CYqH9MG5.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-BPQ27RX9.js +40 -0
- package/chunk/MembershipOrganizationComponent-BPQ27RX9.js.map +1 -0
- package/chunk/MembershipOrganizationComponent-Bbu2i3Dm.js +36 -0
- package/chunk/MembershipOrganizationComponent-Bbu2i3Dm.js.map +1 -0
- package/chunk/{FormFooterComponent-CaOt9TQw.js → Message-BK3a2RyH.js} +1417 -3384
- package/chunk/Message-BK3a2RyH.js.map +1 -0
- package/chunk/Message-CSa2etjX.js +6859 -0
- package/chunk/Message-CSa2etjX.js.map +1 -0
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-DA3ceOLw.js → PersonalInfoStepSubmitButton-BcdQUzMO.js} +34 -33
- package/chunk/PersonalInfoStepSubmitButton-BcdQUzMO.js.map +1 -0
- package/chunk/{PersonalInfoStepSubmitButton-D_Y9q0Iy.js → PersonalInfoStepSubmitButton-VxT_vwVv.js} +34 -33
- package/chunk/PersonalInfoStepSubmitButton-VxT_vwVv.js.map +1 -0
- package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js → PersonalInfoStepWrapper-BHS3GKl7.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-6neTJTQD.js.map → PersonalInfoStepWrapper-BHS3GKl7.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js → PersonalInfoStepWrapper-CxRB64LQ.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-Dsb0Qcv5.js.map → PersonalInfoStepWrapper-CxRB64LQ.js.map} +1 -1
- package/chunk/PostalCodeComponent-CKbC80_m.js +38 -0
- package/chunk/PostalCodeComponent-CKbC80_m.js.map +1 -0
- package/chunk/PostalCodeComponent-jmSOU3LM.js +42 -0
- package/chunk/PostalCodeComponent-jmSOU3LM.js.map +1 -0
- package/chunk/SSN-DHAzpgQK.js +45 -0
- package/chunk/SSN-DHAzpgQK.js.map +1 -0
- package/chunk/SSN-DNVykxAU.js +49 -0
- package/chunk/SSN-DNVykxAU.js.map +1 -0
- package/chunk/StateSelectComponent-B5lHw2N5.js +42 -0
- package/chunk/StateSelectComponent-B5lHw2N5.js.map +1 -0
- package/chunk/StateSelectComponent-B7Cp6ANo.js +38 -0
- package/chunk/StateSelectComponent-B7Cp6ANo.js.map +1 -0
- package/chunk/{StatusComponent-BxQNsHYs.js → StatusComponent-CrGh5fqB.js} +5 -5
- package/chunk/{StatusComponent-BTvs1WVn.js.map → StatusComponent-CrGh5fqB.js.map} +1 -1
- package/chunk/{StatusComponent-BTvs1WVn.js → StatusComponent-CyX5COrt.js} +5 -5
- package/chunk/{StatusComponent-BxQNsHYs.js.map → StatusComponent-CyX5COrt.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-UWfkIpnn.js → StepAgePersonalInfo-BswIeVCd.js} +16 -16
- package/chunk/{StepAgePersonalInfo-BOnOqXxm.js.map → StepAgePersonalInfo-BswIeVCd.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BOnOqXxm.js → StepAgePersonalInfo-CHBH5ROm.js} +16 -16
- package/chunk/{StepAgePersonalInfo-UWfkIpnn.js.map → StepAgePersonalInfo-CHBH5ROm.js.map} +1 -1
- package/chunk/StepCard-B0o7IN6g.js +4 -4
- package/chunk/StepCard-CWT2BiAH.js +4 -4
- package/chunk/{StepCollectIdentifier-CtpUvhZs.js → StepCollectIdentifier-D8IjgFjI.js} +6 -6
- package/chunk/{StepCollectIdentifier-D7bSwvYI.js.map → StepCollectIdentifier-D8IjgFjI.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-D7bSwvYI.js → StepCollectIdentifier-dPXJHRwi.js} +8 -8
- package/chunk/{StepCollectIdentifier-CtpUvhZs.js.map → StepCollectIdentifier-dPXJHRwi.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js → StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js} +19 -19
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js.map → StepCollectMilitaryPersonalInfoComponent-BanhTbjr.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-BcmZhgl3.js → StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js} +19 -19
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-CHxXr8xM.js.map → StepCollectMilitaryPersonalInfoComponent-nUcsuObN.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-BlAJbqgb.js → StepCollectPersonalInfo-BLClPcAC.js} +31 -31
- package/chunk/{StepCollectPersonalInfo-BlAJbqgb.js.map → StepCollectPersonalInfo-BLClPcAC.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-CzLVKlZ3.js → StepCollectPersonalInfo-BvBAA_0_.js} +30 -30
- package/chunk/{StepCollectPersonalInfo-CzLVKlZ3.js.map → StepCollectPersonalInfo-BvBAA_0_.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-Cnv_QzG7.js +4 -4
- package/chunk/StepCompleteAuthentication-D7NH3MFa.js +4 -4
- package/chunk/{StepConsolation-C5ZHdmQ6.js → StepConsolation-CKbOj-OW.js} +5 -5
- package/chunk/{StepConsolation-BrzJnbYN.js.map → StepConsolation-CKbOj-OW.js.map} +1 -1
- package/chunk/{StepConsolation-BrzJnbYN.js → StepConsolation-qvCq7iMz.js} +5 -5
- package/chunk/{StepConsolation-C5ZHdmQ6.js.map → StepConsolation-qvCq7iMz.js.map} +1 -1
- package/chunk/{StepDocUpload-D2_e55pR.js → StepDocUpload-CelPrD2S.js} +9 -8
- package/chunk/{StepDocUpload-BuH-EW5U.js.map → StepDocUpload-CelPrD2S.js.map} +1 -1
- package/chunk/{StepDocUpload-BuH-EW5U.js → StepDocUpload-hbZjFKLA.js} +9 -8
- package/chunk/{StepDocUpload-D2_e55pR.js.map → StepDocUpload-hbZjFKLA.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js → StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-DcVZb5ke.js.map → StepDriverLicensePersonalInfoComponent-DeMFZtEJ.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js → StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js} +12 -12
- package/chunk/{StepDriverLicensePersonalInfoComponent-UZoq9OhC.js.map → StepDriverLicensePersonalInfoComponent-Dz5hU0Hz.js.map} +1 -1
- package/chunk/{StepEmailLoop-138hnevc.js → StepEmailLoop-B_D0MzXV.js} +6 -6
- package/chunk/{StepEmailLoop-138hnevc.js.map → StepEmailLoop-B_D0MzXV.js.map} +1 -1
- package/chunk/{StepEmailLoop-p3PjfBvc.js → StepEmailLoop-DnFBaEUV.js} +6 -6
- package/chunk/{StepEmailLoop-p3PjfBvc.js.map → StepEmailLoop-DnFBaEUV.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-CWyReZIX.js +220 -0
- package/chunk/StepEmploymentPersonalInfo-CWyReZIX.js.map +1 -0
- package/chunk/StepEmploymentPersonalInfo-D6wk7BPP.js +216 -0
- package/chunk/StepEmploymentPersonalInfo-D6wk7BPP.js.map +1 -0
- package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js → StepFirstResponderPersonalInfo-BEYQjJZE.js} +19 -19
- package/chunk/{StepFirstResponderPersonalInfo-CSGMgT02.js.map → StepFirstResponderPersonalInfo-BEYQjJZE.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js → StepFirstResponderPersonalInfo-WFafxPno.js} +19 -19
- package/chunk/{StepFirstResponderPersonalInfo-gF_5zHxj.js.map → StepFirstResponderPersonalInfo-WFafxPno.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js → StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js.map → StepGeneralIdentityPersonalInfoComponent-CO2Kb2oA.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Cgp_PX5L.js → StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js} +15 -15
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D4wP5D1G.js.map → StepGeneralIdentityPersonalInfoComponent-Cu_uA-EX.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js → StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cez-TR1Z.js.map → StepHybridIdentityPersonalInfoComponent-DjYZWEyO.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js → StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js} +16 -16
- package/chunk/{StepHybridIdentityPersonalInfoComponent-ChtlT4nZ.js.map → StepHybridIdentityPersonalInfoComponent-Dnr2P36W.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CX6VsvAJ.js → StepIDCheckLoop-3dEcYNM-.js} +5 -5
- package/chunk/{StepIDCheckLoop-CX6VsvAJ.js.map → StepIDCheckLoop-3dEcYNM-.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DFhu-v9n.js → StepIDCheckLoop-ADjD8T7n.js} +5 -5
- package/chunk/{StepIDCheckLoop-DFhu-v9n.js.map → StepIDCheckLoop-ADjD8T7n.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-0o-ZdynC.js → StepIDCheckLoopOnfido-DFITsdwV.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-0o-ZdynC.js.map → StepIDCheckLoopOnfido-DFITsdwV.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CiuUU7f9.js → StepIDCheckLoopOnfido-u841Fq12.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-CiuUU7f9.js.map → StepIDCheckLoopOnfido-u841Fq12.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js → StepIDCheckLoopRegula-4XrJNB8_.js} +6 -5
- package/chunk/{StepIDCheckLoopRegula-D5Ln2I62.js.map → StepIDCheckLoopRegula-4XrJNB8_.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js → StepIDCheckLoopRegula-DDU-aqdl.js} +6 -5
- package/chunk/{StepIDCheckLoopRegula-D94f7Ccr.js.map → StepIDCheckLoopRegula-DDU-aqdl.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js → StepLicensedProfessionalPersonalInfo-BXscxOmH.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-BHInsLPJ.js.map → StepLicensedProfessionalPersonalInfo-BXscxOmH.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js → StepLicensedProfessionalPersonalInfo-CvU4u5nA.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-CHQbAgsG.js.map → StepLicensedProfessionalPersonalInfo-CvU4u5nA.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js → StepLowIncomePersonalInfo-BD5AdV7z.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-DVDI4DRm.js.map → StepLowIncomePersonalInfo-BD5AdV7z.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js → StepLowIncomePersonalInfo-BlvN-faw.js} +21 -21
- package/chunk/{StepLowIncomePersonalInfo-oBDI4ML2.js.map → StepLowIncomePersonalInfo-BlvN-faw.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js → StepMedicalProfessionalPersonalInfo-D-wc9M27.js} +17 -17
- package/chunk/{StepMedicalProfessionalPersonalInfo-DmoUExs9.js.map → StepMedicalProfessionalPersonalInfo-D-wc9M27.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js → StepMedicalProfessionalPersonalInfo-DzPoAdkI.js} +17 -17
- package/chunk/{StepMedicalProfessionalPersonalInfo-_x2wcVNS.js.map → StepMedicalProfessionalPersonalInfo-DzPoAdkI.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js → StepMemberPersonalInfo-BwhcP3-x.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js.map → StepMemberPersonalInfo-BwhcP3-x.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BAjKLJCl.js → StepMemberPersonalInfo-DcH87kDt.js} +14 -14
- package/chunk/{StepMemberPersonalInfo-CI9Q06Ic.js.map → StepMemberPersonalInfo-DcH87kDt.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js → StepMoverPersonalInfo-C3e_5Bhi.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js.map → StepMoverPersonalInfo-C3e_5Bhi.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CVT4pPa6.js → StepMoverPersonalInfo-DdAYuWun.js} +12 -12
- package/chunk/{StepMoverPersonalInfo-DIkMi5zU.js.map → StepMoverPersonalInfo-DdAYuWun.js.map} +1 -1
- package/chunk/{StepOverrideComponent-B9HVSPlq.js → StepOverrideComponent-BA6ZbYda.js} +5 -5
- package/chunk/{StepOverrideComponent-B9HVSPlq.js.map → StepOverrideComponent-BA6ZbYda.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DOBT7C22.js → StepOverrideComponent-C58-KkL6.js} +5 -5
- package/chunk/{StepOverrideComponent-DOBT7C22.js.map → StepOverrideComponent-C58-KkL6.js.map} +1 -1
- package/chunk/{StepSMSLoop-BM7UE2tP.js → StepSMSLoop-CiFQF0bq.js} +73 -72
- package/chunk/StepSMSLoop-CiFQF0bq.js.map +1 -0
- package/chunk/{StepSMSLoop-Wr-MrFaf.js → StepSMSLoop-DmbMtSCW.js} +73 -72
- package/chunk/StepSMSLoop-DmbMtSCW.js.map +1 -0
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js → StepSocialSecurityNumber-6QeIRjAc.js} +7 -7
- package/chunk/{StepSocialSecurityNumber-DepVz3V7.js.map → StepSocialSecurityNumber-6QeIRjAc.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-DepVz3V7.js → StepSocialSecurityNumber-kcHexBbp.js} +7 -7
- package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js.map → StepSocialSecurityNumber-kcHexBbp.js.map} +1 -1
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js +216 -0
- package/chunk/StepStudentPersonalInfo-CJJbSZ_C.js.map +1 -0
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js +220 -0
- package/chunk/StepStudentPersonalInfo-ubt7IGBA.js.map +1 -0
- package/chunk/{StepSuccess-CvK7t1zN.js → StepSuccess-Cc0UdSaD.js} +5 -5
- package/chunk/{StepSuccess-C3a0CPsE.js.map → StepSuccess-Cc0UdSaD.js.map} +1 -1
- package/chunk/{StepSuccess-C3a0CPsE.js → StepSuccess-ZEmH-ZFX.js} +5 -5
- package/chunk/{StepSuccess-CvK7t1zN.js.map → StepSuccess-ZEmH-ZFX.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js → StepTeacherPersonalInfo-CiHN6WAb.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-DhOL3_0H.js.map → StepTeacherPersonalInfo-CiHN6WAb.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js → StepTeacherPersonalInfo-X7uaefYx.js} +15 -15
- package/chunk/{StepTeacherPersonalInfo-_Wwkq-dn.js.map → StepTeacherPersonalInfo-X7uaefYx.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-BwLUGmNi.js → TeacherSchoolComponent-DH3cPm43.js} +5 -5
- package/chunk/{TeacherSchoolComponent-3HVz97q_.js.map → TeacherSchoolComponent-DH3cPm43.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-3HVz97q_.js → TeacherSchoolComponent-DL4ZFk5x.js} +5 -5
- package/chunk/{TeacherSchoolComponent-BwLUGmNi.js.map → TeacherSchoolComponent-DL4ZFk5x.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/{VerificationApiClient-BcE3SjuJ.js → VerificationApiClient-CVe2IgK7.js} +5 -5
- package/chunk/{VerificationApiClient-BcE3SjuJ.js.map → VerificationApiClient-CVe2IgK7.js.map} +1 -1
- package/chunk/{VerificationApiClient-fJ7P4ejD.js → VerificationApiClient-DOQLbKh3.js} +5 -5
- package/chunk/{VerificationApiClient-fJ7P4ejD.js.map → VerificationApiClient-DOQLbKh3.js.map} +1 -1
- 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-DryiNDJI.js → downshift.esm-5BwX87os.js} +5 -5
- package/chunk/{downshift.esm-BKI3sFd7.js.map → downshift.esm-5BwX87os.js.map} +1 -1
- package/chunk/{downshift.esm-BKI3sFd7.js → downshift.esm-GtunYkBG.js} +5 -5
- package/chunk/{downshift.esm-DryiNDJI.js.map → downshift.esm-GtunYkBG.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-BdqtwfRd.js +4 -4
- package/chunk/stepComponentHelpers-DIHMDrmF.js +4 -4
- 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-D7OQBDpX.js → useCollectFieldsEndpoint-74jMd594.js} +7 -7
- package/chunk/{useCollectFieldsEndpoint-D7OQBDpX.js.map → useCollectFieldsEndpoint-74jMd594.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js → useCollectFieldsEndpoint-dSngHehw.js} +7 -7
- package/chunk/{useCollectFieldsEndpoint-BsX_IHLN.js.map → useCollectFieldsEndpoint-dSngHehw.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 +654 -653
- package/sheerid.js.map +1 -1
- package/chunk/AddressComponent-C3iwf09x.js +0 -40
- package/chunk/AddressComponent-C3iwf09x.js.map +0 -1
- package/chunk/AddressComponent-oDHvr6bn.js +0 -36
- package/chunk/AddressComponent-oDHvr6bn.js.map +0 -1
- package/chunk/CaptchaComponent-CCq7YSum.js.map +0 -1
- package/chunk/CaptchaComponent-hqx9tSkk.js.map +0 -1
- package/chunk/City-CUVEjTrI.js +0 -39
- package/chunk/City-CUVEjTrI.js.map +0 -1
- package/chunk/City-Drub1WX8.js +0 -35
- package/chunk/City-Drub1WX8.js.map +0 -1
- package/chunk/CountryComponentWrapper-B3Ki9bAz.js +0 -78
- package/chunk/CountryComponentWrapper-B3Ki9bAz.js.map +0 -1
- package/chunk/CountryComponentWrapper-DeR9PrA2.js +0 -82
- package/chunk/CountryComponentWrapper-DeR9PrA2.js.map +0 -1
- package/chunk/DischargeDateComponent-Btg3v71t.js +0 -117
- package/chunk/DischargeDateComponent-Btg3v71t.js.map +0 -1
- package/chunk/DischargeDateComponent-CqKUrGE0.js +0 -121
- package/chunk/DischargeDateComponent-CqKUrGE0.js.map +0 -1
- package/chunk/DriverLicenseNumberComponent-B2arYwHU.js +0 -42
- package/chunk/DriverLicenseNumberComponent-B2arYwHU.js.map +0 -1
- package/chunk/DriverLicenseNumberComponent-ByNoEq6v.js +0 -38
- package/chunk/DriverLicenseNumberComponent-ByNoEq6v.js.map +0 -1
- package/chunk/FirstResponderOrganizationComponent-BiI8JG49.js +0 -36
- package/chunk/FirstResponderOrganizationComponent-BiI8JG49.js.map +0 -1
- package/chunk/FirstResponderOrganizationComponent-BwzXdBV-.js +0 -40
- package/chunk/FirstResponderOrganizationComponent-BwzXdBV-.js.map +0 -1
- package/chunk/FormFooterComponent-B2W5vjOS.js +0 -8856
- package/chunk/FormFooterComponent-B2W5vjOS.js.map +0 -1
- package/chunk/FormFooterComponent-CaOt9TQw.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-wJSn67h6.js +0 -39
- package/chunk/LicensedProfessionalOrganizationComponent-wJSn67h6.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-wfXwXvVc.js +0 -35
- package/chunk/LicensedProfessionalOrganizationComponent-wfXwXvVc.js.map +0 -1
- package/chunk/LowIncomeOrganizationComponent-C3Dc7HeO.js +0 -110
- package/chunk/LowIncomeOrganizationComponent-C3Dc7HeO.js.map +0 -1
- package/chunk/LowIncomeOrganizationComponent-D8RlrBXa.js +0 -106
- package/chunk/LowIncomeOrganizationComponent-D8RlrBXa.js.map +0 -1
- package/chunk/MedicalProfessionalOrganizationComponent-BlEmZTpI.js +0 -40
- package/chunk/MedicalProfessionalOrganizationComponent-BlEmZTpI.js.map +0 -1
- package/chunk/MedicalProfessionalOrganizationComponent-DS1iVIfQ.js +0 -36
- package/chunk/MedicalProfessionalOrganizationComponent-DS1iVIfQ.js.map +0 -1
- package/chunk/MemberIdComponent-5OnkQeLm.js +0 -42
- package/chunk/MemberIdComponent-5OnkQeLm.js.map +0 -1
- package/chunk/MemberIdComponent-sR9aGDN4.js +0 -38
- package/chunk/MemberIdComponent-sR9aGDN4.js.map +0 -1
- package/chunk/MembershipOrganizationComponent-BrbunU1_.js +0 -35
- package/chunk/MembershipOrganizationComponent-BrbunU1_.js.map +0 -1
- package/chunk/MembershipOrganizationComponent-UqzaA4bV.js +0 -39
- package/chunk/MembershipOrganizationComponent-UqzaA4bV.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-DA3ceOLw.js.map +0 -1
- package/chunk/PersonalInfoStepSubmitButton-D_Y9q0Iy.js.map +0 -1
- package/chunk/PostalCodeComponent-BhBBSAL-.js +0 -41
- package/chunk/PostalCodeComponent-BhBBSAL-.js.map +0 -1
- package/chunk/PostalCodeComponent-DKC3DspF.js +0 -37
- package/chunk/PostalCodeComponent-DKC3DspF.js.map +0 -1
- package/chunk/SSN-7DHOlAAq.js +0 -44
- package/chunk/SSN-7DHOlAAq.js.map +0 -1
- package/chunk/SSN-DlBvRiaZ.js +0 -48
- package/chunk/SSN-DlBvRiaZ.js.map +0 -1
- package/chunk/StateSelectComponent-BXHXB6Kn.js +0 -44
- package/chunk/StateSelectComponent-BXHXB6Kn.js.map +0 -1
- package/chunk/StateSelectComponent-lM5e-_1v.js +0 -40
- package/chunk/StateSelectComponent-lM5e-_1v.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-CIb2V_Aj.js +0 -219
- package/chunk/StepEmploymentPersonalInfo-CIb2V_Aj.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-txyihsja.js +0 -215
- package/chunk/StepEmploymentPersonalInfo-txyihsja.js.map +0 -1
- package/chunk/StepSMSLoop-BM7UE2tP.js.map +0 -1
- package/chunk/StepSMSLoop-Wr-MrFaf.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-CxPq9ICS.js +0 -218
- package/chunk/StepStudentPersonalInfo-CxPq9ICS.js.map +0 -1
- package/chunk/StepStudentPersonalInfo-DQMWaRSa.js +0 -222
- package/chunk/StepStudentPersonalInfo-DQMWaRSa.js.map +0 -1
package/chunk/{StepSocialSecurityNumber-DepVz3V7.js.map → StepSocialSecurityNumber-6QeIRjAc.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepSocialSecurityNumber-
|
|
1
|
+
{"version":3,"file":"StepSocialSecurityNumber-6QeIRjAc.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, injectIntl } 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\nconst Step = ({ verificationService }: 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\n// TODO remove injectIntl, it's not used\nexport const StepSocialSecurityNumber = injectIntl(Step);\n"],"mappings":";;;;;;;;;;4CA2DA,KAhDA,EAAA,WAAA,iBAAA,6BAAA,iBAAA,GAAA,EAAA,MAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IC+Ha,IAA2B,GAnH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,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,CAGuD"}
|
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.278.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1788969605732
|
|
9
|
+
* BUILD_DATE: Wed Sep 09 2026 16:00:05 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 8a89332fc253f0825b74dafece3ffed62b9fd070
|
|
11
11
|
*/
|
|
12
12
|
import { Nt as e, Wt as t, bt as n, p as r } from "./intl-e5WHiYfA.js";
|
|
13
13
|
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-LqzCS-0D.js";
|
|
14
|
-
import { t as c } from "./FormFooterComponent-
|
|
14
|
+
import { t as c } from "./FormFooterComponent-CAoH3NjO.js";
|
|
15
15
|
import { o as l } from "./refs-CI3K5ndt.js";
|
|
16
16
|
import { t as u } from "./LogoComponent-Dx1G-rzE.js";
|
|
17
17
|
import { t as d } from "./AnnouncingHeader-YPjBYzsZ.js";
|
|
18
18
|
import { g as f, v as p } from "./stepComponentHelpers-BdqtwfRd.js";
|
|
19
|
-
import { t as m } from "./ChangeLocaleComponent-
|
|
20
|
-
import { t as h } from "./SSN-
|
|
19
|
+
import { t as m } from "./ChangeLocaleComponent-CpHB_D8Q.js";
|
|
20
|
+
import { t as h } from "./SSN-DNVykxAU.js";
|
|
21
21
|
//#region src/components/StepSocialSecurityNumber/SsnChoice.tsx
|
|
22
22
|
var g = /* @__PURE__ */ t(a(), 1), _ = s(), v = ({ useSsn: e, useDocUpload: t, verificationService: n }) => /* @__PURE__ */ (0, _.jsxs)("div", {
|
|
23
23
|
id: "sid-ssn-choice",
|
package/chunk/{StepSocialSecurityNumber-LcWg-zo5.js.map → StepSocialSecurityNumber-kcHexBbp.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepSocialSecurityNumber-
|
|
1
|
+
{"version":3,"file":"StepSocialSecurityNumber-kcHexBbp.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, injectIntl } 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\nconst Step = ({ verificationService }: 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\n// TODO remove injectIntl, it's not used\nexport const StepSocialSecurityNumber = injectIntl(Step);\n"],"mappings":";;;;;;;;;;4CA2DA,KAhDA,EAAA,WAAA,iBAAA,6BAAA,iBAAA,GAAA,EAAA,MAAA,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IC+Ha,IAA2B,GAnH1B,EAAE,6BAAyD;CACvE,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,EAAo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C,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,CAGuD"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* VERSION: 2.278.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1788969597831
|
|
5
|
+
* BUILD_DATE: Wed Sep 09 2026 15:59:57 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 8a89332fc253f0825b74dafece3ffed62b9fd070
|
|
7
|
+
*/
|
|
8
|
+
import { Ft as e, Wt as t, c as n, jt as r, n as i } from "./options-pBCAJBwS.js";
|
|
9
|
+
import { a, c as o, n as s, t as c } from "./jsx-runtime-Ini3eO9_.js";
|
|
10
|
+
import { n as l } from "./Message-CSa2etjX.js";
|
|
11
|
+
import { h as u } from "./FormFooterComponent-BHQc5VBK.js";
|
|
12
|
+
import { t as d } from "./hooks-ChQrxN58.js";
|
|
13
|
+
import { n as f } from "../sheerid.js";
|
|
14
|
+
import { a as p, u as m, v as h, y as g } from "./stepComponentHelpers-DIHMDrmF.js";
|
|
15
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-D2OIvL-b.js";
|
|
16
|
+
import { t as C } from "./FormFieldText-BbdrtNh_.js";
|
|
17
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-BcdQUzMO.js";
|
|
18
|
+
import { t as E } from "./BirthDateComponent-CAQJ-IWM.js";
|
|
19
|
+
import { t as D } from "./CountryComponentWrapper-CW4yj9IF.js";
|
|
20
|
+
import { t as O } from "./ExtraMessage-g4LSV-H2.js";
|
|
21
|
+
import { t as k } from "./ChangeLocaleComponent-BvnXlDa-.js";
|
|
22
|
+
import { t as A } from "./PersonalInfoStepWrapper-BHS3GKl7.js";
|
|
23
|
+
import { t as j } from "./CollegeNameComponent-BbxIOfzR.js";
|
|
24
|
+
import { t as M } from "./StatusComponent-CyX5COrt.js";
|
|
25
|
+
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
26
|
+
var N = /* @__PURE__ */ t(o(), 1), P = c(), F = ({ value: e, isErrored: t, onChange: n, explanation: r, placeholder: i = "", isRequired: a = !1 }) => {
|
|
27
|
+
let { msg: o } = l(), c = d("include-cvec-field-france-student");
|
|
28
|
+
return p("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, P.jsx)(C, {
|
|
29
|
+
fieldId: "cvecNumber",
|
|
30
|
+
value: e,
|
|
31
|
+
onChange: n,
|
|
32
|
+
placeholder: i || o({ id: "cvecNumber" }),
|
|
33
|
+
label: /* @__PURE__ */ (0, P.jsx)(s, {
|
|
34
|
+
id: "cvecNumber",
|
|
35
|
+
defaultMessage: "CVEC certificate number"
|
|
36
|
+
}),
|
|
37
|
+
errorMessage: t && /* @__PURE__ */ (0, P.jsx)(s, {
|
|
38
|
+
id: "errorId.invalidCvecNumber",
|
|
39
|
+
defaultMessage: "Invalid CVEC certificate number"
|
|
40
|
+
}),
|
|
41
|
+
showPlaceholderAndHideLabel: !!i,
|
|
42
|
+
required: a,
|
|
43
|
+
explanation: r || (c === "labeled-optional" ? /* @__PURE__ */ (0, P.jsx)(s, {
|
|
44
|
+
id: "cvecNumberExplanation",
|
|
45
|
+
defaultMessage: "Optional - Add your CVEC number to increase your chances of being verified instantly."
|
|
46
|
+
}) : /* @__PURE__ */ (0, P.jsx)(s, {
|
|
47
|
+
id: "_EXPERIMENTAL.cvecNumberExplanation",
|
|
48
|
+
defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
|
|
49
|
+
}))
|
|
50
|
+
});
|
|
51
|
+
}, I = Object.keys(r), L = a(({ verificationService: t, intl: a }) => {
|
|
52
|
+
let o = t.viewModel, { fieldValidationErrors: c } = t, l = t.verificationResponse, C = i(), L = d("include-cvec-field-france-student"), R = L !== "control" && L !== "default" && o?.countryChoice?.value === "FR", z = l.availableStatuses ?? [], B = z.includes("GRADUATE") && z.some((e) => e !== "GRADUATE");
|
|
53
|
+
N.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 = u(l), H = (e, r) => {
|
|
58
|
+
let i = n(o, (t) => {
|
|
59
|
+
t[e] = r;
|
|
60
|
+
});
|
|
61
|
+
t.updateViewModel(i);
|
|
62
|
+
}, U = o.localeChoice.value, W = (e) => e ? {
|
|
63
|
+
value: e,
|
|
64
|
+
label: a.formatHTMLMessage({
|
|
65
|
+
id: e,
|
|
66
|
+
defaultMessage: r[e]
|
|
67
|
+
})
|
|
68
|
+
} : {
|
|
69
|
+
value: "",
|
|
70
|
+
label: ""
|
|
71
|
+
};
|
|
72
|
+
return /* @__PURE__ */ (0, P.jsxs)(A, {
|
|
73
|
+
verificationService: t,
|
|
74
|
+
step: l.currentStep,
|
|
75
|
+
children: [
|
|
76
|
+
/* @__PURE__ */ (0, P.jsx)(f, {
|
|
77
|
+
verificationService: t,
|
|
78
|
+
classNameIdentifier: "student-personal-info"
|
|
79
|
+
}),
|
|
80
|
+
/* @__PURE__ */ (0, P.jsx)(k, { verificationService: t }),
|
|
81
|
+
/* @__PURE__ */ (0, P.jsx)(D, {
|
|
82
|
+
verificationService: t,
|
|
83
|
+
disabled: p("country")?.disabled
|
|
84
|
+
}),
|
|
85
|
+
B && /* @__PURE__ */ (0, P.jsx)(M, {
|
|
86
|
+
segmentId: "student",
|
|
87
|
+
label: /* @__PURE__ */ (0, P.jsx)(s, {
|
|
88
|
+
id: "graduationStatus",
|
|
89
|
+
defaultMessage: "Graduation Status"
|
|
90
|
+
}),
|
|
91
|
+
value: W(o.status),
|
|
92
|
+
isErrored: !!c.status,
|
|
93
|
+
options: I.map(W),
|
|
94
|
+
disabled: p("status")?.disabled,
|
|
95
|
+
onChange: (e) => {
|
|
96
|
+
let n = e ? e.value : void 0;
|
|
97
|
+
H("status", n), h("status", n ?? "", t);
|
|
98
|
+
}
|
|
99
|
+
}),
|
|
100
|
+
/* @__PURE__ */ (0, P.jsx)(j, {
|
|
101
|
+
value: t.viewModel.organization,
|
|
102
|
+
verificationService: t,
|
|
103
|
+
isErrored: !!c.organization,
|
|
104
|
+
isRequired: !0,
|
|
105
|
+
disabled: p("organization")?.disabled,
|
|
106
|
+
onChange: (e) => {
|
|
107
|
+
g(e, t), h("organization", e, t);
|
|
108
|
+
}
|
|
109
|
+
}),
|
|
110
|
+
R && /* @__PURE__ */ (0, P.jsx)(F, {
|
|
111
|
+
isRequired: p("cvecNumber")?.requireIfOptional,
|
|
112
|
+
value: o.cvecNumber,
|
|
113
|
+
isErrored: !!c.cvecNumber,
|
|
114
|
+
disabled: p("cvecNumber")?.disabled,
|
|
115
|
+
onChange: (e) => {
|
|
116
|
+
H("cvecNumber", e), h("cvecNumber", e, t);
|
|
117
|
+
}
|
|
118
|
+
}),
|
|
119
|
+
/* @__PURE__ */ (0, P.jsx)("div", {
|
|
120
|
+
className: "sid-names-explanation sid-l-space-top-md",
|
|
121
|
+
children: /* @__PURE__ */ (0, P.jsx)(s, {
|
|
122
|
+
id: "step.personalInfo.nameInstructions",
|
|
123
|
+
defaultMessage: "Personal or school email is fine"
|
|
124
|
+
})
|
|
125
|
+
}),
|
|
126
|
+
/* @__PURE__ */ (0, P.jsxs)("div", {
|
|
127
|
+
className: "sid-names",
|
|
128
|
+
children: [/* @__PURE__ */ (0, P.jsx)(_, {
|
|
129
|
+
value: o.firstName,
|
|
130
|
+
isErrored: !!c.firstName,
|
|
131
|
+
disabled: p("firstName")?.disabled,
|
|
132
|
+
onChange: (e) => {
|
|
133
|
+
H("firstName", e), h("firstName", e, t);
|
|
134
|
+
}
|
|
135
|
+
}), /* @__PURE__ */ (0, P.jsx)(v, {
|
|
136
|
+
value: o.lastName,
|
|
137
|
+
isErrored: !!c.lastName,
|
|
138
|
+
disabled: p("lastName")?.disabled,
|
|
139
|
+
onChange: (e) => {
|
|
140
|
+
H("lastName", e), h("lastName", e, t);
|
|
141
|
+
}
|
|
142
|
+
})]
|
|
143
|
+
}),
|
|
144
|
+
/* @__PURE__ */ (0, P.jsx)(E, {
|
|
145
|
+
value: o.birthDate,
|
|
146
|
+
errorId: c.birthDate,
|
|
147
|
+
locale: U,
|
|
148
|
+
isRequired: !0,
|
|
149
|
+
disabled: p("birthDate")?.disabled,
|
|
150
|
+
onChange: (e) => {
|
|
151
|
+
H("birthDate", e), h("birthDate", e, t);
|
|
152
|
+
}
|
|
153
|
+
}),
|
|
154
|
+
/* @__PURE__ */ (0, P.jsx)(w, {
|
|
155
|
+
value: o.email,
|
|
156
|
+
isErrored: !!c.email,
|
|
157
|
+
explanation: /* @__PURE__ */ (0, P.jsx)(s, {
|
|
158
|
+
id: "emailExplanation",
|
|
159
|
+
defaultMessage: "Personal or school email is fine"
|
|
160
|
+
}),
|
|
161
|
+
onChange: (e) => {
|
|
162
|
+
H("email", e), h("email", e, t);
|
|
163
|
+
},
|
|
164
|
+
onKeyDown: (e) => m(e),
|
|
165
|
+
disabled: p("email")?.disabled
|
|
166
|
+
}),
|
|
167
|
+
t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, P.jsx)(b, {
|
|
168
|
+
isRequired: !!t.programTheme.smsLoopEnabled,
|
|
169
|
+
value: o.phoneNumber,
|
|
170
|
+
isErrored: !!c.phoneNumber,
|
|
171
|
+
disabled: p("phoneNumber")?.disabled,
|
|
172
|
+
onChange: (e) => {
|
|
173
|
+
H("phoneNumber", e), h("phoneNumber", e, t);
|
|
174
|
+
},
|
|
175
|
+
selectedCountryCode: o.countryChoice && o.countryChoice.value
|
|
176
|
+
}) : null,
|
|
177
|
+
(C.customFormFields || []).map((e) => /* @__PURE__ */ (0, P.jsx)(y, {
|
|
178
|
+
config: e,
|
|
179
|
+
verificationService: t
|
|
180
|
+
})),
|
|
181
|
+
" ",
|
|
182
|
+
/* @__PURE__ */ (0, P.jsx)(x, {
|
|
183
|
+
verificationService: t,
|
|
184
|
+
isErrored: !!c.marketConsentValue,
|
|
185
|
+
disabled: p("marketConsentValue")?.disabled,
|
|
186
|
+
onChange: (e) => {
|
|
187
|
+
H("metadata", {
|
|
188
|
+
...t.viewModel.metadata,
|
|
189
|
+
marketConsentValue: e
|
|
190
|
+
}), h("marketConsentValue", e, t);
|
|
191
|
+
},
|
|
192
|
+
viewModel: o
|
|
193
|
+
}),
|
|
194
|
+
/* @__PURE__ */ (0, P.jsx)(O, {
|
|
195
|
+
verificationService: t,
|
|
196
|
+
suffix: "CollectAboveSubmit"
|
|
197
|
+
}),
|
|
198
|
+
/* @__PURE__ */ (0, P.jsx)(S, {
|
|
199
|
+
verificationService: t,
|
|
200
|
+
isErrored: !!c.captchaToken
|
|
201
|
+
}),
|
|
202
|
+
/* @__PURE__ */ (0, P.jsx)(T, {
|
|
203
|
+
step: e.collectStudentPersonalInfo,
|
|
204
|
+
verificationService: t,
|
|
205
|
+
viewModel: o,
|
|
206
|
+
failedInstantMatch: V,
|
|
207
|
+
buttonText: /* @__PURE__ */ (0, P.jsx)(s, {
|
|
208
|
+
id: "step.personalInfo.submitButtonText",
|
|
209
|
+
defaultMessage: "Verify My Student Status"
|
|
210
|
+
})
|
|
211
|
+
})
|
|
212
|
+
]
|
|
213
|
+
});
|
|
214
|
+
});
|
|
215
|
+
//#endregion
|
|
216
|
+
export { L as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepStudentPersonalInfo-CJJbSZ_C.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, type InjectedIntl, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\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 {\n StudentStatusDefaultMessagesEnum,\n VerificationStepsEnum,\n} 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 intl: InjectedIntl;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n intl,\n}: StepStudentPersonalInfoComponentProps) => {\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: intl.formatHTMLMessage({\n id: status,\n defaultMessage: StudentStatusDefaultMessagesEnum[status],\n }),\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\nexport const StepStudentPersonalInfoComponent = injectIntl(StepStudentPersonal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a;KAEtB,AADA,EAAuB,eAAe,CAAQ,GAC9C,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;GACzE,CAAA,IACC;IACF,EAAQ,oBAAoB,CAAC,GAAG,KAAK,MACrC,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,UAAU,EAAwB,oBAAoB,GAAG;IACzD,WAAW,MAAa;KAKtB,AAJA,EAAuB,YAAY;MACjC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;GACZ,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GACrF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAEkF"}
|
|
@@ -0,0 +1,220 @@
|
|
|
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.278.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1788969605732
|
|
9
|
+
* BUILD_DATE: Wed Sep 09 2026 16:00:05 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 8a89332fc253f0825b74dafece3ffed62b9fd070
|
|
11
|
+
*/
|
|
12
|
+
import { Nt as e, Wt as t, kt as n, p as r, s as i } from "./intl-e5WHiYfA.js";
|
|
13
|
+
import { a, c as o, n as s, t as c } from "./jsx-runtime-LqzCS-0D.js";
|
|
14
|
+
import { n as l } from "./Message-BK3a2RyH.js";
|
|
15
|
+
import { p as u } from "./FormFooterComponent-CAoH3NjO.js";
|
|
16
|
+
import { t as d } from "./hooks-C15H5pD-.js";
|
|
17
|
+
import { t as f } from "../_mysheerid-preview.js";
|
|
18
|
+
import { a as p, u as m, v as h, y as g } from "./stepComponentHelpers-BdqtwfRd.js";
|
|
19
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-BqREyMje.js";
|
|
20
|
+
import { t as C } from "./FormFieldText-Gf13Luq7.js";
|
|
21
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-VxT_vwVv.js";
|
|
22
|
+
import { t as E } from "./BirthDateComponent-_BjsBSM4.js";
|
|
23
|
+
import { t as D } from "./CountryComponentWrapper-BNtvUusJ.js";
|
|
24
|
+
import { t as O } from "./ExtraMessage-Byw0Tgm1.js";
|
|
25
|
+
import { t as k } from "./ChangeLocaleComponent-CpHB_D8Q.js";
|
|
26
|
+
import { t as A } from "./PersonalInfoStepWrapper-CxRB64LQ.js";
|
|
27
|
+
import { t as j } from "./CollegeNameComponent-CEJO0-bq.js";
|
|
28
|
+
import { t as M } from "./StatusComponent-CrGh5fqB.js";
|
|
29
|
+
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
30
|
+
var N = /* @__PURE__ */ t(o(), 1), P = c(), F = ({ value: e, isErrored: t, onChange: n, explanation: r, placeholder: i = "", isRequired: a = !1 }) => {
|
|
31
|
+
let { msg: o } = l(), c = d("include-cvec-field-france-student");
|
|
32
|
+
return p("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, P.jsx)(C, {
|
|
33
|
+
fieldId: "cvecNumber",
|
|
34
|
+
value: e,
|
|
35
|
+
onChange: n,
|
|
36
|
+
placeholder: i || o({ id: "cvecNumber" }),
|
|
37
|
+
label: /* @__PURE__ */ (0, P.jsx)(s, {
|
|
38
|
+
id: "cvecNumber",
|
|
39
|
+
defaultMessage: "CVEC certificate number"
|
|
40
|
+
}),
|
|
41
|
+
errorMessage: t && /* @__PURE__ */ (0, P.jsx)(s, {
|
|
42
|
+
id: "errorId.invalidCvecNumber",
|
|
43
|
+
defaultMessage: "Invalid CVEC certificate number"
|
|
44
|
+
}),
|
|
45
|
+
showPlaceholderAndHideLabel: !!i,
|
|
46
|
+
required: a,
|
|
47
|
+
explanation: r || (c === "labeled-optional" ? /* @__PURE__ */ (0, P.jsx)(s, {
|
|
48
|
+
id: "cvecNumberExplanation",
|
|
49
|
+
defaultMessage: "Optional - Add your CVEC number to increase your chances of being verified instantly."
|
|
50
|
+
}) : /* @__PURE__ */ (0, P.jsx)(s, {
|
|
51
|
+
id: "_EXPERIMENTAL.cvecNumberExplanation",
|
|
52
|
+
defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
|
|
53
|
+
}))
|
|
54
|
+
});
|
|
55
|
+
}, I = Object.keys(n), L = a(({ verificationService: t, intl: a }) => {
|
|
56
|
+
let o = t.viewModel, { fieldValidationErrors: c } = t, l = t.verificationResponse, C = i(), L = d("include-cvec-field-france-student"), R = L !== "control" && L !== "default" && o?.countryChoice?.value === "FR", z = l.availableStatuses ?? [], B = z.includes("GRADUATE") && z.some((e) => e !== "GRADUATE");
|
|
57
|
+
N.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 = u(l), H = (e, n) => {
|
|
62
|
+
let i = r(o, (t) => {
|
|
63
|
+
t[e] = n;
|
|
64
|
+
});
|
|
65
|
+
t.updateViewModel(i);
|
|
66
|
+
}, U = o.localeChoice.value, W = (e) => e ? {
|
|
67
|
+
value: e,
|
|
68
|
+
label: a.formatHTMLMessage({
|
|
69
|
+
id: e,
|
|
70
|
+
defaultMessage: n[e]
|
|
71
|
+
})
|
|
72
|
+
} : {
|
|
73
|
+
value: "",
|
|
74
|
+
label: ""
|
|
75
|
+
};
|
|
76
|
+
return /* @__PURE__ */ (0, P.jsxs)(A, {
|
|
77
|
+
verificationService: t,
|
|
78
|
+
step: l.currentStep,
|
|
79
|
+
children: [
|
|
80
|
+
/* @__PURE__ */ (0, P.jsx)(f, {
|
|
81
|
+
verificationService: t,
|
|
82
|
+
classNameIdentifier: "student-personal-info"
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ (0, P.jsx)(k, { verificationService: t }),
|
|
85
|
+
/* @__PURE__ */ (0, P.jsx)(D, {
|
|
86
|
+
verificationService: t,
|
|
87
|
+
disabled: p("country")?.disabled
|
|
88
|
+
}),
|
|
89
|
+
B && /* @__PURE__ */ (0, P.jsx)(M, {
|
|
90
|
+
segmentId: "student",
|
|
91
|
+
label: /* @__PURE__ */ (0, P.jsx)(s, {
|
|
92
|
+
id: "graduationStatus",
|
|
93
|
+
defaultMessage: "Graduation Status"
|
|
94
|
+
}),
|
|
95
|
+
value: W(o.status),
|
|
96
|
+
isErrored: !!c.status,
|
|
97
|
+
options: I.map(W),
|
|
98
|
+
disabled: p("status")?.disabled,
|
|
99
|
+
onChange: (e) => {
|
|
100
|
+
let n = e ? e.value : void 0;
|
|
101
|
+
H("status", n), h("status", n ?? "", t);
|
|
102
|
+
}
|
|
103
|
+
}),
|
|
104
|
+
/* @__PURE__ */ (0, P.jsx)(j, {
|
|
105
|
+
value: t.viewModel.organization,
|
|
106
|
+
verificationService: t,
|
|
107
|
+
isErrored: !!c.organization,
|
|
108
|
+
isRequired: !0,
|
|
109
|
+
disabled: p("organization")?.disabled,
|
|
110
|
+
onChange: (e) => {
|
|
111
|
+
g(e, t), h("organization", e, t);
|
|
112
|
+
}
|
|
113
|
+
}),
|
|
114
|
+
R && /* @__PURE__ */ (0, P.jsx)(F, {
|
|
115
|
+
isRequired: p("cvecNumber")?.requireIfOptional,
|
|
116
|
+
value: o.cvecNumber,
|
|
117
|
+
isErrored: !!c.cvecNumber,
|
|
118
|
+
disabled: p("cvecNumber")?.disabled,
|
|
119
|
+
onChange: (e) => {
|
|
120
|
+
H("cvecNumber", e), h("cvecNumber", e, t);
|
|
121
|
+
}
|
|
122
|
+
}),
|
|
123
|
+
/* @__PURE__ */ (0, P.jsx)("div", {
|
|
124
|
+
className: "sid-names-explanation sid-l-space-top-md",
|
|
125
|
+
children: /* @__PURE__ */ (0, P.jsx)(s, {
|
|
126
|
+
id: "step.personalInfo.nameInstructions",
|
|
127
|
+
defaultMessage: "Personal or school email is fine"
|
|
128
|
+
})
|
|
129
|
+
}),
|
|
130
|
+
/* @__PURE__ */ (0, P.jsxs)("div", {
|
|
131
|
+
className: "sid-names",
|
|
132
|
+
children: [/* @__PURE__ */ (0, P.jsx)(_, {
|
|
133
|
+
value: o.firstName,
|
|
134
|
+
isErrored: !!c.firstName,
|
|
135
|
+
disabled: p("firstName")?.disabled,
|
|
136
|
+
onChange: (e) => {
|
|
137
|
+
H("firstName", e), h("firstName", e, t);
|
|
138
|
+
}
|
|
139
|
+
}), /* @__PURE__ */ (0, P.jsx)(v, {
|
|
140
|
+
value: o.lastName,
|
|
141
|
+
isErrored: !!c.lastName,
|
|
142
|
+
disabled: p("lastName")?.disabled,
|
|
143
|
+
onChange: (e) => {
|
|
144
|
+
H("lastName", e), h("lastName", e, t);
|
|
145
|
+
}
|
|
146
|
+
})]
|
|
147
|
+
}),
|
|
148
|
+
/* @__PURE__ */ (0, P.jsx)(E, {
|
|
149
|
+
value: o.birthDate,
|
|
150
|
+
errorId: c.birthDate,
|
|
151
|
+
locale: U,
|
|
152
|
+
isRequired: !0,
|
|
153
|
+
disabled: p("birthDate")?.disabled,
|
|
154
|
+
onChange: (e) => {
|
|
155
|
+
H("birthDate", e), h("birthDate", e, t);
|
|
156
|
+
}
|
|
157
|
+
}),
|
|
158
|
+
/* @__PURE__ */ (0, P.jsx)(w, {
|
|
159
|
+
value: o.email,
|
|
160
|
+
isErrored: !!c.email,
|
|
161
|
+
explanation: /* @__PURE__ */ (0, P.jsx)(s, {
|
|
162
|
+
id: "emailExplanation",
|
|
163
|
+
defaultMessage: "Personal or school email is fine"
|
|
164
|
+
}),
|
|
165
|
+
onChange: (e) => {
|
|
166
|
+
H("email", e), h("email", e, t);
|
|
167
|
+
},
|
|
168
|
+
onKeyDown: (e) => m(e),
|
|
169
|
+
disabled: p("email")?.disabled
|
|
170
|
+
}),
|
|
171
|
+
t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, P.jsx)(b, {
|
|
172
|
+
isRequired: !!t.programTheme.smsLoopEnabled,
|
|
173
|
+
value: o.phoneNumber,
|
|
174
|
+
isErrored: !!c.phoneNumber,
|
|
175
|
+
disabled: p("phoneNumber")?.disabled,
|
|
176
|
+
onChange: (e) => {
|
|
177
|
+
H("phoneNumber", e), h("phoneNumber", e, t);
|
|
178
|
+
},
|
|
179
|
+
selectedCountryCode: o.countryChoice && o.countryChoice.value
|
|
180
|
+
}) : null,
|
|
181
|
+
(C.customFormFields || []).map((e) => /* @__PURE__ */ (0, P.jsx)(y, {
|
|
182
|
+
config: e,
|
|
183
|
+
verificationService: t
|
|
184
|
+
})),
|
|
185
|
+
" ",
|
|
186
|
+
/* @__PURE__ */ (0, P.jsx)(x, {
|
|
187
|
+
verificationService: t,
|
|
188
|
+
isErrored: !!c.marketConsentValue,
|
|
189
|
+
disabled: p("marketConsentValue")?.disabled,
|
|
190
|
+
onChange: (e) => {
|
|
191
|
+
H("metadata", {
|
|
192
|
+
...t.viewModel.metadata,
|
|
193
|
+
marketConsentValue: e
|
|
194
|
+
}), h("marketConsentValue", e, t);
|
|
195
|
+
},
|
|
196
|
+
viewModel: o
|
|
197
|
+
}),
|
|
198
|
+
/* @__PURE__ */ (0, P.jsx)(O, {
|
|
199
|
+
verificationService: t,
|
|
200
|
+
suffix: "CollectAboveSubmit"
|
|
201
|
+
}),
|
|
202
|
+
/* @__PURE__ */ (0, P.jsx)(S, {
|
|
203
|
+
verificationService: t,
|
|
204
|
+
isErrored: !!c.captchaToken
|
|
205
|
+
}),
|
|
206
|
+
/* @__PURE__ */ (0, P.jsx)(T, {
|
|
207
|
+
step: e.collectStudentPersonalInfo,
|
|
208
|
+
verificationService: t,
|
|
209
|
+
viewModel: o,
|
|
210
|
+
failedInstantMatch: V,
|
|
211
|
+
buttonText: /* @__PURE__ */ (0, P.jsx)(s, {
|
|
212
|
+
id: "step.personalInfo.submitButtonText",
|
|
213
|
+
defaultMessage: "Verify My Student Status"
|
|
214
|
+
})
|
|
215
|
+
})
|
|
216
|
+
]
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
//#endregion
|
|
220
|
+
export { L as default };
|