@syncfusion/ej2-gantt 23.2.4 → 23.2.5
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 +11 -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 +9 -8
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +9 -8
- 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 +10 -10
- package/src/gantt/base/date-processor.js +1 -1
- package/src/gantt/base/tree-grid.js +5 -3
- package/src/gantt/renderer/timeline.js +3 -4
package/dist/global/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: index.d.ts
|
|
3
|
-
* version : 23.2.
|
|
3
|
+
* version : 23.2.5
|
|
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.
|
|
3
|
+
"_id": "@syncfusion/ej2-gantt@23.2.4",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-wCNpECTDwGcIedOz9w24Xdjb4aa/L4eqjzhEpjtvKXnQQYVaMXirv1KaIx3kTQPB+qsFw7x02h/Ucsdyl6tTuw==",
|
|
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.
|
|
27
|
-
"_shasum": "
|
|
26
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-23.2.4.tgz",
|
|
27
|
+
"_shasum": "94d38c11dffbbf536d2f515c84a3613fd10cd631",
|
|
28
28
|
"_spec": "@syncfusion/ej2-gantt@*",
|
|
29
29
|
"_where": "/jenkins/workspace/elease-automation_release_23.1.1/packages/included",
|
|
30
30
|
"author": {
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"@syncfusion/ej2-buttons": "~23.2.4",
|
|
40
40
|
"@syncfusion/ej2-calendars": "~23.2.4",
|
|
41
41
|
"@syncfusion/ej2-data": "~23.2.4",
|
|
42
|
-
"@syncfusion/ej2-dropdowns": "~23.2.
|
|
42
|
+
"@syncfusion/ej2-dropdowns": "~23.2.5",
|
|
43
43
|
"@syncfusion/ej2-grids": "~23.2.4",
|
|
44
44
|
"@syncfusion/ej2-inputs": "~23.2.4",
|
|
45
45
|
"@syncfusion/ej2-layouts": "~23.2.4",
|
|
46
46
|
"@syncfusion/ej2-lists": "~23.2.4",
|
|
47
|
-
"@syncfusion/ej2-navigations": "~23.2.
|
|
48
|
-
"@syncfusion/ej2-notifications": "~23.2.
|
|
47
|
+
"@syncfusion/ej2-navigations": "~23.2.5",
|
|
48
|
+
"@syncfusion/ej2-notifications": "~23.2.5",
|
|
49
49
|
"@syncfusion/ej2-popups": "~23.2.4",
|
|
50
|
-
"@syncfusion/ej2-richtexteditor": "~23.2.
|
|
51
|
-
"@syncfusion/ej2-svg-base": "~23.2.
|
|
50
|
+
"@syncfusion/ej2-richtexteditor": "~23.2.5",
|
|
51
|
+
"@syncfusion/ej2-svg-base": "~23.2.5",
|
|
52
52
|
"@syncfusion/ej2-treegrid": "~23.2.4"
|
|
53
53
|
},
|
|
54
54
|
"deprecated": false,
|
|
@@ -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.2.
|
|
77
|
+
"version": "23.2.5",
|
|
78
78
|
"sideEffects": false
|
|
79
79
|
}
|
|
@@ -67,7 +67,7 @@ var DateProcessor = /** @class */ (function () {
|
|
|
67
67
|
if (!this.parent.includeWeekend) {
|
|
68
68
|
var tempDate = new Date(cloneStartDate.getTime());
|
|
69
69
|
cloneStartDate = this.getNextWorkingDay(cloneStartDate);
|
|
70
|
-
if (tempDate.getTime() !== cloneStartDate.getTime()) {
|
|
70
|
+
if (tempDate.getTime() !== cloneStartDate.getTime() && !validateAsMilestone) {
|
|
71
71
|
this.setTime(startTime, cloneStartDate);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -121,7 +121,9 @@ var GanttTreeGrid = /** @class */ (function () {
|
|
|
121
121
|
this.parent.treeGrid.loadChildOnDemand = this.parent.loadChildOnDemand;
|
|
122
122
|
this.parent.treeGrid['isFromGantt'] = true;
|
|
123
123
|
this.parent.treeGrid.parentIdMapping = this.parent.taskFields.parentID;
|
|
124
|
-
|
|
124
|
+
if (this.parent.taskFields.parentID) {
|
|
125
|
+
this.parent.treeGrid.idMapping = this.parent.taskFields.id;
|
|
126
|
+
}
|
|
125
127
|
this.parent.treeGrid.showColumnMenu = this.parent.showColumnMenu;
|
|
126
128
|
this.parent.treeGrid.enableCollapseAll = this.parent.collapseAllParentTasks;
|
|
127
129
|
this.parent.treeGrid.columnMenuItems = this.parent.columnMenuItems;
|
|
@@ -162,7 +164,7 @@ var GanttTreeGrid = /** @class */ (function () {
|
|
|
162
164
|
toolbarHeight = this.parent.toolbarModule.element.offsetHeight;
|
|
163
165
|
}
|
|
164
166
|
this.parent.treeGrid.height =
|
|
165
|
-
this.parent.element.getElementsByClassName('e-chart-scroll-container e-content')[0]['offsetHeight'] - 19;
|
|
167
|
+
this.parent.element.getElementsByClassName('e-chart-scroll-container e-content')[0]['offsetHeight'] - (this.parent.flatData.length == 0 ? 0 : 19);
|
|
166
168
|
};
|
|
167
169
|
GanttTreeGrid.prototype.getContentDiv = function () {
|
|
168
170
|
return this.treeGridElement.querySelector('.e-content');
|
|
@@ -821,7 +823,7 @@ var GanttTreeGrid = /** @class */ (function () {
|
|
|
821
823
|
*/
|
|
822
824
|
GanttTreeGrid.prototype.composeIDColumn = function (column) {
|
|
823
825
|
var isProjectView = this.parent.viewType === 'ProjectView';
|
|
824
|
-
var lengthDataSource = this.parent.dataSource['length'];
|
|
826
|
+
var lengthDataSource = this.parent.dataSource ? this.parent.dataSource['length'] : 0;
|
|
825
827
|
var taskIDName;
|
|
826
828
|
column.isPrimaryKey = isProjectView ? true : false;
|
|
827
829
|
if (this.parent.isLocaleChanged) {
|
|
@@ -1429,10 +1429,9 @@ var Timeline = /** @class */ (function () {
|
|
|
1429
1429
|
var validEndLeft = this.parent.dataOperation.getTaskLeft(validEndDate, false);
|
|
1430
1430
|
var isChanged = void 0;
|
|
1431
1431
|
var taskbarModule = this.parent.editModule.taskbarEditModule;
|
|
1432
|
-
if (!isNullOrUndefined(maxStartLeft) && ((
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
taskbarModule.taskBarEditAction !== 'RightResizing')) && (maxStartLeft < this.bottomTierCellWidth || maxStartLeft <= validStartLeft)) {
|
|
1432
|
+
if (!isNullOrUndefined(maxStartLeft) && ((!isNullOrUndefined(taskbarModule)) && (!isNullOrUndefined(taskbarModule.taskBarEditAction)
|
|
1433
|
+
&& taskbarModule.taskBarEditAction !== 'ProgressResizing' &&
|
|
1434
|
+
taskbarModule.taskBarEditAction !== 'RightResizing' && taskbarModule.taskBarEditAction !== 'LeftResizing')) && (maxStartLeft < this.bottomTierCellWidth || maxStartLeft <= validStartLeft)) {
|
|
1436
1435
|
isChanged = 'prevTimeSpan';
|
|
1437
1436
|
minStartDate = minStartDate > this.timelineStartDate ? this.timelineStartDate : minStartDate;
|
|
1438
1437
|
}
|