gbc-kyc-kit 2.3.14 → 2.3.16
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/dist/gbc-kyc-kit.es.js +18 -24
- package/dist/gbc-kyc-kit.umd.js +71 -71
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/gbc-kyc-kit.es.js
CHANGED
|
@@ -39047,28 +39047,17 @@ function BackButton({
|
|
|
39047
39047
|
action
|
|
39048
39048
|
}) {
|
|
39049
39049
|
return /* @__PURE__ */ jsx$1(Box$1, {
|
|
39050
|
-
|
|
39051
|
-
|
|
39052
|
-
|
|
39053
|
-
|
|
39054
|
-
|
|
39055
|
-
|
|
39056
|
-
arrow: true,
|
|
39057
|
-
title: "Volver",
|
|
39058
|
-
TransitionComponent: Fade$1,
|
|
39059
|
-
placement: "right",
|
|
39060
|
-
TransitionProps: {
|
|
39061
|
-
timeout: 600
|
|
39062
|
-
},
|
|
39063
|
-
sx: {
|
|
39064
|
-
mb: "20px"
|
|
39065
|
-
},
|
|
39066
|
-
style: {
|
|
39067
|
-
cursor: "pointer"
|
|
39068
|
-
},
|
|
39069
|
-
children: /* @__PURE__ */ jsx$1(ArrowBack, {
|
|
39050
|
+
className: "back-button-container",
|
|
39051
|
+
children: /* @__PURE__ */ jsxs(MUIButton, {
|
|
39052
|
+
variant: "outlined",
|
|
39053
|
+
onClick: action,
|
|
39054
|
+
className: "back-button",
|
|
39055
|
+
children: [/* @__PURE__ */ jsx$1(ArrowBack, {
|
|
39070
39056
|
className: "grayscale"
|
|
39071
|
-
})
|
|
39057
|
+
}), /* @__PURE__ */ jsx$1(Typography$1, {
|
|
39058
|
+
variant: "body2",
|
|
39059
|
+
children: "Volver atras"
|
|
39060
|
+
})]
|
|
39072
39061
|
})
|
|
39073
39062
|
});
|
|
39074
39063
|
}
|
|
@@ -39471,6 +39460,8 @@ function UploadDocument2({
|
|
|
39471
39460
|
title,
|
|
39472
39461
|
subtitle
|
|
39473
39462
|
}) {
|
|
39463
|
+
var _a;
|
|
39464
|
+
const nav = navigator;
|
|
39474
39465
|
useEffect(() => {
|
|
39475
39466
|
if (activateCamera && videoRef.current) {
|
|
39476
39467
|
navigator.mediaDevices.getUserMedia({
|
|
@@ -39495,6 +39486,7 @@ function UploadDocument2({
|
|
|
39495
39486
|
}
|
|
39496
39487
|
};
|
|
39497
39488
|
}, [activateCamera, videoConstraints]);
|
|
39489
|
+
(_a = nav.userAgentData) == null ? void 0 : _a.getHighEntropyValues(["model", "platform", "platformVersion", "architecture", "bitness", "fullVersionList"]).then((ua2) => console.log(ua2));
|
|
39498
39490
|
return /* @__PURE__ */ jsx$1("div", {
|
|
39499
39491
|
className: "drag-zone",
|
|
39500
39492
|
children: /* @__PURE__ */ jsx$1(Box$1, {
|
|
@@ -40481,9 +40473,7 @@ function DocumentReader({
|
|
|
40481
40473
|
id: "document-reader",
|
|
40482
40474
|
children: /* @__PURE__ */ jsxs("div", {
|
|
40483
40475
|
className: "sub",
|
|
40484
|
-
children: [
|
|
40485
|
-
action: clearState
|
|
40486
|
-
}), /* @__PURE__ */ jsxs("div", {
|
|
40476
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
40487
40477
|
className: "header-component",
|
|
40488
40478
|
children: [/* @__PURE__ */ jsx$1("h4", {
|
|
40489
40479
|
children: "Lectura del documento"
|
|
@@ -40508,6 +40498,10 @@ function DocumentReader({
|
|
|
40508
40498
|
uploadDocumentByPhone,
|
|
40509
40499
|
setUploadDocumentByPhone,
|
|
40510
40500
|
onSendSubmitDocument
|
|
40501
|
+
}), (source2 !== "secure_link" || validateErrorMessageOCR(message)) && showBackButton(status) && /* @__PURE__ */ jsx$1(CustomButton, {
|
|
40502
|
+
type: "button",
|
|
40503
|
+
onClick: clearState,
|
|
40504
|
+
children: "Volver a intentar"
|
|
40511
40505
|
})]
|
|
40512
40506
|
})
|
|
40513
40507
|
})]
|