@sheerid/jslib-nightly 2.103.0-alpha.1 → 2.104.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__tests__/__helpers__/renderers.d.ts +5 -5
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +16418 -17936
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{EmailLoopPending-Cp3dQjbH.js → EmailLoopPending-D-O7IRrU.js} +17 -17
- package/chunk/{EmailLoopPending-Cp3dQjbH.js.map → EmailLoopPending-D-O7IRrU.js.map} +1 -1
- package/chunk/{EmailLoopPending-WTPkkJsm.js → EmailLoopPending-DmENoLpP.js} +17 -17
- package/chunk/{EmailLoopPending-WTPkkJsm.js.map → EmailLoopPending-DmENoLpP.js.map} +1 -1
- package/chunk/LicensedProfessionalOrganizationComponent-BrW9osPt.js +55 -0
- package/chunk/LicensedProfessionalOrganizationComponent-BrW9osPt.js.map +1 -0
- package/chunk/LicensedProfessionalOrganizationComponent-Cu6a9uBs.js +51 -0
- package/chunk/LicensedProfessionalOrganizationComponent-Cu6a9uBs.js.map +1 -0
- package/chunk/{Onfido-AyvUk6wg.js → Onfido-CMH3IUna.js} +28 -28
- package/chunk/{Onfido-AyvUk6wg.js.map → Onfido-CMH3IUna.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-Dbk23JEP.js → StepIDCheckLoopOnfido-BRtMQNQl.js} +12 -13
- package/chunk/{StepIDCheckLoopOnfido-DbTm06es.js.map → StepIDCheckLoopOnfido-BRtMQNQl.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DbTm06es.js → StepIDCheckLoopOnfido-mZhLONqq.js} +12 -13
- package/chunk/{StepIDCheckLoopOnfido-Dbk23JEP.js.map → StepIDCheckLoopOnfido-mZhLONqq.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-CeadrU2e.js → StepIDCheckLoopRegula-1wd-jJGJ.js} +85 -58
- package/chunk/StepIDCheckLoopRegula-1wd-jJGJ.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-B7RS9_LL.js → StepIDCheckLoopRegula-jyg1vIi3.js} +85 -58
- package/chunk/StepIDCheckLoopRegula-jyg1vIi3.js.map +1 -0
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js → StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js} +52 -52
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js.map → StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js → StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js} +52 -52
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js.map → StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js.map} +1 -1
- package/chunk/ar-CtJ_9k3U.js +4 -4
- package/chunk/bg-CWxXfiDq.js +4 -4
- package/chunk/bn-IN-Dpq_hCqt.js +4 -4
- package/chunk/cs-HevyelX7.js +4 -4
- package/chunk/da-6QXhWjWH.js +4 -4
- package/chunk/de-ChuCvRLv.js +4 -4
- package/chunk/el-3IAhABcN.js +4 -4
- package/chunk/en-GB-ByNBaer-.js +4 -4
- package/chunk/es-CL_dUc9X.js +4 -4
- package/chunk/es-ES-CW4At4Ol.js +4 -4
- package/chunk/fi-D8cIebkk.js +4 -4
- package/chunk/fr-BDU-1C6f.js +4 -4
- package/chunk/fr-CA-Dc02rv8D.js +4 -4
- package/chunk/ga-P7eP-INQ.js +4 -4
- package/chunk/hi-IN-DlmwjoqH.js +4 -4
- package/chunk/hr-CT_VP_lm.js +4 -4
- package/chunk/hu-I8Z1uXsR.js +4 -4
- package/chunk/id-CUPTGKOT.js +4 -4
- package/chunk/{index-Dl7QItmr.js → index-1tM2UWke.js} +56 -48
- package/chunk/{index-Dl7QItmr.js.map → index-1tM2UWke.js.map} +1 -1
- package/chunk/{index-XXxK9rgV.js → index-25aIMfhs.js} +87 -86
- package/chunk/index-25aIMfhs.js.map +1 -0
- package/chunk/{index-BOpxl8V9.js → index-2tpdu0Sm.js} +28 -28
- package/chunk/{index-BOpxl8V9.js.map → index-2tpdu0Sm.js.map} +1 -1
- package/chunk/{index-CaSKZsTY.js → index-BJxmlJd1.js} +15 -15
- package/chunk/{index-CaSKZsTY.js.map → index-BJxmlJd1.js.map} +1 -1
- package/chunk/{index-4APDQFqJ.js → index-BSXBGGOf.js} +10 -10
- package/{lib/index-BHwYKmBe.js.map → chunk/index-BSXBGGOf.js.map} +1 -1
- package/chunk/index-B_CvWvhW.js +27 -0
- package/chunk/index-B_CvWvhW.js.map +1 -0
- package/chunk/{index-DFQ4PjGJ.js → index-BgB4HxER.js} +58 -58
- package/chunk/{index-CtqWr1aK.js.map → index-BgB4HxER.js.map} +1 -1
- package/chunk/{index-RmF57u5_.js → index-BjWeyRVL.js} +43 -43
- package/chunk/{index-C0jDbJPp.js.map → index-BjWeyRVL.js.map} +1 -1
- package/chunk/{index-qAxcloBs.js → index-BmJ3aubI.js} +11 -11
- package/chunk/{index-qAxcloBs.js.map → index-BmJ3aubI.js.map} +1 -1
- package/chunk/{index-CtqWr1aK.js → index-BrVZpRb7.js} +58 -58
- package/chunk/{index-DFQ4PjGJ.js.map → index-BrVZpRb7.js.map} +1 -1
- package/chunk/index-Bv_0MGCt.js +31 -0
- package/chunk/index-Bv_0MGCt.js.map +1 -0
- package/chunk/{index-aKTpkBwz.js → index-C3tQa9xA.js} +56 -48
- package/chunk/{index-aKTpkBwz.js.map → index-C3tQa9xA.js.map} +1 -1
- package/chunk/{index-C0jDbJPp.js → index-C6cgSdQ9.js} +43 -43
- package/chunk/{index-RmF57u5_.js.map → index-C6cgSdQ9.js.map} +1 -1
- package/chunk/{index-D3dphMnl.js → index-CEidf7uT.js} +15 -15
- package/{lib/index-Sytmygw_.js.map → chunk/index-CEidf7uT.js.map} +1 -1
- package/chunk/{index-BhkJfnda.js → index-CGKKTwvx.js} +15 -15
- package/chunk/{index-BDw8efPp.js.map → index-CGKKTwvx.js.map} +1 -1
- package/chunk/{index-BtYzUCrC.js → index-Cb7GlxEu.js} +11 -11
- package/chunk/{index-BtYzUCrC.js.map → index-Cb7GlxEu.js.map} +1 -1
- package/chunk/{index-DPEoeYI6.js → index-Cq8qB8GK.js} +44 -44
- package/chunk/{index-CgSW4Vzh.js.map → index-Cq8qB8GK.js.map} +1 -1
- package/chunk/{index-B30_E6pJ.js → index-D1j4nnQa.js} +31 -31
- package/chunk/{index-B30_E6pJ.js.map → index-D1j4nnQa.js.map} +1 -1
- package/chunk/{index-DB9SisGK.js → index-D6Gez9pU.js} +21 -21
- package/chunk/{index-DB9SisGK.js.map → index-D6Gez9pU.js.map} +1 -1
- package/chunk/{index-BGCnajPS.js → index-D6RaCifq.js} +30 -30
- package/chunk/{index-BFMTiaJv.js.map → index-D6RaCifq.js.map} +1 -1
- package/chunk/{index-NjSUlAP4.js → index-D8z4eipH.js} +53 -53
- package/chunk/{index-oMg5zy_2.js.map → index-D8z4eipH.js.map} +1 -1
- package/chunk/{index-C9bZ7enn.js → index-DFjiwKs3.js} +7 -7
- package/chunk/{index-2QV6VPA3.js.map → index-DFjiwKs3.js.map} +1 -1
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/index-DIkWpujR.js.map +1 -1
- package/chunk/{index-BDw8efPp.js → index-DJReh58z.js} +15 -15
- package/chunk/{index-BhkJfnda.js.map → index-DJReh58z.js.map} +1 -1
- package/chunk/{index-DWjrZunN.js → index-DPLvpl1z.js} +10 -10
- package/chunk/{index-4APDQFqJ.js.map → index-DPLvpl1z.js.map} +1 -1
- package/chunk/{index-DZsw9-0u.js → index-DR_Yi6nm.js} +237 -219
- package/chunk/index-DR_Yi6nm.js.map +1 -0
- package/chunk/{index-_ohn63ug.js → index-DZ0bnNgg.js} +31 -31
- package/chunk/{index-_ohn63ug.js.map → index-DZ0bnNgg.js.map} +1 -1
- package/chunk/{index-B3NA0DdP.js → index-D_lbJwrN.js} +87 -86
- package/chunk/index-D_lbJwrN.js.map +1 -0
- package/chunk/{index-MRhfTdmm.js → index-DyHhX3QL.js} +21 -21
- package/chunk/{index-MRhfTdmm.js.map → index-DyHhX3QL.js.map} +1 -1
- package/chunk/{index-CgSW4Vzh.js → index-F-HVkQz5.js} +44 -44
- package/{lib/index-Cn53lF5X.js.map → chunk/index-F-HVkQz5.js.map} +1 -1
- package/chunk/{index-D7dDB9pN.js → index-GaKINs6g.js} +23 -23
- package/chunk/{index-DIV55Je2.js.map → index-GaKINs6g.js.map} +1 -1
- package/{lib/index-S3ZpXPMJ.js → chunk/index-IntP52Fm.js} +22 -23
- package/chunk/{index-BGCnajPS.js.map → index-IntP52Fm.js.map} +1 -1
- package/chunk/{index-DIV55Je2.js → index-i9-QlgZ0.js} +23 -23
- package/chunk/{index-D7dDB9pN.js.map → index-i9-QlgZ0.js.map} +1 -1
- package/chunk/{index-tFgJS6bB.js → index-n6-LNqUp.js} +23 -23
- package/chunk/{index-tFgJS6bB.js.map → index-n6-LNqUp.js.map} +1 -1
- package/chunk/{index-2QV6VPA3.js → index-rjS-77t0.js} +7 -7
- package/chunk/{index-C9bZ7enn.js.map → index-rjS-77t0.js.map} +1 -1
- package/chunk/{index-BPEB_HHW.js → index-vIL1gjSk.js} +237 -219
- package/chunk/index-vIL1gjSk.js.map +1 -0
- package/chunk/{index-CgBENXRP.js → index-whConjrR.js} +23 -23
- package/{lib/index-BcE9NN84.js.map → chunk/index-whConjrR.js.map} +1 -1
- package/chunk/{index-DtoxnCtM.js → index-y-QcpyIc.js} +28 -28
- package/{lib/index-DQvdYpIH.js.map → chunk/index-y-QcpyIc.js.map} +1 -1
- package/chunk/{index-oMg5zy_2.js → index-ygMzyxW9.js} +53 -53
- package/chunk/{index-NjSUlAP4.js.map → index-ygMzyxW9.js.map} +1 -1
- package/chunk/is-CUuXi4qZ.js +4 -4
- package/chunk/it-BNmynTsg.js +4 -4
- package/chunk/iw-FGzquR_X.js +4 -4
- package/chunk/ja-YgUpXA0l.js +4 -4
- package/chunk/ko-CuNS5J_M.js +4 -4
- package/chunk/lo-BEf8aFjR.js +4 -4
- package/chunk/lt-DvX1gz1a.js +4 -4
- package/chunk/ms-gSqM-Mfi.js +4 -4
- package/chunk/nl-BE-Cid5LFlN.js +4 -4
- package/chunk/nl-CUUTswxa.js +4 -4
- package/chunk/no-BvUqlShV.js +4 -4
- package/chunk/pl-CU8leZhI.js +4 -4
- package/chunk/pt-BR-CboWpHFi.js +4 -4
- package/chunk/pt-BnK7xRT_.js +4 -4
- package/chunk/ro-BfAyXxSW.js +4 -4
- package/chunk/ru-BD-YGPuQ.js +4 -4
- package/chunk/sk-CqsabpdG.js +4 -4
- package/chunk/sl-CeVAf0S_.js +4 -4
- package/chunk/sr-DSaHxcCQ.js +4 -4
- package/chunk/sv-DOyWYViy.js +4 -4
- package/chunk/sw-2Q7Jo6wp.js +4 -4
- package/chunk/th-BZ6F9sPf.js +4 -4
- package/chunk/tr-om80xrv2.js +4 -4
- package/chunk/uk-Dxugux8e.js +4 -4
- package/chunk/ur-OBILUeZ7.js +4 -4
- package/chunk/{useCollectFieldsEndpoint-BsY8WlOg.js → useCollectFieldsEndpoint-CumMd2sJ.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-BsY8WlOg.js.map → useCollectFieldsEndpoint-CumMd2sJ.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js → useCollectFieldsEndpoint-V5bz5WAF.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js.map → useCollectFieldsEndpoint-V5bz5WAF.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-3uKuefem.js → useEmailFirstExperiment-CV5nAxtl.js} +30 -29
- package/chunk/{useEmailFirstExperiment-3uKuefem.js.map → useEmailFirstExperiment-CV5nAxtl.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-B1_E_D0z.js → useEmailFirstExperiment-mjdDc7vk.js} +30 -29
- package/chunk/{useEmailFirstExperiment-B1_E_D0z.js.map → useEmailFirstExperiment-mjdDc7vk.js.map} +1 -1
- package/chunk/vi-BOR2GuRI.js +4 -4
- package/chunk/zh-HK-BI-IHOGG.js +4 -4
- package/chunk/zh-eoMG5RFC.js +4 -4
- package/chunk/zu-D_A8wcJW.js +4 -4
- package/dev/programIds.d.ts +1 -1
- package/es6.css +4 -4
- package/jslib.js +25 -25
- package/lib/{EmailLoopPending-BWEJteWf.js → EmailLoopPending-DUy2k56y.js} +14 -14
- package/lib/{EmailLoopPending-BWEJteWf.js.map → EmailLoopPending-DUy2k56y.js.map} +1 -1
- package/lib/LicensedProfessionalOrganizationComponent-BPtxmkjH.js +52 -0
- package/lib/LicensedProfessionalOrganizationComponent-BPtxmkjH.js.map +1 -0
- package/lib/{Onfido-AyvUk6wg.js → Onfido-CMH3IUna.js} +28 -28
- package/lib/{Onfido-AyvUk6wg.js.map → Onfido-CMH3IUna.js.map} +1 -1
- package/lib/StepCollectMilitaryStatusComponent-u1rI8N4t.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-B6FWsKVT.js.map → StepCollectMilitaryStatusComponent-u1rI8N4t.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-BoYu03qf.js → StepIDCheckLoopOnfido-DirszrOR.js} +19 -19
- package/lib/{StepIDCheckLoopOnfido-BoYu03qf.js.map → StepIDCheckLoopOnfido-DirszrOR.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-CleO2AvI.js → StepIDCheckLoopRegula-DoIQP1h2.js} +5 -5
- package/lib/{StepIDCheckLoopRegula-CleO2AvI.js.map → StepIDCheckLoopRegula-DoIQP1h2.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-CwHB55DG.js → StepInactiveMilitaryPersonalInfoComponent-uX6OkV0d.js} +52 -52
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-CwHB55DG.js.map → StepInactiveMilitaryPersonalInfoComponent-uX6OkV0d.js.map} +1 -1
- package/lib/VerificationApiUtils-DXDQAg5m.js +21 -0
- package/lib/VerificationApiUtils-DXDQAg5m.js.map +1 -0
- package/lib/ar-CtJ_9k3U.js +4 -4
- package/lib/bg-CWxXfiDq.js +4 -4
- package/lib/bn-IN-Dpq_hCqt.js +4 -4
- package/lib/cs-HevyelX7.js +4 -4
- package/lib/da-6QXhWjWH.js +4 -4
- package/lib/de-ChuCvRLv.js +4 -4
- package/lib/el-3IAhABcN.js +4 -4
- package/lib/en-GB-ByNBaer-.js +4 -4
- package/lib/es-CL_dUc9X.js +4 -4
- package/lib/es-ES-CW4At4Ol.js +4 -4
- package/lib/es6-DS7nD0gX.js +26840 -0
- package/lib/es6-DS7nD0gX.js.map +1 -0
- package/lib/fi-D8cIebkk.js +4 -4
- package/lib/fr-BDU-1C6f.js +4 -4
- package/lib/fr-CA-Dc02rv8D.js +4 -4
- package/lib/ga-P7eP-INQ.js +4 -4
- package/lib/hi-IN-DlmwjoqH.js +4 -4
- package/lib/hr-CT_VP_lm.js +4 -4
- package/lib/hu-I8Z1uXsR.js +4 -4
- package/lib/id-CUPTGKOT.js +4 -4
- package/lib/{index-DpFFsGey.js → index--qLF6ZOW.js} +76 -75
- package/lib/index--qLF6ZOW.js.map +1 -0
- package/lib/index-0NkCv3Y-.js +11 -0
- package/lib/index-0NkCv3Y-.js.map +1 -0
- package/lib/{index-DQvdYpIH.js → index-9ka8yNRo.js} +23 -23
- package/{chunk/index-DtoxnCtM.js.map → lib/index-9ka8yNRo.js.map} +1 -1
- package/lib/{index-D0D7HAPn.js → index-AWpSRRq3.js} +60 -60
- package/lib/{index-D0D7HAPn.js.map → index-AWpSRRq3.js.map} +1 -1
- package/lib/index-B9dEWYQH.js +11 -0
- package/lib/index-B9dEWYQH.js.map +1 -0
- package/lib/{index-BcE9NN84.js → index-BAFdbWcI.js} +32 -32
- package/{chunk/index-CgBENXRP.js.map → lib/index-BAFdbWcI.js.map} +1 -1
- package/lib/index-BY6Xy81u.js +11 -0
- package/lib/index-BY6Xy81u.js.map +1 -0
- package/lib/{index-CRYZY6vI.js → index-C1JFiqbD.js} +24 -24
- package/lib/{index-CRYZY6vI.js.map → index-C1JFiqbD.js.map} +1 -1
- package/lib/index-C3Iqch6i.js +11 -0
- package/lib/index-C3Iqch6i.js.map +1 -0
- package/lib/{index-CBDyLXYG.js → index-CCflTrqh.js} +52 -52
- package/lib/{index-CBDyLXYG.js.map → index-CCflTrqh.js.map} +1 -1
- package/lib/{index-VNMhK7yn.js → index-CJfYYEay.js} +7 -7
- package/lib/{index-VNMhK7yn.js.map → index-CJfYYEay.js.map} +1 -1
- package/lib/{index-Cn53lF5X.js → index-CLj9YCrn.js} +27 -27
- package/{chunk/index-DPEoeYI6.js.map → lib/index-CLj9YCrn.js.map} +1 -1
- package/lib/{index-CBifWEeV.js → index-CY10ElCy.js} +402 -385
- package/lib/index-CY10ElCy.js.map +1 -0
- package/lib/{index-3SRQvj39.js → index-CgJWGuRF.js} +26 -26
- package/lib/{index-3SRQvj39.js.map → index-CgJWGuRF.js.map} +1 -1
- package/lib/{index-BxVqnD-7.js → index-CkW6g9oh.js} +23 -23
- package/lib/{index-BxVqnD-7.js.map → index-CkW6g9oh.js.map} +1 -1
- package/lib/{index-eOSlGhXP.js → index-CwqfypY1.js} +5 -5
- package/lib/{index-eOSlGhXP.js.map → index-CwqfypY1.js.map} +1 -1
- package/{chunk/index-BFMTiaJv.js → lib/index-CyiYceqn.js} +33 -32
- package/lib/{index-S3ZpXPMJ.js.map → index-CyiYceqn.js.map} +1 -1
- package/lib/{index-BHwYKmBe.js → index-D-0wY68l.js} +10 -10
- package/{chunk/index-DWjrZunN.js.map → lib/index-D-0wY68l.js.map} +1 -1
- package/lib/{index-BJBWT9wa.js → index-DEYBhR7F.js} +25 -25
- package/lib/{index-BJBWT9wa.js.map → index-DEYBhR7F.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/index-DIkWpujR.js.map +1 -1
- package/lib/index-Da2aS2uY.js +28 -0
- package/lib/{index-B8_50Him.js.map → index-Da2aS2uY.js.map} +1 -1
- package/lib/{index-Sytmygw_.js → index-DcOpzG-K.js} +5 -5
- package/{chunk/index-D3dphMnl.js.map → lib/index-DcOpzG-K.js.map} +1 -1
- package/lib/{index-CTem-Vg8.js → index-VC3WFrsr.js} +9 -9
- package/lib/{index-CTem-Vg8.js.map → index-VC3WFrsr.js.map} +1 -1
- package/lib/{index-CrV2nMoq.js → index-uCUcf8WW.js} +5 -5
- package/lib/{index-CrV2nMoq.js.map → index-uCUcf8WW.js.map} +1 -1
- package/lib/is-CUuXi4qZ.js +4 -4
- package/lib/it-BNmynTsg.js +4 -4
- package/lib/iw-FGzquR_X.js +4 -4
- package/lib/ja-YgUpXA0l.js +4 -4
- package/lib/ko-CuNS5J_M.js +4 -4
- package/lib/lo-BEf8aFjR.js +4 -4
- package/lib/lt-DvX1gz1a.js +4 -4
- package/lib/ms-gSqM-Mfi.js +4 -4
- package/lib/nl-BE-Cid5LFlN.js +4 -4
- package/lib/nl-CUUTswxa.js +4 -4
- package/lib/no-BvUqlShV.js +4 -4
- package/lib/pl-CU8leZhI.js +4 -4
- package/lib/pt-BR-CboWpHFi.js +4 -4
- package/lib/pt-BnK7xRT_.js +4 -4
- package/lib/ro-BfAyXxSW.js +4 -4
- package/lib/ru-BD-YGPuQ.js +4 -4
- package/lib/sk-CqsabpdG.js +4 -4
- package/lib/sl-CeVAf0S_.js +4 -4
- package/lib/sr-DSaHxcCQ.js +4 -4
- package/lib/sv-DOyWYViy.js +4 -4
- package/lib/sw-2Q7Jo6wp.js +4 -4
- package/lib/th-BZ6F9sPf.js +4 -4
- package/lib/tr-om80xrv2.js +4 -4
- package/lib/uk-Dxugux8e.js +4 -4
- package/lib/ur-OBILUeZ7.js +4 -4
- package/lib/{useCollectFieldsEndpoint-CAKKawmD.js → useCollectFieldsEndpoint-DhvzoNQ8.js} +8 -8
- package/lib/{useCollectFieldsEndpoint-CAKKawmD.js.map → useCollectFieldsEndpoint-DhvzoNQ8.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-vO9rcSms.js → useEmailFirstExperiment-r3ZPOBWV.js} +7 -6
- package/lib/{useEmailFirstExperiment-vO9rcSms.js.map → useEmailFirstExperiment-r3ZPOBWV.js.map} +1 -1
- package/lib/vi-BOR2GuRI.js +4 -4
- package/lib/zh-HK-BI-IHOGG.js +4 -4
- package/lib/zh-eoMG5RFC.js +4 -4
- package/lib/zu-D_A8wcJW.js +4 -4
- package/package.json +4 -4
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +6 -6
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +5 -5
- package/sheerid.js +16514 -18032
- package/sheerid.js.map +1 -1
- package/src/components/AcceptableUploadsComponent/AcceptableUploadsComponent.d.ts +1 -1
- package/src/components/AcceptableUploadsComponent/getLegacyAcceptableUploads.d.ts +1 -1
- package/src/components/Button/Button.d.ts +0 -1
- package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +1 -2
- package/src/components/CustomCssContext/CustomCssContextProvider.d.ts +1 -1
- package/src/components/DateComponent/DateComponent.d.ts +2 -2
- package/src/components/ExtraMessage.d.ts +1 -1
- package/src/components/FaqLink/FaqLinkComponent.d.ts +1 -1
- package/src/components/FeatureFlags/ExperimentComponent/ExperimentComponent.d.ts +4 -4
- package/src/components/FetchOrganizationsComponent.d.ts +1 -1
- package/src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.d.ts +1 -1
- package/src/components/FormFields/Address/AddressComponent.d.ts +2 -2
- package/src/components/FormFields/BirthDate/BirthDateComponent.d.ts +1 -1
- package/src/components/FormFields/BranchOfService/BranchOfServiceComponent.d.ts +2 -2
- package/src/components/FormFields/CVECNumber/CVECNumberComponent.d.ts +2 -2
- package/src/components/FormFields/ChangeLocale/ChangeLocaleComponent.d.ts +3 -3
- package/src/components/FormFields/City/City.d.ts +2 -2
- package/src/components/FormFields/CollegeName/CollegeNameComponent.d.ts +2 -2
- package/src/components/FormFields/Company/CompanyComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponentWrapper.d.ts +2 -2
- package/src/components/FormFields/DischargeDate/DischargeDateComponent.d.ts +1 -1
- package/src/components/FormFields/DriverLicenseNumber/DriverLicenseNumberComponent.d.ts +2 -2
- package/src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.d.ts +2 -2
- package/src/components/FormFields/Email/EmailComponent.d.ts +2 -2
- package/src/components/FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent.d.ts +1 -1
- package/src/components/FormFields/EmailFirstCollectInfo/useEmailFirstExperiment.d.ts +1 -1
- package/src/components/FormFields/FirstName/FirstNameComponent.d.ts +2 -2
- package/src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/FormFieldCustom/FormFieldCustom.d.ts +2 -2
- package/src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.d.ts +1 -1
- package/src/components/FormFields/FormFieldRadio/FormFieldRadio.d.ts +2 -2
- package/src/components/FormFields/FormFieldSelect/FormFieldSelect.d.ts +2 -2
- package/src/components/FormFields/FormFieldText/FormFieldText.d.ts +1 -1
- package/src/components/FormFields/FormFieldTypeahead/FormFieldTypeahead.d.ts +2 -2
- package/src/components/FormFields/LastName/LastNameComponent.d.ts +2 -2
- package/src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
- package/src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MemberId/MemberIdComponent.d.ts +2 -2
- package/src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/OptIn/OptInComponent.d.ts +1 -1
- package/src/components/FormFields/OverrideCode/OverrideCodeComponent.d.ts +2 -2
- package/src/components/FormFields/PhoneNumber/PhoneNumberComponent.d.ts +2 -2
- package/src/components/FormFields/PostalCode/PostalCodeComponent.d.ts +2 -2
- package/src/components/FormFields/SMSCode/SMSCodeComponent.d.ts +2 -2
- package/src/components/FormFields/SSN/SSN.d.ts +2 -2
- package/src/components/FormFields/State/State.d.ts +2 -2
- package/src/components/FormFields/State/StateSelectComponent.d.ts +2 -2
- package/src/components/FormFields/Status/StatusComponent.d.ts +2 -2
- package/src/components/FormFields/TeacherSchool/TeacherSchoolComponent.d.ts +2 -2
- package/src/components/FormFooter/FooterTextComponent.d.ts +1 -1
- package/src/components/FormFooter/FormFooterComponent.d.ts +1 -1
- package/src/components/FormHeader/FormHeaderComponent.d.ts +1 -1
- package/src/components/FormHeader/StepHeaders/PersonalInfoHeaderComponent.d.ts +1 -1
- package/src/components/FormInputs/InputRadio/InputRadio.d.ts +1 -1
- package/src/components/FormInputs/InputSelect/InputSelectComponent.d.ts +1 -1
- package/src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/PostalCodeInput/PostalCodeInputComponent.d.ts +1 -1
- package/src/components/FormInputs/Select/SelectComponent.d.ts +1 -1
- package/src/components/FormInputs/Select/SelectList/SelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponentHelper.d.ts +1 -1
- package/src/components/HowDoesVerifyingWork/HowDoesVerifyingWorkComponent.d.ts +1 -1
- package/src/components/Layout/Layout.d.ts +1 -1
- package/src/components/LoadStepComponent.d.ts +1 -1
- package/src/components/LoadingScreen/LoadingScreenComponent.d.ts +1 -1
- package/src/components/LoadingScreen/LoadingScreenMessage.d.ts +1 -1
- package/src/components/LogoComponent/LogoComponent.d.ts +1 -1
- package/src/components/NewVerificationComponent.d.ts +3 -3
- package/src/components/NewVerificationInnerComponent.d.ts +1 -1
- package/src/components/OrganizationList/OrganizationListComponent.d.ts +1 -1
- package/src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.d.ts +2 -2
- package/src/components/PersonalInfoStepWrapper/PersonalInfoStepWrapper.d.ts +1 -2
- package/src/components/PoweredBy/PoweredByComponent.d.ts +1 -1
- package/src/components/PrivacyPolicyLink/PrivacyPolicyLinkComponent.d.ts +2 -2
- package/src/components/RewardsRemaining/RewardsRemainingComponent.d.ts +1 -1
- package/src/components/SingleSignOnComponent.d.ts +2 -2
- package/src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.d.ts +2 -2
- package/src/components/StepCollectIdentifier/StepCollectIdentifierComponent.d.ts +1 -1
- package/src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.d.ts +2 -2
- package/src/components/StepConsolation/StepConsolationComponent.d.ts +1 -1
- package/src/components/StepDocUpload/StepDocUploadComponent.d.ts +1 -1
- package/src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.d.ts +1 -1
- package/src/components/StepEmailLoop/EmailLoopPending.d.ts +1 -1
- package/src/components/StepEmailLoop/StepEmailLoopComponent.d.ts +2 -2
- package/src/components/StepEmploymentPersonalInfo/StepEmploymentPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepError/StepErrorComponent.d.ts +2 -2
- package/src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.d.ts +1 -1
- package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Onfido/IdCheckLoopOnfido/IdCheckLoopOnfido.d.ts +2 -2
- package/src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.d.ts +1 -1
- package/src/components/StepIDCheckLoop/StepIDCheckLoopComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepGeneralIdentityPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepHybridIdentityPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepOverrideComponent/StepOverrideComponent.d.ts +2 -2
- package/src/components/StepPending/ReviewPendingComponent.d.ts +1 -1
- package/src/components/StepPending/SingleSignOnPendingComponent.d.ts +2 -2
- package/src/components/StepPending/StepPendingComponent.d.ts +1 -1
- package/src/components/StepPending/ThirdPartyLoopPendingComponent.d.ts +1 -1
- package/src/components/StepSMSLoop/StepSMSLoopComponent.d.ts +2 -2
- package/src/components/StepSSO/StepSSOComponent.d.ts +1 -1
- package/src/components/StepSeniorPersonalInfo/StepSeniorPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.d.ts +1 -1
- package/src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepSuccess/StepSuccessComponent.d.ts +1 -1
- package/src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepThirdPartyLoop/StepThirdPartyLoopComponent.d.ts +3 -3
- package/src/components/TestModeFlag/TestModeFlagComponent.d.ts +1 -1
- package/src/components/UploadInfoComponent/UploadInfoComponent.d.ts +1 -1
- package/src/components/VerificationForm/VerificationFormComponent.d.ts +1 -1
- package/src/es5Bindings/VerificationFormEs5.d.ts +1 -1
- package/src/lib/ProgramTheme/programThemeGetters.d.ts +1 -1
- package/src/lib/ServerApi/ApiUrls.d.ts +1 -1
- package/src/lib/ServerApi/VerificationApiClient.d.ts +1 -1
- package/src/lib/ServerApi/VerificationHelpRequestApi.d.ts +1 -1
- package/src/lib/VerificationService/VerificationServiceActions.d.ts +1 -1
- package/src/lib/hooks/index.d.ts +1 -1
- package/src/lib/installScript/_mysheerid-preview.d.ts +2 -2
- package/src/lib/installScript/affinity.d.ts +1 -1
- package/src/lib/installScript/iframe.d.ts +1 -1
- package/src/lib/installScript/index.d.ts +3 -3
- package/src/lib/installScript/modal.d.ts +1 -1
- package/src/lib/state/contextHooks.d.ts +1 -1
- package/src/lib/types/runtimeTypes.d.ts +1 -1
- package/src/lib/types/types.d.ts +8 -7
- package/src/lib/utils/customTagReplacer/index.d.ts +1 -1
- package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +2 -2
- package/src/lib/utils/structures/FormSelectChoice.d.ts +1 -1
- package/types-reference.zip +0 -0
- package/chunk/LicensedProfessionalOrganizationComponent-D7gWh3Qx.js +0 -45
- package/chunk/LicensedProfessionalOrganizationComponent-D7gWh3Qx.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-LYrmpWss.js +0 -49
- package/chunk/LicensedProfessionalOrganizationComponent-LYrmpWss.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-B7RS9_LL.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-CeadrU2e.js.map +0 -1
- package/chunk/index-B2aeWDCT.js +0 -48
- package/chunk/index-B2aeWDCT.js.map +0 -1
- package/chunk/index-B3NA0DdP.js.map +0 -1
- package/chunk/index-BPEB_HHW.js.map +0 -1
- package/chunk/index-BqmbVto7.js +0 -52
- package/chunk/index-BqmbVto7.js.map +0 -1
- package/chunk/index-DZsw9-0u.js.map +0 -1
- package/chunk/index-XXxK9rgV.js.map +0 -1
- package/lib/LicensedProfessionalOrganizationComponent-8Fz7VzpC.js +0 -46
- package/lib/LicensedProfessionalOrganizationComponent-8Fz7VzpC.js.map +0 -1
- package/lib/StepCollectMilitaryStatusComponent-B6FWsKVT.js +0 -11
- package/lib/VerificationApiUtils-xT8neNEB.js +0 -24
- package/lib/VerificationApiUtils-xT8neNEB.js.map +0 -1
- package/lib/es6-B4C99nr_.js +0 -27974
- package/lib/es6-B4C99nr_.js.map +0 -1
- package/lib/index-B8_50Him.js +0 -28
- package/lib/index-CBifWEeV.js.map +0 -1
- package/lib/index-CTWjUdXx.js +0 -11
- package/lib/index-CTWjUdXx.js.map +0 -1
- package/lib/index-CiuvIMbL.js +0 -11
- package/lib/index-CiuvIMbL.js.map +0 -1
- package/lib/index-DZB3KVgZ.js +0 -11
- package/lib/index-DZB3KVgZ.js.map +0 -1
- package/lib/index-DpFFsGey.js.map +0 -1
- package/lib/index-XBfOIml7.js +0 -11
- package/lib/index-XBfOIml7.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js","sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"names":["StepInactiveMilitaryPersonalInfo","intl","verificationService","viewModel","previousViewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","optionalFields","setOptionalFields","React","availableStatuses","getAvailableMilitaryStatuses","locale","options","getOptions","updateInactiveMilitaryViewModel","key","value","updateMilitaryViewModel","submitStep","nextState","produce","logger","VerificationStepsEnum","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","ExtraMessage","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;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ,GAEa2B,KAA4CC;AAAA,EACvD1F;AACF;"}
|
1
|
+
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js","sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"names":["StepInactiveMilitaryPersonalInfo","intl","verificationService","viewModel","previousViewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","optionalFields","setOptionalFields","React","availableStatuses","getAvailableMilitaryStatuses","locale","options","getOptions","updateInactiveMilitaryViewModel","key","value","updateMilitaryViewModel","submitStep","nextState","produce","logger","VerificationStepsEnum","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","ExtraMessage","PersonalInfoStepSubmitButton","StepInactiveMilitaryPersonalInfoComponent","injectIntl"],"mappings":";AAkEO,MAAMA,KAAmC,CAAC;AAAA,EAC/C,MAAAC;AAAA,EACA,qBAAAC;AACF,MAAsD;;AACpD,QAAMC,IAAYD,EAAoB,WAChCE,IACJF,EAAoB,mBAChB,EAAE,uBAAAG,EAA0B,IAAAH,GAC5BI,IACJJ,EAAoB,sBAChBK,IAAqBC,EAAsBF,CAAoB,GAC/D,CAACG,GAAgBC,CAAiB,IAAIC,EAAM,SAAS,CAAA,CAAE,GACvDC,IAAoBC,EAA6BX,GAAqBD,CAAI,GAC1Ea,IAASX,EAAU,aAAa,OAChCY,IAAUC,MAEVC,IAAkC,CACtCC,GACAC,MACG;AACiB,IAAAjB,EAAA;AAAA,MAClBkB,GAAwBF,GAAKC,GAAOjB,GAAqBU,CAAiB;AAAA,IAAA;AAAA,EAC5E,GAGIS,IAAa,MAAM;AACjB,UAAAC,IAAYC,GAAQpB,GAAW,MAAM;AAAA,IAAA,CAAE;AAC7C,IAAAqB,EAAO,KAAK,6CAA6C,GACrCtB,EAAA;AAAA,MAClBuB,EAAsB;AAAA,MACtBH;AAAA,MACApB,EAAoB,gCAAgCA,EAAoB;AAAA,IAAA;AAAA,EAC1E;AAGF,UACGC,EAAU,UAAUC,KAAqBA,EAAkB,WAA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AAA,cACA,WAAAC;AAAA,cACA,WAAUmF,IAAA7C,EAAwB,oBAAoB,MAA5C,gBAAA6C,EAA+C;AAAA,YAAA;AAAA,UAC3D;AAAA,UAEClD,gBAAAA,EAAAA,IAAAmD,IAAA,EAAa,qBAAArF,GAA0C,QAAO,qBAAqB,CAAA;AAAA,UAEpFkC,gBAAAA,EAAA;AAAA,YAACoD;AAAA,YAAA;AAAA,cACC,MAAM/D,EAAsB;AAAA,cAC5B,qBAAAvB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAI;AAAA,cACA,YACE6B,gBAAAA,EAAA;AAAA,gBAAC0B;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cACjB;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEa2B,KAA4CC;AAAA,EACvD1F;AACF;"}
|
@@ -1,80 +1,80 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE: Thu May 01 2025
|
6
|
-
* BUILD_COMMIT:
|
3
|
+
* VERSION: 2.104.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746122030388
|
5
|
+
* BUILD_DATE: Thu May 01 2025 17:53:50 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
|
7
7
|
*/
|
8
|
-
import {
|
8
|
+
import { h as $, R as y, aA as J, V as i, d as Y, l as H, j as t, x as _, P as Q, y as X, Y as Z, a as o, a8 as S, ag as v, u as d, aB as aa, _ as sa, z as ea, B as ta, $ as oa, aC as la, aD as da, E as na, b as g, f as ra, H as ia, D as ua, a6 as ma, ab as pa, ac as Ca, G as ba, J as ha, M as ya, K as ga, k as Ma, i as xa, N as Ia, aE as Da, n as ja, aF as ca, aG as Ea } from "../sheerid.js";
|
9
9
|
const Na = ({
|
10
10
|
intl: p,
|
11
11
|
verificationService: s
|
12
12
|
}) => {
|
13
|
-
var I, D, j, c, E, N, f, F, R, P, T, V, q, B, O,
|
14
|
-
const e = s.viewModel, M = s.previousViewModel, { fieldValidationErrors: l } = s, C = s.verificationResponse,
|
13
|
+
var I, D, j, c, E, N, f, F, R, P, T, V, q, B, O, k, z, A, L;
|
14
|
+
const e = s.viewModel, M = s.previousViewModel, { fieldValidationErrors: l } = s, C = s.verificationResponse, K = $(C), [m, x] = y.useState([]), b = J(s, p), h = e.localeChoice.value, W = Ia(), n = (a, r) => {
|
15
15
|
s.updateViewModel(
|
16
|
-
|
16
|
+
Da(a, r, s, b)
|
17
17
|
);
|
18
|
-
},
|
19
|
-
const a =
|
18
|
+
}, G = () => {
|
19
|
+
const a = ja(e, () => {
|
20
20
|
});
|
21
|
-
|
21
|
+
H.info("StepMilitaryStatusComponent submitting form"), s.submitStep(
|
22
22
|
i.collectMilitaryStatus,
|
23
23
|
a,
|
24
24
|
s.previousVerificationResponse || s.verificationResponse
|
25
25
|
);
|
26
26
|
};
|
27
|
-
return (e.status && M && M.status !== e.status || e.status && s.verificationResponse.currentStep === i.collectMilitaryStatus) &&
|
27
|
+
return (e.status && M && M.status !== e.status || e.status && s.verificationResponse.currentStep === i.collectMilitaryStatus) && G(), y.useEffect(() => {
|
28
28
|
(async () => {
|
29
|
-
var a, r,
|
29
|
+
var a, r, w;
|
30
30
|
if (s.verificationResponse.currentStep === i.collectInactiveMilitaryPersonalInfo && ((a = e.countryChoice) == null ? void 0 : a.value) === "US")
|
31
31
|
try {
|
32
|
-
const u = await
|
32
|
+
const u = await Y(
|
33
33
|
C.verificationId,
|
34
34
|
i.collectInactiveMilitaryPersonalInfo,
|
35
35
|
e
|
36
36
|
);
|
37
|
-
x((
|
37
|
+
x((w = (r = u == null ? void 0 : u.fieldsToCollect) == null ? void 0 : r.optional) == null ? void 0 : w.map((U) => U.key));
|
38
38
|
} catch (u) {
|
39
|
-
|
39
|
+
H.error(
|
40
40
|
`Failed to determine fields to collect: ${u}`,
|
41
41
|
i.collectInactiveMilitaryPersonalInfo
|
42
42
|
);
|
43
43
|
}
|
44
44
|
})();
|
45
|
-
}, [s.verificationResponse.currentStep, e.countryChoice]),
|
45
|
+
}, [s.verificationResponse.currentStep, e.countryChoice]), y.useEffect(() => {
|
46
46
|
var a;
|
47
47
|
((a = e.countryChoice) == null ? void 0 : a.value) !== "US" && x([]);
|
48
|
-
}, [e.countryChoice]),
|
49
|
-
|
48
|
+
}, [e.countryChoice]), ca(), /* @__PURE__ */ t.jsxs(
|
49
|
+
_,
|
50
50
|
{
|
51
51
|
verificationService: s,
|
52
52
|
step: C.currentStep,
|
53
53
|
className: "sid-military-personal-info-container",
|
54
54
|
children: [
|
55
55
|
/* @__PURE__ */ t.jsx(
|
56
|
-
|
56
|
+
Q,
|
57
57
|
{
|
58
58
|
verificationService: s,
|
59
59
|
classNameIdentifier: "inactive-military-personal-info"
|
60
60
|
}
|
61
61
|
),
|
62
62
|
/* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
63
|
-
/* @__PURE__ */ t.jsx(
|
63
|
+
/* @__PURE__ */ t.jsx(X, { verificationService: s }),
|
64
64
|
/* @__PURE__ */ t.jsx(
|
65
|
-
|
65
|
+
Z,
|
66
66
|
{
|
67
67
|
verificationService: s,
|
68
68
|
disabled: (I = o("country")) == null ? void 0 : I.disabled
|
69
69
|
}
|
70
70
|
),
|
71
71
|
b ? /* @__PURE__ */ t.jsx(
|
72
|
-
|
72
|
+
S,
|
73
73
|
{
|
74
74
|
segmentId: "military",
|
75
75
|
value: {
|
76
76
|
value: e.status,
|
77
|
-
label:
|
77
|
+
label: v(p, e.status, Ea)
|
78
78
|
},
|
79
79
|
isErrored: !!l.status,
|
80
80
|
errorId: "invalidMilitaryStatus",
|
@@ -90,11 +90,11 @@ const Na = ({
|
|
90
90
|
}
|
91
91
|
) : null,
|
92
92
|
/* @__PURE__ */ t.jsx(
|
93
|
-
|
93
|
+
aa,
|
94
94
|
{
|
95
95
|
isErrored: !!l.organization,
|
96
96
|
onChange: (a) => {
|
97
|
-
|
97
|
+
sa(a, s), d("organization", a, s);
|
98
98
|
},
|
99
99
|
value: {
|
100
100
|
value: s.viewModel.organization.id,
|
@@ -106,7 +106,7 @@ const Na = ({
|
|
106
106
|
),
|
107
107
|
/* @__PURE__ */ t.jsxs("div", { className: "sid-names", children: [
|
108
108
|
/* @__PURE__ */ t.jsx(
|
109
|
-
|
109
|
+
ea,
|
110
110
|
{
|
111
111
|
value: e.firstName,
|
112
112
|
isErrored: !!l.firstName,
|
@@ -117,7 +117,7 @@ const Na = ({
|
|
117
117
|
}
|
118
118
|
),
|
119
119
|
/* @__PURE__ */ t.jsx(
|
120
|
-
|
120
|
+
ta,
|
121
121
|
{
|
122
122
|
value: e.lastName,
|
123
123
|
isErrored: !!l.lastName,
|
@@ -129,10 +129,10 @@ const Na = ({
|
|
129
129
|
)
|
130
130
|
] }),
|
131
131
|
/* @__PURE__ */ t.jsx(
|
132
|
-
|
132
|
+
oa,
|
133
133
|
{
|
134
134
|
errorId: l.birthDate,
|
135
|
-
locale:
|
135
|
+
locale: h,
|
136
136
|
onChange: (a) => {
|
137
137
|
n("birthDate", a), d("birthDate", a, s);
|
138
138
|
},
|
@@ -141,10 +141,10 @@ const Na = ({
|
|
141
141
|
}
|
142
142
|
),
|
143
143
|
s.programTheme.strictMilitaryValidationEnabled && /* @__PURE__ */ t.jsx(
|
144
|
-
|
144
|
+
la,
|
145
145
|
{
|
146
146
|
errorId: l.activeDutyStartDate,
|
147
|
-
locale:
|
147
|
+
locale: h,
|
148
148
|
onChange: (a) => {
|
149
149
|
n("activeDutyStartDate", a), d(
|
150
150
|
"activeDutyStartDate",
|
@@ -157,19 +157,19 @@ const Na = ({
|
|
157
157
|
}
|
158
158
|
),
|
159
159
|
/* @__PURE__ */ t.jsx(
|
160
|
-
|
160
|
+
da,
|
161
161
|
{
|
162
162
|
errorId: l.dischargeDate,
|
163
163
|
onChange: (a) => {
|
164
164
|
n("dischargeDate", a), d("dischargeDate", a, s);
|
165
165
|
},
|
166
166
|
value: e.dischargeDate,
|
167
|
-
locale:
|
167
|
+
locale: h,
|
168
168
|
disabled: (F = o("dischargeDate")) == null ? void 0 : F.disabled
|
169
169
|
}
|
170
170
|
),
|
171
171
|
/* @__PURE__ */ t.jsx(
|
172
|
-
|
172
|
+
na,
|
173
173
|
{
|
174
174
|
value: e.email,
|
175
175
|
isErrored: !!l.email,
|
@@ -183,12 +183,12 @@ const Na = ({
|
|
183
183
|
onChange: (a) => {
|
184
184
|
n("email", a), d("email", a, s);
|
185
185
|
},
|
186
|
-
onKeyDown: (a) =>
|
186
|
+
onKeyDown: (a) => ra(a),
|
187
187
|
disabled: (R = o("email")) == null ? void 0 : R.disabled
|
188
188
|
}
|
189
189
|
),
|
190
190
|
s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled ? /* @__PURE__ */ t.jsx(
|
191
|
-
|
191
|
+
ia,
|
192
192
|
{
|
193
193
|
isRequired: !!s.programTheme.smsLoopEnabled,
|
194
194
|
value: e.phoneNumber,
|
@@ -201,7 +201,7 @@ const Na = ({
|
|
201
201
|
}
|
202
202
|
) : null,
|
203
203
|
m.includes("address1") && /* @__PURE__ */ t.jsx(
|
204
|
-
|
204
|
+
ua,
|
205
205
|
{
|
206
206
|
value: e.address1,
|
207
207
|
isErrored: !!l.address1,
|
@@ -214,7 +214,7 @@ const Na = ({
|
|
214
214
|
}
|
215
215
|
),
|
216
216
|
m.includes("city") && /* @__PURE__ */ t.jsx(
|
217
|
-
|
217
|
+
ma,
|
218
218
|
{
|
219
219
|
value: e.city,
|
220
220
|
isErrored: !!l.city,
|
@@ -227,9 +227,9 @@ const Na = ({
|
|
227
227
|
}
|
228
228
|
),
|
229
229
|
m.includes("state") && /* @__PURE__ */ t.jsx(
|
230
|
-
|
230
|
+
pa,
|
231
231
|
{
|
232
|
-
options:
|
232
|
+
options: Ca(s.programTheme, p),
|
233
233
|
value: e.state || void 0,
|
234
234
|
isErrored: !!l.state,
|
235
235
|
onChange: async (a) => {
|
@@ -238,24 +238,24 @@ const Na = ({
|
|
238
238
|
},
|
239
239
|
label: /* @__PURE__ */ t.jsx(g, { id: "state", defaultMessage: "State" }),
|
240
240
|
disabled: (O = o("state")) == null ? void 0 : O.disabled,
|
241
|
-
isRequired: (
|
241
|
+
isRequired: (k = o("state")) == null ? void 0 : k.requireIfOptional
|
242
242
|
}
|
243
243
|
),
|
244
244
|
m.includes("postalCode") && /* @__PURE__ */ t.jsx(
|
245
|
-
|
245
|
+
ba,
|
246
246
|
{
|
247
|
-
required: (
|
247
|
+
required: (z = o("postalCode")) == null ? void 0 : z.requireIfOptional,
|
248
248
|
isErrored: !!l.postalCode,
|
249
249
|
onChange: (a) => {
|
250
250
|
n("postalCode", a), d("postalCode", a, s);
|
251
251
|
},
|
252
252
|
value: e.postalCode,
|
253
|
-
disabled: (
|
253
|
+
disabled: (A = o("postalCode")) == null ? void 0 : A.disabled
|
254
254
|
}
|
255
255
|
),
|
256
|
-
|
256
|
+
W.customFormFields.map((a) => /* @__PURE__ */ t.jsx(ha, { config: a, verificationService: s })),
|
257
257
|
/* @__PURE__ */ t.jsx(
|
258
|
-
|
258
|
+
ya,
|
259
259
|
{
|
260
260
|
verificationService: s,
|
261
261
|
isErrored: !!l.marketConsentValue,
|
@@ -270,17 +270,17 @@ const Na = ({
|
|
270
270
|
);
|
271
271
|
},
|
272
272
|
viewModel: e,
|
273
|
-
disabled: (
|
273
|
+
disabled: (L = o("marketConsentValue")) == null ? void 0 : L.disabled
|
274
274
|
}
|
275
275
|
),
|
276
|
-
/* @__PURE__ */ t.jsx(
|
276
|
+
/* @__PURE__ */ t.jsx(ga, { verificationService: s, suffix: "CollectAboveSubmit" }),
|
277
277
|
/* @__PURE__ */ t.jsx(
|
278
|
-
|
278
|
+
Ma,
|
279
279
|
{
|
280
280
|
step: i.collectInactiveMilitaryPersonalInfo,
|
281
281
|
verificationService: s,
|
282
282
|
viewModel: e,
|
283
|
-
failedInstantMatch:
|
283
|
+
failedInstantMatch: K,
|
284
284
|
buttonText: /* @__PURE__ */ t.jsx(
|
285
285
|
g,
|
286
286
|
{
|
@@ -294,7 +294,7 @@ const Na = ({
|
|
294
294
|
]
|
295
295
|
}
|
296
296
|
);
|
297
|
-
}, Fa =
|
297
|
+
}, Fa = xa(
|
298
298
|
Na
|
299
299
|
);
|
300
300
|
export {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js","sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"names":["StepInactiveMilitaryPersonalInfo","intl","verificationService","viewModel","previousViewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","optionalFields","setOptionalFields","React","availableStatuses","getAvailableMilitaryStatuses","locale","options","getOptions","updateInactiveMilitaryViewModel","key","value","updateMilitaryViewModel","submitStep","nextState","produce","logger","VerificationStepsEnum","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","ExtraMessage","PersonalInfoStepSubmitButton","StepInactiveMilitaryPersonalInfoComponent","injectIntl"],"mappings":";AAkEO,MAAMA,KAAmC,CAAC;AAAA,EAC/C,MAAAC;AAAA,EACA,qBAAAC;AACF,MAAsD;;AACpD,QAAMC,IAAYD,EAAoB,WAChCE,IACJF,EAAoB,mBAChB,EAAE,uBAAAG,MAA0BH,GAC5BI,IACJJ,EAAoB,sBAChBK,IAAqBC,EAAsBF,CAAoB,GAC/D,CAACG,GAAgBC,CAAiB,IAAIC,EAAM,SAAS,CAAA,CAAE,GACvDC,IAAoBC,EAA6BX,GAAqBD,CAAI,GAC1Ea,IAASX,EAAU,aAAa,OAChCY,IAAUC,EAAW,GAErBC,IAAkC,CACtCC,GACAC,MACG;AACiB,IAAAjB,EAAA;AAAA,MAClBkB,GAAwBF,GAAKC,GAAOjB,GAAqBU,CAAiB;AAAA,IAC5E;AAAA,EACF,GAEMS,IAAa,MAAM;AACjB,UAAAC,IAAYC,GAAQpB,GAAW,MAAM;AAAA,IAAA,CAAE;AAC7C,IAAAqB,EAAO,KAAK,6CAA6C,GACrCtB,EAAA;AAAA,MAClBuB,EAAs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GAAGf,EAAoB,UAAU;AAAA,kBACjC,oBAAoBkD;AAAA,gBAAA,CACrB,GACDN;AAAA,kBACE;AAAA,kBACAM;AAAA,kBACAlD;AAAA,gBACF;AAAA,cACF;AAAA,cACA,WAAAC;AAAA,cACA,WAAUmF,IAAA7C,EAAwB,oBAAoB,MAA5C,gBAAA6C,EAA+C;AAAA,YAAA;AAAA,UAC3D;AAAA,UAEClD,gBAAAA,EAAAA,IAAAmD,IAAA,EAAa,qBAAArF,GAA0C,QAAO,qBAAqB,CAAA;AAAA,UAEpFkC,gBAAAA,EAAA;AAAA,YAACoD;AAAA,YAAA;AAAA,cACC,MAAM/D,EAAsB;AAAA,cAC5B,qBAAAvB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAI;AAAA,cACA,YACE6B,gBAAAA,EAAA;AAAA,gBAAC0B;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACF;AAEJ,GAEa2B,KAA4CC;AAAA,EACvD1F;AACF;"}
|
1
|
+
{"version":3,"file":"StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js","sources":["../../src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.tsx"],"sourcesContent":["/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationStepsEnum,\n MilitaryStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { resetRefs } from \"../../lib/refs/refs\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n InactiveMilitaryPersonalInfoViewModel,\n InactiveMilitaryPersonalInfoResponse,\n CustomFormFieldConfig,\n CollectFieldsResponse,\n State,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n getAvailableMilitaryStatuses,\n getStatusLabel,\n getAvailableStateChoices,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { StatusComponent as MilitaryStatus } from \"../FormFields/Status/StatusComponent\";\nimport { BranchOfServiceComponent as BranchOfService } from \"../FormFields/BranchOfService/BranchOfServiceComponent\";\nimport { DischargeDateComponent as DischargeDate } from \"../FormFields/DischargeDate/DischargeDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { updateMilitaryViewModel } from \"./militaryStepHelpers\";\n\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { ActiveDutyStartDateComponent } from \"../FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StateSelectComponent } from \"../FormFields/State/StateSelectComponent\";\nimport { getFieldsToCollect } from \"../../lib/ServerApi/VerificationApiUtils\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepInactiveMilitaryPersonalInfoComponentProps {\n intl: any;\n verificationService: VerificationService;\n}\n\nexport const StepInactiveMilitaryPersonalInfo = ({\n intl,\n verificationService,\n}: StepInactiveMilitaryPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel;\n const previousViewModel =\n verificationService.previousViewModel as InactiveMilitaryPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as InactiveMilitaryPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const [optionalFields, setOptionalFields] = React.useState([]);\n const availableStatuses = getAvailableMilitaryStatuses(verificationService, intl);\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n const updateInactiveMilitaryViewModel = (\n key: keyof InactiveMilitaryPersonalInfoViewModel,\n value: any,\n ) => {\n verificationService.updateViewModel(\n updateMilitaryViewModel(key, value, verificationService, availableStatuses),\n );\n };\n\n const submitStep = () => {\n const nextState = produce(viewModel, () => {});\n logger.info(\"StepMilitaryStatusComponent submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.collectMilitaryStatus,\n nextState,\n verificationService.previousVerificationResponse || verificationService.verificationResponse,\n );\n };\n\n if (\n (viewModel.status && previousViewModel && previousViewModel.status !== viewModel.status) ||\n (viewModel.status &&\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectMilitaryStatus)\n ) {\n submitStep();\n }\n\n React.useEffect(() => {\n (async () => {\n if (\n verificationService.verificationResponse.currentStep ===\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo &&\n viewModel.countryChoice?.value === \"US\"\n ) {\n try {\n const collectFieldsResponse: CollectFieldsResponse = await getFieldsToCollect(\n verificationResponse.verificationId,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n viewModel,\n );\n\n setOptionalFields(collectFieldsResponse?.fieldsToCollect?.optional?.map((f) => f.key));\n } catch (error) {\n logger.error(\n `Failed to determine fields to collect: ${error}`,\n VerificationStepsEnum.collectInactiveMilitaryPersonalInfo,\n );\n }\n }\n })();\n }, [verificationService.verificationResponse.currentStep, viewModel.countryChoice]);\n\n React.useEffect(() => {\n if (viewModel.countryChoice?.value !== \"US\") {\n setOptionalFields([]);\n }\n }, [viewModel.countryChoice]);\n\n // Refs should be reset to ensure the field order isn't affected by the previous step\n resetRefs();\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n className=\"sid-military-personal-info-container\"\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"inactive-military-personal-info\"\n />\n\n <>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n {availableStatuses ? (\n <MilitaryStatus\n segmentId=\"military\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(intl, viewModel.status, MilitaryStatusDefaultMessagesEnum),\n }}\n isErrored={!!fieldValidationErrors.status}\n errorId=\"invalidMilitaryStatus\"\n options={availableStatuses}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateInactiveMilitaryViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n ) : null}\n\n <BranchOfService\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={{\n value: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.id,\n label: (verificationService.viewModel as InactiveMilitaryPersonalInfoViewModel)\n .organization.name,\n }}\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n {verificationService.programTheme.strictMilitaryValidationEnabled && (\n <ActiveDutyStartDateComponent\n errorId={fieldValidationErrors.activeDutyStartDate}\n locale={locale}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"activeDutyStartDate\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"activeDutyStartDate\",\n newValue,\n verificationService,\n );\n }}\n value={viewModel.activeDutyStartDate}\n disabled={getFieldConfigByFieldId(\"activeDutyStartDate\")?.disabled}\n />\n )}\n\n <DischargeDate\n errorId={fieldValidationErrors.dischargeDate}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"dischargeDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"dischargeDate\", newValue, verificationService);\n }}\n value={viewModel.dischargeDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"dischargeDate\")?.disabled}\n />\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {optionalFields.includes(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n disabled={getFieldConfigByFieldId(\"address1\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"address1\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateInactiveMilitaryViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n isRequired={getFieldConfigByFieldId(\"city\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"state\") && (\n <StateSelectComponent\n options={getAvailableStateChoices(verificationService.programTheme, intl)}\n value={viewModel.state || undefined}\n isErrored={Boolean(fieldValidationErrors.state)}\n onChange={async (stateChoice: FormSelectChoice<State, string>) => {\n const stateValue = stateChoice ? stateChoice.value : undefined;\n updateInactiveMilitaryViewModel(\"state\", stateValue);\n updateFieldValidationErrorsByFieldId(\"state\", stateValue, verificationService);\n }}\n label={<FormattedHTMLMessage id=\"state\" defaultMessage=\"State\" />}\n disabled={getFieldConfigByFieldId(\"state\")?.disabled}\n isRequired={getFieldConfigByFieldId(\"state\")?.requireIfOptional}\n />\n )}\n {optionalFields.includes(\"postalCode\") && (\n <PostalCodeComponent\n required={getFieldConfigByFieldId(\"postalCode\")?.requireIfOptional}\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateInactiveMilitaryViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectInactiveMilitaryPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Military Status\"\n />\n }\n />\n </>\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepInactiveMilitaryPersonalInfoComponent = injectIntl(\n StepInactiveMilitaryPersonalInfo,\n);\nexport default StepInactiveMilitaryPersonalInfoComponent;\n"],"names":["StepInactiveMilitaryPersonalInfo","intl","verificationService","viewModel","previousViewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","optionalFields","setOptionalFields","React","availableStatuses","getAvailableMilitaryStatuses","locale","options","getOptions","updateInactiveMilitaryViewModel","key","value","updateMilitaryViewModel","submitStep","nextState","produce","logger","VerificationStepsEnum","_a","collectFieldsResponse","getFieldsToCollect","_c","_b","f","error","resetRefs","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","ChangeLocaleV2Component","CountryComponentWrapper","getFieldConfigByFieldId","MilitaryStatus","getStatusLabel","MilitaryStatusDefaultMessagesEnum","status","updateFieldValidationErrorsByFieldId","BranchOfService","choice","updateViewModelOrganization","FirstName","_d","newValue","LastName","_e","BirthDate","_f","ActiveDutyStartDateComponent","_g","DischargeDate","_h","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","AddressComponent","_k","_l","CityComponent","_m","_n","StateSelectComponent","getAvailableStateChoices","stateChoice","stateValue","_o","_p","PostalCodeComponent","_q","_r","config","FormFieldCustom","MarketConsentWrapper","_s","ExtraMessage","PersonalInfoStepSubmitButton","StepInactiveMilitaryPersonalInfoComponent","injectIntl"],"mappings":";AAkEO,MAAMA,KAAmC,CAAC;AAAA,EAC/C,MAAAC;AAAA,EACA,qBAAAC;AACF,MAAsD;;AACpD,QAAMC,IAAYD,EAAoB,WAChCE,IACJF,EAAoB,mBAChB,EAAE,uBAAAG,EAA0B,IAAAH,GAC5BI,IACJJ,EAAoB,sBAChBK,IAAqBC,EAAsBF,CAAoB,GAC/D,C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ACjB,WAAU+E,IAAAzC,EAAwB,YAAY,MAApC,gBAAAyC,EAAuC;AAAA,YAAA;AAAA,UACnD;AAAA,UAGDnE,EAAQ,iBAAiB,IAAI,CAACoE,MAC5B/C,gBAAAA,MAAAgD,IAAA,EAAgB,QAAAD,GAAgB,qBAAAjF,EAAA,CAA0C,CAC5E;AAAA,UAEDkC,gBAAAA,EAAA;AAAA,YAACiD;AAAAA,YAAA;AAAA,cACC,qBAAAnF;AAAA,cACA,WAAW,CAAC,CAACG,EAAsB;AAAA,cACnC,UAAU,CAAC+C,MAAa;AACtB,gBAAAnC,EAAgC,YAAY;AAAA,kBAC1C,GAAGf,EAAoB,UAAU;AAAA,kBACjC,oBAAoBkD;AAAA,gBAAA,CACrB,GACDN;AAAA,kBACE;AAAA,kBACAM;AAAA,kBACAlD;AAAA,gBAAA;AAAA,cAEJ;AAAA,cACA,WAAAC;AAAA,cACA,WAAUmF,IAAA7C,EAAwB,oBAAoB,MAA5C,gBAAA6C,EAA+C;AAAA,YAAA;AAAA,UAC3D;AAAA,UAEClD,gBAAAA,EAAAA,IAAAmD,IAAA,EAAa,qBAAArF,GAA0C,QAAO,qBAAqB,CAAA;AAAA,UAEpFkC,gBAAAA,EAAA;AAAA,YAACoD;AAAA,YAAA;AAAA,cACC,MAAM/D,EAAsB;AAAA,cAC5B,qBAAAvB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAI;AAAA,cACA,YACE6B,gBAAAA,EAAA;AAAA,gBAAC0B;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cACjB;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEa2B,KAA4CC;AAAA,EACvD1F;AACF;"}
|
package/chunk/ar-CtJ_9k3U.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: Thu May 01 2025
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.104.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746122131368
|
9
|
+
* BUILD_DATE: Thu May 01 2025 17:55:31 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
|
11
11
|
*/
|
12
12
|
const e = {
|
13
13
|
"defaultMessages.ACTIVE_DUTY": "الخدمة الفعلية",
|
package/chunk/bg-CWxXfiDq.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: Thu May 01 2025
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.104.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746122131368
|
9
|
+
* BUILD_DATE: Thu May 01 2025 17:55:31 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
|
11
11
|
*/
|
12
12
|
const e = {
|
13
13
|
"defaultMessages.ACTIVE_DUTY": "Активна служба",
|
package/chunk/bn-IN-Dpq_hCqt.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: Thu May 01 2025
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.104.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746122131368
|
9
|
+
* BUILD_DATE: Thu May 01 2025 17:55:31 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
|
11
11
|
*/
|
12
12
|
const e = {
|
13
13
|
"defaultMessages.ACTIVE_DUTY": "সক্রিয় দায়িত্ব",
|
package/chunk/cs-HevyelX7.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: Thu May 01 2025
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.104.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746122131368
|
9
|
+
* BUILD_DATE: Thu May 01 2025 17:55:31 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 11de903d86267c3dbd7e05948a323fa12b63d0ec
|
11
11
|
*/
|
12
12
|
const e = {
|
13
13
|
"defaultMessages.ACTIVE_DUTY": "Aktivní služba",
|