@progress/kendo-angular-gantt 16.5.0 → 16.6.0-develop.10

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 (96) hide show
  1. package/NOTICE.txt +12 -19
  2. package/binding-directives/flat-binding.directive.d.ts +1 -1
  3. package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
  4. package/columns/cell-template.directive.d.ts +1 -1
  5. package/columns/column-group.component.d.ts +1 -1
  6. package/columns/column-menu-template.directive.d.ts +1 -1
  7. package/columns/column.component.d.ts +1 -1
  8. package/columns/edit-template.directive.d.ts +1 -1
  9. package/columns/filter-cell-template.directive.d.ts +1 -1
  10. package/columns/filter-menu-template.directive.d.ts +1 -1
  11. package/columns/footer-template.directive.d.ts +1 -1
  12. package/columns/header-template.directive.d.ts +1 -1
  13. package/columns/span-column.component.d.ts +1 -1
  14. package/dependencies/gantt-dependency.directive.d.ts +1 -1
  15. package/directives.d.ts +29 -0
  16. package/dragging/dependency-drag-create.directive.d.ts +1 -1
  17. package/dragging/drag-validation-tooltip.component.d.ts +1 -1
  18. package/editing/add-task.component.d.ts +1 -1
  19. package/editing/dependencies-table.component.d.ts +1 -1
  20. package/editing/edit-dialog.component.d.ts +1 -1
  21. package/editing/task-fields.component.d.ts +1 -1
  22. package/esm2020/binding-directives/flat-binding.directive.mjs +3 -2
  23. package/esm2020/binding-directives/hierarchy-binding.directive.mjs +3 -2
  24. package/esm2020/columns/cell-template.directive.mjs +3 -2
  25. package/esm2020/columns/column-group.component.mjs +3 -2
  26. package/esm2020/columns/column-menu-template.directive.mjs +3 -2
  27. package/esm2020/columns/column.component.mjs +3 -2
  28. package/esm2020/columns/edit-template.directive.mjs +3 -2
  29. package/esm2020/columns/filter-cell-template.directive.mjs +3 -2
  30. package/esm2020/columns/filter-menu-template.directive.mjs +3 -2
  31. package/esm2020/columns/footer-template.directive.mjs +3 -2
  32. package/esm2020/columns/header-template.directive.mjs +3 -2
  33. package/esm2020/columns/span-column.component.mjs +3 -2
  34. package/esm2020/dependencies/gantt-dependency.directive.mjs +3 -2
  35. package/esm2020/directives.mjs +57 -0
  36. package/esm2020/dragging/dependency-drag-create.directive.mjs +3 -2
  37. package/esm2020/dragging/drag-validation-tooltip.component.mjs +3 -2
  38. package/esm2020/editing/add-task.component.mjs +7 -5
  39. package/esm2020/editing/dependencies-table.component.mjs +9 -7
  40. package/esm2020/editing/edit-dialog.component.mjs +12 -10
  41. package/esm2020/editing/task-fields.component.mjs +12 -9
  42. package/esm2020/expanded-state/expandable.directive.mjs +3 -2
  43. package/esm2020/gantt.component.mjs +23 -16
  44. package/esm2020/gantt.module.mjs +90 -222
  45. package/esm2020/index.mjs +1 -0
  46. package/esm2020/localization/custom-messages.component.mjs +3 -2
  47. package/esm2020/localization/localized-messages.directive.mjs +3 -2
  48. package/esm2020/package-metadata.mjs +2 -2
  49. package/esm2020/rendering/gantt-header-table-body.component.mjs +6 -4
  50. package/esm2020/rendering/gantt-milestone-task.component.mjs +12 -13
  51. package/esm2020/rendering/gantt-summary-task.component.mjs +12 -13
  52. package/esm2020/rendering/gantt-task.component.mjs +14 -15
  53. package/esm2020/rendering/gantt-tasks-table-body.component.mjs +9 -7
  54. package/esm2020/scrolling/timeline-scroll.directive.mjs +3 -2
  55. package/esm2020/selection/selectable.directive.mjs +3 -2
  56. package/esm2020/template-directives/summary-task-template.directive.mjs +3 -2
  57. package/esm2020/template-directives/task-content-template.directive.mjs +3 -2
  58. package/esm2020/template-directives/task-template.directive.mjs +3 -2
  59. package/esm2020/timeline/gantt-timeline.component.mjs +12 -10
  60. package/esm2020/timeline/timeline-day-view.component.mjs +3 -2
  61. package/esm2020/timeline/timeline-month-view.component.mjs +3 -2
  62. package/esm2020/timeline/timeline-week-view.component.mjs +3 -2
  63. package/esm2020/timeline/timeline-year-view.component.mjs +3 -2
  64. package/esm2020/toolbar/toolbar-template.directive.mjs +3 -2
  65. package/esm2020/toolbar/toolbar.component.mjs +8 -6
  66. package/esm2020/toolbar/view-selector.component.mjs +9 -6
  67. package/expanded-state/expandable.directive.d.ts +1 -1
  68. package/fesm2015/progress-kendo-angular-gantt.mjs +1812 -1867
  69. package/fesm2020/progress-kendo-angular-gantt.mjs +1963 -2012
  70. package/gantt.component.d.ts +1 -1
  71. package/gantt.module.d.ts +25 -54
  72. package/index.d.ts +1 -0
  73. package/localization/custom-messages.component.d.ts +1 -1
  74. package/localization/localized-messages.directive.d.ts +1 -1
  75. package/package.json +15 -15
  76. package/rendering/gantt-header-table-body.component.d.ts +1 -1
  77. package/rendering/gantt-milestone-task.component.d.ts +3 -3
  78. package/rendering/gantt-summary-task.component.d.ts +3 -3
  79. package/rendering/gantt-task.component.d.ts +3 -3
  80. package/rendering/gantt-tasks-table-body.component.d.ts +1 -1
  81. package/schematics/ngAdd/index.js +7 -7
  82. package/scrolling/timeline-scroll.directive.d.ts +1 -1
  83. package/selection/selectable.directive.d.ts +1 -1
  84. package/template-directives/summary-task-template.directive.d.ts +1 -1
  85. package/template-directives/task-content-template.directive.d.ts +1 -1
  86. package/template-directives/task-template.directive.d.ts +1 -1
  87. package/timeline/gantt-timeline.component.d.ts +1 -1
  88. package/timeline/timeline-day-view.component.d.ts +1 -1
  89. package/timeline/timeline-month-view.component.d.ts +1 -1
  90. package/timeline/timeline-week-view.component.d.ts +1 -1
  91. package/timeline/timeline-year-view.component.d.ts +1 -1
  92. package/toolbar/toolbar-template.directive.d.ts +1 -1
  93. package/toolbar/toolbar.component.d.ts +1 -1
  94. package/toolbar/view-selector.component.d.ts +1 -1
  95. package/common/touch-enabled.d.ts +0 -9
  96. package/esm2020/common/touch-enabled.mjs +0 -9
