@syncfusion/ej2-schedule 28.1.39 → 28.2.3

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.
@@ -1524,6 +1524,7 @@ var HeaderRenderer = /** @__PURE__ @class */ (function () {
1524
1524
  min: this.parent.minDate,
1525
1525
  max: this.parent.maxDate,
1526
1526
  firstDayOfWeek: this.parent.activeViewOptions.firstDayOfWeek,
1527
+ weekNumber: this.parent.activeViewOptions.showWeekNumber,
1527
1528
  enableRtl: this.parent.enableRtl,
1528
1529
  locale: this.parent.locale,
1529
1530
  depth: calendarView,
@@ -26400,9 +26401,11 @@ var Month = /** @__PURE__ @class */ (function (_super) {
26400
26401
  }
26401
26402
  };
26402
26403
  Month.prototype.getMonthStart = function (currentDate) {
26403
- var useDisplayDate = this.parent.currentView === 'Month' && !isNullOrUndefined(this.parent.activeViewOptions.displayDate) && (this.parent.uiStateValues.isCustomMonth || this.isCustomRange());
26404
+ var useDisplayDate = this.parent.currentView === 'Month' && !isNullOrUndefined(this.parent.activeViewOptions.displayDate) && !(this.parent.uiStateValues.isSwipeScroll) &&
26405
+ (this.parent.uiStateValues.isCustomMonth || this.isCustomRange());
26404
26406
  var date = useDisplayDate ? this.parent.activeViewOptions.displayDate : !(this.parent.uiStateValues.isCustomMonth ||
26405
- this.isCustomRange()) && this.isCustomMonth() ? currentDate : this.parent.calendarUtil.firstDateOfMonth(currentDate);
26407
+ (!this.parent.uiStateValues.isSwipeScroll && this.isCustomRange())) && this.isCustomMonth() ? currentDate :
26408
+ this.parent.calendarUtil.firstDateOfMonth(currentDate);
26406
26409
  var monthStart = getWeekFirstDate(date, this.parent.activeViewOptions.firstDayOfWeek);
26407
26410
  return new Date(monthStart.getFullYear(), monthStart.getMonth(), monthStart.getDate());
26408
26411
  };