@syncfusion/ej2-gantt 20.2.43 → 20.2.44

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 (64) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/ej2-gantt.umd.min.js +2 -2
  3. package/dist/ej2-gantt.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-gantt.es2015.js +69 -38
  5. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  6. package/dist/es6/ej2-gantt.es5.js +69 -38
  7. package/dist/es6/ej2-gantt.es5.js.map +1 -1
  8. package/dist/global/ej2-gantt.min.js +2 -2
  9. package/dist/global/ej2-gantt.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +11 -11
  12. package/src/gantt/actions/cell-edit.js +3 -0
  13. package/src/gantt/actions/critical-path.js +2 -8
  14. package/src/gantt/actions/edit.js +1 -1
  15. package/src/gantt/base/date-processor.js +1 -1
  16. package/src/gantt/base/gantt-chart.js +17 -3
  17. package/src/gantt/base/gantt.d.ts +1 -0
  18. package/src/gantt/base/gantt.js +46 -26
  19. package/styles/bootstrap-dark.css +4 -4
  20. package/styles/bootstrap.css +4 -4
  21. package/styles/bootstrap4.css +4 -4
  22. package/styles/bootstrap5-dark.css +4 -4
  23. package/styles/bootstrap5.css +4 -4
  24. package/styles/fabric-dark.css +4 -4
  25. package/styles/fabric.css +4 -4
  26. package/styles/fluent-dark.css +4 -4
  27. package/styles/fluent.css +4 -4
  28. package/styles/gantt/_layout.scss +9 -19
  29. package/styles/gantt/_theme.scss +1 -19
  30. package/styles/gantt/bootstrap-dark.css +4 -4
  31. package/styles/gantt/bootstrap.css +4 -4
  32. package/styles/gantt/bootstrap4.css +4 -4
  33. package/styles/gantt/bootstrap5-dark.css +4 -4
  34. package/styles/gantt/bootstrap5.css +4 -4
  35. package/styles/gantt/fabric-dark.css +4 -4
  36. package/styles/gantt/fabric.css +4 -4
  37. package/styles/gantt/fluent-dark.css +4 -4
  38. package/styles/gantt/fluent.css +4 -4
  39. package/styles/gantt/highcontrast-light.css +4 -4
  40. package/styles/gantt/highcontrast.css +4 -4
  41. package/styles/gantt/icons/_bootstrap-dark.scss +3 -3
  42. package/styles/gantt/icons/_bootstrap.scss +3 -3
  43. package/styles/gantt/icons/_bootstrap4.scss +5 -5
  44. package/styles/gantt/icons/_bootstrap5.scss +3 -3
  45. package/styles/gantt/icons/_fabric-dark.scss +3 -3
  46. package/styles/gantt/icons/_fabric.scss +3 -3
  47. package/styles/gantt/icons/_fluent.scss +3 -3
  48. package/styles/gantt/icons/_fusionnew.scss +3 -3
  49. package/styles/gantt/icons/_highcontrast.scss +3 -3
  50. package/styles/gantt/icons/_material-dark.scss +3 -3
  51. package/styles/gantt/icons/_material.scss +3 -3
  52. package/styles/gantt/icons/_material3.scss +3 -3
  53. package/styles/gantt/icons/_tailwind-dark.scss +3 -3
  54. package/styles/gantt/icons/_tailwind.scss +3 -3
  55. package/styles/gantt/material-dark.css +4 -4
  56. package/styles/gantt/material.css +4 -4
  57. package/styles/gantt/tailwind-dark.css +4 -4
  58. package/styles/gantt/tailwind.css +4 -4
  59. package/styles/highcontrast-light.css +4 -4
  60. package/styles/highcontrast.css +4 -4
  61. package/styles/material-dark.css +4 -4
  62. package/styles/material.css +4 -4
  63. package/styles/tailwind-dark.css +4 -4
  64. package/styles/tailwind.css +4 -4
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.2.43
3
+ * version : 20.2.44
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-gantt@*",
3
- "_id": "@syncfusion/ej2-gantt@20.2.39",
3
+ "_id": "@syncfusion/ej2-gantt@20.2.43",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-Hfi4X3srD9FkRRuV7ufhFNi79MR6Pc42eKiD9mkbote2zRiRjBppCutfyU2q745wbc+EFmFz7zoXA4/Za3Q6ww==",
5
+ "_integrity": "sha512-VDzQ7VV68IMZBz7NCb1rHFjC15ida3IqeFVfF+z3SIXddalUkhZSeNITlKsY+s+3ZOIWiKG7ch9XDY/mQkugTQ==",
6
6
  "_location": "/@syncfusion/ej2-gantt",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -23,8 +23,8 @@
23
23
  "/@syncfusion/ej2-react-gantt",
