@incodetech/web 0.0.0-dev-20260402-7cf9db4 → 0.0.0-dev-20260402-0dc2fb9

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.
@@ -11,9 +11,8 @@ import { a as k } from "../inputComposed-QzDneavl.js";
11
11
  import "../checkbox-wo8qk7tM.js";
12
12
  import "../phoneInputComposed-BAFZQ4Y8.js";
13
13
  import "../dateInputComposed-D5kgh_aC.js";
14
- import "../captureOverlay-Crv6ZBp_.js";
14
+ import "../captureOverlay-wQmz2Z5r.js";
15
15
  import "../manualCaptureButton-CPZ2xxEI.js";
16
- import "../captureFooter-CKqO4KY2.js";
17
16
  import "../countries-DfLkrF0x.js";
18
17
  const h = /^[^\s@]+@[^\s@]+\.[^\s@]+$/, L = ({
19
18
  prefilledEmail: i,
@@ -14,20 +14,19 @@ import { C as Y, a as Z } from "./checkbox-wo8qk7tM.js";
14
14
  import { P as $ } from "./phoneInputComposed-BAFZQ4Y8.js";
15
15
  import { D as ra, S as ea } from "./dropdownComposed-CzAsPPqv.js";
16
16
  import { C as ta, D as sa } from "./dateInputComposed-D5kgh_aC.js";
17
- import { T as pa, a as ca } from "./captureOverlay-Crv6ZBp_.js";
18
- import { d as ua, C as ma, b as la, I as Ca, c as da, F as fa, T as Ia, S as xa, V as ha, a as ga } from "./flipAnimation-CPzQqCvm.js";
19
- import { L as Ta, M as va } from "./manualCaptureButton-CPZ2xxEI.js";
20
- import { a as Ba, C as Fa, b as Pa, d as La, c as Oa, H as ba, L as Ha } from "./captureFooter-CKqO4KY2.js";
21
- import { A as i, y as u, q as m } from "./vendor-preact-BoMmvSgn.js";
22
- import { B as Va, P as Ea } from "./permissions-BeU3HuVB.js";
23
- import { T as Da, a as wa, b as Aa, c as Ra, d as Ua, e as ja } from "./typography-CBPoLoAP.js";
24
- import { C as qa } from "./chevronDown-BksFjKhp.js";
25
- import { C as Ga } from "./closeIcon-5Xq6MCZa.js";
26
- import { E as Ka } from "./errorIcon-DOuc6ONw.js";
27
- import { S as Qa } from "./successIcon-BZphSsQr.js";
28
- import { c as Ya, a as Za, g as _a } from "./countries-DfLkrF0x.js";
29
- import { C as ar, T as rr } from "./tutorial-BcX5EaL9.js";
30
- function l(a) {
17
+ import { b as pa, C as ca, c as ia, e as ua, d as la, H as ma, L as Ca, T as da, a as fa } from "./captureOverlay-wQmz2Z5r.js";
18
+ import { d as xa, C as ha, b as ga, I as ya, c as Ta, F as va, T as Sa, S as Ba, V as Fa, a as Pa } from "./flipAnimation-CLQ2VPp5.js";
19
+ import { L as Oa, M as ba } from "./manualCaptureButton-CPZ2xxEI.js";
20
+ import { A as i, y as u, q as l } from "./vendor-preact-BoMmvSgn.js";
21
+ import { B as Ma, P as Va } from "./permissions-BeU3HuVB.js";
22
+ import { T as ka, a as Da, b as wa, c as Aa, d as Ra, e as Ua } from "./typography-CBPoLoAP.js";
23
+ import { C as Wa } from "./chevronDown-BksFjKhp.js";
24
+ import { C as za } from "./closeIcon-5Xq6MCZa.js";
25
+ import { E as Ja } from "./errorIcon-DOuc6ONw.js";
26
+ import { S as Na } from "./successIcon-BZphSsQr.js";
27
+ import { c as Xa, a as Ya, g as Za } from "./countries-DfLkrF0x.js";
28
+ import { C as $a, T as ar } from "./tutorial-BcX5EaL9.js";
29
+ function m(a) {
31
30
  if (a.readyState < 2 || a.videoWidth === 0 || a.videoHeight === 0)
32
31
  return null;
33
32
  const r = document.createElement("canvas");
@@ -45,10 +44,10 @@ const f = ({
45
44
  o.current && a && (o.current.srcObject = a, o.current.play().catch(() => {
46
45
  }));
47
46
  }, [a]);
48
- const s = m(() => {
47
+ const s = l(() => {
49
48
  const n = o.current;
50
49
  if (!n || e) return;
51
- const p = l(n);
50
+ const p = m(n);
52
51
  p && r(p);
53
52
  }, [r, e]);
54
53
  return /* @__PURE__ */ t("div", { class: "IncodeManualCapture", children: [
@@ -78,70 +77,70 @@ const f = ({
78
77
  ] });
79
78
  };
80
79
  export {
81
- Va as BaseTutorial,
80
+ Ma as BaseTutorial,
82
81
  c as Button,
83
82
  ta as CalendarIcon,
84
- Ba as CameraFrame,
83
+ pa as CameraFrame,
85
84
  b as CameraIcon,
86
- Fa as CameraOverlay,
87
- Pa as CameraOverlayHeader,
85
+ ca as CameraOverlay,
86
+ ia as CameraOverlayHeader,
88
87
  q as CameraView,
89
- La as CaptureButtonIcon,
90
- Oa as CaptureFooter,
88
+ ua as CaptureButtonIcon,
89
+ la as CaptureFooter,
91
90
  Y as Checkbox,
92
91
  Z as CheckmarkIcon,
93
- qa as ChevronDown,
94
- ua as ChevronRightIcon,
95
- Ga as CloseIcon,
92
+ Wa as ChevronDown,
93
+ xa as ChevronRightIcon,
94
+ za as CloseIcon,
96
95
  sa as DateInputComposed,
97
96
  ra as DropdownComposed,
98
97
  A as ErrorContent,
99
- Ka as ErrorIcon,
98
+ Ja as ErrorIcon,
100
99
  H as FileIcon,
101
100
  U as FormField,
102
- ba as HelpIcon,
103
- ma as IdCapture,
104
- la as IdChooser,
105
- Ca as IdError,
106
- da as IdExpired,
107
- fa as IdFlipAnimation,
108
- Ia as IdTutorial,
101
+ ma as HelpIcon,
102
+ ha as IdCapture,
103
+ ga as IdChooser,
104
+ ya as IdError,
105
+ Ta as IdExpired,
106
+ va as IdFlipAnimation,
107
+ Sa as IdTutorial,
109
108
  h as IncodeComponent,
110
109
  J as Input,
111
110
  K as InputComposed,
112
111
  g as LandscapeBlocker,
113
- xa as LightningIcon,
114
- Ha as LockIcon,
115
- Ta as Lottie,
112
+ Ba as LightningIcon,
113
+ Ca as LockIcon,
114
+ Oa as Lottie,
116
115
  f as ManualCapture,
117
- va as Modal,
116
+ ba as Modal,
118
117
  Q as OtpInput,
119
118
  M as Overlay,
120
119
  L as Page,
121
- Ea as Permissions,
120
+ Va as Permissions,
122
121
  $ as PhoneInputComposed,
123
122
  D as Processing,
124
123
  z as ProgressBar,
125
124
  ea as SearchIcon,
126
- ar as SelfieCapture,
127
- rr as SelfieTutorial,
125
+ $a as SelfieCapture,
126
+ ar as SelfieTutorial,
128
127
  y as Spacer,
129
128
  E as Spinner,
130
- Qa as SuccessIcon,
131
- pa as TextArea,
132
- ca as TextAreaComposed,
133
- Da as Title,
134
- wa as TypographyH1,
135
- Aa as TypographyH3,
136
- Ra as TypographyH4,
137
- Ua as TypographyH5,
138
- ja as TypographyP,
139
- ha as VerificationOptionCard,
140
- ga as VerificationOptionCardList,
129
+ Na as SuccessIcon,
130
+ da as TextArea,
131
+ fa as TextAreaComposed,
132
+ ka as Title,
133
+ Da as TypographyH1,
134
+ wa as TypographyH3,
135
+ Aa as TypographyH4,
136
+ Ra as TypographyH5,
137
+ Ua as TypographyP,
138
+ Fa as VerificationOptionCard,
139
+ Pa as VerificationOptionCardList,
141
140
  j as VerificationResult,
142
- Ya as countries,
143
- Za as getCountryByCallingCode,
144
- _a as getCountryByCode,
141
+ Xa as countries,
142
+ Ya as getCountryByCallingCode,
143
+ Za as getCountryByCode,
145
144
  B as setUiConfig,
146
145
  T as useManager,
147
146
  F as useScreenOrientation,
@@ -6,8 +6,7 @@ import { T as y } from "./typography-CBPoLoAP.js";
6
6
  import { P as A, C as z } from "./cameraView-DXT7CWqE.js";
7
7
  import { S as H } from "./spinner-CLwSl2tJ.js";
8
8
  import { M as w, L as D } from "./manualCaptureButton-CPZ2xxEI.js";
9
- import { L as G } from "./captureFooter-CKqO4KY2.js";
10
- import { C as N } from "./captureOverlay-Crv6ZBp_.js";
9
+ import { L as G, f as N } from "./captureOverlay-wQmz2Z5r.js";
11
10
  import { B as W } from "./permissions-BeU3HuVB.js";
12
11
  import "@incodetech/core";
13
12
  import "./inputComposed-QzDneavl.js";
@@ -591,7 +590,7 @@ const J = ({ className: i }) => /* @__PURE__ */ e(
591
590
  attemptsRemaining: t.attemptsRemaining
592
591
  }
593
592
  ) : null;
594
- }, F1 = ({ manager: i }) => {
593
+ }, D1 = ({ manager: i }) => {
595
594
  const { t } = C(), l = u(null);
596
595
  f(() => {
597
596
  l.current?.focus();
@@ -609,7 +608,7 @@ const J = ({ className: i }) => /* @__PURE__ */ e(
609
608
  ] }),
610
609
  /* @__PURE__ */ e("div", { class: "IncodeIdExpiredButtonContainer", children: /* @__PURE__ */ e(L, { variant: "primary", onClick: n, children: t("idv2.unacceptedId.tryAgain") }) })
611
610
  ] });
612
- }, R1 = ({ manager: i, state: t }) => {
611
+ }, F1 = ({ manager: i, state: t }) => {
613
612
  const { t: l } = C();
614
613
  if (t.captureStatus === "initializing")
615
614
  return /* @__PURE__ */ e(x, { hideHeader: !0, hideFooterBranding: !0, className: "IncodeIdCapturePage", children: /* @__PURE__ */ e(H, { size: "large", title: `${l("webcam.loading")}...` }) });
@@ -692,7 +691,7 @@ const J = ({ className: i }) => /* @__PURE__ */ e(
692
691
  }
693
692
  )
694
693
  ] });
