bry-biometric-collector 2.2.21 → 2.2.23

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,4 +1,4 @@
1
- import { bd as e } from "./main_255a6ad2_2.2.21.js";
1
+ import { bb as e } from "./main_af3a4af6_2.2.23.js";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -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
- }, o = {
27
+ }, r = {
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
- }, r = {
32
+ }, o = {
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
- }, h = {
100
+ }, p = {
101
101
  extensionNotFound: "The extension couldn't be identified. Please install it from here",
102
102
  extension: "extension"
103
- }, p = {
103
+ }, h = {
104
104
  permissionNotGranted: "Permission to access the camera was denied, please enable and refresh."
105
105
  }, m = {
106
106
  illumination: "Heterogeneous illumination",
@@ -123,8 +123,7 @@ const e = {
123
123
  lackOfSharpness: "Lack of sharpness",
124
124
  unnaturalColoring: "Unnatural coloring",
125
125
  initiatingCamera: "Initiating video...",
126
- obtainingPicture: "Obtaining photo...",
127
- faceTooSmall: "The face is too far from the camera, please get closer."
126
+ obtainingPicture: "Obtaining photo..."
128
127
  }, f = {
129
128
  error: {
130
129
  error: "Error",
@@ -182,19 +181,14 @@ const e = {
182
181
  dontOpenMouth: "Close your mouth",
183
182
  stayInFrame: "Center your face",
184
183
  loading: "Loading...",
185
- capture: "Capture",
186
- faceWasNotFound: "Face not found",
187
- illuminationTooLow: "Lighting too low",
188
- illuminationTooHigh: "Lighting too high",
189
- lowSharpness: "Low sharpness"
190
- }, T = {
184
+ capture: "Capture"
185
+ }, R = {
191
186
  captured: "Document captured!",
192
187
  comeCloserCamera: "Get closer",
193
188
  moveAwayCamera: "Move away",
194
189
  stayInFrame: "Center the document",
195
- capture: "Capture",
196
- docWasNotFound: "Document not found"
197
- }, R = {
190
+ capture: "Capture"
191
+ }, T = {
198
192
  close: "close",
199
193
  instructions: "To download the driver for your scanner, please select the brand of your scanner:",
200
194
  obs: "Please also do not forget to disconnect your scanner before installing the driver.",
@@ -232,38 +226,38 @@ const e = {
232
226
  unknownDuplicateFingerSwal: a,
233
227
  signerNotInstalledSwal: n,
234
228
  agrFingerNotMatched: i,
235
- agrFinger: o,
236
- duplicateFingerSwal: r,
229
+ agrFinger: r,
230
+ duplicateFingerSwal: o,
237
231
  easterEggduplicateFingerSwal: s,
238
232
  automaticHasAlreadyRunSwal: l,
239
233
  dirtyScannerSwal: c,
240
234
  missingScannerSwal: d,
241
235
  fingerDisplayArea: u,
242
236
  buttons: g,
243
- alertExtension: h,
244
- alertCameraDisallowed: p,
237
+ alertExtension: p,
238
+ alertCameraDisallowed: h,
245
239
  unconformities: m,
246
240
  liveness: f,
247
241
  faceCollector: y,
248
- docCollector: T,
249
- configModal: R,
242
+ docCollector: R,
243
+ configModal: T,
250
244
  toast: F,
251
245
  cameraStatus: v
252
246
  };
253
247
  export {
254
- o as agrFinger,
248
+ r as agrFinger,
255
249
  i as agrFingerNotMatched,
256
- p as alertCameraDisallowed,
257
- h as alertExtension,
250
+ h as alertCameraDisallowed,
251
+ p as alertExtension,
258
252
  l as automaticHasAlreadyRunSwal,
259
253
  t as badFingerQualitySwal,
260
254
  g as buttons,
261
255
  v as cameraStatus,
262
- R as configModal,
256
+ T as configModal,
263
257
  C as default,
264
258
  c as dirtyScannerSwal,
265
- T as docCollector,
266
- r as duplicateFingerSwal,
259
+ R as docCollector,
260
+ o as duplicateFingerSwal,
267
261
  s as easterEggduplicateFingerSwal,
268
262
  y as faceCollector,
269
263
  u as fingerDisplayArea,
@@ -121,8 +121,7 @@ const e = {
121
121
  nonUniformBackground: "Fondo no uniforme",
122
122
  outOfFrame: "Fuera de encuadre",
123
123
  lackOfSharpness: "Falta de nitidez",
124
- unnaturalColoring: "Coloración no natural",
125
- faceTooSmall: "El rostro está muy lejos de la cámara, por favor acérquese."
124
+ unnaturalColoring: "Coloración no natural"
126
125
  }, g = {
127
126
  error: {
128
127
  error: "Error",
@@ -182,17 +181,12 @@ const e = {
182
181
  comeCloserCamera: "Acércate",
183
182
  dontOpenMouth: "Cierra la boca",
184
183
  stayInFrame: "Céntrate en el marco",
185
- loading: "Cargando...",
186
- faceWasNotFound: "Rostro no encontrado",
187
- illuminationTooLow: "Iluminación baja",
188
- illuminationTooHigh: "Iluminación alta",
189
- lowSharpness: "Baja nitidez"
184
+ loading: "Cargando..."
190
185
  }, D = {
191
186
  captured: "¡Documento capturado!",
192
187
  comeCloserCamera: "Acércate",
193
188
  moveAwayCamera: "Aléjate",
194
- stayInFrame: "Céntrate en el documento",
195
- docWasNotFound: "Documento no encontrado"
189
+ stayInFrame: "Céntrate en el documento"
196
190
  }, R = {
197
191
  close: "Cerrar",
198
192
  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 "./main_255a6ad2_2.2.21.js";
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_af3a4af6_2.2.23.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
@@ -37,14 +37,12 @@ export enum Props {
37
37
  EVALUATE_PHOTO = 'evaluate_photo',
38
38
  SHOW_CAPTURE_BUTTON = 'show_capture_button',
39
39
  SHOW_UNCONFORMITIES = 'show_unconformities',
40
- VIDEO_OVERLAY = 'video_overlay',
41
- VIDEO_OVERLAY_TRANSPARENCY= 'video_overlay_transparency',
40
+ VIDEO_FILTER = 'video_filter',
42
41
  SHOW_CONFIG_BUTTON = 'show_config_button',
43
42
  SHOW_AUTO_CAPTURE_BUTTON = 'show_auto_capture_button',
44
43
  SHOW_CAMERA_BUTTON = 'show_camera_button',
45
44
  LANGUAGE = 'language',
46
- SHOW_JUSTIFICATION_FIELD = 'show_justification_field',
47
- MIN_EYE_TO_EYE_DIST = 'MIN_EYE_TO_EYE_DIST'
45
+ SHOW_JUSTIFICATION_FIELD = 'show_justification_field'
48
46
  }
49
47
 
50
48
  export const enum BodyPartNames {
@@ -102,11 +100,6 @@ export type documentUnconformitiesValidated = BryWebCollectorComponentEvent<{
102
100
  errorCode?: string;
103
101
  status: requestResultEnum;
104
102
  }>;
105
- export type lowQualityFaceEvent = CustomEvent<{
106
- bodyParts: BodyPart[];
107
- errorCode: string;
108
- translatedError: string;
109
- }>;
110
103
 
111
104
  declare global {
112
105
  interface BryWebCollectorComponent extends HTMLElement {
@@ -142,14 +135,12 @@ declare global {
142
135
  [Props.EVALUATE_PHOTO]: string;
143
136
  [Props.SHOW_CAPTURE_BUTTON]: string;
144
137
  [Props.SHOW_UNCONFORMITIES]: string;
145
- [Props.VIDEO_OVERLAY]: string;
146
- [Props.VIDEO_OVERLAY_TRANSPARENCY]: number;
138
+ [Props.VIDEO_FILTER]: string;
147
139
  [Props.SHOW_CONFIG_BUTTON]: string;
148
140
  [Props.SHOW_AUTO_CAPTURE_BUTTON]: string;
149
141
  [Props.SHOW_CAMERA_BUTTON]: string;
150
142
  [Props.LANGUAGE]: string;
151
143
  [Props.SHOW_JUSTIFICATION_FIELD]: string;
152
- [Props.MIN_EYE_TO_EYE_DIST]: number;
153
144
  /**
154
145
  * Clears fingers and face, to make ready for a new collection.
155
146
  * Will not clear jwtToken.
@@ -233,6 +224,5 @@ declare global {
233
224
  'export-document': exportDocument;
234
225
  'face-unconformities-validated': faceUnconformitiesValidated;
235
226
  'document-unconformities-validated': documentUnconformitiesValidated;
236
- 'low-quality-face': lowQualityFaceEvent;
237
227
  }
238
228
  }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bd as e } from "./main_255a6ad2_2.2.21.js";
1
+ import { bb as e } from "./main_af3a4af6_2.2.23.js";
2
2
  export {
3
3
  e as default
4
4
  };