vcomply-workflow-engine 2.6.110 → 2.6.112

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.
@@ -1908,8 +1908,8 @@
1908
1908
  this.groupsList = [];
1909
1909
  /* Creating an array for risk label with it's value. */
1910
1910
  this.riskLabelList = [
1911
- { name: 'New Risk', value: 1 },
1912
- { name: 'Emerging/Rapidly Changing risks', value: 2 }
1911
+ { name: 'Newly Identified Risks', value: 1 },
1912
+ { name: 'Rapidly Changing Risks', value: 2 }
1913
1913
  ];
1914
1914
  this.description = {
1915
1915
  mode: 'prime',
@@ -9279,7 +9279,7 @@
9279
9279
  frequency_details: {
9280
9280
  frequency: frequencyValue,
9281
9281
  started_at: (_x = _this.changeTimeZone(new Date)) !== null && _x !== void 0 ? _x : moment__namespace().format("YYYY-MM-DD"),
9282
- frequency_time: "11:59 pm",
9282
+ frequency_time: "11:00 pm",
9283
9283
  remind_before_days: (risk === null || risk === void 0 ? void 0 : risk.emailReminder) ? risk === null || risk === void 0 ? void 0 : risk.emailReminder : _this.setDefaultEmailReminderValue(risk === null || risk === void 0 ? void 0 : risk.frequency),
9284
9284
  },
9285
9285
  risk_label: _this.setRiskLabel(risk === null || risk === void 0 ? void 0 : risk.riskLabel),
@@ -9504,8 +9504,8 @@
9504
9504
  */
9505
9505
  AddMultipleRiskComponent.prototype.setRiskLabel = function (label) {
9506
9506
  switch (label === null || label === void 0 ? void 0 : label.toLowerCase()) {
9507
- case 'new risk': return 1;
9508
- case 'emerging/rapidly changing risks': return 2;
9507
+ case 'newly identified risks': return 1;
9508
+ case 'rapidly changing risks': return 2;
9509
9509
  default: return 1;
9510
9510
  }
9511
9511
  };
@@ -30449,7 +30449,7 @@
30449
30449
  var FrequencyDialogDueDateComponent = /** @class */ (function () {
30450
30450
  function FrequencyDialogDueDateComponent() {
30451
30451
  this.mode = '';
30452
- this.defaultWindow = 0;
30452
+ this.defaultWindow = 1;
30453
30453
  this.defaultFailed = 0;
30454
30454
  this.defaultDeactivate = 0;
30455
30455
  this.completedValue = 5; // take input for completed
@@ -30461,25 +30461,30 @@
30461
30461
  }
30462
30462
  ;
30463
30463
  ;
30464
- ;
30465
30464
  FrequencyDialogDueDateComponent.prototype.ngOnInit = function () {
30466
30465
  };
30467
30466
  FrequencyDialogDueDateComponent.prototype.onValueChange = function (event, actionType) {
30468
- if (!Number.isNaN(Number(event.target.value)) && parseInt(event.target.value) > -1) {
30467
+ var _a, _b, _c, _d;
30468
+ if (!Number.isNaN(Number((_a = event === null || event === void 0 ? void 0 : event.target) === null || _a === void 0 ? void 0 : _a.value)) && parseInt((_b = event === null || event === void 0 ? void 0 : event.target) === null || _b === void 0 ? void 0 : _b.value) > 0) {
30469
30469
  console.log({
30470
30470
  type: actionType,
30471
- value: Number(event.target.value),
30471
+ value: Number((_c = event === null || event === void 0 ? void 0 : event.target) === null || _c === void 0 ? void 0 : _c.value),
30472
30472
  pageName: this.pageName,
30473
30473
  }, "dsdsdsdsdsd");
30474
30474
  this.valueChange.emit({
30475
30475
  type: actionType,
30476
- value: Number(event.target.value),
30476
+ value: Number((_d = event === null || event === void 0 ? void 0 : event.target) === null || _d === void 0 ? void 0 : _d.value),
30477
30477
  pageName: this.pageName,
30478
30478
  });
30479
30479
  }
30480
30480
  else {
30481
30481
  if (actionType === 'completed') {
30482
30482
  this.completedValue = this.defaultWindow;
30483
+ this.valueChange.emit({
30484
+ type: actionType,
30485
+ value: this.defaultWindow,
30486
+ pageName: this.pageName,
30487
+ });
30483
30488
  }
30484
30489
  }
30485
30490
  };