@syncfusion/ej2-calendars 21.2.6 → 21.2.8

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 : 21.2.6
3
+ * version : 21.2.8
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.5",
3
+ "_id": "@syncfusion/ej2-calendars@21.2.6",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-ppc0T53jivBeaNR1uw9jsLwFsJKBQqX5XJfrWMeYk+KAd96JhUK2qdze2VnGX9dzacZL4+oqcXLrOLGdmz2jcg==",
5
+ "_integrity": "sha512-6pyip17aSIl+jAdCvrm6DcX96he6zqVnbnLHSB772ZhBQai0oUta9m98yNdMPr6zt9y79+QlAbjtpTRr10ESag==",
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.5.tgz",
36
- "_shasum": "33e1c1cbf4198f2c7cdc9fd7d4ebc7f3cc2c3c79",
35
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-21.2.6.tgz",
36
+ "_shasum": "8295228f17a0c80628c9ba064fc9f3f9879159cf",
37
37
  "_spec": "@syncfusion/ej2-calendars@*",
38
38
  "_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
39
39
  "author": {
@@ -46,7 +46,7 @@
46
46
  "dependencies": {
47
47
  "@syncfusion/ej2-base": "~21.2.3",
48
48
  "@syncfusion/ej2-buttons": "~21.2.6",
49
- "@syncfusion/ej2-inputs": "~21.2.6",
49
+ "@syncfusion/ej2-inputs": "~21.2.8",
50
50
  "@syncfusion/ej2-lists": "~21.2.6",
51
51
  "@syncfusion/ej2-popups": "~21.2.4"
52
52
  },
@@ -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.6",
84
+ "version": "21.2.8",
85
85
  "sideEffects": false
86
86
  }
@@ -231,9 +231,11 @@ var TimePicker = /** @class */ (function (_super) {
231
231
  };
232
232
  TimePicker.prototype.validateDisable = function () {
233
233
  this.setMinMax(this.initMin, this.initMax);
234
- this.popupCreation();
235
- this.popupObj.destroy();
236
- this.popupWrapper = this.popupObj = null;
234
+ if (!isNullOrUndefined(this.value)) {
235
+ this.popupCreation();
236
+ this.popupObj.destroy();
237
+ this.popupWrapper = this.popupObj = null;
238
+ }
237
239
  if ((!isNaN(+this.value) && this.value !== null)) {
238
240
  if (!this.valueIsDisable(this.value)) {
239
241
  //disable value given in value property so reset the date based on current date
@@ -961,6 +963,11 @@ var TimePicker = /** @class */ (function (_super) {
961
963
  case 'end':
962
964
  case 'up':
963
965
  case 'down':
966
+ if (!this.isPopupOpen()) {
967
+ this.popupCreation();
968
+ this.popupObj.destroy();
969
+ this.popupObj = this.popupWrapper = null;
970
+ }
964
971
  if (this.enableMask && !this.readonly && !this.isPopupOpen()) {
965
972
  event.preventDefault();
966
973
  this.notify('keyDownHandler', {