@incodetech/web 0.0.0-dev-20260423-427a341 → 0.0.0-dev-20260423-672ea74

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 (68) hide show
  1. package/dist/{addressAutocomplete-BnXqjo3c.js → addressAutocomplete-BXaiCXoK.js} +2 -2
  2. package/dist/authentication/authentication.es.js +1 -1
  3. package/dist/base.css +23 -1
  4. package/dist/consent/consent.es.js +47 -40
  5. package/dist/consent/styles.css +4 -0
  6. package/dist/curp-validation/curp-validation.es.js +3 -3
  7. package/dist/{customFields-D7JzF2v_.js → customFields-ByZ0CUT5.js} +2 -2
  8. package/dist/dateInputComposed-CUhIwliW.js +1 -0
  9. package/dist/{dateInputComposed-ChNk6tA6.js → dateInputComposed-DUP8vYwk.js} +2 -2
  10. package/dist/{documentCapture-BDiV75I-.js → documentCapture-BqduvRtm.js} +2 -2
  11. package/dist/ekyb/ekyb.es.js +1 -1
  12. package/dist/ekybModule-C9wpmHp1.js +2 -0
  13. package/dist/{ekybModule-DvKrNQHb.js → ekybModule-CaOzd3Sf.js} +3 -3
  14. package/dist/ekyc/ekyc.es.js +1 -1
  15. package/dist/{ekycModule-Bb686qen.js → ekycModule-DzOvujCd.js} +4 -4
  16. package/dist/ekycModule-Z2hOCcCU.js +2 -0
  17. package/dist/email/email.es.js +3 -3
  18. package/dist/{extensibility-DD-UncEc.js → extensibility-MwUYctOv.js} +19 -19
  19. package/dist/extensibility.es.js +7 -7
  20. package/dist/flow/flow.es.js +46 -29
  21. package/dist/flow/styles.css +128 -0
  22. package/dist/{formField-3l0U7wek.js → formField-B-_S6kou.js} +1 -1
  23. package/dist/governmentValidation/governmentValidation.es.js +1 -1
  24. package/dist/id/id.es.js +4 -4
  25. package/dist/id-ocr/styles.css +86 -0
  26. package/dist/idOcr-Ddb5MkER.js +95 -0
  27. package/dist/inputComposed-Cyw5Vf6f.js +1 -0
  28. package/dist/{inputComposed-C6nVSZj3.js → inputComposed-vU4G5kX-.js} +4 -1
  29. package/dist/mandatoryConsent-Cs8VVPyI.js +99 -0
  30. package/dist/{otpInput-mIxWLuT4.js → otpInput-B_ItrMcK.js} +2 -2
  31. package/dist/phone/phone.es.js +2 -2
  32. package/dist/{phoneInputComposed-CAqOlbXd.js → phoneInputComposed-CzxoNJ5b.js} +1 -1
  33. package/dist/{redirectToMobile-o24bjaIX.js → redirectToMobile-CMdQhX3j.js} +1 -1
  34. package/dist/selfie/selfie.es.js +2 -2
  35. package/dist/themes/dark.css +1 -1
  36. package/dist/themes/light.css +1 -1
  37. package/dist/{tutorial-D6avi30-.js → tutorial-CAfpDlUG.js} +1 -1
  38. package/dist/types/id-ocr/styles.d.ts +1 -0
  39. package/dist/{useModuleLoader-orDv3Be3.js → useModuleLoader-CNBI_JLP.js} +11 -9
  40. package/dist/{watchlistForBusiness-BUkAxhsg.js → watchlistForBusiness-DxiEnt9E.js} +1 -1
  41. package/dist/workflow/styles.css +128 -0
  42. package/dist/workflow/workflow.es.js +2 -2
  43. package/package.json +2 -2
  44. package/dist/dateInputComposed-Bxke8vRg.js +0 -1
  45. package/dist/ekybModule-CG0oDDSI.js +0 -2
  46. package/dist/ekycModule-Cio7auBr.js +0 -2
  47. package/dist/inputComposed-CE8ClsSG.js +0 -1
  48. package/dist/mandatoryConsent-DkPINnNR.js +0 -94
  49. /package/dist/{aligndevicelottie-m1gBGZsQ.js → aligndevicelottie-DyGJbfIE.js} +0 -0
  50. /package/dist/{back-horizontal-hint-DUuojsev.js → back-horizontal-hint-Dftn3Q4p.js} +0 -0
  51. /package/dist/{back-tutorial-DMUliF5W.js → back-tutorial-BUwYnbyp.js} +0 -0
  52. /package/dist/{back-vertical-hint-CX_hCJhV.js → back-vertical-hint-Br7YQ62I.js} +0 -0
  53. /package/dist/{backdevicelottie-WEvEwLBA.js → backdevicelottie-BJMD8fm6.js} +0 -0
  54. /package/dist/{blurdevicelottie-BNBU2EIM.js → blurdevicelottie-B7h0sSvw.js} +0 -0
  55. /package/dist/{flip-animation-Tm2zxXjs.js → flip-animation-CAoCCNZF.js} +0 -0
  56. /package/dist/{front-horizontal-hint-2RcQjgHE.js → front-horizontal-hint-CR71MdeU.js} +0 -0
  57. /package/dist/{front-vertical-hint-CRhiWbkP.js → front-vertical-hint-BGci40sf.js} +0 -0
  58. /package/dist/{frontdevicelottie-BtbZEtwd.js → frontdevicelottie-B8Qy4pSa.js} +0 -0
  59. /package/dist/{glaredevicelottie-CGQ0DCXc.js → glaredevicelottie-DWxI3Pww.js} +0 -0
  60. /package/dist/{homeScreen-DJDHFnIu.js → homeScreen-CkcAO4Ag.js} +0 -0
  61. /package/dist/{id-laser-h-oGOFXEpO.js → id-laser-h-ld67NZgZ.js} +0 -0
  62. /package/dist/{id-laser-v-DfWJik9l.js → id-laser-v-Buftc8XI.js} +0 -0
  63. /package/dist/{id-tutorial-BVIpezZ1.js → id-tutorial-DCs88Nov.js} +0 -0
  64. /package/dist/{passport-horizontal-hint-CAqrHNYZ.js → passport-horizontal-hint-CVL4ijpt.js} +0 -0
  65. /package/dist/{passport-tutorial-DhEHJZeD.js → passport-tutorial-D8ghyCv5.js} +0 -0
  66. /package/dist/{passport-vertical-hint-BHH9yd1n.js → passport-vertical-hint-BP1gMsLD.js} +0 -0
  67. /package/dist/{phoneInput-LMlmFvJD.js → phoneInput-BvMryqbJ.js} +0 -0
  68. /package/dist/{selfieTutorial-D8I_4Oam.js → selfieTutorial-CmGGVE4q.js} +0 -0
