@progress/kendo-angular-gantt 21.3.1-develop.1 → 21.4.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.
package/directives.d.ts CHANGED
@@ -25,7 +25,8 @@ import { GanttAddTaskComponent } from "./editing/add-task.component";
25
25
  import { ToolbarTemplateDirective } from "./toolbar/toolbar-template.directive";
26
26
  import { TaskDragDirective } from "./dragging/task-drag.directive";
27
27
  import { GanttTaskTooltipTemplateDirective } from "./template-directives/task-tooltip-template.directive";
28
+ import { GanttTaskDragTooltipTemplateDirective } from "./template-directives/task-drag-tooltip-template.directive";
28
29
  /**
29
30
  * Use the `KENDO_GANTT` utility array to import all Kendo UI for Angular Gantt components and directives to a standalone Angular component.
30
31
  */
31
- export declare const KENDO_GANTT: readonly [typeof GanttComponent, typeof GanttFlatBindingDirective, typeof GanttHierarchyBindingDirective, typeof GanttTaskContentTemplateDirective, typeof GanttTaskTemplateDirective, typeof GanttSummaryTaskTemplateDirective, typeof ToolbarTemplateDirective, typeof ViewSelectorComponent, typeof GanttColumnComponent, typeof GanttColumnGroupComponent, typeof GanttSpanColumnComponent, typeof FilterCellTemplateDirective, typeof FilterMenuTemplateDirective, typeof CellTemplateDirective, typeof EditTemplateDirective, typeof ColumnMenuTemplateDirective, typeof HeaderTemplateDirective, typeof FooterTemplateDirective, typeof GanttExpandableDirective, typeof DependencyDragCreateDirective, typeof TimelineDayViewComponent, typeof TimelineWeekViewComponent, typeof TimelineMonthViewComponent, typeof TimelineYearViewComponent, typeof SelectableDirective, typeof CustomMessagesComponent, typeof GanttAddTaskComponent, typeof TaskDragDirective, typeof GanttTaskTooltipTemplateDirective];
32
+ export declare const KENDO_GANTT: readonly [typeof GanttComponent, typeof GanttFlatBindingDirective, typeof GanttHierarchyBindingDirective, typeof GanttTaskContentTemplateDirective, typeof GanttTaskTemplateDirective, typeof GanttSummaryTaskTemplateDirective, typeof GanttTaskDragTooltipTemplateDirective, typeof ToolbarTemplateDirective, typeof ViewSelectorComponent, typeof GanttColumnComponent, typeof GanttColumnGroupComponent, typeof GanttSpanColumnComponent, typeof FilterCellTemplateDirective, typeof FilterMenuTemplateDirective, typeof CellTemplateDirective, typeof EditTemplateDirective, typeof ColumnMenuTemplateDirective, typeof HeaderTemplateDirective, typeof FooterTemplateDirective, typeof GanttExpandableDirective, typeof DependencyDragCreateDirective, typeof TimelineDayViewComponent, typeof TimelineWeekViewComponent, typeof TimelineMonthViewComponent, typeof TimelineYearViewComponent, typeof SelectableDirective, typeof CustomMessagesComponent, typeof GanttAddTaskComponent, typeof TaskDragDirective, typeof GanttTaskTooltipTemplateDirective];
@@ -25,6 +25,7 @@ import { GanttAddTaskComponent } from "./editing/add-task.component";
25
25
  import { ToolbarTemplateDirective } from "./toolbar/toolbar-template.directive";
26
26
  import { TaskDragDirective } from "./dragging/task-drag.directive";
27
27
  import { GanttTaskTooltipTemplateDirective } from "./template-directives/task-tooltip-template.directive";
28
+ import { GanttTaskDragTooltipTemplateDirective } from "./template-directives/task-drag-tooltip-template.directive";
28
29
  /**
29
30
  * Use the `KENDO_GANTT` utility array to import all Kendo UI for Angular Gantt components and directives to a standalone Angular component.
30
31
  */
