@sheerid/jslib 2.291.0 → 2.292.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +43 -43
- package/chunk/{AddressComponent-CXsUFn4e.js → AddressComponent-D3nQyMpj.js} +8 -8
- package/chunk/{AddressComponent-CXsUFn4e.js.map → AddressComponent-D3nQyMpj.js.map} +1 -1
- package/chunk/{AddressComponent-DFMtL5Ji.js → AddressComponent-nu4WNKvJ.js} +8 -8
- package/chunk/{AddressComponent-DFMtL5Ji.js.map → AddressComponent-nu4WNKvJ.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DtYf-VWN.js → AnnouncingHeader-C6QNdmy8.js} +6 -6
- package/chunk/{AnnouncingHeader-B6cTB52p.js.map → AnnouncingHeader-C6QNdmy8.js.map} +1 -1
- package/chunk/{AnnouncingHeader-B6cTB52p.js → AnnouncingHeader-DJd16MZV.js} +6 -6
- package/chunk/{AnnouncingHeader-DtYf-VWN.js.map → AnnouncingHeader-DJd16MZV.js.map} +1 -1
- package/chunk/{BirthDateComponent-DAa17IR4.js → BirthDateComponent-CVAuHPwX.js} +8 -8
- package/chunk/{BirthDateComponent-DAa17IR4.js.map → BirthDateComponent-CVAuHPwX.js.map} +1 -1
- package/chunk/{BirthDateComponent-DOJ2Eu4P.js → BirthDateComponent-LPJrCAL_.js} +8 -8
- package/chunk/{BirthDateComponent-DOJ2Eu4P.js.map → BirthDateComponent-LPJrCAL_.js.map} +1 -1
- package/chunk/{CaptchaComponent-CHOmB72u.js → CaptchaComponent-CDjvkEjs.js} +15 -15
- package/chunk/{CaptchaComponent-CHOmB72u.js.map → CaptchaComponent-CDjvkEjs.js.map} +1 -1
- package/chunk/{CaptchaComponent-CUbOXmiG.js → CaptchaComponent-DFPS2y__.js} +15 -15
- package/chunk/{CaptchaComponent-CUbOXmiG.js.map → CaptchaComponent-DFPS2y__.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-D4HiJy2E.js → ChangeLocaleComponent-C4c65t7P.js} +9 -9
- package/chunk/{ChangeLocaleComponent-D4HiJy2E.js.map → ChangeLocaleComponent-C4c65t7P.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-D4pBfPkg.js → ChangeLocaleComponent-DH-1X0FY.js} +9 -9
- package/chunk/{ChangeLocaleComponent-D4pBfPkg.js.map → ChangeLocaleComponent-DH-1X0FY.js.map} +1 -1
- package/chunk/{City-CdWBe7HL.js → City-BJtFLWh3.js} +8 -8
- package/chunk/{City-BryCbKPP.js.map → City-BJtFLWh3.js.map} +1 -1
- package/chunk/{City-BryCbKPP.js → City-BZxI4PXL.js} +8 -8
- package/chunk/{City-CdWBe7HL.js.map → City-BZxI4PXL.js.map} +1 -1
- package/chunk/{CollegeNameComponent-CWAO3I4R.js → CollegeNameComponent-Bi-wg7QB.js} +10 -10
- package/chunk/{CollegeNameComponent-CWAO3I4R.js.map → CollegeNameComponent-Bi-wg7QB.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DzyMYXew.js → CollegeNameComponent-BwBvGC6z.js} +10 -10
- package/chunk/{CollegeNameComponent-DzyMYXew.js.map → CollegeNameComponent-BwBvGC6z.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-Dd5ZDKCz.js → CopyToClipboardComponent-cvPop_DN.js} +6 -6
- package/chunk/{CopyToClipboardComponent-BxP-eIzM.js.map → CopyToClipboardComponent-cvPop_DN.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-BxP-eIzM.js → CopyToClipboardComponent-nKhkSaum.js} +6 -6
- package/chunk/{CopyToClipboardComponent-Dd5ZDKCz.js.map → CopyToClipboardComponent-nKhkSaum.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DfWex-GH.js → CountryComponentWrapper-6uqWnE1r.js} +12 -12
- package/chunk/{CountryComponentWrapper-DGqTUeJ9.js.map → CountryComponentWrapper-6uqWnE1r.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DGqTUeJ9.js → CountryComponentWrapper-CniPcuyf.js} +12 -12
- package/chunk/{CountryComponentWrapper-DfWex-GH.js.map → CountryComponentWrapper-CniPcuyf.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DsWFEkse.js → DischargeDateComponent-BAF0mG_P.js} +11 -11
- package/chunk/{DischargeDateComponent-2sdFQFak.js.map → DischargeDateComponent-BAF0mG_P.js.map} +1 -1
- package/chunk/{DischargeDateComponent-2sdFQFak.js → DischargeDateComponent-DR13sk3k.js} +11 -11
- package/chunk/{DischargeDateComponent-DsWFEkse.js.map → DischargeDateComponent-DR13sk3k.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-CJmYTF0r.js → DriverLicenseNumberComponent-BXqDjBFW.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-CJmYTF0r.js.map → DriverLicenseNumberComponent-BXqDjBFW.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-w-Wpm0fk.js → DriverLicenseNumberComponent-CHeEvBfC.js} +8 -8
- package/chunk/{DriverLicenseNumberComponent-w-Wpm0fk.js.map → DriverLicenseNumberComponent-CHeEvBfC.js.map} +1 -1
- package/chunk/{EmailLoopPending-BVOXk0TZ.js → EmailLoopPending-DTcrnVc_.js} +11 -11
- package/chunk/{EmailLoopPending-B2Ok4wQ5.js.map → EmailLoopPending-DTcrnVc_.js.map} +1 -1
- package/chunk/{EmailLoopPending-B2Ok4wQ5.js → EmailLoopPending-DeGaC2BC.js} +11 -11
- package/chunk/{EmailLoopPending-BVOXk0TZ.js.map → EmailLoopPending-DeGaC2BC.js.map} +1 -1
- package/chunk/{ExtraMessage-nnzMgwxs.js → ExtraMessage-CGEGQWLv.js} +7 -7
- package/chunk/{ExtraMessage-C31_qJNI.js.map → ExtraMessage-CGEGQWLv.js.map} +1 -1
- package/chunk/{ExtraMessage-C31_qJNI.js → ExtraMessage-CYhV40qy.js} +7 -7
- package/chunk/{ExtraMessage-nnzMgwxs.js.map → ExtraMessage-CYhV40qy.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-B_ePUlXr.js → FirstResponderOrganizationComponent-7MI4tLBT.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-B_SXFEXh.js.map → FirstResponderOrganizationComponent-7MI4tLBT.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-B_SXFEXh.js → FirstResponderOrganizationComponent-wzhhaMQy.js} +9 -9
- package/chunk/{FirstResponderOrganizationComponent-B_ePUlXr.js.map → FirstResponderOrganizationComponent-wzhhaMQy.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CijRsSql.js → FormFieldInputSelect-BHmkTN_O.js} +7 -7
- package/chunk/{FormFieldInputSelect-B4Q9e9yJ.js.map → FormFieldInputSelect-BHmkTN_O.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-B4Q9e9yJ.js → FormFieldInputSelect-VRuZZ-Wn.js} +7 -7
- package/chunk/{FormFieldInputSelect-CijRsSql.js.map → FormFieldInputSelect-VRuZZ-Wn.js.map} +1 -1
- package/chunk/{FormFieldLayout-23VdEPCo.js → FormFieldLayout-Bx2JoyDR.js} +6 -6
- package/chunk/{FormFieldLayout-23VdEPCo.js.map → FormFieldLayout-Bx2JoyDR.js.map} +1 -1
- package/chunk/{FormFieldLayout-TnxaO2D9.js → FormFieldLayout-_lQMBCmX.js} +6 -6
- package/chunk/{FormFieldLayout-TnxaO2D9.js.map → FormFieldLayout-_lQMBCmX.js.map} +1 -1
- package/chunk/{FormFieldText-g6knOdgq.js → FormFieldText-5WjD4GNf.js} +7 -7
- package/chunk/{FormFieldText-Cm6HS8da.js.map → FormFieldText-5WjD4GNf.js.map} +1 -1
- package/chunk/{FormFieldText-Cm6HS8da.js → FormFieldText-BQLBciux.js} +7 -7
- package/chunk/{FormFieldText-g6knOdgq.js.map → FormFieldText-BQLBciux.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-ZVvnLWqG.js → FormFieldTypeahead-C2EPBiNG.js} +13 -13
- package/chunk/{FormFieldTypeahead-ZVvnLWqG.js.map → FormFieldTypeahead-C2EPBiNG.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CHRZZqMu.js → FormFieldTypeahead-DU9Mvkoc.js} +13 -13
- package/chunk/{FormFieldTypeahead-CHRZZqMu.js.map → FormFieldTypeahead-DU9Mvkoc.js.map} +1 -1
- package/chunk/{FormFooterComponent-DN_aTukK.js → FormFooterComponent-255rBMA8.js} +13 -13
- package/chunk/{FormFooterComponent-DN_aTukK.js.map → FormFooterComponent-255rBMA8.js.map} +1 -1
- package/chunk/{FormFooterComponent-UodGb8EG.js → FormFooterComponent-BODYx-e7.js} +13 -13
- package/chunk/{FormFooterComponent-UodGb8EG.js.map → FormFooterComponent-BODYx-e7.js.map} +1 -1
- package/chunk/{FormSelectChoice-BIk2v_ij.js → FormSelectChoice-BwXq8-_f.js} +8 -8
- package/chunk/{FormSelectChoice-BIk2v_ij.js.map → FormSelectChoice-BwXq8-_f.js.map} +1 -1
- package/chunk/{FormSelectChoice-XZsvJdSa.js → FormSelectChoice-Dvl1pArw.js} +8 -8
- package/chunk/{FormSelectChoice-XZsvJdSa.js.map → FormSelectChoice-Dvl1pArw.js.map} +1 -1
- package/chunk/{InputText-DjaVf2dX.js → InputText-DBIXmm_R.js} +6 -6
- package/chunk/{InputText-DjaVf2dX.js.map → InputText-DBIXmm_R.js.map} +1 -1
- package/chunk/{InputText-kW_kzMjm.js → InputText-DqQkxoCM.js} +6 -6
- package/chunk/{InputText-kW_kzMjm.js.map → InputText-DqQkxoCM.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-mcCaNV-R.js → LicensedProfessionalOrganizationComponent-CAQz7Ybw.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-BU2SZvkL.js.map → LicensedProfessionalOrganizationComponent-CAQz7Ybw.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BU2SZvkL.js → LicensedProfessionalOrganizationComponent-Cyg9VcUO.js} +9 -9
- package/chunk/{LicensedProfessionalOrganizationComponent-mcCaNV-R.js.map → LicensedProfessionalOrganizationComponent-Cyg9VcUO.js.map} +1 -1
- package/chunk/{LogoComponent-WMEJyDHA.js → LogoComponent-DrDusJn-.js} +6 -6
- package/chunk/{LogoComponent-BBiqSSo-.js.map → LogoComponent-DrDusJn-.js.map} +1 -1
- package/chunk/{LogoComponent-BBiqSSo-.js → LogoComponent-W7hhQZiM.js} +6 -6
- package/chunk/{LogoComponent-WMEJyDHA.js.map → LogoComponent-W7hhQZiM.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DaAfsxyz.js → LowIncomeOrganizationComponent-BNZa01FN.js} +12 -12
- package/chunk/{LowIncomeOrganizationComponent-BsAyEpcL.js.map → LowIncomeOrganizationComponent-BNZa01FN.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BsAyEpcL.js → LowIncomeOrganizationComponent-BUPIYaAv.js} +12 -12
- package/chunk/{LowIncomeOrganizationComponent-DaAfsxyz.js.map → LowIncomeOrganizationComponent-BUPIYaAv.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-D-OSmGVW.js → MedicalProfessionalOrganizationComponent-B8aFRivA.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-D-OSmGVW.js.map → MedicalProfessionalOrganizationComponent-B8aFRivA.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-j7YyHlZF.js → MedicalProfessionalOrganizationComponent-rkXp2DGE.js} +9 -9
- package/chunk/{MedicalProfessionalOrganizationComponent-j7YyHlZF.js.map → MedicalProfessionalOrganizationComponent-rkXp2DGE.js.map} +1 -1
- package/chunk/{MemberIdComponent-UKnA68zE.js → MemberIdComponent-63xc7HeG.js} +8 -8
- package/chunk/{MemberIdComponent-BZoHhg8k.js.map → MemberIdComponent-63xc7HeG.js.map} +1 -1
- package/chunk/{MemberIdComponent-BZoHhg8k.js → MemberIdComponent-CNJusvKP.js} +8 -8
- package/chunk/{MemberIdComponent-UKnA68zE.js.map → MemberIdComponent-CNJusvKP.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-Du-uDZEG.js → MembershipOrganizationComponent-CeQIfHMI.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-CNeWeHzI.js.map → MembershipOrganizationComponent-CeQIfHMI.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CNeWeHzI.js → MembershipOrganizationComponent-lG8dhgoO.js} +9 -9
- package/chunk/{MembershipOrganizationComponent-Du-uDZEG.js.map → MembershipOrganizationComponent-lG8dhgoO.js.map} +1 -1
- package/chunk/{Message-CbU7t2F7.js → Message-CXsloOPG.js} +9 -9
- package/chunk/{Message-CbU7t2F7.js.map → Message-CXsloOPG.js.map} +1 -1
- package/chunk/{Message-Dh1_V9dt.js → Message-Pv4qJFOt.js} +9 -9
- package/chunk/{Message-Dh1_V9dt.js.map → Message-Pv4qJFOt.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-B-M8eKpG.js → PersonalInfoStepSubmitButton-B8N6zLwy.js} +11 -11
- package/chunk/{PersonalInfoStepSubmitButton-B-M8eKpG.js.map → PersonalInfoStepSubmitButton-B8N6zLwy.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-C67UOzbu.js → PersonalInfoStepSubmitButton-DX1cC2Be.js} +11 -11
- package/chunk/{PersonalInfoStepSubmitButton-C67UOzbu.js.map → PersonalInfoStepSubmitButton-DX1cC2Be.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CJporV1L.js → PersonalInfoStepWrapper-0FYMarfv.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-CJporV1L.js.map → PersonalInfoStepWrapper-0FYMarfv.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-Can2a6R_.js → PersonalInfoStepWrapper-Bovl_PC7.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-Can2a6R_.js.map → PersonalInfoStepWrapper-Bovl_PC7.js.map} +1 -1
- package/chunk/{PostalCodeComponent-S8EMzjKA.js → PostalCodeComponent-Dj90ajZv.js} +8 -8
- package/chunk/{PostalCodeComponent-S8EMzjKA.js.map → PostalCodeComponent-Dj90ajZv.js.map} +1 -1
- package/chunk/{PostalCodeComponent-S8f2lhPF.js → PostalCodeComponent-HCayrbVw.js} +8 -8
- package/chunk/{PostalCodeComponent-S8f2lhPF.js.map → PostalCodeComponent-HCayrbVw.js.map} +1 -1
- package/chunk/{SSN-Dt_cpKLM.js → SSN-04mfbDs9.js} +8 -8
- package/chunk/{SSN-CqHnWpBl.js.map → SSN-04mfbDs9.js.map} +1 -1
- package/chunk/{SSN-CqHnWpBl.js → SSN-DSBe_gw3.js} +8 -8
- package/chunk/{SSN-Dt_cpKLM.js.map → SSN-DSBe_gw3.js.map} +1 -1
- package/chunk/{StateSelectComponent-CinTEErP.js → StateSelectComponent-0fvodov6.js} +8 -8
- package/chunk/{StateSelectComponent-CinTEErP.js.map → StateSelectComponent-0fvodov6.js.map} +1 -1
- package/chunk/{StateSelectComponent-DUZtpcwe.js → StateSelectComponent-DVlAp-DK.js} +8 -8
- package/chunk/{StateSelectComponent-DUZtpcwe.js.map → StateSelectComponent-DVlAp-DK.js.map} +1 -1
- package/chunk/{StatusComponent-D3J57l9V.js → StatusComponent-Ca3c9SVu.js} +9 -9
- package/chunk/{StatusComponent-D3J57l9V.js.map → StatusComponent-Ca3c9SVu.js.map} +1 -1
- package/chunk/{StatusComponent-CwwsRQmS.js → StatusComponent-ClBe7vYD.js} +9 -9
- package/chunk/{StatusComponent-CwwsRQmS.js.map → StatusComponent-ClBe7vYD.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Cd2H3W4S.js → StepAgePersonalInfo-Bc1jdSPq.js} +20 -20
- package/chunk/{StepAgePersonalInfo-Cd2H3W4S.js.map → StepAgePersonalInfo-Bc1jdSPq.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-bff8TmYc.js → StepAgePersonalInfo-C3r-dsm6.js} +20 -20
- package/chunk/{StepAgePersonalInfo-bff8TmYc.js.map → StepAgePersonalInfo-C3r-dsm6.js.map} +1 -1
- package/chunk/{StepCard-A7CfdiZx.js → StepCard-CQGeXH7Z.js} +5 -5
- package/chunk/{StepCard-A7CfdiZx.js.map → StepCard-CQGeXH7Z.js.map} +1 -1
- package/chunk/{StepCard-TuSPjGQj.js → StepCard-DD1BU5jb.js} +5 -5
- package/chunk/{StepCard-TuSPjGQj.js.map → StepCard-DD1BU5jb.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DpxG8Qao.js → StepCollectIdentifier-CVtdSqUw.js} +9 -9
- package/chunk/{StepCollectIdentifier-DhHTccOW.js.map → StepCollectIdentifier-CVtdSqUw.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-DhHTccOW.js → StepCollectIdentifier-DnwS2iss.js} +9 -9
- package/chunk/{StepCollectIdentifier-DpxG8Qao.js.map → StepCollectIdentifier-DnwS2iss.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js → StepCollectMilitaryPersonalInfoComponent-CCQCR2bF.js} +23 -23
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js.map → StepCollectMilitaryPersonalInfoComponent-CCQCR2bF.js.map} +1 -1
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-0gI8ebUM.js → StepCollectMilitaryPersonalInfoComponent-a50vTE8-.js} +23 -23
- package/chunk/{StepCollectMilitaryPersonalInfoComponent-DQCRukuB.js.map → StepCollectMilitaryPersonalInfoComponent-a50vTE8-.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-0D43XcYg.js → StepCollectPersonalInfo-D4ISdDWu.js} +33 -33
- package/chunk/{StepCollectPersonalInfo-0D43XcYg.js.map → StepCollectPersonalInfo-D4ISdDWu.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-DGCHonaO.js → StepCollectPersonalInfo-D5O-akAe.js} +33 -33
- package/chunk/{StepCollectPersonalInfo-DGCHonaO.js.map → StepCollectPersonalInfo-D5O-akAe.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-9IO15InM.js → StepCompleteAuthentication-CVdnwB3N.js} +9 -9
- package/chunk/{StepCompleteAuthentication-9IO15InM.js.map → StepCompleteAuthentication-CVdnwB3N.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-BtaBmTdY.js → StepCompleteAuthentication-Eu1CDlzS.js} +9 -9
- package/chunk/{StepCompleteAuthentication-BtaBmTdY.js.map → StepCompleteAuthentication-Eu1CDlzS.js.map} +1 -1
- package/chunk/{StepConsolation-BlyaWmH0.js → StepConsolation-BP0APlQp.js} +8 -8
- package/chunk/{StepConsolation-BlyaWmH0.js.map → StepConsolation-BP0APlQp.js.map} +1 -1
- package/chunk/{StepConsolation-BYJrzPhb.js → StepConsolation-Dunh50FA.js} +8 -8
- package/chunk/{StepConsolation-BYJrzPhb.js.map → StepConsolation-Dunh50FA.js.map} +1 -1
- package/chunk/{StepDocUpload-UWDCjeCP.js → StepDocUpload-C1poV4YP.js} +13 -13
- package/chunk/{StepDocUpload-UWDCjeCP.js.map → StepDocUpload-C1poV4YP.js.map} +1 -1
- package/chunk/{StepDocUpload-Dt9BXXEb.js → StepDocUpload-ca37JzvB.js} +13 -13
- package/chunk/{StepDocUpload-Dt9BXXEb.js.map → StepDocUpload-ca37JzvB.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BefsBTXA.js → StepDriverLicensePersonalInfoComponent-DGfEmKqI.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-CPOFMRp_.js.map → StepDriverLicensePersonalInfoComponent-DGfEmKqI.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CPOFMRp_.js → StepDriverLicensePersonalInfoComponent-DepEEM5S.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-BefsBTXA.js.map → StepDriverLicensePersonalInfoComponent-DepEEM5S.js.map} +1 -1
- package/chunk/{StepEmailLoop-B0oRiGz0.js → StepEmailLoop-DqArjY_v.js} +13 -13
- package/chunk/{StepEmailLoop-B0oRiGz0.js.map → StepEmailLoop-DqArjY_v.js.map} +1 -1
- package/chunk/{StepEmailLoop-CS2KUPEU.js → StepEmailLoop-EyzQl3Ey.js} +13 -13
- package/chunk/{StepEmailLoop-CS2KUPEU.js.map → StepEmailLoop-EyzQl3Ey.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-B4Q_Vmn1.js → StepEmploymentPersonalInfo-B5j_yOGA.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-B4Q_Vmn1.js.map → StepEmploymentPersonalInfo-B5j_yOGA.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-Yib6xGXV.js → StepEmploymentPersonalInfo-Ccn883CI.js} +20 -20
- package/chunk/{StepEmploymentPersonalInfo-Yib6xGXV.js.map → StepEmploymentPersonalInfo-Ccn883CI.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-B4tL9MhD.js → StepFirstResponderPersonalInfo-BFQqt8EG.js} +21 -21
- package/chunk/{StepFirstResponderPersonalInfo-B4tL9MhD.js.map → StepFirstResponderPersonalInfo-BFQqt8EG.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-B9PC3Jng.js → StepFirstResponderPersonalInfo-DJBEeKv_.js} +21 -21
- package/chunk/{StepFirstResponderPersonalInfo-B9PC3Jng.js.map → StepFirstResponderPersonalInfo-DJBEeKv_.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent--PJYfPS9.js → StepGeneralIdentityPersonalInfoComponent-C5AHu2gr.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent--PJYfPS9.js.map → StepGeneralIdentityPersonalInfoComponent-C5AHu2gr.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js → StepGeneralIdentityPersonalInfoComponent-CCT63_qS.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-8oj9G0T1.js.map → StepGeneralIdentityPersonalInfoComponent-CCT63_qS.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D0Bo9WQP.js → StepHybridIdentityPersonalInfoComponent-BeuwbX3V.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js.map → StepHybridIdentityPersonalInfoComponent-BeuwbX3V.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CjQ0foYf.js → StepHybridIdentityPersonalInfoComponent-C2nf4XF5.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-D0Bo9WQP.js.map → StepHybridIdentityPersonalInfoComponent-C2nf4XF5.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DuWYhW6n.js → StepIDCheckLoop-DlEAyYii.js} +8 -8
- package/chunk/{StepIDCheckLoop-D4zeYY-d.js.map → StepIDCheckLoop-DlEAyYii.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-D4zeYY-d.js → StepIDCheckLoop-rXqxlIw-.js} +8 -8
- package/chunk/{StepIDCheckLoop-DuWYhW6n.js.map → StepIDCheckLoop-rXqxlIw-.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-hmgOrSYi.js → StepIDCheckLoopOnfido-BJ5urue7.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-hmgOrSYi.js.map → StepIDCheckLoopOnfido-BJ5urue7.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Rcx5dDBJ.js → StepIDCheckLoopOnfido-C7RYduHM.js} +11 -11
- package/chunk/{StepIDCheckLoopOnfido-Rcx5dDBJ.js.map → StepIDCheckLoopOnfido-C7RYduHM.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DNfiiZQR.js → StepIDCheckLoopRegula-BxOVF0zq.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-D4uRVHpI.js.map → StepIDCheckLoopRegula-BxOVF0zq.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D4uRVHpI.js → StepIDCheckLoopRegula-CmO9JHjw.js} +11 -11
- package/chunk/{StepIDCheckLoopRegula-DNfiiZQR.js.map → StepIDCheckLoopRegula-CmO9JHjw.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CdejPwI2.js → StepLicensedProfessionalPersonalInfo-DeWdYDC7.js} +20 -20
- package/chunk/{StepLicensedProfessionalPersonalInfo-CIUHCkK-.js.map → StepLicensedProfessionalPersonalInfo-DeWdYDC7.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-CIUHCkK-.js → StepLicensedProfessionalPersonalInfo-WdTQgbDu.js} +20 -20
- package/chunk/{StepLicensedProfessionalPersonalInfo-CdejPwI2.js.map → StepLicensedProfessionalPersonalInfo-WdTQgbDu.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Bhg26pJ9.js → StepLowIncomePersonalInfo-CC5FXs7x.js} +24 -24
- package/chunk/{StepLowIncomePersonalInfo-Bhg26pJ9.js.map → StepLowIncomePersonalInfo-CC5FXs7x.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-jV2FDRyA.js → StepLowIncomePersonalInfo-i-VBpK9S.js} +24 -24
- package/chunk/{StepLowIncomePersonalInfo-jV2FDRyA.js.map → StepLowIncomePersonalInfo-i-VBpK9S.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-2T8NjAkS.js → StepMedicalProfessionalPersonalInfo-Dkc9087H.js} +21 -21
- package/chunk/{StepMedicalProfessionalPersonalInfo-2T8NjAkS.js.map → StepMedicalProfessionalPersonalInfo-Dkc9087H.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-5gdyRLPb.js → StepMedicalProfessionalPersonalInfo-SAO5CtMw.js} +21 -21
- package/chunk/{StepMedicalProfessionalPersonalInfo-5gdyRLPb.js.map → StepMedicalProfessionalPersonalInfo-SAO5CtMw.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-49h2IL56.js → StepMemberPersonalInfo-CXghKVnV.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-49h2IL56.js.map → StepMemberPersonalInfo-CXghKVnV.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BLfVdTS4.js → StepMemberPersonalInfo-ChJdaEVh.js} +17 -17
- package/chunk/{StepMemberPersonalInfo-BLfVdTS4.js.map → StepMemberPersonalInfo-ChJdaEVh.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-Bn4baYdo.js → StepMoverPersonalInfo-CHsZQoYX.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-BBL0N0po.js.map → StepMoverPersonalInfo-CHsZQoYX.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BBL0N0po.js → StepMoverPersonalInfo-lE_DT9QP.js} +15 -15
- package/chunk/{StepMoverPersonalInfo-Bn4baYdo.js.map → StepMoverPersonalInfo-lE_DT9QP.js.map} +1 -1
- package/chunk/{StepOverrideComponent-D1Yt52PA.js → StepOverrideComponent-CavVtnot.js} +12 -12
- package/chunk/{StepOverrideComponent-D1Yt52PA.js.map → StepOverrideComponent-CavVtnot.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Db2qbG7p.js → StepOverrideComponent-DSIzXv7B.js} +12 -12
- package/chunk/{StepOverrideComponent-Db2qbG7p.js.map → StepOverrideComponent-DSIzXv7B.js.map} +1 -1
- package/chunk/{StepSMSLoop-DyFk46pS.js → StepSMSLoop-BjGQ4_AI.js} +9 -9
- package/chunk/{StepSMSLoop-B5pvxGza.js.map → StepSMSLoop-BjGQ4_AI.js.map} +1 -1
- package/chunk/{StepSMSLoop-B5pvxGza.js → StepSMSLoop-h6v-5p0A.js} +9 -9
- package/chunk/{StepSMSLoop-DyFk46pS.js.map → StepSMSLoop-h6v-5p0A.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-BScMW4aa.js → StepSocialSecurityNumber-5DvpGlIR.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-BScMW4aa.js.map → StepSocialSecurityNumber-5DvpGlIR.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BXTFTRtU.js → StepSocialSecurityNumber-BfhekSVt.js} +12 -12
- package/chunk/{StepSocialSecurityNumber-BXTFTRtU.js.map → StepSocialSecurityNumber-BfhekSVt.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-C_Gwr1pT.js → StepStudentPersonalInfo-C5wtlMYZ.js} +20 -20
- package/chunk/{StepStudentPersonalInfo-BXgbCDPU.js.map → StepStudentPersonalInfo-C5wtlMYZ.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BXgbCDPU.js → StepStudentPersonalInfo-CdlJ9HdN.js} +20 -20
- package/chunk/{StepStudentPersonalInfo-C_Gwr1pT.js.map → StepStudentPersonalInfo-CdlJ9HdN.js.map} +1 -1
- package/chunk/{StepSuccess-BWigRqmh.js → StepSuccess-ln7uIVfv.js} +13 -13
- package/chunk/{StepSuccess-D0GQexPa.js.map → StepSuccess-ln7uIVfv.js.map} +1 -1
- package/chunk/{StepSuccess-D0GQexPa.js → StepSuccess-oQGzgWO-.js} +13 -13
- package/chunk/{StepSuccess-BWigRqmh.js.map → StepSuccess-oQGzgWO-.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DZ4924qb.js → StepTeacherPersonalInfo-CksZvD4s.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-Bv9DB_Lt.js.map → StepTeacherPersonalInfo-CksZvD4s.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-Bv9DB_Lt.js → StepTeacherPersonalInfo-IHjvOhoN.js} +18 -18
- package/chunk/{StepTeacherPersonalInfo-DZ4924qb.js.map → StepTeacherPersonalInfo-IHjvOhoN.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-DE9AiCxY.js → TeacherSchoolComponent-B7Kv6msf.js} +10 -10
- package/chunk/{TeacherSchoolComponent-DE9AiCxY.js.map → TeacherSchoolComponent-B7Kv6msf.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-DmGbff9I.js → TeacherSchoolComponent-C2KANY5v.js} +10 -10
- package/chunk/{TeacherSchoolComponent-DmGbff9I.js.map → TeacherSchoolComponent-C2KANY5v.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-A7CajDc2.js → TestingRouteOverrides-BbCY31VT.js} +6 -6
- package/chunk/{TestingRouteOverrides-A7CajDc2.js.map → TestingRouteOverrides-BbCY31VT.js.map} +1 -1
- package/chunk/{TestingRouteOverrides-CteVovkM.js → TestingRouteOverrides-DEu_4afz.js} +6 -6
- package/chunk/{TestingRouteOverrides-CteVovkM.js.map → TestingRouteOverrides-DEu_4afz.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/ar-D5CO913q.js +4 -4
- package/chunk/bg-1mhA5kYF.js +4 -4
- package/chunk/bn-IN-CpDqyRb_.js +4 -4
- package/chunk/clsx-CB5rauS5.js +4 -4
- package/chunk/countryUtils-BS5l_UyX.js +12 -0
- package/chunk/{countryUtils-Cm0CKgKH.js.map → countryUtils-BS5l_UyX.js.map} +1 -1
- package/chunk/{countryUtils-Cm0CKgKH.js → countryUtils-DmLi0vv3.js} +5 -5
- package/chunk/{countryUtils-tSyfKDmf.js.map → countryUtils-DmLi0vv3.js.map} +1 -1
- package/chunk/cs-Chh7FAGt.js +4 -4
- package/chunk/da-DwrVoxto.js +4 -4
- package/chunk/de-IWGZLhgY.js +4 -4
- package/chunk/{downshift.esm-DW1n73ef.js → downshift.esm-BvJ9pNsp.js} +7 -7
- package/chunk/{downshift.esm-DdyoD_BK.js.map → downshift.esm-BvJ9pNsp.js.map} +1 -1
- package/chunk/{downshift.esm-DdyoD_BK.js → downshift.esm-DxVhcSAO.js} +7 -7
- package/chunk/{downshift.esm-DW1n73ef.js.map → downshift.esm-DxVhcSAO.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/{empties-CuzjzEsL.js → empties-B034wwK_.js} +5 -5
- package/chunk/{empties-CuzjzEsL.js.map → empties-B034wwK_.js.map} +1 -1
- package/chunk/{empties-vS2Us_U5.js → empties-lrCPA-9V.js} +5 -5
- package/chunk/{empties-vS2Us_U5.js.map → empties-lrCPA-9V.js.map} +1 -1
- package/chunk/{en-GB-BBkjjtqq.js → en-GB-CNQ8Ww2j.js} +5 -5
- package/chunk/{en-GB-BBkjjtqq.js.map → en-GB-CNQ8Ww2j.js.map} +1 -1
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/{hooks-CAAVVsC2.js → hooks-Bu8Px0Ok.js} +7 -7
- package/chunk/{hooks-BqfaxVbh.js.map → hooks-Bu8Px0Ok.js.map} +1 -1
- package/chunk/{hooks-BqfaxVbh.js → hooks-DSoorQS3.js} +7 -7
- package/chunk/{hooks-CAAVVsC2.js.map → hooks-DSoorQS3.js.map} +1 -1
- package/chunk/hr-BtqyDzDB.js +4 -4
- package/chunk/hu-C6syKJfb.js +4 -4
- package/chunk/id-GgI-Z2a5.js +4 -4
- package/chunk/{intl-8IwAIXoJ.js → intl-DYOqmiaL.js} +5 -5
- package/chunk/{intl-8IwAIXoJ.js.map → intl-DYOqmiaL.js.map} +1 -1
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/{jsx-runtime-Dztc5pGe.js → jsx-runtime-338NbZob.js} +5 -5
- package/chunk/{jsx-runtime-Dztc5pGe.js.map → jsx-runtime-338NbZob.js.map} +1 -1
- package/chunk/{jsx-runtime-DOcXt_NQ.js → jsx-runtime-B6t5B3Mb.js} +5 -5
- package/chunk/{jsx-runtime-DOcXt_NQ.js.map → jsx-runtime-B6t5B3Mb.js.map} +1 -1
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/{mocks-B63gxlSj.js → mocks-BQNtP7qW.js} +5 -5
- package/chunk/{mocks-DPa4hUmN.js.map → mocks-BQNtP7qW.js.map} +1 -1
- package/chunk/{mocks-DPa4hUmN.js → mocks-DC7WJf5c.js} +5 -5
- package/chunk/{mocks-B63gxlSj.js.map → mocks-DC7WJf5c.js.map} +1 -1
- package/chunk/ms-BjestZxy.js +4 -4
- package/chunk/nl-B1FyUfCT.js +4 -4
- package/chunk/nl-BE-CbeAd3nq.js +4 -4
- package/chunk/no-Dr633Ddi.js +4 -4
- package/chunk/{options-CbyxEsS6.js → options-DsRV5fwh.js} +5 -5
- package/chunk/{options-CbyxEsS6.js.map → options-DsRV5fwh.js.map} +1 -1
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/{programThemeGetters-Dz1mfptL.js → programThemeGetters-D2jhKzCk.js} +6 -6
- package/chunk/{programThemeGetters-Dz1mfptL.js.map → programThemeGetters-D2jhKzCk.js.map} +1 -1
- package/chunk/{programThemeGetters-BzTM_4ke.js → programThemeGetters-DOE6jA3j.js} +6 -6
- package/chunk/{programThemeGetters-BzTM_4ke.js.map → programThemeGetters-DOE6jA3j.js.map} +1 -1
- package/chunk/pt-BR-C8SYMT-J.js +4 -4
- package/chunk/pt-uH-M3GdN.js +4 -4
- package/chunk/refs-Mq0rtW9K.js +4 -4
- package/chunk/ro-CAOSXZ7h.js +4 -4
- package/chunk/ru-iwYoEydL.js +4 -4
- package/chunk/runtimeTypes-B2AGNJMT.js +4 -4
- package/chunk/sk-DYYNV3zw.js +4 -4
- package/chunk/sl-D_-eeM5N.js +4 -4
- package/chunk/sr-BTi9_anL.js +4 -4
- package/chunk/{stepComponentHelpers-JFXsrK-K.js → stepComponentHelpers-CvC0Nxhe.js} +7 -7
- package/chunk/{stepComponentHelpers-CuO5tLTB.js.map → stepComponentHelpers-CvC0Nxhe.js.map} +1 -1
- package/chunk/{stepComponentHelpers-CuO5tLTB.js → stepComponentHelpers-HOnoMkIF.js} +7 -7
- package/chunk/{stepComponentHelpers-JFXsrK-K.js.map → stepComponentHelpers-HOnoMkIF.js.map} +1 -1
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-DRwY4shG.js +4 -4
- package/chunk/sw-Bvj2mYmM.js +4 -4
- package/chunk/ta-CmtaYoNe.js +4 -4
- package/chunk/th-12r2yKkJ.js +4 -4
- package/chunk/tl-BGNfO7md.js +4 -4
- package/chunk/tr-DH2ZSJhs.js +4 -4
- package/chunk/uk-CELBZlTd.js +4 -4
- package/chunk/ur-MR8DTbmd.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-DnZkFvvB.js → useCollectFieldsEndpoint-CmouCZq3.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-DnZkFvvB.js.map → useCollectFieldsEndpoint-CmouCZq3.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-B3-jkSlI.js → useCollectFieldsEndpoint-Cvoj41dp.js} +8 -8
- package/chunk/{useCollectFieldsEndpoint-B3-jkSlI.js.map → useCollectFieldsEndpoint-Cvoj41dp.js.map} +1 -1
- package/chunk/{useMetrics-BtncAWgP.js → useMetrics-C3RIqUJI.js} +7 -7
- package/chunk/{useMetrics-BtncAWgP.js.map → useMetrics-C3RIqUJI.js.map} +1 -1
- package/chunk/{useMetrics-DRKq3hnJ.js → useMetrics-dwc-Zjl_.js} +7 -7
- package/chunk/{useMetrics-DRKq3hnJ.js.map → useMetrics-dwc-Zjl_.js.map} +1 -1
- package/chunk/vi-DtZ-SqD5.js +4 -4
- package/chunk/zh-DjyVyYac.js +4 -4
- package/chunk/zh-HK-CN1HarHq.js +4 -4
- package/chunk/zu-DPhgIh1z.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +43 -43
- package/chunk/countryUtils-tSyfKDmf.js +0 -12
package/chunk/{StepSocialSecurityNumber-BScMW4aa.js.map → StepSocialSecurityNumber-5DvpGlIR.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepSocialSecurityNumber-
|
|
1
|
+
{"version":3,"file":"StepSocialSecurityNumber-5DvpGlIR.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,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IACJ,EAAU,wBAAwB,EAAU,qBAAqB,SAAS,EAAE,WAAW;CAYzF,OAVI,IAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,cAAc,EAAc,EAAK;EACjC,cAAc;EACO;CACtB,CAAA,IAKH,iBAAA,GAAA,EAAA,MAAC,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AAA,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,21 +4,21 @@
|
|
|
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.292.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790096451660
|
|
9
|
+
* BUILD_DATE: Tue Sep 22 2026 17:00:51 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 5f5dc76a5c987c725c3af9a5f2d5528fecc03671
|
|
11
11
|
*/
|
|
12
|
-
import { kt as e, p as t } from "./intl-
|
|
12
|
+
import { kt as e, p as t } from "./intl-DYOqmiaL.js";
|
|
13
13
|
import { b as n, t as r } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
15
|
-
import { t as c } from "./FormFooterComponent-
|
|
14
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-B6t5B3Mb.js";
|
|
15
|
+
import { t as c } from "./FormFooterComponent-BODYx-e7.js";
|
|
16
16
|
import { o as l } from "./refs-Mq0rtW9K.js";
|
|
17
|
-
import { t as u } from "./LogoComponent-
|
|
18
|
-
import { t as d } from "./AnnouncingHeader-
|
|
19
|
-
import { d as f, p } from "./stepComponentHelpers-
|
|
20
|
-
import { t as m } from "./ChangeLocaleComponent-
|
|
21
|
-
import { t as h } from "./SSN-
|
|
17
|
+
import { t as u } from "./LogoComponent-DrDusJn-.js";
|
|
18
|
+
import { t as d } from "./AnnouncingHeader-C6QNdmy8.js";
|
|
19
|
+
import { d as f, p } from "./stepComponentHelpers-CvC0Nxhe.js";
|
|
20
|
+
import { t as m } from "./ChangeLocaleComponent-C4c65t7P.js";
|
|
21
|
+
import { t as h } from "./SSN-04mfbDs9.js";
|
|
22
22
|
//#region src/components/StepSocialSecurityNumber/SsnChoice.tsx
|
|
23
23
|
var g = /* @__PURE__ */ e(a(), 1), _ = s(), v = ({ useSsn: e, useDocUpload: t, verificationService: n }) => /* @__PURE__ */ (0, _.jsxs)("div", {
|
|
24
24
|
id: "sid-ssn-choice",
|
package/chunk/{StepSocialSecurityNumber-BXTFTRtU.js.map → StepSocialSecurityNumber-BfhekSVt.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepSocialSecurityNumber-
|
|
1
|
+
{"version":3,"file":"StepSocialSecurityNumber-BfhekSVt.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,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IACJ,EAAU,wBAAwB,EAAU,qBAAqB,SAAS,EAAE,WAAW;CAYzF,OAVI,IAEA,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,cAAc,EAAc,EAAK;EACjC,cAAc;EACO;CACtB,CAAA,IAKH,iBAAA,GAAA,EAAA,MAAC,OAAD;EACE,IAAG;EACH,WAAU;YAFZ,CAIE,iBAA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A,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,29 +4,29 @@
|
|
|
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.292.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790096451660
|
|
9
|
+
* BUILD_DATE: Tue Sep 22 2026 17:00:51 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 5f5dc76a5c987c725c3af9a5f2d5528fecc03671
|
|
11
11
|
*/
|
|
12
|
-
import { kt as e, p as t, s as n } from "./intl-
|
|
12
|
+
import { kt as e, p as t, s as n } from "./intl-DYOqmiaL.js";
|
|
13
13
|
import { b as r, p as i } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
|
-
import { c as a, n as o, t as s } from "./jsx-runtime-
|
|
15
|
-
import { n as c } from "./Message-
|
|
16
|
-
import { p as l } from "./FormFooterComponent-
|
|
17
|
-
import { t as u } from "./hooks-
|
|
14
|
+
import { c as a, n as o, t as s } from "./jsx-runtime-B6t5B3Mb.js";
|
|
15
|
+
import { n as c } from "./Message-Pv4qJFOt.js";
|
|
16
|
+
import { p as l } from "./FormFooterComponent-BODYx-e7.js";
|
|
17
|
+
import { t as u } from "./hooks-DSoorQS3.js";
|
|
18
18
|
import { t as d } from "../_mysheerid-preview.js";
|
|
19
|
-
import { a as f, m as p, p as m, t as h } from "./stepComponentHelpers-
|
|
20
|
-
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-
|
|
21
|
-
import { t as S } from "./FormFieldText-
|
|
22
|
-
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-
|
|
23
|
-
import { t as T } from "./BirthDateComponent-
|
|
24
|
-
import { t as E } from "./CountryComponentWrapper-
|
|
25
|
-
import { t as D } from "./ExtraMessage-
|
|
26
|
-
import { t as O } from "./ChangeLocaleComponent-
|
|
27
|
-
import { t as k } from "./PersonalInfoStepWrapper-
|
|
28
|
-
import { t as A } from "./CollegeNameComponent-
|
|
29
|
-
import { t as j } from "./StatusComponent-
|
|
19
|
+
import { a as f, m as p, p as m, t as h } from "./stepComponentHelpers-CvC0Nxhe.js";
|
|
20
|
+
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-DFPS2y__.js";
|
|
21
|
+
import { t as S } from "./FormFieldText-5WjD4GNf.js";
|
|
22
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-B8N6zLwy.js";
|
|
23
|
+
import { t as T } from "./BirthDateComponent-LPJrCAL_.js";
|
|
24
|
+
import { t as E } from "./CountryComponentWrapper-CniPcuyf.js";
|
|
25
|
+
import { t as D } from "./ExtraMessage-CGEGQWLv.js";
|
|
26
|
+
import { t as O } from "./ChangeLocaleComponent-C4c65t7P.js";
|
|
27
|
+
import { t as k } from "./PersonalInfoStepWrapper-Bovl_PC7.js";
|
|
28
|
+
import { t as A } from "./CollegeNameComponent-BwBvGC6z.js";
|
|
29
|
+
import { t as j } from "./StatusComponent-ClBe7vYD.js";
|
|
30
30
|
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
31
31
|
var M = /* @__PURE__ */ e(a(), 1), N = s(), P = ({ value: e, isErrored: t, onChange: n, explanation: r, placeholder: i = "", isRequired: a = !1 }) => {
|
|
32
32
|
let { msg: s } = c(), l = u("include-cvec-field-france-student");
|
package/chunk/{StepStudentPersonalInfo-BXgbCDPU.js.map → StepStudentPersonalInfo-C5wtlMYZ.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepStudentPersonalInfo-BXgbCDPU.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,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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"}
|
|
1
|
+
{"version":3,"file":"StepStudentPersonalInfo-C5wtlMYZ.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,0BA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GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.292.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790096447384
|
|
5
|
+
* BUILD_DATE: Tue Sep 22 2026 17:00:47 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 5f5dc76a5c987c725c3af9a5f2d5528fecc03671
|
|
7
7
|
*/
|
|
8
|
-
import { c as e, kt as t, n } from "./options-
|
|
9
|
-
import { c as r, n as i, t as a } from "./jsx-runtime-
|
|
10
|
-
import { n as o } from "./Message-
|
|
8
|
+
import { c as e, kt as t, n } from "./options-DsRV5fwh.js";
|
|
9
|
+
import { c as r, n as i, t as a } from "./jsx-runtime-338NbZob.js";
|
|
10
|
+
import { n as o } from "./Message-CXsloOPG.js";
|
|
11
11
|
import { b as s, p as c } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
|
-
import { h as l } from "./FormFooterComponent-
|
|
13
|
-
import { t as u } from "./hooks-
|
|
12
|
+
import { h as l } from "./FormFooterComponent-255rBMA8.js";
|
|
13
|
+
import { t as u } from "./hooks-Bu8Px0Ok.js";
|
|
14
14
|
import { n as d } from "../sheerid.js";
|
|
15
|
-
import { a as f, m as p, p as m, t as h } from "./stepComponentHelpers-
|
|
16
|
-
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-
|
|
17
|
-
import { t as S } from "./FormFieldText-
|
|
18
|
-
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-
|
|
19
|
-
import { t as T } from "./BirthDateComponent-
|
|
20
|
-
import { t as E } from "./CountryComponentWrapper-
|
|
21
|
-
import { t as D } from "./ExtraMessage-
|
|
22
|
-
import { t as O } from "./ChangeLocaleComponent-
|
|
23
|
-
import { t as k } from "./PersonalInfoStepWrapper-
|
|
24
|
-
import { t as A } from "./CollegeNameComponent-
|
|
25
|
-
import { t as j } from "./StatusComponent-
|
|
15
|
+
import { a as f, m as p, p as m, t as h } from "./stepComponentHelpers-HOnoMkIF.js";
|
|
16
|
+
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-CDjvkEjs.js";
|
|
17
|
+
import { t as S } from "./FormFieldText-BQLBciux.js";
|
|
18
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-DX1cC2Be.js";
|
|
19
|
+
import { t as T } from "./BirthDateComponent-CVAuHPwX.js";
|
|
20
|
+
import { t as E } from "./CountryComponentWrapper-6uqWnE1r.js";
|
|
21
|
+
import { t as D } from "./ExtraMessage-CYhV40qy.js";
|
|
22
|
+
import { t as O } from "./ChangeLocaleComponent-DH-1X0FY.js";
|
|
23
|
+
import { t as k } from "./PersonalInfoStepWrapper-0FYMarfv.js";
|
|
24
|
+
import { t as A } from "./CollegeNameComponent-Bi-wg7QB.js";
|
|
25
|
+
import { t as j } from "./StatusComponent-Ca3c9SVu.js";
|
|
26
26
|
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
27
27
|
var M = /* @__PURE__ */ t(r(), 1), N = a(), P = ({ value: e, isErrored: t, onChange: n, explanation: r, placeholder: a = "", isRequired: s = !1 }) => {
|
|
28
28
|
let { msg: c } = o(), l = u("include-cvec-field-france-student");
|
package/chunk/{StepStudentPersonalInfo-C_Gwr1pT.js.map → StepStudentPersonalInfo-CdlJ9HdN.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepStudentPersonalInfo-C_Gwr1pT.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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BAAoB,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"}
|
|
1
|
+
{"version":3,"file":"StepStudentPersonalInfo-CdlJ9HdN.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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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.292.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790096451660
|
|
9
|
+
* BUILD_DATE: Tue Sep 22 2026 17:00:51 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 5f5dc76a5c987c725c3af9a5f2d5528fecc03671
|
|
11
11
|
*/
|
|
12
|
-
import { J as e, Y as t, dt as n, g as r, kt as i, s as a, t as o, y as s } from "./intl-
|
|
12
|
+
import { J as e, Y as t, dt as n, g as r, kt as i, s as a, t as o, y as s } from "./intl-DYOqmiaL.js";
|
|
13
13
|
import { S as c, l } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
|
-
import { p as u, w as d } from "./programThemeGetters-
|
|
15
|
-
import { c as f, n as p, t as m } from "./jsx-runtime-
|
|
16
|
-
import { i as h } from "./TestingRouteOverrides-
|
|
14
|
+
import { p as u, w as d } from "./programThemeGetters-D2jhKzCk.js";
|
|
15
|
+
import { c as f, n as p, t as m } from "./jsx-runtime-B6t5B3Mb.js";
|
|
16
|
+
import { i as h } from "./TestingRouteOverrides-BbCY31VT.js";
|
|
17
17
|
import { t as g } from "./eventEmitter-CSG6jR7V.js";
|
|
18
|
-
import { t as _ } from "./hooks-
|
|
19
|
-
import { t as v } from "./LogoComponent-
|
|
20
|
-
import { t as y } from "./AnnouncingHeader-
|
|
21
|
-
import { n as b } from "./stepComponentHelpers-
|
|
18
|
+
import { t as _ } from "./hooks-DSoorQS3.js";
|
|
19
|
+
import { t as v } from "./LogoComponent-DrDusJn-.js";
|
|
20
|
+
import { t as y } from "./AnnouncingHeader-C6QNdmy8.js";
|
|
21
|
+
import { n as b } from "./stepComponentHelpers-CvC0Nxhe.js";
|
|
22
22
|
import { t as x } from "./clsx-CB5rauS5.js";
|
|
23
|
-
import { t as S } from "./CopyToClipboardComponent-
|
|
23
|
+
import { t as S } from "./CopyToClipboardComponent-cvPop_DN.js";
|
|
24
24
|
//#region src/lib/installScript/utils.ts
|
|
25
25
|
var C = /* @__PURE__ */ i(f(), 1), w = (e) => {
|
|
26
26
|
let t = new URL(e);
|