@syncfusion/ej2-angular-schedule 28.2.11 → 29.1.33-ngcc

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 (45) hide show
  1. package/@syncfusion/ej2-angular-schedule.es5.js +955 -0
  2. package/@syncfusion/ej2-angular-schedule.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-schedule.js +894 -0
  4. package/@syncfusion/ej2-angular-schedule.js.map +1 -0
  5. package/README.md +6 -6
  6. package/dist/ej2-angular-schedule.umd.js +1114 -0
  7. package/dist/ej2-angular-schedule.umd.js.map +1 -0
  8. package/dist/ej2-angular-schedule.umd.min.js +11 -0
  9. package/dist/ej2-angular-schedule.umd.min.js.map +1 -0
  10. package/ej2-angular-schedule.d.ts +6 -0
  11. package/ej2-angular-schedule.metadata.json +1 -0
  12. package/license +10 -0
  13. package/package.json +15 -28
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/recurrence-editor/recurrenceeditor-all.module.d.ts +0 -6
  18. package/src/recurrence-editor/recurrenceeditor.component.d.ts +2 -3
  19. package/src/recurrence-editor/recurrenceeditor.module.d.ts +0 -6
  20. package/src/schedule/headerrows.directive.d.ts +0 -5
  21. package/src/schedule/resources.directive.d.ts +0 -5
  22. package/src/schedule/schedule-all.module.d.ts +0 -6
  23. package/src/schedule/schedule.component.d.ts +3 -3
  24. package/src/schedule/schedule.module.d.ts +0 -10
  25. package/src/schedule/toolbaritems.directive.d.ts +0 -5
  26. package/src/schedule/views.directive.d.ts +26 -5
  27. package/CHANGELOG.md +0 -2279
  28. package/esm2020/public_api.mjs +0 -2
  29. package/esm2020/src/index.mjs +0 -12
  30. package/esm2020/src/recurrence-editor/recurrenceeditor-all.module.mjs +0 -23
  31. package/esm2020/src/recurrence-editor/recurrenceeditor.component.mjs +0 -59
  32. package/esm2020/src/recurrence-editor/recurrenceeditor.module.mjs +0 -25
  33. package/esm2020/src/schedule/headerrows.directive.mjs +0 -66
  34. package/esm2020/src/schedule/resources.directive.mjs +0 -58
  35. package/esm2020/src/schedule/schedule-all.module.mjs +0 -74
  36. package/esm2020/src/schedule/schedule.component.mjs +0 -306
  37. package/esm2020/src/schedule/schedule.module.mjs +0 -61
  38. package/esm2020/src/schedule/toolbaritems.directive.mjs +0 -67
  39. package/esm2020/src/schedule/views.directive.mjs +0 -132
  40. package/esm2020/syncfusion-ej2-angular-schedule.mjs +0 -5
  41. package/fesm2015/syncfusion-ej2-angular-schedule.mjs +0 -829
  42. package/fesm2015/syncfusion-ej2-angular-schedule.mjs.map +0 -1
  43. package/fesm2020/syncfusion-ej2-angular-schedule.mjs +0 -829
  44. package/fesm2020/syncfusion-ej2-angular-schedule.mjs.map +0 -1
  45. package/syncfusion-ej2-angular-schedule.d.ts +0 -5
@@ -1,6 +1,5 @@
1
1
  import { ViewContainerRef } from '@angular/core';
2
2
  import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
- import * as i0 from "@angular/core";
4
3
  /**
5
4
  * `e-header-rows` directive represent a header rows of the Schedule.
6
5
  * It must be contained in a Schedule component(`ejs-schedule`).
@@ -38,8 +37,6 @@ export declare class HeaderRowDirective extends ComplexBase<HeaderRowDirective>
38
37
  */
39
38
  template: any;
40
39
  constructor(viewContainerRef: ViewContainerRef);
