@syncfusion/ej2-calendars 21.1.35 → 21.1.38
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 -3
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +7 -3
- 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 +9 -9
- package/src/datepicker/datepicker.js +7 -3
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.1.
|
|
3
|
+
* version : 21.1.38
|
|
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-
|
|
5
|
+
"_integrity": "sha512-PxWj2KYDb6TuvuLmapIkjqaoG5lsYhhk1poLT1ktoEwvDsBwKCksMDIBpCfpC54m70UvuEMhCmIUjxo4EghFpQ==",
|
|
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-
|
|
36
|
-
"_shasum": "
|
|
35
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-calendars/-/ej2-calendars-18.30.15.tgz",
|
|
36
|
+
"_shasum": "e2b4532398b1ca2f262800737d31f8d2c46fbc57",
|
|
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.
|
|
48
|
-
"@syncfusion/ej2-buttons": "~21.1.
|
|
49
|
-
"@syncfusion/ej2-inputs": "~21.1.
|
|
50
|
-
"@syncfusion/ej2-lists": "~21.1.
|
|
51
|
-
"@syncfusion/ej2-popups": "~21.1.
|
|
47
|
+
"@syncfusion/ej2-base": "~21.1.38",
|
|
48
|
+
"@syncfusion/ej2-buttons": "~21.1.37",
|
|
49
|
+
"@syncfusion/ej2-inputs": "~21.1.38",
|
|
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.
|
|
84
|
+
"version": "21.1.38",
|
|
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;
|
|
@@ -1750,7 +1749,7 @@ var DatePicker = /** @class */ (function (_super) {
|
|
|
1750
1749
|
addClass([this.inputWrapper.container], ERROR);
|
|
1751
1750
|
attributes(this.inputElement, { 'aria-invalid': 'true' });
|
|
1752
1751
|
}
|
|
1753
|
-
else {
|
|
1752
|
+
else if (!isNullOrUndefined(this.inputWrapper)) {
|
|
1754
1753
|
removeClass([this.inputWrapper.container], ERROR);
|
|
1755
1754
|
attributes(this.inputElement, { 'aria-invalid': 'false' });
|
|
1756
1755
|
}
|
|
@@ -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.
|
|
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);
|