@libxai/board 0.17.67 → 0.17.69

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/dist/index.d.cts CHANGED
@@ -1853,6 +1853,7 @@ interface GanttConfig {
1853
1853
  onTaskOutdent?: (taskId: string) => void;
1854
1854
  onTaskRename?: (taskId: string, newName: string) => void;
1855
1855
  onTaskToggleExpand?: (taskId: string) => void;
1856
+ onTaskReparent?: (taskId: string, newParentId: string | null, position?: number) => void;
1856
1857
  }
1857
1858
 
1858
1859
  /**
@@ -2097,11 +2098,13 @@ interface TaskGridProps {
2097
2098
  onCreateSubtask?: (parentTaskId: string) => void;
2098
2099
  onOpenTaskModal?: (task: Task) => void;
2099
2100
  onDeleteRequest?: (taskId: string, taskName: string) => void;
2101
+ onTaskReparent?: (taskId: string, newParentId: string | null, position?: number) => void;
2100
2102
  }
2101
2103
  declare function TaskGrid({ tasks, theme, rowHeight: ROW_HEIGHT, availableUsers, templates: _templates, // TODO: Use templates for custom rendering
2102
2104
  onTaskClick, onTaskDblClick, // v0.8.0
2103
2105
  onTaskContextMenu, // v0.8.0
2104
- onTaskToggle, scrollTop: _scrollTop, columns, onToggleColumn, onColumnResize, onTaskUpdate, onTaskIndent, onTaskOutdent, onTaskMove, onMultiTaskDelete, onTaskDuplicate, onTaskCreate, onTaskRename, onCreateSubtask, onOpenTaskModal, onDeleteRequest, }: TaskGridProps): react_jsx_runtime.JSX.Element;
2106
+ onTaskToggle, scrollTop: _scrollTop, columns, onToggleColumn, onColumnResize, onTaskUpdate, onTaskIndent, onTaskOutdent, onTaskMove, onMultiTaskDelete, onTaskDuplicate, onTaskCreate, onTaskRename, onCreateSubtask, onOpenTaskModal, onDeleteRequest, // v0.17.34
2107
+ onTaskReparent, }: TaskGridProps): react_jsx_runtime.JSX.Element;
2105
2108
 
2106
2109
  interface TimelineProps {
2107
2110
  tasks: Task[];
package/dist/index.d.ts CHANGED
@@ -1853,6 +1853,7 @@ interface GanttConfig {
1853
1853
  onTaskOutdent?: (taskId: string) => void;
1854
1854
  onTaskRename?: (taskId: string, newName: string) => void;
1855
1855
  onTaskToggleExpand?: (taskId: string) => void;
1856
+ onTaskReparent?: (taskId: string, newParentId: string | null, position?: number) => void;
1856
1857
  }
1857
1858
 
1858
1859
  /**
@@ -2097,11 +2098,13 @@ interface TaskGridProps {
2097
2098
  onCreateSubtask?: (parentTaskId: string) => void;
2098
2099
  onOpenTaskModal?: (task: Task) => void;
2099
2100
  onDeleteRequest?: (taskId: string, taskName: string) => void;
2101
+ onTaskReparent?: (taskId: string, newParentId: string | null, position?: number) => void;
2100
2102
  }
2101
2103
  declare function TaskGrid({ tasks, theme, rowHeight: ROW_HEIGHT, availableUsers, templates: _templates, // TODO: Use templates for custom rendering
2102
2104
  onTaskClick, onTaskDblClick, // v0.8.0
2103
2105
  onTaskContextMenu, // v0.8.0
2104
- onTaskToggle, scrollTop: _scrollTop, columns, onToggleColumn, onColumnResize, onTaskUpdate, onTaskIndent, onTaskOutdent, onTaskMove, onMultiTaskDelete, onTaskDuplicate, onTaskCreate, onTaskRename, onCreateSubtask, onOpenTaskModal, onDeleteRequest, }: TaskGridProps): react_jsx_runtime.JSX.Element;
2106
+ onTaskToggle, scrollTop: _scrollTop, columns, onToggleColumn, onColumnResize, onTaskUpdate, onTaskIndent, onTaskOutdent, onTaskMove, onMultiTaskDelete, onTaskDuplicate, onTaskCreate, onTaskRename, onCreateSubtask, onOpenTaskModal, onDeleteRequest, // v0.17.34
2107
+ onTaskReparent, }: TaskGridProps): react_jsx_runtime.JSX.Element;
2105
2108
 
2106
2109
  interface TimelineProps {
2107
2110
  tasks: Task[];