@ekyc_qoobiss/qbs-ect-cmp 3.6.3 → 3.6.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/dist/cjs/agreement-check_18.cjs.entry.js +37 -48
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/qbs-ect-cmp.cjs.js +1 -1
- package/dist/collection/components/common/capture-error/capture-error.js +1 -19
- package/dist/collection/components/common/id-back-capture/id-back-capture.js +1 -1
- package/dist/collection/components/common/id-capture/id-capture.js +2 -1
- package/dist/collection/components/common/selfie-capture/selfie-capture.js +1 -1
- package/dist/collection/components/flow/id-double-side/id-double-side.js +3 -3
- package/dist/collection/components/flow/id-single-side/id-single-side.js +3 -13
- package/dist/collection/components/flow/user-liveness/user-liveness.js +2 -2
- package/dist/collection/helpers/Cameras.js +23 -24
- package/dist/esm/agreement-check_18.entry.js +37 -48
- package/dist/esm/loader.js +1 -1
- package/dist/esm/qbs-ect-cmp.js +1 -1
- package/dist/qbs-ect-cmp/{p-11c604f3.entry.js → p-10b02e29.entry.js} +24 -24
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/components/common/capture-error/capture-error.d.ts +0 -1
- package/dist/types/components/flow/id-single-side/id-single-side.d.ts +0 -1
- package/dist/types/components.d.ts +0 -2
- package/dist/types/helpers/Cameras.d.ts +0 -1
- package/package.json +1 -1
|
@@ -5560,7 +5560,6 @@ const CaptureError = class {
|
|
|
5560
5560
|
registerInstance(this, hostRef);
|
|
5561
5561
|
this.eventCaptureErrorDone = createEvent(this, "captureErrorDone", 7);
|
|
5562
5562
|
this.type = undefined;
|
|
5563
|
-
this.message = undefined;
|
|
5564
5563
|
this.buttonEnabled = undefined;
|
|
5565
5564
|
this.buttonText = undefined;
|
|
5566
5565
|
}
|
|
@@ -5592,7 +5591,7 @@ const CaptureError = class {
|
|
|
5592
5591
|
this.eventCaptureErrorDone.emit();
|
|
5593
5592
|
}
|
|
5594
5593
|
render() {
|
|
5595
|
-
return (h("div", { class: "container" }, h("div", { class: "row" }, h("h1", { class: "color-red" }, this.titleR1), h("h1", { class: "color-red" }, this.titleR2), h("div", null, h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR1), h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR2)
|
|
5594
|
+
return (h("div", { class: "container" }, h("div", { class: "row" }, h("h1", { class: "color-red" }, this.titleR1), h("h1", { class: "color-red" }, this.titleR2), h("div", null, h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR1), h("p", { class: "color-red font-weight-bold font-size-25 mt-5" }, this.descriptionR2)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", type: "button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, IdCaptureValues.FooterText))))));
|
|
5596
5595
|
}
|
|
5597
5596
|
};
|
|
5598
5597
|
CaptureError.style = captureErrorCss;
|
|
@@ -5679,7 +5678,8 @@ class Cameras {
|
|
|
5679
5678
|
const devices = await navigator.mediaDevices.enumerateDevices();
|
|
5680
5679
|
const videoDevices = devices.filter(device => device.kind === 'videoinput');
|
|
5681
5680
|
for (const device of videoDevices) {
|
|
5682
|
-
const updatedConstraints = deviceInfo.isAppleDevice ? this.GetConstraintsIOs(deviceInfo) : this.GetConstraints(device.deviceId, deviceInfo);
|
|
5681
|
+
//const updatedConstraints = deviceInfo.isAppleDevice ? this.GetConstraintsIOs(deviceInfo) : this.GetConstraints(device.deviceId, deviceInfo);
|
|
5682
|
+
const updatedConstraints = this.GetConstraints(device.deviceId, deviceInfo);
|
|
5683
5683
|
const stream = await navigator.mediaDevices.getUserMedia(updatedConstraints);
|
|
5684
5684
|
stream.getVideoTracks().forEach(track => {
|
|
5685
5685
|
var _a, _b;
|
|
@@ -5767,29 +5767,27 @@ class Cameras {
|
|
|
5767
5767
|
constraints.video = mediaTrack;
|
|
5768
5768
|
return constraints;
|
|
5769
5769
|
}
|
|
5770
|
-
GetConstraintsIOs(device, portrait = false) {
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
5786
|
-
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
return constraints;
|
|
5792
|
-
}
|
|
5770
|
+
// public GetConstraintsIOs(device: DeviceState, portrait: boolean = false): MediaStreamConstraints | any {
|
|
5771
|
+
// let constraints: MediaStreamConstraints = {
|
|
5772
|
+
// audio: false,
|
|
5773
|
+
// };
|
|
5774
|
+
// let mediaTrack: MediaTrackConstraints = {};
|
|
5775
|
+
// if (device.isDesktop) {
|
|
5776
|
+
// mediaTrack.width = 1280;
|
|
5777
|
+
// } else {
|
|
5778
|
+
// if (portrait) {
|
|
5779
|
+
// mediaTrack.facingMode = 'user';
|
|
5780
|
+
// mediaTrack.width = 1280;
|
|
5781
|
+
// mediaTrack.height = 720;
|
|
5782
|
+
// } else {
|
|
5783
|
+
// mediaTrack.facingMode = 'environment';
|
|
5784
|
+
// mediaTrack.width = 1280;
|
|
5785
|
+
// mediaTrack.height = 720;
|
|
5786
|
+
// }
|
|
5787
|
+
// }
|
|
5788
|
+
// constraints.video = mediaTrack;
|
|
5789
|
+
// return constraints;
|
|
5790
|
+
// }
|
|
5793
5791
|
GetRecommendedCamera(cameras) {
|
|
5794
5792
|
if (cameras && cameras.length > 0) {
|
|
5795
5793
|
var recommDevice = cameras.find(c => c.recommended);
|
|
@@ -5879,7 +5877,7 @@ const IdBackCapture = class {
|
|
|
5879
5877
|
}
|
|
5880
5878
|
async openCamera() {
|
|
5881
5879
|
await this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Initialized);
|
|
5882
|
-
const constraints =
|
|
5880
|
+
const constraints = this.cameras.GetConstraints(state.cameraId, state.device);
|
|
5883
5881
|
setTimeout(() => {
|
|
5884
5882
|
navigator.mediaDevices
|
|
5885
5883
|
.getUserMedia(constraints)
|
|
@@ -5996,7 +5994,8 @@ const IdCapture = class {
|
|
|
5996
5994
|
}
|
|
5997
5995
|
async openCamera() {
|
|
5998
5996
|
await this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Initialized);
|
|
5999
|
-
const constraints =
|
|
5997
|
+
//const constraints = store.device.isAppleDevice ? this.cameras.GetConstraintsIOs(store.device) : this.cameras.GetConstraints(store.cameraId, store.device);
|
|
5998
|
+
const constraints = this.cameras.GetConstraints(state.cameraId, state.device);
|
|
6000
5999
|
setTimeout(() => {
|
|
6001
6000
|
navigator.mediaDevices
|
|
6002
6001
|
.getUserMedia(constraints)
|
|
@@ -6119,7 +6118,7 @@ const IdDoubleSide = class {
|
|
|
6119
6118
|
}
|
|
6120
6119
|
async captureIdImage(event) {
|
|
6121
6120
|
let idPhoto = event.detail;
|
|
6122
|
-
if (idPhoto.
|
|
6121
|
+
if (idPhoto.size == 0) {
|
|
6123
6122
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6124
6123
|
this.triggerErrorFlow();
|
|
6125
6124
|
return;
|
|
@@ -6134,7 +6133,7 @@ const IdDoubleSide = class {
|
|
|
6134
6133
|
}
|
|
6135
6134
|
async captureIdBackImage(event) {
|
|
6136
6135
|
let idPhoto = event.detail;
|
|
6137
|
-
if (idPhoto.
|
|
6136
|
+
if (idPhoto.size == 0) {
|
|
6138
6137
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6139
6138
|
this.triggerErrorFlow();
|
|
6140
6139
|
return;
|
|
@@ -6149,7 +6148,7 @@ const IdDoubleSide = class {
|
|
|
6149
6148
|
}
|
|
6150
6149
|
async capturedIdRecording(event) {
|
|
6151
6150
|
let idRecording = event.detail;
|
|
6152
|
-
if (idRecording.
|
|
6151
|
+
if (idRecording.size == 0) {
|
|
6153
6152
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
|
|
6154
6153
|
this.triggerErrorFlow();
|
|
6155
6154
|
return;
|
|
@@ -6279,22 +6278,17 @@ const IdSingleSide = class {
|
|
|
6279
6278
|
this.idFlow.photoFile = null;
|
|
6280
6279
|
this.idFlow.recordingFile = null;
|
|
6281
6280
|
this.showTimeout = false;
|
|
6282
|
-
this.errorMessage = '';
|
|
6283
6281
|
}
|
|
6284
6282
|
howToDone() {
|
|
6285
6283
|
this.showHowTo = false;
|
|
6286
6284
|
}
|
|
6287
6285
|
timeElapsed() {
|
|
6288
6286
|
this.showTimeout = true;
|
|
6289
|
-
this.errorMessage = 'timeout';
|
|
6290
6287
|
}
|
|
6291
6288
|
async captureIdImage(event) {
|
|
6292
|
-
console.log('photoIdCapture');
|
|
6293
|
-
console.log(event);
|
|
6294
6289
|
let idPhoto = event.detail;
|
|
6295
|
-
if (idPhoto.
|
|
6290
|
+
if (idPhoto.size == 0) {
|
|
6296
6291
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6297
|
-
this.errorMessage = 'Empty id photo';
|
|
6298
6292
|
this.showTimeout = true;
|
|
6299
6293
|
return;
|
|
6300
6294
|
}
|
|
@@ -6311,12 +6305,9 @@ const IdSingleSide = class {
|
|
|
6311
6305
|
await this.endFlow();
|
|
6312
6306
|
}
|
|
6313
6307
|
async capturedIdRecording(event) {
|
|
6314
|
-
console.log('recordingIdCapture');
|
|
6315
|
-
console.log(event);
|
|
6316
6308
|
let idRecording = event.detail;
|
|
6317
|
-
if (idRecording.
|
|
6309
|
+
if (idRecording.size == 0) {
|
|
6318
6310
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty ID recording', blobData: idRecording }, getLogMessage());
|
|
6319
|
-
this.errorMessage = 'Empty id recording';
|
|
6320
6311
|
this.showTimeout = true;
|
|
6321
6312
|
return;
|
|
6322
6313
|
}
|
|
@@ -6346,7 +6337,6 @@ const IdSingleSide = class {
|
|
|
6346
6337
|
this.idFlow.photoFile = null;
|
|
6347
6338
|
this.idFlow.recordingFile = null;
|
|
6348
6339
|
this.switchCamera();
|
|
6349
|
-
this.errorMessage = 'Upload photo not successful';
|
|
6350
6340
|
this.showTimeout = true;
|
|
6351
6341
|
}
|
|
6352
6342
|
}
|
|
@@ -6361,7 +6351,6 @@ const IdSingleSide = class {
|
|
|
6361
6351
|
else {
|
|
6362
6352
|
this.idFlow.photoFile = null;
|
|
6363
6353
|
this.idFlow.recordingFile = null;
|
|
6364
|
-
this.errorMessage = 'Upload recording not successful';
|
|
6365
6354
|
this.showTimeout = true;
|
|
6366
6355
|
}
|
|
6367
6356
|
}
|
|
@@ -6391,7 +6380,7 @@ const IdSingleSide = class {
|
|
|
6391
6380
|
}
|
|
6392
6381
|
}
|
|
6393
6382
|
render() {
|
|
6394
|
-
let error = h("capture-error", { type: "ID"
|
|
6383
|
+
let error = h("capture-error", { type: "ID" });
|
|
6395
6384
|
let capture = h("id-capture", { id: "idFront" });
|
|
6396
6385
|
let howToInfo = h("how-to-info", { idSide: "front" });
|
|
6397
6386
|
return this.showHowTo ? howToInfo : this.showTimeout ? error : capture;
|
|
@@ -6465,7 +6454,7 @@ function v4(options, buf, offset) {
|
|
|
6465
6454
|
}
|
|
6466
6455
|
|
|
6467
6456
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6468
|
-
const version$1 = "3.6.
|
|
6457
|
+
const version$1 = "3.6.4";
|
|
6469
6458
|
const description = "Person Identification Component";
|
|
6470
6459
|
const main = "./dist/index.cjs.js";
|
|
6471
6460
|
const module = "./dist/index.js";
|
|
@@ -9940,7 +9929,7 @@ const SelfieCapture = class {
|
|
|
9940
9929
|
}
|
|
9941
9930
|
async openCamera() {
|
|
9942
9931
|
await this.baseComponent.logStep(FlowSteps.SelfieCapture, FlowMoments.Initialized);
|
|
9943
|
-
const constraints =
|
|
9932
|
+
const constraints = this.cameras.GetConstraints('', state.device, true);
|
|
9944
9933
|
setTimeout(() => {
|
|
9945
9934
|
navigator.mediaDevices
|
|
9946
9935
|
.getUserMedia(constraints)
|
|
@@ -10143,7 +10132,7 @@ const UserLiveness = class {
|
|
|
10143
10132
|
}
|
|
10144
10133
|
async captureSelfieImage(event) {
|
|
10145
10134
|
let selfiePhoto = event.detail;
|
|
10146
|
-
if (selfiePhoto.
|
|
10135
|
+
if (selfiePhoto.size == 0) {
|
|
10147
10136
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty selfie', blobData: selfiePhoto }, getLogMessage());
|
|
10148
10137
|
this.triggerErrorFlow();
|
|
10149
10138
|
return;
|
|
@@ -10158,7 +10147,7 @@ const UserLiveness = class {
|
|
|
10158
10147
|
}
|
|
10159
10148
|
async capturedSelfieRecording(event) {
|
|
10160
10149
|
let selfieRecording = event.detail;
|
|
10161
|
-
if (selfieRecording.
|
|
10150
|
+
if (selfieRecording.size == 0) {
|
|
10162
10151
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: selfieRecording }, getLogMessage());
|
|
10163
10152
|
this.triggerErrorFlow();
|
|
10164
10153
|
return;
|
package/dist/esm/loader.js
CHANGED
|
@@ -11,7 +11,7 @@ const patchEsm = () => {
|
|
|
11
11
|
const defineCustomElements = (win, options) => {
|
|
12
12
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
13
13
|
return patchEsm().then(() => {
|
|
14
|
-
return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showHowTo":[32],"selfieFlow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"capture-error",{"type":[1],"
|
|
14
|
+
return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showHowTo":[32],"selfieFlow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
|
|
15
15
|
});
|
|
16
16
|
};
|
|
17
17
|
|
package/dist/esm/qbs-ect-cmp.js
CHANGED
|
@@ -14,5 +14,5 @@ const patchBrowser = () => {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
patchBrowser().then(options => {
|
|
17
|
-
return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showHowTo":[32],"selfieFlow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"capture-error",{"type":[1],"
|
|
17
|
+
return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["agreement-check_18",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"id-double-side",{"showTimeout":[32],"showInvalid":[32],"showHowTo":[32],"front":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"id-single-side",{"showTimeout":[32],"showHowTo":[32],"idFlow":[32]},[[0,"captureErrorDone","captureErrorDone"],[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"photoIdCapture","captureIdImage"],[0,"verificationFinished","verificationFinished"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"showHowTo":[32],"selfieFlow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32]}],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"changeTitle","eventChangeTitle"],[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
|
|
18
18
|
});
|