@syncfusion/ej2-gantt 19.4.56 → 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 (211) hide show
  1. package/CHANGELOG.md +1072 -1060
  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 +274 -176
  6. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  7. package/dist/es6/ej2-gantt.es5.js +642 -534
  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 +11 -2
  91. package/src/gantt/actions/rowdragdrop.js +37 -15
  92. package/src/gantt/actions/taskbar-edit.js +24 -24
  93. package/src/gantt/base/date-processor.js +0 -1
  94. package/src/gantt/base/gantt-chart.js +9 -4
  95. package/src/gantt/base/gantt-model.d.ts +779 -779
  96. package/src/gantt/base/gantt.d.ts +27 -27
  97. package/src/gantt/base/gantt.js +22 -22
  98. package/src/gantt/base/splitter.js +1 -0
  99. package/src/gantt/base/task-processor.js +13 -13
  100. package/src/gantt/base/tree-grid.js +3 -1
  101. package/src/gantt/export/pdf-base/treegrid-layouter.js +13 -13
  102. package/src/gantt/export/pdf-connector-line.js +11 -11
  103. package/src/gantt/export/pdf-gantt.js +24 -24
  104. package/src/gantt/export/pdf-taskbar.js +11 -11
  105. package/src/gantt/export/pdf-treegrid.js +13 -13
  106. package/src/gantt/models/add-dialog-field-settings-model.d.ts +21 -21
  107. package/src/gantt/models/add-dialog-field-settings.js +19 -19
  108. package/src/gantt/models/day-working-time-model.d.ts +11 -11
  109. package/src/gantt/models/day-working-time.js +19 -19
  110. package/src/gantt/models/edit-dialog-field-settings-model.d.ts +21 -21
  111. package/src/gantt/models/edit-dialog-field-settings.js +19 -19
  112. package/src/gantt/models/edit-settings-model.d.ts +50 -50
  113. package/src/gantt/models/edit-settings.js +19 -19
  114. package/src/gantt/models/event-marker-model.d.ts +16 -16
  115. package/src/gantt/models/event-marker.js +19 -19
  116. package/src/gantt/models/filter-settings-model.d.ts +34 -34
  117. package/src/gantt/models/filter-settings.js +19 -19
  118. package/src/gantt/models/holiday-model.d.ts +21 -21
  119. package/src/gantt/models/holiday.js +19 -19
  120. package/src/gantt/models/label-settings-model.d.ts +16 -16
  121. package/src/gantt/models/label-settings.js +19 -19
  122. package/src/gantt/models/resource-fields-model.d.ts +21 -21
  123. package/src/gantt/models/resource-fields.js +19 -19
  124. package/src/gantt/models/search-settings-model.d.ts +56 -56
  125. package/src/gantt/models/search-settings.js +19 -19
  126. package/src/gantt/models/selection-settings-model.d.ts +35 -35
  127. package/src/gantt/models/selection-settings.js +19 -19
  128. package/src/gantt/models/sort-settings-model.d.ts +24 -24
  129. package/src/gantt/models/sort-settings.js +19 -19
  130. package/src/gantt/models/splitter-settings-model.d.ts +30 -30
  131. package/src/gantt/models/splitter-settings.js +19 -19
  132. package/src/gantt/models/task-fields-model.d.ts +110 -110
  133. package/src/gantt/models/task-fields.js +19 -19
  134. package/src/gantt/models/timeline-settings-model.d.ts +71 -71
  135. package/src/gantt/models/timeline-settings.js +19 -19
  136. package/src/gantt/models/tooltip-settings-model.d.ts +26 -26
  137. package/src/gantt/models/tooltip-settings.js +19 -19
  138. package/src/gantt/renderer/chart-rows.js +49 -37
  139. package/src/gantt/renderer/connector-line.js +22 -18
  140. package/src/gantt/renderer/event-marker.js +1 -0
  141. package/src/gantt/renderer/nonworking-day.js +13 -6
  142. package/src/gantt/renderer/timeline.d.ts +1 -0
  143. package/src/gantt/renderer/timeline.js +48 -12
  144. package/src/gantt/renderer/tooltip.js +11 -3
  145. package/styles/bootstrap-dark.css +442 -427
  146. package/styles/bootstrap.css +442 -433
  147. package/styles/bootstrap4.css +454 -479
  148. package/styles/bootstrap5-dark.css +457 -433
  149. package/styles/bootstrap5.css +457 -433
  150. package/styles/fabric-dark.css +438 -421
  151. package/styles/fabric.css +445 -428
  152. package/styles/fluent-dark.css +1938 -0
  153. package/styles/fluent-dark.scss +1 -0
  154. package/styles/fluent.css +1938 -0
  155. package/styles/fluent.scss +1 -0
  156. package/styles/gantt/_all.scss +2 -2
  157. package/styles/gantt/_bootstrap-dark-definition.scss +210 -156
  158. package/styles/gantt/_bootstrap-definition.scss +211 -157
  159. package/styles/gantt/_bootstrap4-definition.scss +213 -158
  160. package/styles/gantt/_bootstrap5-definition.scss +215 -162
  161. package/styles/gantt/_fabric-dark-definition.scss +211 -157
  162. package/styles/gantt/_fabric-definition.scss +211 -157
  163. package/styles/gantt/_fluent-dark-definition.scss +1 -0
  164. package/styles/gantt/_fluent-definition.scss +215 -162
  165. package/styles/gantt/_fusionnew-definition.scss +214 -0
  166. package/styles/gantt/_highcontrast-definition.scss +211 -157
  167. package/styles/gantt/_highcontrast-light-definition.scss +211 -157
  168. package/styles/gantt/_layout.scss +1446 -1027
  169. package/styles/gantt/_material-dark-definition.scss +212 -157
  170. package/styles/gantt/_material-definition.scss +212 -157
  171. package/styles/gantt/_material3-definition.scss +215 -0
  172. package/styles/gantt/_tailwind-definition.scss +215 -161
  173. package/styles/gantt/_theme.scss +702 -668
  174. package/styles/gantt/bootstrap-dark.css +442 -427
  175. package/styles/gantt/bootstrap.css +442 -433
  176. package/styles/gantt/bootstrap4.css +454 -479
  177. package/styles/gantt/bootstrap5-dark.css +457 -433
  178. package/styles/gantt/bootstrap5.css +457 -433
  179. package/styles/gantt/fabric-dark.css +438 -421
  180. package/styles/gantt/fabric.css +445 -428
  181. package/styles/gantt/fluent-dark.css +1938 -0
  182. package/styles/gantt/fluent-dark.scss +22 -0
  183. package/styles/gantt/fluent.css +1938 -0
  184. package/styles/gantt/fluent.scss +22 -0
  185. package/styles/gantt/highcontrast-light.css +405 -405
  186. package/styles/gantt/highcontrast.css +444 -456
  187. package/styles/gantt/icons/_bootstrap-dark.scss +124 -113
  188. package/styles/gantt/icons/_bootstrap.scss +124 -113
  189. package/styles/gantt/icons/_bootstrap4.scss +124 -113
  190. package/styles/gantt/icons/_bootstrap5.scss +124 -112
  191. package/styles/gantt/icons/_fabric-dark.scss +124 -112
  192. package/styles/gantt/icons/_fabric.scss +124 -112
  193. package/styles/gantt/icons/_fluent-dark.scss +1 -0
  194. package/styles/gantt/icons/_fluent.scss +124 -112
  195. package/styles/gantt/icons/_fusionnew.scss +120 -0
  196. package/styles/gantt/icons/_highcontrast.scss +124 -112
  197. package/styles/gantt/icons/_material-dark.scss +124 -112
  198. package/styles/gantt/icons/_material.scss +124 -112
  199. package/styles/gantt/icons/_material3.scss +124 -0
  200. package/styles/gantt/icons/_tailwind-dark.scss +124 -113
  201. package/styles/gantt/icons/_tailwind.scss +124 -113
  202. package/styles/gantt/material-dark.css +446 -417
  203. package/styles/gantt/material.css +445 -419
  204. package/styles/gantt/tailwind-dark.css +452 -482
  205. package/styles/gantt/tailwind.css +449 -479
  206. package/styles/highcontrast-light.css +405 -405
  207. package/styles/highcontrast.css +444 -456
  208. package/styles/material-dark.css +446 -417
  209. package/styles/material.css +445 -419
  210. package/styles/tailwind-dark.css +452 -482
  211. package/styles/tailwind.css +449 -479
