@libxai/board 1.9.8 → 1.9.10

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
@@ -2925,6 +2925,10 @@ interface TaskGridProps {
2925
2925
  * con multi-selección) + una etiqueta para el modal de confirmación. */
2926
2926
  onDeleteRequest?: (taskIds: string[], label: string) => void;
2927
2927
  onTaskReparent?: (taskId: string, newParentId: string | null, position?: number) => void;
2928
+ /** v1.9.10: árbol COMPLETO sin filtrar. Cuando hay un filtro activo, `tasks`
2929
+ * es un subconjunto; para reordenar correctamente la posición de destino debe
2930
+ * traducirse al índice real entre TODOS los hermanos (no solo los visibles). */
2931
+ allTasks?: Task[];
2928
2932
  scrollContainerRef?: React.RefObject<HTMLElement>;
2929
2933
  showCriticalPath?: boolean;
2930
2934
  }
@@ -2933,6 +2937,7 @@ onTaskClick, onTaskDblClick, // v0.8.0
2933
2937
  onTaskContextMenu, // v0.8.0
2934
2938
  onTaskToggle, scrollTop: _scrollTop, columns, onToggleColumn, onColumnResize, onTaskUpdate, onBulkFill, onTaskIndent, onTaskOutdent, onTaskMove, onMultiTaskDelete, onTaskDuplicate, onTaskCreate, onTaskRename, onCreateSubtask, onOpenTaskModal, onDeleteRequest, // v0.17.34
2935
2939
  onTaskReparent, // v0.17.68
2940
+ allTasks, // v1.9.10: árbol completo para traducir posición con filtros activos
2936
2941
  scrollContainerRef, // v0.18.15
2937
2942
  showCriticalPath, }: TaskGridProps): react_jsx_runtime.JSX.Element;
2938
2943
 
package/dist/index.d.ts CHANGED
@@ -2925,6 +2925,10 @@ interface TaskGridProps {
2925
2925
  * con multi-selección) + una etiqueta para el modal de confirmación. */
2926
2926
  onDeleteRequest?: (taskIds: string[], label: string) => void;
2927
2927
  onTaskReparent?: (taskId: string, newParentId: string | null, position?: number) => void;
2928
+ /** v1.9.10: árbol COMPLETO sin filtrar. Cuando hay un filtro activo, `tasks`
2929
+ * es un subconjunto; para reordenar correctamente la posición de destino debe
2930
+ * traducirse al índice real entre TODOS los hermanos (no solo los visibles). */
2931
+ allTasks?: Task[];
2928
2932
  scrollContainerRef?: React.RefObject<HTMLElement>;
2929
2933
  showCriticalPath?: boolean;
2930
2934
  }
@@ -2933,6 +2937,7 @@ onTaskClick, onTaskDblClick, // v0.8.0
2933
2937
  onTaskContextMenu, // v0.8.0
2934
2938
  onTaskToggle, scrollTop: _scrollTop, columns, onToggleColumn, onColumnResize, onTaskUpdate, onBulkFill, onTaskIndent, onTaskOutdent, onTaskMove, onMultiTaskDelete, onTaskDuplicate, onTaskCreate, onTaskRename, onCreateSubtask, onOpenTaskModal, onDeleteRequest, // v0.17.34
2935
2939
  onTaskReparent, // v0.17.68
2940
+ allTasks, // v1.9.10: árbol completo para traducir posición con filtros activos
2936
2941
  scrollContainerRef, // v0.18.15
2937
2942
  showCriticalPath, }: TaskGridProps): react_jsx_runtime.JSX.Element;
2938
2943