@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,120 +0,0 @@
1
- import { b as N, u as e, S as T, B as g } from "./button-qiC4m4lf.js";
2
- import { d as R, A as p, q as S, y as I } from "./vendor-preact-BY8u4mdq.js";
3
- import { a as $ } from "./inputComposed-7r-2MfA7.js";
4
- import "./uiConfig-BSR3Bl6G.js";
5
- const s = 6, B = (l) => {
6
- const c = Math.floor(l / 60), i = l % 60;
7
- return `${c}:${i.toString().padStart(2, "0")}`;
8
- }, k = (l) => l.replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, s), q = ({
9
- resendTimer: l,
10
- canResend: c,
11
- error: i,
12
- onSubmit: u,
13
- onResend: y,
14
- onBack: A,
15
- backLinkText: z = "otp.changePhoneNumber",
16
- disabled: f = !1,
17
- isLoading: n = !1
18
- }) => {
19
- const { t: o } = N(), [r, C] = R(""), m = p(null), v = p(0), b = p(null), O = p(c), h = p(), x = S((t) => {
20
- const a = b.current;
21
- a && (clearTimeout(h.current), a.textContent = "", h.current = setTimeout(() => {
22
- a.textContent = t;
23
- }, 50));
24
- }, []);
25
- I(() => {
26
- const t = !O.current;
27
- return O.current = c, t && c && x(o("otp.resendCodeAvailable")), () => clearTimeout(h.current);
28
- }, [c, x, o]), I(() => {
29
- m.current && m.current.focus();
30
- }, []), I(() => {
31
- if (!r) return;
32
- const t = r.length === s && v.current < s;
33
- v.current = r.length, t && !n && u(r);
34
- }, [r, n, u]);
35
- const P = (t) => {
36
- t.target.select();
37
- }, w = (t) => {
38
- const a = t.target;
39
- C(k(a.value));
40
- }, D = (t) => {
41
- t.preventDefault();
42
- const a = t.clipboardData?.getData("text") || "", d = k(a);
43
- d && (C(d), d.length === s && !n && u(d));
44
- }, M = () => /* @__PURE__ */ e("div", { class: "IncodeOtpInputActions", children: c && !n ? /* @__PURE__ */ e("p", { class: "IncodeOtpInputResendText", "data-testid": "otp-resend-section", children: [
45
- o("otp.didYouNotGetIt"),
46
- /* @__PURE__ */ e(
47
- "button",
48
- {
49
- type: "button",
50
- class: "IncodeOtpInputLink",
51
- onClick: y,
52
- disabled: f || n,
53
- "data-testid": "otp-resend",
54
- children: o("otp.resendCode")
55
- }
56
- ),
57
- ` ${o("otp.or")} `,
58
- /* @__PURE__ */ e(
59
- "button",
60
- {
61
- type: "button",
62
- class: "IncodeOtpInputLink",
63
- onClick: A,
64
- disabled: f || n,
65
- "data-testid": "otp-back",
66
- children: o(z)
67
- }
68
- )
69
- ] }) : n ? null : /* @__PURE__ */ e(g, { variant: "link", disabled: !0, "data-testid": "otp-timer", children: o("otp.resendCountdown", { time: B(l) }) }) });
70
- return /* @__PURE__ */ e("div", { class: "IncodeOtpInput IncodeOtpInputComposed", children: [
71
- /* @__PURE__ */ e(
72
- "div",
73
- {
74
- ref: b,
75
- class: "IncodeSrOnly",
76
- "aria-live": "polite",
77
- "aria-atomic": "true"
78
- }
79
- ),
80
- /* @__PURE__ */ e(
81
- $,
82
- {
83
- id: "otp-code",
84
- type: "text",
85
- inputMode: "text",
86
- ref: m,
87
- maxLength: s,
88
- value: r,
89
- error: i,
90
- onInput: w,
91
- onPaste: D,
92
- onFocus: P,
93
- disabled: f || n,
94
- autocomplete: "one-time-code",
95
- "data-testid": "otp-input-0",
96
- "aria-label": o("otp.verificationCode"),
97
- class: "IncodeOtpSingleInput",
98
- showErrorIcon: !0
99
- }
100
- ),
101
- /* @__PURE__ */ e(T, {}),
102
- /* @__PURE__ */ e(
103
- g,
104
- {
105
- onClick: () => {
106
- r.length === s && u(r);
107
- },
108
- disabled: r.length < s || n,
109
- isLoading: n,
110
- "data-testid": "otp-submit",
111
- children: o("common.continue")
112
- }
113
- ),
114
- /* @__PURE__ */ e(T, { size: 12 }),
115
- M()
116
- ] });
117
- };
118
- export {
119
- q as O
120
- };