@syncfusion/ej2-calendars 21.1.35 → 21.1.37

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.1.35
3
+ * version : 21.1.37
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
@@ -2,7 +2,7 @@
2
2
  "_from": "@syncfusion/ej2-calendars@*",
3
3
  "_id": "@syncfusion/ej2-calendars@18.30.15",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-C8N/GSvL3LRF8KkFO+bUgxfkPSzPCusvVrTbMCbLhHKoLPie20XHYJG7/3OyEdcJGvKaLWefBZRMbWfIe9LCAA==",
5
+ "_integrity": "sha512-Zc9O9LuF5if2rFp+C2/g1kaYZSFyRSyNSVixO/MY++h2DLiZlLOMt0pUZJGD6PMjlO6Nm+C7kHRumthniXttZw==",
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-release/@syncfusion/ej2-calendars/-/ej2-calendars-18.30.15.tgz",
36
- "_shasum": "4b83f10403d536933892717ed70309d7c7cf368f",
35
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-18.30.15.tgz",
36
+ "_shasum": "3d5f7d9933e29fc0cf5d8e091c3bfd1b5a7a9823",
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": "~21.1.35",
48
- "@syncfusion/ej2-buttons": "~21.1.35",
49
- "@syncfusion/ej2-inputs": "~21.1.35",
50
- "@syncfusion/ej2-lists": "~21.1.35",
51
- "@syncfusion/ej2-popups": "~21.1.35"
47
+ "@syncfusion/ej2-base": "~21.1.37",
48
+ "@syncfusion/ej2-buttons": "~21.1.37",
49
+ "@syncfusion/ej2-inputs": "~21.1.37",
50
+ "@syncfusion/ej2-lists": "~21.1.37",
51
+ "@syncfusion/ej2-popups": "~21.1.37"
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": "21.1.35",
84
+ "version": "21.1.37",
85
85
  "sideEffects": false
86
86
  }
@@ -73,7 +73,6 @@ var DatePicker = /** @class */ (function (_super) {
73
73
  */
74
74
  function DatePicker(options, element) {
75
75
  var _this = _super.call(this, options, element) || this;
76
- _this.previousElementValue = '';
77
76
  _this.isDateIconClicked = false;
78
77
  _this.isAltKeyPressed = false;
79
78
  _this.isInteracted = true;
@@ -1775,7 +1774,12 @@ var DatePicker = /** @class */ (function (_super) {
1775
1774
  newProp.value = this.value;
1776
1775
  this.previousElementValue = this.inputElement.value;
1777
1776
  if (isNullOrUndefined(this.value)) {
1778
- this.updateInputValue('');
1777
+ if (this.enableMask) {
1778
+ this.updateInputValue(this.maskedDateValue);
1779
+ }
1780
+ else {
1781
+ this.updateInputValue('');
1782
+ }
1779
1783
  this.currentDate = new Date(new Date().setHours(0, 0, 0, 0));
1780
1784
  }
1781
1785
  this.updateInput(true);