@syncfusion/ej2-calendars 22.2.8 → 22.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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 22.2.8
3
+ * version : 22.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@22.2.5",
3
+ "_id": "@syncfusion/ej2-calendars@22.2.8",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-8uOgh/z4WYO1S0RRs7i9xKrTZH7IMosBksP0wQKJc0+qfH41qrqqMmO8ZRw4YWOrMuvgNq3pbYSVi+hZHvAgKQ==",
5
+ "_integrity": "sha512-oMiwspS3hq/kiJRHr4a/OHG1x6m3RjU8ZStM60hQYesX8M6DqFr9AfrF1hM+TlX9MMBClv/zqxoDaIKe9QvOGQ==",
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.5.tgz",
36
- "_shasum": "ce697c5db112a2a494f5e224efed4dd6980a5e7f",
35
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-22.2.8.tgz",
36
+ "_shasum": "a43dcf43bfa5a230236144f63dc659d91a963b7a",
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.5",
48
- "@syncfusion/ej2-buttons": "~22.2.8",
49
- "@syncfusion/ej2-inputs": "~22.2.7",
50
- "@syncfusion/ej2-lists": "~22.2.8",
51
- "@syncfusion/ej2-popups": "~22.2.7"
47
+ "@syncfusion/ej2-base": "~22.2.9",
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.8",
84
+ "version": "22.2.9",
85
85
  "sideEffects": false
86
86
  }
@@ -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 (!isNullOrUndefined(leftCalendar)) {
1853
- this.leftCalendar.children[1].firstElementChild.focus();
1850
+ if (event && isNullOrUndefined(leftCalendar)) {
1851
+ rightCalendar = event && closest(event.target, '.' + RIGHTCALENDER);
1854
1852
  }
1855
- else {
1856
- if (event) {
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();