@libxai/board 1.6.0 → 1.7.0
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 +40 -40
- 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 +40 -40
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -394,6 +394,13 @@ interface GanttConfig {
|
|
|
394
394
|
* successful run.
|
|
395
395
|
*/
|
|
396
396
|
onExportExcel?: () => Promise<void>;
|
|
397
|
+
/**
|
|
398
|
+
* Fires whenever the TODAY marker enters or leaves the visible
|
|
399
|
+
* timeline viewport (after horizontal scroll, zoom, timeScale change,
|
|
400
|
+
* or initial mount). Lets consumer apps render a floating "go to
|
|
401
|
+
* today" affordance that only shows up when relevant.
|
|
402
|
+
*/
|
|
403
|
+
onTodayVisibilityChange?: (visible: boolean) => void;
|
|
397
404
|
/**
|
|
398
405
|
* v2.8.0: Fired AFTER a successful export so the consuming app can record
|
|
399
406
|
* the event in its audit log / analytics. Receives the report type that
|
|
@@ -2746,6 +2753,12 @@ interface GanttBoardRef {
|
|
|
2746
2753
|
* Similar to: gantt.clearAll()
|
|
2747
2754
|
*/
|
|
2748
2755
|
clearAll: () => void;
|
|
2756
|
+
/**
|
|
2757
|
+
* Smoothly scroll the timeline so that today's date sits in the
|
|
2758
|
+
* center of the visible viewport. No-op when today falls outside
|
|
2759
|
+
* the project's date range.
|
|
2760
|
+
*/
|
|
2761
|
+
scrollToToday: () => void;
|
|
2749
2762
|
}
|
|
2750
2763
|
|
|
2751
2764
|
interface GanttBoardProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -394,6 +394,13 @@ interface GanttConfig {
|
|
|
394
394
|
* successful run.
|
|
395
395
|
*/
|
|
396
396
|
onExportExcel?: () => Promise<void>;
|
|
397
|
+
/**
|
|
398
|
+
* Fires whenever the TODAY marker enters or leaves the visible
|
|
399
|
+
* timeline viewport (after horizontal scroll, zoom, timeScale change,
|
|
400
|
+
* or initial mount). Lets consumer apps render a floating "go to
|
|
401
|
+
* today" affordance that only shows up when relevant.
|
|
402
|
+
*/
|
|
403
|
+
onTodayVisibilityChange?: (visible: boolean) => void;
|
|
397
404
|
/**
|
|
398
405
|
* v2.8.0: Fired AFTER a successful export so the consuming app can record
|
|
399
406
|
* the event in its audit log / analytics. Receives the report type that
|
|
@@ -2746,6 +2753,12 @@ interface GanttBoardRef {
|
|
|
2746
2753
|
* Similar to: gantt.clearAll()
|
|
2747
2754
|
*/
|
|
2748
2755
|
clearAll: () => void;
|
|
2756
|
+
/**
|
|
2757
|
+
* Smoothly scroll the timeline so that today's date sits in the
|
|
2758
|
+
* center of the visible viewport. No-op when today falls outside
|
|
2759
|
+
* the project's date range.
|
|
2760
|
+
*/
|
|
2761
|
+
scrollToToday: () => void;
|
|
2749
2762
|
}
|
|
2750
2763
|
|
|
2751
2764
|
interface GanttBoardProps {
|