@libxai/board 1.9.34 → 1.9.35
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 +26 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.js +26 -26
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -478,6 +478,8 @@ interface GanttConfig {
|
|
|
478
478
|
* una sola fila. Sin él, la barra de siempre.
|
|
479
479
|
*/
|
|
480
480
|
toolbarContainer?: HTMLElement | null;
|
|
481
|
+
/** 1.9.35 · oculta el selector de nivel WBS (All / L1 / L2…) de la barra. */
|
|
482
|
+
hideWbsLevel?: boolean;
|
|
481
483
|
templates?: GanttTemplates;
|
|
482
484
|
permissions?: GanttPermissions;
|
|
483
485
|
disableScrollSync?: boolean;
|
|
@@ -2790,6 +2792,17 @@ interface GanttBoardRef {
|
|
|
2790
2792
|
* the project's date range.
|
|
2791
2793
|
*/
|
|
2792
2794
|
scrollToToday: () => void;
|
|
2795
|
+
/**
|
|
2796
|
+
* 1.9.35 · Desplaza la línea de tiempo a una fecha. `align` 'start' la deja
|
|
2797
|
+
* cerca del borde izquierdo (con un pequeño margen); 'center', centrada.
|
|
2798
|
+
* Para abrir el Timeline encuadrado en las fechas del proyecto.
|
|
2799
|
+
*/
|
|
2800
|
+
scrollToDate: (date: Date, align?: 'start' | 'center') => void;
|
|
2801
|
+
/**
|
|
2802
|
+
* 1.9.35 · Encuadra un rango: elige la escala (≤3 semanas día, ≤4 meses semana,
|
|
2803
|
+
* si no mes) y desplaza al inicio del rango.
|
|
2804
|
+
*/
|
|
2805
|
+
fitToDates: (start: Date, end: Date) => void;
|
|
2793
2806
|
}
|
|
2794
2807
|
|
|
2795
2808
|
interface GanttBoardProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -478,6 +478,8 @@ interface GanttConfig {
|
|
|
478
478
|
* una sola fila. Sin él, la barra de siempre.
|
|
479
479
|
*/
|
|
480
480
|
toolbarContainer?: HTMLElement | null;
|
|
481
|
+
/** 1.9.35 · oculta el selector de nivel WBS (All / L1 / L2…) de la barra. */
|
|
482
|
+
hideWbsLevel?: boolean;
|
|
481
483
|
templates?: GanttTemplates;
|
|
482
484
|
permissions?: GanttPermissions;
|
|
483
485
|
disableScrollSync?: boolean;
|
|
@@ -2790,6 +2792,17 @@ interface GanttBoardRef {
|
|
|
2790
2792
|
* the project's date range.
|
|
2791
2793
|
*/
|
|
2792
2794
|
scrollToToday: () => void;
|
|
2795
|
+
/**
|
|
2796
|
+
* 1.9.35 · Desplaza la línea de tiempo a una fecha. `align` 'start' la deja
|
|
2797
|
+
* cerca del borde izquierdo (con un pequeño margen); 'center', centrada.
|
|
2798
|
+
* Para abrir el Timeline encuadrado en las fechas del proyecto.
|
|
2799
|
+
*/
|
|
2800
|
+
scrollToDate: (date: Date, align?: 'start' | 'center') => void;
|
|
2801
|
+
/**
|
|
2802
|
+
* 1.9.35 · Encuadra un rango: elige la escala (≤3 semanas día, ≤4 meses semana,
|
|
2803
|
+
* si no mes) y desplaza al inicio del rango.
|
|
2804
|
+
*/
|
|
2805
|
+
fitToDates: (start: Date, end: Date) => void;
|
|
2793
2806
|
}
|
|
2794
2807
|
|
|
2795
2808
|
interface GanttBoardProps {
|