41
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderRowDirective, never>;
42
- static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderRowDirective, "e-header-rows>e-header-row", never, { "option": "option"; "template": "template"; }, {}, ["template"]>;
43
40
  }
44
41
  /**
45
42
  * HeaderRow Array Directive
@@ -47,6 +44,4 @@ export declare class HeaderRowDirective extends ComplexBase<HeaderRowDirective>
47
44
  */
48
45
  export declare class HeaderRowsDirective extends ArrayBase<HeaderRowsDirective> {
49
46
  constructor();
50
- static ɵfac: i0.ɵɵFactoryDeclaration<HeaderRowsDirective, never>;
51
- static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderRowsDirective, "ejs-schedule>e-header-rows", never, {}, {}, ["children"]>;
52
47
  }
@@ -1,6 +1,5 @@
1
1
  import { ViewContainerRef } from '@angular/core';
2
2
  import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
- import * as i0 from "@angular/core";
4
3
  /**
5
4
  * `e-resources` directive represent a resources of the Angular Schedule.
6
5
  * It must be contained in a Schedule component(`ejs-schedule`).
@@ -101,8 +100,6 @@ export declare class ResourceDirective extends ComplexBase<ResourceDirective> {
101
100
  */
102
101
  workDaysField: any;
103
102
  constructor(viewContainerRef: ViewContainerRef);
104
- static ɵfac: i0.ɵɵFactoryDeclaration<ResourceDirective, never>;
105
- static ɵdir: i0.ɵɵDirectiveDeclaration<ResourceDirective, "e-resources>e-resource", never, { "allowMultiple": "allowMultiple"; "colorField": "colorField"; "cssClassField": "cssClassField"; "dataSource": "dataSource"; "endHourField": "endHourField"; "expandedField": "expandedField"; "field": "field"; "groupIDField": "groupIDField"; "idField": "idField"; "name": "name"; "query": "query"; "startHourField": "startHourField"; "textField": "textField"; "title": "title"; "workDaysField": "workDaysField"; }, {}, never>;
106
103
  }
107
104
  /**
108
105
  * Resource Array Directive
@@ -110,6 +107,4 @@ export declare class ResourceDirective extends ComplexBase<ResourceDirective> {
110
107
  */
111
108
  export declare class ResourcesDirective extends ArrayBase<ResourcesDirective> {
112
109
  constructor();
113
- static ɵfac: i0.ɵɵFactoryDeclaration<ResourcesDirective, never>;
114
- static ɵdir: i0.ɵɵDirectiveDeclaration<ResourcesDirective, "ejs-schedule>e-resources", never, {}, {}, ["children"]>;
115
110
  }
@@ -1,7 +1,4 @@
1
1
  import { ValueProvider } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "./schedule.module";
5
2
  export declare const DayService: ValueProvider;
6
3
  export declare const WeekService: ValueProvider;
7
4
  export declare const WorkWeekService: ValueProvider;
@@ -22,7 +19,4 @@ export declare const PrintService: ValueProvider;
22
19
  * NgModule definition for the Schedule component with providers.
23
20
  */
24
21
  export declare class ScheduleAllModule {
25
- static ɵfac: i0.ɵɵFactoryDeclaration<ScheduleAllModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScheduleAllModule, never, [typeof i1.CommonModule, typeof i2.ScheduleModule], [typeof i2.ScheduleModule]>;
27
- static ɵinj: i0.ɵɵInjectorDeclaration<ScheduleAllModule>;
28
22
  }
@@ -5,7 +5,6 @@ import { ViewsDirective } from './views.directive';
5
5
  import { ResourcesDirective } from './resources.directive';
6
6
  import { HeaderRowsDirective } from './headerrows.directive';
7
7
  import { ToolbarItemsDirective } from './toolbaritems.directive';
8
- import * as i0 from "@angular/core";
9
8
  export declare const inputs: string[];
10
9
  export declare const outputs: string[];
