@syncfusion/ej2-schedule 29.1.38 → 29.1.41
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 +20 -4
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +19 -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 +10 -10
- package/src/schedule/actions/keyboard.js +4 -0
- package/src/schedule/popups/event-window.js +2 -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/material-lite.css +9 -0
- package/styles/material.css +9 -0
- package/styles/schedule/material.css +9 -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)) {
|
|
@@ -12745,9 +12753,9 @@ class EventWindow {
|
|
|
12745
12753
|
const container = createElement('div', { className: FORM_CONTAINER_CLASS });
|
|
12746
12754
|
const form = createElement('form', {
|
|
12747
12755
|
id: this.parent.element.id + 'EditForm',
|
|
12748
|
-
className: FORM_CLASS
|
|
12749
|
-
attrs: { onsubmit: 'return false;' }
|
|
12756
|
+
className: FORM_CLASS
|
|
12750
12757
|
});
|
|
12758
|
+
form.onsubmit = () => { return false; };
|
|
12751
12759
|
this.renderFormElements(form);
|
|
12752
12760
|
container.appendChild(form);
|
|
12753
12761
|
return container;
|
|
@@ -23750,6 +23758,8 @@ class ViewBase {
|
|
|
23750
23758
|
if (this.parent.activeView && !isNullOrUndefined(element) && !isNullOrUndefined(data)
|
|
23751
23759
|
&& parseInt(element.getAttribute('data-group-index'), 10) === data.groupIndex) {
|
|
23752
23760
|
this.parent.activeView.setResourceHeaderContent(element, data, RESOURCE_TEXT_CLASS);
|
|
23761
|
+
const eventArgs = { element: element, elementType: 'resourceHeader', groupIndex: data.groupIndex };
|
|
23762
|
+
this.parent.trigger(renderCell, eventArgs);
|
|
23753
23763
|
}
|
|
23754
23764
|
}
|
|
23755
23765
|
}
|
|
@@ -25181,6 +25191,7 @@ class VerticalView extends ViewBase {
|
|
|
25181
25191
|
}
|
|
25182
25192
|
destroy() {
|
|
25183
25193
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
25194
|
+
this.parent = null;
|
|
25184
25195
|
return;
|
|
25185
25196
|
}
|
|
25186
25197
|
this.clearCurrentTimeIndicatorTimer();
|
|
@@ -25968,6 +25979,7 @@ class Month extends ViewBase {
|
|
|
25968
25979
|
}
|
|
25969
25980
|
destroy() {
|
|
25970
25981
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
25982
|
+
this.parent = null;
|
|
25971
25983
|
return;
|
|
25972
25984
|
}
|
|
25973
25985
|
if (this.element) {
|
|
@@ -26390,6 +26402,7 @@ class Year extends ViewBase {
|
|
|
26390
26402
|
}
|
|
26391
26403
|
destroy() {
|
|
26392
26404
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
26405
|
+
this.parent = null;
|
|
26393
26406
|
return;
|
|
26394
26407
|
}
|
|
26395
26408
|
if (this.element) {
|
|
@@ -27275,6 +27288,7 @@ class Agenda extends AgendaBase {
|
|
|
27275
27288
|
}
|
|
27276
27289
|
destroy() {
|
|
27277
27290
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
27291
|
+
this.parent = null;
|
|
27278
27292
|
return;
|
|
27279
27293
|
}
|
|
27280
27294
|
if (this.element) {
|
|
@@ -27668,6 +27682,7 @@ class TimelineViews extends VerticalView {
|
|
|
27668
27682
|
}
|
|
27669
27683
|
changeCurrentTimePosition() {
|
|
27670
27684
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
27685
|
+
this.parent = null;
|
|
27671
27686
|
return;
|
|
27672
27687
|
}
|
|
27673
27688
|
this.removeCurrentTimeIndicatorElements();
|
|
@@ -27986,6 +28001,7 @@ class TimelineMonth extends Month {
|
|
|
27986
28001
|
}
|
|
27987
28002
|
destroy() {
|
|
27988
28003
|
if (!this.parent || this.parent && this.parent.isDestroyed) {
|
|
28004
|
+
this.parent = null;
|
|
27989
28005
|
return;
|
|
27990
28006
|
}
|
|
27991
28007
|
if (this.element) {
|