@incodetech/web 0.0.0-dev-20260326-ac8336a → 0.0.0-dev-20260326-106dc21

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 (64) hide show
  1. package/dist/{Trans-BQctqaWi.js → Trans-BSLSJO1_.js} +2 -2
  2. package/dist/{addressAutocomplete-CnuyGGR4.js → addressAutocomplete-BhUbJEuH.js} +6 -6
  3. package/dist/authentication/authentication.es.js +5 -5
  4. package/dist/{back-horizontal-hint-CktUy0An.js → back-horizontal-hint-CSlf9KI1.js} +1 -1
  5. package/dist/{back-vertical-hint-CMOWSEsc.js → back-vertical-hint-CNieqiCr.js} +1 -1
  6. package/dist/base.css +4 -1
  7. package/dist/{button-qiC4m4lf.js → button-B2Ewo0rX.js} +2 -2
  8. package/dist/cameraView-CT9-WWcG.js +55 -0
  9. package/dist/{captureFooter-BIPDtCn6.js → captureFooter-B_3eu8kq.js} +77 -127
  10. package/dist/captureOverlay-CB8lyLgp.js +399 -0
  11. package/dist/{checkbox-KYc1FnQr.js → checkbox-CXnQVsbJ.js} +3 -3
  12. package/dist/{chevronDown-J1Yx1Jy7.js → chevronDown-DKyU4xPP.js} +1 -1
  13. package/dist/{closeIcon-C5IKfu-j.js → closeIcon-DjWL_arL.js} +1 -1
  14. package/dist/consent/consent.es.js +8 -8
  15. package/dist/curp-validation/curp-validation.es.js +11 -11
  16. package/dist/{dateInputComposed-DzB7gNed.js → dateInputComposed-DmlHvCmR.js} +4 -4
  17. package/dist/{documentCapture-B4JcCGTV.js → documentCapture-DYsIVkcU.js} +14 -13
  18. package/dist/{dropdownComposed-CnmITmQb.js → dropdownComposed-DFrqye1c.js} +5 -5
  19. package/dist/{ekybModule-BLdLDQLO.js → ekybModule-Cve2s2tf.js} +10 -10
  20. package/dist/{ekycModule-CmuQbdiJ.js → ekycModule-Hi5yRFs3.js} +11 -11
  21. package/dist/email/email.es.js +97 -106
  22. package/dist/email/styles.css +0 -111
  23. package/dist/{errorContent-BudafcKL.js → errorContent-CqNelsXg.js} +6 -6
  24. package/dist/{errorIcon-DbJL-4MJ.js → errorIcon-C-Zd24vb.js} +1 -1
  25. package/dist/extensibility.es.js +92 -89
  26. package/dist/{faceMatch-DylE4LWy.js → faceMatch-BVsE7czZ.js} +6 -6
  27. package/dist/{fileIcon-ClvmLl6A.js → fileIcon-DIVwt0SD.js} +1 -1
  28. package/dist/{flipAnimation-BXWZxnGC.js → flipAnimation-CQ3So9XG.js} +269 -655
  29. package/dist/flow/flow.es.js +14 -14
  30. package/dist/flow/styles.css +0 -85
  31. package/dist/{formField-CMNAU-Eh.js → formField-CPfeaz8y.js} +8 -8
  32. package/dist/{front-horizontal-hint-Ca8ux7ED.js → front-horizontal-hint-lRLKd7vY.js} +1 -1
  33. package/dist/{front-vertical-hint-Cl9a47Kq.js → front-vertical-hint-qQoJXRE3.js} +1 -1
  34. package/dist/geolocation/geolocation.es.js +6 -6
  35. package/dist/governmentValidation/governmentValidation.es.js +10 -10
  36. package/dist/id/id.es.js +16 -15
  37. package/dist/{incodeModule-DtbbjNTQ.js → incodeModule-C4XIllao.js} +1 -1
  38. package/dist/index.es.js +3 -3
  39. package/dist/{inputComposed-7r-2MfA7.js → inputComposed-CJQTXKNA.js} +5 -5
  40. package/dist/{mandatoryConsent-BcbxGZN6.js → mandatoryConsent-B2zqptlI.js} +8 -8
  41. package/dist/manualCaptureButton-CUq6VXLb.js +371 -0
  42. package/dist/otpInput-CGlYkmvB.js +148 -0
  43. package/dist/{page-CH1_PpOG.js → page-DiscPBzz.js} +2 -2
  44. package/dist/{passport-horizontal-hint-CWnj6Kh1.js → passport-horizontal-hint-BCtpMp1Y.js} +1 -1
  45. package/dist/{passport-vertical-hint-DzkQdaag.js → passport-vertical-hint-GaLnzqHP.js} +1 -1
  46. package/dist/permissions-CDir4ckn.js +707 -0
  47. package/dist/phone/phone.es.js +66 -64
  48. package/dist/{phoneInput-C9tQVoqL.js → phoneInput-TwyIF7PG.js} +3 -3
  49. package/dist/{phoneInputComposed-DYE5UsRs.js → phoneInputComposed-Dsf9ZDTj.js} +6 -6
  50. package/dist/{processing-DW3Cq3ot.js → processing-De8XWnFp.js} +4 -4
  51. package/dist/{richText-Bh30370T.js → richText-DHl4ibE9.js} +2 -2
  52. package/dist/selfie/selfie.es.js +6 -6
  53. package/dist/signature/signature.es.js +7 -7
  54. package/dist/{spinner-_-QbAnd8.js → spinner-DfUoOZN4.js} +3 -3
  55. package/dist/{successIcon-C-3-t1kz.js → successIcon-DyHNp_UT.js} +1 -1
  56. package/dist/{tutorial-BRvI-ZLU.js → tutorial-Cx_ANvlr.js} +42 -41
  57. package/dist/{typography-DgyeaZWI.js → typography-zMrvftfB.js} +2 -2
  58. package/dist/{uiConfig-BSR3Bl6G.js → uiConfig-DmIn-g8M.js} +1 -1
  59. package/dist/{useMediaQuery-DN93efdT.js → useMediaQuery-lJdQBmC2.js} +1 -1
  60. package/dist/{vendor-preact-BY8u4mdq.js → vendor-preact-BoMmvSgn.js} +3 -3
  61. package/dist/{warningIcon-BEDHbr3Z.js → warningIcon-MsE5PaSQ.js} +1 -1
  62. package/package.json +2 -2
  63. package/dist/manualCaptureButton-6WD7GhPe.js +0 -1071
  64. package/dist/otpInput-B4ic8127.js +0 -120
