@ekyc_qoobiss/qbs-ect-cmp 3.6.14 → 3.6.15

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.
Files changed (50) hide show
  1. package/dist/cjs/{Stream-097bd1e9.js → agreement-check_19.cjs.entry.js} +5193 -91
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/qbs-ect-cmp.cjs.js +1 -1
  4. package/dist/collection/collection-manifest.json +1 -2
  5. package/dist/collection/components/common/capture-error/capture-error.js +6 -1
  6. package/dist/collection/components/common/id-back-capture/id-back-capture.js +2 -4
  7. package/dist/collection/components/common/id-capture/id-capture.js +2 -4
  8. package/dist/collection/components/common/id-tilt/id-tilt.js +3 -5
  9. package/dist/collection/components/common/selfie-capture/selfie-capture.js +3 -27
  10. package/dist/collection/components/common/selfie-tilt/selfie-tilt.css +7 -0
  11. package/dist/collection/components/common/selfie-tilt/selfie-tilt.js +212 -0
  12. package/dist/collection/components/flow/process-id/process-id.js +28 -28
  13. package/dist/collection/components/flow/user-liveness/user-liveness.js +88 -40
  14. package/dist/collection/helpers/Stream.js +1 -1
  15. package/dist/collection/libs/FaceML5Detector/FaceML5Detector.js +18 -15
  16. package/dist/collection/models/CaptureFlow.js +17 -9
  17. package/dist/collection/models/FlowSteps.js +3 -6
  18. package/dist/esm/{Stream-d1fb2210.js → agreement-check_19.entry.js} +5128 -24
  19. package/dist/esm/{index-5d6f9123.js → index-9d69e511.js} +1 -1
  20. package/dist/esm/loader-dots.entry.js +1 -1
  21. package/dist/esm/loader.js +3 -3
  22. package/dist/esm/qbs-ect-cmp.js +3 -3
  23. package/dist/qbs-ect-cmp/{p-aacd7024.js → p-06e42b28.js} +1 -1
  24. package/dist/qbs-ect-cmp/{p-7c33dd41.entry.js → p-4c8e922b.entry.js} +1 -1
  25. package/dist/qbs-ect-cmp/{p-73a2e58b.js → p-a85dd6fc.entry.js} +26 -26
  26. package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
  27. package/dist/types/components/common/capture-error/capture-error.d.ts +3 -1
  28. package/dist/types/components/common/selfie-capture/selfie-capture.d.ts +0 -1
  29. package/dist/types/components/common/selfie-tilt/selfie-tilt.d.ts +30 -0
  30. package/dist/types/components/flow/user-liveness/user-liveness.d.ts +4 -4
  31. package/dist/types/components.d.ts +20 -37
  32. package/dist/types/libs/FaceML5Detector/FaceML5Detector.d.ts +3 -2
  33. package/dist/types/models/CaptureFlow.d.ts +8 -1
  34. package/dist/types/models/FlowSteps.d.ts +3 -6
  35. package/package.json +1 -1
  36. package/dist/cjs/agreement-check_18.cjs.entry.js +0 -4971
  37. package/dist/cjs/id-double-side.cjs.entry.js +0 -208
  38. package/dist/cjs/id-single-side.cjs.entry.js +0 -147
  39. package/dist/collection/components/flow/id-double-side/id-double-side.css +0 -0
  40. package/dist/collection/components/flow/id-double-side/id-double-side.js +0 -285
  41. package/dist/collection/components/flow/id-single-side/id-single-side.css +0 -0
  42. package/dist/collection/components/flow/id-single-side/id-single-side.js +0 -216
  43. package/dist/esm/agreement-check_18.entry.js +0 -4950
  44. package/dist/esm/id-double-side.entry.js +0 -204
  45. package/dist/esm/id-single-side.entry.js +0 -143
  46. package/dist/qbs-ect-cmp/p-04e51eac.entry.js +0 -1
  47. package/dist/qbs-ect-cmp/p-deea462b.entry.js +0 -1
  48. package/dist/qbs-ect-cmp/p-f84883f8.entry.js +0 -1
  49. package/dist/types/components/flow/id-double-side/id-double-side.d.ts +0 -29
  50. package/dist/types/components/flow/id-single-side/id-single-side.d.ts +0 -24
