@ekyc_qoobiss/qbs-ect-cmp 3.6.26 → 3.6.28

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 (53) hide show
  1. package/dist/cjs/agreement-check_19.cjs.entry.js +287 -759
  2. package/dist/cjs/base-component-aa9e52bf.js +832 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/qbs-ect-cmp.cjs.js +1 -1
  5. package/dist/cjs/random-actions.cjs.entry.js +3 -2
  6. package/dist/collection/components/base-component.js +4 -0
  7. package/dist/collection/components/common/agreement-check/agreement-check.js +5 -2
  8. package/dist/collection/components/common/camera-error/camera-error.js +6 -6
  9. package/dist/collection/components/common/capture-error/capture-error.js +10 -11
  10. package/dist/collection/components/common/how-to-info/how-to-info.js +8 -9
  11. package/dist/collection/components/common/id-back-capture/id-back-capture.js +7 -7
  12. package/dist/collection/components/common/id-capture/id-capture.js +4 -4
  13. package/dist/collection/components/common/id-tilt/id-tilt.js +4 -4
  14. package/dist/collection/components/common/random-actions/random-actions.js +6 -2
  15. package/dist/collection/components/common/selfie-capture/selfie-capture.js +4 -4
  16. package/dist/collection/components/common/selfie-tilt/selfie-tilt.js +6 -5
  17. package/dist/collection/components/flow/agreement-info/agreement-info.js +1 -2
  18. package/dist/collection/components/flow/end-redirect/end-redirect.js +6 -3
  19. package/dist/collection/components/flow/landing-validation/landing-validation.js +4 -4
  20. package/dist/collection/components/flow/mobile-redirect/mobile-redirect.js +6 -7
  21. package/dist/collection/components/flow/sms-code-validation/sms-code-validation.js +9 -10
  22. package/dist/collection/components/identification-component/identification-component.js +21 -0
  23. package/dist/collection/helpers/TranslationUtils.js +37 -0
  24. package/dist/collection/helpers/store.js +1 -0
  25. package/dist/collection/helpers/textValues.js +11 -108
  26. package/dist/collection/models/ITranslationValues.js +1 -0
  27. package/dist/esm/agreement-check_19.entry.js +80 -552
  28. package/dist/esm/base-component-b7f50d31.js +824 -0
  29. package/dist/esm/loader.js +1 -1
  30. package/dist/esm/qbs-ect-cmp.js +1 -1
  31. package/dist/esm/random-actions.entry.js +3 -2
  32. package/dist/i18n/en.json +100 -0
  33. package/dist/i18n/ro.json +100 -0
  34. package/dist/i18n/ru.json +100 -0
  35. package/dist/qbs-ect-cmp/p-215a7e76.entry.js +1 -0
  36. package/dist/qbs-ect-cmp/p-7bedffaa.js +1 -0
  37. package/dist/qbs-ect-cmp/{p-40480abb.entry.js → p-c32a782a.entry.js} +2 -2
  38. package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
  39. package/dist/types/components/base-component.d.ts +2 -0
  40. package/dist/types/components/common/agreement-check/agreement-check.d.ts +1 -0
  41. package/dist/types/components/common/random-actions/random-actions.d.ts +2 -0
  42. package/dist/types/components/flow/end-redirect/end-redirect.d.ts +1 -0
  43. package/dist/types/components/identification-component/identification-component.d.ts +1 -0
  44. package/dist/types/components.d.ts +2 -0
  45. package/dist/types/helpers/TranslationUtils.d.ts +9 -0
  46. package/dist/types/helpers/textValues.d.ts +8 -95
  47. package/dist/types/models/IEctStore.d.ts +1 -0
  48. package/dist/types/models/ITranslationValues.d.ts +101 -0
  49. package/package.json +1 -1
  50. package/dist/cjs/store-f1a0f55c.js +0 -413
  51. package/dist/esm/store-fdeed827.js +0 -398
  52. package/dist/qbs-ect-cmp/p-0b381be5.js +0 -1
  53. package/dist/qbs-ect-cmp/p-6be3b9ca.entry.js +0 -1
