@syncfusion/ej2-schedule 28.1.38 → 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/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 +16 -1
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +17 -1
- 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/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/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
|
@@ -975,6 +975,8 @@ var ERROR_VALIDATION_CLASS = 'e-schedule-error';
|
|
|
975
975
|
/** @private */
|
|
976
976
|
var EVENT_TOOLTIP_ROOT_CLASS = 'e-schedule-event-tooltip';
|
|
977
977
|
/** @private */
|
|
978
|
+
var TOOLTIP_HIDDEN_CLASS = 'e-tooltip-hidden';
|
|
979
|
+
/** @private */
|
|
978
980
|
var ALLDAY_ROW_ANIMATE_CLASS = 'e-animate';
|
|
979
981
|
/** @private */
|
|
980
982
|
var TIMESCALE_DISABLE = 'e-timescale-disable';
|
|
@@ -11260,6 +11262,7 @@ var EventTooltip = /** @__PURE__ @class */ (function () {
|
|
|
11260
11262
|
target: this.getTargets(),
|
|
11261
11263
|
beforeRender: this.onBeforeRender.bind(this),
|
|
11262
11264
|
beforeClose: this.onTooltipClose.bind(this),
|
|
11265
|
+
beforeOpen: this.onTooltipOpen.bind(this),
|
|
11263
11266
|
enableRtl: this.parent.enableRtl,
|
|
11264
11267
|
enableHtmlSanitizer: this.parent.enableHtmlSanitizer
|
|
11265
11268
|
});
|
|
@@ -11276,6 +11279,7 @@ var EventTooltip = /** @__PURE__ @class */ (function () {
|
|
|
11276
11279
|
return targets.join(',');
|
|
11277
11280
|
};
|
|
11278
11281
|
EventTooltip.prototype.onBeforeRender = function (args) {
|
|
11282
|
+
var _this = this;
|
|
11279
11283
|
if (this.parent.uiStateValues.isSwipeScroll) {
|
|
11280
11284
|
args.cancel = true;
|
|
11281
11285
|
return;
|
|
@@ -11370,7 +11374,19 @@ var EventTooltip = /** @__PURE__ @class */ (function () {
|
|
|
11370
11374
|
};
|
|
11371
11375
|
this.setContent(initializeCSPTemplate(contentTemp));
|
|
11372
11376
|
}
|
|
11373
|
-
this.parent.renderTemplates()
|
|
11377
|
+
this.parent.renderTemplates(function () {
|
|
11378
|
+
if (_this.parent && _this.parent.isReact && !isNullOrUndefined(_this.parent.eventSettings.tooltipTemplate)) {
|
|
11379
|
+
var wraps = (document.querySelector('.' + TOOLTIP_HIDDEN_CLASS));
|
|
11380
|
+
if (wraps) {
|
|
11381
|
+
removeClass([wraps], TOOLTIP_HIDDEN_CLASS);
|
|
11382
|
+
}
|
|
11383
|
+
}
|
|
11384
|
+
});
|
|
11385
|
+
};
|
|
11386
|
+
EventTooltip.prototype.onTooltipOpen = function (args) {
|
|
11387
|
+
if (args.element && this.parent.isReact && !isNullOrUndefined(this.parent.eventSettings.tooltipTemplate)) {
|
|
11388
|
+
addClass([args.element], TOOLTIP_HIDDEN_CLASS);
|
|
11389
|
+
}
|
|
11374
11390
|
};
|
|
11375
11391
|
EventTooltip.prototype.onTooltipClose = function (args) {
|
|
11376
11392
|
if (args.element) {
|