@sheerid/jslib-nightly 2.258.0-alpha.2 → 2.258.0-alpha.3
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 +1423 -1524
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/AddressComponent-DMwOmjiG.js +3 -3
- package/chunk/{AddressComponent-CJV3vrMt.js → AddressComponent-DluNaOpg.js} +5 -5
- package/chunk/{AddressComponent-CJV3vrMt.js.map → AddressComponent-DluNaOpg.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BF69hVVm.js → AnnouncingHeader-BZreAj2L.js} +5 -5
- package/chunk/{AnnouncingHeader-BF69hVVm.js.map → AnnouncingHeader-BZreAj2L.js.map} +1 -1
- package/chunk/AnnouncingHeader-DjgtqEeX.js +3 -3
- package/chunk/{ApiUrls-BjhuhV-u.js → ApiUrls-D-825yEj.js} +4 -4
- package/chunk/{ApiUrls-BjhuhV-u.js.map → ApiUrls-D-825yEj.js.map} +1 -1
- package/chunk/{ApiUrls-Br8Vslon.js → ApiUrls-aJgNbpjJ.js} +12 -12
- package/chunk/{ApiUrls-Br8Vslon.js.map → ApiUrls-aJgNbpjJ.js.map} +1 -1
- package/chunk/{BirthDateComponent-BNxj7HVi.js → BirthDateComponent-BqZned-E.js} +4 -4
- package/chunk/{BirthDateComponent-BNxj7HVi.js.map → BirthDateComponent-BqZned-E.js.map} +1 -1
- package/chunk/{BirthDateComponent-DJ0lhMz0.js → BirthDateComponent-C787gXja.js} +6 -6
- package/chunk/{BirthDateComponent-DJ0lhMz0.js.map → BirthDateComponent-C787gXja.js.map} +1 -1
- package/chunk/{CaptchaComponent-3CkADj7Y.js → CaptchaComponent-Cs2wOhj5.js} +93 -93
- package/chunk/{CaptchaComponent-3CkADj7Y.js.map → CaptchaComponent-Cs2wOhj5.js.map} +1 -1
- package/chunk/{CaptchaComponent-Dj1XrWkM.js → CaptchaComponent-WnBWWmBW.js} +5 -5
- package/chunk/{CaptchaComponent-Dj1XrWkM.js.map → CaptchaComponent-WnBWWmBW.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CuzJdznM.js → ChangeLocaleComponent-D1iUYYBG.js} +6 -6
- package/chunk/{ChangeLocaleComponent-CuzJdznM.js.map → ChangeLocaleComponent-D1iUYYBG.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-D1rmQo2-.js → ChangeLocaleComponent-DOa9NZyI.js} +4 -4
- package/chunk/{ChangeLocaleComponent-D1rmQo2-.js.map → ChangeLocaleComponent-DOa9NZyI.js.map} +1 -1
- package/chunk/{City-DlWin4GX.js → City-BP95fpVf.js} +5 -5
- package/chunk/{City-DlWin4GX.js.map → City-BP95fpVf.js.map} +1 -1
- package/chunk/City-CmO85Z9x.js +3 -3
- package/chunk/{CollegeNameComponent-xQgFrK2K.js → CollegeNameComponent-CTgm9HoV.js} +7 -7
- package/chunk/{CollegeNameComponent-x7_ep0bP.js.map → CollegeNameComponent-CTgm9HoV.js.map} +1 -1
- package/chunk/{CollegeNameComponent-x7_ep0bP.js → CollegeNameComponent-Cd_gOpDt.js} +4 -4
- package/chunk/{CollegeNameComponent-xQgFrK2K.js.map → CollegeNameComponent-Cd_gOpDt.js.map} +1 -1
- package/chunk/CopyToClipboardComponent-1BeB_oX_.js +3 -3
- package/chunk/{CopyToClipboardComponent-C1BnmvlK.js → CopyToClipboardComponent-6MY3v7_-.js} +8 -8
- package/chunk/{CopyToClipboardComponent-C1BnmvlK.js.map → CopyToClipboardComponent-6MY3v7_-.js.map} +1 -1
- package/chunk/CountryComponentWrapper-BV78vTBy.js +78 -0
- package/chunk/{CountryComponentWrapper-CHsLroJa.js.map → CountryComponentWrapper-BV78vTBy.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-DSWE6u6x.js → CountryComponentWrapper-bzcjcPxz.js} +4 -4
- package/chunk/{CountryComponentWrapper-DSWE6u6x.js.map → CountryComponentWrapper-bzcjcPxz.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DM1bcMxW.js → DischargeDateComponent-Dhp63XO4.js} +13 -13
- package/chunk/{DischargeDateComponent-DM1bcMxW.js.map → DischargeDateComponent-Dhp63XO4.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DCTFDEO0.js → DischargeDateComponent-bYahQG3V.js} +6 -6
- package/chunk/{DischargeDateComponent-DCTFDEO0.js.map → DischargeDateComponent-bYahQG3V.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-D8q18o2M.js → DriverLicenseNumberComponent-CQeKZs0G.js} +5 -5
- package/chunk/{DriverLicenseNumberComponent-D8q18o2M.js.map → DriverLicenseNumberComponent-CQeKZs0G.js.map} +1 -1
- package/chunk/DriverLicenseNumberComponent-DgXMM-Pt.js +3 -3
- package/chunk/{EmailLoopPending-lv7oBmbw.js → EmailLoopPending-DpsmbvMr.js} +4 -4
- package/chunk/{EmailLoopPending-lv7oBmbw.js.map → EmailLoopPending-DpsmbvMr.js.map} +1 -1
- package/chunk/{EmailLoopPending-CfIA0oJ-.js → EmailLoopPending-OaRdirPJ.js} +17 -17
- package/chunk/{EmailLoopPending-CfIA0oJ-.js.map → EmailLoopPending-OaRdirPJ.js.map} +1 -1
- package/chunk/{ExtraMessage-DOEcewIZ.js → ExtraMessage-C8bkhYx2.js} +6 -6
- package/chunk/{ExtraMessage-CwPDe_DW.js.map → ExtraMessage-C8bkhYx2.js.map} +1 -1
- package/chunk/{ExtraMessage-CwPDe_DW.js → ExtraMessage-MKBXSbM_.js} +4 -4
- package/chunk/{ExtraMessage-DOEcewIZ.js.map → ExtraMessage-MKBXSbM_.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DNyzoV7G.js → FirstResponderOrganizationComponent-D2itQahP.js} +6 -6
- package/chunk/{FirstResponderOrganizationComponent-DNyzoV7G.js.map → FirstResponderOrganizationComponent-D2itQahP.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-DmLH7cEa.js → FirstResponderOrganizationComponent-DUiRbusi.js} +4 -4
- package/chunk/{FirstResponderOrganizationComponent-DmLH7cEa.js.map → FirstResponderOrganizationComponent-DUiRbusi.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-7aYo31R5.js → FormFieldInputSelect-B9u-1CeU.js} +6 -6
- package/chunk/{FormFieldInputSelect-7aYo31R5.js.map → FormFieldInputSelect-B9u-1CeU.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-g9GagJpQ.js → FormFieldInputSelect-Dkf3rE9E.js} +4 -4
- package/chunk/{FormFieldInputSelect-g9GagJpQ.js.map → FormFieldInputSelect-Dkf3rE9E.js.map} +1 -1
- package/chunk/{FormFieldLayout-BpmeMD4X.js → FormFieldLayout-CUA-PItd.js} +5 -5
- package/chunk/{FormFieldLayout-BpmeMD4X.js.map → FormFieldLayout-CUA-PItd.js.map} +1 -1
- package/chunk/FormFieldLayout-DIcCOsGu.js +3 -3
- package/chunk/{FormFieldText-zuTjfmLt.js → FormFieldText-BeEhq8Kc.js} +6 -6
- package/chunk/{FormFieldText-zuTjfmLt.js.map → FormFieldText-BeEhq8Kc.js.map} +1 -1
- package/chunk/FormFieldText-zjWk7Cyc.js +3 -3
- package/chunk/{FormFieldTypeahead-BblauBOC.js → FormFieldTypeahead-BjSdh81I.js} +79 -79
- package/chunk/FormFieldTypeahead-BjSdh81I.js.map +1 -0
- package/chunk/{FormFieldTypeahead-bR9_vlWX.js → FormFieldTypeahead-CkHcG0fF.js} +9 -9
- package/chunk/FormFieldTypeahead-CkHcG0fF.js.map +1 -0
- package/chunk/{FormFooterComponent-DdYBy4hI.js → FormFooterComponent-CbppOmMP.js} +1225 -1343
- package/chunk/FormFooterComponent-CbppOmMP.js.map +1 -0
- package/chunk/{FormFooterComponent-QZUjL2NN.js → FormFooterComponent-QN5kZ4hU.js} +277 -383
- package/chunk/FormFooterComponent-QN5kZ4hU.js.map +1 -0
- package/chunk/{FormSelectChoice-DMJegqqj.js → FormSelectChoice-B0V4ga-y.js} +4 -4
- package/chunk/{FormSelectChoice-CqCNOEHe.js.map → FormSelectChoice-B0V4ga-y.js.map} +1 -1
- package/chunk/{FormSelectChoice-CqCNOEHe.js → FormSelectChoice-BJ3IWwoF.js} +16 -16
- package/chunk/{FormSelectChoice-DMJegqqj.js.map → FormSelectChoice-BJ3IWwoF.js.map} +1 -1
- package/chunk/InputText-Bzkl8mKj.js +3 -3
- package/chunk/{InputText-DA8wfbQM.js → InputText-CkDvaW9P.js} +6 -6
- package/chunk/{InputText-DA8wfbQM.js.map → InputText-CkDvaW9P.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BdsboIHn.js → LicensedProfessionalOrganizationComponent-BuaJAhns.js} +4 -4
- package/chunk/{LicensedProfessionalOrganizationComponent-BdsboIHn.js.map → LicensedProfessionalOrganizationComponent-BuaJAhns.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Bm1EuiZe.js → LicensedProfessionalOrganizationComponent-guc4J-8q.js} +6 -6
- package/chunk/{LicensedProfessionalOrganizationComponent-Bm1EuiZe.js.map → LicensedProfessionalOrganizationComponent-guc4J-8q.js.map} +1 -1
- package/chunk/LogoComponent-BMeuu-aK.js +3 -3
- package/chunk/{LogoComponent-BxIXOXCM.js → LogoComponent-CFPoRk_q.js} +5 -5
- package/chunk/{LogoComponent-BxIXOXCM.js.map → LogoComponent-CFPoRk_q.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-JIBMRBVu.js → LowIncomeOrganizationComponent-B29RCDio.js} +15 -15
- package/chunk/{LowIncomeOrganizationComponent-DV4xhsxA.js.map → LowIncomeOrganizationComponent-B29RCDio.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-DV4xhsxA.js → LowIncomeOrganizationComponent-D5Z2U9Jg.js} +6 -6
- package/chunk/{LowIncomeOrganizationComponent-JIBMRBVu.js.map → LowIncomeOrganizationComponent-D5Z2U9Jg.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-Bu7uAv6y.js → MedicalProfessionalOrganizationComponent-BbWBfH4X.js} +4 -4
- package/chunk/{MedicalProfessionalOrganizationComponent-Bu7uAv6y.js.map → MedicalProfessionalOrganizationComponent-BbWBfH4X.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DtRRbuPO.js → MedicalProfessionalOrganizationComponent-D3gPq7_e.js} +6 -6
- package/chunk/{MedicalProfessionalOrganizationComponent-DtRRbuPO.js.map → MedicalProfessionalOrganizationComponent-D3gPq7_e.js.map} +1 -1
- package/chunk/{MemberIdComponent-DMGaNM9l.js → MemberIdComponent-D_KVob09.js} +5 -5
- package/chunk/{MemberIdComponent-DMGaNM9l.js.map → MemberIdComponent-D_KVob09.js.map} +1 -1
- package/chunk/MemberIdComponent-Dva2Xx7J.js +3 -3
- package/chunk/{MembershipOrganizationComponent-0dDQxNdP.js → MembershipOrganizationComponent-B8DVGQzN.js} +4 -4
- package/chunk/{MembershipOrganizationComponent-0dDQxNdP.js.map → MembershipOrganizationComponent-B8DVGQzN.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BURHKl64.js → MembershipOrganizationComponent-NFWPqmc5.js} +6 -6
- package/chunk/{MembershipOrganizationComponent-BURHKl64.js.map → MembershipOrganizationComponent-NFWPqmc5.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +3 -3
- package/chunk/{PersonalInfoStepSubmitButton-D3lzSm2E.js → PersonalInfoStepSubmitButton-CdweyyxM.js} +20 -20
- package/chunk/{PersonalInfoStepSubmitButton-D3lzSm2E.js.map → PersonalInfoStepSubmitButton-CdweyyxM.js.map} +1 -1
- package/chunk/PersonalInfoStepSubmitButton-Ywai8bYu.js +3 -3
- package/chunk/{PersonalInfoStepWrapper-jdzoT2oQ.js → PersonalInfoStepWrapper-BgWJSycH.js} +4 -4
- package/chunk/{PersonalInfoStepWrapper-jdzoT2oQ.js.map → PersonalInfoStepWrapper-BgWJSycH.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-CGH-h9Jf.js → PersonalInfoStepWrapper-DC_FCdYS.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-CGH-h9Jf.js.map → PersonalInfoStepWrapper-DC_FCdYS.js.map} +1 -1
- package/chunk/PostalCodeComponent-C97fgZFI.js +3 -3
- package/chunk/{PostalCodeComponent-BGzBByZd.js → PostalCodeComponent-YFm2z5qa.js} +5 -5
- package/chunk/{PostalCodeComponent-BGzBByZd.js.map → PostalCodeComponent-YFm2z5qa.js.map} +1 -1
- package/chunk/{SSN-CNzKgddw.js → SSN-CtVtLOD7.js} +6 -6
- package/chunk/{SSN-CNzKgddw.js.map → SSN-CtVtLOD7.js.map} +1 -1
- package/chunk/SSN-mk_cMbDH.js +3 -3
- package/chunk/{StateSelectComponent-Dt7KMYlB.js → StateSelectComponent-2QRd98vp.js} +5 -5
- package/chunk/{StateSelectComponent-C4bCRzw5.js.map → StateSelectComponent-2QRd98vp.js.map} +1 -1
- package/chunk/{StateSelectComponent-C4bCRzw5.js → StateSelectComponent-Dyghw0EV.js} +4 -4
- package/chunk/{StateSelectComponent-Dt7KMYlB.js.map → StateSelectComponent-Dyghw0EV.js.map} +1 -1
- package/chunk/{StatusComponent-DNYk1Jwe.js → StatusComponent-CA-P_mFH.js} +4 -4
- package/chunk/{StatusComponent-DNYk1Jwe.js.map → StatusComponent-CA-P_mFH.js.map} +1 -1
- package/chunk/{StatusComponent-DnmUFkly.js → StatusComponent-D05R_Lpo.js} +6 -6
- package/chunk/{StatusComponent-DnmUFkly.js.map → StatusComponent-D05R_Lpo.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BjomAUg2.js → StepActiveMilitaryPersonalInfoComponent-8ThEBNF0.js} +23 -23
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-BjomAUg2.js.map → StepActiveMilitaryPersonalInfoComponent-8ThEBNF0.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-hM8dAepU.js → StepActiveMilitaryPersonalInfoComponent-DvQndd5k.js} +12 -12
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-hM8dAepU.js.map → StepActiveMilitaryPersonalInfoComponent-DvQndd5k.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BqtUw-Nv.js → StepAgePersonalInfo-70S216_Z.js} +11 -11
- package/chunk/{StepAgePersonalInfo-BqtUw-Nv.js.map → StepAgePersonalInfo-70S216_Z.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CdST_Dmi.js → StepAgePersonalInfo-D7dzQYtc.js} +56 -56
- package/chunk/{StepAgePersonalInfo-CdST_Dmi.js.map → StepAgePersonalInfo-D7dzQYtc.js.map} +1 -1
- package/chunk/StepCard-7t2vkHqM.js +3 -3
- package/chunk/{StepCard-BtvCt-ND.js → StepCard-BF_RD7Rd.js} +4 -4
- package/chunk/{StepCard-BtvCt-ND.js.map → StepCard-BF_RD7Rd.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CedPx9ND.js → StepCollectIdentifier-CT4IWLCw.js} +4 -4
- package/chunk/{StepCollectIdentifier-CedPx9ND.js.map → StepCollectIdentifier-CT4IWLCw.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-mCEUNf8R.js → StepCollectIdentifier-ICI-KNfa.js} +7 -7
- package/chunk/{StepCollectIdentifier-mCEUNf8R.js.map → StepCollectIdentifier-ICI-KNfa.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent--YmKy9i3.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-CsrWN1Fp.js → StepCollectMilitaryStatusComponent-BmpNHdrV.js} +4 -4
- package/chunk/{StepCollectPersonalInfo-BleSjjbJ.js → StepCollectPersonalInfo-BfwOSCSV.js} +106 -106
- package/chunk/{StepCollectPersonalInfo-BleSjjbJ.js.map → StepCollectPersonalInfo-BfwOSCSV.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-XfmHEIhX.js → StepCollectPersonalInfo-CH-SF0HY.js} +19 -19
- package/chunk/{StepCollectPersonalInfo-XfmHEIhX.js.map → StepCollectPersonalInfo-CH-SF0HY.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-Cs4zhI-D.js +3 -3
- package/chunk/{StepCompleteAuthentication-C2HoMZzF.js → StepCompleteAuthentication-q5i7ecb3.js} +18 -18
- package/chunk/{StepCompleteAuthentication-C2HoMZzF.js.map → StepCompleteAuthentication-q5i7ecb3.js.map} +1 -1
- package/chunk/{StepConsolation-BlC3FCxR.js → StepConsolation-CJTxZS4c.js} +8 -8
- package/chunk/{StepConsolation-CP7Ty_3Z.js.map → StepConsolation-CJTxZS4c.js.map} +1 -1
- package/chunk/{StepConsolation-CP7Ty_3Z.js → StepConsolation-DC9hLoIz.js} +4 -4
- package/chunk/{StepConsolation-BlC3FCxR.js.map → StepConsolation-DC9hLoIz.js.map} +1 -1
- package/chunk/{StepDocUpload-DkWwguQ-.js → StepDocUpload-BfvzN2vx.js} +4 -4
- package/chunk/{StepDocUpload-DkWwguQ-.js.map → StepDocUpload-BfvzN2vx.js.map} +1 -1
- package/chunk/{StepDocUpload-CAUGwHSg.js → StepDocUpload-CVQuOWJO.js} +206 -206
- package/chunk/{StepDocUpload-CAUGwHSg.js.map → StepDocUpload-CVQuOWJO.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-B2SMQtFn.js → StepDriverLicensePersonalInfoComponent-B3-W6vPk.js} +9 -9
- package/chunk/{StepDriverLicensePersonalInfoComponent-tLFYrsZm.js.map → StepDriverLicensePersonalInfoComponent-B3-W6vPk.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-tLFYrsZm.js → StepDriverLicensePersonalInfoComponent-B38Avvcd.js} +14 -14
- package/chunk/{StepDriverLicensePersonalInfoComponent-B2SMQtFn.js.map → StepDriverLicensePersonalInfoComponent-B38Avvcd.js.map} +1 -1
- package/chunk/{StepEmailLoop-D4zZZn8J.js → StepEmailLoop-Buz33mMQ.js} +5 -5
- package/chunk/{StepEmailLoop-D4zZZn8J.js.map → StepEmailLoop-Buz33mMQ.js.map} +1 -1
- package/chunk/{StepEmailLoop-FausTzfT.js → StepEmailLoop-DACxlJBV.js} +13 -13
- package/chunk/{StepEmailLoop-FausTzfT.js.map → StepEmailLoop-DACxlJBV.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-oGRFGWG3.js → StepEmploymentPersonalInfo-B9sA1iOS.js} +10 -10
- package/chunk/{StepEmploymentPersonalInfo-BWnfMrEI.js.map → StepEmploymentPersonalInfo-B9sA1iOS.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BWnfMrEI.js → StepEmploymentPersonalInfo-MLslqLd4.js} +17 -17
- package/chunk/{StepEmploymentPersonalInfo-oGRFGWG3.js.map → StepEmploymentPersonalInfo-MLslqLd4.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BBIjWUh9.js → StepFirstResponderPersonalInfo-Bo-Ksi2D.js} +12 -12
- package/chunk/{StepFirstResponderPersonalInfo-BBIjWUh9.js.map → StepFirstResponderPersonalInfo-Bo-Ksi2D.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-CntfAPiK.js → StepFirstResponderPersonalInfo-BsZSfBSh.js} +19 -19
- package/chunk/{StepFirstResponderPersonalInfo-CntfAPiK.js.map → StepFirstResponderPersonalInfo-BsZSfBSh.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D53k6Woe.js → StepGeneralIdentityPersonalInfoComponent-BifHA2mt.js} +10 -10
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ccjf20DV.js.map → StepGeneralIdentityPersonalInfoComponent-BifHA2mt.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-Ccjf20DV.js → StepGeneralIdentityPersonalInfoComponent-DiX4v8KA.js} +17 -17
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D53k6Woe.js.map → StepGeneralIdentityPersonalInfoComponent-DiX4v8KA.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CRlkXJEC.js → StepHybridIdentityPersonalInfoComponent-CdW7WnyT.js} +10 -10
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BI6nJsLA.js.map → StepHybridIdentityPersonalInfoComponent-CdW7WnyT.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-BI6nJsLA.js → StepHybridIdentityPersonalInfoComponent-DVyNVGmg.js} +18 -18
- package/chunk/{StepHybridIdentityPersonalInfoComponent-CRlkXJEC.js.map → StepHybridIdentityPersonalInfoComponent-DVyNVGmg.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-D-d08feu.js → StepIDCheckLoop-C0u3toCU.js} +7 -7
- package/chunk/{StepIDCheckLoop-CFfZ9eP_.js.map → StepIDCheckLoop-C0u3toCU.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CFfZ9eP_.js → StepIDCheckLoop-ChuwpneN.js} +4 -4
- package/chunk/{StepIDCheckLoop-D-d08feu.js.map → StepIDCheckLoop-ChuwpneN.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BkjksFOf.js → StepIDCheckLoopOnfido-D_TuhsWr.js} +6 -6
- package/chunk/{StepIDCheckLoopOnfido-BkjksFOf.js.map → StepIDCheckLoopOnfido-D_TuhsWr.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Bf0C3aeV.js → StepIDCheckLoopOnfido-Xz9jd0i2.js} +39 -39
- package/chunk/{StepIDCheckLoopOnfido-Bf0C3aeV.js.map → StepIDCheckLoopOnfido-Xz9jd0i2.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-D57Xo4OF.js → StepIDCheckLoopRegula-WD_vXRI_.js} +4 -4
- package/chunk/{StepIDCheckLoopRegula-BJXRrYWz.js.map → StepIDCheckLoopRegula-WD_vXRI_.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BJXRrYWz.js → StepIDCheckLoopRegula-WaU4xBQP.js} +15 -15
- package/chunk/{StepIDCheckLoopRegula-D57Xo4OF.js.map → StepIDCheckLoopRegula-WaU4xBQP.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-kReQFO-c.js → StepInactiveMilitaryPersonalInfoComponent-1D5iMZSJ.js} +14 -14
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BlqS85GS.js.map → StepInactiveMilitaryPersonalInfoComponent-1D5iMZSJ.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-BlqS85GS.js → StepInactiveMilitaryPersonalInfoComponent-CJF9sE0N.js} +34 -34
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-kReQFO-c.js.map → StepInactiveMilitaryPersonalInfoComponent-CJF9sE0N.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-DzzDNAit.js → StepLicensedProfessionalPersonalInfo-CgIdnlmk.js} +12 -12
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cjh5Fxbc.js.map → StepLicensedProfessionalPersonalInfo-CgIdnlmk.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cjh5Fxbc.js → StepLicensedProfessionalPersonalInfo-OrWHof63.js} +16 -16
- package/chunk/{StepLicensedProfessionalPersonalInfo-DzzDNAit.js.map → StepLicensedProfessionalPersonalInfo-OrWHof63.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CRGvFqIN.js → StepLowIncomePersonalInfo-B47fi2y2.js} +12 -12
- package/chunk/{StepLowIncomePersonalInfo-BYJ5d1tK.js.map → StepLowIncomePersonalInfo-B47fi2y2.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-BYJ5d1tK.js → StepLowIncomePersonalInfo-BL8fX2SZ.js} +25 -25
- package/chunk/{StepLowIncomePersonalInfo-CRGvFqIN.js.map → StepLowIncomePersonalInfo-BL8fX2SZ.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-Ql3EDfEE.js → StepMedicalProfessionalPersonalInfo-PfAVnLpu.js} +13 -13
- package/chunk/{StepMedicalProfessionalPersonalInfo-D_GPvIBq.js.map → StepMedicalProfessionalPersonalInfo-PfAVnLpu.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D_GPvIBq.js → StepMedicalProfessionalPersonalInfo-pSBxypv4.js} +24 -24
- package/chunk/{StepMedicalProfessionalPersonalInfo-Ql3EDfEE.js.map → StepMedicalProfessionalPersonalInfo-pSBxypv4.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-BaPGBsQ0.js → StepMemberPersonalInfo-CcDuf_LZ.js} +11 -11
- package/chunk/{StepMemberPersonalInfo-BaPGBsQ0.js.map → StepMemberPersonalInfo-CcDuf_LZ.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-D6yWywSK.js → StepMemberPersonalInfo-DjF8htn5.js} +56 -56
- package/chunk/{StepMemberPersonalInfo-D6yWywSK.js.map → StepMemberPersonalInfo-DjF8htn5.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DJDvFEXY.js → StepMoverPersonalInfo-C6Qhyk62.js} +47 -47
- package/chunk/{StepMoverPersonalInfo-DJDvFEXY.js.map → StepMoverPersonalInfo-C6Qhyk62.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-GrXVpjHj.js → StepMoverPersonalInfo-Cg9SlaxL.js} +8 -8
- package/chunk/{StepMoverPersonalInfo-GrXVpjHj.js.map → StepMoverPersonalInfo-Cg9SlaxL.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DM7_NsVu.js → StepOverrideComponent-BT3m-hB9.js} +15 -15
- package/chunk/{StepOverrideComponent-DM7_NsVu.js.map → StepOverrideComponent-BT3m-hB9.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DrRBc0Vr.js → StepOverrideComponent-DWLtrNiP.js} +4 -4
- package/chunk/{StepOverrideComponent-DrRBc0Vr.js.map → StepOverrideComponent-DWLtrNiP.js.map} +1 -1
- package/chunk/{StepSMSLoop-CuLSFRil.js → StepSMSLoop-4ITuy_ww.js} +4 -4
- package/chunk/{StepSMSLoop-CuLSFRil.js.map → StepSMSLoop-4ITuy_ww.js.map} +1 -1
- package/chunk/{StepSMSLoop-mGoGBOK0.js → StepSMSLoop-AcEj31iz.js} +18 -18
- package/chunk/{StepSMSLoop-mGoGBOK0.js.map → StepSMSLoop-AcEj31iz.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +3 -3
- package/chunk/StepSSO-BaFk7RFJ.js +3 -3
- package/chunk/{StepSocialSecurityNumber-Ccvhxlo8.js → StepSocialSecurityNumber-BGsylXEh.js} +25 -25
- package/chunk/{StepSocialSecurityNumber-Ccvhxlo8.js.map → StepSocialSecurityNumber-BGsylXEh.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-CDGcyqvg.js → StepSocialSecurityNumber-CYzq93oK.js} +5 -5
- package/chunk/{StepSocialSecurityNumber-CDGcyqvg.js.map → StepSocialSecurityNumber-CYzq93oK.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BiKIDVhk.js → StepStudentPersonalInfo-7T1fonlN.js} +58 -58
- package/chunk/{StepStudentPersonalInfo-BiKIDVhk.js.map → StepStudentPersonalInfo-7T1fonlN.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-e1z1hWCH.js → StepStudentPersonalInfo-Dcih7Qze.js} +11 -11
- package/chunk/{StepStudentPersonalInfo-e1z1hWCH.js.map → StepStudentPersonalInfo-Dcih7Qze.js.map} +1 -1
- package/chunk/{StepSuccess-T6-OhHHn.js → StepSuccess-B8mKkiSn.js} +4 -4
- package/chunk/StepSuccess-B8mKkiSn.js.map +1 -0
- package/chunk/{StepSuccess-BocTx0BL.js → StepSuccess-KHgnlbqc.js} +25 -25
- package/chunk/StepSuccess-KHgnlbqc.js.map +1 -0
- package/chunk/StepTeacherPersonalInfo-B0oy6FPu.js +153 -0
- package/chunk/{StepTeacherPersonalInfo-SArNeiJd.js.map → StepTeacherPersonalInfo-B0oy6FPu.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-e1HTq7uH.js → StepTeacherPersonalInfo-C_jGXdnq.js} +12 -12
- package/chunk/{StepTeacherPersonalInfo-e1HTq7uH.js.map → StepTeacherPersonalInfo-C_jGXdnq.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BGHCbduX.js +3 -3
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +3 -3
- package/chunk/{TeacherSchoolComponent-C8gC3I9P.js → TeacherSchoolComponent-CLnLmUU-.js} +7 -7
- package/chunk/{TeacherSchoolComponent-BRp8x8NS.js.map → TeacherSchoolComponent-CLnLmUU-.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-BRp8x8NS.js → TeacherSchoolComponent-Ceve3sQi.js} +4 -4
- package/chunk/{TeacherSchoolComponent-C8gC3I9P.js.map → TeacherSchoolComponent-Ceve3sQi.js.map} +1 -1
- package/chunk/TestingRouteOverrides-B-zcTBa_.js +3 -3
- package/chunk/TestingRouteOverrides-DCR0qXVH.js +81 -0
- package/chunk/{TestingRouteOverrides-BDCygTLC.js.map → TestingRouteOverrides-DCR0qXVH.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +3 -3
- package/chunk/{VerificationApiClient-Ba7s5IGi.js → VerificationApiClient-B74cwlAH.js} +4 -4
- package/chunk/{VerificationApiClient-Ba7s5IGi.js.map → VerificationApiClient-B74cwlAH.js.map} +1 -1
- package/chunk/{VerificationApiClient-B40BtVcX.js → VerificationApiClient-o29UFrLq.js} +140 -140
- package/chunk/{VerificationApiClient-B40BtVcX.js.map → VerificationApiClient-o29UFrLq.js.map} +1 -1
- package/chunk/{VerificationApiUtils-DsurExmN.js → VerificationApiUtils-2uVrxfLJ.js} +5 -5
- package/chunk/{VerificationApiUtils-Dmxo4F16.js.map → VerificationApiUtils-2uVrxfLJ.js.map} +1 -1
- package/chunk/{VerificationApiUtils-Dmxo4F16.js → VerificationApiUtils-Ccd1usA7.js} +6 -6
- package/chunk/{VerificationApiUtils-DsurExmN.js.map → VerificationApiUtils-Ccd1usA7.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-D2UBy7Uo.js → countryUtils-BAFwHnuu.js} +4 -4
- package/chunk/{countryUtils-D2UBy7Uo.js.map → countryUtils-BAFwHnuu.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-C-gdTM26.js → downshift.esm-Bq9WfE1w.js} +121 -121
- package/chunk/{downshift.esm-C-gdTM26.js.map → downshift.esm-Bq9WfE1w.js.map} +1 -1
- package/chunk/{downshift.esm-CxrmBk-8.js → downshift.esm-DnvoFfPd.js} +4 -4
- package/chunk/{downshift.esm-CxrmBk-8.js.map → downshift.esm-DnvoFfPd.js.map} +1 -1
- package/chunk/el-CFa6y9Ri.js +3 -3
- package/chunk/empties-BIoZK05_.js +3 -3
- package/chunk/{empties-DHvaWflk.js → empties-Ck9OJXHG.js} +4 -4
- package/chunk/{empties-DHvaWflk.js.map → empties-Ck9OJXHG.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-Yr2cw5px.js → intl-aUfdCP8t.js} +4 -4
- package/chunk/{intl-Yr2cw5px.js.map → intl-aUfdCP8t.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-D_-z-h6n.js → jsx-runtime-XNwIsY_N.js} +17 -17
- package/chunk/{jsx-runtime-D_-z-h6n.js.map → jsx-runtime-XNwIsY_N.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-UF-7lF1f.js +3 -3
- package/chunk/{militaryStepHelpers-DSh6iat_.js → militaryStepHelpers-qMYyQgVn.js} +4 -4
- package/chunk/{militaryStepHelpers-DSh6iat_.js.map → militaryStepHelpers-qMYyQgVn.js.map} +1 -1
- package/chunk/mocks-1r84in2Q.js +3 -3
- package/chunk/{mocks-CKXq8CZk.js → mocks-fUTXc8-e.js} +8 -8
- package/chunk/{mocks-CKXq8CZk.js.map → mocks-fUTXc8-e.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-iBty-gXI.js → programThemeGetters-CyMKyJao.js} +35 -35
- package/chunk/{programThemeGetters-iBty-gXI.js.map → programThemeGetters-CyMKyJao.js.map} +1 -1
- package/chunk/programThemeGetters-Lz3L0Vh7.js +3 -3
- package/chunk/pt-BR-DWj043qk.js +3 -3
- package/chunk/pt-DckA3Jnn.js +3 -3
- package/chunk/{refs-C_tB1qMA.js → refs--ECXpllB.js} +4 -4
- package/chunk/{refs-C_tB1qMA.js.map → refs--ECXpllB.js.map} +1 -1
- package/chunk/refs-Bbe0gnJ3.js +3 -3
- 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-DEqgS7M_.js → useCollectFieldsEndpoint-1e9hjiDq.js} +10 -10
- package/chunk/{useCollectFieldsEndpoint-pOK1f5os.js.map → useCollectFieldsEndpoint-1e9hjiDq.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-pOK1f5os.js → useCollectFieldsEndpoint-C4UDrIxG.js} +5 -5
- package/chunk/{useCollectFieldsEndpoint-DEqgS7M_.js.map → useCollectFieldsEndpoint-C4UDrIxG.js.map} +1 -1
- package/chunk/useMetrics-D_8asKZL.js +3 -3
- package/chunk/{useMetrics-BdMoL7SD.js → useMetrics-Ivet_g4B.js} +17 -17
- package/chunk/{useMetrics-BdMoL7SD.js.map → useMetrics-Ivet_g4B.js.map} +1 -1
- package/chunk/{validators-DTjHYDSK.js → validators-BZCydYkb.js} +79 -79
- package/chunk/{validators-DTjHYDSK.js.map → validators-BZCydYkb.js.map} +1 -1
- package/chunk/validators-Do9xo2t_.js +3 -3
- 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 +2 -3
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +4 -4
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +3 -3
- package/sheerid.js +1659 -1674
- package/sheerid.js.map +1 -1
- package/chunk/CountryComponentWrapper-CHsLroJa.js +0 -78
- package/chunk/FormFieldTypeahead-BblauBOC.js.map +0 -1
- package/chunk/FormFieldTypeahead-bR9_vlWX.js.map +0 -1
- package/chunk/FormFooterComponent-DdYBy4hI.js.map +0 -1
- package/chunk/FormFooterComponent-QZUjL2NN.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-Bk3fehX6.js +0 -9
- package/chunk/StepSuccess-BocTx0BL.js.map +0 -1
- package/chunk/StepSuccess-T6-OhHHn.js.map +0 -1
- package/chunk/StepTeacherPersonalInfo-SArNeiJd.js +0 -153
- package/chunk/TestingRouteOverrides-BDCygTLC.js +0 -81
|
@@ -4,58 +4,58 @@
|
|
|
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.258.0-alpha.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Tue Jul 21 2026 16:
|
|
7
|
+
* VERSION: 2.258.0-alpha.3
|
|
8
|
+
* BUILD_TIMESTAMP: 1784652834327
|
|
9
|
+
* BUILD_DATE: Tue Jul 21 2026 16:53:54 GMT+0000 (Coordinated Universal Time)
|
|
10
10
|
* BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a, c as o, n as s, t as c } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
15
|
-
import { n as
|
|
16
|
-
import { s as
|
|
17
|
-
import { $ as
|
|
18
|
-
import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-
|
|
19
|
-
import { n as b, t as x } from "./PersonalInfoStepSubmitButton-
|
|
20
|
-
import { t as S } from "./BirthDateComponent-
|
|
21
|
-
import { t as C } from "./PostalCodeComponent-
|
|
22
|
-
import { t as w } from "./CountryComponentWrapper-
|
|
23
|
-
import { t as T } from "./City-
|
|
24
|
-
import { t as E } from "./AddressComponent-
|
|
25
|
-
import { t as D } from "./ExtraMessage-
|
|
26
|
-
import { t as O } from "./CollegeNameComponent-
|
|
27
|
-
import { t as k } from "./StateSelectComponent-
|
|
28
|
-
import { n as A, r as j, t as M } from "./DischargeDateComponent-
|
|
29
|
-
import { t as N } from "./DriverLicenseNumberComponent-
|
|
30
|
-
import { n as P, t as F } from "./LowIncomeOrganizationComponent-
|
|
31
|
-
import { t as I } from "./StatusComponent-
|
|
32
|
-
import { t as pe } from "./FirstResponderOrganizationComponent-
|
|
33
|
-
import { t as L } from "./LicensedProfessionalOrganizationComponent-
|
|
34
|
-
import { t as R } from "./MedicalProfessionalOrganizationComponent-
|
|
35
|
-
import { t as z } from "./MemberIdComponent-
|
|
36
|
-
import { t as B } from "./MembershipOrganizationComponent-
|
|
37
|
-
import { t as me } from "./TeacherSchoolComponent-
|
|
38
|
-
import { t as he } from "./SSN-
|
|
12
|
+
import { Ht as e, It as t, Lt as n, Tt as r, ht as ee, jt as i, p as te, s as ne } from "./intl-aUfdCP8t.js";
|
|
13
|
+
import { a, c as o, n as s, t as c } from "./jsx-runtime-XNwIsY_N.js";
|
|
14
|
+
import { T as l, t as re } from "./FormFooterComponent-CbppOmMP.js";
|
|
15
|
+
import { n as ie } from "./VerificationApiClient-o29UFrLq.js";
|
|
16
|
+
import { s as ae } from "./programThemeGetters-CyMKyJao.js";
|
|
17
|
+
import { $ as u, B as d, G as oe, I as se, K as ce, L as le, W as ue, Y as de, Z as fe, et as f, n as p } from "../_mysheerid-preview.js";
|
|
18
|
+
import { a as m, i as h, n as g, o as _, s as v, t as y } from "./CaptchaComponent-Cs2wOhj5.js";
|
|
19
|
+
import { n as b, t as x } from "./PersonalInfoStepSubmitButton-CdweyyxM.js";
|
|
20
|
+
import { t as S } from "./BirthDateComponent-C787gXja.js";
|
|
21
|
+
import { t as C } from "./PostalCodeComponent-YFm2z5qa.js";
|
|
22
|
+
import { t as w } from "./CountryComponentWrapper-BV78vTBy.js";
|
|
23
|
+
import { t as T } from "./City-BP95fpVf.js";
|
|
24
|
+
import { t as E } from "./AddressComponent-DluNaOpg.js";
|
|
25
|
+
import { t as D } from "./ExtraMessage-C8bkhYx2.js";
|
|
26
|
+
import { t as O } from "./CollegeNameComponent-CTgm9HoV.js";
|
|
27
|
+
import { t as k } from "./StateSelectComponent-2QRd98vp.js";
|
|
28
|
+
import { n as A, r as j, t as M } from "./DischargeDateComponent-Dhp63XO4.js";
|
|
29
|
+
import { t as N } from "./DriverLicenseNumberComponent-CQeKZs0G.js";
|
|
30
|
+
import { n as P, t as F } from "./LowIncomeOrganizationComponent-B29RCDio.js";
|
|
31
|
+
import { t as I } from "./StatusComponent-D05R_Lpo.js";
|
|
32
|
+
import { t as pe } from "./FirstResponderOrganizationComponent-D2itQahP.js";
|
|
33
|
+
import { t as L } from "./LicensedProfessionalOrganizationComponent-guc4J-8q.js";
|
|
34
|
+
import { t as R } from "./MedicalProfessionalOrganizationComponent-D3gPq7_e.js";
|
|
35
|
+
import { t as z } from "./MemberIdComponent-D_KVob09.js";
|
|
36
|
+
import { t as B } from "./MembershipOrganizationComponent-NFWPqmc5.js";
|
|
37
|
+
import { t as me } from "./TeacherSchoolComponent-CLnLmUU-.js";
|
|
38
|
+
import { t as he } from "./SSN-CtVtLOD7.js";
|
|
39
39
|
//#region src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx
|
|
40
|
-
var V = /* @__PURE__ */
|
|
41
|
-
let o = a.viewModel, { updateViewModel: c, programTheme: U } = a, [W, ge] = V.useState(void 0), G = (e) => W && W.some((t) => t.key === e), { fieldValidationErrors: K } = a, q = a.verificationResponse, _e =
|
|
40
|
+
var V = /* @__PURE__ */ e(o(), 1), H = c(), U = a(({ intl: e, verificationService: a }) => {
|
|
41
|
+
let o = a.viewModel, { updateViewModel: c, programTheme: U } = a, [W, ge] = V.useState(void 0), G = (e) => W && W.some((t) => t.key === e), { fieldValidationErrors: K } = a, q = a.verificationResponse, _e = l(q), J = (e, t) => {
|
|
42
42
|
c(te(o, (n) => {
|
|
43
43
|
n[e] = t;
|
|
44
44
|
}));
|
|
45
45
|
}, ve = (e) => {
|
|
46
|
-
c(
|
|
47
|
-
}, Y = o.localeChoice.value, ye = ne(), { segment: X, availableStatuses: Z } = q, be = X.charAt(0).toUpperCase() + X.slice(1), Q = () => Z && (X ===
|
|
46
|
+
c(de(o, e));
|
|
47
|
+
}, Y = o.localeChoice.value, ye = ne(), { segment: X, availableStatuses: Z } = q, be = X.charAt(0).toUpperCase() + X.slice(1), Q = () => Z && (X === r.FIRST_RESPONDER || X === r.MEDICAL || X === r.LOW_INCOME || X === r.LICENSED_PROFESSIONAL || X === r.EMPLOYMENT || X === r.RECENT_MOVER || X === r.MILITARY), $ = (e) => (async () => {
|
|
48
48
|
try {
|
|
49
|
-
let n = await
|
|
49
|
+
let n = await ie(q.verificationId, q.currentStep, e), r = t(() => n.fieldsToCollect.required, []);
|
|
50
50
|
Q() && r.push({ key: "status" }), ve(r), ge(r);
|
|
51
51
|
} catch (e) {
|
|
52
|
-
|
|
52
|
+
n.error(`Failed to determine fields to collect: ${e}`);
|
|
53
53
|
}
|
|
54
54
|
})();
|
|
55
55
|
return V.useEffect(() => {
|
|
56
|
-
Z && X ===
|
|
56
|
+
Z && X === r.MILITARY ? $({ statuses: [] }) : $({});
|
|
57
57
|
}, []), V.useEffect(() => {
|
|
58
|
-
!
|
|
58
|
+
!ae(U).enabled && W && W.length === 0 && fe(o, a, i.collectPersonalInfo);
|
|
59
59
|
}, [W]), V.useEffect(() => {
|
|
60
60
|
o.status && $({ statuses: [o.status] });
|
|
61
61
|
}, [o.status]), /* @__PURE__ */ (0, H.jsxs)("div", {
|
|
@@ -64,106 +64,106 @@ var V = /* @__PURE__ */ i(o(), 1), H = c(), U = a(({ intl: i, verificationServic
|
|
|
64
64
|
children: [/* @__PURE__ */ (0, H.jsxs)("div", {
|
|
65
65
|
role: "main",
|
|
66
66
|
children: [
|
|
67
|
-
/* @__PURE__ */ (0, H.jsx)(
|
|
67
|
+
/* @__PURE__ */ (0, H.jsx)(p, {
|
|
68
68
|
verificationService: a,
|
|
69
69
|
classNameIdentifier: "personal-info"
|
|
70
70
|
}),
|
|
71
71
|
/* @__PURE__ */ (0, H.jsx)(w, {
|
|
72
72
|
verificationService: a,
|
|
73
|
-
disabled:
|
|
73
|
+
disabled: d("country")?.disabled
|
|
74
74
|
}),
|
|
75
75
|
Q() && /* @__PURE__ */ (0, H.jsx)(I, {
|
|
76
76
|
segmentId: X,
|
|
77
77
|
value: {
|
|
78
78
|
value: o.status,
|
|
79
|
-
label:
|
|
79
|
+
label: ue(e, o.status, null)
|
|
80
80
|
},
|
|
81
81
|
isErrored: !!K.status,
|
|
82
82
|
errorId: `invalid${be}Status`,
|
|
83
|
-
options:
|
|
84
|
-
disabled:
|
|
83
|
+
options: le(e, Z),
|
|
84
|
+
disabled: d("status")?.disabled,
|
|
85
85
|
onChange: (e) => {
|
|
86
|
-
J("status", e ? e.value : ""),
|
|
86
|
+
J("status", e ? e.value : ""), u("status", e ? e.value : "", a);
|
|
87
87
|
}
|
|
88
88
|
}),
|
|
89
89
|
G("organization") && (() => {
|
|
90
90
|
switch (X) {
|
|
91
|
-
case
|
|
91
|
+
case r.STUDENT: return /* @__PURE__ */ (0, H.jsx)(O, {
|
|
92
92
|
value: a.viewModel.organization,
|
|
93
93
|
verificationService: a,
|
|
94
94
|
isErrored: !!K.organization,
|
|
95
95
|
isRequired: !0,
|
|
96
|
-
disabled:
|
|
96
|
+
disabled: d("organization")?.disabled,
|
|
97
97
|
onChange: (e) => {
|
|
98
|
-
|
|
98
|
+
f(e, a), u("organization", e, a);
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
|
-
case
|
|
101
|
+
case r.TEACHER: return /* @__PURE__ */ (0, H.jsx)(me, {
|
|
102
102
|
value: a.viewModel.organization,
|
|
103
103
|
verificationService: a,
|
|
104
104
|
isErrored: !!K.organization,
|
|
105
|
-
disabled:
|
|
105
|
+
disabled: d("organization")?.disabled,
|
|
106
106
|
onChange: (e) => {
|
|
107
|
-
|
|
107
|
+
f(e, a), u("organization", e, a);
|
|
108
108
|
}
|
|
109
109
|
});
|
|
110
|
-
case
|
|
110
|
+
case r.MEMBER: return /* @__PURE__ */ (0, H.jsx)(B, {
|
|
111
111
|
value: a.viewModel.organization,
|
|
112
112
|
verificationService: a,
|
|
113
113
|
isErrored: !!K.organization,
|
|
114
|
-
disabled:
|
|
114
|
+
disabled: d("organization")?.disabled,
|
|
115
115
|
onChange: (e) => {
|
|
116
|
-
|
|
116
|
+
f(e, a), u("organization", e, a);
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
|
-
case
|
|
119
|
+
case r.MILITARY: return /* @__PURE__ */ (0, H.jsx)(A, {
|
|
120
120
|
isErrored: !!K.organization,
|
|
121
121
|
onChange: (e) => {
|
|
122
|
-
|
|
122
|
+
f(e, a), u("organization", e, a);
|
|
123
123
|
},
|
|
124
124
|
value: {
|
|
125
125
|
value: t(() => a.viewModel.organization.id),
|
|
126
126
|
label: t(() => a.viewModel.organization.name)
|
|
127
127
|
},
|
|
128
128
|
verificationService: a,
|
|
129
|
-
disabled:
|
|
129
|
+
disabled: d("organization")?.disabled
|
|
130
130
|
});
|
|
131
|
-
case
|
|
131
|
+
case r.FIRST_RESPONDER: return /* @__PURE__ */ (0, H.jsx)(pe, {
|
|
132
132
|
isErrored: !!K.organization,
|
|
133
133
|
onChange: (e) => {
|
|
134
|
-
|
|
134
|
+
f(e, a), u("organization", e, a);
|
|
135
135
|
},
|
|
136
136
|
value: a.viewModel.organization,
|
|
137
137
|
verificationService: a,
|
|
138
|
-
disabled:
|
|
138
|
+
disabled: d("organization")?.disabled
|
|
139
139
|
});
|
|
140
|
-
case
|
|
140
|
+
case r.MEDICAL: return /* @__PURE__ */ (0, H.jsx)(R, {
|
|
141
141
|
isErrored: !!K.organization,
|
|
142
142
|
onChange: (e) => {
|
|
143
|
-
|
|
143
|
+
f(e, a), u("organization", e, a);
|
|
144
144
|
},
|
|
145
145
|
value: a.viewModel.organization,
|
|
146
146
|
verificationService: a,
|
|
147
|
-
disabled:
|
|
147
|
+
disabled: d("organization")?.disabled
|
|
148
148
|
});
|
|
149
|
-
case
|
|
149
|
+
case r.LICENSED_PROFESSIONAL: return /* @__PURE__ */ (0, H.jsx)(L, {
|
|
150
150
|
isErrored: !!K.organization,
|
|
151
151
|
onChange: (e) => {
|
|
152
|
-
|
|
152
|
+
f(e, a), u("organization", e, a);
|
|
153
153
|
},
|
|
154
154
|
value: a.viewModel.organization,
|
|
155
155
|
verificationService: a,
|
|
156
|
-
disabled:
|
|
156
|
+
disabled: d("organization")?.disabled
|
|
157
157
|
});
|
|
158
|
-
case
|
|
158
|
+
case r.LOW_INCOME: return /* @__PURE__ */ (0, H.jsx)(F, {
|
|
159
159
|
isErrored: !!K.organization,
|
|
160
160
|
onChange: (e) => {
|
|
161
|
-
|
|
161
|
+
f(e, a), u("organization", e, a);
|
|
162
162
|
},
|
|
163
|
-
value:
|
|
163
|
+
value: ce(a.viewModel.organization),
|
|
164
164
|
verificationService: a,
|
|
165
165
|
isRequired: !0,
|
|
166
|
-
disabled:
|
|
166
|
+
disabled: d("organization")?.disabled
|
|
167
167
|
});
|
|
168
168
|
default: return null;
|
|
169
169
|
}
|
|
@@ -173,16 +173,16 @@ var V = /* @__PURE__ */ i(o(), 1), H = c(), U = a(({ intl: i, verificationServic
|
|
|
173
173
|
children: [G("firstName") && /* @__PURE__ */ (0, H.jsx)(m, {
|
|
174
174
|
value: o.firstName,
|
|
175
175
|
isErrored: !!K.firstName,
|
|
176
|
-
disabled:
|
|
176
|
+
disabled: d("firstName")?.disabled,
|
|
177
177
|
onChange: (e) => {
|
|
178
|
-
J("firstName", e),
|
|
178
|
+
J("firstName", e), u("firstName", e, a);
|
|
179
179
|
}
|
|
180
180
|
}), G("lastName") && /* @__PURE__ */ (0, H.jsx)(h, {
|
|
181
181
|
value: o.lastName,
|
|
182
182
|
isErrored: !!K.lastName,
|
|
183
|
-
disabled:
|
|
183
|
+
disabled: d("lastName")?.disabled,
|
|
184
184
|
onChange: (e) => {
|
|
185
|
-
J("lastName", e),
|
|
185
|
+
J("lastName", e), u("lastName", e, a);
|
|
186
186
|
}
|
|
187
187
|
})]
|
|
188
188
|
}),
|
|
@@ -191,9 +191,9 @@ var V = /* @__PURE__ */ i(o(), 1), H = c(), U = a(({ intl: i, verificationServic
|
|
|
191
191
|
errorId: K.birthDate,
|
|
192
192
|
locale: Y,
|
|
193
193
|
isRequired: !0,
|
|
194
|
-
disabled:
|
|
194
|
+
disabled: d("birthDate")?.disabled,
|
|
195
195
|
onChange: (e) => {
|
|
196
|
-
J("birthDate", e),
|
|
196
|
+
J("birthDate", e), u("birthDate", e, a);
|
|
197
197
|
}
|
|
198
198
|
}),
|
|
199
199
|
G("email") && /* @__PURE__ */ (0, H.jsx)(b, {
|
|
@@ -201,29 +201,29 @@ var V = /* @__PURE__ */ i(o(), 1), H = c(), U = a(({ intl: i, verificationServic
|
|
|
201
201
|
isErrored: !!K.email,
|
|
202
202
|
explanation: " ",
|
|
203
203
|
onChange: (e) => {
|
|
204
|
-
J("email", e),
|
|
204
|
+
J("email", e), u("email", e, a);
|
|
205
205
|
},
|
|
206
|
-
onKeyDown: (e) =>
|
|
207
|
-
disabled:
|
|
206
|
+
onKeyDown: (e) => oe(e),
|
|
207
|
+
disabled: d("email")?.disabled
|
|
208
208
|
}),
|
|
209
209
|
G("phoneNumber") && /* @__PURE__ */ (0, H.jsx)(_, {
|
|
210
210
|
isRequired: !!a.programTheme.smsLoopEnabled,
|
|
211
211
|
value: o.phoneNumber,
|
|
212
212
|
isErrored: !!K.phoneNumber,
|
|
213
213
|
onChange: (e) => {
|
|
214
|
-
J("phoneNumber", e),
|
|
214
|
+
J("phoneNumber", e), u("phoneNumber", e, a);
|
|
215
215
|
},
|
|
216
216
|
selectedCountryCode: o.countryChoice && o.countryChoice.value,
|
|
217
|
-
disabled:
|
|
217
|
+
disabled: d("phoneNumber")?.disabled
|
|
218
218
|
}),
|
|
219
219
|
G("address1") && /* @__PURE__ */ (0, H.jsx)(E, {
|
|
220
220
|
value: o.address1,
|
|
221
221
|
isRequired: !0,
|
|
222
222
|
isErrored: !!K.address1,
|
|
223
223
|
errorId: K.address1,
|
|
224
|
-
disabled:
|
|
224
|
+
disabled: d("address1")?.disabled,
|
|
225
225
|
onChange: (e) => {
|
|
226
|
-
J("address1", e),
|
|
226
|
+
J("address1", e), u("address1", e, a);
|
|
227
227
|
}
|
|
228
228
|
}),
|
|
229
229
|
G("city") && /* @__PURE__ */ (0, H.jsx)(T, {
|
|
@@ -231,44 +231,44 @@ var V = /* @__PURE__ */ i(o(), 1), H = c(), U = a(({ intl: i, verificationServic
|
|
|
231
231
|
isRequired: !0,
|
|
232
232
|
isErrored: !!K.city,
|
|
233
233
|
errorId: K.city,
|
|
234
|
-
disabled:
|
|
234
|
+
disabled: d("city")?.disabled,
|
|
235
235
|
onChange: (e) => {
|
|
236
|
-
J("city", e),
|
|
236
|
+
J("city", e), u("city", e, a);
|
|
237
237
|
}
|
|
238
238
|
}),
|
|
239
239
|
G("dischargeDate") && /* @__PURE__ */ (0, H.jsx)(M, {
|
|
240
240
|
errorId: K.dischargeDate,
|
|
241
241
|
locale: Y,
|
|
242
242
|
onChange: (e) => {
|
|
243
|
-
J("dischargeDate", e),
|
|
243
|
+
J("dischargeDate", e), u("dischargeDate", e, a);
|
|
244
244
|
},
|
|
245
245
|
value: o.dischargeDate,
|
|
246
|
-
disabled:
|
|
246
|
+
disabled: d("dischargeDate")?.disabled
|
|
247
247
|
}),
|
|
248
248
|
G("driverLicenseNumber") && /* @__PURE__ */ (0, H.jsx)(N, {
|
|
249
249
|
value: o.driverLicenseNumber,
|
|
250
250
|
isErrored: !!K.driverLicenseNumber,
|
|
251
251
|
isRequired: !0,
|
|
252
|
-
disabled:
|
|
252
|
+
disabled: d("driverLicenseNumber")?.disabled,
|
|
253
253
|
onChange: (e) => {
|
|
254
|
-
J("driverLicenseNumber", e),
|
|
254
|
+
J("driverLicenseNumber", e), u("driverLicenseNumber", e, a);
|
|
255
255
|
}
|
|
256
256
|
}),
|
|
257
257
|
G("ebtCardNumber") && /* @__PURE__ */ (0, H.jsx)(P, {
|
|
258
258
|
value: o.ebtCardNumber,
|
|
259
259
|
isErrored: !!K.ebtCardNumber,
|
|
260
|
-
disabled:
|
|
260
|
+
disabled: d("ebtCardNumber")?.disabled,
|
|
261
261
|
onChange: (e) => {
|
|
262
|
-
J("ebtCardNumber", e),
|
|
262
|
+
J("ebtCardNumber", e), u("ebtCardNumber", e, a);
|
|
263
263
|
}
|
|
264
264
|
}),
|
|
265
265
|
G("memberId") && /* @__PURE__ */ (0, H.jsx)(z, {
|
|
266
266
|
value: o.memberId,
|
|
267
267
|
isErrored: !!K.memberId,
|
|
268
|
-
isRequired:
|
|
269
|
-
disabled:
|
|
268
|
+
isRequired: d("memberId")?.requireIfOptional,
|
|
269
|
+
disabled: d("memberId")?.disabled,
|
|
270
270
|
onChange: (e) => {
|
|
271
|
-
J("memberId", e),
|
|
271
|
+
J("memberId", e), u("memberId", e, a);
|
|
272
272
|
},
|
|
273
273
|
label: /* @__PURE__ */ (0, H.jsx)(s, {
|
|
274
274
|
id: "step.collectMedicalPersonalInfo.registrationNumberLabel",
|
|
@@ -278,46 +278,46 @@ var V = /* @__PURE__ */ i(o(), 1), H = c(), U = a(({ intl: i, verificationServic
|
|
|
278
278
|
G("postalCode") && /* @__PURE__ */ (0, H.jsx)(C, {
|
|
279
279
|
isErrored: !!K.postalCode,
|
|
280
280
|
onChange: (e) => {
|
|
281
|
-
J("postalCode", e),
|
|
281
|
+
J("postalCode", e), u("postalCode", e, a);
|
|
282
282
|
},
|
|
283
283
|
value: o.postalCode,
|
|
284
|
-
disabled:
|
|
284
|
+
disabled: d("postalCode")?.disabled
|
|
285
285
|
}),
|
|
286
286
|
G("socialSecurityNumber") && /* @__PURE__ */ (0, H.jsx)("div", {
|
|
287
287
|
className: "sid-ssn-wrapper",
|
|
288
288
|
children: /* @__PURE__ */ (0, H.jsx)(he, {
|
|
289
289
|
value: o.socialSecurityNumber,
|
|
290
290
|
onChange: (e) => {
|
|
291
|
-
J("socialSecurityNumber", e),
|
|
291
|
+
J("socialSecurityNumber", e), u("socialSecurityNumber", e, a);
|
|
292
292
|
},
|
|
293
293
|
isErrored: !!K[ee.socialSecurityNumber],
|
|
294
294
|
placeholder: "000-00-0000",
|
|
295
|
-
disabled:
|
|
295
|
+
disabled: d("socialSecurityNumber")?.disabled
|
|
296
296
|
})
|
|
297
297
|
}),
|
|
298
298
|
G("state") && /* @__PURE__ */ (0, H.jsx)(k, {
|
|
299
299
|
isRequired: !0,
|
|
300
|
-
options:
|
|
300
|
+
options: se(a.programTheme, e),
|
|
301
301
|
value: o.state || void 0,
|
|
302
302
|
isErrored: !!K.state,
|
|
303
303
|
onChange: async (e) => {
|
|
304
304
|
let t = e ? e.value : void 0;
|
|
305
|
-
J("state", t),
|
|
305
|
+
J("state", t), u("state", t, a);
|
|
306
306
|
},
|
|
307
307
|
label: /* @__PURE__ */ (0, H.jsx)(s, {
|
|
308
308
|
id: "state",
|
|
309
309
|
defaultMessage: "State"
|
|
310
310
|
}),
|
|
311
|
-
disabled:
|
|
311
|
+
disabled: d("state")?.disabled
|
|
312
312
|
}),
|
|
313
313
|
G("activeDutyStartDate") && a.programTheme.strictMilitaryValidationEnabled && /* @__PURE__ */ (0, H.jsx)(j, {
|
|
314
314
|
errorId: K.activeDutyStartDate,
|
|
315
315
|
locale: Y,
|
|
316
316
|
onChange: (e) => {
|
|
317
|
-
J("activeDutyStartDate", e),
|
|
317
|
+
J("activeDutyStartDate", e), u("activeDutyStartDate", e, a);
|
|
318
318
|
},
|
|
319
319
|
value: o.activeDutyStartDate,
|
|
320
|
-
disabled:
|
|
320
|
+
disabled: d("activeDutyStartDate")?.disabled
|
|
321
321
|
}),
|
|
322
322
|
ye.customFormFields?.map((e) => /* @__PURE__ */ (0, H.jsx)(g, {
|
|
323
323
|
config: e,
|
|
@@ -330,10 +330,10 @@ var V = /* @__PURE__ */ i(o(), 1), H = c(), U = a(({ intl: i, verificationServic
|
|
|
330
330
|
J("metadata", {
|
|
331
331
|
...a.viewModel.metadata,
|
|
332
332
|
marketConsentValue: e
|
|
333
|
-
}),
|
|
333
|
+
}), u("marketConsentValue", e, a);
|
|
334
334
|
},
|
|
335
335
|
viewModel: o,
|
|
336
|
-
disabled:
|
|
336
|
+
disabled: d("marketConsentValue")?.disabled
|
|
337
337
|
}),
|
|
338
338
|
/* @__PURE__ */ (0, H.jsx)(D, {
|
|
339
339
|
verificationService: a,
|
|
@@ -344,7 +344,7 @@ var V = /* @__PURE__ */ i(o(), 1), H = c(), U = a(({ intl: i, verificationServic
|
|
|
344
344
|
isErrored: !!K.captchaToken
|
|
345
345
|
}),
|
|
346
346
|
/* @__PURE__ */ (0, H.jsx)(x, {
|
|
347
|
-
step:
|
|
347
|
+
step: i.collectPersonalInfo,
|
|
348
348
|
verificationService: a,
|
|
349
349
|
viewModel: o,
|
|
350
350
|
failedInstantMatch: _e,
|
|
@@ -354,7 +354,7 @@ var V = /* @__PURE__ */ i(o(), 1), H = c(), U = a(({ intl: i, verificationServic
|
|
|
354
354
|
})
|
|
355
355
|
})
|
|
356
356
|
]
|
|
357
|
-
}), /* @__PURE__ */ (0, H.jsx)(
|
|
357
|
+
}), /* @__PURE__ */ (0, H.jsx)(re, { verificationService: a })]
|
|
358
358
|
});
|
|
359
359
|
});
|
|
360
360
|
//#endregion
|
package/chunk/{StepCollectPersonalInfo-BleSjjbJ.js.map → StepCollectPersonalInfo-BfwOSCSV.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepCollectPersonalInfo-BleSjjbJ.js","names":[],"sources":["../../src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectPersonalInfoViewModel,\n type CustomFormFieldConfig,\n type Organization,\n type FormSelectChoice,\n type State,\n type CollectFieldsResponse,\n type CollectPersonalInfoResponse,\n type FieldDescription,\n type AllStatuses,\n} from \"../../lib/types/types\";\nimport {\n getAvailableStateChoices,\n orgToOption,\n getStatusLabel,\n handleEmailOnKeyDown,\n submitForm,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModelWithAllRequiredFields,\n getAvailableStatuses,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { FieldIdEnum, SegmentEnum, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { MembershipOrganizationComponent as MembershipOrganization } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { TeacherSchoolComponent as TeacherSchool } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { DischargeDateComponent } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { getAllFieldsToCollect } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { getMarketConsent } from \"../../lib/ProgramTheme/programThemeGetters\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepCollectPersonalInfoProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepCollectPersonalInfo = ({\n intl,\n verificationService,\n}: StepCollectPersonalInfoProps) => {\n const viewModel = verificationService.viewModel as CollectPersonalInfoViewModel;\n const { updateViewModel, programTheme } = verificationService;\n\n const [requiredFields, setRequiredFields] = React.useState<FieldDescription[]>(undefined);\n\n const isFieldRequired = (key: keyof CollectPersonalInfoViewModel) =>\n requiredFields && requiredFields.some((field) => field.key === key);\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as CollectPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updatePersonalInfoViewModel = (key: keyof CollectPersonalInfoViewModel, value: any) => {\n const nextState: CollectPersonalInfoViewModel = produce(\n viewModel,\n (draft: CollectPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n updateViewModel(nextState);\n };\n\n const updateViewModelWithRequiredFields = (newRequiredFields: FieldDescription[]) => {\n const nextState: CollectPersonalInfoViewModel = produceDraftViewModelWithAllRequiredFields(\n viewModel,\n newRequiredFields,\n );\n updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { segment, availableStatuses } = verificationResponse;\n const pascalCaseSegment = segment.charAt(0).toUpperCase() + segment.slice(1);\n\n const isStatusRequired = (): boolean =>\n availableStatuses &&\n (segment === SegmentEnum.FIRST_RESPONDER ||\n segment === SegmentEnum.MEDICAL ||\n segment === SegmentEnum.LOW_INCOME ||\n segment === SegmentEnum.LICENSED_PROFESSIONAL ||\n segment === SegmentEnum.EMPLOYMENT ||\n segment === SegmentEnum.RECENT_MOVER ||\n segment === SegmentEnum.MILITARY);\n\n const getAndSetRequiredFields = (requestBody: { statuses?: AllStatuses[] }) =>\n (async () => {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getAllFieldsToCollect(\n verificationResponse.verificationId,\n verificationResponse.currentStep,\n requestBody,\n );\n const newRequiredFields = getSafe(() => collectFieldsResponse.fieldsToCollect.required, []);\n\n if (isStatusRequired()) {\n // Adding `status` as a required input field if it's been removed by getting\n // all fields to collect with a statuses req body\n newRequiredFields.push({ key: \"status\" });\n }\n\n updateViewModelWithRequiredFields(newRequiredFields);\n setRequiredFields(newRequiredFields);\n } catch (error) {\n logger.error(`Failed to determine fields to collect: ${error}`);\n }\n })();\n\n const getOrganizationField = () => {\n switch (segment) {\n case SegmentEnum.STUDENT:\n return (\n <CollegeName\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.TEACHER:\n return (\n <TeacherSchool\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MEMBER:\n return (\n <MembershipOrganization\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MILITARY:\n return (\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.id,\n ),\n label: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.name,\n ),\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.FIRST_RESPONDER:\n return (\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.MEDICAL:\n return (\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LICENSED_PROFESSIONAL:\n return (\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LOW_INCOME:\n return (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization,\n )}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n default:\n return null;\n }\n };\n\n React.useEffect(() => {\n if (availableStatuses && segment === SegmentEnum.MILITARY) {\n // display all required military fields by setting an initial default status\n getAndSetRequiredFields({ statuses: [] });\n } else {\n // fetch initial list of required input fields\n getAndSetRequiredFields({});\n }\n }, []);\n\n React.useEffect(() => {\n if (!getMarketConsent(programTheme).enabled && requiredFields && requiredFields.length === 0) {\n // skip this step if there are no required fields, and marketConsent is not enabled\n submitForm(viewModel, verificationService, VerificationStepsEnum.collectPersonalInfo);\n }\n }, [requiredFields]);\n\n React.useEffect(() => {\n if (viewModel.status) {\n // if status changes, re-fetch required fields because they may have changed based on selected status\n getAndSetRequiredFields({ statuses: [viewModel.status] });\n }\n }, [viewModel.status]);\n\n return (\n <div\n id=\"sid-step-personal-info-personal-info\"\n className=\"sid-personal-info-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"personal-info\"\n />\n\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n {isStatusRequired() && (\n <Status\n segmentId={segment}\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, null),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId={`invalid${pascalCaseSegment}Status`}\n options={getAvailableStatuses(intl, availableStatuses)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updatePersonalInfoViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"organization\") && getOrganizationField()}\n\n <div className=\"sid-names\">\n {isFieldRequired(\"firstName\") && (\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"lastName\") && (\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n )}\n </div>\n\n {isFieldRequired(\"birthDate\") && (\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"email\") && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation=\" \"\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"phoneNumber\") && (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updatePersonalInfoViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"dischargeDate\") && (\n <DischargeDateComponent\n errorId={fieldValidationErrors.dischargeDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"driverLicenseNumber\") && (\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"ebtCardNumber\") && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"memberId\") && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage\n id=\"step.collectMedicalPersonalInfo.registrationNumberLabel\"\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n\n {isFieldRequired(\"postalCode\") && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"socialSecurityNumber\") && (\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updatePersonalInfoViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n disabled={getFieldConfigByFieldId(\"socialSecurityNumber\")?.disabled}\n />\n </div>\n )}\n\n {isFieldRequired(\"state\") && (\n <StateSelectComponent\n isRequired\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updatePersonalInfoViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"activeDutyStartDate\") &&\n verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n {options.customFormFields?.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectPersonalInfoComponent = injectIntl(StepCollectPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA6lBa,IAAmC,GAnhBR,EACtC,SACA,6BACkC;CAClC,IAAM,IAAY,EAAoB,WAChC,EAAE,oBAAiB,oBAAiB,GAEpC,CAAC,GAAgB,MAAA,EAA2B,SAA6B,KAAA,CAAS,GAElF,KAAmB,MACvB,KAAkB,EAAe,MAAM,MAAU,EAAM,QAAQ,CAAG,GAE9D,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,KAAqB,GAAsB,CAAoB,GAE/D,KAA+B,GAAyC,MAAe;EAO3F,EANgD,GAC9C,IACC,MAAwC;GACvC,EAAO,KAAe;EACxB,CAEc,CAAS;CAC3B,GAEM,MAAqC,MAA0C;EAKnF,EAJgD,GAC9C,GACA,CAEc,CAAS;CAC3B,GAEM,IAAS,EAAU,aAAa,OAChC,KAAU,GAAW,GAErB,EAAE,YAAS,yBAAsB,GACjC,KAAoB,EAAQ,OAAO,CAAC,EAAE,YAAY,IAAI,EAAQ,MAAM,CAAC,GAErE,UACJ,MACC,MAAY,EAAY,mBACvB,MAAY,EAAY,WACxB,MAAY,EAAY,cACxB,MAAY,EAAY,yBACxB,MAAY,EAAY,cACxB,MAAY,EAAY,gBACxB,MAAY,EAAY,WAEtB,KAA2B,OAC9B,YAAY;EACX,IAAI;GACF,IAAM,IAA+C,MAAM,EACzD,EAAqB,gBACrB,EAAqB,aACrB,CACF,GACM,IAAoB,QAAc,EAAsB,gBAAgB,UAAU,CAAC,CAAC;GAS1F,AAPI,EAAiB,KAGnB,EAAkB,KAAK,EAAE,KAAK,SAAS,CAAC,GAG1C,GAAkC,CAAiB,GACnD,GAAkB,CAAiB;EACrC,SAAS,GAAO;GACd,EAAO,MAAM,0CAA0C,GAAO;EAChE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B,aAAa,mCAC/B,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,SAAS,EAAsB;KACvB;KACR,WAAW,MAAa;MAEtB,AADA,EAA4B,uBAAuB,CAAQ,GAC3D,EACE,uBACA,GACA,CACF;KACF;KACA,OAAO,EAAU;KACjB,UAAU,EAAwB,qBAAqB,GAAG;IAC3D,CAAA;IAGJ,GAAQ,kBAAkB,KAAK,MAC9B,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAyB;KAA6B;IAAsB,CAAA,CAC7E;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,WAAW,CAAC,CAAC,EAAsB;KACnC,WAAW,MAAa;MAKtB,AAJA,EAA4B,YAAY;OACtC,GAAG,EAAoB,UAAU;OACjC,oBAAoB;MACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;KACF;KACW;KACX,UAAU,EAAwB,oBAAoB,GAAG;IAC1D,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KAAmC;KAAqB,QAAO;IAAsB,CAAA;IAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;KACuB;KACrB,WAAW,CAAC,CAAC,EAAsB;IACpC,CAAA;IAED,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,MAAM,EAAsB;KACP;KACV;KACS;KACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;MACE,IAAG;MACH,gBAAe;KAChB,CAAA;IAEJ,CAAA;GACE;MACL,iBAAA,GAAA,EAAA,KAAC,IAAD,EAAiC,uBAAsB,CAAA,CACpD;;AAET,CAEkF"}
|
|
1
|
+
{"version":3,"file":"StepCollectPersonalInfo-BfwOSCSV.js","names":[],"sources":["../../src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\nimport { logger } from \"@jslib/shared/utils/logger\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type CollectPersonalInfoViewModel,\n type CustomFormFieldConfig,\n type Organization,\n type FormSelectChoice,\n type State,\n type CollectFieldsResponse,\n type CollectPersonalInfoResponse,\n type FieldDescription,\n type AllStatuses,\n} from \"../../lib/types/types\";\nimport {\n getAvailableStateChoices,\n orgToOption,\n getStatusLabel,\n handleEmailOnKeyDown,\n submitForm,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModelWithAllRequiredFields,\n getAvailableStatuses,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { FieldIdEnum, SegmentEnum, VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DriverLicenseNumberComponent as DriverLicenseNumber } from \"../FormFields/DriverLicenseNumber/DriverLicenseNumberComponent\";\nimport { EBTCardNumberComponent } from \"../FormFields/EBTCardNumber/EBTCardNumberComponent\";\nimport { StatusComponent as Status } from \"../FormFields/Status/StatusComponent\";\nimport { LowIncomeOrganizationComponent as LowIncomeOrganization } from \"../FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent\";\nimport { FirstResponderOrganizationComponent as FirstResponderOrganization } from \"../FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { MembershipOrganizationComponent as MembershipOrganization } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { TeacherSchoolComponent as TeacherSchool } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { SocialSecurityNumber } from \"../FormFields/SSN/SSN\";\nimport { DischargeDateComponent } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { getAllFieldsToCollect } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { getMarketConsent } from \"../../lib/ProgramTheme/programThemeGetters\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepCollectPersonalInfoProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepCollectPersonalInfo = ({\n intl,\n verificationService,\n}: StepCollectPersonalInfoProps) => {\n const viewModel = verificationService.viewModel as CollectPersonalInfoViewModel;\n const { updateViewModel, programTheme } = verificationService;\n\n const [requiredFields, setRequiredFields] = React.useState<FieldDescription[]>(undefined);\n\n const isFieldRequired = (key: keyof CollectPersonalInfoViewModel) =>\n requiredFields && requiredFields.some((field) => field.key === key);\n\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as CollectPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updatePersonalInfoViewModel = (key: keyof CollectPersonalInfoViewModel, value: any) => {\n const nextState: CollectPersonalInfoViewModel = produce(\n viewModel,\n (draft: CollectPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n updateViewModel(nextState);\n };\n\n const updateViewModelWithRequiredFields = (newRequiredFields: FieldDescription[]) => {\n const nextState: CollectPersonalInfoViewModel = produceDraftViewModelWithAllRequiredFields(\n viewModel,\n newRequiredFields,\n );\n updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const { segment, availableStatuses } = verificationResponse;\n const pascalCaseSegment = segment.charAt(0).toUpperCase() + segment.slice(1);\n\n const isStatusRequired = (): boolean =>\n availableStatuses &&\n (segment === SegmentEnum.FIRST_RESPONDER ||\n segment === SegmentEnum.MEDICAL ||\n segment === SegmentEnum.LOW_INCOME ||\n segment === SegmentEnum.LICENSED_PROFESSIONAL ||\n segment === SegmentEnum.EMPLOYMENT ||\n segment === SegmentEnum.RECENT_MOVER ||\n segment === SegmentEnum.MILITARY);\n\n const getAndSetRequiredFields = (requestBody: { statuses?: AllStatuses[] }) =>\n (async () => {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getAllFieldsToCollect(\n verificationResponse.verificationId,\n verificationResponse.currentStep,\n requestBody,\n );\n const newRequiredFields = getSafe(() => collectFieldsResponse.fieldsToCollect.required, []);\n\n if (isStatusRequired()) {\n // Adding `status` as a required input field if it's been removed by getting\n // all fields to collect with a statuses req body\n newRequiredFields.push({ key: \"status\" });\n }\n\n updateViewModelWithRequiredFields(newRequiredFields);\n setRequiredFields(newRequiredFields);\n } catch (error) {\n logger.error(`Failed to determine fields to collect: ${error}`);\n }\n })();\n\n const getOrganizationField = () => {\n switch (segment) {\n case SegmentEnum.STUDENT:\n return (\n <CollegeName\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.TEACHER:\n return (\n <TeacherSchool\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MEMBER:\n return (\n <MembershipOrganization\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n );\n case SegmentEnum.MILITARY:\n return (\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.id,\n ),\n label: getSafe(\n () =>\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization.name,\n ),\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.FIRST_RESPONDER:\n return (\n <FirstResponderOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.MEDICAL:\n return (\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LICENSED_PROFESSIONAL:\n return (\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={(verificationService.viewModel as CollectPersonalInfoViewModel).organization}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n case SegmentEnum.LOW_INCOME:\n return (\n <LowIncomeOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={orgToOption(\n (verificationService.viewModel as CollectPersonalInfoViewModel).organization,\n )}\n verificationService={verificationService}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n );\n default:\n return null;\n }\n };\n\n React.useEffect(() => {\n if (availableStatuses && segment === SegmentEnum.MILITARY) {\n // display all required military fields by setting an initial default status\n getAndSetRequiredFields({ statuses: [] });\n } else {\n // fetch initial list of required input fields\n getAndSetRequiredFields({});\n }\n }, []);\n\n React.useEffect(() => {\n if (!getMarketConsent(programTheme).enabled && requiredFields && requiredFields.length === 0) {\n // skip this step if there are no required fields, and marketConsent is not enabled\n submitForm(viewModel, verificationService, VerificationStepsEnum.collectPersonalInfo);\n }\n }, [requiredFields]);\n\n React.useEffect(() => {\n if (viewModel.status) {\n // if status changes, re-fetch required fields because they may have changed based on selected status\n getAndSetRequiredFields({ statuses: [viewModel.status] });\n }\n }, [viewModel.status]);\n\n return (\n <div\n id=\"sid-step-personal-info-personal-info\"\n className=\"sid-personal-info-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"personal-info\"\n />\n\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n {isStatusRequired() && (\n <Status\n segmentId={segment}\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, null),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId={`invalid${pascalCaseSegment}Status`}\n options={getAvailableStatuses(intl, availableStatuses)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updatePersonalInfoViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"organization\") && getOrganizationField()}\n\n <div className=\"sid-names\">\n {isFieldRequired(\"firstName\") && (\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"lastName\") && (\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n )}\n </div>\n\n {isFieldRequired(\"birthDate\") && (\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"email\") && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation=\" \"\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"phoneNumber\") && (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updatePersonalInfoViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"city\", newValue);\n updateFieldValidationErrorsByFieldId(\"city\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"dischargeDate\") && (\n <DischargeDateComponent\n errorId={fieldValidationErrors.dischargeDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"driverLicenseNumber\") && (\n <DriverLicenseNumber\n value={viewModel.driverLicenseNumber}\n isErrored={!!fieldValidationErrors.driverLicenseNumber}\n isRequired\n disabled={getFieldConfigByFieldId(\"driverLicenseNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"driverLicenseNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"driverLicenseNumber\",\n newValue,\n verificationService,\n );\n }}\n />\n )}\n\n {isFieldRequired(\"ebtCardNumber\") && (\n <EBTCardNumberComponent\n value={viewModel.ebtCardNumber}\n isErrored={!!fieldValidationErrors.ebtCardNumber}\n disabled={getFieldConfigByFieldId(\"ebtCardNumber\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"ebtCardNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"ebtCardNumber\", newValue, verificationService);\n }}\n />\n )}\n\n {isFieldRequired(\"memberId\") && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n label={\n <FormattedHTMLMessage\n id=\"step.collectMedicalPersonalInfo.registrationNumberLabel\"\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n\n {isFieldRequired(\"postalCode\") && (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"socialSecurityNumber\") && (\n <div className=\"sid-ssn-wrapper\">\n <SocialSecurityNumber\n value={viewModel.socialSecurityNumber}\n onChange={(value: string) => {\n updatePersonalInfoViewModel(\"socialSecurityNumber\", value);\n updateFieldValidationErrorsByFieldId(\n \"socialSecurityNumber\",\n value,\n verificationService,\n );\n }}\n isErrored={!!fieldValidationErrors[FieldIdEnum.socialSecurityNumber]}\n placeholder=\"000-00-0000\"\n disabled={getFieldConfigByFieldId(\"socialSecurityNumber\")?.disabled}\n />\n </div>\n )}\n\n {isFieldRequired(\"state\") && (\n <StateSelectComponent\n isRequired\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updatePersonalInfoViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n />\n )}\n\n {isFieldRequired(\"activeDutyStartDate\") &&\n verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n {options.customFormFields?.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updatePersonalInfoViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectPersonalInfoComponent = injectIntl(StepCollectPersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;4CA6lBa,IAAmC,GAnhBR,EACtC,SACA,6BACkC;CAClC,IAAM,IAAY,EAAoB,WAChC,EAAE,oBAAiB,oBAAiB,GAEpC,CAAC,GAA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