@@ -503,7 +503,7 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
503
503
  * To show notes column cell values inside the cell or in tooltip.
504
504
  *
505
505
  * @default false
506
-
506
+ * @deprecated
507
507
  */
508
508
  showInlineNotes: boolean;
509
509
  /**
@@ -822,14 +822,14 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
822
822
  /**
823
823
  * Triggers before Gantt data is exported to Excel file.
824
824
  *
825
-
825
+ * @deprecated
826
826
  * @event beforeExcelExport
827
827
  */
828
828
  beforeExcelExport: EmitType<Object>;
829
829
  /**
830
830
  * Triggers after Gantt data is exported to Excel file.
831
831
  *
832
-
832
+ * @deprecated
833
833
  * @event excelExportComplete
834
834
  */
835
835
  excelExportComplete: EmitType<ExcelExportCompleteArgs>;
@@ -837,7 +837,7 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
837
837
  * Triggers before exporting each cell to Excel file.
838
838
  * You can also customize the Excel cells.
839
839
  *
840
-
840
+ * @deprecated
841
841
  * @event excelQueryCellInfo
842
842
  */
843
843
  excelQueryCellInfo: EmitType<ExcelQueryCellInfoEventArgs>;
@@ -845,7 +845,7 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
845
845
  * Triggers before exporting each header cell to Excel file.
