@ekyc_qoobiss/qbs-ect-cmp 3.6.63 → 3.6.64

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.63";
5211
+ const version$1 = "3.6.64";
5212
5212
  const description = "Person Identification Component";
5213
5213
  const main = "./dist/index.cjs.js";
5214
5214
  const module$1 = "./dist/index.js";
@@ -5538,11 +5538,30 @@ 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.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 })));
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", { id: "processIdFront", 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", { id: "processIdBack", mode: "back" });
5543
5550
  }
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 })));
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", { id: "processIdTilt", 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", { id: "userLiveness", 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", { id: "userLivenessGesture", mode: "selfieGesture" });
5546
5565
  }
5547
5566
  else if (TranslationUtils.state.flowStatus == TranslationUtils.FlowStatus.COMPLETE) {
5548
5567
  if (TranslationUtils.state.debug)
@@ -189,11 +189,30 @@ export class IdentificationComponent {
189
189
  else if (store.flowStatus == FlowStatus.CODEERROR) {
190
190
  currentBlock = h("sms-code-validation", null);
191
191
  }
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 })));
192
+ else if (store.flowStatus == FlowStatus.IDFRONT) {
193
+ if (store.debug)
194
+ console.log('identification-component | render | IDFRONT');
195
+ currentBlock = h("process-id", { id: "processIdFront", 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", { id: "processIdBack", 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", { id: "processIdTilt", 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", { id: "userLiveness", mode: "selfie" });
194
211
  }
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 })));
212
+ else if (store.flowStatus == FlowStatus.LIVENESSGESTURE) {
213
+ if (store.debug)
214
+ console.log('identification-component | render | LIVENESSGESTURE');
215
+ currentBlock = h("user-liveness", { id: "userLivenessGesture", mode: "selfieGesture" });
197
216
  }
198
217
  else if (store.flowStatus == FlowStatus.COMPLETE) {
199
218
  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.63";
5207
+ const version$1 = "3.6.64";
5208
5208
  const description = "Person Identification Component";
5209
5209
  const main = "./dist/index.cjs.js";
5210
5210
  const module = "./dist/index.js";
@@ -5534,11 +5534,30 @@ const IdentificationComponent = class {
5534
5534
  else if (state.flowStatus == FlowStatus.CODEERROR) {
5535
5535
  currentBlock = h("sms-code-validation", null);
5536
5536
  }
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 })));
5537
+ else if (state.flowStatus == FlowStatus.IDFRONT) {
5538
+ if (state.debug)
5539
+ console.log('identification-component | render | IDFRONT');
5540
+ currentBlock = h("process-id", { id: "processIdFront", 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", { id: "processIdBack", mode: "back" });
5539
5546
  }
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 })));
5547
+ else if (state.flowStatus == FlowStatus.IDTILT) {
5548
+ if (state.debug)
5549
+ console.log('identification-component | render | TILT');
5550
+ currentBlock = h("process-id", { id: "processIdTilt", 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", { id: "userLiveness", 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", { id: "userLivenessGesture", mode: "selfieGesture" });
5542
5561
  }
5543
5562
  else if (state.flowStatus == FlowStatus.COMPLETE) {
5544
5563
  if (state.debug)