@incodetech/web 0.0.0-dev-20260504-8289e2f → 0.0.0-dev-20260505-23151a2

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 (90) hide show
  1. package/dist/ae-signature/ae-signature.es.js +1 -1
  2. package/dist/antifraud/antifraud.es.js +1 -1
  3. package/dist/authentication/authentication.es.js +2 -2
  4. package/dist/autoFocusTitle-Cbh_s_F3.js +16 -0
  5. package/dist/base.css +4 -0
  6. package/dist/consent/consent.es.js +3 -3
  7. package/dist/{countrySelector-CMhg2XLf.js → countrySelector-CgUcwTFy.js} +1 -1
  8. package/dist/{cpfOcr-FEdIt1gs.js → cpfOcr-BER55mzm.js} +1 -1
  9. package/dist/cross-document-data-match/cross-document-data-match.es.js +1 -1
  10. package/dist/curp-validation/curp-validation.es.js +150 -160
  11. package/dist/{customFields-BE-LNxr6.js → customFields-BFjP9B-9.js} +3 -3
  12. package/dist/{customWatchlist-D_EJ41we.js → customWatchlist-CUGte09n.js} +3 -3
  13. package/dist/{documentCapture-fjzmYCVb.js → documentCapture-BCKbnkZU.js} +4 -4
  14. package/dist/ekyb/ekyb.es.js +1 -1
  15. package/dist/ekybModule-CtlBDCFZ.js +2 -0
  16. package/dist/{ekybModule-BPRBKuYr.js → ekybModule-z3H1-0-x.js} +6 -6
  17. package/dist/ekyc/ekyc.es.js +1 -1
  18. package/dist/ekycModule-CRrgsToG.js +2 -0
  19. package/dist/{ekycModule-QU1NKDFR.js → ekycModule-D_-Rs3dt.js} +5 -5
  20. package/dist/electronic-signature/electronic-signature.es.js +1 -1
  21. package/dist/{electronic-signature-PtBWK2OW.js → electronic-signature-vybbO1oP.js} +4 -4
  22. package/dist/email/email.es.js +4 -4
  23. package/dist/{extensibility-04gn7mbK.js → extensibility-BMC0aVBo.js} +65 -58
  24. package/dist/extensibility.es.js +8 -8
  25. package/dist/face-match/face-match.es.js +1 -1
  26. package/dist/face-match/styles.css +4 -0
  27. package/dist/{faceMatch-DNNvKA-V.js → faceMatch-DpvaaEgK.js} +3 -3
  28. package/dist/faceMatch-pE36UIra.js +2 -0
  29. package/dist/flow/flow.es.js +5 -5
  30. package/dist/flow/styles.css +101 -5
  31. package/dist/{formField-Dd_Dm10q.js → formField-Dr_wRS1M.js} +1 -1
  32. package/dist/geolocation/geolocation.es.js +2 -2
  33. package/dist/governmentValidation/governmentValidation.es.js +27 -29
  34. package/dist/governmentValidation/styles.css +1 -5
  35. package/dist/{homeScreen-D21cV82y.js → homeScreen-BsnPnOwW.js} +1 -1
  36. package/dist/{i18n-D6pCC7RL.js → i18n-BnVa5Y-_.js} +1 -1
  37. package/dist/id/id.es.js +157 -106
  38. package/dist/id/styles.css +91 -0
  39. package/dist/{idOcr-DXZbASy3.js → idOcr-CGyRuHlq.js} +4 -4
  40. package/dist/identity-reuse/identity-reuse.es.js +2 -2
  41. package/dist/{incodeComponent-Brc9IhMv.js → incodeComponent-Cx36DgvY.js} +1 -1
  42. package/dist/index.es.js +1 -1
  43. package/dist/{mandatoryConsent-BP_Zpvrh.js → mandatoryConsent-DyxmgHnZ.js} +3 -3
  44. package/dist/{optionAccessibleLabel-C-o7iprc.js → optionAccessibleLabel-DmTGZ8Yn.js} +2 -2
  45. package/dist/{otpInput-BuHkqpRJ.js → otpInput-BsMvwuxV.js} +1 -1
  46. package/dist/phone/phone.es.js +3 -3
  47. package/dist/{processing-5g21QOQZ.js → processing-C9xzJOq0.js} +1 -1
  48. package/dist/qe-signature/qe-signature.es.js +1 -1
  49. package/dist/{redirectToMobile-BwvtIxEI.js → redirectToMobile-C_Dwf3Sq.js} +5 -5
  50. package/dist/selfie/selfie.es.js +9 -6
  51. package/dist/selfie/styles.css +4 -0
  52. package/dist/signature/signature.es.js +4 -4
  53. package/dist/themes/dark.css +2 -0
  54. package/dist/themes/light.css +2 -0
  55. package/dist/{transitionSpinner-CisZoKUv.js → transitionSpinner-Dmj-tzXU.js} +1 -1
  56. package/dist/{tutorial-BhssZo_c.js → tutorial-DhSymWQF.js} +87 -87
  57. package/dist/types/extensibility.d.ts +4 -1
  58. package/dist/{useModuleLoader-DwhvEFIP.js → useModuleLoader-BDHx7y12.js} +14 -14
  59. package/dist/{verificationResult-BvUseXrX.js → verificationResult-BInhP13F.js} +1 -1
  60. package/dist/watchlist/watchlist.es.js +3 -3
  61. package/dist/{watchlistForBusiness-Z25ByBeW.js → watchlistForBusiness-B6qmylkp.js} +4 -4
  62. package/dist/workflow/styles.css +101 -5
  63. package/dist/workflow/workflow.es.js +5 -5
  64. package/package.json +2 -2
  65. package/dist/ekybModule-Cl0rbs4s.js +0 -2
  66. package/dist/ekycModule-BxPTVcan.js +0 -2
  67. package/dist/faceMatch-BNY9QZ2E.js +0 -2
  68. /package/dist/{aligndevicelottie-xrVoNCX1.js → aligndevicelottie-Dfs3Ku2-.js} +0 -0
  69. /package/dist/{back-horizontal-hint-CafoL5Hr.js → back-horizontal-hint-Cch8dR2s.js} +0 -0
  70. /package/dist/{back-tutorial-D8gxTBif.js → back-tutorial-DCeMC-YK.js} +0 -0
  71. /package/dist/{back-vertical-hint-vsXVE8cE.js → back-vertical-hint-Dzn5uXKH.js} +0 -0
  72. /package/dist/{backdevicelottie-D6ViC7os.js → backdevicelottie-B4ve1L_u.js} +0 -0
  73. /package/dist/{blurdevicelottie-XvW-0MTp.js → blurdevicelottie-DIQrsw9H.js} +0 -0
  74. /package/dist/{browser-ponyfill-Dqca0y49.js → browser-ponyfill-Dxc09_1M.js} +0 -0
  75. /package/dist/{flip-animation-C6-P7Ueu.js → flip-animation-B1zV6oY9.js} +0 -0
  76. /package/dist/{front-horizontal-hint-B-ym65-G.js → front-horizontal-hint-CNu99K_l.js} +0 -0
  77. /package/dist/{front-vertical-hint-D7fluj79.js → front-vertical-hint-CpQjOGpU.js} +0 -0
  78. /package/dist/{frontdevicelottie-C0TbU3F-.js → frontdevicelottie-D3Gw7Qab.js} +0 -0
  79. /package/dist/{glaredevicelottie-z5dv0nBA.js → glaredevicelottie-BPRxXRbG.js} +0 -0
  80. /package/dist/{id-laser-h-BniGIPai.js → id-laser-h-BUV5ROmy.js} +0 -0
  81. /package/dist/{id-laser-v-DFo-b0WI.js → id-laser-v-DzsdfzVM.js} +0 -0
  82. /package/dist/{id-tutorial-CKackIBs.js → id-tutorial-B2d6DkZv.js} +0 -0
  83. /package/dist/{passport-horizontal-hint-DXy5C55p.js → passport-horizontal-hint-WqdYMc9Y.js} +0 -0
  84. /package/dist/{passport-tutorial-DwhO4uTV.js → passport-tutorial-DYBRCYAN.js} +0 -0
  85. /package/dist/{passport-vertical-hint-D0iTF_ih.js → passport-vertical-hint-rNP6GykM.js} +0 -0
  86. /package/dist/{pdf-DIDgYHik.js → pdf-4UQzn_KC.js} +0 -0
  87. /package/dist/{phoneInput-BBd_Kk-E.js → phoneInput-CIuylABp.js} +0 -0
  88. /package/dist/{selfieTutorial-CMc0HW_O.js → selfieTutorial-1QMt37Us.js} +0 -0
  89. /package/dist/{statusPage-BUwzSiOq.js → statusPage-VScoN9zO.js} +0 -0
  90. /package/dist/{tabs-BMnWocEX.js → tabs-Iu2gptzB.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
- import { n as t } from "../electronic-signature-PtBWK2OW.js";
2
+ import { n as t } from "../electronic-signature-vybbO1oP.js";
3
3
  import { t as n } from "../incodeModule-BH9gV7jI.js";
4
4
  //#region src/modules/ae-signature/ae-signature.tsx
5
5
  var r = ({ config: n, onFinish: r, onError: i }) => /* @__PURE__ */ e(t, {
@@ -1,6 +1,6 @@
1
1
  import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
2
  import { i as n } from "../hooks-K-ks8TCv.js";
3
- import { t as r } from "../incodeComponent-Brc9IhMv.js";
3
+ import { t as r } from "../incodeComponent-Cx36DgvY.js";
4
4
  import { t as i } from "../spinner-CNteWaxs.js";
5
5
  import { t as a } from "../incodeModule-BH9gV7jI.js";
6
6
  import { createAntifraudManager as o } from "@incodetech/core/antifraud";
@@ -1,7 +1,7 @@
1
1
  import { v as e } from "../vendor-preact-D6SntenC.js";
2
2
  import { i as t } from "../hooks-K-ks8TCv.js";
3
- import { t as n } from "../incodeComponent-Brc9IhMv.js";
4
- import { n as r, r as i, t as a } from "../tutorial-BhssZo_c.js";
3
+ import { t as n } from "../incodeComponent-Cx36DgvY.js";
4
+ import { n as r, r as i, t as a } from "../tutorial-DhSymWQF.js";
5
5
  import { t as o } from "../incodeModule-BH9gV7jI.js";
6
6
  import { createAuthenticationManager as s } from "@incodetech/core/authentication";
7
7
  //#region src/modules/authentication/authentication.tsx
@@ -0,0 +1,16 @@
1
+ import { _ as e, l as t, v as n } from "./vendor-preact-D6SntenC.js";
2
+ import { t as r } from "./typography-BU5GeRw-.js";
3
+ //#region src/shared/autoFocusTitle/autoFocusTitle.tsx
4
+ var i = ({ children: i, className: a }) => {
5
+ let o = t(null);
6
+ return e(() => {
7
+ o.current?.focus();
8
+ }, []), /* @__PURE__ */ n(r, {
9
+ ref: o,
10
+ tabIndex: -1,
11
+ className: a,
12
+ children: i
13
+ });
14
+ };
15
+ //#endregion
16
+ export { i as t };
package/dist/base.css CHANGED
@@ -220,6 +220,10 @@
220
220
  border-width: 1px;
221
221
  }
222
222
 
223
+ .bg-white {
224
+ background-color: var(--color-white, #fff);
225
+ }
226
+
223
227
  .text-button-m-underlined {
224
228
  font-family: var(--typography-button-family);
225
229
  font-size: var(--typography-button-m-underlined-size);
@@ -1,10 +1,10 @@
1
- import { n as e } from "../i18n-D6pCC7RL.js";
1
+ import { n as e } from "../i18n-BnVa5Y-_.js";
2
2
  import { _ as t, l as n, v as r } from "../vendor-preact-D6SntenC.js";
3
3
  import { i } from "../hooks-K-ks8TCv.js";
4
- import { t as a } from "../incodeComponent-Brc9IhMv.js";
4
+ import { t as a } from "../incodeComponent-Cx36DgvY.js";
5
5
  import { t as o } from "../page-D5Mt-0zn.js";
6
6
  import { n as s } from "../typography-BU5GeRw-.js";
7
- import { t as c } from "../transitionSpinner-CisZoKUv.js";
7
+ import { t as c } from "../transitionSpinner-Dmj-tzXU.js";
8
8
  import { t as l } from "../button-4-ToV5B_.js";
9
9
  import { t as u } from "../checkbox-B35BL_3X.js";
10
10
  import { t as d } from "../incodeModule-BH9gV7jI.js";
@@ -1,4 +1,4 @@
1
- import { n as e } from "./i18n-D6pCC7RL.js";
1
+ import { n as e } from "./i18n-BnVa5Y-_.js";
2
2
  import { d as t, v as n } from "./vendor-preact-D6SntenC.js";
3
3
  import { t as r } from "./dropdownComposed-z3-qcyhl.js";
4
4
  import { DEV_ONLY_COUNTRIES as i, SUPPORTED_COUNTRIES as a } from "@incodetech/core/ekyb";
@@ -5,7 +5,7 @@ import { t as a } from "./page-D5Mt-0zn.js";
5
5
  import { t as o } from "./spinner-CNteWaxs.js";
6
6
  import "./spinner-BiPJCr9Q.js";
7
7
  import { t as s } from "./button-4-ToV5B_.js";
8
- import { t as c } from "./verificationResult-BvUseXrX.js";
8
+ import { t as c } from "./verificationResult-BInhP13F.js";
9
9
  import { t as l } from "./inputComposed-28d14HXP.js";
10
10
  import { createCpfOcrManager as u } from "@incodetech/core/cpf-ocr";
11
11
  //#region src/modules/cpf-ocr/cpfOcr.tsx
@@ -1,6 +1,6 @@
1
1
  import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
2
  import { i as n } from "../hooks-K-ks8TCv.js";
3
- import { t as r } from "../incodeComponent-Brc9IhMv.js";
3
+ import { t as r } from "../incodeComponent-Cx36DgvY.js";
4
4
  import { t as i } from "../spinner-CNteWaxs.js";
5
5
  import { t as a } from "../incodeModule-BH9gV7jI.js";
6
6
  import { createCrossDocumentDataMatchManager as o } from "@incodetech/core/cross-document-data-match";
@@ -1,274 +1,264 @@
1
- import { n as e } from "../i18n-D6pCC7RL.js";
2
- import { S as t, _ as n, l as r, v as i } from "../vendor-preact-D6SntenC.js";
3
- import { i as a } from "../hooks-K-ks8TCv.js";
4
- import { t as o } from "../incodeComponent-Brc9IhMv.js";
5
- import { t as s } from "../spacer-DCljE53A.js";
6
- import { t as c } from "../page-D5Mt-0zn.js";
7
- import { t as l } from "../typography-BU5GeRw-.js";
8
- import { t as u } from "../transitionSpinner-CisZoKUv.js";
9
- import { t as d } from "../button-4-ToV5B_.js";
10
- import { g as f } from "../icons-BtdVuyUn.js";
11
- import { t as p } from "../successIcon-SlKgTSty.js";
12
- import { t as m } from "../inputComposed-28d14HXP.js";
13
- import { t as h } from "../dropdownComposed-z3-qcyhl.js";
1
+ import { n as e } from "../i18n-BnVa5Y-_.js";
2
+ import { S as t, v as n } from "../vendor-preact-D6SntenC.js";
3
+ import { i as r } from "../hooks-K-ks8TCv.js";
4
+ import { t as i } from "../incodeComponent-Cx36DgvY.js";
5
+ import { t as a } from "../spacer-DCljE53A.js";
6
+ import { t as o } from "../page-D5Mt-0zn.js";
7
+ import { t as s } from "../transitionSpinner-Dmj-tzXU.js";
8
+ import { t as c } from "../button-4-ToV5B_.js";
9
+ import { g as l } from "../icons-BtdVuyUn.js";
10
+ import { t as u } from "../successIcon-SlKgTSty.js";
11
+ import { t as d } from "../inputComposed-28d14HXP.js";
12
+ import { t as f } from "../dropdownComposed-z3-qcyhl.js";
14
13
  import "../dropdownComposed-BDHVzek1.js";
15
- import { t as g } from "../dateInputComposed-CVqyqQIV.js";
14
+ import { t as p } from "../dateInputComposed-CVqyqQIV.js";
16
15
  import "../dateInputComposed-BE3SBKOa.js";
17
- import { t as _ } from "../incodeModule-BH9gV7jI.js";
18
- import { createCurpValidationManager as v, mexicanStates as y } from "@incodetech/core/curp-validation";
19
- //#region src/shared/autoFocusTitle/autoFocusTitle.tsx
20
- var b = ({ children: e, className: t }) => {
21
- let a = r(null);
22
- return n(() => {
23
- a.current?.focus();
24
- }, []), /* @__PURE__ */ i(l, {
25
- ref: a,
26
- tabIndex: -1,
27
- className: t,
28
- children: e
29
- });
30
- }, x = ({ curp: t, isValid: n, onCurpChange: r, onVerify: a, onSwitchToGenerate: o, disabled: c = !1, placeholder: l, continueLabel: u, dontHaveLabel: f }) => {
31
- let { t: p } = e(), h = l ?? p("curp.placeholder.curp") ?? "CURP", g = u ?? p("curp.continue") ?? "Continue", _ = f ?? p("curp.dontHave") ?? "I don't have my CURP";
32
- return /* @__PURE__ */ i("div", {
16
+ import { t as m } from "../incodeModule-BH9gV7jI.js";
17
+ import { t as h } from "../autoFocusTitle-Cbh_s_F3.js";
18
+ import { createCurpValidationManager as g, mexicanStates as _ } from "@incodetech/core/curp-validation";
19
+ //#region src/modules/curp-validation/curpInput.tsx
20
+ var v = ({ curp: t, isValid: r, onCurpChange: i, onVerify: o, onSwitchToGenerate: s, disabled: l = !1, placeholder: u, continueLabel: f, dontHaveLabel: p }) => {
21
+ let { t: m } = e(), h = u ?? m("curp.placeholder.curp") ?? "CURP", g = f ?? m("curp.continue") ?? "Continue", _ = p ?? m("curp.dontHave") ?? "I don't have my CURP";
22
+ return /* @__PURE__ */ n("div", {
33
23
  class: "IncodeCurpValidation IncodeCurpInput",
34
24
  children: [
35
- /* @__PURE__ */ i(m, {
25
+ /* @__PURE__ */ n(d, {
36
26
  id: "curp-input",
37
27
  value: t,
38
28
  onInput: (e) => {
39
29
  let t = e.target;
40
- r(t.value.toUpperCase());
30
+ i(t.value.toUpperCase());
41
31
  },
42
32
  placeholder: h,
43
- disabled: c,
33
+ disabled: l,
44
34
  maxLength: 18,
45
- "aria-label": p("curp.placeholder.curp") ?? "CURP"
35
+ "aria-label": m("curp.placeholder.curp") ?? "CURP"
46
36
  }),
47
- /* @__PURE__ */ i(s, {}),
48
- /* @__PURE__ */ i(d, {
37
+ /* @__PURE__ */ n(a, {}),
38
+ /* @__PURE__ */ n(c, {
49
39
  type: "button",
50
- onClick: a,
51
- disabled: !n || c,
40
+ onClick: o,
41
+ disabled: !r || l,
52
42
  "data-testid": "curp-verify",
53
43
  children: g
54
44
  }),
55
- /* @__PURE__ */ i(d, {
45
+ /* @__PURE__ */ n(c, {
56
46
  type: "button",
57
47
  variant: "secondary",
58
- onClick: o,
59
- disabled: c,
48
+ onClick: s,
49
+ disabled: l,
60
50
  "data-testid": "curp-switch-to-generate",
61
51
  children: _
62
52
  })
63
53
  ]
64
54
  });
65
- }, S = ({ form: t, isValid: n, onFormChange: r, onGenerate: a, disabled: o = !1, labels: c }) => {
66
- let { t: l } = e(), u = {
67
- firstName: l("curp.labels.firstName") ?? "Your First name",
68
- firstLast: l("curp.labels.firstLast") ?? "Your First last name",
69
- secondLast: l("curp.labels.secondLast") ?? "Your Second last name",
70
- gender: l("curp.labels.genderV2") ?? "Gender",
71
- genderPlaceholder: l("curp.placeholder.gender") ?? "Choose gender",
72
- male: l("curp.labels.maleV2") ?? "Male",
73
- female: l("curp.labels.femaleV2") ?? "Female",
74
- other: l("curp.labels.other") ?? "Other",
75
- dob: l("curp.labels.dob") ?? "Date of birth",
76
- birthState: l("curp.labels.birthState") ?? "State of birth",
77
- statePlaceholder: l("curp.placeholder.state") ?? "Select state",
78
- generate: l("curp.generateCta") ?? "Generate CURP",
79
- ...c
80
- }, f = (e) => (t) => {
55
+ }, y = ({ form: t, isValid: r, onFormChange: i, onGenerate: o, disabled: s = !1, labels: l }) => {
56
+ let { t: u } = e(), m = {
57
+ firstName: u("curp.labels.firstName") ?? "Your First name",
58
+ firstLast: u("curp.labels.firstLast") ?? "Your First last name",
59
+ secondLast: u("curp.labels.secondLast") ?? "Your Second last name",
60
+ gender: u("curp.labels.genderV2") ?? "Gender",
61
+ genderPlaceholder: u("curp.placeholder.gender") ?? "Choose gender",
62
+ male: u("curp.labels.maleV2") ?? "Male",
63
+ female: u("curp.labels.femaleV2") ?? "Female",
64
+ other: u("curp.labels.other") ?? "Other",
65
+ dob: u("curp.labels.dob") ?? "Date of birth",
66
+ birthState: u("curp.labels.birthState") ?? "State of birth",
67
+ statePlaceholder: u("curp.placeholder.state") ?? "Select state",
68
+ generate: u("curp.generateCta") ?? "Generate CURP",
69
+ ...l
70
+ }, h = (e) => (t) => {
81
71
  let n = t.target;
82
- r({ [e]: n.value });
83
- }, p = [
72
+ i({ [e]: n.value });
73
+ }, g = [
84
74
  {
85
75
  value: "H",
86
- label: u.male
76
+ label: m.male
87
77
  },
88
78
  {
89
79
  value: "M",
90
- label: u.female
80
+ label: m.female
91
81
  },
92
82
  {
93
83
  value: "X",
94
- label: u.other
84
+ label: m.other
95
85
  }
96
- ], _ = y.map((e) => ({
86
+ ], v = _.map((e) => ({
97
87
  value: e.value,
98
88
  label: e.label
99
89
  }));
100
- return /* @__PURE__ */ i("div", {
90
+ return /* @__PURE__ */ n("div", {
101
91
  class: "IncodeCurpValidation IncodeGenerateCurpForm",
102
92
  children: [
103
- /* @__PURE__ */ i(m, {
93
+ /* @__PURE__ */ n(d, {
104
94
  id: "curp-first-name",
105
- label: u.firstName,
95
+ label: m.firstName,
106
96
  value: t.name,
107
- onInput: f("name"),
108
- placeholder: u.firstName,
109
- disabled: o,
97
+ onInput: h("name"),
98
+ placeholder: m.firstName,
99
+ disabled: s,
110
100
  autoComplete: "given-name"
111
101
  }),
112
- /* @__PURE__ */ i(m, {
102
+ /* @__PURE__ */ n(d, {
113
103
  id: "curp-first-last",
114
- label: u.firstLast,
104
+ label: m.firstLast,
115
105
  value: t.firstLastName,
116
- onInput: f("firstLastName"),
117
- placeholder: u.firstLast,
118
- disabled: o
106
+ onInput: h("firstLastName"),
107
+ placeholder: m.firstLast,
108
+ disabled: s
119
109
  }),
120
- /* @__PURE__ */ i(m, {
110
+ /* @__PURE__ */ n(d, {
121
111
  id: "curp-second-last",
122
- label: u.secondLast,
112
+ label: m.secondLast,
123
113
  value: t.secondLastName,
124
- onInput: f("secondLastName"),
125
- placeholder: u.secondLast,
126
- disabled: o
114
+ onInput: h("secondLastName"),
115
+ placeholder: m.secondLast,
116
+ disabled: s
127
117
  }),
128
- /* @__PURE__ */ i(h, {
118
+ /* @__PURE__ */ n(f, {
129
119
  id: "curp-gender",
130
- label: u.gender,
131
- placeholder: u.genderPlaceholder,
120
+ label: m.gender,
121
+ placeholder: m.genderPlaceholder,
132
122
  value: t.gender,
133
- options: p,
134
- disabled: o,
135
- onChange: (e) => r({ gender: e }),
123
+ options: g,
124
+ disabled: s,
125
+ onChange: (e) => i({ gender: e }),
136
126
  "data-testid": "curp-gender"
137
127
  }),
138
- /* @__PURE__ */ i(g, {
128
+ /* @__PURE__ */ n(p, {
139
129
  id: "curp-birth-date",
140
- label: u.dob,
130
+ label: m.dob,
141
131
  value: t.birthDate,
142
- onInput: f("birthDate"),
132
+ onInput: h("birthDate"),
143
133
  max: (/* @__PURE__ */ new Date()).toISOString().split("T")[0],
144
- placeholder: l("curp.placeholder.dob") ?? "mm/dd/yyyy",
145
- disabled: o,
134
+ placeholder: u("curp.placeholder.dob") ?? "mm/dd/yyyy",
135
+ disabled: s,
146
136
  "data-testid": "curp-birth-date"
147
137
  }),
148
- /* @__PURE__ */ i(h, {
138
+ /* @__PURE__ */ n(f, {
149
139
  id: "curp-birth-state",
150
- label: u.birthState,
151
- placeholder: u.statePlaceholder,
140
+ label: m.birthState,
141
+ placeholder: m.statePlaceholder,
152
142
  value: t.birthState,
153
- options: _,
154
- disabled: o,
155
- onChange: (e) => r({ birthState: e }),
143
+ options: v,
144
+ disabled: s,
145
+ onChange: (e) => i({ birthState: e }),
156
146
  "data-testid": "curp-birth-state",
157
147
  searchable: !0
158
148
  }),
159
- /* @__PURE__ */ i(s, { size: 16 }),
160
- /* @__PURE__ */ i(d, {
149
+ /* @__PURE__ */ n(a, { size: 16 }),
150
+ /* @__PURE__ */ n(c, {
161
151
  type: "button",
162
- onClick: a,
163
- disabled: !n || o,
152
+ onClick: o,
153
+ disabled: !r || s,
164
154
  "data-testid": "curp-generate",
165
- children: u.generate
155
+ children: m.generate
166
156
  })
167
157
  ]
168
158
  });
169
- }, C = ({ config: n, onFinish: r, onError: o }) => {
170
- let { t: l } = e(), [h, g] = a(() => {
171
- if (!n) throw Error("CURP validation config is required");
172
- return v({ config: n });
159
+ }, b = ({ config: i, onFinish: f, onError: p }) => {
160
+ let { t: m } = e(), [_, b] = r(() => {
161
+ if (!i) throw Error("CURP validation config is required");
162
+ return g({ config: i });
173
163
  });
174
- if (h.status === "idle" || h.status === "loading" || h.status === "verifying" || h.status === "generating") return /* @__PURE__ */ i(u, { spinnerConfig: { title: h.status === "generating" ? l("curp.status.generating") ?? "Generating..." : l("curp.status.verifying") ?? "Verifying..." } });
175
- if (h.status === "enterCurp") return /* @__PURE__ */ i(c, {
164
+ if (_.status === "idle" || _.status === "loading" || _.status === "verifying" || _.status === "generating") return /* @__PURE__ */ n(s, { spinnerConfig: { title: _.status === "generating" ? m("curp.status.generating") ?? "Generating..." : m("curp.status.verifying") ?? "Verifying..." } });
165
+ if (_.status === "enterCurp") return /* @__PURE__ */ n(o, {
176
166
  className: "IncodeCurpValidationPage",
177
- title: l("curp.enterCurp") ?? "Enter your CURP",
178
- children: /* @__PURE__ */ i(x, {
179
- curp: h.curp,
180
- isValid: h.isValid,
181
- onCurpChange: (e) => g.setCurp(e),
182
- onVerify: () => g.verify(),
183
- onSwitchToGenerate: () => g.switchToGenerate(),
184
- placeholder: l("curp.placeholder.curp") ?? "CURP",
185
- continueLabel: l("curp.continue") ?? "Continue",
186
- dontHaveLabel: l("curp.dontHave") ?? "I don't have my CURP"
167
+ title: m("curp.enterCurp") ?? "Enter your CURP",
168
+ children: /* @__PURE__ */ n(v, {
169
+ curp: _.curp,
170
+ isValid: _.isValid,
171
+ onCurpChange: (e) => b.setCurp(e),
172
+ onVerify: () => b.verify(),
173
+ onSwitchToGenerate: () => b.switchToGenerate(),
174
+ placeholder: m("curp.placeholder.curp") ?? "CURP",
175
+ continueLabel: m("curp.continue") ?? "Continue",
176
+ dontHaveLabel: m("curp.dontHave") ?? "I don't have my CURP"
187
177
  })
188
178
  });
189
- if (h.status === "generateCurp") return /* @__PURE__ */ i(c, {
179
+ if (_.status === "generateCurp") return /* @__PURE__ */ n(o, {
190
180
  className: "IncodeCurpValidationPage",
191
- title: l("curp.generate") ?? "Generate your CURP",
192
- children: /* @__PURE__ */ i(S, {
193
- form: h.form,
194
- isValid: h.isValid,
195
- onFormChange: (e) => g.setGenerateForm(e),
196
- onGenerate: () => g.generate()
181
+ title: m("curp.generate") ?? "Generate your CURP",
182
+ children: /* @__PURE__ */ n(y, {
183
+ form: _.form,
184
+ isValid: _.isValid,
185
+ onFormChange: (e) => b.setGenerateForm(e),
186
+ onGenerate: () => b.generate()
197
187
  })
198
188
  });
199
- if (h.status === "confirmCurp") return /* @__PURE__ */ i(c, {
189
+ if (_.status === "confirmCurp") return /* @__PURE__ */ n(o, {
200
190
  className: "IncodeCurpValidationPage",
201
- title: l("curp.status.confirm") ?? "Confirm your CURP",
202
- children: /* @__PURE__ */ i("div", {
191
+ title: m("curp.status.confirm") ?? "Confirm your CURP",
192
+ children: /* @__PURE__ */ n("div", {
203
193
  class: "IncodeCurpValidation IncodeCurpConfirm",
204
194
  children: [
205
- /* @__PURE__ */ i(m, {
195
+ /* @__PURE__ */ n(d, {
206
196
  id: "curp-confirm-input",
207
- value: h.curp,
197
+ value: _.curp,
208
198
  readOnly: !0,
209
- "aria-label": l("curp.status.generatedCurp") ?? "Generated CURP",
199
+ "aria-label": m("curp.status.generatedCurp") ?? "Generated CURP",
210
200
  "data-testid": "curp-confirm-input"
211
201
  }),
212
- /* @__PURE__ */ i(s, {}),
213
- /* @__PURE__ */ i(d, {
202
+ /* @__PURE__ */ n(a, {}),
203
+ /* @__PURE__ */ n(c, {
214
204
  type: "button",
215
- onClick: () => g.confirmGenerated(),
205
+ onClick: () => b.confirmGenerated(),
216
206
  "data-testid": "curp-confirm",
217
- children: l("curp.continue") ?? "Continue"
207
+ children: m("curp.continue") ?? "Continue"
218
208
  })
219
209
  ]
220
210
  })
221
211
  });
222
- if (h.status === "success") return /* @__PURE__ */ i(c, {
212
+ if (_.status === "success") return /* @__PURE__ */ n(o, {
223
213
  className: "IncodeCurpValidationPage",
224
- children: /* @__PURE__ */ i("div", {
214
+ children: /* @__PURE__ */ n("div", {
225
215
  class: "IncodeCurpValidation IncodeCurpSuccess",
226
216
  children: [
227
- /* @__PURE__ */ i(p, { size: 64 }),
228
- /* @__PURE__ */ i(s, { size: 16 }),
229
- /* @__PURE__ */ i(b, {
217
+ /* @__PURE__ */ n(u, { size: 64 }),
218
+ /* @__PURE__ */ n(a, { size: 16 }),
219
+ /* @__PURE__ */ n(h, {
230
220
  className: "IncodeCurpSuccessTitle",
231
- children: l("curp.status.verified") ?? "Verified"
221
+ children: m("curp.status.verified") ?? "Verified"
232
222
  })
233
223
  ]
234
224
  })
235
225
  });
236
- if (h.status === "failure" || h.status === "generateError") {
237
- let e = h.retriesLeft > 0, n = h.status === "failure" ? l("curp.status.notVerified") ?? "Not verified" : l("curp.status.couldntGenerate") ?? "Couldn't generate CURP";
238
- return /* @__PURE__ */ i(c, {
226
+ if (_.status === "failure" || _.status === "generateError") {
227
+ let e = _.retriesLeft > 0, r = _.status === "failure" ? m("curp.status.notVerified") ?? "Not verified" : m("curp.status.couldntGenerate") ?? "Couldn't generate CURP";
228
+ return /* @__PURE__ */ n(o, {
239
229
  className: "IncodeCurpValidationPage",
240
- children: /* @__PURE__ */ i("div", {
230
+ children: /* @__PURE__ */ n("div", {
241
231
  class: "IncodeCurpValidation IncodeCurpFailure",
242
232
  children: [
243
- /* @__PURE__ */ i(s, {}),
244
- /* @__PURE__ */ i(f, { size: 64 }),
245
- /* @__PURE__ */ i(s, { size: 16 }),
246
- /* @__PURE__ */ i(b, {
233
+ /* @__PURE__ */ n(a, {}),
234
+ /* @__PURE__ */ n(l, { size: 64 }),
235
+ /* @__PURE__ */ n(a, { size: 16 }),
236
+ /* @__PURE__ */ n(h, {
247
237
  className: "IncodeCurpFailureTitle",
248
- children: n
238
+ children: r
249
239
  }),
250
- h.status === "generateError" && e && /* @__PURE__ */ i(t, { children: [/* @__PURE__ */ i(s, { size: 12 }), /* @__PURE__ */ i("p", {
240
+ _.status === "generateError" && e && /* @__PURE__ */ n(t, { children: [/* @__PURE__ */ n(a, { size: 12 }), /* @__PURE__ */ n("p", {
251
241
  class: "IncodeCurpFailureHint",
252
242
  role: "alert",
253
- children: l("curp.status.checkInfo") ?? "Please check your information"
243
+ children: m("curp.status.checkInfo") ?? "Please check your information"
254
244
  })] }),
255
- /* @__PURE__ */ i(s, {}),
256
- e && /* @__PURE__ */ i(t, { children: /* @__PURE__ */ i(d, {
245
+ /* @__PURE__ */ n(a, {}),
246
+ e && /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n(c, {
257
247
  type: "button",
258
- onClick: () => g.retry(),
248
+ onClick: () => b.retry(),
259
249
  "data-testid": "curp-retry",
260
- children: h.status === "failure" ? l("curp.status.tryAgain") ?? "Try again" : l("curp.status.edit") ?? "Edit information"
250
+ children: _.status === "failure" ? m("curp.status.tryAgain") ?? "Try again" : m("curp.status.edit") ?? "Edit information"
261
251
  }) })
262
252
  ]
263
253
  })
264
254
  });
265
255
  }
266
- return h.status === "finished" ? (r?.(), null) : (h.status === "closed" && o?.(void 0), null);
267
- }, w = ({ config: e, onFinish: t, onError: n }) => /* @__PURE__ */ i(o, { children: e ? /* @__PURE__ */ i(C, {
256
+ return _.status === "finished" ? (f?.(), null) : (_.status === "closed" && p?.(void 0), null);
257
+ }, x = ({ config: e, onFinish: t, onError: r }) => /* @__PURE__ */ n(i, { children: e ? /* @__PURE__ */ n(b, {
268
258
  config: e,
269
259
  onFinish: t,
270
- onError: n
260
+ onError: r
271
261
  }) : null });
272
- _(w, "incode-curp-validation");
262
+ m(x, "incode-curp-validation");
273
263
  //#endregion
274
- export { w as CurpValidation };
264
+ export { x as CurpValidation };
@@ -1,7 +1,7 @@
1
- import { n as e } from "./i18n-D6pCC7RL.js";
1
+ import { n as e } from "./i18n-BnVa5Y-_.js";
2
2
  import { _ as t, l as n, p as r, v as i } from "./vendor-preact-D6SntenC.js";
3
3
  import { i as a } from "./hooks-K-ks8TCv.js";
4
- import { t as o } from "./incodeComponent-Brc9IhMv.js";
4
+ import { t as o } from "./incodeComponent-Cx36DgvY.js";
5
5
  import { t as s } from "./spacer-DCljE53A.js";
6
6
  import { t as c } from "./page-D5Mt-0zn.js";
7
7
  import { t as l } from "./loadingIcon-wTrHZMGC.js";
@@ -11,7 +11,7 @@ import { t as f } from "./inputComposed-28d14HXP.js";
11
11
  import { t as p } from "./checkbox-B35BL_3X.js";
12
12
  import { t as m } from "./dateInputComposed-CVqyqQIV.js";
13
13
  import { t as h } from "./incodeModule-BH9gV7jI.js";
14
- import { t as g } from "./statusPage-BUwzSiOq.js";
14
+ import { t as g } from "./statusPage-VScoN9zO.js";
15
15
  import { createCustomFieldsManager as _ } from "@incodetech/core/custom-fields";
16
16
  //#region src/modules/custom-fields/customFields.tsx
17
17
  var v = {
@@ -1,11 +1,11 @@
1
- import { n as e } from "./i18n-D6pCC7RL.js";
1
+ import { n as e } from "./i18n-BnVa5Y-_.js";
2
2
  import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
3
3
  import { i } from "./hooks-K-ks8TCv.js";
4
- import { t as a } from "./incodeComponent-Brc9IhMv.js";
4
+ import { t as a } from "./incodeComponent-Cx36DgvY.js";
5
5
  import { t as o } from "./loadingIcon-wTrHZMGC.js";
6
6
  import { t as s } from "./successIcon-SlKgTSty.js";
7
7
  import { t as c } from "./incodeModule-BH9gV7jI.js";
8
- import { t as l } from "./statusPage-BUwzSiOq.js";
8
+ import { t as l } from "./statusPage-VScoN9zO.js";
9
9
  import { createCustomWatchlistManager as u } from "@incodetech/core/custom-watchlist";
10
10
  //#region src/modules/custom-watchlist/customWatchlist.tsx
11
11
  var d = ({ onFinish: a }) => {
@@ -1,16 +1,16 @@
1
- import { n as e } from "./i18n-D6pCC7RL.js";
1
+ import { n as e } from "./i18n-BnVa5Y-_.js";
2
2
  import { S as t, _ as n, h as r, l as i, m as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
3
3
  import { i as c, t as l } from "./hooks-K-ks8TCv.js";
4
- import { t as u } from "./incodeComponent-Brc9IhMv.js";
4
+ import { t as u } from "./incodeComponent-Cx36DgvY.js";
5
5
  import { t as d } from "./spacer-DCljE53A.js";
6
6
  import { t as f } from "./page-D5Mt-0zn.js";
7
- import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-04gn7mbK.js";
7
+ import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-BMC0aVBo.js";
8
8
  import { n as b } from "./loadingIcon-wTrHZMGC.js";
9
9
  import { t as x } from "./spinner-CNteWaxs.js";
10
10
  import { t as S } from "./button-4-ToV5B_.js";
11
11
  import { a as C, p as w, r as T } from "./icons-BtdVuyUn.js";
12
12
  import { t as E } from "./successIcon-SlKgTSty.js";
13
- import { o as D } from "./tutorial-BhssZo_c.js";
13
+ import { o as D } from "./tutorial-DhSymWQF.js";
14
14
  import { t as O } from "./bottomSheet-BXIzn-hy.js";
15
15
  import { t as k } from "./incodeModule-BH9gV7jI.js";
16
16
  import { createDocumentCaptureManager as A } from "@incodetech/core/document-capture";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../ekybModule-BPRBKuYr.js";
1
+ import { t as e } from "../ekybModule-z3H1-0-x.js";
2
2
  export { e as EkybModule };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./ekybModule-z3H1-0-x.js";
2
+ export { e as EkybModule };
@@ -1,17 +1,17 @@
1
- import { n as e } from "./i18n-D6pCC7RL.js";
1
+ import { n as e } from "./i18n-BnVa5Y-_.js";
2
2
  import { S as t, _ as n, d as r, h as i, l as a, p as o, v as s } from "./vendor-preact-D6SntenC.js";
3
3
  import { i as c, n as l } from "./hooks-K-ks8TCv.js";
4
- import { t as u } from "./incodeComponent-Brc9IhMv.js";
4
+ import { t as u } from "./incodeComponent-Cx36DgvY.js";
5
5
  import { t as d } from "./page-D5Mt-0zn.js";
6
6
  import { t as f } from "./spinner-CNteWaxs.js";
7
7
  import { t as p } from "./button-4-ToV5B_.js";
8
- import { t as m } from "./verificationResult-BvUseXrX.js";
8
+ import { t as m } from "./verificationResult-BInhP13F.js";
9
9
  import { t as h } from "./inputComposed-28d14HXP.js";
10
- import { n as g, t as _ } from "./formField-Dd_Dm10q.js";
10
+ import { n as g, t as _ } from "./formField-Dr_wRS1M.js";
11
11
  import { t as v } from "./dropdownComposed-z3-qcyhl.js";
12
12
  import { t as y } from "./incodeModule-BH9gV7jI.js";
13
- import { n as b, t as x } from "./optionAccessibleLabel-C-o7iprc.js";
14
- import { t as S } from "./countrySelector-CMhg2XLf.js";
13
+ import { n as b, t as x } from "./optionAccessibleLabel-DmTGZ8Yn.js";
14
+ import { t as S } from "./countrySelector-CgUcwTFy.js";
15
15
  import { computeEkybDisplayErrors as C, createEkybManager as w } from "@incodetech/core/ekyb";
16
16
  //#region src/modules/ekyb/fieldInput.tsx
17
17
  var T = ({ field: t, value: n, error: r, errorParams: i, country: a, onChange: o, onBlur: c }) => {
@@ -1,2 +1,2 @@
1
- import { t as e } from "../ekycModule-QU1NKDFR.js";
1
+ import { t as e } from "../ekycModule-D_-Rs3dt.js";
2
2
  export { e as EkycModule };
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./ekycModule-D_-Rs3dt.js";
2
+ export { e as EkycModule };