@ekyc_qoobiss/qbs-ect-cmp 3.6.30 → 3.6.32
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/{TranslationUtils-e23d3c71.js → TranslationUtils-bfe4477a.js} +8 -17
- package/dist/cjs/agreement-check_19.cjs.entry.js +2 -2
- package/dist/cjs/random-actions.cjs.entry.js +1 -1
- package/dist/collection/helpers/TranslationUtils.js +8 -17
- package/dist/esm/{TranslationUtils-7c1f0f39.js → TranslationUtils-7e68bc94.js} +8 -17
- package/dist/esm/agreement-check_19.entry.js +2 -2
- package/dist/esm/random-actions.entry.js +1 -1
- package/dist/qbs-ect-cmp/{p-fea085b0.entry.js → p-ad31d837.entry.js} +2 -2
- package/dist/qbs-ect-cmp/{p-16f9efd0.entry.js → p-d1d9feaf.entry.js} +1 -1
- package/dist/qbs-ect-cmp/{p-d82d57ff.js → p-d35256e9.js} +1 -1
- package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
- package/dist/types/helpers/TranslationUtils.d.ts +1 -2
- package/package.json +1 -1
|
@@ -566,9 +566,6 @@ class ApiCall {
|
|
|
566
566
|
}
|
|
567
567
|
|
|
568
568
|
class TranslationsController {
|
|
569
|
-
constructor() {
|
|
570
|
-
this.apiCall = new ApiCall();
|
|
571
|
-
}
|
|
572
569
|
async getValues() {
|
|
573
570
|
if (this.values) {
|
|
574
571
|
return this.values;
|
|
@@ -589,22 +586,16 @@ class TranslationsController {
|
|
|
589
586
|
}
|
|
590
587
|
async fetchTranslations() {
|
|
591
588
|
const locale = this.getLocale();
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
else {
|
|
597
|
-
try {
|
|
598
|
-
const result = this.apiCall.GetTranslations(locale);
|
|
599
|
-
if (result) {
|
|
600
|
-
sessionStorage.setItem(`i18n.${locale}`, JSON.stringify(result));
|
|
601
|
-
return result;
|
|
602
|
-
}
|
|
603
|
-
}
|
|
604
|
-
catch (exception) {
|
|
605
|
-
console.error(`Error loading locale: ${locale}`, exception);
|
|
589
|
+
try {
|
|
590
|
+
const result = new ApiCall().GetTranslations(locale);
|
|
591
|
+
if (result) {
|
|
592
|
+
return result;
|
|
606
593
|
}
|
|
607
594
|
}
|
|
595
|
+
catch (exception) {
|
|
596
|
+
console.error(`Error loading locale: ${locale}`, exception);
|
|
597
|
+
return null;
|
|
598
|
+
}
|
|
608
599
|
}
|
|
609
600
|
}
|
|
610
601
|
const Translations = new TranslationsController();
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-41696e0e.js');
|
|
6
|
-
const TranslationUtils = require('./TranslationUtils-
|
|
6
|
+
const TranslationUtils = require('./TranslationUtils-bfe4477a.js');
|
|
7
7
|
|
|
8
8
|
var MobileOS;
|
|
9
9
|
(function (MobileOS) {
|
|
@@ -5541,7 +5541,7 @@ function v4(options, buf, offset) {
|
|
|
5541
5541
|
}
|
|
5542
5542
|
|
|
5543
5543
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
5544
|
-
const version$1 = "3.6.
|
|
5544
|
+
const version$1 = "3.6.32";
|
|
5545
5545
|
const description = "Person Identification Component";
|
|
5546
5546
|
const main = "./dist/index.cjs.js";
|
|
5547
5547
|
const module$1 = "./dist/index.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-41696e0e.js');
|
|
6
|
-
const TranslationUtils = require('./TranslationUtils-
|
|
6
|
+
const TranslationUtils = require('./TranslationUtils-bfe4477a.js');
|
|
7
7
|
|
|
8
8
|
const randomActionsCss = "";
|
|
9
9
|
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { ApiCall } from './ApiCall';
|
|
2
2
|
import store from './store';
|
|
3
3
|
class TranslationsController {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.apiCall = new ApiCall();
|
|
6
|
-
}
|
|
7
4
|
async getValues() {
|
|
8
5
|
if (this.values) {
|
|
9
6
|
return this.values;
|
|
@@ -24,22 +21,16 @@ class TranslationsController {
|
|
|
24
21
|
}
|
|
25
22
|
async fetchTranslations() {
|
|
26
23
|
const locale = this.getLocale();
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
else {
|
|
32
|
-
try {
|
|
33
|
-
const result = this.apiCall.GetTranslations(locale);
|
|
34
|
-
if (result) {
|
|
35
|
-
sessionStorage.setItem(`i18n.${locale}`, JSON.stringify(result));
|
|
36
|
-
return result;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
catch (exception) {
|
|
40
|
-
console.error(`Error loading locale: ${locale}`, exception);
|
|
24
|
+
try {
|
|
25
|
+
const result = new ApiCall().GetTranslations(locale);
|
|
26
|
+
if (result) {
|
|
27
|
+
return result;
|
|
41
28
|
}
|
|
42
29
|
}
|
|
30
|
+
catch (exception) {
|
|
31
|
+
console.error(`Error loading locale: ${locale}`, exception);
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
43
34
|
}
|
|
44
35
|
}
|
|
45
36
|
export const Translations = new TranslationsController();
|
|
@@ -564,9 +564,6 @@ class ApiCall {
|
|
|
564
564
|
}
|
|
565
565
|
|
|
566
566
|
class TranslationsController {
|
|
567
|
-
constructor() {
|
|
568
|
-
this.apiCall = new ApiCall();
|
|
569
|
-
}
|
|
570
567
|
async getValues() {
|
|
571
568
|
if (this.values) {
|
|
572
569
|
return this.values;
|
|
@@ -587,22 +584,16 @@ class TranslationsController {
|
|
|
587
584
|
}
|
|
588
585
|
async fetchTranslations() {
|
|
589
586
|
const locale = this.getLocale();
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
else {
|
|
595
|
-
try {
|
|
596
|
-
const result = this.apiCall.GetTranslations(locale);
|
|
597
|
-
if (result) {
|
|
598
|
-
sessionStorage.setItem(`i18n.${locale}`, JSON.stringify(result));
|
|
599
|
-
return result;
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
catch (exception) {
|
|
603
|
-
console.error(`Error loading locale: ${locale}`, exception);
|
|
587
|
+
try {
|
|
588
|
+
const result = new ApiCall().GetTranslations(locale);
|
|
589
|
+
if (result) {
|
|
590
|
+
return result;
|
|
604
591
|
}
|
|
605
592
|
}
|
|
593
|
+
catch (exception) {
|
|
594
|
+
console.error(`Error loading locale: ${locale}`, exception);
|
|
595
|
+
return null;
|
|
596
|
+
}
|
|
606
597
|
}
|
|
607
598
|
}
|
|
608
599
|
const Translations = new TranslationsController();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-cf54a432.js';
|
|
2
|
-
import { A as ApiCall, s as state, F as FlowMoments, a as FlowSteps, T as Translations, b as FlowStatus, S as SessionKeys, I as IdCaptureValues, O as OrderStatuses, c as SelfieCaptureValues } from './TranslationUtils-
|
|
2
|
+
import { A as ApiCall, s as state, F as FlowMoments, a as FlowSteps, T as Translations, b as FlowStatus, S as SessionKeys, I as IdCaptureValues, O as OrderStatuses, c as SelfieCaptureValues } from './TranslationUtils-7e68bc94.js';
|
|
3
3
|
|
|
4
4
|
var MobileOS;
|
|
5
5
|
(function (MobileOS) {
|
|
@@ -5537,7 +5537,7 @@ function v4(options, buf, offset) {
|
|
|
5537
5537
|
}
|
|
5538
5538
|
|
|
5539
5539
|
const name = "@ekyc_qoobiss/qbs-ect-cmp";
|
|
5540
|
-
const version$1 = "3.6.
|
|
5540
|
+
const version$1 = "3.6.32";
|
|
5541
5541
|
const description = "Person Identification Component";
|
|
5542
5542
|
const main = "./dist/index.cjs.js";
|
|
5543
5543
|
const module = "./dist/index.js";
|