@syncfusion/ej2-gantt 23.1.43 → 23.2.4

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 (38) hide show
  1. package/CHANGELOG.md +19 -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 +47 -22
  6. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  7. package/dist/es6/ej2-gantt.es5.js +85 -49
  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 +20 -20
  13. package/src/gantt/actions/edit.js +19 -0
  14. package/src/gantt/actions/filter.js +4 -0
  15. package/src/gantt/actions/toolbar.js +3 -0
  16. package/src/gantt/base/gantt.js +1 -0
  17. package/src/gantt/export/export-helper.js +11 -11
  18. package/src/gantt/export/pdf-gantt.js +6 -3
  19. package/src/gantt/export/pdf-taskbar.js +3 -3
  20. package/src/gantt/export/pdf-timeline.js +12 -6
  21. package/styles/bootstrap-dark.css +5 -0
  22. package/styles/bootstrap5-dark.css +2 -1
  23. package/styles/bootstrap5.css +2 -1
  24. package/styles/fabric-dark.css +5 -0
  25. package/styles/fluent-dark.css +2 -1
  26. package/styles/fluent.css +2 -1
  27. package/styles/gantt/bootstrap-dark.css +5 -0
  28. package/styles/gantt/bootstrap5-dark.css +2 -1
  29. package/styles/gantt/bootstrap5.css +2 -1
  30. package/styles/gantt/fabric-dark.css +5 -0
  31. package/styles/gantt/fluent-dark.css +2 -1
  32. package/styles/gantt/fluent.css +2 -1
  33. package/styles/gantt/highcontrast.css +5 -0
  34. package/styles/gantt/tailwind-dark.css +2 -1
  35. package/styles/gantt/tailwind.css +2 -1
  36. package/styles/highcontrast.css +5 -0
  37. package/styles/tailwind-dark.css +2 -1
  38. package/styles/tailwind.css +2 -1
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 23.1.43
3
+ * version : 23.2.4
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@23.1.42",
3
+ "_id": "@syncfusion/ej2-gantt@23.1.44",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-g+CmUUPzrTLD37FpCq/HeZ9vBjf1374Ba/UuGN7b7bWnoeCY5TbntcWc6QmZxKqYhcIOisUGTDE6RpFsuv1cYg==",
5
+ "_integrity": "sha512-FFN4iVap1ulswXR3xbIsVZmtRPlvYeQF7a7O/z9xfGCc3PDviqLYul4Z0YBj8em9xAHq4JQw3DOnTRZm4CI2Kg==",
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-23.1.42.tgz",
27
- "_shasum": "480266949e5700ba55acbac9e738143271aa21f4",
26
+ "_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-23.1.44.tgz",
27
+ "_shasum": "d3038e839389b5542cec6e67b77ad85e7169e0b8",
28
28
  "_spec": "@syncfusion/ej2-gantt@*",
29
29
  "_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
30
30
  "author": {
@@ -35,21 +35,21 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~23.1.41",
39
- "@syncfusion/ej2-buttons": "~23.1.43",
40
- "@syncfusion/ej2-calendars": "~23.1.41",
41
- "@syncfusion/ej2-data": "~23.1.43",
42
- "@syncfusion/ej2-dropdowns": "~23.1.43",
43
- "@syncfusion/ej2-grids": "~23.1.43",
44
- "@syncfusion/ej2-inputs": "~23.1.43",
45
- "@syncfusion/ej2-layouts": "~23.1.36",
46
- "@syncfusion/ej2-lists": "~23.1.43",
47
- "@syncfusion/ej2-navigations": "~23.1.43",
48
- "@syncfusion/ej2-notifications": "~23.1.40",
49
- "@syncfusion/ej2-popups": "~23.1.43",
50
- "@syncfusion/ej2-richtexteditor": "~23.1.43",
51
- "@syncfusion/ej2-svg-base": "~23.1.36",
52
- "@syncfusion/ej2-treegrid": "~23.1.43"
38
+ "@syncfusion/ej2-base": "~23.2.4",
39
+ "@syncfusion/ej2-buttons": "~23.2.4",
40
+ "@syncfusion/ej2-calendars": "~23.2.4",
41
+ "@syncfusion/ej2-data": "~23.2.4",
42
+ "@syncfusion/ej2-dropdowns": "~23.2.4",
43
+ "@syncfusion/ej2-grids": "~23.2.4",
44
+ "@syncfusion/ej2-inputs": "~23.2.4",
45
+ "@syncfusion/ej2-layouts": "~23.2.4",
46
+ "@syncfusion/ej2-lists": "~23.2.4",
47
+ "@syncfusion/ej2-navigations": "~23.2.4",
48
+ "@syncfusion/ej2-notifications": "~23.2.4",
49
+ "@syncfusion/ej2-popups": "~23.2.4",
50
+ "@syncfusion/ej2-richtexteditor": "~23.2.4",
51
+ "@syncfusion/ej2-svg-base": "~23.2.4",
52
+ "@syncfusion/ej2-treegrid": "~23.2.4"
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": "23.1.43",
77
+ "version": "23.2.4",
78
78
  "sideEffects": false
79
79
  }
