@incodetech/web 2.4.1-agentic.9 → 2.5.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{GeolocationPermissionDenied-Bl0ESi9x.js → GeolocationPermissionDenied-DRRBxdLP.js} +5 -5
- package/dist/Password-CY3Tv_5W.js +212 -0
- package/dist/RadioGroup-CnxMGtas.js +123 -0
- package/dist/RequiredLegend-CLQ0HX7d.js +16 -0
- package/dist/RequiredMarker-CAqxArxr.js +16 -0
- package/dist/TextField-MsdsbAbT.js +166 -0
- package/dist/ae-signature/ae-signature.es.js +4 -4
- package/dist/{af-ZA-BtuHt1ef.js → af-ZA-CtJyXRHO.js} +11 -27
- package/dist/{ageVerification-JN9VvXwE.js → ageVerification-C6fgHkhK.js} +5 -5
- package/dist/{am-l8nD7Xzz.js → am-BvQDMy8e.js} +11 -27
- package/dist/antifraud/antifraud.es.js +5 -5
- package/dist/{applyStudioConfig-B64x1L-J.js → applyStudioConfig-DO18I6Cf.js} +2 -2
- package/dist/{ar-AE-CO4WaEdG.js → ar-AE-CmS-eCPq.js} +11 -27
- package/dist/{ar-DsKx-YwP.js → ar-Bpe0wGYL.js} +11 -27
- package/dist/{ar-EG-CgYEh6do.js → ar-EG-DaxpzWwx.js} +11 -27
- package/dist/authentication/authentication.es.js +9 -8
- package/dist/{autoFocusTitle-MePwRIrH.js → autoFocusTitle-D_vDhPqZ.js} +2 -2
- package/dist/{az-DTmme8ut.js → az-zSRFEU_F.js} +11 -27
- package/dist/{back-horizontal-hint-yueBylfH.js → back-horizontal-hint-Bci98ivl.js} +1 -1
- package/dist/{back-vertical-hint-NzFSG2Bh.js → back-vertical-hint-DyPCItxn.js} +1 -1
- package/dist/base.css +1 -1
- package/dist/{baseTutorial-BYTLqczq.js → baseTutorial-Bktx_Yrr.js} +4 -4
- package/dist/{bn-CvF9FlWn.js → bn-BrITyCOh.js} +11 -27
- package/dist/{bottomSheet-BbgC68Rm.js → bottomSheet-CzU1QNua.js} +3 -3
- package/dist/{bs-DE7QTPiz.js → bs-rdaEnpNo.js} +11 -27
- package/dist/{ca-B2IOmHal.js → ca-BEtpN_ag.js} +11 -27
- package/dist/cameraOverlay-D6NPWfIT.js +2 -0
- package/dist/{cameraOverlayHeader-DKPegKOB.js → cameraOverlayHeader-DZHCfN1x.js} +5 -5
- package/dist/{cameraView-B9ulYDlK.js → cameraView-CYd-_y_r.js} +3 -3
- package/dist/capture-BBQJgktJ.js +2 -0
- package/dist/{capture-BfiBco34.js → capture-BstPDTgL.js} +10 -10
- package/dist/{capture-Ofbv-y4C.js → capture-CkvbPbJK.js} +21 -21
- package/dist/capture-DiJGnu9z.js +3 -0
- package/dist/captureButtonIcon-DhTUlcGq.js +1 -0
- package/dist/{captureFocusContext-CbhM0Rak.js → captureFocusContext-FsGun4Yd.js} +11 -11
- package/dist/{captureFooter-CyQw85c9.js → captureFooter-BLJ1Qvov.js} +5 -5
- package/dist/{ceb-DMyDJibH.js → ceb-D5rPC9mY.js} +11 -27
- package/dist/certificate-issuance/certificate-issuance.es.js +40 -29
- package/dist/{checkbox-COiob4-f.js → checkbox-HfnbGBMk.js} +4 -4
- package/dist/{chooser-CMZn17HH.js → chooser-Dm0wohHb.js} +12 -12
- package/dist/{connectionError-DQc99Xwr.js → connectionError-BFVvBEMq.js} +5 -5
- package/dist/consent/consent.es.js +11 -11
- package/dist/{countryDefinitions-YYJL8AKj.js → countryDefinitions-UXJ0maPk.js} +6 -0
- package/dist/{countryFlag-mUH97k33.js → countryFlag-CjuXF_8C.js} +1 -1
- package/dist/{countrySelector-Clj3rtbE.js → countrySelector-CEJAgeRY.js} +4 -4
- package/dist/cross-document-data-match/cross-document-data-match.es.js +5 -5
- package/dist/{cs-CZ-BoJHPkXg.js → cs-CZ-BEprNqLt.js} +11 -27
- package/dist/{cs-C6BvjMnL.js → cs-D_U436l9.js} +11 -27
- package/dist/curp-validation/curp-validation.es.js +42 -28
- package/dist/{customFields-CTQsIMU8.js → customFields-DqebmaL5.js} +24 -18
- package/dist/{customWatchlist-BGVgykZy.js → customWatchlist-DVSMbzw5.js} +6 -6
- package/dist/{da-DK-BgryIABe.js → da-DK-dMikXCNn.js} +11 -27
- package/dist/{dashboardTheme-DmmLPc5-.js → dashboardTheme-CB91NoiD.js} +24 -19
- package/dist/{dateInputComposed-BAglkb04.js → dateInputComposed-CVJ4LSep.js} +4 -5
- package/dist/dateInputComposed-DF0Dx86l.js +1 -0
- package/dist/{de-CmigCxj3.js → de-C3c7Bo-M.js} +11 -27
- package/dist/{denied-B-Sa9xtg.js → denied-BR9pZqKi.js} +7 -7
- package/dist/{devWarn-Cus67U3P.js → devWarn-CXWsIkak.js} +86 -108
- package/dist/{deviceWallet-BC90NDd9.js → deviceWallet-DDHk7jBw.js} +4 -4
- package/dist/{digitalIdRedirect-C849eRWw.js → digitalIdRedirect-DKJgITR_.js} +4 -4
- package/dist/{digitalIdUpload-7IBs1xuH.js → digitalIdUpload-BgG6svjJ.js} +7 -7
- package/dist/document-capture/document-capture.es.js +1 -1
- package/dist/{documentCapture-Dg6F5vPo.js → documentCapture-Cu3F_ka7.js} +23 -22
- package/dist/documentCapture-owKpu8oI.js +2 -0
- package/dist/{dropdownComposed-B-jwhIk3.js → dropdownComposed-BJCNWDGU.js} +4 -4
- package/dist/dropdownComposed-zidm_XVK.js +1 -0
- package/dist/dynamic-forms/dynamic-forms.es.js +57 -35
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/ekybModule-Qc_5cB3W.js +2 -0
- package/dist/{ekybModule-CXckmono.js → ekybModule-tV6tUWe_.js} +101 -86
- 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-BgB_xu54.js +789 -0
- package/dist/ekycModule-DZ7yboJO.js +2 -0
- package/dist/ekycPrefillModule-B0cJJiuu.js +2 -0
- package/dist/{ekycPrefillModule-Dvb4nz8D.js → ekycPrefillModule-B1xn0veW.js} +96 -69
- package/dist/{el-GR-DEVeeY1N.js → el-GR-eG5AImZr.js} +11 -27
- package/dist/{el-C504mByE.js → el-LOaoXfUU.js} +11 -27
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-DdTsRO4E.js → electronic-signature-BleJ65-Y.js} +12 -12
- package/dist/email/email.es.js +10 -10
- package/dist/{emailInput-BhovfkJr.js → emailInput-BVx96bJy.js} +23 -12
- package/dist/{en-CjGMhH0a.js → en-B_-7--AN.js} +11 -27
- package/dist/{en-DG-D0uJ-8uf.js → en-DG-BDnlBAUl.js} +11 -27
- package/dist/{errorContent-Do4AkQxk.js → errorContent-x8IajOaE.js} +6 -6
- package/dist/{errorParams-BsjlLhGl.js → errorParams-B68-Euu2.js} +1 -1
- package/dist/{es-419-Dj2u3lIS.js → es-419-DS4mN2d_.js} +1 -1
- package/dist/{es-ES-BFt41nFI.js → es-ES-BMafdM90.js} +11 -27
- package/dist/{es-MX-B_Wc9vvS.js → es-MX-DqhG7Zy7.js} +11 -27
- package/dist/{es-CceiWbcv.js → es-T4K5G5zB.js} +12 -28
- package/dist/{et-Bj_x5sOU.js → et-fBoHBc5h.js} +11 -27
- package/dist/{expiredId-CMUoX-P0.js → expiredId-Q5ITzZU-.js} +6 -6
- package/dist/extensibility.es.js +328 -45
- package/dist/{fa-IR-BN0UsB54.js → fa-IR--PnMtKvC.js} +11 -27
- 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-D0OyUbR5.js → faceMatch-D-ehWIdN.js} +40 -28
- package/dist/faceMatch-RxP2VPBm.js +2 -0
- package/dist/{fi-FI-XID8T9Ko.js → fi-FI-D-T9bf67.js} +11 -27
- package/dist/field-comparison/field-comparison.es.js +1 -1
- package/dist/fieldComparison-BhYiGx0t.js +2 -0
- package/dist/fieldComparison-c3xT3K4C.js +126 -0
- package/dist/{fieldLabelHint-C0ZLkktZ.js → fieldLabelHint-yMZjXK6p.js} +1 -1
- package/dist/{finalSuccessScreen-LISnhuf3.js → finalSuccessScreen-CDr8bsI6.js} +24 -17
- package/dist/fiscal-qr/fiscal-qr.es.js +22 -19
- package/dist/{flipAnimation-DjM5JYfL.js → flipAnimation-C95PZFAJ.js} +5 -5
- package/dist/{flipCapturedCardEligibility-BNIrIYfu.js → flipCapturedCardEligibility-CcB0uVfH.js} +4 -4
- package/dist/flow/flow.es.js +100 -99
- package/dist/flow/styles.css +1 -1
- package/dist/formField-Ba8BQ_l8.js +49 -0
- package/dist/{fr-IbVATPZV.js → fr-BlNTqS4_.js} +11 -27
- package/dist/{fr-CA-Bmt-kW3D.js → fr-CA-DBO_1sfd.js} +11 -27
- package/dist/{front-horizontal-hint-C9-5nbdp.js → front-horizontal-hint-LxyNVfjy.js} +1 -1
- package/dist/{front-vertical-hint-DTtHshwX.js → front-vertical-hint-BKEg_DRs.js} +1 -1
- package/dist/geolocation/geolocation.es.js +10 -10
- package/dist/government-validation/government-validation.es.js +7 -7
- package/dist/{he-B1oTlS7p.js → he-C-PnifVg.js} +11 -27
- package/dist/{hi-BFeWb9MT.js → hi-mETIwcDe.js} +11 -27
- package/dist/{hmn-naJkqwAe.js → hmn-BZabGetu.js} +11 -27
- package/dist/{homeScreen-kVe-PwZV.js → homeScreen-CcRzcWya.js} +7 -7
- package/dist/{hooks-CE8vvsR8.js → hooks-nmwpawA2.js} +49 -11
- package/dist/{hr-CpwG7WJ4.js → hr-DzkTH3cj.js} +11 -27
- package/dist/{ht-mbMGmJ9j.js → ht-D5zV7ROu.js} +11 -27
- package/dist/{hu-CAPECmUZ.js → hu-CeHrYR4q.js} +12 -28
- package/dist/{icons-Bz641AZd.js → icons-DLZTxOV2.js} +2 -2
- package/dist/id/id.es.js +38 -37
- package/dist/{id-DNQTblvO.js → id-B_qFrh_W.js} +12 -28
- package/dist/{id-back-of-card-DNgfCJsN.js → id-back-of-card-BhF5T4fC.js} +1 -1
- package/dist/{id-back-of-card-vertical-D7qtwPW5.js → id-back-of-card-vertical-BudLiGPR.js} +1 -1
- package/dist/{id-front-of-card-CM0hV6jv.js → id-front-of-card-CiGcJhVW.js} +1 -1
- package/dist/{id-front-of-card-vertical-Cz0op2vf.js → id-front-of-card-vertical-C_GyecLf.js} +1 -1
- package/dist/id-selfie-flow/id-selfie-flow.es.js +13 -13
- package/dist/id-selfie-flow/styles.css +1 -1
- package/dist/id-verification/id-verification.es.js +12 -7
- package/dist/{idFlipTransition-Cue3HSGt.js → idFlipTransition-DuwSIp-D.js} +13 -13
- package/dist/{idOcr-XOJ-JY-l.js → idOcr-DatcQrFh.js} +60 -37
- package/dist/identity-reuse/identity-reuse.es.js +14 -13
- package/dist/identity-reuse/styles.css.js +1 -0
- package/dist/{incodeComponent-C1TMotqV.js → incodeComponent-DFue7FgD.js} +10 -10
- package/dist/{incodeModule-BeATmadl.js → incodeModule-BWSWx6zz.js} +5 -5
- package/dist/index.es.js +3 -3
- package/dist/{inputComposed-CRp1H6U_.js → inputComposed-6M3lOVUo.js} +4 -4
- package/dist/{it-BcT816iZ.js → it-CwzQoTtJ.js} +11 -27
- package/dist/{ja-JP-BhZupQ7A.js → ja-JP-Cg6pV7OS.js} +12 -28
- package/dist/{ja-B5spS5-8.js → ja-eNtdzeB5.js} +11 -27
- package/dist/{jv-DalcXb84.js → jv-BANHtRb4.js} +11 -27
- package/dist/{ka-CbUOmftP.js → ka-DWhlum5Q.js} +11 -27
- package/dist/{kk-0EE3IrpX.js → kk-CAsKyYR9.js} +11 -27
- package/dist/{km-8LSGXQaW.js → km-DJHdr0lO.js} +16 -32
- package/dist/{ko-BjG0PPAP.js → ko-BAPbgx_r.js} +11 -27
- package/dist/{ko-KP-CpVrSvZB.js → ko-KP-BRD8crfV.js} +11 -27
- package/dist/{ky-xwaTThY0.js → ky-0IKHwWw_.js} +11 -27
- package/dist/kyb-checks/kyb-checks.es.js +1 -1
- package/dist/{kybChecksModule-DvZ-BZRh.js → kybChecksModule-CWFpU32e.js} +80 -64
- package/dist/kybChecksModule-D3u3hdUP.js +2 -0
- package/dist/{lo-EQF7PXWa.js → lo-DkBffqOP.js} +11 -27
- package/dist/{lt-DMmeCaHo.js → lt-Btf5JQPU.js} +12 -28
- package/dist/{lv-C1iTZMfE.js → lv-DMnPY0bZ.js} +12 -28
- package/dist/{mandatoryConsent-CvTtalAL.js → mandatoryConsent-Ci6fJR2F.js} +11 -11
- package/dist/{manualCaptureButton-BuQHmszh.js → manualCaptureButton-DrdeVhq8.js} +4 -4
- package/dist/{manualCaptureButton-DQAbimvq.js → manualCaptureButton-ZxWHf5Sa.js} +10 -10
- package/dist/{mk-DzMpKPOz.js → mk-CQIDbtM2.js} +11 -27
- package/dist/{mn-BvXd9F52.js → mn-Cc1HnwyR.js} +11 -27
- package/dist/{ms-Cp7ZJ7mK.js → ms-CORA9eaw.js} +11 -27
- package/dist/{my-GmBVDdMo.js → my-CNDvlF-Z.js} +11 -27
- package/dist/{nb-NO-y1MiZO8w.js → nb-NO-BwZ27fuH.js} +11 -27
- package/dist/{ne-Cl08Ph1J.js → ne-D7rkhft1.js} +11 -27
- package/dist/{nl-xrUuWU-J.js → nl-DsxNMb79.js} +12 -28
- package/dist/{optionAccessibleLabel-BU3kQ0En.js → optionAccessibleLabel-Cz2x8Q7x.js} +25 -10
- package/dist/{otpInput-Dmg_f47Q.js → otpInput-B2fLiJsF.js} +96 -15
- package/dist/{page-BR1C3Nzj.js → page-B0CjRMtF.js} +6 -6
- package/dist/{pageUiConfig-CHSWT3Gw.js → pageUiConfig-mKn_YhhU.js} +5 -5
- package/dist/{passport-horizontal-hint-SkVy1ylo.js → passport-horizontal-hint-Bn18pckF.js} +1 -1
- package/dist/{passport-vertical-hint-CgCA8IKR.js → passport-vertical-hint-D_bvTNZY.js} +1 -1
- package/dist/passwordRequirements-13qw_WSJ.js +49 -0
- package/dist/{pdf-B05hp9AA.js → pdf-DO_HvE8T.js} +2 -2
- package/dist/pdfViewer-CCHNUl5h.js +2 -0
- package/dist/{pdfViewer-CYoSQQNz.js → pdfViewer-pgBIY_Q7.js} +4 -4
- package/dist/{permissionInstructionList-hPNjHN71.js → permissionInstructionList-DPDqNKFJ.js} +3 -3
- package/dist/{permissions-Bu02I3PR.js → permissions-CKjgrM7q.js} +13 -13
- package/dist/phone/phone.es.js +11 -11
- package/dist/{phoneInputComposed-B7W1co5m.js → phoneInputComposed-BbZuW8Q8.js} +6 -6
- package/dist/{pl-C01qnZKR.js → pl-DOgi6huc.js} +11 -27
- package/dist/{preloadableLazy-BDZiRMcF.js → preloadableLazy-KWGuHoqn.js} +1 -1
- package/dist/{processing-CIy9REXo.js → processing-v4EkL9-U.js} +2 -2
- package/dist/{progressBar-Bv7JPmtA.js → progressBar-D-kfX8X1.js} +2 -2
- package/dist/{pt-BR-wEX_V9Uj.js → pt-BR-x__xGSN_.js} +11 -27
- package/dist/{pt-D4WG4iEZ.js → pt-CX0ngiGh.js} +11 -27
- package/dist/{pt-PT-BPg4BIJf.js → pt-PT-BKwyOX-W.js} +11 -27
- package/dist/qe-signature/qe-signature.es.js +4 -4
- package/dist/redirect-to-mobile/redirect-to-mobile.es.js +13 -13
- 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-FoirFu19.js} +1 -1
- package/dist/{resendTimer-CeSq33kX.js → resendTimer-DHgQUcAi.js} +2 -2
- package/dist/{richText-BMvr5dhl.js → richText-DlHC_sMB.js} +4 -4
- package/dist/{ro-Cqlj7IaS.js → ro-DGB5aI9B.js} +11 -27
- package/dist/{ru-4u-5Riz6.js → ru-Dnl6YnE6.js} +12 -28
- package/dist/{ru-RU-hoEJT3Zf.js → ru-RU-BM5Leyxp.js} +11 -27
- package/dist/{sanitizeSvg-wb-lG02K.js → sanitizeSvg-IfqLuP1N.js} +1 -1
- package/dist/selfie/selfie.es.js +13 -12
- package/dist/signature/signature.es.js +10 -10
- package/dist/{sk-Bcrhcaus.js → sk-B4HQZzV6.js} +12 -28
- package/dist/{sl-_NIS9uQY.js → sl-ClgVmZ1h.js} +11 -27
- package/dist/{smsTabContent-CuxElbq9.js → smsTabContent-D9Eb005G.js} +7 -7
- package/dist/{so-B9pngiw2.js → so-BLFIV5-m.js} +11 -27
- package/dist/{spacer-BMVbQdv1.js → spacer-D5j2phXI.js} +293 -322
- package/dist/spinner-BeYdZjPC.js +69 -0
- package/dist/{sr-CwLs8KQk.js → sr-CkSmwRiY.js} +11 -27
- package/dist/{sr-Latn-My3nXAfv.js → sr-Latn-BdLB-I3Z.js} +15 -31
- package/dist/{sr-YU-D6EswTRk.js → sr-YU-DJ3geBJs.js} +1 -1
- package/dist/{sv-SE-3XWHgiaY.js → sv-SE-DEfqYDzZ.js} +11 -27
- package/dist/{sw-u0GGYzxM.js → sw-16U52YpC.js} +11 -27
- package/dist/{th-DuUtrE7A.js → th-Cg0hYujg.js} +11 -27
- package/dist/{th-TH-CIxIVJnV.js → th-TH-BBPg926O.js} +11 -27
- package/dist/themes/dark.css +1 -1
- package/dist/themes/light.css +1 -1
- package/dist/{tl-PH-vdHV7e5l.js → tl-PH-DSHq83jb.js} +11 -27
- package/dist/{tl-Cnee5vHJ.js → tl-SL2bqb6j.js} +11 -27
- package/dist/{tr-B6NfQ1YM.js → tr-DclJKp5i.js} +11 -27
- package/dist/{transitionSpinner-BYT6Y26d.js → transitionSpinner-b8SMrhfd.js} +6 -6
- package/dist/{tutorial-DGi7njtc.js → tutorial-0IhGg6rb.js} +4 -4
- package/dist/types/ae-signature.d.ts +7 -3
- package/dist/types/antifraud.d.ts +7 -3
- package/dist/types/authentication.d.ts +7 -3
- package/dist/types/certificate-issuance.d.ts +7 -3
- package/dist/types/consent.d.ts +7 -3
- package/dist/types/cross-document-data-match.d.ts +7 -3
- package/dist/types/curp-validation.d.ts +7 -3
- package/dist/types/document-capture.d.ts +7 -3
- package/dist/types/dynamic-forms.d.ts +7 -3
- package/dist/types/ekyb.d.ts +7 -3
- package/dist/types/ekyc-prefill.d.ts +7 -3
- package/dist/types/ekyc.d.ts +7 -3
- package/dist/types/electronic-signature.d.ts +7 -3
- package/dist/types/email.d.ts +7 -3
- package/dist/types/extensibility.d.ts +7 -10
- package/dist/types/face-match.d.ts +7 -3
- package/dist/types/field-comparison.d.ts +7 -3
- package/dist/types/fiscal-qr.d.ts +7 -3
- package/dist/types/flow.d.ts +7 -3
- package/dist/types/geolocation.d.ts +7 -3
- package/dist/types/government-validation.d.ts +7 -3
- package/dist/types/id-selfie-flow.d.ts +7 -3
- package/dist/types/id-verification.d.ts +7 -3
- package/dist/types/id.d.ts +7 -3
- package/dist/types/identity-reuse.d.ts +8 -4
- package/dist/types/kyb-checks.d.ts +7 -3
- package/dist/types/phone.d.ts +7 -3
- package/dist/types/qe-signature.d.ts +7 -3
- package/dist/types/selfie.d.ts +7 -3
- package/dist/types/signature.d.ts +7 -3
- package/dist/types/video-selfie.d.ts +1 -1
- package/dist/types/watchlist.d.ts +7 -3
- package/dist/types/workflow.d.ts +7 -3
- package/dist/{typography-CHx4UfE3.js → typography-D3swFCxZ.js} +2 -2
- package/dist/{uk-D8SBQUPY.js → uk-CfFK_Tnk.js} +11 -27
- package/dist/{uk-UA-CMvgmdmw.js → uk-UA-vkh8X4bX.js} +12 -28
- package/dist/{ur-DCLXBfJS.js → ur-32a-9tt8.js} +11 -27
- package/dist/{useCameraPreview-DrteOjaq.js → useCameraPreview-hNLhri73.js} +1 -1
- package/dist/{useCaptureHelpButton-BEjYpwg6.js → useCaptureHelpButton-BJQvSkuJ.js} +2 -2
- package/dist/{useIsDarkTheme-DAs5RhsW.js → useIsDarkTheme-DoOFy9TN.js} +1 -1
- package/dist/{useModuleLoader--rVDzHqn.js → useModuleLoader-BCYS1xLP.js} +25 -17
- package/dist/{uz-CdTikNR8.js → uz-BEx-De8I.js} +11 -27
- package/dist/{vendor-preact-HIccnts1.js → vendor-preact-CjnloSla.js} +129 -5
- package/dist/{verificationResult-D8QnyuI1.js → verificationResult-tHoFvrGZ.js} +6 -6
- package/dist/{vi-8i3fXIYC.js → vi-CMQXfqfw.js} +11 -27
- 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 +32 -24
- package/dist/watchlist/watchlist.es.js +7 -6
- package/dist/{watchlistForBusiness-gQlRJDj7.js → watchlistForBusiness-CbRaBYoJ.js} +29 -20
- package/dist/{withEndScreenTexts-oHy-aDwN.js → withEndScreenTexts-10ck20tq.js} +43 -28
- package/dist/workflow/styles.css +1 -1
- package/dist/workflow/workflow.es.js +531 -1
- package/dist/{zh-CN-C_3DQPAO.js → zh-CN-BelxA_Rf.js} +11 -27
- package/dist/{zh-HANT-DzKThLGe.js → zh-HANT-DsztptZA.js} +11 -27
- package/dist/{zh-TW-CRwvuA_1.js → zh-TW-DKQC3FXd.js} +11 -27
- package/dist/{zh-JxvLpfJI.js → zh-v3x4XYal.js} +11 -27
- package/package.json +5 -14
- package/dist/cameraOverlay-CbaSCAzN.js +0 -2
- package/dist/capture-B105Gyzk.js +0 -2
- package/dist/capture-kxXHrakb.js +0 -3
- package/dist/captureButtonIcon-DdqcSAFo.js +0 -1
- package/dist/dateInputComposed-Bq9yEjqE.js +0 -1
- package/dist/documentCapture-CSovKIfj.js +0 -2
- package/dist/dropdownComposed-D9WtKiZl.js +0 -1
- package/dist/ekybModule-CqV7hjNi.js +0 -2
- package/dist/ekycModule-DHEPIoB-.js +0 -328
- package/dist/ekycModule-OERg1YPW.js +0 -2
- package/dist/ekycPrefillModule-B4BJQWaa.js +0 -2
- package/dist/faceMatch-1IxVsuQC.js +0 -2
- package/dist/fieldComparison-D3dONVPr.js +0 -113
- package/dist/fieldComparison-DWl2ByZ2.js +0 -2
- package/dist/formField-BP6uJTSh.js +0 -34
- package/dist/inputComposed-Dc8tBgb6.js +0 -1
- package/dist/kybChecksModule-DMKKtrmB.js +0 -2
- package/dist/passwordInputComposed-DKEB8EmI.js +0 -74
- package/dist/pdfViewer-BRAs-KYx.js +0 -2
- package/dist/radioGroupComposed-BZ5zWFS6.js +0 -160
- package/dist/radioGroupComposed-DA4CM0OB.js +0 -1
- package/dist/spinner-DkgXsNMB.js +0 -106
- package/dist/step-up/step-up.es.js +0 -483
- package/dist/step-up/styles.css +0 -2
- package/dist/types/step-up.d.ts +0 -85
- package/dist/workflow-CXjNrouG.js +0 -531
- /package/dist/{aligndevicelottie-B6hTuIe8.js → aligndevicelottie-BEKzL4SB.js} +0 -0
- /package/dist/{assertClassBrand-CuHX5JcR.js → assertClassBrand-F6pL6aIr.js} +0 -0
- /package/dist/{back-tutorial-v-0Ek2vm.js → back-tutorial-B9W63fa-.js} +0 -0
- /package/dist/{backdevicelottie-DF1HiZ5r.js → backdevicelottie-DsN8QBV3.js} +0 -0
- /package/dist/{blurdevicelottie-BSyppjCM.js → blurdevicelottie-DkV7Kwo4.js} +0 -0
- /package/dist/{defineProperty-CRYuXE79.js → defineProperty-B4FQTz14.js} +0 -0
- /package/dist/{flip-animation-BwsJr5v0.js → flip-animation-DJVnWWL5.js} +0 -0
- /package/dist/{frontdevicelottie-DBYQ8I6w.js → frontdevicelottie-DiW1Wmya.js} +0 -0
- /package/dist/{glaredevicelottie-Cd1wXkQ6.js → glaredevicelottie-CK-fnX_s.js} +0 -0
- /package/dist/{id-laser-h-xw6WLLM_.js → id-laser-h-6Am_cjM8.js} +0 -0
- /package/dist/{id-laser-v-BHYuyf78.js → id-laser-v-DXoF3flH.js} +0 -0
- /package/dist/{id-tutorial-CYXjnunq.js → id-tutorial-DkKH3eTE.js} +0 -0
- /package/dist/{lottie_light-B819EhaL.js → lottie_light-Bam05Bc9.js} +0 -0
- /package/dist/{passport-tutorial-B_BAoSVc.js → passport-tutorial-D3Fpk-Tj.js} +0 -0
- /package/dist/{pdf.worker.min-DzBNMoKS.js → pdf.worker.min-D0hm-8jN.js} +0 -0
- /package/dist/{policyUrls-Hvb4jPfF.js → policyUrls-B3TEaluh.js} +0 -0
- /package/dist/{purify.es-DIIgrZ-E.js → purify.es-DhY3JLdI.js} +0 -0
- /package/dist/{selfieTutorial-2UnQ3071.js → selfieTutorial-DnsRD1Z9.js} +0 -0
package/dist/flow/flow.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as Q, b as
|
|
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 { h as readStoredLanguage, r as setThemeUiConfig, u as useTranslation } from "../devWarn-CXWsIkak.js";
|
|
2
|
+
import { C as Q, b as y, f as T, h as d, l as z, o as P, p as _, u as A, x as u, y as x } from "../vendor-preact-CjnloSla.js";
|
|
3
|
+
import { n as StatusPage } from "../connectionError-BFVvBEMq.js";
|
|
4
|
+
import { b as withSessionExpiry, i as TerminalErrorPage, m as useIsBrowserSupported, n as ResolvedConfigProvider, y as useManager } from "../hooks-nmwpawA2.js";
|
|
5
|
+
import { t as TransitionSpinner } from "../transitionSpinner-b8SMrhfd.js";
|
|
6
|
+
import { r as BrowserNotSupported, t as IncodeComponent } from "../incodeComponent-DFue7FgD.js";
|
|
7
|
+
import { t as registerIncodeModuleElement } from "../incodeModule-BWSWx6zz.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-10ck20tq.js";
|
|
9
|
+
import { i as usePrefetchNextModules, n as useModuleLoader, r as useModulePreloader } from "../useModuleLoader-BCYS1xLP.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-CcRzcWya.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]);
|
|
@@ -633,7 +651,12 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
633
651
|
if (flowState?.status === "finished") {
|
|
634
652
|
terminalFiredRef.current = true;
|
|
635
653
|
const finishStatus = withEndScreenTexts(flowState.finishStatus, flowManager.getEndScreenTexts());
|
|
636
|
-
queueMicrotask(() => onFinish(finishStatus
|
|
654
|
+
queueMicrotask(() => onFinish(finishStatus, {
|
|
655
|
+
sdkOwnsTerminalScreen: false,
|
|
656
|
+
oauth2Secured: flowState.flow.oauth2Secured === true,
|
|
657
|
+
...flowState.flow.redirectOriginOnly !== void 0 ? { redirectOriginOnly: flowState.flow.redirectOriginOnly } : {},
|
|
658
|
+
...flowState.completedOnMobile ? { completedOnMobile: true } : {}
|
|
659
|
+
}));
|
|
637
660
|
return;
|
|
638
661
|
}
|
|
639
662
|
if (flowState?.status === "error" && onError) {
|
|
@@ -656,13 +679,17 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
656
679
|
class: "IncodeFlow",
|
|
657
680
|
children: /* @__PURE__ */ u(SessionFinishedPage, {})
|
|
658
681
|
});
|
|
659
|
-
if (initState.status === "error")
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
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
|
+
}
|
|
666
693
|
if (!browser.isSupported && flowDisablesBrowserScreen === false) return /* @__PURE__ */ u("div", {
|
|
667
694
|
class: "IncodeFlow",
|
|
668
695
|
children: /* @__PURE__ */ u(BrowserNotSupported, { onContinue: browser.continueAnyway })
|
|
@@ -698,7 +725,8 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
698
725
|
class: "IncodeFlow",
|
|
699
726
|
children: /* @__PURE__ */ u(TerminalErrorPage, {
|
|
700
727
|
message: flowState.error,
|
|
701
|
-
moduleErrorCode: flowState.moduleErrorCode
|
|
728
|
+
moduleErrorCode: flowState.moduleErrorCode,
|
|
729
|
+
retryable: !isMisconfiguredFlow(flowState.moduleErrorCode)
|
|
702
730
|
})
|
|
703
731
|
});
|
|
704
732
|
if (flowState.status === "completing") return /* @__PURE__ */ u("div", {
|
|
@@ -716,7 +744,17 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
716
744
|
renderMode: spinnerRenderMode
|
|
717
745
|
})
|
|
718
746
|
});
|
|
719
|
-
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
|
+
}
|
|
720
758
|
if (moduleLoaderState.status === "unsupported") return /* @__PURE__ */ u("div", {
|
|
721
759
|
class: "IncodeFlow",
|
|
722
760
|
children: /* @__PURE__ */ u(UnsupportedModule, {
|
|
@@ -784,9 +822,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
784
822
|
children: /* @__PURE__ */ u(Component, {
|
|
785
823
|
config: flowConfig,
|
|
786
824
|
onFinish: () => flowManager.completeModule(),
|
|
787
|
-
onError: (error)
|
|
788
|
-
onError?.(error ?? "Phone verification error");
|
|
789
|
-
}
|
|
825
|
+
onError: forwardModuleError(onError, "Phone verification error")
|
|
790
826
|
}, `phone-${flowState.currentStepIndex}`)
|
|
791
827
|
});
|
|
792
828
|
if (currentStep === "EMAIL") {
|
|
@@ -800,9 +836,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
800
836
|
children: /* @__PURE__ */ u(Component, {
|
|
801
837
|
config: emailConfig,
|
|
802
838
|
onFinish: () => flowManager.completeModule(),
|
|
803
|
-
onError: (error)
|
|
804
|
-
onError?.(error ?? "Email verification error");
|
|
805
|
-
}
|
|
839
|
+
onError: forwardModuleError(onError, "Email verification error")
|
|
806
840
|
}, `email-${flowState.currentStepIndex}`)
|
|
807
841
|
});
|
|
808
842
|
}
|
|
@@ -819,9 +853,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
819
853
|
digitalIdReturnUrl: config.digitalIdReturnUrl
|
|
820
854
|
},
|
|
821
855
|
onFinish: (output) => flowManager.completeModule(output),
|
|
822
|
-
onError: (error)
|
|
823
|
-
onError?.(error ?? "ID capture error");
|
|
824
|
-
}
|
|
856
|
+
onError: forwardModuleError(onError, "ID capture error")
|
|
825
857
|
}, `id-${flowState.currentStepIndex}`)
|
|
826
858
|
});
|
|
827
859
|
}
|
|
@@ -833,9 +865,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
833
865
|
flowId
|
|
834
866
|
},
|
|
835
867
|
onFinish: () => flowManager.completeModule(),
|
|
836
|
-
onError: (error)
|
|
837
|
-
onError?.(error ?? "ID OCR error");
|
|
838
|
-
}
|
|
868
|
+
onError: forwardModuleError(onError, "ID OCR error")
|
|
839
869
|
}, `id-ocr-${flowState.currentStepIndex}`)
|
|
840
870
|
});
|
|
841
871
|
if (currentStep === "FACE_MATCH") return /* @__PURE__ */ u("div", {
|
|
@@ -843,19 +873,30 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
843
873
|
children: /* @__PURE__ */ u(Component, {
|
|
844
874
|
config: flowConfig,
|
|
845
875
|
onFinish: () => flowManager.completeModule(),
|
|
846
|
-
onError: (error)
|
|
847
|
-
onError?.(error ?? "Face match error");
|
|
848
|
-
}
|
|
876
|
+
onError: forwardModuleError(onError, "Face match error")
|
|
849
877
|
}, `face-match-${flowState.currentStepIndex}`)
|
|
850
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
|
+
});
|
|
851
894
|
if (currentStep === "CURP_VALIDATION") return /* @__PURE__ */ u("div", {
|
|
852
895
|
class: "IncodeFlow",
|
|
853
896
|
children: /* @__PURE__ */ u(Component, {
|
|
854
897
|
config: flowConfig,
|
|
855
898
|
onFinish: () => flowManager.completeModule(),
|
|
856
|
-
onError: (error)
|
|
857
|
-
onError?.(error ?? "CURP validation error");
|
|
858
|
-
}
|
|
899
|
+
onError: forwardModuleError(onError, "CURP validation error")
|
|
859
900
|
}, `curp-validation-${flowState.currentStepIndex}`)
|
|
860
901
|
});
|
|
861
902
|
if (currentStep === "GOVT_VALIDATION_PROVISIONING") return /* @__PURE__ */ u("div", {
|
|
@@ -863,9 +904,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
863
904
|
children: /* @__PURE__ */ u(Component, {
|
|
864
905
|
config: flowConfig,
|
|
865
906
|
onFinish: () => flowManager.completeModule(),
|
|
866
|
-
onError: (error)
|
|
867
|
-
onError?.(error ?? "Government validation error");
|
|
868
|
-
}
|
|
907
|
+
onError: forwardModuleError(onError, "Government validation error")
|
|
869
908
|
}, `govt-validation-${flowState.currentStepIndex}`)
|
|
870
909
|
});
|
|
871
910
|
if (currentStep === "INE_VALIDATION") return /* @__PURE__ */ u("div", {
|
|
@@ -873,9 +912,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
873
912
|
children: /* @__PURE__ */ u(Component, {
|
|
874
913
|
config: flowConfig,
|
|
875
914
|
onFinish: () => flowManager.completeModule(),
|
|
876
|
-
onError: (error)
|
|
877
|
-
onError?.(error ?? "INE validation error");
|
|
878
|
-
}
|
|
915
|
+
onError: forwardModuleError(onError, "INE validation error")
|
|
879
916
|
}, `ine-validation-${flowState.currentStepIndex}`)
|
|
880
917
|
});
|
|
881
918
|
if (currentStep === "GEOLOCATION") return /* @__PURE__ */ u("div", {
|
|
@@ -883,9 +920,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
883
920
|
children: /* @__PURE__ */ u(Component, {
|
|
884
921
|
config: flowConfig,
|
|
885
922
|
onFinish: () => flowManager.completeModule(),
|
|
886
|
-
onError: (error)
|
|
887
|
-
onError?.(error ?? "Geolocation error");
|
|
888
|
-
}
|
|
923
|
+
onError: forwardModuleError(onError, "Geolocation error")
|
|
889
924
|
}, `geolocation-${flowState.currentStepIndex}`)
|
|
890
925
|
});
|
|
891
926
|
if (currentStep === "EXTERNAL_VERIFICATION") return /* @__PURE__ */ u("div", {
|
|
@@ -893,9 +928,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
893
928
|
children: /* @__PURE__ */ u(Component, {
|
|
894
929
|
config: { flowId: flowState.flow.flowId },
|
|
895
930
|
onFinish: () => flowManager.completeModule(),
|
|
896
|
-
onError: (error)
|
|
897
|
-
onError?.(error ?? "External verification error");
|
|
898
|
-
}
|
|
931
|
+
onError: forwardModuleError(onError, "External verification error")
|
|
899
932
|
}, `ekyc-${flowState.currentStepIndex}`)
|
|
900
933
|
});
|
|
901
934
|
if (currentStep === "DOCUMENT_CAPTURE") return /* @__PURE__ */ u("div", {
|
|
@@ -903,9 +936,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
903
936
|
children: /* @__PURE__ */ u(Component, {
|
|
904
937
|
config: flowConfig,
|
|
905
938
|
onFinish: () => flowManager.completeModule(),
|
|
906
|
-
onError: (error)
|
|
907
|
-
onError?.(error ?? "Document capture error");
|
|
908
|
-
}
|
|
939
|
+
onError: forwardModuleError(onError, "Document capture error")
|
|
909
940
|
}, `document-capture-${flowState.currentStepIndex}`)
|
|
910
941
|
});
|
|
911
942
|
if (currentStep === "ADDRESS") return /* @__PURE__ */ u("div", {
|
|
@@ -916,9 +947,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
916
947
|
processingType: "addressStatement"
|
|
917
948
|
},
|
|
918
949
|
onFinish: () => flowManager.completeModule(),
|
|
919
|
-
onError: (error)
|
|
920
|
-
onError?.(error ?? "Address capture error");
|
|
921
|
-
}
|
|
950
|
+
onError: forwardModuleError(onError, "Address capture error")
|
|
922
951
|
}, `address-${flowState.currentStepIndex}`)
|
|
923
952
|
});
|
|
924
953
|
if (currentStep === "SIGNATURE") return /* @__PURE__ */ u("div", {
|
|
@@ -926,9 +955,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
926
955
|
children: /* @__PURE__ */ u(Component, {
|
|
927
956
|
config: flowConfig,
|
|
928
957
|
onFinish: () => flowManager.completeModule(),
|
|
929
|
-
onError: (error)
|
|
930
|
-
onError?.(error ?? "Signature capture error");
|
|
931
|
-
}
|
|
958
|
+
onError: forwardModuleError(onError, "Signature capture error")
|
|
932
959
|
}, `signature-${flowState.currentStepIndex}`)
|
|
933
960
|
});
|
|
934
961
|
if (currentStep === "EKYB") {
|
|
@@ -944,9 +971,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
944
971
|
checkUniqueBeneficialOwner: ekybFlowConfig.checkUniqueBeneficialOwner
|
|
945
972
|
},
|
|
946
973
|
onFinish: () => flowManager.completeModule(),
|
|
947
|
-
onError: (error)
|
|
948
|
-
onError?.(error ?? "eKYB verification error");
|
|
949
|
-
}
|
|
974
|
+
onError: forwardModuleError(onError, "eKYB verification error")
|
|
950
975
|
}, `ekyb-${flowState.currentStepIndex}`)
|
|
951
976
|
});
|
|
952
977
|
}
|
|
@@ -955,9 +980,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
955
980
|
children: /* @__PURE__ */ u(Component, {
|
|
956
981
|
config: flowConfig,
|
|
957
982
|
onFinish: () => flowManager.completeModule(),
|
|
958
|
-
onError: (error)
|
|
959
|
-
onError?.(error ?? "KYB checks error");
|
|
960
|
-
}
|
|
983
|
+
onError: forwardModuleError(onError, "KYB checks error")
|
|
961
984
|
}, `kyb-checks-${flowState.currentStepIndex}`)
|
|
962
985
|
});
|
|
963
986
|
if (currentStep === "EKYC_PREFILL") return /* @__PURE__ */ u("div", {
|
|
@@ -1003,9 +1026,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1003
1026
|
language: i18n.language
|
|
1004
1027
|
},
|
|
1005
1028
|
onFinish: () => flowManager.completeModule(),
|
|
1006
|
-
onError: (
|
|
1007
|
-
onError?.(error ?? `${label.toUpperCase()} Signature error`);
|
|
1008
|
-
}
|
|
1029
|
+
onError: forwardModuleError(onError, `${label.toUpperCase()} Signature error`)
|
|
1009
1030
|
}, `${label}-signature-${flowState.currentStepIndex}`)
|
|
1010
1031
|
});
|
|
1011
1032
|
}
|
|
@@ -1013,9 +1034,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1013
1034
|
class: "IncodeFlow",
|
|
1014
1035
|
children: /* @__PURE__ */ u(Component, {
|
|
1015
1036
|
onFinish: () => flowManager.completeModule(),
|
|
1016
|
-
onError: (error)
|
|
1017
|
-
onError?.(error ?? "Antifraud check error");
|
|
1018
|
-
}
|
|
1037
|
+
onError: forwardModuleError(onError, "Antifraud check error")
|
|
1019
1038
|
}, `antifraud-${flowState.currentStepIndex}`)
|
|
1020
1039
|
});
|
|
1021
1040
|
if (currentStep === "CUSTOM_FIELDS") return /* @__PURE__ */ u("div", {
|
|
@@ -1023,18 +1042,14 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1023
1042
|
children: /* @__PURE__ */ u(Component, {
|
|
1024
1043
|
config: flowConfig,
|
|
1025
1044
|
onFinish: () => flowManager.completeModule(),
|
|
1026
|
-
onError: (error)
|
|
1027
|
-
onError?.(error ?? "Custom fields error");
|
|
1028
|
-
}
|
|
1045
|
+
onError: forwardModuleError(onError, "Custom fields error")
|
|
1029
1046
|
}, `custom-fields-${flowState.currentStepIndex}`)
|
|
1030
1047
|
});
|
|
1031
1048
|
if (currentStep === "WATCHLIST") return /* @__PURE__ */ u("div", {
|
|
1032
1049
|
class: "IncodeFlow",
|
|
1033
1050
|
children: /* @__PURE__ */ u(Component, {
|
|
1034
1051
|
onFinish: () => flowManager.completeModule(),
|
|
1035
|
-
onError: (error)
|
|
1036
|
-
onError?.(error ?? "Watchlist check error");
|
|
1037
|
-
}
|
|
1052
|
+
onError: forwardModuleError(onError, "Watchlist check error")
|
|
1038
1053
|
}, `watchlist-${flowState.currentStepIndex}`)
|
|
1039
1054
|
});
|
|
1040
1055
|
if (currentStep === "WATCHLIST_BUSINESS") return /* @__PURE__ */ u("div", {
|
|
@@ -1042,9 +1057,7 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1042
1057
|
children: /* @__PURE__ */ u(Component, {
|
|
1043
1058
|
config: flowConfig,
|
|
1044
1059
|
onFinish: () => flowManager.completeModule(),
|
|
1045
|
-
onError: (error)
|
|
1046
|
-
onError?.(error ?? "Watchlist for business check error");
|
|
1047
|
-
}
|
|
1060
|
+
onError: forwardModuleError(onError, "Watchlist for business check error")
|
|
1048
1061
|
}, `watchlist-for-business-${flowState.currentStepIndex}`)
|
|
1049
1062
|
});
|
|
1050
1063
|
if (currentStep === "INCODE_WATCHLIST") return /* @__PURE__ */ u("div", {
|
|
@@ -1052,18 +1065,14 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1052
1065
|
children: /* @__PURE__ */ u(Component, {
|
|
1053
1066
|
config: flowConfig,
|
|
1054
1067
|
onFinish: () => flowManager.completeModule(),
|
|
1055
|
-
onError: (error)
|
|
1056
|
-
onError?.(error ?? "Custom watchlist check error");
|
|
1057
|
-
}
|
|
1068
|
+
onError: forwardModuleError(onError, "Custom watchlist check error")
|
|
1058
1069
|
}, `incode-watchlist-${flowState.currentStepIndex}`)
|
|
1059
1070
|
});
|
|
1060
1071
|
if (currentStep === "CROSS_DOCUMENT_DATA_MATCH") return /* @__PURE__ */ u("div", {
|
|
1061
1072
|
class: "IncodeFlow",
|
|
1062
1073
|
children: /* @__PURE__ */ u(Component, {
|
|
1063
1074
|
onFinish: () => flowManager.completeModule(),
|
|
1064
|
-
onError: (error)
|
|
1065
|
-
onError?.(error ?? "Cross document data match error");
|
|
1066
|
-
}
|
|
1075
|
+
onError: forwardModuleError(onError, "Cross document data match error")
|
|
1067
1076
|
}, `cross-document-data-match-${flowState.currentStepIndex}`)
|
|
1068
1077
|
});
|
|
1069
1078
|
if (currentStep === "CERTIFICATE_ISSUANCE") return /* @__PURE__ */ u("div", {
|
|
@@ -1071,18 +1080,14 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1071
1080
|
children: /* @__PURE__ */ u(Component, {
|
|
1072
1081
|
config: flowConfig,
|
|
1073
1082
|
onFinish: () => flowManager.completeModule(),
|
|
1074
|
-
onError: (error)
|
|
1075
|
-
onError?.(error ?? "Certificate issuance error");
|
|
1076
|
-
}
|
|
1083
|
+
onError: forwardModuleError(onError, "Certificate issuance error")
|
|
1077
1084
|
}, `certificate-issuance-${flowState.currentStepIndex}`)
|
|
1078
1085
|
});
|
|
1079
1086
|
if (currentStep === "FIELD_COMPARISON") return /* @__PURE__ */ u("div", {
|
|
1080
1087
|
class: "IncodeFlow",
|
|
1081
1088
|
children: /* @__PURE__ */ u(Component, {
|
|
1082
1089
|
onFinish: () => flowManager.completeModule(),
|
|
1083
|
-
onError: (error)
|
|
1084
|
-
onError?.(error ?? "Field comparison error");
|
|
1085
|
-
}
|
|
1090
|
+
onError: forwardModuleError(onError, "Field comparison error")
|
|
1086
1091
|
}, `field-comparison-${flowState.currentStepIndex}`)
|
|
1087
1092
|
});
|
|
1088
1093
|
if (currentStep === "DYNAMIC_FORMS") return /* @__PURE__ */ u("div", {
|
|
@@ -1107,18 +1112,14 @@ var IncodeFlowContent = ({ config, onFinish, onError, initState, flowState, flow
|
|
|
1107
1112
|
prefillValue: config.loginHintPrefill
|
|
1108
1113
|
},
|
|
1109
1114
|
onFinish: () => flowManager.completeModule(),
|
|
1110
|
-
onError: (error)
|
|
1111
|
-
onError?.(error ?? "Dynamic forms error");
|
|
1112
|
-
}
|
|
1115
|
+
onError: forwardModuleError(onError, "Dynamic forms error")
|
|
1113
1116
|
}, `dynamic-forms-${flowState.currentStepIndex}`)
|
|
1114
1117
|
});
|
|
1115
1118
|
if (currentStep === "FISCAL_QR") return /* @__PURE__ */ u("div", {
|
|
1116
1119
|
class: "IncodeFlow",
|
|
1117
1120
|
children: /* @__PURE__ */ u(Component, {
|
|
1118
1121
|
onFinish: () => flowManager.completeModule(),
|
|
1119
|
-
onError: (error)
|
|
1120
|
-
onError?.(error ?? "Fiscal QR error");
|
|
1121
|
-
}
|
|
1122
|
+
onError: forwardModuleError(onError, "Fiscal QR error")
|
|
1122
1123
|
}, `fiscal-qr-${flowState.currentStepIndex}`)
|
|
1123
1124
|
});
|
|
1124
1125
|
}
|