@syncfusion/ej2-gantt 21.1.41 → 21.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.
- package/CHANGELOG.md +22 -0
- package/dist/ej2-gantt.min.js +2 -2
- 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 +40 -16
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +41 -16
- 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 +19 -19
- package/src/gantt/actions/dialog-edit.js +1 -1
- package/src/gantt/actions/edit.js +5 -2
- package/src/gantt/actions/taskbar-edit.d.ts +1 -1
- package/src/gantt/actions/taskbar-edit.js +2 -2
- package/src/gantt/base/gantt.js +1 -1
- package/src/gantt/base/task-processor.js +2 -2
- package/src/gantt/renderer/chart-rows.js +29 -7
- package/src/gantt/renderer/timeline.js +1 -1
- package/styles/bootstrap-dark.css +3 -0
- package/styles/bootstrap.css +3 -0
- package/styles/bootstrap4.css +3 -0
- package/styles/bootstrap5-dark.css +3 -0
- package/styles/bootstrap5.css +3 -0
- package/styles/fabric-dark.css +3 -0
- package/styles/fabric.css +3 -0
- package/styles/fluent-dark.css +3 -0
- package/styles/fluent.css +3 -0
- package/styles/gantt/_theme.scss +4 -0
- package/styles/gantt/bootstrap-dark.css +3 -0
- package/styles/gantt/bootstrap.css +3 -0
- package/styles/gantt/bootstrap4.css +3 -0
- package/styles/gantt/bootstrap5-dark.css +3 -0
- package/styles/gantt/bootstrap5.css +3 -0
- package/styles/gantt/fabric-dark.css +3 -0
- package/styles/gantt/fabric.css +3 -0
- package/styles/gantt/fluent-dark.css +3 -0
- package/styles/gantt/fluent.css +3 -0
- package/styles/gantt/highcontrast-light.css +3 -0
- package/styles/gantt/highcontrast.css +3 -0
- package/styles/gantt/material-dark.css +3 -0
- package/styles/gantt/material.css +3 -0
- package/styles/gantt/tailwind-dark.css +3 -0
- package/styles/gantt/tailwind.css +3 -0
- package/styles/highcontrast-light.css +3 -0
- package/styles/highcontrast.css +3 -0
- package/styles/material-dark.css +3 -0
- package/styles/material.css +3 -0
- package/styles/tailwind-dark.css +3 -0
- package/styles/tailwind.css +3 -0
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 21.
|
|
3
|
+
* version : 21.2.4
|
|
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@21.
|
|
3
|
+
"_id": "@syncfusion/ej2-gantt@21.2.3",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-eiPwWiYorOZdyr5Badi29jFmSlFB3zDsGd7BIwAhHoBEtBKbfLoa0/CpnmmxOeLEi7qBkFNBhzry1GRKCLK/hw==",
|
|
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-21.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-21.2.3.tgz",
|
|
27
|
+
"_shasum": "c48d795304643ff8995cee4782ba26eb1fa2445b",
|
|
28
28
|
"_spec": "@syncfusion/ej2-gantt@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -35,20 +35,20 @@
|
|
|
35
35
|
},
|
|
36
36
|
"bundleDependencies": false,
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~21.
|
|
39
|
-
"@syncfusion/ej2-buttons": "~21.
|
|
40
|
-
"@syncfusion/ej2-calendars": "~21.
|
|
41
|
-
"@syncfusion/ej2-data": "~21.
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~21.
|
|
43
|
-
"@syncfusion/ej2-grids": "~21.
|
|
44
|
-
"@syncfusion/ej2-inputs": "~21.
|
|
45
|
-
"@syncfusion/ej2-layouts": "~21.
|
|
46
|
-
"@syncfusion/ej2-lists": "~21.
|
|
47
|
-
"@syncfusion/ej2-navigations": "~21.
|
|
48
|
-
"@syncfusion/ej2-notifications": "~21.
|
|
49
|
-
"@syncfusion/ej2-popups": "~21.
|
|
50
|
-
"@syncfusion/ej2-richtexteditor": "~21.
|
|
51
|
-
"@syncfusion/ej2-treegrid": "~21.
|
|
38
|
+
"@syncfusion/ej2-base": "~21.2.3",
|
|
39
|
+
"@syncfusion/ej2-buttons": "~21.2.3",
|
|
40
|
+
"@syncfusion/ej2-calendars": "~21.2.4",
|
|
41
|
+
"@syncfusion/ej2-data": "~21.2.4",
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~21.2.4",
|
|
43
|
+
"@syncfusion/ej2-grids": "~21.2.4",
|
|
44
|
+
"@syncfusion/ej2-inputs": "~21.2.4",
|
|
45
|
+
"@syncfusion/ej2-layouts": "~21.2.3",
|
|
46
|
+
"@syncfusion/ej2-lists": "~21.2.3",
|
|
47
|
+
"@syncfusion/ej2-navigations": "~21.2.4",
|
|
48
|
+
"@syncfusion/ej2-notifications": "~21.2.3",
|
|
49
|
+
"@syncfusion/ej2-popups": "~21.2.4",
|
|
50
|
+
"@syncfusion/ej2-richtexteditor": "~21.2.4",
|
|
51
|
+
"@syncfusion/ej2-treegrid": "~21.2.4"
|
|
52
52
|
},
|
|
53
53
|
"deprecated": false,
|
|
54
54
|
"description": "Essential JS 2 Gantt Component",
|
|
@@ -73,6 +73,6 @@
|
|
|
73
73
|
"url": "git+https://github.com/syncfusion/ej2-gantt.git"
|
|
74
74
|
},
|
|
75
75
|
"typings": "index.d.ts",
|
|
76
|
-
"version": "21.
|
|
76
|
+
"version": "21.2.4",
|
|
77
77
|
"sideEffects": false
|
|
78
78
|
}
|
|
@@ -2356,7 +2356,7 @@ var DialogEdit = /** @class */ (function () {
|
|
|
2356
2356
|
var ganttObj = this.parent;
|
|
2357
2357
|
var rte = notesElement.ej2_instances[0];
|
|
2358
2358
|
if (this.isEdit) {
|
|
2359
|
-
if (ganttObj.columnByField[ganttObj.taskFields.notes].disableHtmlEncode) {
|
|
2359
|
+
if (ganttObj.columnByField[ganttObj.taskFields.notes].disableHtmlEncode === false) {
|
|
2360
2360
|
this.parent.setRecordValue('notes', rte.getHtml(), this.rowData.ganttProperties, true);
|
|
2361
2361
|
}
|
|
2362
2362
|
else {
|
|
@@ -445,7 +445,7 @@ var Edit = /** @class */ (function () {
|
|
|
445
445
|
}
|
|
446
446
|
else if ([tasks.progress, tasks.notes, tasks.durationUnit, tasks.expandState,
|
|
447
447
|
tasks.milestone, tasks.name, tasks.baselineStartDate,
|
|
448
|
-
tasks.baselineEndDate, tasks.id, tasks.segments].indexOf(key) !== -1) {
|
|
448
|
+
tasks.baselineEndDate, tasks.id, tasks.segments, tasks.cssClass].indexOf(key) !== -1) {
|
|
449
449
|
var column = ganttObj.columnByField[key];
|
|
450
450
|
/* eslint-disable-next-line */
|
|
451
451
|
var value = data[key];
|
|
@@ -459,6 +459,9 @@ var Edit = /** @class */ (function () {
|
|
|
459
459
|
else if (key === tasks.name) {
|
|
460
460
|
ganttPropKey = 'taskName';
|
|
461
461
|
}
|
|
462
|
+
else if (key === tasks.cssClass) {
|
|
463
|
+
ganttPropKey = 'cssClass';
|
|
464
|
+
}
|
|
462
465
|
else if ((key === tasks.segments) && (!isNullOrUndefined(ganttData.ganttProperties.segments))) {
|
|
463
466
|
ganttPropKey = 'segments';
|
|
464
467
|
/* eslint-disable-next-line */
|
|
@@ -850,7 +853,7 @@ var Edit = /** @class */ (function () {
|
|
|
850
853
|
this.parent.predecessorModule.isValidatedParentTaskID = '';
|
|
851
854
|
}
|
|
852
855
|
if (this.parent.allowParentDependency && ganttRecord.hasChildRecords && this.parent.previousRecords[ganttRecord.uniqueID].ganttProperties.startDate &&
|
|
853
|
-
(args.action === "DrawConnectorLine")) {
|
|
856
|
+
(args.action === "DrawConnectorLine") || (args.action === "DialogEditing")) {
|
|
854
857
|
this.updateChildItems(ganttRecord);
|
|
855
858
|
}
|
|
856
859
|
this.updateParentItemOnEditing();
|
|
@@ -228,7 +228,7 @@ export declare class TaskbarEdit extends DateProcessor {
|
|
|
228
228
|
* @returns {Date} .
|
|
229
229
|
* @private
|
|
230
230
|
*/
|
|
231
|
-
getDateByLeft(left: number, isMilestone?: boolean, property?:
|
|
231
|
+
getDateByLeft(left: number, isMilestone?: boolean, property?: ITaskData): Date;
|
|
232
232
|
/**
|
|
233
233
|
* To set item position.
|
|
234
234
|
*
|
|
@@ -1370,7 +1370,7 @@ var TaskbarEdit = /** @class */ (function (_super) {
|
|
|
1370
1370
|
: ganttRecord.left;
|
|
1371
1371
|
var tierMode = this.parent.timelineModule.bottomTier !== 'None' ? this.parent.timelineModule.bottomTier :
|
|
1372
1372
|
this.parent.timelineModule.topTier;
|
|
1373
|
-
var remainingContribution = (1 / (this.parent.timelineModule.getIncrement(this.getDateByLeft(left), 1, 'Day') / (1000 * 60 * 60 * 24)));
|
|
1373
|
+
var remainingContribution = (1 / (this.parent.timelineModule.getIncrement(this.getDateByLeft(left, isNullOrUndefined(ganttRecord) ? ganttRecord.isMilestone : null, ganttRecord), 1, 'Day') / (1000 * 60 * 60 * 24)));
|
|
1374
1374
|
var remainDays = this.parent.perDayWidth - (this.parent.perDayWidth / remainingContribution);
|
|
1375
1375
|
var remainDaysInDecimal = remainDays / this.parent.perDayWidth;
|
|
1376
1376
|
if (isRoundOff === undefined) {
|
|
@@ -1418,7 +1418,7 @@ var TaskbarEdit = /** @class */ (function (_super) {
|
|
|
1418
1418
|
var milliSecondsPerPixel = (24 * 60 * 60 * 1000) / this.parent.perDayWidth;
|
|
1419
1419
|
pStartDate.setTime(pStartDate.getTime() + (left * milliSecondsPerPixel));
|
|
1420
1420
|
/* To render the milestone in proper date while editing */
|
|
1421
|
-
if (isMilestone) {
|
|
1421
|
+
if (isMilestone && !isNullOrUndefined(property.predecessor) && property.predecessor.length > 0) {
|
|
1422
1422
|
pStartDate.setDate(pStartDate.getDate() - 1);
|
|
1423
1423
|
this.parent.dateValidationModule.setTime(this.parent.defaultEndTime, pStartDate);
|
|
1424
1424
|
pStartDate = this.parent.dateValidationModule.checkStartDate(pStartDate, property, true);
|
package/src/gantt/base/gantt.js
CHANGED
|
@@ -2350,13 +2350,13 @@ var TaskProcessor = /** @class */ (function (_super) {
|
|
|
2350
2350
|
minStartDate.getTime() === maxEndDate.getTime() ? true : false;
|
|
2351
2351
|
if (this.compareDates(previousStartDate, minStartDate) !== 0) {
|
|
2352
2352
|
this.parent.setRecordValue(ganttProp.isAutoSchedule ? 'startDate' : 'autoStartDate', minStartDate, parentData.ganttProperties, true);
|
|
2353
|
-
if ((((!isNullOrUndefined(ganttProp.autoDuration)) ? ganttProp.autoDuration === 0 : ganttProp.duration === 0)) && parentData['isManual'] && milestone) {
|
|
2353
|
+
if ((((!isNullOrUndefined(ganttProp.autoDuration)) ? ganttProp.autoDuration === 0 : ganttProp.duration === 0)) && parentData['isManual'] && milestone && (parentData.hasChildRecords && parentData.ganttProperties.isAutoSchedule && this.parent.editModule.taskbarEditModule.taskbarEditedArgs.action !== "TaskbarEditing")) {
|
|
2354
2354
|
this.parent.setRecordValue('startDate', minStartDate, parentData.ganttProperties, true);
|
|
2355
2355
|
}
|
|
2356
2356
|
}
|
|
2357
2357
|
if (this.compareDates(previousEndDate, maxEndDate) !== 0) {
|
|
2358
2358
|
this.parent.setRecordValue(ganttProp.isAutoSchedule ? 'endDate' : 'autoEndDate', maxEndDate, parentData.ganttProperties, true);
|
|
2359
|
-
if ((((!isNullOrUndefined(ganttProp.autoDuration)) ? ganttProp.autoDuration === 0 : ganttProp.duration === 0)) && parentData['isManual'] && milestone) {
|
|
2359
|
+
if ((((!isNullOrUndefined(ganttProp.autoDuration)) ? ganttProp.autoDuration === 0 : ganttProp.duration === 0)) && parentData['isManual'] && milestone && (parentData.hasChildRecords && parentData.ganttProperties.isAutoSchedule && this.parent.editModule.taskbarEditModule.taskbarEditedArgs.action !== "TaskbarEditing")) {
|
|
2360
2360
|
this.parent.setRecordValue('endDate', maxEndDate, parentData.ganttProperties, true);
|
|
2361
2361
|
}
|
|
2362
2362
|
}
|
|
@@ -229,7 +229,12 @@ var ChartRows = /** @class */ (function (_super) {
|
|
|
229
229
|
data.ganttProperties.segments.length === 0))) {
|
|
230
230
|
if (template !== '' && !isNullOrUndefined(progressDiv) && progressDiv.length > 0) {
|
|
231
231
|
var templateElement = this.createDivElement(template)[0];
|
|
232
|
-
|
|
232
|
+
if (this.parent.disableHtmlEncode) {
|
|
233
|
+
templateElement.innerText = labelString;
|
|
234
|
+
}
|
|
235
|
+
else {
|
|
236
|
+
templateElement.innerHTML = labelString;
|
|
237
|
+
}
|
|
233
238
|
var childLabel = this.parent.labelSettings.taskLabel;
|
|
234
239
|
if (childLabel && childLabel['elementRef'])
|
|
235
240
|
templateElement.appendChild(tempDiv);
|
|
@@ -823,7 +828,7 @@ var ChartRows = /** @class */ (function (_super) {
|
|
|
823
828
|
'<div class="' + cls.manualParentMilestoneBottom + '" style="top:' +
|
|
824
829
|
(this.milesStoneRadius) + 'px;border-right-width:' + this.milesStoneRadius + 'px; border-left-width:' +
|
|
825
830
|
this.milesStoneRadius + 'px; border-top-width:' + this.milesStoneRadius + 'px;"></div></div>';
|
|
826
|
-
return this.createDivElement(data.ganttProperties.
|
|
831
|
+
return this.createDivElement(data.ganttProperties.duration !== 0 ? template : milestoneTemplate);
|
|
827
832
|
};
|
|
828
833
|
/**
|
|
829
834
|
* To get parent taskbar node.
|
|
@@ -895,7 +900,12 @@ var ChartRows = /** @class */ (function (_super) {
|
|
|
895
900
|
this.taskBarHeight + 'px;"></span>';
|
|
896
901
|
}
|
|
897
902
|
var labelElement = this.createDivElement(labelDiv)[0];
|
|
898
|
-
|
|
903
|
+
if (this.parent.disableHtmlEncode) {
|
|
904
|
+
labelElement.innerText = labelString;
|
|
905
|
+
}
|
|
906
|
+
else {
|
|
907
|
+
labelElement.innerHTML = labelString;
|
|
908
|
+
}
|
|
899
909
|
var parentLabel = this.parent.labelSettings.taskLabel;
|
|
900
910
|
if (parentLabel && parentLabel['elementRef'])
|
|
901
911
|
labelElement.appendChild(div);
|
|
@@ -1019,7 +1029,7 @@ var ChartRows = /** @class */ (function (_super) {
|
|
|
1019
1029
|
var template = '<div class="' + cls.taskBarMainContainer + ' ' +
|
|
1020
1030
|
this.parent.getUnscheduledTaskClass(data.ganttProperties) + ' ' +
|
|
1021
1031
|
((data.ganttProperties.cssClass) ? data.ganttProperties.cssClass : '') + '" ' +
|
|
1022
|
-
' tabindex="-1" role="term" style="' + ((data.ganttProperties.isMilestone && !manualParent) ?
|
|
1032
|
+
' tabindex="-1" role="term" style="' + ((data.ganttProperties.isMilestone && !manualParent && !(data.hasChildRecords && !data.ganttProperties.isAutoSchedule)) ?
|
|
1023
1033
|
('width:' + this.milestoneHeight + 'px;height:' +
|
|
1024
1034
|
this.milestoneHeight + 'px;margin-top:' + this.milestoneMarginTop + 'px;' + (this.parent.enableRtl ? 'right:' : 'left:') + (data.ganttProperties.left -
|
|
1025
1035
|
(this.milestoneHeight / 2)) + 'px;') : ('width:' + data.ganttProperties.width +
|
|
@@ -1314,6 +1324,7 @@ var ChartRows = /** @class */ (function (_super) {
|
|
|
1314
1324
|
* @private
|
|
1315
1325
|
*/
|
|
1316
1326
|
ChartRows.prototype.createTaskbarTemplate = function () {
|
|
1327
|
+
var _a;
|
|
1317
1328
|
var trs = [].slice.call(this.ganttChartTableBody.querySelectorAll('tr'));
|
|
1318
1329
|
this.ganttChartTableBody.innerHTML = '';
|
|
1319
1330
|
var collapsedResourceRecord = [];
|
|
@@ -1344,6 +1355,10 @@ var ChartRows = /** @class */ (function (_super) {
|
|
|
1344
1355
|
}
|
|
1345
1356
|
}
|
|
1346
1357
|
else {
|
|
1358
|
+
var dupChartBody = void 0;
|
|
1359
|
+
dupChartBody = createElement('tbody', {
|
|
1360
|
+
id: this.parent.element.id + 'GanttTaskTableBody'
|
|
1361
|
+
});
|
|
1347
1362
|
for (var i = 0; i < this.parent.currentViewData.length; i++) {
|
|
1348
1363
|
var tempTemplateData = this.parent.currentViewData[i];
|
|
1349
1364
|
if (this.parent.viewType === 'ResourceView') {
|
|
@@ -1356,9 +1371,9 @@ var ChartRows = /** @class */ (function (_super) {
|
|
|
1356
1371
|
}
|
|
1357
1372
|
}
|
|
1358
1373
|
var tRow = this.getGanttChartRow(i, tempTemplateData);
|
|
1359
|
-
|
|
1374
|
+
dupChartBody.appendChild(tRow);
|
|
1360
1375
|
if (this.parent.enableImmutableMode) {
|
|
1361
|
-
this.refreshedTr.push(
|
|
1376
|
+
this.refreshedTr.push(dupChartBody.querySelectorAll('tr')[i]);
|
|
1362
1377
|
this.refreshedData.push(this.parent.currentViewData[i]);
|
|
1363
1378
|
}
|
|
1364
1379
|
// To maintain selection when virtualization is enabled
|
|
@@ -1366,6 +1381,7 @@ var ChartRows = /** @class */ (function (_super) {
|
|
|
1366
1381
|
this.parent.selectionModule.maintainSelectedRecords(parseInt(tRow.getAttribute('aria-rowindex'), 10));
|
|
1367
1382
|
}
|
|
1368
1383
|
}
|
|
1384
|
+
(_a = this.ganttChartTableBody).replaceChildren.apply(_a, dupChartBody.childNodes);
|
|
1369
1385
|
}
|
|
1370
1386
|
this.parent.renderTemplates();
|
|
1371
1387
|
this.triggerQueryTaskbarInfo();
|
|
@@ -1423,9 +1439,15 @@ var ChartRows = /** @class */ (function (_super) {
|
|
|
1423
1439
|
taskbarContainerNode[0].appendChild([].slice.call(manualTaskbar)[0]);
|
|
1424
1440
|
}
|
|
1425
1441
|
}
|
|
1426
|
-
if (parentTaskbarTemplateNode && parentTaskbarTemplateNode.length > 0) {
|
|
1442
|
+
if ((this.templateData.ganttProperties.autoDuration !== 0) && !this.templateData.ganttProperties.isMilestone && parentTaskbarTemplateNode && parentTaskbarTemplateNode.length > 0) {
|
|
1427
1443
|
taskbarContainerNode[0].appendChild([].slice.call(parentTaskbarTemplateNode)[0]);
|
|
1428
1444
|
}
|
|
1445
|
+
else if ((this.templateData.ganttProperties.duration === 0 && this.templateData.ganttProperties.isMilestone && this.templateData.ganttProperties.isAutoSchedule)) {
|
|
1446
|
+
var milestoneTemplateNode = this.getMilestoneNode(i, taskbarContainerNode);
|
|
1447
|
+
if (milestoneTemplateNode && milestoneTemplateNode.length > 0) {
|
|
1448
|
+
taskbarContainerNode[0].appendChild([].slice.call(milestoneTemplateNode)[0]);
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1429
1451
|
if (this.parent.renderBaseline && this.templateData.ganttProperties.baselineStartDate &&
|
|
1430
1452
|
this.templateData.ganttProperties.baselineEndDate) {
|
|
1431
1453
|
taskBaselineTemplateNode = ((this.templateData.ganttProperties.baselineStartDate.getTime() === this.templateData.ganttProperties.baselineEndDate.getTime()) || ((!isNullOrUndefined(this.templateData.ganttProperties.baselineStartDate) && !isNullOrUndefined(this.templateData.ganttProperties.startDate) && (this.templateData.ganttProperties.baselineStartDate.getTime() === this.templateData.ganttProperties.startDate.getTime()))
|
|
@@ -225,7 +225,7 @@ var Timeline = /** @class */ (function () {
|
|
|
225
225
|
var secondValue;
|
|
226
226
|
var zoomingCollections = this.parent.zoomingLevels.slice();
|
|
227
227
|
var sortedCollectons = zoomingCollections.sort(function (a, b) {
|
|
228
|
-
return (a.perDayWidth < b.perDayWidth) ? 1 : -1;
|
|
228
|
+
return (!a.perDayWidth && !b.perDayWidth ? 0 : (a.perDayWidth < b.perDayWidth) ? 1 : -1);
|
|
229
229
|
});
|
|
230
230
|
if (perDayWidth === 0) { // return when the Gantt chart is not in viewable state.
|
|
231
231
|
return;
|
|
@@ -1554,6 +1554,9 @@
|
|
|
1554
1554
|
border-color: #484848;
|
|
1555
1555
|
border-radius: 4px;
|
|
1556
1556
|
}
|
|
1557
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1558
|
+
display: none;
|
|
1559
|
+
}
|
|
1557
1560
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1558
1561
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
|
1559
1562
|
opacity: 0.95;
|
package/styles/bootstrap.css
CHANGED
|
@@ -1696,6 +1696,9 @@
|
|
|
1696
1696
|
border-color: #ddd;
|
|
1697
1697
|
border-radius: 4px;
|
|
1698
1698
|
}
|
|
1699
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1700
|
+
display: none;
|
|
1701
|
+
}
|
|
1699
1702
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1700
1703
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1701
1704
|
opacity: 0.95;
|
package/styles/bootstrap4.css
CHANGED
|
@@ -1880,6 +1880,9 @@
|
|
|
1880
1880
|
border-color: #dee2e6;
|
|
1881
1881
|
border-radius: 0px;
|
|
1882
1882
|
}
|
|
1883
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1884
|
+
display: none;
|
|
1885
|
+
}
|
|
1883
1886
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1884
1887
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1885
1888
|
opacity: 0.95;
|
|
@@ -1596,6 +1596,9 @@
|
|
|
1596
1596
|
border-color: #444c54;
|
|
1597
1597
|
border-radius: 0px;
|
|
1598
1598
|
}
|
|
1599
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1600
|
+
display: none;
|
|
1601
|
+
}
|
|
1599
1602
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1600
1603
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1601
1604
|
opacity: 0.95;
|
package/styles/bootstrap5.css
CHANGED
|
@@ -1596,6 +1596,9 @@
|
|
|
1596
1596
|
border-color: #dee2e6;
|
|
1597
1597
|
border-radius: 0px;
|
|
1598
1598
|
}
|
|
1599
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1600
|
+
display: none;
|
|
1601
|
+
}
|
|
1599
1602
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1600
1603
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1601
1604
|
opacity: 0.95;
|
package/styles/fabric-dark.css
CHANGED
|
@@ -1508,6 +1508,9 @@
|
|
|
1508
1508
|
border-color: #414040;
|
|
1509
1509
|
border-radius: 0px;
|
|
1510
1510
|
}
|
|
1511
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1512
|
+
display: none;
|
|
1513
|
+
}
|
|
1511
1514
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1512
1515
|
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.26);
|
|
1513
1516
|
opacity: 0.95;
|
package/styles/fabric.css
CHANGED
|
@@ -1506,6 +1506,9 @@
|
|
|
1506
1506
|
border-color: #eaeaea;
|
|
1507
1507
|
border-radius: 0px;
|
|
1508
1508
|
}
|
|
1509
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1510
|
+
display: none;
|
|
1511
|
+
}
|
|
1509
1512
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1510
1513
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
|
|
1511
1514
|
opacity: 0.95;
|
package/styles/fluent-dark.css
CHANGED
|
@@ -1583,6 +1583,9 @@
|
|
|
1583
1583
|
border-color: #292827;
|
|
1584
1584
|
border-radius: 0px;
|
|
1585
1585
|
}
|
|
1586
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1587
|
+
display: none;
|
|
1588
|
+
}
|
|
1586
1589
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1587
1590
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1588
1591
|
opacity: 0.95;
|
package/styles/fluent.css
CHANGED
|
@@ -1583,6 +1583,9 @@
|
|
|
1583
1583
|
border-color: #edebe9;
|
|
1584
1584
|
border-radius: 0px;
|
|
1585
1585
|
}
|
|
1586
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1587
|
+
display: none;
|
|
1588
|
+
}
|
|
1586
1589
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1587
1590
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1588
1591
|
opacity: 0.95;
|
package/styles/gantt/_theme.scss
CHANGED
|
@@ -1554,6 +1554,9 @@
|
|
|
1554
1554
|
border-color: #484848;
|
|
1555
1555
|
border-radius: 4px;
|
|
1556
1556
|
}
|
|
1557
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1558
|
+
display: none;
|
|
1559
|
+
}
|
|
1557
1560
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1558
1561
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
|
1559
1562
|
opacity: 0.95;
|
|
@@ -1696,6 +1696,9 @@
|
|
|
1696
1696
|
border-color: #ddd;
|
|
1697
1697
|
border-radius: 4px;
|
|
1698
1698
|
}
|
|
1699
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1700
|
+
display: none;
|
|
1701
|
+
}
|
|
1699
1702
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1700
1703
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1701
1704
|
opacity: 0.95;
|
|
@@ -1880,6 +1880,9 @@
|
|
|
1880
1880
|
border-color: #dee2e6;
|
|
1881
1881
|
border-radius: 0px;
|
|
1882
1882
|
}
|
|
1883
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1884
|
+
display: none;
|
|
1885
|
+
}
|
|
1883
1886
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1884
1887
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1885
1888
|
opacity: 0.95;
|
|
@@ -1596,6 +1596,9 @@
|
|
|
1596
1596
|
border-color: #444c54;
|
|
1597
1597
|
border-radius: 0px;
|
|
1598
1598
|
}
|
|
1599
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1600
|
+
display: none;
|
|
1601
|
+
}
|
|
1599
1602
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1600
1603
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1601
1604
|
opacity: 0.95;
|
|
@@ -1596,6 +1596,9 @@
|
|
|
1596
1596
|
border-color: #dee2e6;
|
|
1597
1597
|
border-radius: 0px;
|
|
1598
1598
|
}
|
|
1599
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1600
|
+
display: none;
|
|
1601
|
+
}
|
|
1599
1602
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1600
1603
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1601
1604
|
opacity: 0.95;
|
|
@@ -1508,6 +1508,9 @@
|
|
|
1508
1508
|
border-color: #414040;
|
|
1509
1509
|
border-radius: 0px;
|
|
1510
1510
|
}
|
|
1511
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1512
|
+
display: none;
|
|
1513
|
+
}
|
|
1511
1514
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1512
1515
|
box-shadow: 0 3px 8px rgba(0, 0, 0, 0.26);
|
|
1513
1516
|
opacity: 0.95;
|
package/styles/gantt/fabric.css
CHANGED
|
@@ -1506,6 +1506,9 @@
|
|
|
1506
1506
|
border-color: #eaeaea;
|
|
1507
1507
|
border-radius: 0px;
|
|
1508
1508
|
}
|
|
1509
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1510
|
+
display: none;
|
|
1511
|
+
}
|
|
1509
1512
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1510
1513
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
|
|
1511
1514
|
opacity: 0.95;
|
|
@@ -1583,6 +1583,9 @@
|
|
|
1583
1583
|
border-color: #292827;
|
|
1584
1584
|
border-radius: 0px;
|
|
1585
1585
|
}
|
|
1586
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1587
|
+
display: none;
|
|
1588
|
+
}
|
|
1586
1589
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1587
1590
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1588
1591
|
opacity: 0.95;
|
package/styles/gantt/fluent.css
CHANGED
|
@@ -1583,6 +1583,9 @@
|
|
|
1583
1583
|
border-color: #edebe9;
|
|
1584
1584
|
border-radius: 0px;
|
|
1585
1585
|
}
|
|
1586
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1587
|
+
display: none;
|
|
1588
|
+
}
|
|
1586
1589
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1587
1590
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
|
|
1588
1591
|
opacity: 0.95;
|
|
@@ -1491,6 +1491,9 @@
|
|
|
1491
1491
|
border-color: #757575;
|
|
1492
1492
|
border-radius: 0px;
|
|
1493
1493
|
}
|
|
1494
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1495
|
+
display: none;
|
|
1496
|
+
}
|
|
1494
1497
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1495
1498
|
box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.2);
|
|
1496
1499
|
opacity: 0.95;
|
|
@@ -1594,6 +1594,9 @@
|
|
|
1594
1594
|
border-color: #969696;
|
|
1595
1595
|
border-radius: 0px;
|
|
1596
1596
|
}
|
|
1597
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1598
|
+
display: none;
|
|
1599
|
+
}
|
|
1597
1600
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1598
1601
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
|
|
1599
1602
|
opacity: 0.95;
|
|
@@ -1551,6 +1551,9 @@
|
|
|
1551
1551
|
border-color: #616161;
|
|
1552
1552
|
border-radius: 0px;
|
|
1553
1553
|
}
|
|
1554
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1555
|
+
display: none;
|
|
1556
|
+
}
|
|
1554
1557
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1555
1558
|
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.26);
|
|
1556
1559
|
opacity: 0.95;
|
|
@@ -1595,6 +1595,9 @@
|
|
|
1595
1595
|
border-color: #e0e0e0;
|
|
1596
1596
|
border-radius: 0px;
|
|
1597
1597
|
}
|
|
1598
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1599
|
+
display: none;
|
|
1600
|
+
}
|
|
1598
1601
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1599
1602
|
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.26);
|
|
1600
1603
|
opacity: 0.95;
|
|
@@ -1567,6 +1567,9 @@
|
|
|
1567
1567
|
border-color: #4b5563;
|
|
1568
1568
|
border-radius: 0px;
|
|
1569
1569
|
}
|
|
1570
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1571
|
+
display: none;
|
|
1572
|
+
}
|
|
1570
1573
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1571
1574
|
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.26);
|
|
1572
1575
|
opacity: 0.95;
|
|
@@ -1567,6 +1567,9 @@
|
|
|
1567
1567
|
border-color: #e5e7eb;
|
|
1568
1568
|
border-radius: 0px;
|
|
1569
1569
|
}
|
|
1570
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1571
|
+
display: none;
|
|
1572
|
+
}
|
|
1570
1573
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1571
1574
|
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.26);
|
|
1572
1575
|
opacity: 0.95;
|
|
@@ -1491,6 +1491,9 @@
|
|
|
1491
1491
|
border-color: #757575;
|
|
1492
1492
|
border-radius: 0px;
|
|
1493
1493
|
}
|
|
1494
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1495
|
+
display: none;
|
|
1496
|
+
}
|
|
1494
1497
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1495
1498
|
box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.2);
|
|
1496
1499
|
opacity: 0.95;
|
package/styles/highcontrast.css
CHANGED
|
@@ -1594,6 +1594,9 @@
|
|
|
1594
1594
|
border-color: #969696;
|
|
1595
1595
|
border-radius: 0px;
|
|
1596
1596
|
}
|
|
1597
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1598
|
+
display: none;
|
|
1599
|
+
}
|
|
1597
1600
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1598
1601
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
|
|
1599
1602
|
opacity: 0.95;
|
package/styles/material-dark.css
CHANGED
|
@@ -1551,6 +1551,9 @@
|
|
|
1551
1551
|
border-color: #616161;
|
|
1552
1552
|
border-radius: 0px;
|
|
1553
1553
|
}
|
|
1554
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1555
|
+
display: none;
|
|
1556
|
+
}
|
|
1554
1557
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1555
1558
|
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.26);
|
|
1556
1559
|
opacity: 0.95;
|
package/styles/material.css
CHANGED
|
@@ -1595,6 +1595,9 @@
|
|
|
1595
1595
|
border-color: #e0e0e0;
|
|
1596
1596
|
border-radius: 0px;
|
|
1597
1597
|
}
|
|
1598
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1599
|
+
display: none;
|
|
1600
|
+
}
|
|
1598
1601
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1599
1602
|
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.26);
|
|
1600
1603
|
opacity: 0.95;
|
package/styles/tailwind-dark.css
CHANGED
|
@@ -1567,6 +1567,9 @@
|
|
|
1567
1567
|
border-color: #4b5563;
|
|
1568
1568
|
border-radius: 0px;
|
|
1569
1569
|
}
|
|
1570
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1571
|
+
display: none;
|
|
1572
|
+
}
|
|
1570
1573
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1571
1574
|
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.26);
|
|
1572
1575
|
opacity: 0.95;
|
package/styles/tailwind.css
CHANGED
|
@@ -1567,6 +1567,9 @@
|
|
|
1567
1567
|
border-color: #e5e7eb;
|
|
1568
1568
|
border-radius: 0px;
|
|
1569
1569
|
}
|
|
1570
|
+
.e-gantt .e-grid .e-spinner-pane {
|
|
1571
|
+
display: none;
|
|
1572
|
+
}
|
|
1570
1573
|
.e-gantt .e-cloneproperties.e-draganddrop {
|
|
1571
1574
|
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.26);
|
|
1572
1575
|
opacity: 0.95;
|