@syncfusion/ej2-schedule 29.2.7 → 29.2.10

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.
@@ -11511,10 +11511,10 @@ let RecurrenceEditor = class RecurrenceEditor extends Component {
11511
11511
  }
11512
11512
  initialize() {
11513
11513
  addClass([this.element], 'e-' + this.getModuleName());
11514
+ this.renderComponent();
11514
11515
  if (typeof this.startDate === 'string') {
11515
11516
  this.setProperties({ startDate: new Date(this.startDate) }, false);
11516
11517
  }
11517
- this.renderComponent();
11518
11518
  if (!isNullOrUndefined(this.value) && this.value !== '') {
11519
11519
  this.setRecurrenceRule(this.value);
11520
11520
  }
@@ -26447,7 +26447,13 @@ class AgendaBase extends ViewBase {
26447
26447
  moduleName: 'agenda',
26448
26448
  listClass: this.parent.activeView.viewClass,
26449
26449
  itemClass: this.parent.activeView.viewClass,
26450
- template: `<div class="${AGENDA_NO_EVENT_CLASS}">${this.parent.localeObj.getConstant('noEvents')}</div>`
26450
+ template: (data) => {
26451
+ const div = createElement('div', {
26452
+ className: AGENDA_NO_EVENT_CLASS,
26453
+ innerHTML: data.subject
26454
+ });
26455
+ return div;
26456
+ }
26451
26457
  });
26452
26458
  if (listElement.querySelector('.e-agenda-item').children.length === 0) {
26453
26459
  listElement.firstElementChild.appendChild(createElement('div', { className: AGENDA_NO_EVENT_CLASS, innerHTML: this.parent.localeObj.getConstant('noEvents') }));