@incodetech/web 0.0.0-dev-20260429-71d4c48 → 0.0.0-dev-20260429-35afdca

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.
Files changed (160) hide show
  1. package/dist/ae-signature/ae-signature.es.js +3 -3
  2. package/dist/ae-signature-D316IMg7.js +5 -0
  3. package/dist/antifraud/antifraud.es.js +4 -4
  4. package/dist/antifraud-CB-yiVmj.js +5 -0
  5. package/dist/authentication/authentication.es.js +4 -4
  6. package/dist/{back-horizontal-hint-DUuojsev.js → back-horizontal-hint-Rivv4odH.js} +1 -1
  7. package/dist/{back-vertical-hint-CX_hCJhV.js → back-vertical-hint-Bi2GKjAw.js} +1 -1
  8. package/dist/{bottomSheet-BICziA8B.js → bottomSheet-H576o2Ae.js} +2 -2
  9. package/dist/{button-i4SPU5G7.js → button-DXxszYOu.js} +2 -2
  10. package/dist/{checkbox-DSJ1kLyD.js → checkbox-HMGMzcIv.js} +3 -3
  11. package/dist/consent/consent.es.js +10 -10
  12. package/dist/consent-CmVHHfh0.js +5 -0
  13. package/dist/{countrySelector-B3JOaReM.js → countrySelector-DcKjrQye.js} +3 -3
  14. package/dist/cross-document-data-match/cross-document-data-match.es.js +4 -4
  15. package/dist/curp-validation/curp-validation.es.js +16 -16
  16. package/dist/curp-validation-BZu1862x.js +5 -0
  17. package/dist/custom-fields-Dy2zIWk5.js +5 -0
  18. package/dist/{customFields-ClP-OHqQ.js → customFields-D2wZYEIM.js} +13 -13
  19. package/dist/{customWatchlist-DaNMXtkt.js → customWatchlist-qxLVolwh.js} +7 -7
  20. package/dist/dateInputComposed-B1930wH-.js +1 -0
  21. package/dist/{dateInputComposed-BISaNEkl.js → dateInputComposed-B4m_OJ0f.js} +5 -5
  22. package/dist/document-capture-klKhslw_.js +5 -0
  23. package/dist/{documentCapture-BD-LU6Y1.js → documentCapture-Bmnd-HoI.js} +14 -14
  24. package/dist/dropdownComposed-D94RHyH9.js +1 -0
  25. package/dist/{dropdownComposed-D7l5VnKk.js → dropdownComposed-ysrtM_xo.js} +4 -4
  26. package/dist/ekyb/ekyb.es.js +1 -1
  27. package/dist/ekyb-AJ5pLamL.js +5 -0
  28. package/dist/{ekybModule-Ckv1f8aB.js → ekybModule-DvXcZXil.js} +13 -13
  29. package/dist/ekybModule-uLHrvaE0.js +2 -0
  30. package/dist/ekyc/ekyc.es.js +1 -1
  31. package/dist/ekyc-CGHe6KZF.js +5 -0
  32. package/dist/{ekycModule-CCJGIP0u.js → ekycModule-DHpDUapu.js} +14 -14
  33. package/dist/ekycModule-PeVktYEv.js +2 -0
  34. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  35. package/dist/{electronic-signature-nZfD6fzf.js → electronic-signature-C-J7f37B.js} +13 -13
  36. package/dist/electronic-signature-CmWQ5m7Z.js +5 -0
  37. package/dist/email/email.es.js +10 -10
  38. package/dist/email-46LcB-zG.js +5 -0
  39. package/dist/{extensibility-BhOLYPko.js → extensibility-DJ7uJJS5.js} +39 -39
  40. package/dist/extensibility.es.js +24 -24
  41. package/dist/face-match/face-match.es.js +1 -1
  42. package/dist/face-match-fK60MxjZ.js +5 -0
  43. package/dist/faceMatch-B2oadZzM.js +2 -0
  44. package/dist/{faceMatch-BAOj4yMN.js → faceMatch-aulhVGxo.js} +10 -10
  45. package/dist/flow/flow.es.js +139 -136
  46. package/dist/flow/styles.css +174 -4729
  47. package/dist/flow-rPJJbW6T.js +5 -0
  48. package/dist/{formField-B34T3LAe.js → formField-9c3OJwOZ.js} +3 -3
  49. package/dist/{front-horizontal-hint-2RcQjgHE.js → front-horizontal-hint-ECtf7INv.js} +1 -1
  50. package/dist/{front-vertical-hint-CRhiWbkP.js → front-vertical-hint-DBdptGwa.js} +1 -1
  51. package/dist/geolocation/geolocation.es.js +8 -8
  52. package/dist/geolocation-tgDRHF5G.js +5 -0
  53. package/dist/governmentValidation/governmentValidation.es.js +10 -10
  54. package/dist/governmentValidation-CRpowRw3.js +5 -0
  55. package/dist/{homeScreen-Dc3ipd-q.js → homeScreen-nNYHPykv.js} +8 -8
  56. package/dist/{i18n-ntrVdqVv.js → i18n-BNE9nYru.js} +2 -2
  57. package/dist/{icons-Bk44oy5t.js → icons-B9-0K6zx.js} +2 -2
  58. package/dist/id/id.es.js +18 -18
  59. package/dist/id-Czs29YjP.js +5 -0
  60. package/dist/id-ocr-De0CziTg.js +5 -0
  61. package/dist/{idOcr-DyEsmJUm.js → idOcr-DWF6lFjq.js} +11 -11
  62. package/dist/identity-reuse/identity-reuse.es.js +7 -7
  63. package/dist/identity-reuse-DRaYjwgl.js +5 -0
  64. package/dist/{incodeComponent-DexcYK3Y.js → incodeComponent-Bj2iIi3-.js} +2 -2
  65. package/dist/incodeModule-4-Ij3Hzt.js +74 -0
  66. package/dist/index.es.js +2 -2
  67. package/dist/inputComposed-BYIbvEZU.js +1 -0
  68. package/dist/{inputComposed-4aHO5YRK.js → inputComposed-CZYVA9pY.js} +4 -4
  69. package/dist/{loadingIcon-C-Sq5v_K.js → loadingIcon-BWeYwnoO.js} +1 -1
  70. package/dist/mandatory-consent-Cwa_D62s.js +5 -0
  71. package/dist/{mandatoryConsent-OCdxJMmo.js → mandatoryConsent-BxmewvFy.js} +10 -10
  72. package/dist/{modal-dixIN7NV.js → modal-BiHWHzbc.js} +37 -37
  73. package/dist/{modal.hooks-BzIVzVbq.js → modal.hooks-BWHmspKt.js} +1 -1
  74. package/dist/{numberedStep-DDP7_KWo.js → numberedStep-CB41HauU.js} +1 -1
  75. package/dist/{optionAccessibleLabel-DGtiAlUq.js → optionAccessibleLabel-oqe5fTiF.js} +6 -6
  76. package/dist/{otpInput-DgtpWHON.js → otpInput-DxekO34i.js} +6 -6
  77. package/dist/{page-BB20C-zy.js → page-C_Z2vd8q.js} +3 -3
  78. package/dist/{passport-horizontal-hint-CAqrHNYZ.js → passport-horizontal-hint-x0w1qXO5.js} +1 -1
  79. package/dist/{passport-vertical-hint-BHH9yd1n.js → passport-vertical-hint-BoPv9mev.js} +1 -1
  80. package/dist/phone/phone.es.js +10 -10
  81. package/dist/phone-ChAbJlMB.js +5 -0
  82. package/dist/{phoneInput-C8OmjU3_.js → phoneInput-B5mP8vvS.js} +3 -3
  83. package/dist/{phoneInputComposed--GQv3M_5.js → phoneInputComposed-C6mrR5NJ.js} +5 -5
  84. package/dist/{processing-AM48BFTl.js → processing-C1ymzBNJ.js} +2 -2
  85. package/dist/qe-signature/qe-signature.es.js +3 -3
  86. package/dist/qe-signature-C4R5aFPn.js +5 -0
  87. package/dist/{radioButtonComposed-CuKvBI5S.js → radioButtonComposed-yT_6g1qe.js} +3 -3
  88. package/dist/redirect-to-mobile-CEkqbyYW.js +5 -0
  89. package/dist/{redirectToMobile-DfUzha84.js → redirectToMobile-BtsF6N0g.js} +14 -14
  90. package/dist/{richText-FMNMBzjD.js → richText-uERDfLN2.js} +1 -1
  91. package/dist/selfie/selfie.es.js +7 -7
  92. package/dist/selfie-DoBsWHhr.js +5 -0
  93. package/dist/signature/signature.es.js +9 -9
  94. package/dist/signature-CEHAjVar.js +5 -0
  95. package/dist/{spacer-CN9uvb__.js → spacer-DCAl0Mjk.js} +1 -1
  96. package/dist/{spinner-Cj7kdZ0T.js → spinner-DTwtoppQ.js} +4 -4
  97. package/dist/spinner-iH4HWMX6.js +1 -0
  98. package/dist/{statusPage-DUnznjtg.js → statusPage-BTF4FmJT.js} +4 -4
  99. package/dist/{successIcon-SlKgTSty.js → successIcon-COlazRl-.js} +1 -1
  100. package/dist/{tabs-sbbH0u2L.js → tabs-z-X6zD3C.js} +2 -2
  101. package/dist/{transitionSpinner-DqDwaNM6.js → transitionSpinner-C_573zFG.js} +4 -4
  102. package/dist/{tutorial-B2lNnuWv.js → tutorial-DcuYI4JA.js} +15 -15
  103. package/dist/types/ae-signature.d.ts +1 -0
  104. package/dist/types/antifraud.d.ts +1 -0
  105. package/dist/types/authentication.d.ts +1 -0
  106. package/dist/types/consent.d.ts +1 -0
  107. package/dist/types/cross-document-data-match.d.ts +1 -0
  108. package/dist/types/curp-validation.d.ts +1 -0
  109. package/dist/types/ekyb.d.ts +1 -0
  110. package/dist/types/ekyc.d.ts +1 -0
  111. package/dist/types/electronic-signature.d.ts +1 -0
  112. package/dist/types/email.d.ts +1 -0
  113. package/dist/types/extensibility.d.ts +1 -0
  114. package/dist/types/face-match.d.ts +1 -0
  115. package/dist/types/flow.d.ts +1 -0
  116. package/dist/types/geolocation.d.ts +1 -0
  117. package/dist/types/governmentValidation.d.ts +1 -0
  118. package/dist/types/id.d.ts +1 -0
  119. package/dist/types/identity-reuse.d.ts +1 -0
  120. package/dist/types/phone.d.ts +1 -0
  121. package/dist/types/qe-signature.d.ts +1 -0
  122. package/dist/types/selfie.d.ts +1 -0
  123. package/dist/types/signature.d.ts +1 -0
  124. package/dist/types/watchlist.d.ts +1 -0
  125. package/dist/types/workflow.d.ts +1 -0
  126. package/dist/{typography-Duug0raB.js → typography-Dn_SWwB2.js} +2 -2
  127. package/dist/{uiConfig-CwpQ-IM6.js → uiConfig-BfJ9gLl7.js} +1 -1
  128. package/dist/{useModuleLoader-T6BIz-cA.js → useModuleLoader-bEVfQbmU.js} +188 -169
  129. package/dist/{vendor-preact-D6SntenC.js → vendor-preact-DYq0_Qbr.js} +1 -1
  130. package/dist/{verificationResult-DTfsw2w2.js → verificationResult-1XSMhl4d.js} +8 -8
  131. package/dist/{verifiedByIncode-CiuBhYBD.js → verifiedByIncode-aGOV-V9q.js} +2 -2
  132. package/dist/watchlist/watchlist.es.js +7 -7
  133. package/dist/watchlist-BdGy5gvP.js +5 -0
  134. package/dist/watchlist-for-business-CubjHodP.js +5 -0
  135. package/dist/{watchlistForBusiness-DirZZuYu.js → watchlistForBusiness-C_i_7Z6J.js} +11 -11
  136. package/dist/workflow/workflow.es.js +50 -51
  137. package/dist/workflow-nsiRkTFR.js +5 -0
  138. package/package.json +2 -2
  139. package/dist/dateInputComposed-DdtZcsfQ.js +0 -1
  140. package/dist/dropdownComposed-C6mYVe2K.js +0 -1
  141. package/dist/ekybModule-pKz3HZFJ.js +0 -2
  142. package/dist/ekycModule-B_pmX3EX.js +0 -2
  143. package/dist/faceMatch-CsBQRvhN.js +0 -2
  144. package/dist/incodeModule-CHzKl22Y.js +0 -18
  145. package/dist/inputComposed-vYWGxUXH.js +0 -1
  146. package/dist/spinner-BYktSnQZ.js +0 -1
  147. /package/dist/{aligndevicelottie-m1gBGZsQ.js → aligndevicelottie-DuYKqFRv.js} +0 -0
  148. /package/dist/{back-tutorial-ClQ08AWx.js → back-tutorial-BveT-Gpg.js} +0 -0
  149. /package/dist/{backdevicelottie-WEvEwLBA.js → backdevicelottie-CVSnQFM6.js} +0 -0
  150. /package/dist/{blurdevicelottie-BNBU2EIM.js → blurdevicelottie-DXyCiuOu.js} +0 -0
  151. /package/dist/{browser-ponyfill-DRrmY6DO.js → browser-ponyfill-Dz8mnsAS.js} +0 -0
  152. /package/dist/{flip-animation-Tm2zxXjs.js → flip-animation-CpYPskQi.js} +0 -0
  153. /package/dist/{frontdevicelottie-BtbZEtwd.js → frontdevicelottie-7OcabHg2.js} +0 -0
  154. /package/dist/{glaredevicelottie-CGQ0DCXc.js → glaredevicelottie-CU-7f-1E.js} +0 -0
  155. /package/dist/{id-laser-h-oGOFXEpO.js → id-laser-h-DVprNART.js} +0 -0
  156. /package/dist/{id-laser-v-DfWJik9l.js → id-laser-v-DHSmrhm6.js} +0 -0
  157. /package/dist/{id-tutorial-C4q-3j3J.js → id-tutorial-DC_FMKi3.js} +0 -0
  158. /package/dist/{passport-tutorial-DhEHJZeD.js → passport-tutorial-DglDEWHt.js} +0 -0
  159. /package/dist/{pdf-DmP3zO_j.js → pdf-CbjnpyBF.js} +0 -0
  160. /package/dist/{selfieTutorial-D8I_4Oam.js → selfieTutorial-Cssu-Gmy.js} +0 -0
