@syncfusion/ej2-schedule 29.1.38 → 29.2.4
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 +26 -4
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +25 -4
- 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 +15 -15
- package/src/recurrence-editor/recurrence-editor.js +3 -0
- package/src/schedule/actions/keyboard.js +4 -0
- package/src/schedule/popups/event-window.js +5 -2
- package/src/schedule/popups/quick-popups.js +5 -2
- package/src/schedule/renderer/agenda.js +1 -0
- package/src/schedule/renderer/month.js +1 -0
- package/src/schedule/renderer/timeline-month.js +1 -0
- package/src/schedule/renderer/timeline-view.js +1 -0
- package/src/schedule/renderer/vertical-view.js +1 -0
- package/src/schedule/renderer/view-base.js +2 -0
- package/src/schedule/renderer/year.js +1 -0
- 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 +13 -0
- package/styles/material.css +13 -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 +5 -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 +13 -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
|
@@ -2181,6 +2181,10 @@ var KeyboardInteraction = /** @__PURE__ @class */ (function () {
|
|
|
2181
2181
|
this.createClipboardElement();
|
|
2182
2182
|
}
|
|
2183
2183
|
KeyboardInteraction.prototype.keyActionHandler = function (e) {
|
|
2184
|
+
var target = e.target;
|
|
2185
|
+
if (e.action === 'home' && target && ['INPUT', 'TEXTAREA', 'SELECT'].indexOf(target.tagName) > -1 && target.closest('.e-quick-popup-wrapper')) {
|
|
2186
|
+
return;
|
|
2187
|
+
}
|
|
2184
2188
|
switch (e.action) {
|
|
2185
2189
|
case 'downArrow':
|
|
2186
2190
|
case 'shiftDownArrow':
|
|
@@ -10573,8 +10577,7 @@ var QuickPopups = /** @__PURE__ @class */ (function () {
|
|
|
10573
10577
|
switch (type) {
|
|
10574
10578
|
case 'Cell':
|
|
10575
10579
|
cellDetails = this.getFormattedString(data);
|
|
10576
|
-
content = "<table class=\"" + POPUP_TABLE_CLASS + "\"><tbody><tr><td><form class=\"" + FORM_CLASS + "\"
|
|
10577
|
-
("\"return false;\"><input class=\"" + SUBJECT_CLASS + " " + EVENT_FIELD + "\" type=\"text\" name=") +
|
|
10580
|
+
content = "<table class=\"" + POPUP_TABLE_CLASS + "\"><tbody><tr><td><form class=\"" + FORM_CLASS + "\">\n <input class=\"" + SUBJECT_CLASS + " " + EVENT_FIELD + "\" type=\"text\" name=" +
|
|
10578
10581
|
("\"" + this.parent.eventFields.subject + "\" /></form></td></tr><tr><td><div class=\"" + DATE_TIME_CLASS + "\">") +
|
|
10579
10582
|
("<div class=\"" + DATE_TIME_ICON_CLASS + " " + ICON + "\"></div><div class=\"" + DATE_TIME_DETAILS_CLASS + " ") +
|
|
10580
10583
|
(TEXT_ELLIPSIS + "\">" + cellDetails.details + "</div></div>") +
|
|
@@ -10612,6 +10615,10 @@ var QuickPopups = /** @__PURE__ @class */ (function () {
|
|
|
10612
10615
|
break;
|
|
10613
10616
|
}
|
|
10614
10617
|
var templateWrapper = createElement('div', { innerHTML: content });
|
|
10618
|
+
var form = templateWrapper.querySelector('form');
|
|
10619
|
+
if (form) {
|
|
10620
|
+
form.onsubmit = function () { return false; };
|
|
10621
|
+
}
|
|
10615
10622
|
if (data[this.parent.eventFields.location]) {
|
|
10616
10623
|
var locationDetails = templateWrapper.querySelector('.' + LOCATION_DETAILS_CLASS);
|
|
10617
10624
|
if (!isNullOrUndefined(locationDetails)) {
|
|
@@ -11793,6 +11800,9 @@ var RecurrenceEditor = /** @__PURE__ @class */ (function (_super) {
|
|
|
11793
11800
|
};
|
|
11794
11801
|
RecurrenceEditor.prototype.initialize = function () {
|
|
11795
11802
|
addClass([this.element], 'e-' + this.getModuleName());
|
|
11803
|
+
if (typeof this.startDate === 'string') {
|
|
11804
|
+
this.setProperties({ startDate: new Date(this.startDate) }, false);
|
|
11805
|
+
}
|
|
11796
11806
|
this.renderComponent();
|
|
11797
11807
|
if (!isNullOrUndefined(this.value) && this.value !== '') {
|
|
11798
11808
|
this.setRecurrenceRule(this.value);
|
|
@@ -13060,9 +13070,9 @@ var EventWindow = /** @__PURE__ @class */ (function () {
|
|
|
13060
13070
|
var container = createElement('div', { className: FORM_CONTAINER_CLASS });
|
|
13061
13071
|
var form = createElement('form', {
|
|
13062
13072
|
id: this.parent.element.id + 'EditForm',
|
|
13063
|
-
className: FORM_CLASS
|
|
13064
|
-
attrs: { onsubmit: 'return false;' }
|
|
13073
|
+
className: FORM_CLASS
|
|
13065
13074
|
});
|
|
13075
|
+
form.onsubmit = function () { return false; };
|
|
13066
13076
|
this.renderFormElements(form);
|
|
13067
13077
|
container.appendChild(form);
|
|
13068
13078
|
return container;
|
|
@@ -13832,6 +13842,9 @@ var EventWindow = /** @__PURE__ @class */ (function () {
|
|
|
13832
13842
|
EventWindow.prototype.updateDateTime = function (allDayStatus, startObj, endObj) {
|
|
13833
13843
|
var startDate;
|
|
13834
13844
|
var endDate;
|
|
13845
|
+
if (isNullOrUndefined(this.eventWindowTime.startTime) && isNullOrUndefined(this.eventWindowTime.endTime)) {
|
|
13846
|
+
return;
|
|
13847
|
+
}
|
|
13835
13848
|
if (allDayStatus) {
|
|
13836
13849
|
startDate = resetTime(new Date(this.eventWindowTime.startTime.getTime()));
|
|
13837
13850
|
if (this.parent.activeCellsData.isAllDay) {
|
|
@@ -24581,6 +24594,8 @@ var ViewBase = /** @__PURE__ @class */ (function () {
|
|
|
24581
24594
|
if (this.parent.activeView && !isNullOrUndefined(element) && !isNullOrUndefined(data)
|
|
24582
24595
|
&& parseInt(element.getAttribute('data-group-index'), 10) === data.groupIndex) {
|
|
24583
24596
|
this.parent.activeView.setResourceHeaderContent(element, data, RESOURCE_TEXT_CLASS);
|
|
24597
|
+
var eventArgs = { element: element, elementType: 'resourceHeader', groupIndex: data.groupIndex };
|
|
24598
|
+
this.parent.trigger(renderCell, eventArgs);
|
|
24584
24599
|
}
|
|
24585
24600
|
}
|
|
24586
24601
|
}
|
|
@@ -26050,6 +26065,7 @@ var VerticalView = /** @__PURE__ @class */ (function (_super) {
|
|
|
26050
26065
|
};
|
|
26051
26066
|
VerticalView.prototype.destroy = function () {
|
|
26052
26067
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
26068
|
+
this.parent = null;
|
|
26053
26069
|
return;
|
|
26054
26070
|
}
|
|
26055
26071
|
this.clearCurrentTimeIndicatorTimer();
|
|
@@ -26913,6 +26929,7 @@ var Month = /** @__PURE__ @class */ (function (_super) {
|
|
|
26913
26929
|
};
|
|
26914
26930
|
Month.prototype.destroy = function () {
|
|
26915
26931
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
26932
|
+
this.parent = null;
|
|
26916
26933
|
return;
|
|
26917
26934
|
}
|
|
26918
26935
|
if (this.element) {
|
|
@@ -27360,6 +27377,7 @@ var Year = /** @__PURE__ @class */ (function (_super) {
|
|
|
27360
27377
|
};
|
|
27361
27378
|
Year.prototype.destroy = function () {
|
|
27362
27379
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
27380
|
+
this.parent = null;
|
|
27363
27381
|
return;
|
|
27364
27382
|
}
|
|
27365
27383
|
if (this.element) {
|
|
@@ -28287,6 +28305,7 @@ var Agenda = /** @__PURE__ @class */ (function (_super) {
|
|
|
28287
28305
|
};
|
|
28288
28306
|
Agenda.prototype.destroy = function () {
|
|
28289
28307
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
28308
|
+
this.parent = null;
|
|
28290
28309
|
return;
|
|
28291
28310
|
}
|
|
28292
28311
|
if (this.element) {
|
|
@@ -28724,6 +28743,7 @@ var TimelineViews = /** @__PURE__ @class */ (function (_super) {
|
|
|
28724
28743
|
};
|
|
28725
28744
|
TimelineViews.prototype.changeCurrentTimePosition = function () {
|
|
28726
28745
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
28746
|
+
this.parent = null;
|
|
28727
28747
|
return;
|
|
28728
28748
|
}
|
|
28729
28749
|
this.removeCurrentTimeIndicatorElements();
|
|
@@ -29061,6 +29081,7 @@ var TimelineMonth = /** @__PURE__ @class */ (function (_super) {
|
|
|
29061
29081
|
};
|
|
29062
29082
|
TimelineMonth.prototype.destroy = function () {
|
|
29063
29083
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
29084
|
+
this.parent = null;
|
|
29064
29085
|
return;
|
|
29065
29086
|
}
|
|
29066
29087
|
if (this.element) {
|