@@ -3,121 +3,44 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
- import { ReactiveFormsModule } from '@angular/forms';
8
- import { SplitterModule, TabStripModule } from '@progress/kendo-angular-layout';
9
- import { TreeListModule } from '@progress/kendo-angular-treelist';
10
- import { ButtonsModule } from '@progress/kendo-angular-buttons';
11
- import { DraggableModule, EventsModule, WatermarkModule } from '@progress/kendo-angular-common';
12
- import { DialogModule } from '@progress/kendo-angular-dialog';
13
- import { LabelModule } from '@progress/kendo-angular-label';
14
- import { InputsModule } from '@progress/kendo-angular-inputs';
15
- import { DateInputsModule } from '@progress/kendo-angular-dateinputs';
6
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
7
+ import { DialogContainerService, DialogService, WindowContainerService, WindowService } from '@progress/kendo-angular-dialog';
8
+ import { CalendarDOMService, CenturyViewService, DayPeriodService, DecadeViewService, HoursService, MillisecondsService, MinutesService, MonthViewService, NavigationService, SecondsService, TimePickerDOMService, WeekNamesService, YearViewService } from '@progress/kendo-angular-dateinputs';
16
9
  import { L10N_PREFIX } from '@progress/kendo-angular-l10n';
17
- import { PopupModule } from '@progress/kendo-angular-popup';
18
- import { touchEnabled } from '@progress/kendo-common';
19
- import { TOUCH_ENABLED } from './common/touch-enabled';
20
- import { GanttComponent } from './gantt.component';
21
- import { GanttTimelineComponent } from './timeline/gantt-timeline.component';
22
- import { GanttTasksTableBodyComponent } from './rendering/gantt-tasks-table-body.component';
23
- import { GanttHeaderTableBodyComponent } from './rendering/gantt-header-table-body.component';
24
- import { GanttTaskComponent } from './rendering/gantt-task.component';
25
- import { GanttTaskTemplateDirective } from './template-directives/task-template.directive';
26
- import { GanttTaskContentTemplateDirective } from './template-directives/task-content-template.directive';
27
- import { GanttSummaryTaskComponent } from './rendering/gantt-summary-task.component';
28
- import { GanttSummaryTaskTemplateDirective } from './template-directives/summary-task-template.directive';
29
- import { GanttMilestoneTaskComponent } from './rendering/gantt-milestone-task.component';
30
- import { GanttFlatBindingDirective } from './binding-directives/flat-binding.directive';
31
- import { GanttHierarchyBindingDirective } from './binding-directives/hierarchy-binding.directive';
32
- import { GanttExpandableDirective } from './expanded-state/expandable.directive';
33
- import { SelectableDirective } from './selection/selectable.directive';
34
- import { ToolbarComponent } from './toolbar/toolbar.component';
35
- import { ToolbarTemplateDirective } from './toolbar/toolbar-template.directive';
36
- import { ViewSelectorComponent } from './toolbar/view-selector.component';
37
- import { GanttDependencyDirective } from './dependencies/gantt-dependency.directive';
38
- import { DependencyDragCreateDirective } from './dragging/dependency-drag-create.directive';
10
+ import { PopupService } from '@progress/kendo-angular-popup';
39
11
  import { DragValidationTooltipComponent } from './dragging/drag-validation-tooltip.component';
