@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.
- package/dist/ej2-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +14 -6
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +14 -6
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +13 -13
- package/src/recurrence-editor/recurrence-editor.js +2 -2
- package/src/schedule/actions/drag.js +3 -0
- package/src/schedule/actions/resize.js +1 -0
- package/src/schedule/actions/touch.d.ts +1 -0
- package/src/schedule/actions/touch.js +8 -4
|
@@ -1959,17 +1959,21 @@ var ScheduleTouch = /** @__PURE__ @class */ (function () {
|
|
|
1959
1959
|
EventHandler.add(this.element, 'touchend', this.preventEventClick, this);
|
|
1960
1960
|
}
|
|
1961
1961
|
this.parent.quickPopup.tapHoldEventPopup(e.originalEvent);
|
|
1962
|
+
this.triggerResizeStart(e.originalEvent);
|
|
1962
1963
|
}
|
|
1963
1964
|
else if (['Agenda', 'MonthAgenda', 'Year'].indexOf(this.parent.currentView) < 0) {
|
|
1964
1965
|
this.parent.selectedElements = [];
|
|
1965
1966
|
this.parent.eventBase.getSelectedEventElements(target);
|
|
1966
|
-
|
|
1967
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1968
|
-
this.parent.resizeModule.resizeStart(e.originalEvent);
|
|
1969
|
-
}
|
|
1967
|
+
this.triggerResizeStart(e.originalEvent);
|
|
1970
1968
|
}
|
|
1971
1969
|
}
|
|
1972
1970
|
};
|
|
1971
|
+
ScheduleTouch.prototype.triggerResizeStart = function (e) {
|
|
1972
|
+
if (this.parent.resizeModule && closest(e.target, '.' + EVENT_RESIZE_CLASS)) {
|
|
1973
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
1974
|
+
this.parent.resizeModule.resizeStart(e);
|
|
1975
|
+
}
|
|
1976
|
+
};
|
|
1973
1977
|
ScheduleTouch.prototype.preventEventClick = function (e) {
|
|
1974
1978
|
e.preventDefault();
|
|
1975
1979
|
EventHandler.remove(this.element, 'touchend', this.preventEventClick);
|
|
@@ -12496,10 +12500,10 @@ var RecurrenceEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
12496
12500
|
this.repeatType.setProperties({ index: this.selectedType });
|
|
12497
12501
|
break;
|
|
12498
12502
|
case 'minDate':
|
|
12499
|
-
this.untilDateObj.setProperties({
|
|
12503
|
+
this.untilDateObj.setProperties({ min: this.minDate });
|
|
12500
12504
|
break;
|
|
12501
12505
|
case 'maxDate':
|
|
12502
|
-
this.untilDateObj.setProperties({
|
|
12506
|
+
this.untilDateObj.setProperties({ max: this.maxDate });
|
|
12503
12507
|
break;
|
|
12504
12508
|
case 'value':
|
|
12505
12509
|
if (this.getRecurrenceRule() !== this.value) {
|
|
@@ -21619,6 +21623,7 @@ var Resize = /** @__PURE__ @class */ (function (_super) {
|
|
|
21619
21623
|
!closest(e.target, '.' + APPOINTMENT_BORDER))) {
|
|
21620
21624
|
return;
|
|
21621
21625
|
}
|
|
21626
|
+
this.parent.eventBase.removeSelectedAppointmentClass();
|
|
21622
21627
|
this.actionObj.action = 'resize';
|
|
21623
21628
|
this.actionObj.slotInterval = this.parent.activeViewOptions.timeScale.interval / this.parent.activeViewOptions.timeScale.slotCount;
|
|
21624
21629
|
this.actionObj.interval = this.actionObj.slotInterval;
|
|
@@ -22997,6 +23002,9 @@ var DragAndDrop = /** @__PURE__ @class */ (function (_super) {
|
|
|
22997
23002
|
if (!isNullOrUndefined(eventObj)) {
|
|
22998
23003
|
this.startTime = eventObj[this.parent.eventFields.startTime].getTime();
|
|
22999
23004
|
}
|
|
23005
|
+
if (!this.parent.allowMultiDrag) {
|
|
23006
|
+
this.parent.eventBase.removeSelectedAppointmentClass();
|
|
23007
|
+
}
|
|
23000
23008
|
var dragArgs = {
|
|
23001
23009
|
cancel: false,
|
|
23002
23010
|
data: eventObj,
|