@websy/websy-designs 1.2.30 → 1.2.31

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.
@@ -405,6 +405,10 @@ class WebsyDatePicker {
405
405
  }
406
406
  }
407
407
  }
408
+ this.priorSelectedDates = [...this.selectedRangeDates]
409
+ this.priorSelectedRange = this.selectedRange
410
+ this.priorselection = [...this.currentselection]
411
+ this.priorCustomRangeSelected = this.customRangeSelected
408
412
  this.updateRange()
409
413
  }
410
414
  else {
@@ -451,6 +451,10 @@ var WebsyDatePicker = /*#__PURE__*/function () {
451
451
  }
452
452
  }
453
453
 
454
+ this.priorSelectedDates = _toConsumableArray(this.selectedRangeDates);
455
+ this.priorSelectedRange = this.selectedRange;
456
+ this.priorselection = _toConsumableArray(this.currentselection);
457
+ this.priorCustomRangeSelected = this.customRangeSelected;
454
458
  this.updateRange();
455
459
  } else {
456
460
  this.selectedRangeDates = _toConsumableArray(this.priorSelectedDates || []);