@ekyc_qoobiss/qbs-ect-cmp 3.5.9 → 3.5.10
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 +11 -4
- package/dist/collection/components/base-component.js +0 -1
- package/dist/collection/components/flow/landing-validation/landing-validation.js +0 -1
- package/dist/collection/components/flow/mobile-redirect/mobile-redirect.js +0 -1
- package/dist/collection/components/identification-component/identification-component.js +10 -0
- package/dist/esm/agreement-check_18.entry.js +11 -4
- package/dist/qbs-ect-cmp/{p-628255db.entry.js → p-18c20b1f.entry.js} +2 -2
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/package.json +1 -1
|
@@ -866,7 +866,6 @@ class BaseComponent {
|
|
|
866
866
|
if (!state.device) {
|
|
867
867
|
state.device = new DeviceDetection().getDevice();
|
|
868
868
|
}
|
|
869
|
-
Events.init(window);
|
|
870
869
|
}
|
|
871
870
|
setEventEmitter(event) {
|
|
872
871
|
this.apiErrorEvent = event;
|
|
@@ -6438,7 +6437,7 @@ function v4(options, buf, offset) {
|
|
|
6438
6437
|
}
|
|
6439
6438
|
|
|
6440
6439
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6441
|
-
const version$1 = "3.5.
|
|
6440
|
+
const version$1 = "3.5.10";
|
|
6442
6441
|
const description = "Person Identification Component";
|
|
6443
6442
|
const main = "./dist/index.cjs.js";
|
|
6444
6443
|
const module$1 = "./dist/index.js";
|
|
@@ -6625,6 +6624,16 @@ const IdentificationComponent = class {
|
|
|
6625
6624
|
}
|
|
6626
6625
|
this.baseComponent = new BaseComponent(FlowSteps.ComponentLoaded);
|
|
6627
6626
|
this.baseComponent.setErrorCallback(this.apiErrorEmitter);
|
|
6627
|
+
window.onbeforeunload = () => {
|
|
6628
|
+
setTimeout(function () {
|
|
6629
|
+
setTimeout(() => {
|
|
6630
|
+
alert('Parasirea procesului de identificare va duce la pierderea datelor introduse.');
|
|
6631
|
+
}, 1000);
|
|
6632
|
+
}, 100);
|
|
6633
|
+
};
|
|
6634
|
+
window.onunload = async () => {
|
|
6635
|
+
await this.baseComponent.finalize();
|
|
6636
|
+
};
|
|
6628
6637
|
if (state.debug)
|
|
6629
6638
|
this.logInit = getLogMessage(this.order_id, this.redirect_id, this.token);
|
|
6630
6639
|
if (this.token) {
|
|
@@ -6812,7 +6821,6 @@ const LandingValidation = class {
|
|
|
6812
6821
|
await this.initRequest();
|
|
6813
6822
|
}
|
|
6814
6823
|
async componentDidLoad() {
|
|
6815
|
-
Events.init(window);
|
|
6816
6824
|
Events.flowStarted();
|
|
6817
6825
|
if (state.environment !== 'DEMO') {
|
|
6818
6826
|
await this.baseComponent.initialize();
|
|
@@ -9782,7 +9790,6 @@ const MobileRedirect = class {
|
|
|
9782
9790
|
});
|
|
9783
9791
|
}
|
|
9784
9792
|
async componentDidLoad() {
|
|
9785
|
-
Events.init(window);
|
|
9786
9793
|
Events.flowStarted();
|
|
9787
9794
|
await this.baseComponent.initialize();
|
|
9788
9795
|
await delay(5000);
|
|
@@ -126,6 +126,16 @@ export class IdentificationComponent {
|
|
|
126
126
|
}
|
|
127
127
|
this.baseComponent = new BaseComponent(FlowSteps.ComponentLoaded);
|
|
128
128
|
this.baseComponent.setErrorCallback(this.apiErrorEmitter);
|
|
129
|
+
window.onbeforeunload = () => {
|
|
130
|
+
setTimeout(function () {
|
|
131
|
+
setTimeout(() => {
|
|
132
|
+
alert('Parasirea procesului de identificare va duce la pierderea datelor introduse.');
|
|
133
|
+
}, 1000);
|
|
134
|
+
}, 100);
|
|
135
|
+
};
|
|
136
|
+
window.onunload = async () => {
|
|
137
|
+
await this.baseComponent.finalize();
|
|
138
|
+
};
|
|
129
139
|
if (store.debug)
|
|
130
140
|
this.logInit = getLogMessage(this.order_id, this.redirect_id, this.token);
|
|
131
141
|
if (this.token) {
|
|
@@ -862,7 +862,6 @@ class BaseComponent {
|
|
|
862
862
|
if (!state.device) {
|
|
863
863
|
state.device = new DeviceDetection().getDevice();
|
|
864
864
|
}
|
|
865
|
-
Events.init(window);
|
|
866
865
|
}
|
|
867
866
|
setEventEmitter(event) {
|
|
868
867
|
this.apiErrorEvent = event;
|
|
@@ -6434,7 +6433,7 @@ function v4(options, buf, offset) {
|
|
|
6434
6433
|
}
|
|
6435
6434
|
|
|
6436
6435
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
6437
|
-
const version$1 = "3.5.
|
|
6436
|
+
const version$1 = "3.5.10";
|
|
6438
6437
|
const description = "Person Identification Component";
|
|
6439
6438
|
const main = "./dist/index.cjs.js";
|
|
6440
6439
|
const module = "./dist/index.js";
|
|
@@ -6621,6 +6620,16 @@ const IdentificationComponent = class {
|
|
|
6621
6620
|
}
|
|
6622
6621
|
this.baseComponent = new BaseComponent(FlowSteps.ComponentLoaded);
|
|
6623
6622
|
this.baseComponent.setErrorCallback(this.apiErrorEmitter);
|
|
6623
|
+
window.onbeforeunload = () => {
|
|
6624
|
+
setTimeout(function () {
|
|
6625
|
+
setTimeout(() => {
|
|
6626
|
+
alert('Parasirea procesului de identificare va duce la pierderea datelor introduse.');
|
|
6627
|
+
}, 1000);
|
|
6628
|
+
}, 100);
|
|
6629
|
+
};
|
|
6630
|
+
window.onunload = async () => {
|
|
6631
|
+
await this.baseComponent.finalize();
|
|
6632
|
+
};
|
|
6624
6633
|
if (state.debug)
|
|
6625
6634
|
this.logInit = getLogMessage(this.order_id, this.redirect_id, this.token);
|
|
6626
6635
|
if (this.token) {
|
|
@@ -6808,7 +6817,6 @@ const LandingValidation = class {
|
|
|
6808
6817
|
await this.initRequest();
|
|
6809
6818
|
}
|
|
6810
6819
|
async componentDidLoad() {
|
|
6811
|
-
Events.init(window);
|
|
6812
6820
|
Events.flowStarted();
|
|
6813
6821
|
if (state.environment !== 'DEMO') {
|
|
6814
6822
|
await this.baseComponent.initialize();
|
|
@@ -9778,7 +9786,6 @@ const MobileRedirect = class {
|
|
|
9778
9786
|
});
|
|
9779
9787
|
}
|
|
9780
9788
|
async componentDidLoad() {
|
|
9781
|
-
Events.init(window);
|
|
9782
9789
|
Events.flowStarted();
|
|
9783
9790
|
await this.baseComponent.initialize();
|
|
9784
9791
|
await delay(5000);
|