@ekyc_qoobiss/qbs-ect-cmp 3.6.85 → 3.6.87

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.
@@ -4854,13 +4854,10 @@ const HowToInfo = class {
4854
4854
  this.subTitle = this.translations.HowToValues.IdSubTitileFace;
4855
4855
  }
4856
4856
  else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDBACKHOWTO) {
4857
- this.imageLoaded = true;
4858
4857
  this.currentStep = TranslationUtils.FlowSteps.CiBackHowTo;
4859
- this.subTitle = '';
4860
4858
  this.topTitle = this.translations.IdCaptureValues.TitleBack;
4861
4859
  this.demoVideo.src = TranslationUtils.IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
4862
4860
  this.demoVideo.play();
4863
- this.showVideo = true;
4864
4861
  await delay(this.translations.GlobalValues.VideoLenght);
4865
4862
  await this.buttonClick();
4866
4863
  }
@@ -4882,7 +4879,7 @@ const HowToInfo = class {
4882
4879
  TranslationUtils.state.flowStatus = await TranslationUtils.ApiCall.instance.GetNextFlowState();
4883
4880
  }
4884
4881
  async componentWillLoad() {
4885
- this.showVideo = false;
4882
+ this.showVideo = TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDBACKHOWTO;
4886
4883
  this.translations = await TranslationUtils.Translations.getValues();
4887
4884
  this.subTitle = '';
4888
4885
  this.buttonEnabled = true;
@@ -5249,7 +5246,7 @@ function v4(options, buf, offset) {
5249
5246
  }
5250
5247
 
5251
5248
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5252
- const version$1 = "3.6.85";
5249
+ const version$1 = "3.6.87";
5253
5250
  const description = "Person Identification Component";
5254
5251
  const main = "./dist/index.cjs.js";
5255
5252
  const module$1 = "./dist/index.js";
@@ -9096,7 +9093,7 @@ const StateTransition = class {
9096
9093
  TranslationUtils.state.flowStatus = await TranslationUtils.ApiCall.instance.GetNextFlowState();
9097
9094
  }
9098
9095
  render() {
9099
- return (index.h("div", { class: "container" }, index.h("div", { class: "row" })));
9096
+ return (index.h("div", { class: "container" }, index.h("div", { class: "row" }, index.h("div", { class: "div-ci align-center" }, index.h("img", { src: loaderSvg })))));
9100
9097
  }
9101
9098
  };
9102
9099
  StateTransition.style = stateTransitionCss;
@@ -37,13 +37,10 @@ export class HowToInfo {
37
37
  this.subTitle = this.translations.HowToValues.IdSubTitileFace;
38
38
  }
39
39
  else if (store.flowStatus == FlowStatus.IDBACKHOWTO) {
40
- this.imageLoaded = true;
41
40
  this.currentStep = FlowSteps.CiBackHowTo;
42
- this.subTitle = '';
43
41
  this.topTitle = this.translations.IdCaptureValues.TitleBack;
44
42
  this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
45
43
  this.demoVideo.play();
46
- this.showVideo = true;
47
44
  await delay(this.translations.GlobalValues.VideoLenght);
48
45
  await this.buttonClick();
49
46
  }
@@ -65,7 +62,7 @@ export class HowToInfo {
65
62
  store.flowStatus = await ApiCall.instance.GetNextFlowState();
66
63
  }
67
64
  async componentWillLoad() {
68
- this.showVideo = false;
65
+ this.showVideo = store.flowStatus == FlowStatus.IDBACKHOWTO;
69
66
  this.translations = await Translations.getValues();
70
67
  this.subTitle = '';
71
68
  this.buttonEnabled = true;
@@ -1,12 +1,14 @@
1
1
  import { h } from '@stencil/core';
2
2
  import store from '../../../helpers/store';
3
3
  import { ApiCall } from '../../../helpers/ApiCall';
4
+ // @ts-ignore
5
+ import loaderImg from '../../../assets/loader.svg';
4
6
  export class StateTransition {
5
7
  async componentWillLoad() {
6
8
  store.flowStatus = await ApiCall.instance.GetNextFlowState();
7
9
  }
8
10
  render() {
9
- return (h("div", { class: "container" }, h("div", { class: "row" })));
11
+ return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "div-ci align-center" }, h("img", { src: loaderImg })))));
10
12
  }
11
13
  static get is() { return "state-transition"; }
12
14
  static get originalStyleUrls() {
@@ -4850,13 +4850,10 @@ const HowToInfo = class {
4850
4850
  this.subTitle = this.translations.HowToValues.IdSubTitileFace;
4851
4851
  }
4852
4852
  else if (state.flowStatus == FlowStatus.IDBACKHOWTO) {
4853
- this.imageLoaded = true;
4854
4853
  this.currentStep = FlowSteps.CiBackHowTo;
4855
- this.subTitle = '';
4856
4854
  this.topTitle = this.translations.IdCaptureValues.TitleBack;
4857
4855
  this.demoVideo.src = IdCaptureValues.IDPoseDemoMapping[IDPose.Rotate];
4858
4856
  this.demoVideo.play();
4859
- this.showVideo = true;
4860
4857
  await delay(this.translations.GlobalValues.VideoLenght);
4861
4858
  await this.buttonClick();
4862
4859
  }
@@ -4878,7 +4875,7 @@ const HowToInfo = class {
4878
4875
  state.flowStatus = await ApiCall.instance.GetNextFlowState();
4879
4876
  }
4880
4877
  async componentWillLoad() {
4881
- this.showVideo = false;
4878
+ this.showVideo = state.flowStatus == FlowStatus.IDBACKHOWTO;
4882
4879
  this.translations = await Translations.getValues();
4883
4880
  this.subTitle = '';
4884
4881
  this.buttonEnabled = true;
@@ -5245,7 +5242,7 @@ function v4(options, buf, offset) {
5245
5242
  }
5246
5243
 
5247
5244
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5248
- const version$1 = "3.6.85";
5245
+ const version$1 = "3.6.87";
5249
5246
  const description = "Person Identification Component";
5250
5247
  const main = "./dist/index.cjs.js";
5251
5248
  const module = "./dist/index.js";
@@ -9092,7 +9089,7 @@ const StateTransition = class {
9092
9089
  state.flowStatus = await ApiCall.instance.GetNextFlowState();
9093
9090
  }
9094
9091
  render() {
9095
- return (h("div", { class: "container" }, h("div", { class: "row" })));
9092
+ return (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: "div-ci align-center" }, h("img", { src: loaderSvg })))));
9096
9093
  }
9097
9094
  };
9098
9095
  StateTransition.style = stateTransitionCss;