@incodetech/web 0.0.0-dev-20260325-72e1e24 → 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 (69) 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 +16 -3
  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/curp-validation/styles.css +12 -0
  17. package/dist/{dateInputComposed-DzB7gNed.js → dateInputComposed-DmlHvCmR.js} +4 -4
  18. package/dist/{documentCapture-B4JcCGTV.js → documentCapture-DYsIVkcU.js} +14 -13
  19. package/dist/dropdownComposed-DFrqye1c.js +367 -0
  20. package/dist/{ekybModule-ly0wrPsV.js → ekybModule-Cve2s2tf.js} +10 -10
  21. package/dist/{ekycModule-BkTDINkE.js → ekycModule-Hi5yRFs3.js} +11 -11
  22. package/dist/email/email.es.js +97 -106
  23. package/dist/email/styles.css +0 -111
  24. package/dist/{errorContent-BudafcKL.js → errorContent-CqNelsXg.js} +6 -6
  25. package/dist/{errorIcon-DbJL-4MJ.js → errorIcon-C-Zd24vb.js} +1 -1
  26. package/dist/extensibility.es.js +92 -89
  27. package/dist/{faceMatch-DylE4LWy.js → faceMatch-BVsE7czZ.js} +6 -6
  28. package/dist/{fileIcon-ClvmLl6A.js → fileIcon-DIVwt0SD.js} +1 -1
  29. package/dist/{flipAnimation-CmG-kgPi.js → flipAnimation-CQ3So9XG.js} +269 -655
  30. package/dist/flow/flow.es.js +14 -14
  31. package/dist/flow/styles.css +12 -85
  32. package/dist/{formField-CMNAU-Eh.js → formField-CPfeaz8y.js} +8 -8
  33. package/dist/{front-horizontal-hint-Ca8ux7ED.js → front-horizontal-hint-lRLKd7vY.js} +1 -1
  34. package/dist/{front-vertical-hint-Cl9a47Kq.js → front-vertical-hint-qQoJXRE3.js} +1 -1
  35. package/dist/geolocation/geolocation.es.js +6 -6
  36. package/dist/governmentValidation/governmentValidation.es.js +10 -10
  37. package/dist/id/id.es.js +16 -15
  38. package/dist/{incodeModule-DtbbjNTQ.js → incodeModule-C4XIllao.js} +1 -1
  39. package/dist/index.es.js +3 -3
  40. package/dist/{inputComposed-7r-2MfA7.js → inputComposed-CJQTXKNA.js} +5 -5
  41. package/dist/{mandatoryConsent-BcbxGZN6.js → mandatoryConsent-B2zqptlI.js} +8 -8
  42. package/dist/manualCaptureButton-CUq6VXLb.js +371 -0
  43. package/dist/otpInput-CGlYkmvB.js +148 -0
  44. package/dist/{page-CH1_PpOG.js → page-DiscPBzz.js} +2 -2
  45. package/dist/{passport-horizontal-hint-CWnj6Kh1.js → passport-horizontal-hint-BCtpMp1Y.js} +1 -1
  46. package/dist/{passport-vertical-hint-DzkQdaag.js → passport-vertical-hint-GaLnzqHP.js} +1 -1
  47. package/dist/permissions-CDir4ckn.js +707 -0
  48. package/dist/phone/phone.es.js +66 -64
  49. package/dist/{phoneInput-C9tQVoqL.js → phoneInput-TwyIF7PG.js} +3 -3
  50. package/dist/{phoneInputComposed-B4OTfqLt.js → phoneInputComposed-Dsf9ZDTj.js} +27 -27
  51. package/dist/{processing-DW3Cq3ot.js → processing-De8XWnFp.js} +4 -4
  52. package/dist/{richText-Bh30370T.js → richText-DHl4ibE9.js} +2 -2
  53. package/dist/selfie/selfie.es.js +6 -6
  54. package/dist/signature/signature.es.js +7 -7
  55. package/dist/{spinner-_-QbAnd8.js → spinner-DfUoOZN4.js} +3 -3
  56. package/dist/{successIcon-C-3-t1kz.js → successIcon-DyHNp_UT.js} +1 -1
  57. package/dist/themes/dark.css +1 -0
  58. package/dist/themes/light.css +1 -0
  59. package/dist/{tutorial-BRvI-ZLU.js → tutorial-Cx_ANvlr.js} +42 -41
  60. package/dist/types/extensibility.d.ts +1 -0
  61. package/dist/{typography-DgyeaZWI.js → typography-zMrvftfB.js} +2 -2
  62. package/dist/{uiConfig-BSR3Bl6G.js → uiConfig-DmIn-g8M.js} +1 -1
  63. package/dist/{useMediaQuery-DN93efdT.js → useMediaQuery-lJdQBmC2.js} +1 -1
  64. package/dist/{vendor-preact-BY8u4mdq.js → vendor-preact-BoMmvSgn.js} +3 -3
  65. package/dist/{warningIcon-BEDHbr3Z.js → warningIcon-MsE5PaSQ.js} +1 -1
  66. package/package.json +2 -2
  67. package/dist/dropdownComposed-LjhdF9Jx.js +0 -345
  68. package/dist/manualCaptureButton-6WD7GhPe.js +0 -1071
  69. package/dist/otpInput-cZblmynr.js +0 -124