@@ -35,6 +36,7 @@ export const KENDO_GANTT = [
35
36
  GanttTaskContentTemplateDirective,
36
37
  GanttTaskTemplateDirective,
37
38
  GanttSummaryTaskTemplateDirective,
39
+ GanttTaskDragTooltipTemplateDirective,
38
40
  ToolbarTemplateDirective,
39
41
  ViewSelectorComponent,
40
42
  GanttColumnComponent,
@@ -46,6 +46,7 @@ import { DialogActionsComponent, DialogComponent } from '@progress/kendo-angular
46
46
  import { ButtonComponent } from '@progress/kendo-angular-buttons';
47
47
  import { GanttTaskTooltipTemplateDirective } from './template-directives/task-tooltip-template.directive';
48
48
  import { IntlService } from '@progress/kendo-angular-intl';
49
+ import { GanttTaskDragTooltipTemplateDirective } from './template-directives/task-drag-tooltip-template.directive';
49
50
  import * as i0 from "@angular/core";
50
51
  import * as i1 from "./timeline/timeline-view.service";
51
52
  import * as i2 from "./scrolling/scroll-sync.service";
@@ -160,6 +161,14 @@ export class GanttComponent {
160
161
  * Therefore the `static` property needs to be set to `false`.
161
162
  */
162
163
  taskTooltipTemplate;
164
+ /**
165
+ * @hidden
166
+ *
167
+ * Queries the template for a task drag tooltip template declaration.
168
+ * In newer Angular versions the ngIf-ed value gets evaluated after the static query is resolved.
169
+ * Therefore the `static` property needs to be set to `false`.
170
+ */
171
+ taskDragTooltipTemplate;
163
172
  /**
164
173
  * @hidden
165
174
  *
@@ -1418,7 +1427,7 @@ export class GanttComponent {
1418
1427
  TimelineScrollService,
1419
1428
  NavigationService,
1420
1429
  CurrentTimeMarkerService
1421
- ], queries: [{ propertyName: "taskContentTemplate", first: true, predicate: GanttTaskContentTemplateDirective, descendants: true }, { propertyName: "taskTemplate", first: true, predicate: GanttTaskTemplateDirective, descendants: true }, { propertyName: "taskTooltipTemplate", first: true, predicate: GanttTaskTooltipTemplateDirective, descendants: true }, { propertyName: "summaryTaskTemplate", first: true, predicate: GanttSummaryTaskTemplateDirective, descendants: true }, { propertyName: "toolbarTemplateChildren", predicate: ToolbarTemplateDirective }, { propertyName: "columns", predicate: GanttColumnBase }, { propertyName: "views", predicate: ViewBase }], viewQueries: [{ propertyName: "treeList", first: true, predicate: TreeListComponent, descendants: true, static: true }, { propertyName: "timeline", first: true, predicate: GanttTimelineComponent, descendants: true }], exportAs: ["kendoGantt"], usesOnChanges: true, ngImport: i0, template: `
1430
+ ], queries: [{ propertyName: "taskContentTemplate", first: true, predicate: GanttTaskContentTemplateDirective, descendants: true }, { propertyName: "taskTemplate", first: true, predicate: GanttTaskTemplateDirective, descendants: true }, { propertyName: "taskTooltipTemplate", first: true, predicate: GanttTaskTooltipTemplateDirective, descendants: true }, { propertyName: "taskDragTooltipTemplate", first: true, predicate: GanttTaskDragTooltipTemplateDirective, descendants: true }, { propertyName: "summaryTaskTemplate", first: true, predicate: GanttSummaryTaskTemplateDirective, descendants: true }, { propertyName: "toolbarTemplateChildren", predicate: ToolbarTemplateDirective }, { propertyName: "columns", predicate: GanttColumnBase }, { propertyName: "views", predicate: ViewBase }], viewQueries: [{ propertyName: "treeList", first: true, predicate: TreeListComponent, descendants: true, static: true }, { propertyName: "timeline", first: true, predicate: GanttTimelineComponent, descendants: true }], exportAs: ["kendoGantt"], usesOnChanges: true, ngImport: i0, template: `
1422
1431
  <ng-container kendoGanttLocalizedMessages
1423
1432
  i18n-taskEditingGeneralTabTitle="kendo.gantt.taskEditingGeneralTabTitle|The title of the 'General' tab of the editing dialog TabStrip"
1424
1433
  taskEditingGeneralTabTitle="General"
@@ -1763,6 +1772,7 @@ export class GanttComponent {
1763
1772
  mousedown: handleTimelineMouseDown
1764
1773
  }"
1765
1774
  [customTooltipTemplate]="taskTooltipTemplate"
1775
+ [customDragTooltipTemplate]="taskDragTooltipTemplate"
1766
1776
  [tooltipOptions]="taskTooltipOptions"
1767
1777
  [scope]="this"
1768
1778
  ></kendo-gantt-timeline>
@@ -1806,7 +1816,7 @@ export class GanttComponent {
1806
1816
  @if (showLicenseWatermark) {
1807
1817
  <div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
1808
1818
  }
1809
- `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoGanttLocalizedMessages]" }, { kind: "component", type: ToolbarComponent, selector: "kendo-gantt-toolbar", inputs: ["showAddTask", "showViewSelector", "views", "activeView", "toolbarTemplate", "navigable", "position"], outputs: ["activeViewChange"] }, { kind: "component", type: SplitterComponent, selector: "kendo-splitter", inputs: ["orientation", "splitbarWidth", "resizeStep", "splitterBarClass"], outputs: ["layoutChange"], exportAs: ["kendoSplitter"] }, { kind: "component", type: SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: ["order", "size", "splitterBarAttributes", "splitterBarClass", "min", "max", "resizable", "collapsible", "scrollable", "collapsed", "orientation", "containsSplitter", "overlayContent"], outputs: ["sizeChange", "collapsedChange"], exportAs: ["kendoSplitterPane"] }, { kind: "component", type: TreeListComponent, selector: "kendo-treelist", inputs: ["aria-label", "data", "pageSize", "height", "rowHeight", "skip", "scrollable", "sort", "trackBy", "filter", "virtualColumns", "filterable", "sortable", "pageable", "navigable", "autoSize", "rowClass", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "idField", "selectable", "isSelected", "rowReorderable", "columns", "fetchChildren", "hasChildren", "isExpanded"], outputs: ["selectionChange", "filterChange", "pageChange", "sortChange", "dataStateChange", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "scrollBottom", "contentScroll", "expand", "collapse", "expandStateChange", "rowReorder"], exportAs: ["kendoTreeList"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: CustomMessagesComponent, selector: "kendo-treelist-messages" }, { kind: "component", type: GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: ["rows", "slots", "groupSlots", "tableWidth", "activeView", "taskContentTemplate", "taskTemplate", "summaryTaskTemplate", "taskClass", "renderDependencyDragClues", "dragScrollSettings", "currentTimeMarker", "customTooltipTemplate", "tooltipOptions", "selectable", "isTaskSelected", "isExpanded", "dependencies"], outputs: ["timelineContainerPress", "timelineContainerDrag", "timelineContainerRelease"] }, { kind: "component", type: EditDialogComponent, selector: "kendo-gantt-edit-dialog", inputs: ["data"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer", inputs: ["width"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }] });
1819
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoGanttLocalizedMessages]" }, { kind: "component", type: ToolbarComponent, selector: "kendo-gantt-toolbar", inputs: ["showAddTask", "showViewSelector", "views", "activeView", "toolbarTemplate", "navigable", "position"], outputs: ["activeViewChange"] }, { kind: "component", type: SplitterComponent, selector: "kendo-splitter", inputs: ["orientation", "splitbarWidth", "resizeStep", "splitterBarClass"], outputs: ["layoutChange"], exportAs: ["kendoSplitter"] }, { kind: "component", type: SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: ["order", "size", "splitterBarAttributes", "splitterBarClass", "min", "max", "resizable", "collapsible", "scrollable", "collapsed", "orientation", "containsSplitter", "overlayContent"], outputs: ["sizeChange", "collapsedChange"], exportAs: ["kendoSplitterPane"] }, { kind: "component", type: TreeListComponent, selector: "kendo-treelist", inputs: ["aria-label", "data", "pageSize", "height", "rowHeight", "skip", "scrollable", "sort", "trackBy", "filter", "virtualColumns", "filterable", "sortable", "pageable", "navigable", "autoSize", "rowClass", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "idField", "selectable", "isSelected", "rowReorderable", "columns", "fetchChildren", "hasChildren", "isExpanded"], outputs: ["selectionChange", "filterChange", "pageChange", "sortChange", "dataStateChange", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "scrollBottom", "contentScroll", "expand", "collapse", "expandStateChange", "rowReorder"], exportAs: ["kendoTreeList"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: CustomMessagesComponent, selector: "kendo-treelist-messages" }, { kind: "component", type: GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: ["rows", "slots", "groupSlots", "tableWidth", "activeView", "taskContentTemplate", "taskTemplate", "summaryTaskTemplate", "taskClass", "renderDependencyDragClues", "dragScrollSettings", "currentTimeMarker", "customTooltipTemplate", "customDragTooltipTemplate", "tooltipOptions", "selectable", "isTaskSelected", "isExpanded", "dependencies"], outputs: ["timelineContainerPress", "timelineContainerDrag", "timelineContainerRelease"] }, { kind: "component", type: EditDialogComponent, selector: "kendo-gantt-edit-dialog", inputs: ["data"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer", inputs: ["width"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }] });
1810
1820
  }
1811
1821
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttComponent, decorators: [{
1812
1822
  type: Component,
@@ -2187,6 +2197,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
2187
2197
  mousedown: handleTimelineMouseDown
2188
2198
  }"
2189
2199
  [customTooltipTemplate]="taskTooltipTemplate"
2200
+ [customDragTooltipTemplate]="taskDragTooltipTemplate"
2190
2201
  [tooltipOptions]="taskTooltipOptions"
2191
2202
  [scope]="this"
2192
2203
  ></kendo-gantt-timeline>
@@ -2252,6 +2263,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
2252
2263
  }], taskTooltipTemplate: [{
2253
2264
  type: ContentChild,
2254
2265
  args: [GanttTaskTooltipTemplateDirective]
2266
+ }], taskDragTooltipTemplate: [{
2267
+ type: ContentChild,
2268
+ args: [GanttTaskDragTooltipTemplateDirective]
2255
2269
  }], summaryTaskTemplate: [{
2256
2270
  type: ContentChild,
2257
2271
  args: [GanttSummaryTaskTemplateDirective]
@@ -18,29 +18,30 @@ import * as i3 from "./binding-directives/hierarchy-binding.directive";
18
18
  import * as i4 from "./template-directives/task-content-template.directive";
19
19
  import * as i5 from "./template-directives/task-template.directive";
20
20
  import * as i6 from "./template-directives/summary-task-template.directive";
21
- import * as i7 from "./toolbar/toolbar-template.directive";
22
- import * as i8 from "./toolbar/view-selector.component";
23
- import * as i9 from "./columns/column.component";
24
- import * as i10 from "./columns/column-group.component";
25
- import * as i11 from "./columns/span-column.component";
26
- import * as i12 from "./columns/filter-cell-template.directive";
27
- import * as i13 from "./columns/filter-menu-template.directive";
28
- import * as i14 from "./columns/cell-template.directive";
29
- import * as i15 from "./columns/edit-template.directive";
30
- import * as i16 from "./columns/column-menu-template.directive";
31
- import * as i17 from "./columns/header-template.directive";
32
- import * as i18 from "./columns/footer-template.directive";
33
- import * as i19 from "./expanded-state/expandable.directive";
34
- import * as i20 from "./dragging/dependency-drag-create.directive";
35
- import * as i21 from "./timeline/timeline-day-view.component";
36
- import * as i22 from "./timeline/timeline-week-view.component";
37
- import * as i23 from "./timeline/timeline-month-view.component";
38
- import * as i24 from "./timeline/timeline-year-view.component";
39
- import * as i25 from "./selection/selectable.directive";
40
- import * as i26 from "./localization/custom-messages.component";
41
- import * as i27 from "./editing/add-task.component";
42
- import * as i28 from "./dragging/task-drag.directive";
43
- import * as i29 from "./template-directives/task-tooltip-template.directive";
21
+ import * as i7 from "./template-directives/task-drag-tooltip-template.directive";
22
+ import * as i8 from "./toolbar/toolbar-template.directive";
23
+ import * as i9 from "./toolbar/view-selector.component";
24
+ import * as i10 from "./columns/column.component";
25
+ import * as i11 from "./columns/column-group.component";
26
+ import * as i12 from "./columns/span-column.component";
27
+ import * as i13 from "./columns/filter-cell-template.directive";
28
+ import * as i14 from "./columns/filter-menu-template.directive";
29
+ import * as i15 from "./columns/cell-template.directive";
30
+ import * as i16 from "./columns/edit-template.directive";
31
+ import * as i17 from "./columns/column-menu-template.directive";
32
+ import * as i18 from "./columns/header-template.directive";
33
+ import * as i19 from "./columns/footer-template.directive";
34
+ import * as i20 from "./expanded-state/expandable.directive";
35
+ import * as i21 from "./dragging/dependency-drag-create.directive";
36
+ import * as i22 from "./timeline/timeline-day-view.component";
37
+ import * as i23 from "./timeline/timeline-week-view.component";
38
+ import * as i24 from "./timeline/timeline-month-view.component";
39
+ import * as i25 from "./timeline/timeline-year-view.component";
40
+ import * as i26 from "./selection/selectable.directive";
41
+ import * as i27 from "./localization/custom-messages.component";
42
+ import * as i28 from "./editing/add-task.component";
43
+ import * as i29 from "./dragging/task-drag.directive";
44
+ import * as i30 from "./template-directives/task-tooltip-template.directive";
44
45
  // IMPORTANT: NgModule export kept for backwards compatibility
45
46
  /**
46
47
  * Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the Gantt component.
@@ -64,7 +65,7 @@ import * as i29 from "./template-directives/task-tooltip-template.directive";
64
65
  */
65
66
  export class GanttModule {
66
67
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
67
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", 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, i28.TaskDragDirective, i29.GanttTaskTooltipTemplateDirective], 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, i28.TaskDragDirective, i29.GanttTaskTooltipTemplateDirective] });
68
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: GanttModule, imports: [i1.GanttComponent, i2.GanttFlatBindingDirective, i3.GanttHierarchyBindingDirective, i4.GanttTaskContentTemplateDirective, i5.GanttTaskTemplateDirective, i6.GanttSummaryTaskTemplateDirective, i7.GanttTaskDragTooltipTemplateDirective, i8.ToolbarTemplateDirective, i9.ViewSelectorComponent, i10.GanttColumnComponent, i11.GanttColumnGroupComponent, i12.GanttSpanColumnComponent, i13.FilterCellTemplateDirective, i14.FilterMenuTemplateDirective, i15.CellTemplateDirective, i16.EditTemplateDirective, i17.ColumnMenuTemplateDirective, i18.HeaderTemplateDirective, i19.FooterTemplateDirective, i20.GanttExpandableDirective, i21.DependencyDragCreateDirective, i22.TimelineDayViewComponent, i23.TimelineWeekViewComponent, i24.TimelineMonthViewComponent, i25.TimelineYearViewComponent, i26.SelectableDirective, i27.CustomMessagesComponent, i28.GanttAddTaskComponent, i29.TaskDragDirective, i30.GanttTaskTooltipTemplateDirective], exports: [i1.GanttComponent, i2.GanttFlatBindingDirective, i3.GanttHierarchyBindingDirective, i4.GanttTaskContentTemplateDirective, i5.GanttTaskTemplateDirective, i6.GanttSummaryTaskTemplateDirective, i7.GanttTaskDragTooltipTemplateDirective, i8.ToolbarTemplateDirective, i9.ViewSelectorComponent, i10.GanttColumnComponent, i11.GanttColumnGroupComponent, i12.GanttSpanColumnComponent, i13.FilterCellTemplateDirective, i14.FilterMenuTemplateDirective, i15.CellTemplateDirective, i16.EditTemplateDirective, i17.ColumnMenuTemplateDirective, i18.HeaderTemplateDirective, i19.FooterTemplateDirective, i20.GanttExpandableDirective, i21.DependencyDragCreateDirective, i22.TimelineDayViewComponent, i23.TimelineWeekViewComponent, i24.TimelineMonthViewComponent, i25.TimelineYearViewComponent, i26.SelectableDirective, i27.CustomMessagesComponent, i28.GanttAddTaskComponent, i29.TaskDragDirective, i30.GanttTaskTooltipTemplateDirective] });
68
69
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttModule, providers: [{
69
70
  provide: L10N_PREFIX,
70
71
  useValue: 'kendo.gantt'
@@ -92,7 +93,7 @@ export class GanttModule {
92
93
  DayPeriodService,
93
94
  // TreeListModule providers
94
95
  ColumnResizingService
95
- ], imports: [i1.GanttComponent, i8.ViewSelectorComponent, i27.GanttAddTaskComponent] });
96
+ ], imports: [i1.GanttComponent, i9.ViewSelectorComponent, i28.GanttAddTaskComponent] });
96
97
  }
97
98
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttModule, decorators: [{
98
99
  type: NgModule,
package/esm2022/index.mjs CHANGED
@@ -36,6 +36,7 @@ export { LocalizedMessagesDirective } from './localization/localized-messages.di
36
36
  export { CustomMessagesComponent } from './localization/custom-messages.component';
37
37
  export { TaskDragDirective } from './dragging/task-drag.directive';
38
38
  export { GanttTaskTooltipTemplateDirective } from './template-directives/task-tooltip-template.directive';
39
+ export { GanttTaskDragTooltipTemplateDirective } from './template-directives/task-drag-tooltip-template.directive';
39
40
  export * from './models/models';
40
41
  export * from './columns/columns';
41
42
  export * from './directives';
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1765533258,
14
- version: '21.3.1-develop.1',
13
+ publishDate: 1766140464,
14
+ version: '21.4.0-develop.10',
15
15
  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'
16
16
  };
@@ -79,7 +79,14 @@ export class GanttTaskBase {
79
79
  return (startFraction + monthsDiff + endFraction) * this.slotWidth;
80
80
  }
81
81
  else {
82
- const fraction = (taskEnd.getDate() - taskStart.getDate()) / totalDaysInStartMonth;
82
+ const daysDiff = taskEnd.getDate() - taskStart.getDate();
83
+ // same-day tasks - calculate the fraction based on time difference instead of day to avoid division by zero
84
+ if (daysDiff === 0) {
85
+ const timeDiffMs = taskEnd.getTime() - taskStart.getTime();
86
+ const dayFraction = timeDiffMs / MS_PER_DAY;
87
+ return (dayFraction / totalDaysInStartMonth) * this.slotWidth;
88
+ }
89
+ const fraction = daysDiff / totalDaysInStartMonth;
83
90
  return fraction * this.slotWidth;
84
91
  }
85
92
  }