24
24
  "/@syncfusion/ej2-vue-gantt"
25
25
  ],
26
- "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.2.39.tgz",
27
- "_shasum": "04527bd8b9bd3a5b245fb2223dd6dc9c2ccd93c2",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.2.43.tgz",
27
+ "_shasum": "0ee7a7133101b7e2886d1f4064f27cccdefa4eac",
28
28
  "_spec": "@syncfusion/ej2-gantt@*",
29
29
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
30
30
  "author": {
@@ -39,15 +39,15 @@
39
39
  "@syncfusion/ej2-buttons": "~20.2.43",
40
40
  "@syncfusion/ej2-calendars": "~20.2.43",
41
41
  "@syncfusion/ej2-data": "~20.2.43",
42
- "@syncfusion/ej2-dropdowns": "~20.2.43",
43
- "@syncfusion/ej2-grids": "~20.2.43",
44
- "@syncfusion/ej2-inputs": "~20.2.43",
42
+ "@syncfusion/ej2-dropdowns": "~20.2.44",
43
+ "@syncfusion/ej2-grids": "~20.2.44",
44
+ "@syncfusion/ej2-inputs": "~20.2.44",
45
45
  "@syncfusion/ej2-layouts": "~20.2.43",
46
46
  "@syncfusion/ej2-lists": "~20.2.43",
47
- "@syncfusion/ej2-navigations": "~20.2.43",
47
+ "@syncfusion/ej2-navigations": "~20.2.44",
48
48
  "@syncfusion/ej2-popups": "~20.2.43",
49
- "@syncfusion/ej2-richtexteditor": "~20.2.43",
50
- "@syncfusion/ej2-treegrid": "~20.2.43"
49
+ "@syncfusion/ej2-richtexteditor": "~20.2.44",
50
+ "@syncfusion/ej2-treegrid": "~20.2.44"
51
51
  },
52
52
  "deprecated": false,
53
53
  "description": "Essential JS 2 Gantt Component",
@@ -75,6 +75,6 @@
75
75
  "url": "git+https://github.com/syncfusion/ej2-gantt.git"
76
76
  },
77
77
  "typings": "index.d.ts",
78
- "version": "20.2.43",
78
+ "version": "20.2.44",
79
79
  "sideEffects": false
80
80
  }
