@syncfusion/ej2-schedule 28.1.37 → 28.1.39
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/README.md +1 -1
- 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 +21 -11
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +22 -11
- 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 +11 -10
- package/src/schedule/actions/keyboard.js +5 -7
- package/src/schedule/base/css-constant.d.ts +2 -0
- package/src/schedule/base/css-constant.js +2 -0
- package/src/schedule/popups/event-tooltip.d.ts +1 -0
- package/src/schedule/popups/event-tooltip.js +15 -1
- package/src/schedule/renderer/month.js +0 -3
- package/styles/bds-lite.css +4 -0
- package/styles/bds.css +4 -0
- package/styles/bootstrap-dark-lite.css +4 -0
- package/styles/bootstrap-dark.css +4 -0
- package/styles/bootstrap-lite.css +4 -0
- package/styles/bootstrap.css +4 -0
- package/styles/bootstrap4-lite.css +4 -0
- package/styles/bootstrap4.css +4 -0
- package/styles/bootstrap5-dark-lite.css +4 -0
- package/styles/bootstrap5-dark.css +4 -0
- package/styles/bootstrap5-lite.css +4 -0
- package/styles/bootstrap5.3-lite.css +4 -0
- package/styles/bootstrap5.3.css +4 -0
- package/styles/bootstrap5.css +4 -0
- package/styles/fabric-dark-lite.css +4 -0
- package/styles/fabric-dark.css +4 -0
- package/styles/fabric-lite.css +4 -0
- package/styles/fabric.css +4 -0
- package/styles/fluent-dark-lite.css +4 -0
- package/styles/fluent-dark.css +4 -0
- package/styles/fluent-lite.css +4 -0
- package/styles/fluent.css +4 -0
- package/styles/fluent2-lite.css +4 -0
- package/styles/fluent2.css +4 -0
- package/styles/highcontrast-light-lite.css +4 -0
- package/styles/highcontrast-light.css +4 -0
- package/styles/highcontrast-lite.css +4 -0
- package/styles/highcontrast.css +4 -0
- package/styles/material-dark-lite.css +4 -0
- package/styles/material-dark.css +4 -0
- package/styles/material-lite.css +4 -0
- package/styles/material.css +4 -0
- package/styles/material3-dark-lite.css +4 -0
- package/styles/material3-dark.css +4 -0
- package/styles/material3-lite.css +4 -0
- package/styles/material3.css +4 -0
- package/styles/schedule/_layout.scss +4 -0
- package/styles/schedule/bds.css +4 -0
- package/styles/schedule/bootstrap-dark.css +4 -0
- package/styles/schedule/bootstrap.css +4 -0
- package/styles/schedule/bootstrap4.css +4 -0
- package/styles/schedule/bootstrap5-dark.css +4 -0
- package/styles/schedule/bootstrap5.3.css +4 -0
- package/styles/schedule/bootstrap5.css +4 -0
- package/styles/schedule/fabric-dark.css +4 -0
- package/styles/schedule/fabric.css +4 -0
- package/styles/schedule/fluent-dark.css +4 -0
- package/styles/schedule/fluent.css +4 -0
- package/styles/schedule/fluent2.css +4 -0
- package/styles/schedule/highcontrast-light.css +4 -0
- package/styles/schedule/highcontrast.css +4 -0
- package/styles/schedule/material-dark.css +4 -0
- package/styles/schedule/material.css +4 -0
- package/styles/schedule/material3-dark.css +4 -0
- package/styles/schedule/material3.css +4 -0
- package/styles/schedule/tailwind-dark.css +4 -0
- package/styles/schedule/tailwind.css +4 -0
- package/styles/schedule/tailwind3.css +4 -0
- package/styles/tailwind-dark-lite.css +4 -0
- package/styles/tailwind-dark.css +4 -0
- package/styles/tailwind-lite.css +4 -0
- package/styles/tailwind.css +4 -0
- package/styles/tailwind3-lite.css +4 -0
- package/styles/tailwind3.css +4 -0
|
@@ -974,6 +974,8 @@ const ERROR_VALIDATION_CLASS = 'e-schedule-error';
|
|
|
974
974
|
/** @private */
|
|
975
975
|
const EVENT_TOOLTIP_ROOT_CLASS = 'e-schedule-event-tooltip';
|
|
976
976
|
/** @private */
|
|
977
|
+
const TOOLTIP_HIDDEN_CLASS = 'e-tooltip-hidden';
|
|
978
|
+
/** @private */
|
|
977
979
|
const ALLDAY_ROW_ANIMATE_CLASS = 'e-animate';
|
|
978
980
|
/** @private */
|
|
979
981
|
const TIMESCALE_DISABLE = 'e-timescale-disable';
|
|
@@ -2291,13 +2293,13 @@ class KeyboardInteraction {
|
|
|
2291
2293
|
if (e.event.target.classList.contains(WORK_CELLS_CLASS) && e.event.which !== 3) {
|
|
2292
2294
|
this.parent.removeSelectedClass();
|
|
2293
2295
|
EventHandler.add(this.parent.getContentTable(), 'mousemove', this.onMouseSelection, this);
|
|
2294
|
-
EventHandler.add(this.parent.getContentTable(), 'mouseup', this.onMoveUp, this);
|
|
2296
|
+
EventHandler.add(this.parent.getContentTable(), 'mouseup mouseleave', this.onMoveUp, this);
|
|
2295
2297
|
}
|
|
2296
2298
|
if (e.event.target.classList.contains(ALLDAY_CELLS_CLASS) && e.event.which !== 3) {
|
|
2297
2299
|
this.parent.removeSelectedClass();
|
|
2298
2300
|
const allDayRow = this.parent.getAllDayRow();
|
|
2299
2301
|
EventHandler.add(allDayRow, 'mousemove', this.onMouseSelection, this);
|
|
2300
|
-
EventHandler.add(allDayRow, 'mouseup', this.onMoveUp, this);
|
|
2302
|
+
EventHandler.add(allDayRow, 'mouseup mouseleave', this.onMoveUp, this);
|
|
2301
2303
|
}
|
|
2302
2304
|
}
|
|
2303
2305
|
onMouseSelection(e) {
|
|
@@ -2328,14 +2330,12 @@ class KeyboardInteraction {
|
|
|
2328
2330
|
onMoveUp(e) {
|
|
2329
2331
|
const appointments = [].slice.call(this.parent.element.querySelectorAll('.' + APPOINTMENT_CLASS));
|
|
2330
2332
|
removeClass(appointments, 'e-allow-select');
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
EventHandler.remove(this.parent.getContentTable(), 'mouseup', this.onMoveUp);
|
|
2334
|
-
}
|
|
2333
|
+
EventHandler.remove(this.parent.getContentTable(), 'mousemove', this.onMouseSelection);
|
|
2334
|
+
EventHandler.remove(this.parent.getContentTable(), 'mouseup mouseleave', this.onMoveUp);
|
|
2335
2335
|
if (e.target.classList.contains(ALLDAY_CELLS_CLASS)) {
|
|
2336
2336
|
const allDayRow = this.parent.getAllDayRow();
|
|
2337
2337
|
EventHandler.remove(allDayRow, 'mousemove', this.onMouseSelection);
|
|
2338
|
-
EventHandler.remove(allDayRow, 'mouseup', this.onMoveUp);
|
|
2338
|
+
EventHandler.remove(allDayRow, 'mouseup mouseleave', this.onMoveUp);
|
|
2339
2339
|
}
|
|
2340
2340
|
if (this.isPreventAction(e)) {
|
|
2341
2341
|
return;
|
|
@@ -10993,6 +10993,7 @@ class EventTooltip {
|
|
|
10993
10993
|
target: this.getTargets(),
|
|
10994
10994
|
beforeRender: this.onBeforeRender.bind(this),
|
|
10995
10995
|
beforeClose: this.onTooltipClose.bind(this),
|
|
10996
|
+
beforeOpen: this.onTooltipOpen.bind(this),
|
|
10996
10997
|
enableRtl: this.parent.enableRtl,
|
|
10997
10998
|
enableHtmlSanitizer: this.parent.enableHtmlSanitizer
|
|
10998
10999
|
});
|
|
@@ -11103,7 +11104,19 @@ class EventTooltip {
|
|
|
11103
11104
|
};
|
|
11104
11105
|
this.setContent(initializeCSPTemplate(contentTemp));
|
|
11105
11106
|
}
|
|
11106
|
-
this.parent.renderTemplates()
|
|
11107
|
+
this.parent.renderTemplates(() => {
|
|
11108
|
+
if (this.parent && this.parent.isReact && !isNullOrUndefined(this.parent.eventSettings.tooltipTemplate)) {
|
|
11109
|
+
const wraps = (document.querySelector('.' + TOOLTIP_HIDDEN_CLASS));
|
|
11110
|
+
if (wraps) {
|
|
11111
|
+
removeClass([wraps], TOOLTIP_HIDDEN_CLASS);
|
|
11112
|
+
}
|
|
11113
|
+
}
|
|
11114
|
+
});
|
|
11115
|
+
}
|
|
11116
|
+
onTooltipOpen(args) {
|
|
11117
|
+
if (args.element && this.parent.isReact && !isNullOrUndefined(this.parent.eventSettings.tooltipTemplate)) {
|
|
11118
|
+
addClass([args.element], TOOLTIP_HIDDEN_CLASS);
|
|
11119
|
+
}
|
|
11107
11120
|
}
|
|
11108
11121
|
onTooltipClose(args) {
|
|
11109
11122
|
if (args.element) {
|
|
@@ -25010,9 +25023,6 @@ class Month extends ViewBase {
|
|
|
25010
25023
|
args.scrollPosition.left;
|
|
25011
25024
|
}
|
|
25012
25025
|
}
|
|
25013
|
-
else {
|
|
25014
|
-
this.scrollToSelectedDate();
|
|
25015
|
-
}
|
|
25016
25026
|
this.retainScrollPosition();
|
|
25017
25027
|
}
|
|
25018
25028
|
scrollToSelectedDate() {
|