@@ -1 +1 @@
1
- import{p as e,b as t}from"./p-aacd7024.js";export{s as setNonce}from"./p-aacd7024.js";(()=>{const t=import.meta.url,o={};return""!==t&&(o.resourcesUrl=new URL(".",t).href),e(o)})().then((e=>t([["p-deea462b",[[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,"process-id",{captureStep:[32],showTimeout:[32],showInvalid:[32],flow:[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[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-tilt",{videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[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-back-capture",{videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[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"]}]]],["p-04e51eac",[[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"]]]]],["p-f84883f8",[[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"]]]]],["p-7c33dd41",[[1,"loader-dots"]]]],e)));
1
+ import{p as e,b as t}from"./p-06e42b28.js";export{s as setNonce}from"./p-06e42b28.js";(()=>{const t=import.meta.url,i={};return""!==t&&(i.resourcesUrl=new URL(".",t).href),e(i)})().then((e=>t([["p-4c8e922b",[[1,"loader-dots"]]],["p-a85dd6fc",[[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,"process-id",{captureStep:[32],showTimeout:[32],showInvalid:[32],flow:[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{showError:[32],captureStep:[32],flow:[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,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{videoStarted:[32],cameraSize:[32],captureTaken:[32],verified:[32],titleMesage:[32],showDemo:[32],demoVideo:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{videoStarted:[32],captureTaken:[32],verified:[32],titleMesage:[32],demoEnded:[32],demoVideo:[32],uploadingLink:[32],captureHeight:[32],captureWidth:[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{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,"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"]}]]]],e)));
@@ -1,5 +1,6 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
2
  export declare class CaptureError {
3
+ private baseComponent;
3
4
  type: string;
4
5
  private buttonEnabled;
5
6
  private buttonText;
@@ -8,8 +9,9 @@ export declare class CaptureError {
8
9
  private descriptionR1;
9
10
  private descriptionR2;
10
11
  eventCaptureErrorDone: EventEmitter;
12
+ constructor();
11
13
  componentWillLoad(): Promise<void>;
12
14
  componentDidLoad(): Promise<void>;
13
- buttonClick(): void;
15
+ buttonClick(): Promise<void>;
14
16
  render(): any;
15
17
  }
@@ -15,7 +15,6 @@ export declare class SelfieCapture {
15
15
  apiErrorEvent: EventEmitter<any>;
16
16
  private cameras;
17
17
  constructor();
18
- eventChangeTitle(event: any): Promise<void>;
19
18
  eventVideoStarted(event: any): void;
20
19
  componentWillLoad(): void;
21
20
  componentDidLoad(): Promise<void>;
@@ -0,0 +1,30 @@
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ export declare class SelfieTilt {
3
+ private baseComponent;
4
+ component: HTMLElement;
5
+ private videoStarted;
6
+ private captureTaken;
7
+ private verified;
8
+ private titleMesage;
9
+ private demoEnded;
10
+ private demoVideo;
11
+ private uploadingLink;
12
+ private captureHeight;
13
+ private captureWidth;
14
+ eventPhotoCapture: EventEmitter;
15
+ apiErrorEvent: EventEmitter<any>;
16
+ private cameras;
17
+ private mainStream;
18
+ constructor();
19
+ eventChangeTitle(event: any): Promise<void>;
20
+ eventVideoStarted(event: any): void;
21
+ componentWillLoad(): void;
22
+ componentDidLoad(): Promise<void>;
23
+ openCamera(): Promise<void>;
24
+ closeCamera(): void;
25
+ disconnectedCallback(): void;
26
+ takePhoto(): Promise<void>;
27
+ verificationFinished(): void;
28
+ photoIsReady: (photos: any) => void;
29
+ render(): any;
30
+ }
@@ -1,8 +1,8 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
2
  export declare class UserLiveness {
3
3
  showError: boolean;
4
- showHowTo: boolean;
5
- private selfieFlow;
4
+ private captureStep;
5
+ private flow;
6
6
  private baseComponent;
7
7
  private recordingResultCount;
8
8
  apiErrorEvent: EventEmitter<any>;
@@ -16,8 +16,8 @@ export declare class UserLiveness {
16
16
  capturedSelfieRecording(event: any): Promise<void>;
17
17
  verificationFinished(_event: any): Promise<void>;
18
18
  disconnectedCallback(): Promise<void>;
19
- uploadPhoto(): Promise<void>;
20
- uploadRecording(): Promise<void>;
19
+ uploadPhoto(photoFile: File): Promise<void>;
20
+ uploadRecording(uploadRec: File): Promise<boolean>;
21
21
  private triggerErrorFlow;
22
22
  endFlow(): Promise<void>;
23
23
  render(): any;
@@ -34,10 +34,6 @@ export namespace Components {
34
34
  }
35
35
  interface IdCapture {
36
36
  }
37
- interface IdDoubleSide {
38
- }
39
- interface IdSingleSide {
40
- }
41
37
  interface IdTilt {
42
38
  }
43
39
  interface IdentificationComponent {
@@ -58,6 +54,8 @@ export namespace Components {
58
54
  }
59
55
  interface SelfieCapture {
60
56
  }
57
+ interface SelfieTilt {
58
+ }
61
59
  interface SmsCodeValidation {
62
60
  }
63
61
  interface UserLiveness {
@@ -99,14 +97,6 @@ export interface IdCaptureCustomEvent<T> extends CustomEvent<T> {
99
97
  detail: T;
100
98
  target: HTMLIdCaptureElement;
101
99
  }
102
- export interface IdDoubleSideCustomEvent<T> extends CustomEvent<T> {
103
- detail: T;
104
- target: HTMLIdDoubleSideElement;
105
- }
106
- export interface IdSingleSideCustomEvent<T> extends CustomEvent<T> {
107
- detail: T;
108
- target: HTMLIdSingleSideElement;
109
- }
110
100
  export interface IdTiltCustomEvent<T> extends CustomEvent<T> {
111
101
  detail: T;
112
102
  target: HTMLIdTiltElement;
@@ -127,6 +117,10 @@ export interface SelfieCaptureCustomEvent<T> extends CustomEvent<T> {
127
117
  detail: T;
128
118
  target: HTMLSelfieCaptureElement;
129
119
  }
120
+ export interface SelfieTiltCustomEvent<T> extends CustomEvent<T> {
121
+ detail: T;
122
+ target: HTMLSelfieTiltElement;
123
+ }
130
124
  export interface SmsCodeValidationCustomEvent<T> extends CustomEvent<T> {
131
125
  detail: T;
132
126
  target: HTMLSmsCodeValidationElement;
@@ -196,18 +190,6 @@ declare global {
196
190
  prototype: HTMLIdCaptureElement;
197
191
  new (): HTMLIdCaptureElement;
198
192
  };
199
- interface HTMLIdDoubleSideElement extends Components.IdDoubleSide, HTMLStencilElement {
200
- }
201
- var HTMLIdDoubleSideElement: {
202
- prototype: HTMLIdDoubleSideElement;
203
- new (): HTMLIdDoubleSideElement;
204
- };
205
- interface HTMLIdSingleSideElement extends Components.IdSingleSide, HTMLStencilElement {
206
- }
207
- var HTMLIdSingleSideElement: {
208
- prototype: HTMLIdSingleSideElement;
209
- new (): HTMLIdSingleSideElement;
210
- };
211
193
  interface HTMLIdTiltElement extends Components.IdTilt, HTMLStencilElement {
212
194
  }
213
195
  var HTMLIdTiltElement: {
@@ -250,6 +232,12 @@ declare global {
250
232
  prototype: HTMLSelfieCaptureElement;
251
233
  new (): HTMLSelfieCaptureElement;
252
234
  };
235
+ interface HTMLSelfieTiltElement extends Components.SelfieTilt, HTMLStencilElement {
236
+ }
237
+ var HTMLSelfieTiltElement: {
238
+ prototype: HTMLSelfieTiltElement;
239
+ new (): HTMLSelfieTiltElement;
240
+ };
253
241
  interface HTMLSmsCodeValidationElement extends Components.SmsCodeValidation, HTMLStencilElement {
254
242
  }
255
243
  var HTMLSmsCodeValidationElement: {
@@ -273,8 +261,6 @@ declare global {
273
261
  "how-to-info": HTMLHowToInfoElement;
274
262
  "id-back-capture": HTMLIdBackCaptureElement;
275
263
  "id-capture": HTMLIdCaptureElement;
276
- "id-double-side": HTMLIdDoubleSideElement;
277
- "id-single-side": HTMLIdSingleSideElement;
278
264
  "id-tilt": HTMLIdTiltElement;
279
265
  "identification-component": HTMLIdentificationComponentElement;
280
266
  "landing-validation": HTMLLandingValidationElement;
@@ -282,6 +268,7 @@ declare global {
282
268
  "mobile-redirect": HTMLMobileRedirectElement;
283
269
  "process-id": HTMLProcessIdElement;
284
270
  "selfie-capture": HTMLSelfieCaptureElement;
271
+ "selfie-tilt": HTMLSelfieTiltElement;
285
272
  "sms-code-validation": HTMLSmsCodeValidationElement;
286
273
  "user-liveness": HTMLUserLivenessElement;
287
274
  }
@@ -336,15 +323,9 @@ declare namespace LocalJSX {
336
323
  "onApiError"?: (event: IdCaptureCustomEvent<any>) => void;
337
324
  "onPhotoIdCapture"?: (event: IdCaptureCustomEvent<any>) => void;
338
325
  }
339
- interface IdDoubleSide {
340
- "onApiError"?: (event: IdDoubleSideCustomEvent<any>) => void;
341
- }
342
- interface IdSingleSide {
343
- "onApiError"?: (event: IdSingleSideCustomEvent<any>) => void;
344
- }
345
326
  interface IdTilt {
346
327
  "onApiError"?: (event: IdTiltCustomEvent<any>) => void;
347
- "onPhotoIdCapture"?: (event: IdTiltCustomEvent<any>) => void;
328
+ "onPhotoTiltCapture"?: (event: IdTiltCustomEvent<any>) => void;
348
329
  }
349
330
  interface IdentificationComponent {
350
331
  "api_url"?: string;
@@ -369,6 +350,10 @@ declare namespace LocalJSX {
369
350
  "onApiError"?: (event: SelfieCaptureCustomEvent<any>) => void;
370
351
  "onPhotoSelfieCapture"?: (event: SelfieCaptureCustomEvent<any>) => void;
371
352
  }
353
+ interface SelfieTilt {
354
+ "onApiError"?: (event: SelfieTiltCustomEvent<any>) => void;
355
+ "onPhotoSelfieTiltCapture"?: (event: SelfieTiltCustomEvent<any>) => void;
356
+ }
372
357
  interface SmsCodeValidation {
373
358
  "onApiError"?: (event: SmsCodeValidationCustomEvent<any>) => void;
374
359
  }
@@ -386,8 +371,6 @@ declare namespace LocalJSX {
386
371
  "how-to-info": HowToInfo;
387
372
  "id-back-capture": IdBackCapture;
388
373
  "id-capture": IdCapture;
389
- "id-double-side": IdDoubleSide;
390
- "id-single-side": IdSingleSide;
391
374
  "id-tilt": IdTilt;
392
375
  "identification-component": IdentificationComponent;
393
376
  "landing-validation": LandingValidation;
@@ -395,6 +378,7 @@ declare namespace LocalJSX {
395
378
  "mobile-redirect": MobileRedirect;
396
379
  "process-id": ProcessId;
397
380
  "selfie-capture": SelfieCapture;
381
+ "selfie-tilt": SelfieTilt;
398
382
  "sms-code-validation": SmsCodeValidation;
399
383
  "user-liveness": UserLiveness;
400
384
  }
@@ -413,8 +397,6 @@ declare module "@stencil/core" {
413
397
  "how-to-info": LocalJSX.HowToInfo & JSXBase.HTMLAttributes<HTMLHowToInfoElement>;
414
398
  "id-back-capture": LocalJSX.IdBackCapture & JSXBase.HTMLAttributes<HTMLIdBackCaptureElement>;
415
399
  "id-capture": LocalJSX.IdCapture & JSXBase.HTMLAttributes<HTMLIdCaptureElement>;
416
- "id-double-side": LocalJSX.IdDoubleSide & JSXBase.HTMLAttributes<HTMLIdDoubleSideElement>;
417
- "id-single-side": LocalJSX.IdSingleSide & JSXBase.HTMLAttributes<HTMLIdSingleSideElement>;
418
400
  "id-tilt": LocalJSX.IdTilt & JSXBase.HTMLAttributes<HTMLIdTiltElement>;
419
401
  "identification-component": LocalJSX.IdentificationComponent & JSXBase.HTMLAttributes<HTMLIdentificationComponentElement>;
420
402
  "landing-validation": LocalJSX.LandingValidation & JSXBase.HTMLAttributes<HTMLLandingValidationElement>;
@@ -422,6 +404,7 @@ declare module "@stencil/core" {
422
404
  "mobile-redirect": LocalJSX.MobileRedirect & JSXBase.HTMLAttributes<HTMLMobileRedirectElement>;
423
405
  "process-id": LocalJSX.ProcessId & JSXBase.HTMLAttributes<HTMLProcessIdElement>;
424
406
  "selfie-capture": LocalJSX.SelfieCapture & JSXBase.HTMLAttributes<HTMLSelfieCaptureElement>;
407
+ "selfie-tilt": LocalJSX.SelfieTilt & JSXBase.HTMLAttributes<HTMLSelfieTiltElement>;
425
408
  "sms-code-validation": LocalJSX.SmsCodeValidation & JSXBase.HTMLAttributes<HTMLSmsCodeValidationElement>;
426
409
  "user-liveness": LocalJSX.UserLiveness & JSXBase.HTMLAttributes<HTMLUserLivenessElement>;
427
410
  }
@@ -1,4 +1,5 @@
1
1
  import { Stream } from '../../helpers/Stream';
2
+ import { VerificationMode } from '../../models/IVerificationMode';
2
3
  export declare class FaceML5Detector {
3
4
  static instance: FaceML5Detector;
4
5
  private MAX_DETECTION;
@@ -17,7 +18,7 @@ export declare class FaceML5Detector {
17
18
  private requestedFacePose;
18
19
  private presentedFacePose;
19
20
  private validFacePose;
20
- private validFaceFoundAgain;
21
+ private checkPose;
21
22
  private readonly MAX_NUMBER_FACES;
22
23
  private readonly MIN_FACE_SCORE;
23
24
  private readonly MIN_OCCUPIED_SPACE_FOR_DESKTOP;
@@ -27,7 +28,7 @@ export declare class FaceML5Detector {
27
28
  static getInstance(stream: Stream, isMobile: boolean): FaceML5Detector;
28
29
  constructor(stream: Stream, isMobile: boolean);
29
30
  updateHtmlElements(videoElement: HTMLVideoElement, canvasElement: HTMLCanvasElement, _component: HTMLElement): void;
30
- initDetector(): void;
31
+ initDetector(mode: VerificationMode): void;
31
32
  private detectFaces;
32
33
  private gotResults;
33
34
  private drawFrame;
@@ -16,12 +16,13 @@ export declare enum CaptureUploadTypes {
16
16
  IdBack = "IdBack",
17
17
  IdFrontVideo = "IdFrontVideo",
18
18
  IdBackVideo = "IdBackVideo",
19
+ Selfie = "Selfie",
19
20
  SelfieVideo = "SelfieVideo",
20
21
  SelfieGestureVideo = "SelfieGestureVideo",
21
22
  TiltVideo = "TiltVideo",
22
23
  None = "None"
23
24
  }
24
- export declare enum CaptureFlowStatus {
25
+ export declare enum IdCaptureFlowStatus {
25
26
  HowToFront = 0,
26
27
  IdFront = 1,
27
28
  HowToBack = 2,
@@ -29,3 +30,9 @@ export declare enum CaptureFlowStatus {
29
30
  Tilt = 4,
30
31
  End = 5
31
32
  }
33
+ export declare enum SelfieFlowStatus {
34
+ HowToSelfie = 0,
35
+ Selfie = 1,
36
+ Gesture = 2,
37
+ End = 3
38
+ }
@@ -7,20 +7,17 @@ export declare enum FlowSteps {
7
7
  OtpCheck,
8
8
  CiFront,
9
9
  CiFrontHowTo,
10
- CiFrontHoldAnimation,
11
- CiFrontTiltAnimation,
12
10
  CiFrontCapture,
13
11
  CiBack,
14
12
  CiBackHowTo,
15
- CiBackHoldAnimation,
16
- CiBackTiltAnimation,
17
13
  CiBackCapture,
18
14
  CiTilt,
15
+ CiError,
19
16
  SelfieHowTo,
20
- SelfieHoldAnimation,
21
- SelfieTiltAnimation,
17
+ SelfieTilt,
22
18
  SelfieCapture,
23
19
  Selfie,
20
+ SelfieError,
24
21
  End,
25
22
  CameraError
26
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekyc_qoobiss/qbs-ect-cmp",
3
- "version": "3.6.14",
3
+ "version": "3.6.15",
4
4
  "description": "Person Identification Component",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.js",