@libxai/board 0.12.0 → 0.12.2
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 +245 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +245 -15
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1779,8 +1779,9 @@ interface GanttToolbarProps {
|
|
|
1779
1779
|
onExportExcel?: () => Promise<void>;
|
|
1780
1780
|
onExportCSV?: () => void;
|
|
1781
1781
|
onExportJSON?: () => void;
|
|
1782
|
+
onExportMSProject?: () => void;
|
|
1782
1783
|
}
|
|
1783
|
-
declare function GanttToolbar({ theme, timeScale, onTimeScaleChange, zoom, onZoomChange, currentTheme, onThemeChange, rowDensity, onRowDensityChange, showThemeSelector, onExportPNG, onExportPDF, onExportExcel, onExportCSV, onExportJSON, }: GanttToolbarProps): react_jsx_runtime.JSX.Element;
|
|
1784
|
+
declare function GanttToolbar({ theme, timeScale, onTimeScaleChange, zoom, onZoomChange, currentTheme, onThemeChange, rowDensity, onRowDensityChange, showThemeSelector, onExportPNG, onExportPDF, onExportExcel, onExportCSV, onExportJSON, onExportMSProject, }: GanttToolbarProps): react_jsx_runtime.JSX.Element;
|
|
1784
1785
|
|
|
1785
1786
|
interface TaskGridProps {
|
|
1786
1787
|
tasks: Task[];
|
|
@@ -2175,6 +2176,15 @@ declare const ganttUtils: {
|
|
|
2175
2176
|
* @returns Promise<void>
|
|
2176
2177
|
*/
|
|
2177
2178
|
exportToExcel: (tasks: Task[], filename?: string) => Promise<void>;
|
|
2179
|
+
/**
|
|
2180
|
+
* Export tasks to Microsoft Project XML format
|
|
2181
|
+
* Compatible with MS Project 2010+ and other project management tools
|
|
2182
|
+
* @param tasks - Tasks to export
|
|
2183
|
+
* @param projectName - Project name (default: 'Gantt Project')
|
|
2184
|
+
* @param filename - Optional filename (default: 'project.xml')
|
|
2185
|
+
* @returns void - Downloads the XML file
|
|
2186
|
+
*/
|
|
2187
|
+
exportToMSProject: (tasks: Task[], projectName?: string, filename?: string) => void;
|
|
2178
2188
|
/**
|
|
2179
2189
|
* Calculate Critical Path Method (CPM) - identifies tasks with zero slack
|
|
2180
2190
|
* @param tasks - All tasks
|
package/dist/index.d.ts
CHANGED
|
@@ -1779,8 +1779,9 @@ interface GanttToolbarProps {
|
|
|
1779
1779
|
onExportExcel?: () => Promise<void>;
|
|
1780
1780
|
onExportCSV?: () => void;
|
|
1781
1781
|
onExportJSON?: () => void;
|
|
1782
|
+
onExportMSProject?: () => void;
|
|
1782
1783
|
}
|
|
1783
|
-
declare function GanttToolbar({ theme, timeScale, onTimeScaleChange, zoom, onZoomChange, currentTheme, onThemeChange, rowDensity, onRowDensityChange, showThemeSelector, onExportPNG, onExportPDF, onExportExcel, onExportCSV, onExportJSON, }: GanttToolbarProps): react_jsx_runtime.JSX.Element;
|
|
1784
|
+
declare function GanttToolbar({ theme, timeScale, onTimeScaleChange, zoom, onZoomChange, currentTheme, onThemeChange, rowDensity, onRowDensityChange, showThemeSelector, onExportPNG, onExportPDF, onExportExcel, onExportCSV, onExportJSON, onExportMSProject, }: GanttToolbarProps): react_jsx_runtime.JSX.Element;
|
|
1784
1785
|
|
|
1785
1786
|
interface TaskGridProps {
|
|
1786
1787
|
tasks: Task[];
|
|
@@ -2175,6 +2176,15 @@ declare const ganttUtils: {
|
|
|
2175
2176
|
* @returns Promise<void>
|
|
2176
2177
|
*/
|
|
2177
2178
|
exportToExcel: (tasks: Task[], filename?: string) => Promise<void>;
|
|
2179
|
+
/**
|
|
2180
|
+
* Export tasks to Microsoft Project XML format
|
|
2181
|
+
* Compatible with MS Project 2010+ and other project management tools
|
|
2182
|
+
* @param tasks - Tasks to export
|
|
2183
|
+
* @param projectName - Project name (default: 'Gantt Project')
|
|
2184
|
+
* @param filename - Optional filename (default: 'project.xml')
|
|
2185
|
+
* @returns void - Downloads the XML file
|
|
2186
|
+
*/
|
|
2187
|
+
exportToMSProject: (tasks: Task[], projectName?: string, filename?: string) => void;
|
|
2178
2188
|
/**
|
|
2179
2189
|
* Calculate Critical Path Method (CPM) - identifies tasks with zero slack
|
|
2180
2190
|
* @param tasks - All tasks
|