@@ -1,10 +1,10 @@
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-T6BIz-cA.js";
1
+ import { n as e } from "../i18n-BNE9nYru.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-DYq0_Qbr.js";
3
+ import { t as c } from "../uiConfig-BfJ9gLl7.js";
4
+ import { o as l, t as u } from "../incodeComponent-Bj2iIi3-.js";
5
+ import { t as d } from "../transitionSpinner-C_573zFG.js";
6
+ import { t as f } from "../incodeModule-4-Ij3Hzt.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-bEVfQbmU.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,123 +230,125 @@ function W(e) {
230
230
  }
231
231
  //#endregion
232
232
  //#region src/modules/flow/flow.tsx
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(() => ({
233
+ var G = n(() => import("../homeScreen-nNYHPykv.js").then((e) => ({ default: e.HomeScreen }))), K = ({ config: n, disableCss: i, onFinish: o, onError: c }) => {
234
+ let { i18n: u } = e(), f = W(r(() => ({
235
235
  ...n,
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,
236
+ onError: c
237
+ }), [n, c])), [m, h] = l(() => f.flowManager, { autoLoad: !1 }), _ = m.presentation.lazyModuleKey, y = m.status === "ready" ? m.currentStep : void 0, S = C({
238
+ moduleKey: _,
239
239
  modules: p,
240
+ disableCss: i,
240
241
  onModuleLoading: n.onModuleLoading,
241
242
  onModuleLoaded: n.onModuleLoaded,
242
- onError: o
243
+ onError: c
243
244
  });
244
245
  v({
245
- moduleKey: f.status === "ready" && f.homeScreen.visible ? _ : void 0,
246
- modules: p
246
+ moduleKey: m.status === "ready" && m.homeScreen.visible ? y : void 0,
247
+ modules: p,
248
+ disableCss: i
247
249
  });
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);
250
+ let T = S.status === "loaded", D = n.enableHome === !0 && m.status === "ready" && m.flow.disableLaunchScreen !== !0 && m.currentStepIndex === 0 && m.homeScreen.visible === !1 && S.status === "loading", O = A(m.presentation.isAwaitingReady === !0, 150), k = A(m.status === "ready" && (S.status === "idle" || S.status === "loading" || S.status === "error"), 150);
251
+ x(m?.status === "ready" ? m.steps : [], m?.status === "ready" ? m.currentStepIndex : -1, p, T, i), t(() => {
252
+ if (n.onFlowEvent) return h.subscribeFlowEvent(n.onFlowEvent);
253
+ }, [h, n.onFlowEvent]), t(() => {
254
+ m.presentation.shouldPrefetchHome && w();
255
+ }, [m.presentation.shouldPrefetchHome]), t(() => {
256
+ n.lang && u.language !== n.lang && u.changeLanguage(n.lang);
257
+ }, [n.lang, u]), t(() => {
258
+ if (m?.status !== "ready" || m.currentStep === "REDIRECT_TO_MOBILE") return;
259
+ let e = m, t = E(e.flow);
258
260
  t.length > 0 && (n.onWasmWarmup?.(t), b(e, n.wasmConfig));
259
- }, [f, n]), t(() => {
260
- f?.status === "finished" && i(f.finishStatus);
261
+ }, [m, n]), t(() => {
262
+ m?.status === "finished" && o(m.finishStatus);
261
263
  }, [
262
- f?.status,
263
- i,
264
- f
264
+ m?.status,
265
+ o,
266
+ m
265
267
  ]), t(() => {
266
- f?.status === "error" && o && o(f.error);
268
+ m?.status === "error" && c && c(m.error);
267
269
  }, [
268
- f?.status,
269
- o,
270
- f
270
+ m?.status,
271
+ c,
272
+ m
271
273
  ]), t(() => {
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", {
274
+ m?.status === "ready" && m.currentStep === "ID" && m.steps.includes("TUTORIAL_ID") && h.completeModule();
275
+ }, [m, h]);
276
+ let j = !(n.spinnerConfig?.title || n.spinnerConfig?.subtitle);
277
+ if (f.status === "error") return /* @__PURE__ */ s("div", {
276
278
  class: "IncodeFlow",
277
- children: /* @__PURE__ */ s("div", { children: ["Error: ", u.error] })
279
+ children: /* @__PURE__ */ s("div", { children: ["Error: ", f.error] })
278
280
  });
279
- if (f.homeScreen.visible || T) return /* @__PURE__ */ s("div", {
281
+ if (m.homeScreen.visible || D) return /* @__PURE__ */ s("div", {
280
282
  class: "IncodeFlow",
281
283
  children: /* @__PURE__ */ s(a, {
282
284
  fallback: null,
283
285
  children: /* @__PURE__ */ s(G, {
284
- isContinueLoading: f.homeScreen.isContinueLoading || T,
285
- onContinue: () => m.continueFromHome()
286
+ isContinueLoading: m.homeScreen.isContinueLoading || D,
287
+ onContinue: () => h.continueFromHome()
286
288
  })
287
289
  })
288
290
  });
289
- if (u.status === "initializing") return /* @__PURE__ */ s("div", {
291
+ if (f.status === "initializing") return /* @__PURE__ */ s("div", {
290
292
  class: "IncodeFlow",
291
293
  children: /* @__PURE__ */ s(d, {
292
294
  spinnerConfig: n.spinnerConfig,
293
- hideText: k
295
+ hideText: j
294
296
  })
295
297
  });
296
- if (f.presentation.isAwaitingReady) return D ? /* @__PURE__ */ s("div", {
298
+ if (m.presentation.isAwaitingReady) return O ? /* @__PURE__ */ s("div", {
297
299
  class: "IncodeFlow",
298
300
  children: /* @__PURE__ */ s(d, {
299
301
  spinnerConfig: n.spinnerConfig,
300
- hideText: k
302
+ hideText: j
301
303
  })
302
304
  }) : /* @__PURE__ */ s("div", { class: "IncodeFlow" });
303
- if (f.status === "error") return /* @__PURE__ */ s("div", {
305
+ if (m.status === "error") return /* @__PURE__ */ s("div", {
304
306
  class: "IncodeFlow",
305
- children: /* @__PURE__ */ s("div", { children: ["Error: ", f.error] })
307
+ children: /* @__PURE__ */ s("div", { children: ["Error: ", m.error] })
306
308
  });
307
- if (f.status === "finished") return null;
308
- if (f?.status === "ready") {
309
- let { currentStep: e, config: t, flow: r } = f, { flowId: i } = r;
309
+ if (m.status === "finished") return null;
310
+ if (m?.status === "ready") {
311
+ let { currentStep: e, config: t, flow: r } = m, { flowId: i } = r;
310
312
  if (!e || !t) return /* @__PURE__ */ s("div", {
311
313
  class: "IncodeFlow",
312
314
  children: /* @__PURE__ */ s(d, {
313
315
  spinnerConfig: n.spinnerConfig,
314
- hideText: k
316
+ hideText: j
315
317
  })
316
318
  });
317
- if (y.status === "unsupported") return /* @__PURE__ */ s("div", {
319
+ if (S.status === "unsupported") return /* @__PURE__ */ s("div", {
318
320
  class: "IncodeFlow",
319
321
  children: /* @__PURE__ */ s(g, {
320
322
  moduleKey: e,
321
- onNext: () => m.completeModule()
323
+ onNext: () => h.completeModule()
322
324
  })
323
325
  });
324
- if (y.status === "idle" || y.status === "loading" || y.status === "error") return O ? /* @__PURE__ */ s("div", {
326
+ if (S.status === "idle" || S.status === "loading" || S.status === "error") return k ? /* @__PURE__ */ s("div", {
325
327
  class: "IncodeFlow",
326
328
  children: /* @__PURE__ */ s(d, {
327
329
  spinnerConfig: n.spinnerConfig,
328
- hideText: k
330
+ hideText: j
329
331
  })
330
332
  }) : /* @__PURE__ */ s("div", { class: "IncodeFlow" });
331
- let { Component: a } = y;
333
+ let { Component: a } = S;
332
334
  if (e === "REDIRECT_TO_MOBILE") return /* @__PURE__ */ s("div", {
333
335
  class: "IncodeFlow",
334
336
  children: /* @__PURE__ */ s(a, {
335
337
  config: t,
336
- onFinish: () => m.completeFlow(),
337
- onContinue: () => m.completeModule(),
338
- onError: o
339
- }, `redirect-to-mobile-${f.currentStepIndex}`)
338
+ onFinish: () => h.completeFlow(),
339
+ onContinue: () => h.completeModule(),
340
+ onError: c
341
+ }, `redirect-to-mobile-${m.currentStepIndex}`)
340
342
  });
341
343
  if (e === "SELFIE") return /* @__PURE__ */ s("div", {
342
344
  class: "IncodeFlow",
343
345
  children: /* @__PURE__ */ s(a, {
344
346
  config: t,
345
- onFinish: () => m.completeModule(),
347
+ onFinish: () => h.completeModule(),
346
348
  onError: (e) => {
347
- o?.(e ?? "Selfie verification error");
349
+ c?.(e ?? "Selfie verification error");
348
350
  }
349
- }, `selfie-${f.currentStepIndex}`)
351
+ }, `selfie-${m.currentStepIndex}`)
350
352
  });
351
353
  if (e === "AUTHENTICATION") return /* @__PURE__ */ s("div", {
352
354
  class: "IncodeFlow",
@@ -355,21 +357,21 @@ var G = n(() => import("../homeScreen-Dc3ipd-q.js").then((e) => ({ default: e.Ho
355
357
  ...t,
356
358
  authHint: n.authHint
357
359
  },
358
- onFinish: () => m.completeModule(),
360
+ onFinish: () => h.completeModule(),
359
361
  onError: (e) => {
360
- o?.(e ?? "Authentication error");
362
+ c?.(e ?? "Authentication error");
361
363
  }
362
- }, `authentication-${f.currentStepIndex}`)
364
+ }, `authentication-${m.currentStepIndex}`)
363
365
  });
364
366
  if (e === "PHONE") return /* @__PURE__ */ s("div", {
365
367
  class: "IncodeFlow",
366
368
  children: /* @__PURE__ */ s(a, {
367
369
  config: t,
368
- onFinish: () => m.completeModule(),
370
+ onFinish: () => h.completeModule(),
369
371
  onError: (e) => {
370
- o?.(e ?? "Phone verification error");
372
+ c?.(e ?? "Phone verification error");
371
373
  }
372
- }, `phone-${f.currentStepIndex}`)
374
+ }, `phone-${m.currentStepIndex}`)
373
375
  });
374
376
  if (e === "EMAIL") {
375
377
  let e = t;
@@ -380,11 +382,11 @@ var G = n(() => import("../homeScreen-Dc3ipd-q.js").then((e) => ({ default: e.Ho
380
382
  class: "IncodeFlow",
381
383
  children: /* @__PURE__ */ s(a, {
382
384
  config: e,
383
- onFinish: () => m.completeModule(),
385
+ onFinish: () => h.completeModule(),
384
386
  onError: (e) => {
385
- o?.(e ?? "Email verification error");
387
+ c?.(e ?? "Email verification error");
386
388
  }
387
- }, `email-${f.currentStepIndex}`)
389
+ }, `email-${m.currentStepIndex}`)
388
390
  });
389
391
  }
390
392
  if (e === "ID" || e === "SECOND_ID") {
@@ -396,15 +398,15 @@ var G = n(() => import("../homeScreen-Dc3ipd-q.js").then((e) => ({ default: e.Ho
396
398
  ...n,
397
399
  isSecondId: !0
398
400
  } : n,
399
- onFinish: () => m.completeModule(),
401
+ onFinish: () => h.completeModule(),
400
402
  onError: (e) => {
401
- o?.(e ?? "ID capture error");
403
+ c?.(e ?? "ID capture error");
402
404
  }
403
- }, `id-${f.currentStepIndex}`)
405
+ }, `id-${m.currentStepIndex}`)
404
406
  });
405
407
  }
406
408
  if (e === "ID_OCR") {
407
- let e = t, n = f.steps.includes("SECOND_ID");
409
+ let e = t, n = m.steps.includes("SECOND_ID");
408
410
  return /* @__PURE__ */ s("div", {
409
411
  class: "IncodeFlow",
410
412
  children: /* @__PURE__ */ s(a, {
@@ -413,72 +415,72 @@ var G = n(() => import("../homeScreen-Dc3ipd-q.js").then((e) => ({ default: e.Ho
413
415
  secondId: e.secondId ?? n,
414
416
  flowId: i
415
417
  },
416
- onFinish: () => m.completeModule(),
418
+ onFinish: () => h.completeModule(),
417
419
  onError: (e) => {
418
- o?.(e ?? "ID OCR error");
420
+ c?.(e ?? "ID OCR error");
419
421
  }
420
- }, `id-ocr-${f.currentStepIndex}`)
422
+ }, `id-ocr-${m.currentStepIndex}`)
421
423
  });
422
424
  }
423
425
  if (e === "FACE_MATCH") return /* @__PURE__ */ s("div", {
424
426
  class: "IncodeFlow",
425
427
  children: /* @__PURE__ */ s(a, {
426
428
  config: t,
427
- onFinish: () => m.completeModule(),
429
+ onFinish: () => h.completeModule(),
428
430
  onError: (e) => {
429
- o?.(e ?? "Face match error");
431
+ c?.(e ?? "Face match error");
430
432
  }
431
- }, `face-match-${f.currentStepIndex}`)
433
+ }, `face-match-${m.currentStepIndex}`)
432
434
  });
433
435
  if (e === "CURP_VALIDATION") return /* @__PURE__ */ s("div", {
434
436
  class: "IncodeFlow",
435
437
  children: /* @__PURE__ */ s(a, {
436
438
  config: t,
437
- onFinish: () => m.completeModule(),
439
+ onFinish: () => h.completeModule(),
438
440
  onError: (e) => {
439
- o?.(e ?? "CURP validation error");
441
+ c?.(e ?? "CURP validation error");
440
442
  }
441
- }, `curp-validation-${f.currentStepIndex}`)
443
+ }, `curp-validation-${m.currentStepIndex}`)
442
444
  });
443
445
  if (e === "GOVT_VALIDATION_PROVISIONING") return /* @__PURE__ */ s("div", {
444
446
  class: "IncodeFlow",
445
447
  children: /* @__PURE__ */ s(a, {
446
448
  config: t,
447
- onFinish: () => m.completeModule(),
449
+ onFinish: () => h.completeModule(),
448
450
  onError: (e) => {
449
- o?.(e ?? "Government validation error");
451
+ c?.(e ?? "Government validation error");
450
452
  }
451
- }, `govt-validation-${f.currentStepIndex}`)
453
+ }, `govt-validation-${m.currentStepIndex}`)
452
454
  });
453
455
  if (e === "GEOLOCATION") return /* @__PURE__ */ s("div", {
454
456
  class: "IncodeFlow",
455
457
  children: /* @__PURE__ */ s(a, {
456
458
  config: t,
457
- onFinish: () => m.completeModule(),
459
+ onFinish: () => h.completeModule(),
458
460
  onError: (e) => {
459
- o?.(e ?? "Geolocation error");
461
+ c?.(e ?? "Geolocation error");
460
462
  }
461
- }, `geolocation-${f.currentStepIndex}`)
463
+ }, `geolocation-${m.currentStepIndex}`)
462
464
  });
