@incodetech/web 0.0.0-dev-20260507-a2cd155 → 0.0.0-dev-20260508-2ed9245

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 (107) hide show
  1. package/dist/ae-signature/ae-signature.es.js +2 -2
  2. package/dist/antifraud/antifraud.es.js +2 -2
  3. package/dist/authentication/authentication.es.js +3 -3
  4. package/dist/base.css +218 -0
  5. package/dist/consent/consent.es.js +7 -7
  6. package/dist/{countrySelector-CxwhZU7X.js → countrySelector-CoffOdbC.js} +2 -2
  7. package/dist/{cpfOcr-BzoRvWuh.js → cpfOcr-BYlfZY40.js} +1 -1
  8. package/dist/cross-document-data-match/cross-document-data-match.es.js +2 -2
  9. package/dist/curp-validation/curp-validation.es.js +10 -10
  10. package/dist/{customFields-64Wcgiwr.js → customFields-BraeAxZp.js} +6 -6
  11. package/dist/{customWatchlist-BT1PQfoG.js → customWatchlist-CFFQpv_v.js} +4 -4
  12. package/dist/{documentCapture-B7gkjbde.js → documentCapture-DPlR8XwV.js} +12 -12
  13. package/dist/dropdownComposed-BvVIyMBo.js +1 -0
  14. package/dist/{dynamicForms-DFXXP6uP.js → dynamicForms-iowHKj2D.js} +9 -9
  15. package/dist/ekyb/ekyb.es.js +1 -1
  16. package/dist/{ekybModule-C3lXG2tC.js → ekybModule-BFOWbi7v.js} +9 -9
  17. package/dist/ekybModule-VFeaId2k.js +2 -0
  18. package/dist/ekyc/ekyc.es.js +1 -1
  19. package/dist/{ekycModule-L1RBjKZI.js → ekycModule-BPi7gpEg.js} +11 -11
  20. package/dist/ekycModule-DvRBzbaa.js +2 -0
  21. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  22. package/dist/{electronic-signature-BeiUCIMV.js → electronic-signature-Cio3QpBY.js} +6 -6
  23. package/dist/email/email.es.js +5 -5
  24. package/dist/{emailInput-Q5WNjX9l.js → emailInput-1AO-Fmsw.js} +2 -2
  25. package/dist/{extensibility-C1xYMmD-.js → extensibility-CL6pOTDM.js} +150 -113
  26. package/dist/extensibility.es.js +22 -22
  27. package/dist/face-match/face-match.es.js +1 -1
  28. package/dist/face-match/styles.css +12 -0
  29. package/dist/{faceMatch-B6hGcl2-.js → faceMatch-BtHZNJ0A.js} +5 -5
  30. package/dist/faceMatch-Drzy4xup.js +2 -0
  31. package/dist/flow/flow.es.js +6 -6
  32. package/dist/flow/styles.css +12 -0
  33. package/dist/{formField-BkU7EVsS.js → formField-DHnOQD0l.js} +1 -1
  34. package/dist/geolocation/geolocation.es.js +4 -4
  35. package/dist/governmentValidation/governmentValidation.es.js +5 -5
  36. package/dist/{homeScreen-DprCAAmv.js → homeScreen-CmsrGndM.js} +3 -3
  37. package/dist/{i18n-BnVa5Y-_.js → i18n-D6pCC7RL.js} +1 -1
  38. package/dist/id/id.es.js +10 -10
  39. package/dist/{idOcr-iAAZKKU2.js → idOcr-DQtsITAI.js} +30 -31
  40. package/dist/identity-reuse/identity-reuse.es.js +3 -3
  41. package/dist/{incodeComponent-9ZUPvQgC.js → incodeComponent-BRtpx7iO.js} +1 -1
  42. package/dist/index.es.js +1 -1
  43. package/dist/{mandatoryConsent-BVUiGOKK.js → mandatoryConsent-CCXO_vxQ.js} +6 -6
  44. package/dist/{optionAccessibleLabel-BNqnKbwB.js → optionAccessibleLabel-D-791Qve.js} +3 -3
  45. package/dist/{otpInput-CLo5__yb.js → otpInput-S08V9UR2.js} +1 -2
  46. package/dist/{pdf-BK9eYHAw.js → pdf-DL0w_-nc.js} +1 -1
  47. package/dist/phone/phone.es.js +6 -6
  48. package/dist/{phoneInputComposed-bvWhGLFZ.js → phoneInputComposed-Dl4rnkJh.js} +1 -1
  49. package/dist/{processing-c8ep-KSh.js → processing-Byt0PHxP.js} +1 -1
  50. package/dist/qe-signature/qe-signature.es.js +2 -2
  51. package/dist/{redirectToMobile-Cg-BpzrT.js → redirectToMobile-CDqR2ADA.js} +8 -8
  52. package/dist/{richText-gJTUJEMX.js → richText-oCMMhPa2.js} +1 -1
  53. package/dist/segmentedDateInput-DIZb0ruK.js +348 -0
  54. package/dist/segmentedDateInput-DI_bDhHG.js +1 -0
  55. package/dist/selfie/selfie.es.js +6 -6
  56. package/dist/selfie/styles.css +12 -0
  57. package/dist/signature/signature.es.js +6 -6
  58. package/dist/themes/dark.css +6 -0
  59. package/dist/themes/light.css +6 -0
  60. package/dist/{transitionSpinner-av72n-l1.js → transitionSpinner-DHelnP9m.js} +1 -1
  61. package/dist/{tutorial-BvRU4P4P.js → tutorial-CpB1q1y3.js} +5 -5
  62. package/dist/types/extensibility.d.ts +9 -0
  63. package/dist/{useModuleLoader-CPLC4c0j.js → useModuleLoader-DR_UitYZ.js} +15 -15
  64. package/dist/{verificationResult-9weGpvn5.js → verificationResult-Boi07OiG.js} +1 -1
  65. package/dist/watchlist/watchlist.es.js +4 -4
  66. package/dist/{watchlistForBusiness-DjgJnsPT.js → watchlistForBusiness-k2IqUCN_.js} +5 -5
  67. package/dist/workflow/styles.css +12 -0
  68. package/dist/workflow/workflow.es.js +6 -6
  69. package/package.json +2 -2
  70. package/dist/dateInputComposed-B4IHGFn2.js +0 -1
  71. package/dist/dateInputComposed-YUmNQwOo.js +0 -44
  72. package/dist/dropdownComposed-DwTzc2YU.js +0 -1
  73. package/dist/ekybModule-B92LkG1f.js +0 -2
  74. package/dist/ekycModule-Dl44pQfM.js +0 -2
  75. package/dist/faceMatch-Dh01E8Zv.js +0 -2
  76. package/dist/inputComposed-XYrarFxS.js +0 -1
  77. /package/dist/{aligndevicelottie-CpAPbotJ.js → aligndevicelottie-Dfs3Ku2-.js} +0 -0
  78. /package/dist/{autoFocusTitle-C01okScG.js → autoFocusTitle-CZoNkxcF.js} +0 -0
  79. /package/dist/{back-horizontal-hint-C_wAUpW0.js → back-horizontal-hint-Cch8dR2s.js} +0 -0
  80. /package/dist/{back-tutorial-H9SCe0gx.js → back-tutorial-DCeMC-YK.js} +0 -0
  81. /package/dist/{back-vertical-hint-C9xK0aN8.js → back-vertical-hint-Dzn5uXKH.js} +0 -0
  82. /package/dist/{backdevicelottie-Dx1dP2K0.js → backdevicelottie-B4ve1L_u.js} +0 -0
  83. /package/dist/{blurdevicelottie-DCVb3_MF.js → blurdevicelottie-DIQrsw9H.js} +0 -0
  84. /package/dist/{bottomSheet-CLMmiBQS.js → bottomSheet-DE_8TFEC.js} +0 -0
  85. /package/dist/{browser-ponyfill-Dxc09_1M.js → browser-ponyfill-Dqca0y49.js} +0 -0
  86. /package/dist/{checkbox-Cl57ltq_.js → checkbox-CfusZiOJ.js} +0 -0
  87. /package/dist/{defineProperty-CqT6YdHJ.js → defineProperty-CplHoz4_.js} +0 -0
  88. /package/dist/{dropdownComposed-DFRBG22E.js → dropdownComposed-Cmj-HO0i.js} +0 -0
  89. /package/dist/{flip-animation-CviBXTS-.js → flip-animation-B1zV6oY9.js} +0 -0
  90. /package/dist/{front-horizontal-hint-SvDdygvL.js → front-horizontal-hint-CNu99K_l.js} +0 -0
  91. /package/dist/{front-vertical-hint-vIniWZ_9.js → front-vertical-hint-CpQjOGpU.js} +0 -0
  92. /package/dist/{frontdevicelottie-6sxr3oQH.js → frontdevicelottie-D3Gw7Qab.js} +0 -0
  93. /package/dist/{glaredevicelottie--PlYPjZt.js → glaredevicelottie-BPRxXRbG.js} +0 -0
  94. /package/dist/{id-laser-h-D0KN9qFd.js → id-laser-h-BUV5ROmy.js} +0 -0
  95. /package/dist/{id-laser-v-BLY6XMRK.js → id-laser-v-DzsdfzVM.js} +0 -0
  96. /package/dist/{id-tutorial-Dnuu_ZUb.js → id-tutorial-B2d6DkZv.js} +0 -0
  97. /package/dist/{incodeModule-D_r2n18O.js → incodeModule-grHfB1zI.js} +0 -0
  98. /package/dist/{numberedStep-CR4w_BpM.js → numberedStep-CT-alrK5.js} +0 -0
  99. /package/dist/{passport-horizontal-hint-Bxb4tVrA.js → passport-horizontal-hint-WqdYMc9Y.js} +0 -0
  100. /package/dist/{passport-tutorial-CFp2zeDJ.js → passport-tutorial-DYBRCYAN.js} +0 -0
  101. /package/dist/{passport-vertical-hint-D6hgaXKT.js → passport-vertical-hint-rNP6GykM.js} +0 -0
  102. /package/dist/{radioGroupComposed-B74fc1L3.js → radioGroupComposed-CEw7kuBy.js} +0 -0
  103. /package/dist/{requiredLabelHint-J9rEJWcF.js → requiredLabelHint-DF0yOi3G.js} +0 -0
  104. /package/dist/{selfieTutorial-1QMt37Us.js → selfieTutorial-CMc0HW_O.js} +0 -0
  105. /package/dist/{snackbar-BVeXpux9.js → snackbar-B3hIVhgk.js} +0 -0
  106. /package/dist/{statusPage-BvmC0O1t.js → statusPage-DXmurxxX.js} +0 -0
  107. /package/dist/{tabs-MPYTnMQG.js → tabs-D-xvkepW.js} +0 -0
