@incodetech/web 0.0.0-dev-20260601-9fa409c7 → 0.0.0-dev-20260602-ff711e15

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 (32) hide show
  1. package/dist/authentication/authentication.es.js +1 -1
  2. package/dist/document-capture/document-capture.es.js +1 -1
  3. package/dist/documentCapture-D1gqvceX.js +2 -0
  4. package/dist/{documentCapture-CB4glVGy.js → documentCapture-iOWGqDPs.js} +2 -2
  5. package/dist/{dynamicForms-BHcxEnlf.js → dynamicForms--QABs5Et.js} +1 -1
  6. package/dist/ekyb/ekyb.es.js +1 -1
  7. package/dist/{ekybModule-D9Jz6HVg.js → ekybModule-B_llb8Bg.js} +1 -1
  8. package/dist/ekybModule-DjuMD0Od.js +2 -0
  9. package/dist/email/email.es.js +1 -1
  10. package/dist/{emailInput-BTGV9LFO.js → emailInput-LJYmDI13.js} +1 -1
  11. package/dist/{extensibility-CdQUXbfp.js → extensibility-B9GEh3sh.js} +9 -4
  12. package/dist/extensibility.es.js +2 -2
  13. package/dist/field-comparison/field-comparison.es.js +1 -1
  14. package/dist/fieldComparison-DU5SBjQC.js +2 -0
  15. package/dist/{fieldComparison-D3vsvjqB.js → fieldComparison-HxcCweJD.js} +1 -1
  16. package/dist/flow/flow.es.js +1 -1
  17. package/dist/flow/styles.css +2 -11
  18. package/dist/governmentValidation/governmentValidation.es.js +1 -1
  19. package/dist/id/id.es.js +239 -251
  20. package/dist/id/styles.css +2 -11
  21. package/dist/{idOcr-BmgJEx84.js → idOcr-Y1FQ5EHz.js} +1 -1
  22. package/dist/selfie/selfie.es.js +1 -1
  23. package/dist/signature/signature.es.js +1 -1
  24. package/dist/{tutorial-Bfx3sKrS.js → tutorial-ulk5gozo.js} +101 -112
  25. package/dist/types/extensibility.d.ts +13 -12
  26. package/dist/{useModuleLoader-Dt8aHEOG.js → useModuleLoader-C0S38FBd.js} +6 -6
  27. package/dist/workflow/styles.css +2 -11
  28. package/dist/workflow/workflow.es.js +1 -1
  29. package/package.json +2 -2
  30. package/dist/documentCapture-5i8YYcMl.js +0 -2
  31. package/dist/ekybModule-DGZRljZd.js +0 -2
  32. package/dist/fieldComparison-BzmJFXup.js +0 -2
@@ -1172,25 +1172,16 @@
1172
1172
  overflow: hidden;
1173
1173
  }
1174
1174
 
