@incodetech/web 0.0.0-dev-20260403-eccc51c → 0.0.0-dev-20260407-4580f1c

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 (162) hide show
  1. package/dist/AsYouType-DPWqJvFu.js +2482 -0
  2. package/dist/addressAutocomplete-B3f6PGTT.js +108 -0
  3. package/dist/aligndevicelottie-C9xl1spu.js +12757 -0
  4. package/dist/antifraud/antifraud.es.js +17 -18
  5. package/dist/antifraud/styles.css +1 -1
  6. package/dist/authentication/authentication.es.js +28 -50
  7. package/dist/back-horizontal-hint-Be3dUGk6.js +137 -0
  8. package/dist/back-tutorial-BNTyW-1N.js +14584 -0
  9. package/dist/back-vertical-hint-Bz_rnhd-.js +128 -0
  10. package/dist/backdevicelottie-DBB1YCtW.js +16678 -0
  11. package/dist/base.css +327 -67
  12. package/dist/blurdevicelottie-9WvZCZ6C.js +15939 -0
  13. package/dist/browser-ponyfill-B4Qc6yfW.js +299 -0
  14. package/dist/button-DhL5eRT3.js +123 -0
  15. package/dist/checkbox-l8NxPf4o.js +85 -0
  16. package/dist/consent/consent.es.js +82 -89
  17. package/dist/consent/styles.css +1 -1
  18. package/dist/countries-y2ydYDhN.js +8323 -0
  19. package/dist/curp-validation/curp-validation.es.js +271 -313
  20. package/dist/curp-validation/styles.css +1 -1
  21. package/dist/dateInputComposed-B9WqdYx9.js +2 -0
  22. package/dist/dateInputComposed-ndsGHX1M.js +94 -0
  23. package/dist/defineProperty-brqHEHA_.js +39 -0
  24. package/dist/document-capture/styles.css +1 -1
  25. package/dist/documentCapture-wDgRLdon.js +784 -0
  26. package/dist/dropdownComposed-_Ey7wJNG.js +258 -0
  27. package/dist/ekyb/ekyb.es.js +2 -0
  28. package/dist/ekyb/styles.css +1 -1
  29. package/dist/ekybModule-BBOm1y49.js +2 -0
  30. package/dist/ekybModule-fz6i9ZRt.js +286 -0
  31. package/dist/ekyc/ekyc.es.js +2 -0
  32. package/dist/ekyc/styles.css +1 -1
  33. package/dist/ekycModule-SeTFG3AJ.js +233 -0
  34. package/dist/ekycModule-hxIcNX8n.js +2 -0
  35. package/dist/email/email.es.js +110 -154
  36. package/dist/email/styles.css +1 -1
  37. package/dist/extensibility-DJihqIzM.js +2248 -0
  38. package/dist/extensibility.es.js +22 -150
  39. package/dist/face-match/styles.css +147 -73
  40. package/dist/faceMatch-DH8sLx34.js +191 -0
  41. package/dist/flip-animation-DOJzdXB-.js +6983 -0
  42. package/dist/flow/flow.es.js +2273 -2613
  43. package/dist/flow/styles.css +432 -73
  44. package/dist/formField-BRTbY8w9.js +100 -0
  45. package/dist/front-horizontal-hint-aGAhadA2.js +380 -0
  46. package/dist/front-vertical-hint-DZz1VeNp.js +420 -0
  47. package/dist/frontdevicelottie-DadDp6be.js +17302 -0
  48. package/dist/geolocation/geolocation.es.js +852 -832
  49. package/dist/geolocation/styles.css +1 -1
  50. package/dist/glaredevicelottie-BfI84cPw.js +14466 -0
  51. package/dist/governmentValidation/governmentValidation.es.js +100 -106
  52. package/dist/governmentValidation/styles.css +1 -1
  53. package/dist/i18n-DZOHbK9q.js +1916 -0
  54. package/dist/icons-BHbofCgJ.js +245 -0
  55. package/dist/id/id.es.js +53 -59
  56. package/dist/id/styles.css +1 -1
  57. package/dist/id-laser-h-BWyU3VgL.js +467 -0
  58. package/dist/id-laser-v-JiWXUlv0.js +467 -0
  59. package/dist/id-tutorial-Cc9xg5_J.js +13152 -0
  60. package/dist/incodeModule-Bf6yJ8RB.js +18 -0
  61. package/dist/index.es.js +4 -25
  62. package/dist/inputComposed-BhbfD8Ru.js +77 -0
  63. package/dist/loadingIcon-CeQt7Zgb.js +146 -0
  64. package/dist/mandatoryConsent-LBS8E0rj.js +101 -0
  65. package/dist/numberedStep-CQVRixRP.js +11 -0
  66. package/dist/otpInput-CDIG9el7.js +143 -0
  67. package/dist/page-SvlJWUfz.js +61 -0
  68. package/dist/passport-horizontal-hint-CFsGs7Dp.js +293 -0
  69. package/dist/passport-tutorial-z0LN7Hsp.js +11688 -0
  70. package/dist/passport-vertical-hint-BnCpKWeN.js +267 -0
  71. package/dist/phone/phone.es.js +87 -121
  72. package/dist/phone/styles.css +1 -1
  73. package/dist/phoneInput-C9T_8FJt.js +138 -0
  74. package/dist/phoneInputComposed-B-0zieIW.js +407 -0
  75. package/dist/processing-B5zhNH6I.js +15 -0
  76. package/dist/redirect-to-mobile/styles.css +1 -1
  77. package/dist/richText-Db0PfpkE.js +1973 -0
  78. package/dist/rolldown-runtime-CjdbFOpI.js +13 -0
  79. package/dist/selfie/selfie.es.js +29 -50
  80. package/dist/selfie/styles.css +170 -66
  81. package/dist/selfieTutorial-B0MIyPrk.js +2676 -0
  82. package/dist/setup-Dq2bzNKH.js +15 -0
  83. package/dist/signature/signature.es.js +557 -707
  84. package/dist/signature/styles.css +1 -1
  85. package/dist/spacer-DCljE53A.js +59 -0
  86. package/dist/spinner-Bk0YuoLu.js +1 -0
  87. package/dist/spinner-snIGzmm8.js +41 -0
  88. package/dist/successIcon-AHrfmJvv.js +17 -0
  89. package/dist/tutorial-DNOd11tg.js +2780 -0
  90. package/dist/types/ekyb.d.ts +29 -0
  91. package/dist/types/ekyc.d.ts +29 -0
  92. package/dist/types/index.d.ts +0 -8
  93. package/dist/typography-BNbFNFek.js +1 -0
  94. package/dist/typography-DvHeVWfY.js +29 -0
  95. package/dist/uiConfig-CwpQ-IM6.js +20 -0
  96. package/dist/vendor-preact-D6SntenC.js +958 -0
  97. package/dist/warningIcon-Cvj-ayg1.js +17 -0
  98. package/package.json +8 -11
  99. package/dist/AsYouType-D1H_js4X.js +0 -2607
  100. package/dist/Trans-aTzdT_SA.js +0 -55
  101. package/dist/addressAutocomplete-C8-wL1j_.js +0 -153
  102. package/dist/aligndevicelottie-DlQCRPfM.js +0 -29
  103. package/dist/back-horizontal-hint-CSlf9KI1.js +0 -5
  104. package/dist/back-tutorial-An9AcMSe.js +0 -29
  105. package/dist/back-vertical-hint-CNieqiCr.js +0 -5
  106. package/dist/backdevicelottie-B4NgyWmX.js +0 -29
  107. package/dist/blurdevicelottie-_BZRug1c.js +0 -29
  108. package/dist/browser-ponyfill-B6W6hHVY.js +0 -344
  109. package/dist/button-CE9kRlem.js +0 -184
  110. package/dist/cameraView-C2X7klNb.js +0 -55
  111. package/dist/captureOverlay-tCb4R4WE.js +0 -592
  112. package/dist/checkbox-B5X-mfqq.js +0 -137
  113. package/dist/chevronDown-DSHaPKbi.js +0 -23
  114. package/dist/closeIcon-9Hc97omv.js +0 -28
  115. package/dist/countries-DfLkrF0x.js +0 -616
  116. package/dist/dateInputComposed-C7PCzh-U.js +0 -173
  117. package/dist/documentCapture-C0mO-RGE.js +0 -692
  118. package/dist/dropdownComposed-BpinYlrx.js +0 -367
  119. package/dist/ekybModule-Dr6LJUg-.js +0 -357
  120. package/dist/ekycModule-C3mswduI.js +0 -291
  121. package/dist/errorContent-Cb8nmQAE.js +0 -44
  122. package/dist/errorIcon-DEARBrGx.js +0 -26
  123. package/dist/faceMatch-DbDp7D3d.js +0 -237
  124. package/dist/fileIcon-CCSvS10T.js +0 -52
  125. package/dist/flip-animation-COR596wy.js +0 -29
  126. package/dist/flipAnimation-BqV462TA.js +0 -2059
  127. package/dist/formField-CP6wDdfA.js +0 -106
  128. package/dist/front-horizontal-hint-lRLKd7vY.js +0 -7
  129. package/dist/front-vertical-hint-qQoJXRE3.js +0 -7
  130. package/dist/frontdevicelottie-KhKxT5n9.js +0 -29
  131. package/dist/glaredevicelottie-DLuIStvb.js +0 -29
  132. package/dist/id-laser-h-BBV3r3rz.js +0 -29
  133. package/dist/id-laser-v-BTHJaSfx.js +0 -29
  134. package/dist/id-tutorial-B-F5Q28m.js +0 -29
  135. package/dist/incodeModule-C4XIllao.js +0 -96
  136. package/dist/inputComposed-fUbAGrDy.js +0 -103
  137. package/dist/instance-BWYzq8dk.js +0 -2163
  138. package/dist/loadingIcon-DmuPXh70.js +0 -195
  139. package/dist/mandatoryConsent-5xPI0cor.js +0 -94
  140. package/dist/manualCaptureButton-BvFmTyJe.js +0 -372
  141. package/dist/numberedStep-DwUB__mh.js +0 -5
  142. package/dist/otpInput-BFXhqFRT.js +0 -156
  143. package/dist/page-SrUl0qtN.js +0 -69
  144. package/dist/passport-horizontal-hint-BCtpMp1Y.js +0 -5
  145. package/dist/passport-tutorial-CaYBFTqt.js +0 -29
  146. package/dist/passport-vertical-hint-GaLnzqHP.js +0 -5
  147. package/dist/permissions-DT4Fz9MR.js +0 -709
  148. package/dist/phoneInput-CGr8TxOO.js +0 -158
  149. package/dist/phoneInputComposed-Cm9O2Jba.js +0 -206
  150. package/dist/processing-szVOCQwZ.js +0 -19
  151. package/dist/richText-cspvNz2a.js +0 -1807
  152. package/dist/selfieTutorial-Dm_p0ke9.js +0 -29
  153. package/dist/spinner-DygONskw.js +0 -60
  154. package/dist/successIcon-Bjsdc4lF.js +0 -26
  155. package/dist/tutorial-Cdz1025D.js +0 -473
  156. package/dist/types/ekyb/styles.d.ts +0 -1
  157. package/dist/types/ekyc/styles.d.ts +0 -1
  158. package/dist/typography-BDACYR5i.js +0 -14
  159. package/dist/uiConfig-Dnt-2YWB.js +0 -23
  160. package/dist/useMediaQuery-lJdQBmC2.js +0 -18
  161. package/dist/vendor-preact-BoMmvSgn.js +0 -694
  162. package/dist/warningIcon-DQq_MrOB.js +0 -26
