@progress/kendo-angular-gantt 19.1.2-develop.4 → 19.1.2-develop.5
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 +16 -4
- package/binding-directives/hierarchy-binding.directive.d.ts +16 -3
- package/columns/cell-template.directive.d.ts +20 -12
- package/columns/column-base.component.d.ts +2 -1
- package/columns/column-group.component.d.ts +14 -0
- package/columns/column-menu-template.directive.d.ts +14 -7
- package/columns/column.component.d.ts +12 -2
- package/columns/edit-template.directive.d.ts +15 -6
- package/columns/filter-menu-template.directive.d.ts +14 -4
- package/columns/footer-template.directive.d.ts +14 -5
- package/columns/header-template.directive.d.ts +15 -5
- package/columns/span-column.component.d.ts +16 -0
- package/directives.d.ts +1 -1
- package/dragging/dependency-drag-create.directive.d.ts +9 -2
- package/dragging/task-drag.directive.d.ts +17 -4
- package/editing/add-task.component.d.ts +7 -7
- package/esm2022/binding-directives/flat-binding.directive.mjs +16 -4
- package/esm2022/binding-directives/hierarchy-binding.directive.mjs +16 -3
- package/esm2022/columns/cell-template.directive.mjs +20 -12
- package/esm2022/columns/column-base.component.mjs +2 -1
- package/esm2022/columns/column-group.component.mjs +14 -0
- package/esm2022/columns/column-menu-template.directive.mjs +14 -7
- package/esm2022/columns/column.component.mjs +12 -2
- package/esm2022/columns/edit-template.directive.mjs +15 -6
- package/esm2022/columns/filter-menu-template.directive.mjs +14 -4
- package/esm2022/columns/footer-template.directive.mjs +14 -5
- package/esm2022/columns/header-template.directive.mjs +15 -5
- package/esm2022/columns/span-column.component.mjs +16 -0
- package/esm2022/directives.mjs +1 -1
- package/esm2022/dragging/dependency-drag-create.directive.mjs +9 -18
- package/esm2022/dragging/task-drag.directive.mjs +17 -4
- package/esm2022/editing/add-task.component.mjs +7 -7
- package/esm2022/expanded-state/expand-event.mjs +3 -2
- package/esm2022/expanded-state/expandable.directive.mjs +11 -5
- package/esm2022/gantt.component.mjs +163 -211
- package/esm2022/gantt.module.mjs +9 -20
- package/esm2022/localization/custom-messages.component.mjs +10 -2
- package/esm2022/models/dependency-type.enum.mjs +14 -2
- package/esm2022/models/events/cell-close-event.interface.mjs +9 -10
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/selection/selectable.directive.mjs +13 -5
- package/esm2022/template-directives/summary-task-template.directive.mjs +14 -23
- package/esm2022/template-directives/task-content-template.directive.mjs +3 -4
- package/esm2022/template-directives/task-template.directive.mjs +12 -21
- package/esm2022/template-directives/task-tooltip-template.directive.mjs +3 -4
- package/esm2022/timeline/timeline-day-view.component.mjs +7 -2
- package/esm2022/timeline/timeline-month-view.component.mjs +7 -2
- package/esm2022/timeline/timeline-week-view.component.mjs +7 -2
- package/esm2022/timeline/timeline-year-view.component.mjs +7 -2
- package/esm2022/timeline/view-base.mjs +10 -4
- package/esm2022/toolbar/toolbar-template.directive.mjs +13 -86
- package/esm2022/toolbar/view-selector.component.mjs +4 -4
- package/expanded-state/expand-event.d.ts +3 -2
- package/expanded-state/expandable.directive.d.ts +11 -5
- package/fesm2022/progress-kendo-angular-gantt.mjs +520 -490
- package/gantt.component.d.ts +159 -207
- package/gantt.module.d.ts +9 -20
- package/localization/custom-messages.component.d.ts +10 -2
- package/models/cell-content-type.interface.d.ts +4 -3
- package/models/class-callbacks.d.ts +20 -20
- package/models/column-menu-settings.interface.d.ts +7 -8
- package/models/column-reorder-config.d.ts +4 -1
- package/models/current-time-settings.interface.d.ts +8 -5
- package/models/dependency-type.enum.d.ts +13 -1
- package/models/events/cell-click-event.interface.d.ts +9 -9
- package/models/events/cell-close-event.interface.d.ts +9 -10
- package/models/events/column-reorder-event.interface.d.ts +1 -1
- package/models/events/column-resize-event.interface.d.ts +1 -1
- package/models/events/column-visibility-change-event.interface.d.ts +2 -2
- package/models/events/data-state-change-event.interface.d.ts +1 -1
- package/models/events/dependency-add-event.interface.d.ts +5 -5
- package/models/events/task-add-event.interface.d.ts +6 -6
- package/models/events/task-click-event.interface.d.ts +6 -6
- package/models/events/task-delete-event.interface.d.ts +4 -5
- package/models/events/task-drag-event.interface.d.ts +13 -15
- package/models/events/task-edit-event.interface.d.ts +13 -15
- package/models/gantt-dependency-model-fields.interface.d.ts +11 -10
- package/models/gantt-dependency.interface.d.ts +8 -5
- package/models/gantt-task-model-fields.interface.d.ts +22 -13
- package/models/gantt-task.interface.d.ts +11 -10
- package/models/sort-settings.d.ts +6 -6
- package/models/splitter-pane-options.interface.d.ts +8 -8
- package/models/timeline-header-date-format.d.ts +4 -3
- package/models/timeline-view.d.ts +1 -1
- package/models/toolbar-settings.d.ts +5 -6
- package/models/tooltip-options.interface.d.ts +4 -4
- package/package.json +17 -17
- package/schematics/ngAdd/index.js +7 -7
- package/scrolling/drag-scroll-settings.d.ts +4 -4
- package/selection/selectable.directive.d.ts +13 -5
- package/selection/selection-change-event.d.ts +6 -7
- package/template-directives/summary-task-template.directive.d.ts +14 -23
- package/template-directives/task-content-template.directive.d.ts +3 -4
- package/template-directives/task-template.directive.d.ts +12 -21
- package/template-directives/task-tooltip-template.directive.d.ts +3 -4
- package/timeline/timeline-day-view.component.d.ts +7 -2
- package/timeline/timeline-month-view.component.d.ts +7 -2
- package/timeline/timeline-week-view.component.d.ts +7 -2
- package/timeline/timeline-year-view.component.d.ts +7 -2
- package/timeline/view-base.d.ts +11 -5
- package/toolbar/toolbar-template.directive.d.ts +13 -86
- package/toolbar/view-selector.component.d.ts +4 -4
|
@@ -3,29 +3,30 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Represents the model fields for creating `GanttDependency` instances.
|
|
7
|
+
*
|
|
8
|
+
* All dependency fields can point to nested property values, for example, `category.id`.
|
|
7
9
|
*
|
|
8
|
-
* > All dependency fields can be set to point to nested property values - e.g. `'category.id'`.
|
|
9
10
|
*/
|
|
10
11
|
export interface GanttDependencyModelFields {
|
|
11
12
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
13
|
+
* Specifies the name of the model field for the source task ID.
|
|
14
|
+
* @default "fromId"
|
|
14
15
|
*/
|
|
15
16
|
fromId?: string;
|
|
16
17
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
18
|
+
* Specifies the name of the model field for the dependency item ID.
|
|
19
|
+
* @default "id"
|
|
19
20
|
*/
|
|
20
21
|
id?: string;
|
|
21
22
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
23
|
+
* Specifies the name of the model field for the target task ID.
|
|
24
|
+
* @default "toId"
|
|
24
25
|
*/
|
|
25
26
|
toId?: string;
|
|
26
27
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
28
|
+
* Specifies the name of the model field for the dependency type.
|
|
29
|
+
* @default "type"
|
|
29
30
|
*/
|
|
30
31
|
type?: string;
|
|
31
32
|
}
|
|
@@ -4,23 +4,26 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { DependencyType } from './dependency-type.enum';
|
|
6
6
|
/**
|
|
7
|
-
* Represents
|
|
7
|
+
* Represents a Gantt dependency.
|
|
8
|
+
*
|
|
9
|
+
* Use this interface to describe a dependency between two tasks in the Gantt chart.
|
|
10
|
+
*
|
|
8
11
|
*/
|
|
9
12
|
export interface GanttDependency {
|
|
10
13
|
/**
|
|
11
|
-
*
|
|
14
|
+
* Sets the `id` of the origin task for this dependency.
|
|
12
15
|
*/
|
|
13
16
|
fromId: string | number;
|
|
14
17
|
/**
|
|
15
|
-
*
|
|
18
|
+
* Sets the unique identifier of the dependency.
|
|
16
19
|
*/
|
|
17
20
|
id: string | number;
|
|
18
21
|
/**
|
|
19
|
-
*
|
|
22
|
+
* Sets the `id` of the destination task for this dependency.
|
|
20
23
|
*/
|
|
21
24
|
toId: string | number;
|
|
22
25
|
/**
|
|
23
|
-
*
|
|
26
|
+
* Sets the type of the dependency.
|
|
24
27
|
*/
|
|
25
28
|
type: DependencyType;
|
|
26
29
|
}
|
|
@@ -3,37 +3,46 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Defines the model fields
|
|
6
|
+
* Defines the model fields for creating `GanttTask` instances.
|
|
7
7
|
*
|
|
8
|
-
* >
|
|
8
|
+
* > You can set all task fields to use nested property values, for example, `category.id`.
|
|
9
9
|
*/
|
|
10
10
|
export interface GanttTaskModelFields {
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* Specifies the name of the end date model field.
|
|
13
|
+
* Use this property to map the end date from your data model.
|
|
14
|
+
* @default "end"
|
|
14
15
|
*/
|
|
15
16
|
end?: string;
|
|
16
17
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
18
|
+
* Specifies the name of the `ID` model field.
|
|
19
|
+
* Use this property to map the unique identifier from your data model.
|
|
20
|
+
* @default "id"
|
|
19
21
|
*/
|
|
20
22
|
id?: string;
|
|
21
23
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
+
* Specifies the name of the percent complete model field.
|
|
25
|
+
* Use this property to map the completion ratio from your data model.
|
|
26
|
+
* @default "completionRatio"
|
|
24
27
|
*/
|
|
25
28
|
completionRatio?: string;
|
|
26
29
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
30
|
+
* Specifies the name of the start date model field.
|
|
31
|
+
* Use this property to map the start date from your data model.
|
|
32
|
+
* @default "start"
|
|
29
33
|
*/
|
|
30
34
|
start?: string;
|
|
31
35
|
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
36
|
+
* Specifies the name of the title model field.
|
|
37
|
+
* This property is used as text in the task content area.
|
|
38
|
+
* @default "title"
|
|
35
39
|
*/
|
|
36
40
|
title?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the name of the children model field.
|
|
43
|
+
* Use this property to map child tasks from your data model.
|
|
44
|
+
* @default "children"
|
|
45
|
+
*/
|
|
37
46
|
children?: string;
|
|
38
47
|
}
|
|
39
48
|
/**
|
|
@@ -3,31 +3,32 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Represents
|
|
6
|
+
* Represents a Gantt task.
|
|
7
7
|
*/
|
|
8
8
|
export interface GanttTask {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* Sets the date when the Gantt task ends.
|
|
11
|
+
* Provide a valid `Date` object.
|
|
12
12
|
*/
|
|
13
13
|
end: Date;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Sets the unique identifier for the task.
|
|
16
16
|
*/
|
|
17
17
|
id: string | number;
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
*
|
|
19
|
+
* Sets the completion ratio for the task.
|
|
20
|
+
* Use a value between `0` and `1` to show the completed part of the task.
|
|
21
|
+
* @default 0
|
|
21
22
|
*/
|
|
22
23
|
completionRatio?: number;
|
|
23
24
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
25
|
+
* Sets the date when the Gantt task starts.
|
|
26
|
+
* Provide a valid `Date` object.
|
|
26
27
|
*/
|
|
27
28
|
start: Date;
|
|
28
29
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
30
|
+
* Sets the title of the task that the Gantt component displays.
|
|
31
|
+
* @default ""
|
|
31
32
|
*/
|
|
32
33
|
title?: string;
|
|
33
34
|
}
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Defines the settings for sorting
|
|
6
|
+
* Defines the settings for sorting a Gantt column.
|
|
7
7
|
*/
|
|
8
8
|
export type ColumnSortSettings = boolean | {
|
|
9
9
|
/**
|
|
10
|
-
* Enables
|
|
10
|
+
* Enables removing the column sorting.
|
|
11
11
|
*/
|
|
12
12
|
allowUnsort?: boolean;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Sets the initial sort direction from the unsorted to the sorted state.
|
|
15
15
|
*
|
|
16
|
-
* The available values
|
|
16
|
+
* The available values are:
|
|
17
17
|
* - `asc` (default)
|
|
18
18
|
* - `desc`
|
|
19
19
|
*/
|
|
@@ -24,9 +24,9 @@ export type ColumnSortSettings = boolean | {
|
|
|
24
24
|
*/
|
|
25
25
|
export type SortSettings = boolean | ColumnSortSettings & {
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Sets the sort mode of the Gantt.
|
|
28
28
|
*
|
|
29
|
-
* The available values
|
|
29
|
+
* The available values are:
|
|
30
30
|
* - `single`
|
|
31
31
|
* - `multiple`
|
|
32
32
|
*/
|
|
@@ -3,36 +3,36 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
* Represents the options for the pane
|
|
6
|
+
* Represents the options for the pane that contains the treelist section.
|
|
7
7
|
*/
|
|
8
8
|
export interface TreeListPaneOptions {
|
|
9
9
|
/**
|
|
10
|
-
* Specifies if the user
|
|
10
|
+
* Specifies if the user can hide the pane.
|
|
11
11
|
*/
|
|
12
12
|
collapsible?: boolean;
|
|
13
13
|
/**
|
|
14
|
-
* Specifies if the pane is initially
|
|
14
|
+
* Specifies if the pane is collapsed initially.
|
|
15
15
|
*/
|
|
16
16
|
collapsed?: boolean;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
|
-
* Represents the options for the pane
|
|
19
|
+
* Represents the options for the pane that contains the timeline section.
|
|
20
20
|
*/
|
|
21
21
|
export interface TimelinePaneOptions extends TreeListPaneOptions {
|
|
22
22
|
/**
|
|
23
|
-
* Sets the initial size of the pane.
|
|
23
|
+
* Sets the initial size of the pane. The value must be between the `min` and `max` properties.
|
|
24
24
|
*/
|
|
25
25
|
size?: string;
|
|
26
26
|
/**
|
|
27
|
-
* Sets the minimum
|
|
27
|
+
* Sets the minimum size of the pane.
|
|
28
28
|
*/
|
|
29
29
|
min?: string;
|
|
30
30
|
/**
|
|
31
|
-
* Sets the maximum
|
|
31
|
+
* Sets the maximum size of the pane.
|
|
32
32
|
*/
|
|
33
33
|
max?: string;
|
|
34
34
|
/**
|
|
35
|
-
* Specifies if the user
|
|
35
|
+
* Specifies if the user can resize the pane.
|
|
36
36
|
*/
|
|
37
37
|
resizable?: boolean;
|
|
38
38
|
}
|
|
@@ -4,15 +4,16 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { DateFormatOptions } from "@progress/kendo-intl";
|
|
6
6
|
/**
|
|
7
|
-
* Represents the options for formatting the
|
|
7
|
+
* Represents the options for formatting the group headers and column headers in each Timeline Header.
|
|
8
|
+
*
|
|
8
9
|
*/
|
|
9
10
|
export interface TimelineHeaderDateFormat {
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
+
* Sets the date format for the group header in the Timeline Header.
|
|
12
13
|
*/
|
|
13
14
|
groupHeaderDateFormat?: string | DateFormatOptions;
|
|
14
15
|
/**
|
|
15
|
-
*
|
|
16
|
+
* Sets the date format for the column header in the Timeline Header.
|
|
16
17
|
*/
|
|
17
18
|
columnHeaderDateFormat?: string | DateFormatOptions;
|
|
18
19
|
}
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* Lists all possible `TimelineViewType` values.
|
|
7
7
|
*/
|
|
8
8
|
export type TimelineViewType = 'day' | 'week' | 'month' | 'year';
|
|
@@ -3,26 +3,25 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
* The possible values are `'top'`, `'bottom'`, `'both'`, and `'none'`.
|
|
6
|
+
* Defines the possible positions where the Gantt toolbar or its tools render.
|
|
8
7
|
*/
|
|
9
8
|
export type ToolbarPosition = 'top' | 'bottom' | 'both' | 'none';
|
|
10
9
|
/**
|
|
11
|
-
*
|
|
10
|
+
* Configures the toolbar's position and content.
|
|
12
11
|
*/
|
|
13
12
|
export interface ToolbarSettings {
|
|
14
13
|
/**
|
|
15
|
-
*
|
|
14
|
+
* Sets the position of the toolbar(s).
|
|
16
15
|
* @default 'top'
|
|
17
16
|
*/
|
|
18
17
|
position?: ToolbarPosition;
|
|
19
18
|
/**
|
|
20
|
-
*
|
|
19
|
+
* Sets the position of the toolbar(s) where the [`AddTaskComponent`](slug:api_gantt_ganttaddtaskcomponent) renders.
|
|
21
20
|
* @default 'none'
|
|
22
21
|
*/
|
|
23
22
|
addTaskTool?: ToolbarPosition;
|
|
24
23
|
/**
|
|
25
|
-
*
|
|
24
|
+
* Sets the position of the toolbar(s) where the [`ViewSelectorComponent`](slug:api_gantt_viewselectorcomponent) renders.
|
|
26
25
|
* @default 'top'
|
|
27
26
|
*/
|
|
28
27
|
viewSelectorTool?: ToolbarPosition;
|
|
@@ -4,23 +4,23 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { Position } from '@progress/kendo-angular-tooltip';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Configures the options for the tooltip that appears when you hover over a task.
|
|
8
8
|
*/
|
|
9
9
|
export interface TaskTooltipOptions {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Sets the `position` of the Tooltip or Popover relative to the anchor element.
|
|
12
12
|
*
|
|
13
13
|
* @default 'left'
|
|
14
14
|
*/
|
|
15
15
|
position: Position;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Shows a callout arrow on the Tooltip when set to `true`.
|
|
18
18
|
*
|
|
19
19
|
* @default true
|
|
20
20
|
*/
|
|
21
21
|
callout: boolean;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Sets the delay in milliseconds before the Tooltip appears.
|
|
24
24
|
*
|
|
25
25
|
* @default 100
|
|
26
26
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-gantt",
|
|
3
|
-
"version": "19.1.2-develop.
|
|
3
|
+
"version": "19.1.2-develop.5",
|
|
4
4
|
"description": "Kendo UI Angular Gantt",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1750431176,
|
|
23
23
|
"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"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -31,25 +31,25 @@
|
|
|
31
31
|
"@angular/platform-browser": "16 - 20",
|
|
32
32
|
"@progress/kendo-data-query": "^1.5.5",
|
|
33
33
|
"@progress/kendo-licensing": "^1.5.0",
|
|
34
|
-
"@progress/kendo-angular-buttons": "19.1.2-develop.
|
|
35
|
-
"@progress/kendo-angular-common": "19.1.2-develop.
|
|
36
|
-
"@progress/kendo-angular-dialog": "19.1.2-develop.
|
|
37
|
-
"@progress/kendo-angular-dropdowns": "19.1.2-develop.
|
|
38
|
-
"@progress/kendo-angular-grid": "19.1.2-develop.
|
|
39
|
-
"@progress/kendo-angular-icons": "19.1.2-develop.
|
|
40
|
-
"@progress/kendo-angular-inputs": "19.1.2-develop.
|
|
41
|
-
"@progress/kendo-angular-intl": "19.1.2-develop.
|
|
42
|
-
"@progress/kendo-angular-l10n": "19.1.2-develop.
|
|
43
|
-
"@progress/kendo-angular-label": "19.1.2-develop.
|
|
44
|
-
"@progress/kendo-angular-layout": "19.1.2-develop.
|
|
45
|
-
"@progress/kendo-angular-popup": "19.1.2-develop.
|
|
46
|
-
"@progress/kendo-angular-tooltip": "19.1.2-develop.
|
|
47
|
-
"@progress/kendo-angular-treelist": "19.1.2-develop.
|
|
34
|
+
"@progress/kendo-angular-buttons": "19.1.2-develop.5",
|
|
35
|
+
"@progress/kendo-angular-common": "19.1.2-develop.5",
|
|
36
|
+
"@progress/kendo-angular-dialog": "19.1.2-develop.5",
|
|
37
|
+
"@progress/kendo-angular-dropdowns": "19.1.2-develop.5",
|
|
38
|
+
"@progress/kendo-angular-grid": "19.1.2-develop.5",
|
|
39
|
+
"@progress/kendo-angular-icons": "19.1.2-develop.5",
|
|
40
|
+
"@progress/kendo-angular-inputs": "19.1.2-develop.5",
|
|
41
|
+
"@progress/kendo-angular-intl": "19.1.2-develop.5",
|
|
42
|
+
"@progress/kendo-angular-l10n": "19.1.2-develop.5",
|
|
43
|
+
"@progress/kendo-angular-label": "19.1.2-develop.5",
|
|
44
|
+
"@progress/kendo-angular-layout": "19.1.2-develop.5",
|
|
45
|
+
"@progress/kendo-angular-popup": "19.1.2-develop.5",
|
|
46
|
+
"@progress/kendo-angular-tooltip": "19.1.2-develop.5",
|
|
47
|
+
"@progress/kendo-angular-treelist": "19.1.2-develop.5",
|
|
48
48
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"tslib": "^2.3.1",
|
|
52
|
-
"@progress/kendo-angular-schematics": "19.1.2-develop.
|
|
52
|
+
"@progress/kendo-angular-schematics": "19.1.2-develop.5",
|
|
53
53
|
"@progress/kendo-common": "^1.0.1",
|
|
54
54
|
"@progress/kendo-date-math": "^1.5.2",
|
|
55
55
|
"@progress/kendo-draggable": "^3.0.0"
|
|
@@ -7,16 +7,16 @@ function default_1(options) {
|
|
|
7
7
|
// See https://github.com/telerik/kendo-schematics/issues/28
|
|
8
8
|
peerDependencies: {
|
|
9
9
|
// peer deps of the treelist
|
|
10
|
-
'@progress/kendo-angular-dateinputs': '19.1.2-develop.
|
|
11
|
-
'@progress/kendo-angular-excel-export': '19.1.2-develop.
|
|
12
|
-
'@progress/kendo-angular-pdf-export': '19.1.2-develop.
|
|
13
|
-
'@progress/kendo-angular-utils': '19.1.2-develop.
|
|
10
|
+
'@progress/kendo-angular-dateinputs': '19.1.2-develop.5',
|
|
11
|
+
'@progress/kendo-angular-excel-export': '19.1.2-develop.5',
|
|
12
|
+
'@progress/kendo-angular-pdf-export': '19.1.2-develop.5',
|
|
13
|
+
'@progress/kendo-angular-utils': '19.1.2-develop.5',
|
|
14
14
|
'@progress/kendo-drawing': '^1.0.0',
|
|
15
15
|
// peer deps of the dropdowns
|
|
16
|
-
'@progress/kendo-angular-treeview': '19.1.2-develop.
|
|
17
|
-
'@progress/kendo-angular-navigation': '19.1.2-develop.
|
|
16
|
+
'@progress/kendo-angular-treeview': '19.1.2-develop.5',
|
|
17
|
+
'@progress/kendo-angular-navigation': '19.1.2-develop.5',
|
|
18
18
|
// peer dep of the layout
|
|
19
|
-
'@progress/kendo-angular-progressbar': '19.1.2-develop.
|
|
19
|
+
'@progress/kendo-angular-progressbar': '19.1.2-develop.5',
|
|
20
20
|
// peer dep of the icons
|
|
21
21
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
22
22
|
} });
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
*/
|
|
8
8
|
export interface DragScrollSettings {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Enables or disables auto-scrolling during drag editing operations.
|
|
11
11
|
*
|
|
12
12
|
* @default true
|
|
13
13
|
*/
|
|
14
14
|
enabled?: boolean;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* Sets the scrolling step in pixels.
|
|
17
17
|
*
|
|
18
18
|
* @default 3
|
|
19
19
|
*/
|
|
20
20
|
step?: number;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* Sets the scrolling interval in milliseconds.
|
|
23
23
|
*
|
|
24
24
|
* @default 1
|
|
25
25
|
*/
|
|
26
26
|
interval?: number;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Sets the threshold in pixels at each end of the scrollable container. When the pointer reaches this threshold, scrolling starts.
|
|
29
29
|
*
|
|
30
30
|
* @default 10
|
|
31
31
|
*/
|
|
@@ -6,8 +6,16 @@ import { OnDestroy, EventEmitter } from '@angular/core';
|
|
|
6
6
|
import { GanttComponent } from '../gantt.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
10
|
-
* ([
|
|
9
|
+
* Handles the [`selectionChange`]({% slug api_gantt_ganttcomponent %}#toc-selectionchange) event of the Gantt component.
|
|
10
|
+
* ([See example]({% slug selection_gantt %}#toc-built-in-directive)).
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```html
|
|
14
|
+
* <kendo-gantt kendoGanttSelectable [(selectedKeys)]="selectedKeys"></kendo-gantt>
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* Applied to: {@link GanttComponent}
|
|
11
19
|
*/
|
|
12
20
|
export declare class SelectableDirective implements OnDestroy {
|
|
13
21
|
private gantt;
|
|
@@ -20,12 +28,12 @@ export declare class SelectableDirective implements OnDestroy {
|
|
|
20
28
|
*/
|
|
21
29
|
set selectedKeys(value: any[]);
|
|
22
30
|
/**
|
|
23
|
-
*
|
|
31
|
+
* Emits when the selected keys change.
|
|
24
32
|
*/
|
|
25
33
|
selectedKeysChange: EventEmitter<any[]>;
|
|
26
34
|
/**
|
|
27
|
-
*
|
|
28
|
-
*
|
|
35
|
+
* Sets the field name or function that identifies the unique key for a data item.
|
|
36
|
+
* Uses the string field `id` by default.
|
|
29
37
|
*/
|
|
30
38
|
set itemKey(value: string | ((dataItem: any) => any));
|
|
31
39
|
private get keyGetter();
|
|
@@ -4,22 +4,21 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { GanttComponent } from '../gantt.component';
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Provides the arguments for the Gantt [`selectionChange`]({% slug api_gantt_ganttcomponent %}#toc-selectionchange) event.
|
|
8
8
|
*/
|
|
9
9
|
export interface SelectionChangeEvent {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* - `
|
|
14
|
-
* - `remove` - Only the specified `items` should be removed, all others should be left untouched.
|
|
11
|
+
* Describes how the selection was changed.
|
|
12
|
+
* - `select`—Selects all specified `items` and removes all other persisted ones.
|
|
13
|
+
* - `remove`—Removes only the specified `items` and leaves all others unchanged.
|
|
15
14
|
*/
|
|
16
15
|
action: 'select' | 'remove';
|
|
17
16
|
/**
|
|
18
|
-
*
|
|
17
|
+
* Lists the items that change.
|
|
19
18
|
*/
|
|
20
19
|
items: any[];
|
|
21
20
|
/**
|
|
22
|
-
* The Gantt component that
|
|
21
|
+
* The Gantt component that triggers the event.
|
|
23
22
|
*/
|
|
24
23
|
sender: GanttComponent;
|
|
25
24
|
}
|
|
@@ -5,32 +5,23 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* with the `kendoGanttSummaryTaskTemplate` directive inside the `<kendo-gantt>` tag.
|
|
8
|
+
* Defines a template for the entire summary task component.
|
|
9
|
+
* Place an `<ng-template>` tag with the `kendoGanttSummaryTaskTemplate` directive inside the `<kendo-gantt>` tag to set the template.
|
|
11
10
|
*
|
|
12
|
-
* The template context
|
|
13
|
-
* - `elementWidth`—The current summary task wrapper element
|
|
14
|
-
* Use
|
|
15
|
-
*
|
|
11
|
+
* The template context uses the current data item. The following field is also available:
|
|
12
|
+
* - `elementWidth`—The calculated width in pixels of the current summary task wrapper element, based on its start and end date.
|
|
13
|
+
* Use `let-elementWidth="elementWidth"` to access it in the template.
|
|
14
|
+
* This helps you render custom elements for summary task progress.
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
* </div>
|
|
27
|
-
* </ng-template>
|
|
28
|
-
* </kendo-gantt>
|
|
29
|
-
* `
|
|
30
|
-
* })
|
|
31
|
-
* class AppComponent {
|
|
32
|
-
* public data: any[] = sampleTasks;
|
|
33
|
-
* }
|
|
17
|
+
* ```html
|
|
18
|
+
* <kendo-gantt [kendoGanttHierarchyBinding]="data">
|
|
19
|
+
* <ng-template kendoGanttSummaryTaskTemplate let-dataItem let-elementWidth="elementWidth">
|
|
20
|
+
* <div [style]="'color: white; font-size: 8px;'">
|
|
21
|
+
* {{ dataItem.title }} - {{ dataItem.completionRatio * 100 }}% complete; width: {{ elementWidth }}
|
|
22
|
+
* </div>
|
|
23
|
+
* </ng-template>
|
|
24
|
+
* </kendo-gantt>
|
|
34
25
|
* ```
|
|
35
26
|
*/
|
|
36
27
|
export declare class GanttSummaryTaskTemplateDirective {
|
|
@@ -5,11 +5,10 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* with the `kendoGanttTaskContentTemplate` directive inside the `<kendo-gantt>` tag.
|
|
8
|
+
* Defines a template for the text content section of the task component.
|
|
9
|
+
* Place an `<ng-template>` tag with the `kendoGanttTaskContentTemplate` directive inside the `<kendo-gantt>` tag to set the template.
|
|
11
10
|
*
|
|
12
|
-
* The template context
|
|
11
|
+
* The template context uses the current data item.
|
|
13
12
|
*
|
|
14
13
|
* @example
|
|
15
14
|
* ```ts-preview
|
|
@@ -5,30 +5,21 @@
|
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* with the `kendoGanttTaskTemplate` directive inside the `<kendo-gantt>` tag.
|
|
8
|
+
* Defines a template for the entire task component.
|
|
9
|
+
* Place an `<ng-template>` tag with the `kendoGanttTaskTemplate` directive inside the `<kendo-gantt>` tag to set the template.
|
|
11
10
|
*
|
|
12
|
-
* The template context
|
|
13
|
-
* - `elementWidth`—The current task wrapper element
|
|
14
|
-
* Use
|
|
15
|
-
*
|
|
11
|
+
* The template context uses the current data item. The following field is also available:
|
|
12
|
+
* - `elementWidth`—The calculated width in pixels of the current task wrapper element, based on its start and end date.
|
|
13
|
+
* Use `let-elementWidth="elementWidth"` to access it in the template.
|
|
14
|
+
* This helps you render custom elements for task progress.
|
|
16
15
|
*
|
|
17
16
|
* @example
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* {{ dataItem.title }} - {{ dataItem.completionRatio * 100 }}% complete
|
|
25
|
-
* </ng-template>
|
|
26
|
-
* </kendo-gantt>
|
|
27
|
-
* `
|
|
28
|
-
* })
|
|
29
|
-
* class AppComponent {
|
|
30
|
-
* public data: any[] = sampleTasks;
|
|
31
|
-
* }
|
|
17
|
+
* ```html
|
|
18
|
+
* <kendo-gantt [kendoGanttHierarchyBinding]="data">
|
|
19
|
+
* <ng-template kendoGanttTaskTemplate let-dataItem let-elementWidth="elementWidth">
|
|
20
|
+
* {{ dataItem.title }} - {{ dataItem.completionRatio * 100 }}% complete
|
|
21
|
+
* </ng-template>
|
|
22
|
+
* </kendo-gantt>
|
|
32
23
|
* ```
|
|
33
24
|
*/
|
|
34
25
|
export declare class GanttTaskTemplateDirective {
|