@syncfusion/ej2-gantt 20.4.42 → 20.4.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 +9 -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 +12 -0
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +28 -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 +10 -10
- package/src/gantt/actions/rowdragdrop.js +25 -16
- package/src/gantt/actions/toolbar.js +3 -0
- package/styles/bootstrap-dark.css +1 -1
- package/styles/bootstrap.css +1 -1
- package/styles/bootstrap4.css +1 -1
- package/styles/bootstrap5-dark.css +1 -1
- package/styles/bootstrap5.css +1 -1
- package/styles/fabric-dark.css +1 -1
- package/styles/fabric.css +1 -1
- package/styles/fluent-dark.css +1 -1
- package/styles/fluent.css +1 -1
- package/styles/gantt/_theme.scss +1 -1
- package/styles/gantt/bootstrap-dark.css +1 -1
- package/styles/gantt/bootstrap.css +1 -1
- package/styles/gantt/bootstrap4.css +1 -1
- package/styles/gantt/bootstrap5-dark.css +1 -1
- package/styles/gantt/bootstrap5.css +1 -1
- package/styles/gantt/fabric-dark.css +1 -1
- package/styles/gantt/fabric.css +1 -1
- package/styles/gantt/fluent-dark.css +1 -1
- package/styles/gantt/fluent.css +1 -1
- package/styles/gantt/highcontrast-light.css +1 -1
- package/styles/gantt/highcontrast.css +1 -1
- package/styles/gantt/material-dark.css +1 -1
- package/styles/gantt/material.css +1 -1
- package/styles/gantt/tailwind-dark.css +1 -1
- package/styles/gantt/tailwind.css +1 -1
- package/styles/highcontrast-light.css +1 -1
- package/styles/highcontrast.css +1 -1
- package/styles/material-dark.css +1 -1
- package/styles/material.css +1 -1
- package/styles/tailwind-dark.css +1 -1
- package/styles/tailwind.css +1 -1
|
@@ -27660,6 +27660,9 @@ class Toolbar$3 {
|
|
|
27660
27660
|
* @private
|
|
27661
27661
|
*/
|
|
27662
27662
|
zoomToFit() {
|
|
27663
|
+
if (this.parent.timelineModule.isZoomIn) {
|
|
27664
|
+
this.parent.timelineModule.isZoomIn = false;
|
|
27665
|
+
}
|
|
27663
27666
|
this.parent.timelineModule.processZoomToFit();
|
|
27664
27667
|
this.parent.ganttChartModule.updateScrollLeft(0);
|
|
27665
27668
|
}
|
|
@@ -30073,6 +30076,15 @@ class RowDD$1 {
|
|
|
30073
30076
|
delete droppedRecord.taskData[this.parent.taskFields.segments];
|
|
30074
30077
|
}
|
|
30075
30078
|
}
|
|
30079
|
+
if (this.treeGridData.length != 0) {
|
|
30080
|
+
for (let i = 0; i < this.treeGridData.length; i++) {
|
|
30081
|
+
this.treeGridData[parseInt(i.toString(), 10)].index = i;
|
|
30082
|
+
if (!isNullOrUndefined(this.treeGridData[parseInt(i.toString(), 10)].parentItem)) {
|
|
30083
|
+
let updatedParent = getValue('uniqueIDCollection.' + this.treeGridData[parseInt(i.toString(), 10)].parentUniqueID, this.parent.treeGrid);
|
|
30084
|
+
this.treeGridData[parseInt(i.toString(), 10)].parentItem.index = updatedParent.index;
|
|
30085
|
+
}
|
|
30086
|
+
}
|
|
30087
|
+
}
|
|
30076
30088
|
// eslint-disable-next-line
|
|
30077
30089
|
if (!isNullOrUndefined(draggedRecord.parentItem && this.updateParentRecords.indexOf(draggedRecord.parentItem) !== -1)) {
|
|
30078
30090
|
this.updateParentRecords.push(draggedRecord.parentItem);
|