@incodetech/web 0.0.0-dev-20260407-2c382da → 0.0.0-dev-20260407-4ad99b2

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 (168) hide show
  1. package/dist/AsYouType-DPWqJvFu.js +2482 -0
  2. package/dist/addressAutocomplete-CBzoHoW9.js +108 -0
  3. package/dist/aligndevicelottie-CNDsPYQN.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-MiFu_m6H.js +137 -0
  8. package/dist/back-tutorial-DSdhUiQZ.js +14584 -0
  9. package/dist/back-vertical-hint-Bw2R1BlC.js +128 -0
  10. package/dist/backdevicelottie-BalN8L5r.js +16678 -0
  11. package/dist/base.css +327 -67
  12. package/dist/blurdevicelottie-CrlN0qkw.js +15939 -0
  13. package/dist/browser-ponyfill-D_Rk2rtm.js +299 -0
  14. package/dist/button-CvmwU24d.js +123 -0
  15. package/dist/checkbox-CWPSn_4A.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-C1PvcfrF.js +94 -0
  22. package/dist/dateInputComposed-CqZOvSWe.js +2 -0
  23. package/dist/defineProperty-brqHEHA_.js +39 -0
  24. package/dist/document-capture/styles.css +1 -1
  25. package/dist/documentCapture-CsYqqtaj.js +784 -0
  26. package/dist/dropdownComposed-Cf-kaR9r.js +258 -0
  27. package/dist/ekyb/ekyb.es.js +2 -0
  28. package/dist/ekyb/styles.css +1 -1
  29. package/dist/ekybModule-BFnH4wjX.js +2 -0
  30. package/dist/ekybModule-COEu8Pg8.js +286 -0
  31. package/dist/ekyc/ekyc.es.js +2 -0
  32. package/dist/ekyc/styles.css +1 -1
  33. package/dist/ekycModule-B1p3nVjs.js +2 -0
  34. package/dist/ekycModule-B2r6CklE.js +233 -0
  35. package/dist/email/email.es.js +110 -154
  36. package/dist/email/styles.css +1 -1
  37. package/dist/extensibility-B19m9YzC.js +2248 -0
  38. package/dist/extensibility.es.js +22 -150
  39. package/dist/face-match/face-match.es.js +2 -0
  40. package/dist/face-match/styles.css +147 -73
  41. package/dist/faceMatch---wmLS2T.js +191 -0
  42. package/dist/faceMatch-Dtbnvq3v.js +2 -0
  43. package/dist/flip-animation-8hIoMIij.js +6983 -0
  44. package/dist/flow/flow.es.js +2258 -2613
  45. package/dist/flow/styles.css +432 -73
  46. package/dist/formField-_s46wq7I.js +100 -0
  47. package/dist/front-horizontal-hint-Dd3pPShE.js +380 -0
  48. package/dist/front-vertical-hint-CbcG_lg-.js +420 -0
  49. package/dist/frontdevicelottie-bH4PWKKQ.js +17302 -0
  50. package/dist/geolocation/geolocation.es.js +852 -832
  51. package/dist/geolocation/styles.css +1 -1
  52. package/dist/glaredevicelottie-DKei5chr.js +14466 -0
  53. package/dist/governmentValidation/governmentValidation.es.js +100 -106
  54. package/dist/governmentValidation/styles.css +1 -1
  55. package/dist/i18n-D5eiXGPs.js +1916 -0
  56. package/dist/icons-BHbofCgJ.js +245 -0
  57. package/dist/id/id.es.js +53 -59
  58. package/dist/id/styles.css +1 -1
  59. package/dist/id-laser-h-CBruWK_Q.js +467 -0
  60. package/dist/id-laser-v-Dg8avxTd.js +467 -0
  61. package/dist/id-tutorial-7ZMonkd5.js +13152 -0
  62. package/dist/incodeModule-Bf6yJ8RB.js +18 -0
  63. package/dist/index.es.js +4 -25
  64. package/dist/inputComposed-Bs6Axn0l.js +77 -0
  65. package/dist/loadingIcon-Bpl85Irq.js +147 -0
  66. package/dist/mandatoryConsent-B99XyHyX.js +101 -0
  67. package/dist/numberedStep-CQVRixRP.js +11 -0
  68. package/dist/otpInput-C_RRtOv3.js +143 -0
  69. package/dist/page-BYVIXVi7.js +61 -0
  70. package/dist/passport-horizontal-hint-kB92xRUa.js +293 -0
  71. package/dist/passport-tutorial-BRRX2z31.js +11688 -0
  72. package/dist/passport-vertical-hint-BCHnZ3uy.js +267 -0
  73. package/dist/phone/phone.es.js +87 -121
  74. package/dist/phone/styles.css +1 -1
  75. package/dist/phoneInput-CfIfXnWf.js +138 -0
  76. package/dist/phoneInputComposed-CxNutAID.js +407 -0
  77. package/dist/processing-C03-7kdd.js +15 -0
  78. package/dist/redirect-to-mobile/styles.css +1 -1
  79. package/dist/richText-Db0PfpkE.js +1973 -0
  80. package/dist/rolldown-runtime-CjdbFOpI.js +13 -0
  81. package/dist/selfie/selfie.es.js +29 -50
  82. package/dist/selfie/styles.css +170 -66
  83. package/dist/selfieTutorial-DzXxPKlz.js +2676 -0
  84. package/dist/setup-XFn1DaU-.js +15 -0
  85. package/dist/signature/signature.es.js +557 -707
  86. package/dist/signature/styles.css +1 -1
  87. package/dist/spacer-DCljE53A.js +59 -0
  88. package/dist/spinner-CPSD2C6O.js +1 -0
  89. package/dist/spinner-myFOTQZH.js +41 -0
  90. package/dist/successIcon-AHrfmJvv.js +17 -0
  91. package/dist/tutorial-D7xjzsMh.js +2781 -0
  92. package/dist/types/ekyb.d.ts +29 -0
  93. package/dist/types/ekyc.d.ts +29 -0
  94. package/dist/types/extensibility.d.ts +3 -5
  95. package/dist/types/face-match.d.ts +54 -0
  96. package/dist/types/flow.d.ts +1 -1
  97. package/dist/types/index.d.ts +2 -10
  98. package/dist/typography-0RNB291L.js +1 -0
  99. package/dist/typography-BJNwxFDu.js +29 -0
  100. package/dist/uiConfig-CwpQ-IM6.js +20 -0
  101. package/dist/vendor-preact-D6SntenC.js +958 -0
  102. package/dist/warningIcon-Cvj-ayg1.js +17 -0
  103. package/package.json +8 -11
  104. package/dist/AsYouType-D1H_js4X.js +0 -2607
  105. package/dist/Trans-aTzdT_SA.js +0 -55
  106. package/dist/addressAutocomplete-C8-wL1j_.js +0 -153
  107. package/dist/aligndevicelottie-DlQCRPfM.js +0 -29
  108. package/dist/back-horizontal-hint-CSlf9KI1.js +0 -5
  109. package/dist/back-tutorial-An9AcMSe.js +0 -29
  110. package/dist/back-vertical-hint-CNieqiCr.js +0 -5
  111. package/dist/backdevicelottie-B4NgyWmX.js +0 -29
  112. package/dist/blurdevicelottie-_BZRug1c.js +0 -29
  113. package/dist/browser-ponyfill-B6W6hHVY.js +0 -344
  114. package/dist/button-CE9kRlem.js +0 -184
  115. package/dist/cameraView-C2X7klNb.js +0 -55
  116. package/dist/captureOverlay-tCb4R4WE.js +0 -592
  117. package/dist/checkbox-B5X-mfqq.js +0 -137
  118. package/dist/chevronDown-DSHaPKbi.js +0 -23
  119. package/dist/closeIcon-9Hc97omv.js +0 -28
  120. package/dist/countries-DfLkrF0x.js +0 -616
  121. package/dist/dateInputComposed-C7PCzh-U.js +0 -173
  122. package/dist/documentCapture-C0mO-RGE.js +0 -692
  123. package/dist/dropdownComposed-BpinYlrx.js +0 -367
  124. package/dist/ekybModule-Dr6LJUg-.js +0 -357
  125. package/dist/ekycModule-C3mswduI.js +0 -291
  126. package/dist/errorContent-Cb8nmQAE.js +0 -44
  127. package/dist/errorIcon-DEARBrGx.js +0 -26
  128. package/dist/faceMatch-DbDp7D3d.js +0 -237
  129. package/dist/fileIcon-CCSvS10T.js +0 -52
  130. package/dist/flip-animation-COR596wy.js +0 -29
  131. package/dist/flipAnimation-BqV462TA.js +0 -2059
  132. package/dist/formField-CP6wDdfA.js +0 -106
  133. package/dist/front-horizontal-hint-lRLKd7vY.js +0 -7
  134. package/dist/front-vertical-hint-qQoJXRE3.js +0 -7
  135. package/dist/frontdevicelottie-KhKxT5n9.js +0 -29
  136. package/dist/glaredevicelottie-DLuIStvb.js +0 -29
  137. package/dist/id-laser-h-BBV3r3rz.js +0 -29
  138. package/dist/id-laser-v-BTHJaSfx.js +0 -29
  139. package/dist/id-tutorial-B-F5Q28m.js +0 -29
  140. package/dist/incodeModule-C4XIllao.js +0 -96
  141. package/dist/inputComposed-fUbAGrDy.js +0 -103
  142. package/dist/instance-BWYzq8dk.js +0 -2163
  143. package/dist/loadingIcon-DmuPXh70.js +0 -195
  144. package/dist/mandatoryConsent-5xPI0cor.js +0 -94
  145. package/dist/manualCaptureButton-BvFmTyJe.js +0 -372
  146. package/dist/numberedStep-DwUB__mh.js +0 -5
  147. package/dist/otpInput-BFXhqFRT.js +0 -156
  148. package/dist/page-SrUl0qtN.js +0 -69
  149. package/dist/passport-horizontal-hint-BCtpMp1Y.js +0 -5
  150. package/dist/passport-tutorial-CaYBFTqt.js +0 -29
  151. package/dist/passport-vertical-hint-GaLnzqHP.js +0 -5
  152. package/dist/permissions-DT4Fz9MR.js +0 -709
  153. package/dist/phoneInput-CGr8TxOO.js +0 -158
  154. package/dist/phoneInputComposed-Cm9O2Jba.js +0 -206
  155. package/dist/processing-szVOCQwZ.js +0 -19
  156. package/dist/richText-cspvNz2a.js +0 -1807
  157. package/dist/selfieTutorial-Dm_p0ke9.js +0 -29
  158. package/dist/spinner-DygONskw.js +0 -60
  159. package/dist/successIcon-Bjsdc4lF.js +0 -26
  160. package/dist/tutorial-Cdz1025D.js +0 -473
  161. package/dist/types/ekyb/styles.d.ts +0 -1
  162. package/dist/types/ekyc/styles.d.ts +0 -1
  163. package/dist/types/face-match/styles.d.ts +0 -1
  164. package/dist/typography-BDACYR5i.js +0 -14
  165. package/dist/uiConfig-Dnt-2YWB.js +0 -23
  166. package/dist/useMediaQuery-lJdQBmC2.js +0 -18
  167. package/dist/vendor-preact-BoMmvSgn.js +0 -694
  168. package/dist/warningIcon-DQq_MrOB.js +0 -26
