@thepocman/gantt-task-react 1.0.35 → 1.0.37

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.
@@ -4579,7 +4579,6 @@ const Calendar = ({
4579
4579
  );
4580
4580
  if (!isUnknownDates && (i2 === startColumnIndex || date.getFullYear() !== getDate(i2 - 1).getFullYear())) {
4581
4581
  const year = date.getFullYear();
4582
- console.log("Fulll year :>> ", year);
4583
4582
  const topValue = year.toString();
4584
4583
  const startHalfYearIndex = i2 - date.getMonth();
4585
4584
  const centerX = additionalLeftSpace + columnWidth * i2 + columnWidth;
@@ -6731,7 +6730,6 @@ const TaskGanttContent = ({
6731
6730
  const comparisonLevel = task.comparisonLevel ?? 1;
6732
6731
  const { id: taskId } = task;
6733
6732
  const isInCollapsedGroup = enableTaskGrouping && task.parent && tasksAtRow.length > 1;
6734
- console.log("isInCollapsedGroup :>> ", isInCollapsedGroup);
6735
6733
  if (selectedIdsMirror[taskId] && !addedSelectedTasks[taskId]) {
6736
6734
  addedSelectedTasks[taskId] = true;
6737
6735
  const rowIndex = (_a = taskToRowIndexMap.get(comparisonLevel)) == null ? void 0 : _a.get(taskId);
@@ -4592,7 +4592,6 @@
4592
4592
  );
4593
4593
  if (!isUnknownDates && (i === startColumnIndex || date.getFullYear() !== getDate(i - 1).getFullYear())) {
4594
4594
  const year = date.getFullYear();
4595
- console.log("Fulll year :>> ", year);
4596
4595
  const topValue = year.toString();
4597
4596
  const startHalfYearIndex = i - date.getMonth();
4598
4597
  const centerX = additionalLeftSpace + columnWidth * i + columnWidth;
@@ -6744,7 +6743,6 @@
6744
6743
  const comparisonLevel = task.comparisonLevel ?? 1;
6745
6744
  const { id: taskId } = task;
6746
6745
  const isInCollapsedGroup = enableTaskGrouping && task.parent && tasksAtRow.length > 1;
6747
- console.log("isInCollapsedGroup :>> ", isInCollapsedGroup);
6748
6746
  if (selectedIdsMirror[taskId] && !addedSelectedTasks[taskId]) {
6749
6747
  addedSelectedTasks[taskId] = true;
6750
6748
  const rowIndex = (_a = taskToRowIndexMap.get(comparisonLevel)) == null ? void 0 : _a.get(taskId);
@@ -163,6 +163,7 @@ export interface Task {
163
163
  comparisonLevel?: number;
164
164
  status?: string;
165
165
  phase?: string;
166
+ taskOwner?: string;
166
167
  }
167
168
  export interface EmptyTask {
168
169
  id: string;
@@ -173,6 +174,7 @@ export interface EmptyTask {
173
174
  comparisonLevel?: number;
174
175
  status?: string;
175
176
  phase?: string;
177
+ taskOwner?: string;
176
178
  displayOrder?: number;
177
179
  isDisabled?: boolean;
178
180
  styles?: Partial<ColorStyles>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thepocman/gantt-task-react",
3
- "version": "1.0.35",
3
+ "version": "1.0.37",
4
4
  "description": "Fork of gantt-task-react with support for grouped tasks on a single row when collapsed",
5
5
  "author": "Adrian Bueno <adrianlbueno@users.noreply.github.com>",
6
6
  "homepage": "https://github.com/adrianlbueno/gantt-task-react#readme",