@libxai/board 1.9.11 → 1.9.13
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 +43 -43
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +9 -102
- package/dist/index.d.ts +9 -102
- package/dist/index.js +43 -43
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -2483
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -566,6 +566,12 @@ interface GanttConfig {
|
|
|
566
566
|
* When provided, replaces hardcoded placeholder values with real metrics
|
|
567
567
|
*/
|
|
568
568
|
projectForecast?: ProjectForecast;
|
|
569
|
+
/**
|
|
570
|
+
* Oculta la barra interna del pronóstico (Forecast HUD) aunque se pase
|
|
571
|
+
* projectForecast. Útil cuando el consumidor muestra el pronóstico en su propia
|
|
572
|
+
* barra (p. ej. una barra de áreas del proyecto) y no quiere duplicarlo.
|
|
573
|
+
*/
|
|
574
|
+
hideForecastHud?: boolean;
|
|
569
575
|
/**
|
|
570
576
|
* Callback for "Copy Snapshot Link" in the Share dropdown
|
|
571
577
|
* When provided, shows the option in the export/share menu
|
|
@@ -2002,106 +2008,6 @@ interface CommandPaletteProps {
|
|
|
2002
2008
|
}
|
|
2003
2009
|
declare function CommandPalette({ board, onCreateCard, onNavigateToCard, onSearch, onChangePriority, onAssignUser, onGeneratePlan, onPredictRisks, onOpenAIUsage, shortcut, className, }: CommandPaletteProps): react_jsx_runtime.JSX.Element | null;
|
|
2004
2010
|
|
|
2005
|
-
interface CardDetailModalProps {
|
|
2006
|
-
/** Card to display */
|
|
2007
|
-
card: Card$1 | null;
|
|
2008
|
-
/** Whether modal is open */
|
|
2009
|
-
isOpen: boolean;
|
|
2010
|
-
/** Close callback */
|
|
2011
|
-
onClose: () => void;
|
|
2012
|
-
/** Update card callback */
|
|
2013
|
-
onUpdate?: (cardId: string, updates: Partial<Card$1>) => void;
|
|
2014
|
-
/** Delete card callback */
|
|
2015
|
-
onDelete?: (cardId: string) => void;
|
|
2016
|
-
/** Available users for assignment */
|
|
2017
|
-
availableUsers?: User$1[];
|
|
2018
|
-
/** Comments for this card */
|
|
2019
|
-
comments?: Comment[];
|
|
2020
|
-
/** Activity log for this card */
|
|
2021
|
-
activities?: Activity[];
|
|
2022
|
-
/** AI insights for this card */
|
|
2023
|
-
aiInsights?: Insight[];
|
|
2024
|
-
/** Attachments for this card */
|
|
2025
|
-
attachments?: Attachment[];
|
|
2026
|
-
/** Add comment callback */
|
|
2027
|
-
onAddComment?: (cardId: string, content: string) => void;
|
|
2028
|
-
/** Delete comment callback */
|
|
2029
|
-
onDeleteComment?: (commentId: string) => void;
|
|
2030
|
-
/** Upload attachments callback */
|
|
2031
|
-
onUploadAttachments?: (cardId: string, files: File[]) => Promise<void> | void;
|
|
2032
|
-
/** Delete attachment callback */
|
|
2033
|
-
onDeleteAttachment?: (attachmentId: string) => void;
|
|
2034
|
-
/** Current user ID */
|
|
2035
|
-
currentUserId?: string;
|
|
2036
|
-
/** AI: Suggest assignee */
|
|
2037
|
-
onSuggestAssignee?: (card: Card$1) => Promise<AssigneeSuggestion[]>;
|
|
2038
|
-
/** AI: Generate subtasks */
|
|
2039
|
-
onGenerateSubtasks?: (card: Card$1) => Promise<Omit<Card$1, 'id'>[]>;
|
|
2040
|
-
/** AI: Estimate effort */
|
|
2041
|
-
onEstimateEffort?: (card: Card$1) => Promise<{
|
|
2042
|
-
hours: number;
|
|
2043
|
-
confidence: number;
|
|
2044
|
-
}>;
|
|
2045
|
-
}
|
|
2046
|
-
declare function CardDetailModal({ card, isOpen, onClose, onUpdate, onDelete, availableUsers, comments, activities, aiInsights, attachments, onAddComment, onDeleteComment, onUploadAttachments, onDeleteAttachment, onSuggestAssignee, onGenerateSubtasks, onEstimateEffort, currentUserId, }: CardDetailModalProps): react_jsx_runtime.JSX.Element | null;
|
|
2047
|
-
|
|
2048
|
-
interface CardDetailModalV2Props {
|
|
2049
|
-
/** Card to display */
|
|
2050
|
-
card: Card$1 | null;
|
|
2051
|
-
/** Whether modal is open */
|
|
2052
|
-
isOpen: boolean;
|
|
2053
|
-
/** Close callback */
|
|
2054
|
-
onClose: () => void;
|
|
2055
|
-
/** Update card callback */
|
|
2056
|
-
onUpdate?: (cardId: string, updates: Partial<Card$1>) => void;
|
|
2057
|
-
/** Delete card callback */
|
|
2058
|
-
onDelete?: (cardId: string) => void;
|
|
2059
|
-
/** Available users for assignment */
|
|
2060
|
-
availableUsers?: User$1[];
|
|
2061
|
-
/** Comments for this card */
|
|
2062
|
-
comments?: Comment[];
|
|
2063
|
-
/** Activity log for this card */
|
|
2064
|
-
activities?: Activity[];
|
|
2065
|
-
/** Add comment callback */
|
|
2066
|
-
onAddComment?: (cardId: string, content: string) => void;
|
|
2067
|
-
/** Delete comment callback */
|
|
2068
|
-
onDeleteComment?: (commentId: string) => void;
|
|
2069
|
-
/** Current user */
|
|
2070
|
-
currentUser?: User$1;
|
|
2071
|
-
/** AI: Generate description */
|
|
2072
|
-
onAIGenerateDescription?: (card: Card$1) => Promise<string>;
|
|
2073
|
-
/** AI: Create subtasks */
|
|
2074
|
-
onAICreateSubtasks?: (card: Card$1) => Promise<string[]>;
|
|
2075
|
-
/** AI: Find similar tasks */
|
|
2076
|
-
onAIFindSimilar?: (card: Card$1) => Promise<Card$1[]>;
|
|
2077
|
-
/** Available columns for status */
|
|
2078
|
-
availableColumns?: Array<{
|
|
2079
|
-
id: string;
|
|
2080
|
-
title: string;
|
|
2081
|
-
}>;
|
|
2082
|
-
/** Available labels (legacy - use availableTags for colored tags) */
|
|
2083
|
-
availableLabels?: string[];
|
|
2084
|
-
/** v0.17.158: Available tags with colors (ClickUp-style) */
|
|
2085
|
-
availableTags?: TaskTag[];
|
|
2086
|
-
/** v0.17.158: Callback to create a new tag */
|
|
2087
|
-
onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
|
|
2088
|
-
/** Upload cover image callback (optional - returns public URL) */
|
|
2089
|
-
onUploadCoverImage?: (file: File) => Promise<string>;
|
|
2090
|
-
/** Unsplash API key for cover images (optional) */
|
|
2091
|
-
unsplashAccessKey?: string;
|
|
2092
|
-
/** Theme for the modal (dark, light, neutral). If not provided, uses KanbanThemeContext or defaults to 'dark' */
|
|
2093
|
-
theme?: 'dark' | 'light' | 'neutral';
|
|
2094
|
-
/** Callback when subtasks are changed (for persistence) */
|
|
2095
|
-
onSubtasksChange?: (cardId: string, subtasks: Subtask[]) => void;
|
|
2096
|
-
/** Attachments for this card */
|
|
2097
|
-
attachments?: Attachment[];
|
|
2098
|
-
/** Upload attachments callback */
|
|
2099
|
-
onUploadAttachments?: (cardId: string, files: File[]) => Promise<void> | void;
|
|
2100
|
-
/** Delete attachment callback */
|
|
2101
|
-
onDeleteAttachment?: (attachmentId: string) => void;
|
|
2102
|
-
}
|
|
2103
|
-
declare function CardDetailModalV2({ card, isOpen, onClose, onUpdate, onDelete: _onDelete, availableUsers, comments, activities, onAddComment, onDeleteComment: _onDeleteComment, currentUser, onAIGenerateDescription: _onAIGenerateDescription, onAICreateSubtasks: _onAICreateSubtasks, onAIFindSimilar: _onAIFindSimilar, availableColumns, availableLabels, availableTags, onCreateTag, onUploadCoverImage: _onUploadCoverImage, unsplashAccessKey: _unsplashAccessKey, theme, onSubtasksChange, attachments, onUploadAttachments, onDeleteAttachment, }: CardDetailModalV2Props): react_jsx_runtime.JSX.Element | null;
|
|
2104
|
-
|
|
2105
2011
|
interface AttachmentUploaderProps {
|
|
2106
2012
|
/** Card ID for attachments */
|
|
2107
2013
|
cardId: string;
|
|
@@ -2858,6 +2764,7 @@ interface GanttToolbarProps {
|
|
|
2858
2764
|
viewMode?: 'execution' | 'oracle';
|
|
2859
2765
|
onViewModeChange?: (mode: 'execution' | 'oracle') => void;
|
|
2860
2766
|
projectForecast?: ProjectForecast;
|
|
2767
|
+
hideForecastHud?: boolean;
|
|
2861
2768
|
onExportPNG?: () => Promise<void>;
|
|
2862
2769
|
onExportPDF?: () => Promise<void>;
|
|
2863
2770
|
onExportExcel?: () => Promise<void>;
|
|
@@ -2889,7 +2796,7 @@ declare function GanttToolbar({ theme, timeScale, onTimeScaleChange, zoom, onZoo
|
|
|
2889
2796
|
showCreateTaskButton, createTaskLabel, // v0.15.0: Will use translations if not provided
|
|
2890
2797
|
onCreateTask, taskFilter, // v0.17.300: Task filter
|
|
2891
2798
|
onTaskFilterChange, hideCompleted, // v0.18.0: Hide completed toggle
|
|
2892
|
-
onHideCompletedChange, toolbarRightContent, wbsLevel, onWbsLevelChange, maxWbsDepth, viewMode, onViewModeChange, projectForecast, onExportPNG, onExportPDF, onExportExcel, onExportCSV, onExportJSON, onExportMSProject, showCriticalPath, onShowCriticalPathChange, showDependencies, onShowDependenciesChange, highlightWeekends, onHighlightWeekendsChange, showBaseline, onShowBaselineChange, onCopySnapshotLink, hasDependencies, }: GanttToolbarProps): react_jsx_runtime.JSX.Element;
|
|
2799
|
+
onHideCompletedChange, toolbarRightContent, wbsLevel, onWbsLevelChange, maxWbsDepth, viewMode, onViewModeChange, projectForecast, hideForecastHud, onExportPNG, onExportPDF, onExportExcel, onExportCSV, onExportJSON, onExportMSProject, showCriticalPath, onShowCriticalPathChange, showDependencies, onShowDependenciesChange, highlightWeekends, onHighlightWeekendsChange, showBaseline, onShowBaselineChange, onCopySnapshotLink, hasDependencies, }: GanttToolbarProps): react_jsx_runtime.JSX.Element;
|
|
2893
2800
|
|
|
2894
2801
|
interface TaskGridProps {
|
|
2895
2802
|
tasks: Task[];
|
|
@@ -6758,4 +6665,4 @@ declare const themes: Record<ThemeName, Theme>;
|
|
|
6758
6665
|
*/
|
|
6759
6666
|
declare const defaultTheme: ThemeName;
|
|
6760
6667
|
|
|
6761
|
-
export { type AICallbacks, type AICommandResult, type GanttTask as AIGanttTask, type AIMessage, type AIModelKey, type AIOperation, AIUsageDashboard, type AIUsageDashboardProps, AI_FEATURES, AI_MODELS, type Activity, type ActivityType, AddCardButton, type AddCardButtonProps, type AddCardData, AddColumnButton, type AddColumnButtonProps, type AssigneeSuggestion, type Attachment, AttachmentUploader, type AttachmentUploaderProps, type AvailableUser, type Board, type BoardCallbacks, type BoardConfig, BoardProvider, type BoardProviderProps, type BorderRadiusToken, BulkOperationsToolbar, type BulkOperationsToolbarProps, BurnDownChart, type BurnDownChartProps, type BurnDownDataPoint, CUSTOM_FIELD_TYPES, type CalLayerId, type CalMoney, type CalView, CalendarView as CalendarBoard, type DailyLog as CalendarDailyLog, type TeamMember as CalendarTeamMember, Card,
|
|
6668
|
+
export { type AICallbacks, type AICommandResult, type GanttTask as AIGanttTask, type AIMessage, type AIModelKey, type AIOperation, AIUsageDashboard, type AIUsageDashboardProps, AI_FEATURES, AI_MODELS, type Activity, type ActivityType, AddCardButton, type AddCardButtonProps, type AddCardData, AddColumnButton, type AddColumnButtonProps, type AssigneeSuggestion, type Attachment, AttachmentUploader, type AttachmentUploaderProps, type AvailableUser, type Board, type BoardCallbacks, type BoardConfig, BoardProvider, type BoardProviderProps, type BorderRadiusToken, BulkOperationsToolbar, type BulkOperationsToolbarProps, BurnDownChart, type BurnDownChartProps, type BurnDownDataPoint, CUSTOM_FIELD_TYPES, type CalLayerId, type CalMoney, type CalView, CalendarView as CalendarBoard, type DailyLog as CalendarDailyLog, type TeamMember as CalendarTeamMember, Card, type CardFilter, type CardFilters, CardHistoryReplay, type CardHistoryReplayProps, CardHistoryTimeline, type CardHistoryTimelineProps, type CardProps, CardRelationshipsGraph, type CardRelationshipsGraphProps, type CardSort, type CardSortKey, CardStack, type CardStackProps, type CardStack$1 as CardStackType, type CardStatus, type CardTemplate, CardTemplateSelector, type CardTemplateSelectorProps, type CardTimeProps, type Card$1 as CardType, CircuitBreaker, Column, ColumnManager, type ColumnProps, type Column$1 as ColumnType, CommandPalette, type CommandPaletteProps, type Comment, type CommentAttachment, ConfigMenu, type ConfigMenuProps, ContextMenu, type ContextMenuAction, type ContextMenuState, type CustomFieldDefinition, type CustomFieldValue, DEFAULT_SHORTCUTS, DEFAULT_TABLE_COLUMNS, DEFAULT_TEMPLATES, type DateFilter, DateRangePicker, type DateRangePickerProps, DependenciesSelector, type DependenciesSelectorProps, DependencyLine, type DesignTokens, DistributionCharts, type DistributionChartsProps, type DistributionDataPoint, type DragData, type DropData, type DurationToken, type EasingToken, EditableColumnTitle, type EditableColumnTitleProps, ErrorBoundary, type ErrorBoundaryProps, ExportDropdown, type ExportFormat, ExportImportModal, type ExportImportModalProps, type ExportOptions, FilterBar, type FilterBarProps, type FilterState, type FlattenedTask, type FontSizeToken, type FontWeightToken, GANTT_AI_SYSTEM_PROMPT, GanttAIAssistant, type GanttAIAssistantConfig, type Assignee as GanttAssignee, GanttBoard, type GanttConfig as GanttBoardConfig, type GanttBoardRef, type GanttColumn, type ColumnType$1 as GanttColumnType, type GanttConfig, GanttI18nContext, Milestone as GanttMilestone, type GanttPermissions, type Task as GanttTask, type GanttTemplates, type Theme$1 as GanttTheme, type GanttTheme as GanttThemeConfig, GanttToolbar, type GanttTranslations, GenerateGanttTasksDialog, type GenerateGanttTasksDialogProps, GeneratePlanModal, type GeneratePlanModalProps, type GeneratedPlan, type GeneratedTasksResponse, type GroupByOption, GroupBySelector, type GroupBySelectorProps, HealthBar, type HealthBarProps, type IPluginManager, type ImportResult, type Insight, type InsightSeverity, type InsightType, KanbanBoard, type KanbanBoardProps, KanbanToolbar, type KanbanToolbarProps, KanbanViewAdapter, type KanbanViewConfig, type KeyboardAction, type KeyboardShortcut, KeyboardShortcutsHelp, type KeyboardShortcutsHelpProps, type LineHeightToken, type ListColumn, type ColumnType as ListColumnType, type ListFilter, type ListSort, type ListSortColumn, ListView, type ListViewCallbacks, type ListViewConfig, type ListViewPermissions, type ListViewProps, type ListViewSupportedLocale, type ListViewTheme, type ListViewThemeName, type ListViewTranslations, MenuIcons, type MoneyMode, type OpacityToken, type PendingFile, type PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, ProfitabilityReport, type ProfitabilityReportProps, type ProjectForecast, type ProjectHealthData, QuickTaskCreate, type QuickTaskCreateData, type QuickTaskCreateProps, RATE_LIMITS, type RenderProps, type RescheduleSimulation, type RetryOptions, type RetryResult, STANDARD_FIELDS, type ShadowToken, type SortBy, type SortDirection, type SortOrder, type SortState, type SpacingToken, type StackSuggestion, type StackingConfig, type StackingStrategy, type Subtask, type SupportedLocale, type Swimlane, SwimlaneBoardView, type SwimlaneBoardViewProps, type SwimlaneConfig, type TableColumn, TagBadge, TagList, TagPicker, TaskBar, type TaskComment, TaskDetailModal, type TaskDetailModalProps, type TaskFilterType, type TaskFormData, TaskFormModal, type TaskFormModalProps, TaskGrid, type TaskPriority, type TaskTag, type Theme, type ThemeColors, type ThemeContextValue, ThemeModal, type ThemeModalProps, type ThemeName, ThemeProvider, ThemeSwitcher, type TimeEntry, TimeInputPopover, type TimeInputPopoverProps, type TimeLogInput, type TimeLogSource, TimePill, type TimePillProps, TimePopover, type TimePopoverProps, type TimeScale, type TimeTrackingBoardProps, type TimeTrackingCallbacks, type TimeTrackingSummary, Timeline, type TimerState, type ThemeColors$1 as TokenThemeColors, type TokenValue, type UsageStats, type UseAIOptions, type UseAIReturn, type UseBoardReturn as UseBoardCoreReturn, type UseBoardOptions, type UseBoardReturn$1 as UseBoardReturn, type UseCardStackingOptions, type UseCardStackingResult, type UseDragStateReturn, type UseFiltersOptions, type UseFiltersReturn, type UseKanbanStateOptions, type UseKanbanStateReturn, type UseKeyboardShortcutsOptions, type UseKeyboardShortcutsReturn, type UseMultiSelectReturn, type UseSelectionStateReturn, type User$1 as User, UserAssignmentSelector, type UserAssignmentSelectorProps, VelocityChart, type VelocityChartProps, type VelocityDataPoint, VirtualGrid, type VirtualGridProps, VirtualList, type VirtualListProps, type ZIndexToken, aiUsageTracker, borderRadius, buildCalendar, calculatePosition, cardToGanttTask, cardsToGanttTasks, cn, createKanbanView, createRetryWrapper, darkTheme, darkTheme$1 as darkTokenTheme, defaultTheme, designTokens, duration, easing, exportTokensToCSS, findTaskByName, fontSize, fontWeight, formatCost, en$1 as ganttEnTranslations, es$1 as ganttEsTranslations, ganttTaskToCardUpdate, themes$1 as ganttThemes, gantt as ganttTokens, translations as ganttTranslations, ganttUtils, generateCSSVariables, generateCompleteCSS, generateInitialPositions, generateTasksContext, generateThemeVariables, getListViewTheme, getListViewTranslations, getToken, getTranslations, kanban as kanbanTokens, lightTheme, lightTheme$1 as lightTokenTheme, lineHeight, darkTheme$2 as listViewDarkTheme, en as listViewEnTranslations, es as listViewEsTranslations, lightTheme$2 as listViewLightTheme, neutralTheme$2 as listViewNeutralTheme, listViewThemes, listViewTranslations, mergeListViewTranslations, mergeTranslations, neutralTheme, neutralTheme$1 as neutralTokenTheme, opacity, parseLocalCommand, parseNaturalDate, parseNaturalDuration, parseProgress, parseStatus, pluginManager, retrySyncOperation, retryWithBackoff, shadows, shouldVirtualizeGrid, simulateReschedule, spacing, themes, useAI, useBoard$1 as useBoard, useBoard as useBoardCore, useBoardStore, useCardStacking, useDragState, useFilteredCards, useFilters, useGanttI18n, useKanbanState, useKeyboardShortcuts, useMultiSelect, useSelectionState, useSortedCards, useTheme, useVirtualGrid, useVirtualList, validateAIResponse, withErrorBoundary, wouldCreateCircularDependency, zIndex };
|
package/dist/index.d.ts
CHANGED
|
@@ -566,6 +566,12 @@ interface GanttConfig {
|
|
|
566
566
|
* When provided, replaces hardcoded placeholder values with real metrics
|
|
567
567
|
*/
|
|
568
568
|
projectForecast?: ProjectForecast;
|
|
569
|
+
/**
|
|
570
|
+
* Oculta la barra interna del pronóstico (Forecast HUD) aunque se pase
|
|
571
|
+
* projectForecast. Útil cuando el consumidor muestra el pronóstico en su propia
|
|
572
|
+
* barra (p. ej. una barra de áreas del proyecto) y no quiere duplicarlo.
|
|
573
|
+
*/
|
|
574
|
+
hideForecastHud?: boolean;
|
|
569
575
|
/**
|
|
570
576
|
* Callback for "Copy Snapshot Link" in the Share dropdown
|
|
571
577
|
* When provided, shows the option in the export/share menu
|
|
@@ -2002,106 +2008,6 @@ interface CommandPaletteProps {
|
|
|
2002
2008
|
}
|
|
2003
2009
|
declare function CommandPalette({ board, onCreateCard, onNavigateToCard, onSearch, onChangePriority, onAssignUser, onGeneratePlan, onPredictRisks, onOpenAIUsage, shortcut, className, }: CommandPaletteProps): react_jsx_runtime.JSX.Element | null;
|
|
2004
2010
|
|
|
2005
|
-
interface CardDetailModalProps {
|
|
2006
|
-
/** Card to display */
|
|
2007
|
-
card: Card$1 | null;
|
|
2008
|
-
/** Whether modal is open */
|
|
2009
|
-
isOpen: boolean;
|
|
2010
|
-
/** Close callback */
|
|
2011
|
-
onClose: () => void;
|
|
2012
|
-
/** Update card callback */
|
|
2013
|
-
onUpdate?: (cardId: string, updates: Partial<Card$1>) => void;
|
|
2014
|
-
/** Delete card callback */
|
|
2015
|
-
onDelete?: (cardId: string) => void;
|
|
2016
|
-
/** Available users for assignment */
|
|
2017
|
-
availableUsers?: User$1[];
|
|
2018
|
-
/** Comments for this card */
|
|
2019
|
-
comments?: Comment[];
|
|
2020
|
-
/** Activity log for this card */
|
|
2021
|
-
activities?: Activity[];
|
|
2022
|
-
/** AI insights for this card */
|
|
2023
|
-
aiInsights?: Insight[];
|
|
2024
|
-
/** Attachments for this card */
|
|
2025
|
-
attachments?: Attachment[];
|
|
2026
|
-
/** Add comment callback */
|
|
2027
|
-
onAddComment?: (cardId: string, content: string) => void;
|
|
2028
|
-
/** Delete comment callback */
|
|
2029
|
-
onDeleteComment?: (commentId: string) => void;
|
|
2030
|
-
/** Upload attachments callback */
|
|
2031
|
-
onUploadAttachments?: (cardId: string, files: File[]) => Promise<void> | void;
|
|
2032
|
-
/** Delete attachment callback */
|
|
2033
|
-
onDeleteAttachment?: (attachmentId: string) => void;
|
|
2034
|
-
/** Current user ID */
|
|
2035
|
-
currentUserId?: string;
|
|
2036
|
-
/** AI: Suggest assignee */
|
|
2037
|
-
onSuggestAssignee?: (card: Card$1) => Promise<AssigneeSuggestion[]>;
|
|
2038
|
-
/** AI: Generate subtasks */
|
|
2039
|
-
onGenerateSubtasks?: (card: Card$1) => Promise<Omit<Card$1, 'id'>[]>;
|
|
2040
|
-
/** AI: Estimate effort */
|
|
2041
|
-
onEstimateEffort?: (card: Card$1) => Promise<{
|
|
2042
|
-
hours: number;
|
|
2043
|
-
confidence: number;
|
|
2044
|
-
}>;
|
|
2045
|
-
}
|
|
2046
|
-
declare function CardDetailModal({ card, isOpen, onClose, onUpdate, onDelete, availableUsers, comments, activities, aiInsights, attachments, onAddComment, onDeleteComment, onUploadAttachments, onDeleteAttachment, onSuggestAssignee, onGenerateSubtasks, onEstimateEffort, currentUserId, }: CardDetailModalProps): react_jsx_runtime.JSX.Element | null;
|
|
2047
|
-
|
|
2048
|
-
interface CardDetailModalV2Props {
|
|
2049
|
-
/** Card to display */
|
|
2050
|
-
card: Card$1 | null;
|
|
2051
|
-
/** Whether modal is open */
|
|
2052
|
-
isOpen: boolean;
|
|
2053
|
-
/** Close callback */
|
|
2054
|
-
onClose: () => void;
|
|
2055
|
-
/** Update card callback */
|
|
2056
|
-
onUpdate?: (cardId: string, updates: Partial<Card$1>) => void;
|
|
2057
|
-
/** Delete card callback */
|
|
2058
|
-
onDelete?: (cardId: string) => void;
|
|
2059
|
-
/** Available users for assignment */
|
|
2060
|
-
availableUsers?: User$1[];
|
|
2061
|
-
/** Comments for this card */
|
|
2062
|
-
comments?: Comment[];
|
|
2063
|
-
/** Activity log for this card */
|
|
2064
|
-
activities?: Activity[];
|
|
2065
|
-
/** Add comment callback */
|
|
2066
|
-
onAddComment?: (cardId: string, content: string) => void;
|
|
2067
|
-
/** Delete comment callback */
|
|
2068
|
-
onDeleteComment?: (commentId: string) => void;
|
|
2069
|
-
/** Current user */
|
|
2070
|
-
currentUser?: User$1;
|
|
2071
|
-
/** AI: Generate description */
|
|
2072
|
-
onAIGenerateDescription?: (card: Card$1) => Promise<string>;
|
|
2073
|
-
/** AI: Create subtasks */
|
|
2074
|
-
onAICreateSubtasks?: (card: Card$1) => Promise<string[]>;
|
|
2075
|
-
/** AI: Find similar tasks */
|
|
2076
|
-
onAIFindSimilar?: (card: Card$1) => Promise<Card$1[]>;
|
|
2077
|
-
/** Available columns for status */
|
|
2078
|
-
availableColumns?: Array<{
|
|
2079
|
-
id: string;
|
|
2080
|
-
title: string;
|
|
2081
|
-
}>;
|
|
2082
|
-
/** Available labels (legacy - use availableTags for colored tags) */
|
|
2083
|
-
availableLabels?: string[];
|
|
2084
|
-
/** v0.17.158: Available tags with colors (ClickUp-style) */
|
|
2085
|
-
availableTags?: TaskTag[];
|
|
2086
|
-
/** v0.17.158: Callback to create a new tag */
|
|
2087
|
-
onCreateTag?: (name: string, color: string) => Promise<TaskTag | null>;
|
|
2088
|
-
/** Upload cover image callback (optional - returns public URL) */
|
|
2089
|
-
onUploadCoverImage?: (file: File) => Promise<string>;
|
|
2090
|
-
/** Unsplash API key for cover images (optional) */
|
|
2091
|
-
unsplashAccessKey?: string;
|
|
2092
|
-
/** Theme for the modal (dark, light, neutral). If not provided, uses KanbanThemeContext or defaults to 'dark' */
|
|
2093
|
-
theme?: 'dark' | 'light' | 'neutral';
|
|
2094
|
-
/** Callback when subtasks are changed (for persistence) */
|
|
2095
|
-
onSubtasksChange?: (cardId: string, subtasks: Subtask[]) => void;
|
|
2096
|
-
/** Attachments for this card */
|
|
2097
|
-
attachments?: Attachment[];
|
|
2098
|
-
/** Upload attachments callback */
|
|
2099
|
-
onUploadAttachments?: (cardId: string, files: File[]) => Promise<void> | void;
|
|
2100
|
-
/** Delete attachment callback */
|
|
2101
|
-
onDeleteAttachment?: (attachmentId: string) => void;
|
|
2102
|
-
}
|
|
2103
|
-
declare function CardDetailModalV2({ card, isOpen, onClose, onUpdate, onDelete: _onDelete, availableUsers, comments, activities, onAddComment, onDeleteComment: _onDeleteComment, currentUser, onAIGenerateDescription: _onAIGenerateDescription, onAICreateSubtasks: _onAICreateSubtasks, onAIFindSimilar: _onAIFindSimilar, availableColumns, availableLabels, availableTags, onCreateTag, onUploadCoverImage: _onUploadCoverImage, unsplashAccessKey: _unsplashAccessKey, theme, onSubtasksChange, attachments, onUploadAttachments, onDeleteAttachment, }: CardDetailModalV2Props): react_jsx_runtime.JSX.Element | null;
|
|
2104
|
-
|
|
2105
2011
|
interface AttachmentUploaderProps {
|
|
2106
2012
|
/** Card ID for attachments */
|
|
2107
2013
|
cardId: string;
|
|
@@ -2858,6 +2764,7 @@ interface GanttToolbarProps {
|
|
|
2858
2764
|
viewMode?: 'execution' | 'oracle';
|
|
2859
2765
|
onViewModeChange?: (mode: 'execution' | 'oracle') => void;
|
|
2860
2766
|
projectForecast?: ProjectForecast;
|
|
2767
|
+
hideForecastHud?: boolean;
|
|
2861
2768
|
onExportPNG?: () => Promise<void>;
|
|
2862
2769
|
onExportPDF?: () => Promise<void>;
|
|
2863
2770
|
onExportExcel?: () => Promise<void>;
|
|
@@ -2889,7 +2796,7 @@ declare function GanttToolbar({ theme, timeScale, onTimeScaleChange, zoom, onZoo
|
|
|
2889
2796
|
showCreateTaskButton, createTaskLabel, // v0.15.0: Will use translations if not provided
|
|
2890
2797
|
onCreateTask, taskFilter, // v0.17.300: Task filter
|
|
2891
2798
|
onTaskFilterChange, hideCompleted, // v0.18.0: Hide completed toggle
|
|
2892
|
-
onHideCompletedChange, toolbarRightContent, wbsLevel, onWbsLevelChange, maxWbsDepth, viewMode, onViewModeChange, projectForecast, onExportPNG, onExportPDF, onExportExcel, onExportCSV, onExportJSON, onExportMSProject, showCriticalPath, onShowCriticalPathChange, showDependencies, onShowDependenciesChange, highlightWeekends, onHighlightWeekendsChange, showBaseline, onShowBaselineChange, onCopySnapshotLink, hasDependencies, }: GanttToolbarProps): react_jsx_runtime.JSX.Element;
|
|
2799
|
+
onHideCompletedChange, toolbarRightContent, wbsLevel, onWbsLevelChange, maxWbsDepth, viewMode, onViewModeChange, projectForecast, hideForecastHud, onExportPNG, onExportPDF, onExportExcel, onExportCSV, onExportJSON, onExportMSProject, showCriticalPath, onShowCriticalPathChange, showDependencies, onShowDependenciesChange, highlightWeekends, onHighlightWeekendsChange, showBaseline, onShowBaselineChange, onCopySnapshotLink, hasDependencies, }: GanttToolbarProps): react_jsx_runtime.JSX.Element;
|
|
2893
2800
|
|
|
2894
2801
|
interface TaskGridProps {
|
|
2895
2802
|
tasks: Task[];
|
|
@@ -6758,4 +6665,4 @@ declare const themes: Record<ThemeName, Theme>;
|
|
|
6758
6665
|
*/
|
|
6759
6666
|
declare const defaultTheme: ThemeName;
|
|
6760
6667
|
|
|
6761
|
-
export { type AICallbacks, type AICommandResult, type GanttTask as AIGanttTask, type AIMessage, type AIModelKey, type AIOperation, AIUsageDashboard, type AIUsageDashboardProps, AI_FEATURES, AI_MODELS, type Activity, type ActivityType, AddCardButton, type AddCardButtonProps, type AddCardData, AddColumnButton, type AddColumnButtonProps, type AssigneeSuggestion, type Attachment, AttachmentUploader, type AttachmentUploaderProps, type AvailableUser, type Board, type BoardCallbacks, type BoardConfig, BoardProvider, type BoardProviderProps, type BorderRadiusToken, BulkOperationsToolbar, type BulkOperationsToolbarProps, BurnDownChart, type BurnDownChartProps, type BurnDownDataPoint, CUSTOM_FIELD_TYPES, type CalLayerId, type CalMoney, type CalView, CalendarView as CalendarBoard, type DailyLog as CalendarDailyLog, type TeamMember as CalendarTeamMember, Card,
|
|
6668
|
+
export { type AICallbacks, type AICommandResult, type GanttTask as AIGanttTask, type AIMessage, type AIModelKey, type AIOperation, AIUsageDashboard, type AIUsageDashboardProps, AI_FEATURES, AI_MODELS, type Activity, type ActivityType, AddCardButton, type AddCardButtonProps, type AddCardData, AddColumnButton, type AddColumnButtonProps, type AssigneeSuggestion, type Attachment, AttachmentUploader, type AttachmentUploaderProps, type AvailableUser, type Board, type BoardCallbacks, type BoardConfig, BoardProvider, type BoardProviderProps, type BorderRadiusToken, BulkOperationsToolbar, type BulkOperationsToolbarProps, BurnDownChart, type BurnDownChartProps, type BurnDownDataPoint, CUSTOM_FIELD_TYPES, type CalLayerId, type CalMoney, type CalView, CalendarView as CalendarBoard, type DailyLog as CalendarDailyLog, type TeamMember as CalendarTeamMember, Card, type CardFilter, type CardFilters, CardHistoryReplay, type CardHistoryReplayProps, CardHistoryTimeline, type CardHistoryTimelineProps, type CardProps, CardRelationshipsGraph, type CardRelationshipsGraphProps, type CardSort, type CardSortKey, CardStack, type CardStackProps, type CardStack$1 as CardStackType, type CardStatus, type CardTemplate, CardTemplateSelector, type CardTemplateSelectorProps, type CardTimeProps, type Card$1 as CardType, CircuitBreaker, Column, ColumnManager, type ColumnProps, type Column$1 as ColumnType, CommandPalette, type CommandPaletteProps, type Comment, type CommentAttachment, ConfigMenu, type ConfigMenuProps, ContextMenu, type ContextMenuAction, type ContextMenuState, type CustomFieldDefinition, type CustomFieldValue, DEFAULT_SHORTCUTS, DEFAULT_TABLE_COLUMNS, DEFAULT_TEMPLATES, type DateFilter, DateRangePicker, type DateRangePickerProps, DependenciesSelector, type DependenciesSelectorProps, DependencyLine, type DesignTokens, DistributionCharts, type DistributionChartsProps, type DistributionDataPoint, type DragData, type DropData, type DurationToken, type EasingToken, EditableColumnTitle, type EditableColumnTitleProps, ErrorBoundary, type ErrorBoundaryProps, ExportDropdown, type ExportFormat, ExportImportModal, type ExportImportModalProps, type ExportOptions, FilterBar, type FilterBarProps, type FilterState, type FlattenedTask, type FontSizeToken, type FontWeightToken, GANTT_AI_SYSTEM_PROMPT, GanttAIAssistant, type GanttAIAssistantConfig, type Assignee as GanttAssignee, GanttBoard, type GanttConfig as GanttBoardConfig, type GanttBoardRef, type GanttColumn, type ColumnType$1 as GanttColumnType, type GanttConfig, GanttI18nContext, Milestone as GanttMilestone, type GanttPermissions, type Task as GanttTask, type GanttTemplates, type Theme$1 as GanttTheme, type GanttTheme as GanttThemeConfig, GanttToolbar, type GanttTranslations, GenerateGanttTasksDialog, type GenerateGanttTasksDialogProps, GeneratePlanModal, type GeneratePlanModalProps, type GeneratedPlan, type GeneratedTasksResponse, type GroupByOption, GroupBySelector, type GroupBySelectorProps, HealthBar, type HealthBarProps, type IPluginManager, type ImportResult, type Insight, type InsightSeverity, type InsightType, KanbanBoard, type KanbanBoardProps, KanbanToolbar, type KanbanToolbarProps, KanbanViewAdapter, type KanbanViewConfig, type KeyboardAction, type KeyboardShortcut, KeyboardShortcutsHelp, type KeyboardShortcutsHelpProps, type LineHeightToken, type ListColumn, type ColumnType as ListColumnType, type ListFilter, type ListSort, type ListSortColumn, ListView, type ListViewCallbacks, type ListViewConfig, type ListViewPermissions, type ListViewProps, type ListViewSupportedLocale, type ListViewTheme, type ListViewThemeName, type ListViewTranslations, MenuIcons, type MoneyMode, type OpacityToken, type PendingFile, type PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, ProfitabilityReport, type ProfitabilityReportProps, type ProjectForecast, type ProjectHealthData, QuickTaskCreate, type QuickTaskCreateData, type QuickTaskCreateProps, RATE_LIMITS, type RenderProps, type RescheduleSimulation, type RetryOptions, type RetryResult, STANDARD_FIELDS, type ShadowToken, type SortBy, type SortDirection, type SortOrder, type SortState, type SpacingToken, type StackSuggestion, type StackingConfig, type StackingStrategy, type Subtask, type SupportedLocale, type Swimlane, SwimlaneBoardView, type SwimlaneBoardViewProps, type SwimlaneConfig, type TableColumn, TagBadge, TagList, TagPicker, TaskBar, type TaskComment, TaskDetailModal, type TaskDetailModalProps, type TaskFilterType, type TaskFormData, TaskFormModal, type TaskFormModalProps, TaskGrid, type TaskPriority, type TaskTag, type Theme, type ThemeColors, type ThemeContextValue, ThemeModal, type ThemeModalProps, type ThemeName, ThemeProvider, ThemeSwitcher, type TimeEntry, TimeInputPopover, type TimeInputPopoverProps, type TimeLogInput, type TimeLogSource, TimePill, type TimePillProps, TimePopover, type TimePopoverProps, type TimeScale, type TimeTrackingBoardProps, type TimeTrackingCallbacks, type TimeTrackingSummary, Timeline, type TimerState, type ThemeColors$1 as TokenThemeColors, type TokenValue, type UsageStats, type UseAIOptions, type UseAIReturn, type UseBoardReturn as UseBoardCoreReturn, type UseBoardOptions, type UseBoardReturn$1 as UseBoardReturn, type UseCardStackingOptions, type UseCardStackingResult, type UseDragStateReturn, type UseFiltersOptions, type UseFiltersReturn, type UseKanbanStateOptions, type UseKanbanStateReturn, type UseKeyboardShortcutsOptions, type UseKeyboardShortcutsReturn, type UseMultiSelectReturn, type UseSelectionStateReturn, type User$1 as User, UserAssignmentSelector, type UserAssignmentSelectorProps, VelocityChart, type VelocityChartProps, type VelocityDataPoint, VirtualGrid, type VirtualGridProps, VirtualList, type VirtualListProps, type ZIndexToken, aiUsageTracker, borderRadius, buildCalendar, calculatePosition, cardToGanttTask, cardsToGanttTasks, cn, createKanbanView, createRetryWrapper, darkTheme, darkTheme$1 as darkTokenTheme, defaultTheme, designTokens, duration, easing, exportTokensToCSS, findTaskByName, fontSize, fontWeight, formatCost, en$1 as ganttEnTranslations, es$1 as ganttEsTranslations, ganttTaskToCardUpdate, themes$1 as ganttThemes, gantt as ganttTokens, translations as ganttTranslations, ganttUtils, generateCSSVariables, generateCompleteCSS, generateInitialPositions, generateTasksContext, generateThemeVariables, getListViewTheme, getListViewTranslations, getToken, getTranslations, kanban as kanbanTokens, lightTheme, lightTheme$1 as lightTokenTheme, lineHeight, darkTheme$2 as listViewDarkTheme, en as listViewEnTranslations, es as listViewEsTranslations, lightTheme$2 as listViewLightTheme, neutralTheme$2 as listViewNeutralTheme, listViewThemes, listViewTranslations, mergeListViewTranslations, mergeTranslations, neutralTheme, neutralTheme$1 as neutralTokenTheme, opacity, parseLocalCommand, parseNaturalDate, parseNaturalDuration, parseProgress, parseStatus, pluginManager, retrySyncOperation, retryWithBackoff, shadows, shouldVirtualizeGrid, simulateReschedule, spacing, themes, useAI, useBoard$1 as useBoard, useBoard as useBoardCore, useBoardStore, useCardStacking, useDragState, useFilteredCards, useFilters, useGanttI18n, useKanbanState, useKeyboardShortcuts, useMultiSelect, useSelectionState, useSortedCards, useTheme, useVirtualGrid, useVirtualList, validateAIResponse, withErrorBoundary, wouldCreateCircularDependency, zIndex };
|