bry-biometric-collector 2.2.3 → 2.2.4
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 +4 -1
- package/dist/{CameraBtn_96f6ebaf_2.2.3.js → CameraBtn_31de128d_2.2.4.js} +21 -21
- package/dist/DocumentCollector_c6e6ff03_2.2.4.js +974 -0
- package/dist/FaceCollector_093647e9_2.2.4.js +1578 -0
- package/dist/bry-biometric-collector-main.js +1 -1
- package/dist/{en-us_46223587_2.2.3.js → en-us_55a6748c_2.2.4.js} +10 -8
- package/dist/{fingersApi_bb08f771_2.2.3.js → fingersApi_3ba4f3ab_2.2.4.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{main_0b5de60d_2.2.3.js → main_b9c95070_2.2.4.js} +2919 -2894
- package/dist/{pt-br_7b1f22cd_2.2.3.js → pt-br_083e1c6a_2.2.4.js} +8 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/DocumentCollector_33f88502_2.2.3.js +0 -1037
- package/dist/FaceCollector_14d69b3d_2.2.3.js +0 -1636
- /package/dist/{face_api_0e3ce8c8_2.2.3.js → face_api_0e3ce8c8_2.2.4.js} +0 -0
- /package/dist/{index-no-detector_acb82d83_2.2.3.js → index-no-detector_acb82d83_2.2.4.js} +0 -0
package/README.md
CHANGED
@@ -10,10 +10,13 @@ Face collector
|
|
10
10
|
|
11
11
|
# **Building**
|
12
12
|
|
13
|
+
nvm use install / use
|
13
14
|
npm i
|
14
15
|
npm run build
|
15
16
|
|
16
|
-
In dist folder you should get the biometric-collector.js script and a folder containing the weights used to perform image recognition. To use the web-component, refer to the example at [client integration](https://git.bry.com.br/psbio/coletor/bry-collector-component-client).
|
17
|
+
In dist folder you should get the biometric-collector.js script and a folder containing the weights used to perform image recognition. To use the web-component, refer to the example at [client integration](https://git.bry.com.br/psbio/coletor/bry-collector-component-client). Clone the project and place it in the same root path as the project, then rename the bry-collector-component-client directory to `"client"`.
|
18
|
+
|
19
|
+
npm run build-and-copy
|
17
20
|
|
18
21
|
There is also a development server complete with HMR, thanks to Vite. However the development server mode is limited because it cannot access the relevant endpoints. To run the development server run:
|
19
22
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { aN as H, S as V, r as P, t as B, w as Z, x as n, y as g, B as b, G as k, H as v, O as r, Q as I, aZ as A, a_ as L, a$ as D, b0 as R, D as w, b1 as h, I as E, aH as O, b2 as N, b3 as S, E as y, J as U, N as z, L as q, P as j, aC as T, W as F, am as K } from "./main_b9c95070_2.2.4.js";
|
2
2
|
var C = /* @__PURE__ */ ((c) => (c.OK = "OK", c.DEVICE_NOT_FOUND_ERROR = "DEVICE_NOT_FOUND_ERROR", c.CAMERA_DENIED_ERROR = "CAMERA_DENIED_ERROR", c.CAMERA_IN_USE_ERROR = "CAMERA_IN_USE_ERROR", c.CAMERA_CLOSED_ERROR = "CAMERA_CLOSED_ERROR", c.CAMERA_UNSUPPORTED = "CAMERA_UNSUPPORTED", c.CAMERA_ORIENTATION_PORTRAIT = "CAMERA_ORIENTATION_PORTRAIT", c.CAMERA_ORIENTATION_LANDSCAPE = "CAMERA_ORIENTATION_LANDSCAPE", c))(C || {});
|
3
|
-
const G =
|
3
|
+
const G = H(
|
4
4
|
"OK"
|
5
5
|
/* OK */
|
6
6
|
);
|
@@ -29,7 +29,7 @@ function J(c) {
|
|
29
29
|
), x = !0);
|
30
30
|
},
|
31
31
|
p(t, l) {
|
32
|
-
h(e, f =
|
32
|
+
h(e, f = N(d, [
|
33
33
|
{ class: "text-[8em] mx-auto" },
|
34
34
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
35
35
|
{ width: "1em" },
|
@@ -70,7 +70,7 @@ function Q(c) {
|
|
70
70
|
), x = !0);
|
71
71
|
},
|
72
72
|
p(t, l) {
|
73
|
-
h(e, f =
|
73
|
+
h(e, f = N(d, [
|
74
74
|
{ class: "text-[8em] mx-auto" },
|
75
75
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
76
76
|
{ width: "1em" },
|
@@ -111,7 +111,7 @@ function W(c) {
|
|
111
111
|
), x = !0);
|
112
112
|
},
|
113
113
|
p(t, l) {
|
114
|
-
h(e, f =
|
114
|
+
h(e, f = N(d, [
|
115
115
|
{ class: "text-[8em] mx-auto" },
|
116
116
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
117
117
|
{ width: "1em" },
|
@@ -152,7 +152,7 @@ function X(c) {
|
|
152
152
|
), x = !0);
|
153
153
|
},
|
154
154
|
p(t, l) {
|
155
|
-
h(e, f =
|
155
|
+
h(e, f = N(d, [
|
156
156
|
{ class: "text-[8em] mx-auto" },
|
157
157
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
158
158
|
{ width: "1em" },
|
@@ -193,7 +193,7 @@ function Y(c) {
|
|
193
193
|
), x = !0);
|
194
194
|
},
|
195
195
|
p(t, l) {
|
196
|
-
h(e, f =
|
196
|
+
h(e, f = N(d, [
|
197
197
|
{ class: "text-[8em] mx-auto" },
|
198
198
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
199
199
|
{ width: "1em" },
|
@@ -234,7 +234,7 @@ function $(c) {
|
|
234
234
|
), x = !0);
|
235
235
|
},
|
236
236
|
p(t, l) {
|
237
|
-
h(e, f =
|
237
|
+
h(e, f = N(d, [
|
238
238
|
{ class: "text-[8em] mx-auto" },
|
239
239
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
240
240
|
{ width: "1em" },
|
@@ -275,7 +275,7 @@ function tt(c) {
|
|
275
275
|
), x = !0);
|
276
276
|
},
|
277
277
|
p(t, l) {
|
278
|
-
h(e, f =
|
278
|
+
h(e, f = N(d, [
|
279
279
|
{ class: "text-[8em] mx-auto" },
|
280
280
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
281
281
|
{ width: "1em" },
|
@@ -412,11 +412,11 @@ class st extends V {
|
|
412
412
|
customElements.define("camera-status", st);
|
413
413
|
function at(c) {
|
414
414
|
let e, m, u, s, o, a, _, i, x, p, d;
|
415
|
-
e = new
|
415
|
+
e = new S({});
|
416
416
|
let f = [
|
417
417
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
418
|
-
{ width: "
|
419
|
-
{ height: "
|
418
|
+
{ width: "2em" },
|
419
|
+
{ height: "2em" },
|
420
420
|
{ viewBox: "0 0 256 256" },
|
421
421
|
/*$$props*/
|
422
422
|
c[3]
|
@@ -429,26 +429,26 @@ function at(c) {
|
|
429
429
|
c[2].length == 1, v(s, "class", "ce-dui-btn ce-dui-btn-ghost m-1"), v(u, "class", i = "ce-dui-dropdown ce-dui-dropdown-top absolute z-10 right-0 sm:block " + /*className*/
|
430
430
|
c[0]);
|
431
431
|
},
|
432
|
-
m(l,
|
433
|
-
U(e, l,
|
432
|
+
m(l, M) {
|
433
|
+
U(e, l, M), n(l, m, M), n(l, u, M), E(u, s), E(s, o), E(o, a), x = !0, p || (d = O(
|
434
434
|
u,
|
435
435
|
"click",
|
436
436
|
/*click_handler*/
|
437
437
|
c[4]
|
438
438
|
), p = !0);
|
439
439
|
},
|
440
|
-
p(l, [
|
441
|
-
h(o, t =
|
440
|
+
p(l, [M]) {
|
441
|
+
h(o, t = N(f, [
|
442
442
|
{ xmlns: "http://www.w3.org/2000/svg" },
|
443
|
-
{ width: "
|
444
|
-
{ height: "
|
443
|
+
{ width: "2em" },
|
444
|
+
{ height: "2em" },
|
445
445
|
{ viewBox: "0 0 256 256" },
|
446
|
-
|
446
|
+
M & /*$$props*/
|
447
447
|
8 && /*$$props*/
|
448
448
|
l[3]
|
449
|
-
])), (!x ||
|
449
|
+
])), (!x || M & /*$cameraDevicesStore*/
|
450
450
|
4 && _ !== (_ = /*$cameraDevicesStore*/
|
451
|
-
l[2].length == 1)) && (s.hidden = _), (!x ||
|
451
|
+
l[2].length == 1)) && (s.hidden = _), (!x || M & /*className*/
|
452
452
|
1 && i !== (i = "ce-dui-dropdown ce-dui-dropdown-top absolute z-10 right-0 sm:block " + /*className*/
|
453
453
|
l[0])) && v(u, "class", i);
|
454
454
|
},
|