@syncfusion/ej2-calendars 21.1.41 → 21.2.4

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.41
3
+ * version : 21.2.4
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.1.38",
3
+ "_id": "@syncfusion/ej2-calendars@21.2.3",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-rWDu1NlezEQAzMa2sz5ydD7TrCUs2nBJkZWtZXI1xeALPeeEV+JXNptXKozNC6cKhuVXBCaLkipHDG6Wx1yXfQ==",
5
+ "_integrity": "sha512-DItIO44g80ST3MRlnZY3MFwf0POIFovRqH9cLKKYhgRM/lz9OOHNhTszRPq1w+lltpneor18Pj0waGcwwf/AnA==",
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.1.38.tgz",
36
- "_shasum": "e805e60e403d42ea26a40f4b5d8085db3257aed8",
35
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-21.2.3.tgz",
36
+ "_shasum": "dc29ecf160815791fea16ffbf6f632089ab52e39",
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.40",
48
- "@syncfusion/ej2-buttons": "~21.1.37",
49
- "@syncfusion/ej2-inputs": "~21.1.39",
50
- "@syncfusion/ej2-lists": "~21.1.41",
51
- "@syncfusion/ej2-popups": "~21.1.41"
47
+ "@syncfusion/ej2-base": "~21.2.3",
48
+ "@syncfusion/ej2-buttons": "~21.2.3",
49
+ "@syncfusion/ej2-inputs": "~21.2.4",
50
+ "@syncfusion/ej2-lists": "~21.2.3",
51
+ "@syncfusion/ej2-popups": "~21.2.4"
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.41",
84
+ "version": "21.2.4",
85
85
  "sideEffects": false
86
86
  }
@@ -156,10 +156,13 @@ var DatePicker = /** @class */ (function (_super) {
156
156
  this.createInput();
157
157
  this.updateHtmlAttributeToWrapper();
158
158
  this.setAllowEdit();
159
- this.updateInput(true);
160
159
  if (this.enableMask && !this.value && this.maskedDateValue && (this.floatLabelType === 'Always' || !this.floatLabelType || !this.placeholder)) {
160
+ this.updateInput(true);
161
161
  this.updateInputValue(this.maskedDateValue);
162
162
  }
163
+ else if (!this.enableMask) {
164
+ this.updateInput(true);
165
+ }
163
166
  this.previousElementValue = this.inputElement.value;
164
167
  this.previousDate = !isNullOrUndefined(this.value) ? new Date(+this.value) : null;
165
168
  this.inputElement.setAttribute('value', this.inputElement.value);
@@ -1308,7 +1311,7 @@ var DatePicker = /** @class */ (function (_super) {
1308
1311
  this.modal = null;
1309
1312
  }
1310
1313
  if (Browser.isDevice) {
1311
- if (!isNullOrUndefined(this.mobilePopupWrapper)) {
1314
+ if (!isNullOrUndefined(this.mobilePopupWrapper) && (prevent && (isNullOrUndefined(this.preventArgs) || !this.preventArgs.cancel))) {
1312
1315
  this.mobilePopupWrapper.remove();
1313
1316
  this.mobilePopupWrapper = null;
1314
1317
  }