11
10
  export declare const twoWays: string[];
@@ -26,6 +25,7 @@ export declare class ScheduleComponent extends Schedule implements IComponentBas
26
25
  actionComplete: any;
27
26
  actionFailure: any;
28
27
  beforePaste: any;
28
+ beforePrint: any;
29
29
  cellClick: any;
30
30
  cellDoubleClick: any;
31
31
  created: any;
@@ -38,6 +38,7 @@ export declare class ScheduleComponent extends Schedule implements IComponentBas
38
38
  eventClick: any;
39
39
  eventDoubleClick: any;
40
40
  eventRendered: any;
41
+ excelExport: any;
41
42
  hover: any;
42
43
  moreEventsClick: any;
43
44
  navigating: any;
@@ -48,6 +49,7 @@ export declare class ScheduleComponent extends Schedule implements IComponentBas
48
49
  resizeStop: any;
49
50
  resizing: any;
50
51
  select: any;
52
+ tooltipOpen: any;
51
53
  virtualScrollStart: any;
52
54
  virtualScrollStop: any;
53
55
  currentViewChange: any;
@@ -216,6 +218,4 @@ export declare class ScheduleComponent extends Schedule implements IComponentBas
216
218
  ngAfterContentChecked(): void;
217
219
  registerEvents: (eventList: string[]) => void;
218
220
  addTwoWay: (propList: string[]) => void;
219
- static ɵfac: i0.ɵɵFactoryDeclaration<ScheduleComponent, never>;
220
- static ɵcmp: i0.ɵɵComponentDeclaration<ScheduleComponent, "ejs-schedule", never, { "agendaDaysCount": "agendaDaysCount"; "allowClipboard": "allowClipboard"; "allowDragAndDrop": "allowDragAndDrop"; "allowInline": "allowInline"; "allowKeyboardInteraction": "allowKeyboardInteraction"; "allowMultiCellSelection": "allowMultiCellSelection"; "allowMultiDrag": "allowMultiDrag"; "allowMultiRowSelection": "allowMultiRowSelection"; "allowResizing": "allowResizing"; "allowSwiping": "allowSwiping"; "calendarMode": "calendarMode"; "cellHeaderTemplate": "cellHeaderTemplate"; "cellTemplate": "cellTemplate"; "cssClass": "cssClass"; "currentView": "currentView"; "dateFormat": "dateFormat"; "dateHeaderTemplate": "dateHeaderTemplate"; "dateRangeTemplate": "dateRangeTemplate"; "dayHeaderTemplate": "dayHeaderTemplate"; "editorFooterTemplate": "editorFooterTemplate"; "editorHeaderTemplate": "editorHeaderTemplate"; "editorTemplate": "editorTemplate"; "enableAdaptiveUI": "enableAdaptiveUI"; "enableAllDayScroll": "enableAllDayScroll"; "enableHtmlSanitizer": "enableHtmlSanitizer"; "enablePersistence": "enablePersistence"; "enableRecurrenceValidation": "enableRecurrenceValidation"; "enableRtl": "enableRtl"; "endHour": "endHour"; "eventDragArea": "eventDragArea"; "eventSettings": "eventSettings"; "firstDayOfWeek": "firstDayOfWeek"; "firstMonthOfYear": "firstMonthOfYear"; "group": "group"; "headerIndentTemplate": "headerIndentTemplate"; "headerRows": "headerRows"; "height": "height"; "hideEmptyAgendaDays": "hideEmptyAgendaDays"; "locale": "locale"; "maxDate": "maxDate"; "minDate": "minDate"; "monthHeaderTemplate": "monthHeaderTemplate"; "monthsCount": "monthsCount"; "quickInfoOnSelectionEnd": "quickInfoOnSelectionEnd"; "quickInfoTemplates": "quickInfoTemplates"; "readonly": "readonly"; "resourceHeaderTemplate": "resourceHeaderTemplate"; "resources": "resources"; "rowAutoHeight": "rowAutoHeight"; "selectedDate": "selectedDate"; "showHeaderBar": "showHeaderBar"; "showQuickInfo": "showQuickInfo"; "showTimeIndicator": "showTimeIndicator"; "showWeekNumber": "showWeekNumber"; "showWeekend": "showWeekend"; "startHour": "startHour"; "timeFormat": "timeFormat"; "timeScale": "timeScale"; "timezone": "timezone"; "timezoneDataSource": "timezoneDataSource"; "toolbarItems": "toolbarItems"; "views": "views"; "weekRule": "weekRule"; "width": "width"; "workDays": "workDays"; "workHours": "workHours"; }, { "actionBegin": "actionBegin"; "actionComplete": "actionComplete"; "actionFailure": "actionFailure"; "beforePaste": "beforePaste"; "cellClick": "cellClick"; "cellDoubleClick": "cellDoubleClick"; "created": "created"; "dataBinding": "dataBinding"; "dataBound": "dataBound"; "destroyed": "destroyed"; "drag": "drag"; "dragStart": "dragStart"; "dragStop": "dragStop"; "eventClick": "eventClick"; "eventDoubleClick": "eventDoubleClick"; "eventRendered": "eventRendered"; "hover": "hover"; "moreEventsClick": "moreEventsClick"; "navigating": "navigating"; "popupClose": "popupClose"; "popupOpen": "popupOpen"; "renderCell": "renderCell"; "resizeStart": "resizeStart"; "resizeStop": "resizeStop"; "resizing": "resizing"; "select": "select"; "virtualScrollStart": "virtualScrollStart"; "virtualScrollStop": "virtualScrollStop"; "currentViewChange": "currentViewChange"; "selectedDateChange": "selectedDateChange"; }, ["dateHeaderTemplate", "dateRangeTemplate", "dayHeaderTemplate", "cellTemplate", "cellHeaderTemplate", "eventSettings_tooltipTemplate", "eventSettings_template", "editorTemplate", "editorHeaderTemplate", "editorFooterTemplate", "monthHeaderTemplate", "timeScale_minorSlotTemplate", "timeScale_majorSlotTemplate", "resourceHeaderTemplate", "headerIndentTemplate", "quickInfoTemplates_header", "quickInfoTemplates_content", "quickInfoTemplates_footer", "group_headerTooltipTemplate", "childViews", "childResources", "childHeaderRows", "childToolbarItems"], never>;
221
221
  }
