@libxai/board 1.9.35 → 1.9.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.
- package/dist/index.cjs +28 -28
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +28 -28
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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;
|
|
@@ -1020,6 +1027,12 @@ interface BoardConfig {
|
|
|
1020
1027
|
columnWidth?: number;
|
|
1021
1028
|
/** Estimated card height for virtualization */
|
|
1022
1029
|
cardHeight?: number;
|
|
1030
|
+
/**
|
|
1031
|
+
* 1.9.37 · columnas plegadas: no pintan sus tarjetas pero siguen aceptando
|
|
1032
|
+
* arrastres. La app decide cuáles y pinta su propio aviso (p. ej. en
|
|
1033
|
+
* renderColumnFooter, «27 completed · Show»).
|
|
1034
|
+
*/
|
|
1035
|
+
collapsedColumnIds?: string[];
|
|
1023
1036
|
/** Enable keyboard shortcuts */
|
|
1024
1037
|
enableKeyboardShortcuts?: boolean;
|
|
1025
1038
|
/** Show card count in column headers */
|
|
@@ -2962,6 +2975,8 @@ interface TimelineProps {
|
|
|
2962
2975
|
showCriticalPath?: boolean;
|
|
2963
2976
|
showDependencies?: boolean;
|
|
2964
2977
|
highlightWeekends?: boolean;
|
|
2978
|
+
/** 1.9.36 · 'range' pinta «Sep 1–7» en la escala W. */
|
|
2979
|
+
weekHeaderFormat?: 'number' | 'range';
|
|
2965
2980
|
/** v4.1.0: Per-task edit check — returns false for read-only bars */
|
|
2966
2981
|
canEditTask?: (task: Task) => boolean;
|
|
2967
2982
|
/** v4.2.0: Committed on pointerup after dragging the progress edge of a task bar. */
|
|
@@ -2980,7 +2995,7 @@ declare function Timeline({ tasks, theme, rowHeight: ROW_HEIGHT, timeScale, star
|
|
|
2980
2995
|
templates, dependencyLineStyle, // v0.17.310
|
|
2981
2996
|
showTaskBarLabels, onTaskClick, onTaskDblClick, // v0.8.0
|
|
2982
2997
|
onTaskContextMenu, // v0.8.0
|
|
2983
|
-
onTaskDateChange, onDependencyCreate, onDependencyDelete, showBaseline, showCriticalPath, showDependencies, highlightWeekends, canEditTask, onTaskProgressDrag, workingDaysConfig, }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
2998
|
+
onTaskDateChange, onDependencyCreate, onDependencyDelete, showBaseline, showCriticalPath, showDependencies, highlightWeekends, weekHeaderFormat, canEditTask, onTaskProgressDrag, workingDaysConfig, }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
2984
2999
|
|
|
2985
3000
|
interface TaskTooltipData {
|
|
2986
3001
|
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;
|
|
@@ -1020,6 +1027,12 @@ interface BoardConfig {
|
|
|
1020
1027
|
columnWidth?: number;
|
|
1021
1028
|
/** Estimated card height for virtualization */
|
|
1022
1029
|
cardHeight?: number;
|
|
1030
|
+
/**
|
|
1031
|
+
* 1.9.37 · columnas plegadas: no pintan sus tarjetas pero siguen aceptando
|
|
1032
|
+
* arrastres. La app decide cuáles y pinta su propio aviso (p. ej. en
|
|
1033
|
+
* renderColumnFooter, «27 completed · Show»).
|
|
1034
|
+
*/
|
|
1035
|
+
collapsedColumnIds?: string[];
|
|
1023
1036
|
/** Enable keyboard shortcuts */
|
|
1024
1037
|
enableKeyboardShortcuts?: boolean;
|
|
1025
1038
|
/** Show card count in column headers */
|
|
@@ -2962,6 +2975,8 @@ interface TimelineProps {
|
|
|
2962
2975
|
showCriticalPath?: boolean;
|
|
2963
2976
|
showDependencies?: boolean;
|
|
2964
2977
|
highlightWeekends?: boolean;
|
|
2978
|
+
/** 1.9.36 · 'range' pinta «Sep 1–7» en la escala W. */
|
|
2979
|
+
weekHeaderFormat?: 'number' | 'range';
|
|
2965
2980
|
/** v4.1.0: Per-task edit check — returns false for read-only bars */
|
|
2966
2981
|
canEditTask?: (task: Task) => boolean;
|
|
2967
2982
|
/** v4.2.0: Committed on pointerup after dragging the progress edge of a task bar. */
|
|
@@ -2980,7 +2995,7 @@ declare function Timeline({ tasks, theme, rowHeight: ROW_HEIGHT, timeScale, star
|
|
|
2980
2995
|
templates, dependencyLineStyle, // v0.17.310
|
|
2981
2996
|
showTaskBarLabels, onTaskClick, onTaskDblClick, // v0.8.0
|
|
2982
2997
|
onTaskContextMenu, // v0.8.0
|
|
2983
|
-
onTaskDateChange, onDependencyCreate, onDependencyDelete, showBaseline, showCriticalPath, showDependencies, highlightWeekends, canEditTask, onTaskProgressDrag, workingDaysConfig, }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
2998
|
+
onTaskDateChange, onDependencyCreate, onDependencyDelete, showBaseline, showCriticalPath, showDependencies, highlightWeekends, weekHeaderFormat, canEditTask, onTaskProgressDrag, workingDaysConfig, }: TimelineProps): react_jsx_runtime.JSX.Element;
|
|
2984
2999
|
|
|
2985
3000
|
interface TaskTooltipData {
|
|
2986
3001
|
task: Task;
|