@libxai/board 1.4.21 → 1.4.23
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 +56 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +109 -11
- package/dist/index.d.ts +109 -11
- package/dist/index.js +56 -56
- package/dist/index.js.map +1 -1
- package/dist/styles.css +720 -76
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -45,6 +45,21 @@ interface Task {
|
|
|
45
45
|
parentId?: string;
|
|
46
46
|
level?: number;
|
|
47
47
|
position?: number;
|
|
48
|
+
wbsCode?: string;
|
|
49
|
+
taskCode?: string;
|
|
50
|
+
scheduleVariance?: number;
|
|
51
|
+
blockers?: Array<{
|
|
52
|
+
type: string;
|
|
53
|
+
id: string;
|
|
54
|
+
severity: 'critical' | 'warning' | 'info';
|
|
55
|
+
}>;
|
|
56
|
+
teamLoad?: {
|
|
57
|
+
percentage: number;
|
|
58
|
+
label: string;
|
|
59
|
+
};
|
|
60
|
+
effortMinutes?: number;
|
|
61
|
+
timeLoggedMinutes?: number;
|
|
62
|
+
soldEffortMinutes?: number;
|
|
48
63
|
}
|
|
49
64
|
type TimeScale = 'day' | 'week' | 'month';
|
|
50
65
|
type Theme$1 = 'dark' | 'light' | 'neutral';
|
|
@@ -96,6 +111,12 @@ interface GanttTheme {
|
|
|
96
111
|
statusCompleted: string;
|
|
97
112
|
hoverBg: string;
|
|
98
113
|
focusRing: string;
|
|
114
|
+
dotGrid?: string;
|
|
115
|
+
glassHeader?: string;
|
|
116
|
+
glassToolbar?: string;
|
|
117
|
+
forecastHud?: string;
|
|
118
|
+
neonRedGlow?: string;
|
|
119
|
+
executionBarBg?: string;
|
|
99
120
|
}
|
|
100
121
|
/**
|
|
101
122
|
* Templates for customizing Gantt rendering
|
|
@@ -295,6 +316,13 @@ interface GanttAIAssistantConfig {
|
|
|
295
316
|
maxHistory?: number;
|
|
296
317
|
/** Persist chat history in localStorage @version 0.17.42 */
|
|
297
318
|
persistHistory?: PersistHistoryConfig;
|
|
319
|
+
/** Mentionable users for @mention autocomplete in the chat input */
|
|
320
|
+
mentionableUsers?: Array<{
|
|
321
|
+
id: string;
|
|
322
|
+
name: string;
|
|
323
|
+
email?: string;
|
|
324
|
+
avatar?: string;
|
|
325
|
+
}>;
|
|
298
326
|
}
|
|
299
327
|
/**
|
|
300
328
|
* AI Command result interface
|
|
@@ -908,6 +936,12 @@ interface KanbanBoardProps {
|
|
|
908
936
|
onDiscardTimer?: (taskId: string) => void;
|
|
909
937
|
/** Blur financial data (tiempo ofertado) for unauthorized users */
|
|
910
938
|
blurFinancials?: boolean;
|
|
939
|
+
/** Side panel rendered alongside the board columns */
|
|
940
|
+
sidePanel?: React.ReactNode;
|
|
941
|
+
/** Custom renderer for column header metrics (below title) */
|
|
942
|
+
renderColumnMetrics?: (column: Column$1, cards: Card$1[]) => React.ReactNode;
|
|
943
|
+
/** v2.1.0: Suppress internal TaskDetailModal (consumer provides own drawer) */
|
|
944
|
+
suppressDetailModal?: boolean;
|
|
911
945
|
}
|
|
912
946
|
/**
|
|
913
947
|
* Drag event data
|
|
@@ -1451,7 +1485,7 @@ declare class KanbanViewAdapter extends BaseViewAdapter<ViewBoardData> {
|
|
|
1451
1485
|
*/
|
|
1452
1486
|
declare function createKanbanView(config?: KanbanViewConfig): KanbanViewAdapter;
|
|
1453
1487
|
|
|
1454
|
-
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, comments, onAddComment, currentUser, mentionableUsers, onTaskOpen, onUploadCommentAttachments, enableTimeTracking, timeTrackingSummary, timeEntries, timerState, onLogTime, onUpdateEstimate, onUpdateSoldEffort, onStartTimer, onStopTimer, onDiscardTimer, blurFinancials, }: KanbanBoardProps & {
|
|
1488
|
+
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, comments, onAddComment, currentUser, mentionableUsers, onTaskOpen, onUploadCommentAttachments, enableTimeTracking, timeTrackingSummary, timeEntries, timerState, onLogTime, onUpdateEstimate, onUpdateSoldEffort, onStartTimer, onStopTimer, onDiscardTimer, blurFinancials, sidePanel, renderColumnMetrics, suppressDetailModal, }: KanbanBoardProps & {
|
|
1455
1489
|
children?: React.ReactNode;
|
|
1456
1490
|
}): react_jsx_runtime.JSX.Element;
|
|
1457
1491
|
|
|
@@ -1636,6 +1670,8 @@ interface ColumnProps {
|
|
|
1636
1670
|
isDeletable?: boolean;
|
|
1637
1671
|
/** Custom className */
|
|
1638
1672
|
className?: string;
|
|
1673
|
+
/** v2.0.0: Custom metrics renderer below column header */
|
|
1674
|
+
renderMetrics?: (column: Column$1, cards: Card$1[]) => React.ReactNode;
|
|
1639
1675
|
}
|
|
1640
1676
|
/**
|
|
1641
1677
|
* Column Component
|
|
@@ -3503,7 +3539,7 @@ type SortDirection = 'asc' | 'desc';
|
|
|
3503
3539
|
* - v1.2.0: effortMinutes, timeLoggedMinutes, soldEffortMinutes
|
|
3504
3540
|
* - Custom: text, number, date, dropdown, checkbox
|
|
3505
3541
|
*/
|
|
3506
|
-
type ColumnType = 'name' | 'status' | 'priority' | 'assignees' | 'startDate' | 'endDate' | 'progress' | 'tags' | 'estimatedTime' | 'quotedTime' | 'elapsedTime' | 'effortMinutes' | 'timeLoggedMinutes' | 'soldEffortMinutes' | 'text' | 'number' | 'date' | 'dropdown' | 'checkbox';
|
|
3542
|
+
type ColumnType = 'name' | 'status' | 'priority' | 'assignees' | 'startDate' | 'endDate' | 'progress' | 'tags' | 'estimatedTime' | 'quotedTime' | 'elapsedTime' | 'effortMinutes' | 'timeLoggedMinutes' | 'soldEffortMinutes' | 'scheduleVariance' | 'hoursBar' | 'teamLoad' | 'blockers' | 'text' | 'number' | 'date' | 'dropdown' | 'checkbox';
|
|
3507
3543
|
/**
|
|
3508
3544
|
* Table column configuration for dynamic columns
|
|
3509
3545
|
*/
|
|
@@ -3633,6 +3669,12 @@ interface ListViewTheme {
|
|
|
3633
3669
|
focusRing: string;
|
|
3634
3670
|
checkboxBg: string;
|
|
3635
3671
|
checkboxChecked: string;
|
|
3672
|
+
bgGroupHeader: string;
|
|
3673
|
+
headerBg: string;
|
|
3674
|
+
neonRed: string;
|
|
3675
|
+
neonGreen: string;
|
|
3676
|
+
neonAmber: string;
|
|
3677
|
+
neonBlue: string;
|
|
3636
3678
|
}
|
|
3637
3679
|
/**
|
|
3638
3680
|
* Permissions for list view operations
|
|
@@ -3649,6 +3691,20 @@ interface ListViewPermissions {
|
|
|
3649
3691
|
canFilter?: boolean;
|
|
3650
3692
|
canReorder?: boolean;
|
|
3651
3693
|
}
|
|
3694
|
+
/**
|
|
3695
|
+
* v2.0.0: Project Health data for sidebar panel
|
|
3696
|
+
*/
|
|
3697
|
+
interface ProjectHealthData {
|
|
3698
|
+
openRFIs?: number;
|
|
3699
|
+
submittalsApprovalPercent?: number;
|
|
3700
|
+
scheduleVarianceDays?: number;
|
|
3701
|
+
scheduleVarianceLabel?: string;
|
|
3702
|
+
teams?: Array<{
|
|
3703
|
+
name: string;
|
|
3704
|
+
color: string;
|
|
3705
|
+
utilizationPercent: number;
|
|
3706
|
+
}>;
|
|
3707
|
+
}
|
|
3652
3708
|
/**
|
|
3653
3709
|
* ListView configuration
|
|
3654
3710
|
*/
|
|
@@ -3695,6 +3751,11 @@ interface ListViewConfig {
|
|
|
3695
3751
|
onCreateTask?: () => void;
|
|
3696
3752
|
/** LocalStorage key for persisting filter state, or false to disable */
|
|
3697
3753
|
persistFilter?: string | false;
|
|
3754
|
+
/** Configuration for project health sidebar panel */
|
|
3755
|
+
healthSidebar?: {
|
|
3756
|
+
enabled: boolean;
|
|
3757
|
+
data: ProjectHealthData;
|
|
3758
|
+
};
|
|
3698
3759
|
/**
|
|
3699
3760
|
* Configuration for blurring financial data based on user permissions
|
|
3700
3761
|
* When enabled, financial columns (soldEffortMinutes, quotedTime) will be blurred
|
|
@@ -3723,6 +3784,10 @@ interface ListViewTranslations {
|
|
|
3723
3784
|
quotedTime?: string;
|
|
3724
3785
|
elapsedTime?: string;
|
|
3725
3786
|
tags?: string;
|
|
3787
|
+
scheduleVariance?: string;
|
|
3788
|
+
hoursBar?: string;
|
|
3789
|
+
teamLoad?: string;
|
|
3790
|
+
blockers?: string;
|
|
3726
3791
|
};
|
|
3727
3792
|
toolbar: {
|
|
3728
3793
|
search: string;
|
|
@@ -3807,6 +3872,12 @@ interface ListViewCallbacks {
|
|
|
3807
3872
|
onCreateCustomField?: (field: CustomFieldDefinition) => Promise<void>;
|
|
3808
3873
|
/** Handler for inline time logging - receives task and minutes to log */
|
|
3809
3874
|
onLogTime?: (task: Task, minutes: number | null) => void;
|
|
3875
|
+
/** Handler for opening time log modal from HoursBar cell */
|
|
3876
|
+
onOpenTimeLog?: (task: Task) => void;
|
|
3877
|
+
/** Handler for reporting a blocker on a task */
|
|
3878
|
+
onReportBlocker?: (task: Task) => void;
|
|
3879
|
+
/** Handler for copying task link to clipboard */
|
|
3880
|
+
onCopyTaskLink?: (task: Task) => void;
|
|
3810
3881
|
}
|
|
3811
3882
|
/**
|
|
3812
3883
|
* Available user for assignment
|
|
@@ -3856,6 +3927,8 @@ interface ListViewProps {
|
|
|
3856
3927
|
availableUsers?: AvailableUser[];
|
|
3857
3928
|
/** Custom fields defined for this project */
|
|
3858
3929
|
customFields?: CustomFieldDefinition[];
|
|
3930
|
+
/** Render custom content on the right side of toolbar (before create button) */
|
|
3931
|
+
toolbarRightContent?: ReactNode;
|
|
3859
3932
|
}
|
|
3860
3933
|
/**
|
|
3861
3934
|
* Flattened task with hierarchy info
|
|
@@ -3892,15 +3965,15 @@ declare const CUSTOM_FIELD_TYPES: Array<{
|
|
|
3892
3965
|
/**
|
|
3893
3966
|
* Main ListView Component
|
|
3894
3967
|
*/
|
|
3895
|
-
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, availableUsers, customFields, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
3968
|
+
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, availableUsers, customFields, toolbarRightContent, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
3896
3969
|
|
|
3897
3970
|
/**
|
|
3898
3971
|
* ListView Themes
|
|
3899
|
-
* @version 0.
|
|
3972
|
+
* @version 2.0.0 — Chronos V2.0 visual language
|
|
3900
3973
|
*/
|
|
3901
3974
|
|
|
3902
3975
|
/**
|
|
3903
|
-
* Dark theme for ListView
|
|
3976
|
+
* Dark theme for ListView — Chronos V2.0
|
|
3904
3977
|
*/
|
|
3905
3978
|
declare const darkTheme$3: ListViewTheme;
|
|
3906
3979
|
/**
|
|
@@ -4012,6 +4085,12 @@ interface CalendarTheme {
|
|
|
4012
4085
|
statusInProgress: string;
|
|
4013
4086
|
statusCompleted: string;
|
|
4014
4087
|
focusRing: string;
|
|
4088
|
+
glass: string;
|
|
4089
|
+
glassBorder: string;
|
|
4090
|
+
glassHover: string;
|
|
4091
|
+
neonRed: string;
|
|
4092
|
+
glowBlue: string;
|
|
4093
|
+
glowRed: string;
|
|
4015
4094
|
}
|
|
4016
4095
|
/**
|
|
4017
4096
|
* Permissions for calendar operations
|
|
@@ -4053,6 +4132,8 @@ interface CalendarConfig {
|
|
|
4053
4132
|
enableDragDrop?: boolean;
|
|
4054
4133
|
/** Show task details on hover */
|
|
4055
4134
|
showTooltip?: boolean;
|
|
4135
|
+
/** Show right sidebar with unscheduled/backlog tasks (default: true) */
|
|
4136
|
+
showBacklog?: boolean;
|
|
4056
4137
|
}
|
|
4057
4138
|
/**
|
|
4058
4139
|
* CalendarBoard translations
|
|
@@ -4110,6 +4191,20 @@ interface CalendarTranslations {
|
|
|
4110
4191
|
newTask: string;
|
|
4111
4192
|
viewAll: string;
|
|
4112
4193
|
week: string;
|
|
4194
|
+
backlogTitle: string;
|
|
4195
|
+
systemStatus: string;
|
|
4196
|
+
budgetUtil: string;
|
|
4197
|
+
variance: string;
|
|
4198
|
+
cost: string;
|
|
4199
|
+
estimate: string;
|
|
4200
|
+
sold: string;
|
|
4201
|
+
cashOut: string;
|
|
4202
|
+
typeToAdd: string;
|
|
4203
|
+
critical: string;
|
|
4204
|
+
blocker: string;
|
|
4205
|
+
risk: string;
|
|
4206
|
+
delay: string;
|
|
4207
|
+
days: string;
|
|
4113
4208
|
};
|
|
4114
4209
|
tooltips: {
|
|
4115
4210
|
progress: string;
|
|
@@ -4240,20 +4335,23 @@ interface CalendarBoardProps {
|
|
|
4240
4335
|
onDiscardTimer?: (taskId: string) => void;
|
|
4241
4336
|
/** Blur financial data (tiempo ofertado) for unauthorized users */
|
|
4242
4337
|
blurFinancials?: boolean;
|
|
4338
|
+
/** v2.1.0: Suppress internal TaskDetailModal (consumer provides own drawer) */
|
|
4339
|
+
suppressDetailModal?: boolean;
|
|
4243
4340
|
}
|
|
4244
4341
|
|
|
4245
4342
|
/**
|
|
4246
|
-
* Main CalendarBoard Component
|
|
4343
|
+
* Main CalendarBoard Component — Chronos V2.0
|
|
4247
4344
|
*/
|
|
4248
|
-
declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, attachmentsByTask, comments, onAddComment, currentUser, mentionableUsers, onUploadCommentAttachments, onTaskOpen, enableTimeTracking, timeTrackingSummary, timeEntries, timerState, onLogTime, onUpdateEstimate, onUpdateSoldEffort, onStartTimer, onStopTimer, onDiscardTimer, blurFinancials, }: CalendarBoardProps): react_jsx_runtime.JSX.Element;
|
|
4345
|
+
declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, attachmentsByTask, comments, onAddComment, currentUser, mentionableUsers, onUploadCommentAttachments, onTaskOpen, enableTimeTracking, timeTrackingSummary, timeEntries, timerState, onLogTime, onUpdateEstimate, onUpdateSoldEffort, onStartTimer, onStopTimer, onDiscardTimer, blurFinancials, suppressDetailModal, }: CalendarBoardProps): react_jsx_runtime.JSX.Element;
|
|
4249
4346
|
|
|
4250
4347
|
/**
|
|
4251
|
-
* CalendarBoard Themes
|
|
4252
|
-
* @version 0.
|
|
4348
|
+
* CalendarBoard Themes — Chronos V2.0
|
|
4349
|
+
* @version 2.0.0
|
|
4253
4350
|
*/
|
|
4254
4351
|
|
|
4255
4352
|
/**
|
|
4256
|
-
* Dark theme
|
|
4353
|
+
* Dark theme — Chronos V2.0 Design Language
|
|
4354
|
+
* Ultra-dark (#050505) with #222 grid borders, glass elements, and neon accents
|
|
4257
4355
|
*/
|
|
4258
4356
|
declare const darkTheme$2: CalendarTheme;
|
|
4259
4357
|
/**
|
|
@@ -6427,4 +6525,4 @@ declare const themes: Record<ThemeName, Theme>;
|
|
|
6427
6525
|
*/
|
|
6428
6526
|
declare const defaultTheme: ThemeName;
|
|
6429
6527
|
|
|
6430
|
-
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, CalendarBoard, type CalendarBoardProps, type CalendarCallbacks, type CalendarConfig, type CalendarDay, type CalendarEvent, type CalendarPermissions, type CalendarSupportedLocale, type CalendarTheme, type CalendarThemeName, type CalendarTranslations, type CalendarViewMode, Card, CardDetailModal, type CardDetailModalProps, CardDetailModalV2, type CardDetailModalV2Props, 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, 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, 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 OpacityToken, type PendingFile, type PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, ProfitabilityReport, type ProfitabilityReportProps, RATE_LIMITS, type RenderProps, 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 WeekDay, type ZIndexToken, aiUsageTracker, borderRadius, calculatePosition, darkTheme$2 as calendarDarkTheme, en as calendarEnTranslations, es as calendarEsTranslations, lightTheme$2 as calendarLightTheme, neutralTheme$2 as calendarNeutralTheme, calendarThemes, calendarTranslations, cardToGanttTask, cardsToGanttTasks, cn, createKanbanView, createRetryWrapper, darkTheme, darkTheme$1 as darkTokenTheme, defaultTheme, designTokens, duration, easing, exportTokensToCSS, findTaskByName, fontSize, fontWeight, formatCost, en$2 as ganttEnTranslations, es$2 as ganttEsTranslations, ganttTaskToCardUpdate, themes$1 as ganttThemes, gantt as ganttTokens, translations as ganttTranslations, ganttUtils, generateCSSVariables, generateCompleteCSS, generateInitialPositions, generateTasksContext, generateThemeVariables, getCalendarTheme, getCalendarTranslations, getListViewTheme, getListViewTranslations, getMonthNames, getToken, getTranslations, getWeekdayNames, kanban as kanbanTokens, lightTheme, lightTheme$1 as lightTokenTheme, lineHeight, darkTheme$3 as listViewDarkTheme, en$1 as listViewEnTranslations, es$1 as listViewEsTranslations, lightTheme$3 as listViewLightTheme, neutralTheme$3 as listViewNeutralTheme, listViewThemes, listViewTranslations, mergeCalendarTranslations, mergeListViewTranslations, mergeTranslations, neutralTheme, neutralTheme$1 as neutralTokenTheme, opacity, parseLocalCommand, parseNaturalDate, parseNaturalDuration, parseProgress, parseStatus, pluginManager, retrySyncOperation, retryWithBackoff, shadows, shouldVirtualizeGrid, 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 };
|
|
6528
|
+
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, CalendarBoard, type CalendarBoardProps, type CalendarCallbacks, type CalendarConfig, type CalendarDay, type CalendarEvent, type CalendarPermissions, type CalendarSupportedLocale, type CalendarTheme, type CalendarThemeName, type CalendarTranslations, type CalendarViewMode, Card, CardDetailModal, type CardDetailModalProps, CardDetailModalV2, type CardDetailModalV2Props, 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, 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, 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 OpacityToken, type PendingFile, type PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, ProfitabilityReport, type ProfitabilityReportProps, type ProjectHealthData, RATE_LIMITS, type RenderProps, 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 WeekDay, type ZIndexToken, aiUsageTracker, borderRadius, calculatePosition, darkTheme$2 as calendarDarkTheme, en as calendarEnTranslations, es as calendarEsTranslations, lightTheme$2 as calendarLightTheme, neutralTheme$2 as calendarNeutralTheme, calendarThemes, calendarTranslations, cardToGanttTask, cardsToGanttTasks, cn, createKanbanView, createRetryWrapper, darkTheme, darkTheme$1 as darkTokenTheme, defaultTheme, designTokens, duration, easing, exportTokensToCSS, findTaskByName, fontSize, fontWeight, formatCost, en$2 as ganttEnTranslations, es$2 as ganttEsTranslations, ganttTaskToCardUpdate, themes$1 as ganttThemes, gantt as ganttTokens, translations as ganttTranslations, ganttUtils, generateCSSVariables, generateCompleteCSS, generateInitialPositions, generateTasksContext, generateThemeVariables, getCalendarTheme, getCalendarTranslations, getListViewTheme, getListViewTranslations, getMonthNames, getToken, getTranslations, getWeekdayNames, kanban as kanbanTokens, lightTheme, lightTheme$1 as lightTokenTheme, lineHeight, darkTheme$3 as listViewDarkTheme, en$1 as listViewEnTranslations, es$1 as listViewEsTranslations, lightTheme$3 as listViewLightTheme, neutralTheme$3 as listViewNeutralTheme, listViewThemes, listViewTranslations, mergeCalendarTranslations, mergeListViewTranslations, mergeTranslations, neutralTheme, neutralTheme$1 as neutralTokenTheme, opacity, parseLocalCommand, parseNaturalDate, parseNaturalDuration, parseProgress, parseStatus, pluginManager, retrySyncOperation, retryWithBackoff, shadows, shouldVirtualizeGrid, 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
|
@@ -45,6 +45,21 @@ interface Task {
|
|
|
45
45
|
parentId?: string;
|
|
46
46
|
level?: number;
|
|
47
47
|
position?: number;
|
|
48
|
+
wbsCode?: string;
|
|
49
|
+
taskCode?: string;
|
|
50
|
+
scheduleVariance?: number;
|
|
51
|
+
blockers?: Array<{
|
|
52
|
+
type: string;
|
|
53
|
+
id: string;
|
|
54
|
+
severity: 'critical' | 'warning' | 'info';
|
|
55
|
+
}>;
|
|
56
|
+
teamLoad?: {
|
|
57
|
+
percentage: number;
|
|
58
|
+
label: string;
|
|
59
|
+
};
|
|
60
|
+
effortMinutes?: number;
|
|
61
|
+
timeLoggedMinutes?: number;
|
|
62
|
+
soldEffortMinutes?: number;
|
|
48
63
|
}
|
|
49
64
|
type TimeScale = 'day' | 'week' | 'month';
|
|
50
65
|
type Theme$1 = 'dark' | 'light' | 'neutral';
|
|
@@ -96,6 +111,12 @@ interface GanttTheme {
|
|
|
96
111
|
statusCompleted: string;
|
|
97
112
|
hoverBg: string;
|
|
98
113
|
focusRing: string;
|
|
114
|
+
dotGrid?: string;
|
|
115
|
+
glassHeader?: string;
|
|
116
|
+
glassToolbar?: string;
|
|
117
|
+
forecastHud?: string;
|
|
118
|
+
neonRedGlow?: string;
|
|
119
|
+
executionBarBg?: string;
|
|
99
120
|
}
|
|
100
121
|
/**
|
|
101
122
|
* Templates for customizing Gantt rendering
|
|
@@ -295,6 +316,13 @@ interface GanttAIAssistantConfig {
|
|
|
295
316
|
maxHistory?: number;
|
|
296
317
|
/** Persist chat history in localStorage @version 0.17.42 */
|
|
297
318
|
persistHistory?: PersistHistoryConfig;
|
|
319
|
+
/** Mentionable users for @mention autocomplete in the chat input */
|
|
320
|
+
mentionableUsers?: Array<{
|
|
321
|
+
id: string;
|
|
322
|
+
name: string;
|
|
323
|
+
email?: string;
|
|
324
|
+
avatar?: string;
|
|
325
|
+
}>;
|
|
298
326
|
}
|
|
299
327
|
/**
|
|
300
328
|
* AI Command result interface
|
|
@@ -908,6 +936,12 @@ interface KanbanBoardProps {
|
|
|
908
936
|
onDiscardTimer?: (taskId: string) => void;
|
|
909
937
|
/** Blur financial data (tiempo ofertado) for unauthorized users */
|
|
910
938
|
blurFinancials?: boolean;
|
|
939
|
+
/** Side panel rendered alongside the board columns */
|
|
940
|
+
sidePanel?: React.ReactNode;
|
|
941
|
+
/** Custom renderer for column header metrics (below title) */
|
|
942
|
+
renderColumnMetrics?: (column: Column$1, cards: Card$1[]) => React.ReactNode;
|
|
943
|
+
/** v2.1.0: Suppress internal TaskDetailModal (consumer provides own drawer) */
|
|
944
|
+
suppressDetailModal?: boolean;
|
|
911
945
|
}
|
|
912
946
|
/**
|
|
913
947
|
* Drag event data
|
|
@@ -1451,7 +1485,7 @@ declare class KanbanViewAdapter extends BaseViewAdapter<ViewBoardData> {
|
|
|
1451
1485
|
*/
|
|
1452
1486
|
declare function createKanbanView(config?: KanbanViewConfig): KanbanViewAdapter;
|
|
1453
1487
|
|
|
1454
|
-
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, comments, onAddComment, currentUser, mentionableUsers, onTaskOpen, onUploadCommentAttachments, enableTimeTracking, timeTrackingSummary, timeEntries, timerState, onLogTime, onUpdateEstimate, onUpdateSoldEffort, onStartTimer, onStopTimer, onDiscardTimer, blurFinancials, }: KanbanBoardProps & {
|
|
1488
|
+
declare function KanbanBoard({ board, callbacks, onCardClick, renderProps, config, availableUsers, className, style, isLoading, error, children, availableTags, onCreateTag, attachmentsByCard, onUploadAttachments, onDeleteAttachment, comments, onAddComment, currentUser, mentionableUsers, onTaskOpen, onUploadCommentAttachments, enableTimeTracking, timeTrackingSummary, timeEntries, timerState, onLogTime, onUpdateEstimate, onUpdateSoldEffort, onStartTimer, onStopTimer, onDiscardTimer, blurFinancials, sidePanel, renderColumnMetrics, suppressDetailModal, }: KanbanBoardProps & {
|
|
1455
1489
|
children?: React.ReactNode;
|
|
1456
1490
|
}): react_jsx_runtime.JSX.Element;
|
|
1457
1491
|
|
|
@@ -1636,6 +1670,8 @@ interface ColumnProps {
|
|
|
1636
1670
|
isDeletable?: boolean;
|
|
1637
1671
|
/** Custom className */
|
|
1638
1672
|
className?: string;
|
|
1673
|
+
/** v2.0.0: Custom metrics renderer below column header */
|
|
1674
|
+
renderMetrics?: (column: Column$1, cards: Card$1[]) => React.ReactNode;
|
|
1639
1675
|
}
|
|
1640
1676
|
/**
|
|
1641
1677
|
* Column Component
|
|
@@ -3503,7 +3539,7 @@ type SortDirection = 'asc' | 'desc';
|
|
|
3503
3539
|
* - v1.2.0: effortMinutes, timeLoggedMinutes, soldEffortMinutes
|
|
3504
3540
|
* - Custom: text, number, date, dropdown, checkbox
|
|
3505
3541
|
*/
|
|
3506
|
-
type ColumnType = 'name' | 'status' | 'priority' | 'assignees' | 'startDate' | 'endDate' | 'progress' | 'tags' | 'estimatedTime' | 'quotedTime' | 'elapsedTime' | 'effortMinutes' | 'timeLoggedMinutes' | 'soldEffortMinutes' | 'text' | 'number' | 'date' | 'dropdown' | 'checkbox';
|
|
3542
|
+
type ColumnType = 'name' | 'status' | 'priority' | 'assignees' | 'startDate' | 'endDate' | 'progress' | 'tags' | 'estimatedTime' | 'quotedTime' | 'elapsedTime' | 'effortMinutes' | 'timeLoggedMinutes' | 'soldEffortMinutes' | 'scheduleVariance' | 'hoursBar' | 'teamLoad' | 'blockers' | 'text' | 'number' | 'date' | 'dropdown' | 'checkbox';
|
|
3507
3543
|
/**
|
|
3508
3544
|
* Table column configuration for dynamic columns
|
|
3509
3545
|
*/
|
|
@@ -3633,6 +3669,12 @@ interface ListViewTheme {
|
|
|
3633
3669
|
focusRing: string;
|
|
3634
3670
|
checkboxBg: string;
|
|
3635
3671
|
checkboxChecked: string;
|
|
3672
|
+
bgGroupHeader: string;
|
|
3673
|
+
headerBg: string;
|
|
3674
|
+
neonRed: string;
|
|
3675
|
+
neonGreen: string;
|
|
3676
|
+
neonAmber: string;
|
|
3677
|
+
neonBlue: string;
|
|
3636
3678
|
}
|
|
3637
3679
|
/**
|
|
3638
3680
|
* Permissions for list view operations
|
|
@@ -3649,6 +3691,20 @@ interface ListViewPermissions {
|
|
|
3649
3691
|
canFilter?: boolean;
|
|
3650
3692
|
canReorder?: boolean;
|
|
3651
3693
|
}
|
|
3694
|
+
/**
|
|
3695
|
+
* v2.0.0: Project Health data for sidebar panel
|
|
3696
|
+
*/
|
|
3697
|
+
interface ProjectHealthData {
|
|
3698
|
+
openRFIs?: number;
|
|
3699
|
+
submittalsApprovalPercent?: number;
|
|
3700
|
+
scheduleVarianceDays?: number;
|
|
3701
|
+
scheduleVarianceLabel?: string;
|
|
3702
|
+
teams?: Array<{
|
|
3703
|
+
name: string;
|
|
3704
|
+
color: string;
|
|
3705
|
+
utilizationPercent: number;
|
|
3706
|
+
}>;
|
|
3707
|
+
}
|
|
3652
3708
|
/**
|
|
3653
3709
|
* ListView configuration
|
|
3654
3710
|
*/
|
|
@@ -3695,6 +3751,11 @@ interface ListViewConfig {
|
|
|
3695
3751
|
onCreateTask?: () => void;
|
|
3696
3752
|
/** LocalStorage key for persisting filter state, or false to disable */
|
|
3697
3753
|
persistFilter?: string | false;
|
|
3754
|
+
/** Configuration for project health sidebar panel */
|
|
3755
|
+
healthSidebar?: {
|
|
3756
|
+
enabled: boolean;
|
|
3757
|
+
data: ProjectHealthData;
|
|
3758
|
+
};
|
|
3698
3759
|
/**
|
|
3699
3760
|
* Configuration for blurring financial data based on user permissions
|
|
3700
3761
|
* When enabled, financial columns (soldEffortMinutes, quotedTime) will be blurred
|
|
@@ -3723,6 +3784,10 @@ interface ListViewTranslations {
|
|
|
3723
3784
|
quotedTime?: string;
|
|
3724
3785
|
elapsedTime?: string;
|
|
3725
3786
|
tags?: string;
|
|
3787
|
+
scheduleVariance?: string;
|
|
3788
|
+
hoursBar?: string;
|
|
3789
|
+
teamLoad?: string;
|
|
3790
|
+
blockers?: string;
|
|
3726
3791
|
};
|
|
3727
3792
|
toolbar: {
|
|
3728
3793
|
search: string;
|
|
@@ -3807,6 +3872,12 @@ interface ListViewCallbacks {
|
|
|
3807
3872
|
onCreateCustomField?: (field: CustomFieldDefinition) => Promise<void>;
|
|
3808
3873
|
/** Handler for inline time logging - receives task and minutes to log */
|
|
3809
3874
|
onLogTime?: (task: Task, minutes: number | null) => void;
|
|
3875
|
+
/** Handler for opening time log modal from HoursBar cell */
|
|
3876
|
+
onOpenTimeLog?: (task: Task) => void;
|
|
3877
|
+
/** Handler for reporting a blocker on a task */
|
|
3878
|
+
onReportBlocker?: (task: Task) => void;
|
|
3879
|
+
/** Handler for copying task link to clipboard */
|
|
3880
|
+
onCopyTaskLink?: (task: Task) => void;
|
|
3810
3881
|
}
|
|
3811
3882
|
/**
|
|
3812
3883
|
* Available user for assignment
|
|
@@ -3856,6 +3927,8 @@ interface ListViewProps {
|
|
|
3856
3927
|
availableUsers?: AvailableUser[];
|
|
3857
3928
|
/** Custom fields defined for this project */
|
|
3858
3929
|
customFields?: CustomFieldDefinition[];
|
|
3930
|
+
/** Render custom content on the right side of toolbar (before create button) */
|
|
3931
|
+
toolbarRightContent?: ReactNode;
|
|
3859
3932
|
}
|
|
3860
3933
|
/**
|
|
3861
3934
|
* Flattened task with hierarchy info
|
|
@@ -3892,15 +3965,15 @@ declare const CUSTOM_FIELD_TYPES: Array<{
|
|
|
3892
3965
|
/**
|
|
3893
3966
|
* Main ListView Component
|
|
3894
3967
|
*/
|
|
3895
|
-
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, availableUsers, customFields, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
3968
|
+
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, availableUsers, customFields, toolbarRightContent, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
3896
3969
|
|
|
3897
3970
|
/**
|
|
3898
3971
|
* ListView Themes
|
|
3899
|
-
* @version 0.
|
|
3972
|
+
* @version 2.0.0 — Chronos V2.0 visual language
|
|
3900
3973
|
*/
|
|
3901
3974
|
|
|
3902
3975
|
/**
|
|
3903
|
-
* Dark theme for ListView
|
|
3976
|
+
* Dark theme for ListView — Chronos V2.0
|
|
3904
3977
|
*/
|
|
3905
3978
|
declare const darkTheme$3: ListViewTheme;
|
|
3906
3979
|
/**
|
|
@@ -4012,6 +4085,12 @@ interface CalendarTheme {
|
|
|
4012
4085
|
statusInProgress: string;
|
|
4013
4086
|
statusCompleted: string;
|
|
4014
4087
|
focusRing: string;
|
|
4088
|
+
glass: string;
|
|
4089
|
+
glassBorder: string;
|
|
4090
|
+
glassHover: string;
|
|
4091
|
+
neonRed: string;
|
|
4092
|
+
glowBlue: string;
|
|
4093
|
+
glowRed: string;
|
|
4015
4094
|
}
|
|
4016
4095
|
/**
|
|
4017
4096
|
* Permissions for calendar operations
|
|
@@ -4053,6 +4132,8 @@ interface CalendarConfig {
|
|
|
4053
4132
|
enableDragDrop?: boolean;
|
|
4054
4133
|
/** Show task details on hover */
|
|
4055
4134
|
showTooltip?: boolean;
|
|
4135
|
+
/** Show right sidebar with unscheduled/backlog tasks (default: true) */
|
|
4136
|
+
showBacklog?: boolean;
|
|
4056
4137
|
}
|
|
4057
4138
|
/**
|
|
4058
4139
|
* CalendarBoard translations
|
|
@@ -4110,6 +4191,20 @@ interface CalendarTranslations {
|
|
|
4110
4191
|
newTask: string;
|
|
4111
4192
|
viewAll: string;
|
|
4112
4193
|
week: string;
|
|
4194
|
+
backlogTitle: string;
|
|
4195
|
+
systemStatus: string;
|
|
4196
|
+
budgetUtil: string;
|
|
4197
|
+
variance: string;
|
|
4198
|
+
cost: string;
|
|
4199
|
+
estimate: string;
|
|
4200
|
+
sold: string;
|
|
4201
|
+
cashOut: string;
|
|
4202
|
+
typeToAdd: string;
|
|
4203
|
+
critical: string;
|
|
4204
|
+
blocker: string;
|
|
4205
|
+
risk: string;
|
|
4206
|
+
delay: string;
|
|
4207
|
+
days: string;
|
|
4113
4208
|
};
|
|
4114
4209
|
tooltips: {
|
|
4115
4210
|
progress: string;
|
|
@@ -4240,20 +4335,23 @@ interface CalendarBoardProps {
|
|
|
4240
4335
|
onDiscardTimer?: (taskId: string) => void;
|
|
4241
4336
|
/** Blur financial data (tiempo ofertado) for unauthorized users */
|
|
4242
4337
|
blurFinancials?: boolean;
|
|
4338
|
+
/** v2.1.0: Suppress internal TaskDetailModal (consumer provides own drawer) */
|
|
4339
|
+
suppressDetailModal?: boolean;
|
|
4243
4340
|
}
|
|
4244
4341
|
|
|
4245
4342
|
/**
|
|
4246
|
-
* Main CalendarBoard Component
|
|
4343
|
+
* Main CalendarBoard Component — Chronos V2.0
|
|
4247
4344
|
*/
|
|
4248
|
-
declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, attachmentsByTask, comments, onAddComment, currentUser, mentionableUsers, onUploadCommentAttachments, onTaskOpen, enableTimeTracking, timeTrackingSummary, timeEntries, timerState, onLogTime, onUpdateEstimate, onUpdateSoldEffort, onStartTimer, onStopTimer, onDiscardTimer, blurFinancials, }: CalendarBoardProps): react_jsx_runtime.JSX.Element;
|
|
4345
|
+
declare function CalendarBoard({ tasks, config, callbacks, initialDate, isLoading, error, className, style, availableTags, onCreateTag, attachmentsByTask, comments, onAddComment, currentUser, mentionableUsers, onUploadCommentAttachments, onTaskOpen, enableTimeTracking, timeTrackingSummary, timeEntries, timerState, onLogTime, onUpdateEstimate, onUpdateSoldEffort, onStartTimer, onStopTimer, onDiscardTimer, blurFinancials, suppressDetailModal, }: CalendarBoardProps): react_jsx_runtime.JSX.Element;
|
|
4249
4346
|
|
|
4250
4347
|
/**
|
|
4251
|
-
* CalendarBoard Themes
|
|
4252
|
-
* @version 0.
|
|
4348
|
+
* CalendarBoard Themes — Chronos V2.0
|
|
4349
|
+
* @version 2.0.0
|
|
4253
4350
|
*/
|
|
4254
4351
|
|
|
4255
4352
|
/**
|
|
4256
|
-
* Dark theme
|
|
4353
|
+
* Dark theme — Chronos V2.0 Design Language
|
|
4354
|
+
* Ultra-dark (#050505) with #222 grid borders, glass elements, and neon accents
|
|
4257
4355
|
*/
|
|
4258
4356
|
declare const darkTheme$2: CalendarTheme;
|
|
4259
4357
|
/**
|
|
@@ -6427,4 +6525,4 @@ declare const themes: Record<ThemeName, Theme>;
|
|
|
6427
6525
|
*/
|
|
6428
6526
|
declare const defaultTheme: ThemeName;
|
|
6429
6527
|
|
|
6430
|
-
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, CalendarBoard, type CalendarBoardProps, type CalendarCallbacks, type CalendarConfig, type CalendarDay, type CalendarEvent, type CalendarPermissions, type CalendarSupportedLocale, type CalendarTheme, type CalendarThemeName, type CalendarTranslations, type CalendarViewMode, Card, CardDetailModal, type CardDetailModalProps, CardDetailModalV2, type CardDetailModalV2Props, 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, 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, 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 OpacityToken, type PendingFile, type PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, ProfitabilityReport, type ProfitabilityReportProps, RATE_LIMITS, type RenderProps, 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 WeekDay, type ZIndexToken, aiUsageTracker, borderRadius, calculatePosition, darkTheme$2 as calendarDarkTheme, en as calendarEnTranslations, es as calendarEsTranslations, lightTheme$2 as calendarLightTheme, neutralTheme$2 as calendarNeutralTheme, calendarThemes, calendarTranslations, cardToGanttTask, cardsToGanttTasks, cn, createKanbanView, createRetryWrapper, darkTheme, darkTheme$1 as darkTokenTheme, defaultTheme, designTokens, duration, easing, exportTokensToCSS, findTaskByName, fontSize, fontWeight, formatCost, en$2 as ganttEnTranslations, es$2 as ganttEsTranslations, ganttTaskToCardUpdate, themes$1 as ganttThemes, gantt as ganttTokens, translations as ganttTranslations, ganttUtils, generateCSSVariables, generateCompleteCSS, generateInitialPositions, generateTasksContext, generateThemeVariables, getCalendarTheme, getCalendarTranslations, getListViewTheme, getListViewTranslations, getMonthNames, getToken, getTranslations, getWeekdayNames, kanban as kanbanTokens, lightTheme, lightTheme$1 as lightTokenTheme, lineHeight, darkTheme$3 as listViewDarkTheme, en$1 as listViewEnTranslations, es$1 as listViewEsTranslations, lightTheme$3 as listViewLightTheme, neutralTheme$3 as listViewNeutralTheme, listViewThemes, listViewTranslations, mergeCalendarTranslations, mergeListViewTranslations, mergeTranslations, neutralTheme, neutralTheme$1 as neutralTokenTheme, opacity, parseLocalCommand, parseNaturalDate, parseNaturalDuration, parseProgress, parseStatus, pluginManager, retrySyncOperation, retryWithBackoff, shadows, shouldVirtualizeGrid, 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 };
|
|
6528
|
+
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, CalendarBoard, type CalendarBoardProps, type CalendarCallbacks, type CalendarConfig, type CalendarDay, type CalendarEvent, type CalendarPermissions, type CalendarSupportedLocale, type CalendarTheme, type CalendarThemeName, type CalendarTranslations, type CalendarViewMode, Card, CardDetailModal, type CardDetailModalProps, CardDetailModalV2, type CardDetailModalV2Props, 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, 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, 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 OpacityToken, type PendingFile, type PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, ProfitabilityReport, type ProfitabilityReportProps, type ProjectHealthData, RATE_LIMITS, type RenderProps, 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 WeekDay, type ZIndexToken, aiUsageTracker, borderRadius, calculatePosition, darkTheme$2 as calendarDarkTheme, en as calendarEnTranslations, es as calendarEsTranslations, lightTheme$2 as calendarLightTheme, neutralTheme$2 as calendarNeutralTheme, calendarThemes, calendarTranslations, cardToGanttTask, cardsToGanttTasks, cn, createKanbanView, createRetryWrapper, darkTheme, darkTheme$1 as darkTokenTheme, defaultTheme, designTokens, duration, easing, exportTokensToCSS, findTaskByName, fontSize, fontWeight, formatCost, en$2 as ganttEnTranslations, es$2 as ganttEsTranslations, ganttTaskToCardUpdate, themes$1 as ganttThemes, gantt as ganttTokens, translations as ganttTranslations, ganttUtils, generateCSSVariables, generateCompleteCSS, generateInitialPositions, generateTasksContext, generateThemeVariables, getCalendarTheme, getCalendarTranslations, getListViewTheme, getListViewTranslations, getMonthNames, getToken, getTranslations, getWeekdayNames, kanban as kanbanTokens, lightTheme, lightTheme$1 as lightTokenTheme, lineHeight, darkTheme$3 as listViewDarkTheme, en$1 as listViewEnTranslations, es$1 as listViewEsTranslations, lightTheme$3 as listViewLightTheme, neutralTheme$3 as listViewNeutralTheme, listViewThemes, listViewTranslations, mergeCalendarTranslations, mergeListViewTranslations, mergeTranslations, neutralTheme, neutralTheme$1 as neutralTokenTheme, opacity, parseLocalCommand, parseNaturalDate, parseNaturalDuration, parseProgress, parseStatus, pluginManager, retrySyncOperation, retryWithBackoff, shadows, shouldVirtualizeGrid, 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 };
|