@syncfusion/ej2-gantt 19.4.55 → 20.1.47-1460716

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.
Files changed (212) hide show
  1. package/CHANGELOG.md +1072 -1047
  2. package/README.md +75 -75
  3. package/dist/ej2-gantt.umd.min.js +1 -10
  4. package/dist/ej2-gantt.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-gantt.es2015.js +341 -240
  6. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  7. package/dist/es6/ej2-gantt.es5.js +713 -598
  8. package/dist/es6/ej2-gantt.es5.js.map +1 -1
  9. package/dist/global/ej2-gantt.min.js +1 -10
  10. package/dist/global/ej2-gantt.min.js.map +1 -1
  11. package/dist/global/index.d.ts +0 -9
  12. package/dist/ts/components.ts +4 -0
  13. package/dist/ts/gantt/actions/actions.ts +18 -0
  14. package/dist/ts/gantt/actions/cell-edit.ts +606 -0
  15. package/dist/ts/gantt/actions/chart-scroll.ts +167 -0
  16. package/dist/ts/gantt/actions/column-menu.ts +35 -0
  17. package/dist/ts/gantt/actions/column-reorder.ts +52 -0
  18. package/dist/ts/gantt/actions/column-resize.ts +52 -0
  19. package/dist/ts/gantt/actions/connector-line-edit.ts +829 -0
  20. package/dist/ts/gantt/actions/context-menu.ts +754 -0
  21. package/dist/ts/gantt/actions/day-markers.ts +80 -0
  22. package/dist/ts/gantt/actions/dependency.ts +692 -0
  23. package/dist/ts/gantt/actions/dialog-edit.ts +2208 -0
  24. package/dist/ts/gantt/actions/edit.ts +3499 -0
  25. package/dist/ts/gantt/actions/excel-export.ts +61 -0
  26. package/dist/ts/gantt/actions/filter.ts +302 -0
  27. package/dist/ts/gantt/actions/keyboard.ts +306 -0
  28. package/dist/ts/gantt/actions/pdf-export.ts +214 -0
  29. package/dist/ts/gantt/actions/rowdragdrop.ts +839 -0
  30. package/dist/ts/gantt/actions/selection.ts +536 -0
  31. package/dist/ts/gantt/actions/sort.ts +98 -0
  32. package/dist/ts/gantt/actions/taskbar-edit.ts +1940 -0
  33. package/dist/ts/gantt/actions/toolbar.ts +489 -0
  34. package/dist/ts/gantt/actions/virtual-scroll.ts +60 -0
  35. package/dist/ts/gantt/base/common.ts +9 -0
  36. package/dist/ts/gantt/base/constant.ts +13 -0
  37. package/dist/ts/gantt/base/css-constants.ts +148 -0
  38. package/dist/ts/gantt/base/date-processor.ts +1257 -0
  39. package/dist/ts/gantt/base/enum.ts +372 -0
  40. package/dist/ts/gantt/base/gantt-chart.ts +1248 -0
  41. package/dist/ts/gantt/base/gantt.ts +4069 -0
  42. package/dist/ts/gantt/base/interface.ts +955 -0
  43. package/dist/ts/gantt/base/splitter.ts +174 -0
  44. package/dist/ts/gantt/base/task-processor.ts +2217 -0
  45. package/dist/ts/gantt/base/tree-grid.ts +694 -0
  46. package/dist/ts/gantt/base/utils.ts +208 -0
  47. package/dist/ts/gantt/export/export-helper.ts +552 -0
  48. package/dist/ts/gantt/export/pdf-base/dictionary.ts +152 -0
  49. package/dist/ts/gantt/export/pdf-base/pdf-borders.ts +277 -0
  50. package/dist/ts/gantt/export/pdf-base/pdf-grid-table.ts +901 -0
  51. package/dist/ts/gantt/export/pdf-base/pdf-style/gantt-theme.ts +131 -0
  52. package/dist/ts/gantt/export/pdf-base/pdf-style/style.ts +91 -0
  53. package/dist/ts/gantt/export/pdf-base/treegrid-layouter.ts +414 -0
  54. package/dist/ts/gantt/export/pdf-connector-line.ts +422 -0
  55. package/dist/ts/gantt/export/pdf-gantt.ts +282 -0
  56. package/dist/ts/gantt/export/pdf-taskbar.ts +395 -0
  57. package/dist/ts/gantt/export/pdf-timeline.ts +202 -0
  58. package/dist/ts/gantt/export/pdf-treegrid.ts +406 -0
  59. package/dist/ts/gantt/models/add-dialog-field-settings.ts +33 -0
  60. package/dist/ts/gantt/models/column.ts +464 -0
  61. package/dist/ts/gantt/models/day-working-time.ts +22 -0
  62. package/dist/ts/gantt/models/edit-dialog-field-settings.ts +33 -0
  63. package/dist/ts/gantt/models/edit-settings.ts +79 -0
  64. package/dist/ts/gantt/models/event-marker.ts +27 -0
  65. package/dist/ts/gantt/models/filter-settings.ts +53 -0
  66. package/dist/ts/gantt/models/holiday.ts +34 -0
  67. package/dist/ts/gantt/models/label-settings.ts +30 -0
  68. package/dist/ts/gantt/models/models.ts +36 -0
  69. package/dist/ts/gantt/models/resource-fields.ts +38 -0
  70. package/dist/ts/gantt/models/search-settings.ts +77 -0
  71. package/dist/ts/gantt/models/selection-settings.ts +56 -0
  72. package/dist/ts/gantt/models/sort-settings.ts +50 -0
  73. package/dist/ts/gantt/models/splitter-settings.ts +47 -0
  74. package/dist/ts/gantt/models/task-fields.ts +171 -0
  75. package/dist/ts/gantt/models/timeline-settings.ts +112 -0
  76. package/dist/ts/gantt/models/tooltip-settings.ts +46 -0
  77. package/dist/ts/gantt/renderer/chart-rows.ts +1838 -0
  78. package/dist/ts/gantt/renderer/connector-line.ts +1025 -0
  79. package/dist/ts/gantt/renderer/edit-tooltip.ts +228 -0
  80. package/dist/ts/gantt/renderer/event-marker.ts +96 -0
  81. package/dist/ts/gantt/renderer/nonworking-day.ts +205 -0
  82. package/dist/ts/gantt/renderer/render.ts +5 -0
  83. package/dist/ts/gantt/renderer/timeline.ts +1397 -0
  84. package/dist/ts/gantt/renderer/tooltip.ts +450 -0
  85. package/dist/ts/gantt/renderer/virtual-content-render.ts +50 -0
  86. package/license +9 -9
  87. package/package.json +80 -80
  88. package/src/gantt/actions/cell-edit.js +2 -1
  89. package/src/gantt/actions/dialog-edit.js +2 -1
  90. package/src/gantt/actions/edit.js +36 -9
  91. package/src/gantt/actions/rowdragdrop.js +37 -15
  92. package/src/gantt/actions/selection.js +3 -2
  93. package/src/gantt/actions/taskbar-edit.js +24 -24
  94. package/src/gantt/base/date-processor.js +0 -1
  95. package/src/gantt/base/gantt-chart.js +36 -5
  96. package/src/gantt/base/gantt-model.d.ts +779 -779
  97. package/src/gantt/base/gantt.d.ts +27 -27
  98. package/src/gantt/base/gantt.js +35 -76
  99. package/src/gantt/base/splitter.js +1 -0
  100. package/src/gantt/base/task-processor.js +13 -13
  101. package/src/gantt/base/tree-grid.js +3 -1
  102. package/src/gantt/export/pdf-base/treegrid-layouter.js +13 -13
  103. package/src/gantt/export/pdf-connector-line.js +11 -11
  104. package/src/gantt/export/pdf-gantt.js +24 -24
  105. package/src/gantt/export/pdf-taskbar.js +11 -11
  106. package/src/gantt/export/pdf-treegrid.js +13 -13
  107. package/src/gantt/models/add-dialog-field-settings-model.d.ts +21 -21
  108. package/src/gantt/models/add-dialog-field-settings.js +19 -19
  109. package/src/gantt/models/day-working-time-model.d.ts +11 -11
  110. package/src/gantt/models/day-working-time.js +19 -19
  111. package/src/gantt/models/edit-dialog-field-settings-model.d.ts +21 -21
  112. package/src/gantt/models/edit-dialog-field-settings.js +19 -19
  113. package/src/gantt/models/edit-settings-model.d.ts +50 -50
  114. package/src/gantt/models/edit-settings.js +19 -19
  115. package/src/gantt/models/event-marker-model.d.ts +16 -16
  116. package/src/gantt/models/event-marker.js +19 -19
  117. package/src/gantt/models/filter-settings-model.d.ts +34 -34
  118. package/src/gantt/models/filter-settings.js +19 -19
  119. package/src/gantt/models/holiday-model.d.ts +21 -21
  120. package/src/gantt/models/holiday.js +19 -19
  121. package/src/gantt/models/label-settings-model.d.ts +16 -16
  122. package/src/gantt/models/label-settings.js +19 -19
  123. package/src/gantt/models/resource-fields-model.d.ts +21 -21
  124. package/src/gantt/models/resource-fields.js +19 -19
  125. package/src/gantt/models/search-settings-model.d.ts +56 -56
  126. package/src/gantt/models/search-settings.js +19 -19
  127. package/src/gantt/models/selection-settings-model.d.ts +35 -35
  128. package/src/gantt/models/selection-settings.js +19 -19
  129. package/src/gantt/models/sort-settings-model.d.ts +24 -24
  130. package/src/gantt/models/sort-settings.js +19 -19
  131. package/src/gantt/models/splitter-settings-model.d.ts +30 -30
  132. package/src/gantt/models/splitter-settings.js +19 -19
  133. package/src/gantt/models/task-fields-model.d.ts +110 -110
  134. package/src/gantt/models/task-fields.js +19 -19
  135. package/src/gantt/models/timeline-settings-model.d.ts +71 -71
  136. package/src/gantt/models/timeline-settings.js +19 -19
  137. package/src/gantt/models/tooltip-settings-model.d.ts +26 -26
  138. package/src/gantt/models/tooltip-settings.js +19 -19
  139. package/src/gantt/renderer/chart-rows.js +49 -37
  140. package/src/gantt/renderer/connector-line.js +22 -18
  141. package/src/gantt/renderer/event-marker.js +1 -0
  142. package/src/gantt/renderer/nonworking-day.js +13 -6
  143. package/src/gantt/renderer/timeline.d.ts +1 -0
  144. package/src/gantt/renderer/timeline.js +51 -12
  145. package/src/gantt/renderer/tooltip.js +11 -3
  146. package/styles/bootstrap-dark.css +442 -427
  147. package/styles/bootstrap.css +442 -433
  148. package/styles/bootstrap4.css +454 -479
  149. package/styles/bootstrap5-dark.css +457 -433
  150. package/styles/bootstrap5.css +457 -433
  151. package/styles/fabric-dark.css +438 -421
  152. package/styles/fabric.css +445 -428
  153. package/styles/fluent-dark.css +1938 -0
  154. package/styles/fluent-dark.scss +1 -0
  155. package/styles/fluent.css +1938 -0
  156. package/styles/fluent.scss +1 -0
  157. package/styles/gantt/_all.scss +2 -2
  158. package/styles/gantt/_bootstrap-dark-definition.scss +210 -156
  159. package/styles/gantt/_bootstrap-definition.scss +211 -157
  160. package/styles/gantt/_bootstrap4-definition.scss +213 -158
  161. package/styles/gantt/_bootstrap5-definition.scss +215 -162
  162. package/styles/gantt/_fabric-dark-definition.scss +211 -157
  163. package/styles/gantt/_fabric-definition.scss +211 -157
  164. package/styles/gantt/_fluent-dark-definition.scss +1 -0
  165. package/styles/gantt/_fluent-definition.scss +215 -162
  166. package/styles/gantt/_fusionnew-definition.scss +214 -0
  167. package/styles/gantt/_highcontrast-definition.scss +211 -157
  168. package/styles/gantt/_highcontrast-light-definition.scss +211 -157
  169. package/styles/gantt/_layout.scss +1446 -1027
  170. package/styles/gantt/_material-dark-definition.scss +212 -157
  171. package/styles/gantt/_material-definition.scss +212 -157
  172. package/styles/gantt/_material3-definition.scss +215 -0
  173. package/styles/gantt/_tailwind-definition.scss +215 -161
  174. package/styles/gantt/_theme.scss +702 -668
  175. package/styles/gantt/bootstrap-dark.css +442 -427
  176. package/styles/gantt/bootstrap.css +442 -433
  177. package/styles/gantt/bootstrap4.css +454 -479
  178. package/styles/gantt/bootstrap5-dark.css +457 -433
  179. package/styles/gantt/bootstrap5.css +457 -433
  180. package/styles/gantt/fabric-dark.css +438 -421
  181. package/styles/gantt/fabric.css +445 -428
  182. package/styles/gantt/fluent-dark.css +1938 -0
  183. package/styles/gantt/fluent-dark.scss +22 -0
  184. package/styles/gantt/fluent.css +1938 -0
  185. package/styles/gantt/fluent.scss +22 -0
  186. package/styles/gantt/highcontrast-light.css +405 -405
  187. package/styles/gantt/highcontrast.css +444 -456
  188. package/styles/gantt/icons/_bootstrap-dark.scss +124 -113
  189. package/styles/gantt/icons/_bootstrap.scss +124 -113
  190. package/styles/gantt/icons/_bootstrap4.scss +124 -113
  191. package/styles/gantt/icons/_bootstrap5.scss +124 -112
  192. package/styles/gantt/icons/_fabric-dark.scss +124 -112
  193. package/styles/gantt/icons/_fabric.scss +124 -112
  194. package/styles/gantt/icons/_fluent-dark.scss +1 -0
  195. package/styles/gantt/icons/_fluent.scss +124 -112
  196. package/styles/gantt/icons/_fusionnew.scss +120 -0
  197. package/styles/gantt/icons/_highcontrast.scss +124 -112
  198. package/styles/gantt/icons/_material-dark.scss +124 -112
  199. package/styles/gantt/icons/_material.scss +124 -112
  200. package/styles/gantt/icons/_material3.scss +124 -0
  201. package/styles/gantt/icons/_tailwind-dark.scss +124 -113
  202. package/styles/gantt/icons/_tailwind.scss +124 -113
  203. package/styles/gantt/material-dark.css +446 -417
  204. package/styles/gantt/material.css +445 -419
  205. package/styles/gantt/tailwind-dark.css +452 -482
  206. package/styles/gantt/tailwind.css +449 -479
  207. package/styles/highcontrast-light.css +405 -405
  208. package/styles/highcontrast.css +444 -456
  209. package/styles/material-dark.css +446 -417
  210. package/styles/material.css +445 -419
  211. package/styles/tailwind-dark.css +452 -482
  212. package/styles/tailwind.css +449 -479