@@ -1,124 +0,0 @@
1
- import { b as N, u as e, S as x, B as g } from "./button-qiC4m4lf.js";
2
- import { d as R, A as p, q as S, y as m } 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), u = l % 60;
7
- return `${c}:${u.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: u,
12
- onSubmit: i,
13
- onResend: y,
14
- onBack: A,
15
- backLinkText: z = "otp.changePhoneNumber",
16
- disabled: h = !1,
17
- isLoading: n = !1
18
- }) => {
19
- const { t: o } = N(), [r, C] = R(""), d = p(null), v = p(0), b = p(null), O = p(c), I = p(), T = S((t) => {
20
- const a = b.current;
21
- a && (clearTimeout(I.current), a.textContent = "", I.current = setTimeout(() => {
22
- a.textContent = t;
23
- }, 50));
24
- }, []);
25
- m(() => {
26
- const t = !O.current;
27
- return O.current = c, t && c && T(o("otp.resendCodeAvailable")), () => clearTimeout(I.current);
28
- }, [c, T, o]), m(() => {
29
- d.current && d.current.focus();
30
- }, []), m(() => {
31
- u && setTimeout(() => {
32
- d.current?.focus();
33
- }, 0);
34
- }, [u]), m(() => {
35
- if (!r) return;
36
- const t = r.length === s && v.current < s;
37
- v.current = r.length, t && !n && i(r);
38
- }, [r, n, i]);
39
- const P = (t) => {
40
- t.target.select();
41
- }, w = (t) => {
42
- const a = t.target;
43
- C(k(a.value));
44
- }, D = (t) => {
45
- t.preventDefault();
46
- const a = t.clipboardData?.getData("text") || "", f = k(a);
47
- f && (C(f), f.length === s && !n && i(f));
48
- }, M = () => /* @__PURE__ */ e("div", { class: "IncodeOtpInputActions", children: c && !n ? /* @__PURE__ */ e("p", { class: "IncodeOtpInputResendText", "data-testid": "otp-resend-section", children: [
49
- o("otp.didYouNotGetIt"),
50
- /* @__PURE__ */ e(
51
- "button",
52
- {
53
- type: "button",
54
- class: "IncodeOtpInputLink",
55
- onClick: y,
56
- disabled: h || n,
57
- "data-testid": "otp-resend",
58
- children: o("otp.resendCode")
59
- }
60
- ),
61
- ` ${o("otp.or")} `,
62
- /* @__PURE__ */ e(
63
- "button",
64
- {
65
- type: "button",
66
- class: "IncodeOtpInputLink",
67
- onClick: A,
68
- disabled: h || n,
69
- "data-testid": "otp-back",
70
- children: o(z)
71
- }
72
- )
73
- ] }) : n ? null : /* @__PURE__ */ e(g, { variant: "link", disabled: !0, "data-testid": "otp-timer", children: o("otp.resendCountdown", { time: B(l) }) }) });
74
- return /* @__PURE__ */ e("div", { class: "IncodeOtpInput IncodeOtpInputComposed", children: [
75
- /* @__PURE__ */ e(
76
- "div",
77
- {
78
- ref: b,
79
- class: "IncodeSrOnly",
80
- "aria-live": "polite",
81
- "aria-atomic": "true"
82
- }
83
- ),
84
- /* @__PURE__ */ e(
85
- $,
86
- {
87
- id: "otp-code",
88
- type: "text",
89
- inputMode: "text",
90
- ref: d,
91
- maxLength: s,
92
- value: r,
93
- error: u,
94
- onInput: w,
95
- onPaste: D,
96
- onFocus: P,
97
- disabled: h || n,
98
- autocomplete: "one-time-code",
99
- "data-testid": "otp-input-0",
100
- "aria-label": o("otp.verificationCode"),
101
- class: "IncodeOtpSingleInput",
102
- showErrorIcon: !0
103
- }
104
- ),
105
- /* @__PURE__ */ e(x, {}),
106
- /* @__PURE__ */ e(
107
- g,
108
- {
109
- onClick: () => {
110
- r.length === s && i(r);
111
- },
112
- disabled: r.length < s || n,
113
- isLoading: n,
114
- "data-testid": "otp-submit",
115
- children: o("common.continue")
116
- }
117
- ),
118
- /* @__PURE__ */ e(x, { size: 12 }),
119
- M()
120
- ] });
121
- };
122
- export {
123
- q as O
124
- };