@progress/kendo-angular-gantt 2.0.0-next.202204011501 → 2.0.0-next.202204121507
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 +24 -0
- package/binding-directives/hierarchy-binding.directive.d.ts +22 -0
- package/bundles/kendo-angular-gantt.umd.js +1 -1
- package/columns/cell-template.directive.d.ts +28 -0
- package/columns/column-base.d.ts +85 -0
- package/columns/column-group.component.d.ts +103 -0
- package/columns/column-menu-template.directive.d.ts +22 -0
- package/columns/column.component.d.ts +130 -0
- package/columns/columns.d.ts +15 -0
- package/columns/edit-template.directive.d.ts +26 -0
- package/columns/filter-cell-template.directive.d.ts +21 -0
- package/columns/filter-menu-template.directive.d.ts +20 -0
- package/columns/footer-template.directive.d.ts +24 -0
- package/columns/header-template.directive.d.ts +22 -0
- package/columns/span-column.component.d.ts +112 -0
- package/common/default-callbacks.d.ts +25 -0
- package/common/mapping.service.d.ts +38 -0
- package/common/option-changes.service.d.ts +17 -0
- package/common/touch-enabled.d.ts +9 -0
- package/dependencies/dependency-dom.service.d.ts +46 -0
- package/dependencies/dom-dependency-args.d.ts +24 -0
- package/dependencies/gantt-dependency.directive.d.ts +29 -0
- package/dependencies/utils.d.ts +53 -0
- package/dragging/dependency-drag-create.directive.d.ts +75 -0
- package/dragging/drag-validation-tooltip.component.d.ts +32 -0
- package/editing/add-task.component.d.ts +47 -0
- package/editing/dependencies-table.component.d.ts +42 -0
- package/editing/edit-dialog.component.d.ts +33 -0
- package/editing/edit.service.d.ts +44 -0
- package/editing/task-fields.component.d.ts +25 -0
- package/editing/utils.d.ts +10 -0
- package/esm2015/binding-directives/flat-binding.directive.js +34 -0
- package/esm2015/binding-directives/hierarchy-binding.directive.js +32 -0
- package/esm2015/columns/cell-template.directive.js +37 -0
- package/esm2015/columns/column-base.js +52 -0
- package/esm2015/columns/column-group.component.js +94 -0
- package/esm2015/columns/column-menu-template.directive.js +31 -0
- package/esm2015/columns/column.component.js +133 -0
- package/esm2015/columns/columns.js +15 -0
- package/esm2015/columns/edit-template.directive.js +35 -0
- package/esm2015/columns/filter-cell-template.directive.js +30 -0
- package/esm2015/columns/filter-menu-template.directive.js +29 -0
- package/esm2015/columns/footer-template.directive.js +33 -0
- package/esm2015/columns/header-template.directive.js +31 -0
- package/esm2015/columns/span-column.component.js +86 -0
- package/esm2015/common/default-callbacks.js +25 -0
- package/esm2015/common/mapping.service.js +64 -0
- package/esm2015/common/option-changes.service.js +26 -0
- package/esm2015/common/touch-enabled.js +9 -0
- package/esm2015/dependencies/dependency-dom.service.js +70 -0
- package/esm2015/dependencies/dom-dependency-args.js +5 -0
- package/esm2015/dependencies/gantt-dependency.directive.js +82 -0
- package/esm2015/dependencies/utils.js +195 -0
- package/esm2015/dragging/dependency-drag-create.directive.js +318 -0
- package/esm2015/dragging/drag-validation-tooltip.component.js +90 -0
- package/esm2015/editing/add-task.component.js +109 -0
- package/esm2015/editing/dependencies-table.component.js +196 -0
- package/esm2015/editing/edit-dialog.component.js +170 -0
- package/esm2015/editing/edit.service.js +111 -0
- package/esm2015/editing/task-fields.component.js +101 -0
- package/esm2015/editing/utils.js +15 -0
- package/esm2015/expanded-state/expand-event.js +9 -0
- package/esm2015/expanded-state/expandable.directive.js +23 -0
- package/esm2015/gantt.component.js +2227 -0
- package/esm2015/gantt.module.js +264 -0
- package/esm2015/kendo-angular-gantt.js +8 -0
- package/esm2015/localization/custom-messages.component.js +41 -0
- package/esm2015/localization/gantt-localization.service.js +25 -0
- package/esm2015/localization/localized-messages.directive.js +36 -0
- package/esm2015/localization/messages.js +157 -0
- package/esm2015/main.js +37 -0
- package/esm2015/models/cell-content-type.interface.js +5 -0
- package/esm2015/models/class-callbacks.js +5 -0
- package/esm2015/models/column-menu-settings.interface.js +5 -0
- package/esm2015/models/column-reorder-config.js +5 -0
- package/esm2015/models/date-range.interface.js +5 -0
- package/esm2015/models/dependency-type.enum.js +20 -0
- package/esm2015/models/events/cell-click-event.interface.js +5 -0
- package/esm2015/models/events/cell-close-event.interface.js +14 -0
- package/esm2015/models/events/click-event.interface.js +5 -0
- package/esm2015/models/events/column-locked-change-event.interface.js +5 -0
- package/esm2015/models/events/column-reorder-event.interface.js +5 -0
- package/esm2015/models/events/column-resize-event.interface.js +5 -0
- package/esm2015/models/events/column-visibility-change-event.interface.js +5 -0
- package/esm2015/models/events/data-state-change-event.interface.js +5 -0
- package/esm2015/models/events/dependency-add-event.interface.js +5 -0
- package/esm2015/models/events/selected-view-change-event.interface.js +5 -0
- package/esm2015/models/events/task-add-event.interface.js +5 -0
- package/esm2015/models/events/task-click-event.interface.js +5 -0
- package/esm2015/models/events/task-delete-event.interface.js +5 -0
- package/esm2015/models/events/task-edit-event.interface.js +5 -0
- package/esm2015/models/events/task-move-end-event.interface.js +5 -0
- package/esm2015/models/events/task-move-event.interface.js +5 -0
- package/esm2015/models/events/task-move-start-event.interface.js +5 -0
- package/esm2015/models/events/task-resize-end-event.interface.js +5 -0
- package/esm2015/models/events/task-resize-event.interface.js +5 -0
- package/esm2015/models/events/task-resize-start-event.interface.js +5 -0
- package/esm2015/models/filterable-settings.js +5 -0
- package/esm2015/models/gantt-dependency-model-fields.interface.js +13 -0
- package/esm2015/models/gantt-dependency.interface.js +5 -0
- package/esm2015/models/gantt-task-model-fields.interface.js +15 -0
- package/esm2015/models/gantt-task.interface.js +5 -0
- package/esm2015/models/models.js +7 -0
- package/esm2015/models/slot.interface.js +5 -0
- package/esm2015/models/sort-settings.js +17 -0
- package/esm2015/models/splitter-pane-options.interface.js +20 -0
- package/esm2015/models/timeline-options.interface.js +5 -0
- package/esm2015/models/timeline-view.js +5 -0
- package/esm2015/models/toolbar-settings.js +5 -0
- package/esm2015/models/view-item.interface.js +5 -0
- package/esm2015/navigation/navigation-models.js +5 -0
- package/esm2015/navigation/navigation.service.js +265 -0
- package/esm2015/navigation/utils.js +69 -0
- package/esm2015/package-metadata.js +15 -0
- package/esm2015/rendering/gantt-header-table-body.component.js +42 -0
- package/esm2015/rendering/gantt-milestone-task.component.js +107 -0
- package/esm2015/rendering/gantt-summary-task.component.js +158 -0
- package/esm2015/rendering/gantt-task-base.js +148 -0
- package/esm2015/rendering/gantt-task.component.js +204 -0
- package/esm2015/rendering/gantt-tasks-table-body.component.js +160 -0
- package/esm2015/scrolling/drag-scroll-settings.js +20 -0
- package/esm2015/scrolling/scroll-sync.service.js +80 -0
- package/esm2015/scrolling/timeline-scroll.directive.js +75 -0
- package/esm2015/scrolling/timeline-scroll.service.js +39 -0
- package/esm2015/scrolling/utils.js +77 -0
- package/esm2015/selection/selectable.directive.js +112 -0
- package/esm2015/selection/selection-change-event.js +5 -0
- package/esm2015/template-directives/summary-task-template.directive.js +50 -0
- package/esm2015/template-directives/task-content-template.directive.js +45 -0
- package/esm2015/template-directives/task-template.directive.js +48 -0
- package/esm2015/timeline/gantt-timeline.component.js +334 -0
- package/esm2015/timeline/timeline-base-view.service.js +160 -0
- package/esm2015/timeline/timeline-day-view.component.js +38 -0
- package/esm2015/timeline/timeline-day-view.service.js +66 -0
- package/esm2015/timeline/timeline-month-view.component.js +38 -0
- package/esm2015/timeline/timeline-month-view.service.js +64 -0
- package/esm2015/timeline/timeline-view.service.js +35 -0
- package/esm2015/timeline/timeline-week-view.component.js +38 -0
- package/esm2015/timeline/timeline-week-view.service.js +60 -0
- package/esm2015/timeline/view-base.js +45 -0
- package/esm2015/toolbar/toolbar-template.directive.js +127 -0
- package/esm2015/toolbar/toolbar.component.js +94 -0
- package/esm2015/toolbar/view-selector.component.js +96 -0
- package/esm2015/utils.js +293 -0
- package/expanded-state/expand-event.d.ts +13 -0
- package/expanded-state/expandable.directive.d.ts +20 -0
- package/fesm2015/kendo-angular-gantt.js +7706 -0
- package/gantt.component.d.ts +750 -0
- package/gantt.module.d.ts +94 -0
- package/kendo-angular-gantt.d.ts +9 -0
- package/localization/custom-messages.component.d.ts +18 -0
- package/localization/gantt-localization.service.d.ts +18 -0
- package/localization/localized-messages.directive.d.ts +16 -0
- package/localization/messages.d.ts +293 -0
- package/main.d.ts +39 -0
- package/models/cell-content-type.interface.d.ts +10 -0
- package/models/class-callbacks.d.ts +43 -0
- package/models/column-menu-settings.interface.d.ts +26 -0
- package/models/column-reorder-config.d.ts +10 -0
- package/models/date-range.interface.d.ts +19 -0
- package/models/dependency-type.enum.d.ts +19 -0
- package/models/events/cell-click-event.interface.d.ts +43 -0
- package/models/events/cell-close-event.interface.d.ts +48 -0
- package/models/events/click-event.interface.d.ts +23 -0
- package/models/events/column-locked-change-event.interface.d.ts +16 -0
- package/models/events/column-reorder-event.interface.d.ts +10 -0
- package/models/events/column-resize-event.interface.d.ts +10 -0
- package/models/events/column-visibility-change-event.interface.d.ts +14 -0
- package/models/events/data-state-change-event.interface.d.ts +10 -0
- package/models/events/dependency-add-event.interface.d.ts +26 -0
- package/models/events/selected-view-change-event.interface.d.ts +19 -0
- package/models/events/task-add-event.interface.d.ts +31 -0
- package/models/events/task-click-event.interface.d.ts +30 -0
- package/models/events/task-delete-event.interface.d.ts +21 -0
- package/models/events/task-edit-event.interface.d.ts +76 -0
- package/models/events/task-move-end-event.interface.d.ts +12 -0
- package/models/events/task-move-event.interface.d.ts +23 -0
- package/models/events/task-move-start-event.interface.d.ts +15 -0
- package/models/events/task-resize-end-event.interface.d.ts +12 -0
- package/models/events/task-resize-event.interface.d.ts +23 -0
- package/models/events/task-resize-start-event.interface.d.ts +15 -0
- package/models/filterable-settings.d.ts +10 -0
- package/models/gantt-dependency-model-fields.interface.d.ts +35 -0
- package/models/gantt-dependency.interface.d.ts +26 -0
- package/models/gantt-task-model-fields.interface.d.ts +42 -0
- package/models/gantt-task.interface.d.ts +31 -0
- package/models/models.d.ts +42 -0
- package/models/slot.interface.d.ts +31 -0
- package/models/sort-settings.d.ts +42 -0
- package/models/splitter-pane-options.interface.d.ts +54 -0
- package/models/timeline-options.interface.d.ts +41 -0
- package/models/timeline-view.d.ts +8 -0
- package/models/toolbar-settings.d.ts +29 -0
- package/models/view-item.interface.d.ts +35 -0
- package/navigation/navigation-models.d.ts +38 -0
- package/navigation/navigation.service.d.ts +130 -0
- package/navigation/utils.d.ts +26 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +9 -13
- package/rendering/gantt-header-table-body.component.d.ts +14 -0
- package/rendering/gantt-milestone-task.component.d.ts +22 -0
- package/rendering/gantt-summary-task.component.d.ts +25 -0
- package/rendering/gantt-task-base.d.ts +59 -0
- package/rendering/gantt-task.component.d.ts +26 -0
- package/rendering/gantt-tasks-table-body.component.d.ts +33 -0
- package/scrolling/drag-scroll-settings.d.ts +47 -0
- package/scrolling/scroll-sync.service.d.ts +33 -0
- package/scrolling/timeline-scroll.directive.d.ts +27 -0
- package/scrolling/timeline-scroll.service.d.ts +23 -0
- package/scrolling/utils.d.ts +29 -0
- package/selection/selectable.directive.d.ts +45 -0
- package/selection/selection-change-event.d.ts +25 -0
- package/template-directives/summary-task-template.directive.d.ts +41 -0
- package/template-directives/task-content-template.directive.d.ts +36 -0
- package/template-directives/task-template.directive.d.ts +39 -0
- package/timeline/gantt-timeline.component.d.ts +67 -0
- package/timeline/timeline-base-view.service.d.ts +77 -0
- package/timeline/timeline-day-view.component.d.ts +18 -0
- package/timeline/timeline-day-view.service.d.ts +38 -0
- package/timeline/timeline-month-view.component.d.ts +18 -0
- package/timeline/timeline-month-view.service.d.ts +38 -0
- package/timeline/timeline-view.service.d.ts +19 -0
- package/timeline/timeline-week-view.component.d.ts +18 -0
- package/timeline/timeline-week-view.service.d.ts +38 -0
- package/timeline/view-base.d.ts +34 -0
- package/toolbar/toolbar-template.directive.d.ts +112 -0
- package/toolbar/toolbar.component.d.ts +29 -0
- package/toolbar/view-selector.component.d.ts +43 -0
- package/utils.d.ts +166 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Represents the column cell template of the Gantt.
|
|
9
|
+
* Helps to customize the content of the cells. To define the cell template, nest an `<ng-template>` tag
|
|
10
|
+
* with the `kendoGanttCellTemplate` directive inside the respective column tag.
|
|
11
|
+
*
|
|
12
|
+
* The template context is set to the current data item and the following additional fields are passed:
|
|
13
|
+
* - `dataItem`—The current data item. Represents the default context that will be assigned to any template variable which utilizes the `let-x` syntax—for example, `let-dataItem`.
|
|
14
|
+
* - `columnIndex`—The current column index. Use it as an alias for a template variable by utilizing the `let-columnIndex="columnIndex"` syntax.
|
|
15
|
+
* - `column`—The current column instance. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
|
|
16
|
+
* - `cellContext`—An object used to pass context information to built-in directives.
|
|
17
|
+
* - `hasChildren`—Specifies if the item has children.
|
|
18
|
+
* - `isExpanded`—Specifies if the item is expanded.
|
|
19
|
+
* - `level`—The hierarchy level of the item.
|
|
20
|
+
* - `loading`—Specifies if the item children are currently loading.
|
|
21
|
+
* - `rowIndex`—The current row index. Use it as an alias for a template variable by utilizing the `let-rowIndex="rowIndex"` syntax.
|
|
22
|
+
*/
|
|
23
|
+
export declare class CellTemplateDirective {
|
|
24
|
+
templateRef: TemplateRef<any>;
|
|
25
|
+
constructor(templateRef: TemplateRef<any>);
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CellTemplateDirective, [{ optional: true; }]>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CellTemplateDirective, "[kendoGanttCellTemplate]", never, {}, {}, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ColumnBase } from '@progress/kendo-angular-treelist';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* The base class for the column components of the Gantt.
|
|
9
|
+
*/
|
|
10
|
+
export declare class GanttColumnBase extends ColumnBase {
|
|
11
|
+
/**
|
|
12
|
+
* Toggles the locked (frozen) state of the columns.
|
|
13
|
+
*
|
|
14
|
+
* @default false
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
locked: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
|
|
20
|
+
* @hidden
|
|
21
|
+
*/
|
|
22
|
+
lockable: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Sets the visibility of the column.
|
|
25
|
+
*
|
|
26
|
+
* @default false
|
|
27
|
+
*/
|
|
28
|
+
hidden: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Sets the condition that needs to be satisfied for a column to remain visible.
|
|
31
|
+
* If you set the `hidden` property, the behavior of `media` is overridden.
|
|
32
|
+
*/
|
|
33
|
+
media: string;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the custom styles for the table cells (excluding the footer and header ones) of the column. Under the hood,
|
|
36
|
+
* to apply the property, the `style` option uses the
|
|
37
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
38
|
+
*/
|
|
39
|
+
style: {
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Sets the custom styles for the header cell of the column. Under the hood, to apply the property,
|
|
44
|
+
* the `headerStyle` option uses the
|
|
45
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
46
|
+
*/
|
|
47
|
+
headerStyle: {
|
|
48
|
+
[key: string]: string;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Sets the custom styles for the footer cell of the column. Under the hood, to apply the property,
|
|
52
|
+
* the `footerStyle` option uses the
|
|
53
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
54
|
+
*/
|
|
55
|
+
footerStyle: {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Sets the custom CSS classes to the column cells. Under the hood, to apply the property, the `class` option uses the
|
|
60
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
61
|
+
* To customize header and footer column cells, use the `headerClass`
|
|
62
|
+
* and `footerClass` inputs.
|
|
63
|
+
*/
|
|
64
|
+
cssClass: string | string[] | Set<string> | {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Sets the custom CSS classes to the column header cell. Under the hood, to apply the property,
|
|
69
|
+
* the `headerClass` option uses the
|
|
70
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
71
|
+
*/
|
|
72
|
+
headerClass: string | string[] | Set<string> | {
|
|
73
|
+
[key: string]: any;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Sets the custom CSS classes to the column footer cell. Under the hood, to apply the property,
|
|
77
|
+
* the `footerClass` option uses the
|
|
78
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
79
|
+
*/
|
|
80
|
+
footerClass: string | string[] | Set<string> | {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
};
|
|
83
|
+
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
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { QueryList } from '@angular/core';
|
|
6
|
+
import { ColumnGroupComponent } from '@progress/kendo-angular-treelist';
|
|
7
|
+
import { OptionChangesService } from '../common/option-changes.service';
|
|
8
|
+
import { GanttColumnBase } from './column-base';
|
|
9
|
+
import { ColumnSortSettings } from './../models/sort-settings';
|
|
10
|
+
import { HeaderTemplateDirective } from './header-template.directive';
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class GanttColumnGroupComponent extends ColumnGroupComponent {
|
|
13
|
+
private options;
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
children: QueryList<GanttColumnBase>;
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
headerTemplates: QueryList<HeaderTemplateDirective>;
|
|
22
|
+
/**
|
|
23
|
+
* Toggles the locked (frozen) state of the columns.
|
|
24
|
+
*
|
|
25
|
+
* @default false
|
|
26
|
+
* @hidden
|
|
27
|
+
*/
|
|
28
|
+
locked: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
|
|
31
|
+
* @hidden
|
|
32
|
+
*/
|
|
33
|
+
lockable: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Sets the visibility of the column.
|
|
36
|
+
*
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
hidden: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Allows the column headers to be clicked and the `sortChange` event emitted.
|
|
42
|
+
* You have to handle the `sortChange` event yourself and sort the data.
|
|
43
|
+
*/
|
|
44
|
+
sortable: boolean | ColumnSortSettings;
|
|
45
|
+
/**
|
|
46
|
+
* Sets the condition that needs to be satisfied for a column to remain visible.
|
|
47
|
+
* If you set the `hidden` property, the behavior of `media` is overridden.
|
|
48
|
+
*/
|
|
49
|
+
media: string;
|
|
50
|
+
/**
|
|
51
|
+
* Sets the custom styles for the table cells (excluding the footer and header ones) of the column. Under the hood,
|
|
52
|
+
* to apply the property, the `style` option uses the
|
|
53
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
54
|
+
*/
|
|
55
|
+
style: {
|
|
56
|
+
[key: string]: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Sets the custom styles for the header cell of the column. Under the hood, to apply the property,
|
|
60
|
+
* the `headerStyle` option uses the
|
|
61
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
62
|
+
*/
|
|
63
|
+
headerStyle: {
|
|
64
|
+
[key: string]: string;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Sets the custom styles for the footer cell of the column. Under the hood, to apply the property,
|
|
68
|
+
* the `footerStyle` option uses the
|
|
69
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
70
|
+
*/
|
|
71
|
+
footerStyle: {
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Sets the custom CSS classes to the column cells. Under the hood, to apply the property, the `class` option uses the
|
|
76
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
77
|
+
* To customize header and footer column cells, use the `headerClass`
|
|
78
|
+
* and `footerClass` inputs.
|
|
79
|
+
*/
|
|
80
|
+
cssClass: string | string[] | Set<string> | {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Sets the custom CSS classes to the column header cell. Under the hood, to apply the property,
|
|
85
|
+
* the `headerClass` option uses the
|
|
86
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
87
|
+
*/
|
|
88
|
+
headerClass: string | string[] | Set<string> | {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Sets the custom CSS classes to the column footer cell. Under the hood, to apply the property,
|
|
93
|
+
* the `footerClass` option uses the
|
|
94
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
95
|
+
*/
|
|
96
|
+
footerClass: string | string[] | Set<string> | {
|
|
97
|
+
[key: string]: any;
|
|
98
|
+
};
|
|
99
|
+
constructor(options: OptionChangesService, parent?: GanttColumnBase);
|
|
100
|
+
ngOnChanges(): void;
|
|
101
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttColumnGroupComponent, [null, { optional: true; host: true; skipSelf: true; }]>;
|
|
102
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GanttColumnGroupComponent, "kendo-gantt-column-group", never, { "locked": "locked"; "lockable": "lockable"; "hidden": "hidden"; "sortable": "sortable"; "media": "media"; "style": "style"; "headerStyle": "headerStyle"; "footerStyle": "footerStyle"; "cssClass": "class"; "headerClass": "headerClass"; "footerClass": "footerClass"; }, {}, ["children", "headerTemplates"], never>;
|
|
103
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Represents the template for the column menu in the Gantt. Provides an option for
|
|
9
|
+
* customizing the content of the column menu for all or for specific columns.
|
|
10
|
+
* To define the content template, nest an `<ng-template>` tag with the
|
|
11
|
+
* `kendoGanttColumnMenuTemplate` directive inside the `<kendo-gantt-column>` component.
|
|
12
|
+
*
|
|
13
|
+
* The column menu service and the current column are available as context variables:
|
|
14
|
+
* - `service`—Represents the ColumnMenuService.
|
|
15
|
+
* - `column`—Represents the Gantt column.
|
|
16
|
+
*/
|
|
17
|
+
export declare class ColumnMenuTemplateDirective {
|
|
18
|
+
templateRef: TemplateRef<any>;
|
|
19
|
+
constructor(templateRef: TemplateRef<any>);
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnMenuTemplateDirective, [{ optional: true; }]>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnMenuTemplateDirective, "[kendoGanttColumnMenuTemplate]", never, {}, {}, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { QueryList } from '@angular/core';
|
|
6
|
+
import { ColumnComponent } from '@progress/kendo-angular-treelist';
|
|
7
|
+
import { OptionChangesService } from '../common/option-changes.service';
|
|
8
|
+
import { GanttColumnBase } from './column-base';
|
|
9
|
+
import { CellTemplateDirective } from './cell-template.directive';
|
|
10
|
+
import { ColumnMenuTemplateDirective } from './column-menu-template.directive';
|
|
11
|
+
import { FilterCellTemplateDirective } from './filter-cell-template.directive';
|
|
12
|
+
import { FilterMenuTemplateDirective } from './filter-menu-template.directive';
|
|
13
|
+
import { FooterTemplateDirective } from './footer-template.directive';
|
|
14
|
+
import { HeaderTemplateDirective } from './header-template.directive';
|
|
15
|
+
import { CellContentType } from '../models/cell-content-type.interface';
|
|
16
|
+
import { EditTemplateDirective } from './edit-template.directive';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
export declare class GanttColumnComponent extends ColumnComponent {
|
|
19
|
+
private options;
|
|
20
|
+
headerTemplates: QueryList<HeaderTemplateDirective>;
|
|
21
|
+
footerTemplate: FooterTemplateDirective;
|
|
22
|
+
columnMenuTemplates: QueryList<ColumnMenuTemplateDirective>;
|
|
23
|
+
template: CellTemplateDirective;
|
|
24
|
+
editTemplate: EditTemplateDirective;
|
|
25
|
+
filterCellTemplate: FilterCellTemplateDirective;
|
|
26
|
+
filterMenuTemplate: FilterMenuTemplateDirective;
|
|
27
|
+
/**
|
|
28
|
+
* The format that is applied to the value before it is displayed.
|
|
29
|
+
* Takes the `{0:format}` form where `format` is a standard number format, a custom number format,
|
|
30
|
+
* a standard date format, a custom date format or a format object. For more information on the supported date and number formats,
|
|
31
|
+
* refer to the [kendo-intl](https://github.com/telerik/kendo-intl/blob/develop/docs/index.md) documentation.
|
|
32
|
+
*/
|
|
33
|
+
format: any;
|
|
34
|
+
/**
|
|
35
|
+
* Defines the filter type that is displayed inside the filter row. The default value is `text`.
|
|
36
|
+
*/
|
|
37
|
+
filter: CellContentType;
|
|
38
|
+
/**
|
|
39
|
+
* Defines if a filter UI will be displayed for this column. The default value is `true`.
|
|
40
|
+
*/
|
|
41
|
+
filterable: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*
|
|
45
|
+
* Defines the editor type.
|
|
46
|
+
* Used when the column enters the edit mode. The default value is `text`.
|
|
47
|
+
*/
|
|
48
|
+
editor: CellContentType;
|
|
49
|
+
/**
|
|
50
|
+
* @hidden
|
|
51
|
+
*
|
|
52
|
+
* Defines whether the column is editable. The default value is `true`.
|
|
53
|
+
*/
|
|
54
|
+
editable: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Toggles the locked (frozen) state of the columns.
|
|
57
|
+
* @hidden
|
|
58
|
+
* @default false
|
|
59
|
+
*/
|
|
60
|
+
locked: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
|
|
63
|
+
* @hidden
|
|
64
|
+
*/
|
|
65
|
+
lockable: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Sets the visibility of the column.
|
|
68
|
+
*
|
|
69
|
+
* @default false
|
|
70
|
+
*/
|
|
71
|
+
hidden: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Sets the condition that needs to be satisfied for a column to remain visible.
|
|
74
|
+
* If you set the `hidden` property, the behavior of `media` is overridden.
|
|
75
|
+
*/
|
|
76
|
+
media: string;
|
|
77
|
+
/**
|
|
78
|
+
* Sets the custom styles for the table cells (excluding the footer and header ones) of the column. Under the hood,
|
|
79
|
+
* to apply the property, the `style` option uses the
|
|
80
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
81
|
+
*/
|
|
82
|
+
style: {
|
|
83
|
+
[key: string]: string;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Sets the custom styles for the header cell of the column. Under the hood, to apply the property,
|
|
87
|
+
* the `headerStyle` option uses the
|
|
88
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
89
|
+
*/
|
|
90
|
+
headerStyle: {
|
|
91
|
+
[key: string]: string;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Sets the custom styles for the footer cell of the column. Under the hood, to apply the property,
|
|
95
|
+
* the `footerStyle` option uses the
|
|
96
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
97
|
+
*/
|
|
98
|
+
footerStyle: {
|
|
99
|
+
[key: string]: string;
|
|
100
|
+
};
|
|
101
|
+
/**
|
|
102
|
+
* Sets the custom CSS classes to the column cells. Under the hood, to apply the property, the `class` option uses the
|
|
103
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
104
|
+
* To customize header and footer column cells, use the `headerClass`
|
|
105
|
+
* and `footerClass` inputs.
|
|
106
|
+
*/
|
|
107
|
+
cssClass: string | string[] | Set<string> | {
|
|
108
|
+
[key: string]: any;
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Sets the custom CSS classes to the column header cell. Under the hood, to apply the property,
|
|
112
|
+
* the `headerClass` option uses the
|
|
113
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
114
|
+
*/
|
|
115
|
+
headerClass: string | string[] | Set<string> | {
|
|
116
|
+
[key: string]: any;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Sets the custom CSS classes to the column footer cell. Under the hood, to apply the property,
|
|
120
|
+
* the `footerClass` option uses the
|
|
121
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
122
|
+
*/
|
|
123
|
+
footerClass: string | string[] | Set<string> | {
|
|
124
|
+
[key: string]: any;
|
|
125
|
+
};
|
|
126
|
+
constructor(options: OptionChangesService, parent?: GanttColumnBase);
|
|
127
|
+
ngOnChanges(): void;
|
|
128
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttColumnComponent, [null, { optional: true; host: true; skipSelf: true; }]>;
|
|
129
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GanttColumnComponent, "kendo-gantt-column", never, { "format": "format"; "filter": "filter"; "filterable": "filterable"; "editor": "editor"; "editable": "editable"; "locked": "locked"; "lockable": "lockable"; "hidden": "hidden"; "media": "media"; "style": "style"; "headerStyle": "headerStyle"; "footerStyle": "footerStyle"; "cssClass": "class"; "headerClass": "headerClass"; "footerClass": "footerClass"; }, {}, ["footerTemplate", "template", "editTemplate", "filterCellTemplate", "filterMenuTemplate", "headerTemplates", "columnMenuTemplates"], never>;
|
|
130
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export { GanttColumnBase } from './column-base';
|
|
6
|
+
export { GanttColumnComponent } from './column.component';
|
|
7
|
+
export { GanttColumnGroupComponent } from './column-group.component';
|
|
8
|
+
export { GanttSpanColumnComponent } from './span-column.component';
|
|
9
|
+
export { CellTemplateDirective } from './cell-template.directive';
|
|
10
|
+
export { HeaderTemplateDirective } from './header-template.directive';
|
|
11
|
+
export { FooterTemplateDirective } from './footer-template.directive';
|
|
12
|
+
export { ColumnMenuTemplateDirective } from './column-menu-template.directive';
|
|
13
|
+
export { FilterCellTemplateDirective } from './filter-cell-template.directive';
|
|
14
|
+
export { FilterMenuTemplateDirective } from './filter-menu-template.directive';
|
|
15
|
+
export { EditTemplateDirective } from './edit-template.directive';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Represents the column edit-cell template of the Gantt.
|
|
9
|
+
* Helps to customize the content of the edited cells. To define the cell template, nest an `<ng-template>`
|
|
10
|
+
* tag with the `kendoGanttEditTemplate` directive inside a `<kendo-gantt-column>` tag.
|
|
11
|
+
*
|
|
12
|
+
* The template context contains the following fields:
|
|
13
|
+
* - `column`—The current column instance.
|
|
14
|
+
* - `dataItem`—The current data item.
|
|
15
|
+
* - `cellContext`—An object used to pass context information to built-in directives.
|
|
16
|
+
* - `formGroup`—The current [`FormGroup`]({{ site.data.urls.angular['formgroupapi'] }}).
|
|
17
|
+
* If you use the Gantt inside [Template-Driven Forms]({{ site.data.urls.angular['forms'] }}), it will be `undefined`.
|
|
18
|
+
* - `isNew`—The state of the current item.
|
|
19
|
+
* - `rowIndex`—The current row index. If inside a new item row, `rowIndex` is `-1`.
|
|
20
|
+
*/
|
|
21
|
+
export declare class EditTemplateDirective {
|
|
22
|
+
templateRef: TemplateRef<any>;
|
|
23
|
+
constructor(templateRef: TemplateRef<any>);
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EditTemplateDirective, [{ optional: true; }]>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditTemplateDirective, "[kendoGanttEditTemplate]", never, {}, {}, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
* Represents the filter-cell template.
|
|
10
|
+
*
|
|
11
|
+
* The template context is set to the filter descriptor and the following additional fields are passed:
|
|
12
|
+
* - `column`—The current column instance. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
|
|
13
|
+
* - `filter`—The filter descriptor.
|
|
14
|
+
* - `cellContext`—An object used to pass context information to built-in directives.
|
|
15
|
+
*/
|
|
16
|
+
export declare class FilterCellTemplateDirective {
|
|
17
|
+
templateRef: TemplateRef<any>;
|
|
18
|
+
constructor(templateRef: TemplateRef<any>);
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterCellTemplateDirective, [{ optional: true; }]>;
|
|
20
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterCellTemplateDirective, "[kendoGanttFilterCellTemplate]", never, {}, {}, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Represents the filter-menu template.
|
|
9
|
+
*
|
|
10
|
+
* The column, current filter and the filter service are available as context variables:
|
|
11
|
+
* - `column`—The current column instance. Use it as an alias for a template variable by utilizing the `let-column="column"` syntax.
|
|
12
|
+
* - `filter`—The filter descriptor.
|
|
13
|
+
* - `cellContext`—An object used to pass context information to built-in directives.
|
|
14
|
+
*/
|
|
15
|
+
export declare class FilterMenuTemplateDirective {
|
|
16
|
+
templateRef: TemplateRef<any>;
|
|
17
|
+
constructor(templateRef: TemplateRef<any>);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilterMenuTemplateDirective, [{ optional: true; }]>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FilterMenuTemplateDirective, "[kendoGanttFilterMenuTemplate]", never, {}, {}, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Represents the column footer cell template of the Gantt.
|
|
9
|
+
*
|
|
10
|
+
* Helps to customize the table footer cell for the column.
|
|
11
|
+
* To define a footer template, nest an `<ng-template>` tag with the
|
|
12
|
+
* [`kendoGanttFooterTemplate`]({% slug api_gantt_footertemplatedirective %}) directive inside the `<kendo-gantt-column>` tag.
|
|
13
|
+
*
|
|
14
|
+
* The current column, column index and field are available as context variables:
|
|
15
|
+
* * `column`—Points to the instance of the current [`ColumnComponent`]({% slug api_gantt_ganttcolumncomponent %}).
|
|
16
|
+
* * `columnIndex`—Defines the current column index.
|
|
17
|
+
* * `field`—The name of the column field, if set.
|
|
18
|
+
*/
|
|
19
|
+
export declare class FooterTemplateDirective {
|
|
20
|
+
templateRef: TemplateRef<any>;
|
|
21
|
+
constructor(templateRef: TemplateRef<any>);
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FooterTemplateDirective, [{ optional: true; }]>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FooterTemplateDirective, "[kendoGanttFooterTemplate]", never, {}, {}, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Represents the column header cell template of the Gantt.
|
|
9
|
+
* Helps to customize the table header cell for the column.
|
|
10
|
+
* To define a header template, nest an `<ng-template>` tag with the
|
|
11
|
+
* [`kendoGanttHeaderTemplate`]({% slug api_gantt_headertemplatedirective %}) directive inside the `<kendo-gantt-column>` tag.
|
|
12
|
+
*
|
|
13
|
+
* The current column and column index are available as context variables:
|
|
14
|
+
* * `column`—Points to the instance of the current [`ColumnComponent`]({% slug api_gantt_ganttcolumncomponent %}).
|
|
15
|
+
* * `columnIndex`—Defines the current column index.
|
|
16
|
+
*/
|
|
17
|
+
export declare class HeaderTemplateDirective {
|
|
18
|
+
templateRef: TemplateRef<any>;
|
|
19
|
+
constructor(templateRef: TemplateRef<any>);
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderTemplateDirective, [{ optional: true; }]>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<HeaderTemplateDirective, "[kendoGanttHeaderTemplate]", never, {}, {}, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { QueryList } from '@angular/core';
|
|
6
|
+
import { SpanColumnComponent } from '@progress/kendo-angular-treelist';
|
|
7
|
+
import { OptionChangesService } from '../common/option-changes.service';
|
|
8
|
+
import { CellTemplateDirective } from './cell-template.directive';
|
|
9
|
+
import { GanttColumnBase } from './column-base';
|
|
10
|
+
import { GanttColumnComponent } from './column.component';
|
|
11
|
+
import { EditTemplateDirective } from './edit-template.directive';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class GanttSpanColumnComponent extends SpanColumnComponent {
|
|
14
|
+
private options;
|
|
15
|
+
/**
|
|
16
|
+
* @hidden
|
|
17
|
+
*/
|
|
18
|
+
childColumns: QueryList<GanttColumnComponent>;
|
|
19
|
+
template: QueryList<CellTemplateDirective>;
|
|
20
|
+
editTemplate: QueryList<EditTemplateDirective>;
|
|
21
|
+
/**
|
|
22
|
+
* Toggles the locked (frozen) state of the columns. Locked columns are visible
|
|
23
|
+
* at all times during the horizontal scrolling of the Gantt.
|
|
24
|
+
*
|
|
25
|
+
* For the option to work properly, make sure that:
|
|
26
|
+
* - Scrolling is enabled.
|
|
27
|
+
* - The `height` option of the Gantt is set.
|
|
28
|
+
* - The widths of all Gantt columns are explicitly set in pixels. In this way,
|
|
29
|
+
* the Gantt adjusts the layout of the locked and unlocked columns.
|
|
30
|
+
*
|
|
31
|
+
* @default false
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
locked: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Specifies if the column can be locked or unlocked from the column menu or by reordering the columns.
|
|
37
|
+
* @hidden
|
|
38
|
+
*/
|
|
39
|
+
lockable: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
*
|
|
43
|
+
* Defines whether the edit template of the column will be rendered. The default value is `false`.
|
|
44
|
+
*
|
|
45
|
+
* > To enable the editing functionality for a spanned column, set an edit template for it.
|
|
46
|
+
*/
|
|
47
|
+
editable: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Sets the visibility of the column.
|
|
50
|
+
*
|
|
51
|
+
* @default false
|
|
52
|
+
*/
|
|
53
|
+
hidden: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Sets the condition that needs to be satisfied for a column to remain visible.
|
|
56
|
+
* If you set the `hidden` property, the behavior of `media` is overridden.
|
|
57
|
+
*/
|
|
58
|
+
media: string;
|
|
59
|
+
/**
|
|
60
|
+
* Sets the custom styles for the table cells (excluding the footer and header ones) of the column. Under the hood,
|
|
61
|
+
* to apply the property, the `style` option uses the
|
|
62
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
63
|
+
*/
|
|
64
|
+
style: {
|
|
65
|
+
[key: string]: string;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Sets the custom styles for the header cell of the column. Under the hood, to apply the property,
|
|
69
|
+
* the `headerStyle` option uses the
|
|
70
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
71
|
+
*/
|
|
72
|
+
headerStyle: {
|
|
73
|
+
[key: string]: string;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Sets the custom styles for the footer cell of the column. Under the hood, to apply the property,
|
|
77
|
+
* the `footerStyle` option uses the
|
|
78
|
+
* [NgStyle]({{ site.data.urls.angular['ngstyleapi'] }}) directive.
|
|
79
|
+
*/
|
|
80
|
+
footerStyle: {
|
|
81
|
+
[key: string]: string;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Sets the custom CSS classes to the column cells. Under the hood, to apply the property, the `class` option uses the
|
|
85
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
86
|
+
* To customize header and footer column cells, use the `headerClass`
|
|
87
|
+
* and `footerClass` inputs.
|
|
88
|
+
*/
|
|
89
|
+
cssClass: string | string[] | Set<string> | {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Sets the custom CSS classes to the column header cell. Under the hood, to apply the property,
|
|
94
|
+
* the `headerClass` option uses the
|
|
95
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
96
|
+
*/
|
|
97
|
+
headerClass: string | string[] | Set<string> | {
|
|
98
|
+
[key: string]: any;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Sets the custom CSS classes to the column footer cell. Under the hood, to apply the property,
|
|
102
|
+
* the `footerClass` option uses the
|
|
103
|
+
* [NgClass]({{ site.data.urls.angular['ngclassapi'] }}) directive.
|
|
104
|
+
*/
|
|
105
|
+
footerClass: string | string[] | Set<string> | {
|
|
106
|
+
[key: string]: any;
|
|
107
|
+
};
|
|
108
|
+
constructor(options: OptionChangesService, parent?: GanttColumnBase);
|
|
109
|
+
ngOnChanges(): void;
|
|
110
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GanttSpanColumnComponent, [null, { optional: true; host: true; skipSelf: true; }]>;
|
|
111
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GanttSpanColumnComponent, "kendo-gantt-span-column", never, { "locked": "locked"; "lockable": "lockable"; "editable": "editable"; "hidden": "hidden"; "media": "media"; "style": "style"; "headerStyle": "headerStyle"; "footerStyle": "footerStyle"; "cssClass": "class"; "headerClass": "headerClass"; "footerClass": "footerClass"; }, {}, ["childColumns", "template", "editTemplate"], never>;
|
|
112
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
/**
|
|
7
|
+
* @hidden
|
|
8
|
+
*/
|
|
9
|
+
export declare const hasChildren: () => boolean;
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare const fetchChildren: () => Observable<[]>;
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export declare const rowClassCallback: () => any;
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
export declare const taskClassCallback: () => any;
|
|
22
|
+
/**
|
|
23
|
+
* @hidden
|
|
24
|
+
*/
|
|
25
|
+
export declare const isSelected: () => boolean;
|