bry-biometric-collector 2.2.22 → 2.2.24
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/README.md +7 -1
- package/dist/DocumentCollector_8ffdaccd_2.2.24.js +1017 -0
- package/dist/FaceCollector_e43cc4cd_2.2.24.js +2031 -0
- package/dist/{TakePictureBtn_98c2ad5f_2.2.22.js → TakePictureBtn_a2aea965_2.2.24.js} +8 -8
- package/dist/bry-biometric-collector-main.js +1 -1
- package/dist/{en-us_901680c0_2.2.22.js → en-us_d35c0560_2.2.24.js} +19 -14
- package/dist/{es-cl_1fe1aaa9_2.2.22.js → es-cl_735652e7_2.2.24.js} +7 -2
- package/dist/{fingersApi_2ff95966_2.2.22.js → fingersApi_3d218cc2_2.2.24.js} +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/{main_140d65a3_2.2.22.js → main_0c38f58d_2.2.24.js} +3393 -3379
- package/dist/{pt-br_bef1149f_2.2.22.js → pt-br_cf90e78b_2.2.24.js} +13 -8
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/DocumentCollector_1f5cf5e8_2.2.22.js +0 -1023
- package/dist/FaceCollector_657bc65e_2.2.22.js +0 -2000
- /package/dist/{face_api_0e3ce8c8_2.2.22.js → face_api_0e3ce8c8_2.2.24.js} +0 -0
- /package/dist/{index-no-detector_4b302e78_2.2.22.js → index-no-detector_4b302e78_2.2.24.js} +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { aS as X, S as j, q as F, r as K, t as q, w as f, L as B, x as S, z as U, B as _, H as d, I as L, $ as W, V as G, ad as Z, K as V, b5 as I, b6 as H, b7 as Q, b8 as T, N as M, y as k, b9 as g, D as w, E as x, ba as P, G as C, bb as y, aN as $, C as z, aO as ee, O as te, Q as le, aP as ae, aG as Y, Y as se, bc as ie } from "./main_0c38f58d_2.2.24.js";
|
2
2
|
var D = /* @__PURE__ */ ((a) => (a.OK = "OK", a.DEVICE_NOT_FOUND_ERROR = "DEVICE_NOT_FOUND_ERROR", a.CAMERA_DENIED_ERROR = "CAMERA_DENIED_ERROR", a.CAMERA_IN_USE_ERROR = "CAMERA_IN_USE_ERROR", a.CAMERA_CLOSED_ERROR = "CAMERA_CLOSED_ERROR", a.CAMERA_UNSUPPORTED = "CAMERA_UNSUPPORTED", a.CAMERA_ORIENTATION_PORTRAIT = "CAMERA_ORIENTATION_PORTRAIT", a.CAMERA_ORIENTATION_LANDSCAPE = "CAMERA_ORIENTATION_LANDSCAPE", a))(D || {});
|
3
|
-
const J =
|
3
|
+
const J = X(
|
4
4
|
"OK"
|
5
5
|
/* OK */
|
6
6
|
);
|
@@ -457,7 +457,7 @@ function de(a) {
|
|
457
457
|
}
|
458
458
|
function _e(a, t, l) {
|
459
459
|
let r, i, s, c;
|
460
|
-
L(a, J, (v) => l(1, r = v)), L(a, W, (v) => l(2, i = v)), L(a,
|
460
|
+
L(a, J, (v) => l(1, r = v)), L(a, W, (v) => l(2, i = v)), L(a, G, (v) => l(3, s = v)), L(a, Z, (v) => l(4, c = v));
|
461
461
|
let { handler: o = () => {
|
462
462
|
} } = t;
|
463
463
|
(r === D.CAMERA_ORIENTATION_LANDSCAPE || r === D.CAMERA_ORIENTATION_PORTRAIT) && setTimeout(
|
@@ -477,9 +477,9 @@ function _e(a, t, l) {
|
|
477
477
|
}, m = () => {
|
478
478
|
o();
|
479
479
|
}, h = () => {
|
480
|
-
V(Z, c = !0, c),
|
480
|
+
V(Z, c = !0, c), Q(!0);
|
481
481
|
}, b = () => {
|
482
|
-
V(Z, c = !0, c),
|
482
|
+
V(Z, c = !0, c), Q(!1);
|
483
483
|
};
|
484
484
|
return a.$$set = (v) => {
|
485
485
|
l(5, t = I(I({}, t), H(v))), "handler" in v && l(0, o = v.handler);
|
@@ -583,9 +583,9 @@ function ve(a) {
|
|
583
583
|
}
|
584
584
|
function pe(a, t, l) {
|
585
585
|
let r, i, s;
|
586
|
-
L(a,
|
586
|
+
L(a, Y, (o) => l(0, r = o)), L(a, G, (o) => l(1, i = o)), L(a, se, (o) => l(2, s = o));
|
587
587
|
const c = () => {
|
588
|
-
V(
|
588
|
+
V(Y, r = !r, r);
|
589
589
|
};
|
590
590
|
return a.$$set = (o) => {
|
591
591
|
l(3, t = I(I({}, t), H(o)));
|
@@ -771,7 +771,7 @@ function Ee(a) {
|
|
771
771
|
}
|
772
772
|
function Se(a, t, l) {
|
773
773
|
let r, i;
|
774
|
-
L(a,
|
774
|
+
L(a, G, (m) => l(4, r = m)), L(a, W, (m) => l(5, i = m));
|
775
775
|
let { handler: s = () => {
|
776
776
|
} } = t, { id: c = "" } = t, { disabled: o = !1 } = t, { hidden: n = !1 } = t;
|
777
777
|
const p = () => s(), R = () => s(), A = () => s();
|
@@ -24,12 +24,12 @@ const e = {
|
|
24
24
|
text: "Attention AGR, the collected finger does not belong to you or is in the wrong position. Please collect your finger in the indicated position.",
|
25
25
|
retry: "Capture again",
|
26
26
|
cancel: "Cancel"
|
27
|
-
},
|
27
|
+
}, o = {
|
28
28
|
title: "Error",
|
29
29
|
text: "Attention AGR, the collected finger belongs to you! Please do customer pickup at this time!",
|
30
30
|
retry: "Capture again",
|
31
31
|
cancel: "Cancel"
|
32
|
-
},
|
32
|
+
}, r = {
|
33
33
|
title: "Error",
|
34
34
|
text: "Duplicate finger detected! The <b>{finger1}</b> and the <b>{finger2}</b> are the same!",
|
35
35
|
retry: "Capture again",
|
@@ -97,10 +97,10 @@ const e = {
|
|
97
97
|
theme: "Theme",
|
98
98
|
finish: "Finish",
|
99
99
|
startCapture: "I'm ready"
|
100
|
-
},
|
100
|
+
}, h = {
|
101
101
|
extensionNotFound: "The extension couldn't be identified. Please install it from here",
|
102
102
|
extension: "extension"
|
103
|
-
},
|
103
|
+
}, p = {
|
104
104
|
permissionNotGranted: "Permission to access the camera was denied, please enable and refresh."
|
105
105
|
}, m = {
|
106
106
|
illumination: "Heterogeneous illumination",
|
@@ -182,13 +182,18 @@ const e = {
|
|
182
182
|
dontOpenMouth: "Close your mouth",
|
183
183
|
stayInFrame: "Center your face",
|
184
184
|
loading: "Loading...",
|
185
|
-
capture: "Capture"
|
185
|
+
capture: "Capture",
|
186
|
+
faceWasNotFound: "Face not found",
|
187
|
+
illuminationTooLow: "Lighting too low",
|
188
|
+
illuminationTooHigh: "Lighting too high",
|
189
|
+
lowSharpness: "Low sharpness"
|
186
190
|
}, T = {
|
187
191
|
captured: "Document captured!",
|
188
192
|
comeCloserCamera: "Get closer",
|
189
193
|
moveAwayCamera: "Move away",
|
190
194
|
stayInFrame: "Center the document",
|
191
|
-
capture: "Capture"
|
195
|
+
capture: "Capture",
|
196
|
+
docWasNotFound: "Document not found"
|
192
197
|
}, R = {
|
193
198
|
close: "close",
|
194
199
|
instructions: "To download the driver for your scanner, please select the brand of your scanner:",
|
@@ -227,16 +232,16 @@ const e = {
|
|
227
232
|
unknownDuplicateFingerSwal: a,
|
228
233
|
signerNotInstalledSwal: n,
|
229
234
|
agrFingerNotMatched: i,
|
230
|
-
agrFinger:
|
231
|
-
duplicateFingerSwal:
|
235
|
+
agrFinger: o,
|
236
|
+
duplicateFingerSwal: r,
|
232
237
|
easterEggduplicateFingerSwal: s,
|
233
238
|
automaticHasAlreadyRunSwal: l,
|
234
239
|
dirtyScannerSwal: c,
|
235
240
|
missingScannerSwal: d,
|
236
241
|
fingerDisplayArea: u,
|
237
242
|
buttons: g,
|
238
|
-
alertExtension:
|
239
|
-
alertCameraDisallowed:
|
243
|
+
alertExtension: h,
|
244
|
+
alertCameraDisallowed: p,
|
240
245
|
unconformities: m,
|
241
246
|
liveness: f,
|
242
247
|
faceCollector: y,
|
@@ -246,10 +251,10 @@ const e = {
|
|
246
251
|
cameraStatus: v
|
247
252
|
};
|
248
253
|
export {
|
249
|
-
|
254
|
+
o as agrFinger,
|
250
255
|
i as agrFingerNotMatched,
|
251
|
-
|
252
|
-
|
256
|
+
p as alertCameraDisallowed,
|
257
|
+
h as alertExtension,
|
253
258
|
l as automaticHasAlreadyRunSwal,
|
254
259
|
t as badFingerQualitySwal,
|
255
260
|
g as buttons,
|
@@ -258,7 +263,7 @@ export {
|
|
258
263
|
C as default,
|
259
264
|
c as dirtyScannerSwal,
|
260
265
|
T as docCollector,
|
261
|
-
|
266
|
+
r as duplicateFingerSwal,
|
262
267
|
s as easterEggduplicateFingerSwal,
|
263
268
|
y as faceCollector,
|
264
269
|
u as fingerDisplayArea,
|
@@ -182,12 +182,17 @@ const e = {
|
|
182
182
|
comeCloserCamera: "Acércate",
|
183
183
|
dontOpenMouth: "Cierra la boca",
|
184
184
|
stayInFrame: "Céntrate en el marco",
|
185
|
-
loading: "Cargando..."
|
185
|
+
loading: "Cargando...",
|
186
|
+
faceWasNotFound: "Rostro no encontrado",
|
187
|
+
illuminationTooLow: "Iluminación baja",
|
188
|
+
illuminationTooHigh: "Iluminación alta",
|
189
|
+
lowSharpness: "Baja nitidez"
|
186
190
|
}, D = {
|
187
191
|
captured: "¡Documento capturado!",
|
188
192
|
comeCloserCamera: "Acércate",
|
189
193
|
moveAwayCamera: "Aléjate",
|
190
|
-
stayInFrame: "Céntrate en el documento"
|
194
|
+
stayInFrame: "Céntrate en el documento",
|
195
|
+
docWasNotFound: "Documento no encontrado"
|
191
196
|
}, R = {
|
192
197
|
close: "Cerrar",
|
193
198
|
instructions: "Para descargar el controlador de su lector biométrico, seleccione el modelo a continuación:",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { u as D, $ as m, n as C, g as b, i as y, s as l, a as F, F as U, b as M, c, v as x, d as P, A as B, e as I, h as g, f as v, j as W, k as R, l as $, m as k, o as w, p as V } from "./
|
1
|
+
import { u as D, $ as m, n as C, g as b, i as y, s as l, a as F, F as U, b as M, c, v as x, d as P, A as B, e as I, h as g, f as v, j as W, k as R, l as $, m as k, o as w, p as V } from "./main_0c38f58d_2.2.24.js";
|
2
2
|
const f = D(m);
|
3
3
|
var X = /* @__PURE__ */ ((n) => (n.EXTENSION_MISSING = "EXTENSION_MISSING", n.USER_CANCELLED = "USER_CANCELLED", n.UNAUTHORIZED_EXTENSION = "UNAUTHORIZED_EXTENSION", n.SCANNER_NOT_FOUND = "SCANNER_NOT_FOUND", n.EXTENSION_MODULE_NOT_INSTALLED = "EXTENSION_MODULE_NOT_INSTALLED", n.FINGER_NOT_REMOVED = "FINGER_NOT_REMOVED", n.UNKNOWN_ERROR = "UNKNOWN_ERROR", n.EVALUATE_BIOMETRICS_TIMEOUT = "EVALUATE_BIOMETRICS_TIMEOUT", n.EVALUATE_BIOMETRICS_NETWORK_ISSUE = "EVALUATE_BIOMETRICS_NETWORK_ISSUE", n))(X || {});
|
4
4
|
class r extends Error {
|
package/dist/index.d.ts
CHANGED
@@ -107,6 +107,11 @@ export type lowQualityFaceEvent = CustomEvent<{
|
|
107
107
|
errorCode: string;
|
108
108
|
translatedError: string;
|
109
109
|
}>;
|
110
|
+
export type extensionErrorEvent = CustomEvent<{
|
111
|
+
code: number;
|
112
|
+
description: string;
|
113
|
+
key: string;
|
114
|
+
}>;
|
110
115
|
|
111
116
|
declare global {
|
112
117
|
interface BryWebCollectorComponent extends HTMLElement {
|
@@ -234,5 +239,6 @@ declare global {
|
|
234
239
|
'face-unconformities-validated': faceUnconformitiesValidated;
|
235
240
|
'document-unconformities-validated': documentUnconformitiesValidated;
|
236
241
|
'low-quality-face': lowQualityFaceEvent;
|
242
|
+
'extension-error': extensionErrorEvent;
|
237
243
|
}
|
238
244
|
}
|
package/dist/index.js
CHANGED