@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
|
@@ -1650,7 +1650,7 @@ class TaskProcessor extends DateProcessor {
|
|
|
1650
1650
|
const child = this.parent.taskFields.child;
|
|
1651
1651
|
const resourceData = tempData && tempData[this.parent.taskFields.resourceInfo];
|
|
1652
1652
|
const resourceIdMapping = this.parent.resourceFields.id;
|
|
1653
|
-
if (!tempData[child] && resourceData && resourceData.length) {
|
|
1653
|
+
if ((!tempData[child] || tempData[child].length === 0) && resourceData && resourceData.length) {
|
|
1654
1654
|
resourceData.forEach((resource) => {
|
|
1655
1655
|
const id = (typeof resource === 'object') ? resource[resourceIdMapping] :
|
|
1656
1656
|
resource;
|
|
@@ -9553,7 +9553,7 @@ class ChartRows extends DateProcessor {
|
|
|
9553
9553
|
const chartRows = this.parent.ganttChartModule.getChartRows();
|
|
9554
9554
|
//Below code is for rendering taskbartemplate in resource view with multi taskbar
|
|
9555
9555
|
if (this.parent.initialChartRowElements) {
|
|
9556
|
-
for (let j = 0; j
|
|
9556
|
+
for (let j = 0; j < this.parent.initialChartRowElements.length; j++) {
|
|
9557
9557
|
if (!isNullOrUndefined(chartRows[j])) {
|
|
9558
9558
|
if (!isNullOrUndefined(chartRows[j].childNodes[0].childNodes[1].childNodes[2]) &&
|
|
9559
9559
|
!isNullOrUndefined(this.parent.initialChartRowElements[j].childNodes[0].childNodes[1].childNodes[2])) {
|
|
@@ -21315,7 +21315,7 @@ class Edit$2 {
|
|
|
21315
21315
|
if (!isNullOrUndefined(this.parent.editModule) && ganttData) {
|
|
21316
21316
|
this.parent.isOnEdit = true;
|
|
21317
21317
|
this.validateUpdateValues(data, ganttData, true);
|
|
21318
|
-
if (data[this.parent.taskFields.resourceInfo]) {
|
|
21318
|
+
if (data[this.parent.taskFields.resourceInfo] && data[this.parent.taskFields.duration] != 0) {
|
|
21319
21319
|
this.updateResourceRelatedFields(ganttData, 'resource');
|
|
21320
21320
|
}
|
|
21321
21321
|
const keys = Object.keys(data);
|
|
@@ -31792,7 +31792,7 @@ class PdfExport {
|
|
|
31792
31792
|
//To set section page size and page orientation.
|
|
31793
31793
|
if (!isNullOrUndefined(pdfExportProperties)) {
|
|
31794
31794
|
const pdfPageSettings = new PdfPageSettings();
|
|
31795
|
-
if (!isNullOrUndefined(pdfExportProperties.pageOrientation && pdfExportProperties.pageOrientation === 'Portrait')
|
|
31795
|
+
if (!isNullOrUndefined(pdfExportProperties.pageOrientation) && pdfExportProperties.pageOrientation === 'Portrait') {
|
|
31796
31796
|
pdfPageSettings.orientation = PdfPageOrientation.Portrait;
|
|
31797
31797
|
}
|
|
31798
31798
|
else {
|