@incodetech/web 0.0.0-dev-20260415-20a2fc4 → 0.0.0-dev-20260416-8fd0b75

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 (98) hide show
  1. package/dist/{AsYouType-B4o16RK-.js → AsYouType-RC03ULcj.js} +1 -1
  2. package/dist/{addressAutocomplete-DWVphfl5.js → addressAutocomplete-n0bBMSty.js} +4 -4
  3. package/dist/ae-signature/ae-signature.es.js +1 -1
  4. package/dist/antifraud/antifraud.es.js +2 -2
  5. package/dist/authentication/authentication.es.js +2 -2
  6. package/dist/{button-jwSm4U5l.js → button-BlHmZn6D.js} +1 -1
  7. package/dist/{checkbox-B6sowIi8.js → checkbox-BNgPsssk.js} +2 -2
  8. package/dist/consent/consent.es.js +6 -6
  9. package/dist/cross-document-data-match/cross-document-data-match.es.js +2 -2
  10. package/dist/curp-validation/curp-validation.es.js +12 -12
  11. package/dist/{dateInputComposed-DnHTS15O.js → dateInputComposed-B8nKYsUG.js} +4 -4
  12. package/dist/dateInputComposed-DnYA7nZG.js +1 -0
  13. package/dist/{documentCapture-CQ32GpB4.js → documentCapture-DHtlw3Lu.js} +65 -66
  14. package/dist/{dropdownComposed-C6vVF6YA.js → dropdownComposed-CR1bc7Z9.js} +3 -3
  15. package/dist/dropdownComposed-P1FeTlTM.js +1 -0
  16. package/dist/ekyb/ekyb.es.js +1 -1
  17. package/dist/{ekybModule-NJtVSNt8.js → ekybModule-BBSKwZZy.js} +12 -12
  18. package/dist/ekybModule-qBQ8sJSr.js +2 -0
  19. package/dist/ekyc/ekyc.es.js +1 -1
  20. package/dist/{ekycModule-CHJc0y79.js → ekycModule-Dca-zhQw.js} +17 -17
  21. package/dist/ekycModule-R0YaUzV3.js +2 -0
  22. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  23. package/dist/{electronic-signature-C7D9PxFO.js → electronic-signature-DEAXKbsk.js} +7 -7
  24. package/dist/email/email.es.js +6 -6
  25. package/dist/{extensibility-BzbZC3Uh.js → extensibility-BlGCucJR.js} +102 -102
  26. package/dist/extensibility.es.js +21 -20
  27. package/dist/face-match/face-match.es.js +1 -1
  28. package/dist/faceMatch-CFxHH3ic.js +2 -0
  29. package/dist/{faceMatch-Don75gXW.js → faceMatch-D6HVVSiY.js} +4 -4
  30. package/dist/flow/flow.es.js +7 -7
  31. package/dist/flow/styles.css +28 -28
  32. package/dist/{formField-DRqCjJYu.js → formField-B9_nvbhW.js} +2 -2
  33. package/dist/geolocation/geolocation.es.js +3 -3
  34. package/dist/governmentValidation/governmentValidation.es.js +6 -6
  35. package/dist/home/home.es.js +156 -59
  36. package/dist/home/styles.css +28 -28
  37. package/dist/{i18n-BijwYtJr.js → i18n-DUMvrSNM.js} +1 -1
  38. package/dist/{icons-BNwTyDPs.js → icons-CVO6RxwW.js} +1 -1
  39. package/dist/id/id.es.js +5 -5
  40. package/dist/identity-reuse/identity-reuse.es.js +4 -4
  41. package/dist/index.es.js +1 -1
  42. package/dist/inputComposed-BWxnXHJf.js +1 -0
  43. package/dist/{inputComposed-Cd-Hl-nY.js → inputComposed-COz9TuR1.js} +3 -3
  44. package/dist/{incodeComponent-Cd290pHH.js → loadingIcon-ahC-hZN7.js} +42 -2
  45. package/dist/{mandatoryConsent-7CnQf3lz.js → mandatoryConsent-DWwvkGGf.js} +6 -6
  46. package/dist/modal-D75YXA_d.js +239 -0
  47. package/dist/{otpInput-BiUL8Ebu.js → otpInput-CNAOHZxZ.js} +4 -4
  48. package/dist/phone/phone.es.js +6 -6
  49. package/dist/{phoneInput-3AdvQaEd.js → phoneInput-CzcmqH3C.js} +3 -3
  50. package/dist/{phoneInputComposed-BnOmNQTz.js → phoneInputComposed-w9tF4xYB.js} +6 -6
  51. package/dist/{processing-CMIsTP-t.js → processing-CR7zb0TX.js} +2 -2
  52. package/dist/qe-signature/qe-signature.es.js +1 -1
  53. package/dist/{redirectToMobile-CFzDfmuH.js → redirectToMobile-CYt-uhqB.js} +21 -22
  54. package/dist/selfie/selfie.es.js +3 -3
  55. package/dist/{setup-n7xLstSl.js → setup-IE6CqyVs.js} +1 -1
  56. package/dist/signature/signature.es.js +6 -6
  57. package/dist/spinner-B-jf992b.js +1 -0
  58. package/dist/{spinner-Dg3lumvu.js → spinner-BAVCJLTE.js} +7 -7
  59. package/dist/{tutorial-gP0l4CuT.js → tutorial-Dqk1zedL.js} +640 -872
  60. package/dist/{typography-BeNe2WRr.js → typography-7cXma7kl.js} +1 -1
  61. package/dist/typography-CsEiWMTG.js +1 -0
  62. package/dist/{useModuleLoader-D_WjZsnk.js → useModuleLoader-DPGKFaMr.js} +78 -72
  63. package/dist/{verificationResult-_HH0v_HX.js → verificationResult-LpiTdYIu.js} +5 -5
  64. package/dist/watchlist/watchlist.es.js +20 -21
  65. package/dist/workflow/workflow.es.js +6 -6
  66. package/package.json +2 -2
  67. package/dist/dateInputComposed-tjb_YiSz.js +0 -1
  68. package/dist/dropdownComposed-DkSZPhUb.js +0 -1
  69. package/dist/ekybModule-IxSxK7ET.js +0 -2
  70. package/dist/ekycModule-D8YFovqq.js +0 -2
  71. package/dist/faceMatch-Z6cCZZMi.js +0 -2
  72. package/dist/inputComposed-WTfutu_d.js +0 -1
  73. package/dist/language-Dvo4jXwx.js +0 -50
  74. package/dist/loadingIcon-YV3D_mg8.js +0 -42
  75. package/dist/settings-tMRrQul_.js +0 -68
  76. package/dist/spinner-BEm5Wf_k.js +0 -1
  77. package/dist/typography-eCzT8rG3.js +0 -1
  78. /package/dist/{aligndevicelottie-BfnvOtwi.js → aligndevicelottie-B9K1XnzC.js} +0 -0
  79. /package/dist/{back-horizontal-hint-CpDPt7Pn.js → back-horizontal-hint-Dy_Qglma.js} +0 -0
  80. /package/dist/{back-tutorial-DRNlpp1o.js → back-tutorial-Cc5SwoLa.js} +0 -0
  81. /package/dist/{back-vertical-hint-CMS6HTd5.js → back-vertical-hint-Dg3OKUKF.js} +0 -0
  82. /package/dist/{backdevicelottie-DqTioBhp.js → backdevicelottie-DPvn_MCA.js} +0 -0
  83. /package/dist/{blurdevicelottie-BCYf_azj.js → blurdevicelottie-DGpZjyZE.js} +0 -0
  84. /package/dist/{browser-ponyfill-DcR_MTou.js → browser-ponyfill-CTu_YiCx.js} +0 -0
  85. /package/dist/{countries-BntFjJJG.js → countries-DKKNtuUp.js} +0 -0
  86. /package/dist/{flip-animation-Dj8sBkxM.js → flip-animation-DwJvEqyX.js} +0 -0
  87. /package/dist/{front-horizontal-hint-C204EjG5.js → front-horizontal-hint-DgopDgUF.js} +0 -0
  88. /package/dist/{front-vertical-hint-BT8dqgFS.js → front-vertical-hint-nOpxcjqw.js} +0 -0
  89. /package/dist/{frontdevicelottie-BOCUyhYK.js → frontdevicelottie-DBrRXwKx.js} +0 -0
  90. /package/dist/{glaredevicelottie-g5gLJDcn.js → glaredevicelottie-DvG7qeiM.js} +0 -0
  91. /package/dist/{id-laser-h-C9wj3dpL.js → id-laser-h-BrG7qvHh.js} +0 -0
  92. /package/dist/{id-laser-v-Bmnxnt0M.js → id-laser-v-Bt1xfH5h.js} +0 -0
  93. /package/dist/{id-tutorial-CFTli-M3.js → id-tutorial-WgpG0ahL.js} +0 -0
  94. /package/dist/{passport-horizontal-hint-DQ_bncwr.js → passport-horizontal-hint-DXzBzsri.js} +0 -0
  95. /package/dist/{passport-tutorial-Bihd5YfK.js → passport-tutorial-DEr1yuAg.js} +0 -0
  96. /package/dist/{passport-vertical-hint-Bck8hVuX.js → passport-vertical-hint-B8Sap2l6.js} +0 -0
  97. /package/dist/{selfieTutorial-Cu9vXjss.js → selfieTutorial-B5l5ny8O.js} +0 -0
  98. /package/dist/{successIcon-Dklx5JWI.js → successIcon-AHrfmJvv.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { a as e, v as t } from "./vendor-preact-D6SntenC.js";
2
- import { n } from "./loadingIcon-YV3D_mg8.js";
2
+ import { n } from "./loadingIcon-ahC-hZN7.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-7cXma7kl.js";
@@ -1,13 +1,13 @@
1
1
  import { _ as e, l as t, p as n, v as r } from "./vendor-preact-D6SntenC.js";
2
2
  import { t as i } from "./uiConfig-CwpQ-IM6.js";
3
- import { t as a } from "./setup-n7xLstSl.js";
4
- import { t as o } from "./button-jwSm4U5l.js";
5
- import { resolveWasmConfig as s, warmupWasm as c } from "@incodetech/core/wasm";
6
- import { getDeviceClass as l } from "@incodetech/core/device";
7
- import { createOrchestratedFlowManager as u, getFlow as d, getRequiredWasmPipelines as f } from "@incodetech/core/flow";
8
- import { api as p } from "@incodetech/core/http";
3
+ import { t as a } from "./setup-IE6CqyVs.js";
4
+ import { t as o } from "./button-BlHmZn6D.js";
5
+ import { initializeWasmUtil as s, resolveWasmConfig as c, setWasmConfig as l, warmupWasm as u } from "@incodetech/core/wasm";
6
+ import { getDeviceClass as d } from "@incodetech/core/device";
7
+ import { createOrchestratedFlowManager as f, getFlow as p, getRequiredWasmPipelines as m } from "@incodetech/core/flow";
8
+ import { api as h } from "@incodetech/core/http";
9
9
  //#region src/styles/generatePalette.ts
10
- function m(e) {
10
+ function g(e) {
11
11
  let t = e.replace("#", "");
12
12
  t.length === 3 && (t = t.split("").map((e) => e + e).join(""));
13
13
  let n = /^([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
@@ -33,7 +33,7 @@ function m(e) {
33
33
  l: u * 100
34
34
  };
35
35
  }
36
- function h(e, t, n) {
36
+ function _(e, t, n) {
37
37
  let r = e / 360, i = t / 100, a = n / 100, o, s, c;
38
38
  if (i === 0) o = s = c = a;
39
39
  else {
@@ -46,24 +46,24 @@ function h(e, t, n) {
46
46
  };
47
47
  return `#${l(o)}${l(s)}${l(c)}`;
48
48
  }
49
- function g(e) {
50
- let t = m(e);
49
+ function v(e) {
50
+ let t = g(e);
51
51
  if (!t) throw Error(`Invalid color format: ${e}`);
52
52
  return {
53
- 50: h(t.h, t.s, 95),
54
- 200: h(t.h, t.s, 80),
55
- 300: h(t.h, t.s, 65),
56
- 400: h(t.h, t.s, Math.min(100, t.l + 10)),
53
+ 50: _(t.h, t.s, 95),
54
+ 200: _(t.h, t.s, 80),
55
+ 300: _(t.h, t.s, 65),
56
+ 400: _(t.h, t.s, Math.min(100, t.l + 10)),
57
57
  500: e,
58
- 600: h(t.h, t.s, Math.max(0, t.l - 10)),
59
- 900: h(t.h, t.s, 20)
58
+ 600: _(t.h, t.s, Math.max(0, t.l - 10)),
59
+ 900: _(t.h, t.s, 20)
60
60
  };
61
61
  }
62
62
  //#endregion
63
63
  //#region src/styles/applyTheme.ts
64
- function _(e, t) {
64
+ function y(e, t) {
65
65
  if (typeof document > "u") return;
66
- let n = g(e), r = document.getElementById("incode-theme");
66
+ let n = v(e), r = document.getElementById("incode-theme");
67
67
  r || (r = document.createElement("style"), r.id = "incode-theme", document.head.appendChild(r));
68
68
  let i = t || "#ffffff", a = `
69
69
  :root,
@@ -82,43 +82,43 @@ function _(e, t) {
82
82
  }
83
83
  //#endregion
84
84
  //#region src/styles/fetchTheme.ts
85
- async function v() {
86
- return (await p.get("/omni/asset/fetch-all")).data;
85
+ async function b() {
86
+ return (await h.get("/omni/asset/fetch-all")).data;
87
87
  }
88
- var y = /* @__PURE__ */ new Map();
89
- async function b(e) {
88
+ var x = /* @__PURE__ */ new Map();
89
+ async function S(e) {
90
90
  if (e.startsWith("data:")) return e;
91
- let t = y.get(e);
91
+ let t = x.get(e);
92
92
  if (t) return t;
93
93
  let n = await (await fetch(e)).blob(), r = await new Promise((e, t) => {
94
94
  let r = new FileReader();
95
95
  r.onloadend = () => e(r.result), r.onerror = t, r.readAsDataURL(n);
96
96
  });
97
- return y.set(e, r), r;
97
+ return x.set(e, r), r;
98
98
  }
99
- async function x() {
100
- let e = await v();
99
+ async function C() {
100
+ let e = await b();
101
101
  if (!e.theme) throw Error("Theme URL not found in assets response");
102
102
  let t = e.theme, n = t.startsWith("http://") || t.startsWith("https://"), r;
103
103
  if (n) {
104
104
  let e = await fetch(t);
105
105
  if (!e.ok) throw Error(`Failed to fetch theme: ${e.statusText}`);
106
106
  r = await e.json();
107
- } else r = (await p.get(t)).data;
107
+ } else r = (await h.get(t)).data;
108
108
  let i = e["logo.png"] || e["logo.svg"] || e["logo.jpg"] || e["logo.jpeg"] || e["logo.webp"] || r.logo, a = i;
109
- return i && (a = await b(i)), {
109
+ return i && (a = await S(i)), {
110
110
  ...r,
111
111
  logo: a
112
112
  };
113
113
  }
114
- async function S() {
115
- let e = await x();
116
- return e.main && _(e.main, e.buttonColor), e;
114
+ async function w() {
115
+ let e = await C();
116
+ return e.main && y(e.main, e.buttonColor), e;
117
117
  }
118
118
  //#endregion
119
119
  //#region src/modules/flow/flowInit.ts
120
- var C = () => import("./id/id.es.js").then((e) => e.Id), w = "HOME";
121
- function T(e) {
120
+ var T = () => import("./id/id.es.js").then((e) => e.Id), E = "HOME";
121
+ function D(e) {
122
122
  if (e === "HOME") return () => import("@incodetech/core/home").then((e) => e.homeMachine);
123
123
  if (e === "REDIRECT_TO_MOBILE") return () => import("@incodetech/core/redirect-to-mobile").then((e) => e.redirectToMobileMachine);
124
124
  if (e === "PHONE") return () => import("@incodetech/core/phone").then((e) => e.phoneMachine);
@@ -141,37 +141,37 @@ function T(e) {
141
141
  if (e === "AE_SIGNATURE") return () => import("@incodetech/core/ae-signature").then((e) => e.aeSignatureMachine);
142
142
  if (e === "QE_SIGNATURE") return () => import("@incodetech/core/qe-signature").then((e) => e.qeSignatureMachine);
143
143
  }
144
- function E(e) {
144
+ function O(e) {
145
145
  let t = {};
146
146
  for (let n of e) {
147
147
  let e = n.key;
148
148
  if (t[e]) continue;
149
- let r = T(e);
149
+ let r = D(e);
150
150
  r && (t[e] = r);
151
151
  }
152
152
  return t;
153
153
  }
154
- var D = {
155
- [w]: () => import("./home/home.es.js").then((e) => e.Home),
156
- REDIRECT_TO_MOBILE: () => import("./redirectToMobile-CFzDfmuH.js").then((e) => e.RedirectToMobile),
154
+ var k = {
155
+ [E]: () => import("./home/home.es.js").then((e) => e.Home),
156
+ REDIRECT_TO_MOBILE: () => import("./redirectToMobile-CYt-uhqB.js").then((e) => e.RedirectToMobile),
157
157
  PHONE: () => import("./phone/phone.es.js").then((e) => e.Phone),
158
158
  EMAIL: () => import("./email/email.es.js").then((e) => e.Email),
159
159
  SELFIE: () => import("./selfie/selfie.es.js").then((e) => e.Selfie),
160
160
  AUTHENTICATION: () => import("./authentication/authentication.es.js").then((e) => e.Authentication),
161
- ID: C,
162
- ID_CAPTURE: C,
163
- TUTORIAL_ID: C,
164
- SECOND_ID: C,
165
- FACE_MATCH: () => import("./faceMatch-Z6cCZZMi.js").then((e) => e.FaceMatch),
161
+ ID: T,
162
+ ID_CAPTURE: T,
163
+ TUTORIAL_ID: T,
164
+ SECOND_ID: T,
165
+ FACE_MATCH: () => import("./faceMatch-CFxHH3ic.js").then((e) => e.FaceMatch),
166
166
  CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((e) => e.CurpValidation),
167
167
  GOVT_VALIDATION_PROVISIONING: () => import("./governmentValidation/governmentValidation.es.js").then((e) => e.GovernmentValidation),
168
168
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
169
- EXTERNAL_VERIFICATION: () => import("./ekycModule-D8YFovqq.js").then((e) => e.EkycModule),
170
- EKYB: () => import("./ekybModule-IxSxK7ET.js").then((e) => e.EkybModule),
171
- DOCUMENT_CAPTURE: () => import("./documentCapture-CQ32GpB4.js").then((e) => e.DocumentCapture),
172
- ADDRESS: () => import("./documentCapture-CQ32GpB4.js").then((e) => e.DocumentCapture),
169
+ EXTERNAL_VERIFICATION: () => import("./ekycModule-R0YaUzV3.js").then((e) => e.EkycModule),
170
+ EKYB: () => import("./ekybModule-qBQ8sJSr.js").then((e) => e.EkybModule),
171
+ DOCUMENT_CAPTURE: () => import("./documentCapture-DHtlw3Lu.js").then((e) => e.DocumentCapture),
172
+ ADDRESS: () => import("./documentCapture-DHtlw3Lu.js").then((e) => e.DocumentCapture),
173
173
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
174
- MANDATORY_CONSENT: () => import("./mandatoryConsent-7CnQf3lz.js").then((e) => e.MandatoryConsent),
174
+ MANDATORY_CONSENT: () => import("./mandatoryConsent-DWwvkGGf.js").then((e) => e.MandatoryConsent),
175
175
  SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
176
176
  ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud),
177
177
  WATCHLIST: () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist),
@@ -179,21 +179,21 @@ var D = {
179
179
  QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((e) => e.QeSignature),
180
180
  CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((e) => e.CrossDocumentDataMatch)
181
181
  };
182
- function O(e = {}) {
183
- let t = {}, n = e.isDesktop ?? l() === "desktop";
184
- return u({
182
+ function A(e = {}) {
183
+ let t = {}, n = e.isDesktop ?? d() === "desktop";
184
+ return f({
185
185
  getFlow: async (r) => {
186
- let i = await d(r, {
186
+ let i = await p(r, {
187
187
  ...e,
188
188
  isDesktop: n
189
- }), a = E(i.flowModules ?? []);
189
+ }), a = O(i.flowModules ?? []);
190
190
  for (let e of Object.keys(t)) delete t[e];
191
191
  return Object.assign(t, a), i;
192
192
  },
193
193
  lazyModules: t
194
194
  });
195
195
  }
196
- async function k(e) {
196
+ async function j(e) {
197
197
  await a({
198
198
  apiURL: e.apiURL,
199
199
  token: e.token,
@@ -201,17 +201,17 @@ async function k(e) {
201
201
  i18n: { lang: e.lang ?? "en" }
202
202
  });
203
203
  }
204
- async function A(e) {
204
+ async function M(e) {
205
205
  let { apiURL: t, token: n, lang: r, flowManager: i } = e;
206
- await k({
206
+ await j({
207
207
  apiURL: t,
208
208
  token: n,
209
209
  lang: r
210
210
  }), i.load();
211
211
  }
212
- async function j() {
212
+ async function N() {
213
213
  try {
214
- let e = await S(), t = {
214
+ let e = await w(), t = {
215
215
  logoSrc: e.logo,
216
216
  subtitle: e.subtitle,
217
217
  hideFooterBranding: e.hideFooterBranding
@@ -224,25 +224,31 @@ async function j() {
224
224
  return {};
225
225
  }
226
226
  }
227
- function M(e, t) {
228
- let n = f(e.flow);
229
- n.length > 0 && c(s({
230
- ...t,
231
- pipelines: n
232
- })).catch((e) => {
233
- console.error("WASM warmup failed:", e);
234
- });
227
+ function P(e, t) {
228
+ let n = m(e.flow);
229
+ if (n.length > 0) {
230
+ let e = c({
231
+ ...t ?? {},
232
+ pipelines: n
233
+ }), r = {
234
+ ...e,
235
+ pipelines: e.pipelines ? [...e.pipelines] : void 0
236
+ };
237
+ l(r), u(e).then(() => s(r)).catch((e) => {
238
+ console.error("WASM warmup failed:", e);
239
+ });
240
+ }
235
241
  }
236
- function N(e) {
242
+ function F(e) {
237
243
  let t = e.currentStep;
238
244
  if (t) {
239
- let e = D[t];
245
+ let e = k[t];
240
246
  e && e().catch(() => {});
241
247
  }
242
248
  }
243
249
  //#endregion
244
250
  //#region src/modules/flow/unsupportedModule.tsx
245
- var P = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ r("section", {
251
+ var I = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ r("section", {
246
252
  class: "IncodeUnsupportedModule",
247
253
  "aria-live": "polite",
248
254
  children: /* @__PURE__ */ r("div", {
@@ -271,7 +277,7 @@ var P = ({ moduleKey: e, onNext: t }) => /* @__PURE__ */ r("section", {
271
277
  });
272
278
  //#endregion
273
279
  //#region src/modules/flow/useModuleLoader.ts
274
- function F(t) {
280
+ function L(t) {
275
281
  let { moduleKey: r, modules: i, onModuleLoading: a, onModuleLoaded: o, onError: s } = t, [c, l] = n({ status: "idle" });
276
282
  return e(() => {
277
283
  if (!r) {
@@ -317,7 +323,7 @@ function F(t) {
317
323
  s
318
324
  ]), c;
319
325
  }
320
- function I(n, r, i) {
326
+ function R(n, r, i) {
321
327
  let a = t(/* @__PURE__ */ new Set());
322
328
  e(() => {
323
329
  if (r < n.length - 1) {
@@ -337,4 +343,4 @@ function I(n, r, i) {
337
343
  ]);
338
344
  }
339
345
  //#endregion
340
- export { O as a, N as c, S as d, D as i, k as l, I as n, j as o, P as r, A as s, F as t, M as u };
346
+ export { A as a, F as c, w as d, k as i, j as l, R as n, N as o, I as r, M as s, L as t, P as u };
@@ -1,10 +1,10 @@
1
- import { n as e } from "./i18n-BijwYtJr.js";
1
+ import { n as e } from "./i18n-DUMvrSNM.js";
2
2
  import { v as t } from "./vendor-preact-D6SntenC.js";
3
3
  import { t as n } from "./page-kB-LDkaO.js";
4
- import { t as r } from "./spinner-Dg3lumvu.js";
5
- import { t as i } from "./button-jwSm4U5l.js";
6
- import { m as a, p as o } from "./icons-BNwTyDPs.js";
7
- import { t as s } from "./successIcon-Dklx5JWI.js";
4
+ import { t as r } from "./spinner-BAVCJLTE.js";
5
+ import { t as i } from "./button-BlHmZn6D.js";
6
+ import { m as a, p as o } from "./icons-CVO6RxwW.js";
7
+ import { t as s } from "./successIcon-AHrfmJvv.js";
8
8
  //#region src/shared/verificationResult/verificationResult.tsx
9
9
  var c = ({ status: c, submittingTitle: l, successTitle: u, failureTitle: d, warningTitle: f, onRetry: p, onSkip: m, retryLabel: h, skipLabel: g }) => {
10
10
  let { t: _ } = e();
@@ -1,23 +1,22 @@
1
- import { n as e } from "../i18n-BijwYtJr.js";
1
+ import { n as e } from "../i18n-DUMvrSNM.js";
2
2
  import { _ as t, l as n, v as r } from "../vendor-preact-D6SntenC.js";
3
- import { o as i, t as a } from "../incodeComponent-Cd290pHH.js";
4
- import { t as o } from "../spacer-DCljE53A.js";
5
- import { t as s } from "../page-kB-LDkaO.js";
6
- import { t as c } from "../loadingIcon-YV3D_mg8.js";
7
- import { t as l } from "../typography-BeNe2WRr.js";
8
- import "../typography-eCzT8rG3.js";
9
- import { t as u } from "../successIcon-Dklx5JWI.js";
3
+ import { c as i, r as a, t as o } from "../loadingIcon-ahC-hZN7.js";
4
+ import { t as s } from "../spacer-DCljE53A.js";
5
+ import { t as c } from "../page-kB-LDkaO.js";
6
+ import { t as l } from "../typography-7cXma7kl.js";
7
+ import "../typography-CsEiWMTG.js";
8
+ import { t as u } from "../successIcon-AHrfmJvv.js";
10
9
  import { t as d } from "../incodeModule-Di2OUZ5_.js";
11
10
  import { createWatchlistManager as f } from "@incodetech/core/watchlist";
12
11
  //#region src/modules/watchlist/watchlistStatusPage.tsx
13
- var p = ({ variant: e, icon: t, title: n, subtitle: i, titleRef: a }) => /* @__PURE__ */ r(s, {
12
+ var p = ({ variant: e, icon: t, title: n, subtitle: i, titleRef: a }) => /* @__PURE__ */ r(c, {
14
13
  className: `IncodeWatchlistStatusPage IncodeWatchlistStatusPage--${e}`,
15
- children: [/* @__PURE__ */ r(o, { size: 40 }), /* @__PURE__ */ r("div", {
14
+ children: [/* @__PURE__ */ r(s, { size: 40 }), /* @__PURE__ */ r("div", {
16
15
  class: "IncodeWatchlistStatusContainer",
17
16
  children: [
18
- /* @__PURE__ */ r(o, { size: 120 }),
17
+ /* @__PURE__ */ r(s, { size: 120 }),
19
18
  t,
20
- /* @__PURE__ */ r(o, { size: 16 }),
19
+ /* @__PURE__ */ r(s, { size: 16 }),
21
20
  /* @__PURE__ */ r(l, {
22
21
  ref: a,
23
22
  className: "IncodeWatchlistStatusTitle",
@@ -31,23 +30,23 @@ var p = ({ variant: e, icon: t, title: n, subtitle: i, titleRef: a }) => /* @__P
31
30
  ]
32
31
  })]
33
32
  }), m = ({ onFinish: a }) => {
34
- let { t: o } = e(), [s, l] = i(() => f()), d = n(null);
33
+ let { t: s } = e(), [c, l] = i(() => f()), d = n(null);
35
34
  return t(() => {
36
35
  l.load();
37
36
  }, [l]), t(() => {
38
- s.status === "finished" && a?.();
39
- }, [s.status, a]), t(() => {
40
- s.status === "success" && d.current?.focus();
41
- }, [s.status]), s.status === "success" ? /* @__PURE__ */ r(p, {
37
+ c.status === "finished" && a?.();
38
+ }, [c.status, a]), t(() => {
39
+ c.status === "success" && d.current?.focus();
40
+ }, [c.status]), c.status === "success" ? /* @__PURE__ */ r(p, {
42
41
  variant: "success",
43
42
  icon: /* @__PURE__ */ r(u, { size: 64 }),
44
- title: o("watchList.complete"),
43
+ title: s("watchList.complete"),
45
44
  titleRef: d
46
45
  }) : /* @__PURE__ */ r(p, {
47
46
  variant: "loading",
48
- icon: /* @__PURE__ */ r(c, { size: 64 }),
49
- title: o("watchList.processing"),
50
- subtitle: o("watchList.thisMigthTake")
47
+ icon: /* @__PURE__ */ r(o, { size: 64 }),
48
+ title: s("watchList.processing"),
49
+ subtitle: s("watchList.thisMigthTake")
51
50
  });
52
51
  }, h = ({ onFinish: e }) => /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r(m, { onFinish: e }) });
53
52
  d(h, "incode-watchlist");
@@ -1,17 +1,17 @@
1
- import { n as e } from "../i18n-BijwYtJr.js";
1
+ import { n as e } from "../i18n-DUMvrSNM.js";
2
2
  import { _ as t, l as n, p as r, v as i } from "../vendor-preact-D6SntenC.js";
3
3
  import { t as a } from "../uiConfig-CwpQ-IM6.js";
4
- import { o, t as s } from "../incodeComponent-Cd290pHH.js";
5
- import { t as c } from "../spinner-Dg3lumvu.js";
6
- import "../spinner-BEm5Wf_k.js";
4
+ import { c as o, r as s } from "../loadingIcon-ahC-hZN7.js";
5
+ import { t as c } from "../spinner-BAVCJLTE.js";
6
+ import "../spinner-B-jf992b.js";
7
7
  import { t as l } from "../incodeModule-Di2OUZ5_.js";
8
- import { d as u, i as d, l as f, r as p, t as m } from "../useModuleLoader-D_WjZsnk.js";
8
+ import { d as u, i as d, l as f, r as p, t as m } from "../useModuleLoader-DPGKFaMr.js";
9
9
  import { resolveWasmConfig as h, warmupWasm as g } from "@incodetech/core/wasm";
10
10
  import { createWorkflowManager as _ } from "@incodetech/core/workflow";
11
11
  //#region src/modules/workflow/workflowInit.ts
12
12
  var v = {
13
13
  ...d,
14
- REDIRECT_TO_MOBILE: () => import("../redirectToMobile-CFzDfmuH.js").then((e) => e.RedirectToMobile)
14
+ REDIRECT_TO_MOBILE: () => import("../redirectToMobile-CYt-uhqB.js").then((e) => e.RedirectToMobile)
15
15
  };
16
16
  async function y() {
17
17
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260415-20a2fc4",
3
+ "version": "0.0.0-dev-20260416-8fd0b75",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -183,7 +183,7 @@
183
183
  "qrcode": "^1.5.4",
184
184
  "signature_pad": "^5.1.3",
185
185
  "tailwindcss": "^4.1.17",
186
- "@incodetech/core": "0.0.0-dev-20260415-20a2fc4"
186
+ "@incodetech/core": "0.0.0-dev-20260416-8fd0b75"
187
187
  },
188
188
  "devDependencies": {
189
189
  "@microsoft/api-extractor": "^7.53.3",
@@ -1 +0,0 @@
1
- import "./dateInputComposed-DnHTS15O.js";
@@ -1 +0,0 @@
1
- import "./dropdownComposed-C6vVF6YA.js";
@@ -1,2 +0,0 @@
1
- import { t as e } from "./ekybModule-NJtVSNt8.js";
2
- export { e as EkybModule };
@@ -1,2 +0,0 @@
1
- import { t as e } from "./ekycModule-CHJc0y79.js";
2
- export { e as EkycModule };
@@ -1,2 +0,0 @@
1
- import { t as e } from "./faceMatch-Don75gXW.js";
2
- export { e as FaceMatch };
@@ -1 +0,0 @@
1
- import "./inputComposed-Cd-Hl-nY.js";
@@ -1,50 +0,0 @@
1
- import { a as e, n as t, o as n } from "./i18n-BijwYtJr.js";
2
- import { d as r } from "./vendor-preact-D6SntenC.js";
3
- //#region src/modules/home/language.ts
4
- function i(e, t) {
5
- let [n, ...r] = Array.from(e);
6
- return n ? `${n.toLocaleUpperCase(t)}${r.join("")}` : e;
7
- }
8
- function a(t) {
9
- let [, n] = t.split("-");
10
- if (n && /^[A-Z]{2}$/.test(n)) return n;
11
- let r = e(t), i = Array.from(r).map((e) => e.codePointAt(0));
12
- if (i.length !== 2) return null;
13
- let a = i.map((e) => !e || e < 127462 || e > 127487 ? null : String.fromCharCode(e - 127462 + 65));
14
- return a.some((e) => e === null) ? null : a.join("");
15
- }
16
- function o(e, t) {
17
- return typeof Intl < "u" && Intl.DisplayNames !== void 0 ? i(new Intl.DisplayNames([t, "en"], { type: "language" }).of(e) ?? e, t) : i(e, t);
18
- }
19
- function s(t, n) {
20
- let r = t.split("-")[0] || t, i = a(t), s = o(r, n), c = i ? ` (${i})` : "";
21
- return `${e(t)} ${s}${c}`;
22
- }
23
- function c(t, n) {
24
- let r = e(t), [o, s] = t.split("-"), c = o || t, l = i(new Intl.DisplayNames([n, "en"], { type: "language" }).of(c) ?? c, n);
25
- if (s && !/^[A-Z]{2}$/.test(s)) return `${r} ${i(new Intl.DisplayNames([n, "en"], { type: "language" }).of(t) ?? t, n)}`;
26
- if (s) return `${r} ${l} (${new Intl.DisplayNames([n, "en"], { type: "region" }).of(s) ?? s})`;
27
- let u = a(t);
28
- return u ? `${r} ${l} (${u})` : `${r} ${l}`;
29
- }
30
- function l(e) {
31
- let t = [...new Set(n)].map((t) => ({
32
- value: t,
33
- label: c(t, e)
34
- }));
35
- return t.sort((e, t) => e.label.localeCompare(t.label)), t;
36
- }
37
- async function u(e, t) {
38
- await e(t), typeof localStorage < "u" && localStorage.setItem("language", t), typeof document < "u" && (document.documentElement.lang = t);
39
- }
40
- function d() {
41
- let { i18n: e } = t(), n = e.language || "en", i = r(() => l(n), [n]);
42
- return {
43
- selectedLanguage: n,
44
- selectedMainLanguageLabel: s(n, n),
45
- languageOptions: i,
46
- changeLanguage: (t) => u(e.changeLanguage.bind(e), t)
47
- };
48
- }
49
- //#endregion
50
- export { d as t };
@@ -1,42 +0,0 @@
1
- import { v as e } from "./vendor-preact-D6SntenC.js";
2
- //#region src/styles/cn.tsx
3
- var t = (...e) => {
4
- let t = [];
5
- for (let n of e) if (n) {
6
- if (typeof n == "string") t.push(n);
7
- else if (typeof n == "object") for (let [e, r] of Object.entries(n)) r && t.push(e);
8
- }
9
- return t.join(" ");
10
- }, n = ({ size: n, className: r }) => /* @__PURE__ */ e("svg", {
11
- width: n,
12
- height: n,
13
- viewBox: "0 0 31 31",
14
- fill: "none",
15
- xmlns: "http://www.w3.org/2000/svg",
16
- class: t("IncodeLoadingIconPrimaryIcon", r),
17
- "aria-hidden": "true",
18
- children: /* @__PURE__ */ e("path", { d: "M28.1614 15.2837C29.453 15.2837 30.5186 14.2304 30.3181 12.9545C30.1344 11.7862 29.8129 10.6411 29.3582 9.54344C28.6044 7.72356 27.4995 6.06997 26.1066 4.67709C24.7137 3.28421 23.0601 2.17932 21.2403 1.4255C20.1426 0.970841 18.9974 0.649265 17.8292 0.46563C16.5533 0.265073 15.5 1.33073 15.5 2.62232C15.5 3.91391 16.5601 4.93461 17.8187 5.22473C18.3748 5.35291 18.9206 5.52729 19.4503 5.74672C20.7028 6.26548 21.8407 7.02585 22.7993 7.98441C23.7578 8.94296 24.5182 10.0809 25.037 11.3333C25.2564 11.8631 25.4308 12.4089 25.559 12.965C25.8491 14.2236 26.8698 15.2837 28.1614 15.2837Z" })
19
- }), r = ({ size: n, className: r }) => /* @__PURE__ */ e("svg", {
20
- width: n,
21
- height: n,
22
- viewBox: "0 0 31 31",
23
- fill: "none",
24
- xmlns: "http://www.w3.org/2000/svg",
25
- class: t("IncodeLoadingIconSecondaryIcon", r),
26
- "aria-hidden": "true",
27
- children: [/* @__PURE__ */ e("title", { children: "Spinner Outer part" }), /* @__PURE__ */ e("path", { d: "M30.5 15.2837C30.5 23.568 23.7843 30.2837 15.5 30.2837C7.21573 30.2837 0.5 23.568 0.5 15.2837C0.5 6.99942 7.21573 0.283691 15.5 0.283691C23.7843 0.283691 30.5 6.99942 30.5 15.2837ZM5.17725 15.2837C5.17725 20.9848 9.7989 25.6064 15.5 25.6064C21.2011 25.6064 25.8227 20.9848 25.8227 15.2837C25.8227 9.5826 21.2011 4.96095 15.5 4.96095C9.7989 4.96095 5.17725 9.5826 5.17725 15.2837Z" })]
28
- }), i = ({ size: t = 30, secondaryClass: i, primaryClass: a }) => /* @__PURE__ */ e("div", {
29
- class: "IncodeLoadingIcon",
30
- children: [/* @__PURE__ */ e(r, {
31
- size: t,
32
- className: i
33
- }), /* @__PURE__ */ e("div", {
34
- class: "IncodeLoadingIconPrimary",
35
- children: /* @__PURE__ */ e(n, {
36
- size: t,
37
- className: a
38
- })
39
- })]
40
- });
41
- //#endregion
42
- export { t as n, i as t };
@@ -1,68 +0,0 @@
1
- import { n as e } from "./i18n-BijwYtJr.js";
2
- import { v as t } from "./vendor-preact-D6SntenC.js";
3
- import { t as n } from "./spacer-DCljE53A.js";
4
- import { t as r } from "./page-kB-LDkaO.js";
5
- import { t as i } from "./button-jwSm4U5l.js";
6
- import { o as a } from "./icons-BNwTyDPs.js";
7
- import { t as o } from "./dropdownComposed-C6vVF6YA.js";
8
- import "./dropdownComposed-DkSZPhUb.js";
9
- import { t as s } from "./language-Dvo4jXwx.js";
10
- //#region src/modules/home/settings.tsx
11
- function c({ onClose: c }) {
12
- let { t: l } = e(), { selectedLanguage: u, languageOptions: d, changeLanguage: f } = s();
13
- return /* @__PURE__ */ t(r, {
14
- hideHeader: !0,
15
- hideFooterBranding: !0,
16
- children: /* @__PURE__ */ t("section", {
17
- class: "IncodeHomeSettingsContainer",
18
- "aria-live": "polite",
19
- children: [
20
- /* @__PURE__ */ t("header", {
21
- class: "IncodeHomeSettingsHeader",
22
- children: /* @__PURE__ */ t("button", {
23
- type: "button",
24
- class: "IncodeHomeSettingsCloseButton",
25
- onClick: c,
26
- "data-testid": "home-settings-close-button",
27
- children: /* @__PURE__ */ t(a, {
28
- width: 24,
29
- height: 24
30
- })
31
- })
32
- }),
33
- /* @__PURE__ */ t("div", {
34
- class: "IncodeHomeSettingsBody",
35
- children: [
36
- /* @__PURE__ */ t("h1", {
37
- class: "IncodeHomeSettingsTitle",
38
- tabIndex: -1,
39
- children: l("settings.settings")
40
- }),
41
- /* @__PURE__ */ t(n, { size: 32 }),
42
- /* @__PURE__ */ t(o, {
43
- id: "home-language",
44
- label: l("v2.settings.language"),
45
- value: u,
46
- options: d,
47
- onChange: async (e) => {
48
- await f(e);
49
- },
50
- searchable: !0,
51
- "data-testid": "home-language-select"
52
- })
53
- ]
54
- }),
55
- /* @__PURE__ */ t("div", {
56
- class: "IncodeHomeSettingsFooter",
57
- children: /* @__PURE__ */ t(i, {
58
- onClick: c,
59
- "data-testid": "home-settings-done-button",
60
- children: l("settings.done")
61
- })
62
- })
63
- ]
64
- })
65
- });
66
- }
67
- //#endregion
68
- export { c as Settings };
@@ -1 +0,0 @@
1
- import "./spinner-Dg3lumvu.js";
@@ -1 +0,0 @@
1
- import "./typography-BeNe2WRr.js";