@ekyc_qoobiss/qbs-ect-cmp 2.1.2 → 2.1.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.
Files changed (36) hide show
  1. package/dist/cjs/agreement-check_17.cjs.entry.js +137 -48
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/qbs-ect-cmp.cjs.js +1 -1
  4. package/dist/collection/components/common/agreement-check/agreement-check.js +6 -2
  5. package/dist/collection/components/common/capture-error/capture-error.js +29 -6
  6. package/dist/collection/components/common/how-to-info/how-to-info.js +6 -2
  7. package/dist/collection/components/common/id-back-capture/id-back-capture.js +4 -4
  8. package/dist/collection/components/common/id-capture/id-capture.js +3 -3
  9. package/dist/collection/components/common/selfie-capture/selfie-capture.js +3 -3
  10. package/dist/collection/components/flow/error-end/error-end.js +2 -1
  11. package/dist/collection/components/flow/mobile-redirect/mobile-redirect.js +3 -3
  12. package/dist/collection/components/identification-component/identification-component.css +3 -0
  13. package/dist/collection/components/identification-component/identification-component.js +2 -1
  14. package/dist/collection/helpers/ApiCall.js +2 -1
  15. package/dist/collection/helpers/textValues.js +8 -2
  16. package/dist/collection/libs/FaceML5Detector/FaceML5Detector.js +5 -7
  17. package/dist/collection/libs/IDML5Detector/IDML5Detector.js +4 -6
  18. package/dist/collection/utils/utils.js +1 -0
  19. package/dist/esm/agreement-check_17.entry.js +137 -48
  20. package/dist/esm/loader.js +1 -1
  21. package/dist/esm/qbs-ect-cmp.js +1 -1
  22. package/dist/qbs-ect-cmp/{p-1db86731.entry.js → p-d131bb84.entry.js} +2 -2
  23. package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
  24. package/dist/types/components/common/agreement-check/agreement-check.d.ts +1 -0
  25. package/dist/types/components/common/capture-error/capture-error.d.ts +8 -3
  26. package/dist/types/components/common/how-to-info/how-to-info.d.ts +1 -0
  27. package/dist/types/components/common/id-back-capture/id-back-capture.d.ts +0 -1
  28. package/dist/types/components/common/id-capture/id-capture.d.ts +0 -1
  29. package/dist/types/components/common/selfie-capture/selfie-capture.d.ts +0 -1
  30. package/dist/types/components/flow/mobile-redirect/mobile-redirect.d.ts +0 -1
  31. package/dist/types/helpers/ApiCall.d.ts +1 -1
  32. package/dist/types/helpers/textValues.d.ts +8 -2
  33. package/dist/types/libs/FaceML5Detector/FaceML5Detector.d.ts +0 -1
  34. package/dist/types/libs/IDML5Detector/IDML5Detector.d.ts +0 -1
  35. package/dist/types/utils/utils.d.ts +1 -0
  36. package/package.json +1 -1
