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

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 +489 -447
  2. package/index.d.ts +6727 -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,31 +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 { TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Use this directive to customize the day slots in the **Month** view of the Scheduler.
9
- *
10
- * To define a day slot template, nest an `<ng-template>` tag with the `kendoSchedulerMonthDaySlotTemplate` directive inside the
11
- * `<kendo-scheduler>` or `<kendo-scheduler-month-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#month-slots)).
12
- *
13
- * The available fields in the template context are:
14
- * - `date`&mdash;The date of the slot.
15
- * - `resources`&mdash;The resources of the slot.
16
- *
17
- * @example
18
- * ```html
19
- * <kendo-scheduler-month-view>
20
- * <ng-template kendoSchedulerMonthDaySlotTemplate let-date="date" let-resources="resources">
21
- * <!-- custom month day slot -->
22
- * </ng-template>
23
- * </kendo-scheduler-month-view>
24
- * ```
25
- */
26
- export declare class MonthDaySlotTemplateDirective {
27
- templateRef: TemplateRef<any>;
28
- constructor(templateRef: TemplateRef<any>);
29
- static ɵfac: i0.ɵɵFactoryDeclaration<MonthDaySlotTemplateDirective, [{ optional: true; }]>;
30
- static ɵdir: i0.ɵɵDirectiveDeclaration<MonthDaySlotTemplateDirective, "[kendoSchedulerMonthDaySlotTemplate]", never, {}, {}, never, never, true, never>;
31
- }
@@ -1,31 +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 { TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Use this directive to customize the day slots in the **Multi-Week** view of the Scheduler.
9
- *
10
- * To defina a day slot template, nest an `<ng-template>` tag with the `kendoSchedulerMultiWeekDaySlotTemplate` directive inside the
11
- * `<kendo-scheduler>` or `<kendo-scheduler-multi-week-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#multi-week-slots)).
12
- *
13
- * The available fields in the template context are:
14
- * - `date`&mdash;The date of the slot.
15
- * - `resources`&mdash;The resources of the slot.
16
- *
17
- * @example
18
- * ```html
19
- * <kendo-scheduler-multi-week-view>
20
- * <ng-template kendoSchedulerMultiWeekDaySlotTemplate let-date="date" let-resources="resources">
21
- * <!-- custom multi-week day slot -->
22
- * </ng-template>
23
- * <kendo-scheduler-multi-week-view>
24
- * ```
25
- */
26
- export declare class MultiWeekDaySlotTemplateDirective {
27
- templateRef: TemplateRef<any>;
28
- constructor(templateRef: TemplateRef<any>);
29
- static ɵfac: i0.ɵɵFactoryDeclaration<MultiWeekDaySlotTemplateDirective, [{ optional: true; }]>;
30
- static ɵdir: i0.ɵɵDirectiveDeclaration<MultiWeekDaySlotTemplateDirective, "[kendoSchedulerMultiWeekDaySlotTemplate]", never, {}, {}, never, never, true, never>;
31
- }
@@ -1,32 +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 { TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Represents the template for the time-slot renderer in the ***Day**, ***Week**, and ***Timeline** views.
9
- *
10
- * To define a time-slot template, nest an `<ng-template>` tag with the `kendoSchedulerTimeSlotTemplate`
11
- * directive inside the `<kendo-scheduler>`, `<kendo-scheduler-day-view>`, `<kendo-scheduler-week-view>`,
12
- * `<kendo-scheduler-timeline-view>`, `<kendo-scheduler-timeline-week-view>`, or `<kendo-scheduler-timeline-month-view>` component ([see example](https://www.telerik.com/kendo-angular-ui/components/scheduler/templates#time-slots)).
13
- *
14
- * The available fields in the template context are:
15
- * - `date`&mdash;The date of the slot.
16
- * - `resources`&mdash;The resources of the slot.
17
- *
18
- * @example
19
- * ```html
20
- * <kendo-scheduler-week-view>
21
- * <ng-template kendoSchedulerTimeSlotTemplate let-date="date" let-resources="resources">
22
- * <!-- custom time slot -->
23
- * </ng-template>
24
- * </kendo-scheduler-week-view>
25
- * ```
26
- */
27
- export declare class TimeSlotTemplateDirective {
28
- templateRef: TemplateRef<any>;
29
- constructor(templateRef: TemplateRef<any>);
30
- static ɵfac: i0.ɵɵFactoryDeclaration<TimeSlotTemplateDirective, [{ optional: true; }]>;
31
- static ɵdir: i0.ɵɵDirectiveDeclaration<TimeSlotTemplateDirective, "[kendoSchedulerTimeSlotTemplate]", never, {}, {}, never, never, true, never>;
32
- }
@@ -1,16 +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
- export { AgendaDateTemplateDirective } from './templates/agenda-date-template.directive';
6
- export { AgendaTimeTemplateDirective } from './templates/agenda-time-template.directive';
7
- export { AllDayEventTemplateDirective } from './templates/all-day-event-template.directive';
8
- export { AllDaySlotTemplateDirective } from './templates/all-day-slot-template.directive';
9
- export { DateHeaderTemplateDirective } from './templates/date-header-template.directive';
10
- export { EventTemplateDirective } from './templates/event-template.directive';
11
- export { GroupHeaderTemplateDirective } from './templates/group-header-template.directive';
12
- export { MajorTimeHeaderTemplateDirective } from './templates/major-time-header-template.directive';
13
- export { MinorTimeHeaderTemplateDirective } from './templates/minor-time-header-template.directive';
14
- export { MonthDaySlotTemplateDirective } from './templates/month-day-slot-template.directive';
15
- export { TimeSlotTemplateDirective } from './templates/time-slot-template.directive';
16
- export { MultiWeekDaySlotTemplateDirective } from './templates/multi-week-day-slot-template.directive';
@@ -1,26 +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 { ChangeDetectorRef } from '@angular/core';
6
- import { DayTimeViewBase } from '../day-time/day-time-view-base';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { ViewContextService } from '../view-context.service';
9
- import { ViewStateService } from '../view-state.service';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * @hidden
13
- */
14
- export declare abstract class TimelineBase extends DayTimeViewBase {
15
- /**
16
- * Specifies the columns width.
17
- */
18
- columnWidth: number;
19
- /**
20
- * @hidden
21
- */
22
- get viewColumnWidth(): any;
23
- constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService);
24
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineBase, never>;
25
- static ɵdir: i0.ɵɵDirectiveDeclaration<TimelineBase, never, never, { "columnWidth": { "alias": "columnWidth"; "required": false; }; }, {}, never, never, true, never>;
26
- }
@@ -1,72 +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 { ChangeDetectorRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { TimelineBase } from './timeline-base';
8
- import { ViewContextService } from '../view-context.service';
9
- import { ViewStateService } from '../view-state.service';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * Represents the component that renders the **Timeline Month** view in the Scheduler.
13
- *
14
- * @example
15
- * ```html
16
- * <kendo-scheduler>
17
- * <kendo-scheduler-timeline-month-view></kendo-scheduler-timeline-month-view>
18
- * </kendo-scheduler>
19
- * ```
20
- */
21
- export declare class TimelineMonthViewComponent extends TimelineBase {
22
- /**
23
- * @hidden
24
- */
25
- get title(): string;
26
- /**
27
- * Sets the long-date format for the selected date in the Scheduler toolbar.
28
- * For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
29
- * If `numberOfMonths` is greater than 1, the default format displays a range: `'{0:Y} - {1:Y}'`, where `0` is the start and `1` is the end date.
30
- * @default '{0:Y}'
31
- */
32
- set selectedDateFormat(format: string);
33
- get selectedDateFormat(): string;
34
- private _selectedDateFormat;
35
- /**
36
- * Sets the short-date format for the selected date in the Scheduler toolbar.
37
- * For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
38
- * If `numberOfMonths` is greater than 1, the default format displays a range: `'{0:y} - {1:y}'`, where `0` is the start and `1` is the end date.
39
- * @default '{0:y}'
40
- */
41
- set selectedShortDateFormat(format: string);
42
- get selectedShortDateFormat(): string;
43
- private _selectedShortDateFormat;
44
- /**
45
- * Sets the number of months to render in the view.
46
- * If the value is less than or equal to 0, it defaults to 1.
47
- * @default 1
48
- */
49
- set numberOfMonths(months: number);
50
- get numberOfMonths(): number;
51
- private _numberOfMonths;
52
- /**
53
- * The invariant name for this view.
54
- * @default 'timelineMonth'
55
- */
56
- readonly name: string;
57
- /**
58
- * @hidden
59
- */
60
- getStartDate: (selectedDate: Date) => Date;
61
- /**
62
- * @hidden
63
- */
64
- getEndDate: (selectedDate: Date) => Date;
65
- /**
66
- * @hidden
67
- */
68
- getNextDate: (date: Date, count: number) => Date;
69
- constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService);
70
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineMonthViewComponent, never>;
71
- static ɵcmp: i0.ɵɵComponentDeclaration<TimelineMonthViewComponent, "kendo-scheduler-timeline-month-view", never, { "selectedDateFormat": { "alias": "selectedDateFormat"; "required": false; }; "selectedShortDateFormat": { "alias": "selectedShortDateFormat"; "required": false; }; "numberOfMonths": { "alias": "numberOfMonths"; "required": false; }; }, {}, never, never, true, never>;
72
- }
@@ -1,49 +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 { NgZone, QueryList, ElementRef, Renderer2, ChangeDetectorRef } from '@angular/core';
6
- import { IntlService } from '@progress/kendo-angular-intl';
7
- import { LocalizationService } from '@progress/kendo-angular-l10n';
8
- import { DateRange, ViewItem } from '../../types';
9
- import { ViewContextService } from '../view-context.service';
10
- import { ViewStateService } from '../view-state.service';
11
- import { DayTimeSlotService } from '../day-time/day-time-slot.service';
12
- import { DayTimeViewComponent } from '../day-time/day-time-view.component';
13
- import { PDFService } from '../../pdf/pdf.service';
14
- import { ScrollbarService } from '@progress/kendo-angular-common';
15
- import { Day } from '@progress/kendo-date-math';
16
- import * as i0 from "@angular/core";
17
- /**
18
- * @hidden
19
- */
20
- export declare class TimelineMultiDayViewComponent extends DayTimeViewComponent {
21
- hiddenDays: Day[];
22
- name: string;
23
- columnWidth: number;
24
- viewName: string;
25
- verticalResourceRows: QueryList<ElementRef>;
26
- get classNames(): string;
27
- get contentWidthPercentage(): number;
28
- protected verticalTime: boolean;
29
- private contentWidth;
30
- constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService, slotService: DayTimeSlotService, zone: NgZone, renderer: Renderer2, element: ElementRef, pdfService: PDFService, scrollbarService: ScrollbarService);
31
- ngOnChanges(changes: any): void;
32
- reflow(): void;
33
- get allEventsMessage(): string;
34
- get slotsCount(): any;
35
- timeColspan(index: number): any;
36
- horizontalColspan(resourceIndex: number): any;
37
- verticalRowspan(resourceIndex: number): any;
38
- handleScroll(): void;
39
- protected syncTables(): void;
40
- protected createTasks(items: ViewItem[], dateRange: DateRange): any[];
41
- protected onTasksChange(): void;
42
- protected dragRanges(slot: any): any;
43
- protected dragHintSize(firstSlot: any, lastSlot: any): any;
44
- protected updateResizeHints(ranges: any[], start: Date, end: Date): void;
45
- protected pdfWidth(): number;
46
- protected currentTimeArrowOffset(): number;
47
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineMultiDayViewComponent, never>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<TimelineMultiDayViewComponent, "timeline-multi-day-view", never, { "hiddenDays": { "alias": "hiddenDays"; "required": false; }; "name": { "alias": "name"; "required": false; }; "columnWidth": { "alias": "columnWidth"; "required": false; }; "viewName": { "alias": "viewName"; "required": false; }; }, {}, never, never, true, never>;
49
- }
@@ -1,66 +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 { ChangeDetectorRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { TimelineBase } from './timeline-base';
8
- import { ViewContextService } from '../view-context.service';
9
- import { ViewStateService } from '../view-state.service';
10
- import { Day } from '@progress/kendo-date-math';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * Represents the component that renders the **Timeline** view in the Scheduler.
14
- *
15
- * @example
16
- * ```html
17
- * <kendo-scheduler>
18
- * <kendo-scheduler-timeline-view></kendo-scheduler-timeline-view>
19
- * </kendo-scheduler>
20
- * ```
21
- */
22
- export declare class TimelineViewComponent extends TimelineBase {
23
- /**
24
- * @hidden
25
- */
26
- get title(): string;
27
- /**
28
- * Sets the long-date format for the selected date in the Scheduler toolbar.
29
- * For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
30
- * If `numberOfDays` is greater than 1, the default format displays a range: `'{0:D} - {1:D}'`, where `0` is the start and `1` is the end date.
31
- * @default '{0:D}'
32
- */
33
- set selectedDateFormat(format: string);
34
- get selectedDateFormat(): string;
35
- private _selectedDateFormat;
36
- /**
37
- * Sets the short-date format for the selected date in the Scheduler toolbar.
38
- * For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
39
- * If `numberOfDays` is greater than 1, the default format displays a range: `'{0:d} - {1:d}'`, where `0` is the start and `1` is the end date.
40
- * @default '{0:d}'
41
- */
42
- set selectedShortDateFormat(format: string);
43
- get selectedShortDateFormat(): string;
44
- private _selectedShortDateFormat;
45
- /**
46
- * Sets the number of days to render in the view.
47
- * If the value is less than or equal to 0, it defaults to 1.
48
- * @default 1
49
- */
50
- set numberOfDays(days: number);
51
- get numberOfDays(): number;
52
- private _numberOfDays;
53
- /**
54
- * The invariant name for this view.
55
- * @default 'timeline'
56
- */
57
- readonly name: string;
58
- /**
59
- * @hidden
60
- * Used to override the hiddenDays as this options is not applicable for Timeline view.
61
- */
62
- set hiddenDays(_hiddenDays: Day[]);
63
- constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService);
64
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineViewComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<TimelineViewComponent, "kendo-scheduler-timeline-view", never, { "selectedDateFormat": { "alias": "selectedDateFormat"; "required": false; }; "selectedShortDateFormat": { "alias": "selectedShortDateFormat"; "required": false; }; "numberOfDays": { "alias": "numberOfDays"; "required": false; }; }, {}, never, never, true, never>;
66
- }
@@ -1,61 +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 { ChangeDetectorRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { TimelineBase } from './timeline-base';
8
- import { IntlService } from '@progress/kendo-angular-intl';
9
- import { ViewContextService } from '../view-context.service';
10
- import { ViewStateService } from '../view-state.service';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * Represents the component that renders the **Timeline Week** view in the Scheduler.
14
- *
15
- * @example
16
- * ```html
17
- * <kendo-scheduler>
18
- * <kendo-scheduler-timeline-week-view></kendo-scheduler-timeline-week-view>
19
- * </kendo-scheduler>
20
- * ```
21
- */
22
- export declare class TimelineWeekViewComponent extends TimelineBase {
23
- /**
24
- * @hidden
25
- */
26
- get title(): string;
27
- /**
28
- * Sets the long-date format for the selected date in the Scheduler toolbar.
29
- * Defaults to `'{0:D} - {1:D}'`, where `0` is the start and `1` is the end date.
30
- * For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
31
- * @default '{0:D} - {1:D}'
32
- */
33
- selectedDateFormat: string;
34
- /**
35
- * Sets the short-date format for the selected date in the Scheduler toolbar.
36
- * Defaults to `'{0:d} - {1:d}'`, where `0` is the start and `1` is the end date.
37
- * For more information, see [Parsing and Formatting Dates and Numbers](https://www.telerik.com/kendo-angular-ui/components/globalization/internationalization/parsing-and-formatting#date-formatting).
38
- * @default '{0:d} - {1:d}'
39
- */
40
- selectedShortDateFormat: string;
41
- /**
42
- * Sets the number of weeks to render in the view.
43
- * If the value is less than or equal to 0, it defaults to 1.
44
- * @default 1
45
- */
46
- set numberOfWeeks(weeks: number);
47
- get numberOfWeeks(): number;
48
- private _numberOfWeeks;
49
- /**
50
- * The invariant name for this view.
51
- * @default 'timelineWeek'
52
- */
53
- readonly name: string;
54
- constructor(_intl: IntlService, localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService);
55
- /**
56
- * @hidden
57
- */
58
- getStartDate: (selectedDate: Date) => Date;
59
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineWeekViewComponent, never>;
60
- static ɵcmp: i0.ɵɵComponentDeclaration<TimelineWeekViewComponent, "kendo-scheduler-timeline-week-view", never, { "selectedDateFormat": { "alias": "selectedDateFormat"; "required": false; }; "selectedShortDateFormat": { "alias": "selectedShortDateFormat"; "required": false; }; "numberOfWeeks": { "alias": "numberOfWeeks"; "required": false; }; }, {}, never, never, true, never>;
61
- }
@@ -1,21 +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 { ViewItem } from '../../types';
6
- import { PipeTransform } from '@angular/core';
7
- import { SchedulerTask } from '../common/scheduler-task';
8
- import { Day } from '@progress/kendo-date-math';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * @hidden
12
- */
13
- export declare const createTasks: (periodStart: Date, periodEnd: Date, items: ViewItem[], hiddenDays?: Day[]) => any[];
14
- /**
15
- * @hidden
16
- */
17
- export declare class SortPipe implements PipeTransform {
18
- transform(value: SchedulerTask[], ..._args: any[]): any;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<SortPipe, never>;
20
- static ɵpipe: i0.ɵɵPipeDeclaration<SortPipe, "sort", true>;
21
- }
package/views/utils.d.ts DELETED
@@ -1,115 +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 { ZonedDate, Day } from '@progress/kendo-date-math';
6
- import { FormGroup } from '@angular/forms';
7
- import { Resource } from '../types';
8
- import { SlotRange } from '../types/slot-selection';
9
- /**
10
- * @hidden
11
- */
12
- export declare const allDaysHidden: (days: Day[]) => boolean;
13
- /** @hidden */
14
- export declare const intersects: (startTime: Date, endTime: Date, periodStart: Date, periodEnd: Date) => boolean;
15
- /** @hidden */
16
- export declare const dateInRange: (date: Date, start: Date, end: Date) => boolean;
17
- /** @hidden */
18
- export declare const getVerticalPaddingAndBorder: (element: HTMLElement) => number;
19
- /** @hidden */
20
- export declare const roundAllDayEnd: ({ start, end }: {
21
- start: any;
22
- end: any;
23
- }) => ZonedDate;
24
- /** @hidden */
25
- export declare function toInvariantTime(date: Date): Date;
26
- /**
27
- * @hidden
28
- * TODO Move to date-math
29
- */
30
- export declare const addUTCDays: (date: Date, offset: number) => Date;
31
- /**
32
- * @hidden
33
- */
34
- export declare function timeOnDate(date: Date, hours?: number, minutes?: number, seconds?: number, ms?: number): Date;
35
- /** @hidden */
36
- export declare function toUTCTime(localDate: Date, localTime: Date): Date;
37
- /** @hidden */
38
- export declare function toUTCDate(localDate: Date): Date;
39
- /** @hidden */
40
- export declare function getUTCDate(utcDate: Date): Date;
41
- /** @hidden */
42
- export declare function toUTCDateTime(localDate: Date): Date;
43
- /** @hidden */
44
- export declare function dateWithTime(target: Date, time: Date): Date;
45
- /** @hidden */
46
- export interface SimpleRange {
47
- start: Date;
48
- end: Date;
49
- }
50
- /**
51
- * @hidden
52
- * Flips the start and end values of a slot selection based on whether
53
- * the last dragged-over slot is before or after the slot where the selection began.
54
- */
55
- export declare function normaliseRangeStartAndEnd(selectionOrigin: SimpleRange, currentSlot: SimpleRange): SimpleRange;
56
- /** @hidden */
57
- export declare function resourceItemByValue(event: any, resource: any): any;
58
- /** @hidden */
59
- export declare function eventResources(event: any, { taskResources, hasGroups, spans, allResources }: any): any[];
60
- /** @hidden */
61
- export declare function assignTasksResources(tasks: any[], options: any): void;
62
- /**
63
- * @hidden
64
- */
65
- export declare function isEmptyResource(resources: Resource[]): boolean;
66
- /**
67
- * @hidden
68
- */
69
- export declare function resourcesMatch(res1: any[], res2: any[], resourceConfigs?: Resource[]): boolean;
70
- /**
71
- * @hidden
72
- */
73
- export declare function isSameRange(range1: SlotRange, range2: SlotRange, resourceConfigs?: Resource[]): boolean;
74
- /** @hidden */
75
- export declare function findRowIndex(events: any[], data: any): number;
76
- /** @hidden */
77
- export declare function isRecurrence(task: any): boolean;
78
- /** @hidden */
79
- export declare function isRecurrenceException(task: any): boolean;
80
- /** @hidden */
81
- export declare const rectContains: (rect: any, left: number, top: number, scaleX?: number) => boolean;
82
- /** @hidden */
83
- export declare const rectContainsX: (rect: any, left: number, scaleX?: number) => boolean;
84
- /** @hidden */
85
- export declare const toPx: (value: any) => string;
86
- /** @hidden */
87
- export declare const elementOffset: (element: any) => any;
88
- /** @hidden */
89
- export declare const pointDistance: (x1: number, y1: number, x2: number, y2: number) => number;
90
- /** @hidden */
91
- export declare const ignoreContentChild: (child: any) => boolean;
92
- /** @hidden */
93
- export declare const setCoordinates: (element: any, coordinates: any) => void;
94
- /** @hidden */
95
- export declare const convertNgClassBindings: (bindingValues: any) => string[];
96
- /**
97
- * @hidden
98
- */
99
- export declare function formatEventTime(start: Date, end: Date, isAllDay: boolean, localeId?: string): string;
100
- /**
101
- * @hidden
102
- */
103
- export declare function getEventTitle(start: Date, end: Date, isAllDay: boolean, title: string, localeId?: string): string;
104
- /**
105
- * @hidden
106
- */
107
- export declare function formValueOrDefault(group: FormGroup, field: string, defaultValue: any): any;
108
- /**
109
- * @hidden
110
- */
111
- export declare const isWorkWeekDay: (day: number, start: number, end: number) => boolean;
112
- /**
113
- * @hidden
114
- */
115
- export declare const alwaysFalse: () => boolean;
@@ -1,82 +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 { Observable } from 'rxjs';
6
- import { NavigationAction, ViewItem } from '../types';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * A service which publishes information from the Scheduler to the views.
10
- * Views subscribe to changes in the context (selected date, event, and resource data) through this service.
11
- */
12
- export declare class ViewContextService {
13
- /**
14
- * Represents a stream that publishes navigation actions to the view.
15
- */
16
- readonly action: Observable<NavigationAction>;
17
- /**
18
- * Represents a stream that executes methods from the view.
19
- */
20
- readonly execute: Observable<any>;
21
- /**
22
- * Represents a stream of items (events) to be displayed in the view.
23
- */
24
- readonly items: Observable<ViewItem[]>;
25
- /**
26
- * Represents a stream with the selected date to be displayed in the view.
27
- */
28
- readonly selectedDate: Observable<Date>;
29
- /**
30
- * Emits when the Scheduler element is resized.
31
- */
32
- readonly resize: Observable<void>;
33
- /**
34
- * Emits when the Scheduler options change.
35
- */
36
- readonly optionsChange: Observable<any>;
37
- private actionSource;
38
- private itemsSource;
39
- private selectedDateSource;
40
- private resizeSource;
41
- private optionsChangeSource;
42
- private executeSource;
43
- constructor();
44
- /**
45
- * An internal method which is used by the Scheduler to publish unhandled navigation actions.
46
- *
47
- * @hidden
48
- */
49
- notifyAction(action: NavigationAction): void;
50
- /**
51
- * An internal method which is used by the Scheduler to publish the current set of items.
52
- *
53
- * @hidden
54
- */
55
- notifyItems(items: ViewItem[]): void;
56
- /**
57
- * An internal method which is used by the Scheduler to publish the currently selected date.
58
- *
59
- * @hidden
60
- */
61
- notifySelectedDate(date: Date): void;
62
- /**
63
- * An internal method which is used by the Scheduler to notify that the size changed.
64
- *
65
- * @hidden
66
- */
67
- notifyResize(): void;
68
- /**
69
- * An internal method which is used by the Scheduler to notify that the options changed.
70
- *
71
- * @hidden
72
- */
73
- notifyOptionsChange(changes: any): void;
74
- /**
75
- * An internal method which is used by the Scheduler to execute a view method.
76
- *
77
- * @hidden
78
- */
79
- executeMethod(name: string, args: any): any;
80
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewContextService, never>;
81
- static ɵprov: i0.ɵɵInjectableDeclaration<ViewContextService>;
82
- }
@@ -1,40 +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 { ElementRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { BaseSlotService } from './base-slot.service';
8
- import { Rect, SlotDirective, SlotID } from './types';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * @hidden
12
- */
13
- export declare class BaseSlotDirective implements SlotDirective {
14
- protected element: ElementRef;
15
- protected slotService: BaseSlotService;
16
- protected localization: LocalizationService;
17
- id: SlotID;
18
- get slotIndex(): string;
19
- get start(): Date;
20
- set start(value: Date);
21
- get end(): Date;
22
- set end(value: Date);
23
- private _rect;
24
- private _start;
25
- private _end;
26
- constructor(element: ElementRef, slotService: BaseSlotService, localization: LocalizationService);
27
- get rect(): Rect;
28
- get top(): number;
29
- get padding(): number;
30
- get height(): number;
31
- set height(value: number);
32
- get width(): number;
33
- get key(): string;
34
- get nativeElement(): any;
35
- ngOnInit(): void;
36
- ngOnDestroy(): void;
37
- invalidate(): void;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseSlotDirective, never>;
39
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseSlotDirective, never, never, { "id": { "alias": "id"; "required": false; }; }, {}, never, never, true, never>;
40
- }