@@ -1,4 +1,4 @@
1
- import { t as e } from "./defineProperty-CqT6YdHJ.js";
1
+ import { t as e } from "./defineProperty-CplHoz4_.js";
2
2
  //#region \0@oxc-project+runtime@0.122.0/helpers/assertClassBrand.js
3
3
  function t(e, t, n) {
4
4
  if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
@@ -1,14 +1,14 @@
1
- import { n as e } from "../i18n-BnVa5Y-_.js";
1
+ import { n as e } from "../i18n-D6pCC7RL.js";
2
2
  import { p as t, v as n } from "../vendor-preact-D6SntenC.js";
3
3
  import { o as r } from "../hooks-BVnGysT7.js";
4
- import { t as i } from "../incodeComponent-9ZUPvQgC.js";
4
+ import { t as i } from "../incodeComponent-BRtpx7iO.js";
5
5
  import { r as a } from "../loadingIcon-BN5YRQUb.js";
6
6
  import { t as o } from "../page-DCsXSlHl.js";
7
7
  import { t as s } from "../button-DcCUEn2n.js";
8
- import { t as c } from "../otpInput-CLo5__yb.js";
9
- import { t as l } from "../checkbox-Cl57ltq_.js";
10
- import { t as u } from "../phoneInputComposed-bvWhGLFZ.js";
11
- import { t as d } from "../incodeModule-D_r2n18O.js";
8
+ import { t as c } from "../otpInput-S08V9UR2.js";
9
+ import { t as l } from "../checkbox-CfusZiOJ.js";
10
+ import { t as u } from "../phoneInputComposed-Dl4rnkJh.js";
11
+ import { t as d } from "../incodeModule-grHfB1zI.js";
12
12
  import { createPhoneManager as f } from "@incodetech/core/phone";
13
13
  //#region src/modules/phone/phone.tsx
14
14
  function p(e) {
@@ -2,7 +2,7 @@ import { _ as e, a as t, d as n, h as r, l as i, p as a, v as o } from "./vendor
2
2
  import { g as s } from "./icons-Cc7zwchP.js";
3
3
  import { t as c } from "./successIcon-DbILeIz_.js";
4
4
  import { t as l } from "./inputComposed-APSw8C7o.js";
5
- import { t as u } from "./dropdownComposed-DFRBG22E.js";
5
+ import { t as u } from "./dropdownComposed-Cmj-HO0i.js";
6
6
  //#region ../../node_modules/.pnpm/libphonenumber-js@1.12.31/node_modules/libphonenumber-js/metadata.min.json.js
7
7
  var d = {
8
8
  version: 4,
@@ -1,5 +1,5 @@
1
1
  import { v as e } from "./vendor-preact-D6SntenC.js";
2
- import { t } from "./transitionSpinner-av72n-l1.js";
2
+ import { t } from "./transitionSpinner-DHelnP9m.js";
3
3
  //#region src/shared/processing/processing.tsx
4
4
  var n = () => /* @__PURE__ */ e(t, {});
5
5
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
- import { n as t } from "../electronic-signature-BeiUCIMV.js";
3
- import { t as n } from "../incodeModule-D_r2n18O.js";
2
+ import { n as t } from "../electronic-signature-Cio3QpBY.js";
3
+ import { t as n } from "../incodeModule-grHfB1zI.js";
4
4
  //#region src/modules/qe-signature/qe-signature.tsx
5
5
  var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
6
6
  config: n ? {
@@ -1,20 +1,20 @@
1
1
  import { t as e } from "./rolldown-runtime-CjdbFOpI.js";
2
- import { n as t, t as n } from "./i18n-BnVa5Y-_.js";
2
+ import { n as t, t as n } from "./i18n-D6pCC7RL.js";
3
3
  import { S as r, _ as i, h as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
4
4
  import { o as c } from "./hooks-BVnGysT7.js";
5
- import { t as l } from "./incodeComponent-9ZUPvQgC.js";
5
+ import { t as l } from "./incodeComponent-BRtpx7iO.js";
6
6
  import { r as u } from "./loadingIcon-BN5YRQUb.js";
7
7
  import { t as d } from "./incode-logo-DX016usY.js";
8
8
  import { n as f, t as p } from "./verifiedByIncode-ChZBpqNy.js";
9
- import { t as m } from "./transitionSpinner-av72n-l1.js";
9
+ import { t as m } from "./transitionSpinner-DHelnP9m.js";
10
10
  import { t as h } from "./button-DcCUEn2n.js";
11
11
  import "./icons-Cc7zwchP.js";
12
12
  import { t as g } from "./successIcon-DbILeIz_.js";
13
- import { r as _, t as v } from "./phoneInputComposed-bvWhGLFZ.js";
14
- import { t as y } from "./incodeModule-D_r2n18O.js";
15
- import { t as b } from "./autoFocusTitle-C01okScG.js";
16
- import { t as x } from "./snackbar-BVeXpux9.js";
17
- import { t as S } from "./tabs-MPYTnMQG.js";
13
+ import { r as _, t as v } from "./phoneInputComposed-Dl4rnkJh.js";
14
+ import { t as y } from "./incodeModule-grHfB1zI.js";
15
+ import { t as b } from "./autoFocusTitle-CZoNkxcF.js";
16
+ import { t as x } from "./snackbar-B3hIVhgk.js";
17
+ import { t as S } from "./tabs-D-xvkepW.js";
18
18
  import { createRedirectToMobileManager as C } from "@incodetech/core/redirect-to-mobile";
19
19
  //#region src/modules/redirect-to-mobile/redirectHeader.tsx
20
20
  var w = ({ logoSrc: e }) => {
@@ -1,5 +1,5 @@
1
1
  import { t as e, v as t } from "./vendor-preact-D6SntenC.js";
2
- import { t as n } from "./defineProperty-CqT6YdHJ.js";
2
+ import { t as n } from "./defineProperty-CplHoz4_.js";
3
3
  //#region ../../node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.mjs
4
4
  var { entries: r, setPrototypeOf: i, isFrozen: a, getPrototypeOf: o, getOwnPropertyDescriptor: s } = Object, { freeze: c, seal: l, create: u } = Object, { apply: d, construct: f } = typeof Reflect < "u" && Reflect;
5
5
  c ||= function(e) {
@@ -0,0 +1,348 @@
1
+ import { n as e } from "./i18n-D6pCC7RL.js";
2
+ import { S as t, _ as n, a as r, d as i, l as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
3
+ import { n as c } from "./loadingIcon-BN5YRQUb.js";
4
+ import { g as ee, m as te } from "./icons-Cc7zwchP.js";
5
+ import { t as ne } from "./successIcon-DbILeIz_.js";
6
+ //#region src/shared/segmentedDateInput/segmentedDateInput.tsx
7
+ var l = /^(\d{4})-(\d{2})-(\d{2})$/, re = /^(\d{1,2})\/(\d{1,2})\/(\d{4})$/, u = {
8
+ mm: "",
9
+ dd: "",
10
+ yyyy: ""
11
+ }, d = (e) => {
12
+ if (!e) return u;
13
+ let t = l.exec(e);
14
+ return t ? {
15
+ yyyy: t[1],
16
+ mm: t[2],
17
+ dd: t[3]
18
+ } : u;
19
+ }, f = (e, t, n) => {
20
+ if (e < 1 || t < 1 || t > 12 || n < 1 || n > 31) return !1;
21
+ let r = new Date(e, t - 1, n);
22
+ return r.getFullYear() === e && r.getMonth() === t - 1 && r.getDate() === n;
23
+ }, p = (e, t) => {
24
+ let n = Number(e);
25
+ if (!Number.isFinite(n) || n < 1 || n > 12) return 31;
26
+ let r = Number(t), i = Number.isFinite(r) && r > 0 && t.length === 4 ? r : 2001;
27
+ return new Date(i, n, 0).getDate();
28
+ }, m = ({ mm: e, dd: t, yyyy: n }) => {
29
+ if (n.length !== 4 || e.length === 0 || t.length === 0) return "";
30
+ let r = Number(n), i = Number(e), a = Number(t);
31
+ return f(r, i, a) ? `${n}-${String(i).padStart(2, "0")}-${String(a).padStart(2, "0")}` : "";
32
+ }, ie = (e) => {
33
+ try {
34
+ let t = new Intl.DateTimeFormat(e || void 0).formatToParts(new Date(2e3, 0, 15)), n = [];
35
+ for (let e of t) e.type === "year" ? n.push("yyyy") : e.type === "month" ? n.push("mm") : e.type === "day" && n.push("dd");
36
+ if (n.length === 3 && new Set(n).size === 3) return n;
37
+ } catch {}
38
+ return [
39
+ "mm",
40
+ "dd",
41
+ "yyyy"
42
+ ];
43
+ }, h = (e) => {
44
+ let t = {
45
+ mm: null,
46
+ dd: null,
47
+ yyyy: null
48
+ }, n = {
49
+ mm: null,
50
+ dd: null,
51
+ yyyy: null
52
+ };
53
+ return e.forEach((r, i) => {
54
+ t[r] = e[i + 1] ?? null, n[r] = e[i - 1] ?? null;
55
+ }), {
56
+ next: t,
57
+ prev: n
58
+ };
59
+ }, g = {
60
+ mm: {
61
+ min: 1,
62
+ max: 12,
63
+ pad: 2
64
+ },
65
+ dd: {
66
+ min: 1,
67
+ max: 31,
68
+ pad: 2
69
+ },
70
+ yyyy: {
71
+ min: 1,
72
+ max: 9999,
73
+ pad: 4
74
+ }
75
+ }, ae = {
76
+ mm: 1,
77
+ dd: 3,
78
+ yyyy: 9
79
+ }, _ = (e, t) => String(t).padStart(g[e].pad, "0"), oe = (e, t, n) => {
80
+ let { min: r, max: i } = g[e];
81
+ if (t === "") return e === "yyyy" ? _(e, (/* @__PURE__ */ new Date()).getFullYear()) : _(e, n === 1 ? r : i);
82
+ let a = Number(t);
83
+ if (Number.isNaN(a)) return _(e, r);
84
+ let o = a + n;
85
+ return o > i && (o = r), o < r && (o = i), _(e, o);
86
+ }, v = r(({ id: r, label: u, labelHint: f, "aria-label": v, error: y, showErrorIcon: b, helper: x, showHelperIcon: S, required: C, suppressMessages: w = !1, class: se, value: T, onInput: E, disabled: D, min: ce, max: O, name: le, autocomplete: k, autoComplete: A, ...ue }, j) => {
87
+ let { i18n: M } = e(), N = i(() => ie(M.language), [M.language]), P = i(() => h(N), [N]), F = typeof A == "string" ? A : typeof k == "string" ? k : void 0, I = (e) => F ? F === "bday" ? e === "mm" ? "bday-month" : e === "dd" ? "bday-day" : "bday-year" : F : "off", L = F ?? void 0, R = a(null), z = {
88
+ mm: a(null),
89
+ dd: a(null),
90
+ yyyy: a(null)
91
+ }, [B, V] = o(() => d(T));
92
+ n(() => {
93
+ V((e) => m(e) === (T ?? "") ? e : d(T));
94
+ }, [T]), n(() => {
95
+ let e = R.current;
96
+ if (!e) return;
97
+ let t = T ?? "";
98
+ e.value !== t && (e.value = t);
99
+ }, [T]);
100
+ let H = (e) => {
101
+ R.current = e, typeof j == "function" ? j(e) : j && (j.current = e);
102
+ }, U = `${r}-label`, W = `${r}-helper`, G = `${r}-error`, K = `${r}-format-hint`, de = i(() => {
103
+ let e = {
104
+ mm: "month",
105
+ dd: "day",
106
+ yyyy: "year"
107
+ };
108
+ return `Date format: ${N.map((t) => e[t]).join(", ")}.`;
109
+ }, [N]), fe = [
110
+ K,
111
+ !w && x ? W : null,
112
+ !w && y ? G : null
113
+ ].filter(Boolean).join(" "), q = (e) => {
114
+ let t = m(e), n = R.current;
115
+ n && (n.value = t);
116
+ let r = new Event("input", { bubbles: !0 });
117
+ Object.defineProperty(r, "target", {
118
+ value: n,
119
+ enumerable: !0,
120
+ configurable: !0
121
+ }), E(r);
122
+ }, J = (e, t) => {
123
+ let n = {
124
+ ...B,
125
+ [e]: t
126
+ };
127
+ if (n.dd && n.mm) {
128
+ let e = p(n.mm, n.yyyy), t = Number(n.dd);
129
+ Number.isFinite(t) && t > e && (n = {
130
+ ...n,
131
+ dd: _("dd", e)
132
+ });
133
+ }
134
+ V(n), q(n);
135
+ }, Y = (e) => {
136
+ if (!e) return;
137
+ let t = z[e].current;
138
+ if (!t) return;
139
+ t.focus();
140
+ let n = t.value.length;
141
+ try {
142
+ t.setSelectionRange(n, n);
143
+ } catch {}
144
+ }, pe = (e, t) => (n) => {
145
+ let r = n.target, i = r.value.replace(/\D/g, "").slice(0, t), a = !1;
146
+ if (i.length === 1 && Number(i) > ae[e] && (i = _(e, Number(i)), a = !0), i.length === t) {
147
+ let t = Number(i), { max: n } = g[e];
148
+ Number.isFinite(t) && t > n && (i = _(e, n)), a = !0;
149
+ }
150
+ i !== r.value && (r.value = i), J(e, i), a && Y(P.next[e]);
151
+ }, me = (e) => (t) => {
152
+ let n = t.target, r = n.selectionStart ?? 0;
153
+ if (t.key === "ArrowUp" || t.key === "ArrowDown") {
154
+ t.preventDefault();
155
+ let r = t.key === "ArrowUp" ? 1 : -1, i = oe(e, n.value, r);
156
+ n.value = i, J(e, i);
157
+ try {
158
+ n.select();
159
+ } catch {}
160
+ } else t.key === "Backspace" && n.value === "" && r === 0 || t.key === "ArrowLeft" && r === 0 ? (t.preventDefault(), Y(P.prev[e])) : t.key === "ArrowRight" && r === n.value.length ? (t.preventDefault(), Y(P.next[e])) : (t.key === "/" || t.key === "-" || t.key === " ") && (n.value.length > 0 ? (t.preventDefault(), Y(P.next[e])) : t.preventDefault());
161
+ }, he = (e, t) => (n) => {
162
+ let r = n.target.value;
163
+ if (!r) return;
164
+ let i = r.padStart(t, "0"), a = Number(i), { min: o, max: s } = g[e];
165
+ Number.isFinite(a) && (a < o ? i = _(e, o) : a > s && (i = _(e, s))), i !== r && J(e, i);
166
+ }, ge = (e) => {
167
+ let t = e.target;
168
+ try {
169
+ t.select();
170
+ } catch {}
171
+ }, _e = (e) => {
172
+ let t = e.clipboardData?.getData("text")?.trim() ?? "";
173
+ if (!t) return;
174
+ let n = l.exec(t), r = re.exec(t), i = null;
175
+ n ? i = {
176
+ yyyy: n[1],
177
+ mm: n[2],
178
+ dd: n[3]
179
+ } : r && (i = {
180
+ mm: r[1].padStart(2, "0"),
181
+ dd: r[2].padStart(2, "0"),
182
+ yyyy: r[3]
183
+ }), i && (e.preventDefault(), V(i), q(i), Y("yyyy"));
184
+ }, X = (e) => {
185
+ let t = e.target;
186
+ V(d(t.value)), E(e);
187
+ }, Z = (e) => {
188
+ e.preventDefault();
189
+ let t = R.current;
190
+ if (!(!t || D)) {
191
+ try {
192
+ t.focus();
193
+ } catch {}
194
+ try {
195
+ "showPicker" in HTMLInputElement.prototype && typeof t.showPicker == "function" ? t.showPicker() : t.click();
196
+ } catch {
197
+ t.click();
198
+ }
199
+ }
200
+ }, Q = !!m(B), $ = !!y, ve = u ? { "aria-labelledby": U } : v ? { "aria-label": v } : {}, ye = {
201
+ mm: {
202
+ maxLen: 2,
203
+ placeholder: "MM",
204
+ ariaLabel: "Month"
205
+ },
206
+ dd: {
207
+ maxLen: 2,
208
+ placeholder: "DD",
209
+ ariaLabel: "Day"
210
+ },
211
+ yyyy: {
212
+ maxLen: 4,
213
+ placeholder: "YYYY",
214
+ ariaLabel: "Year"
215
+ }
216
+ }, be = (e) => {
217
+ let { maxLen: t, placeholder: n, ariaLabel: i } = ye[e];
218
+ return /* @__PURE__ */ s("input", {
219
+ ref: (t) => {
220
+ z[e].current = t;
221
+ },
222
+ id: `${r}-${e}`,
223
+ class: c("IncodeSegmentedDateInputSegment", `IncodeSegmentedDateInputSegment--${e}`),
224
+ type: "text",
225
+ inputMode: "numeric",
226
+ autoComplete: I(e),
227
+ autoCorrect: "off",
228
+ spellcheck: !1,
229
+ maxLength: t,
230
+ size: t,
231
+ placeholder: n,
232
+ "aria-label": i,
233
+ "aria-required": C ? "true" : void 0,
234
+ "aria-invalid": $ ? "true" : void 0,
235
+ value: B[e],
236
+ disabled: D,
237
+ "data-testid": `${r}-${e}`,
238
+ onInput: pe(e, t),
239
+ onKeyDown: me(e),
240
+ onBlur: he(e, t),
241
+ onFocus: ge,
242
+ onPaste: _e
243
+ });
244
+ };
245
+ return /* @__PURE__ */ s("div", {
246
+ class: c("IncodeInputComposed IncodeSegmentedDateInput", se),
247
+ children: [
248
+ u && /* @__PURE__ */ s("label", {
249
+ id: U,
250
+ class: "IncodeInputComposedLabel",
251
+ htmlFor: `${r}-${N[0]}`,
252
+ "data-testid": `${r}-label`,
253
+ children: [u, f && /* @__PURE__ */ s("span", {
254
+ class: "IncodeInputComposedLabelHint",
255
+ "data-testid": `${r}-label-hint`,
256
+ children: f
257
+ })]
258
+ }),
259
+ /* @__PURE__ */ s("div", {
260
+ class: "IncodeInputComposedWrapper",
261
+ children: [
262
+ /* @__PURE__ */ s("div", {
263
+ role: "group",
264
+ class: c("IncodeSegmentedDateInputField", $ && "IncodeSegmentedDateInputField--invalid", D && "IncodeSegmentedDateInputField--disabled"),
265
+ "data-has-value": Q ? "true" : void 0,
266
+ "data-disabled": D ? "true" : void 0,
267
+ "aria-invalid": $ ? "true" : void 0,
268
+ "aria-describedby": fe || void 0,
269
+ ...ve,
270
+ children: N.map((e, n) => /* @__PURE__ */ s(t, { children: [be(e), n < N.length - 1 && /* @__PURE__ */ s("span", {
271
+ class: "IncodeSegmentedDateInputSeparator",
272
+ "aria-hidden": "true",
273
+ children: "/"
274
+ })] }, e))
275
+ }),
276
+ /* @__PURE__ */ s("span", {
277
+ id: K,
278
+ class: "IncodeSrOnly",
279
+ "data-testid": `${r}-format-hint`,
280
+ children: de
281
+ }),
282
+ /* @__PURE__ */ s("input", {
283
+ ref: H,
284
+ id: r,
285
+ type: "date",
286
+ name: le,
287
+ defaultValue: T,
288
+ min: ce,
289
+ max: O,
290
+ disabled: D,
291
+ required: C,
292
+ "aria-required": C ? "true" : void 0,
293
+ autoComplete: L,
294
+ class: "IncodeSegmentedDateInputHiddenNative",
295
+ tabIndex: -1,
296
+ "aria-hidden": "true",
297
+ "data-has-value": Q ? "true" : void 0,
298
+ "data-testid": `${r}-native`,
299
+ onInput: X,
300
+ onChange: X,
301
+ ...ue
302
+ }),
303
+ /* @__PURE__ */ s("button", {
304
+ type: "button",
305
+ class: "IncodeSegmentedDateInputIconButton",
306
+ onClick: Z,
307
+ onTouchEnd: Z,
308
+ disabled: D,
309
+ "aria-label": "Open date picker",
310
+ "data-testid": `${r}-picker-trigger`,
311
+ children: /* @__PURE__ */ s("span", {
312
+ class: "IncodeSegmentedDateInputIcon",
313
+ children: /* @__PURE__ */ s(te, {})
314
+ })
315
+ })
316
+ ]
317
+ }),
318
+ !w && y && /* @__PURE__ */ s("div", {
319
+ class: "IncodeInputComposedErrorWrapper",
320
+ role: "alert",
321
+ "data-testid": `${r}-error-wrapper`,
322
+ children: [b && /* @__PURE__ */ s("div", {
323
+ class: "IncodeInputComposedIconWrapper",
324
+ children: /* @__PURE__ */ s(ee, { size: 16 })
325
+ }), /* @__PURE__ */ s("p", {
326
+ id: G,
327
+ class: "IncodeInputComposedError",
328
+ children: y
329
+ })]
330
+ }),
331
+ !w && x && !y && /* @__PURE__ */ s("div", {
332
+ class: "IncodeInputComposedHelperWrapper",
333
+ "data-testid": `${r}-helper-wrapper`,
334
+ children: [S && /* @__PURE__ */ s("div", {
335
+ class: "IncodeInputComposedIconWrapper",
336
+ children: /* @__PURE__ */ s(ne, { size: 16 })
337
+ }), /* @__PURE__ */ s("p", {
338
+ id: W,
339
+ class: "IncodeInputComposedHelper",
340
+ children: x
341
+ })]
342
+ })
343
+ ]
344
+ });
345
+ });
346
+ v.displayName = "SegmentedDateInput";
347
+ //#endregion
348
+ export { v as t };
@@ -0,0 +1 @@
1
+ import "./segmentedDateInput-DIZb0ruK.js";
@@ -1,15 +1,15 @@
1
1
  import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
2
  import { o as n } from "../hooks-BVnGysT7.js";
3
- import { t as r } from "../incodeComponent-9ZUPvQgC.js";
4
- import { t as i } from "../transitionSpinner-av72n-l1.js";
5
- import { t as a } from "../processing-c8ep-KSh.js";
6
- import { n as o, r as s, t as c } from "../tutorial-BvRU4P4P.js";
7
- import { t as l } from "../incodeModule-D_r2n18O.js";
3
+ import { t as r } from "../incodeComponent-BRtpx7iO.js";
4
+ import { t as i } from "../transitionSpinner-DHelnP9m.js";
5
+ import { t as a } from "../processing-Byt0PHxP.js";
6
+ import { n as o, r as s, t as c } from "../tutorial-CpB1q1y3.js";
7
+ import { t as l } from "../incodeModule-grHfB1zI.js";
8
8
  import { createSelfieManager as u } from "@incodetech/core/selfie";
9
9
  //#region src/modules/selfie/preloadTutorialAssets.ts
10
10
  var d = !1;
11
11
  function f() {
12
- d || (d = !0, import("../selfieTutorial-1QMt37Us.js"));
12
+ d || (d = !0, import("../selfieTutorial-CMc0HW_O.js"));
13
13
  }
14
14
  //#endregion
15
15
  //#region src/modules/selfie/selfie.tsx
@@ -57,6 +57,18 @@
57
57
  visibility: visible;
58
58
  }
59
59
 
60
+ .sr-only {
61
+ clip-path: inset(50%);
62
+ white-space: nowrap;
63
+ border-width: 0;
64
+ width: 1px;
65
+ height: 1px;
66
+ margin: -1px;
67
+ padding: 0;
68
+ position: absolute;
69
+ overflow: hidden;
70
+ }
71
+
60
72
  .absolute {
61
73
  position: absolute;
62
74
  }
@@ -1,14 +1,14 @@
1
- import { n as e } from "../i18n-BnVa5Y-_.js";
1
+ import { n as e } from "../i18n-D6pCC7RL.js";
2
2
  import { _ as t, a as n, h as r, l as i, p as a, u as o, v as s } from "../vendor-preact-D6SntenC.js";
3
3
  import { o as c } from "../hooks-BVnGysT7.js";
4
- import { t as l } from "../incodeComponent-9ZUPvQgC.js";
4
+ import { t as l } from "../incodeComponent-BRtpx7iO.js";
5
5
  import { r as u } from "../loadingIcon-BN5YRQUb.js";
6
6
  import { t as d } from "../page-DCsXSlHl.js";
7
- import "../extensibility-C1xYMmD-.js";
7
+ import "../extensibility-CL6pOTDM.js";
8
8
  import { t as f } from "../button-DcCUEn2n.js";
9
- import { t as p } from "../verificationResult-9weGpvn5.js";
10
- import { t as m } from "../incodeModule-D_r2n18O.js";
11
- import { t as h } from "../defineProperty-CqT6YdHJ.js";
9
+ import { t as p } from "../verificationResult-Boi07OiG.js";
10
+ import { t as m } from "../incodeModule-grHfB1zI.js";
11
+ import { t as h } from "../defineProperty-CplHoz4_.js";
12
12
  import { createSignatureManager as g } from "@incodetech/core/signature";
13
13
  //#region ../../node_modules/.pnpm/signature_pad@5.1.3/node_modules/signature_pad/dist/signature_pad.js
14
14
  var _ = class {
@@ -1179,6 +1179,12 @@
1179
1179
  --age-verification-logo-height: 20px;
1180
1180
  --id-processing-image-blur-radius: 8px;
1181
1181
 
1182
+ /* segmented date input */
1183
+ --segmented-date-input-height: 56px;
1184
+ --segmented-date-input-icon-space: 44px;
1185
+ --segmented-date-input-mm-dd-width: 1.9em;
1186
+ --segmented-date-input-yyyy-width: 3.5em;
1187
+
1182
1188
  /* radio button sizing */
1183
1189
  --radio-button-size: 28px;
1184
1190
  --radio-button-dot-size: 9px;
@@ -1179,6 +1179,12 @@
1179
1179
  --age-verification-logo-height: 20px;
1180
1180
  --id-processing-image-blur-radius: 8px;
1181
1181
 
1182
+ /* segmented date input */
1183
+ --segmented-date-input-height: 56px;
1184
+ --segmented-date-input-icon-space: 44px;
1185
+ --segmented-date-input-mm-dd-width: 1.9em;
1186
+ --segmented-date-input-yyyy-width: 3.5em;
1187
+
1182
1188
  /* radio button sizing */
1183
1189
  --radio-button-size: 28px;
1184
1190
  --radio-button-dot-size: 9px;
@@ -1,4 +1,4 @@
1
- import { n as e } from "./i18n-BnVa5Y-_.js";
1
+ import { n as e } from "./i18n-D6pCC7RL.js";
2
2
  import { v as t } from "./vendor-preact-D6SntenC.js";
3
3
  import { t as n } from "./spinner-CKnjVHxw.js";
4
4
  import "./spinner-B4dcie2T.js";
@@ -1,16 +1,16 @@
1
- import { n as e, t } from "./i18n-BnVa5Y-_.js";
1
+ import { n as e, t } from "./i18n-D6pCC7RL.js";
2
2
  import { S as n, _ as r, a as i, h as a, l as o, m as s, p as c, v as l } from "./vendor-preact-D6SntenC.js";
3
3
  import { r as u } from "./hooks-BVnGysT7.js";
4
4
  import { n as d, r as f, t as p } from "./loadingIcon-BN5YRQUb.js";
5
5
  import { t as m } from "./page-DCsXSlHl.js";
6
6
  import { a as h, i as g, n as _, t as v } from "./typography-CxjaknHN.js";
7
- import { t as y } from "./transitionSpinner-av72n-l1.js";
7
+ import { t as y } from "./transitionSpinner-DHelnP9m.js";
8
8
  import { t as b } from "./button-DcCUEn2n.js";
9
9
  import { g as x, h as S } from "./icons-Cc7zwchP.js";
10
10
  import { t as ee } from "./successIcon-DbILeIz_.js";
11
11
  import { t as C } from "./modal-XTO80Vsu.js";
12
- import { t as w } from "./bottomSheet-CLMmiBQS.js";
13
- import { t as T } from "./numberedStep-CR4w_BpM.js";
12
+ import { t as w } from "./bottomSheet-DE_8TFEC.js";
13
+ import { t as T } from "./numberedStep-CT-alrK5.js";
14
14
  import { getBrowser as E, getDeviceClass as D } from "@incodetech/core/device";
15
15
  import "@incodetech/core/camera";
16
16
  //#region src/shared/errorContent/errorContent.tsx
@@ -2566,7 +2566,7 @@ var xe = ({ manager: t, permissionStatus: n }) => {
2566
2566
  }, Me = ({ manager: t, ageAssurance: n = !1 }) => {
2567
2567
  let { t: i } = e(), [a, o] = c(!1), [s, u] = c(null);
2568
2568
  return r(() => {
2569
- import("./selfieTutorial-1QMt37Us.js").then((e) => {
2569
+ import("./selfieTutorial-CMc0HW_O.js").then((e) => {
2570
2570
  u(e.default);
2571
2571
  });
2572
2572
  }, []), /* @__PURE__ */ l(j, {
@@ -763,6 +763,15 @@ declare type SearchIconProps = {
763
763
  size?: number | string;
764
764
  };
765
765
 
766
+ export declare const SegmentedDateInput: FunctionalComponent<PropsWithoutRef<SegmentedDateInputProps> & {
767
+ ref?: Ref<HTMLInputElement> | undefined;
768
+ }>;
769
+
770
+ export declare type SegmentedDateInputProps = Omit<InputComposedProps, 'type' | 'closeButton' | 'rightIcon'> & {
771
+ value: string;
772
+ onInput: (e: Event) => void;
773
+ };
774
+
766
775
  export declare const SelfieCapture: FC<CaptureProps>;
767
776
 
768
777
  export declare const SelfieTutorial: ({ manager, ageAssurance }: TutorialProps) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { i as e, r as t } from "./i18n-BnVa5Y-_.js";
1
+ import { i as e, r as t } from "./i18n-D6pCC7RL.js";
2
2
  import { _ as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
3
3
  import { t as o } from "./uiConfig-CwpQ-IM6.js";
4
4
  import { t as s } from "./button-DcCUEn2n.js";
@@ -118,7 +118,7 @@ async function T() {
118
118
  }
119
119
  //#endregion
120
120
  //#region src/modules/flow/flowInit.ts
121
- var E = () => import("./id/id.es.js").then((e) => e.Id), D = () => import("./homeScreen-DprCAAmv.js").then((e) => e.HomeScreen), O;
121
+ var E = () => import("./id/id.es.js").then((e) => e.Id), D = () => import("./homeScreen-CmsrGndM.js").then((e) => e.HomeScreen), O;
122
122
  function k(e) {
123
123
  if (e === "IP_ADDRESS") return () => import("@incodetech/core/flow").then((e) => e.noOpFlowModuleMachine);
124
124
  if (e === "REDIRECT_TO_MOBILE") return () => import("@incodetech/core/redirect-to-mobile").then((e) => e.redirectToMobileMachine);
@@ -160,7 +160,7 @@ function A(e) {
160
160
  return t;
161
161
  }
162
162
  var j = {
163
- REDIRECT_TO_MOBILE: () => import("./redirectToMobile-Cg-BpzrT.js").then((e) => e.RedirectToMobile),
163
+ REDIRECT_TO_MOBILE: () => import("./redirectToMobile-CDqR2ADA.js").then((e) => e.RedirectToMobile),
164
164
  PHONE: () => import("./phone/phone.es.js").then((e) => e.Phone),
165
165
  EMAIL: () => import("./email/email.es.js").then((e) => e.Email),
166
166
  SELFIE: () => import("./selfie/selfie.es.js").then((e) => e.Selfie),
@@ -169,28 +169,28 @@ var j = {
169
169
  ID_CAPTURE: E,
170
170
  TUTORIAL_ID: E,
171
171
  SECOND_ID: E,
172
- FACE_MATCH: () => import("./faceMatch-Dh01E8Zv.js").then((e) => e.FaceMatch),
172
+ FACE_MATCH: () => import("./faceMatch-Drzy4xup.js").then((e) => e.FaceMatch),
173
173
  CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((e) => e.CurpValidation),
174
174
  GOVT_VALIDATION_PROVISIONING: () => import("./governmentValidation/governmentValidation.es.js").then((e) => e.GovernmentValidation),
175
175
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
176
- EXTERNAL_VERIFICATION: () => import("./ekycModule-Dl44pQfM.js").then((e) => e.EkycModule),
177
- EKYB: () => import("./ekybModule-B92LkG1f.js").then((e) => e.EkybModule),
178
- DOCUMENT_CAPTURE: () => import("./documentCapture-B7gkjbde.js").then((e) => e.DocumentCapture),
179
- ADDRESS: () => import("./documentCapture-B7gkjbde.js").then((e) => e.DocumentCapture),
176
+ EXTERNAL_VERIFICATION: () => import("./ekycModule-DvRBzbaa.js").then((e) => e.EkycModule),
177
+ EKYB: () => import("./ekybModule-VFeaId2k.js").then((e) => e.EkybModule),
178
+ DOCUMENT_CAPTURE: () => import("./documentCapture-DPlR8XwV.js").then((e) => e.DocumentCapture),
179
+ ADDRESS: () => import("./documentCapture-DPlR8XwV.js").then((e) => e.DocumentCapture),
180
180
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
181
- MANDATORY_CONSENT: () => import("./mandatoryConsent-BVUiGOKK.js").then((e) => e.MandatoryConsent),
181
+ MANDATORY_CONSENT: () => import("./mandatoryConsent-CCXO_vxQ.js").then((e) => e.MandatoryConsent),
182
182
  SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
183
- ID_OCR: () => import("./idOcr-iAAZKKU2.js").then((e) => e.IdOcr),
184
- CPF_OCR: () => import("./cpfOcr-BzoRvWuh.js").then((e) => e.CpfOcr),
183
+ ID_OCR: () => import("./idOcr-DQtsITAI.js").then((e) => e.IdOcr),
184
+ CPF_OCR: () => import("./cpfOcr-BYlfZY40.js").then((e) => e.CpfOcr),
185
185
  ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud),
186
- CUSTOM_FIELDS: () => import("./customFields-64Wcgiwr.js").then((e) => e.CustomFields),
186
+ CUSTOM_FIELDS: () => import("./customFields-BraeAxZp.js").then((e) => e.CustomFields),
187
187
  WATCHLIST: () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist),
188
- WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-DjgJnsPT.js").then((e) => e.WatchlistForBusiness),
189
- INCODE_WATCHLIST: () => import("./customWatchlist-BT1PQfoG.js").then((e) => e.CustomWatchlist),
188
+ WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-k2IqUCN_.js").then((e) => e.WatchlistForBusiness),
189
+ INCODE_WATCHLIST: () => import("./customWatchlist-CFFQpv_v.js").then((e) => e.CustomWatchlist),
190
190
  AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((e) => e.AeSignature),
191
191
  QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((e) => e.QeSignature),
192
192
  CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((e) => e.CrossDocumentDataMatch),
193
- DYNAMIC_FORMS: () => import("./dynamicForms-DFXXP6uP.js").then((e) => e.DynamicForms)
193
+ DYNAMIC_FORMS: () => import("./dynamicForms-iowHKj2D.js").then((e) => e.DynamicForms)
194
194
  };
195
195
  function M() {
196
196
  return D();