@ekyc_qoobiss/qbs-ect-cmp 3.6.69 → 3.6.71

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.
@@ -4834,21 +4834,6 @@ const HowToInfo = class {
4834
4834
  this.imageLoaded = undefined;
4835
4835
  }
4836
4836
  async componentDidLoad() {
4837
- await BaseComponent.initialize(this.currentStep);
4838
- }
4839
- async disconnectedCallback() {
4840
- await BaseComponent.finalize(this.currentStep);
4841
- }
4842
- async buttonClick() {
4843
- this.buttonEnabled = false;
4844
- TranslationUtils.state.flowStatus = await TranslationUtils.ApiCall.instance.GetNextFlowState();
4845
- }
4846
- async componentWillLoad() {
4847
- this.showVideo = false;
4848
- this.translations = await TranslationUtils.Translations.getValues();
4849
- this.subTitle = '';
4850
- this.buttonEnabled = true;
4851
- this.buttonText = this.translations.HowToValues.IdButton;
4852
4837
  if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDFRONTHOWTO) {
4853
4838
  this.imageLoaded = false;
4854
4839
  this.topTitle = this.translations.HowToValues.IdTitile;
@@ -4875,6 +4860,21 @@ const HowToInfo = class {
4875
4860
  this.loadImage('https://ekyc.blob.core.windows.net/$web/howto_selfie.png');
4876
4861
  this.buttonText = this.translations.HowToValues.SelfieButton;
4877
4862
  }
4863
+ await BaseComponent.initialize(this.currentStep);
4864
+ }
4865
+ async disconnectedCallback() {
4866
+ await BaseComponent.finalize(this.currentStep);
4867
+ }
4868
+ async buttonClick() {
4869
+ this.buttonEnabled = false;
4870
+ TranslationUtils.state.flowStatus = await TranslationUtils.ApiCall.instance.GetNextFlowState();
4871
+ }
4872
+ async componentWillLoad() {
4873
+ this.showVideo = false;
4874
+ this.translations = await TranslationUtils.Translations.getValues();
4875
+ this.subTitle = '';
4876
+ this.buttonEnabled = true;
4877
+ this.buttonText = this.translations.HowToValues.IdButton;
4878
4878
  }
