@syncfusion/ej2-calendars 28.1.33 → 28.1.36

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.
@@ -4609,6 +4609,11 @@ var DatePicker = /** @__PURE__ @class */ (function (_super) {
4609
4609
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
4610
4610
  _super.prototype.setOverlayIndex.call(_this, _this.mobilePopupWrapper, _this.popupObj.element, _this.modal, Browser.isDevice);
4611
4611
  _this.setAriaAttributes();
4612
+ if (Browser.isDevice) {
4613
+ var dlgOverlay = _this.createElement('div', { className: 'e-dlg-overlay' });
4614
+ dlgOverlay.style.zIndex = (_this.zIndex - 1).toString();
4615
+ _this.mobilePopupWrapper.appendChild(dlgOverlay);
4616
+ }
4612
4617
  }
4613
4618
  else {
4614
4619
  _this.popupObj.destroy();
@@ -4622,11 +4627,6 @@ var DatePicker = /** @__PURE__ @class */ (function (_super) {
4622
4627
  }
4623
4628
  EventHandler.add(document, 'mousedown touchstart', _this.documentHandler, _this);
4624
4629
  });
4625
- if (Browser.isDevice) {
4626
- var dlgOverlay = this.createElement('div', { className: 'e-dlg-overlay' });
4627
- dlgOverlay.style.zIndex = (this.zIndex - 1).toString();
4628
- this.mobilePopupWrapper.appendChild(dlgOverlay);
4629
- }
4630
4630
  }
4631
4631
  };
4632
4632
  /**
@@ -8537,9 +8537,6 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
8537
8537
  });
8538
8538
  if (this.isMobile) {
8539
8539
  this.popupObj.element.classList.add(DEVICE$1);
8540
- if (!this.isMobile) {
8541
- this.popupObj.element.classList.add('e-bigger');
8542
- }
8543
8540
  }
8544
8541
  if (this.isMobile && this.isCustomWindow) {
8545
8542
  addClass([this.modal], [DEVICE$1, ROOT$2, 'e-range-modal']);
@@ -9480,13 +9477,13 @@ var DateRangePicker = /** @__PURE__ @class */ (function (_super) {
9480
9477
  _this.selectableDates();
9481
9478
  }
9482
9479
  _super.prototype.setOverlayIndex.call(_this, _this.mobileRangePopupWrap, _this.popupObj.element, _this.modal, _this.isMobile || Browser.isDevice);
9480
+ if (Browser.isDevice) {
9481
+ var dlgOverlay = _this.createElement('div', { className: 'e-dlg-overlay' });
9482
+ dlgOverlay.style.zIndex = (_this.zIndex - 1).toString();
9483
+ _this.mobileRangePopupWrap.appendChild(dlgOverlay);
9484
+ }
9483
9485
  }
9484
9486
  });
9485
- if (Browser.isDevice) {
9486
- var dlgOverlay = this.createElement('div', { className: 'e-dlg-overlay' });
9487
- dlgOverlay.style.zIndex = (this.zIndex - 1).toString();
9488
- this.mobileRangePopupWrap.appendChild(dlgOverlay);
9489
- }
9490
9487
  }
9491
9488
  }
9492
9489
  };
@@ -12300,6 +12297,11 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
12300
12297
  addClass([_this.inputWrapper.container], FOCUS);
12301
12298
  EventHandler.add(document, 'mousedown touchstart', _this.documentClickHandler, _this);
12302
12299
  _this.setOverlayIndex(_this.mobileTimePopupWrap, _this.popupObj.element, _this.modal, Browser.isDevice);
12300
+ if (Browser.isDevice) {
12301
+ var dlgOverlay = _this.createElement('div', { className: 'e-dlg-overlay' });
12302
+ dlgOverlay.style.zIndex = (_this.zIndex - 1).toString();
12303
+ _this.mobileTimePopupWrap.appendChild(dlgOverlay);
12304
+ }
12303
12305
  }
12304
12306
  else {
12305
12307
  _this.popupObj.destroy();
@@ -12308,11 +12310,6 @@ var TimePicker = /** @__PURE__ @class */ (function (_super) {
12308
12310
  _this.popupObj = null;
12309
12311
  }
12310
12312
  });
12311
- if (Browser.isDevice) {
12312
- var dlgOverlay = this.createElement('div', { className: 'e-dlg-overlay' });
12313
- dlgOverlay.style.zIndex = (this.zIndex - 1).toString();
12314
- this.mobileTimePopupWrap.appendChild(dlgOverlay);
12315
- }
12316
12313
  }
12317
12314
  };
12318
12315
  /* eslint-enable valid-jsdoc, jsdoc/require-param */