@incodetech/web 2.4.1-agentic.10 → 2.4.1-agentic.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Checkbox-DiUv5uz_.js +152 -0
- package/dist/{GeolocationPermissionDenied-Dag9fchQ.js → GeolocationPermissionDenied-BgR-wfhk.js} +5 -5
- package/dist/{Password-4ht2vsqv.js → Password-Bm6m9Odt.js} +4 -4
- package/dist/{RadioGroup-Cf6xDIm5.js → RadioGroup-B51k7HFw.js} +4 -4
- package/dist/{RequiredLegend-DwaAzhid.js → RequiredLegend-DBqkV44u.js} +2 -2
- package/dist/{RequiredMarker-CGQR8lsb.js → RequiredMarker-euhY-M-q.js} +2 -2
- package/dist/Stepper-Bsi6OUY0.js +426 -0
- package/dist/{TextField-o3qwE7KD.js → TextField-DvBQu9WE.js} +4 -4
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-CdJRBJEg.js → af-ZA-R3dt5u2_.js} +41 -0
- package/dist/{ageVerification-u2zo-WUl.js → ageVerification-D2lxCZfL.js} +5 -5
- package/dist/{am-Df9uoE6e.js → am-BHu7GOhs.js} +41 -0
- package/dist/antifraud/antifraud.es.js +5 -5
- package/dist/{applyStudioConfig-Deh55YNW.js → applyStudioConfig-Bi7ubgUr.js} +2 -2
- package/dist/{ar-AE-CAoWsgnA.js → ar-AE-7pR7a7Rk.js} +41 -0
- package/dist/{ar-hyEIwsq9.js → ar-DM3z6uYS.js} +41 -0
- package/dist/{ar-EG-CXi0p-DV.js → ar-EG-LYsd6BEE.js} +41 -0
- package/dist/assets/great-vibes-latin-400-normal.woff2 +0 -0
- package/dist/assets/great-vibes-latin-ext-400-normal.woff2 +0 -0
- package/dist/authentication/authentication.es.js +9 -8
- package/dist/{autoFocusTitle-CNeT8ydU.js → autoFocusTitle-Dpou-oRt.js} +2 -2
- package/dist/{az-CUehzrK3.js → az-2KdCi6qX.js} +41 -0
- package/dist/{back-horizontal-hint-D5xvRtEe.js → back-horizontal-hint-DVmAanm-.js} +1 -1
- package/dist/{back-vertical-hint-DoKJSQhY.js → back-vertical-hint-CHtKdVeQ.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-xDkp34JC.js → baseTutorial-BTDnyihW.js} +4 -4
- package/dist/{bn-DStUscj0.js → bn-BmlWLOS3.js} +41 -0
- package/dist/{bottomSheet-COrgITc6.js → bottomSheet-B_gvcGYk.js} +3 -3
- package/dist/{bs-Lq1FPKJj.js → bs-sjiT2AGH.js} +41 -0
- package/dist/{ca-K83Ys4Fe.js → ca-ClW9d7vi.js} +41 -0
- package/dist/cameraOverlay-tevNm9mf.js +2 -0
- package/dist/{cameraOverlayHeader-C7Pi5eIm.js → cameraOverlayHeader-DXrM_mWF.js} +5 -5
- package/dist/{cameraView-B7l40Opf.js → cameraView-DvBalXtW.js} +3 -3
- package/dist/{capture-D7HVD1ht.js → capture-BE61DSsu.js} +21 -21
- package/dist/capture-D64TN_Jk.js +2 -0
- package/dist/capture-D9mFM1bm.js +3 -0
- package/dist/{capture-I1enj-0M.js → capture-DfN4A_fO.js} +10 -10
- package/dist/captureButtonIcon-BluEeg4P.js +1 -0
- package/dist/{captureFocusContext-CNtkY3Lk.js → captureFocusContext-l8PLoc6Z.js} +11 -11
- package/dist/{captureFooter-CucCxqz-.js → captureFooter-Cb78Ph85.js} +5 -5
- package/dist/{ceb-NR8sWgTh.js → ceb-4P7W-PzT.js} +41 -0
- package/dist/certificate-issuance/certificate-issuance.es.js +12 -12
- package/dist/{checkbox-C5k2pepr.js → checkbox-BHmWr1C6.js} +4 -4
- package/dist/{chooser-CNm0MKQl.js → chooser-Bw4Ride9.js} +12 -12
- package/dist/{connectionError-Bs3TO2RP.js → connectionError-D6UQdyHT.js} +5 -5
- package/dist/consent/consent.es.js +23 -32
- package/dist/consent/styles.css +1 -1
- package/dist/consent/styles.css.js +1 -1
- package/dist/{countryDefinitions-DlsV3Tf8.js → countryDefinitions-UXJ0maPk.js} +6 -0
- package/dist/{countryFlag-CZUyZ06G.js → countryFlag-D2eCGWCr.js} +1 -1
- package/dist/{countrySelector-CPgaMT7n.js → countrySelector-mTwAk_wo.js} +4 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -5
- package/dist/{cs-CZ-KpSXcWZT.js → cs-CZ-DHfTm0QA.js} +41 -0
- package/dist/{cs-UYoUjOrG.js → cs-qiukbXDQ.js} +41 -0
- package/dist/curp-validation/curp-validation.es.js +17 -19
- package/dist/custom-fields/styles.css +1 -1
- package/dist/custom-fields/styles.css.js +1 -1
- package/dist/{customFields-BcubL9au.js → customFields-Wh1wCbgV.js} +23 -22
- package/dist/{customWatchlist-D4RK0ow6.js → customWatchlist-BVOMDxpw.js} +6 -6
- package/dist/{da-DK-Bds8n-Rj.js → da-DK-BJ0kx3IU.js} +41 -0
- package/dist/{dashboardTheme-DQaxmEq3.js → dashboardTheme-DGCGdRPG.js} +16 -2
- package/dist/dateField-uSn1Tfxh.js +315 -0
- package/dist/{de-CZlvE1Xz.js → de-AwoDSQnT.js} +42 -1
- package/dist/{denied-BeVKpBem.js → denied-C5_YIBd5.js} +7 -7
- package/dist/{devWarn-B4kGEiva.js → devWarn-Ipda56ZX.js} +84 -84
- package/dist/{deviceWallet-7b1VpcGm.js → deviceWallet-DbWiknsf.js} +4 -4
- package/dist/{digitalIdRedirect-CG9jzrQh.js → digitalIdRedirect-CWjKjOpe.js} +4 -4
- package/dist/{digitalIdUpload-BUJcgYY5.js → digitalIdUpload-CBxlskZX.js} +7 -7
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/document-signature/document-signature.es.js +379 -0
- package/dist/document-signature/styles.css +2 -0
- package/dist/document-signature/styles.css.js +1 -0
- package/dist/{documentCapture-JcxukEgT.js → documentCapture-CClYtlSL.js} +23 -22
- package/dist/documentCapture-DddzJ7nO.js +2 -0
- package/dist/dropdownComposed-DElId5J9.js +1 -0
- package/dist/{dropdownComposed-yNmLuHxU.js → dropdownComposed-DMbbp8GV.js} +4 -4
- package/dist/dynamic-forms/dynamic-forms.es.js +26 -23
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-Cp-7fs23.js → ekybModule-ByGPRHWw.js} +17 -17
- package/dist/ekybModule-DPuCLgZ9.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekyc/styles.css +1 -1
- package/dist/ekyc/styles.css.js +1 -1
- package/dist/ekyc-prefill/ekyc-prefill.es.js +1 -1
- package/dist/{ekycModule-DKUZp3Ww.js → ekycModule-C8DT_5SP.js} +79 -63
- package/dist/ekycModule-DNK6vMOr.js +2 -0
- package/dist/ekycPrefillModule-7Qy3GaZH.js +2 -0
- package/dist/{ekycPrefillModule-DJoeviHP.js → ekycPrefillModule-BlEnF4qc.js} +29 -31
- package/dist/{el-C6tFl9i9.js → el-CqJyvKNt.js} +42 -1
- package/dist/{el-GR-BLkQ_dbO.js → el-GR-DSIPYZOW.js} +41 -0
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/electronic-signature/styles.css +1 -1
- package/dist/electronic-signature/styles.css.js +1 -1
- package/dist/{electronic-signature-D-4uTJdE.js → electronic-signature-DeBi05qe.js} +59 -51
- package/dist/email/email.es.js +10 -10
- package/dist/{emailInput-C5VHG66O.js → emailInput-CABItmP4.js} +4 -4
- package/dist/{en-DNBypQuu.js → en-BHavlQyz.js} +41 -0
- package/dist/{en-DG-BEuiDKtl.js → en-DG-C-msGafh.js} +41 -0
- package/dist/{errorContent-BC8mDFld.js → errorContent-DYhK9FMd.js} +6 -6
- package/dist/{errorParams-W7NX72mI.js → errorParams-pIAQtp7y.js} +1 -1
- package/dist/{es-419-BCIRYhZK.js → es-419-Dib58nCl.js} +1 -1
- package/dist/{es-DjQEM4f9.js → es-CzlFuE_6.js} +42 -1
- package/dist/{es-ES-Q6nMptUM.js → es-ES-BQpbPw03.js} +41 -0
- package/dist/{es-MX-Df5g3bAX.js → es-MX-DqZO_tod.js} +42 -1
- package/dist/{et-BYRhgB8X.js → et-D_7tbD3q.js} +41 -0
- package/dist/{expiredId-BVa13c9u.js → expiredId-DoMyxXAJ.js} +6 -6
- package/dist/extensibility.es.js +102 -42
- package/dist/{fa-IR-DP-FPc-r.js → fa-IR-DraDR5e6.js} +41 -0
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-C5QmR3Vt.js → faceMatch-8Y_U5K6T.js} +30 -28
- package/dist/faceMatch-C9gEayyD.js +2 -0
- package/dist/{fi-FI-rnIjEC7X.js → fi-FI-O8Sv4NbM.js} +41 -0
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-B_77hL0v.js +2 -0
- package/dist/{fieldComparison-CDGiqzsu.js → fieldComparison-DtQPggFs.js} +11 -11
- package/dist/{fieldLabelHint-eF42wLDJ.js → fieldLabelHint-XHNEEyMn.js} +1 -1
- package/dist/{finalSuccessScreen-vOR061dK.js → finalSuccessScreen-Co1SgXRD.js} +12 -12
- package/dist/fiscal-qr/fiscal-qr.es.js +22 -19
- package/dist/{flipAnimation-CGP9Fu9J.js → flipAnimation-Cv52EKtR.js} +5 -5
- package/dist/{flipCapturedCardEligibility-C8wQ0_No.js → flipCapturedCardEligibility-C0j114lS.js} +4 -4
- package/dist/flow/flow.es.js +102 -98
- package/dist/flow/styles.css +1 -1
- package/dist/{formField-DrSwXufE.js → formField-DugBNP7u.js} +5 -5
- package/dist/{fr-CA-vPsubqTC.js → fr-CA-DdyVunG0.js} +41 -0
- package/dist/{fr-P8YbBMxT.js → fr-CKhhqumg.js} +41 -0
- package/dist/{front-horizontal-hint-CDHj9LQF.js → front-horizontal-hint-DKL87QSZ.js} +1 -1
- package/dist/{front-vertical-hint-B_pU27Iv.js → front-vertical-hint-OhyP3VgZ.js} +1 -1
- package/dist/geolocation/geolocation.es.js +10 -10
- package/dist/government-validation/government-validation.es.js +7 -7
- package/dist/{he-DfptjOXC.js → he-CSe75YbO.js} +41 -0
- package/dist/{hi-C7tSzMcB.js → hi-DufbjF3u.js} +41 -0
- package/dist/{hmn-jKsUYgaq.js → hmn-CU-cNH29.js} +41 -0
- package/dist/{homeScreen-C1b8yg4y.js → homeScreen-B5abxQw8.js} +7 -7
- package/dist/{hooks-COiwxC3h.js → hooks-CURroqRe.js} +71 -11
- package/dist/{hr-ehtrddz3.js → hr-DH_mQhx3.js} +41 -0
- package/dist/{ht-CA5NNkri.js → ht-WUj810Lu.js} +41 -0
- package/dist/{hu-DYgOdNXH.js → hu-5eRJpCha.js} +42 -1
- package/dist/{icons-CLoob8B-.js → icons-ITXoYbiU.js} +2 -2
- package/dist/id/id.es.js +38 -37
- package/dist/id/styles.css +1 -1
- package/dist/id/styles.css.js +1 -1
- package/dist/{id-CMBxWcTV.js → id-TTXcsdiH.js} +42 -1
- package/dist/{id-back-of-card-BEAthtU0.js → id-back-of-card-DKYIVSmD.js} +1 -1
- package/dist/{id-back-of-card-vertical-Ce0d7tp5.js → id-back-of-card-vertical-BIe20rpj.js} +1 -1
- package/dist/{id-front-of-card-DS0lS9jP.js → id-front-of-card-DuSINoc3.js} +1 -1
- package/dist/{id-front-of-card-vertical-BLWn85NX.js → id-front-of-card-vertical-BiVBFC1a.js} +1 -1
- package/dist/id-ocr/styles.css +1 -1
- package/dist/id-ocr/styles.css.js +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -13
- package/dist/id-verification/id-verification.es.js +12 -7
- package/dist/{idFlipTransition-3z8Lqcab.js → idFlipTransition-DkkvK9uz.js} +13 -13
- package/dist/{idOcr-qPEZSG5D.js → idOcr-uP22wjZK.js} +18 -17
- package/dist/identity-reuse/identity-reuse.es.js +13 -12
- package/dist/identity-reuse/styles.css.js +1 -0
- package/dist/{incodeComponent-CxWTvgqz.js → incodeComponent-BcmOnlJA.js} +17 -29
- package/dist/{incodeModule-BQVPjhJE.js → incodeModule-DwyFqiFJ.js} +5 -5
- package/dist/index.es.js +3 -3
- package/dist/{it-DNcyH3GL.js → it-BCq9eMt-.js} +42 -1
- package/dist/{ja-BkVsn7yw.js → ja-BNauL2rS.js} +41 -0
- package/dist/{ja-JP-BI4iShf-.js → ja-JP-tA-OY0PX.js} +41 -0
- package/dist/{jv-Bpp0lYl-.js → jv-kUPY2Chu.js} +41 -0
- package/dist/{ka-__y8BNrb.js → ka-21B6qMG8.js} +41 -0
- package/dist/{kk-C8RZv7Y9.js → kk-CWDQml11.js} +41 -0
- package/dist/{km-CdNpEVlv.js → km-C0dV4RKH.js} +49 -8
- package/dist/{ko-Db8jh_Pq.js → ko-BZLrzvz5.js} +41 -0
- package/dist/{ko-KP-Cn4RuF_b.js → ko-KP-5W-jc8mZ.js} +41 -0
- package/dist/{ky-DljlRCIf.js → ky-CBGd9_yS.js} +41 -0
- package/dist/kyb-checks/kyb-checks.es.js +1 -1
- package/dist/kybChecksModule-B_Pruz4V.js +2 -0
- package/dist/{kybChecksModule-DGXAS1Sc.js → kybChecksModule-BoZXK1fj.js} +14 -14
- package/dist/{lo-DXJI47k7.js → lo-lOKwTA3u.js} +41 -0
- package/dist/{lt-CUHwdgrq.js → lt-Fo2QKh5F.js} +42 -1
- package/dist/{lv-BFrYWmGH.js → lv-BerNOcJ-.js} +41 -0
- package/dist/{mandatoryConsent-Dc0PQou0.js → mandatoryConsent-BNXbt0y6.js} +22 -30
- package/dist/{manualCaptureButton-DIlebb4i.js → manualCaptureButton-CWKYTNIL.js} +4 -4
- package/dist/{manualCaptureButton-t0b_hCKH.js → manualCaptureButton-peTYxITd.js} +10 -10
- package/dist/{mk-BRpnPevj.js → mk-DZHU5tnQ.js} +41 -0
- package/dist/{mn-tly7Lz7o.js → mn-CKd0cKM5.js} +41 -0
- package/dist/{ms-DFpRACK3.js → ms-C752xkBN.js} +41 -0
- package/dist/{my-G2jJl4tA.js → my-BOKFvVNu.js} +41 -0
- package/dist/{nb-NO-CaDPgzxb.js → nb-NO-BIFZBDSt.js} +41 -0
- package/dist/{ne-BaCq8Imv.js → ne-BiZ-Wkzy.js} +41 -0
- package/dist/{nl-BK-jT4yQ.js → nl-DZdJxK59.js} +42 -1
- package/dist/{optionAccessibleLabel-CDKKh7c3.js → optionAccessibleLabel-AuhITmx8.js} +7 -7
- package/dist/{otpInput-B4mH5be-.js → otpInput-DGUmkR-2.js} +6 -6
- package/dist/{page-5CklyQnq.js → page-xenWrHR6.js} +6 -6
- package/dist/{pageUiConfig-DZQHreIo.js → pageUiConfig-Es7xbC8U.js} +5 -5
- package/dist/{passport-horizontal-hint-JdWoLKa5.js → passport-horizontal-hint-DIKR-5je.js} +1 -1
- package/dist/{passport-vertical-hint-BgtJXbvC.js → passport-vertical-hint-BF_uLQ4Q.js} +1 -1
- package/dist/{passwordRequirements-bbbHZACR.js → passwordRequirements-D_ET0ptE.js} +2 -2
- package/dist/pdfViewer-Dcmf3PSp.js +2 -0
- package/dist/{pdfViewer-D4xu2J13.js → pdfViewer-e8ALUns_.js} +11 -6
- package/dist/{permissionInstructionList-Dmy2y4cX.js → permissionInstructionList-BUZ24MO2.js} +3 -3
- package/dist/{permissions-BPh2QNoI.js → permissions-DOpq5J68.js} +13 -13
- package/dist/phone/phone.es.js +15 -14
- package/dist/{phoneInputComposed-Dzt9xdrF.js → phoneInputComposed-KFw_1x_C.js} +101 -7
- package/dist/{pl-CoWZGdbr.js → pl-DbqvkT90.js} +41 -0
- package/dist/{preloadableLazy-2hqV2Q8z.js → preloadableLazy-DUgEtM_1.js} +1 -1
- package/dist/{processing-DStiN9XK.js → processing-ZeXhRIjd.js} +2 -2
- package/dist/{progressBar-CJqJXzAh.js → progressBar-rMzmizL2.js} +2 -2
- package/dist/{pt-BR-BRMyrqIN.js → pt-BR-BDUVqHgY.js} +42 -1
- package/dist/{pt-PT-CfwlYo6V.js → pt-PT-BICMgpFC.js} +41 -0
- package/dist/{pt-BDByRgpr.js → pt-cjI0RkJk.js} +42 -1
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +14 -114
- package/dist/redirect-to-mobile/styles.css +1 -1
- package/dist/redirect-to-mobile/styles.css.js +1 -1
- package/dist/{registerIncodeElement-B5W7SqS3.js → registerIncodeElement-cSBlqcIo.js} +1 -1
- package/dist/{resendTimer-COMRdeDC.js → resendTimer-3QDHwxZI.js} +2 -2
- package/dist/{richText-BMvr5dhl.js → richText-N1OBgZ6y.js} +2 -2
- package/dist/richTextSegments-fTZp4nbH.js +69 -0
- package/dist/{ro-ju058j4P.js → ro-CQi3v92k.js} +41 -0
- package/dist/{ru-DYwhf4Hw.js → ru-D7liiYmK.js} +42 -1
- package/dist/{ru-RU-BAvJW-vp.js → ru-RU-hdx_ywjZ.js} +41 -0
- package/dist/selfie/selfie.es.js +13 -12
- package/dist/signature/signature.es.js +10 -797
- package/dist/signatureCanvas-C8H4ULgt.js +795 -0
- package/dist/{sk-Cl6F-Kaz.js → sk-BVu5NSkN.js} +43 -2
- package/dist/{sl-BxsNneWx.js → sl-CXdwhOlY.js} +41 -0
- package/dist/{smsTabContent-BLJM1Hbk.js → smsTabContent-DK-hG84A.js} +7 -7
- package/dist/{so-D8izvKPD.js → so-CzF0F0n4.js} +41 -0
- package/dist/{spacer-NanHQwzu.js → spacer-DodsS7Qo.js} +15 -15
- package/dist/{spinner-bRH4yw9e.js → spinner-_5giArqM.js} +3 -3
- package/dist/{sr-Latn-BTn5o62j.js → sr-Latn-_wIvvu69.js} +50 -9
- package/dist/{sr-YU-BNViLYA5.js → sr-YU-DuLCl_pC.js} +1 -1
- package/dist/{sr-BtsYxFKz.js → sr-p3K5p0q5.js} +41 -0
- package/dist/step-up/step-up.es.js +12 -12
- package/dist/step-up/styles.css +1 -1
- package/dist/{sv-SE-f5R8i8ue.js → sv-SE-CBOleWRj.js} +41 -0
- package/dist/{sw-BgHNoEGs.js → sw-CzVbqidu.js} +41 -0
- package/dist/tabs-fevCgpP_.js +104 -0
- package/dist/{th-aFkhFNxp.js → th-DIt4DNgZ.js} +41 -0
- package/dist/{th-TH-DmfU-a6A.js → th-TH-DeSsVCOR.js} +41 -0
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-CA42NVfv.js → tl-CdRiPZeW.js} +41 -0
- package/dist/{tl-PH-DMCUe7pP.js → tl-PH-Dkoiua0V.js} +41 -0
- package/dist/{tr-BVjID0jl.js → tr-DjLZ63E7.js} +41 -0
- package/dist/{transitionSpinner-MclJtdHE.js → transitionSpinner-2gDSNi9L.js} +6 -6
- package/dist/{tutorial-fC2iei2v.js → tutorial-pd-jcY6T.js} +4 -4
- package/dist/types/document-signature.d.ts +212 -0
- package/dist/types/extensibility.d.ts +2 -0
- package/dist/types/identity-reuse.d.ts +1 -1
- package/dist/types/video-selfie.d.ts +1 -1
- package/dist/{typography-Dncyo-3D.js → typography-ByaPFg_r.js} +2 -2
- package/dist/{uk-HjZTXCOA.js → uk-DvMsFwYg.js} +41 -0
- package/dist/{uk-UA-ChpoWDcU.js → uk-UA-BaDnbZ4V.js} +41 -0
- package/dist/{ur-CZkQHBM4.js → ur-CZ_SUeWd.js} +41 -0
- package/dist/{useCameraPreview-DrteOjaq.js → useCameraPreview-JvLO-xAZ.js} +1 -1
- package/dist/{useCaptureHelpButton-B5zEGcaB.js → useCaptureHelpButton-B4OqTpGQ.js} +2 -2
- package/dist/{useIsDarkTheme-DAs5RhsW.js → useIsDarkTheme-DQk4EE9W.js} +1 -1
- package/dist/{useModuleLoader-C2fbLotc.js → useModuleLoader-BzjVLtMj.js} +25 -17
- package/dist/{uz-BCp_m_Om.js → uz-FklWYAYJ.js} +41 -0
- package/dist/{vendor-preact-HIccnts1.js → vendor-preact-D-eB0kEm.js} +129 -5
- package/dist/{verificationResult-sh4xut0K.js → verificationResult-DVH0lg9s.js} +8 -8
- package/dist/{vi-BvxcvDgc.js → vi-CuZ5UmSU.js} +41 -0
- package/dist/video-selfie/video-selfie.es.js +18 -16
- package/dist/watchlist/watchlist.es.js +6 -6
- package/dist/{watchlistForBusiness-DnS1r-Ml.js → watchlistForBusiness-DTjrlwVW.js} +17 -18
- package/dist/{withEndScreenTexts-CHWofhk5.js → withEndScreenTexts-o0-d3vPQ.js} +49 -28
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +1 -1
- package/dist/{workflow-DBS9eyu4.js → workflow-BCxpSFal.js} +16 -15
- package/dist/{zh-CN-DZRia1ir.js → zh-CN-BDrR44Mj.js} +42 -1
- package/dist/{zh-DN_kUZaR.js → zh-D7PsouEQ.js} +41 -0
- package/dist/{zh-HANT-DisU_Tal.js → zh-HANT-B82nGR9w.js} +41 -0
- package/dist/{zh-TW-BJzCsdPP.js → zh-TW-CE9n7tgc.js} +41 -0
- package/package.json +15 -5
- package/dist/cameraOverlay-Bciqav_0.js +0 -2
- package/dist/capture-Do7z-u0d.js +0 -3
- package/dist/capture-WaSNv1Wn.js +0 -2
- package/dist/captureButtonIcon-DVbAZ8TK.js +0 -1
- package/dist/dateInputComposed-BrpUtswb.js +0 -1
- package/dist/dateInputComposed-BzCDzTM3.js +0 -68
- package/dist/documentCapture-BdEStEoH.js +0 -2
- package/dist/dropdownComposed-C36c9ZOm.js +0 -1
- package/dist/ekybModule-ccZRVb7E.js +0 -2
- package/dist/ekycModule-CcZTIgGK.js +0 -2
- package/dist/ekycPrefillModule-Bou_Ig42.js +0 -2
- package/dist/faceMatch-B2n0FPIm.js +0 -2
- package/dist/fieldComparison-D-LmR1LR.js +0 -2
- package/dist/inputComposed-oWeKvdES.js +0 -99
- package/dist/kybChecksModule-B2nSWMuy.js +0 -2
- package/dist/pdfViewer-2NTW2bZn.js +0 -2
- /package/dist/{aligndevicelottie-DroBRtbt.js → aligndevicelottie-C5Nr_FF0.js} +0 -0
- /package/dist/{back-tutorial-ydxRtY-Y.js → back-tutorial-CsLjEe1h.js} +0 -0
- /package/dist/{backdevicelottie-hv8vbwYH.js → backdevicelottie-B-yh2vaH.js} +0 -0
- /package/dist/{blurdevicelottie-Cgu4hKn7.js → blurdevicelottie-B-MnEJJ9.js} +0 -0
- /package/dist/{flip-animation-CJhh7l_J.js → flip-animation-2ApKMmiz.js} +0 -0
- /package/dist/{frontdevicelottie-vyO3BJJe.js → frontdevicelottie-D5U9tg8-.js} +0 -0
- /package/dist/{glaredevicelottie-DrgkRjFh.js → glaredevicelottie-exDO2WQS.js} +0 -0
- /package/dist/{id-laser-h-CUz29uFc.js → id-laser-h-C1VNfV0z.js} +0 -0
- /package/dist/{id-laser-v-Bnf10QJp.js → id-laser-v-CwYRuzKJ.js} +0 -0
- /package/dist/{id-tutorial-DGwvKAMs.js → id-tutorial-Cp4YGXxy.js} +0 -0
- /package/dist/{lottie_light-BXXuEKyZ.js → lottie_light-eUA_bm5D.js} +0 -0
- /package/dist/{passport-tutorial-DoqqyBXo.js → passport-tutorial-CTGbQDlK.js} +0 -0
- /package/dist/{pdf-CLcY9ugT.js → pdf-BJqJc2y6.js} +0 -0
- /package/dist/{pdf.worker.min-Cm2oniEB.js → pdf.worker.min-CfLap51B.js} +0 -0
- /package/dist/{sanitizeSvg-BZoCoRr0.js → sanitizeSvg-BgtEnuqz.js} +0 -0
- /package/dist/{selfieTutorial-BTewRjM5.js → selfieTutorial-T41XPQa8.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { d as useTranslation } from "../devWarn-
|
|
2
|
-
import {
|
|
3
|
-
import { b as PrizmaButton } from "../icons-
|
|
4
|
-
import { t as Spacer } from "../spacer-
|
|
5
|
-
import { t as Page } from "../page-
|
|
6
|
-
import {
|
|
7
|
-
import { t as Spinner } from "../spinner-
|
|
8
|
-
import "../transitionSpinner-
|
|
9
|
-
import { t as IncodeComponent } from "../incodeComponent-
|
|
10
|
-
import { t as VerificationResult } from "../verificationResult-
|
|
11
|
-
import { n as CameraFrame, t as CameraView } from "../cameraView-
|
|
12
|
-
import { n as CameraOverlay, t as CameraOverlayHeader } from "../cameraOverlayHeader-
|
|
13
|
-
import "../cameraOverlay-
|
|
14
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
1
|
+
import { d as useTranslation } from "../devWarn-Ipda56ZX.js";
|
|
2
|
+
import { l as z, o as P, x as u } from "../vendor-preact-D-eB0kEm.js";
|
|
3
|
+
import { b as PrizmaButton } from "../icons-ITXoYbiU.js";
|
|
4
|
+
import { t as Spacer } from "../spacer-DodsS7Qo.js";
|
|
5
|
+
import { t as Page } from "../page-xenWrHR6.js";
|
|
6
|
+
import { n as withStandaloneModuleBootstrap, x as useManager, y as useModuleTerminalCallbacks } from "../hooks-CURroqRe.js";
|
|
7
|
+
import { t as Spinner } from "../spinner-_5giArqM.js";
|
|
8
|
+
import "../transitionSpinner-2gDSNi9L.js";
|
|
9
|
+
import { t as IncodeComponent } from "../incodeComponent-BcmOnlJA.js";
|
|
10
|
+
import { t as VerificationResult } from "../verificationResult-DVH0lg9s.js";
|
|
11
|
+
import { n as CameraFrame, t as CameraView } from "../cameraView-DvBalXtW.js";
|
|
12
|
+
import { n as CameraOverlay, t as CameraOverlayHeader } from "../cameraOverlayHeader-DXrM_mWF.js";
|
|
13
|
+
import "../cameraOverlay-tevNm9mf.js";
|
|
14
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-DwyFqiFJ.js";
|
|
15
15
|
import { createFiscalQrManager } from "@incodetech/core/fiscal-qr";
|
|
16
16
|
//#region src/modules/fiscal-qr/fiscalQrCapture.tsx
|
|
17
17
|
function getFrameState(status) {
|
|
@@ -202,8 +202,8 @@ var FiscalQrLoading = () => /* @__PURE__ */ u(Page, {
|
|
|
202
202
|
});
|
|
203
203
|
//#endregion
|
|
204
204
|
//#region src/modules/fiscal-qr/fiscal-qr.tsx
|
|
205
|
-
var Denied = z(() => import("../denied-
|
|
206
|
-
var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
205
|
+
var Denied = z(() => import("../denied-C5_YIBd5.js").then((module) => ({ default: module.Denied })));
|
|
206
|
+
var FiscalQrContent = ({ config, manager: externalManager, onFinish, onError }) => {
|
|
207
207
|
const { t } = useTranslation();
|
|
208
208
|
const [state, manager] = useManager(() => externalManager ?? createFiscalQrManager({ config: config ?? {} }), {
|
|
209
209
|
manageLifecycle: !externalManager,
|
|
@@ -211,7 +211,9 @@ var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
|
211
211
|
});
|
|
212
212
|
useModuleTerminalCallbacks({
|
|
213
213
|
status: state.status === "finished" ? "finished" : "loading",
|
|
214
|
-
onFinish
|
|
214
|
+
onFinish,
|
|
215
|
+
onError,
|
|
216
|
+
cameraPermissionDenied: state.status === "permissionDenied"
|
|
215
217
|
});
|
|
216
218
|
if (state.status === "finished") return null;
|
|
217
219
|
if (state.status === "permissionDenied") return /* @__PURE__ */ u(P, {
|
|
@@ -258,10 +260,11 @@ var FiscalQrContent = ({ config, manager: externalManager, onFinish }) => {
|
|
|
258
260
|
})
|
|
259
261
|
});
|
|
260
262
|
};
|
|
261
|
-
var FiscalQrWithLocalConfig = ({ config = {}, manager, onFinish }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(FiscalQrContent, {
|
|
263
|
+
var FiscalQrWithLocalConfig = ({ config = {}, manager, onFinish, onError }) => /* @__PURE__ */ u(IncodeComponent, { children: /* @__PURE__ */ u(FiscalQrContent, {
|
|
262
264
|
config,
|
|
263
265
|
manager,
|
|
264
|
-
onFinish
|
|
266
|
+
onFinish,
|
|
267
|
+
onError
|
|
265
268
|
}) });
|
|
266
269
|
var FiscalQr = withStandaloneModuleBootstrap(FiscalQrWithLocalConfig, "FISCAL_QR", { supportsExternalManager: true });
|
|
267
270
|
registerIncodeModuleElement(FiscalQr, "incode-fiscal-qr");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as useTranslation } from "./devWarn-
|
|
2
|
-
import {
|
|
3
|
-
import { a as AnimatedAsset, n as Title, t as Spacer } from "./spacer-
|
|
4
|
-
import { d as useTimeoutHandle, u as useTimeout } from "./hooks-
|
|
5
|
-
import "./typography-
|
|
1
|
+
import { d as useTranslation } from "./devWarn-Ipda56ZX.js";
|
|
2
|
+
import { u as A, v as q, x as u } from "./vendor-preact-D-eB0kEm.js";
|
|
3
|
+
import { a as AnimatedAsset, n as Title, t as Spacer } from "./spacer-DodsS7Qo.js";
|
|
4
|
+
import { d as useTimeoutHandle, u as useTimeout } from "./hooks-CURroqRe.js";
|
|
5
|
+
import "./typography-ByaPFg_r.js";
|
|
6
6
|
//#region src/modules/id/flipAnimation.tsx
|
|
7
7
|
/** The built-in flip runs 3 s. Then the screen holds for 1 s. */
|
|
8
8
|
var HOLD_AFTER_FLIP_MS = 1e3;
|
package/dist/{flipCapturedCardEligibility-C8wQ0_No.js → flipCapturedCardEligibility-C0j114lS.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import "./icons-
|
|
3
|
-
import { h as cn } from "./spacer-
|
|
4
|
-
import { o as useFeatureManagement } from "./hooks-
|
|
1
|
+
import { b as y, f as T, x as u } from "./vendor-preact-D-eB0kEm.js";
|
|
2
|
+
import "./icons-ITXoYbiU.js";
|
|
3
|
+
import { h as cn } from "./spacer-DodsS7Qo.js";
|
|
4
|
+
import { o as useFeatureManagement } from "./hooks-CURroqRe.js";
|
|
5
5
|
import { eventModuleNames, recordExperimentAssignmentOnce } from "@incodetech/core/events";
|
|
6
6
|
import { ONBOARDING_WEB_SDK_PARAMETER_STORE, booleanParam, defineExperimentParams, enumParam, numberParam, resolveExperiment } from "@incodetech/core/feature-management";
|
|
7
7
|
//#region src/modules/id/experiments/constants.ts
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as useTranslation, g as readStoredLanguage, r as setThemeUiConfig } from "../devWarn-
|
|
2
|
-
import {
|
|
3
|
-
import { n as StatusPage } from "../connectionError-
|
|
4
|
-
import {
|
|
5
|
-
import { t as TransitionSpinner } from "../transitionSpinner-
|
|
6
|
-
import { r as BrowserNotSupported, t as IncodeComponent } from "../incodeComponent-
|
|
7
|
-
import { t as registerIncodeModuleElement } from "../incodeModule-
|
|
8
|
-
import { _ as resolveSessionLanguage, a as isHandoffLinkRejection, c as createFlowManager, d as preloadFirstModule, f as preloadHomeScreen, h as loadFlowStyles, i as UnsupportedModule, l as fetchTheme, m as warmupWasmIfNeeded, n as resolveApiKey, o as HEADLESS_FLOW_MODULE_KEYS, r as extractIncodeStatus, s as LAZY_UI_MODULES, t as withEndScreenTexts, u as initializeFlowManager } from "../withEndScreenTexts-
|
|
9
|
-
import { i as
|
|
1
|
+
import { d as useTranslation, g as readStoredLanguage, r as setThemeUiConfig } from "../devWarn-Ipda56ZX.js";
|
|
2
|
+
import { b as y, f as T, h as d, l as z, o as P, p as _, u as A, w as Q, x as u, y as x } from "../vendor-preact-D-eB0kEm.js";
|
|
3
|
+
import { n as StatusPage } from "../connectionError-D6UQdyHT.js";
|
|
4
|
+
import { S as withSessionExpiry, a as TerminalErrorPage, h as useIsBrowserSupported, r as ResolvedConfigProvider, x as useManager } from "../hooks-CURroqRe.js";
|
|
5
|
+
import { t as TransitionSpinner } from "../transitionSpinner-2gDSNi9L.js";
|
|
6
|
+
import { r as BrowserNotSupported, t as IncodeComponent } from "../incodeComponent-BcmOnlJA.js";
|
|
7
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-DwyFqiFJ.js";
|
|
8
|
+
import { _ as resolveSessionLanguage, a as isHandoffLinkRejection, c as createFlowManager, d as preloadFirstModule, f as preloadHomeScreen, h as loadFlowStyles, i as UnsupportedModule, l as fetchTheme, m as warmupWasmIfNeeded, n as resolveApiKey, o as HEADLESS_FLOW_MODULE_KEYS, r as extractIncodeStatus, s as LAZY_UI_MODULES, t as withEndScreenTexts, u as initializeFlowManager } from "../withEndScreenTexts-o0-d3vPQ.js";
|
|
9
|
+
import { i as usePrefetchNextModules, n as useModuleLoader, r as useModulePreloader } from "../useModuleLoader-BzjVLtMj.js";
|
|
10
10
|
import { bootstrapSession, refreshQrUrlUuid } from "@incodetech/core/session";
|
|
11
11
|
import { getNextRequiredWasmPipelines } from "@incodetech/core/flow";
|
|
12
12
|
//#region src/modules/flow/flowTransition.tsx
|
|
@@ -204,6 +204,15 @@ function createModuleErrorHandler(flowManager, fallbackMessage) {
|
|
|
204
204
|
flowManager.errorModule(error ?? fallbackMessage, moduleErrorCode);
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* Pass a module's error straight to the host `onError` with all its arguments.
|
|
209
|
+
* `fallbackMessage` fills in a missing message.
|
|
210
|
+
*/
|
|
211
|
+
function forwardModuleError(onError, fallbackMessage) {
|
|
212
|
+
return (error, errorCode, moduleErrorCode) => {
|
|
213
|
+
onError?.(error ?? fallbackMessage, errorCode, moduleErrorCode);
|
|
214
|
+
};
|
|
215
|
+
}
|
|
207
216
|
//#endregion
|
|
208
217
|
//#region src/modules/flow/sessionFinishedPage.tsx
|
|
209
218
|
var SessionFinishedPage = () => {
|
|
@@ -544,7 +553,14 @@ function useFlowStyles(enabled, onError, nonce) {
|
|
|
544
553
|
}
|
|
545
554
|
//#endregion
|
|
546
555
|
//#region src/modules/flow/flow.tsx
|
|
547
|
-
|
|
556
|
+
/**
|
|
557
|
+
* A flow the SDK can't run fails the same way on every reload, so its error
|
|
558
|
+
* page offers no "Try again": the integrator has to fix the flow.
|
|
559
|
+
*/
|
|
560
|
+
function isMisconfiguredFlow(moduleErrorCode) {
|
|
561
|
+
return moduleErrorCode === "IDENTITY_REUSE_FLOW_MISCONFIGURED";
|
|
562
|
+
}
|
|
563
|
+
var LazyHomeScreen = z(() => import("../homeScreen-B5abxQw8.js").then((module) => ({ default: module.HomeScreen })));
|
|
548
564
|
var IncodeFlowInitialization = ({ config, onFinish, onError, stylesReady }) => {
|
|
549
565
|
const { i18n } = useTranslation();
|
|
550
566
|
const initialSessionLanguage = A(isSelfLoadingFlowConfig(config) ? resolveSessionLanguage(config.lang, i18n.language, readStoredLanguage()) : config.lang).current;
|
|
@@ -594,7 +610,9 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
594
610
|
const showHomeLoadingScreen = config.enableHome === true && flowState.status === "ready" && flowState.flow.disableLaunchScreen !== true && flowState.currentStepIndex === 0 && flowState.currentStep !== "REDIRECT_TO_MOBILE" && flowState.homeScreen.visible === false && moduleLoaderState.status === "loading";
|
|
595
611
|
const isAwaitingReadyDelayed = useDelayedFlag(flowState.presentation.isAwaitingReady === true, 150);
|
|
596
612
|
const isModuleLoadingDelayed = useDelayedFlag(flowState.status === "ready" && (moduleLoaderState.status === "idle" || moduleLoaderState.status === "loading" || moduleLoaderState.status === "error"), 150);
|
|
597
|
-
|
|
613
|
+
const isHeadlessStep = flowState.status === "ready" && flowState.currentStep !== void 0 && HEADLESS_FLOW_MODULE_KEYS.has(flowState.currentStep);
|
|
614
|
+
const isHeadlessStepDelayed = useDelayedFlag(isHeadlessStep, 150);
|
|
615
|
+
usePrefetchNextModules(flowState.presentation.prefetchModuleKeys, modules, currentModuleLoaded || isHeadlessStep && flowState.currentStep === "IDENTITY_SEARCH");
|
|
598
616
|
y(() => {
|
|
599
617
|
if (flowState.presentation.shouldPrefetchHome) preloadHomeScreen();
|
|
600
618
|
}, [flowState.presentation.shouldPrefetchHome]);
|
|
@@ -661,13 +679,17 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
661
679
|
class: "IncodeFlow",
|
|
662
680
|
children: /* @__PURE__ */ u(SessionFinishedPage, {})
|
|
663
681
|
});
|
|
664
|
-
if (initState.status === "error")
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
682
|
+
if (initState.status === "error") {
|
|
683
|
+
const loadErrorCode = flowState.status === "error" ? flowState.moduleErrorCode : void 0;
|
|
684
|
+
return /* @__PURE__ */ u("div", {
|
|
685
|
+
class: "IncodeFlow",
|
|
686
|
+
children: /* @__PURE__ */ u(TerminalErrorPage, {
|
|
687
|
+
message: initState.error,
|
|
688
|
+
moduleErrorCode: loadErrorCode,
|
|
689
|
+
retryable: !isHandoffLinkRejection(initState.errorCode) && !isMisconfiguredFlow(loadErrorCode)
|
|
690
|
+
})
|
|
691
|
+
});
|
|
692
|
+
}
|
|
671
693
|
if (!browser.isSupported && flowDisablesBrowserScreen === false) return /* @__PURE__ */ u("div", {
|
|
672
694
|
class: "IncodeFlow",
|
|
673
695
|
children: /* @__PURE__ */ u(BrowserNotSupported, { onContinue: browser.continueAnyway })
|
|
@@ -703,7 +725,8 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
703
725
|
class: "IncodeFlow",
|
|
704
726
|
children: /* @__PURE__ */ u(TerminalErrorPage, {
|
|
705
727
|
message: flowState.error,
|
|
706
|
-
moduleErrorCode: flowState.moduleErrorCode
|
|
728
|
+
moduleErrorCode: flowState.moduleErrorCode,
|
|
729
|
+
retryable: !isMisconfiguredFlow(flowState.moduleErrorCode)
|
|
707
730
|
})
|
|
708
731
|
});
|
|
709
732
|
if (flowState.status === "completing") return /* @__PURE__ */ u("div", {
|
|
@@ -721,7 +744,17 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
721
744
|
renderMode: spinnerRenderMode
|
|
722
745
|
})
|
|
723
746
|
});
|
|
724
|
-
if (HEADLESS_FLOW_MODULE_KEYS.has(currentStep))
|
|
747
|
+
if (HEADLESS_FLOW_MODULE_KEYS.has(currentStep)) {
|
|
748
|
+
if (!isHeadlessStepDelayed) return /* @__PURE__ */ u("div", { class: "IncodeFlow" });
|
|
749
|
+
return /* @__PURE__ */ u("div", {
|
|
750
|
+
class: "IncodeFlow",
|
|
751
|
+
children: /* @__PURE__ */ u(TransitionSpinner, {
|
|
752
|
+
spinnerConfig: config.spinnerConfig,
|
|
753
|
+
renderMode: spinnerRenderMode,
|
|
754
|
+
accessibleNameKey: "loadingCircle.holdOn"
|
|
755
|
+
})
|
|
756
|
+
});
|
|
757
|
+
}
|
|
725
758
|
if (moduleLoaderState.status === "unsupported") return /* @__PURE__ */ u("div", {
|
|
726
759
|
class: "IncodeFlow",
|
|
727
760
|
children: /* @__PURE__ */ u(UnsupportedModule, {
|
|
@@ -789,9 +822,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
789
822
|
children: /* @__PURE__ */ u(Component, {
|
|
790
823
|
config: flowConfig,
|
|
791
824
|
onFinish: () => flowManager.completeModule(),
|
|
792
|
-
onError: (error)
|
|
793
|
-
onError?.(error ?? "Phone verification error");
|
|
794
|
-
}
|
|
825
|
+
onError: forwardModuleError(onError, "Phone verification error")
|
|
795
826
|
}, `phone-${flowState.currentStepIndex}`)
|
|
796
827
|
});
|
|
797
828
|
if (currentStep === "EMAIL") {
|
|
@@ -805,9 +836,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
805
836
|
children: /* @__PURE__ */ u(Component, {
|
|
806
837
|
config: emailConfig,
|
|
807
838
|
onFinish: () => flowManager.completeModule(),
|
|
808
|
-
onError: (error)
|
|
809
|
-
onError?.(error ?? "Email verification error");
|
|
810
|
-
}
|
|
839
|
+
onError: forwardModuleError(onError, "Email verification error")
|
|
811
840
|
}, `email-${flowState.currentStepIndex}`)
|
|
812
841
|
});
|
|
813
842
|
}
|
|
@@ -824,9 +853,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
824
853
|
digitalIdReturnUrl: config.digitalIdReturnUrl
|
|
825
854
|
},
|
|
826
855
|
onFinish: (output) => flowManager.completeModule(output),
|
|
827
|
-
onError: (error)
|
|
828
|
-
onError?.(error ?? "ID capture error");
|
|
829
|
-
}
|
|
856
|
+
onError: forwardModuleError(onError, "ID capture error")
|
|
830
857
|
}, `id-${flowState.currentStepIndex}`)
|
|
831
858
|
});
|
|
832
859
|
}
|
|
@@ -838,9 +865,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
838
865
|
flowId
|
|
839
866
|
},
|
|
840
867
|
onFinish: () => flowManager.completeModule(),
|
|
841
|
-
onError: (error)
|
|
842
|
-
onError?.(error ?? "ID OCR error");
|
|
843
|
-
}
|
|
868
|
+
onError: forwardModuleError(onError, "ID OCR error")
|
|
844
869
|
}, `id-ocr-${flowState.currentStepIndex}`)
|
|
845
870
|
});
|
|
846
871
|
if (currentStep === "FACE_MATCH") return /* @__PURE__ */ u("div", {
|
|
@@ -848,19 +873,30 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
848
873
|
children: /* @__PURE__ */ u(Component, {
|
|
849
874
|
config: flowConfig,
|
|
850
875
|
onFinish: () => flowManager.completeModule(),
|
|
851
|
-
onError: (error)
|
|
852
|
-
onError?.(error ?? "Face match error");
|
|
853
|
-
}
|
|
876
|
+
onError: forwardModuleError(onError, "Face match error")
|
|
854
877
|
}, `face-match-${flowState.currentStepIndex}`)
|
|
855
878
|
});
|
|
879
|
+
if (currentStep === "IDENTITY_REUSE") return /* @__PURE__ */ u("div", {
|
|
880
|
+
class: "IncodeFlow",
|
|
881
|
+
children: /* @__PURE__ */ u(Component, {
|
|
882
|
+
config: flowConfig,
|
|
883
|
+
onFinish: (output) => flowManager.completeModule(output),
|
|
884
|
+
onError: forwardModuleError(onError, "Identity reuse error")
|
|
885
|
+
}, `identity-reuse-${flowState.currentStepIndex}`)
|
|
886
|
+
});
|
|
887
|
+
if (currentStep === "ID_VALIDATION") return /* @__PURE__ */ u("div", {
|
|
888
|
+
class: "IncodeFlow",
|
|
889
|
+
children: /* @__PURE__ */ u(Component, {
|
|
890
|
+
config: flowConfig,
|
|
891
|
+
onFinish: () => flowManager.completeModule()
|
|
892
|
+
}, `id-validation-${flowState.currentStepIndex}`)
|
|
893
|
+
});
|
|
856
894
|
if (currentStep === "CURP_VALIDATION") return /* @__PURE__ */ u("div", {
|
|
857
895
|
class: "IncodeFlow",
|
|
858
896
|
children: /* @__PURE__ */ u(Component, {
|
|
859
897
|
config: flowConfig,
|
|
860
898
|
onFinish: () => flowManager.completeModule(),
|
|
861
|
-
onError: (error)
|
|
862
|
-
onError?.(error ?? "CURP validation error");
|
|
863
|
-
}
|
|
899
|
+
onError: forwardModuleError(onError, "CURP validation error")
|
|
864
900
|
}, `curp-validation-${flowState.currentStepIndex}`)
|
|
865
901
|
});
|
|
866
902
|
if (currentStep === "GOVT_VALIDATION_PROVISIONING") return /* @__PURE__ */ u("div", {
|
|
@@ -868,9 +904,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
868
904
|
children: /* @__PURE__ */ u(Component, {
|
|
869
905
|
config: flowConfig,
|
|
870
906
|
onFinish: () => flowManager.completeModule(),
|
|
871
|
-
onError: (error)
|
|
872
|
-
onError?.(error ?? "Government validation error");
|
|
873
|
-
}
|
|
907
|
+
onError: forwardModuleError(onError, "Government validation error")
|
|
874
908
|
}, `govt-validation-${flowState.currentStepIndex}`)
|
|
875
909
|
});
|
|
876
910
|
if (currentStep === "INE_VALIDATION") return /* @__PURE__ */ u("div", {
|
|
@@ -878,9 +912,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
878
912
|
children: /* @__PURE__ */ u(Component, {
|
|
879
913
|
config: flowConfig,
|
|
880
914
|
onFinish: () => flowManager.completeModule(),
|
|
881
|
-
onError: (error)
|
|
882
|
-
onError?.(error ?? "INE validation error");
|
|
883
|
-
}
|
|
915
|
+
onError: forwardModuleError(onError, "INE validation error")
|
|
884
916
|
}, `ine-validation-${flowState.currentStepIndex}`)
|
|
885
917
|
});
|
|
886
918
|
if (currentStep === "GEOLOCATION") return /* @__PURE__ */ u("div", {
|
|
@@ -888,9 +920,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
888
920
|
children: /* @__PURE__ */ u(Component, {
|
|
889
921
|
config: flowConfig,
|
|
890
922
|
onFinish: () => flowManager.completeModule(),
|
|
891
|
-
onError: (error)
|
|
892
|
-
onError?.(error ?? "Geolocation error");
|
|
893
|
-
}
|
|
923
|
+
onError: forwardModuleError(onError, "Geolocation error")
|
|
894
924
|
}, `geolocation-${flowState.currentStepIndex}`)
|
|
895
925
|
});
|
|
896
926
|
if (currentStep === "EXTERNAL_VERIFICATION") return /* @__PURE__ */ u("div", {
|
|
@@ -898,9 +928,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
898
928
|
children: /* @__PURE__ */ u(Component, {
|
|
899
929
|
config: { flowId: flowState.flow.flowId },
|
|
900
930
|
onFinish: () => flowManager.completeModule(),
|
|
901
|
-
onError: (error)
|
|
902
|
-
onError?.(error ?? "External verification error");
|
|
903
|
-
}
|
|
931
|
+
onError: forwardModuleError(onError, "External verification error")
|
|
904
932
|
}, `ekyc-${flowState.currentStepIndex}`)
|
|
905
933
|
});
|
|
906
934
|
if (currentStep === "DOCUMENT_CAPTURE") return /* @__PURE__ */ u("div", {
|
|
@@ -908,9 +936,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
908
936
|
children: /* @__PURE__ */ u(Component, {
|
|
909
937
|
config: flowConfig,
|
|
910
938
|
onFinish: () => flowManager.completeModule(),
|
|
911
|
-
onError: (error)
|
|
912
|
-
onError?.(error ?? "Document capture error");
|
|
913
|
-
}
|
|
939
|
+
onError: forwardModuleError(onError, "Document capture error")
|
|
914
940
|
}, `document-capture-${flowState.currentStepIndex}`)
|
|
915
941
|
});
|
|
916
942
|
if (currentStep === "ADDRESS") return /* @__PURE__ */ u("div", {
|
|
@@ -921,9 +947,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
921
947
|
processingType: "addressStatement"
|
|
922
948
|
},
|
|
923
949
|
onFinish: () => flowManager.completeModule(),
|
|
924
|
-
onError: (error)
|
|
925
|
-
onError?.(error ?? "Address capture error");
|
|
926
|
-
}
|
|
950
|
+
onError: forwardModuleError(onError, "Address capture error")
|
|
927
951
|
}, `address-${flowState.currentStepIndex}`)
|
|
928
952
|
});
|
|
929
953
|
if (currentStep === "SIGNATURE") return /* @__PURE__ */ u("div", {
|
|
@@ -931,11 +955,17 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
931
955
|
children: /* @__PURE__ */ u(Component, {
|
|
932
956
|
config: flowConfig,
|
|
933
957
|
onFinish: () => flowManager.completeModule(),
|
|
934
|
-
onError: (error)
|
|
935
|
-
onError?.(error ?? "Signature capture error");
|
|
936
|
-
}
|
|
958
|
+
onError: forwardModuleError(onError, "Signature capture error")
|
|
937
959
|
}, `signature-${flowState.currentStepIndex}`)
|
|
938
960
|
});
|
|
961
|
+
if (currentStep === "DOCUMENT_SIGNATURE") return /* @__PURE__ */ u("div", {
|
|
962
|
+
class: "IncodeFlow",
|
|
963
|
+
children: /* @__PURE__ */ u(Component, {
|
|
964
|
+
config: flowConfig,
|
|
965
|
+
onFinish: () => flowManager.completeModule(),
|
|
966
|
+
onError: forwardModuleError(onError, "Document signature error")
|
|
967
|
+
}, `document-signature-${flowState.currentStepIndex}`)
|
|
968
|
+
});
|
|
939
969
|
if (currentStep === "EKYB") {
|
|
940
970
|
const ekybFlowConfig = flowConfig;
|
|
941
971
|
return /* @__PURE__ */ u("div", {
|
|
@@ -949,9 +979,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
949
979
|
checkUniqueBeneficialOwner: ekybFlowConfig.checkUniqueBeneficialOwner
|
|
950
980
|
},
|
|
951
981
|
onFinish: () => flowManager.completeModule(),
|
|
952
|
-
onError: (error)
|
|
953
|
-
onError?.(error ?? "eKYB verification error");
|
|
954
|
-
}
|
|
982
|
+
onError: forwardModuleError(onError, "eKYB verification error")
|
|
955
983
|
}, `ekyb-${flowState.currentStepIndex}`)
|
|
956
984
|
});
|
|
957
985
|
}
|
|
@@ -960,9 +988,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
960
988
|
children: /* @__PURE__ */ u(Component, {
|
|
961
989
|
config: flowConfig,
|
|
962
990
|
onFinish: () => flowManager.completeModule(),
|
|
963
|
-
onError: (error)
|
|
964
|
-
onError?.(error ?? "KYB checks error");
|
|
965
|
-
}
|
|
991
|
+
onError: forwardModuleError(onError, "KYB checks error")
|
|
966
992
|
}, `kyb-checks-${flowState.currentStepIndex}`)
|
|
967
993
|
});
|
|
968
994
|
if (currentStep === "EKYC_PREFILL") return /* @__PURE__ */ u("div", {
|
|
@@ -1008,9 +1034,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1008
1034
|
language: i18n.language
|
|
1009
1035
|
},
|
|
1010
1036
|
onFinish: () => flowManager.completeModule(),
|
|
1011
|
-
onError: (
|
|
1012
|
-
onError?.(error ?? `${label.toUpperCase()} Signature error`);
|
|
1013
|
-
}
|
|
1037
|
+
onError: forwardModuleError(onError, `${label.toUpperCase()} Signature error`)
|
|
1014
1038
|
}, `${label}-signature-${flowState.currentStepIndex}`)
|
|
1015
1039
|
});
|
|
1016
1040
|
}
|
|
@@ -1018,9 +1042,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1018
1042
|
class: "IncodeFlow",
|
|
1019
1043
|
children: /* @__PURE__ */ u(Component, {
|
|
1020
1044
|
onFinish: () => flowManager.completeModule(),
|
|
1021
|
-
onError: (error)
|
|
1022
|
-
onError?.(error ?? "Antifraud check error");
|
|
1023
|
-
}
|
|
1045
|
+
onError: forwardModuleError(onError, "Antifraud check error")
|
|
1024
1046
|
}, `antifraud-${flowState.currentStepIndex}`)
|
|
1025
1047
|
});
|
|
1026
1048
|
if (currentStep === "CUSTOM_FIELDS") return /* @__PURE__ */ u("div", {
|
|
@@ -1028,18 +1050,14 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1028
1050
|
children: /* @__PURE__ */ u(Component, {
|
|
1029
1051
|
config: flowConfig,
|
|
1030
1052
|
onFinish: () => flowManager.completeModule(),
|
|
1031
|
-
onError: (error)
|
|
1032
|
-
onError?.(error ?? "Custom fields error");
|
|
1033
|
-
}
|
|
1053
|
+
onError: forwardModuleError(onError, "Custom fields error")
|
|
1034
1054
|
}, `custom-fields-${flowState.currentStepIndex}`)
|
|
1035
1055
|
});
|
|
1036
1056
|
if (currentStep === "WATCHLIST") return /* @__PURE__ */ u("div", {
|
|
1037
1057
|
class: "IncodeFlow",
|
|
1038
1058
|
children: /* @__PURE__ */ u(Component, {
|
|
1039
1059
|
onFinish: () => flowManager.completeModule(),
|
|
1040
|
-
onError: (error)
|
|
1041
|
-
onError?.(error ?? "Watchlist check error");
|
|
1042
|
-
}
|
|
1060
|
+
onError: forwardModuleError(onError, "Watchlist check error")
|
|
1043
1061
|
}, `watchlist-${flowState.currentStepIndex}`)
|
|
1044
1062
|
});
|
|
1045
1063
|
if (currentStep === "WATCHLIST_BUSINESS") return /* @__PURE__ */ u("div", {
|
|
@@ -1047,9 +1065,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1047
1065
|
children: /* @__PURE__ */ u(Component, {
|
|
1048
1066
|
config: flowConfig,
|
|
1049
1067
|
onFinish: () => flowManager.completeModule(),
|
|
1050
|
-
onError: (error)
|
|
1051
|
-
onError?.(error ?? "Watchlist for business check error");
|
|
1052
|
-
}
|
|
1068
|
+
onError: forwardModuleError(onError, "Watchlist for business check error")
|
|
1053
1069
|
}, `watchlist-for-business-${flowState.currentStepIndex}`)
|
|
1054
1070
|
});
|
|
1055
1071
|
if (currentStep === "INCODE_WATCHLIST") return /* @__PURE__ */ u("div", {
|
|
@@ -1057,18 +1073,14 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1057
1073
|
children: /* @__PURE__ */ u(Component, {
|
|
1058
1074
|
config: flowConfig,
|
|
1059
1075
|
onFinish: () => flowManager.completeModule(),
|
|
1060
|
-
onError: (error)
|
|
1061
|
-
onError?.(error ?? "Custom watchlist check error");
|
|
1062
|
-
}
|
|
1076
|
+
onError: forwardModuleError(onError, "Custom watchlist check error")
|
|
1063
1077
|
}, `incode-watchlist-${flowState.currentStepIndex}`)
|
|
1064
1078
|
});
|
|
1065
1079
|
if (currentStep === "CROSS_DOCUMENT_DATA_MATCH") return /* @__PURE__ */ u("div", {
|
|
1066
1080
|
class: "IncodeFlow",
|
|
1067
1081
|
children: /* @__PURE__ */ u(Component, {
|
|
1068
1082
|
onFinish: () => flowManager.completeModule(),
|
|
1069
|
-
onError: (error)
|
|
1070
|
-
onError?.(error ?? "Cross document data match error");
|
|
1071
|
-
}
|
|
1083
|
+
onError: forwardModuleError(onError, "Cross document data match error")
|
|
1072
1084
|
}, `cross-document-data-match-${flowState.currentStepIndex}`)
|
|
1073
1085
|
});
|
|
1074
1086
|
if (currentStep === "CERTIFICATE_ISSUANCE") return /* @__PURE__ */ u("div", {
|
|
@@ -1076,18 +1088,14 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1076
1088
|
children: /* @__PURE__ */ u(Component, {
|
|
1077
1089
|
config: flowConfig,
|
|
1078
1090
|
onFinish: () => flowManager.completeModule(),
|
|
1079
|
-
onError: (error)
|
|
1080
|
-
onError?.(error ?? "Certificate issuance error");
|
|
1081
|
-
}
|
|
1091
|
+
onError: forwardModuleError(onError, "Certificate issuance error")
|
|
1082
1092
|
}, `certificate-issuance-${flowState.currentStepIndex}`)
|
|
1083
1093
|
});
|
|
1084
1094
|
if (currentStep === "FIELD_COMPARISON") return /* @__PURE__ */ u("div", {
|
|
1085
1095
|
class: "IncodeFlow",
|
|
1086
1096
|
children: /* @__PURE__ */ u(Component, {
|
|
1087
1097
|
onFinish: () => flowManager.completeModule(),
|
|
1088
|
-
onError: (error)
|
|
1089
|
-
onError?.(error ?? "Field comparison error");
|
|
1090
|
-
}
|
|
1098
|
+
onError: forwardModuleError(onError, "Field comparison error")
|
|
1091
1099
|
}, `field-comparison-${flowState.currentStepIndex}`)
|
|
1092
1100
|
});
|
|
1093
1101
|
if (currentStep === "DYNAMIC_FORMS") return /* @__PURE__ */ u("div", {
|
|
@@ -1112,18 +1120,14 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1112
1120
|
prefillValue: config.loginHintPrefill
|
|
1113
1121
|
},
|
|
1114
1122
|
onFinish: () => flowManager.completeModule(),
|
|
1115
|
-
onError: (error)
|
|
1116
|
-
onError?.(error ?? "Dynamic forms error");
|
|
1117
|
-
}
|
|
1123
|
+
onError: forwardModuleError(onError, "Dynamic forms error")
|
|
1118
1124
|
}, `dynamic-forms-${flowState.currentStepIndex}`)
|
|
1119
1125
|
});
|
|
1120
1126
|
if (currentStep === "FISCAL_QR") return /* @__PURE__ */ u("div", {
|
|
1121
1127
|
class: "IncodeFlow",
|
|
1122
1128
|
children: /* @__PURE__ */ u(Component, {
|
|
1123
1129
|
onFinish: () => flowManager.completeModule(),
|
|
1124
|
-
onError: (error)
|
|
1125
|
-
onError?.(error ?? "Fiscal QR error");
|
|
1126
|
-
}
|
|
1130
|
+
onError: forwardModuleError(onError, "Fiscal QR error")
|
|
1127
1131
|
}, `fiscal-qr-${flowState.currentStepIndex}`)
|
|
1128
1132
|
});
|
|
1129
1133
|
}
|