@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
package/chunk/SSN-mk_cMbDH.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.258.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Jul 21 2026 16:
|
|
3
|
+
* VERSION: 2.258.0-alpha.3
|
|
4
|
+
* BUILD_TIMESTAMP: 1784652830507
|
|
5
|
+
* BUILD_DATE: Tue Jul 21 2026 16:53:50 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
|
|
7
7
|
*/
|
|
8
8
|
import { yt as e } from "./options-D19mRw5a.js";
|
|
@@ -4,13 +4,13 @@
|
|
|
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 { a as e, n as t, t as n } from "./jsx-runtime-
|
|
13
|
-
import { t as r } from "./FormFieldInputSelect-
|
|
12
|
+
import { a as e, n as t, t as n } from "./jsx-runtime-XNwIsY_N.js";
|
|
13
|
+
import { t as r } from "./FormFieldInputSelect-B9u-1CeU.js";
|
|
14
14
|
//#region src/components/FormFields/State/StateSelectComponent.tsx
|
|
15
15
|
var i = n(), a = e(({ value: e, isErrored: n, options: a, onChange: o, intl: s, placeholder: c = "", label: l = "", isRequired: u = !1, disabled: d = !1 }) => {
|
|
16
16
|
let f = "state";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StateSelectComponent-
|
|
1
|
+
{"version":3,"file":"StateSelectComponent-2QRd98vp.js","names":[],"sources":["../../src/components/FormFields/State/StateSelectComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\nexport const StateSelect = ({\n value,\n isErrored,\n options,\n onChange,\n intl,\n placeholder = \"\",\n label = \"\",\n isRequired = false,\n disabled = false,\n}: InputSelectComponentProps) => {\n const stateFieldId = \"state\";\n\n return (\n <FormFieldInputSelect\n fieldId={stateFieldId}\n value={options.find((option) => option.value === value)}\n refId=\"state\"\n onChange={(state: FormSelectChoice) => onChange(state)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"statePlaceholder\",\n defaultMessage: \"State\",\n })\n }\n label={label || <FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidState\" defaultMessage=\"Invalid state\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n options={options}\n isRequired={isRequired}\n buttonRef=\"inputSelectButtonState\"\n containerId={`sid-${stateFieldId}__select`}\n disabled={disabled}\n autoComplete=\"address-level1\"\n />\n );\n};\n\nexport const StateSelectComponent = injectIntl(StateSelect);\n"],"mappings":";;;aAgDa,IAAuB,GA3CR,EAC1B,UACA,cACA,YACA,aACA,SACA,iBAAc,IACd,WAAQ,IACR,gBAAa,IACb,cAAW,SACoB;CAC/B,IAAM,IAAe;CAErB,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACT,OAAO,EAAQ,MAAM,MAAW,EAAO,UAAU,CAAK;EACtD,OAAM;EACN,WAAW,MAA4B,EAAS,CAAK;EACrD,aACE,KACA,EAAK,kBAAkB;GACrB,IAAI;GACJ,gBAAgB;EAClB,CAAC;EAEH,OAAO,KAAS,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAQ,gBAAe;EAAS,CAAA;EACzE,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAuB,gBAAe;EAAiB,CAAA;EAGpF,6BAA6B,CAAC,CAAC;EACtB;EACG;EACZ,WAAU;EACV,aAAa,OAAO,EAAa;EACvB;EACV,cAAa;CACd,CAAA;AAEL,CAE0D"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.258.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Jul 21 2026 16:
|
|
3
|
+
* VERSION: 2.258.0-alpha.3
|
|
4
|
+
* BUILD_TIMESTAMP: 1784652830507
|
|
5
|
+
* BUILD_DATE: Tue Jul 21 2026 16:53:50 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
|
|
7
7
|
*/
|
|
8
8
|
import { a as e, n as t, t as n } from "./jsx-runtime-BknAqbDq.js";
|
|
9
|
-
import { t as r } from "./FormFieldInputSelect-
|
|
9
|
+
import { t as r } from "./FormFieldInputSelect-Dkf3rE9E.js";
|
|
10
10
|
//#region src/components/FormFields/State/StateSelectComponent.tsx
|
|
11
11
|
var i = n(), a = e(({ value: e, isErrored: n, options: a, onChange: o, intl: s, placeholder: c = "", label: l = "", isRequired: u = !1, disabled: d = !1 }) => {
|
|
12
12
|
let f = "state";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StateSelectComponent-
|
|
1
|
+
{"version":3,"file":"StateSelectComponent-Dyghw0EV.js","names":[],"sources":["../../src/components/FormFields/State/StateSelectComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\nexport const StateSelect = ({\n value,\n isErrored,\n options,\n onChange,\n intl,\n placeholder = \"\",\n label = \"\",\n isRequired = false,\n disabled = false,\n}: InputSelectComponentProps) => {\n const stateFieldId = \"state\";\n\n return (\n <FormFieldInputSelect\n fieldId={stateFieldId}\n value={options.find((option) => option.value === value)}\n refId=\"state\"\n onChange={(state: FormSelectChoice) => onChange(state)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"statePlaceholder\",\n defaultMessage: \"State\",\n })\n }\n label={label || <FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage id=\"errorId.invalidState\" defaultMessage=\"Invalid state\" />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n options={options}\n isRequired={isRequired}\n buttonRef=\"inputSelectButtonState\"\n containerId={`sid-${stateFieldId}__select`}\n disabled={disabled}\n autoComplete=\"address-level1\"\n />\n );\n};\n\nexport const StateSelectComponent = injectIntl(StateSelect);\n"],"mappings":";;;aAgDa,IAAuB,GA3CR,EAC1B,UACA,cACA,YACA,aACA,SACA,iBAAc,IACd,WAAQ,IACR,gBAAa,IACb,cAAW,SACoB;CAC/B,IAAM,IAAe;CAErB,OACE,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACT,OAAO,EAAQ,MAAM,MAAW,EAAO,UAAU,CAAK;EACtD,OAAM;EACN,WAAW,MAA4B,EAAS,CAAK;EACrD,aACE,KACA,EAAK,kBAAkB;GACrB,IAAI;GACJ,gBAAgB;EAClB,CAAC;EAEH,OAAO,KAAS,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAQ,gBAAe;EAAS,CAAA;EACzE,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAuB,gBAAe;EAAiB,CAAA;EAGpF,6BAA6B,CAAC,CAAC;EACtB;EACG;EACZ,WAAU;EACV,aAAa,OAAO,EAAa;EACvB;EACV,cAAa;CACd,CAAA;AAEL,CAE0D"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.258.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Jul 21 2026 16:
|
|
3
|
+
* VERSION: 2.258.0-alpha.3
|
|
4
|
+
* BUILD_TIMESTAMP: 1784652830507
|
|
5
|
+
* BUILD_DATE: Tue Jul 21 2026 16:53:50 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
|
|
7
7
|
*/
|
|
8
8
|
import { Wt as e } from "./options-D19mRw5a.js";
|
|
9
9
|
import { a as t, c as n, n as r, t as i } from "./jsx-runtime-BknAqbDq.js";
|
|
10
10
|
import { V as a } from "../sheerid.js";
|
|
11
|
-
import { t as o } from "./FormFieldInputSelect-
|
|
11
|
+
import { t as o } from "./FormFieldInputSelect-Dkf3rE9E.js";
|
|
12
12
|
//#region src/components/FormFields/Status/StatusComponent.tsx
|
|
13
13
|
var s = /* @__PURE__ */ e(n(), 1), c = i(), l = t(({ value: e, isErrored: t, errorId: n = "invalidStatus", options: i, onChange: l, intl: u, placeholder: d = "", onKeyDown: f = void 0, segmentId: p, disabled: m = !1 }) => {
|
|
14
14
|
let h = `${p}-status`, g = i.length === 1, _ = a("status")?.hidden || a("statuses")?.hidden;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusComponent-
|
|
1
|
+
{"version":3,"file":"StatusComponent-CA-P_mFH.js","names":[],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n}\n\nexport const Status = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n intl,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n}: StatusComponentProps) => {\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n React.useEffect(() => {\n if (hasOnlyOneOption) {\n onChange(options[0]);\n }\n }, []);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder || intl.formatHTMLMessage({ id: \"statusPlaceholder\", defaultMessage: \"Status\" })\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={<FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />}\n disabled={disabled}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n\nexport const StatusComponent = injectIntl(Status);\n"],"mappings":";;;;;4CAmEa,IAAkB,GAtDR,EACrB,UACA,cACA,aAAU,iBACV,YACA,aACA,SACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,SACe;CAC1B,IAAM,IAAU,GAAG,EAAU,UACvB,IAAmB,EAAQ,WAAW,GACtC,IACJ,EAAwB,QAAQ,GAAG,UAAU,EAAwB,UAAU,GAAG;CAYpF,OAVA,EAAM,gBAAgB;EACpB,AAAI,KACF,EAAS,EAAQ,EAAE;CAEvB,GAAG,CAAC,CAAC,GAED,KAAoB,IACf,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACA;EACT,WAAW,MAA6B,EAAS,CAAM;EAC5C;EACX,OAAO,EAAQ,MAAM,MAAW,EAAO,WAAW,KAAS,EAAM,MAAM;EACvE,aACE,KAAe,EAAK,kBAAkB;GAAE,IAAI;GAAqB,gBAAgB;EAAS,CAAC;EAE7F,6BAA6B,CAAC,CAAC;EAC/B,YAAA;EACA,aAAa,OAAO;EACpB,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAS,gBAAe;EAAU,CAAA;EACxD;EACV,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAI,WAAW;GACf,gBAAgB,WAAW,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL,CAEgD"}
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.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 as t, c as n, n as r, t as i } from "./jsx-runtime-
|
|
12
|
+
import { Ht as e } from "./intl-aUfdCP8t.js";
|
|
13
|
+
import { a as t, c as n, n as r, t as i } from "./jsx-runtime-XNwIsY_N.js";
|
|
14
14
|
import { B as a } from "../_mysheerid-preview.js";
|
|
15
|
-
import { t as o } from "./FormFieldInputSelect-
|
|
15
|
+
import { t as o } from "./FormFieldInputSelect-B9u-1CeU.js";
|
|
16
16
|
//#region src/components/FormFields/Status/StatusComponent.tsx
|
|
17
17
|
var s = /* @__PURE__ */ e(n(), 1), c = i(), l = t(({ value: e, isErrored: t, errorId: n = "invalidStatus", options: i, onChange: l, intl: u, placeholder: d = "", onKeyDown: f = void 0, segmentId: p, disabled: m = !1 }) => {
|
|
18
18
|
let h = `${p}-status`, g = i.length === 1, _ = a("status")?.hidden || a("statuses")?.hidden;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusComponent-
|
|
1
|
+
{"version":3,"file":"StatusComponent-D05R_Lpo.js","names":[],"sources":["../../src/components/FormFields/Status/StatusComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { type FormSelectChoice, type InputSelectComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldInputSelect } from \"../FormFieldInputSelect/FormFieldInputSelect\";\n\ninterface StatusComponentProps<T = FormSelectChoice> extends InputSelectComponentProps<T> {\n segmentId: string;\n errorId?: string;\n}\n\nexport const Status = ({\n value,\n isErrored,\n errorId = \"invalidStatus\",\n options,\n onChange,\n intl,\n placeholder = \"\",\n onKeyDown = undefined,\n segmentId,\n disabled = false,\n}: StatusComponentProps) => {\n const inputId = `${segmentId}-status`;\n const hasOnlyOneOption = options.length === 1;\n const isFieldHidden =\n getFieldConfigByFieldId(\"status\")?.hidden || getFieldConfigByFieldId(\"statuses\")?.hidden;\n\n React.useEffect(() => {\n if (hasOnlyOneOption) {\n onChange(options[0]);\n }\n }, []);\n\n if (hasOnlyOneOption || isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldInputSelect\n fieldId={inputId}\n options={options}\n onChange={(status: FormSelectChoice) => onChange(status)}\n onKeyDown={onKeyDown}\n value={options.find((option) => option.value === (value && value.value))}\n placeholder={\n placeholder || intl.formatHTMLMessage({ id: \"statusPlaceholder\", defaultMessage: \"Status\" })\n }\n showPlaceholderAndHideLabel={!!placeholder}\n isRequired\n containerId={`sid-${inputId}`}\n label={<FormattedHTMLMessage id=\"status\" defaultMessage=\"Status\" />}\n disabled={disabled}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id={`errorId.${errorId}`}\n defaultMessage={`Invalid ${segmentId} status`}\n />\n )\n }\n />\n );\n};\n\nexport const StatusComponent = injectIntl(Status);\n"],"mappings":";;;;;4CAmEa,IAAkB,GAtDR,EACrB,UACA,cACA,aAAU,iBACV,YACA,aACA,SACA,iBAAc,IACd,eAAY,KAAA,GACZ,cACA,cAAW,SACe;CAC1B,IAAM,IAAU,GAAG,EAAU,UACvB,IAAmB,EAAQ,WAAW,GACtC,IACJ,EAAwB,QAAQ,GAAG,UAAU,EAAwB,UAAU,GAAG;CAYpF,OAVA,EAAM,gBAAgB;EACpB,AAAI,KACF,EAAS,EAAQ,EAAE;CAEvB,GAAG,CAAC,CAAC,GAED,KAAoB,IACf,OAIP,iBAAA,GAAA,EAAA,KAAC,GAAD;EACE,SAAS;EACA;EACT,WAAW,MAA6B,EAAS,CAAM;EAC5C;EACX,OAAO,EAAQ,MAAM,MAAW,EAAO,WAAW,KAAS,EAAM,MAAM;EACvE,aACE,KAAe,EAAK,kBAAkB;GAAE,IAAI;GAAqB,gBAAgB;EAAS,CAAC;EAE7F,6BAA6B,CAAC,CAAC;EAC/B,YAAA;EACA,aAAa,OAAO;EACpB,OAAO,iBAAA,GAAA,EAAA,KAAC,GAAD;GAAsB,IAAG;GAAS,gBAAe;EAAU,CAAA;EACxD;EACV,cACE,KACE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACE,IAAI,WAAW;GACf,gBAAgB,WAAW,EAAU;EACtC,CAAA;CAGN,CAAA;AAEL,CAEgD"}
|
|
@@ -4,34 +4,34 @@
|
|
|
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 { a as u } from "./refs
|
|
12
|
+
import { Lt as e, bt as t, jt as n, p as r, s as i } 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 } from "./FormFooterComponent-CbppOmMP.js";
|
|
15
|
+
import { a as u } from "./refs--ECXpllB.js";
|
|
16
16
|
import { $ as d, B as f, F as p, G as m, W as h, et as g, n as _ } from "../_mysheerid-preview.js";
|
|
17
|
-
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-
|
|
18
|
-
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-
|
|
19
|
-
import { t as E } from "./BirthDateComponent-
|
|
20
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
21
|
-
import { t as O } from "./ExtraMessage-
|
|
22
|
-
import { t as k } from "./ChangeLocaleComponent-
|
|
23
|
-
import { t as A } from "./PersonalInfoStepWrapper-
|
|
24
|
-
import { n as j, r as M, t as N } from "./DischargeDateComponent-
|
|
25
|
-
import { t as P } from "./StatusComponent-
|
|
26
|
-
import { t as F } from "./militaryStepHelpers-
|
|
17
|
+
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-Cs2wOhj5.js";
|
|
18
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-CdweyyxM.js";
|
|
19
|
+
import { t as E } from "./BirthDateComponent-C787gXja.js";
|
|
20
|
+
import { t as D } from "./CountryComponentWrapper-BV78vTBy.js";
|
|
21
|
+
import { t as O } from "./ExtraMessage-C8bkhYx2.js";
|
|
22
|
+
import { t as k } from "./ChangeLocaleComponent-D1iUYYBG.js";
|
|
23
|
+
import { t as A } from "./PersonalInfoStepWrapper-DC_FCdYS.js";
|
|
24
|
+
import { n as j, r as M, t as N } from "./DischargeDateComponent-Dhp63XO4.js";
|
|
25
|
+
import { t as P } from "./StatusComponent-D05R_Lpo.js";
|
|
26
|
+
import { t as F } from "./militaryStepHelpers-qMYyQgVn.js";
|
|
27
27
|
o();
|
|
28
28
|
var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
29
|
-
let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = p(o, a), H = c.localeChoice.value, U =
|
|
29
|
+
let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = p(o, a), H = c.localeChoice.value, U = i(), W = (e, t) => {
|
|
30
30
|
o.updateViewModel(F(e, t, o, V));
|
|
31
31
|
};
|
|
32
|
-
return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep ===
|
|
33
|
-
let
|
|
34
|
-
|
|
32
|
+
return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep === n.collectMilitaryStatus) && (() => {
|
|
33
|
+
let t = r(c, () => {});
|
|
34
|
+
e.info("StepMilitaryStatusComponent submitting form"), o.submitStep(n.collectMilitaryStatus, t, o.previousVerificationResponse || o.verificationResponse);
|
|
35
35
|
})(), u(), /* @__PURE__ */ (0, I.jsxs)(A, {
|
|
36
36
|
verificationService: o,
|
|
37
37
|
step: z.currentStep,
|
|
@@ -49,7 +49,7 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
|
49
49
|
segmentId: "military",
|
|
50
50
|
value: {
|
|
51
51
|
value: c.status,
|
|
52
|
-
label: h(a, c.status,
|
|
52
|
+
label: h(a, c.status, t)
|
|
53
53
|
},
|
|
54
54
|
isErrored: !!R.status,
|
|
55
55
|
errorId: "invalidMilitaryStatus",
|
|
@@ -166,7 +166,7 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
|
166
166
|
isErrored: !!R.captchaToken
|
|
167
167
|
}),
|
|
168
168
|
/* @__PURE__ */ (0, I.jsx)(T, {
|
|
169
|
-
step:
|
|
169
|
+
step: n.collectActiveMilitaryPersonalInfo,
|
|
170
170
|
verificationService: o,
|
|
171
171
|
viewModel: c,
|
|
172
172
|
failedInstantMatch: B,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-BjomAUg2.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\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 { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\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 updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAIb,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;EAC3B,WAAU;YAHZ,CAKE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACuB;GACrB,qBAAoB;EACrB,CAAA,GAED,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA;GACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GACA,IACC,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,WAAU;IACV,OAAO;KACL,OAAO,EAAU;KACjB,OAAO,EAAe,GAAM,EAAU,QAAQ,CAAiC;IACjF;IACA,WAAW,C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IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAA8B,YAAY;MACxC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA0C,EAAW,CAA8B"}
|
|
1
|
+
{"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-8ThEBNF0.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\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 { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\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 updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,g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AAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA0C,EAAW,CAA8B"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.258.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Jul 21 2026 16:
|
|
3
|
+
* VERSION: 2.258.0-alpha.3
|
|
4
|
+
* BUILD_TIMESTAMP: 1784652830507
|
|
5
|
+
* BUILD_DATE: Tue Jul 21 2026 16:53:50 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
|
|
7
7
|
*/
|
|
8
8
|
import { Bt as e, Ft as t, c as n, n as r, wt as i } from "./options-D19mRw5a.js";
|
|
9
9
|
import { a, c as o, n as s, t as c } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
-
import {
|
|
10
|
+
import { x as l } from "./FormFooterComponent-QN5kZ4hU.js";
|
|
11
11
|
import { a as u } from "./refs-Bbe0gnJ3.js";
|
|
12
12
|
import { G as d, I as f, K as p, V as m, et as h, r as g, tt as _ } from "../sheerid.js";
|
|
13
|
-
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-
|
|
13
|
+
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-WnBWWmBW.js";
|
|
14
14
|
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
|
|
15
|
-
import { t as E } from "./BirthDateComponent-
|
|
16
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
17
|
-
import { t as O } from "./ExtraMessage-
|
|
18
|
-
import { t as k } from "./ChangeLocaleComponent-
|
|
19
|
-
import { t as A } from "./PersonalInfoStepWrapper-
|
|
20
|
-
import { n as j, r as M, t as N } from "./DischargeDateComponent-
|
|
21
|
-
import { t as P } from "./StatusComponent-
|
|
15
|
+
import { t as E } from "./BirthDateComponent-BqZned-E.js";
|
|
16
|
+
import { t as D } from "./CountryComponentWrapper-bzcjcPxz.js";
|
|
17
|
+
import { t as O } from "./ExtraMessage-MKBXSbM_.js";
|
|
18
|
+
import { t as k } from "./ChangeLocaleComponent-DOa9NZyI.js";
|
|
19
|
+
import { t as A } from "./PersonalInfoStepWrapper-BgWJSycH.js";
|
|
20
|
+
import { n as j, r as M, t as N } from "./DischargeDateComponent-bYahQG3V.js";
|
|
21
|
+
import { t as P } from "./StatusComponent-CA-P_mFH.js";
|
|
22
22
|
import { t as F } from "./militaryStepHelpers-UF-7lF1f.js";
|
|
23
23
|
o();
|
|
24
24
|
var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-hM8dAepU.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\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 { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\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 updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC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vQndd5k.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\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 { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\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 updateActiveMilitaryViewModel(\"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.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAIb,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;EAC3B,WAAU;YAHZ,CAKE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACuB;GACrB,qBAAoB;EACrB,CAAA,GAED,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA;GACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GACA,IACC,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,WAAU;IACV,OAAO;KACL,OAAO,EAAU;KACjB,OAAO,EAAe,GAAM,EAAU,QAAQ,CAAiC;IACjF;IACA,WAAW,CAAC,CAAC,EAAsB;IACnC,SAA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CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAA8B,YAAY;MACxC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA0C,EAAW,CAA8B"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.258.0-alpha.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Tue Jul 21 2026 16:
|
|
3
|
+
* VERSION: 2.258.0-alpha.3
|
|
4
|
+
* BUILD_TIMESTAMP: 1784652830507
|
|
5
|
+
* BUILD_DATE: Tue Jul 21 2026 16:53:50 GMT+0000 (Coordinated Universal Time)
|
|
6
6
|
* BUILD_COMMIT: 946c3bd79f3ff44297f42e44d32fdf3ffdd6b8da
|
|
7
7
|
*/
|
|
8
8
|
import { Ft as e, Wt as t, ct as n, n as r } from "./options-D19mRw5a.js";
|
|
9
9
|
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-BknAqbDq.js";
|
|
10
|
-
import {
|
|
10
|
+
import { x as c } from "./FormFooterComponent-QN5kZ4hU.js";
|
|
11
11
|
import { K as l, V as u, Y as d, et as f, j as p, r as m, z as h } from "../sheerid.js";
|
|
12
|
-
import { t as g } from "./useCollectFieldsEndpoint-
|
|
13
|
-
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-
|
|
12
|
+
import { t as g } from "./useCollectFieldsEndpoint-C4UDrIxG.js";
|
|
13
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-WnBWWmBW.js";
|
|
14
14
|
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-Ywai8bYu.js";
|
|
15
|
-
import { t as T } from "./BirthDateComponent-
|
|
15
|
+
import { t as T } from "./BirthDateComponent-BqZned-E.js";
|
|
16
16
|
import { t as E } from "./PostalCodeComponent-C97fgZFI.js";
|
|
17
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
17
|
+
import { t as D } from "./CountryComponentWrapper-bzcjcPxz.js";
|
|
18
18
|
import { t as O } from "./City-CmO85Z9x.js";
|
|
19
19
|
import { t as k } from "./AddressComponent-DMwOmjiG.js";
|
|
20
|
-
import { t as A } from "./ExtraMessage-
|
|
21
|
-
import { t as j } from "./ChangeLocaleComponent-
|
|
22
|
-
import { t as M } from "./PersonalInfoStepWrapper-
|
|
20
|
+
import { t as A } from "./ExtraMessage-MKBXSbM_.js";
|
|
21
|
+
import { t as j } from "./ChangeLocaleComponent-DOa9NZyI.js";
|
|
22
|
+
import { t as M } from "./PersonalInfoStepWrapper-BgWJSycH.js";
|
|
23
23
|
//#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
|
|
24
24
|
var N = /* @__PURE__ */ t(a(), 1), P = s(), F = i(({ verificationService: t, intl: i }) => {
|
|
25
25
|
let a = t.viewModel, { fieldValidationErrors: s } = t, F = t.verificationResponse, I = c(F), L = n(() => a.countryChoice.value, h(p(t.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || t.programTheme.isSmsNotifierConfigured || t.programTheme.smsLoopEnabled, B = L !== "US" || t.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepAgePersonalInfo-BqtUw-Nv.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\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 { 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 { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\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={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\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 updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\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 <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\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 </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE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AD;IACE,YAAY;IACZ,OAAO,EAAU;IACjB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAEtB,AADA,EAAmB,eAAe,CAAQ,GAC1C,EAAqC,eAAe,GAAU,CAAmB;IACnF;IACA,qBAAqB,EAAU,iBAAiB,EAAU,cAAc;IACxE,UAAU,EAAwB,aAAa,GAAG;GACnD,CAAA,IACC;GAEH,EAAQ,iBAAiB,KAAK,MAC7B,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAyB;IAA6B;GAAsB,CAAA,CAC7E;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAAmB,YAAY;MAC7B,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EAAqC,sBAAsB,GAAU,CAAmB;IAC1F;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GACD,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACkB;;AAEzB,CAE0E"}
|
|
1
|
+
{"version":3,"file":"StepAgePersonalInfo-70S216_Z.js","names":[],"sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, type InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { getSafe } from \"@jslib/shared/utils/getSafe\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type VerificationService,\n type AgePersonalInfoViewModel,\n type AgePersonalInfoResponse,\n type FormSelectChoice,\n type Country,\n type FieldDescription,\n type CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\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 { 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 { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\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={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\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 updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\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 <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\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 </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"mappings":";;;;;;;;;;;;;;;;4CA6Pa,IAA+B,GAxMf,EAAE,wBAAqB,cAA8C;CAChG,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IAAuB,EAAoB,sBAC3C,IAAqB,EAAsB,CAAoB,GAO/D,IAAmB,QAAc,EAAU,cAAc,OAD7D,EAL0D,EAC1D,EAAoB,cACpB,CAGwB,CAC4C,EAAqB,KAAK,GAC1F,IACJ,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAa,CAAC,IAAI,CAAC,GAGnD,IACJ,MAAqB,QACrB,EAAoB,aAAa,2BACjC,EAAoB,aAAa,gBAC7B,IACJ,MAAqB,QAAQ,EAAoB,aAAa,gBAE1D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW;CAE3B,AACE,CAAC,EAAsB,eACvB,EAAqB,YACrB,EAAqB,SAAS,SAAS,oBAAoB,KAE3D,EAAoB,4BAA4B;EAC9C,GAAG;EACH,aAAa;CACf,CAAC;CAGH,IAAM,KAAsB,GAAqC,MAAe;EAC9E,IAAM,IAAsC,EAAsB,GAAW,GAAK,CAAK;EACvF,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,EAAE,uBAAoB,EAAyB;EACnD,gBAAgB,EAAqB;EACrC,aAAa,EAAqB;EAClC;EACA;CACF,CAAC;CAOD,OALA,EAAM,gBAAgB;EAEpB,EAAqC,eAAe,EAAU,aAAa,CAAmB;CAChG,GAAG,C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