@progress/kendo-react-gantt 7.1.0-develop.6 → 7.1.0-develop.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/js/kendo-react-gantt.js +1 -1
- package/editors/FormDateTimePicker.d.ts +2 -1
- package/editors/FormDropDownList.d.ts +9 -0
- package/editors/FormInput.d.ts +2 -1
- package/editors/FormNumericTextBox.d.ts +2 -1
- package/editors/GanttEditor.d.ts +14 -1
- package/editors/GanttEditorPredecessors.d.ts +25 -0
- package/editors/GanttEditorSuccessors.d.ts +25 -0
- package/editors/GanttForm.d.ts +22 -0
- package/index.d.ts +3 -1
- package/index.js +1 -1
- package/index.mjs +2080 -1576
- package/interfaces/DependencyType.d.ts +19 -0
- package/interfaces/GanttDependency.d.ts +30 -0
- package/interfaces/GanttProps.d.ts +2 -1
- package/interfaces/GanttTaskModelFields.d.ts +5 -0
- package/interfaces/TaskModelFields.d.ts +1 -0
- package/messages/index.d.ts +53 -0
- package/package.json +12 -12
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* The dependency type when two tasks are connected.
|
|
7
|
+
*
|
|
8
|
+
* The supported values are:
|
|
9
|
+
* * `FF`—from 'finish' to 'finish'
|
|
10
|
+
* * `FS`—from 'finish' to 'start'
|
|
11
|
+
* * `SS`—from 'start' to 'start'
|
|
12
|
+
* * `SF`—from 'start' to 'finish'
|
|
13
|
+
*/
|
|
14
|
+
export declare enum DependencyType {
|
|
15
|
+
FF = 0,
|
|
16
|
+
FS = 1,
|
|
17
|
+
SF = 2,
|
|
18
|
+
SS = 3
|
|
19
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { DependencyType } from './DependencyType';
|
|
6
|
+
/**
|
|
7
|
+
* Represents an instance of a Gantt dependency.
|
|
8
|
+
*/
|
|
9
|
+
export interface GanttDependency {
|
|
10
|
+
/**
|
|
11
|
+
* The `id` of the origin task of this dependency.
|
|
12
|
+
*/
|
|
13
|
+
fromId: string | number;
|
|
14
|
+
/**
|
|
15
|
+
* The unique identifier of the dependency.
|
|
16
|
+
*/
|
|
17
|
+
id: string | number;
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
*/
|
|
21
|
+
uid?: string | number;
|
|
22
|
+
/**
|
|
23
|
+
* The `id` of the destination task of this dependency.
|
|
24
|
+
*/
|
|
25
|
+
toId: string | number;
|
|
26
|
+
/**
|
|
27
|
+
* The type of the dependency.
|
|
28
|
+
*/
|
|
29
|
+
type: DependencyType;
|
|
30
|
+
}
|
|
@@ -8,6 +8,7 @@ import { GanttDependencyModelFields } from './GanttDependencyModelFields';
|
|
|
8
8
|
import { GanttView } from './GanttView';
|
|
9
9
|
import { GanttViewChangeEvent, GanttDataStateChangeEvent, GanttSortChangeEvent, GanttFilterChangeEvent, GanttExpandChangeEvent, GanttRowClickEvent, GanttColumnResizeEvent, GanttColumnReorderEvent, GanttColumnMenuFilterChangeEvent, GanttAddClickEvent, GanttTaskContextMenuEvent, GanttTaskClickEvent, GanttTaskDoubleClickEvent, GanttRowDoubleClickEvent, GanttRowContextMenuEvent, GanttTaskRemoveClickEvent, GanttDependencyCreateEvent, GanttKeyDownEvent, GanttSelectionChangeEvent, GanttHeaderSelectionChangeEvent } from './events';
|
|
10
10
|
import { DataItem } from './DataItem';
|
|
11
|
+
import { GanttDependency } from './GanttDependency';
|
|
11
12
|
/**
|
|
12
13
|
* Represents the props of the [KendoReact Gantt component]({% slug overview_gantt %}).
|
|
13
14
|
*/
|
|
@@ -27,7 +28,7 @@ export interface GanttProps extends GanttBaseProps {
|
|
|
27
28
|
/**
|
|
28
29
|
* Sets the dependency data of the Gantt component. The data is then parsed and rendered as a visual connections between Gantt tasks.
|
|
29
30
|
*/
|
|
30
|
-
dependencyData?:
|
|
31
|
+
dependencyData?: GanttDependency[];
|
|
31
32
|
/**
|
|
32
33
|
* The names of the model fields from which the Gantt will read its task data.
|
|
33
34
|
*/
|
|
@@ -31,6 +31,11 @@ export interface GanttTaskModelFields {
|
|
|
31
31
|
* Defaults to `"percentComplete"`.
|
|
32
32
|
*/
|
|
33
33
|
percentComplete?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The name of the percent complete model field.
|
|
36
|
+
* Defaults to `"parentId"`.
|
|
37
|
+
*/
|
|
38
|
+
parentId?: string;
|
|
34
39
|
/**
|
|
35
40
|
* The name of the is rollup model field.
|
|
36
41
|
* Defaults to `"isRollup"`.
|
package/messages/index.d.ts
CHANGED
|
@@ -61,6 +61,16 @@ export declare const editorSave = "gantt.editSave";
|
|
|
61
61
|
/** @hidden */
|
|
62
62
|
export declare const editorCancel = "gantt.editCancel";
|
|
63
63
|
/** @hidden */
|
|
64
|
+
export declare const editorAdd = "gantt.editAdd";
|
|
65
|
+
/** @hidden */
|
|
66
|
+
export declare const editorRemove = "gantt.editRemove";
|
|
67
|
+
/** @hidden */
|
|
68
|
+
export declare const editorTabGeneral = "gantt.editTabGeneral";
|
|
69
|
+
/** @hidden */
|
|
70
|
+
export declare const editorTabPredecessors = "gantt.editTabPredecessors";
|
|
71
|
+
/** @hidden */
|
|
72
|
+
export declare const editorTabSuccessors = "gantt.editTabSuccessors";
|
|
73
|
+
/** @hidden */
|
|
64
74
|
export declare const editorTitle = "gantt.editorTitle";
|
|
65
75
|
/** @hidden */
|
|
66
76
|
export declare const editorTaskTitle = "gantt.editorTaskTitle";
|
|
@@ -69,14 +79,33 @@ export declare const editorTaskStart = "gantt.editorTaskStart";
|
|
|
69
79
|
/** @hidden */
|
|
70
80
|
export declare const editorTaskEnd = "gantt.editorTaskEnd";
|
|
71
81
|
/** @hidden */
|
|
82
|
+
export declare const editorTaskPlannedStart = "gantt.editorTaskPlannedStart";
|
|
83
|
+
/** @hidden */
|
|
84
|
+
export declare const editorTaskPlannedEnd = "gantt.editorTaskPlannedEnd";
|
|
85
|
+
/** @hidden */
|
|
86
|
+
export declare const editorTaskActualStart = "gantt.editorTaskActualStart";
|
|
87
|
+
/** @hidden */
|
|
88
|
+
export declare const editorTaskActualEnd = "gantt.editorTaskActualEnd";
|
|
89
|
+
/** @hidden */
|
|
72
90
|
export declare const editorTaskComplete = "gantt.editorTaskComplete";
|
|
73
91
|
/** @hidden */
|
|
92
|
+
export declare const editorTaskParent = "gantt.editorTaskParent";
|
|
93
|
+
/** @hidden */
|
|
74
94
|
export declare const editorValidationRequired = "gantt.editorValidationRequired";
|
|
75
95
|
/** @hidden */
|
|
76
96
|
export declare const editorValidationStart = "gantt.editorValidationStart";
|
|
77
97
|
/** @hidden */
|
|
78
98
|
export declare const editorValidationEnd = "gantt.editorValidationEnd";
|
|
79
99
|
/** @hidden */
|
|
100
|
+
export declare const editorValidationPercentCompleteRange = "gantt.editorValidationPercentCompleteRange";
|
|
101
|
+
export declare const editorDependencyTypesFF = "gantt.editorDependencyTypesFF";
|
|
102
|
+
/** @hidden */
|
|
103
|
+
export declare const editorDependencyTypesSF = "gantt.editorDependencyTypesSF";
|
|
104
|
+
/** @hidden */
|
|
105
|
+
export declare const editorDependencyTypesFS = "gantt.editorDependencyTypesFS";
|
|
106
|
+
/** @hidden */
|
|
107
|
+
export declare const editorDependencyTypesSS = "gantt.editorDependencyTypesSS";
|
|
108
|
+
/** @hidden */
|
|
80
109
|
export declare const addTask = "gantt.addTask";
|
|
81
110
|
/** @hidden */
|
|
82
111
|
export declare const addChild = "gantt.addChild";
|
|
@@ -85,11 +114,17 @@ export declare const addAbove = "gantt.addAbove";
|
|
|
85
114
|
/** @hidden */
|
|
86
115
|
export declare const addBelow = "gantt.addBelow";
|
|
87
116
|
/** @hidden */
|
|
117
|
+
export declare const viewSelector = "gantt.viewSelector";
|
|
118
|
+
/** @hidden */
|
|
88
119
|
export declare const editorDelete = "gantt.editorDelete";
|
|
89
120
|
/** @hidden */
|
|
90
121
|
export declare const deleteConfirmation = "gantt.deleteConfirmation";
|
|
91
122
|
/** @hidden */
|
|
92
123
|
export declare const deleteDialogTitle = "gantt.deleteDialogTitle";
|
|
124
|
+
/** @hidden */
|
|
125
|
+
export declare const editorDependencyNameLabel = "gantt.editorDependencyNameLabel";
|
|
126
|
+
/** @hidden */
|
|
127
|
+
export declare const editorDependencyTypeLabel = "gantt.editorDependencyTypeLabel";
|
|
93
128
|
/**
|
|
94
129
|
* @hidden
|
|
95
130
|
*/
|
|
@@ -123,19 +158,37 @@ export declare const messages: {
|
|
|
123
158
|
"gantt.noRecords": string;
|
|
124
159
|
"gantt.editSave": string;
|
|
125
160
|
"gantt.editCancel": string;
|
|
161
|
+
"gantt.editAdd": string;
|
|
162
|
+
"gantt.editRemove": string;
|
|
163
|
+
"gantt.editTabGeneral": string;
|
|
164
|
+
"gantt.editTabPredecessors": string;
|
|
165
|
+
"gantt.editTabSuccessors": string;
|
|
126
166
|
"gantt.editorTitle": string;
|
|
127
167
|
"gantt.editorTaskTitle": string;
|
|
128
168
|
"gantt.editorTaskStart": string;
|
|
129
169
|
"gantt.editorTaskEnd": string;
|
|
170
|
+
"gantt.editorTaskPlannedStart": string;
|
|
171
|
+
"gantt.editorTaskPlannedEnd": string;
|
|
172
|
+
"gantt.editorTaskActualStart": string;
|
|
173
|
+
"gantt.editorTaskActualEnd": string;
|
|
130
174
|
"gantt.editorTaskComplete": string;
|
|
175
|
+
"gantt.editorTaskParent": string;
|
|
131
176
|
"gantt.editorValidationRequired": string;
|
|
132
177
|
"gantt.editorValidationStart": string;
|
|
133
178
|
"gantt.editorValidationEnd": string;
|
|
179
|
+
"gantt.editorValidationPercentCompleteRange": string;
|
|
180
|
+
"gantt.editorDependencyTypesFF": string;
|
|
181
|
+
"gantt.editorDependencyTypesFS": string;
|
|
182
|
+
"gantt.editorDependencyTypesSF": string;
|
|
183
|
+
"gantt.editorDependencyTypesSS": string;
|
|
134
184
|
"gantt.addTask": string;
|
|
135
185
|
"gantt.addChild": string;
|
|
136
186
|
"gantt.addAbove": string;
|
|
137
187
|
"gantt.addBelow": string;
|
|
188
|
+
"gantt.viewSelector": string;
|
|
138
189
|
"gantt.editorDelete": string;
|
|
139
190
|
"gantt.deleteConfirmation": string;
|
|
140
191
|
"gantt.deleteDialogTitle": string;
|
|
192
|
+
"gantt.editorDependencyNameLabel": string;
|
|
193
|
+
"gantt.editorDependencyTypeLabel": string;
|
|
141
194
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-react-gantt",
|
|
3
|
-
"version": "7.1.0-develop.
|
|
3
|
+
"version": "7.1.0-develop.8",
|
|
4
4
|
"description": "React Gantt enables the display of self-referencing tabular data with many features. KendoReact Gantt package",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
"@progress/kendo-date-math": "^1.4.1",
|
|
27
27
|
"@progress/kendo-drawing": "^1.19.0",
|
|
28
28
|
"@progress/kendo-licensing": "^1.3.4",
|
|
29
|
-
"@progress/kendo-react-buttons": "7.1.0-develop.
|
|
30
|
-
"@progress/kendo-react-common": "7.1.0-develop.
|
|
31
|
-
"@progress/kendo-react-data-tools": "7.1.0-develop.
|
|
32
|
-
"@progress/kendo-react-dateinputs": "7.1.0-develop.
|
|
33
|
-
"@progress/kendo-react-dialogs": "7.1.0-develop.
|
|
34
|
-
"@progress/kendo-react-dropdowns": "7.1.0-develop.
|
|
35
|
-
"@progress/kendo-react-form": "7.1.0-develop.
|
|
36
|
-
"@progress/kendo-react-inputs": "7.1.0-develop.
|
|
37
|
-
"@progress/kendo-react-intl": "7.1.0-develop.
|
|
38
|
-
"@progress/kendo-react-labels": "7.1.0-develop.
|
|
39
|
-
"@progress/kendo-react-treelist": "7.1.0-develop.
|
|
29
|
+
"@progress/kendo-react-buttons": "7.1.0-develop.8",
|
|
30
|
+
"@progress/kendo-react-common": "7.1.0-develop.8",
|
|
31
|
+
"@progress/kendo-react-data-tools": "7.1.0-develop.8",
|
|
32
|
+
"@progress/kendo-react-dateinputs": "7.1.0-develop.8",
|
|
33
|
+
"@progress/kendo-react-dialogs": "7.1.0-develop.8",
|
|
34
|
+
"@progress/kendo-react-dropdowns": "7.1.0-develop.8",
|
|
35
|
+
"@progress/kendo-react-form": "7.1.0-develop.8",
|
|
36
|
+
"@progress/kendo-react-inputs": "7.1.0-develop.8",
|
|
37
|
+
"@progress/kendo-react-intl": "7.1.0-develop.8",
|
|
38
|
+
"@progress/kendo-react-labels": "7.1.0-develop.8",
|
|
39
|
+
"@progress/kendo-react-treelist": "7.1.0-develop.8",
|
|
40
40
|
"@progress/kendo-svg-icons": "^2.1.0",
|
|
41
41
|
"react": "^16.8.2 || ^17.0.0 || ^18.0.0",
|
|
42
42
|
"react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
|