463
465
  if (e === "EXTERNAL_VERIFICATION") return /* @__PURE__ */ s("div", {
464
466
  class: "IncodeFlow",
465
467
  children: /* @__PURE__ */ s(a, {
466
- config: { flowId: f.flow.flowId },
467
- onFinish: () => m.completeModule(),
468
+ config: { flowId: m.flow.flowId },
469
+ onFinish: () => h.completeModule(),
468
470
  onError: (e) => {
469
- o?.(e ?? "External verification error");
471
+ c?.(e ?? "External verification error");
470
472
  }
471
- }, `ekyc-${f.currentStepIndex}`)
473
+ }, `ekyc-${m.currentStepIndex}`)
472
474
  });
473
475
  if (e === "DOCUMENT_CAPTURE") return /* @__PURE__ */ s("div", {
474
476
  class: "IncodeFlow",
475
477
  children: /* @__PURE__ */ s(a, {
476
478
  config: t,
477
- onFinish: () => m.completeModule(),
479
+ onFinish: () => h.completeModule(),
478
480
  onError: (e) => {
479
- o?.(e ?? "Document capture error");
481
+ c?.(e ?? "Document capture error");
480
482
  }
481
- }, `document-capture-${f.currentStepIndex}`)
483
+ }, `document-capture-${m.currentStepIndex}`)
482
484
  });
