@syncfusion/ej2-calendars 23.1.36 → 23.1.38
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 +3 -3
- package/dist/ej2-calendars.umd.min.js +3 -3
- package/dist/ej2-calendars.umd.min.js.map +1 -1
- package/dist/es6/ej2-calendars.es2015.js +6 -3
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +6 -3
- package/dist/es6/ej2-calendars.es5.js.map +1 -1
- package/dist/global/ej2-calendars.min.js +3 -3
- package/dist/global/ej2-calendars.min.js.map +1 -1
- package/dist/global/index.d.ts +2 -2
- package/package.json +7 -7
- package/src/calendar/calendar.js +3 -0
- package/src/datepicker/datepicker.js +3 -3
package/dist/global/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 23.1.
|
|
4
|
-
* Copyright Syncfusion Inc. 2001 -
|
|
3
|
+
* version : 23.1.38
|
|
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
|
|
7
7
|
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"_from": "@syncfusion/ej2-calendars@*",
|
|
3
3
|
"_id": "@syncfusion/ej2-calendars@18.30.19",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-r0w9Qb/QlI44UVk7zaxEJ0L4oVz1rt6RB8nF+SZtqP7nC0GLgkSgeHVPsbWQimsjKJijGmsFEuTaRayYIg4vMA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-calendars",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"/@syncfusion/ej2-schedule",
|
|
33
33
|
"/@syncfusion/ej2-vue-calendars"
|
|
34
34
|
],
|
|
35
|
-
"_resolved": "https://nexus.syncfusion.com/repository/ej2-
|
|
36
|
-
"_shasum": "
|
|
35
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-18.30.19.tgz",
|
|
36
|
+
"_shasum": "17a30c7ae47921638907111c367a6dee5574c42e",
|
|
37
37
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
38
38
|
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
|
39
39
|
"author": {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
},
|
|
45
45
|
"bundleDependencies": false,
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@syncfusion/ej2-base": "~23.1.
|
|
47
|
+
"@syncfusion/ej2-base": "~23.1.38",
|
|
48
48
|
"@syncfusion/ej2-buttons": "~23.1.36",
|
|
49
|
-
"@syncfusion/ej2-inputs": "~23.1.
|
|
49
|
+
"@syncfusion/ej2-inputs": "~23.1.38",
|
|
50
50
|
"@syncfusion/ej2-lists": "~23.1.36",
|
|
51
|
-
"@syncfusion/ej2-popups": "~23.1.
|
|
51
|
+
"@syncfusion/ej2-popups": "~23.1.38"
|
|
52
52
|
},
|
|
53
53
|
"deprecated": false,
|
|
54
54
|
"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 +81,6 @@
|
|
|
81
81
|
"url": "git+https://github.com/syncfusion/ej2-javascript-ui-controls.git"
|
|
82
82
|
},
|
|
83
83
|
"typings": "index.d.ts",
|
|
84
|
-
"version": "23.1.
|
|
84
|
+
"version": "23.1.38",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
package/src/calendar/calendar.js
CHANGED
|
@@ -858,6 +858,7 @@ var CalendarBase = /** @class */ (function (_super) {
|
|
|
858
858
|
var dayLink = this.createElement('span');
|
|
859
859
|
var localMonth = (value && (value).getMonth() === localDate.getMonth());
|
|
860
860
|
var select = (value && (value).getFullYear() === yr && localMonth);
|
|
861
|
+
var title = this.globalize.formatDate(localDate, { type: 'date', format: 'MMM y' });
|
|
861
862
|
dayLink.textContent = this.toCapitalize(this.globalize.formatDate(localDate, {
|
|
862
863
|
format: null, type: 'dateTime', skeleton: 'MMM'
|
|
863
864
|
}));
|
|
@@ -876,6 +877,7 @@ var CalendarBase = /** @class */ (function (_super) {
|
|
|
876
877
|
localDate.setMonth(localDate.getMonth() + 1);
|
|
877
878
|
if (!tdEle.classList.contains(DISABLED)) {
|
|
878
879
|
EventHandler.add(tdEle, 'click', this.clickHandler, this);
|
|
880
|
+
dayLink.setAttribute('title', '' + title);
|
|
879
881
|
}
|
|
880
882
|
tdEle.appendChild(dayLink);
|
|
881
883
|
tdEles.push(tdEle);
|
|
@@ -934,6 +936,7 @@ var CalendarBase = /** @class */ (function (_super) {
|
|
|
934
936
|
}
|
|
935
937
|
if (!tdEle.classList.contains(DISABLED)) {
|
|
936
938
|
EventHandler.add(tdEle, 'click', this.clickHandler, this);
|
|
939
|
+
dayLink.setAttribute('title', '' + dayLink.textContent);
|
|
937
940
|
}
|
|
938
941
|
tdEle.appendChild(dayLink);
|
|
939
942
|
tdEles.push(tdEle);
|
|
@@ -926,10 +926,10 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
926
926
|
}
|
|
927
927
|
else {
|
|
928
928
|
if (this.calendarMode === 'Gregorian') {
|
|
929
|
-
formatOptions = { type: 'dateTime', skeleton: 'yMd' };
|
|
929
|
+
formatOptions = { format: format, type: 'dateTime', skeleton: 'yMd' };
|
|
930
930
|
}
|
|
931
931
|
else {
|
|
932
|
-
formatOptions = { type: 'dateTime', skeleton: 'yMd', calendar: 'islamic' };
|
|
932
|
+
formatOptions = { format: format, type: 'dateTime', skeleton: 'yMd', calendar: 'islamic' };
|
|
933
933
|
}
|
|
934
934
|
date = this.globalize.parseDate(this.inputElement.value, formatOptions);
|
|
935
935
|
}
|
|
@@ -993,7 +993,7 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
993
993
|
targetType: 'container',
|
|
994
994
|
enableRtl: this.enableRtl,
|
|
995
995
|
zIndex: this.zIndex,
|
|
996
|
-
collision: Browser.isDevice ? { X: 'fit', Y: 'fit' } : { X: 'flip', Y: 'flip' },
|
|
996
|
+
collision: Browser.isDevice ? { X: 'fit', Y: 'fit' } : (this.enableRtl ? { X: 'fit', Y: 'flip' } : { X: 'flip', Y: 'flip' }),
|
|
997
997
|
open: function () {
|
|
998
998
|
if (Browser.isDevice && _this.fullScreenMode) {
|
|
999
999
|
_this.iconRight = parseInt(window.getComputedStyle(_this.calendarElement.querySelector('.e-header.e-month .e-prev')).marginRight, 10) > 16 ? true : false;
|