@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,13 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { t as
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
1
|
+
import { i as useTranslation } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { b as u, y } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { r as SuccessIcon, x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
4
|
+
import { t as Page } from "./page-U6jZ7BBI.js";
|
|
5
|
+
import { n as StatusPage } from "./connectionError-DexRpKWs.js";
|
|
6
|
+
import { g as useModuleTerminalCallbacks, t as withStandaloneModuleBootstrap, v as useManager } from "./hooks-BFP0WaJM.js";
|
|
7
|
+
import { n as LoadingIcon } from "./spinner-51btbot0.js";
|
|
8
|
+
import { t as IncodeComponent } from "./incodeComponent-DtKh-UUm.js";
|
|
9
|
+
import { t as InputComposed } from "./inputComposed-CmVsaHOa.js";
|
|
10
|
+
import { t as DateInputComposed } from "./dateInputComposed-1IcnucPq.js";
|
|
11
|
+
import { t as CountrySelector } from "./countrySelector-C0OEKMqL.js";
|
|
12
|
+
import { t as registerIncodeModuleElement } from "./incodeModule-DCHXAeYU.js";
|
|
11
13
|
import { createWatchlistForBusinessManager } from "@incodetech/core/watchlist-for-business";
|
|
12
14
|
//#region src/shared/countries/allCountryCodes.ts
|
|
13
15
|
var ALL_COUNTRY_CODES = [
|
|
@@ -264,9 +266,9 @@ var ALL_COUNTRY_CODES = [
|
|
|
264
266
|
//#endregion
|
|
265
267
|
//#region src/modules/watchlist-for-business/watchlistForBusiness.tsx
|
|
266
268
|
var NO_DEV_ONLY_COUNTRIES = [];
|
|
267
|
-
var WatchlistForBusinessContent = ({ manager: externalManager, onFinish }) => {
|
|
269
|
+
var WatchlistForBusinessContent = ({ config, manager: externalManager, onFinish }) => {
|
|
268
270
|
const { t } = useTranslation();
|
|
269
|
-
const [state, manager] = useManager(() => externalManager ?? createWatchlistForBusinessManager(), { manageLifecycle: !externalManager });
|
|
271
|
+
const [state, manager] = useManager(() => externalManager ?? createWatchlistForBusinessManager({ config }), { manageLifecycle: !externalManager });
|
|
270
272
|
y(() => {
|
|
271
273
|
manager.load();
|
|
272
274
|
}, [manager]);
|
|
@@ -289,6 +291,8 @@ var WatchlistForBusinessContent = ({ manager: externalManager, onFinish }) => {
|
|
|
289
291
|
if (state.status === "form" || state.status === "idle") {
|
|
290
292
|
const formState = state.status === "form" ? state : null;
|
|
291
293
|
const businessNameError = formState?.validationErrors?.businessName;
|
|
294
|
+
const taxIdError = formState?.validationErrors?.taxId;
|
|
295
|
+
const dateOfIncorporationError = formState?.validationErrors?.dateOfIncorporation;
|
|
292
296
|
return /* @__PURE__ */ u(Page, {
|
|
293
297
|
className: "IncodeWatchlistForBusinessPage",
|
|
294
298
|
title: t("watchlistForBusiness.title"),
|
|
@@ -326,7 +330,32 @@ var WatchlistForBusinessContent = ({ manager: externalManager, onFinish }) => {
|
|
|
326
330
|
value: formState?.businessName ?? "",
|
|
327
331
|
onInput: (e) => manager.setBusinessName(e.target.value)
|
|
328
332
|
}),
|
|
329
|
-
/* @__PURE__ */ u(
|
|
333
|
+
formState?.showTaxId && /* @__PURE__ */ u(InputComposed, {
|
|
334
|
+
id: "taxId",
|
|
335
|
+
name: "taxId",
|
|
336
|
+
label: t("watchlistForBusiness.taxIdOptional", { defaultValue: "Tax ID (optional)" }),
|
|
337
|
+
"data-testid": "watchlist-for-business-tax-id",
|
|
338
|
+
autoComplete: "off",
|
|
339
|
+
error: taxIdError ? t(taxIdError) : void 0,
|
|
340
|
+
showErrorIcon: !!taxIdError,
|
|
341
|
+
value: formState.taxId,
|
|
342
|
+
onInput: (e) => manager.setTaxId(e.target.value)
|
|
343
|
+
}),
|
|
344
|
+
formState?.showDateOfIncorporation && /* @__PURE__ */ u(DateInputComposed, {
|
|
345
|
+
id: "dateOfIncorporation",
|
|
346
|
+
name: "dateOfIncorporation",
|
|
347
|
+
label: t("watchlistForBusiness.dateOfIncorporationOptional", { defaultValue: "Date of incorporation (optional)" }),
|
|
348
|
+
"data-testid": "watchlist-for-business-date-of-incorporation",
|
|
349
|
+
max: formState.maxDateOfIncorporation,
|
|
350
|
+
error: dateOfIncorporationError ? t(dateOfIncorporationError, { defaultValue: "Date of incorporation cannot be in the future" }) : void 0,
|
|
351
|
+
showErrorIcon: !!dateOfIncorporationError,
|
|
352
|
+
value: formState.dateOfIncorporation,
|
|
353
|
+
onInput: (e) => manager.setDateOfIncorporation(e.target.value)
|
|
354
|
+
}),
|
|
355
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
356
|
+
variant: "primary",
|
|
357
|
+
size: "L",
|
|
358
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL",
|
|
330
359
|
type: "submit",
|
|
331
360
|
disabled: formState ? !formState.canSubmit : false,
|
|
332
361
|
"data-testid": "watchlist-for-business-submit",
|
|
@@ -338,7 +367,8 @@ var WatchlistForBusinessContent = ({ manager: externalManager, onFinish }) => {
|
|
|
338
367
|
}
|
|
339
368
|
return null;
|
|
340
369
|
};
|
|
341
|
-
var WatchlistForBusinessWithLocalConfig = ({ manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistForBusinessContent, {
|
|
370
|
+
var WatchlistForBusinessWithLocalConfig = ({ config, manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(WatchlistForBusinessContent, {
|
|
371
|
+
config,
|
|
342
372
|
manager,
|
|
343
373
|
onFinish
|
|
344
374
|
}) });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import {
|
|
3
|
-
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme } from "./dashboardTheme-
|
|
4
|
-
import "./
|
|
5
|
-
import
|
|
6
|
-
import { initializeWasmUtil, resolveWasmConfigForPipelines, setWasmConfig,
|
|
7
|
-
import { getFinishStatus, initializeSession } from "@incodetech/core/session";
|
|
1
|
+
import { c as createI18n, o as hasI18nInstance, s as setI18nInstance } from "./i18n-Dp014ljG.js";
|
|
2
|
+
import { b as u } from "./vendor-preact-DHGqBGMH.js";
|
|
3
|
+
import { a as getStandaloneSetupPolicy, n as preloadDashboardTheme } from "./dashboardTheme-DtXsx9IK.js";
|
|
4
|
+
import { x as PrizmaButton } from "./icons-c-hFaG4L.js";
|
|
5
|
+
import "./hooks-BFP0WaJM.js";
|
|
6
|
+
import { initializeWasmUtil, resolveWasmConfigForPipelines, setWasmConfig, warmupWasm } from "@incodetech/core/wasm";
|
|
7
|
+
import { QR_VALIDATION_ERROR_CODES, SESSION_CONTINUE_ERROR_CODES, getFinishStatus, initializeSession } from "@incodetech/core/session";
|
|
8
8
|
import { isDesktopOrEmulated } from "@incodetech/core/device";
|
|
9
|
-
import { createOrchestratedFlowManager, getFlow } from "@incodetech/core/flow";
|
|
9
|
+
import { createOrchestratedFlowManager, getFlow, preloadDashboardFlow } from "@incodetech/core/flow";
|
|
10
10
|
//#region src/shared/selfLoading/resolveSessionLanguage.ts
|
|
11
11
|
function normalizeSessionLanguage(language) {
|
|
12
12
|
const prefix = language?.toLowerCase().split("-")[0];
|
|
@@ -31,9 +31,163 @@ function isDesktopOrEmulated$1() {
|
|
|
31
31
|
return isDesktopOrEmulated();
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
|
+
//#region src/modules/flow/loadFlowStylesheets.ts
|
|
35
|
+
var loads = /* @__PURE__ */ new WeakMap();
|
|
36
|
+
/** Keep module sheets after base.css, in CSS import order rather than fetch order. */
|
|
37
|
+
function loadFlowStylesheet(load, order, nonce) {
|
|
38
|
+
let documentLoads = loads.get(document);
|
|
39
|
+
if (!documentLoads) {
|
|
40
|
+
documentLoads = /* @__PURE__ */ new Map();
|
|
41
|
+
loads.set(document, documentLoads);
|
|
42
|
+
}
|
|
43
|
+
const cached = documentLoads.get(load);
|
|
44
|
+
if (cached) return cached;
|
|
45
|
+
const promise = load().then(({ default: css }) => {
|
|
46
|
+
const style = document.createElement("style");
|
|
47
|
+
style.dataset.incodeFlowCss = String(order);
|
|
48
|
+
if (nonce) style.nonce = nonce;
|
|
49
|
+
style.textContent = css;
|
|
50
|
+
const owned = Array.from(document.head.querySelectorAll("style[data-incode-flow-css]"));
|
|
51
|
+
const next = owned.find((sheet) => Number(sheet.dataset.incodeFlowCss) > order);
|
|
52
|
+
const last = owned[owned.length - 1];
|
|
53
|
+
document.head.insertBefore(style, next ?? (last ? last.nextSibling : null));
|
|
54
|
+
if (!style.sheet) {
|
|
55
|
+
style.remove();
|
|
56
|
+
throw new Error("Flow stylesheet blocked; check the Content Security Policy and cssNonce");
|
|
57
|
+
}
|
|
58
|
+
}).catch((error) => {
|
|
59
|
+
documentLoads.delete(load);
|
|
60
|
+
throw error;
|
|
61
|
+
});
|
|
62
|
+
documentLoads.set(load, promise);
|
|
63
|
+
return promise;
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/modules/flow/flowStyles.ts
|
|
67
|
+
var shell = () => import("./flow/shell/styles.css.js");
|
|
68
|
+
var moduleSheets = [
|
|
69
|
+
{
|
|
70
|
+
keys: [
|
|
71
|
+
"SELFIE",
|
|
72
|
+
"AUTHENTICATION",
|
|
73
|
+
"VIDEO_ONBOARDING"
|
|
74
|
+
],
|
|
75
|
+
load: () => import("./selfie/styles.css.js")
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
keys: ["PHONE"],
|
|
79
|
+
load: () => import("./phone/styles.css.js")
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
keys: ["EMAIL", "DYNAMIC_FORMS"],
|
|
83
|
+
load: () => import("./email/styles.css.js")
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
keys: ["FACE_MATCH"],
|
|
87
|
+
load: () => import("./face-match/styles.css.js")
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
keys: ["GOVT_VALIDATION_PROVISIONING", "INE_VALIDATION"],
|
|
91
|
+
load: () => import("./government-validation/styles.css.js")
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
keys: [
|
|
95
|
+
"ID",
|
|
96
|
+
"ID_CAPTURE",
|
|
97
|
+
"TUTORIAL_ID",
|
|
98
|
+
"SECOND_ID",
|
|
99
|
+
"VIDEO_ONBOARDING"
|
|
100
|
+
],
|
|
101
|
+
load: () => import("./id/styles.css.js")
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
keys: ["ID_OCR"],
|
|
105
|
+
load: () => import("./id-ocr/styles.css.js")
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
keys: ["DOCUMENT_CAPTURE", "ADDRESS"],
|
|
109
|
+
load: () => import("./document-capture/styles.css.js")
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
keys: ["CURP_VALIDATION"],
|
|
113
|
+
load: () => import("./curp-validation/styles.css.js")
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
keys: ["GEOLOCATION"],
|
|
117
|
+
load: () => import("./geolocation/styles.css.js")
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
keys: ["EXTERNAL_VERIFICATION"],
|
|
121
|
+
load: () => import("./ekyc/styles.css.js")
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
keys: ["EKYB"],
|
|
125
|
+
load: () => import("./ekyb/styles.css.js")
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
keys: ["EKYB_CHECKS"],
|
|
129
|
+
load: () => import("./kyb-checks/styles.css.js")
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
keys: ["REDIRECT_TO_MOBILE"],
|
|
133
|
+
load: () => import("./redirect-to-mobile/styles.css.js")
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
keys: [
|
|
137
|
+
"COMBINED_CONSENT",
|
|
138
|
+
"MANDATORY_CONSENT",
|
|
139
|
+
"ML_CONSENT"
|
|
140
|
+
],
|
|
141
|
+
load: () => import("./consent/styles.css.js")
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
keys: ["CUSTOM_FIELDS"],
|
|
145
|
+
load: () => import("./custom-fields/styles.css.js")
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
keys: ["DYNAMIC_FORMS"],
|
|
149
|
+
load: () => import("./dynamic-forms/styles.css.js")
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
keys: ["SIGNATURE"],
|
|
153
|
+
load: () => import("./signature/styles.css.js")
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
keys: ["FIELD_COMPARISON"],
|
|
157
|
+
load: () => import("./field-comparison/styles.css.js")
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
keys: ["WATCHLIST_BUSINESS"],
|
|
161
|
+
load: () => import("./watchlist-for-business/styles.css.js")
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
keys: ["AE_SIGNATURE", "QE_SIGNATURE"],
|
|
165
|
+
load: () => import("./electronic-signature/styles.css.js")
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
keys: ["CERTIFICATE_ISSUANCE"],
|
|
169
|
+
load: () => import("./certificate-issuance/styles.css.js")
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
keys: ["FISCAL_QR"],
|
|
173
|
+
load: () => import("./fiscal-qr/styles.css.js")
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
keys: ["VIDEO_ONBOARDING"],
|
|
177
|
+
load: () => import("./video-selfie/styles.css.js")
|
|
178
|
+
}
|
|
179
|
+
];
|
|
180
|
+
async function loadFlowStyles(moduleKey, nonce) {
|
|
181
|
+
const pending = [loadFlowStylesheet(shell, moduleSheets.length, nonce)];
|
|
182
|
+
if (moduleKey) moduleSheets.forEach((sheet, index) => {
|
|
183
|
+
if (sheet.keys.includes(moduleKey)) pending.push(loadFlowStylesheet(sheet.load, index, nonce));
|
|
184
|
+
});
|
|
185
|
+
await Promise.all(pending);
|
|
186
|
+
}
|
|
187
|
+
//#endregion
|
|
34
188
|
//#region src/modules/flow/flowInit.ts
|
|
35
189
|
var lazyIdModule = () => import("./id/id.es.js").then((m) => m.Id);
|
|
36
|
-
var loadLazyHomeScreen = () => import("./homeScreen-
|
|
190
|
+
var loadLazyHomeScreen = () => import("./homeScreen-C3pPw52y.js").then((m) => m.HomeScreen);
|
|
37
191
|
var homeScreenPreloadPromise;
|
|
38
192
|
/**
|
|
39
193
|
* Headless flow keys: backend-only steps with no UI. `<incode-flow>` renders
|
|
@@ -59,6 +213,7 @@ function getLazyCoreMachineLoader(moduleKey) {
|
|
|
59
213
|
if (moduleKey === "GEOLOCATION") return () => import("@incodetech/core/geolocation").then((m) => m.geolocationMachine);
|
|
60
214
|
if (moduleKey === "EXTERNAL_VERIFICATION") return () => import("@incodetech/core/ekyc").then((m) => m.ekycMachine);
|
|
61
215
|
if (moduleKey === "EKYB") return () => import("@incodetech/core/ekyb").then((m) => m.ekybMachine);
|
|
216
|
+
if (moduleKey === "EKYB_CHECKS") return () => import("@incodetech/core/kyb-checks").then((m) => m.kybChecksMachine);
|
|
62
217
|
if (moduleKey === "DOCUMENT_CAPTURE" || moduleKey === "ADDRESS") return () => import("@incodetech/core/document-capture").then((m) => m.documentCaptureMachine);
|
|
63
218
|
if (moduleKey === "COMBINED_CONSENT") return () => import("@incodetech/core/consent").then((m) => m.consentMachine);
|
|
64
219
|
if (moduleKey === "MANDATORY_CONSENT" || moduleKey === "ML_CONSENT") return () => import("@incodetech/core/mandatory-consent").then((m) => m.mandatoryConsentMachine);
|
|
@@ -97,31 +252,32 @@ var LAZY_UI_MODULES = {
|
|
|
97
252
|
ID_CAPTURE: lazyIdModule,
|
|
98
253
|
TUTORIAL_ID: lazyIdModule,
|
|
99
254
|
SECOND_ID: lazyIdModule,
|
|
100
|
-
FACE_MATCH: () => import("./faceMatch-
|
|
255
|
+
FACE_MATCH: () => import("./faceMatch-B2aMz3X2.js").then((m) => m.FaceMatch),
|
|
101
256
|
CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((m) => m.CurpValidation),
|
|
102
257
|
GOVT_VALIDATION_PROVISIONING: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
103
258
|
INE_VALIDATION: () => import("./government-validation/government-validation.es.js").then((m) => m.GovernmentValidation),
|
|
104
259
|
GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((m) => m.Geolocation),
|
|
105
|
-
EXTERNAL_VERIFICATION: () => import("./ekycModule-
|
|
106
|
-
EKYB: () => import("./ekybModule-
|
|
107
|
-
|
|
108
|
-
|
|
260
|
+
EXTERNAL_VERIFICATION: () => import("./ekycModule-B7OFnP3H.js").then((m) => m.EkycModule),
|
|
261
|
+
EKYB: () => import("./ekybModule-B5IEiSyi.js").then((m) => m.EkybModule),
|
|
262
|
+
EKYB_CHECKS: () => import("./kybChecksModule-r3MIpFhS.js").then((m) => m.KybChecksModule),
|
|
263
|
+
DOCUMENT_CAPTURE: () => import("./documentCapture-rECLkwpi.js").then((m) => m.DocumentCapture),
|
|
264
|
+
ADDRESS: () => import("./documentCapture-rECLkwpi.js").then((m) => m.DocumentCapture),
|
|
109
265
|
COMBINED_CONSENT: () => import("./consent/consent.es.js").then((m) => m.Consent),
|
|
110
|
-
MANDATORY_CONSENT: () => import("./mandatoryConsent-
|
|
111
|
-
ML_CONSENT: () => import("./mandatoryConsent-
|
|
266
|
+
MANDATORY_CONSENT: () => import("./mandatoryConsent-BiQuEZRu.js").then((m) => m.MandatoryConsent),
|
|
267
|
+
ML_CONSENT: () => import("./mandatoryConsent-BiQuEZRu.js").then((m) => m.MandatoryConsent),
|
|
112
268
|
SIGNATURE: () => import("./signature/signature.es.js").then((m) => m.Signature),
|
|
113
|
-
ID_OCR: () => import("./idOcr-
|
|
269
|
+
ID_OCR: () => import("./idOcr-CjqfkRJ7.js").then((m) => m.IdOcr),
|
|
114
270
|
ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((m) => m.Antifraud),
|
|
115
|
-
CUSTOM_FIELDS: () => import("./customFields-
|
|
271
|
+
CUSTOM_FIELDS: () => import("./customFields-DQgRumW0.js").then((m) => m.CustomFields),
|
|
116
272
|
WATCHLIST: () => import("./watchlist/watchlist.es.js").then((m) => m.Watchlist),
|
|
117
|
-
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-
|
|
118
|
-
INCODE_WATCHLIST: () => import("./customWatchlist-
|
|
273
|
+
WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-CpFp2EYX.js").then((m) => m.WatchlistForBusiness),
|
|
274
|
+
INCODE_WATCHLIST: () => import("./customWatchlist-BbC0fA-6.js").then((m) => m.CustomWatchlist),
|
|
119
275
|
AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((m) => m.AeSignature),
|
|
120
276
|
QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((m) => m.QeSignature),
|
|
121
277
|
CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((m) => m.CrossDocumentDataMatch),
|
|
122
278
|
DYNAMIC_FORMS: () => import("./dynamic-forms/dynamic-forms.es.js").then((m) => m.DynamicForms),
|
|
123
279
|
CERTIFICATE_ISSUANCE: () => import("./certificate-issuance/certificate-issuance.es.js").then((m) => m.CertificateIssuance),
|
|
124
|
-
FIELD_COMPARISON: () => import("./fieldComparison-
|
|
280
|
+
FIELD_COMPARISON: () => import("./fieldComparison-BY2XXsp3.js").then((m) => m.FieldComparison),
|
|
125
281
|
FISCAL_QR: () => import("./fiscal-qr/fiscal-qr.es.js").then((m) => m.FiscalQr),
|
|
126
282
|
VIDEO_ONBOARDING: () => import("./video-selfie/video-selfie.es.js").then((m) => m.VideoSelfie)
|
|
127
283
|
};
|
|
@@ -135,44 +291,50 @@ function preloadHomeScreen() {
|
|
|
135
291
|
homeScreenPreloadPromise = void 0;
|
|
136
292
|
});
|
|
137
293
|
}
|
|
138
|
-
var redirectToMobilePreloadPromise;
|
|
139
294
|
/**
|
|
140
|
-
* Prefetches
|
|
141
|
-
*
|
|
295
|
+
* Prefetches the UI and core chunks of the flow's first module as soon as the
|
|
296
|
+
* flow is known. They download while activation (feature-config, Statsig, the
|
|
297
|
+
* device fingerprint) finishes, instead of after it. A failed prefetch is
|
|
298
|
+
* ignored: the module loads again when the flow runs it.
|
|
142
299
|
*/
|
|
143
|
-
function
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
const coreLoader = getLazyCoreMachineLoader("REDIRECT_TO_MOBILE");
|
|
147
|
-
const promises = [];
|
|
148
|
-
if (uiLoader) promises.push(uiLoader());
|
|
149
|
-
if (coreLoader) promises.push(coreLoader());
|
|
150
|
-
redirectToMobilePreloadPromise = Promise.all(promises);
|
|
151
|
-
redirectToMobilePreloadPromise.catch(() => {
|
|
152
|
-
redirectToMobilePreloadPromise = void 0;
|
|
153
|
-
});
|
|
300
|
+
function preloadFirstFlowModule(moduleKey) {
|
|
301
|
+
LAZY_UI_MODULES[moduleKey]?.().catch(() => void 0);
|
|
302
|
+
getLazyCoreMachineLoader(moduleKey)?.().catch(() => void 0);
|
|
154
303
|
}
|
|
155
304
|
function createFlowManager(options = {}) {
|
|
156
|
-
if (options.enableHome === true) preloadHomeScreen();
|
|
157
305
|
const scopedLazyModules = {};
|
|
158
306
|
const isDesktop = options.isDesktop ?? isDesktopOrEmulated$1();
|
|
159
|
-
const { enableHome, ...flowFetchOptions } = options;
|
|
307
|
+
const { enableHome, injectCss, cssNonce, ...flowFetchOptions } = options;
|
|
160
308
|
let endScreen = {
|
|
161
309
|
endScreenTitle: null,
|
|
162
310
|
endScreenText: null
|
|
163
311
|
};
|
|
164
312
|
let interviewId;
|
|
313
|
+
const preloadModule = (moduleKey) => {
|
|
314
|
+
if (!moduleKey) return;
|
|
315
|
+
preloadFirstFlowModule(moduleKey);
|
|
316
|
+
if (injectCss) loadFlowStyles(moduleKey, cssNonce).catch(() => void 0);
|
|
317
|
+
};
|
|
165
318
|
const manager = createOrchestratedFlowManager({
|
|
166
319
|
enableHome,
|
|
167
320
|
deferActivation: true,
|
|
168
321
|
getInterviewId: () => interviewId,
|
|
169
322
|
getFlow: async (signal) => {
|
|
323
|
+
let rawFlowIn = false;
|
|
324
|
+
preloadDashboardFlow(signal).then((rawFlow) => {
|
|
325
|
+
rawFlowIn = true;
|
|
326
|
+
if (enableHome === true && rawFlow.disableLaunchScreen !== true) preloadHomeScreen();
|
|
327
|
+
if (!(isDesktop && rawFlow.redirectDesktopToMobile)) preloadModule(rawFlow.flowModules[0]?.key);
|
|
328
|
+
}, () => void 0);
|
|
329
|
+
if (enableHome === true) setTimeout(() => {
|
|
330
|
+
if (!rawFlowIn) preloadHomeScreen();
|
|
331
|
+
}, 0);
|
|
170
332
|
const flow = await getFlow(signal, {
|
|
171
333
|
...flowFetchOptions,
|
|
172
334
|
isDesktop,
|
|
173
335
|
deferActivation: true
|
|
174
336
|
});
|
|
175
|
-
|
|
337
|
+
preloadModule(flow.flowModules[0]?.key);
|
|
176
338
|
const scopedRegistry = buildLazyCoreRegistryForFlow(flow.flowModules ?? []);
|
|
177
339
|
const consentLoader = getLazyCoreMachineLoader("MANDATORY_CONSENT");
|
|
178
340
|
if (consentLoader && !scopedRegistry.MANDATORY_CONSENT) scopedRegistry.MANDATORY_CONSENT = consentLoader;
|
|
@@ -205,6 +367,11 @@ function createFlowManager(options = {}) {
|
|
|
205
367
|
}
|
|
206
368
|
async function setupSDK(options) {
|
|
207
369
|
const sessionOptions = { token: options.token };
|
|
370
|
+
if (options.wasmConfig === false) sessionOptions.wasm = false;
|
|
371
|
+
else setWasmConfig({
|
|
372
|
+
...resolveWasmConfigForPipelines([], options.wasmConfig),
|
|
373
|
+
pipelines: []
|
|
374
|
+
});
|
|
208
375
|
if (options.preloadFlow !== void 0) sessionOptions.preloadFlow = options.preloadFlow;
|
|
209
376
|
if (options.awaitFingerprint !== void 0) sessionOptions.awaitFingerprint = options.awaitFingerprint;
|
|
210
377
|
const sessionReady = initializeSession(sessionOptions);
|
|
@@ -212,12 +379,13 @@ async function setupSDK(options) {
|
|
|
212
379
|
await sessionReady;
|
|
213
380
|
}
|
|
214
381
|
async function initializeFlowManager(options) {
|
|
215
|
-
const { token, lang, flowManager } = options;
|
|
382
|
+
const { token, lang, wasmConfig, flowManager } = options;
|
|
216
383
|
const sessionReady = setupSDK({
|
|
217
384
|
token,
|
|
218
385
|
lang,
|
|
219
386
|
preloadFlow: true,
|
|
220
|
-
awaitFingerprint: false
|
|
387
|
+
awaitFingerprint: false,
|
|
388
|
+
wasmConfig
|
|
221
389
|
});
|
|
222
390
|
flowManager.load();
|
|
223
391
|
await sessionReady;
|
|
@@ -240,7 +408,7 @@ async function fetchTheme(token) {
|
|
|
240
408
|
}
|
|
241
409
|
}
|
|
242
410
|
async function warmupWasmIfNeeded(pipelines, wasmConfig) {
|
|
243
|
-
if (pipelines.length === 0) return;
|
|
411
|
+
if (pipelines.length === 0 || wasmConfig === false) return;
|
|
244
412
|
const resolved = resolveWasmConfigForPipelines(pipelines, wasmConfig);
|
|
245
413
|
const configToStore = {
|
|
246
414
|
...resolved,
|
|
@@ -249,7 +417,6 @@ async function warmupWasmIfNeeded(pipelines, wasmConfig) {
|
|
|
249
417
|
setWasmConfig(configToStore);
|
|
250
418
|
await warmupWasm(resolved);
|
|
251
419
|
await initializeWasmUtil(configToStore);
|
|
252
|
-
await upgradeToWasmHttpClient(configToStore);
|
|
253
420
|
}
|
|
254
421
|
function preloadFirstModule(managerState) {
|
|
255
422
|
const firstStep = managerState.currentStep;
|
|
@@ -259,6 +426,17 @@ function preloadFirstModule(managerState) {
|
|
|
259
426
|
}
|
|
260
427
|
}
|
|
261
428
|
//#endregion
|
|
429
|
+
//#region src/modules/flow/handoffLinkRejection.ts
|
|
430
|
+
var HANDOFF_LINK_REJECTIONS = new Set([...Object.values(QR_VALIDATION_ERROR_CODES), ...Object.values(SESSION_CONTINUE_ERROR_CODES)]);
|
|
431
|
+
/**
|
|
432
|
+
* True when the server refused the handoff link (`uuid` / `url_uuid`) during
|
|
433
|
+
* QR validation or session continue. A reload sends the same link and fails
|
|
434
|
+
* the same way, so the init error page offers no "Try again".
|
|
435
|
+
*/
|
|
436
|
+
function isHandoffLinkRejection(status) {
|
|
437
|
+
return status !== void 0 && HANDOFF_LINK_REJECTIONS.has(status);
|
|
438
|
+
}
|
|
439
|
+
//#endregion
|
|
262
440
|
//#region src/modules/flow/unsupportedModule.tsx
|
|
263
441
|
var UnsupportedModule = ({ moduleKey, onNext }) => {
|
|
264
442
|
return /* @__PURE__ */ u("section", {
|
|
@@ -279,9 +457,11 @@ var UnsupportedModule = ({ moduleKey, onNext }) => {
|
|
|
279
457
|
"\" module is not yet supported in this version."
|
|
280
458
|
]
|
|
281
459
|
}),
|
|
282
|
-
/* @__PURE__ */ u(
|
|
460
|
+
/* @__PURE__ */ u(PrizmaButton, {
|
|
461
|
+
variant: "primary",
|
|
462
|
+
size: "L",
|
|
283
463
|
onClick: onNext,
|
|
284
|
-
|
|
464
|
+
className: "IncodeButton IncodeButtonPrimary IncodeButtonL IncodeUnsupportedModuleButton",
|
|
285
465
|
"data-testid": "unsupported-module-next-button",
|
|
286
466
|
children: "Next"
|
|
287
467
|
})
|
|
@@ -338,4 +518,4 @@ function withEndScreenTexts(finishStatus, texts) {
|
|
|
338
518
|
};
|
|
339
519
|
}
|
|
340
520
|
//#endregion
|
|
341
|
-
export {
|
|
521
|
+
export { resolveSessionLanguage as _, isHandoffLinkRejection as a, createFlowManager as c, preloadFirstModule as d, preloadHomeScreen as f, isDesktopOrEmulated$1 as g, loadFlowStyles as h, UnsupportedModule as i, fetchTheme as l, warmupWasmIfNeeded as m, resolveApiKey as n, HEADLESS_FLOW_MODULE_KEYS as o, setupSDK as p, extractIncodeStatus as r, LAZY_UI_MODULES as s, withEndScreenTexts as t, initializeFlowManager as u };
|