483
485
  if (e === "ADDRESS") return /* @__PURE__ */ s("div", {
484
486
  class: "IncodeFlow",
@@ -487,21 +489,21 @@ var G = n(() => import("../homeScreen-Dc3ipd-q.js").then((e) => ({ default: e.Ho
487
489
  ...t,
488
490
  processingType: "addressStatement"
489
491
  },
490
- onFinish: () => m.completeModule(),
492
+ onFinish: () => h.completeModule(),
491
493
  onError: (e) => {
492
- o?.(e ?? "Address capture error");
494
+ c?.(e ?? "Address capture error");
493
495
  }
494
- }, `address-${f.currentStepIndex}`)
496
+ }, `address-${m.currentStepIndex}`)
495
497
  });
496
498
  if (e === "SIGNATURE") return /* @__PURE__ */ s("div", {
497
499
  class: "IncodeFlow",
498
500
  children: /* @__PURE__ */ s(a, {
499
501
  config: t,
500
- onFinish: () => m.completeModule(),
502
+ onFinish: () => h.completeModule(),
501
503
  onError: (e) => {
502
- o?.(e ?? "Signature capture error");
504
+ c?.(e ?? "Signature capture error");
503
505
  }
504
- }, `signature-${f.currentStepIndex}`)
506
+ }, `signature-${m.currentStepIndex}`)
505
507
  });