@@ -1,109 +1,111 @@
1
- import { u as e, I as b, b as I, a as C, S as c, B as O } from "../button-qiC4m4lf.js";
2
- import { createPhoneManager as v } from "@incodetech/core/phone";
3
- import { d as S } from "../vendor-preact-BY8u4mdq.js";
4
- import "../uiConfig-BSR3Bl6G.js";
1
+ import { u as e, I, b, a as O, S as h, B as C } from "../button-B2Ewo0rX.js";
2
+ import { createPhoneManager as E } from "@incodetech/core/phone";
3
+ import { d as v } from "../vendor-preact-BoMmvSgn.js";
4
+ import "../uiConfig-DmIn-g8M.js";
5
5
  import "@incodetech/core";
6
- import { C as E } from "../checkbox-KYc1FnQr.js";
7
- import { O as y } from "../otpInput-B4ic8127.js";
8
- import { P as m } from "../page-CH1_PpOG.js";
9
- import { P as w } from "../phoneInputComposed-DYE5UsRs.js";
10
- import { r as k } from "../incodeModule-DtbbjNTQ.js";
11
- const B = ({
6
+ import { C as S } from "../checkbox-CXnQVsbJ.js";
7
+ import { O as w } from "../otpInput-CGlYkmvB.js";
8
+ import { P as g } from "../page-DiscPBzz.js";
9
+ import { P as y } from "../phoneInputComposed-Dsf9ZDTj.js";
10
+ import { r as k } from "../incodeModule-C4XIllao.js";
11
+ const R = ({
12
12
  config: n,
13
- manager: r,
14
- onFinish: a,
15
- onError: u
13
+ manager: i,
14
+ onFinish: p,
15
+ onError: l
16
16
  }) => {
17
- const { t: o } = I(), [t, s] = C(
17
+ const { t: s } = b(), [t, o] = O(
18
18
  () => {
19
- if (r) return r;
19
+ if (i) return i;
20
20
  if (!n)
21
21
  throw new Error("Phone config is required");
22
- return v({ config: n });
22
+ return E({ config: n });
23
23
  },
24
- { manageLifecycle: !r }
25
- ), [h, g] = S(!1);
26
- if (t.status === "idle" || t.status === "loadingPrefill" || t.status === "inputting" || t.status === "submitting" || t.status === "sendingOtp") {
27
- const i = t.status === "idle" || t.status === "loadingPrefill" || t.status === "submitting" || t.status === "sendingOtp", d = t.status === "inputting" ? t.countryCode : "US", f = t.status === "inputting" ? t.prefilledPhone : void 0, P = t.status === "inputting" && t.phoneError ? o(t.phoneError) : void 0;
24
+ { manageLifecycle: !i }
25
+ ), [f, P] = v(!1);
26
+ if (t.status === "idle" || t.status === "loadingPrefill" || t.status === "inputting" || t.status === "submitting" || t.status === "sendingInitialOtp") {
27
+ const r = t.status === "idle" || t.status === "loadingPrefill" || t.status === "submitting" || t.status === "sendingInitialOtp", a = t.status === "inputting" ? t.countryCode : "US", d = t.status === "inputting" ? t.prefilledPhone : void 0, c = t.status === "inputting" && t.phoneError ? s(t.phoneError) : void 0;
28
28
  return /* @__PURE__ */ e(
29
- m,
29
+ g,
30
30
  {
31
31
  className: "IncodePhonePage",
32
- title: o("phone.verify"),
33
- subtitle: n.otpVerification ? o("email.willSendCode") : void 0,
32
+ title: s("phone.verify"),
33
+ subtitle: n.otpVerification ? s("email.willSendCode") : void 0,
34
34
  children: [
35
35
  /* @__PURE__ */ e("div", { class: "IncodePhoneInputContainer", children: [
36
36
  /* @__PURE__ */ e(
37
- w,
37
+ y,
38
38
  {
39
39
  id: "phone",
40
- countryCode: d,
41
- value: f,
42
- error: P,
43
- disabled: i,
44
- onChange: (p, l) => {
45
- s.setPhoneNumber(p, l), g(l);
40
+ countryCode: a,
41
+ value: d,
42
+ error: c,
43
+ disabled: r,
44
+ onChange: (u, m) => {
45
+ o.setPhoneNumber(u, m), P(m);
46
46
  },
47
- "data-testid": "phone-input"
47
+ "data-testid": "phone-input",
48
+ showErrorIcon: !0
48
49
  }
49
50
  ),
50
- /* @__PURE__ */ e(c, { size: 16 }),
51
+ /* @__PURE__ */ e(h, { size: 16 }),
51
52
  n.optinEnabled && /* @__PURE__ */ e(
52
- E,
53
+ S,
53
54
  {
54
55
  id: "phone-optin",
55
- label: o("phone.optIn"),
56
+ label: s("phone.optIn"),
56
57
  size: "s",
57
- onChange: (p) => s.setOptInGranted(p.target.checked)
58
+ onChange: (u) => o.setOptInGranted(u.target.checked)
58
59
  }
59
60
  )
60
61
  ] }),
61
- /* @__PURE__ */ e(c, {}),
62
+ /* @__PURE__ */ e(h, {}),
62
63
  /* @__PURE__ */ e(
63
- O,
64
+ C,
64
65
  {
65
- onClick: () => s.submit(),
66
- disabled: !h,
67
- isLoading: i,
66
+ onClick: () => o.submit(),
67
+ disabled: !f,
68
+ isLoading: r,
68
69
  "data-testid": "phone-submit",
69
- children: o("common.continue")
70
+ children: s("common.continue")
70
71
  }
71
72
  )
72
73
  ]
73
74
  }
74
75
  );
75
76
  }
76
- if (t.status === "awaitingOtp" || t.status === "verifyingOtp" || t.status === "otpError") {
77
- const i = t.status === "verifyingOtp";
78
- return /* @__PURE__ */ e(m, { className: "IncodePhonePage", title: o("otp.enterCodeSMS"), children: /* @__PURE__ */ e(
79
- y,
77
+ if (t.status === "awaitingOtp" || t.status === "verifyingOtp" || t.status === "otpError" || t.status === "resendingOtp") {
78
+ const r = t.status === "verifyingOtp", a = t.status === "otpError", d = t.status === "awaitingOtp", c = t.status === "resendingOtp";
79
+ return /* @__PURE__ */ e(g, { className: "IncodePhonePage", title: s("otp.enterCodeSMS"), children: /* @__PURE__ */ e(
80
+ w,
80
81
  {
81
- resendTimer: t.status === "awaitingOtp" ? t.resendTimer : 0,
82
- canResend: t.status === "awaitingOtp" ? t.canResend : !1,
83
- error: t.status === "otpError" ? o(t.error) : void 0,
84
- onSubmit: (d) => s.submitOtp(d),
85
- onResend: () => s.resendOtp(),
86
- onBack: () => s.back(),
87
- isLoading: i
82
+ resendTimer: d || a ? t.resendTimer : 0,
83
+ canResend: d || a ? t.canResend : !1,
84
+ isLoading: r,
85
+ disabled: c || r,
86
+ error: a ? s(t.otpError) : void 0,
87
+ onSubmit: (u) => o.submitOtp(u),
88
+ onResend: () => o.resendOtp(),
89
+ onBack: () => o.back()
88
90
  }
89
91
  ) });
90
92
  }
91
- return t.status === "finished" ? (a?.(), null) : (t.status === "error" && u?.(t.error), null);
92
- }, L = ({
93
+ return t.status === "finished" ? (p?.(), null) : (t.status === "error" && l?.(t.error), null);
94
+ }, B = ({
93
95
  config: n,
94
- manager: r,
95
- onFinish: a,
96
- onError: u
97
- }) => /* @__PURE__ */ e(b, { children: n ? /* @__PURE__ */ e(
98
- B,
96
+ manager: i,
97
+ onFinish: p,
98
+ onError: l
99
+ }) => /* @__PURE__ */ e(I, { children: n ? /* @__PURE__ */ e(
100
+ R,
99
101
  {
100
102
  config: n,
101
- manager: r,
102
- onFinish: a,
103
- onError: u
103
+ manager: i,
104
+ onFinish: p,
105
+ onError: l
104
106
  }
105
107
  ) : null });
106
- k(L, "incode-phone");
108
+ k(B, "incode-phone");
107
109
  export {
108
- L as Phone
110
+ B as Phone
109
111
  };
@@ -1,7 +1,7 @@
1
- import { u as n, S } from "./button-qiC4m4lf.js";
2
- import { d as p, A as D, y as u, k as $ } from "./vendor-preact-BY8u4mdq.js";
1
+ import { u as n, S } from "./button-B2Ewo0rX.js";
2
+ import { d as p, A as D, y as u, k as $ } from "./vendor-preact-BoMmvSgn.js";
3
3
  import { g as b, c as g } from "./countries-DfLkrF0x.js";
4
- import { C as z } from "./chevronDown-J1Yx1Jy7.js";
4
+ import { C as z } from "./chevronDown-DKyU4xPP.js";
5
5
  import { p as k, A } from "./AsYouType-D1H_js4X.js";
6
6
  const M = ({
7
7
  countryCode: P,
@@ -1,10 +1,10 @@
1
- import { u as r } from "./button-qiC4m4lf.js";
2
- import { D as J, d as g, A as x, T as M, y as Q, q as A } from "./vendor-preact-BY8u4mdq.js";
1
+ import { u as r } from "./button-B2Ewo0rX.js";
2
+ import { D as J, d as g, A as x, T as M, y as Q, q as A } from "./vendor-preact-BoMmvSgn.js";
3
3
  import { w as X, g as I, c as j, b as k } from "./countries-DfLkrF0x.js";
4
- import { D as z } from "./dropdownComposed-CnmITmQb.js";
5
- import { E as q } from "./errorIcon-DbJL-4MJ.js";
6
- import { S as _ } from "./successIcon-C-3-t1kz.js";
7
- import { a as e2 } from "./inputComposed-7r-2MfA7.js";
4
+ import { D as z } from "./dropdownComposed-DFrqye1c.js";
5
+ import { E as q } from "./errorIcon-C-Zd24vb.js";
6
+ import { S as _ } from "./successIcon-DyHNp_UT.js";
7
+ import { a as e2 } from "./inputComposed-CJQTXKNA.js";
8
8
  import { P as n2, p as L, A as b } from "./AsYouType-D1H_js4X.js";
9
9
  function o2(e, o, a) {
10
10
  if (o[e])
@@ -1,7 +1,7 @@
1
- import { b as i, u as t } from "./button-qiC4m4lf.js";
2
- import { S as e } from "./spinner-_-QbAnd8.js";
3
- import "./uiConfig-BSR3Bl6G.js";
4
- import "./vendor-preact-BY8u4mdq.js";
1
+ import { b as i, u as t } from "./button-B2Ewo0rX.js";
2
+ import { S as e } from "./spinner-DfUoOZN4.js";
3
+ import "./uiConfig-DmIn-g8M.js";
4
+ import "./vendor-preact-BoMmvSgn.js";
5
5
  const s = () => {
6
6
  const { t: r } = i();
7
7
  return /* @__PURE__ */ t(
@@ -1,8 +1,8 @@
1
1
  var Zn = Object.defineProperty;
2
2
  var jn = (r, e, t) => e in r ? Zn(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
3
3
  var A = (r, e, t) => jn(r, typeof e != "symbol" ? e + "" : e, t);
4
- import { u as an } from "./button-qiC4m4lf.js";
5
- import { _ as Yn, x as Xn } from "./vendor-preact-BY8u4mdq.js";
4
+ import { u as an } from "./button-B2Ewo0rX.js";
5
+ import { _ as Yn, x as Xn } from "./vendor-preact-BoMmvSgn.js";
6
6
  const {
7
7
  entries: yn,
8
8
  setPrototypeOf: on,
@@ -1,11 +1,11 @@
1
- import { u as r, I as u, a } from "../button-qiC4m4lf.js";
1
+ import { u as r, I as u, a } from "../button-B2Ewo0rX.js";
2
2
  import { createSelfieManager as l } from "@incodetech/core/selfie";
3
- import "../vendor-preact-BY8u4mdq.js";
3
+ import "../vendor-preact-BoMmvSgn.js";
4
4
  import "@incodetech/core";
5
- import { P as m } from "../manualCaptureButton-6WD7GhPe.js";
6
- import { r as f } from "../incodeModule-DtbbjNTQ.js";
7
- import { P as p } from "../processing-DW3Cq3ot.js";
8
- import { T as c, C as d } from "../tutorial-BRvI-ZLU.js";
5
+ import { P as m } from "../permissions-CDir4ckn.js";
6
+ import { r as f } from "../incodeModule-C4XIllao.js";
7
+ import { P as p } from "../processing-De8XWnFp.js";
8
+ import { T as c, C as d } from "../tutorial-Cx_ANvlr.js";
9
9
  const g = ({
10
10
  config: e,
11
11
  manager: s,
@@ -1,12 +1,12 @@
1
- import { u, I as k, b as T, a as D, S as R, B as w } from "../button-qiC4m4lf.js";
2
- import { D as N, A as I, q as E, F as L, y, d as O, T as W } from "../vendor-preact-BY8u4mdq.js";
1
+ import { u, I as k, b as T, a as D, S as R, B as w } from "../button-B2Ewo0rX.js";
2
+ import { D as N, A as I, q as E, F as L, y, d as O, T as W } from "../vendor-preact-BoMmvSgn.js";
3
3
  import "@incodetech/core";
4
- import "../uiConfig-BSR3Bl6G.js";
5
- import { P } from "../page-CH1_PpOG.js";
6
- import { r as z } from "../incodeModule-DtbbjNTQ.js";
4
+ import "../uiConfig-DmIn-g8M.js";
5
+ import { P } from "../page-DiscPBzz.js";
6
+ import { r as z } from "../incodeModule-C4XIllao.js";
7
7
  import { SignaturePad as M, createSignatureManager as H } from "@incodetech/core/signature";
8
- import { S as A } from "../successIcon-C-3-t1kz.js";
9
- import { f as U } from "../typography-DgyeaZWI.js";
8
+ import { S as A } from "../successIcon-DyHNp_UT.js";
9
+ import { f as U } from "../typography-zMrvftfB.js";
10
10
  const F = (r) => {
11
11
  if (typeof document > "u") return null;
12
12
  const e = document.createElement("div");
@@ -1,6 +1,6 @@
1
- import { c as p, u as n, d as S, S as a } from "./button-qiC4m4lf.js";
2
- import { A as m, y as u, k as s } from "./vendor-preact-BY8u4mdq.js";
3
- import { T as I } from "./typography-DgyeaZWI.js";
1
+ import { c as p, u as n, d as S, S as a } from "./button-B2Ewo0rX.js";
2
+ import { A as m, y as u, k as s } from "./vendor-preact-BoMmvSgn.js";
3
+ import { T as I } from "./typography-zMrvftfB.js";
4
4
  const f = {
5
5
  small: 24,
6
6
  medium: 48,
@@ -1,4 +1,4 @@
1
- import { u as t } from "./button-qiC4m4lf.js";
1
+ import { u as t } from "./button-B2Ewo0rX.js";
2
2
  const i = ({ size: s = 64 }) => /* @__PURE__ */ t(
3
3
  "svg",
4
4
  {
@@ -1,12 +1,13 @@
1
- import { u as t, S as _, b as g, c as N, B as F, d as y } from "./button-qiC4m4lf.js";
2
- import { A as a, y as p, g as w, q as V, k as L, d as I } from "./vendor-preact-BY8u4mdq.js";
3
- import "./uiConfig-BSR3Bl6G.js";
4
- import { S as P } from "./successIcon-C-3-t1kz.js";
5
- import { P as m } from "./page-CH1_PpOG.js";
6
- import { T as v } from "./typography-DgyeaZWI.js";
7
- import { E as B } from "./errorContent-BudafcKL.js";
8
- import { a as M, B as U } from "./manualCaptureButton-6WD7GhPe.js";
9
- import { S as H } from "./spinner-_-QbAnd8.js";
1
+ import { u as t, S as _, b as g, c as N, B as F, d as y } from "./button-B2Ewo0rX.js";
2
+ import { A as a, y as p, g as w, q as V, k as L, d as I } from "./vendor-preact-BoMmvSgn.js";
3
+ import "./uiConfig-DmIn-g8M.js";
4
+ import { S as P } from "./successIcon-DyHNp_UT.js";
5
+ import { P as D } from "./page-DiscPBzz.js";
6
+ import { T as v } from "./typography-zMrvftfB.js";
7
+ import { E as B } from "./errorContent-CqNelsXg.js";
8
+ import { a as M } from "./manualCaptureButton-CUq6VXLb.js";
9
+ import { S as U } from "./spinner-DfUoOZN4.js";
10
+ import { B as H } from "./permissions-CDir4ckn.js";
10
11
  const h = ({
11
12
  icon: i,
12
13
  title: n,
@@ -15,7 +16,7 @@ const h = ({
15
16
  const r = a(null);
16
17
  return p(() => {
17
18
  r.current?.focus();
18
- }, []), /* @__PURE__ */ t(m, { className: `IncodeCaptureStatusPage ${e ?? ""}`, children: [
19
+ }, []), /* @__PURE__ */ t(D, { className: `IncodeCaptureStatusPage ${e ?? ""}`, children: [
19
20
  /* @__PURE__ */ t(_, { size: 40 }),
20
21
  /* @__PURE__ */ t("div", { class: "IncodeCaptureStatusContainer", children: [
21
22
  /* @__PURE__ */ t(_, { size: 120 }),
@@ -32,7 +33,7 @@ const h = ({
32
33
  )
33
34
  ] })
34
35
  ] });
35
- }, f = {
36
+ }, E = {
36
37
  title: "Something went wrong",
37
38
  description: "Please try again later"
38
39
  }, x = {
@@ -68,13 +69,13 @@ const h = ({
68
69
  title: "notifications.multiple",
69
70
  description: "notifications.multipleDescription"
70
71
  },
71
- TOO_BLURRY_ERROR: f,
72
- TOO_DARK_ERROR: f,
73
- SERVER_ERROR: f,
74
- FACE_CROPPING_FAILED: f,
75
- FACE_TOO_SMALL: f,
76
- PROCESSING_ERROR: f,
77
- BAD_REQUEST: f,
72
+ TOO_BLURRY_ERROR: E,
73
+ TOO_DARK_ERROR: E,
74
+ SERVER_ERROR: E,
75
+ FACE_CROPPING_FAILED: E,
76
+ FACE_TOO_SMALL: E,
77
+ PROCESSING_ERROR: E,
78
+ BAD_REQUEST: E,
78
79
  USER_IS_NOT_RECOGNIZED: {
79
80
  title: "notifications.accessDenied",
80
81
  description: "notifications.accessDeniedDescription"
@@ -168,7 +169,7 @@ const h = ({
168
169
  }) => {
169
170
  const { t: r } = g();
170
171
  if (!i) return null;
171
- const c = Q(i) ?? i, { title: s, description: l } = x[c] ?? f, u = r(s) ?? s, d = n <= 0 ? r("notifications.selfieCaptureFailedDescription") : r(l);
172
+ const c = Q(i) ?? i, { title: s, description: l } = x[c] ?? E, u = r(s) ?? s, d = n <= 0 ? r("notifications.selfieCaptureFailedDescription") : r(l);
172
173
  return /* @__PURE__ */ t(
173
174
  B,
174
175
  {
@@ -286,14 +287,14 @@ const h = ({
286
287
  centerFace: e("notifications.centerFaceV2"),
287
288
  getReady: e("notifications.getReady"),
288
289
  capturing: e("idv2.capture.takingPhoto")
289
- }[i] ?? "", E = V((R) => {
290
+ }[i] ?? "", f = V((R) => {
290
291
  const S = Date.now(), O = o.current;
291
292
  if (R === O.message && S - O.at < 200) return;
292
293
  o.current = { message: R, at: S };
293
- const D = r.current;
294
- D && (clearTimeout(u.current), D.textContent = "", d.current = setTimeout(() => {
295
- D.textContent = R, u.current = setTimeout(() => {
296
- D.textContent = "";
294
+ const m = r.current;
295
+ m && (clearTimeout(u.current), m.textContent = "", d.current = setTimeout(() => {
296
+ m.textContent = R, u.current = setTimeout(() => {
297
+ m.textContent = "";
297
298
  }, 3e3);
298
299
  }, 50));
299
300
  }, []);
@@ -305,15 +306,15 @@ const h = ({
305
306
  }
306
307
  if (l.current) return;
307
308
  const O = setTimeout(() => {
308
- l.current = !0, E(e("selfiev2.autoCapture.defaultAriaInstructions"));
309
+ l.current = !0, f(e("selfiev2.autoCapture.defaultAriaInstructions"));
309
310
  }, R ? 1e3 : 500);
310
311
  return () => clearTimeout(O);
311
- }, [i, n, E, e]), p(() => {
312
+ }, [i, n, f, e]), p(() => {
312
313
  const R = c.current;
313
- c.current = i, !n && R !== "manualCapture" && i === "manualCapture" && E(e("idv2.capture.manualCapture.modeSwitchAriaAnnouncement"));
314
- }, [E, i, e, n]), p(() => {
315
- n || !C || E(C);
316
- }, [C, E, n]), p(() => () => {
314
+ c.current = i, !n && R !== "manualCapture" && i === "manualCapture" && f(e("idv2.capture.manualCapture.modeSwitchAriaAnnouncement"));
315
+ }, [f, i, e, n]), p(() => {
316
+ n || !C || f(C);
317
+ }, [C, f, n]), p(() => () => {
317
318
  clearTimeout(d.current), clearTimeout(u.current);
318
319
  }, []), /* @__PURE__ */ t(L, { children: [
319
320
  /* @__PURE__ */ t(
@@ -327,7 +328,7 @@ const h = ({
327
328
  ),
328
329
  C ? /* @__PURE__ */ t("div", { class: "IncodeNotification", "aria-hidden": "true", children: /* @__PURE__ */ t("p", { class: "IncodeNotificationText", children: C }) }) : null
329
330
  ] });
330
- }, it = ({ manager: i, state: n }) => {
331
+ }, nt = ({ manager: i, state: n }) => {
331
332
  const {
332
333
  captureStatus: e,
333
334
  stream: r,
@@ -340,7 +341,7 @@ const h = ({
340
341
  o === "manualCapture" && C.current?.focus();
341
342
  }, [o]), e === "initializing")
342
343
  return /* @__PURE__ */ t(
343
- H,
344
+ U,
344
345
  {
345
346
  fullScreen: !0,
346
347
  title: T("v2.selfie.camera.loading"),
@@ -349,13 +350,13 @@ const h = ({
349
350
  );
350
351
  if (e === "detecting") {
351
352
  if (o === "offline")
352
- return /* @__PURE__ */ t(m, { title: "No internet connection" });
353
- const E = () => u ? "capturing" : o === "detecting" ? "idle" : o === "getReady" ? "loading" : o === "success" ? "success" : o === "error" ? "error" : "idle";
354
- return /* @__PURE__ */ t(m, { "data-testid": "capture-container", children: [
353
+ return /* @__PURE__ */ t(D, { title: "No internet connection" });
354
+ const f = () => u ? "capturing" : o === "detecting" ? "idle" : o === "getReady" ? "loading" : o === "success" ? "success" : o === "error" ? "error" : "idle";
355
+ return /* @__PURE__ */ t(D, { "data-testid": "capture-container", children: [
355
356
  /* @__PURE__ */ t(v, { className: "IncodeCaptureVisuallyHidden", children: T("selfiev2.capture.title") }),
356
357
  /* @__PURE__ */ t(_, { size: 48 }),
357
358
  /* @__PURE__ */ t("div", { class: "IncodeCaptureContainer", children: [
358
- /* @__PURE__ */ t(b, { borderState: E() }),
359
+ /* @__PURE__ */ t(b, { borderState: f() }),
359
360
  /* @__PURE__ */ t("div", { class: "IncodeCaptureFrame", children: /* @__PURE__ */ t("div", { class: "IncodeCaptureVideoWrapper", "aria-hidden": "true", children: r ? /* @__PURE__ */ t(L, { children: [
360
361
  /* @__PURE__ */ t(K, { stream: r, mirrored: !l }),
361
362
  /* @__PURE__ */ t("div", { class: "IncodeCaptureVideo", children: /* @__PURE__ */ t(Y, {}) })
@@ -395,7 +396,7 @@ const h = ({
395
396
  ] });
396
397
  }
397
398
  return e === "capturing" ? /* @__PURE__ */ t(
398
- m,
399
+ D,
399
400
  {
400
401
  className: "IncodeCaptureCapturingPage",
401
402
  title: "Capturing",
@@ -440,7 +441,7 @@ const h = ({
440
441
  class: n ? "IncodeCaptureVideoElement IncodeCaptureVideoMirrored" : "IncodeCaptureVideoElement"
441
442
  }
442
443
  );
443
- }, nt = ({ manager: i }) => {
444
+ }, ot = ({ manager: i }) => {
444
445
  const { t: n } = g(), [e, r] = I(!1), [o, c] = I(null);
445
446
  p(() => {
446
447
  import("./selfieTutorial-Dm_p0ke9.js").then((l) => {
@@ -451,7 +452,7 @@ const h = ({
451
452
  r(!0), i.nextStep();
452
453
  };
453
454
  return o ? /* @__PURE__ */ t(
454
- U,
455
+ H,
455
456
  {
456
457
  animationData: o,
457
458
  title: n("face.tutorial.title"),
@@ -466,6 +467,6 @@ const h = ({
466
467
  ) : null;
467
468
  };
468
469
  export {
469
- it as C,
470
- nt as T
470
+ nt as C,
471
+ ot as T
471
472
  };
@@ -1,5 +1,5 @@
1
- import { u as s, c as a } from "./button-qiC4m4lf.js";
2
- import { D as y } from "./vendor-preact-BY8u4mdq.js";
1
+ import { u as s, c as a } from "./button-B2Ewo0rX.js";
2
+ import { D as y } from "./vendor-preact-BoMmvSgn.js";
3
3
  const e = y(
4
4
  ({ children: o, className: r, ...p }, c) => /* @__PURE__ */ s("h2", { ref: c, class: `IncodeTitle ${r ?? ""}`, ...p, children: o })
5
5
  ), h = ({ children: o, className: r }) => /* @__PURE__ */ s("h1", { class: a("IncodeTypographyH1", r), children: o }), T = ({ children: o, className: r }) => /* @__PURE__ */ s("h2", { class: `IncodeTypographyH2 ${r ?? ""}`, children: o }), g = ({ children: o, className: r }) => /* @__PURE__ */ s("h3", { class: a("IncodeTypographyH3", r), children: o }), H = ({ children: o, className: r }) => /* @__PURE__ */ s("h4", { class: a("IncodeTypographyH4", r), children: o }), l = ({ children: o, className: r }) => /* @__PURE__ */ s("h5", { class: a("IncodeTypographyH5", r), children: o }), d = ({ children: o, className: r }) => /* @__PURE__ */ s("p", { class: a("IncodeTypographyP", r), children: o });
@@ -1,5 +1,5 @@
1
1
  import { ScreenOrientationProvider as et, createScreenOrientationObserver as tt, getDeviceClass as nt } from "@incodetech/core";
2
- import { d as it, y as st, a as rt, C as ot } from "./vendor-preact-BY8u4mdq.js";
2
+ import { d as it, y as st, c as rt, C as ot } from "./vendor-preact-BoMmvSgn.js";
3
3
  let ne = null;
4
4
  function at() {
5
5
  if (!ne) {
@@ -1,4 +1,4 @@
1
- import { d, y as a } from "./vendor-preact-BY8u4mdq.js";
1
+ import { d, y as a } from "./vendor-preact-BoMmvSgn.js";
2
2
  const c = "(max-width: 767px)";
3
3
  function s(e) {
4
4
  const [i, o] = d(
@@ -679,9 +679,9 @@ export {
679
679
  w_ as Q,
680
680
  qe as T,
681
681
  U as _,
682
- A_ as a,
683
- Ie as b,
684
- N_ as c,
682
+ Ie as a,
683
+ N_ as b,
684
+ A_ as c,
685
685
  n_ as d,
686
686
  S_ as g,
687
687
  E as k,
@@ -1,4 +1,4 @@
1
- import { u as n } from "./button-qiC4m4lf.js";
1
+ import { u as n } from "./button-B2Ewo0rX.js";
2
2
  const t = ({ size: i = 32 }) => /* @__PURE__ */ n(
3
3
  "svg",
4
4
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260326-ac8336a",
3
+ "version": "0.0.0-dev-20260326-106dc21",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -136,7 +136,7 @@
136
136
  "preact-markup": "^2.1.1",
137
137
  "qrcode": "^1.5.4",
138
138
  "tailwindcss": "^4.1.17",
139
- "@incodetech/core": "0.0.0-dev-20260326-ac8336a"
139
+ "@incodetech/core": "0.0.0-dev-20260326-106dc21"
140
140
  },
141
141
  "devDependencies": {
142
142
  "@microsoft/api-extractor": "^7.53.3",