@libxai/board 1.5.82 → 1.5.84

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.d.cts CHANGED
@@ -384,6 +384,12 @@ interface GanttConfig {
384
384
  rowDensity?: RowDensity;
385
385
  showThemeSelector?: boolean;
386
386
  showExportButton?: boolean;
387
+ /**
388
+ * v2.8.0: Fired AFTER a successful export so the consuming app can record
389
+ * the event in its audit log / analytics. Receives the report type that
390
+ * was just produced.
391
+ */
392
+ onExportSuccess?: (reportType: 'pdf' | 'excel' | 'png' | 'csv' | 'json' | 'msproject') => void;
387
393
  projectName?: string;
388
394
  availableUsers?: Array<{
389
395
  id: string;
package/dist/index.d.ts CHANGED
@@ -384,6 +384,12 @@ interface GanttConfig {
384
384
  rowDensity?: RowDensity;
385
385
  showThemeSelector?: boolean;
386
386
  showExportButton?: boolean;
387
+ /**
388
+ * v2.8.0: Fired AFTER a successful export so the consuming app can record
389
+ * the event in its audit log / analytics. Receives the report type that
390
+ * was just produced.
391
+ */
392
+ onExportSuccess?: (reportType: 'pdf' | 'excel' | 'png' | 'csv' | 'json' | 'msproject') => void;
387
393
  projectName?: string;
388
394
  availableUsers?: Array<{
389
395
  id: string;