@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
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 28.2.
|
|
3
|
+
* version : 28.2.11
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
|
|
5
5
|
* Use of this code is subject to the terms of our license.
|
|
6
6
|
* A copy of the current license can be obtained at any time by e-mailing
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"_from": "@syncfusion/ej2-calendars@*",
|
|
3
|
-
"_id": "@syncfusion/ej2-calendars@28.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@28.2.9",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-xBMuaPDG/UZbCwpyiE+HinHcj/yvpYTkLM5Qbfstt6CNCEAYLPuyM2rsRT+5Rr1GR1TXkQ1VnJ+YLJ/MeupLeQ==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-calendars",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"/@syncfusion/ej2-schedule",
|
|
32
32
|
"/@syncfusion/ej2-vue-calendars"
|
|
33
33
|
],
|
|
34
|
-
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-28.2.
|
|
35
|
-
"_shasum": "
|
|
34
|
+
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-28.2.9.tgz",
|
|
35
|
+
"_shasum": "aa9b8be55d980337d8923bbad8297e15436f26fa",
|
|
36
36
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
37
37
|
"_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included",
|
|
38
38
|
"author": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@syncfusion/ej2-base": "~28.2.9",
|
|
47
47
|
"@syncfusion/ej2-buttons": "~28.2.7",
|
|
48
|
-
"@syncfusion/ej2-inputs": "~28.2.
|
|
48
|
+
"@syncfusion/ej2-inputs": "~28.2.11",
|
|
49
49
|
"@syncfusion/ej2-lists": "~28.2.3",
|
|
50
50
|
"@syncfusion/ej2-popups": "~28.2.9"
|
|
51
51
|
},
|
|
@@ -80,6 +80,6 @@
|
|
|
80
80
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
81
81
|
},
|
|
82
82
|
"typings": "index.d.ts",
|
|
83
|
-
"version": "28.2.
|
|
83
|
+
"version": "28.2.11",
|
|
84
84
|
"sideEffects": false
|
|
85
85
|
}
|
|
@@ -1059,7 +1059,7 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
1059
1059
|
this.updateHiddenInput();
|
|
1060
1060
|
};
|
|
1061
1061
|
DateRangePicker.prototype.getStartEndDate = function (date, isEnd) {
|
|
1062
|
-
if (this.currentView() === 'Year' && !isNullOrUndefined(date)) {
|
|
1062
|
+
if ((this.currentView() === 'Year' && !isNullOrUndefined(date)) || this.depth === 'Year') {
|
|
1063
1063
|
return new Date(date.getFullYear(), date.getMonth() + (isEnd ? 1 : 0), isEnd ? 0 : 1);
|
|
1064
1064
|
}
|
|
1065
1065
|
else if (this.currentView() === 'Decade' && !isNullOrUndefined(date)) {
|
|
@@ -35,7 +35,7 @@ var MaskedDateTime = /** @class */ (function () {
|
|
|
35
35
|
this.isNavigate = false;
|
|
36
36
|
this.navigated = false;
|
|
37
37
|
this.isBlur = false;
|
|
38
|
-
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;
|
|
38
|
+
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;
|
|
39
39
|
this.isDeletion = false;
|
|
40
40
|
this.isShortYear = false;
|
|
41
41
|
this.isDeleteKey = false;
|
|
@@ -536,9 +536,11 @@ var MaskedDateTime = /** @class */ (function () {
|
|
|
536
536
|
case 'E':
|
|
537
537
|
case 'EE':
|
|
538
538
|
case 'EEE':
|
|
539
|
+
case 'ccc':
|
|
539
540
|
result = proxy.isDayPart && proxy.isMonthPart && proxy.isYearPart ? daysAbbreviated[dayKeyAbbreviated[proxy.maskDateValue.getDay()]].toString() : proxy.defaultConstant['dayOfTheWeek'].toString();
|
|
540
541
|
break;
|
|
541
542
|
case 'EEEE':
|
|
543
|
+
case 'cccc':
|
|
542
544
|
result = proxy.isDayPart && proxy.isMonthPart && proxy.isYearPart ? daysWide[dayKeyWide[proxy.maskDateValue.getDay()]].toString() : proxy.defaultConstant['dayOfTheWeek'].toString();
|
|
543
545
|
break;
|
|
544
546
|
case 'EEEEE':
|
|
@@ -1167,8 +1167,9 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
1167
1167
|
}
|
|
1168
1168
|
else {
|
|
1169
1169
|
if (!isNavigation) {
|
|
1170
|
-
|
|
1171
|
-
|
|
1170
|
+
var value = this.compareFormatChange(this.inputElement.value);
|
|
1171
|
+
if ((+this.prevDate !== +value) || isNullOrUndefined(this.checkDateValue(this.value))) {
|
|
1172
|
+
this.valueProcess(event, value);
|
|
1172
1173
|
}
|
|
1173
1174
|
}
|
|
1174
1175
|
else {
|