@syncfusion/ej2-calendars 28.2.9 → 28.2.11

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.
@@ -6449,7 +6449,7 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
6449
6449
  this.updateHiddenInput();
6450
6450
  };
6451
6451
  DateRangePicker.prototype.getStartEndDate = function (date, isEnd) {
6452
- if (this.currentView() === 'Year' && !isNullOrUndefined(date)) {
6452
+ if ((this.currentView() === 'Year' && !isNullOrUndefined(date)) || this.depth === 'Year') {
6453
6453
  return new Date(date.getFullYear(), date.getMonth() + (isEnd ? 1 : 0), isEnd ? 0 : 1);
6454
6454
  }
6455
6455
  else if (this.currentView() === 'Decade' && !isNullOrUndefined(date)) {
@@ -11244,8 +11244,9 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
11244
11244
  }
11245
11245
  else {
11246
11246
  if (!isNavigation) {
11247
- if ((this.prevValue !== this.inputElement.value) || isNullOrUndefined(this.checkDateValue(this.value))) {
11248
- this.valueProcess(event, this.compareFormatChange(this.inputElement.value));
11247
+ var value = this.compareFormatChange(this.inputElement.value);
11248
+ if ((+this.prevDate !== +value) || isNullOrUndefined(this.checkDateValue(this.value))) {
11249
+ this.valueProcess(event, value);
11249
11250
  }
11250
11251
  }
11251
11252
  else {
@@ -14548,7 +14549,7 @@ var MaskedDateTime = /** @__PURE__ @class */ (function () {
14548
14549
  this.isNavigate = false;
14549
14550
  this.navigated = false;
14550
14551
  this.isBlur = false;
14551
- this.formatRegex = /EEEEE|EEEE|EEE|EE|E|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|HH|H|hh|h|mm|m|fff|ff|f|aa|a|ss|s|zzzz|zzz|zz|z|'[^']*'|'[^']*'/g;
14552
+ this.formatRegex = /EEEEE|EEEE|EEE|EE|E|cccc|ccc|dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yyy|yy|y|HH|H|hh|h|mm|m|fff|ff|f|aa|a|ss|s|zzzz|zzz|zz|z|'[^']*'|'[^']*'/g;
14552
14553
  this.isDeletion = false;
14553
14554
  this.isShortYear = false;
14554
14555
  this.isDeleteKey = false;
@@ -15044,9 +15045,11 @@ var MaskedDateTime = /** @__PURE__ @class */ (function () {
15044
15045
  case 'E':
15045
15046
  case 'EE':
15046
15047
  case 'EEE':
15048
+ case 'ccc':
15047
15049
  result = proxy.isDayPart && proxy.isMonthPart && proxy.isYearPart ? daysAbbreviated[dayKeyAbbreviated[proxy.maskDateValue.getDay()]].toString() : proxy.defaultConstant['dayOfTheWeek'].toString();
15048
15050
  break;
15049
15051
  case 'EEEE':
15052
+ case 'cccc':
15050
15053
  result = proxy.isDayPart && proxy.isMonthPart && proxy.isYearPart ? daysWide[dayKeyWide[proxy.maskDateValue.getDay()]].toString() : proxy.defaultConstant['dayOfTheWeek'].toString();
15051
15054
  break;
15052
15055
  case 'EEEEE':