846
846
  * You can also customize the Excel cells.
847
847
  *
848
-
848
+ * @deprecated
849
849
  * @event excelHeaderQueryCellInfo
850
850
  */
851
851
  excelHeaderQueryCellInfo: EmitType<ExcelHeaderQueryCellInfoEventArgs>;
@@ -853,14 +853,14 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
853
853
  * Triggers when row elements are dragged (moved) continuously.
854
854
  *
855
855
  * @event rowDrag
856
-
856
+ * @deprecated
857
857
  */
858
858
  rowDrag: EmitType<RowDragEventArgs>;
859
859
  /**
860
860
  * Triggers when row element’s drag(move) starts.
861
861
  *
862
862
  * @event rowDragStart
863
-
863
+ * @deprecated
864
864
  */
865
865
  rowDragStart: EmitType<RowDragEventArgs>;
866
866
  /**
@@ -975,21 +975,21 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
975
975
  /**
976
976
  * Triggers when column resize starts.
977
977
  *
978
-
978
+ * @deprecated
979
979
  * @event resizeStart
980
980
  */
981
981
  resizeStart: EmitType<ResizeArgs>;
982
982
  /**
983
983
  * Triggers on column resizing.
984
984
  *
985
-
985
+ * @deprecated
986
986
  * @event resizing
987
987
  */
988
988
  resizing: EmitType<ResizeArgs>;
989
989
  /**
990
990
  * Triggers when column resize ends.
991
991
  *
992
-
992
+ * @deprecated
993
993
  * @event resizeStop
994
994
  */
995
995
  resizeStop: EmitType<ResizeArgs>;
@@ -1014,21 +1014,21 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
1014
1014
  /**
1015
1015
  * Triggers when column header element drag (move) starts.
1016
1016
  *
1017
-
1017
+ * @deprecated
1018
1018
  * @event columnDragStart
1019
1019
  */
1020
1020
  columnDragStart: EmitType<ColumnDragEventArgs>;
1021
1021
  /**
1022
1022
  * Triggers when column header element is dragged (moved) continuously.
1023
1023
  *
1024
-
1024
+ * @deprecated
1025
1025
  * @event columnDrag
1026
1026
  */
1027
1027
  columnDrag: EmitType<ColumnDragEventArgs>;
1028
1028
  /**
1029
1029
  * Triggers when a column header element is dropped on the target column.
1030
1030
  *
1031
-
1031
+ * @deprecated
1032
1032
  * @event columnDrop
1033
1033
  */
1034
1034
  columnDrop: EmitType<ColumnDragEventArgs>;
@@ -1053,7 +1053,7 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
1053
1053
  /**
1054
1054
  * Triggers before deselecting the selected row.
1055
1055
  *
1056
-
1056
+ * @deprecated
1057
1057
  * @event rowDeselecting
1058
1058
  */
1059
1059
  rowDeselecting: EmitType<RowDeselectEventArgs>;
@@ -1078,14 +1078,14 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
1078
1078
  /**
1079
1079
  * Triggers before the selected cell is deselecting.
1080
1080
  *
1081
-
1081
+ * @deprecated
1082
1082
  * @event cellDeselecting
1083
1083
  */
1084
1084
  cellDeselecting: EmitType<CellDeselectEventArgs>;
1085
1085
  /**
1086
1086
  * Triggers when a particular selected cell is deselected.
1087
1087
  *
1088
-
1088
+ * @deprecated
1089
1089
  * @event cellDeselected
1090
1090
  */
1091
1091
  cellDeselected: EmitType<CellDeselectEventArgs>;
