@syncfusion/ej2-gantt 20.1.55 → 20.1.56
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.umd.min.js +2 -2
- package/dist/ej2-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-gantt.es2015.js +4 -4
- package/dist/es6/ej2-gantt.es2015.js.map +1 -1
- package/dist/es6/ej2-gantt.es5.js +4 -4
- 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/edit.js +1 -1
- package/src/gantt/actions/pdf-export.js +1 -1
- package/src/gantt/base/task-processor.js +1 -1
- package/src/gantt/renderer/chart-rows.js +1 -1
- package/styles/bootstrap-dark.css +45 -368
- package/styles/bootstrap.css +46 -374
- package/styles/bootstrap4.css +56 -422
- package/styles/bootstrap5-dark.css +46 -369
- package/styles/bootstrap5.css +46 -369
- package/styles/fabric-dark.css +46 -367
- package/styles/fabric.css +48 -369
- package/styles/fluent-dark.css +45 -367
- package/styles/fluent.css +45 -367
- package/styles/gantt/bootstrap-dark.css +45 -368
- package/styles/gantt/bootstrap.css +46 -374
- package/styles/gantt/bootstrap4.css +56 -422
- package/styles/gantt/bootstrap5-dark.css +46 -369
- package/styles/gantt/bootstrap5.css +46 -369
- package/styles/gantt/fabric-dark.css +46 -367
- package/styles/gantt/fabric.css +48 -369
- package/styles/gantt/fluent-dark.css +45 -367
- package/styles/gantt/fluent.css +45 -367
- package/styles/gantt/highcontrast-light.css +21 -353
- package/styles/gantt/highcontrast.css +48 -403
- package/styles/gantt/material-dark.css +42 -360
- package/styles/gantt/material.css +43 -362
- package/styles/gantt/tailwind-dark.css +41 -359
- package/styles/gantt/tailwind.css +41 -359
- package/styles/highcontrast-light.css +21 -353
- package/styles/highcontrast.css +48 -403
- package/styles/material-dark.css +42 -360
- package/styles/material.css +43 -362
- package/styles/tailwind-dark.css +41 -359
- package/styles/tailwind.css +41 -359
|
@@ -1674,7 +1674,7 @@ var TaskProcessor = /** @__PURE__ @class */ (function (_super) {
|
|
|
1674
1674
|
var child = this_1.parent.taskFields.child;
|
|
1675
1675
|
var resourceData = tempData && tempData[this_1.parent.taskFields.resourceInfo];
|
|
1676
1676
|
var resourceIdMapping = this_1.parent.resourceFields.id;
|
|
1677
|
-
if (!tempData[child] && resourceData && resourceData.length) {
|
|
1677
|
+
if ((!tempData[child] || tempData[child].length === 0) && resourceData && resourceData.length) {
|
|
1678
1678
|
resourceData.forEach(function (resource) {
|
|
1679
1679
|
var id = (typeof resource === 'object') ? resource[resourceIdMapping] :
|
|
1680
1680
|
resource;
|
|
@@ -9942,7 +9942,7 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
|
|
|
9942
9942
|
var chartRows = this.parent.ganttChartModule.getChartRows();
|
|
9943
9943
|
//Below code is for rendering taskbartemplate in resource view with multi taskbar
|
|
9944
9944
|
if (this.parent.initialChartRowElements) {
|
|
9945
|
-
for (var j = 0; j
|
|
9945
|
+
for (var j = 0; j < this.parent.initialChartRowElements.length; j++) {
|
|
9946
9946
|
if (!isNullOrUndefined(chartRows[j])) {
|
|
9947
9947
|
if (!isNullOrUndefined(chartRows[j].childNodes[0].childNodes[1].childNodes[2]) &&
|
|
9948
9948
|
!isNullOrUndefined(this.parent.initialChartRowElements[j].childNodes[0].childNodes[1].childNodes[2])) {
|
|
@@ -21819,7 +21819,7 @@ var Edit$2 = /** @__PURE__ @class */ (function () {
|
|
|
21819
21819
|
if (!isNullOrUndefined(this.parent.editModule) && ganttData) {
|
|
21820
21820
|
this.parent.isOnEdit = true;
|
|
21821
21821
|
this.validateUpdateValues(data, ganttData, true);
|
|
21822
|
-
if (data[this.parent.taskFields.resourceInfo]) {
|
|
21822
|
+
if (data[this.parent.taskFields.resourceInfo] && data[this.parent.taskFields.duration] != 0) {
|
|
21823
21823
|
this.updateResourceRelatedFields(ganttData, 'resource');
|
|
21824
21824
|
}
|
|
21825
21825
|
var keys = Object.keys(data);
|
|
@@ -32634,7 +32634,7 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
32634
32634
|
//To set section page size and page orientation.
|
|
32635
32635
|
if (!isNullOrUndefined(pdfExportProperties)) {
|
|
32636
32636
|
var pdfPageSettings = new PdfPageSettings();
|
|
32637
|
-
if (!isNullOrUndefined(pdfExportProperties.pageOrientation && pdfExportProperties.pageOrientation === 'Portrait')
|
|
32637
|
+
if (!isNullOrUndefined(pdfExportProperties.pageOrientation) && pdfExportProperties.pageOrientation === 'Portrait') {
|
|
32638
32638
|
pdfPageSettings.orientation = PdfPageOrientation.Portrait;
|
|
32639
32639
|
}
|
|
32640
32640
|
else {
|