@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.
- package/dist/ej2-calendars.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js +2 -2
- package/dist/ej2-calendars.umd.min.js.map +1 -1
- package/dist/es6/ej2-calendars.es2015.js +7 -4
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +7 -4
- package/dist/es6/ej2-calendars.es5.js.map +1 -1
- package/dist/global/ej2-calendars.min.js +2 -2
- package/dist/global/ej2-calendars.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +6 -6
- package/src/daterangepicker/daterangepicker.js +1 -1
- package/src/maskbase/masked-date-time.js +3 -1
- package/src/timepicker/timepicker.js +3 -2
|
@@ -6373,7 +6373,7 @@ let DateRangePicker = class DateRangePicker extends CalendarBase {
|
|
|
6373
6373
|
this.updateHiddenInput();
|
|
6374
6374
|
}
|
|
6375
6375
|
getStartEndDate(date, isEnd) {
|
|
6376
|
-
if (this.currentView() === 'Year' && !isNullOrUndefined(date)) {
|
|
6376
|
+
if ((this.currentView() === 'Year' && !isNullOrUndefined(date)) || this.depth === 'Year') {
|
|
6377
6377
|
return new Date(date.getFullYear(), date.getMonth() + (isEnd ? 1 : 0), isEnd ? 0 : 1);
|
|
6378
6378
|
}
|
|
6379
6379
|
else if (this.currentView() === 'Decade' && !isNullOrUndefined(date)) {
|
|
@@ -11122,8 +11122,9 @@ let TimePicker = class TimePicker extends Component {
|
|
|
11122
11122
|
}
|
|
11123
11123
|
else {
|
|
11124
11124
|
if (!isNavigation) {
|
|
11125
|
-
|
|
11126
|
-
|
|
11125
|
+
const value = this.compareFormatChange(this.inputElement.value);
|
|
11126
|
+
if ((+this.prevDate !== +value) || isNullOrUndefined(this.checkDateValue(this.value))) {
|
|
11127
|
+
this.valueProcess(event, value);
|
|
11127
11128
|
}
|
|
11128
11129
|
}
|
|
11129
11130
|
else {
|
|
@@ -14399,7 +14400,7 @@ class MaskedDateTime {
|
|
|
14399
14400
|
this.isNavigate = false;
|
|
14400
14401
|
this.navigated = false;
|
|
14401
14402
|
this.isBlur = false;
|
|
14402
|
-
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;
|
|
14403
|
+
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;
|
|
14403
14404
|
this.isDeletion = false;
|
|
14404
14405
|
this.isShortYear = false;
|
|
14405
14406
|
this.isDeleteKey = false;
|
|
@@ -14894,9 +14895,11 @@ class MaskedDateTime {
|
|
|
14894
14895
|
case 'E':
|
|
14895
14896
|
case 'EE':
|
|
14896
14897
|
case 'EEE':
|
|
14898
|
+
case 'ccc':
|
|
14897
14899
|
result = proxy.isDayPart && proxy.isMonthPart && proxy.isYearPart ? daysAbbreviated[dayKeyAbbreviated[proxy.maskDateValue.getDay()]].toString() : proxy.defaultConstant['dayOfTheWeek'].toString();
|
|
14898
14900
|
break;
|
|
14899
14901
|
case 'EEEE':
|
|
14902
|
+
case 'cccc':
|
|
14900
14903
|
result = proxy.isDayPart && proxy.isMonthPart && proxy.isYearPart ? daysWide[dayKeyWide[proxy.maskDateValue.getDay()]].toString() : proxy.defaultConstant['dayOfTheWeek'].toString();
|
|
14901
14904
|
break;
|
|
14902
14905
|
case 'EEEEE':
|