40
- import { TimelineScrollableDirective } from './scrolling/timeline-scroll.directive';
41
- import { GanttColumnComponent, GanttColumnGroupComponent, GanttSpanColumnComponent, FilterMenuTemplateDirective, FilterCellTemplateDirective, CellTemplateDirective, ColumnMenuTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective, EditTemplateDirective } from './columns/columns';
42
- import { TimelineDayViewComponent } from './timeline/timeline-day-view.component';
43
- import { TimelineWeekViewComponent } from './timeline/timeline-week-view.component';
44
- import { TimelineMonthViewComponent } from './timeline/timeline-month-view.component';
45
- import { TimelineYearViewComponent } from './timeline/timeline-year-view.component';
46
- import { EditDialogComponent } from './editing/edit-dialog.component';
47
- import { CustomMessagesComponent } from './localization/custom-messages.component';
48
- import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
49
- import { GanttAddTaskComponent } from './editing/add-task.component';
50
- import { GridModule } from '@progress/kendo-angular-grid';
51
- import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
52
- import { DependenciesTableComponent } from './editing/dependencies-table.component';
53
- import { TaskFieldsComponent } from './editing/task-fields.component';
54
- import { IconsModule } from '@progress/kendo-angular-icons';
55
- import { IntlModule } from '@progress/kendo-angular-intl';
12
+ import { IconsService } from '@progress/kendo-angular-icons';
13
+ import { ColumnResizingService } from '@progress/kendo-angular-treelist';
14
+ import { KENDO_GANTT } from './directives';
56
15
  import * as i0 from "@angular/core";
