@incodetech/web 0.0.0-dev-20260429-6a61532 → 0.0.0-dev-20260429-52782c8

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.
package/dist/base.css CHANGED
@@ -457,6 +457,11 @@
457
457
  font-weight: var(--typography-button-m-underlined-weight);
458
458
  line-height: var(--typography-button-m-underlined-line-height);
459
459
  letter-spacing: var(--typography-button-m-underlined-letter-spacing);
460
+ font-family: var(--typography-button-family);
461
+ font-size: var(--typography-button-m-underlined-size);
462
+ font-weight: var(--typography-button-m-underlined-weight);
463
+ line-height: var(--typography-button-m-underlined-line-height);
464
+ letter-spacing: var(--typography-button-m-underlined-letter-spacing);
460
465
  text-decoration-line: underline;
461
466
  text-decoration-style: solid;
462
467
  text-decoration-thickness: auto;
@@ -951,6 +956,60 @@
951
956
  letter-spacing: var(--typography-body-m-regular-letter-spacing);
952
957
  display: inline-block;
953
958
  }
959
+ .IncodeRadioGroupComposed {
960
+ flex-direction: column;
961
+ width: 100%;
962
+ display: flex;
963
+ }
964
+ .IncodeRadioGroupComposed .IncodeRadioGroupComposedLabel {
965
+ margin-bottom: var(--spacing-8, var(--spacing-8, 8px));
966
+ font-family: var(--typography-label-family);
967
+ font-size: var(--typography-label-m-size);
968
+ font-weight: var(--typography-label-m-weight);
969
+ line-height: var(--typography-label-m-line-height);
970
+ letter-spacing: var(--typography-label-m-letter-spacing);
971
+ --tw-leading: 1;
972
+ color: var(--color-input-text-label-default, var(--input-text-label-default));
973
+ line-height: 1;
974
+ display: block;
975
+ }
976
+ .IncodeRadioGroupComposed .IncodeRadioGroupComposedRequired {
977
+ margin-left: var(--spacing-4, var(--spacing-4, 4px));
978
+ color: var(--color-text-status-negative, var(--text-status-negative));
979
+ }
980
+ .IncodeRadioGroupComposed .IncodeRadioGroupComposedOptions {
981
+ display: flex;
982
+ }
983
+ .IncodeRadioGroupComposed .IncodeRadioGroupComposedOptions[data-orientation="row"] {
984
+ gap: var(--spacing-24, var(--spacing-24, 24px));
985
+ flex-direction: row;
986
+ }
987
+ .IncodeRadioGroupComposed .IncodeRadioGroupComposedOptions[data-orientation="column"] {
988
+ gap: var(--spacing-12, var(--spacing-12, 12px));
989
+ flex-direction: column;
990
+ }
991
+ .IncodeRadioGroupComposed .IncodeRadioGroupComposedError {
992
+ margin: var(--spacing-0, var(--spacing-none, 0px));
993
+ margin-top: var(--spacing-8, var(--spacing-8, 8px));
994
+ font-family: var(--typography-body-family);
995
+ font-size: var(--typography-body-m-regular-size);
996
+ font-weight: var(--typography-body-m-regular-weight);
997
+ line-height: var(--typography-body-m-regular-line-height);
998
+ letter-spacing: var(--typography-body-m-regular-letter-spacing);
999
+ color: var(--color-input-text-helper-negative, var(--input-text-helper-negative));
1000
+ display: inline-block;
1001
+ }
1002
+ .IncodeRadioGroupComposed .IncodeRadioGroupComposedHelper {
1003
+ margin: var(--spacing-0, var(--spacing-none, 0px));
1004
+ margin-top: var(--spacing-8, var(--spacing-8, 8px));
1005
+ font-family: var(--typography-body-family);
1006
+ font-size: var(--typography-body-m-regular-size);
1007
+ font-weight: var(--typography-body-m-regular-weight);
1008
+ line-height: var(--typography-body-m-regular-line-height);
1009
+ letter-spacing: var(--typography-body-m-regular-letter-spacing);
1010
+ color: var(--color-text-body-secondary, var(--text-body-500-secondary));
1011
+ display: inline-block;
1012
+ }
954
1013
  .IncodeInput {
955
1014
  width: 100%;
956
1015
  max-width: 420px;
@@ -3503,6 +3562,45 @@
3503
3562
  }
3504
3563
  }
3505
3564
  }
3565
+ @media (min-width: 40rem) {
3566
+ .IncodePageContainer .IncodePageInner {
3567
+ max-width: 40rem;
3568
+ }
3569
+ }
3570
+ @media (min-width: 48rem) {
3571
+ .IncodePageContainer .IncodePageInner {
3572
+ max-width: 48rem;
3573
+ }
3574
+ }
3575
+ @media (min-width: 64rem) {
3576
+ .IncodePageContainer .IncodePageInner {
3577
+ max-width: 64rem;
3578
+ }
3579
+ }
3580
+ @media (min-width: 80rem) {
3581
+ .IncodePageContainer .IncodePageInner {
3582
+ max-width: 80rem;
3583
+ }
3584
+ }
3585
+ @media (min-width: 96rem) {
3586
+ .IncodePageContainer .IncodePageInner {
3587
+ max-width: 96rem;
3588
+ }
3589
+ }
3590
+ @media (min-width: 48rem) {
3591
+ .IncodePageContainer .IncodePageInner {
3592
+ max-height: var(--incode-page-max-h);
3593
+ max-width: var(--incode-page-max-w);
3594
+ }
3595
+
3596
+ @media not all and (min-width: 80rem) {
3597
+ @media (orientation: landscape) {
3598
+ .IncodePageContainer .IncodePageInner {
3599
+ max-height: var(--incode-page-max-h-landscape);
3600
+ }
3601
+ }
3602
+ }
3603
+ }
3506
3604
  .IncodePageContainer .IncodePageInner {
3507
3605
  width: 100%;
3508
3606
  }
@@ -3,7 +3,7 @@ import { S as t, _ as n, h as r, l as i, m as a, p as o, v as s } from "./vendor
3
3
  import { o as c, r as l, t as u } from "./incodeComponent-DexcYK3Y.js";
4
4
  import { t as d } from "./spacer-CN9uvb__.js";
5
5
  import { t as f } from "./page-BB20C-zy.js";
6
- import { _ as p, c as m, d as h, f as g, l as _, u as v, v as y } from "./extensibility-8TZjCjYY.js";
6
+ import { c as p, d as m, f as h, l as g, u as _, v, y } from "./extensibility-BhOLYPko.js";
7
7
  import { n as b } from "./loadingIcon-C-Sq5v_K.js";
8
8
  import { t as x } from "./spinner-Cj7kdZ0T.js";
9
9
  import { t as S } from "./button-i4SPU5G7.js";
@@ -30,18 +30,18 @@ var M = ({ stream: t, manager: n, onOpenHelp: a }) => {
30
30
  let r = new Blob([Uint8Array.from(atob(t), (e) => e.charCodeAt(0))], { type: "image/jpeg" }), i = new File([r], "document.jpg", { type: "image/jpeg" });
31
31
  n.setFile(i, `data:image/jpeg;base64,${t}`);
32
32
  }, [n]);