4879
4879
  render() {
4880
4880
  return (index.h("div", { class: "container" }, index.h("div", { class: "row", hidden: TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESSGESTUREHOWTO || this.imageLoaded == false }, index.h("div", { class: "div-ci align-center", hidden: this.showVideo }, index.h("img", { ref: el => (this.image = el) })), index.h("div", { hidden: this.showVideo == false }, index.h("video", { id: "howTo", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, index.h("source", { type: "video/mp4" }))), index.h("div", { class: "text-center" }, index.h("h1", null, this.topTitle), index.h("p", { class: "font-size-2", hidden: this.subTitle == '' }, this.subTitle)), index.h("div", { class: "pos-relative show-bottom" }, index.h("div", { class: "btn-buletin" }, index.h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(), hidden: this.showVideo == true }, this.buttonText), index.h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
@@ -5236,7 +5236,7 @@ function v4(options, buf, offset) {
5236
5236
  }
5237
5237
 
5238
5238
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5239
- const version$1 = "3.6.69";
5239
+ const version$1 = "3.6.71";
5240
5240
  const description = "Person Identification Component";
5241
5241
  const main = "./dist/index.cjs.js";
5242
5242
  const module$1 = "./dist/index.js";
@@ -28,21 +28,6 @@ export class HowToInfo {
28
28
  this.imageLoaded = undefined;
29
29
  }
30
30
  async componentDidLoad() {
31
- await BaseComponent.initialize(this.currentStep);
32
- }
33
- async disconnectedCallback() {
34
- await BaseComponent.finalize(this.currentStep);
35
- }
36
- async buttonClick() {
37
- this.buttonEnabled = false;
38
- store.flowStatus = await ApiCall.instance.GetNextFlowState();
39
- }
40
- async componentWillLoad() {
41
- this.showVideo = false;
42
- this.translations = await Translations.getValues();
43
- this.subTitle = '';
44
- this.buttonEnabled = true;
45
- this.buttonText = this.translations.HowToValues.IdButton;
46
31
  if (store.flowStatus == FlowStatus.IDFRONTHOWTO) {
47
32
  this.imageLoaded = false;
48
33
  this.topTitle = this.translations.HowToValues.IdTitile;
@@ -69,6 +54,21 @@ export class HowToInfo {
69
54
  this.loadImage('https://ekyc.blob.core.windows.net/$web/howto_selfie.png');
70
55
  this.buttonText = this.translations.HowToValues.SelfieButton;
71
56
  }
57
+ await BaseComponent.initialize(this.currentStep);
58
+ }
59
+ async disconnectedCallback() {
60
+ await BaseComponent.finalize(this.currentStep);
61
+ }
62
+ async buttonClick() {
63
+ this.buttonEnabled = false;
64
+ store.flowStatus = await ApiCall.instance.GetNextFlowState();
65
+ }
66
+ async componentWillLoad() {
67
+ this.showVideo = false;
68
+ this.translations = await Translations.getValues();
69
+ this.subTitle = '';
70
+ this.buttonEnabled = true;
71
+ this.buttonText = this.translations.HowToValues.IdButton;
72
72
  }
73
73
  render() {
74
74
  return (h("div", { class: "container" }, h("div", { class: "row", hidden: store.flowStatus == FlowStatus.LIVENESSGESTUREHOWTO || this.imageLoaded == false }, h("div", { class: "div-ci align-center", hidden: this.showVideo }, h("img", { ref: el => (this.image = el) })), h("div", { hidden: this.showVideo == false }, h("video", { id: "howTo", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { class: "text-center" }, h("h1", null, this.topTitle), h("p", { class: "font-size-2", hidden: this.subTitle == '' }, this.subTitle)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(), hidden: this.showVideo == true }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
@@ -4830,21 +4830,6 @@ const HowToInfo = class {
4830
4830
  this.imageLoaded = undefined;
4831
4831
  }
4832
4832
  async componentDidLoad() {
4833
- await BaseComponent.initialize(this.currentStep);
4834
- }
4835
- async disconnectedCallback() {
4836
- await BaseComponent.finalize(this.currentStep);
4837
- }
4838
- async buttonClick() {
4839
- this.buttonEnabled = false;
4840
- state.flowStatus = await ApiCall.instance.GetNextFlowState();
4841
- }
4842
- async componentWillLoad() {
4843
- this.showVideo = false;
4844
- this.translations = await Translations.getValues();
4845
- this.subTitle = '';
4846
- this.buttonEnabled = true;
4847
- this.buttonText = this.translations.HowToValues.IdButton;
4848
4833
  if (state.flowStatus == FlowStatus.IDFRONTHOWTO) {
4849
4834
  this.imageLoaded = false;
4850
4835
  this.topTitle = this.translations.HowToValues.IdTitile;
@@ -4871,6 +4856,21 @@ const HowToInfo = class {
4871
4856
  this.loadImage('https://ekyc.blob.core.windows.net/$web/howto_selfie.png');
4872
4857
  this.buttonText = this.translations.HowToValues.SelfieButton;
4873
4858
  }
4859
+ await BaseComponent.initialize(this.currentStep);
4860
+ }
4861
+ async disconnectedCallback() {
4862
+ await BaseComponent.finalize(this.currentStep);
4863
+ }
4864
+ async buttonClick() {
4865
+ this.buttonEnabled = false;
4866
+ state.flowStatus = await ApiCall.instance.GetNextFlowState();
4867
+ }
4868
+ async componentWillLoad() {
4869
+ this.showVideo = false;
4870
+ this.translations = await Translations.getValues();
4871
+ this.subTitle = '';
4872
+ this.buttonEnabled = true;
4873
+ this.buttonText = this.translations.HowToValues.IdButton;
4874
4874
  }
4875
4875
  render() {
4876
4876
  return (h("div", { class: "container" }, h("div", { class: "row", hidden: state.flowStatus == FlowStatus.LIVENESSGESTUREHOWTO || this.imageLoaded == false }, h("div", { class: "div-ci align-center", hidden: this.showVideo }, h("img", { ref: el => (this.image = el) })), h("div", { hidden: this.showVideo == false }, h("video", { id: "howTo", class: "video-demo", playsinline: true, ref: el => (this.demoVideo = el) }, h("source", { type: "video/mp4" }))), h("div", { class: "text-center" }, h("h1", null, this.topTitle), h("p", { class: "font-size-2", hidden: this.subTitle == '' }, this.subTitle)), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("button", { class: "main-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(), hidden: this.showVideo == true }, this.buttonText), h("p", { class: "main-text font-size-18 text-right mb-0" }, this.translations.GlobalValues.FooterText))))));
@@ -5232,7 +5232,7 @@ function v4(options, buf, offset) {
5232
5232
  }
5233
5233
 
5234
5234
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5235
- const version$1 = "3.6.69";
5235
+ const version$1 = "3.6.71";
5236
5236
  const description = "Person Identification Component";
5237
5237
  const main = "./dist/index.cjs.js";
5238
5238
  const module = "./dist/index.js";