@syncfusion/ej2-calendars 25.1.39 → 25.1.42

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.
@@ -285,8 +285,8 @@ let CalendarBase = class CalendarBase extends Component {
285
285
  }
286
286
  }
287
287
  removeContentFocus(args) {
288
- const focusedDate = this.tableBodyElement.querySelector('tr td.e-focused-date');
289
- const selectedDate = this.tableBodyElement.querySelector('tr td.e-selected');
288
+ const focusedDate = !isNullOrUndefined(this.tableBodyElement) ? this.tableBodyElement.querySelector('tr td.e-focused-date') : null;
289
+ const selectedDate = !isNullOrUndefined(this.tableBodyElement) ? this.tableBodyElement.querySelector('tr td.e-selected') : null;
290
290
  if (!isNullOrUndefined(selectedDate)) {
291
291
  selectedDate.classList.remove(FOCUSEDCELL);
292
292
  }
@@ -14455,6 +14455,7 @@ class MaskedDateTime {
14455
14455
  this.previousDate = new Date(newDateValue.getFullYear(), newDateValue.getMonth(), newDateValue.getDate());
14456
14456
  this.isMonthPart = true;
14457
14457
  this.monthTypeCount = this.monthTypeCount + 1;
14458
+ this.isLeadingZero = false;
14458
14459
  }
14459
14460
  else {
14460
14461
  newDateValue.setMonth(0);