@progress/kendo-angular-gantt 21.4.1-develop.1 → 22.0.0-develop.1
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/columns/column-base.component.d.ts +1 -1
- package/fesm2022/progress-kendo-angular-gantt.mjs +201 -201
- package/localization/messages.d.ts +1 -1
- package/package.json +22 -30
- package/rendering/gantt-task-base.d.ts +1 -1
- package/schematics/ngAdd/index.js +7 -7
- package/timeline/view-base.d.ts +1 -1
- package/esm2022/binding-directives/flat-binding.directive.mjs +0 -50
- package/esm2022/binding-directives/hierarchy-binding.directive.mjs +0 -49
- package/esm2022/columns/cell-template.directive.mjs +0 -47
- package/esm2022/columns/column-base.component.mjs +0 -22
- package/esm2022/columns/column-group.component.mjs +0 -80
- package/esm2022/columns/column-menu-template.directive.mjs +0 -40
- package/esm2022/columns/column.component.mjs +0 -122
- package/esm2022/columns/columns.mjs +0 -15
- package/esm2022/columns/edit-template.directive.mjs +0 -46
- package/esm2022/columns/filter-cell-template.directive.mjs +0 -32
- package/esm2022/columns/filter-menu-template.directive.mjs +0 -41
- package/esm2022/columns/footer-template.directive.mjs +0 -44
- package/esm2022/columns/header-template.directive.mjs +0 -43
- package/esm2022/columns/span-column.component.mjs +0 -82
- package/esm2022/common/default-callbacks.mjs +0 -25
- package/esm2022/common/mapping.service.mjs +0 -62
- package/esm2022/common/option-changes.service.mjs +0 -28
- package/esm2022/dependencies/dependency-dom.service.mjs +0 -80
- package/esm2022/dependencies/dom-dependency-args.mjs +0 -5
- package/esm2022/dependencies/gantt-dependency.directive.mjs +0 -91
- package/esm2022/dependencies/utils.mjs +0 -195
- package/esm2022/directives.mjs +0 -63
- package/esm2022/dragging/dependency-drag-create.directive.mjs +0 -337
- package/esm2022/dragging/drag-validation-tooltip.component.mjs +0 -70
- package/esm2022/dragging/task-drag.directive.mjs +0 -94
- package/esm2022/dragging/task-drag.service.mjs +0 -239
- package/esm2022/editing/add-task.component.mjs +0 -127
- package/esm2022/editing/dependencies-table.component.mjs +0 -233
- package/esm2022/editing/edit-dialog.component.mjs +0 -225
- package/esm2022/editing/edit.service.mjs +0 -118
- package/esm2022/editing/task-fields.component.mjs +0 -127
- package/esm2022/editing/utils.mjs +0 -15
- package/esm2022/expanded-state/expand-event.mjs +0 -18
- package/esm2022/expanded-state/expandable.directive.mjs +0 -39
- package/esm2022/gantt.component.mjs +0 -2415
- package/esm2022/gantt.module.mjs +0 -132
- package/esm2022/index.mjs +0 -42
- package/esm2022/localization/custom-messages.component.mjs +0 -52
- package/esm2022/localization/gantt-localization.service.mjs +0 -27
- package/esm2022/localization/localized-messages.directive.mjs +0 -39
- package/esm2022/localization/messages.mjs +0 -453
- package/esm2022/models/cell-content-type.interface.mjs +0 -5
- package/esm2022/models/class-callbacks.mjs +0 -5
- package/esm2022/models/column-menu-settings.interface.mjs +0 -5
- package/esm2022/models/column-reorder-config.mjs +0 -5
- package/esm2022/models/current-time-settings.interface.mjs +0 -5
- package/esm2022/models/date-range.interface.mjs +0 -5
- package/esm2022/models/dependency-type.enum.mjs +0 -32
- package/esm2022/models/events/cell-click-event.interface.mjs +0 -5
- package/esm2022/models/events/cell-close-event.interface.mjs +0 -44
- package/esm2022/models/events/click-event.interface.mjs +0 -5
- package/esm2022/models/events/column-locked-change-event.interface.mjs +0 -5
- package/esm2022/models/events/column-reorder-event.interface.mjs +0 -5
- package/esm2022/models/events/column-resize-event.interface.mjs +0 -5
- package/esm2022/models/events/column-visibility-change-event.interface.mjs +0 -5
- package/esm2022/models/events/data-state-change-event.interface.mjs +0 -5
- package/esm2022/models/events/dependency-add-event.interface.mjs +0 -5
- package/esm2022/models/events/index.mjs +0 -5
- package/esm2022/models/events/selected-view-change-event.interface.mjs +0 -5
- package/esm2022/models/events/task-add-event.interface.mjs +0 -5
- package/esm2022/models/events/task-click-event.interface.mjs +0 -5
- package/esm2022/models/events/task-delete-event.interface.mjs +0 -5
- package/esm2022/models/events/task-drag-event.interface.mjs +0 -5
- package/esm2022/models/events/task-edit-event.interface.mjs +0 -5
- package/esm2022/models/filterable-settings.mjs +0 -5
- package/esm2022/models/gantt-dependency-model-fields.interface.mjs +0 -13
- package/esm2022/models/gantt-dependency.interface.mjs +0 -5
- package/esm2022/models/gantt-task-model-fields.interface.mjs +0 -15
- package/esm2022/models/gantt-task.interface.mjs +0 -5
- package/esm2022/models/models.mjs +0 -8
- package/esm2022/models/slot.interface.mjs +0 -5
- package/esm2022/models/sort-settings.mjs +0 -17
- package/esm2022/models/splitter-pane-options.interface.mjs +0 -20
- package/esm2022/models/timeline-header-date-format.mjs +0 -5
- package/esm2022/models/timeline-options.interface.mjs +0 -5
- package/esm2022/models/timeline-view.mjs +0 -5
- package/esm2022/models/toolbar-settings.mjs +0 -5
- package/esm2022/models/tooltip-options.interface.mjs +0 -5
- package/esm2022/models/view-item.interface.mjs +0 -5
- package/esm2022/navigation/navigation-models.mjs +0 -5
- package/esm2022/navigation/navigation.service.mjs +0 -271
- package/esm2022/navigation/utils.mjs +0 -61
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/progress-kendo-angular-gantt.mjs +0 -8
- package/esm2022/rendering/gantt-header-table-body.component.mjs +0 -61
- package/esm2022/rendering/gantt-milestone-task.component.mjs +0 -102
- package/esm2022/rendering/gantt-summary-task.component.mjs +0 -157
- package/esm2022/rendering/gantt-task-base.mjs +0 -230
- package/esm2022/rendering/gantt-task.component.mjs +0 -227
- package/esm2022/rendering/gantt-tasks-table-body.component.mjs +0 -206
- package/esm2022/scrolling/drag-scroll-settings.mjs +0 -20
- package/esm2022/scrolling/scroll-sync.service.mjs +0 -83
- package/esm2022/scrolling/timeline-scroll.directive.mjs +0 -83
- package/esm2022/scrolling/timeline-scroll.service.mjs +0 -37
- package/esm2022/scrolling/utils.mjs +0 -77
- package/esm2022/selection/selectable.directive.mjs +0 -126
- package/esm2022/selection/selection-change-event.mjs +0 -5
- package/esm2022/template-directives/summary-task-template.directive.mjs +0 -43
- package/esm2022/template-directives/task-content-template.directive.mjs +0 -46
- package/esm2022/template-directives/task-drag-tooltip-template.directive.mjs +0 -47
- package/esm2022/template-directives/task-template.directive.mjs +0 -41
- package/esm2022/template-directives/task-tooltip-template.directive.mjs +0 -48
- package/esm2022/timeline/current-time-marker.service.mjs +0 -90
- package/esm2022/timeline/gantt-timeline.component.mjs +0 -624
- package/esm2022/timeline/timeline-base-view.service.mjs +0 -201
- package/esm2022/timeline/timeline-day-view.component.mjs +0 -49
- package/esm2022/timeline/timeline-day-view.service.mjs +0 -68
- package/esm2022/timeline/timeline-month-view.component.mjs +0 -49
- package/esm2022/timeline/timeline-month-view.service.mjs +0 -66
- package/esm2022/timeline/timeline-view.service.mjs +0 -38
- package/esm2022/timeline/timeline-week-view.component.mjs +0 -49
- package/esm2022/timeline/timeline-week-view.service.mjs +0 -62
- package/esm2022/timeline/timeline-year-view.component.mjs +0 -49
- package/esm2022/timeline/timeline-year-view.service.mjs +0 -57
- package/esm2022/timeline/view-base.mjs +0 -73
- package/esm2022/toolbar/toolbar-navigation.service.mjs +0 -29
- package/esm2022/toolbar/toolbar-template.directive.mjs +0 -56
- package/esm2022/toolbar/toolbar.component.mjs +0 -181
- package/esm2022/toolbar/view-selector.component.mjs +0 -112
- package/esm2022/utils.mjs +0 -311
package/esm2022/gantt.module.mjs
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { NgModule } from '@angular/core';
|
|
6
|
-
import { ResizeBatchService } from '@progress/kendo-angular-common';
|
|
7
|
-
import { DialogContainerService, DialogService, WindowContainerService, WindowService } from '@progress/kendo-angular-dialog';
|
|
8
|
-
import { CalendarDOMService, CenturyViewService, DayPeriodService, DecadeViewService, HoursService, MillisecondsService, MinutesService, MonthViewService, NavigationService, SecondsService, TimePickerDOMService, YearViewService } from '@progress/kendo-angular-dateinputs';
|
|
9
|
-
import { L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
10
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
11
|
-
import { IconsService } from '@progress/kendo-angular-icons';
|
|
12
|
-
import { ColumnResizingService } from '@progress/kendo-angular-treelist';
|
|
13
|
-
import { KENDO_GANTT } from './directives';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
import * as i1 from "./gantt.component";
|
|
16
|
-
import * as i2 from "./binding-directives/flat-binding.directive";
|
|
17
|
-
import * as i3 from "./binding-directives/hierarchy-binding.directive";
|
|
18
|
-
import * as i4 from "./template-directives/task-content-template.directive";
|
|
19
|
-
import * as i5 from "./template-directives/task-template.directive";
|
|
20
|
-
import * as i6 from "./template-directives/summary-task-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";
|
|
45
|
-
// IMPORTANT: NgModule export kept for backwards compatibility
|
|
46
|
-
/**
|
|
47
|
-
* Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) definition for the Gantt component.
|
|
48
|
-
*
|
|
49
|
-
* Use this module to include the Gantt component in your NgModule-based application.
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* ```typescript
|
|
53
|
-
* import { GanttModule } from '@progress/kendo-angular-gantt';
|
|
54
|
-
* import { NgModule } from '@angular/core';
|
|
55
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
56
|
-
* import { AppComponent } from './app.component';
|
|
57
|
-
*
|
|
58
|
-
* @NgModule({
|
|
59
|
-
* declarations: [AppComponent],
|
|
60
|
-
* imports: [BrowserModule, GanttModule],
|
|
61
|
-
* bootstrap: [AppComponent]
|
|
62
|
-
* })
|
|
63
|
-
* export class AppModule {}
|
|
64
|
-
* ```
|
|
65
|
-
*/
|
|
66
|
-
export class GanttModule {
|
|
67
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
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] });
|
|
69
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttModule, providers: [{
|
|
70
|
-
provide: L10N_PREFIX,
|
|
71
|
-
useValue: 'kendo.gantt'
|
|
72
|
-
},
|
|
73
|
-
// InputsModule providers
|
|
74
|
-
IconsService,
|
|
75
|
-
PopupService,
|
|
76
|
-
ResizeBatchService,
|
|
77
|
-
DialogContainerService,
|
|
78
|
-
DialogService,
|
|
79
|
-
WindowService,
|
|
80
|
-
WindowContainerService,
|
|
81
|
-
// DateInputsModule providers
|
|
82
|
-
CalendarDOMService,
|
|
83
|
-
CenturyViewService,
|
|
84
|
-
DecadeViewService,
|
|
85
|
-
MonthViewService,
|
|
86
|
-
YearViewService,
|
|
87
|
-
NavigationService,
|
|
88
|
-
TimePickerDOMService,
|
|
89
|
-
HoursService,
|
|
90
|
-
MinutesService,
|
|
91
|
-
SecondsService,
|
|
92
|
-
MillisecondsService,
|
|
93
|
-
DayPeriodService,
|
|
94
|
-
// TreeListModule providers
|
|
95
|
-
ColumnResizingService
|
|
96
|
-
], imports: [i1.GanttComponent, i9.ViewSelectorComponent, i28.GanttAddTaskComponent] });
|
|
97
|
-
}
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttModule, decorators: [{
|
|
99
|
-
type: NgModule,
|
|
100
|
-
args: [{
|
|
101
|
-
imports: [...KENDO_GANTT],
|
|
102
|
-
exports: [...KENDO_GANTT],
|
|
103
|
-
providers: [{
|
|
104
|
-
provide: L10N_PREFIX,
|
|
105
|
-
useValue: 'kendo.gantt'
|
|
106
|
-
},
|
|
107
|
-
// InputsModule providers
|
|
108
|
-
IconsService,
|
|
109
|
-
PopupService,
|
|
110
|
-
ResizeBatchService,
|
|
111
|
-
DialogContainerService,
|
|
112
|
-
DialogService,
|
|
113
|
-
WindowService,
|
|
114
|
-
WindowContainerService,
|
|
115
|
-
// DateInputsModule providers
|
|
116
|
-
CalendarDOMService,
|
|
117
|
-
CenturyViewService,
|
|
118
|
-
DecadeViewService,
|
|
119
|
-
MonthViewService,
|
|
120
|
-
YearViewService,
|
|
121
|
-
NavigationService,
|
|
122
|
-
TimePickerDOMService,
|
|
123
|
-
HoursService,
|
|
124
|
-
MinutesService,
|
|
125
|
-
SecondsService,
|
|
126
|
-
MillisecondsService,
|
|
127
|
-
DayPeriodService,
|
|
128
|
-
// TreeListModule providers
|
|
129
|
-
ColumnResizingService
|
|
130
|
-
]
|
|
131
|
-
}]
|
|
132
|
-
}] });
|
package/esm2022/index.mjs
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
export { GanttComponent } from './gantt.component';
|
|
6
|
-
export { GanttModule } from './gantt.module';
|
|
7
|
-
export { GanttTimelineComponent } from './timeline/gantt-timeline.component';
|
|
8
|
-
export { TimelineDayViewComponent } from './timeline/timeline-day-view.component';
|
|
9
|
-
export { TimelineWeekViewComponent } from './timeline/timeline-week-view.component';
|
|
10
|
-
export { TimelineMonthViewComponent } from './timeline/timeline-month-view.component';
|
|
11
|
-
export { TimelineYearViewComponent } from './timeline/timeline-year-view.component';
|
|
12
|
-
export { TaskFieldsComponent } from './editing/task-fields.component';
|
|
13
|
-
export { DependenciesTableComponent } from './editing/dependencies-table.component';
|
|
14
|
-
export { GanttAddTaskComponent } from './editing/add-task.component';
|
|
15
|
-
export { EditDialogComponent } from './editing/edit-dialog.component';
|
|
16
|
-
export { DragValidationTooltipComponent } from './dragging/drag-validation-tooltip.component';
|
|
17
|
-
export { ToolbarComponent } from './toolbar/toolbar.component';
|
|
18
|
-
export { ViewSelectorComponent } from './toolbar/view-selector.component';
|
|
19
|
-
export { GanttTaskComponent } from './rendering/gantt-task.component';
|
|
20
|
-
export { GanttMilestoneTaskComponent } from './rendering/gantt-milestone-task.component';
|
|
21
|
-
export { GanttSummaryTaskComponent } from './rendering/gantt-summary-task.component';
|
|
22
|
-
export { GanttHeaderTableBodyComponent } from './rendering/gantt-header-table-body.component';
|
|
23
|
-
export { GanttTasksTableBodyComponent } from './rendering/gantt-tasks-table-body.component';
|
|
24
|
-
export { GanttHierarchyBindingDirective } from './binding-directives/hierarchy-binding.directive';
|
|
25
|
-
export { GanttFlatBindingDirective } from './binding-directives/flat-binding.directive';
|
|
26
|
-
export { GanttExpandableDirective } from './expanded-state/expandable.directive';
|
|
27
|
-
export { DependencyDragCreateDirective } from './dragging/dependency-drag-create.directive';
|
|
28
|
-
export { TimelineScrollableDirective } from './scrolling/timeline-scroll.directive';
|
|
29
|
-
export { GanttDependencyDirective } from './dependencies/gantt-dependency.directive';
|
|
30
|
-
export { GanttTaskTemplateDirective } from './template-directives/task-template.directive';
|
|
31
|
-
export { GanttTaskContentTemplateDirective } from './template-directives/task-content-template.directive';
|
|
32
|
-
export { GanttSummaryTaskTemplateDirective } from './template-directives/summary-task-template.directive';
|
|
33
|
-
export { ToolbarTemplateDirective } from './toolbar/toolbar-template.directive';
|
|
34
|
-
export { SelectableDirective } from './selection/selectable.directive';
|
|
35
|
-
export { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
36
|
-
export { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
37
|
-
export { TaskDragDirective } from './dragging/task-drag.directive';
|
|
38
|
-
export { GanttTaskTooltipTemplateDirective } from './template-directives/task-tooltip-template.directive';
|
|
39
|
-
export { GanttTaskDragTooltipTemplateDirective } from './template-directives/task-drag-tooltip-template.directive';
|
|
40
|
-
export * from './models/models';
|
|
41
|
-
export * from './columns/columns';
|
|
42
|
-
export * from './directives';
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, forwardRef } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { Messages } from './messages';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
|
-
/**
|
|
11
|
-
* Represents the custom messages component for the Kendo UI for Angular Gantt.
|
|
12
|
-
* Use this component to override default messages.
|
|
13
|
-
*
|
|
14
|
-
* @example
|
|
15
|
-
* ```html
|
|
16
|
-
* <kendo-gantt-messages
|
|
17
|
-
* addTaskText="Add Task"
|
|
18
|
-
* cancelButtonText="Cancel">
|
|
19
|
-
* </kendo-gantt-messages>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export class CustomMessagesComponent extends Messages {
|
|
23
|
-
service;
|
|
24
|
-
constructor(service) {
|
|
25
|
-
super();
|
|
26
|
-
this.service = service;
|
|
27
|
-
}
|
|
28
|
-
get override() {
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
32
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-gantt-messages", providers: [
|
|
33
|
-
{
|
|
34
|
-
provide: Messages,
|
|
35
|
-
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
36
|
-
}
|
|
37
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
38
|
-
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CustomMessagesComponent, decorators: [{
|
|
40
|
-
type: Component,
|
|
41
|
-
args: [{
|
|
42
|
-
providers: [
|
|
43
|
-
{
|
|
44
|
-
provide: Messages,
|
|
45
|
-
useExisting: forwardRef(() => CustomMessagesComponent)
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
selector: 'kendo-gantt-messages',
|
|
49
|
-
template: ``,
|
|
50
|
-
standalone: true
|
|
51
|
-
}]
|
|
52
|
-
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@progress/kendo-angular-l10n";
|
|
9
|
-
/**
|
|
10
|
-
* @hidden
|
|
11
|
-
*
|
|
12
|
-
* Needed to keep the Gantt's LocalizationService reference and be able to use it component's inside the TabStrip
|
|
13
|
-
*/
|
|
14
|
-
export class GanttLocalizationService {
|
|
15
|
-
localizationService;
|
|
16
|
-
constructor(localizationService) {
|
|
17
|
-
this.localizationService = localizationService;
|
|
18
|
-
}
|
|
19
|
-
get(token) {
|
|
20
|
-
return this.localizationService.get(token);
|
|
21
|
-
}
|
|
22
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttLocalizationService, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
23
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttLocalizationService });
|
|
24
|
-
}
|
|
25
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: GanttLocalizationService, decorators: [{
|
|
26
|
-
type: Injectable
|
|
27
|
-
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, forwardRef } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { Messages } from './messages';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@progress/kendo-angular-l10n";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export class LocalizedMessagesDirective extends Messages {
|
|
14
|
-
service;
|
|
15
|
-
constructor(service) {
|
|
16
|
-
super();
|
|
17
|
-
this.service = service;
|
|
18
|
-
}
|
|
19
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoGanttLocalizedMessages]", providers: [
|
|
21
|
-
{
|
|
22
|
-
provide: Messages,
|
|
23
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
24
|
-
}
|
|
25
|
-
], usesInheritance: true, ngImport: i0 });
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
|
|
28
|
-
type: Directive,
|
|
29
|
-
args: [{
|
|
30
|
-
providers: [
|
|
31
|
-
{
|
|
32
|
-
provide: Messages,
|
|
33
|
-
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
|
34
|
-
}
|
|
35
|
-
],
|
|
36
|
-
selector: '[kendoGanttLocalizedMessages]',
|
|
37
|
-
standalone: true
|
|
38
|
-
}]
|
|
39
|
-
}], ctorParameters: () => [{ type: i1.LocalizationService }] });
|