@incodetech/web 0.0.0-dev-20260911-d4e8be9f → 0.0.0-dev-20260911-3bcad995
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/dist/ae-signature/ae-signature.es.js +3 -3
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/autoFocusTitle-bnVvS5AS.js +32 -0
- package/dist/{baseTutorial-DdU221rI.js → baseTutorial-NI4T8YPG.js} +3 -3
- package/dist/{bottomSheet-C3MHkEfL.js → bottomSheet-r37V7lvW.js} +2 -2
- package/dist/cameraOverlay-pNyt2FYo.js +2 -0
- package/dist/{cameraOverlayHeader-DFD85Ezb.js → cameraOverlayHeader-E5XdhVgx.js} +2 -2
- package/dist/{cameraView-CR2WH_wN.js → cameraView-gIdkvKK3.js} +2 -2
- package/dist/{captureFooter-BlAq3nsT.js → captureFooter-Bo5ZWDXw.js} +3 -3
- package/dist/certificate-issuance/certificate-issuance.es.js +8 -7
- package/dist/certificate-issuance/styles.css.js +1 -0
- package/dist/{checkbox-CSTnDDdf.js → checkbox-9glYbkJz.js} +3 -3
- package/dist/{connectionError-TamPptzl.js → connectionError-CkP_eSUZ.js} +3 -3
- package/dist/consent/consent.es.js +6 -6
- package/dist/consent/styles.css.js +1 -0
- package/dist/{countrySelector-7TnHDtSs.js → countrySelector-Dftlod1J.js} +3 -3
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/curp-validation/curp-validation.es.js +11 -10
- package/dist/curp-validation/styles.css.js +1 -0
- package/dist/custom-fields/styles.css.js +1 -0
- package/dist/{customFields-CYz-FC0C.js → customFields-kdmp1ED7.js} +9 -9
- package/dist/{customWatchlist-DokxUqHy.js → customWatchlist-C3zKDRLE.js} +6 -6
- package/dist/{dashboardTheme-DBTW5Y2p.js → dashboardTheme-DGwOuzhr.js} +1 -1
- package/dist/{dateInputComposed-DdB7BruV.js → dateInputComposed-B_LNJ2HC.js} +4 -4
- package/dist/dateInputComposed-C5nTje9H.js +1 -0
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css.js +1 -0
- package/dist/documentCapture-BWDYZ19F.js +2 -0
- package/dist/{documentCapture-heFwS-vY.js → documentCapture-Cw9fe8Zv.js} +15 -14
- package/dist/dropdownComposed-CPmkzcL6.js +1 -0
- package/dist/{dropdownComposed-CnIoWdph.js → dropdownComposed-Di_-1Nk2.js} +3 -3
- package/dist/dynamic-forms/dynamic-forms.es.js +11 -11
- package/dist/dynamic-forms/styles.css.js +1 -0
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css.js +1 -0
- package/dist/ekybModule-4ZVNDOJW.js +2 -0
- package/dist/{ekybModule-DAuLI3ad.js → ekybModule-EvB6Hmq3.js} +12 -12
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css.js +1 -0
- package/dist/{ekycModule-v9k32tXV.js → ekycModule-DVjEteMy.js} +12 -12
- package/dist/ekycModule-Dzr7MiMz.js +2 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/electronic-signature/styles.css.js +1 -0
- package/dist/{electronic-signature-2Uv08XOv.js → electronic-signature-3ati2jgX.js} +8 -7
- package/dist/email/email.es.js +7 -7
- package/dist/email/styles.css.js +1 -0
- package/dist/{emailInput-D1LMc-aF.js → emailInput-DTBhwQEz.js} +3 -3
- package/dist/{errorContent-Be-w9xjB.js → errorContent-DzTag6aF.js} +5 -5
- package/dist/{expiredId-ziDNDwCS.js → expiredId-gZBb7raY.js} +5 -5
- package/dist/extensibility.es.js +36 -35
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css.js +1 -0
- package/dist/{faceMatch-D_6MaDry.js → faceMatch-CmV1D2K8.js} +6 -6
- package/dist/faceMatch-D088JQnm.js +2 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/field-comparison/styles.css.js +1 -0
- package/dist/{fieldComparison-grzKEozd.js → fieldComparison-CvlRo0eS.js} +7 -7
- package/dist/fieldComparison-SPos71r2.js +2 -0
- package/dist/{finalSuccessScreen-CiSREy-O.js → finalSuccessScreen-CkhvTVIy.js} +10 -9
- package/dist/fiscal-qr/fiscal-qr.es.js +9 -9
- package/dist/fiscal-qr/styles.css.js +1 -0
- package/dist/{flipAnimation-Bp4vkj5T.js → flipAnimation-CH_bQguv.js} +20 -19
- package/dist/flow/flow.es.js +217 -21
- package/dist/flow/shell/styles.css +402 -0
- package/dist/flow/shell/styles.css.js +1 -0
- package/dist/{formField-DfTSFK4p.js → formField-BJGITzOi.js} +2 -2
- package/dist/geolocation/geolocation.es.js +8 -8
- package/dist/geolocation/styles.css.js +1 -0
- package/dist/government-validation/government-validation.es.js +3 -3
- package/dist/government-validation/styles.css.js +1 -0
- package/dist/{homeScreen-DnSGezVj.js → homeScreen-DT1T6X5i.js} +7 -6
- package/dist/{icons-BTQAPX7h.js → icons-Bu1QoQJO.js} +2 -5
- package/dist/id/id.es.js +30 -28
- package/dist/id/styles.css.js +1 -0
- package/dist/id-ocr/styles.css.js +1 -0
- package/dist/id-selfie-flow/id-selfie-flow.es.js +8 -8
- package/dist/id-verification/id-verification.es.js +4 -4
- package/dist/{idOcr-CnNDvFs1.js → idOcr-wj678h5b.js} +11 -11
- package/dist/identity-reuse/identity-reuse.es.js +6 -6
- package/dist/incode-logo-BzJOZr3f.js +4 -0
- package/dist/{incodeComponent-OpYmmHuG.js → incodeComponent-Ctt3_dEc.js} +9 -35
- package/dist/{incodeModule-DQfs4RF7.js → incodeModule-B0oBiVJr.js} +2 -2
- package/dist/index.es.js +2 -2
- package/dist/{inputComposed-BP78Sou-.js → inputComposed-DKd7Lk2s.js} +3 -3
- package/dist/inputComposed-cq3VyF6Y.js +1 -0
- package/dist/{mandatoryConsent-5hb2q0Nc.js → mandatoryConsent-BZ6MfCKC.js} +6 -6
- package/dist/{manualCaptureButton-BOXGfoAr.js → manualCaptureButton-CiKilSX0.js} +8 -8
- package/dist/{manualCaptureButton-DnE00y7z.js → manualCaptureButton-c1D-Pwmf.js} +3 -3
- package/dist/{modal-BKL_l4J2.js → modal-XfYvIrtc.js} +3 -3
- package/dist/{optionAccessibleLabel-FCfVmVrz.js → optionAccessibleLabel-7XTbVTQM.js} +5 -5
- package/dist/{otpInput-BcoACg71.js → otpInput-CPvCnPAK.js} +6 -6
- package/dist/{passwordInputComposed-CMtVpi08.js → passwordInputComposed-RQV1GaiT.js} +4 -4
- package/dist/{pdf-2Mzn83pW.js → pdf-CFubyG0B.js} +1 -1
- package/dist/{pdfViewer-BXfw3EF1.js → pdfViewer-CD0h6GOQ.js} +3 -3
- package/dist/pdfViewer-DAWA01Q7.js +2 -0
- package/dist/{permissions-CjX0aA3u.js → permissions-APyMwclo.js} +8 -7
- package/dist/phone/phone.es.js +8 -8
- package/dist/phone/styles.css.js +1 -0
- package/dist/{phoneInputComposed-CsJ_yD0l.js → phoneInputComposed-Fp_AAyTq.js} +5 -5
- package/dist/{processing-DAhWY6sA.js → processing-ClvNQn0O.js} +1 -1
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/radioGroupComposed-Bv4g3igK.js +1 -0
- package/dist/{radioGroupComposed-DdiOBGH9.js → radioGroupComposed-V-5uRZNs.js} +3 -3
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +33 -175
- package/dist/redirect-to-mobile/styles.css.js +1 -0
- package/dist/{resendTimer-BF44I8m1.js → resendTimer-Cdv4c_kI.js} +1 -1
- package/dist/{useModuleLoader-CgGe0OtT.js → resolveApiKey-BFJkHdFX.js} +23 -196
- package/dist/{richText-C93h8B8I.js → richText-BgpZ1-Zg.js} +2 -2
- package/dist/selfie/selfie.es.js +9 -9
- package/dist/selfie/styles.css.js +1 -0
- package/dist/signature/signature.es.js +7 -7
- package/dist/signature/styles.css.js +1 -0
- package/dist/smsTabContent-CHgelO4c.js +172 -0
- package/dist/{spacer-CP6nfo3f.js → spacer-CELhH34g.js} +9 -9
- package/dist/{spinner-1GVajlEK.js → spinner-3yRMSVul.js} +4 -53
- package/dist/{statusPage-BSf9rrbK.js → statusPage-9H1zSHi7.js} +3 -2
- package/dist/{tabs-OBRm19dX.js → tabs-CejZfPRC.js} +1 -1
- package/dist/{tutorial-R4tGibYC.js → tutorial-DRjbK_mY.js} +10 -10
- package/dist/types/flow.d.ts +7 -0
- package/dist/typography-z3aTrEzR.js +53 -0
- package/dist/{uiConfig-Sd_A0KwB.js → uiConfig-Dy2JqseS.js} +84 -84
- package/dist/useModuleLoader-DpcbSKBH.js +176 -0
- package/dist/{verificationResult-C-TUwYRU.js → verificationResult-DxH_CbuK.js} +6 -5
- package/dist/video-selfie/styles.css.js +1 -0
- package/dist/video-selfie/video-selfie.es.js +10 -10
- package/dist/watchlist/watchlist.es.js +6 -6
- package/dist/watchlist-for-business/styles.css.js +1 -0
- package/dist/{watchlistForBusiness-CAfxFTrq.js → watchlistForBusiness-BKyDvLdd.js} +8 -8
- package/dist/workflow/workflow.es.js +8 -6
- package/package.json +2 -2
- package/dist/cameraOverlay-hVopsg3m.js +0 -2
- package/dist/dateInputComposed-B1RmMKnV.js +0 -1
- package/dist/documentCapture-BkeibTS3.js +0 -2
- package/dist/dropdownComposed-DbKfnljI.js +0 -1
- package/dist/ekybModule-CZdKKqpT.js +0 -2
- package/dist/ekycModule-BvBAH-p5.js +0 -2
- package/dist/faceMatch-CvrSgSTi.js +0 -2
- package/dist/fieldComparison-CqjjCpNq.js +0 -2
- package/dist/inputComposed-9jDBJqse.js +0 -1
- package/dist/pdfViewer-D5NNOdPt.js +0 -2
- package/dist/radioGroupComposed-DO3Ysp1j.js +0 -1
- /package/dist/{af-ZA-qhcjE8Ll.js → af-ZA-B9acfnFZ.js} +0 -0
- /package/dist/{aligndevicelottie-BecybMtU.js → aligndevicelottie-B12hbVhG.js} +0 -0
- /package/dist/{am-DVltCO9H.js → am-tTxQ1PqF.js} +0 -0
- /package/dist/{ar-AE-DTmHPD7L.js → ar-AE-DqTSg7-7.js} +0 -0
- /package/dist/{ar-B8E9vjK8.js → ar-DyHfAElL.js} +0 -0
- /package/dist/{ar-EG-DjHcOH9m.js → ar-EG-D64CNCkQ.js} +0 -0
- /package/dist/{az-BFwACmvz.js → az-BLvQXL-7.js} +0 -0
- /package/dist/{back-horizontal-hint-CgMvLs_S.js → back-horizontal-hint-UQ7Nof6k.js} +0 -0
- /package/dist/{back-tutorial-D07UcHc5.js → back-tutorial-XdmQ0Wml.js} +0 -0
- /package/dist/{back-vertical-hint-jsA5tD5E.js → back-vertical-hint-Crc8ybfk.js} +0 -0
- /package/dist/{backdevicelottie-C6hCbM0B.js → backdevicelottie-m_DOD8xE.js} +0 -0
- /package/dist/{blurdevicelottie-CtGLqNN2.js → blurdevicelottie-DQo_hTMD.js} +0 -0
- /package/dist/{bn-DbIWkXe9.js → bn-BpSvw13B.js} +0 -0
- /package/dist/{browser-ponyfill-BdqoHrvJ.js → browser-ponyfill-ZkeBm4ji.js} +0 -0
- /package/dist/{bs-z1Ps12rk.js → bs-CdNkQqbz.js} +0 -0
- /package/dist/{ca-DUElvSDc.js → ca-CGw7TL60.js} +0 -0
- /package/dist/{ceb-jzHzP2FJ.js → ceb-C9j4MFyE.js} +0 -0
- /package/dist/{countries-jgOG0hnw.js → countries-5e8kwG_m.js} +0 -0
- /package/dist/{cs-BrqY3ZP3.js → cs-BteiU6j5.js} +0 -0
- /package/dist/{cs-CZ-CZtZyop9.js → cs-CZ-940tEy_2.js} +0 -0
- /package/dist/{da-DK-BQvE1_ak.js → da-DK-Owtyz_CU.js} +0 -0
- /package/dist/{de-ChPY7o4H.js → de-Ca76rOgG.js} +0 -0
- /package/dist/{defineProperty-DXYyyct1.js → defineProperty-BojnCa44.js} +0 -0
- /package/dist/{el-BD0wlCYW.js → el-BLcr59Hz.js} +0 -0
- /package/dist/{el-GR-Dt5-c7bC.js → el-GR-B8wFNN98.js} +0 -0
- /package/dist/{en-DG-or497Mnl.js → en-DG-Bhukp9s8.js} +0 -0
- /package/dist/{en-CyzAzqIc.js → en-Dy0JU914.js} +0 -0
- /package/dist/{es-419-B3p3NYae.js → es-419-CIpRoUJ6.js} +0 -0
- /package/dist/{es-BHy4PuoW.js → es-BsT9A1T5.js} +0 -0
- /package/dist/{es-ES-DlvpXGeg.js → es-ES-DEDukwHe.js} +0 -0
- /package/dist/{es-MX-Cqi6vOtT.js → es-MX-CUYuTeos.js} +0 -0
- /package/dist/{et-qYB56l1n.js → et-CFrnBgWm.js} +0 -0
- /package/dist/{fa-IR-DVTTM_tu.js → fa-IR-BniLevbE.js} +0 -0
- /package/dist/{fi-FI-CfTvDUdu.js → fi-FI-CQ7nM8JH.js} +0 -0
- /package/dist/{fieldLabelHint-Cy5t7tNp.js → fieldLabelHint-CxjArYkQ.js} +0 -0
- /package/dist/{flip-animation-DqsJznNB.js → flip-animation-VicedlT5.js} +0 -0
- /package/dist/{fr-CA-BWmoTiX5.js → fr-CA-CXAigeNC.js} +0 -0
- /package/dist/{fr-BewHYECv.js → fr-kZcmIWvQ.js} +0 -0
- /package/dist/{front-horizontal-hint-B37YE8CS.js → front-horizontal-hint-mgovnJf3.js} +0 -0
- /package/dist/{front-vertical-hint-BGNYUm4v.js → front-vertical-hint-qXMVdLri.js} +0 -0
- /package/dist/{frontdevicelottie-6kC6cgo8.js → frontdevicelottie-CyIerlMv.js} +0 -0
- /package/dist/{glaredevicelottie-CSU5ZUYd.js → glaredevicelottie-QM2C6Ivp.js} +0 -0
- /package/dist/{he-DskmIhH1.js → he-BHkteW5Z.js} +0 -0
- /package/dist/{hi-Bwj78dXS.js → hi-D7vD6ve3.js} +0 -0
- /package/dist/{hmn-BVc2cEgu.js → hmn-DfE8ljQi.js} +0 -0
- /package/dist/{hr-4NNWn8Hc.js → hr-BxcwtkpC.js} +0 -0
- /package/dist/{ht-C2_a-KG0.js → ht-DtqCsWc8.js} +0 -0
- /package/dist/{hu--akRgpT5.js → hu-CZ7JFr06.js} +0 -0
- /package/dist/{id-D7RQjfvC.js → id-BavZckax.js} +0 -0
- /package/dist/{id-back-of-card-U-NxDg8D.js → id-back-of-card-B6EcmiCs.js} +0 -0
- /package/dist/{id-back-of-card-vertical-B_u3_MBo.js → id-back-of-card-vertical-B3FXhPpj.js} +0 -0
- /package/dist/{id-front-of-card-N_jDGmho.js → id-front-of-card-V_BlLaZr.js} +0 -0
- /package/dist/{id-front-of-card-vertical-rHe_Ym9p.js → id-front-of-card-vertical-CuZjL8kc.js} +0 -0
- /package/dist/{id-laser-h-8TMlUzO4.js → id-laser-h-B0-iXcvl.js} +0 -0
- /package/dist/{id-laser-v-DVMkqyIr.js → id-laser-v-Bqh6vimi.js} +0 -0
- /package/dist/{id-tutorial-DtvAPllr.js → id-tutorial-IhmAzrIF.js} +0 -0
- /package/dist/{it-40b_QJ49.js → it-BIItP9Pr.js} +0 -0
- /package/dist/{ja-BmtuIzaT.js → ja-E3soXDL5.js} +0 -0
- /package/dist/{ja-JP-CbKDwCr2.js → ja-JP-DkA62kdU.js} +0 -0
- /package/dist/{jv-V7T3CZCW.js → jv-CgrW9f8c.js} +0 -0
- /package/dist/{ka-DElVzAwl.js → ka-6CvCr1gH.js} +0 -0
- /package/dist/{kk-DGGqZzoC.js → kk-BxxU4lAH.js} +0 -0
- /package/dist/{km-CTydY36i.js → km-1Kwr2cN_.js} +0 -0
- /package/dist/{ko-Bjxwt0To.js → ko-BLFEx7cH.js} +0 -0
- /package/dist/{ko-KP-Cb8ITTNz.js → ko-KP-BQP3O0FS.js} +0 -0
- /package/dist/{ky-Da-svfsh.js → ky-NSm_2jGi.js} +0 -0
- /package/dist/{lo-BcBrBLSe.js → lo-Pex_FBnC.js} +0 -0
- /package/dist/{lottie_light-CtKkb7ze.js → lottie_light-CzZ3CHBk.js} +0 -0
- /package/dist/{lt-CRUODUDK.js → lt-CiX--SJT.js} +0 -0
- /package/dist/{lv-COEqtHv9.js → lv-DlQcEy9u.js} +0 -0
- /package/dist/{mk-D6OWaZi9.js → mk-D_al0ZPm.js} +0 -0
- /package/dist/{mn-CHZsnJ9w.js → mn-Wu3_MwaI.js} +0 -0
- /package/dist/{modal.hooks-BG9W0mhz.js → modal.hooks-B0Wrc9s2.js} +0 -0
- /package/dist/{ms-DWzO2k9X.js → ms-DIlFIDiL.js} +0 -0
- /package/dist/{my-DAkvSk_W.js → my-DqGBybBw.js} +0 -0
- /package/dist/{nb-NO-d7OazihS.js → nb-NO-CK-cm1Va.js} +0 -0
- /package/dist/{ne-BTRq-Yeo.js → ne-DZNnt7ra.js} +0 -0
- /package/dist/{nl-DB9dav30.js → nl-DlILyuOD.js} +0 -0
- /package/dist/{numberedStep-BZchXwF2.js → numberedStep-DYznpDKc.js} +0 -0
- /package/dist/{passport-horizontal-hint-Dt6gI-ZI.js → passport-horizontal-hint-6Ghn2EEN.js} +0 -0
- /package/dist/{passport-tutorial--ne0dDhV.js → passport-tutorial-61vlloJS.js} +0 -0
- /package/dist/{passport-vertical-hint-Boe1pkkz.js → passport-vertical-hint-UPFFpdf4.js} +0 -0
- /package/dist/{pl-CCkxKrjg.js → pl-Mz-cY3fF.js} +0 -0
- /package/dist/{pt-BR-CZ_z8Olc.js → pt-BR-DXBXB0FE.js} +0 -0
- /package/dist/{pt-PT-RBrFLLkL.js → pt-PT-BfQxD0uN.js} +0 -0
- /package/dist/{pt-FtGjaVNi.js → pt-w6Co0T0Z.js} +0 -0
- /package/dist/{registerIncodeElement-B-SfWDa0.js → registerIncodeElement-CbZczi4S.js} +0 -0
- /package/dist/{ro-DysboDNv.js → ro-CM-klzCt.js} +0 -0
- /package/dist/{ru-CID3CZfu.js → ru-Cgolidvr.js} +0 -0
- /package/dist/{ru-RU-BHy7AaUd.js → ru-RU-Bb9-76fu.js} +0 -0
- /package/dist/{selfieTutorial-BarIUFDH.js → selfieTutorial-BRQ2QNxQ.js} +0 -0
- /package/dist/{sk-D7kS5PBd.js → sk-DK-9wm6e.js} +0 -0
- /package/dist/{sl-D9TEWuUe.js → sl-CrSjDHIm.js} +0 -0
- /package/dist/{so-CfgWC0fM.js → so-B3032CtJ.js} +0 -0
- /package/dist/{sr--ms6iMWz.js → sr-KKrNZRPJ.js} +0 -0
- /package/dist/{sr-Latn-BiWFn5aX.js → sr-Latn-CJYuA3Hg.js} +0 -0
- /package/dist/{sr-YU-BNAd049F.js → sr-YU-DZbLqDb8.js} +0 -0
- /package/dist/{sv-SE-CJjtaNDA.js → sv-SE-BjptL1LM.js} +0 -0
- /package/dist/{sw-6SDfYBIC.js → sw-C6vSD_EQ.js} +0 -0
- /package/dist/{th-BcNF0ama.js → th-C0hLXzWA.js} +0 -0
- /package/dist/{th-TH-DMKAHwNe.js → th-TH-B-_01A2i.js} +0 -0
- /package/dist/{tl-lLJU4U50.js → tl-CVW4WEe1.js} +0 -0
- /package/dist/{tl-PH-Bl0duIQB.js → tl-PH-Di49wrgE.js} +0 -0
- /package/dist/{tr-i2Q79BRH.js → tr-CfshCWqW.js} +0 -0
- /package/dist/{uk-C6nph67y.js → uk-D-y0QBRY.js} +0 -0
- /package/dist/{uk-UA-B8zIiiNG.js → uk-UA-esAhN203.js} +0 -0
- /package/dist/{ur-Zbr32KyN.js → ur-ez_gBMe5.js} +0 -0
- /package/dist/{useCoverMedia-DofxqCtg.js → useCoverMedia-VLw3OYN_.js} +0 -0
- /package/dist/{uz-DeV1ZkHM.js → uz-BPWkullH.js} +0 -0
- /package/dist/{vi-CxGLHnnW.js → vi-DE6Uy69e.js} +0 -0
- /package/dist/{zh-CN-DvWvvJIf.js → zh-CN-OqqFHuNf.js} +0 -0
- /package/dist/{zh-CU10i68v.js → zh-Dbdi0CLO.js} +0 -0
- /package/dist/{zh-HANT-CUbWZ_Ie.js → zh-HANT-CQKb1Xyt.js} +0 -0
- /package/dist/{zh-TW-BZnhC9_5.js → zh-TW-CvuduXr0.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { c as setI18nInstance, l as createI18n, s as hasI18nInstance } from "./uiConfig-
|
|
2
|
-
import {
|
|
3
|
-
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme } from "./dashboardTheme-
|
|
4
|
-
import "./incodeComponent-
|
|
5
|
-
import {
|
|
1
|
+
import { c as setI18nInstance, l as createI18n, s as hasI18nInstance } from "./uiConfig-Dy2JqseS.js";
|
|
2
|
+
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
+
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme } from "./dashboardTheme-DGwOuzhr.js";
|
|
4
|
+
import "./incodeComponent-Ctt3_dEc.js";
|
|
5
|
+
import { x as Button } from "./icons-Bu1QoQJO.js";
|
|
6
6
|
import { initializeWasmUtil, resolveWasmConfigForPipelines, setWasmConfig, upgradeToWasmHttpClient, warmupWasm } from "@incodetech/core/wasm";
|
|
7
7
|
import { isDesktopOrEmulated } from "@incodetech/core/device";
|
|
8
8
|
import { createOrchestratedFlowManager, getFlow } from "@incodetech/core/flow";
|
|
@@ -33,7 +33,7 @@ function isDesktopOrEmulated$1() {
|
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/modules/flow/flowInit.ts
|
|
35
35
|
var lazyIdModule = () => import("./id/id.es.js").then((m) => m.Id);
|
|
36
|
-
var loadLazyHomeScreen = () => import("./homeScreen-
|
|
36
|
+
var loadLazyHomeScreen = () => import("./homeScreen-DT1T6X5i.js").then((m) => m.HomeScreen);
|
|
37
37
|
var homeScreenPreloadPromise;
|
|
38
38
|
/**
|
|
39
39
|
* Headless flow keys: backend-only steps with no UI. `<incode-flow>` renders
|
|
@@ -97,31 +97,31 @@ var LAZY_UI_MODULES = {
|
|
|
97
97
|
ID_CAPTURE: lazyIdModule,
|
|
98
98
|
TUTORIAL_ID: lazyIdModule,
|
|
99
99
|
SECOND_ID: lazyIdModule,
|
|
100
|
-
FACE_MATCH: () => import("./faceMatch-
|
|
100
|
+
FACE_MATCH: () => import("./faceMatch-D088JQnm.js").then((m) => m.FaceMatch),
|
|
101
101
|
CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((m) => m.CurpValidation),
|
|
102
102
|
GOVT_VALIDATION_PROVISIONING: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
103
103
|
INE_VALIDATION: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
104
104
|
GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
|
|
105
|
-
EXTERNAL_VERIFICATION: () => import("./ekycModule-
|
|
106
|
-
EKYB: () => import("./ekybModule-
|
|
107
|
-
DOCUMENT_CAPTURE: () => import("./documentCapture-
|
|
108
|
-
ADDRESS: () => import("./documentCapture-
|
|
105
|
+
EXTERNAL_VERIFICATION: () => import("./ekycModule-Dzr7MiMz.js").then((m) => m.EkycModule),
|
|
106
|
+
EKYB: () => import("./ekybModule-4ZVNDOJW.js").then((m) => m.EkybModule),
|
|
107
|
+
DOCUMENT_CAPTURE: () => import("./documentCapture-BWDYZ19F.js").then((m) => m.DocumentCapture),
|
|
108
|
+
ADDRESS: () => import("./documentCapture-BWDYZ19F.js").then((m) => m.DocumentCapture),
|
|
109
109
|
COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
|
|
110
|
-
MANDATORY_CONSENT: () => import("./mandatoryConsent-
|
|
111
|
-
ML_CONSENT: () => import("./mandatoryConsent-
|
|
110
|
+
MANDATORY_CONSENT: () => import("./mandatoryConsent-BZ6MfCKC.js").then((m) => m.MandatoryConsent),
|
|
111
|
+
ML_CONSENT: () => import("./mandatoryConsent-BZ6MfCKC.js").then((m) => m.MandatoryConsent),
|
|
112
112
|
SIGNATURE: () => import("./signature/signature.es.js").then((m) => m.Signature),
|
|
113
|
-
ID_OCR: () => import("./idOcr-
|
|
113
|
+
ID_OCR: () => import("./idOcr-wj678h5b.js").then((m) => m.IdOcr),
|
|
114
114
|
ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((m) => m.Antifraud),
|
|
115
|
-
CUSTOM_FIELDS: () => import("./customFields-
|
|
115
|
+
CUSTOM_FIELDS: () => import("./customFields-kdmp1ED7.js").then((m) => m.CustomFields),
|
|
116
116
|
WATCHLIST: () => import("./watchlist/watchlist.es.js").then((m) => m.Watchlist),
|
|
117
|
-
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-
|
|
118
|
-
INCODE_WATCHLIST: () => import("./customWatchlist-
|
|
117
|
+
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-BKyDvLdd.js").then((m) => m.WatchlistForBusiness),
|
|
118
|
+
INCODE_WATCHLIST: () => import("./customWatchlist-C3zKDRLE.js").then((m) => m.CustomWatchlist),
|
|
119
119
|
AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((m) => m.AeSignature),
|
|
120
120
|
QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((m) => m.QeSignature),
|
|
121
121
|
CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((m) => m.CrossDocumentDataMatch),
|
|
122
122
|
DYNAMIC_FORMS: () => import("./dynamic-forms/dynamic-forms.es.js").then((m) => m.DynamicForms),
|
|
123
123
|
CERTIFICATE_ISSUANCE: () => import("./certificate-issuance/certificate-issuance.es.js").then((m) => m.CertificateIssuance),
|
|
124
|
-
FIELD_COMPARISON: () => import("./fieldComparison-
|
|
124
|
+
FIELD_COMPARISON: () => import("./fieldComparison-SPos71r2.js").then((m) => m.FieldComparison),
|
|
125
125
|
FISCAL_QR: () => import("./fiscal-qr/fiscal-qr.es.js").then((m) => m.FiscalQr),
|
|
126
126
|
VIDEO_ONBOARDING: () => import("./video-selfie/video-selfie.es.js").then((m) => m.VideoSelfie)
|
|
127
127
|
};
|
|
@@ -137,9 +137,8 @@ function preloadHomeScreen() {
|
|
|
137
137
|
}
|
|
138
138
|
var redirectToMobilePreloadPromise;
|
|
139
139
|
/**
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
* orchestrator injects REDIRECT_TO_MOBILE as the first step.
|
|
140
|
+
* Prefetches redirect UI and core together when the normalized flow selects
|
|
141
|
+
* redirect first. Device classification alone does not require QR.
|
|
143
142
|
*/
|
|
144
143
|
function preloadRedirectToMobile() {
|
|
145
144
|
if (redirectToMobilePreloadPromise) return;
|
|
@@ -154,6 +153,7 @@ function preloadRedirectToMobile() {
|
|
|
154
153
|
});
|
|
155
154
|
}
|
|
156
155
|
function createFlowManager(options = {}) {
|
|
156
|
+
if (options.enableHome === true) preloadHomeScreen();
|
|
157
157
|
const scopedLazyModules = {};
|
|
158
158
|
const isDesktop = options.isDesktop ?? isDesktopOrEmulated$1();
|
|
159
159
|
const { enableHome, ...flowFetchOptions } = options;
|
|
@@ -170,6 +170,7 @@ function createFlowManager(options = {}) {
|
|
|
170
170
|
isDesktop,
|
|
171
171
|
deferActivation: true
|
|
172
172
|
});
|
|
173
|
+
if (flow.flowModules[0]?.key === "REDIRECT_TO_MOBILE") preloadRedirectToMobile();
|
|
173
174
|
const scopedRegistry = buildLazyCoreRegistryForFlow(flow.flowModules ?? []);
|
|
174
175
|
const consentLoader = getLazyCoreMachineLoader("MANDATORY_CONSENT");
|
|
175
176
|
if (consentLoader && !scopedRegistry.MANDATORY_CONSENT) scopedRegistry.MANDATORY_CONSENT = consentLoader;
|
|
@@ -309,178 +310,4 @@ async function resolveApiKey(config) {
|
|
|
309
310
|
throw new Error("Self-loading mode requires apiKey or clientId");
|
|
310
311
|
}
|
|
311
312
|
//#endregion
|
|
312
|
-
|
|
313
|
-
var HeadlessWorkflowModule = () => null;
|
|
314
|
-
var lazyHeadlessWorkflowModule = () => Promise.resolve(HeadlessWorkflowModule);
|
|
315
|
-
var HEADLESS_WORKFLOW_MODULE_KEYS = new Set(["IDENTITY_SEARCH"]);
|
|
316
|
-
//#endregion
|
|
317
|
-
//#region src/modules/flow/useModuleLoader.ts
|
|
318
|
-
function getLoadErrorMessage(error, fallbackMessage) {
|
|
319
|
-
return error instanceof Error ? error.message : fallbackMessage;
|
|
320
|
-
}
|
|
321
|
-
var loadedComponents = /* @__PURE__ */ new WeakMap();
|
|
322
|
-
var inflightLoaders = /* @__PURE__ */ new WeakMap();
|
|
323
|
-
function getLoaderKey(loader) {
|
|
324
|
-
return loader;
|
|
325
|
-
}
|
|
326
|
-
function getCachedComponent(loader) {
|
|
327
|
-
if (!loader) return void 0;
|
|
328
|
-
return loadedComponents.get(getLoaderKey(loader));
|
|
329
|
-
}
|
|
330
|
-
function loadComponent(loader) {
|
|
331
|
-
const key = getLoaderKey(loader);
|
|
332
|
-
const cached = loadedComponents.get(key);
|
|
333
|
-
if (cached) return Promise.resolve(cached);
|
|
334
|
-
const inflight = inflightLoaders.get(key);
|
|
335
|
-
if (inflight) return inflight;
|
|
336
|
-
const promise = loader().then((Component) => {
|
|
337
|
-
loadedComponents.set(key, Component);
|
|
338
|
-
inflightLoaders.delete(key);
|
|
339
|
-
return Component;
|
|
340
|
-
}).catch((error) => {
|
|
341
|
-
inflightLoaders.delete(key);
|
|
342
|
-
throw error;
|
|
343
|
-
});
|
|
344
|
-
inflightLoaders.set(key, promise);
|
|
345
|
-
return promise;
|
|
346
|
-
}
|
|
347
|
-
function computeInitialState(loader) {
|
|
348
|
-
if (!loader) return { status: "idle" };
|
|
349
|
-
const cached = getCachedComponent(loader);
|
|
350
|
-
if (cached) return {
|
|
351
|
-
status: "loaded",
|
|
352
|
-
Component: cached
|
|
353
|
-
};
|
|
354
|
-
return { status: "loading" };
|
|
355
|
-
}
|
|
356
|
-
function resolveModuleLoader(moduleKey, modules, headlessModuleKeys) {
|
|
357
|
-
if (!moduleKey) return void 0;
|
|
358
|
-
return modules[moduleKey] ?? (headlessModuleKeys?.has(moduleKey) ? lazyHeadlessWorkflowModule : void 0);
|
|
359
|
-
}
|
|
360
|
-
function useLazyComponentLoader(options) {
|
|
361
|
-
const { loader, onLoading, onLoaded, onError } = options;
|
|
362
|
-
const [state, setState] = d(() => computeInitialState(loader));
|
|
363
|
-
const prevLoaderRef = A(loader);
|
|
364
|
-
const onLoadingRef = A(onLoading);
|
|
365
|
-
const onLoadedRef = A(onLoaded);
|
|
366
|
-
const onErrorRef = A(onError);
|
|
367
|
-
y(() => {
|
|
368
|
-
onLoadingRef.current = onLoading;
|
|
369
|
-
onLoadedRef.current = onLoaded;
|
|
370
|
-
onErrorRef.current = onError;
|
|
371
|
-
}, [
|
|
372
|
-
onLoading,
|
|
373
|
-
onLoaded,
|
|
374
|
-
onError
|
|
375
|
-
]);
|
|
376
|
-
if (prevLoaderRef.current !== loader) {
|
|
377
|
-
prevLoaderRef.current = loader;
|
|
378
|
-
setState(computeInitialState(loader));
|
|
379
|
-
}
|
|
380
|
-
y(() => {
|
|
381
|
-
if (!loader) return;
|
|
382
|
-
if (getCachedComponent(loader)) {
|
|
383
|
-
onLoadedRef.current?.();
|
|
384
|
-
return;
|
|
385
|
-
}
|
|
386
|
-
onLoadingRef.current?.();
|
|
387
|
-
let cancelled = false;
|
|
388
|
-
loadComponent(loader).then((Component) => {
|
|
389
|
-
if (!cancelled) {
|
|
390
|
-
setState({
|
|
391
|
-
status: "loaded",
|
|
392
|
-
Component
|
|
393
|
-
});
|
|
394
|
-
onLoadedRef.current?.();
|
|
395
|
-
}
|
|
396
|
-
}).catch((error) => {
|
|
397
|
-
if (!cancelled) {
|
|
398
|
-
const errorMessage = getLoadErrorMessage(error, "Failed to load component");
|
|
399
|
-
setState({
|
|
400
|
-
status: "error",
|
|
401
|
-
error: errorMessage
|
|
402
|
-
});
|
|
403
|
-
onErrorRef.current?.(errorMessage);
|
|
404
|
-
}
|
|
405
|
-
});
|
|
406
|
-
return () => {
|
|
407
|
-
cancelled = true;
|
|
408
|
-
};
|
|
409
|
-
}, [loader]);
|
|
410
|
-
return state;
|
|
411
|
-
}
|
|
412
|
-
function useModuleLoader(options) {
|
|
413
|
-
const { moduleKey, modules, headlessModuleKeys, onModuleLoading, onModuleLoaded, onError } = options;
|
|
414
|
-
const [unsupportedModuleKey, setUnsupportedModuleKey] = d(void 0);
|
|
415
|
-
const loader = resolveModuleLoader(moduleKey, modules, headlessModuleKeys);
|
|
416
|
-
const state = useLazyComponentLoader({
|
|
417
|
-
loader,
|
|
418
|
-
onLoading: moduleKey ? () => onModuleLoading?.(moduleKey) : void 0,
|
|
419
|
-
onLoaded: moduleKey ? () => onModuleLoaded?.(moduleKey) : void 0,
|
|
420
|
-
onError: moduleKey ? (errorMessage) => onError?.(`Failed to load ${moduleKey}: ${errorMessage}`) : void 0
|
|
421
|
-
});
|
|
422
|
-
y(() => {
|
|
423
|
-
if (!moduleKey) {
|
|
424
|
-
setUnsupportedModuleKey(void 0);
|
|
425
|
-
return;
|
|
426
|
-
}
|
|
427
|
-
if (!loader) setUnsupportedModuleKey(moduleKey);
|
|
428
|
-
else setUnsupportedModuleKey(void 0);
|
|
429
|
-
}, [loader, moduleKey]);
|
|
430
|
-
if (!moduleKey) return { status: "idle" };
|
|
431
|
-
if (unsupportedModuleKey) return {
|
|
432
|
-
status: "unsupported",
|
|
433
|
-
moduleKey: unsupportedModuleKey
|
|
434
|
-
};
|
|
435
|
-
if (state.status === "idle" || state.status === "loading") return {
|
|
436
|
-
status: "loading",
|
|
437
|
-
moduleKey
|
|
438
|
-
};
|
|
439
|
-
if (state.status === "error") return {
|
|
440
|
-
status: "error",
|
|
441
|
-
moduleKey,
|
|
442
|
-
error: state.error
|
|
443
|
-
};
|
|
444
|
-
return {
|
|
445
|
-
status: "loaded",
|
|
446
|
-
moduleKey,
|
|
447
|
-
Component: state.Component
|
|
448
|
-
};
|
|
449
|
-
}
|
|
450
|
-
function useModulePreloader(options) {
|
|
451
|
-
const { moduleKey, modules } = options;
|
|
452
|
-
const loader = moduleKey ? modules[moduleKey] : void 0;
|
|
453
|
-
const state = useLazyComponentLoader({ loader });
|
|
454
|
-
return loader != null && state.status === "loaded";
|
|
455
|
-
}
|
|
456
|
-
function schedulePrefetch(run) {
|
|
457
|
-
if (typeof requestIdleCallback !== "undefined") requestIdleCallback(() => {
|
|
458
|
-
run();
|
|
459
|
-
});
|
|
460
|
-
else setTimeout(run, 0);
|
|
461
|
-
}
|
|
462
|
-
function usePrefetchNextModule(steps, currentStepIndex, modules, currentModuleLoaded) {
|
|
463
|
-
const prefetchedRef = A(/* @__PURE__ */ new Set());
|
|
464
|
-
y(() => {
|
|
465
|
-
if (!currentModuleLoaded) return;
|
|
466
|
-
if (currentStepIndex < steps.length - 1) {
|
|
467
|
-
const nextStep = steps[currentStepIndex + 1];
|
|
468
|
-
if (nextStep && !prefetchedRef.current.has(nextStep)) {
|
|
469
|
-
prefetchedRef.current.add(nextStep);
|
|
470
|
-
const loader = modules[nextStep];
|
|
471
|
-
if (loader) schedulePrefetch(() => {
|
|
472
|
-
loader().catch(() => {
|
|
473
|
-
prefetchedRef.current.delete(nextStep);
|
|
474
|
-
});
|
|
475
|
-
});
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
}, [
|
|
479
|
-
steps,
|
|
480
|
-
currentStepIndex,
|
|
481
|
-
modules,
|
|
482
|
-
currentModuleLoaded
|
|
483
|
-
]);
|
|
484
|
-
}
|
|
485
|
-
//#endregion
|
|
486
|
-
export { warmupWasmIfNeeded as _, resolveApiKey as a, HEADLESS_FLOW_MODULE_KEYS as c, fetchTheme as d, initializeFlowManager as f, setupSDK as g, preloadRedirectToMobile as h, HEADLESS_WORKFLOW_MODULE_KEYS as i, LAZY_UI_MODULES as l, preloadHomeScreen as m, useModulePreloader as n, extractIncodeStatus as o, preloadFirstModule as p, usePrefetchNextModule as r, UnsupportedModule as s, useModuleLoader as t, createFlowManager as u, isDesktopOrEmulated$1 as v, resolveSessionLanguage as y };
|
|
313
|
+
export { LAZY_UI_MODULES as a, initializeFlowManager as c, setupSDK as d, warmupWasmIfNeeded as f, HEADLESS_FLOW_MODULE_KEYS as i, preloadFirstModule as l, resolveSessionLanguage as m, extractIncodeStatus as n, createFlowManager as o, isDesktopOrEmulated$1 as p, UnsupportedModule as r, fetchTheme as s, resolveApiKey as t, preloadHomeScreen as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
2
|
-
import { u as purify } from "./spacer-
|
|
3
|
-
import { t as _defineProperty } from "./defineProperty-
|
|
2
|
+
import { u as purify } from "./spacer-CELhH34g.js";
|
|
3
|
+
import { t as _defineProperty } from "./defineProperty-BojnCa44.js";
|
|
4
4
|
//#region ../../node_modules/.pnpm/marked@17.0.5/node_modules/marked/lib/marked.esm.js
|
|
5
5
|
var _Class;
|
|
6
6
|
/**
|
package/dist/selfie/selfie.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-Dy2JqseS.js";
|
|
2
2
|
import { S as k, _ as y, c as A, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { i as preloadAnimations } from "../spacer-
|
|
5
|
-
import { t as Spinner } from "../spinner-
|
|
6
|
-
import {
|
|
7
|
-
import { t as Processing } from "../processing-
|
|
8
|
-
import { t as Permissions } from "../permissions-
|
|
9
|
-
import { n as Capture, t as Tutorial } from "../tutorial-
|
|
10
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, d as TransitionSpinner, i as withStandaloneModuleBootstrap, t as IncodeComponent, y as isTerminalModuleState } from "../incodeComponent-Ctt3_dEc.js";
|
|
4
|
+
import { i as preloadAnimations } from "../spacer-CELhH34g.js";
|
|
5
|
+
import { t as Spinner } from "../spinner-3yRMSVul.js";
|
|
6
|
+
import { b as ErrorIcon, f as ChevronRightIcon, r as SuccessIcon, x as Button } from "../icons-Bu1QoQJO.js";
|
|
7
|
+
import { t as Processing } from "../processing-ClvNQn0O.js";
|
|
8
|
+
import { t as Permissions } from "../permissions-APyMwclo.js";
|
|
9
|
+
import { n as Capture, t as Tutorial } from "../tutorial-DRjbK_mY.js";
|
|
10
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-B0oBiVJr.js";
|
|
11
11
|
import { createSelfieManager } from "@incodetech/core/selfie";
|
|
12
12
|
//#region src/modules/selfie/manualUpload/manualUploadError.tsx
|
|
13
13
|
/** `role="alert"` announces the rejection once on insert (SC 4.1.3). */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n@layer properties {\n @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n .IncodeComponent, .IncodeComponent *, .IncodeComponent :before, .IncodeComponent :after, .IncodeComponent ::backdrop {\n --tw-border-style: solid;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n --tw-rotate-x: initial;\n --tw-rotate-y: initial;\n --tw-rotate-z: initial;\n --tw-skew-x: initial;\n --tw-skew-y: initial;\n --tw-duration: initial;\n --tw-outline-style: solid;\n }\n }\n}\n\n@layer incode-theme, incode-utilities, incode-base, incode-components;\n\n@keyframes slideUp {\n from {\n transform: translateY(100%);\n }\n\n to {\n transform: translateY(0);\n }\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n@keyframes incodeToastFadeInOut {\n 0% {\n opacity: 0;\n transform: translate(-50%, -20px);\n }\n\n 15% {\n opacity: 1;\n transform: translate(-50%);\n }\n\n 85% {\n opacity: 1;\n transform: translate(-50%);\n }\n\n 100% {\n opacity: 0;\n transform: translate(-50%, -20px);\n }\n}\n\n.IncodeCaptureContainer {\n flex-direction: column;\n flex: 1;\n justify-content: flex-start;\n align-items: center;\n width: 100%;\n height: 100%;\n display: flex;\n position: relative;\n overflow: hidden;\n}\n\n.IncodeCaptureContainer .IncodeCaptureFrame {\n aspect-ratio: 1;\n width: 100%;\n max-width: var(--face-capture-frame-max-w);\n border-radius: var(--radius-full, var(--border-radius-full));\n border-style: var(--tw-border-style);\n border-width: 12px;\n border-color: #0000;\n position: relative;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoWrapper {\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n width: calc(100% - 24px);\n height: calc(100% - 24px);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );\n border-radius: var(--radius-full, var(--border-radius-full));\n background-color: var(--color-surface-neutral-100-static, var(--surface-neutral-100-static));\n justify-content: center;\n align-items: center;\n display: flex;\n position: absolute;\n top: 50%;\n left: 50%;\n overflow: hidden;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideo {\n z-index: 50;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoElement {\n inset: var(--spacing-0, var(--spacing-none, 0px));\n object-fit: cover;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoElement.IncodeMediaCoverPending {\n opacity: 0;\n}\n\n.IncodeCaptureContainer .IncodeCaptureVideoElement.IncodeCaptureVideoMirrored {\n transform: scaleX(-1);\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarHost {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarElement {\n inset: var(--spacing-0, var(--spacing-none, 0px));\n object-fit: cover;\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarElement.IncodeMediaCoverPending {\n opacity: 0;\n}\n\n.IncodeCaptureContainer .IncodeCaptureAvatarElement.IncodeCaptureAvatarMirrored {\n transform: scaleX(-1);\n}\n\n.IncodeCaptureVisuallyHidden {\n clip-path: inset(50%);\n white-space: nowrap;\n border-width: 0;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n position: absolute;\n overflow: hidden;\n}\n\n.IncodeFaceOutline {\n width: 100%;\n height: 100%;\n}\n\n.IncodeLoadingBorder {\n aspect-ratio: 1;\n width: 100%;\n max-width: var(--face-capture-frame-max-w);\n position: absolute;\n}\n\n.IncodeLoadingBorder .IncodeLoadingBorderBase, .IncodeLoadingBorder .IncodeLoadingBorderForeground {\n inset: var(--spacing-0, var(--spacing-none, 0px));\n position: absolute;\n}\n\n.IncodeLoadingBorder .IncodeLoadingBorderForeground.IncodeLoadingBorderSpinning {\n animation: var(--animate-spin, spin 1s linear infinite);\n}\n\n.IncodeLoadingBorder .IncodeLoadingBorderPath {\n transition: all 1s ease-in-out;\n}\n\n.IncodeNotification {\n flex-direction: column;\n align-items: center;\n display: flex;\n}\n\n.IncodeNotification .IncodeNotificationText {\n text-align: center;\n font-family: var(--typography-feedback-family);\n font-size: var(--typography-feedback-l-size);\n font-weight: var(--typography-feedback-l-weight);\n line-height: var(--typography-feedback-l-line-height);\n letter-spacing: var(--typography-feedback-l-letter-spacing);\n color: var(--color-text-body-primary, var(--text-body-800-primary));\n}\n\n.IncodeCameraButton {\n justify-content: center;\n align-items: center;\n display: flex;\n}\n\n.IncodeCameraButton .IncodeCameraButtonBackground {\n fill: var(--color-icon-neutral-800-static, var(--icon-neutral-800-static));\n}\n\n.IncodeCameraButton .IncodeCameraButtonRing, .IncodeCameraButton .IncodeCameraButtonPath {\n fill: var(--color-icon-neutral-50, var(--icon-neutral-50-static));\n}\n\n.IncodeCaptureCapturingPage .IncodeCaptureCapturingActions {\n justify-content: center;\n margin-top: auto;\n display: flex;\n}\n\n.IncodePrivacyLensBanner {\n max-width: var(--privacy-lens-banner-max-w);\n text-align: center;\n color: var(--privacy-lens-banner-color);\n font-size: var(--privacy-lens-banner-font-size);\n line-height: var(--privacy-lens-banner-line-height);\n padding: var(--privacy-lens-banner-padding);\n margin-inline: auto;\n}\n\n.IncodeCaptureStatusPage .IncodeCaptureStatusContainer {\n flex-direction: column;\n flex: 1;\n align-items: center;\n display: flex;\n}\n\n.IncodeCaptureStatusPage .IncodeCaptureStatusTitle {\n text-align: center;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h2-size);\n font-weight: var(--typography-headline-h2-weight);\n line-height: var(--typography-headline-h2-line-height);\n letter-spacing: var(--typography-headline-h2-letter-spacing);\n color: var(--color-text-body-primary, var(--text-body-800-primary));\n}\n\n.IncodeSelfieManualCapture {\n max-width: var(--manual-face-capture-max-w);\n flex-direction: column;\n align-items: center;\n display: flex;\n}\n\n.IncodeSelfieManualCaptureText {\n text-align: center;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h5-size);\n font-weight: var(--typography-headline-h5-weight);\n line-height: var(--typography-headline-h5-line-height);\n letter-spacing: var(--typography-headline-h5-letter-spacing);\n color: var(--color-text-body-secondary, var(--text-body-500-secondary));\n}\n\n.IncodeSelfieManualCaptureButton {\n padding: var(--spacing-0, var(--spacing-none, 0px));\n color: var(--color-text-body-primary, var(--text-body-800-primary));\n}\n\n.IncodeSelfieManualUploadPage .IncodeSelfieManualUploadContainer {\n gap: var(--spacing-8, var(--spacing-8, 8px));\n width: 100%;\n padding-block: var(--spacing-24, var(--spacing-24, 24px));\n flex-direction: column;\n display: flex;\n}\n\n.IncodeSelfieManualUploadPage .IncodeSelfieManualUploadFormats {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n padding-inline: var(--spacing-4, var(--spacing-4, 4px));\n font-family: var(--typography-body-family);\n font-size: var(--typography-body-m-regular-size);\n font-weight: var(--typography-body-m-regular-weight);\n line-height: var(--typography-body-m-regular-line-height);\n letter-spacing: var(--typography-body-m-regular-letter-spacing);\n color: var(--color-text-body-secondary, var(--text-body-500-secondary));\n}\n\n.IncodeSelfieManualUploadPage .IncodeSelfieManualUploadError {\n align-items: flex-start;\n gap: var(--spacing-4, var(--spacing-4, 4px));\n width: 100%;\n padding-inline: var(--spacing-4, var(--spacing-4, 4px));\n font-family: var(--typography-body-family);\n font-size: var(--typography-body-m-regular-size);\n font-weight: var(--typography-body-m-regular-weight);\n line-height: var(--typography-body-m-regular-line-height);\n letter-spacing: var(--typography-body-m-regular-letter-spacing);\n color: var(--color-input-text-helper-negative, var(--input-text-helper-negative));\n display: flex;\n}\n\n.IncodeSelfieManualUploadPage .IncodeSelfieManualUploadError p {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n flex: 1;\n}\n\n.IncodeSelfieManualUploadPage .IncodeSelfieManualUploadFooter {\n margin-top: auto;\n margin-bottom: var(--spacing-16, var(--spacing-16, 16px));\n row-gap: var(--spacing-24, var(--spacing-24, 24px));\n width: 100%;\n padding-top: var(--spacing-24, var(--spacing-24, 24px));\n flex-direction: column;\n display: flex;\n}\n\n.IncodeSelfieManualUploadPage .IncodeSelfieManualUploadHintCard {\n margin: var(--spacing-0, var(--spacing-none, 0px));\n border-radius: var(--radius-x-small, var(--border-radius-x-small));\n background-color: var(--color-surface-brand-50, var(--surface-brand-50));\n width: 100%;\n padding-block: var(--spacing-16, var(--spacing-16, 16px));\n padding-right: var(--spacing-12, var(--spacing-12, 12px));\n padding-left: var(--spacing-32, var(--spacing-32, 32px));\n color: var(--color-text-body-primary, var(--text-body-800-primary));\n list-style-type: disc;\n}\n\n.IncodeSelfieManualUploadPage .IncodeSelfieManualUploadHintCard li {\n font-family: var(--typography-button-family);\n font-size: var(--typography-button-s-size);\n font-weight: var(--typography-button-s-weight);\n line-height: var(--typography-button-s-line-height);\n letter-spacing: var(--typography-button-s-letter-spacing);\n color: var(--color-text-body-primary, var(--text-body-800-primary));\n}\n\n.IncodeSelfieManualUploadPage .IncodeSelfieManualUploadHintCard li + li {\n margin-top: var(--spacing-4, var(--spacing-4, 4px));\n}\n\n.IncodeSelfieUploadSlot {\n cursor: pointer;\n align-items: center;\n gap: var(--spacing-12, var(--spacing-12, 12px));\n border-radius: var(--radius-medium, var(--border-radius-medium));\n border-style: var(--tw-border-style);\n border-width: var(--border-width-regular, var(--primitive-border-width-1));\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--color-border-neutral-100, var(--border-neutral-100));\n background-color: var(--color-surface-neutral-50, var(--surface-neutral-50));\n width: 100%;\n padding-block: var(--spacing-24, var(--spacing-24, 24px));\n padding-right: var(--spacing-24, var(--spacing-24, 24px));\n padding-left: var(--spacing-20, var(--spacing-20, 20px));\n text-align: left;\n display: flex;\n}\n\n.IncodeSelfieUploadSlot .IncodeSelfieUploadSlotIcon {\n width: var(--spacing-24, var(--spacing-24, 24px));\n height: var(--spacing-24, var(--spacing-24, 24px));\n color: var(--color-icon-neutral-500, var(--icon-neutral-500));\n flex-shrink: 0;\n justify-content: center;\n display: flex;\n}\n\n.IncodeSelfieUploadSlot .IncodeSelfieUploadSlotLabel {\n text-overflow: ellipsis;\n white-space: nowrap;\n text-align: left;\n font-family: var(--typography-headline-family);\n font-size: var(--typography-headline-h5-size);\n font-weight: var(--typography-headline-h5-weight);\n line-height: var(--typography-headline-h5-line-height);\n letter-spacing: var(--typography-headline-h5-letter-spacing);\n color: var(--color-text-body-primary, var(--text-body-800-primary));\n flex: 1;\n overflow: hidden;\n}\n\n.IncodeSelfieUploadSlot .IncodeSelfieUploadSlotAction {\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n display: inline-flex;\n}\n\n.IncodeSelfieUploadSlot .IncodeSelfieUploadSlotPill {\n align-items: center;\n gap: var(--spacing-4, var(--spacing-4, 4px));\n border-radius: var(--radius-full, var(--border-radius-full));\n background-color: var(--color-button-primary-surface-default, var(--button-primary-surface-default));\n padding-block: var(--spacing-8, var(--spacing-8, 8px));\n padding-right: var(--spacing-8, var(--spacing-8, 8px));\n padding-left: var(--spacing-16, var(--spacing-16, 16px));\n font-family: var(--typography-button-family);\n font-size: var(--typography-button-s-size);\n font-weight: var(--typography-button-s-weight);\n line-height: var(--typography-button-s-line-height);\n letter-spacing: var(--typography-button-s-letter-spacing);\n color: var(--color-button-primary-text-default, var(--button-primary-text-default));\n transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;\n transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));\n transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));\n --tw-duration: .2s;\n transition-duration: .2s;\n display: inline-flex;\n}\n\n.IncodeSelfieUploadSlot:focus-visible {\n outline-style: var(--tw-outline-style);\n outline-offset: 2px;\n outline-width: 2px;\n outline-color: var(--color-border-status-focus, var(--border-status-focus));\n}\n\n.IncodeSelfieUploadSlot:hover:not(:disabled) .IncodeSelfieUploadSlotPill {\n background-color: var(--color-button-primary-surface-hover, var(--button-primary-surface-hover));\n}\n\n.IncodeSelfieUploadSlot:disabled {\n cursor: not-allowed;\n opacity: .5;\n}\n\n.IncodeSelfieUploadSlot + .IncodeSelfieUploadSlotInput {\n clip-path: inset(50%);\n white-space: nowrap;\n border-width: 0;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n position: absolute;\n overflow: hidden;\n}\n\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-rotate-x {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-rotate-y {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-rotate-z {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-skew-x {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-skew-y {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-duration {\n syntax: \"*\";\n inherits: false\n}\n\n@property --tw-outline-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n\n@keyframes spin {\n to {\n transform: rotate(360deg);\n }\n}\n";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { o as useTranslation } from "../uiConfig-
|
|
1
|
+
import { o as useTranslation } from "../uiConfig-Dy2JqseS.js";
|
|
2
2
|
import { _ as y, c as A, f as d, h as q, i as D, l as F, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import {
|
|
6
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
7
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
8
|
-
import { t as _defineProperty } from "../defineProperty-
|
|
3
|
+
import { S as useManager, b as useModuleTerminalCallbacks, c as Page, i as withStandaloneModuleBootstrap, t as IncodeComponent } from "../incodeComponent-Ctt3_dEc.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-CELhH34g.js";
|
|
5
|
+
import { x as Button } from "../icons-Bu1QoQJO.js";
|
|
6
|
+
import { t as VerificationResult } from "../verificationResult-DxH_CbuK.js";
|
|
7
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-B0oBiVJr.js";
|
|
8
|
+
import { t as _defineProperty } from "../defineProperty-BojnCa44.js";
|
|
9
9
|
import { createSignatureManager } from "@incodetech/core/signature";
|
|
10
10
|
//#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
|
|
11
11
|
/*!
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default "/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */\n@layer properties {\n @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {\n .IncodeComponent, .IncodeComponent *, .IncodeComponent :before, .IncodeComponent :after, .IncodeComponent ::backdrop {\n --tw-border-style: solid;\n --tw-translate-x: 0;\n --tw-translate-y: 0;\n --tw-translate-z: 0;\n }\n }\n}\n\n.IncodeSignature .IncodeSrOnly {\n clip-path: inset(50%);\n white-space: nowrap;\n border-width: 0;\n width: 1px;\n height: 1px;\n margin: -1px;\n padding: 0;\n position: absolute;\n overflow: hidden;\n}\n\n.IncodeSignature .IncodeSignatureContent {\n width: 100%;\n height: 100%;\n padding-top: var(--spacing-32, var(--spacing-32, 32px));\n flex-direction: column;\n flex: 1;\n display: flex;\n}\n\n.IncodeSignature .IncodeSignatureButtonContainer {\n margin-block: var(--spacing-16, var(--spacing-16, 16px));\n}\n\n.IncodeSignature.IncodeSignatureFadeIn {\n animation: fadeIn var(--motion-fade-in-duration, .7s) ease-out;\n animation-fill-mode: both;\n}\n\n.IncodeSignature .IncodeSignatureCanvasContainer {\n width: 100%;\n padding-inline: var(--spacing-16, var(--spacing-16, 16px));\n padding-block: var(--spacing-8, var(--spacing-8, 8px));\n border-radius: var(--radius-small, var(--border-radius-small));\n border-style: var(--tw-border-style);\n border-width: var(--border-width-regular, var(--primitive-border-width-1));\n --tw-border-style: solid;\n border-style: solid;\n border-color: var(--color-input-border-default, var(--input-border-default));\n background-color: var(--color-input-surface-default, var(--input-surface-default));\n height: var(--signature-canvas-height);\n max-width: var(--signature-canvas-max-width);\n align-self: center;\n position: relative;\n}\n\n.IncodeSignature .IncodeSignatureCanvas {\n width: 100%;\n height: 100%;\n padding-block: var(--spacing-8, var(--spacing-8, 8px));\n}\n\n.IncodeSignature .IncodeSignatureCanvasPlaceholder {\n font-family: var(--typography-input-dropdown-family);\n font-size: var(--typography-input-dropdown-m-size);\n font-weight: var(--typography-input-dropdown-m-weight);\n line-height: var(--typography-input-dropdown-m-line-height);\n letter-spacing: var(--typography-input-dropdown-m-letter-spacing);\n color: var(--color-input-text-field-placeholder, var(--input-text-field-placeholder));\n --tw-translate-x: calc(calc(1 / 2 * 100%) * -1);\n --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);\n translate: var(--tw-translate-x) var(--tw-translate-y);\n pointer-events: none;\n text-align: center;\n -webkit-user-select: none;\n user-select: none;\n width: 100%;\n animation: fadeIn var(--motion-fade-in-duration, .7s) ease-out;\n animation-fill-mode: both;\n position: absolute;\n top: 50%;\n left: 50%;\n}\n\n.IncodeSignature .IncodeSignatureSuccess {\n flex-direction: column;\n justify-content: center;\n align-items: center;\n display: flex;\n}\n\n@property --tw-border-style {\n syntax: \"*\";\n inherits: false;\n initial-value: solid;\n}\n\n@property --tw-translate-x {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-translate-y {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n\n@property --tw-translate-z {\n syntax: \"*\";\n inherits: false;\n initial-value: 0;\n}\n";
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import { a as Trans, o as useTranslation } from "./uiConfig-Dy2JqseS.js";
|
|
2
|
+
import { S as k, f as d, h as q, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
+
import { t as Spacer } from "./spacer-CELhH34g.js";
|
|
4
|
+
import { b as ErrorIcon, r as SuccessIcon, x as Button } from "./icons-Bu1QoQJO.js";
|
|
5
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-bnVvS5AS.js";
|
|
6
|
+
import { n as useResendTimerAnnouncements, t as formatResendTimer } from "./resendTimer-Cdv4c_kI.js";
|
|
7
|
+
import { i as getCountryByCallingCode } from "./countries-5e8kwG_m.js";
|
|
8
|
+
import { t as PhoneInputComposed } from "./phoneInputComposed-Fp_AAyTq.js";
|
|
9
|
+
//#region src/modules/redirect-to-mobile/smsSentView.tsx
|
|
10
|
+
var SmsSentView = ({ formattedPhone, hasError, resendTimer, canResendSms, onResend, onChangePhone }) => {
|
|
11
|
+
const { t } = useTranslation();
|
|
12
|
+
return /* @__PURE__ */ u("div", {
|
|
13
|
+
class: "IncodeRedirectLinkSent",
|
|
14
|
+
children: [/* @__PURE__ */ u("div", {
|
|
15
|
+
ref: useResendTimerAnnouncements({
|
|
16
|
+
canResend: canResendSms,
|
|
17
|
+
resendTimer,
|
|
18
|
+
disabled: hasError,
|
|
19
|
+
i18nKeys: { resendAvailable: "redirectToMobile.resendLinkAvailable" }
|
|
20
|
+
}),
|
|
21
|
+
class: "IncodeSrOnly",
|
|
22
|
+
"aria-live": "polite",
|
|
23
|
+
"aria-atomic": "true",
|
|
24
|
+
"data-testid": "redirect-sms-live-region"
|
|
25
|
+
}), hasError ? /* @__PURE__ */ u(k, { children: [
|
|
26
|
+
/* @__PURE__ */ u(ErrorIcon, { size: 40 }),
|
|
27
|
+
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
28
|
+
/* @__PURE__ */ u(AutoFocusTitle, {
|
|
29
|
+
className: "IncodeRedirectLinkSentTitle",
|
|
30
|
+
"data-testid": "redirect-sms-status-heading",
|
|
31
|
+
children: t("redirect.tooManyAttempts")
|
|
32
|
+
}),
|
|
33
|
+
/* @__PURE__ */ u(Spacer, { size: 12 }),
|
|
34
|
+
/* @__PURE__ */ u("p", {
|
|
35
|
+
class: "IncodeRedirectLinkSentPhone",
|
|
36
|
+
role: "alert",
|
|
37
|
+
children: t("redirect.smsErrorSubtitle")
|
|
38
|
+
}),
|
|
39
|
+
/* @__PURE__ */ u(Spacer, { size: 24 }),
|
|
40
|
+
/* @__PURE__ */ u("div", {
|
|
41
|
+
class: "IncodeRedirectLinkSentActions",
|
|
42
|
+
children: /* @__PURE__ */ u(Button, {
|
|
43
|
+
variant: "link",
|
|
44
|
+
onClick: onChangePhone,
|
|
45
|
+
"data-testid": "sms-change-phone",
|
|
46
|
+
children: t("redirect.changePhoneNumber")
|
|
47
|
+
})
|
|
48
|
+
})
|
|
49
|
+
] }) : /* @__PURE__ */ u(k, { children: [
|
|
50
|
+
/* @__PURE__ */ u(SuccessIcon, { size: 40 }),
|
|
51
|
+
/* @__PURE__ */ u(Spacer, { size: 16 }),
|
|
52
|
+
/* @__PURE__ */ u(AutoFocusTitle, {
|
|
53
|
+
className: "IncodeRedirectLinkSentTitle",
|
|
54
|
+
"data-testid": "redirect-sms-status-heading",
|
|
55
|
+
children: t("redirect.linkSent")
|
|
56
|
+
}),
|
|
57
|
+
/* @__PURE__ */ u(Spacer, { size: 12 }),
|
|
58
|
+
/* @__PURE__ */ u("p", {
|
|
59
|
+
class: "IncodeRedirectLinkSentPhone",
|
|
60
|
+
children: t("redirect.linkSentTo", { phone: formattedPhone })
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ u(Spacer, { size: 32 }),
|
|
63
|
+
/* @__PURE__ */ u("div", {
|
|
64
|
+
class: "IncodeRedirectLinkSentActions",
|
|
65
|
+
children: !canResendSms && resendTimer > 0 ? /* @__PURE__ */ u(k, { children: [
|
|
66
|
+
/* @__PURE__ */ u(Spacer, { size: 8 }),
|
|
67
|
+
/* @__PURE__ */ u(Button, {
|
|
68
|
+
variant: "link",
|
|
69
|
+
size: "inline",
|
|
70
|
+
disabled: true,
|
|
71
|
+
"data-testid": "sms-timer",
|
|
72
|
+
children: t("redirectToMobile.resendCountdown", { time: formatResendTimer(resendTimer) })
|
|
73
|
+
}),
|
|
74
|
+
/* @__PURE__ */ u(Spacer, { size: 8 })
|
|
75
|
+
] }) : /* @__PURE__ */ u(Trans, {
|
|
76
|
+
i18nKey: "redirect.didntReceiveLinkActions",
|
|
77
|
+
components: {
|
|
78
|
+
resend: /* @__PURE__ */ u(Button, {
|
|
79
|
+
variant: "link",
|
|
80
|
+
size: "inline",
|
|
81
|
+
onClick: onResend,
|
|
82
|
+
"data-testid": "sms-resend"
|
|
83
|
+
}),
|
|
84
|
+
changePhone: /* @__PURE__ */ u(Button, {
|
|
85
|
+
variant: "link",
|
|
86
|
+
size: "inline",
|
|
87
|
+
onClick: onChangePhone,
|
|
88
|
+
"data-testid": "sms-change-phone"
|
|
89
|
+
})
|
|
90
|
+
}
|
|
91
|
+
})
|
|
92
|
+
})
|
|
93
|
+
] })]
|
|
94
|
+
});
|
|
95
|
+
};
|
|
96
|
+
//#endregion
|
|
97
|
+
//#region src/modules/redirect-to-mobile/smsForm.tsx
|
|
98
|
+
var SmsForm = ({ countryCode, error, isSending, isPhoneValid, onPhoneChange, onSendSms }) => {
|
|
99
|
+
const { t } = useTranslation();
|
|
100
|
+
return /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(PhoneInputComposed, {
|
|
101
|
+
id: "sms-phone",
|
|
102
|
+
label: t("verification.labels.phone"),
|
|
103
|
+
countryCode,
|
|
104
|
+
error,
|
|
105
|
+
disabled: isSending,
|
|
106
|
+
autoFocus: true,
|
|
107
|
+
autocomplete: "tel",
|
|
108
|
+
required: true,
|
|
109
|
+
"data-testid": "redirect-sms-phone",
|
|
110
|
+
onChange: onPhoneChange
|
|
111
|
+
}), /* @__PURE__ */ u(Button, {
|
|
112
|
+
onClick: onSendSms,
|
|
113
|
+
disabled: !isPhoneValid || isSending,
|
|
114
|
+
isLoading: isSending,
|
|
115
|
+
class: "IncodeRedirectSmsSendButton",
|
|
116
|
+
"data-testid": "redirect-sms-send",
|
|
117
|
+
children: t("redirect.sendLinkSms")
|
|
118
|
+
})] });
|
|
119
|
+
};
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/modules/redirect-to-mobile/smsTabContent.tsx
|
|
122
|
+
var formatPhoneNumber = (phone, prefix) => {
|
|
123
|
+
if (!phone.startsWith(prefix)) return phone;
|
|
124
|
+
return `${prefix} ${phone.slice(prefix.length).replace(/(\d{3})(?=\d)/g, "$1 ")}`;
|
|
125
|
+
};
|
|
126
|
+
var SmsTabContent = ({ phonePrefix, smsSent, smsFailed, smsResendTimer, canResendSms, error, manager, onResend }) => {
|
|
127
|
+
const { t } = useTranslation();
|
|
128
|
+
const [phoneNumber, setPhoneNumber] = d(phonePrefix);
|
|
129
|
+
const [isPhoneValid, setIsPhoneValid] = d(false);
|
|
130
|
+
const [isSending, setIsSending] = d(false);
|
|
131
|
+
const countryCode = getCountryByCallingCode(phonePrefix)?.code ?? "";
|
|
132
|
+
const formattedPhone = formatPhoneNumber(phoneNumber, phonePrefix);
|
|
133
|
+
const handlePhoneChange = q((phone, valid) => {
|
|
134
|
+
setPhoneNumber(phone);
|
|
135
|
+
setIsPhoneValid(valid);
|
|
136
|
+
}, []);
|
|
137
|
+
const handleSendSms = q(() => {
|
|
138
|
+
setIsSending(true);
|
|
139
|
+
manager.sendSms(phoneNumber);
|
|
140
|
+
setIsSending(false);
|
|
141
|
+
}, [manager, phoneNumber]);
|
|
142
|
+
const handleResend = q(() => {
|
|
143
|
+
handleSendSms();
|
|
144
|
+
onResend();
|
|
145
|
+
}, [handleSendSms, onResend]);
|
|
146
|
+
const handleChangePhone = q(() => {
|
|
147
|
+
setPhoneNumber(phonePrefix);
|
|
148
|
+
setIsPhoneValid(false);
|
|
149
|
+
manager.resetSms();
|
|
150
|
+
}, [manager, phonePrefix]);
|
|
151
|
+
return /* @__PURE__ */ u(k, { children: smsSent || smsFailed ? /* @__PURE__ */ u(SmsSentView, {
|
|
152
|
+
formattedPhone,
|
|
153
|
+
hasError: smsFailed,
|
|
154
|
+
resendTimer: smsResendTimer,
|
|
155
|
+
canResendSms,
|
|
156
|
+
onResend: handleResend,
|
|
157
|
+
onChangePhone: handleChangePhone
|
|
158
|
+
}) : /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u("p", {
|
|
159
|
+
class: "IncodeRedirectTabDescription",
|
|
160
|
+
children: t("v2.redirectToMobile.sms.description")
|
|
161
|
+
}), /* @__PURE__ */ u(SmsForm, {
|
|
162
|
+
countryCode,
|
|
163
|
+
phonePrefix,
|
|
164
|
+
error,
|
|
165
|
+
isSending,
|
|
166
|
+
isPhoneValid,
|
|
167
|
+
onPhoneChange: handlePhoneChange,
|
|
168
|
+
onSendSms: handleSendSms
|
|
169
|
+
})] }) });
|
|
170
|
+
};
|
|
171
|
+
//#endregion
|
|
172
|
+
export { SmsTabContent };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as __toESM } from "./rolldown-runtime--E5BIlTp.js";
|
|
2
|
-
import { o as useTranslation, r as useUiConfig } from "./uiConfig-
|
|
2
|
+
import { o as useTranslation, r as useUiConfig } from "./uiConfig-Dy2JqseS.js";
|
|
3
3
|
import { _ as y, b as Q, c as A, d as _, f as d, g as x, h as q, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
4
4
|
//#region src/styles/cn.tsx
|
|
5
5
|
var cn = (...classes) => {
|
|
@@ -1683,30 +1683,30 @@ var assetRegistry = {
|
|
|
1683
1683
|
};
|
|
1684
1684
|
var animationRegistry = {
|
|
1685
1685
|
"id.tutorial.front": {
|
|
1686
|
-
default: () => import("./id-tutorial-
|
|
1686
|
+
default: () => import("./id-tutorial-IhmAzrIF.js").then(defaultExport),
|
|
1687
1687
|
a11y: decorative
|
|
1688
1688
|
},
|
|
1689
1689
|
"id.tutorial.back": {
|
|
1690
|
-
default: () => import("./back-tutorial-
|
|
1690
|
+
default: () => import("./back-tutorial-XdmQ0Wml.js").then(defaultExport),
|
|
1691
1691
|
a11y: decorative
|
|
1692
1692
|
},
|
|
1693
1693
|
"id.tutorial.passport": {
|
|
1694
|
-
default: () => import("./passport-tutorial
|
|
1694
|
+
default: () => import("./passport-tutorial-61vlloJS.js").then(defaultExport),
|
|
1695
1695
|
a11y: decorative
|
|
1696
1696
|
},
|
|
1697
1697
|
"id.flip": {
|
|
1698
|
-
default: () => import("./flip-animation-
|
|
1698
|
+
default: () => import("./flip-animation-VicedlT5.js").then(defaultExport),
|
|
1699
1699
|
a11y: decorative
|
|
1700
1700
|
},
|
|
1701
1701
|
"id.processing": {
|
|
1702
1702
|
default: {
|
|
1703
|
-
horizontal: () => import("./id-laser-h-
|
|
1704
|
-
vertical: () => import("./id-laser-v-
|
|
1703
|
+
horizontal: () => import("./id-laser-h-B0-iXcvl.js").then(defaultExport),
|
|
1704
|
+
vertical: () => import("./id-laser-v-Bqh6vimi.js").then(defaultExport)
|
|
1705
1705
|
},
|
|
1706
1706
|
a11y: decorative
|
|
1707
1707
|
},
|
|
1708
1708
|
"selfie.tutorial": {
|
|
1709
|
-
default: () => import("./selfieTutorial-
|
|
1709
|
+
default: () => import("./selfieTutorial-BRQ2QNxQ.js").then(defaultExport),
|
|
1710
1710
|
a11y: decorative
|
|
1711
1711
|
},
|
|
1712
1712
|
"loader.spinner": {
|
|
@@ -1978,7 +1978,7 @@ function Asset({ name, class: className, default: defaultAsset, onFallback }) {
|
|
|
1978
1978
|
var lottiePromise = null;
|
|
1979
1979
|
async function loadLottie() {
|
|
1980
1980
|
if (lottiePromise) return lottiePromise;
|
|
1981
|
-
lottiePromise = import("./lottie_light-
|
|
1981
|
+
lottiePromise = import("./lottie_light-CzZ3CHBk.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)).then((mod) => mod.default);
|
|
1982
1982
|
return lottiePromise;
|
|
1983
1983
|
}
|
|
1984
1984
|
var AUTO_STOP_AFTER_MS = 5e3;
|