@syncfusion/ej2-schedule 28.2.6 → 28.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.
@@ -1941,17 +1941,21 @@ class ScheduleTouch {
1941
1941
  EventHandler.add(this.element, 'touchend', this.preventEventClick, this);
1942
1942
  }
1943
1943
  this.parent.quickPopup.tapHoldEventPopup(e.originalEvent);
1944
+ this.triggerResizeStart(e.originalEvent);
1944
1945
  }
1945
1946
  else if (['Agenda', 'MonthAgenda', 'Year'].indexOf(this.parent.currentView) < 0) {
1946
1947
  this.parent.selectedElements = [];
1947
1948
  this.parent.eventBase.getSelectedEventElements(target);
1948
- if (this.parent.resizeModule && closest(e.originalEvent.target, '.' + EVENT_RESIZE_CLASS)) {
1949
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1950
- this.parent.resizeModule.resizeStart(e.originalEvent);
1951
- }
1949
+ this.triggerResizeStart(e.originalEvent);
1952
1950
  }
1953
1951
  }
1954
1952
  }
1953
+ triggerResizeStart(e) {
1954
+ if (this.parent.resizeModule && closest(e.target, '.' + EVENT_RESIZE_CLASS)) {
1955
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1956
+ this.parent.resizeModule.resizeStart(e);
1957
+ }
1958
+ }
1955
1959
  preventEventClick(e) {
1956
1960
  e.preventDefault();
1957
1961
  EventHandler.remove(this.element, 'touchend', this.preventEventClick);
@@ -12192,10 +12196,10 @@ let RecurrenceEditor = class RecurrenceEditor extends Component {
12192
12196
  this.repeatType.setProperties({ index: this.selectedType });
12193
12197
  break;
12194
12198
  case 'minDate':
12195
- this.untilDateObj.setProperties({ minDate: this.minDate });
12199
+ this.untilDateObj.setProperties({ min: this.minDate });
12196
12200
  break;
12197
12201
  case 'maxDate':
12198
- this.untilDateObj.setProperties({ maxDate: this.maxDate });
12202
+ this.untilDateObj.setProperties({ max: this.maxDate });
12199
12203
  break;
12200
12204
  case 'value':
12201
12205
  if (this.getRecurrenceRule() !== this.value) {
@@ -20880,6 +20884,7 @@ class Resize extends ActionBase {
20880
20884
  !closest(e.target, '.' + APPOINTMENT_BORDER))) {
20881
20885
  return;
20882
20886
  }
20887
+ this.parent.eventBase.removeSelectedAppointmentClass();
20883
20888
  this.actionObj.action = 'resize';
20884
20889
  this.actionObj.slotInterval = this.parent.activeViewOptions.timeScale.interval / this.parent.activeViewOptions.timeScale.slotCount;
20885
20890
  this.actionObj.interval = this.actionObj.slotInterval;
@@ -22188,6 +22193,9 @@ class DragAndDrop extends ActionBase {
22188
22193
  if (!isNullOrUndefined(eventObj)) {
22189
22194
  this.startTime = eventObj[this.parent.eventFields.startTime].getTime();
22190
22195
  }
22196
+ if (!this.parent.allowMultiDrag) {
22197
+ this.parent.eventBase.removeSelectedAppointmentClass();
22198
+ }
22191
22199
  const dragArgs = {
22192
22200
  cancel: false,
22193
22201
  data: eventObj,