@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.
Files changed (45) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/ej2-gantt.umd.min.js +2 -2
  3. package/dist/ej2-gantt.umd.min.js.map +1 -1
  4. package/dist/es6/ej2-gantt.es2015.js +4 -4
  5. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  6. package/dist/es6/ej2-gantt.es5.js +4 -4
  7. package/dist/es6/ej2-gantt.es5.js.map +1 -1
  8. package/dist/global/ej2-gantt.min.js +2 -2
  9. package/dist/global/ej2-gantt.min.js.map +1 -1
  10. package/dist/global/index.d.ts +1 -1
  11. package/package.json +12 -12
  12. package/src/gantt/actions/edit.js +1 -1
  13. package/src/gantt/actions/pdf-export.js +1 -1
  14. package/src/gantt/base/task-processor.js +1 -1
  15. package/src/gantt/renderer/chart-rows.js +1 -1
  16. package/styles/bootstrap-dark.css +45 -368
  17. package/styles/bootstrap.css +46 -374
  18. package/styles/bootstrap4.css +56 -422
  19. package/styles/bootstrap5-dark.css +46 -369
  20. package/styles/bootstrap5.css +46 -369
  21. package/styles/fabric-dark.css +46 -367
  22. package/styles/fabric.css +48 -369
  23. package/styles/fluent-dark.css +45 -367
  24. package/styles/fluent.css +45 -367
  25. package/styles/gantt/bootstrap-dark.css +45 -368
  26. package/styles/gantt/bootstrap.css +46 -374
  27. package/styles/gantt/bootstrap4.css +56 -422
  28. package/styles/gantt/bootstrap5-dark.css +46 -369
  29. package/styles/gantt/bootstrap5.css +46 -369
  30. package/styles/gantt/fabric-dark.css +46 -367
  31. package/styles/gantt/fabric.css +48 -369
  32. package/styles/gantt/fluent-dark.css +45 -367
  33. package/styles/gantt/fluent.css +45 -367
  34. package/styles/gantt/highcontrast-light.css +21 -353
  35. package/styles/gantt/highcontrast.css +48 -403
  36. package/styles/gantt/material-dark.css +42 -360
  37. package/styles/gantt/material.css +43 -362
  38. package/styles/gantt/tailwind-dark.css +41 -359
  39. package/styles/gantt/tailwind.css +41 -359
  40. package/styles/highcontrast-light.css +21 -353
  41. package/styles/highcontrast.css +48 -403
  42. package/styles/material-dark.css +42 -360
  43. package/styles/material.css +43 -362
  44. package/styles/tailwind-dark.css +41 -359
  45. package/styles/tailwind.css +41 -359
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 20.1.55
3
+ * version : 20.1.56
4
4
  * Copyright Syncfusion Inc. 2001 - 2020. 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@20.1.52",
3
+ "_id": "@syncfusion/ej2-gantt@20.1.55",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-/wTVnjMzpT390P2JRzawyNbDFHg0Wpc8duptpxTelUIBcwZ0G4HhwiNBDmzn5bIyYRGeFHu71fEbDQCLqsMwFQ==",
5
+ "_integrity": "sha512-NlYM3EFzTfu9JV3P/hsf5Z7oujYJgQS36jrK0YPlXdEYNFtOSAJaTlBz4ayAVbhyVG3JXAx5qV2rNeshlkhzjA==",
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": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.1.52.tgz",
27
- "_shasum": "3d1f066bd806ba43e8e6272345b12e2838cde804",
26
+ "_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-20.1.55.tgz",
27
+ "_shasum": "879bd537763e3b358468f62c42981f4a741a45f8",
28
28
  "_spec": "@syncfusion/ej2-gantt@*",
29
29
  "_where": "/jenkins/workspace/automation_release_19.1.0.1-ZPMUBNQ6AUYH6YGEFBPVYMEQLRRW2SLD4XCZ6GATNZJFYJ3RIAOA/packages/included",
30
30
  "author": {
@@ -35,19 +35,19 @@
35
35
  },
36
36
  "bundleDependencies": false,
