@incodetech/web 0.0.0-dev-20260413-de45fd6 → 0.0.0-dev-20260414-db434be

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 (106) hide show
  1. package/dist/{AsYouType-RC03ULcj.js → AsYouType-B4o16RK-.js} +1 -1
  2. package/dist/{addressAutocomplete-BzKQlke5.js → addressAutocomplete-clIKNkjY.js} +4 -4
  3. package/dist/antifraud/antifraud.es.js +3 -3
  4. package/dist/authentication/authentication.es.js +3 -3
  5. package/dist/{button-Dt72Wn3U.js → button-jwSm4U5l.js} +1 -1
  6. package/dist/{checkbox-BcJjkRs3.js → checkbox-wWm8XoSW.js} +2 -2
  7. package/dist/consent/consent.es.js +8 -8
  8. package/dist/cross-document-data-match/cross-document-data-match.es.js +3 -3
  9. package/dist/curp-validation/curp-validation.es.js +13 -12
  10. package/dist/{dateInputComposed-wl-LTsul.js → dateInputComposed-B8M1S8IE.js} +4 -4
  11. package/dist/dateInputComposed-CMXsd3e8.js +1 -0
  12. package/dist/{documentCapture-Dq3f3k8G.js → documentCapture-C-BU1TtU.js} +65 -64
  13. package/dist/{dropdownComposed-C2cDpZSB.js → dropdownComposed-B7Rf3npJ.js} +3 -3
  14. package/dist/dropdownComposed-CxqviEIA.js +1 -0
  15. package/dist/ekyb/ekyb.es.js +1 -1
  16. package/dist/{ekybModule-BYVTPcyc.js → ekybModule-BsOrYRG0.js} +12 -12
  17. package/dist/ekybModule-sjS57QPL.js +2 -0
  18. package/dist/ekyc/ekyc.es.js +1 -1
  19. package/dist/{ekycModule-B1lCL9iB.js → ekycModule-_vdfs1a4.js} +17 -17
  20. package/dist/ekycModule-kRl81T6E.js +2 -0
  21. package/dist/email/email.es.js +7 -7
  22. package/dist/{extensibility-CmPLnDak.js → extensibility-tO37wsbP.js} +94 -92
  23. package/dist/extensibility.es.js +19 -19
  24. package/dist/face-match/face-match.es.js +1 -1
  25. package/dist/{faceMatch-DZckqChs.js → faceMatch-D1GjnGfn.js} +5 -5
  26. package/dist/faceMatch-DUwmH-m0.js +2 -0
  27. package/dist/flow/flow.es.js +53 -31
  28. package/dist/flow/styles.css +383 -0
  29. package/dist/{formField-_F-aIXct.js → formField-CZ3jGB7v.js} +6 -6
  30. package/dist/geolocation/geolocation.es.js +5 -5
  31. package/dist/governmentValidation/governmentValidation.es.js +8 -8
  32. package/dist/home/home.es.js +127 -0
  33. package/dist/home/styles.css +172 -0
  34. package/dist/{i18n-DGG1zc7t.js → i18n-BpEDCZi_.js} +264 -173
  35. package/dist/{icons-CkLer5E1.js → icons-BQHZM1UW.js} +1 -1
  36. package/dist/id/id.es.js +6 -6
  37. package/dist/identity-reuse/identity-reuse.es.js +5 -5
  38. package/dist/{loadingIcon-B3xEpDvA.js → incodeComponent-DIb7wDAq.js} +2 -42
  39. package/dist/index.es.js +1 -1
  40. package/dist/{inputComposed-yULlZXg1.js → inputComposed-CE-pW9An.js} +3 -3
  41. package/dist/inputComposed-CQ1wB4Ic.js +1 -0
  42. package/dist/language-BWPDK42W.js +50 -0
  43. package/dist/loadingIcon-YV3D_mg8.js +42 -0
  44. package/dist/{mandatoryConsent-2R7jBWsg.js → mandatoryConsent-BHSXliQf.js} +8 -8
  45. package/dist/{otpInput-2FjlqNe0.js → otpInput-CmaZThVX.js} +4 -4
  46. package/dist/phone/phone.es.js +7 -7
  47. package/dist/{phoneInput-CYbUN3oz.js → phoneInput-BZ2_X-FN.js} +3 -3
  48. package/dist/{phoneInputComposed-CkL_nMPT.js → phoneInputComposed-DjoMRkpP.js} +6 -6
  49. package/dist/{processing-DQZbnwZT.js → processing-DzUxOOaV.js} +2 -2
  50. package/dist/{redirectToMobile-D5bLaBcP.js → redirectToMobile-CZ-BH-_k.js} +23 -22
  51. package/dist/redirectToMobile-UmMOoiLd.js +2 -0
  52. package/dist/{richText-C9m4iMuF.js → richText-x3PUEJXl.js} +1 -1
  53. package/dist/selfie/selfie.es.js +4 -4
  54. package/dist/settings-BZAx3g3s.js +68 -0
  55. package/dist/{setup-CATCmh3T.js → setup-D7-7VjBv.js} +1 -1
  56. package/dist/signature/signature.es.js +8 -8
  57. package/dist/spinner-BEm5Wf_k.js +1 -0
  58. package/dist/{spinner-Bg7qBKjN.js → spinner-Dg3lumvu.js} +7 -7
  59. package/dist/themes/dark.css +4 -0
  60. package/dist/themes/light.css +4 -0
  61. package/dist/{tutorial-CBnrTcCn.js → tutorial-BjD2xHi5.js} +87 -86
  62. package/dist/types/extensibility.d.ts +1 -0
  63. package/dist/types/flow.d.ts +2 -0
  64. package/dist/types/home.d.ts +30 -0
  65. package/dist/types/index.d.ts +1 -0
  66. package/dist/types/watchlist.d.ts +35 -0
  67. package/dist/{typography-zTCXRf-k.js → typography-BeNe2WRr.js} +1 -1
  68. package/dist/typography-eCzT8rG3.js +1 -0
  69. package/dist/{useModuleLoader-CBGcrysg.js → useModuleLoader-1zMHjvrq.js} +36 -31
  70. package/dist/watchlist/styles.css +50 -0
  71. package/dist/watchlist/watchlist.es.js +55 -0
  72. package/dist/workflow/workflow.es.js +7 -7
  73. package/package.json +2 -2
  74. package/dist/dateInputComposed-DU2hZfnf.js +0 -2
  75. package/dist/ekybModule-DmJn-l9y.js +0 -2
  76. package/dist/ekycModule-7NvOShMA.js +0 -2
  77. package/dist/faceMatch-DNtfzTrd.js +0 -2
  78. package/dist/inputComposed-C3Q-eQ1V.js +0 -1
  79. package/dist/redirectToMobile-CPO4Gb0B.js +0 -2
  80. package/dist/spinner-QBqW9mDr.js +0 -1
  81. package/dist/typography-CwxsnrN2.js +0 -1
  82. /package/dist/{aligndevicelottie-Dzk0EYVz.js → aligndevicelottie-qUSV6Le7.js} +0 -0
  83. /package/dist/{back-horizontal-hint-BgG85hNR.js → back-horizontal-hint-iEWk08tl.js} +0 -0
  84. /package/dist/{back-tutorial-CJwYD2hu.js → back-tutorial-BZmE2nCI.js} +0 -0
  85. /package/dist/{back-vertical-hint-BhG7RS-O.js → back-vertical-hint-CB37PPBM.js} +0 -0
  86. /package/dist/{backdevicelottie-TJ3pa5kD.js → backdevicelottie-DFySVtix.js} +0 -0
  87. /package/dist/{blurdevicelottie-gPcFwLJO.js → blurdevicelottie-Vrw4Q73g.js} +0 -0
  88. /package/dist/{browser-ponyfill-CYOHdF5Y.js → browser-ponyfill-CRq2EKxP.js} +0 -0
  89. /package/dist/{countries-DKKNtuUp.js → countries-BntFjJJG.js} +0 -0
  90. /package/dist/{defineProperty-eqPYf0qG.js → defineProperty-85sU8KgM.js} +0 -0
  91. /package/dist/{flip-animation-ygeHr8Wk.js → flip-animation-C5qWdHLD.js} +0 -0
  92. /package/dist/{front-horizontal-hint-yIMvej7H.js → front-horizontal-hint-pRbh84gx.js} +0 -0
  93. /package/dist/{front-vertical-hint-ZYgpMlDz.js → front-vertical-hint-BAKFge2R.js} +0 -0
  94. /package/dist/{frontdevicelottie-CJbKuefM.js → frontdevicelottie-oZ1W9xZw.js} +0 -0
  95. /package/dist/{glaredevicelottie-DeGIxDRx.js → glaredevicelottie-sI8UXrQF.js} +0 -0
  96. /package/dist/{id-laser-h-B7ddWmEe.js → id-laser-h-DeeqVBeU.js} +0 -0
  97. /package/dist/{id-laser-v-CI4GubjY.js → id-laser-v-CWbE_3-e.js} +0 -0
  98. /package/dist/{id-tutorial-B1vsh6Wp.js → id-tutorial-CSjRVua_.js} +0 -0
  99. /package/dist/{incodeModule-C3p8eAh_.js → incodeModule-CXOUgU0z.js} +0 -0
  100. /package/dist/{numberedStep-CoxrYWYg.js → numberedStep-LYLcVRNh.js} +0 -0
  101. /package/dist/{passport-horizontal-hint-BLM_Rdz4.js → passport-horizontal-hint-CKL1CfSO.js} +0 -0
  102. /package/dist/{passport-tutorial-DH7UEOHu.js → passport-tutorial-CfuYKkED.js} +0 -0
  103. /package/dist/{passport-vertical-hint-BVKS-R7d.js → passport-vertical-hint-BK1gSSwh.js} +0 -0
  104. /package/dist/{selfieTutorial-BZFLHPco.js → selfieTutorial-Cu9vXjss.js} +0 -0
  105. /package/dist/{successIcon-Dklx5JWI.js → successIcon-C4GI_9SU.js} +0 -0
  106. /package/dist/{warningIcon-Bv_pDQV-.js → warningIcon-DG65BSMr.js} +0 -0
