vcomply-workflow-engine 2.6.103 → 2.6.104

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.
@@ -29966,7 +29966,7 @@
29966
29966
  }
29967
29967
  };
29968
29968
  FrequencyDialogContainerComponent.prototype.isInvalid = function () {
29969
- var _a, _b, _c;
29969
+ var _a, _b, _c, _d;
29970
29970
  var isInvalid = false;
29971
29971
  var frequencyDetails = (_b = (_a = this.frequencyData) === null || _a === void 0 ? void 0 : _a.pattern) === null || _b === void 0 ? void 0 : _b.split('~');
29972
29972
  switch (this.frequencyTab) {
@@ -30030,7 +30030,7 @@
30030
30030
  case 'oneTime':
30031
30031
  if ((frequencyDetails === null || frequencyDetails === void 0 ? void 0 : frequencyDetails.length) > 0) {
30032
30032
  var selectedTime = moment__namespace(frequencyDetails[3] + "-" + frequencyDetails[2] + "-" + frequencyDetails[1] + " " + this.frequencyData.timeIn12hr, 'DD-MM-YYYY HH:mm a').unix();
30033
- if (Date.now() / 1000 > selectedTime) {
30033
+ if (((_d = this.frequencyService.changeTimeZone(new Date())) === null || _d === void 0 ? void 0 : _d.getTime()) / 1000 > selectedTime) {
30034
30034
  this.snackbar.show('Please set a future date.', 'alert');
30035
30035
  isInvalid = true;
30036
30036
  break;