@syncfusion/ej2-calendars 22.2.9 → 22.2.11
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 +3 -3
- package/dist/es6/ej2-calendars.es2015.js.map +1 -1
- package/dist/es6/ej2-calendars.es5.js +3 -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 +8 -8
- package/src/daterangepicker/daterangepicker.js +1 -1
- package/src/timepicker/timepicker.js +2 -2
- package/styles/calendar/material.css +1 -1
- package/styles/datepicker/material.css +1 -1
- package/styles/daterangepicker/material.css +1 -1
- package/styles/datetimepicker/material.css +1 -1
- package/styles/material.css +1 -1
- package/styles/timepicker/material.css +1 -1
|
@@ -5435,7 +5435,7 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
5435
5435
|
/**
|
|
5436
5436
|
* Mobile View
|
|
5437
5437
|
*/
|
|
5438
|
-
this.isMobile = (Browser.isDevice
|
|
5438
|
+
this.isMobile = (Browser.isDevice) ? true : window.matchMedia('(max-width:550px)').matches;
|
|
5439
5439
|
this.inputElement = this.element;
|
|
5440
5440
|
this.angularTag = null;
|
|
5441
5441
|
if (this.element.tagName === 'EJS-DATERANGEPICKER') {
|
|
@@ -10815,7 +10815,7 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
10815
10815
|
};
|
|
10816
10816
|
TimePicker.prototype.inputHandler = function (event) {
|
|
10817
10817
|
if (!this.readonly && this.enabled) {
|
|
10818
|
-
if (event.action
|
|
10818
|
+
if (!((event.action == 'right' || event.action == 'left' || event.action == 'tab') || ((event.action == 'home' || event.action == 'end') && !this.isPopupOpen()))) {
|
|
10819
10819
|
event.preventDefault();
|
|
10820
10820
|
}
|
|
10821
10821
|
switch (event.action) {
|
|
@@ -10835,7 +10835,7 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
|
|
|
10835
10835
|
e: event
|
|
10836
10836
|
});
|
|
10837
10837
|
}
|
|
10838
|
-
if (
|
|
10838
|
+
if (this.isPopupOpen()) {
|
|
10839
10839
|
this.keyHandler(event);
|
|
10840
10840
|
}
|
|
10841
10841
|
break;
|