506
508
  if (e === "EKYB") {
507
509
  let e = t;
@@ -515,32 +517,32 @@ var G = n(() => import("../homeScreen-Dc3ipd-q.js").then((e) => ({ default: e.Ho
515
517
  checkTaxId: e.checkTaxId,
516
518
  checkUniqueBeneficialOwner: e.checkUniqueBeneficialOwner
517
519
  },
518
- onFinish: () => m.completeModule(),
520
+ onFinish: () => h.completeModule(),
519
521
  onError: (e) => {
520
- o?.(e ?? "eKYB verification error");
522
+ c?.(e ?? "eKYB verification error");
521
523
  }
522
- }, `ekyb-${f.currentStepIndex}`)
524
+ }, `ekyb-${m.currentStepIndex}`)
523
525
  });
524
526
  }
525
527
  if (e === "COMBINED_CONSENT") return /* @__PURE__ */ s("div", {
526
528
  class: "IncodeFlow",
527
529
  children: /* @__PURE__ */ s(a, {
528
530
  config: t,
529
- onFinish: () => m.completeModule(),
531
+ onFinish: () => h.completeModule(),
530
532
  onError: (e) => {
531
- o?.(e ?? "Combined consent error");
533
+ c?.(e ?? "Combined consent error");
532
534
  }
533
- }, `combined-consent-${f.currentStepIndex}`)
535
+ }, `combined-consent-${m.currentStepIndex}`)
534
536
  });