@@ -1 +1 @@
1
- import{p as e,b as i}from"./p-06e42b28.js";export{s as setNonce}from"./p-06e42b28.js";(()=>{const i=import.meta.url,t={};return""!==i&&(t.resourcesUrl=new URL(".",i).href),e(t)})().then((e=>i([["p-4c8e922b",[[1,"loader-dots"]]],["p-1db86731",[[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",{device:[16],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",{device:[16],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",{device:[16],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,"end-redirect"],[0,"error-end",{message:[1],errorTitle:[1,"error-title"]}],[0,"landing-validation",{device:[16],warningText:[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",{device:[16],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",{device:[16],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]}],[0,"id-capture",{device:[16],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]}],[0,"how-to-info",{idSide:[1,"id-side"],topTitle:[32],subTitle:[32],imagePath:[32],buttonText:[32]}],[0,"camera-comp",{modelPath:[1,"model-path"],device:[16],probabilityThreshold:[2,"probability-threshold"],captureMode:[1,"capture-mode"]}]]]],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-d131bb84",[[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",{device:[16],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",{device:[16],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",{device:[16],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,"end-redirect"],[0,"error-end",{message:[1],errorTitle:[1,"error-title"]}],[0,"landing-validation",{device:[16],warningText:[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",{device:[16],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",{device:[16],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",{device:[16],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"],device:[16],probabilityThreshold:[2,"probability-threshold"],captureMode:[1,"capture-mode"]}]]]],e)));
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../../stencil-public-runtime';
2
2
  export declare class AgreementCheck {
3
3
  agreementType: string;
4
4
  htmlContent: string;
5
+ buttonEnabled: boolean;
5
6
  private apiCalls;
6
7
  constructor();
7
8
  apiErrorEvent: EventEmitter<any>;
@@ -1,10 +1,15 @@
1
1
  import { EventEmitter } from '../../../stencil-public-runtime';
2
2
  export declare class CaptureError {
3
3
  type: string;
4
- private imagePath;
5
- private description;
4
+ private buttonEnabled;
5
+ private buttonText;
6
+ private titleR1;
7
+ private titleR2;
8
+ private descriptionR1;
9
+ private descriptionR2;
6
10
  eventCaptureErrorDone: EventEmitter;
7
- componentWillRender(): void;
11
+ componentWillRender(): Promise<void>;
12
+ componentDidLoad(): Promise<void>;
8
13
  buttonClick(): void;
9
14
  render(): any;
10
15
  }
@@ -5,6 +5,7 @@ export declare class HowToInfo {
5
5
  subTitle: string;
6
6
  imagePath: string;
7
7
  buttonText: string;
8
+ buttonEnabled: boolean;
8
9
  eventHowToInfoDone: EventEmitter;
9
10
  buttonClick(): void;
10
11
  componentWillLoad(): void;
@@ -13,7 +13,6 @@ export declare class IdBackCapture {
13
13
  private showDemo;
14
14
  private demoVideo;
15
15
  constructor();
16
- delay: (ms: any) => Promise<unknown>;
17
16
  eventChangeTitle(event: any): Promise<void>;
18
17
  eventVideoStarted(event: any): void;
19
18
  componentWillLoad(): Promise<void>;
@@ -13,7 +13,6 @@ export declare class IdCapture {
13
13
  eventPhotoCapture: EventEmitter;
14
14
  private cameras;
15
15
  constructor();
16
- delay: (ms: any) => Promise<unknown>;
17
16
  eventChangeTitle(event: any): Promise<void>;
18
17
  eventVideoStarted(event: any): void;
19
18
  componentWillLoad(): Promise<void>;
@@ -18,7 +18,6 @@ export declare class SelfieCapture {
18
18
  eventChangeTitle(event: any): Promise<void>;
19
19
  eventVideoStarted(event: any): void;
20
20
  componentWillLoad(): void;
21
- delay: (ms: any) => Promise<unknown>;
22
21
  componentDidLoad(): Promise<void>;
23
22
  openCamera(): Promise<void>;
24
23
  closeCamera(): void;
@@ -15,7 +15,6 @@ export declare class MobileRedirect {
15
15
  componentWillLoad(): Promise<void>;
16
16
  componentWillRender(): void;
17
17
  componentDidLoad(): Promise<void>;
18
- delay: (ms: any) => Promise<unknown>;
19
18
  checkStatus(): Promise<void>;
20
19
  buttonClick(): Promise<void>;
21
20
  handleChangeContact(ev: any): void;
@@ -9,7 +9,7 @@ export declare class ApiCall {
9
9
  private get;
10
10
  SendOTPCode(requestId: string, phoneNumber: string): Promise<boolean | Error>;
11
11
  CheckOTPCode(requestId: string, otpCode: string): Promise<boolean | Error>;
12
- AddIdentificationRequest(deviceInfo: Device): Promise<any | Error>;
12
+ AddIdentificationRequest(deviceInfo: Device, version: string): Promise<any | Error>;
13
13
  UploadFileForRequestB64(requestId: string, type: string, file: File): Promise<boolean>;
14
14
  GetAgreement(agreementType: string): Promise<string>;
15
15
  GenerateAgreement(agreementType: string): Promise<boolean>;
@@ -56,7 +56,10 @@ export declare class IdCaptureValues extends GlobalValues {
56
56
  static readonly Title: string;
57
57
  static readonly TitleBack: string;
58
58
  static readonly TtileRotate: string;
59
- static readonly Error: string;
59
+ static readonly ErrorTitleR1: string;
60
+ static readonly ErrorTitleR2: string;
61
+ static readonly ErrorR1: string;
62
+ static readonly ErrorR2: string;
60
63
  static readonly IDPoseMapping: {
61
64
  [key in IDPose]: string;
62
65
  };
@@ -68,7 +71,10 @@ export declare class IdCaptureValues extends GlobalValues {
68
71
  export declare class SelfieCaptureValues extends GlobalValues {
69
72
  static readonly Title: string;
70
73
  static readonly FinalTitle: string;
71
- static readonly Error: string;
74
+ static readonly ErrorTitleR1: string;
75
+ static readonly ErrorTitleR2: string;
76
+ static readonly ErrorR1: string;
77
+ static readonly ErrorR2: string;
72
78
  static readonly Loading: string;
73
79
  static readonly FacePoseMapping: {
74
80
  [key in FacePose]: string;
@@ -31,7 +31,6 @@ export declare class FaceML5Detector {
31
31
  private detectFaces;
32
32
  private gotResults;
33
33
  private drawFrame;
34
- private delay;
35
34
  private isSingleFace;
36
35
  private checkProbability;
37
36
  private checkFaceSize;
@@ -18,5 +18,4 @@ export declare class IDML5Detector {
18
18
  private classifyVideo;
19
19
  private gotResults;
20
20
  private drawFrame;
21
- private delay;
22
21
  }
@@ -1,2 +1,3 @@
1
1
  export declare function format(first: string, middle: string, last: string): string;
2
2
  export declare const blobToBase64: (blob: Blob) => Promise<string>;
3
+ export declare const delay: (ms: any) => Promise<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekyc_qoobiss/qbs-ect-cmp",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Person Identification Component",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.js",