@sheerid/jslib-nightly 2.259.0-alpha.1 → 2.259.0-alpha.2
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 +3 -3
- package/_mysheerid-preview.js +3931 -1402
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-RKH3wkuU.js → AddressComponent-CJV3vrMt.js} +6 -6
- package/chunk/{AddressComponent-CN9VzjhI.js.map → AddressComponent-CJV3vrMt.js.map} +1 -1
- package/chunk/{AddressComponent-CN9VzjhI.js → AddressComponent-DMwOmjiG.js} +4 -4
- package/chunk/{AddressComponent-RKH3wkuU.js.map → AddressComponent-DMwOmjiG.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BZreAj2L.js → AnnouncingHeader-BF69hVVm.js} +5 -5
- package/chunk/{AnnouncingHeader-BZreAj2L.js.map → AnnouncingHeader-BF69hVVm.js.map} +1 -1
- package/chunk/AnnouncingHeader-DjgtqEeX.js +3 -3
- package/chunk/{ApiUrls-MjYrUy5O.js → ApiUrls-BpvEY_I3.js} +4 -4
- package/chunk/{ApiUrls-DNPrws1D.js.map → ApiUrls-BpvEY_I3.js.map} +1 -1
- package/chunk/{ApiUrls-DNPrws1D.js → ApiUrls-Qas0Xjyd.js} +12 -12
- package/chunk/{ApiUrls-MjYrUy5O.js.map → ApiUrls-Qas0Xjyd.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dx9Zgnrr.js → BirthDateComponent-DFHRO9YQ.js} +5 -5
- package/chunk/{BirthDateComponent-25k9Dw8L.js.map → BirthDateComponent-DFHRO9YQ.js.map} +1 -1
- package/chunk/{BirthDateComponent-25k9Dw8L.js → BirthDateComponent-Dh5xAxOF.js} +7 -7
- package/chunk/{BirthDateComponent-Dx9Zgnrr.js.map → BirthDateComponent-Dh5xAxOF.js.map} +1 -1
- package/chunk/{CaptchaComponent-DZNI_Mdp.js → CaptchaComponent-DaH202Ah.js} +94 -94
- package/chunk/{CaptchaComponent-DA4ytPM2.js.map → CaptchaComponent-DaH202Ah.js.map} +1 -1
- package/chunk/{CaptchaComponent-DA4ytPM2.js → CaptchaComponent-QYGB0QuK.js} +14 -14
- package/chunk/{CaptchaComponent-DZNI_Mdp.js.map → CaptchaComponent-QYGB0QuK.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-COGR4N31.js → ChangeLocaleComponent-DdX2nV2D.js} +7 -7
- package/chunk/{ChangeLocaleComponent-COGR4N31.js.map → ChangeLocaleComponent-DdX2nV2D.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DPIcEDOe.js → ChangeLocaleComponent-QMQdbxxB.js} +5 -5
- package/chunk/{ChangeLocaleComponent-DPIcEDOe.js.map → ChangeLocaleComponent-QMQdbxxB.js.map} +1 -1
- package/chunk/{City-BHrlkpMX.js → City-CmO85Z9x.js} +4 -4
- package/chunk/{City-BHrlkpMX.js.map → City-CmO85Z9x.js.map} +1 -1
- package/chunk/{City-BbRIAxOR.js → City-DlWin4GX.js} +6 -6
- package/chunk/{City-BbRIAxOR.js.map → City-DlWin4GX.js.map} +1 -1
- package/chunk/{CollegeNameComponent-Bu2ei2eB.js → CollegeNameComponent-CIhHISji.js} +5 -5
- package/chunk/{CollegeNameComponent-Bu2ei2eB.js.map → CollegeNameComponent-CIhHISji.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DXmseJtL.js → CollegeNameComponent-D_dKLkKY.js} +8 -8
- package/chunk/{CollegeNameComponent-DXmseJtL.js.map → CollegeNameComponent-D_dKLkKY.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-1BeB_oX_.js +3 -3
- package/chunk/{CopyToClipboardComponent-6MY3v7_-.js → CopyToClipboardComponent-C1BnmvlK.js} +8 -8
- package/chunk/{CopyToClipboardComponent-6MY3v7_-.js.map → CopyToClipboardComponent-C1BnmvlK.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-CQ6ZT9lg.js → CountryComponentWrapper-Du13nINk.js} +9 -9
- package/chunk/{CountryComponentWrapper-CQ6ZT9lg.js.map → CountryComponentWrapper-Du13nINk.js.map} +1 -1
- package/chunk/CountryComponentWrapper-zWLRBrRp.js +78 -0
- package/chunk/{CountryComponentWrapper-CRF7oKmW.js.map → CountryComponentWrapper-zWLRBrRp.js.map} +1 -1
- package/chunk/{DischargeDateComponent-Dylz_5IN.js → DischargeDateComponent-DH3gbXN-.js} +18 -18
- package/chunk/{DischargeDateComponent-dn8Ym3Oc.js.map → DischargeDateComponent-DH3gbXN-.js.map} +1 -1
- package/chunk/{DischargeDateComponent-dn8Ym3Oc.js → DischargeDateComponent-DpNsH3Q4.js} +7 -7
- package/chunk/{DischargeDateComponent-Dylz_5IN.js.map → DischargeDateComponent-DpNsH3Q4.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-LxBCJTvz.js → DriverLicenseNumberComponent-D8q18o2M.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-1Nm_kmd6.js.map → DriverLicenseNumberComponent-D8q18o2M.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-1Nm_kmd6.js → DriverLicenseNumberComponent-DgXMM-Pt.js} +4 -4
- package/chunk/{DriverLicenseNumberComponent-LxBCJTvz.js.map → DriverLicenseNumberComponent-DgXMM-Pt.js.map} +1 -1
- package/chunk/EmailLoopPending-BpsA3nlg.js +136 -0
- package/chunk/EmailLoopPending-BpsA3nlg.js.map +1 -0
- package/chunk/{EmailLoopPending-MXkvNNP8.js → EmailLoopPending-Dvufu09u.js} +53 -54
- package/chunk/EmailLoopPending-Dvufu09u.js.map +1 -0
- package/chunk/{ExtraMessage-Roxhs2rt.js → ExtraMessage-9BMK2Fd_.js} +6 -6
- package/chunk/{ExtraMessage-DeL_Wn33.js.map → ExtraMessage-9BMK2Fd_.js.map} +1 -1
- package/chunk/{ExtraMessage-DeL_Wn33.js → ExtraMessage-Ca6AF5JE.js} +4 -4
- package/chunk/{ExtraMessage-Roxhs2rt.js.map → ExtraMessage-Ca6AF5JE.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DFJEAN8k.js → FirstResponderOrganizationComponent-C88NJlsu.js} +5 -5
- package/chunk/{FirstResponderOrganizationComponent-CaU7VuhG.js.map → FirstResponderOrganizationComponent-C88NJlsu.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-CaU7VuhG.js → FirstResponderOrganizationComponent-DgcptK9s.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-DFJEAN8k.js.map → FirstResponderOrganizationComponent-DgcptK9s.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BaD_qpOw.js → FormFieldInputSelect-BJlHmrSC.js} +4 -4
- package/chunk/{FormFieldInputSelect-BaD_qpOw.js.map → FormFieldInputSelect-BJlHmrSC.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-CSqp8aHf.js → FormFieldInputSelect-qjIEfk_y.js} +6 -6
- package/chunk/{FormFieldInputSelect-CSqp8aHf.js.map → FormFieldInputSelect-qjIEfk_y.js.map} +1 -1
- package/chunk/{FormFieldLayout-CUA-PItd.js → FormFieldLayout-BpmeMD4X.js} +5 -5
- package/chunk/{FormFieldLayout-CUA-PItd.js.map → FormFieldLayout-BpmeMD4X.js.map} +1 -1
- package/chunk/FormFieldLayout-DIcCOsGu.js +3 -3
- package/chunk/FormFieldText-zjWk7Cyc.js +3 -3
- package/chunk/{FormFieldText-BeEhq8Kc.js → FormFieldText-zuTjfmLt.js} +6 -6
- package/chunk/{FormFieldText-BeEhq8Kc.js.map → FormFieldText-zuTjfmLt.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-C3gO98J5.js → FormFieldTypeahead-4sP6yrSp.js} +455 -456
- package/chunk/{FormFieldTypeahead-C3gO98J5.js.map → FormFieldTypeahead-4sP6yrSp.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-BvcKAdzA.js → FormFieldTypeahead-CrDv6QmZ.js} +498 -499
- package/chunk/{FormFieldTypeahead-BvcKAdzA.js.map → FormFieldTypeahead-CrDv6QmZ.js.map} +1 -1
- package/chunk/{FormFooterComponent-DcilxYfs.js → FormFooterComponent-CXzDxR2J.js} +2116 -2043
- package/chunk/FormFooterComponent-CXzDxR2J.js.map +1 -0
- package/chunk/{FormFooterComponent-Cobuya5J.js → FormFooterComponent-D9_fIqUs.js} +1335 -1250
- package/chunk/FormFooterComponent-D9_fIqUs.js.map +1 -0
- package/chunk/{FormSelectChoice-Dz_8_0v1.js → FormSelectChoice-BQPP65dN.js} +5 -5
- package/chunk/{FormSelectChoice-DjQUf_kR.js.map → FormSelectChoice-BQPP65dN.js.map} +1 -1
- package/chunk/{FormSelectChoice-DjQUf_kR.js → FormSelectChoice-QRH1HmYa.js} +17 -17
- package/chunk/{FormSelectChoice-Dz_8_0v1.js.map → FormSelectChoice-QRH1HmYa.js.map} +1 -1
- package/chunk/InputText-Bzkl8mKj.js +3 -3
- package/chunk/{InputText-CkDvaW9P.js → InputText-DA8wfbQM.js} +6 -6
- package/chunk/{InputText-CkDvaW9P.js.map → InputText-DA8wfbQM.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BFIo2AVu.js → LicensedProfessionalOrganizationComponent-Cy9sdOZC.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-BFIo2AVu.js.map → LicensedProfessionalOrganizationComponent-Cy9sdOZC.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-D40O0mHv.js → LicensedProfessionalOrganizationComponent-DD9CuMfT.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-D40O0mHv.js.map → LicensedProfessionalOrganizationComponent-DD9CuMfT.js.map} +1 -1
- package/chunk/LogoComponent-BMeuu-aK.js +3 -3
- package/chunk/{LogoComponent-CFPoRk_q.js → LogoComponent-BxIXOXCM.js} +5 -5
- package/chunk/{LogoComponent-CFPoRk_q.js.map → LogoComponent-BxIXOXCM.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-M-jIQ5Gq.js → LowIncomeOrganizationComponent-D3-otdoS.js} +20 -20
- package/chunk/{LowIncomeOrganizationComponent-M-jIQ5Gq.js.map → LowIncomeOrganizationComponent-D3-otdoS.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-RtTN7yos.js → LowIncomeOrganizationComponent-Dpvvj9n4.js} +9 -9
- package/chunk/{LowIncomeOrganizationComponent-RtTN7yos.js.map → LowIncomeOrganizationComponent-Dpvvj9n4.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-BRXUpSBl.js → MedicalProfessionalOrganizationComponent-B-hFqd6W.js} +5 -5
- package/chunk/{MedicalProfessionalOrganizationComponent-BRXUpSBl.js.map → MedicalProfessionalOrganizationComponent-B-hFqd6W.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-QOUo82Ey.js → MedicalProfessionalOrganizationComponent-B_6Eeh8t.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-QOUo82Ey.js.map → MedicalProfessionalOrganizationComponent-B_6Eeh8t.js.map} +1 -1
- package/chunk/{MemberIdComponent-D4U9CjTr.js → MemberIdComponent-DMGaNM9l.js} +6 -6
- package/chunk/{MemberIdComponent-D4U9CjTr.js.map → MemberIdComponent-DMGaNM9l.js.map} +1 -1
- package/chunk/{MemberIdComponent-DOikwfIV.js → MemberIdComponent-Dva2Xx7J.js} +4 -4
- package/chunk/{MemberIdComponent-DOikwfIV.js.map → MemberIdComponent-Dva2Xx7J.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-D02G3scF.js → MembershipOrganizationComponent-CfLlUdPl.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-CisdewfJ.js.map → MembershipOrganizationComponent-CfLlUdPl.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-CisdewfJ.js → MembershipOrganizationComponent-DuJZlKLf.js} +5 -5
- package/chunk/{MembershipOrganizationComponent-D02G3scF.js.map → MembershipOrganizationComponent-DuJZlKLf.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +3 -3
- package/chunk/{PersonalInfoStepSubmitButton-i0P1DpyZ.js → PersonalInfoStepSubmitButton-D3lzSm2E.js} +22 -22
- package/chunk/{PersonalInfoStepSubmitButton-i0P1DpyZ.js.map → PersonalInfoStepSubmitButton-D3lzSm2E.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-Byqc8ilE.js → PersonalInfoStepSubmitButton-Ywai8bYu.js} +10 -10
- package/chunk/{PersonalInfoStepSubmitButton-Byqc8ilE.js.map → PersonalInfoStepSubmitButton-Ywai8bYu.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-VYXPs068.js → PersonalInfoStepWrapper-B-1TuvRJ.js} +4 -4
- package/chunk/{PersonalInfoStepWrapper-VYXPs068.js.map → PersonalInfoStepWrapper-B-1TuvRJ.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BpxtlGxV.js → PersonalInfoStepWrapper-DgL_kGk3.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BpxtlGxV.js.map → PersonalInfoStepWrapper-DgL_kGk3.js.map} +1 -1
- package/chunk/{PostalCodeComponent-DwnHo2aW.js → PostalCodeComponent-BGzBByZd.js} +6 -6
- package/chunk/{PostalCodeComponent-DwnHo2aW.js.map → PostalCodeComponent-BGzBByZd.js.map} +1 -1
- package/chunk/{PostalCodeComponent-hDSZecsX.js → PostalCodeComponent-C97fgZFI.js} +4 -4
- package/chunk/{PostalCodeComponent-hDSZecsX.js.map → PostalCodeComponent-C97fgZFI.js.map} +1 -1
- package/chunk/{SSN-_mJmp2Gg.js → SSN-CNzKgddw.js} +7 -7
- package/chunk/{SSN-B9b4KlAr.js.map → SSN-CNzKgddw.js.map} +1 -1
- package/chunk/{SSN-B9b4KlAr.js → SSN-mk_cMbDH.js} +4 -4
- package/chunk/{SSN-_mJmp2Gg.js.map → SSN-mk_cMbDH.js.map} +1 -1
- package/chunk/{StateSelectComponent-DGQL388D.js → StateSelectComponent-Cx1_JBfI.js} +4 -4
- package/chunk/{StateSelectComponent-D26TjOAn.js.map → StateSelectComponent-Cx1_JBfI.js.map} +1 -1
- package/chunk/{StateSelectComponent-D26TjOAn.js → StateSelectComponent-D2j7QCvj.js} +5 -5
- package/chunk/{StateSelectComponent-DGQL388D.js.map → StateSelectComponent-D2j7QCvj.js.map} +1 -1
- package/chunk/{StatusComponent-Dv3frckJ.js → StatusComponent-Cxw9bsOp.js} +7 -7
- package/chunk/{StatusComponent-Dv3frckJ.js.map → StatusComponent-Cxw9bsOp.js.map} +1 -1
- package/chunk/{StatusComponent-XLL7x50K.js → StatusComponent-_HBklXve.js} +5 -5
- package/chunk/{StatusComponent-XLL7x50K.js.map → StatusComponent-_HBklXve.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B-obfX5s.js → StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js} +47 -51
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-B-obfX5s.js.map → StepActiveMilitaryPersonalInfoComponent-B_rTMccG.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-CoGJXuid.js → StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js} +25 -21
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-CoGJXuid.js.map → StepActiveMilitaryPersonalInfoComponent-Ceamkjd0.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BTdUm8M1.js → StepAgePersonalInfo-DmBYGHG8.js} +39 -39
- package/chunk/{StepAgePersonalInfo-BTdUm8M1.js.map → StepAgePersonalInfo-DmBYGHG8.js.map} +1 -1
- package/chunk/StepAgePersonalInfo-X-eQf_2z.js +173 -0
- package/chunk/{StepAgePersonalInfo-KeuFdZua.js.map → StepAgePersonalInfo-X-eQf_2z.js.map} +1 -1
- package/chunk/StepCard-7t2vkHqM.js +3 -3
- package/chunk/{StepCard-BF_RD7Rd.js → StepCard-BtvCt-ND.js} +4 -4
- package/chunk/{StepCard-BF_RD7Rd.js.map → StepCard-BtvCt-ND.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-Cr5cRjes.js → StepCollectIdentifier-8QO4sVSo.js} +10 -10
- package/chunk/{StepCollectIdentifier-Cr5cRjes.js.map → StepCollectIdentifier-8QO4sVSo.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-aSTN2D3f.js → StepCollectIdentifier-bhlSO88L.js} +8 -8
- package/chunk/{StepCollectIdentifier-aSTN2D3f.js.map → StepCollectIdentifier-bhlSO88L.js.map} +1 -1
- package/chunk/{StepCollectMilitaryStatusComponent-5RzFVxA_.js → StepCollectMilitaryStatusComponent-CwiPlk5w.js} +4 -4
- package/chunk/StepCollectMilitaryStatusComponent-f2ZW0KJY.js +9 -0
- package/chunk/StepCollectPersonalInfo-R-5UOPTA.js +361 -0
- package/chunk/{StepCollectPersonalInfo-BVd72Idl.js.map → StepCollectPersonalInfo-R-5UOPTA.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-D75Yctan.js → StepCollectPersonalInfo-r2uBVXk_.js} +87 -87
- package/chunk/{StepCollectPersonalInfo-D75Yctan.js.map → StepCollectPersonalInfo-r2uBVXk_.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-CYsu3UXL.js → StepCompleteAuthentication-C2HoMZzF.js} +50 -51
- package/chunk/StepCompleteAuthentication-C2HoMZzF.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-CmOEE_s5.js → StepCompleteAuthentication-Cs4zhI-D.js} +42 -43
- package/chunk/StepCompleteAuthentication-Cs4zhI-D.js.map +1 -0
- package/chunk/{StepConsolation-Bm7fMyFo.js → StepConsolation-CwLUx5P6.js} +4 -4
- package/chunk/{StepConsolation-Bm7fMyFo.js.map → StepConsolation-CwLUx5P6.js.map} +1 -1
- package/chunk/{StepConsolation-euaYpjbw.js → StepConsolation-J6tneCHK.js} +8 -8
- package/chunk/{StepConsolation-euaYpjbw.js.map → StepConsolation-J6tneCHK.js.map} +1 -1
- package/chunk/{StepDocUpload-Fi16blpY.js → StepDocUpload-Dl-gzKui.js} +40 -40
- package/chunk/{StepDocUpload-Dc986T4y.js.map → StepDocUpload-Dl-gzKui.js.map} +1 -1
- package/chunk/{StepDocUpload-Dc986T4y.js → StepDocUpload-dc7sQRtA.js} +242 -242
- package/chunk/{StepDocUpload-Fi16blpY.js.map → StepDocUpload-dc7sQRtA.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-DnbKIy4f.js → StepDriverLicensePersonalInfoComponent-CkHJjXlR.js} +19 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-DnbKIy4f.js.map → StepDriverLicensePersonalInfoComponent-CkHJjXlR.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-AvcQyGDT.js → StepDriverLicensePersonalInfoComponent-DWZtsgBr.js} +32 -36
- package/chunk/{StepDriverLicensePersonalInfoComponent-AvcQyGDT.js.map → StepDriverLicensePersonalInfoComponent-DWZtsgBr.js.map} +1 -1
- package/chunk/{StepEmailLoop-7EwsfbG2.js → StepEmailLoop-BDRiI0kO.js} +46 -47
- package/chunk/StepEmailLoop-BDRiI0kO.js.map +1 -0
- package/chunk/{StepEmailLoop-CLIGNsCO.js → StepEmailLoop-DWNRCm1O.js} +51 -52
- package/chunk/StepEmailLoop-DWNRCm1O.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-CMJwlqZ5.js → StepEmploymentPersonalInfo-C0UAANQZ.js} +44 -48
- package/chunk/{StepEmploymentPersonalInfo-CMJwlqZ5.js.map → StepEmploymentPersonalInfo-C0UAANQZ.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-sQLnckQP.js → StepEmploymentPersonalInfo-al1phPDp.js} +22 -18
- package/chunk/{StepEmploymentPersonalInfo-sQLnckQP.js.map → StepEmploymentPersonalInfo-al1phPDp.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BZVQnECv.js → StepFirstResponderPersonalInfo-Byb5gsnf.js} +37 -37
- package/chunk/{StepFirstResponderPersonalInfo-BZVQnECv.js.map → StepFirstResponderPersonalInfo-Byb5gsnf.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-De-yFa-l.js → StepFirstResponderPersonalInfo-Ci8gAYOs.js} +42 -42
- package/chunk/{StepFirstResponderPersonalInfo-De-yFa-l.js.map → StepFirstResponderPersonalInfo-Ci8gAYOs.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-mSxJaDUA.js → StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js} +41 -45
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D2xY36MO.js.map → StepGeneralIdentityPersonalInfoComponent-B2Kv9xw_.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D2xY36MO.js → StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js} +22 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-mSxJaDUA.js.map → StepGeneralIdentityPersonalInfoComponent-Ca9lo4Jp.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-pmo1wXVQ.js → StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js} +44 -48
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CPPuZYu5.js.map → StepHybridIdentityPersonalInfoComponent-BZ7Qu4iK.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CPPuZYu5.js → StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js} +23 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-pmo1wXVQ.js.map → StepHybridIdentityPersonalInfoComponent-BjS4F6j2.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-DPbA9LaQ.js → StepIDCheckLoop-DiGRkuBM.js} +5 -5
- package/chunk/{StepIDCheckLoop-C7UAES2n.js.map → StepIDCheckLoop-DiGRkuBM.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-C7UAES2n.js → StepIDCheckLoop-Djow0hoO.js} +8 -8
- package/chunk/{StepIDCheckLoop-DPbA9LaQ.js.map → StepIDCheckLoop-Djow0hoO.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CfscUwrA.js → StepIDCheckLoopOnfido-BvMXuWoN.js} +40 -40
- package/chunk/{StepIDCheckLoopOnfido-CGFbgPNl.js.map → StepIDCheckLoopOnfido-BvMXuWoN.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CGFbgPNl.js → StepIDCheckLoopOnfido-CT458GtS.js} +7 -7
- package/chunk/{StepIDCheckLoopOnfido-CfscUwrA.js.map → StepIDCheckLoopOnfido-CT458GtS.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-24zsl9hT.js → StepIDCheckLoopRegula-BvLpBUxe.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-24zsl9hT.js.map → StepIDCheckLoopRegula-BvLpBUxe.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-p9GQ7-mM.js → StepIDCheckLoopRegula-DcB8ugg0.js} +18 -18
- package/chunk/{StepIDCheckLoopRegula-p9GQ7-mM.js.map → StepIDCheckLoopRegula-DcB8ugg0.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-MKHFys80.js → StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js} +69 -73
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BCcxwwPz.js.map → StepInactiveMilitaryPersonalInfoComponent-BpiqZDNI.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BCcxwwPz.js → StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js} +33 -29
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-MKHFys80.js.map → StepInactiveMilitaryPersonalInfoComponent-k8BFxBXH.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Ba_hfFwF.js → StepLicensedProfessionalPersonalInfo-C2gyvg1m.js} +21 -17
- package/chunk/{StepLicensedProfessionalPersonalInfo-Ba_hfFwF.js.map → StepLicensedProfessionalPersonalInfo-C2gyvg1m.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DlJxyXZN.js → StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js} +37 -41
- package/chunk/{StepLicensedProfessionalPersonalInfo-DlJxyXZN.js.map → StepLicensedProfessionalPersonalInfo-DWvD1Z6N.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-hmb9pC8H.js → StepLowIncomePersonalInfo-CTZREXGu.js} +63 -67
- package/chunk/{StepLowIncomePersonalInfo-Bh3kT1GO.js.map → StepLowIncomePersonalInfo-CTZREXGu.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Bh3kT1GO.js → StepLowIncomePersonalInfo-CZlgdCqq.js} +39 -35
- package/chunk/{StepLowIncomePersonalInfo-hmb9pC8H.js.map → StepLowIncomePersonalInfo-CZlgdCqq.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-CAViUdYI.js → StepMedicalProfessionalPersonalInfo-CP9XPNbL.js} +28 -24
- package/chunk/{StepMedicalProfessionalPersonalInfo-BBQdw_WF.js.map → StepMedicalProfessionalPersonalInfo-CP9XPNbL.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BBQdw_WF.js → StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js} +48 -52
- package/chunk/{StepMedicalProfessionalPersonalInfo-CAViUdYI.js.map → StepMedicalProfessionalPersonalInfo-DmsfNlPZ.js.map} +1 -1
- package/chunk/StepMemberPersonalInfo-Dpb5-ENF.js +152 -0
- package/chunk/{StepMemberPersonalInfo-CPcTjVm4.js.map → StepMemberPersonalInfo-Dpb5-ENF.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CPcTjVm4.js → StepMemberPersonalInfo-TjSa0NJV.js} +20 -16
- package/chunk/{StepMemberPersonalInfo-DzKpsoK8.js.map → StepMemberPersonalInfo-TjSa0NJV.js.map} +1 -1
- package/chunk/StepMoverPersonalInfo-6bjpRGAv.js +139 -0
- package/chunk/{StepMoverPersonalInfo-CLcsD8p7.js.map → StepMoverPersonalInfo-6bjpRGAv.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CLcsD8p7.js → StepMoverPersonalInfo-vv7-jdz0.js} +18 -14
- package/chunk/{StepMoverPersonalInfo-DIspTifw.js.map → StepMoverPersonalInfo-vv7-jdz0.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DbbQq6nF.js → StepOverrideComponent-4f8ZZxxE.js} +41 -41
- package/chunk/StepOverrideComponent-4f8ZZxxE.js.map +1 -0
- package/chunk/{StepOverrideComponent-67Wl2Ic3.js → StepOverrideComponent-BXnbZhfO.js} +37 -37
- package/chunk/StepOverrideComponent-BXnbZhfO.js.map +1 -0
- package/chunk/{StepSMSLoop-DU91kmZw.js → StepSMSLoop-DAKxJhXo.js} +4 -4
- package/chunk/{StepSMSLoop-DU91kmZw.js.map → StepSMSLoop-DAKxJhXo.js.map} +1 -1
- package/chunk/{StepSMSLoop-DbvJTafU.js → StepSMSLoop-DO4S-Aje.js} +18 -18
- package/chunk/{StepSMSLoop-DbvJTafU.js.map → StepSMSLoop-DO4S-Aje.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +9 -0
- package/chunk/{StepSSO-Bp-M6Mod.js → StepSSO-BaFk7RFJ.js} +4 -4
- package/chunk/{StepSocialSecurityNumber-DK4msVLI.js → StepSocialSecurityNumber-BseFM9rt.js} +9 -9
- package/chunk/{StepSocialSecurityNumber-CbSszHk8.js.map → StepSocialSecurityNumber-BseFM9rt.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CbSszHk8.js → StepSocialSecurityNumber-D0_62BYK.js} +26 -26
- package/chunk/{StepSocialSecurityNumber-DK4msVLI.js.map → StepSocialSecurityNumber-D0_62BYK.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BJlc0JF0.js → StepStudentPersonalInfo-0LRBqSx5.js} +72 -73
- package/chunk/{StepStudentPersonalInfo-BJlc0JF0.js.map → StepStudentPersonalInfo-0LRBqSx5.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-CCxT9FDI.js → StepStudentPersonalInfo-CLG5AxSd.js} +36 -37
- package/chunk/{StepStudentPersonalInfo-CCxT9FDI.js.map → StepStudentPersonalInfo-CLG5AxSd.js.map} +1 -1
- package/chunk/{StepSuccess-DkoWskiv.js → StepSuccess-8Ek9VvK_.js} +82 -83
- package/chunk/StepSuccess-8Ek9VvK_.js.map +1 -0
- package/chunk/{StepSuccess-DOWQrS9p.js → StepSuccess-Be30r2Og.js} +71 -72
- package/chunk/StepSuccess-Be30r2Og.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-CPk_P26g.js → StepTeacherPersonalInfo-BYTmkyxy.js} +21 -17
- package/chunk/{StepTeacherPersonalInfo-CPk_P26g.js.map → StepTeacherPersonalInfo-BYTmkyxy.js.map} +1 -1
- package/chunk/StepTeacherPersonalInfo-BfyMicng.js +149 -0
- package/chunk/{StepTeacherPersonalInfo-CW71f8l7.js.map → StepTeacherPersonalInfo-BfyMicng.js.map} +1 -1
- package/chunk/{StepThirdPartyLoop-CbFTIlwP.js → StepThirdPartyLoop-BGHCbduX.js} +4 -4
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +9 -0
- package/chunk/{TeacherSchoolComponent-DrN1Py8h.js → TeacherSchoolComponent-IkCV6bH-.js} +8 -8
- package/chunk/{TeacherSchoolComponent-DrN1Py8h.js.map → TeacherSchoolComponent-IkCV6bH-.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BkMlrpPJ.js → TeacherSchoolComponent-Qyri5g_X.js} +5 -5
- package/chunk/{TeacherSchoolComponent-BkMlrpPJ.js.map → TeacherSchoolComponent-Qyri5g_X.js.map} +1 -1
- package/chunk/TestingRouteOverrides-B-zcTBa_.js +3 -3
- package/chunk/TestingRouteOverrides-BDCygTLC.js +81 -0
- package/chunk/{TestingRouteOverrides-DCR0qXVH.js.map → TestingRouteOverrides-BDCygTLC.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
- package/chunk/{VerificationApiClient-CVR-bKWg.js → VerificationApiClient-Br6D_KwQ.js} +4 -4
- package/chunk/{VerificationApiClient-CVR-bKWg.js.map → VerificationApiClient-Br6D_KwQ.js.map} +1 -1
- package/chunk/{VerificationApiClient-xgUCQ1gs.js → VerificationApiClient-D6OYdL72.js} +140 -140
- package/chunk/{VerificationApiClient-xgUCQ1gs.js.map → VerificationApiClient-D6OYdL72.js.map} +1 -1
- package/chunk/{VerificationApiUtils-OKRnuWj4.js → VerificationApiUtils-D5oFJWD5.js} +5 -5
- package/chunk/{VerificationApiUtils-COM2VOcB.js.map → VerificationApiUtils-D5oFJWD5.js.map} +1 -1
- package/chunk/{VerificationApiUtils-COM2VOcB.js → VerificationApiUtils-rnfNWA2k.js} +6 -6
- package/chunk/{VerificationApiUtils-OKRnuWj4.js.map → VerificationApiUtils-rnfNWA2k.js.map} +1 -1
- package/chunk/ar-wkBEXxD9.js +3 -3
- package/chunk/bg-D2-seofX.js +3 -3
- package/chunk/bn-IN-B5PyYaJU.js +3 -3
- package/chunk/{countryUtils-BAFwHnuu.js → countryUtils-D2UBy7Uo.js} +4 -4
- package/chunk/{countryUtils-BAFwHnuu.js.map → countryUtils-D2UBy7Uo.js.map} +1 -1
- package/chunk/countryUtils-QSjR1rBI.js +3 -3
- package/chunk/cs-CsEnIopo.js +3 -3
- package/chunk/da-Da-m3VU_.js +3 -3
- package/chunk/de-BSoD5U3-.js +3 -3
- package/chunk/{downshift.esm-Cy12VCIv.js → downshift.esm-DWGiKAV_.js} +121 -121
- package/chunk/{downshift.esm-Cy12VCIv.js.map → downshift.esm-DWGiKAV_.js.map} +1 -1
- package/chunk/{downshift.esm-D4-Qs4ci.js → downshift.esm-oTd5iRZU.js} +40 -40
- package/chunk/{downshift.esm-D4-Qs4ci.js.map → downshift.esm-oTd5iRZU.js.map} +1 -1
- package/chunk/el-CFa6y9Ri.js +3 -3
- package/chunk/empties-BIoZK05_.js +3 -3
- package/chunk/{empties-Ck9OJXHG.js → empties-DHvaWflk.js} +4 -4
- package/chunk/{empties-Ck9OJXHG.js.map → empties-DHvaWflk.js.map} +1 -1
- package/chunk/en-GB-V8XaGkaI.js +3 -3
- package/chunk/es-D18tLxcT.js +3 -3
- package/chunk/es-ES-7x2bVUQr.js +3 -3
- package/chunk/et-udrWMVlD.js +3 -3
- package/chunk/eventEmitter-CSG6jR7V.js +3 -3
- package/chunk/fa-DgwYULMs.js +3 -3
- package/chunk/fi-CkCWFGDC.js +3 -3
- package/chunk/fr-BprIFEa8.js +3 -3
- package/chunk/fr-CA-DrjICejr.js +3 -3
- package/chunk/ga-LaV5ZJgg.js +3 -3
- package/chunk/hi-IN-7dtEICYI.js +3 -3
- package/chunk/hr-2Bctl997.js +3 -3
- package/chunk/hu-BT0z6TPZ.js +3 -3
- package/chunk/id-BvyYep3X.js +3 -3
- package/chunk/{intl-aUfdCP8t.js → intl-Yr2cw5px.js} +4 -4
- package/chunk/{intl-aUfdCP8t.js.map → intl-Yr2cw5px.js.map} +1 -1
- package/chunk/is-DOsKfa80.js +3 -3
- package/chunk/it-3dX9AQk7.js +3 -3
- package/chunk/iw-5I90wqQ8.js +3 -3
- package/chunk/ja-CHdgbMgX.js +3 -3
- package/chunk/jsx-runtime-BknAqbDq.js +3 -3
- package/chunk/{jsx-runtime-XNwIsY_N.js → jsx-runtime-D_-z-h6n.js} +17 -17
- package/chunk/{jsx-runtime-XNwIsY_N.js.map → jsx-runtime-D_-z-h6n.js.map} +1 -1
- package/chunk/kk-BriyNfHL.js +3 -3
- package/chunk/ko-DsMaax3V.js +3 -3
- package/chunk/lo-CjASRmNr.js +3 -3
- package/chunk/lt-DF29E1de.js +3 -3
- package/chunk/lv-DlHBZyt-.js +3 -3
- package/chunk/{militaryStepHelpers-qMYyQgVn.js → militaryStepHelpers-DSh6iat_.js} +4 -4
- package/chunk/{militaryStepHelpers-qMYyQgVn.js.map → militaryStepHelpers-DSh6iat_.js.map} +1 -1
- package/chunk/militaryStepHelpers-UF-7lF1f.js +3 -3
- package/chunk/mocks-1r84in2Q.js +3 -3
- package/chunk/{mocks-fUTXc8-e.js → mocks-CKXq8CZk.js} +8 -8
- package/chunk/{mocks-fUTXc8-e.js.map → mocks-CKXq8CZk.js.map} +1 -1
- package/chunk/ms-B3vDtlFh.js +3 -3
- package/chunk/nl-BE-Dw1IGXuF.js +3 -3
- package/chunk/nl-Cqkrr5-r.js +3 -3
- package/chunk/no-876EdwkX.js +3 -3
- package/chunk/options-D19mRw5a.js +3 -3
- package/chunk/pl-B_G8s05-.js +3 -3
- package/chunk/programThemeGetters-Lz3L0Vh7.js +3 -3
- package/chunk/{programThemeGetters-CyMKyJao.js → programThemeGetters-iBty-gXI.js} +35 -35
- package/chunk/{programThemeGetters-CyMKyJao.js.map → programThemeGetters-iBty-gXI.js.map} +1 -1
- package/chunk/pt-BR-DWj043qk.js +3 -3
- package/chunk/pt-DckA3Jnn.js +3 -3
- package/chunk/refs-Bbe0gnJ3.js +3 -3
- package/chunk/{refs--ECXpllB.js → refs-C_tB1qMA.js} +4 -4
- package/chunk/{refs--ECXpllB.js.map → refs-C_tB1qMA.js.map} +1 -1
- package/chunk/ro-DukNcWCM.js +3 -3
- package/chunk/ru-RkdRQ7qb.js +3 -3
- package/chunk/sk-CPBgBtC5.js +3 -3
- package/chunk/sl-Cyj9PWmN.js +3 -3
- package/chunk/sr-Bm1GVW8m.js +3 -3
- package/chunk/strings-DWLVdUcm.js +3 -3
- package/chunk/sv-CcMmeZrG.js +3 -3
- package/chunk/sw-BPvl1ou6.js +3 -3
- package/chunk/ta-BPEH7IlE.js +3 -3
- package/chunk/th-Dd912RL5.js +3 -3
- package/chunk/tl-J_TdpjQz.js +3 -3
- package/chunk/tr-B-GrrJj0.js +3 -3
- package/chunk/uk-MohyvT_n.js +3 -3
- package/chunk/ur-CDYGpWMm.js +3 -3
- package/chunk/{useCollectFieldsEndpoint-DHNko4IC.js → useCollectFieldsEndpoint-BSbEIf3Q.js} +5 -5
- package/chunk/{useCollectFieldsEndpoint-Bn7ZjdXx.js.map → useCollectFieldsEndpoint-BSbEIf3Q.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-Bn7ZjdXx.js → useCollectFieldsEndpoint-BuXZrZTD.js} +10 -10
- package/chunk/{useCollectFieldsEndpoint-DHNko4IC.js.map → useCollectFieldsEndpoint-BuXZrZTD.js.map} +1 -1
- package/chunk/{useMetrics-AzdlM_Kg.js → useMetrics-BdMoL7SD.js} +18 -18
- package/chunk/{useMetrics-DKs1RHom.js.map → useMetrics-BdMoL7SD.js.map} +1 -1
- package/chunk/{useMetrics-DKs1RHom.js → useMetrics-D_8asKZL.js} +4 -4
- package/chunk/{useMetrics-AzdlM_Kg.js.map → useMetrics-D_8asKZL.js.map} +1 -1
- package/chunk/validators-DTjHYDSK.js +474 -0
- package/chunk/validators-DTjHYDSK.js.map +1 -0
- package/chunk/validators-Do9xo2t_.js +470 -0
- package/chunk/validators-Do9xo2t_.js.map +1 -0
- package/chunk/vi-CdPTWSev.js +3 -3
- package/chunk/zh-DhnjKBoc.js +3 -3
- package/chunk/zh-HK-CWKNP_HX.js +3 -3
- package/chunk/zu-BpMHS0oR.js +3 -3
- package/package.json +3 -2
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +3 -3
- package/sheerid.css +3 -3
- package/sheerid.js +3812 -1369
- package/sheerid.js.map +1 -1
- package/chunk/CountryComponentWrapper-CRF7oKmW.js +0 -78
- package/chunk/EmailLoopPending-MXkvNNP8.js.map +0 -1
- package/chunk/EmailLoopPending-anok50US.js +0 -137
- package/chunk/EmailLoopPending-anok50US.js.map +0 -1
- package/chunk/FormFooterComponent-Cobuya5J.js.map +0 -1
- package/chunk/FormFooterComponent-DcilxYfs.js.map +0 -1
- package/chunk/StepAgePersonalInfo-KeuFdZua.js +0 -173
- package/chunk/StepCollectMilitaryStatusComponent-CHOxuZnI.js +0 -9
- package/chunk/StepCollectPersonalInfo-BVd72Idl.js +0 -361
- package/chunk/StepCompleteAuthentication-CYsu3UXL.js.map +0 -1
- package/chunk/StepCompleteAuthentication-CmOEE_s5.js.map +0 -1
- package/chunk/StepEmailLoop-7EwsfbG2.js.map +0 -1
- package/chunk/StepEmailLoop-CLIGNsCO.js.map +0 -1
- package/chunk/StepMemberPersonalInfo-DzKpsoK8.js +0 -156
- package/chunk/StepMoverPersonalInfo-DIspTifw.js +0 -143
- package/chunk/StepOverrideComponent-67Wl2Ic3.js.map +0 -1
- package/chunk/StepOverrideComponent-DbbQq6nF.js.map +0 -1
- package/chunk/StepSSO-DfPU73JX.js +0 -9
- package/chunk/StepSuccess-DOWQrS9p.js.map +0 -1
- package/chunk/StepSuccess-DkoWskiv.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-CW71f8l7.js +0 -153
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +0 -9
- package/chunk/TestingRouteOverrides-DCR0qXVH.js +0 -81
- package/chunk/hooks--D4yPhcg.js +0 -2893
- package/chunk/hooks--D4yPhcg.js.map +0 -1
- package/chunk/hooks-Bn35OzEf.js +0 -2889
- package/chunk/hooks-Bn35OzEf.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LowIncomeOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"LowIncomeOrganizationComponent-Dpvvj9n4.js","names":[],"sources":["../../src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.tsx","../../src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\nexport const EBTCardNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"ebtCardNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"ebtCardNumber\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"ebtCardNumberPlaceholder\",\n defaultMessage: \"EBT card Number\",\n })\n }\n label={<FormattedHTMLMessage id=\"ebtCardNumber\" defaultMessage=\"EBT card Number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidEBTCardNumber\"\n defaultMessage=\"Invalid EBT Card Number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n );\n};\n\nexport const EBTCardNumberComponent = injectIntl(EBTCardNumber);\n","import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport produce from \"immer\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport {\n type FormSelectChoice,\n type FormFieldComponentProps,\n type LowIncomePersonalInfoViewModel,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\nimport { LoadingSpinnerComponent } from \"../../LoadingSpinner/LoadingSpinnerComponent\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\nimport { fetchOrganization } from \"../../../lib/ServerApi/OrganizationApiClient\";\nimport {\n getFieldConfigByFieldId,\n orgToOption,\n} from \"../../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { isLowIncomeVM } from \"../../StepLowIncomePersonalInfo/lowIncomeTypes\";\n\nexport const LowIncomeOrganization = ({\n value,\n isErrored,\n onChange,\n intl,\n placeholder = \"\",\n isRequired = false,\n verificationService,\n disabled = false,\n}: FormFieldComponentProps) => {\n const { viewModel, programTheme, fieldValidationErrors } = verificationService;\n\n if (!isLowIncomeVM(viewModel)) {\n logger.error(\"Expected low-income view model is malformed\");\n return null;\n }\n\n const selectedStatus = viewModel.statuses[0] ? viewModel.statuses[0] : undefined;\n const [otherGovAssistOrgs, setOtherGovAssistOrgs] = React.useState<\n FormSelectChoice[] | undefined\n >();\n\n React.useEffect(() => {\n fetchOrganization(\n getOrgSearchUrl(\n produce(viewModel, (draft: LowIncomePersonalInfoViewModel) => {\n draft.statuses = [\"OTHER_GOVERNMENT_ASSISTANCE\"]; // load and cache orgs for OTHER_GOVERNMENT_ASSISTANCE as it is a InputSelect and the list of options doesn't change\n }),\n programTheme,\n ),\n )\n .then((orgList: Organization[]) => {\n if (orgList) {\n let newOrganizations: Organization[] = orgList;\n\n if (viewModel.countryChoice) {\n newOrganizations = orgList.filter(\n (org) => org.country === viewModel.countryChoice.value,\n );\n }\n setOtherGovAssistOrgs(newOrganizations.map(orgToOption));\n }\n })\n .catch((e) => {\n logger.error(e);\n });\n }, []);\n\n const handleStateChange = (selectedOrgOption: FormSelectChoice, onStateChange: Function) => {\n if (selectedOrgOption) {\n onStateChange({\n id: selectedOrgOption.value,\n name: selectedOrgOption.label,\n });\n } else {\n onStateChange({\n id: 0,\n name: \"\",\n });\n }\n };\n\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n if (selectedStatus === \"COMMUNITY_ELIGIBILITY_PROVISION\") {\n return (\n <FormFieldTypeahead\n fieldId=\"cep-organization\"\n value={viewModel.organization}\n verificationService={verificationService}\n onChange={onChange}\n placeholder={intl.formatHTMLMessage({\n id: \"schoolNamePlaceholder\",\n defaultMessage: \"School name\",\n })}\n label={<FormattedHTMLMessage id=\"schoolName\" defaultMessage=\"School name\" />}\n errorMessage={\n !!fieldValidationErrors.organization && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n isRequired={selectedStatus === \"COMMUNITY_ELIGIBILITY_PROVISION\"}\n disabled={disabled}\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n />\n );\n }\n\n return otherGovAssistOrgs ? (\n <FormFieldInputSelect\n fieldId=\"low-income\"\n value={otherGovAssistOrgs.find((option) => option.value === (value && value.value))}\n refId=\"organization\"\n onChange={(organization: FormSelectChoice) => handleStateChange(organization, onChange)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"lowIncomeOrganizationPlaceholder\",\n defaultMessage: \"Government Assistance Program\",\n })\n }\n label={\n <FormattedHTMLMessage\n id=\"lowIncomeOrganization\"\n defaultMessage=\"Government Assistance Program\"\n />\n }\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n isRequired={isRequired}\n showPlaceholderAndHideLabel={!!placeholder}\n options={otherGovAssistOrgs}\n containerId=\"sid-low-income-id\"\n disabled={disabled}\n />\n ) : (\n <LoadingSpinnerComponent />\n );\n};\n\nexport const LowIncomeOrganizationComponent = injectIntl(LowIncomeOrganization);\n"],"mappings":";;;;;;;;;aAgDa,IAAyB,GAzCR,EAC5B,UACA,cACA,aACA,SACA,iBAAc,IACd,cAAW,SAEW,EAAwB,eAAe,GAAG,SAGvD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACD;CACG;CACV,aACE,KACA,EAAK,kBAAkB;EACrB,IAAI;EACJ,gBAAgB;CAClB,CAAC;CAEH,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAgB,gBAAe;CAAmB,CAAA;CAClF,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,6BAA6B,CAAC,CAAC;CACrB;AACX,CAAA,CAIyD,kCC+GjD,IAAiC,GAxIR,EACpC,UACA,cACA,aACA,SACA,iBAAc,IACd,gBAAa,IACb,wBACA,cAAW,SACkB;CAC7B,IAAM,EAAE,cAAW,iBAAc,6BAA0B;CAE3D,IAAI,CAAC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AO,WAAW,KAAS,EAAM,MAAM;EAClF,OAAM;EACN,WAAW,MAAmC,EAAkB,GAAc,CAAQ;EACtF,aACE,KACA,EAAK,kBAAkB;GACrB,IAAI;GACJ,gBAAgB;EAClB,CAAC;EAEH,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAEH,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAG;GACH,gBAAe;EAChB,CAAA;EAGO;EACZ,6BAA6B,CAAC,CAAC;EAC/B,SAAS;EACT,aAAY;EACF;CACX,CAAA,IAED,iBAAA,GAAA,EAAA,KAAC,GAAD,CAA0B,CAAA;AAE9B,CAE8E"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.259.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.259.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1784832344356
|
|
5
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
7
7
|
*/
|
|
8
8
|
import { a as e, n as t, t as n } from "./jsx-runtime-BknAqbDq.js";
|
|
9
9
|
import { u as r } from "./programThemeGetters-Lz3L0Vh7.js";
|
|
10
|
-
import {
|
|
11
|
-
import { t as a } from "./FormFieldTypeahead-
|
|
10
|
+
import { V as i } from "../sheerid.js";
|
|
11
|
+
import { t as a } from "./FormFieldTypeahead-4sP6yrSp.js";
|
|
12
12
|
//#region src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.tsx
|
|
13
13
|
var o = n(), s = e(({ value: e, isErrored: n, onChange: s, verificationService: c, intl: l, placeholder: u = "", disabled: d = !1 }) => i("organization")?.hidden ? null : /* @__PURE__ */ (0, o.jsx)(a, {
|
|
14
14
|
fieldId: "medical-professional-organization",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MedicalProfessionalOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"MedicalProfessionalOrganizationComponent-B-hFqd6W.js","names":[],"sources":["../../src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const MedicalProfessionalOrganization = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"medical-professional-organization\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"organizationPlaceholder\", defaultMessage: \"Organization\" })\n }\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n disabled={disabled}\n />\n );\n};\n\nexport const MedicalProfessionalOrganizationComponent = injectIntl(MedicalProfessionalOrganization);\n"],"mappings":";;;;;aAyDa,IAA2C,GA7CR,EAC9C,UACA,cACA,aACA,wBACA,SACA,iBAAc,IACd,cAAW,SAEW,EAAwB,cAAc,GAAG,SAGtD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACD;CACc;CACrB,WAAW,MAAyB,EAAS,CAAM;CACnD,aACE,KACA,EAAK,kBAAkB;EAAE,IAAI;EAA2B,gBAAgB;CAAe,CAAC;CAE1F,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAe,gBAAe;CAAgB,CAAA;CAC9E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,cAAc,EACZ,EAAoB,WACpB,EAAoB,YACtB;CACA,6BAA6B,CAAC,CAAC;CAC/B,YAAA;CACU;AACX,CAAA,CAI6F"}
|
|
@@ -4,15 +4,15 @@
|
|
|
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.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.259.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1784832348235
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
|
-
import { a as e, n as t, t as n } from "./jsx-runtime-
|
|
13
|
-
import { u as r } from "./programThemeGetters-
|
|
14
|
-
import {
|
|
15
|
-
import { t as a } from "./FormFieldTypeahead-
|
|
12
|
+
import { a as e, n as t, t as n } from "./jsx-runtime-D_-z-h6n.js";
|
|
13
|
+
import { u as r } from "./programThemeGetters-iBty-gXI.js";
|
|
14
|
+
import { B as i } from "../_mysheerid-preview.js";
|
|
15
|
+
import { t as a } from "./FormFieldTypeahead-CrDv6QmZ.js";
|
|
16
16
|
//#region src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.tsx
|
|
17
17
|
var o = n(), s = e(({ value: e, isErrored: n, onChange: s, verificationService: c, intl: l, placeholder: u = "", disabled: d = !1 }) => i("organization")?.hidden ? null : /* @__PURE__ */ (0, o.jsx)(a, {
|
|
18
18
|
fieldId: "medical-professional-organization",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MedicalProfessionalOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"MedicalProfessionalOrganizationComponent-B_6Eeh8t.js","names":[],"sources":["../../src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const MedicalProfessionalOrganization = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"medical-professional-organization\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"organizationPlaceholder\", defaultMessage: \"Organization\" })\n }\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n disabled={disabled}\n />\n );\n};\n\nexport const MedicalProfessionalOrganizationComponent = injectIntl(MedicalProfessionalOrganization);\n"],"mappings":";;;;;aAyDa,IAA2C,GA7CR,EAC9C,UACA,cACA,aACA,wBACA,SACA,iBAAc,IACd,cAAW,SAEW,EAAwB,cAAc,GAAG,SAGtD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACD;CACc;CACrB,WAAW,MAAyB,EAAS,CAAM;CACnD,aACE,KACA,EAAK,kBAAkB;EAAE,IAAI;EAA2B,gBAAgB;CAAe,CAAC;CAE1F,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAe,gBAAe;CAAgB,CAAA;CAC9E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,cAAc,EACZ,EAAoB,WACpB,EAAoB,YACtB;CACA,6BAA6B,CAAC,CAAC;CAC/B,YAAA;CACU;AACX,CAAA,CAI6F"}
|
|
@@ -4,14 +4,14 @@
|
|
|
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.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.259.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1784832348235
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
|
-
import { a as e, n as t, t as n } from "./jsx-runtime-
|
|
13
|
-
import {
|
|
14
|
-
import { t as i } from "./FormFieldText-
|
|
12
|
+
import { a as e, n as t, t as n } from "./jsx-runtime-D_-z-h6n.js";
|
|
13
|
+
import { B as r } from "../_mysheerid-preview.js";
|
|
14
|
+
import { t as i } from "./FormFieldText-zuTjfmLt.js";
|
|
15
15
|
//#region src/components/FormFields/MemberId/MemberIdComponent.tsx
|
|
16
16
|
var a = n(), o = e(({ value: e, isErrored: n, onChange: o, explanation: s, intl: c, placeholder: l = "", isRequired: u = !1, label: d, disabled: f = !1 }) => r("memberId")?.hidden ? null : /* @__PURE__ */ (0, a.jsx)(i, {
|
|
17
17
|
fieldId: "member-id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MemberIdComponent-
|
|
1
|
+
{"version":3,"file":"MemberIdComponent-DMGaNM9l.js","names":[],"sources":["../../src/components/FormFields/MemberId/MemberIdComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\ninterface PassedProps {\n explanation?: JSX.Element;\n label?: JSX.Element;\n}\n\nexport const MemberId = ({\n value,\n isErrored,\n onChange,\n explanation,\n intl,\n placeholder = \"\",\n isRequired = false,\n label,\n disabled = false,\n}: FormFieldComponentProps & PassedProps) => {\n const getDefaultExplanation = () =>\n !isRequired ? <FormattedHTMLMessage id=\"optional\" defaultMessage=\"Optional\" /> : \"\";\n\n const isFieldHidden = getFieldConfigByFieldId(\"memberId\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"member-id\"\n refId=\"memberId\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"memberIdPlaceholder\", defaultMessage: \"ID Number\" })\n }\n label={label || <FormattedHTMLMessage id=\"memberId\" defaultMessage=\"ID Number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidMemberId\" defaultMessage=\"Invalid ID Number\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n explanation={explanation || getDefaultExplanation()}\n required={isRequired}\n disabled={disabled}\n />\n );\n};\n\nexport const MemberIdComponent = injectIntl(MemberId);\n"],"mappings":";;;;aAwDa,IAAoB,GA5CR,EACvB,UACA,cACA,aACA,gBACA,SACA,iBAAc,IACd,gBAAa,IACb,UACA,cAAW,SAKW,EAAwB,UAAU,GAAG,SAGlD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACR,OAAM;CACC;CACG;CACV,aACE,KACA,EAAK,kBAAkB;EAAE,IAAI;EAAuB,gBAAgB;CAAY,CAAC;CAEnF,OAAO,KAAS,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAW,gBAAe;CAAa,CAAA;CAChF,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAA0B,gBAAe;CAAqB,CAAA;CAG3F,6BAA6B,CAAC,CAAC;CAC/B,aAAa,MAzBd,IAAgF,KAAnE,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAW,gBAAe;CAAY,CAAA;CA0B3E,UAAU;CACA;AACX,CAAA,CAI+C"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.259.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.259.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1784832344356
|
|
5
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
7
7
|
*/
|
|
8
8
|
import { a as e, n as t, t as n } from "./jsx-runtime-BknAqbDq.js";
|
|
9
|
-
import {
|
|
9
|
+
import { V as r } from "../sheerid.js";
|
|
10
10
|
import { t as i } from "./FormFieldText-zjWk7Cyc.js";
|
|
11
11
|
//#region src/components/FormFields/MemberId/MemberIdComponent.tsx
|
|
12
12
|
var a = n(), o = e(({ value: e, isErrored: n, onChange: o, explanation: s, intl: c, placeholder: l = "", isRequired: u = !1, label: d, disabled: f = !1 }) => r("memberId")?.hidden ? null : /* @__PURE__ */ (0, a.jsx)(i, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MemberIdComponent-
|
|
1
|
+
{"version":3,"file":"MemberIdComponent-Dva2Xx7J.js","names":[],"sources":["../../src/components/FormFields/MemberId/MemberIdComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\ninterface PassedProps {\n explanation?: JSX.Element;\n label?: JSX.Element;\n}\n\nexport const MemberId = ({\n value,\n isErrored,\n onChange,\n explanation,\n intl,\n placeholder = \"\",\n isRequired = false,\n label,\n disabled = false,\n}: FormFieldComponentProps & PassedProps) => {\n const getDefaultExplanation = () =>\n !isRequired ? <FormattedHTMLMessage id=\"optional\" defaultMessage=\"Optional\" /> : \"\";\n\n const isFieldHidden = getFieldConfigByFieldId(\"memberId\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"member-id\"\n refId=\"memberId\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"memberIdPlaceholder\", defaultMessage: \"ID Number\" })\n }\n label={label || <FormattedHTMLMessage id=\"memberId\" defaultMessage=\"ID Number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidMemberId\" defaultMessage=\"Invalid ID Number\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n explanation={explanation || getDefaultExplanation()}\n required={isRequired}\n disabled={disabled}\n />\n );\n};\n\nexport const MemberIdComponent = injectIntl(MemberId);\n"],"mappings":";;;;aAwDa,IAAoB,GA5CR,EACvB,UACA,cACA,aACA,gBACA,SACA,iBAAc,IACd,gBAAa,IACb,UACA,cAAW,SAKW,EAAwB,UAAU,GAAG,SAGlD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACR,OAAM;CACC;CACG;CACV,aACE,KACA,EAAK,kBAAkB;EAAE,IAAI;EAAuB,gBAAgB;CAAY,CAAC;CAEnF,OAAO,KAAS,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAW,gBAAe;CAAa,CAAA;CAChF,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAA0B,gBAAe;CAAqB,CAAA;CAG3F,6BAA6B,CAAC,CAAC;CAC/B,aAAa,MAzBd,IAAgF,KAAnE,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAW,gBAAe;CAAY,CAAA;CA0B3E,UAAU;CACA;AACX,CAAA,CAI+C"}
|
|
@@ -4,15 +4,15 @@
|
|
|
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.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.259.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1784832348235
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
|
-
import { a as e, n as t, t as n } from "./jsx-runtime-
|
|
13
|
-
import { u as r } from "./programThemeGetters-
|
|
14
|
-
import {
|
|
15
|
-
import { t as a } from "./FormFieldTypeahead-
|
|
12
|
+
import { a as e, n as t, t as n } from "./jsx-runtime-D_-z-h6n.js";
|
|
13
|
+
import { u as r } from "./programThemeGetters-iBty-gXI.js";
|
|
14
|
+
import { B as i } from "../_mysheerid-preview.js";
|
|
15
|
+
import { t as a } from "./FormFieldTypeahead-CrDv6QmZ.js";
|
|
16
16
|
//#region src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.tsx
|
|
17
17
|
var o = n(), s = e(({ value: e, isErrored: n, onChange: s, verificationService: c, intl: l, placeholder: u = "", disabled: d = !1 }) => i("organization")?.hidden ? null : /* @__PURE__ */ (0, o.jsx)(a, {
|
|
18
18
|
fieldId: "membership",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MembershipOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"MembershipOrganizationComponent-CfLlUdPl.js","names":[],"sources":["../../src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const MembershipOrganization = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"membership\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"organizationPlaceholder\",\n defaultMessage: \"Organization\",\n })\n }\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n );\n};\n\nexport const MembershipOrganizationComponent = injectIntl(MembershipOrganization);\n"],"mappings":";;;;;aA2Da,IAAkC,GA/CR,EACrC,UACA,cACA,aACA,wBACA,SACA,iBAAc,IACd,cAAW,SAEW,EAAwB,cAAc,GAAG,SAGtD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACD;CACc;CACrB,WAAW,MAAyB,EAAS,CAAM;CACnD,aACE,KACA,EAAK,kBAAkB;EACrB,IAAI;EACJ,gBAAgB;CAClB,CAAC;CAEH,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAe,gBAAe;CAAgB,CAAA;CAC9E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,cAAc,EACZ,EAAoB,WACpB,EAAoB,YACtB;CACA,6BAA6B,CAAC,CAAC;CACrB;AACX,CAAA,CAI2E"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.259.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.259.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1784832344356
|
|
5
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
7
7
|
*/
|
|
8
8
|
import { a as e, n as t, t as n } from "./jsx-runtime-BknAqbDq.js";
|
|
9
9
|
import { u as r } from "./programThemeGetters-Lz3L0Vh7.js";
|
|
10
|
-
import {
|
|
11
|
-
import { t as a } from "./FormFieldTypeahead-
|
|
10
|
+
import { V as i } from "../sheerid.js";
|
|
11
|
+
import { t as a } from "./FormFieldTypeahead-4sP6yrSp.js";
|
|
12
12
|
//#region src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.tsx
|
|
13
13
|
var o = n(), s = e(({ value: e, isErrored: n, onChange: s, verificationService: c, intl: l, placeholder: u = "", disabled: d = !1 }) => i("organization")?.hidden ? null : /* @__PURE__ */ (0, o.jsx)(a, {
|
|
14
14
|
fieldId: "membership",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MembershipOrganizationComponent-
|
|
1
|
+
{"version":3,"file":"MembershipOrganizationComponent-DuJZlKLf.js","names":[],"sources":["../../src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport {\n type FormFieldComponentProps,\n type VerificationServiceProps,\n type Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const MembershipOrganization = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"organization\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldTypeahead\n fieldId=\"membership\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"organizationPlaceholder\",\n defaultMessage: \"Organization\",\n })\n }\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(\n verificationService.viewModel,\n verificationService.programTheme,\n )}\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n );\n};\n\nexport const MembershipOrganizationComponent = injectIntl(MembershipOrganization);\n"],"mappings":";;;;;aA2Da,IAAkC,GA/CR,EACrC,UACA,cACA,aACA,wBACA,SACA,iBAAc,IACd,cAAW,SAEW,EAAwB,cAAc,GAAG,SAGtD,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACD;CACc;CACrB,WAAW,MAAyB,EAAS,CAAM;CACnD,aACE,KACA,EAAK,kBAAkB;EACrB,IAAI;EACJ,gBAAgB;CAClB,CAAC;CAEH,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAe,gBAAe;CAAgB,CAAA;CAC9E,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,IAAG;EACH,gBAAe;CAChB,CAAA;CAGL,cAAc,EACZ,EAAoB,WACpB,EAAoB,YACtB;CACA,6BAA6B,CAAC,CAAC;CACrB;AACX,CAAA,CAI2E"}
|
package/chunk/Onfido-CTCgAwnB.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
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.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.259.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1784832348235
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
12
|
//#region ../node_modules/onfido-sdk-ui/Onfido.js
|
package/chunk/{PersonalInfoStepSubmitButton-i0P1DpyZ.js → PersonalInfoStepSubmitButton-D3lzSm2E.js}
RENAMED
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.259.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
7
|
+
* VERSION: 2.259.0-alpha.2
|
|
8
|
+
* BUILD_TIMESTAMP: 1784832348235
|
|
9
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:48 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
15
|
-
import { o as d } from "./refs
|
|
16
|
-
import {
|
|
17
|
-
import { t as m } from "./FormFieldText-
|
|
18
|
-
import { n as h, o as g, t as _ } from "./useMetrics-
|
|
12
|
+
import { Mt as e, Rt as t, Ut as n, g as r, h as i, x as a } from "./intl-Yr2cw5px.js";
|
|
13
|
+
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-D_-z-h6n.js";
|
|
14
|
+
import { i as u } from "./validators-DTjHYDSK.js";
|
|
15
|
+
import { o as d } from "./refs-C_tB1qMA.js";
|
|
16
|
+
import { B as f, Z as p } from "../_mysheerid-preview.js";
|
|
17
|
+
import { t as m } from "./FormFieldText-zuTjfmLt.js";
|
|
18
|
+
import { n as h, o as g, t as _ } from "./useMetrics-BdMoL7SD.js";
|
|
19
19
|
//#region src/components/FormFields/Email/EmailComponent.tsx
|
|
20
|
-
var v = l(), y = o(({ value: e, isErrored: t, onChange: n, explanation: r = "", intl: i, onKeyDown: a = () => {}, onBlur: o = () => {}, placeholder: s = "", disabled: l = !1 }) =>
|
|
20
|
+
var v = l(), y = o(({ value: e, isErrored: t, onChange: n, explanation: r = "", intl: i, onKeyDown: a = () => {}, onBlur: o = () => {}, placeholder: s = "", disabled: l = !1 }) => f("email")?.hidden ? null : /* @__PURE__ */ (0, v.jsx)(m, {
|
|
21
21
|
fieldId: "email",
|
|
22
22
|
value: e,
|
|
23
23
|
onChange: n,
|
|
@@ -40,7 +40,7 @@ var v = l(), y = o(({ value: e, isErrored: t, onChange: n, explanation: r = "",
|
|
|
40
40
|
onKeyDown: (e) => a(e),
|
|
41
41
|
onBlur: (e) => o(e),
|
|
42
42
|
disabled: l
|
|
43
|
-
})), b = /* @__PURE__ */
|
|
43
|
+
})), b = /* @__PURE__ */ n(s(), 1), x = {
|
|
44
44
|
collectStudentPersonalInfo: "sid-student--submit",
|
|
45
45
|
collectSeniorPersonalInfo: "sid-senior-submit",
|
|
46
46
|
collectTeacherPersonalInfo: "sid-teacher-submit",
|
|
@@ -81,41 +81,41 @@ var v = l(), y = o(({ value: e, isErrored: t, onChange: n, explanation: r = "",
|
|
|
81
81
|
collectIdentifier: "sid-identifier-submit-btn",
|
|
82
82
|
collectPersonalInfo: "sid-personal-info-submit-btn"
|
|
83
83
|
}, C = [
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
], w = ({ step:
|
|
84
|
+
e.collectMoverPersonalInfo,
|
|
85
|
+
e.collectStudentPersonalInfo,
|
|
86
|
+
e.collectEmployeePersonalInfo
|
|
87
|
+
], w = ({ step: n, verificationService: o, viewModel: s, buttonText: l, failedInstantMatch: f = !1 }) => {
|
|
88
88
|
let { userDidConvert: m, getTimeOnForm: y } = g({
|
|
89
89
|
segment: o.verificationResponse.segment,
|
|
90
90
|
programId: o.programId
|
|
91
91
|
});
|
|
92
92
|
(0, b.useEffect)(() => {
|
|
93
93
|
a({
|
|
94
|
-
eventName:
|
|
94
|
+
eventName: r.COLLECT_STARTED,
|
|
95
95
|
params: {}
|
|
96
96
|
});
|
|
97
97
|
}, []);
|
|
98
98
|
let w = () => {
|
|
99
99
|
try {
|
|
100
100
|
a({
|
|
101
|
-
eventName:
|
|
102
|
-
params: { [
|
|
101
|
+
eventName: r.COLLECT_SUBMITTED,
|
|
102
|
+
params: { [i.EVENT_DURATION]: y().duration }
|
|
103
103
|
});
|
|
104
104
|
} catch {
|
|
105
105
|
t.warn("Unable to measure time on form");
|
|
106
106
|
}
|
|
107
107
|
m(h, _);
|
|
108
|
-
}, T = x[
|
|
108
|
+
}, T = x[n], E = S[n], D = C.includes(n) ? "sid-submit-wrapper__collect-info" : "sid-submit-btn-collect-info", O = f ? /* @__PURE__ */ (0, v.jsx)(c, {
|
|
109
109
|
id: "tryAgain",
|
|
110
110
|
defaultMessage: "Try Again"
|
|
111
|
-
}) : l, k =
|
|
111
|
+
}) : l, k = n === e.collectEmployeePersonalInfo ? { className: "sid-employment-submit-btn__text" } : {}, A = !u(s, o.formValidationOptions);
|
|
112
112
|
return /* @__PURE__ */ (0, v.jsx)("div", {
|
|
113
113
|
className: "sid-form-region sid-submit-wrapper sid-l-space-top-md",
|
|
114
114
|
children: /* @__PURE__ */ (0, v.jsx)("div", {
|
|
115
115
|
className: `${T} sid-submit`,
|
|
116
116
|
children: /* @__PURE__ */ (0, v.jsx)("button", {
|
|
117
117
|
id: D,
|
|
118
|
-
onClick: () =>
|
|
118
|
+
onClick: () => p(s, o, n, w),
|
|
119
119
|
type: "submit",
|
|
120
120
|
className: `sid-btn ${E} sid-btn--dark sid-l-full-width ${A ? "sid-btn--disabled-like" : ""}`,
|
|
121
121
|
"aria-labelledby": "verify-status-text",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PersonalInfoStepSubmitButton-i0P1DpyZ.js","names":[],"sources":["../../src/components/FormFields/Email/EmailComponent.tsx","../../src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;\n onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;\n}\n\nexport const Email = ({\n value,\n isErrored,\n onChange,\n explanation = \"\",\n intl,\n onKeyDown = () => {},\n onBlur = () => {},\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & PassedProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"email\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"email\"\n value={value}\n onChange={onChange}\n type=\"email\"\n autoComplete=\"email\"\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"emailAddressPlaceholder\", defaultMessage: \"Email\" })\n }\n label={<FormattedHTMLMessage id=\"emailAddress\" defaultMessage=\"Email address\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidEmail\" defaultMessage=\"Invalid email\" />\n )\n }\n explanation={explanation}\n showPlaceholderAndHideLabel={!!placeholder}\n onKeyDown={(e) => onKeyDown(e)}\n onBlur={(e) => onBlur(e)}\n disabled={disabled}\n />\n );\n};\n\nexport const EmailComponent = injectIntl(Email);\n","import type React from \"react\";\nimport { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type VerificationService, type ViewModel } from \"../../lib/types/types\";\nimport { submitForm } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { isFormFilled } from \"../../lib/validators/validators\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport {\n type CollectStepStartEvent,\n type CollectStepSubmitEvent,\n CustomMetricNames,\n EventName,\n recordGaEvent,\n} from \"../../lib/GoogleAnalytics/ga\";\nimport {\n COLLECT_INFO_SUBMISSION_TIME,\n COLLECT_INFO_SUBMIT,\n useMetrics,\n} from \"../FeatureFlags/useMetrics\";\n\ninterface PersonalInfoStepSubmitButtonProps {\n step: CollectInfoSteps;\n verificationService: VerificationService;\n viewModel: ViewModel;\n buttonText: React.ReactNode;\n failedInstantMatch?: boolean;\n}\n\nconst wrapperClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student--submit\",\n collectSeniorPersonalInfo: \"sid-senior-submit\",\n collectTeacherPersonalInfo: \"sid-teacher-submit\",\n collectMoverPersonalInfo: \"sid-mover-submit\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit sid-military-submit\",\n collectActiveMilitaryPersonalInfo: \"sid-active-military-personal-submit sid-military-submit\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-personal-info-submit\",\n collectEmployeePersonalInfo: \"sid-employment-submit\",\n collectAgePersonalInfo: \"sid-age-personal-info-submit\",\n collectIdentifier: \"sid-identifier-submit\",\n collectPersonalInfo: \"sid-personal-info-submit\",\n};\n\nconst buttonClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student-submit-btn\",\n collectSeniorPersonalInfo: \"sid-senior-submit-btn\",\n collectTeacherPersonalInfo: \"sid-teacher-submit-btn\",\n collectMoverPersonalInfo: \"sid-mover-submit-btn\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit-btn sid-military-submit-btn\",\n collectActiveMilitaryPersonalInfo:\n \"sid-active-military-personal-submit-btn sid-military-submit-btn\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit-btn\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit-btn\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit-btn\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit-btn\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit-btn\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit-btn\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit-btn\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-submit-btn\",\n collectEmployeePersonalInfo: \"sid-employment-submit-btn\",\n collectAgePersonalInfo: \"sid-age-personal-info-btn\",\n collectIdentifier: \"sid-identifier-submit-btn\",\n collectPersonalInfo: \"sid-personal-info-submit-btn\",\n};\n\nconst usesWrapperID: CollectInfoSteps[] = [\n VerificationStepsEnum.collectMoverPersonalInfo,\n VerificationStepsEnum.collectStudentPersonalInfo,\n VerificationStepsEnum.collectEmployeePersonalInfo,\n];\n\n/**\n * A shared wrapper for all personal info collect steps.\n */\nexport const PersonalInfoStepSubmitButton: React.FC<PersonalInfoStepSubmitButtonProps> = ({\n step,\n verificationService,\n viewModel,\n buttonText,\n failedInstantMatch = false,\n}) => {\n const { userDidConvert, getTimeOnForm } = useMetrics({\n segment: verificationService.verificationResponse.segment,\n programId: verificationService.programId,\n });\n\n useEffect(() => {\n const event: CollectStepStartEvent = {\n eventName: EventName.COLLECT_STARTED,\n params: {},\n };\n\n recordGaEvent(event);\n }, []);\n\n const successCallback = () => {\n try {\n const event: CollectStepSubmitEvent = {\n eventName: EventName.COLLECT_SUBMITTED,\n params: {\n [CustomMetricNames.EVENT_DURATION]: getTimeOnForm().duration,\n },\n };\n recordGaEvent(event);\n } catch (e) {\n logger.warn(\"Unable to measure time on form\");\n }\n\n userDidConvert(COLLECT_INFO_SUBMIT, COLLECT_INFO_SUBMISSION_TIME);\n };\n\n // The majority of the class/id dancing in this component are to support the\n // existing inconsistencies in our different collect info steps when they were\n // brought together into this shared component. When we get away from css based\n // customization this can get much saner\n const wrapperCls = wrapperClassNames[step];\n const buttonCls = buttonClassNames[step];\n\n const btnId = usesWrapperID.includes(step)\n ? \"sid-submit-wrapper__collect-info\"\n : \"sid-submit-btn-collect-info\";\n\n const btnText = failedInstantMatch ? (\n <FormattedHTMLMessage id=\"tryAgain\" defaultMessage=\"Try Again\" />\n ) : (\n buttonText\n );\n\n const textSpanProps =\n step === VerificationStepsEnum.collectEmployeePersonalInfo\n ? { className: \"sid-employment-submit-btn__text\" }\n : {};\n const isDisabled = !isFormFilled(viewModel, verificationService.formValidationOptions);\n\n return (\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className={`${wrapperCls} sid-submit`}>\n <button\n id={btnId}\n onClick={() => submitForm(viewModel, verificationService, step, successCallback)}\n type=\"submit\"\n className={`sid-btn ${buttonCls} sid-btn--dark sid-l-full-width ${\n isDisabled ? \"sid-btn--disabled-like\" : \"\"\n }`}\n aria-labelledby=\"verify-status-text\"\n ref={(button) => setRef(\"submitButton\", button)}\n aria-disabled={isDisabled}\n data-testid=\"submit-button\"\n >\n <span id=\"verify-status-text\" {...textSpanProps}>\n {btnText}\n </span>\n </button>\n </div>\n </div>\n );\n};\n"],"mappings":";;;;;;;;aAyDa,IAAiB,GA3CR,EACpB,UACA,cACA,aACA,iBAAc,IACd,SACA,qBAAkB,CAAC,GACnB,kBAAe,CAAC,GAChB,iBAAc,IACd,cA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ponent.tsx","../../src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;\n onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;\n}\n\nexport const Email = ({\n value,\n isErrored,\n onChange,\n explanation = \"\",\n intl,\n onKeyDown = () => {},\n onBlur = () => {},\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & PassedProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"email\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"email\"\n value={value}\n onChange={onChange}\n type=\"email\"\n autoComplete=\"email\"\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"emailAddressPlaceholder\", defaultMessage: \"Email\" })\n }\n label={<FormattedHTMLMessage id=\"emailAddress\" defaultMessage=\"Email address\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidEmail\" defaultMessage=\"Invalid email\" />\n )\n }\n explanation={explanation}\n showPlaceholderAndHideLabel={!!placeholder}\n onKeyDown={(e) => onKeyDown(e)}\n onBlur={(e) => onBlur(e)}\n disabled={disabled}\n />\n );\n};\n\nexport const EmailComponent = injectIntl(Email);\n","import type React from \"react\";\nimport { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type VerificationService, type ViewModel } from \"../../lib/types/types\";\nimport { submitForm } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { isFormFilled } from \"../../lib/validators/validators\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport {\n type CollectStepStartEvent,\n type CollectStepSubmitEvent,\n CustomMetricNames,\n EventName,\n recordGaEvent,\n} from \"../../lib/GoogleAnalytics/ga\";\nimport {\n COLLECT_INFO_SUBMISSION_TIME,\n COLLECT_INFO_SUBMIT,\n useMetrics,\n} from \"../FeatureFlags/useMetrics\";\n\ninterface PersonalInfoStepSubmitButtonProps {\n step: CollectInfoSteps;\n verificationService: VerificationService;\n viewModel: ViewModel;\n buttonText: React.ReactNode;\n failedInstantMatch?: boolean;\n}\n\nconst wrapperClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student--submit\",\n collectSeniorPersonalInfo: \"sid-senior-submit\",\n collectTeacherPersonalInfo: \"sid-teacher-submit\",\n collectMoverPersonalInfo: \"sid-mover-submit\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit sid-military-submit\",\n collectActiveMilitaryPersonalInfo: \"sid-active-military-personal-submit sid-military-submit\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-personal-info-submit\",\n collectEmployeePersonalInfo: \"sid-employment-submit\",\n collectAgePersonalInfo: \"sid-age-personal-info-submit\",\n collectIdentifier: \"sid-identifier-submit\",\n collectPersonalInfo: \"sid-personal-info-submit\",\n};\n\nconst buttonClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student-submit-btn\",\n collectSeniorPersonalInfo: \"sid-senior-submit-btn\",\n collectTeacherPersonalInfo: \"sid-teacher-submit-btn\",\n collectMoverPersonalInfo: \"sid-mover-submit-btn\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit-btn sid-military-submit-btn\",\n collectActiveMilitaryPersonalInfo:\n \"sid-active-military-personal-submit-btn sid-military-submit-btn\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit-btn\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit-btn\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit-btn\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit-btn\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit-btn\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit-btn\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit-btn\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-submit-btn\",\n collectEmployeePersonalInfo: \"sid-employment-submit-btn\",\n collectAgePersonalInfo: \"sid-age-personal-info-btn\",\n collectIdentifier: \"sid-identifier-submit-btn\",\n collectPersonalInfo: \"sid-personal-info-submit-btn\",\n};\n\nconst usesWrapperID: CollectInfoSteps[] = [\n VerificationStepsEnum.collectMoverPersonalInfo,\n VerificationStepsEnum.collectStudentPersonalInfo,\n VerificationStepsEnum.collectEmployeePersonalInfo,\n];\n\n/**\n * A shared wrapper for all personal info collect steps.\n */\nexport const PersonalInfoStepSubmitButton: React.FC<PersonalInfoStepSubmitButtonProps> = ({\n step,\n verificationService,\n viewModel,\n buttonText,\n failedInstantMatch = false,\n}) => {\n const { userDidConvert, getTimeOnForm } = useMetrics({\n segment: verificationService.verificationResponse.segment,\n programId: verificationService.programId,\n });\n\n useEffect(() => {\n const event: CollectStepStartEvent = {\n eventName: EventName.COLLECT_STARTED,\n params: {},\n };\n\n recordGaEvent(event);\n }, []);\n\n const successCallback = () => {\n try {\n const event: CollectStepSubmitEvent = {\n eventName: EventName.COLLECT_SUBMITTED,\n params: {\n [CustomMetricNames.EVENT_DURATION]: getTimeOnForm().duration,\n },\n };\n recordGaEvent(event);\n } catch (e) {\n logger.warn(\"Unable to measure time on form\");\n }\n\n userDidConvert(COLLECT_INFO_SUBMIT, COLLECT_INFO_SUBMISSION_TIME);\n };\n\n // The majority of the class/id dancing in this component are to support the\n // existing inconsistencies in our different collect info steps when they were\n // brought together into this shared component. When we get away from css based\n // customization this can get much saner\n const wrapperCls = wrapperClassNames[step];\n const buttonCls = buttonClassNames[step];\n\n const btnId = usesWrapperID.includes(step)\n ? \"sid-submit-wrapper__collect-info\"\n : \"sid-submit-btn-collect-info\";\n\n const btnText = failedInstantMatch ? (\n <FormattedHTMLMessage id=\"tryAgain\" defaultMessage=\"Try Again\" />\n ) : (\n buttonText\n );\n\n const textSpanProps =\n step === VerificationStepsEnum.collectEmployeePersonalInfo\n ? { className: \"sid-employment-submit-btn__text\" }\n : {};\n const isDisabled = !isFormFilled(viewModel, verificationService.formValidationOptions);\n\n return (\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className={`${wrapperCls} sid-submit`}>\n <button\n id={btnId}\n onClick={() => submitForm(viewModel, verificationService, step, successCallback)}\n type=\"submit\"\n className={`sid-btn ${buttonCls} sid-btn--dark sid-l-full-width ${\n isDisabled ? \"sid-btn--disabled-like\" : \"\"\n }`}\n aria-labelledby=\"verify-status-text\"\n ref={(button) => setRef(\"submitButton\", button)}\n aria-disabled={isDisabled}\n data-testid=\"submit-button\"\n >\n <span id=\"verify-status-text\" {...textSpanProps}>\n {btnText}\n </span>\n </button>\n </div>\n </div>\n );\n};\n"],"mappings":";;;;;;;;aAyDa,IAAiB,GA3CR,EACpB,UACA,cACA,aACA,iBAAc,IACd,SACA,qBAAkB,CAAC,GACnB,kBAAe,CAAC,GAChB,iBAAc,IACd,cAAW,SAEW,EAAwB,OAAO,GAAG,SAG/C,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CAC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pha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE:
|
|
3
|
+
* VERSION: 2.259.0-alpha.2
|
|
4
|
+
* BUILD_TIMESTAMP: 1784832344356
|
|
5
|
+
* BUILD_DATE: Thu Jul 23 2026 18:45:44 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
7
7
|
*/
|
|
8
8
|
import { Bt as e, Ft as t, Wt as n, d as r, g as i, u as a } from "./options-D19mRw5a.js";
|
|
9
9
|
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
-
import {
|
|
10
|
+
import { i as u } from "./validators-Do9xo2t_.js";
|
|
11
11
|
import { o as d } from "./refs-Bbe0gnJ3.js";
|
|
12
|
-
import {
|
|
12
|
+
import { Q as f, V as p } from "../sheerid.js";
|
|
13
13
|
import { t as m } from "./FormFieldText-zjWk7Cyc.js";
|
|
14
|
-
import { n as h, o as g, t as _ } from "./useMetrics-
|
|
14
|
+
import { n as h, o as g, t as _ } from "./useMetrics-D_8asKZL.js";
|
|
15
15
|
//#region src/components/FormFields/Email/EmailComponent.tsx
|
|
16
|
-
var v = l(), y = o(({ value: e, isErrored: t, onChange: n, explanation: r = "", intl: i, onKeyDown: a = () => {}, onBlur: o = () => {}, placeholder: s = "", disabled: l = !1 }) =>
|
|
16
|
+
var v = l(), y = o(({ value: e, isErrored: t, onChange: n, explanation: r = "", intl: i, onKeyDown: a = () => {}, onBlur: o = () => {}, placeholder: s = "", disabled: l = !1 }) => p("email")?.hidden ? null : /* @__PURE__ */ (0, v.jsx)(m, {
|
|
17
17
|
fieldId: "email",
|
|
18
18
|
value: e,
|
|
19
19
|
onChange: n,
|
|
@@ -80,7 +80,7 @@ var v = l(), y = o(({ value: e, isErrored: t, onChange: n, explanation: r = "",
|
|
|
80
80
|
t.collectMoverPersonalInfo,
|
|
81
81
|
t.collectStudentPersonalInfo,
|
|
82
82
|
t.collectEmployeePersonalInfo
|
|
83
|
-
], w = ({ step: n, verificationService: o, viewModel: s, buttonText: l, failedInstantMatch:
|
|
83
|
+
], w = ({ step: n, verificationService: o, viewModel: s, buttonText: l, failedInstantMatch: p = !1 }) => {
|
|
84
84
|
let { userDidConvert: m, getTimeOnForm: y } = g({
|
|
85
85
|
segment: o.verificationResponse.segment,
|
|
86
86
|
programId: o.programId
|
|
@@ -101,7 +101,7 @@ var v = l(), y = o(({ value: e, isErrored: t, onChange: n, explanation: r = "",
|
|
|
101
101
|
e.warn("Unable to measure time on form");
|
|
102
102
|
}
|
|
103
103
|
m(h, _);
|
|
104
|
-
}, T = x[n], E = S[n], D = C.includes(n) ? "sid-submit-wrapper__collect-info" : "sid-submit-btn-collect-info", O =
|
|
104
|
+
}, T = x[n], E = S[n], D = C.includes(n) ? "sid-submit-wrapper__collect-info" : "sid-submit-btn-collect-info", O = p ? /* @__PURE__ */ (0, v.jsx)(c, {
|
|
105
105
|
id: "tryAgain",
|
|
106
106
|
defaultMessage: "Try Again"
|
|
107
107
|
}) : l, k = n === t.collectEmployeePersonalInfo ? { className: "sid-employment-submit-btn__text" } : {}, A = !u(s, o.formValidationOptions);
|
|
@@ -111,7 +111,7 @@ var v = l(), y = o(({ value: e, isErrored: t, onChange: n, explanation: r = "",
|
|
|
111
111
|
className: `${T} sid-submit`,
|
|
112
112
|
children: /* @__PURE__ */ (0, v.jsx)("button", {
|
|
113
113
|
id: D,
|
|
114
|
-
onClick: () =>
|
|
114
|
+
onClick: () => f(s, o, n, w),
|
|
115
115
|
type: "submit",
|
|
116
116
|
className: `sid-btn ${E} sid-btn--dark sid-l-full-width ${A ? "sid-btn--disabled-like" : ""}`,
|
|
117
117
|
"aria-labelledby": "verify-status-text",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PersonalInfoStepSubmitButton-Byqc8ilE.js","names":[],"sources":["../../src/components/FormFields/Email/EmailComponent.tsx","../../src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;\n onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;\n}\n\nexport const Email = ({\n value,\n isErrored,\n onChange,\n explanation = \"\",\n intl,\n onKeyDown = () => {},\n onBlur = () => {},\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & PassedProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"email\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"email\"\n value={value}\n onChange={onChange}\n type=\"email\"\n autoComplete=\"email\"\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"emailAddressPlaceholder\", defaultMessage: \"Email\" })\n }\n label={<FormattedHTMLMessage id=\"emailAddress\" defaultMessage=\"Email address\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidEmail\" defaultMessage=\"Invalid email\" />\n )\n }\n explanation={explanation}\n showPlaceholderAndHideLabel={!!placeholder}\n onKeyDown={(e) => onKeyDown(e)}\n onBlur={(e) => onBlur(e)}\n disabled={disabled}\n />\n );\n};\n\nexport const EmailComponent = injectIntl(Email);\n","import type React from \"react\";\nimport { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type VerificationService, type ViewModel } from \"../../lib/types/types\";\nimport { submitForm } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { isFormFilled } from \"../../lib/validators/validators\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport {\n type CollectStepStartEvent,\n type CollectStepSubmitEvent,\n CustomMetricNames,\n EventName,\n recordGaEvent,\n} from \"../../lib/GoogleAnalytics/ga\";\nimport {\n COLLECT_INFO_SUBMISSION_TIME,\n COLLECT_INFO_SUBMIT,\n useMetrics,\n} from \"../FeatureFlags/useMetrics\";\n\ninterface PersonalInfoStepSubmitButtonProps {\n step: CollectInfoSteps;\n verificationService: VerificationService;\n viewModel: ViewModel;\n buttonText: React.ReactNode;\n failedInstantMatch?: boolean;\n}\n\nconst wrapperClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student--submit\",\n collectSeniorPersonalInfo: \"sid-senior-submit\",\n collectTeacherPersonalInfo: \"sid-teacher-submit\",\n collectMoverPersonalInfo: \"sid-mover-submit\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit sid-military-submit\",\n collectActiveMilitaryPersonalInfo: \"sid-active-military-personal-submit sid-military-submit\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-personal-info-submit\",\n collectEmployeePersonalInfo: \"sid-employment-submit\",\n collectAgePersonalInfo: \"sid-age-personal-info-submit\",\n collectIdentifier: \"sid-identifier-submit\",\n collectPersonalInfo: \"sid-personal-info-submit\",\n};\n\nconst buttonClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student-submit-btn\",\n collectSeniorPersonalInfo: \"sid-senior-submit-btn\",\n collectTeacherPersonalInfo: \"sid-teacher-submit-btn\",\n collectMoverPersonalInfo: \"sid-mover-submit-btn\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit-btn sid-military-submit-btn\",\n collectActiveMilitaryPersonalInfo:\n \"sid-active-military-personal-submit-btn sid-military-submit-btn\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit-btn\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit-btn\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit-btn\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit-btn\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit-btn\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit-btn\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit-btn\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-submit-btn\",\n collectEmployeePersonalInfo: \"sid-employment-submit-btn\",\n collectAgePersonalInfo: \"sid-age-personal-info-btn\",\n collectIdentifier: \"sid-identifier-submit-btn\",\n collectPersonalInfo: \"sid-personal-info-submit-btn\",\n};\n\nconst usesWrapperID: CollectInfoSteps[] = [\n VerificationStepsEnum.collectMoverPersonalInfo,\n VerificationStepsEnum.collectStudentPersonalInfo,\n VerificationStepsEnum.collectEmployeePersonalInfo,\n];\n\n/**\n * A shared wrapper for all personal info collect steps.\n */\nexport const PersonalInfoStepSubmitButton: React.FC<PersonalInfoStepSubmitButtonProps> = ({\n step,\n verificationService,\n viewModel,\n buttonText,\n failedInstantMatch = false,\n}) => {\n const { userDidConvert, getTimeOnForm } = useMetrics({\n segment: verificationService.verificationResponse.segment,\n programId: verificationService.programId,\n });\n\n useEffect(() => {\n const event: CollectStepStartEvent = {\n eventName: EventName.COLLECT_STARTED,\n params: {},\n };\n\n recordGaEvent(event);\n }, []);\n\n const successCallback = () => {\n try {\n const event: CollectStepSubmitEvent = {\n eventName: EventName.COLLECT_SUBMITTED,\n params: {\n [CustomMetricNames.EVENT_DURATION]: getTimeOnForm().duration,\n },\n };\n recordGaEvent(event);\n } catch (e) {\n logger.warn(\"Unable to measure time on form\");\n }\n\n userDidConvert(COLLECT_INFO_SUBMIT, COLLECT_INFO_SUBMISSION_TIME);\n };\n\n // The majority of the class/id dancing in this component are to support the\n // existing inconsistencies in our different collect info steps when they were\n // brought together into this shared component. When we get away from css based\n // customization this can get much saner\n const wrapperCls = wrapperClassNames[step];\n const buttonCls = buttonClassNames[step];\n\n const btnId = usesWrapperID.includes(step)\n ? \"sid-submit-wrapper__collect-info\"\n : \"sid-submit-btn-collect-info\";\n\n const btnText = failedInstantMatch ? (\n <FormattedHTMLMessage id=\"tryAgain\" defaultMessage=\"Try Again\" />\n ) : (\n buttonText\n );\n\n const textSpanProps =\n step === VerificationStepsEnum.collectEmployeePersonalInfo\n ? { className: \"sid-employment-submit-btn__text\" }\n : {};\n const isDisabled = !isFormFilled(viewModel, verificationService.formValidationOptions);\n\n return (\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className={`${wrapperCls} sid-submit`}>\n <button\n id={btnId}\n onClick={() => submitForm(viewModel, verificationService, step, successCallback)}\n type=\"submit\"\n className={`sid-btn ${buttonCls} sid-btn--dark sid-l-full-width ${\n isDisabled ? \"sid-btn--disabled-like\" : \"\"\n }`}\n aria-labelledby=\"verify-status-text\"\n ref={(button) => setRef(\"submitButton\", button)}\n aria-disabled={isDisabled}\n data-testid=\"submit-button\"\n >\n <span id=\"verify-status-text\" {...textSpanProps}>\n {btnText}\n </span>\n </button>\n </div>\n </div>\n );\n};\n"],"mappings":";;;;;;;;aAyDa,IAAiB,GA3CR,EACpB,UACA,cACA,aACA,iBAAc,IACd,SACA,qBAAkB,CAAC,GACnB,kBAAe,CAAC,GAChB,iBAAc,IACd,cAAW,SAEW,EAAwB,OAAO,GAAG,SAG/C,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACD;CACG;CACV,M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EAAc;GAJZ,WAAW,EAAU;GACrB,QAAQ,CAAC;EAGG,CAAK;CACrB,GAAG,CAAC,CAAC;CAEL,IAAM,UAAwB;EAC5B,IAAI;GAOF,EAAc;IALZ,WAAW,EAAU;IACrB,QAAQ,GACL,EAAkB,iBAAiB,EAAc,EAAE,SACtD;GAEY,CAAK;EACrB,QAAY;GACV,EAAO,KAAK,gCAAgC;EAC9C;EAEA,EAAe,GAAqB,CAA4B;CAClE,GAMM,IAAa,EAAkB,IAC/B,IAAY,EAAiB,IAE7B,IAAQ,EAAc,SAAS,CAAI,IACrC,qCACA,+BAEE,IAAU,IACd,iBAAA,GAAA,EAAA,KAAC,GAAD;EAAsB,IAAG;EAAW,gBAAe;CAAa,CAAA,IAEhE,GAGI,IACJ,MAAS,EAAsB,8BAC3B,EAAE,WAAW,kCAAkC,IAC/C,CAAC,GACD,IAAa,CAAC,EAAa,GAAW,EAAoB,qBAAqB;CAErF,OACE,iBAAA,GAAA,EAAA,KAAC,OAAD;EAAK,WAAU;YACb,iBAAA,GAAA,EAAA,KAAC,OAAD;GAAK,WAAW,GAAG,EAAW;aAC5B,iBAAA,GAAA,EAAA,KAAC,UAAD;IACE,IAAI;IACJ,eAAe,EAAW,GAAW,GAAqB,GAAM,CAAe;IAC/E,MAAK;IACL,WAAW,WAAW,EAAU,kCAC9B,IAAa,2BAA2B;IAE1C,mBAAgB;IAChB,MAAM,MAAW,EAAO,gBAAgB,CAAM;IAC9C,iBAAe;IACf,eAAY;cAEZ,iBAAA,GAAA,EAAA,KAAC,QAAD;KAAM,IAAG;KAAqB,GAAI;eAC/B;IACG,CAAA;GACA,CAAA;EACL,CAAA;CACF,CAAA;AAET"}
|
|
1
|
+
{"version":3,"file":"PersonalInfoStepSubmitButton-Ywai8bYu.js","names":[],"sources":["../../src/components/FormFields/Email/EmailComponent.tsx","../../src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.tsx"],"sourcesContent":["import type React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void;\n onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;\n}\n\nexport const Email = ({\n value,\n isErrored,\n onChange,\n explanation = \"\",\n intl,\n onKeyDown = () => {},\n onBlur = () => {},\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & PassedProps) => {\n const isFieldHidden = getFieldConfigByFieldId(\"email\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"email\"\n value={value}\n onChange={onChange}\n type=\"email\"\n autoComplete=\"email\"\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({ id: \"emailAddressPlaceholder\", defaultMessage: \"Email\" })\n }\n label={<FormattedHTMLMessage id=\"emailAddress\" defaultMessage=\"Email address\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidEmail\" defaultMessage=\"Invalid email\" />\n )\n }\n explanation={explanation}\n showPlaceholderAndHideLabel={!!placeholder}\n onKeyDown={(e) => onKeyDown(e)}\n onBlur={(e) => onBlur(e)}\n disabled={disabled}\n />\n );\n};\n\nexport const EmailComponent = injectIntl(Email);\n","import type React from \"react\";\nimport { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { type VerificationService, type ViewModel } from \"../../lib/types/types\";\nimport { submitForm } from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { type CollectInfoSteps, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { isFormFilled } from \"../../lib/validators/validators\";\nimport { setRef } from \"../../lib/refs/refs\";\nimport {\n type CollectStepStartEvent,\n type CollectStepSubmitEvent,\n CustomMetricNames,\n EventName,\n recordGaEvent,\n} from \"../../lib/GoogleAnalytics/ga\";\nimport {\n COLLECT_INFO_SUBMISSION_TIME,\n COLLECT_INFO_SUBMIT,\n useMetrics,\n} from \"../FeatureFlags/useMetrics\";\n\ninterface PersonalInfoStepSubmitButtonProps {\n step: CollectInfoSteps;\n verificationService: VerificationService;\n viewModel: ViewModel;\n buttonText: React.ReactNode;\n failedInstantMatch?: boolean;\n}\n\nconst wrapperClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student--submit\",\n collectSeniorPersonalInfo: \"sid-senior-submit\",\n collectTeacherPersonalInfo: \"sid-teacher-submit\",\n collectMoverPersonalInfo: \"sid-mover-submit\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit sid-military-submit\",\n collectActiveMilitaryPersonalInfo: \"sid-active-military-personal-submit sid-military-submit\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-personal-info-submit\",\n collectEmployeePersonalInfo: \"sid-employment-submit\",\n collectAgePersonalInfo: \"sid-age-personal-info-submit\",\n collectIdentifier: \"sid-identifier-submit\",\n collectPersonalInfo: \"sid-personal-info-submit\",\n};\n\nconst buttonClassNames: Record<CollectInfoSteps, string> = {\n collectStudentPersonalInfo: \"sid-student-submit-btn\",\n collectSeniorPersonalInfo: \"sid-senior-submit-btn\",\n collectTeacherPersonalInfo: \"sid-teacher-submit-btn\",\n collectMoverPersonalInfo: \"sid-mover-submit-btn\",\n collectInactiveMilitaryPersonalInfo: \"sid-inactive-military-submit-btn sid-military-submit-btn\",\n collectActiveMilitaryPersonalInfo:\n \"sid-active-military-personal-submit-btn sid-military-submit-btn\",\n collectMilitaryStatus: \"\",\n collectMemberPersonalInfo: \"sid-member-submit-btn\",\n collectMedicalProfessionalPersonalInfo: \"sid-medical-submit-btn\",\n collectLowIncomePersonalInfo: \"sid-low-income-submit-btn\",\n collectLicensedProfessionalPersonalInfo: \"sid-licensed-professional-submit-btn\",\n collectHybridIdentityPersonalInfo: \"sid-hybrid-identity-submit-btn\",\n collectGeneralIdentityPersonalInfo: \"sid-general-identity-submit-btn\",\n collectDriverLicensePersonalInfo: \"sid-drivers-license-submit-btn\",\n collectFirstResponderPersonalInfo: \"sid-first-responder-submit-btn\",\n collectEmployeePersonalInfo: \"sid-employment-submit-btn\",\n collectAgePersonalInfo: \"sid-age-personal-info-btn\",\n collectIdentifier: \"sid-identifier-submit-btn\",\n collectPersonalInfo: \"sid-personal-info-submit-btn\",\n};\n\nconst usesWrapperID: CollectInfoSteps[] = [\n VerificationStepsEnum.collectMoverPersonalInfo,\n VerificationStepsEnum.collectStudentPersonalInfo,\n VerificationStepsEnum.collectEmployeePersonalInfo,\n];\n\n/**\n * A shared wrapper for all personal info collect steps.\n */\nexport const PersonalInfoStepSubmitButton: React.FC<PersonalInfoStepSubmitButtonProps> = ({\n step,\n verificationService,\n viewModel,\n buttonText,\n failedInstantMatch = false,\n}) => {\n const { userDidConvert, getTimeOnForm } = useMetrics({\n segment: verificationService.verificationResponse.segment,\n programId: verificationService.programId,\n });\n\n useEffect(() => {\n const event: CollectStepStartEvent = {\n eventName: EventName.COLLECT_STARTED,\n params: {},\n };\n\n recordGaEvent(event);\n }, []);\n\n const successCallback = () => {\n try {\n const event: CollectStepSubmitEvent = {\n eventName: EventName.COLLECT_SUBMITTED,\n params: {\n [CustomMetricNames.EVENT_DURATION]: getTimeOnForm().duration,\n },\n };\n recordGaEvent(event);\n } catch (e) {\n logger.warn(\"Unable to measure time on form\");\n }\n\n userDidConvert(COLLECT_INFO_SUBMIT, COLLECT_INFO_SUBMISSION_TIME);\n };\n\n // The majority of the class/id dancing in this component are to support the\n // existing inconsistencies in our different collect info steps when they were\n // brought together into this shared component. When we get away from css based\n // customization this can get much saner\n const wrapperCls = wrapperClassNames[step];\n const buttonCls = buttonClassNames[step];\n\n const btnId = usesWrapperID.includes(step)\n ? \"sid-submit-wrapper__collect-info\"\n : \"sid-submit-btn-collect-info\";\n\n const btnText = failedInstantMatch ? (\n <FormattedHTMLMessage id=\"tryAgain\" defaultMessage=\"Try Again\" />\n ) : (\n buttonText\n );\n\n const textSpanProps =\n step === VerificationStepsEnum.collectEmployeePersonalInfo\n ? { className: \"sid-employment-submit-btn__text\" }\n : {};\n const isDisabled = !isFormFilled(viewModel, verificationService.formValidationOptions);\n\n return (\n <div className=\"sid-form-region sid-submit-wrapper sid-l-space-top-md\">\n <div className={`${wrapperCls} sid-submit`}>\n <button\n id={btnId}\n onClick={() => submitForm(viewModel, verificationService, step, successCallback)}\n type=\"submit\"\n className={`sid-btn ${buttonCls} sid-btn--dark sid-l-full-width ${\n isDisabled ? \"sid-btn--disabled-like\" : \"\"\n }`}\n aria-labelledby=\"verify-status-text\"\n ref={(button) => setRef(\"submitButton\", button)}\n aria-disabled={isDisabled}\n data-testid=\"submit-button\"\n >\n <span id=\"verify-status-text\" {...textSpanProps}>\n {btnText}\n </span>\n </button>\n </div>\n </div>\n );\n};\n"],"mappings":";;;;;;;;aAyDa,IAAiB,GA3CR,EACpB,UACA,cACA,aACA,iBAAc,IACd,SACA,qBAAkB,CAAC,GACnB,kBAAe,CAAC,GAChB,iBAAc,IACd,cAAW,SAEW,EAAwB,OAAO,GAAG,SAG/C,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;CACE,SAAQ;CACD;CACG;CACV,MAAK;CACL,cAAa;CACb,aACE,KACA,EAAK,kBAAkB;EAAE,IAAI;EAA2B,gBAAgB;CAA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T+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 723cd7cf079ebfd281e0288836276bf33ce7607f
|
|
7
7
|
*/
|
|
8
8
|
import { Bt as e, d as t, g as n } from "./options-D19mRw5a.js";
|
|
9
9
|
import { t as r } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
-
import { t as i } from "./FormFooterComponent-
|
|
10
|
+
import { t as i } from "./FormFooterComponent-CXzDxR2J.js";
|
|
11
11
|
import { t as a } from "./strings-DWLVdUcm.js";
|
|
12
12
|
import { t as o } from "../sheerid.js";
|
|
13
13
|
//#region src/components/PersonalInfoStepWrapper/PersonalInfoStepWrapper.tsx
|