@progress/kendo-angular-gantt 16.5.0 → 16.6.0-develop.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE.txt +12 -19
- package/binding-directives/flat-binding.directive.d.ts +1 -1
- package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
- package/columns/cell-template.directive.d.ts +1 -1
- package/columns/column-group.component.d.ts +1 -1
- package/columns/column-menu-template.directive.d.ts +1 -1
- package/columns/column.component.d.ts +1 -1
- package/columns/edit-template.directive.d.ts +1 -1
- package/columns/filter-cell-template.directive.d.ts +1 -1
- package/columns/filter-menu-template.directive.d.ts +1 -1
- package/columns/footer-template.directive.d.ts +1 -1
- package/columns/header-template.directive.d.ts +1 -1
- package/columns/span-column.component.d.ts +1 -1
- package/dependencies/gantt-dependency.directive.d.ts +1 -1
- package/directives.d.ts +29 -0
- package/dragging/dependency-drag-create.directive.d.ts +1 -1
- package/dragging/drag-validation-tooltip.component.d.ts +1 -1
- package/editing/add-task.component.d.ts +1 -1
- package/editing/dependencies-table.component.d.ts +1 -1
- package/editing/edit-dialog.component.d.ts +1 -1
- package/editing/task-fields.component.d.ts +1 -1
- package/esm2020/binding-directives/flat-binding.directive.mjs +3 -2
- package/esm2020/binding-directives/hierarchy-binding.directive.mjs +3 -2
- package/esm2020/columns/cell-template.directive.mjs +3 -2
- package/esm2020/columns/column-group.component.mjs +3 -2
- package/esm2020/columns/column-menu-template.directive.mjs +3 -2
- package/esm2020/columns/column.component.mjs +3 -2
- package/esm2020/columns/edit-template.directive.mjs +3 -2
- package/esm2020/columns/filter-cell-template.directive.mjs +3 -2
- package/esm2020/columns/filter-menu-template.directive.mjs +3 -2
- package/esm2020/columns/footer-template.directive.mjs +3 -2
- package/esm2020/columns/header-template.directive.mjs +3 -2
- package/esm2020/columns/span-column.component.mjs +3 -2
- package/esm2020/dependencies/gantt-dependency.directive.mjs +3 -2
- package/esm2020/directives.mjs +57 -0
- package/esm2020/dragging/dependency-drag-create.directive.mjs +3 -2
- package/esm2020/dragging/drag-validation-tooltip.component.mjs +3 -2
- package/esm2020/editing/add-task.component.mjs +7 -5
- package/esm2020/editing/dependencies-table.component.mjs +9 -7
- package/esm2020/editing/edit-dialog.component.mjs +12 -10
- package/esm2020/editing/task-fields.component.mjs +12 -9
- package/esm2020/expanded-state/expandable.directive.mjs +3 -2
- package/esm2020/gantt.component.mjs +23 -16
- package/esm2020/gantt.module.mjs +90 -222
- package/esm2020/index.mjs +1 -0
- package/esm2020/localization/custom-messages.component.mjs +3 -2
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/rendering/gantt-header-table-body.component.mjs +6 -4
- package/esm2020/rendering/gantt-milestone-task.component.mjs +12 -13
- package/esm2020/rendering/gantt-summary-task.component.mjs +12 -13
- package/esm2020/rendering/gantt-task.component.mjs +14 -15
- package/esm2020/rendering/gantt-tasks-table-body.component.mjs +9 -7
- package/esm2020/scrolling/timeline-scroll.directive.mjs +3 -2
- package/esm2020/selection/selectable.directive.mjs +3 -2
- package/esm2020/template-directives/summary-task-template.directive.mjs +3 -2
- package/esm2020/template-directives/task-content-template.directive.mjs +3 -2
- package/esm2020/template-directives/task-template.directive.mjs +3 -2
- package/esm2020/timeline/gantt-timeline.component.mjs +12 -10
- package/esm2020/timeline/timeline-day-view.component.mjs +3 -2
- package/esm2020/timeline/timeline-month-view.component.mjs +3 -2
- package/esm2020/timeline/timeline-week-view.component.mjs +3 -2
- package/esm2020/timeline/timeline-year-view.component.mjs +3 -2
- package/esm2020/toolbar/toolbar-template.directive.mjs +3 -2
- package/esm2020/toolbar/toolbar.component.mjs +8 -6
- package/esm2020/toolbar/view-selector.component.mjs +9 -6
- package/expanded-state/expandable.directive.d.ts +1 -1
- package/fesm2015/progress-kendo-angular-gantt.mjs +1812 -1867
- package/fesm2020/progress-kendo-angular-gantt.mjs +1963 -2012
- package/gantt.component.d.ts +1 -1
- package/gantt.module.d.ts +25 -54
- package/index.d.ts +1 -0
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/package.json +15 -15
- package/rendering/gantt-header-table-body.component.d.ts +1 -1
- package/rendering/gantt-milestone-task.component.d.ts +3 -3
- package/rendering/gantt-summary-task.component.d.ts +3 -3
- package/rendering/gantt-task.component.d.ts +3 -3
- package/rendering/gantt-tasks-table-body.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +7 -7
- package/scrolling/timeline-scroll.directive.d.ts +1 -1
- package/selection/selectable.directive.d.ts +1 -1
- package/template-directives/summary-task-template.directive.d.ts +1 -1
- package/template-directives/task-content-template.directive.d.ts +1 -1
- package/template-directives/task-template.directive.d.ts +1 -1
- package/timeline/gantt-timeline.component.d.ts +1 -1
- package/timeline/timeline-day-view.component.d.ts +1 -1
- package/timeline/timeline-month-view.component.d.ts +1 -1
- package/timeline/timeline-week-view.component.d.ts +1 -1
- package/timeline/timeline-year-view.component.d.ts +1 -1
- package/toolbar/toolbar-template.directive.d.ts +1 -1
- package/toolbar/toolbar.component.d.ts +1 -1
- package/toolbar/view-selector.component.d.ts +1 -1
- package/common/touch-enabled.d.ts +0 -9
- package/esm2020/common/touch-enabled.mjs +0 -9
|
@@ -73,11 +73,12 @@ export class GanttDependencyDirective {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
GanttDependencyDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttDependencyDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.MappingService }, { token: i2.DependencyDomService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
76
|
-
GanttDependencyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GanttDependencyDirective, selector: "[kendoGanttDependency]", inputs: { dependency: "dependency" }, usesOnChanges: true, ngImport: i0 });
|
|
76
|
+
GanttDependencyDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GanttDependencyDirective, isStandalone: true, selector: "[kendoGanttDependency]", inputs: { dependency: "dependency" }, usesOnChanges: true, ngImport: i0 });
|
|
77
77
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttDependencyDirective, decorators: [{
|
|
78
78
|
type: Directive,
|
|
79
79
|
args: [{
|
|
80
|
-
selector: '[kendoGanttDependency]'
|
|
80
|
+
selector: '[kendoGanttDependency]',
|
|
81
|
+
standalone: true
|
|
81
82
|
}]
|
|
82
83
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.MappingService }, { type: i2.DependencyDomService }]; }, propDecorators: { dependency: [{
|
|
83
84
|
type: Input
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { GanttFlatBindingDirective } from "./binding-directives/flat-binding.directive";
|
|
6
|
+
import { GanttHierarchyBindingDirective } from "./binding-directives/hierarchy-binding.directive";
|
|
7
|
+
import { GanttComponent } from "./gantt.component";
|
|
8
|
+
import { GanttSummaryTaskTemplateDirective } from "./template-directives/summary-task-template.directive";
|
|
9
|
+
import { GanttTaskContentTemplateDirective } from "./template-directives/task-content-template.directive";
|
|
10
|
+
import { GanttTaskTemplateDirective } from "./template-directives/task-template.directive";
|
|
11
|
+
import { ViewSelectorComponent } from "./toolbar/view-selector.component";
|
|
12
|
+
import { GanttColumnComponent } from "./columns/column.component";
|
|
13
|
+
import { GanttColumnGroupComponent } from "./columns/column-group.component";
|
|
14
|
+
import { GanttSpanColumnComponent } from "./columns/span-column.component";
|
|
15
|
+
import { CellTemplateDirective, ColumnMenuTemplateDirective, EditTemplateDirective, FilterCellTemplateDirective, FilterMenuTemplateDirective, FooterTemplateDirective, HeaderTemplateDirective } from "./columns/columns";
|
|
16
|
+
import { GanttExpandableDirective } from "./expanded-state/expandable.directive";
|
|
17
|
+
import { DependencyDragCreateDirective } from "./dragging/dependency-drag-create.directive";
|
|
18
|
+
import { TimelineDayViewComponent } from "./timeline/timeline-day-view.component";
|
|
19
|
+
import { TimelineWeekViewComponent } from "./timeline/timeline-week-view.component";
|
|
20
|
+
import { TimelineMonthViewComponent } from "./timeline/timeline-month-view.component";
|
|
21
|
+
import { TimelineYearViewComponent } from "./timeline/timeline-year-view.component";
|
|
22
|
+
import { SelectableDirective } from "./selection/selectable.directive";
|
|
23
|
+
import { CustomMessagesComponent } from "./localization/custom-messages.component";
|
|
24
|
+
import { GanttAddTaskComponent } from "./editing/add-task.component";
|
|
25
|
+
import { ToolbarTemplateDirective } from "./toolbar/toolbar-template.directive";
|
|
26
|
+
/**
|
|
27
|
+
* Utility array that contains all `@progress/kendo-angular-gantt` related components and directives
|
|
28
|
+
*/
|
|
29
|
+
export const KENDO_GANTT = [
|
|
30
|
+
GanttComponent,
|
|
31
|
+
GanttFlatBindingDirective,
|
|
32
|
+
GanttHierarchyBindingDirective,
|
|
33
|
+
GanttTaskContentTemplateDirective,
|
|
34
|
+
GanttTaskTemplateDirective,
|
|
35
|
+
GanttSummaryTaskTemplateDirective,
|
|
36
|
+
ToolbarTemplateDirective,
|
|
37
|
+
ViewSelectorComponent,
|
|
38
|
+
GanttColumnComponent,
|
|
39
|
+
GanttColumnGroupComponent,
|
|
40
|
+
GanttSpanColumnComponent,
|
|
41
|
+
FilterCellTemplateDirective,
|
|
42
|
+
FilterMenuTemplateDirective,
|
|
43
|
+
CellTemplateDirective,
|
|
44
|
+
EditTemplateDirective,
|
|
45
|
+
ColumnMenuTemplateDirective,
|
|
46
|
+
HeaderTemplateDirective,
|
|
47
|
+
FooterTemplateDirective,
|
|
48
|
+
GanttExpandableDirective,
|
|
49
|
+
DependencyDragCreateDirective,
|
|
50
|
+
TimelineDayViewComponent,
|
|
51
|
+
TimelineWeekViewComponent,
|
|
52
|
+
TimelineMonthViewComponent,
|
|
53
|
+
TimelineYearViewComponent,
|
|
54
|
+
SelectableDirective,
|
|
55
|
+
CustomMessagesComponent,
|
|
56
|
+
GanttAddTaskComponent
|
|
57
|
+
];
|
|
@@ -311,11 +311,12 @@ export class DependencyDragCreateDirective {
|
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
DependencyDragCreateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DependencyDragCreateDirective, deps: [{ token: i1.GanttComponent }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i2.MappingService }, { token: i3.PopupService }, { token: i4.TimelineScrollService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
314
|
-
DependencyDragCreateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DependencyDragCreateDirective, selector: "[kendoGanttDependencyDragCreate]", inputs: { displayValidationTooltip: "displayValidationTooltip" }, ngImport: i0 });
|
|
314
|
+
DependencyDragCreateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DependencyDragCreateDirective, isStandalone: true, selector: "[kendoGanttDependencyDragCreate]", inputs: { displayValidationTooltip: "displayValidationTooltip" }, ngImport: i0 });
|
|
315
315
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DependencyDragCreateDirective, decorators: [{
|
|
316
316
|
type: Directive,
|
|
317
317
|
args: [{
|
|
318
|
-
selector: '[kendoGanttDependencyDragCreate]'
|
|
318
|
+
selector: '[kendoGanttDependencyDragCreate]',
|
|
319
|
+
standalone: true
|
|
319
320
|
}]
|
|
320
321
|
}], ctorParameters: function () { return [{ type: i1.GanttComponent }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i2.MappingService }, { type: i3.PopupService }, { type: i4.TimelineScrollService }]; }, propDecorators: { displayValidationTooltip: [{
|
|
321
322
|
type: Input
|
|
@@ -18,7 +18,7 @@ export class DragValidationTooltipComponent {
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
DragValidationTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragValidationTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
-
DragValidationTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DragValidationTooltipComponent, selector: "ng-component", ngImport: i0, template: `
|
|
21
|
+
DragValidationTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DragValidationTooltipComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
|
|
22
22
|
<div
|
|
23
23
|
class="k-tooltip k-gantt-tooltip-validation"
|
|
24
24
|
[class.k-gantt-tooltip-valid]="showValidityStatus && isValid"
|
|
@@ -52,6 +52,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
52
52
|
<span class="k-gantt-tooltip-validation-value">{{ toTaskName }}</span>
|
|
53
53
|
</div>
|
|
54
54
|
</div>
|
|
55
|
-
|
|
55
|
+
`,
|
|
56
|
+
standalone: true
|
|
56
57
|
}]
|
|
57
58
|
}] });
|
|
@@ -6,11 +6,11 @@ import { Component, Input, NgZone } from '@angular/core';
|
|
|
6
6
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
7
|
import { EditService } from './edit.service';
|
|
8
8
|
import { plusIcon } from '@progress/kendo-svg-icons';
|
|
9
|
+
import { DropDownButtonComponent } from '@progress/kendo-angular-buttons';
|
|
10
|
+
import { EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
import * as i1 from "@progress/kendo-angular-l10n";
|
|
11
13
|
import * as i2 from "./edit.service";
|
|
12
|
-
import * as i3 from "@progress/kendo-angular-common";
|
|
13
|
-
import * as i4 from "@progress/kendo-angular-buttons";
|
|
14
14
|
/**
|
|
15
15
|
* The UI for adding new items to the Gantt.
|
|
16
16
|
* Use it within a toolbar template to provide a custom icon or list of options.
|
|
@@ -83,7 +83,7 @@ export class GanttAddTaskComponent {
|
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
GanttAddTaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttAddTaskComponent, deps: [{ token: i1.LocalizationService }, { token: i2.EditService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
86
|
-
GanttAddTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttAddTaskComponent, selector: "kendo-gantt-add-task", inputs: { data: "data", icon: "icon", svgIcon: "svgIcon" }, ngImport: i0, template: `
|
|
86
|
+
GanttAddTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttAddTaskComponent, isStandalone: true, selector: "kendo-gantt-add-task", inputs: { data: "data", icon: "icon", svgIcon: "svgIcon" }, ngImport: i0, template: `
|
|
87
87
|
<kendo-dropdownbutton
|
|
88
88
|
[data]="data"
|
|
89
89
|
[icon]="icon"
|
|
@@ -94,7 +94,7 @@ GanttAddTaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
94
94
|
(open)="handleOpen($event)">
|
|
95
95
|
{{ getText('addTaskText') }}
|
|
96
96
|
</kendo-dropdownbutton>
|
|
97
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
97
|
+
`, isInline: true, dependencies: [{ kind: "component", type: DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["arrowIcon", "icon", "svgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor", "buttonAttributes"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
98
98
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttAddTaskComponent, decorators: [{
|
|
99
99
|
type: Component,
|
|
100
100
|
args: [{
|
|
@@ -110,7 +110,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
110
110
|
(open)="handleOpen($event)">
|
|
111
111
|
{{ getText('addTaskText') }}
|
|
112
112
|
</kendo-dropdownbutton>
|
|
113
|
-
|
|
113
|
+
`,
|
|
114
|
+
standalone: true,
|
|
115
|
+
imports: [DropDownButtonComponent, EventsOutsideAngularDirective]
|
|
114
116
|
}]
|
|
115
117
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i2.EditService }, { type: i0.NgZone }]; }, propDecorators: { data: [{
|
|
116
118
|
type: Input
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
6
|
-
import { FormArray, FormControl, FormGroup, Validators } from '@angular/forms';
|
|
6
|
+
import { FormArray, FormControl, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
|
|
7
7
|
import { MappingService } from '../common/mapping.service';
|
|
8
8
|
import { GanttLocalizationService } from '../localization/gantt-localization.service';
|
|
9
9
|
import { DependencyType } from '../models/dependency-type.enum';
|
|
10
10
|
import { EditService } from './edit.service';
|
|
11
11
|
import { plusIcon, minusIcon } from '@progress/kendo-svg-icons';
|
|
12
|
+
import { CellTemplateDirective, ColumnComponent, GridComponent, SelectionDirective, ToolbarTemplateDirective } from '@progress/kendo-angular-grid';
|
|
13
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
14
|
+
import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
|
|
12
15
|
import * as i0 from "@angular/core";
|
|
13
16
|
import * as i1 from "../common/mapping.service";
|
|
14
17
|
import * as i2 from "./edit.service";
|
|
15
18
|
import * as i3 from "../localization/gantt-localization.service";
|
|
16
19
|
import * as i4 from "@angular/forms";
|
|
17
|
-
import * as i5 from "@progress/kendo-angular-buttons";
|
|
18
|
-
import * as i6 from "@progress/kendo-angular-grid";
|
|
19
|
-
import * as i7 from "@progress/kendo-angular-dropdowns";
|
|
20
20
|
/**
|
|
21
21
|
* @hidden
|
|
22
22
|
*/
|
|
@@ -102,7 +102,7 @@ export class DependenciesTableComponent {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
DependenciesTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DependenciesTableComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i3.GanttLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
105
|
-
DependenciesTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DependenciesTableComponent, selector: "kendo-gantt-dependencies-table", inputs: { tasks: "tasks", dependencies: "dependencies", dependencyType: "dependencyType" }, outputs: { dependenciesChange: "dependenciesChange" }, ngImport: i0, template: `
|
|
105
|
+
DependenciesTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: DependenciesTableComponent, isStandalone: true, selector: "kendo-gantt-dependencies-table", inputs: { tasks: "tasks", dependencies: "dependencies", dependencyType: "dependencyType" }, outputs: { dependenciesChange: "dependenciesChange" }, ngImport: i0, template: `
|
|
106
106
|
<kendo-grid
|
|
107
107
|
[data]="dependencies"
|
|
108
108
|
[selectable]="{ mode: 'single' }"
|
|
@@ -154,7 +154,7 @@ DependenciesTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
154
154
|
</ng-template>
|
|
155
155
|
</kendo-grid-column>
|
|
156
156
|
</kendo-grid>
|
|
157
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
157
|
+
`, isInline: true, dependencies: [{ kind: "component", type: GridComponent, selector: "kendo-grid", inputs: ["data", "pageSize", "height", "rowHeight", "detailRowHeight", "skip", "scrollable", "selectable", "sort", "size", "trackBy", "filter", "group", "virtualColumns", "filterable", "sortable", "pageable", "groupable", "rowReorderable", "navigable", "navigatable", "autoSize", "rowClass", "rowSticky", "rowSelected", "cellSelected", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "isDetailExpanded", "isGroupExpanded"], outputs: ["filterChange", "pageChange", "groupChange", "sortChange", "selectionChange", "rowReorder", "dataStateChange", "groupExpand", "groupCollapse", "detailExpand", "detailCollapse", "edit", "cancel", "save", "remove", "add", "cellClose", "cellClick", "pdfExport", "excelExport", "columnResize", "columnReorder", "columnVisibilityChange", "columnLockedChange", "columnStickyChange", "scrollBottom", "contentScroll"], exportAs: ["kendoGrid"] }, { kind: "directive", type: SelectionDirective, selector: "[kendoGridSelectBy]" }, { kind: "directive", type: ToolbarTemplateDirective, selector: "[kendoGridToolbarTemplate]", inputs: ["position"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: ColumnComponent, selector: "kendo-grid-column", inputs: ["field", "format", "sortable", "groupable", "editor", "filter", "filterable", "editable"] }, { kind: "directive", type: CellTemplateDirective, selector: "[kendoGridCellTemplate]" }, { kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }] });
|
|
158
158
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DependenciesTableComponent, decorators: [{
|
|
159
159
|
type: Component,
|
|
160
160
|
args: [{
|
|
@@ -211,7 +211,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
211
211
|
</ng-template>
|
|
212
212
|
</kendo-grid-column>
|
|
213
213
|
</kendo-grid>
|
|
214
|
-
|
|
214
|
+
`,
|
|
215
|
+
standalone: true,
|
|
216
|
+
imports: [GridComponent, SelectionDirective, ToolbarTemplateDirective, ButtonComponent, ColumnComponent, CellTemplateDirective, DropDownListComponent, ReactiveFormsModule]
|
|
215
217
|
}]
|
|
216
218
|
}], ctorParameters: function () { return [{ type: i1.MappingService }, { type: i2.EditService }, { type: i3.GanttLocalizationService }]; }, propDecorators: { tasks: [{
|
|
217
219
|
type: Input
|
|
@@ -8,17 +8,17 @@ import { MappingService } from '../common/mapping.service';
|
|
|
8
8
|
import { DependencyType } from '../models/dependency-type.enum';
|
|
9
9
|
import { EditService } from './edit.service';
|
|
10
10
|
import { saveIcon, cancelOutlineIcon, trashIcon } from '@progress/kendo-svg-icons';
|
|
11
|
+
import { DependenciesTableComponent } from './dependencies-table.component';
|
|
12
|
+
import { TaskFieldsComponent } from './task-fields.component';
|
|
13
|
+
import { CustomMessagesComponent, DialogActionsComponent, DialogComponent } from '@progress/kendo-angular-dialog';
|
|
14
|
+
import { TabContentDirective, TabStripComponent, TabStripTabComponent } from '@progress/kendo-angular-layout';
|
|
15
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
16
|
+
import { TreeListSpacerComponent } from '@progress/kendo-angular-treelist';
|
|
17
|
+
import { EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
|
|
11
18
|
import * as i0 from "@angular/core";
|
|
12
19
|
import * as i1 from "../common/mapping.service";
|
|
13
20
|
import * as i2 from "./edit.service";
|
|
14
21
|
import * as i3 from "@progress/kendo-angular-l10n";
|
|
15
|
-
import * as i4 from "@progress/kendo-angular-common";
|
|
16
|
-
import * as i5 from "@progress/kendo-angular-buttons";
|
|
17
|
-
import * as i6 from "@progress/kendo-angular-treelist";
|
|
18
|
-
import * as i7 from "@progress/kendo-angular-dialog";
|
|
19
|
-
import * as i8 from "@progress/kendo-angular-layout";
|
|
20
|
-
import * as i9 from "./dependencies-table.component";
|
|
21
|
-
import * as i10 from "./task-fields.component";
|
|
22
22
|
/**
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
|
@@ -63,7 +63,7 @@ export class EditDialogComponent {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
EditDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditDialogComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i0.ChangeDetectorRef }, { token: i3.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
66
|
-
EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditDialogComponent, selector: "kendo-gantt-edit-dialog", inputs: { data: "data" }, ngImport: i0, template: `
|
|
66
|
+
EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditDialogComponent, isStandalone: true, selector: "kendo-gantt-edit-dialog", inputs: { data: "data" }, ngImport: i0, template: `
|
|
67
67
|
<kendo-dialog
|
|
68
68
|
[title]="getText('taskEditingDialogTitle')"
|
|
69
69
|
[width]="575"
|
|
@@ -134,7 +134,7 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
134
134
|
</button>
|
|
135
135
|
</kendo-dialog-actions>
|
|
136
136
|
</kendo-dialog>
|
|
137
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
137
|
+
`, isInline: true, dependencies: [{ 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: "directive", type: CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages" }, { kind: "component", type: TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon", "closeIconClass", "closeSVGIcon", "showContentArea"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { kind: "component", type: TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon", "closeIconClass", "closeSVGIcon"], exportAs: ["kendoTabStripTab"] }, { kind: "directive", type: TabContentDirective, selector: "[kendoTabContent]" }, { kind: "component", type: TaskFieldsComponent, selector: "kendo-gantt-task-fields" }, { kind: "component", type: DependenciesTableComponent, selector: "kendo-gantt-dependencies-table", inputs: ["tasks", "dependencies", "dependencyType"], outputs: ["dependenciesChange"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
138
138
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
139
139
|
type: Component,
|
|
140
140
|
args: [{
|
|
@@ -210,7 +210,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
210
210
|
</button>
|
|
211
211
|
</kendo-dialog-actions>
|
|
212
212
|
</kendo-dialog>
|
|
213
|
-
|
|
213
|
+
`,
|
|
214
|
+
standalone: true,
|
|
215
|
+
imports: [DialogComponent, CustomMessagesComponent, TabStripComponent, TabStripTabComponent, TabContentDirective, TaskFieldsComponent, DependenciesTableComponent, DialogActionsComponent, ButtonComponent, TreeListSpacerComponent, EventsOutsideAngularDirective]
|
|
214
216
|
}]
|
|
215
217
|
}], ctorParameters: function () { return [{ type: i1.MappingService }, { type: i2.EditService }, { type: i0.ChangeDetectorRef }, { type: i3.LocalizationService }]; }, propDecorators: { data: [{
|
|
216
218
|
type: Input
|
|
@@ -3,19 +3,20 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component } from '@angular/core';
|
|
6
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
6
7
|
import { MappingService } from '../common/mapping.service';
|
|
7
8
|
import { GanttLocalizationService } from '../localization/gantt-localization.service';
|
|
8
9
|
import { EditService } from './edit.service';
|
|
10
|
+
import { NgIf } from '@angular/common';
|
|
11
|
+
import { FormFieldComponent, NumericTextBoxComponent, TextBoxDirective } from '@progress/kendo-angular-inputs';
|
|
12
|
+
import { LabelComponent } from '@progress/kendo-angular-label';
|
|
13
|
+
import { DateTimePickerComponent } from '@progress/kendo-angular-dateinputs';
|
|
14
|
+
import { TreeListSpacerComponent } from '@progress/kendo-angular-treelist';
|
|
9
15
|
import * as i0 from "@angular/core";
|
|
10
16
|
import * as i1 from "../common/mapping.service";
|
|
11
17
|
import * as i2 from "./edit.service";
|
|
12
18
|
import * as i3 from "../localization/gantt-localization.service";
|
|
13
|
-
import * as i4 from "@angular/
|
|
14
|
-
import * as i5 from "@angular/forms";
|
|
15
|
-
import * as i6 from "@progress/kendo-angular-label";
|
|
16
|
-
import * as i7 from "@progress/kendo-angular-inputs";
|
|
17
|
-
import * as i8 from "@progress/kendo-angular-dateinputs";
|
|
18
|
-
import * as i9 from "@progress/kendo-angular-treelist";
|
|
19
|
+
import * as i4 from "@angular/forms";
|
|
19
20
|
/**
|
|
20
21
|
* @hidden
|
|
21
22
|
*/
|
|
@@ -36,7 +37,7 @@ export class TaskFieldsComponent {
|
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
TaskFieldsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TaskFieldsComponent, deps: [{ token: i1.MappingService }, { token: i2.EditService }, { token: i3.GanttLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
-
TaskFieldsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TaskFieldsComponent, selector: "kendo-gantt-task-fields", ngImport: i0, template: `
|
|
40
|
+
TaskFieldsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TaskFieldsComponent, isStandalone: true, selector: "kendo-gantt-task-fields", ngImport: i0, template: `
|
|
40
41
|
<form class="k-form k-form-md" [formGroup]="formGroup">
|
|
41
42
|
<kendo-formfield *ngIf="formGroup.get(mapper.taskFields.title)">
|
|
42
43
|
<kendo-label [for]="title" [text]="getText('titleFieldInputLabel')"></kendo-label>
|
|
@@ -66,7 +67,7 @@ TaskFieldsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ve
|
|
|
66
67
|
></kendo-numerictextbox>
|
|
67
68
|
</kendo-formfield>
|
|
68
69
|
</form>
|
|
69
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
70
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "directive", type: TextBoxDirective, selector: "input[kendoTextBox]", inputs: ["value"] }, { kind: "component", type: DateTimePickerComponent, selector: "kendo-datetimepicker", inputs: ["focusableId", "weekDaysFormat", "showOtherMonthDays", "value", "format", "twoDigitYearMax", "tabindex", "disabledDates", "popupSettings", "title", "subtitle", "disabled", "readonly", "readOnlyInput", "cancelButton", "formatPlaceholder", "placeholder", "steps", "focusedDate", "calendarType", "animateCalendarNavigation", "weekNumber", "min", "max", "rangeValidation", "disabledDatesValidation", "incompleteDateValidation", "autoCorrectParts", "autoSwitchParts", "autoSwitchKeys", "enableMouseWheel", "allowCaretMode", "clearButton", "autoFill", "adaptiveMode", "inputAttributes", "defaultTab", "size", "rounded", "fillMode", "headerTemplate", "footerTemplate", "footer"], outputs: ["valueChange", "open", "close", "focus", "blur", "escape"], exportAs: ["kendo-datetimepicker"] }, { kind: "component", type: TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }, { kind: "component", type: NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode", "inputAttributes"], outputs: ["valueChange", "focus", "blur", "inputFocus", "inputBlur"], exportAs: ["kendoNumericTextBox"] }] });
|
|
70
71
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TaskFieldsComponent, decorators: [{
|
|
71
72
|
type: Component,
|
|
72
73
|
args: [{
|
|
@@ -101,6 +102,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
101
102
|
></kendo-numerictextbox>
|
|
102
103
|
</kendo-formfield>
|
|
103
104
|
</form>
|
|
104
|
-
|
|
105
|
+
`,
|
|
106
|
+
standalone: true,
|
|
107
|
+
imports: [ReactiveFormsModule, NgIf, FormFieldComponent, LabelComponent, TextBoxDirective, DateTimePickerComponent, TreeListSpacerComponent, NumericTextBoxComponent]
|
|
105
108
|
}]
|
|
106
109
|
}], ctorParameters: function () { return [{ type: i1.MappingService }, { type: i2.EditService }, { type: i3.GanttLocalizationService }]; } });
|
|
@@ -20,12 +20,13 @@ export class GanttExpandableDirective extends ExpandableDirective {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
GanttExpandableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttExpandableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
-
GanttExpandableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GanttExpandableDirective, selector: "[kendoGanttExpandable]", inputs: { expandBy: "expandBy" }, exportAs: ["kendoGanttExpandable"], usesInheritance: true, ngImport: i0 });
|
|
23
|
+
GanttExpandableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GanttExpandableDirective, isStandalone: true, selector: "[kendoGanttExpandable]", inputs: { expandBy: "expandBy" }, exportAs: ["kendoGanttExpandable"], usesInheritance: true, ngImport: i0 });
|
|
24
24
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttExpandableDirective, decorators: [{
|
|
25
25
|
type: Directive,
|
|
26
26
|
args: [{
|
|
27
27
|
exportAs: 'kendoGanttExpandable',
|
|
28
|
-
selector: '[kendoGanttExpandable]'
|
|
28
|
+
selector: '[kendoGanttExpandable]',
|
|
29
|
+
standalone: true
|
|
29
30
|
}]
|
|
30
31
|
}], propDecorators: { expandBy: [{
|
|
31
32
|
type: Input
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef, HostBinding, Input, Output, EventEmitter, ViewChild, ContentChildren, ContentChild, QueryList, isDevMode, Renderer2, ElementRef, NgZone } from '@angular/core';
|
|
6
|
-
import { TreeListComponent, DataBoundTreeComponent, ExpandableTreeComponent } from '@progress/kendo-angular-treelist';
|
|
6
|
+
import { TreeListComponent, DataBoundTreeComponent, ExpandableTreeComponent, TreeListSpacerComponent, CustomMessagesComponent } from '@progress/kendo-angular-treelist';
|
|
7
7
|
import { Day } from '@progress/kendo-date-math';
|
|
8
8
|
import { Subscription } from 'rxjs';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
10
10
|
import { packageMetadata } from './package-metadata';
|
|
11
|
-
import { anyChanged, hasObservers, Keys, shouldShowValidationUI } from '@progress/kendo-angular-common';
|
|
11
|
+
import { anyChanged, EventsOutsideAngularDirective, hasObservers, Keys, shouldShowValidationUI, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
|
|
12
12
|
import { getIndexFromViewDigitKeyCode, isArrowUpDownKey, isExpandCollapseKey, isNavigationKey, isViewDigitKey } from './navigation/utils';
|
|
13
13
|
import { GanttTimelineComponent } from './timeline/gantt-timeline.component';
|
|
14
14
|
import { GanttColumnBase } from './columns/columns';
|
|
15
15
|
import { fetchChildren, hasChildren, isSelected, rowClassCallback, taskClassCallback } from './common/default-callbacks';
|
|
16
16
|
import { DependencyType } from './models/models';
|
|
17
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
17
|
+
import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
|
|
18
18
|
import { TimelineViewService } from './timeline/timeline-view.service';
|
|
19
19
|
import { TimelineDayViewService } from './timeline/timeline-day-view.service';
|
|
20
20
|
import { TimelineWeekViewService } from './timeline/timeline-week-view.service';
|
|
@@ -38,6 +38,13 @@ import { getEditItem } from './editing/utils';
|
|
|
38
38
|
import { CellCloseEvent } from './models/events/cell-close-event.interface';
|
|
39
39
|
import { TimeLineYearViewService } from './timeline/timeline-year-view.service';
|
|
40
40
|
import { CurrentTimeMarkerService } from './timeline/current-time-marker.service';
|
|
41
|
+
import { EditDialogComponent } from './editing/edit-dialog.component';
|
|
42
|
+
import { ToolbarComponent } from './toolbar/toolbar.component';
|
|
43
|
+
import { NgIf } from '@angular/common';
|
|
44
|
+
import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
45
|
+
import { SplitterComponent, SplitterPaneComponent } from '@progress/kendo-angular-layout';
|
|
46
|
+
import { DialogActionsComponent, DialogComponent } from '@progress/kendo-angular-dialog';
|
|
47
|
+
import { ButtonComponent } from '@progress/kendo-angular-buttons';
|
|
41
48
|
import * as i0 from "@angular/core";
|
|
42
49
|
import * as i1 from "./timeline/timeline-view.service";
|
|
43
50
|
import * as i2 from "./scrolling/scroll-sync.service";
|
|
@@ -48,16 +55,6 @@ import * as i6 from "./editing/edit.service";
|
|
|
48
55
|
import * as i7 from "@progress/kendo-angular-l10n";
|
|
49
56
|
import * as i8 from "./navigation/navigation.service";
|
|
50
57
|
import * as i9 from "./timeline/current-time-marker.service";
|
|
51
|
-
import * as i10 from "@angular/common";
|
|
52
|
-
import * as i11 from "@progress/kendo-angular-common";
|
|
53
|
-
import * as i12 from "@progress/kendo-angular-buttons";
|
|
54
|
-
import * as i13 from "@progress/kendo-angular-layout";
|
|
55
|
-
import * as i14 from "@progress/kendo-angular-treelist";
|
|
56
|
-
import * as i15 from "@progress/kendo-angular-dialog";
|
|
57
|
-
import * as i16 from "./timeline/gantt-timeline.component";
|
|
58
|
-
import * as i17 from "./toolbar/toolbar.component";
|
|
59
|
-
import * as i18 from "./editing/edit-dialog.component";
|
|
60
|
-
import * as i19 from "./localization/localized-messages.directive";
|
|
61
58
|
const TREELIST_GROUP_COLUMNS_CLASS = 'k-gantt-treelist-nested-columns';
|
|
62
59
|
const DEFAULT_VIEW = 'week';
|
|
63
60
|
const DEFAULT_DRAG_SCROLL_SETTINGS = {
|
|
@@ -1330,9 +1327,13 @@ export class GanttComponent {
|
|
|
1330
1327
|
}
|
|
1331
1328
|
}
|
|
1332
1329
|
GanttComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttComponent, deps: [{ token: i1.TimelineViewService }, { token: i2.ScrollSyncService }, { token: i0.Renderer2 }, { token: i3.MappingService }, { token: i4.OptionChangesService }, { token: i5.DependencyDomService }, { token: i6.EditService }, { token: i7.LocalizationService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i8.NavigationService }, { token: i9.CurrentTimeMarkerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1333
|
-
GanttComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttComponent, selector: "kendo-gantt", inputs: { roleDescription: ["aria-roledescription", "roleDescription"], role: "role", taskModelFields: "taskModelFields", dependencyModelFields: "dependencyModelFields", activeView: "activeView", data: "data", isSelected: "isSelected", validateNewDependency: "validateNewDependency", selectable: "selectable", toolbarSettings: "toolbarSettings", toolbarAriaLabel: "toolbarAriaLabel", fetchChildren: "fetchChildren", hasChildren: "hasChildren", dependencies: "dependencies", sortable: "sortable", sort: "sort", filterable: "filterable", filter: "filter", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", navigable: "navigable", timelinePaneOptions: "timelinePaneOptions", treeListPaneOptions: "treeListPaneOptions", taskClass: "taskClass", rowClass: "rowClass", isExpanded: "isExpanded", columnsAutoSize: "columnsAutoSize", currentTimeMarker: "currentTimeMarker", columnMenu: "columnMenu", columnsReorderable: "columnsReorderable", columnsResizable: "columnsResizable", dragScrollSettings: "dragScrollSettings" }, outputs: { 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" }, host: { properties: { "attr.aria-roledescription": "this.hostRoleDescriptionAttr", "attr.role": "this.hostRoleAttr", "class.k-gantt": "this.hostClasses", "attr.dir": "this.dir" } }, providers: [
|
|
1330
|
+
GanttComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: GanttComponent, isStandalone: true, selector: "kendo-gantt", inputs: { roleDescription: ["aria-roledescription", "roleDescription"], role: "role", taskModelFields: "taskModelFields", dependencyModelFields: "dependencyModelFields", activeView: "activeView", data: "data", isSelected: "isSelected", validateNewDependency: "validateNewDependency", selectable: "selectable", toolbarSettings: "toolbarSettings", toolbarAriaLabel: "toolbarAriaLabel", fetchChildren: "fetchChildren", hasChildren: "hasChildren", dependencies: "dependencies", sortable: "sortable", sort: "sort", filterable: "filterable", filter: "filter", workDayStart: "workDayStart", workDayEnd: "workDayEnd", workWeekStart: "workWeekStart", workWeekEnd: "workWeekEnd", navigable: "navigable", timelinePaneOptions: "timelinePaneOptions", treeListPaneOptions: "treeListPaneOptions", taskClass: "taskClass", rowClass: "rowClass", isExpanded: "isExpanded", columnsAutoSize: "columnsAutoSize", currentTimeMarker: "currentTimeMarker", columnMenu: "columnMenu", columnsReorderable: "columnsReorderable", columnsResizable: "columnsResizable", dragScrollSettings: "dragScrollSettings" }, outputs: { 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" }, host: { properties: { "attr.aria-roledescription": "this.hostRoleDescriptionAttr", "attr.role": "this.hostRoleAttr", "class.k-gantt": "this.hostClasses", "attr.dir": "this.dir" } }, providers: [
|
|
1334
1331
|
GanttLocalizationService,
|
|
1335
1332
|
LocalizationService,
|
|
1333
|
+
{
|
|
1334
|
+
provide: L10N_PREFIX,
|
|
1335
|
+
useValue: 'kendo.gantt'
|
|
1336
|
+
},
|
|
1336
1337
|
{
|
|
1337
1338
|
provide: DataBoundTreeComponent,
|
|
1338
1339
|
useExisting: forwardRef(() => GanttComponent)
|
|
@@ -1726,7 +1727,7 @@ GanttComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version
|
|
|
1726
1727
|
</kendo-dialog>
|
|
1727
1728
|
|
|
1728
1729
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
1729
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1730
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoGanttLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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"], outputs: ["layoutChange"], exportAs: ["kendoSplitter"] }, { kind: "component", type: SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: ["order", "size", "separatorLabel", "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", "navigatable", "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", "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, kendo-treelist-pager-spacer", inputs: ["width"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
1730
1731
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GanttComponent, decorators: [{
|
|
1731
1732
|
type: Component,
|
|
1732
1733
|
args: [{
|
|
@@ -1735,6 +1736,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1735
1736
|
providers: [
|
|
1736
1737
|
GanttLocalizationService,
|
|
1737
1738
|
LocalizationService,
|
|
1739
|
+
{
|
|
1740
|
+
provide: L10N_PREFIX,
|
|
1741
|
+
useValue: 'kendo.gantt'
|
|
1742
|
+
},
|
|
1738
1743
|
{
|
|
1739
1744
|
provide: DataBoundTreeComponent,
|
|
1740
1745
|
useExisting: forwardRef(() => GanttComponent)
|
|
@@ -2129,7 +2134,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2129
2134
|
</kendo-dialog>
|
|
2130
2135
|
|
|
2131
2136
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
2132
|
-
|
|
2137
|
+
`,
|
|
2138
|
+
standalone: true,
|
|
2139
|
+
imports: [LocalizedMessagesDirective, NgIf, ToolbarComponent, SplitterComponent, SplitterPaneComponent, TreeListComponent, EventsOutsideAngularDirective, CustomMessagesComponent, GanttTimelineComponent, EditDialogComponent, DialogComponent, DialogActionsComponent, TreeListSpacerComponent, ButtonComponent, WatermarkOverlayComponent]
|
|
2133
2140
|
}]
|
|
2134
2141
|
}], ctorParameters: function () { return [{ type: i1.TimelineViewService }, { type: i2.ScrollSyncService }, { type: i0.Renderer2 }, { type: i3.MappingService }, { type: i4.OptionChangesService }, { type: i5.DependencyDomService }, { type: i6.EditService }, { type: i7.LocalizationService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i8.NavigationService }, { type: i9.CurrentTimeMarkerService }]; }, propDecorators: { treeList: [{
|
|
2135
2142
|
type: ViewChild,
|