@syncfusion/ej2-gantt 24.1.45 → 24.1.47

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 (57) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/ej2-gantt.min.js +2 -2
  3. package/dist/ej2-gantt.umd.min.js +2 -2
  4. package/dist/ej2-gantt.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-gantt.es2015.js +53 -26
  6. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  7. package/dist/es6/ej2-gantt.es5.js +60 -32
  8. package/dist/es6/ej2-gantt.es5.js.map +1 -1
  9. package/dist/global/ej2-gantt.min.js +2 -2
  10. package/dist/global/ej2-gantt.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +17 -17
  13. package/src/gantt/actions/edit.js +7 -1
  14. package/src/gantt/actions/pdf-export.d.ts +2 -1
  15. package/src/gantt/actions/pdf-export.js +3 -3
  16. package/src/gantt/actions/taskbar-edit.js +6 -7
  17. package/src/gantt/base/task-processor.js +19 -13
  18. package/src/gantt/base/tree-grid.d.ts +1 -0
  19. package/src/gantt/base/tree-grid.js +3 -0
  20. package/src/gantt/export/export-helper.js +3 -2
  21. package/src/gantt/export/pdf-taskbar.js +12 -2
  22. package/src/gantt/export/pdf-timeline.js +8 -5
  23. package/styles/bootstrap-dark.css +1 -1
  24. package/styles/bootstrap.css +1 -1
  25. package/styles/bootstrap4.css +1 -1
  26. package/styles/bootstrap5-dark.css +1 -1
  27. package/styles/bootstrap5.css +1 -1
  28. package/styles/fabric-dark.css +1 -1
  29. package/styles/fabric.css +1 -1
  30. package/styles/fluent-dark.css +1 -1
  31. package/styles/fluent.css +1 -1
  32. package/styles/gantt/_layout.scss +1 -1
  33. package/styles/gantt/bootstrap-dark.css +1 -1
  34. package/styles/gantt/bootstrap.css +1 -1
  35. package/styles/gantt/bootstrap4.css +1 -1
  36. package/styles/gantt/bootstrap5-dark.css +1 -1
  37. package/styles/gantt/bootstrap5.css +1 -1
  38. package/styles/gantt/fabric-dark.css +1 -1
  39. package/styles/gantt/fabric.css +1 -1
  40. package/styles/gantt/fluent-dark.css +1 -1
  41. package/styles/gantt/fluent.css +1 -1
  42. package/styles/gantt/highcontrast-light.css +1 -1
  43. package/styles/gantt/highcontrast.css +1 -1
  44. package/styles/gantt/material-dark.css +1 -1
  45. package/styles/gantt/material.css +1 -1
  46. package/styles/gantt/material3-dark.css +1 -1
  47. package/styles/gantt/material3.css +1 -1
  48. package/styles/gantt/tailwind-dark.css +1 -1
  49. package/styles/gantt/tailwind.css +1 -1
  50. package/styles/highcontrast-light.css +1 -1
  51. package/styles/highcontrast.css +1 -1
  52. package/styles/material-dark.css +1 -1
  53. package/styles/material.css +1 -1
  54. package/styles/material3-dark.css +1 -1
  55. package/styles/material3.css +1 -1
  56. package/styles/tailwind-dark.css +1 -1
  57. package/styles/tailwind.css +1 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 24.1.45
3
+ * version : 24.1.47
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. 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@24.1.44",
3
+ "_id": "@syncfusion/ej2-gantt@24.1.46",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-CkC7CVd5nbCW3iUuD46runhDjgyav53rqouMi+ryTjYPR0GB73SfjeG24mcF5/yML7v6Gpi7c4gbdeUdXDCvTA==",
5
+ "_integrity": "sha512-D0PkQMqSxymxo0yp2d+nGVOO12m7BwUEoQwYcs0+EkK3n4FyYuh29TqZ5HCcC+gKAcKAJGs/kz2JJpv99TexYA==",
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": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-24.1.44.tgz",
27
- "_shasum": "41fdab976d6bb8c5299a62e2a78ea8adb7f52a78",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-24.1.46.tgz",
27
+ "_shasum": "a27bd8c1cc2c4f3d0e822f1082f7998d4385ec05",
28
28
  "_spec": "@syncfusion/ej2-gantt@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included",
