@sheerid/jslib-nightly 2.262.0-alpha.3 → 2.264.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +1515 -1401
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-C4EQ1638.js → AddressComponent-0vaEURVZ.js} +6 -6
- package/chunk/{AddressComponent-BEOTwoo8.js.map → AddressComponent-0vaEURVZ.js.map} +1 -1
- package/chunk/{AddressComponent-BEOTwoo8.js → AddressComponent-D9R5iYEq.js} +6 -6
- package/chunk/{AddressComponent-C4EQ1638.js.map → AddressComponent-D9R5iYEq.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BQ8ZM0VA.js → AnnouncingHeader-2fKF8wpi.js} +6 -6
- package/chunk/{AnnouncingHeader-BQ8ZM0VA.js.map → AnnouncingHeader-2fKF8wpi.js.map} +1 -1
- package/chunk/{AnnouncingHeader-BxnHzcl6.js → AnnouncingHeader-C46Kp2B-.js} +6 -6
- package/chunk/{AnnouncingHeader-BxnHzcl6.js.map → AnnouncingHeader-C46Kp2B-.js.map} +1 -1
- package/chunk/{ApiUrls-nZXwhWiR.js → ApiUrls-4OKW_tWC.js} +6 -6
- package/chunk/{ApiUrls-CV7PU5EV.js.map → ApiUrls-4OKW_tWC.js.map} +1 -1
- package/chunk/{ApiUrls-CV7PU5EV.js → ApiUrls-BAEadEoV.js} +13 -13
- package/chunk/{ApiUrls-nZXwhWiR.js.map → ApiUrls-BAEadEoV.js.map} +1 -1
- package/chunk/{BirthDateComponent-DW-1r_MV.js → BirthDateComponent-BD9ZmOZi.js} +7 -7
- package/chunk/{BirthDateComponent-DW-1r_MV.js.map → BirthDateComponent-BD9ZmOZi.js.map} +1 -1
- package/chunk/{BirthDateComponent-Dn4Pkaiz.js → BirthDateComponent-ts-uQcFv.js} +7 -7
- package/chunk/{BirthDateComponent-Dn4Pkaiz.js.map → BirthDateComponent-ts-uQcFv.js.map} +1 -1
- package/chunk/{CaptchaComponent-6YC__tfs.js → CaptchaComponent-BsP6z6fV.js} +151 -151
- package/chunk/{CaptchaComponent-6YC__tfs.js.map → CaptchaComponent-BsP6z6fV.js.map} +1 -1
- package/chunk/{CaptchaComponent-Eh4up7Aj.js → CaptchaComponent-Bv3pBtOL.js} +151 -151
- package/chunk/{CaptchaComponent-Eh4up7Aj.js.map → CaptchaComponent-Bv3pBtOL.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-Brii1NXA.js → ChangeLocaleComponent-CISzBLcA.js} +7 -7
- package/chunk/{ChangeLocaleComponent-Brii1NXA.js.map → ChangeLocaleComponent-CISzBLcA.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-CiTWGwun.js → ChangeLocaleComponent-DxqwPe0W.js} +7 -7
- package/chunk/{ChangeLocaleComponent-CiTWGwun.js.map → ChangeLocaleComponent-DxqwPe0W.js.map} +1 -1
- package/chunk/{City-DSfS926t.js → City-B6J8thJW.js} +6 -6
- package/chunk/{City-B2YRxbl9.js.map → City-B6J8thJW.js.map} +1 -1
- package/chunk/{City-B2YRxbl9.js → City-CLyjXYQj.js} +6 -6
- package/chunk/{City-DSfS926t.js.map → City-CLyjXYQj.js.map} +1 -1
- package/chunk/{CollegeNameComponent-DU90yMx3.js → CollegeNameComponent-CBibfBPl.js} +8 -8
- package/chunk/{CollegeNameComponent-DU90yMx3.js.map → CollegeNameComponent-CBibfBPl.js.map} +1 -1
- package/chunk/{CollegeNameComponent-uGitSOUf.js → CollegeNameComponent-CQ8GCcAQ.js} +8 -8
- package/chunk/{CollegeNameComponent-uGitSOUf.js.map → CollegeNameComponent-CQ8GCcAQ.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-RewXk0sK.js → CopyToClipboardComponent-C3q4w3A8.js} +6 -6
- package/chunk/{CopyToClipboardComponent-28EiBssf.js.map → CopyToClipboardComponent-C3q4w3A8.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-28EiBssf.js → CopyToClipboardComponent-mgX-iqqn.js} +6 -6
- package/chunk/{CopyToClipboardComponent-RewXk0sK.js.map → CopyToClipboardComponent-mgX-iqqn.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-3OT-MoBx.js → CountryComponentWrapper-C6jxabRh.js} +24 -24
- package/chunk/{CountryComponentWrapper-3OT-MoBx.js.map → CountryComponentWrapper-C6jxabRh.js.map} +1 -1
- package/chunk/CountryComponentWrapper-D4AKnv7H.js +74 -0
- package/chunk/{CountryComponentWrapper-DKuB4eQA.js.map → CountryComponentWrapper-D4AKnv7H.js.map} +1 -1
- package/chunk/{DischargeDateComponent-1-3M2rHI.js → DischargeDateComponent-DD8bF1FM.js} +18 -18
- package/chunk/{DischargeDateComponent-02d47HpL.js.map → DischargeDateComponent-DD8bF1FM.js.map} +1 -1
- package/chunk/{DischargeDateComponent-02d47HpL.js → DischargeDateComponent-G2t2Wff_.js} +16 -16
- package/chunk/{DischargeDateComponent-1-3M2rHI.js.map → DischargeDateComponent-G2t2Wff_.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DnmKchNM.js → DriverLicenseNumberComponent-5Zli2AqS.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-CEUybEf8.js.map → DriverLicenseNumberComponent-5Zli2AqS.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-CEUybEf8.js → DriverLicenseNumberComponent-Cn9W9CIk.js} +6 -6
- package/chunk/{DriverLicenseNumberComponent-DnmKchNM.js.map → DriverLicenseNumberComponent-Cn9W9CIk.js.map} +1 -1
- package/chunk/{EmailLoopPending-CauMM4y6.js → EmailLoopPending-BnvmAmWy.js} +18 -18
- package/chunk/{EmailLoopPending-CcT00POj.js.map → EmailLoopPending-BnvmAmWy.js.map} +1 -1
- package/chunk/{EmailLoopPending-CcT00POj.js → EmailLoopPending-CClIwdkr.js} +22 -22
- package/chunk/{EmailLoopPending-CauMM4y6.js.map → EmailLoopPending-CClIwdkr.js.map} +1 -1
- package/chunk/{ExtraMessage-BppIwzQ5.js → ExtraMessage-C9Tya8_-.js} +7 -7
- package/chunk/{ExtraMessage-BppIwzQ5.js.map → ExtraMessage-C9Tya8_-.js.map} +1 -1
- package/chunk/{ExtraMessage-LK23_Ou9.js → ExtraMessage-DuHSW-UZ.js} +7 -7
- package/chunk/{ExtraMessage-LK23_Ou9.js.map → ExtraMessage-DuHSW-UZ.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BTBEk0SV.js → FirstResponderOrganizationComponent-DP2GOIw6.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-BTBEk0SV.js.map → FirstResponderOrganizationComponent-DP2GOIw6.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BHHEnu32.js → FirstResponderOrganizationComponent-JSA5K2D2.js} +7 -7
- package/chunk/{FirstResponderOrganizationComponent-BHHEnu32.js.map → FirstResponderOrganizationComponent-JSA5K2D2.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-C6RnAJlO.js → FormFieldInputSelect-Cigt3nT_.js} +7 -7
- package/chunk/{FormFieldInputSelect-C6RnAJlO.js.map → FormFieldInputSelect-Cigt3nT_.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-Cp0KLU3t.js → FormFieldInputSelect-CxtZEq4Z.js} +7 -7
- package/chunk/{FormFieldInputSelect-Cp0KLU3t.js.map → FormFieldInputSelect-CxtZEq4Z.js.map} +1 -1
- package/chunk/{FormFieldLayout-BGlrOIA_.js → FormFieldLayout-CM-yJADZ.js} +6 -6
- package/chunk/{FormFieldLayout-ByyE03RB.js.map → FormFieldLayout-CM-yJADZ.js.map} +1 -1
- package/chunk/{FormFieldLayout-ByyE03RB.js → FormFieldLayout-x7EaxmB4.js} +6 -6
- package/chunk/{FormFieldLayout-BGlrOIA_.js.map → FormFieldLayout-x7EaxmB4.js.map} +1 -1
- package/chunk/{FormFieldText-D85-RYTm.js → FormFieldText-ByMirgSm.js} +7 -7
- package/chunk/{FormFieldText-D85-RYTm.js.map → FormFieldText-ByMirgSm.js.map} +1 -1
- package/chunk/{FormFieldText-ZGZooQh1.js → FormFieldText-Cer6Ul3T.js} +7 -7
- package/chunk/{FormFieldText-ZGZooQh1.js.map → FormFieldText-Cer6Ul3T.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DH4pE3j0.js → FormFieldTypeahead-Cvvyy43k.js} +47 -47
- package/chunk/{FormFieldTypeahead-DH4pE3j0.js.map → FormFieldTypeahead-Cvvyy43k.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-DZzZXvKC.js → FormFieldTypeahead-gPVkMR97.js} +136 -136
- package/chunk/{FormFieldTypeahead-DZzZXvKC.js.map → FormFieldTypeahead-gPVkMR97.js.map} +1 -1
- package/chunk/{FormFooterComponent-Cgu8_872.js → FormFooterComponent-Cw_RFaJx.js} +2278 -2209
- package/chunk/FormFooterComponent-Cw_RFaJx.js.map +1 -0
- package/chunk/{FormFooterComponent-DB0-FOF0.js → FormFooterComponent-DGChoxIB.js} +1682 -1601
- package/chunk/FormFooterComponent-DGChoxIB.js.map +1 -0
- package/chunk/{FormSelectChoice-C_wNKkAd.js → FormSelectChoice-B7U5PPTN.js} +9 -13
- package/chunk/{FormSelectChoice-C_wNKkAd.js.map → FormSelectChoice-B7U5PPTN.js.map} +1 -1
- package/chunk/{FormSelectChoice-DZ3D1_pD.js → FormSelectChoice-C6yHmfa6.js} +13 -9
- package/chunk/{FormSelectChoice-DZ3D1_pD.js.map → FormSelectChoice-C6yHmfa6.js.map} +1 -1
- package/chunk/{InputText-DQ-OK_iF.js → InputText-CFKx7skU.js} +7 -7
- package/chunk/{InputText-CZCqykcE.js.map → InputText-CFKx7skU.js.map} +1 -1
- package/chunk/{InputText-CZCqykcE.js → InputText-rG2lFIuH.js} +7 -7
- package/chunk/{InputText-DQ-OK_iF.js.map → InputText-rG2lFIuH.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-BQmqXV5V.js → LicensedProfessionalOrganizationComponent-CHaB-ihc.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-BQmqXV5V.js.map → LicensedProfessionalOrganizationComponent-CHaB-ihc.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-DlZsN8Ah.js → LicensedProfessionalOrganizationComponent-FXL2ofiw.js} +7 -7
- package/chunk/{LicensedProfessionalOrganizationComponent-DlZsN8Ah.js.map → LicensedProfessionalOrganizationComponent-FXL2ofiw.js.map} +1 -1
- package/chunk/{LogoComponent-DfYUd29W.js → LogoComponent-40n5vaD0.js} +6 -6
- package/chunk/{LogoComponent-DLw4pZDn.js.map → LogoComponent-40n5vaD0.js.map} +1 -1
- package/chunk/{LogoComponent-DLw4pZDn.js → LogoComponent-lTeCnowz.js} +6 -6
- package/chunk/{LogoComponent-DfYUd29W.js.map → LogoComponent-lTeCnowz.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-Bc9lkn66.js → LowIncomeOrganizationComponent-CmH7OfBz.js} +16 -16
- package/chunk/{LowIncomeOrganizationComponent-Bc9lkn66.js.map → LowIncomeOrganizationComponent-CmH7OfBz.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CUYnhGeZ.js → LowIncomeOrganizationComponent-DA0G8AhH.js} +16 -16
- package/chunk/{LowIncomeOrganizationComponent-CUYnhGeZ.js.map → LowIncomeOrganizationComponent-DA0G8AhH.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-Bei1ny_n.js → MedicalProfessionalOrganizationComponent-8RySy8zK.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-Bei1ny_n.js.map → MedicalProfessionalOrganizationComponent-8RySy8zK.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-CpY5QvlU.js → MedicalProfessionalOrganizationComponent-C1qcSelB.js} +7 -7
- package/chunk/{MedicalProfessionalOrganizationComponent-CpY5QvlU.js.map → MedicalProfessionalOrganizationComponent-C1qcSelB.js.map} +1 -1
- package/chunk/{MemberIdComponent-ByLsGDO-.js → MemberIdComponent-BJC0oeuE.js} +6 -6
- package/chunk/{MemberIdComponent-ByLsGDO-.js.map → MemberIdComponent-BJC0oeuE.js.map} +1 -1
- package/chunk/{MemberIdComponent-DlhBKfuU.js → MemberIdComponent-F3J2XAp3.js} +6 -6
- package/chunk/{MemberIdComponent-DlhBKfuU.js.map → MemberIdComponent-F3J2XAp3.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BHf7Ie57.js → MembershipOrganizationComponent-Bh5LYj6P.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-BERnC4LT.js.map → MembershipOrganizationComponent-Bh5LYj6P.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BERnC4LT.js → MembershipOrganizationComponent-DcD5aDap.js} +7 -7
- package/chunk/{MembershipOrganizationComponent-BHf7Ie57.js.map → MembershipOrganizationComponent-DcD5aDap.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-clzrobVs.js → PersonalInfoStepSubmitButton-BS7TwIFn.js} +16 -16
- package/chunk/{PersonalInfoStepSubmitButton-DuUlUXYD.js.map → PersonalInfoStepSubmitButton-BS7TwIFn.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-DuUlUXYD.js → PersonalInfoStepSubmitButton-IMW1ww2e.js} +19 -19
- package/chunk/{PersonalInfoStepSubmitButton-clzrobVs.js.map → PersonalInfoStepSubmitButton-IMW1ww2e.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-D3KT38ON.js → PersonalInfoStepWrapper-BaskUzAh.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-D3KT38ON.js.map → PersonalInfoStepWrapper-BaskUzAh.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-D8lig4zW.js → PersonalInfoStepWrapper-BlPhTEPX.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-D8lig4zW.js.map → PersonalInfoStepWrapper-BlPhTEPX.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BByC-zpa.js → PostalCodeComponent-BDFy_9yi.js} +6 -6
- package/chunk/{PostalCodeComponent-BByC-zpa.js.map → PostalCodeComponent-BDFy_9yi.js.map} +1 -1
- package/chunk/{PostalCodeComponent-COaeeNXA.js → PostalCodeComponent-DuEPciUA.js} +6 -6
- package/chunk/{PostalCodeComponent-COaeeNXA.js.map → PostalCodeComponent-DuEPciUA.js.map} +1 -1
- package/chunk/{SSN-Dp0h787p.js → SSN-DYqbsF85.js} +7 -7
- package/chunk/{SSN-Dp0h787p.js.map → SSN-DYqbsF85.js.map} +1 -1
- package/chunk/{SSN-iGqsPg4C.js → SSN-DvsdFp8R.js} +7 -7
- package/chunk/{SSN-iGqsPg4C.js.map → SSN-DvsdFp8R.js.map} +1 -1
- package/chunk/{StateSelectComponent-M54AviWD.js → StateSelectComponent-8iSjI0pU.js} +6 -6
- package/chunk/{StateSelectComponent-M54AviWD.js.map → StateSelectComponent-8iSjI0pU.js.map} +1 -1
- package/chunk/{StateSelectComponent-xOKtNAUf.js → StateSelectComponent-DJZiu3Dc.js} +6 -6
- package/chunk/{StateSelectComponent-xOKtNAUf.js.map → StateSelectComponent-DJZiu3Dc.js.map} +1 -1
- package/chunk/{StatusComponent-DPhnz8ZI.js → StatusComponent-BAX61tmd.js} +7 -7
- package/chunk/{StatusComponent-DPhnz8ZI.js.map → StatusComponent-BAX61tmd.js.map} +1 -1
- package/chunk/{StatusComponent-Dxna8rvR.js → StatusComponent-OCM9IXu5.js} +7 -7
- package/chunk/{StatusComponent-Dxna8rvR.js.map → StatusComponent-OCM9IXu5.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-FFvDeDRG.js → StepActiveMilitaryPersonalInfoComponent-BCwCEhBl.js} +24 -24
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-3Mbij1P9.js.map → StepActiveMilitaryPersonalInfoComponent-BCwCEhBl.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-3Mbij1P9.js → StepActiveMilitaryPersonalInfoComponent-CE0WootL.js} +23 -23
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-FFvDeDRG.js.map → StepActiveMilitaryPersonalInfoComponent-CE0WootL.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-Dux-oXiF.js → StepAgePersonalInfo-CWr7uOVB.js} +18 -18
- package/chunk/{StepAgePersonalInfo-DG9Hb5S-.js.map → StepAgePersonalInfo-CWr7uOVB.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-DG9Hb5S-.js → StepAgePersonalInfo-D-Wagwf-.js} +18 -18
- package/chunk/{StepAgePersonalInfo-Dux-oXiF.js.map → StepAgePersonalInfo-D-Wagwf-.js.map} +1 -1
- package/chunk/{StepCard-BnBrK5Xn.js → StepCard-Bp4YtbLH.js} +5 -5
- package/chunk/{StepCard-B0Stfmvc.js.map → StepCard-Bp4YtbLH.js.map} +1 -1
- package/chunk/{StepCard-B0Stfmvc.js → StepCard-Bzt1Ked6.js} +5 -5
- package/chunk/{StepCard-BnBrK5Xn.js.map → StepCard-Bzt1Ked6.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CUfJd9lR.js → StepCollectIdentifier-CwJ0jHqP.js} +8 -8
- package/chunk/{StepCollectIdentifier-CUfJd9lR.js.map → StepCollectIdentifier-CwJ0jHqP.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-nslQ_uiD.js → StepCollectIdentifier-rPRXBe3J.js} +10 -10
- package/chunk/{StepCollectIdentifier-nslQ_uiD.js.map → StepCollectIdentifier-rPRXBe3J.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-C07OyVkL.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-Csz5hXck.js → StepCollectMilitaryStatusComponent-gBX1mm1_.js} +5 -5
- package/chunk/{StepCollectPersonalInfo-DFocRlxy.js → StepCollectPersonalInfo-BXAicOZ_.js} +98 -98
- package/chunk/{StepCollectPersonalInfo-BdYq3OaA.js.map → StepCollectPersonalInfo-BXAicOZ_.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-BdYq3OaA.js → StepCollectPersonalInfo-BkAkFjvN.js} +131 -131
- package/chunk/{StepCollectPersonalInfo-DFocRlxy.js.map → StepCollectPersonalInfo-BkAkFjvN.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-DIu2DNgh.js → StepCompleteAuthentication-D5eAqv1G.js} +7 -7
- package/chunk/{StepCompleteAuthentication-CbAA1cG8.js.map → StepCompleteAuthentication-D5eAqv1G.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-CbAA1cG8.js → StepCompleteAuthentication-Dn2a9n2B.js} +7 -7
- package/chunk/{StepCompleteAuthentication-DIu2DNgh.js.map → StepCompleteAuthentication-Dn2a9n2B.js.map} +1 -1
- package/chunk/{StepConsolation-CPppVczj.js → StepConsolation-CGmjaDbJ.js} +9 -9
- package/chunk/{StepConsolation-CPppVczj.js.map → StepConsolation-CGmjaDbJ.js.map} +1 -1
- package/chunk/{StepConsolation-Ga2Deo3F.js → StepConsolation-DcQPK6ZH.js} +9 -9
- package/chunk/{StepConsolation-Ga2Deo3F.js.map → StepConsolation-DcQPK6ZH.js.map} +1 -1
- package/chunk/{StepDocUpload-DBL1iycT.js → StepDocUpload-BL6KJjPr.js} +208 -208
- package/chunk/{StepDocUpload-DBL1iycT.js.map → StepDocUpload-BL6KJjPr.js.map} +1 -1
- package/chunk/{StepDocUpload-BkCbuH5X.js → StepDocUpload-DJjXUwXB.js} +216 -216
- package/chunk/{StepDocUpload-BkCbuH5X.js.map → StepDocUpload-DJjXUwXB.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CUiqvHhA.js → StepDriverLicensePersonalInfoComponent-CZDTfYjt.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-CUiqvHhA.js.map → StepDriverLicensePersonalInfoComponent-CZDTfYjt.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-CrADIMOS.js → StepDriverLicensePersonalInfoComponent-wuanHFTL.js} +15 -15
- package/chunk/{StepDriverLicensePersonalInfoComponent-CrADIMOS.js.map → StepDriverLicensePersonalInfoComponent-wuanHFTL.js.map} +1 -1
- package/chunk/{StepEmailLoop-4i91aS0V.js → StepEmailLoop-B0UGMWQ9.js} +11 -11
- package/chunk/{StepEmailLoop-4i91aS0V.js.map → StepEmailLoop-B0UGMWQ9.js.map} +1 -1
- package/chunk/{StepEmailLoop-BLpzq_JF.js → StepEmailLoop-D2lx7wUg.js} +14 -14
- package/chunk/{StepEmailLoop-BLpzq_JF.js.map → StepEmailLoop-D2lx7wUg.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-BdrrnW6U.js → StepEmploymentPersonalInfo-D-ZXhMEU.js} +18 -18
- package/chunk/{StepEmploymentPersonalInfo-BdrrnW6U.js.map → StepEmploymentPersonalInfo-D-ZXhMEU.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-X7zDA2LO.js → StepEmploymentPersonalInfo-D62dH_G9.js} +18 -18
- package/chunk/{StepEmploymentPersonalInfo-X7zDA2LO.js.map → StepEmploymentPersonalInfo-D62dH_G9.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DlMdPlSa.js → StepFirstResponderPersonalInfo-DrD-yBL9.js} +26 -26
- package/chunk/{StepFirstResponderPersonalInfo-Cpjozwj9.js.map → StepFirstResponderPersonalInfo-DrD-yBL9.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-Cpjozwj9.js → StepFirstResponderPersonalInfo-tklLuC6-.js} +24 -24
- package/chunk/{StepFirstResponderPersonalInfo-DlMdPlSa.js.map → StepFirstResponderPersonalInfo-tklLuC6-.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-GQ0_pyiW.js → StepGeneralIdentityPersonalInfoComponent-B9DXEthH.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BrkQbrIa.js.map → StepGeneralIdentityPersonalInfoComponent-B9DXEthH.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BrkQbrIa.js → StepGeneralIdentityPersonalInfoComponent-BJGpt7XI.js} +18 -18
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-GQ0_pyiW.js.map → StepGeneralIdentityPersonalInfoComponent-BJGpt7XI.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DBQA9Czz.js → StepHybridIdentityPersonalInfoComponent-B3q_01Zu.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DBQA9Czz.js.map → StepHybridIdentityPersonalInfoComponent-B3q_01Zu.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DGJ-K8jL.js → StepHybridIdentityPersonalInfoComponent-B7PUxZHD.js} +19 -19
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DGJ-K8jL.js.map → StepHybridIdentityPersonalInfoComponent-B7PUxZHD.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-CmDYY5x_.js → StepIDCheckLoop-B_VbW3CS.js} +8 -8
- package/chunk/{StepIDCheckLoop-CmDYY5x_.js.map → StepIDCheckLoop-B_VbW3CS.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-N0V-opfP.js → StepIDCheckLoop-LKpTbWHQ.js} +8 -8
- package/chunk/{StepIDCheckLoop-N0V-opfP.js.map → StepIDCheckLoop-LKpTbWHQ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-vUiFK8kD.js → StepIDCheckLoopOnfido-D221J4O4.js} +37 -37
- package/chunk/{StepIDCheckLoopOnfido-DrbnvX-v.js.map → StepIDCheckLoopOnfido-D221J4O4.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DrbnvX-v.js → StepIDCheckLoopOnfido-y1cSlTV8.js} +38 -38
- package/chunk/{StepIDCheckLoopOnfido-vUiFK8kD.js.map → StepIDCheckLoopOnfido-y1cSlTV8.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-DUQqWyY7.js → StepIDCheckLoopRegula-ByZ7oXlg.js} +20 -20
- package/chunk/{StepIDCheckLoopRegula-6F05II31.js.map → StepIDCheckLoopRegula-ByZ7oXlg.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-6F05II31.js → StepIDCheckLoopRegula-Dh-3Pg0X.js} +21 -21
- package/chunk/{StepIDCheckLoopRegula-DUQqWyY7.js.map → StepIDCheckLoopRegula-Dh-3Pg0X.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CZNK0Ym-.js → StepInactiveMilitaryPersonalInfoComponent-CcZpw1c9.js} +32 -32
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CZNK0Ym-.js.map → StepInactiveMilitaryPersonalInfoComponent-CcZpw1c9.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-WvnubM6a.js → StepInactiveMilitaryPersonalInfoComponent-DrAb2_Jp.js} +35 -35
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-WvnubM6a.js.map → StepInactiveMilitaryPersonalInfoComponent-DrAb2_Jp.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-B6orcA1q.js → StepLicensedProfessionalPersonalInfo-18e4A7vC.js} +17 -17
- package/chunk/{StepLicensedProfessionalPersonalInfo-B6orcA1q.js.map → StepLicensedProfessionalPersonalInfo-18e4A7vC.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cybuz5wl.js → StepLicensedProfessionalPersonalInfo-Dp-X39A9.js} +17 -17
- package/chunk/{StepLicensedProfessionalPersonalInfo-Cybuz5wl.js.map → StepLicensedProfessionalPersonalInfo-Dp-X39A9.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-PGMXtmeY.js → StepLowIncomePersonalInfo-CfdjUBav.js} +33 -33
- package/chunk/{StepLowIncomePersonalInfo-Bex7yLTA.js.map → StepLowIncomePersonalInfo-CfdjUBav.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Bex7yLTA.js → StepLowIncomePersonalInfo-g3KSzV4M.js} +30 -30
- package/chunk/{StepLowIncomePersonalInfo-PGMXtmeY.js.map → StepLowIncomePersonalInfo-g3KSzV4M.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BCh4dVMx.js → StepMedicalProfessionalPersonalInfo-BVkbqZkn.js} +21 -21
- package/chunk/{StepMedicalProfessionalPersonalInfo-BCh4dVMx.js.map → StepMedicalProfessionalPersonalInfo-BVkbqZkn.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-D9Dq4buf.js → StepMedicalProfessionalPersonalInfo-BsjEiIy9.js} +25 -25
- package/chunk/{StepMedicalProfessionalPersonalInfo-D9Dq4buf.js.map → StepMedicalProfessionalPersonalInfo-BsjEiIy9.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-CZ4eG64m.js → StepMemberPersonalInfo-Br0WGfdm.js} +16 -16
- package/chunk/{StepMemberPersonalInfo-CZ4eG64m.js.map → StepMemberPersonalInfo-Br0WGfdm.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-h4gOJKVO.js → StepMemberPersonalInfo-C3PvVUzL.js} +16 -16
- package/chunk/{StepMemberPersonalInfo-h4gOJKVO.js.map → StepMemberPersonalInfo-C3PvVUzL.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DjmlleEw.js → StepMoverPersonalInfo-DPHpiQw0.js} +14 -14
- package/chunk/{StepMoverPersonalInfo-1qubJ21-.js.map → StepMoverPersonalInfo-DPHpiQw0.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-1qubJ21-.js → StepMoverPersonalInfo-Z5WEbN1N.js} +14 -14
- package/chunk/{StepMoverPersonalInfo-DjmlleEw.js.map → StepMoverPersonalInfo-Z5WEbN1N.js.map} +1 -1
- package/chunk/{StepOverrideComponent-C5LO9dxP.js → StepOverrideComponent-iktr98Jj.js} +15 -15
- package/chunk/{StepOverrideComponent-C5LO9dxP.js.map → StepOverrideComponent-iktr98Jj.js.map} +1 -1
- package/chunk/{StepOverrideComponent-DGSV1P5q.js → StepOverrideComponent-xMqoy8Pk.js} +15 -15
- package/chunk/{StepOverrideComponent-DGSV1P5q.js.map → StepOverrideComponent-xMqoy8Pk.js.map} +1 -1
- package/chunk/{StepSMSLoop-XVN6o1NS.js → StepSMSLoop-BF-IBw3j.js} +16 -16
- package/chunk/{StepSMSLoop-Cb56n7Er.js.map → StepSMSLoop-BF-IBw3j.js.map} +1 -1
- package/chunk/{StepSMSLoop-Cb56n7Er.js → StepSMSLoop-DBFxCiPV.js} +16 -16
- package/chunk/{StepSMSLoop-XVN6o1NS.js.map → StepSMSLoop-DBFxCiPV.js.map} +1 -1
- package/chunk/StepSSO-BRFhNvkp.js +4 -4
- package/chunk/StepSSO-BaFk7RFJ.js +4 -4
- package/chunk/{StepSocialSecurityNumber-CE3z8DHI.js → StepSocialSecurityNumber-BbXn831d.js} +16 -16
- package/chunk/{StepSocialSecurityNumber-B0kLt_Ff.js.map → StepSocialSecurityNumber-BbXn831d.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-B0kLt_Ff.js → StepSocialSecurityNumber-DhoGvC-R.js} +16 -16
- package/chunk/{StepSocialSecurityNumber-CE3z8DHI.js.map → StepSocialSecurityNumber-DhoGvC-R.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-BI9ktkUU.js → StepStudentPersonalInfo-DMmIa3dy.js} +50 -50
- package/chunk/{StepStudentPersonalInfo-BI9ktkUU.js.map → StepStudentPersonalInfo-DMmIa3dy.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-MarIxoV4.js → StepStudentPersonalInfo-iIxNdYOy.js} +17 -17
- package/chunk/{StepStudentPersonalInfo-MarIxoV4.js.map → StepStudentPersonalInfo-iIxNdYOy.js.map} +1 -1
- package/chunk/{StepSuccess-BDy48JTw.js → StepSuccess-BCBoTtRY.js} +34 -30
- package/chunk/{StepSuccess-BDy48JTw.js.map → StepSuccess-BCBoTtRY.js.map} +1 -1
- package/chunk/{StepSuccess-C3xkPK0R.js → StepSuccess-BCharFld.js} +29 -33
- package/chunk/{StepSuccess-C3xkPK0R.js.map → StepSuccess-BCharFld.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-CfaA5EF-.js → StepTeacherPersonalInfo-C9xhKbxy.js} +17 -17
- package/chunk/{StepTeacherPersonalInfo-Cd-1RDI8.js.map → StepTeacherPersonalInfo-C9xhKbxy.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-Cd-1RDI8.js → StepTeacherPersonalInfo-MkWtBNk7.js} +17 -17
- package/chunk/{StepTeacherPersonalInfo-CfaA5EF-.js.map → StepTeacherPersonalInfo-MkWtBNk7.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BGHCbduX.js +4 -4
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +4 -4
- package/chunk/{TeacherSchoolComponent-D9WEKaHi.js → TeacherSchoolComponent-BtaF9xlm.js} +8 -8
- package/chunk/{TeacherSchoolComponent-QMCnfKO6.js.map → TeacherSchoolComponent-BtaF9xlm.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-QMCnfKO6.js → TeacherSchoolComponent-D-rE22OS.js} +8 -8
- package/chunk/{TeacherSchoolComponent-D9WEKaHi.js.map → TeacherSchoolComponent-D-rE22OS.js.map} +1 -1
- package/chunk/TestingRouteOverrides-BGh0Kqkp.js +77 -0
- package/chunk/{TestingRouteOverrides-BddK1BnO.js.map → TestingRouteOverrides-BGh0Kqkp.js.map} +1 -1
- package/chunk/TestingRouteOverrides-CWSI3tlL.js +81 -0
- package/chunk/{TestingRouteOverrides-D2lQ2iql.js.map → TestingRouteOverrides-CWSI3tlL.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-BTNoYJ13.js → VerificationApiClient-9BxQqOtO.js} +169 -162
- package/chunk/VerificationApiClient-9BxQqOtO.js.map +1 -0
- package/chunk/{VerificationApiClient-CXH2RHWK.js → VerificationApiClient-CcVCeEFJ.js} +110 -103
- package/chunk/VerificationApiClient-CcVCeEFJ.js.map +1 -0
- package/chunk/{VerificationApiUtils-jjMt3smk.js → VerificationApiUtils-DkLx7bcz.js} +7 -7
- package/chunk/{VerificationApiUtils-DEt8hCJB.js.map → VerificationApiUtils-DkLx7bcz.js.map} +1 -1
- package/chunk/VerificationApiUtils-eJb2yssz.js +21 -0
- package/chunk/{VerificationApiUtils-jjMt3smk.js.map → VerificationApiUtils-eJb2yssz.js.map} +1 -1
- package/chunk/ar-oaTqX-Bi.js +4 -4
- package/chunk/bg-FRD3ihTE.js +4 -4
- package/chunk/bn-IN-Dy8OAkhr.js +4 -4
- package/chunk/{countryUtils-D6zs2LHQ.js → countryUtils-1JE4C2YN.js} +5 -5
- package/chunk/{countryUtils-D6zs2LHQ.js.map → countryUtils-1JE4C2YN.js.map} +1 -1
- package/chunk/countryUtils-DDvwDj32.js +12 -0
- package/chunk/{countryUtils-FDuHjQVt.js.map → countryUtils-DDvwDj32.js.map} +1 -1
- package/chunk/cs-enxrquzj.js +4 -4
- package/chunk/da-xnww0OFf.js +4 -4
- package/chunk/de-Bpbr5cGf.js +4 -4
- package/chunk/{downshift.esm-BsLBKER5.js → downshift.esm-Bib2AmUR.js} +43 -43
- package/chunk/{downshift.esm-BsLBKER5.js.map → downshift.esm-Bib2AmUR.js.map} +1 -1
- package/chunk/{downshift.esm-CtV-zKqm.js → downshift.esm-CPfu-dz4.js} +122 -122
- package/chunk/{downshift.esm-CtV-zKqm.js.map → downshift.esm-CPfu-dz4.js.map} +1 -1
- package/chunk/el-CGE77D1a.js +4 -4
- package/chunk/{empties-CUtOn4FK.js → empties-CadVejwz.js} +49 -49
- package/chunk/{empties-BE8mPIWm.js.map → empties-CadVejwz.js.map} +1 -1
- package/chunk/{empties-BE8mPIWm.js → empties-DPqJljgl.js} +5 -5
- package/chunk/{empties-CUtOn4FK.js.map → empties-DPqJljgl.js.map} +1 -1
- package/chunk/en-GB-DtYEpdGz.js +4 -4
- package/chunk/es-B7Lqo7bY.js +4 -4
- package/chunk/es-ES-DMWW2FXA.js +4 -4
- package/chunk/et-q5WIKwz8.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-BsqNfa1o.js +4 -4
- package/chunk/fi-CcuqPTQ2.js +4 -4
- package/chunk/fr-8Mug3b2y.js +4 -4
- package/chunk/fr-CA-DNMuEFMS.js +4 -4
- package/chunk/ga-BCyuagqq.js +4 -4
- package/chunk/hi-IN-s-W34sti.js +4 -4
- package/chunk/hr-B5aHCY4_.js +4 -4
- package/chunk/hu-C5qCDre-.js +4 -4
- package/chunk/id-B1goA5xk.js +4 -4
- package/chunk/{intl-CSRMUNER.js → intl-RejEV_0u.js} +409 -401
- package/chunk/intl-RejEV_0u.js.map +1 -0
- package/chunk/is-BW-t-Zif.js +4 -4
- package/chunk/it-DvCMm2we.js +4 -4
- package/chunk/iw-69T_ZKoI.js +4 -4
- package/chunk/ja-D-tWJV9S.js +4 -4
- package/chunk/{jsx-runtime-Dwjl7cK_.js → jsx-runtime-BzjRi5cY.js} +5 -5
- package/chunk/{jsx-runtime-ad-EElqi.js.map → jsx-runtime-BzjRi5cY.js.map} +1 -1
- package/chunk/{jsx-runtime-ad-EElqi.js → jsx-runtime-C8rHQFpC.js} +5 -5
- package/chunk/{jsx-runtime-Dwjl7cK_.js.map → jsx-runtime-C8rHQFpC.js.map} +1 -1
- package/chunk/kk-Cen4nsDW.js +4 -4
- package/chunk/ko-CKXa3e4S.js +4 -4
- package/chunk/lo-B4V3NOya.js +4 -4
- package/chunk/lt-CfHYjV7E.js +4 -4
- package/chunk/lv-bF1azTKb.js +4 -4
- package/chunk/{militaryStepHelpers-ZTXJBaSu.js → militaryStepHelpers-DIXJbH-e.js} +5 -5
- package/chunk/{militaryStepHelpers-7zTr1SAJ.js.map → militaryStepHelpers-DIXJbH-e.js.map} +1 -1
- package/chunk/{militaryStepHelpers-7zTr1SAJ.js → militaryStepHelpers-DjUPkHuN.js} +5 -5
- package/chunk/{militaryStepHelpers-ZTXJBaSu.js.map → militaryStepHelpers-DjUPkHuN.js.map} +1 -1
- package/chunk/{mocks-pQI41mbh.js → mocks-C4r3kSBm.js} +9 -9
- package/chunk/{mocks-CqvJ21vO.js.map → mocks-C4r3kSBm.js.map} +1 -1
- package/chunk/{mocks-CqvJ21vO.js → mocks-ZRlDr2zp.js} +9 -9
- package/chunk/{mocks-pQI41mbh.js.map → mocks-ZRlDr2zp.js.map} +1 -1
- package/chunk/ms-DIzxVhax.js +4 -4
- package/chunk/nl-BE-BP03y6BO.js +4 -4
- package/chunk/nl-DfctTqxe.js +4 -4
- package/chunk/no-RQH9Zv2G.js +4 -4
- package/chunk/{options-BbtwtZJW.js → options-5u5_TcMp.js} +394 -386
- package/chunk/{options-BbtwtZJW.js.map → options-5u5_TcMp.js.map} +1 -1
- package/chunk/pl-DbogtaWs.js +4 -4
- package/chunk/programThemeGetters-BXh5zb0K.js +165 -0
- package/chunk/{programThemeGetters-BntsyO45.js.map → programThemeGetters-BXh5zb0K.js.map} +1 -1
- package/chunk/{programThemeGetters-Cs5pPYoq.js → programThemeGetters-D-drBRV1.js} +18 -18
- package/chunk/{programThemeGetters-Cs5pPYoq.js.map → programThemeGetters-D-drBRV1.js.map} +1 -1
- package/chunk/pt-B2V6YtyG.js +4 -4
- package/chunk/pt-BR-CVJoyXno.js +4 -4
- package/chunk/{refs-DAyn6DqR.js → refs-BxfzLCJo.js} +5 -5
- package/chunk/{refs-DAyn6DqR.js.map → refs-BxfzLCJo.js.map} +1 -1
- package/chunk/{refs-jwRCkD4_.js → refs-Dbu3I4qq.js} +5 -5
- package/chunk/{refs-jwRCkD4_.js.map → refs-Dbu3I4qq.js.map} +1 -1
- package/chunk/ro-FX-D-E91.js +4 -4
- package/chunk/ru-DMxlV75G.js +4 -4
- package/chunk/sk-CligiCej.js +4 -4
- package/chunk/sl-DQanH4Ky.js +4 -4
- package/chunk/sr-BZNIdT32.js +4 -4
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-BfXPNNfM.js +4 -4
- package/chunk/sw-Cw__J23Z.js +4 -4
- package/chunk/ta-Chf_KWJv.js +4 -4
- package/chunk/th-BC7lSeIN.js +4 -4
- package/chunk/tl-BIXqJsLl.js +4 -4
- package/chunk/tr-C_V4PV3Q.js +4 -4
- package/chunk/uk-ebwNkDb6.js +4 -4
- package/chunk/ur-BbRoatfN.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-T8xZdFDS.js → useCollectFieldsEndpoint-Bw-i2tLo.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-DGhrHYA3.js.map → useCollectFieldsEndpoint-Bw-i2tLo.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DGhrHYA3.js → useCollectFieldsEndpoint-z_N_SShi.js} +12 -12
- package/chunk/{useCollectFieldsEndpoint-T8xZdFDS.js.map → useCollectFieldsEndpoint-z_N_SShi.js.map} +1 -1
- package/chunk/{useMetrics-Dq3FoQl7.js → useMetrics-CLtxtSUO.js} +7 -11
- package/chunk/{useMetrics-CNgGT8bK.js.map → useMetrics-CLtxtSUO.js.map} +1 -1
- package/chunk/{useMetrics-CNgGT8bK.js → useMetrics-CnnipBHm.js} +11 -7
- package/chunk/{useMetrics-Dq3FoQl7.js.map → useMetrics-CnnipBHm.js.map} +1 -1
- package/chunk/{validators-D7nh3NtK.js → validators-BTSkTV2f.js} +288 -288
- package/chunk/{validators-BCgU1EZZ.js.map → validators-BTSkTV2f.js.map} +1 -1
- package/chunk/{validators-BCgU1EZZ.js → validators-Bs1tWRSl.js} +86 -86
- package/chunk/{validators-D7nh3NtK.js.map → validators-Bs1tWRSl.js.map} +1 -1
- package/chunk/vi-B3RXegfW.js +4 -4
- package/chunk/zh-CD_hFClw.js +4 -4
- package/chunk/zh-HK-CGOvOtYE.js +4 -4
- package/chunk/zu-BMx7nUPZ.js +4 -4
- package/package.json +3 -2
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +1431 -1407
- package/sheerid.js.map +1 -1
- package/chunk/CountryComponentWrapper-DKuB4eQA.js +0 -74
- package/chunk/FormFooterComponent-Cgu8_872.js.map +0 -1
- package/chunk/FormFooterComponent-DB0-FOF0.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-BLY_y2Bh.js +0 -9
- package/chunk/TestingRouteOverrides-BddK1BnO.js +0 -77
- package/chunk/TestingRouteOverrides-D2lQ2iql.js +0 -81
- package/chunk/VerificationApiClient-BTNoYJ13.js.map +0 -1
- package/chunk/VerificationApiClient-CXH2RHWK.js.map +0 -1
- package/chunk/VerificationApiUtils-DEt8hCJB.js +0 -21
- package/chunk/countryUtils-FDuHjQVt.js +0 -12
- package/chunk/intl-CSRMUNER.js.map +0 -1
- package/chunk/programThemeGetters-BntsyO45.js +0 -165
|
@@ -4,45 +4,45 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.264.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1785518525927
|
|
9
|
+
* BUILD_DATE: Fri Jul 31 2026 17:22:05 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
15
|
-
import { a as d } from "./refs-
|
|
12
|
+
import { Ct as e, Ft as t, Kt as n, Vt as r, p as i, s as a } from "./intl-RejEV_0u.js";
|
|
13
|
+
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-C8rHQFpC.js";
|
|
14
|
+
import { D as u } from "./FormFooterComponent-DGChoxIB.js";
|
|
15
|
+
import { a as d } from "./refs-BxfzLCJo.js";
|
|
16
16
|
import { $ as f, B as p, F as m, G as h, I as g, W as _, et as v, n as y } from "../_mysheerid-preview.js";
|
|
17
|
-
import { t as b } from "./VerificationApiUtils-
|
|
18
|
-
import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-
|
|
19
|
-
import { n as D, t as O } from "./PersonalInfoStepSubmitButton-
|
|
20
|
-
import { t as k } from "./BirthDateComponent-
|
|
21
|
-
import { t as A } from "./PostalCodeComponent-
|
|
22
|
-
import { t as j } from "./CountryComponentWrapper-
|
|
23
|
-
import { t as M } from "./City-
|
|
24
|
-
import { t as N } from "./AddressComponent-
|
|
25
|
-
import { t as P } from "./ExtraMessage-
|
|
26
|
-
import { t as F } from "./ChangeLocaleComponent-
|
|
27
|
-
import { t as I } from "./PersonalInfoStepWrapper-
|
|
28
|
-
import { t as L } from "./StateSelectComponent-
|
|
29
|
-
import { n as R, r as z, t as B } from "./DischargeDateComponent-
|
|
30
|
-
import { t as V } from "./StatusComponent-
|
|
31
|
-
import { t as H } from "./militaryStepHelpers-
|
|
17
|
+
import { t as b } from "./VerificationApiUtils-DkLx7bcz.js";
|
|
18
|
+
import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-BsP6z6fV.js";
|
|
19
|
+
import { n as D, t as O } from "./PersonalInfoStepSubmitButton-BS7TwIFn.js";
|
|
20
|
+
import { t as k } from "./BirthDateComponent-ts-uQcFv.js";
|
|
21
|
+
import { t as A } from "./PostalCodeComponent-DuEPciUA.js";
|
|
22
|
+
import { t as j } from "./CountryComponentWrapper-C6jxabRh.js";
|
|
23
|
+
import { t as M } from "./City-B6J8thJW.js";
|
|
24
|
+
import { t as N } from "./AddressComponent-0vaEURVZ.js";
|
|
25
|
+
import { t as P } from "./ExtraMessage-DuHSW-UZ.js";
|
|
26
|
+
import { t as F } from "./ChangeLocaleComponent-CISzBLcA.js";
|
|
27
|
+
import { t as I } from "./PersonalInfoStepWrapper-BlPhTEPX.js";
|
|
28
|
+
import { t as L } from "./StateSelectComponent-DJZiu3Dc.js";
|
|
29
|
+
import { n as R, r as z, t as B } from "./DischargeDateComponent-DD8bF1FM.js";
|
|
30
|
+
import { t as V } from "./StatusComponent-OCM9IXu5.js";
|
|
31
|
+
import { t as H } from "./militaryStepHelpers-DjUPkHuN.js";
|
|
32
32
|
//#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
|
|
33
33
|
var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService: o }) => {
|
|
34
34
|
let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = m(o, n), Z = s.localeChoice.value, Q = a(), $ = (e, t) => {
|
|
35
35
|
o.updateViewModel(H(e, t, o, X));
|
|
36
36
|
};
|
|
37
|
-
return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep ===
|
|
38
|
-
let
|
|
39
|
-
|
|
37
|
+
return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
|
|
38
|
+
let e = i(s, () => {});
|
|
39
|
+
r.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, e, o.previousVerificationResponse || o.verificationResponse);
|
|
40
40
|
})(), U.useEffect(() => {
|
|
41
41
|
(async () => {
|
|
42
|
-
if (o.verificationResponse.currentStep ===
|
|
43
|
-
Y((await b(K.verificationId,
|
|
44
|
-
} catch (
|
|
45
|
-
|
|
42
|
+
if (o.verificationResponse.currentStep === t.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
|
|
43
|
+
Y((await b(K.verificationId, t.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
|
|
44
|
+
} catch (e) {
|
|
45
|
+
r.error(`Failed to determine fields to collect: ${e}`, t.collectInactiveMilitaryPersonalInfo);
|
|
46
46
|
}
|
|
47
47
|
})();
|
|
48
48
|
}, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
|
|
@@ -64,7 +64,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
|
|
|
64
64
|
segmentId: "military",
|
|
65
65
|
value: {
|
|
66
66
|
value: s.status,
|
|
67
|
-
label: _(n, s.status,
|
|
67
|
+
label: _(n, s.status, e)
|
|
68
68
|
},
|
|
69
69
|
isErrored: !!G.status,
|
|
70
70
|
errorId: "invalidMilitaryStatus",
|
|
@@ -224,7 +224,7 @@ var U = /* @__PURE__ */ n(s(), 1), W = l(), G = ({ intl: n, verificationService:
|
|
|
224
224
|
isErrored: !!G.captchaToken
|
|
225
225
|
}),
|
|
226
226
|
/* @__PURE__ */ (0, W.jsx)(O, {
|
|
227
|
-
step:
|
|
227
|
+
step: t.collectInactiveMilitaryPersonalInfo,
|
|
228
228
|
verificationService: o,
|
|
229
229
|
viewModel: s,
|
|
230
230
|
failedInstantMatch: q,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-CZNK0Ym-.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.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 InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\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 { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\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 React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\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=\"inactive-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 updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\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 InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\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 updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,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;CAuDA,QA1CG,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,GAGb,EAAM,gBAAgB;EACpB,CAAC,YAAY;GACX,IACE,EAAoB,qBAAqB,gBACvC,EAAsB,uCACxB,EAAU,eAAe,UAAU,MAEnC,IAAI;IAOF,GAAkB,MANyC,EACzD,EAAqB,gBACrB,EAAsB,qCACtB,CACF,IAEyC,iBAAiB,UAAU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;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,IAA4C,EACvD,CACF"}
|
|
1
|
+
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-CcZpw1c9.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.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 InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\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 { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\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 React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\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=\"inactive-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 updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\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 InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\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 updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,S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
|
+
* VERSION: 2.264.0-alpha.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1785518521509
|
|
5
|
+
* BUILD_DATE: Fri Jul 31 2026 17:22:01 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-
|
|
10
|
-
import {
|
|
11
|
-
import { a as d } from "./refs-
|
|
8
|
+
import { Ht as e, Kt as t, Lt as n, Tt as r, c as i, n as a } from "./options-5u5_TcMp.js";
|
|
9
|
+
import { a as o, c as s, n as c, t as l } from "./jsx-runtime-BzjRi5cY.js";
|
|
10
|
+
import { C as u } from "./FormFooterComponent-Cw_RFaJx.js";
|
|
11
|
+
import { a as d } from "./refs-Dbu3I4qq.js";
|
|
12
12
|
import { G as f, I as p, K as m, L as h, V as g, et as _, r as v, tt as y } from "../sheerid.js";
|
|
13
|
-
import { t as b } from "./VerificationApiUtils-
|
|
14
|
-
import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-
|
|
15
|
-
import { n as D, t as O } from "./PersonalInfoStepSubmitButton-
|
|
16
|
-
import { t as k } from "./BirthDateComponent-
|
|
17
|
-
import { t as A } from "./PostalCodeComponent-
|
|
18
|
-
import { t as j } from "./CountryComponentWrapper-
|
|
19
|
-
import { t as M } from "./City-
|
|
20
|
-
import { t as N } from "./AddressComponent-
|
|
21
|
-
import { t as P } from "./ExtraMessage-
|
|
22
|
-
import { t as F } from "./ChangeLocaleComponent-
|
|
23
|
-
import { t as I } from "./PersonalInfoStepWrapper-
|
|
24
|
-
import { t as L } from "./StateSelectComponent-
|
|
25
|
-
import { n as R, r as z, t as B } from "./DischargeDateComponent-
|
|
26
|
-
import { t as V } from "./StatusComponent-
|
|
27
|
-
import { t as H } from "./militaryStepHelpers-
|
|
13
|
+
import { t as b } from "./VerificationApiUtils-eJb2yssz.js";
|
|
14
|
+
import { a as x, i as S, n as C, o as w, s as T, t as E } from "./CaptchaComponent-Bv3pBtOL.js";
|
|
15
|
+
import { n as D, t as O } from "./PersonalInfoStepSubmitButton-IMW1ww2e.js";
|
|
16
|
+
import { t as k } from "./BirthDateComponent-BD9ZmOZi.js";
|
|
17
|
+
import { t as A } from "./PostalCodeComponent-BDFy_9yi.js";
|
|
18
|
+
import { t as j } from "./CountryComponentWrapper-D4AKnv7H.js";
|
|
19
|
+
import { t as M } from "./City-CLyjXYQj.js";
|
|
20
|
+
import { t as N } from "./AddressComponent-D9R5iYEq.js";
|
|
21
|
+
import { t as P } from "./ExtraMessage-C9Tya8_-.js";
|
|
22
|
+
import { t as F } from "./ChangeLocaleComponent-DxqwPe0W.js";
|
|
23
|
+
import { t as I } from "./PersonalInfoStepWrapper-BaskUzAh.js";
|
|
24
|
+
import { t as L } from "./StateSelectComponent-8iSjI0pU.js";
|
|
25
|
+
import { n as R, r as z, t as B } from "./DischargeDateComponent-G2t2Wff_.js";
|
|
26
|
+
import { t as V } from "./StatusComponent-BAX61tmd.js";
|
|
27
|
+
import { t as H } from "./militaryStepHelpers-DIXJbH-e.js";
|
|
28
28
|
//#region src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx
|
|
29
|
-
var U = /* @__PURE__ */
|
|
30
|
-
let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = p(o,
|
|
29
|
+
var U = /* @__PURE__ */ t(s(), 1), W = l(), G = ({ intl: t, verificationService: o }) => {
|
|
30
|
+
let s = o.viewModel, l = o.previousViewModel, { fieldValidationErrors: G } = o, K = o.verificationResponse, q = u(K), [J, Y] = U.useState([]), X = p(o, t), Z = s.localeChoice.value, Q = a(), $ = (e, t) => {
|
|
31
31
|
o.updateViewModel(H(e, t, o, X));
|
|
32
32
|
};
|
|
33
|
-
return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep ===
|
|
34
|
-
let
|
|
35
|
-
|
|
33
|
+
return (s.status && l && l.status !== s.status || s.status && o.verificationResponse.currentStep === n.collectMilitaryStatus) && (() => {
|
|
34
|
+
let t = i(s, () => {});
|
|
35
|
+
e.info("StepMilitaryStatusComponent submitting form"), o.submitStep(n.collectMilitaryStatus, t, o.previousVerificationResponse || o.verificationResponse);
|
|
36
36
|
})(), U.useEffect(() => {
|
|
37
37
|
(async () => {
|
|
38
|
-
if (o.verificationResponse.currentStep ===
|
|
39
|
-
Y((await b(K.verificationId,
|
|
40
|
-
} catch (
|
|
41
|
-
|
|
38
|
+
if (o.verificationResponse.currentStep === n.collectInactiveMilitaryPersonalInfo && s.countryChoice?.value === "US") try {
|
|
39
|
+
Y((await b(K.verificationId, n.collectInactiveMilitaryPersonalInfo, s))?.fieldsToCollect?.optional?.map((e) => e.key));
|
|
40
|
+
} catch (t) {
|
|
41
|
+
e.error(`Failed to determine fields to collect: ${t}`, n.collectInactiveMilitaryPersonalInfo);
|
|
42
42
|
}
|
|
43
43
|
})();
|
|
44
44
|
}, [o.verificationResponse.currentStep, s.countryChoice]), U.useEffect(() => {
|
|
@@ -60,7 +60,7 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
|
|
|
60
60
|
segmentId: "military",
|
|
61
61
|
value: {
|
|
62
62
|
value: s.status,
|
|
63
|
-
label: f(
|
|
63
|
+
label: f(t, s.status, r)
|
|
64
64
|
},
|
|
65
65
|
isErrored: !!G.status,
|
|
66
66
|
errorId: "invalidMilitaryStatus",
|
|
@@ -172,7 +172,7 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
|
|
|
172
172
|
isRequired: g("city")?.requireIfOptional
|
|
173
173
|
}),
|
|
174
174
|
J.includes("state") && /* @__PURE__ */ (0, W.jsx)(L, {
|
|
175
|
-
options: h(o.programTheme,
|
|
175
|
+
options: h(o.programTheme, t),
|
|
176
176
|
value: s.state || void 0,
|
|
177
177
|
isErrored: !!G.state,
|
|
178
178
|
onChange: async (e) => {
|
|
@@ -220,7 +220,7 @@ var U = /* @__PURE__ */ e(s(), 1), W = l(), G = ({ intl: e, verificationService:
|
|
|
220
220
|
isErrored: !!G.captchaToken
|
|
221
221
|
}),
|
|
222
222
|
/* @__PURE__ */ (0, W.jsx)(O, {
|
|
223
|
-
step:
|
|
223
|
+
step: n.collectInactiveMilitaryPersonalInfo,
|
|
224
224
|
verificationService: o,
|
|
225
225
|
viewModel: s,
|
|
226
226
|
failedInstantMatch: q,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-WvnubM6a.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.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 InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\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 { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\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 React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\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=\"inactive-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 updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\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 InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\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 updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPerson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":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.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 InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\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 { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\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 { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\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 React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\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=\"inactive-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 updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\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 InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\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 updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"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 updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n mode={\n !!verificationService.programTheme.transitionalMilitaryValidityDays ? \"date\" : \"month\"\n }\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\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 updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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 {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"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.collectInactiveMilitaryPersonalInfo}\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 StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;4CAmEa,KAAoC,EAC/C,SACA,6BACoD;CACpD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,CAAC,GAAgB,KAAA,EAA2B,SAAS,CAAC,CAAC,GACvD,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAA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GAClD,CAAA;GAGF,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,EAAgC,YAAY;MAC1C,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,IAA4C,EACvD,CACF"}
|
|
@@ -4,25 +4,25 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE:
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.264.0-alpha.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1785518525927
|
|
9
|
+
* BUILD_DATE: Fri Jul 31 2026 17:22:05 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: d0963a317ee7ec7a22ae43d6645248a7bac89b11
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as r, n as i, t as a } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
12
|
+
import { Ft as e, p as t, s as n } from "./intl-RejEV_0u.js";
|
|
13
|
+
import { a as r, n as i, t as a } from "./jsx-runtime-C8rHQFpC.js";
|
|
14
|
+
import { D as o } from "./FormFooterComponent-DGChoxIB.js";
|
|
15
15
|
import { $ as s, B as c, G as l, et as u, n as d } from "../_mysheerid-preview.js";
|
|
16
|
-
import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-
|
|
17
|
-
import { n as v, t as y } from "./PersonalInfoStepSubmitButton-
|
|
18
|
-
import { t as b } from "./BirthDateComponent-
|
|
19
|
-
import { t as x } from "./PostalCodeComponent-
|
|
20
|
-
import { t as S } from "./CountryComponentWrapper-
|
|
21
|
-
import { t as C } from "./ExtraMessage-
|
|
22
|
-
import { t as w } from "./ChangeLocaleComponent-
|
|
23
|
-
import { t as T } from "./PersonalInfoStepWrapper-
|
|
24
|
-
import { t as E } from "./StatusComponent-
|
|
25
|
-
import { t as D } from "./LicensedProfessionalOrganizationComponent-
|
|
16
|
+
import { a as f, i as p, n as m, o as h, s as g, t as _ } from "./CaptchaComponent-BsP6z6fV.js";
|
|
17
|
+
import { n as v, t as y } from "./PersonalInfoStepSubmitButton-BS7TwIFn.js";
|
|
18
|
+
import { t as b } from "./BirthDateComponent-ts-uQcFv.js";
|
|
19
|
+
import { t as x } from "./PostalCodeComponent-DuEPciUA.js";
|
|
20
|
+
import { t as S } from "./CountryComponentWrapper-C6jxabRh.js";
|
|
21
|
+
import { t as C } from "./ExtraMessage-DuHSW-UZ.js";
|
|
22
|
+
import { t as w } from "./ChangeLocaleComponent-CISzBLcA.js";
|
|
23
|
+
import { t as T } from "./PersonalInfoStepWrapper-BlPhTEPX.js";
|
|
24
|
+
import { t as E } from "./StatusComponent-OCM9IXu5.js";
|
|
25
|
+
import { t as D } from "./LicensedProfessionalOrganizationComponent-CHaB-ihc.js";
|
|
26
26
|
//#region src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx
|
|
27
27
|
var O = a(), k = {
|
|
28
28
|
LICENSED_COSMETOLOGIST: "Licensed Cosmetologist",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepLicensedProfessionalPersonalInfo-B6orcA1q.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type LicensedProfessionalStatus,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype DefaultStatusMessages = {\n [key in LicensedProfessionalStatus]: string;\n};\n\nconst defaultStatusMessages: DefaultStatusMessages = {\n LICENSED_COSMETOLOGIST: \"Licensed Cosmetologist\",\n LICENSED_REAL_ESTATE_AGENT: \"Licensed Real Estate Agent\",\n VETERINARIAN: \"Veterinarian\",\n CHILD_CARE_WORKER: \"Child Care Worker\",\n LIBRARIAN: \"Librarian\",\n INTERIOR_DESIGNER: \"Interior Designer\",\n ARCHITECT: \"Architect\",\n GENERAL_CONTRACTOR: \"General Contractor\",\n NUTRITION_PROFESSIONAL: \"Nutrition Professional\",\n};\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const getStatusLabel = (status: LicensedProfessionalStatus | undefined): string => {\n if (!status) {\n return \"\";\n }\n return intl.formatHTMLMessage({ id: status, defaultMessage: defaultStatusMessages[status] });\n };\n\n const getAvailableLicensedProfessionalStatuses = () => {\n const availableStatusesResponse = verificationResponse.availableStatuses;\n const availableStatuses: FormSelectChoice[] = [];\n\n if (availableStatusesResponse) {\n for (const status of availableStatusesResponse) {\n availableStatuses.push({\n value: status,\n label: getStatusLabel(status),\n });\n }\n }\n return availableStatuses;\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getAvailableLicensedProfessionalStatuses()}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"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\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;aAgDM,IAA+C;CACnD,wBAAwB;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,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;EACkB;;AAEzB,CAIA"}
|
|
1
|
+
{"version":3,"file":"StepLicensedProfessionalPersonalInfo-18e4A7vC.js","names":[],"sources":["../../src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["import { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n type CustomFormFieldConfig,\n type FormSelectChoice,\n type LicensedProfessionalPersonalInfoResponse,\n type LicensedProfessionalPersonalInfoViewModel,\n type LicensedProfessionalStatus,\n type Organization,\n type VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\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 { StatusComponent as LicensedProfessionalStatusComponent } from \"../FormFields/Status/StatusComponent\";\nimport { LicensedProfessionalOrganizationComponent as LicensedProfessionalOrganization } from \"../FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepLicensedProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype DefaultStatusMessages = {\n [key in LicensedProfessionalStatus]: string;\n};\n\nconst defaultStatusMessages: DefaultStatusMessages = {\n LICENSED_COSMETOLOGIST: \"Licensed Cosmetologist\",\n LICENSED_REAL_ESTATE_AGENT: \"Licensed Real Estate Agent\",\n VETERINARIAN: \"Veterinarian\",\n CHILD_CARE_WORKER: \"Child Care Worker\",\n LIBRARIAN: \"Librarian\",\n INTERIOR_DESIGNER: \"Interior Designer\",\n ARCHITECT: \"Architect\",\n GENERAL_CONTRACTOR: \"General Contractor\",\n NUTRITION_PROFESSIONAL: \"Nutrition Professional\",\n};\n\nconst StepLicensedProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepLicensedProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as LicensedProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateLicensedProfessionalViewModel = (\n key: keyof LicensedProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState: LicensedProfessionalPersonalInfoViewModel = produce(\n viewModel,\n (draft: LicensedProfessionalPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const getStatusLabel = (status: LicensedProfessionalStatus | undefined): string => {\n if (!status) {\n return \"\";\n }\n return intl.formatHTMLMessage({ id: status, defaultMessage: defaultStatusMessages[status] });\n };\n\n const getAvailableLicensedProfessionalStatuses = () => {\n const availableStatusesResponse = verificationResponse.availableStatuses;\n const availableStatuses: FormSelectChoice[] = [];\n\n if (availableStatusesResponse) {\n for (const status of availableStatusesResponse) {\n availableStatuses.push({\n value: status,\n label: getStatusLabel(status),\n });\n }\n }\n return availableStatuses;\n };\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"licensed-professional\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <LicensedProfessionalStatusComponent\n segmentId=\"licensed-professional\"\n value={{\n value: viewModel.statuses ? viewModel.statuses[0] : \"\",\n label: viewModel.statuses ? getStatusLabel(viewModel.statuses[0]) : \"\",\n }}\n isErrored={!!fieldValidationErrors.statuses}\n options={getAvailableLicensedProfessionalStatuses()}\n disabled={getFieldConfigByFieldId(\"statuses\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n const updatedStatuses = status ? [status.value as string] : [];\n updateLicensedProfessionalViewModel(\"statuses\", updatedStatuses);\n updateFieldValidationErrorsByFieldId(\n \"statuses\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <LicensedProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as LicensedProfessionalPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\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 updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateLicensedProfessionalViewModel(\"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 updateLicensedProfessionalViewModel(\"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\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectLicensedProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Licensed Professional Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepLicensedProfessionalPersonalInfoComponent = injectIntl(\n StepLicensedProfessionalPersonalInfo,\n);\n"],"mappings":";;;;;;;;;;;;;;;aAgDM,IAA+C;CACnD,wBAAwB;CACxB,4BAA4B;CAC5B,cAAc;CACd,mBAAmB;CACnB,WAAW;CACX,mBAAmB;CACnB,WAAW;CACX,oBAAoB;CACpB,wBAAwB;AAC1B,GAuNa,IAAgD,GArNf,EAC5C,SACA,6BACwD;CACxD,IAAM,IAAY,EAAoB,WAChC,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAE/D,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,IAAM,IAAuD,EAC3D,IACC,MAAqD;GACpD,EAAO,KAAe;EACxB,CACF;EACA,EAAoB,gBAAgB,CAAS;CAC/C,GAEM,KAAkB,MACjB,IAGE,EAAK,kBAAkB;EAAE,IAAI;EAAQ,gBAAgB,EAAsB;CAAQ,CAAC,IAFlF;CAoBX,OACE,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;YAF7B;GAIE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,qBAAoB;GACrB,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,WAAU;IACV,OAAO;KACL,OAAO,EAAU,WAAW,EAAU,SAAS,KAAK;KACpD,OAAO,EAAU,WAAW,EAAe,EAAU,SAAS,EAAE,IAAI;IACtE;IACA,WAAW,CAAC,CAAC,EAAsB;IACnC,gBAtCiD;KACrD,IAAM,IAA4B,EAAqB,mBACjD,IAAwC,CAAC;KAE/C,IAAI,GACF,KAAK,IAAM,KAAU,G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