33
- return /* @__PURE__ */ s(_, {
33
+ return /* @__PURE__ */ s(g, {
34
34
  stream: t,
35
35
  videoRef: c,
36
36
  "data-testid": "document-capture-camera",
37
- children: /* @__PURE__ */ s(h, { children: [
38
- /* @__PURE__ */ s(v, {
37
+ children: /* @__PURE__ */ s(m, { children: [
38
+ /* @__PURE__ */ s(_, {
39
39
  title: o("documentCapture.camera.title"),
40
40
  subtitle: o("documentCapture.camera.subtitle")
41
41
  }),
42
42
  /* @__PURE__ */ s(d, { size: 16 }),
43
- /* @__PURE__ */ s(g, { variant: "fill" }),
44
- /* @__PURE__ */ s(m, {
43
+ /* @__PURE__ */ s(h, { variant: "fill" }),
44
+ /* @__PURE__ */ s(p, {
45
45
  onOpenHelp: a,
46
46
  onCapture: l,
47
47
  isManualCapture: !0,
@@ -269,7 +269,7 @@ var M = ({ stream: t, manager: n, onOpenHelp: a }) => {
269
269
  ] });
270
270
  }, z = ({ progress: n, isFilePdf: r }) => {
271
271
  let { t: i } = e(), a = i(r ? "documentCapture.review.uploading" : "documentCapture.review.analyzing");
272
- return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(d, { size: 8 }), /* @__PURE__ */ s(p, {
272
+ return /* @__PURE__ */ s(t, { children: [/* @__PURE__ */ s(d, { size: 8 }), /* @__PURE__ */ s(v, {
273
273
  progress: n,
274
274
  label: a
275
275
  })] });
@@ -3,7 +3,7 @@ import { _ as t, p as n, v as r } from "../vendor-preact-D6SntenC.js";
3
3
  import { o as i, t as a } from "../incodeComponent-DexcYK3Y.js";
4
4
  import { t as o } from "../spacer-CN9uvb__.js";
5
5
  import { t as s } from "../page-BB20C-zy.js";
6
- import "../extensibility-8TZjCjYY.js";
6
+ import "../extensibility-BhOLYPko.js";
7
7
  import { t as c } from "../button-i4SPU5G7.js";
8
8
  import { t as l } from "../inputComposed-4aHO5YRK.js";
9
9
  import { t as u } from "../otpInput-DgtpWHON.js";
@@ -23,12 +23,12 @@ import "./countries-BntFjJJG.js";
23
23
  import "./phoneInputComposed--GQv3M_5.js";
24
24
  import "./dropdownComposed-C6mYVe2K.js";
25
25
  import "./dateInputComposed-DdtZcsfQ.js";
26
- import "./radioButtonComposed-CuKvBI5S.js";
27
- import { t as E } from "./modal-dixIN7NV.js";
26
+ import { t as E } from "./radioButtonComposed-CuKvBI5S.js";
27
+ import { t as D } from "./modal-dixIN7NV.js";
28
28
  import "./bottomSheet-BICziA8B.js";
29
29
  import "@incodetech/core/id";
30
30
  //#region src/shared/overlay/overlay.tsx
31
- var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("div", {
31
+ var O = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("div", {
32
32
  class: `IncodeOverlay ${n ?? ""}`,
33
33
  role: "dialog",
34
34
  "aria-modal": "true",
@@ -40,7 +40,7 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
40
40
  children: e
41
41
  })
42
42
  })
43
- }), O = ({ progress: e, label: n, className: r }) => /* @__PURE__ */ u("div", {
43
+ }), k = ({ progress: e, label: n, className: r }) => /* @__PURE__ */ u("div", {
44
44
  class: p("IncodeProgressBarContainer", r),
45
45
  children: [/* @__PURE__ */ u("div", {
46
46
  class: "IncodeProgressBar",
@@ -57,7 +57,60 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
57
57
  class: "IncodeProgressBarLabel",
58
58
  children: n
59
59
  })] }) : null]
60
- }), k = r((e, t) => {
60
+ }), A = r(({ id: e, label: t, options: n, value: r, defaultValue: i, error: a, helper: o, required: s = !1, disabled: c = !1, name: d, orientation: f = "row", onChange: m, onBlur: h, class: g, "data-testid": _ }, v) => {
61
+ let [y, b] = l(i ?? ""), x = r !== void 0, S = x ? r : y, C = `${e}-label`, w = a ? `${e}-error` : void 0, T = o && !a ? `${e}-helper` : void 0, D = w ?? T, O = d ?? e, k = (e, t) => {
62
+ x || b(e), m?.(e, t);
63
+ };
64
+ return /* @__PURE__ */ u("div", {
65
+ ref: v,
66
+ class: p("IncodeRadioGroupComposed", g),
67
+ "data-testid": _,
68
+ children: [
69
+ /* @__PURE__ */ u("span", {
70
+ id: C,
71
+ class: "IncodeRadioGroupComposedLabel",
72
+ children: [t, s && /* @__PURE__ */ u("span", {
73
+ class: "IncodeRadioGroupComposedRequired",
74
+ "aria-hidden": "true",
75
+ children: "*"
76
+ })]
77
+ }),
78
+ /* @__PURE__ */ u("div", {
79
+ class: "IncodeRadioGroupComposedOptions",
80
+ role: "radiogroup",
81
+ "aria-labelledby": C,
82
+ "aria-required": s || void 0,
83
+ "aria-invalid": a ? !0 : void 0,
84
+ "aria-describedby": D,
85
+ "data-orientation": f,
86
+ children: n.map((t) => /* @__PURE__ */ u(E, {
87
+ id: `${e}-${t.value}`,
88
+ name: O,
89
+ label: t.label,
90
+ value: t.value,
91
+ checked: S === t.value,
92
+ disabled: c || t.disabled,
93
+ showErrorIcon: !1,
94
+ "aria-invalid": a ? !0 : void 0,
95
+ "aria-describedby": D,
96
+ onChange: (e) => k(t.value, e),
97
+ onBlur: h
98
+ }, t.value))
99
+ }),
100
+ a && /* @__PURE__ */ u("p", {
101
+ id: w,
102
+ class: "IncodeRadioGroupComposedError",
103
+ role: "alert",
104
+ children: a
105
+ }),
106
+ o && !a && /* @__PURE__ */ u("p", {
107
+ id: T,
108
+ class: "IncodeRadioGroupComposedHelper",
109
+ children: o
110
+ })
111
+ ]
112
+ });
113
+ }), j = r((e, t) => {
61
114
  let { class: n, rows: r = 4, ...i } = e;
62
115
  return /* @__PURE__ */ u("textarea", {
63
116
  ...i,
@@ -65,7 +118,7 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
65
118
  rows: r,
66
119
  class: p("IncodeTextArea", n)
67
120
  });
68
- }), A = r(({ id: e, label: t, "aria-label": n, error: r, showErrorIcon: i, helper: a, showHelperIcon: o, required: s, rows: c = 4, class: l, ...d }, f) => {
121
+ }), M = r(({ id: e, label: t, "aria-label": n, error: r, showErrorIcon: i, helper: a, showHelperIcon: o, required: s, rows: c = 4, class: l, ...d }, f) => {
69
122
  let m = `${e}-helper`, h = `${e}-error`, g = [a ? m : null, r ? h : null].filter(Boolean).join(" ");
70
123
  return /* @__PURE__ */ u("div", {
71
124
  class: p("IncodeTextAreaComposed", l),
@@ -81,7 +134,7 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
81
134
  }),
82
135
  /* @__PURE__ */ u("div", {
83
136
  class: "IncodeTextAreaComposedWrapper",
84
- children: /* @__PURE__ */ u(k, {
137
+ children: /* @__PURE__ */ u(j, {
85
138
  id: e,
86
139
  rows: c,
87
140
  ...d,
@@ -120,16 +173,16 @@ var D = ({ children: e, "aria-labelledby": t, class: n }) => /* @__PURE__ */ u("
120
173
  ]
121
174
  });
122
175
  });
123
- A.displayName = "TextAreaComposed";
176
+ M.displayName = "TextAreaComposed";
124
177
  //#endregion
125
178
  //#region src/shared/card/verificationOption/verificationOptionCard.tsx
126
- function j({ children: e }) {
179
+ function N({ children: e }) {
127
180
  return /* @__PURE__ */ u("div", {
128
181
  class: "IncodeVerificationOptionCardList",
129
182
  children: e
130
183
  });
131
184
  }
132
- function M({ icon: e, title: t, testId: n, onClick: r, tag: i }) {
185
+ function P({ icon: e, title: t, testId: n, onClick: r, tag: i }) {
133
186
  return /* @__PURE__ */ u("button", {
134
187
  type: "button",
135
188
  class: "IncodeVerificationOptionCard",
@@ -149,7 +202,7 @@ function M({ icon: e, title: t, testId: n, onClick: r, tag: i }) {
149
202
  children: [/* @__PURE__ */ u("span", {
150
203
  class: "IncodeVerificationOptionCardTitle",
151
204
  children: t
152
- }), i && /* @__PURE__ */ u(ee, { label: i })]
205
+ }), i && /* @__PURE__ */ u(F, { label: i })]
153
206
  }), /* @__PURE__ */ u("span", {
154
207
  class: "IncodeVerificationOptionCardArrow",
155
208
  "data-testid": "chevron-right-icon",
@@ -161,7 +214,7 @@ function M({ icon: e, title: t, testId: n, onClick: r, tag: i }) {
161
214
  })]
162
215
  });
163
216
  }
164
- function ee({ label: e }) {
217
+ function F({ label: e }) {
165
218
  return /* @__PURE__ */ u("div", {
166
219
  class: "IncodeVerificationOptionCardTag",
167
220
  children: [/* @__PURE__ */ u(S, {}), /* @__PURE__ */ u("span", { children: e })]
@@ -169,7 +222,7 @@ function ee({ label: e }) {
169
222
  }
170
223
  //#endregion
171
224
  //#region src/shared/cameraOverlay/cameraFrame.tsx
172
- var N = r(({ variant: e, aspectRatio: t, orientation: n = "horizontal", frameState: r = "idle", className: i, children: a }, o) => {
225
+ var I = r(({ variant: e, aspectRatio: t, orientation: n = "horizontal", frameState: r = "idle", className: i, children: a }, o) => {
173
226
  let s = `IncodeCameraFrame${r.charAt(0).toUpperCase()}${r.slice(1)}`;
174
227
  return /* @__PURE__ */ u("div", {
175
228
  ref: o,
@@ -178,10 +231,10 @@ var N = r(({ variant: e, aspectRatio: t, orientation: n = "horizontal", frameSta
178
231
  "aria-hidden": !0,
179
232
  children: a
180
233
  });
181
- }), P = ({ children: e, className: t }) => /* @__PURE__ */ u("div", {
234
+ }), L = ({ children: e, className: t }) => /* @__PURE__ */ u("div", {
182
235
  class: p("IncodeCameraOverlay", t),
183
236
  children: e
184
- }), F = ({ title: e, subtitle: t, visible: r = !0, className: i, titleId: a }) => {
237
+ }), R = ({ title: e, subtitle: t, visible: r = !0, className: i, titleId: a }) => {
185
238
  let o = s(null);
186
239
  return n(() => {
187
240
  o.current?.focus();
@@ -198,7 +251,7 @@ var N = r(({ variant: e, aspectRatio: t, orientation: n = "horizontal", frameSta
198
251
  children: t
199
252
  })]
200
253
  });
201
- }, I = ({ stream: e, children: t, videoRef: r, className: i, ...a }) => {
254
+ }, z = ({ stream: e, children: t, videoRef: r, className: i, ...a }) => {
202
255
  let o = s(null), c = (e) => {
203
256
  o.current = e, typeof r == "function" ? r(e) : r && (r.current = e);
204
257
  };
@@ -219,7 +272,7 @@ var N = r(({ variant: e, aspectRatio: t, orientation: n = "horizontal", frameSta
219
272
  })
220
273
  }), t]
221
274
  });
222
- }, L = ({ onOpenHelp: t, onCapture: n, isManualCapture: r, captureAriaLabel: i, captureAriaDescribedBy: a, helpAriaLabel: o, helpButtonRef: s, captureButtonRef: c, encryptionLabel: l, children: d }) => {
275
+ }, B = ({ onOpenHelp: t, onCapture: n, isManualCapture: r, captureAriaLabel: i, captureAriaDescribedBy: a, helpAriaLabel: o, helpButtonRef: s, captureButtonRef: c, encryptionLabel: l, children: d }) => {
223
276
  let { t: f } = e();
224
277
  return /* @__PURE__ */ u("div", {
225
278
  class: "IncodeCaptureFooter",
@@ -257,14 +310,14 @@ var N = r(({ variant: e, aspectRatio: t, orientation: n = "horizontal", frameSta
257
310
  };
258
311
  //#endregion
259
312
  //#region src/shared/manualCapture/manualCapture.tsx
260
- function R(e) {
313
+ function V(e) {
261
314
  if (e.readyState < 2 || e.videoWidth === 0 || e.videoHeight === 0) return null;
262
315
  let t = document.createElement("canvas");
263
316
  t.width = e.videoWidth, t.height = e.videoHeight;
264
317
  let n = t.getContext("2d");
265
318
  return n ? (n.drawImage(e, 0, 0), t.toDataURL("image/jpeg", .92).split(",")[1] ?? null) : null;
266
319
  }
267
- var z = ({ stream: e, onCapture: t, disabled: r }) => {
320
+ var ee = ({ stream: e, onCapture: t, disabled: r }) => {
268
321
  let i = s(null);
269
322
  n(() => {
270
323
  i.current && e && (i.current.srcObject = e, i.current.play().catch(() => {}));
@@ -272,7 +325,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
272
325
  let a = o(() => {
273
326
  let e = i.current;
274
327
  if (!e || r) return;
275
- let n = R(e);
328
+ let n = V(e);
276
329
  n && t(n);
277
330
  }, [t, r]);
278
331
  return /* @__PURE__ */ u("div", {
@@ -300,7 +353,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
300
353
  })
301
354
  })]
302
355
  });
303
- }, B = ({ className: e }) => /* @__PURE__ */ u("svg", {
356
+ }, te = ({ className: e }) => /* @__PURE__ */ u("svg", {
304
357
  width: "24",
305
358
  height: "24",
306
359
  viewBox: "0 0 24 24",
@@ -330,7 +383,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
330
383
  fill: "currentColor"
331
384
  })
332
385
  ]
333
- }), te = ({ className: e }) => /* @__PURE__ */ u("svg", {
386
+ }), ne = ({ className: e }) => /* @__PURE__ */ u("svg", {
334
387
  width: "24",
335
388
  height: "24",
336
389
  viewBox: "0 0 24 24",
@@ -356,7 +409,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
356
409
  fill: "currentColor"
357
410
  })
358
411
  ]
359
- }), ne = ({ className: e }) => /* @__PURE__ */ u("svg", {
412
+ }), re = ({ className: e }) => /* @__PURE__ */ u("svg", {
360
413
  width: "24",
361
414
  height: "24",
362
415
  viewBox: "0 0 24 24",
@@ -390,7 +443,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
390
443
  fill: "currentColor"
391
444
  })
392
445
  ]
393
- }), re = ({ className: e }) => /* @__PURE__ */ u("svg", {
446
+ }), ie = ({ className: e }) => /* @__PURE__ */ u("svg", {
394
447
  width: "64",
395
448
  height: "64",
396
449
  viewBox: "0 0 64 64",
@@ -407,13 +460,13 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
407
460
  d: "M32 41C33.1045 41 34 41.8955 34 43C34 44.1045 33.1045 45 32 45C30.8954 45 30 44.1045 30 43C30 41.8954 30.8954 41 32 41ZM32 18.5C36.6906 18.5001 40.1669 22.0578 40.167 26.5605C40.167 28.8363 39.239 30.7175 37.7119 32.0381C36.5502 33.0426 35.086 33.6855 33.5 33.9863V38H30.5V31.2568L31.9072 31.1699C33.5141 31.0696 34.8469 30.5494 35.75 29.7686C36.6245 29.0121 37.167 27.9561 37.167 26.5605C37.1669 23.7203 35.0394 21.5001 32 21.5C28.9065 21.5001 26.7253 23.7825 26.1406 26.8418L23.1934 26.2793C23.9755 22.1855 27.1118 18.5001 32 18.5Z",
408
461
  fill: "white"
409
462
  })]
410
- }), ie = ({ open: t, onClose: n, onTakeManually: r, portalContainer: i }) => {
463
+ }), ae = ({ open: t, onClose: n, onTakeManually: r, portalContainer: i }) => {
411
464
  let { t: a } = e(), s = o((e) => {
412
465
  e?.focus();
413
466
  }, []), c = () => {
414
467
  r(), n();
415
468
  };
416
- return /* @__PURE__ */ u(E.Root, {
469
+ return /* @__PURE__ */ u(D.Root, {
417
470
  open: t,
418
471
  onOpenChange: (e) => {
419
472
  e || n();
@@ -422,14 +475,14 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
422
475
  hasBackdrop: !1,
423
476
  portalContainer: i ?? void 0,
424
477
  manageInitialFocus: !1,
425
- children: /* @__PURE__ */ u(E.Content, {
478
+ children: /* @__PURE__ */ u(D.Content, {
426
479
  class: "IncodeCommonIssuesContent",
427
480
  children: [
428
- /* @__PURE__ */ u(E.Icon, {
481
+ /* @__PURE__ */ u(D.Icon, {
429
482
  class: "IncodeCommonIssuesQuestionIcon",
430
- children: /* @__PURE__ */ u(re, {})
483
+ children: /* @__PURE__ */ u(ie, {})
431
484
  }),
432
- /* @__PURE__ */ u(E.TitleSection, { children: /* @__PURE__ */ u(m, {
485
+ /* @__PURE__ */ u(D.TitleSection, { children: /* @__PURE__ */ u(m, {
433
486
  id: "incode-modal-title",
434
487
  ref: s,
435
488
  className: "IncodeCommonIssuesTitle",
@@ -444,7 +497,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
444
497
  children: [/* @__PURE__ */ u("div", {
445
498
  class: "IncodeCommonIssuesCardIcon",
446
499
  "aria-hidden": "true",
447
- children: /* @__PURE__ */ u(te, {})
500
+ children: /* @__PURE__ */ u(ne, {})
448
501
  }), /* @__PURE__ */ u("div", {
449
502
  class: "IncodeCommonIssuesCardText",
450
503
  children: [/* @__PURE__ */ u("h3", {
@@ -461,7 +514,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
461
514
  children: [/* @__PURE__ */ u("div", {
462
515
  class: "IncodeCommonIssuesCardIcon",
463
516
  "aria-hidden": "true",
464
- children: /* @__PURE__ */ u(B, {})
517
+ children: /* @__PURE__ */ u(te, {})
465
518
  }), /* @__PURE__ */ u("div", {
466
519
  class: "IncodeCommonIssuesCardText",
467
520
  children: [/* @__PURE__ */ u("h3", {
@@ -478,7 +531,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
478
531
  children: [/* @__PURE__ */ u("div", {
479
532
  class: "IncodeCommonIssuesCardIcon",
480
533
  "aria-hidden": "true",
481
- children: /* @__PURE__ */ u(ne, {})
534
+ children: /* @__PURE__ */ u(re, {})
482
535
  }), /* @__PURE__ */ u("div", {
483
536
  class: "IncodeCommonIssuesCardText",
484
537
  children: [/* @__PURE__ */ u("h3", {
@@ -492,7 +545,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
492
545
  })
493
546
  ]
494
547
  }),
495
- /* @__PURE__ */ u(E.Actions, {
548
+ /* @__PURE__ */ u(D.Actions, {
496
549
  class: "IncodeCommonIssuesButtons",
497
550
  children: [/* @__PURE__ */ u(g, {
498
551
  variant: "link",
@@ -508,7 +561,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
508
561
  ]
509
562
  })
510
563
  });
511
- }, ae = ({ orientation: e, mode: t, state: n, children: r, className: i }) => {
564
+ }, oe = ({ orientation: e, mode: t, state: n, children: r, className: i }) => {
512
565
  let a = e !== "vertical" || t === "passport", o = t === "passport", s = `IncodeCaptureFrame${n.charAt(0).toUpperCase() + n.slice(1)}`;
513
566
  return /* @__PURE__ */ u("div", {
514
567
  class: p("IncodeCaptureFrame", a ? "IncodeCaptureFrameHorizontal" : "IncodeCaptureFrameVertical", s, o && "IncodeCaptureFramePassport", i),
@@ -516,7 +569,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
516
569
  role: "presentation",
517
570
  children: r
518
571
  });
519
- }, V = ({ imageUrl: t, orientation: n, mode: r, borderState: i, topContent: a, bottomContent: o, overlayContent: s }) => {
572
+ }, H = ({ imageUrl: t, orientation: n, mode: r, borderState: i, topContent: a, bottomContent: o, overlayContent: s }) => {
520
573
  let { t: c } = e();
521
574
  return /* @__PURE__ */ u(f, {
522
575
  hideHeader: !0,
@@ -530,7 +583,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
530
583
  class: "IncodeIdProcessingTopArea",
531
584
  children: a
532
585
  }),
533
- /* @__PURE__ */ u(ae, {
586
+ /* @__PURE__ */ u(oe, {
534
587
  orientation: n,
535
588
  mode: r === "id" ? "front" : r,
536
589
  state: i,
@@ -556,7 +609,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
556
609
  })
557
610
  })
558
611
  });
559
- }, H = ({ imageUrl: t, progress: r, orientation: i, mode: a }) => {
612
+ }, U = ({ imageUrl: t, progress: r, orientation: i, mode: a }) => {
560
613
  let { t: o } = e(), c = s(null), d = i !== "vertical" || a === "passport", [f, p] = l(null);
561
614
  return n(() => {
562
615
  c.current?.focus();
@@ -566,14 +619,14 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
566
619
  }) : import("./id-laser-v-DfWJik9l.js").then((e) => {
567
620
  p(e.default);
568
621
  });
569
- }, [d]), /* @__PURE__ */ u(V, {
622
+ }, [d]), /* @__PURE__ */ u(H, {
570
623
  imageUrl: t,
571
624
  orientation: i,
572
625
  mode: a,
573
626
  borderState: "analyzing",
574
627
  topContent: /* @__PURE__ */ u("div", {
575
628
  class: "IncodeAnalyzingContent",
576
- children: [/* @__PURE__ */ u(O, { progress: r }), /* @__PURE__ */ u(m, {
629
+ children: [/* @__PURE__ */ u(k, { progress: r }), /* @__PURE__ */ u(m, {
577
630
  ref: c,
578
631
  id: "analyzing-title",
579
632
  className: "IncodeAnalyzingTitle",
@@ -587,7 +640,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
587
640
  className: "IncodeAnalyzingLottie"
588
641
  }) : null
589
642
  });
590
- }, U = ({ className: e, ...t }) => /* @__PURE__ */ u("svg", {
643
+ }, W = ({ className: e, ...t }) => /* @__PURE__ */ u("svg", {
591
644
  class: e,
592
645
  width: "32",
593
646
  height: "32",
@@ -600,7 +653,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
600
653
  d: "M16 0C24.8363 0.00012782 32 7.1636 32 16C31.9999 24.8363 24.8363 31.9999 16 32C7.16362 32 7.37067e-05 24.8364 0 16C0 7.16352 7.16357 0 16 0ZM22.3486 11.2314C21.8838 10.7668 21.1503 10.736 20.6494 11.1387L20.6406 11.1455L20.5537 11.2236L13.7139 18.0635L11.4521 15.8008C10.9543 15.3032 10.1473 15.3033 9.64941 15.8008C9.18435 16.2658 9.15345 17.0008 9.55664 17.502L9.56348 17.5098L9.6416 17.5977L12.8125 20.7686C13.2775 21.2335 14.0117 21.2644 14.5127 20.8613L14.5205 20.8545L14.6084 20.7764L22.3486 13.0352C22.8467 12.5371 22.8467 11.7295 22.3486 11.2314Z",
601
654
  fill: "#189F60"
602
655
  })
603
- }), W = ({ className: e, ...t }) => /* @__PURE__ */ u("svg", {
656
+ }), G = ({ className: e, ...t }) => /* @__PURE__ */ u("svg", {
604
657
  class: e,
605
658
  width: "33",
606
659
  height: "32",
@@ -613,11 +666,11 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
613
666
  d: "M16.5 0C25.3219 0 32.5 7.17642 32.5 16C32.5 24.8219 25.3219 32 16.5 32C7.67811 32 0.5 24.8219 0.5 16C0.5 7.17642 7.67811 0 16.5 0ZM13.6553 11.3701C13.1618 10.8767 12.3636 10.8767 11.8701 11.3701C11.3767 11.8636 11.3767 12.6618 11.8701 13.1553L14.9053 16.1924L11.8721 19.2256C11.3803 19.7191 11.3803 20.5173 11.8721 21.0107C12.3656 21.504 13.1658 21.5041 13.6592 21.0107L16.6924 17.9775L19.7334 21.0205C19.981 21.2664 20.3029 21.3916 20.6279 21.3916C20.9513 21.3916 21.2746 21.2664 21.5205 21.0205C22.014 20.527 22.014 19.7269 21.5205 19.2334L18.4775 16.1924L21.5107 13.1572C22.0041 12.6638 22.004 11.8639 21.5107 11.3721C21.0173 10.8786 20.2191 10.8786 19.7256 11.3721L16.6904 14.4053L13.6553 11.3701Z",
614
667
  fill: "#E71111"
615
668
  })
616
- }), G = ({ variant: r, imageUrl: i, orientation: a, mode: o, title: c, subtitle: l, buttonText: f, onButtonClick: p, attemptsRemaining: h }) => {
669
+ }), K = ({ variant: r, imageUrl: i, orientation: a, mode: o, title: c, subtitle: l, buttonText: f, onButtonClick: p, attemptsRemaining: h }) => {
617
670
  let { t: _ } = e(), v = s(null);
618
671
  return n(() => {
619
672
  v.current?.focus();
620
- }, []), /* @__PURE__ */ u(V, {
673
+ }, []), /* @__PURE__ */ u(H, {
621
674
  imageUrl: i,
622
675
  orientation: a,
623
676
  mode: o,
@@ -626,7 +679,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
626
679
  class: "IncodeIdProcessingResultContent",
627
680
  role: "status",
628
681
  children: [
629
- u(r === "success" ? U : W, { className: "IncodeIdProcessingResultIcon" }),
682
+ u(r === "success" ? W : G, { className: "IncodeIdProcessingResultIcon" }),
630
683
  /* @__PURE__ */ u(d, { size: 16 }),
631
684
  c && /* @__PURE__ */ u(m, {
632
685
  ref: v,
@@ -652,11 +705,11 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
652
705
  })]
653
706
  })
654
707
  });
655
- }, K = ({ manager: t, state: n }) => {
708
+ }, q = ({ manager: t, state: n }) => {
656
709
  let { t: r } = e();
657
710
  if (!n.previewImageUrl) return null;
658
711
  let i = n.currentMode === "passport" ? "passport" : "id";
659
- return /* @__PURE__ */ u(G, {
712
+ return /* @__PURE__ */ u(K, {
660
713
  variant: "success",
661
714
  imageUrl: n.previewImageUrl,
662
715
  orientation: n.orientation,
@@ -666,7 +719,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
666
719
  buttonText: n.needsBackCapture ? r("idv2.capture.processing.scanBack") : n.needsFrontCapture ? r("idv2.capture.processing.scanFront") : r("idv2.capture.processing.continue"),
667
720
  onButtonClick: () => t.nextStep()
668
721
  });
669
- }, q = ({ manager: t, state: n, ...r }) => {
722
+ }, J = ({ manager: t, state: n, ...r }) => {
670
723
  let { t: i } = e();
671
724
  if (n.status === "error") return /* @__PURE__ */ u("div", {
672
725
  class: "IncodeIdError",
@@ -681,7 +734,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
681
734
  })]
682
735
  });
683
736
  let a = n.currentMode === "passport" ? "passport" : "id";
684
- return n.previewImageUrl ? /* @__PURE__ */ u(G, {
737
+ return n.previewImageUrl ? /* @__PURE__ */ u(K, {
685
738
  variant: "error",
686
739
  imageUrl: n.previewImageUrl,
687
740
  orientation: n.orientation,
@@ -692,7 +745,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
692
745
  onButtonClick: () => t.continueFromError(),
693
746
  attemptsRemaining: n.attemptsRemaining
694
747
  }) : null;
695
- }, J = ({ manager: t }) => {
748
+ }, se = ({ manager: t }) => {
696
749
  let { t: r } = e(), i = s(null);
697
750
  return n(() => {
698
751
  i.current?.focus();
@@ -704,7 +757,7 @@ var z = ({ stream: e, onCapture: t, disabled: r }) => {
704
757
  class: "IncodeIdExpiredContent",
705
758
  role: "alert",
706
759
  children: [
707
- /* @__PURE__ */ u(W, { className: "IncodeIdExpiredIcon" }),
760
+ /* @__PURE__ */ u(G, { className: "IncodeIdExpiredIcon" }),
708
761
  /* @__PURE__ */ u(m, {
709
762
  ref: i,
710
763
  tabIndex: -1,
@@ -747,15 +800,15 @@ function Q(e) {
747
800
  Y.set("blur", t.default), Y.set("glare", n.default), Y.set("align", r.default), Y.set("front", i.default), Y.set("back", a.default), e?.();
748
801
  }).catch(() => {}));
749
802
  }
750
- function oe() {
803
+ function ce() {
751
804
  Q();
752
805
  }
753
- function se() {
806
+ function le() {
754
807
  n(() => {
755
- oe();
808
+ ce();
756
809
  }, []);
757
810
  }
758
- function ce(t, r) {
811
+ function ue(t, r) {
759
812
  let { t: i } = e(), [, a] = l(0);
760
813
  if (n(() => {
761
814
  Q(() => a((e) => e + 1));
@@ -786,8 +839,8 @@ function ce(t, r) {
786
839
  }
787
840
  //#endregion
788
841
  //#region src/modules/id/capture/captureNotification.tsx
789
- var le = ({ detectionStatus: r, mode: i, isCapturing: a }) => {
790
- let { t: c } = e(), l = ce(r, i), f = s(null), m = s({
842
+ var de = ({ detectionStatus: r, mode: i, isCapturing: a }) => {
843
+ let { t: c } = e(), l = ue(r, i), f = s(null), m = s({
791
844
  message: "",
792
845
  at: 0
793
846
  }), h = s(r), g = s(!1), _ = s(), v = s(), y = r === "detecting" || r === "idNotDetected" || r === "manualCapture", b = r === "manualCapture", x = r === "wrongSide", S = r === "farAway", w = r === "glare", T = r === "blur", E = o((e) => {
@@ -896,34 +949,34 @@ var le = ({ detectionStatus: r, mode: i, isCapturing: a }) => {
896
949
  ]
897
950
  })
898
951
  }) : null] });
899
- }, ue = i(() => import("./front-horizontal-hint-2RcQjgHE.js")), de = i(() => import("./front-vertical-hint-CRhiWbkP.js")), fe = i(() => import("./back-horizontal-hint-DUuojsev.js")), pe = i(() => import("./back-vertical-hint-CX_hCJhV.js")), me = i(() => import("./passport-horizontal-hint-CAqrHNYZ.js")), he = i(() => import("./passport-vertical-hint-BHH9yd1n.js")), ge = {
952
+ }, fe = i(() => import("./front-horizontal-hint-2RcQjgHE.js")), pe = i(() => import("./front-vertical-hint-CRhiWbkP.js")), me = i(() => import("./back-horizontal-hint-DUuojsev.js")), he = i(() => import("./back-vertical-hint-CX_hCJhV.js")), ge = i(() => import("./passport-horizontal-hint-CAqrHNYZ.js")), _e = i(() => import("./passport-vertical-hint-BHH9yd1n.js")), ve = {
900
953
  "front-horizontal": 348,
901
954
  "back-horizontal": 348,
902
955
  "passport-horizontal": 342
903
- }, _e = {
956
+ }, ye = {
904
957
  "front-vertical": 446,
905
958
  "back-vertical": 446,
906
959
  "passport-vertical": 342
907
960
  };
908
- function ve(e, t, n, r) {
909
- let i = `${e}-${t}`, a = ge[i];
961
+ function be(e, t, n, r) {
962
+ let i = `${e}-${t}`, a = ve[i];
910
963
  if (a) return n / a;
911
- let o = _e[i];
964
+ let o = ye[i];
912
965
  return o ? r / o : 1;
913
966
  }
914
- var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
967
+ var $ = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
915
968
  let i = s(null), [a, o] = l(1);
916
969
  n(() => {
917
970
  let n = i.current;
918
971
  if (!n) return;
919
972
  let r = () => {
920
- o(ve(e, t, n.clientWidth, n.clientHeight));
973
+ o(be(e, t, n.clientWidth, n.clientHeight));
921
974
  };
922
975
  r();
923
976
  let a = new ResizeObserver(r);
924
977
  return a.observe(n), () => a.disconnect();
925
978
  }, [e, t]);
926
- let d = () => e === "front" ? u(t === "horizontal" ? ue : de, {}) : e === "back" ? u(t === "horizontal" ? fe : pe, {}) : e === "passport" ? u(t === "horizontal" ? me : he, {}) : null;
979
+ let d = () => e === "front" ? u(t === "horizontal" ? fe : pe, {}) : e === "back" ? u(t === "horizontal" ? me : he, {}) : e === "passport" ? u(t === "horizontal" ? ge : _e, {}) : null;
927
980
  return /* @__PURE__ */ u("div", {
928
981
  ref: i,
929
982
  class: "IncodeIdHint",
@@ -944,9 +997,9 @@ var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
944
997
  })
945
998
  })
946
999
  });
947
- }, be = r(({ mode: t, orientation: r, detectionStatus: i, counterValue: o, isCapturing: c, showManualCapture: d, onCapture: f, onOpenHelp: m, helpButtonRef: h, captureButtonRef: g }, _) => {
1000
+ }, xe = r(({ mode: t, orientation: r, detectionStatus: i, counterValue: o, isCapturing: c, showManualCapture: d, onCapture: f, onOpenHelp: m, helpButtonRef: h, captureButtonRef: g }, _) => {
948
1001
  let { t: v } = e();
949
- se();
1002
+ le();
950
1003
  let y = s(!1), [b, x] = l(!1);
951
1004
  n(() => {
952
1005
  if (i === "idNotDetected") {
@@ -983,23 +1036,23 @@ var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
983
1036
  t,
984
1037
  v
985
1038
  ]), w = S(), T = t === "passport", E = r !== "vertical" || T ? "horizontal" : "vertical";
986
- return /* @__PURE__ */ u(P, {
1039
+ return /* @__PURE__ */ u(L, {
987
1040
  className: "IncodeCaptureOverlayId",
988
1041
  children: [
989
1042
  /* @__PURE__ */ u("div", {
990
1043
  class: "IncodeCaptureTopSection",
991
- children: [/* @__PURE__ */ u(le, {
1044
+ children: [/* @__PURE__ */ u(de, {
992
1045
  detectionStatus: i,
993
1046
  mode: t,
994
1047
  isCapturing: c
995
- }), /* @__PURE__ */ u(F, {
1048
+ }), /* @__PURE__ */ u(R, {
996
1049
  title: C?.title ?? "",
997
1050
  subtitle: C?.subtitle,
998
1051
  visible: C !== null,
999
1052
  titleId: "id-capture-heading"
1000
1053
  })]
1001
1054
  }),
1002
- /* @__PURE__ */ u(N, {
1055
+ /* @__PURE__ */ u(I, {
1003
1056
  ref: _,
1004
1057
  variant: "locked",
1005
1058
  orientation: E,
@@ -1008,7 +1061,7 @@ var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
1008
1061
  children: [c && o > 0 && /* @__PURE__ */ u("div", {
1009
1062
  class: "IncodeCaptureCounter",
1010
1063
  children: o
1011
- }), b && /* @__PURE__ */ u(ye, {
1064
+ }), b && /* @__PURE__ */ u($, {
1012
1065
  mode: t,
1013
1066
  orientation: r ?? "horizontal",
1014
1067
  onAnimationEnd: () => x(!1)
@@ -1020,7 +1073,7 @@ var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
1020
1073
  "aria-atomic": "true",
1021
1074
  children: c && o > 0 ? o : ""
1022
1075
  }),
1023
- /* @__PURE__ */ u(L, {
1076
+ /* @__PURE__ */ u(B, {
1024
1077
  onOpenHelp: m,
1025
1078
  onCapture: f,
1026
1079
  isManualCapture: d,
@@ -1042,27 +1095,27 @@ var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
1042
1095
  })
1043
1096
  ]
1044
1097
  });
1045
- }), $ = ({ manager: e, state: t }) => {
1098
+ }), Se = ({ manager: e, state: t }) => {
1046
1099
  if (t.captureStatus === "uploading" && t.previewImageUrl) {
1047
1100
  let e = t.currentMode === "passport" ? "passport" : "id";
1048
- return /* @__PURE__ */ u(H, {
1101
+ return /* @__PURE__ */ u(U, {
1049
1102
  imageUrl: t.previewImageUrl,
1050
1103
  progress: t.uploadProgress ?? 0,
1051
1104
  orientation: t.orientation,
1052
1105
  mode: e
1053
1106
  });
1054
1107
  }
1055
- return t.captureStatus === "success" && t.previewImageUrl ? /* @__PURE__ */ u(K, {
1108
+ return t.captureStatus === "success" && t.previewImageUrl ? /* @__PURE__ */ u(q, {
1056
1109
  manager: e,
1057
1110
  state: t
1058
- }) : t.captureStatus === "uploadError" && t.previewImageUrl ? /* @__PURE__ */ u(q, {
1111
+ }) : t.captureStatus === "uploadError" && t.previewImageUrl ? /* @__PURE__ */ u(J, {
1059
1112
  manager: e,
1060
1113
  state: t
1061
- }) : /* @__PURE__ */ u(xe, {
1114
+ }) : /* @__PURE__ */ u(Ce, {
1062
1115
  manager: e,
1063
1116
  state: t
1064
1117
  });
1065
- }, xe = ({ manager: e, state: t }) => {
1118
+ }, Ce = ({ manager: e, state: t }) => {
1066
1119
  let r = s(null), i = s(null), a = s(null), o = s(null), c = s(null), [d, p] = l(!1), [m, h] = l(!1);
1067
1120
  n(() => {
1068
1121
  let e = r.current;
@@ -1107,10 +1160,10 @@ var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
1107
1160
  hideFooterBranding: !0,
1108
1161
  className: "IncodeIdCapturePage",
1109
1162
  children: [
1110
- /* @__PURE__ */ u(I, {
1163
+ /* @__PURE__ */ u(z, {
1111
1164
  stream: t.stream,
1112
1165
  "aria-hidden": d || void 0,
1113
- children: /* @__PURE__ */ u(be, {
1166
+ children: /* @__PURE__ */ u(xe, {
1114
1167
  ref: i,
1115
1168
  mode: t.currentMode,
1116
1169
  orientation: t.orientation,
@@ -1125,7 +1178,7 @@ var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
1125
1178
  })
1126
1179
  }),
1127
1180
  /* @__PURE__ */ u("div", { ref: c }),
1128
- /* @__PURE__ */ u(ie, {
1181
+ /* @__PURE__ */ u(ae, {
1129
1182
  open: d,
1130
1183
  onClose: b,
1131
1184
  onTakeManually: x,
@@ -1133,7 +1186,7 @@ var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
1133
1186
  })
1134
1187
  ]
1135
1188
  });
1136
- }, Se = ({ manager: t, state: r }) => {
1189
+ }, we = ({ manager: t, state: r }) => {
1137
1190
  let { t: i } = e(), [a, o] = l(!1), [s, c] = l(null), d = r.selectedDocumentType === "passport", f = r.currentMode === "back";
1138
1191
  n(() => {
1139
1192
  d ? import("./passport-tutorial-DhEHJZeD.js").then((e) => {
@@ -1157,7 +1210,7 @@ var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
1157
1210
  isLoading: a,
1158
1211
  className: p("IncodeIdTutorial", d ? "IncodeIdTutorialPassport" : "IncodeIdTutorialId")
1159
1212
  });
1160
- }, Ce = {
1213
+ }, Te = {
1161
1214
  digitalIdUpload: {
1162
1215
  type: "digitalIdUpload",
1163
1216
  icon: () => /* @__PURE__ */ u("svg", {
@@ -2194,16 +2247,16 @@ var ye = ({ mode: e, orientation: t, onAnimationEnd: r }) => {
2194
2247
  };
2195
2248
  //#endregion
2196
2249
  //#region src/modules/id/chooser/chooser.helpers.ts
2197
- function we(e) {
2250
+ function Ee(e) {
2198
2251
  return e.reduce((e, t) => {
2199
- let n = Ce[t];
2252
+ let n = Te[t];
2200
2253
  return n && e.push(n), e;
2201
2254
  }, []).sort((e, t) => e.weight - t.weight);
2202
2255
  }
2203
2256
  //#endregion
2204
2257
  //#region src/modules/id/chooser/chooser.tsx
2205
- var Te = ({ manager: t, state: n }) => {
2206
- let { t: r } = e(), i = a(() => we(n.availableDocumentTypes), [n.availableDocumentTypes]), o = (e) => {
2258
+ var De = ({ manager: t, state: n }) => {
2259
+ let { t: r } = e(), i = a(() => Ee(n.availableDocumentTypes), [n.availableDocumentTypes]), o = (e) => {
2207
2260
  t.selectDocument(e);
2208
2261
  };
2209
2262
  return /* @__PURE__ */ u(f, {
@@ -2212,7 +2265,7 @@ var Te = ({ manager: t, state: n }) => {
2212
2265
  className: "IncodeChooserPage",
2213
2266
  children: /* @__PURE__ */ u("div", {
2214
2267
  class: "IncodeChooserContainer",
2215
- children: /* @__PURE__ */ u(j, { children: i.map((e) => /* @__PURE__ */ u(M, {
2268
+ children: /* @__PURE__ */ u(N, { children: i.map((e) => /* @__PURE__ */ u(P, {
2216
2269
  icon: e.icon,
2217
2270
  title: r(e.title),
2218
2271
  testId: e.testId,
@@ -2221,7 +2274,7 @@ var Te = ({ manager: t, state: n }) => {
2221
2274
  }, e.type)) })
2222
2275
  })
2223
2276
  });
2224
- }, Ee = ({ manager: t, direction: r }) => {
2277
+ }, Oe = ({ manager: t, direction: r }) => {
2225
2278
  let [i, a] = l(null), [s, c] = l(!1), { t: f } = e();
2226
2279
  n(() => {
2227
2280
  import("./flip-animation-Tm2zxXjs.js").then((e) => {
@@ -2253,4 +2306,4 @@ var Te = ({ manager: t, state: n }) => {
2253
2306
  }) : null;
2254
2307
  };
2255
2308
  //#endregion
2256
- export { O as _, J as a, L as c, P as d, N as f, k as g, A as h, $ as i, I as l, j as m, Te as n, q as o, M as p, Se as r, z as s, Ee as t, F as u, D as v };
2309
+ export { A as _, se as a, B as c, L as d, I as f, j as g, M as h, Se as i, z as l, N as m, De as n, J as o, P as p, we as r, ee as s, Oe as t, R as u, k as v, O as y };
@@ -3,24 +3,24 @@ import { t } from "./uiConfig-CwpQ-IM6.js";
3
3
  import { a as n, n as r, o as i, t as a } from "./incodeComponent-DexcYK3Y.js";
4
4
  import { t as o } from "./spacer-CN9uvb__.js";
5
5
  import { t as s } from "./page-BB20C-zy.js";
6
- import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T } from "./extensibility-8TZjCjYY.js";
7
- import { a as E, i as D, n as O, o as k, r as A, t as j } from "./typography-Duug0raB.js";
8
- import { t as M } from "./spinner-Cj7kdZ0T.js";
9
- import { t as N } from "./processing-AM48BFTl.js";
10
- import { t as P } from "./button-i4SPU5G7.js";
11
- import { a as F, c as I, d as L, f as R, g as z, h as B, i as V, l as H, m as U, n as W, o as G, p as K, r as q, s as J, t as Y, u as X } from "./icons-Bk44oy5t.js";
12
- import { a as Z, i as Q, n as $, o as ee, r as te, t as ne } from "./tutorial-B2lNnuWv.js";
13
- import { t as re } from "./successIcon-SlKgTSty.js";
14
- import { t as ie } from "./verificationResult-DTfsw2w2.js";
15
- import { n as ae, t as oe } from "./inputComposed-4aHO5YRK.js";
16
- import { t as se } from "./otpInput-DgtpWHON.js";
17
- import { t as ce } from "./checkbox-DSJ1kLyD.js";
18
- import { t as le } from "./formField-B34T3LAe.js";
19
- import { n as ue, r as de, t as fe } from "./countries-BntFjJJG.js";
20
- import { t as pe } from "./phoneInputComposed--GQv3M_5.js";
21
- import { t as me } from "./dropdownComposed-D7l5VnKk.js";
22
- import { t as he } from "./dateInputComposed-BISaNEkl.js";
23
- import { t as ge } from "./radioButtonComposed-CuKvBI5S.js";
24
- import { t as _e } from "./modal-dixIN7NV.js";
25
- import { t as ve } from "./bottomSheet-BICziA8B.js";
26
- export { Q as BaseTutorial, ve as BottomSheet, P as Button, U as CalendarIcon, f as CameraFrame, K as CameraIcon, d as CameraOverlay, w as CameraOverlayHeader, g as CameraView, R as CaptureButtonIcon, u as CaptureFooter, ce as Checkbox, X as CheckmarkCompactIcon, L as CheckmarkIcon, H as ChevronDown, I as ChevronLeftIcon, J as ChevronRightIcon, G as CloseIcon, he as DateInputComposed, me as DropdownComposed, ee as ErrorContent, z as ErrorIcon, F as FileIcon, le as FormField, V as HelpIcon, h as IdCapture, v as IdChooser, y as IdError, l as IdExpired, C as IdFlipAnimation, x as IdTutorial, a as IncodeComponent, ae as Input, oe as InputComposed, r as LandscapeBlocker, Y as LightningIcon, q as LockIcon, Z as Lottie, S as ManualCapture, _e as Modal, se as OtpInput, T as Overlay, s as Page, te as Permissions, pe as PhoneInputComposed, N as Processing, c as ProgressBar, ge as RadioButtonComposed, W as SearchIcon, $ as SelfieCapture, ne as SelfieTutorial, o as Spacer, M as Spinner, re as SuccessIcon, p as TextArea, m as TextAreaComposed, j as Title, O as TypographyH1, A as TypographyH3, D as TypographyH4, E as TypographyH5, k as TypographyP, b as VerificationOptionCard, _ as VerificationOptionCardList, ie as VerificationResult, B as WarningIcon, fe as countries, ue as getCountryByCallingCode, de as getCountryByCode, t as setUiConfig, i as useManager, n as useScreenOrientation, e as useTranslation };
6
+ import { _ as c, a as l, c as u, d, f, g as p, h as m, i as h, l as g, m as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w, v as T, y as E } from "./extensibility-BhOLYPko.js";
7
+ import { a as D, i as O, n as k, o as A, r as j, t as M } from "./typography-Duug0raB.js";
8
+ import { t as N } from "./spinner-Cj7kdZ0T.js";
9
+ import { t as P } from "./processing-AM48BFTl.js";
10
+ import { t as F } from "./button-i4SPU5G7.js";
11
+ import { a as I, c as L, d as R, f as z, g as B, h as V, i as H, l as U, m as W, n as G, o as K, p as q, r as J, s as Y, t as X, u as Z } from "./icons-Bk44oy5t.js";
12
+ import { a as Q, i as $, n as ee, o as te, r as ne, t as re } from "./tutorial-B2lNnuWv.js";
13
+ import { t as ie } from "./successIcon-SlKgTSty.js";
14
+ import { t as ae } from "./verificationResult-DTfsw2w2.js";
15
+ import { n as oe, t as se } from "./inputComposed-4aHO5YRK.js";
16
+ import { t as ce } from "./otpInput-DgtpWHON.js";
17
+ import { t as le } from "./checkbox-DSJ1kLyD.js";
18
+ import { t as ue } from "./formField-B34T3LAe.js";
19
+ import { n as de, r as fe, t as pe } from "./countries-BntFjJJG.js";
20
+ import { t as me } from "./phoneInputComposed--GQv3M_5.js";
21
+ import { t as he } from "./dropdownComposed-D7l5VnKk.js";
22
+ import { t as ge } from "./dateInputComposed-BISaNEkl.js";
23
+ import { t as _e } from "./radioButtonComposed-CuKvBI5S.js";
24
+ import { t as ve } from "./modal-dixIN7NV.js";
25
+ import { t as ye } from "./bottomSheet-BICziA8B.js";
26
+ export { $ as BaseTutorial, ye as BottomSheet, F as Button, W as CalendarIcon, f as CameraFrame, q as CameraIcon, d as CameraOverlay, w as CameraOverlayHeader, g as CameraView, z as CaptureButtonIcon, u as CaptureFooter, le as Checkbox, Z as CheckmarkCompactIcon, R as CheckmarkIcon, U as ChevronDown, L as ChevronLeftIcon, Y as ChevronRightIcon, K as CloseIcon, ge as DateInputComposed, he as DropdownComposed, te as ErrorContent, B as ErrorIcon, I as FileIcon, ue as FormField, H as HelpIcon, h as IdCapture, v as IdChooser, y as IdError, l as IdExpired, C as IdFlipAnimation, x as IdTutorial, a as IncodeComponent, oe as Input, se as InputComposed, r as LandscapeBlocker, X as LightningIcon, J as LockIcon, Q as Lottie, S as ManualCapture, ve as Modal, ce as OtpInput, E as Overlay, s as Page, ne as Permissions, me as PhoneInputComposed, P as Processing, T as ProgressBar, _e as RadioButtonComposed, c as RadioGroupComposed, G as SearchIcon, ee as SelfieCapture, re as SelfieTutorial, o as Spacer, N as Spinner, ie as SuccessIcon, p as TextArea, m as TextAreaComposed, M as Title, k as TypographyH1, j as TypographyH3, O as TypographyH4, D as TypographyH5, A as TypographyP, b as VerificationOptionCard, _ as VerificationOptionCardList, ae as VerificationResult, V as WarningIcon, pe as countries, de as getCountryByCallingCode, fe as getCountryByCode, t as setUiConfig, i as useManager, n as useScreenOrientation, e as useTranslation };
@@ -4,7 +4,7 @@ import { t as c } from "../uiConfig-CwpQ-IM6.js";
4
4
  import { o as l, t as u } from "../incodeComponent-DexcYK3Y.js";
5
5
  import { t as d } from "../transitionSpinner-DqDwaNM6.js";
6
6
  import { t as f } from "../incodeModule-CHzKl22Y.js";
7
- import { a as p, c as m, d as h, i as g, l as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w } from "../useModuleLoader-D9BJvWVj.js";
7
+ import { a as p, c as m, d as h, i as g, l as _, n as v, o as y, p as b, r as x, s as S, t as C, u as w } from "../useModuleLoader-C3H1IQFS.js";
8
8
  import { getDeviceClass as T } from "@incodetech/core/device";
9
9
  import { getRequiredWasmPipelines as E } from "@incodetech/core/flow";
10
10
  import { QrValidationError as D, bootstrapSession as O, refreshQrUrlUuid as k } from "@incodetech/core/session";
package/dist/id/id.es.js CHANGED
@@ -2,7 +2,7 @@ import { n as e } from "../i18n-ntrVdqVv.js";
2
2
  import { _ as t, c as n, l as r, o as i, v as a } from "../vendor-preact-D6SntenC.js";
3
3
  import { o, t as s } from "../incodeComponent-DexcYK3Y.js";
4
4
  import { t as c } from "../page-BB20C-zy.js";
5
- import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-8TZjCjYY.js";
5
+ import { a as l, i as u, n as d, o as f, r as p, t as m } from "../extensibility-BhOLYPko.js";
6
6
  import { n as h } from "../loadingIcon-C-Sq5v_K.js";
7
7
  import { t as g } from "../spinner-Cj7kdZ0T.js";
8
8
  import "../spinner-BYktSnQZ.js";
@@ -2,7 +2,7 @@ import { n as e } from "./i18n-ntrVdqVv.js";
2
2
  import { v as t } from "./vendor-preact-D6SntenC.js";
3
3
  import { o as n, t as r } from "./incodeComponent-DexcYK3Y.js";
4
4
  import { t as i } from "./page-BB20C-zy.js";
5
- import "./extensibility-8TZjCjYY.js";
5
+ import "./extensibility-BhOLYPko.js";
6
6
  import { t as a } from "./button-i4SPU5G7.js";
7
7
  import { t as o } from "./verificationResult-DTfsw2w2.js";
8
8
  import { t as s } from "./inputComposed-4aHO5YRK.js";
@@ -3,7 +3,7 @@ import { _ as t, a as n, h as r, l as i, p as a, u as o, v as s } from "../vendo
3
3
  import { o as c, t as l } from "../incodeComponent-DexcYK3Y.js";
4
4
  import { t as u } from "../spacer-CN9uvb__.js";
5
5
  import { t as d } from "../page-BB20C-zy.js";
6
- import "../extensibility-8TZjCjYY.js";
6
+ import "../extensibility-BhOLYPko.js";
7
7
  import { t as f } from "../button-i4SPU5G7.js";
8
8
  import { t as p } from "../verificationResult-DTfsw2w2.js";
9
9
  import { t as m } from "../incodeModule-CHzKl22Y.js";
@@ -713,6 +713,34 @@ declare type RadioButtonComposedProps = Omit<InputHTMLAttributes<HTMLInputElemen
713
713
  'aria-invalid'?: boolean;
714
714
  };
715
715
 
716
+ export declare const RadioGroupComposed: FunctionalComponent<PropsWithoutRef<RadioGroupComposedProps> & {
717
+ ref?: Ref<HTMLDivElement> | undefined;
718
+ }>;
719
+
720
+ declare type RadioGroupComposedProps = {
721
+ id: string;
722
+ label: string;
723
+ options: RadioGroupOption[];
724
+ value?: string;
725
+ defaultValue?: string;
726
+ error?: string;
727
+ helper?: string;
728
+ required?: boolean;
729
+ disabled?: boolean;
730
+ name?: string;
731
+ orientation?: 'row' | 'column';
732
+ onChange?: (value: string, event: TargetedEvent<HTMLInputElement, Event>) => void;
733
+ onBlur?: (event: FocusEvent) => void;
734
+ class?: string;
735
+ 'data-testid'?: string;
736
+ };
737
+
738
+ declare type RadioGroupOption = {
739
+ value: string;
740
+ label: string;
741
+ disabled?: boolean;
742
+ };
743
+
716
744
  export declare const SearchIcon: FC<SearchIconProps>;
717
745
 
718
746
  declare type SearchIconProps = {
@@ -172,12 +172,12 @@ var M = {
172
172
  GEOLOCATION: () => import("./geolocation/geolocation.es.js").then((e) => e.Geolocation),
173
173
  EXTERNAL_VERIFICATION: () => import("./ekycModule-B_pmX3EX.js").then((e) => e.EkycModule),
174
174
  EKYB: () => import("./ekybModule-pKz3HZFJ.js").then((e) => e.EkybModule),
175
- DOCUMENT_CAPTURE: () => import("./documentCapture-BcB0tSba.js").then((e) => e.DocumentCapture),
176
- ADDRESS: () => import("./documentCapture-BcB0tSba.js").then((e) => e.DocumentCapture),
175
+ DOCUMENT_CAPTURE: () => import("./documentCapture-BD-LU6Y1.js").then((e) => e.DocumentCapture),
176
+ ADDRESS: () => import("./documentCapture-BD-LU6Y1.js").then((e) => e.DocumentCapture),
177
177
  COMBINED_CONSENT: () => import("./consent/consent.es.js").then((e) => e.Consent),
178
178
  MANDATORY_CONSENT: () => import("./mandatoryConsent-OCdxJMmo.js").then((e) => e.MandatoryConsent),
179
179
  SIGNATURE: () => import("./signature/signature.es.js").then((e) => e.Signature),
180
- ID_OCR: () => import("./idOcr-Du61xkWp.js").then((e) => e.IdOcr),
180
+ ID_OCR: () => import("./idOcr-DE7m3NhI.js").then((e) => e.IdOcr),
181
181
  ANTIFRAUD: () => import("./antifraud/antifraud.es.js").then((e) => e.Antifraud),
182
182
  CUSTOM_FIELDS: () => import("./customFields-ClP-OHqQ.js").then((e) => e.CustomFields),
183
183
  WATCHLIST: () => import("./watchlist/watchlist.es.js").then((e) => e.Watchlist),
@@ -5,7 +5,7 @@ import { o, t as s } from "../incodeComponent-DexcYK3Y.js";
5
5
  import "../spinner-BYktSnQZ.js";
6
6
  import { t as c } from "../transitionSpinner-DqDwaNM6.js";
7
7
  import { t as l } from "../incodeModule-CHzKl22Y.js";
8
- import { a as u, f as d, i as f, m as p, t as m } from "../useModuleLoader-D9BJvWVj.js";
8
+ import { a as u, f as d, i as f, m as p, t as m } from "../useModuleLoader-C3H1IQFS.js";
9
9
  import { resolveWasmConfig as h, warmupWasm as g } from "@incodetech/core/wasm";
10
10
  import { QrValidationError as _, refreshQrUrlUuid as v } from "@incodetech/core/session";
11
11
  import { createWorkflowManager as y } from "@incodetech/core/workflow";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260429-6a61532",
3
+ "version": "0.0.0-dev-20260429-52782c8",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -230,7 +230,7 @@
230
230
  "qrcode": "^1.5.4",
231
231
  "signature_pad": "^5.1.3",
232
232
  "tailwindcss": "^4.1.17",
233
- "@incodetech/core": "0.0.0-dev-20260429-6a61532"
233
+ "@incodetech/core": "0.0.0-dev-20260429-52782c8"
234
234
  },
235
235
  "devDependencies": {
236
236
  "@microsoft/api-extractor": "^7.53.3",