@libxai/board 1.9.35 → 1.9.36

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
@@ -480,6 +480,13 @@ interface GanttConfig {
480
480
  toolbarContainer?: HTMLElement | null;
481
481
  /** 1.9.35 · oculta el selector de nivel WBS (All / L1 / L2…) de la barra. */
482
482
  hideWbsLevel?: boolean;
483
+ /** 1.9.36 · cabecera de la escala W: 'number' («Week 36», por defecto) o 'range' («Sep 1–7»). */
484
+ weekHeaderFormat?: 'number' | 'range';
485
+ /**
486
+ * 1.9.36 · columnas visibles por defecto (además de «name»). Solo cambia el
487
+ * punto de partida: lo que el usuario guardó con persistColumns manda.
488
+ */
489
+ defaultVisibleColumns?: ColumnType$1[];
483
490
  templates?: GanttTemplates;
484
491
  permissions?: GanttPermissions;
485
492
  disableScrollSync?: boolean;
@@ -2962,6 +2969,8 @@ interface TimelineProps {
2962
2969
  showCriticalPath?: boolean;
2963
2970
  showDependencies?: boolean;
2964
2971
  highlightWeekends?: boolean;
2972
+ /** 1.9.36 · 'range' pinta «Sep 1–7» en la escala W. */
2973
+ weekHeaderFormat?: 'number' | 'range';
2965
2974
  /** v4.1.0: Per-task edit check — returns false for read-only bars */
2966
2975
  canEditTask?: (task: Task) => boolean;
2967
2976
  /** v4.2.0: Committed on pointerup after dragging the progress edge of a task bar. */
@@ -2980,7 +2989,7 @@ declare function Timeline({ tasks, theme, rowHeight: ROW_HEIGHT, timeScale, star
2980
2989
  templates, dependencyLineStyle, // v0.17.310
2981
2990
  showTaskBarLabels, onTaskClick, onTaskDblClick, // v0.8.0
2982
2991
  onTaskContextMenu, // v0.8.0
2983
- onTaskDateChange, onDependencyCreate, onDependencyDelete, showBaseline, showCriticalPath, showDependencies, highlightWeekends, canEditTask, onTaskProgressDrag, workingDaysConfig, }: TimelineProps): react_jsx_runtime.JSX.Element;
2992
+ onTaskDateChange, onDependencyCreate, onDependencyDelete, showBaseline, showCriticalPath, showDependencies, highlightWeekends, weekHeaderFormat, canEditTask, onTaskProgressDrag, workingDaysConfig, }: TimelineProps): react_jsx_runtime.JSX.Element;
2984
2993
 
2985
2994
  interface TaskTooltipData {
2986
2995
  task: Task;
package/dist/index.d.ts CHANGED
@@ -480,6 +480,13 @@ interface GanttConfig {
480
480
  toolbarContainer?: HTMLElement | null;
481
481
  /** 1.9.35 · oculta el selector de nivel WBS (All / L1 / L2…) de la barra. */
482
482
  hideWbsLevel?: boolean;
483
+ /** 1.9.36 · cabecera de la escala W: 'number' («Week 36», por defecto) o 'range' («Sep 1–7»). */
484
+ weekHeaderFormat?: 'number' | 'range';
485
+ /**
486
+ * 1.9.36 · columnas visibles por defecto (además de «name»). Solo cambia el
487
+ * punto de partida: lo que el usuario guardó con persistColumns manda.
488
+ */
489
+ defaultVisibleColumns?: ColumnType$1[];
483
490
  templates?: GanttTemplates;
484
491
  permissions?: GanttPermissions;
485
492
  disableScrollSync?: boolean;
@@ -2962,6 +2969,8 @@ interface TimelineProps {
2962
2969
  showCriticalPath?: boolean;
2963
2970
  showDependencies?: boolean;
2964
2971
  highlightWeekends?: boolean;
2972
+ /** 1.9.36 · 'range' pinta «Sep 1–7» en la escala W. */
2973
+ weekHeaderFormat?: 'number' | 'range';
2965
2974
  /** v4.1.0: Per-task edit check — returns false for read-only bars */
2966
2975
  canEditTask?: (task: Task) => boolean;
2967
2976
  /** v4.2.0: Committed on pointerup after dragging the progress edge of a task bar. */
@@ -2980,7 +2989,7 @@ declare function Timeline({ tasks, theme, rowHeight: ROW_HEIGHT, timeScale, star
2980
2989
  templates, dependencyLineStyle, // v0.17.310
2981
2990
  showTaskBarLabels, onTaskClick, onTaskDblClick, // v0.8.0
2982
2991
  onTaskContextMenu, // v0.8.0
2983
- onTaskDateChange, onDependencyCreate, onDependencyDelete, showBaseline, showCriticalPath, showDependencies, highlightWeekends, canEditTask, onTaskProgressDrag, workingDaysConfig, }: TimelineProps): react_jsx_runtime.JSX.Element;
2992
+ onTaskDateChange, onDependencyCreate, onDependencyDelete, showBaseline, showCriticalPath, showDependencies, highlightWeekends, weekHeaderFormat, canEditTask, onTaskProgressDrag, workingDaysConfig, }: TimelineProps): react_jsx_runtime.JSX.Element;
2984
2993
 
2985
2994
  interface TaskTooltipData {
2986
2995
  task: Task;