@syncfusion/ej2-schedule 20.3.56 → 20.3.57
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 +9 -0
- 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 +4 -6
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +4 -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 +10 -10
- package/src/schedule/actions/crud.js +0 -3
- package/src/schedule/actions/resize.js +4 -3
- package/styles/bootstrap-dark.css +5 -5
- package/styles/bootstrap.css +5 -5
- package/styles/bootstrap4.css +5 -5
- package/styles/bootstrap5-dark.css +5 -5
- package/styles/bootstrap5.css +5 -5
- package/styles/fabric-dark.css +5 -5
- package/styles/fabric.css +5 -5
- package/styles/fluent-dark.css +5 -5
- package/styles/fluent.css +5 -5
- package/styles/highcontrast-light.css +5 -5
- package/styles/highcontrast.css +5 -5
- package/styles/material-dark.css +5 -5
- package/styles/material.css +5 -5
- package/styles/recurrence-editor/bootstrap-dark.css +5 -5
- package/styles/recurrence-editor/bootstrap.css +5 -5
- package/styles/recurrence-editor/bootstrap4.css +5 -5
- package/styles/recurrence-editor/bootstrap5-dark.css +5 -5
- package/styles/recurrence-editor/bootstrap5.css +5 -5
- package/styles/recurrence-editor/fabric-dark.css +5 -5
- package/styles/recurrence-editor/fabric.css +5 -5
- package/styles/recurrence-editor/fluent-dark.css +5 -5
- package/styles/recurrence-editor/fluent.css +5 -5
- package/styles/recurrence-editor/highcontrast-light.css +5 -5
- package/styles/recurrence-editor/highcontrast.css +5 -5
- package/styles/recurrence-editor/material-dark.css +5 -5
- package/styles/recurrence-editor/material.css +5 -5
- package/styles/recurrence-editor/tailwind-dark.css +5 -5
- package/styles/recurrence-editor/tailwind.css +5 -5
- package/styles/tailwind-dark.css +5 -5
- package/styles/tailwind.css +5 -5
|
@@ -14565,9 +14565,6 @@ var Crud = /** @__PURE__ @class */ (function () {
|
|
|
14565
14565
|
var deletedEvents = eventCollections.follow.concat(eventCollections.occurrence);
|
|
14566
14566
|
switch (action) {
|
|
14567
14567
|
case 'EditSeries':
|
|
14568
|
-
if ((childEvent[fields_2.startTime] > parentEvent[fields_2.startTime]) && childEvent[fields_2.recurrenceRule]) {
|
|
14569
|
-
_this.processRecurrenceRule(parentEvent, childEvent);
|
|
14570
|
-
}
|
|
14571
14568
|
childEvent[fields_2.id] = parentEvent[fields_2.id];
|
|
14572
14569
|
childEvent[fields_2.recurrenceID] = null;
|
|
14573
14570
|
childEvent[fields_2.followingID] = null;
|
|
@@ -19973,11 +19970,13 @@ var Resize = /** @__PURE__ @class */ (function (_super) {
|
|
|
19973
19970
|
resizeTime.setHours(eventEnd.getHours(), eventEnd.getMinutes(), eventEnd.getSeconds());
|
|
19974
19971
|
}
|
|
19975
19972
|
}
|
|
19973
|
+
var isNotHourSlot = ['TimelineMonth', 'Year', 'Month', 'Week', 'Date'].indexOf(headerName) !== -1 ||
|
|
19974
|
+
!this.parent.activeViewOptions.timeScale.enable;
|
|
19976
19975
|
if (isLeft) {
|
|
19977
19976
|
if ((eventEnd.getTime() - resizeTime.getTime()) <= 0) {
|
|
19978
19977
|
resizeTime = isWithoutScale ? resetTime(eventEnd) : eventStart;
|
|
19979
19978
|
}
|
|
19980
|
-
this.actionObj.start =
|
|
19979
|
+
this.actionObj.start = !isNotHourSlot ? this.calculateIntervalTime(resizeTime) : resizeTime;
|
|
19981
19980
|
}
|
|
19982
19981
|
else {
|
|
19983
19982
|
var isTimeScaleViews = isTimeViews && this.parent.activeViewOptions.timeScale.enable;
|
|
@@ -19986,8 +19985,7 @@ var Resize = /** @__PURE__ @class */ (function (_super) {
|
|
|
19986
19985
|
if (isWithoutScale && (resizeEnd.getTime() - eventStart.getTime()) <= 0) {
|
|
19987
19986
|
resizeEnd = addDays(resetTime(eventStart), 1);
|
|
19988
19987
|
}
|
|
19989
|
-
this.actionObj.end =
|
|
19990
|
-
this.calculateIntervalTime(resizeEnd) : resizeEnd;
|
|
19988
|
+
this.actionObj.end = !isNotHourSlot ? this.calculateIntervalTime(resizeEnd) : resizeEnd;
|
|
19991
19989
|
}
|
|
19992
19990
|
};
|
|
19993
19991
|
Resize.prototype.getTopBottomStyles = function (e, isTop) {
|