@syncfusion/ej2-calendars 21.2.6 → 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 +8 -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 -3
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +10 -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 +6 -6
- package/src/timepicker/timepicker.js +10 -3
|
@@ -9899,9 +9899,11 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
9899
9899
|
};
|
|
9900
9900
|
TimePicker.prototype.validateDisable = function () {
|
|
9901
9901
|
this.setMinMax(this.initMin, this.initMax);
|
|
9902
|
-
this.
|
|
9903
|
-
|
|
9904
|
-
|
|
9902
|
+
if (!isNullOrUndefined(this.value)) {
|
|
9903
|
+
this.popupCreation();
|
|
9904
|
+
this.popupObj.destroy();
|
|
9905
|
+
this.popupWrapper = this.popupObj = null;
|
|
9906
|
+
}
|
|
9905
9907
|
if ((!isNaN(+this.value) && this.value !== null)) {
|
|
9906
9908
|
if (!this.valueIsDisable(this.value)) {
|
|
9907
9909
|
//disable value given in value property so reset the date based on current date
|
|
@@ -10629,6 +10631,11 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
10629
10631
|
case 'end':
|
|
10630
10632
|
case 'up':
|
|
10631
10633
|
case 'down':
|
|
10634
|
+
if (!this.isPopupOpen()) {
|
|
10635
|
+
this.popupCreation();
|
|
10636
|
+
this.popupObj.destroy();
|
|
10637
|
+
this.popupObj = this.popupWrapper = null;
|
|
10638
|
+
}
|
|
10632
10639
|
if (this.enableMask && !this.readonly && !this.isPopupOpen()) {
|
|
10633
10640
|
event.preventDefault();
|
|
10634
10641
|
this.notify('keyDownHandler', {
|