@syncfusion/ej2-calendars 21.2.8 → 21.2.9
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 +2 -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 +2 -2
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +2 -2
- 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 +8 -8
- package/src/calendar/calendar.js +2 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.2.
|
|
3
|
+
* version : 21.2.9
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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@21.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@21.2.8",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-EUtt08TljDmObRRRqYQscqf1HB2xnfjG2TnLr7N4Vm04glGbn6MofMJXLS2qa6Vk2utIy9kiq4ABAe2ynVSYZw==",
|
|
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-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-21.2.
|
|
36
|
-
"_shasum": "
|
|
35
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-21.2.8.tgz",
|
|
36
|
+
"_shasum": "e311935961f3cac1a1090aac15d06fbdc802bb33",
|
|
37
37
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
38
38
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
39
39
|
"author": {
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
},
|
|
45
45
|
"bundleDependencies": false,
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@syncfusion/ej2-base": "~21.2.
|
|
47
|
+
"@syncfusion/ej2-base": "~21.2.9",
|
|
48
48
|
"@syncfusion/ej2-buttons": "~21.2.6",
|
|
49
|
-
"@syncfusion/ej2-inputs": "~21.2.
|
|
50
|
-
"@syncfusion/ej2-lists": "~21.2.
|
|
49
|
+
"@syncfusion/ej2-inputs": "~21.2.9",
|
|
50
|
+
"@syncfusion/ej2-lists": "~21.2.9",
|
|
51
51
|
"@syncfusion/ej2-popups": "~21.2.4"
|
|
52
52
|
},
|
|
53
53
|
"deprecated": false,
|
|
@@ -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": "21.2.
|
|
84
|
+
"version": "21.2.9",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
package/src/calendar/calendar.js
CHANGED
|
@@ -1602,10 +1602,10 @@ var CalendarBase = /** @class */ (function (_super) {
|
|
|
1602
1602
|
* @returns {string}
|
|
1603
1603
|
*/
|
|
1604
1604
|
CalendarBase.prototype.currentView = function () {
|
|
1605
|
-
if (this.contentElement.classList.contains(YEAR)) {
|
|
1605
|
+
if (!isNullOrUndefined(this.contentElement) && this.contentElement.classList.contains(YEAR)) {
|
|
1606
1606
|
return 'Year';
|
|
1607
1607
|
}
|
|
1608
|
-
else if (this.contentElement.classList.contains(DECADE)) {
|
|
1608
|
+
else if (!isNullOrUndefined(this.contentElement) && this.contentElement.classList.contains(DECADE)) {
|
|
1609
1609
|
return 'Decade';
|
|
1610
1610
|
}
|
|
1611
1611
|
else {
|