@ekyc_qoobiss/qbs-ect-cmp 3.6.22 → 3.6.24

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 (29) hide show
  1. package/dist/cjs/agreement-check_19.cjs.entry.js +16 -73
  2. package/dist/cjs/{index-5a2f79d6.js → index-41696e0e.js} +2 -2
  3. package/dist/cjs/loader-dots.cjs.entry.js +1 -1
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/qbs-ect-cmp.cjs.js +2 -2
  6. package/dist/cjs/random-actions.cjs.entry.js +2 -2
  7. package/dist/cjs/{store-22495cb2.js → store-4bf93725.js} +1 -1
  8. package/dist/collection/components/common/agreement-check/agreement-check.js +0 -17
  9. package/dist/collection/components/flow/process-id/process-id.js +5 -2
  10. package/dist/collection/components/identification-component/identification-component.js +12 -67
  11. package/dist/collection/helpers/Cameras.js +1 -1
  12. package/dist/collection/helpers/Stream.js +3 -0
  13. package/dist/collection/libs/FaceML5Detector/FaceML5Detector.js +1 -1
  14. package/dist/esm/agreement-check_19.entry.js +16 -73
  15. package/dist/esm/{index-4200f19f.js → index-cf54a432.js} +2 -2
  16. package/dist/esm/loader-dots.entry.js +1 -1
  17. package/dist/esm/loader.js +3 -3
  18. package/dist/esm/qbs-ect-cmp.js +3 -3
  19. package/dist/esm/random-actions.entry.js +2 -2
  20. package/dist/esm/{store-bb904914.js → store-b76678da.js} +1 -1
  21. package/dist/qbs-ect-cmp/{p-e0d47cd7.entry.js → p-054dc5b3.entry.js} +1 -1
  22. package/dist/qbs-ect-cmp/{p-e9a32f21.entry.js → p-0a37620f.entry.js} +1 -1
  23. package/dist/qbs-ect-cmp/{p-074f8d20.js → p-27abb3e6.js} +1 -1
  24. package/dist/qbs-ect-cmp/{p-5d1f8d2b.entry.js → p-5fa1b4bf.entry.js} +2 -2
  25. package/dist/qbs-ect-cmp/{p-747d8834.js → p-8942656c.js} +1 -1
  26. package/dist/qbs-ect-cmp/qbs-ect-cmp.esm.js +1 -1
  27. package/dist/types/components/common/agreement-check/agreement-check.d.ts +0 -1
  28. package/dist/types/components/identification-component/identification-component.d.ts +1 -5
  29. package/package.json +1 -1
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a2f79d6.js');
6
- const store = require('./store-22495cb2.js');
5
+ const index = require('./index-41696e0e.js');
6
+ const store = require('./store-4bf93725.js');
7
7
 
8
8
  var OrderStatuses;
