@syncfusion/ej2-gantt 21.2.9 → 22.1.34
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/.eslintrc.json +1 -0
- package/CHANGELOG.md +23 -0
- package/dist/ej2-gantt.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +751 -715
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +790 -755
- package/dist/es6/ej2-gantt.es5.js.map +1 -1
- package/dist/global/ej2-gantt.min.js +2 -2
- package/dist/global/ej2-gantt.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +19 -18
- package/src/gantt/actions/connector-line-edit.js +21 -26
- package/src/gantt/actions/context-menu.js +2 -2
- package/src/gantt/actions/critical-path.js +4 -9
- package/src/gantt/actions/day-markers.js +4 -1
- package/src/gantt/actions/edit.js +9 -6
- package/src/gantt/actions/pdf-export.js +1 -1
- package/src/gantt/actions/taskbar-edit.d.ts +6 -0
- package/src/gantt/actions/taskbar-edit.js +120 -45
- package/src/gantt/base/css-constants.d.ts +5 -10
- package/src/gantt/base/css-constants.js +5 -10
- package/src/gantt/base/date-processor.js +10 -20
- package/src/gantt/base/enum.d.ts +215 -231
- package/src/gantt/base/gantt-chart.js +112 -5
- package/src/gantt/base/gantt-model.d.ts +6 -3
- package/src/gantt/base/gantt.d.ts +7 -3
- package/src/gantt/base/gantt.js +17 -13
- package/src/gantt/base/interface.d.ts +36 -1
- package/src/gantt/base/task-processor.js +21 -18
- package/src/gantt/base/tree-grid.js +1 -1
- package/src/gantt/export/export-helper.js +1 -0
- package/src/gantt/export/pdf-connector-line.d.ts +4 -4
- package/src/gantt/export/pdf-connector-line.js +11 -22
- package/src/gantt/export/pdf-gantt.d.ts +1 -2
- package/src/gantt/export/pdf-gantt.js +4 -4
- package/src/gantt/models/column.d.ts +8 -4
- package/src/gantt/models/edit-settings-model.d.ts +1 -0
- package/src/gantt/models/edit-settings.d.ts +1 -0
- package/src/gantt/models/filter-settings-model.d.ts +3 -0
- package/src/gantt/models/filter-settings.d.ts +3 -0
- package/src/gantt/models/search-settings-model.d.ts +1 -0
- package/src/gantt/models/search-settings.d.ts +1 -0
- package/src/gantt/models/sort-settings-model.d.ts +1 -0
- package/src/gantt/models/sort-settings.d.ts +1 -0
- package/src/gantt/models/tooltip-settings-model.d.ts +8 -4
- package/src/gantt/models/tooltip-settings.d.ts +8 -4
- package/src/gantt/renderer/chart-rows.d.ts +1 -1
- package/src/gantt/renderer/chart-rows.js +27 -65
- package/src/gantt/renderer/connector-line.d.ts +23 -0
- package/src/gantt/renderer/connector-line.js +287 -384
- package/src/gantt/renderer/edit-tooltip.js +4 -4
- package/src/gantt/renderer/nonworking-day.js +2 -2
- package/src/gantt/renderer/tooltip.d.ts +3 -3
- package/src/gantt/renderer/tooltip.js +103 -76
- package/styles/bootstrap-dark.css +27 -47
- package/styles/bootstrap.css +29 -49
- package/styles/bootstrap4.css +29 -49
- package/styles/bootstrap5-dark.css +27 -47
- package/styles/bootstrap5.css +27 -47
- package/styles/fabric-dark.css +27 -47
- package/styles/fabric.css +27 -47
- package/styles/fluent-dark.css +28 -47
- package/styles/fluent.css +28 -47
- package/styles/gantt/_layout.scss +53 -7
- package/styles/gantt/_material3-dark-definition.scss +1 -0
- package/styles/gantt/_material3-definition.scss +220 -0
- package/styles/gantt/_theme.scss +53 -53
- package/styles/gantt/bootstrap-dark.css +27 -47
- package/styles/gantt/bootstrap.css +29 -49
- package/styles/gantt/bootstrap4.css +29 -49
- package/styles/gantt/bootstrap5-dark.css +27 -47
- package/styles/gantt/bootstrap5.css +27 -47
- package/styles/gantt/fabric-dark.css +27 -47
- package/styles/gantt/fabric.css +27 -47
- package/styles/gantt/fluent-dark.css +28 -47
- package/styles/gantt/fluent.css +28 -47
- package/styles/gantt/highcontrast-light.css +27 -47
- package/styles/gantt/highcontrast.css +27 -47
- package/styles/gantt/icons/_material3-dark.scss +1 -0
- package/styles/gantt/material-dark.css +27 -47
- package/styles/gantt/material.css +27 -47
- package/styles/gantt/material3-dark.css +2184 -0
- package/styles/gantt/material3-dark.scss +23 -0
- package/styles/gantt/material3.css +2240 -0
- package/styles/gantt/material3.scss +23 -0
- package/styles/gantt/tailwind-dark.css +27 -47
- package/styles/gantt/tailwind.css +27 -47
- package/styles/highcontrast-light.css +27 -47
- package/styles/highcontrast.css +27 -47
- package/styles/material-dark.css +27 -47
- package/styles/material.css +27 -47
- package/styles/material3-dark.css +2184 -0
- package/styles/material3-dark.scss +3 -0
- package/styles/material3.css +2240 -0
- package/styles/material3.scss +3 -0
- package/styles/tailwind-dark.css +27 -47
- package/styles/tailwind.css +27 -47
package/src/gantt/base/enum.d.ts
CHANGED
|
@@ -1,292 +1,281 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* To define duration unit for whole project
|
|
3
|
+
* ```props
|
|
4
|
+
* * Minute :- To define unit value of duration as minute.
|
|
5
|
+
* * Hour :- To define unit value of duration as hour.
|
|
6
|
+
* * Day :- To define unit value of duration as day.
|
|
7
|
+
* ```
|
|
3
8
|
*/
|
|
4
|
-
export declare type DurationUnit =
|
|
5
|
-
/** To define unit value of duration as minute */
|
|
6
|
-
'Minute' |
|
|
7
|
-
/** To define unit value of duration as hour */
|
|
8
|
-
'Hour' |
|
|
9
|
-
/** To define unit value of duration as day */
|
|
10
|
-
'Day';
|
|
9
|
+
export declare type DurationUnit = 'Minute' | 'Hour' | 'Day';
|
|
11
10
|
/**
|
|
12
11
|
* To define grid lines in Gantt
|
|
12
|
+
* ```props
|
|
13
|
+
* * Horizontal :- Define horizontal lines.
|
|
14
|
+
* * Vertical :- Define vertical lines.
|
|
15
|
+
* * Both :- Define both horizontal and vertical lines.
|
|
16
|
+
* * None :- Define no lines.
|
|
17
|
+
* ```
|
|
13
18
|
*/
|
|
14
|
-
export declare type GridLine =
|
|
15
|
-
/** Define horizontal lines */
|
|
16
|
-
'Horizontal' |
|
|
17
|
-
/** Define vertical lines */
|
|
18
|
-
'Vertical' |
|
|
19
|
-
/** Define both horizontal and vertical lines */
|
|
20
|
-
'Both' |
|
|
21
|
-
/** Define no lines */
|
|
22
|
-
'None';
|
|
19
|
+
export declare type GridLine = 'Horizontal' | 'Vertical' | 'Both' | 'None';
|
|
23
20
|
/**
|
|
24
21
|
* To define toolbar items in Gantt
|
|
22
|
+
* ```props
|
|
23
|
+
* * Add :- Add new record.
|
|
24
|
+
* * Delete :- Delete selected record.
|
|
25
|
+
* * Update :- Update edited record.
|
|
26
|
+
* * Cancel :- Cancel the edited state.
|
|
27
|
+
* * Edit :- Edit the selected record.
|
|
28
|
+
* * Search :- Searches the grid records by given key.
|
|
29
|
+
* * ExpandAll :- Expand all the parents.
|
|
30
|
+
* * CollapseAll :- Collapse all the parents.
|
|
31
|
+
* * PrevTimeSpan :- Move HScroll to prevTimeSpan.
|
|
32
|
+
* * NextTimeSpan :- Move HScroll to nextTimeSpan.
|
|
33
|
+
* * ZoomIn :- To perform Zoom in action on Gantt timeline.
|
|
34
|
+
* * ZoomOut :- To perform zoom out action on Gantt timeline.
|
|
35
|
+
* * ZoomToFit :- To show all project task in available chart width.
|
|
36
|
+
* * ExcelExport :- To export Gantt in excel sheet.
|
|
37
|
+
* * CsvExport :- To export Gantt in CSV.
|
|
38
|
+
* * PdfExport :- To export Gantt in PDF.
|
|
39
|
+
* * Indent :- To indent a selected record.
|
|
40
|
+
* * Outdent :- To outdent a selected record.
|
|
41
|
+
* * CriticalPath :- To enable critical path.
|
|
42
|
+
* ```
|
|
25
43
|
*/
|
|
26
|
-
export declare type ToolbarItem =
|
|
27
|
-
/** Add new record */
|
|
28
|
-
'Add' |
|
|
29
|
-
/** Delete selected record */
|
|
30
|
-
'Delete' |
|
|
31
|
-
/** Update edited record */
|
|
32
|
-
'Update' |
|
|
33
|
-
/** Cancel the edited state */
|
|
34
|
-
'Cancel' |
|
|
35
|
-
/** Edit the selected record */
|
|
36
|
-
'Edit' |
|
|
37
|
-
/** Searches the grid records by given key */
|
|
38
|
-
'Search' |
|
|
39
|
-
/** Expand all the parents */
|
|
40
|
-
'ExpandAll' |
|
|
41
|
-
/** Collapse all the parents */
|
|
42
|
-
'CollapseAll' |
|
|
43
|
-
/** Move HScroll to PrevTimeSpan */
|
|
44
|
-
'PrevTimeSpan' |
|
|
45
|
-
/** Move HScroll to nextTimeSpan */
|
|
46
|
-
'NextTimeSpan' |
|
|
47
|
-
/** To perform Zoom in action on Gantt timeline */
|
|
48
|
-
'ZoomIn' |
|
|
49
|
-
/** To perform zoom out action on Gantt timeline */
|
|
50
|
-
'ZoomOut' |
|
|
51
|
-
/** To show all project task in available chart width */
|
|
52
|
-
'ZoomToFit' |
|
|
53
|
-
/** To export Gantt in excel sheet */
|
|
54
|
-
'ExcelExport' |
|
|
55
|
-
/** To export Gantt in CSV */
|
|
56
|
-
'CsvExport' |
|
|
57
|
-
/** To export Gantt in PDF */
|
|
58
|
-
'PdfExport' |
|
|
59
|
-
/** To indent a selected record */
|
|
60
|
-
'Indent' |
|
|
61
|
-
/** To outdent a selected record */
|
|
62
|
-
'Outdent' |
|
|
63
|
-
/** To enable critical path */
|
|
64
|
-
'CriticalPath';
|
|
44
|
+
export declare type ToolbarItem = 'Add' | 'Delete' | 'Update' | 'Cancel' | 'Edit' | 'Search' | 'ExpandAll' | 'CollapseAll' | 'PrevTimeSpan' | 'NextTimeSpan' | 'ZoomIn' | 'ZoomOut' | 'ZoomToFit' | 'ExcelExport' | 'CsvExport' | 'PdfExport' | 'Indent' | 'Outdent' | 'CriticalPath';
|
|
65
45
|
/**
|
|
66
46
|
* Defines the schedule header mode. They are
|
|
67
|
-
*
|
|
68
|
-
* *
|
|
69
|
-
* *
|
|
70
|
-
* *
|
|
71
|
-
* *
|
|
47
|
+
* ```props
|
|
48
|
+
* * None :- Define the default mode header.
|
|
49
|
+
* * Week :- Define the week mode header.
|
|
50
|
+
* * Day :- Define the day mode header.
|
|
51
|
+
* * Hour :- Define the hour mode header.
|
|
52
|
+
* * Month :- Define the month mode header.
|
|
53
|
+
* * Year :- Define the year mode header.
|
|
54
|
+
* * Minutes :- Define the minutes mode header.
|
|
55
|
+
* ```
|
|
72
56
|
*/
|
|
73
|
-
export declare type TimelineViewMode =
|
|
74
|
-
/** Default. */
|
|
75
|
-
'None' |
|
|
76
|
-
/** Define the week mode header. */
|
|
77
|
-
'Week' |
|
|
78
|
-
/** Define the day mode header. */
|
|
79
|
-
'Day' |
|
|
80
|
-
/** Define the hour mode header. */
|
|
81
|
-
'Hour' |
|
|
82
|
-
/** Define the month mode header. */
|
|
83
|
-
'Month' |
|
|
84
|
-
/** Define the year mode header. */
|
|
85
|
-
'Year' |
|
|
86
|
-
/** Define the minutes mode header. */
|
|
87
|
-
'Minutes';
|
|
57
|
+
export declare type TimelineViewMode = 'None' | 'Week' | 'Day' | 'Hour' | 'Month' | 'Year' | 'Minutes';
|
|
88
58
|
/**
|
|
89
59
|
* Defines modes of editing.
|
|
90
|
-
*
|
|
91
|
-
* *
|
|
60
|
+
* ```props
|
|
61
|
+
* * Auto :- Defines Cell editing in TreeGrid and dialog in chart side.
|
|
62
|
+
* * Dialog :- Defines EditMode as Dialog.
|
|
63
|
+
* ```
|
|
92
64
|
*/
|
|
93
|
-
export declare type EditMode =
|
|
94
|
-
/** Defines Cell editing in TreeGrid and dialog in chart side */
|
|
95
|
-
'Auto' |
|
|
96
|
-
/** Defines EditMode as Dialog */
|
|
97
|
-
'Dialog';
|
|
65
|
+
export declare type EditMode = 'Auto' | 'Dialog';
|
|
98
66
|
/**
|
|
99
67
|
* Defines the default items of Column menu
|
|
68
|
+
* ```props
|
|
69
|
+
* * SortAscending :- Sort the current column in ascending order.
|
|
70
|
+
* * SortDescending :- Sort the current column in descending order.
|
|
71
|
+
* * ColumnChooser :- show the column chooser.
|
|
72
|
+
* * Filter :- show the Filter popup.
|
|
73
|
+
* ```
|
|
100
74
|
*/
|
|
101
|
-
export declare type ColumnMenuItem =
|
|
102
|
-
/** Sort the current column in ascending order */
|
|
103
|
-
'SortAscending' |
|
|
104
|
-
/** Sort the current column in descending order */
|
|
105
|
-
'SortDescending' |
|
|
106
|
-
/** show the column chooser */
|
|
107
|
-
'ColumnChooser' |
|
|
108
|
-
/** show the Filter popup */
|
|
109
|
-
'Filter';
|
|
75
|
+
export declare type ColumnMenuItem = 'SortAscending' | 'SortDescending' | 'ColumnChooser' | 'Filter';
|
|
110
76
|
/**
|
|
111
77
|
* Defines tab container type in add or edit dialog
|
|
78
|
+
* ```props
|
|
79
|
+
* * General :- Defines tab container type as general.
|
|
80
|
+
* * Dependency :- Defines tab as dependency editor.
|
|
81
|
+
* * Resources :- Defines tab as resources editor.
|
|
82
|
+
* * Notes :- Defines tab as notes editor.
|
|
83
|
+
* * Custom :- Defines tab as custom column editor.
|
|
84
|
+
* * Segments :- Defines tab as task segments editor.
|
|
85
|
+
* ```
|
|
112
86
|
*/
|
|
113
|
-
export declare type DialogFieldType =
|
|
114
|
-
/** Defines tab container type as general */
|
|
115
|
-
'General' |
|
|
116
|
-
/** Defines tab as dependency editor */
|
|
117
|
-
'Dependency' |
|
|
118
|
-
/** Defines tab as resources editor */
|
|
119
|
-
'Resources' |
|
|
120
|
-
/** Defines tab as notes editor */
|
|
121
|
-
'Notes' |
|
|
122
|
-
/** Defines tab as custom column editor */
|
|
123
|
-
'Custom' |
|
|
124
|
-
/** Defines tab as task segments editor */
|
|
125
|
-
'Segments';
|
|
87
|
+
export declare type DialogFieldType = 'General' | 'Dependency' | 'Resources' | 'Notes' | 'Custom' | 'Segments';
|
|
126
88
|
/**
|
|
127
89
|
* Defines filter type of Gantt
|
|
90
|
+
* ```props
|
|
91
|
+
* * Menu :- Defines filter type as menu.
|
|
92
|
+
* * Excel :- Specifies the filtersetting type as excel.
|
|
93
|
+
* ```
|
|
128
94
|
*/
|
|
129
|
-
export declare type FilterType =
|
|
130
|
-
/** Defines filter type as menu */
|
|
131
|
-
'Menu' |
|
|
132
|
-
/** Specifies the filtersetting type as excel */
|
|
133
|
-
'Excel';
|
|
95
|
+
export declare type FilterType = 'Menu' | 'Excel';
|
|
134
96
|
/**
|
|
135
97
|
* To define hierarchy mode on filter action
|
|
98
|
+
* ```props
|
|
99
|
+
* * Parent :- Shows the filtered record with parent record.
|
|
100
|
+
* * Child :- Shows the filtered record with child record.
|
|
101
|
+
* * Both :- Shows the filtered record with both parent and child record.
|
|
102
|
+
* * None :- Shows only filtered record.
|
|
103
|
+
* ```
|
|
136
104
|
*/
|
|
137
|
-
export declare type FilterHierarchyMode =
|
|
138
|
-
/** Shows the filtered record with parent record */
|
|
139
|
-
'Parent' |
|
|
140
|
-
/** Shows the filtered record with child record */
|
|
141
|
-
'Child' |
|
|
142
|
-
/** Shows the filtered record with both parent and child record */
|
|
143
|
-
'Both' |
|
|
144
|
-
/** Shows only filtered record */
|
|
145
|
-
'None';
|
|
105
|
+
export declare type FilterHierarchyMode = 'Parent' | 'Child' | 'Both' | 'None';
|
|
146
106
|
/**
|
|
147
107
|
* To define hierarchy mode on search action
|
|
108
|
+
* ```props
|
|
109
|
+
* * Parent :- Shows the filtered record with parent record.
|
|
110
|
+
* * Child :- Shows the filtered record with child record.
|
|
111
|
+
* * Both :- Shows the filtered record with both parent and child record.
|
|
112
|
+
* * None :- Shows only filtered record.
|
|
113
|
+
* ```
|
|
148
114
|
*/
|
|
149
|
-
export declare type SearchHierarchyMode =
|
|
150
|
-
/** Shows the filtered record with parent record */
|
|
151
|
-
'Parent' |
|
|
152
|
-
/** Shows the filtered record with child record */
|
|
153
|
-
'Child' |
|
|
154
|
-
/** Shows the filtered record with both parent and child record */
|
|
155
|
-
'Both' |
|
|
156
|
-
/** Shows only filtered record */
|
|
157
|
-
'None';
|
|
115
|
+
export declare type SearchHierarchyMode = 'Parent' | 'Child' | 'Both' | 'None';
|
|
158
116
|
/**
|
|
159
117
|
* To define initial view of Gantt
|
|
118
|
+
* ```props
|
|
119
|
+
* * Default :- Shows grid side and side of Gantt.
|
|
120
|
+
* * Grid :- Shows grid side alone in Gantt.
|
|
121
|
+
* * Chart :- Shows chart side alone in Gantt.
|
|
122
|
+
* ```
|
|
160
123
|
*/
|
|
161
|
-
export declare type SplitterView =
|
|
162
|
-
/** Shows grid side and side of Gantt */
|
|
163
|
-
'Default' |
|
|
164
|
-
/** Shows grid side alone in Gantt */
|
|
165
|
-
'Grid' |
|
|
166
|
-
/** Shows chart side alone in Gantt */
|
|
167
|
-
'Chart';
|
|
124
|
+
export declare type SplitterView = 'Default' | 'Grid' | 'Chart';
|
|
168
125
|
/**
|
|
169
126
|
* To define new position for add action
|
|
127
|
+
* ```props
|
|
128
|
+
* * Top :- Defines new row position as top of all rows.
|
|
129
|
+
* * Bottom :- Defines new row position as bottom of all rows.
|
|
130
|
+
* * Above :- Defines new row position as above the selected row.
|
|
131
|
+
* * Below :- Defines new row position as below the selected row.
|
|
132
|
+
* * Child :- Defines new row position as child to the selected row.
|
|
133
|
+
* ```
|
|
170
134
|
*/
|
|
171
|
-
export declare type RowPosition =
|
|
172
|
-
/** Defines new row position as bottom of all rows */
|
|
173
|
-
'Bottom' |
|
|
174
|
-
/** Defines new row position as above the selected row */
|
|
175
|
-
'Above' |
|
|
176
|
-
/** Defines new row position as below the selected row */
|
|
177
|
-
'Below' |
|
|
178
|
-
/** Defines new row position as child to the selected row */
|
|
179
|
-
'Child';
|
|
135
|
+
export declare type RowPosition = 'Top' | 'Bottom' | 'Above' | 'Below' | 'Child';
|
|
180
136
|
/**
|
|
181
137
|
* Defines directions of Sorting. They are
|
|
182
|
-
*
|
|
183
|
-
* *
|
|
138
|
+
* ```props
|
|
139
|
+
* * Ascending :- Defines SortDirection as Ascending.
|
|
140
|
+
* * Descending :- Defines SortDirection as Descending.
|
|
141
|
+
* ```
|
|
184
142
|
*/
|
|
185
|
-
export declare type SortDirection =
|
|
186
|
-
/** Defines SortDirection as Ascending */
|
|
187
|
-
'Ascending' |
|
|
188
|
-
/** Defines SortDirection as Descending */
|
|
189
|
-
'Descending';
|
|
143
|
+
export declare type SortDirection = 'Ascending' | 'Descending';
|
|
190
144
|
/**
|
|
191
145
|
* Defines predefined contextmenu items.
|
|
192
|
-
*
|
|
146
|
+
* ```props
|
|
147
|
+
* * AutoFitAll :- Defines Auto fit the size of all columns.
|
|
148
|
+
* * AutoFit :- Defines Auto fit the current column.
|
|
149
|
+
* * SortAscending :- Defines SortDirection as Ascending.
|
|
150
|
+
* * SortDescending :- Defines SortDirection as Descending.
|
|
151
|
+
* * TaskInformation :- Defines the Task details.
|
|
152
|
+
* * Add :- Defines the new record on add action.
|
|
153
|
+
* * Save :- Defines the save the modified values.
|
|
154
|
+
* * Cancel :- Defines the cancel the modified values.
|
|
155
|
+
* * DeleteTask :- Defines the delete task.
|
|
156
|
+
* * DeleteDependency :- Defines the delete dependency task.
|
|
157
|
+
* * Convert :- Defines the convert to task or milestone.
|
|
158
|
+
* * Split Task :- Defines the split a task or segment into two segmentse.
|
|
159
|
+
* * Merge Task :- Defines the merge two segments into one segment.
|
|
160
|
+
* ```
|
|
193
161
|
* @hidden
|
|
194
162
|
*/
|
|
195
|
-
export declare type ContextMenuItem =
|
|
196
|
-
/** Defines Auto fit the size of all columns. */
|
|
197
|
-
'AutoFitAll' |
|
|
198
|
-
/** Defines Auto fit the current column. */
|
|
199
|
-
'AutoFit' |
|
|
200
|
-
/** Defines SortDirection as Ascending */
|
|
201
|
-
'SortAscending' |
|
|
202
|
-
/** Defines SortDirection as Descending */
|
|
203
|
-
'SortDescending' |
|
|
204
|
-
/** Defines the Task details */
|
|
205
|
-
'TaskInformation' |
|
|
206
|
-
/** Defines the new record on add action */
|
|
207
|
-
'Add' |
|
|
208
|
-
/** Defines the save the modified values */
|
|
209
|
-
'Save' |
|
|
210
|
-
/** Defines the cancel the modified values */
|
|
211
|
-
'Cancel' |
|
|
212
|
-
/** Defines the delete task */
|
|
213
|
-
'DeleteTask' |
|
|
214
|
-
/** Defines the delete dependency task */
|
|
215
|
-
'DeleteDependency' |
|
|
216
|
-
/** Defines the convert to task or milestone */
|
|
217
|
-
'Convert' |
|
|
218
|
-
/** Defines the split a task or segment into two segments */
|
|
219
|
-
'Split Task' |
|
|
220
|
-
/** Defines the merge two segments into one segment */
|
|
221
|
-
'Merge Task';
|
|
163
|
+
export declare type ContextMenuItem = 'AutoFitAll' | 'AutoFit' | 'SortAscending' | 'SortDescending' | 'TaskInformation' | 'Add' | 'Save' | 'Cancel' | 'DeleteTask' | 'DeleteDependency' | 'Convert' | 'Split Task' | 'Merge Task';
|
|
222
164
|
/**
|
|
223
165
|
* Defines contextmenu types.
|
|
224
|
-
*
|
|
166
|
+
* ```props
|
|
167
|
+
* * Header :- Defines the header type context menu.
|
|
168
|
+
* * Content :- Defines the content type context menu.
|
|
169
|
+
* ```
|
|
225
170
|
* @hidden
|
|
226
171
|
*/
|
|
227
|
-
export declare type ContextMenuType =
|
|
228
|
-
/** Defines the header type context menu */
|
|
229
|
-
'Header' |
|
|
230
|
-
/** Defines the content type context menu */
|
|
231
|
-
'Content';
|
|
172
|
+
export declare type ContextMenuType = 'Header' | 'Content';
|
|
232
173
|
/**
|
|
233
174
|
* To define work unit for whole project
|
|
175
|
+
* ```props
|
|
176
|
+
* * Minute :- To define unit value of work as minute.
|
|
177
|
+
* * Hour :- To define unit value of work as hour.
|
|
178
|
+
* * Day :- To define unit value of work as day.
|
|
179
|
+
* ```
|
|
234
180
|
*/
|
|
235
|
-
export declare type WorkUnit =
|
|
236
|
-
/** To define unit value of work as minute */
|
|
237
|
-
'Minute' |
|
|
238
|
-
/** To define unit value of work as hour */
|
|
239
|
-
'Hour' |
|
|
240
|
-
/** To define unit value of work as day */
|
|
241
|
-
'Day';
|
|
181
|
+
export declare type WorkUnit = 'Minute' | 'Hour' | 'Day';
|
|
242
182
|
/**
|
|
243
183
|
* To define task type for task
|
|
184
|
+
* ```props
|
|
185
|
+
* * FixedUnit :- To define task type as fixedUnit.
|
|
186
|
+
* * FixedWork :- To define task type as fixedWork.
|
|
187
|
+
* * FixedDuration :- To define task type as fixedDuration.
|
|
188
|
+
* ```
|
|
189
|
+
*/
|
|
190
|
+
export declare type TaskType = 'FixedUnit' | 'FixedWork' | 'FixedDuration';
|
|
191
|
+
/**
|
|
192
|
+
* Defines PDF page Size.
|
|
193
|
+
* ```props
|
|
194
|
+
* * Letter :- Letter size
|
|
195
|
+
* * Note :- Note size
|
|
196
|
+
* * Legal :- Legal size
|
|
197
|
+
* * A0 :- A0 size
|
|
198
|
+
* * A1 :- A1 size
|
|
199
|
+
* * A2 :- A2 size
|
|
200
|
+
* * A3 :- A3 size
|
|
201
|
+
* * A4 :- A4 size
|
|
202
|
+
* * A5 :- A5 size
|
|
203
|
+
* * A6 :- A6 size
|
|
204
|
+
* * A7 :- A7 size
|
|
205
|
+
* * A8 :- A8 size
|
|
206
|
+
* * A9 :- A9 size
|
|
207
|
+
* * B0 :- B0 size
|
|
208
|
+
* * B1 :- B1 size
|
|
209
|
+
* * B2 :- B2 size
|
|
210
|
+
* * B3 :- B3 size
|
|
211
|
+
* * B4 :- B4 size
|
|
212
|
+
* * B5 :- B5 size
|
|
213
|
+
* * Archa :- Arch A size
|
|
214
|
+
* * Archb :- Arch B size
|
|
215
|
+
* * Archc :- Arch C size
|
|
216
|
+
* * Archd :- Arch D size
|
|
217
|
+
* * Arche :- Arch E size
|
|
218
|
+
* * Flsa :- Flsa size
|
|
219
|
+
* * HalfLetter :- HalfLetter size
|
|
220
|
+
* * Letter11x17 :- Letter11x17 size
|
|
221
|
+
* * Ledger :- Ledger size
|
|
222
|
+
* ```
|
|
244
223
|
*/
|
|
245
|
-
export declare type TaskType =
|
|
246
|
-
/** To define task type as fixedUnit */
|
|
247
|
-
'FixedUnit' |
|
|
248
|
-
/** To define task type as fixedWork */
|
|
249
|
-
'FixedWork' |
|
|
250
|
-
/** To define task type as fixedDuration */
|
|
251
|
-
'FixedDuration';
|
|
252
224
|
export declare type PdfPageSize = 'Letter' | 'Note' | 'Legal' | 'A0' | 'A1' | 'A2' | 'A3' | 'A4' | 'A5' | 'A6' | 'A7' | 'A8' | 'A9' | 'B0' | 'B1' | 'B2' | 'B3' | 'B4' | 'B5' | 'Archa' | 'Archb' | 'Archc' | 'Archd' | 'Arche' | 'Flsa' | 'HalfLetter' | 'Letter11x17' | 'Ledger';
|
|
253
225
|
/**
|
|
254
226
|
* Defines PDF page orientation.
|
|
227
|
+
* ```props
|
|
228
|
+
* * Landscape :- Landscape Orientation.
|
|
229
|
+
* * Portrait :- Portrait Orientation.
|
|
230
|
+
* ```
|
|
255
231
|
*/
|
|
256
232
|
export declare type PageOrientation = 'Landscape' | 'Portrait';
|
|
233
|
+
/**
|
|
234
|
+
* Defines the PDF dash style.
|
|
235
|
+
* ```props
|
|
236
|
+
* * Solid :- Solid DashStyle
|
|
237
|
+
* * Dash :- Dash DashStyle
|
|
238
|
+
* * Dot :- Dot DashStyle
|
|
239
|
+
* * DashDot :- DashDot DashStyle
|
|
240
|
+
* * DashDotDot :- DashDotDot DashStyle
|
|
241
|
+
* ```
|
|
242
|
+
*/
|
|
257
243
|
export declare type PdfDashStyle = 'Solid' | 'Dash' | 'Dot' | 'DashDot' | 'DashDotDot';
|
|
258
244
|
/**
|
|
259
245
|
* Defines PDF horizontal alignment.
|
|
246
|
+
* ```props
|
|
247
|
+
* * Left :- Aligns PDF content to left.
|
|
248
|
+
* * Right :- Aligns PDF content to right.
|
|
249
|
+
* * Center :- Aligns PDF content to center.
|
|
250
|
+
* * Justify :- Aligns PDF content to justify.
|
|
251
|
+
* ```
|
|
260
252
|
*/
|
|
261
|
-
export declare type PdfHAlign =
|
|
262
|
-
/** left alignment */
|
|
263
|
-
'Left' |
|
|
264
|
-
/** right alignment */
|
|
265
|
-
'Right' |
|
|
266
|
-
/** center alignment */
|
|
267
|
-
'Center' |
|
|
268
|
-
/** justify alignment */
|
|
269
|
-
'Justify';
|
|
253
|
+
export declare type PdfHAlign = 'Left' | 'Right' | 'Center' | 'Justify';
|
|
270
254
|
/**
|
|
271
255
|
* Defines PDF vertical alignment.
|
|
256
|
+
* ```props
|
|
257
|
+
* * Top :- Aligns PDF content to top.
|
|
258
|
+
* * Bottom :- Aligns PDF content to bottom.
|
|
259
|
+
* * Middle :- Aligns PDF content to middle.
|
|
260
|
+
* ```
|
|
272
261
|
*/
|
|
273
|
-
export declare type PdfVAlign =
|
|
274
|
-
/** top alignment */
|
|
275
|
-
'Top' |
|
|
276
|
-
/** bottom alignment */
|
|
277
|
-
'Bottom' |
|
|
278
|
-
/** middle alignment */
|
|
279
|
-
'Middle';
|
|
262
|
+
export declare type PdfVAlign = 'Top' | 'Bottom' | 'Middle';
|
|
280
263
|
/**
|
|
281
264
|
* Defines Export Type.
|
|
265
|
+
* ```props
|
|
266
|
+
* * CurrentViewData :- Current view data in gantt is exported.
|
|
267
|
+
* * AllData :- All data of the gantt is exported.
|
|
268
|
+
* ```
|
|
282
269
|
*/
|
|
283
|
-
export declare type ExportType =
|
|
284
|
-
/** Current view data in gantt is exported. */
|
|
285
|
-
'CurrentViewData' |
|
|
286
|
-
/** All data of the gantt is exported. */
|
|
287
|
-
'AllData';
|
|
270
|
+
export declare type ExportType = 'CurrentViewData' | 'AllData';
|
|
288
271
|
/**
|
|
289
272
|
* Defines the exporting theme
|
|
273
|
+
* ```props
|
|
274
|
+
* * Material :- Material theme.
|
|
275
|
+
* * Fabric :- Fabric theme.
|
|
276
|
+
* * Bootstrap :- Bootstrap theme.
|
|
277
|
+
* * Bootstrap 4 :- Bootstrap 4 theme.
|
|
278
|
+
* ```
|
|
290
279
|
*/
|
|
291
280
|
export declare type PdfTheme = 'Material' | 'Fabric' | 'Bootstrap' | 'Bootstrap 4';
|
|
292
281
|
/**
|
|
@@ -297,16 +286,11 @@ export declare type CObject = {
|
|
|
297
286
|
};
|
|
298
287
|
/**
|
|
299
288
|
* To define schedule mode of Gantt
|
|
289
|
+
* ```props
|
|
290
|
+
* * Auto :- Tasks are displayed in auto scheduled mode.
|
|
291
|
+
* * Manual :- Tasks are displayed in manual scheduled mode.
|
|
292
|
+
* * Custom :- Tasks are displayed in custom scheduled mode.
|
|
293
|
+
* ```
|
|
300
294
|
*/
|
|
301
|
-
export declare type ScheduleMode =
|
|
302
|
-
|
|
303
|
-
'Auto' |
|
|
304
|
-
/** Tasks are displayed in manual scheduled mode */
|
|
305
|
-
'Manual' |
|
|
306
|
-
/** Tasks are rendered in both auto and manual scheduled mode based on datasource values */
|
|
307
|
-
'Custom';
|
|
308
|
-
export declare type ViewType =
|
|
309
|
-
/** Define project view type Gantt */
|
|
310
|
-
'ProjectView' |
|
|
311
|
-
/** Define resource view type Gantt */
|
|
312
|
-
'ResourceView';
|
|
295
|
+
export declare type ScheduleMode = 'Auto' | 'Manual' | 'Custom';
|
|
296
|
+
export declare type ViewType = 'ProjectView' | 'ResourceView';
|