@incodetech/web 2.4.0 → 2.4.1-agentic.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.txt +1 -4
- package/dist/{GeolocationPermissionDenied-NCe8TBk4.js → GeolocationPermissionDenied-ClGp0a23.js} +13 -8
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-BbU0OdlG.js → af-ZA-BKpmmWDe.js} +165 -869
- package/dist/{ageVerification-B5ownHdO.js → ageVerification-CtuJDuRV.js} +11 -8
- package/dist/{am-BuvQtV50.js → am-CW_ro5Ws.js} +165 -869
- package/dist/antifraud/antifraud.es.js +5 -4
- package/dist/applyStudioConfig-C6-Ak0q6.js +127 -0
- package/dist/{ar-AE-Bdk7NfI2.js → ar-AE-D9h8UMbm.js} +165 -869
- package/dist/{ar-Ba-wMBXP.js → ar-B5ToweVl.js} +166 -870
- package/dist/{ar-EG-C9FVwsEB.js → ar-EG-DQqE9B26.js} +165 -869
- package/dist/assertClassBrand-DJr5K93j.js +17 -0
- package/dist/asset-Ctwd_20H.js +355 -0
- package/dist/authentication/authentication.es.js +7 -5
- package/dist/{autoFocusTitle-BQltp_Nn.js → autoFocusTitle-CzaCWWW5.js} +2 -2
- package/dist/{az-DHRJfgCV.js → az-DAZq-CQj.js} +165 -869
- package/dist/{back-horizontal-hint-BztyPanp.js → back-horizontal-hint-qzSaNkEU.js} +1 -1
- package/dist/{back-vertical-hint-BSzA4QbJ.js → back-vertical-hint-DkYLOege.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-CL2A9XLh.js → baseTutorial-CF6WiVYt.js} +10 -7
- package/dist/{bn-BfE2MHPG.js → bn-DRTyq2Y9.js} +165 -869
- package/dist/{bottomSheet-DU4SrMOH.js → bottomSheet-DylE2INk.js} +3 -3
- package/dist/{bs-Ck9dCVYh.js → bs-B8q0B86-.js} +164 -868
- package/dist/{ca-yJUG5zqw.js → ca-DvsHXRB-.js} +164 -868
- package/dist/cameraOverlay-DNf0PEF4.js +2 -0
- package/dist/{cameraOverlayHeader-Bp7NCrl9.js → cameraOverlayHeader-CuVGnyXI.js} +9 -8
- package/dist/{cameraView-CLlWARBI.js → cameraView-D9ZxLKtA.js} +13 -14
- package/dist/capture-0jMDSGCE.js +762 -0
- package/dist/{tutorial-Bwt7rxfr.js → capture-BlGlXoTx.js} +212 -51
- package/dist/capture-DKBA5j5A.js +3 -0
- package/dist/capture-D_Dwrj1F.js +2 -0
- package/dist/captureButtonIcon-A9kn2E_m.js +1 -0
- package/dist/captureFocusContext-9789qOe3.js +729 -0
- package/dist/captureFooter-B6WUFQCV.js +47 -0
- package/dist/{ceb-oov4R9JM.js → ceb-pvlomXHV.js} +165 -869
- package/dist/certificate-issuance/certificate-issuance.es.js +23 -13
- package/dist/{check-icon-BpjpKqhJ.js → check-icon-BdHltEK6.js} +1 -1
- package/dist/{checkbox-DbYUeTao.js → checkbox-BwUQ0Rs9.js} +4 -4
- package/dist/chooser-CmG71-lh.js +1589 -0
- package/dist/connectionError-DexRpKWs.js +90 -0
- package/dist/consent/consent.es.js +19 -14
- package/dist/consent/styles.css +1 -1
- package/dist/consent/styles.css.js +1 -1
- package/dist/{countryFlag-2Vj85OIZ.js → countryFlag-CQMfCnE9.js} +1 -1
- package/dist/{countrySelector-El6_zLMs.js → countrySelector-C0OEKMqL.js} +6 -5
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -4
- package/dist/{cs-CZ-B9jWzmE_.js → cs-CZ-GgvnJLMj.js} +164 -868
- package/dist/{cs-ovOFxGB0.js → cs-DB5PLEdt.js} +164 -868
- package/dist/curp-validation/curp-validation.es.js +34 -19
- package/dist/curp-validation/styles.css +1 -1
- package/dist/curp-validation/styles.css.js +1 -1
- package/dist/{customFields-BlYfgYje.js → customFields-DQgRumW0.js} +17 -12
- package/dist/{customWatchlist-BsBTzCCN.js → customWatchlist-BbC0fA-6.js} +8 -7
- package/dist/{da-DK-C0l5MGWM.js → da-DK-ZhpcfE_F.js} +164 -868
- package/dist/{dashboardTheme-MVQerNVn.js → dashboardTheme-DtXsx9IK.js} +22 -23
- package/dist/{dateInputComposed-DXCc1HRe.js → dateInputComposed-1IcnucPq.js} +5 -5
- package/dist/dateInputComposed-BFlCk-sg.js +1 -0
- package/dist/{de-B0IRPjwJ.js → de-DEBjzaow.js} +164 -868
- package/dist/{denied-wXsbFjy_.js → denied-CwdVWAUw.js} +12 -9
- package/dist/devWarn-CW20j1Qd.js +9 -0
- package/dist/deviceWallet-CMjguFJO.js +37 -0
- package/dist/{digitalIdRedirect-CF7zG3wS.js → digitalIdRedirect-MNty16-5.js} +4 -4
- package/dist/{digitalIdUpload-CbPm090z.js → digitalIdUpload-CUzTaoaI.js} +39 -15
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-capture/styles.css +1 -1
- package/dist/document-capture/styles.css.js +1 -1
- package/dist/{documentCapture-CgpHXm_8.js → documentCapture-BUMyJ8vw.js} +115 -44
- package/dist/documentCapture-rECLkwpi.js +2 -0
- package/dist/dropdownComposed-C9sLQE6i.js +1 -0
- package/dist/{dropdownComposed-qb9GgX5X.js → dropdownComposed-x3ewHxbT.js} +4 -4
- package/dist/dynamic-forms/dynamic-forms.es.js +20 -15
- 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-B5IEiSyi.js +2 -0
- package/dist/{ekybModule-BgZIkVVl.js → ekybModule-C5hEBLMs.js} +27 -23
- 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-B7OFnP3H.js +2 -0
- package/dist/{ekycModule-DEVrRrnH.js → ekycModule-TVKk0qdS.js} +71 -44
- package/dist/{el-Do7wYurZ.js → el-Dplr_D5N.js} +164 -868
- package/dist/{el-GR-BZEKLkvc.js → el-GR-IZ4reOR7.js} +164 -868
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-DE6FJfvu.js → electronic-signature-BMda_cf3.js} +49 -34
- package/dist/email/email.es.js +15 -11
- package/dist/{emailInput-Cp77LavN.js → emailInput-BI8gWC0D.js} +4 -4
- package/dist/{en-DG-Cvwm0nfj.js → en-DG-C6tsWvHi.js} +165 -869
- package/dist/{en-CJ6l68pH.js → en-Db1L_u7B.js} +165 -869
- package/dist/{errorContent-YeJNVb1U.js → errorContent-pPAgyy2i.js} +10 -7
- package/dist/es-419-DxKrJq7W.js +5 -0
- package/dist/{es-rayGAvsH.js → es-C5unKsaF.js} +164 -868
- package/dist/{es-ES-B8h3jMgN.js → es-ES-sHbsufzT.js} +164 -868
- package/dist/{es-MX-DA__jQOC.js → es-MX-Cd_DCR0A.js} +164 -868
- package/dist/{et-DvX7tm-R.js → et-BoGq2cx8.js} +165 -869
- package/dist/{expiredId-CsKNCK5M.js → expiredId-DWjw94rT.js} +12 -8
- package/dist/extensibility.es.js +100 -55
- package/dist/{fa-IR-DfrzWcH0.js → fa-IR-DuUxGXrf.js} +165 -869
- 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-B2aMz3X2.js +2 -0
- package/dist/{faceMatch-Bqspq0cw.js → faceMatch-DV7NxYu_.js} +15 -20
- package/dist/{fi-FI-CcFDkeiE.js → fi-FI-DMOBNTjA.js} +164 -868
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-BY2XXsp3.js +2 -0
- package/dist/{fieldComparison-CmQN2MEj.js → fieldComparison-CFLU1h6n.js} +15 -11
- package/dist/{fieldLabelHint-CxjArYkQ.js → fieldLabelHint-CjrLxBaj.js} +3 -3
- package/dist/{finalSuccessScreen-1Ea3wZWM.js → finalSuccessScreen-C50L96j9.js} +20 -16
- package/dist/fiscal-qr/fiscal-qr.es.js +24 -18
- package/dist/flipAnimation-8x-qdtF_.js +33 -0
- package/dist/flipCapturedCardEligibility-DLr9F2g2.js +210 -0
- package/dist/flow/flow.es.js +209 -186
- package/dist/flow/shell/styles.css +1 -1
- package/dist/flow/shell/styles.css.js +1 -1
- package/dist/flow/styles.css +1 -1
- package/dist/{formField-DoXWcoL9.js → formField-CfQKYeGF.js} +19 -11
- package/dist/{fr-CA-CeL7RQc-.js → fr-CA-DZ8jlsp3.js} +164 -868
- package/dist/{fr-DtdqfaF8.js → fr-DSR-AP0e.js} +164 -868
- package/dist/{front-horizontal-hint-DEHmtcdg.js → front-horizontal-hint-DOphQZg2.js} +1 -1
- package/dist/{front-vertical-hint-Cb1NO-xT.js → front-vertical-hint-S6PcS9_m.js} +1 -1
- package/dist/geolocation/geolocation.es.js +15 -12
- package/dist/government-validation/government-validation.es.js +7 -6
- package/dist/{he-CPeNHo0I.js → he-N5dfJeyd.js} +165 -869
- package/dist/helpButtonConfig-CjbrBQaV.js +24 -0
- package/dist/{hi-DIbkmie6.js → hi-JR6K9zbd.js} +165 -869
- package/dist/{hmn-CscGik4W.js → hmn-j2YA7FxW.js} +165 -869
- package/dist/{homeScreen-C0j_8KKD.js → homeScreen-C3pPw52y.js} +24 -13
- package/dist/{incodeComponent-CMBg2gpq.js → hooks-BFP0WaJM.js} +192 -262
- package/dist/{hr-DWUsAZnf.js → hr-8cOdwB0t.js} +164 -868
- package/dist/{ht-DgaboG3c.js → ht-DDNL4C__.js} +165 -869
- package/dist/{hu-Lz2qVC3S.js → hu-CynQQUFQ.js} +166 -870
- package/dist/i18n-Dp014ljG.js +942 -0
- package/dist/{icons-OQDvn5r2.js → icons-c-hFaG4L.js} +153 -56
- package/dist/id/id.es.js +101 -197
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-back-of-card-C7Au2tqk.js → id-back-of-card-Bk6ZQUE9.js} +1 -1
- package/dist/{id-back-of-card-vertical-CtQBFw8w.js → id-back-of-card-vertical-BZo00s50.js} +1 -1
- package/dist/{id-front-of-card-BmHL_keG.js → id-front-of-card-BJ96se7u.js} +1 -1
- package/dist/{id-front-of-card-vertical-DkNUn2Vx.js → id-front-of-card-vertical-DSfJB0lX.js} +1 -1
- package/dist/{id-C5eOEjgu.js → id-o_Yg0n8W.js} +165 -869
- package/dist/id-selfie-flow/id-selfie-flow.es.js +12 -11
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +6 -5
- package/dist/idFlipTransition-DXdtXYza.js +158 -0
- package/dist/{idOcr-C-kHrU_d.js → idOcr-CjqfkRJ7.js} +18 -14
- package/dist/identity-reuse/identity-reuse.es.js +28 -18
- package/dist/incodeComponent-DtKh-UUm.js +237 -0
- package/dist/incodeModule-DCHXAeYU.js +41 -0
- package/dist/index.es.js +5 -3
- package/dist/{inputComposed-CR1IW-mQ.js → inputComposed-CmVsaHOa.js} +4 -4
- package/dist/inputComposed-DvGrso7g.js +1 -0
- package/dist/{it-CQGuLrxZ.js → it-BXevrtHn.js} +165 -869
- package/dist/{ja-CBD-jOkP.js → ja-DiTXnTx-.js} +165 -869
- package/dist/{ja-JP-Dgbzh2aL.js → ja-JP-D1IRWR-p.js} +166 -870
- package/dist/{jv-C-E67yDR.js → jv-Us70GzGp.js} +164 -868
- package/dist/{ka-CcCqDmzw.js → ka-BSsWQ4yU.js} +165 -869
- package/dist/{kk-B_5WgCfa.js → kk-D5R6r4H7.js} +164 -868
- package/dist/{km-CucJh4em.js → km-CCCb2Rnt.js} +171 -875
- package/dist/{ko-KP-BSjl3hdX.js → ko-KP-JF4khv1Y.js} +165 -869
- package/dist/{ko-BEd2Jz4C.js → ko-kQioCg2w.js} +165 -869
- package/dist/{ky-Bb9MfmYr.js → ky-CLOemVjC.js} +164 -868
- package/dist/kyb-checks/kyb-checks.es.js +2 -0
- package/dist/kyb-checks/styles.css +2 -0
- package/dist/kyb-checks/styles.css.js +1 -0
- package/dist/kybChecksModule-C6Y9Hxpr.js +329 -0
- package/dist/kybChecksModule-r3MIpFhS.js +2 -0
- package/dist/{lo-CD_Ehkf5.js → lo-tzHUt1CQ.js} +165 -869
- package/dist/{lt-DHkwvJ8e.js → lt-B2ZI-Cgu.js} +165 -869
- package/dist/{lv-CPuPO_jU.js → lv-BJnxtSYw.js} +165 -869
- package/dist/{mandatoryConsent-BHMWyBUp.js → mandatoryConsent-BiQuEZRu.js} +23 -16
- package/dist/{manualCaptureButton-D_tGP6tv.js → manualCaptureButton-BRSmPTeR.js} +8 -7
- package/dist/{manualCaptureButton-D5XP3Oaf.js → manualCaptureButton-Dw0MMSkc.js} +17 -12
- package/dist/{mk-DO85nJp4.js → mk-Cj7Iw2Q4.js} +165 -869
- package/dist/{mn-D5fhne6X.js → mn-CA_rNxtz.js} +164 -868
- package/dist/{ms-D_FFGDor.js → ms-BydA1Zjz.js} +164 -868
- package/dist/{my-D1JKF20F.js → my-gFKufKaG.js} +165 -869
- package/dist/{nb-NO-oEMuavpl.js → nb-NO-CDsGQbOZ.js} +164 -868
- package/dist/{ne-Ds3QEMQ4.js → ne-Cyfi0vFI.js} +165 -869
- package/dist/{nl-DGyLucC1.js → nl-e1gbmAFO.js} +165 -869
- package/dist/{numberedStep-CvbL3ht2.js → numberedStep-CeN77hnQ.js} +1 -1
- package/dist/{optionAccessibleLabel-SwDCMYKc.js → optionAccessibleLabel-BTUieMxH.js} +8 -7
- package/dist/{otpInput-DIUf37GR.js → otpInput-D3L3QhnR.js} +24 -17
- package/dist/{page-BGUJaLaG.js → page-U6jZ7BBI.js} +85 -58
- package/dist/{incode-logo-BBYHyycP.js → pageUiConfig-Qf6ItVv9.js} +28 -4
- package/dist/{passport-horizontal-hint-DgNc6F0-.js → passport-horizontal-hint-Ddsh6fUS.js} +1 -1
- package/dist/{passport-vertical-hint-B-toVsfT.js → passport-vertical-hint-Dukxq6-T.js} +1 -1
- package/dist/{passwordInputComposed-Cd-3kyua.js → passwordInputComposed-CW_1DcB8.js} +5 -5
- package/dist/{pdf-BKHLi5Ac.js → pdf-Bd5QplFS.js} +2 -17
- package/dist/{pdfViewer-EDgSzrdc.js → pdfViewer-BrqSEtbr.js} +11 -14
- package/dist/pdfViewer-rDnnHzmw.js +2 -0
- package/dist/{permissions-Vh-QG2Tj.js → permissions-KUDhffd9.js} +36 -23
- package/dist/phone/phone.es.js +16 -12
- package/dist/{phoneInputComposed-wZaDiedP.js → phoneInputComposed-DlJMTavK.js} +49 -12
- package/dist/{pl-nEtI_VZQ.js → pl-BSMcCWS-.js} +164 -868
- package/dist/preloadableLazy-C8_OYaTC.js +37 -0
- package/dist/{processing-SzW6Mfrg.js → processing-B5EH7yNg.js} +2 -2
- package/dist/{progressBar-KEnpi8uj.js → progressBar-CSpS29pV.js} +2 -2
- package/dist/{pt-EmaaUJGm.js → pt-BNFC2quK.js} +165 -869
- package/dist/{pt-BR-BkLAWIbx.js → pt-BR-bH8DC2gH.js} +165 -869
- package/dist/{pt-PT-Py_4_Z05.js → pt-PT-B8PXmgwU.js} +165 -869
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/{radioGroupComposed-CRr_78He.js → radioGroupComposed-CW8ElYSR.js} +4 -4
- package/dist/radioGroupComposed-flIYNffL.js +1 -0
- package/dist/realtimeFeedbackConfig-tBX94SOm.js +16 -0
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +51 -50
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-D_cn4dSI.js → registerIncodeElement-oiLvm6xq.js} +1 -1
- package/dist/{reload-icon-elAFo9-k.js → reload-icon-FD2e9Wet.js} +1 -1
- package/dist/{resendTimer-EhLnxeID.js → resendTimer-D1H3gwkI.js} +2 -2
- package/dist/richText-sUdTiRDE.js +1761 -0
- package/dist/{ro-BKmZhZl1.js → ro-DnN8QNYa.js} +165 -869
- package/dist/{ru-BYQKvZtn.js → ru-DAwUFXHq.js} +165 -869
- package/dist/{ru-RU-BdhCs3uF.js → ru-RU-Coxt0VCU.js} +164 -868
- package/dist/{sanitizeSvg-BC-qLUgS.js → sanitizeSvg-OdNh1mqY.js} +1 -1
- package/dist/selfie/selfie.es.js +36 -14
- package/dist/selfie/styles.css +1 -1
- package/dist/selfie/styles.css.js +1 -1
- package/dist/signature/signature.es.js +18 -13
- package/dist/{sk-CZipa19k.js → sk-AB8sSlNw.js} +166 -870
- package/dist/{sl-_sx3gvEv.js → sl-6Dfzfi7s.js} +165 -869
- package/dist/{smsTabContent-DHuEgl3E.js → smsTabContent-CBEKgzFv.js} +32 -23
- package/dist/{so-D3T7YyfC.js → so-X5BdrDvV.js} +165 -869
- package/dist/spacer-Jaru_3sb.js +82 -0
- package/dist/spinner-51btbot0.js +407 -0
- package/dist/{sr-D0lglPAd.js → sr-JHjMcbGs.js} +164 -868
- package/dist/{sr-Latn-Dy2rgSEv.js → sr-Latn-DgT7eTG2.js} +171 -875
- package/dist/sr-YU-BBhB_G63.js +5 -0
- package/dist/{sv-SE-VsDd4VP5.js → sv-SE-CvX8mC8T.js} +164 -868
- package/dist/{sw-D2VfTj6a.js → sw-CN0TdnY4.js} +165 -869
- package/dist/{th-BzmKSnbD.js → th-BmFntKib.js} +165 -869
- package/dist/{th-TH-BU_NqN97.js → th-TH-CWr4z3JK.js} +165 -869
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-PH-BJJNA9rs.js → tl-PH-BRIbtBRN.js} +165 -869
- package/dist/{tl-GXkKKnzb.js → tl-rzkk5P_n.js} +165 -869
- package/dist/{tr-C1MJnwIJ.js → tr-DKuVBwqW.js} +166 -870
- package/dist/{transitionSpinner-Bkjw-WAJ.js → transitionSpinner-Di0XBAix.js} +5 -4
- package/dist/tutorial-C9psDR2i.js +28 -0
- 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 +147 -21
- 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 +92 -10
- package/dist/types/kyb-checks.d.ts +209 -0
- 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-CiGhKJGx.js} +2 -2
- package/dist/uiConfig-BJAuZQWc.js +77 -0
- package/dist/{uk-DFL26I5l.js → uk-CXjqq4lX.js} +164 -868
- package/dist/{uk-UA-3o9Xbam-.js → uk-UA-BIE9WByU.js} +165 -869
- package/dist/{ur-DXJAfyQA.js → ur-vNGesC3r.js} +165 -869
- package/dist/useCameraPreview-Bd7AYE9h.js +93 -0
- package/dist/useCaptureHelpButton-Dj-jESrS.js +43 -0
- package/dist/useIsDarkTheme-Bu9CvKxW.js +27 -0
- package/dist/{useModuleLoader-BdIp6TNQ.js → useModuleLoader-BBCNkJmc.js} +2 -2
- package/dist/{uz-BXvj8vlH.js → uz-Gmw1XRgv.js} +165 -869
- package/dist/{vendor-preact-C0jX1Cbq.js → vendor-preact-DHGqBGMH.js} +19 -1
- package/dist/{verificationResult-BVrKFRMf.js → verificationResult-Clxdxm_s.js} +18 -10
- package/dist/{vi-DRfsxu1a.js → vi-DTxxRUw0.js} +165 -869
- 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 +103 -67
- package/dist/watchlist/watchlist.es.js +8 -7
- package/dist/{watchlistForBusiness-CyAmoIrv.js → watchlistForBusiness-CpFp2EYX.js} +44 -14
- package/dist/{withEndScreenTexts-MHocOODe.js → withEndScreenTexts-Bd3mof3s.js} +225 -45
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +32 -21
- package/dist/{zh-CN-DMfj1_Nh.js → zh-CN-aB48G_R1.js} +164 -868
- package/dist/{zh-Ct8GKGhw.js → zh-DjtyfO4e.js} +164 -868
- package/dist/{zh-HANT-NZFdeKuE.js → zh-HANT-8p8SH8C3.js} +165 -869
- package/dist/{zh-TW-8wkrOHM8.js → zh-TW-CCsz9gKq.js} +165 -869
- package/package.json +35 -10
- package/dist/browser-ponyfill-DT11p-Ob.js +0 -441
- 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/es-419-DlCbbvcc.js +0 -3145
- package/dist/esm-15CISqPe.js +0 -430
- package/dist/faceMatch-BVSCpwmA.js +0 -2
- package/dist/fieldComparison-nFj9pSeZ.js +0 -2
- package/dist/flipAnimation-DY9K2zel.js +0 -3048
- 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/richText-aCnLd3j2.js +0 -1549
- package/dist/spacer-BvrtrwSF.js +0 -741
- package/dist/spinner-CkN8sW0d.js +0 -88
- package/dist/sr-YU-UEhyvXZ-.js +0 -3149
- package/dist/statusPage-3zRxvkSE.js +0 -36
- package/dist/uiConfig-BA7U_zLr.js +0 -2589
- package/dist/useCaptureHelpButton-CSG3fO48.js +0 -86
- package/dist/useCoverMedia-VLw3OYN_.js +0 -149
- /package/dist/{aligndevicelottie-BARt-rhe.js → aligndevicelottie-BEKzL4SB.js} +0 -0
- /package/dist/{back-tutorial-CZrMmj1_.js → back-tutorial-B9W63fa-.js} +0 -0
- /package/dist/{backdevicelottie-CIM3ekd8.js → backdevicelottie-DsN8QBV3.js} +0 -0
- /package/dist/{blurdevicelottie-BRyXfLB6.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
- /package/dist/{countryDefinitions-BO9OSKQO.js → countryDefinitions-RBVGM1D_.js} +0 -0
- /package/dist/{defineProperty-CjeJoXkx.js → defineProperty-E9wRIIo9.js} +0 -0
- /package/dist/{flip-animation-BU5LNKYx.js → flip-animation-DJVnWWL5.js} +0 -0
- /package/dist/{frontdevicelottie-arpyu_Fz.js → frontdevicelottie-DiW1Wmya.js} +0 -0
- /package/dist/{glaredevicelottie-TwTFxe7h.js → glaredevicelottie-CK-fnX_s.js} +0 -0
- /package/dist/{id-laser-h-Dr-hBxrq.js → id-laser-h-6Am_cjM8.js} +0 -0
- /package/dist/{id-laser-v-D_r0QNY8.js → id-laser-v-DXoF3flH.js} +0 -0
- /package/dist/{id-tutorial-DM9Pkfs-.js → id-tutorial-DkKH3eTE.js} +0 -0
- /package/dist/{lottie_light-aMg9Q9iO.js → lottie_light-B819EhaL.js} +0 -0
- /package/dist/{passport-tutorial-CKZZuDf_.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
- /package/dist/{pdf.worker.min-BM1b2w9V.js → pdf.worker.min-DzBNMoKS.js} +0 -0
- /package/dist/{policyUrls-B3M8nLRh.js → policyUrls-Benduf-R.js} +0 -0
- /package/dist/{purify.es-0fCPkEV1.js → purify.es-CSPoFViI.js} +0 -0
- /package/dist/{selfieTutorial-Dz6lDFMn.js → selfieTutorial-DnsRD1Z9.js} +0 -0
|
@@ -1,65 +1,138 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import { b as u, h as g, i as D, w as k } from "./vendor-preact-DHGqBGMH.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@incodetech+prizma-core-web@0.17.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@incodetech/prizma-core-web/dist/Button.js
|
|
3
|
+
/**
|
|
4
|
+
* Chevron shapes are filled vectors extracted verbatim from Figma
|
|
5
|
+
* (`Vector (Stroke)` nodes inside the M/S button variants).
|
|
6
|
+
* The geometry is identical across all states; only the fill color
|
|
7
|
+
* changes via `currentColor`.
|
|
8
|
+
*/
|
|
9
|
+
var ChevronM = () => u("svg", {
|
|
10
|
+
width: "9",
|
|
11
|
+
height: "15",
|
|
12
|
+
viewBox: "0 0 9 15",
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
"aria-hidden": "true",
|
|
15
|
+
className: "prizma-button__chevron",
|
|
16
|
+
children: u("path", {
|
|
17
|
+
d: "M1.1 1.1 L7.9 7.5 L1.1 13.9",
|
|
18
|
+
fill: "none",
|
|
19
|
+
stroke: "currentColor",
|
|
20
|
+
strokeWidth: "2.1",
|
|
21
|
+
strokeLinecap: "round",
|
|
22
|
+
strokeLinejoin: "round",
|
|
23
|
+
transform: "rotate(180 4.5 7.5)"
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
var ChevronS = () => u("svg", {
|
|
27
|
+
width: "4.5",
|
|
28
|
+
height: "7.5",
|
|
29
|
+
viewBox: "0 0 4.5 7.5",
|
|
30
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
31
|
+
"aria-hidden": "true",
|
|
32
|
+
className: "prizma-button__chevron",
|
|
33
|
+
children: u("path", {
|
|
34
|
+
d: "M0.75 0.75 L3.75 3.75 L0.75 6.75",
|
|
35
|
+
fill: "none",
|
|
36
|
+
stroke: "currentColor",
|
|
37
|
+
strokeWidth: "1.5",
|
|
38
|
+
strokeLinecap: "round",
|
|
39
|
+
strokeLinejoin: "round"
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
/** The designed matrix (button.md §2) — L: 4 variants · M: Icon · S: Primary + Icon.
|
|
43
|
+
* (The 2-links composite left Button for PrizmaInlineActions — B2, 2026-07-21.) */
|
|
44
|
+
var DESIGNED_SIZES = {
|
|
45
|
+
primary: ["L", "S"],
|
|
46
|
+
secondary: ["L"],
|
|
47
|
+
"tertiary-link": ["L"],
|
|
48
|
+
"tertiary-link-with-text": ["L"],
|
|
49
|
+
icon: ["M", "S"]
|
|
15
50
|
};
|
|
16
|
-
var
|
|
17
|
-
const {
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
51
|
+
var PrizmaButton = D((props, ref) => {
|
|
52
|
+
const { variant, size: requestedSize, loading = false, loadingLabel, forceState, leadingText, children, className, disabled, type = "button", ...nativeRest } = props;
|
|
53
|
+
const designed = DESIGNED_SIZES[variant];
|
|
54
|
+
const size = designed.includes(requestedSize) ? requestedSize : designed[0];
|
|
55
|
+
if (size !== requestedSize) console.warn(`[PrizmaButton] variant "${variant}" is not designed at size ${requestedSize} — rendering ${size}. Designed matrix (button.md §2): L 5 variants · M Icon · S Primary + Icon.`);
|
|
56
|
+
const loadingSupported = size === "L";
|
|
57
|
+
const loadingActive = loading && loadingSupported;
|
|
58
|
+
if (loading && !loadingSupported) console.warn(`[PrizmaButton] loading has no designed treatment at size ${size} — ignoring on variant "${variant}". Loading is designed for the L variants only (button.md §2).`);
|
|
59
|
+
const isTertiary = variant === "tertiary-link" || variant === "tertiary-link-with-text";
|
|
60
|
+
const showSpinner = loadingActive && (variant === "primary" || variant === "secondary");
|
|
61
|
+
const wrapperForceState = forceState ? `prizma-button--state-${forceState}` : "";
|
|
62
|
+
const classes = [
|
|
63
|
+
"prizma-button",
|
|
64
|
+
`prizma-button--size-${size.toLowerCase()}`,
|
|
65
|
+
`prizma-button--${variant}`,
|
|
66
|
+
loadingActive ? "prizma-button--loading" : "",
|
|
67
|
+
disabled ? "prizma-button--disabled" : "",
|
|
68
|
+
wrapperForceState,
|
|
69
|
+
className
|
|
70
|
+
].filter(Boolean).join(" ");
|
|
71
|
+
const isInactive = Boolean(disabled) || loadingActive;
|
|
72
|
+
const renderInner = () => {
|
|
73
|
+
if (loadingActive && isTertiary && loadingLabel) return u("span", {
|
|
74
|
+
className: "prizma-button__label",
|
|
75
|
+
children: loadingLabel
|
|
76
|
+
});
|
|
77
|
+
if (variant === "tertiary-link-with-text") return u(k, { children: [u("span", {
|
|
78
|
+
className: "prizma-button__leading",
|
|
79
|
+
children: leadingText
|
|
80
|
+
}), u("span", {
|
|
81
|
+
className: "prizma-button__link",
|
|
23
82
|
children
|
|
24
|
-
})
|
|
25
|
-
if (
|
|
26
|
-
|
|
27
|
-
|
|
83
|
+
})] });
|
|
84
|
+
if (variant === "icon") {
|
|
85
|
+
const defaultIcon = size === "M" ? u(ChevronM, {}) : u(ChevronS, {});
|
|
86
|
+
return u("span", {
|
|
87
|
+
className: "prizma-button__icon",
|
|
88
|
+
children: children ?? defaultIcon
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
if (size === "S" && variant === "primary") return u(k, { children: [u("span", {
|
|
92
|
+
className: "prizma-button__label",
|
|
93
|
+
children
|
|
94
|
+
}), u("span", {
|
|
95
|
+
className: "prizma-button__icon",
|
|
96
|
+
children: u(ChevronS, {})
|
|
97
|
+
})] });
|
|
98
|
+
return u("span", {
|
|
99
|
+
className: "prizma-button__label",
|
|
100
|
+
children
|
|
101
|
+
});
|
|
28
102
|
};
|
|
29
|
-
|
|
103
|
+
const resolvedAriaLabel = loadingActive && loadingLabel ? loadingLabel : nativeRest["aria-label"];
|
|
104
|
+
return u("button", {
|
|
30
105
|
ref,
|
|
31
|
-
...
|
|
32
|
-
class: cn("IncodeButton", variantClass[variant], sizeClass[size], showLoader ? "IncodeButtonLoading" : "", iconOnly ? "IncodeButtonIconOnly" : "", className),
|
|
33
|
-
disabled: disabled || showLoader,
|
|
34
|
-
"aria-busy": showLoader || void 0,
|
|
106
|
+
...nativeRest,
|
|
35
107
|
type,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
108
|
+
className: classes,
|
|
109
|
+
disabled: isInactive,
|
|
110
|
+
"aria-disabled": isInactive ? "true" : void 0,
|
|
111
|
+
"aria-busy": loadingActive ? "true" : void 0,
|
|
112
|
+
"aria-label": resolvedAriaLabel,
|
|
113
|
+
children: [renderInner(), showSpinner && u("span", {
|
|
114
|
+
className: "prizma-button__spinner",
|
|
115
|
+
"aria-hidden": "true",
|
|
116
|
+
children: u("svg", {
|
|
117
|
+
className: "prizma-button__spinner-svg",
|
|
118
|
+
viewBox: "0 0 24 24",
|
|
119
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
120
|
+
children: [u("circle", {
|
|
121
|
+
className: "prizma-button__spinner-track",
|
|
122
|
+
cx: "12",
|
|
123
|
+
cy: "12",
|
|
124
|
+
r: "10"
|
|
125
|
+
}), u("circle", {
|
|
126
|
+
className: "prizma-button__spinner-indicator",
|
|
127
|
+
cx: "12",
|
|
128
|
+
cy: "12",
|
|
129
|
+
r: "10"
|
|
130
|
+
})]
|
|
131
|
+
})
|
|
60
132
|
})]
|
|
61
133
|
});
|
|
62
|
-
};
|
|
134
|
+
});
|
|
135
|
+
PrizmaButton.displayName = "PrizmaButton";
|
|
63
136
|
//#endregion
|
|
64
137
|
//#region src/shared/icons/calendarIcon.tsx
|
|
65
138
|
var CalendarIcon = ({ class: className }) => {
|
|
@@ -314,6 +387,30 @@ var EllipseIcon = ({ size = 16 }) => {
|
|
|
314
387
|
});
|
|
315
388
|
};
|
|
316
389
|
//#endregion
|
|
390
|
+
//#region src/shared/icons/errorIcon.tsx
|
|
391
|
+
var ErrorIcon = ({ size = 32 }) => {
|
|
392
|
+
return /* @__PURE__ */ u("svg", {
|
|
393
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
394
|
+
width: size,
|
|
395
|
+
height: size,
|
|
396
|
+
viewBox: "0 0 64 64",
|
|
397
|
+
fill: "none",
|
|
398
|
+
class: "IncodeErrorIcon",
|
|
399
|
+
"aria-hidden": "true",
|
|
400
|
+
children: [/* @__PURE__ */ u("path", {
|
|
401
|
+
"fill-rule": "evenodd",
|
|
402
|
+
"clip-rule": "evenodd",
|
|
403
|
+
d: "M32 6.667C18.032 6.667 6.667 18.029 6.667 32c0 13.968 11.365 25.333 25.333 25.333S57.333 45.968 57.333 32C57.333 18.03 45.968 6.667 32 6.667Z",
|
|
404
|
+
fill: "var(--icon-status-negative)"
|
|
405
|
+
}), /* @__PURE__ */ u("path", {
|
|
406
|
+
"fill-rule": "evenodd",
|
|
407
|
+
"clip-rule": "evenodd",
|
|
408
|
+
d: "M39.643 39.637a1.995 1.995 0 0 1-2.83 0l-4.816-4.819-4.802 4.803a2 2 0 0 1-2.83-2.827l4.803-4.802-4.805-4.809a1.997 1.997 0 0 1 0-2.826 1.997 1.997 0 0 1 2.826 0l4.806 4.805L36.8 24.36a1.997 1.997 0 0 1 2.827 0 1.997 1.997 0 0 1 0 2.826l-4.803 4.805 4.819 4.816a2 2 0 0 1 0 2.83Z",
|
|
409
|
+
fill: "var(--icon-neutral-0)"
|
|
410
|
+
})]
|
|
411
|
+
});
|
|
412
|
+
};
|
|
413
|
+
//#endregion
|
|
317
414
|
//#region src/shared/icons/eyeIcon.tsx
|
|
318
415
|
var EyeIcon = ({ size = 24 }) => {
|
|
319
416
|
return /* @__PURE__ */ u("svg", {
|
|
@@ -532,4 +629,4 @@ var SvgLightningIcon = (props) => /* @__PURE__ */ u("svg", {
|
|
|
532
629
|
//#region src/shared/icons/lightningIcon.tsx
|
|
533
630
|
var LightningIcon = SvgLightningIcon;
|
|
534
631
|
//#endregion
|
|
535
|
-
export {
|
|
632
|
+
export { CheckmarkIcon as _, LockIcon as a, CalendarIcon as b, EyeOffIcon as c, EllipseIcon as d, CloseIcon as f, CheckmarkCompactIcon as g, ChevronDown as h, SearchIcon as i, EyeIcon as l, ChevronLeftIcon as m, WarningIcon as n, HelpIcon as o, ChevronRightIcon as p, SuccessIcon as r, FileIcon as s, LightningIcon as t, ErrorIcon as u, CaptureButtonIcon as v, PrizmaButton as x, CameraIcon as y };
|
package/dist/id/id.es.js
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { n as VerifiedByIncodeLogo, t as Page } from "../page-
|
|
9
|
-
import {
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
14
|
-
import {
|
|
15
|
-
import { n as
|
|
16
|
-
import {
|
|
17
|
-
import { n as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
1
|
+
import { i as useTranslation } from "../i18n-Dp014ljG.js";
|
|
2
|
+
import { _ as q, b as u, c as z, l as A, m as d, o as P, p as b, w as k, y } from "../vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { i as useUiConfig } from "../uiConfig-BJAuZQWc.js";
|
|
4
|
+
import { x as PrizmaButton } from "../icons-c-hFaG4L.js";
|
|
5
|
+
import { n as cn } from "../spacer-Jaru_3sb.js";
|
|
6
|
+
import { o as TypographyP } from "../typography-CiGhKJGx.js";
|
|
7
|
+
import { t as AutoFocusTitle } from "../autoFocusTitle-CzaCWWW5.js";
|
|
8
|
+
import { n as VerifiedByIncodeLogo, t as Page } from "../page-U6jZ7BBI.js";
|
|
9
|
+
import { r as Modal } from "../pageUiConfig-Qf6ItVv9.js";
|
|
10
|
+
import { f as useIsMobileDeviceWidth, g as useModuleTerminalCallbacks, o as usePresence, r as useHasResolvedConfig, s as useAnimationSignal, t as withStandaloneModuleBootstrap, v as useManager } from "../hooks-BFP0WaJM.js";
|
|
11
|
+
import { i as preloadAnimations, s as loadLottie } from "../spinner-51btbot0.js";
|
|
12
|
+
import { t as TransitionSpinner } from "../transitionSpinner-Di0XBAix.js";
|
|
13
|
+
import { t as IncodeComponent } from "../incodeComponent-DtKh-UUm.js";
|
|
14
|
+
import { t as Processing } from "../processing-B5EH7yNg.js";
|
|
15
|
+
import { n as Tutorial, t as Chooser } from "../chooser-CmG71-lh.js";
|
|
16
|
+
import { t as BottomSheet } from "../bottomSheet-DylE2INk.js";
|
|
17
|
+
import { n as CameraFrame, t as CameraView } from "../cameraView-D9ZxLKtA.js";
|
|
18
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "../cameraOverlayHeader-CuVGnyXI.js";
|
|
19
|
+
import { t as CaptureFooter } from "../captureFooter-B6WUFQCV.js";
|
|
20
|
+
import { n as PermissionsDialog, r as PermissionsProvider, t as Permissions } from "../permissions-KUDhffd9.js";
|
|
21
|
+
import { c as IdError, o as IdNoAttempts, r as getCaptureFrameTitle, s as IdExpired, t as CaptureAutoFocusProvider } from "../captureFocusContext-9789qOe3.js";
|
|
22
|
+
import { _ as PERMISSION_DIALOG_STATUS, a as CAMERA_PERMISSION_UX, c as EXPERIMENT_LIFECYCLE_STATUS, d as ID_CAPTURE_TUTORIAL_PHASE, l as ID_CAPTURE_LOADING_PHASE, o as CAMERA_WARMUP_LOADING_PHASES, r as useIdExperiment, s as CONTINUING_TUTORIAL_PHASES, u as ID_CAPTURE_STATUS } from "../flipCapturedCardEligibility-DLr9F2g2.js";
|
|
23
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-DCHXAeYU.js";
|
|
24
|
+
import { t as preloadableLazy } from "../preloadableLazy-C8_OYaTC.js";
|
|
25
|
+
import { n as SvgPersonCardIcon, r as SvgCheckV2Icon, t as SvgReloadIcon } from "../reload-icon-FD2e9Wet.js";
|
|
25
26
|
import { createIdCaptureManager } from "@incodetech/core/id";
|
|
26
27
|
//#region src/shared/fonts/preloadDisplayFont.ts
|
|
27
28
|
function preloadDisplayFont() {
|
|
@@ -36,148 +37,14 @@ function usePreloadDisplayFont() {
|
|
|
36
37
|
}, []);
|
|
37
38
|
}
|
|
38
39
|
//#endregion
|
|
39
|
-
//#region src/modules/id/
|
|
40
|
-
var TERMINAL_ANIMATION_NAMES = new Set(["incodeIdFlipCardRotate", "incodeIdFlipCardReducedMotionFadeIn"]);
|
|
41
|
-
var HOLD_AFTER_FLIP_MS = 1250;
|
|
42
|
-
var HANDOFF_WATCHDOG_MS = 3500;
|
|
43
|
-
var IdFlipCard = ({ manager, direction, imageUrl, orientation }) => {
|
|
44
|
-
const { t } = useTranslation();
|
|
45
|
-
const hasCompletedRef = A(false);
|
|
46
|
-
const [isFlipping, setIsFlipping] = d(false);
|
|
47
|
-
const { schedule: scheduleHandoff } = useTimeoutHandle();
|
|
48
|
-
const titleRef = A(null);
|
|
49
|
-
const { value: store } = useFeatureManagement("parameterStore", ONBOARDING_WEB_SDK_PARAMETER_STORE, { disableExposureLog: true });
|
|
50
|
-
const durations = store?.get("flipCapturedCardDurations", {
|
|
51
|
-
holdAfterFlipMs: HOLD_AFTER_FLIP_MS,
|
|
52
|
-
fallbackHoldMs: HANDOFF_WATCHDOG_MS
|
|
53
|
-
});
|
|
54
|
-
y(() => {
|
|
55
|
-
titleRef.current?.focus();
|
|
56
|
-
}, []);
|
|
57
|
-
const complete = () => {
|
|
58
|
-
if (hasCompletedRef.current) return;
|
|
59
|
-
hasCompletedRef.current = true;
|
|
60
|
-
if (direction === "toBack") manager.continueToBack();
|
|
61
|
-
else manager.continueToFront();
|
|
62
|
-
};
|
|
63
|
-
const scheduleComplete = () => scheduleHandoff(complete, durations.holdAfterFlipMs);
|
|
64
|
-
const handleAnimationState = (fn) => (event) => {
|
|
65
|
-
if (TERMINAL_ANIMATION_NAMES.has(event.animationName)) fn();
|
|
66
|
-
};
|
|
67
|
-
y(() => {
|
|
68
|
-
if (!imageUrl) {
|
|
69
|
-
complete();
|
|
70
|
-
return;
|
|
71
|
-
}
|
|
72
|
-
scheduleHandoff(complete, durations.fallbackHoldMs);
|
|
73
|
-
}, []);
|
|
74
|
-
const isVertical = orientation === "vertical";
|
|
75
|
-
const BackOfCard = isVertical ? SvgIdBackOfCardVertical : SvgIdBackOfCard;
|
|
76
|
-
const FrontOfCard = isVertical ? SvgIdFrontOfCardVertical : SvgIdFrontOfCard;
|
|
77
|
-
let titleKey = "";
|
|
78
|
-
let subtitleKey = "";
|
|
79
|
-
if (direction === "toBack") {
|
|
80
|
-
titleKey = "idv2.flipAnimation.title";
|
|
81
|
-
subtitleKey = "idv2.flipAnimation.subtitleToBack";
|
|
82
|
-
} else {
|
|
83
|
-
titleKey = "idv2.flipAnimation.titleToFront";
|
|
84
|
-
subtitleKey = "idv2.capture.processing.successBackSubtitleScanFront";
|
|
85
|
-
}
|
|
86
|
-
return /* @__PURE__ */ u(Page, {
|
|
87
|
-
hideHeader: true,
|
|
88
|
-
hideFooterBranding: true,
|
|
89
|
-
className: "IncodeIdFlipCardPage",
|
|
90
|
-
children: /* @__PURE__ */ u("div", {
|
|
91
|
-
class: "IncodeIdFlipCardLayout",
|
|
92
|
-
children: /* @__PURE__ */ u("div", {
|
|
93
|
-
class: "IncodeIdFlipCardLayoutContent",
|
|
94
|
-
children: [
|
|
95
|
-
/* @__PURE__ */ u("div", {
|
|
96
|
-
class: "IncodeIdFlipCardTopArea",
|
|
97
|
-
children: /* @__PURE__ */ u("div", {
|
|
98
|
-
class: "IncodeIdFlipCardCopy",
|
|
99
|
-
role: "status",
|
|
100
|
-
children: [
|
|
101
|
-
/* @__PURE__ */ u(Title, {
|
|
102
|
-
ref: titleRef,
|
|
103
|
-
tabIndex: -1,
|
|
104
|
-
className: "IncodeIdFlipCardTitle",
|
|
105
|
-
children: t(titleKey)
|
|
106
|
-
}),
|
|
107
|
-
/* @__PURE__ */ u(Spacer, { size: 12 }),
|
|
108
|
-
/* @__PURE__ */ u("p", {
|
|
109
|
-
class: "IncodeIdFlipCardSubtitle",
|
|
110
|
-
children: t(subtitleKey)
|
|
111
|
-
})
|
|
112
|
-
]
|
|
113
|
-
})
|
|
114
|
-
}),
|
|
115
|
-
/* @__PURE__ */ u(CaptureFrame, {
|
|
116
|
-
orientation,
|
|
117
|
-
mode: "front",
|
|
118
|
-
state: "success",
|
|
119
|
-
className: cn(isFlipping && "IncodeIdFlipCardFrameFlipping"),
|
|
120
|
-
children: imageUrl && /* @__PURE__ */ u("div", {
|
|
121
|
-
class: "IncodeIdFlipCardScene",
|
|
122
|
-
"data-testid": "id-flip-card-scene",
|
|
123
|
-
onAnimationStart: handleAnimationState(() => setIsFlipping(true)),
|
|
124
|
-
onAnimationEnd: handleAnimationState(scheduleComplete),
|
|
125
|
-
children: /* @__PURE__ */ u("div", {
|
|
126
|
-
class: "IncodeIdFlipCardCard",
|
|
127
|
-
children: [/* @__PURE__ */ u("div", {
|
|
128
|
-
class: "IncodeIdFlipCardFace IncodeIdFlipCardFaceFront",
|
|
129
|
-
children: /* @__PURE__ */ u("img", {
|
|
130
|
-
src: imageUrl,
|
|
131
|
-
alt: "",
|
|
132
|
-
"aria-hidden": "true",
|
|
133
|
-
class: "IncodeIdFlipCardImage"
|
|
134
|
-
})
|
|
135
|
-
}), /* @__PURE__ */ u("div", {
|
|
136
|
-
class: "IncodeIdFlipCardFace IncodeIdFlipCardFaceBack",
|
|
137
|
-
children: direction === "toBack" ? /* @__PURE__ */ u(BackOfCard, { className: "IncodeIdFlipCardAsset" }) : /* @__PURE__ */ u(FrontOfCard, { className: "IncodeIdFlipCardAsset" })
|
|
138
|
-
})]
|
|
139
|
-
})
|
|
140
|
-
})
|
|
141
|
-
}),
|
|
142
|
-
/* @__PURE__ */ u("div", {
|
|
143
|
-
class: "IncodeIdFlipCardBottomArea",
|
|
144
|
-
children: /* @__PURE__ */ u("div", {
|
|
145
|
-
class: "IncodeCaptureEncryptionLabel",
|
|
146
|
-
children: [/* @__PURE__ */ u(LockIcon, { className: "IncodeCaptureEncryptionIcon" }), /* @__PURE__ */ u("span", { children: t("idv2.capture.allDataIsEncrypted") })]
|
|
147
|
-
})
|
|
148
|
-
})
|
|
149
|
-
]
|
|
150
|
-
})
|
|
151
|
-
})
|
|
152
|
-
});
|
|
153
|
-
};
|
|
154
|
-
//#endregion
|
|
155
|
-
//#region src/modules/id/flip-transition/idFlipTransition.tsx
|
|
40
|
+
//#region src/modules/id/capture/lazyCapture.ts
|
|
156
41
|
/**
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
* finished) — treatment (`test`, non-passport) replaces the generic Lottie
|
|
160
|
-
* flip with `IdFlipCard`'s continuous CSS 3D flip built from the user's own
|
|
161
|
-
* captured photo; control (or passport) keeps `FlipAnimation`.
|
|
42
|
+
* The capture screen is not part of the first ID screen (chooser, tutorial or
|
|
43
|
+
* permissions). It loads on first use, or earlier through `loadCapture()`.
|
|
162
44
|
*/
|
|
163
|
-
var
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
enabled: canFlipCapturedCard(state.mode, state.previewImageUrl)
|
|
167
|
-
});
|
|
168
|
-
const shouldFlipCapturedCard = params.shouldFlipCapturedCard;
|
|
169
|
-
const direction = state.status === "frontFinished" ? "toBack" : "toFront";
|
|
170
|
-
if (shouldFlipCapturedCard) return /* @__PURE__ */ u(IdFlipCard, {
|
|
171
|
-
manager,
|
|
172
|
-
direction,
|
|
173
|
-
imageUrl: state.previewImageUrl,
|
|
174
|
-
orientation: state.orientation
|
|
175
|
-
});
|
|
176
|
-
return /* @__PURE__ */ u(FlipAnimation, {
|
|
177
|
-
manager,
|
|
178
|
-
direction
|
|
179
|
-
});
|
|
180
|
-
};
|
|
45
|
+
var capture = preloadableLazy(() => import("../capture-DKBA5j5A.js").then((module) => module.Capture));
|
|
46
|
+
var loadCapture = capture.load;
|
|
47
|
+
var LazyCapture = capture.Lazy;
|
|
181
48
|
//#endregion
|
|
182
49
|
//#region src/modules/id/digitalIdRedirect/returnUrl.ts
|
|
183
50
|
/**
|
|
@@ -206,17 +73,19 @@ function preloadIdTutorialAssets() {
|
|
|
206
73
|
preloadAnimations([
|
|
207
74
|
"id.tutorial.front",
|
|
208
75
|
"id.tutorial.back",
|
|
209
|
-
"id.tutorial.passport"
|
|
76
|
+
"id.tutorial.passport",
|
|
77
|
+
"id.flip"
|
|
210
78
|
]);
|
|
79
|
+
loadLottie().catch(() => void 0);
|
|
211
80
|
preloadAnimations(["id.processing"], "horizontal");
|
|
212
81
|
preloadAnimations(["id.processing"], "vertical");
|
|
213
|
-
import("../id-tutorial-
|
|
214
|
-
import("../back-tutorial-
|
|
215
|
-
import("../passport-tutorial-
|
|
216
|
-
import("../id-back-of-card-
|
|
217
|
-
import("../id-back-of-card-vertical-
|
|
218
|
-
import("../id-front-of-card-
|
|
219
|
-
import("../id-front-of-card-vertical-
|
|
82
|
+
import("../id-tutorial-DkKH3eTE.js");
|
|
83
|
+
import("../back-tutorial-B9W63fa-.js");
|
|
84
|
+
import("../passport-tutorial-D3Fpk-Tj.js");
|
|
85
|
+
import("../id-back-of-card-Bk6ZQUE9.js").then((n) => n.n);
|
|
86
|
+
import("../id-back-of-card-vertical-BZo00s50.js").then((n) => n.n);
|
|
87
|
+
import("../id-front-of-card-BJ96se7u.js").then((n) => n.n);
|
|
88
|
+
import("../id-front-of-card-vertical-DSfJB0lX.js").then((n) => n.n);
|
|
220
89
|
}
|
|
221
90
|
//#endregion
|
|
222
91
|
//#region src/modules/id/tutorialWithPermissions/howItWorksOverlay.constants.ts
|
|
@@ -279,11 +148,13 @@ function HowItWorksContent({ onContinue, isLoading }) {
|
|
|
279
148
|
}),
|
|
280
149
|
/* @__PURE__ */ u("div", {
|
|
281
150
|
class: "IncodeHowItWorksOverlayActions",
|
|
282
|
-
children: /* @__PURE__ */ u(
|
|
151
|
+
children: /* @__PURE__ */ u(PrizmaButton, {
|
|
152
|
+
variant: "primary",
|
|
153
|
+
size: "L",
|
|
283
154
|
onClick: onContinue,
|
|
284
155
|
disabled: isLoading,
|
|
285
|
-
isLoading,
|
|
286
|
-
|
|
156
|
+
loading: isLoading,
|
|
157
|
+
className: cn("IncodeButton IncodeButtonPrimary IncodeButtonL IncodeHowItWorksOverlayActionButton", isLoading && "IncodeButtonLoading"),
|
|
287
158
|
children: t(HOW_IT_WORKS_INSTRUCTIONS_LABELS.START_SCAN)
|
|
288
159
|
})
|
|
289
160
|
}),
|
|
@@ -341,8 +212,10 @@ function createSlots({ manager, stage, howItWorksOpen, onOpenHowItWorks, onClose
|
|
|
341
212
|
});
|
|
342
213
|
else if (stage.ux.id === CAMERA_PERMISSION_UX.HOW_IT_WORKS) {
|
|
343
214
|
const isRequesting = stage.permissionStatus === PERMISSION_DIALOG_STATUS.REQUESTING;
|
|
344
|
-
actions = /* @__PURE__ */ u(
|
|
345
|
-
|
|
215
|
+
actions = /* @__PURE__ */ u(PrizmaButton, {
|
|
216
|
+
size: "L",
|
|
217
|
+
className: "IncodeButton IncodeButtonLink IncodeButtonL",
|
|
218
|
+
variant: "tertiary-link",
|
|
346
219
|
onClick: onOpenHowItWorks,
|
|
347
220
|
children: t("idv2.tutorial.howItWorks.link")
|
|
348
221
|
});
|
|
@@ -448,7 +321,7 @@ var PermissionInCamera = ({ manager, state }) => {
|
|
|
448
321
|
children: /* @__PURE__ */ u(CameraView, {
|
|
449
322
|
stream: void 0,
|
|
450
323
|
children: /* @__PURE__ */ u(CameraOverlay, {
|
|
451
|
-
className: "IncodeCaptureOverlayId",
|
|
324
|
+
className: "IncodeCaptureOverlayId IncodeCompactReflow",
|
|
452
325
|
children: /* @__PURE__ */ u("div", {
|
|
453
326
|
class: "IncodePermissionInCameraContent",
|
|
454
327
|
onAnimationEnd: handleShellAnimationEnd,
|
|
@@ -532,9 +405,12 @@ var PermissionInCameraFlowTransition = ({ manager, tutorialStage, permissionStat
|
|
|
532
405
|
inert: isCaptureHandoff || void 0,
|
|
533
406
|
children: /* @__PURE__ */ u(CaptureAutoFocusProvider, {
|
|
534
407
|
enabled: !isCaptureHandoff,
|
|
535
|
-
children: /* @__PURE__ */ u(
|
|
536
|
-
|
|
537
|
-
|
|
408
|
+
children: /* @__PURE__ */ u(P, {
|
|
409
|
+
fallback: null,
|
|
410
|
+
children: /* @__PURE__ */ u(LazyCapture, {
|
|
411
|
+
manager,
|
|
412
|
+
state: captureState
|
|
413
|
+
})
|
|
538
414
|
})
|
|
539
415
|
})
|
|
540
416
|
}, "capture") : null,
|
|
@@ -689,7 +565,17 @@ function resolvePermissionInCameraState(state, cameraPermissionUx, wasPermission
|
|
|
689
565
|
*/
|
|
690
566
|
function useIdPermissionExperience(state) {
|
|
691
567
|
const cameraPermissionUx = useCameraPermissionUx(state);
|
|
692
|
-
const
|
|
568
|
+
const resolvedTutorialStage = resolveIdTutorialWithPermissionsUxStage(state, cameraPermissionUx);
|
|
569
|
+
const lastTutorialStageRef = A(null);
|
|
570
|
+
const tutorialHandoffStage = resolvedTutorialStage === null && isCameraWarmupState(state) ? lastTutorialStageRef.current : null;
|
|
571
|
+
if (!tutorialHandoffStage) lastTutorialStageRef.current = resolvedTutorialStage !== null && resolvedTutorialStage.tutorialPhase !== null && resolvedTutorialStage.ux.id !== CAMERA_PERMISSION_UX.PERMISSION_IN_CAMERA ? resolvedTutorialStage : null;
|
|
572
|
+
const tutorialWithPermissionsUxStage = tutorialHandoffStage ? {
|
|
573
|
+
...tutorialHandoffStage,
|
|
574
|
+
tutorialPhase: ID_CAPTURE_TUTORIAL_PHASE.WAITING_FOR_CAMERA
|
|
575
|
+
} : resolvedTutorialStage;
|
|
576
|
+
const lastFlipStateRef = A(null);
|
|
577
|
+
const flipHandoffState = isCameraWarmupState(state) ? lastFlipStateRef.current : null;
|
|
578
|
+
if (!flipHandoffState) lastFlipStateRef.current = state.status === "frontFinished" || state.status === "backFinished" ? state : null;
|
|
693
579
|
const wasPermissionInCameraVisibleRef = A(false);
|
|
694
580
|
const permissionInCameraFlowActiveRef = A(false);
|
|
695
581
|
const permissionInCameraState = resolvePermissionInCameraState(state, cameraPermissionUx, wasPermissionInCameraVisibleRef.current);
|
|
@@ -702,24 +588,28 @@ function useIdPermissionExperience(state) {
|
|
|
702
588
|
}, [isPermissionInCameraVisible]);
|
|
703
589
|
return {
|
|
704
590
|
cameraPermissionUx,
|
|
591
|
+
flipHandoffState,
|
|
705
592
|
tutorialWithPermissionsUxStage,
|
|
706
593
|
permissionInCameraState,
|
|
707
594
|
permissionInCameraCaptureState,
|
|
708
595
|
isPermissionRequestingLoader: state.status === "permissions" && state.permissionStatus === "requesting" && cameraPermissionUx.id === CAMERA_PERMISSION_UX.CONTROL,
|
|
709
|
-
isPreparingCameraLoader: state.status === "loading" && permissionInCameraState === null && tutorialWithPermissionsUxStage?.ux.id !== CAMERA_PERMISSION_UX.PERMISSION_SHEET
|
|
596
|
+
isPreparingCameraLoader: state.status === "loading" && tutorialHandoffStage === null && flipHandoffState === null && permissionInCameraState === null && tutorialWithPermissionsUxStage?.ux.id !== CAMERA_PERMISSION_UX.PERMISSION_SHEET
|
|
710
597
|
};
|
|
711
598
|
}
|
|
712
599
|
//#endregion
|
|
713
600
|
//#region src/modules/id/id.tsx
|
|
714
|
-
var MandatoryConsent = z(() => import("../mandatoryConsent-
|
|
715
|
-
var AgeVerification = z(() => import("../ageVerification-
|
|
716
|
-
var DigitalIdUpload = z(() => import("../digitalIdUpload-
|
|
717
|
-
var DigitalIdRedirect = z(() => import("../digitalIdRedirect-
|
|
718
|
-
var DeviceWallet = z(() => import("../deviceWallet-
|
|
601
|
+
var MandatoryConsent = z(() => import("../mandatoryConsent-BiQuEZRu.js").then((module) => ({ default: module.MandatoryConsent })));
|
|
602
|
+
var AgeVerification = z(() => import("../ageVerification-CtuJDuRV.js").then((module) => ({ default: module.AgeVerification })));
|
|
603
|
+
var DigitalIdUpload = z(() => import("../digitalIdUpload-CUzTaoaI.js").then((module) => ({ default: module.DigitalIdUpload })));
|
|
604
|
+
var DigitalIdRedirect = z(() => import("../digitalIdRedirect-MNty16-5.js").then((module) => ({ default: module.DigitalIdRedirect })));
|
|
605
|
+
var DeviceWallet = z(() => import("../deviceWallet-CMjguFJO.js").then((module) => ({ default: module.DeviceWallet })));
|
|
606
|
+
var flipTransition = preloadableLazy(() => import("../idFlipTransition-DXdtXYza.js").then((module) => module.IdFlipTransition));
|
|
607
|
+
var IdFlipTransition = flipTransition.Lazy;
|
|
719
608
|
var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
720
609
|
usePreloadDisplayFont();
|
|
721
610
|
y(() => {
|
|
722
611
|
preloadIdTutorialAssets();
|
|
612
|
+
Promise.all([loadCapture(), flipTransition.load()]).catch(() => void 0);
|
|
723
613
|
}, []);
|
|
724
614
|
const [state, manager] = useManager(() => {
|
|
725
615
|
if (externalManager) return externalManager;
|
|
@@ -730,17 +620,20 @@ var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
|
730
620
|
digitalIdReturnUrl: config.digitalIdReturnUrl ?? getDefaultDigitalIdReturnUrl()
|
|
731
621
|
} });
|
|
732
622
|
}, { manageLifecycle: !externalManager });
|
|
623
|
+
const [screenError] = b();
|
|
733
624
|
useModuleTerminalCallbacks({
|
|
734
|
-
status: state.status === "finished" || state.status === "closed" ? state.status : "loading",
|
|
625
|
+
status: screenError ? "error" : state.status === "finished" || state.status === "closed" ? state.status : "loading",
|
|
735
626
|
output: state.status === "finished" ? state.output : void 0,
|
|
736
627
|
onFinish,
|
|
737
|
-
onError
|
|
628
|
+
onError,
|
|
629
|
+
error: screenError ? String(screenError) : void 0
|
|
738
630
|
});
|
|
739
|
-
const { tutorialWithPermissionsUxStage, permissionInCameraState, permissionInCameraCaptureState, isPreparingCameraLoader, isPermissionRequestingLoader } = useIdPermissionExperience(state);
|
|
631
|
+
const { tutorialWithPermissionsUxStage, permissionInCameraState, permissionInCameraCaptureState, isPreparingCameraLoader, isPermissionRequestingLoader, flipHandoffState } = useIdPermissionExperience(state);
|
|
740
632
|
const { params: darkCameraLoadingParams } = useIdExperiment({
|
|
741
633
|
key: "darkCameraLoading",
|
|
742
634
|
enabled: isPreparingCameraLoader || isPermissionRequestingLoader
|
|
743
635
|
});
|
|
636
|
+
if (screenError) return null;
|
|
744
637
|
if (state.status === "idle") return /* @__PURE__ */ u(TransitionSpinner, { renderMode: "spinnerOnly" });
|
|
745
638
|
if (tutorialWithPermissionsUxStage?.ux.id === CAMERA_PERMISSION_UX.PERMISSION_IN_CAMERA || permissionInCameraState !== null || permissionInCameraCaptureState !== null) return /* @__PURE__ */ u(PermissionInCameraFlowTransition, {
|
|
746
639
|
manager,
|
|
@@ -772,13 +665,24 @@ var IdContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
|
772
665
|
permissionStatus: state.permissionStatus
|
|
773
666
|
})
|
|
774
667
|
});
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
668
|
+
const flipState = state.status === "frontFinished" || state.status === "backFinished" ? state : flipHandoffState;
|
|
669
|
+
if (flipState) return /* @__PURE__ */ u(P, {
|
|
670
|
+
fallback: null,
|
|
671
|
+
children: /* @__PURE__ */ u(IdFlipTransition, {
|
|
672
|
+
manager,
|
|
673
|
+
state: flipState
|
|
674
|
+
})
|
|
778
675
|
});
|
|
779
|
-
if (state.status === "capture") return /* @__PURE__ */ u(
|
|
780
|
-
|
|
781
|
-
|
|
676
|
+
if (state.status === "capture") return /* @__PURE__ */ u(P, {
|
|
677
|
+
fallback: /* @__PURE__ */ u(TransitionSpinner, {
|
|
678
|
+
titleKey: "loadingCircle.holdOn",
|
|
679
|
+
subtitleKey: "loadingCircle.preparingCamera",
|
|
680
|
+
alwaysDark: darkCameraLoadingParams.showDarkCameraLoading
|
|
681
|
+
}),
|
|
682
|
+
children: /* @__PURE__ */ u(LazyCapture, {
|
|
683
|
+
manager,
|
|
684
|
+
state
|
|
685
|
+
})
|
|
782
686
|
});
|
|
783
687
|
if (state.status === "mandatoryConsent") return /* @__PURE__ */ u(P, {
|
|
784
688
|
fallback: null,
|