@syncfusion/ej2-calendars 25.2.3 → 25.2.5

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.
@@ -1800,6 +1800,9 @@ var CalendarBase = /** @__PURE__ @class */ (function (_super) {
1800
1800
  if (!multiSelection && !isNullOrUndefined(tableBodyElement.querySelector('.' + FOCUSEDDATE))) {
1801
1801
  removeClass([tableBodyElement.querySelector('.' + FOCUSEDDATE)], FOCUSEDDATE);
1802
1802
  }
1803
+ if (!multiSelection && !isNullOrUndefined(tableBodyElement.querySelector('.' + FOCUSEDCELL))) {
1804
+ removeClass([tableBodyElement.querySelector('.' + FOCUSEDCELL)], FOCUSEDCELL);
1805
+ }
1803
1806
  if (multiSelection) {
1804
1807
  var copyValues = this.copyValues(values);
1805
1808
  var collection = Array.prototype.slice.call(this.tableBodyElement.querySelectorAll('td'));
@@ -11546,7 +11549,7 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
11546
11549
  break;
11547
11550
  }
11548
11551
  }
11549
- return this.prevValue;
11552
+ return this.getValue(date);
11550
11553
  };
11551
11554
  TimePicker.prototype.resetState = function () {
11552
11555
  this.removeSelection();
@@ -11833,7 +11836,7 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
11833
11836
  };
11834
11837
  TimePicker.prototype.updateInput = function (isUpdate, date) {
11835
11838
  if (isUpdate) {
11836
- this.prevValue = this.getValue(date);
11839
+ this.prevValue = this.getValue(this.prevDate);
11837
11840
  }
11838
11841
  this.prevDate = this.valueWithMinutes = date;
11839
11842
  if ((typeof date !== 'number') || (this.value && +new Date(+this.value).setMilliseconds(0)) !== +date) {
@@ -14770,7 +14773,6 @@ var MaskedDateTime = /** @__PURE__ @class */ (function () {
14770
14773
  var monthWide = (proxy.getCulturedValue('months[stand-alone].wide'));
14771
14774
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
14772
14775
  var periodString = (proxy.getCulturedValue('dayPeriods.format.wide'));
14773
- var periodkeys = Object.keys(periodString);
14774
14776
  var milliseconds;
14775
14777
  var dateOptions;
14776
14778
  switch (formattext) {
@@ -14906,7 +14908,7 @@ var MaskedDateTime = /** @__PURE__ @class */ (function () {
14906
14908
  break;
14907
14909
  case 'a':
14908
14910
  case 'aa':
14909
- result = proxy.maskDateValue.getHours() < 12 ? periodString[periodkeys[0]] : periodString[periodkeys[1]];
14911
+ result = proxy.maskDateValue.getHours() < 12 ? periodString['am'] : periodString['pm'];
14910
14912
  break;
14911
14913
  case 'z':
14912
14914
  case 'zz':