@ekyc_qoobiss/qbs-ect-cmp 3.6.3 → 3.6.5
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 +43 -53
- 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/controls/camera/camera.js +0 -2
- 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/collection/helpers/Stream.js +6 -3
- package/dist/esm/agreement-check_18.entry.js +43 -53
- 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-1ef31932.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/dist/types/helpers/Stream.d.ts +1 -1
- package/package.json +1 -1
|
@@ -5232,7 +5232,7 @@ class Stream {
|
|
|
5232
5232
|
setVerificationFinished(fun) {
|
|
5233
5233
|
this.verificationFinished = fun;
|
|
5234
5234
|
}
|
|
5235
|
-
constructor(
|
|
5235
|
+
constructor() {
|
|
5236
5236
|
this.streamPaused = false;
|
|
5237
5237
|
this.recordedChunks = [];
|
|
5238
5238
|
this.videoSize = { width: 0, height: 0 };
|
|
@@ -5246,9 +5246,9 @@ class Stream {
|
|
|
5246
5246
|
this.idML5Detector = IDML5Detector.getInstance(this, state.device.isMobile);
|
|
5247
5247
|
this.faceML5Detector = FaceML5Detector.getInstance(this, state.device.isMobile);
|
|
5248
5248
|
}
|
|
5249
|
-
static getInstance(
|
|
5249
|
+
static getInstance() {
|
|
5250
5250
|
if (!Stream.instance) {
|
|
5251
|
-
Stream.instance = new Stream(
|
|
5251
|
+
Stream.instance = new Stream();
|
|
5252
5252
|
}
|
|
5253
5253
|
return Stream.instance;
|
|
5254
5254
|
}
|
|
@@ -5298,6 +5298,7 @@ class Stream {
|
|
|
5298
5298
|
async initStream(stream) {
|
|
5299
5299
|
this.startStream(stream);
|
|
5300
5300
|
this.recordStream();
|
|
5301
|
+
console.log('Stream initialized');
|
|
5301
5302
|
}
|
|
5302
5303
|
async resumeStream() {
|
|
5303
5304
|
this.streamPaused = false;
|
|
@@ -5307,6 +5308,8 @@ class Stream {
|
|
|
5307
5308
|
// if (this.faceDetection) await Detector.getInstance().startDetector();
|
|
5308
5309
|
}
|
|
5309
5310
|
recordStream() {
|
|
5311
|
+
if (this.mediaRecorder && this.mediaRecorder.state == 'recording')
|
|
5312
|
+
return;
|
|
5310
5313
|
var options = { mimeType: Stream.webmMimeType.mime, videoBitsPerSecond: 1500000 };
|
|
5311
5314
|
if (!MediaRecorder.isTypeSupported(options.mimeType)) {
|
|
5312
5315
|
if (state.device.mobileOS == MobileOS.iOS || state.device.browser == Browser.Safari)
|
|
@@ -5473,8 +5476,6 @@ const Camera = class {
|
|
|
5473
5476
|
return (h("div", { class: "camera" }, h("video", { id: "video", loop: true, autoplay: true, playsinline: true, muted: true, class: cameraVideoClass, ref: el => (this.cameraVideo = el) }), h("canvas", { id: "output", class: cameraCanvasClass, ref: el => (this.cameraCanvas = el) })));
|
|
5474
5477
|
}
|
|
5475
5478
|
startStream() {
|
|
5476
|
-
if (!Stream.instance)
|
|
5477
|
-
Stream.getInstance(this.modelPath);
|
|
5478
5479
|
const stream = Stream.getInstance();
|
|
5479
5480
|
stream.updateHtmlElements(this.cameraVideo, this.cameraCanvas, this.component);
|
|
5480
5481
|
if (this.captureMode == 'selfie') {
|
|
@@ -5560,7 +5561,6 @@ const CaptureError = class {
|
|
|
5560
5561
|
registerInstance(this, hostRef);
|
|
5561
5562
|
this.eventCaptureErrorDone = createEvent(this, "captureErrorDone", 7);
|
|
5562
5563
|
this.type = undefined;
|
|
5563
|
-
this.message = undefined;
|
|
5564
5564
|
this.buttonEnabled = undefined;
|
|
5565
5565
|
this.buttonText = undefined;
|
|
5566
5566
|
}
|
|
@@ -5592,7 +5592,7 @@ const CaptureError = class {
|
|
|
5592
5592
|
this.eventCaptureErrorDone.emit();
|
|
5593
5593
|
}
|
|
5594
5594
|
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)
|
|
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)), 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
5596
|
}
|
|
5597
5597
|
};
|
|
5598
5598
|
CaptureError.style = captureErrorCss;
|
|
@@ -5679,7 +5679,8 @@ class Cameras {
|
|
|
5679
5679
|
const devices = await navigator.mediaDevices.enumerateDevices();
|
|
5680
5680
|
const videoDevices = devices.filter(device => device.kind === 'videoinput');
|
|
5681
5681
|
for (const device of videoDevices) {
|
|
5682
|
-
const updatedConstraints = deviceInfo.isAppleDevice ? this.GetConstraintsIOs(deviceInfo) : this.GetConstraints(device.deviceId, deviceInfo);
|
|
5682
|
+
//const updatedConstraints = deviceInfo.isAppleDevice ? this.GetConstraintsIOs(deviceInfo) : this.GetConstraints(device.deviceId, deviceInfo);
|
|
5683
|
+
const updatedConstraints = this.GetConstraints(device.deviceId, deviceInfo);
|
|
5683
5684
|
const stream = await navigator.mediaDevices.getUserMedia(updatedConstraints);
|
|
5684
5685
|
stream.getVideoTracks().forEach(track => {
|
|
5685
5686
|
var _a, _b;
|
|
@@ -5767,29 +5768,27 @@ class Cameras {
|
|
|
5767
5768
|
constraints.video = mediaTrack;
|
|
5768
5769
|
return constraints;
|
|
5769
5770
|
}
|
|
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
|
-
}
|
|
5771
|
+
// public GetConstraintsIOs(device: DeviceState, portrait: boolean = false): MediaStreamConstraints | any {
|
|
5772
|
+
// let constraints: MediaStreamConstraints = {
|
|
5773
|
+
// audio: false,
|
|
5774
|
+
// };
|
|
5775
|
+
// let mediaTrack: MediaTrackConstraints = {};
|
|
5776
|
+
// if (device.isDesktop) {
|
|
5777
|
+
// mediaTrack.width = 1280;
|
|
5778
|
+
// } else {
|
|
5779
|
+
// if (portrait) {
|
|
5780
|
+
// mediaTrack.facingMode = 'user';
|
|
5781
|
+
// mediaTrack.width = 1280;
|
|
5782
|
+
// mediaTrack.height = 720;
|
|
5783
|
+
// } else {
|
|
5784
|
+
// mediaTrack.facingMode = 'environment';
|
|
5785
|
+
// mediaTrack.width = 1280;
|
|
5786
|
+
// mediaTrack.height = 720;
|
|
5787
|
+
// }
|
|
5788
|
+
// }
|
|
5789
|
+
// constraints.video = mediaTrack;
|
|
5790
|
+
// return constraints;
|
|
5791
|
+
// }
|
|
5793
5792
|
GetRecommendedCamera(cameras) {
|
|
5794
5793
|
if (cameras && cameras.length > 0) {
|
|
5795
5794
|
var recommDevice = cameras.find(c => c.recommended);
|
|
@@ -5879,7 +5878,7 @@ const IdBackCapture = class {
|
|
|
5879
5878
|
}
|
|
5880
5879
|
async openCamera() {
|
|
5881
5880
|
await this.baseComponent.logStep(FlowSteps.CiBackCapture, FlowMoments.Initialized);
|
|
5882
|
-
const constraints =
|
|
5881
|
+
const constraints = this.cameras.GetConstraints(state.cameraId, state.device);
|
|
5883
5882
|
setTimeout(() => {
|
|
5884
5883
|
navigator.mediaDevices
|
|
5885
5884
|
.getUserMedia(constraints)
|
|
@@ -5996,7 +5995,8 @@ const IdCapture = class {
|
|
|
5996
5995
|
}
|
|
5997
5996
|
async openCamera() {
|
|
5998
5997
|
await this.baseComponent.logStep(FlowSteps.CiFrontCapture, FlowMoments.Initialized);
|
|
5999
|
-
const constraints =
|
|
5998
|
+
//const constraints = store.device.isAppleDevice ? this.cameras.GetConstraintsIOs(store.device) : this.cameras.GetConstraints(store.cameraId, store.device);
|
|
5999
|
+
const constraints = this.cameras.GetConstraints(state.cameraId, state.device);
|
|
6000
6000
|
setTimeout(() => {
|
|
6001
6001
|
navigator.mediaDevices
|
|
6002
6002
|
.getUserMedia(constraints)
|
|
@@ -6119,7 +6119,7 @@ const IdDoubleSide = class {
|
|
|
6119
6119
|
}
|
|
6120
6120
|
async captureIdImage(event) {
|
|
6121
6121
|
let idPhoto = event.detail;
|
|
6122
|
-
if (idPhoto.
|
|
6122
|
+
if (idPhoto.size == 0) {
|
|
6123
6123
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6124
6124
|
this.triggerErrorFlow();
|
|
6125
6125
|
return;
|
|
@@ -6134,7 +6134,7 @@ const IdDoubleSide = class {
|
|
|
6134
6134
|
}
|
|
6135
6135
|
async captureIdBackImage(event) {
|
|
6136
6136
|
let idPhoto = event.detail;
|
|
6137
|
-
if (idPhoto.
|
|
6137
|
+
if (idPhoto.size == 0) {
|
|
6138
6138
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6139
6139
|
this.triggerErrorFlow();
|
|
6140
6140
|
return;
|
|
@@ -6149,7 +6149,7 @@ const IdDoubleSide = class {
|
|
|
6149
6149
|
}
|
|
6150
6150
|
async capturedIdRecording(event) {
|
|
6151
6151
|
let idRecording = event.detail;
|
|
6152
|
-
if (idRecording.
|
|
6152
|
+
if (idRecording.size == 0) {
|
|
6153
6153
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: idRecording }, getLogMessage());
|
|
6154
6154
|
this.triggerErrorFlow();
|
|
6155
6155
|
return;
|
|
@@ -6279,22 +6279,17 @@ const IdSingleSide = class {
|
|
|
6279
6279
|
this.idFlow.photoFile = null;
|
|
6280
6280
|
this.idFlow.recordingFile = null;
|
|
6281
6281
|
this.showTimeout = false;
|
|
6282
|
-
this.errorMessage = '';
|
|
6283
6282
|
}
|
|
6284
6283
|
howToDone() {
|
|
6285
6284
|
this.showHowTo = false;
|
|
6286
6285
|
}
|
|
6287
6286
|
timeElapsed() {
|
|
6288
6287
|
this.showTimeout = true;
|
|
6289
|
-
this.errorMessage = 'timeout';
|
|
6290
6288
|
}
|
|
6291
6289
|
async captureIdImage(event) {
|
|
6292
|
-
console.log('photoIdCapture');
|
|
6293
|
-
console.log(event);
|
|
6294
6290
|
let idPhoto = event.detail;
|
|
6295
|
-
if (idPhoto.
|
|
6291
|
+
if (idPhoto.size == 0) {
|
|
6296
6292
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty id photo', blobData: idPhoto }, getLogMessage());
|
|
6297
|
-
this.errorMessage = 'Empty id photo';
|
|
6298
6293
|
this.showTimeout = true;
|
|
6299
6294
|
return;
|
|
6300
6295
|
}
|
|
@@ -6311,12 +6306,9 @@ const IdSingleSide = class {
|
|
|
6311
6306
|
await this.endFlow();
|
|
6312
6307
|
}
|
|
6313
6308
|
async capturedIdRecording(event) {
|
|
6314
|
-
console.log('recordingIdCapture');
|
|
6315
|
-
console.log(event);
|
|
6316
6309
|
let idRecording = event.detail;
|
|
6317
|
-
if (idRecording.
|
|
6310
|
+
if (idRecording.size == 0) {
|
|
6318
6311
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty ID recording', blobData: idRecording }, getLogMessage());
|
|
6319
|
-
this.errorMessage = 'Empty id recording';
|
|
6320
6312
|
this.showTimeout = true;
|
|
6321
6313
|
return;
|
|
6322
6314
|
}
|
|
@@ -6346,7 +6338,6 @@ const IdSingleSide = class {
|
|
|
6346
6338
|
this.idFlow.photoFile = null;
|
|
6347
6339
|
this.idFlow.recordingFile = null;
|
|
6348
6340
|
this.switchCamera();
|
|
6349
|
-
this.errorMessage = 'Upload photo not successful';
|
|
6350
6341
|
this.showTimeout = true;
|
|
6351
6342
|
}
|
|
6352
6343
|
}
|
|
@@ -6361,7 +6352,6 @@ const IdSingleSide = class {
|
|
|
6361
6352
|
else {
|
|
6362
6353
|
this.idFlow.photoFile = null;
|
|
6363
6354
|
this.idFlow.recordingFile = null;
|
|
6364
|
-
this.errorMessage = 'Upload recording not successful';
|
|
6365
6355
|
this.showTimeout = true;
|
|
6366
6356
|
}
|
|
6367
6357
|
}
|
|
@@ -6391,7 +6381,7 @@ const IdSingleSide = class {
|
|
|
6391
6381
|
}
|
|
6392
6382
|
}
|
|
6393
6383
|
render() {
|
|
6394
|
-
let error = h("capture-error", { type: "ID"
|
|
6384
|
+
let error = h("capture-error", { type: "ID" });
|
|
6395
6385
|
let capture = h("id-capture", { id: "idFront" });
|
|
6396
6386
|
let howToInfo = h("how-to-info", { idSide: "front" });
|
|
6397
6387
|
return this.showHowTo ? howToInfo : this.showTimeout ? error : capture;
|
|
@@ -6465,7 +6455,7 @@ function v4(options, buf, offset) {
|
|
|
6465
6455
|
}
|
|
6466
6456
|
|
|
6467
6457
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6468
|
-
const version$1 = "3.6.
|
|
6458
|
+
const version$1 = "3.6.5";
|
|
6469
6459
|
const description = "Person Identification Component";
|
|
6470
6460
|
const main = "./dist/index.cjs.js";
|
|
6471
6461
|
const module = "./dist/index.js";
|
|
@@ -9940,7 +9930,7 @@ const SelfieCapture = class {
|
|
|
9940
9930
|
}
|
|
9941
9931
|
async openCamera() {
|
|
9942
9932
|
await this.baseComponent.logStep(FlowSteps.SelfieCapture, FlowMoments.Initialized);
|
|
9943
|
-
const constraints =
|
|
9933
|
+
const constraints = this.cameras.GetConstraints('', state.device, true);
|
|
9944
9934
|
setTimeout(() => {
|
|
9945
9935
|
navigator.mediaDevices
|
|
9946
9936
|
.getUserMedia(constraints)
|
|
@@ -10143,7 +10133,7 @@ const UserLiveness = class {
|
|
|
10143
10133
|
}
|
|
10144
10134
|
async captureSelfieImage(event) {
|
|
10145
10135
|
let selfiePhoto = event.detail;
|
|
10146
|
-
if (selfiePhoto.
|
|
10136
|
+
if (selfiePhoto.size == 0) {
|
|
10147
10137
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty selfie', blobData: selfiePhoto }, getLogMessage());
|
|
10148
10138
|
this.triggerErrorFlow();
|
|
10149
10139
|
return;
|
|
@@ -10158,7 +10148,7 @@ const UserLiveness = class {
|
|
|
10158
10148
|
}
|
|
10159
10149
|
async capturedSelfieRecording(event) {
|
|
10160
10150
|
let selfieRecording = event.detail;
|
|
10161
|
-
if (selfieRecording.
|
|
10151
|
+
if (selfieRecording.size == 0) {
|
|
10162
10152
|
await this.baseComponent.apiCall.AddLog({ message: 'Empty recording', blobData: selfieRecording }, getLogMessage());
|
|
10163
10153
|
this.triggerErrorFlow();
|
|
10164
10154
|
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
|
});
|