@@ -1,106 +1,100 @@
1
- import { u as n, I as p, b as m, a as v, S as f } from "../loadingIcon-DmuPXh70.js";
2
- import { createGovernmentValidationManager as g } from "@incodetech/core/government-validation";
3
- import "../vendor-preact-BoMmvSgn.js";
4
- import "@incodetech/core";
5
- import "../instance-BWYzq8dk.js";
6
- import { E as h } from "../errorIcon-DEARBrGx.js";
7
- import { S as c } from "../successIcon-Bjsdc4lF.js";
8
- import { W as I } from "../warningIcon-DQq_MrOB.js";
9
- import { O as V } from "../otpInput-BFXhqFRT.js";
10
- import { P as r } from "../page-SrUl0qtN.js";
11
- import { S as G } from "../spinner-DygONskw.js";
12
- import { r as S } from "../incodeModule-C4XIllao.js";
13
- const a = ({
14
- variant: i,
15
- icon: o,
16
- title: e,
17
- subtitle: t
18
- }) => /* @__PURE__ */ n("div", { class: `IncodeGovtValidation IncodeGovtValidation--${i}`, children: /* @__PURE__ */ n(r, { className: "IncodeGovtValidationPage", children: /* @__PURE__ */ n("div", { class: "IncodeGovtValidationStatus", children: [
19
- /* @__PURE__ */ n(o, { size: 64 }),
20
- /* @__PURE__ */ n("p", { class: "IncodeGovtValidationText", children: e }),
21
- t ? /* @__PURE__ */ n("p", { class: "IncodeGovtValidationText", children: t }) : null
22
- ] }) }) }), k = ({ title: i, subtitle: o }) => /* @__PURE__ */ n("div", { class: "IncodeGovtValidation IncodeGovtValidation--loading", children: /* @__PURE__ */ n(r, { className: "IncodeGovtValidationPage", children: /* @__PURE__ */ n(G, { title: i, subtitle: o, fullScreen: !1 }) }) }), O = ({
23
- config: i,
24
- onFinish: o
25
- }) => {
26
- const { t: e } = m(), [t, s] = v(() => {
27
- if (!i)
28
- throw new Error("GovernmentValidation config is required");
29
- return g({ config: i });
30
- });
31
- if (i.backgroundExecution && t.status === "finished")
32
- return o?.(), null;
33
- if (t.status === "idle" || t.status === "loading")
34
- return /* @__PURE__ */ n(
35
- k,
36
- {
37
- title: `${e("ineCheck.verifying")} ${e("ineCheck.identity")}`
38
- }
39
- );
40
- if (t.status === "finished")
41
- return /* @__PURE__ */ n(
42
- a,
43
- {
44
- variant: "success",
45
- icon: c,
46
- title: e("ineCheck.verified")
47
- }
48
- );
49
- if (t.status === "processing")
50
- return /* @__PURE__ */ n(
51
- a,
52
- {
53
- variant: "success",
54
- icon: c,
55
- title: e("ineCheck.processing")
56
- }
57
- );
58
- if (t.status === "awaitingOtp" || t.status === "verifyingOtp") {
59
- const d = t.status === "verifyingOtp", l = t.status === "awaitingOtp" ? t.otpError : void 0;
60
- return /* @__PURE__ */ n("div", { class: "IncodeGovtValidation IncodeGovtValidation--otp", children: /* @__PURE__ */ n(r, { className: "IncodeGovtValidationPage", children: [
61
- /* @__PURE__ */ n(f, { size: 16 }),
62
- /* @__PURE__ */ n("div", { class: "IncodeGovtValidationOtpInstructions", children: [
63
- /* @__PURE__ */ n("p", { children: e("otp.insertSMS") }),
64
- /* @__PURE__ */ n("p", { children: e("otp.focus") })
65
- ] }),
66
- /* @__PURE__ */ n(
67
- V,
68
- {
69
- resendTimer: t.status === "awaitingOtp" ? t.resendTimer : 0,
70
- canResend: t.status === "awaitingOtp" ? t.canResend : !1,
71
- error: l,
72
- onSubmit: (u) => s.submitOtp(u),
73
- onResend: () => s.resendOtp(),
74
- onBack: () => {
75
- },
76
- isLoading: d
77
- }
78
- )
79
- ] }) });
80
- }
81
- return t.status === "error" ? /* @__PURE__ */ n(
82
- a,
83
- {
84
- variant: "error",
85
- icon: h,
86
- title: `${e("ineCheck.failure1")} ${e("ineCheck.failure2")}`
87
- }
88
- ) : t.status === "unknown" ? /* @__PURE__ */ n(
89
- a,
90
- {
91
- variant: "unknown",
92
- icon: I,
93
- title: e("ineCheck.unknown")
94
- }
95
- ) : null;
96
- }, w = ({
97
- config: i,
98
- onFinish: o
99
- }) => /* @__PURE__ */ n(p, { children: i ? /* @__PURE__ */ n(O, { config: i, onFinish: o }) : null });
100
- S(
101
- w,
102
- "incode-government-validation"
103
- );
104
- export {
105
- w as GovernmentValidation
106
- };
1
+ import { n as e } from "../i18n-D5eiXGPs.js";
2
+ import { v as t } from "../vendor-preact-D6SntenC.js";
3
+ import { c as n, r } from "../loadingIcon-Bpl85Irq.js";
4
+ import { t as i } from "../spacer-DCljE53A.js";
5
+ import { t as a } from "../page-BYVIXVi7.js";
6
+ import { t as o } from "../spinner-myFOTQZH.js";
7
+ import { p as s } from "../icons-BHbofCgJ.js";
8
+ import { t as c } from "../warningIcon-Cvj-ayg1.js";
9
+ import { t as l } from "../successIcon-AHrfmJvv.js";
10
+ import { t as u } from "../otpInput-C_RRtOv3.js";
11
+ import { t as d } from "../incodeModule-Bf6yJ8RB.js";
12
+ import { createGovernmentValidationManager as f } from "@incodetech/core/government-validation";
13
+ //#region src/modules/governmentValidation/governmentValidation.tsx
14
+ var p = ({ variant: e, icon: n, title: r, subtitle: i }) => /* @__PURE__ */ t("div", {
15
+ class: `IncodeGovtValidation IncodeGovtValidation--${e}`,
16
+ children: /* @__PURE__ */ t(a, {
17
+ className: "IncodeGovtValidationPage",
18
+ children: /* @__PURE__ */ t("div", {
19
+ class: "IncodeGovtValidationStatus",
20
+ children: [
21
+ /* @__PURE__ */ t(n, { size: 64 }),
22
+ /* @__PURE__ */ t("p", {
23
+ class: "IncodeGovtValidationText",
24
+ children: r
25
+ }),
26
+ i ? /* @__PURE__ */ t("p", {
27
+ class: "IncodeGovtValidationText",
28
+ children: i
29
+ }) : null
30
+ ]
31
+ })
32
+ })
33
+ }), m = ({ title: e, subtitle: n }) => /* @__PURE__ */ t("div", {
34
+ class: "IncodeGovtValidation IncodeGovtValidation--loading",
35
+ children: /* @__PURE__ */ t(a, {
36
+ className: "IncodeGovtValidationPage",
37
+ children: /* @__PURE__ */ t(o, {
38
+ title: e,
39
+ subtitle: n,
40
+ fullScreen: !1
41
+ })
42
+ })
43
+ }), h = ({ config: r, onFinish: o }) => {
44
+ let { t: d } = e(), [h, g] = n(() => {
45
+ if (!r) throw Error("GovernmentValidation config is required");
46
+ return f({ config: r });
47
+ });
48
+ if (r.backgroundExecution && h.status === "finished") return o?.(), null;
49
+ if (h.status === "idle" || h.status === "loading") return /* @__PURE__ */ t(m, { title: `${d("ineCheck.verifying")} ${d("ineCheck.identity")}` });
50
+ if (h.status === "finished") return /* @__PURE__ */ t(p, {
51
+ variant: "success",
52
+ icon: l,
53
+ title: d("ineCheck.verified")
54
+ });
55
+ if (h.status === "processing") return /* @__PURE__ */ t(p, {
56
+ variant: "success",
57
+ icon: l,
58
+ title: d("ineCheck.processing")
59
+ });
60
+ if (h.status === "awaitingOtp" || h.status === "verifyingOtp") {
61
+ let e = h.status === "verifyingOtp", n = h.status === "awaitingOtp" ? h.otpError : void 0;
62
+ return /* @__PURE__ */ t("div", {
63
+ class: "IncodeGovtValidation IncodeGovtValidation--otp",
64
+ children: /* @__PURE__ */ t(a, {
65
+ className: "IncodeGovtValidationPage",
66
+ children: [
67
+ /* @__PURE__ */ t(i, { size: 16 }),
68
+ /* @__PURE__ */ t("div", {
69
+ class: "IncodeGovtValidationOtpInstructions",
70
+ children: [/* @__PURE__ */ t("p", { children: d("otp.insertSMS") }), /* @__PURE__ */ t("p", { children: d("otp.focus") })]
71
+ }),
72
+ /* @__PURE__ */ t(u, {
73
+ resendTimer: h.status === "awaitingOtp" ? h.resendTimer : 0,
74
+ canResend: h.status === "awaitingOtp" ? h.canResend : !1,
75
+ error: n,
76
+ onSubmit: (e) => g.submitOtp(e),
77
+ onResend: () => g.resendOtp(),
78
+ onBack: () => {},
79
+ isLoading: e
80
+ })
81
+ ]
82
+ })
83
+ });
84
+ }
85
+ return h.status === "error" ? /* @__PURE__ */ t(p, {
86
+ variant: "error",
87
+ icon: s,
88
+ title: `${d("ineCheck.failure1")} ${d("ineCheck.failure2")}`
89
+ }) : h.status === "unknown" ? /* @__PURE__ */ t(p, {
90
+ variant: "unknown",
91
+ icon: c,
92
+ title: d("ineCheck.unknown")
93
+ }) : null;
94
+ }, g = ({ config: e, onFinish: n }) => /* @__PURE__ */ t(r, { children: e ? /* @__PURE__ */ t(h, {
95
+ config: e,
96
+ onFinish: n
97
+ }) : null });
98
+ d(g, "incode-government-validation");
99
+ //#endregion
100
+ export { g as GovernmentValidation };
@@ -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
  .IncodeGovtValidation {
3
3
  flex-direction: column;
4
4
  justify-content: center;