@@ -0,0 +1,99 @@
1
+ import { n as e } from "./i18n-BnVa5Y-_.js";
2
+ import { _ as t, l as n, v as r } from "./vendor-preact-D6SntenC.js";
3
+ import { o as i, t as a } from "./incodeComponent-DEt7nOim.js";
4
+ import { t as o } from "./page-D5Mt-0zn.js";
5
+ import { n as s } from "./typography-B7nxauEL.js";
6
+ import { t as c } from "./transitionSpinner-DLUM_WN2.js";
7
+ import { t as l } from "./button-4-ToV5B_.js";
8
+ import { t as u } from "./checkbox-DbHg0n25.js";
9
+ import { t as d } from "./incodeModule-DcwjDRyJ.js";
10
+ import { t as f } from "./richText-DPdexfgN.js";
11
+ import { createMandatoryConsentManager as p } from "@incodetech/core/mandatory-consent";
12
+ //#region src/modules/mandatory-consent/mandatoryConsent.tsx
13
+ var m = ({ config: a, manager: d, onFinish: m, onError: h }) => {
14
+ let { t: g } = e(), _ = n(null), [v, y] = i(() => d ?? p({ config: a }), { manageLifecycle: !d });
15
+ if (t(() => {
16
+ v.status === "display" && _.current?.focus();
17
+ }, [v.status]), t(() => {
18
+ if (v.status === "finished") {
19
+ m?.();
20
+ return;
21
+ }
22
+ if (v.status === "closed") {
23
+ h?.(void 0);
24
+ return;
25
+ }
26
+ v.status === "error" && h?.(v.error);
27
+ }, [
28
+ v,
29
+ m,
30
+ h
31
+ ]), v.status === "finished" || v.status === "closed" || v.status === "error") return null;
32
+ if (v.status === "idle" || v.status === "loading") return /* @__PURE__ */ r(c, { hideText: !0 });
33
+ let b = v.text.split("\n").filter((e) => e.trim().length > 0).join(" ");
34
+ return /* @__PURE__ */ r(o, {
35
+ className: "IncodeConsentPage",
36
+ hideFooterBranding: !0,
37
+ hideHeader: !0,
38
+ children: /* @__PURE__ */ r("div", {
39
+ class: "IncodeConsentContent",
40
+ children: [/* @__PURE__ */ r("div", {
41
+ class: "IncodeConsentBody",
42
+ children: [
43
+ /* @__PURE__ */ r(s, {
44
+ ref: _,
45
+ className: "IncodeConsentTitle",
46
+ tabIndex: -1,
47
+ children: v.title
48
+ }),
49
+ /* @__PURE__ */ r("p", {
50
+ class: "IncodeConsentSubtitle",
51
+ children: g("biometricConsent.subtitle")
52
+ }),
53
+ /* @__PURE__ */ r("div", {
54
+ class: "IncodeConsentCheckboxList",
55
+ children: /* @__PURE__ */ r(u, {
56
+ id: "mandatory-consent-checkbox",
57
+ class: "IncodeConsentCheckbox",
58
+ checked: v.isSigned,
59
+ required: !0,
60
+ onChange: () => y.toggle(),
61
+ label: /* @__PURE__ */ r("span", {
62
+ class: "IncodeConsentCheckboxLabel",
63
+ onClick: (e) => {
64
+ e.target.closest("a") && e.stopPropagation();
65
+ },
66
+ children: /* @__PURE__ */ r(f, {
67
+ content: b,
68
+ class: "IncodeRichText"
69
+ })
70
+ })
71
+ })
72
+ })
73
+ ]
74
+ }), /* @__PURE__ */ r("div", {
75
+ class: "IncodeConsentActions",
76
+ children: [/* @__PURE__ */ r(l, {
77
+ "data-testid": "mandatory-consent-submit",
78
+ class: "IncodeConsentButton",
79
+ onClick: () => y.submit(),
80
+ disabled: !v.canSubmit,
81
+ isLoading: v.status === "submitting",
82
+ children: g("biometricConsent.button.continue")
83
+ }), /* @__PURE__ */ r(l, {
84
+ variant: "link",
85
+ onClick: () => y.cancel(),
86
+ children: g("biometricConsent.button.cancel")
87
+ })]
88
+ })]
89
+ })
90
+ }, "ready");
91
+ }, h = ({ config: e, manager: t, onFinish: n, onError: i }) => /* @__PURE__ */ r(a, { children: e ? /* @__PURE__ */ r(m, {
92
+ config: e,
93
+ manager: t,
94
+ onFinish: n,
95
+ onError: i
96
+ }) : null });
97
+ d(h, "incode-mandatory-consent");
98
+ //#endregion
99
+ export { h as MandatoryConsent };
@@ -2,8 +2,8 @@ import { n as e } from "./i18n-BnVa5Y-_.js";
2
2
  import { _ as t, h as n, l as r, p as i, v as a } from "./vendor-preact-D6SntenC.js";