@@ -1,5 +1,4 @@
1
1
  import { h } from '@stencil/core';
2
- import { MobileRedirectValues } from '../../../helpers/textValues';
3
2
  import QRCode from 'qrcode';
4
3
  import store from '../../../helpers/store';
5
4
  import Events from '../../../helpers/Events';
@@ -26,8 +25,8 @@ export class MobileRedirect {
26
25
  }
27
26
  async componentWillLoad() {
28
27
  Events.flowStarted();
29
- this.infoTextTop = MobileRedirectValues.InfoTop;
30
- this.infoTextBottom = MobileRedirectValues.InfoBottom;
28
+ this.infoTextTop = this.baseComponent.translations.MobileRedirectValues.InfoTop;
29
+ this.infoTextBottom = this.baseComponent.translations.MobileRedirectValues.InfoBottom;
31
30
  let envUri = store.environment == 'QA' ? 'test' : 'ect';
32
31
  let baseUri = store.hasIdBack ? 'https://onmd.id-kyc.com/' : 'https://onro.id-kyc.com/';
33
32
  this.redirectLink = baseUri + envUri + '/mobileredirect?redirectId=' + store.redirectId;
@@ -61,12 +60,12 @@ export class MobileRedirect {
61
60
  this.apiErrorEvent.emit({ message: 'No order was started for this process.' });
62
61
  }
63
62
  if (this.orderStatus == OrderStatuses.Capturing) {
64
- this.infoTextTop = MobileRedirectValues.InfoWaiting;
63
+ this.infoTextTop = this.baseComponent.translations.MobileRedirectValues.InfoWaiting;
65
64
  this.waitingMobile = true;
66
65
  }
67
66
  if (this.orderStatus == OrderStatuses.Aborted) {
68
67
  this.waitingMobile = false;
69
- this.infoTextTop = MobileRedirectValues.InfoAborted;
68
+ this.infoTextTop = this.baseComponent.translations.MobileRedirectValues.InfoAborted;
70
69
  Events.flowAborted();
71
70
  }
72
71
  }
@@ -79,7 +78,7 @@ export class MobileRedirect {
79
78
  return;
80
79
  }
81
80
  this.waitingMobile = true;
82
- this.infoTextTop = MobileRedirectValues.InfoWaiting;
81
+ this.infoTextTop = this.baseComponent.translations.MobileRedirectValues.InfoWaiting;
83
82
  try {
84
83
  await this.baseComponent.apiCall.SendLink(this.redirectLink, this.contact);
85
84
  }
@@ -97,7 +96,7 @@ export class MobileRedirect {
97
96
  ev.target.value = this.contact;
98
97
  }
99
98
  render() {
100
- return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { hidden: this.waitingMobile }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop)), h("div", { class: "qr-canvas align-center" }, h("img", { src: this.qrCode })), h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextBottom)), h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1 color-red", hidden: this.invalidValue == false }, h("b", null, MobileRedirectValues.Validation)), h("input", { type: "text", id: "codeInput", class: "main-input", disabled: this.prefilledPhone, value: this.contact, onInput: ev => this.handleChangeContact(ev) })), h("div", { class: "pos-relative" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, "Trimite"), h("p", { class: "main-text font-size-18 text-right mb-0" }, MobileRedirectValues.FooterText)))), h("div", { hidden: this.waitingMobile == false }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop))))));
99
+ return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { hidden: this.waitingMobile }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop)), h("div", { class: "qr-canvas align-center" }, h("img", { src: this.qrCode })), h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextBottom)), h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1 color-red", hidden: this.invalidValue == false }, h("b", null, this.baseComponent.translations.MobileRedirectValues.Validation)), h("input", { type: "text", id: "codeInput", class: "main-input", disabled: this.prefilledPhone, value: this.contact, onInput: ev => this.handleChangeContact(ev) })), h("div", { class: "pos-relative" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", onClick: () => this.buttonClick() }, "Trimite"), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.baseComponent.translations.GlobalValues.FooterText)))), h("div", { hidden: this.waitingMobile == false }, h("div", { class: "text-center" }, h("p", { class: "font-size-2" }, this.infoTextTop))))));
101
100
  }
