@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
|
@@ -2151,6 +2151,10 @@ class KeyboardInteraction {
|
|
|
2151
2151
|
this.createClipboardElement();
|
|
2152
2152
|
}
|
|
2153
2153
|
keyActionHandler(e) {
|
|
2154
|
+
const target = e.target;
|
|
2155
|
+
if (e.action === 'home' && target && ['INPUT', 'TEXTAREA', 'SELECT'].indexOf(target.tagName) > -1 && target.closest('.e-quick-popup-wrapper')) {
|
|
2156
|
+
return;
|
|
2157
|
+
}
|
|
2154
2158
|
switch (e.action) {
|
|
2155
2159
|
case 'downArrow':
|
|
2156
2160
|
case 'shiftDownArrow':
|
|
@@ -10308,8 +10312,8 @@ class QuickPopups {
|
|
|
10308
10312
|
switch (type) {
|
|
10309
10313
|
case 'Cell':
|
|
10310
10314
|
cellDetails = this.getFormattedString(data);
|
|
10311
|
-
content = `<table class="${POPUP_TABLE_CLASS}"><tbody><tr><td><form class="${FORM_CLASS}"
|
|
10312
|
-
|
|
10315
|
+
content = `<table class="${POPUP_TABLE_CLASS}"><tbody><tr><td><form class="${FORM_CLASS}">
|
|
10316
|
+
<input class="${SUBJECT_CLASS} ${EVENT_FIELD}" type="text" name=` +
|
|
10313
10317
|
`"${this.parent.eventFields.subject}" /></form></td></tr><tr><td><div class="${DATE_TIME_CLASS}">` +
|
|
10314
10318
|
`<div class="${DATE_TIME_ICON_CLASS} ${ICON}"></div><div class="${DATE_TIME_DETAILS_CLASS} ` +
|
|
10315
10319
|
`${TEXT_ELLIPSIS}">${cellDetails.details}</div></div>` +
|
|
@@ -10347,6 +10351,10 @@ class QuickPopups {
|
|
|
10347
10351
|
break;
|
|
10348
10352
|
}
|
|
10349
10353
|
const templateWrapper = createElement('div', { innerHTML: content });
|
|
10354
|
+
const form = templateWrapper.querySelector('form');
|
|
10355
|
+
if (form) {
|
|
10356
|
+
form.onsubmit = () => { return false; };
|
|
10357
|
+
}
|
|
10350
10358
|
if (data[this.parent.eventFields.location]) {
|
|
10351
10359
|
const locationDetails = templateWrapper.querySelector('.' + LOCATION_DETAILS_CLASS);
|
|
10352
10360
|
if (!isNullOrUndefined(locationDetails)) {
|
|
@@ -11499,6 +11507,9 @@ let RecurrenceEditor = class RecurrenceEditor extends Component {
|
|
|
11499
11507
|
}
|
|
11500
11508
|
initialize() {
|
|
11501
11509
|
addClass([this.element], 'e-' + this.getModuleName());
|
|
11510
|
+
if (typeof this.startDate === 'string') {
|
|
11511
|
+
this.setProperties({ startDate: new Date(this.startDate) }, false);
|
|
11512
|
+
}
|
|
11502
11513
|
this.renderComponent();
|
|
11503
11514
|
if (!isNullOrUndefined(this.value) && this.value !== '') {
|
|
11504
11515
|
this.setRecurrenceRule(this.value);
|
|
@@ -12745,9 +12756,9 @@ class EventWindow {
|
|
|
12745
12756
|
const container = createElement('div', { className: FORM_CONTAINER_CLASS });
|
|
12746
12757
|
const form = createElement('form', {
|
|
12747
12758
|
id: this.parent.element.id + 'EditForm',
|
|
12748
|
-
className: FORM_CLASS
|
|
12749
|
-
attrs: { onsubmit: 'return false;' }
|
|
12759
|
+
className: FORM_CLASS
|
|
12750
12760
|
});
|
|
12761
|
+
form.onsubmit = () => { return false; };
|
|
12751
12762
|
this.renderFormElements(form);
|
|
12752
12763
|
container.appendChild(form);
|
|
12753
12764
|
return container;
|
|
@@ -13502,6 +13513,9 @@ class EventWindow {
|
|
|
13502
13513
|
updateDateTime(allDayStatus, startObj, endObj) {
|
|
13503
13514
|
let startDate;
|
|
13504
13515
|
let endDate;
|
|
13516
|
+
if (isNullOrUndefined(this.eventWindowTime.startTime) && isNullOrUndefined(this.eventWindowTime.endTime)) {
|
|
13517
|
+
return;
|
|
13518
|
+
}
|
|
13505
13519
|
if (allDayStatus) {
|
|
13506
13520
|
startDate = resetTime(new Date(this.eventWindowTime.startTime.getTime()));
|
|
13507
13521
|
if (this.parent.activeCellsData.isAllDay) {
|
|
@@ -23750,6 +23764,8 @@ class ViewBase {
|
|
|
23750
23764
|
if (this.parent.activeView && !isNullOrUndefined(element) && !isNullOrUndefined(data)
|
|
23751
23765
|
&& parseInt(element.getAttribute('data-group-index'), 10) === data.groupIndex) {
|
|
23752
23766
|
this.parent.activeView.setResourceHeaderContent(element, data, RESOURCE_TEXT_CLASS);
|
|
23767
|
+
const eventArgs = { element: element, elementType: 'resourceHeader', groupIndex: data.groupIndex };
|
|
23768
|
+
this.parent.trigger(renderCell, eventArgs);
|
|
23753
23769
|
}
|
|
23754
23770
|
}
|
|
23755
23771
|
}
|
|
@@ -25181,6 +25197,7 @@ class VerticalView extends ViewBase {
|
|
|
25181
25197
|
}
|
|
25182
25198
|
destroy() {
|
|
25183
25199
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
25200
|
+
this.parent = null;
|
|
25184
25201
|
return;
|
|
25185
25202
|
}
|
|
25186
25203
|
this.clearCurrentTimeIndicatorTimer();
|
|
@@ -25968,6 +25985,7 @@ class Month extends ViewBase {
|
|
|
25968
25985
|
}
|
|
25969
25986
|
destroy() {
|
|
25970
25987
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
25988
|
+
this.parent = null;
|
|
25971
25989
|
return;
|
|
25972
25990
|
}
|
|
25973
25991
|
if (this.element) {
|
|
@@ -26390,6 +26408,7 @@ class Year extends ViewBase {
|
|
|
26390
26408
|
}
|
|
26391
26409
|
destroy() {
|
|
26392
26410
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
26411
|
+
this.parent = null;
|
|
26393
26412
|
return;
|
|
26394
26413
|
}
|
|
26395
26414
|
if (this.element) {
|
|
@@ -27275,6 +27294,7 @@ class Agenda extends AgendaBase {
|
|
|
27275
27294
|
}
|
|
27276
27295
|
destroy() {
|
|
27277
27296
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
27297
|
+
this.parent = null;
|
|
27278
27298
|
return;
|
|
27279
27299
|
}
|
|
27280
27300
|
if (this.element) {
|
|
@@ -27668,6 +27688,7 @@ class TimelineViews extends VerticalView {
|
|
|
27668
27688
|
}
|
|
27669
27689
|
changeCurrentTimePosition() {
|
|
27670
27690
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
27691
|
+
this.parent = null;
|
|
27671
27692
|
return;
|
|
27672
27693
|
}
|
|
27673
27694
|
this.removeCurrentTimeIndicatorElements();
|
|
@@ -27986,6 +28007,7 @@ class TimelineMonth extends Month {
|
|
|
27986
28007
|
}
|
|
27987
28008
|
destroy() {
|
|
27988
28009
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
28010
|
+
this.parent = null;
|
|
27989
28011
|
return;
|
|
27990
28012
|
}
|
|
27991
28013
|
if (this.element) {
|