@incodetech/web 0.0.0-dev-20260407-4580f1c → 0.0.0-dev-20260407-2c382da

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-D1H_js4X.js +2607 -0
  2. package/dist/Trans-aTzdT_SA.js +55 -0
  3. package/dist/addressAutocomplete-C8-wL1j_.js +153 -0
  4. package/dist/aligndevicelottie-DlQCRPfM.js +29 -0
  5. package/dist/antifraud/antifraud.es.js +18 -17
  6. package/dist/antifraud/styles.css +1 -1
  7. package/dist/authentication/authentication.es.js +50 -28
  8. package/dist/back-horizontal-hint-CSlf9KI1.js +5 -0
  9. package/dist/back-tutorial-An9AcMSe.js +29 -0
  10. package/dist/back-vertical-hint-CNieqiCr.js +5 -0
  11. package/dist/backdevicelottie-B4NgyWmX.js +29 -0
  12. package/dist/base.css +67 -327
  13. package/dist/blurdevicelottie-_BZRug1c.js +29 -0
  14. package/dist/browser-ponyfill-B6W6hHVY.js +344 -0
  15. package/dist/button-CE9kRlem.js +184 -0
  16. package/dist/cameraView-C2X7klNb.js +55 -0
  17. package/dist/captureOverlay-tCb4R4WE.js +592 -0
  18. package/dist/checkbox-B5X-mfqq.js +137 -0
  19. package/dist/chevronDown-DSHaPKbi.js +23 -0
  20. package/dist/closeIcon-9Hc97omv.js +28 -0
  21. package/dist/consent/consent.es.js +89 -82
  22. package/dist/consent/styles.css +1 -1
  23. package/dist/countries-DfLkrF0x.js +616 -0
  24. package/dist/curp-validation/curp-validation.es.js +313 -271
  25. package/dist/curp-validation/styles.css +1 -1
  26. package/dist/dateInputComposed-C7PCzh-U.js +173 -0
  27. package/dist/document-capture/styles.css +1 -1
  28. package/dist/documentCapture-C0mO-RGE.js +692 -0
  29. package/dist/dropdownComposed-BpinYlrx.js +367 -0
  30. package/dist/ekyb/styles.css +1 -1
  31. package/dist/ekybModule-Dr6LJUg-.js +357 -0
  32. package/dist/ekyc/styles.css +1 -1
  33. package/dist/ekycModule-C3mswduI.js +291 -0
  34. package/dist/email/email.es.js +154 -110
  35. package/dist/email/styles.css +1 -1
  36. package/dist/errorContent-Cb8nmQAE.js +44 -0
  37. package/dist/errorIcon-DEARBrGx.js +26 -0
  38. package/dist/extensibility.es.js +150 -22
  39. package/dist/face-match/styles.css +73 -147
  40. package/dist/faceMatch-DbDp7D3d.js +237 -0
  41. package/dist/fileIcon-CCSvS10T.js +52 -0
  42. package/dist/flip-animation-COR596wy.js +29 -0
  43. package/dist/flipAnimation-BqV462TA.js +2059 -0
  44. package/dist/flow/flow.es.js +2613 -2273
  45. package/dist/flow/styles.css +73 -432
  46. package/dist/formField-CP6wDdfA.js +106 -0
  47. package/dist/front-horizontal-hint-lRLKd7vY.js +7 -0
  48. package/dist/front-vertical-hint-qQoJXRE3.js +7 -0
  49. package/dist/frontdevicelottie-KhKxT5n9.js +29 -0
  50. package/dist/geolocation/geolocation.es.js +832 -852
  51. package/dist/geolocation/styles.css +1 -1
  52. package/dist/glaredevicelottie-DLuIStvb.js +29 -0
  53. package/dist/governmentValidation/governmentValidation.es.js +106 -100
  54. package/dist/governmentValidation/styles.css +1 -1
  55. package/dist/id/id.es.js +59 -53
  56. package/dist/id/styles.css +1 -1
  57. package/dist/id-laser-h-BBV3r3rz.js +29 -0
  58. package/dist/id-laser-v-BTHJaSfx.js +29 -0
  59. package/dist/id-tutorial-B-F5Q28m.js +29 -0
  60. package/dist/incodeModule-C4XIllao.js +96 -0
  61. package/dist/index.es.js +25 -4
  62. package/dist/inputComposed-fUbAGrDy.js +103 -0
  63. package/dist/instance-BWYzq8dk.js +2163 -0
  64. package/dist/loadingIcon-DmuPXh70.js +195 -0
  65. package/dist/mandatoryConsent-5xPI0cor.js +94 -0
  66. package/dist/manualCaptureButton-BvFmTyJe.js +372 -0
  67. package/dist/numberedStep-DwUB__mh.js +5 -0
  68. package/dist/otpInput-BFXhqFRT.js +156 -0
  69. package/dist/page-SrUl0qtN.js +69 -0
  70. package/dist/passport-horizontal-hint-BCtpMp1Y.js +5 -0
  71. package/dist/passport-tutorial-CaYBFTqt.js +29 -0
  72. package/dist/passport-vertical-hint-GaLnzqHP.js +5 -0
  73. package/dist/permissions-DT4Fz9MR.js +709 -0
  74. package/dist/phone/phone.es.js +121 -87
  75. package/dist/phone/styles.css +1 -1
  76. package/dist/phoneInput-CGr8TxOO.js +158 -0
  77. package/dist/phoneInputComposed-Cm9O2Jba.js +206 -0
  78. package/dist/processing-szVOCQwZ.js +19 -0
  79. package/dist/redirect-to-mobile/styles.css +1 -1
  80. package/dist/richText-cspvNz2a.js +1807 -0
  81. package/dist/selfie/selfie.es.js +50 -29
  82. package/dist/selfie/styles.css +66 -170
  83. package/dist/selfieTutorial-Dm_p0ke9.js +29 -0
  84. package/dist/signature/signature.es.js +707 -557
  85. package/dist/signature/styles.css +1 -1
  86. package/dist/spinner-DygONskw.js +60 -0
  87. package/dist/successIcon-Bjsdc4lF.js +26 -0
  88. package/dist/tutorial-Cdz1025D.js +473 -0
  89. package/dist/types/ekyb/styles.d.ts +1 -0
  90. package/dist/types/ekyc/styles.d.ts +1 -0
  91. package/dist/types/index.d.ts +8 -0
  92. package/dist/typography-BDACYR5i.js +14 -0
  93. package/dist/uiConfig-Dnt-2YWB.js +23 -0
  94. package/dist/useMediaQuery-lJdQBmC2.js +18 -0
  95. package/dist/vendor-preact-BoMmvSgn.js +694 -0
  96. package/dist/warningIcon-DQq_MrOB.js +26 -0
  97. package/package.json +11 -8
  98. package/dist/AsYouType-DPWqJvFu.js +0 -2482
  99. package/dist/addressAutocomplete-B3f6PGTT.js +0 -108
  100. package/dist/aligndevicelottie-C9xl1spu.js +0 -12757
  101. package/dist/back-horizontal-hint-Be3dUGk6.js +0 -137
  102. package/dist/back-tutorial-BNTyW-1N.js +0 -14584
  103. package/dist/back-vertical-hint-Bz_rnhd-.js +0 -128
  104. package/dist/backdevicelottie-DBB1YCtW.js +0 -16678
  105. package/dist/blurdevicelottie-9WvZCZ6C.js +0 -15939
  106. package/dist/browser-ponyfill-B4Qc6yfW.js +0 -299
  107. package/dist/button-DhL5eRT3.js +0 -123
  108. package/dist/checkbox-l8NxPf4o.js +0 -85
  109. package/dist/countries-y2ydYDhN.js +0 -8323
  110. package/dist/dateInputComposed-B9WqdYx9.js +0 -2
  111. package/dist/dateInputComposed-ndsGHX1M.js +0 -94
  112. package/dist/defineProperty-brqHEHA_.js +0 -39
  113. package/dist/documentCapture-wDgRLdon.js +0 -784
  114. package/dist/dropdownComposed-_Ey7wJNG.js +0 -258
  115. package/dist/ekyb/ekyb.es.js +0 -2
  116. package/dist/ekybModule-BBOm1y49.js +0 -2
  117. package/dist/ekybModule-fz6i9ZRt.js +0 -286
  118. package/dist/ekyc/ekyc.es.js +0 -2
  119. package/dist/ekycModule-SeTFG3AJ.js +0 -233
  120. package/dist/ekycModule-hxIcNX8n.js +0 -2
  121. package/dist/extensibility-DJihqIzM.js +0 -2248
  122. package/dist/faceMatch-DH8sLx34.js +0 -191
  123. package/dist/flip-animation-DOJzdXB-.js +0 -6983
  124. package/dist/formField-BRTbY8w9.js +0 -100
  125. package/dist/front-horizontal-hint-aGAhadA2.js +0 -380
  126. package/dist/front-vertical-hint-DZz1VeNp.js +0 -420
  127. package/dist/frontdevicelottie-DadDp6be.js +0 -17302
  128. package/dist/glaredevicelottie-BfI84cPw.js +0 -14466
  129. package/dist/i18n-DZOHbK9q.js +0 -1916
  130. package/dist/icons-BHbofCgJ.js +0 -245
  131. package/dist/id-laser-h-BWyU3VgL.js +0 -467
  132. package/dist/id-laser-v-JiWXUlv0.js +0 -467
  133. package/dist/id-tutorial-Cc9xg5_J.js +0 -13152
  134. package/dist/incodeModule-Bf6yJ8RB.js +0 -18
  135. package/dist/inputComposed-BhbfD8Ru.js +0 -77
  136. package/dist/loadingIcon-CeQt7Zgb.js +0 -146
  137. package/dist/mandatoryConsent-LBS8E0rj.js +0 -101
  138. package/dist/numberedStep-CQVRixRP.js +0 -11
  139. package/dist/otpInput-CDIG9el7.js +0 -143
  140. package/dist/page-SvlJWUfz.js +0 -61
  141. package/dist/passport-horizontal-hint-CFsGs7Dp.js +0 -293
  142. package/dist/passport-tutorial-z0LN7Hsp.js +0 -11688
  143. package/dist/passport-vertical-hint-BnCpKWeN.js +0 -267
  144. package/dist/phoneInput-C9T_8FJt.js +0 -138
  145. package/dist/phoneInputComposed-B-0zieIW.js +0 -407
  146. package/dist/processing-B5zhNH6I.js +0 -15
  147. package/dist/richText-Db0PfpkE.js +0 -1973
  148. package/dist/rolldown-runtime-CjdbFOpI.js +0 -13
  149. package/dist/selfieTutorial-B0MIyPrk.js +0 -2676
  150. package/dist/setup-Dq2bzNKH.js +0 -15
  151. package/dist/spacer-DCljE53A.js +0 -59
  152. package/dist/spinner-Bk0YuoLu.js +0 -1
  153. package/dist/spinner-snIGzmm8.js +0 -41
  154. package/dist/successIcon-AHrfmJvv.js +0 -17
  155. package/dist/tutorial-DNOd11tg.js +0 -2780
  156. package/dist/types/ekyb.d.ts +0 -29
  157. package/dist/types/ekyc.d.ts +0 -29
  158. package/dist/typography-BNbFNFek.js +0 -1
  159. package/dist/typography-DvHeVWfY.js +0 -29
  160. package/dist/uiConfig-CwpQ-IM6.js +0 -20
  161. package/dist/vendor-preact-D6SntenC.js +0 -958
  162. package/dist/warningIcon-Cvj-ayg1.js +0 -17