9
9
  (function (OrderStatuses) {
@@ -290,14 +290,6 @@ const AgreementCheck = class {
290
290
  this.buttonEnabled = false;
291
291
  this.agreementAcceptance.emit({ agreementType: this.agreementType, result });
292
292
  }
293
- handleScroll(ev) {
294
- if (ev.target.offsetHeight + ev.target.scrollTop >= ev.target.scrollHeight) {
295
- this.scrollClass = 'scroll-full';
296
- }
297
- else {
298
- this.scrollClass = 'scroll';
299
- }
300
- }
301
293
  render() {
302
294
  let content = (index.h("div", { class: "container" }, index.h("div", { class: "row" }, index.h("div", { class: this.scrollClass, innerHTML: this.htmlContent }), index.h("div", { class: "pos-relative show-bottom" }, index.h("div", { class: "btn-buletin" }, index.h("div", { class: "d-flex two-buttons" }, index.h("button", { class: "normal-button red-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(false) }, store.AgreementCheckValues.ButtonNo), index.h("button", { class: "normal-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(true) }, store.AgreementCheckValues.ButtonYes)), index.h("p", { class: "main-text font-size-18 text-right mb-0" }, store.AgreementInfoValues.FooterText))))));
303
295
  return this.htmlContent ? content : index.h("div", null);
@@ -2169,7 +2161,7 @@ class FaceML5Detector {
2169
2161
  if (this.validFaceFound || this.validFacePose) {
2170
2162
  if (this.start == null)
2171
2163
  this.start = Date.now();
2172
- if (Date.now() > this.start + 2000) {
2164
+ if (Date.now() > this.start + 500) {
2173
2165
  this.continue = false;
2174
2166
  this.stream.verificationReady();
2175
2167
  }
@@ -4900,6 +4892,9 @@ class Stream {
4900
4892
  if (this.stream)
4901
4893
  this.stream.getTracks().forEach((track) => track.stop());
4902
4894
  this.stream = stream;
4895
+ if (!this.videoElement || this.videoElement == null) {
4896
+ return;
4897
+ }
4903
4898
  if ('srcObject' in this.videoElement) {
4904
4899
  this.videoElement.srcObject = stream;
4905
4900
  }
@@ -5369,7 +5364,7 @@ class Cameras {
5369
5364
  }
5370
5365
  GetConstraints(selectedDeviceId, device, portrait = false) {
5371
5366
  let constraints = {
5372
- audio: false,
5367
+ audio: true,
5373
5368
  };
5374
5369
  let mediaTrack = {
5375
5370
  frameRate: 30,
@@ -5835,7 +5830,7 @@ function v4(options, buf, offset) {
5835
5830
  }
5836
5831
 
5837
5832
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5838
- const version$1 = "3.6.22";
5833
+ const version$1 = "3.6.24";
5839
5834
  const description = "Person Identification Component";
5840
5835
  const main = "./dist/index.cjs.js";
5841
5836
  const module$1 = "./dist/index.js";
@@ -5917,58 +5912,6 @@ const IdentificationComponent = class {
5917
5912
  }
5918
5913
  if (store.state.token !== newValue) {
5919
5914
  store.state.token = newValue;
5920
- await this.initializeRequest();
5921
- }
5922
- }
5923
- async onOrderIdChange(newValue, _oldValue) {
5924
- if (store.state.debug)
5925
- console.log('OrderId change called with value: ' + newValue);
5926
- if (store.state.requestId !== newValue && newValue != '') {
5927
- store.state.requestId = newValue;
5928
- store.state.initialised = false;
5929
- await this.initializeRequest();
5930
- if (store.state.flowStatus != store.FlowStatus.LANDING && store.state.flowStatus != store.FlowStatus.NONE) {
5931
- store.state.flowStatus = store.FlowStatus.LANDING;
5932
- }
5933
- }
5934
- }
5935
- onApiUrlChange(newValue, _oldValue) {
5936
- if (store.state.apiBaseUrl != '') {
5937
- newValue = store.state.apiBaseUrl;
5938
- return;
5939
- }
5940
- if (store.state.apiBaseUrl !== newValue) {
5941
- store.state.apiBaseUrl = newValue;
5942
- }
5943
- }
5944
- onEnvChange(newValue, _oldValue) {
5945
- if (store.state.environment != '') {
5946
- newValue = store.state.environment;
5947
- return;
5948
- }
5949
- if (store.state.environment !== newValue) {
5950
- store.state.environment = newValue;
5951
- }
5952
- }
5953
- async onRedirectIdChange(newValue, _oldValue) {
5954
- if (store.state.debug)
5955
- console.log('RedirectId change called with value: ' + newValue);
5956
- if (store.state.redirectId != '') {
5957
- newValue = store.state.redirectId;
5958
- return;
5959
- }
5960
- if (store.state.redirectId !== newValue) {
5961
- store.state.redirectId = newValue;
5962
- }
5963
- await this.initializeRequest();
5964
- }
5965
- async onPhoneChange(newValue, _oldValue) {
5966
- if (store.state.phoneNumber != '') {
5967
- newValue = store.state.phoneNumber;
5968
- return;
5969
- }
5970
- if (store.state.phoneNumber !== newValue) {
5971
- store.state.phoneNumber = newValue;
5972
5915
  }
5973
5916
  }
5974
5917
  agreementAcceptanceEmitted(data) {
@@ -6003,6 +5946,8 @@ const IdentificationComponent = class {
6003
5946
  Events.flowError(this.errorTitle);
6004
5947
  store.state.flowStatus = store.FlowStatus.ERROREND;
6005
5948
  }
5949
+ handleScroll(ev) {
5950
+ }
6006
5951
  constructor(hostRef) {
6007
5952
  index.registerInstance(this, hostRef);
6008
5953
  this.logInit = {};
@@ -6175,12 +6120,7 @@ const IdentificationComponent = class {
6175
6120
  return index.h("div", null, currentBlock);
6176
6121
  }
6177
6122
  static get watchers() { return {
6178
- "token": ["onTokenChange"],
6179
- "order_id": ["onOrderIdChange"],
6180
- "api_url": ["onApiUrlChange"],
6181
- "env": ["onEnvChange"],
6182
- "redirect_id": ["onRedirectIdChange"],
6183
- "phone_number": ["onPhoneChange"]
6123
+ "token": ["onTokenChange"]
6184
6124
  }; }
6185
6125
  };
6186
6126
  IdentificationComponent.style = identificationComponentCss;
@@ -9384,14 +9324,17 @@ const ProcessId = class {
9384
9324
  let frontRec = new File([idRecording], this.flow.front.recName + mimeType.extension, { type: mimeType.type });
9385
9325
  this.flow.front.recordingDone = await this.uploadRecording(this.flow.front.recType, frontRec);
9386
9326
  }
9387
- if (this.captureStep == IdCaptureFlowStatus.IdBack) {
9327
+ else if (this.captureStep == IdCaptureFlowStatus.IdBack) {
9388
9328
  let backRec = new File([idRecording], this.flow.back.recName + mimeType.extension, { type: mimeType.type });
9389
9329
  this.flow.back.recordingDone = await this.uploadRecording(this.flow.back.recType, backRec);
9390
9330
  }
9391
- if (this.captureStep == IdCaptureFlowStatus.Tilt) {
9331
+ else if (this.captureStep == IdCaptureFlowStatus.Tilt) {
9392
9332
  let tiltRec = new File([idRecording], this.flow.tilt.recName + mimeType.extension, { type: mimeType.type });
9393
9333
  this.flow.tilt.recordingDone = await this.uploadRecording(this.flow.tilt.recType, tiltRec);
9394
9334
  }
9335
+ else {
9336
+ this.triggerErrorFlow(true);
9337
+ }
9395
9338
  await this.endFlow();
9396
9339
  this.recordingResultCount = 0;
9397
9340
  }
@@ -1442,8 +1442,8 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
1442
1442
  }
1443
1443
  };
1444
1444
  const getHostListenerTarget = (elm, flags) => {
1445
- if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
1446
- return doc.body;
1445
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
1446
+ return win;
1447
1447
  return elm;
1448
1448
  };
1449
1449
  // prettier-ignore
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a2f79d6.js');
5
+ const index = require('./index-41696e0e.js');
6
6
 
7
7
  const loaderDotsCss = "i,i::before,i::after{animation-duration:0.5s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}body{font-family:sans-serif}i{width:300px;height:75px;margin:auto;display:block;background:no-repeat;background-image:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0)), radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));background-size:75px 75px;background-position:0%, 50%;position:relative;transform:translateZ(0) scale(0.25);animation-name:slide}i::before,i::after{content:'';width:75px;height:75px;background:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));position:absolute;top:50%;margin-top:-37.5px;animation-name:reveal}i::before{left:1%;animation-delay:40ms}i::after{right:1%;animation-direction:reverse}@keyframes slide{from{background-position:0%, 50%}to{background-position:50%, 100%}}@keyframes reveal{from{transform:scale(0.001)}to{transform:scale(1)}}";
8
8
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a2f79d6.js');
5
+ const index = require('./index-41696e0e.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Esm v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -14,7 +14,7 @@ const patchEsm = () => {
14
14
  const defineCustomElements = (win, options) => {
15
15
  if (typeof window === 'undefined') return Promise.resolve();
16
16
  return patchEsm().then(() => {
17
- return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]},[[17,"scroll","handleScroll"]]],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
17
+ return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
18
18
  });
19
19
  };
20
20
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a2f79d6.js');
5
+ const index = require('./index-41696e0e.js');
6
6
 
7
7
  /*
8
8
  Stencil Client Patch Browser v2.22.3 | MIT Licensed | https://stenciljs.com
@@ -17,7 +17,7 @@ const patchBrowser = () => {
17
17
  };
18
18
 
19
19
  patchBrowser().then(options => {
20
- return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]},[[17,"scroll","handleScroll"]]],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
20
+ return index.bootstrapLazy([["loader-dots.cjs",[[1,"loader-dots"]]],["random-actions.cjs",[[0,"random-actions"]]],["agreement-check_19.cjs",[[1,"identification-component",{"token":[1537],"order_id":[1537],"api_url":[1537],"env":[1537],"redirect_id":[1537],"phone_number":[1537],"idSide":[32],"errorMessage":[32],"errorTitle":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"],[0,"apiError","apiErrorEmitter"],[9,"scroll","handleScroll"]]],[0,"process-id",{"captureStep":[32],"showTimeout":[32],"showInvalid":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoIdCapture","captureIdImage"],[0,"photoIdBackCapture","captureIdBackImage"],[0,"recordingIdCapture","capturedIdRecording"]]],[0,"user-liveness",{"showError":[32],"captureStep":[32],"flow":[32]},[[0,"howToInfoDone","howToDone"],[0,"timeElapsed","timeElapsed"],[0,"captureErrorDone","captureErrorDone"],[0,"photoSelfieCapture","captureSelfieImage"],[0,"recordingSelfieCapture","capturedSelfieRecording"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-info",{"agreementsChecked":[32],"termsChecked":[32],"openAgreements":[32],"openTerms":[32]},[[0,"agreementAcceptance","agreementAcceptanceEmitted"]]],[0,"camera-error",{"title":[32],"description":[32],"buttonDisabled":[32],"demoVideo":[32]}],[0,"end-redirect"],[0,"error-end",{"message":[1],"errorTitle":[1,"error-title"]}],[0,"landing-validation",{"warningText":[32],"buttonDisabled":[32]}],[0,"mobile-redirect",{"infoTextTop":[32],"infoTextBottom":[32],"contact":[32],"invalidValue":[32],"waitingMobile":[32],"orderStatus":[32],"redirectLink":[32],"qrCode":[32],"prefilledPhone":[32]}],[0,"sms-code-validation",{"title":[32],"details":[32],"buttonText":[32],"phoneNumber":[32],"code":[32],"prefilledPhone":[32],"canSend":[32]}],[0,"id-back-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"verificationFinished","verificationFinished"],[0,"takePhoto","takePhoto"]]],[0,"id-capture",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"id-tilt",{"videoStarted":[32],"cameraSize":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"showDemo":[32],"demoVideo":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-capture",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"selfie-tilt",{"videoStarted":[32],"captureTaken":[32],"verified":[32],"titleMesage":[32],"demoEnded":[32],"demoVideo":[32],"uploadingLink":[32],"captureHeight":[32],"captureWidth":[32]},[[0,"videoStarted","eventVideoStarted"],[0,"takePhoto","takePhoto"],[0,"verificationFinished","verificationFinished"]]],[0,"agreement-check",{"agreementType":[1,"agreement-type"],"htmlContent":[32],"buttonEnabled":[32],"scrollClass":[32]}],[0,"capture-error",{"type":[1],"buttonEnabled":[32],"buttonText":[32]}],[0,"how-to-info",{"idSide":[1,"id-side"],"topTitle":[32],"subTitle":[32],"imagePath":[32],"buttonText":[32],"buttonEnabled":[32]}],[0,"camera-comp",{"modelPath":[1,"model-path"],"probabilityThreshold":[2,"probability-threshold"],"captureMode":[1,"capture-mode"]}]]]], options);
21
21
  });
22
22
 
23
23
  exports.setNonce = index.setNonce;
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-5a2f79d6.js');
6
- const store = require('./store-22495cb2.js');
5
+ const index = require('./index-41696e0e.js');
6
+ const store = require('./store-4bf93725.js');
7
7
 
8
8
  const randomActionsCss = "";
9
9
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const index = require('./index-5a2f79d6.js');
3
+ const index = require('./index-41696e0e.js');
4
4
 
5
5
  const appendToMap = (map, propName, value) => {
6
6
  const items = map.get(propName);
@@ -22,14 +22,6 @@ export class AgreementCheck {
22
22
  this.buttonEnabled = false;
23
23
  this.agreementAcceptance.emit({ agreementType: this.agreementType, result });
24
24
  }
25
- handleScroll(ev) {
26
- if (ev.target.offsetHeight + ev.target.scrollTop >= ev.target.scrollHeight) {
27
- this.scrollClass = 'scroll-full';
28
- }
29
- else {
30
- this.scrollClass = 'scroll';
31
- }
32
- }
33
25
  render() {
34
26
  let content = (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: this.scrollClass, innerHTML: this.htmlContent }), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("div", { class: "d-flex two-buttons" }, h("button", { class: "normal-button red-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(false) }, AgreementCheckValues.ButtonNo), h("button", { class: "normal-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(true) }, AgreementCheckValues.ButtonYes)), h("p", { class: "main-text font-size-18 text-right mb-0" }, AgreementInfoValues.FooterText))))));
35
27
  return this.htmlContent ? content : h("div", null);
@@ -106,13 +98,4 @@ export class AgreementCheck {
106
98
  }
107
99
  }];
108
100
  }
109
- static get listeners() {
110
- return [{
111
- "name": "scroll",
112
- "method": "handleScroll",
113
- "target": "body",
114
- "capture": false,
115
- "passive": true
116
- }];
117
- }
118
101
  }
@@ -120,14 +120,17 @@ export class ProcessId {
120
120
  let frontRec = new File([idRecording], this.flow.front.recName + mimeType.extension, { type: mimeType.type });
121
121
  this.flow.front.recordingDone = await this.uploadRecording(this.flow.front.recType, frontRec);
122
122
  }
123
- if (this.captureStep == IdCaptureFlowStatus.IdBack) {
123
+ else if (this.captureStep == IdCaptureFlowStatus.IdBack) {
124
124
  let backRec = new File([idRecording], this.flow.back.recName + mimeType.extension, { type: mimeType.type });
125
125
  this.flow.back.recordingDone = await this.uploadRecording(this.flow.back.recType, backRec);
126
126
  }
127
- if (this.captureStep == IdCaptureFlowStatus.Tilt) {
127
+ else if (this.captureStep == IdCaptureFlowStatus.Tilt) {
128
128
  let tiltRec = new File([idRecording], this.flow.tilt.recName + mimeType.extension, { type: mimeType.type });
129
129
  this.flow.tilt.recordingDone = await this.uploadRecording(this.flow.tilt.recType, tiltRec);
130
130
  }
131
+ else {
132
+ this.triggerErrorFlow(true);
133
+ }
131
134
  await this.endFlow();
132
135
  this.recordingResultCount = 0;
133
136
  }
@@ -22,58 +22,6 @@ export class IdentificationComponent {
22
22
  }
23
23
  if (store.token !== newValue) {
24
24
  store.token = newValue;
25
- await this.initializeRequest();
26
- }
27
- }
28
- async onOrderIdChange(newValue, _oldValue) {
29
- if (store.debug)
30
- console.log('OrderId change called with value: ' + newValue);
31
- if (store.requestId !== newValue && newValue != '') {
32
- store.requestId = newValue;
33
- store.initialised = false;
34
- await this.initializeRequest();
35
- if (store.flowStatus != FlowStatus.LANDING && store.flowStatus != FlowStatus.NONE) {
36
- store.flowStatus = FlowStatus.LANDING;
37
- }
38
- }
39
- }
40
- onApiUrlChange(newValue, _oldValue) {
41
- if (store.apiBaseUrl != '') {
42
- newValue = store.apiBaseUrl;
43
- return;
44
- }
45
- if (store.apiBaseUrl !== newValue) {
46
- store.apiBaseUrl = newValue;
47
- }
48
- }
49
- onEnvChange(newValue, _oldValue) {
50
- if (store.environment != '') {
51
- newValue = store.environment;
52
- return;
53
- }
54
- if (store.environment !== newValue) {
55
- store.environment = newValue;
56
- }
57
- }
58
- async onRedirectIdChange(newValue, _oldValue) {
59
- if (store.debug)
60
- console.log('RedirectId change called with value: ' + newValue);
61
- if (store.redirectId != '') {
62
- newValue = store.redirectId;
63
- return;
64
- }
65
- if (store.redirectId !== newValue) {
66
- store.redirectId = newValue;
67
- }
68
- await this.initializeRequest();
69
- }
70
- async onPhoneChange(newValue, _oldValue) {
71
- if (store.phoneNumber != '') {
72
- newValue = store.phoneNumber;
73
- return;
74
- }
75
- if (store.phoneNumber !== newValue) {
76
- store.phoneNumber = newValue;
77
25
  }
78
26
  }
79
27
  agreementAcceptanceEmitted(data) {
@@ -108,6 +56,12 @@ export class IdentificationComponent {
108
56
  Events.flowError(this.errorTitle);
109
57
  store.flowStatus = FlowStatus.ERROREND;
110
58
  }
59
+ handleScroll(ev) {
60
+ if (ev.target.offsetHeight + ev.target.scrollTop >= ev.target.scrollHeight) {
61
+ }
62
+ else {
63
+ }
64
+ }
111
65
  constructor() {
112
66
  this.logInit = {};
113
67
  this.flowStatusToSet = FlowStatus.NONE;
@@ -407,21 +361,6 @@ export class IdentificationComponent {
407
361
  return [{
408
362
  "propName": "token",
409
363
  "methodName": "onTokenChange"
410
- }, {
411
- "propName": "order_id",
412
- "methodName": "onOrderIdChange"
413
- }, {
414
- "propName": "api_url",
415
- "methodName": "onApiUrlChange"
416
- }, {
417
- "propName": "env",
418
- "methodName": "onEnvChange"
419
- }, {
420
- "propName": "redirect_id",
421
- "methodName": "onRedirectIdChange"
422
- }, {
423
- "propName": "phone_number",
424
- "methodName": "onPhoneChange"
425
364
  }];
426
365
  }
427
366
  static get listeners() {
@@ -437,6 +376,12 @@ export class IdentificationComponent {
437
376
  "target": undefined,
438
377
  "capture": false,
439
378
  "passive": false
379
+ }, {
380
+ "name": "scroll",
381
+ "method": "handleScroll",
382
+ "target": "window",
383
+ "capture": false,
384
+ "passive": true
440
385
  }];
441
386
  }
442
387
  }
@@ -66,7 +66,7 @@ export class Cameras {
66
66
  }
67
67
  GetConstraints(selectedDeviceId, device, portrait = false) {
68
68
  let constraints = {
69
- audio: false,
69
+ audio: true,
70
70
  };
71
71
  let mediaTrack = {
72
72
  frameRate: 30,
@@ -91,6 +91,9 @@ export class Stream {
91
91
  if (this.stream)
92
92
  this.stream.getTracks().forEach((track) => track.stop());
93
93
  this.stream = stream;
94
+ if (!this.videoElement || this.videoElement == null) {
95
+ return;
96
+ }
94
97
  if ('srcObject' in this.videoElement) {
95
98
  this.videoElement.srcObject = stream;
96
99
  }
@@ -57,7 +57,7 @@ export class FaceML5Detector {
57
57
  if (this.validFaceFound || this.validFacePose) {
58
58
  if (this.start == null)
59
59
  this.start = Date.now();
60
- if (Date.now() > this.start + 2000) {
60
+ if (Date.now() > this.start + 500) {
61
61
  this.continue = false;
62
62
  this.stream.verificationReady();
63
63
  }
@@ -1,5 +1,5 @@
1
- import { r as registerInstance, c as createEvent, h, g as getElement } from './index-4200f19f.js';
2
- import { A as ApiUrls, s as state, F as FlowStatus, a as AgreementCheckValues, b as AgreementInfoValues, S as SessionKeys, G as GlobalValues, C as CameraErrorValues, I as IdCaptureValues, c as SelfieCaptureValues, d as CompleteValues, H as HowToValues, L as LandingValues, M as MobileRedirectValues, P as PhoneValidationValues, e as CodeValidationValues } from './store-bb904914.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-cf54a432.js';
2
+ import { A as ApiUrls, s as state, F as FlowStatus, a as AgreementCheckValues, b as AgreementInfoValues, S as SessionKeys, G as GlobalValues, C as CameraErrorValues, I as IdCaptureValues, c as SelfieCaptureValues, d as CompleteValues, H as HowToValues, L as LandingValues, M as MobileRedirectValues, P as PhoneValidationValues, e as CodeValidationValues } from './store-b76678da.js';
3
3
 
4
4
  var OrderStatuses;
5
5
  (function (OrderStatuses) {
@@ -286,14 +286,6 @@ const AgreementCheck = class {
286
286
  this.buttonEnabled = false;
287
287
  this.agreementAcceptance.emit({ agreementType: this.agreementType, result });
288
288
  }
289
- handleScroll(ev) {
290
- if (ev.target.offsetHeight + ev.target.scrollTop >= ev.target.scrollHeight) {
291
- this.scrollClass = 'scroll-full';
292
- }
293
- else {
294
- this.scrollClass = 'scroll';
295
- }
296
- }
297
289
  render() {
298
290
  let content = (h("div", { class: "container" }, h("div", { class: "row" }, h("div", { class: this.scrollClass, innerHTML: this.htmlContent }), h("div", { class: "pos-relative show-bottom" }, h("div", { class: "btn-buletin" }, h("div", { class: "d-flex two-buttons" }, h("button", { class: "normal-button red-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(false) }, AgreementCheckValues.ButtonNo), h("button", { class: "normal-button", disabled: !this.buttonEnabled, onClick: () => this.buttonClick(true) }, AgreementCheckValues.ButtonYes)), h("p", { class: "main-text font-size-18 text-right mb-0" }, AgreementInfoValues.FooterText))))));
299
291
  return this.htmlContent ? content : h("div", null);
@@ -2165,7 +2157,7 @@ class FaceML5Detector {
2165
2157
  if (this.validFaceFound || this.validFacePose) {
2166
2158
  if (this.start == null)
2167
2159
  this.start = Date.now();
2168
- if (Date.now() > this.start + 2000) {
2160
+ if (Date.now() > this.start + 500) {
2169
2161
  this.continue = false;
2170
2162
  this.stream.verificationReady();
2171
2163
  }
@@ -4896,6 +4888,9 @@ class Stream {
4896
4888
  if (this.stream)
4897
4889
  this.stream.getTracks().forEach((track) => track.stop());
4898
4890
  this.stream = stream;
4891
+ if (!this.videoElement || this.videoElement == null) {
4892
+ return;
4893
+ }
4899
4894
  if ('srcObject' in this.videoElement) {
4900
4895
  this.videoElement.srcObject = stream;
4901
4896
  }
@@ -5365,7 +5360,7 @@ class Cameras {
5365
5360
  }
5366
5361
  GetConstraints(selectedDeviceId, device, portrait = false) {
5367
5362
  let constraints = {
5368
- audio: false,
5363
+ audio: true,
5369
5364
  };
5370
5365
  let mediaTrack = {
5371
5366
  frameRate: 30,
@@ -5831,7 +5826,7 @@ function v4(options, buf, offset) {
5831
5826
  }
5832
5827
 
5833
5828
  const name = "@ekyc_qoobiss/qbs-ect-cmp";
5834
- const version$1 = "3.6.22";
5829
+ const version$1 = "3.6.24";
5835
5830
  const description = "Person Identification Component";
5836
5831
  const main = "./dist/index.cjs.js";
5837
5832
  const module = "./dist/index.js";
@@ -5913,58 +5908,6 @@ const IdentificationComponent = class {
5913
5908
  }
5914
5909
  if (state.token !== newValue) {
5915
5910
  state.token = newValue;
5916
- await this.initializeRequest();
5917
- }
5918
- }
5919
- async onOrderIdChange(newValue, _oldValue) {
5920
- if (state.debug)
5921
- console.log('OrderId change called with value: ' + newValue);
5922
- if (state.requestId !== newValue && newValue != '') {
5923
- state.requestId = newValue;
5924
- state.initialised = false;
5925
- await this.initializeRequest();
5926
- if (state.flowStatus != FlowStatus.LANDING && state.flowStatus != FlowStatus.NONE) {
5927
- state.flowStatus = FlowStatus.LANDING;
5928
- }
5929
- }
5930
- }
5931
- onApiUrlChange(newValue, _oldValue) {
5932
- if (state.apiBaseUrl != '') {
5933
- newValue = state.apiBaseUrl;
5934
- return;
5935
- }
5936
- if (state.apiBaseUrl !== newValue) {
5937
- state.apiBaseUrl = newValue;
5938
- }
5939
- }
5940
- onEnvChange(newValue, _oldValue) {
5941
- if (state.environment != '') {
5942
- newValue = state.environment;
5943
- return;
5944
- }
5945
- if (state.environment !== newValue) {
5946
- state.environment = newValue;
5947
- }
5948
- }
5949
- async onRedirectIdChange(newValue, _oldValue) {
5950
- if (state.debug)
5951
- console.log('RedirectId change called with value: ' + newValue);
5952
- if (state.redirectId != '') {
5953
- newValue = state.redirectId;
5954
- return;
5955
- }
5956
- if (state.redirectId !== newValue) {
5957
- state.redirectId = newValue;
5958
- }
5959
- await this.initializeRequest();
5960
- }
5961
- async onPhoneChange(newValue, _oldValue) {
5962
- if (state.phoneNumber != '') {
5963
- newValue = state.phoneNumber;
5964
- return;
5965
- }
5966
- if (state.phoneNumber !== newValue) {
5967
- state.phoneNumber = newValue;
5968
5911
  }
5969
5912
  }
5970
5913
  agreementAcceptanceEmitted(data) {
@@ -5999,6 +5942,8 @@ const IdentificationComponent = class {
5999
5942
  Events.flowError(this.errorTitle);
6000
5943
  state.flowStatus = FlowStatus.ERROREND;
6001
5944
  }
5945
+ handleScroll(ev) {
5946
+ }
6002
5947
  constructor(hostRef) {
6003
5948
  registerInstance(this, hostRef);
6004
5949
  this.logInit = {};
@@ -6171,12 +6116,7 @@ const IdentificationComponent = class {
6171
6116
  return h("div", null, currentBlock);
6172
6117
  }
6173
6118
  static get watchers() { return {
6174
- "token": ["onTokenChange"],
6175
- "order_id": ["onOrderIdChange"],
6176
- "api_url": ["onApiUrlChange"],
6177
- "env": ["onEnvChange"],
6178
- "redirect_id": ["onRedirectIdChange"],
6179
- "phone_number": ["onPhoneChange"]
6119
+ "token": ["onTokenChange"]
6180
6120
  }; }
6181
6121
  };
6182
6122
  IdentificationComponent.style = identificationComponentCss;
@@ -9380,14 +9320,17 @@ const ProcessId = class {
9380
9320
  let frontRec = new File([idRecording], this.flow.front.recName + mimeType.extension, { type: mimeType.type });
9381
9321
  this.flow.front.recordingDone = await this.uploadRecording(this.flow.front.recType, frontRec);
9382
9322
  }
9383
- if (this.captureStep == IdCaptureFlowStatus.IdBack) {
9323
+ else if (this.captureStep == IdCaptureFlowStatus.IdBack) {
9384
9324
  let backRec = new File([idRecording], this.flow.back.recName + mimeType.extension, { type: mimeType.type });
9385
9325
  this.flow.back.recordingDone = await this.uploadRecording(this.flow.back.recType, backRec);
9386
9326
  }
9387
- if (this.captureStep == IdCaptureFlowStatus.Tilt) {
9327
+ else if (this.captureStep == IdCaptureFlowStatus.Tilt) {
9388
9328
  let tiltRec = new File([idRecording], this.flow.tilt.recName + mimeType.extension, { type: mimeType.type });
9389
9329
  this.flow.tilt.recordingDone = await this.uploadRecording(this.flow.tilt.recType, tiltRec);
9390
9330
  }
9331
+ else {
9332
+ this.triggerErrorFlow(true);
9333
+ }
9391
9334
  await this.endFlow();
9392
9335
  this.recordingResultCount = 0;
9393
9336
  }
@@ -1420,8 +1420,8 @@ const hostListenerProxy = (hostRef, methodName) => (ev) => {
1420
1420
  }
1421
1421
  };
1422
1422
  const getHostListenerTarget = (elm, flags) => {
1423
- if (flags & 16 /* LISTENER_FLAGS.TargetBody */)
1424
- return doc.body;
1423
+ if (flags & 8 /* LISTENER_FLAGS.TargetWindow */)
1424
+ return win;
1425
1425
  return elm;
1426
1426
  };
1427
1427
  // prettier-ignore
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-4200f19f.js';
1
+ import { r as registerInstance, h } from './index-cf54a432.js';
2
2
 
3
3
  const loaderDotsCss = "i,i::before,i::after{animation-duration:0.5s;animation-timing-function:ease-in-out;animation-iteration-count:infinite}body{font-family:sans-serif}i{width:300px;height:75px;margin:auto;display:block;background:no-repeat;background-image:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0)), radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));background-size:75px 75px;background-position:0%, 50%;position:relative;transform:translateZ(0) scale(0.25);animation-name:slide}i::before,i::after{content:'';width:75px;height:75px;background:radial-gradient(closest-side, #1FEAA6 90%, rgba(0, 0, 0, 0));position:absolute;top:50%;margin-top:-37.5px;animation-name:reveal}i::before{left:1%;animation-delay:40ms}i::after{right:1%;animation-direction:reverse}@keyframes slide{from{background-position:0%, 50%}to{background-position:50%, 100%}}@keyframes reveal{from{transform:scale(0.001)}to{transform:scale(1)}}";
4
4