@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,20 +1,19 @@
|
|
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 { l as
|
9
|
-
|
10
|
-
|
11
|
-
b.info(`uploading files to ${s}`);
|
8
|
+
import { l as v, j as e, r as f, b as n, U as F, R as u, L as R, A as y, V as w, b8 as M, m as S, a1 as m, a2 as T } from "../sheerid.js";
|
9
|
+
const O = async (s, i, o) => {
|
10
|
+
v.info(`uploading files to ${s}`);
|
12
11
|
const t = new FormData();
|
13
|
-
return t.append("frontImage",
|
12
|
+
return t.append("frontImage", i), t.append("backImage", o), fetch(s, {
|
14
13
|
method: "POST",
|
15
14
|
body: t
|
16
15
|
});
|
17
|
-
}, j = ({ fileToUpload: s, onRemove:
|
16
|
+
}, j = ({ fileToUpload: s, onRemove: i, setImage: o }) => {
|
18
17
|
var d;
|
19
18
|
const t = (d = s.file) == null ? void 0 : d.name;
|
20
19
|
return /* @__PURE__ */ e.jsxs("div", { className: "sid-step-id-check-loop__thumbnail-main-wrapper", children: [
|
@@ -36,16 +35,40 @@ const U = async (s, a, o) => {
|
|
36
35
|
"aria-label": `Remove file ${t}`,
|
37
36
|
className: "sid-step-id-check-loop__remove-btn",
|
38
37
|
onClick: () => o(void 0),
|
39
|
-
onKeyDown: (
|
38
|
+
onKeyDown: (r) => i(r, o)
|
40
39
|
}
|
41
40
|
)
|
42
41
|
] })
|
43
42
|
] });
|
44
43
|
};
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
44
|
+
function U({
|
45
|
+
title: s,
|
46
|
+
titleId: i,
|
47
|
+
...o
|
48
|
+
}, t) {
|
49
|
+
return /* @__PURE__ */ f.createElement("svg", Object.assign({
|
50
|
+
xmlns: "http://www.w3.org/2000/svg",
|
51
|
+
fill: "none",
|
52
|
+
viewBox: "0 0 24 24",
|
53
|
+
strokeWidth: 1.5,
|
54
|
+
stroke: "currentColor",
|
55
|
+
"aria-hidden": "true",
|
56
|
+
"data-slot": "icon",
|
57
|
+
ref: t,
|
58
|
+
"aria-labelledby": i
|
59
|
+
}, o), s ? /* @__PURE__ */ f.createElement("title", {
|
60
|
+
id: i
|
61
|
+
}, s) : null, /* @__PURE__ */ f.createElement("path", {
|
62
|
+
strokeLinecap: "round",
|
63
|
+
strokeLinejoin: "round",
|
64
|
+
d: "M12 4.5v15m7.5-7.5h-15"
|
65
|
+
}));
|
66
|
+
}
|
67
|
+
const D = f.forwardRef(U), P = D;
|
68
|
+
var g = /* @__PURE__ */ ((s) => (s.FRONT = "FRONT", s.BACK = "BACK", s))(g || {});
|
69
|
+
const x = ({ addFile: s, upload: i, imageSide: o }) => {
|
70
|
+
const t = o === "FRONT", d = t ? "addFileFront" : "addFileBack", r = t ? "sid-font-photo-input" : "sid-back-photo-input", c = t ? "add front file" : "add back file", h = t ? "sid-font-photo-input" : "sid-back-photo-input";
|
71
|
+
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: r, "aria-label": c, children: /* @__PURE__ */ e.jsxs(
|
49
72
|
"div",
|
50
73
|
{
|
51
74
|
className: "sid-step-id-check-loop__upload-photo-container",
|
@@ -53,7 +76,7 @@ const x = ({ addFile: s, upload: a, imageSide: o }) => {
|
|
53
76
|
role: "button",
|
54
77
|
onKeyDown: (p) => s(p, d),
|
55
78
|
children: [
|
56
|
-
/* @__PURE__ */ e.jsx(
|
79
|
+
/* @__PURE__ */ e.jsx(P, { className: "sid-step-id-check-loop__icon" }),
|
57
80
|
/* @__PURE__ */ e.jsx("p", { className: "sid-step-id-check-loop__instructions", children: o === "FRONT" ? /* @__PURE__ */ e.jsx(
|
58
81
|
n,
|
59
82
|
{
|
@@ -70,44 +93,44 @@ const x = ({ addFile: s, upload: a, imageSide: o }) => {
|
|
70
93
|
/* @__PURE__ */ e.jsx(
|
71
94
|
"input",
|
72
95
|
{
|
73
|
-
onChange:
|
96
|
+
onChange: i,
|
74
97
|
type: "file",
|
75
98
|
id: h,
|
76
99
|
"data-testId": "photo-input",
|
77
100
|
hidden: !0,
|
78
101
|
accept: "image/jpeg,image/png",
|
79
102
|
multiple: !0,
|
80
|
-
ref: (p) =>
|
103
|
+
ref: (p) => F(d, p)
|
81
104
|
}
|
82
105
|
)
|
83
106
|
]
|
84
107
|
}
|
85
108
|
) }) });
|
86
|
-
},
|
87
|
-
const
|
88
|
-
|
89
|
-
|
90
|
-
|
109
|
+
}, B = ({ verificationService: s }) => {
|
110
|
+
const i = s.verificationResponse, { uploadUrl: o, errorIds: t } = i, [d, r] = u.useState(), [c, h] = u.useState(), [p, _] = u.useState(!1), C = () => {
|
111
|
+
_(!p), O(o, d.file, c.file).then((a) => {
|
112
|
+
a.ok && s.submitStep(
|
113
|
+
w.idCheckLoop,
|
91
114
|
s.viewModel,
|
92
115
|
s.verificationResponse
|
93
116
|
);
|
94
|
-
}).catch((
|
95
|
-
|
117
|
+
}).catch((a) => {
|
118
|
+
v.error(`IdCheckLoop step failed to upload files to: ${o}. ${a}`);
|
96
119
|
});
|
97
|
-
},
|
98
|
-
const
|
99
|
-
(
|
100
|
-
},
|
101
|
-
(
|
102
|
-
},
|
103
|
-
const l =
|
104
|
-
|
105
|
-
},
|
106
|
-
const l =
|
120
|
+
}, k = (a, l) => {
|
121
|
+
const N = M(l);
|
122
|
+
(a.key === "Enter" || a.key === " ") && (a.preventDefault(), a.stopPropagation(), N.click());
|
123
|
+
}, b = (a, l) => {
|
124
|
+
(a.key === "Enter" || a.key === " ") && (a.preventDefault(), a.stopPropagation(), l(void 0));
|
125
|
+
}, L = (a) => {
|
126
|
+
const l = a.target.files[0];
|
127
|
+
r({ file: l, url: URL.createObjectURL(l) });
|
128
|
+
}, I = (a) => {
|
129
|
+
const l = a.target.files[0];
|
107
130
|
h({ file: l, url: URL.createObjectURL(l) });
|
108
131
|
};
|
109
132
|
return p ? /* @__PURE__ */ e.jsx(R, { step: "idCheckLoop" }) : /* @__PURE__ */ e.jsxs("div", { className: "sid-step-id-check-loop__upload-wrapper", children: [
|
110
|
-
/* @__PURE__ */ e.jsx(
|
133
|
+
/* @__PURE__ */ e.jsx(y, { align: "center", children: /* @__PURE__ */ e.jsx(
|
111
134
|
n,
|
112
135
|
{
|
113
136
|
id: "step.idCheckLoop.regula.uploadTitle",
|
@@ -133,47 +156,47 @@ const x = ({ addFile: s, upload: a, imageSide: o }) => {
|
|
133
156
|
j,
|
134
157
|
{
|
135
158
|
fileToUpload: d,
|
136
|
-
onRemove:
|
137
|
-
setImage:
|
159
|
+
onRemove: b,
|
160
|
+
setImage: r
|
138
161
|
}
|
139
162
|
) : /* @__PURE__ */ e.jsx(
|
140
163
|
x,
|
141
164
|
{
|
142
|
-
addFile:
|
143
|
-
upload:
|
144
|
-
imageSide:
|
165
|
+
addFile: k,
|
166
|
+
upload: L,
|
167
|
+
imageSide: g.FRONT
|
145
168
|
}
|
146
169
|
),
|
147
|
-
|
170
|
+
c ? /* @__PURE__ */ e.jsx(
|
148
171
|
j,
|
149
172
|
{
|
150
|
-
fileToUpload:
|
151
|
-
onRemove:
|
173
|
+
fileToUpload: c,
|
174
|
+
onRemove: b,
|
152
175
|
setImage: h
|
153
176
|
}
|
154
177
|
) : /* @__PURE__ */ e.jsx(
|
155
178
|
x,
|
156
179
|
{
|
157
|
-
addFile:
|
158
|
-
upload:
|
159
|
-
imageSide:
|
180
|
+
addFile: k,
|
181
|
+
upload: I,
|
182
|
+
imageSide: g.BACK
|
160
183
|
}
|
161
184
|
)
|
162
185
|
] }),
|
163
186
|
/* @__PURE__ */ e.jsx("div", { className: "sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md", children: /* @__PURE__ */ e.jsx(
|
164
187
|
"button",
|
165
188
|
{
|
166
|
-
onClick:
|
189
|
+
onClick: C,
|
167
190
|
type: "button",
|
168
191
|
className: "sid-btn sid-btn--dark",
|
169
192
|
"data-testId": "id-check-submit-button",
|
170
193
|
"aria-label": "submit",
|
171
|
-
disabled: !d || !
|
194
|
+
disabled: !d || !c,
|
172
195
|
children: /* @__PURE__ */ e.jsx(n, { id: "step.idCheckLoop.regula.submit", defaultMessage: "Submit" })
|
173
196
|
}
|
174
197
|
) })
|
175
198
|
] });
|
176
|
-
},
|
199
|
+
}, A = B, E = ({ verificationService: s }) => /* @__PURE__ */ e.jsx(S, { verificationService: s, children: /* @__PURE__ */ e.jsxs("div", { children: [
|
177
200
|
/* @__PURE__ */ e.jsx("p", { children: /* @__PURE__ */ e.jsx(
|
178
201
|
m,
|
179
202
|
{
|
@@ -226,13 +249,13 @@ const x = ({ addFile: s, upload: a, imageSide: o }) => {
|
|
226
249
|
}
|
227
250
|
) })
|
228
251
|
] }) }), K = ({ verificationService: s }) => {
|
229
|
-
const
|
252
|
+
const i = s.verificationResponse, [o, t] = u.useState(!1);
|
230
253
|
return u.useEffect(() => {
|
231
254
|
var d;
|
232
|
-
|
233
|
-
}, [
|
255
|
+
i && ((d = i == null ? void 0 : i.errorIds) == null ? void 0 : d.length) > 0 && t(!0);
|
256
|
+
}, [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(A, { verificationService: s }) }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
|
234
257
|
/* @__PURE__ */ e.jsxs("div", { role: "main", children: [
|
235
|
-
/* @__PURE__ */ e.jsx(
|
258
|
+
/* @__PURE__ */ e.jsx(y, { align: "center", children: /* @__PURE__ */ e.jsx(
|
236
259
|
n,
|
237
260
|
{
|
238
261
|
id: "step.idCheckLoop.regula.title",
|
@@ -247,7 +270,7 @@ const x = ({ addFile: s, upload: a, imageSide: o }) => {
|
|
247
270
|
}
|
248
271
|
) }),
|
249
272
|
/* @__PURE__ */ e.jsx("div", { className: "sid-identity-check-steps", children: /* @__PURE__ */ e.jsx(
|
250
|
-
|
273
|
+
T,
|
251
274
|
{
|
252
275
|
title: "Photo of a government-issued ID",
|
253
276
|
subtitle: "Drivers license, state ID, passport, or residence permit.",
|
@@ -274,9 +297,13 @@ const x = ({ addFile: s, upload: a, imageSide: o }) => {
|
|
274
297
|
}
|
275
298
|
) })
|
276
299
|
] }),
|
277
|
-
/* @__PURE__ */ e.jsx(
|
300
|
+
/* @__PURE__ */ e.jsx(E, { verificationService: s })
|
278
301
|
] }) });
|
279
|
-
}
|
302
|
+
}, z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
303
|
+
__proto__: null,
|
304
|
+
default: K
|
305
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
280
306
|
export {
|
281
|
-
|
307
|
+
P,
|
308
|
+
z as S
|
282
309
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StepIDCheckLoopRegula-jyg1vIi3.js","sources":["../../src/components/StepIDCheckLoop/Regula/utils/uploadFiles.ts","../../src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.tsx","../../node_modules/@heroicons/react/24/outline/esm/PlusIcon.js","../../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 * as React from \"react\";\nfunction PlusIcon({\n title,\n titleId,\n ...props\n}, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\",\n strokeWidth: 1.5,\n stroke: \"currentColor\",\n \"aria-hidden\": \"true\",\n \"data-slot\": \"icon\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"path\", {\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n d: \"M12 4.5v15m7.5-7.5h-15\"\n }));\n}\nconst ForwardRef = React.forwardRef(PlusIcon);\nexport default ForwardRef;","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\n id=\"step.idCheckLoop.disclaimer\"\n defaultMessage=\"SheerID uses a third party, {serviceType}, to process our identity check.\"\n values={{\n serviceType: \"Regula\",\n }}\n />\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","PlusIcon","title","titleId","props","svgRef","React.createElement","ForwardRef","React.forwardRef","PlusIcon$1","IMAGE_SIDE","UploadImage","addFile","upload","imageSide","isFrontImage","fieldId","htmlFor","ariaLabel","id","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","StepIDCheckLoopRegula","showUpload","setShowUpload","Fragment","StepCardComponent"],"mappings":";AAEO,MAAMA,IAAc,OACzBC,GACAC,GACAC,MACsB;AACf,EAAAC,EAAA,KAAK,sBAAsBH,CAAG,EAAE;AAEjC,QAAAI,IAAO,IAAI;AACZ,SAAAA,EAAA,OAAO,cAAcH,CAAU,GAC/BG,EAAA,OAAO,aAAaF,CAAS,GAE3B,MAAMF,GAAK;AAAA,IAChB,QAAQ;AAAA,IACR,MAAAI;AAAA,EAAA,CACD;AACH,GCLaC,IAAmB,CAAC,EAAE,cAAAC,GAAc,UAAAC,GAAU,UAAAC,QAAsC;;AACzF,QAAAC,KAAWC,IAAAJ,EAAa,SAAb,gBAAAI,EAAmB;AAGlC,SAAAC,gBAAAA,EAAA,KAAC,OAAI,EAAA,WAAU,kDACb,UAAA;AAAA,IAACC,gBAAAA,EAAAA,IAAA,OAAA,EAAI,WAAU,6CACb,UAAAA,gBAAAA,EAAA;AAAA,MAAC;AAAA,MAAA;AAAA,QACC,WAAU;AAAA,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,IAAG;AAAA,UACH,gBAAe;AAAA,QAAA;AAAA,MAAA,GAEnB;AAAA,MACArB,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,4BACb,UAAAA,gBAAAA,EAAA;AAAA,QAACsD;AAAA,QAAA;AAAA,UACC,OAAM;AAAA,UACN,UAAS;AAAA,UACT,MACEtD,gBAAAA,EAAA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,WAAU;AAAA,cACV,KAAI;AAAA,cACJ,KAAI;AAAA,YAAA;AAAA,UACN;AAAA,UAEF,eAAa;AAAA,QAAA;AAAA,QACT;AAAA,MAAA,GAER;AAAA,MAEAA,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,sEACb,UAAAA,gBAAAA,EAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,SAAS,MAAMoD,EAAc,CAACD,CAAU;AAAA,UACxC,MAAK;AAAA,UACL,WAAU;AAAA,UACV,cAAW;AAAA,UAEX,UAACnD,gBAAAA,EAAA,IAAAqB,GAAA,EAAqB,IAAG,6BAA4B,gBAAe,YAAW;AAAA,QAAA;AAAA,MAAA,GAEnF;AAAA,IAAA,GACF;AAAA,IACArB,gBAAAA,MAAC+C,KAAwB,qBAAAtB,GAA0C;AAAA,EAAA,EACrE,CAAA,EAEJ,CAAA;AAEJ;;;;","x_google_ignoreList":[2]}
|
@@ -4,81 +4,81 @@
|
|
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
|
-
import {
|
12
|
+
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 "../_mysheerid-preview.js";
|
13
13
|
const Na = ({
|
14
14
|
intl: p,
|
15
15
|
verificationService: s
|
16
16
|
}) => {
|
17
|
-
var I, D, j, c, E, N, f, F, R, P, T, V, q, B, O,
|
18
|
-
const e = s.viewModel, M = s.previousViewModel, { fieldValidationErrors: l } = s, C = s.verificationResponse,
|
17
|
+
var I, D, j, c, E, N, f, F, R, P, T, V, q, B, O, k, z, A, L;
|
18
|
+
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) => {
|
19
19
|
s.updateViewModel(
|
20
|
-
|
20
|
+
Da(a, r, s, b)
|
21
21
|
);
|
22
|
-
},
|
23
|
-
const a =
|
22
|
+
}, G = () => {
|
23
|
+
const a = ja(e, () => {
|
24
24
|
});
|
25
|
-
|
25
|
+
H.info("StepMilitaryStatusComponent submitting form"), s.submitStep(
|
26
26
|
i.collectMilitaryStatus,
|
27
27
|
a,
|
28
28
|
s.previousVerificationResponse || s.verificationResponse
|
29
29
|
);
|
30
30
|
};
|
31
|
-
return (e.status && M && M.status !== e.status || e.status && s.verificationResponse.currentStep === i.collectMilitaryStatus) &&
|
31
|
+
return (e.status && M && M.status !== e.status || e.status && s.verificationResponse.currentStep === i.collectMilitaryStatus) && G(), y.useEffect(() => {
|
32
32
|
(async () => {
|
33
|
-
var a, r,
|
33
|
+
var a, r, w;
|
34
34
|
if (s.verificationResponse.currentStep === i.collectInactiveMilitaryPersonalInfo && ((a = e.countryChoice) == null ? void 0 : a.value) === "US")
|
35
35
|
try {
|
36
|
-
const u = await
|
36
|
+
const u = await Y(
|
37
37
|
C.verificationId,
|
38
38
|
i.collectInactiveMilitaryPersonalInfo,
|
39
39
|
e
|
40
40
|
);
|
41
|
-
x((
|
41
|
+
x((w = (r = u == null ? void 0 : u.fieldsToCollect) == null ? void 0 : r.optional) == null ? void 0 : w.map((U) => U.key));
|
42
42
|
} catch (u) {
|
43
|
-
|
43
|
+
H.error(
|
44
44
|
`Failed to determine fields to collect: ${u}`,
|
45
45
|
i.collectInactiveMilitaryPersonalInfo
|
46
46
|
);
|
47
47
|
}
|
48
48
|
})();
|
49
|
-
}, [s.verificationResponse.currentStep, e.countryChoice]),
|
49
|
+
}, [s.verificationResponse.currentStep, e.countryChoice]), y.useEffect(() => {
|
50
50
|
var a;
|
51
51
|
((a = e.countryChoice) == null ? void 0 : a.value) !== "US" && x([]);
|
52
|
-
}, [e.countryChoice]),
|
53
|
-
|
52
|
+
}, [e.countryChoice]), ca(), /* @__PURE__ */ t.jsxs(
|
53
|
+
_,
|
54
54
|
{
|
55
55
|
verificationService: s,
|
56
56
|
step: C.currentStep,
|
57
57
|
className: "sid-military-personal-info-container",
|
58
58
|
children: [
|
59
59
|
/* @__PURE__ */ t.jsx(
|
60
|
-
|
60
|
+
Q,
|
61
61
|
{
|
62
62
|
verificationService: s,
|
63
63
|
classNameIdentifier: "inactive-military-personal-info"
|
64
64
|
}
|
65
65
|
),
|
66
66
|
/* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
67
|
-
/* @__PURE__ */ t.jsx(
|
67
|
+
/* @__PURE__ */ t.jsx(X, { verificationService: s }),
|
68
68
|
/* @__PURE__ */ t.jsx(
|
69
|
-
|
69
|
+
Z,
|
70
70
|
{
|
71
71
|
verificationService: s,
|
72
72
|
disabled: (I = o("country")) == null ? void 0 : I.disabled
|
73
73
|
}
|
74
74
|
),
|
75
75
|
b ? /* @__PURE__ */ t.jsx(
|
76
|
-
|
76
|
+
S,
|
77
77
|
{
|
78
78
|
segmentId: "military",
|
79
79
|
value: {
|
80
80
|
value: e.status,
|
81
|
-
label:
|
81
|
+
label: v(p, e.status, Ea)
|
82
82
|
},
|
83
83
|
isErrored: !!l.status,
|
84
84
|
errorId: "invalidMilitaryStatus",
|
@@ -94,11 +94,11 @@ const Na = ({
|
|
94
94
|
}
|
95
95
|
) : null,
|
96
96
|
/* @__PURE__ */ t.jsx(
|
97
|
-
|
97
|
+
aa,
|
98
98
|
{
|
99
99
|
isErrored: !!l.organization,
|
100
100
|
onChange: (a) => {
|
101
|
-
|
101
|
+
sa(a, s), d("organization", a, s);
|
102
102
|
},
|
103
103
|
value: {
|
104
104
|
value: s.viewModel.organization.id,
|
@@ -110,7 +110,7 @@ const Na = ({
|
|
110
110
|
),
|
111
111
|
/* @__PURE__ */ t.jsxs("div", { className: "sid-names", children: [
|
112
112
|
/* @__PURE__ */ t.jsx(
|
113
|
-
|
113
|
+
ea,
|
114
114
|
{
|
115
115
|
value: e.firstName,
|
116
116
|
isErrored: !!l.firstName,
|
@@ -121,7 +121,7 @@ const Na = ({
|
|
121
121
|
}
|
122
122
|
),
|
123
123
|
/* @__PURE__ */ t.jsx(
|
124
|
-
|
124
|
+
ta,
|
125
125
|
{
|
126
126
|
value: e.lastName,
|
127
127
|
isErrored: !!l.lastName,
|
@@ -133,10 +133,10 @@ const Na = ({
|
|
133
133
|
)
|
134
134
|
] }),
|
135
135
|
/* @__PURE__ */ t.jsx(
|
136
|
-
|
136
|
+
oa,
|
137
137
|
{
|
138
138
|
errorId: l.birthDate,
|
139
|
-
locale:
|
139
|
+
locale: h,
|
140
140
|
onChange: (a) => {
|
141
141
|
n("birthDate", a), d("birthDate", a, s);
|
142
142
|
},
|
@@ -145,10 +145,10 @@ const Na = ({
|
|
145
145
|
}
|
146
146
|
),
|
147
147
|
s.programTheme.strictMilitaryValidationEnabled && /* @__PURE__ */ t.jsx(
|
148
|
-
|
148
|
+
la,
|
149
149
|
{
|
150
150
|
errorId: l.activeDutyStartDate,
|
151
|
-
locale:
|
151
|
+
locale: h,
|
152
152
|
onChange: (a) => {
|
153
153
|
n("activeDutyStartDate", a), d(
|
154
154
|
"activeDutyStartDate",
|
@@ -161,19 +161,19 @@ const Na = ({
|
|
161
161
|
}
|
162
162
|
),
|
163
163
|
/* @__PURE__ */ t.jsx(
|
164
|
-
|
164
|
+
da,
|
165
165
|
{
|
166
166
|
errorId: l.dischargeDate,
|
167
167
|
onChange: (a) => {
|
168
168
|
n("dischargeDate", a), d("dischargeDate", a, s);
|
169
169
|
},
|
170
170
|
value: e.dischargeDate,
|
171
|
-
locale:
|
171
|
+
locale: h,
|
172
172
|
disabled: (F = o("dischargeDate")) == null ? void 0 : F.disabled
|
173
173
|
}
|
174
174
|
),
|
175
175
|
/* @__PURE__ */ t.jsx(
|
176
|
-
|
176
|
+
na,
|
177
177
|
{
|
178
178
|
value: e.email,
|
179
179
|
isErrored: !!l.email,
|
@@ -187,12 +187,12 @@ const Na = ({
|
|
187
187
|
onChange: (a) => {
|
188
188
|
n("email", a), d("email", a, s);
|
189
189
|
},
|
190
|
-
onKeyDown: (a) =>
|
190
|
+
onKeyDown: (a) => ra(a),
|
191
191
|
disabled: (R = o("email")) == null ? void 0 : R.disabled
|
192
192
|
}
|
193
193
|
),
|
194
194
|
s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled ? /* @__PURE__ */ t.jsx(
|
195
|
-
|
195
|
+
ia,
|
196
196
|
{
|
197
197
|
isRequired: !!s.programTheme.smsLoopEnabled,
|
198
198
|
value: e.phoneNumber,
|
@@ -205,7 +205,7 @@ const Na = ({
|
|
205
205
|
}
|
206
206
|
) : null,
|
207
207
|
m.includes("address1") && /* @__PURE__ */ t.jsx(
|
208
|
-
|
208
|
+
ua,
|
209
209
|
{
|
210
210
|
value: e.address1,
|
211
211
|
isErrored: !!l.address1,
|
@@ -218,7 +218,7 @@ const Na = ({
|
|
218
218
|
}
|
219
219
|
),
|
220
220
|
m.includes("city") && /* @__PURE__ */ t.jsx(
|
221
|
-
|
221
|
+
ma,
|
222
222
|
{
|
223
223
|
value: e.city,
|
224
224
|
isErrored: !!l.city,
|
@@ -231,9 +231,9 @@ const Na = ({
|
|
231
231
|
}
|
232
232
|
),
|
233
233
|
m.includes("state") && /* @__PURE__ */ t.jsx(
|
234
|
-
|
234
|
+
pa,
|
235
235
|
{
|
236
|
-
options:
|
236
|
+
options: Ca(s.programTheme, p),
|
237
237
|
value: e.state || void 0,
|
238
238
|
isErrored: !!l.state,
|
239
239
|
onChange: async (a) => {
|
@@ -242,24 +242,24 @@ const Na = ({
|
|
242
242
|
},
|
243
243
|
label: /* @__PURE__ */ t.jsx(g, { id: "state", defaultMessage: "State" }),
|
244
244
|
disabled: (O = o("state")) == null ? void 0 : O.disabled,
|
245
|
-
isRequired: (
|
245
|
+
isRequired: (k = o("state")) == null ? void 0 : k.requireIfOptional
|
246
246
|
}
|
247
247
|
),
|
248
248
|
m.includes("postalCode") && /* @__PURE__ */ t.jsx(
|
249
|
-
|
249
|
+
ba,
|
250
250
|
{
|
251
|
-
required: (
|
251
|
+
required: (z = o("postalCode")) == null ? void 0 : z.requireIfOptional,
|
252
252
|
isErrored: !!l.postalCode,
|
253
253
|
onChange: (a) => {
|
254
254
|
n("postalCode", a), d("postalCode", a, s);
|
255
255
|
},
|
256
256
|
value: e.postalCode,
|
257
|
-
disabled: (
|
257
|
+
disabled: (A = o("postalCode")) == null ? void 0 : A.disabled
|
258
258
|
}
|
259
259
|
),
|
260
|
-
|
260
|
+
W.customFormFields.map((a) => /* @__PURE__ */ t.jsx(ha, { config: a, verificationService: s })),
|
261
261
|
/* @__PURE__ */ t.jsx(
|
262
|
-
|
262
|
+
ya,
|
263
263
|
{
|
264
264
|
verificationService: s,
|
265
265
|
isErrored: !!l.marketConsentValue,
|
@@ -274,17 +274,17 @@ const Na = ({
|
|
274
274
|
);
|
275
275
|
},
|
276
276
|
viewModel: e,
|
277
|
-
disabled: (
|
277
|
+
disabled: (L = o("marketConsentValue")) == null ? void 0 : L.disabled
|
278
278
|
}
|
279
279
|
),
|
280
|
-
/* @__PURE__ */ t.jsx(
|
280
|
+
/* @__PURE__ */ t.jsx(ga, { verificationService: s, suffix: "CollectAboveSubmit" }),
|
281
281
|
/* @__PURE__ */ t.jsx(
|
282
|
-
|
282
|
+
Ma,
|
283
283
|
{
|
284
284
|
step: i.collectInactiveMilitaryPersonalInfo,
|
285
285
|
verificationService: s,
|
286
286
|
viewModel: e,
|
287
|
-
failedInstantMatch:
|
287
|
+
failedInstantMatch: K,
|
288
288
|
buttonText: /* @__PURE__ */ t.jsx(
|
289
289
|
g,
|
290
290
|
{
|
@@ -298,7 +298,7 @@ const Na = ({
|
|
298
298
|
]
|
299
299
|
}
|
300
300
|
);
|
301
|
-
}, Fa =
|
301
|
+
}, Fa = xa(
|
302
302
|
Na
|
303
303
|
);
|
304
304
|
export {
|