@@ -0,0 +1,47 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive, Optional, TemplateRef } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Customizes the content of the tooltip that appears when you drag or resize a Gantt task.
9
+ * Place the `kendoGanttTaskDragTooltipTemplate` directive on an `<ng-template>` tag inside the `<kendo-gantt>` component.
10
+ *
11
+ * The template context provides an object with the following properties:
12
+ * * `start`&mdash;The updated start date during the drag operation.
13
+ * * `end`&mdash;The updated end date during the drag operation.
14
+ * * `completionRatio`&mdash;The completion ratio of the task as a decimal value between 0 and 1.
15
+ * * `task`&mdash;The original data item of the task being dragged. Contains the properties of the [`GanttTask`](slug:api_gantt_gantttask) interface.
16
+ *
17
+ * @example
18
+ * ```html
19
+ * <kendo-gantt
20
+ * [kendoGanttHierarchyBinding]="data"
21
+ * kendoGanttTaskDrag
22
+ * (taskDragEnd)="onDragEnd($event)">
23
+ * <ng-template kendoGanttTaskDragTooltipTemplate let-dragData>
24
+ * <div> {{ dragData.task.title }} </div>
25
+ * <div> Start: {{ dragData.start | date: 'h:mm a' }} </div>
26
+ * <div> End: {{ dragData.end | date: 'h:mm a' }} </div>
27
+ * </ng-template>
28
+ * </kendo-gantt>
29
+ * ```
30
+ */
31
+ export class GanttTaskDragTooltipTemplateDirective {
32
+ templateRef;
33
+ constructor(templateRef) {
34
+ this.templateRef = templateRef;
35
+ }
36
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttTaskDragTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
37
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: GanttTaskDragTooltipTemplateDirective, isStandalone: true, selector: "[kendoGanttTaskDragTooltipTemplate]", ngImport: i0 });
38
+ }
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttTaskDragTooltipTemplateDirective, decorators: [{
40
+ type: Directive,
41
+ args: [{
42
+ selector: '[kendoGanttTaskDragTooltipTemplate]',
43
+ standalone: true
44
+ }]
45
+ }], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
46
+ type: Optional
47
+ }] }] });
@@ -20,6 +20,7 @@ import { KENDO_TOOLTIP, TooltipDirective } from '@progress/kendo-angular-tooltip
20
20
  import { DatePipe, NumberPipe } from '@progress/kendo-angular-intl';
21
21
  import { GanttTaskTooltipTemplateDirective } from '../template-directives/task-tooltip-template.directive';
22
22
  import { GanttLocalizationService } from '../localization/gantt-localization.service';
23
+ import { GanttTaskDragTooltipTemplateDirective } from '../template-directives/task-drag-tooltip-template.directive';
23
24
  import * as i0 from "@angular/core";
24
25
  import * as i1 from "../scrolling/scroll-sync.service";
25
26
  import * as i2 from "../dependencies/dependency-dom.service";
@@ -70,6 +71,7 @@ export class GanttTimelineComponent {
70
71
  dragScrollSettings;
71
72
  currentTimeMarker;
72
73
  customTooltipTemplate;
74
+ customDragTooltipTemplate;
73
75
  tooltipOptions;
74
76
  selectable;
75
77
  isTaskSelected;
@@ -143,7 +145,8 @@ export class GanttTimelineComponent {
143
145
  this.dragResult = {
144
146
  start: e.start,
145
147
  end: e.end,
146
- completionRatio: e.completionRatio
148
+ completionRatio: e.completionRatio,
149
+ task: e.item
147
150
  };
148
151
  if (this.completion) {
149
152
  const dragHandle = e.dragEvent.dragTarget;
@@ -234,7 +237,7 @@ export class GanttTimelineComponent {
234
237
  });
235
238
  }
236
239
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttTimelineComponent, deps: [{ token: i1.ScrollSyncService }, { token: i2.DependencyDomService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i3.CurrentTimeMarkerService }, { token: i4.GanttLocalizationService }, { token: i5.TaskDragService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
237
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: GanttTimelineComponent, isStandalone: true, selector: "kendo-gantt-timeline", inputs: { rows: "rows", slots: "slots", groupSlots: "groupSlots", tableWidth: "tableWidth", activeView: "activeView", taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate", summaryTaskTemplate: "summaryTaskTemplate", taskClass: "taskClass", renderDependencyDragClues: "renderDependencyDragClues", dragScrollSettings: "dragScrollSettings", currentTimeMarker: "currentTimeMarker", customTooltipTemplate: "customTooltipTemplate", tooltipOptions: "tooltipOptions", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, viewQueries: [{ propertyName: "timelineContent", first: true, predicate: ["timelineContent"], descendants: true, static: true }, { propertyName: "timelineColumns", first: true, predicate: ["timelineColumns"], descendants: true, static: true }, { propertyName: "timelineHeaderWrap", first: true, predicate: ["timelineHeaderWrap"], descendants: true, static: true }, { propertyName: "tasksContainer", first: true, predicate: ["tasksContainer"], descendants: true, static: true }, { propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }, { propertyName: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
240
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: GanttTimelineComponent, isStandalone: true, selector: "kendo-gantt-timeline", inputs: { rows: "rows", slots: "slots", groupSlots: "groupSlots", tableWidth: "tableWidth", activeView: "activeView", taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate", summaryTaskTemplate: "summaryTaskTemplate", taskClass: "taskClass", renderDependencyDragClues: "renderDependencyDragClues", dragScrollSettings: "dragScrollSettings", currentTimeMarker: "currentTimeMarker", customTooltipTemplate: "customTooltipTemplate", customDragTooltipTemplate: "customDragTooltipTemplate", tooltipOptions: "tooltipOptions", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, viewQueries: [{ propertyName: "timelineContent", first: true, predicate: ["timelineContent"], descendants: true, static: true }, { propertyName: "timelineColumns", first: true, predicate: ["timelineColumns"], descendants: true, static: true }, { propertyName: "timelineHeaderWrap", first: true, predicate: ["timelineHeaderWrap"], descendants: true, static: true }, { propertyName: "tasksContainer", first: true, predicate: ["tasksContainer"], descendants: true, static: true }, { propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }, { propertyName: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
238
241
  <div class="k-gantt-timeline k-grid k-grid-md">
239
242
  <div class="k-grid-header">
240
243
  <div #timelineHeaderWrap class="k-grid-header-wrap">
@@ -307,7 +310,7 @@ export class GanttTimelineComponent {
307
310
 
308
311
  <table kendoTooltip
309
312
  #tooltip="kendoTooltip"
310
- [tooltipTemplate]="completion ? completionRatioTooltip : dragging ? resizingTooltip : customTooltipTemplate ? customTooltip : tooltipTemplate"
313
+ [tooltipTemplate]="completion ? completionRatioTooltip : dragging ? (customDragTooltipTemplate ? customDragTooltip : resizingTooltip) : customTooltipTemplate ? customTooltip : tooltipTemplate"
311
314
  [position]="tooltipOptions.position"
312
315
  [callout]="!dragging"
313
316
  [tooltipClass]="dragging ? 'k-gantt-resize-hint' : undefined"
@@ -359,6 +362,9 @@ export class GanttTimelineComponent {
359
362
  <div>{{messageFor('tooltipEndDateText')}}: {{dragResult?.end | kendoDate: 'HH:mm a EEE, MMM d'}}</div>
360
363
  </div>
361
364
  </ng-template>
365
+ <ng-template #customDragTooltip>
366
+ <ng-container *ngTemplateOutlet="customDragTooltipTemplate.templateRef; context: { $implicit: dragResult }"></ng-container>
367
+ </ng-template>
362
368
  <ng-template #completionRatioTooltip>
363
369
  <div class="k-tooltip-content">
364
370
  <div>{{dragResult?.completionRatio | kendoNumber: 'p'}}</div>
@@ -463,7 +469,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
463
469
 
464
470
  <table kendoTooltip
465
471
  #tooltip="kendoTooltip"
466
- [tooltipTemplate]="completion ? completionRatioTooltip : dragging ? resizingTooltip : customTooltipTemplate ? customTooltip : tooltipTemplate"
472
+ [tooltipTemplate]="completion ? completionRatioTooltip : dragging ? (customDragTooltipTemplate ? customDragTooltip : resizingTooltip) : customTooltipTemplate ? customTooltip : tooltipTemplate"
467
473
  [position]="tooltipOptions.position"
468
474
  [callout]="!dragging"
469
475
  [tooltipClass]="dragging ? 'k-gantt-resize-hint' : undefined"
@@ -515,6 +521,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
515
521
  <div>{{messageFor('tooltipEndDateText')}}: {{dragResult?.end | kendoDate: 'HH:mm a EEE, MMM d'}}</div>
516
522
  </div>
517
523
  </ng-template>
524
+ <ng-template #customDragTooltip>
525
+ <ng-container *ngTemplateOutlet="customDragTooltipTemplate.templateRef; context: { $implicit: dragResult }"></ng-container>
526
+ </ng-template>
518
527
  <ng-template #completionRatioTooltip>
519
528
  <div class="k-tooltip-content">
520
529
  <div>{{dragResult?.completionRatio | kendoNumber: 'p'}}</div>
@@ -594,6 +603,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
594
603
  type: Input
595
604
  }], customTooltipTemplate: [{
596
605
  type: Input
606
+ }], customDragTooltipTemplate: [{
607
+ type: Input
597
608
  }], tooltipOptions: [{
598
609
  type: Input
599
610
  }], selectable: [{
@@ -44,8 +44,8 @@ const packageMetadata = {
44
44
  productName: 'Kendo UI for Angular',
45
45
  productCode: 'KENDOUIANGULAR',
46
46
  productCodes: ['KENDOUIANGULAR'],
47
- publishDate: 1765533258,
48
- version: '21.3.1-develop.1',
47
+ publishDate: 1766140464,
48
+ version: '21.4.0-develop.10',
49
49
  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'
50
50
  };
51
51
 
@@ -2132,7 +2132,14 @@ class GanttTaskBase {
2132
2132
  return (startFraction + monthsDiff + endFraction) * this.slotWidth;
2133
2133
  }
2134
2134
  else {
2135
- const fraction = (taskEnd.getDate() - taskStart.getDate()) / totalDaysInStartMonth;
2135
+ const daysDiff = taskEnd.getDate() - taskStart.getDate();
2136
+ // same-day tasks - calculate the fraction based on time difference instead of day to avoid division by zero
2137
+ if (daysDiff === 0) {
2138
+ const timeDiffMs = taskEnd.getTime() - taskStart.getTime();
2139
+ const dayFraction = timeDiffMs / MS_PER_DAY;
2140
+ return (dayFraction / totalDaysInStartMonth) * this.slotWidth;
2141
+ }
2142
+ const fraction = daysDiff / totalDaysInStartMonth;
2136
2143
  return fraction * this.slotWidth;
2137
2144
  }
2138
2145
  }
@@ -3203,6 +3210,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
3203
3210
  type: Injectable
3204
3211
  }], ctorParameters: () => [{ type: i1$1.LocalizationService }] });
3205
3212
 
3213
+ /**
3214
+ * Customizes the content of the tooltip that appears when you drag or resize a Gantt task.
3215
+ * Place the `kendoGanttTaskDragTooltipTemplate` directive on an `<ng-template>` tag inside the `<kendo-gantt>` component.
3216
+ *
3217
+ * The template context provides an object with the following properties:
3218
+ * * `start`&mdash;The updated start date during the drag operation.
3219
+ * * `end`&mdash;The updated end date during the drag operation.
3220
+ * * `completionRatio`&mdash;The completion ratio of the task as a decimal value between 0 and 1.
3221
+ * * `task`&mdash;The original data item of the task being dragged. Contains the properties of the [`GanttTask`](slug:api_gantt_gantttask) interface.
3222
+ *
3223
+ * @example
3224
+ * ```html
3225
+ * <kendo-gantt
3226
+ * [kendoGanttHierarchyBinding]="data"
3227
+ * kendoGanttTaskDrag
3228
+ * (taskDragEnd)="onDragEnd($event)">
3229
+ * <ng-template kendoGanttTaskDragTooltipTemplate let-dragData>
3230
+ * <div> {{ dragData.task.title }} </div>
3231
+ * <div> Start: {{ dragData.start | date: 'h:mm a' }} </div>
3232
+ * <div> End: {{ dragData.end | date: 'h:mm a' }} </div>
3233
+ * </ng-template>
3234
+ * </kendo-gantt>
3235
+ * ```
3236
+ */
3237
+ class GanttTaskDragTooltipTemplateDirective {
3238
+ templateRef;
3239
+ constructor(templateRef) {
3240
+ this.templateRef = templateRef;
3241
+ }
3242
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttTaskDragTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3243
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: GanttTaskDragTooltipTemplateDirective, isStandalone: true, selector: "[kendoGanttTaskDragTooltipTemplate]", ngImport: i0 });
3244
+ }
3245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttTaskDragTooltipTemplateDirective, decorators: [{
3246
+ type: Directive,
3247
+ args: [{
3248
+ selector: '[kendoGanttTaskDragTooltipTemplate]',
3249
+ standalone: true
3250
+ }]
3251
+ }], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
3252
+ type: Optional
3253
+ }] }] });
3254
+
3206
3255
  /**
3207
3256
  * @hidden
3208
3257
  */
