@sheerid/jslib 2.262.0 → 2.264.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 +1522 -3822
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{AddressComponent-DJPGVE04.js → AddressComponent-BcUOtiOW.js} +7 -7
- package/chunk/{AddressComponent-CL1CDsWz.js.map → AddressComponent-BcUOtiOW.js.map} +1 -1
- package/chunk/{AddressComponent-CL1CDsWz.js → AddressComponent-cZ7Rrphj.js} +7 -7
- package/chunk/{AddressComponent-DJPGVE04.js.map → AddressComponent-cZ7Rrphj.js.map} +1 -1
- package/chunk/{AnnouncingHeader-lotcA5d8.js → AnnouncingHeader-DDT5xAyL.js} +6 -6
- package/chunk/{AnnouncingHeader-DGy7wEme.js.map → AnnouncingHeader-DDT5xAyL.js.map} +1 -1
- package/chunk/{AnnouncingHeader-DGy7wEme.js → AnnouncingHeader-DSPYeTwU.js} +6 -6
- package/chunk/{AnnouncingHeader-lotcA5d8.js.map → AnnouncingHeader-DSPYeTwU.js.map} +1 -1
- package/chunk/{ApiUrls-CCydfy8I.js → ApiUrls-BGkT0u8_.js} +6 -6
- package/chunk/{ApiUrls-CCydfy8I.js.map → ApiUrls-BGkT0u8_.js.map} +1 -1
- package/chunk/{ApiUrls-DdwCkseK.js → ApiUrls-DplKihXV.js} +13 -13
- package/chunk/{ApiUrls-DdwCkseK.js.map → ApiUrls-DplKihXV.js.map} +1 -1
- package/chunk/{BirthDateComponent-DRjYSB1_.js → BirthDateComponent-DiRfVMkQ.js} +8 -8
- package/chunk/{BirthDateComponent-CBXOBCcV.js.map → BirthDateComponent-DiRfVMkQ.js.map} +1 -1
- package/chunk/{BirthDateComponent-CBXOBCcV.js → BirthDateComponent-mw3tGfO1.js} +8 -8
- package/chunk/{BirthDateComponent-DRjYSB1_.js.map → BirthDateComponent-mw3tGfO1.js.map} +1 -1
- package/chunk/{CaptchaComponent-BdltUs-q.js → CaptchaComponent-Bo6-PXzj.js} +162 -158
- package/chunk/{CaptchaComponent-BdltUs-q.js.map → CaptchaComponent-Bo6-PXzj.js.map} +1 -1
- package/chunk/{CaptchaComponent-DiYK5xPX.js → CaptchaComponent-D6FNNlKj.js} +148 -152
- package/chunk/{CaptchaComponent-DiYK5xPX.js.map → CaptchaComponent-D6FNNlKj.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DrY1Xz8z.js → ChangeLocaleComponent-B905JfFy.js} +8 -8
- package/chunk/{ChangeLocaleComponent-DUIMw7ra.js.map → ChangeLocaleComponent-B905JfFy.js.map} +1 -1
- package/chunk/{ChangeLocaleComponent-DUIMw7ra.js → ChangeLocaleComponent-C1vybPVc.js} +8 -8
- package/chunk/{ChangeLocaleComponent-DrY1Xz8z.js.map → ChangeLocaleComponent-C1vybPVc.js.map} +1 -1
- package/chunk/{City-FRiBMMDp.js → City-BiuOEuRx.js} +7 -7
- package/chunk/{City-C7052kY5.js.map → City-BiuOEuRx.js.map} +1 -1
- package/chunk/{City-C7052kY5.js → City-D-gJ5H6v.js} +7 -7
- package/chunk/{City-FRiBMMDp.js.map → City-D-gJ5H6v.js.map} +1 -1
- package/chunk/{CollegeNameComponent-D8AH4Ios.js → CollegeNameComponent-BDZD28ed.js} +9 -9
- package/chunk/{CollegeNameComponent-BbW5HgWL.js.map → CollegeNameComponent-BDZD28ed.js.map} +1 -1
- package/chunk/{CollegeNameComponent-BbW5HgWL.js → CollegeNameComponent-C_1m4XT-.js} +9 -9
- package/chunk/{CollegeNameComponent-D8AH4Ios.js.map → CollegeNameComponent-C_1m4XT-.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DnS2qHDv.js → CopyToClipboardComponent-CI5EWk0o.js} +6 -6
- package/chunk/{CopyToClipboardComponent-DMUuSpCM.js.map → CopyToClipboardComponent-CI5EWk0o.js.map} +1 -1
- package/chunk/{CopyToClipboardComponent-DMUuSpCM.js → CopyToClipboardComponent-DyolMvdc.js} +6 -6
- package/chunk/{CopyToClipboardComponent-DnS2qHDv.js.map → CopyToClipboardComponent-DyolMvdc.js.map} +1 -1
- package/chunk/{CountryComponentWrapper-5cH6YXTK.js → CountryComponentWrapper-BrhHPoQD.js} +25 -25
- package/chunk/{CountryComponentWrapper-5cH6YXTK.js.map → CountryComponentWrapper-BrhHPoQD.js.map} +1 -1
- package/chunk/CountryComponentWrapper-HDMnK8-s.js +74 -0
- package/chunk/{CountryComponentWrapper-NmfwlmFA.js.map → CountryComponentWrapper-HDMnK8-s.js.map} +1 -1
- package/chunk/{DischargeDateComponent-DXCPG2NN.js → DischargeDateComponent-CFgYtvv6.js} +22 -22
- package/chunk/{DischargeDateComponent-DXCPG2NN.js.map → DischargeDateComponent-CFgYtvv6.js.map} +1 -1
- package/chunk/{DischargeDateComponent-kDvAcwU2.js → DischargeDateComponent-D3GK6UIu.js} +17 -17
- package/chunk/{DischargeDateComponent-kDvAcwU2.js.map → DischargeDateComponent-D3GK6UIu.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-DZtTp8zc.js → DriverLicenseNumberComponent-BzgEUUM2.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-BpY0Emv_.js.map → DriverLicenseNumberComponent-BzgEUUM2.js.map} +1 -1
- package/chunk/{DriverLicenseNumberComponent-BpY0Emv_.js → DriverLicenseNumberComponent-DoJspVrD.js} +7 -7
- package/chunk/{DriverLicenseNumberComponent-DZtTp8zc.js.map → DriverLicenseNumberComponent-DoJspVrD.js.map} +1 -1
- package/chunk/EmailLoopPending-Bm7vJ_QR.js +133 -0
- package/chunk/EmailLoopPending-Bm7vJ_QR.js.map +1 -0
- package/chunk/EmailLoopPending-CpMrwV1m.js +137 -0
- package/chunk/EmailLoopPending-CpMrwV1m.js.map +1 -0
- package/chunk/{ExtraMessage-Cf_jXuhg.js → ExtraMessage-BbACElsX.js} +7 -7
- package/chunk/{ExtraMessage-BjQEDNZp.js.map → ExtraMessage-BbACElsX.js.map} +1 -1
- package/chunk/{ExtraMessage-BjQEDNZp.js → ExtraMessage-C4sJr6cw.js} +7 -7
- package/chunk/{ExtraMessage-Cf_jXuhg.js.map → ExtraMessage-C4sJr6cw.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-BeCWKFfA.js → FirstResponderOrganizationComponent-Bq03G6Dk.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-5kCooG6X.js.map → FirstResponderOrganizationComponent-Bq03G6Dk.js.map} +1 -1
- package/chunk/{FirstResponderOrganizationComponent-5kCooG6X.js → FirstResponderOrganizationComponent-C7ULKSCq.js} +8 -8
- package/chunk/{FirstResponderOrganizationComponent-BeCWKFfA.js.map → FirstResponderOrganizationComponent-C7ULKSCq.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-BGytnCis.js → FormFieldInputSelect-B3UZlH_H.js} +7 -7
- package/chunk/{FormFieldInputSelect-BGytnCis.js.map → FormFieldInputSelect-B3UZlH_H.js.map} +1 -1
- package/chunk/{FormFieldInputSelect-ERxtSM2k.js → FormFieldInputSelect-CnGFMROq.js} +7 -7
- package/chunk/{FormFieldInputSelect-ERxtSM2k.js.map → FormFieldInputSelect-CnGFMROq.js.map} +1 -1
- package/chunk/{FormFieldLayout-BzljWm45.js → FormFieldLayout-C-prs50D.js} +6 -6
- package/chunk/{FormFieldLayout-BzljWm45.js.map → FormFieldLayout-C-prs50D.js.map} +1 -1
- package/chunk/{FormFieldLayout-Bmwrqqid.js → FormFieldLayout-eXRaMPRB.js} +6 -6
- package/chunk/{FormFieldLayout-Bmwrqqid.js.map → FormFieldLayout-eXRaMPRB.js.map} +1 -1
- package/chunk/{FormFieldText-Cd6qEKyH.js → FormFieldText-C44FpzvF.js} +7 -7
- package/chunk/{FormFieldText-Cd6qEKyH.js.map → FormFieldText-C44FpzvF.js.map} +1 -1
- package/chunk/{FormFieldText-Dj7CbXHB.js → FormFieldText-DKDYD6O1.js} +7 -7
- package/chunk/{FormFieldText-Dj7CbXHB.js.map → FormFieldText-DKDYD6O1.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-f3sCsyGd.js → FormFieldTypeahead-BSbSF1lL.js} +548 -547
- package/chunk/{FormFieldTypeahead-Qg03EGUM.js.map → FormFieldTypeahead-BSbSF1lL.js.map} +1 -1
- package/chunk/{FormFieldTypeahead-Qg03EGUM.js → FormFieldTypeahead-DmKNOVYP.js} +483 -482
- package/chunk/{FormFieldTypeahead-f3sCsyGd.js.map → FormFieldTypeahead-DmKNOVYP.js.map} +1 -1
- package/chunk/{FormFooterComponent-B5GraQki.js → FormFooterComponent-BkXmQxBf.js} +2221 -2140
- package/chunk/FormFooterComponent-BkXmQxBf.js.map +1 -0
- package/chunk/{FormFooterComponent-Cjj1N06z.js → FormFooterComponent-khRc1L5E.js} +2012 -1943
- package/chunk/FormFooterComponent-khRc1L5E.js.map +1 -0
- package/chunk/{FormSelectChoice-BYqGfG0H.js → FormSelectChoice-DJuQmzKz.js} +9 -13
- package/chunk/{FormSelectChoice-BYqGfG0H.js.map → FormSelectChoice-DJuQmzKz.js.map} +1 -1
- package/chunk/{FormSelectChoice-CwTiq1ri.js → FormSelectChoice-tC4ovQdX.js} +13 -9
- package/chunk/{FormSelectChoice-CwTiq1ri.js.map → FormSelectChoice-tC4ovQdX.js.map} +1 -1
- package/chunk/{InputText-B0p1sWvq.js → InputText-C12rmr0E.js} +7 -7
- package/chunk/{InputText-15VS1v4H.js.map → InputText-C12rmr0E.js.map} +1 -1
- package/chunk/{InputText-15VS1v4H.js → InputText-CDxD4Fcy.js} +7 -7
- package/chunk/{InputText-B0p1sWvq.js.map → InputText-CDxD4Fcy.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-Bh44hIRm.js → LicensedProfessionalOrganizationComponent-BZsY1scU.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-Bh44hIRm.js.map → LicensedProfessionalOrganizationComponent-BZsY1scU.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-CIgDgcV-.js → LicensedProfessionalOrganizationComponent-dNPXXR17.js} +8 -8
- package/chunk/{LicensedProfessionalOrganizationComponent-CIgDgcV-.js.map → LicensedProfessionalOrganizationComponent-dNPXXR17.js.map} +1 -1
- package/chunk/{LogoComponent-CTCMA59a.js → LogoComponent-Dt2sl-7K.js} +6 -6
- package/chunk/{LogoComponent-CTCMA59a.js.map → LogoComponent-Dt2sl-7K.js.map} +1 -1
- package/chunk/{LogoComponent-CXrKiNgF.js → LogoComponent-qYFfdGhk.js} +6 -6
- package/chunk/{LogoComponent-CXrKiNgF.js.map → LogoComponent-qYFfdGhk.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-CeT3e_1t.js → LowIncomeOrganizationComponent-B2w-1D1s.js} +19 -15
- package/chunk/{LowIncomeOrganizationComponent-BFyrnocd.js.map → LowIncomeOrganizationComponent-B2w-1D1s.js.map} +1 -1
- package/chunk/{LowIncomeOrganizationComponent-BFyrnocd.js → LowIncomeOrganizationComponent-Z0BGp7hP.js} +12 -16
- package/chunk/{LowIncomeOrganizationComponent-CeT3e_1t.js.map → LowIncomeOrganizationComponent-Z0BGp7hP.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-uOzlQSJl.js → MedicalProfessionalOrganizationComponent-D-YIIZN8.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-DIv02ngj.js.map → MedicalProfessionalOrganizationComponent-D-YIIZN8.js.map} +1 -1
- package/chunk/{MedicalProfessionalOrganizationComponent-DIv02ngj.js → MedicalProfessionalOrganizationComponent-DdVYxvwO.js} +8 -8
- package/chunk/{MedicalProfessionalOrganizationComponent-uOzlQSJl.js.map → MedicalProfessionalOrganizationComponent-DdVYxvwO.js.map} +1 -1
- package/chunk/{MemberIdComponent-CptMgI3z.js → MemberIdComponent-DDa-iQtj.js} +7 -7
- package/chunk/{MemberIdComponent-CptMgI3z.js.map → MemberIdComponent-DDa-iQtj.js.map} +1 -1
- package/chunk/{MemberIdComponent-D9iQX3c1.js → MemberIdComponent-DDpGpO2e.js} +7 -7
- package/chunk/{MemberIdComponent-D9iQX3c1.js.map → MemberIdComponent-DDpGpO2e.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-BxdQ7Dxj.js → MembershipOrganizationComponent-BEOw1H7n.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-BxdQ7Dxj.js.map → MembershipOrganizationComponent-BEOw1H7n.js.map} +1 -1
- package/chunk/{MembershipOrganizationComponent-WAGr7NJ8.js → MembershipOrganizationComponent-CCCYoUe_.js} +8 -8
- package/chunk/{MembershipOrganizationComponent-WAGr7NJ8.js.map → MembershipOrganizationComponent-CCCYoUe_.js.map} +1 -1
- package/chunk/Onfido-CTCgAwnB.js +4 -4
- package/chunk/{PersonalInfoStepSubmitButton-BjmIuVJ1.js → PersonalInfoStepSubmitButton-C6dx95ih.js} +18 -18
- package/chunk/{PersonalInfoStepSubmitButton-BS-lDcpS.js.map → PersonalInfoStepSubmitButton-C6dx95ih.js.map} +1 -1
- package/chunk/{PersonalInfoStepSubmitButton-BS-lDcpS.js → PersonalInfoStepSubmitButton-DBVGelcX.js} +21 -21
- package/chunk/{PersonalInfoStepSubmitButton-BjmIuVJ1.js.map → PersonalInfoStepSubmitButton-DBVGelcX.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BbIk3Vx2.js → PersonalInfoStepWrapper-BmHuTQIp.js} +7 -7
- package/chunk/{PersonalInfoStepWrapper-BbIk3Vx2.js.map → PersonalInfoStepWrapper-BmHuTQIp.js.map} +1 -1
- package/chunk/{PersonalInfoStepWrapper-BdmcREBy.js → PersonalInfoStepWrapper-D0IAqpda.js} +8 -8
- package/chunk/{PersonalInfoStepWrapper-BdmcREBy.js.map → PersonalInfoStepWrapper-D0IAqpda.js.map} +1 -1
- package/chunk/{PostalCodeComponent-BLKNma3I.js → PostalCodeComponent-BSNHro7-.js} +7 -7
- package/chunk/{PostalCodeComponent-BLKNma3I.js.map → PostalCodeComponent-BSNHro7-.js.map} +1 -1
- package/chunk/{PostalCodeComponent-CvmEHXss.js → PostalCodeComponent-EPa7PrEn.js} +7 -7
- package/chunk/{PostalCodeComponent-CvmEHXss.js.map → PostalCodeComponent-EPa7PrEn.js.map} +1 -1
- package/chunk/{SSN-7ZWvh6Fl.js → SSN-BTH_HKwP.js} +8 -8
- package/chunk/{SSN-7ZWvh6Fl.js.map → SSN-BTH_HKwP.js.map} +1 -1
- package/chunk/{SSN-D4L9dF07.js → SSN-CoqeSJiv.js} +8 -8
- package/chunk/{SSN-D4L9dF07.js.map → SSN-CoqeSJiv.js.map} +1 -1
- package/chunk/{StateSelectComponent-CIPdo6OL.js → StateSelectComponent-CsMhYr5S.js} +6 -6
- package/chunk/{StateSelectComponent-2ZrqKNnd.js.map → StateSelectComponent-CsMhYr5S.js.map} +1 -1
- package/chunk/{StateSelectComponent-2ZrqKNnd.js → StateSelectComponent-D3JOWUan.js} +6 -6
- package/chunk/{StateSelectComponent-CIPdo6OL.js.map → StateSelectComponent-D3JOWUan.js.map} +1 -1
- package/chunk/{StatusComponent-Be-kNy-2.js → StatusComponent-BV3O5IFV.js} +8 -8
- package/chunk/{StatusComponent-Be-kNy-2.js.map → StatusComponent-BV3O5IFV.js.map} +1 -1
- package/chunk/{StatusComponent-lWYpHXI5.js → StatusComponent-CZMNhzFo.js} +8 -8
- package/chunk/{StatusComponent-lWYpHXI5.js.map → StatusComponent-CZMNhzFo.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-KkWaNIkx.js → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js} +52 -48
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DBe3v9gn.js.map → StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DBe3v9gn.js → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js} +22 -26
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-KkWaNIkx.js.map → StepActiveMilitaryPersonalInfoComponent-R1Hz2NV5.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-BhvhM0Qc.js → StepAgePersonalInfo-7J8X1jpZ.js} +41 -41
- package/chunk/{StepAgePersonalInfo-BhvhM0Qc.js.map → StepAgePersonalInfo-7J8X1jpZ.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-yyCGLpxY.js → StepAgePersonalInfo-CdgtxCTX.js} +42 -42
- package/chunk/{StepAgePersonalInfo-yyCGLpxY.js.map → StepAgePersonalInfo-CdgtxCTX.js.map} +1 -1
- package/chunk/{StepCard-42EsVjXX.js → StepCard-B-nYcoAX.js} +5 -5
- package/chunk/{StepCard-42EsVjXX.js.map → StepCard-B-nYcoAX.js.map} +1 -1
- package/chunk/{StepCard-Bp2KEF4j.js → StepCard-DXyV0Wj4.js} +5 -5
- package/chunk/{StepCard-Bp2KEF4j.js.map → StepCard-DXyV0Wj4.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-BfsiGjxy.js → StepCollectIdentifier-BGN4P47k.js} +13 -13
- package/chunk/{StepCollectIdentifier-BfsiGjxy.js.map → StepCollectIdentifier-BGN4P47k.js.map} +1 -1
- package/chunk/{StepCollectIdentifier-CL3M2ylz.js → StepCollectIdentifier-DNIMAHOm.js} +9 -9
- package/chunk/{StepCollectIdentifier-CL3M2ylz.js.map → StepCollectIdentifier-DNIMAHOm.js.map} +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-02pN7KWp.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-BkJqLpHn.js → StepCollectMilitaryStatusComponent-A0b6sTsC.js} +5 -5
- package/chunk/{StepCollectPersonalInfo-D5Fs34Ny.js → StepCollectPersonalInfo-DSYGRZsu.js} +80 -80
- package/chunk/{StepCollectPersonalInfo-D6eSY_w8.js.map → StepCollectPersonalInfo-DSYGRZsu.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-D6eSY_w8.js → StepCollectPersonalInfo-Dnp2yK42.js} +83 -83
- package/chunk/{StepCollectPersonalInfo-D5Fs34Ny.js.map → StepCollectPersonalInfo-Dnp2yK42.js.map} +1 -1
- package/chunk/{StepCompleteAuthentication-ZqAH64xm.js → StepCompleteAuthentication-COpZ5w8i.js} +46 -45
- package/chunk/StepCompleteAuthentication-COpZ5w8i.js.map +1 -0
- package/chunk/{StepCompleteAuthentication-B5kvuKWH.js → StepCompleteAuthentication-CWDsVUrM.js} +46 -45
- package/chunk/StepCompleteAuthentication-CWDsVUrM.js.map +1 -0
- package/chunk/{StepConsolation-DMvLMVkh.js → StepConsolation-CWZOfBEr.js} +9 -9
- package/chunk/{StepConsolation-Bsk_fLwi.js.map → StepConsolation-CWZOfBEr.js.map} +1 -1
- package/chunk/{StepConsolation-Bsk_fLwi.js → StepConsolation-DISoSIlj.js} +9 -9
- package/chunk/{StepConsolation-DMvLMVkh.js.map → StepConsolation-DISoSIlj.js.map} +1 -1
- package/chunk/{StepDocUpload-DSpodLC9.js → StepDocUpload-BDm37Fq1.js} +272 -268
- package/chunk/{StepDocUpload-DSpodLC9.js.map → StepDocUpload-BDm37Fq1.js.map} +1 -1
- package/chunk/{StepDocUpload-BtRS8S-x.js → StepDocUpload-ETxR-vzb.js} +238 -242
- package/chunk/{StepDocUpload-BtRS8S-x.js.map → StepDocUpload-ETxR-vzb.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BJwEr-7A.js → StepDriverLicensePersonalInfoComponent-CBOl141P.js} +37 -33
- package/chunk/{StepDriverLicensePersonalInfoComponent-BJwEr-7A.js.map → StepDriverLicensePersonalInfoComponent-CBOl141P.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dhsw3bkZ.js → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js} +16 -20
- package/chunk/{StepDriverLicensePersonalInfoComponent-Dhsw3bkZ.js.map → StepDriverLicensePersonalInfoComponent-CUuNFSwL.js.map} +1 -1
- package/chunk/{StepEmailLoop-CRbDel8p.js → StepEmailLoop-66eXFv6H.js} +52 -51
- package/chunk/StepEmailLoop-66eXFv6H.js.map +1 -0
- package/chunk/{StepEmailLoop-CLdfvPXB.js → StepEmailLoop-DQiSiwAG.js} +51 -50
- package/chunk/StepEmailLoop-DQiSiwAG.js.map +1 -0
- package/chunk/{StepEmploymentPersonalInfo-DPJ0UMrJ.js → StepEmploymentPersonalInfo-CKeI3whS.js} +19 -23
- package/chunk/{StepEmploymentPersonalInfo-DPJ0UMrJ.js.map → StepEmploymentPersonalInfo-CKeI3whS.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-urokkAjm.js → StepEmploymentPersonalInfo-gKRvI5TZ.js} +49 -45
- package/chunk/{StepEmploymentPersonalInfo-urokkAjm.js.map → StepEmploymentPersonalInfo-gKRvI5TZ.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-ThcHSwW0.js → StepFirstResponderPersonalInfo-B42FfPMz.js} +35 -39
- package/chunk/{StepFirstResponderPersonalInfo-BvK0QXPZ.js.map → StepFirstResponderPersonalInfo-B42FfPMz.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-BvK0QXPZ.js → StepFirstResponderPersonalInfo-B8DN_Q06.js} +57 -53
- package/chunk/{StepFirstResponderPersonalInfo-ThcHSwW0.js.map → StepFirstResponderPersonalInfo-B8DN_Q06.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CDNQr2j2.js → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js} +46 -42
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-aDUUPfUK.js.map → StepGeneralIdentityPersonalInfoComponent-Ba0AN_Uw.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-aDUUPfUK.js → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js} +19 -23
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-CDNQr2j2.js.map → StepGeneralIdentityPersonalInfoComponent-CFdYhH7A.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-deShTQld.js → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js} +49 -45
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cz7NMFyK.js.map → StepHybridIdentityPersonalInfoComponent-C-w3vXUI.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-Cz7NMFyK.js → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js} +20 -24
- package/chunk/{StepHybridIdentityPersonalInfoComponent-deShTQld.js.map → StepHybridIdentityPersonalInfoComponent-KAWl91YH.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-Bc69OZrr.js → StepIDCheckLoop-DKQFGeYF.js} +9 -9
- package/chunk/{StepIDCheckLoop-Bc69OZrr.js.map → StepIDCheckLoop-DKQFGeYF.js.map} +1 -1
- package/chunk/{StepIDCheckLoop-qQM2ppOK.js → StepIDCheckLoop-DzY5dNGP.js} +9 -9
- package/chunk/{StepIDCheckLoop-qQM2ppOK.js.map → StepIDCheckLoop-DzY5dNGP.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CYiSsYZC.js → StepIDCheckLoopOnfido-Cch_5u12.js} +39 -39
- package/chunk/{StepIDCheckLoopOnfido-_Y2Yl8H4.js.map → StepIDCheckLoopOnfido-Cch_5u12.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-_Y2Yl8H4.js → StepIDCheckLoopOnfido-Dx2ATNUg.js} +38 -38
- package/chunk/{StepIDCheckLoopOnfido-CYiSsYZC.js.map → StepIDCheckLoopOnfido-Dx2ATNUg.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CjeAqwHh.js → StepIDCheckLoopRegula-BTQfpfOM.js} +21 -17
- package/chunk/{StepIDCheckLoopRegula-CjeAqwHh.js.map → StepIDCheckLoopRegula-BTQfpfOM.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-KS_bH-2k.js → StepIDCheckLoopRegula-DdWBTpVn.js} +24 -28
- package/chunk/{StepIDCheckLoopRegula-KS_bH-2k.js.map → StepIDCheckLoopRegula-DdWBTpVn.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CUyp2gOH.js → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js} +69 -65
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CUyp2gOH.js.map → StepInactiveMilitaryPersonalInfoComponent-CJ1rxwbM.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CwEps3yq.js → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js} +36 -40
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CwEps3yq.js.map → StepInactiveMilitaryPersonalInfoComponent-DBPl9py9.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-Ckl7LuJd.js → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js} +42 -38
- package/chunk/{StepLicensedProfessionalPersonalInfo-BrUYM89F.js.map → StepLicensedProfessionalPersonalInfo-CSqmpZXF.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-BrUYM89F.js → StepLicensedProfessionalPersonalInfo-DKMUW049.js} +18 -22
- package/chunk/{StepLicensedProfessionalPersonalInfo-Ckl7LuJd.js.map → StepLicensedProfessionalPersonalInfo-DKMUW049.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-Bn1TGxr5.js → StepLowIncomePersonalInfo-D9O8Uor2.js} +68 -64
- package/chunk/{StepLowIncomePersonalInfo-Bn1TGxr5.js.map → StepLowIncomePersonalInfo-D9O8Uor2.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-C3A_oITZ.js → StepLowIncomePersonalInfo-QFuvGE-L.js} +28 -32
- package/chunk/{StepLowIncomePersonalInfo-C3A_oITZ.js.map → StepLowIncomePersonalInfo-QFuvGE-L.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-Bny4aBGH.js → StepMedicalProfessionalPersonalInfo-CbmolcMH.js} +51 -47
- package/chunk/{StepMedicalProfessionalPersonalInfo-Bny4aBGH.js.map → StepMedicalProfessionalPersonalInfo-CbmolcMH.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-bEmltLO0.js → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js} +25 -29
- package/chunk/{StepMedicalProfessionalPersonalInfo-bEmltLO0.js.map → StepMedicalProfessionalPersonalInfo-XW9SRLYa.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-ByHX0gaS.js → StepMemberPersonalInfo-CVOzYqMw.js} +37 -37
- package/chunk/{StepMemberPersonalInfo-wwAzUKPQ.js.map → StepMemberPersonalInfo-CVOzYqMw.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-wwAzUKPQ.js → StepMemberPersonalInfo-DvmSqX4n.js} +27 -27
- package/chunk/{StepMemberPersonalInfo-ByHX0gaS.js.map → StepMemberPersonalInfo-DvmSqX4n.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-CUbmmXDG.js → StepMoverPersonalInfo-ADq4X93i.js} +23 -23
- package/chunk/{StepMoverPersonalInfo-B1SbMnni.js.map → StepMoverPersonalInfo-ADq4X93i.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-B1SbMnni.js → StepMoverPersonalInfo-u06pbtdj.js} +24 -24
- package/chunk/{StepMoverPersonalInfo-CUbmmXDG.js.map → StepMoverPersonalInfo-u06pbtdj.js.map} +1 -1
- package/chunk/{StepOverrideComponent-Brq5KLjj.js → StepOverrideComponent-CPTcGV0Y.js} +41 -41
- package/chunk/StepOverrideComponent-CPTcGV0Y.js.map +1 -0
- package/chunk/{StepOverrideComponent-DbVmCfo8.js → StepOverrideComponent-DrnSMis1.js} +41 -41
- package/chunk/StepOverrideComponent-DrnSMis1.js.map +1 -0
- package/chunk/{StepSMSLoop-DLc0yIT_.js → StepSMSLoop-BeJD_bwf.js} +16 -16
- package/chunk/{StepSMSLoop-BETiez1v.js.map → StepSMSLoop-BeJD_bwf.js.map} +1 -1
- package/chunk/{StepSMSLoop-BETiez1v.js → StepSMSLoop-WBuEgD6l.js} +16 -16
- package/chunk/{StepSMSLoop-DLc0yIT_.js.map → StepSMSLoop-WBuEgD6l.js.map} +1 -1
- package/chunk/{StepSSO-BaFk7RFJ.js → StepSSO-Bp-M6Mod.js} +5 -5
- package/chunk/StepSSO-DfPU73JX.js +9 -0
- package/chunk/{StepSocialSecurityNumber-Bpo4fPf6.js → StepSocialSecurityNumber-CxmDZ_yz.js} +19 -19
- package/chunk/{StepSocialSecurityNumber-BdnDRRc3.js.map → StepSocialSecurityNumber-CxmDZ_yz.js.map} +1 -1
- package/chunk/{StepSocialSecurityNumber-BdnDRRc3.js → StepSocialSecurityNumber-DR2_1m3S.js} +17 -17
- package/chunk/{StepSocialSecurityNumber-Bpo4fPf6.js.map → StepSocialSecurityNumber-DR2_1m3S.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-C6vglquS.js → StepStudentPersonalInfo-C27MhV1r.js} +44 -43
- package/chunk/{StepStudentPersonalInfo-C6vglquS.js.map → StepStudentPersonalInfo-C27MhV1r.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DBBWOcEx.js → StepStudentPersonalInfo-Cw-DUf5K.js} +66 -65
- package/chunk/{StepStudentPersonalInfo-DBBWOcEx.js.map → StepStudentPersonalInfo-Cw-DUf5K.js.map} +1 -1
- package/chunk/{StepSuccess-C51_tEas.js → StepSuccess-BFG2uFAo.js} +86 -89
- package/chunk/StepSuccess-BFG2uFAo.js.map +1 -0
- package/chunk/{StepSuccess-CErDLjZO.js → StepSuccess-DjqHe3hp.js} +92 -87
- package/chunk/StepSuccess-DjqHe3hp.js.map +1 -0
- package/chunk/{StepTeacherPersonalInfo-BUw1PXZ1.js → StepTeacherPersonalInfo-DMMFjHnf.js} +36 -36
- package/chunk/{StepTeacherPersonalInfo-BUw1PXZ1.js.map → StepTeacherPersonalInfo-DMMFjHnf.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-C_pDLBTF.js → StepTeacherPersonalInfo-j1D03USI.js} +28 -28
- package/chunk/{StepTeacherPersonalInfo-C_pDLBTF.js.map → StepTeacherPersonalInfo-j1D03USI.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-BrKuZcYb.js +9 -0
- package/chunk/{StepThirdPartyLoop-BGHCbduX.js → StepThirdPartyLoop-CbFTIlwP.js} +5 -5
- package/chunk/{TeacherSchoolComponent-DTOJqI0k.js → TeacherSchoolComponent-CiMvlnGq.js} +9 -9
- package/chunk/{TeacherSchoolComponent-CH5QkYRm.js.map → TeacherSchoolComponent-CiMvlnGq.js.map} +1 -1
- package/chunk/{TeacherSchoolComponent-CH5QkYRm.js → TeacherSchoolComponent-DsUzj_xt.js} +9 -9
- package/chunk/{TeacherSchoolComponent-DTOJqI0k.js.map → TeacherSchoolComponent-DsUzj_xt.js.map} +1 -1
- package/chunk/TestingRouteOverrides-C6_6elEq.js +77 -0
- package/chunk/{TestingRouteOverrides-BQzBlUms.js.map → TestingRouteOverrides-C6_6elEq.js.map} +1 -1
- package/chunk/TestingRouteOverrides-DHL_cusu.js +81 -0
- package/chunk/{TestingRouteOverrides-Dw6GXQ6-.js.map → TestingRouteOverrides-DHL_cusu.js.map} +1 -1
- package/chunk/ThreatMetrix-D_TbL50B.js +4 -4
- package/chunk/{VerificationApiClient-DWnRRNnT.js → VerificationApiClient-1OjLrKjE.js} +76 -76
- package/chunk/{VerificationApiClient-DWnRRNnT.js.map → VerificationApiClient-1OjLrKjE.js.map} +1 -1
- package/chunk/{VerificationApiClient-BsLwbdz4.js → VerificationApiClient-PLVc1WDR.js} +142 -142
- package/chunk/{VerificationApiClient-BsLwbdz4.js.map → VerificationApiClient-PLVc1WDR.js.map} +1 -1
- package/chunk/{VerificationApiUtils-DDWkS3br.js → VerificationApiUtils-CbPWShkM.js} +7 -7
- package/chunk/{VerificationApiUtils-B4YmzpPS.js.map → VerificationApiUtils-CbPWShkM.js.map} +1 -1
- package/chunk/{VerificationApiUtils-B4YmzpPS.js → VerificationApiUtils-DnXcSPRj.js} +7 -7
- package/chunk/{VerificationApiUtils-DDWkS3br.js.map → VerificationApiUtils-DnXcSPRj.js.map} +1 -1
- package/chunk/ar-CZrVPqvf.js +4 -4
- package/chunk/bg-Cj9u62RW.js +4 -4
- package/chunk/bn-IN-AX8JdjQ8.js +4 -4
- package/chunk/countryUtils-CAW7TO02.js +12 -0
- package/chunk/{countryUtils-B0gQRrDx.js.map → countryUtils-CAW7TO02.js.map} +1 -1
- package/chunk/{countryUtils-CLqT0spr.js → countryUtils-CV_Lr16_.js} +5 -5
- package/chunk/{countryUtils-CLqT0spr.js.map → countryUtils-CV_Lr16_.js.map} +1 -1
- package/chunk/cs-5rrzGv7_.js +4 -4
- package/chunk/da-DMDlBT-5.js +4 -4
- package/chunk/de-DG-q-l7o.js +4 -4
- package/chunk/{downshift.esm-DECZgbjH.js → downshift.esm-BaiLtXU1.js} +122 -122
- package/chunk/{downshift.esm-3U7ccZMr.js.map → downshift.esm-BaiLtXU1.js.map} +1 -1
- package/chunk/{downshift.esm-3U7ccZMr.js → downshift.esm-DG33Aw1V.js} +43 -43
- package/chunk/{downshift.esm-DECZgbjH.js.map → downshift.esm-DG33Aw1V.js.map} +1 -1
- package/chunk/el-yctEkMhE.js +4 -4
- package/chunk/{empties-DXsucFOV.js → empties-CuuBn0bi.js} +5 -5
- package/chunk/{empties-DXsucFOV.js.map → empties-CuuBn0bi.js.map} +1 -1
- package/chunk/{empties-GdeHHk2b.js → empties-NTFzwSRR.js} +49 -49
- package/chunk/{empties-GdeHHk2b.js.map → empties-NTFzwSRR.js.map} +1 -1
- package/chunk/en-GB-6LZCsn1D.js +4 -4
- package/chunk/es-BMeF1R04.js +4 -4
- package/chunk/es-ES-CsFb7QAU.js +4 -4
- package/chunk/et-CiZKWMRu.js +4 -4
- package/chunk/eventEmitter-CSG6jR7V.js +4 -4
- package/chunk/fa-D9V3MCMh.js +4 -4
- package/chunk/fi-poKCN0AL.js +4 -4
- package/chunk/fr-BiSjb5hG.js +4 -4
- package/chunk/fr-CA-zBX3D7Nl.js +4 -4
- package/chunk/ga-jC99p6r7.js +4 -4
- package/chunk/hi-IN-C_1AZftT.js +4 -4
- package/chunk/hooks-ClexZCWs.js +2888 -0
- package/chunk/hooks-ClexZCWs.js.map +1 -0
- package/chunk/hooks-DqGWdJ7N.js +2892 -0
- package/chunk/hooks-DqGWdJ7N.js.map +1 -0
- package/chunk/hr-abbR52XG.js +4 -4
- package/chunk/hu-CeZoihsr.js +4 -4
- package/chunk/id-wFLT8G20.js +4 -4
- package/chunk/{intl-B461eGlU.js → intl-CuZpjbF2.js} +409 -401
- package/chunk/intl-CuZpjbF2.js.map +1 -0
- package/chunk/is-sc_8Dmxx.js +4 -4
- package/chunk/it-Mhw_31wt.js +4 -4
- package/chunk/iw-BfqjzsAq.js +4 -4
- package/chunk/ja-Bdvw5s91.js +4 -4
- package/chunk/{jsx-runtime-CeRrwqti.js → jsx-runtime-B29HBOo1.js} +5 -5
- package/chunk/{jsx-runtime-KEs0wOl5.js.map → jsx-runtime-B29HBOo1.js.map} +1 -1
- package/chunk/{jsx-runtime-KEs0wOl5.js → jsx-runtime-Br-ldzo0.js} +5 -5
- package/chunk/{jsx-runtime-CeRrwqti.js.map → jsx-runtime-Br-ldzo0.js.map} +1 -1
- package/chunk/kk-mHV9A9HS.js +4 -4
- package/chunk/ko-C7nyKdTs.js +4 -4
- package/chunk/lo-baNG1foB.js +4 -4
- package/chunk/lt-CNU2L7fK.js +4 -4
- package/chunk/lv-bP-HuAKS.js +4 -4
- package/chunk/{militaryStepHelpers-CT2x_HCE.js → militaryStepHelpers-BlzQcNHu.js} +5 -5
- package/chunk/{militaryStepHelpers-BeN98TAk.js.map → militaryStepHelpers-BlzQcNHu.js.map} +1 -1
- package/chunk/{militaryStepHelpers-BeN98TAk.js → militaryStepHelpers-COmBnCcw.js} +5 -5
- package/chunk/{militaryStepHelpers-CT2x_HCE.js.map → militaryStepHelpers-COmBnCcw.js.map} +1 -1
- package/chunk/{mocks-CmzyO_3E.js → mocks-BlLp3eOz.js} +9 -9
- package/chunk/{mocks-3VPL7XDa.js.map → mocks-BlLp3eOz.js.map} +1 -1
- package/chunk/{mocks-3VPL7XDa.js → mocks-CuPTVtpf.js} +9 -9
- package/chunk/{mocks-CmzyO_3E.js.map → mocks-CuPTVtpf.js.map} +1 -1
- package/chunk/ms-Bg8aDCAA.js +4 -4
- package/chunk/nl-BE-Ct8zP0W1.js +4 -4
- package/chunk/nl-CbfjSfKQ.js +4 -4
- package/chunk/no-DjDW2Ec_.js +4 -4
- package/chunk/{options-PkP3zQGm.js → options-BqxY1ri6.js} +394 -386
- package/chunk/{options-PkP3zQGm.js.map → options-BqxY1ri6.js.map} +1 -1
- package/chunk/pl--DnD-6qz.js +4 -4
- package/chunk/programThemeGetters-BKJAvlOG.js +165 -0
- package/chunk/{programThemeGetters-DSFEiKNU.js.map → programThemeGetters-BKJAvlOG.js.map} +1 -1
- package/chunk/{programThemeGetters-LYR56E0U.js → programThemeGetters-f9o96pYi.js} +18 -18
- package/chunk/{programThemeGetters-LYR56E0U.js.map → programThemeGetters-f9o96pYi.js.map} +1 -1
- package/chunk/pt-BR-B02CJDXT.js +4 -4
- package/chunk/pt-CcmRJnZb.js +4 -4
- package/chunk/{refs-xcOEsQO3.js → refs-B-c--SWS.js} +5 -5
- package/chunk/{refs-V7YziA0C.js.map → refs-B-c--SWS.js.map} +1 -1
- package/chunk/{refs-V7YziA0C.js → refs-CWwQlqJe.js} +5 -5
- package/chunk/{refs-xcOEsQO3.js.map → refs-CWwQlqJe.js.map} +1 -1
- package/chunk/ro-CLdi0jqR.js +4 -4
- package/chunk/ru-Z91NV1Cr.js +4 -4
- package/chunk/sk-B7rRmmv6.js +4 -4
- package/chunk/sl-DhAq6T_a.js +4 -4
- package/chunk/sr-DpP50d7v.js +4 -4
- package/chunk/strings-DWLVdUcm.js +4 -4
- package/chunk/sv-QG7LEZNd.js +4 -4
- package/chunk/sw--WAxwRTW.js +4 -4
- package/chunk/ta-DRF7u30N.js +4 -4
- package/chunk/th-BoK35Z2N.js +4 -4
- package/chunk/tl-BDTwfyaC.js +4 -4
- package/chunk/tr-BoXGTv5p.js +4 -4
- package/chunk/uk-AXN3c9FX.js +4 -4
- package/chunk/ur-D5Nqe4mS.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-VPw0kC1j.js → useCollectFieldsEndpoint-ChTjhl6c.js} +12 -12
- package/chunk/{useCollectFieldsEndpoint-CmhsVIvE.js.map → useCollectFieldsEndpoint-ChTjhl6c.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-CmhsVIvE.js → useCollectFieldsEndpoint-CqGDsmUW.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-VPw0kC1j.js.map → useCollectFieldsEndpoint-CqGDsmUW.js.map} +1 -1
- package/chunk/{useMetrics-C13BbDWa.js → useMetrics-BIJ6jLMV.js} +7 -11
- package/chunk/{useMetrics-C13BbDWa.js.map → useMetrics-BIJ6jLMV.js.map} +1 -1
- package/chunk/{useMetrics-ntewhX51.js → useMetrics-DWYTjtqD.js} +11 -7
- package/chunk/{useMetrics-ntewhX51.js.map → useMetrics-DWYTjtqD.js.map} +1 -1
- package/chunk/vi-BE4aMeLo.js +4 -4
- package/chunk/zh-CUzsIz8M.js +4 -4
- package/chunk/zh-HK-BTCqwQOw.js +4 -4
- package/chunk/zu-ChHTiO3Y.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 +1456 -3846
- package/sheerid.js.map +1 -1
- package/chunk/CountryComponentWrapper-NmfwlmFA.js +0 -74
- package/chunk/EmailLoopPending-CqkK5rZw.js +0 -136
- package/chunk/EmailLoopPending-CqkK5rZw.js.map +0 -1
- package/chunk/EmailLoopPending-WlbBU74F.js +0 -132
- package/chunk/EmailLoopPending-WlbBU74F.js.map +0 -1
- package/chunk/FormFooterComponent-B5GraQki.js.map +0 -1
- package/chunk/FormFooterComponent-Cjj1N06z.js.map +0 -1
- package/chunk/StepCollectMilitaryStatusComponent-BtbLeQMg.js +0 -9
- package/chunk/StepCompleteAuthentication-B5kvuKWH.js.map +0 -1
- package/chunk/StepCompleteAuthentication-ZqAH64xm.js.map +0 -1
- package/chunk/StepEmailLoop-CLdfvPXB.js.map +0 -1
- package/chunk/StepEmailLoop-CRbDel8p.js.map +0 -1
- package/chunk/StepOverrideComponent-Brq5KLjj.js.map +0 -1
- package/chunk/StepOverrideComponent-DbVmCfo8.js.map +0 -1
- package/chunk/StepSSO-BRFhNvkp.js +0 -9
- package/chunk/StepSuccess-C51_tEas.js.map +0 -1
- package/chunk/StepSuccess-CErDLjZO.js.map +0 -1
- package/chunk/StepThirdPartyLoop-ZHByQpHa.js +0 -9
- package/chunk/TestingRouteOverrides-BQzBlUms.js +0 -77
- package/chunk/TestingRouteOverrides-Dw6GXQ6-.js +0 -81
- package/chunk/countryUtils-B0gQRrDx.js +0 -12
- package/chunk/intl-B461eGlU.js.map +0 -1
- package/chunk/programThemeGetters-DSFEiKNU.js +0 -165
- package/chunk/validators-BIcHHTv2.js +0 -474
- package/chunk/validators-BIcHHTv2.js.map +0 -1
- package/chunk/validators-CWveyjFm.js +0 -470
- package/chunk/validators-CWveyjFm.js.map +0 -1
|
@@ -1,33 +1,37 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
* WARNING: This file is intended to be used within MySheerID.
|
|
4
|
+
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* VERSION: 2.264.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1785521582792
|
|
9
|
+
* BUILD_DATE: Fri Jul 31 2026 18:13:02 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
|
|
7
11
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import { a, c as o, n as s, t as c } from "./jsx-runtime-
|
|
10
|
-
import {
|
|
11
|
-
import { a as u } from "./refs-
|
|
12
|
-
import {
|
|
13
|
-
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-
|
|
14
|
-
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-
|
|
15
|
-
import { t as E } from "./BirthDateComponent-
|
|
16
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
17
|
-
import { t as O } from "./ExtraMessage-
|
|
18
|
-
import { t as k } from "./ChangeLocaleComponent-
|
|
19
|
-
import { t as A } from "./PersonalInfoStepWrapper-
|
|
20
|
-
import { n as j, r as M, t as N } from "./DischargeDateComponent-
|
|
21
|
-
import { t as P } from "./StatusComponent-
|
|
22
|
-
import { t as F } from "./militaryStepHelpers-
|
|
12
|
+
import { Ct as e, Ft as t, Vt as n, p as r, s as i } from "./intl-CuZpjbF2.js";
|
|
13
|
+
import { a, c as o, n as s, t as c } from "./jsx-runtime-Br-ldzo0.js";
|
|
14
|
+
import { D as l } from "./FormFooterComponent-BkXmQxBf.js";
|
|
15
|
+
import { a as u } from "./refs-B-c--SWS.js";
|
|
16
|
+
import { $ as d, P as f, Q as p, U as m, W as h, t as g, z as _ } from "../_mysheerid-preview.js";
|
|
17
|
+
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-Bo6-PXzj.js";
|
|
18
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-C6dx95ih.js";
|
|
19
|
+
import { t as E } from "./BirthDateComponent-mw3tGfO1.js";
|
|
20
|
+
import { t as D } from "./CountryComponentWrapper-BrhHPoQD.js";
|
|
21
|
+
import { t as O } from "./ExtraMessage-C4sJr6cw.js";
|
|
22
|
+
import { t as k } from "./ChangeLocaleComponent-C1vybPVc.js";
|
|
23
|
+
import { t as A } from "./PersonalInfoStepWrapper-D0IAqpda.js";
|
|
24
|
+
import { n as j, r as M, t as N } from "./DischargeDateComponent-CFgYtvv6.js";
|
|
25
|
+
import { t as P } from "./StatusComponent-BV3O5IFV.js";
|
|
26
|
+
import { t as F } from "./militaryStepHelpers-BlzQcNHu.js";
|
|
23
27
|
o();
|
|
24
28
|
var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
25
|
-
let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = f(o, a), H = c.localeChoice.value, U =
|
|
29
|
+
let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = f(o, a), H = c.localeChoice.value, U = i(), W = (e, t) => {
|
|
26
30
|
o.updateViewModel(F(e, t, o, V));
|
|
27
31
|
};
|
|
28
|
-
return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep ===
|
|
29
|
-
let
|
|
30
|
-
|
|
32
|
+
return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
|
|
33
|
+
let e = r(c, () => {});
|
|
34
|
+
n.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, e, o.previousVerificationResponse || o.verificationResponse);
|
|
31
35
|
})(), u(), /* @__PURE__ */ (0, I.jsxs)(A, {
|
|
32
36
|
verificationService: o,
|
|
33
37
|
step: z.currentStep,
|
|
@@ -39,49 +43,49 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
|
39
43
|
/* @__PURE__ */ (0, I.jsx)(k, { verificationService: o }),
|
|
40
44
|
/* @__PURE__ */ (0, I.jsx)(D, {
|
|
41
45
|
verificationService: o,
|
|
42
|
-
disabled:
|
|
46
|
+
disabled: _("country")?.disabled
|
|
43
47
|
}),
|
|
44
48
|
V ? /* @__PURE__ */ (0, I.jsx)(P, {
|
|
45
49
|
segmentId: "military",
|
|
46
50
|
value: {
|
|
47
51
|
value: c.status,
|
|
48
|
-
label:
|
|
52
|
+
label: m(a, c.status, e)
|
|
49
53
|
},
|
|
50
54
|
isErrored: !!R.status,
|
|
51
55
|
errorId: "invalidMilitaryStatus",
|
|
52
56
|
options: V,
|
|
53
|
-
disabled:
|
|
57
|
+
disabled: _("status")?.disabled,
|
|
54
58
|
onChange: (e) => {
|
|
55
|
-
W("status", e ? e.value : ""),
|
|
59
|
+
W("status", e ? e.value : ""), p("status", e ? e.value : "", o);
|
|
56
60
|
}
|
|
57
61
|
}) : null,
|
|
58
62
|
/* @__PURE__ */ (0, I.jsx)(j, {
|
|
59
63
|
isErrored: !!R.organization,
|
|
60
64
|
onChange: (e) => {
|
|
61
|
-
|
|
65
|
+
d(e, o), p("organization", e, o);
|
|
62
66
|
},
|
|
63
67
|
value: {
|
|
64
68
|
value: o.viewModel.organization.id,
|
|
65
69
|
label: o.viewModel.organization.name
|
|
66
70
|
},
|
|
67
71
|
verificationService: o,
|
|
68
|
-
disabled:
|
|
72
|
+
disabled: _("organization")?.disabled
|
|
69
73
|
}),
|
|
70
74
|
/* @__PURE__ */ (0, I.jsxs)("div", {
|
|
71
75
|
className: "sid-names",
|
|
72
76
|
children: [/* @__PURE__ */ (0, I.jsx)(v, {
|
|
73
77
|
value: c.firstName,
|
|
74
78
|
isErrored: !!R.firstName,
|
|
75
|
-
disabled:
|
|
79
|
+
disabled: _("firstName")?.disabled,
|
|
76
80
|
onChange: (e) => {
|
|
77
|
-
W("firstName", e),
|
|
81
|
+
W("firstName", e), p("firstName", e, o);
|
|
78
82
|
}
|
|
79
83
|
}), /* @__PURE__ */ (0, I.jsx)(y, {
|
|
80
84
|
value: c.lastName,
|
|
81
85
|
isErrored: !!R.lastName,
|
|
82
|
-
disabled:
|
|
86
|
+
disabled: _("lastName")?.disabled,
|
|
83
87
|
onChange: (e) => {
|
|
84
|
-
W("lastName", e),
|
|
88
|
+
W("lastName", e), p("lastName", e, o);
|
|
85
89
|
}
|
|
86
90
|
})]
|
|
87
91
|
}),
|
|
@@ -89,30 +93,30 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
|
89
93
|
errorId: R.birthDate,
|
|
90
94
|
locale: H,
|
|
91
95
|
onChange: (e) => {
|
|
92
|
-
W("birthDate", e),
|
|
96
|
+
W("birthDate", e), p("birthDate", e, o);
|
|
93
97
|
},
|
|
94
98
|
value: c.birthDate,
|
|
95
|
-
disabled:
|
|
99
|
+
disabled: _("birthDate")?.disabled
|
|
96
100
|
}),
|
|
97
101
|
!!o.programTheme.transitionalMilitaryValidityDays && /* @__PURE__ */ (0, I.jsx)(N, {
|
|
98
102
|
mode: "date",
|
|
99
103
|
errorId: R.dischargeDate,
|
|
100
104
|
onChange: (e) => {
|
|
101
|
-
W("dischargeDate", e),
|
|
105
|
+
W("dischargeDate", e), p("dischargeDate", e, o);
|
|
102
106
|
},
|
|
103
107
|
value: c.dischargeDate,
|
|
104
108
|
locale: H,
|
|
105
|
-
disabled:
|
|
109
|
+
disabled: _("dischargeDate")?.disabled
|
|
106
110
|
}),
|
|
107
111
|
o.programTheme.strictMilitaryValidationEnabled && /* @__PURE__ */ (0, I.jsx)(M, {
|
|
108
112
|
errorId: R.activeDutyStartDate,
|
|
109
113
|
locale: H,
|
|
110
114
|
onChange: (e) => {
|
|
111
|
-
W("activeDutyStartDate", e),
|
|
115
|
+
W("activeDutyStartDate", e), p("activeDutyStartDate", e, o);
|
|
112
116
|
},
|
|
113
117
|
value: c.activeDutyStartDate,
|
|
114
|
-
disabled:
|
|
115
|
-
isRequired:
|
|
118
|
+
disabled: _("activeDutyStartDate")?.disabled,
|
|
119
|
+
isRequired: _("activeDutyStartDate")?.requireIfOptional
|
|
116
120
|
}),
|
|
117
121
|
/* @__PURE__ */ (0, I.jsx)(w, {
|
|
118
122
|
value: c.email,
|
|
@@ -122,20 +126,20 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
|
122
126
|
defaultMessage: "Personal email address is recommended"
|
|
123
127
|
}),
|
|
124
128
|
onChange: (e) => {
|
|
125
|
-
W("email", e),
|
|
129
|
+
W("email", e), p("email", e, o);
|
|
126
130
|
},
|
|
127
|
-
onKeyDown: (e) =>
|
|
128
|
-
disabled:
|
|
131
|
+
onKeyDown: (e) => h(e),
|
|
132
|
+
disabled: _("email")?.disabled
|
|
129
133
|
}),
|
|
130
134
|
o.programTheme.isSmsNotifierConfigured || o.programTheme.smsLoopEnabled ? /* @__PURE__ */ (0, I.jsx)(x, {
|
|
131
135
|
isRequired: !!o.programTheme.smsLoopEnabled,
|
|
132
136
|
value: c.phoneNumber,
|
|
133
137
|
isErrored: !!R.phoneNumber,
|
|
134
138
|
onChange: (e) => {
|
|
135
|
-
W("phoneNumber", e),
|
|
139
|
+
W("phoneNumber", e), p("phoneNumber", e, o);
|
|
136
140
|
},
|
|
137
141
|
selectedCountryCode: c.countryChoice && c.countryChoice.value,
|
|
138
|
-
disabled:
|
|
142
|
+
disabled: _("phoneNumber")?.disabled
|
|
139
143
|
}) : null,
|
|
140
144
|
U.customFormFields.map((e) => /* @__PURE__ */ (0, I.jsx)(b, {
|
|
141
145
|
config: e,
|
|
@@ -148,10 +152,10 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
|
148
152
|
W("metadata", {
|
|
149
153
|
...o.viewModel.metadata,
|
|
150
154
|
marketConsentValue: e
|
|
151
|
-
}),
|
|
155
|
+
}), p("marketConsentValue", e, o);
|
|
152
156
|
},
|
|
153
157
|
viewModel: c,
|
|
154
|
-
disabled:
|
|
158
|
+
disabled: _("marketConsentValue")?.disabled
|
|
155
159
|
}),
|
|
156
160
|
/* @__PURE__ */ (0, I.jsx)(O, {
|
|
157
161
|
verificationService: o,
|
|
@@ -162,7 +166,7 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
|
162
166
|
isErrored: !!R.captchaToken
|
|
163
167
|
}),
|
|
164
168
|
/* @__PURE__ */ (0, I.jsx)(T, {
|
|
165
|
-
step:
|
|
169
|
+
step: t.collectActiveMilitaryPersonalInfo,
|
|
166
170
|
verificationService: o,
|
|
167
171
|
viewModel: c,
|
|
168
172
|
failedInstantMatch: B,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-DBe3v9gn.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAIb,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;EAC3B,WAAU;YAHZ,CAKE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACuB;GACrB,qBAAoB;EACrB,CAAA,GAED,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA;GACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GACA,IACC,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,WAAU;IACV,OAAO;KACL,OAAO,EAAU;K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,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,EAA8B,YAAY;MACxC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA0C,EAAW,CAA8B"}
|
|
1
|
+
{"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-CTTUUy7M.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU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M,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA0C,EAAW,CAA8B"}
|
|
@@ -1,37 +1,33 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* VERSION: 2.262.0
|
|
8
|
-
* BUILD_TIMESTAMP: 1785450410018
|
|
9
|
-
* BUILD_DATE: Thu Jul 30 2026 22:26:50 GMT+0000 (Coordinated Universal Time)
|
|
10
|
-
* BUILD_COMMIT: 68821addc264679ff62b3fd4a999222f4aba0b42
|
|
3
|
+
* VERSION: 2.264.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1785521577545
|
|
5
|
+
* BUILD_DATE: Fri Jul 31 2026 18:12:57 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
|
|
11
7
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a, c as o, n as s, t as c } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
15
|
-
import { a as u } from "./refs-
|
|
16
|
-
import { $ as d, B as f, F as p, G as m, W as h, et as g, n as _ } from "../
|
|
17
|
-
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-
|
|
18
|
-
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-
|
|
19
|
-
import { t as E } from "./BirthDateComponent-
|
|
20
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
21
|
-
import { t as O } from "./ExtraMessage-
|
|
22
|
-
import { t as k } from "./ChangeLocaleComponent-
|
|
23
|
-
import { t as A } from "./PersonalInfoStepWrapper-
|
|
24
|
-
import { n as j, r as M, t as N } from "./DischargeDateComponent-
|
|
25
|
-
import { t as P } from "./StatusComponent-
|
|
26
|
-
import { t as F } from "./militaryStepHelpers-
|
|
8
|
+
import { Ht as e, Lt as t, Tt as n, c as r, n as i } from "./options-BqxY1ri6.js";
|
|
9
|
+
import { a, c as o, n as s, t as c } from "./jsx-runtime-B29HBOo1.js";
|
|
10
|
+
import { C as l } from "./FormFooterComponent-khRc1L5E.js";
|
|
11
|
+
import { a as u } from "./refs-CWwQlqJe.js";
|
|
12
|
+
import { $ as d, B as f, F as p, G as m, W as h, et as g, n as _ } from "../sheerid.js";
|
|
13
|
+
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-D6FNNlKj.js";
|
|
14
|
+
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-DBVGelcX.js";
|
|
15
|
+
import { t as E } from "./BirthDateComponent-DiRfVMkQ.js";
|
|
16
|
+
import { t as D } from "./CountryComponentWrapper-HDMnK8-s.js";
|
|
17
|
+
import { t as O } from "./ExtraMessage-BbACElsX.js";
|
|
18
|
+
import { t as k } from "./ChangeLocaleComponent-B905JfFy.js";
|
|
19
|
+
import { t as A } from "./PersonalInfoStepWrapper-BmHuTQIp.js";
|
|
20
|
+
import { n as j, r as M, t as N } from "./DischargeDateComponent-D3GK6UIu.js";
|
|
21
|
+
import { t as P } from "./StatusComponent-CZMNhzFo.js";
|
|
22
|
+
import { t as F } from "./militaryStepHelpers-COmBnCcw.js";
|
|
27
23
|
o();
|
|
28
24
|
var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
29
25
|
let c = o.viewModel, L = o.previousViewModel, { fieldValidationErrors: R } = o, z = o.verificationResponse, B = l(z), V = p(o, a), H = c.localeChoice.value, U = i(), W = (e, t) => {
|
|
30
26
|
o.updateViewModel(F(e, t, o, V));
|
|
31
27
|
};
|
|
32
|
-
return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep ===
|
|
28
|
+
return (c.status && L && L.status !== c.status || c.status && o.verificationResponse.currentStep === t.collectMilitaryStatus) && (() => {
|
|
33
29
|
let n = r(c, () => {});
|
|
34
|
-
|
|
30
|
+
e.info("StepMilitaryStatusComponent submitting form"), o.submitStep(t.collectMilitaryStatus, n, o.previousVerificationResponse || o.verificationResponse);
|
|
35
31
|
})(), u(), /* @__PURE__ */ (0, I.jsxs)(A, {
|
|
36
32
|
verificationService: o,
|
|
37
33
|
step: z.currentStep,
|
|
@@ -166,7 +162,7 @@ var I = c(), L = ({ intl: a, verificationService: o }) => {
|
|
|
166
162
|
isErrored: !!R.captchaToken
|
|
167
163
|
}),
|
|
168
164
|
/* @__PURE__ */ (0, I.jsx)(T, {
|
|
169
|
-
step:
|
|
165
|
+
step: t.collectActiveMilitaryPersonalInfo,
|
|
170
166
|
verificationService: o,
|
|
171
167
|
viewModel: c,
|
|
172
168
|
failedInstantMatch: B,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-KkWaNIkx.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,G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[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAIb,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;EAC3B,WAAU;YAHZ,CAKE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACuB;GACrB,qBAAoB;EACrB,CAAA,GAED,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA;GACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GACA,IACC,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,WAAU;IACV,OAAO;KACL,OAAO,EAAU;KACjB,OAAO,EAAe,GAAM,EAAU,QAAQ,CAAiC;IACjF;IACA,WAAW,CAAC,CAAC,EAAsB;IACnC,SAAQ;IACR,SAAS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BAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;IACnC,WAAW,MAAa;KAKtB,AAJA,EAA8B,YAAY;MACxC,GAAG,EAAoB,UAAU;MACjC,oBAAoB;KACtB,CAAC,GACD,EACE,sBACA,GACA,CACF;IACF;IACW;IACX,UAAU,EAAwB,oBAAoB,GAAG;GAC1D,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IAAmC;IAAqB,QAAO;GAAsB,CAAA;GAErF,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,WAAW,CAAC,CAAC,EAAsB;GACpC,CAAA;GAED,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,MAAM,EAAsB;IACP;IACV;IACS;IACpB,YACE,iBAAA,GAAA,EAAA,KAAC,GAAD;KACE,IAAG;KACH,gBAAe;IAChB,CAAA;GAEJ,CAAA;EACD,EAAA,CAAA,CACiB;;AAEzB,GAEa,IAA0C,EAAW,CAA8B"}
|
|
@@ -4,29 +4,29 @@
|
|
|
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
|
|
8
|
+
* BUILD_TIMESTAMP: 1785521582792
|
|
9
|
+
* BUILD_DATE: Fri Jul 31 2026 18:13:02 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 8334618927a0ab68a8eef7098b397874b3b2f75f
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { t as g } from "./useCollectFieldsEndpoint-
|
|
17
|
-
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-
|
|
18
|
-
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-
|
|
19
|
-
import { t as T } from "./BirthDateComponent-
|
|
20
|
-
import { t as E } from "./PostalCodeComponent-
|
|
21
|
-
import { t as D } from "./CountryComponentWrapper-
|
|
22
|
-
import { t as O } from "./City-
|
|
23
|
-
import { t as k } from "./AddressComponent-
|
|
24
|
-
import { t as A } from "./ExtraMessage-
|
|
25
|
-
import { t as j } from "./ChangeLocaleComponent-
|
|
26
|
-
import { t as M } from "./PersonalInfoStepWrapper-
|
|
12
|
+
import { Bt as e, Ft as t, Kt as n, s as r } from "./intl-CuZpjbF2.js";
|
|
13
|
+
import { a as i, c as a, n as o, t as s } from "./jsx-runtime-Br-ldzo0.js";
|
|
14
|
+
import { D as c } from "./FormFooterComponent-BkXmQxBf.js";
|
|
15
|
+
import { L as l, Q as u, W as d, k as f, q as p, t as m, z as h } from "../_mysheerid-preview.js";
|
|
16
|
+
import { t as g } from "./useCollectFieldsEndpoint-CqGDsmUW.js";
|
|
17
|
+
import { a as _, i as v, n as y, o as b, s as x, t as S } from "./CaptchaComponent-Bo6-PXzj.js";
|
|
18
|
+
import { n as C, t as w } from "./PersonalInfoStepSubmitButton-C6dx95ih.js";
|
|
19
|
+
import { t as T } from "./BirthDateComponent-mw3tGfO1.js";
|
|
20
|
+
import { t as E } from "./PostalCodeComponent-EPa7PrEn.js";
|
|
21
|
+
import { t as D } from "./CountryComponentWrapper-BrhHPoQD.js";
|
|
22
|
+
import { t as O } from "./City-BiuOEuRx.js";
|
|
23
|
+
import { t as k } from "./AddressComponent-BcUOtiOW.js";
|
|
24
|
+
import { t as A } from "./ExtraMessage-C4sJr6cw.js";
|
|
25
|
+
import { t as j } from "./ChangeLocaleComponent-C1vybPVc.js";
|
|
26
|
+
import { t as M } from "./PersonalInfoStepWrapper-D0IAqpda.js";
|
|
27
27
|
//#region src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx
|
|
28
28
|
var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, intl: i }) => {
|
|
29
|
-
let a = n.viewModel, { fieldValidationErrors: s } = n, F = n.verificationResponse, I = c(F), L = e(() => a.countryChoice.value,
|
|
29
|
+
let a = n.viewModel, { fieldValidationErrors: s } = n, F = n.verificationResponse, I = c(F), L = e(() => a.countryChoice.value, l(f(n.programTheme, i)).value), R = L === "US" ? [{ key: "postalCode" }] : [], z = L !== "US" || n.programTheme.isSmsNotifierConfigured || n.programTheme.smsLoopEnabled, B = L !== "US" || n.programTheme.smsLoopEnabled, V = a.localeChoice.value, H = r();
|
|
30
30
|
!s.phoneNumber && F.errorIds && F.errorIds.includes("invalidPhoneNumber") && n.updateFieldValidationErrors({
|
|
31
31
|
...s,
|
|
32
32
|
phoneNumber: "invalidPhoneNumber"
|
|
@@ -41,35 +41,35 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
|
|
|
41
41
|
defaultRequiredFields: R
|
|
42
42
|
});
|
|
43
43
|
return N.useEffect(() => {
|
|
44
|
-
|
|
44
|
+
u("phoneNumber", a.phoneNumber, n);
|
|
45
45
|
}, [a.country]), /* @__PURE__ */ (0, P.jsxs)(M, {
|
|
46
46
|
verificationService: n,
|
|
47
47
|
step: F.currentStep,
|
|
48
48
|
children: [
|
|
49
|
-
/* @__PURE__ */ (0, P.jsx)(
|
|
49
|
+
/* @__PURE__ */ (0, P.jsx)(m, {
|
|
50
50
|
verificationService: n,
|
|
51
51
|
classNameIdentifier: "age"
|
|
52
52
|
}),
|
|
53
53
|
/* @__PURE__ */ (0, P.jsx)(j, { verificationService: n }),
|
|
54
54
|
/* @__PURE__ */ (0, P.jsx)(D, {
|
|
55
55
|
verificationService: n,
|
|
56
|
-
disabled:
|
|
56
|
+
disabled: h("country")?.disabled
|
|
57
57
|
}),
|
|
58
58
|
/* @__PURE__ */ (0, P.jsxs)("div", {
|
|
59
59
|
className: "sid-names",
|
|
60
60
|
children: [/* @__PURE__ */ (0, P.jsx)(_, {
|
|
61
61
|
value: a.firstName,
|
|
62
62
|
isErrored: !!s.firstName,
|
|
63
|
-
disabled:
|
|
63
|
+
disabled: h("firstName")?.disabled,
|
|
64
64
|
onChange: (e) => {
|
|
65
|
-
U("firstName", e),
|
|
65
|
+
U("firstName", e), u("firstName", e, n);
|
|
66
66
|
}
|
|
67
67
|
}), /* @__PURE__ */ (0, P.jsx)(v, {
|
|
68
68
|
value: a.lastName,
|
|
69
69
|
isErrored: !!s.lastName,
|
|
70
|
-
disabled:
|
|
70
|
+
disabled: h("lastName")?.disabled,
|
|
71
71
|
onChange: (e) => {
|
|
72
|
-
U("lastName", e),
|
|
72
|
+
U("lastName", e), u("lastName", e, n);
|
|
73
73
|
}
|
|
74
74
|
})]
|
|
75
75
|
}),
|
|
@@ -77,19 +77,19 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
|
|
|
77
77
|
errorId: s.birthDate,
|
|
78
78
|
locale: V,
|
|
79
79
|
onChange: (e) => {
|
|
80
|
-
U("birthDate", e),
|
|
80
|
+
U("birthDate", e), u("birthDate", e, n);
|
|
81
81
|
},
|
|
82
82
|
value: a.birthDate,
|
|
83
|
-
disabled:
|
|
83
|
+
disabled: h("birthDate")?.disabled
|
|
84
84
|
}),
|
|
85
85
|
W("city") && /* @__PURE__ */ (0, P.jsx)(O, {
|
|
86
86
|
value: a.city,
|
|
87
87
|
isRequired: !0,
|
|
88
88
|
isErrored: !!s.city,
|
|
89
89
|
errorId: s.city,
|
|
90
|
-
disabled:
|
|
90
|
+
disabled: h("city")?.disabled,
|
|
91
91
|
onChange: (e) => {
|
|
92
|
-
U("city", e),
|
|
92
|
+
U("city", e), u("city", e, n);
|
|
93
93
|
}
|
|
94
94
|
}),
|
|
95
95
|
W("address1") && /* @__PURE__ */ (0, P.jsx)(k, {
|
|
@@ -98,16 +98,16 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
|
|
|
98
98
|
isErrored: !!s.address1,
|
|
99
99
|
errorId: s.address1,
|
|
100
100
|
onChange: (e) => {
|
|
101
|
-
U("address1", e),
|
|
101
|
+
U("address1", e), u("address1", e, n);
|
|
102
102
|
}
|
|
103
103
|
}),
|
|
104
104
|
W("postalCode") && /* @__PURE__ */ (0, P.jsx)(E, {
|
|
105
105
|
isErrored: !!s.postalCode,
|
|
106
106
|
onChange: (e) => {
|
|
107
|
-
U("postalCode", e),
|
|
107
|
+
U("postalCode", e), u("postalCode", e, n);
|
|
108
108
|
},
|
|
109
109
|
value: a.postalCode,
|
|
110
|
-
disabled:
|
|
110
|
+
disabled: h("postalCode")?.disabled
|
|
111
111
|
}),
|
|
112
112
|
/* @__PURE__ */ (0, P.jsx)(C, {
|
|
113
113
|
value: a.email,
|
|
@@ -117,20 +117,20 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
|
|
|
117
117
|
defaultMessage: " "
|
|
118
118
|
}),
|
|
119
119
|
onChange: (e) => {
|
|
120
|
-
U("email", e),
|
|
120
|
+
U("email", e), u("email", e, n);
|
|
121
121
|
},
|
|
122
|
-
onKeyDown: (e) =>
|
|
123
|
-
disabled:
|
|
122
|
+
onKeyDown: (e) => d(e),
|
|
123
|
+
disabled: h("email")?.disabled
|
|
124
124
|
}),
|
|
125
125
|
z ? /* @__PURE__ */ (0, P.jsx)(b, {
|
|
126
126
|
isRequired: B,
|
|
127
127
|
value: a.phoneNumber,
|
|
128
128
|
isErrored: !!s.phoneNumber,
|
|
129
129
|
onChange: (e) => {
|
|
130
|
-
U("phoneNumber", e),
|
|
130
|
+
U("phoneNumber", e), u("phoneNumber", e, n);
|
|
131
131
|
},
|
|
132
132
|
selectedCountryCode: a.countryChoice && a.countryChoice.value,
|
|
133
|
-
disabled:
|
|
133
|
+
disabled: h("phoneNumber")?.disabled
|
|
134
134
|
}) : null,
|
|
135
135
|
H.customFormFields.map((e) => /* @__PURE__ */ (0, P.jsx)(y, {
|
|
136
136
|
config: e,
|
|
@@ -143,10 +143,10 @@ var N = /* @__PURE__ */ n(a(), 1), P = s(), F = i(({ verificationService: n, int
|
|
|
143
143
|
U("metadata", {
|
|
144
144
|
...n.viewModel.metadata,
|
|
145
145
|
marketConsentValue: e
|
|
146
|
-
}),
|
|
146
|
+
}), u("marketConsentValue", e, n);
|
|
147
147
|
},
|
|
148
148
|
viewModel: a,
|
|
149
|
-
disabled:
|
|
149
|
+
disabled: h("marketConsentValue")?.disabled
|
|
150
150
|
}),
|
|
151
151
|
/* @__PURE__ */ (0, P.jsx)(A, {
|
|
152
152
|
verificationService: n,
|