vcomply-workflow-engine 2.6.111 → 2.6.113

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',
@@ -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
  };
@@ -31337,7 +31337,7 @@
31337
31337
 
31338
31338
  var FrequencyDialogOneTimeComponent = /** @class */ (function () {
31339
31339
  function FrequencyDialogOneTimeComponent(frequencyService) {
31340
- var _a;
31340
+ var _a, _b, _c, _d, _e;
31341
31341
  this.frequencyService = frequencyService;
31342
31342
  this.datepickerOverlay = false;
31343
31343
  this.showDateError = false;
@@ -31345,23 +31345,23 @@
31345
31345
  this.oneTimeWindow = 15;
31346
31346
  this.oneTimeStartTime = '11:00 pm';
31347
31347
  this.oneTimeSelected = '';
31348
- this.todayDate = this.frequencyService.changeTimeZone(new Date());
31348
+ this.todayDate = this.frequencyService.changeTimeZone((_a = new Date()) === null || _a === void 0 ? void 0 : _a.setDate(((_b = new Date()) === null || _b === void 0 ? void 0 : _b.getDate()) + 1));
31349
31349
  this.shortMonth = [];
31350
- this.dateObjectData = this.frequencyService.changeTimeZone(new Date());
31351
- this.minDate = (_a = moment__namespace(Date.now()).format('YYYY-MM-DD HH:mm:ss')) === null || _a === void 0 ? void 0 : _a.split(' ')[0];
31350
+ this.dateObjectData = this.frequencyService.changeTimeZone((_c = new Date()) === null || _c === void 0 ? void 0 : _c.setDate(((_d = new Date()) === null || _d === void 0 ? void 0 : _d.getDate()) + 1));
31351
+ this.minDate = (_e = moment__namespace(Date.now()).format('YYYY-MM-DD HH:mm:ss')) === null || _e === void 0 ? void 0 : _e.split(' ')[0];
31352
31352
  this.mode = '';
31353
31353
  this.frequencyDetails = new i0.EventEmitter();
31354
31354
  }
31355
31355
  FrequencyDialogOneTimeComponent.prototype.ngOnInit = function () {
31356
- var _a, _b, _c, _d, _e;
31356
+ var _a, _b, _c, _d, _e, _f, _g;
31357
31357
  this.dateConfig = this.frequencyService.dateConfig;
31358
- this.dateConfig['min'] = (_b = (_a = this.frequencyService.changeTimeZone(new Date())) === null || _a === void 0 ? void 0 : _a.getDate()) === null || _b === void 0 ? void 0 : _b.toString();
31358
+ this.dateConfig['min'] = (_d = (_c = this.frequencyService.changeTimeZone((_a = new Date()) === null || _a === void 0 ? void 0 : _a.setDate(((_b = new Date()) === null || _b === void 0 ? void 0 : _b.getDate()) + 1))) === null || _c === void 0 ? void 0 : _c.getDate()) === null || _d === void 0 ? void 0 : _d.toString();
31359
31359
  this.frequencyInfo = Object.assign(this.frequencyService.frequencyInfo);
31360
31360
  this.shortMonth = this.frequencyService.monthArray.map(function (month) { return month.substring(0, 3); });
31361
31361
  this.selectedDate = moment__namespace(this.todayDate);
31362
31362
  console.log("this.dateConfig ", this.dateConfig, this.todayDate);
31363
- console.log("this.frequencyData ==>", this.frequencyData, (_c = this.frequencyData) === null || _c === void 0 ? void 0 : _c.pattern.split('~'));
31364
- if (((_d = this.frequencyData) === null || _d === void 0 ? void 0 : _d.pattern) != '' && ((_e = this.frequencyData) === null || _e === void 0 ? void 0 : _e.pattern.split('~')[0]) === '0') {
31363
+ console.log("this.frequencyData ==>", this.frequencyData, (_e = this.frequencyData) === null || _e === void 0 ? void 0 : _e.pattern.split('~'));
31364
+ if (((_f = this.frequencyData) === null || _f === void 0 ? void 0 : _f.pattern) != '' && ((_g = this.frequencyData) === null || _g === void 0 ? void 0 : _g.pattern.split('~')[0]) === '0') {
31365
31365
  this.populateFrequency();
31366
31366
  }
31367
31367
  else {
@@ -31431,7 +31431,7 @@
31431
31431
  this.getOneTimeFrequency();
31432
31432
  };
31433
31433
  FrequencyDialogOneTimeComponent.prototype.getOneTimeFrequency = function () {
31434
- var _a, _b, _c;
31434
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
31435
31435
  if (this.oneTimeSelected !== '') {
31436
31436
  this.todayDate = moment__namespace(this.todayDate).toDate();
31437
31437
  }
@@ -31440,7 +31440,7 @@
31440
31440
  this.frequencyInfo.placeholder =
31441
31441
  'One Time ' + this.todayDate.getDate() + ' ' + this.shortMonth[this.todayDate.getMonth()] + ' ' + this.todayDate.getFullYear() + ' by ' + this.oneTimeStartTime;
31442
31442
  this.frequencyInfo.pattern =
31443
- 0 + '~' + (this.oneTimeSelected === '' ? ((_a = this.frequencyService.changeTimeZone(new Date())) === null || _a === void 0 ? void 0 : _a.getFullYear()) + '~' + (((_b = this.frequencyService.changeTimeZone(new Date())) === null || _b === void 0 ? void 0 : _b.getMonth()) + 1) + '~' + ((_c = this.frequencyService.changeTimeZone(new Date())) === null || _c === void 0 ? void 0 : _c.getDate()) : this.oneTimeSelected);
31443
+ 0 + '~' + (this.oneTimeSelected === '' ? ((_c = this.frequencyService.changeTimeZone((_a = new Date()) === null || _a === void 0 ? void 0 : _a.setDate(((_b = new Date()) === null || _b === void 0 ? void 0 : _b.getDate()) + 1))) === null || _c === void 0 ? void 0 : _c.getFullYear()) + '~' + (((_f = this.frequencyService.changeTimeZone((_d = new Date()) === null || _d === void 0 ? void 0 : _d.setDate(((_e = new Date()) === null || _e === void 0 ? void 0 : _e.getDate()) + 1))) === null || _f === void 0 ? void 0 : _f.getMonth()) + 1) + '~' + ((_j = this.frequencyService.changeTimeZone((_g = new Date()) === null || _g === void 0 ? void 0 : _g.setDate(((_h = new Date()) === null || _h === void 0 ? void 0 : _h.getDate()) + 1))) === null || _j === void 0 ? void 0 : _j.getDate()) : this.oneTimeSelected);
31444
31444
  this.frequencyInfo.case = 'oneTime';
31445
31445
  this.frequencyInfo.failedAfter = this.oneTimeFailed;
31446
31446
  this.frequencyInfo.window = this.oneTimeWindow;