@progress/kendo-angular-gantt 2.0.0 → 2.0.2-dev.202206292032
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/binding-directives/flat-binding.directive.d.ts +1 -1
- package/binding-directives/hierarchy-binding.directive.d.ts +1 -1
- package/bundles/kendo-angular-gantt.umd.js +1 -1
- package/columns/{column-base.d.ts → column-base.component.d.ts} +0 -1
- package/columns/column-group.component.d.ts +1 -1
- package/columns/column.component.d.ts +1 -1
- package/columns/columns.d.ts +1 -1
- package/columns/span-column.component.d.ts +1 -1
- package/esm2015/binding-directives/flat-binding.directive.js +0 -6
- package/esm2015/binding-directives/hierarchy-binding.directive.js +0 -6
- package/esm2015/columns/{column-base.js → column-base.component.js} +0 -1
- package/esm2015/columns/column-group.component.js +2 -2
- package/esm2015/columns/column.component.js +2 -2
- package/esm2015/columns/columns.js +1 -1
- package/esm2015/columns/span-column.component.js +2 -2
- package/esm2015/editing/edit-dialog.component.js +1 -1
- package/esm2015/gantt.component.js +1 -1
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/timeline/timeline-base-view.service.js +3 -7
- package/fesm2015/kendo-angular-gantt.js +6 -23
- package/models/events/column-locked-change-event.interface.d.ts +1 -1
- package/models/events/column-visibility-change-event.interface.d.ts +1 -1
- package/navigation/navigation-models.d.ts +1 -1
- package/package.json +7 -7
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { QueryList } from '@angular/core';
|
|
6
6
|
import { ColumnGroupComponent } from '@progress/kendo-angular-treelist';
|
|
7
7
|
import { OptionChangesService } from '../common/option-changes.service';
|
|
8
|
-
import { GanttColumnBase } from './column-base';
|
|
8
|
+
import { GanttColumnBase } from './column-base.component';
|
|
9
9
|
import { ColumnSortSettings } from './../models/sort-settings';
|
|
10
10
|
import { HeaderTemplateDirective } from './header-template.directive';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { QueryList } from '@angular/core';
|
|
6
6
|
import { ColumnComponent } from '@progress/kendo-angular-treelist';
|
|
7
7
|
import { OptionChangesService } from '../common/option-changes.service';
|
|
8
|
-
import { GanttColumnBase } from './column-base';
|
|
8
|
+
import { GanttColumnBase } from './column-base.component';
|
|
9
9
|
import { CellTemplateDirective } from './cell-template.directive';
|
|
10
10
|
import { ColumnMenuTemplateDirective } from './column-menu-template.directive';
|
|
11
11
|
import { FilterCellTemplateDirective } from './filter-cell-template.directive';
|
package/columns/columns.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 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
|
-
export { GanttColumnBase } from './column-base';
|
|
5
|
+
export { GanttColumnBase } from './column-base.component';
|
|
6
6
|
export { GanttColumnComponent } from './column.component';
|
|
7
7
|
export { GanttColumnGroupComponent } from './column-group.component';
|
|
8
8
|
export { GanttSpanColumnComponent } from './span-column.component';
|
|
@@ -6,7 +6,7 @@ import { QueryList } from '@angular/core';
|
|
|
6
6
|
import { SpanColumnComponent } from '@progress/kendo-angular-treelist';
|
|
7
7
|
import { OptionChangesService } from '../common/option-changes.service';
|
|
8
8
|
import { CellTemplateDirective } from './cell-template.directive';
|
|
9
|
-
import { GanttColumnBase } from './column-base';
|
|
9
|
+
import { GanttColumnBase } from './column-base.component';
|
|
10
10
|
import { GanttColumnComponent } from './column.component';
|
|
11
11
|
import { EditTemplateDirective } from './edit-template.directive';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
@@ -12,12 +12,6 @@ import * as i0 from "@angular/core";
|
|
|
12
12
|
* The directive encapsulates the in-memory handling of data operations such as sorting and filtering.
|
|
13
13
|
*/
|
|
14
14
|
export class GanttFlatBindingDirective extends FlatBindingDirective {
|
|
15
|
-
/**
|
|
16
|
-
* The array of data which will be used to populate the Gantt.
|
|
17
|
-
*/
|
|
18
|
-
set data(value) {
|
|
19
|
-
super.data = value;
|
|
20
|
-
}
|
|
21
15
|
/**
|
|
22
16
|
* @hidden
|
|
23
17
|
*/
|
|
@@ -10,12 +10,6 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
* which encapsulates the in-memory handling of data operations such as sorting and filtering.
|
|
11
11
|
*/
|
|
12
12
|
export class GanttHierarchyBindingDirective extends HierarchyBindingDirective {
|
|
13
|
-
/**
|
|
14
|
-
* The array of data which will be used to populate the Gantt.
|
|
15
|
-
*/
|
|
16
|
-
set data(value) {
|
|
17
|
-
super.data = value;
|
|
18
|
-
}
|
|
19
13
|
/**
|
|
20
14
|
* @hidden
|
|
21
15
|
*/
|
|
@@ -6,7 +6,6 @@ import { Component, Input } from '@angular/core';
|
|
|
6
6
|
import { ColumnBase } from '@progress/kendo-angular-treelist';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
* @hidden
|
|
10
9
|
* The base class for the column components of the Gantt.
|
|
11
10
|
*/
|
|
12
11
|
export class GanttColumnBase extends ColumnBase {
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, forwardRef, SkipSelf, Host, Optional, ContentChildren, QueryList, Input } from '@angular/core';
|
|
6
6
|
import { ColumnGroupComponent } from '@progress/kendo-angular-treelist';
|
|
7
|
-
import { GanttColumnBase } from './column-base';
|
|
7
|
+
import { GanttColumnBase } from './column-base.component';
|
|
8
8
|
import { HeaderTemplateDirective } from './header-template.directive';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
import * as i1 from "../common/option-changes.service";
|
|
11
|
-
import * as i2 from "./column-base";
|
|
11
|
+
import * as i2 from "./column-base.component";
|
|
12
12
|
export class GanttColumnGroupComponent extends ColumnGroupComponent {
|
|
13
13
|
constructor(options, parent) {
|
|
14
14
|
super(parent);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Component, ContentChild, ContentChildren, forwardRef, Host, Input, Optional, QueryList, SkipSelf } from '@angular/core';
|
|
6
6
|
import { ColumnComponent } from '@progress/kendo-angular-treelist';
|
|
7
|
-
import { GanttColumnBase } from './column-base';
|
|
7
|
+
import { GanttColumnBase } from './column-base.component';
|
|
8
8
|
import { CellTemplateDirective } from './cell-template.directive';
|
|
9
9
|
import { ColumnMenuTemplateDirective } from './column-menu-template.directive';
|
|
10
10
|
import { FilterCellTemplateDirective } from './filter-cell-template.directive';
|
|
@@ -14,7 +14,7 @@ import { HeaderTemplateDirective } from './header-template.directive';
|
|
|
14
14
|
import { EditTemplateDirective } from './edit-template.directive';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
16
|
import * as i1 from "../common/option-changes.service";
|
|
17
|
-
import * as i2 from "./column-base";
|
|
17
|
+
import * as i2 from "./column-base.component";
|
|
18
18
|
export class GanttColumnComponent extends ColumnComponent {
|
|
19
19
|
constructor(options, parent) {
|
|
20
20
|
super(parent);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 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
|
-
export { GanttColumnBase } from './column-base';
|
|
5
|
+
export { GanttColumnBase } from './column-base.component';
|
|
6
6
|
export { GanttColumnComponent } from './column.component';
|
|
7
7
|
export { GanttColumnGroupComponent } from './column-group.component';
|
|
8
8
|
export { GanttSpanColumnComponent } from './span-column.component';
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import { Component, ContentChildren, forwardRef, Host, Input, Optional, QueryList, SkipSelf } from '@angular/core';
|
|
6
6
|
import { SpanColumnComponent } from '@progress/kendo-angular-treelist';
|
|
7
7
|
import { CellTemplateDirective } from './cell-template.directive';
|
|
8
|
-
import { GanttColumnBase } from './column-base';
|
|
8
|
+
import { GanttColumnBase } from './column-base.component';
|
|
9
9
|
import { GanttColumnComponent } from './column.component';
|
|
10
10
|
import { EditTemplateDirective } from './edit-template.directive';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
import * as i1 from "../common/option-changes.service";
|
|
13
|
-
import * as i2 from "./column-base";
|
|
13
|
+
import * as i2 from "./column-base.component";
|
|
14
14
|
export class GanttSpanColumnComponent extends SpanColumnComponent {
|
|
15
15
|
constructor(options, parent) {
|
|
16
16
|
super(parent);
|
|
@@ -107,7 +107,7 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
107
107
|
<button kendoButton (click)="handleEditingResult('cancel')">{{ getText('cancelButtonText') }}</button>
|
|
108
108
|
</kendo-dialog-actions>
|
|
109
109
|
</kendo-dialog>
|
|
110
|
-
`, isInline: true, components: [{ type: i4.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: i5.TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { type: i5.TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon"], exportAs: ["kendoTabStripTab"] }, { type: i6.TaskFieldsComponent, selector: "kendo-gantt-task-fields" }, { type: i7.DependenciesTableComponent, selector: "kendo-gantt-dependencies-table", inputs: ["tasks", "dependencies", "dependencyType"], outputs: ["dependenciesChange"] }, { type: i4.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i8.TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }], directives: [{ type: i4.CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages" }, { type: i5.TabContentDirective, selector: "[kendoTabContent]" }, { type: i9.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
110
|
+
`, isInline: true, components: [{ type: i4.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: i5.TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { type: i5.TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon"], exportAs: ["kendoTabStripTab"] }, { type: i6.TaskFieldsComponent, selector: "kendo-gantt-task-fields" }, { type: i7.DependenciesTableComponent, selector: "kendo-gantt-dependencies-table", inputs: ["tasks", "dependencies", "dependencyType"], outputs: ["dependenciesChange"] }, { type: i4.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i8.TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }], directives: [{ type: i4.CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages" }, { type: i5.TabContentDirective, selector: "[kendoTabContent]" }, { type: i9.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i10.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
111
111
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
112
112
|
type: Component,
|
|
113
113
|
args: [{
|
|
@@ -1671,7 +1671,7 @@ GanttComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
1671
1671
|
<button kendoButton (click)="handleConfirmationDialogClose()">{{ getText('cancelButtonText') }}</button>
|
|
1672
1672
|
</kendo-dialog-actions>
|
|
1673
1673
|
</kendo-dialog>
|
|
1674
|
-
`, isInline: true, components: [{ type: i9.ToolbarComponent, selector: "kendo-gantt-toolbar", inputs: ["showAddTask", "showViewSelector", "views", "activeView", "toolbarTemplate", "position"], outputs: ["activeViewChange"] }, { type: i10.SplitterComponent, selector: "kendo-splitter", inputs: ["orientation"], outputs: ["layoutChange"], exportAs: ["kendoSplitter"] }, { type: i10.SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: ["order", "size", "min", "max", "resizable", "collapsible", "scrollable", "collapsed", "orientation", "containsSplitter", "overlayContent"], outputs: ["sizeChange", "collapsedChange"], exportAs: ["kendoSplitterPane"] }, { type: i11.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", "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"], exportAs: ["kendoTreeList"] }, { type: i11.CustomMessagesComponent, selector: "kendo-treelist-messages" }, { type: i12.GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: ["rows", "slots", "groupSlots", "tableWidth", "activeView", "taskContentTemplate", "taskTemplate", "summaryTaskTemplate", "taskClass", "renderDependencyDragClues", "dragScrollSettings", "selectable", "isTaskSelected", "isExpanded", "dependencies"], outputs: ["timelineContainerPress", "timelineContainerDrag", "timelineContainerRelease"] }, { type: i13.EditDialogComponent, selector: "kendo-gantt-edit-dialog", inputs: ["data"] }, { type: i14.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: i14.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i11.TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }], directives: [{ type: i15.LocalizedMessagesDirective, selector: "[kendoGanttLocalizedMessages]" }, { type: i16.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i17.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i18.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
1674
|
+
`, isInline: true, components: [{ type: i9.ToolbarComponent, selector: "kendo-gantt-toolbar", inputs: ["showAddTask", "showViewSelector", "views", "activeView", "toolbarTemplate", "position"], outputs: ["activeViewChange"] }, { type: i10.SplitterComponent, selector: "kendo-splitter", inputs: ["orientation"], outputs: ["layoutChange"], exportAs: ["kendoSplitter"] }, { type: i10.SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: ["order", "size", "min", "max", "resizable", "collapsible", "scrollable", "collapsed", "orientation", "containsSplitter", "overlayContent"], outputs: ["sizeChange", "collapsedChange"], exportAs: ["kendoSplitterPane"] }, { type: i11.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", "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"], exportAs: ["kendoTreeList"] }, { type: i11.CustomMessagesComponent, selector: "kendo-treelist-messages" }, { type: i12.GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: ["rows", "slots", "groupSlots", "tableWidth", "activeView", "taskContentTemplate", "taskTemplate", "summaryTaskTemplate", "taskClass", "renderDependencyDragClues", "dragScrollSettings", "selectable", "isTaskSelected", "isExpanded", "dependencies"], outputs: ["timelineContainerPress", "timelineContainerDrag", "timelineContainerRelease"] }, { type: i13.EditDialogComponent, selector: "kendo-gantt-edit-dialog", inputs: ["data"] }, { type: i14.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: i14.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i11.TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }], directives: [{ type: i15.LocalizedMessagesDirective, selector: "[kendoGanttLocalizedMessages]" }, { type: i16.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i17.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i18.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
1675
1675
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttComponent, decorators: [{
|
|
1676
1676
|
type: Component,
|
|
1677
1677
|
args: [{
|
|
@@ -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:
|
|
12
|
+
publishDate: 1656534678,
|
|
13
13
|
version: '',
|
|
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
|
};
|
|
@@ -40,12 +40,8 @@ export class TimelineBaseViewService {
|
|
|
40
40
|
}
|
|
41
41
|
const startResult = orderBy(tasks, [{ field: this.mapper.taskFields.start, dir: 'asc' }]);
|
|
42
42
|
const endResult = orderBy(tasks, [{ field: this.mapper.taskFields.end, dir: 'desc' }]);
|
|
43
|
-
const
|
|
44
|
-
const
|
|
45
|
-
const rangeEnd = this.mapper.extractFromTask(endResult[0], 'end') || new Date();
|
|
46
|
-
if (firstDay === rangeEnd.getDay()) {
|
|
47
|
-
rangeEnd.setDate(rangeEnd.getDate() + 7);
|
|
48
|
-
}
|
|
43
|
+
const rangeStart = new Date(this.mapper.extractFromTask(startResult[0], 'start')) || new Date();
|
|
44
|
+
const rangeEnd = new Date(this.mapper.extractFromTask(endResult[0], 'end')) || new Date();
|
|
49
45
|
const start = this.getStartOffset(rangeStart);
|
|
50
46
|
const end = this.getEndOffset(rangeEnd);
|
|
51
47
|
this._viewStart = Number(start);
|
|
@@ -121,7 +117,7 @@ export class TimelineBaseViewService {
|
|
|
121
117
|
const daySlots = this.getDays(startDay, slotEnd);
|
|
122
118
|
const span = daySlots.length;
|
|
123
119
|
const firstDay = this.intlService.formatDate(firstDayInWeek(getDate(startDay), weekStart), DAY_FORMAT);
|
|
124
|
-
const lastDay = this.intlService.formatDate(
|
|
120
|
+
const lastDay = this.intlService.formatDate(slotEnd, DAY_FORMAT);
|
|
125
121
|
if (span > 0) {
|
|
126
122
|
slots.push({
|
|
127
123
|
start: daySlots[0].start,
|
|
@@ -47,7 +47,7 @@ const packageMetadata = {
|
|
|
47
47
|
name: '@progress/kendo-angular-gantt',
|
|
48
48
|
productName: 'Kendo UI for Angular',
|
|
49
49
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
50
|
-
publishDate:
|
|
50
|
+
publishDate: 1656534678,
|
|
51
51
|
version: '',
|
|
52
52
|
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'
|
|
53
53
|
};
|
|
@@ -710,12 +710,8 @@ class TimelineBaseViewService {
|
|
|
710
710
|
}
|
|
711
711
|
const startResult = orderBy(tasks, [{ field: this.mapper.taskFields.start, dir: 'asc' }]);
|
|
712
712
|
const endResult = orderBy(tasks, [{ field: this.mapper.taskFields.end, dir: 'desc' }]);
|
|
713
|
-
const
|
|
714
|
-
const
|
|
715
|
-
const rangeEnd = this.mapper.extractFromTask(endResult[0], 'end') || new Date();
|
|
716
|
-
if (firstDay === rangeEnd.getDay()) {
|
|
717
|
-
rangeEnd.setDate(rangeEnd.getDate() + 7);
|
|
718
|
-
}
|
|
713
|
+
const rangeStart = new Date(this.mapper.extractFromTask(startResult[0], 'start')) || new Date();
|
|
714
|
+
const rangeEnd = new Date(this.mapper.extractFromTask(endResult[0], 'end')) || new Date();
|
|
719
715
|
const start = this.getStartOffset(rangeStart);
|
|
720
716
|
const end = this.getEndOffset(rangeEnd);
|
|
721
717
|
this._viewStart = Number(start);
|
|
@@ -791,7 +787,7 @@ class TimelineBaseViewService {
|
|
|
791
787
|
const daySlots = this.getDays(startDay, slotEnd);
|
|
792
788
|
const span = daySlots.length;
|
|
793
789
|
const firstDay = this.intlService.formatDate(firstDayInWeek(getDate(startDay), weekStart), DAY_FORMAT);
|
|
794
|
-
const lastDay = this.intlService.formatDate(
|
|
790
|
+
const lastDay = this.intlService.formatDate(slotEnd, DAY_FORMAT);
|
|
795
791
|
if (span > 0) {
|
|
796
792
|
slots.push({
|
|
797
793
|
start: daySlots[0].start,
|
|
@@ -2873,7 +2869,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
2873
2869
|
}] } });
|
|
2874
2870
|
|
|
2875
2871
|
/**
|
|
2876
|
-
* @hidden
|
|
2877
2872
|
* The base class for the column components of the Gantt.
|
|
2878
2873
|
*/
|
|
2879
2874
|
class GanttColumnBase extends ColumnBase {
|
|
@@ -4430,7 +4425,7 @@ EditDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
|
|
|
4430
4425
|
<button kendoButton (click)="handleEditingResult('cancel')">{{ getText('cancelButtonText') }}</button>
|
|
4431
4426
|
</kendo-dialog-actions>
|
|
4432
4427
|
</kendo-dialog>
|
|
4433
|
-
`, isInline: true, components: [{ type: i4$2.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: i5$2.TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { type: i5$2.TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon"], exportAs: ["kendoTabStripTab"] }, { type: TaskFieldsComponent, selector: "kendo-gantt-task-fields" }, { type: DependenciesTableComponent, selector: "kendo-gantt-dependencies-table", inputs: ["tasks", "dependencies", "dependencyType"], outputs: ["dependenciesChange"] }, { type: i4$2.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i11.TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }], directives: [{ type: i4$2.CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages" }, { type: i5$2.TabContentDirective, selector: "[kendoTabContent]" }, { type: i2.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
4428
|
+
`, isInline: true, components: [{ type: i4$2.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: i5$2.TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { type: i5$2.TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon"], exportAs: ["kendoTabStripTab"] }, { type: TaskFieldsComponent, selector: "kendo-gantt-task-fields" }, { type: DependenciesTableComponent, selector: "kendo-gantt-dependencies-table", inputs: ["tasks", "dependencies", "dependencyType"], outputs: ["dependenciesChange"] }, { type: i4$2.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i11.TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }], directives: [{ type: i4$2.CustomMessagesComponent, selector: "kendo-dialog-messages, kendo-window-messages" }, { type: i5$2.TabContentDirective, selector: "[kendoTabContent]" }, { type: i2.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
|
|
4434
4429
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: EditDialogComponent, decorators: [{
|
|
4435
4430
|
type: Component,
|
|
4436
4431
|
args: [{
|
|
@@ -6289,7 +6284,7 @@ GanttComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
6289
6284
|
<button kendoButton (click)="handleConfirmationDialogClose()">{{ getText('cancelButtonText') }}</button>
|
|
6290
6285
|
</kendo-dialog-actions>
|
|
6291
6286
|
</kendo-dialog>
|
|
6292
|
-
`, isInline: true, components: [{ type: ToolbarComponent, selector: "kendo-gantt-toolbar", inputs: ["showAddTask", "showViewSelector", "views", "activeView", "toolbarTemplate", "position"], outputs: ["activeViewChange"] }, { type: i5$2.SplitterComponent, selector: "kendo-splitter", inputs: ["orientation"], outputs: ["layoutChange"], exportAs: ["kendoSplitter"] }, { type: i5$2.SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: ["order", "size", "min", "max", "resizable", "collapsible", "scrollable", "collapsed", "orientation", "containsSplitter", "overlayContent"], outputs: ["sizeChange", "collapsedChange"], exportAs: ["kendoSplitterPane"] }, { type: i11.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", "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"], exportAs: ["kendoTreeList"] }, { type: i11.CustomMessagesComponent, selector: "kendo-treelist-messages" }, { type: GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: ["rows", "slots", "groupSlots", "tableWidth", "activeView", "taskContentTemplate", "taskTemplate", "summaryTaskTemplate", "taskClass", "renderDependencyDragClues", "dragScrollSettings", "selectable", "isTaskSelected", "isExpanded", "dependencies"], outputs: ["timelineContainerPress", "timelineContainerDrag", "timelineContainerRelease"] }, { type: EditDialogComponent, selector: "kendo-gantt-edit-dialog", inputs: ["data"] }, { type: i4$2.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: i4$2.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i11.TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoGanttLocalizedMessages]" }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i2.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
6287
|
+
`, isInline: true, components: [{ type: ToolbarComponent, selector: "kendo-gantt-toolbar", inputs: ["showAddTask", "showViewSelector", "views", "activeView", "toolbarTemplate", "position"], outputs: ["activeViewChange"] }, { type: i5$2.SplitterComponent, selector: "kendo-splitter", inputs: ["orientation"], outputs: ["layoutChange"], exportAs: ["kendoSplitter"] }, { type: i5$2.SplitterPaneComponent, selector: "kendo-splitter-pane", inputs: ["order", "size", "min", "max", "resizable", "collapsible", "scrollable", "collapsed", "orientation", "containsSplitter", "overlayContent"], outputs: ["sizeChange", "collapsedChange"], exportAs: ["kendoSplitterPane"] }, { type: i11.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", "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"], exportAs: ["kendoTreeList"] }, { type: i11.CustomMessagesComponent, selector: "kendo-treelist-messages" }, { type: GanttTimelineComponent, selector: "kendo-gantt-timeline", inputs: ["rows", "slots", "groupSlots", "tableWidth", "activeView", "taskContentTemplate", "taskTemplate", "summaryTaskTemplate", "taskClass", "renderDependencyDragClues", "dragScrollSettings", "selectable", "isTaskSelected", "isExpanded", "dependencies"], outputs: ["timelineContainerPress", "timelineContainerDrag", "timelineContainerRelease"] }, { type: EditDialogComponent, selector: "kendo-gantt-edit-dialog", inputs: ["data"] }, { type: i4$2.DialogComponent, selector: "kendo-dialog", inputs: ["actions", "actionsLayout", "autoFocusedElement", "title", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "animation"], outputs: ["action", "close"], exportAs: ["kendoDialog"] }, { type: i4$2.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { type: i11.TreeListSpacerComponent, selector: "kendo-treelist-spacer, kendo-treelist-pager-spacer", inputs: ["width"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoGanttLocalizedMessages]" }, { type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i2.ButtonDirective, selector: "button[kendoButton], span[kendoButton]", inputs: ["toggleable", "togglable", "selected", "tabIndex", "icon", "iconClass", "imageUrl", "disabled", "size", "rounded", "fillMode", "themeColor", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
6293
6288
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttComponent, decorators: [{
|
|
6294
6289
|
type: Component,
|
|
6295
6290
|
args: [{
|
|
@@ -6851,12 +6846,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6851
6846
|
* The directive encapsulates the in-memory handling of data operations such as sorting and filtering.
|
|
6852
6847
|
*/
|
|
6853
6848
|
class GanttFlatBindingDirective extends FlatBindingDirective {
|
|
6854
|
-
/**
|
|
6855
|
-
* The array of data which will be used to populate the Gantt.
|
|
6856
|
-
*/
|
|
6857
|
-
set data(value) {
|
|
6858
|
-
super.data = value;
|
|
6859
|
-
}
|
|
6860
6849
|
/**
|
|
6861
6850
|
* @hidden
|
|
6862
6851
|
*/
|
|
@@ -6882,12 +6871,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
|
|
|
6882
6871
|
* which encapsulates the in-memory handling of data operations such as sorting and filtering.
|
|
6883
6872
|
*/
|
|
6884
6873
|
class GanttHierarchyBindingDirective extends HierarchyBindingDirective {
|
|
6885
|
-
/**
|
|
6886
|
-
* The array of data which will be used to populate the Gantt.
|
|
6887
|
-
*/
|
|
6888
|
-
set data(value) {
|
|
6889
|
-
super.data = value;
|
|
6890
|
-
}
|
|
6891
6874
|
/**
|
|
6892
6875
|
* @hidden
|
|
6893
6876
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 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 { GanttColumnBase } from '../../columns/column-base';
|
|
5
|
+
import { GanttColumnBase } from '../../columns/column-base.component';
|
|
6
6
|
/**
|
|
7
7
|
* @hidden
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2021 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 { GanttColumnBase } from '../../columns/column-base';
|
|
5
|
+
import { GanttColumnBase } from '../../columns/column-base.component';
|
|
6
6
|
/**
|
|
7
7
|
* Arguments for the `columnVisibilityChange` event.
|
|
8
8
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { QueryList } from "@angular/core";
|
|
6
6
|
import { TreeListComponent } from "@progress/kendo-angular-treelist";
|
|
7
|
-
import { GanttColumnBase } from "../columns/column-base";
|
|
7
|
+
import { GanttColumnBase } from "../columns/column-base.component";
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-gantt",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2-dev.202206292032",
|
|
4
4
|
"description": "Kendo UI Angular Gantt",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@progress/kendo-common": "^0.2.1",
|
|
26
26
|
"@progress/kendo-schematics": "^3.0.0",
|
|
27
|
-
"@
|
|
27
|
+
"@progress/kendo-draggable": "^3.0.0",
|
|
28
28
|
"tslib": "^2.3.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@progress/kendo-angular-intl": "^4.0.0",
|
|
41
41
|
"@progress/kendo-angular-layout": "^7.0.0",
|
|
42
42
|
"@progress/kendo-angular-popup": "^5.0.0",
|
|
43
|
-
"@progress/kendo-angular-treelist": "^5.0.
|
|
43
|
+
"@progress/kendo-angular-treelist": "^5.0.3",
|
|
44
44
|
"@progress/kendo-data-query": "^1.5.5",
|
|
45
45
|
"@progress/kendo-date-math": "^1.5.2",
|
|
46
46
|
"@progress/kendo-licensing": "^1.0.0",
|
|
@@ -78,11 +78,11 @@
|
|
|
78
78
|
"fallbackTags": {
|
|
79
79
|
"dev": "latest"
|
|
80
80
|
},
|
|
81
|
-
"analyzeCommits": "@
|
|
81
|
+
"analyzeCommits": "@progress/semantic-prerelease/analyzeCommits",
|
|
82
82
|
"generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
|
|
83
|
-
"getLastRelease": "@
|
|
84
|
-
"verifyConditions": "@
|
|
85
|
-
"verifyRelease": "@
|
|
83
|
+
"getLastRelease": "@progress/semantic-prerelease/getLastRelease",
|
|
84
|
+
"verifyConditions": "@progress/semantic-prerelease/verifyConditions",
|
|
85
|
+
"verifyRelease": "@progress/semantic-prerelease/verifyRelease"
|
|
86
86
|
},
|
|
87
87
|
"main": "bundles/kendo-angular-gantt.umd.js",
|
|
88
88
|
"module": "fesm2015/kendo-angular-gantt.js",
|