695
- }, U1 = ({ manager: i, state: t }) => {
694
+ }, R1 = ({ manager: i, state: t }) => {
696
695
  const { t: l } = C(), [n, r] = g(!1), [o, a] = g(null), s = t.selectedDocumentType === "passport", d = t.currentMode === "back";
697
696
  if (f(() => {
698
697
  s ? import("./passport-tutorial-CaYBFTqt.js").then((I) => {
@@ -1992,7 +1991,7 @@ function u1(i) {
1992
1991
  };
1993
1992
  return i.reduce(t, []).sort((l, n) => l.weight - n.weight);
1994
1993
  }
1995
- const P1 = ({ manager: i, state: t }) => {
1994
+ const U1 = ({ manager: i, state: t }) => {
1996
1995
  const { t: l } = C(), n = k(
1997
1996
  () => u1(t.availableDocumentTypes),
1998
1997
  [t.availableDocumentTypes]
@@ -2018,7 +2017,7 @@ const P1 = ({ manager: i, state: t }) => {
2018
2017
  )) }) })
2019
2018
  }
2020
2019
  );
2021
- }, b1 = ({
2020
+ }, P1 = ({
2022
2021
  manager: i,
2023
2022
  direction: t
2024
2023
  }) => {
@@ -2046,14 +2045,14 @@ const P1 = ({ manager: i, state: t }) => {
2046
2045
  ] }) : null;