@@ -190,6 +190,9 @@ var CellEdit = /** @class */ (function () {
190
190
  this.parent.editModule.endEditAction(args);
191
191
  }
192
192
  this.isCellEdit = false;
193
+ if (!isNullOrUndefined(this.parent.editModule.cellEditModule.editedColumn)) {
194
+ this.parent.editModule.cellEditModule.editedColumn = null;
195
+ }
193
196
  if (!isNOU(this.parent.toolbarModule)) {
194
197
  this.parent.toolbarModule.refreshToolbarItems();
195
198
  }
@@ -1,5 +1,5 @@
1
1
  import { isNullOrUndefined } from "@syncfusion/ej2-base";
2
- import { addClass, removeClass } from '@syncfusion/ej2-base';
2
+ import { addClass } from '@syncfusion/ej2-base';
3
3
  import * as cls from '../base/css-constants';
4
4
  var CriticalPath = /** @class */ (function () {
5
5
  function CriticalPath(parent) {
@@ -646,10 +646,7 @@ var CriticalPath = /** @class */ (function () {
646
646
  /* eslint-disable-next-line */
647
647
  CriticalPath.prototype.criticalConnectorLine = function (criticalPathIds, collection, condition, collectionTaskId) {
648
648
  var ganttChartElement = this.parent.ganttChartModule.chartElement;
649
- removeClass(ganttChartElement.querySelectorAll('.e-gantt-child-taskbar-inner-div'), cls.criticalChildTaskBarInnerDiv);
650
- removeClass(ganttChartElement.querySelectorAll('.e-gantt-child-progressbar-inner-div'), cls.criticalChildProgressBarInnerDiv);
651
- removeClass(ganttChartElement.querySelectorAll('.e-milestone-top'), cls.criticalMilestoneTop);
652
- removeClass(ganttChartElement.querySelectorAll('.e-milestone-bottom'), cls.criticalMilestoneBottom);
649
+ this.parent.removeCriticalPathStyles();
653
650
  for (var i = 0; i < criticalPathIds.length; i++) {
654
651
  var criticalData = void 0;
655
652
  if (this.parent.viewType === 'ProjectView') {
@@ -684,9 +681,6 @@ var CriticalPath = /** @class */ (function () {
684
681
  }
685
682
  }
686
683
  }
687
- removeClass(this.parent.element.querySelectorAll('.e-line'), cls.criticalConnectorLine);
688
- removeClass(this.parent.element.querySelectorAll('.e-connector-line-right-arrow'), cls.criticalConnectorLineRightArrow);
689
- removeClass(this.parent.element.querySelectorAll('.e-connector-line-left-arrow'), cls.criticalConnectorLineLeftArrow);
690
684
  if (collection.length !== 0) {
691
685
  var index = 0;
692
686
  var currentdata = void 0;
@@ -2663,7 +2663,7 @@ var Edit = /** @class */ (function () {
2663
2663
  else {
2664
2664
  if (_this.parent.viewType === 'ProjectView') {
2665
2665
  if ((rowPosition === 'Top' || rowPosition === 'Bottom') ||
2666
- ((rowPosition === 'Above' || rowPosition === 'Below' || rowPosition === 'Child') && !args.data.parentItem)) {
2666
+ ((rowPosition === 'Above' || rowPosition === 'Below' || rowPosition === 'Child') || isNullOrUndefined(rowPosition) && !args.data.parentItem)) {
2667
2667
  if (args.data instanceof Array) {
2668
2668
  _this.updateRealDataSource(args.data, rowPosition);
2669
2669
  }
@@ -165,7 +165,7 @@ var DateProcessor = /** @class */ (function () {
165
165
  if (hour < this.parent.defaultStartTime) {
166
166
  this.setTime(this.parent.defaultStartTime, cloneDate);
167
167
  }
168
- else if (hour >= this.parent.defaultEndTime) {
168
+ else if (hour > this.parent.defaultEndTime) {
169
169
  cloneDate.setDate(cloneDate.getDate() + 1);
170
170
  this.setTime(this.parent.defaultStartTime, cloneDate);
171
171
  }
@@ -718,7 +718,7 @@ var GanttChart = /** @class */ (function () {
718
718
  * @private
719
719
  */
720
720
  GanttChart.prototype.expandedGanttRow = function (args) {
721
- if (isNullOrUndefined(args['gridRow']) && this.parent.enableVirtualization) {
721
+ if ((isNullOrUndefined(args['gridRow']) || isNullOrUndefined(args['chartRow'])) && this.parent.enableVirtualization) {
722
722
  return;
723
723
  }
724
724
  var record = getValue('data', args);
@@ -963,7 +963,7 @@ var GanttChart = /** @class */ (function () {
963
963
  if (isTab) {
964
964
  if (this.parent.editSettings.allowNextRowEdit) {
965
965
  var rowData = this.parent.currentViewData[this.focusedRowIndex];
966
- var columnName = this.parent.ganttColumns[nextElement.getAttribute('aria-colindex')].field;
966
+ var columnName = this.parent.ganttColumns[nextElement.getAttribute('data-colindex')].field;
967
967
  if (rowData.hasChildRecords) {
968
968
  if (columnName === this.parent.taskFields.endDate || columnName ===
969
969
  this.parent.taskFields.duration || columnName === this.parent.taskFields.dependency ||
@@ -977,7 +977,9 @@ var GanttChart = /** @class */ (function () {
977
977
  }
978
978
  else {
979
979
  this.parent.treeGrid.grid.notify('key-pressed', e);
980
- this.parent.treeGrid.editCell(this.focusedRowIndex, columnName); // eslint-disable-line
980
+ if (isInEditedState) {
981
+ this.parent.treeGrid.editCell(this.focusedRowIndex, columnName); // eslint-disable-line
982
+ }
981
983
  }
982
984
  }
983
985
  else {
@@ -1197,6 +1199,18 @@ var GanttChart = /** @class */ (function () {
1197
1199
  childElement = element;
1198
1200
  }
1199
1201
  }
1202
+ if (element.classList.contains('e-right-label-temp-container') || element.classList.contains('e-left-label-temp-container') || element.classList.contains('e-indicator-span')) {
1203
+ if (focus === 'add') {
1204
+ element.setAttribute('tabIndex', '0');
1205
+ addClass([element], 'e-active-container');
1206
+ element.focus();
1207
+ }
1208
+ else {
1209
+ removeClass([element], 'e-active-container');
1210
+ element.setAttribute('tabIndex', '-1');
1211
+ element.blur();
1212
+ }
1213
+ }
1200
1214
  if (focus === 'add' && !isNullOrUndefined(childElement)) {
1201
1215
  element.setAttribute('tabIndex', '0');
1202
1216
  addClass([childElement], 'e-active-container');
@@ -1297,6 +1297,7 @@ export declare class Gantt extends Component<HTMLElement> implements INotifyProp
1297
1297
  * @private
1298
1298
  */
1299
1299
  renderGantt(isChange?: boolean): void;
1300
+ removeCriticalPathStyles(): void;
1300
1301
  private wireEvents;
1301
1302
  /**
1302
1303
  * Method trigger while user perform window resize.
@@ -418,6 +418,16 @@ var Gantt = /** @class */ (function (_super) {
418
418
  this.renderChartVerticalLines();
419
419
  }
420
420
  };
421
+ Gantt.prototype.removeCriticalPathStyles = function () {
422
+ var ganttChartElement = this.ganttChartModule.chartElement;
423
+ removeClass(ganttChartElement.querySelectorAll('.e-gantt-child-taskbar-inner-div'), cls.criticalChildTaskBarInnerDiv);
424
+ removeClass(ganttChartElement.querySelectorAll('.e-gantt-child-progressbar-inner-div'), cls.criticalChildProgressBarInnerDiv);
425
+ removeClass(ganttChartElement.querySelectorAll('.e-milestone-top'), cls.criticalMilestoneTop);
426
+ removeClass(ganttChartElement.querySelectorAll('.e-milestone-bottom'), cls.criticalMilestoneBottom);
427
+ removeClass(this.element.querySelectorAll('.e-line'), cls.criticalConnectorLine);
428
+ removeClass(this.element.querySelectorAll('.e-connector-line-right-arrow'), cls.criticalConnectorLineRightArrow);
429
+ removeClass(this.element.querySelectorAll('.e-connector-line-left-arrow'), cls.criticalConnectorLineLeftArrow);
430
+ };
421
431
  Gantt.prototype.wireEvents = function () {
422
432
  if (this.allowKeyboard) {
423
433
  this.keyboardModule = new KeyboardEvents(this.element, {
@@ -581,139 +591,140 @@ var Gantt = /** @class */ (function (_super) {
581
591
  * @private
582
592
  */
583
593
  Gantt.prototype.getZoomingLevels = function () {
594
+ var _WeekStartDay = this.timelineSettings.weekStartDay;
584
595
  var zoomingLevels = [
585
596
  {
586
597
  topTier: { unit: 'Year', format: 'yyyy', count: 50 },
587
598
  bottomTier: { unit: 'Year', format: 'yyyy', count: 10 }, timelineUnitSize: 99, level: 0,
588
- timelineViewMode: 'Year', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
599
+ timelineViewMode: 'Year', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
589
600
  },
590
601
  {
591
602
  topTier: { unit: 'Year', format: 'yyyy', count: 20 },
592
603
  bottomTier: { unit: 'Year', format: 'yyyy', count: 5 }, timelineUnitSize: 99, level: 1,
593
- timelineViewMode: 'Year', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
604
+ timelineViewMode: 'Year', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
594
605
  },
595
606
  {
596
607
  topTier: { unit: 'Year', format: 'yyyy', count: 5 },
597
608
  bottomTier: { unit: 'Year', format: 'yyyy', count: 1 }, timelineUnitSize: 99, level: 2,
598
- timelineViewMode: 'Year', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
609
+ timelineViewMode: 'Year', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
599
610
  },
600
611
  {
601
612
  topTier: { unit: 'Year', format: 'MMM, yy', count: 1 },
602
613
  bottomTier: {
603
614
  unit: 'Month', formatter: this.displayHalfValue, count: 6
604
615
  }, timelineUnitSize: 66, level: 3,
605
- timelineViewMode: 'Year', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
616
+ timelineViewMode: 'Year', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
606
617
  },
607
618
  {
608
619
  topTier: { unit: 'Year', format: 'MMM, yy', count: 1 },
609
620
  bottomTier: {
610
621
  unit: 'Month', formatter: this.displayHalfValue, count: 6
611
622
  }, timelineUnitSize: 99, level: 4,
612
- timelineViewMode: 'Year', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
623
+ timelineViewMode: 'Year', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
613
624
  },
614
625
  {
615
626
  topTier: { unit: 'Year', format: 'MMM, yy', count: 1 },
616
627
  bottomTier: {
617
628
  unit: 'Month', formatter: this.displayQuarterValue, count: 3
618
629
  }, timelineUnitSize: 66, level: 5,
619
- timelineViewMode: 'Year', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
630
+ timelineViewMode: 'Year', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
620
631
  },
621
632
  {
622
633
  topTier: { unit: 'Year', format: 'yyyy', count: 1 },
623
634
  bottomTier: {
624
635
  unit: 'Month', formatter: this.displayQuarterValue, count: 3
625
636
  }, timelineUnitSize: 99, level: 6,
626
- timelineViewMode: 'Year', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
637
+ timelineViewMode: 'Year', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
627
638
  },
628
639
  {
629
640
  topTier: { unit: 'Year', format: 'yyyy', count: 1 },
630
641
  bottomTier: { unit: 'Month', format: 'MMM yyyy', count: 1 }, timelineUnitSize: 99, level: 7,
631
- timelineViewMode: 'Year', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
642
+ timelineViewMode: 'Year', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
632
643
  },
633
644
  {
634
645
  topTier: { unit: 'Month', format: 'MMM, yy', count: 1 },
635
646
  bottomTier: { unit: 'Week', format: 'dd', count: 1 }, timelineUnitSize: 33, level: 8,
636
- timelineViewMode: 'Month', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
647
+ timelineViewMode: 'Month', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
637
648
  },
638
649
  {
639
650
  topTier: { unit: 'Month', format: 'MMM, yyyy', count: 1 },
640
651
  bottomTier: { unit: 'Week', format: 'dd MMM', count: 1 }, timelineUnitSize: 66, level: 9,
641
- timelineViewMode: 'Month', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
652
+ timelineViewMode: 'Month', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
642
653
  },
643
654
  {
644
655
  topTier: { unit: 'Month', format: 'MMM, yyyy', count: 1 },
645
656
  bottomTier: { unit: 'Week', format: 'dd MMM', count: 1 }, timelineUnitSize: 99, level: 10,
646
- timelineViewMode: 'Month', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
657
+ timelineViewMode: 'Month', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
647
658
  },
648
659
  {
649
660
  topTier: { unit: 'Week', format: 'MMM dd, yyyy', count: 1 },
650
661
  bottomTier: { unit: 'Day', format: 'd', count: 1 }, timelineUnitSize: 33, level: 11,
651
- timelineViewMode: 'Week', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
662
+ timelineViewMode: 'Week', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
652
663
  },
653
664
  {
654
665
  topTier: { unit: 'Week', format: 'MMM dd, yyyy', count: 1 },
655
666
  bottomTier: { unit: 'Day', format: 'd', count: 1 }, timelineUnitSize: 66, level: 12,
656
- timelineViewMode: 'Week', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
667
+ timelineViewMode: 'Week', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
657
668
  },
658
669
  {
659
670
  topTier: { unit: 'Week', format: 'MMM dd, yyyy', count: 1 },
660
671
  bottomTier: { unit: 'Day', format: 'd', count: 1 }, timelineUnitSize: 99, level: 13,
661
- timelineViewMode: 'Week', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
672
+ timelineViewMode: 'Week', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
662
673
  },
663
674
  {
664
675
  topTier: { unit: 'Day', format: 'E dd yyyy', count: 1 },
665
676
  bottomTier: { unit: 'Hour', format: 'hh a', count: 12 }, timelineUnitSize: 66, level: 14,
666
- timelineViewMode: 'Day', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
677
+ timelineViewMode: 'Day', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
667
678
  },
668
679
  {
669
680
  topTier: { unit: 'Day', format: 'E dd yyyy', count: 1 },
670
681
  bottomTier: { unit: 'Hour', format: 'hh a', count: 12 }, timelineUnitSize: 99, level: 15,
671
- timelineViewMode: 'Day', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
682
+ timelineViewMode: 'Day', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
672
683
  },
673
684
  {
674
685
  topTier: { unit: 'Day', format: 'E dd yyyy', count: 1 },
675
686
  bottomTier: { unit: 'Hour', format: 'hh a', count: 6 }, timelineUnitSize: 66, level: 16,
676
- timelineViewMode: 'Day', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
687
+ timelineViewMode: 'Day', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
677
688
  },
678
689
  {
679
690
  topTier: { unit: 'Day', format: 'E dd yyyy', count: 1 },
680
691
  bottomTier: { unit: 'Hour', format: 'hh a', count: 6 }, timelineUnitSize: 99, level: 17,
681
- timelineViewMode: 'Day', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
692
+ timelineViewMode: 'Day', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
682
693
  },
683
694
  {
684
695
  topTier: { unit: 'Day', format: 'E dd yyyy', count: 1 },
685
696
  bottomTier: { unit: 'Hour', format: 'hh a', count: 2 }, timelineUnitSize: 66, level: 18,
686
- timelineViewMode: 'Day', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
697
+ timelineViewMode: 'Day', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
687
698
  },
688
699
  {
689
700
  topTier: { unit: 'Day', format: 'E dd yyyy', count: 1 },
690
701
  bottomTier: { unit: 'Hour', format: 'hh a', count: 2 }, timelineUnitSize: 99, level: 19,
691
- timelineViewMode: 'Day', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
702
+ timelineViewMode: 'Day', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
692
703
  },
693
704
  {
694
705
  topTier: { unit: 'Day', format: 'E dd yyyy', count: 1 },
695
706
  bottomTier: { unit: 'Hour', format: 'hh a', count: 1 }, timelineUnitSize: 66, level: 20,
696
- timelineViewMode: 'Day', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
707
+ timelineViewMode: 'Day', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
697
708
  },
698
709
  {
699
710
  topTier: { unit: 'Day', format: 'E dd yyyy', count: 1 },
700
711
  bottomTier: { unit: 'Hour', format: 'hh a', count: 1 }, timelineUnitSize: 99, level: 21,
701
- timelineViewMode: 'Day', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
712
+ timelineViewMode: 'Day', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
702
713
  },
703
714
  {
704
715
  topTier: { unit: 'Hour', format: 'ddd MMM, h a', count: 1 },
705
716
  bottomTier: { unit: 'Minutes', format: 'mm', count: 30 }, timelineUnitSize: 66, level: 22,
706
- timelineViewMode: 'Hour', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
717
+ timelineViewMode: 'Hour', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
707
718
  },
708
719
  {
709
720
  topTier: { unit: 'Hour', format: 'ddd MMM, h a', count: 1 },
710
721
  bottomTier: { unit: 'Minutes', format: 'mm', count: 15 }, timelineUnitSize: 66, level: 23,
711
- timelineViewMode: 'Hour', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
722
+ timelineViewMode: 'Hour', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
712
723
  },
713
724
  {
714
725
  topTier: { unit: 'Hour', format: 'ddd MMM, h a', count: 1 },
715
726
  bottomTier: { unit: 'Minutes', format: 'mm', count: 1 }, timelineUnitSize: 66, level: 24,
716
- timelineViewMode: 'Hour', weekStartDay: 0, updateTimescaleView: true, weekendBackground: null, showTooltip: true
727
+ timelineViewMode: 'Hour', weekStartDay: _WeekStartDay, updateTimescaleView: true, weekendBackground: null, showTooltip: true
717
728
  }
718
729
  ];
719
730
  return zoomingLevels;
@@ -960,9 +971,18 @@ var Gantt = /** @class */ (function (_super) {
960
971
  }
961
972
  break;
962
973
  case 'timezone':
963
- case 'enableCriticalPath':
964
974
  this.dataOperation.checkDataBinding(true);
965
975
  break;
976
+ case 'enableCriticalPath':
977
+ if (this.enableCriticalPath && this.criticalPathModule) {
978
+ this.criticalPathModule.showCriticalPath(this.enableCriticalPath);
979
+ var criticalModule = this.criticalPathModule;
980
+ this.criticalPathModule.criticalConnectorLine(criticalModule.criticalPathCollection, criticalModule.detailPredecessorCollection, true, criticalModule.predecessorCollectionTaskIds);
981
+ }
982
+ else {
983
+ this.removeCriticalPathStyles();
984
+ }
985
+ break;
966
986
  case 'filterSettings':
967
987
  this.treeGrid.filterSettings = getActualProperties(this.filterSettings);
968
988
  this.treeGrid.dataBind();
@@ -621,14 +621,13 @@
621
621
  }
622
622
  .e-gantt .e-gantt-chart .e-timeline-header-container {
623
623
  border-bottom-style: solid;
624
- border-right-width: 0;
624
+ border-right: 1px solid;
625
625
  overflow: hidden;
626
626
  position: relative;
627
627
  z-index: 6;
628
628
  }
629
629
  .e-gantt .e-gantt-chart .e-timeline-header-table-container > thead > tr > th {
630
630
  border-left: 0;
631
- padding: 0 3px;
632
631
  }
633
632
  .e-gantt .e-gantt-chart .e-timeline-header-table-container {
634
633
  border-collapse: collapse;
@@ -680,7 +679,7 @@
680
679
  }
681
680
  .e-gantt .e-gantt-chart .e-timeline-top-header-cell .e-gantt-top-cell-text,
682
681
  .e-gantt .e-gantt-chart .e-timeline-single-header-cell .e-gantt-top-cell-text {
683
- padding-left: 8px;
682
+ padding-left: 11px;
684
683
  text-align: left;
685
684
  }
686
685
  .e-gantt .e-gantt-chart .e-gantt-grid-lines {
@@ -784,7 +783,7 @@
784
783
  .e-gantt .e-gantt-chart .e-indicator-span {
785
784
  display: inline-block;
786
785
  font-size: 13px;
787
- font-weight: 400;
786
+ font-weight: normal;
788
787
  overflow: hidden;
789
788
  position: absolute;
790
789
  text-overflow: ellipsis;
@@ -1177,6 +1176,7 @@
1177
1176
  .e-gantt-dialog .e-richtexteditor .e-rte-content {
1178
1177
  border-bottom-width: 0px;
1179
1178
  height: 200px;
1179
+ overflow: hidden;
1180
1180
  }
1181
1181
  .e-gantt-dialog > .e-dlg-content {
1182
1182
  padding: 0 !important;
@@ -765,14 +765,13 @@
765
765
  }
766
766
  .e-gantt .e-gantt-chart .e-timeline-header-container {
767
767
  border-bottom-style: solid;
768
- border-right-width: 0;
768
+ border-right: 1px solid;
769
769
  overflow: hidden;
770
770
  position: relative;
771
771
  z-index: 6;
772
772
  }
773
773
  .e-gantt .e-gantt-chart .e-timeline-header-table-container > thead > tr > th {
774
774
  border-left: 0;
775
- padding: 0 3px;
776
775
  }
777
776
  .e-gantt .e-gantt-chart .e-timeline-header-table-container {
778
777
  border-collapse: collapse;
@@ -824,7 +823,7 @@
824
823
  }
825
824
  .e-gantt .e-gantt-chart .e-timeline-top-header-cell .e-gantt-top-cell-text,
826
825
  .e-gantt .e-gantt-chart .e-timeline-single-header-cell .e-gantt-top-cell-text {
827
- padding-left: 8px;
826
+ padding-left: 11px;
828
827
  text-align: left;
829
828
  }
830
829
  .e-gantt .e-gantt-chart .e-gantt-grid-lines {
@@ -928,7 +927,7 @@
928
927
  .e-gantt .e-gantt-chart .e-indicator-span {
929
928
  display: inline-block;
930
929
  font-size: 13px;
931
- font-weight: 400;
930
+ font-weight: normal;
932
931
  overflow: hidden;
933
932
  position: absolute;
934
933
  text-overflow: ellipsis;
@@ -1321,6 +1320,7 @@
1321
1320
  .e-gantt-dialog .e-richtexteditor .e-rte-content {
1322
1321
  border-bottom-width: 0px;
1323
1322
  height: 200px;
1323
+ overflow: hidden;
1324
1324
  }
1325
1325
  .e-gantt-dialog > .e-dlg-content {
1326
1326
  padding: 0 !important;
@@ -948,14 +948,13 @@
948
948
  }
949
949
  .e-gantt .e-gantt-chart .e-timeline-header-container {
950
950
  border-bottom-style: solid;
951
- border-right-width: 0;
951
+ border-right: 1px solid;
952
952
  overflow: hidden;
953
953
  position: relative;
954
954
  z-index: 6;
955
955
  }
956
956
  .e-gantt .e-gantt-chart .e-timeline-header-table-container > thead > tr > th {
957
957
  border-left: 0;
958
- padding: 0 3px;
959
958
  }
960
959
  .e-gantt .e-gantt-chart .e-timeline-header-table-container {
961
960
  border-collapse: collapse;
@@ -1007,7 +1006,7 @@
1007
1006
  }
1008
1007
  .e-gantt .e-gantt-chart .e-timeline-top-header-cell .e-gantt-top-cell-text,
1009
1008
  .e-gantt .e-gantt-chart .e-timeline-single-header-cell .e-gantt-top-cell-text {
1010
- padding-left: 8px;
1009
+ padding-left: 11px;
1011
1010
  text-align: left;
1012
1011
  }
1013
1012
  .e-gantt .e-gantt-chart .e-gantt-grid-lines {
@@ -1111,7 +1110,7 @@
1111
1110
  .e-gantt .e-gantt-chart .e-indicator-span {
1112
1111
  display: inline-block;
1113
1112
  font-size: 13px;
1114
- font-weight: 400;
1113
+ font-weight: normal;
1115
1114
  overflow: hidden;
1116
1115
  position: absolute;
1117
1116
  text-overflow: ellipsis;
@@ -1504,6 +1503,7 @@
1504
1503
  .e-gantt-dialog .e-richtexteditor .e-rte-content {
1505
1504
  border-bottom-width: 0px;
1506
1505
  height: 200px;
1506
+ overflow: hidden;
1507
1507
  }
1508
1508
  .e-gantt-dialog > .e-dlg-content {
1509
1509
  padding: 0 !important;
@@ -661,14 +661,13 @@
661
661
  }
662
662
  .e-gantt .e-gantt-chart .e-timeline-header-container {
663
663
  border-bottom-style: solid;
664
- border-right-width: 0;
664
+ border-right: 1px solid;
665
665
  overflow: hidden;
666
666
  position: relative;
667
667
  z-index: 6;
668
668
  }
669
669
  .e-gantt .e-gantt-chart .e-timeline-header-table-container > thead > tr > th {
670
670
  border-left: 0;
671
- padding: 0 3px;
672
671
  }
673
672
  .e-gantt .e-gantt-chart .e-timeline-header-table-container {
674
673
  border-collapse: collapse;
@@ -720,7 +719,7 @@
720
719
  }
721
720
  .e-gantt .e-gantt-chart .e-timeline-top-header-cell .e-gantt-top-cell-text,
722
721
  .e-gantt .e-gantt-chart .e-timeline-single-header-cell .e-gantt-top-cell-text {
723
- padding-left: 8px;
722
+ padding-left: 11px;
724
723
  text-align: left;
725
724
  }
726
725
  .e-gantt .e-gantt-chart .e-gantt-grid-lines {
@@ -824,7 +823,7 @@
824
823
  .e-gantt .e-gantt-chart .e-indicator-span {
825
824
  display: inline-block;
826
825
  font-size: 13px;
827
- font-weight: 400;
826
+ font-weight: normal;
828
827
  overflow: hidden;
829
828
  position: absolute;
830
829
  text-overflow: ellipsis;
@@ -1217,6 +1216,7 @@
1217
1216
  .e-gantt-dialog .e-richtexteditor .e-rte-content {
1218
1217
  border-bottom-width: 0px;
1219
1218
  height: 200px;
1219
+ overflow: hidden;
1220
1220
  }
1221
1221
  .e-gantt-dialog > .e-dlg-content {
1222
1222
  padding: 0 !important;
@@ -661,14 +661,13 @@
661
661
  }
662
662
  .e-gantt .e-gantt-chart .e-timeline-header-container {
663
663
  border-bottom-style: solid;
664
- border-right-width: 0;
664
+ border-right: 1px solid;
665
665
  overflow: hidden;
666
666
  position: relative;
667
667
  z-index: 6;
668
668
  }
669
669
  .e-gantt .e-gantt-chart .e-timeline-header-table-container > thead > tr > th {
670
670
  border-left: 0;
671
- padding: 0 3px;
672
671
  }
673
672
  .e-gantt .e-gantt-chart .e-timeline-header-table-container {
674
673
  border-collapse: collapse;
@@ -720,7 +719,7 @@
720
719
  }
721
720
  .e-gantt .e-gantt-chart .e-timeline-top-header-cell .e-gantt-top-cell-text,
722
721
  .e-gantt .e-gantt-chart .e-timeline-single-header-cell .e-gantt-top-cell-text {
723
- padding-left: 8px;
722
+ padding-left: 11px;
724
723
  text-align: left;
725
724
  }
726
725
  .e-gantt .e-gantt-chart .e-gantt-grid-lines {
@@ -824,7 +823,7 @@
824
823
  .e-gantt .e-gantt-chart .e-indicator-span {
825
824
  display: inline-block;
826
825
  font-size: 13px;
827
- font-weight: 400;
826
+ font-weight: normal;
828
827
  overflow: hidden;
829
828
  position: absolute;
830
829
  text-overflow: ellipsis;
@@ -1217,6 +1216,7 @@
1217
1216
  .e-gantt-dialog .e-richtexteditor .e-rte-content {
1218
1217
  border-bottom-width: 0px;
1219
1218
  height: 200px;
1219
+ overflow: hidden;
1220
1220
  }
1221
1221
  .e-gantt-dialog > .e-dlg-content {
1222
1222
  padding: 0 !important;
@@ -577,14 +577,13 @@
577
577
  }
578
578
  .e-gantt .e-gantt-chart .e-timeline-header-container {
579
579
  border-bottom-style: solid;
580
- border-right-width: 0;
580
+ border-right: 1px solid;
581
581
  overflow: hidden;
582
582
  position: relative;
583
583
  z-index: 6;
584
584
  }
585
585
  .e-gantt .e-gantt-chart .e-timeline-header-table-container > thead > tr > th {
586
586
  border-left: 0;
587
- padding: 0 3px;
588
587
  }
589
588
  .e-gantt .e-gantt-chart .e-timeline-header-table-container {
590
589
  border-collapse: collapse;
@@ -636,7 +635,7 @@
636
635
  }
637
636
  .e-gantt .e-gantt-chart .e-timeline-top-header-cell .e-gantt-top-cell-text,
638
637
  .e-gantt .e-gantt-chart .e-timeline-single-header-cell .e-gantt-top-cell-text {
639
- padding-left: 8px;
638
+ padding-left: 11px;
640
639
  text-align: left;
641
640
  }
642
641
  .e-gantt .e-gantt-chart .e-gantt-grid-lines {
@@ -740,7 +739,7 @@
740
739
  .e-gantt .e-gantt-chart .e-indicator-span {
741
740
  display: inline-block;
742
741
  font-size: 13px;
743
- font-weight: 400;
742
+ font-weight: normal;
744
743
  overflow: hidden;
745
744
  position: absolute;
746
745
  text-overflow: ellipsis;
@@ -1133,6 +1132,7 @@
1133
1132
  .e-gantt-dialog .e-richtexteditor .e-rte-content {
1134
1133
  border-bottom-width: 0px;
1135
1134
  height: 200px;
1135
+ overflow: hidden;
1136
1136
  }
1137
1137
  .e-gantt-dialog > .e-dlg-content {
1138
1138
  padding: 0 !important;