@@ -1,100 +1,106 @@
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 "../spacer-DCljE53A.js";
5
- import { t as a } from "../page-SvlJWUfz.js";
6
- import { t as o } from "../spinner-snIGzmm8.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-CDIG9el7.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
+ 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,4 +1,4 @@
1
- /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
2
  .IncodeGovtValidation {
3
3
  flex-direction: column;
4
4
  justify-content: center;
package/dist/id/id.es.js CHANGED
@@ -1,54 +1,60 @@
1
- import { c as e, o as t, v as n } from "../vendor-preact-D6SntenC.js";
2
- import { c as r, r as i } from "../loadingIcon-CeQt7Zgb.js";
3
- import { a, i as o, n as s, o as c, r as l, t as u } from "../extensibility-DJihqIzM.js";
4
- import { t as d } from "../processing-B5zhNH6I.js";
5
- import { r as f } from "../tutorial-DNOd11tg.js";
6
- import { t as p } from "../incodeModule-Bf6yJ8RB.js";
1
+ import { u as r, I as u, a as d } from "../loadingIcon-DmuPXh70.js";
7
2
  import { createIdCaptureManager as m } from "@incodetech/core/id";
8
- //#region src/modules/id/id.tsx
9
- var h = e(() => import("../mandatoryConsent-LBS8E0rj.js").then((e) => ({ default: e.MandatoryConsent }))), g = ({ config: e, manager: i, onFinish: p, onError: g }) => {
10
- let [_, v] = r(() => {
11
- if (i) return i;
12
- if (!e) throw Error("ID capture config is required when no manager is provided");
13
- return m({ config: e });
14
- }, { manageLifecycle: !i });
15
- return _.status === "idle" || _.status === "loading" ? null : _.status === "chooser" ? /* @__PURE__ */ n(s, {
16
- manager: v,
17
- state: _
18
- }) : _.status === "tutorial" ? /* @__PURE__ */ n(l, {
19
- manager: v,
20
- state: _
21
- }) : _.status === "permissions" ? /* @__PURE__ */ n(f, {
22
- manager: v,
23
- permissionStatus: _.permissionStatus
24
- }) : _.status === "frontFinished" ? /* @__PURE__ */ n(u, {
25
- manager: v,
26
- direction: "toBack"
27
- }) : _.status === "backFinished" ? /* @__PURE__ */ n(u, {
28
- manager: v,
29
- direction: "toFront"
30
- }) : _.status === "capture" ? /* @__PURE__ */ n(o, {
31
- manager: v,
32
- state: _,
33
- onFinish: () => p?.()
34
- }) : _.status === "mandatoryConsent" ? /* @__PURE__ */ n(t, {
35
- fallback: null,
36
- children: /* @__PURE__ */ n(h, {
37
- config: { consentType: _.regulationType },
38
- onFinish: () => v.acceptMandatoryConsent(),
39
- onError: () => v.cancelMandatoryConsent()
40
- })
41
- }) : _.status === "processing" ? /* @__PURE__ */ n(d, {}) : _.status === "expired" ? /* @__PURE__ */ n(a, { manager: v }) : _.status === "finished" ? (p?.(), null) : _.status === "closed" ? (g?.(void 0), null) : _.status === "error" ? /* @__PURE__ */ n(c, {
42
- manager: v,
43
- state: _,
44
- onError: g
45
- }) : null;
46
- }, _ = ({ config: e, manager: t, onFinish: r, onError: a }) => /* @__PURE__ */ n(i, { children: e || t ? /* @__PURE__ */ n(g, {
47
- config: e,
48
- manager: t,
49
- onFinish: r,
50
- onError: a
51
- }) : null });
52
- p(_, "incode-id");
53
- //#endregion
54
- export { _ as Id };
3
+ import { z as p, P as c } from "../vendor-preact-BoMmvSgn.js";
4
+ import "@incodetech/core";
5
+ import { P as f } from "../permissions-DT4Fz9MR.js";
6
+ import { r as l } from "../incodeModule-C4XIllao.js";
7
+ import { P as h } from "../processing-szVOCQwZ.js";
8
+ import { b as C, T as I, F as a, C as g, c as y, I as F } from "../flipAnimation-BqV462TA.js";
9
+ import "../captureOverlay-tCb4R4WE.js";
10
+ import "../instance-BWYzq8dk.js";
11
+ import "../button-CE9kRlem.js";
12
+ import "../typography-BDACYR5i.js";
13
+ const M = p(
14
+ () => import("../mandatoryConsent-5xPI0cor.js").then((s) => ({
15
+ default: s.MandatoryConsent
16
+ }))
17
+ ), P = ({
18
+ config: s,
19
+ manager: e,
20
+ onFinish: o,
21
+ onError: i
22
+ }) => {
23
+ const [t, n] = d(
24
+ () => {
25
+ if (e) return e;
26
+ if (!s)
27
+ throw new Error(
28
+ "ID capture config is required when no manager is provided"
29
+ );
30
+ return m({ config: s });
31
+ },
32
+ { manageLifecycle: !e }
33
+ );
34
+ return t.status === "idle" || t.status === "loading" ? null : t.status === "chooser" ? /* @__PURE__ */ r(C, { manager: n, state: t }) : t.status === "tutorial" ? /* @__PURE__ */ r(I, { manager: n, state: t }) : t.status === "permissions" ? /* @__PURE__ */ r(
35
+ f,
36
+ {
37
+ manager: n,
38
+ permissionStatus: t.permissionStatus
39
+ }
40
+ ) : t.status === "frontFinished" ? /* @__PURE__ */ r(a, { manager: n, direction: "toBack" }) : t.status === "backFinished" ? /* @__PURE__ */ r(a, { manager: n, direction: "toFront" }) : t.status === "capture" ? /* @__PURE__ */ r(g, { manager: n, state: t, onFinish: () => o?.() }) : t.status === "mandatoryConsent" ? /* @__PURE__ */ r(c, { fallback: null, children: /* @__PURE__ */ r(
41
+ M,
42
+ {
43
+ config: { consentType: t.regulationType },
44
+ onFinish: () => n.acceptMandatoryConsent(),
45
+ onError: () => n.cancelMandatoryConsent()
46
+ }
47
+ ) }) : t.status === "processing" ? /* @__PURE__ */ r(h, {}) : t.status === "expired" ? /* @__PURE__ */ r(y, { manager: n }) : t.status === "finished" ? (o?.(), null) : t.status === "closed" ? (i?.(void 0), null) : t.status === "error" ? /* @__PURE__ */ r(F, { manager: n, state: t, onError: i }) : null;
48
+ }, E = ({ config: s, manager: e, onFinish: o, onError: i }) => /* @__PURE__ */ r(u, { children: s || e ? /* @__PURE__ */ r(
49
+ P,
50
+ {
51
+ config: s,
52
+ manager: e,
53
+ onFinish: o,
54
+ onError: i
55
+ }
56
+ ) : null });
57
+ l(E, "incode-id");
58
+ export {
59
+ E as Id
60
+ };
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
2
  @layer properties {
3
3
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
4
  *, :before, :after, ::backdrop {
@@ -0,0 +1,29 @@
1
+ const n = 60, a = "5.9.6", i = 0, r = 161, e = 390, p = 271, s = "id_laser_h", l = 0, k = [], t = [{ nm: "id_laser_h", fr: 60, id: "m8gbpa7d4wklnmgw", layers: [{ ty: 3, ddd: 0, ind: 5, hd: !1, nm: "id_laser_h - Null", sr: 1, ks: { a: { a: 0, k: [0, 0] }, o: { a: 0, k: 100 }, p: { a: 0, k: [0, 0] }, r: { a: 0, k: 0 }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 } }, ao: 0, ip: 0, op: 162, st: 0, bm: 0 }, { ty: 3, ddd: 0, ind: 6, hd: !1, nm: "Rectangle 465 - Null", sr: 1, parent: 5, ks: { a: { a: 0, k: [54, 133] }, o: { a: 0, k: 100 }, p: { a: 1, k: [{ t: 0, s: [75, 136], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] }, ti: [0, 0], to: [0, 0] }, { t: 59.928000000000004, s: [315, 136], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] }, ti: [0, 0], to: [0, 0] }, { t: 69.28200000000001, s: [315, 136], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] }, ti: [0, 0], to: [0, 0] }, { t: 141.006, s: [75, 136] }] }, r: { a: 0, k: 0 }, s: { a: 1, k: [{ t: 0, s: [100, 100], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] } }, { t: 59.928000000000004, s: [-100, 100], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] } }, { t: 69.28200000000001, s: [-100, 100], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] } }, { t: 141.006, s: [100, 100] }] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 } }, ao: 0, ip: 0, op: 162, st: 0, bm: 0 }, { ty: 4, ddd: 0, ind: 7, hd: !1, nm: "Rectangle 465", sr: 1, parent: 6, ks: { a: { a: 0, k: [0, 0] }, p: { a: 0, k: [0, 0] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, r: { a: 0, k: 0 }, o: { a: 0, k: 100 } }, ao: 0, ip: 0, op: 162, st: 0, bm: 0, shapes: [{ ty: "gr", nm: "Group", hd: !1, np: 3, it: [{ ty: "sh", nm: "Path", hd: !1, ks: { a: 0, k: { c: !0, v: [[3.4546, 240.9087], [1e-4, 231.7465], [1e-4, 33.2534], [3.4546, 24.0912], [72.7499, 0.0474], [74.0001, 2.2451], [74.0001, 263.7549], [72.7499, 265.9526], [3.4546, 240.9087]], i: [[0, 0], [0, 4.4361], [0, 0], [-2.0118, 0.8997], [0, 0], [0, -1.4225], [0, 0], [0.6451, 0.2885], [0, 0]], o: [[-2.01182, -0.8996500000000083], [0, 0], [0, -4.436140000000002], [0, 0], [0.6451200000000057, -0.28848], [0, 0], [0, 1.4225099999999884], [0, 0], [0, 0]] } } }, { ty: "gf", o: { a: 0, k: 100 }, g: { p: 4, k: { a: 0, k: [0, 1, 1, 1, 0.2396, 1, 1, 1, 0.4948, 1, 1, 1, 0.8906, 1, 1, 1, 0, 1, 0.2396, 0.58, 0.4948, 0.3, 0.8906, 0] } }, s: { a: 0, k: [3098905332132529e-21, 132.9998798591031] }, e: { a: 0, k: [68.9999965407841, 132.9998798591033] }, t: 1, nm: "Fill", hd: !1, r: 1 }, { ty: "tr", a: { a: 0, k: [0, 0] }, p: { a: 0, k: [0, 0] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, r: { a: 0, k: 0 }, o: { a: 0, k: 100 } }] }] }] }], d = [{ ty: 3, ddd: 0, ind: 5, hd: !1, nm: "id_laser_h - Null", sr: 1, ks: { a: { a: 0, k: [0, 0] }, o: { a: 0, k: 100 }, p: { a: 0, k: [0, 0] }, r: { a: 0, k: 0 }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 } }, ao: 0, ip: 0, op: 162, st: 0, bm: 0 }, { ddd: 0, ind: 2, ty: 0, nm: "id_laser_h", refId: "m8gbpa7d4wklnmgw", sr: 1, ks: { a: { a: 0, k: [0, 0] }, p: { a: 0, k: [0, 0] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, r: { a: 0, k: 0 }, o: { a: 0, k: 100 } }, ao: 0, w: 390, h: 271, ip: 0, op: 162, st: 0, hd: !1, bm: 0 }], o = { a: "", d: "", tc: "", g: "Aninix" }, y = {
2
+ fr: 60,
3
+ v: a,
4
+ ip: 0,
5
+ op: 161,
6
+ w: 390,
7
+ h: 271,
8
+ nm: s,
9
+ ddd: 0,
10
+ markers: k,
11
+ assets: t,
12
+ layers: d,
13
+ meta: o
14
+ };
15
+ export {
16
+ t as assets,
17
+ l as ddd,
18
+ y as default,
19
+ n as fr,
20
+ p as h,
21
+ i as ip,
22
+ d as layers,
23
+ k as markers,
24
+ o as meta,
25
+ s as nm,
26
+ r as op,
27
+ a as v,
28
+ e as w
29
+ };
@@ -0,0 +1,29 @@
1
+ const n = 60, a = "5.9.6", i = 0, r = 161, e = 271, p = 390, s = "id_laser_v", y = 0, k = [], t = [{ nm: "id_laser_v", fr: 60, id: "m8gbp0cygyhyhkn8", layers: [{ ty: 3, ddd: 0, ind: 5, hd: !1, nm: "id_laser_v - Null", sr: 1, ks: { a: { a: 0, k: [0, 0] }, o: { a: 0, k: 100 }, p: { a: 0, k: [0, 0] }, r: { a: 0, k: 0 }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 } }, ao: 0, ip: 0, op: 162, st: 0, bm: 0 }, { ty: 3, ddd: 0, ind: 6, hd: !1, nm: "Rectangle 465 - Null", sr: 1, parent: 5, ks: { a: { a: 0, k: [74, 195] }, o: { a: 0, k: 100 }, p: { a: 1, k: [{ t: 0, s: [116, 195], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] }, ti: [0, 0], to: [0, 0] }, { t: 59.772, s: [155, 195], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] }, ti: [0, 0], to: [0, 0] }, { t: 67.992, s: [148, 195], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] }, ti: [0, 0], to: [0, 0] }, { t: 139.908, s: [116, 195] }] }, r: { a: 0, k: 0 }, s: { a: 1, k: [{ t: 0, s: [100, 100], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] } }, { t: 59.772, s: [-100, 100], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] } }, { t: 67.992, s: [-100, 100], o: { x: [0.5], y: [0.35] }, i: { x: [0.15], y: [1] } }, { t: 139.908, s: [100, 100] }] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 } }, ao: 0, ip: 0, op: 162, st: 0, bm: 0 }, { ty: 4, ddd: 0, ind: 7, hd: !1, nm: "Rectangle 465", sr: 1, parent: 6, ks: { a: { a: 0, k: [0, 0] }, p: { a: 0, k: [0, 0] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, r: { a: 0, k: 0 }, o: { a: 0, k: 100 } }, ao: 0, ip: 0, op: 162, st: 0, bm: 0, shapes: [{ ty: "gr", nm: "Group", hd: !1, np: 3, it: [{ ty: "sh", nm: "Path", hd: !1, ks: { a: 0, k: { c: !0, v: [[3.4546, 343.2121], [1e-4, 329.7788], [1e-4, 58.7552], [3.4546, 45.3219], [72.7499, 0.0697], [74.0001, 3.2919], [74.0001, 386.7085], [72.7499, 389.9306], [3.4546, 343.2121]], i: [[0, 0], [0, 6.5041], [0, 0], [-2.0118, 1.319], [0, 0], [0, -2.0856], [0, 0], [0.6451, 0.423], [0, 0]], o: [[-2.01182, -1.319029999999998], [0, 0], [0, -6.50412], [0, 0], [0.6451200000000057, -0.42297], [0, 0], [0, 2.085640000000012], [0, 0], [0, 0]] } } }, { ty: "gf", o: { a: 0, k: 100 }, g: { p: 4, k: { a: 0, k: [0, 1, 1, 1, 0.2396, 1, 1, 1, 0.4948, 1, 1, 1, 0.8906, 1, 1, 1, 0, 1, 0.2396, 0.58, 0.4948, 0.3, 0.8906, 0] } }, s: { a: 0, k: [30989068029558517e-22, 194.9998238535722] }, e: { a: 0, k: [68.99999654078556, 194.9998238535725] }, t: 1, nm: "Fill", hd: !1, r: 1 }, { ty: "tr", a: { a: 0, k: [0, 0] }, p: { a: 0, k: [0, 0] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, r: { a: 0, k: 0 }, o: { a: 0, k: 100 } }] }] }] }], d = [{ ty: 3, ddd: 0, ind: 5, hd: !1, nm: "id_laser_v - Null", sr: 1, ks: { a: { a: 0, k: [0, 0] }, o: { a: 0, k: 100 }, p: { a: 0, k: [0, 0] }, r: { a: 0, k: 0 }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 } }, ao: 0, ip: 0, op: 162, st: 0, bm: 0 }, { ddd: 0, ind: 2, ty: 0, nm: "id_laser_v", refId: "m8gbp0cygyhyhkn8", sr: 1, ks: { a: { a: 0, k: [0, 0] }, p: { a: 0, k: [0, 0] }, s: { a: 0, k: [100, 100] }, sk: { a: 0, k: 0 }, sa: { a: 0, k: 0 }, r: { a: 0, k: 0 }, o: { a: 0, k: 100 } }, ao: 0, w: 271, h: 390, ip: 0, op: 162, st: 0, hd: !1, bm: 0 }], o = { a: "", d: "", tc: "", g: "Aninix" }, l = {
2
+ fr: 60,
3
+ v: a,
4
+ ip: 0,
5
+ op: 161,
6
+ w: 271,
7
+ h: 390,
8
+ nm: s,
9
+ ddd: 0,
10
+ markers: k,
11
+ assets: t,
12
+ layers: d,
13
+ meta: o
14
+ };
15
+ export {
16
+ t as assets,
17
+ y as ddd,
18
+ l as default,
19
+ n as fr,
20
+ p as h,
21
+ i as ip,
22
+ d as layers,
23
+ k as markers,
24
+ o as meta,
25
+ s as nm,
26
+ r as op,
27
+ a as v,
28
+ e as w
29
+ };