@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.
@@ -300,8 +300,8 @@ var CalendarBase = /** @__PURE__ @class */ (function (_super) {
300
300
  }
301
301
  };
302
302
  CalendarBase.prototype.removeContentFocus = function (args) {
303
- var focusedDate = this.tableBodyElement.querySelector('tr td.e-focused-date');
304
- var selectedDate = this.tableBodyElement.querySelector('tr td.e-selected');
303
+ var focusedDate = !isNullOrUndefined(this.tableBodyElement) ? this.tableBodyElement.querySelector('tr td.e-focused-date') : null;
304
+ var selectedDate = !isNullOrUndefined(this.tableBodyElement) ? this.tableBodyElement.querySelector('tr td.e-selected') : null;
305
305
  if (!isNullOrUndefined(selectedDate)) {
306
306
  selectedDate.classList.remove(FOCUSEDCELL);
307
307
  }
@@ -14604,6 +14604,7 @@ var MaskedDateTime = /** @__PURE__ @class */ (function () {
14604
14604
  this.previousDate = new Date(newDateValue.getFullYear(), newDateValue.getMonth(), newDateValue.getDate());
14605
14605
  this.isMonthPart = true;
14606
14606
  this.monthTypeCount = this.monthTypeCount + 1;
14607
+ this.isLeadingZero = false;
14607
14608
  }
14608
14609
  else {
14609
14610
  newDateValue.setMonth(0);