1175
- .IncodeDigitalIdUploadPage .IncodeDigitalIdUploadProgressBar {
1175
+ .IncodeDigitalIdUploadPage .IncodeDigitalIdUploadProgressBar .IncodeProgressBar {
1176
1176
  border-radius: var(--radius-full, var(--border-radius-full));
1177
1177
  background-color: var(--color-surface-neutral-200, var(--surface-neutral-200));
1178
1178
  width: var(--digital-id-progress-bar-w);
1179
1179
  height: var(--digital-id-progress-bar-h);
1180
- position: relative;
1181
1180
  overflow: hidden;
1182
1181
  }
1183
1182
 
1184
- .IncodeDigitalIdUploadPage .IncodeDigitalIdUploadProgressBar > span {
1185
- top: var(--spacing-0, var(--spacing-none, 0px));
1186
- left: var(--spacing-0, var(--spacing-none, 0px));
1183
+ .IncodeDigitalIdUploadPage .IncodeDigitalIdUploadProgressBar .IncodeProgressBarFill {
1187
1184
  border-radius: var(--radius-full, var(--border-radius-full));
1188
- height: 100%;
1189
- transition-property: all;
1190
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
1191
- transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
1192
- background-color: var(--color-icon-status-positive, var(--icon-status-positive));
1193
- position: absolute;
1194
1185
  }
1195
1186
 
1196
1187
  .IncodeDigitalIdUploadPage .IncodeDigitalIdUploadLaserOverlay {
@@ -3,7 +3,7 @@ import { d as t, v as n } from "./vendor-preact-D6SntenC.js";
3
3
  import { c as r, o as i } from "./hooks-vuWWj6VY.js";
4
4
  import { t as a } from "./incodeComponent-CxgaQt0Z.js";
5
5
  import { t as o } from "./page-C1yT4DLb.js";
6
- import "./extensibility-CdQUXbfp.js";
6
+ import "./extensibility-B9GEh3sh.js";
7
7
  import { t as s } from "./button-DcCUEn2n.js";
8
8
  import { t as c } from "./verificationResult-V15L4ypC.js";
9
9
  import { t as l } from "./inputComposed-DAEey9xm.js";
@@ -3,7 +3,7 @@ import { a as n, c as r, o as i } from "../hooks-vuWWj6VY.js";
3
3
  import { t as a } from "../incodeComponent-CxgaQt0Z.js";
4
4
  import { t as o } from "../transitionSpinner-Di3bOyOu.js";
5
5
  import { t as s } from "../processing-DPktVde2.js";
6
- import { n as c, r as l, t as u } from "../tutorial-Bfx3sKrS.js";
6
+ import { n as c, r as l, t as u } from "../tutorial-ulk5gozo.js";
7
7
  import { t as d } from "../incodeModule-BiCoAJ5k.js";
8
8
  import { createSelfieManager as f } from "@incodetech/core/selfie";
9
9
  //#region src/modules/selfie/preloadTutorialAssets.ts
@@ -4,7 +4,7 @@ import { c, o as l } from "../hooks-vuWWj6VY.js";
4
4
  import { t as u } from "../incodeComponent-CxgaQt0Z.js";
5
5
  import { r as d } from "../loadingIcon-BN5YRQUb.js";
6
6
  import { t as f } from "../page-C1yT4DLb.js";
7
- import "../extensibility-CdQUXbfp.js";
7
+ import "../extensibility-B9GEh3sh.js";
8
8
  import { t as p } from "../button-DcCUEn2n.js";
9
9
  import { t as m } from "../verificationResult-V15L4ypC.js";
10
10
  import { t as h } from "../incodeModule-BiCoAJ5k.js";
@@ -73,48 +73,56 @@ var O = ({ title: e, description: n, attemptsRemaining: r, onButtonClick: a, "da
73
73
  async function te() {
74
74
  return k || (k = import("./lottie_light-DLqSnziX.js").then((t) => /* @__PURE__ */ e(t.default, 1)).then((e) => e.default), k);
75
75
  }
76
- function A({ animationData: e, loop: t = !0, autoplay: n = !0, reverse: r = !1, style: a, className: o, onComplete: c, onControlsReady: l }) {
77
- let d = s(null), f = r ? !1 : n, p = s({
78
- container: d.current,
76
+ var ne = 5e3;
77
+ function A({ animationData: e, loop: t = !0, autoplay: n = !0, reverse: r = !1, style: a, className: o, onComplete: c, autoStop: l = !1, stopFramePosition: d }) {
78
+ let f = s(null), p = r ? !1 : n, m = s({
79
+ container: f.current,
79
80
  renderer: "svg",
80
81
  loop: t,
81
- autoplay: f,
82
+ autoplay: p,
82
83
  animationData: e
83
84
  });
84
85
  return i(() => {
85
- p.current = {
86
- container: d.current,
86
+ m.current = {
87
+ container: f.current,
87
88
  renderer: "svg",
88
89
  loop: t,
89
- autoplay: f,
90
+ autoplay: p,
90
91
  animationData: e
91
92
  };
92
93
  }, [
93
94
  e,
94
95
  t,
95
- f
96
+ p
96
97
  ]), i(() => {
97
- if (!d.current) return;
98
- let e, t = !0;
99
- return te().then((n) => {
100
- t && (e = n.loadAnimation(p.current), r && (e.setDirection(-1), e.goToAndPlay(e.totalFrames - 1, !0)), c && e.addEventListener("complete", c), l?.({
101
- setSpeed: (t) => e?.setSpeed(t),
102
- play: () => e?.play(),
103
- pause: () => e?.pause(),
104
- stop: () => e?.stop(),
105
- goToAndPlay: (t, n = !1) => e?.goToAndPlay(t, n),
106
- goToAndStop: (t, n = !1) => e?.goToAndStop(t, n),
107
- getTotalFrames: () => e?.totalFrames ?? null
108
- }));
98
+ if (!f.current) return;
99
+ let e, t, n = !0;
100
+ return te().then((i) => {
101
+ n && (e = i.loadAnimation(m.current), r && (e.setDirection(-1), e.goToAndPlay(e.totalFrames - 1, !0)), c && e.addEventListener("complete", c), l && (t = window.setTimeout(() => {
102
+ let t = e;
103
+ if (!t) return;
104
+ if (!d) {
105
+ t.pause();
106
+ return;
107
+ }
108
+ let n = t.totalFrames;
109
+ if (!n || n <= 0) {
110
+ t.stop();
111
+ return;
112
+ }
113
+ let r = d === "last" ? Math.max(n - 1, 0) : d === "first" ? 0 : Math.floor((n - 1) / 2);
114
+ t.goToAndStop(r, !0);
115
+ }, ne)));
109
116
  }), () => {
110
- t = !1, l?.(null), e && (c && e.removeEventListener("complete", c), e.destroy());
117
+ n = !1, t !== void 0 && window.clearTimeout(t), e && (c && e.removeEventListener("complete", c), e.destroy());
111
118
  };
112
119
  }, [
113
120
  c,
121
+ r,
114
122
  l,
115
- r
123
+ d
116
124
  ]), /* @__PURE__ */ u("div", {
117
- ref: d,
125
+ ref: f,
118
126
  style: a,
119
127
  className: o,
120
128
  "aria-hidden": "true"
@@ -122,55 +130,36 @@ function A({ animationData: e, loop: t = !0, autoplay: n = !0, reverse: r = !1,
122
130
  }
123
131
  //#endregion
124
132
  //#region src/shared/baseTutorial/baseTutorial.tsx
125
- var ne = 5e3, j = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle: a, onContinue: c, buttonText: l, disclaimerText: d, isLoading: p, stopFramePosition: m = "middle" }) => {
126
- let g = s(null), _ = o((e) => {
127
- g.current = e;
128
- }, []);
129
- return i(() => {
130
- let e = window.setTimeout(() => {
131
- let e = g.current;
132
- if (!e) return;
133
- let t = e.getTotalFrames();
134
- if (!t || t <= 0) {
135
- e.stop();
136
- return;
137
- }
138
- let n = m === "last" ? Math.max(t - 1, 0) : m === "first" ? 0 : Math.floor((t - 1) / 2);
139
- e.goToAndStop(n, !0);
140
- }, ne);
141
- return () => {
142
- window.clearTimeout(e);
143
- };
144
- }, [m]), /* @__PURE__ */ u(h, {
145
- className: f("IncodeTutorialPage", e),
146
- title: n,
147
- titleId: r,
148
- subtitle: a,
149
- children: [/* @__PURE__ */ u("div", {
150
- class: "IncodeBaseTutorialContainer",
151
- children: /* @__PURE__ */ u("div", {
152
- class: "IncodeBaseTutorialAnimationContainer",
153
- "aria-hidden": "true",
154
- children: t ? /* @__PURE__ */ u(A, {
155
- animationData: t,
156
- className: "IncodeBaseTutorialAnimation",
157
- onControlsReady: _
158
- }) : null
159
- })
160
- }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ u("p", {
161
- class: "IncodeBaseTutorialDisclaimer",
162
- children: d
163
- }), /* @__PURE__ */ u("div", {
164
- class: "IncodeBaseTutorialButtonContainer",
165
- children: /* @__PURE__ */ u(b, {
166
- onClick: c,
167
- class: "m-auto max-w-[420px]",
168
- isLoading: p,
169
- children: l
170
- })
171
- })] })]
172
- });
173
- }, re = ({ i18nKey: e }) => /* @__PURE__ */ u("span", {
133
+ var j = ({ className: e = "", animationData: t, title: n, titleId: r, subtitle: i, onContinue: a, buttonText: o, disclaimerText: s, isLoading: c, stopFramePosition: l = "middle" }) => /* @__PURE__ */ u(h, {
134
+ className: f("IncodeTutorialPage", e),
135
+ title: n,
136
+ titleId: r,
137
+ subtitle: i,
138
+ children: [/* @__PURE__ */ u("div", {
139
+ class: "IncodeBaseTutorialContainer",
140
+ children: /* @__PURE__ */ u("div", {
141
+ class: "IncodeBaseTutorialAnimationContainer",
142
+ "aria-hidden": "true",
143
+ children: t ? /* @__PURE__ */ u(A, {
144
+ animationData: t,
145
+ className: "IncodeBaseTutorialAnimation",
146
+ autoStop: !0,
147
+ stopFramePosition: l
148
+ }) : null
149
+ })
150
+ }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ u("p", {
151
+ class: "IncodeBaseTutorialDisclaimer",
152
+ children: s
153
+ }), /* @__PURE__ */ u("div", {
154
+ class: "IncodeBaseTutorialButtonContainer",
155
+ children: /* @__PURE__ */ u(b, {
156
+ onClick: a,
157
+ class: "m-auto max-w-[420px]",
158
+ isLoading: c,
159
+ children: o
160
+ })
161
+ })] })]
162
+ }), re = ({ i18nKey: e }) => /* @__PURE__ */ u("span", {
174
163
  class: "IncodeBoldWithArrow",
175
164
  children: /* @__PURE__ */ u(n, {
176
165
  i18nKey: e,
@@ -1494,7 +1483,7 @@ var ne = 5e3, j = ({ className: e = "", animationData: t, title: n, titleId: r,
1494
1483
  d: "M20.0002 10C19.2117 10 18.4515 10.0997 17.7258 10.2686C17.5744 10.3039 17.4378 10.3853 17.3348 10.5017C17.2317 10.618 17.1674 10.7635 17.1506 10.918L16.9914 12.3691C16.9393 12.8447 16.6647 13.2654 16.2502 13.5049C15.8366 13.7439 15.3345 13.7703 14.8967 13.5781H14.8957L13.5627 12.9912C13.4205 12.9286 13.2624 12.9118 13.1102 12.9429C12.958 12.974 12.8193 13.0517 12.7131 13.165C11.6768 14.2698 10.8815 15.6075 10.4299 17.1006C10.3849 17.2492 10.3871 17.4081 10.4363 17.5554C10.4854 17.7027 10.5791 17.8311 10.7043 17.9229L11.8869 18.79C12.2731 19.074 12.5002 19.5214 12.5002 20C12.5002 20.4789 12.2731 20.9267 11.8869 21.21L10.7043 22.0762C10.5791 22.168 10.4854 22.2964 10.4363 22.4437C10.3871 22.5909 10.3849 22.7498 10.4299 22.8984C10.8815 24.3913 11.6762 25.7301 12.7131 26.835C12.8194 26.9482 12.9582 27.0256 13.1104 27.0566C13.2626 27.0875 13.4206 27.0705 13.5627 27.0078L14.8957 26.4209C15.3337 26.2283 15.8363 26.256 16.2502 26.4951C16.6647 26.7346 16.9393 27.1553 16.9914 27.6309L17.1506 29.082C17.1675 29.2362 17.2318 29.3814 17.3346 29.4975C17.4375 29.6136 17.5738 29.695 17.7248 29.7305C18.4509 29.8999 19.2117 30 20.0002 30C20.7886 30 21.5489 29.9003 22.2746 29.7314C22.4259 29.6961 22.5626 29.6147 22.6656 29.4983C22.7687 29.382 22.833 29.2365 22.8498 29.082L23.009 27.6309C23.061 27.1553 23.3357 26.7346 23.7502 26.4951C24.1638 26.2561 24.6659 26.2287 25.1037 26.4209L26.4377 27.0078C26.5798 27.0705 26.7378 27.0875 26.89 27.0566C27.0422 27.0256 27.181 26.9482 27.2873 26.835C28.3236 25.7302 29.1189 24.3915 29.5705 22.8984C29.6155 22.7498 29.6133 22.5909 29.5641 22.4437C29.515 22.2964 29.4213 22.168 29.2961 22.0762L28.1135 21.21C27.7273 20.9267 27.5002 20.4789 27.5002 20C27.5002 19.5211 27.7273 19.0733 28.1135 18.79L29.2961 17.9238C29.4213 17.832 29.515 17.7036 29.5641 17.5563C29.6133 17.4091 29.6155 17.2502 29.5705 17.1016C29.1189 15.6085 28.3236 14.2698 27.2873 13.165C27.181 13.0518 27.0422 12.9744 26.89 12.9434C26.7378 12.9125 26.5798 12.9295 26.4377 12.9922L25.1037 13.5791C24.6659 13.7713 24.1638 13.7439 23.7502 13.5049C23.3357 13.2654 23.061 12.8447 23.009 12.3691L22.8498 10.918C22.8329 10.7638 22.7686 10.6186 22.6657 10.5025C22.5629 10.3864 22.4266 10.305 22.2756 10.2695C21.5495 10.1001 20.7886 10 20.0002 10ZM20.0002 11.5C20.4873 11.5 20.9552 11.5874 21.424 11.6699L21.5178 12.5322C21.6217 13.4817 22.1737 14.3262 23.0002 14.8037C23.8273 15.2816 24.8342 15.3365 25.7082 14.9521L26.5012 14.6035C27.1101 15.3347 27.5922 16.1606 27.9289 17.0654L27.2258 17.5811C26.456 18.1458 26.0002 19.0449 26.0002 20C26.0002 20.9551 26.456 21.8542 27.2258 22.4189L27.9289 22.9346C27.5922 23.8394 27.1101 24.6653 26.5012 25.3965L25.7082 25.0479C24.8342 24.6635 23.8273 24.7184 23.0002 25.1963C22.1737 25.6738 21.6217 26.5183 21.5178 27.4678L21.424 28.3301C20.9552 28.4123 20.4871 28.5 20.0002 28.5C19.513 28.5 19.0452 28.4126 18.5764 28.3301L18.4826 27.4678C18.3787 26.5183 17.8267 25.6738 17.0002 25.1963C16.1731 24.7184 15.1661 24.6635 14.2922 25.0479L13.4992 25.3965C12.8902 24.6654 12.4082 23.8395 12.0715 22.9346L12.7746 22.4189C13.5444 21.8542 14.0002 20.9551 14.0002 20C14.0002 19.0449 13.5441 18.1452 12.7746 17.5801L12.0715 17.0645C12.4084 16.1593 12.8909 15.3339 13.5002 14.6025L14.2922 14.9512C15.1661 15.3355 16.1731 15.2816 17.0002 14.8037C17.8267 14.3262 18.3787 13.4817 18.4826 12.5322L18.5764 11.6699C19.0452 11.5877 19.5133 11.5 20.0002 11.5ZM20.0002 16C17.7999 16 16.0002 17.7997 16.0002 20C16.0002 22.2003 17.7999 24 20.0002 24C22.2005 24 24.0002 22.2003 24.0002 20C24.0002 17.7997 22.2005 16 20.0002 16ZM20.0002 17.5C21.3898 17.5 22.5002 18.6104 22.5002 20C22.5002 21.3896 21.3898 22.5 20.0002 22.5C18.6106 22.5 17.5002 21.3896 17.5002 20C17.5002 18.6104 18.6106 17.5 20.0002 17.5Z",
1495
1484
  fill: "#646464"
1496
1485
  })]
1497
- }), ce = {
1486
+ }), J = {
1498
1487
  ios: {
1499
1488
  safari: [
1500
1489
  {
@@ -1881,7 +1870,7 @@ var ne = 5e3, j = ({ className: e = "", animationData: t, title: n, titleId: r,
1881
1870
  ]
1882
1871
  },
1883
1872
  desktop: null
1884
- }, le = (e, t) => {
1873
+ }, ce = (e, t) => {
1885
1874
  let n = [
1886
1875
  e(`idv2.permissions.denied.${t.instructionKey}`),
1887
1876
  e(t.boldKey),
@@ -1889,8 +1878,8 @@ var ne = 5e3, j = ({ className: e = "", animationData: t, title: n, titleId: r,
1889
1878
  t.secondBoldKey ? e(`idv2.permissions.${t.secondBoldKey}`) : ""
1890
1879
  ].filter(Boolean).join(" ");
1891
1880
  return new DOMParser().parseFromString(n, "text/html").body.textContent || "";
1892
- }, ue = ({ platform: e }) => {
1893
- let { t: n } = t(), r = E(), i = ce[e]?.[r] ?? [];
1881
+ }, le = ({ platform: e }) => {
1882
+ let { t: n } = t(), r = E(), i = J[e]?.[r] ?? [];
1894
1883
  return /* @__PURE__ */ u("div", {
1895
1884
  class: "IncodeDeniedInstructionsContainer",
1896
1885
  "data-testid": "denied-instructions-mobile",
@@ -1901,7 +1890,7 @@ var ne = 5e3, j = ({ className: e = "", animationData: t, title: n, titleId: r,
1901
1890
  children: [
1902
1891
  /* @__PURE__ */ u("span", {
1903
1892
  class: "IncodeSrOnly",
1904
- children: le(n, t)
1893
+ children: ce(n, t)
1905
1894
  }),
1906
1895
  /* @__PURE__ */ u("div", {
1907
1896
  class: "IncodeDeniedStepIconContainer",
@@ -1920,7 +1909,7 @@ var ne = 5e3, j = ({ className: e = "", animationData: t, title: n, titleId: r,
1920
1909
  n(`idv2.permissions.denied.${t.instructionKey}`),
1921
1910
  " ",
1922
1911
  /* @__PURE__ */ u(re, { i18nKey: t.boldKey }),
1923
- (t.additionalTextKey || t.secondBoldKey) && /* @__PURE__ */ u(de, {
1912
+ (t.additionalTextKey || t.secondBoldKey) && /* @__PURE__ */ u(ue, {
1924
1913
  labelKey: t.additionalTextKey,
1925
1914
  boldLabelKey: t.secondBoldKey
1926
1915
  })
@@ -1932,7 +1921,7 @@ var ne = 5e3, j = ({ className: e = "", animationData: t, title: n, titleId: r,
1932
1921
  })
1933
1922
  });
1934
1923
  };
1935
- function de({ labelKey: e, boldLabelKey: n }) {
1924
+ function ue({ labelKey: e, boldLabelKey: n }) {
1936
1925
  let { t: i } = t();
1937
1926
  return /* @__PURE__ */ u("span", {
1938
1927
  class: "IncodeDeniedStepTextSilent IncodeDeniedStepSubtext",
@@ -1945,7 +1934,7 @@ function de({ labelKey: e, boldLabelKey: n }) {
1945
1934
  }
1946
1935
  //#endregion
1947
1936
  //#region src/shared/permissions/camera/deniedDesktop.tsx
1948
- var fe = (e) => {
1937
+ var de = (e) => {
1949
1938
  let t = [
1950
1939
  `idv2.permissions.denied.${e}.firstStep`,
1951
1940
  `idv2.permissions.denied.${e}.secondStep`,
@@ -1954,8 +1943,8 @@ var fe = (e) => {
1954
1943
  `idv2.permissions.denied.${e}.fifthStep`
1955
1944
  ];
1956
1945
  return e === "safari" && t.push(`idv2.permissions.denied.${e}.sixthStep`), t;
1957
- }, pe = (e) => new DOMParser().parseFromString(e, "text/html").body.textContent || "", me = (e, t) => e(t).split(/(<strong>[^<]+<\/strong>)/g).map((e, t) => e.startsWith("<strong>") && e.endsWith("</strong>") ? /* @__PURE__ */ u("strong", { children: e.slice(8, -9) }, t) : e), he = () => {
1958
- let { t: e } = t(), n = fe(E());
1946
+ }, fe = (e) => new DOMParser().parseFromString(e, "text/html").body.textContent || "", pe = (e, t) => e(t).split(/(<strong>[^<]+<\/strong>)/g).map((e, t) => e.startsWith("<strong>") && e.endsWith("</strong>") ? /* @__PURE__ */ u("strong", { children: e.slice(8, -9) }, t) : e), me = () => {
1947
+ let { t: e } = t(), n = de(E());
1959
1948
  return /* @__PURE__ */ u("div", {
1960
1949
  class: "IncodeDeniedInstructionsContainer",
1961
1950
  "data-testid": "denied-instructions-desktop",
@@ -1964,7 +1953,7 @@ var fe = (e) => {
1964
1953
  role: "list",
1965
1954
  children: n.map((t, r) => /* @__PURE__ */ u("li", {
1966
1955
  class: "IncodeDeniedDesktopStep",
1967
- "aria-label": pe(e(t)),
1956
+ "aria-label": fe(e(t)),
1968
1957
  children: [/* @__PURE__ */ u("div", {
1969
1958
  class: "IncodeDeniedDesktopStepNumberColumn",
1970
1959
  "aria-hidden": "true",
@@ -1972,15 +1961,15 @@ var fe = (e) => {
1972
1961
  }), /* @__PURE__ */ u("p", {
1973
1962
  class: "IncodeDeniedStepText",
1974
1963
  "aria-hidden": "true",
1975
- children: me(e, t)
1964
+ children: pe(e, t)
1976
1965
  })]
1977
1966
  }, t))
1978
1967
  })
1979
1968
  });
1980
- }, ge = () => {
1969
+ }, he = () => {
1981
1970
  let e = D();
1982
- return e === "desktop" ? /* @__PURE__ */ u(he, {}) : /* @__PURE__ */ u(ue, { platform: e });
1983
- }, _e = ({ onRefresh: e, "data-testid": n, "data-permission-status": r }) => {
1971
+ return e === "desktop" ? /* @__PURE__ */ u(me, {}) : /* @__PURE__ */ u(le, { platform: e });
1972
+ }, ge = ({ onRefresh: e, "data-testid": n, "data-permission-status": r }) => {
1984
1973
  let { t: a } = t(), o = s(null);
1985
1974
  return i(() => {
1986
1975
  o.current?.focus();
@@ -1996,13 +1985,13 @@ var fe = (e) => {
1996
1985
  ref: o,
1997
1986
  tabIndex: -1,
1998
1987
  children: a("idv2.permissions.denied.title")
1999
- }), /* @__PURE__ */ u(ge, {})]
1988
+ }), /* @__PURE__ */ u(he, {})]
2000
1989
  }), /* @__PURE__ */ u(b, {
2001
1990
  onClick: e,
2002
1991
  children: a("idv2.permissions.denied.refreshPage")
2003
1992
  })]
2004
1993
  });
2005
- }, ve = [
1994
+ }, _e = [
2006
1995
  {
2007
1996
  icon: ie,
2008
1997
  textKey: "idv2.permissions.learnMorePage.instructions.1"
@@ -2015,7 +2004,7 @@ var fe = (e) => {
2015
2004
  icon: ae,
2016
2005
  textKey: "idv2.permissions.learnMorePage.instructions.4"
2017
2006
  }
2018
- ], ye = ({ onAllowPermissions: e, onQuitProcess: n, "data-testid": r, "data-permission-status": a }) => {
2007
+ ], ve = ({ onAllowPermissions: e, onQuitProcess: n, "data-testid": r, "data-permission-status": a }) => {
2019
2008
  let { t: o } = t(), c = s(null);
2020
2009
  return i(() => {
2021
2010
  c.current?.focus();
@@ -2037,7 +2026,7 @@ var fe = (e) => {
2037
2026
  }), /* @__PURE__ */ u("ul", {
2038
2027
  class: "IncodeLearnMoreInstructionsContainer",
2039
2028
  role: "list",
2040
- children: ve.map(({ icon: e, ...t }) => /* @__PURE__ */ u("li", {
2029
+ children: _e.map(({ icon: e, ...t }) => /* @__PURE__ */ u("li", {
2041
2030
  class: "IncodeLearnMoreInstruction",
2042
2031
  children: [/* @__PURE__ */ u("div", {
2043
2032
  class: "IncodeLearnMoreInstructionIcon",
@@ -2064,7 +2053,7 @@ var fe = (e) => {
2064
2053
  };
2065
2054
  //#endregion
2066
2055
  //#region src/shared/permissions/camera/permissionsBottomSheet.tsx
2067
- function be({ onAllowPermissions: e, onDenyPermissions: n, showDenyButton: r = !0 }) {
2056
+ function ye({ onAllowPermissions: e, onDenyPermissions: n, showDenyButton: r = !0 }) {
2068
2057
  let { t: a } = t(), o = s(null);
2069
2058
  return i(() => {
2070
2059
  o.current?.focus();
@@ -2101,22 +2090,22 @@ function be({ onAllowPermissions: e, onDenyPermissions: n, showDenyButton: r = !
2101
2090
  }
2102
2091
  //#endregion
2103
2092
  //#region src/shared/permissions/camera/permissions.tsx
2104
- var xe = ({ manager: e, permissionStatus: n }) => {
2093
+ var be = ({ manager: e, permissionStatus: n }) => {
2105
2094
  let r = d(), { t: i } = t();
2106
2095
  if (n === "requesting") return /* @__PURE__ */ u(y, { className: "IncodePermissionsRequestingPage" });
2107
- if (n === "learnMore") return /* @__PURE__ */ u(ye, {
2096
+ if (n === "learnMore") return /* @__PURE__ */ u(ve, {
2108
2097
  onAllowPermissions: () => e.requestPermission(),
2109
2098
  onQuitProcess: () => e.close(),
2110
2099
  "data-testid": "permissions",
2111
2100
  "data-permission-status": "learnMore"
2112
2101
  });
2113
- if (n === "denied") return /* @__PURE__ */ u(_e, {
2102
+ if (n === "denied") return /* @__PURE__ */ u(ge, {
2114
2103
  onRefresh: () => window.location.reload(),
2115
2104
  "data-testid": "permissions",
2116
2105
  "data-permission-status": "denied"
2117
2106
  });
2118
2107
  let a = n === "motionOnly", o = null;
2119
- return o = r ? /* @__PURE__ */ u(be, {
2108
+ return o = r ? /* @__PURE__ */ u(ye, {
2120
2109
  showDenyButton: !a,
2121
2110
  onAllowPermissions: e.requestPermission,
2122
2111
  onDenyPermissions: e.goToLearnMore
@@ -2143,7 +2132,7 @@ var xe = ({ manager: e, permissionStatus: n }) => {
2143
2132
  "data-permission-status": n,
2144
2133
  children: o
2145
2134
  });
2146
- }, J = ({ icon: e, title: t, className: n, isLoading: r }) => {
2135
+ }, Y = ({ icon: e, title: t, className: n, isLoading: r }) => {
2147
2136
  let a = s(null);
2148
2137
  return i(() => {
2149
2138
  a.current?.focus();
@@ -2166,10 +2155,10 @@ var xe = ({ manager: e, permissionStatus: n }) => {
2166
2155
  ]
2167
2156
  })]
2168
2157
  });
2169
- }, Y = {
2158
+ }, X = {
2170
2159
  title: "Something went wrong",
2171
2160
  description: "Please try again later"
2172
- }, Se = {
2161
+ }, xe = {
2173
2162
  MASK_ERROR: {
2174
2163
  title: "notifications.mask",
2175
2164
  description: "notifications.maskDescription"
@@ -2202,13 +2191,13 @@ var xe = ({ manager: e, permissionStatus: n }) => {
2202
2191
  title: "notifications.multiple",
2203
2192
  description: "notifications.multipleDescription"
2204
2193
  },
2205
- TOO_BLURRY_ERROR: Y,
2206
- TOO_DARK_ERROR: Y,
2207
- SERVER_ERROR: Y,
2208
- FACE_CROPPING_FAILED: Y,
2209
- FACE_TOO_SMALL: Y,
2210
- PROCESSING_ERROR: Y,
2211
- BAD_REQUEST: Y,
2194
+ TOO_BLURRY_ERROR: X,
2195
+ TOO_DARK_ERROR: X,
2196
+ SERVER_ERROR: X,
2197
+ FACE_CROPPING_FAILED: X,
2198
+ FACE_TOO_SMALL: X,
2199
+ PROCESSING_ERROR: X,
2200
+ BAD_REQUEST: X,
2212
2201
  USER_IS_NOT_RECOGNIZED: {
2213
2202
  title: "notifications.accessDenied",
2214
2203
  description: "notifications.accessDeniedDescription"
@@ -2257,16 +2246,16 @@ var xe = ({ manager: e, permissionStatus: n }) => {
2257
2246
  title: "notifications.selfieImageLowQuality",
2258
2247
  description: "notifications.selfieImageLowQualityDescription"
2259
2248
  }
2260
- }, Ce = /* @__PURE__ */ "LIVENESS_ERROR.BRIGHTNESS_ERROR.LENSES_ERROR.MASK_ERROR.CLOSED_EYES_ERROR.HEAD_COVER_ERROR.SERVER_ERROR.FACE_NOT_FOUND.MULTIPLE_FACES.TOO_BLURRY_ERROR.TOO_DARK_ERROR.USER_IS_NOT_RECOGNIZED.SPOOF_ATTEMPT_DETECTED.FACE_TOO_DARK.LENSES_DETECTED.FACE_MASK_DETECTED.CLOSED_EYES_DETECTED.HEAD_COVER_DETECTED.FACE_CROPPING_FAILED.FACE_TOO_SMALL.FACE_TOO_BLURRY.BAD_PHOTO_QUALITY.PROCESSING_ERROR.BAD_REQUEST.NONEXISTENT_CUSTOMER.HINT_NOT_PROVIDED.SELFIE_IMAGE_LOW_QUALITY".split("."), X = (e) => {
2249
+ }, Se = /* @__PURE__ */ "LIVENESS_ERROR.BRIGHTNESS_ERROR.LENSES_ERROR.MASK_ERROR.CLOSED_EYES_ERROR.HEAD_COVER_ERROR.SERVER_ERROR.FACE_NOT_FOUND.MULTIPLE_FACES.TOO_BLURRY_ERROR.TOO_DARK_ERROR.USER_IS_NOT_RECOGNIZED.SPOOF_ATTEMPT_DETECTED.FACE_TOO_DARK.LENSES_DETECTED.FACE_MASK_DETECTED.CLOSED_EYES_DETECTED.HEAD_COVER_DETECTED.FACE_CROPPING_FAILED.FACE_TOO_SMALL.FACE_TOO_BLURRY.BAD_PHOTO_QUALITY.PROCESSING_ERROR.BAD_REQUEST.NONEXISTENT_CUSTOMER.HINT_NOT_PROVIDED.SELFIE_IMAGE_LOW_QUALITY".split("."), Ce = (e) => {
2261
2250
  let t = e.toUpperCase();
2262
2251
  if (t.includes("HTTP 400") || t.includes("BAD_REQUEST")) return "BAD_REQUEST";
2263
2252
  if (t.includes("HTTP 500") || t.includes("SERVER_ERROR")) return "SERVER_ERROR";
2264
- for (let e of Ce) if (t.includes(e)) return e;
2253
+ for (let e of Se) if (t.includes(e)) return e;
2265
2254
  return null;
2266
2255
  }, Z = ({ error: e, attemptsRemaining: n, onTryAgain: r }) => {
2267
2256
  let { t: i } = t();
2268
2257
  if (!e) return null;
2269
- let { title: a, description: o } = Se[X(e) ?? e] ?? Y, s = i(a) ?? a, c = i(n <= 0 ? "notifications.selfieCaptureFailedDescription" : o);
2258
+ let { title: a, description: o } = xe[Ce(e) ?? e] ?? X, s = i(a) ?? a, c = i(n <= 0 ? "notifications.selfieCaptureFailedDescription" : o);
2270
2259
  return /* @__PURE__ */ u(O, {
2271
2260
  "data-testid": "face-capture-error-modal",
2272
2261
  title: s,
@@ -2539,7 +2528,7 @@ var xe = ({ manager: e, permissionStatus: n }) => {
2539
2528
  children: "Capturing..."
2540
2529
  })
2541
2530
  })
2542
- }) : a === "uploading" ? /* @__PURE__ */ u(J, {
2531
+ }) : a === "uploading" ? /* @__PURE__ */ u(Y, {
2543
2532
  className: "IncodeCaptureStatusUploading",
2544
2533
  isLoading: !0,
2545
2534
  icon: /* @__PURE__ */ u(m, { size: 64 }),
@@ -2550,7 +2539,7 @@ var xe = ({ manager: e, permissionStatus: n }) => {
2550
2539
  onTryAgain: () => {
2551
2540
  e.retryCapture(), C(!1);
2552
2541
  }
2553
- }) : a === "success" ? /* @__PURE__ */ u(J, {
2542
+ }) : a === "success" ? /* @__PURE__ */ u(Y, {
2554
2543
  icon: /* @__PURE__ */ u(ee, { size: 64 }),
2555
2544
  title: w("idv2.capture.processing.success")
2556
2545
  }) : null;
@@ -2587,4 +2576,4 @@ var xe = ({ manager: e, permissionStatus: n }) => {
2587
2576
  });
2588
2577
  };
2589
2578
  //#endregion
2590
- export { A as a, j as i, Ae as n, O as o, xe as r, Me as t };
2579
+ export { A as a, j as i, Ae as n, O as o, be as r, Me as t };
@@ -497,7 +497,7 @@ declare type LockIconProps = {
497
497
  className?: string;
498
498
  };
499
499
 
500
- export declare function Lottie({ animationData, loop, autoplay, reverse, style, className, onComplete, onControlsReady, }: LottieProps): JSX.Element;
500
+ export declare function Lottie({ animationData, loop, autoplay, reverse, style, className, onComplete, autoStop, stopFramePosition, }: LottieProps): JSX.Element;
501
501
 
502
502
  declare type LottieAnimationData = {
503
503
  fr: number;
@@ -508,16 +508,6 @@ declare type LottieAnimationData = {
508
508
  h: number;
509
509
  };
510
510
 
511
- declare type LottieControls = {
512
- setSpeed: (speed: number) => void;
513
- play: () => void;
514
- pause: () => void;
515
- stop: () => void;
516
- goToAndPlay: (value: number, isFrame?: boolean) => void;
517
- goToAndStop: (value: number, isFrame?: boolean) => void;
518
- getTotalFrames: () => number | null;
519
- };
520
-
521
511
  declare type LottieProps = {
522
512
  animationData: LottieAnimationData;
523
513
  loop?: boolean;
@@ -526,9 +516,19 @@ declare type LottieProps = {
526
516
  style?: CSSProperties;
527
517
  className?: string;
528
518
  onComplete?: () => void;
529
- onControlsReady?: (controls: LottieControls | null) => void;
519
+ /** Auto-stop the animation after 5s (WCAG 2.2 AA 2.2.2). */
520
+ autoStop?: boolean;
521
+ /**
522
+ * Where to freeze the animation when `autoStop` fires. When omitted the
523
+ * animation is paused at its current frame; otherwise it jumps to and stops
524
+ * at the resolved frame (falling back to a full stop when the frame count is
525
+ * unknown).
526
+ */
527
+ stopFramePosition?: LottieStopFramePosition;
530
528
  };
531
529
 
530
+ declare type LottieStopFramePosition = 'first' | 'middle' | 'last';
531
+
532
532
  export declare const ManualCapture: FC<ManualCaptureProps>;
533
533
 
534
534
  declare type ManualCaptureProps = {
@@ -720,6 +720,7 @@ declare type ProgressBarProps = {
720
720
  progress: number;
721
721
  label?: string;
722
722
  className?: string;
723
+ labelledById?: string;
723
724
  };
724
725
 
725
726
  export declare const RadioButtonComposed: FunctionalComponent<PropsWithoutRef<RadioButtonComposedProps> & {
@@ -223,13 +223,13 @@ var N = {
223
223
  INE_VALIDATION: () => import("./governmentValidation/governmentValidation.es.js").then((e) => e.GovernmentValidation),
224
224
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
225
225
  EXTERNAL_VERIFICATION: () => import("./ekycModule-BFnp4W8-.js").then((e) => e.EkycModule),
226
- EKYB: () => import("./ekybModule-DGZRljZd.js").then((e) => e.EkybModule),
227
- DOCUMENT_CAPTURE: () => import("./documentCapture-5i8YYcMl.js").then((e) => e.DocumentCapture),
228
- ADDRESS: () => import("./documentCapture-5i8YYcMl.js").then((e) => e.DocumentCapture),
226
+ EKYB: () => import("./ekybModule-DjuMD0Od.js").then((e) => e.EkybModule),
227
+ DOCUMENT_CAPTURE: () => import("./documentCapture-D1gqvceX.js").then((e) => e.DocumentCapture),
228
+ ADDRESS: () => import("./documentCapture-D1gqvceX.js").then((e) => e.DocumentCapture),
229
229
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
230
230
  MANDATORY_CONSENT: () => import("./mandatoryConsent-zDcOZtAH.js").then((e) => e.MandatoryConsent),
231
231
  SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
232
- ID_OCR: () => import("./idOcr-BmgJEx84.js").then((e) => e.IdOcr),
232
+ ID_OCR: () => import("./idOcr-Y1FQ5EHz.js").then((e) => e.IdOcr),
233
233
  CPF_OCR: () => import("./cpfOcr-BNFmDkDP.js").then((e) => e.CpfOcr),
234
234
  ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud),
235
235
  CUSTOM_FIELDS: () => import("./customFields-DG9dLQYN.js").then((e) => e.CustomFields),
@@ -239,8 +239,8 @@ var N = {
239
239
  AE_SIGNATURE: () => import("./ae-signature/ae-signature.es.js").then((e) => e.AeSignature),
240
240
  QE_SIGNATURE: () => import("./qe-signature/qe-signature.es.js").then((e) => e.QeSignature),
241
241
  CROSS_DOCUMENT_DATA_MATCH: () => import("./cross-document-data-match/cross-document-data-match.es.js").then((e) => e.CrossDocumentDataMatch),
242
- DYNAMIC_FORMS: () => import("./dynamicForms-BHcxEnlf.js").then((e) => e.DynamicForms),
243
- FIELD_COMPARISON: () => import("./fieldComparison-BzmJFXup.js").then((e) => e.FieldComparison)
242
+ DYNAMIC_FORMS: () => import("./dynamicForms--QABs5Et.js").then((e) => e.DynamicForms),
243
+ FIELD_COMPARISON: () => import("./fieldComparison-DU5SBjQC.js").then((e) => e.FieldComparison)
244
244
  };
245
245
  function P() {
246
246
  return O();
@@ -5363,25 +5363,16 @@
5363
5363
  overflow: hidden;
5364
5364
  }
5365
5365
 
5366
- .IncodeDigitalIdUploadPage .IncodeDigitalIdUploadProgressBar {
5366
+ .IncodeDigitalIdUploadPage .IncodeDigitalIdUploadProgressBar .IncodeProgressBar {
5367
5367
  border-radius: var(--radius-full, var(--border-radius-full));
5368
5368
  background-color: var(--color-surface-neutral-200, var(--surface-neutral-200));
5369
5369
  width: var(--digital-id-progress-bar-w);
5370
5370
  height: var(--digital-id-progress-bar-h);
5371
- position: relative;
5372
5371
  overflow: hidden;
5373
5372
  }
5374
5373
 
5375
- .IncodeDigitalIdUploadPage .IncodeDigitalIdUploadProgressBar > span {
5376
- top: var(--spacing-0, var(--spacing-none, 0px));
5377
- left: var(--spacing-0, var(--spacing-none, 0px));
5374
+ .IncodeDigitalIdUploadPage .IncodeDigitalIdUploadProgressBar .IncodeProgressBarFill {
5378
5375
  border-radius: var(--radius-full, var(--border-radius-full));
5379
- height: 100%;
5380
- transition-property: all;
5381
- transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(.4, 0, .2, 1)));
5382
- transition-duration: var(--tw-duration, var(--default-transition-duration, .15s));
5383
- background-color: var(--color-icon-status-positive, var(--icon-status-positive));
5384
- position: absolute;
5385
5376
  }
5386
5377
 
5387
5378
  .IncodeDigitalIdUploadPage .IncodeDigitalIdUploadLaserOverlay {
@@ -5,7 +5,7 @@ import { c as l } from "../hooks-vuWWj6VY.js";
5
5
  import { t as u } from "../incodeComponent-CxgaQt0Z.js";
6
6
  import { t as d } from "../transitionSpinner-Di3bOyOu.js";
7
7
  import { t as f } from "../incodeModule-BiCoAJ5k.js";
8
- import { a as p, g as m, i as h, l as g, o as _, s as v, t as y, v as b, y as x } from "../useModuleLoader-Dt8aHEOG.js";
8
+ import { a as p, g as m, i as h, l as g, o as _, s as v, t as y, v as b, y as x } from "../useModuleLoader-C0S38FBd.js";
9
9
  import { resolveWasmConfig as S, upgradeToWasmHttpClient as C, warmupWasm as w } from "@incodetech/core/wasm";
10
10
  import { getDeviceClass as T } from "@incodetech/core/device";
11
11
  import { bootstrapSession as E, refreshQrUrlUuid as D } from "@incodetech/core/session";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260601-9fa409c7",
3
+ "version": "0.0.0-dev-20260602-ff711e15",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/IncodeTechnologies/incode-web-sdk.git"
@@ -255,7 +255,7 @@
255
255
  "qrcode": "^1.5.4",
256
256
  "signature_pad": "^5.1.3",
257
257
  "tailwindcss": "^4.1.17",
258
- "@incodetech/core": "0.0.0-dev-20260601-9fa409c7"
258
+ "@incodetech/core": "0.0.0-dev-20260602-ff711e15"
259
259
  },
260
260
  "devDependencies": {
261
261
  "@microsoft/api-extractor": "^7.53.3",
@@ -1,2 +0,0 @@
1
- import { t as e } from "./documentCapture-CB4glVGy.js";
2
- export { e as DocumentCapture };
@@ -1,2 +0,0 @@
1
- import { t as e } from "./ekybModule-D9Jz6HVg.js";
2
- export { e as EkybModule };
@@ -1,2 +0,0 @@
1
- import { t as e } from "./fieldComparison-D3vsvjqB.js";
2
- export { e as FieldComparison };