@progress/kendo-angular-scheduler 24.2.2 → 25.0.0-develop.1

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 (185) hide show
  1. package/fesm2022/progress-kendo-angular-scheduler.mjs +310 -310
  2. package/index.d.ts +6717 -82
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +20 -20
  5. package/schematics/ngAdd/index.js +3 -3
  6. package/common/constants.d.ts +0 -8
  7. package/common/default-model-fields.d.ts +0 -9
  8. package/common/dom-queries.d.ts +0 -44
  9. package/common/modifiers.d.ts +0 -22
  10. package/common/util.d.ts +0 -127
  11. package/data-binding.directive.d.ts +0 -56
  12. package/directives.d.ts +0 -90
  13. package/editing/date-time-picker.component.d.ts +0 -51
  14. package/editing/dialogs.service.d.ts +0 -44
  15. package/editing/edit-dialog-template.directive.d.ts +0 -40
  16. package/editing/edit-dialog.component.d.ts +0 -87
  17. package/editing/edit.service.d.ts +0 -57
  18. package/editing/local-data-changes.service.d.ts +0 -15
  19. package/editing/recurrence/end-rule-radio-button.directive.d.ts +0 -31
  20. package/editing/recurrence/localization/custom-messages.component.d.ts +0 -18
  21. package/editing/recurrence/localization/localized-messages.directive.d.ts +0 -16
  22. package/editing/recurrence/localization/messages.d.ts +0 -161
  23. package/editing/recurrence/localization/recurrence-localization.service.d.ts +0 -17
  24. package/editing/recurrence/recurrence-editor.component.d.ts +0 -111
  25. package/editing/recurrence/recurrence-end-rule-editor.component.d.ts +0 -46
  26. package/editing/recurrence/recurrence-frequency-editor.component.d.ts +0 -26
  27. package/editing/recurrence/recurrence-interval-editor.component.d.ts +0 -31
  28. package/editing/recurrence/recurrence-monthly-yearly-editor.component.d.ts +0 -53
  29. package/editing/recurrence/recurrence-weekday-rule-editor.component.d.ts +0 -31
  30. package/editing/recurrence/recurrence.service.d.ts +0 -119
  31. package/editing/recurrence/repeat-on-radio-button.directive.d.ts +0 -32
  32. package/editing/resource-editor-base.d.ts +0 -37
  33. package/editing/resource-multiple-editor.component.d.ts +0 -21
  34. package/editing/resource-single-editor.component.d.ts +0 -20
  35. package/editing/timezone-editor.component.d.ts +0 -82
  36. package/editing-directives/base-edit.service.d.ts +0 -165
  37. package/editing-directives/edit-service.interface.d.ts +0 -71
  38. package/editing-directives/editing-directive-base.d.ts +0 -62
  39. package/editing-directives/local-edit.service.d.ts +0 -33
  40. package/editing-directives/reactive-editing.directive.d.ts +0 -46
  41. package/editing-directives/utils.d.ts +0 -25
  42. package/events/add-event.d.ts +0 -23
  43. package/events/cancel-event.d.ts +0 -15
  44. package/events/create-event.d.ts +0 -38
  45. package/events/date-change-event.d.ts +0 -27
  46. package/events/drag-end-event.d.ts +0 -43
  47. package/events/drag-event.d.ts +0 -51
  48. package/events/drag-start-event.d.ts +0 -27
  49. package/events/edit-event-base.d.ts +0 -30
  50. package/events/edit-event.d.ts +0 -28
  51. package/events/event-click-event.d.ts +0 -30
  52. package/events/event-keydown-event.d.ts +0 -26
  53. package/events/more-events-click.d.ts +0 -23
  54. package/events/navigate-event.d.ts +0 -24
  55. package/events/preventable-event.d.ts +0 -24
  56. package/events/remove-event.d.ts +0 -28
  57. package/events/resize-end-event.d.ts +0 -35
  58. package/events/resize-event.d.ts +0 -43
  59. package/events/resize-start-event.d.ts +0 -27
  60. package/events/save-event.d.ts +0 -20
  61. package/events/slot-click-event.d.ts +0 -42
  62. package/events/slot-drag-end-event.d.ts +0 -10
  63. package/events/slot-drag-event.d.ts +0 -39
  64. package/events/slot-drag-start-event.d.ts +0 -42
  65. package/events/view-event-map.d.ts +0 -35
  66. package/events.d.ts +0 -27
  67. package/loading.component.d.ts +0 -13
  68. package/localization/custom-messages.component.d.ts +0 -30
  69. package/localization/localized-messages.directive.d.ts +0 -16
  70. package/localization/messages.d.ts +0 -409
  71. package/localization/scheduler-localization.service.d.ts +0 -14
  72. package/navigation/focus-position.interface.d.ts +0 -17
  73. package/navigation/focus.service.d.ts +0 -44
  74. package/navigation/focusable-element.interface.d.ts +0 -45
  75. package/navigation/focusable.directive.d.ts +0 -36
  76. package/navigation/shortcuts.directive.d.ts +0 -34
  77. package/navigation.d.ts +0 -8
  78. package/package-metadata.d.ts +0 -9
  79. package/pdf/pdf-command.directive.d.ts +0 -38
  80. package/pdf/pdf-export-event.d.ts +0 -10
  81. package/pdf/pdf.component.d.ts +0 -129
  82. package/pdf/pdf.module.d.ts +0 -30
  83. package/pdf/pdf.service.d.ts +0 -18
  84. package/scheduler.component.d.ts +0 -608
  85. package/scheduler.module.d.ts +0 -66
  86. package/toolbar/navigation.component.d.ts +0 -135
  87. package/toolbar/toolbar-context.d.ts +0 -18
  88. package/toolbar/toolbar-template.directive.d.ts +0 -39
  89. package/toolbar/toolbar.component.d.ts +0 -50
  90. package/toolbar/toolbar.service.d.ts +0 -37
  91. package/toolbar/view-selector.component.d.ts +0 -80
  92. package/types/actions.d.ts +0 -158
  93. package/types/create-form-group-args.interface.d.ts +0 -15
  94. package/types/crud-operation.enum.d.ts +0 -17
  95. package/types/current-time-settings.interface.d.ts +0 -27
  96. package/types/date-range.interface.d.ts +0 -28
  97. package/types/datepicker-options.interface.d.ts +0 -100
  98. package/types/edit-event-args.interface.d.ts +0 -19
  99. package/types/edit-mode.enum.d.ts +0 -22
  100. package/types/editable-settings.interface.d.ts +0 -29
  101. package/types/event-style-args.interface.d.ts +0 -21
  102. package/types/focusable-container.d.ts +0 -8
  103. package/types/group.interface.d.ts +0 -17
  104. package/types/numeric-options.interface.d.ts +0 -57
  105. package/types/ongoing-events-settings.interface.d.ts +0 -25
  106. package/types/resource.interface.d.ts +0 -37
  107. package/types/scheduler-event.d.ts +0 -57
  108. package/types/scheduler-model-fields.interface.d.ts +0 -75
  109. package/types/scheduler-slot.interface.d.ts +0 -39
  110. package/types/scheduler-view.d.ts +0 -22
  111. package/types/slot-class-args.interface.d.ts +0 -33
  112. package/types/slot-selection.d.ts +0 -71
  113. package/types/view-item.interface.d.ts +0 -23
  114. package/types.d.ts +0 -25
  115. package/views/agenda/agenda-header-item.component.d.ts +0 -21
  116. package/views/agenda/agenda-header.component.d.ts +0 -21
  117. package/views/agenda/agenda-task-item.component.d.ts +0 -33
  118. package/views/agenda/agenda-view-internal.component.d.ts +0 -81
  119. package/views/agenda/agenda-view-list.component.d.ts +0 -38
  120. package/views/agenda/agenda-view.component.d.ts +0 -62
  121. package/views/agenda/tasks.collection.d.ts +0 -48
  122. package/views/agenda/utils.d.ts +0 -17
  123. package/views/common/base-view.d.ts +0 -194
  124. package/views/common/configuration-view-base.d.ts +0 -100
  125. package/views/common/dom-events.service.d.ts +0 -19
  126. package/views/common/hint-container.component.d.ts +0 -17
  127. package/views/common/repeat.pipe.d.ts +0 -14
  128. package/views/common/resize-hint.component.d.ts +0 -21
  129. package/views/common/resource-iterator.pipe.d.ts +0 -14
  130. package/views/common/scheduler-task.d.ts +0 -24
  131. package/views/common/slot-selectable.directive.d.ts +0 -62
  132. package/views/common/view-footer.component.d.ts +0 -27
  133. package/views/common/work-hours-footer.directive.d.ts +0 -23
  134. package/views/constants.d.ts +0 -30
  135. package/views/day-time/day-time-slot.service.d.ts +0 -79
  136. package/views/day-time/day-time-view-base.d.ts +0 -155
  137. package/views/day-time/day-time-view-item.component.d.ts +0 -32
  138. package/views/day-time/day-time-view.component.d.ts +0 -99
  139. package/views/day-time/event-slot.directive.d.ts +0 -46
  140. package/views/day-time/utils.d.ts +0 -9
  141. package/views/month/month-slot.component.d.ts +0 -49
  142. package/views/month/month-slot.service.d.ts +0 -66
  143. package/views/month/month-view-item.component.d.ts +0 -26
  144. package/views/month/month-view-renderer.component.d.ts +0 -80
  145. package/views/month/month-view.component.d.ts +0 -90
  146. package/views/month/multi-week-view.component.d.ts +0 -88
  147. package/views/month/utils.d.ts +0 -14
  148. package/views/multi-day/day-view.component.d.ts +0 -65
  149. package/views/multi-day/multi-day-view-base.d.ts +0 -37
  150. package/views/multi-day/multi-day-view-renderer.component.d.ts +0 -68
  151. package/views/multi-day/multi-day-view.component.d.ts +0 -66
  152. package/views/multi-day/utils.d.ts +0 -13
  153. package/views/multi-day/week-view.component.d.ts +0 -63
  154. package/views/multi-day/work-week-view.component.d.ts +0 -47
  155. package/views/scheduler-view.directive.d.ts +0 -37
  156. package/views/templates/agenda-date-template.directive.d.ts +0 -30
  157. package/views/templates/agenda-time-template.directive.d.ts +0 -35
  158. package/views/templates/all-day-event-template.directive.d.ts +0 -31
  159. package/views/templates/all-day-slot-template.directive.d.ts +0 -31
  160. package/views/templates/date-header-template.directive.d.ts +0 -31
  161. package/views/templates/event-template.directive.d.ts +0 -31
  162. package/views/templates/group-header-template.directive.d.ts +0 -31
  163. package/views/templates/major-time-header-template.directive.d.ts +0 -30
  164. package/views/templates/minor-time-header-template.directive.d.ts +0 -30
  165. package/views/templates/month-day-slot-template.directive.d.ts +0 -31
  166. package/views/templates/multi-week-day-slot-template.directive.d.ts +0 -31
  167. package/views/templates/time-slot-template.directive.d.ts +0 -32
  168. package/views/templates.d.ts +0 -16
  169. package/views/timeline/timeline-base.d.ts +0 -26
  170. package/views/timeline/timeline-month-view.component.d.ts +0 -72
  171. package/views/timeline/timeline-multi-day-view.component.d.ts +0 -49
  172. package/views/timeline/timeline-view.component.d.ts +0 -66
  173. package/views/timeline/timeline-week-view.component.d.ts +0 -61
  174. package/views/timeline/utils.d.ts +0 -21
  175. package/views/utils.d.ts +0 -115
  176. package/views/view-context.service.d.ts +0 -82
  177. package/views/view-items/base-slot.directive.d.ts +0 -40
  178. package/views/view-items/base-slot.service.d.ts +0 -28
  179. package/views/view-items/base-view-item.d.ts +0 -56
  180. package/views/view-items/item-map.d.ts +0 -16
  181. package/views/view-items/types.d.ts +0 -53
  182. package/views/view-state.service.d.ts +0 -103
  183. package/views/year/utils.d.ts +0 -21
  184. package/views/year/year-view-internal.component.d.ts +0 -79
  185. package/views/year/year-view.component.d.ts +0 -67