@@ -1,15 +1,5 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./schedule.component";
3
- import * as i2 from "./views.directive";
4
- import * as i3 from "./resources.directive";
5
- import * as i4 from "./headerrows.directive";
6
- import * as i5 from "./toolbaritems.directive";
7
- import * as i6 from "@angular/common";
8
1
  /**
9
2
  * NgModule definition for the Schedule component.
10
3
  */
11
4
  export declare class ScheduleModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<ScheduleModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<ScheduleModule, [typeof i1.ScheduleComponent, typeof i2.ViewDirective, typeof i2.ViewsDirective, typeof i3.ResourceDirective, typeof i3.ResourcesDirective, typeof i4.HeaderRowDirective, typeof i4.HeaderRowsDirective, typeof i5.ToolbarItemDirective, typeof i5.ToolbarItemsDirective], [typeof i6.CommonModule], [typeof i1.ScheduleComponent, typeof i2.ViewDirective, typeof i2.ViewsDirective, typeof i3.ResourceDirective, typeof i3.ResourcesDirective, typeof i4.HeaderRowDirective, typeof i4.HeaderRowsDirective, typeof i5.ToolbarItemDirective, typeof i5.ToolbarItemsDirective]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<ScheduleModule>;
15
5
  }
@@ -1,6 +1,5 @@
1
1
  import { ViewContainerRef } from '@angular/core';
2
2
  import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