@@ -1110,7 +1110,7 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
1110
1110
  /**
1111
1111
  * Triggers before column menu opens.
1112
1112
  *
1113
-
1113
+ * @deprecated
1114
1114
  * @event columnMenuOpen
1115
1115
  */
1116
1116
  columnMenuOpen: EmitType<ColumnMenuOpenEventArgs>;
@@ -1142,21 +1142,21 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
1142
1142
  /**
1143
1143
  * This event will be triggered when click on taskbar element.
1144
1144
  *
1145
-
1145
+ * @deprecated
1146
1146
  * @event onTaskbarClick
1147
1147
  */
1148
1148
  onTaskbarClick: EmitType<ITaskbarClickEventArgs>;
1149
1149
  /**
1150
1150
  * This event will be triggered when double click on record.
1151
1151
  *
1152
-
1152
+ * @deprecated
1153
1153
  * @event recordDoubleClick
1154
1154
  */
1155
1155
  recordDoubleClick: EmitType<RecordDoubleClickEventArgs>;
1156
1156
  /**
1157
1157
  * This event will be triggered when mouse move on Gantt.
1158
1158
  *
1159
-
1159
+ * @deprecated
1160
1160
  * @event onMouseMove
1161
1161
  */
1162
1162
  onMouseMove: EmitType<IMouseMoveEventArgs>;
@@ -1164,42 +1164,42 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
1164
1164
  * Triggers before Gantt data is exported to PDF document.
1165
1165
  *
1166
1166
  * @event beforePdfExport
1167
-
1167
+ * @deprecated
1168
1168
  */
1169
1169
  beforePdfExport: EmitType<Object>;
1170
1170
  /**
1171
1171
  * Triggers after TreeGrid data is exported to PDF document.
1172
1172
  *
1173
1173
  * @event pdfExportComplete
1174
-
1174
+ * @deprecated
1175
1175
  */
1176
1176
  pdfExportComplete: EmitType<Object>;
1177
1177
  /**
1178
1178
  * Triggers before exporting each cell to PDF document. You can also customize the PDF cells.
1179
1179
  *
1180
1180
  * @event pdfQueryCellInfo
1181
-
1181
+ * @deprecated
1182
1182
  */
1183
1183
  pdfQueryCellInfo: EmitType<PdfQueryCellInfoEventArgs>;
1184
1184
  /**
1185
1185
  * Triggers before exporting each taskbar to PDF document. You can also customize the taskbar.
1186
1186
  *
1187
1187
  * @event pdfQueryTaskbarInfo
1188
-
1188
+ * @deprecated
1189
1189
  */
1190
1190
  pdfQueryTaskbarInfo: EmitType<Object>;
1191
1191
  /**
1192
1192
  * Triggers before exporting each cell to PDF document. You can also customize the PDF cells.
1193
1193
  *
1194
1194
  * @event pdfQueryTimelineCellInfo
1195
-
1195
+ * @deprecated
1196
1196
  */
1197
1197
  pdfQueryTimelineCellInfo: EmitType<PdfQueryTimelineCellInfoEventArgs>;
1198
1198
  /**
1199
1199
  * Triggers before exporting each header cell to PDF document. You can also customize the PDF cells.
1200
1200
  *
1201
1201
  * @event pdfColumnHeaderQueryCellInfo
1202
-
1202
+ * @deprecated
1203
1203
  */
1204
1204
  pdfColumnHeaderQueryCellInfo: EmitType<PdfColumnHeaderQueryCellInfoEventArgs>;
1205
1205
  /**
@@ -1337,7 +1337,7 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
1337
1337
  *
1338
1338
  * @param {IGanttData[]} records - Defines record collection.
1339
1339
  * @returns {IGanttData[]} .
1340
-
1340
+ * @deprecated
1341
1341
  */
1342
1342
  getExpandedRecords(records: IGanttData[]): IGanttData[];