@@ -0,0 +1,955 @@
1
+ import { PdfTreeGridCell } from './../export/pdf-base/pdf-grid-table';
2
+ import { PdfBorders } from './../export/pdf-base/pdf-borders';
3
+ import { ColumnModel } from './../models/column';
4
+ import { PointF, PdfColor, PdfFontFamily, PdfFontStyle, PdfStringFormat } from '@syncfusion/ej2-pdf-export';
5
+ import {
6
+ ContextMenuType, PdfPageSize, PageOrientation, ExportType, PdfTheme, TaskType
7
+ } from './enum';
8
+ import { ContextMenuOpenEventArgs as GridContextMenuOpenEventArgs } from '@syncfusion/ej2-grids';
9
+ import { ContextMenuClickEventArgs as GridContextMenuClickEventArgs } from '@syncfusion/ej2-grids';
10
+ import { RecordDoubleClickEventArgs as GridRecordDoubleClickEventArgs } from '@syncfusion/ej2-grids';
11
+ import { RowSelectingEventArgs as GridRowSelectingEventArgs } from '@syncfusion/ej2-grids';
12
+ import { CellSelectingEventArgs as GridCellSelectingEventArgs } from '@syncfusion/ej2-grids';
13
+ import { RowDeselectEventArgs as GridRowDeselectEventArgs } from '@syncfusion/ej2-grids';
14
+ import { RowSelectEventArgs as GridRowSelectEventArgs, RowDataBoundEventArgs as GridRowDataBoundEventArgs } from '@syncfusion/ej2-grids';
15
+ import { Column } from '../models/column';
16
+ import { TooltipEventArgs } from '@syncfusion/ej2-popups';
17
+ import { TimelineViewMode } from '../base/enum';
18
+ import { TimelineTierSettingsModel } from '../models/timeline-settings-model';
19
+ import { EventMarkerModel } from '../models/event-marker-model';
20
+ import { PdfPaddings } from '../export/pdf-base/index';
21
+ /**
22
+ * Specifies Gantt-chart interfaces
23
+ *
24
+ */
25
+
26
+ export interface IGanttData {
27
+ /** Defines the child records of task. */
28
+ childRecords?: IGanttData[];
29
+ /** Defines the expanded state of task. */
30
+ expanded?: boolean;
31
+ /** Defines the properties which used in internal calculations. */
32
+ ganttProperties?: ITaskData;
33
+ /** Defines gantt data has child records or not. */
34
+ hasChildRecords?: boolean;
35
+ /** Defines the index of task. */
36
+ index?: number;
37
+ /** Defines the level of task. */
38
+ level?: number;
39
+ /** Defines the direct parent item of task. */
40
+ parentItem?: IParent;
41
+ /** Defines the parent unique id of task. */
42
+ parentUniqueID?: string;
43
+ /** Defines the data which specified in data source.
44
+ *
45
+ * @isGenericType true
46
+ */
47
+ taskData?: Object;
48
+ /** Defines the unique id of task. */
49
+ uniqueID?: string;
50
+ /** Defines the indicators value of task. */
51
+ indicators?: IIndicator[];
52
+ /** Defines the delete . */
53
+ isDelete?: boolean;
54
+ }
55
+
56
+ export interface IParent {
57
+ /** Defines the unique id of task. */
58
+ uniqueID?: string;
59
+ /** Defines the expanded state of task. */
60
+ expanded?: boolean;
61
+ /** Defines the level of task. */
62
+ level?: number;
63
+ /** Defines the id of task. */
64
+ taskId?: string;
65
+ /** Defines the index of task. */
66
+ index?: number;
67
+ }
68
+
69
+ export interface ITaskData {
70
+ /** Defines the baselineleft of task. */
71
+ baselineLeft?: number;
72
+ /** Defines the baseline startdate of task. */
73
+ baselineStartDate?: Date;
74
+ /** Defines the baseline enddate of task. */
75
+ baselineEndDate?: Date;
76
+ /** Defines the baseline width of task. */
77
+ baselineWidth?: number;
78
+ /** Defines the end date of task. */
79
+ endDate?: Date;
80
+ /** Defines the css class of task. */
81
+ cssClass?: string;
82
+ /** Defines the duration of task. */
83
+ duration?: number;
84
+ /** Defines the duration unit of task. */
85
+ durationUnit?: string;
86
+ /** Defines the task is auto schedule-able or not. */
87
+ isAutoSchedule?: boolean;
88
+ /** Defines the task is milestone or not. */
89
+ isMilestone?: boolean;
90
+ /** Defines the left of task. */
91
+ left?: number;
92
+ /** Defines the progress of task. */
93
+ progress?: number;
94
+ /** Defines the progress width of task. */
95
+ progressWidth?: number;
96
+ /** Defines the resource info of task. */
97
+ resourceInfo?: Object[];
98
+ /** Defines the resource names of task. */
99
+ resourceNames?: string;
100
+ /** Defines the start date of task. */
101
+ startDate?: Date;
102
+ /** Defines the notes of task. */
103
+ notes?: string;
104
+ /** Defines the predecessors name of task. */
105
+ predecessorsName?: string | number | object[];
106
+ /** Defines the predecessor of task. */
107
+ predecessor?: IPredecessor[];
108
+ /** Defines the id of task. */
109
+ taskId?: string;
110
+ /** Defines the parent id of task. */
111
+ parentId?: string;
112
+ /** Defines the name of task. */
113
+ taskName?: string;
114
+ /** Defines the width of task. */
115
+ width?: number;
116
+ /** Defines the indicators of task. */
117
+ indicators?: IIndicator[];
118
+ /** Defines the unique id of task. */
119
+ uniqueID?: string;
120
+ /** Defines the total progress of task. */
121
+ totalProgress?: number;
122
+ /** Defines the total duration of task. */
123
+ totalDuration?: number;
124
+ /** Defines the work of the task. */
125
+ work?: number;
126
+ /** Defines the work unit of task. */
127
+ workUnit?: string;
128
+ /** Defines task type */
129
+ taskType?: TaskType;
130
+ /** Defines the auto scheduled task's start date. */
131
+ autoStartDate?: Date;
132
+ /** Defines the auto scheduled task's end date. */
133
+ autoEndDate?: Date;
134
+ /** Defines the auto scheduled task's duration */
135
+ autoDuration?: number;
136
+ /** Defines the auto scheduled task's left. */
137
+ autoLeft?: number;
138
+ /** Defines the auto scheduled task's width. */
139
+ autoWidth?: number;
140
+ /** It have taskId for ProjectView and uniqueID for resourceView */
141
+ rowUniqueID?: string;
142
+ /** Defines work timeline ranges. */
143
+ workTimelineRanges?: IWorkTimelineRanges[];
144
+ /** Defines overlap index. */
145
+ eOverlapIndex?: number;
146
+ /** Defines task segments. */
147
+ segments?: ITaskSegment[];
148
+ /**
149
+ * Defines shared task unique ids.
150
+ */
151
+ sharedTaskUniqueIds?: string[];
152
+ }
153
+
154
+ export interface ITaskSegment {
155
+ /** Defines start date of the segment */
156
+ startDate?: Date;
157
+ /** Defines end date of the segment */
158
+ endDate?: Date;
159
+ /** Defines the duration of the segment. */
160
+ duration?: number;
161
+ /** Defines the width of a segment. */
162
+ width?: number;
163
+ /** Defines the progress width of a segment. */
164
+ progressWidth?: number;
165
+ /** Defines the left position of a segment. */
166
+ left?: number;
167
+ /** Defines the segment index */
168
+ segmentIndex?: number;
169
+ /** Defines the duration between 2 segments */
170
+ offsetDuration?: number;
171
+ /** Set for displaying progress in split taskbar */
172
+ showProgress?: boolean;
173
+ }
174
+ export interface IWorkTimelineRanges {
175
+ /** Defines start date of task */
176
+ startDate?: Date;
177
+ /** Defines end date of task */
178
+ endDate?: Date;
179
+ /** Defines left value of resource usage/resource histogram. */
180
+ left?: number;
181
+ /** Defines width of the resource usage/resource histogram. */
182
+ width?: number;
183
+ /** Defines height of the resource usage/resource histogram. */
184
+ height?: number;
185
+ /** Defines per day work. */
186
+ workPerDay?: number;
187
+ /** Defines whether resource is over allocate or not. */
188
+ isOverAllocated?: boolean;
189
+ /** Defines the task. */
190
+ task?: IGanttData;
191
+
192
+ /** Defines start date of task */
193
+ from?: Date;
194
+ /** Defines start date of task */
195
+ to?: Date;
196
+ }
197
+
198
+ export interface IGanttColumn {
199
+ field?: string;
200
+ headerText?: string;
201
+ editType?: string;
202
+ mappingName?: string;
203
+ allowEditing: boolean;
204
+ width: number;
205
+ format: string;
206
+ visible: boolean;
207
+ }
208
+
209
+ export interface IIndicator {
210
+ /** Defines the date of indicator. */
211
+ date?: Date | string;
212
+ /** Defines the icon class of indicator. */
213
+ iconClass?: string;
214
+ /** Defines the name of indicator. */
215
+ name?: string;
216
+ /** Defines the tooltip of indicator. */
217
+ tooltip?: string;
218
+ }
219
+
220
+ export interface IWorkingTimeRange {
221
+ from?: number;
222
+ to?: number;
223
+ isWorking?: boolean;
224
+ color?: string;
225
+ interval?: number;
226
+ }
227
+
228
+ export interface IQueryTaskbarInfoEventArgs {
229
+ /** Defines the data. */
230
+ data: IGanttData;
231
+ /** Defines the row element. */
232
+ rowElement: Element;
233
+ /** Defines the taskbar element. */
234
+ taskbarElement: Element;
235
+ /** Defines the taskbar background color. */
236
+ taskbarBgColor?: string;
237
+ /** Defines the taskbar border color. */
238
+ taskbarBorderColor?: string;
239
+ /** Defines the progressbar background color. */
240
+ progressBarBgColor?: string;
241
+ /** Defines the milestone color. */
242
+ //progressBarBorderColor?: string;
243
+ milestoneColor?: string;
244
+ /** Defines the right label color. */
245
+ rightLabelColor?: string;
246
+ /** Defines the left label color. */
247
+ leftLabelColor?: string;
248
+ /** Defines the task label color. */
249
+ taskLabelColor?: string;
250
+ /** Defines the baseline color. */
251
+ baselineColor?: string;
252
+ /** Defines the taskbar type. */
253
+ taskbarType: string;
254
+ }
255
+
256
+ export interface IGanttCellFormatter {
257
+ /** Method to format the cell value of date columns. */
258
+ getValue(column: Column, data: Object): Object;
259
+ }
260
+
261
+ export interface ITaskbarEditedEventArgs {
262
+ /** Defines the editingFields. */
263
+ editingFields?: ITaskData;
264
+ /** Defines the data. */
265
+ data?: IGanttData;
266
+ /** Defines the index of edited task. */
267
+ recordIndex?: number;
268
+ /** Defines the previous value of editing task. */
269
+ previousData?: ITaskData;
270
+ /** Defines the type of taskbar edit action. */
271
+ taskBarEditAction?: string;
272
+ /** Defines the duration roundoff. */
273
+ roundOffDuration?: boolean;
274
+ /** Defines the event is cancel-able or not. */
275
+ cancel?: boolean;
276
+ /** Defines the action. */
277
+ action?: string;
278
+ /** Defines the target element. */
279
+ target?: Element;
280
+ /** Defines the segment index. */
281
+ segmentIndex?: number;
282
+ }
283
+ export interface IKeyPressedEventArgs {
284
+ /** Defines the request type. */
285
+ requestType?: string;
286
+ /** Defines the key action. */
287
+ action?: string;
288
+ /** Defines the event. */
289
+ keyEvent?: Event;
290
+ }
291
+
292
+ export interface ITaskDeletedEventArgs {
293
+ deletedRecordCollection?: IGanttData[];
294
+ updatedRecordCollection?: IGanttData[];
295
+ cancel?: boolean;
296
+ action?: string;
297
+ }
298
+
299
+ export interface IDependencyEditData {
300
+ id?: string;
301
+ text?: string;
302
+ value?: string;
303
+ }
304
+
305
+ export interface IPredecessor {
306
+ /** Defines the from value of predecessor. */
307
+ from?: string;
308
+ /** Defines the to value of predecessor. */
309
+ to?: string;
310
+ /** Defines the type of predecessor. */
311
+ type?: string;
312
+ /** Defines the offset value of predecessor. */
313
+ offset?: number;
314
+ /** Defines the offset unit of predecessor. */
315
+ offsetUnit?: string;
316
+ /** Defines the predecessor is drawn-able or not. */
317
+ isDrawn?: boolean;
318
+ }
319
+
320
+ export interface IValidateArgs {
321
+ data?: IGanttData;
322
+ recordIndex?: number;
323
+ requestType?: string;
324
+ cancel?: boolean;
325
+ validateMode?: IValidateMode;
326
+ editEventArgs?: object;
327
+ }
328
+
329
+ export interface ITimeSpanEventArgs {
330
+ /** Defines the project start date. */
331
+ projectStartDate?: Date;
332
+ /** Defines the project end date. */
333
+ ProjectEndDate?: Date;
334
+ /** Defines the timeline roundoff state. */
335
+ isTimelineRoundOff?: boolean;
336
+ /** Defines the request type. */
337
+ requestType?: string;
338
+ /** Defines the event is cancel-able or not. */
339
+ cancel?: boolean;
340
+ /** Defines the action. */
341
+ action?: string;
342
+ }
343
+
344
+ export interface IValidateMode {
345
+ respectLink?: boolean;
346
+ removeLink?: boolean;
347
+ preserveLinkWithEditing?: boolean;
348
+ }
349
+ export interface IActionBeginEventArgs {
350
+ requestType?: string;
351
+ data?: IGanttData | IGanttData[];
352
+ modifiedRecords?: IGanttData[];
353
+ modifiedTaskData?: object[] | object;
354
+ cancel?: boolean;
355
+ taskBarEditAction?: string;
356
+ action?: string;
357
+ /** Defines the target element. */
358
+ target?: Element;
359
+ }
360
+
361
+ export interface IValidateLinkedTaskArgs {
362
+ editMode?: string;
363
+ data?: IGanttData;
364
+ requestType?: string;
365
+ validateMode?: IValidateMode;
366
+ cancel?: boolean;
367
+ }
368
+
369
+ export interface IConnectorLineObject {
370
+ parentLeft?: number;
371
+ childLeft?: number;
372
+ parentWidth?: number;
373
+ childWidth?: number;
374
+ parentIndex?: number;
375
+ childIndex?: number;
376
+ rowHeight?: number;
377
+ type?: string;
378
+ connectorLineId?: string;
379
+ milestoneParent?: boolean;
380
+ milestoneChild?: boolean;
381
+ parentIndexInCurrentView?: number;
382
+ childIndexInCurrentView?: number;
383
+ }
384
+
385
+ export interface ISplitterResizedEventArgs {
386
+ /** Defines the element. */
387
+ element?: HTMLElement;
388
+ /** Defines the event. */
389
+ event?: Event;
390
+ /** Defines the size of resized pane. */
391
+ paneSize?: number[];
392
+ /** Defines the pane. */
393
+ pane?: HTMLElement[];
394
+ /** Defines the index of resizing pane. */
395
+ index?: number[];
396
+ /** Defines the separator. */
397
+ separator?: HTMLElement;
398
+ /** Defines the event is cancel-able or not. */
399
+ cancel?: boolean;
400
+ }
401
+
402
+ export interface PredecessorTooltip {
403
+ /** Defines the from id of predecessor. */
404
+ fromId?: string;
405
+ /** Defines the to id of predecessor. */
406
+ toId?: string;
407
+ /** Defines the from name of predecessor. */
408
+ fromName?: string;
409
+ /** Defines the to name of predecessor. */
410
+ toName?: string;
411
+ /** Defines the link type of predecessor. */
412
+ linkType?: string;
413
+ /** Defines the link text of predecessor. */
414
+ linkText?: string;
415
+ /** Defines the offset value of predecessor. */
416
+ offset?: number;
417
+ /** Defines the offset unit of predecessor. */
418
+ offsetUnit?: string;
419
+ /** Defines the offset string value of predecessor. */
420
+ offsetString?: string;
421
+ }
422
+
423
+ export interface BeforeTooltipRenderEventArgs {
424
+ /** Defines the data. */
425
+ data?: BeforeTooltipRenderEventArgsData;
426
+ /** Defines the original event arguments of tooltip control. */
427
+ args?: TooltipEventArgs;
428
+ /** Defines the content. */
429
+ content?: string | Element;
430
+ /** Cancel the tooltip */
431
+ cancel?: boolean;
432
+ }
433
+
434
+ export interface QueryCellInfoEventArgs {
435
+ /** Defines the row data associated with this cell. */
436
+ data?: IGanttData;
437
+ /** Defines the cell element. */
438
+ cell?: Element;
439
+ /** Defines the column object associated with this cell. */
440
+ column?: Column;
441
+ /** Defines the no. of columns to be spanned */
442
+ colSpan?: number;
443
+ /** Defines the no. of rows to be spanned */
444
+ rowSpan?: number;
445
+ /** Defines the current action. */
446
+ requestType?: string;
447
+ /** Define the foreignKey row data associated with this column */
448
+ foreignKeyData?: Object;
449
+ }
450
+
451
+ /**
452
+ * Extending IGanttData and PredecessorTooltip interfaces for data used in BeforeTooltipRenderEventArgs interface.
453
+ */
454
+ export interface BeforeTooltipRenderEventArgsData extends IGanttData, PredecessorTooltip {
455
+
456
+ }
457
+
458
+ export interface IDependencyEventArgs {
459
+ /** Specifies the predecessor task of dependency. */
460
+ fromItem?: IGanttData;
461
+ /** Specifies the successor task of dependency. */
462
+ toItem?: IGanttData;
463
+ /** Defines the new predecessor string. */
464
+ newPredecessorString?: string;
465
+ /** Defines the dependency link is valid or not */
466
+ isValidLink?: boolean;
467
+ /** Defines the request type. */
468
+ requestType?: string;
469
+ /** Defines predecessor object */
470
+ predecessor?: IPredecessor;
471
+ }
472
+
473
+ export interface ITaskAddedEventArgs {
474
+ /** Specifies the newly added task data with Gantt properties. */
475
+ data?: IGanttData[] | IGanttData;
476
+ /** Specifies the newly added task data without custom Gantt properties. */
477
+ newTaskData?: object[] | object;
478
+ /** Defines the modified records. */
479
+ modifiedRecords?: IGanttData[];
480
+ /** Defines the modified task data. */
481
+ modifiedTaskData?: object[] | object;
482
+ /** Defines the record index. */
483
+ recordIndex?: number | number[];
484
+ /** Defines the event is cancel-able or not. */
485
+ cancel?: boolean;
486
+ /** Defines the action. */
487
+ action?: string;
488
+ /** Defines the request type. */
489
+ requestType?: string;
490
+ }
491
+ export interface ICollapsingEventArgs {
492
+ /** Defines the TreeGrid row element */
493
+ gridRow: Node;
494
+ /** Defines the Gantt chart row element */
495
+ chartRow: Node;
496
+ /** Defines the name of the action. */
497
+ name?: string;
498
+ /** Defines the parent row data. */
499
+ data?: IGanttData;
500
+ /** Cancel the row expanding action */
501
+ cancel?: boolean;
502
+
503
+ }
504
+ export interface ContextMenuOpenEventArgs extends GridContextMenuOpenEventArgs {
505
+ /** Defines the TreeGrid row element */
506
+ gridRow?: Element;
507
+ /** Defines the chart row element */
508
+ chartRow?: Element;
509
+ /** Defines the selected row record */
510
+ rowData?: IGanttData;
511
+ /** Defines the context menu type */
512
+ type?: ContextMenuType;
513
+ /** Defines the hidden items collection */
514
+ hideItems?: string[];
515
+ /** Defines the sub menu hidden items collection */
516
+ hideChildItems?: string[];
517
+ /** Defines the disabled items collection */
518
+ disableItems?: string[];
519
+ /** Defines the target element. */
520
+ target?: Element;
521
+ top?: number;
522
+ left?: number;
523
+ }
524
+
525
+ export interface ContextMenuClickEventArgs extends GridContextMenuClickEventArgs {
526
+ /** Defines the selected row record */
527
+ rowData?: IGanttData;
528
+ /** Defines the context menu type */
529
+ type?: ContextMenuType;
530
+ }
531
+
532
+ export type ITimelineFormatter = (date?: Date, format?: string, tier?: string, mode?: string) => string;
533
+
534
+ export interface ZoomEventArgs {
535
+ /** Defines the request type. */
536
+ requestType?: string;
537
+ /** Defines the zoom action. */
538
+ action?: string;
539
+ /** Defines Zoom timeline settings. */
540
+ timeline?: ZoomTimelineSettings;
541
+ /** Defines the cancel option value. */
542
+ cancel?: boolean;
543
+ }
544
+
545
+ export interface ZoomTimelineSettings {
546
+ /** Defines the timeline view mode. */
547
+ timelineViewMode?: TimelineViewMode;
548
+ /** Defines top tier values. */
549
+ topTier?: TimelineTierSettingsModel;
550
+ /** Defines bottom tier values. */
551
+ bottomTier?: TimelineTierSettingsModel;
552
+ /** Defines timeline unit size. */
553
+ timelineUnitSize?: number;
554
+ weekStartDay?: number;
555
+ /** Defines weekend background color. */
556
+ weekendBackground?: string;
557
+ /** Defines showTooltip whether the tooltip will rendered or not. */
558
+ showTooltip?: boolean;
559
+ /** Defines perDay width. */
560
+ perDayWidth?: number;
561
+ /** Defines zooming level. */
562
+ level?: number;
563
+ /** Defines the updateTimescaleView. */
564
+ updateTimescaleView?: boolean;
565
+ }
566
+ /** @private */
567
+ export interface MousePoint {
568
+ pageX?: number;
569
+ pageY?: number;
570
+ }
571
+
572
+ /** @private */
573
+ export interface ITemplateData {
574
+ expanded?: boolean;
575
+ hasChildRecords?: boolean;
576
+ index?: number;
577
+ level?: number;
578
+ baselineLeft?: number;
579
+ baselineWidth?: number;
580
+ taskStartDate?: Date;
581
+ taskEndDate?: Date;
582
+ taskDuration?: number;
583
+ taskDurationUnit?: string;
584
+ taskPredecessorsName?: string;
585
+ taskResourceNames?: string;
586
+ isAutoSchedule?: boolean;
587
+ isMilestone?: boolean;
588
+ left?: number;
589
+ progressWidth?: number;
590
+ width?: number;
591
+ }
592
+
593
+ export interface RowSelectingEventArgs extends GridRowSelectingEventArgs {
594
+ /** Defines the data collections. */
595
+ data: IGanttData;
596
+ }
597
+
598
+ export interface RowSelectEventArgs extends GridRowSelectEventArgs {
599
+ /** Defines the data collections. */
600
+ data: IGanttData;
601
+ }
602
+
603
+ export interface RowDataBoundEventArgs extends GridRowDataBoundEventArgs {
604
+ /** Defines the data collections. */
605
+ data: IGanttData;
606
+ /** Defines the row element. */
607
+ row?: Element;
608
+ }
609
+
610
+ export interface RowDeselectEventArgs extends GridRowDeselectEventArgs {
611
+ /** Defines the selected/deselected row index. */
612
+ rowIndex?: number;
613
+ /** Defines the data collections. */
614
+ data?: IGanttData[];
615
+ /** Defines the selected/deselected row. */
616
+ row?: Element;
617
+ }
618
+
619
+ export interface ActionCompleteArgs extends ZoomEventArgs, IKeyPressedEventArgs {
620
+ element?: HTMLElement;
621
+ requestType?: string;
622
+ data?: IGanttData[];
623
+ modifiedRecords?: IGanttData[];
624
+ modifiedTaskData?: IGanttData[];
625
+ cancel?: boolean;
626
+ /** Specifies the newly added task data without custom Gantt properties.
627
+ *
628
+ * @isGenericType true
629
+ */
630
+ newTaskData?: object;
631
+ /** Defines the record index. */
632
+ recordIndex?: number;
633
+ /** Defines the action. */
634
+ action?: string;
635
+ /** Defines the type of event. */
636
+ type?: string;
637
+ }
638
+
639
+ export interface ActionBeginArgs extends IDependencyEventArgs {
640
+ rowData?: IGanttData;
641
+ name?: string;
642
+ requestType?: string;
643
+ cancel?: boolean;
644
+ data?: IGanttData[];
645
+ modifiedRecords?: IGanttData[];
646
+ /**
647
+ * @isGenericType true
648
+ */
649
+ modifiedTaskData?: object[];
650
+ /** Specifies the newly added task data without custom Gantt properties.
651
+ *
652
+ * @isGenericType true
653
+ */
654
+ newTaskData?: object;
655
+ /** Defines the split date on context click action */
656
+ splitDate?: Date;
657
+ /** Defines the array of merge items indexes on context click action */
658
+ mergeSegmentIndexes?: {firstSegmentIndex: number, secondSegmentIndex: number}[];
659
+ /** Defines the record index. */
660
+ recordIndex?: number;
661
+ /** Defines the action. */
662
+ action?: string;
663
+ /** Defines the type of event. */
664
+ type?: string;
665
+ /** Defines the target element. */
666
+ target?: Element;
667
+ }
668
+
669
+ export interface CellEditArgs {
670
+ /** Defines the cancel option value. */
671
+ cancel?: boolean;
672
+ /** Defines the current row. */
673
+ row?: Element;
674
+ /** Defines the validation rules. */
675
+ validationRules?: Object;
676
+ /** Defines the name of the event. */
677
+ type?: string;
678
+ /** Defines foreign data object */
679
+ foreignKeyData?: Object;
680
+ /** Defines the row data object. */
681
+ rowData?: IGanttData;
682
+ /** Defines the column name. */
683
+ columnName?: string;
684
+ /** Defines the cell object. */
685
+ cell?: Element;
686
+ /** Defines the column object. */
687
+ columnObject?: Column;
688
+ /** Defines the cell value. */
689
+ value?: string;
690
+ /** Defines isForeignKey option value. */
691
+ isForeignKey?: boolean;
692
+ /** Defines the primaryKey. */
693
+ primaryKey?: string[];
694
+ }
695
+
696
+ export interface CellSelectingEventArgs extends GridCellSelectingEventArgs {
697
+ /** Defines the previously selected cell index */
698
+ previousRowCellIndex?: number;
699
+ }
700
+
701
+ export interface ScrollArgs {
702
+ /** Defines the action. */
703
+ action?: string;
704
+ /** Defines the action type. */
705
+ requestType?: string;
706
+ /** Defines the scroll direction. */
707
+ scrollDirection?: string;
708
+ /** Defines the scroll left value. */
709
+ scrollLeft?: number;
710
+ /** Defines the scroll top value. */
711
+ scrollTop?: number;
712
+ /** Defines the previous scroll top value. */
713
+ previousScrollTop?: number;
714
+ /** Defines the previous scroll left value. */
715
+ previousScrollLeft?: number;
716
+ }
717
+
718
+ export interface ITaskbarClickEventArgs {
719
+ /** Defines the taskbar element. */
720
+ taskbarElement?: Element;
721
+ /** Defines the data of record. */
722
+ data?: IGanttData;
723
+ /** Defines the row index of record. */
724
+ rowIndex?: number;
725
+ /** Defines the target element. */
726
+ target?: Element;
727
+ }
728
+
729
+ export interface RecordDoubleClickEventArgs extends GridRecordDoubleClickEventArgs {
730
+ /** Defines the row element. */
731
+ row?: Element;
732
+ /** Defines the data of record. */
733
+ rowData?: IGanttData;
734
+ /** Defines the row index of record. */
735
+ rowIndex?: number;
736
+ /** Defines the target element. */
737
+ target?: Element;
738
+ }
739
+
740
+ export interface RowDropEventArgs {
741
+ /** Defines the selected row's element. */
742
+ rows?: Element[];
743
+ /** Defines the target element from which drag starts. */
744
+ target?: Element;
745
+ /** Defines the type of the element to be dragged.
746
+ *
747
+ * @hidden
748
+ */
749
+ draggableType?: string;
750
+ /** Defines the selected row data.
751
+ *
752
+ * @isGenericType true
753
+ */
754
+ data?: Object[];
755
+ /** Defines the drag element from index. */
756
+ fromIndex?: number;
757
+ /** Defines the target element from index. */
758
+ dropIndex?: number;
759
+ /** Define the mouse event */
760
+ originalEvent?: object;
761
+ cancel?: boolean;
762
+ /** Defines drop position of the dragged record */
763
+ dropPosition?: string;
764
+ /** Defines the request type. */
765
+ requestType?: string;
766
+ /** Defines the modified records. */
767
+ modifiedRecords?: IGanttData[];
768
+ /** Defines the modified records. */
769
+ dropRecord?: IGanttData;
770
+ }
771
+
772
+ export interface IMouseMoveEventArgs {
773
+ /** Defines the row data. */
774
+ data?: IGanttData;
775
+ /** Defines the column. */
776
+ column?: Object;
777
+ /** Defines the timeline date. */
778
+ date?: Date;
779
+ /** Defines the original event. */
780
+ originalEvent?: Object;
781
+ /** Defines the predecessor. */
782
+ predecessor?: PredecessorTooltip;
783
+ /** Defines the indicator. */
784
+ indicator?: IIndicator;
785
+ /** Defines the event markers. */
786
+ eventMarkers?: EventMarkerModel;
787
+ }
788
+
789
+ export interface PdfExportProperties {
790
+ /** Defines the Pdf orientation. */
791
+ pageOrientation?: PageOrientation;
792
+ /** Defines the Pdf page size. */
793
+ pageSize?: PdfPageSize;
794
+ /** Enable the footer. */
795
+ enableFooter?: boolean;
796
+ /** Indicates whether to show the hidden columns in exported Pdf */
797
+ includeHiddenColumn?: boolean;
798
+ /** Defines the theme for exported Gantt */
799
+ theme?: PdfTheme;
800
+ /** Defines the style for exported Gantt */
801
+ ganttStyle?: IGanttStyle;
802
+ /** Defines the file name for the exported file */
803
+ fileName?: string;
804
+ /** Indicates to export current data or all data */
805
+ exportType?: ExportType;
806
+ /** Indicates whether to show the predecessors in exported Pdf */
807
+ showPredecessorLines?: boolean;
808
+ }
809
+ export interface PdfQueryCellInfoEventArgs {
810
+ /** Defines the column of the current cell. */
811
+ column?: ColumnModel;
812
+ /** Defines the style of the current cell. */
813
+ style?: PdfGanttCellStyle;
814
+ /** Defines the value of the current cell. */
815
+ value?: Date | string | number | boolean | Object;
816
+ /** Defines the data of the cell */
817
+ data?: Object;
818
+ /** Defines the current PDF cell */
819
+ cell?: PdfTreeGridCell;
820
+ }
821
+ export interface TimelineDetails {
822
+ startPoint?: number;
823
+ endPoint?: number;
824
+ startDate?: Date;
825
+ endDate?: Date;
826
+ dayStartDate?: Date;
827
+ totalWidth?: number;
828
+ startIndex?: number;
829
+ endIndex?: number;
830
+ pageStartPoint?: PointF;
831
+ }
832
+ export interface PageDetail {
833
+ startPoint?: PointF;
834
+ width?: number;
835
+ height?: number;
836
+ pageStartX?: number;
837
+ }
838
+ export interface TimelineFormat {
839
+ width?: number;
840
+ height?: number;
841
+ value?: string;
842
+ isWeekend?: boolean;
843
+ style?: PdfGanttCellStyle;
844
+ isFinished?: boolean;
845
+ completedWidth?: number;
846
+ startDate?: Date;
847
+ endDate?: Date;
848
+ }
849
+
850
+ export interface PdfGanttFontStyle {
851
+ /** Defines the font size */
852
+ fontSize?: number;
853
+ /** Defines the font style */
854
+ fontStyle?: PdfFontStyle;
855
+ /** Defines the font color */
856
+ fontColor?: PdfColor;
857
+ /** Defines the background color of the cell */
858
+ backgroundColor?: PdfColor;
859
+ /** Defines the border color of the cell */
860
+ borderColor?: PdfColor;
861
+ /** Defines the format of the cell value */
862
+ format?: PdfStringFormat;
863
+ }
864
+
865
+ export interface PdfGanttCellStyle extends PdfGanttFontStyle {
866
+ /** Defines the cell borders */
867
+ borders?: PdfBorders;
868
+ /** Defines the cell padding */
869
+ padding?: PdfPaddings;
870
+ }
871
+
872
+ export interface ITaskbarStyle {
873
+ /** Defines the parent taskbar background color */
874
+ parentTaskColor?: PdfColor;
875
+ /** Defines the parent progressbar background color */
876
+ parentProgressColor?: PdfColor;
877
+ /** Defines the parent taskbar border color */
878
+ parentTaskBorderColor?: PdfColor;
879
+ /** Defines the child taskbar background color */
880
+ taskColor?: PdfColor;
881
+ /** Defines the child progressbar background color */
882
+ progressColor?: PdfColor;
883
+ /** Defines the child taskbar border color */
884
+ taskBorderColor?: PdfColor;
885
+ /** Defines the milestone background color */
886
+ milestoneColor?: PdfColor;
887
+ /** Defines the progress text color */
888
+ progressFontColor?: PdfColor;
889
+ }
890
+
891
+ export interface IGanttStyle {
892
+ columnHeader?: PdfGanttCellStyle;
893
+ fontFamily?: PdfFontFamily;
894
+ cell?: PdfGanttCellStyle;
895
+ taskbar?: ITaskbarStyle;
896
+ label?: PdfGanttCellStyle;
897
+ timeline?: PdfGanttCellStyle;
898
+ chartGridLineColor?: PdfColor;
899
+ connectorLineColor?: PdfColor;
900
+ footer?: PdfGanttCellStyle;
901
+ }
902
+
903
+ export interface PdfQueryTimelineCellInfoEventArgs {
904
+ /** Defines the timeline cell */
905
+ timelineCell?: PdfGanttCellStyle;
906
+ /** Specify the value of the timeline cell */
907
+ value?: string;
908
+ }
909
+
910
+ export interface PdfQueryTaskbarInfoEventArgs {
911
+ /** Defines the Taskbar style */
912
+ taskbar?: ITaskbarStyle;
913
+ /** Specify the value of the task data */
914
+ data?: IGanttData;
915
+ }
916
+
917
+ export interface PdfColumnHeaderQueryCellInfoEventArgs {
918
+ /** Defines the PDF grid current cell. */
919
+ cell?: PdfTreeGridCell;
920
+ /** Defines the style of the current cell. */
921
+ style?: PdfGanttCellStyle;
922
+ /** Defines the current cell with column */
923
+ column?: ColumnModel;
924
+ /** Specify the value of the column header cell */
925
+ value?: string | Object ;
926
+ }
927
+
928
+ /** @private */
929
+ export interface TaskLabel {
930
+ value?: string;
931
+ left?: number;
932
+ isCompleted?: boolean;
933
+ isLeftCalculated?: boolean;
934
+ }
935
+
936
+ /**
937
+ * public Enum for `PdfHorizontalOverflowType`.
938
+ *
939
+ * @private
940
+ */
941
+ export enum PdfHorizontalOverflowType {
942
+ /**
943
+ * Specifies the type of `NextPage`.
944
+ *
945
+ * @private
946
+ */
947
+ NextPage,
948
+ /**
949
+ * Specifies the type of `LastPage`.
950
+ *
951
+ * @private
952
+ */
953
+ LastPage
954
+ }
955
+