@progress/kendo-angular-gantt 2.0.0-next.202204121507 → 2.0.0-next.202204131102

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.
@@ -14,7 +14,8 @@ export declare class GanttColumnBase extends ColumnBase {
14
14
  * @default false
15
15
  * @hidden
16
16
  */
17
- locked: boolean;
17
+ set locked(value: boolean);
18
+ get locked(): boolean;
18
19
  /**
19
20
  * Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
20
21
  * @hidden
@@ -81,5 +82,5 @@ export declare class GanttColumnBase extends ColumnBase {
81
82
  [key: string]: any;
82
83
  };
83
84
  static ɵfac: i0.ɵɵFactoryDeclaration<GanttColumnBase, never>;
84
- static ɵdir: i0.ɵɵDirectiveDeclaration<GanttColumnBase, "kendo-gantt-column-base", never, { "locked": "locked"; "lockable": "lockable"; "hidden": "hidden"; "media": "media"; "style": "style"; "headerStyle": "headerStyle"; "footerStyle": "footerStyle"; "cssClass": "class"; "headerClass": "headerClass"; "footerClass": "footerClass"; }, {}, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<GanttColumnBase, "kendo-gantt-column-base", never, { "locked": "locked"; "lockable": "lockable"; "hidden": "hidden"; "media": "media"; "style": "style"; "headerStyle": "headerStyle"; "footerStyle": "footerStyle"; "cssClass": "class"; "headerClass": "headerClass"; "footerClass": "footerClass"; }, {}, never, never>;
85
86
  }
@@ -25,7 +25,8 @@ export declare class GanttColumnGroupComponent extends ColumnGroupComponent {
25
25
  * @default false
26
26
  * @hidden
27
27
  */
28
- locked: boolean;
28
+ set locked(value: boolean);
29
+ get locked(): boolean;
29
30
  /**
30
31
  * Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
31
32
  * @hidden
@@ -57,7 +57,8 @@ export declare class GanttColumnComponent extends ColumnComponent {
57
57
  * @hidden
58
58
  * @default false
59
59
  */
60
- locked: boolean;
60
+ set locked(value: boolean);
61
+ get locked(): boolean;
61
62
  /**
62
63
  * Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
63
64
  * @hidden
@@ -31,7 +31,8 @@ export declare class GanttSpanColumnComponent extends SpanColumnComponent {
31
31
  * @default false
32
32
  * @hidden
33
33
  */
34
- locked: boolean;
34
+ set locked(value: boolean);
35
+ get locked(): boolean;
35
36
  /**
36
37
  * Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
37
38
  * @hidden
@@ -44,7 +45,8 @@ export declare class GanttSpanColumnComponent extends SpanColumnComponent {
44
45
  *
45
46
  * > To enable the editing functionality for a spanned column, set an edit template for it.
46
47
  */
47
- editable: boolean;
48
+ set editable(value: boolean);
49
+ get editable(): boolean;
48
50
  /**
49
51
  * Sets the visibility of the column.
50
52
  *
@@ -12,12 +12,17 @@ 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
- constructor() {
16
- super(...arguments);
17
- /**
18
- * The array of data which will be used to populate the Gantt.
19
- */
20
- this.data = [];
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
+ /**
22
+ * @hidden
23
+ */
24
+ set aggregate(value) {
25
+ super.aggregate = value;
21
26
  }
22
27
  }
23
28
  GanttFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttFlatBindingDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
@@ -10,12 +10,17 @@ 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
- constructor() {
14
- super(...arguments);
15
- /**
16
- * The array of data which will be used to populate the Gantt.
17
- */
18
- this.data = [];
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
+ /**
20
+ * @hidden
21
+ */
22
+ set aggregate(value) {
23
+ super.aggregate = value;
19
24
  }
20
25
  }
21
26
  GanttHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttHierarchyBindingDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
@@ -2,29 +2,32 @@
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 { Directive, Input } from '@angular/core';
5
+ 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
9
  * The base class for the column components of the Gantt.
10
10
  */
