@progress/kendo-angular-gantt 14.0.0-develop.6 → 14.0.0-develop.8
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/esm2020/package-metadata.mjs +2 -2
- package/esm2020/timeline/current-time-marker.service.mjs +1 -1
- package/esm2020/timeline/gantt-timeline.component.mjs +18 -7
- package/fesm2015/progress-kendo-angular-gantt.mjs +23 -11
- package/fesm2020/progress-kendo-angular-gantt.mjs +21 -10
- package/package.json +13 -13
- package/schematics/ngAdd/index.js +11 -11
- package/timeline/gantt-timeline.component.d.ts +4 -2
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-gantt',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '14.0.0-develop.
|
|
12
|
+
publishDate: 1696515047,
|
|
13
|
+
version: '14.0.0-develop.8',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -66,7 +66,7 @@ export class CurrentTimeMarkerService {
|
|
|
66
66
|
if (typeof (this.currentTimeMarker) === 'boolean') {
|
|
67
67
|
return MS_PER_MINUTE;
|
|
68
68
|
}
|
|
69
|
-
return this.currentTimeMarker
|
|
69
|
+
return this.currentTimeMarker?.updateInterval || MS_PER_MINUTE;
|
|
70
70
|
}
|
|
71
71
|
ngOnDestroy() {
|
|
72
72
|
clearTimeout(this.currentTimeTimeout);
|
|
@@ -46,12 +46,10 @@ export class GanttTimelineComponent {
|
|
|
46
46
|
const timelineRowHeight = isDocumentAvailable() ? timelineRow.getBoundingClientRect().height : 0;
|
|
47
47
|
this.currentTimeMarkerService.rowHeight = timelineRowHeight;
|
|
48
48
|
this.currentTimeMarkerService.currentTimeMarker = this.currentTimeMarker;
|
|
49
|
-
this.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
});
|
|
49
|
+
this.currentTimeMarkerService.slots = this.slots;
|
|
50
|
+
this.currentTimeMarkerService.rows = this.rows;
|
|
51
|
+
this.currentTimeMarkerService.activeView = this.activeView;
|
|
52
|
+
this.createTimeMarker();
|
|
55
53
|
this.renderer.setStyle(this.timelineColumns.nativeElement, 'height', `${(this.rows || []).length * timelineRowHeight}px`);
|
|
56
54
|
}));
|
|
57
55
|
}
|
|
@@ -61,6 +59,11 @@ export class GanttTimelineComponent {
|
|
|
61
59
|
get draggableEnabled() {
|
|
62
60
|
return this.renderDependencyDragClues;
|
|
63
61
|
}
|
|
62
|
+
ngOnChanges(changes) {
|
|
63
|
+
if (changes['currentTimeMarker']) {
|
|
64
|
+
this.createTimeMarker();
|
|
65
|
+
}
|
|
66
|
+
}
|
|
64
67
|
ngAfterViewInit() {
|
|
65
68
|
this.currentTimeMarkerService.slots = this.slots;
|
|
66
69
|
this.currentTimeMarkerService.rows = this.rows;
|
|
@@ -77,9 +80,17 @@ export class GanttTimelineComponent {
|
|
|
77
80
|
isNonWorking(item) {
|
|
78
81
|
return item.hasOwnProperty('isWorking') && !item.isWorking;
|
|
79
82
|
}
|
|
83
|
+
createTimeMarker() {
|
|
84
|
+
this.zone.runOutsideAngular(() => {
|
|
85
|
+
this.currentTimeMarkerService.removeTimeMarker();
|
|
86
|
+
if ((typeof this.currentTimeMarker === 'boolean' && this.currentTimeMarker) || this.currentTimeMarker?.enabled) {
|
|
87
|
+
this.currentTimeMarkerService.createTimeMarker();
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
80
91
|
}
|
|
81
92
|
GanttTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GanttTimelineComponent, deps: [{ token: i1.ScrollSyncService }, { token: i2.DependencyDomService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i3.CurrentTimeMarkerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
82
|
-
GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GanttTimelineComponent, 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", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, host: { properties: { "class.k-gantt-timeline": "this.hostClass" } }, 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: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], ngImport: i0, template: `
|
|
93
|
+
GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GanttTimelineComponent, 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", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, host: { properties: { "class.k-gantt-timeline": "this.hostClass" } }, 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: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
83
94
|
<div class="k-timeline k-grid k-grid-md">
|
|
84
95
|
<div class="k-grid-header">
|
|
85
96
|
<div #timelineHeaderWrap class="k-grid-header-wrap">
|
|
@@ -52,8 +52,8 @@ const packageMetadata = {
|
|
|
52
52
|
name: '@progress/kendo-angular-gantt',
|
|
53
53
|
productName: 'Kendo UI for Angular',
|
|
54
54
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
55
|
-
publishDate:
|
|
56
|
-
version: '14.0.0-develop.
|
|
55
|
+
publishDate: 1696515047,
|
|
56
|
+
version: '14.0.0-develop.8',
|
|
57
57
|
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'
|
|
58
58
|
};
|
|
59
59
|
|
|
@@ -712,10 +712,11 @@ class CurrentTimeMarkerService {
|
|
|
712
712
|
return this.rows.length * this.rowHeight;
|
|
713
713
|
}
|
|
714
714
|
get interval() {
|
|
715
|
+
var _a;
|
|
715
716
|
if (typeof (this.currentTimeMarker) === 'boolean') {
|
|
716
717
|
return MS_PER_MINUTE;
|
|
717
718
|
}
|
|
718
|
-
return this.currentTimeMarker.updateInterval || MS_PER_MINUTE;
|
|
719
|
+
return ((_a = this.currentTimeMarker) === null || _a === void 0 ? void 0 : _a.updateInterval) || MS_PER_MINUTE;
|
|
719
720
|
}
|
|
720
721
|
ngOnDestroy() {
|
|
721
722
|
clearTimeout(this.currentTimeTimeout);
|
|
@@ -2817,13 +2818,10 @@ class GanttTimelineComponent {
|
|
|
2817
2818
|
const timelineRowHeight = isDocumentAvailable() ? timelineRow.getBoundingClientRect().height : 0;
|
|
2818
2819
|
this.currentTimeMarkerService.rowHeight = timelineRowHeight;
|
|
2819
2820
|
this.currentTimeMarkerService.currentTimeMarker = this.currentTimeMarker;
|
|
2820
|
-
this.
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
this.currentTimeMarkerService.createTimeMarker();
|
|
2825
|
-
}
|
|
2826
|
-
});
|
|
2821
|
+
this.currentTimeMarkerService.slots = this.slots;
|
|
2822
|
+
this.currentTimeMarkerService.rows = this.rows;
|
|
2823
|
+
this.currentTimeMarkerService.activeView = this.activeView;
|
|
2824
|
+
this.createTimeMarker();
|
|
2827
2825
|
this.renderer.setStyle(this.timelineColumns.nativeElement, 'height', `${(this.rows || []).length * timelineRowHeight}px`);
|
|
2828
2826
|
}));
|
|
2829
2827
|
}
|
|
@@ -2833,6 +2831,11 @@ class GanttTimelineComponent {
|
|
|
2833
2831
|
get draggableEnabled() {
|
|
2834
2832
|
return this.renderDependencyDragClues;
|
|
2835
2833
|
}
|
|
2834
|
+
ngOnChanges(changes) {
|
|
2835
|
+
if (changes['currentTimeMarker']) {
|
|
2836
|
+
this.createTimeMarker();
|
|
2837
|
+
}
|
|
2838
|
+
}
|
|
2836
2839
|
ngAfterViewInit() {
|
|
2837
2840
|
this.currentTimeMarkerService.slots = this.slots;
|
|
2838
2841
|
this.currentTimeMarkerService.rows = this.rows;
|
|
@@ -2849,9 +2852,18 @@ class GanttTimelineComponent {
|
|
|
2849
2852
|
isNonWorking(item) {
|
|
2850
2853
|
return item.hasOwnProperty('isWorking') && !item.isWorking;
|
|
2851
2854
|
}
|
|
2855
|
+
createTimeMarker() {
|
|
2856
|
+
this.zone.runOutsideAngular(() => {
|
|
2857
|
+
var _a;
|
|
2858
|
+
this.currentTimeMarkerService.removeTimeMarker();
|
|
2859
|
+
if ((typeof this.currentTimeMarker === 'boolean' && this.currentTimeMarker) || ((_a = this.currentTimeMarker) === null || _a === void 0 ? void 0 : _a.enabled)) {
|
|
2860
|
+
this.currentTimeMarkerService.createTimeMarker();
|
|
2861
|
+
}
|
|
2862
|
+
});
|
|
2863
|
+
}
|
|
2852
2864
|
}
|
|
2853
2865
|
GanttTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GanttTimelineComponent, deps: [{ token: ScrollSyncService }, { token: DependencyDomService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: CurrentTimeMarkerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2854
|
-
GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GanttTimelineComponent, 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", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, host: { properties: { "class.k-gantt-timeline": "this.hostClass" } }, 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: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], ngImport: i0, template: `
|
|
2866
|
+
GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GanttTimelineComponent, 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", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, host: { properties: { "class.k-gantt-timeline": "this.hostClass" } }, 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: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
2855
2867
|
<div class="k-timeline k-grid k-grid-md">
|
|
2856
2868
|
<div class="k-grid-header">
|
|
2857
2869
|
<div #timelineHeaderWrap class="k-grid-header-wrap">
|
|
@@ -52,8 +52,8 @@ const packageMetadata = {
|
|
|
52
52
|
name: '@progress/kendo-angular-gantt',
|
|
53
53
|
productName: 'Kendo UI for Angular',
|
|
54
54
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
55
|
-
publishDate:
|
|
56
|
-
version: '14.0.0-develop.
|
|
55
|
+
publishDate: 1696515047,
|
|
56
|
+
version: '14.0.0-develop.8',
|
|
57
57
|
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'
|
|
58
58
|
};
|
|
59
59
|
|
|
@@ -714,7 +714,7 @@ class CurrentTimeMarkerService {
|
|
|
714
714
|
if (typeof (this.currentTimeMarker) === 'boolean') {
|
|
715
715
|
return MS_PER_MINUTE;
|
|
716
716
|
}
|
|
717
|
-
return this.currentTimeMarker
|
|
717
|
+
return this.currentTimeMarker?.updateInterval || MS_PER_MINUTE;
|
|
718
718
|
}
|
|
719
719
|
ngOnDestroy() {
|
|
720
720
|
clearTimeout(this.currentTimeTimeout);
|
|
@@ -2798,12 +2798,10 @@ class GanttTimelineComponent {
|
|
|
2798
2798
|
const timelineRowHeight = isDocumentAvailable() ? timelineRow.getBoundingClientRect().height : 0;
|
|
2799
2799
|
this.currentTimeMarkerService.rowHeight = timelineRowHeight;
|
|
2800
2800
|
this.currentTimeMarkerService.currentTimeMarker = this.currentTimeMarker;
|
|
2801
|
-
this.
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
}
|
|
2806
|
-
});
|
|
2801
|
+
this.currentTimeMarkerService.slots = this.slots;
|
|
2802
|
+
this.currentTimeMarkerService.rows = this.rows;
|
|
2803
|
+
this.currentTimeMarkerService.activeView = this.activeView;
|
|
2804
|
+
this.createTimeMarker();
|
|
2807
2805
|
this.renderer.setStyle(this.timelineColumns.nativeElement, 'height', `${(this.rows || []).length * timelineRowHeight}px`);
|
|
2808
2806
|
}));
|
|
2809
2807
|
}
|
|
@@ -2813,6 +2811,11 @@ class GanttTimelineComponent {
|
|
|
2813
2811
|
get draggableEnabled() {
|
|
2814
2812
|
return this.renderDependencyDragClues;
|
|
2815
2813
|
}
|
|
2814
|
+
ngOnChanges(changes) {
|
|
2815
|
+
if (changes['currentTimeMarker']) {
|
|
2816
|
+
this.createTimeMarker();
|
|
2817
|
+
}
|
|
2818
|
+
}
|
|
2816
2819
|
ngAfterViewInit() {
|
|
2817
2820
|
this.currentTimeMarkerService.slots = this.slots;
|
|
2818
2821
|
this.currentTimeMarkerService.rows = this.rows;
|
|
@@ -2829,9 +2832,17 @@ class GanttTimelineComponent {
|
|
|
2829
2832
|
isNonWorking(item) {
|
|
2830
2833
|
return item.hasOwnProperty('isWorking') && !item.isWorking;
|
|
2831
2834
|
}
|
|
2835
|
+
createTimeMarker() {
|
|
2836
|
+
this.zone.runOutsideAngular(() => {
|
|
2837
|
+
this.currentTimeMarkerService.removeTimeMarker();
|
|
2838
|
+
if ((typeof this.currentTimeMarker === 'boolean' && this.currentTimeMarker) || this.currentTimeMarker?.enabled) {
|
|
2839
|
+
this.currentTimeMarkerService.createTimeMarker();
|
|
2840
|
+
}
|
|
2841
|
+
});
|
|
2842
|
+
}
|
|
2832
2843
|
}
|
|
2833
2844
|
GanttTimelineComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: GanttTimelineComponent, deps: [{ token: ScrollSyncService }, { token: DependencyDomService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: CurrentTimeMarkerService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2834
|
-
GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GanttTimelineComponent, 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", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, host: { properties: { "class.k-gantt-timeline": "this.hostClass" } }, 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: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], ngImport: i0, template: `
|
|
2845
|
+
GanttTimelineComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: GanttTimelineComponent, 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", selectable: "selectable", isTaskSelected: "isTaskSelected", isExpanded: "isExpanded", dependencies: "dependencies" }, outputs: { timelineContainerPress: "timelineContainerPress", timelineContainerDrag: "timelineContainerDrag", timelineContainerRelease: "timelineContainerRelease" }, host: { properties: { "class.k-gantt-timeline": "this.hostClass" } }, 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: "dragPopupContainer", first: true, predicate: ["dragPopupContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "dependencyDragCreatePolyline", first: true, predicate: ["dependencyDragCreatePolyline"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
|
|
2835
2846
|
<div class="k-timeline k-grid k-grid-md">
|
|
2836
2847
|
<div class="k-grid-header">
|
|
2837
2848
|
<div #timelineHeaderWrap class="k-grid-header-wrap">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-gantt",
|
|
3
|
-
"version": "14.0.0-develop.
|
|
3
|
+
"version": "14.0.0-develop.8",
|
|
4
4
|
"description": "Kendo UI Angular Gantt",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -24,22 +24,22 @@
|
|
|
24
24
|
"@angular/platform-browser": "13 - 16",
|
|
25
25
|
"@progress/kendo-data-query": "^1.5.5",
|
|
26
26
|
"@progress/kendo-licensing": "^1.0.2",
|
|
27
|
-
"@progress/kendo-angular-buttons": "14.0.0-develop.
|
|
28
|
-
"@progress/kendo-angular-common": "14.0.0-develop.
|
|
29
|
-
"@progress/kendo-angular-dialog": "14.0.0-develop.
|
|
30
|
-
"@progress/kendo-angular-dropdowns": "14.0.0-develop.
|
|
31
|
-
"@progress/kendo-angular-grid": "14.0.0-develop.
|
|
32
|
-
"@progress/kendo-angular-icons": "14.0.0-develop.
|
|
33
|
-
"@progress/kendo-angular-intl": "14.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-l10n": "14.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-layout": "14.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-popup": "14.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-treelist": "14.0.0-develop.
|
|
27
|
+
"@progress/kendo-angular-buttons": "14.0.0-develop.8",
|
|
28
|
+
"@progress/kendo-angular-common": "14.0.0-develop.8",
|
|
29
|
+
"@progress/kendo-angular-dialog": "14.0.0-develop.8",
|
|
30
|
+
"@progress/kendo-angular-dropdowns": "14.0.0-develop.8",
|
|
31
|
+
"@progress/kendo-angular-grid": "14.0.0-develop.8",
|
|
32
|
+
"@progress/kendo-angular-icons": "14.0.0-develop.8",
|
|
33
|
+
"@progress/kendo-angular-intl": "14.0.0-develop.8",
|
|
34
|
+
"@progress/kendo-angular-l10n": "14.0.0-develop.8",
|
|
35
|
+
"@progress/kendo-angular-layout": "14.0.0-develop.8",
|
|
36
|
+
"@progress/kendo-angular-popup": "14.0.0-develop.8",
|
|
37
|
+
"@progress/kendo-angular-treelist": "14.0.0-develop.8",
|
|
38
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"tslib": "^2.3.1",
|
|
42
|
-
"@progress/kendo-angular-schematics": "14.0.0-develop.
|
|
42
|
+
"@progress/kendo-angular-schematics": "14.0.0-develop.8",
|
|
43
43
|
"@progress/kendo-common": "^0.2.1",
|
|
44
44
|
"@progress/kendo-date-math": "^1.5.2",
|
|
45
45
|
"@progress/kendo-draggable": "^3.0.0"
|
|
@@ -7,20 +7,20 @@ function default_1(options) {
|
|
|
7
7
|
// See https://github.com/telerik/kendo-schematics/issues/28
|
|
8
8
|
peerDependencies: {
|
|
9
9
|
// peer deps of the treelist
|
|
10
|
-
'@progress/kendo-angular-dateinputs': '14.0.0-develop.
|
|
11
|
-
'@progress/kendo-angular-dropdowns': '14.0.0-develop.
|
|
12
|
-
'@progress/kendo-angular-excel-export': '14.0.0-develop.
|
|
13
|
-
'@progress/kendo-angular-inputs': '14.0.0-develop.
|
|
14
|
-
'@progress/kendo-angular-l10n': '14.0.0-develop.
|
|
15
|
-
'@progress/kendo-angular-label': '14.0.0-develop.
|
|
16
|
-
'@progress/kendo-angular-pdf-export': '14.0.0-develop.
|
|
17
|
-
'@progress/kendo-angular-popup': '14.0.0-develop.
|
|
18
|
-
'@progress/kendo-angular-utils': '14.0.0-develop.
|
|
10
|
+
'@progress/kendo-angular-dateinputs': '14.0.0-develop.8',
|
|
11
|
+
'@progress/kendo-angular-dropdowns': '14.0.0-develop.8',
|
|
12
|
+
'@progress/kendo-angular-excel-export': '14.0.0-develop.8',
|
|
13
|
+
'@progress/kendo-angular-inputs': '14.0.0-develop.8',
|
|
14
|
+
'@progress/kendo-angular-l10n': '14.0.0-develop.8',
|
|
15
|
+
'@progress/kendo-angular-label': '14.0.0-develop.8',
|
|
16
|
+
'@progress/kendo-angular-pdf-export': '14.0.0-develop.8',
|
|
17
|
+
'@progress/kendo-angular-popup': '14.0.0-develop.8',
|
|
18
|
+
'@progress/kendo-angular-utils': '14.0.0-develop.8',
|
|
19
19
|
'@progress/kendo-drawing': '^1.0.0',
|
|
20
20
|
// peer dep of the dropdowns
|
|
21
|
-
'@progress/kendo-angular-treeview': '14.0.0-develop.
|
|
21
|
+
'@progress/kendo-angular-treeview': '14.0.0-develop.8',
|
|
22
22
|
// peer dep of the layout
|
|
23
|
-
'@progress/kendo-angular-progressbar': '14.0.0-develop.
|
|
23
|
+
'@progress/kendo-angular-progressbar': '14.0.0-develop.8',
|
|
24
24
|
// peer dep of the icons
|
|
25
25
|
'@progress/kendo-svg-icons': '^1.0.0'
|
|
26
26
|
} });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { AfterViewInit, ElementRef, EventEmitter, NgZone, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
5
|
+
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnChanges, Renderer2, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
6
6
|
import { ScrollSyncService } from '../scrolling/scroll-sync.service';
|
|
7
7
|
import { DependencyDomService } from '../dependencies/dependency-dom.service';
|
|
8
8
|
import { ViewItem } from '../models/view-item.interface';
|
|
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
/**
|
|
14
14
|
* @hidden
|
|
15
15
|
*/
|
|
16
|
-
export declare class GanttTimelineComponent implements AfterViewInit {
|
|
16
|
+
export declare class GanttTimelineComponent implements AfterViewInit, OnChanges {
|
|
17
17
|
private scrollSyncService;
|
|
18
18
|
private dependencyDomService;
|
|
19
19
|
private renderer;
|
|
@@ -63,9 +63,11 @@ export declare class GanttTimelineComponent implements AfterViewInit {
|
|
|
63
63
|
get draggableEnabled(): boolean;
|
|
64
64
|
private subscriptions;
|
|
65
65
|
constructor(scrollSyncService: ScrollSyncService, dependencyDomService: DependencyDomService, renderer: Renderer2, zone: NgZone, currentTimeMarkerService: CurrentTimeMarkerService);
|
|
66
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
66
67
|
ngAfterViewInit(): void;
|
|
67
68
|
ngOnDestroy(): void;
|
|
68
69
|
isNonWorking(item: any): boolean;
|
|
70
|
+
private createTimeMarker;
|
|
69
71
|
static ɵfac: i0.ɵɵFactoryDeclaration<GanttTimelineComponent, never>;
|
|
70
72
|
static ɵcmp: i0.ɵɵComponentDeclaration<GanttTimelineComponent, "kendo-gantt-timeline", never, { "rows": "rows"; "slots": "slots"; "groupSlots": "groupSlots"; "tableWidth": "tableWidth"; "activeView": "activeView"; "taskContentTemplate": "taskContentTemplate"; "taskTemplate": "taskTemplate"; "summaryTaskTemplate": "summaryTaskTemplate"; "taskClass": "taskClass"; "renderDependencyDragClues": "renderDependencyDragClues"; "dragScrollSettings": "dragScrollSettings"; "currentTimeMarker": "currentTimeMarker"; "selectable": "selectable"; "isTaskSelected": "isTaskSelected"; "isExpanded": "isExpanded"; "dependencies": "dependencies"; }, { "timelineContainerPress": "timelineContainerPress"; "timelineContainerDrag": "timelineContainerDrag"; "timelineContainerRelease": "timelineContainerRelease"; }, never, never>;
|
|
71
73
|
}
|