@sheerid/jslib-nightly 2.121.0-alpha.1 → 2.121.0-alpha.2
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__/e2e/ageMultiCountry.spec.d.ts +1 -0
- package/_mysheerid-preview.css +3 -3
- package/_mysheerid-preview.js +3917 -3890
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{EmailLoopPending-Dy8mLFvV.js → EmailLoopPending-CHILFZYc.js} +9 -9
- package/chunk/{EmailLoopPending-Dtf0p85F.js.map → EmailLoopPending-CHILFZYc.js.map} +1 -1
- package/chunk/{EmailLoopPending-Dtf0p85F.js → EmailLoopPending-Nn_H3cfS.js} +9 -9
- package/chunk/{EmailLoopPending-Dy8mLFvV.js.map → EmailLoopPending-Nn_H3cfS.js.map} +1 -1
- package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +3 -3
- package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +3 -3
- package/chunk/Onfido-AyvUk6wg.js +3 -3
- package/chunk/{StepIDCheckLoopOnfido-CmNwFqjD.js → StepIDCheckLoopOnfido-Bl1QfUZZ.js} +9 -9
- package/chunk/{StepIDCheckLoopOnfido-CmNwFqjD.js.map → StepIDCheckLoopOnfido-Bl1QfUZZ.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-DtbplNxs.js → StepIDCheckLoopOnfido-D0kpzIyk.js} +9 -9
- package/chunk/{StepIDCheckLoopOnfido-DtbplNxs.js.map → StepIDCheckLoopOnfido-D0kpzIyk.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-oqf-QxHT.js → StepIDCheckLoopRegula-BkTDnK3G.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-RoX971sR.js.map → StepIDCheckLoopRegula-BkTDnK3G.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-RoX971sR.js → StepIDCheckLoopRegula-D6freNro.js} +5 -5
- package/chunk/{StepIDCheckLoopRegula-oqf-QxHT.js.map → StepIDCheckLoopRegula-D6freNro.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dwda4ALY.js → StepInactiveMilitaryPersonalInfoComponent-CooMPgH1.js} +15 -15
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dwda4ALY.js.map → StepInactiveMilitaryPersonalInfoComponent-CooMPgH1.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-D8OXf0Lu.js → StepInactiveMilitaryPersonalInfoComponent-DTtUadmx.js} +15 -15
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-D8OXf0Lu.js.map → StepInactiveMilitaryPersonalInfoComponent-DTtUadmx.js.map} +1 -1
- package/chunk/ar--TDb5qE5.js +3 -3
- package/chunk/bg-D3cL-ciP.js +3 -3
- package/chunk/bn-IN-CwiPRX5T.js +3 -3
- package/chunk/cs-7pQwm9YC.js +3 -3
- package/chunk/da-C2xASa_G.js +3 -3
- package/chunk/de-D4nlAbMa.js +3 -3
- package/chunk/el-C-PZe5CV.js +3 -3
- package/chunk/en-GB-DXa6bdA_.js +3 -3
- package/chunk/es-BlLBNTpz.js +3 -3
- package/chunk/es-ES-inNoG-F1.js +3 -3
- package/chunk/fi-CcolQnAY.js +3 -3
- package/chunk/fr-BjHvlhn5.js +3 -3
- package/chunk/fr-CA-DD4NnfK-.js +3 -3
- package/chunk/ga-D-rK3PZy.js +3 -3
- package/chunk/hi-IN-B1NQdkcj.js +3 -3
- package/chunk/hr-CwvyeMFM.js +3 -3
- package/chunk/hu-BCZWPgvf.js +3 -3
- package/chunk/id-CRNXXELT.js +3 -3
- package/chunk/{index-CcRowarb.js → index-1Cpf6KJI.js} +4 -4
- package/chunk/{index-CcRowarb.js.map → index-1Cpf6KJI.js.map} +1 -1
- package/chunk/{index-DLz31Fzh.js → index-2ob_KvkC.js} +8 -8
- package/chunk/{index-DLz31Fzh.js.map → index-2ob_KvkC.js.map} +1 -1
- package/chunk/{index-B-PpnUEO.js → index-B4HIyFVA.js} +10 -10
- package/chunk/{index-B-PpnUEO.js.map → index-B4HIyFVA.js.map} +1 -1
- package/chunk/{index-B8KPM--K.js → index-B4PunPFk.js} +9 -9
- package/chunk/{index-C2h0Wj84.js.map → index-B4PunPFk.js.map} +1 -1
- package/chunk/{index-BVQdKC8x.js → index-B5Db6m8t.js} +15 -15
- package/chunk/{index-BVQdKC8x.js.map → index-B5Db6m8t.js.map} +1 -1
- package/chunk/index-BJg9BX3v.js +186 -0
- package/chunk/index-BJg9BX3v.js.map +1 -0
- package/chunk/index-BLIxYZFr.js +182 -0
- package/chunk/index-BLIxYZFr.js.map +1 -0
- package/chunk/{index-Gfy-1H7s.js → index-BU0HFLKm.js} +5 -5
- package/chunk/{index-CTb96lOK.js.map → index-BU0HFLKm.js.map} +1 -1
- package/chunk/{index-BORxVuto.js → index-Bofro8C_.js} +4 -4
- package/chunk/{index-BORxVuto.js.map → index-Bofro8C_.js.map} +1 -1
- package/chunk/{index-j0xHyveJ.js → index-BqUi3r5Z.js} +38 -38
- package/chunk/{index-Bwj4nE_v.js.map → index-BqUi3r5Z.js.map} +1 -1
- package/chunk/{index-Dg8t7-dm.js → index-Br3LkCoX.js} +24 -24
- package/chunk/{index-B8F8N-JM.js.map → index-Br3LkCoX.js.map} +1 -1
- package/chunk/{index-CbyO6gUK.js → index-C4OCK6G0.js} +13 -13
- package/chunk/{index--dYu91RK.js.map → index-C4OCK6G0.js.map} +1 -1
- package/chunk/{index-vy_jalCd.js → index-C8UuTatc.js} +11 -11
- package/chunk/{index-Bfjzcj7g.js.map → index-C8UuTatc.js.map} +1 -1
- package/chunk/{index-C2h0Wj84.js → index-CUH2uSMd.js} +9 -9
- package/chunk/{index-B8KPM--K.js.map → index-CUH2uSMd.js.map} +1 -1
- package/chunk/{index-CTb96lOK.js → index-CVEIzLov.js} +5 -5
- package/chunk/{index-Gfy-1H7s.js.map → index-CVEIzLov.js.map} +1 -1
- package/chunk/{index-DVynViqA.js → index-CcE-GFi6.js} +4 -4
- package/chunk/{index-CeHu2Npu.js.map → index-CcE-GFi6.js.map} +1 -1
- package/chunk/{index-CeHu2Npu.js → index-CjcYFvhf.js} +4 -4
- package/chunk/{index-DVynViqA.js.map → index-CjcYFvhf.js.map} +1 -1
- package/chunk/{index-ZwQAXML1.js → index-Cnc52tkD.js} +26 -26
- package/chunk/{index-ZwQAXML1.js.map → index-Cnc52tkD.js.map} +1 -1
- package/chunk/{index-B8F8N-JM.js → index-CoPQ1aC2.js} +24 -24
- package/chunk/{index-Dg8t7-dm.js.map → index-CoPQ1aC2.js.map} +1 -1
- package/chunk/{index-CHK5i4jj.js → index-Cu25bQnA.js} +10 -10
- package/chunk/{index-CHK5i4jj.js.map → index-Cu25bQnA.js.map} +1 -1
- package/chunk/{index-JZ74-iZZ.js → index-CxH2IKXK.js} +26 -26
- package/chunk/{index-JZ74-iZZ.js.map → index-CxH2IKXK.js.map} +1 -1
- package/chunk/{index-Bwj4nE_v.js → index-CyTruyP6.js} +38 -38
- package/chunk/{index-j0xHyveJ.js.map → index-CyTruyP6.js.map} +1 -1
- package/chunk/{index-DzqRsB7_.js → index-DAE3SOJH.js} +8 -8
- package/chunk/{index-DzqRsB7_.js.map → index-DAE3SOJH.js.map} +1 -1
- package/chunk/{index-Bfjzcj7g.js → index-DCTYdT7J.js} +11 -11
- package/chunk/{index-vy_jalCd.js.map → index-DCTYdT7J.js.map} +1 -1
- package/chunk/{index-DRlGAW07.js → index-DFajPA-e.js} +10 -10
- package/chunk/{index-DRlGAW07.js.map → index-DFajPA-e.js.map} +1 -1
- package/chunk/{index-FjzhfDlx.js → index-DHtYIKVA.js} +8 -8
- package/chunk/{index-FjzhfDlx.js.map → index-DHtYIKVA.js.map} +1 -1
- package/chunk/index-DIkWpujR.js +3 -3
- package/chunk/{index-D_9J6arc.js → index-DJo820YY.js} +16 -16
- package/chunk/{index-D_9J6arc.js.map → index-DJo820YY.js.map} +1 -1
- package/chunk/{index--dYu91RK.js → index-DdQD36Ht.js} +13 -13
- package/chunk/{index-CbyO6gUK.js.map → index-DdQD36Ht.js.map} +1 -1
- package/chunk/{index-DsgCNIS5.js → index-Dg1E2EXp.js} +16 -16
- package/chunk/{index-DsgCNIS5.js.map → index-Dg1E2EXp.js.map} +1 -1
- package/chunk/{index-BTMETMEE.js → index-DljRrdj9.js} +13 -13
- package/chunk/{index-BTMETMEE.js.map → index-DljRrdj9.js.map} +1 -1
- package/chunk/{index-CU0rkVHP.js → index-N20c5WiN.js} +4 -4
- package/chunk/{index-CU0rkVHP.js.map → index-N20c5WiN.js.map} +1 -1
- package/chunk/{index-BD_a0MZT.js → index-SwnUiXjr.js} +10 -10
- package/chunk/{index-BpZoH-Wz.js.map → index-SwnUiXjr.js.map} +1 -1
- package/chunk/{index-_t8SsXjy.js → index-dDH8B6_D.js} +13 -13
- package/chunk/{index-_t8SsXjy.js.map → index-dDH8B6_D.js.map} +1 -1
- package/chunk/{index-C8u9IJUa.js → index-huf3obhv.js} +10 -10
- package/chunk/{index-C8u9IJUa.js.map → index-huf3obhv.js.map} +1 -1
- package/chunk/{index-BpZoH-Wz.js → index-n6fChAZJ.js} +10 -10
- package/chunk/{index-BD_a0MZT.js.map → index-n6fChAZJ.js.map} +1 -1
- package/chunk/{index-BD2bjH-C.js → index-oHEY5B58.js} +4 -4
- package/chunk/{index-BD2bjH-C.js.map → index-oHEY5B58.js.map} +1 -1
- package/chunk/{index-Bb8-qcHi.js → index-xgVNIuKt.js} +15 -15
- package/chunk/{index-Bb8-qcHi.js.map → index-xgVNIuKt.js.map} +1 -1
- package/chunk/{index-Bi9QXN5x.js → index-zX2rojxg.js} +8 -8
- package/chunk/{index-Bi9QXN5x.js.map → index-zX2rojxg.js.map} +1 -1
- package/chunk/is-BFoDLV-f.js +3 -3
- package/chunk/it-B_iK-eSd.js +3 -3
- package/chunk/iw-DL48t5mZ.js +3 -3
- package/chunk/ja-C5bG2SRl.js +3 -3
- package/chunk/ko-CmmVl873.js +3 -3
- package/chunk/lo-DvBsVm-4.js +3 -3
- package/chunk/lt-DWoqI4gx.js +3 -3
- package/chunk/ms-BCHBEoqA.js +3 -3
- package/chunk/nl-BE-DLixID0q.js +3 -3
- package/chunk/nl-CeBqOv0i.js +3 -3
- package/chunk/no-BR2xqD23.js +3 -3
- package/chunk/pl-Dl77tRgW.js +3 -3
- package/chunk/pt-BR--SxHOWht.js +3 -3
- package/chunk/pt-D0bmI49-.js +3 -3
- package/chunk/ro-HCkS3amY.js +3 -3
- package/chunk/ru-BDMi1lvr.js +3 -3
- package/chunk/sk-C4zNHeM6.js +3 -3
- package/chunk/sl-BbQVw1S0.js +3 -3
- package/chunk/sr-8d4sC8Hd.js +3 -3
- package/chunk/sv-B0-e7r_0.js +3 -3
- package/chunk/sw-Bo9F25Vc.js +3 -3
- package/chunk/th-DDuVbwLh.js +3 -3
- package/chunk/tr-CUwkgj2T.js +3 -3
- package/chunk/uk-BPrGA4MJ.js +3 -3
- package/chunk/ur-CIgS3emx.js +3 -3
- package/chunk/useCollectFieldsEndpoint-DFo1yXvN.js +41 -0
- package/chunk/useCollectFieldsEndpoint-DFo1yXvN.js.map +1 -0
- package/chunk/useCollectFieldsEndpoint-DPX8CT4Y.js +45 -0
- package/chunk/useCollectFieldsEndpoint-DPX8CT4Y.js.map +1 -0
- package/chunk/{useEmailFirstExperiment-CgU-itQI.js → useEmailFirstExperiment-DH410dM-.js} +4 -4
- package/chunk/{useEmailFirstExperiment-BbDrKQEs.js.map → useEmailFirstExperiment-DH410dM-.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-BbDrKQEs.js → useEmailFirstExperiment-q-thhCji.js} +4 -4
- package/chunk/{useEmailFirstExperiment-CgU-itQI.js.map → useEmailFirstExperiment-q-thhCji.js.map} +1 -1
- package/chunk/vi-JbWizd9m.js +3 -3
- package/chunk/zh-DjbXrser.js +3 -3
- package/chunk/zh-HK-DXcspp2Y.js +3 -3
- package/chunk/zu-BzwZfIDF.js +3 -3
- package/es6.css +3 -3
- package/jslib.js +24 -24
- package/lib/{EmailLoopPending-dhGN-Z77.js → EmailLoopPending-Xcai4Lwl.js} +10 -10
- package/lib/{EmailLoopPending-dhGN-Z77.js.map → EmailLoopPending-Xcai4Lwl.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-BMyQWD6n.js → LicensedProfessionalOrganizationComponent-Dy5cbJ82.js} +4 -4
- package/lib/{LicensedProfessionalOrganizationComponent-BMyQWD6n.js.map → LicensedProfessionalOrganizationComponent-Dy5cbJ82.js.map} +1 -1
- package/lib/Onfido-AyvUk6wg.js +3 -3
- package/lib/StepCollectMilitaryStatusComponent-UHk5XFMM.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-DdNPIrbt.js.map → StepCollectMilitaryStatusComponent-UHk5XFMM.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-C5tmJcqh.js → StepIDCheckLoopOnfido-LXnu65mo.js} +4 -4
- package/lib/{StepIDCheckLoopOnfido-C5tmJcqh.js.map → StepIDCheckLoopOnfido-LXnu65mo.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-CR4QPRiX.js → StepIDCheckLoopRegula-72S160a_.js} +4 -4
- package/lib/{StepIDCheckLoopRegula-CR4QPRiX.js.map → StepIDCheckLoopRegula-72S160a_.js.map} +1 -1
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BNK7PaTB.js → StepInactiveMilitaryPersonalInfoComponent-DXHxDNnS.js} +14 -14
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-BNK7PaTB.js.map → StepInactiveMilitaryPersonalInfoComponent-DXHxDNnS.js.map} +1 -1
- package/lib/{VerificationApiUtils-wcCsLmma.js → VerificationApiUtils-hISfAgBp.js} +4 -4
- package/lib/{VerificationApiUtils-wcCsLmma.js.map → VerificationApiUtils-hISfAgBp.js.map} +1 -1
- package/lib/ar--TDb5qE5.js +3 -3
- package/lib/bg-D3cL-ciP.js +3 -3
- package/lib/bn-IN-CwiPRX5T.js +3 -3
- package/lib/cs-7pQwm9YC.js +3 -3
- package/lib/da-C2xASa_G.js +3 -3
- package/lib/de-D4nlAbMa.js +3 -3
- package/lib/el-C-PZe5CV.js +3 -3
- package/lib/en-GB-DXa6bdA_.js +3 -3
- package/lib/es-BlLBNTpz.js +3 -3
- package/lib/es-ES-inNoG-F1.js +3 -3
- package/lib/{es6-BpT9St5X.js → es6-xL3m__I5.js} +3349 -3322
- package/lib/es6-xL3m__I5.js.map +1 -0
- package/lib/fi-CcolQnAY.js +3 -3
- package/lib/fr-BjHvlhn5.js +3 -3
- package/lib/fr-CA-DD4NnfK-.js +3 -3
- package/lib/ga-D-rK3PZy.js +3 -3
- package/lib/hi-IN-B1NQdkcj.js +3 -3
- package/lib/hr-CwvyeMFM.js +3 -3
- package/lib/hu-BCZWPgvf.js +3 -3
- package/lib/id-CRNXXELT.js +3 -3
- package/lib/{index-CtNFLjIw.js → index-8jGmDLZD.js} +20 -20
- package/lib/{index-CtNFLjIw.js.map → index-8jGmDLZD.js.map} +1 -1
- package/lib/{index-D1hSOsdT.js → index-9pfffUvm.js} +4 -4
- package/lib/{index-D1hSOsdT.js.map → index-9pfffUvm.js.map} +1 -1
- package/lib/index-B1tI1pe_.js +184 -0
- package/lib/index-B1tI1pe_.js.map +1 -0
- package/lib/{index-V3uzIW9K.js → index-BEGqsmLK.js} +19 -19
- package/lib/{index-V3uzIW9K.js.map → index-BEGqsmLK.js.map} +1 -1
- package/lib/{index-DJ01tBj4.js → index-BReHV25J.js} +21 -21
- package/lib/{index-DJ01tBj4.js.map → index-BReHV25J.js.map} +1 -1
- package/lib/{index-CvGLoFsW.js → index-BptHGyUa.js} +4 -4
- package/lib/{index-CvGLoFsW.js.map → index-BptHGyUa.js.map} +1 -1
- package/lib/{index-CBnC1N7w.js → index-C-t0a0Lj.js} +4 -4
- package/lib/{index-CBnC1N7w.js.map → index-C-t0a0Lj.js.map} +1 -1
- package/lib/{index-BJ8zkkLO.js → index-C7V-C0vE.js} +31 -31
- package/lib/{index-BJ8zkkLO.js.map → index-C7V-C0vE.js.map} +1 -1
- package/lib/{index-TQRWS3PQ.js → index-CaliIbn5.js} +4 -4
- package/lib/{index-TQRWS3PQ.js.map → index-CaliIbn5.js.map} +1 -1
- package/lib/{index-B8BGLhnE.js → index-CwQiPAym.js} +6 -6
- package/lib/{index-B8BGLhnE.js.map → index-CwQiPAym.js.map} +1 -1
- package/lib/{index-C4fxtLKf.js → index-D8-LDGhG.js} +4 -4
- package/lib/{index-C4fxtLKf.js.map → index-D8-LDGhG.js.map} +1 -1
- package/lib/{index-BOuy0Das.js → index-DE7dAkj2.js} +21 -21
- package/lib/{index-BOuy0Das.js.map → index-DE7dAkj2.js.map} +1 -1
- package/lib/{index-BMflxsN8.js → index-DFLP947i.js} +5 -5
- package/lib/{index-BMflxsN8.js.map → index-DFLP947i.js.map} +1 -1
- package/lib/index-DIkWpujR.js +3 -3
- package/lib/index-DeN7haxH.js +11 -0
- package/lib/index-DeN7haxH.js.map +1 -0
- package/lib/{index-DrlR-TWK.js → index-DkPqk4Bw.js} +18 -18
- package/lib/{index-DrlR-TWK.js.map → index-DkPqk4Bw.js.map} +1 -1
- package/lib/index-DzVMMsxf.js +11 -0
- package/lib/index-DzVMMsxf.js.map +1 -0
- package/lib/{index-SOMtJBRq.js → index-QY_uioiS.js} +16 -16
- package/lib/{index-SOMtJBRq.js.map → index-QY_uioiS.js.map} +1 -1
- package/lib/{index-B341hf1b.js → index-SlDhBQsW.js} +14 -14
- package/lib/{index-B341hf1b.js.map → index-SlDhBQsW.js.map} +1 -1
- package/lib/{index-C7Pwk3OQ.js → index-bmHYIEto.js} +23 -23
- package/lib/{index-C7Pwk3OQ.js.map → index-bmHYIEto.js.map} +1 -1
- package/lib/{index-LaQxGNP4.js → index-iqYpz7gJ.js} +32 -32
- package/lib/{index-LaQxGNP4.js.map → index-iqYpz7gJ.js.map} +1 -1
- package/lib/{index-CaKrD30S.js → index-jI9X9xIu.js} +4 -4
- package/lib/{index-CaKrD30S.js.map → index-jI9X9xIu.js.map} +1 -1
- package/lib/index-o8m4-24M.js +11 -0
- package/lib/index-o8m4-24M.js.map +1 -0
- package/lib/index-xsgKyI_t.js +11 -0
- package/lib/index-xsgKyI_t.js.map +1 -0
- package/lib/is-BFoDLV-f.js +3 -3
- package/lib/it-B_iK-eSd.js +3 -3
- package/lib/iw-DL48t5mZ.js +3 -3
- package/lib/ja-C5bG2SRl.js +3 -3
- package/lib/ko-CmmVl873.js +3 -3
- package/lib/lo-DvBsVm-4.js +3 -3
- package/lib/lt-DWoqI4gx.js +3 -3
- package/lib/ms-BCHBEoqA.js +3 -3
- package/lib/nl-BE-DLixID0q.js +3 -3
- package/lib/nl-CeBqOv0i.js +3 -3
- package/lib/no-BR2xqD23.js +3 -3
- package/lib/pl-Dl77tRgW.js +3 -3
- package/lib/pt-BR--SxHOWht.js +3 -3
- package/lib/pt-D0bmI49-.js +3 -3
- package/lib/ro-HCkS3amY.js +3 -3
- package/lib/ru-BDMi1lvr.js +3 -3
- package/lib/sk-C4zNHeM6.js +3 -3
- package/lib/sl-BbQVw1S0.js +3 -3
- package/lib/sr-8d4sC8Hd.js +3 -3
- package/lib/sv-B0-e7r_0.js +3 -3
- package/lib/sw-Bo9F25Vc.js +3 -3
- package/lib/th-DDuVbwLh.js +3 -3
- package/lib/tr-CUwkgj2T.js +3 -3
- package/lib/uk-BPrGA4MJ.js +3 -3
- package/lib/ur-CIgS3emx.js +3 -3
- package/lib/useCollectFieldsEndpoint-aaOGG3yi.js +43 -0
- package/lib/useCollectFieldsEndpoint-aaOGG3yi.js.map +1 -0
- package/lib/{useEmailFirstExperiment-DzxkyCiX.js → useEmailFirstExperiment-D-Vzg93l.js} +4 -4
- package/lib/{useEmailFirstExperiment-DzxkyCiX.js.map → useEmailFirstExperiment-D-Vzg93l.js.map} +1 -1
- package/lib/vi-JbWizd9m.js +3 -3
- package/lib/zh-DjbXrser.js +3 -3
- package/lib/zh-HK-DXcspp2Y.js +3 -3
- package/lib/zu-BzwZfIDF.js +3 -3
- package/package.json +1 -1
- package/sheerid-install.css +3 -3
- package/sheerid-install.js +4 -4
- package/sheerid.css +3 -3
- package/sheerid.js +4307 -4280
- package/sheerid.js.map +1 -1
- package/src/lib/types/types.d.ts +6 -1
- package/types-reference.zip +0 -0
- package/chunk/index-BZHyRleL.js +0 -193
- package/chunk/index-BZHyRleL.js.map +0 -1
- package/chunk/index-CHicl-ag.js +0 -189
- package/chunk/index-CHicl-ag.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js +0 -41
- package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js.map +0 -1
- package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js +0 -37
- package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js.map +0 -1
- package/lib/StepCollectMilitaryStatusComponent-DdNPIrbt.js +0 -11
- package/lib/es6-BpT9St5X.js.map +0 -1
- package/lib/index-B9sss0ph.js +0 -11
- package/lib/index-B9sss0ph.js.map +0 -1
- package/lib/index-BsQFqKYo.js +0 -191
- package/lib/index-BsQFqKYo.js.map +0 -1
- package/lib/index-Dc-WpfHG.js +0 -11
- package/lib/index-Dc-WpfHG.js.map +0 -1
- package/lib/index-Df4a3Zrj.js +0 -11
- package/lib/index-Df4a3Zrj.js.map +0 -1
- package/lib/index-Dnz7kL_i.js +0 -11
- package/lib/index-Dnz7kL_i.js.map +0 -1
- package/lib/useCollectFieldsEndpoint-k_TbEEZ5.js +0 -39
- package/lib/useCollectFieldsEndpoint-k_TbEEZ5.js.map +0 -1
@@ -0,0 +1,186 @@
|
|
1
|
+
|
2
|
+
/**
|
3
|
+
* WARNING: This file is intended to be used within MySheerID.
|
4
|
+
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
|
+
*/
|
6
|
+
/**
|
7
|
+
* VERSION: 2.121.0-alpha.2
|
8
|
+
* BUILD_TIMESTAMP: 1754415866350
|
9
|
+
* BUILD_DATE: Tue Aug 05 2025 17:44:26 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 091dfb82603775b7de0bf8cf799f963fc4950e98
|
11
|
+
*/
|
12
|
+
import { i as V, h as k, $ as A, a0 as q, d as B, R as L, f as d, j as o, v as w, w as H, P as U, x as W, T as K, g as l, y as O, z, X as G, a1 as X, B as $, D as J, E as Q, e as Y, G as Z, H as _, M as S, I as v, k as ee, V as se, b as ae, a2 as oe } from "../_mysheerid-preview.js";
|
13
|
+
import { u as te } from "./useCollectFieldsEndpoint-DPX8CT4Y.js";
|
14
|
+
const de = ({ verificationService: s, intl: j }) => {
|
15
|
+
var p, C, h, b, i, g, N, x, y;
|
16
|
+
const a = s.viewModel, { fieldValidationErrors: t } = s, r = s.verificationResponse, E = k(r), I = A(
|
17
|
+
s.programTheme,
|
18
|
+
j
|
19
|
+
), F = q(I), m = B(() => a.countryChoice.value, F.value), M = m === "US" ? [{ key: "postalCode" }] : [], c = m !== "US" || s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled, f = m !== "US" || s.programTheme.smsLoopEnabled, P = a.localeChoice.value, D = H();
|
20
|
+
!t.phoneNumber && r.errorIds && r.errorIds.includes("invalidPhoneNumber") && s.updateFieldValidationErrors({
|
21
|
+
...t,
|
22
|
+
phoneNumber: "invalidPhoneNumber"
|
23
|
+
});
|
24
|
+
const n = (e, R) => {
|
25
|
+
const T = oe(a, e, R);
|
26
|
+
s.updateViewModel(T);
|
27
|
+
}, { isFieldRequired: u } = te({
|
28
|
+
verificationId: r.verificationId,
|
29
|
+
currentStep: r.currentStep,
|
30
|
+
viewModel: a,
|
31
|
+
defaultRequiredFields: M
|
32
|
+
});
|
33
|
+
return L.useEffect(() => {
|
34
|
+
d("phoneNumber", a.phoneNumber, s);
|
35
|
+
}, [a.country]), /* @__PURE__ */ o.jsxs(
|
36
|
+
w,
|
37
|
+
{
|
38
|
+
verificationService: s,
|
39
|
+
step: r.currentStep,
|
40
|
+
children: [
|
41
|
+
/* @__PURE__ */ o.jsx(U, { verificationService: s, classNameIdentifier: "age" }),
|
42
|
+
/* @__PURE__ */ o.jsx(W, { verificationService: s }),
|
43
|
+
/* @__PURE__ */ o.jsx(
|
44
|
+
K,
|
45
|
+
{
|
46
|
+
verificationService: s,
|
47
|
+
disabled: (p = l("country")) == null ? void 0 : p.disabled
|
48
|
+
}
|
49
|
+
),
|
50
|
+
/* @__PURE__ */ o.jsxs("div", { className: "sid-names", children: [
|
51
|
+
/* @__PURE__ */ o.jsx(
|
52
|
+
O,
|
53
|
+
{
|
54
|
+
value: a.firstName,
|
55
|
+
isErrored: !!t.firstName,
|
56
|
+
disabled: (C = l("firstName")) == null ? void 0 : C.disabled,
|
57
|
+
onChange: (e) => {
|
58
|
+
n("firstName", e), d("firstName", e, s);
|
59
|
+
}
|
60
|
+
}
|
61
|
+
),
|
62
|
+
/* @__PURE__ */ o.jsx(
|
63
|
+
z,
|
64
|
+
{
|
65
|
+
value: a.lastName,
|
66
|
+
isErrored: !!t.lastName,
|
67
|
+
disabled: (h = l("lastName")) == null ? void 0 : h.disabled,
|
68
|
+
onChange: (e) => {
|
69
|
+
n("lastName", e), d("lastName", e, s);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
)
|
73
|
+
] }),
|
74
|
+
/* @__PURE__ */ o.jsx(
|
75
|
+
G,
|
76
|
+
{
|
77
|
+
errorId: t.birthDate,
|
78
|
+
locale: P,
|
79
|
+
onChange: (e) => {
|
80
|
+
n("birthDate", e), d("birthDate", e, s);
|
81
|
+
},
|
82
|
+
value: a.birthDate,
|
83
|
+
disabled: (b = l("birthDate")) == null ? void 0 : b.disabled
|
84
|
+
}
|
85
|
+
),
|
86
|
+
u("city") && /* @__PURE__ */ o.jsx(
|
87
|
+
X,
|
88
|
+
{
|
89
|
+
value: a.city,
|
90
|
+
isRequired: !0,
|
91
|
+
isErrored: !!t.city,
|
92
|
+
errorId: t.city,
|
93
|
+
disabled: (i = l("city")) == null ? void 0 : i.disabled,
|
94
|
+
onChange: (e) => {
|
95
|
+
n("city", e), d("city", e, s);
|
96
|
+
}
|
97
|
+
}
|
98
|
+
),
|
99
|
+
u("address1") && /* @__PURE__ */ o.jsx(
|
100
|
+
$,
|
101
|
+
{
|
102
|
+
value: a.address1,
|
103
|
+
isRequired: !0,
|
104
|
+
isErrored: !!t.address1,
|
105
|
+
errorId: t.address1,
|
106
|
+
onChange: (e) => {
|
107
|
+
n("address1", e), d("address1", e, s);
|
108
|
+
}
|
109
|
+
}
|
110
|
+
),
|
111
|
+
u("postalCode") && /* @__PURE__ */ o.jsx(
|
112
|
+
J,
|
113
|
+
{
|
114
|
+
isErrored: !!t.postalCode,
|
115
|
+
onChange: (e) => {
|
116
|
+
n("postalCode", e), d("postalCode", e, s);
|
117
|
+
},
|
118
|
+
value: a.postalCode,
|
119
|
+
disabled: (g = l("postalCode")) == null ? void 0 : g.disabled
|
120
|
+
}
|
121
|
+
),
|
122
|
+
/* @__PURE__ */ o.jsx(
|
123
|
+
Q,
|
124
|
+
{
|
125
|
+
value: a.email,
|
126
|
+
isErrored: !!t.email,
|
127
|
+
onChange: (e) => {
|
128
|
+
n("email", e), d("email", e, s);
|
129
|
+
},
|
130
|
+
onKeyDown: (e) => Y(e),
|
131
|
+
disabled: (N = l("email")) == null ? void 0 : N.disabled
|
132
|
+
}
|
133
|
+
),
|
134
|
+
c ? /* @__PURE__ */ o.jsx(
|
135
|
+
Z,
|
136
|
+
{
|
137
|
+
isRequired: f,
|
138
|
+
value: a.phoneNumber,
|
139
|
+
isErrored: !!t.phoneNumber,
|
140
|
+
onChange: (e) => {
|
141
|
+
n("phoneNumber", e), d("phoneNumber", e, s);
|
142
|
+
},
|
143
|
+
selectedCountryCode: a.countryChoice && a.countryChoice.value,
|
144
|
+
disabled: (x = l("phoneNumber")) == null ? void 0 : x.disabled
|
145
|
+
}
|
146
|
+
) : null,
|
147
|
+
D.customFormFields.map((e) => /* @__PURE__ */ o.jsx(_, { config: e, verificationService: s })),
|
148
|
+
/* @__PURE__ */ o.jsx(
|
149
|
+
S,
|
150
|
+
{
|
151
|
+
verificationService: s,
|
152
|
+
isErrored: !!t.marketConsentValue,
|
153
|
+
onChange: (e) => {
|
154
|
+
n("metadata", {
|
155
|
+
...s.viewModel.metadata,
|
156
|
+
marketConsentValue: e
|
157
|
+
}), d("marketConsentValue", e, s);
|
158
|
+
},
|
159
|
+
viewModel: a,
|
160
|
+
disabled: (y = l("marketConsentValue")) == null ? void 0 : y.disabled
|
161
|
+
}
|
162
|
+
),
|
163
|
+
/* @__PURE__ */ o.jsx(v, { verificationService: s, suffix: "CollectAboveSubmit" }),
|
164
|
+
/* @__PURE__ */ o.jsx(
|
165
|
+
ee,
|
166
|
+
{
|
167
|
+
step: se.collectAgePersonalInfo,
|
168
|
+
verificationService: s,
|
169
|
+
viewModel: a,
|
170
|
+
failedInstantMatch: E,
|
171
|
+
buttonText: /* @__PURE__ */ o.jsx(
|
172
|
+
ae,
|
173
|
+
{
|
174
|
+
id: "step.personalInfo.submitButtonText",
|
175
|
+
defaultMessage: "Verify and continue"
|
176
|
+
}
|
177
|
+
)
|
178
|
+
}
|
179
|
+
)
|
180
|
+
]
|
181
|
+
}
|
182
|
+
);
|
183
|
+
}, re = V(de);
|
184
|
+
export {
|
185
|
+
re as default
|
186
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-BJg9BX3v.js","sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { getSafe } from \"../../lib/utils/getSafe\";\nimport {\n VerificationService,\n AgePersonalInfoViewModel,\n AgePersonalInfoResponse,\n FormSelectChoice,\n Country,\n FieldDescription,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"names":["StepAgePersonalInfo","verificationService","intl","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","countryChoices","getAvailableCountryChoices","defaultCountryChoice","getDefaultCountryChoice","safeCountryValue","getSafe","defaultRequiredFields","showPhoneNumber","phoneNumberRequired","locale","options","getOptions","updateAgeViewModel","key","value","nextState","produceDraftViewModel","isFieldRequired","useCollectFieldsEndpoint","React","updateFieldValidationErrorsByFieldId","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","CountryComponentWrapper","_a","getFieldConfigByFieldId","FirstName","_b","newValue","LastName","_c","BirthDate","_d","CityComponent","_e","AddressComponent","PostalCode","_f","Email","event","handleEmailOnKeyDown","_g","PhoneNumber","_h","config","FormFieldCustom","MarketConsentWrapper","_i","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","FormattedHTMLMessage","StepAgePersonalInfoComponent","injectIntl"],"mappings":";;AAqDA,MAAMA,KAAsB,CAAC,EAAE,qBAAAC,GAAqB,MAAAC,QAA8C;;AAChG,QAAMC,IAAYF,EAAoB,WAChC,EAAE,uBAAAG,MAA0BH,GAC5BI,IAAuBJ,EAAoB,sBAC3CK,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAsDC;AAAA,IAC1DR,EAAoB;AAAA,IACpBC;AAAA,EACF,GACMQ,IACJC,EAAwBH,CAAc,GAClCI,IAAmBC,EAAQ,MAAMV,EAAU,cAAc,OAAOO,EAAqB,KAAK,GAC1FI,IACJF,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAc,CAAA,IAAI,CAAC,GAGnDG,IACJH,MAAqB,QACrBX,EAAoB,aAAa,2BACjCA,EAAoB,aAAa,gBAC7Be,IACJJ,MAAqB,QAAQX,EAAoB,aAAa,gBAE1DgB,IAASd,EAAU,aAAa,OAChCe,IAAUC,EAAW;AAGzB,EAAA,CAACf,EAAsB,eACvBC,EAAqB,YACrBA,EAAqB,SAAS,SAAS,oBAAoB,K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Time)
|
6
|
+
* BUILD_COMMIT: 091dfb82603775b7de0bf8cf799f963fc4950e98
|
7
|
+
*/
|
8
|
+
import { i as V, h as k, $ as A, a0 as q, d as B, R as L, f as d, j as o, v as w, w as H, P as U, x as W, T as K, g as l, y as O, z, X as G, a1 as X, B as $, D as J, E as Q, e as Y, G as Z, H as _, M as S, I as v, k as ee, V as se, b as ae, a2 as oe } from "../sheerid.js";
|
9
|
+
import { u as te } from "./useCollectFieldsEndpoint-DFo1yXvN.js";
|
10
|
+
const de = ({ verificationService: s, intl: j }) => {
|
11
|
+
var p, C, h, b, i, g, N, x, y;
|
12
|
+
const a = s.viewModel, { fieldValidationErrors: t } = s, r = s.verificationResponse, E = k(r), I = A(
|
13
|
+
s.programTheme,
|
14
|
+
j
|
15
|
+
), F = q(I), m = B(() => a.countryChoice.value, F.value), M = m === "US" ? [{ key: "postalCode" }] : [], c = m !== "US" || s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled, f = m !== "US" || s.programTheme.smsLoopEnabled, P = a.localeChoice.value, D = H();
|
16
|
+
!t.phoneNumber && r.errorIds && r.errorIds.includes("invalidPhoneNumber") && s.updateFieldValidationErrors({
|
17
|
+
...t,
|
18
|
+
phoneNumber: "invalidPhoneNumber"
|
19
|
+
});
|
20
|
+
const n = (e, R) => {
|
21
|
+
const T = oe(a, e, R);
|
22
|
+
s.updateViewModel(T);
|
23
|
+
}, { isFieldRequired: u } = te({
|
24
|
+
verificationId: r.verificationId,
|
25
|
+
currentStep: r.currentStep,
|
26
|
+
viewModel: a,
|
27
|
+
defaultRequiredFields: M
|
28
|
+
});
|
29
|
+
return L.useEffect(() => {
|
30
|
+
d("phoneNumber", a.phoneNumber, s);
|
31
|
+
}, [a.country]), /* @__PURE__ */ o.jsxs(
|
32
|
+
w,
|
33
|
+
{
|
34
|
+
verificationService: s,
|
35
|
+
step: r.currentStep,
|
36
|
+
children: [
|
37
|
+
/* @__PURE__ */ o.jsx(U, { verificationService: s, classNameIdentifier: "age" }),
|
38
|
+
/* @__PURE__ */ o.jsx(W, { verificationService: s }),
|
39
|
+
/* @__PURE__ */ o.jsx(
|
40
|
+
K,
|
41
|
+
{
|
42
|
+
verificationService: s,
|
43
|
+
disabled: (p = l("country")) == null ? void 0 : p.disabled
|
44
|
+
}
|
45
|
+
),
|
46
|
+
/* @__PURE__ */ o.jsxs("div", { className: "sid-names", children: [
|
47
|
+
/* @__PURE__ */ o.jsx(
|
48
|
+
O,
|
49
|
+
{
|
50
|
+
value: a.firstName,
|
51
|
+
isErrored: !!t.firstName,
|
52
|
+
disabled: (C = l("firstName")) == null ? void 0 : C.disabled,
|
53
|
+
onChange: (e) => {
|
54
|
+
n("firstName", e), d("firstName", e, s);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
),
|
58
|
+
/* @__PURE__ */ o.jsx(
|
59
|
+
z,
|
60
|
+
{
|
61
|
+
value: a.lastName,
|
62
|
+
isErrored: !!t.lastName,
|
63
|
+
disabled: (h = l("lastName")) == null ? void 0 : h.disabled,
|
64
|
+
onChange: (e) => {
|
65
|
+
n("lastName", e), d("lastName", e, s);
|
66
|
+
}
|
67
|
+
}
|
68
|
+
)
|
69
|
+
] }),
|
70
|
+
/* @__PURE__ */ o.jsx(
|
71
|
+
G,
|
72
|
+
{
|
73
|
+
errorId: t.birthDate,
|
74
|
+
locale: P,
|
75
|
+
onChange: (e) => {
|
76
|
+
n("birthDate", e), d("birthDate", e, s);
|
77
|
+
},
|
78
|
+
value: a.birthDate,
|
79
|
+
disabled: (b = l("birthDate")) == null ? void 0 : b.disabled
|
80
|
+
}
|
81
|
+
),
|
82
|
+
u("city") && /* @__PURE__ */ o.jsx(
|
83
|
+
X,
|
84
|
+
{
|
85
|
+
value: a.city,
|
86
|
+
isRequired: !0,
|
87
|
+
isErrored: !!t.city,
|
88
|
+
errorId: t.city,
|
89
|
+
disabled: (i = l("city")) == null ? void 0 : i.disabled,
|
90
|
+
onChange: (e) => {
|
91
|
+
n("city", e), d("city", e, s);
|
92
|
+
}
|
93
|
+
}
|
94
|
+
),
|
95
|
+
u("address1") && /* @__PURE__ */ o.jsx(
|
96
|
+
$,
|
97
|
+
{
|
98
|
+
value: a.address1,
|
99
|
+
isRequired: !0,
|
100
|
+
isErrored: !!t.address1,
|
101
|
+
errorId: t.address1,
|
102
|
+
onChange: (e) => {
|
103
|
+
n("address1", e), d("address1", e, s);
|
104
|
+
}
|
105
|
+
}
|
106
|
+
),
|
107
|
+
u("postalCode") && /* @__PURE__ */ o.jsx(
|
108
|
+
J,
|
109
|
+
{
|
110
|
+
isErrored: !!t.postalCode,
|
111
|
+
onChange: (e) => {
|
112
|
+
n("postalCode", e), d("postalCode", e, s);
|
113
|
+
},
|
114
|
+
value: a.postalCode,
|
115
|
+
disabled: (g = l("postalCode")) == null ? void 0 : g.disabled
|
116
|
+
}
|
117
|
+
),
|
118
|
+
/* @__PURE__ */ o.jsx(
|
119
|
+
Q,
|
120
|
+
{
|
121
|
+
value: a.email,
|
122
|
+
isErrored: !!t.email,
|
123
|
+
onChange: (e) => {
|
124
|
+
n("email", e), d("email", e, s);
|
125
|
+
},
|
126
|
+
onKeyDown: (e) => Y(e),
|
127
|
+
disabled: (N = l("email")) == null ? void 0 : N.disabled
|
128
|
+
}
|
129
|
+
),
|
130
|
+
c ? /* @__PURE__ */ o.jsx(
|
131
|
+
Z,
|
132
|
+
{
|
133
|
+
isRequired: f,
|
134
|
+
value: a.phoneNumber,
|
135
|
+
isErrored: !!t.phoneNumber,
|
136
|
+
onChange: (e) => {
|
137
|
+
n("phoneNumber", e), d("phoneNumber", e, s);
|
138
|
+
},
|
139
|
+
selectedCountryCode: a.countryChoice && a.countryChoice.value,
|
140
|
+
disabled: (x = l("phoneNumber")) == null ? void 0 : x.disabled
|
141
|
+
}
|
142
|
+
) : null,
|
143
|
+
D.customFormFields.map((e) => /* @__PURE__ */ o.jsx(_, { config: e, verificationService: s })),
|
144
|
+
/* @__PURE__ */ o.jsx(
|
145
|
+
S,
|
146
|
+
{
|
147
|
+
verificationService: s,
|
148
|
+
isErrored: !!t.marketConsentValue,
|
149
|
+
onChange: (e) => {
|
150
|
+
n("metadata", {
|
151
|
+
...s.viewModel.metadata,
|
152
|
+
marketConsentValue: e
|
153
|
+
}), d("marketConsentValue", e, s);
|
154
|
+
},
|
155
|
+
viewModel: a,
|
156
|
+
disabled: (y = l("marketConsentValue")) == null ? void 0 : y.disabled
|
157
|
+
}
|
158
|
+
),
|
159
|
+
/* @__PURE__ */ o.jsx(v, { verificationService: s, suffix: "CollectAboveSubmit" }),
|
160
|
+
/* @__PURE__ */ o.jsx(
|
161
|
+
ee,
|
162
|
+
{
|
163
|
+
step: se.collectAgePersonalInfo,
|
164
|
+
verificationService: s,
|
165
|
+
viewModel: a,
|
166
|
+
failedInstantMatch: E,
|
167
|
+
buttonText: /* @__PURE__ */ o.jsx(
|
168
|
+
ae,
|
169
|
+
{
|
170
|
+
id: "step.personalInfo.submitButtonText",
|
171
|
+
defaultMessage: "Verify and continue"
|
172
|
+
}
|
173
|
+
)
|
174
|
+
}
|
175
|
+
)
|
176
|
+
]
|
177
|
+
}
|
178
|
+
);
|
179
|
+
}, re = V(de);
|
180
|
+
export {
|
181
|
+
re as default
|
182
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-BLIxYZFr.js","sources":["../../src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, InjectedIntl, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport { getSafe } from \"../../lib/utils/getSafe\";\nimport {\n VerificationService,\n AgePersonalInfoViewModel,\n AgePersonalInfoResponse,\n FormSelectChoice,\n Country,\n FieldDescription,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n getAvailableCountryChoices,\n getDefaultCountryChoice,\n produceDraftViewModel,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\n\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { CityComponent } from \"../FormFields/City/City\";\nimport { AddressComponent } from \"../FormFields/Address/AddressComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepAgePersonalInfoComponentProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepAgePersonalInfo = ({ verificationService, intl }: StepAgePersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as AgePersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as AgePersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const countryChoices: FormSelectChoice<Country, string>[] = getAvailableCountryChoices(\n verificationService.programTheme,\n intl,\n );\n const defaultCountryChoice: FormSelectChoice<Country, string> =\n getDefaultCountryChoice(countryChoices);\n const safeCountryValue = getSafe(() => viewModel.countryChoice.value, defaultCountryChoice.value);\n const defaultRequiredFields: FieldDescription[] =\n safeCountryValue === \"US\" ? [{ key: \"postalCode\" }] : [];\n\n // PhoneNumber is required for all non-US age programs and if smsLoop is enabled.\n const showPhoneNumber =\n safeCountryValue !== \"US\" ||\n verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled;\n const phoneNumberRequired =\n safeCountryValue !== \"US\" || verificationService.programTheme.smsLoopEnabled;\n\n const locale = viewModel.localeChoice.value;\n const options = getOptions();\n\n if (\n !fieldValidationErrors.phoneNumber &&\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"invalidPhoneNumber\")\n ) {\n verificationService.updateFieldValidationErrors({\n ...fieldValidationErrors,\n phoneNumber: \"invalidPhoneNumber\",\n });\n }\n\n const updateAgeViewModel = (key: keyof AgePersonalInfoViewModel, value: any) => {\n const nextState: AgePersonalInfoViewModel = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldRequired } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n defaultRequiredFields,\n });\n\n React.useEffect(() => {\n // When country changes re-check the phone number validation\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", viewModel.phoneNumber, verificationService);\n }, [viewModel.country]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader verificationService={verificationService} classNameIdentifier=\"age\" />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateAgeViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n onChange={(newValue) => {\n updateAgeViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n {isFieldRequired(\"city\") && (\n <CityComponent\n value={viewModel.city}\n isRequired\n isErrored={!!fieldValidationErrors.city}\n errorId={fieldValidationErrors.city}\n disabled={getFieldConfigByFieldId(\"city\")?.disabled}\n onChange={(value) => {\n updateAgeViewModel(\"city\", value);\n updateFieldValidationErrorsByFieldId(\"city\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"address1\") && (\n <AddressComponent\n value={viewModel.address1}\n isRequired\n isErrored={!!fieldValidationErrors.address1}\n errorId={fieldValidationErrors.address1}\n onChange={(value) => {\n updateAgeViewModel(\"address1\", value);\n updateFieldValidationErrorsByFieldId(\"address1\", value, verificationService);\n }}\n />\n )}\n {isFieldRequired(\"postalCode\") && (\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateAgeViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n onChange={(newValue) => {\n updateAgeViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n {showPhoneNumber ? (\n <PhoneNumber\n isRequired={phoneNumberRequired}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateAgeViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateAgeViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectAgePersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepAgePersonalInfoComponent = injectIntl(StepAgePersonalInfo);\n"],"names":["StepAgePersonalInfo","verificationService","intl","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","countryChoices","getAvailableCountryChoices","defaultCountryChoice","getDefaultCountryChoice","safeCountryValue","getSafe","defaultRequiredFields","showPhoneNumber","phoneNumberRequired","locale","options","getOptions","updateAgeViewModel","key","value","nextState","produceDraftViewModel","isFieldRequired","useCollectFieldsEndpoint","React","updateFieldValidationErrorsByFieldId","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","CountryComponentWrapper","_a","getFieldConfigByFieldId","FirstName","_b","newValue","LastName","_c","BirthDate","_d","CityComponent","_e","AddressComponent","PostalCode","_f","Email","event","handleEmailOnKeyDown","_g","PhoneNumber","_h","config","FormFieldCustom","MarketConsentWrapper","_i","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","FormattedHTMLMessage","StepAgePersonalInfoComponent","injectIntl"],"mappings":";;AAqDA,MAAMA,KAAsB,CAAC,EAAE,qBAAAC,GAAqB,MAAAC,QAA8C;;AAChG,QAAMC,IAAYF,EAAoB,WAChC,EAAE,uBAAAG,MAA0BH,GAC5BI,IAAuBJ,EAAoB,sBAC3CK,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAsDC;AAAA,IAC1DR,EAAoB;AAAA,IACpBC;AAAA,EACF,GACMQ,IACJC,EAAwBH,CAAc,GAClCI,IAAmBC,EAAQ,MAAMV,EAAU,cAAc,OAAOO,EAAqB,KAAK,GAC1FI,IACJF,MAAqB,OAAO,CAAC,EAAE,KAAK,aAAc,CAAA,IAAI,CAAC,GAGnDG,IACJH,MAAqB,QACrBX,EAAoB,aAAa,2BACjCA,EAAoB,aAAa,gBAC7Be,IACJJ,MAAqB,QAAQX,EAAoB,aAAa,gBAE1DgB,IAASd,EAAU,aAAa,OAChCe,IAAUC,EAAW;AAGzB,EAAA,CAACf,EAAsB,eACvBC,EAAqB,YACrBA,EAAqB,SAAS,SAAS,oBAAoB,KAE3DJ,EAAoB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754415801298
|
5
|
+
* BUILD_DATE: Tue Aug 05 2025 17:43:21 GMT+0000 (Coordinated Universal Time)
|
6
6
|
* BUILD_COMMIT: 091dfb82603775b7de0bf8cf799f963fc4950e98
|
7
7
|
*/
|
8
|
-
import { j as s, L as c, b as a, A as p,
|
9
|
-
import { EmailLoopPendingComponent as f } from "./EmailLoopPending-
|
8
|
+
import { j as s, L as c, b as a, A as p, Q as g, N as u, V as d, m as x, f as b, l as j, n as h, i as E } from "../sheerid.js";
|
9
|
+
import { EmailLoopPendingComponent as f } from "./EmailLoopPending-CHILFZYc.js";
|
10
10
|
const L = ({
|
11
11
|
verificationService: e
|
12
12
|
}) => {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index-CTb96lOK.js","sources":["../../src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx","../../src/components/StepEmailLoop/StepEmailLoopComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { FormFieldText } from \"../FormFields/FormFieldText/FormFieldText\";\nimport {\n updateFieldValidationErrorsByFieldId,\n submitForm,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n EmailLoopCollectOrganizationEmailViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import React from \"react\";\nimport { injectIntl, InjectedIntl } from \"react-intl\";\n\nimport { EmailLoopResponse, VerificationService } from \"../../lib/types/types\";\n\nimport { EmailLoopCollectOrganizationEmail } from \"./EmailLoopCollectOrganizationEmail\";\nimport { EmailLoopPendingComponent } from \"./EmailLoopPending\";\n\nexport interface StepEmailLoopComponentProps {\n // eslint-disable-next-line react/no-unused-prop-types -- this prop type is reused in the sub components\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepEmailLoop = ({ verificationService }: StepEmailLoopComponentProps) => {\n const isCollectOrgEmailState =\n (verificationService.verificationResponse as EmailLoopResponse).currentState ===\n \"collectOrganizationEmail\";\n return (\n <div id=\"sid-step-email-loop\" className=\"sid-step-email-loop-container sid-l-container\">\n {isCollectOrgEmailState ? (\n <EmailLoopCollectOrganizationEmail verificationService={verificationService} />\n ) : (\n <EmailLoopPendingComponent verificationService={verificationService} />\n )}\n </div>\n );\n};\n\nexport const StepEmailLoopComponent = injectIntl(StepEmailLoop);\n"],"names":["EmailLoopCollectOrganizationEmail","verificationService","viewModel","fieldValidationErrors","isInvalidOrgEmail","_a","setEmailValue","organizationEmail","updateFieldValidationErrorsByFieldId","cancelEmailLoop","logger","nextState","produce","VerificationStepsEnum","jsxs","Fragment","jsx","LogoComponent","FormattedHTMLMessage","AnnouncingHeader","FormFieldText","submitForm","FormFooter","StepEmailLoop","isCollectOrgEmailState","EmailLoopPendingComponent","StepEmailLoopComponent","injectIntl"],"mappings":";;AAoBO,MAAMA,IAAoC,CAAC;AAAA,EAChD,qBAAAC;AACF,MAEM;;AACJ,QAAMC,IAAYD,EAAoB,WAChCE,IAAwBF,EAAoB,uBAC5CG,OAAqBC,IAAAJ,EAAoB,yBAApB,gBAAAI,EAA0C,aAAY,CAAI,GAAA;AAAA,IACnF;AAAA,EACF,GAEMC,IAAgB,CAACC,MAA8B;AACnD,IAAAN,EAAoB,gBAAgB,EAAE,GAAGC,GAAW,mBAAAK,GAAmB,GACvEC;AAAA,MACE;AAAA,MACAD;AAAA,MACAN;AAAA,IACF;AAAA,EACF,GAEMQ,IAAkB,YAAY;AAClC,IAAAC,EAAO,KAAK,kEAAkE;AACxE,UAAAC,IAAYC,EAAQV,GAAW,MAAM;AAAA,IAAA,CAAE;AAC7C,WAAOD,EAAoB;AAAA,MACz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GAEnB;AAAA,UACAF,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,sBACb,UAAAA,gBAAAA,EAAA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,SAASP;AAAA,cACT,WAAU;AAAA,cACV,MAAK;AAAA,cAEL,UAAAO,gBAAAA,EAAA;AAAA,gBAACE;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA,EAEJ,CAAA;AAAA,QAAA,GACF;AAAA,QAEAF,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,qBAAqB,CAAA;AAAA,MAAA,EACtC,CAAA;AAAA,IAAA,GACF;AAAA,IACAA,gBAAAA,MAACM,KAAW,qBAAArB,EAA0C,CAAA;AAAA,EAAA,GACxD;AAEJ,GCvJasB,IAAgB,CAAC,EAAE,qBAAAtB,QAAuD;AAC/E,QAAAuB,IACHvB,EAAoB,qBAA2C,iBAChE;AACF,SACGe,gBAAAA,EAAA,IAAA,OAAA,EAAI,IAAG,uBAAsB,WAAU,iDACrC,UAAAQ,IACER,gBAAAA,EAAA,IAAAhB,GAAA,EAAkC,qBAAAC,EAA0C,CAAA,IAE5Ee,gBAAAA,EAAAA,IAAAS,GAAA,EAA0B,qBAAAxB,EAA0C,CAAA,GAEzE;AAEJ,GAEayB,IAAyBC,EAAWJ,CAAa;"}
|
1
|
+
{"version":3,"file":"index-BU0HFLKm.js","sources":["../../src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx","../../src/components/StepEmailLoop/StepEmailLoopComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { FormFieldText } from \"../FormFields/FormFieldText/FormFieldText\";\nimport {\n updateFieldValidationErrorsByFieldId,\n submitForm,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n EmailLoopCollectOrganizationEmailViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import React from \"react\";\nimport { injectIntl, InjectedIntl } from \"react-intl\";\n\nimport { EmailLoopResponse, VerificationService } from \"../../lib/types/types\";\n\nimport { EmailLoopCollectOrganizationEmail } from \"./EmailLoopCollectOrganizationEmail\";\nimport { EmailLoopPendingComponent } from \"./EmailLoopPending\";\n\nexport interface StepEmailLoopComponentProps {\n // eslint-disable-next-line react/no-unused-prop-types -- this prop type is reused in the sub components\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepEmailLoop = ({ verificationService }: StepEmailLoopComponentProps) => {\n const isCollectOrgEmailState =\n (verificationService.verificationResponse as EmailLoopResponse).currentState ===\n \"collectOrganizationEmail\";\n return (\n <div id=\"sid-step-email-loop\" className=\"sid-step-email-loop-container sid-l-container\">\n {isCollectOrgEmailState ? (\n <EmailLoopCollectOrganizationEmail verificationService={verificationService} />\n ) : (\n <EmailLoopPendingComponent verificationService={verificationService} />\n )}\n </div>\n );\n};\n\nexport const StepEmailLoopComponent = injectIntl(StepEmailLoop);\n"],"names":["EmailLoopCollectOrganizationEmail","verificationService","viewModel","fieldValidationErrors","isInvalidOrgEmail","_a","setEmailValue","organizationEmail","updateFieldValidationErrorsByFieldId","cancelEmailLoop","logger","nextState","produce","VerificationStepsEnum","jsxs","Fragment","jsx","LogoComponent","FormattedHTMLMessage","AnnouncingHeader","FormFieldText","submitForm","FormFooter","StepEmailLoop","isCollectOrgEmailState","EmailLoopPendingComponent","StepEmailLoopComponent","injectIntl"],"mappings":";;AAoBO,MAAMA,IAAoC,CAAC;AAAA,EAChD,qBAAAC;AACF,MAEM;;AACJ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,GAAA,EAA0B,qBAAAxB,EAA0C,CAAA,GAEzE;AAEJ,GAEayB,IAAyBC,EAAWJ,CAAa;"}
|
@@ -1,11 +1,11 @@
|
|
1
1
|
|
2
2
|
/**
|
3
|
-
* VERSION: 2.121.0-alpha.
|
4
|
-
* BUILD_TIMESTAMP:
|
5
|
-
* BUILD_DATE:
|
3
|
+
* VERSION: 2.121.0-alpha.2
|
4
|
+
* BUILD_TIMESTAMP: 1754415801298
|
5
|
+
* BUILD_DATE: Tue Aug 05 2025 17:43:21 GMT+0000 (Coordinated Universal Time)
|
6
6
|
* BUILD_COMMIT: 091dfb82603775b7de0bf8cf799f963fc4950e98
|
7
7
|
*/
|
8
|
-
import {
|
8
|
+
import { n as Ee, aV as Be, aW as K, aX as q, aY as gt, t as f, R as xt, aZ as g, j as t, a_ as n, aM as u, b as h, i as bt, aj as be, at as yt, aI as It, a$ as Et, d as vt, b0 as ze, L as Ut, A as jt, b1 as Dt, ag as _t, K as At, b2 as wt, b3 as Rt, b4 as Ft, m as Nt, l as Oe, V as ye, ai as Ct, b5 as Tt, b6 as Ot, b7 as St } from "../sheerid.js";
|
9
9
|
const Lt = (e, a, o) => Ee(e, (r) => {
|
10
10
|
Object.keys(e).filter((s) => !!e[s] && s.includes("file")).map((s) => e[s]).concat(a, Array(Be).fill(void 0)).splice(0, 3).forEach((s, d) => r[`file${d + 1}`] = s), o ? r.erroredFileNames = o : r.erroredFileNames = void 0;
|
11
11
|
}), Mt = (e, a) => {
|