535
537
  if (e === "MANDATORY_CONSENT") return /* @__PURE__ */ s("div", {
536
538
  class: "IncodeFlow",
537
539
  children: /* @__PURE__ */ s(a, {
538
540
  config: t,
539
- onFinish: () => m.completeModule(),
541
+ onFinish: () => h.completeModule(),
540
542
  onError: (e) => {
541
- o?.(e ?? "Mandatory consent error");
543
+ c?.(e ?? "Mandatory consent error");
542
544
  }
543
- }, `mandatory-consent-${f.currentStepIndex}`)
545
+ }, `mandatory-consent-${m.currentStepIndex}`)
544
546
  });
545
547
  if (e === "AE_SIGNATURE" || e === "QE_SIGNATURE") {
546
548
  let n = t, r = e === "QE_SIGNATURE" ? "qe" : "ae";
@@ -551,73 +553,74 @@ var G = n(() => import("../homeScreen-Dc3ipd-q.js").then((e) => ({ default: e.Ho
551
553
  uploadDocument: n.uploadDocument,
552
554
  downloadDocument: n.downloadDocument
553
555
  },
554
- onFinish: () => m.completeModule(),
556
+ onFinish: () => h.completeModule(),
555
557
  onError: (e) => {
556
- o?.(e ?? `${r.toUpperCase()} Signature error`);
558
+ c?.(e ?? `${r.toUpperCase()} Signature error`);
557
559
  }
558
- }, `${r}-signature-${f.currentStepIndex}`)
560
+ }, `${r}-signature-${m.currentStepIndex}`)
559
561
  });
