vcomply-workflow-engine 3.0.24 → 3.0.25

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.
@@ -435,13 +435,13 @@
435
435
  }
436
436
  };
437
437
  WorkflowEngineContainerComponent.prototype.onKeydownHandler = function (event) {
438
- var _a, _b, _c, _d, _e, _f, _g;
438
+ var _a, _b, _c, _d, _e, _f, _g, _h;
439
439
  if ([(_a = this.riskComponent) === null || _a === void 0 ? void 0 : _a.showSmiley,
440
440
  (_b = this.riskBulkUpload) === null || _b === void 0 ? void 0 : _b.showSmiley,
441
441
  (_c = this.responsibilityBulkUpload) === null || _c === void 0 ? void 0 : _c.showSmiley,
442
442
  (_d = this.compliance) === null || _d === void 0 ? void 0 : _d.showSmiley,
443
443
  (_e = this.importAnAssessment) === null || _e === void 0 ? void 0 : _e.showSmiley,
444
- (_f = this.logIssueComponent) === null || _f === void 0 ? void 0 : _f.showSmiley].includes(true) || ((_g = this.program) === null || _g === void 0 ? void 0 : _g.activeList)) {
444
+ (_f = this.logIssueComponent) === null || _f === void 0 ? void 0 : _f.showSmiley].includes(true) || ((_g = this.program) === null || _g === void 0 ? void 0 : _g.activeList) || ((_h = this.compliance) === null || _h === void 0 ? void 0 : _h.activeSelector)) {
445
445
  //Do Nothing
446
446
  }
447
447
  else {
@@ -24055,6 +24055,11 @@
24055
24055
  enumerable: false,
24056
24056
  configurable: true
24057
24057
  });
24058
+ /* When the "Escape" key is pressed, it emits an event to set the value of "isUploaded" to
24059
+ false. and left popup will close. */
24060
+ CreateAssessmentContainerComponent.prototype.onKeydownHandler = function (event) {
24061
+ this.setIsUploaded.emit(false);
24062
+ };
24058
24063
  CreateAssessmentContainerComponent.prototype.ngOnInit = function () {
24059
24064
  this.editorService.addPage();
24060
24065
  this.editorService.numberOfPages();
@@ -24468,7 +24473,8 @@
24468
24473
  setIsUploaded: [{ type: i0.Output }],
24469
24474
  postAssessment: [{ type: i0.Output }],
24470
24475
  assessmentData: [{ type: i0.Input, args: ['assessmentJSON',] }],
24471
- checkpointData: [{ type: i0.Input, args: ['checkpointJSON',] }]
24476
+ checkpointData: [{ type: i0.Input, args: ['checkpointJSON',] }],
24477
+ onKeydownHandler: [{ type: i0.HostListener, args: ['document:keydown.escape', ['$event'],] }]
24472
24478
  };
24473
24479
 
24474
24480
  var QuestionTypeComponent = /** @class */ (function () {