- import * as i0 from "@angular/core";
4
3
  /**
5
4
  * `e-toolbaritems` directive represent a custom toolbar items of the Schedule.
6
5
  * It must be contained in a Schedule component(`ejs-schedule`).
@@ -163,8 +162,6 @@ export declare class ToolbarItemDirective extends ComplexBase<ToolbarItemDirecti
163
162
  */
164
163
  template: any;
165
164
  constructor(viewContainerRef: ViewContainerRef);
166
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarItemDirective, never>;
167
- static ɵdir: i0.ɵɵDirectiveDeclaration<ToolbarItemDirective, "e-toolbaritems>e-toolbaritem", never, { "align": "align"; "cssClass": "cssClass"; "disabled": "disabled"; "htmlAttributes": "htmlAttributes"; "id": "id"; "name": "name"; "overflow": "overflow"; "prefixIcon": "prefixIcon"; "showAlwaysInPopup": "showAlwaysInPopup"; "showTextOn": "showTextOn"; "suffixIcon": "suffixIcon"; "tabIndex": "tabIndex"; "template": "template"; "text": "text"; "tooltipText": "tooltipText"; "type": "type"; "visible": "visible"; "width": "width"; }, { "click": "click"; }, ["template"]>;
168
165
  }
169
166
  /**
170
167
  * ToolbarItem Array Directive
@@ -172,6 +169,4 @@ export declare class ToolbarItemDirective extends ComplexBase<ToolbarItemDirecti
172
169
  */
173
170
  export declare class ToolbarItemsDirective extends ArrayBase<ToolbarItemsDirective> {
174
171
  constructor();
175
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarItemsDirective, never>;
176
- static ɵdir: i0.ɵɵDirectiveDeclaration<ToolbarItemsDirective, "ejs-schedule>e-toolbaritems", never, {}, {}, ["children"]>;
177
172
  }
@@ -1,6 +1,5 @@
1
1
  import { ViewContainerRef } from '@angular/core';
2
2
  import { ComplexBase, ArrayBase } from '@syncfusion/ej2-angular-base';
3
- import * as i0 from "@angular/core";
4
3
  /**
5
4
  * `e-views` directive represent a view of the Angular Schedule.
6
5
  * It must be contained in a Schedule component(`ejs-schedule`).
@@ -16,6 +15,22 @@ import * as i0 from "@angular/core";
16
15
  export declare class ViewDirective extends ComplexBase<ViewDirective> {
17
16
  private viewContainerRef;
18
17
  directivePropList: any;
18
+ /**
19
+ * Specifies whether overlapping appointments are allowed within the same time slot in the Scheduler.
20
+ * @remarks When set to `false`, the Scheduler enforces restrictions to prevent creating or displaying overlapping appointments within the same time duration.
21
+ This setting includes the following limitations:
22
+
23
+ - **Initial Loading**: The alert for overlapping appointments will not display during the initial load. Overlapping events will be ignored in rendering, including occurrences.
24
+
25
+ - **Dynamic Add/Edit**: When adding or editing events dynamically, overlapping validation is performed. If an overlap is detected for a single event, an alert will be shown, and the event will not be saved.
26
+
27
+ For recurring events, an alert will be displayed, and the event will not be saved. To save recurring events while ignoring overlapping occurrences, trigger the `PopupOpen` event. The `Data` field will contain the parent recurrence data, and the `overlapEvents` field will contain the overlap events. Using these details, users can include exceptions in the recurrence events and save them with the `addEvent` method.
28
+
29
+ - **Out-of-Date-Range Events**: The `allowOverlap` setting only prevents overlaps for events within the current view date range. To validate overlap events outside the current date range, use the `actionBegin` event to send a request to the server for validation and return a promise-based response. Assign this promise response to the `promise` field in `ActionEventArgs` to handle asynchronous server validation.
30
+
31
+ * @default true
32
+ */
33
+ allowOverlap: any;
19
34
  /**
20
35
  * It is used to allow or disallow the virtual scrolling functionality.
21
36
  * @default false
@@ -138,6 +153,16 @@ export declare class ViewDirective extends ComplexBase<ViewDirective> {
138
153
  * @default 'Horizontal'
139
154
  */