@@ -1,3 +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
12
  import { isNullOrUndefined, isUndefined, extend, setValue, getValue, deleteObject, createElement } from '@syncfusion/ej2-base';
2
13
  import { DataManager, Query, ODataAdaptor, WebApiAdaptor, ODataV4Adaptor } from '@syncfusion/ej2-data';
3
14
  import { getUid } from '@syncfusion/ej2-grids';
@@ -1227,7 +1238,15 @@ var Edit = /** @class */ (function () {
1227
1238
  if (args.action && args.action === 'DrawConnectorLine') {
1228
1239
  eventArgs.action = 'DrawConnectorLine';
1229
1240
  }
1241
+ var ganttObj = this.parent;
1242
+ var currentBaselineStart = __assign({}, eventArgs.data.ganttProperties.baselineStartDate);
1243
+ var currentBaselineEnd = __assign({}, eventArgs.data.ganttProperties.baselineEndDate);
1230
1244
  this.parent.trigger('actionBegin', eventArgs, function (eventArg) {
1245
+ if (currentBaselineStart != eventArg.data["ganttProperties"].baselineStartDate
1246
+ || currentBaselineEnd != eventArg.data["ganttProperties"].baselineEndDate) {
1247
+ ganttObj.setRecordValue('baselineLeft', ganttObj.dataOperation.calculateBaselineLeft(eventArg.data['ganttProperties']), eventArg.data['ganttProperties'], true);
1248
+ ganttObj.setRecordValue('baselineWidth', ganttObj.dataOperation.calculateBaselineWidth(eventArg.data['ganttProperties']), eventArg.data['ganttProperties'], true);
1249
+ }
1231
1250
  if (!isNullOrUndefined(_this.parent.loadingIndicator) && _this.parent.loadingIndicator.indicatorType === "Shimmer") {
1232
1251
  _this.parent.showMaskRow();
1233
1252
  }
@@ -355,6 +355,10 @@ var Filter = /** @class */ (function () {
355
355
  if (this.parent.treeGrid.filterSettings.type === 'Menu') {
356
356
  element.querySelector('.e-valid-input').focus();
357
357
  }
358
+ if (this.parent.treeGrid.filterSettings.type === 'Excel') {
359
+ var inputElement = document.querySelector('.e-searchinput');
360
+ inputElement.focus();
361
+ }
358
362
  };
359
363
  Filter.prototype.removeEventListener = function () {
360
364
  if (this.parent.isDestroyed) {
@@ -107,6 +107,9 @@ var Toolbar = /** @class */ (function () {
107
107
  this.toolbar.isReact = this.parent.isReact;
108
108
  this.toolbar.on('render-react-toolbar-template', this.addReactToolbarPortals, this);
109
109
  this.toolbar.appendTo(this.element);
110
+ if (this.parent.treeGrid.grid && this.parent.isReact) {
111
+ this.parent.treeGrid.grid.portals = this.parent.portals;
112
+ }
110
113
  var cancelItem = this.element.querySelector('#' + this.parent.element.id + '_cancel');
111
114
  var updateItem = this.element.querySelector('#' + this.parent.element.id + '_update');
112
115
  if (cancelItem) {
@@ -1514,6 +1514,7 @@ var Gantt = /** @class */ (function (_super) {
1514
1514
  this.treeGridModule.treeGridColumns = [];
1515
1515
  this.treeGridModule.validateGanttColumns();
1516
1516
  this.treeGrid.columns = this.treeGridModule.treeGridColumns;
1517
+ this.treeGrid.grid.columns = this.treeGridModule.treeGridColumns;
1517
1518
  this.chartRowsModule.initiateTemplates();
1518
1519
  this.timelineModule.updateChartByNewTimeline();
1519
1520
  break;
@@ -6,7 +6,7 @@ import { PdfFontStyle, PdfColor, PdfPen, PdfSolidBrush } from '@syncfusion/ej2-p
6
6
  import { PdfBorders, PdfPaddings } from './pdf-base/index';
7
7
  import { isNullOrUndefined, Internationalization, getValue, extend } from '@syncfusion/ej2-base';
8
8
  import { getForeignData, ValueFormatter } from '@syncfusion/ej2-grids';
9
- import { pixelToPoint, isScheduledTask, pointToPixel } from '../base/utils';
9
+ import { pixelToPoint, isScheduledTask } from '../base/utils';
10
10
  /**
11
11
  * @hidden
12
12
  * `ExportHelper` for `PdfExport` & `ExcelExport`
@@ -241,10 +241,10 @@ var ExportHelper = /** @class */ (function () {
241
241
  this.parent.predecessorModule.createConnectorLinesCollection();
242
242
  this.parent.updatedConnectorLineCollection.forEach(function (data) {
243
243
  var predecessor = _this.gantt.predecessor.add();
244
- predecessor.parentLeft = pointToPixel(data.parentLeft);
245
- predecessor.childLeft = pointToPixel(data.childLeft);
246
- predecessor.parentWidth = pointToPixel(data.parentWidth);
247
- predecessor.childWidth = pointToPixel(data.childWidth);
244
+ predecessor.parentLeft = data.parentLeft;
245
+ predecessor.childLeft = data.childLeft;
246
+ predecessor.parentWidth = data.parentWidth;
247
+ predecessor.childWidth = data.childWidth;
248
248
  predecessor.parentIndex = data.parentIndex;
249
249
  predecessor.childIndex = data.childIndex;
250
250
  predecessor.rowHeight = data.rowHeight;
@@ -329,8 +329,8 @@ var ExportHelper = /** @class */ (function () {
329
329
  flatData.forEach(function (data) {
330
330
  var taskbar = _this.gantt.taskbar.add();
331
331
  var ganttProp = data.ganttProperties;
332
- taskbar.left = pointToPixel(ganttProp.left);
333
- taskbar.width = pointToPixel(ganttProp.width);
332
+ taskbar.left = ganttProp.left;
333
+ taskbar.width = ganttProp.width;
334
334
  if (taskbar.left < 0) {
335
335
  taskbar.width = taskbar.width + taskbar.left;
336
336
  taskbar.left = 0;
@@ -371,8 +371,8 @@ var ExportHelper = /** @class */ (function () {
371
371
  taskbar.isMilestone = ganttProp.isMilestone;
372
372
  taskbar.baselineStartDate = ganttProp.baselineStartDate;
373
373
  taskbar.baselineEndDate = ganttProp.baselineEndDate;
374
- taskbar.baselineLeft = pointToPixel(ganttProp.baselineLeft);
375
- taskbar.baselineWidth = pointToPixel(ganttProp.baselineWidth);
374
+ taskbar.baselineLeft = ganttProp.baselineLeft;
375
+ taskbar.baselineWidth = ganttProp.baselineWidth;
376
376
  taskbar.milestoneColor = new PdfColor(_this.ganttStyle.taskbar.milestoneColor);
377
377
  taskbar.isParentTask = data.hasChildRecords;
378
378
  if (ganttProp.isMilestone) {
@@ -388,9 +388,9 @@ var ExportHelper = /** @class */ (function () {
388
388
  taskbar.taskLabel = data[_this.parent.labelSettings.taskLabel].toString();
389
389
  }
390
390
  var reduceLeft = ganttProp.isMilestone ? Math.floor(_this.parent.chartRowsModule.taskBarHeight / 2) + 33 : 33; // 33 indicates default timeline cell width
391
- taskbar.rightTaskLabel.left = pointToPixel(ganttProp.left) + pointToPixel(ganttProp.width) + reduceLeft; // right label left value
391
+ taskbar.rightTaskLabel.left = ganttProp.left + ganttProp.width + reduceLeft; // right label left value
392
392
  taskbar.fontFamily = _this.ganttStyle.fontFamily;
393
- taskbar.progressWidth = pointToPixel(ganttProp.progressWidth);
393
+ taskbar.progressWidth = ganttProp.progressWidth;
394
394
  taskbar.labelColor = new PdfColor(_this.ganttStyle.label.fontColor);
395
395
  taskbar.progressFontColor = new PdfColor(_this.ganttStyle.taskbar.progressFontColor);
396
396
  if (taskbar.isParentTask) {
@@ -100,10 +100,12 @@ var PdfGantt = /** @class */ (function (_super) {
100
100
  }
101
101
  var detail = {};
102
102
  var range = [];
103
- var convertedWidth = pixelToPoint(this.chartHeader.bottomTierCellWidth);
103
+ var convertedWidth = (this.parent.pdfExportModule && this.parent.pdfExportModule.helper.exportProps && this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings &&
104
+ this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings.isFitToWidth) ? pixelToPoint(this.chartHeader.bottomTierCellWidth) : this.chartHeader.bottomTierCellWidth;
104
105
  var width = 0;
105
106
  if (this.chartHeader.bottomTierCellWidth !== 0) {
106
- width = (Math.floor(pageWidth / convertedWidth) * convertedWidth);
107
+ width = (this.parent.pdfExportModule && this.parent.pdfExportModule.helper.exportProps && this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings &&
108
+ this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings.isFitToWidth) ? (Math.floor(pageWidth / convertedWidth) * convertedWidth) : (Math.floor(pageWidth / convertedWidth) * convertedWidth) + 5;
107
109
  }
108
110
  range[0] = point;
109
111
  if (headerWidth - point <= width) {
@@ -221,7 +223,8 @@ var PdfGantt = /** @class */ (function (_super) {
221
223
  var pageData;
222
224
  this.headerDetails.forEach(function (detail, index) {
223
225
  var page = _this.result.page.section.getPages()[_this.startPageIndex];
224
- page['contentWidth'] = pointToPixel(_this.headerDetails[index].endPoint - _this.headerDetails[index].startPoint);
226
+ page['contentWidth'] = (_this.parent.pdfExportModule && _this.parent.pdfExportModule.helper.exportProps && _this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings &&
227
+ _this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings.isFitToWidth) ? pointToPixel(_this.headerDetails[index].endPoint - _this.headerDetails[index].startPoint) : _this.headerDetails[index].endPoint - _this.headerDetails[index].startPoint;
225
228
  _this.chartHeader.drawTimeline(page, _this.startPoint, detail);
226
229
  taskbarPoint.y = taskbarPoint.y + pixelToPoint(_this.parent.timelineModule.isSingleTier ? 45 : 60); // headerHeight
227
230
  pageStartX = taskbarPoint.x;
@@ -65,7 +65,8 @@ var PdfGanttTaskbarCollection = /** @class */ (function () {
65
65
  //code for while current pdf page is exceed
66
66
  if (yPoint > pageSize.height) {
67
67
  page = this.GetNextPage(page);
68
- page['contentWidth'] = pointToPixel(detail.endPoint - detail.startPoint);
68
+ page['contentWidth'] = (this.parent.pdfExportModule && this.parent.pdfExportModule.helper.exportProps && this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings &&
69
+ this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings.isFitToWidth) ? pointToPixel(detail.endPoint - detail.startPoint) : detail.endPoint - detail.startPoint;
69
70
  taskGraphics = page.graphics;
70
71
  startPoint.y = 0;
71
72
  if (this.parent.pdfExportModule.gantt.enableHeader) {
@@ -93,7 +94,7 @@ var PdfGanttTaskbarCollection = /** @class */ (function () {
93
94
  progressFormat.alignment = PdfTextAlignment.Right;
94
95
  var isLabelString = false;
95
96
  var updatedWidth;
96
- if (/^[a-zA-Z]/.test(this.taskLabel)) {
97
+ if (!isNullOrUndefined(this.taskLabel) && (/^[a-zA-Z]/.test(this.taskLabel))) {
97
98
  isLabelString = true;
98
99
  progressFormat.alignment = PdfTextAlignment.Left;
99
100
  }
@@ -159,7 +160,6 @@ var PdfGanttTaskbarCollection = /** @class */ (function () {
159
160
  taskGraphics.drawRectangle(baselinePen, baselineBrush, startPoint.x + pixelToPoint(taskbar.baselineLeft - cumulativeWidth) + 0.5, startPoint.y + adjustHeight + pixelToPoint(taskbar.height + 3), pixelToPoint(this.baselineWidth), pixelToPoint(this.baselineHeight));
160
161
  }
161
162
  taskGraphics.drawRectangle(taskbarPen, taskBrush, startPoint.x + pixelToPoint(this.left - cumulativeWidth) + 0.5, startPoint.y + adjustHeight, pixelToPoint(renderWidth), pixelToPoint(taskbar.height));
162
- taskbar.width = taskbar.width - renderWidth;
163
163
  if (this.isScheduledTask) {
164
164
  var progressBoundsWidth = 0;
165
165
  if (this.progressWidth <= renderWidth) {
@@ -23,7 +23,8 @@ var PdfTimeline = /** @class */ (function () {
23
23
  * @returns {void}
24
24
  */
25
25
  PdfTimeline.prototype.drawTimeline = function (page, startPoint, detail) {
26
- var remainWidth = pointToPixel(Math.floor(detail.totalWidth));
26
+ var remainWidth = (this.parent.pdfExportModule && this.parent.pdfExportModule.helper.exportProps && this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings &&
27
+ this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings.isFitToWidth) ? pointToPixel(Math.floor(detail.totalWidth)) : Math.floor(detail.totalWidth);
27
28
  var renderWidth = 0;
28
29
  this.topTierPoint.x = startPoint.x;
29
30
  this.topTierPoint.y = startPoint.y;
@@ -51,7 +52,8 @@ var PdfTimeline = /** @class */ (function () {
51
52
  //Primary header Event Arguments
52
53
  /* eslint-disable-next-line */
53
54
  this.triggerQueryTimelinecell(page, this.topTierPoint.x, this.topTierPoint.y, this.topTierHeight, renderWidth, pHeader.value, true);
54
- this.topTierPoint.x += renderWidth;
55
+ this.topTierPoint.x += (this.parent.pdfExportModule && this.parent.pdfExportModule.helper.exportProps && this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings &&
56
+ this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings.isFitToWidth) ? renderWidth : pixelToPoint(renderWidth);
55
57
  remainWidth -= renderWidth;
56
58
  if (isCompleted) {
57
59
  this.topTierIndex++;
@@ -77,7 +79,8 @@ var PdfTimeline = /** @class */ (function () {
77
79
  //Secondary header Event Arguments
78
80
  /* eslint-disable-next-line */
79
81
  this.triggerQueryTimelinecell(page, this.bottomTierPoint.x, this.bottomTierPoint.y, this.bottomTierHeight, width, secondHeader.value, false);
80
- this.bottomTierPoint.x = this.bottomTierPoint.x + width;
82
+ this.bottomTierPoint.x = (this.parent.pdfExportModule && this.parent.pdfExportModule.helper.exportProps && this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings &&
83
+ this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings.isFitToWidth) ? this.bottomTierPoint.x + width : this.bottomTierPoint.x + pixelToPoint(width);
81
84
  remainWidth -= width;
82
85
  secondHeader.completedWidth = width;
83
86
  if (isCompleted) {
@@ -108,7 +111,8 @@ var PdfTimeline = /** @class */ (function () {
108
111
  //Primary header Event Arguments
109
112
  /* eslint-disable-next-line */
110
113
  this.triggerQueryTimelinecell(page, this.topTierPoint.x, this.topTierPoint.y, this.topTierHeight, pHeader.completedWidth, pHeader.value, true);
111
- this.topTierPoint.x += pHeader.completedWidth;
114
+ this.topTierPoint.x += (this.parent.pdfExportModule && this.parent.pdfExportModule.helper.exportProps && this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings &&
115
+ this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings.isFitToWidth) ? pHeader.completedWidth : pixelToPoint(pHeader.completedWidth);
112
116
  }
113
117
  }
114
118
  }
@@ -121,7 +125,8 @@ var PdfTimeline = /** @class */ (function () {
121
125
  //Secondary header Event Arguments
122
126
  /* eslint-disable-next-line */
123
127
  this.triggerQueryTimelinecell(page, this.bottomTierPoint.x, this.bottomTierPoint.y, this.bottomTierHeight, secondHeader.width, secondHeader.value, false);
124
- this.bottomTierPoint.x = this.bottomTierPoint.x + secondHeader.width;
128
+ this.bottomTierPoint.x = (this.parent.pdfExportModule && this.parent.pdfExportModule.helper.exportProps && this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings &&
129
+ this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings.isFitToWidth) ? this.bottomTierPoint.x + secondHeader.width : this.bottomTierPoint.x + pixelToPoint(secondHeader.width);
125
130
  }
126
131
  }
127
132
  }
@@ -168,7 +173,8 @@ var PdfTimeline = /** @class */ (function () {
168
173
  var e = eventArgs.timelineCell;
169
174
  var rectPen = new PdfPen(eventArgs.timelineCell.borderColor);
170
175
  var rectBrush = new PdfSolidBrush(eventArgs.timelineCell.backgroundColor);
171
- graphics.drawRectangle(rectPen, rectBrush, x, y, width, pixelToPoint(height));
176
+ graphics.drawRectangle(rectPen, rectBrush, x, y, (this.parent.pdfExportModule && this.parent.pdfExportModule.helper.exportProps && this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings &&
177
+ this.parent.pdfExportModule.helper.exportProps.fitToWidthSettings.isFitToWidth) ? width : pixelToPoint(width), pixelToPoint(height));
172
178
  if (!isTopTier && (this.parent.gridLines == "Both" || this.parent.gridLines == "Vertical")) {
173
179
  graphics.drawRectangle(rectPen, rectBrush, x, y + pixelToPoint(height), width, page.getClientSize().height);
174
180
  }
@@ -142,6 +142,11 @@
142
142
  width: 40px;
143
143
  }
144
144
 
145
+ .e-multi-select-wrapper .e-searcher input[type=text],
146
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
147
+ color: #fff;
148
+ }
149
+
145
150
  /* stylelint-disable property-no-vendor-prefix */
146
151
  /* stylelint-disable property-no-vendor-prefix */
147
152
  @keyframes material-spinner-rotate {
@@ -170,7 +170,8 @@
170
170
  width: 24px;
171
171
  }
172
172
 
173
- .e-multi-select-wrapper .e-searcher input[type=text] {
173
+ .e-multi-select-wrapper .e-searcher input[type=text],
174
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
174
175
  color: #fff;
175
176
  height: 100%;
176
177
  }
@@ -170,7 +170,8 @@
170
170
  width: 24px;
171
171
  }
172
172
 
173
- .e-multi-select-wrapper .e-searcher input[type=text] {
173
+ .e-multi-select-wrapper .e-searcher input[type=text],
174
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
174
175
  color: #212529;
175
176
  height: 100%;
176
177
  }
@@ -98,6 +98,11 @@
98
98
  margin: 2px 2px 2px 0;
99
99
  }
100
100
 
101
+ .e-multi-select-wrapper .e-searcher input[type=text],
102
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
103
+ color: #fff;
104
+ }
105
+
101
106
  /* stylelint-disable property-no-vendor-prefix */
102
107
  /* stylelint-disable property-no-vendor-prefix */
103
108
  @keyframes material-spinner-rotate {
@@ -150,7 +150,8 @@
150
150
  width: 24px;
151
151
  }
152
152
 
153
- .e-multi-select-wrapper .e-searcher input[type=text] {
153
+ .e-multi-select-wrapper .e-searcher input[type=text],
154
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
154
155
  color: #f3f2f1;
155
156
  height: 100%;
156
157
  }
package/styles/fluent.css CHANGED
@@ -150,7 +150,8 @@
150
150
  width: 24px;
151
151
  }
152
152
 
153
- .e-multi-select-wrapper .e-searcher input[type=text] {
153
+ .e-multi-select-wrapper .e-searcher input[type=text],
154
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
154
155
  color: #201f1e;
155
156
  height: 100%;
156
157
  }
@@ -142,6 +142,11 @@
142
142
  width: 40px;
143
143
  }
144
144
 
145
+ .e-multi-select-wrapper .e-searcher input[type=text],
146
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
147
+ color: #fff;
148
+ }
149
+
145
150
  /* stylelint-disable property-no-vendor-prefix */
146
151
  /* stylelint-disable property-no-vendor-prefix */
147
152
  @keyframes material-spinner-rotate {
@@ -170,7 +170,8 @@
170
170
  width: 24px;
171
171
  }
172
172
 
173
- .e-multi-select-wrapper .e-searcher input[type=text] {
173
+ .e-multi-select-wrapper .e-searcher input[type=text],
174
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
174
175
  color: #fff;
175
176
  height: 100%;
176
177
  }
@@ -170,7 +170,8 @@
170
170
  width: 24px;
171
171
  }
172
172
 
173
- .e-multi-select-wrapper .e-searcher input[type=text] {
173
+ .e-multi-select-wrapper .e-searcher input[type=text],
174
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
174
175
  color: #212529;
175
176
  height: 100%;
176
177
  }
@@ -98,6 +98,11 @@
98
98
  margin: 2px 2px 2px 0;
99
99
  }
100
100
 
101
+ .e-multi-select-wrapper .e-searcher input[type=text],
102
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
103
+ color: #fff;
104
+ }
105
+
101
106
  /* stylelint-disable property-no-vendor-prefix */
102
107
  /* stylelint-disable property-no-vendor-prefix */
103
108
  @keyframes material-spinner-rotate {
@@ -150,7 +150,8 @@
150
150
  width: 24px;
151
151
  }
152
152
 
153
- .e-multi-select-wrapper .e-searcher input[type=text] {
153
+ .e-multi-select-wrapper .e-searcher input[type=text],
154
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
154
155
  color: #f3f2f1;
155
156
  height: 100%;
156
157
  }
@@ -150,7 +150,8 @@
150
150
  width: 24px;
151
151
  }
152
152
 
153
- .e-multi-select-wrapper .e-searcher input[type=text] {
153
+ .e-multi-select-wrapper .e-searcher input[type=text],
154
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
154
155
  color: #201f1e;
155
156
  height: 100%;
156
157
  }
@@ -177,6 +177,11 @@
177
177
  width: 30px;
178
178
  }
179
179
 
180
+ .e-multi-select-wrapper .e-searcher input[type=text],
181
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
182
+ color: #fff;
183
+ }
184
+
180
185
  /*! Fabric theme definition's */
181
186
  /*! component's theme wise override definitions and variables */
182
187
  /*! Horizontal Tab */
@@ -118,7 +118,8 @@
118
118
  width: 28px;
119
119
  }
120
120
 
121
- .e-multi-select-wrapper .e-searcher input[type=text] {
121
+ .e-multi-select-wrapper .e-searcher input[type=text],
122
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
122
123
  color: #fff;
123
124
  height: 100%;
124
125
  }
@@ -118,7 +118,8 @@
118
118
  width: 28px;
119
119
  }
120
120
 
121
- .e-multi-select-wrapper .e-searcher input[type=text] {
121
+ .e-multi-select-wrapper .e-searcher input[type=text],
122
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
122
123
  color: #111827;
123
124
  height: 100%;
124
125
  }
@@ -177,6 +177,11 @@
177
177
  width: 30px;
178
178
  }
179
179
 
180
+ .e-multi-select-wrapper .e-searcher input[type=text],
181
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
182
+ color: #fff;
183
+ }
184
+
180
185
  /*! Fabric theme definition's */
181
186
  /*! component's theme wise override definitions and variables */
182
187
  /*! Horizontal Tab */
@@ -118,7 +118,8 @@
118
118
  width: 28px;
119
119
  }
120
120
 
121
- .e-multi-select-wrapper .e-searcher input[type=text] {
121
+ .e-multi-select-wrapper .e-searcher input[type=text],
122
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
122
123
  color: #fff;
123
124
  height: 100%;
124
125
  }
@@ -118,7 +118,8 @@
118
118
  width: 28px;
119
119
  }
120
120
 
121
- .e-multi-select-wrapper .e-searcher input[type=text] {
121
+ .e-multi-select-wrapper .e-searcher input[type=text],
122
+ .e-multi-select-wrapper .e-multi-searcher input[type=text] {
122
123
  color: #111827;
123
124
  height: 100%;
124
125
  }