3
3
  import { t as o } from "./spacer-DCljE53A.js";
4
4
  import { t as s } from "./button-4-ToV5B_.js";
5
- import { t as c } from "./inputComposed-C6nVSZj3.js";
6
- import "./inputComposed-CE8ClsSG.js";
5
+ import { t as c } from "./inputComposed-vU4G5kX-.js";
6
+ import "./inputComposed-Cyw5Vf6f.js";
7
7
  //#region src/shared/otpInput/otpInput.tsx
8
8
  var l = 6, u = (e) => `${Math.floor(e / 60)}:${(e % 60).toString().padStart(2, "0")}`, d = (e) => e.replace(/[^a-zA-Z0-9]/g, "").toUpperCase().slice(0, l), f = ({ resendTimer: f, canResend: p, error: m, onSubmit: h, onResend: g, onBack: _, backLinkText: v = "otp.changePhoneNumber", disabled: y = !1, isLoading: b = !1 }) => {
9
9
  let { t: x } = e(), [S, C] = i(""), w = r(null), T = r(0), E = r(null), D = r(null), O = r(p), k = r(!1), A = r(), j = n((e) => {
@@ -4,9 +4,9 @@ import { o as r, t as i } from "../incodeComponent-DEt7nOim.js";
4
4
  import { t as a } from "../spacer-DCljE53A.js";
5
5
  import { t as o } from "../page-D5Mt-0zn.js";
6
6
  import { t as s } from "../button-4-ToV5B_.js";
7
- import { t as c } from "../otpInput-mIxWLuT4.js";
7
+ import { t as c } from "../otpInput-B_ItrMcK.js";
8
8
  import { t as l } from "../checkbox-DbHg0n25.js";
9
- import { t as u } from "../phoneInputComposed-CAqOlbXd.js";
9
+ import { t as u } from "../phoneInputComposed-CzxoNJ5b.js";
10
10
  import { t as d } from "../incodeModule-DcwjDRyJ.js";
11
11
  import { createPhoneManager as f } from "@incodetech/core/phone";
12
12
  //#region src/modules/phone/phone.tsx
@@ -1,7 +1,7 @@
1
1
  import { _ as e, a as t, d as n, h as r, l as i, p as a, v as o } from "./vendor-preact-D6SntenC.js";
2
2
  import { h as s } from "./icons-D3J-STBD.js";
3
3
  import { t as c } from "./successIcon-C4GI_9SU.js";
4
- import { t as l } from "./inputComposed-C6nVSZj3.js";
4
+ import { t as l } from "./inputComposed-vU4G5kX-.js";
5
5
  import { i as u, r as d, t as f, u as p } from "./countries-Bbn2lyxr.js";
6
6
  import { n as m, r as h, t as g } from "./AsYouType-C9ozHT0m.js";
7
7
  import { t as _ } from "./dropdownComposed-CjD4OMiN.js";
@@ -1350,7 +1350,7 @@ var C = ({ logoSrc: e }) => {
1350
1350
  })
1351
1351
  ]
1352
1352
  });
