@ekyc_qoobiss/qbs-ect-cmp 3.6.62 → 3.6.63

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.
@@ -5208,7 +5208,7 @@ function v4(options, buf, offset) {
5208
5208
  }
5209
5209
 
5210
5210
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5211
- const version$1 = "3.6.62";
5211
+ const version$1 = "3.6.63";
5212
5212
  const description = "Person Identification Component";
5213
5213
  const main = "./dist/index.cjs.js";
5214
5214
  const module$1 = "./dist/index.js";
@@ -5538,30 +5538,11 @@ const IdentificationComponent = class {
5538
5538
  else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.CODEERROR) {
5539
5539
  currentBlock = index.h("sms-code-validation", null);
5540
5540
  }
5541
- else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDFRONT) {
5542
- if (TranslationUtils.state.debug)
5543
- console.log('identification-component | render | IDFRONT');
5544
- currentBlock = index.h("process-id", { mode: "front" });
5545
- }
5546
- else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDBACK) {
5547
- if (TranslationUtils.state.debug)
5548
- console.log('identification-component | render | IDBACK');
5549
- currentBlock = index.h("process-id", { mode: "back" });
5541
+ else if ([TranslationUtils.FlowStatus.IDFRONT, TranslationUtils.FlowStatus.IDBACK, TranslationUtils.FlowStatus.IDTILT].includes(TranslationUtils.state.flowStatus)) {
5542
+ currentBlock = (index.h("div", null, index.h("process-id", { id: "processIdFront", mode: "front", hidden: TranslationUtils.state.flowStatus != TranslationUtils.FlowStatus.IDFRONT }), index.h("process-id", { id: "processIdBack", mode: "back", hidden: TranslationUtils.state.flowStatus != TranslationUtils.FlowStatus.IDBACK }), index.h("process-id", { id: "processIdTilt", mode: "tilt", hidden: TranslationUtils.state.flowStatus != TranslationUtils.FlowStatus.IDTILT })));
5550
5543
  }
5551
- else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.IDTILT) {
5552
- if (TranslationUtils.state.debug)
5553
- console.log('identification-component | render | TILT');
5554
- currentBlock = index.h("process-id", { mode: "tilt" });
5555
- }
5556
- else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESS) {
5557
- if (TranslationUtils.state.debug)
5558
- console.log('identification-component | render | LIVENESS');
5559
- currentBlock = index.h("user-liveness", { mode: "selfie" });
5560
- }
5561
- else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.LIVENESSGESTURE) {
5562
- if (TranslationUtils.state.debug)
5563
- console.log('identification-component | render | LIVENESSGESTURE');
5564
- currentBlock = index.h("user-liveness", { mode: "selfieGesture" });
5544
+ else if ([TranslationUtils.FlowStatus.LIVENESS, TranslationUtils.FlowStatus.LIVENESSGESTURE].includes(TranslationUtils.state.flowStatus)) {
5545
+ currentBlock = (index.h("div", null, index.h("user-liveness", { id: "userLiveness", mode: "selfie", hidden: TranslationUtils.state.flowStatus != TranslationUtils.FlowStatus.LIVENESS }), index.h("user-liveness", { id: "userLivenessGesture", mode: "selfieGesture", hidden: TranslationUtils.state.flowStatus != TranslationUtils.FlowStatus.LIVENESSGESTURE })));
5565
5546
  }
5566
5547
  else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.COMPLETE) {
5567
5548
  if (TranslationUtils.state.debug)
@@ -189,30 +189,11 @@ export class IdentificationComponent {
189
189
  else if (store.flowStatus == FlowStatus.CODEERROR) {
190
190
  currentBlock = h("sms-code-validation", null);
191
191
  }
192
- else if (store.flowStatus == FlowStatus.IDFRONT) {
193
- if (store.debug)
194
- console.log('identification-component | render | IDFRONT');
195
- currentBlock = h("process-id", { mode: "front" });
196
- }
197
- else if (store.flowStatus == FlowStatus.IDBACK) {
198
- if (store.debug)
199
- console.log('identification-component | render | IDBACK');
200
- currentBlock = h("process-id", { mode: "back" });
201
- }
202
- else if (store.flowStatus == FlowStatus.IDTILT) {
203
- if (store.debug)
204
- console.log('identification-component | render | TILT');
205
- currentBlock = h("process-id", { mode: "tilt" });
206
- }
207
- else if (store.flowStatus == FlowStatus.LIVENESS) {
208
- if (store.debug)
209
- console.log('identification-component | render | LIVENESS');
210
- currentBlock = h("user-liveness", { mode: "selfie" });
192
+ else if ([FlowStatus.IDFRONT, FlowStatus.IDBACK, FlowStatus.IDTILT].includes(store.flowStatus)) {
193
+ currentBlock = (h("div", null, h("process-id", { id: "processIdFront", mode: "front", hidden: store.flowStatus != FlowStatus.IDFRONT }), h("process-id", { id: "processIdBack", mode: "back", hidden: store.flowStatus != FlowStatus.IDBACK }), h("process-id", { id: "processIdTilt", mode: "tilt", hidden: store.flowStatus != FlowStatus.IDTILT })));
211
194
  }
212
- else if (store.flowStatus == FlowStatus.LIVENESSGESTURE) {
213
- if (store.debug)
214
- console.log('identification-component | render | LIVENESSGESTURE');
215
- currentBlock = h("user-liveness", { mode: "selfieGesture" });
195
+ else if ([FlowStatus.LIVENESS, FlowStatus.LIVENESSGESTURE].includes(store.flowStatus)) {
196
+ currentBlock = (h("div", null, h("user-liveness", { id: "userLiveness", mode: "selfie", hidden: store.flowStatus != FlowStatus.LIVENESS }), h("user-liveness", { id: "userLivenessGesture", mode: "selfieGesture", hidden: store.flowStatus != FlowStatus.LIVENESSGESTURE })));
216
197
  }
217
198
  else if (store.flowStatus == FlowStatus.COMPLETE) {
218
199
  if (store.debug)
@@ -5204,7 +5204,7 @@ function v4(options, buf, offset) {
5204
5204
  }
5205
5205
 
5206
5206
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5207
- const version$1 = "3.6.62";
5207
+ const version$1 = "3.6.63";
5208
5208
  const description = "Person Identification Component";
5209
5209
  const main = "./dist/index.cjs.js";
5210
5210
  const module = "./dist/index.js";
@@ -5534,30 +5534,11 @@ const IdentificationComponent = class {
5534
5534
  else if (state.flowStatus == FlowStatus.CODEERROR) {
5535
5535
  currentBlock = h("sms-code-validation", null);
5536
5536
  }
5537
- else if (state.flowStatus == FlowStatus.IDFRONT) {
5538
- if (state.debug)
5539
- console.log('identification-component | render | IDFRONT');
5540
- currentBlock = h("process-id", { mode: "front" });
5541
- }
5542
- else if (state.flowStatus == FlowStatus.IDBACK) {
5543
- if (state.debug)
5544
- console.log('identification-component | render | IDBACK');
5545
- currentBlock = h("process-id", { mode: "back" });
5537
+ else if ([FlowStatus.IDFRONT, FlowStatus.IDBACK, FlowStatus.IDTILT].includes(state.flowStatus)) {
5538
+ currentBlock = (h("div", null, h("process-id", { id: "processIdFront", mode: "front", hidden: state.flowStatus != FlowStatus.IDFRONT }), h("process-id", { id: "processIdBack", mode: "back", hidden: state.flowStatus != FlowStatus.IDBACK }), h("process-id", { id: "processIdTilt", mode: "tilt", hidden: state.flowStatus != FlowStatus.IDTILT })));
5546
5539
  }
5547
- else if (state.flowStatus == FlowStatus.IDTILT) {
5548
- if (state.debug)
5549
- console.log('identification-component | render | TILT');
5550
- currentBlock = h("process-id", { mode: "tilt" });
5551
- }
5552
- else if (state.flowStatus == FlowStatus.LIVENESS) {
5553
- if (state.debug)
5554
- console.log('identification-component | render | LIVENESS');
5555
- currentBlock = h("user-liveness", { mode: "selfie" });
5556
- }
5557
- else if (state.flowStatus == FlowStatus.LIVENESSGESTURE) {
5558
- if (state.debug)
5559
- console.log('identification-component | render | LIVENESSGESTURE');
5560
- currentBlock = h("user-liveness", { mode: "selfieGesture" });
5540
+ else if ([FlowStatus.LIVENESS, FlowStatus.LIVENESSGESTURE].includes(state.flowStatus)) {
5541
+ currentBlock = (h("div", null, h("user-liveness", { id: "userLiveness", mode: "selfie", hidden: state.flowStatus != FlowStatus.LIVENESS }), h("user-liveness", { id: "userLivenessGesture", mode: "selfieGesture", hidden: state.flowStatus != FlowStatus.LIVENESSGESTURE })));
5561
5542
  }
5562
5543
  else if (state.flowStatus == FlowStatus.COMPLETE) {
5563
5544
  if (state.debug)