@@ -1,43 +1,44 @@
1
- import { n as e, t } from "./i18n-DGG1zc7t.js";
1
+ import { n as e, t } from "./i18n-BpEDCZi_.js";
2
2
  import { C as n, S as r, _ as i, a, b as o, d as s, f as c, g as l, h as u, l as d, m as f, p, r as m, v as h, x as g, y as _ } from "./vendor-preact-D6SntenC.js";
3
- import { a as v, n as y, t as b } from "./loadingIcon-B3xEpDvA.js";
4
- import { t as x } from "./spacer-DCljE53A.js";
5
- import { t as S } from "./page-kB-LDkaO.js";
6
- import { a as C, n as ee, o as te, t as w } from "./typography-zTCXRf-k.js";
7
- import "./typography-CwxsnrN2.js";
8
- import { t as T } from "./spinner-Bg7qBKjN.js";
9
- import "./spinner-QBqW9mDr.js";
10
- import { t as E } from "./button-Dt72Wn3U.js";
11
- import { o as ne, p as re } from "./icons-CkLer5E1.js";
12
- import { t as D } from "./warningIcon-Bv_pDQV-.js";
13
- import { t as ie } from "./successIcon-Dklx5JWI.js";
14
- import { t as ae } from "./numberedStep-CoxrYWYg.js";
15
- import { getBrowser as O, getDeviceClass as oe } from "@incodetech/core/device";
3
+ import { r as v } from "./incodeComponent-DIb7wDAq.js";
4
+ import { t as y } from "./spacer-DCljE53A.js";
5
+ import { t as b } from "./page-kB-LDkaO.js";
6
+ import { n as x, t as ee } from "./loadingIcon-YV3D_mg8.js";
7
+ import { a as S, n as te, o as ne, t as C } from "./typography-BeNe2WRr.js";
8
+ import "./typography-eCzT8rG3.js";
9
+ import { t as w } from "./spinner-Dg3lumvu.js";
10
+ import "./spinner-BEm5Wf_k.js";
11
+ import { t as T } from "./button-jwSm4U5l.js";
12
+ import { o as re, p as ie } from "./icons-BQHZM1UW.js";
13
+ import { t as E } from "./warningIcon-DG65BSMr.js";
14
+ import { t as ae } from "./successIcon-C4GI_9SU.js";
15
+ import { t as oe } from "./numberedStep-LYLcVRNh.js";
16
+ import { getBrowser as D, getDeviceClass as se } from "@incodetech/core/device";
16
17
  import "@incodetech/core/camera";
