@sheerid/jslib 2.241.0 → 2.243.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 +25 -25
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/AddressComponent-BlFms8RU.js +4 -4
- package/chunk/AddressComponent-DnFQfTYR.js +4 -4
- package/chunk/{BirthDateComponent-BiduJykU.js → BirthDateComponent-BoykraUB.js} +5 -5
- package/chunk/{BirthDateComponent-BiduJykU.js.map → BirthDateComponent-BoykraUB.js.map} +1 -1
- package/chunk/{BirthDateComponent-CO6nCUag.js → BirthDateComponent-pnP0exLn.js} +5 -5
- package/chunk/{BirthDateComponent-CO6nCUag.js.map → BirthDateComponent-pnP0exLn.js.map} +1 -1
- package/chunk/{CaptchaComponent-BKX-mFhG.js → CaptchaComponent-D3LxuZTy.js} +19 -20
- package/chunk/{CaptchaComponent-BKX-mFhG.js.map → CaptchaComponent-D3LxuZTy.js.map} +1 -1
- package/chunk/{CaptchaComponent-CwaulEzN.js → CaptchaComponent-Dlygh6sh.js} +19 -20
- package/chunk/{CaptchaComponent-CwaulEzN.js.map → CaptchaComponent-Dlygh6sh.js.map} +1 -1
- package/chunk/ChangeLocaleComponent-CwUU2jUS.js +4 -4
- package/chunk/ChangeLocaleComponent-Db5V1sYM.js +4 -4
- package/chunk/City-COH8oAI6.js +4 -4
- package/chunk/City-Dkthk9oJ.js +4 -4
- package/chunk/CollegeNameComponent-B3BN-kIU.js +4 -4
- package/chunk/CollegeNameComponent-CTsgSVv3.js +4 -4
- package/chunk/CopyToClipboardComponent-BkiBQWbH.js +4 -4
- package/chunk/CopyToClipboardComponent-DIjRs4qZ.js +4 -4
- package/chunk/CountryComponentWrapper-BKmiop9j.js +4 -4
- package/chunk/CountryComponentWrapper-cR2hBUDi.js +4 -4
- package/chunk/{DischargeDateComponent-Ck4r506Q.js → DischargeDateComponent-CyebIohS.js} +5 -5
- package/chunk/{DischargeDateComponent-CLaFL38E.js.map → DischargeDateComponent-CyebIohS.js.map} +1 -1
- package/chunk/{DischargeDateComponent-CLaFL38E.js → DischargeDateComponent-O0QnVWUt.js} +5 -5
- package/chunk/{DischargeDateComponent-Ck4r506Q.js.map → DischargeDateComponent-O0QnVWUt.js.map} +1 -1
- package/chunk/DriverLicenseNumberComponent-BH6bl91g.js +4 -4
- package/chunk/DriverLicenseNumberComponent-akwgy_SO.js +4 -4
- package/chunk/EmailLoopPending-C8vekPFt.js +4 -4
- package/chunk/EmailLoopPending-DcG0OiGE.js +4 -4
- package/chunk/ExtraMessage-BKL0qihb.js +4 -4
- package/chunk/ExtraMessage-Qn-IkYnh.js +4 -4
- package/chunk/FirstResponderOrganizationComponent-BJFvTNC8.js +4 -4
- package/chunk/FirstResponderOrganizationComponent-Dem9qkO1.js +4 -4
- package/chunk/FormFieldInputSelect-B8lVVG8B.js +4 -4
- package/chunk/FormFieldInputSelect-C8O7C4IK.js +4 -4
- package/chunk/FormFieldLayout-ZhDGr6rb.js +4 -4
- package/chunk/FormFieldLayout-yzfzLAfZ.js +4 -4
- package/chunk/FormFieldText-B9EYGm5E.js +4 -4
- package/chunk/FormFieldText-DIAcRrkr.js +4 -4
- package/chunk/FormFieldTypeahead-B35fOvGG.js +4 -4
- package/chunk/FormFieldTypeahead-Uh9wMgdO.js +4 -4
- package/chunk/FormSelectChoice-BLQgJEYO.js +4 -4
- package/chunk/FormSelectChoice-u5sO_GqU.js +4 -4
- package/chunk/InputText-Cc-nHAaa.js +4 -4
- package/chunk/InputText-CtKHbFE7.js +4 -4
- package/chunk/LicensedProfessionalOrganizationComponent-4cZwBaTZ.js +4 -4
- package/chunk/LicensedProfessionalOrganizationComponent-DKIG7lTJ.js +4 -4
- package/chunk/LowIncomeOrganizationComponent-CFkpFRBc.js +4 -4
- package/chunk/LowIncomeOrganizationComponent-D53S45pk.js +4 -4
- package/chunk/MedicalProfessionalOrganizationComponent-C3YlNVIy.js +4 -4
- package/chunk/MedicalProfessionalOrganizationComponent-DOVgO3Zw.js +4 -4
- package/chunk/MemberIdComponent-CZ4ylsxJ.js +4 -4
- package/chunk/MemberIdComponent-ClhVOK0_.js +4 -4
- package/chunk/MembershipOrganizationComponent-Dk-Uj8qv.js +4 -4
- package/chunk/MembershipOrganizationComponent-EFtKDtx6.js +4 -4
- package/chunk/Onfido-DX6DWIy6.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-BEt7G8pL.js +4 -4
- package/chunk/PersonalInfoStepSubmitButton-C2E_vI6h.js +4 -4
- package/chunk/PersonalInfoStepWrapper-B7jyR5L2.js +4 -4
- package/chunk/PersonalInfoStepWrapper-DIecrjL_.js +4 -4
- package/chunk/PostalCodeComponent-BRv1OY2E.js +4 -4
- package/chunk/PostalCodeComponent-C5geCnf3.js +4 -4
- package/chunk/SSN-DEDbmtXI.js +4 -4
- package/chunk/SSN-DbmDwC_V.js +4 -4
- package/chunk/StateSelectComponent-BVUvB4i-.js +4 -4
- package/chunk/StateSelectComponent-ykysTrKn.js +4 -4
- package/chunk/StatusComponent-C9qP2xkk.js +4 -4
- package/chunk/StatusComponent-K7sbnHoL.js +4 -4
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-odNcUArs.js → StepActiveMilitaryPersonalInfoComponent-2QwlwhM5.js} +7 -7
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DkfUU7zC.js.map → StepActiveMilitaryPersonalInfoComponent-2QwlwhM5.js.map} +1 -1
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-DkfUU7zC.js → StepActiveMilitaryPersonalInfoComponent-Cw81QqG7.js} +7 -7
- package/chunk/{StepActiveMilitaryPersonalInfoComponent-odNcUArs.js.map → StepActiveMilitaryPersonalInfoComponent-Cw81QqG7.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-C8gvjx3p.js → StepAgePersonalInfo-C3ja7nlE.js} +6 -6
- package/chunk/{StepAgePersonalInfo-C8gvjx3p.js.map → StepAgePersonalInfo-C3ja7nlE.js.map} +1 -1
- package/chunk/{StepAgePersonalInfo-CPBH8o2s.js → StepAgePersonalInfo-CRzTabOc.js} +6 -6
- package/chunk/{StepAgePersonalInfo-CPBH8o2s.js.map → StepAgePersonalInfo-CRzTabOc.js.map} +1 -1
- package/chunk/StepCard-B06reTxD.js +4 -4
- package/chunk/StepCard-Bypd7Dt8.js +4 -4
- package/chunk/StepCollectIdentifier-BHAvn2O0.js +4 -4
- package/chunk/StepCollectIdentifier-CJWthRfj.js +4 -4
- package/chunk/StepCollectMilitaryStatusComponent-B22hA56B.js +9 -0
- package/chunk/{StepCollectMilitaryStatusComponent-CkMt_3M5.js → StepCollectMilitaryStatusComponent-BmJ-TrGI.js} +5 -5
- package/chunk/{StepCollectPersonalInfo-DN9mmP2Z.js → StepCollectPersonalInfo-Bvq42wMU.js} +7 -7
- package/chunk/{StepCollectPersonalInfo-DN9mmP2Z.js.map → StepCollectPersonalInfo-Bvq42wMU.js.map} +1 -1
- package/chunk/{StepCollectPersonalInfo-D3mENPnq.js → StepCollectPersonalInfo-DG49UiUz.js} +7 -7
- package/chunk/{StepCollectPersonalInfo-D3mENPnq.js.map → StepCollectPersonalInfo-DG49UiUz.js.map} +1 -1
- package/chunk/StepCompleteAuthentication-B66TaYiw.js +4 -4
- package/chunk/StepCompleteAuthentication-C0kcCUjP.js +4 -4
- package/chunk/StepConsolation-IFOwgGXl.js +4 -4
- package/chunk/StepConsolation-LnMwJZey.js +4 -4
- package/chunk/StepDocUpload-BIxJ9WOR.js +4 -4
- package/chunk/StepDocUpload-D5ukINwf.js +4 -4
- package/chunk/{StepDriverLicensePersonalInfoComponent-BMrga9cL.js → StepDriverLicensePersonalInfoComponent-CEh5aVc6.js} +5 -5
- package/chunk/{StepDriverLicensePersonalInfoComponent-BMrga9cL.js.map → StepDriverLicensePersonalInfoComponent-CEh5aVc6.js.map} +1 -1
- package/chunk/{StepDriverLicensePersonalInfoComponent-BynJeVcJ.js → StepDriverLicensePersonalInfoComponent-CTcBIS85.js} +5 -5
- package/chunk/{StepDriverLicensePersonalInfoComponent-BynJeVcJ.js.map → StepDriverLicensePersonalInfoComponent-CTcBIS85.js.map} +1 -1
- package/chunk/StepEmailLoop-CXXV3Yvv.js +4 -4
- package/chunk/StepEmailLoop-Cd3Qm5HR.js +4 -4
- package/chunk/{StepEmploymentPersonalInfo-qlGMtw_x.js → StepEmploymentPersonalInfo-CakrR4rI.js} +5 -5
- package/chunk/{StepEmploymentPersonalInfo-DFJWwYVJ.js.map → StepEmploymentPersonalInfo-CakrR4rI.js.map} +1 -1
- package/chunk/{StepEmploymentPersonalInfo-DFJWwYVJ.js → StepEmploymentPersonalInfo-DDgVZ3VS.js} +5 -5
- package/chunk/{StepEmploymentPersonalInfo-qlGMtw_x.js.map → StepEmploymentPersonalInfo-DDgVZ3VS.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DMdTfIEh.js → StepFirstResponderPersonalInfo-Bv5rOu0L.js} +6 -6
- package/chunk/{StepFirstResponderPersonalInfo-DMdTfIEh.js.map → StepFirstResponderPersonalInfo-Bv5rOu0L.js.map} +1 -1
- package/chunk/{StepFirstResponderPersonalInfo-DMTETvJD.js → StepFirstResponderPersonalInfo-D4If_-Oy.js} +6 -6
- package/chunk/{StepFirstResponderPersonalInfo-DMTETvJD.js.map → StepFirstResponderPersonalInfo-D4If_-Oy.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BNVrtAh-.js → StepGeneralIdentityPersonalInfoComponent-Dmh9JlGi.js} +6 -6
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-BNVrtAh-.js.map → StepGeneralIdentityPersonalInfoComponent-Dmh9JlGi.js.map} +1 -1
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D7q4OHtG.js → StepGeneralIdentityPersonalInfoComponent-Fm9PNUB6.js} +6 -6
- package/chunk/{StepGeneralIdentityPersonalInfoComponent-D7q4OHtG.js.map → StepGeneralIdentityPersonalInfoComponent-Fm9PNUB6.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-E3IFkM0G.js → StepHybridIdentityPersonalInfoComponent-B-ulXr1w.js} +6 -6
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DqxcaS2B.js.map → StepHybridIdentityPersonalInfoComponent-B-ulXr1w.js.map} +1 -1
- package/chunk/{StepHybridIdentityPersonalInfoComponent-DqxcaS2B.js → StepHybridIdentityPersonalInfoComponent-BvXOawZM.js} +6 -6
- package/chunk/{StepHybridIdentityPersonalInfoComponent-E3IFkM0G.js.map → StepHybridIdentityPersonalInfoComponent-BvXOawZM.js.map} +1 -1
- package/chunk/StepIDCheckLoop-C5zjXDP5.js +4 -4
- package/chunk/StepIDCheckLoop-kboMo8gv.js +4 -4
- package/chunk/StepIDCheckLoopOnfido-CNjlvSWc.js +4 -4
- package/chunk/StepIDCheckLoopOnfido-DMT6NO1B.js +4 -4
- package/chunk/StepIDCheckLoopRegula-DROfUIyc.js +4 -4
- package/chunk/StepIDCheckLoopRegula-DyINh7ad.js +4 -4
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-D5jCZEM7.js → StepInactiveMilitaryPersonalInfoComponent-C4sz5MvF.js} +7 -7
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-B_iWpcyB.js.map → StepInactiveMilitaryPersonalInfoComponent-C4sz5MvF.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-B_iWpcyB.js → StepInactiveMilitaryPersonalInfoComponent-CAOY9-oh.js} +7 -7
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-D5jCZEM7.js.map → StepInactiveMilitaryPersonalInfoComponent-CAOY9-oh.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-TioDb6-7.js → StepLicensedProfessionalPersonalInfo-5Hk9K1cV.js} +6 -6
- package/chunk/{StepLicensedProfessionalPersonalInfo-TioDb6-7.js.map → StepLicensedProfessionalPersonalInfo-5Hk9K1cV.js.map} +1 -1
- package/chunk/{StepLicensedProfessionalPersonalInfo-ruUd9B1o.js → StepLicensedProfessionalPersonalInfo-Dg1zoaEx.js} +6 -6
- package/chunk/{StepLicensedProfessionalPersonalInfo-ruUd9B1o.js.map → StepLicensedProfessionalPersonalInfo-Dg1zoaEx.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-ZUBnI9B_.js → StepLowIncomePersonalInfo-C1akXBxl.js} +6 -6
- package/chunk/{StepLowIncomePersonalInfo-CWLcD3XA.js.map → StepLowIncomePersonalInfo-C1akXBxl.js.map} +1 -1
- package/chunk/{StepLowIncomePersonalInfo-CWLcD3XA.js → StepLowIncomePersonalInfo-DwTR0eHp.js} +6 -6
- package/chunk/{StepLowIncomePersonalInfo-ZUBnI9B_.js.map → StepLowIncomePersonalInfo-DwTR0eHp.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-BiDCtFvc.js → StepMedicalProfessionalPersonalInfo-JS3iYZFb.js} +6 -6
- package/chunk/{StepMedicalProfessionalPersonalInfo-BiDCtFvc.js.map → StepMedicalProfessionalPersonalInfo-JS3iYZFb.js.map} +1 -1
- package/chunk/{StepMedicalProfessionalPersonalInfo-C7OLVL11.js → StepMedicalProfessionalPersonalInfo-vEzuTCjU.js} +6 -6
- package/chunk/{StepMedicalProfessionalPersonalInfo-C7OLVL11.js.map → StepMedicalProfessionalPersonalInfo-vEzuTCjU.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-D7QNXOi5.js → StepMemberPersonalInfo-ClG9nAoo.js} +6 -6
- package/chunk/{StepMemberPersonalInfo-C-J63m6l.js.map → StepMemberPersonalInfo-ClG9nAoo.js.map} +1 -1
- package/chunk/{StepMemberPersonalInfo-C-J63m6l.js → StepMemberPersonalInfo-aErcr7fm.js} +6 -6
- package/chunk/{StepMemberPersonalInfo-D7QNXOi5.js.map → StepMemberPersonalInfo-aErcr7fm.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-DJ9VKMgY.js → StepMoverPersonalInfo-CJPdyxnR.js} +5 -5
- package/chunk/{StepMoverPersonalInfo-BQq3FnMX.js.map → StepMoverPersonalInfo-CJPdyxnR.js.map} +1 -1
- package/chunk/{StepMoverPersonalInfo-BQq3FnMX.js → StepMoverPersonalInfo-D5KruXjT.js} +5 -5
- package/chunk/{StepMoverPersonalInfo-DJ9VKMgY.js.map → StepMoverPersonalInfo-D5KruXjT.js.map} +1 -1
- package/chunk/StepOverrideComponent-CLIKpVx0.js +4 -4
- package/chunk/StepOverrideComponent-Cn_i5ma1.js +4 -4
- package/chunk/StepSMSLoop-BrbJqPhN.js +4 -4
- package/chunk/StepSMSLoop-C48P-QXx.js +4 -4
- package/chunk/StepSSO-DlRartMb.js +4 -4
- package/chunk/StepSSO-wafaHYQE.js +4 -4
- package/chunk/StepSocialSecurityNumber-D_OGe3yJ.js +4 -4
- package/chunk/StepSocialSecurityNumber-DbjGHR6a.js +4 -4
- package/chunk/{StepStudentPersonalInfo-DsW4Z4xM.js → StepStudentPersonalInfo-D4qtaY-M.js} +6 -6
- package/chunk/{StepStudentPersonalInfo-DbSZ_x0y.js.map → StepStudentPersonalInfo-D4qtaY-M.js.map} +1 -1
- package/chunk/{StepStudentPersonalInfo-DbSZ_x0y.js → StepStudentPersonalInfo-DKtHL6eG.js} +6 -6
- package/chunk/{StepStudentPersonalInfo-DsW4Z4xM.js.map → StepStudentPersonalInfo-DKtHL6eG.js.map} +1 -1
- package/chunk/StepSuccess-D9fjMMHt.js +4 -4
- package/chunk/StepSuccess-ZKydbAGd.js +4 -4
- package/chunk/{StepTeacherPersonalInfo-DdnMWDO1.js → StepTeacherPersonalInfo-DJLARBe2.js} +6 -6
- package/chunk/{StepTeacherPersonalInfo-DZXg4vW4.js.map → StepTeacherPersonalInfo-DJLARBe2.js.map} +1 -1
- package/chunk/{StepTeacherPersonalInfo-DZXg4vW4.js → StepTeacherPersonalInfo-DZFL_lGx.js} +6 -6
- package/chunk/{StepTeacherPersonalInfo-DdnMWDO1.js.map → StepTeacherPersonalInfo-DZFL_lGx.js.map} +1 -1
- package/chunk/StepThirdPartyLoop-B12aMzdI.js +4 -4
- package/chunk/StepThirdPartyLoop-DgBM8Hjr.js +4 -4
- package/chunk/TeacherSchoolComponent-C20C7BlX.js +4 -4
- package/chunk/TeacherSchoolComponent-DGGmBVU0.js +4 -4
- package/chunk/ThreatMetrix-DneXzgNV.js +4 -4
- package/chunk/VerificationApiUtils-Ci3HFxmT.js +4 -4
- package/chunk/VerificationApiUtils-Cnf-uqtw.js +4 -4
- package/chunk/ar-DY-xX8jm.js +4 -4
- package/chunk/bg-DtqxFXxf.js +4 -4
- package/chunk/bn-IN-CLQsDlLx.js +4 -4
- package/chunk/countryUtils-D5jLglud.js +4 -4
- package/chunk/countryUtils-ZO5utVC3.js +4 -4
- package/chunk/cs-zKYalrCx.js +4 -4
- package/chunk/da-B5mz--q8.js +4 -4
- package/chunk/de-C1u5bH-H.js +4 -4
- package/chunk/downshift.esm-fwmIRsQT.js +4 -4
- package/chunk/downshift.esm-qbGlaZEh.js +4 -4
- package/chunk/el-By0fu1Nj.js +4 -4
- package/chunk/{en-GB-xOghZjwR.js → en-GB-C2Ud3xXN.js} +121 -121
- package/chunk/en-GB-C2Ud3xXN.js.map +1 -0
- package/chunk/es-CNmoqMfp.js +4 -4
- package/chunk/es-ES-B7X6cedJ.js +4 -4
- package/chunk/et-DjJMLduk.js +4 -4
- package/chunk/fa-C9Wazqks.js +4 -4
- package/chunk/fi-Bt0kXgNy.js +4 -4
- package/chunk/fr-BvwOLEGk.js +4 -4
- package/chunk/fr-CA-DDN6X27Z.js +4 -4
- package/chunk/ga-DyaPZPE4.js +4 -4
- package/chunk/hi-IN-BsHMHntR.js +4 -4
- package/chunk/hr-BVl-px1q.js +4 -4
- package/chunk/hu-D4VjeLtb.js +4 -4
- package/chunk/id-B9cy0h8v.js +4 -4
- package/chunk/is-DFpeGHFj.js +4 -4
- package/chunk/it-DWz5-P-2.js +4 -4
- package/chunk/iw-DdKzE4KC.js +4 -4
- package/chunk/ja-BfUezqgt.js +4 -4
- package/chunk/kk-dxzPsna4.js +4 -4
- package/chunk/ko-BoAyzxes.js +4 -4
- package/chunk/lo-VdDzVd41.js +4 -4
- package/chunk/lt-CtEXkLkn.js +4 -4
- package/chunk/lv-SXvo6W1l.js +4 -4
- package/chunk/militaryStepHelpers--Wm0W_ag.js +4 -4
- package/chunk/militaryStepHelpers-BeuHYTWR.js +4 -4
- package/chunk/mocks-BPyxndtc.js +4 -4
- package/chunk/mocks-Cgaq6lp9.js +4 -4
- package/chunk/ms-CAQm5fnc.js +4 -4
- package/chunk/nl-BE-bh2asFFE.js +4 -4
- package/chunk/nl-TH42E1ce.js +4 -4
- package/chunk/no-CWx3bQiE.js +4 -4
- package/chunk/pl-C5UPRDbl.js +4 -4
- package/chunk/pt-BR-WR8V3NBI.js +4 -4
- package/chunk/pt-DuRmZVpm.js +4 -4
- package/chunk/ro-X6KMMewz.js +4 -4
- package/chunk/ru-D8cwuuW9.js +4 -4
- package/chunk/sk-l-usPvHT.js +4 -4
- package/chunk/sl-CcFevFDd.js +4 -4
- package/chunk/sr-5hqdw8W6.js +4 -4
- package/chunk/sv-CHHsIc-_.js +4 -4
- package/chunk/sw-N7xKwBA-.js +4 -4
- package/chunk/ta-CJbnZGAc.js +4 -4
- package/chunk/th-BGQ9NXQb.js +4 -4
- package/chunk/tl-D4edHa4A.js +4 -4
- package/chunk/tr-CzGpuTpn.js +4 -4
- package/chunk/uk-ChRcPkiM.js +4 -4
- package/chunk/ur-DwjvEWmp.js +4 -4
- package/chunk/useCollectFieldsEndpoint-BSSv3150.js +4 -4
- package/chunk/useCollectFieldsEndpoint-D1lYCp78.js +4 -4
- package/chunk/useMetrics-5ft9MF-y.js +4 -4
- package/chunk/useMetrics-CLLh0Tan.js +4 -4
- package/chunk/vi-CyTj2EhC.js +4 -4
- package/chunk/zh-91qJ02Dp.js +4 -4
- package/chunk/zh-HK-xEJkIfby.js +4 -4
- package/chunk/zu-BrvraDYW.js +4 -4
- package/package.json +1 -1
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +4 -4
- package/sheerid.css +4 -4
- package/sheerid.js +25 -25
- package/sheerid.js.map +1 -1
- package/chunk/StepCollectMilitaryStatusComponent-Cr4QO-1W.js +0 -9
- package/chunk/en-GB-xOghZjwR.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { Mn as e, Rt as t, kn as n, yt as r } from "../sheerid.js";
|
|
9
9
|
//#region src/components/FormInputs/InputText/InputText.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { B as e, Rt as t, in as n, on as r, wt as i } from "../sheerid.js";
|
|
9
9
|
import { t as a } from "./FormFieldTypeahead-Uh9wMgdO.js";
|
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { Ft as e, _t as t, bt as n, vt as r, z as i } from "../_mysheerid-preview.js";
|
|
13
13
|
import { t as a } from "./FormFieldTypeahead-B35fOvGG.js";
|
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { Ft as e, G as t, Ht as n, Lt as r, Mn as i, Xt as a, _t as o, bt as s, gt as c, kn as l, rn as u, vt as d, z as f } from "../_mysheerid-preview.js";
|
|
13
13
|
import { t as p } from "./FormFieldText-DIAcRrkr.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { B as e, Dn as t, Et as n, K as r, Lt as i, Mn as a, Rt as o, Vt as s, in as c, jt as l, kn as u, on as d, wt as f } from "../sheerid.js";
|
|
9
9
|
import { t as p } from "./FormFieldText-B9EYGm5E.js";
|
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { Ft as e, _t as t, bt as n, vt as r, z as i } from "../_mysheerid-preview.js";
|
|
13
13
|
import { t as a } from "./FormFieldTypeahead-B35fOvGG.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { B as e, Rt as t, in as n, on as r, wt as i } from "../sheerid.js";
|
|
9
9
|
import { t as a } from "./FormFieldTypeahead-Uh9wMgdO.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { B as e, Rt as t, in as n, on as r } from "../sheerid.js";
|
|
9
9
|
import { t as i } from "./FormFieldText-B9EYGm5E.js";
|
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { _t as e, bt as t, vt as n, z as r } from "../_mysheerid-preview.js";
|
|
13
13
|
import { t as i } from "./FormFieldText-DIAcRrkr.js";
|
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { Ft as e, _t as t, bt as n, vt as r, z as i } from "../_mysheerid-preview.js";
|
|
13
13
|
import { t as a } from "./FormFieldTypeahead-B35fOvGG.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { B as e, Rt as t, in as n, on as r, wt as i } from "../sheerid.js";
|
|
9
9
|
import { t as a } from "./FormFieldTypeahead-Uh9wMgdO.js";
|
package/chunk/Onfido-DX6DWIy6.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
//#region ../node_modules/onfido-sdk-ui/Onfido.js
|
|
13
13
|
var e = Object.defineProperty, t = (t, n, r) => n in t ? e(t, n, {
|
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { $t as e, At as t, En as n, Mn as r, Qt as i, X as a, _t as o, bt as s, kn as c, kt as l, rn as u, tn as d, vt as f, z as p } from "../_mysheerid-preview.js";
|
|
13
13
|
import { t as m } from "./FormFieldText-DIAcRrkr.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { B as e, Dn as t, Kt as n, Mn as r, Rt as i, Tn as a, Ut as o, Wt as s, Z as c, bt as l, in as u, kn as d, on as f, yt as p } from "../sheerid.js";
|
|
9
9
|
import { t as m } from "./FormFieldText-B9EYGm5E.js";
|
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { $t as e, Mt as t, On as n, _t as r, at as i, kn as a, rt as o, tn as s } from "../_mysheerid-preview.js";
|
|
13
13
|
//#region src/lib/IPQS/IPQSutils.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { Dn as e, Kt as t, Rt as n, Wt as r, it as i, ot as a, t as o } from "../sheerid.js";
|
|
9
9
|
//#region src/components/PersonalInfoStepWrapper/PersonalInfoStepWrapper.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { B as e, Rt as t, in as n, on as r } from "../sheerid.js";
|
|
9
9
|
import { t as i } from "./FormFieldText-B9EYGm5E.js";
|
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { _t as e, bt as t, vt as n, z as r } from "../_mysheerid-preview.js";
|
|
13
13
|
import { t as i } from "./FormFieldText-DIAcRrkr.js";
|
package/chunk/SSN-DEDbmtXI.js
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { _t as e, bt as t, mn as n, vt as r, z as i } from "../_mysheerid-preview.js";
|
|
13
13
|
import { t as a } from "./FormFieldText-DIAcRrkr.js";
|
package/chunk/SSN-DbmDwC_V.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { B as e, Rt as t, in as n, on as r, pn as i } from "../sheerid.js";
|
|
9
9
|
import { t as a } from "./FormFieldText-B9EYGm5E.js";
|
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { _t as e, bt as t, vt as n } from "../_mysheerid-preview.js";
|
|
13
13
|
import { t as r } from "./FormFieldInputSelect-C8O7C4IK.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { Rt as e, in as t, on as n } from "../sheerid.js";
|
|
9
9
|
import { t as r } from "./FormFieldInputSelect-B8lVVG8B.js";
|
|
@@ -4,10 +4,10 @@
|
|
|
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: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { Mn as e, _t as t, bt as n, rn as r, vt as i, z as a } from "../_mysheerid-preview.js";
|
|
13
13
|
import { t as o } from "./FormFieldInputSelect-C8O7C4IK.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { B as e, Mn as t, Rt as n, in as r, kn as i, on as a } from "../sheerid.js";
|
|
9
9
|
import { t as o } from "./FormFieldInputSelect-B8lVVG8B.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
/**
|
|
3
|
-
* VERSION: 2.
|
|
4
|
-
* BUILD_TIMESTAMP:
|
|
5
|
-
* BUILD_DATE: Wed Jun
|
|
6
|
-
* BUILD_COMMIT:
|
|
3
|
+
* VERSION: 2.243.0
|
|
4
|
+
* BUILD_TIMESTAMP: 1781723137654
|
|
5
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:37 GMT+0000 (Coordinated Universal Time)
|
|
6
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
7
7
|
*/
|
|
8
8
|
import { $ as e, B as t, Bt as n, Dn as r, F as i, G as a, Rt as o, Tn as s, Vt as c, W as l, et as u, gt as d, in as f, kn as p, n as m, on as h, vn as g, vt as _ } from "../sheerid.js";
|
|
9
|
-
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-
|
|
9
|
+
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-Dlygh6sh.js";
|
|
10
10
|
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-C2E_vI6h.js";
|
|
11
|
-
import { t as E } from "./BirthDateComponent-
|
|
11
|
+
import { t as E } from "./BirthDateComponent-BoykraUB.js";
|
|
12
12
|
import { t as D } from "./CountryComponentWrapper-BKmiop9j.js";
|
|
13
13
|
import { t as O } from "./ExtraMessage-BKL0qihb.js";
|
|
14
14
|
import { t as k } from "./ChangeLocaleComponent-CwUU2jUS.js";
|
|
15
15
|
import { t as A } from "./PersonalInfoStepWrapper-DIecrjL_.js";
|
|
16
|
-
import { n as j, r as M, t as N } from "./DischargeDateComponent-
|
|
16
|
+
import { n as j, r as M, t as N } from "./DischargeDateComponent-CyebIohS.js";
|
|
17
17
|
import { t as P } from "./StatusComponent-K7sbnHoL.js";
|
|
18
18
|
import { t as F } from "./militaryStepHelpers-BeuHYTWR.js";
|
|
19
19
|
p();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-DkfUU7zC.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC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QwlwhM5.js","names":[],"sources":["../../src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"@jslib/shared/utils/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n ActiveMilitaryPersonalInfoViewModel,\n ActiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { CaptchaComponent } from \"../FormFields/Captcha/CaptchaComponent\";\n\ninterface StepActiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepActiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepActiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as ActiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as ActiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateActiveMilitaryViewModel = (\n key: keyof ActiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"active-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateActiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as ActiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {!!verificationService.programTheme.transitionalMilitaryValidityDays && (\n <DischargeDate\n mode={\"date\"}\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n )}\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"activeDutyStartDate\")?.requireIfOptional}\n />\n )}\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateActiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <CaptchaComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.captchaToken}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectActiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepActiveMilitaryPersonalInfoComponent = injectIntl(StepActiveMilitaryPersonalInfo);\nexport default StepActiveMilitaryPersonalInfoComponent;\n"],"mappings":";;;;;;;;;;;;aA0Da,KAAkC,EAC7C,SACA,6BACkD;CAClD,IAAM,IAAY,EAAoB,WAChC,IACJ,EAAoB,mBAChB,EAAE,6BAA0B,GAC5B,IACJ,EAAoB,sBAChB,IAAqB,EAAsB,CAAoB,GAC/D,IAAoB,EAA6B,GAAqB,CAAI,GAC1E,IAAS,EAAU,aAAa,OAChC,IAAU,EAAW,GAErB,KACJ,GACA,MACG;EACH,EAAoB,gBAClB,EAAwB,GAAK,GAAO,GAAqB,CAAiB,CAC5E;CACF;CAwBA,QAXG,EAAU,UAAU,KAAqB,EAAkB,WAAW,EAAU,UAChF,EAAU,UACT,EAAoB,qBAAqB,gBACvC,EAAsB,iCAdH;EACvB,IAAM,IAAY,EAAQ,SAAiB,CAAC,CAAC;EAE7C,AADA,EAAO,KAAK,6CAA6C,GACzD,EAAoB,WAClB,EAAsB,uBACtB,GACA,EAAoB,gCAAgC,EAAoB,oBAC1E;CACF,GAQa,GAIb,EAAU,GAGR,iBAAA,GAAA,EAAA,MAAC,GAAD;EACuB;EACrB,MAAM,EAAqB;EAC3B,WAAU;YAHZ,CAKE,iBAAA,GAAA,EAAA,KAAC,GAAD;GACuB;GACrB,qBAAoB;EACrB,CAAA,GAED,iBAAA,GAAA,EAAA,MAAA,EAAA,UAAA,EAAA,UAAA;GACE,iBAAA,GAAA,EAAA,KAAC,GAAD,EAA8C,uBAAsB,CAAA;GACpE,iBAAA,GAAA,EAAA,KAAC,GAAD;IACuB;IACrB,UAAU,EAAwB,SAAS,GAAG;GAC/C,CAAA;GACA,IACC,iBAAA,GAAA,EAAA,KAAC,GAAD;IACE,WAAU;IACV,OAAO;KACL,OAAO,EAAU;KACjB,OAAO,EAAe,GAAM,EAAU,QAAQ,CAAiC;IACjF;IACA,WAAW,CAAC,CAAC,EAAsB;IACnC,SAAQ;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7E;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"}
|
|
@@ -4,20 +4,20 @@
|
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
|
5
5
|
*/
|
|
6
6
|
/**
|
|
7
|
-
* VERSION: 2.
|
|
8
|
-
* BUILD_TIMESTAMP:
|
|
9
|
-
* BUILD_DATE: Wed Jun
|
|
10
|
-
* BUILD_COMMIT:
|
|
7
|
+
* VERSION: 2.243.0
|
|
8
|
+
* BUILD_TIMESTAMP: 1781723142204
|
|
9
|
+
* BUILD_DATE: Wed Jun 17 2026 19:05:42 GMT+0000 (Coordinated Universal Time)
|
|
10
|
+
* BUILD_COMMIT: 530d31f64b3b99656231e1e01b9567a116867459
|
|
11
11
|
*/
|
|
12
12
|
import { $ as e, En as t, Et as n, Ot as r, P as i, Q as a, U as o, W as s, Xt as c, Yt as l, _t as u, bt as d, kn as f, rn as p, t as m, vt as h, yn as g, z as _ } from "../_mysheerid-preview.js";
|
|
13
|
-
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-
|
|
13
|
+
import { a as v, i as y, n as b, o as x, s as S, t as C } from "./CaptchaComponent-D3LxuZTy.js";
|
|
14
14
|
import { n as w, t as T } from "./PersonalInfoStepSubmitButton-BEt7G8pL.js";
|
|
15
|
-
import { t as E } from "./BirthDateComponent-
|
|
15
|
+
import { t as E } from "./BirthDateComponent-pnP0exLn.js";
|
|
16
16
|
import { t as D } from "./CountryComponentWrapper-cR2hBUDi.js";
|
|
17
17
|
import { t as O } from "./ExtraMessage-Qn-IkYnh.js";
|
|
18
18
|
import { t as k } from "./ChangeLocaleComponent-Db5V1sYM.js";
|
|
19
19
|
import { t as A } from "./PersonalInfoStepWrapper-B7jyR5L2.js";
|
|
20
|
-
import { n as j, r as M, t as N } from "./DischargeDateComponent-
|
|
20
|
+
import { n as j, r as M, t as N } from "./DischargeDateComponent-O0QnVWUt.js";
|
|
21
21
|
import { t as P } from "./StatusComponent-C9qP2xkk.js";
|
|
22
22
|
import { t as F } from "./militaryStepHelpers--Wm0W_ag.js";
|
|
23
23
|
p();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StepActiveMilitaryPersonalInfoComponent-odNcUArs.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,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A,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-Cw81QqG7.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;G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