@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.
@@ -1782,6 +1782,9 @@ let CalendarBase = class CalendarBase extends Component {
1782
1782
  if (!multiSelection && !isNullOrUndefined(tableBodyElement.querySelector('.' + FOCUSEDDATE))) {
1783
1783
  removeClass([tableBodyElement.querySelector('.' + FOCUSEDDATE)], FOCUSEDDATE);
1784
1784
  }
1785
+ if (!multiSelection && !isNullOrUndefined(tableBodyElement.querySelector('.' + FOCUSEDCELL))) {
1786
+ removeClass([tableBodyElement.querySelector('.' + FOCUSEDCELL)], FOCUSEDCELL);
1787
+ }
1785
1788
  if (multiSelection) {
1786
1789
  const copyValues = this.copyValues(values);
1787
1790
  const collection = Array.prototype.slice.call(this.tableBodyElement.querySelectorAll('td'));
@@ -11423,7 +11426,7 @@ let TimePicker = class TimePicker extends Component {
11423
11426
  break;
11424
11427
  }
11425
11428
  }
11426
- return this.prevValue;
11429
+ return this.getValue(date);
11427
11430
  }
11428
11431
  resetState() {
11429
11432
  this.removeSelection();
@@ -11710,7 +11713,7 @@ let TimePicker = class TimePicker extends Component {
11710
11713
  }
11711
11714
  updateInput(isUpdate, date) {
11712
11715
  if (isUpdate) {
11713
- this.prevValue = this.getValue(date);
11716
+ this.prevValue = this.getValue(this.prevDate);
11714
11717
  }
11715
11718
  this.prevDate = this.valueWithMinutes = date;
11716
11719
  if ((typeof date !== 'number') || (this.value && +new Date(+this.value).setMilliseconds(0)) !== +date) {
@@ -14620,7 +14623,6 @@ class MaskedDateTime {
14620
14623
  const monthWide = (proxy.getCulturedValue('months[stand-alone].wide'));
14621
14624
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
14622
14625
  const periodString = (proxy.getCulturedValue('dayPeriods.format.wide'));
14623
- const periodkeys = Object.keys(periodString);
14624
14626
  let milliseconds;
14625
14627
  let dateOptions;
14626
14628
  switch (formattext) {
@@ -14756,7 +14758,7 @@ class MaskedDateTime {
14756
14758
  break;
14757
14759
  case 'a':
14758
14760
  case 'aa':
14759
- result = proxy.maskDateValue.getHours() < 12 ? periodString[periodkeys[0]] : periodString[periodkeys[1]];
14761
+ result = proxy.maskDateValue.getHours() < 12 ? periodString['am'] : periodString['pm'];
14760
14762
  break;
14761
14763
  case 'z':
14762
14764
  case 'zz':