57
- const IMPORTED_MODULES = [
58
- CommonModule,
59
- ReactiveFormsModule,
60
- LabelModule,
61
- InputsModule,
62
- DateInputsModule,
63
- ButtonsModule,
64
- SplitterModule,
65
- TreeListModule,
66
- ButtonsModule,
67
- DialogModule,
68
- EventsModule,
69
- PopupModule,
70
- DraggableModule,
71
- TabStripModule,
72
- GridModule,
73
- DropDownsModule,
74
- IconsModule,
75
- IntlModule,
76
- WatermarkModule
77
- ];
78
- const DECLARATIONS = [
79
- GanttComponent,
80
- GanttFlatBindingDirective,
81
- GanttHierarchyBindingDirective,
82
- GanttTaskComponent,
83
- GanttSummaryTaskComponent,
84
- GanttMilestoneTaskComponent,
85
- GanttTimelineComponent,
86
- GanttTasksTableBodyComponent,
87
- GanttHeaderTableBodyComponent,
88
- GanttTaskContentTemplateDirective,
89
- GanttTaskTemplateDirective,
90
- GanttSummaryTaskTemplateDirective,
91
- ToolbarTemplateDirective,
92
- ToolbarComponent,
93
- ViewSelectorComponent,
94
- GanttColumnComponent,
95
- GanttColumnGroupComponent,
96
- GanttSpanColumnComponent,
97
- FilterMenuTemplateDirective,
98
- FilterCellTemplateDirective,
99
- CellTemplateDirective,
100
- EditTemplateDirective,
101
- ColumnMenuTemplateDirective,
102
- HeaderTemplateDirective,
103
- FooterTemplateDirective,
104
- GanttExpandableDirective,
105
- GanttDependencyDirective,
106
- DependencyDragCreateDirective,
107
- TimelineDayViewComponent,
108
- TimelineWeekViewComponent,
109
- TimelineMonthViewComponent,
110
- TimelineYearViewComponent,
111
- SelectableDirective,
112
- EditDialogComponent,
113
- CustomMessagesComponent,
114
- LocalizedMessagesDirective,
115
- GanttAddTaskComponent,
116
- DragValidationTooltipComponent,
117
- TimelineScrollableDirective,
118
- DependenciesTableComponent,
119
- TaskFieldsComponent
120
- ];
16
+ import * as i1 from "./gantt.component";
17
+ import * as i2 from "./binding-directives/flat-binding.directive";
18
+ import * as i3 from "./binding-directives/hierarchy-binding.directive";
19
+ import * as i4 from "./template-directives/task-content-template.directive";
20
+ import * as i5 from "./template-directives/task-template.directive";
21
+ import * as i6 from "./template-directives/summary-task-template.directive";
22
+ import * as i7 from "./toolbar/toolbar-template.directive";
23
+ import * as i8 from "./toolbar/view-selector.component";
24
+ import * as i9 from "./columns/column.component";
25
+ import * as i10 from "./columns/column-group.component";
26
+ import * as i11 from "./columns/span-column.component";
27
+ import * as i12 from "./columns/filter-cell-template.directive";
28
+ import * as i13 from "./columns/filter-menu-template.directive";
29
+ import * as i14 from "./columns/cell-template.directive";
30
+ import * as i15 from "./columns/edit-template.directive";
31
+ import * as i16 from "./columns/column-menu-template.directive";
32
+ import * as i17 from "./columns/header-template.directive";
33
+ import * as i18 from "./columns/footer-template.directive";
34
+ import * as i19 from "./expanded-state/expandable.directive";
35
+ import * as i20 from "./dragging/dependency-drag-create.directive";
36
+ import * as i21 from "./timeline/timeline-day-view.component";
37
+ import * as i22 from "./timeline/timeline-week-view.component";
38
+ import * as i23 from "./timeline/timeline-month-view.component";
39
+ import * as i24 from "./timeline/timeline-year-view.component";
40
+ import * as i25 from "./selection/selectable.directive";
41
+ import * as i26 from "./localization/custom-messages.component";
42
+ import * as i27 from "./editing/add-task.component";
43
+ // IMPORTANT: NgModule export kept for backwards compatibility
121
44
  /**
122
45
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
123
46
  * definition for the Gantt component.
@@ -152,125 +75,70 @@ const DECLARATIONS = [
152
75
  export class GanttModule {
153
76
  }
154
77
  GanttModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
155
- GanttModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: GanttModule, declarations: [GanttComponent,
156
- GanttFlatBindingDirective,
157
- GanttHierarchyBindingDirective,
158
- GanttTaskComponent,
159
- GanttSummaryTaskComponent,
160
- GanttMilestoneTaskComponent,
161
- GanttTimelineComponent,
162
- GanttTasksTableBodyComponent,
163
- GanttHeaderTableBodyComponent,
164
- GanttTaskContentTemplateDirective,
165
- GanttTaskTemplateDirective,
166
- GanttSummaryTaskTemplateDirective,
167
- ToolbarTemplateDirective,
168
- ToolbarComponent,
169
- ViewSelectorComponent,
170
- GanttColumnComponent,
171
- GanttColumnGroupComponent,
172
- GanttSpanColumnComponent,
173
- FilterMenuTemplateDirective,
174
- FilterCellTemplateDirective,
175
- CellTemplateDirective,
176
- EditTemplateDirective,
177
- ColumnMenuTemplateDirective,
178
- HeaderTemplateDirective,
179
- FooterTemplateDirective,
180
- GanttExpandableDirective,
181
- GanttDependencyDirective,
182
- DependencyDragCreateDirective,
183
- TimelineDayViewComponent,
184
- TimelineWeekViewComponent,
185
- TimelineMonthViewComponent,
186
- TimelineYearViewComponent,
187
- SelectableDirective,
188
- EditDialogComponent,
189
- CustomMessagesComponent,
190
- LocalizedMessagesDirective,
191
- GanttAddTaskComponent,
192
- DragValidationTooltipComponent,
193
- TimelineScrollableDirective,
194
- DependenciesTableComponent,
195
- TaskFieldsComponent], imports: [CommonModule,
196
- ReactiveFormsModule,
197
- LabelModule,
198
- InputsModule,
199
- DateInputsModule,
200
- ButtonsModule,
201
- SplitterModule,
202
- TreeListModule,
203
- ButtonsModule,
204
- DialogModule,
205
- EventsModule,
206
- PopupModule,
207
- DraggableModule,
208
- TabStripModule,
209
- GridModule,
210
- DropDownsModule,
211
- IconsModule,
212
- IntlModule,
213
- WatermarkModule], exports: [GanttComponent,
214
- GanttFlatBindingDirective,
215
- GanttHierarchyBindingDirective,
216
- GanttTaskComponent,
217
- GanttSummaryTaskComponent,
218
- GanttMilestoneTaskComponent,
219
- GanttTimelineComponent,
220
- GanttTasksTableBodyComponent,
221
- GanttHeaderTableBodyComponent,
222
- GanttTaskContentTemplateDirective,
223
- GanttTaskTemplateDirective,
224
- GanttSummaryTaskTemplateDirective,
225
- ToolbarTemplateDirective,
226
- ToolbarComponent,
227
- ViewSelectorComponent,
228
- GanttColumnComponent,
229
- GanttColumnGroupComponent,
230
- GanttSpanColumnComponent,
231
- FilterMenuTemplateDirective,
232
- FilterCellTemplateDirective,
233
- CellTemplateDirective,
234
- EditTemplateDirective,
235
- ColumnMenuTemplateDirective,
236
- HeaderTemplateDirective,
237
- FooterTemplateDirective,
238
- GanttExpandableDirective,
239
- GanttDependencyDirective,
240
- DependencyDragCreateDirective,
241
- TimelineDayViewComponent,
242
- TimelineWeekViewComponent,
243
- TimelineMonthViewComponent,
244
- TimelineYearViewComponent,
245
- SelectableDirective,
246
- EditDialogComponent,
247
- CustomMessagesComponent,
248
- LocalizedMessagesDirective,
249
- GanttAddTaskComponent,
250
- DragValidationTooltipComponent,
251
- TimelineScrollableDirective,
252
- DependenciesTableComponent,
253
- TaskFieldsComponent] });
78
+ GanttModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: GanttModule, imports: [i1.GanttComponent, i2.GanttFlatBindingDirective, i3.GanttHierarchyBindingDirective, i4.GanttTaskContentTemplateDirective, i5.GanttTaskTemplateDirective, i6.GanttSummaryTaskTemplateDirective, i7.ToolbarTemplateDirective, i8.ViewSelectorComponent, i9.GanttColumnComponent, i10.GanttColumnGroupComponent, i11.GanttSpanColumnComponent, i12.FilterCellTemplateDirective, i13.FilterMenuTemplateDirective, i14.CellTemplateDirective, i15.EditTemplateDirective, i16.ColumnMenuTemplateDirective, i17.HeaderTemplateDirective, i18.FooterTemplateDirective, i19.GanttExpandableDirective, i20.DependencyDragCreateDirective, i21.TimelineDayViewComponent, i22.TimelineWeekViewComponent, i23.TimelineMonthViewComponent, i24.TimelineYearViewComponent, i25.SelectableDirective, i26.CustomMessagesComponent, i27.GanttAddTaskComponent], exports: [i1.GanttComponent, i2.GanttFlatBindingDirective, i3.GanttHierarchyBindingDirective, i4.GanttTaskContentTemplateDirective, i5.GanttTaskTemplateDirective, i6.GanttSummaryTaskTemplateDirective, i7.ToolbarTemplateDirective, i8.ViewSelectorComponent, i9.GanttColumnComponent, i10.GanttColumnGroupComponent, i11.GanttSpanColumnComponent, i12.FilterCellTemplateDirective, i13.FilterMenuTemplateDirective, i14.CellTemplateDirective, i15.EditTemplateDirective, i16.ColumnMenuTemplateDirective, i17.HeaderTemplateDirective, i18.FooterTemplateDirective, i19.GanttExpandableDirective, i20.DependencyDragCreateDirective, i21.TimelineDayViewComponent, i22.TimelineWeekViewComponent, i23.TimelineMonthViewComponent, i24.TimelineYearViewComponent, i25.SelectableDirective, i26.CustomMessagesComponent, i27.GanttAddTaskComponent] });
254
79
  GanttModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttModule, providers: [{
255
80
  provide: L10N_PREFIX,
256
81
  useValue: 'kendo.gantt'
257
- }, {
258
- provide: TOUCH_ENABLED,
259
- useValue: touchEnabled
260
- }], imports: [IMPORTED_MODULES] });
82
+ },
83
+ // InputsModule providers
84
+ IconsService,
85
+ PopupService,
86
+ ResizeBatchService,
87
+ DialogContainerService,
88
+ DialogService,
89
+ WindowService,
90
+ WindowContainerService,
91
+ // DateInputsModule providers
92
+ CalendarDOMService,
93
+ CenturyViewService,
94
+ DecadeViewService,
95
+ MonthViewService,
96
+ YearViewService,
97
+ WeekNamesService,
98
+ NavigationService,
99
+ TimePickerDOMService,
100
+ HoursService,
101
+ MinutesService,
102
+ SecondsService,
103
+ MillisecondsService,
104
+ DayPeriodService,
105
+ // TreeListModule providers
106
+ ColumnResizingService
107
+ ], imports: [i1.GanttComponent, i8.ViewSelectorComponent, i9.GanttColumnComponent, i10.GanttColumnGroupComponent, i11.GanttSpanColumnComponent, i21.TimelineDayViewComponent, i22.TimelineWeekViewComponent, i23.TimelineMonthViewComponent, i24.TimelineYearViewComponent, i26.CustomMessagesComponent, i27.GanttAddTaskComponent] });
261
108
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttModule, decorators: [{
262
109
  type: NgModule,
263
110
  args: [{
264
- imports: [...IMPORTED_MODULES],
265
- declarations: [...DECLARATIONS],
266
- exports: [...DECLARATIONS],
111
+ imports: [...KENDO_GANTT],
112
+ exports: [...KENDO_GANTT],
267
113
  entryComponents: [DragValidationTooltipComponent],
268
114
  providers: [{
269
115
  provide: L10N_PREFIX,
270
116
  useValue: 'kendo.gantt'
271
- }, {
272
- provide: TOUCH_ENABLED,
273
- useValue: touchEnabled
274
- }]
117
+ },
118
+ // InputsModule providers
119
+ IconsService,
120
+ PopupService,
121
+ ResizeBatchService,
122
+ DialogContainerService,
123
+ DialogService,
124
+ WindowService,
125
+ WindowContainerService,
126
+ // DateInputsModule providers
127
+ CalendarDOMService,
128
+ CenturyViewService,
129
+ DecadeViewService,
130
+ MonthViewService,
131
+ YearViewService,
132
+ WeekNamesService,
133
+ NavigationService,
134
+ TimePickerDOMService,
135
+ HoursService,
136
+ MinutesService,
137
+ SecondsService,
138
+ MillisecondsService,
139
+ DayPeriodService,
140
+ // TreeListModule providers
141
+ ColumnResizingService
142
+ ]
275
143
  }]
276
144
  }] });
package/esm2020/index.mjs CHANGED
@@ -36,3 +36,4 @@ export { LocalizedMessagesDirective } from './localization/localized-messages.di
36
36
  export { CustomMessagesComponent } from './localization/custom-messages.component';
37
37
  export * from './models/models';
38
38
  export * from './columns/columns';
39
+ export * from './directives';
@@ -21,7 +21,7 @@ export class CustomMessagesComponent extends Messages {
21
21
  }
22
22
  }
23
23
  CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
24
- CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-gantt-messages", providers: [
24
+ CustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-gantt-messages", providers: [
25
25
  {
26
26
  provide: Messages,
27
27
  useExisting: forwardRef(() => CustomMessagesComponent)
@@ -37,6 +37,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
37
37
  }
38
38
  ],
39
39
  selector: 'kendo-gantt-messages',
40
- template: ``
40
+ template: ``,
41
+ standalone: true
41
42
  }]
42
43
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -17,7 +17,7 @@ export class LocalizedMessagesDirective extends Messages {
17
17
  }
18
18
  }
19
19
  LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoGanttLocalizedMessages]", providers: [
20
+ LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoGanttLocalizedMessages]", providers: [
21
21
  {
22
22
  provide: Messages,
23
23
  useExisting: forwardRef(() => LocalizedMessagesDirective)
@@ -32,6 +32,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
32
32
  useExisting: forwardRef(() => LocalizedMessagesDirective)
33
33
  }
34
34
  ],
35
- selector: '[kendoGanttLocalizedMessages]'
35
+ selector: '[kendoGanttLocalizedMessages]',
36
+ standalone: true
36
37
  }]
37
38
  }], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-gantt',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721814434,
13
- version: '16.5.0',
12
+ publishDate: 1722607229,
13
+ version: '16.6.0-develop.10',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
15
15
  };
@@ -3,8 +3,8 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, HostBinding, Input } from "@angular/core";
6
+ import { NgFor } from "@angular/common";
6
7
  import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
8
  /**
9
9
  * @hidden
10
10
  */