@@ -1,89 +1,82 @@
1
- import { u as e, I as u, b as C, a as h } from "../loadingIcon-DmuPXh70.js";
2
- import { createConsentManager as g } from "@incodetech/core/consent";
3
- import "../instance-BWYzq8dk.js";
4
- import "../vendor-preact-BoMmvSgn.js";
5
- import "@incodetech/core";
6
- import { C as p } from "../checkbox-B5X-mfqq.js";
7
- import { P as d } from "../page-SrUl0qtN.js";
8
- import { S as f } from "../spinner-DygONskw.js";
9
- import { R as l } from "../richText-cspvNz2a.js";
10
- import { r as I } from "../incodeModule-C4XIllao.js";
11
- import { B as b } from "../button-CE9kRlem.js";
12
- const T = ({
13
- config: o,
14
- manager: s,
15
- onFinish: r,
16
- onError: i
17
- }) => {
18
- const { t: m } = C(), [n, a] = h(
19
- () => {
20
- if (s) return s;
21
- if (!o)
22
- throw new Error("Consent config is required");
23
- return g({ config: o });
24
- },
25
- { manageLifecycle: !s }
26
- );
27
- return n.status === "finished" ? (r?.(), null) : n.status === "error" ? (i?.(n.error), null) : n.status === "idle" || n.status === "loading" ? /* @__PURE__ */ e(d, { className: "IncodeConsentPage", children: /* @__PURE__ */ e("div", { class: "IncodeConsentCentered", children: /* @__PURE__ */ e(f, {}) }) }) : /* @__PURE__ */ e(d, { className: "IncodeConsentPage", hideFooterBranding: !0, hideHeader: !0, children: /* @__PURE__ */ e("div", { class: "IncodeConsentContent", children: [
28
- /* @__PURE__ */ e("div", { class: "IncodeConsentBody", children: [
29
- /* @__PURE__ */ e("h1", { class: "IncodeConsentTitle", children: n.title }),
30
- /* @__PURE__ */ e(l, { content: n.richText, class: "IncodeRichText" }),
31
- /* @__PURE__ */ e("div", { class: "IncodeConsentCheckboxList", children: n.checkboxes.map((t) => /* @__PURE__ */ e(
32
- p,
33
- {
34
- id: `consent-checkbox-${t.id}`,
35
- class: "IncodeConsentCheckbox",
36
- size: "s",
37
- checked: t.checked,
38
- required: t.required,
39
- onChange: () => a.toggleCheckbox(t.id),
40
- label: /* @__PURE__ */ e(
41
- "span",
42
- {
43
- class: "IncodeConsentCheckboxLabel",
44
- onClick: (c) => {
45
- c.target.closest("a") && c.stopPropagation();
46
- },
47
- children: /* @__PURE__ */ e(
48
- l,
49
- {
50
- content: t.label,
51
- class: "IncodeRichText",
52
- disallowedTags: ["img"]
53
- }
54
- )
55
- }
56
- )
57
- },
58
- t.id
59
- )) })
60
- ] }),
61
- /* @__PURE__ */ e(
62
- b,
63
- {
64
- "data-testid": "consent-submit",
65
- onClick: () => a.submit(),
66
- disabled: !n.canSubmit,
67
- isLoading: n.status === "submitting",
68
- children: m("biometricConsent.button.continue")
69
- }
70
- )
71
- ] }) });
72
- }, k = ({
73
- config: o,
74
- manager: s,
75
- onFinish: r,
76
- onError: i
77
- }) => /* @__PURE__ */ e(u, { children: o ? /* @__PURE__ */ e(
78
- T,
79
- {
80
- config: o,
81
- manager: s,
82
- onFinish: r,
83
- onError: i
84
- }
85
- ) : null });
86
- I(k, "incode-consent");
87
- export {
88
- k as Consent
89
- };
1
+ import { n as e } from "../i18n-DZOHbK9q.js";
2
+ import { v as t } from "../vendor-preact-D6SntenC.js";
3
+ import { c as n, r } from "../loadingIcon-CeQt7Zgb.js";
4
+ import { t as i } from "../button-DhL5eRT3.js";
5
+ import { t as a } from "../page-SvlJWUfz.js";
6
+ import { t as o } from "../spinner-snIGzmm8.js";
7
+ import "../spinner-Bk0YuoLu.js";
8
+ import { t as s } from "../checkbox-l8NxPf4o.js";
9
+ import { t as c } from "../incodeModule-Bf6yJ8RB.js";
10
+ import { t as l } from "../richText-Db0PfpkE.js";
11
+ import { createConsentManager as u } from "@incodetech/core/consent";
12
+ //#region src/modules/consent/consent.tsx
13
+ var d = ({ config: r, manager: c, onFinish: d, onError: f }) => {
14
+ let { t: p } = e(), [m, h] = n(() => {
15
+ if (c) return c;
16
+ if (!r) throw Error("Consent config is required");
17
+ return u({ config: r });
18
+ }, { manageLifecycle: !c });
19
+ return m.status === "finished" ? (d?.(), null) : m.status === "error" ? (f?.(m.error), null) : m.status === "idle" || m.status === "loading" ? /* @__PURE__ */ t(a, {
20
+ className: "IncodeConsentPage",
21
+ children: /* @__PURE__ */ t("div", {
22
+ class: "IncodeConsentCentered",
23
+ children: /* @__PURE__ */ t(o, {})
24
+ })
25
+ }) : /* @__PURE__ */ t(a, {
26
+ className: "IncodeConsentPage",
27
+ hideFooterBranding: !0,
28
+ hideHeader: !0,
29
+ children: /* @__PURE__ */ t("div", {
30
+ class: "IncodeConsentContent",
31
+ children: [/* @__PURE__ */ t("div", {
32
+ class: "IncodeConsentBody",
33
+ children: [
34
+ /* @__PURE__ */ t("h1", {
35
+ class: "IncodeConsentTitle",
36
+ children: m.title
37
+ }),
38
+ /* @__PURE__ */ t(l, {
39
+ content: m.richText,
40
+ class: "IncodeRichText"
41
+ }),
42
+ /* @__PURE__ */ t("div", {
43
+ class: "IncodeConsentCheckboxList",
44
+ children: m.checkboxes.map((e) => /* @__PURE__ */ t(s, {
45
+ id: `consent-checkbox-${e.id}`,
46
+ class: "IncodeConsentCheckbox",
47
+ size: "s",
48
+ checked: e.checked,
49
+ required: e.required,
50
+ onChange: () => h.toggleCheckbox(e.id),
51
+ label: /* @__PURE__ */ t("span", {
52
+ class: "IncodeConsentCheckboxLabel",
53
+ onClick: (e) => {
54
+ e.target.closest("a") && e.stopPropagation();
55
+ },
56
+ children: /* @__PURE__ */ t(l, {
57
+ content: e.label,
58
+ class: "IncodeRichText",
59
+ disallowedTags: ["img"]
60
+ })
61
+ })
62
+ }, e.id))
63
+ })
64
+ ]
65
+ }), /* @__PURE__ */ t(i, {
66
+ "data-testid": "consent-submit",
67
+ onClick: () => h.submit(),
68
+ disabled: !m.canSubmit,
69
+ isLoading: m.status === "submitting",
70
+ children: p("biometricConsent.button.continue")
71
+ })]
72
+ })
73
+ });
74
+ }, f = ({ config: e, manager: n, onFinish: i, onError: a }) => /* @__PURE__ */ t(r, { children: e ? /* @__PURE__ */ t(d, {
75
+ config: e,
76
+ manager: n,
77
+ onFinish: i,
78
+ onError: a
79
+ }) : null });
80
+ c(f, "incode-consent");
81
+ //#endregion
82
+ export { f as Consent };
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
2
2
  .IncodeConsentPage {
3
3
  height: 100%;
4
4
  }