@ekyc_qoobiss/qbs-ect-cmp 3.5.2 → 3.5.3
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/cjs/agreement-check_18.cjs.entry.js +19 -19
- package/dist/collection/components/common/id-back-capture/id-back-capture.js +6 -6
- package/dist/collection/components/common/id-capture/id-capture.js +6 -6
- package/dist/collection/components/common/selfie-capture/selfie-capture.js +6 -6
- package/dist/esm/agreement-check_18.entry.js +19 -19
- package/dist/qbs-ect-cmp/{p-8a378193.entry.js → p-a4977375.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
|
@@ -5826,14 +5826,14 @@ const IdBackCapture = class {
|
|
|
5826
5826
|
this.baseComponent = new BaseComponent(FlowSteps.CiBackHoldAnimation);
|
|
5827
5827
|
}
|
|
5828
5828
|
async eventChangeTitle(event) {
|
|
5829
|
-
this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Initialized);
|
|
5829
|
+
await this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Initialized);
|
|
5830
5830
|
this.showDemo = true;
|
|
5831
5831
|
this.titleMesage = IdCaptureValues.IDPoseMapping[event.detail];
|
|
5832
5832
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.BackTilted];
|
|
5833
5833
|
this.demoVideo.play();
|
|
5834
5834
|
await delay(IdCaptureValues.VideoLenght);
|
|
5835
5835
|
this.showDemo = false;
|
|
5836
|
-
this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Finalized);
|
|
5836
|
+
await this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Finalized);
|
|
5837
5837
|
}
|
|
5838
5838
|
eventVideoStarted(event) {
|
|
5839
5839
|
this.videoStarted = true;
|
|
@@ -5846,7 +5846,7 @@ const IdBackCapture = class {
|
|
|
5846
5846
|
}
|
|
5847
5847
|
}
|
|
5848
5848
|
async componentDidLoad() {
|
|
5849
|
-
this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Initialized);
|
|
5849
|
+
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Initialized);
|
|
5850
5850
|
this.titleMesage = IdCaptureValues.TtileRotate;
|
|
5851
5851
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
|
|
5852
5852
|
this.demoVideo.play();
|
|
@@ -5855,12 +5855,12 @@ const IdBackCapture = class {
|
|
|
5855
5855
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.BackStraight];
|
|
5856
5856
|
this.demoVideo.play();
|
|
5857
5857
|
await delay(IdCaptureValues.VideoLenght);
|
|
5858
|
-
this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
5858
|
+
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
5859
5859
|
this.showDemo = false;
|
|
5860
5860
|
this.openCamera();
|
|
5861
5861
|
}
|
|
5862
5862
|
async openCamera() {
|
|
5863
|
-
this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Initialized);
|
|
5863
|
+
await this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Initialized);
|
|
5864
5864
|
var constraints = this.cameras.GetConstraints(state.cameraId, state.device);
|
|
5865
5865
|
setTimeout(() => {
|
|
5866
5866
|
navigator.mediaDevices
|
|
@@ -5903,7 +5903,7 @@ const IdBackCapture = class {
|
|
|
5903
5903
|
this.captureTaken = true;
|
|
5904
5904
|
let res = await Stream.getInstance().takePhoto();
|
|
5905
5905
|
this.photoIsReady(res);
|
|
5906
|
-
this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Finalized);
|
|
5906
|
+
await this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Finalized);
|
|
5907
5907
|
}
|
|
5908
5908
|
render() {
|
|
5909
5909
|
let cameraStyle;
|
|
@@ -5947,14 +5947,14 @@ const IdCapture = class {
|
|
|
5947
5947
|
this.baseComponent = new BaseComponent(FlowSteps.CiFrontHoldAnimation);
|
|
5948
5948
|
}
|
|
5949
5949
|
async eventChangeTitle(event) {
|
|
5950
|
-
this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Initialized);
|
|
5950
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Initialized);
|
|
5951
5951
|
this.showDemo = true;
|
|
5952
5952
|
this.titleMesage = IdCaptureValues.IDPoseMapping[event.detail];
|
|
5953
5953
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Tilted];
|
|
5954
5954
|
this.demoVideo.play();
|
|
5955
5955
|
await delay(IdCaptureValues.VideoLenght);
|
|
5956
5956
|
this.showDemo = false;
|
|
5957
|
-
this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Finalized);
|
|
5957
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Finalized);
|
|
5958
5958
|
}
|
|
5959
5959
|
eventVideoStarted(event) {
|
|
5960
5960
|
this.videoStarted = true;
|
|
@@ -5968,16 +5968,16 @@ const IdCapture = class {
|
|
|
5968
5968
|
}
|
|
5969
5969
|
}
|
|
5970
5970
|
async componentDidLoad() {
|
|
5971
|
-
this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Initialized);
|
|
5971
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Initialized);
|
|
5972
5972
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Straight];
|
|
5973
5973
|
this.demoVideo.play();
|
|
5974
5974
|
await delay(IdCaptureValues.VideoLenght);
|
|
5975
|
-
this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
5975
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
5976
5976
|
this.showDemo = false;
|
|
5977
5977
|
this.openCamera();
|
|
5978
5978
|
}
|
|
5979
5979
|
async openCamera() {
|
|
5980
|
-
this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Initialized);
|
|
5980
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Initialized);
|
|
5981
5981
|
var constraints = this.cameras.GetConstraints(state.cameraId, state.device);
|
|
5982
5982
|
setTimeout(() => {
|
|
5983
5983
|
navigator.mediaDevices
|
|
@@ -6009,7 +6009,7 @@ const IdCapture = class {
|
|
|
6009
6009
|
this.captureTaken = true;
|
|
6010
6010
|
let res = await Stream.getInstance().takePhoto();
|
|
6011
6011
|
this.photoIsReady(res);
|
|
6012
|
-
this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Finalized);
|
|
6012
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Finalized);
|
|
6013
6013
|
}
|
|
6014
6014
|
async verificationFinished() {
|
|
6015
6015
|
if (this.verified)
|
|
@@ -6432,7 +6432,7 @@ function v4(options, buf, offset) {
|
|
|
6432
6432
|
}
|
|
6433
6433
|
|
|
6434
6434
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6435
|
-
const version$1 = "3.5.
|
|
6435
|
+
const version$1 = "3.5.3";
|
|
6436
6436
|
const description = "Person Identification Component";
|
|
6437
6437
|
const main = "./dist/index.cjs.js";
|
|
6438
6438
|
const module$1 = "./dist/index.js";
|
|
@@ -9866,13 +9866,13 @@ const SelfieCapture = class {
|
|
|
9866
9866
|
this.titleMesage = SelfieCaptureValues.FinalTitle;
|
|
9867
9867
|
}
|
|
9868
9868
|
else {
|
|
9869
|
-
this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Initialized);
|
|
9869
|
+
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Initialized);
|
|
9870
9870
|
this.titleMesage = SelfieCaptureValues.FacePoseMapping[event.detail];
|
|
9871
9871
|
this.demoEnded = false;
|
|
9872
9872
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[event.detail];
|
|
9873
9873
|
this.demoVideo.play();
|
|
9874
9874
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
9875
|
-
this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
9875
|
+
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
9876
9876
|
this.demoEnded = true;
|
|
9877
9877
|
}
|
|
9878
9878
|
}
|
|
@@ -9891,16 +9891,16 @@ const SelfieCapture = class {
|
|
|
9891
9891
|
}
|
|
9892
9892
|
}
|
|
9893
9893
|
async componentDidLoad() {
|
|
9894
|
-
this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Initialized);
|
|
9894
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Initialized);
|
|
9895
9895
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[FacePose.Main];
|
|
9896
9896
|
this.demoVideo.play();
|
|
9897
9897
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
9898
|
-
this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9898
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9899
9899
|
this.demoEnded = true;
|
|
9900
9900
|
this.openCamera();
|
|
9901
9901
|
}
|
|
9902
9902
|
async openCamera() {
|
|
9903
|
-
this.baseComponent.logStep(FlowSteps.SelfieCapture, FlowMoments.Initialized);
|
|
9903
|
+
await this.baseComponent.logStep(FlowSteps.SelfieCapture, FlowMoments.Initialized);
|
|
9904
9904
|
const constraints = this.cameras.GetConstraints('', state.device, true);
|
|
9905
9905
|
setTimeout(() => {
|
|
9906
9906
|
navigator.mediaDevices
|
|
@@ -9931,7 +9931,7 @@ const SelfieCapture = class {
|
|
|
9931
9931
|
this.captureTaken = true;
|
|
9932
9932
|
let res = await Stream.getInstance().takePhoto();
|
|
9933
9933
|
this.photoIsReady(res);
|
|
9934
|
-
this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9934
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9935
9935
|
}
|
|
9936
9936
|
verificationFinished() {
|
|
9937
9937
|
if (this.verified)
|
|
@@ -31,14 +31,14 @@ export class IdBackCapture {
|
|
|
31
31
|
this.baseComponent = new BaseComponent(FlowSteps.CiBackHoldAnimation);
|
|
32
32
|
}
|
|
33
33
|
async eventChangeTitle(event) {
|
|
34
|
-
this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Initialized);
|
|
34
|
+
await this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Initialized);
|
|
35
35
|
this.showDemo = true;
|
|
36
36
|
this.titleMesage = IdCaptureValues.IDPoseMapping[event.detail];
|
|
37
37
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.BackTilted];
|
|
38
38
|
this.demoVideo.play();
|
|
39
39
|
await delay(IdCaptureValues.VideoLenght);
|
|
40
40
|
this.showDemo = false;
|
|
41
|
-
this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Finalized);
|
|
41
|
+
await this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Finalized);
|
|
42
42
|
}
|
|
43
43
|
eventVideoStarted(event) {
|
|
44
44
|
this.videoStarted = true;
|
|
@@ -51,7 +51,7 @@ export class IdBackCapture {
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
async componentDidLoad() {
|
|
54
|
-
this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Initialized);
|
|
54
|
+
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Initialized);
|
|
55
55
|
this.titleMesage = IdCaptureValues.TtileRotate;
|
|
56
56
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
|
|
57
57
|
this.demoVideo.play();
|
|
@@ -60,12 +60,12 @@ export class IdBackCapture {
|
|
|
60
60
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.BackStraight];
|
|
61
61
|
this.demoVideo.play();
|
|
62
62
|
await delay(IdCaptureValues.VideoLenght);
|
|
63
|
-
this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
63
|
+
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
64
64
|
this.showDemo = false;
|
|
65
65
|
this.openCamera();
|
|
66
66
|
}
|
|
67
67
|
async openCamera() {
|
|
68
|
-
this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Initialized);
|
|
68
|
+
await this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Initialized);
|
|
69
69
|
var constraints = this.cameras.GetConstraints(store.cameraId, store.device);
|
|
70
70
|
setTimeout(() => {
|
|
71
71
|
navigator.mediaDevices
|
|
@@ -108,7 +108,7 @@ export class IdBackCapture {
|
|
|
108
108
|
this.captureTaken = true;
|
|
109
109
|
let res = await Stream.getInstance().takePhoto();
|
|
110
110
|
this.photoIsReady(res);
|
|
111
|
-
this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Finalized);
|
|
111
|
+
await this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Finalized);
|
|
112
112
|
}
|
|
113
113
|
render() {
|
|
114
114
|
let cameraStyle;
|
|
@@ -31,14 +31,14 @@ export class IdCapture {
|
|
|
31
31
|
this.baseComponent = new BaseComponent(FlowSteps.CiFrontHoldAnimation);
|
|
32
32
|
}
|
|
33
33
|
async eventChangeTitle(event) {
|
|
34
|
-
this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Initialized);
|
|
34
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Initialized);
|
|
35
35
|
this.showDemo = true;
|
|
36
36
|
this.titleMesage = IdCaptureValues.IDPoseMapping[event.detail];
|
|
37
37
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Tilted];
|
|
38
38
|
this.demoVideo.play();
|
|
39
39
|
await delay(IdCaptureValues.VideoLenght);
|
|
40
40
|
this.showDemo = false;
|
|
41
|
-
this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Finalized);
|
|
41
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Finalized);
|
|
42
42
|
}
|
|
43
43
|
eventVideoStarted(event) {
|
|
44
44
|
this.videoStarted = true;
|
|
@@ -52,16 +52,16 @@ export class IdCapture {
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
async componentDidLoad() {
|
|
55
|
-
this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Initialized);
|
|
55
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Initialized);
|
|
56
56
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Straight];
|
|
57
57
|
this.demoVideo.play();
|
|
58
58
|
await delay(IdCaptureValues.VideoLenght);
|
|
59
|
-
this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
59
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
60
60
|
this.showDemo = false;
|
|
61
61
|
this.openCamera();
|
|
62
62
|
}
|
|
63
63
|
async openCamera() {
|
|
64
|
-
this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Initialized);
|
|
64
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Initialized);
|
|
65
65
|
var constraints = this.cameras.GetConstraints(store.cameraId, store.device);
|
|
66
66
|
setTimeout(() => {
|
|
67
67
|
navigator.mediaDevices
|
|
@@ -93,7 +93,7 @@ export class IdCapture {
|
|
|
93
93
|
this.captureTaken = true;
|
|
94
94
|
let res = await Stream.getInstance().takePhoto();
|
|
95
95
|
this.photoIsReady(res);
|
|
96
|
-
this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Finalized);
|
|
96
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Finalized);
|
|
97
97
|
}
|
|
98
98
|
async verificationFinished() {
|
|
99
99
|
if (this.verified)
|
|
@@ -37,13 +37,13 @@ export class SelfieCapture {
|
|
|
37
37
|
this.titleMesage = SelfieCaptureValues.FinalTitle;
|
|
38
38
|
}
|
|
39
39
|
else {
|
|
40
|
-
this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Initialized);
|
|
40
|
+
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Initialized);
|
|
41
41
|
this.titleMesage = SelfieCaptureValues.FacePoseMapping[event.detail];
|
|
42
42
|
this.demoEnded = false;
|
|
43
43
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[event.detail];
|
|
44
44
|
this.demoVideo.play();
|
|
45
45
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
46
|
-
this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
46
|
+
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
47
47
|
this.demoEnded = true;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -62,16 +62,16 @@ export class SelfieCapture {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
async componentDidLoad() {
|
|
65
|
-
this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Initialized);
|
|
65
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Initialized);
|
|
66
66
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[FacePose.Main];
|
|
67
67
|
this.demoVideo.play();
|
|
68
68
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
69
|
-
this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
69
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
70
70
|
this.demoEnded = true;
|
|
71
71
|
this.openCamera();
|
|
72
72
|
}
|
|
73
73
|
async openCamera() {
|
|
74
|
-
this.baseComponent.logStep(FlowSteps.SelfieCapture, FlowMoments.Initialized);
|
|
74
|
+
await this.baseComponent.logStep(FlowSteps.SelfieCapture, FlowMoments.Initialized);
|
|
75
75
|
const constraints = this.cameras.GetConstraints('', store.device, true);
|
|
76
76
|
setTimeout(() => {
|
|
77
77
|
navigator.mediaDevices
|
|
@@ -102,7 +102,7 @@ export class SelfieCapture {
|
|
|
102
102
|
this.captureTaken = true;
|
|
103
103
|
let res = await Stream.getInstance().takePhoto();
|
|
104
104
|
this.photoIsReady(res);
|
|
105
|
-
this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
105
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
106
106
|
}
|
|
107
107
|
verificationFinished() {
|
|
108
108
|
if (this.verified)
|
|
@@ -5822,14 +5822,14 @@ const IdBackCapture = class {
|
|
|
5822
5822
|
this.baseComponent = new BaseComponent(FlowSteps.CiBackHoldAnimation);
|
|
5823
5823
|
}
|
|
5824
5824
|
async eventChangeTitle(event) {
|
|
5825
|
-
this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Initialized);
|
|
5825
|
+
await this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Initialized);
|
|
5826
5826
|
this.showDemo = true;
|
|
5827
5827
|
this.titleMesage = IdCaptureValues.IDPoseMapping[event.detail];
|
|
5828
5828
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.BackTilted];
|
|
5829
5829
|
this.demoVideo.play();
|
|
5830
5830
|
await delay(IdCaptureValues.VideoLenght);
|
|
5831
5831
|
this.showDemo = false;
|
|
5832
|
-
this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Finalized);
|
|
5832
|
+
await this.baseComponent.logStep(FlowSteps.CiBackTiltAnimation, FlowMoments.Finalized);
|
|
5833
5833
|
}
|
|
5834
5834
|
eventVideoStarted(event) {
|
|
5835
5835
|
this.videoStarted = true;
|
|
@@ -5842,7 +5842,7 @@ const IdBackCapture = class {
|
|
|
5842
5842
|
}
|
|
5843
5843
|
}
|
|
5844
5844
|
async componentDidLoad() {
|
|
5845
|
-
this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Initialized);
|
|
5845
|
+
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Initialized);
|
|
5846
5846
|
this.titleMesage = IdCaptureValues.TtileRotate;
|
|
5847
5847
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
|
|
5848
5848
|
this.demoVideo.play();
|
|
@@ -5851,12 +5851,12 @@ const IdBackCapture = class {
|
|
|
5851
5851
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.BackStraight];
|
|
5852
5852
|
this.demoVideo.play();
|
|
5853
5853
|
await delay(IdCaptureValues.VideoLenght);
|
|
5854
|
-
this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
5854
|
+
await this.baseComponent.logStep(FlowSteps.CiBackHoldAnimation, FlowMoments.Finalized);
|
|
5855
5855
|
this.showDemo = false;
|
|
5856
5856
|
this.openCamera();
|
|
5857
5857
|
}
|
|
5858
5858
|
async openCamera() {
|
|
5859
|
-
this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Initialized);
|
|
5859
|
+
await this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Initialized);
|
|
5860
5860
|
var constraints = this.cameras.GetConstraints(state.cameraId, state.device);
|
|
5861
5861
|
setTimeout(() => {
|
|
5862
5862
|
navigator.mediaDevices
|
|
@@ -5899,7 +5899,7 @@ const IdBackCapture = class {
|
|
|
5899
5899
|
this.captureTaken = true;
|
|
5900
5900
|
let res = await Stream.getInstance().takePhoto();
|
|
5901
5901
|
this.photoIsReady(res);
|
|
5902
|
-
this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Finalized);
|
|
5902
|
+
await this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Finalized);
|
|
5903
5903
|
}
|
|
5904
5904
|
render() {
|
|
5905
5905
|
let cameraStyle;
|
|
@@ -5943,14 +5943,14 @@ const IdCapture = class {
|
|
|
5943
5943
|
this.baseComponent = new BaseComponent(FlowSteps.CiFrontHoldAnimation);
|
|
5944
5944
|
}
|
|
5945
5945
|
async eventChangeTitle(event) {
|
|
5946
|
-
this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Initialized);
|
|
5946
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Initialized);
|
|
5947
5947
|
this.showDemo = true;
|
|
5948
5948
|
this.titleMesage = IdCaptureValues.IDPoseMapping[event.detail];
|
|
5949
5949
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Tilted];
|
|
5950
5950
|
this.demoVideo.play();
|
|
5951
5951
|
await delay(IdCaptureValues.VideoLenght);
|
|
5952
5952
|
this.showDemo = false;
|
|
5953
|
-
this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Finalized);
|
|
5953
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontTiltAnimation, FlowMoments.Finalized);
|
|
5954
5954
|
}
|
|
5955
5955
|
eventVideoStarted(event) {
|
|
5956
5956
|
this.videoStarted = true;
|
|
@@ -5964,16 +5964,16 @@ const IdCapture = class {
|
|
|
5964
5964
|
}
|
|
5965
5965
|
}
|
|
5966
5966
|
async componentDidLoad() {
|
|
5967
|
-
this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Initialized);
|
|
5967
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Initialized);
|
|
5968
5968
|
this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Straight];
|
|
5969
5969
|
this.demoVideo.play();
|
|
5970
5970
|
await delay(IdCaptureValues.VideoLenght);
|
|
5971
|
-
this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
5971
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontHoldAnimation, FlowMoments.Finalized);
|
|
5972
5972
|
this.showDemo = false;
|
|
5973
5973
|
this.openCamera();
|
|
5974
5974
|
}
|
|
5975
5975
|
async openCamera() {
|
|
5976
|
-
this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Initialized);
|
|
5976
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Initialized);
|
|
5977
5977
|
var constraints = this.cameras.GetConstraints(state.cameraId, state.device);
|
|
5978
5978
|
setTimeout(() => {
|
|
5979
5979
|
navigator.mediaDevices
|
|
@@ -6005,7 +6005,7 @@ const IdCapture = class {
|
|
|
6005
6005
|
this.captureTaken = true;
|
|
6006
6006
|
let res = await Stream.getInstance().takePhoto();
|
|
6007
6007
|
this.photoIsReady(res);
|
|
6008
|
-
this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Finalized);
|
|
6008
|
+
await this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Finalized);
|
|
6009
6009
|
}
|
|
6010
6010
|
async verificationFinished() {
|
|
6011
6011
|
if (this.verified)
|
|
@@ -6428,7 +6428,7 @@ function v4(options, buf, offset) {
|
|
|
6428
6428
|
}
|
|
6429
6429
|
|
|
6430
6430
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6431
|
-
const version$1 = "3.5.
|
|
6431
|
+
const version$1 = "3.5.3";
|
|
6432
6432
|
const description = "Person Identification Component";
|
|
6433
6433
|
const main = "./dist/index.cjs.js";
|
|
6434
6434
|
const module = "./dist/index.js";
|
|
@@ -9862,13 +9862,13 @@ const SelfieCapture = class {
|
|
|
9862
9862
|
this.titleMesage = SelfieCaptureValues.FinalTitle;
|
|
9863
9863
|
}
|
|
9864
9864
|
else {
|
|
9865
|
-
this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Initialized);
|
|
9865
|
+
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Initialized);
|
|
9866
9866
|
this.titleMesage = SelfieCaptureValues.FacePoseMapping[event.detail];
|
|
9867
9867
|
this.demoEnded = false;
|
|
9868
9868
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[event.detail];
|
|
9869
9869
|
this.demoVideo.play();
|
|
9870
9870
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
9871
|
-
this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
9871
|
+
await this.baseComponent.logStep(FlowSteps.SelfieTiltAnimation, FlowMoments.Finalized);
|
|
9872
9872
|
this.demoEnded = true;
|
|
9873
9873
|
}
|
|
9874
9874
|
}
|
|
@@ -9887,16 +9887,16 @@ const SelfieCapture = class {
|
|
|
9887
9887
|
}
|
|
9888
9888
|
}
|
|
9889
9889
|
async componentDidLoad() {
|
|
9890
|
-
this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Initialized);
|
|
9890
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Initialized);
|
|
9891
9891
|
this.demoVideo.src = SelfieCaptureValues.FacePoseDemoMapping[FacePose.Main];
|
|
9892
9892
|
this.demoVideo.play();
|
|
9893
9893
|
await delay(SelfieCaptureValues.VideoLenght);
|
|
9894
|
-
this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9894
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9895
9895
|
this.demoEnded = true;
|
|
9896
9896
|
this.openCamera();
|
|
9897
9897
|
}
|
|
9898
9898
|
async openCamera() {
|
|
9899
|
-
this.baseComponent.logStep(FlowSteps.SelfieCapture, FlowMoments.Initialized);
|
|
9899
|
+
await this.baseComponent.logStep(FlowSteps.SelfieCapture, FlowMoments.Initialized);
|
|
9900
9900
|
const constraints = this.cameras.GetConstraints('', state.device, true);
|
|
9901
9901
|
setTimeout(() => {
|
|
9902
9902
|
navigator.mediaDevices
|
|
@@ -9927,7 +9927,7 @@ const SelfieCapture = class {
|
|
|
9927
9927
|
this.captureTaken = true;
|
|
9928
9928
|
let res = await Stream.getInstance().takePhoto();
|
|
9929
9929
|
this.photoIsReady(res);
|
|
9930
|
-
this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9930
|
+
await this.baseComponent.logStep(FlowSteps.SelfieHoldAnimation, FlowMoments.Finalized);
|
|
9931
9931
|
}
|
|
9932
9932
|
verificationFinished() {
|
|
9933
9933
|
if (this.verified)
|