140
155
  orientation: any;
156
+ /**
157
+ * Specifies the number of additional rows or columns to render outside the visible area during virtual scrolling.
158
+ * This property helps in achieving smoother scrolling by pre-loading data just outside the visible region.
159
+ * @remarks The default value is 3. Increasing this value can result in smoother scrolling but may impact performance
160
+ with larger datasets. Decreasing it can improve performance but may cause more frequent data fetches during scrolling.
161
+ This property only takes effect when `allowVirtualScrolling` is enabled for the current view.
162
+
163
+ * @default 3
164
+ */
165
+ overscanCount: any;
141
166
  /**
142
167
  * When set to `true`, displays a quick popup with cell or event details on single clicking over the cells or on events.
143
168
  * By default, it is set to `true`. It gets applied only to the view objects on which it is defined.
@@ -284,8 +309,6 @@ export declare class ViewDirective extends ComplexBase<ViewDirective> {
284
309
  timeScale_majorSlotTemplate: any;
285
310
  group_headerTooltipTemplate: any;
286
311
  constructor(viewContainerRef: ViewContainerRef);
287
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewDirective, never>;
288
- static ɵdir: i0.ɵɵDirectiveDeclaration<ViewDirective, "e-views>e-view", never, { "allowVirtualScrolling": "allowVirtualScrolling"; "cellHeaderTemplate": "cellHeaderTemplate"; "cellTemplate": "cellTemplate"; "dateFormat": "dateFormat"; "dateHeaderTemplate": "dateHeaderTemplate"; "dateRangeTemplate": "dateRangeTemplate"; "dayHeaderTemplate": "dayHeaderTemplate"; "displayDate": "displayDate"; "displayName": "displayName"; "enableLazyLoading": "enableLazyLoading"; "endHour": "endHour"; "eventTemplate": "eventTemplate"; "firstDayOfWeek": "firstDayOfWeek"; "firstMonthOfYear": "firstMonthOfYear"; "group": "group"; "headerIndentTemplate": "headerIndentTemplate"; "headerRows": "headerRows"; "interval": "interval"; "isSelected": "isSelected"; "maxEventsPerRow": "maxEventsPerRow"; "monthHeaderTemplate": "monthHeaderTemplate"; "monthsCount": "monthsCount"; "numberOfWeeks": "numberOfWeeks"; "option": "option"; "orientation": "orientation"; "readonly": "readonly"; "resourceHeaderTemplate": "resourceHeaderTemplate"; "showWeekNumber": "showWeekNumber"; "showWeekend": "showWeekend"; "startHour": "startHour"; "timeFormat": "timeFormat"; "timeScale": "timeScale"; "workDays": "workDays"; }, {}, ["dateHeaderTemplate", "dateRangeTemplate", "dayHeaderTemplate", "cellHeaderTemplate", "cellTemplate", "eventTemplate", "monthHeaderTemplate", "resourceHeaderTemplate", "headerIndentTemplate", "timeScale_minorSlotTemplate", "timeScale_majorSlotTemplate", "group_headerTooltipTemplate"]>;
289
312
  }
290
313
  /**
291
314
  * View Array Directive
@@ -293,6 +316,4 @@ export declare class ViewDirective extends ComplexBase<ViewDirective> {
293
316
  */
294
317
  export declare class ViewsDirective extends ArrayBase<ViewsDirective> {
295
318
  constructor();
296
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewsDirective, never>;
297
- static ɵdir: i0.ɵɵDirectiveDeclaration<ViewsDirective, "ejs-schedule>e-views", never, {}, {}, ["children"]>;
298
319
  }