@sheerid/jslib 2.289.0 → 2.290.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 +104 -105
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-BFEdmLph.js → AddressComponent-DD8h728z.js} +6 -6
- package/chunk/{AddressComponent-BFEdmLph.js.map → AddressComponent-DD8h728z.js.map} +1 -1
- package/chunk/{AddressComponent-C2mollBp.js → AddressComponent-DKfHQAHW.js} +6 -6
- package/chunk/{AddressComponent-C2mollBp.js.map → AddressComponent-DKfHQAHW.js.map} +1 -1
- package/chunk/AnnouncingHeader-B0Ku-xl_.js +4 -4
- package/chunk/AnnouncingHeader-CXTQdbKG.js +4 -4
- package/chunk/{BirthDateComponent-1FYtxavW.js → BirthDateComponent-2PEmSvVv.js} +6 -6
- package/chunk/{BirthDateComponent-1FYtxavW.js.map → BirthDateComponent-2PEmSvVv.js.map} +1 -1
- package/chunk/{BirthDateComponent-DbILUMIz.js → BirthDateComponent-Cd0cMZrO.js} +6 -6
- package/chunk/{BirthDateComponent-DbILUMIz.js.map → BirthDateComponent-Cd0cMZrO.js.map} +1 -1
- package/chunk/{CaptchaComponent-L3WoxJAC.js → CaptchaComponent-CeJZh2AO.js} +17 -17
- package/chunk/{CaptchaComponent-KFLJ56dX.js.map → CaptchaComponent-CeJZh2AO.js.map} +1 -1
- package/chunk/{CaptchaComponent-KFLJ56dX.js → CaptchaComponent-D84uhigA.js} +78 -78
- package/chunk/{CaptchaComponent-L3WoxJAC.js.map → CaptchaComponent-D84uhigA.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-BcyU0Zgd.js → ChangeLocaleComponent-LlVAEjO9.js} +22 -22
- package/chunk/{ChangeLocaleComponent-BcyU0Zgd.js.map → ChangeLocaleComponent-LlVAEjO9.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Wju8NvwL.js → ChangeLocaleComponent-Slt2XjmB.js} +7 -7
- package/chunk/{ChangeLocaleComponent-Wju8NvwL.js.map → ChangeLocaleComponent-Slt2XjmB.js.map} +1 -1
- package/chunk/{City-BXTk8t3d.js → City-DeTr-l8T.js} +6 -6
- package/chunk/{City-BXTk8t3d.js.map → City-DeTr-l8T.js.map} +1 -1
- package/chunk/{City-mQnP6dP2.js → City-DzE-sIfb.js} +6 -6
- package/chunk/{City-mQnP6dP2.js.map → City-DzE-sIfb.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Bov_i0oT.js → CollegeNameComponent-BIelwnwZ.js} +8 -8
- package/chunk/{CollegeNameComponent-Bov_i0oT.js.map → CollegeNameComponent-BIelwnwZ.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Df_VMbdr.js → CollegeNameComponent-BLK9LM4N.js} +15 -15
- package/chunk/{CollegeNameComponent-Df_VMbdr.js.map → CollegeNameComponent-BLK9LM4N.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-BAOwMLHJ.js +4 -4
- package/chunk/CopyToClipboardComponent-BejK3fLR.js +4 -4
- package/chunk/{CountryComponentWrapper-BSg_JhlH.js → CountryComponentWrapper-DQW_P5GI.js} +23 -23
- package/chunk/{CountryComponentWrapper-BSg_JhlH.js.map → CountryComponentWrapper-DQW_P5GI.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-dG5Zqfee.js → CountryComponentWrapper-D_v3ee4V.js} +11 -11
- package/chunk/{CountryComponentWrapper-dG5Zqfee.js.map → CountryComponentWrapper-D_v3ee4V.js.map} +1 -1
- package/chunk/{DischargeDateComponent-C6BB3YwP.js → DischargeDateComponent-CDWiw0-D.js} +13 -13
- package/chunk/{DischargeDateComponent-C6BB3YwP.js.map → DischargeDateComponent-CDWiw0-D.js.map} +1 -1
- package/chunk/{DischargeDateComponent-D8yMgfh-.js → DischargeDateComponent-Dlm6t88Y.js} +13 -13
- package/chunk/{DischargeDateComponent-D8yMgfh-.js.map → DischargeDateComponent-Dlm6t88Y.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-C_wuryKm.js → DriverLicenseNumberComponent-DpCVs8n_.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-C_wuryKm.js.map → DriverLicenseNumberComponent-DpCVs8n_.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-i_ywdo3P.js → DriverLicenseNumberComponent-XVb7vgi3.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-i_ywdo3P.js.map → DriverLicenseNumberComponent-XVb7vgi3.js.map} +1 -1
- package/chunk/{EmailLoopPending-Du6R4zif.js → EmailLoopPending-CMiOTpOJ.js} +7 -7
- package/chunk/{EmailLoopPending-DThAR1Iv.js.map → EmailLoopPending-CMiOTpOJ.js.map} +1 -1
- package/chunk/{EmailLoopPending-DThAR1Iv.js → EmailLoopPending-Dz4TsQy4.js} +7 -7
- package/chunk/{EmailLoopPending-Du6R4zif.js.map → EmailLoopPending-Dz4TsQy4.js.map} +1 -1
- package/chunk/{ExtraMessage-BZ9XdOdL.js → ExtraMessage-Bhmq_Waj.js} +5 -5
- package/chunk/{ExtraMessage-BZ9XdOdL.js.map → ExtraMessage-Bhmq_Waj.js.map} +1 -1
- package/chunk/{ExtraMessage-D1j0TLE3.js → ExtraMessage-CgELJLpn.js} +5 -5
- package/chunk/{ExtraMessage-D1j0TLE3.js.map → ExtraMessage-CgELJLpn.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-D9VmCGiC.js → FirstResponderOrganizationComponent-CC5-PDrK.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-D5UbIVyE.js.map → FirstResponderOrganizationComponent-CC5-PDrK.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-D5UbIVyE.js → FirstResponderOrganizationComponent-CEBS72Sm.js} +15 -15
- package/chunk/{FirstResponderOrganizationComponent-D9VmCGiC.js.map → FirstResponderOrganizationComponent-CEBS72Sm.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Cf2843FO.js → FormFieldInputSelect--mO3jmU8.js} +5 -5
- package/chunk/{FormFieldInputSelect-Cf2843FO.js.map → FormFieldInputSelect--mO3jmU8.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-DFkZlHDE.js → FormFieldInputSelect-CPeFv22D.js} +5 -5
- package/chunk/{FormFieldInputSelect-DFkZlHDE.js.map → FormFieldInputSelect-CPeFv22D.js.map} +1 -1
- package/chunk/FormFieldLayout-DEKIQK2R.js +4 -4
- package/chunk/FormFieldLayout-NkmhFC9B.js +4 -4
- package/chunk/FormFieldText-Bn9WIKiI.js +4 -4
- package/chunk/FormFieldText-Py7x4EZ6.js +4 -4
- package/chunk/{FormFieldTypeahead-DWAxDXKP.js → FormFieldTypeahead-Cy-3RAew.js} +8 -8
- package/chunk/{FormFieldTypeahead-DWAxDXKP.js.map → FormFieldTypeahead-Cy-3RAew.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-CDKGsEZB.js → FormFieldTypeahead-LSYbrfBP.js} +8 -8
- package/chunk/{FormFieldTypeahead-CDKGsEZB.js.map → FormFieldTypeahead-LSYbrfBP.js.map} +1 -1
- package/chunk/{FormFooterComponent-BrOM_pQ9.js → FormFooterComponent-D4QJJ-El.js} +71 -71
- package/chunk/{FormFooterComponent-BrOM_pQ9.js.map → FormFooterComponent-D4QJJ-El.js.map} +1 -1
- package/chunk/{FormFooterComponent-CP0-Wobs.js → FormFooterComponent-Db94BTNT.js} +18 -18
- package/chunk/{FormFooterComponent-CP0-Wobs.js.map → FormFooterComponent-Db94BTNT.js.map} +1 -1
- package/chunk/{FormSelectChoice-yNUPRIKO.js → FormSelectChoice-BoTIc5oD.js} +6 -6
- package/chunk/{FormSelectChoice-DWG9hYtf.js.map → FormSelectChoice-BoTIc5oD.js.map} +1 -1
- package/chunk/{FormSelectChoice-DWG9hYtf.js → FormSelectChoice-Zw3pKb9v.js} +6 -6
- package/chunk/{FormSelectChoice-yNUPRIKO.js.map → FormSelectChoice-Zw3pKb9v.js.map} +1 -1
- package/chunk/InputText-CMu4ei8e.js +4 -4
- package/chunk/InputText-dflyPe3J.js +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-FBu3_XDq.js → LicensedProfessionalOrganizationComponent-BUtMTAkk.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-CdVLOkti.js.map → LicensedProfessionalOrganizationComponent-BUtMTAkk.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CdVLOkti.js → LicensedProfessionalOrganizationComponent-y5azOwHV.js} +15 -15
- package/chunk/{LicensedProfessionalOrganizationComponent-FBu3_XDq.js.map → LicensedProfessionalOrganizationComponent-y5azOwHV.js.map} +1 -1
- package/chunk/{LogoComponent-BDhMcJvy.js → LogoComponent-CJcMDzxn.js} +9 -9
- package/chunk/{LogoComponent-BDhMcJvy.js.map → LogoComponent-CJcMDzxn.js.map} +1 -1
- package/chunk/{LogoComponent-DASXTR4v.js → LogoComponent-DRlUkzL5.js} +5 -5
- package/chunk/{LogoComponent-DASXTR4v.js.map → LogoComponent-DRlUkzL5.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BI4Lscrc.js → LowIncomeOrganizationComponent-CMLS_6f7.js} +12 -12
- package/chunk/{LowIncomeOrganizationComponent-BI4Lscrc.js.map → LowIncomeOrganizationComponent-CMLS_6f7.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DrNEvBR8.js → LowIncomeOrganizationComponent-XE645g9w.js} +30 -30
- package/chunk/{LowIncomeOrganizationComponent-DrNEvBR8.js.map → LowIncomeOrganizationComponent-XE645g9w.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-i1AHUB2l.js → MedicalProfessionalOrganizationComponent-B6hySwWt.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-BnVU_DtU.js.map → MedicalProfessionalOrganizationComponent-B6hySwWt.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BnVU_DtU.js → MedicalProfessionalOrganizationComponent-CEfnIdC3.js} +15 -15
- package/chunk/{MedicalProfessionalOrganizationComponent-i1AHUB2l.js.map → MedicalProfessionalOrganizationComponent-CEfnIdC3.js.map} +1 -1
- package/chunk/{MemberIdComponent-BJIWA0U-.js → MemberIdComponent-BnJLiVV-.js} +6 -6
- package/chunk/{MemberIdComponent-BJIWA0U-.js.map → MemberIdComponent-BnJLiVV-.js.map} +1 -1
- package/chunk/{MemberIdComponent-CJIKRgkP.js → MemberIdComponent-CPlvhVZ8.js} +6 -6
- package/chunk/{MemberIdComponent-CJIKRgkP.js.map → MemberIdComponent-CPlvhVZ8.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-B2SfBgyQ.js → MembershipOrganizationComponent-CEU4TQuO.js} +15 -15
- package/chunk/{MembershipOrganizationComponent-B2SfBgyQ.js.map → MembershipOrganizationComponent-CEU4TQuO.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-lCfT5hKV.js → MembershipOrganizationComponent-D0YorDhu.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-lCfT5hKV.js.map → MembershipOrganizationComponent-D0YorDhu.js.map} +1 -1
- package/chunk/{Message-CZD2IHWF.js → Message-BgJQKz_x.js} +627 -628
- package/chunk/{Message-CZD2IHWF.js.map → Message-BgJQKz_x.js.map} +1 -1
- package/chunk/{Message-C5LUKoZw.js → Message-C8hwqDr2.js} +45 -46
- package/chunk/{Message-C5LUKoZw.js.map → Message-C8hwqDr2.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-Q6g7KHwI.js → PersonalInfoStepSubmitButton-CJYeNqbu.js} +6 -6
- package/chunk/{PersonalInfoStepSubmitButton-DnepwbFs.js.map → PersonalInfoStepSubmitButton-CJYeNqbu.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-DnepwbFs.js → PersonalInfoStepSubmitButton-CdZymKZb.js} +6 -6
- package/chunk/{PersonalInfoStepSubmitButton-Q6g7KHwI.js.map → PersonalInfoStepSubmitButton-CdZymKZb.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-B7pfOMf3.js → PersonalInfoStepWrapper-BIbUswfn.js} +5 -5
- package/chunk/{PersonalInfoStepWrapper-B7pfOMf3.js.map → PersonalInfoStepWrapper-BIbUswfn.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-D2GlDkO6.js → PersonalInfoStepWrapper-DQ75PRWo.js} +6 -6
- package/chunk/{PersonalInfoStepWrapper-D2GlDkO6.js.map → PersonalInfoStepWrapper-DQ75PRWo.js.map} +1 -1
- package/chunk/{PostalCodeComponent-C50XmPmv.js → PostalCodeComponent-DNdUR9Xg.js} +6 -6
- package/chunk/{PostalCodeComponent-C-0blxoe.js.map → PostalCodeComponent-DNdUR9Xg.js.map} +1 -1
- package/chunk/{PostalCodeComponent-C-0blxoe.js → PostalCodeComponent-zteosCwv.js} +6 -6
- package/chunk/{PostalCodeComponent-C50XmPmv.js.map → PostalCodeComponent-zteosCwv.js.map} +1 -1
- package/chunk/{SSN-CjLxLrYN.js → SSN-BKPNF7cg.js} +6 -6
- package/chunk/{SSN-CjLxLrYN.js.map → SSN-BKPNF7cg.js.map} +1 -1
- package/chunk/{SSN-DBPw87L6.js → SSN-CTR6jwEC.js} +6 -6
- package/chunk/{SSN-DBPw87L6.js.map → SSN-CTR6jwEC.js.map} +1 -1
- package/chunk/StateSelectComponent-CpGuzW45.js +46 -0
- package/chunk/StateSelectComponent-CpGuzW45.js.map +1 -0
- package/chunk/StateSelectComponent-Dt-vsjau.js +42 -0
- package/chunk/StateSelectComponent-Dt-vsjau.js.map +1 -0
- package/chunk/{StatusComponent-CceeOAxy.js → StatusComponent-8j96MYEP.js} +7 -7
- package/chunk/{StatusComponent-CceeOAxy.js.map → StatusComponent-8j96MYEP.js.map} +1 -1
- package/chunk/{StatusComponent-DPs6MHNn.js → StatusComponent-DZu1lz0O.js} +7 -7
- package/chunk/{StatusComponent-DPs6MHNn.js.map → StatusComponent-DZu1lz0O.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-BqALUq2Z.js +176 -0
- package/chunk/{StepAgePersonalInfo-Bwdjo9Zy.js.map → StepAgePersonalInfo-BqALUq2Z.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Bwdjo9Zy.js → StepAgePersonalInfo-DFv4SYcW.js} +40 -40
- package/chunk/{StepAgePersonalInfo-DIOOXX9y.js.map → StepAgePersonalInfo-DFv4SYcW.js.map} +1 -1
- package/chunk/StepCard-DQ9JkAjb.js +4 -4
- package/chunk/StepCard-EHeqFY3Y.js +4 -4
- package/chunk/{StepCollectIdentifier-nrcBJaBK.js → StepCollectIdentifier-7VdLmT7J.js} +9 -9
- package/chunk/{StepCollectIdentifier-CSGIiyFf.js.map → StepCollectIdentifier-7VdLmT7J.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CSGIiyFf.js → StepCollectIdentifier-DAwDOBzU.js} +9 -9
- package/chunk/{StepCollectIdentifier-nrcBJaBK.js.map → StepCollectIdentifier-DAwDOBzU.js.map} +1 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CKUjV6kM.js +249 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CKUjV6kM.js.map +1 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CXmxwwfG.js +245 -0
- package/chunk/StepCollectMilitaryPersonalInfoComponent-CXmxwwfG.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-CXurqlAa.js +368 -0
- package/chunk/StepCollectPersonalInfo-CXurqlAa.js.map +1 -0
- package/chunk/StepCollectPersonalInfo-DZlzAIxw.js +372 -0
- package/chunk/StepCollectPersonalInfo-DZlzAIxw.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-kKdUhF9e.js → StepCompleteAuthentication-BY_5AqX4.js} +5 -5
- package/chunk/{StepCompleteAuthentication-kKdUhF9e.js.map → StepCompleteAuthentication-BY_5AqX4.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-CJpJoWRq.js → StepCompleteAuthentication-DMwS3S6i.js} +5 -5
- package/chunk/{StepCompleteAuthentication-CJpJoWRq.js.map → StepCompleteAuthentication-DMwS3S6i.js.map} +1 -1
- package/chunk/{StepConsolation-DwEwhgzI.js → StepConsolation-f1mq8nYz.js} +6 -6
- package/chunk/{StepConsolation-DI8kcTkV.js.map → StepConsolation-f1mq8nYz.js.map} +1 -1
- package/chunk/{StepConsolation-DI8kcTkV.js → StepConsolation-yUao3Y71.js} +6 -6
- package/chunk/{StepConsolation-DwEwhgzI.js.map → StepConsolation-yUao3Y71.js.map} +1 -1
- package/chunk/{StepDocUpload-Bv6M-Z6q.js → StepDocUpload-D5CXzeAU.js} +7 -7
- package/chunk/{StepDocUpload-Bv6M-Z6q.js.map → StepDocUpload-D5CXzeAU.js.map} +1 -1
- package/chunk/{StepDocUpload-IOE10Q6k.js → StepDocUpload-D8IflMYV.js} +7 -7
- package/chunk/{StepDocUpload-IOE10Q6k.js.map → StepDocUpload-D8IflMYV.js.map} +1 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-TSQaq3Ek.js +141 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-TSQaq3Ek.js.map +1 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-aUQdYB_b.js +145 -0
- package/chunk/StepDriverLicensePersonalInfoComponent-aUQdYB_b.js.map +1 -0
- package/chunk/{StepEmailLoop-Bo5BbGQu.js → StepEmailLoop--xNmysns.js} +8 -8
- package/chunk/{StepEmailLoop-Bo5BbGQu.js.map → StepEmailLoop--xNmysns.js.map} +1 -1
- package/chunk/{StepEmailLoop-j2264k-N.js → StepEmailLoop-BLT6aG-Y.js} +8 -8
- package/chunk/{StepEmailLoop-j2264k-N.js.map → StepEmailLoop-BLT6aG-Y.js.map} +1 -1
- package/chunk/StepEmploymentPersonalInfo-9DG4e6iW.js +220 -0
- package/chunk/StepEmploymentPersonalInfo-9DG4e6iW.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-DuOMR21_.js → StepEmploymentPersonalInfo-DX3Ax6NO.js} +60 -61
- package/chunk/StepEmploymentPersonalInfo-DX3Ax6NO.js.map +1 -0
- package/chunk/{StepFirstResponderPersonalInfo-4wxW2cgL.js → StepFirstResponderPersonalInfo-CRF48sc2.js} +31 -31
- package/chunk/{StepFirstResponderPersonalInfo-4wxW2cgL.js.map → StepFirstResponderPersonalInfo-CRF48sc2.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CizcIcEl.js → StepFirstResponderPersonalInfo-Ds1kO5m6.js} +31 -31
- package/chunk/{StepFirstResponderPersonalInfo-CizcIcEl.js.map → StepFirstResponderPersonalInfo-Ds1kO5m6.js.map} +1 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-D8mnMCVb.js +178 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-D8mnMCVb.js.map +1 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-DUsAZ0Xk.js +174 -0
- package/chunk/StepGeneralIdentityPersonalInfoComponent-DUsAZ0Xk.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CTfP5Oeu.js → StepHybridIdentityPersonalInfoComponent-BqBc1AZg.js} +68 -60
- package/chunk/StepHybridIdentityPersonalInfoComponent-BqBc1AZg.js.map +1 -0
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-P8d-Wb4X.js → StepHybridIdentityPersonalInfoComponent-D8LGDNFl.js} +68 -60
- package/chunk/StepHybridIdentityPersonalInfoComponent-D8LGDNFl.js.map +1 -0
- package/chunk/{StepIDCheckLoop-BCJs6usj.js → StepIDCheckLoop-Cwm6IPWs.js} +5 -5
- package/chunk/{StepIDCheckLoop-B3ClVxOi.js.map → StepIDCheckLoop-Cwm6IPWs.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-B3ClVxOi.js → StepIDCheckLoop-YpZuox49.js} +5 -5
- package/chunk/{StepIDCheckLoop-BCJs6usj.js.map → StepIDCheckLoop-YpZuox49.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-B4zpvkRd.js → StepIDCheckLoopOnfido-CldFXtGX.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-DRZ4kP4R.js.map → StepIDCheckLoopOnfido-CldFXtGX.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DRZ4kP4R.js → StepIDCheckLoopOnfido-L6oHneIc.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-B4zpvkRd.js.map → StepIDCheckLoopOnfido-L6oHneIc.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CFgyZ_rn.js → StepIDCheckLoopRegula-8pxLMKE0.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-CFgyZ_rn.js.map → StepIDCheckLoopRegula-8pxLMKE0.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-Db6p5Cwl.js → StepIDCheckLoopRegula-B0Yv__kO.js} +7 -7
- package/chunk/{StepIDCheckLoopRegula-Db6p5Cwl.js.map → StepIDCheckLoopRegula-B0Yv__kO.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-De005KQe.js → StepLicensedProfessionalPersonalInfo-Bzrr0g4R.js} +32 -32
- package/chunk/{StepLicensedProfessionalPersonalInfo-De005KQe.js.map → StepLicensedProfessionalPersonalInfo-Bzrr0g4R.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-uC90t0Ka.js → StepLicensedProfessionalPersonalInfo-oKQFxnEJ.js} +32 -32
- package/chunk/{StepLicensedProfessionalPersonalInfo-uC90t0Ka.js.map → StepLicensedProfessionalPersonalInfo-oKQFxnEJ.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BXeW16K1.js → StepLowIncomePersonalInfo-DOB6gFAS.js} +69 -70
- package/chunk/StepLowIncomePersonalInfo-DOB6gFAS.js.map +1 -0
- package/chunk/StepLowIncomePersonalInfo-qaRKPwSk.js +238 -0
- package/chunk/StepLowIncomePersonalInfo-qaRKPwSk.js.map +1 -0
- package/chunk/{StepMedicalProfessionalPersonalInfo-DYhclBtt.js → StepMedicalProfessionalPersonalInfo-D9k7ENlE.js} +36 -36
- package/chunk/{StepMedicalProfessionalPersonalInfo-DYhclBtt.js.map → StepMedicalProfessionalPersonalInfo-D9k7ENlE.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-EGaswECh.js → StepMedicalProfessionalPersonalInfo-RPKhaZPl.js} +36 -36
- package/chunk/{StepMedicalProfessionalPersonalInfo-EGaswECh.js.map → StepMedicalProfessionalPersonalInfo-RPKhaZPl.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-VUcdpf1p.js → StepMemberPersonalInfo-2IUwBn6z.js} +35 -35
- package/chunk/{StepMemberPersonalInfo-DmqP1UcS.js.map → StepMemberPersonalInfo-2IUwBn6z.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-DmqP1UcS.js → StepMemberPersonalInfo-Bza2nmdJ.js} +35 -35
- package/chunk/{StepMemberPersonalInfo-VUcdpf1p.js.map → StepMemberPersonalInfo-Bza2nmdJ.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CBaYoFQM.js → StepMoverPersonalInfo-BfN-eiIO.js} +28 -28
- package/chunk/{StepMoverPersonalInfo-BAy0fOpJ.js.map → StepMoverPersonalInfo-BfN-eiIO.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BAy0fOpJ.js → StepMoverPersonalInfo-D_lsPua4.js} +28 -28
- package/chunk/{StepMoverPersonalInfo-CBaYoFQM.js.map → StepMoverPersonalInfo-D_lsPua4.js.map} +1 -1
- package/chunk/{StepOverrideComponent-BU8tncVB.js → StepOverrideComponent-Ld6S6tQi.js} +7 -7
- package/chunk/{StepOverrideComponent-BU8tncVB.js.map → StepOverrideComponent-Ld6S6tQi.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Bo0bkoYg.js → StepOverrideComponent-Mf03I7W7.js} +7 -7
- package/chunk/{StepOverrideComponent-Bo0bkoYg.js.map → StepOverrideComponent-Mf03I7W7.js.map} +1 -1
- package/chunk/{StepSMSLoop-usK-uwDi.js → StepSMSLoop-9sxMk7gX.js} +5 -5
- package/chunk/{StepSMSLoop-DLRGvoY8.js.map → StepSMSLoop-9sxMk7gX.js.map} +1 -1
- package/chunk/{StepSMSLoop-DLRGvoY8.js → StepSMSLoop-Bcx24Ycx.js} +5 -5
- package/chunk/{StepSMSLoop-usK-uwDi.js.map → StepSMSLoop-Bcx24Ycx.js.map} +1 -1
- package/chunk/StepSSO-BGHCbduX.js +4 -4
- package/chunk/StepSSO-ZHByQpHa.js +4 -4
- package/chunk/{StepSocialSecurityNumber-Dr0IZbPK.js → StepSocialSecurityNumber-7clvuQce.js} +9 -9
- package/chunk/{StepSocialSecurityNumber-Dr0IZbPK.js.map → StepSocialSecurityNumber-7clvuQce.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-qFfdO1Gp.js → StepSocialSecurityNumber-DruKpXOw.js} +9 -9
- package/chunk/{StepSocialSecurityNumber-qFfdO1Gp.js.map → StepSocialSecurityNumber-DruKpXOw.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-B-RKUSVb.js → StepStudentPersonalInfo-BzMOGhN1.js} +38 -38
- package/chunk/{StepStudentPersonalInfo-A3yGbDk7.js.map → StepStudentPersonalInfo-BzMOGhN1.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-A3yGbDk7.js → StepStudentPersonalInfo-Dw1ljSGU.js} +38 -38
- package/chunk/{StepStudentPersonalInfo-B-RKUSVb.js.map → StepStudentPersonalInfo-Dw1ljSGU.js.map} +1 -1
- package/chunk/{StepSuccess-Dviigo8q.js → StepSuccess-DTqu9PmR.js} +11 -11
- package/chunk/{StepSuccess-Dviigo8q.js.map → StepSuccess-DTqu9PmR.js.map} +1 -1
- package/chunk/{StepSuccess-CDyGNq3Q.js → StepSuccess-ICuC7CFW.js} +13 -13
- package/chunk/{StepSuccess-CDyGNq3Q.js.map → StepSuccess-ICuC7CFW.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DUZmMYli.js → StepTeacherPersonalInfo-BhvBqRYQ.js} +34 -34
- package/chunk/{StepTeacherPersonalInfo-D4UTbPDB.js.map → StepTeacherPersonalInfo-BhvBqRYQ.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-D4UTbPDB.js → StepTeacherPersonalInfo-Ds2sDRzl.js} +34 -34
- package/chunk/{StepTeacherPersonalInfo-DUZmMYli.js.map → StepTeacherPersonalInfo-Ds2sDRzl.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +4 -4
- package/chunk/StepThirdPartyLoop-CbFTIlwP.js +4 -4
- package/chunk/{TeacherSchoolComponent-D_yKCvzI.js → TeacherSchoolComponent-CzT9PLGe.js} +8 -8
- package/chunk/{TeacherSchoolComponent-CPoc8ceQ.js.map → TeacherSchoolComponent-CzT9PLGe.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-CPoc8ceQ.js → TeacherSchoolComponent-D9M32gJE.js} +15 -15
- package/chunk/{TeacherSchoolComponent-D_yKCvzI.js.map → TeacherSchoolComponent-D9M32gJE.js.map} +1 -1
- package/chunk/TestingRouteOverrides-EggQSvgh.js +4 -4
- package/chunk/TestingRouteOverrides-ipf_F-iY.js +4 -4
- 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-BBN8jYxF.js → countryUtils-CM4nPYrB.js} +5 -5
- package/chunk/{countryUtils-BBN8jYxF.js.map → countryUtils-CM4nPYrB.js.map} +1 -1
- package/chunk/countryUtils-Df3Rcr8q.js +12 -0
- package/chunk/{countryUtils-n_5QoHGV.js.map → countryUtils-Df3Rcr8q.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-BbUU6siB.js → downshift.esm-BUyxJQSO.js} +5 -5
- package/chunk/{downshift.esm-CF8pnAPi.js.map → downshift.esm-BUyxJQSO.js.map} +1 -1
- package/chunk/{downshift.esm-CF8pnAPi.js → downshift.esm-CQ910rwo.js} +5 -5
- package/chunk/{downshift.esm-BbUU6siB.js.map → downshift.esm-CQ910rwo.js.map} +1 -1
- package/chunk/el-DbDcvSPJ.js +4 -4
- package/chunk/empties-DHI3R7ys.js +4 -4
- package/chunk/empties-Dhc64eA5.js +4 -4
- package/chunk/en-GB-BBkjjtqq.js +4 -4
- package/chunk/es-ES-DWimqEZ_.js +4 -4
- package/chunk/es-qhC-seq5.js +4 -4
- package/chunk/et-yF9G-Mym.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BcdSf7og.js +4 -4
- package/chunk/fi-D-IP_KHm.js +4 -4
- package/chunk/fr-BmUuYxk0.js +4 -4
- package/chunk/fr-CA-DVQ4xmzZ.js +4 -4
- package/chunk/ga-DuZycND3.js +4 -4
- package/chunk/hi-IN-l6Rn5Ewm.js +4 -4
- package/chunk/hooks-BlwolTIT.js +4 -4
- package/chunk/hooks-gC9DtNY1.js +4 -4
- 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-CvSmE54g.js +4 -4
- package/chunk/is-CvmKEON9.js +4 -4
- package/chunk/it-CnmveGgC.js +4 -4
- package/chunk/iw-DFUYHkxF.js +4 -4
- package/chunk/ja-CjVb2tWW.js +4 -4
- package/chunk/jsx-runtime-CyXcV_93.js +4 -4
- package/chunk/jsx-runtime-JSlXFmKD.js +4 -4
- package/chunk/kk-Dvz4nK6K.js +4 -4
- package/chunk/ko-DzOqBMGC.js +4 -4
- package/chunk/lo-C2WPq55d.js +4 -4
- package/chunk/lt-BSDYvjTF.js +4 -4
- package/chunk/lv-CefDPT-M.js +4 -4
- package/chunk/mockProgramTheme-CBqgtg7A.js +4 -4
- package/chunk/mocks-Dpf6dNc6.js +4 -4
- package/chunk/mocks-DrV8NINc.js +4 -4
- 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-CRzdSTAR.js +4 -4
- package/chunk/pl-UYTjMIq_.js +4 -4
- package/chunk/programThemeGetters-CdBaEHVT.js +188 -0
- package/chunk/programThemeGetters-CdBaEHVT.js.map +1 -0
- package/chunk/programThemeGetters-DhVXOl92.js +182 -0
- package/chunk/programThemeGetters-DhVXOl92.js.map +1 -0
- 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-Bxse3jnq.js → stepComponentHelpers-C6PguBPd.js} +35 -42
- package/chunk/stepComponentHelpers-C6PguBPd.js.map +1 -0
- package/chunk/{stepComponentHelpers-CQUMKZ_f.js → stepComponentHelpers-CLUoIwIK.js} +35 -42
- package/chunk/stepComponentHelpers-CLUoIwIK.js.map +1 -0
- 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-BW9WTICZ.js → useCollectFieldsEndpoint-C0RomFpQ.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-BW9WTICZ.js.map → useCollectFieldsEndpoint-C0RomFpQ.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DBKghe_8.js → useCollectFieldsEndpoint-DhEB0r4Q.js} +6 -6
- package/chunk/{useCollectFieldsEndpoint-DBKghe_8.js.map → useCollectFieldsEndpoint-DhEB0r4Q.js.map} +1 -1
- package/chunk/useMetrics-C3KNudJk.js +4 -4
- package/chunk/useMetrics-Cjo0Vkjx.js +4 -4
- 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 +72 -73
- package/sheerid.js.map +1 -1
- package/chunk/ApiUrls-mCK2IKFF.js +0 -51
- package/chunk/ApiUrls-mCK2IKFF.js.map +0 -1
- package/chunk/ApiUrls-ycoYioq4.js +0 -45
- package/chunk/ApiUrls-ycoYioq4.js.map +0 -1
- package/chunk/StateSelectComponent-C05RJO04.js +0 -38
- package/chunk/StateSelectComponent-C05RJO04.js.map +0 -1
- package/chunk/StateSelectComponent-og_G8R5A.js +0 -42
- package/chunk/StateSelectComponent-og_G8R5A.js.map +0 -1
- package/chunk/StepAgePersonalInfo-DIOOXX9y.js +0 -176
- package/chunk/StepCollectMilitaryPersonalInfoComponent-B6L54gOh.js +0 -246
- package/chunk/StepCollectMilitaryPersonalInfoComponent-B6L54gOh.js.map +0 -1
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BhWPQoWG.js +0 -250
- package/chunk/StepCollectMilitaryPersonalInfoComponent-BhWPQoWG.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-DtyiAaDl.js +0 -373
- package/chunk/StepCollectPersonalInfo-DtyiAaDl.js.map +0 -1
- package/chunk/StepCollectPersonalInfo-Mn8W7-0u.js +0 -369
- package/chunk/StepCollectPersonalInfo-Mn8W7-0u.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-CT2uHtsZ.js +0 -142
- package/chunk/StepDriverLicensePersonalInfoComponent-CT2uHtsZ.js.map +0 -1
- package/chunk/StepDriverLicensePersonalInfoComponent-DxgQc-yw.js +0 -146
- package/chunk/StepDriverLicensePersonalInfoComponent-DxgQc-yw.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-B2vkSor6.js +0 -221
- package/chunk/StepEmploymentPersonalInfo-B2vkSor6.js.map +0 -1
- package/chunk/StepEmploymentPersonalInfo-DuOMR21_.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-CTfP5Oeu.js.map +0 -1
- package/chunk/StepGeneralIdentityPersonalInfoComponent-P8d-Wb4X.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-BRmrt3mv.js +0 -188
- package/chunk/StepHybridIdentityPersonalInfoComponent-BRmrt3mv.js.map +0 -1
- package/chunk/StepHybridIdentityPersonalInfoComponent-ErhEZ-zI.js +0 -184
- package/chunk/StepHybridIdentityPersonalInfoComponent-ErhEZ-zI.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-BXeW16K1.js.map +0 -1
- package/chunk/StepLowIncomePersonalInfo-DeQ6ug4-.js +0 -239
- package/chunk/StepLowIncomePersonalInfo-DeQ6ug4-.js.map +0 -1
- package/chunk/countryUtils-n_5QoHGV.js +0 -12
- package/chunk/programThemeGetters-DYWYXv-a.js +0 -154
- package/chunk/programThemeGetters-DYWYXv-a.js.map +0 -1
- package/chunk/programThemeGetters-VBnkSxuj.js +0 -150
- package/chunk/programThemeGetters-VBnkSxuj.js.map +0 -1
- package/chunk/stepComponentHelpers-Bxse3jnq.js.map +0 -1
- package/chunk/stepComponentHelpers-CQUMKZ_f.js.map +0 -1
package/chunk/{StepSocialSecurityNumber-Dr0IZbPK.js.map → StepSocialSecurityNumber-7clvuQce.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepSocialSecurityNumber-
|
|
1
|
+
{"version":3,"file":"StepSocialSecurityNumber-7clvuQce.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,iBAAA,GAAA,EAAA,MAAC,OAAD;GAAK,MAAK;aAAV;IACE,iBAAA,GAAA,EAAA,MAAC,OAAD;KAAK,WAAU;eAAf;MACE,iBAAA,GAAA,EAAA,KAAC,OAAD;OAAK,WAAU;iBACb,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAoC,uBAAsB,CAAA;MACvD,CAAA;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD;OAAkB,OAAM;iBACtB,iBAAA,GAAA,EAAA,KAAC,GAAD;QACE,IAAG;QACH,gBAAe;QACf,SAAQ;OACT,CAAA;MACe,CAAA;MAElB,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBA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ATE: Mon Sep 21 2026 21:24:29 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c0fd12478ebbf79e09888ff6cc408f0695f12ab0
|
|
7
7
|
*/
|
|
8
8
|
import { Ot as e, c as t } from "./options-CRzdSTAR.js";
|
|
9
9
|
import { a as n, c as r, n as i, t as a } from "./jsx-runtime-CyXcV_93.js";
|
|
10
10
|
import { b as o, t as s } from "./runtimeTypes-B2AGNJMT.js";
|
|
11
|
-
import { t as c } from "./FormFooterComponent-
|
|
11
|
+
import { t as c } from "./FormFooterComponent-Db94BTNT.js";
|
|
12
12
|
import { o as l } from "./refs-Mq0rtW9K.js";
|
|
13
|
-
import { t as u } from "./LogoComponent-
|
|
13
|
+
import { t as u } from "./LogoComponent-DRlUkzL5.js";
|
|
14
14
|
import { t as d } from "./AnnouncingHeader-CXTQdbKG.js";
|
|
15
|
-
import { f,
|
|
16
|
-
import { t as m } from "./ChangeLocaleComponent-
|
|
17
|
-
import { t as h } from "./SSN-
|
|
15
|
+
import { d as f, p } from "./stepComponentHelpers-CLUoIwIK.js";
|
|
16
|
+
import { t as m } from "./ChangeLocaleComponent-Slt2XjmB.js";
|
|
17
|
+
import { t as h } from "./SSN-BKPNF7cg.js";
|
|
18
18
|
//#region src/components/StepSocialSecurityNumber/SsnChoice.tsx
|
|
19
19
|
var g = /* @__PURE__ */ e(r(), 1), _ = a(), v = ({ useSsn: e, useDocUpload: t, verificationService: n }) => /* @__PURE__ */ (0, _.jsxs)("div", {
|
|
20
20
|
id: "sid-ssn-choice",
|
package/chunk/{StepSocialSecurityNumber-qFfdO1Gp.js.map → StepSocialSecurityNumber-DruKpXOw.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepSocialSecurityNumber-
|
|
1
|
+
{"version":3,"file":"StepSocialSecurityNumber-DruKpXOw.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAY;OACb,CAAA;MACE,CAAA;KACF;;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KAAK,WAAU;eACb,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,UAAD;OACE,IAAG;OACH,eACE,EACE,GACA,GACA,EAAsB,2BACxB;OAEF,MAAK;OACL,WAAW,gFACT,IAAgB,KAAK;OAEvB,cAAW;OACX,MAAM,MAAW,EAAO,gBAAgB,CAAM;iBAE9C,iBAAA,GAAA,EAAA,KAAC,GAAD;QAAsB,IAAG;QAAU,gBAAe;OAAW,CAAA;MACvD,CAAA;KACL,CAAA;IACF,CAAA;IAEL,iBAAA,GAAA,EAAA,KAAC,OAAD;KACE,WAAU;KACV,MAAK;KACL,UAAU;KACV,SAAS;KACT,SAAS;eAET,iBAAA,GAAA,EAAA,KAAC,OAAD;MAAK,WAAU;gBACb,iBAAA,GAAA,EAAA,KAAC,GAAD;OACE,IAAG;OACH,gBAAe;MAChB,CAAA;KACE,CAAA;IACF,CAAA;GACF;MACL,iBAAA,GAAA,EAAA,KAAC,GAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET,CAGuD"}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.290.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1790025869603
|
|
5
|
+
* BUILD_DATE: Mon Sep 21 2026 21:24:29 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: c0fd12478ebbf79e09888ff6cc408f0695f12ab0
|
|
7
7
|
*/
|
|
8
8
|
import { Ot as e, c as t, n } from "./options-CRzdSTAR.js";
|
|
9
9
|
import { c as r, n as i, t as a } from "./jsx-runtime-CyXcV_93.js";
|
|
10
|
-
import { n as o } from "./Message-
|
|
10
|
+
import { n as o } from "./Message-BgJQKz_x.js";
|
|
11
11
|
import { b as s, p as c } from "./runtimeTypes-B2AGNJMT.js";
|
|
12
|
-
import { h as l } from "./FormFooterComponent-
|
|
12
|
+
import { h as l } from "./FormFooterComponent-Db94BTNT.js";
|
|
13
13
|
import { t as u } from "./hooks-gC9DtNY1.js";
|
|
14
14
|
import { n as d } from "../sheerid.js";
|
|
15
|
-
import {
|
|
16
|
-
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-
|
|
15
|
+
import { a as f, m as p, p as m, t as h } from "./stepComponentHelpers-CLUoIwIK.js";
|
|
16
|
+
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-CeJZh2AO.js";
|
|
17
17
|
import { t as S } from "./FormFieldText-Bn9WIKiI.js";
|
|
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-
|
|
18
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-CdZymKZb.js";
|
|
19
|
+
import { t as T } from "./BirthDateComponent-2PEmSvVv.js";
|
|
20
|
+
import { t as E } from "./CountryComponentWrapper-D_v3ee4V.js";
|
|
21
|
+
import { t as D } from "./ExtraMessage-Bhmq_Waj.js";
|
|
22
|
+
import { t as O } from "./ChangeLocaleComponent-Slt2XjmB.js";
|
|
23
|
+
import { t as k } from "./PersonalInfoStepWrapper-BIbUswfn.js";
|
|
24
|
+
import { t as A } from "./CollegeNameComponent-BIelwnwZ.js";
|
|
25
|
+
import { t as j } from "./StatusComponent-DZu1lz0O.js";
|
|
26
26
|
//#region src/components/FormFields/CVECNumber/CVECNumberComponent.tsx
|
|
27
27
|
var M = /* @__PURE__ */ e(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");
|
|
29
|
-
return
|
|
29
|
+
return h("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, N.jsx)(S, {
|
|
30
30
|
fieldId: "cvecNumber",
|
|
31
31
|
value: e,
|
|
32
32
|
onChange: n,
|
|
@@ -78,7 +78,7 @@ var M = /* @__PURE__ */ e(r(), 1), N = a(), P = ({ value: e, isErrored: t, onCha
|
|
|
78
78
|
/* @__PURE__ */ (0, N.jsx)(O, { verificationService: e }),
|
|
79
79
|
/* @__PURE__ */ (0, N.jsx)(E, {
|
|
80
80
|
verificationService: e,
|
|
81
|
-
disabled:
|
|
81
|
+
disabled: h("country")?.disabled
|
|
82
82
|
}),
|
|
83
83
|
B && /* @__PURE__ */ (0, N.jsx)(j, {
|
|
84
84
|
segmentId: "student",
|
|
@@ -89,10 +89,10 @@ var M = /* @__PURE__ */ e(r(), 1), N = a(), P = ({ value: e, isErrored: t, onCha
|
|
|
89
89
|
value: W(a.status),
|
|
90
90
|
isErrored: !!c.status,
|
|
91
91
|
options: F.map(W),
|
|
92
|
-
disabled:
|
|
92
|
+
disabled: h("status")?.disabled,
|
|
93
93
|
onChange: (t) => {
|
|
94
94
|
let n = t ? t.value : void 0;
|
|
95
|
-
H("status", n),
|
|
95
|
+
H("status", n), m("status", n ?? "", e);
|
|
96
96
|
}
|
|
97
97
|
}),
|
|
98
98
|
/* @__PURE__ */ (0, N.jsx)(A, {
|
|
@@ -100,18 +100,18 @@ var M = /* @__PURE__ */ e(r(), 1), N = a(), P = ({ value: e, isErrored: t, onCha
|
|
|
100
100
|
verificationService: e,
|
|
101
101
|
isErrored: !!c.organization,
|
|
102
102
|
isRequired: !0,
|
|
103
|
-
disabled:
|
|
103
|
+
disabled: h("organization")?.disabled,
|
|
104
104
|
onChange: (t) => {
|
|
105
|
-
|
|
105
|
+
p(t, e), m("organization", t, e);
|
|
106
106
|
}
|
|
107
107
|
}),
|
|
108
108
|
R && /* @__PURE__ */ (0, N.jsx)(P, {
|
|
109
|
-
isRequired:
|
|
109
|
+
isRequired: h("cvecNumber")?.requireIfOptional,
|
|
110
110
|
value: a.cvecNumber,
|
|
111
111
|
isErrored: !!c.cvecNumber,
|
|
112
|
-
disabled:
|
|
112
|
+
disabled: h("cvecNumber")?.disabled,
|
|
113
113
|
onChange: (t) => {
|
|
114
|
-
H("cvecNumber", t),
|
|
114
|
+
H("cvecNumber", t), m("cvecNumber", t, e);
|
|
115
115
|
}
|
|
116
116
|
}),
|
|
117
117
|
/* @__PURE__ */ (0, N.jsx)("div", {
|
|
@@ -126,16 +126,16 @@ var M = /* @__PURE__ */ e(r(), 1), N = a(), P = ({ value: e, isErrored: t, onCha
|
|
|
126
126
|
children: [/* @__PURE__ */ (0, N.jsx)(g, {
|
|
127
127
|
value: a.firstName,
|
|
128
128
|
isErrored: !!c.firstName,
|
|
129
|
-
disabled:
|
|
129
|
+
disabled: h("firstName")?.disabled,
|
|
130
130
|
onChange: (t) => {
|
|
131
|
-
H("firstName", t),
|
|
131
|
+
H("firstName", t), m("firstName", t, e);
|
|
132
132
|
}
|
|
133
133
|
}), /* @__PURE__ */ (0, N.jsx)(_, {
|
|
134
134
|
value: a.lastName,
|
|
135
135
|
isErrored: !!c.lastName,
|
|
136
|
-
disabled:
|
|
136
|
+
disabled: h("lastName")?.disabled,
|
|
137
137
|
onChange: (t) => {
|
|
138
|
-
H("lastName", t),
|
|
138
|
+
H("lastName", t), m("lastName", t, e);
|
|
139
139
|
}
|
|
140
140
|
})]
|
|
141
141
|
}),
|
|
@@ -144,9 +144,9 @@ var M = /* @__PURE__ */ e(r(), 1), N = a(), P = ({ value: e, isErrored: t, onCha
|
|
|
144
144
|
errorId: c.birthDate,
|
|
145
145
|
locale: U,
|
|
146
146
|
isRequired: !0,
|
|
147
|
-
disabled:
|
|
147
|
+
disabled: h("birthDate")?.disabled,
|
|
148
148
|
onChange: (t) => {
|
|
149
|
-
H("birthDate", t),
|
|
149
|
+
H("birthDate", t), m("birthDate", t, e);
|
|
150
150
|
}
|
|
151
151
|
}),
|
|
152
152
|
/* @__PURE__ */ (0, N.jsx)(C, {
|
|
@@ -157,18 +157,18 @@ var M = /* @__PURE__ */ e(r(), 1), N = a(), P = ({ value: e, isErrored: t, onCha
|
|
|
157
157
|
defaultMessage: "Personal or school email is fine"
|
|
158
158
|
}),
|
|
159
159
|
onChange: (t) => {
|
|
160
|
-
H("email", t),
|
|
160
|
+
H("email", t), m("email", t, e);
|
|
161
161
|
},
|
|
162
|
-
onKeyDown: (e) =>
|
|
163
|
-
disabled:
|
|
162
|
+
onKeyDown: (e) => f(e),
|
|
163
|
+
disabled: h("email")?.disabled
|
|
164
164
|
}),
|
|
165
165
|
e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, N.jsx)(y, {
|
|
166
166
|
isRequired: !!e.programTheme.smsLoopEnabled,
|
|
167
167
|
value: a.phoneNumber,
|
|
168
168
|
isErrored: !!c.phoneNumber,
|
|
169
|
-
disabled:
|
|
169
|
+
disabled: h("phoneNumber")?.disabled,
|
|
170
170
|
onChange: (t) => {
|
|
171
|
-
H("phoneNumber", t),
|
|
171
|
+
H("phoneNumber", t), m("phoneNumber", t, e);
|
|
172
172
|
},
|
|
173
173
|
selectedCountryCode: a.countryChoice && a.countryChoice.value
|
|
174
174
|
}) : null,
|
|
@@ -180,12 +180,12 @@ var M = /* @__PURE__ */ e(r(), 1), N = a(), P = ({ value: e, isErrored: t, onCha
|
|
|
180
180
|
/* @__PURE__ */ (0, N.jsx)(b, {
|
|
181
181
|
verificationService: e,
|
|
182
182
|
isErrored: !!c.marketConsentValue,
|
|
183
|
-
disabled:
|
|
183
|
+
disabled: h("marketConsentValue")?.disabled,
|
|
184
184
|
onChange: (t) => {
|
|
185
185
|
H("metadata", {
|
|
186
186
|
...e.viewModel.metadata,
|
|
187
187
|
marketConsentValue: t
|
|
188
|
-
}),
|
|
188
|
+
}), m("marketConsentValue", t, e);
|
|
189
189
|
},
|
|
190
190
|
viewModel: a
|
|
191
191
|
}),
|
package/chunk/{StepStudentPersonalInfo-A3yGbDk7.js.map → StepStudentPersonalInfo-BzMOGhN1.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepStudentPersonalInfo-A3yGbDk7.js","names":[],"sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage } from \"react-intl\";\n\nimport { useMessage } from \"@/components/Message\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumberComponent = ({\n value,\n isErrored,\n onChange,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n const { msg } = useMessage();\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={placeholder || msg({ id: \"cvecNumber\" })}\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { useMessage } from \"@/components/Message\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n type FieldId,\n type FormSelectChoice,\n type StudentStatusSelection,\n} from \"@/lib/types/types\";\n\nimport { StudentStatusDefaultMessagesEnum, VerificationStepsEnum } from \"@/lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"@/lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\n\n// Graduation status dropdown is only Student/Graduate options, not the raw `availableStatuses`\nconst STATUS_SELECTIONS = Object.keys(StudentStatusDefaultMessagesEnum) as StudentStatusSelection[];\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nexport const StepStudentPersonalInfoComponent = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const { msg } = useMessage();\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n // #endregion include-cvec-field-france-student\n\n // The \"Graduation Status\" input applies only when the program offers a genuine\n // Student or Graduate choice: GRADUATE and at least one non-graduate student status\n // The \"Student\" option includes all program configured non-graduate statuses\n const availableStatuses = verificationResponse.availableStatuses ?? [];\n const showGraduateStatusInput =\n availableStatuses.includes(\"GRADUATE\") && availableStatuses.some((s) => s !== \"GRADUATE\");\n\n React.useEffect(() => {\n let skip: FieldId[] = (verificationService.viewModel?.fieldsToSkipValidation || []).filter(\n (id) => id !== \"cvecNumber\" && id !== \"status\",\n );\n if (!showCvecInput) {\n // Don't validate CVEC number if country is not France\n skip = [...skip, \"cvecNumber\"];\n }\n if (!showGraduateStatusInput) {\n // Only require a graduation status when the program offers the Student/Graduate choice.\n skip = [...skip, \"status\"];\n }\n updateStudentViewModel(\"fieldsToSkipValidation\", skip);\n }, [showCvecInput, showGraduateStatusInput]);\n\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n const getStatusChoice = (status?: StudentStatusSelection): FormSelectChoice =>\n status\n ? {\n value: status,\n label: msg({ id: status }),\n }\n : { value: \"\", label: \"\" };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-personal-info\"\n />\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {showGraduateStatusInput && (\n <Status\n segmentId=\"student\"\n label={<FormattedHTMLMessage id=\"graduationStatus\" defaultMessage=\"Graduation Status\" />}\n value={getStatusChoice(viewModel.status)}\n isErrored={!!fieldValidationErrors.status}\n options={STATUS_SELECTIONS.map(getStatusChoice)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const value = status ? (status.value as StudentStatusSelection) : undefined;\n updateStudentViewModel(\"status\", value);\n updateFieldValidationErrorsByFieldId(\"status\", value ?? \"\", verificationService);\n }}\n />\n )}\n <CollegeName\n value={(verificationService.viewModel as StudentPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, verificationService);\n }}\n />\n )}\n <div className=\"sid-names-explanation sid-l-space-top-md\">\n <FormattedHTMLMessage\n id=\"step.personalInfo.nameInstructions\"\n defaultMessage=\"Personal or school email is fine\"\n />\n </div>\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n />\n ) : null}\n {(options.customFormFields || []).map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}{\" \"}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;4CAaA,KAAA,EAAA,UAAA,cAAA,aAAA,gBAAA,iBAAA,IAAA,gBAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;AAoDA,GCdM,IAAoB,OAAO,KAAK,CAAgC,GAMzD,KAAoC,EAC/C,6BAC2C;CAC3C,IAAM,EAAE,WAAQ,EAAW,GACrB,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAU,EAAW,GAGrB,IAAyB,EAAQ,mCAAmC,GACpE,IACJ,MAA2B,aAC3B,MAA2B,aAC3B,GAAW,eAAe,UAAU,MAMhC,IAAoB,EAAqB,qBAAqB,CAAC,GAC/D,IACJ,EAAkB,SAAS,UAAU,KAAK,EAAkB,MAAM,MAAM,MAAM,UAAU;CAE1F,EAAM,gBAAgB;EACpB,IAAI,KAAmB,EAAoB,WAAW,0BAA0B,CAAC,GAAG,QACjF,MAAO,MAAO,gBAAgB,MAAO,QACxC;EASA,AARK,MAEH,IAAO,CAAC,GAAG,GAAM,YAAY,IAE1B,MAEH,IAAO,CAAC,GAAG,GAAM,QAAQ,IAE3B,EAAuB,0BAA0B,CAAI;CACvD,GAAG,CAAC,GAAe,CAAuB,CAAC;CAE3C,IAAM,IAAqB,EAAsB,CAAoB,GAE/D,KAA0B,GAAyC,MAAe;EACtF,IAAM,IAA0C,EAC9C,IACC,MAAwC;GACvC,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,IAAS,EAAU,aAAa,OAEhC,KAAmB,MACvB,IACI;EACE,OAAO;EACP,OAAO,EAAI,EAAE,IAAI,EAAO,CAAC;CAC3B,IACA;EAAE,OAAO;EAAI,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D;IACE,YAAY,CAAC,CAAC,EAAoB,aAAa;IAC/C,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,UAAU,EAAwB,aAAa,GAAG;IAClD,WAAW,MAAa;KAEtB,AADA,EAAuB,eAAe,CAAQ,GAC9C,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;GACzE,CAAA,IACC;IACF,EAAQ,oBAAoB,CAAC,GAAG,KAAK,MACrC,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAAG;GACJ,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,UAAU,EAAwB,oBAAoB,GAAG;IACzD,WAAW,MAAa;KAKtB,AAJA,EAAuB,YAAY;MACjC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;GACZ,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GACrF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB"}
|
|
1
|
+
{"version":3,"file":"StepStudentPersonalInfo-BzMOGhN1.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,UAA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U;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"}
|
|
@@ -4,33 +4,33 @@
|
|
|
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.290.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1790025873709
|
|
9
|
+
* BUILD_DATE: Mon Sep 21 2026 21:24:33 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: c0fd12478ebbf79e09888ff6cc408f0695f12ab0
|
|
11
11
|
*/
|
|
12
12
|
import { Ot as e, p as t, s as n } from "./intl-CvSmE54g.js";
|
|
13
13
|
import { b as r, p as i } from "./runtimeTypes-B2AGNJMT.js";
|
|
14
14
|
import { c as a, n as o, t as s } from "./jsx-runtime-JSlXFmKD.js";
|
|
15
|
-
import { n as c } from "./Message-
|
|
16
|
-
import { p as l } from "./FormFooterComponent-
|
|
15
|
+
import { n as c } from "./Message-C8hwqDr2.js";
|
|
16
|
+
import { p as l } from "./FormFooterComponent-D4QJJ-El.js";
|
|
17
17
|
import { t as u } from "./hooks-BlwolTIT.js";
|
|
18
18
|
import { t as d } from "../_mysheerid-preview.js";
|
|
19
|
-
import {
|
|
20
|
-
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-
|
|
19
|
+
import { a as f, m as p, p as m, t as h } from "./stepComponentHelpers-C6PguBPd.js";
|
|
20
|
+
import { a as g, i as _, n as v, o as y, s as b, t as x } from "./CaptchaComponent-D84uhigA.js";
|
|
21
21
|
import { t as S } from "./FormFieldText-Py7x4EZ6.js";
|
|
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-
|
|
22
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-CJYeNqbu.js";
|
|
23
|
+
import { t as T } from "./BirthDateComponent-Cd0cMZrO.js";
|
|
24
|
+
import { t as E } from "./CountryComponentWrapper-DQW_P5GI.js";
|
|
25
|
+
import { t as D } from "./ExtraMessage-CgELJLpn.js";
|
|
26
|
+
import { t as O } from "./ChangeLocaleComponent-LlVAEjO9.js";
|
|
27
|
+
import { t as k } from "./PersonalInfoStepWrapper-DQ75PRWo.js";
|
|
28
|
+
import { t as A } from "./CollegeNameComponent-BLK9LM4N.js";
|
|
29
|
+
import { t as j } from "./StatusComponent-8j96MYEP.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");
|
|
33
|
-
return
|
|
33
|
+
return h("cvecNumber")?.hidden ? null : /* @__PURE__ */ (0, N.jsx)(S, {
|
|
34
34
|
fieldId: "cvecNumber",
|
|
35
35
|
value: e,
|
|
36
36
|
onChange: n,
|
|
@@ -82,7 +82,7 @@ var M = /* @__PURE__ */ e(a(), 1), N = s(), P = ({ value: e, isErrored: t, onCha
|
|
|
82
82
|
/* @__PURE__ */ (0, N.jsx)(O, { verificationService: e }),
|
|
83
83
|
/* @__PURE__ */ (0, N.jsx)(E, {
|
|
84
84
|
verificationService: e,
|
|
85
|
-
disabled:
|
|
85
|
+
disabled: h("country")?.disabled
|
|
86
86
|
}),
|
|
87
87
|
B && /* @__PURE__ */ (0, N.jsx)(j, {
|
|
88
88
|
segmentId: "student",
|
|
@@ -93,10 +93,10 @@ var M = /* @__PURE__ */ e(a(), 1), N = s(), P = ({ value: e, isErrored: t, onCha
|
|
|
93
93
|
value: W(a.status),
|
|
94
94
|
isErrored: !!s.status,
|
|
95
95
|
options: F.map(W),
|
|
96
|
-
disabled:
|
|
96
|
+
disabled: h("status")?.disabled,
|
|
97
97
|
onChange: (t) => {
|
|
98
98
|
let n = t ? t.value : void 0;
|
|
99
|
-
H("status", n),
|
|
99
|
+
H("status", n), m("status", n ?? "", e);
|
|
100
100
|
}
|
|
101
101
|
}),
|
|
102
102
|
/* @__PURE__ */ (0, N.jsx)(A, {
|
|
@@ -104,18 +104,18 @@ var M = /* @__PURE__ */ e(a(), 1), N = s(), P = ({ value: e, isErrored: t, onCha
|
|
|
104
104
|
verificationService: e,
|
|
105
105
|
isErrored: !!s.organization,
|
|
106
106
|
isRequired: !0,
|
|
107
|
-
disabled:
|
|
107
|
+
disabled: h("organization")?.disabled,
|
|
108
108
|
onChange: (t) => {
|
|
109
|
-
|
|
109
|
+
p(t, e), m("organization", t, e);
|
|
110
110
|
}
|
|
111
111
|
}),
|
|
112
112
|
R && /* @__PURE__ */ (0, N.jsx)(P, {
|
|
113
|
-
isRequired:
|
|
113
|
+
isRequired: h("cvecNumber")?.requireIfOptional,
|
|
114
114
|
value: a.cvecNumber,
|
|
115
115
|
isErrored: !!s.cvecNumber,
|
|
116
|
-
disabled:
|
|
116
|
+
disabled: h("cvecNumber")?.disabled,
|
|
117
117
|
onChange: (t) => {
|
|
118
|
-
H("cvecNumber", t),
|
|
118
|
+
H("cvecNumber", t), m("cvecNumber", t, e);
|
|
119
119
|
}
|
|
120
120
|
}),
|
|
121
121
|
/* @__PURE__ */ (0, N.jsx)("div", {
|
|
@@ -130,16 +130,16 @@ var M = /* @__PURE__ */ e(a(), 1), N = s(), P = ({ value: e, isErrored: t, onCha
|
|
|
130
130
|
children: [/* @__PURE__ */ (0, N.jsx)(g, {
|
|
131
131
|
value: a.firstName,
|
|
132
132
|
isErrored: !!s.firstName,
|
|
133
|
-
disabled:
|
|
133
|
+
disabled: h("firstName")?.disabled,
|
|
134
134
|
onChange: (t) => {
|
|
135
|
-
H("firstName", t),
|
|
135
|
+
H("firstName", t), m("firstName", t, e);
|
|
136
136
|
}
|
|
137
137
|
}), /* @__PURE__ */ (0, N.jsx)(_, {
|
|
138
138
|
value: a.lastName,
|
|
139
139
|
isErrored: !!s.lastName,
|
|
140
|
-
disabled:
|
|
140
|
+
disabled: h("lastName")?.disabled,
|
|
141
141
|
onChange: (t) => {
|
|
142
|
-
H("lastName", t),
|
|
142
|
+
H("lastName", t), m("lastName", t, e);
|
|
143
143
|
}
|
|
144
144
|
})]
|
|
145
145
|
}),
|
|
@@ -148,9 +148,9 @@ var M = /* @__PURE__ */ e(a(), 1), N = s(), P = ({ value: e, isErrored: t, onCha
|
|
|
148
148
|
errorId: s.birthDate,
|
|
149
149
|
locale: U,
|
|
150
150
|
isRequired: !0,
|
|
151
|
-
disabled:
|
|
151
|
+
disabled: h("birthDate")?.disabled,
|
|
152
152
|
onChange: (t) => {
|
|
153
|
-
H("birthDate", t),
|
|
153
|
+
H("birthDate", t), m("birthDate", t, e);
|
|
154
154
|
}
|
|
155
155
|
}),
|
|
156
156
|
/* @__PURE__ */ (0, N.jsx)(C, {
|
|
@@ -161,18 +161,18 @@ var M = /* @__PURE__ */ e(a(), 1), N = s(), P = ({ value: e, isErrored: t, onCha
|
|
|
161
161
|
defaultMessage: "Personal or school email is fine"
|
|
162
162
|
}),
|
|
163
163
|
onChange: (t) => {
|
|
164
|
-
H("email", t),
|
|
164
|
+
H("email", t), m("email", t, e);
|
|
165
165
|
},
|
|
166
|
-
onKeyDown: (e) =>
|
|
167
|
-
disabled:
|
|
166
|
+
onKeyDown: (e) => f(e),
|
|
167
|
+
disabled: h("email")?.disabled
|
|
168
168
|
}),
|
|
169
169
|
e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, N.jsx)(y, {
|
|
170
170
|
isRequired: !!e.programTheme.smsLoopEnabled,
|
|
171
171
|
value: a.phoneNumber,
|
|
172
172
|
isErrored: !!s.phoneNumber,
|
|
173
|
-
disabled:
|
|
173
|
+
disabled: h("phoneNumber")?.disabled,
|
|
174
174
|
onChange: (t) => {
|
|
175
|
-
H("phoneNumber", t),
|
|
175
|
+
H("phoneNumber", t), m("phoneNumber", t, e);
|
|
176
176
|
},
|
|
177
177
|
selectedCountryCode: a.countryChoice && a.countryChoice.value
|
|
178
178
|
}) : null,
|
|
@@ -184,12 +184,12 @@ var M = /* @__PURE__ */ e(a(), 1), N = s(), P = ({ value: e, isErrored: t, onCha
|
|
|
184
184
|
/* @__PURE__ */ (0, N.jsx)(b, {
|
|
185
185
|
verificationService: e,
|
|
186
186
|
isErrored: !!s.marketConsentValue,
|
|
187
|
-
disabled:
|
|
187
|
+
disabled: h("marketConsentValue")?.disabled,
|
|
188
188
|
onChange: (t) => {
|
|
189
189
|
H("metadata", {
|
|
190
190
|
...e.viewModel.metadata,
|
|
191
191
|
marketConsentValue: t
|
|
192
|
-
}),
|
|
192
|
+
}), m("marketConsentValue", t, e);
|
|
193
193
|
},
|
|
194
194
|
viewModel: a
|
|
195
195
|
}),
|