@libxai/board 0.14.2 → 0.14.3
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 +15 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -9
- package/dist/index.d.ts +7 -9
- package/dist/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -15
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1541,10 +1541,6 @@ interface GanttAIAssistantConfig$1 {
|
|
|
1541
1541
|
suggestions?: string[];
|
|
1542
1542
|
/** Maximum messages to keep in history */
|
|
1543
1543
|
maxHistory?: number;
|
|
1544
|
-
/** Show quick add task button (default: true) */
|
|
1545
|
-
showQuickAdd?: boolean;
|
|
1546
|
-
/** Callback when quick add button is clicked */
|
|
1547
|
-
onQuickAddClick?: () => void;
|
|
1548
1544
|
}
|
|
1549
1545
|
/**
|
|
1550
1546
|
* AI Command result interface
|
|
@@ -1575,6 +1571,9 @@ interface GanttConfig {
|
|
|
1575
1571
|
color: string;
|
|
1576
1572
|
}>;
|
|
1577
1573
|
aiAssistant?: GanttAIAssistantConfig$1;
|
|
1574
|
+
showCreateTaskButton?: boolean;
|
|
1575
|
+
createTaskLabel?: string;
|
|
1576
|
+
onCreateTask?: () => void;
|
|
1578
1577
|
templates?: GanttTemplates;
|
|
1579
1578
|
permissions?: GanttPermissions;
|
|
1580
1579
|
disableScrollSync?: boolean;
|
|
@@ -1816,6 +1815,9 @@ interface GanttToolbarProps {
|
|
|
1816
1815
|
rowDensity: RowDensity;
|
|
1817
1816
|
onRowDensityChange: (density: RowDensity) => void;
|
|
1818
1817
|
showThemeSelector?: boolean;
|
|
1818
|
+
showCreateTaskButton?: boolean;
|
|
1819
|
+
createTaskLabel?: string;
|
|
1820
|
+
onCreateTask?: () => void;
|
|
1819
1821
|
onExportPNG?: () => Promise<void>;
|
|
1820
1822
|
onExportPDF?: () => Promise<void>;
|
|
1821
1823
|
onExportExcel?: () => Promise<void>;
|
|
@@ -1823,7 +1825,7 @@ interface GanttToolbarProps {
|
|
|
1823
1825
|
onExportJSON?: () => void;
|
|
1824
1826
|
onExportMSProject?: () => void;
|
|
1825
1827
|
}
|
|
1826
|
-
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;
|
|
1828
|
+
declare function GanttToolbar({ theme, timeScale, onTimeScaleChange, zoom, onZoomChange, currentTheme, onThemeChange, rowDensity, onRowDensityChange, showThemeSelector, showCreateTaskButton, createTaskLabel, onCreateTask, onExportPNG, onExportPDF, onExportExcel, onExportCSV, onExportJSON, onExportMSProject, }: GanttToolbarProps): react_jsx_runtime.JSX.Element;
|
|
1827
1829
|
|
|
1828
1830
|
interface TaskGridProps {
|
|
1829
1831
|
tasks: Task[];
|
|
@@ -2036,10 +2038,6 @@ interface GanttAIAssistantConfig {
|
|
|
2036
2038
|
suggestions?: string[];
|
|
2037
2039
|
/** Maximum messages to keep in history */
|
|
2038
2040
|
maxHistory?: number;
|
|
2039
|
-
/** Show quick add task button (default: true) */
|
|
2040
|
-
showQuickAdd?: boolean;
|
|
2041
|
-
/** Callback when quick add button is clicked */
|
|
2042
|
-
onQuickAddClick?: () => void;
|
|
2043
2041
|
}
|
|
2044
2042
|
interface GanttAIAssistantProps {
|
|
2045
2043
|
/** All current tasks in the Gantt */
|
package/dist/index.d.ts
CHANGED
|
@@ -1541,10 +1541,6 @@ interface GanttAIAssistantConfig$1 {
|
|
|
1541
1541
|
suggestions?: string[];
|
|
1542
1542
|
/** Maximum messages to keep in history */
|
|
1543
1543
|
maxHistory?: number;
|
|
1544
|
-
/** Show quick add task button (default: true) */
|
|
1545
|
-
showQuickAdd?: boolean;
|
|
1546
|
-
/** Callback when quick add button is clicked */
|
|
1547
|
-
onQuickAddClick?: () => void;
|
|
1548
1544
|
}
|
|
1549
1545
|
/**
|
|
1550
1546
|
* AI Command result interface
|
|
@@ -1575,6 +1571,9 @@ interface GanttConfig {
|
|
|
1575
1571
|
color: string;
|
|
1576
1572
|
}>;
|
|
1577
1573
|
aiAssistant?: GanttAIAssistantConfig$1;
|
|
1574
|
+
showCreateTaskButton?: boolean;
|
|
1575
|
+
createTaskLabel?: string;
|
|
1576
|
+
onCreateTask?: () => void;
|
|
1578
1577
|
templates?: GanttTemplates;
|
|
1579
1578
|
permissions?: GanttPermissions;
|
|
1580
1579
|
disableScrollSync?: boolean;
|
|
@@ -1816,6 +1815,9 @@ interface GanttToolbarProps {
|
|
|
1816
1815
|
rowDensity: RowDensity;
|
|
1817
1816
|
onRowDensityChange: (density: RowDensity) => void;
|
|
1818
1817
|
showThemeSelector?: boolean;
|
|
1818
|
+
showCreateTaskButton?: boolean;
|
|
1819
|
+
createTaskLabel?: string;
|
|
1820
|
+
onCreateTask?: () => void;
|
|
1819
1821
|
onExportPNG?: () => Promise<void>;
|
|
1820
1822
|
onExportPDF?: () => Promise<void>;
|
|
1821
1823
|
onExportExcel?: () => Promise<void>;
|
|
@@ -1823,7 +1825,7 @@ interface GanttToolbarProps {
|
|
|
1823
1825
|
onExportJSON?: () => void;
|
|
1824
1826
|
onExportMSProject?: () => void;
|
|
1825
1827
|
}
|
|
1826
|
-
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;
|
|
1828
|
+
declare function GanttToolbar({ theme, timeScale, onTimeScaleChange, zoom, onZoomChange, currentTheme, onThemeChange, rowDensity, onRowDensityChange, showThemeSelector, showCreateTaskButton, createTaskLabel, onCreateTask, onExportPNG, onExportPDF, onExportExcel, onExportCSV, onExportJSON, onExportMSProject, }: GanttToolbarProps): react_jsx_runtime.JSX.Element;
|
|
1827
1829
|
|
|
1828
1830
|
interface TaskGridProps {
|
|
1829
1831
|
tasks: Task[];
|
|
@@ -2036,10 +2038,6 @@ interface GanttAIAssistantConfig {
|
|
|
2036
2038
|
suggestions?: string[];
|
|
2037
2039
|
/** Maximum messages to keep in history */
|
|
2038
2040
|
maxHistory?: number;
|
|
2039
|
-
/** Show quick add task button (default: true) */
|
|
2040
|
-
showQuickAdd?: boolean;
|
|
2041
|
-
/** Callback when quick add button is clicked */
|
|
2042
|
-
onQuickAddClick?: () => void;
|
|
2043
2041
|
}
|
|
2044
2042
|
interface GanttAIAssistantProps {
|
|
2045
2043
|
/** All current tasks in the Gantt */
|