1343
1343
  /**
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Component, createElement, Complex, addClass, removeClass, Event, formatUnit, Browser } from '@syncfusion/ej2-base';
21
21
  import { Internationalization, extend, getValue, isObjectArray, isObject, setValue, isUndefined } from '@syncfusion/ej2-base';
22
22
  import { Property, NotifyPropertyChanges, L10n, EventHandler } from '@syncfusion/ej2-base';
@@ -554,7 +554,7 @@ var Gantt = /** @class */ (function (_super) {
554
554
  *
555
555
  * @param {IGanttData[]} records - Defines record collection.
556
556
  * @returns {IGanttData[]} .
557
-
557
+ * @deprecated
558
558
  */
559
559
  Gantt.prototype.getExpandedRecords = function (records) {
560
560
  var _this = this;
@@ -784,7 +784,7 @@ var Gantt = /** @class */ (function (_super) {
784
784
  gridHeight = 'calc(100% - ' + timelineContainer + 'px)';
785
785
  // eslint-disable-next-line
786
786
  this.element.getElementsByClassName('e-chart-scroll-container e-content')[0]['style'].height = 'calc(100% - ' + timelineContainer + 'px)';
787
- if (!isNullOrUndefined(this.toolbarModule)) {
787
+ if (!isNullOrUndefined(this.toolbarModule) && !isNullOrUndefined(this.toolbarModule.element)) {
788
788
  this.splitterElement.style.height = 'calc(100% - ' + this.toolbarModule.element.offsetHeight + 'px)';
789
789
  }
790
790
  else {
@@ -1320,7 +1320,7 @@ var Gantt = /** @class */ (function (_super) {
1320
1320
  */
1321
1321
  Gantt.prototype.updateGridLineContainerHeight = function () {
1322
1322
  if (this.chartVerticalLineContainer) {
1323
- this.chartVerticalLineContainer.style.height = formatUnit(this.getContentHeight());
1323
+ this.chartVerticalLineContainer.style.height = formatUnit(this.contentHeight);
1324
1324
  }
1325
1325
  };
1326
1326
  /**
@@ -60,6 +60,7 @@ var Splitter = /** @class */ (function () {
60
60
  _this.splitterObject.paneSettings[1].size = null;
61
61
  _this.splitterObject.paneSettings[1].size = _this.getSpliterPositionInPercentage(_this.splitterPreviousPositionChart);
62
62
  }
63
+ _this.parent.timelineModule.updateTimelineAfterZooming(_this.parent.timelineModule.timelineEndDate, true);
63
64
  callBackPromise.resolve(splitterResizedArgs);
64
65
  });
65
66
  return callBackPromise;
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  import { isNullOrUndefined, getValue, extend, setValue } from '@syncfusion/ej2-base';
15
15
  import { getUid } from '@syncfusion/ej2-grids';
16
16
  import { DataManager, Query } from '@syncfusion/ej2-data';
@@ -92,6 +92,8 @@ var GanttTreeGrid = /** @class */ (function () {
92
92
  GanttTreeGrid.prototype.renderTreeGrid = function () {
93
93
  this.composeProperties();
94
94
  this.bindEvents();
95
+ var root = 'root';
96
+ this.parent.treeGrid[root] = this.parent[root] ? this.parent[root] : this.parent;
95
97
  this.parent.treeGrid.appendTo(this.treeGridElement);
96
98
  this.wireEvents();
97
99
  };
@@ -155,7 +157,7 @@ var GanttTreeGrid = /** @class */ (function () {
155
157
  var scrollWidth = this.getScrollbarWidth();
156
158
  var isMobile = /Android|Mac|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
157
159
  if (scrollWidth !== 0) {
158
- content.style.cssText += 'width: calc(100% + ' + scrollWidth + 'px);';
160
+ content.style.cssText += 'width: calc(100% + ' + (scrollWidth + 1) + 'px);';
159
161
  }
160
162
  else {
161
163
  content.classList.add('e-gantt-scroll-padding');
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
15
15
  import { PdfBorders, TemporaryDictionary } from './index';
16
16
  import { PdfHorizontalOverflowType } from '../../base/interface';
@@ -1,14 +1,14 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
12
  import { PointF, PdfPage, PdfPen, PdfSolidBrush, RectangleF, SizeF } from '@syncfusion/ej2-pdf-export';
13
13
  import { pixelToPoint } from '../base/utils';
14
14
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
@@ -1,27 +1,27 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __assign = (this && this.__assign) || function () {
15
- __assign = Object.assign || function(t) {
16
- for (var s, i = 1, n = arguments.length; i < n; i++) {
17
- s = arguments[i];
18
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
19
- t[p] = s[p];
20
- }
21
- return t;
22
- };
23
- return __assign.apply(this, arguments);
24
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __assign = (this && this.__assign) || function () {
15
+ __assign = Object.assign || function(t) {
16
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
17
+ s = arguments[i];
18
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
19
+ t[p] = s[p];
20
+ }
21
+ return t;
22
+ };
23
+ return __assign.apply(this, arguments);
24
+ };
25
25
  import { PdfGanttTaskbarCollection } from './pdf-taskbar';
26
26
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
27
27
  import { PointF, PdfPen, PdfColor } from '@syncfusion/ej2-pdf-export';
@@ -1,14 +1,14 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
12
  import { PointF, PdfStringLayouter, PdfPen, PdfSolidBrush, RectangleF, SizeF, PdfStandardFont, PdfFontStyle, PdfStringFormat, PdfVerticalAlignment, PdfTextAlignment, PdfWordWrapType } from '@syncfusion/ej2-pdf-export';
13
13
  import { pixelToPoint } from '../base/utils';
14
14
  import { isNullOrUndefined } from '@syncfusion/ej2-base';
@@ -1,16 +1,16 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
14
  import { PdfTreeGridColumnCollection, PdfTreeGridHeaderCollection, PdfTreeGridRowCollection } from './pdf-base/index';
15
15
  import { PdfTreeGridStyle, PdfBorders, PdfTreeGridLayouter } from './pdf-base/index';
16
16
  import { PdfLayoutElement, RectangleF, PdfLayoutFormat, PointF, SizeF } from '@syncfusion/ej2-pdf-export';
@@ -1,4 +1,4 @@
1
- import { Property, ChildProperty } from '@syncfusion/ej2-base';import { DialogFieldType } from '../base/enum';
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
2
 
3
3
  /**
4
4
  * Interface for a class AddDialogFieldSettings
@@ -6,29 +6,29 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';import { DialogFi
6
6
  export interface AddDialogFieldSettingsModel {
7
7
 
8
8
  /**
9
- * Defines types of tab which contains editor for columns.
10
- * * `General` - Defines tab container type as general.
11
- * * `Dependency` - Defines tab as dependency editor.
12
- * * `Resources` - Defines tab as resources editor.
13
- * * `Notes` - Defines tab as notes editor.
14
- * * `Custom` - Defines tab as custom column editor.
15
- *
16
- * @default null
17
- */
18
- type?: DialogFieldType;
9
+ * Defines types of tab which contains editor for columns.
10
+ * * `General` - Defines tab container type as general.
11
+ * * `Dependency` - Defines tab as dependency editor.
12
+ * * `Resources` - Defines tab as resources editor.
13
+ * * `Notes` - Defines tab as notes editor.
14
+ * * `Custom` - Defines tab as custom column editor.
15
+ *
16
+ * @default null
17
+ */
18
+ type?: DialogFieldType;
19
19
 
20
20
  /**
21
- * Defines header text of tab item.
22
- *
23
- * @default null
24
- */
25
- headerText?: string;
21
+ * Defines header text of tab item.
22
+ *
23
+ * @default null
24
+ */
25
+ headerText?: string;
26
26
 
27
27
  /**
28
- * Defines edited column fields placed inside the tab.
29
- *
30
- * @default null
31
- */
32
- fields?: string[];
28
+ * Defines edited column fields placed inside the tab.
29
+ *
30
+ * @default null
31
+ */
32
+ fields?: string[];
33
33
 
34
34
  }
@@ -1,22 +1,22 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- extendStatics(d, b);
10
- function __() { this.constructor = d; }
11
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
- };
13
- })();
14
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
- return c > 3 && r && Object.defineProperty(target, key, r), r;
19
- };
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
15
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
16
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
17
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
18
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
19
+ };
20
20
  import { Property, ChildProperty } from '@syncfusion/ej2-base';
21
21
  /**
22
22
  * Defines dialog fields of add dialog.
@@ -1,4 +1,4 @@
1
- import { Property, ChildProperty } from '@syncfusion/ej2-base';
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
2
 
3
3
  /**
4
4
  * Interface for a class DayWorkingTime
@@ -6,17 +6,17 @@ import { Property, ChildProperty } from '@syncfusion/ej2-base';
6
6
  export interface DayWorkingTimeModel {
7
7
 
8
8
  /**
9
- * Defines start time of working time range.
10
- *
11
- * @default null
12
- */
13
- from?: number;
9
+ * Defines start time of working time range.
10
+ *
11
+ * @default null
12
+ */
13
+ from?: number;
14
14
 
15
15
  /**
16
- * Defines end time of working time range.
17
- *
18
- * @default null
19
- */
20
- to?: number;
16
+ * Defines end time of working time range.
17
+ *
18
+ * @default null
19
+ */
20
+ to?: number;
21
21
 
22
22
  }