@incodetech/web 2.4.0-rc.4 → 2.4.1-agentic
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/{GeolocationPermissionDenied-NCe8TBk4.js → GeolocationPermissionDenied-CUt-uebQ.js} +5 -5
- package/dist/ae-signature/ae-signature.es.js +3 -3
- package/dist/{af-ZA-BbU0OdlG.js → af-ZA-BWKMRc6V.js} +90 -4
- package/dist/{ageVerification-B5ownHdO.js → ageVerification-CMIp0I--.js} +4 -4
- package/dist/{am-BuvQtV50.js → am-DPyjIvQV.js} +90 -4
- package/dist/antifraud/antifraud.es.js +3 -3
- package/dist/applyStudioConfig-DxtP9221.js +126 -0
- package/dist/{ar-Ba-wMBXP.js → ar-10SoqF1i.js} +91 -5
- package/dist/{ar-AE-Bdk7NfI2.js → ar-AE-CxCvbyoW.js} +90 -4
- package/dist/{ar-EG-C9FVwsEB.js → ar-EG-B1hHB55j.js} +90 -4
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{autoFocusTitle-BQltp_Nn.js → autoFocusTitle-BxsSeMSB.js} +1 -1
- package/dist/{az-DHRJfgCV.js → az-cmuBNn_5.js} +90 -4
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-CL2A9XLh.js → baseTutorial-BGU2Gcly.js} +3 -3
- package/dist/{bn-BfE2MHPG.js → bn-CuGYlngZ.js} +90 -4
- package/dist/{bottomSheet-DU4SrMOH.js → bottomSheet-x20yd6eP.js} +2 -2
- package/dist/{bs-Ck9dCVYh.js → bs-vwpJzaHm.js} +89 -3
- package/dist/{ca-yJUG5zqw.js → ca-DXZs5vtr.js} +89 -3
- package/dist/cameraOverlay-Be1PFI8S.js +2 -0
- package/dist/{cameraOverlayHeader-Bp7NCrl9.js → cameraOverlayHeader-BxutAKy-.js} +4 -4
- package/dist/{cameraView-CLlWARBI.js → cameraView-DVzaEGW8.js} +13 -14
- package/dist/{ceb-oov4R9JM.js → ceb-CmhS_VOs.js} +90 -4
- package/dist/certificate-issuance/certificate-issuance.es.js +9 -9
- package/dist/{checkbox-DbYUeTao.js → checkbox-BC26Qbxh.js} +3 -3
- package/dist/consent/consent.es.js +11 -10
- package/dist/consent/styles.css +1 -1
- package/dist/consent/styles.css.js +1 -1
- package/dist/{countryFlag-2Vj85OIZ.js → countryFlag-DXSVHiby.js} +1 -1
- package/dist/{countrySelector-El6_zLMs.js → countrySelector-0PDDFsZF.js} +5 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
- package/dist/{cs-CZ-B9jWzmE_.js → cs-CZ-Dg5O-Vom.js} +89 -3
- package/dist/{cs-ovOFxGB0.js → cs-CoJlE7De.js} +89 -3
- package/dist/curp-validation/curp-validation.es.js +13 -13
- package/dist/{customFields-BlYfgYje.js → customFields-COYGTuuK.js} +9 -10
- package/dist/{customWatchlist-BsBTzCCN.js → customWatchlist-B0wY6Rwb.js} +5 -6
- package/dist/{da-DK-C0l5MGWM.js → da-DK-C_JAndM-.js} +89 -3
- package/dist/{dashboardTheme-MVQerNVn.js → dashboardTheme-COBidrbH.js} +22 -23
- package/dist/dateInputComposed-CONPVayx.js +1 -0
- package/dist/{dateInputComposed-DXCc1HRe.js → dateInputComposed-QkmLGLHg.js} +4 -4
- package/dist/{de-B0IRPjwJ.js → de-11hHLedu.js} +89 -3
- package/dist/{denied-wXsbFjy_.js → denied-Btt81vUD.js} +7 -7
- package/dist/{uiConfig-BA7U_zLr.js → devWarn-Cr7MglXv.js} +127 -88
- package/dist/deviceWallet-BeTpokSL.js +37 -0
- package/dist/{digitalIdRedirect-CF7zG3wS.js → digitalIdRedirect-BnljwZV3.js} +3 -3
- package/dist/{digitalIdUpload-CbPm090z.js → digitalIdUpload-DNhqqMHT.js} +6 -6
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/documentCapture-DGCraCO3.js +2 -0
- package/dist/{documentCapture-CgpHXm_8.js → documentCapture-uAKPK1U-.js} +39 -30
- package/dist/{dropdownComposed-qb9GgX5X.js → dropdownComposed-D_RQd0Z9.js} +3 -3
- package/dist/dropdownComposed-DyZXfcTf.js +1 -0
- package/dist/dynamic-forms/dynamic-forms.es.js +12 -12
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekyb/styles.css +1 -1
- package/dist/ekyb/styles.css.js +1 -1
- package/dist/{ekybModule-BgZIkVVl.js → ekybModule-Bsqag_MS.js} +13 -13
- package/dist/ekybModule-D-czIusz.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +1 -1
- package/dist/ekyc/styles.css.js +1 -1
- package/dist/ekycModule-CkBRa6h2.js +2 -0
- package/dist/{ekycModule-DEVrRrnH.js → ekycModule-WlhVn8AO.js} +61 -40
- package/dist/{el-Do7wYurZ.js → el-CRGmVrep.js} +89 -3
- package/dist/{el-GR-BZEKLkvc.js → el-GR-CjtJiRTo.js} +89 -3
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-DE6FJfvu.js → electronic-signature-Cm2BEiQu.js} +10 -10
- package/dist/email/email.es.js +8 -8
- package/dist/{emailInput-Cp77LavN.js → emailInput-JmK2JIFS.js} +3 -3
- package/dist/{en-CJ6l68pH.js → en-CSjoG3e4.js} +90 -4
- package/dist/{en-DG-Cvwm0nfj.js → en-DG-Cruu6Woh.js} +90 -4
- package/dist/{errorContent-YeJNVb1U.js → errorContent-zY4jb6uY.js} +5 -5
- package/dist/{es-419-DlCbbvcc.js → es-419-CTB15v-l.js} +89 -3
- package/dist/{es-rayGAvsH.js → es-C_LAY-Yu.js} +89 -3
- package/dist/{es-ES-B8h3jMgN.js → es-ES-D7O0P5Mg.js} +89 -3
- package/dist/{es-MX-DA__jQOC.js → es-MX-DVzFaANh.js} +89 -3
- package/dist/{esm-15CISqPe.js → esm-BTUEHyry.js} +1 -1
- package/dist/{et-DvX7tm-R.js → et-DdSwjU5d.js} +91 -5
- package/dist/{expiredId-CsKNCK5M.js → expiredId-DpbWqSzB.js} +5 -5
- package/dist/extensibility.es.js +53 -52
- package/dist/{fa-IR-DfrzWcH0.js → fa-IR-CdK8XLkS.js} +90 -4
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/face-match/styles.css +1 -1
- package/dist/face-match/styles.css.js +1 -1
- package/dist/{faceMatch-Bqspq0cw.js → faceMatch-B0IzR9_u.js} +8 -18
- package/dist/faceMatch-CRbIcwK2.js +2 -0
- package/dist/{fi-FI-CcFDkeiE.js → fi-FI-CYlEPu44.js} +89 -3
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-DKQNK0-r.js +2 -0
- package/dist/{fieldComparison-CmQN2MEj.js → fieldComparison-OwGIeOM5.js} +8 -8
- package/dist/{finalSuccessScreen-1Ea3wZWM.js → finalSuccessScreen-BM9oeJDH.js} +11 -11
- package/dist/fiscal-qr/fiscal-qr.es.js +13 -13
- package/dist/{flipAnimation-DY9K2zel.js → flipAnimation-D-5tokFC.js} +270 -43
- package/dist/flow/flow.es.js +36 -29
- package/dist/flow/styles.css +1 -1
- package/dist/{formField-DoXWcoL9.js → formField-C3MNhFKI.js} +18 -10
- package/dist/{fr-DtdqfaF8.js → fr-C4cP8ZNE.js} +89 -3
- package/dist/{fr-CA-CeL7RQc-.js → fr-CA-DD_s9NuV.js} +89 -3
- package/dist/geolocation/geolocation.es.js +7 -9
- package/dist/government-validation/government-validation.es.js +5 -5
- package/dist/{he-CPeNHo0I.js → he-D3fvMZAl.js} +90 -4
- package/dist/helpButtonConfig-BFragC_J.js +24 -0
- package/dist/{hi-DIbkmie6.js → hi-DLf6_opn.js} +90 -4
- package/dist/{hmn-CscGik4W.js → hmn-DzoODzbN.js} +90 -4
- package/dist/{homeScreen-C0j_8KKD.js → homeScreen-D1Xd93In.js} +13 -8
- package/dist/{hr-DWUsAZnf.js → hr-C-jP0DrB.js} +89 -3
- package/dist/{ht-DgaboG3c.js → ht-CVt9koJf.js} +90 -4
- package/dist/{hu-Lz2qVC3S.js → hu-9fSzIeAd.js} +91 -5
- package/dist/{icons-OQDvn5r2.js → icons-BdiCuWFP.js} +26 -26
- package/dist/id/id.es.js +34 -34
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-C5eOEjgu.js → id-Dgi5uGHK.js} +90 -4
- package/dist/id-selfie-flow/id-selfie-flow.es.js +10 -10
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +4 -4
- package/dist/{idOcr-C-kHrU_d.js → idOcr-sknZwQNF.js} +12 -12
- package/dist/identity-reuse/identity-reuse.es.js +10 -10
- package/dist/{incodeComponent-CMBg2gpq.js → incodeComponent-C1Bz5Qou.js} +266 -42
- package/dist/incodeModule-DJToJb00.js +41 -0
- package/dist/index.es.js +4 -3
- package/dist/inputComposed-5mLbxAZJ.js +1 -0
- package/dist/{inputComposed-CR1IW-mQ.js → inputComposed-BuE0iZlw.js} +3 -3
- package/dist/{it-CQGuLrxZ.js → it-CEFstYFG.js} +90 -4
- package/dist/{ja-CBD-jOkP.js → ja-BNdVd9B6.js} +90 -4
- package/dist/{ja-JP-Dgbzh2aL.js → ja-JP-B5TPMV1q.js} +91 -5
- package/dist/{jv-C-E67yDR.js → jv-CMxkkXUk.js} +89 -3
- package/dist/{ka-CcCqDmzw.js → ka-C70bUmEK.js} +90 -4
- package/dist/{kk-B_5WgCfa.js → kk-C_55EmWt.js} +89 -3
- package/dist/{km-CucJh4em.js → km-D4Ig0NhN.js} +96 -10
- package/dist/{ko-BEd2Jz4C.js → ko-DfUa3dzQ.js} +90 -4
- package/dist/{ko-KP-BSjl3hdX.js → ko-KP-BwBB8ahu.js} +90 -4
- package/dist/{ky-Bb9MfmYr.js → ky-CnJichOm.js} +89 -3
- package/dist/{lo-CD_Ehkf5.js → lo-ww1DXVAP.js} +90 -4
- package/dist/{lt-DHkwvJ8e.js → lt-IJ8qpluI.js} +89 -3
- package/dist/{lv-CPuPO_jU.js → lv-DMfsmqyK.js} +91 -5
- package/dist/{mandatoryConsent-BHMWyBUp.js → mandatoryConsent-Bp8sQoiu.js} +11 -10
- package/dist/{manualCaptureButton-D5XP3Oaf.js → manualCaptureButton-BXOTp2PS.js} +9 -8
- package/dist/{manualCaptureButton-D_tGP6tv.js → manualCaptureButton-Cd-FY05-.js} +3 -3
- package/dist/{mk-DO85nJp4.js → mk-ByafmFak.js} +90 -4
- package/dist/{mn-D5fhne6X.js → mn-DjO9p3xN.js} +89 -3
- package/dist/{ms-D_FFGDor.js → ms-3Vf1QpHl.js} +89 -3
- package/dist/{my-D1JKF20F.js → my-C5hpE5P1.js} +90 -4
- package/dist/{nb-NO-oEMuavpl.js → nb-NO-DGCWCOul.js} +89 -3
- package/dist/{ne-Ds3QEMQ4.js → ne-CpJxcVhV.js} +90 -4
- package/dist/{nl-DGyLucC1.js → nl-R2RykJHB.js} +90 -4
- package/dist/{optionAccessibleLabel-SwDCMYKc.js → optionAccessibleLabel-BQl8HooZ.js} +7 -6
- package/dist/{otpInput-DIUf37GR.js → otpInput-B_iLvmIn.js} +6 -6
- package/dist/{page-BGUJaLaG.js → page-utEpSa9Z.js} +27 -46
- package/dist/{incode-logo-BBYHyycP.js → pageUiConfig-rOL18JSI.js} +35 -3
- package/dist/{passwordInputComposed-Cd-3kyua.js → passwordInputComposed-NtiseM85.js} +4 -4
- package/dist/{pdf-BKHLi5Ac.js → pdf-BnPw8ZaT.js} +1 -1
- package/dist/pdfViewer-7FzYV8l3.js +2 -0
- package/dist/{pdfViewer-EDgSzrdc.js → pdfViewer-DNMZsDFD.js} +3 -3
- package/dist/{permissions-Vh-QG2Tj.js → permissions-CCEc9lKM.js} +11 -11
- package/dist/phone/phone.es.js +9 -9
- package/dist/{phoneInputComposed-wZaDiedP.js → phoneInputComposed-ByiK_6Hu.js} +48 -11
- package/dist/{pl-nEtI_VZQ.js → pl-B1LgnPj1.js} +89 -3
- package/dist/{processing-SzW6Mfrg.js → processing-Ci_Kl-Rh.js} +1 -1
- package/dist/{progressBar-KEnpi8uj.js → progressBar-Caj-Vu1e.js} +1 -1
- package/dist/{pt-BR-BkLAWIbx.js → pt-BR-DSJDHb-K.js} +90 -4
- package/dist/{pt-EmaaUJGm.js → pt-CPVeH0hD.js} +90 -4
- package/dist/{pt-PT-Py_4_Z05.js → pt-PT-BWJTVPZY.js} +90 -4
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/{radioGroupComposed-CRr_78He.js → radioGroupComposed-CocqpoKe.js} +3 -3
- package/dist/radioGroupComposed-DlQ-fNrF.js +1 -0
- package/dist/realtimeFeedbackConfig-DeZksjlR.js +16 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +51 -48
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{resendTimer-EhLnxeID.js → resendTimer-ODOCcKyh.js} +1 -1
- package/dist/{richText-aCnLd3j2.js → richText-CRWB2afV.js} +2 -2
- package/dist/{ro-BKmZhZl1.js → ro-8gGEWeHO.js} +90 -4
- package/dist/{ru-BYQKvZtn.js → ru-C4EVku5S.js} +90 -4
- package/dist/{ru-RU-BdhCs3uF.js → ru-RU-Dr0NOGjg.js} +89 -3
- package/dist/{sanitizeSvg-BC-qLUgS.js → sanitizeSvg-ilJ8VQmH.js} +1 -1
- package/dist/selfie/selfie.es.js +14 -8
- package/dist/selfie/styles.css +1 -1
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +8 -8
- package/dist/{sk-CZipa19k.js → sk-BSTzMa__.js} +89 -3
- package/dist/{sl-_sx3gvEv.js → sl-_HvO-HVX.js} +90 -4
- package/dist/{smsTabContent-DHuEgl3E.js → smsTabContent-CWBrtP4u.js} +6 -6
- package/dist/{so-D3T7YyfC.js → so-pyCaqonl.js} +90 -4
- package/dist/{spacer-BvrtrwSF.js → spacer-CwyNauIk.js} +11 -19
- package/dist/{spinner-CkN8sW0d.js → spinner-DEZJxLSc.js} +2 -2
- package/dist/{sr-D0lglPAd.js → sr-Bpxtt0kk.js} +89 -3
- package/dist/{sr-Latn-Dy2rgSEv.js → sr-Latn-BjueCJSI.js} +95 -9
- package/dist/{sr-YU-UEhyvXZ-.js → sr-YU-xCb5qxap.js} +89 -3
- package/dist/{sv-SE-VsDd4VP5.js → sv-SE-sv5v6ZWe.js} +89 -3
- package/dist/{sw-D2VfTj6a.js → sw-BseJSmdR.js} +90 -4
- package/dist/{th-BzmKSnbD.js → th-C2G8Ur12.js} +90 -4
- package/dist/{th-TH-BU_NqN97.js → th-TH-D0WNW-3l.js} +90 -4
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-GXkKKnzb.js → tl-CBOmxz5r.js} +90 -4
- package/dist/{tl-PH-BJJNA9rs.js → tl-PH-CwafDrED.js} +90 -4
- package/dist/{tr-C1MJnwIJ.js → tr-C4iH8UJx.js} +90 -4
- package/dist/{transitionSpinner-Bkjw-WAJ.js → transitionSpinner-DbrWrpRU.js} +3 -3
- package/dist/{tutorial-Bwt7rxfr.js → tutorial-BKPHj5To.js} +211 -27
- package/dist/types/ae-signature.d.ts +10 -1
- package/dist/types/antifraud.d.ts +10 -1
- package/dist/types/authentication.d.ts +10 -1
- package/dist/types/certificate-issuance.d.ts +10 -1
- package/dist/types/consent.d.ts +10 -1
- package/dist/types/cross-document-data-match.d.ts +10 -1
- package/dist/types/curp-validation.d.ts +10 -1
- package/dist/types/document-capture.d.ts +10 -1
- package/dist/types/dynamic-forms.d.ts +10 -1
- package/dist/types/ekyb.d.ts +10 -1
- package/dist/types/ekyc.d.ts +10 -1
- package/dist/types/electronic-signature.d.ts +10 -1
- package/dist/types/email.d.ts +10 -1
- package/dist/types/extensibility.d.ts +141 -20
- package/dist/types/face-match.d.ts +10 -1
- package/dist/types/field-comparison.d.ts +10 -1
- package/dist/types/fiscal-qr.d.ts +10 -1
- package/dist/types/flow.d.ts +22 -2
- package/dist/types/geolocation.d.ts +10 -1
- package/dist/types/government-validation.d.ts +10 -1
- package/dist/types/id-selfie-flow.d.ts +10 -1
- package/dist/types/id-verification.d.ts +10 -1
- package/dist/types/id.d.ts +10 -1
- package/dist/types/identity-reuse.d.ts +10 -1
- package/dist/types/index.d.ts +88 -10
- package/dist/types/phone.d.ts +10 -1
- package/dist/types/qe-signature.d.ts +10 -1
- package/dist/types/redirect-to-mobile.d.ts +1 -1
- package/dist/types/selfie.d.ts +10 -1
- package/dist/types/signature.d.ts +10 -1
- package/dist/types/video-selfie.d.ts +1 -1
- package/dist/types/watchlist.d.ts +10 -1
- package/dist/types/workflow.d.ts +10 -1
- package/dist/{typography-DKXgPZsU.js → typography-BF9d8wEc.js} +1 -1
- package/dist/{uk-DFL26I5l.js → uk-BGYlvKb_.js} +89 -3
- package/dist/{uk-UA-3o9Xbam-.js → uk-UA-CbxzkCL_.js} +90 -4
- package/dist/{ur-DXJAfyQA.js → ur-BQgtsAfv.js} +90 -4
- package/dist/useCameraPreview-BmkAmzAs.js +93 -0
- package/dist/{useCaptureHelpButton-CSG3fO48.js → useCaptureHelpButton-D40hYyD7.js} +9 -7
- package/dist/useIsDarkTheme-COJZngNK.js +27 -0
- package/dist/{uz-BXvj8vlH.js → uz-DqOg1Fdv.js} +90 -4
- package/dist/{verificationResult-BVrKFRMf.js → verificationResult-m99Ragq6.js} +6 -6
- package/dist/{vi-DRfsxu1a.js → vi-COxdKkHn.js} +90 -4
- package/dist/video-selfie/styles.css +1 -1
- package/dist/video-selfie/styles.css.js +1 -1
- package/dist/video-selfie/video-selfie.es.js +69 -50
- package/dist/watchlist/watchlist.es.js +5 -6
- package/dist/{watchlistForBusiness-CyAmoIrv.js → watchlistForBusiness-C2zxbavl.js} +37 -12
- package/dist/{withEndScreenTexts-MHocOODe.js → withEndScreenTexts-BwNU-8-X.js} +39 -22
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +23 -16
- package/dist/{zh-CN-DMfj1_Nh.js → zh-CN-DfvYQGdE.js} +90 -4
- package/dist/{zh-Ct8GKGhw.js → zh-CPQoDPxf.js} +89 -3
- package/dist/{zh-HANT-NZFdeKuE.js → zh-HANT-B4LzHH2y.js} +90 -4
- package/dist/{zh-TW-8wkrOHM8.js → zh-TW-DtvvhBYL.js} +90 -4
- package/package.json +15 -2
- package/dist/cameraOverlay-CBTjtbNP.js +0 -2
- package/dist/connectionError-DX3wd4vm.js +0 -45
- package/dist/dateInputComposed-BzW0cv1o.js +0 -1
- package/dist/deviceWallet-CImevqFB.js +0 -66
- package/dist/documentCapture-CmWd-wNL.js +0 -2
- package/dist/dropdownComposed-B76j7pz9.js +0 -1
- package/dist/ekybModule-Bshc_ANM.js +0 -2
- package/dist/ekycModule-MmJYwp1l.js +0 -2
- package/dist/faceMatch-BVSCpwmA.js +0 -2
- package/dist/fieldComparison-nFj9pSeZ.js +0 -2
- package/dist/incodeModule-D6oey1Mb.js +0 -68
- package/dist/inputComposed-45HxIMO0.js +0 -1
- package/dist/pdfViewer-CFkuHOV4.js +0 -2
- package/dist/radioGroupComposed-DJ71F9KK.js +0 -1
- package/dist/statusPage-3zRxvkSE.js +0 -36
- package/dist/useCoverMedia-VLw3OYN_.js +0 -149
- /package/dist/{aligndevicelottie-BARt-rhe.js → aligndevicelottie-BHWuptBk.js} +0 -0
- /package/dist/{back-horizontal-hint-BztyPanp.js → back-horizontal-hint-Dl2C4J4u.js} +0 -0
- /package/dist/{back-tutorial-CZrMmj1_.js → back-tutorial-BYZr11eV.js} +0 -0
- /package/dist/{back-vertical-hint-BSzA4QbJ.js → back-vertical-hint-CM4_HjWk.js} +0 -0
- /package/dist/{backdevicelottie-CIM3ekd8.js → backdevicelottie-JflQKxT_.js} +0 -0
- /package/dist/{blurdevicelottie-BRyXfLB6.js → blurdevicelottie-CWuMQEHL.js} +0 -0
- /package/dist/{browser-ponyfill-DT11p-Ob.js → browser-ponyfill-CHlXHPpU.js} +0 -0
- /package/dist/{check-icon-BpjpKqhJ.js → check-icon-BWTjhSuA.js} +0 -0
- /package/dist/{countryDefinitions-BO9OSKQO.js → countryDefinitions-6FOOLcB2.js} +0 -0
- /package/dist/{defineProperty-CjeJoXkx.js → defineProperty-CUC2zCmh.js} +0 -0
- /package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-gdoE5nLQ.js} +0 -0
- /package/dist/{flip-animation-BU5LNKYx.js → flip-animation-BqTKEBcW.js} +0 -0
- /package/dist/{front-horizontal-hint-DEHmtcdg.js → front-horizontal-hint-Dol0Lpc6.js} +0 -0
- /package/dist/{front-vertical-hint-Cb1NO-xT.js → front-vertical-hint-CAhAzw92.js} +0 -0
- /package/dist/{frontdevicelottie-arpyu_Fz.js → frontdevicelottie-BWD-NCfG.js} +0 -0
- /package/dist/{glaredevicelottie-TwTFxe7h.js → glaredevicelottie-Cjy50jGc.js} +0 -0
- /package/dist/{id-back-of-card-C7Au2tqk.js → id-back-of-card-CHFxXTEq.js} +0 -0
- /package/dist/{id-back-of-card-vertical-CtQBFw8w.js → id-back-of-card-vertical-CUBdKGbw.js} +0 -0
- /package/dist/{id-front-of-card-BmHL_keG.js → id-front-of-card-DplNJr13.js} +0 -0
- /package/dist/{id-front-of-card-vertical-DkNUn2Vx.js → id-front-of-card-vertical-D1duHEsV.js} +0 -0
- /package/dist/{id-laser-h-Dr-hBxrq.js → id-laser-h-By7lMim8.js} +0 -0
- /package/dist/{id-laser-v-D_r0QNY8.js → id-laser-v-BCPAN2x5.js} +0 -0
- /package/dist/{id-tutorial-DM9Pkfs-.js → id-tutorial-B9cUQuf0.js} +0 -0
- /package/dist/{lottie_light-aMg9Q9iO.js → lottie_light-DywVSPMT.js} +0 -0
- /package/dist/{numberedStep-CvbL3ht2.js → numberedStep-CqgNwc_a.js} +0 -0
- /package/dist/{passport-horizontal-hint-DgNc6F0-.js → passport-horizontal-hint-BfTXA2LB.js} +0 -0
- /package/dist/{passport-tutorial-CKZZuDf_.js → passport-tutorial-TSZzEGqb.js} +0 -0
- /package/dist/{passport-vertical-hint-B-toVsfT.js → passport-vertical-hint-C7dzd2ks.js} +0 -0
- /package/dist/{pdf.worker.min-BM1b2w9V.js → pdf.worker.min-D7ZNTVBZ.js} +0 -0
- /package/dist/{policyUrls-B3M8nLRh.js → policyUrls-Bpacx_pp.js} +0 -0
- /package/dist/{purify.es-0fCPkEV1.js → purify.es-DZazHwBu.js} +0 -0
- /package/dist/{registerIncodeElement-D_cn4dSI.js → registerIncodeElement-Dtw9dM3O.js} +0 -0
- /package/dist/{reload-icon-elAFo9-k.js → reload-icon-BR1POqkD.js} +0 -0
- /package/dist/{selfieTutorial-Dz6lDFMn.js → selfieTutorial-CLJAEuXG.js} +0 -0
- /package/dist/{useModuleLoader-BdIp6TNQ.js → useModuleLoader-CceEKjsh.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as useTranslation } from "./devWarn-Cr7MglXv.js";
|
|
2
2
|
import { v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as VerificationResult } from "./verificationResult-
|
|
8
|
-
import { t as InputComposed } from "./inputComposed-
|
|
9
|
-
import { t as registerIncodeModuleElement } from "./incodeModule-
|
|
3
|
+
import { t as Spacer } from "./spacer-CwyNauIk.js";
|
|
4
|
+
import { x as Button } from "./icons-BdiCuWFP.js";
|
|
5
|
+
import { t as Page } from "./page-utEpSa9Z.js";
|
|
6
|
+
import { a as withStandaloneModuleBootstrap, t as IncodeComponent, x as useManager, y as useModuleTerminalCallbacks } from "./incodeComponent-C1Bz5Qou.js";
|
|
7
|
+
import { t as VerificationResult } from "./verificationResult-m99Ragq6.js";
|
|
8
|
+
import { t as InputComposed } from "./inputComposed-BuE0iZlw.js";
|
|
9
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-DJToJb00.js";
|
|
10
10
|
import { createFieldComparisonManager } from "@incodetech/core/field-comparison";
|
|
11
11
|
//#region src/modules/field-comparison/fieldComparison.tsx
|
|
12
12
|
var FieldComparisonContent = ({ config, manager: externalManager, onFinish }) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as useTranslation } from "./devWarn-Cr7MglXv.js";
|
|
2
2
|
import { S as k, _ as y, c as A, f as d, h as q, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as Page } from "./page-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { n as CameraFrame } from "./cameraView-
|
|
10
|
-
import { t as ManualCaptureButton } from "./manualCaptureButton-
|
|
11
|
-
import { n as CaptureNotification, t as ManualCaptureButton$1 } from "./manualCaptureButton-
|
|
3
|
+
import { n as LoadingIcon, o as Lottie, s as Asset, u as cn } from "./spacer-CwyNauIk.js";
|
|
4
|
+
import { r as SuccessIcon, u as ErrorIcon, x as Button } from "./icons-BdiCuWFP.js";
|
|
5
|
+
import { t as AutoFocusTitle } from "./autoFocusTitle-BxsSeMSB.js";
|
|
6
|
+
import { t as Page } from "./page-utEpSa9Z.js";
|
|
7
|
+
import { r as Modal } from "./pageUiConfig-rOL18JSI.js";
|
|
8
|
+
import { f as useTimeoutHandle } from "./incodeComponent-C1Bz5Qou.js";
|
|
9
|
+
import { n as CameraFrame } from "./cameraView-DVzaEGW8.js";
|
|
10
|
+
import { t as ManualCaptureButton } from "./manualCaptureButton-Cd-FY05-.js";
|
|
11
|
+
import { n as CaptureNotification, t as ManualCaptureButton$1 } from "./manualCaptureButton-BXOTp2PS.js";
|
|
12
12
|
import { checkCameraPermission, requestCameraPermission } from "@incodetech/core/camera";
|
|
13
13
|
import { resolveVideoSelfieSteps } from "@incodetech/core/video-selfie";
|
|
14
14
|
//#region src/modules/video-selfie/useVideoSelfiePermissions.ts
|
|
@@ -273,7 +273,7 @@ var SelfieMask = ({ variant = "idle", message, onManualCapture }) => {
|
|
|
273
273
|
//#region src/modules/video-selfie/idFlipModal.tsx
|
|
274
274
|
var animationPromise = null;
|
|
275
275
|
function loadIdFlipAnimation() {
|
|
276
|
-
animationPromise ??= import("./flip-animation-
|
|
276
|
+
animationPromise ??= import("./flip-animation-BqTKEBcW.js").then((module) => module.default);
|
|
277
277
|
return animationPromise;
|
|
278
278
|
}
|
|
279
279
|
function preloadIdFlipAnimation() {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as useTranslation } from "../devWarn-Cr7MglXv.js";
|
|
2
2
|
import { a as P, s as z, v as u } from "../vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import "../
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
10
|
-
import { n as CameraFrame, t as CameraView } from "../cameraView-
|
|
11
|
-
import { n as CameraOverlay, t as CameraOverlayHeader } from "../cameraOverlayHeader-
|
|
12
|
-
import "../cameraOverlay-
|
|
13
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
3
|
+
import { t as Spacer } from "../spacer-CwyNauIk.js";
|
|
4
|
+
import { x as Button } from "../icons-BdiCuWFP.js";
|
|
5
|
+
import { t as Page } from "../page-utEpSa9Z.js";
|
|
6
|
+
import { a as withStandaloneModuleBootstrap, t as IncodeComponent, x as useManager, y as useModuleTerminalCallbacks } from "../incodeComponent-C1Bz5Qou.js";
|
|
7
|
+
import { t as Spinner } from "../spinner-DEZJxLSc.js";
|
|
8
|
+
import "../transitionSpinner-DbrWrpRU.js";
|
|
9
|
+
import { t as VerificationResult } from "../verificationResult-m99Ragq6.js";
|
|
10
|
+
import { n as CameraFrame, t as CameraView } from "../cameraView-DVzaEGW8.js";
|
|
11
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "../cameraOverlayHeader-BxutAKy-.js";
|
|
12
|
+
import "../cameraOverlay-Be1PFI8S.js";
|
|
13
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-DJToJb00.js";
|
|
14
14
|
import { createFiscalQrManager } from "@incodetech/core/fiscal-qr";
|
|
15
15
|
//#region src/modules/fiscal-qr/fiscalQrCapture.tsx
|
|
16
16
|
function getFrameState(status) {
|
|
@@ -202,7 +202,7 @@ var FiscalQrLoading = () => /* @__PURE__ */ u(Page, {
|
|
|
202
202
|
});
|
|
203
203
|
//#endregion
|
|
204
204
|
//#region src/modules/fiscal-qr/fiscal-qr.tsx
|
|
205
|
-
var Denied = z(() => import("../denied-
|
|
205
|
+
var Denied = z(() => import("../denied-Btt81vUD.js").then((module) => ({ default: module.Denied })));
|
|
206
206
|
var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
207
207
|
const { t } = useTranslation();
|
|
208
208
|
const [state, manager] = useManager(() => externalManager ?? createFiscalQrManager({ config: config ?? {} }), {
|
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as useTranslation } from "./devWarn-Cr7MglXv.js";
|
|
2
2
|
import { S as k, _ as y, a as P, b as Q, c as A, d as _, f as d, g as x, h as q, i as D, s as z, u as T, v as u } from "./vendor-preact-C0jX1Cbq.js";
|
|
3
|
-
import {
|
|
4
|
-
import { a as
|
|
5
|
-
import { o as TypographyP, r as TypographyH3, t as Title } from "./typography-
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as ProgressBar } from "./progressBar-
|
|
12
|
-
import {
|
|
13
|
-
import { n as
|
|
14
|
-
import { n as
|
|
15
|
-
import { t as
|
|
16
|
-
import {
|
|
17
|
-
import { n as
|
|
18
|
-
import {
|
|
3
|
+
import { a as useAnimationData, r as AnimatedAsset, t as Spacer, u as cn } from "./spacer-CwyNauIk.js";
|
|
4
|
+
import { a as LockIcon, f as CloseIcon, p as ChevronRightIcon, t as LightningIcon, x as Button } from "./icons-BdiCuWFP.js";
|
|
5
|
+
import { o as TypographyP, r as TypographyH3, t as Title } from "./typography-BF9d8wEc.js";
|
|
6
|
+
import { r as useCloseButton, t as Page } from "./page-utEpSa9Z.js";
|
|
7
|
+
import { r as Modal } from "./pageUiConfig-rOL18JSI.js";
|
|
8
|
+
import { c as TerminalErrorPage, f as useTimeoutHandle, l as useFeatureManagement, m as useEventListener, p as useResizeObserver, u as usePresence } from "./incodeComponent-C1Bz5Qou.js";
|
|
9
|
+
import { t as Spinner } from "./spinner-DEZJxLSc.js";
|
|
10
|
+
import { t as TransitionSpinner } from "./transitionSpinner-DbrWrpRU.js";
|
|
11
|
+
import { t as ProgressBar } from "./progressBar-Caj-Vu1e.js";
|
|
12
|
+
import { t as countryDefinitions } from "./countryDefinitions-6FOOLcB2.js";
|
|
13
|
+
import { n as CameraFrame, t as CameraView } from "./cameraView-DVzaEGW8.js";
|
|
14
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "./cameraOverlayHeader-BxutAKy-.js";
|
|
15
|
+
import { n as CaptureFooter, t as useCaptureHelpButton } from "./useCaptureHelpButton-D40hYyD7.js";
|
|
16
|
+
import { t as BaseTutorial } from "./baseTutorial-BGU2Gcly.js";
|
|
17
|
+
import { n as RedStrikeIcon, t as ExpiredId } from "./expiredId-DpbWqSzB.js";
|
|
18
|
+
import { n as getCountryDisplayName, t as countryFlagEmoji } from "./countryFlag-DXSVHiby.js";
|
|
19
|
+
import { i as usePreloadCaptureAnimations, n as CaptureNotification } from "./manualCaptureButton-BXOTp2PS.js";
|
|
20
|
+
import { t as CountrySelector } from "./countrySelector-0PDDFsZF.js";
|
|
19
21
|
import { eventModuleNames, recordExperimentAssignmentOnce, stateChanged } from "@incodetech/core/events";
|
|
20
22
|
import { ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, numberParam, resolveExperiment } from "@incodetech/core/feature-management";
|
|
21
23
|
//#region src/shared/card/verificationOption/verificationOptionCard.tsx
|
|
@@ -25,13 +27,14 @@ function VerificationOptionCardList({ children }) {
|
|
|
25
27
|
children
|
|
26
28
|
});
|
|
27
29
|
}
|
|
28
|
-
function VerificationOptionCard({ icon: Icon, iconSrc, title, testId, onClick, tag }) {
|
|
30
|
+
function VerificationOptionCard({ icon: Icon, iconSrc, title, description, testId, onClick, tag }) {
|
|
29
31
|
return /* @__PURE__ */ u("button", {
|
|
30
32
|
type: "button",
|
|
31
33
|
class: "IncodeVerificationOptionCard",
|
|
32
34
|
onClick,
|
|
33
35
|
"data-testid": testId,
|
|
34
36
|
"aria-labelledby": `${testId}-label`,
|
|
37
|
+
"aria-describedby": description ? `${testId}-description` : void 0,
|
|
35
38
|
children: [/* @__PURE__ */ u("span", {
|
|
36
39
|
class: "IncodeVerificationOptionCardIcon",
|
|
37
40
|
"aria-hidden": "true",
|
|
@@ -46,12 +49,20 @@ function VerificationOptionCard({ icon: Icon, iconSrc, title, testId, onClick, t
|
|
|
46
49
|
}), /* @__PURE__ */ u("span", {
|
|
47
50
|
class: "IncodeVerificationOptionCardContent",
|
|
48
51
|
children: [/* @__PURE__ */ u("span", {
|
|
49
|
-
|
|
50
|
-
class: "IncodeVerificationOptionCardTitleTagContainer",
|
|
52
|
+
class: "IncodeVerificationOptionCardText",
|
|
51
53
|
children: [/* @__PURE__ */ u("span", {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
id: `${testId}-label`,
|
|
55
|
+
class: "IncodeVerificationOptionCardTitleTagContainer",
|
|
56
|
+
children: [/* @__PURE__ */ u("span", {
|
|
57
|
+
class: "IncodeVerificationOptionCardTitle",
|
|
58
|
+
children: title
|
|
59
|
+
}), tag && /* @__PURE__ */ u(VerificationOptionCardTag, { label: tag })]
|
|
60
|
+
}), description && /* @__PURE__ */ u("span", {
|
|
61
|
+
id: `${testId}-description`,
|
|
62
|
+
class: "IncodeVerificationOptionCardDescription",
|
|
63
|
+
"data-testid": `${testId}-description`,
|
|
64
|
+
children: description
|
|
65
|
+
})]
|
|
55
66
|
}), /* @__PURE__ */ u("span", {
|
|
56
67
|
class: "IncodeVerificationOptionCardArrow",
|
|
57
68
|
"data-testid": "chevron-right-icon",
|
|
@@ -1204,12 +1215,12 @@ var CaptureResultFlash = ({ delayMs, onAnimationStart, onAnimationEnd }) => {
|
|
|
1204
1215
|
};
|
|
1205
1216
|
//#endregion
|
|
1206
1217
|
//#region src/modules/id/capture/idHint.tsx
|
|
1207
|
-
var FrontHorizontalHintSvg = z(() => import("./front-horizontal-hint-
|
|
1208
|
-
var FrontVerticalHintSvg = z(() => import("./front-vertical-hint-
|
|
1209
|
-
var BackHorizontalHintSvg = z(() => import("./back-horizontal-hint-
|
|
1210
|
-
var BackVerticalHintSvg = z(() => import("./back-vertical-hint-
|
|
1211
|
-
var PassportHorizontalHintSvg = z(() => import("./passport-horizontal-hint-
|
|
1212
|
-
var PassportVerticalHintSvg = z(() => import("./passport-vertical-hint-
|
|
1218
|
+
var FrontHorizontalHintSvg = z(() => import("./front-horizontal-hint-Dol0Lpc6.js"));
|
|
1219
|
+
var FrontVerticalHintSvg = z(() => import("./front-vertical-hint-CAhAzw92.js"));
|
|
1220
|
+
var BackHorizontalHintSvg = z(() => import("./back-horizontal-hint-Dl2C4J4u.js"));
|
|
1221
|
+
var BackVerticalHintSvg = z(() => import("./back-vertical-hint-CM4_HjWk.js"));
|
|
1222
|
+
var PassportHorizontalHintSvg = z(() => import("./passport-horizontal-hint-BfTXA2LB.js"));
|
|
1223
|
+
var PassportVerticalHintSvg = z(() => import("./passport-vertical-hint-C7dzd2ks.js"));
|
|
1213
1224
|
var CARD_WIDTH_IN_SVG = {
|
|
1214
1225
|
"front-horizontal": 348,
|
|
1215
1226
|
"back-horizontal": 348,
|
|
@@ -1384,7 +1395,7 @@ function reportAnimationState(mode, state) {
|
|
|
1384
1395
|
const screen = mode === "back" ? "idCapture.backCapture" : "idCapture.frontCapture";
|
|
1385
1396
|
stateChanged(eventModuleNames.idCapture, screen, { stateName: `${screen}.${state}` });
|
|
1386
1397
|
}
|
|
1387
|
-
var CaptureOverlay = D(({ mode, orientation, detectionStatus, counterValue, countdownStart, countdownStepMs, isCapturing, showManualCapture, onCapture, onOpenHelp, helpButtonRef, captureButtonRef, hideFooterActions, trackAnimationStates = true, resultPreview, manualTooltipUx }, ref) => {
|
|
1398
|
+
var CaptureOverlay = D(({ mode, orientation, detectionStatus, counterValue, countdownStart, countdownStepMs, isCapturing, showManualCapture, onCapture, onOpenHelp, helpButtonRef, captureButtonRef, hideFooterActions, captureDisabled, trackAnimationStates = true, resultPreview, manualTooltipUx }, ref) => {
|
|
1388
1399
|
const { t } = useTranslation();
|
|
1389
1400
|
const autoFocus = useCaptureAutoFocus();
|
|
1390
1401
|
usePreloadCaptureAnimations();
|
|
@@ -1451,11 +1462,14 @@ var CaptureOverlay = D(({ mode, orientation, detectionStatus, counterValue, coun
|
|
|
1451
1462
|
setManualCaptureTooltipDismissed(true);
|
|
1452
1463
|
};
|
|
1453
1464
|
y(() => {
|
|
1454
|
-
if (!autoFocus) return;
|
|
1455
|
-
|
|
1465
|
+
if (!autoFocus || !showManualCapture || captureDisabled) return;
|
|
1466
|
+
const button = captureButtonRef?.current;
|
|
1467
|
+
if (!button || button.closest("[aria-hidden=\"true\"], [inert]")) return;
|
|
1468
|
+
button.focus();
|
|
1456
1469
|
}, [
|
|
1457
1470
|
autoFocus,
|
|
1458
1471
|
showManualCapture,
|
|
1472
|
+
captureDisabled,
|
|
1459
1473
|
captureButtonRef
|
|
1460
1474
|
]);
|
|
1461
1475
|
_(() => {
|
|
@@ -1549,6 +1563,7 @@ var CaptureOverlay = D(({ mode, orientation, detectionStatus, counterValue, coun
|
|
|
1549
1563
|
captureButtonRef,
|
|
1550
1564
|
captureAriaDescribedBy: showManualCaptureNode ? "manual-capture-tooltip" : void 0,
|
|
1551
1565
|
hideActions: hideFooterActions,
|
|
1566
|
+
captureDisabled,
|
|
1552
1567
|
children: showManualCaptureNode ? /* @__PURE__ */ u("div", {
|
|
1553
1568
|
class: cn("IncodeIdManualCaptureTooltipContainer", manualTooltipUx.variant === MANUAL_TOOLTIP.AUTO_DISMISS && "IncodeIdManualCaptureTooltipContainerAutoDismiss", manualCaptureTooltipDismissed && "IncodeIdManualCaptureTooltipContainerSrOnly"),
|
|
1554
1569
|
style: { "--manual-capture-tooltip-dismiss-delay": `${manualTooltipUx.dismissDelayMs}ms` },
|
|
@@ -1624,6 +1639,7 @@ var Capture = ({ manager, state }) => {
|
|
|
1624
1639
|
});
|
|
1625
1640
|
};
|
|
1626
1641
|
var CaptureView = ({ manager, state, isCapturing, countdownStart, isResultPreview, resultPreviewImageUrl, hideFooterActions, manualTooltipUx }) => {
|
|
1642
|
+
const [previewPending, setPreviewPending] = d(true);
|
|
1627
1643
|
const frameRef = A(null);
|
|
1628
1644
|
const helpButtonRef = A(null);
|
|
1629
1645
|
const captureButtonRef = A(null);
|
|
@@ -1665,7 +1681,7 @@ var CaptureView = ({ manager, state, isCapturing, countdownStart, isResultPrevie
|
|
|
1665
1681
|
manager.switchToAutoCapture();
|
|
1666
1682
|
};
|
|
1667
1683
|
const handleCapture = () => {
|
|
1668
|
-
manager.capture();
|
|
1684
|
+
if (!previewPending) manager.capture();
|
|
1669
1685
|
};
|
|
1670
1686
|
const mirrored = !state.usingBackCamera;
|
|
1671
1687
|
return /* @__PURE__ */ u(Page, {
|
|
@@ -1676,6 +1692,7 @@ var CaptureView = ({ manager, state, isCapturing, countdownStart, isResultPrevie
|
|
|
1676
1692
|
/* @__PURE__ */ u(CameraView, {
|
|
1677
1693
|
stream: state.stream,
|
|
1678
1694
|
onPlaying: reportFrame,
|
|
1695
|
+
onPreviewPendingChange: setPreviewPending,
|
|
1679
1696
|
mirrored,
|
|
1680
1697
|
"aria-hidden": isHelpOpen || void 0,
|
|
1681
1698
|
children: /* @__PURE__ */ u(CaptureOverlay, {
|
|
@@ -1694,6 +1711,7 @@ var CaptureView = ({ manager, state, isCapturing, countdownStart, isResultPrevie
|
|
|
1694
1711
|
captureButtonRef,
|
|
1695
1712
|
resultPreview,
|
|
1696
1713
|
hideFooterActions,
|
|
1714
|
+
captureDisabled: previewPending,
|
|
1697
1715
|
manualTooltipUx,
|
|
1698
1716
|
trackAnimationStates: !isHelpOpen && (state.captureStatus === "detecting" || state.captureStatus === "optimizing")
|
|
1699
1717
|
})
|
|
@@ -2714,6 +2732,10 @@ var DIGITAL_ID_PROVIDER_LOGOS = {
|
|
|
2714
2732
|
name: "Austria Valera EUDI Sandbox",
|
|
2715
2733
|
logoUrl: "https://content.trinsic.id/connect/integrations/austria-valera-eudi-sandbox.png"
|
|
2716
2734
|
},
|
|
2735
|
+
"belgium-itsme": {
|
|
2736
|
+
name: "itsme",
|
|
2737
|
+
logoUrl: "https://content.trinsic.id/connect/integrations/itsme.svg"
|
|
2738
|
+
},
|
|
2717
2739
|
"brazil-cpf-lookup": {
|
|
2718
2740
|
name: "Brazil CPF Check",
|
|
2719
2741
|
logoUrl: "https://content.trinsic.id/connect/integrations/cpf.png"
|
|
@@ -2758,6 +2780,10 @@ var DIGITAL_ID_PROVIDER_LOGOS = {
|
|
|
2758
2780
|
name: "France Identité",
|
|
2759
2781
|
logoUrl: "https://content.trinsic.id/connect/integrations/france-identite.png"
|
|
2760
2782
|
},
|
|
2783
|
+
"france-identite-numerique": {
|
|
2784
|
+
name: "L'Identité Numérique",
|
|
2785
|
+
logoUrl: "https://content.trinsic.id/connect/integrations/france-identite-numerique.png"
|
|
2786
|
+
},
|
|
2761
2787
|
"germany-eudi-sandbox": {
|
|
2762
2788
|
name: "Germany EUDI Sandbox",
|
|
2763
2789
|
logoUrl: "https://content.trinsic.id/connect/integrations/germany-eudi-sandbox.png"
|
|
@@ -2766,6 +2792,10 @@ var DIGITAL_ID_PROVIDER_LOGOS = {
|
|
|
2766
2792
|
name: "Google Wallet",
|
|
2767
2793
|
logoUrl: "https://content.trinsic.id/connect/integrations/google-wallet.png"
|
|
2768
2794
|
},
|
|
2795
|
+
"india-digilocker-aadhaar": {
|
|
2796
|
+
name: "DigiLocker (Aadhaar)",
|
|
2797
|
+
logoUrl: "https://content.trinsic.id/connect/integrations/aadhaar.png"
|
|
2798
|
+
},
|
|
2769
2799
|
"indonesia-dukcapil-match": {
|
|
2770
2800
|
name: "Indonesia Identity Verification",
|
|
2771
2801
|
logoUrl: "https://content.trinsic.id/connect/integrations/indonesia-dukcapil-match.png"
|
|
@@ -2982,11 +3012,174 @@ function getAvailableChooserOptions(availableDocumentTypes, digitalIdRedirectOpt
|
|
|
2982
3012
|
}
|
|
2983
3013
|
return cards.sort((cardA, cardB) => cardA.weight - cardB.weight);
|
|
2984
3014
|
}
|
|
3015
|
+
/** Chooser cards that verify with a digital ID rather than a physical one. */
|
|
3016
|
+
var DIGITAL_ID_CARD_TYPES = new Set([
|
|
3017
|
+
"digitalId",
|
|
3018
|
+
"digitalIdUpload",
|
|
3019
|
+
"digitalIdRedirect"
|
|
3020
|
+
]);
|
|
3021
|
+
/** Position of a digital-ID card type inside the digital section. */
|
|
3022
|
+
var DIGITAL_ID_SECTION_ORDER = {
|
|
3023
|
+
digitalId: 0,
|
|
3024
|
+
digitalIdUpload: 1,
|
|
3025
|
+
digitalIdRedirect: 2
|
|
3026
|
+
};
|
|
3027
|
+
/**
|
|
3028
|
+
* Splits the sorted chooser cards into "Use your ID" and "Digital ID
|
|
3029
|
+
* verification". Never adds or drops cards: physical documents keep their
|
|
3030
|
+
* order, and the digital section is wallet → Upload Digital ID → redirect
|
|
3031
|
+
* providers (stable, so the providers keep their ranking).
|
|
3032
|
+
*/
|
|
3033
|
+
function getChooserCardSections(cards) {
|
|
3034
|
+
const useYourId = cards.filter((card) => !DIGITAL_ID_CARD_TYPES.has(card.type));
|
|
3035
|
+
const digitalId = cards.filter((card) => DIGITAL_ID_CARD_TYPES.has(card.type)).sort((cardA, cardB) => DIGITAL_ID_SECTION_ORDER[cardA.type] - DIGITAL_ID_SECTION_ORDER[cardB.type]);
|
|
3036
|
+
return {
|
|
3037
|
+
useYourId,
|
|
3038
|
+
digitalId,
|
|
3039
|
+
showTitles: cards.length > 2 && useYourId.length > 0 && digitalId.length > 0
|
|
3040
|
+
};
|
|
3041
|
+
}
|
|
3042
|
+
/**
|
|
3043
|
+
* Description key for the Digital ID (device wallet) card, naming the wallet
|
|
3044
|
+
* the device certainly reaches. `undefined` when the OS is not certain (e.g.
|
|
3045
|
+
* macOS Chrome): the card then shows no description.
|
|
3046
|
+
*
|
|
3047
|
+
* Intentional (ENG-52842 product copy): the description names the wallet
|
|
3048
|
+
* family of the *device*, not the wallet methods enabled for the flow. Which
|
|
3049
|
+
* wallets are eligible is decided in core (`hasEligibleDeviceWallet`), and that
|
|
3050
|
+
* only decides whether the card shows at all. The card itself launches one
|
|
3051
|
+
* handshake that lets the OS offer whichever wallet holds the ID, so the copy
|
|
3052
|
+
* stays device-level. Narrowing it to the configured methods (e.g. Samsung
|
|
3053
|
+
* Internet with only Google Wallet enabled) needs new per-method copy from
|
|
3054
|
+
* product and is out of scope here.
|
|
3055
|
+
*/
|
|
3056
|
+
function getDigitalIdWalletDescriptionKey(walletDevice) {
|
|
3057
|
+
switch (walletDevice) {
|
|
3058
|
+
case "apple": return "idv2.chooser.digitalIdAppleWalletDescription";
|
|
3059
|
+
case "samsung": return "idv2.chooser.digitalIdSamsungWalletDescription";
|
|
3060
|
+
case "android": return "idv2.chooser.digitalIdGoogleOrSamsungWalletDescription";
|
|
3061
|
+
default: return;
|
|
3062
|
+
}
|
|
3063
|
+
}
|
|
3064
|
+
/**
|
|
3065
|
+
* Description key shown under a card's title, or `undefined` for cards that
|
|
3066
|
+
* have none: the device-wallet card names the wallet for this device, and the
|
|
3067
|
+
* Upload Digital ID card explains the upload.
|
|
3068
|
+
*/
|
|
3069
|
+
function getChooserCardDescriptionKey(cardType, walletDevice) {
|
|
3070
|
+
if (cardType === "digitalId") return getDigitalIdWalletDescriptionKey(walletDevice);
|
|
3071
|
+
if (cardType === "digitalIdUpload") return "idv2.chooser.digitalIdUploadDescription";
|
|
3072
|
+
}
|
|
3073
|
+
//#endregion
|
|
3074
|
+
//#region src/modules/id/chooser/regionChooser.tsx
|
|
3075
|
+
/**
|
|
3076
|
+
* "Choose your region" — picks the country the chooser ranks digital-ID
|
|
3077
|
+
* options for. Done applies it; the close button keeps the current one.
|
|
3078
|
+
*/
|
|
3079
|
+
var RegionChooser = ({ country, providerCountries, onDone, onClose }) => {
|
|
3080
|
+
const { t } = useTranslation();
|
|
3081
|
+
const [selected, setSelected] = d(country ?? "");
|
|
3082
|
+
const countryCodes = T(() => [...new Set([
|
|
3083
|
+
...Object.keys(countryDefinitions),
|
|
3084
|
+
...providerCountries,
|
|
3085
|
+
...country ? [country] : []
|
|
3086
|
+
])], [providerCountries, country]);
|
|
3087
|
+
return /* @__PURE__ */ u(Page, {
|
|
3088
|
+
title: t("idv2.chooser.chooseRegionTitle"),
|
|
3089
|
+
"data-testid": "chooser-region-page",
|
|
3090
|
+
className: "IncodeChooserRegionPage",
|
|
3091
|
+
hideFooterBranding: true,
|
|
3092
|
+
children: [
|
|
3093
|
+
/* @__PURE__ */ u(Button, {
|
|
3094
|
+
variant: "link",
|
|
3095
|
+
size: "inline",
|
|
3096
|
+
class: "IncodeChooserRegionClose",
|
|
3097
|
+
icon: /* @__PURE__ */ u(CloseIcon, {
|
|
3098
|
+
width: 24,
|
|
3099
|
+
height: 24
|
|
3100
|
+
}),
|
|
3101
|
+
"aria-label": t("common.close"),
|
|
3102
|
+
onClick: onClose,
|
|
3103
|
+
"data-testid": "chooser-region-close"
|
|
3104
|
+
}),
|
|
3105
|
+
/* @__PURE__ */ u("div", {
|
|
3106
|
+
class: "IncodeChooserRegionContent",
|
|
3107
|
+
children: /* @__PURE__ */ u(CountrySelector, {
|
|
3108
|
+
id: "chooser-region-country",
|
|
3109
|
+
label: t("idv2.chooser.yourCountryLabel"),
|
|
3110
|
+
value: selected,
|
|
3111
|
+
onChange: setSelected,
|
|
3112
|
+
countryCodes,
|
|
3113
|
+
devOnlyCountryCodes: [],
|
|
3114
|
+
searchPlaceholder: t("idv2.chooser.searchCountryPlaceholder"),
|
|
3115
|
+
"data-testid": "chooser-region-country"
|
|
3116
|
+
})
|
|
3117
|
+
}),
|
|
3118
|
+
/* @__PURE__ */ u("div", {
|
|
3119
|
+
class: "IncodeChooserRegionFooter",
|
|
3120
|
+
children: /* @__PURE__ */ u(Button, {
|
|
3121
|
+
disabled: !selected,
|
|
3122
|
+
onClick: () => onDone(selected),
|
|
3123
|
+
"data-testid": "chooser-region-done",
|
|
3124
|
+
children: t("idv2.chooser.chooseRegionDone")
|
|
3125
|
+
})
|
|
3126
|
+
})
|
|
3127
|
+
]
|
|
3128
|
+
});
|
|
3129
|
+
};
|
|
3130
|
+
//#endregion
|
|
3131
|
+
//#region src/modules/id/chooser/viewingOptionsFor.tsx
|
|
3132
|
+
/**
|
|
3133
|
+
* "Viewing options for 🇺🇸 US" — the country the digital-ID options are
|
|
3134
|
+
* ranked for. Tapping the country opens the region picker.
|
|
3135
|
+
*
|
|
3136
|
+
* The button's accessible name starts with its visible text ("US") so voice
|
|
3137
|
+
* control can target it (WCAG 2.5.3); the purpose ("Change region") follows as
|
|
3138
|
+
* visually hidden text. The flag is decorative.
|
|
3139
|
+
*/
|
|
3140
|
+
var ViewingOptionsFor = ({ country, onChangeCountry }) => {
|
|
3141
|
+
const { t } = useTranslation();
|
|
3142
|
+
return /* @__PURE__ */ u("div", {
|
|
3143
|
+
class: "IncodeChooserViewingOptions",
|
|
3144
|
+
"data-testid": "chooser-viewing-options",
|
|
3145
|
+
children: [/* @__PURE__ */ u("span", {
|
|
3146
|
+
class: "IncodeChooserViewingOptionsLabel",
|
|
3147
|
+
children: t("idv2.chooser.viewingOptionsFor")
|
|
3148
|
+
}), /* @__PURE__ */ u(Button, {
|
|
3149
|
+
variant: "link",
|
|
3150
|
+
size: "inline",
|
|
3151
|
+
class: "IncodeChooserViewingOptionsCountry",
|
|
3152
|
+
onClick: onChangeCountry,
|
|
3153
|
+
"data-testid": "chooser-change-country",
|
|
3154
|
+
children: country ? /* @__PURE__ */ u(k, { children: [
|
|
3155
|
+
/* @__PURE__ */ u("span", {
|
|
3156
|
+
class: "IncodeChooserViewingOptionsFlag",
|
|
3157
|
+
"aria-hidden": "true",
|
|
3158
|
+
children: countryFlagEmoji(country)
|
|
3159
|
+
}),
|
|
3160
|
+
/* @__PURE__ */ u("span", {
|
|
3161
|
+
class: "IncodeChooserViewingOptionsCode",
|
|
3162
|
+
children: country
|
|
3163
|
+
}),
|
|
3164
|
+
/* @__PURE__ */ u("span", {
|
|
3165
|
+
class: "IncodeChooserViewingOptionsHint",
|
|
3166
|
+
children: `, ${t("idv2.chooser.changeRegionAriaLabel")}`
|
|
3167
|
+
})
|
|
3168
|
+
] }) : /* @__PURE__ */ u("span", {
|
|
3169
|
+
class: "IncodeChooserViewingOptionsCode",
|
|
3170
|
+
children: t("idv2.chooser.chooseRegionLink")
|
|
3171
|
+
})
|
|
3172
|
+
})]
|
|
3173
|
+
});
|
|
3174
|
+
};
|
|
2985
3175
|
//#endregion
|
|
2986
3176
|
//#region src/modules/id/chooser/chooser.tsx
|
|
2987
3177
|
var Chooser = ({ manager, state }) => {
|
|
2988
3178
|
const { t } = useTranslation();
|
|
3179
|
+
const [isChoosingRegion, setIsChoosingRegion] = d(false);
|
|
2989
3180
|
const availableChooserOptions = T(() => getAvailableChooserOptions(state.availableDocumentTypes, state.digitalIdRedirectOptions), [state.availableDocumentTypes, state.digitalIdRedirectOptions]);
|
|
3181
|
+
const sections = T(() => getChooserCardSections(availableChooserOptions), [availableChooserOptions]);
|
|
3182
|
+
const providerCountries = T(() => state.digitalIdRedirectOptions.flatMap((option) => option.country ? [option.country.toUpperCase()] : []), [state.digitalIdRedirectOptions]);
|
|
2990
3183
|
const handleSelect = (card) => {
|
|
2991
3184
|
if (card.providerId) {
|
|
2992
3185
|
manager.selectDocument(card.type, { providerId: card.providerId });
|
|
@@ -2994,21 +3187,55 @@ var Chooser = ({ manager, state }) => {
|
|
|
2994
3187
|
}
|
|
2995
3188
|
manager.selectDocument(card.type);
|
|
2996
3189
|
};
|
|
3190
|
+
if (isChoosingRegion) return /* @__PURE__ */ u(RegionChooser, {
|
|
3191
|
+
country: state.country,
|
|
3192
|
+
providerCountries,
|
|
3193
|
+
onClose: () => setIsChoosingRegion(false),
|
|
3194
|
+
onDone: (country) => {
|
|
3195
|
+
manager.setChooserCountry(country);
|
|
3196
|
+
setIsChoosingRegion(false);
|
|
3197
|
+
}
|
|
3198
|
+
});
|
|
3199
|
+
const describeCard = (card) => {
|
|
3200
|
+
const descriptionKey = getChooserCardDescriptionKey(card.type, state.walletDevice);
|
|
3201
|
+
return descriptionKey ? t(descriptionKey) : void 0;
|
|
3202
|
+
};
|
|
3203
|
+
const renderCards = (cards) => /* @__PURE__ */ u(VerificationOptionCardList, { children: cards.map((card) => /* @__PURE__ */ u(VerificationOptionCard, {
|
|
3204
|
+
icon: card.icon,
|
|
3205
|
+
iconSrc: card.iconSrc,
|
|
3206
|
+
title: card.displayName ?? t(card.title),
|
|
3207
|
+
description: describeCard(card),
|
|
3208
|
+
testId: card.testId,
|
|
3209
|
+
tag: card.tag ? t(card.tag) : void 0,
|
|
3210
|
+
onClick: () => handleSelect(card)
|
|
3211
|
+
}, card.key)) });
|
|
3212
|
+
const renderSection = (titleKey, cards, testId) => cards.length > 0 ? /* @__PURE__ */ u("section", {
|
|
3213
|
+
class: "IncodeChooserSection",
|
|
3214
|
+
"aria-labelledby": `${testId}-title`,
|
|
3215
|
+
"data-testid": testId,
|
|
3216
|
+
children: [/* @__PURE__ */ u("h3", {
|
|
3217
|
+
id: `${testId}-title`,
|
|
3218
|
+
class: "IncodeChooserSectionTitle",
|
|
3219
|
+
children: t(titleKey)
|
|
3220
|
+
}), renderCards(cards)]
|
|
3221
|
+
}) : null;
|
|
2997
3222
|
return /* @__PURE__ */ u(Page, {
|
|
2998
3223
|
title: t("idv2.chooser.chooseHowToVerifyTitle"),
|
|
2999
3224
|
"data-testid": "document-chooser-page",
|
|
3000
3225
|
className: "IncodeChooserPage",
|
|
3001
|
-
children: /* @__PURE__ */ u(
|
|
3226
|
+
children: [state.countryRanked ? /* @__PURE__ */ u(k, { children: [/* @__PURE__ */ u(ViewingOptionsFor, {
|
|
3227
|
+
country: state.country,
|
|
3228
|
+
onChangeCountry: () => setIsChoosingRegion(true)
|
|
3229
|
+
}), /* @__PURE__ */ u(Spacer, {
|
|
3230
|
+
size: 40,
|
|
3231
|
+
className: "IncodeChooserViewingOptionsSpacer"
|
|
3232
|
+
})] }) : null, /* @__PURE__ */ u("div", {
|
|
3002
3233
|
class: "IncodeChooserContainer",
|
|
3003
|
-
children:
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
tag: card.tag ? t(card.tag) : void 0,
|
|
3009
|
-
onClick: () => handleSelect(card)
|
|
3010
|
-
}, card.key)) })
|
|
3011
|
-
})
|
|
3234
|
+
children: sections.showTitles ? /* @__PURE__ */ u("div", {
|
|
3235
|
+
class: "IncodeChooserSections",
|
|
3236
|
+
children: [renderSection("idv2.chooser.useYourIdSectionTitle", sections.useYourId, "chooser-section-use-your-id"), renderSection("idv2.chooser.digitalIdSectionTitle", sections.digitalId, "chooser-section-digital-id")]
|
|
3237
|
+
}) : renderCards([...sections.useYourId, ...sections.digitalId])
|
|
3238
|
+
})]
|
|
3012
3239
|
});
|
|
3013
3240
|
};
|
|
3014
3241
|
//#endregion
|