@sheerid/jslib-nightly 2.104.0-alpha.0 → 2.104.0-alpha.1
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 +18054 -16537
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{EmailLoopPending-D-O7IRrU.js → EmailLoopPending-Cp3dQjbH.js} +17 -17
- package/chunk/{EmailLoopPending-D-O7IRrU.js.map → EmailLoopPending-Cp3dQjbH.js.map} +1 -1
- package/chunk/{EmailLoopPending-DmENoLpP.js → EmailLoopPending-WTPkkJsm.js} +17 -17
- package/chunk/{EmailLoopPending-DmENoLpP.js.map → EmailLoopPending-WTPkkJsm.js.map} +1 -1
- package/chunk/LicensedProfessionalOrganizationComponent-D7gWh3Qx.js +45 -0
- package/chunk/LicensedProfessionalOrganizationComponent-D7gWh3Qx.js.map +1 -0
- package/chunk/LicensedProfessionalOrganizationComponent-LYrmpWss.js +49 -0
- package/chunk/LicensedProfessionalOrganizationComponent-LYrmpWss.js.map +1 -0
- package/chunk/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
- package/chunk/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-mZhLONqq.js → StepIDCheckLoopOnfido-CQTiZz60.js} +13 -12
- package/chunk/{StepIDCheckLoopOnfido-BRtMQNQl.js.map → StepIDCheckLoopOnfido-CQTiZz60.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-BRtMQNQl.js → StepIDCheckLoopOnfido-CsO8JOUT.js} +13 -12
- package/chunk/{StepIDCheckLoopOnfido-mZhLONqq.js.map → StepIDCheckLoopOnfido-CsO8JOUT.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-jyg1vIi3.js → StepIDCheckLoopRegula-B2frgNDw.js} +59 -85
- package/chunk/StepIDCheckLoopRegula-B2frgNDw.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-1wd-jJGJ.js → StepIDCheckLoopRegula-VCHUckkA.js} +59 -85
- package/chunk/StepIDCheckLoopRegula-VCHUckkA.js.map +1 -0
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js → StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js} +52 -52
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js.map → StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CmQGKlal.js → StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js} +52 -52
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Qfl3ZvB1.js.map → StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.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-rjS-77t0.js → index-2QV6VPA3.js} +7 -7
- package/chunk/{index-rjS-77t0.js.map → index-2QV6VPA3.js.map} +1 -1
- package/chunk/{index-BSXBGGOf.js → index-4APDQFqJ.js} +10 -10
- package/chunk/{index-BSXBGGOf.js.map → index-4APDQFqJ.js.map} +1 -1
- package/chunk/{index-D1j4nnQa.js → index-B30_E6pJ.js} +31 -31
- package/chunk/{index-D1j4nnQa.js.map → index-B30_E6pJ.js.map} +1 -1
- package/chunk/{index-D_lbJwrN.js → index-B3NA0DdP.js} +86 -87
- package/chunk/index-B3NA0DdP.js.map +1 -0
- package/chunk/{index-DJReh58z.js → index-BDw8efPp.js} +15 -15
- package/chunk/{index-DJReh58z.js.map → index-BDw8efPp.js.map} +1 -1
- package/{lib/index-CyiYceqn.js → chunk/index-BFMTiaJv.js} +32 -33
- package/chunk/{index-D6RaCifq.js.map → index-BFMTiaJv.js.map} +1 -1
- package/chunk/{index-D6RaCifq.js → index-BGCnajPS.js} +30 -30
- package/chunk/{index-IntP52Fm.js.map → index-BGCnajPS.js.map} +1 -1
- package/chunk/index-BIn_Jf1h.js +48 -0
- package/chunk/index-BIn_Jf1h.js.map +1 -0
- package/chunk/{index-2tpdu0Sm.js → index-BOpxl8V9.js} +28 -28
- package/{lib/index-9ka8yNRo.js.map → chunk/index-BOpxl8V9.js.map} +1 -1
- package/chunk/{index-vIL1gjSk.js → index-BPEB_HHW.js} +219 -237
- package/chunk/index-BPEB_HHW.js.map +1 -0
- package/chunk/{index-CGKKTwvx.js → index-BhkJfnda.js} +15 -15
- package/chunk/{index-CGKKTwvx.js.map → index-BhkJfnda.js.map} +1 -1
- package/chunk/{index-Cb7GlxEu.js → index-BtYzUCrC.js} +11 -11
- package/chunk/{index-BmJ3aubI.js.map → index-BtYzUCrC.js.map} +1 -1
- package/chunk/{index-C6cgSdQ9.js → index-C0jDbJPp.js} +43 -43
- package/chunk/{index-BjWeyRVL.js.map → index-C0jDbJPp.js.map} +1 -1
- package/chunk/{index-DFjiwKs3.js → index-C9bZ7enn.js} +7 -7
- package/chunk/{index-DFjiwKs3.js.map → index-C9bZ7enn.js.map} +1 -1
- package/chunk/{index-BJxmlJd1.js → index-CaSKZsTY.js} +15 -15
- package/{lib/index-DcOpzG-K.js.map → chunk/index-CaSKZsTY.js.map} +1 -1
- package/chunk/index-CfKAGYGb.js +52 -0
- package/chunk/index-CfKAGYGb.js.map +1 -0
- package/chunk/{index-whConjrR.js → index-CgBENXRP.js} +23 -23
- package/{lib/index-BAFdbWcI.js.map → chunk/index-CgBENXRP.js.map} +1 -1
- package/chunk/{index-F-HVkQz5.js → index-CgSW4Vzh.js} +44 -44
- package/{lib/index-CLj9YCrn.js.map → chunk/index-CgSW4Vzh.js.map} +1 -1
- package/chunk/{index-BrVZpRb7.js → index-CtqWr1aK.js} +58 -58
- package/chunk/{index-BgB4HxER.js.map → index-CtqWr1aK.js.map} +1 -1
- package/chunk/{index-CEidf7uT.js → index-D3dphMnl.js} +15 -15
- package/chunk/{index-BJxmlJd1.js.map → index-D3dphMnl.js.map} +1 -1
- package/chunk/{index-GaKINs6g.js → index-D7dDB9pN.js} +23 -23
- package/chunk/{index-i9-QlgZ0.js.map → index-D7dDB9pN.js.map} +1 -1
- package/chunk/{index-D6Gez9pU.js → index-DB9SisGK.js} +21 -21
- package/chunk/{index-DyHhX3QL.js.map → index-DB9SisGK.js.map} +1 -1
- package/chunk/{index-BgB4HxER.js → index-DFQ4PjGJ.js} +58 -58
- package/chunk/{index-BrVZpRb7.js.map → index-DFQ4PjGJ.js.map} +1 -1
- package/chunk/{index-i9-QlgZ0.js → index-DIV55Je2.js} +23 -23
- package/chunk/{index-GaKINs6g.js.map → index-DIV55Je2.js.map} +1 -1
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/index-DIkWpujR.js.map +1 -1
- package/chunk/{index-Cq8qB8GK.js → index-DPEoeYI6.js} +44 -44
- package/chunk/{index-F-HVkQz5.js.map → index-DPEoeYI6.js.map} +1 -1
- package/chunk/{index-DPLvpl1z.js → index-DWjrZunN.js} +10 -10
- package/{lib/index-D-0wY68l.js.map → chunk/index-DWjrZunN.js.map} +1 -1
- package/chunk/{index-DR_Yi6nm.js → index-DZsw9-0u.js} +219 -237
- package/chunk/index-DZsw9-0u.js.map +1 -0
- package/chunk/{index-1tM2UWke.js → index-Dl7QItmr.js} +48 -56
- package/chunk/{index-C3tQa9xA.js.map → index-Dl7QItmr.js.map} +1 -1
- package/chunk/{index-y-QcpyIc.js → index-DtoxnCtM.js} +28 -28
- package/chunk/{index-2tpdu0Sm.js.map → index-DtoxnCtM.js.map} +1 -1
- package/chunk/{index-DyHhX3QL.js → index-MRhfTdmm.js} +21 -21
- package/chunk/{index-D6Gez9pU.js.map → index-MRhfTdmm.js.map} +1 -1
- package/chunk/{index-D8z4eipH.js → index-NjSUlAP4.js} +53 -53
- package/chunk/{index-ygMzyxW9.js.map → index-NjSUlAP4.js.map} +1 -1
- package/chunk/{index-BjWeyRVL.js → index-RmF57u5_.js} +43 -43
- package/chunk/{index-C6cgSdQ9.js.map → index-RmF57u5_.js.map} +1 -1
- package/chunk/{index-25aIMfhs.js → index-XXxK9rgV.js} +86 -87
- package/chunk/index-XXxK9rgV.js.map +1 -0
- package/chunk/{index-DZ0bnNgg.js → index-_ohn63ug.js} +31 -31
- package/chunk/{index-DZ0bnNgg.js.map → index-_ohn63ug.js.map} +1 -1
- package/chunk/{index-C3tQa9xA.js → index-aKTpkBwz.js} +48 -56
- package/chunk/{index-1tM2UWke.js.map → index-aKTpkBwz.js.map} +1 -1
- package/chunk/{index-ygMzyxW9.js → index-oMg5zy_2.js} +53 -53
- package/chunk/{index-D8z4eipH.js.map → index-oMg5zy_2.js.map} +1 -1
- package/chunk/{index-BmJ3aubI.js → index-qAxcloBs.js} +11 -11
- package/chunk/{index-Cb7GlxEu.js.map → index-qAxcloBs.js.map} +1 -1
- package/chunk/{index-n6-LNqUp.js → index-tFgJS6bB.js} +23 -23
- package/chunk/{index-n6-LNqUp.js.map → index-tFgJS6bB.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-CumMd2sJ.js → useCollectFieldsEndpoint-BsY8WlOg.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-CumMd2sJ.js.map → useCollectFieldsEndpoint-BsY8WlOg.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-V5bz5WAF.js → useCollectFieldsEndpoint-DeICm6Vb.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-V5bz5WAF.js.map → useCollectFieldsEndpoint-DeICm6Vb.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-CV5nAxtl.js → useEmailFirstExperiment-3uKuefem.js} +29 -30
- package/chunk/{useEmailFirstExperiment-CV5nAxtl.js.map → useEmailFirstExperiment-3uKuefem.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-mjdDc7vk.js → useEmailFirstExperiment-B1_E_D0z.js} +29 -30
- package/chunk/{useEmailFirstExperiment-mjdDc7vk.js.map → useEmailFirstExperiment-B1_E_D0z.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-DUy2k56y.js → EmailLoopPending-CqGboDpE.js} +14 -14
- package/lib/{EmailLoopPending-DUy2k56y.js.map → EmailLoopPending-CqGboDpE.js.map} +1 -1
- package/lib/LicensedProfessionalOrganizationComponent-DZ-zCLNb.js +46 -0
- package/lib/LicensedProfessionalOrganizationComponent-DZ-zCLNb.js.map +1 -0
- package/lib/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
- package/lib/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
- package/lib/StepCollectMilitaryStatusComponent-BdghJG7J.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-u1rI8N4t.js.map → StepCollectMilitaryStatusComponent-BdghJG7J.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-DirszrOR.js → StepIDCheckLoopOnfido-C6a2v64o.js} +19 -19
- package/lib/{StepIDCheckLoopOnfido-DirszrOR.js.map → StepIDCheckLoopOnfido-C6a2v64o.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-DoIQP1h2.js → StepIDCheckLoopRegula-B4gdB1au.js} +17 -16
- package/lib/StepIDCheckLoopRegula-B4gdB1au.js.map +1 -0
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-uX6OkV0d.js → StepInactiveMilitaryPersonalInfoComponent-DIS37EQl.js} +52 -52
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-uX6OkV0d.js.map → StepInactiveMilitaryPersonalInfoComponent-DIS37EQl.js.map} +1 -1
- package/lib/VerificationApiUtils-Dec-3NxE.js +23 -0
- package/lib/{VerificationApiUtils-DXDQAg5m.js.map → VerificationApiUtils-Dec-3NxE.js.map} +1 -1
- 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-CNbgOM7D.js +27974 -0
- package/lib/es6-CNbgOM7D.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-CCflTrqh.js → index-B-vvoe4K.js} +52 -52
- package/lib/{index-CCflTrqh.js.map → index-B-vvoe4K.js.map} +1 -1
- package/lib/index-BUb81vE5.js +11 -0
- package/lib/index-BUb81vE5.js.map +1 -0
- package/{chunk/index-IntP52Fm.js → lib/index-BgxQ03Lw.js} +23 -22
- package/lib/{index-CyiYceqn.js.map → index-BgxQ03Lw.js.map} +1 -1
- package/lib/{index-D-0wY68l.js → index-BpAwd4yZ.js} +10 -10
- package/{chunk/index-DPLvpl1z.js.map → lib/index-BpAwd4yZ.js.map} +1 -1
- package/lib/index-BqMoknWH.js +28 -0
- package/lib/{index-Da2aS2uY.js.map → index-BqMoknWH.js.map} +1 -1
- package/lib/{index-uCUcf8WW.js → index-Bs8gT2Ki.js} +5 -5
- package/lib/{index-uCUcf8WW.js.map → index-Bs8gT2Ki.js.map} +1 -1
- package/lib/{index-9ka8yNRo.js → index-BvZhF_Rn.js} +23 -23
- package/{chunk/index-y-QcpyIc.js.map → lib/index-BvZhF_Rn.js.map} +1 -1
- package/lib/{index-C1JFiqbD.js → index-CF4-uNPC.js} +29 -29
- package/lib/{index-C1JFiqbD.js.map → index-CF4-uNPC.js.map} +1 -1
- package/lib/{index-BAFdbWcI.js → index-CFbGwQvV.js} +32 -32
- package/{chunk/index-whConjrR.js.map → lib/index-CFbGwQvV.js.map} +1 -1
- package/lib/{index-CgJWGuRF.js → index-CFdjELC4.js} +26 -26
- package/lib/{index-CgJWGuRF.js.map → index-CFdjELC4.js.map} +1 -1
- package/lib/{index-CJfYYEay.js → index-CHCJ1GKm.js} +7 -7
- package/lib/{index-CJfYYEay.js.map → index-CHCJ1GKm.js.map} +1 -1
- package/lib/{index-DcOpzG-K.js → index-CWWXURVN.js} +5 -5
- package/{chunk/index-CEidf7uT.js.map → lib/index-CWWXURVN.js.map} +1 -1
- package/lib/{index-CwqfypY1.js → index-CwEH1Xqn.js} +5 -5
- package/lib/{index-CwqfypY1.js.map → index-CwEH1Xqn.js.map} +1 -1
- package/lib/index-DFexphfg.js +11 -0
- package/lib/index-DFexphfg.js.map +1 -0
- package/lib/{index-CLj9YCrn.js → index-DIJ3ZLm3.js} +27 -27
- package/{chunk/index-Cq8qB8GK.js.map → lib/index-DIJ3ZLm3.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/index-DIkWpujR.js.map +1 -1
- package/lib/{index-CkW6g9oh.js → index-Da-h4i4f.js} +23 -23
- package/lib/{index-CkW6g9oh.js.map → index-Da-h4i4f.js.map} +1 -1
- package/lib/index-DbevfyP-.js +11 -0
- package/lib/index-DbevfyP-.js.map +1 -0
- package/lib/{index--qLF6ZOW.js → index-DiEccR2E.js} +75 -76
- package/lib/index-DiEccR2E.js.map +1 -0
- package/lib/{index-AWpSRRq3.js → index-Dz5MfyRl.js} +63 -63
- package/lib/{index-AWpSRRq3.js.map → index-Dz5MfyRl.js.map} +1 -1
- package/lib/{index-VC3WFrsr.js → index-JHJAgNn2.js} +9 -9
- package/lib/{index-VC3WFrsr.js.map → index-JHJAgNn2.js.map} +1 -1
- package/lib/{index-DEYBhR7F.js → index-U8Xg6WS9.js} +25 -25
- package/lib/{index-DEYBhR7F.js.map → index-U8Xg6WS9.js.map} +1 -1
- package/lib/index-aInot7yT.js +11 -0
- package/lib/index-aInot7yT.js.map +1 -0
- package/lib/{index-CY10ElCy.js → index-s1MF80_2.js} +385 -402
- package/lib/index-s1MF80_2.js.map +1 -0
- 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-DhvzoNQ8.js → useCollectFieldsEndpoint-DLjeRtxA.js} +8 -8
- package/lib/{useCollectFieldsEndpoint-DhvzoNQ8.js.map → useCollectFieldsEndpoint-DLjeRtxA.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-r3ZPOBWV.js → useEmailFirstExperiment-RXZazerr.js} +6 -7
- package/lib/{useEmailFirstExperiment-r3ZPOBWV.js.map → useEmailFirstExperiment-RXZazerr.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 +18070 -16553
- 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 +1 -0
- package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +2 -1
- 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 +2 -1
- 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 +7 -8
- 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-BrW9osPt.js +0 -55
- package/chunk/LicensedProfessionalOrganizationComponent-BrW9osPt.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-Cu6a9uBs.js +0 -51
- package/chunk/LicensedProfessionalOrganizationComponent-Cu6a9uBs.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-1wd-jJGJ.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-jyg1vIi3.js.map +0 -1
- package/chunk/index-25aIMfhs.js.map +0 -1
- package/chunk/index-B_CvWvhW.js +0 -27
- package/chunk/index-B_CvWvhW.js.map +0 -1
- package/chunk/index-Bv_0MGCt.js +0 -31
- package/chunk/index-Bv_0MGCt.js.map +0 -1
- package/chunk/index-DR_Yi6nm.js.map +0 -1
- package/chunk/index-D_lbJwrN.js.map +0 -1
- package/chunk/index-vIL1gjSk.js.map +0 -1
- package/lib/LicensedProfessionalOrganizationComponent-BPtxmkjH.js +0 -52
- package/lib/LicensedProfessionalOrganizationComponent-BPtxmkjH.js.map +0 -1
- package/lib/StepCollectMilitaryStatusComponent-u1rI8N4t.js +0 -11
- package/lib/StepIDCheckLoopRegula-DoIQP1h2.js.map +0 -1
- package/lib/VerificationApiUtils-DXDQAg5m.js +0 -21
- package/lib/es6-DS7nD0gX.js +0 -26840
- package/lib/es6-DS7nD0gX.js.map +0 -1
- package/lib/index--qLF6ZOW.js.map +0 -1
- package/lib/index-0NkCv3Y-.js +0 -11
- package/lib/index-0NkCv3Y-.js.map +0 -1
- package/lib/index-B9dEWYQH.js +0 -11
- package/lib/index-B9dEWYQH.js.map +0 -1
- package/lib/index-BY6Xy81u.js +0 -11
- package/lib/index-BY6Xy81u.js.map +0 -1
- package/lib/index-C3Iqch6i.js +0 -11
- package/lib/index-C3Iqch6i.js.map +0 -1
- package/lib/index-CY10ElCy.js.map +0 -1
- package/lib/index-Da2aS2uY.js +0 -28
@@ -4,14 +4,15 @@
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* VERSION: 2.104.0-alpha.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE: Thu May 01 2025
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.104.0-alpha.1
|
8
|
+
* BUILD_TIMESTAMP: 1746128043861
|
9
|
+
* BUILD_DATE: Thu May 01 2025 19:34:03 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: a18837a69c59275ce314d94cf6208e53b6620598
|
11
11
|
*/
|
12
|
-
import { l as
|
13
|
-
|
14
|
-
|
12
|
+
import { l as b, j as e, af as I, a as n, J as L, R as h, ag as R, A as v, ah as M, V as S, f as T, Y as u } from "../_mysheerid-preview.js";
|
13
|
+
import { S as w } from "./index-CfKAGYGb.js";
|
14
|
+
const U = async (s, i, o) => {
|
15
|
+
b.info(`uploading files to ${s}`);
|
15
16
|
const t = new FormData();
|
16
17
|
return t.append("frontImage", i), t.append("backImage", o), fetch(s, {
|
17
18
|
method: "POST",
|
@@ -39,40 +40,16 @@ const O = async (s, i, o) => {
|
|
39
40
|
"aria-label": `Remove file ${t}`,
|
40
41
|
className: "sid-step-id-check-loop__remove-btn",
|
41
42
|
onClick: () => o(void 0),
|
42
|
-
onKeyDown: (
|
43
|
+
onKeyDown: (c) => i(c, o)
|
43
44
|
}
|
44
45
|
)
|
45
46
|
] })
|
46
47
|
] });
|
47
48
|
};
|
48
|
-
|
49
|
-
title: s,
|
50
|
-
titleId: i,
|
51
|
-
...o
|
52
|
-
}, t) {
|
53
|
-
return /* @__PURE__ */ f.createElement("svg", Object.assign({
|
54
|
-
xmlns: "http://www.w3.org/2000/svg",
|
55
|
-
fill: "none",
|
56
|
-
viewBox: "0 0 24 24",
|
57
|
-
strokeWidth: 1.5,
|
58
|
-
stroke: "currentColor",
|
59
|
-
"aria-hidden": "true",
|
60
|
-
"data-slot": "icon",
|
61
|
-
ref: t,
|
62
|
-
"aria-labelledby": i
|
63
|
-
}, o), s ? /* @__PURE__ */ f.createElement("title", {
|
64
|
-
id: i
|
65
|
-
}, s) : null, /* @__PURE__ */ f.createElement("path", {
|
66
|
-
strokeLinecap: "round",
|
67
|
-
strokeLinejoin: "round",
|
68
|
-
d: "M12 4.5v15m7.5-7.5h-15"
|
69
|
-
}));
|
70
|
-
}
|
71
|
-
const D = f.forwardRef(U), P = D;
|
72
|
-
var g = /* @__PURE__ */ ((s) => (s.FRONT = "FRONT", s.BACK = "BACK", s))(g || {});
|
49
|
+
var f = /* @__PURE__ */ ((s) => (s.FRONT = "FRONT", s.BACK = "BACK", s))(f || {});
|
73
50
|
const x = ({ addFile: s, upload: i, imageSide: o }) => {
|
74
|
-
const t = o === "FRONT", d = t ? "addFileFront" : "addFileBack",
|
75
|
-
return /* @__PURE__ */ e.jsx("div", { className: "sid-step-id-check-loop__file-upload-container", children: /* @__PURE__ */ e.jsx("label", { className: "sid-step-id-check-loop__label", htmlFor:
|
51
|
+
const t = o === "FRONT", d = t ? "addFileFront" : "addFileBack", c = t ? "sid-font-photo-input" : "sid-back-photo-input", r = t ? "add front file" : "add back file", m = t ? "sid-font-photo-input" : "sid-back-photo-input";
|
52
|
+
return /* @__PURE__ */ e.jsx("div", { className: "sid-step-id-check-loop__file-upload-container", children: /* @__PURE__ */ e.jsx("label", { className: "sid-step-id-check-loop__label", htmlFor: c, "aria-label": r, children: /* @__PURE__ */ e.jsxs(
|
76
53
|
"div",
|
77
54
|
{
|
78
55
|
className: "sid-step-id-check-loop__upload-photo-container",
|
@@ -80,7 +57,7 @@ const x = ({ addFile: s, upload: i, imageSide: o }) => {
|
|
80
57
|
role: "button",
|
81
58
|
onKeyDown: (p) => s(p, d),
|
82
59
|
children: [
|
83
|
-
/* @__PURE__ */ e.jsx(
|
60
|
+
/* @__PURE__ */ e.jsx(I, { className: "sid-step-id-check-loop__icon" }),
|
84
61
|
/* @__PURE__ */ e.jsx("p", { className: "sid-step-id-check-loop__instructions", children: o === "FRONT" ? /* @__PURE__ */ e.jsx(
|
85
62
|
n,
|
86
63
|
{
|
@@ -99,42 +76,42 @@ const x = ({ addFile: s, upload: i, imageSide: o }) => {
|
|
99
76
|
{
|
100
77
|
onChange: i,
|
101
78
|
type: "file",
|
102
|
-
id:
|
79
|
+
id: m,
|
103
80
|
"data-testId": "photo-input",
|
104
81
|
hidden: !0,
|
105
82
|
accept: "image/jpeg,image/png",
|
106
83
|
multiple: !0,
|
107
|
-
ref: (p) =>
|
84
|
+
ref: (p) => L(d, p)
|
108
85
|
}
|
109
86
|
)
|
110
87
|
]
|
111
88
|
}
|
112
89
|
) }) });
|
113
|
-
},
|
114
|
-
const i = s.verificationResponse, { uploadUrl: o, errorIds: t } = i, [d,
|
115
|
-
|
90
|
+
}, D = ({ verificationService: s }) => {
|
91
|
+
const i = s.verificationResponse, { uploadUrl: o, errorIds: t } = i, [d, c] = h.useState(), [r, m] = h.useState(), [p, y] = h.useState(!1), C = () => {
|
92
|
+
y(!p), U(o, d.file, r.file).then((a) => {
|
116
93
|
a.ok && s.submitStep(
|
117
|
-
|
94
|
+
S.idCheckLoop,
|
118
95
|
s.viewModel,
|
119
96
|
s.verificationResponse
|
120
97
|
);
|
121
98
|
}).catch((a) => {
|
122
|
-
|
99
|
+
b.error(`IdCheckLoop step failed to upload files to: ${o}. ${a}`);
|
123
100
|
});
|
101
|
+
}, g = (a, l) => {
|
102
|
+
const F = M(l);
|
103
|
+
(a.key === "Enter" || a.key === " ") && (a.preventDefault(), a.stopPropagation(), F.click());
|
124
104
|
}, k = (a, l) => {
|
125
|
-
const N = M(l);
|
126
|
-
(a.key === "Enter" || a.key === " ") && (a.preventDefault(), a.stopPropagation(), N.click());
|
127
|
-
}, b = (a, l) => {
|
128
105
|
(a.key === "Enter" || a.key === " ") && (a.preventDefault(), a.stopPropagation(), l(void 0));
|
129
|
-
},
|
106
|
+
}, _ = (a) => {
|
130
107
|
const l = a.target.files[0];
|
131
|
-
|
132
|
-
},
|
108
|
+
c({ file: l, url: URL.createObjectURL(l) });
|
109
|
+
}, N = (a) => {
|
133
110
|
const l = a.target.files[0];
|
134
|
-
|
111
|
+
m({ file: l, url: URL.createObjectURL(l) });
|
135
112
|
};
|
136
113
|
return p ? /* @__PURE__ */ e.jsx(R, { step: "idCheckLoop" }) : /* @__PURE__ */ e.jsxs("div", { className: "sid-step-id-check-loop__upload-wrapper", children: [
|
137
|
-
/* @__PURE__ */ e.jsx(
|
114
|
+
/* @__PURE__ */ e.jsx(v, { align: "center", children: /* @__PURE__ */ e.jsx(
|
138
115
|
n,
|
139
116
|
{
|
140
117
|
id: "step.idCheckLoop.regula.uploadTitle",
|
@@ -160,30 +137,30 @@ const x = ({ addFile: s, upload: i, imageSide: o }) => {
|
|
160
137
|
j,
|
161
138
|
{
|
162
139
|
fileToUpload: d,
|
163
|
-
onRemove:
|
164
|
-
setImage:
|
140
|
+
onRemove: k,
|
141
|
+
setImage: c
|
165
142
|
}
|
166
143
|
) : /* @__PURE__ */ e.jsx(
|
167
144
|
x,
|
168
145
|
{
|
169
|
-
addFile:
|
170
|
-
upload:
|
171
|
-
imageSide:
|
146
|
+
addFile: g,
|
147
|
+
upload: _,
|
148
|
+
imageSide: f.FRONT
|
172
149
|
}
|
173
150
|
),
|
174
|
-
|
151
|
+
r ? /* @__PURE__ */ e.jsx(
|
175
152
|
j,
|
176
153
|
{
|
177
|
-
fileToUpload:
|
178
|
-
onRemove:
|
179
|
-
setImage:
|
154
|
+
fileToUpload: r,
|
155
|
+
onRemove: k,
|
156
|
+
setImage: m
|
180
157
|
}
|
181
158
|
) : /* @__PURE__ */ e.jsx(
|
182
159
|
x,
|
183
160
|
{
|
184
|
-
addFile:
|
185
|
-
upload:
|
186
|
-
imageSide:
|
161
|
+
addFile: g,
|
162
|
+
upload: N,
|
163
|
+
imageSide: f.BACK
|
187
164
|
}
|
188
165
|
)
|
189
166
|
] }),
|
@@ -195,14 +172,14 @@ const x = ({ addFile: s, upload: i, imageSide: o }) => {
|
|
195
172
|
className: "sid-btn sid-btn--dark",
|
196
173
|
"data-testId": "id-check-submit-button",
|
197
174
|
"aria-label": "submit",
|
198
|
-
disabled: !d || !
|
175
|
+
disabled: !d || !r,
|
199
176
|
children: /* @__PURE__ */ e.jsx(n, { id: "step.idCheckLoop.regula.submit", defaultMessage: "Submit" })
|
200
177
|
}
|
201
178
|
) })
|
202
179
|
] });
|
203
|
-
},
|
180
|
+
}, O = D, P = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(T, { verificationService: s, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
204
181
|
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(
|
205
|
-
|
182
|
+
u,
|
206
183
|
{
|
207
184
|
id: "step.idCheckLoop.regula.terms",
|
208
185
|
defaultMessage: 'By clicking "Continue", you agree you have read, understand, and accept the {privacyPolicyLink} and {termsOfService}.',
|
@@ -215,7 +192,7 @@ const x = ({ addFile: s, upload: i, imageSide: o }) => {
|
|
215
192
|
rel: "noopener noreferrer",
|
216
193
|
className: "sid-link",
|
217
194
|
children: /* @__PURE__ */ e.jsx(
|
218
|
-
|
195
|
+
u,
|
219
196
|
{
|
220
197
|
id: "step.idCheckLoop.privacyPolicy",
|
221
198
|
defaultMessage: "Privacy Policy"
|
@@ -231,7 +208,7 @@ const x = ({ addFile: s, upload: i, imageSide: o }) => {
|
|
231
208
|
rel: "noopener noreferrer",
|
232
209
|
className: "sid-link",
|
233
210
|
children: /* @__PURE__ */ e.jsx(
|
234
|
-
|
211
|
+
u,
|
235
212
|
{
|
236
213
|
id: "step.idCheckLoop.termsOfService",
|
237
214
|
defaultMessage: "Terms of Service"
|
@@ -242,24 +219,25 @@ const x = ({ addFile: s, upload: i, imageSide: o }) => {
|
|
242
219
|
}
|
243
220
|
}
|
244
221
|
) }),
|
245
|
-
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(
|
246
|
-
|
222
|
+
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(u, { id: "companyName", defaultMessage: "{Company}", children: (i) => /* @__PURE__ */ e.jsx(
|
223
|
+
u,
|
247
224
|
{
|
248
225
|
id: "step.idCheckLoop.disclaimer",
|
249
|
-
defaultMessage: "SheerID
|
226
|
+
defaultMessage: "SheerID, {companyName}'s trusted partner, use a third party, {serviceType}, to process our identity check.",
|
250
227
|
values: {
|
251
|
-
serviceType: "Regula"
|
228
|
+
serviceType: "Regula",
|
229
|
+
companyName: i
|
252
230
|
}
|
253
231
|
}
|
254
|
-
) })
|
232
|
+
) }) })
|
255
233
|
] }) }), K = ({ verificationService: s }) => {
|
256
|
-
const i = s.verificationResponse, [o, t] =
|
257
|
-
return
|
234
|
+
const i = s.verificationResponse, [o, t] = h.useState(!1);
|
235
|
+
return h.useEffect(() => {
|
258
236
|
var d;
|
259
237
|
i && ((d = i == null ? void 0 : i.errorIds) == null ? void 0 : d.length) > 0 && t(!0);
|
260
|
-
}, [i]), /* @__PURE__ */ e.jsx("div", { id: "sid-step-id-check-loop", className: "sid-l-container", children: o ? /* @__PURE__ */ e.jsx("div", { role: "main", children: /* @__PURE__ */ e.jsx(
|
238
|
+
}, [i]), /* @__PURE__ */ e.jsx("div", { id: "sid-step-id-check-loop", className: "sid-l-container", children: o ? /* @__PURE__ */ e.jsx("div", { role: "main", children: /* @__PURE__ */ e.jsx(O, { verificationService: s }) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
261
239
|
/* @__PURE__ */ e.jsxs("div", { role: "main", children: [
|
262
|
-
/* @__PURE__ */ e.jsx(
|
240
|
+
/* @__PURE__ */ e.jsx(v, { align: "center", children: /* @__PURE__ */ e.jsx(
|
263
241
|
n,
|
264
242
|
{
|
265
243
|
id: "step.idCheckLoop.regula.title",
|
@@ -274,7 +252,7 @@ const x = ({ addFile: s, upload: i, imageSide: o }) => {
|
|
274
252
|
}
|
275
253
|
) }),
|
276
254
|
/* @__PURE__ */ e.jsx("div", { className: "sid-identity-check-steps", children: /* @__PURE__ */ e.jsx(
|
277
|
-
|
255
|
+
w,
|
278
256
|
{
|
279
257
|
title: "Photo of a government-issued ID",
|
280
258
|
subtitle: "Drivers license, state ID, passport, or residence permit.",
|
@@ -301,13 +279,9 @@ const x = ({ addFile: s, upload: i, imageSide: o }) => {
|
|
301
279
|
}
|
302
280
|
) })
|
303
281
|
] }),
|
304
|
-
/* @__PURE__ */ e.jsx(
|
282
|
+
/* @__PURE__ */ e.jsx(P, { verificationService: s })
|
305
283
|
] }) });
|
306
|
-
}
|
307
|
-
__proto__: null,
|
308
|
-
default: K
|
309
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
284
|
+
};
|
310
285
|
export {
|
311
|
-
|
312
|
-
z as S
|
286
|
+
K as default
|
313
287
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StepIDCheckLoopRegula-VCHUckkA.js","sources":["../../src/components/StepIDCheckLoop/Regula/utils/uploadFiles.ts","../../src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.tsx","../../src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/UploadImage.tsx","../../src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.tsx","../../src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.tsx","../../src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.tsx"],"sourcesContent":["import { logger } from \"../../../../lib/utils/logger/logger\";\n\nexport const uploadFiles = async (\n url: string,\n frontImage: File,\n backImage: File,\n): Promise<Response> => {\n logger.info(`uploading files to ${url}`);\n\n const body = new FormData();\n body.append(\"frontImage\", frontImage);\n body.append(\"backImage\", backImage);\n\n return fetch(url, {\n method: \"POST\",\n body,\n });\n};\n","import React from \"react\";\nimport { FileToUpload } from \"./IdCheckLoopRegula\";\n\nexport interface DisplayThumbnailProps {\n fileToUpload: FileToUpload;\n onRemove: (\n e: React.KeyboardEvent<HTMLDivElement>,\n setImage: React.Dispatch<React.SetStateAction<FileToUpload>>,\n ) => void;\n setImage: React.Dispatch<React.SetStateAction<FileToUpload>>;\n}\n\nexport const DisplayThumbnail = ({ fileToUpload, onRemove, setImage }: DisplayThumbnailProps) => {\n const fileName = fileToUpload.file?.name;\n\n return (\n <div className=\"sid-step-id-check-loop__thumbnail-main-wrapper\">\n <div className=\"sid-step-id-check-loop__thumbnail-wrapper\">\n <img\n className=\"sid-step-id-check-loop__file-thumbnail\"\n src={fileToUpload.url}\n alt=\"File thumbnail\"\n />\n </div>\n <div className=\"sid-step-id-check-loop__file-name-wrapper\">\n <div className=\"sid-step-id-check-loop__file-name\" title={fileName}>\n {fileName}\n </div>\n <div\n role=\"button\"\n tabIndex={0}\n aria-label={`Remove file ${fileName}`}\n className=\"sid-step-id-check-loop__remove-btn\"\n onClick={() => setImage(undefined)}\n onKeyDown={(e) => onRemove(e, setImage)}\n />\n </div>\n </div>\n );\n};\n","import PlusIcon from \"@heroicons/react/24/outline/PlusIcon\";\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { setRef } from \"../../../../es6\";\n\nexport enum IMAGE_SIDE {\n FRONT = \"FRONT\",\n BACK = \"BACK\",\n}\n\nexport interface UploadImageProps {\n addFile: (e: React.KeyboardEvent<HTMLDivElement>, fieldId: string) => void;\n upload: (e: React.ChangeEvent<HTMLInputElement>) => void;\n imageSide: IMAGE_SIDE;\n}\n\nexport const UploadImage = ({ addFile, upload, imageSide }: UploadImageProps) => {\n const isFrontImage = imageSide === IMAGE_SIDE.FRONT;\n\n const fieldId = isFrontImage ? \"addFileFront\" : \"addFileBack\";\n const htmlFor = isFrontImage ? \"sid-font-photo-input\" : \"sid-back-photo-input\";\n const ariaLabel = isFrontImage ? \"add front file\" : \"add back file\";\n const id = isFrontImage ? \"sid-font-photo-input\" : \"sid-back-photo-input\";\n\n return (\n <div className=\"sid-step-id-check-loop__file-upload-container\">\n <label className=\"sid-step-id-check-loop__label\" htmlFor={htmlFor} aria-label={ariaLabel}>\n <div\n className=\"sid-step-id-check-loop__upload-photo-container\"\n tabIndex={0}\n role=\"button\"\n onKeyDown={(e) => addFile(e, fieldId)}\n >\n <PlusIcon className=\"sid-step-id-check-loop__icon\" />\n <p className=\"sid-step-id-check-loop__instructions\">\n {imageSide === IMAGE_SIDE.FRONT ? (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.addFontImage\"\n defaultMessage=\"Add front of ID\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.addBackImage\"\n defaultMessage=\"Add back of ID\"\n />\n )}\n </p>\n <input\n onChange={upload}\n type=\"file\"\n id={id}\n data-testId=\"photo-input\"\n hidden\n accept=\"image/jpeg,image/png\"\n multiple\n ref={(input: HTMLInputElement) => setRef(fieldId, input)}\n />\n </div>\n </label>\n </div>\n );\n};\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../../../lib/types/runtimeTypes\";\nimport { uploadFiles } from \"../utils/uploadFiles\";\nimport { getRefByFieldId } from \"../../../../lib/refs/refs\";\nimport { logger } from \"../../../../lib/utils/logger/logger\";\nimport { DisplayThumbnail } from \"./DisplayThumbnail\";\nimport { IMAGE_SIDE, UploadImage } from \"./UploadImage\";\nimport { LoadingScreenComponent } from \"../../../LoadingScreen/LoadingScreenComponent\";\n\nexport interface IdCheckLoopRegulaProps {\n verificationService: VerificationService;\n}\n\nexport interface FileToUpload {\n file: File;\n url: string;\n}\n\nconst IdCheckLoopRegula = ({ verificationService }: IdCheckLoopRegulaProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n const { uploadUrl, errorIds } = verificationResponse;\n\n const [frontImage, setFrontImage] = React.useState<FileToUpload>();\n const [backImage, setBackImage] = React.useState<FileToUpload>();\n const [submitInitiated, setSubmitInitiated] = React.useState<boolean>(false);\n\n const handleSubmit = () => {\n setSubmitInitiated(!submitInitiated);\n uploadFiles(uploadUrl, frontImage.file, backImage.file)\n .then((response: Response) => {\n if (response.ok) {\n verificationService.submitStep(\n VerificationStepsEnum.idCheckLoop,\n verificationService.viewModel,\n verificationService.verificationResponse,\n );\n }\n })\n .catch((e) => {\n logger.error(`IdCheckLoop step failed to upload files to: ${uploadUrl}. ${e}`);\n });\n };\n\n const handleAddFileOnKeyUp = (e: React.KeyboardEvent<HTMLDivElement>, fieldId: string) => {\n const addFileRef = getRefByFieldId(fieldId);\n\n if (e.key === \"Enter\" || e.key === \" \") {\n e.preventDefault();\n e.stopPropagation();\n addFileRef.click();\n }\n };\n const handleRemoveFileOnKeyUp = (\n e: React.KeyboardEvent<HTMLDivElement>,\n setImage: React.Dispatch<React.SetStateAction<FileToUpload>>,\n ) => {\n if (e.key === \"Enter\" || e.key === \" \") {\n e.preventDefault();\n e.stopPropagation();\n setImage(undefined);\n }\n };\n\n const handleFrontUpload = (e: React.ChangeEvent<HTMLInputElement>) => {\n const file = e.target.files[0];\n setFrontImage({ file, url: URL.createObjectURL(file) });\n };\n const handleBackUpload = (e: React.ChangeEvent<HTMLInputElement>) => {\n const file = e.target.files[0];\n setBackImage({ file, url: URL.createObjectURL(file) });\n };\n\n if (submitInitiated) {\n return <LoadingScreenComponent step=\"idCheckLoop\" />;\n }\n\n return (\n <div className=\"sid-step-id-check-loop__upload-wrapper\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.uploadTitle\"\n defaultMessage=\"Upload government issued ID\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center sid-l-space-btm-md\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.uploadSubtitle\"\n defaultMessage=\"Make sure information on the document can be easily read. Avoid glares.\"\n />\n </div>\n\n {errorIds && errorIds.length > 0 && (\n <div className=\"sid-step-id-check-loop__error-container\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.uploadFileError\"\n defaultMessage=\"There was an error uploading your files. Please try again.\"\n />\n </div>\n )}\n\n <div className=\"sid-step-id-check-loop__upload-container\">\n {frontImage ? (\n <DisplayThumbnail\n fileToUpload={frontImage}\n onRemove={handleRemoveFileOnKeyUp}\n setImage={setFrontImage}\n />\n ) : (\n <UploadImage\n addFile={handleAddFileOnKeyUp}\n upload={handleFrontUpload}\n imageSide={IMAGE_SIDE.FRONT}\n />\n )}\n\n {backImage ? (\n <DisplayThumbnail\n fileToUpload={backImage}\n onRemove={handleRemoveFileOnKeyUp}\n setImage={setBackImage}\n />\n ) : (\n <UploadImage\n addFile={handleAddFileOnKeyUp}\n upload={handleBackUpload}\n imageSide={IMAGE_SIDE.BACK}\n />\n )}\n </div>\n\n <div className=\"sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md\">\n <button\n onClick={handleSubmit}\n type=\"button\"\n className=\"sid-btn sid-btn--dark\"\n data-testId=\"id-check-submit-button\"\n aria-label=\"submit\"\n disabled={!frontImage || !backImage}\n >\n <FormattedHTMLMessage id=\"step.idCheckLoop.regula.submit\" defaultMessage=\"Submit\" />\n </button>\n </div>\n </div>\n );\n};\n\nexport const IdCheckLoopRegulaComponent = IdCheckLoopRegula;\n","import React from \"react\";\n\nimport { FormattedMessage } from \"react-intl\";\nimport { VerificationService } from \"../../../lib/types/types\";\nimport { FormFooterComponent } from \"../../FormFooter/FormFooterComponent\";\n\nexport interface IdCheckLoopRegulaFooterProps {\n verificationService: VerificationService;\n}\n\nexport const IdCheckLoopRegulaFooter = ({ verificationService }: IdCheckLoopRegulaFooterProps) => (\n <FormFooterComponent verificationService={verificationService}>\n <div>\n <p>\n <FormattedMessage\n id=\"step.idCheckLoop.regula.terms\"\n defaultMessage='By clicking \"Continue\", you agree you have read, understand, and accept the {privacyPolicyLink} and {termsOfService}.'\n values={{\n privacyPolicyLink: (\n <a\n href=\"https://regulaforensics.com/privacy/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.privacyPolicy\"\n defaultMessage=\"Privacy Policy\"\n />\n </a>\n ),\n termsOfService: (\n <a\n href=\"https://regulaforensics.com/terms-of-use/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.termsOfService\"\n defaultMessage=\"Terms of Service\"\n />\n </a>\n ),\n }}\n />\n </p>\n\n <p>\n <FormattedMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedMessage\n id=\"step.idCheckLoop.disclaimer\"\n defaultMessage=\"SheerID, {companyName}'s trusted partner, use a third party, {serviceType}, to process our identity check.\"\n values={{\n serviceType: \"Regula\",\n companyName,\n }}\n />\n )}\n </FormattedMessage>\n </p>\n </div>\n </FormFooterComponent>\n);\n\nexport default IdCheckLoopRegulaFooter;\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { StepCardComponent } from \"../../StepCard/StepCard\";\nimport IdCheckLoopRegulaFooter from \"../../IdCheckLoopFooter/IdCheckLoopRegulaFooter\";\nimport { IdCheckLoopRegulaComponent } from \"../IdCheckLoopRegula/IdCheckLoopRegula\";\n\nexport interface StepIDCheckLoopRegulaProps {\n verificationService: VerificationService;\n}\n\nconst StepIDCheckLoopRegula = ({ verificationService }: StepIDCheckLoopRegulaProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n\n const [showUpload, setShowUpload] = React.useState<boolean>(false);\n\n React.useEffect(() => {\n if (verificationResponse && verificationResponse?.errorIds?.length > 0) {\n setShowUpload(true);\n }\n }, [verificationResponse]);\n\n return (\n <div id=\"sid-step-id-check-loop\" className=\"sid-l-container\">\n {showUpload ? (\n <div role=\"main\">\n <IdCheckLoopRegulaComponent verificationService={verificationService} />\n </div>\n ) : (\n <>\n <div role=\"main\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.title\"\n defaultMessage=\"To continue, we need to verify your identity.\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center sid-l-space-btm-md\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.subtitle\"\n defaultMessage=\"To complete the verification process, we ask that you provide us with:\"\n />\n </div>\n <div className=\"sid-identity-check-steps\">\n <StepCardComponent\n title=\"Photo of a government-issued ID\"\n subtitle=\"Drivers license, state ID, passport, or residence permit.\"\n icon={\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/upload-proof.svg\"\n />\n }\n isHighlighted\n key=\"\"\n />\n </div>\n\n <div className=\"sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md\">\n <button\n onClick={() => setShowUpload(!showUpload)}\n type=\"button\"\n className=\"sid-btn sid-btn--dark\"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage id=\"step.idCheckLoop.continue\" defaultMessage=\"Continue\" />\n </button>\n </div>\n </div>\n <IdCheckLoopRegulaFooter verificationService={verificationService} />\n </>\n )}\n </div>\n );\n};\n\nexport default StepIDCheckLoopRegula;\n"],"names":["uploadFiles","url","frontImage","backImage","logger","body","DisplayThumbnail","fileToUpload","onRemove","setImage","fileName","_a","jsxs","jsx","e","IMAGE_SIDE","UploadImage","addFile","upload","imageSide","isFrontImage","fieldId","htmlFor","ariaLabel","id","PlusIcon","FormattedHTMLMessage","input","setRef","IdCheckLoopRegula","verificationService","verificationResponse","uploadUrl","errorIds","setFrontImage","React","setBackImage","submitInitiated","setSubmitInitiated","handleSubmit","response","VerificationStepsEnum","handleAddFileOnKeyUp","addFileRef","getRefByFieldId","handleRemoveFileOnKeyUp","handleFrontUpload","file","handleBackUpload","LoadingScreenComponent","AnnouncingHeader","IdCheckLoopRegulaComponent","IdCheckLoopRegulaFooter","FormFooterComponent","FormattedMessage","companyName","StepIDCheckLoopRegula","showUpload","setShowUpload","Fragment","StepC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ILD_COMMIT: a18837a69c59275ce314d94cf6208e53b6620598
|
7
7
|
*/
|
8
|
-
import { h as $, R as
|
8
|
+
import { i as Q, h as $, R as h, ax as J, V as i, b as X, l as W, ay as Y, j as t, s as Z, P as _, t as S, v, Q as aa, x as o, a2 as sa, ab as ea, u as d, az as ta, aA as oa, U as la, w as da, y as na, W as ra, aB as ia, aC as ua, E as ma, d as pa, a as g, D as Ca, z as ba, a0 as ya, a5 as ha, a6 as ga, B as Ma, G as xa, M as Ia, H as Da, e as ja, k as ca, aD 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, k,
|
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, z, k, w, A;
|
14
|
+
const e = s.viewModel, M = s.previousViewModel, { fieldValidationErrors: l } = s, C = s.verificationResponse, H = $(C), [m, x] = h.useState([]), b = J(s, p), y = e.localeChoice.value, U = S(), n = (a, r) => {
|
15
15
|
s.updateViewModel(
|
16
|
-
|
16
|
+
Ea(a, r, s, b)
|
17
17
|
);
|
18
|
-
},
|
19
|
-
const a =
|
18
|
+
}, K = () => {
|
19
|
+
const a = ca(e, () => {
|
20
20
|
});
|
21
|
-
|
21
|
+
W.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) && K(), h.useEffect(() => {
|
28
28
|
(async () => {
|
29
|
-
var a, r,
|
29
|
+
var a, r, L;
|
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 X(
|
33
33
|
C.verificationId,
|
34
34
|
i.collectInactiveMilitaryPersonalInfo,
|
35
35
|
e
|
36
36
|
);
|
37
|
-
x((
|
37
|
+
x((L = (r = u == null ? void 0 : u.fieldsToCollect) == null ? void 0 : r.optional) == null ? void 0 : L.map((G) => G.key));
|
38
38
|
} catch (u) {
|
39
|
-
|
39
|
+
W.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]), h.useEffect(() => {
|
46
46
|
var a;
|
47
47
|
((a = e.countryChoice) == null ? void 0 : a.value) !== "US" && x([]);
|
48
|
-
}, [e.countryChoice]),
|
49
|
-
|
48
|
+
}, [e.countryChoice]), Y(), /* @__PURE__ */ t.jsxs(
|
49
|
+
Z,
|
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
|
+
_,
|
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(v, { verificationService: s }),
|
64
64
|
/* @__PURE__ */ t.jsx(
|
65
|
-
|
65
|
+
aa,
|
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
|
+
sa,
|
73
73
|
{
|
74
74
|
segmentId: "military",
|
75
75
|
value: {
|
76
76
|
value: e.status,
|
77
|
-
label:
|
77
|
+
label: ea(p, e.status, ta)
|
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
|
+
oa,
|
94
94
|
{
|
95
95
|
isErrored: !!l.organization,
|
96
96
|
onChange: (a) => {
|
97
|
-
|
97
|
+
la(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
|
+
da,
|
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
|
+
na,
|
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
|
+
ra,
|
133
133
|
{
|
134
134
|
errorId: l.birthDate,
|
135
|
-
locale:
|
135
|
+
locale: y,
|
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
|
+
ia,
|
145
145
|
{
|
146
146
|
errorId: l.activeDutyStartDate,
|
147
|
-
locale:
|
147
|
+
locale: y,
|
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
|
+
ua,
|
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: y,
|
168
168
|
disabled: (F = o("dischargeDate")) == null ? void 0 : F.disabled
|
169
169
|
}
|
170
170
|
),
|
171
171
|
/* @__PURE__ */ t.jsx(
|
172
|
-
|
172
|
+
ma,
|
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) => pa(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
|
+
Ca,
|
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
|
+
ba,
|
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
|
+
ya,
|
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
|
+
ha,
|
231
231
|
{
|
232
|
-
options:
|
232
|
+
options: ga(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: (z = o("state")) == null ? void 0 : z.requireIfOptional
|
242
242
|
}
|
243
243
|
),
|
244
244
|
m.includes("postalCode") && /* @__PURE__ */ t.jsx(
|
245
|
-
|
245
|
+
Ma,
|
246
246
|
{
|
247
|
-
required: (
|
247
|
+
required: (k = o("postalCode")) == null ? void 0 : k.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: (w = o("postalCode")) == null ? void 0 : w.disabled
|
254
254
|
}
|
255
255
|
),
|
256
|
-
|
256
|
+
U.customFormFields.map((a) => /* @__PURE__ */ t.jsx(xa, { config: a, verificationService: s })),
|
257
257
|
/* @__PURE__ */ t.jsx(
|
258
|
-
|
258
|
+
Ia,
|
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: (A = o("marketConsentValue")) == null ? void 0 : A.disabled
|
274
274
|
}
|
275
275
|
),
|
276
|
-
/* @__PURE__ */ t.jsx(
|
276
|
+
/* @__PURE__ */ t.jsx(Da, { verificationService: s, suffix: "CollectAboveSubmit" }),
|
277
277
|
/* @__PURE__ */ t.jsx(
|
278
|
-
|
278
|
+
ja,
|
279
279
|
{
|
280
280
|
step: i.collectInactiveMilitaryPersonalInfo,
|
281
281
|
verificationService: s,
|
282
282
|
viewModel: e,
|
283
|
-
failedInstantMatch:
|
283
|
+
failedInstantMatch: H,
|
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 = Q(
|
298
298
|
Na
|
299
299
|
);
|
300
300
|
export {
|