30
30
  "author": {
@@ -35,21 +35,21 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~24.1.42",
39
- "@syncfusion/ej2-buttons": "~24.1.45",
40
- "@syncfusion/ej2-calendars": "~24.1.44",
38
+ "@syncfusion/ej2-base": "~24.1.46",
39
+ "@syncfusion/ej2-buttons": "~24.1.46",
40
+ "@syncfusion/ej2-calendars": "~24.1.47",
41
41
  "@syncfusion/ej2-data": "~24.1.41",
42
- "@syncfusion/ej2-dropdowns": "~24.1.45",
43
- "@syncfusion/ej2-grids": "~24.1.45",
44
- "@syncfusion/ej2-inputs": "~24.1.45",
42
+ "@syncfusion/ej2-dropdowns": "~24.1.47",
43
+ "@syncfusion/ej2-grids": "~24.1.47",
44
+ "@syncfusion/ej2-inputs": "~24.1.47",
45
45
  "@syncfusion/ej2-layouts": "~24.1.41",
46
- "@syncfusion/ej2-lists": "~24.1.41",
47
- "@syncfusion/ej2-navigations": "~24.1.41",
46
+ "@syncfusion/ej2-lists": "~24.1.46",
47
+ "@syncfusion/ej2-navigations": "~24.1.46",
48
48
  "@syncfusion/ej2-notifications": "~24.1.41",
49
- "@syncfusion/ej2-popups": "~24.1.44",
50
- "@syncfusion/ej2-richtexteditor": "~24.1.45",
51
- "@syncfusion/ej2-svg-base": "~24.1.45",
52
- "@syncfusion/ej2-treegrid": "~24.1.45"
49
+ "@syncfusion/ej2-popups": "~24.1.46",
50
+ "@syncfusion/ej2-richtexteditor": "~24.1.47",
51
+ "@syncfusion/ej2-svg-base": "~24.1.47",
52
+ "@syncfusion/ej2-treegrid": "~24.1.46"
53
53
  },
54
54
  "deprecated": false,
55
55
  "description": "Essential JS 2 Gantt Component",
@@ -74,6 +74,6 @@
74
74
  "url": "git+https://github.com/syncfusion/ej2-gantt.git"
75
75
  },
76
76
  "typings": "index.d.ts",
77
- "version": "24.1.45",
77
+ "version": "24.1.47",
78
78
  "sideEffects": false
79
79
  }
