@ekyc_qoobiss/qbs-ect-cmp 3.6.53 → 3.6.55
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_17.cjs.entry.js +40 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/qbs-ect-cmp.cjs.js +1 -1
- package/dist/collection/components/common/id-capture/id-capture.js +1 -1
- package/dist/collection/components/flow/process-id/process-id.js +21 -3
- package/dist/collection/components/flow/sms-send/sms-send.js +4 -2
- package/dist/collection/components/flow/user-liveness/user-liveness.js +19 -1
- package/dist/collection/helpers/Cameras.js +10 -0
- package/dist/esm/agreement-check_17.entry.js +40 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/qbs-ect-cmp.js +1 -1
- package/dist/qbs-ect-cmp/{p-3097c460.entry.js → p-bb06c439.entry.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/components/flow/process-id/process-id.d.ts +2 -0
- package/dist/types/components/flow/sms-send/sms-send.d.ts +1 -0
- package/dist/types/components/flow/user-liveness/user-liveness.d.ts +2 -0
- package/dist/types/helpers/Cameras.d.ts +1 -0
- package/package.json +1 -1
|
@@ -4931,6 +4931,16 @@ class Cameras {
|
|
|
4931
4931
|
throw e;
|
|
4932
4932
|
}
|
|
4933
4933
|
}
|
|
4934
|
+
static switchCamera() {
|
|
4935
|
+
let camIndex = TranslationUtils.state.cameraIds.indexOf(TranslationUtils.state.cameraId);
|
|
4936
|
+
let newCamId = camIndex === TranslationUtils.state.cameraIds.length - 1 ? TranslationUtils.state.cameraIds[0] : TranslationUtils.state.cameraIds[camIndex + 1];
|
|
4937
|
+
if (TranslationUtils.state.cameraId == newCamId) {
|
|
4938
|
+
TranslationUtils.state.cameraId = null;
|
|
4939
|
+
}
|
|
4940
|
+
else {
|
|
4941
|
+
TranslationUtils.state.cameraId = newCamId;
|
|
4942
|
+
}
|
|
4943
|
+
}
|
|
4934
4944
|
}
|
|
4935
4945
|
|
|
4936
4946
|
var IDPose;
|
|
@@ -5057,8 +5067,8 @@ const IdCapture = class {
|
|
|
5057
5067
|
this.titleMesage = this.translations.IdCaptureValues.Loading;
|
|
5058
5068
|
this.closeCamera();
|
|
5059
5069
|
this.demoVideo.src = 'https://ekyc.blob.core.windows.net/$web/animations/uploading_id.mp4';
|
|
5060
|
-
this.demoVideo.loop = true;
|
|
5061
5070
|
this.showDemo = true;
|
|
5071
|
+
this.demoVideo.loop = true;
|
|
5062
5072
|
this.demoVideo.play();
|
|
5063
5073
|
}
|
|
5064
5074
|
render() {
|
|
@@ -5147,7 +5157,7 @@ function v4(options, buf, offset) {
|
|
|
5147
5157
|
}
|
|
5148
5158
|
|
|
5149
5159
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
5150
|
-
const version$1 = "3.6.
|
|
5160
|
+
const version$1 = "3.6.55";
|
|
5151
5161
|
const description = "Person Identification Component";
|
|
5152
5162
|
const main = "./dist/index.cjs.js";
|
|
5153
5163
|
const module$1 = "./dist/index.js";
|
|
@@ -8660,6 +8670,18 @@ const ProcessId = class {
|
|
|
8660
8670
|
}
|
|
8661
8671
|
this.recordingResultCount = 0;
|
|
8662
8672
|
}
|
|
8673
|
+
async verificationFinished() {
|
|
8674
|
+
this.verificationReceived = Date.now();
|
|
8675
|
+
while (Date.now() - this.verificationReceived < 25000) {
|
|
8676
|
+
await delay(2000);
|
|
8677
|
+
let currentStatus = await TranslationUtils.ApiCall.instance.GetFlowState();
|
|
8678
|
+
if (currentStatus != TranslationUtils.state.flowStatus) {
|
|
8679
|
+
TranslationUtils.state.flowStatus = currentStatus;
|
|
8680
|
+
break;
|
|
8681
|
+
}
|
|
8682
|
+
}
|
|
8683
|
+
this.triggerErrorFlow();
|
|
8684
|
+
}
|
|
8663
8685
|
async componentDidLoad() {
|
|
8664
8686
|
await BaseComponent.initialize(this.currentStep);
|
|
8665
8687
|
}
|
|
@@ -8672,8 +8694,7 @@ const ProcessId = class {
|
|
|
8672
8694
|
}
|
|
8673
8695
|
switchCamera() {
|
|
8674
8696
|
if (this.captureRetryCount == 1) {
|
|
8675
|
-
|
|
8676
|
-
TranslationUtils.state.cameraId = camIndex === TranslationUtils.state.cameraIds.length - 1 ? TranslationUtils.state.cameraIds[0] : TranslationUtils.state.cameraIds[camIndex + 1];
|
|
8697
|
+
Cameras.switchCamera();
|
|
8677
8698
|
this.captureRetryCount = 0;
|
|
8678
8699
|
}
|
|
8679
8700
|
else {
|
|
@@ -8867,7 +8888,7 @@ SmsCodeValidation.style = smsCodeValidationCss;
|
|
|
8867
8888
|
const smsSendCss = "";
|
|
8868
8889
|
|
|
8869
8890
|
const SmsSend = class {
|
|
8870
|
-
constructor(hostRef) { index.registerInstance(this, hostRef); this.apiErrorEvent = index.createEvent(this, "apiError", 7); this.buttonText = undefined; this.phoneNumber = undefined; this.prefilledPhone = false; this.canSend = false; }
|
|
8891
|
+
constructor(hostRef) { index.registerInstance(this, hostRef); this.apiErrorEvent = index.createEvent(this, "apiError", 7); this.buttonText = undefined; this.title = undefined; this.phoneNumber = undefined; this.prefilledPhone = false; this.canSend = false; }
|
|
8871
8892
|
async doAction() {
|
|
8872
8893
|
try {
|
|
8873
8894
|
this.canSend = false;
|
|
@@ -8886,6 +8907,7 @@ const SmsSend = class {
|
|
|
8886
8907
|
async componentWillRender() {
|
|
8887
8908
|
this.translations = await TranslationUtils.Translations.getValues();
|
|
8888
8909
|
this.buttonText = this.translations.PhoneValidationValues.Button;
|
|
8910
|
+
this.title = this.translations.PhoneValidationValues.Title;
|
|
8889
8911
|
if (TranslationUtils.state.phoneNumber && TranslationUtils.state.phoneNumber != '') {
|
|
8890
8912
|
this.phoneNumber = TranslationUtils.state.phoneNumber;
|
|
8891
8913
|
this.prefilledPhone = true;
|
|
@@ -8904,7 +8926,7 @@ const SmsSend = class {
|
|
|
8904
8926
|
ev.target.value = this.phoneNumber;
|
|
8905
8927
|
}
|
|
8906
8928
|
render() {
|
|
8907
|
-
return (index.h("div", { class: "container" }, index.h("div", { class: "row row-validare" }, index.h("div", { class: "input-container mb-15" }, index.h("label", { class: "font-size-18 mb-1" }, index.h("b", null, this.translations.PhoneValidationValues.Label)), index.h("input", { type: "tel", id: "phoneInput", class: "main-input", disabled: this.prefilledPhone, onInput: ev => this.handleChangePhone(ev), value: this.phoneNumber })), index.h("div", { class: "pos-relative show-bottom" }, index.h("div", { class: "btn-buletin" }, index.h("button", { id: "action", disabled: !this.canSend, class: "main-button", onClick: () => this.doAction() }, this.buttonText), index.h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
|
|
8929
|
+
return (index.h("div", { class: "container" }, index.h("div", { class: "row row-validare" }, index.h("div", null, index.h("h1", { class: "text-center" }, this.title)), index.h("div", { class: "input-container mb-15" }, index.h("label", { class: "font-size-18 mb-1" }, index.h("b", null, this.translations.PhoneValidationValues.Label)), index.h("input", { type: "tel", id: "phoneInput", class: "main-input", disabled: this.prefilledPhone, onInput: ev => this.handleChangePhone(ev), value: this.phoneNumber })), index.h("div", { class: "pos-relative show-bottom" }, index.h("div", { class: "btn-buletin" }, index.h("button", { id: "action", disabled: !this.canSend, class: "main-button", onClick: () => this.doAction() }, this.buttonText), index.h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
|
|
8908
8930
|
}
|
|
8909
8931
|
};
|
|
8910
8932
|
SmsSend.style = smsSendCss;
|
|
@@ -9015,6 +9037,18 @@ const UserLiveness = class {
|
|
|
9015
9037
|
}
|
|
9016
9038
|
}
|
|
9017
9039
|
}
|
|
9040
|
+
async verificationFinished() {
|
|
9041
|
+
this.verificationReceived = Date.now();
|
|
9042
|
+
while (Date.now() - this.verificationReceived < 25000) {
|
|
9043
|
+
await delay(2000);
|
|
9044
|
+
let currentStatus = await TranslationUtils.ApiCall.instance.GetFlowState();
|
|
9045
|
+
if (currentStatus != TranslationUtils.state.flowStatus) {
|
|
9046
|
+
TranslationUtils.state.flowStatus = currentStatus;
|
|
9047
|
+
break;
|
|
9048
|
+
}
|
|
9049
|
+
}
|
|
9050
|
+
this.triggerErrorFlow();
|
|
9051
|
+
}
|
|
9018
9052
|
async disconnectedCallback() {
|
|
9019
9053
|
await BaseComponent.finalize(this.currentStep);
|
|
9020
9054
|
}
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_17.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[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,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"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);
|
|
17
|
+
return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_17.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"title":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[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,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"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
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -17,7 +17,7 @@ const patchBrowser = () => {
|
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
patchBrowser().then(options => {
|
|
20
|
-
return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_17.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[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,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"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);
|
|
20
|
+
return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_17.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"title":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[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,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"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);
|
|
21
21
|
});
|
|
22
22
|
|
|
23
23
|
exports.setNonce = index.setNonce;
|
|
@@ -122,8 +122,8 @@ export class IdCapture {
|
|
|
122
122
|
this.titleMesage = this.translations.IdCaptureValues.Loading;
|
|
123
123
|
this.closeCamera();
|
|
124
124
|
this.demoVideo.src = 'https://ekyc.blob.core.windows.net/$web/animations/uploading_id.mp4';
|
|
125
|
-
this.demoVideo.loop = true;
|
|
126
125
|
this.showDemo = true;
|
|
126
|
+
this.demoVideo.loop = true;
|
|
127
127
|
this.demoVideo.play();
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
@@ -3,10 +3,11 @@ import store from '../../../helpers/store';
|
|
|
3
3
|
import { Stream } from '../../../helpers/Stream';
|
|
4
4
|
import { FlowStatus } from '../../../models/FlowStatus';
|
|
5
5
|
import { FlowSteps } from '../../../models/FlowSteps';
|
|
6
|
-
import { getLogMessage } from '../../../utils/utils';
|
|
6
|
+
import { delay, getLogMessage } from '../../../utils/utils';
|
|
7
7
|
import { BaseComponent } from '../../base-component';
|
|
8
8
|
import { CaptureUploadTypes } from '../../../models/CaptureFlow';
|
|
9
9
|
import { ApiCall } from '../../../helpers/ApiCall';
|
|
10
|
+
import { Cameras } from '../../../helpers/Cameras';
|
|
10
11
|
// import { IDPose } from '../../libs/IDML5Detector/IDPose';
|
|
11
12
|
export class ProcessId {
|
|
12
13
|
constructor() {
|
|
@@ -111,6 +112,18 @@ export class ProcessId {
|
|
|
111
112
|
}
|
|
112
113
|
this.recordingResultCount = 0;
|
|
113
114
|
}
|
|
115
|
+
async verificationFinished() {
|
|
116
|
+
this.verificationReceived = Date.now();
|
|
117
|
+
while (Date.now() - this.verificationReceived < 25000) {
|
|
118
|
+
await delay(2000);
|
|
119
|
+
let currentStatus = await ApiCall.instance.GetFlowState();
|
|
120
|
+
if (currentStatus != store.flowStatus) {
|
|
121
|
+
store.flowStatus = currentStatus;
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
this.triggerErrorFlow();
|
|
126
|
+
}
|
|
114
127
|
async componentDidLoad() {
|
|
115
128
|
await BaseComponent.initialize(this.currentStep);
|
|
116
129
|
}
|
|
@@ -123,8 +136,7 @@ export class ProcessId {
|
|
|
123
136
|
}
|
|
124
137
|
switchCamera() {
|
|
125
138
|
if (this.captureRetryCount == 1) {
|
|
126
|
-
|
|
127
|
-
store.cameraId = camIndex === store.cameraIds.length - 1 ? store.cameraIds[0] : store.cameraIds[camIndex + 1];
|
|
139
|
+
Cameras.switchCamera();
|
|
128
140
|
this.captureRetryCount = 0;
|
|
129
141
|
}
|
|
130
142
|
else {
|
|
@@ -233,6 +245,12 @@ export class ProcessId {
|
|
|
233
245
|
"target": undefined,
|
|
234
246
|
"capture": false,
|
|
235
247
|
"passive": false
|
|
248
|
+
}, {
|
|
249
|
+
"name": "verificationFinished",
|
|
250
|
+
"method": "verificationFinished",
|
|
251
|
+
"target": undefined,
|
|
252
|
+
"capture": false,
|
|
253
|
+
"passive": false
|
|
236
254
|
}];
|
|
237
255
|
}
|
|
238
256
|
}
|
|
@@ -6,7 +6,7 @@ import { BaseComponent } from '../../base-component';
|
|
|
6
6
|
import { Translations } from '../../../helpers/TranslationUtils';
|
|
7
7
|
import { ApiCall } from '../../../helpers/ApiCall';
|
|
8
8
|
export class SmsSend {
|
|
9
|
-
constructor() { this.buttonText = undefined; this.phoneNumber = undefined; this.prefilledPhone = false; this.canSend = false; }
|
|
9
|
+
constructor() { this.buttonText = undefined; this.title = undefined; this.phoneNumber = undefined; this.prefilledPhone = false; this.canSend = false; }
|
|
10
10
|
async doAction() {
|
|
11
11
|
try {
|
|
12
12
|
this.canSend = false;
|
|
@@ -25,6 +25,7 @@ export class SmsSend {
|
|
|
25
25
|
async componentWillRender() {
|
|
26
26
|
this.translations = await Translations.getValues();
|
|
27
27
|
this.buttonText = this.translations.PhoneValidationValues.Button;
|
|
28
|
+
this.title = this.translations.PhoneValidationValues.Title;
|
|
28
29
|
if (store.phoneNumber && store.phoneNumber != '') {
|
|
29
30
|
this.phoneNumber = store.phoneNumber;
|
|
30
31
|
this.prefilledPhone = true;
|
|
@@ -43,7 +44,7 @@ export class SmsSend {
|
|
|
43
44
|
ev.target.value = this.phoneNumber;
|
|
44
45
|
}
|
|
45
46
|
render() {
|
|
46
|
-
return (h("div", { class: "container" }, h("div", { class: "row row-validare" }, h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1" }, h("b", null, this.translations.PhoneValidationValues.Label)), h("input", { type: "tel", id: "phoneInput", class: "main-input", disabled: this.prefilledPhone, onInput: ev => this.handleChangePhone(ev), value: this.phoneNumber })), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { id: "action", disabled: !this.canSend, class: "main-button", onClick: () => this.doAction() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
|
|
47
|
+
return (h("div", { class: "container" }, h("div", { class: "row row-validare" }, h("div", null, h("h1", { class: "text-center" }, this.title)), h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1" }, h("b", null, this.translations.PhoneValidationValues.Label)), h("input", { type: "tel", id: "phoneInput", class: "main-input", disabled: this.prefilledPhone, onInput: ev => this.handleChangePhone(ev), value: this.phoneNumber })), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { id: "action", disabled: !this.canSend, class: "main-button", onClick: () => this.doAction() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
|
|
47
48
|
}
|
|
48
49
|
static get is() { return "sms-send"; }
|
|
49
50
|
static get originalStyleUrls() {
|
|
@@ -59,6 +60,7 @@ export class SmsSend {
|
|
|
59
60
|
static get states() {
|
|
60
61
|
return {
|
|
61
62
|
"buttonText": {},
|
|
63
|
+
"title": {},
|
|
62
64
|
"phoneNumber": {},
|
|
63
65
|
"prefilledPhone": {},
|
|
64
66
|
"canSend": {}
|
|
@@ -3,7 +3,7 @@ import store from '../../../helpers/store';
|
|
|
3
3
|
import { Stream } from '../../../helpers/Stream';
|
|
4
4
|
import { FlowStatus } from '../../../models/FlowStatus';
|
|
5
5
|
import { FlowSteps } from '../../../models/FlowSteps';
|
|
6
|
-
import { getLogMessage } from '../../../utils/utils';
|
|
6
|
+
import { delay, getLogMessage } from '../../../utils/utils';
|
|
7
7
|
import { BaseComponent } from '../../base-component';
|
|
8
8
|
import { CaptureUploadTypes } from '../../../models/CaptureFlow';
|
|
9
9
|
import { ApiCall } from '../../../helpers/ApiCall';
|
|
@@ -109,6 +109,18 @@ export class UserLiveness {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
+
async verificationFinished() {
|
|
113
|
+
this.verificationReceived = Date.now();
|
|
114
|
+
while (Date.now() - this.verificationReceived < 25000) {
|
|
115
|
+
await delay(2000);
|
|
116
|
+
let currentStatus = await ApiCall.instance.GetFlowState();
|
|
117
|
+
if (currentStatus != store.flowStatus) {
|
|
118
|
+
store.flowStatus = currentStatus;
|
|
119
|
+
break;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
this.triggerErrorFlow();
|
|
123
|
+
}
|
|
112
124
|
async disconnectedCallback() {
|
|
113
125
|
await BaseComponent.finalize(this.currentStep);
|
|
114
126
|
}
|
|
@@ -219,6 +231,12 @@ export class UserLiveness {
|
|
|
219
231
|
"target": undefined,
|
|
220
232
|
"capture": false,
|
|
221
233
|
"passive": false
|
|
234
|
+
}, {
|
|
235
|
+
"name": "verificationFinished",
|
|
236
|
+
"method": "verificationFinished",
|
|
237
|
+
"target": undefined,
|
|
238
|
+
"capture": false,
|
|
239
|
+
"passive": false
|
|
222
240
|
}];
|
|
223
241
|
}
|
|
224
242
|
}
|
|
@@ -126,4 +126,14 @@ export class Cameras {
|
|
|
126
126
|
throw e;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
+
static switchCamera() {
|
|
130
|
+
let camIndex = store.cameraIds.indexOf(store.cameraId);
|
|
131
|
+
let newCamId = camIndex === store.cameraIds.length - 1 ? store.cameraIds[0] : store.cameraIds[camIndex + 1];
|
|
132
|
+
if (store.cameraId == newCamId) {
|
|
133
|
+
store.cameraId = null;
|
|
134
|
+
}
|
|
135
|
+
else {
|
|
136
|
+
store.cameraId = newCamId;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
129
139
|
}
|
|
@@ -4927,6 +4927,16 @@ class Cameras {
|
|
|
4927
4927
|
throw e;
|
|
4928
4928
|
}
|
|
4929
4929
|
}
|
|
4930
|
+
static switchCamera() {
|
|
4931
|
+
let camIndex = state.cameraIds.indexOf(state.cameraId);
|
|
4932
|
+
let newCamId = camIndex === state.cameraIds.length - 1 ? state.cameraIds[0] : state.cameraIds[camIndex + 1];
|
|
4933
|
+
if (state.cameraId == newCamId) {
|
|
4934
|
+
state.cameraId = null;
|
|
4935
|
+
}
|
|
4936
|
+
else {
|
|
4937
|
+
state.cameraId = newCamId;
|
|
4938
|
+
}
|
|
4939
|
+
}
|
|
4930
4940
|
}
|
|
4931
4941
|
|
|
4932
4942
|
var IDPose;
|
|
@@ -5053,8 +5063,8 @@ const IdCapture = class {
|
|
|
5053
5063
|
this.titleMesage = this.translations.IdCaptureValues.Loading;
|
|
5054
5064
|
this.closeCamera();
|
|
5055
5065
|
this.demoVideo.src = 'https://ekyc.blob.core.windows.net/$web/animations/uploading_id.mp4';
|
|
5056
|
-
this.demoVideo.loop = true;
|
|
5057
5066
|
this.showDemo = true;
|
|
5067
|
+
this.demoVideo.loop = true;
|
|
5058
5068
|
this.demoVideo.play();
|
|
5059
5069
|
}
|
|
5060
5070
|
render() {
|
|
@@ -5143,7 +5153,7 @@ function v4(options, buf, offset) {
|
|
|
5143
5153
|
}
|
|
5144
5154
|
|
|
5145
5155
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
5146
|
-
const version$1 = "3.6.
|
|
5156
|
+
const version$1 = "3.6.55";
|
|
5147
5157
|
const description = "Person Identification Component";
|
|
5148
5158
|
const main = "./dist/index.cjs.js";
|
|
5149
5159
|
const module = "./dist/index.js";
|
|
@@ -8656,6 +8666,18 @@ const ProcessId = class {
|
|
|
8656
8666
|
}
|
|
8657
8667
|
this.recordingResultCount = 0;
|
|
8658
8668
|
}
|
|
8669
|
+
async verificationFinished() {
|
|
8670
|
+
this.verificationReceived = Date.now();
|
|
8671
|
+
while (Date.now() - this.verificationReceived < 25000) {
|
|
8672
|
+
await delay(2000);
|
|
8673
|
+
let currentStatus = await ApiCall.instance.GetFlowState();
|
|
8674
|
+
if (currentStatus != state.flowStatus) {
|
|
8675
|
+
state.flowStatus = currentStatus;
|
|
8676
|
+
break;
|
|
8677
|
+
}
|
|
8678
|
+
}
|
|
8679
|
+
this.triggerErrorFlow();
|
|
8680
|
+
}
|
|
8659
8681
|
async componentDidLoad() {
|
|
8660
8682
|
await BaseComponent.initialize(this.currentStep);
|
|
8661
8683
|
}
|
|
@@ -8668,8 +8690,7 @@ const ProcessId = class {
|
|
|
8668
8690
|
}
|
|
8669
8691
|
switchCamera() {
|
|
8670
8692
|
if (this.captureRetryCount == 1) {
|
|
8671
|
-
|
|
8672
|
-
state.cameraId = camIndex === state.cameraIds.length - 1 ? state.cameraIds[0] : state.cameraIds[camIndex + 1];
|
|
8693
|
+
Cameras.switchCamera();
|
|
8673
8694
|
this.captureRetryCount = 0;
|
|
8674
8695
|
}
|
|
8675
8696
|
else {
|
|
@@ -8863,7 +8884,7 @@ SmsCodeValidation.style = smsCodeValidationCss;
|
|
|
8863
8884
|
const smsSendCss = "";
|
|
8864
8885
|
|
|
8865
8886
|
const SmsSend = class {
|
|
8866
|
-
constructor(hostRef) { registerInstance(this, hostRef); this.apiErrorEvent = createEvent(this, "apiError", 7); this.buttonText = undefined; this.phoneNumber = undefined; this.prefilledPhone = false; this.canSend = false; }
|
|
8887
|
+
constructor(hostRef) { registerInstance(this, hostRef); this.apiErrorEvent = createEvent(this, "apiError", 7); this.buttonText = undefined; this.title = undefined; this.phoneNumber = undefined; this.prefilledPhone = false; this.canSend = false; }
|
|
8867
8888
|
async doAction() {
|
|
8868
8889
|
try {
|
|
8869
8890
|
this.canSend = false;
|
|
@@ -8882,6 +8903,7 @@ const SmsSend = class {
|
|
|
8882
8903
|
async componentWillRender() {
|
|
8883
8904
|
this.translations = await Translations.getValues();
|
|
8884
8905
|
this.buttonText = this.translations.PhoneValidationValues.Button;
|
|
8906
|
+
this.title = this.translations.PhoneValidationValues.Title;
|
|
8885
8907
|
if (state.phoneNumber && state.phoneNumber != '') {
|
|
8886
8908
|
this.phoneNumber = state.phoneNumber;
|
|
8887
8909
|
this.prefilledPhone = true;
|
|
@@ -8900,7 +8922,7 @@ const SmsSend = class {
|
|
|
8900
8922
|
ev.target.value = this.phoneNumber;
|
|
8901
8923
|
}
|
|
8902
8924
|
render() {
|
|
8903
|
-
return (h("div", { class: "container" }, h("div", { class: "row row-validare" }, h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1" }, h("b", null, this.translations.PhoneValidationValues.Label)), h("input", { type: "tel", id: "phoneInput", class: "main-input", disabled: this.prefilledPhone, onInput: ev => this.handleChangePhone(ev), value: this.phoneNumber })), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { id: "action", disabled: !this.canSend, class: "main-button", onClick: () => this.doAction() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
|
|
8925
|
+
return (h("div", { class: "container" }, h("div", { class: "row row-validare" }, h("div", null, h("h1", { class: "text-center" }, this.title)), h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1" }, h("b", null, this.translations.PhoneValidationValues.Label)), h("input", { type: "tel", id: "phoneInput", class: "main-input", disabled: this.prefilledPhone, onInput: ev => this.handleChangePhone(ev), value: this.phoneNumber })), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { id: "action", disabled: !this.canSend, class: "main-button", onClick: () => this.doAction() }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
|
|
8904
8926
|
}
|
|
8905
8927
|
};
|
|
8906
8928
|
SmsSend.style = smsSendCss;
|
|
@@ -9011,6 +9033,18 @@ const UserLiveness = class {
|
|
|
9011
9033
|
}
|
|
9012
9034
|
}
|
|
9013
9035
|
}
|
|
9036
|
+
async verificationFinished() {
|
|
9037
|
+
this.verificationReceived = Date.now();
|
|
9038
|
+
while (Date.now() - this.verificationReceived < 25000) {
|
|
9039
|
+
await delay(2000);
|
|
9040
|
+
let currentStatus = await ApiCall.instance.GetFlowState();
|
|
9041
|
+
if (currentStatus != state.flowStatus) {
|
|
9042
|
+
state.flowStatus = currentStatus;
|
|
9043
|
+
break;
|
|
9044
|
+
}
|
|
9045
|
+
}
|
|
9046
|
+
this.triggerErrorFlow();
|
|
9047
|
+
}
|
|
9014
9048
|
async disconnectedCallback() {
|
|
9015
9049
|
await BaseComponent.finalize(this.currentStep);
|
|
9016
9050
|
}
|
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"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_17",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[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,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"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);
|
|
14
|
+
return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_17",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"title":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[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,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"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"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_17",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"]]],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[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,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"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);
|
|
17
|
+
return bootstrapLazy([["loader-dots",[[1,"loader-dots"]]],["random-actions",[[0,"random-actions"]]],["agreement-check_17",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"lang_iso":[1537],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"mode":[1],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"recordingIdCapture","capturedIdRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"user-liveness",{"mode":[1],"showError":[32],"showTimeout":[32],"flow":[32],"howToDone":[32]},[[0,"howToInfoDone","howToDoneEvent"],[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],"code":[32],"canSend":[32]}],[0,"sms-send",{"buttonText":[32],"title":[32],"phoneNumber":[32],"prefilledPhone":[32],"canSend":[32]}],[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,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"reason":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"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
|
});
|