@incodetech/web 0.0.0-dev-20260429-35afdca → 0.0.0-dev-20260430-9f41a18
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/ae-signature/ae-signature.es.js +3 -3
- package/dist/antifraud/antifraud.es.js +4 -4
- package/dist/authentication/authentication.es.js +4 -4
- package/dist/{back-horizontal-hint-Rivv4odH.js → back-horizontal-hint-DUuojsev.js} +1 -1
- package/dist/{back-vertical-hint-Bi2GKjAw.js → back-vertical-hint-CX_hCJhV.js} +1 -1
- package/dist/{bottomSheet-H576o2Ae.js → bottomSheet-BICziA8B.js} +2 -2
- package/dist/{button-DXxszYOu.js → button-i4SPU5G7.js} +2 -2
- package/dist/{checkbox-HMGMzcIv.js → checkbox-DSJ1kLyD.js} +3 -3
- package/dist/consent/consent.es.js +10 -10
- package/dist/{countrySelector-DcKjrQye.js → countrySelector-B3JOaReM.js} +3 -3
- package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
- package/dist/curp-validation/curp-validation.es.js +16 -16
- package/dist/{customFields-D2wZYEIM.js → customFields-ClP-OHqQ.js} +13 -13
- package/dist/{customWatchlist-qxLVolwh.js → customWatchlist-DaNMXtkt.js} +7 -7
- package/dist/{dateInputComposed-B4m_OJ0f.js → dateInputComposed-BISaNEkl.js} +5 -5
- package/dist/dateInputComposed-DdtZcsfQ.js +1 -0
- package/dist/{documentCapture-Bmnd-HoI.js → documentCapture-BD-LU6Y1.js} +14 -14
- package/dist/dropdownComposed-C6mYVe2K.js +1 -0
- package/dist/{dropdownComposed-ysrtM_xo.js → dropdownComposed-D7l5VnKk.js} +4 -4
- package/dist/ekyb/ekyb.es.js +1 -1
- package/dist/{ekybModule-DvXcZXil.js → ekybModule-Ckv1f8aB.js} +13 -13
- package/dist/ekybModule-pKz3HZFJ.js +2 -0
- package/dist/ekyc/ekyc.es.js +1 -1
- package/dist/ekycModule-B_pmX3EX.js +2 -0
- package/dist/{ekycModule-DHpDUapu.js → ekycModule-CCJGIP0u.js} +14 -14
- package/dist/electronic-signature/electronic-signature.es.js +1 -1
- package/dist/{electronic-signature-C-J7f37B.js → electronic-signature-nZfD6fzf.js} +13 -13
- package/dist/email/email.es.js +10 -10
- package/dist/{extensibility-DJ7uJJS5.js → extensibility-BhOLYPko.js} +39 -39
- package/dist/extensibility.es.js +24 -24
- package/dist/face-match/face-match.es.js +1 -1
- package/dist/{faceMatch-aulhVGxo.js → faceMatch-BAOj4yMN.js} +10 -10
- package/dist/faceMatch-CsBQRvhN.js +2 -0
- package/dist/flow/flow.es.js +136 -139
- package/dist/flow/styles.css +4696 -169
- package/dist/{formField-9c3OJwOZ.js → formField-B34T3LAe.js} +3 -3
- package/dist/{front-horizontal-hint-ECtf7INv.js → front-horizontal-hint-2RcQjgHE.js} +1 -1
- package/dist/{front-vertical-hint-DBdptGwa.js → front-vertical-hint-CRhiWbkP.js} +1 -1
- package/dist/geolocation/geolocation.es.js +8 -8
- package/dist/governmentValidation/governmentValidation.es.js +10 -10
- package/dist/{homeScreen-nNYHPykv.js → homeScreen-Dc3ipd-q.js} +8 -8
- package/dist/{i18n-BNE9nYru.js → i18n-ntrVdqVv.js} +2 -2
- package/dist/{icons-B9-0K6zx.js → icons-Bk44oy5t.js} +2 -2
- package/dist/id/id.es.js +18 -18
- package/dist/id-ocr/styles.css +3 -31
- package/dist/idOcr-CzUlyrUX.js +89 -0
- package/dist/identity-reuse/identity-reuse.es.js +7 -7
- package/dist/{incodeComponent-Bj2iIi3-.js → incodeComponent-DexcYK3Y.js} +2 -2
- package/dist/incodeModule-CHzKl22Y.js +18 -0
- package/dist/index.es.js +2 -2
- package/dist/{inputComposed-CZYVA9pY.js → inputComposed-4aHO5YRK.js} +4 -4
- package/dist/inputComposed-vYWGxUXH.js +1 -0
- package/dist/{loadingIcon-BWeYwnoO.js → loadingIcon-C-Sq5v_K.js} +1 -1
- package/dist/{mandatoryConsent-BxmewvFy.js → mandatoryConsent-OCdxJMmo.js} +10 -10
- package/dist/{modal-BiHWHzbc.js → modal-dixIN7NV.js} +37 -37
- package/dist/{modal.hooks-BWHmspKt.js → modal.hooks-BzIVzVbq.js} +1 -1
- package/dist/{numberedStep-CB41HauU.js → numberedStep-DDP7_KWo.js} +1 -1
- package/dist/{optionAccessibleLabel-oqe5fTiF.js → optionAccessibleLabel-DGtiAlUq.js} +6 -6
- package/dist/{otpInput-DxekO34i.js → otpInput-DgtpWHON.js} +6 -6
- package/dist/{page-C_Z2vd8q.js → page-BB20C-zy.js} +3 -3
- package/dist/{passport-horizontal-hint-x0w1qXO5.js → passport-horizontal-hint-CAqrHNYZ.js} +1 -1
- package/dist/{passport-vertical-hint-BoPv9mev.js → passport-vertical-hint-BHH9yd1n.js} +1 -1
- package/dist/phone/phone.es.js +10 -10
- package/dist/{phoneInput-B5mP8vvS.js → phoneInput-C8OmjU3_.js} +3 -3
- package/dist/{phoneInputComposed-C6mrR5NJ.js → phoneInputComposed--GQv3M_5.js} +5 -5
- package/dist/{processing-C1ymzBNJ.js → processing-AM48BFTl.js} +2 -2
- package/dist/qe-signature/qe-signature.es.js +3 -3
- package/dist/{radioButtonComposed-yT_6g1qe.js → radioButtonComposed-CuKvBI5S.js} +3 -3
- package/dist/{redirectToMobile-BtsF6N0g.js → redirectToMobile-DfUzha84.js} +14 -14
- package/dist/{richText-uERDfLN2.js → richText-FMNMBzjD.js} +1 -1
- package/dist/selfie/selfie.es.js +7 -7
- package/dist/signature/signature.es.js +9 -9
- package/dist/{spacer-DCAl0Mjk.js → spacer-CN9uvb__.js} +1 -1
- package/dist/spinner-BYktSnQZ.js +1 -0
- package/dist/{spinner-DTwtoppQ.js → spinner-Cj7kdZ0T.js} +4 -4
- package/dist/{statusPage-BTF4FmJT.js → statusPage-DUnznjtg.js} +4 -4
- package/dist/{successIcon-COlazRl-.js → successIcon-SlKgTSty.js} +1 -1
- package/dist/{tabs-z-X6zD3C.js → tabs-sbbH0u2L.js} +2 -2
- package/dist/{transitionSpinner-C_573zFG.js → transitionSpinner-DqDwaNM6.js} +4 -4
- package/dist/{tutorial-DcuYI4JA.js → tutorial-B2lNnuWv.js} +15 -15
- package/dist/types/ae-signature.d.ts +0 -1
- package/dist/types/antifraud.d.ts +0 -1
- package/dist/types/authentication.d.ts +0 -1
- package/dist/types/consent.d.ts +0 -1
- package/dist/types/cross-document-data-match.d.ts +0 -1
- package/dist/types/curp-validation.d.ts +0 -1
- package/dist/types/ekyb.d.ts +0 -1
- package/dist/types/ekyc.d.ts +0 -1
- package/dist/types/electronic-signature.d.ts +0 -1
- package/dist/types/email.d.ts +0 -1
- package/dist/types/extensibility.d.ts +0 -1
- package/dist/types/face-match.d.ts +0 -1
- package/dist/types/flow.d.ts +0 -1
- package/dist/types/geolocation.d.ts +0 -1
- package/dist/types/governmentValidation.d.ts +0 -1
- package/dist/types/id.d.ts +0 -1
- package/dist/types/identity-reuse.d.ts +0 -1
- package/dist/types/phone.d.ts +0 -1
- package/dist/types/qe-signature.d.ts +0 -1
- package/dist/types/selfie.d.ts +0 -1
- package/dist/types/signature.d.ts +0 -1
- package/dist/types/watchlist.d.ts +0 -1
- package/dist/types/workflow.d.ts +0 -1
- package/dist/{typography-Dn_SWwB2.js → typography-Duug0raB.js} +2 -2
- package/dist/{uiConfig-BfJ9gLl7.js → uiConfig-CwpQ-IM6.js} +1 -1
- package/dist/{useModuleLoader-bEVfQbmU.js → useModuleLoader-BHKdXE3w.js} +169 -188
- package/dist/{vendor-preact-DYq0_Qbr.js → vendor-preact-D6SntenC.js} +1 -1
- package/dist/{verificationResult-1XSMhl4d.js → verificationResult-DTfsw2w2.js} +8 -8
- package/dist/{verifiedByIncode-aGOV-V9q.js → verifiedByIncode-CiuBhYBD.js} +2 -2
- package/dist/watchlist/watchlist.es.js +7 -7
- package/dist/{watchlistForBusiness-C_i_7Z6J.js → watchlistForBusiness-DirZZuYu.js} +11 -11
- package/dist/workflow/styles.css +3 -31
- package/dist/workflow/workflow.es.js +51 -50
- package/package.json +2 -2
- package/dist/ae-signature-D316IMg7.js +0 -5
- package/dist/antifraud-CB-yiVmj.js +0 -5
- package/dist/consent-CmVHHfh0.js +0 -5
- package/dist/curp-validation-BZu1862x.js +0 -5
- package/dist/custom-fields-Dy2zIWk5.js +0 -5
- package/dist/dateInputComposed-B1930wH-.js +0 -1
- package/dist/document-capture-klKhslw_.js +0 -5
- package/dist/dropdownComposed-D94RHyH9.js +0 -1
- package/dist/ekyb-AJ5pLamL.js +0 -5
- package/dist/ekybModule-uLHrvaE0.js +0 -2
- package/dist/ekyc-CGHe6KZF.js +0 -5
- package/dist/ekycModule-PeVktYEv.js +0 -2
- package/dist/electronic-signature-CmWQ5m7Z.js +0 -5
- package/dist/email-46LcB-zG.js +0 -5
- package/dist/face-match-fK60MxjZ.js +0 -5
- package/dist/faceMatch-B2oadZzM.js +0 -2
- package/dist/flow-rPJJbW6T.js +0 -5
- package/dist/geolocation-tgDRHF5G.js +0 -5
- package/dist/governmentValidation-CRpowRw3.js +0 -5
- package/dist/id-Czs29YjP.js +0 -5
- package/dist/id-ocr-De0CziTg.js +0 -5
- package/dist/idOcr-DWF6lFjq.js +0 -95
- package/dist/identity-reuse-DRaYjwgl.js +0 -5
- package/dist/incodeModule-4-Ij3Hzt.js +0 -74
- package/dist/inputComposed-BYIbvEZU.js +0 -1
- package/dist/mandatory-consent-Cwa_D62s.js +0 -5
- package/dist/phone-ChAbJlMB.js +0 -5
- package/dist/qe-signature-C4R5aFPn.js +0 -5
- package/dist/redirect-to-mobile-CEkqbyYW.js +0 -5
- package/dist/selfie-DoBsWHhr.js +0 -5
- package/dist/signature-CEHAjVar.js +0 -5
- package/dist/spinner-iH4HWMX6.js +0 -1
- package/dist/watchlist-BdGy5gvP.js +0 -5
- package/dist/watchlist-for-business-CubjHodP.js +0 -5
- package/dist/workflow-nsiRkTFR.js +0 -5
- /package/dist/{aligndevicelottie-DuYKqFRv.js → aligndevicelottie-m1gBGZsQ.js} +0 -0
- /package/dist/{back-tutorial-BveT-Gpg.js → back-tutorial-ClQ08AWx.js} +0 -0
- /package/dist/{backdevicelottie-CVSnQFM6.js → backdevicelottie-WEvEwLBA.js} +0 -0
- /package/dist/{blurdevicelottie-DXyCiuOu.js → blurdevicelottie-BNBU2EIM.js} +0 -0
- /package/dist/{browser-ponyfill-Dz8mnsAS.js → browser-ponyfill-DRrmY6DO.js} +0 -0
- /package/dist/{flip-animation-CpYPskQi.js → flip-animation-Tm2zxXjs.js} +0 -0
- /package/dist/{frontdevicelottie-7OcabHg2.js → frontdevicelottie-BtbZEtwd.js} +0 -0
- /package/dist/{glaredevicelottie-CU-7f-1E.js → glaredevicelottie-CGQ0DCXc.js} +0 -0
- /package/dist/{id-laser-h-DVprNART.js → id-laser-h-oGOFXEpO.js} +0 -0
- /package/dist/{id-laser-v-DHSmrhm6.js → id-laser-v-DfWJik9l.js} +0 -0
- /package/dist/{id-tutorial-DC_FMKi3.js → id-tutorial-C4q-3j3J.js} +0 -0
- /package/dist/{passport-tutorial-DglDEWHt.js → passport-tutorial-DhEHJZeD.js} +0 -0
- /package/dist/{pdf-CbjnpyBF.js → pdf-DmP3zO_j.js} +0 -0
- /package/dist/{selfieTutorial-Cssu-Gmy.js → selfieTutorial-D8I_4Oam.js} +0 -0
package/dist/extensibility.es.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
2
|
-
import { t } from "./uiConfig-
|
|
3
|
-
import { a as n, n as r, o as i, t as a } from "./incodeComponent-
|
|
4
|
-
import { t as o } from "./spacer-
|
|
5
|
-
import { t as s } from "./page-
|
|
6
|
-
import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-
|
|
7
|
-
import { a as D, i as O, n as k, o as A, r as j, t as M } from "./typography-
|
|
8
|
-
import { t as N } from "./spinner-
|
|
9
|
-
import { t as P } from "./processing-
|
|
10
|
-
import { t as F } from "./button-
|
|
11
|
-
import { a as I, c as L, d as R, f as z, g as B, h as V, i as H, l as U, m as W, n as G, o as K, p as q, r as J, s as Y, t as X, u as Z } from "./icons-
|
|
12
|
-
import { a as Q, i as $, n as ee, o as te, r as ne, t as re } from "./tutorial-
|
|
13
|
-
import { t as ie } from "./successIcon-
|
|
14
|
-
import { t as ae } from "./verificationResult-
|
|
15
|
-
import { n as oe, t as se } from "./inputComposed-
|
|
16
|
-
import { t as ce } from "./otpInput-
|
|
17
|
-
import { t as le } from "./checkbox-
|
|
18
|
-
import { t as ue } from "./formField-
|
|
1
|
+
import { n as e } from "./i18n-ntrVdqVv.js";
|
|
2
|
+
import { t } from "./uiConfig-CwpQ-IM6.js";
|
|
3
|
+
import { a as n, n as r, o as i, t as a } from "./incodeComponent-DexcYK3Y.js";
|
|
4
|
+
import { t as o } from "./spacer-CN9uvb__.js";
|
|
5
|
+
import { t as s } from "./page-BB20C-zy.js";
|
|
6
|
+
import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-BhOLYPko.js";
|
|
7
|
+
import { a as D, i as O, n as k, o as A, r as j, t as M } from "./typography-Duug0raB.js";
|
|
8
|
+
import { t as N } from "./spinner-Cj7kdZ0T.js";
|
|
9
|
+
import { t as P } from "./processing-AM48BFTl.js";
|
|
10
|
+
import { t as F } from "./button-i4SPU5G7.js";
|
|
11
|
+
import { a as I, c as L, d as R, f as z, g as B, h as V, i as H, l as U, m as W, n as G, o as K, p as q, r as J, s as Y, t as X, u as Z } from "./icons-Bk44oy5t.js";
|
|
12
|
+
import { a as Q, i as $, n as ee, o as te, r as ne, t as re } from "./tutorial-B2lNnuWv.js";
|
|
13
|
+
import { t as ie } from "./successIcon-SlKgTSty.js";
|
|
14
|
+
import { t as ae } from "./verificationResult-DTfsw2w2.js";
|
|
15
|
+
import { n as oe, t as se } from "./inputComposed-4aHO5YRK.js";
|
|
16
|
+
import { t as ce } from "./otpInput-DgtpWHON.js";
|
|
17
|
+
import { t as le } from "./checkbox-DSJ1kLyD.js";
|
|
18
|
+
import { t as ue } from "./formField-B34T3LAe.js";
|
|
19
19
|
import { n as de, r as fe, t as pe } from "./countries-BntFjJJG.js";
|
|
20
|
-
import { t as me } from "./phoneInputComposed
|
|
21
|
-
import { t as he } from "./dropdownComposed-
|
|
22
|
-
import { t as ge } from "./dateInputComposed-
|
|
23
|
-
import { t as _e } from "./radioButtonComposed-
|
|
24
|
-
import { t as ve } from "./modal-
|
|
25
|
-
import { t as ye } from "./bottomSheet-
|
|
20
|
+
import { t as me } from "./phoneInputComposed--GQv3M_5.js";
|
|
21
|
+
import { t as he } from "./dropdownComposed-D7l5VnKk.js";
|
|
22
|
+
import { t as ge } from "./dateInputComposed-BISaNEkl.js";
|
|
23
|
+
import { t as _e } from "./radioButtonComposed-CuKvBI5S.js";
|
|
24
|
+
import { t as ve } from "./modal-dixIN7NV.js";
|
|
25
|
+
import { t as ye } from "./bottomSheet-BICziA8B.js";
|
|
26
26
|
export { $ as BaseTutorial, ye as BottomSheet, F as Button, W as CalendarIcon, f as CameraFrame, q as CameraIcon, d as CameraOverlay, w as CameraOverlayHeader, g as CameraView, z as CaptureButtonIcon, u as CaptureFooter, le as Checkbox, Z as CheckmarkCompactIcon, R as CheckmarkIcon, U as ChevronDown, L as ChevronLeftIcon, Y as ChevronRightIcon, K as CloseIcon, ge as DateInputComposed, he as DropdownComposed, te as ErrorContent, B as ErrorIcon, I as FileIcon, ue as FormField, H as HelpIcon, h as IdCapture, v as IdChooser, y as IdError, l as IdExpired, C as IdFlipAnimation, x as IdTutorial, a as IncodeComponent, oe as Input, se as InputComposed, r as LandscapeBlocker, X as LightningIcon, J as LockIcon, Q as Lottie, S as ManualCapture, ve as Modal, ce as OtpInput, E as Overlay, s as Page, ne as Permissions, me as PhoneInputComposed, P as Processing, T as ProgressBar, _e as RadioButtonComposed, c as RadioGroupComposed, G as SearchIcon, ee as SelfieCapture, re as SelfieTutorial, o as Spacer, N as Spinner, ie as SuccessIcon, p as TextArea, m as TextAreaComposed, M as Title, k as TypographyH1, j as TypographyH3, O as TypographyH4, D as TypographyH5, A as TypographyP, b as VerificationOptionCard, _ as VerificationOptionCardList, ae as VerificationResult, V as WarningIcon, pe as countries, de as getCountryByCallingCode, fe as getCountryByCode, t as setUiConfig, i as useManager, n as useScreenOrientation, e as useTranslation };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../faceMatch-
|
|
1
|
+
import { t as e } from "../faceMatch-BAOj4yMN.js";
|
|
2
2
|
export { e as FaceMatch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { n as e } from "./i18n-
|
|
2
|
-
import {
|
|
3
|
-
import { o as a, t as o } from "./incodeComponent-
|
|
4
|
-
import { t as s } from "./spacer-
|
|
5
|
-
import { t as c } from "./page-
|
|
6
|
-
import { n as l } from "./loadingIcon-
|
|
7
|
-
import { t as u } from "./typography-
|
|
8
|
-
import { t as d } from "./transitionSpinner-
|
|
9
|
-
import { t as f } from "./button-
|
|
10
|
-
import { t as p } from "./incodeModule-
|
|
1
|
+
import { n as e } from "./i18n-ntrVdqVv.js";
|
|
2
|
+
import { S as t, _ as n, l as r, v as i } from "./vendor-preact-D6SntenC.js";
|
|
3
|
+
import { o as a, t as o } from "./incodeComponent-DexcYK3Y.js";
|
|
4
|
+
import { t as s } from "./spacer-CN9uvb__.js";
|
|
5
|
+
import { t as c } from "./page-BB20C-zy.js";
|
|
6
|
+
import { n as l } from "./loadingIcon-C-Sq5v_K.js";
|
|
7
|
+
import { t as u } from "./typography-Duug0raB.js";
|
|
8
|
+
import { t as d } from "./transitionSpinner-DqDwaNM6.js";
|
|
9
|
+
import { t as f } from "./button-i4SPU5G7.js";
|
|
10
|
+
import { t as p } from "./incodeModule-CHzKl22Y.js";
|
|
11
11
|
import { createFaceMatchManager as m } from "@incodetech/core/face-match";
|
|
12
12
|
//#region src/shared/snackbar/snackbar.tsx
|
|
13
13
|
var h = ({ variant: e = "neutral", children: t, className: n, ariaLive: r = "polite" }) => /* @__PURE__ */ i("div", {
|
package/dist/flow/flow.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { n as e } from "../i18n-
|
|
2
|
-
import { _ as t, c as n, d as r, l as i, o as a, p as o, v as s } from "../vendor-preact-
|
|
3
|
-
import { t as c } from "../uiConfig-
|
|
4
|
-
import { o as l, t as u } from "../incodeComponent-
|
|
5
|
-
import { t as d } from "../transitionSpinner-
|
|
6
|
-
import { t as f } from "../incodeModule-
|
|
7
|
-
import { a as p, c as m, d as h, i as g, l as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w } from "../useModuleLoader-
|
|
1
|
+
import { n as e } from "../i18n-ntrVdqVv.js";
|
|
2
|
+
import { _ as t, c as n, d as r, l as i, o as a, p as o, v as s } from "../vendor-preact-D6SntenC.js";
|
|
3
|
+
import { t as c } from "../uiConfig-CwpQ-IM6.js";
|
|
4
|
+
import { o as l, t as u } from "../incodeComponent-DexcYK3Y.js";
|
|
5
|
+
import { t as d } from "../transitionSpinner-DqDwaNM6.js";
|
|
6
|
+
import { t as f } from "../incodeModule-CHzKl22Y.js";
|
|
7
|
+
import { a as p, c as m, d as h, i as g, l as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w } from "../useModuleLoader-BHKdXE3w.js";
|
|
8
8
|
import { getDeviceClass as T } from "@incodetech/core/device";
|
|
9
9
|
import { getRequiredWasmPipelines as E } from "@incodetech/core/flow";
|
|
10
10
|
import { QrValidationError as D, bootstrapSession as O, refreshQrUrlUuid as k } from "@incodetech/core/session";
|
|
@@ -230,125 +230,123 @@ function W(e) {
|
|
|
230
230
|
}
|
|
231
231
|
//#endregion
|
|
232
232
|
//#region src/modules/flow/flow.tsx
|
|
233
|
-
var G = n(() => import("../homeScreen-
|
|
234
|
-
let { i18n:
|
|
233
|
+
var G = n(() => import("../homeScreen-Dc3ipd-q.js").then((e) => ({ default: e.HomeScreen }))), K = ({ config: n, onFinish: i, onError: o }) => {
|
|
234
|
+
let { i18n: c } = e(), u = W(r(() => ({
|
|
235
235
|
...n,
|
|
236
|
-
onError:
|
|
237
|
-
}), [n,
|
|
238
|
-
moduleKey:
|
|
236
|
+
onError: o
|
|
237
|
+
}), [n, o])), [f, m] = l(() => u.flowManager, { autoLoad: !1 }), h = f.presentation.lazyModuleKey, _ = f.status === "ready" ? f.currentStep : void 0, y = C({
|
|
238
|
+
moduleKey: h,
|
|
239
239
|
modules: p,
|
|
240
|
-
disableCss: i,
|
|
241
240
|
onModuleLoading: n.onModuleLoading,
|
|
242
241
|
onModuleLoaded: n.onModuleLoaded,
|
|
243
|
-
onError:
|
|
242
|
+
onError: o
|
|
244
243
|
});
|
|
245
244
|
v({
|
|
246
|
-
moduleKey:
|
|
247
|
-
modules: p
|
|
248
|
-
disableCss: i
|
|
245
|
+
moduleKey: f.status === "ready" && f.homeScreen.visible ? _ : void 0,
|
|
246
|
+
modules: p
|
|
249
247
|
});
|
|
250
|
-
let
|
|
251
|
-
x(
|
|
252
|
-
if (n.onFlowEvent) return
|
|
253
|
-
}, [
|
|
254
|
-
|
|
255
|
-
}, [
|
|
256
|
-
n.lang &&
|
|
257
|
-
}, [n.lang,
|
|
258
|
-
if (
|
|
259
|
-
let e =
|
|
248
|
+
let S = y.status === "loaded", T = n.enableHome === !0 && f.status === "ready" && f.flow.disableLaunchScreen !== !0 && f.currentStepIndex === 0 && f.homeScreen.visible === !1 && y.status === "loading", D = A(f.presentation.isAwaitingReady === !0, 150), O = A(f.status === "ready" && (y.status === "idle" || y.status === "loading" || y.status === "error"), 150);
|
|
249
|
+
x(f?.status === "ready" ? f.steps : [], f?.status === "ready" ? f.currentStepIndex : -1, p, S), t(() => {
|
|
250
|
+
if (n.onFlowEvent) return m.subscribeFlowEvent(n.onFlowEvent);
|
|
251
|
+
}, [m, n.onFlowEvent]), t(() => {
|
|
252
|
+
f.presentation.shouldPrefetchHome && w();
|
|
253
|
+
}, [f.presentation.shouldPrefetchHome]), t(() => {
|
|
254
|
+
n.lang && c.language !== n.lang && c.changeLanguage(n.lang);
|
|
255
|
+
}, [n.lang, c]), t(() => {
|
|
256
|
+
if (f?.status !== "ready" || f.currentStep === "REDIRECT_TO_MOBILE") return;
|
|
257
|
+
let e = f, t = E(e.flow);
|
|
260
258
|
t.length > 0 && (n.onWasmWarmup?.(t), b(e, n.wasmConfig));
|
|
261
|
-
}, [
|
|
262
|
-
|
|
259
|
+
}, [f, n]), t(() => {
|
|
260
|
+
f?.status === "finished" && i(f.finishStatus);
|
|
263
261
|
}, [
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
262
|
+
f?.status,
|
|
263
|
+
i,
|
|
264
|
+
f
|
|
267
265
|
]), t(() => {
|
|
268
|
-
|
|
266
|
+
f?.status === "error" && o && o(f.error);
|
|
269
267
|
}, [
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
268
|
+
f?.status,
|
|
269
|
+
o,
|
|
270
|
+
f
|
|
273
271
|
]), t(() => {
|
|
274
|
-
|
|
275
|
-
}, [
|
|
276
|
-
let
|
|
277
|
-
if (
|
|
272
|
+
f?.status === "ready" && f.currentStep === "ID" && f.steps.includes("TUTORIAL_ID") && m.completeModule();
|
|
273
|
+
}, [f, m]);
|
|
274
|
+
let k = !(n.spinnerConfig?.title || n.spinnerConfig?.subtitle);
|
|
275
|
+
if (u.status === "error") return /* @__PURE__ */ s("div", {
|
|
278
276
|
class: "IncodeFlow",
|
|
279
|
-
children: /* @__PURE__ */ s("div", { children: ["Error: ",
|
|
277
|
+
children: /* @__PURE__ */ s("div", { children: ["Error: ", u.error] })
|
|
280
278
|
});
|
|
281
|
-
if (
|
|
279
|
+
if (f.homeScreen.visible || T) return /* @__PURE__ */ s("div", {
|
|
282
280
|
class: "IncodeFlow",
|
|
283
281
|
children: /* @__PURE__ */ s(a, {
|
|
284
282
|
fallback: null,
|
|
285
283
|
children: /* @__PURE__ */ s(G, {
|
|
286
|
-
isContinueLoading:
|
|
287
|
-
onContinue: () =>
|
|
284
|
+
isContinueLoading: f.homeScreen.isContinueLoading || T,
|
|
285
|
+
onContinue: () => m.continueFromHome()
|
|
288
286
|
})
|
|
289
287
|
})
|
|
290
288
|
});
|
|
291
|
-
if (
|
|
289
|
+
if (u.status === "initializing") return /* @__PURE__ */ s("div", {
|
|
292
290
|
class: "IncodeFlow",
|
|
293
291
|
children: /* @__PURE__ */ s(d, {
|
|
294
292
|
spinnerConfig: n.spinnerConfig,
|
|
295
|
-
hideText:
|
|
293
|
+
hideText: k
|
|
296
294
|
})
|
|
297
295
|
});
|
|
298
|
-
if (
|
|
296
|
+
if (f.presentation.isAwaitingReady) return D ? /* @__PURE__ */ s("div", {
|
|
299
297
|
class: "IncodeFlow",
|
|
300
298
|
children: /* @__PURE__ */ s(d, {
|
|
301
299
|
spinnerConfig: n.spinnerConfig,
|
|
302
|
-
hideText:
|
|
300
|
+
hideText: k
|
|
303
301
|
})
|
|
304
302
|
}) : /* @__PURE__ */ s("div", { class: "IncodeFlow" });
|
|
305
|
-
if (
|
|
303
|
+
if (f.status === "error") return /* @__PURE__ */ s("div", {
|
|
306
304
|
class: "IncodeFlow",
|
|
307
|
-
children: /* @__PURE__ */ s("div", { children: ["Error: ",
|
|
305
|
+
children: /* @__PURE__ */ s("div", { children: ["Error: ", f.error] })
|
|
308
306
|
});
|
|
309
|
-
if (
|
|
310
|
-
if (
|
|
311
|
-
let { currentStep: e, config: t, flow: r } =
|
|
307
|
+
if (f.status === "finished") return null;
|
|
308
|
+
if (f?.status === "ready") {
|
|
309
|
+
let { currentStep: e, config: t, flow: r } = f, { flowId: i } = r;
|
|
312
310
|
if (!e || !t) return /* @__PURE__ */ s("div", {
|
|
313
311
|
class: "IncodeFlow",
|
|
314
312
|
children: /* @__PURE__ */ s(d, {
|
|
315
313
|
spinnerConfig: n.spinnerConfig,
|
|
316
|
-
hideText:
|
|
314
|
+
hideText: k
|
|
317
315
|
})
|
|
318
316
|
});
|
|
319
|
-
if (
|
|
317
|
+
if (y.status === "unsupported") return /* @__PURE__ */ s("div", {
|
|
320
318
|
class: "IncodeFlow",
|
|
321
319
|
children: /* @__PURE__ */ s(g, {
|
|
322
320
|
moduleKey: e,
|
|
323
|
-
onNext: () =>
|
|
321
|
+
onNext: () => m.completeModule()
|
|
324
322
|
})
|
|
325
323
|
});
|
|
326
|
-
if (
|
|
324
|
+
if (y.status === "idle" || y.status === "loading" || y.status === "error") return O ? /* @__PURE__ */ s("div", {
|
|
327
325
|
class: "IncodeFlow",
|
|
328
326
|
children: /* @__PURE__ */ s(d, {
|
|
329
327
|
spinnerConfig: n.spinnerConfig,
|
|
330
|
-
hideText:
|
|
328
|
+
hideText: k
|
|
331
329
|
})
|
|
332
330
|
}) : /* @__PURE__ */ s("div", { class: "IncodeFlow" });
|
|
333
|
-
let { Component: a } =
|
|
331
|
+
let { Component: a } = y;
|
|
334
332
|
if (e === "REDIRECT_TO_MOBILE") return /* @__PURE__ */ s("div", {
|
|
335
333
|
class: "IncodeFlow",
|
|
336
334
|
children: /* @__PURE__ */ s(a, {
|
|
337
335
|
config: t,
|
|
338
|
-
onFinish: () =>
|
|
339
|
-
onContinue: () =>
|
|
340
|
-
onError:
|
|
341
|
-
}, `redirect-to-mobile-${
|
|
336
|
+
onFinish: () => m.completeFlow(),
|
|
337
|
+
onContinue: () => m.completeModule(),
|
|
338
|
+
onError: o
|
|
339
|
+
}, `redirect-to-mobile-${f.currentStepIndex}`)
|
|
342
340
|
});
|
|
343
341
|
if (e === "SELFIE") return /* @__PURE__ */ s("div", {
|
|
344
342
|
class: "IncodeFlow",
|
|
345
343
|
children: /* @__PURE__ */ s(a, {
|
|
346
344
|
config: t,
|
|
347
|
-
onFinish: () =>
|
|
345
|
+
onFinish: () => m.completeModule(),
|
|
348
346
|
onError: (e) => {
|
|
349
|
-
|
|
347
|
+
o?.(e ?? "Selfie verification error");
|
|
350
348
|
}
|
|
351
|
-
}, `selfie-${
|
|
349
|
+
}, `selfie-${f.currentStepIndex}`)
|
|
352
350
|
});
|
|
353
351
|
if (e === "AUTHENTICATION") return /* @__PURE__ */ s("div", {
|
|
354
352
|
class: "IncodeFlow",
|
|
@@ -357,21 +355,21 @@ var G = n(() => import("../homeScreen-nNYHPykv.js").then((e) => ({ default: e.Ho
|
|
|
357
355
|
...t,
|
|
358
356
|
authHint: n.authHint
|
|
359
357
|
},
|
|
360
|
-
onFinish: () =>
|
|
358
|
+
onFinish: () => m.completeModule(),
|
|
361
359
|
onError: (e) => {
|
|
362
|
-
|
|
360
|
+
o?.(e ?? "Authentication error");
|
|
363
361
|
}
|
|
364
|
-
}, `authentication-${
|
|
362
|
+
}, `authentication-${f.currentStepIndex}`)
|
|
365
363
|
});
|
|
366
364
|
if (e === "PHONE") return /* @__PURE__ */ s("div", {
|
|
367
365
|
class: "IncodeFlow",
|
|
368
366
|
children: /* @__PURE__ */ s(a, {
|
|
369
367
|
config: t,
|
|
370
|
-
onFinish: () =>
|
|
368
|
+
onFinish: () => m.completeModule(),
|
|
371
369
|
onError: (e) => {
|
|
372
|
-
|
|
370
|
+
o?.(e ?? "Phone verification error");
|
|
373
371
|
}
|
|
374
|
-
}, `phone-${
|
|
372
|
+
}, `phone-${f.currentStepIndex}`)
|
|
375
373
|
});
|
|
376
374
|
if (e === "EMAIL") {
|
|
377
375
|
let e = t;
|
|
@@ -382,11 +380,11 @@ var G = n(() => import("../homeScreen-nNYHPykv.js").then((e) => ({ default: e.Ho
|
|
|
382
380
|
class: "IncodeFlow",
|
|
383
381
|
children: /* @__PURE__ */ s(a, {
|
|
384
382
|
config: e,
|
|
385
|
-
onFinish: () =>
|
|
383
|
+
onFinish: () => m.completeModule(),
|
|
386
384
|
onError: (e) => {
|
|
387
|
-
|
|
385
|
+
o?.(e ?? "Email verification error");
|
|
388
386
|
}
|
|
389
|
-
}, `email-${
|
|
387
|
+
}, `email-${f.currentStepIndex}`)
|
|
390
388
|
});
|
|
391
389
|
}
|
|
392
390
|
if (e === "ID" || e === "SECOND_ID") {
|
|
@@ -398,15 +396,15 @@ var G = n(() => import("../homeScreen-nNYHPykv.js").then((e) => ({ default: e.Ho
|
|
|
398
396
|
...n,
|
|
399
397
|
isSecondId: !0
|
|
400
398
|
} : n,
|
|
401
|
-
onFinish: () =>
|
|
399
|
+
onFinish: () => m.completeModule(),
|
|
402
400
|
onError: (e) => {
|
|
403
|
-
|
|
401
|
+
o?.(e ?? "ID capture error");
|
|
404
402
|
}
|
|
405
|
-
}, `id-${
|
|
403
|
+
}, `id-${f.currentStepIndex}`)
|
|
406
404
|
});
|
|
407
405
|
}
|
|
408
406
|
if (e === "ID_OCR") {
|
|
409
|
-
let e = t, n =
|
|
407
|
+
let e = t, n = f.steps.includes("SECOND_ID");
|
|
410
408
|
return /* @__PURE__ */ s("div", {
|
|
411
409
|
class: "IncodeFlow",
|
|
412
410
|
children: /* @__PURE__ */ s(a, {
|
|
@@ -415,72 +413,72 @@ var G = n(() => import("../homeScreen-nNYHPykv.js").then((e) => ({ default: e.Ho
|
|
|
415
413
|
secondId: e.secondId ?? n,
|
|
416
414
|
flowId: i
|
|
417
415
|
},
|
|
418
|
-
onFinish: () =>
|
|
416
|
+
onFinish: () => m.completeModule(),
|
|
419
417
|
onError: (e) => {
|
|
420
|
-
|
|
418
|
+
o?.(e ?? "ID OCR error");
|
|
421
419
|
}
|
|
422
|
-
}, `id-ocr-${
|
|
420
|
+
}, `id-ocr-${f.currentStepIndex}`)
|
|
423
421
|
});
|
|
424
422
|
}
|
|
425
423
|
if (e === "FACE_MATCH") return /* @__PURE__ */ s("div", {
|
|
426
424
|
class: "IncodeFlow",
|
|
427
425
|
children: /* @__PURE__ */ s(a, {
|
|
428
426
|
config: t,
|
|
429
|
-
onFinish: () =>
|
|
427
|
+
onFinish: () => m.completeModule(),
|
|
430
428
|
onError: (e) => {
|
|
431
|
-
|
|
429
|
+
o?.(e ?? "Face match error");
|
|
432
430
|
}
|
|
433
|
-
}, `face-match-${
|
|
431
|
+
}, `face-match-${f.currentStepIndex}`)
|
|
434
432
|
});
|
|
435
433
|
if (e === "CURP_VALIDATION") return /* @__PURE__ */ s("div", {
|
|
436
434
|
class: "IncodeFlow",
|
|
437
435
|
children: /* @__PURE__ */ s(a, {
|
|
438
436
|
config: t,
|
|
439
|
-
onFinish: () =>
|
|
437
|
+
onFinish: () => m.completeModule(),
|
|
440
438
|
onError: (e) => {
|
|
441
|
-
|
|
439
|
+
o?.(e ?? "CURP validation error");
|
|
442
440
|
}
|
|
443
|
-
}, `curp-validation-${
|
|
441
|
+
}, `curp-validation-${f.currentStepIndex}`)
|
|
444
442
|
});
|
|
445
443
|
if (e === "GOVT_VALIDATION_PROVISIONING") return /* @__PURE__ */ s("div", {
|
|
446
444
|
class: "IncodeFlow",
|
|
447
445
|
children: /* @__PURE__ */ s(a, {
|
|
448
446
|
config: t,
|
|
449
|
-
onFinish: () =>
|
|
447
|
+
onFinish: () => m.completeModule(),
|
|
450
448
|
onError: (e) => {
|
|
451
|
-
|
|
449
|
+
o?.(e ?? "Government validation error");
|
|
452
450
|
}
|
|
453
|
-
}, `govt-validation-${
|
|
451
|
+
}, `govt-validation-${f.currentStepIndex}`)
|
|
454
452
|
});
|
|
455
453
|
if (e === "GEOLOCATION") return /* @__PURE__ */ s("div", {
|
|
456
454
|
class: "IncodeFlow",
|
|
457
455
|
children: /* @__PURE__ */ s(a, {
|
|
458
456
|
config: t,
|
|
459
|
-
onFinish: () =>
|
|
457
|
+
onFinish: () => m.completeModule(),
|
|
460
458
|
onError: (e) => {
|
|
461
|
-
|
|
459
|
+
o?.(e ?? "Geolocation error");
|
|
462
460
|
}
|
|
463
|
-
}, `geolocation-${
|
|
461
|
+
}, `geolocation-${f.currentStepIndex}`)
|
|
464
462
|
});
|
|
465
463
|
if (e === "EXTERNAL_VERIFICATION") return /* @__PURE__ */ s("div", {
|
|
466
464
|
class: "IncodeFlow",
|
|
467
465
|
children: /* @__PURE__ */ s(a, {
|
|
468
|
-
config: { flowId:
|
|
469
|
-
onFinish: () =>
|
|
466
|
+
config: { flowId: f.flow.flowId },
|
|
467
|
+
onFinish: () => m.completeModule(),
|
|
470
468
|
onError: (e) => {
|
|
471
|
-
|
|
469
|
+
o?.(e ?? "External verification error");
|
|
472
470
|
}
|
|
473
|
-
}, `ekyc-${
|
|
471
|
+
}, `ekyc-${f.currentStepIndex}`)
|
|
474
472
|
});
|
|
475
473
|
if (e === "DOCUMENT_CAPTURE") return /* @__PURE__ */ s("div", {
|
|
476
474
|
class: "IncodeFlow",
|
|
477
475
|
children: /* @__PURE__ */ s(a, {
|
|
478
476
|
config: t,
|
|
479
|
-
onFinish: () =>
|
|
477
|
+
onFinish: () => m.completeModule(),
|
|
480
478
|
onError: (e) => {
|
|
481
|
-
|
|
479
|
+
o?.(e ?? "Document capture error");
|
|
482
480
|
}
|
|
483
|
-
}, `document-capture-${
|
|
481
|
+
}, `document-capture-${f.currentStepIndex}`)
|
|
484
482
|
});
|
|
485
483
|
if (e === "ADDRESS") return /* @__PURE__ */ s("div", {
|
|
486
484
|
class: "IncodeFlow",
|
|
@@ -489,21 +487,21 @@ var G = n(() => import("../homeScreen-nNYHPykv.js").then((e) => ({ default: e.Ho
|
|
|
489
487
|
...t,
|
|
490
488
|
processingType: "addressStatement"
|
|
491
489
|
},
|
|
492
|
-
onFinish: () =>
|
|
490
|
+
onFinish: () => m.completeModule(),
|
|
493
491
|
onError: (e) => {
|
|
494
|
-
|
|
492
|
+
o?.(e ?? "Address capture error");
|
|
495
493
|
}
|
|
496
|
-
}, `address-${
|
|
494
|
+
}, `address-${f.currentStepIndex}`)
|
|
497
495
|
});
|
|
498
496
|
if (e === "SIGNATURE") return /* @__PURE__ */ s("div", {
|
|
499
497
|
class: "IncodeFlow",
|
|
500
498
|
children: /* @__PURE__ */ s(a, {
|
|
501
499
|
config: t,
|
|
502
|
-
onFinish: () =>
|
|
500
|
+
onFinish: () => m.completeModule(),
|
|
503
501
|
onError: (e) => {
|
|
504
|
-
|
|
502
|
+
o?.(e ?? "Signature capture error");
|
|
505
503
|
}
|
|
506
|
-
}, `signature-${
|
|
504
|
+
}, `signature-${f.currentStepIndex}`)
|
|
507
505
|
});
|
|
508
506
|
if (e === "EKYB") {
|
|
509
507
|
let e = t;
|
|
@@ -517,32 +515,32 @@ var G = n(() => import("../homeScreen-nNYHPykv.js").then((e) => ({ default: e.Ho
|
|
|
517
515
|
checkTaxId: e.checkTaxId,
|
|
518
516
|
checkUniqueBeneficialOwner: e.checkUniqueBeneficialOwner
|
|
519
517
|
},
|
|
520
|
-
onFinish: () =>
|
|
518
|
+
onFinish: () => m.completeModule(),
|
|
521
519
|
onError: (e) => {
|
|
522
|
-
|
|
520
|
+
o?.(e ?? "eKYB verification error");
|
|
523
521
|
}
|
|
524
|
-
}, `ekyb-${
|
|
522
|
+
}, `ekyb-${f.currentStepIndex}`)
|
|
525
523
|
});
|
|
526
524
|
}
|
|
527
525
|
if (e === "COMBINED_CONSENT") return /* @__PURE__ */ s("div", {
|
|
528
526
|
class: "IncodeFlow",
|
|
529
527
|
children: /* @__PURE__ */ s(a, {
|
|
530
528
|
config: t,
|
|
531
|
-
onFinish: () =>
|
|
529
|
+
onFinish: () => m.completeModule(),
|
|
532
530
|
onError: (e) => {
|
|
533
|
-
|
|
531
|
+
o?.(e ?? "Combined consent error");
|
|
534
532
|
}
|
|
535
|
-
}, `combined-consent-${
|
|
533
|
+
}, `combined-consent-${f.currentStepIndex}`)
|
|
536
534
|
});
|
|
537
535
|
if (e === "MANDATORY_CONSENT") return /* @__PURE__ */ s("div", {
|
|
538
536
|
class: "IncodeFlow",
|
|
539
537
|
children: /* @__PURE__ */ s(a, {
|
|
540
538
|
config: t,
|
|
541
|
-
onFinish: () =>
|
|
539
|
+
onFinish: () => m.completeModule(),
|
|
542
540
|
onError: (e) => {
|
|
543
|
-
|
|
541
|
+
o?.(e ?? "Mandatory consent error");
|
|
544
542
|
}
|
|
545
|
-
}, `mandatory-consent-${
|
|
543
|
+
}, `mandatory-consent-${f.currentStepIndex}`)
|
|
546
544
|
});
|
|
547
545
|
if (e === "AE_SIGNATURE" || e === "QE_SIGNATURE") {
|
|
548
546
|
let n = t, r = e === "QE_SIGNATURE" ? "qe" : "ae";
|
|
@@ -553,74 +551,73 @@ var G = n(() => import("../homeScreen-nNYHPykv.js").then((e) => ({ default: e.Ho
|
|
|
553
551
|
uploadDocument: n.uploadDocument,
|
|
554
552
|
downloadDocument: n.downloadDocument
|
|
555
553
|
},
|
|
556
|
-
onFinish: () =>
|
|
554
|
+
onFinish: () => m.completeModule(),
|
|
557
555
|
onError: (e) => {
|
|
558
|
-
|
|
556
|
+
o?.(e ?? `${r.toUpperCase()} Signature error`);
|
|
559
557
|
}
|
|
560
|
-
}, `${r}-signature-${
|
|
558
|
+
}, `${r}-signature-${f.currentStepIndex}`)
|
|
561
559
|
});
|
|
562
560
|
}
|
|
563
561
|
if (e === "ANTIFRAUD") return /* @__PURE__ */ s("div", {
|
|
564
562
|
class: "IncodeFlow",
|
|
565
563
|
children: /* @__PURE__ */ s(a, {
|
|
566
|
-
onFinish: () =>
|
|
564
|
+
onFinish: () => m.completeModule(),
|
|
567
565
|
onError: (e) => {
|
|
568
|
-
|
|
566
|
+
o?.(e ?? "Antifraud check error");
|
|
569
567
|
}
|
|
570
|
-
}, `antifraud-${
|
|
568
|
+
}, `antifraud-${f.currentStepIndex}`)
|
|
571
569
|
});
|
|
572
570
|
if (e === "CUSTOM_FIELDS") return /* @__PURE__ */ s("div", {
|
|
573
571
|
class: "IncodeFlow",
|
|
574
572
|
children: /* @__PURE__ */ s(a, {
|
|
575
573
|
config: t,
|
|
576
|
-
onFinish: () =>
|
|
574
|
+
onFinish: () => m.completeModule(),
|
|
577
575
|
onError: (e) => {
|
|
578
|
-
|
|
576
|
+
o?.(e ?? "Custom fields error");
|
|
579
577
|
}
|
|
580
|
-
}, `custom-fields-${
|
|
578
|
+
}, `custom-fields-${f.currentStepIndex}`)
|
|
581
579
|
});
|
|
582
580
|
if (e === "WATCHLIST") return /* @__PURE__ */ s("div", {
|
|
583
581
|
class: "IncodeFlow",
|
|
584
582
|
children: /* @__PURE__ */ s(a, {
|
|
585
|
-
onFinish: () =>
|
|
583
|
+
onFinish: () => m.completeModule(),
|
|
586
584
|
onError: (e) => {
|
|
587
|
-
|
|
585
|
+
o?.(e ?? "Watchlist check error");
|
|
588
586
|
}
|
|
589
|
-
}, `watchlist-${
|
|
587
|
+
}, `watchlist-${f.currentStepIndex}`)
|
|
590
588
|
});
|
|
591
589
|
if (e === "WATCHLIST_BUSINESS") return /* @__PURE__ */ s("div", {
|
|
592
590
|
class: "IncodeFlow",
|
|
593
591
|
children: /* @__PURE__ */ s(a, {
|
|
594
|
-
onFinish: () =>
|
|
592
|
+
onFinish: () => m.completeModule(),
|
|
595
593
|
onError: (e) => {
|
|
596
|
-
|
|
594
|
+
o?.(e ?? "Watchlist for business check error");
|
|
597
595
|
}
|
|
598
|
-
}, `watchlist-for-business-${
|
|
596
|
+
}, `watchlist-for-business-${f.currentStepIndex}`)
|
|
599
597
|
});
|
|
600
598
|
if (e === "INCODE_WATCHLIST") return /* @__PURE__ */ s("div", {
|
|
601
599
|
class: "IncodeFlow",
|
|
602
600
|
children: /* @__PURE__ */ s(a, {
|
|
603
601
|
config: t,
|
|
604
|
-
onFinish: () =>
|
|
602
|
+
onFinish: () => m.completeModule(),
|
|
605
603
|
onError: (e) => {
|
|
606
|
-
|
|
604
|
+
o?.(e ?? "Custom watchlist check error");
|
|
607
605
|
}
|
|
608
|
-
}, `incode-watchlist-${
|
|
606
|
+
}, `incode-watchlist-${f.currentStepIndex}`)
|
|
609
607
|
});
|
|
610
608
|
if (e === "CROSS_DOCUMENT_DATA_MATCH") return /* @__PURE__ */ s("div", {
|
|
611
609
|
class: "IncodeFlow",
|
|
612
610
|
children: /* @__PURE__ */ s(a, {
|
|
613
|
-
onFinish: () =>
|
|
611
|
+
onFinish: () => m.completeModule(),
|
|
614
612
|
onError: (e) => {
|
|
615
|
-
|
|
613
|
+
o?.(e ?? "Cross document data match error");
|
|
616
614
|
}
|
|
617
|
-
}, `cross-document-data-match-${
|
|
615
|
+
}, `cross-document-data-match-${f.currentStepIndex}`)
|
|
618
616
|
});
|
|
619
617
|
}
|
|
620
618
|
return null;
|
|
621
|
-
}, q = ({ config: e, onFinish: t = () => {}, onError: n
|
|
619
|
+
}, q = ({ config: e, onFinish: t = () => {}, onError: n }) => /* @__PURE__ */ s(u, { children: e ? /* @__PURE__ */ s(K, {
|
|
622
620
|
config: e,
|
|
623
|
-
disableCss: r,
|
|
624
621
|
onFinish: t,
|
|
625
622
|
onError: n
|
|
626
623
|
}) : null });
|