@syncfusion/ej2-calendars 22.2.8 → 22.2.10
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 +16 -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 +7 -14
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +7 -14
- 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 -10
- package/src/daterangepicker/daterangepicker.js +5 -12
- package/src/timepicker/timepicker.js +2 -2
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 22.2.
|
|
3
|
+
* version : 22.2.10
|
|
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@22.2.
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@22.2.9",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-ab1r2lowq9ZMYq9bZ6tBSNEols2ZB6ki6k+xydrbyDtPmE0j/lmx0d3NuoJHZsPd/gMvle9HR90nSMRKe7vciQ==",
|
|
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-22.2.
|
|
36
|
-
"_shasum": "
|
|
35
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-22.2.9.tgz",
|
|
36
|
+
"_shasum": "681ec9204dce22c26f28d10892a4945bec7bbb27",
|
|
37
37
|
"_spec": "@syncfusion/ej2-calendars@*",
|
|
38
38
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
39
39
|
"author": {
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
},
|
|
45
45
|
"bundleDependencies": false,
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@syncfusion/ej2-base": "~22.2.
|
|
48
|
-
"@syncfusion/ej2-buttons": "~22.2.
|
|
49
|
-
"@syncfusion/ej2-inputs": "~22.2.
|
|
50
|
-
"@syncfusion/ej2-lists": "~22.2.
|
|
51
|
-
"@syncfusion/ej2-popups": "~22.2.
|
|
47
|
+
"@syncfusion/ej2-base": "~22.2.10",
|
|
48
|
+
"@syncfusion/ej2-buttons": "~22.2.9",
|
|
49
|
+
"@syncfusion/ej2-inputs": "~22.2.9",
|
|
50
|
+
"@syncfusion/ej2-lists": "~22.2.9",
|
|
51
|
+
"@syncfusion/ej2-popups": "~22.2.9"
|
|
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": "22.2.
|
|
84
|
+
"version": "22.2.10",
|
|
85
85
|
"sideEffects": false
|
|
86
86
|
}
|
|
@@ -207,7 +207,7 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
207
207
|
/**
|
|
208
208
|
* Mobile View
|
|
209
209
|
*/
|
|
210
|
-
this.isMobile = (Browser.isDevice
|
|
210
|
+
this.isMobile = (Browser.isDevice) ? true : window.matchMedia('(max-width:550px)').matches;
|
|
211
211
|
this.inputElement = this.element;
|
|
212
212
|
this.angularTag = null;
|
|
213
213
|
if (this.element.tagName === 'EJS-DATERANGEPICKER') {
|
|
@@ -676,9 +676,7 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
676
676
|
this.show(null, e);
|
|
677
677
|
if (!this.isMobile) {
|
|
678
678
|
if (!isNullOrUndefined(this.leftCalendar)) {
|
|
679
|
-
this.isRangeIconClicked = false;
|
|
680
679
|
this.calendarFocus();
|
|
681
|
-
this.isRangeIconClicked = true;
|
|
682
680
|
}
|
|
683
681
|
}
|
|
684
682
|
addClass([this.inputWrapper.container], [INPUTFOCUS]);
|
|
@@ -1849,16 +1847,11 @@ var DateRangePicker = /** @class */ (function (_super) {
|
|
|
1849
1847
|
if (event) {
|
|
1850
1848
|
leftCalendar = closest(event.target, '.' + LEFTCALENDER);
|
|
1851
1849
|
}
|
|
1852
|
-
if (
|
|
1853
|
-
|
|
1850
|
+
if (event && isNullOrUndefined(leftCalendar)) {
|
|
1851
|
+
rightCalendar = event && closest(event.target, '.' + RIGHTCALENDER);
|
|
1854
1852
|
}
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
rightCalendar = event && closest(event.target, '.' + RIGHTCALENDER);
|
|
1858
|
-
}
|
|
1859
|
-
if (!isNullOrUndefined(rightCalendar)) {
|
|
1860
|
-
this.rightCalendar.children[1].firstElementChild.focus();
|
|
1861
|
-
}
|
|
1853
|
+
if (!isNullOrUndefined(leftCalendar) || !isNullOrUndefined(rightCalendar)) {
|
|
1854
|
+
this.inputWrapper.container.focus();
|
|
1862
1855
|
}
|
|
1863
1856
|
addClass([ele], SELECTED);
|
|
1864
1857
|
this.calendarIconEvent();
|
|
@@ -992,7 +992,7 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
992
992
|
};
|
|
993
993
|
TimePicker.prototype.inputHandler = function (event) {
|
|
994
994
|
if (!this.readonly && this.enabled) {
|
|
995
|
-
if (event.action
|
|
995
|
+
if (!((event.action == 'right' || event.action == 'left' || event.action == 'tab') || ((event.action == 'home' || event.action == 'end') && !this.isPopupOpen()))) {
|
|
996
996
|
event.preventDefault();
|
|
997
997
|
}
|
|
998
998
|
switch (event.action) {
|
|
@@ -1012,7 +1012,7 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
1012
1012
|
e: event
|
|
1013
1013
|
});
|
|
1014
1014
|
}
|
|
1015
|
-
if (
|
|
1015
|
+
if (this.isPopupOpen()) {
|
|
1016
1016
|
this.keyHandler(event);
|
|
1017
1017
|
}
|
|
1018
1018
|
break;
|