@progress/kendo-angular-gantt 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 (123) hide show
  1. package/fesm2022/progress-kendo-angular-gantt.mjs +199 -199
  2. package/index.d.ts +3876 -41
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +22 -22
  5. package/schematics/ngAdd/index.js +7 -7
  6. package/binding-directives/flat-binding.directive.d.ts +0 -36
  7. package/binding-directives/hierarchy-binding.directive.d.ts +0 -35
  8. package/columns/cell-template.directive.d.ts +0 -36
  9. package/columns/column-base.component.d.ts +0 -14
  10. package/columns/column-group.component.d.ts +0 -39
  11. package/columns/column-menu-template.directive.d.ts +0 -29
  12. package/columns/column.component.d.ts +0 -62
  13. package/columns/columns.d.ts +0 -15
  14. package/columns/edit-template.directive.d.ts +0 -35
  15. package/columns/filter-cell-template.directive.d.ts +0 -21
  16. package/columns/filter-menu-template.directive.d.ts +0 -30
  17. package/columns/footer-template.directive.d.ts +0 -33
  18. package/columns/header-template.directive.d.ts +0 -32
  19. package/columns/span-column.component.d.ts +0 -41
  20. package/common/default-callbacks.d.ts +0 -25
  21. package/common/mapping.service.d.ts +0 -38
  22. package/common/option-changes.service.d.ts +0 -19
  23. package/dependencies/dependency-dom.service.d.ts +0 -46
  24. package/dependencies/dom-dependency-args.d.ts +0 -24
  25. package/dependencies/gantt-dependency.directive.d.ts +0 -29
  26. package/dependencies/utils.d.ts +0 -53
  27. package/directives.d.ts +0 -32
  28. package/dragging/dependency-drag-create.directive.d.ts +0 -82
  29. package/dragging/drag-validation-tooltip.component.d.ts +0 -32
  30. package/dragging/task-drag.directive.d.ts +0 -42
  31. package/dragging/task-drag.service.d.ts +0 -49
  32. package/editing/add-task.component.d.ts +0 -53
  33. package/editing/dependencies-table.component.d.ts +0 -45
  34. package/editing/edit-dialog.component.d.ts +0 -37
  35. package/editing/edit.service.d.ts +0 -44
  36. package/editing/task-fields.component.d.ts +0 -25
  37. package/editing/utils.d.ts +0 -10
  38. package/expanded-state/expand-event.d.ts +0 -16
  39. package/expanded-state/expandable.directive.d.ts +0 -26
  40. package/gantt.component.d.ts +0 -769
  41. package/gantt.module.d.ts +0 -60
  42. package/localization/custom-messages.component.d.ts +0 -26
  43. package/localization/gantt-localization.service.d.ts +0 -18
  44. package/localization/localized-messages.directive.d.ts +0 -16
  45. package/localization/messages.d.ts +0 -304
  46. package/models/cell-content-type.interface.d.ts +0 -11
  47. package/models/class-callbacks.d.ts +0 -43
  48. package/models/column-menu-settings.interface.d.ts +0 -26
  49. package/models/column-reorder-config.d.ts +0 -13
  50. package/models/current-time-settings.interface.d.ts +0 -22
  51. package/models/date-range.interface.d.ts +0 -19
  52. package/models/dependency-type.enum.d.ts +0 -31
  53. package/models/events/cell-click-event.interface.d.ts +0 -43
  54. package/models/events/cell-close-event.interface.d.ts +0 -43
  55. package/models/events/click-event.interface.d.ts +0 -23
  56. package/models/events/column-locked-change-event.interface.d.ts +0 -16
  57. package/models/events/column-reorder-event.interface.d.ts +0 -10
  58. package/models/events/column-resize-event.interface.d.ts +0 -10
  59. package/models/events/column-visibility-change-event.interface.d.ts +0 -14
  60. package/models/events/data-state-change-event.interface.d.ts +0 -10
  61. package/models/events/dependency-add-event.interface.d.ts +0 -26
  62. package/models/events/index.d.ts +0 -21
  63. package/models/events/selected-view-change-event.interface.d.ts +0 -19
  64. package/models/events/task-add-event.interface.d.ts +0 -31
  65. package/models/events/task-click-event.interface.d.ts +0 -30
  66. package/models/events/task-delete-event.interface.d.ts +0 -20
  67. package/models/events/task-drag-event.interface.d.ts +0 -65
  68. package/models/events/task-edit-event.interface.d.ts +0 -74
  69. package/models/filterable-settings.d.ts +0 -10
  70. package/models/gantt-dependency-model-fields.interface.d.ts +0 -36
  71. package/models/gantt-dependency.interface.d.ts +0 -29
  72. package/models/gantt-task-model-fields.interface.d.ts +0 -51
  73. package/models/gantt-task.interface.d.ts +0 -34
  74. package/models/models.d.ts +0 -23
  75. package/models/slot.interface.d.ts +0 -37
  76. package/models/sort-settings.d.ts +0 -42
  77. package/models/splitter-pane-options.interface.d.ts +0 -54
  78. package/models/timeline-header-date-format.d.ts +0 -19
  79. package/models/timeline-options.interface.d.ts +0 -46
  80. package/models/timeline-view.d.ts +0 -8
  81. package/models/toolbar-settings.d.ts +0 -28
  82. package/models/tooltip-options.interface.d.ts +0 -28
  83. package/models/view-item.interface.d.ts +0 -35
  84. package/navigation/navigation-models.d.ts +0 -38
  85. package/navigation/navigation.service.d.ts +0 -143
  86. package/navigation/utils.d.ts +0 -26
  87. package/package-metadata.d.ts +0 -9
  88. package/rendering/gantt-header-table-body.component.d.ts +0 -16
  89. package/rendering/gantt-milestone-task.component.d.ts +0 -22
  90. package/rendering/gantt-summary-task.component.d.ts +0 -25
  91. package/rendering/gantt-task-base.d.ts +0 -66
  92. package/rendering/gantt-task.component.d.ts +0 -29
  93. package/rendering/gantt-tasks-table-body.component.d.ts +0 -38
  94. package/scrolling/drag-scroll-settings.d.ts +0 -47
  95. package/scrolling/scroll-sync.service.d.ts +0 -33
  96. package/scrolling/timeline-scroll.directive.d.ts +0 -27
  97. package/scrolling/timeline-scroll.service.d.ts +0 -23
  98. package/scrolling/utils.d.ts +0 -29
  99. package/selection/selectable.directive.d.ts +0 -53
  100. package/selection/selection-change-event.d.ts +0 -24
  101. package/template-directives/summary-task-template.directive.d.ts +0 -32
  102. package/template-directives/task-content-template.directive.d.ts +0 -35
  103. package/template-directives/task-drag-tooltip-template.directive.d.ts +0 -36
  104. package/template-directives/task-template.directive.d.ts +0 -30
  105. package/template-directives/task-tooltip-template.directive.d.ts +0 -37
  106. package/timeline/current-time-marker.service.d.ts +0 -36
  107. package/timeline/gantt-timeline.component.d.ts +0 -101
  108. package/timeline/timeline-base-view.service.d.ts +0 -82
  109. package/timeline/timeline-day-view.component.d.ts +0 -26
  110. package/timeline/timeline-day-view.service.d.ts +0 -45
  111. package/timeline/timeline-month-view.component.d.ts +0 -26
  112. package/timeline/timeline-month-view.service.d.ts +0 -43
  113. package/timeline/timeline-view.service.d.ts +0 -19
  114. package/timeline/timeline-week-view.component.d.ts +0 -26
  115. package/timeline/timeline-week-view.service.d.ts +0 -43
  116. package/timeline/timeline-year-view.component.d.ts +0 -26
  117. package/timeline/timeline-year-view.service.d.ts +0 -36
  118. package/timeline/view-base.d.ts +0 -53
  119. package/toolbar/toolbar-navigation.service.d.ts +0 -18
  120. package/toolbar/toolbar-template.directive.d.ts +0 -39
  121. package/toolbar/toolbar.component.d.ts +0 -39
  122. package/toolbar/view-selector.component.d.ts +0 -55
  123. package/utils.d.ts +0 -173