2047
2046
  };
2048
2047
  export {
2049
- R1 as C,
2050
- b1 as F,
2048
+ F1 as C,
2049
+ P1 as F,
2051
2050
  o1 as I,
2052
2051
  K as S,
2053
- U1 as T,
2052
+ R1 as T,
2054
2053
  q as V,
2055
2054
  j as a,
2056
- P1 as b,
2057
- F1 as c,
2055
+ U1 as b,
2056
+ D1 as c,
2058
2057
  $ as d
2059
2058
  };
@@ -2005,10 +2005,10 @@ const Pe = () => import("../id/id.es.js").then((e) => e.Id), ke = {
2005
2005
  GEOLOCATION: () => import("../geolocation/geolocation.es.js").then((e) => e.Geolocation),
2006
2006
  EXTERNAL_VERIFICATION: () => import("../ekycModule-BgFGstuw.js").then((e) => e.EkycModule),
2007
2007
  EKYB: () => import("../ekybModule-RZwNRg6E.js").then((e) => e.EkybModule),
2008
- DOCUMENT_CAPTURE: () => import("../documentCapture-DyhxCgpZ.js").then(
2008
+ DOCUMENT_CAPTURE: () => import("../documentCapture-8ZOwr7xp.js").then(
2009
2009
  (e) => e.DocumentCapture
2010
2010
  ),
2011
- ADDRESS: () => import("../documentCapture-DyhxCgpZ.js").then(
2011
+ ADDRESS: () => import("../documentCapture-8ZOwr7xp.js").then(
2012
2012
  (e) => e.DocumentCapture
2013
2013
  ),
2014
2014
  COMBINED_CONSENT: () => import("../consent/consent.es.js").then((e) => e.Consent),
@@ -308,6 +308,7 @@
308
308
  }
309
309
 
310
310
  .IncodeFaceOutline {
311
+ width: 100%;
311
312
  height: 100%;
312
313
  }
313
314
 
@@ -3995,21 +3996,34 @@
3995
3996
  margin-top: var(--spacing-8, var(--spacing-8, 8px));
3996
3997
  }
3997
3998
 
3999
+ .IncodeDocumentCaptureFileInput {
4000
+ pointer-events: none;
4001
+ border-style: var(--tw-border-style);
4002
+ padding: var(--spacing-0, var(--spacing-none, 0px));
4003
+ opacity: 0;
4004
+ clip: rect(0, 0, 0, 0);
4005
+ clip-path: inset(50%);
4006
+ white-space: nowrap;
4007
+ border-width: 0;
4008
+ position: absolute;
4009
+ overflow: hidden;
4010
+ width: 0 !important;
4011
+ height: 0 !important;
4012
+ margin: 0 !important;
4013
+ }
4014
+
4015
+ .IncodeDocumentCaptureFileInput::file-selector-button {
4016
+ display: none;
4017
+ }
4018
+
3998
4019
  .IncodeDocumentCapturePageTutorial .IncodePageContent {
3999
4020
  flex-direction: column;
4000
4021
  flex: 1;
4001
4022
  display: flex;
4002
4023
  }
4003
4024
 
4004
- .IncodeDocumentCapturePageTutorial .IncodeDocumentCaptureFileInput {
4005
- pointer-events: none;
4006
- opacity: 0;
4007
- width: 1px;
4008
- height: 1px;
4009
- position: absolute;
4010
- }
4011
-
4012
4025
  .IncodeDocumentCapturePageTutorial .IncodeDocumentCaptureTutorialContent {
4026
+ margin-block: var(--spacing-16, var(--spacing-16, 16px));
4013
4027
  flex-direction: column;
4014
4028
  flex: 1;
4015
4029
  justify-content: center;
package/dist/id/id.es.js CHANGED
@@ -5,8 +5,8 @@ import "@incodetech/core";
5
5
  import { P as f } from "../permissions-BeU3HuVB.js";
6
6
  import { r as l } from "../incodeModule-C4XIllao.js";
7
7
  import { P as h } from "../processing-Ss26Ad0W.js";
8
- import { b as C, T as I, F as a, C as g, c as y, I as F } from "../flipAnimation-CPzQqCvm.js";
9
- import "../captureOverlay-Crv6ZBp_.js";
8
+ import { b as C, T as I, F as a, C as g, c as y, I as F } from "../flipAnimation-CLQ2VPp5.js";
9
+ import "../captureOverlay-wQmz2Z5r.js";
10
10
  import "../uiConfig-DmIn-g8M.js";
11
11
  import "../typography-CBPoLoAP.js";
12
12
  const M = c(
@@ -307,6 +307,7 @@
307
307
  }
308
308
 
309
309
  .IncodeFaceOutline {
310
+ width: 100%;
310
311
  height: 100%;
311
312
  }
312
313
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incodetech/web",
3
- "version": "0.0.0-dev-20260402-7cf9db4",
3
+ "version": "0.0.0-dev-20260402-0dc2fb9",
4
4
  "type": "module",
5
5
  "main": "./dist/index.es.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -137,7 +137,7 @@
137
137
  "qrcode": "^1.5.4",
138
138
  "signature_pad": "^5.1.3",
139
139
  "tailwindcss": "^4.1.17",
140
- "@incodetech/core": "0.0.0-dev-20260402-7cf9db4"
140
+ "@incodetech/core": "0.0.0-dev-20260402-0dc2fb9"
141
141
  },
142
142
  "devDependencies": {
143
143
  "@microsoft/api-extractor": "^7.53.3",
@@ -1,199 +0,0 @@
1
- import { u as e, c as s, b as h, B as p } from "./button-DXIWeie9.js";
2
- import { D as m, A as v, y as I } from "./vendor-preact-BoMmvSgn.js";
3
- import { T as w } from "./typography-CBPoLoAP.js";
4
- import "./uiConfig-DmIn-g8M.js";
5
- const f = ({
6
- className: a
7
- }) => /* @__PURE__ */ e(
8
- "svg",
9
- {
10
- width: "68",
11
- height: "68",
12
- viewBox: "0 0 68 68",
13
- fill: "none",
14
- xmlns: "http://www.w3.org/2000/svg",
15
- class: a,
16
- "aria-hidden": "true",
17
- children: [
18
- /* @__PURE__ */ e(
19
- "path",
20
- {
21
- fillRule: "evenodd",
22
- clipRule: "evenodd",
23
- d: "M34.0001 68C52.7779 68 68.0003 52.7777 68.0003 34C68.0003 15.2223 52.7779 0 34.0001 0C15.2224 0 0 15.2223 0 34C0 52.7777 15.2224 68 34.0001 68ZM34 63.5265C50.307 63.5265 63.5265 50.3071 63.5265 34.0002C63.5265 17.6932 50.307 4.47385 34 4.47385C17.693 4.47385 4.4736 17.6932 4.4736 34.0002C4.4736 50.3071 17.693 63.5265 34 63.5265Z",
24
- fill: "white"
25
- }
26
- ),
27
- /* @__PURE__ */ e("circle", { cx: "33.5926", cy: "33.9996", r: "25.4187", fill: "white" })
28
- ]
29
- }
30
- ), H = ({ className: a }) => /* @__PURE__ */ e(
31
- "svg",
32
- {
33
- width: "30",
34
- height: "30",
35
- viewBox: "0 0 30 30",
36
- fill: "none",
37
- xmlns: "http://www.w3.org/2000/svg",
38
- class: a,
39
- "aria-hidden": "true",
40
- children: [
41
- /* @__PURE__ */ e(
42
- "path",
43
- {
44
- fillRule: "evenodd",
45
- clipRule: "evenodd",
46
- d: "M15 0C6.7279 0 0 6.72947 0 15C0 23.2705 6.7279 30 15 30C23.2705 30 30 23.2705 30 15C30 6.72947 23.2705 0 15 0Z",
47
- fill: "white"
48
- }
49
- ),
50
- /* @__PURE__ */ e(
51
- "path",
52
- {
53
- fillRule: "evenodd",
54
- clipRule: "evenodd",
55
- d: "M17.3532 16.0616L17.1305 16.1863C16.1074 16.7579 15.7458 17.0516 15.7537 17.5537C15.7616 18.2074 15.2389 18.7442 14.5853 18.7537H14.5695C13.9221 18.7537 13.3932 18.2342 13.3853 17.5853C13.3584 15.5832 14.9958 14.6674 15.9732 14.1211L16.1958 13.9947C17.0942 13.5005 17.5426 12.8153 17.5426 11.9532C17.5426 10.5274 16.3821 9.36842 14.9563 9.36842C13.5053 9.36842 12.3684 10.5037 12.3684 11.9532C12.3684 12.6068 11.8379 13.1374 11.1842 13.1374C10.5305 13.1374 10 12.6068 10 11.9532C10 9.22158 12.2232 7 14.9563 7C17.6879 7 19.9111 9.22158 19.9111 11.9532C19.9111 13.6947 19.0016 15.1537 17.3532 16.0616ZM14.5711 22.6379C13.9174 22.6379 13.3868 22.1311 13.3868 21.4774V21.43C13.3868 20.7763 13.9174 20.2458 14.5711 20.2458C15.2247 20.2458 15.7553 20.7763 15.7553 21.43C15.7553 22.0837 15.2247 22.6379 14.5711 22.6379Z",
56
- fill: "black"
57
- }
58
- )
59
- ]
60
- }
61
- ), F = ({ className: a }) => /* @__PURE__ */ e(
62
- "svg",
63
- {
64
- width: "16",
65
- height: "16",
66
- viewBox: "0 0 16 16",
67
- fill: "none",
68
- xmlns: "http://www.w3.org/2000/svg",
69
- class: a,
70
- "aria-hidden": "true",
71
- children: /* @__PURE__ */ e(
72
- "path",
73
- {
74
- d: "M8 2.83368C9.38071 2.83368 10.5 3.95297 10.5 5.33368V6.66669H11.333C11.7012 6.66669 12 6.96549 12 7.33368V11.9997C12 12.3679 11.7012 12.6667 11.333 12.6667H4.66699C4.2988 12.6667 4 12.3679 4 11.9997V7.33368C4 6.96549 4.2988 6.66669 4.66699 6.66669H5.5V5.33368C5.5 3.95297 6.61929 2.83368 8 2.83368ZM8 3.83368C7.17157 3.83368 6.5 4.50525 6.5 5.33368V6.66669H9.5V5.33368C9.5 4.50525 8.82843 3.83368 8 3.83368Z",
75
- fill: "currentColor"
76
- }
77
- )
78
- }
79
- ), x = m(
80
- ({
81
- variant: a,
82
- aspectRatio: r,
83
- orientation: l = "horizontal",
84
- frameState: t = "idle",
85
- className: n,
86
- children: o
87
- }, c) => {
88
- const d = `IncodeCameraFrame${t.charAt(0).toUpperCase()}${t.slice(1)}`;
89
- return /* @__PURE__ */ e(
90
- "div",
91
- {
92
- ref: c,
93
- class: s(
94
- "IncodeCameraFrame",
95
- a === "fill" && "IncodeCameraFrameFill",
96
- a === "locked" && "IncodeCameraFrameLocked",
97
- a === "locked" && l === "horizontal" && "IncodeCameraFrameHorizontal",
98
- a === "locked" && l === "vertical" && "IncodeCameraFrameVertical",
99
- d,
100
- n
101
- ),
102
- style: r ? { aspectRatio: r } : void 0,
103
- "aria-hidden": !0,
104
- children: o
105
- }
106
- );
107
- }
108
- ), B = ({
109
- children: a,
110
- className: r
111
- }) => /* @__PURE__ */ e("div", { class: s("IncodeCameraOverlay", r), children: a }), V = ({
112
- title: a,
113
- subtitle: r,
114
- visible: l = !0,
115
- className: t,
116
- titleId: n
117
- }) => {
118
- const o = v(null);
119
- return I(() => {
120
- o.current?.focus();
121
- }, []), /* @__PURE__ */ e(
122
- "div",
123
- {
124
- class: s(
125
- "IncodeCameraOverlayHeader",
126
- !l && "IncodeCameraOverlayHeaderHidden",
127
- t
128
- ),
129
- children: [
130
- /* @__PURE__ */ e(
131
- w,
132
- {
133
- ref: o,
134
- id: n,
135
- className: "IncodeCameraOverlayHeaderTitle",
136
- tabIndex: -1,
137
- children: a
138
- }
139
- ),
140
- /* @__PURE__ */ e("p", { class: "IncodeCameraOverlayHeaderSubtitle", children: r })
141
- ]
142
- }
143
- );
144
- }, M = ({
145
- onOpenHelp: a,
146
- onCapture: r,
147
- isManualCapture: l,
148
- captureAriaLabel: t,
149
- captureAriaDescribedBy: n,
150
- helpAriaLabel: o,
151
- helpButtonRef: c,
152
- captureButtonRef: d,
153
- encryptionLabel: C,
154
- children: u
155
- }) => {
156
- const { t: i } = h();
157
- return /* @__PURE__ */ e("div", { class: "IncodeCaptureFooter", children: [
158
- /* @__PURE__ */ e("div", { class: "IncodeCaptureFooterEncryption", children: [
159
- /* @__PURE__ */ e(F, { className: "IncodeCaptureFooterEncryptionIcon" }),
160
- /* @__PURE__ */ e("span", { children: C ?? i("v2.capture.label") })
161
- ] }),
162
- l && r ? /* @__PURE__ */ e("div", { class: "IncodeCaptureFooterCaptureSection", children: [
163
- u,
164
- /* @__PURE__ */ e(
165
- "button",
166
- {
167
- ref: d,
168
- type: "button",
169
- class: "IncodeCaptureFooterCaptureButton",
170
- onClick: r,
171
- "aria-label": t ?? i("manualCapture.ariaLabel"),
172
- "aria-describedby": n,
173
- "data-testid": "capture-button",
174
- children: /* @__PURE__ */ e(f, {})
175
- }
176
- )
177
- ] }) : null,
178
- /* @__PURE__ */ e("div", { class: "IncodeCaptureFooterHelp", children: /* @__PURE__ */ e(
179
- p,
180
- {
181
- ref: c,
182
- variant: "link",
183
- onClick: a,
184
- "aria-label": o ?? i("idv2.needHelp.open"),
185
- class: "IncodeCaptureFooterHelpButton",
186
- children: /* @__PURE__ */ e(H, {})
187
- }
188
- ) })
189
- ] });
190
- };
191
- export {
192
- B as C,
193
- H,
194
- F as L,
195
- x as a,
196
- V as b,
197
- M as c,
198
- f as d
199
- };