@syncfusion/ej2-gantt 20.2.36 → 20.2.43
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.
- package/CHANGELOG.md +32 -0
- package/dist/ej2-gantt.umd.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +84 -24
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +84 -24
- package/dist/es6/ej2-gantt.es5.js.map +1 -1
- package/dist/global/ej2-gantt.min.js +2 -2
- package/dist/global/ej2-gantt.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +18 -18
- package/src/gantt/actions/context-menu.js +1 -1
- package/src/gantt/actions/edit.js +2 -1
- package/src/gantt/actions/rowdragdrop.js +8 -2
- package/src/gantt/base/date-processor.js +9 -3
- package/src/gantt/base/gantt-chart.d.ts +4 -0
- package/src/gantt/base/gantt-chart.js +22 -1
- package/src/gantt/base/tree-grid.js +1 -0
- package/src/gantt/renderer/chart-rows.js +6 -0
- package/src/gantt/renderer/timeline.d.ts +1 -0
- package/src/gantt/renderer/timeline.js +34 -15
- package/src/gantt/renderer/tooltip.js +1 -1
- package/styles/fluent-dark.css +8 -8
- package/styles/gantt/fluent-dark.css +8 -8
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 20.2.
|
|
3
|
+
* version : 20.2.43
|
|
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@
|
|
3
|
+
"_id": "@syncfusion/ej2-gantt@20.2.39",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-Hfi4X3srD9FkRRuV7ufhFNi79MR6Pc42eKiD9mkbote2zRiRjBppCutfyU2q745wbc+EFmFz7zoXA4/Za3Q6ww==",
|
|
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-
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.2.39.tgz",
|
|
27
|
+
"_shasum": "04527bd8b9bd3a5b245fb2223dd6dc9c2ccd93c2",
|
|
28
28
|
"_spec": "@syncfusion/ej2-gantt@*",
|
|
29
29
|
"_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,19 +35,19 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~20.2.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~20.2.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~20.2.
|
|
41
|
-
"@syncfusion/ej2-data": "~20.2.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~20.2.
|
|
43
|
-
"@syncfusion/ej2-grids": "~20.2.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~20.2.
|
|
45
|
-
"@syncfusion/ej2-layouts": "~20.2.
|
|
46
|
-
"@syncfusion/ej2-lists": "~20.2.
|
|
47
|
-
"@syncfusion/ej2-navigations": "~20.2.
|
|
48
|
-
"@syncfusion/ej2-popups": "~20.2.
|
|
49
|
-
"@syncfusion/ej2-richtexteditor": "~20.2.
|
|
50
|
-
"@syncfusion/ej2-treegrid": "~20.2.
|
|
38
|
+
"@syncfusion/ej2-base": "~20.2.43",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~20.2.43",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~20.2.43",
|
|
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",
|
|
45
|
+
"@syncfusion/ej2-layouts": "~20.2.43",
|
|
46
|
+
"@syncfusion/ej2-lists": "~20.2.43",
|
|
47
|
+
"@syncfusion/ej2-navigations": "~20.2.43",
|
|
48
|
+
"@syncfusion/ej2-popups": "~20.2.43",
|
|
49
|
+
"@syncfusion/ej2-richtexteditor": "~20.2.43",
|
|
50
|
+
"@syncfusion/ej2-treegrid": "~20.2.43"
|
|
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.
|
|
78
|
+
"version": "20.2.43",
|
|
79
79
|
"sideEffects": false
|
|
80
80
|
}
|
|
@@ -290,7 +290,7 @@ var ContextMenu = /** @class */ (function () {
|
|
|
290
290
|
var rowIndex = -1;
|
|
291
291
|
if (args.gridRow) {
|
|
292
292
|
// eslint-disable-next-line
|
|
293
|
-
rowIndex = parseInt(args.gridRow.getAttribute('
|
|
293
|
+
rowIndex = parseInt(args.gridRow.getAttribute('data-rowindex'), 0);
|
|
294
294
|
}
|
|
295
295
|
else if (args.chartRow) {
|
|
296
296
|
// eslint-disable-next-line
|
|
@@ -75,7 +75,7 @@ var Edit = /** @class */ (function () {
|
|
|
75
75
|
if (column.field === this.parent.taskFields.id) {
|
|
76
76
|
this.updateIDColumnEditParams(column);
|
|
77
77
|
}
|
|
78
|
-
else if (column.field === this.parent.taskFields.progress) {
|
|
78
|
+
else if (column.field === this.parent.taskFields.progress && isNullOrUndefined(column.edit)) {
|
|
79
79
|
this.updateProgessColumnEditParams(column);
|
|
80
80
|
}
|
|
81
81
|
else if (column.field === this.parent.taskFields.resourceInfo) {
|
|
@@ -2042,6 +2042,7 @@ var Edit = /** @class */ (function () {
|
|
|
2042
2042
|
eventArgs.modifiedRecords = args.updatedRecordCollection;
|
|
2043
2043
|
eventArgs.modifiedTaskData = getTaskData(args.updatedRecordCollection, null, null, this.parent);
|
|
2044
2044
|
setValue('action', args.action, eventArgs);
|
|
2045
|
+
this.parent.isOnDelete = false;
|
|
2045
2046
|
this.parent.trigger('actionComplete', eventArgs);
|
|
2046
2047
|
this.deletedTaskDetails = [];
|
|
2047
2048
|
this.parent.initiateEditAction(false);
|
|
@@ -132,7 +132,7 @@ var RowDD = /** @class */ (function () {
|
|
|
132
132
|
ganttDragelem.remove();
|
|
133
133
|
}
|
|
134
134
|
var gridRow = closest(args.target, '.e-row');
|
|
135
|
-
var dropIndex = gridRow ? parseInt(gridRow.getAttribute('
|
|
135
|
+
var dropIndex = gridRow ? parseInt(gridRow.getAttribute('data-rowindex'), 10) : args.dropIndex;
|
|
136
136
|
args.dropIndex = dropIndex;
|
|
137
137
|
args.dropRecord = this.parent.updatedRecords[args.dropIndex];
|
|
138
138
|
this.parent.trigger('rowDrop', args);
|
|
@@ -460,6 +460,7 @@ var RowDD = /** @class */ (function () {
|
|
|
460
460
|
var proxy = this.parent;
|
|
461
461
|
var tempDataSource;
|
|
462
462
|
var idx;
|
|
463
|
+
var ganttFields = this.parent.taskFields;
|
|
463
464
|
if (this.parent.dataSource instanceof DataManager) {
|
|
464
465
|
tempDataSource = getValue('dataOperation.dataArray', this.parent);
|
|
465
466
|
}
|
|
@@ -468,7 +469,12 @@ var RowDD = /** @class */ (function () {
|
|
|
468
469
|
}
|
|
469
470
|
if (tempDataSource.length > 0 && (!isNullOrUndefined(droppedRecord) && !droppedRecord.parentItem)) {
|
|
470
471
|
for (var i = 0; i < Object.keys(tempDataSource).length; i++) {
|
|
471
|
-
if (
|
|
472
|
+
if (!isNullOrUndefined(droppedRecord.taskData[ganttFields.child]) &&
|
|
473
|
+
tempDataSource[i][ganttFields.child] === droppedRecord.taskData[ganttFields.child]) {
|
|
474
|
+
idx = i;
|
|
475
|
+
}
|
|
476
|
+
else if (isNullOrUndefined(droppedRecord.taskData[ganttFields.child]) &&
|
|
477
|
+
droppedRecord.taskData[ganttFields.id] === tempDataSource[i][ganttFields.id]) {
|
|
472
478
|
idx = i;
|
|
473
479
|
}
|
|
474
480
|
}
|
|
@@ -37,7 +37,7 @@ var DateProcessor = /** @class */ (function () {
|
|
|
37
37
|
this.setTime(this.parent.defaultStartTime, cloneStartDate);
|
|
38
38
|
}
|
|
39
39
|
else if (hour < this.parent.defaultStartTime && validateAsMilestone) {
|
|
40
|
-
this.setTime(this.parent.
|
|
40
|
+
this.setTime(this.parent.defaultStartTime, cloneStartDate);
|
|
41
41
|
}
|
|
42
42
|
else if ((hour === this.parent.defaultEndTime && (!ganttProp || !validateAsMilestone)) || hour > this.parent.defaultEndTime) {
|
|
43
43
|
cloneStartDate.setDate(cloneStartDate.getDate() + 1);
|
|
@@ -199,7 +199,7 @@ var DateProcessor = /** @class */ (function () {
|
|
|
199
199
|
if (hour > this.parent.defaultEndTime) {
|
|
200
200
|
this.setTime(this.parent.defaultEndTime, cloneDate);
|
|
201
201
|
}
|
|
202
|
-
else if (hour <= this.parent.defaultStartTime && !ganttProp.isMilestone) {
|
|
202
|
+
else if (hour <= this.parent.defaultStartTime && !isNullOrUndefined(ganttProp) && !ganttProp.isMilestone) {
|
|
203
203
|
cloneDate.setDate(cloneDate.getDate() - 1);
|
|
204
204
|
this.setTime(this.parent.defaultEndTime, cloneDate);
|
|
205
205
|
}
|
|
@@ -1271,7 +1271,13 @@ var DateProcessor = /** @class */ (function () {
|
|
|
1271
1271
|
}
|
|
1272
1272
|
sortDates(taskRange);
|
|
1273
1273
|
if (!minStartDate || !maxEndDate) {
|
|
1274
|
-
|
|
1274
|
+
if (!minStartDate) {
|
|
1275
|
+
minStartDate = isNullOrUndefined(minStartDate) ? this.getDateFromFormat(new Date()) : minStartDate;
|
|
1276
|
+
minStartDate.setHours(0, 0, 0, 0);
|
|
1277
|
+
}
|
|
1278
|
+
else {
|
|
1279
|
+
minStartDate = isNullOrUndefined(minStartDate) ? this.getDateFromFormat(new Date()) : minStartDate;
|
|
1280
|
+
}
|
|
1275
1281
|
maxEndDate = this.getDateFromFormat(new Date(minStartDate.getTime()));
|
|
1276
1282
|
maxEndDate.setDate(maxEndDate.getDate() + 20);
|
|
1277
1283
|
}
|
|
@@ -24,6 +24,10 @@ export declare class GanttChart {
|
|
|
24
24
|
keyboardModule: KeyboardEvents;
|
|
25
25
|
targetElement: Element;
|
|
26
26
|
virtualRender: VirtualContentRenderer;
|
|
27
|
+
isEditableElement: any;
|
|
28
|
+
tempNextElement: any;
|
|
29
|
+
nextElementIndex: any;
|
|
30
|
+
childrenIndex: any;
|
|
27
31
|
constructor(parent: Gantt);
|
|
28
32
|
private addEventListener;
|
|
29
33
|
private renderChartContents;
|
|
@@ -718,6 +718,9 @@ var GanttChart = /** @class */ (function () {
|
|
|
718
718
|
* @private
|
|
719
719
|
*/
|
|
720
720
|
GanttChart.prototype.expandedGanttRow = function (args) {
|
|
721
|
+
if (isNullOrUndefined(args['gridRow']) && this.parent.enableVirtualization) {
|
|
722
|
+
return;
|
|
723
|
+
}
|
|
721
724
|
var record = getValue('data', args);
|
|
722
725
|
if (this.isExpandCollapseFromChart) {
|
|
723
726
|
this.expandCollapseChartRows('expand', getValue('chartRow', args), record, null);
|
|
@@ -925,6 +928,23 @@ var GanttChart = /** @class */ (function () {
|
|
|
925
928
|
$target.closest('.e-chart-row') ? $target.closest('.e-chart-row').rowIndex : -1;
|
|
926
929
|
var isTab = (e.action === 'tab') ? true : false;
|
|
927
930
|
var nextElement = this.getNextElement($target, isTab, isInEditedState);
|
|
931
|
+
this.tempNextElement = nextElement;
|
|
932
|
+
if (!isNullOrUndefined(nextElement['cellIndex'])) {
|
|
933
|
+
if (this.parent.allowRowDragAndDrop) {
|
|
934
|
+
this.childrenIndex = nextElement['cellIndex'];
|
|
935
|
+
this.nextElementIndex = nextElement['cellIndex'] - 1;
|
|
936
|
+
}
|
|
937
|
+
else {
|
|
938
|
+
this.childrenIndex = nextElement['cellIndex'];
|
|
939
|
+
this.nextElementIndex = nextElement['cellIndex'];
|
|
940
|
+
}
|
|
941
|
+
if (!this.parent.ganttColumns[this.nextElementIndex]['allowEditing'] && this.parent.ganttColumns[this.nextElementIndex]['field'] !== this.parent.taskFields.id) {
|
|
942
|
+
this.isEditableElement = true;
|
|
943
|
+
}
|
|
944
|
+
else {
|
|
945
|
+
this.isEditableElement = false;
|
|
946
|
+
}
|
|
947
|
+
}
|
|
928
948
|
if (nextElement === 'noNextRow') {
|
|
929
949
|
this.manageFocus($target, 'remove', true);
|
|
930
950
|
return;
|
|
@@ -972,7 +992,8 @@ var GanttChart = /** @class */ (function () {
|
|
|
972
992
|
this.parent.treeGrid.grid.notify('key-pressed', e);
|
|
973
993
|
}
|
|
974
994
|
}
|
|
975
|
-
if (!
|
|
995
|
+
if (!(this.parent.editModule && this.parent.editModule.cellEditModule
|
|
996
|
+
&& !isNullOrUndefined(this.parent.editModule.cellEditModule.editedColumn))) {
|
|
976
997
|
if (nextElement) {
|
|
977
998
|
if ($target.classList.contains('e-rowcell')) {
|
|
978
999
|
this.manageFocus($target, 'remove', false);
|
|
@@ -99,6 +99,7 @@ var GanttTreeGrid = /** @class */ (function () {
|
|
|
99
99
|
};
|
|
100
100
|
GanttTreeGrid.prototype.composeProperties = function () {
|
|
101
101
|
this.parent.treeGrid.showColumnMenu = this.parent.showColumnMenu;
|
|
102
|
+
this.parent.treeGrid.enableCollapseAll = this.parent.collapseAllParentTasks;
|
|
102
103
|
this.parent.treeGrid.columnMenuItems = this.parent.columnMenuItems;
|
|
103
104
|
this.parent.treeGrid.childMapping = isNullOrUndefined(this.parent.taskFields.child) ? '' : this.parent.taskFields.child;
|
|
104
105
|
this.parent.treeGrid.treeColumnIndex = this.parent.treeColumnIndex;
|
|
@@ -1676,6 +1676,12 @@ var ChartRows = /** @class */ (function (_super) {
|
|
|
1676
1676
|
}
|
|
1677
1677
|
var dataId = this.parent.viewType === 'ProjectView' ? data.ganttProperties.taskId : data.ganttProperties.rowUniqueID;
|
|
1678
1678
|
this.parent.treeGrid.grid.setRowData(dataId, data);
|
|
1679
|
+
var nextEditableElement = this.parent.ganttChartModule.tempNextElement;
|
|
1680
|
+
if (this.parent.ganttChartModule.isEditableElement && nextEditableElement) {
|
|
1681
|
+
this.parent.treeGrid.grid.focusModule.focus();
|
|
1682
|
+
addClass([this.parent.treeGrid.getRows()[tr['ariaRowIndex']].children[this.parent.ganttChartModule.childrenIndex]], 'e-focused');
|
|
1683
|
+
this.parent.ganttChartModule.tempNextElement = null;
|
|
1684
|
+
}
|
|
1679
1685
|
var row = this.parent.treeGrid.grid.getRowObjectFromUID(this.parent.treeGrid.grid.getDataRows()[index].getAttribute('data-uid'));
|
|
1680
1686
|
row.data = data;
|
|
1681
1687
|
}
|
|
@@ -229,8 +229,8 @@ var Timeline = /** @class */ (function () {
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
var newTimeline = extend({}, {}, zoomingLevel, true);
|
|
232
|
-
this.roundOffDateToZoom(this.parent.cloneProjectStartDate, true, perDayWidth, newTimeline.bottomTier.unit);
|
|
233
|
-
this.roundOffDateToZoom(this.parent.cloneProjectEndDate, false, perDayWidth, newTimeline.bottomTier.unit);
|
|
232
|
+
this.roundOffDateToZoom(this.parent.cloneProjectStartDate, true, perDayWidth, newTimeline.bottomTier.unit, zoomingLevel);
|
|
233
|
+
this.roundOffDateToZoom(this.parent.cloneProjectEndDate, false, perDayWidth, newTimeline.bottomTier.unit, zoomingLevel);
|
|
234
234
|
var numberOfCells = this.calculateNumberOfTimelineCells(newTimeline);
|
|
235
235
|
var scrollHeight = this.parent.ganttChartModule.scrollElement.offsetHeight - 17; //17 is horizontal scrollbar width
|
|
236
236
|
var contentHeight = this.parent.ganttChartModule.chartBodyContent.offsetHeight;
|
|
@@ -246,24 +246,40 @@ var Timeline = /** @class */ (function () {
|
|
|
246
246
|
this.parent.trigger('actionBegin', args);
|
|
247
247
|
this.changeTimelineSettings(newTimeline);
|
|
248
248
|
};
|
|
249
|
-
Timeline.prototype.
|
|
250
|
-
var
|
|
251
|
-
|
|
249
|
+
Timeline.prototype.bottomTierCellWidthCalc = function (mode, zoomLevel, date) {
|
|
250
|
+
var convertedMilliSeconds;
|
|
251
|
+
switch (mode) {
|
|
252
|
+
case 'Minutes':
|
|
253
|
+
convertedMilliSeconds = zoomLevel.bottomTier.count * (60 * 1000);
|
|
254
|
+
break;
|
|
255
|
+
case 'Hour':
|
|
256
|
+
convertedMilliSeconds = zoomLevel.bottomTier.count * (60 * 60 * 1000);
|
|
257
|
+
break;
|
|
258
|
+
case 'Week':
|
|
259
|
+
convertedMilliSeconds = zoomLevel.bottomTier.count * (7 * 24 * 60 * 60 * 1000);
|
|
260
|
+
break;
|
|
261
|
+
case 'Day':
|
|
262
|
+
convertedMilliSeconds = zoomLevel.bottomTier.count * (24 * 60 * 60 * 1000);
|
|
263
|
+
break;
|
|
264
|
+
case 'Month':
|
|
265
|
+
var daysInMonth = new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate();
|
|
266
|
+
convertedMilliSeconds = zoomLevel.bottomTier.count * (60 * 60 * 24 * daysInMonth * 1000);
|
|
267
|
+
break;
|
|
268
|
+
case 'Year':
|
|
269
|
+
var daysInYear = (date.getFullYear() % 400 === 0 || (date.getFullYear() % 100 !== 0 && date.getFullYear() % 4 === 0)) ? 366 : 365;
|
|
270
|
+
convertedMilliSeconds = zoomLevel.bottomTier.count * (60 * 60 * 24 * daysInYear * 1000);
|
|
271
|
+
break;
|
|
272
|
+
}
|
|
273
|
+
return convertedMilliSeconds;
|
|
274
|
+
};
|
|
275
|
+
Timeline.prototype.roundOffDateToZoom = function (date, isStartDate, perDayWidth, tierMode, zoomingLevel) {
|
|
276
|
+
var roundOffTime = this.bottomTierCellWidthCalc(tierMode, zoomingLevel, date);
|
|
252
277
|
if (isStartDate) {
|
|
253
278
|
date.setTime(date.getTime() - roundOffTime);
|
|
254
279
|
}
|
|
255
280
|
else {
|
|
256
281
|
date.setTime(date.getTime() + roundOffTime);
|
|
257
282
|
}
|
|
258
|
-
if (tierMode === 'Hour') {
|
|
259
|
-
date.setMinutes(isStartDate ? -120 : 120);
|
|
260
|
-
}
|
|
261
|
-
else if (tierMode === 'Minutes') {
|
|
262
|
-
date.setSeconds(isStartDate ? -120 : 120);
|
|
263
|
-
}
|
|
264
|
-
else {
|
|
265
|
-
date.setHours(isStartDate ? -48 : 48, 0, 0, 0);
|
|
266
|
-
}
|
|
267
283
|
};
|
|
268
284
|
Timeline.prototype.calculateNumberOfTimelineCells = function (newTimeline) {
|
|
269
285
|
var numberOfDays = Math.abs((this.parent.cloneProjectEndDate.getTime() -
|
|
@@ -1393,7 +1409,10 @@ var Timeline = /** @class */ (function () {
|
|
|
1393
1409
|
if (type === 'prevTimeSpan' && isFrom === 'publicMethod') {
|
|
1394
1410
|
this.parent.ganttChartModule.updateScrollLeft(0);
|
|
1395
1411
|
}
|
|
1396
|
-
else if (
|
|
1412
|
+
else if (type === 'nextTimeSpan' && isFrom === 'publicMethod') {
|
|
1413
|
+
this.parent.ganttChartModule.updateScrollLeft(this.parent.timelineModule.totalTimelineWidth);
|
|
1414
|
+
}
|
|
1415
|
+
else if (type === 'nextTimeSpan' && isFrom === 'TaskbarEditing') {
|
|
1397
1416
|
var currentScrollLeft = document.getElementsByClassName('e-chart-scroll-container e-content')[0].scrollLeft;
|
|
1398
1417
|
this.parent.element.querySelector('.e-timeline-header-container').scrollLeft = currentScrollLeft;
|
|
1399
1418
|
}
|
|
@@ -240,7 +240,7 @@ var Tooltip = /** @class */ (function () {
|
|
|
240
240
|
if (ganttData) {
|
|
241
241
|
data = ganttData.ganttProperties;
|
|
242
242
|
taskName = !isNullOrUndefined(data.taskName) ? '<tr class = "e-gantt-tooltip-rowcell"><td colspan="3">' +
|
|
243
|
-
data.taskName + '</td></tr>' : '';
|
|
243
|
+
(this.parent.disableHtmlEncode ? data.taskName.replace(/</g, "<").replace(/>/g, ">") : data.taskName) + '</td></tr>' : '';
|
|
244
244
|
}
|
|
245
245
|
switch (elementType) {
|
|
246
246
|
case 'milestone':
|
package/styles/fluent-dark.css
CHANGED
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
.e-bigger .e-predecessor-tooltip .e-btn-group:not(.e-rtl):not(.e-vertical) .e-btn:first-of-type {
|
|
459
459
|
background-color: #000;
|
|
460
460
|
border-color: #000;
|
|
461
|
-
color: #
|
|
461
|
+
color: #1b1a19;
|
|
462
462
|
font-size: 12px;
|
|
463
463
|
line-height: 18px;
|
|
464
464
|
padding: 0 8px 0 0;
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
.e-bigger .e-predecessor-tooltip .e-btn-group:not(.e-rtl):not(.e-vertical) .e-btn:last-of-type {
|
|
467
467
|
background-color: #000;
|
|
468
468
|
border-color: #000;
|
|
469
|
-
color: #
|
|
469
|
+
color: #1b1a19;
|
|
470
470
|
font-size: 12px;
|
|
471
471
|
line-height: 18px;
|
|
472
472
|
padding: 0 0 0 8px;
|
|
@@ -1446,7 +1446,7 @@
|
|
|
1446
1446
|
border-radius: 4px;
|
|
1447
1447
|
}
|
|
1448
1448
|
.e-gantt .e-gantt-chart .e-collapse-parent .e-gantt-child-taskbar-inner-div {
|
|
1449
|
-
border: 1px solid #
|
|
1449
|
+
border: 1px solid #1b1a19;
|
|
1450
1450
|
border-bottom: 0;
|
|
1451
1451
|
border-top: 0;
|
|
1452
1452
|
}
|
|
@@ -1622,11 +1622,11 @@
|
|
|
1622
1622
|
border-top-left-radius: 2px;
|
|
1623
1623
|
}
|
|
1624
1624
|
.e-gantt .e-gantt-chart .e-task-label {
|
|
1625
|
-
color: #
|
|
1625
|
+
color: #1b1a19;
|
|
1626
1626
|
font-size: 12px;
|
|
1627
1627
|
}
|
|
1628
1628
|
.e-gantt .e-gantt-chart .e-icon {
|
|
1629
|
-
color: #
|
|
1629
|
+
color: #1b1a19;
|
|
1630
1630
|
}
|
|
1631
1631
|
.e-gantt .e-gantt-chart .e-milestone-top {
|
|
1632
1632
|
border-bottom-color: #3b3a39;
|
|
@@ -1674,13 +1674,13 @@
|
|
|
1674
1674
|
border-bottom-color: #292827;
|
|
1675
1675
|
}
|
|
1676
1676
|
.e-gantt .e-gantt-chart .e-downtail::after {
|
|
1677
|
-
border-top-color: #
|
|
1677
|
+
border-top-color: #1b1a19;
|
|
1678
1678
|
}
|
|
1679
1679
|
.e-gantt .e-gantt-chart .e-downtail::before {
|
|
1680
1680
|
border-top-color: #292827;
|
|
1681
1681
|
}
|
|
1682
1682
|
.e-gantt .e-gantt-chart .e-ganttpopup .e-content {
|
|
1683
|
-
background-color: #
|
|
1683
|
+
background-color: #1b1a19;
|
|
1684
1684
|
border-color: #292827;
|
|
1685
1685
|
}
|
|
1686
1686
|
.e-gantt .e-gantt-chart .e-spanclicked,
|
|
@@ -1819,7 +1819,7 @@
|
|
|
1819
1819
|
.e-gantt.e-device .e-left-resize-gripper,
|
|
1820
1820
|
.e-gantt.e-device .e-right-resize-gripper {
|
|
1821
1821
|
border-color: #323130;
|
|
1822
|
-
color: #
|
|
1822
|
+
color: #1b1a19;
|
|
1823
1823
|
}
|
|
1824
1824
|
.e-gantt.e-device .e-backarrowspan {
|
|
1825
1825
|
color: #000;
|
|
@@ -458,7 +458,7 @@
|
|
|
458
458
|
.e-bigger .e-predecessor-tooltip .e-btn-group:not(.e-rtl):not(.e-vertical) .e-btn:first-of-type {
|
|
459
459
|
background-color: #000;
|
|
460
460
|
border-color: #000;
|
|
461
|
-
color: #
|
|
461
|
+
color: #1b1a19;
|
|
462
462
|
font-size: 12px;
|
|
463
463
|
line-height: 18px;
|
|
464
464
|
padding: 0 8px 0 0;
|
|
@@ -466,7 +466,7 @@
|
|
|
466
466
|
.e-bigger .e-predecessor-tooltip .e-btn-group:not(.e-rtl):not(.e-vertical) .e-btn:last-of-type {
|
|
467
467
|
background-color: #000;
|
|
468
468
|
border-color: #000;
|
|
469
|
-
color: #
|
|
469
|
+
color: #1b1a19;
|
|
470
470
|
font-size: 12px;
|
|
471
471
|
line-height: 18px;
|
|
472
472
|
padding: 0 0 0 8px;
|
|
@@ -1446,7 +1446,7 @@
|
|
|
1446
1446
|
border-radius: 4px;
|
|
1447
1447
|
}
|
|
1448
1448
|
.e-gantt .e-gantt-chart .e-collapse-parent .e-gantt-child-taskbar-inner-div {
|
|
1449
|
-
border: 1px solid #
|
|
1449
|
+
border: 1px solid #1b1a19;
|
|
1450
1450
|
border-bottom: 0;
|
|
1451
1451
|
border-top: 0;
|
|
1452
1452
|
}
|
|
@@ -1622,11 +1622,11 @@
|
|
|
1622
1622
|
border-top-left-radius: 2px;
|
|
1623
1623
|
}
|
|
1624
1624
|
.e-gantt .e-gantt-chart .e-task-label {
|
|
1625
|
-
color: #
|
|
1625
|
+
color: #1b1a19;
|
|
1626
1626
|
font-size: 12px;
|
|
1627
1627
|
}
|
|
1628
1628
|
.e-gantt .e-gantt-chart .e-icon {
|
|
1629
|
-
color: #
|
|
1629
|
+
color: #1b1a19;
|
|
1630
1630
|
}
|
|
1631
1631
|
.e-gantt .e-gantt-chart .e-milestone-top {
|
|
1632
1632
|
border-bottom-color: #3b3a39;
|
|
@@ -1674,13 +1674,13 @@
|
|
|
1674
1674
|
border-bottom-color: #292827;
|
|
1675
1675
|
}
|
|
1676
1676
|
.e-gantt .e-gantt-chart .e-downtail::after {
|
|
1677
|
-
border-top-color: #
|
|
1677
|
+
border-top-color: #1b1a19;
|
|
1678
1678
|
}
|
|
1679
1679
|
.e-gantt .e-gantt-chart .e-downtail::before {
|
|
1680
1680
|
border-top-color: #292827;
|
|
1681
1681
|
}
|
|
1682
1682
|
.e-gantt .e-gantt-chart .e-ganttpopup .e-content {
|
|
1683
|
-
background-color: #
|
|
1683
|
+
background-color: #1b1a19;
|
|
1684
1684
|
border-color: #292827;
|
|
1685
1685
|
}
|
|
1686
1686
|
.e-gantt .e-gantt-chart .e-spanclicked,
|
|
@@ -1819,7 +1819,7 @@
|
|
|
1819
1819
|
.e-gantt.e-device .e-left-resize-gripper,
|
|
1820
1820
|
.e-gantt.e-device .e-right-resize-gripper {
|
|
1821
1821
|
border-color: #323130;
|
|
1822
|
-
color: #
|
|
1822
|
+
color: #1b1a19;
|
|
1823
1823
|
}
|
|
1824
1824
|
.e-gantt.e-device .e-backarrowspan {
|
|
1825
1825
|
color: #000;
|