37
37
  "dependencies": {
38
- "@syncfusion/ej2-base": "~20.1.55",
38
+ "@syncfusion/ej2-base": "~20.1.56",
39
39
  "@syncfusion/ej2-buttons": "~20.1.55",
40
- "@syncfusion/ej2-calendars": "~20.1.55",
40
+ "@syncfusion/ej2-calendars": "~20.1.56",
41
41
  "@syncfusion/ej2-data": "~20.1.55",
42
- "@syncfusion/ej2-dropdowns": "~20.1.55",
43
- "@syncfusion/ej2-grids": "~20.1.55",
42
+ "@syncfusion/ej2-dropdowns": "~20.1.56",
43
+ "@syncfusion/ej2-grids": "~20.1.56",
44
44
  "@syncfusion/ej2-inputs": "~20.1.55",
45
45
  "@syncfusion/ej2-layouts": "~20.1.55",
46
46
  "@syncfusion/ej2-lists": "~20.1.55",
47
- "@syncfusion/ej2-navigations": "~20.1.55",
47
+ "@syncfusion/ej2-navigations": "~20.1.56",
48
48
  "@syncfusion/ej2-popups": "~20.1.55",
49
- "@syncfusion/ej2-richtexteditor": "~20.1.55",
50
- "@syncfusion/ej2-treegrid": "~20.1.55"
49
+ "@syncfusion/ej2-richtexteditor": "~20.1.56",
50
+ "@syncfusion/ej2-treegrid": "~20.1.56"
51
51
  },
52
52
  "deprecated": false,
53
53
  "description": "Essential JS 2 Gantt Component",
@@ -75,6 +75,6 @@
75
75
  "url": "git+https://github.com/syncfusion/ej2-gantt.git"
76
76
  },
77
77
  "typings": "index.d.ts",
78
- "version": "20.1.55",
78
+ "version": "20.1.56",
79
79
  "sideEffects": false
80
80
  }
@@ -353,7 +353,7 @@ var Edit = /** @class */ (function () {
353
353
  if (!isNullOrUndefined(this.parent.editModule) && ganttData) {
354
354
  this.parent.isOnEdit = true;
355
355
  this.validateUpdateValues(data, ganttData, true);
356
- if (data[this.parent.taskFields.resourceInfo]) {
356
+ if (data[this.parent.taskFields.resourceInfo] && data[this.parent.taskFields.duration] != 0) {
357
357
  this.updateResourceRelatedFields(ganttData, 'resource');
358
358
  }
359
359
  var keys = Object.keys(data);
@@ -120,7 +120,7 @@ var PdfExport = /** @class */ (function () {
120
120
  //To set section page size and page orientation.
121
121
  if (!isNullOrUndefined(pdfExportProperties)) {
122
122
  var pdfPageSettings = new PdfPageSettings();
123
- if (!isNullOrUndefined(pdfExportProperties.pageOrientation && pdfExportProperties.pageOrientation === 'Portrait')) {
123
+ if (!isNullOrUndefined(pdfExportProperties.pageOrientation) && pdfExportProperties.pageOrientation === 'Portrait') {
124
124
  pdfPageSettings.orientation = PdfPageOrientation.Portrait;
125
125
  }
126
126
  else {
@@ -172,7 +172,7 @@ var TaskProcessor = /** @class */ (function (_super) {
172
172
  var child = this_1.parent.taskFields.child;
173
173
  var resourceData = tempData && tempData[this_1.parent.taskFields.resourceInfo];
174
174
  var resourceIdMapping = this_1.parent.resourceFields.id;
175
- if (!tempData[child] && resourceData && resourceData.length) {
175
+ if ((!tempData[child] || tempData[child].length === 0) && resourceData && resourceData.length) {
176
176
  resourceData.forEach(function (resource) {
177
177
  var id = (typeof resource === 'object') ? resource[resourceIdMapping] :
178
178
  resource;
@@ -1673,7 +1673,7 @@ var ChartRows = /** @class */ (function (_super) {
1673
1673
  var chartRows = this.parent.ganttChartModule.getChartRows();
1674
1674
  //Below code is for rendering taskbartemplate in resource view with multi taskbar
1675
1675
  if (this.parent.initialChartRowElements) {
1676
- for (var j = 0; j <= this.parent.initialChartRowElements.length; j++) {
1676
+ for (var j = 0; j < this.parent.initialChartRowElements.length; j++) {
1677
1677
  if (!isNullOrUndefined(chartRows[j])) {
1678
1678
  if (!isNullOrUndefined(chartRows[j].childNodes[0].childNodes[1].childNodes[2]) &&
1679
1679
  !isNullOrUndefined(this.parent.initialChartRowElements[j].childNodes[0].childNodes[1].childNodes[2])) {