@@ -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 { DateFormatOptions, IntlService } from '@progress/kendo-angular-intl';
6
- import { MappingService } from '../common/mapping.service';
7
- import { TimelineOptions } from '../models/timeline-options.interface';
8
- import { DateRange } from '../models/date-range.interface';
9
- import { Slot } from '../models/slot.interface';
10
- /**
11
- * @hidden
12
- */
13
- export declare const DAY_FORMAT = "E d/MM";
14
- /**
15
- * @hidden
16
- */
17
- export declare const HOUR_FORMAT = "HH:mm aa";
18
- /**
19
- * @hidden
20
- */
21
- export declare const MONTH_FORMAT = "MMM";
22
- /**
23
- * @hidden
24
- */
25
- export declare const YEAR_FORMAT = "yyyy";
26
- /**
27
- * @hidden
28
- */
29
- export declare abstract class TimelineBaseViewService {
30
- protected intlService: IntlService;
31
- protected mapper: MappingService;
32
- options: TimelineOptions;
33
- protected _viewStart: number;
34
- constructor(intlService: IntlService, mapper: MappingService);
35
- get viewStart(): number;
36
- /**
37
- *
38
- * @param tasks - The tasks which are going to be rendered in the table
39
- * @returns {number}
40
- */
41
- abstract getSlots(tasks: any[]): Array<Slot[]>;
42
- /**
43
- *
44
- * @param tasks - The tasks which are going to be rendered in the table
45
- * @returns {Array<Object>} - A collection containing the day and hours slots
46
- * Used to render the number of columns and the header
47
- */
48
- abstract getTableWidth(tasks: any[]): number;
49
- /**
50
- * Gets the date which will be used for the first slot.
51
- * The first slot should not be the range start - it might not leave space for dependency connections drawn on the left.
52
- */
53
- abstract getStartOffset(rangeStart: Date): Date;
54
- /**
55
- * Gets the date which will be used for the last slot.
56
- * The last slot should not be the range end - it might not leave space for dependency connections drawn on the right.
57
- */
58
- abstract getEndOffset(rangeEnd: Date): Date;
59
- /**
60
- *
61
- * @param tasks - The tasks which are going to be rendered in the table
62
- * @returns {Object} - An object containing the range start and end dates
63
- */
64
- protected getRange(tasks: any): DateRange;
65
- /**
66
- *
67
- * @param start - The tasks' range start date
68
- * @param end - The tasks' range end date
69
- * @returns {Array<Object>} - A collection containing the hour slots
70
- */
71
- protected getHours(start: any, end: any, customDateFormat?: string | DateFormatOptions): Array<Slot>;
72
- /**
73
- *
74
- * @param start - The tasks' range start date
75
- * @param end - The tasks' range end date
76
- * @returns {Array<Object>} - A collection containing the day slots
77
- */
78
- protected getDays(start: any, end: any, customDateFormat?: string | DateFormatOptions): Array<Slot>;
79
- protected getWeeks(start: any, end: any, customDateFormat?: string | DateFormatOptions): Array<Slot>;
80
- protected getMonths(start: any, end: any, isMainViewType?: boolean, customDateFormat?: string | DateFormatOptions): Array<Slot>;
81
- protected getYears(start: any, end: any, customDateFormat?: any): Array<Slot>;
82
- }
@@ -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 { DependencyDomService } from '../dependencies/dependency-dom.service';
6
- import { TimelineViewType } from '../models/timeline-view';
7
- import { ViewBase } from './view-base';
8
- import { OptionChangesService } from '../common/option-changes.service';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Represents the Gantt timeline day view component.
12
- *
13
- * @example
14
- * ```html
15
- * <kendo-gantt-timeline-day-view></kendo-gantt-timeline-day-view>
16
- * ```
17
- */
18
- export declare class TimelineDayViewComponent extends ViewBase {
19
- /**
20
- * Specifies the type for this view (`day`).
21
- */
22
- readonly type: TimelineViewType;
23
- constructor(optionChangesService: OptionChangesService, dependencyDomService: DependencyDomService);
24
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineDayViewComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<TimelineDayViewComponent, "kendo-gantt-timeline-day-view", never, {}, {}, never, never, true, never>;
26
- }
@@ -1,45 +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 { IntlService } from '@progress/kendo-angular-intl';
6
- import { TimelineBaseViewService } from './timeline-base-view.service';
7
- import { MappingService } from '../common/mapping.service';
8
- import { DateRange } from '../models/date-range.interface';
9
- import { Slot } from '../models/slot.interface';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * @hidden
13
- */
14
- export declare class TimelineDayViewService extends TimelineBaseViewService {
15
- constructor(intlService: IntlService, mapper: MappingService);
16
- /**
17
- * Ensures a full day is visible when data is empty.
18
- */
19
- protected getRange(tasks: any): DateRange;
20
- /**
21
- * Gets a date an hour before the first task start with minutes, seconds, milliseconds cleared.
22
- */
23
- getStartOffset(rangeStart: Date): Date;
24
- /**
25
- * Gets a date an hour after the last task end with minutes, seconds, milliseconds cleared.
26
- * When the end falls in the last hour of the day (23:xx), caps at end of day
27
- * to prevent adding an empty next-day slot that causes header misalignment.
28
- */
29
- getEndOffset(rangeEnd: Date): Date;
30
- /**
31
- *
32
- * @param tasks - The tasks which are going to be rendered in the table
33
- * @returns {number}
34
- */
35
- getTableWidth(tasks: any[]): number;
36
- /**
37
- *
38
- * @param tasks - The tasks which are going to be rendered in the table
39
- * @returns {Array<Object>} - A collection containing the day and hours slots
40
- * Used to render the number of columns and the header
41
- */
42
- getSlots(tasks: any[]): Array<Slot[]>;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineDayViewService, never>;
44
- static ɵprov: i0.ɵɵInjectableDeclaration<TimelineDayViewService>;
45
- }
@@ -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 { DependencyDomService } from '../dependencies/dependency-dom.service';
6
- import { TimelineViewType } from '../models/timeline-view';
7
- import { ViewBase } from './view-base';
8
- import { OptionChangesService } from '../common/option-changes.service';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Represents the Gantt timeline month view component.
12
- *
13
- * @example
14
- * ```html
15
- * <kendo-gantt-timeline-month-view></kendo-gantt-timeline-month-view>
16
- * ```
17
- */
18
- export declare class TimelineMonthViewComponent extends ViewBase {
19
- /**
20
- * Specifies the type for this view (`month`).
21
- */
22
- readonly type: TimelineViewType;
23
- constructor(optionChangesService: OptionChangesService, dependencyDomService: DependencyDomService);
24
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineMonthViewComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<TimelineMonthViewComponent, "kendo-gantt-timeline-month-view", never, {}, {}, never, never, true, never>;
26
- }
@@ -1,43 +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 { IntlService } from '@progress/kendo-angular-intl';
6
- import { MappingService } from '../common/mapping.service';
7
- import { TimelineBaseViewService } from './timeline-base-view.service';
8
- import { DateRange } from '../models/date-range.interface';
9
- import { Slot } from '../models/slot.interface';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * @hidden
13
- */
14
- export declare class TimelineMonthViewService extends TimelineBaseViewService {
15
- constructor(intlService: IntlService, mapper: MappingService);
16
- /**
17
- * Ensures a full month is visible when data is empty.
18
- */
19
- protected getRange(tasks: any): DateRange;
20
- /**
21
- * Gets a week before the first week in which a task starts.
22
- */
23
- getStartOffset(rangeStart: Date): Date;
24
- /**
25
- * Gets a week after the last week in which a task ends.
26
- */
27
- getEndOffset(rangeEnd: Date): Date;
28
- /**
29
- *
30
- * @param tasks - The tasks which are going to be rendered in the table
31
- * @returns {number}
32
- */
33
- getTableWidth(tasks: any[]): number;
34
- /**
35
- *
36
- * @param tasks - The tasks which are going to be rendered in the table
37
- * @returns {Array<Object>} - A collection containing the months and weeks slots
38
- * Used to render the number of columns and the header
39
- */
40
- getSlots(tasks: any[]): Array<Slot[]>;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineMonthViewService, never>;
42
- static ɵprov: i0.ɵɵInjectableDeclaration<TimelineMonthViewService>;
43
- }
@@ -1,19 +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, Injector } from '@angular/core';
6
- import { TimelineViewType } from '../models/models';
7
- import { TimelineBaseViewService } from './timeline-base-view.service';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * @hidden
11
- */
12
- export declare class TimelineViewService {
13
- private injector;
14
- viewChange: EventEmitter<any>;
15
- constructor(injector: Injector);
16
- service(view: TimelineViewType): TimelineBaseViewService;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineViewService, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<TimelineViewService>;
19
- }
@@ -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 { DependencyDomService } from '../dependencies/dependency-dom.service';
6
- import { TimelineViewType } from '../models/timeline-view';
7
- import { ViewBase } from './view-base';
8
- import { OptionChangesService } from '../common/option-changes.service';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Represents the Gantt timeline week view component.
12
- *
13
- * @example
14
- * ```html
15
- * <kendo-gantt-timeline-week-view></kendo-gantt-timeline-week-view>
16
- * ```
17
- */
18
- export declare class TimelineWeekViewComponent extends ViewBase {
19
- /**
20
- * Specifies the type for this view (`week`).
21
- */
22
- readonly type: TimelineViewType;
23
- constructor(optionChangesService: OptionChangesService, dependencyDomService: DependencyDomService);
24
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineWeekViewComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<TimelineWeekViewComponent, "kendo-gantt-timeline-week-view", never, {}, {}, never, never, true, never>;
26
- }
@@ -1,43 +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 { IntlService } from '@progress/kendo-angular-intl';
6
- import { MappingService } from '../common/mapping.service';
7
- import { TimelineBaseViewService } from './timeline-base-view.service';
8
- import { DateRange } from '../models/date-range.interface';
9
- import { Slot } from '../models/slot.interface';
10
- import * as i0 from "@angular/core";
11
- /**
12
- * @hidden
13
- */
14
- export declare class TimelineWeekViewService extends TimelineBaseViewService {
15
- constructor(intlService: IntlService, mapper: MappingService);
16
- /**
17
- * Ensures at least a full week is visible when data is empty.
18
- */
19
- protected getRange(tasks: any): DateRange;
20
- /**
21
- * Gets a date a day before the first task start with hours, minutes, seconds, milliseconds cleared.
22
- */
23
- getStartOffset(rangeStart: Date): Date;
24
- /**
25
- * Gets a date a day after the last task start with hours, minutes, seconds, milliseconds cleared.
26
- */
27
- getEndOffset(rangeEnd: Date): Date;
28
- /**
29
- *
30
- * @param tasks - The tasks which are going to be rendered in the table
31
- * @returns {number}
32
- */
33
- getTableWidth(tasks: any[]): number;
34
- /**
35
- *
36
- * @param tasks - The tasks which are going to be rendered in the table
37
- * @returns {Array<Object>} - A collection containing the day and hours slots
38
- * Used to render the number of columns and the header
39
- */
40
- getSlots(tasks: any[]): Array<Slot[]>;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineWeekViewService, never>;
42
- static ɵprov: i0.ɵɵInjectableDeclaration<TimelineWeekViewService>;
43
- }
@@ -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 { DependencyDomService } from '../dependencies/dependency-dom.service';
6
- import { TimelineViewType } from '../models/timeline-view';
7
- import { ViewBase } from './view-base';
8
- import { OptionChangesService } from '../common/option-changes.service';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * Represents the Gantt timeline year view component.
12
- *
13
- * @example
14
- * ```html
15
- * <kendo-gantt-timeline-year-view></kendo-gantt-timeline-year-view>
16
- * ```
17
- */
18
- export declare class TimelineYearViewComponent extends ViewBase {
19
- /**
20
- * Specifies the type for this view (`year`).
21
- */
22
- readonly type: TimelineViewType;
23
- constructor(optionChangesService: OptionChangesService, dependencyDomService: DependencyDomService);
24
- static ɵfac: i0.ɵɵFactoryDeclaration<TimelineYearViewComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<TimelineYearViewComponent, "kendo-gantt-timeline-year-view", never, {}, {}, never, never, true, never>;
26
- }
@@ -1,36 +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 { IntlService } from "@progress/kendo-angular-intl";
6
- import { MappingService } from "../common/mapping.service";
7
- import { DateRange } from "../models/date-range.interface";
8
- import { Slot } from "../models/slot.interface";
9
- import { TimelineBaseViewService } from "./timeline-base-view.service";
10
- import * as i0 from "@angular/core";
11
- /**
12
- * @hidden
13
- */
14
- export declare class TimeLineYearViewService extends TimelineBaseViewService {
15
- constructor(intlService: IntlService, mapper: MappingService);
16
- getTableWidth(tasks: any[]): number;
17
- /**
18
- * Ensures a full year is visible when data is empty.
19
- */
20
- protected getRange(tasks: any): DateRange;
21
- getStartOffset(rangeStart: Date): Date;
22
- /**
23
- *
24
- */
25
- getEndOffset(rangeEnd: Date): Date;
26
- /**
27
- *
28
- * @param tasks - The tasks which are going to be rendered in the table
29
- * @returns {Array<Object>} - A collection containing the years and months slots
30
- *
31
- * Used to render the number of columns and the header
32
- */
33
- getSlots(tasks: any[]): Array<Slot[]>;
34
- static ɵfac: i0.ɵɵFactoryDeclaration<TimeLineYearViewService, never>;
35
- static ɵprov: i0.ɵɵInjectableDeclaration<TimeLineYearViewService>;
36
- }
@@ -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
- import { OnChanges, SimpleChanges } from '@angular/core';
6
- import { DependencyDomService } from '../dependencies/dependency-dom.service';
7
- import { TimelineViewType } from '../models/timeline-view';
8
- import { OptionChangesService } from '../common/option-changes.service';
9
- import { TimelineHeaderDateFormat } from '../models/timeline-header-date-format';
10
- import { CurrentTimeSettings } from '../models/current-time-settings.interface';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * Serves as the base class for the timeline view components of the Gantt.
14
- *
15
- * @example
16
- * ```typescript
17
- * export class CustomTimelineViewComponent extends ViewBase {
18
- * public readonly type: TimelineViewType = 'custom';
19
- * }
20
- * ```
21
- */
22
- export declare abstract class ViewBase implements OnChanges {
23
- private optionChangesService;
24
- private dependencyDomService;
25
- /**
26
- * Sets the width of the time slot headers in pixels.
27
- *
28
- * @default 100
29
- */
30
- slotWidth: number;
31
- /**
32
- * Sets the date format for the Grouped and Column headers.
33
- */
34
- timelineHeadersDateFormat: TimelineHeaderDateFormat;
35
- /**
36
- * Specifies the current time marker settings.
37
- * If you do not set a value, the component uses the value from the Gantt component
38
- * [`currentTimeMarker`](https://www.telerik.com/kendo-angular-ui/components/gantt/api/ganttcomponent#currentTimeMarker) property.
39
- */
40
- currentTimeMarker: boolean | CurrentTimeSettings;
41
- /**
42
- * Specifies the type for the view (`day`, `week`, `month`, or `year`).
43
- */
44
- abstract type: TimelineViewType;
45
- /**
46
- *
47
- * @hidden
48
- */
49
- constructor(optionChangesService: OptionChangesService, dependencyDomService: DependencyDomService);
50
- ngOnChanges(changes: SimpleChanges): void;
51
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewBase, never>;
52
- static ɵdir: i0.ɵɵDirectiveDeclaration<ViewBase, "kendo-gantt-view-base", never, { "slotWidth": { "alias": "slotWidth"; "required": false; }; "timelineHeadersDateFormat": { "alias": "timelineHeadersDateFormat"; "required": false; }; "currentTimeMarker": { "alias": "currentTimeMarker"; "required": false; }; }, {}, never, never, true, never>;
53
- }
@@ -1,18 +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 { Renderer2 } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export declare class ToolbarNavigationService {
11
- private renderer;
12
- focusableContent: any[];
13
- focusIndex: number;
14
- constructor(renderer: Renderer2);
15
- updateFocus(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarNavigationService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<ToolbarNavigationService>;
18
- }
@@ -1,39 +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 { ToolbarPosition } from '../models/toolbar-settings';
6
- import { TemplateRef } from '@angular/core';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * Represents the toolbar template of the Gantt.
10
- *
11
- * The template context includes:
12
- * - `position`&mdash;The position where the toolbar template renders. Possible values are `'top'` and `'bottom'`.
13
- *
14
- * @example
15
- * ```html
16
- * <kendo-gantt [kendoGanttHierarchyBinding]="data" [style.height.px]="400">
17
- * <ng-template kendoGanttToolbarTemplate [position]="position" let-position="position">
18
- * <button kendoButton (click)="onClick()">Custom action</button>
19
- * </ng-template>
20
- * </kendo-gantt>
21
- * ```
22
- */
23
- export declare class ToolbarTemplateDirective {
24
- templateRef: TemplateRef<any>;
25
- _position: ToolbarPosition;
26
- /**
27
- * Sets the Gantt Toolbar that uses this template.
28
- *
29
- * Possible values:
30
- * - `top`&mdash;Renders the template in the top toolbar (if present) only.
31
- * - `bottom`&mdash;Renders the template in the bottom toolbar (if present) only.
32
- * - `both`&mdash;Renders the template in both toolbars (if present).
33
- */
34
- set position(position: ToolbarPosition);
35
- get position(): ToolbarPosition;
36
- constructor(templateRef: TemplateRef<any>);
37
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarTemplateDirective, [{ optional: true; }]>;
38
- static ɵdir: i0.ɵɵDirectiveDeclaration<ToolbarTemplateDirective, "[kendoGanttToolbarTemplate]", never, { "position": { "alias": "position"; "required": false; }; }, {}, never, never, true, never>;
39
- }
@@ -1,39 +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 { ToolbarTemplateDirective } from './toolbar-template.directive';
6
- import { TemplateRef, EventEmitter, ElementRef } from '@angular/core';
7
- import { TimelineViewType } from './../models/timeline-view';
8
- import { ToolbarNavigationService } from './toolbar-navigation.service';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * @hidden
12
- */
13
- export declare class ToolbarComponent {
14
- private hostEl;
15
- private navigationService;
16
- context: any;
17
- role: string;
18
- hostClasses: boolean;
19
- clickHandler(ev: MouseEvent): void;
20
- arrowLeftListener(): void;
21
- arrowRightListener(): void;
22
- activeViewChange: EventEmitter<TimelineViewType>;
23
- showAddTask: boolean;
24
- showViewSelector: boolean;
25
- views: TimelineViewType[];
26
- activeView: TimelineViewType;
27
- toolbarTemplate: ToolbarTemplateDirective;
28
- navigable: boolean;
29
- set position(value: 'top' | 'bottom');
30
- get position(): 'top' | 'bottom';
31
- get toolbarTemplateRef(): TemplateRef<any>;
32
- get renderTemplate(): boolean;
33
- private _position;
34
- constructor(hostEl: ElementRef, navigationService: ToolbarNavigationService);
35
- handleViewChange(view: TimelineViewType): void;
36
- ngAfterViewInit(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<ToolbarComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<ToolbarComponent, "kendo-gantt-toolbar", never, { "showAddTask": { "alias": "showAddTask"; "required": false; }; "showViewSelector": { "alias": "showViewSelector"; "required": false; }; "views": { "alias": "views"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "toolbarTemplate": { "alias": "toolbarTemplate"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "position": { "alias": "position"; "required": false; }; }, { "activeViewChange": "activeViewChange"; }, never, never, true, never>;
39
- }
@@ -1,55 +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 { LocalizationService } from '@progress/kendo-angular-l10n';
7
- import { TimelineViewType } from './../models/timeline-view';
8
- import { SegmentedItemSettings } from '@progress/kendo-angular-buttons';
9
- import * as i0 from "@angular/core";
10
- /**
11
- * The Gantt ViewSelector component. Shows the current view type and lets you switch to another view type.
12
- */
13
- export declare class ViewSelectorComponent {
14
- private localizationService;
15
- hostClass: boolean;
16
- /**
17
- * Lists the timeline view types in the current Gantt configuration.
18
- */
19
- set views(value: TimelineViewType[]);
20
- get views(): TimelineViewType[];
21
- /**
22
- * Sets the current view type.
23
- * @default 'week'
24
- */
25
- activeView: TimelineViewType;
26
- /**
27
- * Fires when the user selects a different view type. The event data contains the type of the new view.
28
- */
29
- activeViewChange: EventEmitter<TimelineViewType>;
30
- /**
31
- * @hidden
32
- */
33
- segmentedItems: SegmentedItemSettings[];
34
- private _views;
35
- constructor(localizationService: LocalizationService);
36
- /**
37
- * @hidden
38
- */
39
- get selectedIndex(): number;
40
- /**
41
- * @hidden
42
- */
43
- onSelectedChange(index: number): void;
44
- /**
45
- * @hidden
46
- */
47
- getViewTypeText(viewType: TimelineViewType): string;
48
- /**
49
- * @hidden
50
- */
51
- onActiveViewChange(event: Event): void;
52
- private updateSegmentedItems;
53
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewSelectorComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<ViewSelectorComponent, "kendo-gantt-view-selector", never, { "views": { "alias": "views"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; }, { "activeViewChange": "activeViewChange"; }, never, never, true, never>;
55
- }