560
562
  }
561
563
  if (e === "ANTIFRAUD") return /* @__PURE__ */ s("div", {
562
564
  class: "IncodeFlow",
563
565
  children: /* @__PURE__ */ s(a, {
564
- onFinish: () => m.completeModule(),
566
+ onFinish: () => h.completeModule(),
565
567
  onError: (e) => {
566
- o?.(e ?? "Antifraud check error");
568
+ c?.(e ?? "Antifraud check error");
567
569
  }
568
- }, `antifraud-${f.currentStepIndex}`)
570
+ }, `antifraud-${m.currentStepIndex}`)
569
571
  });
570
572
  if (e === "CUSTOM_FIELDS") return /* @__PURE__ */ s("div", {
571
573
  class: "IncodeFlow",
572
574
  children: /* @__PURE__ */ s(a, {
573
575
  config: t,
574
- onFinish: () => m.completeModule(),
576
+ onFinish: () => h.completeModule(),
575
577
  onError: (e) => {
576
- o?.(e ?? "Custom fields error");
578
+ c?.(e ?? "Custom fields error");
577
579
  }
578
- }, `custom-fields-${f.currentStepIndex}`)
580
+ }, `custom-fields-${m.currentStepIndex}`)
579
581
  });
580
582
  if (e === "WATCHLIST") return /* @__PURE__ */ s("div", {
581
583
  class: "IncodeFlow",
582
584
  children: /* @__PURE__ */ s(a, {
583
- onFinish: () => m.completeModule(),
585
+ onFinish: () => h.completeModule(),
584
586
  onError: (e) => {
585
- o?.(e ?? "Watchlist check error");
587
+ c?.(e ?? "Watchlist check error");
586
588
  }
587
- }, `watchlist-${f.currentStepIndex}`)
589
+ }, `watchlist-${m.currentStepIndex}`)
588
590
  });
