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

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,28 +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 { EventEmitter } from '@angular/core';
6
- import { ResourceGroup, SlotDirective, SlotID, ViewItem } from './types';
7
- /**
8
- * @hidden
9
- */
10
- export declare abstract class BaseSlotService {
11
- containerSize: number;
12
- slotsChange: EventEmitter<any>;
13
- protected groups: ResourceGroup[];
14
- abstract forEachSlot(callback: any): void;
15
- abstract createGroup(index: number): ResourceGroup;
16
- abstract resizeRanges(currentSlot: any, task: any, resizeStart: boolean, offset?: any): any;
17
- abstract groupSlotByPosition(currentSlot: any, x: number, y: number): any;
18
- registerItem(component: ViewItem): void;
19
- unregisterItem(component: ViewItem, id?: SlotID): void;
20
- registerSlot(slot: SlotDirective): void;
21
- unregisterSlot(slot: SlotDirective): void;
22
- invalidate(): void;
23
- cleanRanges(): void;
24
- protected clearEmptyGroups(): void;
25
- protected itemGroup(item: ViewItem): ResourceGroup;
26
- protected slotGroup(slot: SlotDirective): ResourceGroup;
27
- protected calculateScaleX(): number;
28
- }
@@ -1,56 +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, OnInit, OnChanges, OnDestroy, Renderer2, TemplateRef } from '@angular/core';
6
- import { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { BaseSlotService } from './base-slot.service';
8
- import { Rect, ViewItem } from './types';
9
- import { FocusService } from '../../navigation';
10
- import { SVGIcon } from '@progress/kendo-svg-icons';
11
- import { IntlService } from '@progress/kendo-angular-intl';
12
- import * as i0 from "@angular/core";
13
- /**
14
- * @hidden
15
- */
16
- export declare class BaseViewItem implements OnInit, OnChanges, OnDestroy, ViewItem {
17
- protected slotService: BaseSlotService;
18
- protected localization: LocalizationService;
19
- protected focusService: FocusService;
20
- protected element: ElementRef;
21
- protected renderer: Renderer2;
22
- protected intl: IntlService;
23
- item: any;
24
- resourceIndex: number;
25
- rangeIndex: number;
26
- index: number;
27
- eventTemplate: TemplateRef<any>;
28
- editable: any;
29
- dragHint: boolean;
30
- resources: any[];
31
- className: boolean;
32
- get taskIndex(): string;
33
- get touchAction(): string;
34
- get eventTitle(): string;
35
- get deleteMessage(): string;
36
- get resizable(): boolean;
37
- get removable(): boolean;
38
- chevronLeftIcon: SVGIcon;
39
- chevronRightIcon: SVGIcon;
40
- rect: Rect;
41
- private subs;
42
- constructor(slotService: BaseSlotService, localization: LocalizationService, focusService: FocusService, element: ElementRef, renderer: Renderer2, intl: IntlService);
43
- get isRecurrence(): boolean;
44
- get isRecurrenceException(): boolean;
45
- get nativeElement(): any;
46
- setStyles(styles: any): void;
47
- toggle(visible: boolean): void;
48
- reflow(): void;
49
- ngOnInit(): void;
50
- ngOnChanges(changes: any): void;
51
- ngOnDestroy(): void;
52
- get arrowIcons(): string[];
53
- get arrowSVGIcons(): SVGIcon[];
54
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseViewItem, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<BaseViewItem, never, never, { "item": { "alias": "item"; "required": false; }; "resourceIndex": { "alias": "resourceIndex"; "required": false; }; "rangeIndex": { "alias": "rangeIndex"; "required": false; }; "index": { "alias": "index"; "required": false; }; "eventTemplate": { "alias": "eventTemplate"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "dragHint": { "alias": "dragHint"; "required": false; }; "resources": { "alias": "resources"; "required": false; }; }, {}, never, never, true, never>;
56
- }
@@ -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
- /**
6
- * @hidden
7
- */
8
- export declare class ItemMap {
9
- count: number;
10
- items: any;
11
- get first(): any;
12
- get last(): any;
13
- addItem(index: number, item: any): void;
14
- removeItem(index: number, item: any): void;
15
- toArray(): any[];
16
- }
@@ -1,53 +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
- /**
6
- * @hidden
7
- */
8
- export interface SlotID {
9
- resourceIndex: number;
10
- rangeIndex: number;
11
- index: number;
12
- }
13
- /**
14
- * @hidden
15
- */
16
- export interface Rect {
17
- left: number;
18
- top: number;
19
- width: number;
20
- height: number;
21
- }
22
- /**
23
- * @hidden
24
- */
25
- export interface SlotDirective {
26
- start: Date;
27
- end: Date;
28
- rect: Rect;
29
- id: SlotID;
30
- key: string;
31
- invalidate(): void;
32
- }
33
- /**
34
- * @hidden
35
- */
36
- export interface ViewItem {
37
- item: any;
38
- index: number;
39
- rangeIndex: number;
40
- resourceIndex: number;
41
- rect: Rect;
42
- }
43
- /**
44
- * @hidden
45
- */
46
- export interface ResourceGroup {
47
- hasSlots: boolean;
48
- registerSlot(slot: SlotDirective): void;
49
- unregisterSlot(slot: SlotDirective): void;
50
- registerItem(component: ViewItem): void;
51
- unregisterItem(component: ViewItem, id: SlotID): void;
52
- cleanRanges(): void;
53
- }
@@ -1,103 +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, Subject } from 'rxjs';
6
- import { SlotDragStartEvent } from '../events/slot-drag-start-event';
7
- import { DateRange, SchedulerView } from '../types';
8
- import { ExtendedSlotRange, slotDragEventName, SlotRange } from '../types/slot-selection';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * A service for publishing the view state and actions to the Scheduler.
12
- */
13
- export declare class ViewStateService {
14
- /**
15
- * Represents a stream that publishes the visible date range for the current view to the Scheduler.
16
- */
17
- readonly dateRange: Observable<DateRange>;
18
- /**
19
- * Represents a stream that publishes changes to the selected date, which initiate from the view.
20
- */
21
- readonly nextDate: Observable<Date>;
22
- /**
23
- * Represents a stream for navigating from the current view to another view.
24
- */
25
- readonly navigate: Observable<any>;
26
- /**
27
- * Represents a stream that publishes events for navigation between views.
28
- */
29
- readonly viewEvent: Observable<any>;
30
- /**
31
- * Represents a stream that indicates when the view layout finishes.
32
- */
33
- readonly layoutEnd: Observable<any>;
34
- /**
35
- * Represents a stream that indicates when the view options change.
36
- */
37
- readonly optionsChange: Observable<any>;
38
- /**
39
- * Represents a stream that indicates when the user starts a new slot selection.
40
- */
41
- readonly slotSelectionStart: Observable<SlotRange>;
42
- /**
43
- * Represents a stream that indicates when the user drags over a different slot during selection.
44
- */
45
- readonly slotSelectionDrag: Observable<SlotRange>;
46
- /**
47
- * Represents a stream that indicates when the user finishes making a slot selection.
48
- */
49
- readonly slotSelectionEnd: Observable<SlotRange>;
50
- /**
51
- * @hidden
52
- */
53
- toggleWorkHours: Subject<any>;
54
- /**
55
- * @hidden
56
- */
57
- toolbarVisibilityByView: Map<SchedulerView, boolean>;
58
- private dateRangeSource;
59
- private nextDateSource;
60
- private navigateSource;
61
- private viewEventSource;
62
- private layoutEndSource;
63
- private optionsChangeSource;
64
- private slotSelectionStartSource;
65
- private slotSelectionStartDragSource;
66
- private slotSelectionStartEndSource;
67
- constructor();
68
- /**
69
- * Publishes the date that will be displayed by the Scheduler
70
- * typically as a result from processing a navigation action.
71
- */
72
- notifyNextDate(date: Date): void;
73
- /**
74
- * Publishes the visible date range of the view.
75
- * The view will calculate and set the new data range when
76
- * the selected date changes.
77
- */
78
- notifyDateRange(range: DateRange): void;
79
- /**
80
- * Notifies the Scheduler that the view has completed its layout.
81
- */
82
- notifyLayoutEnd(): void;
83
- /**
84
- * Navigates to another view.
85
- */
86
- navigateTo(args: any): void;
87
- /**
88
- * Notifies the Scheduler that the view options have been changed.
89
- */
90
- notifyOptionsChange(changes?: any): void;
91
- /**
92
- * Emits a DOM event to the Scheduler.
93
- */
94
- emitEvent(name: string | slotDragEventName, args?: any): void;
95
- /** @hidden */
96
- notifySlotSelectionStart(selection: SlotDragStartEvent): void;
97
- /** @hidden */
98
- notifySlotSelectionDrag(selection: ExtendedSlotRange): void;
99
- /** @hidden */
100
- notifySlotSelectionEnd(selection: ExtendedSlotRange): void;
101
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewStateService, never>;
102
- static ɵprov: i0.ɵɵInjectableDeclaration<ViewStateService>;
103
- }
@@ -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
- /**
7
- * @hidden
8
- */
9
- export declare const createTasks: (periodStart: Date, periodEnd: Date, items: ViewItem[], ranges: any[]) => any[];
10
- /**
11
- * @hidden
12
- */
13
- export declare const noop: (_: any) => void;
14
- /**
15
- * @hidden
16
- */
17
- export declare const yearEnd: (year: number) => Date;
18
- /**
19
- * @hidden
20
- */
21
- export declare const yearStart: (year: number) => Date;
@@ -1,79 +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 { AfterViewInit, ChangeDetectorRef, ElementRef, NgZone, Renderer2 } from '@angular/core';
6
- import { ScrollbarService } from '@progress/kendo-angular-common';
7
- import { ViewContextService } from '../view-context.service';
8
- import { ViewStateService } from '../view-state.service';
9
- import { IntlService } from '@progress/kendo-angular-intl';
10
- import { PDFService } from '../../pdf/pdf.service';
11
- import { LocalizationService } from '@progress/kendo-angular-l10n';
12
- import { DateRange, NavigationAction, ViewItem } from '../../types';
13
- import { TooltipDirective } from '@progress/kendo-angular-tooltip';
14
- import { SVGIcon } from '@progress/kendo-svg-icons';
15
- import { FocusService } from '../../navigation';
16
- import { BaseView } from '../common/base-view';
17
- import { MonthSlotService } from '../month/month-slot.service';
18
- import * as i0 from "@angular/core";
19
- /**
20
- * @hidden
21
- */
22
- export declare class YearViewInternalComponent extends BaseView implements AfterViewInit {
23
- localization: LocalizationService;
24
- focusService: FocusService;
25
- intl: IntlService;
26
- /**
27
- * Calculates the next or previous range to be displayed
28
- */
29
- newRange: (date: Date, direction?: 1 | -1) => Date;
30
- /**
31
- * Determines the displayed date range and formats the selected date
32
- */
33
- dateRangeFn: (date: Date) => DateRange;
34
- private calendar;
35
- tooltip: TooltipDirective;
36
- get arrowIcons(): string[];
37
- get arrowSVGIcons(): SVGIcon[];
38
- chevronLeftIcon: SVGIcon;
39
- chevronRightIcon: SVGIcon;
40
- eventsPerSelectedDay: any[];
41
- days: Date[];
42
- focusedDate: Date;
43
- private currentTd;
44
- private tds;
45
- private isTooltipClicked;
46
- constructor(localization: LocalizationService, focusService: FocusService, intl: IntlService, viewContext: ViewContextService, viewState: ViewStateService, zone: NgZone, renderer: Renderer2, pdfService: PDFService, element: ElementRef, slotService: MonthSlotService, scrollbarService: ScrollbarService, changeDetector: ChangeDetectorRef);
47
- ngAfterViewInit(): void;
48
- getSlotClass(date: any): string[];
49
- getEventClasses(item: any, resources: any, isAllDay?: boolean): any;
50
- onBlur(): void;
51
- getDate(element: ElementRef): Date;
52
- eventTitle(event: any): string;
53
- onClick(event: any): void;
54
- onMouseDown(): void;
55
- onKeydown(event: any): void;
56
- navigateToDay(date: Date): void;
57
- private eventsPerDay;
58
- private tasksPerDay;
59
- onValueChange(date: Date): void;
60
- hasEvent(date: Date): boolean;
61
- createPDFElement(): void;
62
- protected onSelectDate(date: Date): void;
63
- protected onAction(e: NavigationAction): void;
64
- protected createTasks(items: ViewItem[], dateRange: DateRange): any[];
65
- protected reflow(): void;
66
- protected dateRange(date?: Date): DateRange;
67
- protected onTasksChange(): void;
68
- protected slotByIndex: (slotIndex: string, _args?: any) => void;
69
- protected dragHintSize: (startSlot: any, _endSlot?: any) => void;
70
- protected dragRanges: (slot: any) => void;
71
- protected slotByPosition: (x: number, _y?: number, _container?: any) => any;
72
- private createDaySlots;
73
- private getLastDayOfMonth;
74
- cachedTds: any[];
75
- private updateTds;
76
- private convertNgClassBindings;
77
- static ɵfac: i0.ɵɵFactoryDeclaration<YearViewInternalComponent, never>;
78
- static ɵcmp: i0.ɵɵComponentDeclaration<YearViewInternalComponent, "year-view-internal", never, { "newRange": { "alias": "newRange"; "required": false; }; "dateRangeFn": { "alias": "dateRangeFn"; "required": false; }; }, {}, never, never, true, never>;
79
- }
@@ -1,67 +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 { DateRange, OngoingEventsSettings } from '../../types';
8
- import { ViewContextService } from '../view-context.service';
9
- import { ViewStateService } from '../view-state.service';
10
- import { ConfigurationViewBase } from '../common/configuration-view-base';
11
- import { IntlService } from '@progress/kendo-angular-intl';
12
- import { Day } from '@progress/kendo-date-math';
13
- import * as i0 from "@angular/core";
14
- /**
15
- * Represents the component that renders the **Year** view in the Scheduler.
16
- *
17
- * @example
18
- * ```html
19
- * <kendo-scheduler>
20
- * <kendo-scheduler-year-view></kendo-scheduler-year-view>
21
- * </kendo-scheduler>
22
- * ```
23
- */
24
- export declare class YearViewComponent extends ConfigurationViewBase {
25
- private intl;
26
- /**
27
- * Sets the long-date format for the selected year 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
- * @default '{0:yyy}'
30
- */
31
- selectedDateFormat: string;
32
- /**
33
- * Sets the short-date format for the selected year in the Scheduler toolbar.
34
- * 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).
35
- * @default '{0:yyy}'
36
- */
37
- selectedShortDateFormat: string;
38
- /**
39
- * @hidden
40
- */
41
- get title(): string;
42
- /**
43
- * @hidden
44
- */
45
- highlightOngoingEvents: boolean | OngoingEventsSettings;
46
- /**
47
- * The invariant name for this view.
48
- * @default 'year'
49
- */
50
- readonly name: string;
51
- /**
52
- * @hidden
53
- * Used to override the hiddenDays as this options is not applicable for Year view.
54
- */
55
- set hiddenDays(_hiddenDays: Day[]);
56
- constructor(localization: LocalizationService, changeDetector: ChangeDetectorRef, viewContext: ViewContextService, viewState: ViewStateService, intl: IntlService);
57
- /**
58
- * @hidden
59
- */
60
- dateRange(date: Date): DateRange;
61
- /**
62
- * @hidden
63
- */
64
- newRange(date: Date, direction?: 1 | -1): Date;
65
- static ɵfac: i0.ɵɵFactoryDeclaration<YearViewComponent, never>;
66
- static ɵcmp: i0.ɵɵComponentDeclaration<YearViewComponent, "kendo-scheduler-year-view", never, { "selectedDateFormat": { "alias": "selectedDateFormat"; "required": false; }; "selectedShortDateFormat": { "alias": "selectedShortDateFormat"; "required": false; }; "highlightOngoingEvents": { "alias": "highlightOngoingEvents"; "required": false; }; }, {}, never, never, true, never>;
67
- }