@syncfusion/ej2-gantt 19.4.50 → 19.4.52

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 (42) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +1 -1
  3. package/dist/ej2-gantt.umd.min.js +2 -2
  4. package/dist/ej2-gantt.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-gantt.es2015.js +7 -7
  6. package/dist/es6/ej2-gantt.es2015.js.map +1 -1
  7. package/dist/es6/ej2-gantt.es5.js +7 -7
  8. package/dist/es6/ej2-gantt.es5.js.map +1 -1
  9. package/dist/global/ej2-gantt.min.js +2 -2
  10. package/dist/global/ej2-gantt.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/package.json +18 -18
  13. package/src/gantt/actions/edit.js +0 -4
  14. package/src/gantt/base/tree-grid.js +4 -0
  15. package/src/gantt/renderer/chart-rows.js +3 -3
  16. package/styles/bootstrap-dark.css +3 -0
  17. package/styles/bootstrap.css +3 -0
  18. package/styles/bootstrap4.css +3 -0
  19. package/styles/bootstrap5-dark.css +3 -0
  20. package/styles/bootstrap5.css +3 -0
  21. package/styles/fabric-dark.css +3 -0
  22. package/styles/fabric.css +3 -0
  23. package/styles/gantt/_layout.scss +3 -0
  24. package/styles/gantt/bootstrap-dark.css +3 -0
  25. package/styles/gantt/bootstrap.css +3 -0
  26. package/styles/gantt/bootstrap4.css +3 -0
  27. package/styles/gantt/bootstrap5-dark.css +3 -0
  28. package/styles/gantt/bootstrap5.css +3 -0
  29. package/styles/gantt/fabric-dark.css +3 -0
  30. package/styles/gantt/fabric.css +3 -0
  31. package/styles/gantt/highcontrast-light.css +3 -0
  32. package/styles/gantt/highcontrast.css +3 -0
  33. package/styles/gantt/material-dark.css +3 -0
  34. package/styles/gantt/material.css +3 -0
  35. package/styles/gantt/tailwind-dark.css +3 -0
  36. package/styles/gantt/tailwind.css +3 -0
  37. package/styles/highcontrast-light.css +3 -0
  38. package/styles/highcontrast.css +3 -0
  39. package/styles/material-dark.css +3 -0
  40. package/styles/material.css +3 -0
  41. package/styles/tailwind-dark.css +3 -0
  42. package/styles/tailwind.css +3 -0
@@ -6960,6 +6960,10 @@ var GanttTreeGrid = /** @__PURE__ @class */ (function () {
6960
6960
  };
6961
6961
  GanttTreeGrid.prototype.actionBegin = function (args) {
6962
6962
  this.parent.notify('actionBegin', args);
6963
+ var flag = getValue('doubleClickTarget', this.parent.treeGrid.editModule);
6964
+ if (flag !== null) {
6965
+ setValue('doubleClickTarget', null, this.parent.treeGrid.editModule);
6966
+ }
6963
6967
  this.parent.trigger('actionBegin', args);
6964
6968
  }; // eslint-disable-next-line
6965
6969
  GanttTreeGrid.prototype.created = function (args) {
@@ -8365,9 +8369,9 @@ var ChartRows = /** @__PURE__ @class */ (function (_super) {
8365
8369
  }
8366
8370
  if (labelString !== 'null') {
8367
8371
  taskLabel$$1 = '<span class="' + taskLabel + '" style="line-height:' +
8368
- (this.taskBarHeight - 1) + 'px; text-align:' + (this.parent.viewType === 'ResourceView' ? 'left;' : '') +
8369
- 'display:' + (this.parent.viewType === 'ResourceView' ? 'inline-flex;' : '') +
8370
- 'width:' + (this.parent.viewType === 'ResourceView' ? (data.ganttProperties.width - 10) : '') + 'px; height:' +
8372
+ (this.taskBarHeight - 1) + 'px; text-align: left;' +
8373
+ 'display:' + 'inline-block;' +
8374
+ 'width:' + (data.ganttProperties.width - 10) + 'px; height:' +
8371
8375
  this.taskBarHeight + 'px;">' + labelString + '</span>';
8372
8376
  }
8373
8377
  var template = !isNullOrUndefined(data.ganttProperties.segments) && data.ganttProperties.segments.length > 0 ?
@@ -24121,10 +24125,6 @@ var Edit$2 = /** @__PURE__ @class */ (function () {
24121
24125
  }
24122
24126
  this.parent.timelineModule.updateTimeLineOnEditing([tempArray], args.action);
24123
24127
  }
24124
- var flag = getValue('doubleClickTarget', this.parent.treeGrid.editModule);
24125
- if (flag !== null) {
24126
- setValue('doubleClickTarget', null, this.parent.treeGrid.editModule);
24127
- }
24128
24128
  this.addSuccess(args);
24129
24129
  args = this.constructTaskAddedEventArgs(cAddedRecord, args.modifiedRecords, 'add');
24130
24130
  this.parent.trigger('actionComplete', args);