@@ -14,7 +14,7 @@ export class GanttHeaderTableBodyComponent {
14
14
  }
15
15
  }
16
16
  GanttHeaderTableBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttHeaderTableBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
17
- GanttHeaderTableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttHeaderTableBodyComponent, selector: "[kendoGanttHeaderTableBody]", inputs: { groupSlots: "groupSlots", slots: "slots" }, host: { properties: { "class.k-table-tbody": "this.tbodyClass" } }, ngImport: i0, template: `
17
+ GanttHeaderTableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttHeaderTableBodyComponent, isStandalone: true, selector: "[kendoGanttHeaderTableBody]", inputs: { groupSlots: "groupSlots", slots: "slots" }, host: { properties: { "class.k-table-tbody": "this.tbodyClass" } }, ngImport: i0, template: `
18
18
  <tr class="k-table-row">
19
19
  <td *ngFor="let item of groupSlots" [attr.colspan]="item.span" class="k-header k-table-td">{{ item.text }}</td>
20
20
  </tr>
@@ -22,7 +22,7 @@ GanttHeaderTableBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
22
22
  <tr class="k-table-row">
23
23
  <td *ngFor="let item of slots" class="k-header k-table-td" [attr.colspan]="item.span === 7 ? item.span : 1" [attr.title]="item.text">{{ item.text }}</td>
