@syncfusion/ej2-gantt 20.3.57 → 20.3.58
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 +7 -3
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +7 -3
- 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 +12 -12
- package/src/gantt/actions/selection.js +3 -0
- package/src/gantt/base/tree-grid.js +2 -1
- package/src/gantt/renderer/timeline.js +2 -2
- package/styles/bootstrap-dark.css +61 -122
- package/styles/bootstrap.css +62 -124
- package/styles/bootstrap4.css +61 -122
- package/styles/bootstrap5-dark.css +61 -122
- package/styles/bootstrap5.css +61 -122
- package/styles/fabric-dark.css +61 -122
- package/styles/fabric.css +61 -122
- package/styles/fluent-dark.css +61 -122
- package/styles/fluent.css +61 -122
- package/styles/gantt/bootstrap-dark.css +61 -122
- package/styles/gantt/bootstrap.css +62 -124
- package/styles/gantt/bootstrap4.css +61 -122
- package/styles/gantt/bootstrap5-dark.css +61 -122
- package/styles/gantt/bootstrap5.css +61 -122
- package/styles/gantt/fabric-dark.css +61 -122
- package/styles/gantt/fabric.css +61 -122
- package/styles/gantt/fluent-dark.css +61 -122
- package/styles/gantt/fluent.css +61 -122
- package/styles/gantt/highcontrast-light.css +61 -122
- package/styles/gantt/highcontrast.css +61 -122
- package/styles/gantt/material-dark.css +64 -128
- package/styles/gantt/material.css +64 -128
- package/styles/gantt/tailwind-dark.css +63 -126
- package/styles/gantt/tailwind.css +63 -126
- package/styles/highcontrast-light.css +61 -122
- package/styles/highcontrast.css +61 -122
- package/styles/material-dark.css +64 -128
- package/styles/material.css +64 -128
- package/styles/tailwind-dark.css +63 -126
- package/styles/tailwind.css +63 -126
|
@@ -6807,9 +6807,9 @@ var Timeline = /** @__PURE__ @class */ (function () {
|
|
|
6807
6807
|
var validStartLeft = this.parent.dataOperation.getTaskLeft(validStartDate, false);
|
|
6808
6808
|
var validEndLeft = this.parent.dataOperation.getTaskLeft(validEndDate, false);
|
|
6809
6809
|
var isChanged = void 0;
|
|
6810
|
-
if (!isNullOrUndefined(maxStartLeft) && (maxStartLeft < this.bottomTierCellWidth || maxStartLeft <= validStartLeft)) {
|
|
6810
|
+
if (!isNullOrUndefined(maxStartLeft) && (minStartDate < this.timelineStartDate) && (maxStartLeft < this.bottomTierCellWidth || maxStartLeft <= validStartLeft)) {
|
|
6811
6811
|
isChanged = 'prevTimeSpan';
|
|
6812
|
-
minStartDate =
|
|
6812
|
+
minStartDate = this.timelineStartDate;
|
|
6813
6813
|
}
|
|
6814
6814
|
else {
|
|
6815
6815
|
minStartDate = this.timelineStartDate;
|
|
@@ -7076,7 +7076,8 @@ var GanttTreeGrid = /** @__PURE__ @class */ (function () {
|
|
|
7076
7076
|
if (!isNullOrUndefined(this.parent.toolbarModule) && !isNullOrUndefined(this.parent.toolbarModule.element)) {
|
|
7077
7077
|
toolbarHeight = this.parent.toolbarModule.element.offsetHeight;
|
|
7078
7078
|
}
|
|
7079
|
-
this.parent.treeGrid.height =
|
|
7079
|
+
this.parent.treeGrid.height =
|
|
7080
|
+
this.parent.element.getElementsByClassName('e-chart-scroll-container e-content')[0]['offsetHeight'] - 19;
|
|
7080
7081
|
};
|
|
7081
7082
|
GanttTreeGrid.prototype.getContentDiv = function () {
|
|
7082
7083
|
return this.treeGridElement.querySelector('.e-content');
|
|
@@ -26687,6 +26688,9 @@ var Selection$1 = /** @__PURE__ @class */ (function () {
|
|
|
26687
26688
|
this.selectRows(this.selectedRowIndexes);
|
|
26688
26689
|
};
|
|
26689
26690
|
Selection$$1.prototype.addRemoveClass = function (records) {
|
|
26691
|
+
if (typeof (records) == "number") {
|
|
26692
|
+
records = Array.from(String(records), function (num) { return Number(num); });
|
|
26693
|
+
}
|
|
26690
26694
|
var ganttRow = [].slice.call(this.parent.ganttChartModule.chartBodyContent.querySelector('tbody').children);
|
|
26691
26695
|
var _loop_1 = function (i) {
|
|
26692
26696
|
var selectedRow = ganttRow.filter(function (e) {
|