@syncfusion/ej2-calendars 21.2.5 → 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.
- package/CHANGELOG.md +14 -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 +10 -4
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +10 -4
- 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 +8 -8
- package/src/timepicker/timepicker.js +10 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.2.
|
|
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.
|
|
3
|
+
"_id": "@syncfusion/ej2-calendars@21.2.6",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
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.
|
|
36
|
-
"_shasum": "
|
|
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": {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"bundleDependencies": false,
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@syncfusion/ej2-base": "~21.2.3",
|
|
48
|
-
"@syncfusion/ej2-buttons": "~21.2.
|
|
49
|
-
"@syncfusion/ej2-inputs": "~21.2.
|
|
50
|
-
"@syncfusion/ej2-lists": "~21.2.
|
|
48
|
+
"@syncfusion/ej2-buttons": "~21.2.6",
|
|
49
|
+
"@syncfusion/ej2-inputs": "~21.2.8",
|
|
50
|
+
"@syncfusion/ej2-lists": "~21.2.6",
|
|
51
51
|
"@syncfusion/ej2-popups": "~21.2.4"
|
|
52
52
|
},
|
|
53
53
|
"deprecated": false,
|
|
@@ -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.
|
|
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.
|
|
235
|
-
|
|
236
|
-
|
|
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
|
|
@@ -526,7 +528,6 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
526
528
|
this.generateList();
|
|
527
529
|
append([this.listWrapper], this.popupWrapper);
|
|
528
530
|
}
|
|
529
|
-
this.openPopupEventArgs.appendTo.appendChild(this.popupWrapper);
|
|
530
531
|
this.addSelection();
|
|
531
532
|
this.renderPopup();
|
|
532
533
|
detach(this.popupWrapper);
|
|
@@ -962,6 +963,11 @@ var TimePicker = /** @class */ (function (_super) {
|
|
|
962
963
|
case 'end':
|
|
963
964
|
case 'up':
|
|
964
965
|
case 'down':
|
|
966
|
+
if (!this.isPopupOpen()) {
|
|
967
|
+
this.popupCreation();
|
|
968
|
+
this.popupObj.destroy();
|
|
969
|
+
this.popupObj = this.popupWrapper = null;
|
|
970
|
+
}
|
|
965
971
|
if (this.enableMask && !this.readonly && !this.isPopupOpen()) {
|
|
966
972
|
event.preventDefault();
|
|
967
973
|
this.notify('keyDownHandler', {
|