589
591
  if (e === "WATCHLIST_BUSINESS") return /* @__PURE__ */ s("div", {
590
592
  class: "IncodeFlow",
591
593
  children: /* @__PURE__ */ s(a, {
592
- onFinish: () => m.completeModule(),
594
+ onFinish: () => h.completeModule(),
593
595
  onError: (e) => {
594
- o?.(e ?? "Watchlist for business check error");
596
+ c?.(e ?? "Watchlist for business check error");
595
597
  }
596
- }, `watchlist-for-business-${f.currentStepIndex}`)
598
+ }, `watchlist-for-business-${m.currentStepIndex}`)
597
599
  });
598
600
  if (e === "INCODE_WATCHLIST") return /* @__PURE__ */ s("div", {
599
601
  class: "IncodeFlow",
600
602
  children: /* @__PURE__ */ s(a, {
601
603
  config: t,
602
- onFinish: () => m.completeModule(),
604
+ onFinish: () => h.completeModule(),
603
605
  onError: (e) => {
604
- o?.(e ?? "Custom watchlist check error");
606
+ c?.(e ?? "Custom watchlist check error");
605
607
  }
606
- }, `incode-watchlist-${f.currentStepIndex}`)
608
+ }, `incode-watchlist-${m.currentStepIndex}`)
607
609
  });
608
610
  if (e === "CROSS_DOCUMENT_DATA_MATCH") return /* @__PURE__ */ s("div", {
609
611
  class: "IncodeFlow",
610
612
  children: /* @__PURE__ */ s(a, {
611
- onFinish: () => m.completeModule(),
613
+ onFinish: () => h.completeModule(),
612
614
  onError: (e) => {
613
- o?.(e ?? "Cross document data match error");
615
+ c?.(e ?? "Cross document data match error");
614
616
  }
615
- }, `cross-document-data-match-${f.currentStepIndex}`)
617
+ }, `cross-document-data-match-${m.currentStepIndex}`)
616
618
  });
617
619
  }
618
620
  return null;
619
- }, q = ({ config: e, onFinish: t = () => {}, onError: n }) => /* @__PURE__ */ s(u, { children: e ? /* @__PURE__ */ s(K, {
621
+ }, q = ({ config: e, onFinish: t = () => {}, onError: n, disableCss: r }) => /* @__PURE__ */ s(u, { children: e ? /* @__PURE__ */ s(K, {
620
622
  config: e,
623
+ disableCss: r,
621
624
  onFinish: t,
622
625
  onError: n
623
626
  }) : null });