@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
|
@@ -9783,9 +9783,11 @@ let TimePicker = class TimePicker extends Component {
|
|
|
9783
9783
|
}
|
|
9784
9784
|
validateDisable() {
|
|
9785
9785
|
this.setMinMax(this.initMin, this.initMax);
|
|
9786
|
-
this.
|
|
9787
|
-
|
|
9788
|
-
|
|
9786
|
+
if (!isNullOrUndefined(this.value)) {
|
|
9787
|
+
this.popupCreation();
|
|
9788
|
+
this.popupObj.destroy();
|
|
9789
|
+
this.popupWrapper = this.popupObj = null;
|
|
9790
|
+
}
|
|
9789
9791
|
if ((!isNaN(+this.value) && this.value !== null)) {
|
|
9790
9792
|
if (!this.valueIsDisable(this.value)) {
|
|
9791
9793
|
//disable value given in value property so reset the date based on current date
|
|
@@ -10078,7 +10080,6 @@ let TimePicker = class TimePicker extends Component {
|
|
|
10078
10080
|
this.generateList();
|
|
10079
10081
|
append([this.listWrapper], this.popupWrapper);
|
|
10080
10082
|
}
|
|
10081
|
-
this.openPopupEventArgs.appendTo.appendChild(this.popupWrapper);
|
|
10082
10083
|
this.addSelection();
|
|
10083
10084
|
this.renderPopup();
|
|
10084
10085
|
detach(this.popupWrapper);
|
|
@@ -10511,6 +10512,11 @@ let TimePicker = class TimePicker extends Component {
|
|
|
10511
10512
|
case 'end':
|
|
10512
10513
|
case 'up':
|
|
10513
10514
|
case 'down':
|
|
10515
|
+
if (!this.isPopupOpen()) {
|
|
10516
|
+
this.popupCreation();
|
|
10517
|
+
this.popupObj.destroy();
|
|
10518
|
+
this.popupObj = this.popupWrapper = null;
|
|
10519
|
+
}
|
|
10514
10520
|
if (this.enableMask && !this.readonly && !this.isPopupOpen()) {
|
|
10515
10521
|
event.preventDefault();
|
|
10516
10522
|
this.notify('keyDownHandler', {
|