@@ -1,608 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { AfterContentInit, EventEmitter, NgZone, OnDestroy, OnInit, QueryList, ViewContainerRef, ChangeDetectorRef, ElementRef, Renderer2 } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { ResizeSensorComponent } from '@progress/kendo-angular-common';
8
- import { Day } from '@progress/kendo-date-math';
9
- import { Observable } from 'rxjs';
10
- import { LicenseMessage } from '@progress/kendo-licensing';
11
- import { DateChangeEvent, NavigateEvent, SlotClickEvent, EventClickEvent } from './events';
12
- import { ToolbarTemplateDirective } from './toolbar/toolbar-template.directive';
13
- import { DateRange, Group, NavigationAction, Resource, SchedulerModelFields, SchedulerView, EditMode, CrudOperation, EditableSettings, CurrentTimeSettings, OngoingEventsSettings, SlotClassArgs, EventStyleArgs, SchedulerSlot } from './types';
14
- import { AgendaDateTemplateDirective } from './views/templates/agenda-date-template.directive';
15
- import { AgendaTimeTemplateDirective } from './views/templates/agenda-time-template.directive';
16
- import { AllDayEventTemplateDirective } from './views/templates/all-day-event-template.directive';
17
- import { AllDaySlotTemplateDirective } from './views/templates/all-day-slot-template.directive';
18
- import { DateHeaderTemplateDirective } from './views/templates/date-header-template.directive';
19
- import { EventTemplateDirective } from './views/templates/event-template.directive';
20
- import { GroupHeaderTemplateDirective } from './views/templates/group-header-template.directive';
21
- import { MajorTimeHeaderTemplateDirective } from './views/templates/major-time-header-template.directive';
22
- import { MinorTimeHeaderTemplateDirective } from './views/templates/minor-time-header-template.directive';
23
- import { MonthDaySlotTemplateDirective } from './views/templates/month-day-slot-template.directive';
24
- import { MultiWeekDaySlotTemplateDirective } from './views/templates/multi-week-day-slot-template.directive';
25
- import { TimeSlotTemplateDirective } from './views/templates/time-slot-template.directive';
26
- import { ViewContextService } from './views/view-context.service';
27
- import { ViewStateService } from './views/view-state.service';
28
- import { EditService } from './editing/edit.service';
29
- import { EditDialogTemplateDirective } from './editing/edit-dialog-template.directive';
30
- import { CancelEvent, SaveEvent, RemoveEvent, ResizeStartEvent, ResizeEvent, ResizeEndEvent, DragStartEvent, DragEvent, DragEndEvent } from './events';
31
- import { FormGroup } from '@angular/forms';
32
- import { DialogsService } from './editing/dialogs.service';
33
- import { IntlService } from '@progress/kendo-angular-intl';
34
- import { EditEventArgs } from './types/edit-event-args.interface';
35
- import { PDFService } from './pdf/pdf.service';
36
- import { PDFExportEvent } from './pdf/pdf-export-event';
37
- import { FocusService, FocusPosition } from './navigation';
38
- import { DomEventsService } from './views/common/dom-events.service';
39
- import { CreateEvent } from './events/create-event';
40
- import { SchedulerEvent } from './types/scheduler-event';
41
- import { EventKeydownEvent } from './events/event-keydown-event';
42
- import { IsSlotSelectedArgs } from './types/slot-selection';
43
- import { SlotDragStartEvent } from './events/slot-drag-start-event';
44
- import { SlotDragEvent } from './events/slot-drag-event';
45
- import { SlotDragEndEvent } from './events/slot-drag-end-event';
46
- import * as i0 from "@angular/core";
47
- /**
48
- * Represents the [Kendo UI Scheduler component for Angular](https://www.telerik.com/kendo-angular-ui/components/scheduler).
49
- *
50
- * @example
51
- * ```html
52
- * <kendo-scheduler [kendoSchedulerBinding]="events" [selectedDate]="selectedDate">
53
- * <kendo-scheduler-day-view></kendo-scheduler-day-view>
54
- * </kendo-scheduler>
55
- * ```
56
- *
57
- * @remarks
58
- * Supported children components are: {@link AgendaViewComponent},
59
- * {@link WeekViewComponent}, {@link WorkWeekViewComponent}, {@link YearViewComponent},
60
- * {@link SchedulerCustomMessagesComponent}, {@link TimelineMonthViewComponent},
61
- * {@link TimelineViewComponent}, {@link TimelineWeekViewComponent}, {@link DayViewComponent},
62
- * {@link MonthViewComponent}, {@link MultiDayViewComponent}, {@link MultiWeekViewComponent},
63
- * {@link PDFComponent}, {@link TimeZoneEditorComponent}, {@link RecurrenceEditorComponent}
64
- */
65
- export declare class SchedulerComponent implements AfterContentInit, OnDestroy, OnInit {
66
- wrapper: ElementRef;
67
- private viewContext;
68
- private viewState;
69
- private editService;
70
- private dialogsService;
71
- private intlService;
72
- private changeDetector;
73
- private zone;
74
- private pdfService;
75
- private localization;
76
- private domEvents;
77
- private renderer;
78
- private focusService;
79
- hostClasses: boolean;
80
- ariaRole: string;
81
- rtl: boolean;
82
- get dir(): string;
83
- /**
84
- * Sets the index of the currently selected view. The default value is `0`, which shows the first declared view.
85
- * @default 0
86
- */
87
- set selectedViewIndex(index: number);
88
- get selectedViewIndex(): number;
89
- /**
90
- * Specifies whether the Scheduler is editable.
91
- * When you use an `EditableSettings` object, you can control which actions are enabled, such as adding, editing, dragging, removing, or resizing events.
92
- * @default false
93
- */
94
- editable: boolean | EditableSettings;
95
- /**
96
- * Specifies whether the Scheduler's day or time slots are selectable ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/slot-selection#custom-callback)).
97
- * When set to `true`, the Scheduler emits [`slotDragStart`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#slotdragstart), [`slotDrag`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#slotdrag), and [`slotDragEnd`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#slotdragend) events on user interaction.
98
- * @default false
99
- */
100
- selectable: boolean;
101
- /**
102
- * Sets the minimum date that you can select using the Scheduler navigation.
103
- */
104
- min: Date;
105
- /**
106
- * Sets the maximum date that you can select using the Scheduler navigation.
107
- */
108
- max: Date;
109
- /**
110
- * Sets the height of events in the **Month** and **Timeline** views, and the height of **All day** events in the **Day** and **Week** views.
111
- * @default 25
112
- */
113
- eventHeight: number;
114
- /**
115
- * Sets the column width for **Timeline** views.
116
- * @default 100
117
- */
118
- columnWidth: number;
119
- /**
120
- * Sets whether the view shows business hours on initialization. By default, the view shows full-day hours. Applies to **Day**, **Week**, and **Timeline** views.
121
- * @default false
122
- */
123
- showWorkHours: boolean;
124
- /**
125
- * Sets the start time of the view. Accepts a string in `HH:mm` format. Applies to **Day**, **Week**, and **Timeline** views.
126
- * @default '00:00'
127
- */
128
- startTime: string;
129
- /**
130
- * Sets the end time of the view. Accepts a string in `HH:mm` format. Applies to **Day**, **Week**, and **Timeline** views.
131
- * @default '00:00'
132
- */
133
- endTime: string;
134
- /**
135
- * Sets the start time of the view when `showWorkHours` is `true`. Accepts a string in `HH:mm` format. Applies to **Day**, **Week**, and **Timeline** views.
136
- * @default '08:00'
137
- */
138
- workDayStart: string;
139
- /**
140
- * Sets the end time of the view when `showWorkHours` is `true`. Accepts a string in `HH:mm` format. Applies to **Day**, **Week**, and **Timeline** views.
141
- * @default '17:00'
142
- */
143
- workDayEnd: string;
144
- /**
145
- * Sets the start of the work week. Applies to **Day**, **Week**, and **Timeline** views.
146
- * @default 1
147
- */
148
- workWeekStart: Day;
149
- /**
150
- * Sets the end of the work week. Applies to **Day**, **Week**, and **Timeline** views.
151
- * @default 5
152
- */
153
- workWeekEnd: Day;
154
- /**
155
- * Sets the first day of the week. Applies to **Week**, **Month**, and **TimelineWeek** views. Defaults to the locale settings.
156
- */
157
- set weekStart(value: Day);
158
- get weekStart(): Day;
159
- /**
160
- * Sets the duration (in minutes) of the time slots. Applies to **Day**, **Week**, and **Timeline** views.
161
- * @default 60
162
- */
163
- slotDuration: number;
164
- /**
165
- * Sets the number of divisions for the time slots. Applies to **Day**, **Week**, and **Timeline** views.
166
- * @default 2
167
- */
168
- slotDivisions: number;
169
- /**
170
- * Sets the percentage of the slot filled by events. Accepts a value between 0 and 1. Applies to **Day** and **Week** views.
171
- * @default 0.9
172
- */
173
- slotFill: number;
174
- /**
175
- * Toggles the visibility of the all-day slot. Applies to **Day**, **Multi-Day**, **Week**, and **Work-Week** views.
176
- * @default true
177
- */
178
- allDaySlot: boolean;
179
- /**
180
- * Sets the time to which the view initially scrolls. Accepts a string in `HH:mm` format or a JavaScript `Date` object. Applies to **Day**, **Week**, and **Timeline** views.
181
- * @default '08:00'
182
- */
183
- scrollTime: string | Date;
184
- /**
185
- * Configures resource-based grouping in the Scheduler. When set, the Scheduler arranges events into separate lanes or columns according to the resources defined in the `resources` property. Use to enable visual separation and hierarchical organization of events by resource type.
186
- */
187
- group: Group;
188
- /**
189
- * Specifies the collection of resources available for event assignment in the Scheduler. Each resource describes a category and provides metadata.
190
- */
191
- resources: Resource[];
192
- /**
193
- * Specifies whether the Scheduler displays a loading indicator.
194
- * @default false
195
- */
196
- loading: boolean;
197
- /**
198
- * Sets the timezone ID displayed in the Scheduler. For example, `Europe/Sofia`.
199
- * @default 'Etc/UTC'
200
- */
201
- set timezone(value: string);
202
- get timezone(): string;
203
- /**
204
- * The currently selected view.
205
- */
206
- selectedView: SchedulerView;
207
- /**
208
- * Sets the array of event instances shown by the Scheduler.
209
- *
210
- * Provide an array of [`SchedulerEvent`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerevent) objects to display events in the Scheduler.
211
- * To bind data from custom object schemas, configure the [`modelFields`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulercomponent#modelfields) property to map your custom fields to the Scheduler event fields.
212
- */
213
- set events(value: any[]);
214
- get events(): any[];
215
- /**
216
- * Sets the currently selected date of the Scheduler. Determines the displayed period.
217
- */
218
- set selectedDate(value: Date);
219
- get selectedDate(): Date;
220
- /**
221
- * Sets the names of the model fields from which the Scheduler reads its data ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/data-binding#binding-to-custom-object-schemas)).
222
- *
223
- * Use `modelFields` when you want to bind custom event objects with property names that differ from the default [`SchedulerEvent`](https://www.telerik.com/kendo-angular-ui/components/scheduler/api/schedulerevent) fields. This lets you map your data to the Scheduler's expected fields.
224
- */
225
- set modelFields(value: SchedulerModelFields);
226
- get modelFields(): SchedulerModelFields;
227
- /**
228
- * Sets the Scheduler current time marker settings.
229
- * @default true
230
- */
231
- currentTimeMarker: boolean | CurrentTimeSettings;
232
- /**
233
- * Defines the settings for highlighting ongoing events in the Scheduler.
234
- * @default true
235
- */
236
- highlightOngoingEvents: boolean | OngoingEventsSettings;
237
- /**
238
- * Specifies whether to display the Scheduler toolbar.
239
- * @default true
240
- */
241
- showToolbar: boolean;
242
- /**
243
- * Specifies whether to display the Scheduler footer.
244
- * @default true
245
- */
246
- showFooter: boolean;
247
- /**
248
- * Defines a function that is executed for every slot in the view.
249
- * The function returns a value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
250
- */
251
- slotClass: (args: SlotClassArgs) => any;
252
- /**
253
- * Defines a function that is executed for every event in the view.
254
- * The function returns a value supported by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
255
- */
256
- eventClass: (args: EventStyleArgs) => any;
257
- /**
258
- * Defines a function that is executed for every event in the view.
259
- * The function returns a value supported by [`ngStyle`](link:site.data.urls.angular['ngstyleapi']).
260
- */
261
- eventStyles: (args: EventStyleArgs) => any;
262
- /**
263
- * Specifies the days that will be hidden from the view.
264
- * Applies to **Week**, **MultiWeek**, **WorkWeek**, **Month**, **MultiDay**, **TimeLineWeek**, **TimeLineMonth**, and **Agenda** views.
265
- * Accepts an array of `Day` enum values.
266
- *
267
- */
268
- hiddenDays: Day[];
269
- /**
270
- * A callback that is executed for each slot of the Scheduler view.
271
- * If it returns `true`, the `k-selected` CSS class will be added to the cell, making it visibly selected.
272
- * @default () => false
273
- */
274
- isSlotSelected: (args: IsSlotSelectedArgs) => boolean;
275
- /**
276
- * @hidden
277
- */
278
- selectedViewIndexChange: EventEmitter<number>;
279
- /**
280
- * Emits when the Scheduler is about to perform a navigation action, such as changing the view, date, or focus.
281
- */
282
- navigate: EventEmitter<NavigateEvent>;
283
- /**
284
- * Emits when the displayed date range in the Scheduler changes.
285
- */
286
- dateChange: EventEmitter<DateChangeEvent>;
287
- /**
288
- * Emits when a Scheduler view slot is clicked.
289
- */
290
- slotClick: EventEmitter<SlotClickEvent>;
291
- /**
292
- * Fires when a Scheduler view slot is double-clicked.
293
- */
294
- slotDblClick: EventEmitter<SlotClickEvent>;
295
- /**
296
- * Emits when the user creates a new event using the `'c'` key ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/keyboard-navigation)).
297
- */
298
- create: EventEmitter<CreateEvent>;
299
- /**
300
- * Fires when a Scheduler event is clicked.
301
- */
302
- eventClick: EventEmitter<EventClickEvent>;
303
- /**
304
- * Fires when a Scheduler event is double-clicked.
305
- */
306
- eventDblClick: EventEmitter<EventClickEvent>;
307
- /**
308
- * Emits when you press a key on a focused Scheduler event.
309
- */
310
- eventKeydown: EventEmitter<EventKeydownEvent>;
311
- /**
312
- * Fires when the user cancels the editing by clicking the **Cancel** command button.
313
- */
314
- cancel: EventEmitter<CancelEvent>;
315
- /**
316
- * Fires when the user clicks the **Save** command button to save the changes of the edited event.
317
- */
318
- save: EventEmitter<SaveEvent>;
319
- /**
320
- * Fires when the user clicks the **Remove** icon of a Scheduler event.
321
- */
322
- remove: EventEmitter<RemoveEvent>;
323
- /**
324
- * Fires when the user starts resizing a Scheduler event.
325
- */
326
- resizeStart: EventEmitter<ResizeStartEvent>;
327
- /**
328
- * Emits while the user is resizing a Scheduler event.
329
- */
330
- resize: EventEmitter<ResizeEvent>;
331
- /**
332
- * Fires when the user stops resizing a Scheduler event.
333
- */
334
- resizeEnd: EventEmitter<ResizeEndEvent>;
335
- /**
336
- * Fires when the user starts dragging a Scheduler event.
337
- */
338
- dragStart: EventEmitter<DragStartEvent>;
339
- /**
340
- * Fires while the user is dragging a Scheduler event.
341
- */
342
- drag: EventEmitter<DragEvent>;
343
- /**
344
- * Fires when the user stops dragging a Scheduler event.
345
- */
346
- dragEnd: EventEmitter<DragEndEvent>;
347
- /**
348
- * Fires when the user starts drag-selecting a Scheduler slot range.
349
- */
350
- slotDragStart: EventEmitter<SlotDragStartEvent>;
351
- /**
352
- * Fires while the user is drag-selecting a Scheduler slot range.
353
- */
354
- slotDrag: EventEmitter<SlotDragEvent>;
355
- /**
356
- * Fires when the user stops drag-selecting a Scheduler slot range.
357
- */
358
- slotDragEnd: EventEmitter<SlotDragEndEvent>;
359
- /**
360
- * Fires when the user clicks the **PDF export** command button.
361
- */
362
- pdfExport: EventEmitter<PDFExportEvent>;
363
- /**
364
- * Fires when the Scheduler is resized horizontally.
365
- */
366
- schedulerResize: EventEmitter<number>;
367
- /**
368
- * @hidden
369
- */
370
- dragEndConfirmed: EventEmitter<DragEndEvent>;
371
- /**
372
- * @hidden
373
- */
374
- resizeEndConfirmed: EventEmitter<ResizeEndEvent>;
375
- /**
376
- * @hidden
377
- */
378
- removeConfirmed: EventEmitter<RemoveEvent>;
379
- /**
380
- * @hidden
381
- */
382
- editDialogTemplate: EditDialogTemplateDirective;
383
- /**
384
- * @hidden
385
- */
386
- toolbarTemplate: ToolbarTemplateDirective;
387
- /**
388
- * @hidden
389
- */
390
- dateRangeStream: Observable<DateRange>;
391
- /**
392
- * @hidden
393
- */
394
- selectedDateStream: Observable<Date>;
395
- /**
396
- * @hidden
397
- */
398
- views: QueryList<SchedulerView>;
399
- /**
400
- * @hidden
401
- */
402
- resizeSensor: ResizeSensorComponent;
403
- /**
404
- * @hidden
405
- */
406
- confirmationDialogContainerRef: ViewContainerRef;
407
- /**
408
- * @hidden
409
- */
410
- allDayEventTemplate: QueryList<AllDayEventTemplateDirective>;
411
- /**
412
- * @hidden
413
- */
414
- eventTemplate: QueryList<EventTemplateDirective>;
415
- /**
416
- * @hidden
417
- */
418
- timeSlotTemplate: QueryList<TimeSlotTemplateDirective>;
419
- /**
420
- * @hidden
421
- */
422
- minorTimeHeaderTemplate: QueryList<MinorTimeHeaderTemplateDirective>;
423
- /**
424
- * @hidden
425
- */
426
- majorTimeHeaderTemplate: QueryList<MajorTimeHeaderTemplateDirective>;
427
- /**
428
- * @hidden
429
- */
430
- monthDaySlotTemplate: QueryList<MonthDaySlotTemplateDirective>;
431
- /**
432
- * @hidden
433
- */
434
- multiWeekDaySlotTemplate: QueryList<MultiWeekDaySlotTemplateDirective>;
435
- /**
436
- * @hidden
437
- */
438
- dateHeaderTemplate: QueryList<DateHeaderTemplateDirective>;
439
- /**
440
- * @hidden
441
- */
442
- allDaySlotTemplate: QueryList<AllDaySlotTemplateDirective>;
443
- /**
444
- * @hidden
445
- */
446
- groupHeaderTemplate: QueryList<GroupHeaderTemplateDirective>;
447
- /**
448
- * @hidden
449
- */
450
- agendaDateTemplate: QueryList<AgendaDateTemplateDirective>;
451
- /**
452
- * @hidden
453
- */
454
- agendaTimeTemplate: QueryList<AgendaTimeTemplateDirective>;
455
- /**
456
- * @hidden
457
- */
458
- showLicenseWatermark: boolean;
459
- /**
460
- * @hidden
461
- */
462
- licenseMessage?: LicenseMessage;
463
- /**
464
- * @hidden
465
- */
466
- get viewToolbar(): boolean;
467
- /**
468
- * @hidden
469
- */
470
- pdfLoading: boolean;
471
- private direction;
472
- private subs;
473
- private viewIndex;
474
- private _selectedDate;
475
- private _events;
476
- private _timezone;
477
- private _modelFields;
478
- private viewItems;
479
- private detachElementEventHandlers;
480
- private _weekStart;
481
- constructor(wrapper: ElementRef, viewContext: ViewContextService, viewState: ViewStateService, editService: EditService, dialogsService: DialogsService, intlService: IntlService, changeDetector: ChangeDetectorRef, zone: NgZone, pdfService: PDFService, localization: LocalizationService, domEvents: DomEventsService, renderer: Renderer2, focusService: FocusService);
482
- ngOnInit(): void;
483
- ngAfterContentInit(): void;
484
- ngOnChanges(changes: any): void;
485
- ngOnDestroy(): void;
486
- /**
487
- * @hidden
488
- */
489
- onResize(_event?: any): void;
490
- /**
491
- * @hidden
492
- */
493
- onNavigationAction(action: NavigationAction): boolean;
494
- /**
495
- * @hidden
496
- */
497
- onToolbarWidthChange(width: number): void;
498
- /**
499
- * Creates a popup editor for the new event.
500
- *
501
- * @param group - The [`FormGroup`](https://angular.io/docs/ts/latest/api/forms/index/FormGroup-class.html) that describes
502
- * the edit form. If called with a data item, the parameter will build the `FormGroup` from the data item fields.
503
- */
504
- addEvent(group: FormGroup | any): void;
505
- /**
506
- * Switches the specified event in edit mode.
507
- *
508
- * @param dataItem - The event that will be switched to edit mode.
509
- * @param options - An object which contains the form `group` that will be bound in the edit dialog and the current edit `mode`.
510
- *
511
- */
512
- editEvent(dataItem: any, options?: EditEventArgs): void;
513
- /**
514
- * Closes the event editor, if open.
515
- */
516
- closeEvent(): void;
517
- /**
518
- * Returns a flag which indicates if an event is currently edited.
519
- *
520
- * @return {boolean} - A flag which indicates if an event is currently edited.
521
- */
522
- isEditing(): boolean;
523
- /**
524
- * Opens the built-in confirmation dialog for defining the edit mode
525
- * that will be used when the user edits or removes a recurring event.
526
- *
527
- * @param operation - The type of operation that will be confirmed. Has to be either **Edit** or **Remove**.
528
- *
529
- * @returns the result from the confirmation dialog.
530
- */
531
- openRecurringConfirmationDialog(operation: CrudOperation): Observable<EditMode>;
532
- /**
533
- * Opens the built-in removal confirmation dialog.
534
- *
535
- * @return the result from the confirmation dialog.
536
- */
537
- openRemoveConfirmationDialog(): Observable<boolean>;
538
- /**
539
- * Saves the current view as PDF.
540
- */
541
- saveAsPDF(): void;
542
- /**
543
- * Scrolls the view to the specified time.
544
- */
545
- scrollToTime(time: string | Date): void;
546
- /**
547
- * Returns the current view slot that matches the passed document position.
548
- *
549
- * @param x - The x document position.
550
- * @param y - The y document position.
551
- *
552
- * @return {SchedulerSlot} - The slot.
553
- */
554
- slotByPosition(x: number, y: number): SchedulerSlot;
555
- /**
556
- * Returns the event associated with the specified DOM element, if any.
557
- *
558
- * @param element - The DOM element document position.
559
- * @return the event instance, if found.
560
- */
561
- eventFromElement(element: Element): SchedulerEvent;
562
- /**
563
- * Gets the currently active event, if any.
564
- * The active event is the event that can currently receive focus.
565
- */
566
- get activeEvent(): SchedulerEvent;
567
- /**
568
- * Focuses the next event or an event at a specified relative position.
569
- * The `options` parameter can be used to set a positive or negative offset
570
- * that is relative to the currently focused event ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/keyboard-navigation#event-navigation-with-the-tab-key)).
571
- * A `nowrap` flag toggles the wrapping to the first or to the last item.
572
- *
573
- * @param position The relative position of the event to focus.
574
- * @returns `true` if the focused event changed. Otherwise, returns `false`.
575
- */
576
- focusNext(position?: FocusPosition): boolean;
577
- /**
578
- * Focuses the previous event or an event at a specified relative position.
579
- * The `options` parameter can be used to set a positive or negative offset
580
- * that is relative to the currently focused event ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/keyboard-navigation#event-navigation-with-the-tab-key)).
581
- * A `nowrap` flag toggles the wrapping to the first or to the last item.
582
- *
583
- * @param position The relative position of the event to focus.
584
- * @returns `true` if the focused event changed. Otherwise, returns `false`.
585
- */
586
- focusPrev(position: FocusPosition): boolean;
587
- /**
588
- * Focuses the last focused scheduler element or the Scheduler element, if no events are available.
589
- */
590
- focus(): void;
591
- /**
592
- * @hidden
593
- */
594
- get toolbarVisibilityState(): boolean;
595
- private isInRange;
596
- private notifyOptionsChange;
597
- private get workWeek();
598
- private resetViewIndex;
599
- private onViewIndexChange;
600
- private setViewIndex;
601
- private processEvents;
602
- private attachEditHandlers;
603
- private emitCRUDEvent;
604
- private intlChange;
605
- private attachElementEventHandlers;
606
- static ɵfac: i0.ɵɵFactoryDeclaration<SchedulerComponent, never>;
607
- static ɵcmp: i0.ɵɵComponentDeclaration<SchedulerComponent, "kendo-scheduler", never, { "selectedViewIndex": { "alias": "selectedViewIndex"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "eventHeight": { "alias": "eventHeight"; "required": false; }; "columnWidth": { "alias": "columnWidth"; "required": false; }; "showWorkHours": { "alias": "showWorkHours"; "required": false; }; "startTime": { "alias": "startTime"; "required": false; }; "endTime": { "alias": "endTime"; "required": false; }; "workDayStart": { "alias": "workDayStart"; "required": false; }; "workDayEnd": { "alias": "workDayEnd"; "required": false; }; "workWeekStart": { "alias": "workWeekStart"; "required": false; }; "workWeekEnd": { "alias": "workWeekEnd"; "required": false; }; "weekStart": { "alias": "weekStart"; "required": false; }; "slotDuration": { "alias": "slotDuration"; "required": false; }; "slotDivisions": { "alias": "slotDivisions"; "required": false; }; "slotFill": { "alias": "slotFill"; "required": false; }; "allDaySlot": { "alias": "allDaySlot"; "required": false; }; "scrollTime": { "alias": "scrollTime"; "required": false; }; "group": { "alias": "group"; "required": false; }; "resources": { "alias": "resources"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "timezone": { "alias": "timezone"; "required": false; }; "events": { "alias": "events"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; "modelFields": { "alias": "modelFields"; "required": false; }; "currentTimeMarker": { "alias": "currentTimeMarker"; "required": false; }; "highlightOngoingEvents": { "alias": "highlightOngoingEvents"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "showFooter": { "alias": "showFooter"; "required": false; }; "slotClass": { "alias": "slotClass"; "required": false; }; "eventClass": { "alias": "eventClass"; "required": false; }; "eventStyles": { "alias": "eventStyles"; "required": false; }; "hiddenDays": { "alias": "hiddenDays"; "required": false; }; "isSlotSelected": { "alias": "isSlotSelected"; "required": false; }; }, { "selectedViewIndexChange": "selectedViewIndexChange"; "navigate": "navigate"; "dateChange": "dateChange"; "slotClick": "slotClick"; "slotDblClick": "slotDblClick"; "create": "create"; "eventClick": "eventClick"; "eventDblClick": "eventDblClick"; "eventKeydown": "eventKeydown"; "cancel": "cancel"; "save": "save"; "remove": "remove"; "resizeStart": "resizeStart"; "resize": "resize"; "resizeEnd": "resizeEnd"; "dragStart": "dragStart"; "drag": "drag"; "dragEnd": "dragEnd"; "slotDragStart": "slotDragStart"; "slotDrag": "slotDrag"; "slotDragEnd": "slotDragEnd"; "pdfExport": "pdfExport"; "schedulerResize": "schedulerResize"; }, ["editDialogTemplate", "toolbarTemplate", "views", "allDayEventTemplate", "eventTemplate", "timeSlotTemplate", "minorTimeHeaderTemplate", "majorTimeHeaderTemplate", "monthDaySlotTemplate", "multiWeekDaySlotTemplate", "dateHeaderTemplate", "allDaySlotTemplate", "groupHeaderTemplate", "agendaDateTemplate", "agendaTimeTemplate"], never, true, never>;
608
- }