@@ -3246,6 +3295,7 @@ class GanttTimelineComponent {
3246
3295
  dragScrollSettings;
3247
3296
  currentTimeMarker;
3248
3297
  customTooltipTemplate;
3298
+ customDragTooltipTemplate;
3249
3299
  tooltipOptions;
3250
3300
  selectable;
3251
3301
  isTaskSelected;
@@ -3319,7 +3369,8 @@ class GanttTimelineComponent {
3319
3369
  this.dragResult = {
3320
3370
  start: e.start,
3321
3371
  end: e.end,
3322
- completionRatio: e.completionRatio
3372
+ completionRatio: e.completionRatio,
3373
+ task: e.item
3323
3374
  };
3324
3375
  if (this.completion) {
3325
3376
  const dragHandle = e.dragEvent.dragTarget;
@@ -3410,7 +3461,7 @@ class GanttTimelineComponent {
3410
3461
  });
3411
3462
  }
3412
3463
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttTimelineComponent, deps: [{ token: ScrollSyncService }, { token: DependencyDomService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: CurrentTimeMarkerService }, { token: GanttLocalizationService }, { token: TaskDragService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
3413
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: GanttTimelineComponent, isStandalone: true, selector: "kendo-gantt-timeline", inputs: { rows: "rows", slots: "slots", groupSlots: "groupSlots", tableWidth: "tableWidth", activeView: "activeView", taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate", summaryTaskTemplate: "summaryTaskTemplate", taskClass: "taskClass", renderDependencyDragClues: "renderDependencyDragClues", dragScrollSettings: "dragScrollSettings", currentTimeMarker: "currentTimeMarker", customTooltipTemplate: "customTooltipTemplate", tooltipOptions: "tooltipOptions", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, viewQueries: [{ propertyName: "timelineContent", first: true, predicate: ["timelineContent"], descendants: true, static: true }, { propertyName: "timelineColumns", first: true, predicate: ["timelineColumns"], descendants: true, static: true }, { propertyName: "timelineHeaderWrap", first: true, predicate: ["timelineHeaderWrap"], descendants: true, static: true }, { propertyName: "tasksContainer", first: true, predicate: ["tasksContainer"], descendants: true, static: true }, { propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }, { propertyName: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
3464
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: GanttTimelineComponent, isStandalone: true, selector: "kendo-gantt-timeline", inputs: { rows: "rows", slots: "slots", groupSlots: "groupSlots", tableWidth: "tableWidth", activeView: "activeView", taskContentTemplate: "taskContentTemplate", taskTemplate: "taskTemplate", summaryTaskTemplate: "summaryTaskTemplate", taskClass: "taskClass", renderDependencyDragClues: "renderDependencyDragClues", dragScrollSettings: "dragScrollSettings", currentTimeMarker: "currentTimeMarker", customTooltipTemplate: "customTooltipTemplate", customDragTooltipTemplate: "customDragTooltipTemplate", tooltipOptions: "tooltipOptions", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, viewQueries: [{ propertyName: "timelineContent", first: true, predicate: ["timelineContent"], descendants: true, static: true }, { propertyName: "timelineColumns", first: true, predicate: ["timelineColumns"], descendants: true, static: true }, { propertyName: "timelineHeaderWrap", first: true, predicate: ["timelineHeaderWrap"], descendants: true, static: true }, { propertyName: "tasksContainer", first: true, predicate: ["tasksContainer"], descendants: true, static: true }, { propertyName: "tooltip", first: true, predicate: TooltipDirective, descendants: true }, { propertyName: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
3414
3465
  <div class="k-gantt-timeline k-grid k-grid-md">
3415
3466
  <div class="k-grid-header">
3416
3467
  <div #timelineHeaderWrap class="k-grid-header-wrap">
@@ -3483,7 +3534,7 @@ class GanttTimelineComponent {
3483
3534
 
3484
3535
  <table kendoTooltip
3485
3536
  #tooltip="kendoTooltip"
3486
- [tooltipTemplate]="completion ? completionRatioTooltip : dragging ? resizingTooltip : customTooltipTemplate ? customTooltip : tooltipTemplate"
3537
+ [tooltipTemplate]="completion ? completionRatioTooltip : dragging ? (customDragTooltipTemplate ? customDragTooltip : resizingTooltip) : customTooltipTemplate ? customTooltip : tooltipTemplate"
3487
3538
  [position]="tooltipOptions.position"
3488
3539
  [callout]="!dragging"
3489
3540
  [tooltipClass]="dragging ? 'k-gantt-resize-hint' : undefined"
@@ -3535,6 +3586,9 @@ class GanttTimelineComponent {
3535
3586
  <div>{{messageFor('tooltipEndDateText')}}: {{dragResult?.end | kendoDate: 'HH:mm a EEE, MMM d'}}</div>
3536
3587
  </div>
3537
3588
  </ng-template>
3589
+ <ng-template #customDragTooltip>
3590
+ <ng-container *ngTemplateOutlet="customDragTooltipTemplate.templateRef; context: { $implicit: dragResult }"></ng-container>
3591
+ </ng-template>
3538
3592
  <ng-template #completionRatioTooltip>
3539
3593
  <div class="k-tooltip-content">
3540
3594
  <div>{{dragResult?.completionRatio | kendoNumber: 'p'}}</div>
@@ -3639,7 +3693,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
3639
3693
 
3640
3694
  <table kendoTooltip
3641
3695
  #tooltip="kendoTooltip"
3642
- [tooltipTemplate]="completion ? completionRatioTooltip : dragging ? resizingTooltip : customTooltipTemplate ? customTooltip : tooltipTemplate"
3696
+ [tooltipTemplate]="completion ? completionRatioTooltip : dragging ? (customDragTooltipTemplate ? customDragTooltip : resizingTooltip) : customTooltipTemplate ? customTooltip : tooltipTemplate"
3643
3697
  [position]="tooltipOptions.position"
3644
3698
  [callout]="!dragging"
3645
3699
  [tooltipClass]="dragging ? 'k-gantt-resize-hint' : undefined"
@@ -3691,6 +3745,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
3691
3745
  <div>{{messageFor('tooltipEndDateText')}}: {{dragResult?.end | kendoDate: 'HH:mm a EEE, MMM d'}}</div>
3692
3746
  </div>
3693
3747
  </ng-template>
3748
+ <ng-template #customDragTooltip>
3749
+ <ng-container *ngTemplateOutlet="customDragTooltipTemplate.templateRef; context: { $implicit: dragResult }"></ng-container>
3750
+ </ng-template>
3694
3751
  <ng-template #completionRatioTooltip>
3695
3752
  <div class="k-tooltip-content">
3696
3753
  <div>{{dragResult?.completionRatio | kendoNumber: 'p'}}</div>
@@ -3770,6 +3827,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
3770
3827
  type: Input
3771
3828
  }], customTooltipTemplate: [{
3772
3829
  type: Input
3830
+ }], customDragTooltipTemplate: [{
3831
+ type: Input
3773
3832
  }], tooltipOptions: [{
3774
3833
  type: Input
3775
3834
  }], selectable: [{
@@ -6145,6 +6204,14 @@ class GanttComponent {
6145
6204
  * Therefore the `static` property needs to be set to `false`.
6146
6205
  */
6147
6206
  taskTooltipTemplate;
6207
+ /**
6208
+ * @hidden
6209
+ *
6210
+ * Queries the template for a task drag tooltip template declaration.
6211
+ * In newer Angular versions the ngIf-ed value gets evaluated after the static query is resolved.
6212
+ * Therefore the `static` property needs to be set to `false`.
6213
+ */
6214
+ taskDragTooltipTemplate;
6148
6215
  /**
6149
6216
  * @hidden
6150
6217
  *
@@ -7403,7 +7470,7 @@ class GanttComponent {
7403
7470
  TimelineScrollService,
7404
7471
  NavigationService,
7405
7472
  CurrentTimeMarkerService
7406
- ], queries: [{ propertyName: "taskContentTemplate", first: true, predicate: GanttTaskContentTemplateDirective, descendants: true }, { propertyName: "taskTemplate", first: true, predicate: GanttTaskTemplateDirective, descendants: true }, { propertyName: "taskTooltipTemplate", first: true, predicate: GanttTaskTooltipTemplateDirective, descendants: true }, { propertyName: "summaryTaskTemplate", first: true, predicate: GanttSummaryTaskTemplateDirective, descendants: true }, { propertyName: "toolbarTemplateChildren", predicate: ToolbarTemplateDirective }, { propertyName: "columns", predicate: GanttColumnBase }, { propertyName: "views", predicate: ViewBase }], viewQueries: [{ propertyName: "treeList", first: true, predicate: TreeListComponent, descendants: true, static: true }, { propertyName: "timeline", first: true, predicate: GanttTimelineComponent, descendants: true }], exportAs: ["kendoGantt"], usesOnChanges: true, ngImport: i0, template: `
7473
+ ], queries: [{ propertyName: "taskContentTemplate", first: true, predicate: GanttTaskContentTemplateDirective, descendants: true }, { propertyName: "taskTemplate", first: true, predicate: GanttTaskTemplateDirective, descendants: true }, { propertyName: "taskTooltipTemplate", first: true, predicate: GanttTaskTooltipTemplateDirective, descendants: true }, { propertyName: "taskDragTooltipTemplate", first: true, predicate: GanttTaskDragTooltipTemplateDirective, descendants: true }, { propertyName: "summaryTaskTemplate", first: true, predicate: GanttSummaryTaskTemplateDirective, descendants: true }, { propertyName: "toolbarTemplateChildren", predicate: ToolbarTemplateDirective }, { propertyName: "columns", predicate: GanttColumnBase }, { propertyName: "views", predicate: ViewBase }], viewQueries: [{ propertyName: "treeList", first: true, predicate: TreeListComponent, descendants: true, static: true }, { propertyName: "timeline", first: true, predicate: GanttTimelineComponent, descendants: true }], exportAs: ["kendoGantt"], usesOnChanges: true, ngImport: i0, template: `
7407
7474
  <ng-container kendoGanttLocalizedMessages
7408
7475
  i18n-taskEditingGeneralTabTitle="kendo.gantt.taskEditingGeneralTabTitle|The title of the 'General' tab of the editing dialog TabStrip"
7409
7476
  taskEditingGeneralTabTitle="General"
@@ -7748,6 +7815,7 @@ class GanttComponent {
7748
7815
  mousedown: handleTimelineMouseDown
7749
7816
  }"
7750
7817
  [customTooltipTemplate]="taskTooltipTemplate"
7818
+ [customDragTooltipTemplate]="taskDragTooltipTemplate"
7751
7819
  [tooltipOptions]="taskTooltipOptions"
7752
7820
  [scope]="this"
7753
7821
  ></kendo-gantt-timeline>
@@ -7791,7 +7859,7 @@ class GanttComponent {
7791
7859
  @if (showLicenseWatermark) {
7792
7860
  <div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
7793
7861
  }
7794
- `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoGanttLocalizedMessages]" }, { kind: "component", type: ToolbarComponent, selector: "kendo-gantt-toolbar", inputs: ["showAddTask", "showViewSelector", "views", "activeView", "toolbarTemplate", "navigable", "position"], outputs: ["activeViewChange"] }, { kind: "component", type: SplitterComponent, selector: "kendo-splitter", inputs: ["orientation", "splitbarWidth", "resizeStep", "splitterBarClass"], outputs: ["layoutChange"], exportAs: ["kendoSplitter"] }, { kind: "component", type: SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: ["order", "size", "splitterBarAttributes", "splitterBarClass", "min", "max", "resizable", "collapsible", "scrollable", "collapsed", "orientation", "containsSplitter", "overlayContent"], outputs: ["sizeChange", "collapsedChange"], exportAs: ["kendoSplitterPane"] }, { kind: "component", type: TreeListComponent, selector: "kendo-treelist", inputs: ["aria-label", "data", "pageSize", "height", "rowHeight", "skip", "scrollable", "sort", "trackBy", "filter", "virtualColumns", "filterable", "sortable", "pageable", "navigable", "autoSize", "rowClass", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "idField", "selectable", "isSelected", "rowReorderable", "columns", "fetchChildren", "hasChildren", "isExpanded"], outputs: ["selectionChange", "filterChange", "pageChange", "sortChange", "dataStateChange", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "scrollBottom", "contentScroll", "expand", "collapse", "expandStateChange", "rowReorder"], exportAs: ["kendoTreeList"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: CustomMessagesComponent$2, selector: "kendo-treelist-messages" }, { kind: "component", type: GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: ["rows", "slots", "groupSlots", "tableWidth", "activeView", "taskContentTemplate", "taskTemplate", "summaryTaskTemplate", "taskClass", "renderDependencyDragClues", "dragScrollSettings", "currentTimeMarker", "customTooltipTemplate", "tooltipOptions", "selectable", "isTaskSelected", "isExpanded", "dependencies"], outputs: ["timelineContainerPress", "timelineContainerDrag", "timelineContainerRelease"] }, { kind: "component", type: EditDialogComponent, selector: "kendo-gantt-edit-dialog", inputs: ["data"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer", inputs: ["width"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }] });
7862
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoGanttLocalizedMessages]" }, { kind: "component", type: ToolbarComponent, selector: "kendo-gantt-toolbar", inputs: ["showAddTask", "showViewSelector", "views", "activeView", "toolbarTemplate", "navigable", "position"], outputs: ["activeViewChange"] }, { kind: "component", type: SplitterComponent, selector: "kendo-splitter", inputs: ["orientation", "splitbarWidth", "resizeStep", "splitterBarClass"], outputs: ["layoutChange"], exportAs: ["kendoSplitter"] }, { kind: "component", type: SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: ["order", "size", "splitterBarAttributes", "splitterBarClass", "min", "max", "resizable", "collapsible", "scrollable", "collapsed", "orientation", "containsSplitter", "overlayContent"], outputs: ["sizeChange", "collapsedChange"], exportAs: ["kendoSplitterPane"] }, { kind: "component", type: TreeListComponent, selector: "kendo-treelist", inputs: ["aria-label", "data", "pageSize", "height", "rowHeight", "skip", "scrollable", "sort", "trackBy", "filter", "virtualColumns", "filterable", "sortable", "pageable", "navigable", "autoSize", "rowClass", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "idField", "selectable", "isSelected", "rowReorderable", "columns", "fetchChildren", "hasChildren", "isExpanded"], outputs: ["selectionChange", "filterChange", "pageChange", "sortChange", "dataStateChange", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "scrollBottom", "contentScroll", "expand", "collapse", "expandStateChange", "rowReorder"], exportAs: ["kendoTreeList"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: CustomMessagesComponent$2, selector: "kendo-treelist-messages" }, { kind: "component", type: GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: ["rows", "slots", "groupSlots", "tableWidth", "activeView", "taskContentTemplate", "taskTemplate", "summaryTaskTemplate", "taskClass", "renderDependencyDragClues", "dragScrollSettings", "currentTimeMarker", "customTooltipTemplate", "customDragTooltipTemplate", "tooltipOptions", "selectable", "isTaskSelected", "isExpanded", "dependencies"], outputs: ["timelineContainerPress", "timelineContainerDrag", "timelineContainerRelease"] }, { kind: "component", type: EditDialogComponent, selector: "kendo-gantt-edit-dialog", inputs: ["data"] }, { kind: "component", type: DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation", "themeColor"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer", inputs: ["width"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]", inputs: ["licenseMessage"] }] });
7795
7863
  }
7796
7864
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttComponent, decorators: [{
7797
7865
  type: Component,
@@ -8172,6 +8240,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
8172
8240
  mousedown: handleTimelineMouseDown
8173
8241
  }"
8174
8242
  [customTooltipTemplate]="taskTooltipTemplate"
8243
+ [customDragTooltipTemplate]="taskDragTooltipTemplate"
8175
8244
  [tooltipOptions]="taskTooltipOptions"
8176
8245
  [scope]="this"
8177
8246
  ></kendo-gantt-timeline>
@@ -8237,6 +8306,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
8237
8306
  }], taskTooltipTemplate: [{
8238
8307
  type: ContentChild,
8239
8308
  args: [GanttTaskTooltipTemplateDirective]
8309
+ }], taskDragTooltipTemplate: [{
8310
+ type: ContentChild,
8311
+ args: [GanttTaskDragTooltipTemplateDirective]
8240
8312
  }], summaryTaskTemplate: [{
8241
8313
  type: ContentChild,
8242
8314
  args: [GanttSummaryTaskTemplateDirective]
@@ -9294,6 +9366,7 @@ const KENDO_GANTT = [
9294
9366
  GanttTaskContentTemplateDirective,
9295
9367
  GanttTaskTemplateDirective,
9296
9368
  GanttSummaryTaskTemplateDirective,
9369
+ GanttTaskDragTooltipTemplateDirective,
9297
9370
  ToolbarTemplateDirective,
9298
9371
  ViewSelectorComponent,
9299
9372
  GanttColumnComponent,
@@ -9342,7 +9415,7 @@ const KENDO_GANTT = [
9342
9415
  */
9343
9416
  class GanttModule {
9344
9417
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
9345
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: GanttModule, imports: [GanttComponent, GanttFlatBindingDirective, GanttHierarchyBindingDirective, GanttTaskContentTemplateDirective, GanttTaskTemplateDirective, GanttSummaryTaskTemplateDirective, ToolbarTemplateDirective, ViewSelectorComponent, GanttColumnComponent, GanttColumnGroupComponent, GanttSpanColumnComponent, FilterCellTemplateDirective, FilterMenuTemplateDirective, CellTemplateDirective, EditTemplateDirective, ColumnMenuTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, GanttExpandableDirective, DependencyDragCreateDirective, TimelineDayViewComponent, TimelineWeekViewComponent, TimelineMonthViewComponent, TimelineYearViewComponent, SelectableDirective, CustomMessagesComponent, GanttAddTaskComponent, TaskDragDirective, GanttTaskTooltipTemplateDirective], exports: [GanttComponent, GanttFlatBindingDirective, GanttHierarchyBindingDirective, GanttTaskContentTemplateDirective, GanttTaskTemplateDirective, GanttSummaryTaskTemplateDirective, ToolbarTemplateDirective, ViewSelectorComponent, GanttColumnComponent, GanttColumnGroupComponent, GanttSpanColumnComponent, FilterCellTemplateDirective, FilterMenuTemplateDirective, CellTemplateDirective, EditTemplateDirective, ColumnMenuTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, GanttExpandableDirective, DependencyDragCreateDirective, TimelineDayViewComponent, TimelineWeekViewComponent, TimelineMonthViewComponent, TimelineYearViewComponent, SelectableDirective, CustomMessagesComponent, GanttAddTaskComponent, TaskDragDirective, GanttTaskTooltipTemplateDirective] });
9418
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: GanttModule, imports: [GanttComponent, GanttFlatBindingDirective, GanttHierarchyBindingDirective, GanttTaskContentTemplateDirective, GanttTaskTemplateDirective, GanttSummaryTaskTemplateDirective, GanttTaskDragTooltipTemplateDirective, ToolbarTemplateDirective, ViewSelectorComponent, GanttColumnComponent, GanttColumnGroupComponent, GanttSpanColumnComponent, FilterCellTemplateDirective, FilterMenuTemplateDirective, CellTemplateDirective, EditTemplateDirective, ColumnMenuTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, GanttExpandableDirective, DependencyDragCreateDirective, TimelineDayViewComponent, TimelineWeekViewComponent, TimelineMonthViewComponent, TimelineYearViewComponent, SelectableDirective, CustomMessagesComponent, GanttAddTaskComponent, TaskDragDirective, GanttTaskTooltipTemplateDirective], exports: [GanttComponent, GanttFlatBindingDirective, GanttHierarchyBindingDirective, GanttTaskContentTemplateDirective, GanttTaskTemplateDirective, GanttSummaryTaskTemplateDirective, GanttTaskDragTooltipTemplateDirective, ToolbarTemplateDirective, ViewSelectorComponent, GanttColumnComponent, GanttColumnGroupComponent, GanttSpanColumnComponent, FilterCellTemplateDirective, FilterMenuTemplateDirective, CellTemplateDirective, EditTemplateDirective, ColumnMenuTemplateDirective, HeaderTemplateDirective, FooterTemplateDirective, GanttExpandableDirective, DependencyDragCreateDirective, TimelineDayViewComponent, TimelineWeekViewComponent, TimelineMonthViewComponent, TimelineYearViewComponent, SelectableDirective, CustomMessagesComponent, GanttAddTaskComponent, TaskDragDirective, GanttTaskTooltipTemplateDirective] });
9346
9419
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttModule, providers: [{
9347
9420
  provide: L10N_PREFIX,
9348
9421
  useValue: 'kendo.gantt'
@@ -9412,5 +9485,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
9412
9485
  * Generated bundle index. Do not edit.
9413
9486
  */
9414
9487
 
9415
- export { CellCloseEvent, CellTemplateDirective, ColumnMenuTemplateDirective, CustomMessagesComponent, DependenciesTableComponent, DependencyDragCreateDirective, DependencyType, DragValidationTooltipComponent, EditDialogComponent, EditTemplateDirective, FilterCellTemplateDirective, FilterMenuTemplateDirective, FooterTemplateDirective, GanttAddTaskComponent, GanttColumnBase, GanttColumnComponent, GanttColumnGroupComponent, GanttComponent, GanttDependencyDirective, GanttExpandableDirective, GanttFlatBindingDirective, GanttHeaderTableBodyComponent, GanttHierarchyBindingDirective, GanttMilestoneTaskComponent, GanttModule, GanttSpanColumnComponent, GanttSummaryTaskComponent, GanttSummaryTaskTemplateDirective, GanttTaskComponent, GanttTaskContentTemplateDirective, GanttTaskTemplateDirective, GanttTaskTooltipTemplateDirective, GanttTasksTableBodyComponent, GanttTimelineComponent, HeaderTemplateDirective, KENDO_GANTT, LocalizedMessagesDirective, SelectableDirective, TaskDragDirective, TaskFieldsComponent, TimelineDayViewComponent, TimelineMonthViewComponent, TimelineScrollableDirective, TimelineWeekViewComponent, TimelineYearViewComponent, ToolbarComponent, ToolbarTemplateDirective, ViewSelectorComponent };
9488
+ export { CellCloseEvent, CellTemplateDirective, ColumnMenuTemplateDirective, CustomMessagesComponent, DependenciesTableComponent, DependencyDragCreateDirective, DependencyType, DragValidationTooltipComponent, EditDialogComponent, EditTemplateDirective, FilterCellTemplateDirective, FilterMenuTemplateDirective, FooterTemplateDirective, GanttAddTaskComponent, GanttColumnBase, GanttColumnComponent, GanttColumnGroupComponent, GanttComponent, GanttDependencyDirective, GanttExpandableDirective, GanttFlatBindingDirective, GanttHeaderTableBodyComponent, GanttHierarchyBindingDirective, GanttMilestoneTaskComponent, GanttModule, GanttSpanColumnComponent, GanttSummaryTaskComponent, GanttSummaryTaskTemplateDirective, GanttTaskComponent, GanttTaskContentTemplateDirective, GanttTaskDragTooltipTemplateDirective, GanttTaskTemplateDirective, GanttTaskTooltipTemplateDirective, GanttTasksTableBodyComponent, GanttTimelineComponent, HeaderTemplateDirective, KENDO_GANTT, LocalizedMessagesDirective, SelectableDirective, TaskDragDirective, TaskFieldsComponent, TimelineDayViewComponent, TimelineMonthViewComponent, TimelineScrollableDirective, TimelineWeekViewComponent, TimelineYearViewComponent, ToolbarComponent, ToolbarTemplateDirective, ViewSelectorComponent };
9416
9489
 
@@ -42,6 +42,7 @@ import { CurrentTimeSettings } from './models/current-time-settings.interface';
42
42
  import { GanttTaskTooltipTemplateDirective } from './template-directives/task-tooltip-template.directive';
43
43
  import { TaskTooltipOptions } from './models/tooltip-options.interface';
44
44
  import { IntlService } from '@progress/kendo-angular-intl';
45
+ import { GanttTaskDragTooltipTemplateDirective } from './template-directives/task-drag-tooltip-template.directive';
45
46
  import * as i0 from "@angular/core";
46
47
  /**
47
48
  * Represents the [Kendo UI Gantt component for Angular](slug:overview_gantt).
@@ -138,6 +139,14 @@ export declare class GanttComponent implements AfterContentInit, OnChanges, OnDe
138
139
  * Therefore the `static` property needs to be set to `false`.
139
140
  */
140
141
  taskTooltipTemplate: GanttTaskTooltipTemplateDirective;
142
+ /**
143
+ * @hidden
144
+ *
145
+ * Queries the template for a task drag tooltip template declaration.
146
+ * In newer Angular versions the ngIf-ed value gets evaluated after the static query is resolved.
147
+ * Therefore the `static` property needs to be set to `false`.
148
+ */
149
+ taskDragTooltipTemplate: GanttTaskDragTooltipTemplateDirective;
141
150
  /**
142
151
  * @hidden
143
152
  *
@@ -749,5 +758,5 @@ export declare class GanttComponent implements AfterContentInit, OnChanges, OnDe
749
758
  private defaultValidateNewDependencyCallback;
750
759
  private handleKeydown;
751
760
  static ɵfac: i0.ɵɵFactoryDeclaration<GanttComponent, never>;
752
- static ɵcmp: i0.ɵɵComponentDeclaration<GanttComponent, "kendo-gantt", ["kendoGantt"], { "roleDescription": { "alias": "aria-roledescription"; "required": false; }; "role": { "alias": "role"; "required": false; }; "taskModelFields": { "alias": "taskModelFields"; "required": false; }; "dependencyModelFields": { "alias": "dependencyModelFields"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "data": { "alias": "data"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "validateNewDependency": { "alias": "validateNewDependency"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "toolbarSettings": { "alias": "toolbarSettings"; "required": false; }; "toolbarAriaLabel": { "alias": "toolbarAriaLabel"; "required": false; }; "fetchChildren": { "alias": "fetchChildren"; "required": false; }; "hasChildren": { "alias": "hasChildren"; "required": false; }; "dependencies": { "alias": "dependencies"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "workDayStart": { "alias": "workDayStart"; "required": false; }; "workDayEnd": { "alias": "workDayEnd"; "required": false; }; "workWeekStart": { "alias": "workWeekStart"; "required": false; }; "workWeekEnd": { "alias": "workWeekEnd"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "timelinePaneOptions": { "alias": "timelinePaneOptions"; "required": false; }; "treeListPaneOptions": { "alias": "treeListPaneOptions"; "required": false; }; "taskClass": { "alias": "taskClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "columnsAutoSize": { "alias": "columnsAutoSize"; "required": false; }; "currentTimeMarker": { "alias": "currentTimeMarker"; "required": false; }; "columnMenu": { "alias": "columnMenu"; "required": false; }; "columnsReorderable": { "alias": "columnsReorderable"; "required": false; }; "columnsResizable": { "alias": "columnsResizable"; "required": false; }; "dragScrollSettings": { "alias": "dragScrollSettings"; "required": false; }; "taskTooltipOptions": { "alias": "taskTooltipOptions"; "required": false; }; }, { "selectionChange": "selectionChange"; "rowExpand": "rowExpand"; "taskDblClick": "taskDblClick"; "cellDblClick": "cellDblClick"; "cellClose": "cellClose"; "taskDelete": "taskDelete"; "rowCollapse": "rowCollapse"; "remove": "remove"; "cancel": "cancel"; "save": "save"; "taskAdd": "taskAdd"; "dependencyAdd": "dependencyAdd"; "sortChange": "sortChange"; "filterChange": "filterChange"; "dataStateChange": "dataStateChange"; "treeListPaneCollapsedChange": "treeListPaneCollapsedChange"; "timelinePaneCollapsedChange": "timelinePaneCollapsedChange"; "timelinePaneSizeChange": "timelinePaneSizeChange"; "activeViewChange": "activeViewChange"; "columnResize": "columnResize"; "columnReorder": "columnReorder"; "columnVisibilityChange": "columnVisibilityChange"; "columnLockedChange": "columnLockedChange"; "cellClick": "cellClick"; "taskClick": "taskClick"; }, ["taskContentTemplate", "taskTemplate", "taskTooltipTemplate", "summaryTaskTemplate", "toolbarTemplateChildren", "columns", "views"], never, true, never>;
761
+ static ɵcmp: i0.ɵɵComponentDeclaration<GanttComponent, "kendo-gantt", ["kendoGantt"], { "roleDescription": { "alias": "aria-roledescription"; "required": false; }; "role": { "alias": "role"; "required": false; }; "taskModelFields": { "alias": "taskModelFields"; "required": false; }; "dependencyModelFields": { "alias": "dependencyModelFields"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "data": { "alias": "data"; "required": false; }; "isSelected": { "alias": "isSelected"; "required": false; }; "validateNewDependency": { "alias": "validateNewDependency"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "toolbarSettings": { "alias": "toolbarSettings"; "required": false; }; "toolbarAriaLabel": { "alias": "toolbarAriaLabel"; "required": false; }; "fetchChildren": { "alias": "fetchChildren"; "required": false; }; "hasChildren": { "alias": "hasChildren"; "required": false; }; "dependencies": { "alias": "dependencies"; "required": false; }; "sortable": { "alias": "sortable"; "required": false; }; "sort": { "alias": "sort"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "workDayStart": { "alias": "workDayStart"; "required": false; }; "workDayEnd": { "alias": "workDayEnd"; "required": false; }; "workWeekStart": { "alias": "workWeekStart"; "required": false; }; "workWeekEnd": { "alias": "workWeekEnd"; "required": false; }; "navigable": { "alias": "navigable"; "required": false; }; "timelinePaneOptions": { "alias": "timelinePaneOptions"; "required": false; }; "treeListPaneOptions": { "alias": "treeListPaneOptions"; "required": false; }; "taskClass": { "alias": "taskClass"; "required": false; }; "rowClass": { "alias": "rowClass"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "columnsAutoSize": { "alias": "columnsAutoSize"; "required": false; }; "currentTimeMarker": { "alias": "currentTimeMarker"; "required": false; }; "columnMenu": { "alias": "columnMenu"; "required": false; }; "columnsReorderable": { "alias": "columnsReorderable"; "required": false; }; "columnsResizable": { "alias": "columnsResizable"; "required": false; }; "dragScrollSettings": { "alias": "dragScrollSettings"; "required": false; }; "taskTooltipOptions": { "alias": "taskTooltipOptions"; "required": false; }; }, { "selectionChange": "selectionChange"; "rowExpand": "rowExpand"; "taskDblClick": "taskDblClick"; "cellDblClick": "cellDblClick"; "cellClose": "cellClose"; "taskDelete": "taskDelete"; "rowCollapse": "rowCollapse"; "remove": "remove"; "cancel": "cancel"; "save": "save"; "taskAdd": "taskAdd"; "dependencyAdd": "dependencyAdd"; "sortChange": "sortChange"; "filterChange": "filterChange"; "dataStateChange": "dataStateChange"; "treeListPaneCollapsedChange": "treeListPaneCollapsedChange"; "timelinePaneCollapsedChange": "timelinePaneCollapsedChange"; "timelinePaneSizeChange": "timelinePaneSizeChange"; "activeViewChange": "activeViewChange"; "columnResize": "columnResize"; "columnReorder": "columnReorder"; "columnVisibilityChange": "columnVisibilityChange"; "columnLockedChange": "columnLockedChange"; "cellClick": "cellClick"; "taskClick": "taskClick"; }, ["taskContentTemplate", "taskTemplate", "taskTooltipTemplate", "taskDragTooltipTemplate", "summaryTaskTemplate", "toolbarTemplateChildren", "columns", "views"], never, true, never>;
753
762
  }
package/gantt.module.d.ts CHANGED
@@ -9,29 +9,30 @@ import * as i3 from "./binding-directives/hierarchy-binding.directive";
9
9
  import * as i4 from "./template-directives/task-content-template.directive";
10
10
  import * as i5 from "./template-directives/task-template.directive";
11
11
  import * as i6 from "./template-directives/summary-task-template.directive";
12
- import * as i7 from "./toolbar/toolbar-template.directive";
13
- import * as i8 from "./toolbar/view-selector.component";
14
- import * as i9 from "./columns/column.component";
15
- import * as i10 from "./columns/column-group.component";
16
- import * as i11 from "./columns/span-column.component";
17
- import * as i12 from "./columns/filter-cell-template.directive";
18
- import * as i13 from "./columns/filter-menu-template.directive";
19
- import * as i14 from "./columns/cell-template.directive";
20
- import * as i15 from "./columns/edit-template.directive";
21
- import * as i16 from "./columns/column-menu-template.directive";
22
- import * as i17 from "./columns/header-template.directive";
23
- import * as i18 from "./columns/footer-template.directive";
24
- import * as i19 from "./expanded-state/expandable.directive";
25
- import * as i20 from "./dragging/dependency-drag-create.directive";
26
- import * as i21 from "./timeline/timeline-day-view.component";
27
- import * as i22 from "./timeline/timeline-week-view.component";
28
- import * as i23 from "./timeline/timeline-month-view.component";
29
- import * as i24 from "./timeline/timeline-year-view.component";
30
- import * as i25 from "./selection/selectable.directive";
31
- import * as i26 from "./localization/custom-messages.component";
32
- import * as i27 from "./editing/add-task.component";
33
- import * as i28 from "./dragging/task-drag.directive";
34
- import * as i29 from "./template-directives/task-tooltip-template.directive";
12
+ import * as i7 from "./template-directives/task-drag-tooltip-template.directive";
13
+ import * as i8 from "./toolbar/toolbar-template.directive";
14
+ import * as i9 from "./toolbar/view-selector.component";
15
+ import * as i10 from "./columns/column.component";
16
+ import * as i11 from "./columns/column-group.component";
17
+ import * as i12 from "./columns/span-column.component";
18
+ import * as i13 from "./columns/filter-cell-template.directive";
19
+ import * as i14 from "./columns/filter-menu-template.directive";
20
+ import * as i15 from "./columns/cell-template.directive";
21
+ import * as i16 from "./columns/edit-template.directive";
22
+ import * as i17 from "./columns/column-menu-template.directive";
23
+ import * as i18 from "./columns/header-template.directive";
24
+ import * as i19 from "./columns/footer-template.directive";
25
+ import * as i20 from "./expanded-state/expandable.directive";
26
+ import * as i21 from "./dragging/dependency-drag-create.directive";
27
+ import * as i22 from "./timeline/timeline-day-view.component";
28
+ import * as i23 from "./timeline/timeline-week-view.component";
29
+ import * as i24 from "./timeline/timeline-month-view.component";
30
+ import * as i25 from "./timeline/timeline-year-view.component";
31
+ import * as i26 from "./selection/selectable.directive";
32
+ import * as i27 from "./localization/custom-messages.component";
33
+ import * as i28 from "./editing/add-task.component";
34
+ import * as i29 from "./dragging/task-drag.directive";
35
+ import * as i30 from "./template-directives/task-tooltip-template.directive";
35
36
  /**
36
37
  * Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the Gantt component.
37
38
  *
@@ -54,6 +55,6 @@ import * as i29 from "./template-directives/task-tooltip-template.directive";
54
55
  */
55
56
  export declare class GanttModule {
56
57
  static ɵfac: i0.ɵɵFactoryDeclaration<GanttModule, never>;
57
- static ɵmod: i0.ɵɵNgModuleDeclaration<GanttModule, never, [typeof i1.GanttComponent, typeof i2.GanttFlatBindingDirective, typeof i3.GanttHierarchyBindingDirective, typeof i4.GanttTaskContentTemplateDirective, typeof i5.GanttTaskTemplateDirective, typeof i6.GanttSummaryTaskTemplateDirective, typeof i7.ToolbarTemplateDirective, typeof i8.ViewSelectorComponent, typeof i9.GanttColumnComponent, typeof i10.GanttColumnGroupComponent, typeof i11.GanttSpanColumnComponent, typeof i12.FilterCellTemplateDirective, typeof i13.FilterMenuTemplateDirective, typeof i14.CellTemplateDirective, typeof i15.EditTemplateDirective, typeof i16.ColumnMenuTemplateDirective, typeof i17.HeaderTemplateDirective, typeof i18.FooterTemplateDirective, typeof i19.GanttExpandableDirective, typeof i20.DependencyDragCreateDirective, typeof i21.TimelineDayViewComponent, typeof i22.TimelineWeekViewComponent, typeof i23.TimelineMonthViewComponent, typeof i24.TimelineYearViewComponent, typeof i25.SelectableDirective, typeof i26.CustomMessagesComponent, typeof i27.GanttAddTaskComponent, typeof i28.TaskDragDirective, typeof i29.GanttTaskTooltipTemplateDirective], [typeof i1.GanttComponent, typeof i2.GanttFlatBindingDirective, typeof i3.GanttHierarchyBindingDirective, typeof i4.GanttTaskContentTemplateDirective, typeof i5.GanttTaskTemplateDirective, typeof i6.GanttSummaryTaskTemplateDirective, typeof i7.ToolbarTemplateDirective, typeof i8.ViewSelectorComponent, typeof i9.GanttColumnComponent, typeof i10.GanttColumnGroupComponent, typeof i11.GanttSpanColumnComponent, typeof i12.FilterCellTemplateDirective, typeof i13.FilterMenuTemplateDirective, typeof i14.CellTemplateDirective, typeof i15.EditTemplateDirective, typeof i16.ColumnMenuTemplateDirective, typeof i17.HeaderTemplateDirective, typeof i18.FooterTemplateDirective, typeof i19.GanttExpandableDirective, typeof i20.DependencyDragCreateDirective, typeof i21.TimelineDayViewComponent, typeof i22.TimelineWeekViewComponent, typeof i23.TimelineMonthViewComponent, typeof i24.TimelineYearViewComponent, typeof i25.SelectableDirective, typeof i26.CustomMessagesComponent, typeof i27.GanttAddTaskComponent, typeof i28.TaskDragDirective, typeof i29.GanttTaskTooltipTemplateDirective]>;
58
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GanttModule, never, [typeof i1.GanttComponent, typeof i2.GanttFlatBindingDirective, typeof i3.GanttHierarchyBindingDirective, typeof i4.GanttTaskContentTemplateDirective, typeof i5.GanttTaskTemplateDirective, typeof i6.GanttSummaryTaskTemplateDirective, typeof i7.GanttTaskDragTooltipTemplateDirective, typeof i8.ToolbarTemplateDirective, typeof i9.ViewSelectorComponent, typeof i10.GanttColumnComponent, typeof i11.GanttColumnGroupComponent, typeof i12.GanttSpanColumnComponent, typeof i13.FilterCellTemplateDirective, typeof i14.FilterMenuTemplateDirective, typeof i15.CellTemplateDirective, typeof i16.EditTemplateDirective, typeof i17.ColumnMenuTemplateDirective, typeof i18.HeaderTemplateDirective, typeof i19.FooterTemplateDirective, typeof i20.GanttExpandableDirective, typeof i21.DependencyDragCreateDirective, typeof i22.TimelineDayViewComponent, typeof i23.TimelineWeekViewComponent, typeof i24.TimelineMonthViewComponent, typeof i25.TimelineYearViewComponent, typeof i26.SelectableDirective, typeof i27.CustomMessagesComponent, typeof i28.GanttAddTaskComponent, typeof i29.TaskDragDirective, typeof i30.GanttTaskTooltipTemplateDirective], [typeof i1.GanttComponent, typeof i2.GanttFlatBindingDirective, typeof i3.GanttHierarchyBindingDirective, typeof i4.GanttTaskContentTemplateDirective, typeof i5.GanttTaskTemplateDirective, typeof i6.GanttSummaryTaskTemplateDirective, typeof i7.GanttTaskDragTooltipTemplateDirective, typeof i8.ToolbarTemplateDirective, typeof i9.ViewSelectorComponent, typeof i10.GanttColumnComponent, typeof i11.GanttColumnGroupComponent, typeof i12.GanttSpanColumnComponent, typeof i13.FilterCellTemplateDirective, typeof i14.FilterMenuTemplateDirective, typeof i15.CellTemplateDirective, typeof i16.EditTemplateDirective, typeof i17.ColumnMenuTemplateDirective, typeof i18.HeaderTemplateDirective, typeof i19.FooterTemplateDirective, typeof i20.GanttExpandableDirective, typeof i21.DependencyDragCreateDirective, typeof i22.TimelineDayViewComponent, typeof i23.TimelineWeekViewComponent, typeof i24.TimelineMonthViewComponent, typeof i25.TimelineYearViewComponent, typeof i26.SelectableDirective, typeof i27.CustomMessagesComponent, typeof i28.GanttAddTaskComponent, typeof i29.TaskDragDirective, typeof i30.GanttTaskTooltipTemplateDirective]>;
58
59
  static ɵinj: i0.ɵɵInjectorDeclaration<GanttModule>;
59
60
  }
package/index.d.ts CHANGED
@@ -39,6 +39,7 @@ export { CustomMessagesComponent } from './localization/custom-messages.componen
39
39
  export { CurrentTimeSettings } from './models/current-time-settings.interface';
40
40
  export { TaskDragDirective } from './dragging/task-drag.directive';
41
41
  export { GanttTaskTooltipTemplateDirective } from './template-directives/task-tooltip-template.directive';
42
+ export { GanttTaskDragTooltipTemplateDirective } from './template-directives/task-drag-tooltip-template.directive';
42
43
  export * from './models/models';
43
44
  export * from './columns/columns';
44
45
  export * from './directives';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-gantt",
3
- "version": "21.3.1-develop.1",
3
+ "version": "21.4.0-develop.10",
4
4
  "description": "Kendo UI Angular Gantt",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -19,7 +19,7 @@
19
19
  "package": {
20
20
  "productName": "Kendo UI for Angular",
21
21
  "productCode": "KENDOUIANGULAR",
22
- "publishDate": 1765533258,
22
+ "publishDate": 1766140464,
23
23
  "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"
24
24
  }
25
25
  },
@@ -31,25 +31,25 @@
31
31
  "@angular/platform-browser": "18 - 21",
32
32
  "@progress/kendo-data-query": "^1.5.5",
33
33
  "@progress/kendo-licensing": "^1.7.0",
34
- "@progress/kendo-angular-buttons": "21.3.1-develop.1",
35
- "@progress/kendo-angular-common": "21.3.1-develop.1",
36
- "@progress/kendo-angular-dialog": "21.3.1-develop.1",
37
- "@progress/kendo-angular-dropdowns": "21.3.1-develop.1",
38
- "@progress/kendo-angular-grid": "21.3.1-develop.1",
39
- "@progress/kendo-angular-icons": "21.3.1-develop.1",
40
- "@progress/kendo-angular-inputs": "21.3.1-develop.1",
41
- "@progress/kendo-angular-intl": "21.3.1-develop.1",
42
- "@progress/kendo-angular-l10n": "21.3.1-develop.1",
43
- "@progress/kendo-angular-label": "21.3.1-develop.1",
44
- "@progress/kendo-angular-layout": "21.3.1-develop.1",
45
- "@progress/kendo-angular-popup": "21.3.1-develop.1",
46
- "@progress/kendo-angular-tooltip": "21.3.1-develop.1",
47
- "@progress/kendo-angular-treelist": "21.3.1-develop.1",
34
+ "@progress/kendo-angular-buttons": "21.4.0-develop.10",
35
+ "@progress/kendo-angular-common": "21.4.0-develop.10",
36
+ "@progress/kendo-angular-dialog": "21.4.0-develop.10",
37
+ "@progress/kendo-angular-dropdowns": "21.4.0-develop.10",
38
+ "@progress/kendo-angular-grid": "21.4.0-develop.10",
39
+ "@progress/kendo-angular-icons": "21.4.0-develop.10",
40
+ "@progress/kendo-angular-inputs": "21.4.0-develop.10",
41
+ "@progress/kendo-angular-intl": "21.4.0-develop.10",
42
+ "@progress/kendo-angular-l10n": "21.4.0-develop.10",
43
+ "@progress/kendo-angular-label": "21.4.0-develop.10",
44
+ "@progress/kendo-angular-layout": "21.4.0-develop.10",
45
+ "@progress/kendo-angular-popup": "21.4.0-develop.10",
46
+ "@progress/kendo-angular-tooltip": "21.4.0-develop.10",
47
+ "@progress/kendo-angular-treelist": "21.4.0-develop.10",
48
48
  "rxjs": "^6.5.3 || ^7.0.0"
49
49
  },
50
50
  "dependencies": {
51
51
  "tslib": "^2.3.1",
52
- "@progress/kendo-angular-schematics": "21.3.1-develop.1",
52
+ "@progress/kendo-angular-schematics": "21.4.0-develop.10",
53
53
  "@progress/kendo-common": "^1.0.1",
54
54
  "@progress/kendo-date-math": "^1.5.2",
55
55
  "@progress/kendo-draggable": "^3.0.0"
@@ -12,16 +12,16 @@ function default_1(options) {
12
12
  // See https://github.com/telerik/kendo-schematics/issues/28
13
13
  peerDependencies: {
14
14
  // peer deps of the treelist
15
- '@progress/kendo-angular-dateinputs': '21.3.1-develop.1',
16
- '@progress/kendo-angular-excel-export': '21.3.1-develop.1',
17
- '@progress/kendo-angular-pdf-export': '21.3.1-develop.1',
18
- '@progress/kendo-angular-utils': '21.3.1-develop.1',
15
+ '@progress/kendo-angular-dateinputs': '21.4.0-develop.10',
16
+ '@progress/kendo-angular-excel-export': '21.4.0-develop.10',
17
+ '@progress/kendo-angular-pdf-export': '21.4.0-develop.10',
18
+ '@progress/kendo-angular-utils': '21.4.0-develop.10',
19
19
  '@progress/kendo-drawing': '^1.0.0',
20
20
  // peer deps of the dropdowns
21
- '@progress/kendo-angular-treeview': '21.3.1-develop.1',
22
- '@progress/kendo-angular-navigation': '21.3.1-develop.1',
21
+ '@progress/kendo-angular-treeview': '21.4.0-develop.10',
22
+ '@progress/kendo-angular-navigation': '21.4.0-develop.10',
23
23
  // peer dep of the layout
24
- '@progress/kendo-angular-progressbar': '21.3.1-develop.1',
24
+ '@progress/kendo-angular-progressbar': '21.4.0-develop.10',
25
25
  // peer dep of the icons
26
26
  '@progress/kendo-svg-icons': '^4.0.0'
27
27
  } });
@@ -0,0 +1,36 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { TemplateRef } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Customizes the content of the tooltip that appears when you drag or resize a Gantt task.
9
+ * Place the `kendoGanttTaskDragTooltipTemplate` directive on an `<ng-template>` tag inside the `<kendo-gantt>` component.
10
+ *
11
+ * The template context provides an object with the following properties:
12
+ * * `start`&mdash;The updated start date during the drag operation.
13
+ * * `end`&mdash;The updated end date during the drag operation.
14
+ * * `completionRatio`&mdash;The completion ratio of the task as a decimal value between 0 and 1.
15
+ * * `task`&mdash;The original data item of the task being dragged. Contains the properties of the [`GanttTask`](slug:api_gantt_gantttask) interface.
16
+ *
17
+ * @example
18
+ * ```html
19
+ * <kendo-gantt
20
+ * [kendoGanttHierarchyBinding]="data"
21
+ * kendoGanttTaskDrag
22
+ * (taskDragEnd)="onDragEnd($event)">
23
+ * <ng-template kendoGanttTaskDragTooltipTemplate let-dragData>
24
+ * <div> {{ dragData.task.title }} </div>
25
+ * <div> Start: {{ dragData.start | date: 'h:mm a' }} </div>
26
+ * <div> End: {{ dragData.end | date: 'h:mm a' }} </div>
27
+ * </ng-template>
28
+ * </kendo-gantt>
29
+ * ```
30
+ */
31
+ export declare class GanttTaskDragTooltipTemplateDirective {
32
+ templateRef: TemplateRef<any>;
33
+ constructor(templateRef: TemplateRef<any>);
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<GanttTaskDragTooltipTemplateDirective, [{ optional: true; }]>;
35
+ static ɵdir: i0.ɵɵDirectiveDeclaration<GanttTaskDragTooltipTemplateDirective, "[kendoGanttTaskDragTooltipTemplate]", never, {}, {}, never, never, true, never>;
36
+ }
@@ -13,6 +13,7 @@ import { TaskDragService } from '../dragging/task-drag.service';
13
13
  import { TaskTooltipOptions } from '../models/tooltip-options.interface';
14
14
  import { GanttTaskTooltipTemplateDirective } from '../template-directives/task-tooltip-template.directive';
15
15
  import { GanttLocalizationService } from '../localization/gantt-localization.service';
16
+ import { GanttTaskDragTooltipTemplateDirective } from '../template-directives/task-drag-tooltip-template.directive';
16
17
  import * as i0 from "@angular/core";
17
18
  /**
18
19
  * @hidden
@@ -57,6 +58,7 @@ export declare class GanttTimelineComponent implements AfterViewInit, OnChanges,
57
58
  dragScrollSettings: DragScrollSettings;
58
59
  currentTimeMarker: boolean | CurrentTimeSettings;
59
60
  customTooltipTemplate: GanttTaskTooltipTemplateDirective;
61
+ customDragTooltipTemplate: GanttTaskDragTooltipTemplateDirective;
60
62
  tooltipOptions: TaskTooltipOptions;
61
63
  selectable: boolean;
62
64
  isTaskSelected: (item: object) => boolean;
@@ -74,6 +76,7 @@ export declare class GanttTimelineComponent implements AfterViewInit, OnChanges,
74
76
  start: Date;
75
77
  end: Date;
76
78
  completionRatio: number;
79
+ task: any;
77
80
  };
78
81
  dragging: boolean;
79
82
  completion: boolean;
@@ -94,5 +97,5 @@ export declare class GanttTimelineComponent implements AfterViewInit, OnChanges,
94
97
  messageFor(token: string): string;
95
98
  private createTimeMarker;
96
99
  static ɵfac: i0.ɵɵFactoryDeclaration<GanttTimelineComponent, [null, null, null, null, null, null, { optional: true; }]>;
97
- static ɵcmp: i0.ɵɵComponentDeclaration<GanttTimelineComponent, "kendo-gantt-timeline", never, { "rows": { "alias": "rows"; "required": false; }; "slots": { "alias": "slots"; "required": false; }; "groupSlots": { "alias": "groupSlots"; "required": false; }; "tableWidth": { "alias": "tableWidth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "taskContentTemplate": { "alias": "taskContentTemplate"; "required": false; }; "taskTemplate": { "alias": "taskTemplate"; "required": false; }; "summaryTaskTemplate": { "alias": "summaryTaskTemplate"; "required": false; }; "taskClass": { "alias": "taskClass"; "required": false; }; "renderDependencyDragClues": { "alias": "renderDependencyDragClues"; "required": false; }; "dragScrollSettings": { "alias": "dragScrollSettings"; "required": false; }; "currentTimeMarker": { "alias": "currentTimeMarker"; "required": false; }; "customTooltipTemplate": { "alias": "customTooltipTemplate"; "required": false; }; "tooltipOptions": { "alias": "tooltipOptions"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "isTaskSelected": { "alias": "isTaskSelected"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "dependencies": { "alias": "dependencies"; "required": false; }; }, { "timelineContainerPress": "timelineContainerPress"; "timelineContainerDrag": "timelineContainerDrag"; "timelineContainerRelease": "timelineContainerRelease"; }, never, never, true, never>;
100
+ static ɵcmp: i0.ɵɵComponentDeclaration<GanttTimelineComponent, "kendo-gantt-timeline", never, { "rows": { "alias": "rows"; "required": false; }; "slots": { "alias": "slots"; "required": false; }; "groupSlots": { "alias": "groupSlots"; "required": false; }; "tableWidth": { "alias": "tableWidth"; "required": false; }; "activeView": { "alias": "activeView"; "required": false; }; "taskContentTemplate": { "alias": "taskContentTemplate"; "required": false; }; "taskTemplate": { "alias": "taskTemplate"; "required": false; }; "summaryTaskTemplate": { "alias": "summaryTaskTemplate"; "required": false; }; "taskClass": { "alias": "taskClass"; "required": false; }; "renderDependencyDragClues": { "alias": "renderDependencyDragClues"; "required": false; }; "dragScrollSettings": { "alias": "dragScrollSettings"; "required": false; }; "currentTimeMarker": { "alias": "currentTimeMarker"; "required": false; }; "customTooltipTemplate": { "alias": "customTooltipTemplate"; "required": false; }; "customDragTooltipTemplate": { "alias": "customDragTooltipTemplate"; "required": false; }; "tooltipOptions": { "alias": "tooltipOptions"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "isTaskSelected": { "alias": "isTaskSelected"; "required": false; }; "isExpanded": { "alias": "isExpanded"; "required": false; }; "dependencies": { "alias": "dependencies"; "required": false; }; }, { "timelineContainerPress": "timelineContainerPress"; "timelineContainerDrag": "timelineContainerDrag"; "timelineContainerRelease": "timelineContainerRelease"; }, never, never, true, never>;
98
101
  }