24
24
  </tr>
25
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
25
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
26
26
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttHeaderTableBodyComponent, decorators: [{
27
27
  type: Component,
28
28
  args: [{
@@ -36,7 +36,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
36
36
  <tr class="k-table-row">
37
37
  <td *ngFor="let item of slots" class="k-header k-table-td" [attr.colspan]="item.span === 7 ? item.span : 1" [attr.title]="item.text">{{ item.text }}</td>
38
38
  </tr>
39
- `
39
+ `,
40
+ standalone: true,
41
+ imports: [NgFor]
40
42
  }]
41
43
  }], propDecorators: { tbodyClass: [{
42
44
  type: HostBinding,
@@ -2,33 +2,33 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Component, forwardRef, HostBinding, ChangeDetectorRef, Inject } from '@angular/core';
5
+ import { Component, forwardRef, HostBinding, ChangeDetectorRef } from '@angular/core';
6
6
  import { MappingService } from '../common/mapping.service';
7
7
  import { NavigationService } from '../navigation/navigation.service';
8
- import { TOUCH_ENABLED } from '../common/touch-enabled';
9
8
  import { DependencyDomService } from '../dependencies/dependency-dom.service';
10
9
  import { OptionChangesService } from '../common/option-changes.service';
11
10
  import { TimelineViewService } from './../timeline/timeline-view.service';
12
11
  import { GanttTaskBase } from './gantt-task-base';
12
+ import { NgClass, NgIf } from '@angular/common';
13
+ import { touchEnabled } from '@progress/kendo-common';
13
14
  import * as i0 from "@angular/core";
14
15
  import * as i1 from "../common/mapping.service";
15
16
  import * as i2 from "./../timeline/timeline-view.service";
16
17
  import * as i3 from "../dependencies/dependency-dom.service";
17
18
  import * as i4 from "../common/option-changes.service";
18
19
  import * as i5 from "../navigation/navigation.service";
19
- import * as i6 from "@angular/common";
20
20
  /**
21
21
  * @hidden
22
22
  */
23
23
  export class GanttMilestoneTaskComponent extends GanttTaskBase {
24
- constructor(touchEnabled, mapper, timelineViewService, dependencyDomService, optionChangesService, cdr, navigationService) {
24
+ constructor(mapper, timelineViewService, dependencyDomService, optionChangesService, cdr, navigationService) {
25
25
  super(mapper, timelineViewService, dependencyDomService, optionChangesService, cdr, navigationService);
26
- this.touchEnabled = touchEnabled;
27
26
  this.milestoneWrapperClass = true;
27
+ this.touchEnabled = touchEnabled;
28
28
  }
29
29
  }
30
- GanttMilestoneTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttMilestoneTaskComponent, deps: [{ token: TOUCH_ENABLED }, { token: i1.MappingService }, { token: i2.TimelineViewService }, { token: i3.DependencyDomService }, { token: i4.OptionChangesService }, { token: i0.ChangeDetectorRef }, { token: i5.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
31
- GanttMilestoneTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttMilestoneTaskComponent, selector: "kendo-gantt-milestone-task", host: { properties: { "class.k-milestone-wrap": "this.milestoneWrapperClass" } }, providers: [
30
+ GanttMilestoneTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttMilestoneTaskComponent, deps: [{ token: i1.MappingService }, { token: i2.TimelineViewService }, { token: i3.DependencyDomService }, { token: i4.OptionChangesService }, { token: i0.ChangeDetectorRef }, { token: i5.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
31
+ GanttMilestoneTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttMilestoneTaskComponent, isStandalone: true, selector: "kendo-gantt-milestone-task", host: { properties: { "class.k-milestone-wrap": "this.milestoneWrapperClass" } }, providers: [
32
32
  {
33
33
  provide: GanttTaskBase,
34
34
  useExisting: forwardRef(() => GanttMilestoneTaskComponent)
@@ -57,7 +57,7 @@ GanttMilestoneTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.
57
57
  >
58
58
  </div>
59
59
  </ng-container>
60
- `, isInline: true, dependencies: [{ kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
60
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
61
61
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttMilestoneTaskComponent, decorators: [{
62
62
  type: Component,
63
63
  args: [{
@@ -92,12 +92,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
92
92
  >
93
93
  </div>
94
94
  </ng-container>
95
- `
95
+ `,
96
+ standalone: true,
97
+ imports: [NgClass, NgIf]
96
98
  }]
97
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
98
- type: Inject,
99
- args: [TOUCH_ENABLED]
100
- }] }, { type: i1.MappingService }, { type: i2.TimelineViewService }, { type: i3.DependencyDomService }, { type: i4.OptionChangesService }, { type: i0.ChangeDetectorRef }, { type: i5.NavigationService }]; }, propDecorators: { milestoneWrapperClass: [{
99
+ }], ctorParameters: function () { return [{ type: i1.MappingService }, { type: i2.TimelineViewService }, { type: i3.DependencyDomService }, { type: i4.OptionChangesService }, { type: i0.ChangeDetectorRef }, { type: i5.NavigationService }]; }, propDecorators: { milestoneWrapperClass: [{
101
100
  type: HostBinding,
102
101
  args: ['class.k-milestone-wrap']
103
102
  }] } });
@@ -2,30 +2,30 @@
2
2
  * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { ChangeDetectorRef, Component, forwardRef, HostBinding, Inject, Input, TemplateRef } from '@angular/core';
5
+ import { ChangeDetectorRef, Component, forwardRef, HostBinding, Input, TemplateRef } from '@angular/core';
6
6
  import { MappingService } from '../common/mapping.service';
7
7
  import { NavigationService } from '../navigation/navigation.service';
8
- import { TOUCH_ENABLED } from '../common/touch-enabled';
9
8
  import { DependencyDomService } from '../dependencies/dependency-dom.service';
10
9
  import { OptionChangesService } from '../common/option-changes.service';
11
10
  import { TimelineViewService } from './../timeline/timeline-view.service';
12
11
  import { GanttTaskBase } from './gantt-task-base';
13
12
  import { isPresent } from '../utils';
13
+ import { NgClass, NgIf, NgTemplateOutlet } from '@angular/common';
14
+ import { touchEnabled } from '@progress/kendo-common';
14
15
  import * as i0 from "@angular/core";
15
16
  import * as i1 from "../common/mapping.service";
16
17
  import * as i2 from "./../timeline/timeline-view.service";
17
18
  import * as i3 from "../dependencies/dependency-dom.service";
18
19
  import * as i4 from "../common/option-changes.service";
19
20
  import * as i5 from "../navigation/navigation.service";
20
- import * as i6 from "@angular/common";
21
21
  /**
22
22
  * @hidden
23
23
  */
24
24
  export class GanttSummaryTaskComponent extends GanttTaskBase {
25
- constructor(touchEnabled, mapper, timelineViewService, dependencyDomService, optionChangesService, cdr, navigationService) {
25
+ constructor(mapper, timelineViewService, dependencyDomService, optionChangesService, cdr, navigationService) {
26
26
  super(mapper, timelineViewService, dependencyDomService, optionChangesService, cdr, navigationService);
27
- this.touchEnabled = touchEnabled;
28
27
  this.summaryWrapperClass = true;
28
+ this.touchEnabled = touchEnabled;
29
29
  }
30
30
  get ariaExpanded() {
31
31
  // if no callback is provided, all child items are displayed and the item is regarded as expanded
@@ -34,8 +34,8 @@ export class GanttSummaryTaskComponent extends GanttTaskBase {
34
34
  return String(isExpanded);
35
35
  }
36
36
  }
37
- GanttSummaryTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttSummaryTaskComponent, deps: [{ token: TOUCH_ENABLED }, { token: i1.MappingService }, { token: i2.TimelineViewService }, { token: i3.DependencyDomService }, { token: i4.OptionChangesService }, { token: i0.ChangeDetectorRef }, { token: i5.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
38
- GanttSummaryTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttSummaryTaskComponent, selector: "kendo-gantt-summary-task", inputs: { template: "template", isExpanded: "isExpanded" }, host: { properties: { "class.k-summary-wrap": "this.summaryWrapperClass" } }, providers: [
37
+ GanttSummaryTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttSummaryTaskComponent, deps: [{ token: i1.MappingService }, { token: i2.TimelineViewService }, { token: i3.DependencyDomService }, { token: i4.OptionChangesService }, { token: i0.ChangeDetectorRef }, { token: i5.NavigationService }], target: i0.ɵɵFactoryTarget.Component });
38
+ GanttSummaryTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttSummaryTaskComponent, isStandalone: true, selector: "kendo-gantt-summary-task", inputs: { template: "template", isExpanded: "isExpanded" }, host: { properties: { "class.k-summary-wrap": "this.summaryWrapperClass" } }, providers: [
39
39
  {
40
40
  provide: GanttTaskBase,
41
41
  useExisting: forwardRef(() => GanttSummaryTaskComponent)
@@ -84,7 +84,7 @@ GanttSummaryTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.
84
84
  >
85
85
  </div>
86
86
  </ng-container>
87
- `, isInline: true, dependencies: [{ kind: "directive", type: i6.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
87
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
88
88
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttSummaryTaskComponent, decorators: [{
89
89
  type: Component,
90
90
  args: [{
@@ -139,12 +139,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
139
139
  >
140
140
  </div>
141
141
  </ng-container>
142
- `
142
+ `,
143
+ standalone: true,
144
+ imports: [NgClass, NgIf, NgTemplateOutlet]
143
145
  }]
144
- }], ctorParameters: function () { return [{ type: undefined, decorators: [{
145
- type: Inject,
146
- args: [TOUCH_ENABLED]
147
- }] }, { type: i1.MappingService }, { type: i2.TimelineViewService }, { type: i3.DependencyDomService }, { type: i4.OptionChangesService }, { type: i0.ChangeDetectorRef }, { type: i5.NavigationService }]; }, propDecorators: { summaryWrapperClass: [{
146
+ }], ctorParameters: function () { return [{ type: i1.MappingService }, { type: i2.TimelineViewService }, { type: i3.DependencyDomService }, { type: i4.OptionChangesService }, { type: i0.ChangeDetectorRef }, { type: i5.NavigationService }]; }, propDecorators: { summaryWrapperClass: [{
148
147
  type: HostBinding,
149
148
  args: ['class.k-summary-wrap']
150
149
  }], template: [{