@@ -3064,10 +3064,16 @@ var Edit = /** @class */ (function () {
3064
3064
  }
3065
3065
  if (!isNullOrUndefined(args.data["" + tempTaskID])) {
3066
3066
  if (args.data[tempTaskID] != args.data['ganttProperties']['taskId']) {
3067
+ for (var _i = 0, _b = Object.keys(_this.parent.ids); _i < _b.length; _i++) {
3068
+ var key = _b[_i];
3069
+ if (_this.parent.ids[key] === args.data['ganttProperties']['taskId'].toString()) {
3070
+ _this.parent.ids[key] = args.data[tempTaskID].toString();
3071
+ break;
3072
+ }
3073
+ }
3067
3074
  args.data['ganttProperties']['taskId'] = args.data[tempTaskID];
3068
3075
  args.newTaskData[tempTaskID] = args.data[tempTaskID];
3069
3076
  args.data['ganttProperties']['rowUniqueID'] = args.data[tempTaskID].toString();
3070
- _this.parent.ids.push(args.data[tempTaskID].toString());
3071
3077
  }
3072
3078
  }
3073
3079
  if (!args.cancel) {
@@ -1,7 +1,7 @@
1
1
  import { PdfExportProperties } from './../base/interface';
2
2
  import { Gantt } from '../base/gantt';
3
3
  import { ExportHelper } from '../export/export-helper';
4
- import { SizeF } from '@syncfusion/ej2-pdf-export';
4
+ import { PdfPage, SizeF } from '@syncfusion/ej2-pdf-export';
5
5
  import { PdfGantt } from '../export/pdf-gantt';
6
6
  /**
7
7
  *
@@ -16,6 +16,7 @@ export declare class PdfExport {
16
16
  private isBlob;
17
17
  private blobPromise;
18
18
  pdfPageDimensions: SizeF;
19
+ pdfPage: PdfPage;
19
20
  /**
20
21
  * @param {Gantt} parent .
21
22
  * @hidden
@@ -125,8 +125,8 @@ var PdfExport = /** @class */ (function () {
125
125
  var _this = this;
126
126
  var section = this.pdfDocument.sections.add();
127
127
  this.processSectionExportProperties(section, pdfExportProperties);
128
- var pdfPage = section.pages.add();
129
- this.pdfPageDimensions = pdfPage.getClientSize();
128
+ this.pdfPage = section.pages.add();
129
+ this.pdfPageDimensions = this.pdfPage.getClientSize();
130
130
  /* eslint-disable-next-line */
131
131
  return new Promise(function (resolve, reject) {
132
132
  _this.helper.processGridExport(data, _this.gantt, pdfExportProperties);
@@ -135,7 +135,7 @@ var PdfExport = /** @class */ (function () {
135
135
  }).then(function () {
136
136
  var format = new PdfTreeGridLayoutFormat();
137
137
  format.break = PdfLayoutBreakType.FitElement;
138
- var layouter = _this.gantt.drawGrid(pdfPage, 0, 0, format);
138
+ var layouter = _this.gantt.drawGrid(_this.pdfPage, 0, 0, format);
139
139
  _this.gantt.drawChart(layouter);
140
140
  if (_this.helper.exportProps && _this.helper.exportProps.fitToWidthSettings && _this.helper.exportProps.fitToWidthSettings.isFitToWidth) {
141
141
  _this.parent.zoomingProjectStartDate = _this.helper.beforeSinglePageExport['zoomingProjectStartDate'];
@@ -606,7 +606,6 @@ var TaskbarEdit = /** @class */ (function (_super) {
606
606
  }
607
607
  else {
608
608
  rowElement = this.parent.getRowByIndex(parseInt(target.getAttribute('data-rowindex'))).children;
609
- ;
610
609
  }
611
610
  if (rowElement) {
612
611
  if (this.parent.rowDragAndDropModule['dropPosition'] === 'above') {
@@ -877,7 +876,7 @@ var TaskbarEdit = /** @class */ (function (_super) {
877
876
  var rowIndex = getValue('rowIndex', rowElement);
878
877
  var droppedTreeGridRecord = this.parent.flatData[rowIndex];
879
878
  var isValid = true;
880
- if (this.parent.viewType === 'ResourceView' && !this.taskBarEditRecord.hasChildRecords && !droppedTreeGridRecord.hasChildRecords && this.taskBarEditRecord.parentItem.taskId === droppedTreeGridRecord.parentItem.taskId) {
879
+ if (this.parent.viewType === 'ResourceView' && !this.taskBarEditRecord.hasChildRecords && !droppedTreeGridRecord.hasChildRecords && !isNullOrUndefined(droppedTreeGridRecord.parentItem) && this.taskBarEditRecord.parentItem.taskId === droppedTreeGridRecord.parentItem.taskId) {
881
880
  isValid = false;
882
881
  }
883
882
  if (droppedTreeGridRecord) {
@@ -1852,7 +1851,7 @@ var TaskbarEdit = /** @class */ (function (_super) {
1852
1851
  pStartDate.setTime(pStartDate.getTime() + (left * milliSecondsPerPixel));
1853
1852
  /* To render the milestone in proper date while editing */
1854
1853
  if (isMilestone && !isNullOrUndefined(property.predecessorsName) && property.predecessorsName !== '') {
1855
- pStartDate.setDate(pStartDate.getDate() - 1);
1854
+ // pStartDate.setDate(pStartDate.getDate()-1);
1856
1855
  this.parent.dateValidationModule.setTime(this.parent.defaultEndTime, pStartDate);
1857
1856
  pStartDate = this.parent.dateValidationModule.checkStartDate(pStartDate, property, true);
1858
1857
  }
@@ -1862,9 +1861,9 @@ var TaskbarEdit = /** @class */ (function (_super) {
1862
1861
  if (this.parent.isInDst(new Date(this.parent.timelineModule.timelineStartDate.toString())) && !this.parent.isInDst(pStartDate)) {
1863
1862
  pStartDate.setTime(pStartDate.getTime() + (60 * 60 * 1000));
1864
1863
  }
1865
- else if (!this.parent.isInDst(new Date(this.parent.timelineModule.timelineStartDate.toString())) && this.parent.isInDst(pStartDate)) {
1866
- pStartDate.setTime(pStartDate.getTime() - (60 * 60 * 1000));
1867
- }
1864
+ // else if (!this.parent.isInDst(new Date(this.parent.timelineModule.timelineStartDate.toString())) && this.parent.isInDst(pStartDate)) {
1865
+ // pStartDate.setTime(pStartDate.getTime() - (60 * 60 * 1000));
1866
+ // }
1868
1867
  }
1869
1868
  return pStartDate;
1870
1869
  };
@@ -2278,7 +2277,7 @@ var TaskbarEdit = /** @class */ (function (_super) {
2278
2277
  droppedRecord.childRecords.length == 0)) ? 'child' : this.parent.rowDragAndDropModule['dropPosition'];
2279
2278
  }
2280
2279
  if (this.parent.rowDragAndDropModule) {
2281
- if (this.parent.viewType === 'ResourceView' && (position === 'child' && !droppedRecord.hasChildRecords)) {
2280
+ if (this.parent.viewType === 'ResourceView' && (position === 'child' && !droppedRecord.hasChildRecords) && !isNullOrUndefined(droppedRecord.parentItem)) {
2282
2281
  position = 'Invalid';
2283
2282
  this.parent.rowDragAndDropModule['dropPosition'] = 'Invalid';
2284
2283
  }
@@ -84,19 +84,25 @@ var TaskProcessor = /** @class */ (function (_super) {
84
84
  var queryManager = this.parent.query instanceof Query ? this.parent.query : new Query();
85
85
  queryManager.requiresCount();
86
86
  var dataManager = this.parent.dataSource;
87
- dataManager.executeQuery(queryManager).then(function (e) {
88
- _this.dataArray = e.result;
89
- _this.processTimeline();
90
- if (_this.parent.loadChildOnDemand || (!_this.parent.loadChildOnDemand && !(_this.parent.taskFields.hasChildMapping))) {
91
- _this.cloneDataSource();
92
- }
93
- _this.parent.renderGantt(isChange);
94
- }).catch(function (e) {
95
- // Trigger action failure event
96
- _this.parent.processTimeline();
97
- _this.parent.renderGantt(isChange);
98
- _this.parent.trigger('actionFailure', { error: e });
99
- });
87
+ if (!this.parent.loadChildOnDemand && this.parent.taskFields.hasChildMapping) {
88
+ this.processTimeline();
89
+ this.parent.renderGantt(isChange);
90
+ }
91
+ else {
92
+ dataManager.executeQuery(queryManager).then(function (e) {
93
+ _this.dataArray = e.result;
94
+ _this.processTimeline();
95
+ if (_this.parent.loadChildOnDemand || (!_this.parent.loadChildOnDemand && !(_this.parent.taskFields.hasChildMapping))) {
96
+ _this.cloneDataSource();
97
+ }
98
+ _this.parent.renderGantt(isChange);
99
+ }).catch(function (e) {
100
+ // Trigger action failure event
101
+ _this.parent.processTimeline();
102
+ _this.parent.renderGantt(isChange);
103
+ _this.parent.trigger('actionFailure', { error: e });
104
+ });
105
+ }
100
106
  };
101
107
  TaskProcessor.prototype.constructDataSource = function (dataSource) {
102
108
  var mappingData = new DataManager(dataSource).executeLocal(new Query()
@@ -15,6 +15,7 @@ export declare class GanttTreeGrid {
15
15
  * @private
16
16
  */
17
17
  currentEditRow: {};
18
+ private registeredTemplate;
18
19
  addedRecord: boolean;
19
20
  private previousScroll;
20
21
  /** @hidden */
@@ -110,6 +110,9 @@ var GanttTreeGrid = /** @class */ (function () {
110
110
  this.bindEvents();
111
111
  var root = 'root';
112
112
  this.parent.treeGrid[root] = this.parent[root] ? this.parent[root] : this.parent;
113
+ setValue('registeredTemplate', this.registeredTemplate, this.parent.treeGrid);
114
+ var ref = 'viewContainerRef';
115
+ setValue('viewContainerRef', this.parent["" + ref], this.parent.treeGrid);
113
116
  this.parent.treeGrid.appendTo(this.treeGridElement);
114
117
  if (this.parent.treeGrid.grid && this.parent.toolbarModule && this.parent.isReact) {
115
118
  this.parent.treeGrid.grid.portals = this.parent.portals;
@@ -695,9 +695,11 @@ var ExportHelper = /** @class */ (function () {
695
695
  compositeField.draw(footer.graphics, new PointF(0, 0));
696
696
  pdfDoc.template.bottom = footer;
697
697
  }
698
+ var PdfPage = this.parent.pdfExportModule.pdfPage;
699
+ var pageSize = PdfPage.size;
700
+ var clientSize = !isNullOrUndefined(pageSize) ? pageSize : this.pdfDoc.pageSettings.size;
698
701
  // code for draw header content
699
702
  if (!isNullOrUndefined(this.exportProps.header)) {
700
- var clientSize = this.pdfDoc.pageSettings.size;
701
703
  var headerProp = this.exportProps.header;
702
704
  var position = new PointF(0, headerProp.fromTop);
703
705
  var size = new SizeF((clientSize.width * 1.1), ((headerProp && headerProp.height) ? headerProp.height * 0.75 : 50));
@@ -706,7 +708,6 @@ var ExportHelper = /** @class */ (function () {
706
708
  }
707
709
  // code for customization of footer
708
710
  if (!this.exportProps.enableFooter && !isNullOrUndefined(this.exportProps.footer)) {
709
- var clientSize = this.pdfDoc.pageSettings.size;
710
711
  var footer = this.exportProps.footer;
711
712
  var position = new PointF(0, ((clientSize.width - 80) - ((footer && footer.fromBottom) ?
712
713
  footer.fromBottom * 0.75 : 0)));
@@ -107,11 +107,21 @@ var PdfGanttTaskbarCollection = /** @class */ (function () {
107
107
  var pageIndex = -1;
108
108
  var renderBaselineWidth = 0;
109
109
  if (this.baselineWidth > detail.totalWidth) {
110
- renderBaselineWidth = detail.totalWidth;
110
+ if (this.parent.timelineModule.isZoomedToFit || this.isAutoFit()) {
111
+ renderBaselineWidth = detail.totalWidth - this.baselineLeft;
112
+ }
113
+ else {
114
+ renderBaselineWidth = detail.totalWidth;
115
+ }
111
116
  this.baselineWidth = this.baselineWidth - detail.totalWidth;
112
117
  }
113
118
  else {
114
- renderBaselineWidth = this.baselineWidth;
119
+ if ((this.parent.timelineModule.isZoomedToFit || this.isAutoFit()) && this.baselineWidth + this.baselineLeft > detail.totalWidth) {
120
+ renderBaselineWidth = detail.totalWidth - this.baselineLeft;
121
+ }
122
+ else {
123
+ renderBaselineWidth = this.baselineWidth;
124
+ }
115
125
  }
116
126
  var baselinePen = new PdfPen(taskbar.baselineBorderColor);
117
127
  var baselineBrush = new PdfSolidBrush(taskbar.baselineColor);
@@ -1,4 +1,4 @@
1
- import { PointF, PdfColor, PdfPen, PdfSolidBrush, PdfStandardFont, PdfStringFormat, PdfVerticalAlignment, PdfTextAlignment, PdfWordWrapType, PdfFontFamily, PdfBrushes } from '@syncfusion/ej2-pdf-export';
1
+ import { PointF, PdfColor, PdfPen, PdfSolidBrush, PdfStandardFont, PdfStringFormat, PdfVerticalAlignment, PdfTextAlignment, PdfWordWrapType, PdfFontFamily, PdfBrushes, RectangleF } from '@syncfusion/ej2-pdf-export';
2
2
  import { extend, isNullOrUndefined } from '@syncfusion/ej2-base';
3
3
  import { pixelToPoint, pointToPixel } from '../base/utils';
4
4
  /**
@@ -231,7 +231,7 @@ var PdfTimeline = /** @class */ (function () {
231
231
  }
232
232
  graphics.drawRectangle(rectPen, rectBrush, x, y + pixelToPoint(height), width, page.getClientSize().height);
233
233
  if (this.holidayCompleted) {
234
- var state = graphics.save();
234
+ var state_1 = graphics.save();
235
235
  var font1 = new PdfStandardFont(PdfFontFamily.Helvetica, 10);
236
236
  var fontHieght = font1.height;
237
237
  var fontSize = font1.size;
@@ -239,7 +239,7 @@ var PdfTimeline = /** @class */ (function () {
239
239
  graphics.rotateTransform(-90);
240
240
  graphics.translateTransform(-(page.getClientSize().height / 2), -40);
241
241
  graphics.drawString(this.holidayLabel, font1, null, PdfBrushes.Black, 10, 10, null);
242
- graphics.restore(state);
242
+ graphics.restore(state_1);
243
243
  this.holidayCompleted = false;
244
244
  }
245
245
  if (this.fitHolidayCompleted) {
@@ -248,12 +248,12 @@ var PdfTimeline = /** @class */ (function () {
248
248
  var fontHieght = font1.height;
249
249
  var fontSize = font1.size;
250
250
  graphics.drawRectangle(null, holidayBrush, x + width / 2 - fontSize, y + pixelToPoint(height), fontSize, page.getClientSize().height);
251
- var state = graphics.save();
251
+ var state_2 = graphics.save();
252
252
  graphics.translateTransform(x + width + width / 2 - fontSize, 40);
253
253
  graphics.rotateTransform(-90);
254
254
  graphics.translateTransform(-(page.getClientSize().height / 2), -40);
255
255
  graphics.drawString(this.holidayLabel, font1, null, PdfBrushes.Black, 10, 10, null);
256
- graphics.restore(state);
256
+ graphics.restore(state_2);
257
257
  this.fitHolidayCompleted = false;
258
258
  }
259
259
  var font = new PdfStandardFont(ganttStyle.fontFamily, e.fontSize, e.fontStyle);
@@ -264,6 +264,8 @@ var PdfTimeline = /** @class */ (function () {
264
264
  var pLeft = ganttStyle.timeline.padding ? eventArgs.timelineCell.padding.left : 0;
265
265
  var pTop = ganttStyle.timeline.padding ? eventArgs.timelineCell.padding.top : 0;
266
266
  /* eslint-disable-next-line */
267
+ var state = graphics.save();
268
+ graphics.setClip(new RectangleF(x, y, width, pixelToPoint(height)));
267
269
  if (isTopTier) {
268
270
  x = x + pLeft + 4;
269
271
  }
@@ -271,6 +273,7 @@ var PdfTimeline = /** @class */ (function () {
271
273
  x = x + pLeft;
272
274
  }
273
275
  graphics.drawString(eventArgs.value, font, null, textBrush, x, y + pTop, pixelToPoint(width), pixelToPoint(height), e.format);
276
+ graphics.restore(state);
274
277
  };
275
278
  return PdfTimeline;
276
279
  }());
@@ -825,7 +825,7 @@
825
825
  box-sizing: border-box;
826
826
  }
827
827
  .e-gantt .e-gantt-chart .e-zero-spacing {
828
- border-spacing: 0.25px;
828
+ border-spacing: 0;
829
829
  }
830
830
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
831
831
  border-top: 0;
@@ -963,7 +963,7 @@
963
963
  box-sizing: border-box;
964
964
  }
965
965
  .e-gantt .e-gantt-chart .e-zero-spacing {
966
- border-spacing: 0.25px;
966
+ border-spacing: 0;
967
967
  }
968
968
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
969
969
  border-top: 0;
@@ -1177,7 +1177,7 @@
1177
1177
  box-sizing: border-box;
1178
1178
  }
1179
1179
  .e-gantt .e-gantt-chart .e-zero-spacing {
1180
- border-spacing: 0.25px;
1180
+ border-spacing: 0;
1181
1181
  }
1182
1182
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
1183
1183
  border-top: 0;
@@ -864,7 +864,7 @@
864
864
  box-sizing: border-box;
865
865
  }
866
866
  .e-gantt .e-gantt-chart .e-zero-spacing {
867
- border-spacing: 0.25px;
867
+ border-spacing: 0;
868
868
  }
869
869
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
870
870
  border-top: 0;
@@ -864,7 +864,7 @@
864
864
  box-sizing: border-box;
865
865
  }
866
866
  .e-gantt .e-gantt-chart .e-zero-spacing {
867
- border-spacing: 0.25px;
867
+ border-spacing: 0;
868
868
  }
869
869
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
870
870
  border-top: 0;
@@ -780,7 +780,7 @@
780
780
  box-sizing: border-box;
781
781
  }
782
782
  .e-gantt .e-gantt-chart .e-zero-spacing {
783
- border-spacing: 0.25px;
783
+ border-spacing: 0;
784
784
  }
785
785
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
786
786
  border-top: 0;
package/styles/fabric.css CHANGED
@@ -773,7 +773,7 @@
773
773
  box-sizing: border-box;
774
774
  }
775
775
  .e-gantt .e-gantt-chart .e-zero-spacing {
776
- border-spacing: 0.25px;
776
+ border-spacing: 0;
777
777
  }
778
778
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
779
779
  border-top: 0;
@@ -848,7 +848,7 @@
848
848
  box-sizing: border-box;
849
849
  }
850
850
  .e-gantt .e-gantt-chart .e-zero-spacing {
851
- border-spacing: 0.25px;
851
+ border-spacing: 0;
852
852
  }
853
853
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
854
854
  border-top: 0;
package/styles/fluent.css CHANGED
@@ -848,7 +848,7 @@
848
848
  box-sizing: border-box;
849
849
  }
850
850
  .e-gantt .e-gantt-chart .e-zero-spacing {
851
- border-spacing: 0.25px;
851
+ border-spacing: 0;
852
852
  }
853
853
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
854
854
  border-top: 0;
@@ -813,7 +813,7 @@
813
813
  }
814
814
 
815
815
  .e-zero-spacing {
816
- border-spacing: .25px;
816
+ border-spacing: 0;
817
817
  }
818
818
 
819
819
  .e-chart-row:first-child .e-chart-row-border {
@@ -825,7 +825,7 @@
825
825
  box-sizing: border-box;
826
826
  }
827
827
  .e-gantt .e-gantt-chart .e-zero-spacing {
828
- border-spacing: 0.25px;
828
+ border-spacing: 0;
829
829
  }
830
830
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
831
831
  border-top: 0;
@@ -963,7 +963,7 @@
963
963
  box-sizing: border-box;
964
964
  }
965
965
  .e-gantt .e-gantt-chart .e-zero-spacing {
966
- border-spacing: 0.25px;
966
+ border-spacing: 0;
967
967
  }
968
968
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
969
969
  border-top: 0;
@@ -1177,7 +1177,7 @@
1177
1177
  box-sizing: border-box;
1178
1178
  }
1179
1179
  .e-gantt .e-gantt-chart .e-zero-spacing {
1180
- border-spacing: 0.25px;
1180
+ border-spacing: 0;
1181
1181
  }
1182
1182
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
1183
1183
  border-top: 0;
@@ -864,7 +864,7 @@
864
864
  box-sizing: border-box;
865
865
  }
866
866
  .e-gantt .e-gantt-chart .e-zero-spacing {
867
- border-spacing: 0.25px;
867
+ border-spacing: 0;
868
868
  }
869
869
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
870
870
  border-top: 0;
@@ -864,7 +864,7 @@
864
864
  box-sizing: border-box;
865
865
  }
866
866
  .e-gantt .e-gantt-chart .e-zero-spacing {
867
- border-spacing: 0.25px;
867
+ border-spacing: 0;
868
868
  }
869
869
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
870
870
  border-top: 0;
@@ -780,7 +780,7 @@
780
780
  box-sizing: border-box;
781
781
  }
782
782
  .e-gantt .e-gantt-chart .e-zero-spacing {
783
- border-spacing: 0.25px;
783
+ border-spacing: 0;
784
784
  }
785
785
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
786
786
  border-top: 0;
@@ -773,7 +773,7 @@
773
773
  box-sizing: border-box;
774
774
  }
775
775
  .e-gantt .e-gantt-chart .e-zero-spacing {
776
- border-spacing: 0.25px;
776
+ border-spacing: 0;
777
777
  }
778
778
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
779
779
  border-top: 0;
@@ -848,7 +848,7 @@
848
848
  box-sizing: border-box;
849
849
  }
850
850
  .e-gantt .e-gantt-chart .e-zero-spacing {
851
- border-spacing: 0.25px;
851
+ border-spacing: 0;
852
852
  }
853
853
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
854
854
  border-top: 0;
@@ -848,7 +848,7 @@
848
848
  box-sizing: border-box;
849
849
  }
850
850
  .e-gantt .e-gantt-chart .e-zero-spacing {
851
- border-spacing: 0.25px;
851
+ border-spacing: 0;
852
852
  }
853
853
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
854
854
  border-top: 0;
@@ -754,7 +754,7 @@
754
754
  box-sizing: border-box;
755
755
  }
756
756
  .e-gantt .e-gantt-chart .e-zero-spacing {
757
- border-spacing: 0.25px;
757
+ border-spacing: 0;
758
758
  }
759
759
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
760
760
  border-top: 0;
@@ -865,7 +865,7 @@
865
865
  box-sizing: border-box;
866
866
  }
867
867
  .e-gantt .e-gantt-chart .e-zero-spacing {
868
- border-spacing: 0.25px;
868
+ border-spacing: 0;
869
869
  }
870
870
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
871
871
  border-top: 0;
@@ -817,7 +817,7 @@
817
817
  box-sizing: border-box;
818
818
  }
819
819
  .e-gantt .e-gantt-chart .e-zero-spacing {
820
- border-spacing: 0.25px;
820
+ border-spacing: 0;
821
821
  }
822
822
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
823
823
  border-top: 0;
@@ -861,7 +861,7 @@
861
861
  box-sizing: border-box;
862
862
  }
863
863
  .e-gantt .e-gantt-chart .e-zero-spacing {
864
- border-spacing: 0.25px;
864
+ border-spacing: 0;
865
865
  }
866
866
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
867
867
  border-top: 0;
@@ -904,7 +904,7 @@
904
904
  box-sizing: border-box;
905
905
  }
906
906
  .e-gantt .e-gantt-chart .e-zero-spacing {
907
- border-spacing: 0.25px;
907
+ border-spacing: 0;
908
908
  }
909
909
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
910
910
  border-top: 0;
@@ -960,7 +960,7 @@
960
960
  box-sizing: border-box;
961
961
  }
962
962
  .e-gantt .e-gantt-chart .e-zero-spacing {
963
- border-spacing: 0.25px;
963
+ border-spacing: 0;
964
964
  }
965
965
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
966
966
  border-top: 0;
@@ -830,7 +830,7 @@
830
830
  box-sizing: border-box;
831
831
  }
832
832
  .e-gantt .e-gantt-chart .e-zero-spacing {
833
- border-spacing: 0.25px;
833
+ border-spacing: 0;
834
834
  }
835
835
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
836
836
  border-top: 0;
@@ -830,7 +830,7 @@
830
830
  box-sizing: border-box;
831
831
  }
832
832
  .e-gantt .e-gantt-chart .e-zero-spacing {
833
- border-spacing: 0.25px;
833
+ border-spacing: 0;
834
834
  }
835
835
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
836
836
  border-top: 0;
@@ -754,7 +754,7 @@
754
754
  box-sizing: border-box;
755
755
  }
756
756
  .e-gantt .e-gantt-chart .e-zero-spacing {
757
- border-spacing: 0.25px;
757
+ border-spacing: 0;
758
758
  }
759
759
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
760
760
  border-top: 0;
@@ -865,7 +865,7 @@
865
865
  box-sizing: border-box;
866
866
  }
867
867
  .e-gantt .e-gantt-chart .e-zero-spacing {
868
- border-spacing: 0.25px;
868
+ border-spacing: 0;
869
869
  }
870
870
  .e-gantt .e-gantt-chart .e-chart-row:first-child .e-chart-row-border {
871
871
  border-top: 0;