@syncfusion/ej2-schedule 31.2.12 → 32.1.19
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 +1 -10
- package/dist/ej2-schedule.umd.min.js +1 -10
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +24 -26
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +27 -31
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +1 -10
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +0 -9
- package/package.json +11 -11
- package/src/recurrence-editor/date-generator.js +0 -4
- package/src/schedule/actions/action-base.d.ts +1 -0
- package/src/schedule/actions/action-base.js +10 -7
- package/src/schedule/actions/drag.js +1 -5
- package/src/schedule/actions/keyboard.js +1 -0
- package/src/schedule/actions/resize.js +4 -7
- package/src/schedule/base/schedule.d.ts +2 -2
- package/src/schedule/base/schedule.js +3 -3
- package/src/schedule/event-renderer/month.js +2 -1
- package/src/schedule/event-renderer/timeline-view.js +2 -1
- package/src/schedule/event-renderer/vertical-view.js +1 -1
- package/src/schedule/event-renderer/year.js +2 -2
- package/src/schedule/renderer/agenda.js +2 -1
- package/styles/bds-lite.css +45 -8
- package/styles/bds-lite.scss +18 -18
- package/styles/bds.css +45 -8
- package/styles/bds.scss +20 -20
- package/styles/bootstrap-dark-lite.css +8 -8
- package/styles/bootstrap-dark-lite.scss +18 -18
- package/styles/bootstrap-dark.css +8 -8
- package/styles/bootstrap-dark.scss +20 -20
- package/styles/bootstrap-lite.css +8 -8
- package/styles/bootstrap-lite.scss +18 -18
- package/styles/bootstrap.css +8 -8
- package/styles/bootstrap.scss +20 -20
- package/styles/bootstrap4-lite.css +10 -10
- package/styles/bootstrap4-lite.scss +18 -18
- package/styles/bootstrap4.css +10 -10
- package/styles/bootstrap4.scss +20 -20
- package/styles/bootstrap5-dark-lite.css +8 -8
- package/styles/bootstrap5-dark-lite.scss +18 -18
- package/styles/bootstrap5-dark.css +8 -8
- package/styles/bootstrap5-dark.scss +20 -20
- package/styles/bootstrap5-lite.css +8 -8
- package/styles/bootstrap5-lite.scss +19 -18
- package/styles/bootstrap5.3-lite.css +112 -32
- package/styles/bootstrap5.3-lite.scss +19 -18
- package/styles/bootstrap5.3.css +114 -34
- package/styles/bootstrap5.3.scss +21 -20
- package/styles/bootstrap5.css +8 -8
- package/styles/bootstrap5.scss +21 -20
- package/styles/fabric-dark-lite.css +8 -8
- package/styles/fabric-dark-lite.scss +19 -18
- package/styles/fabric-dark.css +8 -8
- package/styles/fabric-dark.scss +21 -20
- package/styles/fabric-lite.css +8 -8
- package/styles/fabric-lite.scss +19 -18
- package/styles/fabric.css +8 -8
- package/styles/fabric.scss +21 -20
- package/styles/fluent-dark-lite.css +10 -10
- package/styles/fluent-dark-lite.scss +19 -18
- package/styles/fluent-dark.css +10 -10
- package/styles/fluent-dark.scss +21 -20
- package/styles/fluent-lite.css +10 -10
- package/styles/fluent-lite.scss +19 -18
- package/styles/fluent.css +10 -10
- package/styles/fluent.scss +21 -20
- package/styles/fluent2-lite.css +267 -34
- package/styles/fluent2-lite.scss +19 -18
- package/styles/fluent2.css +270 -37
- package/styles/fluent2.scss +21 -20
- package/styles/highcontrast-light-lite.css +8 -8
- package/styles/highcontrast-light-lite.scss +19 -18
- package/styles/highcontrast-light.css +8 -8
- package/styles/highcontrast-light.scss +21 -20
- package/styles/highcontrast-lite.css +8 -8
- package/styles/highcontrast-lite.scss +19 -18
- package/styles/highcontrast.css +8 -8
- package/styles/highcontrast.scss +21 -20
- package/styles/material-dark-lite.css +10 -10
- package/styles/material-dark-lite.scss +19 -18
- package/styles/material-dark.css +10 -10
- package/styles/material-dark.scss +21 -20
- package/styles/material-lite.css +12 -10
- package/styles/material-lite.scss +18 -18
- package/styles/material.css +12 -10
- package/styles/material.scss +20 -20
- package/styles/material3-dark-lite.css +432 -9
- package/styles/material3-dark-lite.scss +19 -18
- package/styles/material3-dark.css +432 -9
- package/styles/material3-dark.scss +21 -22
- package/styles/material3-lite.css +449 -26
- package/styles/material3-lite.scss +19 -18
- package/styles/material3.css +451 -28
- package/styles/material3.scss +21 -22
- package/styles/recurrence-editor/_all.scss +2 -2
- package/styles/recurrence-editor/_bds-definition.scss +27 -1
- package/styles/recurrence-editor/_bigger.scss +21 -19
- package/styles/recurrence-editor/_bootstrap-dark-definition.scss +27 -1
- package/styles/recurrence-editor/_bootstrap-definition.scss +27 -1
- package/styles/recurrence-editor/_bootstrap4-definition.scss +27 -1
- package/styles/recurrence-editor/_bootstrap5-dark-definition.scss +41 -1
- package/styles/recurrence-editor/_bootstrap5-definition.scss +27 -1
- package/styles/recurrence-editor/_bootstrap5.3-definition.scss +27 -1
- package/styles/recurrence-editor/_fabric-dark-definition.scss +27 -1
- package/styles/recurrence-editor/_fabric-definition.scss +27 -1
- package/styles/recurrence-editor/_fluent-dark-definition.scss +41 -1
- package/styles/recurrence-editor/_fluent-definition.scss +27 -1
- package/styles/recurrence-editor/_fluent2-definition.scss +27 -1
- package/styles/recurrence-editor/_fusionnew-definition.scss +27 -1
- package/styles/recurrence-editor/_highcontrast-definition.scss +27 -1
- package/styles/recurrence-editor/_highcontrast-light-definition.scss +27 -1
- package/styles/recurrence-editor/_layout.scss +60 -58
- package/styles/recurrence-editor/_material-dark-definition.scss +27 -1
- package/styles/recurrence-editor/_material-definition.scss +27 -1
- package/styles/recurrence-editor/_material3-dark-definition.scss +41 -1
- package/styles/recurrence-editor/_material3-definition.scss +27 -1
- package/styles/recurrence-editor/_tailwind-dark-definition.scss +41 -1
- package/styles/recurrence-editor/_tailwind-definition.scss +27 -1
- package/styles/recurrence-editor/_tailwind3-definition.scss +27 -1
- package/styles/recurrence-editor/_theme-variables.scss +1 -0
- package/styles/recurrence-editor/bds.scss +9 -9
- package/styles/recurrence-editor/bootstrap-dark.scss +9 -9
- package/styles/recurrence-editor/bootstrap.scss +9 -9
- package/styles/recurrence-editor/bootstrap4.css +2 -2
- package/styles/recurrence-editor/bootstrap4.scss +9 -9
- package/styles/recurrence-editor/bootstrap5-dark.scss +9 -9
- package/styles/recurrence-editor/bootstrap5.3.css +81 -1
- package/styles/recurrence-editor/bootstrap5.3.scss +9 -9
- package/styles/recurrence-editor/bootstrap5.scss +9 -9
- package/styles/recurrence-editor/fabric-dark.scss +9 -9
- package/styles/recurrence-editor/fabric.scss +9 -9
- package/styles/recurrence-editor/fluent-dark.css +2 -2
- package/styles/recurrence-editor/fluent-dark.scss +9 -9
- package/styles/recurrence-editor/fluent.css +2 -2
- package/styles/recurrence-editor/fluent.scss +9 -9
- package/styles/recurrence-editor/fluent2.css +334 -6
- package/styles/recurrence-editor/fluent2.scss +9 -9
- package/styles/recurrence-editor/highcontrast-light.scss +9 -9
- package/styles/recurrence-editor/highcontrast.scss +9 -9
- package/styles/recurrence-editor/material-dark.css +2 -2
- package/styles/recurrence-editor/material-dark.scss +9 -9
- package/styles/recurrence-editor/material.css +2 -2
- package/styles/recurrence-editor/material.scss +9 -9
- package/styles/recurrence-editor/material3-dark.css +140 -1
- package/styles/recurrence-editor/material3-dark.scss +9 -10
- package/styles/recurrence-editor/material3.css +140 -1
- package/styles/recurrence-editor/material3.scss +9 -10
- package/styles/recurrence-editor/tailwind-dark.scss +9 -9
- package/styles/recurrence-editor/tailwind.scss +9 -9
- package/styles/recurrence-editor/tailwind3.css +71 -1
- package/styles/recurrence-editor/tailwind3.scss +9 -9
- package/styles/schedule/_all.scss +2 -2
- package/styles/schedule/_bds-definition.scss +105 -0
- package/styles/schedule/_bigger.scss +88 -86
- package/styles/schedule/_bootstrap-dark-definition.scss +105 -0
- package/styles/schedule/_bootstrap-definition.scss +105 -0
- package/styles/schedule/_bootstrap4-definition.scss +105 -0
- package/styles/schedule/_bootstrap5-dark-definition.scss +385 -1
- package/styles/schedule/_bootstrap5-definition.scss +105 -0
- package/styles/schedule/_bootstrap5.3-definition.scss +113 -8
- package/styles/schedule/_fabric-dark-definition.scss +105 -0
- package/styles/schedule/_fabric-definition.scss +105 -0
- package/styles/schedule/_fluent-dark-definition.scss +385 -1
- package/styles/schedule/_fluent-definition.scss +105 -0
- package/styles/schedule/_fluent2-definition.scss +111 -6
- package/styles/schedule/_fusionnew-definition.scss +103 -0
- package/styles/schedule/_highcontrast-definition.scss +105 -0
- package/styles/schedule/_highcontrast-light-definition.scss +105 -0
- package/styles/schedule/_layout.scss +395 -391
- package/styles/schedule/_material-dark-definition.scss +105 -0
- package/styles/schedule/_material-definition.scss +105 -0
- package/styles/schedule/_material3-dark-definition.scss +384 -1
- package/styles/schedule/_material3-definition.scss +111 -6
- package/styles/schedule/_tailwind-dark-definition.scss +380 -1
- package/styles/schedule/_tailwind-definition.scss +105 -0
- package/styles/schedule/_tailwind3-definition.scss +112 -7
- package/styles/schedule/_theme-variables.scss +1 -0
- package/styles/schedule/_theme.scss +34 -32
- package/styles/schedule/bds.css +45 -8
- package/styles/schedule/bds.scss +18 -17
- package/styles/schedule/bootstrap-dark.css +8 -8
- package/styles/schedule/bootstrap-dark.scss +18 -17
- package/styles/schedule/bootstrap.css +8 -8
- package/styles/schedule/bootstrap.scss +18 -17
- package/styles/schedule/bootstrap4.css +8 -8
- package/styles/schedule/bootstrap4.scss +18 -17
- package/styles/schedule/bootstrap5-dark.css +8 -8
- package/styles/schedule/bootstrap5-dark.scss +18 -16
- package/styles/schedule/bootstrap5.3.css +114 -34
- package/styles/schedule/bootstrap5.3.scss +18 -17
- package/styles/schedule/bootstrap5.css +8 -8
- package/styles/schedule/bootstrap5.scss +18 -17
- package/styles/schedule/fabric-dark.css +8 -8
- package/styles/schedule/fabric-dark.scss +18 -17
- package/styles/schedule/fabric.css +8 -8
- package/styles/schedule/fabric.scss +18 -17
- package/styles/schedule/fluent-dark.css +8 -8
- package/styles/schedule/fluent-dark.scss +18 -16
- package/styles/schedule/fluent.css +8 -8
- package/styles/schedule/fluent.scss +18 -17
- package/styles/schedule/fluent2.css +266 -33
- package/styles/schedule/fluent2.scss +18 -17
- package/styles/schedule/highcontrast-light.css +8 -8
- package/styles/schedule/highcontrast-light.scss +18 -17
- package/styles/schedule/highcontrast.css +8 -8
- package/styles/schedule/highcontrast.scss +18 -17
- package/styles/schedule/icons/_bds.scss +1 -0
- package/styles/schedule/icons/_bootstrap-dark.scss +1 -0
- package/styles/schedule/icons/_bootstrap.scss +1 -0
- package/styles/schedule/icons/_bootstrap4.scss +1 -0
- package/styles/schedule/icons/_bootstrap5-dark.scss +1 -1
- package/styles/schedule/icons/_bootstrap5.3.scss +1 -0
- package/styles/schedule/icons/_bootstrap5.scss +1 -0
- package/styles/schedule/icons/_fabric-dark.scss +1 -0
- package/styles/schedule/icons/_fabric.scss +1 -0
- package/styles/schedule/icons/_fluent-dark.scss +1 -1
- package/styles/schedule/icons/_fluent.scss +1 -0
- package/styles/schedule/icons/_fluent2.scss +1 -0
- package/styles/schedule/icons/_fusionnew.scss +1 -0
- package/styles/schedule/icons/_highcontrast-light.scss +1 -0
- package/styles/schedule/icons/_highcontrast.scss +1 -0
- package/styles/schedule/icons/_material-dark.scss +1 -0
- package/styles/schedule/icons/_material.scss +1 -0
- package/styles/schedule/icons/_material3-dark.scss +1 -1
- package/styles/schedule/icons/_material3.scss +1 -0
- package/styles/schedule/icons/_tailwind-dark.scss +1 -1
- package/styles/schedule/icons/_tailwind.scss +1 -0
- package/styles/schedule/icons/_tailwind3.scss +1 -0
- package/styles/schedule/material-dark.css +8 -8
- package/styles/schedule/material-dark.scss +18 -17
- package/styles/schedule/material.css +10 -8
- package/styles/schedule/material.scss +18 -17
- package/styles/schedule/material3-dark.css +432 -9
- package/styles/schedule/material3-dark.scss +18 -17
- package/styles/schedule/material3.css +451 -28
- package/styles/schedule/material3.scss +18 -18
- package/styles/schedule/tailwind-dark.css +8 -8
- package/styles/schedule/tailwind-dark.scss +18 -16
- package/styles/schedule/tailwind.css +8 -8
- package/styles/schedule/tailwind.scss +18 -17
- package/styles/schedule/tailwind3.css +151 -33
- package/styles/schedule/tailwind3.scss +18 -17
- package/styles/tailwind-dark-lite.css +8 -8
- package/styles/tailwind-dark-lite.scss +19 -18
- package/styles/tailwind-dark.css +8 -8
- package/styles/tailwind-dark.scss +21 -20
- package/styles/tailwind-lite.css +8 -8
- package/styles/tailwind-lite.scss +19 -18
- package/styles/tailwind.css +8 -8
- package/styles/tailwind.scss +21 -20
- package/styles/tailwind3-lite.css +149 -31
- package/styles/tailwind3-lite.scss +19 -18
- package/styles/tailwind3.css +151 -33
- package/styles/tailwind3.scss +21 -20
|
@@ -3409,6 +3409,7 @@ var KeyboardInteraction = /** @__PURE__ @class */ (function () {
|
|
|
3409
3409
|
navigator.clipboard.writeText(this.clipBoardTextArea.value)
|
|
3410
3410
|
.then(function () {
|
|
3411
3411
|
_this.clipBoardTextArea.blur();
|
|
3412
|
+
_this.clipBoardTextArea.selectionStart = _this.clipBoardTextArea.selectionEnd;
|
|
3412
3413
|
window.getSelection().removeAllRanges();
|
|
3413
3414
|
if (e) {
|
|
3414
3415
|
var closestAppointment = e.target.closest('.' + APPOINTMENT_CLASS);
|
|
@@ -4380,10 +4381,6 @@ function generate(startDate, rule, excludeDate, startDayOfWeek, maximumCount, vi
|
|
|
4380
4381
|
maxOccurrence = maximumCount;
|
|
4381
4382
|
startDayOfWeek = startDayOfWeek || 0;
|
|
4382
4383
|
setFirstDayOfWeek(DAYINDEX[parseInt(startDayOfWeek.toString(), 10)]);
|
|
4383
|
-
if (ruleObject.until) {
|
|
4384
|
-
var end = resetTime(ruleObject.until);
|
|
4385
|
-
ruleObject.until = new Date(end.getFullYear(), end.getMonth(), end.getDate(), 23, 59, 59);
|
|
4386
|
-
}
|
|
4387
4384
|
switch (ruleObject.freq) {
|
|
4388
4385
|
case 'DAILY':
|
|
4389
4386
|
dailyType(modifiedDate, ruleObject.until, data, ruleObject);
|
|
@@ -7595,7 +7592,7 @@ var VerticalEvent = /** @__PURE__ @class */ (function (_super) {
|
|
|
7595
7592
|
var appWidth = eventObj.IsBlock ? '99%' : '100%';
|
|
7596
7593
|
setStyleAttribute(appointmentElement, { 'width': appWidth, 'height': blockHeight, 'top': blockTop });
|
|
7597
7594
|
var index = this.getDayIndex(dayIndex, resource, dayCount);
|
|
7598
|
-
var appLeft = eventObj.IsBlock ? '
|
|
7595
|
+
var appLeft = eventObj.IsBlock ? '1px' : '0px';
|
|
7599
7596
|
this.appendEvent(eventObj, appointmentElement, index, appLeft);
|
|
7600
7597
|
}
|
|
7601
7598
|
};
|
|
@@ -8861,8 +8858,9 @@ var MonthEvent = /** @__PURE__ @class */ (function (_super) {
|
|
|
8861
8858
|
if (!isNullOrUndefined(groupIndex)) {
|
|
8862
8859
|
moreIndicatorElement.setAttribute('data-group-index', groupIndex);
|
|
8863
8860
|
}
|
|
8864
|
-
moreIndicatorElement.style.top = (this.cellHeight - this.monthHeaderHeight
|
|
8861
|
+
moreIndicatorElement.style.top = (this.cellHeight - this.monthHeaderHeight) + 'px';
|
|
8865
8862
|
moreIndicatorElement.style.width = this.cellWidth - 2 + 'px';
|
|
8863
|
+
moreIndicatorElement.style.transform = 'translateY(-100%)';
|
|
8866
8864
|
this.renderElement(this.workCells[day + i], moreIndicatorElement);
|
|
8867
8865
|
EventHandler.add(moreIndicatorElement, 'click', this.moreIndicatorClick, this);
|
|
8868
8866
|
}
|
|
@@ -9369,10 +9367,11 @@ var TimelineEvent = /** @__PURE__ @class */ (function (_super) {
|
|
|
9369
9367
|
if (!isNullOrUndefined(groupIndex)) {
|
|
9370
9368
|
moreIndicatorElement.setAttribute('data-group-index', groupIndex);
|
|
9371
9369
|
}
|
|
9372
|
-
moreIndicatorElement.style.top = top +
|
|
9370
|
+
moreIndicatorElement.style.top = top + this.cellHeight + 'px';
|
|
9373
9371
|
moreIndicatorElement.style.width = this.cellWidth + 'px';
|
|
9374
9372
|
moreIndicatorElement.style.left = (Math.floor(appLeft / this.cellWidth) * this.cellWidth) + 'px';
|
|
9375
9373
|
moreIndicatorElement.style.right = (Math.floor(appRight / this.cellWidth) * this.cellWidth) + 'px';
|
|
9374
|
+
moreIndicatorElement.style.transform = 'translateY(-100%)';
|
|
9376
9375
|
this.renderElement(cellTd, moreIndicatorElement);
|
|
9377
9376
|
EventHandler.add(moreIndicatorElement, 'click', this.moreIndicatorClick, this);
|
|
9378
9377
|
}
|
|
@@ -19131,7 +19130,7 @@ var Schedule = /** @__PURE__ @class */ (function (_super) {
|
|
|
19131
19130
|
addClass(cells, SELECTED_CELL_CLASS);
|
|
19132
19131
|
if (focusCell) {
|
|
19133
19132
|
focusCell.setAttribute('tabindex', '0');
|
|
19134
|
-
focusCell.focus({ preventScroll: isPreventScroll ||
|
|
19133
|
+
focusCell.focus({ preventScroll: isPreventScroll || focusCell.classList.contains('e-all-day-cells') && this.enableAllDayScroll });
|
|
19135
19134
|
}
|
|
19136
19135
|
};
|
|
19137
19136
|
/**
|
|
@@ -20384,8 +20383,8 @@ var Schedule = /** @__PURE__ @class */ (function (_super) {
|
|
|
20384
20383
|
* Scrolls the Schedule content area to the specified time.
|
|
20385
20384
|
*
|
|
20386
20385
|
* @function scrollTo
|
|
20387
|
-
* @param {string} hour Accepts the time value in the skeleton format of 'Hm'.
|
|
20388
|
-
* @param {Date} scrollDate Accepts the date
|
|
20386
|
+
* @param {string} hour Accepts the time value in the skeleton format of 'Hm'. This parameter specifies the hour and minute to scroll to within the schedule.
|
|
20387
|
+
* @param {Date} scrollDate Accepts a Date object value that represents the specific date to scroll to in the schedule.
|
|
20389
20388
|
* @returns {void}
|
|
20390
20389
|
*/
|
|
20391
20390
|
Schedule.prototype.scrollTo = function (hour, scrollDate) {
|
|
@@ -21807,6 +21806,13 @@ var ActionBase = /** @__PURE__ @class */ (function () {
|
|
|
21807
21806
|
remove(timeIndicator);
|
|
21808
21807
|
}
|
|
21809
21808
|
};
|
|
21809
|
+
ActionBase.prototype.removeDragResizeClones = function () {
|
|
21810
|
+
var eventWrappers = [].slice.call(this.parent.element.querySelectorAll('.' + CLONE_ELEMENT_CLASS));
|
|
21811
|
+
for (var _i = 0, eventWrappers_1 = eventWrappers; _i < eventWrappers_1.length; _i++) {
|
|
21812
|
+
var wrapper = eventWrappers_1[_i];
|
|
21813
|
+
remove(wrapper);
|
|
21814
|
+
}
|
|
21815
|
+
};
|
|
21810
21816
|
ActionBase.prototype.getCursorElement = function (e) {
|
|
21811
21817
|
var pages = this.parent.eventBase.getPageCoordinates(e);
|
|
21812
21818
|
return document.elementFromPoint(pages.clientX, pages.clientY);
|
|
@@ -21992,15 +21998,11 @@ var ActionBase = /** @__PURE__ @class */ (function () {
|
|
|
21992
21998
|
this.monthEvent.dateRender = dateRender;
|
|
21993
21999
|
this.monthEvent.getSlotDates(workDays);
|
|
21994
22000
|
if (this.resizeEdges.left || this.resizeEdges.right) {
|
|
21995
|
-
|
|
21996
|
-
for (var _i = 0, eventWrappers_1 = eventWrappers; _i < eventWrappers_1.length; _i++) {
|
|
21997
|
-
var wrapper = eventWrappers_1[_i];
|
|
21998
|
-
remove(wrapper);
|
|
21999
|
-
}
|
|
22001
|
+
this.removeDragResizeClones();
|
|
22000
22002
|
}
|
|
22001
22003
|
var spannedEvents = this.monthEvent.splitEvent(event, dateRender);
|
|
22002
|
-
for (var
|
|
22003
|
-
var event_1 = spannedEvents_1[
|
|
22004
|
+
for (var _i = 0, spannedEvents_1 = spannedEvents; _i < spannedEvents_1.length; _i++) {
|
|
22005
|
+
var event_1 = spannedEvents_1[_i];
|
|
22004
22006
|
var day = this.parent.getIndexOfDate(dateRender, resetTime(event_1[this.monthEvent.fields.startTime]));
|
|
22005
22007
|
var diffInDays = event_1.data.count;
|
|
22006
22008
|
var appWidth = (diffInDays * this.actionObj.cellWidth) - 7;
|
|
@@ -22292,11 +22294,7 @@ var Resize = /** @__PURE__ @class */ (function (_super) {
|
|
|
22292
22294
|
}
|
|
22293
22295
|
};
|
|
22294
22296
|
Resize.prototype.yearEventsRendering = function (event) {
|
|
22295
|
-
|
|
22296
|
-
for (var _i = 0, eventWrappers_1 = eventWrappers; _i < eventWrappers_1.length; _i++) {
|
|
22297
|
-
var wrapper = eventWrappers_1[_i];
|
|
22298
|
-
remove(wrapper);
|
|
22299
|
-
}
|
|
22297
|
+
this.removeDragResizeClones();
|
|
22300
22298
|
var endDate = new Date(event[this.parent.eventFields.endTime]);
|
|
22301
22299
|
var monthDiff = 0;
|
|
22302
22300
|
if (this.parent.activeViewOptions.group.resources.length === 0) {
|
|
@@ -22351,6 +22349,7 @@ var Resize = /** @__PURE__ @class */ (function (_super) {
|
|
|
22351
22349
|
this.actionObj.action = null;
|
|
22352
22350
|
this.removeCloneElementClasses();
|
|
22353
22351
|
this.removeCloneElement();
|
|
22352
|
+
this.removeDragResizeClones();
|
|
22354
22353
|
this.actionClass('removeClass');
|
|
22355
22354
|
this.parent.uiStateValues.action = this.parent.uiStateValues.isTapHold = false;
|
|
22356
22355
|
var resizeArgs = { cancel: false, data: this.getChangedData(), element: this.actionObj.element, event: e };
|
|
@@ -22375,7 +22374,7 @@ var Resize = /** @__PURE__ @class */ (function (_super) {
|
|
|
22375
22374
|
if (!isTop) {
|
|
22376
22375
|
offsetValue += this.actionObj.clone.offsetHeight;
|
|
22377
22376
|
}
|
|
22378
|
-
var minutes = (offsetValue / Math.round(this.actionObj.cellHeight)) * this.actionObj.slotInterval;
|
|
22377
|
+
var minutes = Math.round((offsetValue / Math.round(this.actionObj.cellHeight)) * this.actionObj.slotInterval);
|
|
22379
22378
|
var element = this.actionObj.clone.offsetParent;
|
|
22380
22379
|
if (isNullOrUndefined(element)) {
|
|
22381
22380
|
return;
|
|
@@ -23109,10 +23108,10 @@ var YearEvent = /** @__PURE__ @class */ (function (_super) {
|
|
|
23109
23108
|
}
|
|
23110
23109
|
var moreIndicator = this.getMoreIndicatorElement(count, startDate, endDate);
|
|
23111
23110
|
var rowTr = this.parent.element.querySelector(".e-content-wrap tr:nth-child(" + (row + 1) + ")");
|
|
23112
|
-
var top = rowTr.offsetTop +
|
|
23111
|
+
var top = rowTr.offsetTop + this.cellHeight;
|
|
23113
23112
|
left = (Math.floor(left / this.cellWidth) * this.cellWidth);
|
|
23114
23113
|
right = (Math.floor(right / this.cellWidth) * this.cellWidth);
|
|
23115
|
-
setStyleAttribute(moreIndicator, { 'width': this.cellWidth + 'px', 'left': left + 'px', 'right': right + 'px', 'top': top + 'px' });
|
|
23114
|
+
setStyleAttribute(moreIndicator, { 'width': this.cellWidth + 'px', 'left': left + 'px', 'right': right + 'px', 'top': top + 'px', 'transform': 'translateY(-100%)' });
|
|
23116
23115
|
if (!isNullOrUndefined(index)) {
|
|
23117
23116
|
moreIndicator.setAttribute('data-group-index', index.toString());
|
|
23118
23117
|
}
|
|
@@ -24324,11 +24323,7 @@ var DragAndDrop = /** @__PURE__ @class */ (function (_super) {
|
|
|
24324
24323
|
}
|
|
24325
24324
|
var event = this.getUpdatedEvent(this.actionObj.start, this.actionObj.end, this.actionObj.event);
|
|
24326
24325
|
if (isNullOrUndefined(this.parent.eventDragArea)) {
|
|
24327
|
-
|
|
24328
|
-
for (var _i = 0, eventWrappers_1 = eventWrappers; _i < eventWrappers_1.length; _i++) {
|
|
24329
|
-
var wrapper = eventWrappers_1[_i];
|
|
24330
|
-
remove(wrapper);
|
|
24331
|
-
}
|
|
24326
|
+
this.removeDragResizeClones();
|
|
24332
24327
|
}
|
|
24333
24328
|
if (this.multiData && this.multiData.length > 0) {
|
|
24334
24329
|
var startTime = resetTime(new Date(event[this.parent.eventFields.startTime]));
|
|
@@ -28317,9 +28312,10 @@ var Agenda = /** @__PURE__ @class */ (function (_super) {
|
|
|
28317
28312
|
}
|
|
28318
28313
|
else {
|
|
28319
28314
|
for (var a = 0, length_1 = liCollection.length; a < length_1; a++) {
|
|
28315
|
+
var targetRect = target.getBoundingClientRect();
|
|
28320
28316
|
li = liCollection[parseInt(a.toString(), 10)];
|
|
28321
28317
|
liDetails = li.getBoundingClientRect();
|
|
28322
|
-
if (
|
|
28318
|
+
if (targetRect.top < liDetails.top) {
|
|
28323
28319
|
filterElement = closest(li, '.' + AGENDA_CELLS_CLASS);
|
|
28324
28320
|
break;
|
|
28325
28321
|
}
|