@incodetech/web 0.0.0-dev-20260331-55774da → 0.0.0-dev-20260331-a4ec4fe
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.
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { u as t, c as
|
|
2
|
-
import { D as
|
|
1
|
+
import { u as t, c as A, b as w, S as W } from "./button-B2Ewo0rX.js";
|
|
2
|
+
import { D as N, y as h, d as B, A as g, q as $, k as R, P as _, z as k, T as E } from "./vendor-preact-BoMmvSgn.js";
|
|
3
3
|
import { E as M } from "./errorIcon-C-Zd24vb.js";
|
|
4
4
|
import { S as G } from "./successIcon-DyHNp_UT.js";
|
|
5
5
|
import "./uiConfig-DmIn-g8M.js";
|
|
6
6
|
import { b as L, a as S, c as V, C as j } from "./captureFooter-B_3eu8kq.js";
|
|
7
7
|
import { L as q } from "./manualCaptureButton-CUq6VXLb.js";
|
|
8
|
-
const K =
|
|
9
|
-
(
|
|
10
|
-
const { class:
|
|
8
|
+
const K = N(
|
|
9
|
+
(e, a) => {
|
|
10
|
+
const { class: r, rows: i = 4, ...n } = e;
|
|
11
11
|
return /* @__PURE__ */ t(
|
|
12
12
|
"textarea",
|
|
13
13
|
{
|
|
14
14
|
...n,
|
|
15
15
|
ref: a,
|
|
16
16
|
rows: i,
|
|
17
|
-
class:
|
|
17
|
+
class: A("IncodeTextArea", r)
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
|
-
), U =
|
|
21
|
+
), U = N(
|
|
22
22
|
({
|
|
23
|
-
id:
|
|
23
|
+
id: e,
|
|
24
24
|
label: a,
|
|
25
|
-
"aria-label":
|
|
25
|
+
"aria-label": r,
|
|
26
26
|
error: i,
|
|
27
27
|
showErrorIcon: n,
|
|
28
28
|
helper: o,
|
|
29
29
|
showHelperIcon: l,
|
|
30
|
-
required:
|
|
31
|
-
rows:
|
|
32
|
-
class:
|
|
30
|
+
required: d,
|
|
31
|
+
rows: u = 4,
|
|
32
|
+
class: p,
|
|
33
33
|
...b
|
|
34
|
-
},
|
|
35
|
-
const
|
|
36
|
-
return /* @__PURE__ */ t("div", { class:
|
|
34
|
+
}, s) => {
|
|
35
|
+
const f = `${e}-helper`, v = `${e}-error`, T = [o ? f : null, i ? v : null].filter(Boolean).join(" ");
|
|
36
|
+
return /* @__PURE__ */ t("div", { class: A("IncodeTextAreaComposed", p), children: [
|
|
37
37
|
a && /* @__PURE__ */ t(
|
|
38
38
|
"label",
|
|
39
39
|
{
|
|
40
40
|
class: "IncodeTextAreaComposedLabel",
|
|
41
|
-
htmlFor:
|
|
42
|
-
"data-testid": `${
|
|
41
|
+
htmlFor: e,
|
|
42
|
+
"data-testid": `${e}-label`,
|
|
43
43
|
children: [
|
|
44
44
|
a,
|
|
45
|
-
|
|
45
|
+
d && /* @__PURE__ */ t("span", { class: "IncodeTextAreaComposedRequired", children: " *" })
|
|
46
46
|
]
|
|
47
47
|
}
|
|
48
48
|
),
|
|
49
49
|
/* @__PURE__ */ t("div", { class: "IncodeTextAreaComposedWrapper", children: /* @__PURE__ */ t(
|
|
50
50
|
K,
|
|
51
51
|
{
|
|
52
|
-
id:
|
|
53
|
-
rows:
|
|
52
|
+
id: e,
|
|
53
|
+
rows: u,
|
|
54
54
|
...b,
|
|
55
|
-
ref:
|
|
56
|
-
required:
|
|
57
|
-
...!a &&
|
|
58
|
-
"aria-describedby":
|
|
59
|
-
"aria-required":
|
|
55
|
+
ref: s,
|
|
56
|
+
required: d,
|
|
57
|
+
...!a && r ? { "aria-label": r } : {},
|
|
58
|
+
"aria-describedby": T || void 0,
|
|
59
|
+
"aria-required": d ? "true" : void 0,
|
|
60
60
|
"aria-invalid": i ? "true" : void 0
|
|
61
61
|
}
|
|
62
62
|
) }),
|
|
@@ -64,10 +64,10 @@ const K = w(
|
|
|
64
64
|
"div",
|
|
65
65
|
{
|
|
66
66
|
class: "IncodeTextAreaComposedErrorWrapper",
|
|
67
|
-
"data-testid": `${
|
|
67
|
+
"data-testid": `${e}-error-wrapper`,
|
|
68
68
|
children: [
|
|
69
69
|
n && /* @__PURE__ */ t("div", { class: "IncodeTextAreaComposedIconWrapper", children: /* @__PURE__ */ t(M, { size: 17 }) }),
|
|
70
|
-
/* @__PURE__ */ t("p", { id:
|
|
70
|
+
/* @__PURE__ */ t("p", { id: v, class: "IncodeTextAreaComposedError", children: i })
|
|
71
71
|
]
|
|
72
72
|
}
|
|
73
73
|
),
|
|
@@ -75,10 +75,10 @@ const K = w(
|
|
|
75
75
|
"div",
|
|
76
76
|
{
|
|
77
77
|
class: "IncodeTextAreaComposedHelperWrapper",
|
|
78
|
-
"data-testid": `${
|
|
78
|
+
"data-testid": `${e}-helper-wrapper`,
|
|
79
79
|
children: [
|
|
80
80
|
l && /* @__PURE__ */ t("div", { class: "IncodeTextAreaComposedIconWrapper", children: /* @__PURE__ */ t(G, { size: 17 }) }),
|
|
81
|
-
/* @__PURE__ */ t("p", { id:
|
|
81
|
+
/* @__PURE__ */ t("p", { id: f, class: "IncodeTextAreaComposedHelper", children: o })
|
|
82
82
|
]
|
|
83
83
|
}
|
|
84
84
|
)
|
|
@@ -86,7 +86,7 @@ const K = w(
|
|
|
86
86
|
}
|
|
87
87
|
);
|
|
88
88
|
U.displayName = "TextAreaComposed";
|
|
89
|
-
const
|
|
89
|
+
const m = /* @__PURE__ */ new Map();
|
|
90
90
|
let P = !1;
|
|
91
91
|
const y = {
|
|
92
92
|
blur: () => import("./blurdevicelottie-_BZRug1c.js"),
|
|
@@ -95,15 +95,15 @@ const y = {
|
|
|
95
95
|
front: () => import("./frontdevicelottie-KhKxT5n9.js"),
|
|
96
96
|
back: () => import("./backdevicelottie-B4NgyWmX.js")
|
|
97
97
|
};
|
|
98
|
-
function O(
|
|
98
|
+
function O(e) {
|
|
99
99
|
P || (P = !0, Promise.all([
|
|
100
100
|
y.blur(),
|
|
101
101
|
y.glare(),
|
|
102
102
|
y.align(),
|
|
103
103
|
y.front(),
|
|
104
104
|
y.back()
|
|
105
|
-
]).then(([a,
|
|
106
|
-
|
|
105
|
+
]).then(([a, r, i, n, o]) => {
|
|
106
|
+
m.set("blur", a.default), m.set("glare", r.default), m.set("align", i.default), m.set("front", n.default), m.set("back", o.default), e?.();
|
|
107
107
|
}).catch(() => {
|
|
108
108
|
}));
|
|
109
109
|
}
|
|
@@ -115,104 +115,95 @@ function Q() {
|
|
|
115
115
|
J();
|
|
116
116
|
}, []);
|
|
117
117
|
}
|
|
118
|
-
function X(
|
|
119
|
-
const { t:
|
|
118
|
+
function X(e, a) {
|
|
119
|
+
const { t: r } = w(), [, i] = B(0);
|
|
120
120
|
if (h(() => {
|
|
121
121
|
O(() => i((n) => n + 1));
|
|
122
|
-
}, []),
|
|
122
|
+
}, []), e === "blur")
|
|
123
123
|
return {
|
|
124
|
-
title:
|
|
125
|
-
description:
|
|
126
|
-
animationData:
|
|
124
|
+
title: r("idv2.capture.notifications.blur.title"),
|
|
125
|
+
description: r("idv2.capture.notifications.blur.description"),
|
|
126
|
+
animationData: m.get("blur") ?? null
|
|
127
127
|
};
|
|
128
|
-
if (
|
|
128
|
+
if (e === "glare")
|
|
129
129
|
return {
|
|
130
|
-
title:
|
|
131
|
-
description:
|
|
132
|
-
animationData:
|
|
130
|
+
title: r("idv2.capture.notifications.glare.title"),
|
|
131
|
+
description: r("idv2.capture.notifications.glare.description"),
|
|
132
|
+
animationData: m.get("glare") ?? null
|
|
133
133
|
};
|
|
134
|
-
if (
|
|
134
|
+
if (e === "farAway")
|
|
135
135
|
return {
|
|
136
|
-
title:
|
|
137
|
-
description:
|
|
138
|
-
animationData:
|
|
136
|
+
title: r("idv2.capture.notifications.notAligned.title"),
|
|
137
|
+
description: r("idv2.capture.notifications.notAligned.description"),
|
|
138
|
+
animationData: m.get("align") ?? null
|
|
139
139
|
};
|
|
140
|
-
if (
|
|
140
|
+
if (e === "wrongSide") {
|
|
141
141
|
const n = a === "back";
|
|
142
142
|
return {
|
|
143
|
-
title:
|
|
144
|
-
description:
|
|
145
|
-
animationData:
|
|
143
|
+
title: r(n ? "idv2.capture.notifications.showBack.title" : "idv2.capture.notifications.showFront.title"),
|
|
144
|
+
description: r(n ? "idv2.capture.notifications.showBack.description" : "idv2.capture.notifications.showFront.description"),
|
|
145
|
+
animationData: m.get(n ? "back" : "front") ?? null
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
return null;
|
|
149
149
|
}
|
|
150
150
|
const Y = ({
|
|
151
|
-
detectionStatus:
|
|
151
|
+
detectionStatus: e,
|
|
152
152
|
mode: a,
|
|
153
|
-
isCapturing:
|
|
153
|
+
isCapturing: r
|
|
154
154
|
}) => {
|
|
155
|
-
const { t: i } =
|
|
155
|
+
const { t: i } = w(), n = X(e, a), o = g(null), l = g({
|
|
156
156
|
message: "",
|
|
157
157
|
at: 0
|
|
158
|
-
}),
|
|
159
|
-
const
|
|
160
|
-
if (
|
|
161
|
-
l.current = { message:
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
158
|
+
}), d = g(e), u = g(!1), p = g(), b = g(), s = e === "detecting" || e === "idNotDetected" || e === "manualCapture", f = e === "manualCapture", v = e === "wrongSide", T = e === "farAway", H = e === "glare", F = e === "blur", I = $((c) => {
|
|
159
|
+
const z = Date.now(), D = l.current;
|
|
160
|
+
if (c === D.message && z - D.at < 200) return;
|
|
161
|
+
l.current = { message: c, at: z };
|
|
162
|
+
const C = o.current;
|
|
163
|
+
C && (clearTimeout(p.current), C.textContent = "", b.current = setTimeout(() => {
|
|
164
|
+
C.textContent = c, p.current = setTimeout(() => {
|
|
165
|
+
C.textContent = "";
|
|
166
166
|
}, 3e3);
|
|
167
167
|
}, 50));
|
|
168
|
-
}, []),
|
|
168
|
+
}, []), x = $(() => i(a === "passport" ? "idv2.capture.fillFramePassport" : a === "back" ? "idv2.capture.v2.fillFrameBack" : "idv2.capture.v2.fillFrameFront"), [a, i]);
|
|
169
169
|
return h(() => {
|
|
170
|
-
if (
|
|
171
|
-
|
|
170
|
+
if (f) {
|
|
171
|
+
u.current = !1;
|
|
172
172
|
return;
|
|
173
173
|
}
|
|
174
|
-
if (
|
|
175
|
-
const
|
|
176
|
-
|
|
174
|
+
if (u.current || !s) return;
|
|
175
|
+
const c = setTimeout(() => {
|
|
176
|
+
u.current = !0, I(x());
|
|
177
177
|
}, 500);
|
|
178
|
-
return () => clearTimeout(
|
|
179
|
-
}, [
|
|
180
|
-
const
|
|
181
|
-
|
|
182
|
-
}, [
|
|
183
|
-
if (
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
s(`${i("idv2.capture.notifications.glare.title")}.`);
|
|
195
|
-
return;
|
|
196
|
-
}
|
|
197
|
-
if (H) {
|
|
198
|
-
s(`${i("idv2.capture.notifications.blur.title")}.`);
|
|
199
|
-
return;
|
|
200
|
-
}
|
|
201
|
-
c && p.current && s(F());
|
|
202
|
-
}
|
|
178
|
+
return () => clearTimeout(c);
|
|
179
|
+
}, [s, f, I, x]), h(() => {
|
|
180
|
+
const c = d.current;
|
|
181
|
+
d.current = e, c !== "manualCapture" && f && I(i("idv2.capture.manualCapture.modeSwitchAriaAnnouncement"));
|
|
182
|
+
}, [I, e, f, i]), h(() => {
|
|
183
|
+
if (r) return;
|
|
184
|
+
let c;
|
|
185
|
+
if (v) {
|
|
186
|
+
const C = a === "front" || a === "passport" ? "idv2.capture.notifications.showFront" : "idv2.capture.notifications.showBack";
|
|
187
|
+
c = `${i(`${C}.title`)}. ${i(`${C}.description`)}`;
|
|
188
|
+
} else T ? c = `${i("idv2.capture.notifications.notAligned.title")}.` : H ? c = `${i("idv2.capture.notifications.glare.title")}.` : F ? c = `${i("idv2.capture.notifications.blur.title")}.` : s && u.current && (c = x());
|
|
189
|
+
if (!c) return;
|
|
190
|
+
const z = setTimeout(() => {
|
|
191
|
+
I(c);
|
|
192
|
+
}, 500);
|
|
193
|
+
return () => clearTimeout(z);
|
|
203
194
|
}, [
|
|
204
|
-
|
|
195
|
+
I,
|
|
196
|
+
F,
|
|
197
|
+
r,
|
|
198
|
+
T,
|
|
205
199
|
H,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
k,
|
|
209
|
-
c,
|
|
210
|
-
m,
|
|
200
|
+
s,
|
|
201
|
+
v,
|
|
211
202
|
a,
|
|
212
203
|
i,
|
|
213
|
-
|
|
204
|
+
x
|
|
214
205
|
]), h(() => () => {
|
|
215
|
-
clearTimeout(b.current), clearTimeout(
|
|
206
|
+
clearTimeout(b.current), clearTimeout(p.current);
|
|
216
207
|
}, []), /* @__PURE__ */ t(R, { children: [
|
|
217
208
|
/* @__PURE__ */ t(
|
|
218
209
|
"div",
|
|
@@ -223,8 +214,8 @@ const Y = ({
|
|
|
223
214
|
"aria-atomic": "true"
|
|
224
215
|
}
|
|
225
216
|
),
|
|
226
|
-
n ? /* @__PURE__ */ t("div", { class:
|
|
227
|
-
/* @__PURE__ */ t("div", { class:
|
|
217
|
+
n ? /* @__PURE__ */ t("div", { class: A("IncodeIdCaptureNotification"), "aria-hidden": "true", children: /* @__PURE__ */ t("div", { class: "IncodeIdCaptureNotificationContent", children: [
|
|
218
|
+
/* @__PURE__ */ t("div", { class: A("IncodeIdCaptureNotificationText"), children: [
|
|
228
219
|
/* @__PURE__ */ t("div", { class: "IncodeIdCaptureNotificationTitle", children: n.title }),
|
|
229
220
|
n.description && /* @__PURE__ */ t("div", { class: "IncodeIdCaptureNotificationDescription", children: n.description })
|
|
230
221
|
] }),
|
|
@@ -232,17 +223,17 @@ const Y = ({
|
|
|
232
223
|
n.animationData && /* @__PURE__ */ t("div", { class: "IncodeIdCaptureNotificationAnimation", children: /* @__PURE__ */ t(q, { animationData: n.animationData, loop: !0 }) })
|
|
233
224
|
] }) }) : null
|
|
234
225
|
] });
|
|
235
|
-
}, Z =
|
|
226
|
+
}, Z = k(
|
|
236
227
|
() => import("./front-horizontal-hint-lRLKd7vY.js")
|
|
237
|
-
), tt =
|
|
228
|
+
), tt = k(
|
|
238
229
|
() => import("./front-vertical-hint-qQoJXRE3.js")
|
|
239
|
-
),
|
|
230
|
+
), et = k(
|
|
240
231
|
() => import("./back-horizontal-hint-CSlf9KI1.js")
|
|
241
|
-
),
|
|
232
|
+
), rt = k(
|
|
242
233
|
() => import("./back-vertical-hint-CNieqiCr.js")
|
|
243
|
-
), it =
|
|
234
|
+
), it = k(
|
|
244
235
|
() => import("./passport-horizontal-hint-BCtpMp1Y.js")
|
|
245
|
-
), nt =
|
|
236
|
+
), nt = k(
|
|
246
237
|
() => import("./passport-vertical-hint-GaLnzqHP.js")
|
|
247
238
|
), at = {
|
|
248
239
|
"front-horizontal": 348,
|
|
@@ -253,98 +244,98 @@ const Y = ({
|
|
|
253
244
|
"back-vertical": 446,
|
|
254
245
|
"passport-vertical": 342
|
|
255
246
|
};
|
|
256
|
-
function ct(
|
|
257
|
-
const n = `${
|
|
258
|
-
if (o) return
|
|
247
|
+
function ct(e, a, r, i) {
|
|
248
|
+
const n = `${e}-${a}`, o = at[n];
|
|
249
|
+
if (o) return r / o;
|
|
259
250
|
const l = ot[n];
|
|
260
251
|
return l ? i / l : 1;
|
|
261
252
|
}
|
|
262
|
-
const
|
|
263
|
-
const
|
|
253
|
+
const st = ({ mode: e, orientation: a }) => {
|
|
254
|
+
const r = g(null), [i, n] = B(1);
|
|
264
255
|
h(() => {
|
|
265
|
-
const l =
|
|
256
|
+
const l = r.current;
|
|
266
257
|
if (!l) return;
|
|
267
|
-
const
|
|
258
|
+
const d = () => {
|
|
268
259
|
n(
|
|
269
|
-
ct(
|
|
260
|
+
ct(e, a, l.clientWidth, l.clientHeight)
|
|
270
261
|
);
|
|
271
262
|
};
|
|
272
|
-
|
|
273
|
-
const
|
|
274
|
-
return
|
|
275
|
-
}, [
|
|
276
|
-
const o = () =>
|
|
263
|
+
d();
|
|
264
|
+
const u = new ResizeObserver(d);
|
|
265
|
+
return u.observe(l), () => u.disconnect();
|
|
266
|
+
}, [e, a]);
|
|
267
|
+
const o = () => e === "front" ? a === "horizontal" ? /* @__PURE__ */ t(Z, {}) : /* @__PURE__ */ t(tt, {}) : e === "back" ? a === "horizontal" ? /* @__PURE__ */ t(et, {}) : /* @__PURE__ */ t(rt, {}) : e === "passport" ? a === "horizontal" ? /* @__PURE__ */ t(it, {}) : /* @__PURE__ */ t(nt, {}) : null;
|
|
277
268
|
return /* @__PURE__ */ t(
|
|
278
269
|
"div",
|
|
279
270
|
{
|
|
280
|
-
ref:
|
|
271
|
+
ref: r,
|
|
281
272
|
class: "IncodeIdHint",
|
|
282
273
|
"aria-hidden": "true",
|
|
283
274
|
role: "presentation",
|
|
284
275
|
children: /* @__PURE__ */ t("div", { class: "IncodeIdHintAnimated", children: /* @__PURE__ */ t(_, { fallback: null, children: /* @__PURE__ */ t("div", { class: "IncodeIdHintSvg", style: { transform: `scale(${i})` }, children: o() }) }) })
|
|
285
276
|
}
|
|
286
277
|
);
|
|
287
|
-
}, It =
|
|
278
|
+
}, It = N(
|
|
288
279
|
({
|
|
289
|
-
mode:
|
|
280
|
+
mode: e,
|
|
290
281
|
orientation: a,
|
|
291
|
-
detectionStatus:
|
|
282
|
+
detectionStatus: r,
|
|
292
283
|
counterValue: i,
|
|
293
284
|
isCapturing: n,
|
|
294
285
|
showManualCapture: o,
|
|
295
286
|
onCapture: l,
|
|
296
|
-
onOpenHelp:
|
|
297
|
-
helpButtonRef:
|
|
298
|
-
captureButtonRef:
|
|
287
|
+
onOpenHelp: d,
|
|
288
|
+
helpButtonRef: u,
|
|
289
|
+
captureButtonRef: p
|
|
299
290
|
}, b) => {
|
|
300
|
-
const { t:
|
|
291
|
+
const { t: s } = w();
|
|
301
292
|
Q(), h(() => {
|
|
302
|
-
o &&
|
|
303
|
-
}, [o,
|
|
304
|
-
const
|
|
305
|
-
if (n ||
|
|
293
|
+
o && p && p.current?.focus();
|
|
294
|
+
}, [o, p]);
|
|
295
|
+
const f = () => n || r === "capturing" ? "capturing" : r === "blur" || r === "glare" || r === "wrongSide" || r === "farAway" ? "error" : "idle", v = E(() => {
|
|
296
|
+
if (n || r === "capturing")
|
|
306
297
|
return {
|
|
307
|
-
title:
|
|
308
|
-
subtitle:
|
|
298
|
+
title: s("idv2.capture.takingPhoto"),
|
|
299
|
+
subtitle: s("idv2.capture.dontMove")
|
|
309
300
|
};
|
|
310
|
-
if (
|
|
311
|
-
const
|
|
312
|
-
return
|
|
313
|
-
title:
|
|
314
|
-
subtitle:
|
|
315
|
-
} :
|
|
316
|
-
title:
|
|
317
|
-
subtitle:
|
|
301
|
+
if (r === "detecting" || r === "idNotDetected" || r === "manualCapture") {
|
|
302
|
+
const c = r === "manualCapture";
|
|
303
|
+
return e === "passport" ? {
|
|
304
|
+
title: s("idv2.capture.fillFramePassport"),
|
|
305
|
+
subtitle: c ? "" : s("idv2.capture.v2.autoCapture")
|
|
306
|
+
} : e === "back" ? {
|
|
307
|
+
title: s("idv2.capture.v2.fillFrameBack"),
|
|
308
|
+
subtitle: c ? "" : s("idv2.capture.v2.autoCapture")
|
|
318
309
|
} : {
|
|
319
|
-
title:
|
|
320
|
-
subtitle:
|
|
310
|
+
title: s("idv2.capture.v2.fillFrameFront"),
|
|
311
|
+
subtitle: c ? "" : s("idv2.capture.v2.autoCapture")
|
|
321
312
|
};
|
|
322
313
|
}
|
|
323
314
|
return null;
|
|
324
|
-
}, [n,
|
|
315
|
+
}, [n, r, e, s]), T = f(), H = e === "passport", F = a !== "vertical" || H, I = F ? "horizontal" : "vertical";
|
|
325
316
|
return /* @__PURE__ */ t(
|
|
326
317
|
j,
|
|
327
318
|
{
|
|
328
|
-
className:
|
|
319
|
+
className: A(
|
|
329
320
|
"IncodeCaptureOverlayId",
|
|
330
|
-
!
|
|
321
|
+
!F && "IncodeCaptureOverlayVertical"
|
|
331
322
|
),
|
|
332
323
|
children: [
|
|
333
324
|
/* @__PURE__ */ t("div", { class: "IncodeCaptureTopSection", children: [
|
|
334
325
|
/* @__PURE__ */ t(
|
|
335
326
|
Y,
|
|
336
327
|
{
|
|
337
|
-
detectionStatus:
|
|
338
|
-
mode:
|
|
328
|
+
detectionStatus: r,
|
|
329
|
+
mode: e,
|
|
339
330
|
isCapturing: n
|
|
340
331
|
}
|
|
341
332
|
),
|
|
342
333
|
/* @__PURE__ */ t(
|
|
343
334
|
L,
|
|
344
335
|
{
|
|
345
|
-
title:
|
|
346
|
-
subtitle:
|
|
347
|
-
visible:
|
|
336
|
+
title: v?.title ?? "",
|
|
337
|
+
subtitle: v?.subtitle,
|
|
338
|
+
visible: v !== null,
|
|
348
339
|
titleId: "id-capture-heading"
|
|
349
340
|
}
|
|
350
341
|
)
|
|
@@ -354,12 +345,12 @@ const lt = ({ mode: r, orientation: a }) => {
|
|
|
354
345
|
{
|
|
355
346
|
ref: b,
|
|
356
347
|
variant: "locked",
|
|
357
|
-
orientation:
|
|
358
|
-
frameState:
|
|
359
|
-
className:
|
|
348
|
+
orientation: I,
|
|
349
|
+
frameState: T,
|
|
350
|
+
className: A(H && "IncodeCaptureFramePassport"),
|
|
360
351
|
children: [
|
|
361
352
|
n && i > 0 && /* @__PURE__ */ t("div", { class: "IncodeCaptureCounter", children: i }),
|
|
362
|
-
|
|
353
|
+
r === "idNotDetected" && /* @__PURE__ */ t(st, { mode: e, orientation: a ?? "horizontal" })
|
|
363
354
|
]
|
|
364
355
|
}
|
|
365
356
|
),
|
|
@@ -367,11 +358,11 @@ const lt = ({ mode: r, orientation: a }) => {
|
|
|
367
358
|
/* @__PURE__ */ t(
|
|
368
359
|
V,
|
|
369
360
|
{
|
|
370
|
-
onOpenHelp:
|
|
361
|
+
onOpenHelp: d,
|
|
371
362
|
onCapture: l,
|
|
372
363
|
isManualCapture: o,
|
|
373
|
-
helpButtonRef:
|
|
374
|
-
captureButtonRef:
|
|
364
|
+
helpButtonRef: u,
|
|
365
|
+
captureButtonRef: p,
|
|
375
366
|
captureAriaDescribedBy: o ? "manual-capture-tooltip" : void 0,
|
|
376
367
|
children: o ? /* @__PURE__ */ t("div", { class: "IncodeIdManualCaptureTooltipContainer", children: /* @__PURE__ */ t(
|
|
377
368
|
"div",
|
|
@@ -380,8 +371,8 @@ const lt = ({ mode: r, orientation: a }) => {
|
|
|
380
371
|
role: "tooltip",
|
|
381
372
|
class: "IncodeIdManualCaptureTooltip",
|
|
382
373
|
children: /* @__PURE__ */ t("ol", { class: "IncodeIdManualCaptureTooltipList", children: [
|
|
383
|
-
/* @__PURE__ */ t("li", { children:
|
|
384
|
-
/* @__PURE__ */ t("li", { children:
|
|
374
|
+
/* @__PURE__ */ t("li", { children: s("idv2.commonIssues.firstStep") }),
|
|
375
|
+
/* @__PURE__ */ t("li", { children: s("idv2.commonIssues.secondStep") })
|
|
385
376
|
] })
|
|
386
377
|
}
|
|
387
378
|
) }) : null
|
package/dist/email/email.es.js
CHANGED
|
@@ -11,7 +11,7 @@ import { a as L } from "../inputComposed-CJQTXKNA.js";
|
|
|
11
11
|
import "../checkbox-CXnQVsbJ.js";
|
|
12
12
|
import "../phoneInputComposed-Dsf9ZDTj.js";
|
|
13
13
|
import "../dateInputComposed-DmlHvCmR.js";
|
|
14
|
-
import "../captureOverlay-
|
|
14
|
+
import "../captureOverlay-rwQkQuBD.js";
|
|
15
15
|
import "../manualCaptureButton-CUq6VXLb.js";
|
|
16
16
|
import "../captureFooter-B_3eu8kq.js";
|
|
17
17
|
import "../countries-DfLkrF0x.js";
|
package/dist/extensibility.es.js
CHANGED
|
@@ -14,8 +14,8 @@ import { C as Y, a as Z } from "./checkbox-CXnQVsbJ.js";
|
|
|
14
14
|
import { P as $ } from "./phoneInputComposed-Dsf9ZDTj.js";
|
|
15
15
|
import { D as ra, S as ea } from "./dropdownComposed-DFrqye1c.js";
|
|
16
16
|
import { C as ta, D as sa } from "./dateInputComposed-DmlHvCmR.js";
|
|
17
|
-
import { T as pa, a as ca } from "./captureOverlay-
|
|
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-
|
|
17
|
+
import { T as pa, a as ca } from "./captureOverlay-rwQkQuBD.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-B48PXORR.js";
|
|
19
19
|
import { L as Ta, M as va } from "./manualCaptureButton-CUq6VXLb.js";
|
|
20
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-B_3eu8kq.js";
|
|
21
21
|
import { A as i, y as u, q as m } from "./vendor-preact-BoMmvSgn.js";
|
|
@@ -7,7 +7,7 @@ import { P as A, C as z } from "./cameraView-CT9-WWcG.js";
|
|
|
7
7
|
import { S as H } from "./spinner-DfUoOZN4.js";
|
|
8
8
|
import { M as w, L as D } from "./manualCaptureButton-CUq6VXLb.js";
|
|
9
9
|
import { L as G } from "./captureFooter-B_3eu8kq.js";
|
|
10
|
-
import { C as N } from "./captureOverlay-
|
|
10
|
+
import { C as N } from "./captureOverlay-rwQkQuBD.js";
|
|
11
11
|
import { B as W } from "./permissions-DbPRF91z.js";
|
|
12
12
|
import "@incodetech/core";
|
|
13
13
|
import "./inputComposed-CJQTXKNA.js";
|
package/dist/id/id.es.js
CHANGED
|
@@ -5,8 +5,8 @@ import "@incodetech/core";
|
|
|
5
5
|
import { P as f } from "../permissions-DbPRF91z.js";
|
|
6
6
|
import { r as l } from "../incodeModule-C4XIllao.js";
|
|
7
7
|
import { P as h } from "../processing-De8XWnFp.js";
|
|
8
|
-
import { b as C, T as I, F as a, C as g, c as y, I as F } from "../flipAnimation-
|
|
9
|
-
import "../captureOverlay-
|
|
8
|
+
import { b as C, T as I, F as a, C as g, c as y, I as F } from "../flipAnimation-B48PXORR.js";
|
|
9
|
+
import "../captureOverlay-rwQkQuBD.js";
|
|
10
10
|
import "../uiConfig-DmIn-g8M.js";
|
|
11
11
|
import "../typography-zMrvftfB.js";
|
|
12
12
|
const M = c(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@incodetech/web",
|
|
3
|
-
"version": "0.0.0-dev-20260331-
|
|
3
|
+
"version": "0.0.0-dev-20260331-a4ec4fe",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.es.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"preact-markup": "^2.1.1",
|
|
137
137
|
"qrcode": "^1.5.4",
|
|
138
138
|
"tailwindcss": "^4.1.17",
|
|
139
|
-
"@incodetech/core": "0.0.0-dev-20260331-
|
|
139
|
+
"@incodetech/core": "0.0.0-dev-20260331-a4ec4fe"
|
|
140
140
|
},
|
|
141
141
|
"devDependencies": {
|
|
142
142
|
"@microsoft/api-extractor": "^7.53.3",
|