11
11
  export class GanttColumnBase extends ColumnBase {
12
- constructor() {
13
- super(...arguments);
14
- /**
15
- * Toggles the locked (frozen) state of the columns.
16
- *
17
- * @default false
18
- * @hidden
19
- */
20
- this.locked = false;
12
+ /**
13
+ * Toggles the locked (frozen) state of the columns.
14
+ *
15
+ * @default false
16
+ * @hidden
17
+ */
18
+ set locked(value) {
19
+ super.locked = value;
20
+ }
21
+ get locked() {
22
+ return super.locked;
21
23
  }
22
24
  }
23
- GanttColumnBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
24
- GanttColumnBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: GanttColumnBase, selector: "kendo-gantt-column-base", inputs: { locked: "locked", lockable: "lockable", hidden: "hidden", media: "media", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, usesInheritance: true, ngImport: i0 });
25
+ GanttColumnBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnBase, deps: null, target: i0.ɵɵFactoryTarget.Component });
26
+ GanttColumnBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: GanttColumnBase, selector: "kendo-gantt-column-base", inputs: { locked: "locked", lockable: "lockable", hidden: "hidden", media: "media", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
25
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnBase, decorators: [{
26
- type: Directive,
28
+ type: Component,
27
29
  args: [{
30
+ template: '',
28
31
  // eslint-disable-next-line @angular-eslint/directive-selector
29
32
  selector: 'kendo-gantt-column-base'
30
33
  }]
@@ -17,13 +17,6 @@ export class GanttColumnGroupComponent extends ColumnGroupComponent {
17
17
  * @hidden
18
18
  */
19
19
  this.children = new QueryList();
20
- /**
21
- * Toggles the locked (frozen) state of the columns.
22
- *
23
- * @default false
24
- * @hidden
25
- */
26
- this.locked = false;
27
20
  /**
28
21
  * Allows the column headers to be clicked and the `sortChange` event emitted.
29
22
  * You have to handle the `sortChange` event yourself and sort the data.
@@ -33,6 +26,18 @@ export class GanttColumnGroupComponent extends ColumnGroupComponent {
33
26
  throw new Error('ColumnGroupComponent cannot be nested inside SpanColumnComponent');
34
27
  }
35
28
  }
29
+ /**
30
+ * Toggles the locked (frozen) state of the columns.
31
+ *
32
+ * @default false
33
+ * @hidden
34
+ */
35
+ set locked(value) {
36
+ super.locked = value;
37
+ }
38
+ get locked() {
39
+ return super.locked;
40
+ }
36
41
  ngOnChanges() {
37
42
  this.options.notifyColumnChanges();
38
43
  }
@@ -42,12 +42,17 @@ export class GanttColumnComponent extends ColumnComponent {
42
42
  * Defines whether the column is editable. The default value is `true`.
43
43
  */
44
44
  this.editable = true;
45
- /**
46
- * Toggles the locked (frozen) state of the columns.
47
- * @hidden
48
- * @default false
49
- */
50
- this.locked = false;
45
+ }
46
+ /**
47
+ * Toggles the locked (frozen) state of the columns.
48
+ * @hidden
49
+ * @default false
50
+ */
51
+ set locked(value) {
52
+ super.locked = value;
53
+ }
54
+ get locked() {
55
+ return super.locked;
51
56
  }
52
57
  ngOnChanges() {
53
58
  this.options.notifyColumnChanges();
@@ -22,6 +22,38 @@ export class GanttSpanColumnComponent extends SpanColumnComponent {
22
22
  this.template = new QueryList();
23
23
  this.editTemplate = new QueryList();
24
24
  }
25
+ /**
26
+ * Toggles the locked (frozen) state of the columns. Locked columns are visible
27
+ * at all times during the horizontal scrolling of the Gantt.
28
+ *
29
+ * For the option to work properly, make sure that:
30
+ * - Scrolling is enabled.
31
+ * - The `height` option of the Gantt is set.
32
+ * - The widths of all Gantt columns are explicitly set in pixels. In this way,
33
+ * the Gantt adjusts the layout of the locked and unlocked columns.
34
+ *
35
+ * @default false
36
+ * @hidden
37
+ */
38
+ set locked(value) {
39
+ super.locked = value;
40
+ }
41
+ get locked() {
42
+ return super.locked;
43
+ }
44
+ /**
45
+ * @hidden
46
+ *
47
+ * Defines whether the edit template of the column will be rendered. The default value is `false`.
48
+ *
49
+ * > To enable the editing functionality for a spanned column, set an edit template for it.
50
+ */
51
+ set editable(value) {
52
+ super.editable = value;
53
+ }
54
+ get editable() {
55
+ return super.editable;
56
+ }
25
57
  ngOnChanges() {
26
58
  this.options.notifyColumnChanges();
27
59
  }
@@ -9,6 +9,15 @@ import * as i0 from "@angular/core";
9
9
  * A directive which controls the expanded state of the items.
10
10
  */
11
11
  export class GanttExpandableDirective extends ExpandableDirective {
12
+ /**
13
+ * Defines the item key that will be stored in the expandedKeys collection.
14
+ * Defaults to the task data item ID field,
15
+ * which is specified in the [`taskModelFields`]({% slug api_gantt_ganttcomponent %}#toc-taskmodelfields) object.
16
+ *
17
+ */
18
+ set expandBy(value) {
19
+ super.expandBy = value;
20
+ }
12
21
  }
13
22
  GanttExpandableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttExpandableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
14
23
  GanttExpandableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: GanttExpandableDirective, selector: "[kendoGanttExpandable]", inputs: { expandBy: "expandBy" }, exportAs: ["kendoGanttExpandable"], usesInheritance: true, ngImport: i0 });
@@ -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: ["pageSize", "scrollable", "trackBy", "virtualColumns", "filterable", "sortable", "pageable", "navigable", "autoSize", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "skip", "data", "sort", "navigatable", "rowClass", "idField", "selectable", "isSelected", "columns", "fetchChildren", "hasChildren", "isExpanded", "aria-label", "height", "rowHeight", "filter"], 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"], 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: 1649775846,
12
+ publishDate: 1649847546,
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
  };
@@ -14,7 +14,7 @@ export declare class GanttExpandableDirective extends ExpandableDirective {
14
14
  * which is specified in the [`taskModelFields`]({% slug api_gantt_ganttcomponent %}#toc-taskmodelfields) object.
15
15
  *
16
16
  */
17
- expandBy: string | ((dataItem: any) => any);
17
+ set expandBy(value: string | ((dataItem: any) => any));
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<GanttExpandableDirective, never>;
19
19
  static ɵdir: i0.ɵɵDirectiveDeclaration<GanttExpandableDirective, "[kendoGanttExpandable]", ["kendoGanttExpandable"], { "expandBy": "expandBy"; }, {}, never>;
20
20
  }
@@ -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: 1649775846,
50
+ publishDate: 1649847546,
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
  };
@@ -2876,22 +2876,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
2876
2876
  * The base class for the column components of the Gantt.
2877
2877
  */
2878
2878
  class GanttColumnBase extends ColumnBase {
2879
- constructor() {
2880
- super(...arguments);
2881
- /**
2882
- * Toggles the locked (frozen) state of the columns.
2883
- *
2884
- * @default false
2885
- * @hidden
2886
- */
2887
- this.locked = false;
2879
+ /**
2880
+ * Toggles the locked (frozen) state of the columns.
2881
+ *
2882
+ * @default false
2883
+ * @hidden
2884
+ */
2885
+ set locked(value) {
2886
+ super.locked = value;
2887
+ }
2888
+ get locked() {
2889
+ return super.locked;
2888
2890
  }
2889
2891
  }
2890
- GanttColumnBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
2891
- GanttColumnBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: GanttColumnBase, selector: "kendo-gantt-column-base", inputs: { locked: "locked", lockable: "lockable", hidden: "hidden", media: "media", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, usesInheritance: true, ngImport: i0 });
2892
+ GanttColumnBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnBase, deps: null, target: i0.ɵɵFactoryTarget.Component });
2893
+ GanttColumnBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: GanttColumnBase, selector: "kendo-gantt-column-base", inputs: { locked: "locked", lockable: "lockable", hidden: "hidden", media: "media", style: "style", headerStyle: "headerStyle", footerStyle: "footerStyle", cssClass: ["class", "cssClass"], headerClass: "headerClass", footerClass: "footerClass" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
2892
2894
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttColumnBase, decorators: [{
2893
- type: Directive,
2895
+ type: Component,
2894
2896
  args: [{
2897
+ template: '',
2895
2898
  // eslint-disable-next-line @angular-eslint/directive-selector
2896
2899
  selector: 'kendo-gantt-column-base'
2897
2900
  }]
@@ -3136,12 +3139,17 @@ class GanttColumnComponent extends ColumnComponent {
3136
3139
  * Defines whether the column is editable. The default value is `true`.
3137
3140
  */
3138
3141
  this.editable = true;
3139
- /**
3140
- * Toggles the locked (frozen) state of the columns.
3141
- * @hidden
3142
- * @default false
3143
- */
3144
- this.locked = false;
3142
+ }
3143
+ /**
3144
+ * Toggles the locked (frozen) state of the columns.
3145
+ * @hidden
3146
+ * @default false
3147
+ */
3148
+ set locked(value) {
3149
+ super.locked = value;
3150
+ }
3151
+ get locked() {
3152
+ return super.locked;
3145
3153
  }
3146
3154
  ngOnChanges() {
3147
3155
  this.options.notifyColumnChanges();
@@ -3234,13 +3242,6 @@ class GanttColumnGroupComponent extends ColumnGroupComponent {
3234
3242
  * @hidden
3235
3243
  */
3236
3244
  this.children = new QueryList();
3237
- /**
3238
- * Toggles the locked (frozen) state of the columns.
3239
- *
3240
- * @default false
3241
- * @hidden
3242
- */
3243
- this.locked = false;
3244
3245
  /**
3245
3246
  * Allows the column headers to be clicked and the `sortChange` event emitted.
3246
3247
  * You have to handle the `sortChange` event yourself and sort the data.
@@ -3250,6 +3251,18 @@ class GanttColumnGroupComponent extends ColumnGroupComponent {
3250
3251
  throw new Error('ColumnGroupComponent cannot be nested inside SpanColumnComponent');
3251
3252
  }
3252
3253
  }
3254
+ /**
3255
+ * Toggles the locked (frozen) state of the columns.
3256
+ *
3257
+ * @default false
3258
+ * @hidden
3259
+ */
3260
+ set locked(value) {
3261
+ super.locked = value;
3262
+ }
3263
+ get locked() {
3264
+ return super.locked;
3265
+ }
3253
3266
  ngOnChanges() {
3254
3267
  this.options.notifyColumnChanges();
3255
3268
  }
@@ -3321,6 +3334,38 @@ class GanttSpanColumnComponent extends SpanColumnComponent {
3321
3334
  this.template = new QueryList();
3322
3335
  this.editTemplate = new QueryList();
3323
3336
  }
3337
+ /**
3338
+ * Toggles the locked (frozen) state of the columns. Locked columns are visible
3339
+ * at all times during the horizontal scrolling of the Gantt.
3340
+ *
3341
+ * For the option to work properly, make sure that:
3342
+ * - Scrolling is enabled.
3343
+ * - The `height` option of the Gantt is set.
3344
+ * - The widths of all Gantt columns are explicitly set in pixels. In this way,
3345
+ * the Gantt adjusts the layout of the locked and unlocked columns.
3346
+ *
3347
+ * @default false
3348
+ * @hidden
3349
+ */
3350
+ set locked(value) {
3351
+ super.locked = value;
3352
+ }
3353
+ get locked() {
3354
+ return super.locked;
3355
+ }
3356
+ /**
3357
+ * @hidden
3358
+ *
3359
+ * Defines whether the edit template of the column will be rendered. The default value is `false`.
3360
+ *
3361
+ * > To enable the editing functionality for a spanned column, set an edit template for it.
3362
+ */
3363
+ set editable(value) {
3364
+ super.editable = value;
3365
+ }
3366
+ get editable() {
3367
+ return super.editable;
3368
+ }
3324
3369
  ngOnChanges() {
3325
3370
  this.options.notifyColumnChanges();
3326
3371
  }
@@ -6243,7 +6288,7 @@ GanttComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
6243
6288
  <button kendoButton (click)="handleConfirmationDialogClose()">{{ getText('cancelButtonText') }}</button>
6244
6289
  </kendo-dialog-actions>
6245
6290
  </kendo-dialog>
6246
- `, 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: ["pageSize", "scrollable", "trackBy", "virtualColumns", "filterable", "sortable", "pageable", "navigable", "autoSize", "resizable", "reorderable", "loading", "columnMenu", "hideHeader", "skip", "data", "sort", "navigatable", "rowClass", "idField", "selectable", "isSelected", "columns", "fetchChildren", "hasChildren", "isExpanded", "aria-label", "height", "rowHeight", "filter"], 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"] }] });
6291
+ `, 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"] }] });
6247
6292
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttComponent, decorators: [{
6248
6293
  type: Component,
6249
6294
  args: [{
@@ -6805,12 +6850,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
6805
6850
  * The directive encapsulates the in-memory handling of data operations such as sorting and filtering.
6806
6851
  */
6807
6852
  class GanttFlatBindingDirective extends FlatBindingDirective {
6808
- constructor() {
6809
- super(...arguments);
6810
- /**
6811
- * The array of data which will be used to populate the Gantt.
6812
- */
6813
- this.data = [];
6853
+ /**
6854
+ * The array of data which will be used to populate the Gantt.
6855
+ */
6856
+ set data(value) {
6857
+ super.data = value;
6858
+ }
6859
+ /**
6860
+ * @hidden
6861
+ */
6862
+ set aggregate(value) {
6863
+ super.aggregate = value;
6814
6864
  }
6815
6865
  }
6816
6866
  GanttFlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttFlatBindingDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
@@ -6831,12 +6881,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
6831
6881
  * which encapsulates the in-memory handling of data operations such as sorting and filtering.
6832
6882
  */
6833
6883
  class GanttHierarchyBindingDirective extends HierarchyBindingDirective {
6834
- constructor() {
6835
- super(...arguments);
6836
- /**
6837
- * The array of data which will be used to populate the Gantt.
6838
- */
6839
- this.data = [];
6884
+ /**
6885
+ * The array of data which will be used to populate the Gantt.
6886
+ */
6887
+ set data(value) {
6888
+ super.data = value;
6889
+ }
6890
+ /**
6891
+ * @hidden
6892
+ */
6893
+ set aggregate(value) {
6894
+ super.aggregate = value;
6840
6895
  }
6841
6896
  }
6842
6897
  GanttHierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttHierarchyBindingDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
@@ -6856,6 +6911,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
6856
6911
  * A directive which controls the expanded state of the items.
6857
6912
  */
6858
6913
  class GanttExpandableDirective extends ExpandableDirective {
6914
+ /**
6915
+ * Defines the item key that will be stored in the expandedKeys collection.
6916
+ * Defaults to the task data item ID field,
6917
+ * which is specified in the [`taskModelFields`]({% slug api_gantt_ganttcomponent %}#toc-taskmodelfields) object.
6918
+ *
6919
+ */
6920
+ set expandBy(value) {
6921
+ super.expandBy = value;
6922
+ }
6859
6923
  }
6860
6924
  GanttExpandableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: GanttExpandableDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
6861
6925
  GanttExpandableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: GanttExpandableDirective, selector: "[kendoGanttExpandable]", inputs: { expandBy: "expandBy" }, exportAs: ["kendoGanttExpandable"], usesInheritance: true, ngImport: i0 });
@@ -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 "src/columns/column-base";
7
+ import { GanttColumnBase } from "../columns/column-base";
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.0-next.202204121507",
3
+ "version": "2.0.0-next.202204131102",
4
4
  "description": "Kendo UI Angular Gantt",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -40,7 +40,7 @@
40
40
  "@progress/kendo-angular-intl": ">4.0.0-next",
41
41
  "@progress/kendo-angular-layout": ">7.0.0-next",
42
42
  "@progress/kendo-angular-popup": ">5.0.0-next",
43
- "@progress/kendo-angular-treelist": "^4.0.0",
43
+ "@progress/kendo-angular-treelist": ">5.0.0-next",
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",