@syncfusion/ej2-schedule 29.1.37 → 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.
Files changed (86) hide show
  1. package/dist/ej2-schedule.min.js +2 -2
  2. package/dist/ej2-schedule.umd.min.js +2 -2
  3. package/dist/ej2-schedule.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-schedule.es2015.js +20 -4
  5. package/dist/es6/ej2-schedule.es2015.js.map +1 -1
  6. package/dist/es6/ej2-schedule.es5.js +19 -4
  7. package/dist/es6/ej2-schedule.es5.js.map +1 -1
  8. package/dist/global/ej2-schedule.min.js +2 -2
  9. package/dist/global/ej2-schedule.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +10 -10
  12. package/src/schedule/actions/keyboard.js +4 -0
  13. package/src/schedule/popups/event-window.js +2 -2
  14. package/src/schedule/popups/quick-popups.js +5 -2
  15. package/src/schedule/renderer/agenda.js +1 -0
  16. package/src/schedule/renderer/month.js +1 -0
  17. package/src/schedule/renderer/timeline-month.js +1 -0
  18. package/src/schedule/renderer/timeline-view.js +1 -0
  19. package/src/schedule/renderer/vertical-view.js +1 -0
  20. package/src/schedule/renderer/view-base.js +2 -0
  21. package/src/schedule/renderer/year.js +1 -0
  22. package/styles/bds-lite.css +5 -0
  23. package/styles/bds.css +5 -0
  24. package/styles/bootstrap-dark-lite.css +5 -0
  25. package/styles/bootstrap-dark.css +5 -0
  26. package/styles/bootstrap-lite.css +5 -0
  27. package/styles/bootstrap.css +5 -0
  28. package/styles/bootstrap4-lite.css +5 -0
  29. package/styles/bootstrap4.css +5 -0
  30. package/styles/bootstrap5-dark-lite.css +5 -0
  31. package/styles/bootstrap5-dark.css +5 -0
  32. package/styles/bootstrap5-lite.css +5 -0
  33. package/styles/bootstrap5.3-lite.css +5 -0
  34. package/styles/bootstrap5.3.css +5 -0
  35. package/styles/bootstrap5.css +5 -0
  36. package/styles/fabric-dark-lite.css +5 -0
  37. package/styles/fabric-dark.css +5 -0
  38. package/styles/fabric-lite.css +5 -0
  39. package/styles/fabric.css +5 -0
  40. package/styles/fluent-dark-lite.css +5 -0
  41. package/styles/fluent-dark.css +5 -0
  42. package/styles/fluent-lite.css +5 -0
  43. package/styles/fluent.css +5 -0
  44. package/styles/fluent2-lite.css +5 -0
  45. package/styles/fluent2.css +5 -0
  46. package/styles/highcontrast-light-lite.css +5 -0
  47. package/styles/highcontrast-light.css +5 -0
  48. package/styles/highcontrast-lite.css +5 -0
  49. package/styles/highcontrast.css +5 -0
  50. package/styles/material-dark-lite.css +5 -0
  51. package/styles/material-dark.css +5 -0
  52. package/styles/material-lite.css +14 -0
  53. package/styles/material.css +14 -0
  54. package/styles/material3-dark-lite.css +5 -0
  55. package/styles/material3-dark.css +6 -1
  56. package/styles/material3-lite.css +5 -0
  57. package/styles/material3.css +6 -1
  58. package/styles/schedule/_layout.scss +5 -0
  59. package/styles/schedule/_material3-definition.scss +1 -1
  60. package/styles/schedule/bds.css +5 -0
  61. package/styles/schedule/bootstrap-dark.css +5 -0
  62. package/styles/schedule/bootstrap.css +5 -0
  63. package/styles/schedule/bootstrap4.css +5 -0
  64. package/styles/schedule/bootstrap5-dark.css +5 -0
  65. package/styles/schedule/bootstrap5.3.css +5 -0
  66. package/styles/schedule/bootstrap5.css +5 -0
  67. package/styles/schedule/fabric-dark.css +5 -0
  68. package/styles/schedule/fabric.css +5 -0
  69. package/styles/schedule/fluent-dark.css +5 -0
  70. package/styles/schedule/fluent.css +5 -0
  71. package/styles/schedule/fluent2.css +5 -0
  72. package/styles/schedule/highcontrast-light.css +5 -0
  73. package/styles/schedule/highcontrast.css +5 -0
  74. package/styles/schedule/material-dark.css +5 -0
  75. package/styles/schedule/material.css +14 -0
  76. package/styles/schedule/material3-dark.css +6 -1
  77. package/styles/schedule/material3.css +6 -1
  78. package/styles/schedule/tailwind-dark.css +5 -0
  79. package/styles/schedule/tailwind.css +5 -0
  80. package/styles/schedule/tailwind3.css +5 -0
  81. package/styles/tailwind-dark-lite.css +5 -0
  82. package/styles/tailwind-dark.css +5 -0
  83. package/styles/tailwind-lite.css +5 -0
  84. package/styles/tailwind.css +5 -0
  85. package/styles/tailwind3-lite.css +5 -0
  86. package/styles/tailwind3.css +5 -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 + "\" onsubmit=" +
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)) {
@@ -13060,9 +13067,9 @@ var EventWindow = /** @__PURE__ @class */ (function () {
13060
13067
  var container = createElement('div', { className: FORM_CONTAINER_CLASS });
13061
13068
  var form = createElement('form', {
13062
13069
  id: this.parent.element.id + 'EditForm',
13063
- className: FORM_CLASS,
13064
- attrs: { onsubmit: 'return false;' }
13070
+ className: FORM_CLASS
13065
13071
  });
13072
+ form.onsubmit = function () { return false; };
13066
13073
  this.renderFormElements(form);
13067
13074
  container.appendChild(form);
13068
13075
  return container;
@@ -24581,6 +24588,8 @@ var ViewBase = /** @__PURE__ @class */ (function () {
24581
24588
  if (this.parent.activeView && !isNullOrUndefined(element) && !isNullOrUndefined(data)
24582
24589
  && parseInt(element.getAttribute('data-group-index'), 10) === data.groupIndex) {
24583
24590
  this.parent.activeView.setResourceHeaderContent(element, data, RESOURCE_TEXT_CLASS);
24591
+ var eventArgs = { element: element, elementType: 'resourceHeader', groupIndex: data.groupIndex };
24592
+ this.parent.trigger(renderCell, eventArgs);
24584
24593
  }
24585
24594
  }
24586
24595
  }
@@ -26050,6 +26059,7 @@ var VerticalView = /** @__PURE__ @class */ (function (_super) {
26050
26059
  };
26051
26060
  VerticalView.prototype.destroy = function () {
26052
26061
  if (!this.parent || this.parent && this.parent.isDestroyed) {
26062
+ this.parent = null;
26053
26063
  return;
26054
26064
  }
26055
26065
  this.clearCurrentTimeIndicatorTimer();
@@ -26913,6 +26923,7 @@ var Month = /** @__PURE__ @class */ (function (_super) {
26913
26923
  };
26914
26924
  Month.prototype.destroy = function () {
26915
26925
  if (!this.parent || this.parent && this.parent.isDestroyed) {
26926
+ this.parent = null;
26916
26927
  return;
26917
26928
  }
26918
26929
  if (this.element) {
@@ -27360,6 +27371,7 @@ var Year = /** @__PURE__ @class */ (function (_super) {
27360
27371
  };
27361
27372
  Year.prototype.destroy = function () {
27362
27373
  if (!this.parent || this.parent && this.parent.isDestroyed) {
27374
+ this.parent = null;
27363
27375
  return;
27364
27376
  }
27365
27377
  if (this.element) {
@@ -28287,6 +28299,7 @@ var Agenda = /** @__PURE__ @class */ (function (_super) {
28287
28299
  };
28288
28300
  Agenda.prototype.destroy = function () {
28289
28301
  if (!this.parent || this.parent && this.parent.isDestroyed) {
28302
+ this.parent = null;
28290
28303
  return;
28291
28304
  }
28292
28305
  if (this.element) {
@@ -28724,6 +28737,7 @@ var TimelineViews = /** @__PURE__ @class */ (function (_super) {
28724
28737
  };
28725
28738
  TimelineViews.prototype.changeCurrentTimePosition = function () {
28726
28739
  if (!this.parent || this.parent && this.parent.isDestroyed) {
28740
+ this.parent = null;
28727
28741
  return;
28728
28742
  }
28729
28743
  this.removeCurrentTimeIndicatorElements();
@@ -29061,6 +29075,7 @@ var TimelineMonth = /** @__PURE__ @class */ (function (_super) {
29061
29075
  };
29062
29076
  TimelineMonth.prototype.destroy = function () {
29063
29077
  if (!this.parent || this.parent && this.parent.isDestroyed) {
29078
+ this.parent = null;
29064
29079
  return;
29065
29080
  }
29066
29081
  if (this.element) {