102
101
  static get is() { return "mobile-redirect"; }
103
102
  static get originalStyleUrls() {
@@ -1,6 +1,5 @@
1
1
  import { h } from '@stencil/core';
2
2
  import store from '../../../helpers/store';
3
- import { PhoneValidationValues, CodeValidationValues } from '../../../helpers/textValues';
4
3
  import { FlowStatus } from '../../../models/FlowStatus';
5
4
  import { FlowSteps } from '../../../models/FlowSteps';
6
5
  import { BaseComponent } from '../../base-component';
@@ -49,9 +48,9 @@ export class SmsCodeValidation {
49
48
  }
50
49
  componentWillRender() {
51
50
  if (store.flowStatus == FlowStatus.PHONE) {
52
- this.title = PhoneValidationValues.Title;
53
- this.details = PhoneValidationValues.Description;
54
- this.buttonText = PhoneValidationValues.Button;
51
+ this.title = this.baseComponent.translations.PhoneValidationValues.Title;
52
+ this.details = this.baseComponent.translations.PhoneValidationValues.Description;
53
+ this.buttonText = this.baseComponent.translations.PhoneValidationValues.Button;
55
54
  if (store.phoneNumber && store.phoneNumber != '') {
56
55
  this.phoneNumber = store.phoneNumber;
57
56
  this.prefilledPhone = true;
@@ -59,9 +58,9 @@ export class SmsCodeValidation {
59
58
  }
60
59
  }
61
60
  if (store.flowStatus == FlowStatus.CODE || store.flowStatus == FlowStatus.CODEERROR) {
62
- this.title = CodeValidationValues.Title;
63
- this.details = CodeValidationValues.Description;
64
- this.buttonText = CodeValidationValues.Button;
61
+ this.title = this.baseComponent.translations.CodeValidationValues.Title;
62
+ this.details = this.baseComponent.translations.CodeValidationValues.Description;
63
+ this.buttonText = this.baseComponent.translations.CodeValidationValues.Button;
65
64
  }
66
65
  }
67
66
  async componentDidLoad() {
@@ -87,15 +86,15 @@ export class SmsCodeValidation {
87
86
  let inputBlock;
88
87
  let errorBlock;
89
88
  if (store.flowStatus == FlowStatus.CODEERROR) {
90
- errorBlock = h("p", { class: "main-text font-size-18 mt-15 color-red text-center" }, CodeValidationValues.Error);
89
+ errorBlock = h("p", { class: "main-text font-size-18 mt-15 color-red text-center" }, this.baseComponent.translations.CodeValidationValues.Error);
91
90
  }
92
91
  if (store.flowStatus == FlowStatus.PHONE) {
93
- inputBlock = (h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1" }, h("b", null, PhoneValidationValues.Label)), h("input", { type: "tel", id: "phoneInput", class: "main-input", disabled: this.prefilledPhone, onInput: ev => this.handleChangePhone(ev), value: this.phoneNumber })));
92
+ inputBlock = (h("div", { class: "input-container mb-15" }, h("label", { class: "font-size-18 mb-1" }, h("b", null, this.baseComponent.translations.PhoneValidationValues.Label)), h("input", { type: "tel", id: "phoneInput", class: "main-input", disabled: this.prefilledPhone, onInput: ev => this.handleChangePhone(ev), value: this.phoneNumber })));
94
93
  }
95
94
  else {
96
95
  inputBlock = (h("div", { class: "input-container mb-15" }, h("input", { type: "text", id: "codeInput", class: "main-input", onInput: ev => this.handleChangeCode(ev), value: this.code })));
97
96
  }
98
- return (h("div", { class: "container" }, h("div", { class: "row row-validare" }, h("div", null, h("h1", { class: "text-center" }, this.title), errorBlock == null ? h("p", { class: "main-text font-size-2 mt-15 mb-20 text-center" }, this.details) : errorBlock), inputBlock, 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" }, PhoneValidationValues.FooterText))))));
97
+ return (h("div", { class: "container" }, h("div", { class: "row row-validare" }, h("div", null, h("h1", { class: "text-center" }, this.title), errorBlock == null ? h("p", { class: "main-text font-size-2 mt-15 mb-20 text-center" }, this.details) : errorBlock), inputBlock, 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.baseComponent.translations.GlobalValues.FooterText))))));
99
98
  }
100
99
  static get is() { return "sms-code-validation"; }
101
100
  static get originalStyleUrls() {
@@ -71,6 +71,7 @@ export class IdentificationComponent {
71
71
  this.env = undefined;
72
72
  this.redirect_id = undefined;
73
73
  this.phone_number = undefined;
74
+ this.lang_iso = undefined;
74
75
  this.idSide = '';
75
76
  this.errorMessage = undefined;
76
77
  this.errorTitle = undefined;
@@ -103,6 +104,9 @@ export class IdentificationComponent {
103
104
  if (this.phone_number && this.phone_number != '') {
104
105
  store.phoneNumber = this.phone_number;
105
106
  }
107
+ if (this.lang_iso && this.lang_iso != '') {
108
+ store.langIso = this.lang_iso;
109
+ }
106
110
  var ini = sessionStorage.getItem(SessionKeys.InitialisedKey);
107
111
  if (ini && ini.toLowerCase() == 'true') {
108
112
  store.initialised = true;
@@ -347,6 +351,23 @@ export class IdentificationComponent {
347
351
  },
348
352
  "attribute": "phone_number",
349
353
  "reflect": true
354
+ },
355
+ "lang_iso": {
356
+ "type": "string",
357
+ "mutable": true,
358
+ "complexType": {
359
+ "original": "string",
360
+ "resolved": "string",
361
+ "references": {}
362
+ },
363
+ "required": false,
364
+ "optional": false,
365
+ "docs": {
366
+ "tags": [],
367
+ "text": ""
368
+ },
369
+ "attribute": "lang_iso",
370
+ "reflect": true
350
371
  }
351
372
  };
352
373
  }
@@ -0,0 +1,37 @@
1
+ import store from './store';
2
+ class TranslationsController {
3
+ async getValues() {
4
+ if (this.values) {
5
+ return this.values;
6
+ }
7
+ else {
8
+ this.values = await this.fetchTranslations();
9
+ return this.values;
10
+ }
11
+ }
12
+ getLocale(element = document.body) {
13
+ const closestElement = element.closest('[lang]');
14
+ return closestElement ? closestElement.lang : store.langIso;
15
+ }
16
+ async fetchTranslations() {
17
+ const locale = this.getLocale();
18
+ const existingTranslations = JSON.parse(sessionStorage.getItem(`i18n.${locale}`));
19
+ if (existingTranslations && Object.keys(existingTranslations).length > 0) {
20
+ return existingTranslations;
21
+ }
22
+ else {
23
+ try {
24
+ const result = await fetch(`/i18n/${locale}.json`);
25
+ if (result.ok) {
26
+ const data = await result.json();
27
+ sessionStorage.setItem(`i18n.${locale}`, JSON.stringify(data));
28
+ return data;
29
+ }
30
+ }
31
+ catch (exception) {
32
+ console.error(`Error loading locale: ${locale}`, exception);
33
+ }
34
+ }
35
+ }
36
+ }
37
+ export const Translations = new TranslationsController();
@@ -19,6 +19,7 @@ const { state, onChange } = createStore({
19
19
  phoneNumber: '',
20
20
  apiBaseUrl: 'https://apiro.id-kyc.com',
21
21
  device: null,
22
+ langIso: 'ro',
22
23
  });
23
24
  onChange('environment', value => {
24
25
  state.debug = value == 'QA';
@@ -1,73 +1,6 @@
1
1
  import store from './store';
2
- export class GlobalValues {
2
+ export class IdCaptureValues {
3
3
  }
4
- GlobalValues.FooterText = 'Qoobiss eKYC';
5
- GlobalValues.VideoLenght = 3100;
6
- export class HowToValues extends GlobalValues {
7
- }
8
- HowToValues.IdTitile = 'Prezintă actul tău de identitate';
9
- HowToValues.IdSubTitileFace = 'Este necesară captarea actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.';
10
- HowToValues.IdSubTitileBack = 'Este necesară captarea pe verso a actului de identitate. Urmează intrucțiunile ce vor fi afișate pe ecran.';
11
- HowToValues.IdButton = 'Sunt gata!';
12
- HowToValues.SelfieTitile = 'Validare video';
13
- HowToValues.SelfieSubTitile = 'Este necesară realizarea unei înregistrări video. Respectă intrucțiunile ce vor fi afișate pe ecran.';
14
- HowToValues.SelfieButton = 'Sunt gata!';
15
- export class LandingValues extends GlobalValues {
16
- }
17
- LandingValues.Title = 'Validarea identității la distanță este o procedură simplă și rapidă';
18
- LandingValues.Description = 'Asigură-te că ai:';
19
- LandingValues.IdInfo = 'Actul de identitate, în original';
20
- LandingValues.DeviceInfo = 'Un telefon mobil sau un calculator cu camera web';
21
- LandingValues.SmsInfo = 'Acces la un telefon mobil ce permite primirea de mesaje SMS';
22
- LandingValues.Warning = 'ATENȚIE! În cadrul acestui proces se poate utiliza doar cartea de identitate Românească.';
23
- LandingValues.WarningMd = 'ATENȚIE! In cadrul acestui proces se pot utiliza doar buletinele de identitate din Republica Moldova.';
24
- LandingValues.Terms = 'Prin continuarea procesului, confirmi că ai citit termenii de utilizare și ești de acord cu aceștia.';
25
- LandingValues.Button = 'Am înțeles';
26
- LandingValues.ButtonLeave = 'Nu sunt pregătit';
27
- export class PhoneValidationValues extends GlobalValues {
28
- }
29
- PhoneValidationValues.Title = 'Este necesar să validăm numărul tău de telefon';
30
- PhoneValidationValues.Description = 'Introdu mai jos numarul tau de telefon:';
31
- PhoneValidationValues.Button = 'Trimite SMS de verificare';
32
- PhoneValidationValues.Label = 'Numarul tau de telefon';
33
- export class CodeValidationValues extends GlobalValues {
34
- }
35
- CodeValidationValues.Title = 'Introdu codul de validare primit prin sms:';
36
- CodeValidationValues.Description = ' ';
37
- CodeValidationValues.Button = 'Validează';
38
- CodeValidationValues.Error = 'Codul introdus nu este valid. Asigură-te că îl introduci corect';
39
- export class CompleteValues extends GlobalValues {
40
- }
41
- CompleteValues.Title = 'Procesul a fost finalizat.';
42
- CompleteValues.Description = 'Vei fi redirecționat în câteva momente.';
43
- CompleteValues.Message = 'Îți mulțumim!';
44
- export class SessionKeys {
45
- }
46
- SessionKeys.FlowStatusKey = 'qbs-ect-flowstatus';
47
- SessionKeys.RequestIdKey = 'qbs-ect-requestid';
48
- SessionKeys.TokenKey = 'qbs-ect-token';
49
- SessionKeys.InitialisedKey = 'qbs-ect-initialised';
50
- SessionKeys.HasIdBackKey = 'qbs-ect-has-id-back';
51
- SessionKeys.AgreementValidationKey = 'qbs-ect-agreement-validation';
52
- SessionKeys.PhoneValidationKey = 'qbs-ect-phone-validation';
53
- SessionKeys.RefreshDoneKey = 'qbs-ect-refresh-done';
54
- export class IdCaptureValues extends GlobalValues {
55
- }
56
- IdCaptureValues.Button = 'Încerc din nou';
57
- IdCaptureValues.Title = 'Încadrează actul de identitate în chenarul de pe ecran.';
58
- IdCaptureValues.TitleBack = 'Încadrează spatele actului de identitate în chenarul de pe ecran.';
59
- IdCaptureValues.TtileRotate = 'Întoarce actul de identitate.';
60
- IdCaptureValues.ErrorTitleR1 = 'Nu am putut colecta informațiile din actul de identitate!';
61
- IdCaptureValues.ErrorTitleR2 = 'Te rugăm să mai încerci o dată!';
62
- IdCaptureValues.ErrorR1 = 'Încadrează actul de identitate în așa fel încât chenarul să se potrivească perfect pe colțurile actului de identitate. Trebuie să fie vizibilă întreaga suprafață a actului de identitate. ';
63
- IdCaptureValues.ErrorR2 = 'Ai grijă să te afli într-o zonă cu suficientă lumină și să nu acoperi părți ale actului de identitate cu degetele. Ai grijă de asemenea să nu se formeze reflexii de lumină pe suprafața acestuia.';
64
- IdCaptureValues.IDPoseMapping = {
65
- 0: '',
66
- 1: 'Înclină actul de identitate spre spate.',
67
- 2: '',
68
- 3: '',
69
- 4: '',
70
- };
71
4
  IdCaptureValues.IDPoseDemoMapping = {
72
5
  0: 'https://ekyc.blob.core.windows.net/$web/animations/id/id_front.mp4',
73
6
  1: 'https://ekyc.blob.core.windows.net/$web/animations/id/id_front_tilt.mp4',
@@ -75,25 +8,8 @@ IdCaptureValues.IDPoseDemoMapping = {
75
8
  3: 'https://ekyc.blob.core.windows.net/$web/animations/id/id_back.mp4',
76
9
  4: 'https://ekyc.blob.core.windows.net/$web/animations/id/id_back_tilt.mp4',
77
10
  };
78
- IdCaptureValues.Loading = 'Transferăm datele. Asteptați...';
79
- export class SelfieCaptureValues extends GlobalValues {
11
+ export class SelfieCaptureValues {
80
12
  }
81
- SelfieCaptureValues.Title = 'Încadrează fața în chenarul de pe ecran.';
82
- SelfieCaptureValues.FinalTitle = 'Îndreaptă capul și încadrează fața în chenarul de pe ecran.';
83
- SelfieCaptureValues.ErrorTitleR1 = 'Procesul a eșuat!';
84
- SelfieCaptureValues.ErrorTitleR2 = 'Te rugăm să mai încerci o dată!';
85
- SelfieCaptureValues.ErrorR1 = 'Încadrează fața în așa fel încât chenarul să se suprapună peste linia bărbiei și a frunții, exact așa cum vezi în animația de pe ecran. ';
86
- SelfieCaptureValues.ErrorR2 = 'Rămâi cu fața încadrată în chenar și execută gestul solicitat după ce animația cu explicația a dispărut de pe ecran.';
87
- SelfieCaptureValues.Loading = 'Transferăm datele. Asteptați...';
88
- SelfieCaptureValues.FacePoseMapping = {
89
- 0: 'Întoarce capul spre stânga.',
90
- 1: 'Întoarce capul spre dreapta.',
91
- 2: 'Înclină capul spre spate.',
92
- 3: 'Înclină capul în față.',
93
- // 4: 'Înclină capul spre stânga.',
94
- // 5: 'Înclină capul spre dreapta.',
95
- 4: '',
96
- };
97
13
  SelfieCaptureValues.FacePoseDemoMapping = {
98
14
  0: 'https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_left.mp4',
99
15
  1: 'https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_rotate_right.mp4',
@@ -103,16 +19,16 @@ SelfieCaptureValues.FacePoseDemoMapping = {
103
19
  // 5: 'https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_tilt_right.mp4',
104
20
  4: 'https://ekyc.blob.core.windows.net/$web/animations/selfie/selfie_main.mp4',
105
21
  };
106
- export class AgreementInfoValues extends GlobalValues {
107
- }
108
- AgreementInfoValues.Title = 'Pentru începerea identificării avem nevoie de acordurile tale:';
109
- AgreementInfoValues.Button = 'Încep identificarea';
110
- AgreementInfoValues.Terms = 'Am luat la cunoștință și sunt de acord cu Termenii și condițiile generale de utilizare';
111
- AgreementInfoValues.Agreement = 'Îmi exprim acordul pentru prelucrarea datelor cu caracter personal';
112
- export class AgreementCheckValues extends GlobalValues {
22
+ export class SessionKeys {
113
23
  }
114
- AgreementCheckValues.ButtonYes = 'Sunt de acord';
115
- AgreementCheckValues.ButtonNo = 'Nu sunt de acord';
24
+ SessionKeys.FlowStatusKey = 'qbs-ect-flowstatus';
25
+ SessionKeys.RequestIdKey = 'qbs-ect-requestid';
26
+ SessionKeys.TokenKey = 'qbs-ect-token';
27
+ SessionKeys.InitialisedKey = 'qbs-ect-initialised';
28
+ SessionKeys.HasIdBackKey = 'qbs-ect-has-id-back';
29
+ SessionKeys.AgreementValidationKey = 'qbs-ect-agreement-validation';
30
+ SessionKeys.PhoneValidationKey = 'qbs-ect-phone-validation';
31
+ SessionKeys.RefreshDoneKey = 'qbs-ect-refresh-done';
116
32
  export class ApiUrls {
117
33
  constructor() {
118
34
  this.uriEnv = '/';
@@ -130,16 +46,3 @@ export class ApiUrls {
130
46
  this.AbortRequest = this.uriEnv + 'validation/identity/abort';
131
47
  }
132
48
  }
133
- export class MobileRedirectValues extends GlobalValues {
134
- }
135
- MobileRedirectValues.InfoTop = 'Pentru a continua scanați codul de mai jos cu un smartphone.';
136
- MobileRedirectValues.InfoBottom = 'Sau introduceți un număr de telefon pentru a primi link-ul pe smartphone.';
137
- MobileRedirectValues.Validation = 'Număr de telefon invalid!';
138
- MobileRedirectValues.InfoWaiting = 'Așteptăm finalizarea procesului pe smartphone.';
139
- MobileRedirectValues.InfoAborted = 'Procesului de pe smartphone a fost amanat.';
140
- export class CameraErrorValues extends GlobalValues {
141
- }
142
- CameraErrorValues.Title = 'Procesul de indetificare nu poate continua.';
143
- CameraErrorValues.Description = 'Nu am putut detecta nicio camera. Cel mai probabil nu ai acordat drept de acces acestui site, Te rugam sa dai acces si sa apesi butonul de mai jos dupa aceea.';
144
- CameraErrorValues.Button = 'Reincep procesul';
145
- CameraErrorValues.HowToLink = 'https://ekyc.blob.core.windows.net/$web/animations/enable_permissions_sm.mp4';
@@ -0,0 +1 @@
1
+ export {};