1353
- }, ae = a(() => import("./phoneInput-LMlmFvJD.js").then((e) => ({ default: e.PhoneInput }))), oe = ({ countryCode: e, phonePrefix: n, error: i, isSending: a, isPhoneValid: o, onPhoneChange: c, onSendSms: u }) => {
1353
+ }, ae = a(() => import("./phoneInput-BvMryqbJ.js").then((e) => ({ default: e.PhoneInput }))), oe = ({ countryCode: e, phonePrefix: n, error: i, isSending: a, isPhoneValid: o, onPhoneChange: c, onSendSms: u }) => {
1354
1354
  let { t: d } = t();
1355
1355
  return /* @__PURE__ */ l(r, { children: [/* @__PURE__ */ l(s, {
1356
1356
  fallback: /* @__PURE__ */ l(g, {}),
@@ -2,13 +2,13 @@ import { _ as e, v as t } from "../vendor-preact-D6SntenC.js";
2
2
  import { o as n, t as r } from "../incodeComponent-DEt7nOim.js";
3
3
  import { t as i } from "../transitionSpinner-DLUM_WN2.js";
4
4
  import { t as a } from "../processing-CfA0-82J.js";
5
- import { n as o, r as s, t as c } from "../tutorial-D6avi30-.js";
5
+ import { n as o, r as s, t as c } from "../tutorial-CAfpDlUG.js";
6
6
  import { t as l } from "../incodeModule-DcwjDRyJ.js";
7
7
  import { createSelfieManager as u } from "@incodetech/core/selfie";
8
8
  //#region src/modules/selfie/preloadTutorialAssets.ts
9
9
  var d = !1;
10
10
  function f() {
11
- d || (d = !0, import("../selfieTutorial-D8I_4Oam.js"));
11
+ d || (d = !0, import("../selfieTutorial-CmGGVE4q.js"));
12
12
  }
13
13
  //#endregion
14
14
  //#region src/modules/selfie/selfie.tsx
@@ -1170,7 +1170,7 @@
1170
1170
  --page-header-height: 44px;
1171
1171
  --incode-page-max-w: 800px;
1172
1172
  --incode-page-max-h: 840px;
1173
- --incode-page-max-w-title: 420px;
1173
+ --incode-form-max-w: 420px;
1174
1174
  --incode-page-max-h-landscape: 726px;
1175
1175
  --dialog-content-max-width: 390px;
1176
1176
 
@@ -1170,7 +1170,7 @@
1170
1170
  --page-header-height: 44px;
1171
1171
  --incode-page-max-w: 800px;
1172
1172
  --incode-page-max-h: 840px;
1173
- --incode-page-max-w-title: 420px;
1173
+ --incode-form-max-w: 420px;
1174
1174
  --incode-page-max-h-landscape: 726px;
1175
1175
  --dialog-content-max-width: 390px;
1176
1176
 
@@ -2526,7 +2526,7 @@ var ye = ({ manager: t, permissionStatus: n }) => {
2526
2526
  }, je = ({ manager: t }) => {
2527
2527
  let { t: n } = e(), [i, a] = c(!1), [o, s] = c(null);
2528
2528
  return r(() => {
2529
- import("./selfieTutorial-D8I_4Oam.js").then((e) => {
2529
+ import("./selfieTutorial-CmGGVE4q.js").then((e) => {
2530
2530
  s(e.default);
2531
2531
  });
2532
2532
  }, []), /* @__PURE__ */ l(A, {
@@ -0,0 +1 @@
1
+ export {}
@@ -117,7 +117,7 @@ async function w() {
117
117
  }
118
118
  //#endregion
119
119
  //#region src/modules/flow/flowInit.ts
120
- var T = () => import("./id/id.es.js").then((e) => e.Id), E = () => import("./homeScreen-DJDHFnIu.js").then((e) => e.HomeScreen), D;
120
+ var T = () => import("./id/id.es.js").then((e) => e.Id), E = () => import("./homeScreen-CkcAO4Ag.js").then((e) => e.HomeScreen), D;
121
121
  function O(e) {
122
122
  if (e === "REDIRECT_TO_MOBILE") return () => import("@incodetech/core/redirect-to-mobile").then((e) => e.redirectToMobileMachine);
123
123
  if (e === "PHONE") return () => import("@incodetech/core/phone").then((e) => e.phoneMachine);
@@ -125,6 +125,7 @@ function O(e) {
125
125
  if (e === "SELFIE") return () => import("@incodetech/core/selfie").then((e) => e.selfieMachine);
126
126
  if (e === "AUTHENTICATION") return () => import("@incodetech/core/authentication").then((e) => e.authenticationMachine);
127
127
  if (e === "ID" || e === "TUTORIAL_ID" || e === "SECOND_ID") return () => import("@incodetech/core/id").then((e) => e.idCaptureMachine);
128
+ if (e === "ID_OCR") return () => import("@incodetech/core/id-ocr").then((e) => e.idOcrStateMachine);
128
129
  if (e === "FACE_MATCH") return () => import("@incodetech/core/face-match").then((e) => e.faceMatchMachine);
129
130
  if (e === "CURP_VALIDATION") return () => import("@incodetech/core/curp-validation").then((e) => e.curpValidationMachine);
130
131
  if (e === "GOVT_VALIDATION_PROVISIONING") return () => import("@incodetech/core/government-validation").then((e) => e.governmentValidationMachine);
@@ -154,7 +155,7 @@ function k(e) {
154
155
  return t;
155
156
  }
156
157
  var A = {
157
- REDIRECT_TO_MOBILE: () => import("./redirectToMobile-o24bjaIX.js").then((e) => e.RedirectToMobile),
158
+ REDIRECT_TO_MOBILE: () => import("./redirectToMobile-CMdQhX3j.js").then((e) => e.RedirectToMobile),
158
159
  PHONE: () => import("./phone/phone.es.js").then((e) => e.Phone),
159
160
  EMAIL: () => import("./email/email.es.js").then((e) => e.Email),
160
161
  SELFIE: () => import("./selfie/selfie.es.js").then((e) => e.Selfie),
@@ -167,17 +168,18 @@ var A = {
167
168
  CURP_VALIDATION: () => import("./curp-validation/curp-validation.es.js").then((e) => e.CurpValidation),
168
169
  GOVT_VALIDATION_PROVISIONING: () => import("./governmentValidation/governmentValidation.es.js").then((e) => e.GovernmentValidation),
169
170
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
170
- EXTERNAL_VERIFICATION: () => import("./ekycModule-Cio7auBr.js").then((e) => e.EkycModule),
171
- EKYB: () => import("./ekybModule-CG0oDDSI.js").then((e) => e.EkybModule),
172
- DOCUMENT_CAPTURE: () => import("./documentCapture-BDiV75I-.js").then((e) => e.DocumentCapture),
173
- ADDRESS: () => import("./documentCapture-BDiV75I-.js").then((e) => e.DocumentCapture),
171
+ EXTERNAL_VERIFICATION: () => import("./ekycModule-Z2hOCcCU.js").then((e) => e.EkycModule),
172
+ EKYB: () => import("./ekybModule-C9wpmHp1.js").then((e) => e.EkybModule),
173
+ DOCUMENT_CAPTURE: () => import("./documentCapture-BqduvRtm.js").then((e) => e.DocumentCapture),
174
+ ADDRESS: () => import("./documentCapture-BqduvRtm.js").then((e) => e.DocumentCapture),
174
175
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
175
- MANDATORY_CONSENT: () => import("./mandatoryConsent-DkPINnNR.js").then((e) => e.MandatoryConsent),
176
+ MANDATORY_CONSENT: () => import("./mandatoryConsent-Cs8VVPyI.js").then((e) => e.MandatoryConsent),
176
177
  SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
178
+ ID_OCR: () => import("./idOcr-Ddb5MkER.js").then((e) => e.IdOcr),
177
179
  ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud),
178
- CUSTOM_FIELDS: () => import("./customFields-D7JzF2v_.js").then((e) => e.CustomFields),
180
+ CUSTOM_FIELDS: () => import("./customFields-ByZ0CUT5.js").then((e) => e.CustomFields),
179
181
  WATCHLIST: () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist),
180
- WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-BUkAxhsg.js").then((e) => e.WatchlistForBusiness),
182
+ WATCHLIST_BUSINESS: () => import("./watchlistForBusiness-DxiEnt9E.js").then((e) => e.WatchlistForBusiness),
181
183
  INCODE_WATCHLIST: () => import("./customWatchlist-BSo5YDZA.js").then((e) => e.CustomWatchlist),
182
184
  AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((e) => e.AeSignature),
183
185
  QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((e) => e.QeSignature),
@@ -5,7 +5,7 @@ import { t as o } from "./page-D5Mt-0zn.js";
5
5
  import { t as s } from "./loadingIcon-wTrHZMGC.js";
6
6
  import { t as c } from "./button-4-ToV5B_.js";
7
7
  import { t as l } from "./successIcon-C4GI_9SU.js";
8
- import { t as u } from "./inputComposed-C6nVSZj3.js";
8
+ import { t as u } from "./inputComposed-vU4G5kX-.js";
9
9
  import { t as d } from "./incodeModule-DcwjDRyJ.js";
10
10
  import { t as f } from "./countrySelector-CITUWfI7.js";
11
11
  import { t as p } from "./statusPage-D7dFp1u5.js";
@@ -458,6 +458,11 @@
458
458
  font-weight: var(--typography-button-m-underlined-weight);
459
459
  line-height: var(--typography-button-m-underlined-line-height);
460
460
  letter-spacing: var(--typography-button-m-underlined-letter-spacing);
461
+ font-family: var(--typography-button-family);
462
+ font-size: var(--typography-button-m-underlined-size);
463
+ font-weight: var(--typography-button-m-underlined-weight);
464
+ line-height: var(--typography-button-m-underlined-line-height);
465
+ letter-spacing: var(--typography-button-m-underlined-letter-spacing);
461
466
  text-decoration-line: underline;
462
467
  text-decoration-style: solid;
463
468
  text-decoration-thickness: auto;
@@ -3859,6 +3864,51 @@
3859
3864
  }
3860
3865
  }
3861
3866
 
3867
+ @media (min-width: 40rem) {
3868
+ .IncodeCommonIssuesFullScreen .IncodeModalContent {
3869
+ max-width: 40rem;
3870
+ }
3871
+ }
3872
+
3873
+ @media (min-width: 48rem) {
3874
+ .IncodeCommonIssuesFullScreen .IncodeModalContent {
3875
+ max-width: 48rem;
3876
+ }
3877
+ }
3878
+
3879
+ @media (min-width: 64rem) {
3880
+ .IncodeCommonIssuesFullScreen .IncodeModalContent {
3881
+ max-width: 64rem;
3882
+ }
3883
+ }
3884
+
3885
+ @media (min-width: 80rem) {
3886
+ .IncodeCommonIssuesFullScreen .IncodeModalContent {
3887
+ max-width: 80rem;
3888
+ }
3889
+ }
3890
+
3891
+ @media (min-width: 96rem) {
3892
+ .IncodeCommonIssuesFullScreen .IncodeModalContent {
3893
+ max-width: 96rem;
3894
+ }
3895
+ }
3896
+
3897
+ @media (min-width: 48rem) {
3898
+ .IncodeCommonIssuesFullScreen .IncodeModalContent {
3899
+ max-height: var(--incode-page-max-h);
3900
+ max-width: var(--incode-page-max-w);
3901
+ }
3902
+
3903
+ @media not all and (min-width: 80rem) {
3904
+ @media (orientation: landscape) {
3905
+ .IncodeCommonIssuesFullScreen .IncodeModalContent {
3906
+ max-height: var(--incode-page-max-h-landscape);
3907
+ }
3908
+ }
3909
+ }
3910
+ }
3911
+
3862
3912
  .IncodeCommonIssuesFullScreen .IncodeModalContent {
3863
3913
  width: 100%;
3864
3914
  }
@@ -4779,6 +4829,80 @@
4779
4829
  overflow: hidden;
4780
4830
  }
4781
4831
 
4832
+ .IncodeIdOcrPage {
4833
+ width: 100%;
4834
+ height: 100%;
4835
+ margin-inline: auto;
4836
+ animation: .4s ease-out fadeIn;
4837
+ }
4838
+
4839
+ @media (min-width: 48rem) {
4840
+ .IncodeIdOcrPage.IncodePageContainer {
4841
+ align-items: stretch;
4842
+ }
4843
+ }
4844
+
4845
+ .IncodeIdOcrPage .IncodePageInner {
4846
+ height: 100%;
4847
+ min-height: var(--spacing-0, var(--spacing-none, 0px));
4848
+ }
4849
+
4850
+ .IncodeIdOcrPage .IncodePageContent {
4851
+ min-height: var(--spacing-0, var(--spacing-none, 0px));
4852
+ }
4853
+
4854
+ .IncodeIdOcrForm {
4855
+ margin-top: var(--spacing-32, var(--spacing-32, 32px));
4856
+ height: 100%;
4857
+ min-height: var(--spacing-0, var(--spacing-none, 0px));
4858
+ justify-content: flex-start;
4859
+ align-items: center;
4860
+ gap: var(--spacing-16, var(--spacing-16, 16px));
4861
+ flex-direction: column;
4862
+ width: 100%;
4863
+ display: flex;
4864
+ overflow-y: auto;
4865
+ }
4866
+
4867
+ .IncodeIdOcrButton {
4868
+ bottom: var(--spacing-0, var(--spacing-none, 0px));
4869
+ width: 100%;
4870
+ padding-block: var(--spacing-16, var(--spacing-16, 16px));
4871
+ position: sticky;
4872
+ }
4873
+
4874
+ .IncodeIdOcrSpinner {
4875
+ justify-content: center;
4876
+ align-items: center;
4877
+ gap: var(--spacing-16, var(--spacing-16, 16px));
4878
+ flex-direction: column;
4879
+ flex: 1;
4880
+ display: flex;
4881
+ }
4882
+
4883
+ .IncodeIdOcrRadioGroup {
4884
+ width: 100%;
4885
+ max-width: var(--incode-form-max-w);
4886
+ gap: var(--spacing-16, var(--spacing-16, 16px));
4887
+ flex-direction: column;
4888
+ display: flex;
4889
+ }
4890
+
4891
+ .IncodeIdOcrRadioOptionsLabel {
4892
+ font-family: var(--typography-label-family);
4893
+ font-size: var(--typography-label-m-size);
4894
+ font-weight: var(--typography-label-m-weight);
4895
+ line-height: var(--typography-label-m-line-height);
4896
+ letter-spacing: var(--typography-label-m-letter-spacing);
4897
+ color: var(--color-input-text-label-default, var(--input-text-label-default));
4898
+ }
4899
+
4900
+ .IncodeIdOcrRadioOptions {
4901
+ gap: var(--spacing-20, var(--spacing-20, 20px));
4902
+ width: 100%;
4903
+ display: flex;
4904
+ }
4905
+
4782
4906
  .IncodeDocumentUploadPage {
4783
4907
  background-color: var(--color-surface-neutral-900, var(--surface-neutral-900));
4784
4908
  }
@@ -6326,6 +6450,10 @@
6326
6450
  display: inline;
6327
6451
  }
6328
6452
 
6453
+ .IncodeConsentPage .IncodeConsentCheckboxLabel .IncodeRichText .markup a, .IncodeConsentPage .IncodeConsentCheckboxLabel .IncodeRichText a {
6454
+ color: var(--color-surface-brand-600, var(--surface-brand-600-static));
6455
+ }
6456
+
6329
6457
  .IncodeConsentPage .IncodeCheckboxRequired {
6330
6458
  margin-left: var(--spacing-0, var(--spacing-none, 0px));
6331
6459
  color: var(--color-text-body-primary, var(--text-body-800-primary));
@@ -5,13 +5,13 @@ import { o, t as s } from "../incodeComponent-DEt7nOim.js";
5
5
  import "../spinner-BmFWJNHp.js";
6
6
  import { t as c } from "../transitionSpinner-DLUM_WN2.js";
7
7
  import { t as l } from "../incodeModule-DcwjDRyJ.js";
8
- import { a as u, f as d, i as f, m as p, t as m } from "../useModuleLoader-orDv3Be3.js";
8
+ import { a as u, f as d, i as f, m as p, t as m } from "../useModuleLoader-CNBI_JLP.js";
9
9
  import { resolveWasmConfig as h, warmupWasm as g } from "@incodetech/core/wasm";
10
10
  import { createWorkflowManager as _ } from "@incodetech/core/workflow";
11
11
  //#region src/modules/workflow/workflowInit.ts
12
12
  var v = {
13
13
  ...u,
14
- REDIRECT_TO_MOBILE: () => import("../redirectToMobile-o24bjaIX.js").then((e) => e.RedirectToMobile)
14
+ REDIRECT_TO_MOBILE: () => import("../redirectToMobile-CMdQhX3j.js").then((e) => e.RedirectToMobile)
15
15
  };
16
16
  async function y() {
17
17
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260423-427a341",
3
+ "version": "0.0.0-dev-20260423-672ea74",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -229,7 +229,7 @@
229
229
  "qrcode": "^1.5.4",
230
230
  "signature_pad": "^5.1.3",
231
231
  "tailwindcss": "^4.1.17",
232
- "@incodetech/core": "0.0.0-dev-20260423-427a341"
232
+ "@incodetech/core": "0.0.0-dev-20260423-672ea74"
233
233
  },
234
234
  "devDependencies": {
235
235
  "@microsoft/api-extractor": "^7.53.3",
@@ -1 +0,0 @@
1
- import "./dateInputComposed-ChNk6tA6.js";
@@ -1,2 +0,0 @@
1
- import { t as e } from "./ekybModule-DvKrNQHb.js";
2
- export { e as EkybModule };
@@ -1,2 +0,0 @@
1
- import { t as e } from "./ekycModule-Bb686qen.js";
2
- export { e as EkycModule };
@@ -1 +0,0 @@
1
- import "./inputComposed-C6nVSZj3.js";
@@ -1,94 +0,0 @@
1
- import { n as e } from "./i18n-BnVa5Y-_.js";
2
- import { _ as t, v as n } from "./vendor-preact-D6SntenC.js";
3
- import { o as r, t as i } from "./incodeComponent-DEt7nOim.js";
4
- import { t as a } from "./page-D5Mt-0zn.js";
5
- import { t as o } from "./transitionSpinner-DLUM_WN2.js";
6
- import { t as s } from "./button-4-ToV5B_.js";
7
- import { t as c } from "./checkbox-DbHg0n25.js";
8
- import { t as l } from "./incodeModule-DcwjDRyJ.js";
9
- import { t as u } from "./richText-DPdexfgN.js";
10
- import { createMandatoryConsentManager as d } from "@incodetech/core/mandatory-consent";
11
- //#region src/modules/mandatory-consent/mandatoryConsent.tsx
12
- var f = ({ config: i, manager: l, onFinish: f, onError: p }) => {
13
- let { t: m } = e(), [h, g] = r(() => l ?? d({ config: i }), { manageLifecycle: !l });
14
- if (t(() => {
15
- if (h.status === "finished") {
16
- f?.();
17
- return;
18
- }
19
- if (h.status === "closed") {
20
- p?.(void 0);
21
- return;
22
- }
23
- h.status === "error" && p?.(h.error);
24
- }, [
25
- h,
26
- f,
27
- p
28
- ]), h.status === "finished" || h.status === "closed" || h.status === "error") return null;
29
- if (h.status === "idle" || h.status === "loading") return /* @__PURE__ */ n(o, { hideText: !0 });
30
- let _ = h.text.split("\n").filter((e) => e.trim().length > 0).join(" ");
31
- return /* @__PURE__ */ n(a, {
32
- className: "IncodeConsentPage",
33
- hideFooterBranding: !0,
34
- hideHeader: !0,
35
- children: /* @__PURE__ */ n("div", {
36
- class: "IncodeConsentContent",
37
- children: [/* @__PURE__ */ n("div", {
38
- class: "IncodeConsentBody",
39
- children: [
40
- /* @__PURE__ */ n("h1", {
41
- id: "mandatory-consent-title",
42
- class: "IncodeConsentTitle",
43
- children: h.title
44
- }),
45
- /* @__PURE__ */ n("p", {
46
- class: "IncodeConsentSubtitle",
47
- children: m("biometricConsent.subtitle")
48
- }),
49
- /* @__PURE__ */ n("div", {
50
- class: "IncodeConsentCheckboxList",
51
- children: /* @__PURE__ */ n(c, {
52
- id: "mandatory-consent-checkbox",
53
- class: "IncodeConsentCheckbox",
54
- checked: h.isSigned,
55
- onChange: () => g.toggle(),
56
- label: /* @__PURE__ */ n("span", {
57
- class: "IncodeConsentCheckboxLabel",
58
- onClick: (e) => {
59
- e.target.closest("a") && e.stopPropagation();
60
- },
61
- children: /* @__PURE__ */ n(u, {
62
- content: _,
63
- class: "IncodeRichText"
64
- })
65
- })
66
- })
67
- })
68
- ]
69
- }), /* @__PURE__ */ n("div", {
70
- class: "IncodeConsentActions",
71
- children: [/* @__PURE__ */ n(s, {
72
- "data-testid": "mandatory-consent-submit",
73
- class: "IncodeConsentButton",
74
- onClick: () => g.submit(),
75
- disabled: !h.canSubmit,
76
- isLoading: h.status === "submitting",
77
- children: m("biometricConsent.button.continue")
78
- }), /* @__PURE__ */ n(s, {
79
- variant: "link",
80
- onClick: () => g.cancel(),
81
- children: m("biometricConsent.button.cancel")
82
- })]
83
- })]
84
- })
85
- });
86
- }, p = ({ config: e, manager: t, onFinish: r, onError: a }) => /* @__PURE__ */ n(i, { children: e ? /* @__PURE__ */ n(f, {
87
- config: e,
88
- manager: t,
89
- onFinish: r,
90
- onError: a
91
- }) : null });
92
- l(p, "incode-mandatory-consent");
93
- //#endregion
94
- export { p as MandatoryConsent };