17
18
  //#region src/shared/errorContent/errorContent.tsx
18
- var k = ({ title: t, description: n, attemptsRemaining: r, onButtonClick: a, "data-testid": o }) => {
19
+ var O = ({ title: t, description: n, attemptsRemaining: r, onButtonClick: a, "data-testid": o }) => {
19
20
  let { t: s } = e(), c = r <= 0, l = d(null);
20
21
  return i(() => {
21
22
  l.current?.focus();
22
23
  }, []), /* @__PURE__ */ h("div", {
23
24
  class: "IncodeErrorContent",
24
- children: /* @__PURE__ */ h(S, {
25
+ children: /* @__PURE__ */ h(b, {
25
26
  "data-testid": o,
26
27
  children: /* @__PURE__ */ h("div", {
27
28
  class: "IncodeErrorContentContainer",
28
29
  children: [/* @__PURE__ */ h("div", {
29
30
  class: "IncodeErrorContentIconContainer",
30
31
  children: [
31
- h(c ? re : D, { size: 32 }),
32
- /* @__PURE__ */ h(x, { size: 16 }),
33
- /* @__PURE__ */ h(w, {
32
+ h(c ? ie : E, { size: 32 }),
33
+ /* @__PURE__ */ h(y, { size: 16 }),
34
+ /* @__PURE__ */ h(C, {
34
35
  ref: l,
35
36
  id: "error-content-title",
36
37
  tabIndex: -1,
37
38
  className: "IncodeErrorContentTitle",
38
39
  children: t
39
40
  }),
40
- /* @__PURE__ */ h(x, { size: 12 }),
41
+ /* @__PURE__ */ h(y, { size: 12 }),
41
42
  /* @__PURE__ */ h("p", {
42
43
  class: "IncodeErrorContentDescription",
43
44
  children: n
@@ -50,8 +51,8 @@ var k = ({ title: t, description: n, attemptsRemaining: r, onButtonClick: a, "da
50
51
  class: "IncodeErrorContentAttemptsText",
51
52
  children: c ? s("notifications.noAttemptsRemaining") : s("common.attemptsRemaining", { count: r })
52
53
  }),
53
- /* @__PURE__ */ h(x, { size: 24 }),
54
- /* @__PURE__ */ h(E, {
54
+ /* @__PURE__ */ h(y, { size: 24 }),
55
+ /* @__PURE__ */ h(T, {
55
56
  onClick: a,
56
57
  children: s(c ? "common.continue" : "common.tryAgain")
57
58
  })
@@ -60,7 +61,7 @@ var k = ({ title: t, description: n, attemptsRemaining: r, onButtonClick: a, "da
60
61
  })
61
62
  })
62
63
  });
63
- }, A = "IncodeModalScrollLock", se = "data-incode-modal-initial-focus", j = [
64
+ }, k = "IncodeModalScrollLock", A = "data-incode-modal-initial-focus", j = [
64
65
  "button:not([disabled])",
65
66
  "[href]",
66
67
  "input:not([disabled])",
@@ -81,7 +82,7 @@ function N(e) {
81
82
  function ce(e) {
82
83
  let t = e.querySelector("[autofocus]");
83
84
  if (t && N(t)) return t;
84
- let n = e.querySelector(`[${se}]`);
85
+ let n = e.querySelector(`[${A}]`);
85
86
  if (n) {
86
87
  if (N(n)) return n;
87
88
  let e = n.querySelector(j);
@@ -109,8 +110,8 @@ function ue(e) {
109
110
  i(() => {
110
111
  if (!e) return;
111
112
  let t = document.querySelector(".IncodeComponent");
112
- return (t ?? document.body).classList.add(A), () => {
113
- (t ?? document.body).classList.remove(A);
113
+ return (t ?? document.body).classList.add(k), () => {
114
+ (t ?? document.body).classList.remove(k);
114
115
  };
115
116
  }, [e]);
116
117
  }
@@ -174,15 +175,15 @@ function F() {
174
175
  function me({ open: e, children: t, onOpenChange: n, dismissible: r = !0, portalContainer: i, class: a, hasBackdrop: o = !0, manageInitialFocus: c = !0 }) {
175
176
  let l = le(e, i ?? void 0), [f, g] = p(!1), _ = d(null), v = u(() => {
176
177
  r && n?.(!1);
177
- }, [r, n]), b = s(() => ({
178
+ }, [r, n]), y = s(() => ({
178
179
  setHasDescription: g,
179
180
  dismissible: r,
180
181
  requestClose: v
181
- }), [r, v]), x = e && !!l;
182
- return ue(e), de(e, r, v), fe(x, _, c), pe(x, _), !l || !e ? null : m(/* @__PURE__ */ h(P.Provider, {
183
- value: b,
182
+ }), [r, v]), b = e && !!l;
183
+ return ue(e), de(e, r, v), fe(b, _, c), pe(b, _), !l || !e ? null : m(/* @__PURE__ */ h(P.Provider, {
184
+ value: y,
184
185
  children: /* @__PURE__ */ h("div", {
185
- class: y("IncodeModalRoot", a),
186
+ class: x("IncodeModalRoot", a),
186
187
  "data-incode-modal": "",
187
188
  children: [o && /* @__PURE__ */ h("div", {
188
189
  class: "IncodeModalBackdrop",
@@ -208,7 +209,7 @@ function me({ open: e, children: t, onOpenChange: n, dismissible: r = !0, portal
208
209
  }
209
210
  function he({ children: e, class: t }) {
210
211
  return /* @__PURE__ */ h("div", {
211
- class: y("IncodeModalContent", t),
212
+ class: x("IncodeModalContent", t),
212
213
  children: e
213
214
  });
214
215
  }
@@ -220,11 +221,11 @@ function ge({ "aria-label": e = "Close", title: t = "Close", class: n, onClick:
220
221
  };
221
222
  return /* @__PURE__ */ h("button", {
222
223
  type: "button",
223
- class: y("IncodeModalClose", n),
224
+ class: x("IncodeModalClose", n),
224
225
  "aria-label": e,
225
226
  title: t,
226
227
  onClick: o,
227
- children: /* @__PURE__ */ h(ne, {
228
+ children: /* @__PURE__ */ h(re, {
228
229
  height: 32,
229
230
  width: 32,
230
231
  fillColor: "var(--icon-neutral-300)"
@@ -233,7 +234,7 @@ function ge({ "aria-label": e = "Close", title: t = "Close", class: n, onClick:
233
234
  }
234
235
  function _e({ children: e, class: t }) {
235
236
  return /* @__PURE__ */ h("div", {
236
- class: y("IncodeModalIcon", t),
237
+ class: x("IncodeModalIcon", t),
237
238
  children: e
238
239
  });
239
240
  }
@@ -251,7 +252,7 @@ function ye({ children: e, ref: t, class: n }) {
251
252
  return /* @__PURE__ */ h("h2", {
252
253
  id: "incode-modal-title",
253
254
  ref: t,
254
- className: y("IncodeModalTitle", n),
255
+ className: x("IncodeModalTitle", n),
255
256
  children: e
256
257
  });
257
258
  }
@@ -259,7 +260,7 @@ function be({ children: e, class: t }) {
259
260
  let { setHasDescription: n } = F();
260
261
  return c(() => (n(!0), () => n(!1)), [n]), /* @__PURE__ */ h("h5", {
261
262
  id: "incode-modal-description",
262
- className: y("IncodeModalSubtitle", t),
263
+ className: x("IncodeModalSubtitle", t),
263
264
  children: e
264
265
  });
265
266
  }
@@ -271,14 +272,14 @@ function Se({ children: e, class: t, orientation: r = "vertical" }) {
271
272
  for (let r = 0; r < a.length; r++) {
272
273
  let c = a[r];
273
274
  if (xe(c)) return /* @__PURE__ */ h("div", {
274
- class: y(i, t),
275
+ class: x(i, t),
275
276
  role: "group",
276
277
  children: e
277
278
  });
278
- s.push(n(c) && r === 0 ? o(c, { [se]: "" }) : c);
279
+ s.push(n(c) && r === 0 ? o(c, { [A]: "" }) : c);
279
280
  }
280
281
  return /* @__PURE__ */ h("div", {
281
- class: y(i, t),
282
+ class: x(i, t),
282
283
  role: "group",
283
284
  children: s
284
285
  });
@@ -365,8 +366,8 @@ function z({ animationData: e, loop: t = !0, autoplay: n = !0, reverse: r = !1,
365
366
  }
366
367
  //#endregion
367
368
  //#region src/shared/baseTutorial/baseTutorial.tsx
368
- var B = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle: i, onContinue: a, buttonText: o, disclaimerText: s, isLoading: c }) => /* @__PURE__ */ h(S, {
369
- className: y("IncodeTutorialPage", e),
369
+ var B = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle: i, onContinue: a, buttonText: o, disclaimerText: s, isLoading: c }) => /* @__PURE__ */ h(b, {
370
+ className: x("IncodeTutorialPage", e),
370
371
  title: n,
371
372
  titleId: r,
372
373
  subtitle: i,
@@ -385,7 +386,7 @@ var B = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
385
386
  children: s
386
387
  }), /* @__PURE__ */ h("div", {
387
388
  class: "IncodeBaseTutorialButtonContainer",
388
- children: /* @__PURE__ */ h(E, {
389
+ children: /* @__PURE__ */ h(T, {
389
390
  onClick: a,
390
391
  class: "m-auto max-w-[420px]",
391
392
  isLoading: c,
@@ -2112,7 +2113,7 @@ var B = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
2112
2113
  ].filter(Boolean).join(" ");
2113
2114
  return new DOMParser().parseFromString(n, "text/html").body.textContent || "";
2114
2115
  }, Ie = ({ platform: t }) => {
2115
- let { t: n } = e(), r = O(), i = Pe[t]?.[r] ?? [];
2116
+ let { t: n } = e(), r = D(), i = Pe[t]?.[r] ?? [];
2116
2117
  return /* @__PURE__ */ h("div", {
2117
2118
  class: "IncodeDeniedInstructionsContainer",
2118
2119
  "data-testid": "denied-instructions-mobile",
@@ -2136,7 +2137,7 @@ var B = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle:
2136
2137
  /* @__PURE__ */ h("div", {
2137
2138
  class: "IncodeDeniedStepTextContainer",
2138
2139
  "aria-hidden": "true",
2139
- children: /* @__PURE__ */ h(C, {
2140
+ children: /* @__PURE__ */ h(S, {
2140
2141
  className: "IncodeDeniedStepTextSilent",
2141
2142
  children: [
2142
2143
  n(`idv2.permissions.denied.${t.instructionKey}`),
@@ -2177,7 +2178,7 @@ var Re = (e) => {
2177
2178
  ];
2178
2179
  return e === "safari" && t.push(`idv2.permissions.denied.${e}.sixthStep`), t;
2179
2180
  }, ze = (e) => new DOMParser().parseFromString(e, "text/html").body.textContent || "", Be = (e, t) => e(t).split(/(<strong>[^<]+<\/strong>)/g).map((e, t) => e.startsWith("<strong>") && e.endsWith("</strong>") ? /* @__PURE__ */ h("strong", { children: e.slice(8, -9) }, t) : e), Ve = () => {
2180
- let { t } = e(), n = Re(O());
2181
+ let { t } = e(), n = Re(D());
2181
2182
  return /* @__PURE__ */ h("div", {
2182
2183
  class: "IncodeDeniedInstructionsContainer",
2183
2184
  "data-testid": "denied-instructions-desktop",
@@ -2190,7 +2191,7 @@ var Re = (e) => {
2190
2191
  children: [/* @__PURE__ */ h("div", {
2191
2192
  class: "IncodeDeniedDesktopStepNumberColumn",
2192
2193
  "aria-hidden": "true",
2193
- children: [/* @__PURE__ */ h(ae, { number: r + 1 }), r < n.length - 1 && /* @__PURE__ */ h("div", { class: "IncodeNumberedStepConnector" })]
2194
+ children: [/* @__PURE__ */ h(oe, { number: r + 1 }), r < n.length - 1 && /* @__PURE__ */ h("div", { class: "IncodeNumberedStepConnector" })]
2194
2195
  }), /* @__PURE__ */ h("p", {
2195
2196
  class: "IncodeDeniedStepText",
2196
2197
  "aria-hidden": "true",
@@ -2200,13 +2201,13 @@ var Re = (e) => {
2200
2201
  })
2201
2202
  });
2202
2203
  }, He = () => {
2203
- let e = oe();
2204
+ let e = se();
2204
2205
  return e === "desktop" ? /* @__PURE__ */ h(Ve, {}) : /* @__PURE__ */ h(Ie, { platform: e });
2205
2206
  }, Ue = ({ onRefresh: t, "data-testid": n, "data-permission-status": r }) => {
2206
2207
  let { t: a } = e(), o = d(null);
2207
2208
  return i(() => {
2208
2209
  o.current?.focus();
2209
- }, []), /* @__PURE__ */ h(S, {
2210
+ }, []), /* @__PURE__ */ h(b, {
2210
2211
  hideHeader: !0,
2211
2212
  hideFooterBranding: !0,
2212
2213
  className: "IncodeDeniedPage",
@@ -2214,12 +2215,12 @@ var Re = (e) => {
2214
2215
  "data-permission-status": r,
2215
2216
  children: [/* @__PURE__ */ h("div", {
2216
2217
  class: "IncodeDeniedContainer",
2217
- children: [/* @__PURE__ */ h(w, {
2218
+ children: [/* @__PURE__ */ h(C, {
2218
2219
  ref: o,
2219
2220
  tabIndex: -1,
2220
2221
  children: a("idv2.permissions.denied.title")
2221
2222
  }), /* @__PURE__ */ h(He, {})]
2222
- }), /* @__PURE__ */ h(E, {
2223
+ }), /* @__PURE__ */ h(T, {
2223
2224
  onClick: t,
2224
2225
  children: a("idv2.permissions.denied.refreshPage")
2225
2226
  })]
@@ -2241,7 +2242,7 @@ var Re = (e) => {
2241
2242
  let { t: o } = e(), s = d(null);
2242
2243
  return i(() => {
2243
2244
  s.current?.focus();
2244
- }, []), /* @__PURE__ */ h(S, {
2245
+ }, []), /* @__PURE__ */ h(b, {
2245
2246
  className: "IncodeLearnMorePage",
2246
2247
  hideHeader: !0,
2247
2248
  hideFooterBranding: !0,
@@ -2251,7 +2252,7 @@ var Re = (e) => {
2251
2252
  class: "IncodeLearnMoreContainer",
2252
2253
  children: [/* @__PURE__ */ h("div", {
2253
2254
  class: "IncodeLearnMoreTitleContainer",
2254
- children: [/* @__PURE__ */ h(D, { size: 32 }), /* @__PURE__ */ h(w, {
2255
+ children: [/* @__PURE__ */ h(E, { size: 32 }), /* @__PURE__ */ h(C, {
2255
2256
  ref: s,
2256
2257
  tabIndex: -1,
2257
2258
  children: o("idv2.permissions.learnMorePage.title")
@@ -2268,16 +2269,16 @@ var Re = (e) => {
2268
2269
  height: 32,
2269
2270
  width: 32
2270
2271
  })
2271
- }), /* @__PURE__ */ h(C, { children: o(t.textKey) })]
2272
+ }), /* @__PURE__ */ h(S, { children: o(t.textKey) })]
2272
2273
  }, t.textKey))
2273
2274
  })]
2274
2275
  }), /* @__PURE__ */ h("div", {
2275
2276
  class: "IncodeLearnMoreActions",
2276
- children: [/* @__PURE__ */ h(E, {
2277
+ children: [/* @__PURE__ */ h(T, {
2277
2278
  variant: "link",
2278
2279
  onClick: n,
2279
2280
  children: o("idv2.permissions.learnMorePage.quitProcess")
2280
- }), /* @__PURE__ */ h(E, {
2281
+ }), /* @__PURE__ */ h(T, {
2281
2282
  onClick: t,
2282
2283
  children: o("idv2.permissions.learnMorePage.allowPermissions")
2283
2284
  })]
@@ -2297,23 +2298,23 @@ function Ke({ onAllowPermissions: t, onDenyPermissions: n }) {
2297
2298
  className: "IncodePermissionsBottomSheet",
2298
2299
  children: [/* @__PURE__ */ h("div", {
2299
2300
  class: "IncodePermissionsBottomSheetTitleContainer",
2300
- children: [/* @__PURE__ */ h(ee, {
2301
+ children: [/* @__PURE__ */ h(te, {
2301
2302
  id: "permissions-dialog-title",
2302
2303
  className: "IncodePermissionsBottomSheetTitle",
2303
2304
  ref: a,
2304
2305
  tabIndex: -1,
2305
2306
  children: r("idv2.permissions.allowPermissionsV2")
2306
- }), /* @__PURE__ */ h(te, {
2307
+ }), /* @__PURE__ */ h(ne, {
2307
2308
  className: "IncodePermissionsBottomSheetSubtitle",
2308
2309
  children: r("idv2.permissions.subtitleV2")
2309
2310
  })]
2310
2311
  }), /* @__PURE__ */ h("div", {
2311
2312
  class: "IncodePermissionsBottomSheetActions",
2312
- children: [/* @__PURE__ */ h(E, {
2313
+ children: [/* @__PURE__ */ h(T, {
2313
2314
  variant: "secondary",
2314
2315
  onClick: n,
2315
2316
  children: r("idv2.permissions.dontAllow")
2316
- }), /* @__PURE__ */ h(E, {
2317
+ }), /* @__PURE__ */ h(T, {
2317
2318
  onClick: t,
2318
2319
  children: r("idv2.permissions.allowV2")
2319
2320
  })]
@@ -2325,11 +2326,11 @@ function Ke({ onAllowPermissions: t, onDenyPermissions: n }) {
2325
2326
  //#region src/shared/permissions/camera/permissions.tsx
2326
2327
  var qe = ({ manager: t, permissionStatus: n }) => {
2327
2328
  let r = v(), { t: i } = e();
2328
- if (n === "requesting") return /* @__PURE__ */ h(S, {
2329
+ if (n === "requesting") return /* @__PURE__ */ h(b, {
2329
2330
  hideHeader: !0,
2330
2331
  hideFooterBranding: !0,
2331
2332
  className: "IncodePermissionsRequestingPage",
2332
- children: /* @__PURE__ */ h(T, { size: "large" })
2333
+ children: /* @__PURE__ */ h(w, { size: "large" })
2333
2334
  });
2334
2335
  if (n === "learnMore") return /* @__PURE__ */ h(Ge, {
2335
2336
  onAllowPermissions: () => t.requestPermission(),
@@ -2351,17 +2352,17 @@ var qe = ({ manager: t, permissionStatus: n }) => {
2351
2352
  children: /* @__PURE__ */ h(I.Content, { children: [
2352
2353
  /* @__PURE__ */ h(I.Close, { onClick: t.close }),
2353
2354
  /* @__PURE__ */ h(I.TitleSection, { children: [/* @__PURE__ */ h(I.Title, { children: i("idv2.permissions.allowPermissionsV2") }), /* @__PURE__ */ h(I.Subtitle, { children: i("idv2.permissions.subtitleV2") })] }),
2354
- /* @__PURE__ */ h(I.Actions, { children: [/* @__PURE__ */ h(E, {
2355
+ /* @__PURE__ */ h(I.Actions, { children: [/* @__PURE__ */ h(T, {
2355
2356
  variant: "secondary",
2356
2357
  onClick: t.goToLearnMore,
2357
2358
  children: i("idv2.permissions.dontAllow")
2358
- }), /* @__PURE__ */ h(E, {
2359
+ }), /* @__PURE__ */ h(T, {
2359
2360
  variant: "primary",
2360
2361
  onClick: t.requestPermission,
2361
2362
  children: i("idv2.permissions.allowV2")
2362
2363
  })] })
2363
2364
  ] })
2364
- }), /* @__PURE__ */ h(S, {
2365
+ }), /* @__PURE__ */ h(b, {
2365
2366
  className: "IncodePermissionsPage",
2366
2367
  hideHeader: !0,
2367
2368
  hideFooterBranding: !0,
@@ -2373,15 +2374,15 @@ var qe = ({ manager: t, permissionStatus: n }) => {
2373
2374
  let r = d(null);
2374
2375
  return i(() => {
2375
2376
  r.current?.focus();
2376
- }, []), /* @__PURE__ */ h(S, {
2377
+ }, []), /* @__PURE__ */ h(b, {
2377
2378
  className: `IncodeCaptureStatusPage ${n ?? ""}`,
2378
- children: [/* @__PURE__ */ h(x, { size: 40 }), /* @__PURE__ */ h("div", {
2379
+ children: [/* @__PURE__ */ h(y, { size: 40 }), /* @__PURE__ */ h("div", {
2379
2380
  class: "IncodeCaptureStatusContainer",
2380
2381
  children: [
2381
- /* @__PURE__ */ h(x, { size: 120 }),
2382
+ /* @__PURE__ */ h(y, { size: 120 }),
2382
2383
  e,
2383
- /* @__PURE__ */ h(x, { size: 16 }),
2384
- /* @__PURE__ */ h(w, {
2384
+ /* @__PURE__ */ h(y, { size: 16 }),
2385
+ /* @__PURE__ */ h(C, {
2385
2386
  ref: r,
2386
2387
  className: "IncodeCaptureStatusTitle",
2387
2388
  tabIndex: -1,
@@ -2491,7 +2492,7 @@ var qe = ({ manager: t, permissionStatus: n }) => {
2491
2492
  let { t: i } = e();
2492
2493
  if (!t) return null;
2493
2494
  let { title: a, description: o } = Je[Xe(t) ?? t] ?? $, s = i(a) ?? a, c = i(n <= 0 ? "notifications.selfieCaptureFailedDescription" : o);
2494
- return /* @__PURE__ */ h(k, {
2495
+ return /* @__PURE__ */ h(O, {
2495
2496
  "data-testid": "face-capture-error-modal",
2496
2497
  title: s,
2497
2498
  description: c,
@@ -2522,7 +2523,7 @@ var qe = ({ manager: t, permissionStatus: n }) => {
2522
2523
  }, et = ({ borderState: e = "idle" }) => {
2523
2524
  let t = f(), n = e === "loading" || e === "capturing", r = $e(e), i = n ? `url(#${t})` : r;
2524
2525
  return /* @__PURE__ */ h("div", {
2525
- class: y("IncodeLoadingBorder", { IncodeLoadingBorderSpinning: n }),
2526
+ class: x("IncodeLoadingBorder", { IncodeLoadingBorderSpinning: n }),
2526
2527
  "aria-hidden": "true",
2527
2528
  children: /* @__PURE__ */ h("svg", {
2528
2529
  width: "100%",
@@ -2592,7 +2593,7 @@ var qe = ({ manager: t, permissionStatus: n }) => {
2592
2593
  id: "manual-capture-instructions",
2593
2594
  class: "IncodeSelfieManualCaptureText",
2594
2595
  children: i("selfiev2.manualCapture.instructions")
2595
- }), /* @__PURE__ */ h("div", { children: /* @__PURE__ */ h(E, {
2596
+ }), /* @__PURE__ */ h("div", { children: /* @__PURE__ */ h(T, {
2596
2597
  ref: r,
2597
2598
  id: "manual-capture-button",
2598
2599
  variant: "link",
@@ -2685,22 +2686,22 @@ var qe = ({ manager: t, permissionStatus: n }) => {
2685
2686
  let { captureStatus: a, stream: o, detectionStatus: s, attemptsRemaining: c, uploadError: l, assistedOnboarding: u } = n, [f, m] = p(!1), { t: g } = e(), _ = d(null);
2686
2687
  if (i(() => {
2687
2688
  s === "manualCapture" && _.current?.focus();
2688
- }, [s]), a === "initializing") return /* @__PURE__ */ h(T, {
2689
+ }, [s]), a === "initializing") return /* @__PURE__ */ h(w, {
2689
2690
  fullScreen: !0,
2690
2691
  title: g("v2.selfie.camera.loading"),
2691
2692
  className: "IncodeCameraLoading"
2692
2693
  });
2693
2694
  if (a === "detecting") {
2694
- if (s === "offline") return /* @__PURE__ */ h(S, { title: "No internet connection" });
2695
+ if (s === "offline") return /* @__PURE__ */ h(b, { title: "No internet connection" });
2695
2696
  let e = () => f ? "capturing" : s === "detecting" ? "idle" : s === "getReady" ? "loading" : s === "success" ? "success" : s === "error" ? "error" : "idle";
2696
- return /* @__PURE__ */ h(S, {
2697
+ return /* @__PURE__ */ h(b, {
2697
2698
  "data-testid": "capture-container",
2698
2699
  children: [
2699
- /* @__PURE__ */ h(w, {
2700
+ /* @__PURE__ */ h(C, {
2700
2701
  className: "IncodeCaptureVisuallyHidden",
2701
2702
  children: g("selfiev2.capture.title")
2702
2703
  }),
2703
- /* @__PURE__ */ h(x, { size: 48 }),
2704
+ /* @__PURE__ */ h(y, { size: 48 }),
2704
2705
  /* @__PURE__ */ h("div", {
2705
2706
  class: "IncodeCaptureContainer",
2706
2707
  children: [
@@ -2719,11 +2720,11 @@ var qe = ({ manager: t, permissionStatus: n }) => {
2719
2720
  })] }) : null
2720
2721
  })
2721
2722
  }),
2722
- /* @__PURE__ */ h(x, { size: 48 }),
2723
+ /* @__PURE__ */ h(y, { size: 48 }),
2723
2724
  s ? /* @__PURE__ */ h(r, { children: [/* @__PURE__ */ h(rt, {
2724
2725
  detectionState: s,
2725
2726
  disabled: !!l || f
2726
- }), /* @__PURE__ */ h(x, { size: 24 })] }) : null,
2727
+ }), /* @__PURE__ */ h(y, { size: 24 })] }) : null,
2727
2728
  s === "manualCapture" ? /* @__PURE__ */ h(nt, {
2728
2729
  ref: _,
2729
2730
  onClick: () => {
@@ -2743,20 +2744,20 @@ var qe = ({ manager: t, permissionStatus: n }) => {
2743
2744
  ]
2744
2745
  });
2745
2746
  }
2746
- return a === "capturing" ? /* @__PURE__ */ h(S, {
2747
+ return a === "capturing" ? /* @__PURE__ */ h(b, {
2747
2748
  className: "IncodeCaptureCapturingPage",
2748
2749
  title: "Capturing",
2749
2750
  subtitle: "Taking photo...",
2750
2751
  children: /* @__PURE__ */ h("div", {
2751
2752
  class: "IncodeCaptureCapturingActions",
2752
- children: /* @__PURE__ */ h(E, {
2753
+ children: /* @__PURE__ */ h(T, {
2753
2754
  isLoading: !0,
2754
2755
  children: "Capturing..."
2755
2756
  })
2756
2757
  })
2757
2758
  }) : a === "uploading" ? /* @__PURE__ */ h(Q, {
2758
2759
  className: "IncodeCaptureStatusUploading",
2759
- icon: /* @__PURE__ */ h(b, { size: 64 }),
2760
+ icon: /* @__PURE__ */ h(ee, { size: 64 }),
2760
2761
  title: g("idv2.capture.processing.uploading")
2761
2762
  }) : a === "uploadError" ? /* @__PURE__ */ h(Ze, {
2762
2763
  error: l,
@@ -2765,7 +2766,7 @@ var qe = ({ manager: t, permissionStatus: n }) => {
2765
2766
  t.retryCapture(), m(!1);
2766
2767
  }
2767
2768
  }) : a === "success" ? /* @__PURE__ */ h(Q, {
2768
- icon: /* @__PURE__ */ h(ie, { size: 64 }),
2769
+ icon: /* @__PURE__ */ h(ae, { size: 64 }),
2769
2770
  title: g("idv2.capture.processing.success")
2770
2771
  }) : null;
2771
2772
  }, at = ({ stream: e, mirrored: t }) => {
@@ -2783,7 +2784,7 @@ var qe = ({ manager: t, permissionStatus: n }) => {
2783
2784
  }, ot = ({ manager: t }) => {
2784
2785
  let { t: n } = e(), [r, a] = p(!1), [o, s] = p(null);
2785
2786
  return i(() => {
2786
- import("./selfieTutorial-BZFLHPco.js").then((e) => {
2787
+ import("./selfieTutorial-Cu9vXjss.js").then((e) => {
2787
2788
  s(e.default);
2788
2789
  });
2789
2790
  }, []), o ? /* @__PURE__ */ h(B, {
@@ -2801,4 +2802,4 @@ var qe = ({ manager: t, permissionStatus: n }) => {
2801
2802
  }) : null;
2802
2803
  };
2803
2804
  //#endregion
2804
- export { z as a, k as c, B as i, it as n, L as o, qe as r, I as s, ot as t };
2805
+ export { z as a, O as c, B as i, it as n, L as o, qe as r, I as s, ot as t };
@@ -781,6 +781,7 @@ export declare const TypographyP: FC<TitleProps>;
781
781
  export declare type UiConfig = {
782
782
  logoSrc?: string;
783
783
  logoHeight?: string;
784
+ subtitle?: string;
784
785
  hideHeader?: boolean;
785
786
  hideFooterBranding?: boolean;
786
787
  };
@@ -9,6 +9,7 @@ export declare type FlowConfig = {
9
9
  wasmConfig?: WasmConfig;
10
10
  lang?: string;
11
11
  disableDashboardTheme?: boolean;
12
+ enableHome?: boolean;
12
13
  onModuleLoading?: (moduleKey: string) => void;
13
14
  onModuleLoaded?: (moduleKey: string) => void;
14
15
  onWasmWarmup?: (pipelines: string[]) => void;
@@ -46,6 +47,7 @@ declare type PreloadConfig = {
46
47
  lang?: string;
47
48
  disableDashboardTheme?: boolean;
48
49
  wasmConfig?: WasmConfig;
50
+ enableHome?: boolean;
49
51
  };
50
52
 
51
53
  export declare type PreloadHandle = {
@@ -0,0 +1,30 @@
1
+ import { HomeConfig } from '@incodetech/core/home';
2
+ import { HomeManager } from '@incodetech/core/home';
3
+ import { JSX } from 'preact';
4
+
5
+ export declare function Home({ config, manager, onFinish }: HomeProps): JSX.Element;
6
+
7
+ declare type HomeProps = IncodeModuleProps<HomeConfig, void, HomeManager>;
8
+
9
+ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
10
+ /**
11
+ * Module configuration required to render the flow.
12
+ * For Web Components, this is typically assigned via `element.config = ...`.
13
+ */
14
+ config?: TConfig;
15
+ /**
16
+ * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
17
+ */
18
+ manager?: TManager;
19
+ /**
20
+ * Callback invoked when the module completes successfully.
21
+ * @param result - Optional result data from the module completion
22
+ */
23
+ onFinish?: (result?: TResult) => void;
24
+ /**
25
+ * Callback invoked when a fatal module error occurs.
26
+ */
27
+ onError?: (error: string | undefined) => void;
28
+ };
29
+
30
+ export { }
@@ -24,6 +24,7 @@ declare type SetupOptions = {
24
24
  export declare type UiConfig = {
25
25
  logoSrc?: string;
26
26
  logoHeight?: string;
27
+ subtitle?: string;
27
28
  hideHeader?: boolean;
28
29
  hideFooterBranding?: boolean;
29
30
  };
@@ -0,0 +1,35 @@
1
+ import { FC } from 'preact/compat';
2
+ import { WatchlistConfig } from '@incodetech/core/watchlist';
3
+
4
+ declare type IncodeModuleProps<TConfig, TResult = void, TManager = unknown> = {
5
+ /**
6
+ * Module configuration required to render the flow.
7
+ * For Web Components, this is typically assigned via `element.config = ...`.
8
+ */
9
+ config?: TConfig;
10
+ /**
11
+ * Optional pre-built manager. When provided, the module does not create or manage the manager lifecycle.
12
+ */
13
+ manager?: TManager;
14
+ /**
15
+ * Callback invoked when the module completes successfully.
16
+ * @param result - Optional result data from the module completion
17
+ */
18
+ onFinish?: (result?: TResult) => void;
19
+ /**
20
+ * Callback invoked when a fatal module error occurs.
21
+ */
22
+ onError?: (error: string | undefined) => void;
23
+ };
24
+
25
+ export declare const Watchlist: FC<WatchlistProps>;
26
+
27
+ declare type WatchlistProps = IncodeModuleProps<WatchlistConfig>;
28
+
29
+ export { }
30
+
31
+ declare global {
32
+ interface HTMLElementTagNameMap {
33
+ 'incode-watchlist': HTMLElement & IncodeModuleProps<WatchlistConfig>;
34
+ }
35
+ }
@@ -1,5 +1,5 @@
1
1
  import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
2
- import { n } from "./loadingIcon-B3xEpDvA.js";
2
+ import { n } from "./loadingIcon-YV3D_mg8.js";
3
3
  //#region src/shared/typography/typography.tsx
4
4
  var r = e(({ children: e, className: n, ...r }, i) => /* @__PURE__ */ t("h2", {
5
5
  ref: i,
@@ -0,0 +1 @@
1
+ import "./typography-BeNe2WRr.js";