@syncfusion/ej2-calendars 23.1.41 → 23.2.6
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/CHANGELOG.md +8 -0
- 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 +10 -4
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +10 -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 +10 -11
- package/src/calendar/calendar.js +7 -1
- package/src/datepicker/datepicker.js +3 -3
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 23.
|
|
3
|
+
* version : 23.2.6
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2023. 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@23.
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@23.2.4",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-IoA8w/ftQROQfFPiaxnH1nR5QIdX0HQYdzRGZQoK5pn8fLy0g13wa9vglRCnUrXsHwr2+JKR+kf5mToEYV/C1w==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-calendars",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -25,15 +25,14 @@
|
|
|
25
25
|
"/@syncfusion/ej2-gantt",
|
|
26
26
|
"/@syncfusion/ej2-grids",
|
|
27
27
|
"/@syncfusion/ej2-inplace-editor",
|
|
28
|
-
"/@syncfusion/ej2-pdfviewer",
|
|
29
28
|
"/@syncfusion/ej2-pivotview",
|
|
30
29
|
"/@syncfusion/ej2-querybuilder",
|
|
31
30
|
"/@syncfusion/ej2-react-calendars",
|
|
32
31
|
"/@syncfusion/ej2-schedule",
|
|
33
32
|
"/@syncfusion/ej2-vue-calendars"
|
|
34
33
|
],
|
|
35
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-23.
|
|
36
|
-
"_shasum": "
|
|
34
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-23.2.4.tgz",
|
|
35
|
+
"_shasum": "ace505e5174cdf9e846854ddf24b9f6d2378c22c",
|
|
37
36
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
38
37
|
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
|
39
38
|
"author": {
|
|
@@ -44,11 +43,11 @@
|
|
|
44
43
|
},
|
|
45
44
|
"bundleDependencies": false,
|
|
46
45
|
"dependencies": {
|
|
47
|
-
"@syncfusion/ej2-base": "~23.
|
|
48
|
-
"@syncfusion/ej2-buttons": "~23.
|
|
49
|
-
"@syncfusion/ej2-inputs": "~23.
|
|
50
|
-
"@syncfusion/ej2-lists": "~23.
|
|
51
|
-
"@syncfusion/ej2-popups": "~23.
|
|
46
|
+
"@syncfusion/ej2-base": "~23.2.6",
|
|
47
|
+
"@syncfusion/ej2-buttons": "~23.2.4",
|
|
48
|
+
"@syncfusion/ej2-inputs": "~23.2.4",
|
|
49
|
+
"@syncfusion/ej2-lists": "~23.2.4",
|
|
50
|
+
"@syncfusion/ej2-popups": "~23.2.4"
|
|
52
51
|
},
|
|
53
52
|
"deprecated": false,
|
|
54
53
|
"description": "A complete package of date or time components with built-in features such as date formatting, inline editing, multiple (range) selection, range restriction, month and year selection, strict mode, and globalization.",
|
|
@@ -81,6 +80,6 @@
|
|
|
81
80
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
82
81
|
},
|
|
83
82
|
"typings": "index.d.ts",
|
|
84
|
-
"version": "23.
|
|
83
|
+
"version": "23.2.6",
|
|
85
84
|
"sideEffects": false
|
|
86
85
|
}
|
package/src/calendar/calendar.js
CHANGED
|
@@ -1298,8 +1298,14 @@ var CalendarBase = /** @class */ (function (_super) {
|
|
|
1298
1298
|
this.createContentHeader();
|
|
1299
1299
|
this.createContentBody();
|
|
1300
1300
|
}
|
|
1301
|
+
if (this.getModuleName() === 'calendar') {
|
|
1302
|
+
var l10nLocale = { today: 'Today' };
|
|
1303
|
+
this.l10 = new L10n(this.getModuleName(), l10nLocale, this.locale);
|
|
1304
|
+
}
|
|
1301
1305
|
this.l10.setLocale(this.locale);
|
|
1302
|
-
this.
|
|
1306
|
+
if (this.showTodayButton) {
|
|
1307
|
+
this.updateFooter();
|
|
1308
|
+
}
|
|
1303
1309
|
break;
|
|
1304
1310
|
case 'showTodayButton':
|
|
1305
1311
|
if (newProp.showTodayButton) {
|
|
@@ -222,7 +222,7 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
222
222
|
this.inputElement.setAttribute('aria-disabled', 'false');
|
|
223
223
|
this.inputElement.setAttribute('tabindex', this.tabIndex);
|
|
224
224
|
}
|
|
225
|
-
Input.addAttributes({ 'aria-label': 'select' }, this.inputWrapper.buttons[0]);
|
|
225
|
+
Input.addAttributes({ 'aria-label': 'select', 'role': 'button' }, this.inputWrapper.buttons[0]);
|
|
226
226
|
addClass([this.inputWrapper.container], DATEWRAPPER);
|
|
227
227
|
};
|
|
228
228
|
DatePicker.prototype.updateInput = function (isDynamic, isBlur) {
|
|
@@ -413,7 +413,7 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
413
413
|
}
|
|
414
414
|
};
|
|
415
415
|
DatePicker.prototype.bindEvents = function () {
|
|
416
|
-
EventHandler.add(this.inputWrapper.buttons[0], 'mousedown
|
|
416
|
+
EventHandler.add(this.inputWrapper.buttons[0], 'mousedown', this.dateIconHandler, this);
|
|
417
417
|
EventHandler.add(this.inputElement, 'mouseup', this.mouseUpHandler, this);
|
|
418
418
|
EventHandler.add(this.inputElement, 'focus', this.inputFocusHandler, this);
|
|
419
419
|
EventHandler.add(this.inputElement, 'blur', this.inputBlurHandler, this);
|
|
@@ -462,7 +462,7 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
462
462
|
};
|
|
463
463
|
DatePicker.prototype.unBindEvents = function () {
|
|
464
464
|
if (!isNullOrUndefined(this.inputWrapper)) {
|
|
465
|
-
EventHandler.remove(this.inputWrapper.buttons[0], 'mousedown
|
|
465
|
+
EventHandler.remove(this.inputWrapper.buttons[0], 'mousedown', this.dateIconHandler);
|
|
466
466
|
}
|
|
467
467
|
EventHandler.remove(this.inputElement, 'mouseup', this.mouseUpHandler);
|
|
468
468
|
EventHandler.remove(this.inputElement, 'focus', this.inputFocusHandler);
|