@libxai/board 0.17.404 → 0.17.406
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 +62 -62
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +140 -10
- package/dist/index.d.ts +140 -10
- package/dist/index.js +62 -62
- package/dist/index.js.map +1 -1
- package/dist/styles.css +166 -20
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -51,9 +51,9 @@ type Theme$1 = 'dark' | 'light' | 'neutral';
|
|
|
51
51
|
type RowDensity = 'compact' | 'comfortable' | 'spacious';
|
|
52
52
|
type DependencyLineStyle = 'curved' | 'squared';
|
|
53
53
|
type TaskFilterType = 'all' | 'incomplete' | 'in_progress' | 'completed';
|
|
54
|
-
type ColumnType = 'name' | 'startDate' | 'endDate' | 'duration' | 'assignees' | 'status' | 'progress' | 'priority';
|
|
54
|
+
type ColumnType$1 = 'name' | 'startDate' | 'endDate' | 'duration' | 'assignees' | 'status' | 'progress' | 'priority';
|
|
55
55
|
interface GanttColumn {
|
|
56
|
-
id: ColumnType;
|
|
56
|
+
id: ColumnType$1;
|
|
57
57
|
label: string;
|
|
58
58
|
width: number;
|
|
59
59
|
minWidth?: number;
|
|
@@ -121,7 +121,7 @@ interface GanttTemplates {
|
|
|
121
121
|
* @param value - Default cell value
|
|
122
122
|
* @returns Cell content (string or JSX)
|
|
123
123
|
*/
|
|
124
|
-
gridCell?: (task: Task, column: ColumnType, value: any) => string | React.ReactNode;
|
|
124
|
+
gridCell?: (task: Task, column: ColumnType$1, value: any) => string | React.ReactNode;
|
|
125
125
|
/**
|
|
126
126
|
* Add custom CSS classes to task bar
|
|
127
127
|
* @param task - The task to style
|
|
@@ -2256,8 +2256,8 @@ interface TaskGridProps {
|
|
|
2256
2256
|
onTaskToggle?: (taskId: string) => void;
|
|
2257
2257
|
scrollTop: number;
|
|
2258
2258
|
columns: GanttColumn[];
|
|
2259
|
-
onToggleColumn: (columnType: ColumnType) => void;
|
|
2260
|
-
onColumnResize?: (columnId: ColumnType, newWidth: number) => void;
|
|
2259
|
+
onToggleColumn: (columnType: ColumnType$1) => void;
|
|
2260
|
+
onColumnResize?: (columnId: ColumnType$1, newWidth: number) => void;
|
|
2261
2261
|
onTaskUpdate?: (taskId: string, updates: Partial<Task>) => void;
|
|
2262
2262
|
onTaskIndent?: (taskIds: string[]) => void;
|
|
2263
2263
|
onTaskOutdent?: (taskIds: string[]) => void;
|
|
@@ -2380,7 +2380,7 @@ declare function Milestone({ task, x, y, theme, onClick }: MilestoneProps): reac
|
|
|
2380
2380
|
|
|
2381
2381
|
interface ColumnManagerProps {
|
|
2382
2382
|
columns: GanttColumn[];
|
|
2383
|
-
onToggleColumn: (columnId: ColumnType) => void;
|
|
2383
|
+
onToggleColumn: (columnId: ColumnType$1) => void;
|
|
2384
2384
|
theme: any;
|
|
2385
2385
|
}
|
|
2386
2386
|
declare function ColumnManager({ columns, onToggleColumn, theme }: ColumnManagerProps): react_jsx_runtime.JSX.Element;
|
|
@@ -3093,15 +3093,92 @@ declare function useGanttI18n(): GanttTranslations;
|
|
|
3093
3093
|
|
|
3094
3094
|
/**
|
|
3095
3095
|
* ListView Component Types
|
|
3096
|
-
* @version 0.
|
|
3096
|
+
* @version 0.18.0
|
|
3097
|
+
*
|
|
3098
|
+
* v0.18.0: Added dynamic columns, custom fields, context menu support
|
|
3097
3099
|
*/
|
|
3098
3100
|
|
|
3099
3101
|
/**
|
|
3100
3102
|
* Sort direction for list columns
|
|
3101
3103
|
*/
|
|
3102
3104
|
type SortDirection = 'asc' | 'desc';
|
|
3105
|
+
/**
|
|
3106
|
+
* Column types supported in ListView
|
|
3107
|
+
* - Standard: name, status, priority, assignees, startDate, endDate, progress, tags
|
|
3108
|
+
* - Custom: text, number, date, dropdown, checkbox
|
|
3109
|
+
*/
|
|
3110
|
+
type ColumnType = 'name' | 'status' | 'priority' | 'assignees' | 'startDate' | 'endDate' | 'progress' | 'tags' | 'text' | 'number' | 'date' | 'dropdown' | 'checkbox';
|
|
3111
|
+
/**
|
|
3112
|
+
* Table column configuration for dynamic columns
|
|
3113
|
+
*/
|
|
3114
|
+
interface TableColumn {
|
|
3115
|
+
/** Unique column identifier */
|
|
3116
|
+
id: string;
|
|
3117
|
+
/** Column type */
|
|
3118
|
+
type: ColumnType;
|
|
3119
|
+
/** Display label */
|
|
3120
|
+
label: string;
|
|
3121
|
+
/** Column width in pixels */
|
|
3122
|
+
width: number;
|
|
3123
|
+
/** Minimum width */
|
|
3124
|
+
minWidth?: number;
|
|
3125
|
+
/** Maximum width */
|
|
3126
|
+
maxWidth?: number;
|
|
3127
|
+
/** Is column visible */
|
|
3128
|
+
visible: boolean;
|
|
3129
|
+
/** Can be sorted */
|
|
3130
|
+
sortable?: boolean;
|
|
3131
|
+
/** Can be resized */
|
|
3132
|
+
resizable?: boolean;
|
|
3133
|
+
/** For custom fields - reference to field definition */
|
|
3134
|
+
customFieldId?: string;
|
|
3135
|
+
/** For dropdown type - available options */
|
|
3136
|
+
options?: string[];
|
|
3137
|
+
}
|
|
3138
|
+
/**
|
|
3139
|
+
* Custom field definition for user-created fields
|
|
3140
|
+
*/
|
|
3141
|
+
interface CustomFieldDefinition {
|
|
3142
|
+
/** Unique field ID */
|
|
3143
|
+
id: string;
|
|
3144
|
+
/** Field display name */
|
|
3145
|
+
name: string;
|
|
3146
|
+
/** Field type */
|
|
3147
|
+
type: 'text' | 'number' | 'date' | 'dropdown' | 'checkbox';
|
|
3148
|
+
/** Options for dropdown type */
|
|
3149
|
+
options?: string[];
|
|
3150
|
+
/** Default value */
|
|
3151
|
+
defaultValue?: string | number | boolean | Date;
|
|
3152
|
+
/** Is field required */
|
|
3153
|
+
required?: boolean;
|
|
3154
|
+
/** Project this field belongs to */
|
|
3155
|
+
projectId?: string;
|
|
3156
|
+
}
|
|
3157
|
+
/**
|
|
3158
|
+
* Custom field value stored on task
|
|
3159
|
+
*/
|
|
3160
|
+
interface CustomFieldValue {
|
|
3161
|
+
fieldId: string;
|
|
3162
|
+
value: string | number | boolean | Date | null;
|
|
3163
|
+
}
|
|
3164
|
+
/**
|
|
3165
|
+
* Context menu action types
|
|
3166
|
+
*/
|
|
3167
|
+
type ContextMenuAction = 'edit' | 'changeStatus' | 'changePriority' | 'assignUser' | 'duplicate' | 'delete' | 'sortAsc' | 'sortDesc' | 'hideColumn' | 'moveLeft' | 'moveRight';
|
|
3168
|
+
/**
|
|
3169
|
+
* Context menu state
|
|
3170
|
+
*/
|
|
3171
|
+
interface ContextMenuState {
|
|
3172
|
+
isOpen: boolean;
|
|
3173
|
+
x: number;
|
|
3174
|
+
y: number;
|
|
3175
|
+
type: 'task' | 'header';
|
|
3176
|
+
task?: Task;
|
|
3177
|
+
columnId?: string;
|
|
3178
|
+
}
|
|
3103
3179
|
/**
|
|
3104
3180
|
* Sortable columns in the list view
|
|
3181
|
+
* @deprecated Use ColumnType instead
|
|
3105
3182
|
*/
|
|
3106
3183
|
type ListSortColumn = 'name' | 'startDate' | 'endDate' | 'progress' | 'status' | 'assignees' | 'priority';
|
|
3107
3184
|
/**
|
|
@@ -3194,7 +3271,7 @@ interface ListViewConfig {
|
|
|
3194
3271
|
showFilters?: boolean;
|
|
3195
3272
|
/** Show hierarchy indentation */
|
|
3196
3273
|
showHierarchy?: boolean;
|
|
3197
|
-
/** Columns to display */
|
|
3274
|
+
/** Columns to display (legacy) */
|
|
3198
3275
|
columns?: ListColumn[];
|
|
3199
3276
|
/** Row height in pixels */
|
|
3200
3277
|
rowHeight?: number;
|
|
@@ -3206,6 +3283,14 @@ interface ListViewConfig {
|
|
|
3206
3283
|
enableVirtualization?: boolean;
|
|
3207
3284
|
/** Items per page (0 = no pagination) */
|
|
3208
3285
|
pageSize?: number;
|
|
3286
|
+
/** Dynamic table columns configuration */
|
|
3287
|
+
tableColumns?: TableColumn[];
|
|
3288
|
+
/** Allow user to add/remove/reorder columns via "+" button */
|
|
3289
|
+
allowColumnCustomization?: boolean;
|
|
3290
|
+
/** Allow user to resize columns by dragging */
|
|
3291
|
+
allowColumnResize?: boolean;
|
|
3292
|
+
/** Enable context menu on right-click */
|
|
3293
|
+
enableContextMenu?: boolean;
|
|
3209
3294
|
}
|
|
3210
3295
|
/**
|
|
3211
3296
|
* ListView translations
|
|
@@ -3294,6 +3379,24 @@ interface ListViewCallbacks {
|
|
|
3294
3379
|
onTaskToggleExpand?: (taskId: string) => void;
|
|
3295
3380
|
/** Export handler */
|
|
3296
3381
|
onExport?: (format: 'csv' | 'json' | 'excel') => void;
|
|
3382
|
+
/** Columns configuration changed (visibility, order, width) */
|
|
3383
|
+
onColumnsChange?: (columns: TableColumn[]) => void;
|
|
3384
|
+
/** Task edit requested (from context menu) */
|
|
3385
|
+
onTaskEdit?: (task: Task) => void;
|
|
3386
|
+
/** Task duplicate requested (from context menu) */
|
|
3387
|
+
onTaskDuplicate?: (task: Task) => void;
|
|
3388
|
+
/** Create custom field */
|
|
3389
|
+
onCreateCustomField?: (field: CustomFieldDefinition) => Promise<void>;
|
|
3390
|
+
}
|
|
3391
|
+
/**
|
|
3392
|
+
* Available user for assignment
|
|
3393
|
+
*/
|
|
3394
|
+
interface AvailableUser {
|
|
3395
|
+
id: string;
|
|
3396
|
+
name: string;
|
|
3397
|
+
email?: string;
|
|
3398
|
+
avatarUrl?: string;
|
|
3399
|
+
color?: string;
|
|
3297
3400
|
}
|
|
3298
3401
|
/**
|
|
3299
3402
|
* Main ListView props
|
|
@@ -3313,6 +3416,10 @@ interface ListViewProps {
|
|
|
3313
3416
|
className?: string;
|
|
3314
3417
|
/** Inline styles */
|
|
3315
3418
|
style?: React.CSSProperties;
|
|
3419
|
+
/** Available users for assignment in context menu */
|
|
3420
|
+
availableUsers?: AvailableUser[];
|
|
3421
|
+
/** Custom fields defined for this project */
|
|
3422
|
+
customFields?: CustomFieldDefinition[];
|
|
3316
3423
|
}
|
|
3317
3424
|
/**
|
|
3318
3425
|
* Flattened task with hierarchy info
|
|
@@ -3322,11 +3429,34 @@ interface FlattenedTask extends Task {
|
|
|
3322
3429
|
hasChildren: boolean;
|
|
3323
3430
|
parentPath: string[];
|
|
3324
3431
|
}
|
|
3432
|
+
/**
|
|
3433
|
+
* Default columns configuration
|
|
3434
|
+
* Used when no tableColumns are provided
|
|
3435
|
+
*/
|
|
3436
|
+
declare const DEFAULT_TABLE_COLUMNS: TableColumn[];
|
|
3437
|
+
/**
|
|
3438
|
+
* Standard field definitions (non-custom)
|
|
3439
|
+
* Used in column selector to show available fields
|
|
3440
|
+
*/
|
|
3441
|
+
declare const STANDARD_FIELDS: Array<{
|
|
3442
|
+
type: ColumnType;
|
|
3443
|
+
labelKey: string;
|
|
3444
|
+
icon: string;
|
|
3445
|
+
}>;
|
|
3446
|
+
/**
|
|
3447
|
+
* Custom field type definitions
|
|
3448
|
+
* Used in "Create Field" modal
|
|
3449
|
+
*/
|
|
3450
|
+
declare const CUSTOM_FIELD_TYPES: Array<{
|
|
3451
|
+
type: CustomFieldDefinition['type'];
|
|
3452
|
+
labelKey: string;
|
|
3453
|
+
icon: string;
|
|
3454
|
+
}>;
|
|
3325
3455
|
|
|
3326
3456
|
/**
|
|
3327
3457
|
* Main ListView Component
|
|
3328
3458
|
*/
|
|
3329
|
-
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
3459
|
+
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, availableUsers, customFields, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
3330
3460
|
|
|
3331
3461
|
/**
|
|
3332
3462
|
* ListView Themes
|
|
@@ -5824,4 +5954,4 @@ declare const themes: Record<ThemeName, Theme>;
|
|
|
5824
5954
|
*/
|
|
5825
5955
|
declare const defaultTheme: ThemeName;
|
|
5826
5956
|
|
|
5827
|
-
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 Board, type BoardCallbacks, type BoardConfig, BoardProvider, type BoardProviderProps, type BorderRadiusToken, BulkOperationsToolbar, type BulkOperationsToolbarProps, BurnDownChart, type BurnDownChartProps, type BurnDownDataPoint, 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 Card$1 as CardType, CircuitBreaker, Column, ColumnManager, type ColumnProps, type Column$1 as ColumnType, CommandPalette, type CommandPaletteProps, type Comment, ConfigMenu, type ConfigMenuProps, ContextMenu, DEFAULT_SHORTCUTS, 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 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, 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 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 PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, RATE_LIMITS, type RenderProps, type RetryOptions, type RetryResult, 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, TagBadge, TagList, TagPicker, TaskBar, 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 TimeScale, Timeline, 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 };
|
|
5957
|
+
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 Card$1 as CardType, CircuitBreaker, Column, ColumnManager, type ColumnProps, type Column$1 as ColumnType, CommandPalette, type CommandPaletteProps, type Comment, 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, 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 PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, 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, 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 TimeScale, Timeline, 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
|
@@ -51,9 +51,9 @@ type Theme$1 = 'dark' | 'light' | 'neutral';
|
|
|
51
51
|
type RowDensity = 'compact' | 'comfortable' | 'spacious';
|
|
52
52
|
type DependencyLineStyle = 'curved' | 'squared';
|
|
53
53
|
type TaskFilterType = 'all' | 'incomplete' | 'in_progress' | 'completed';
|
|
54
|
-
type ColumnType = 'name' | 'startDate' | 'endDate' | 'duration' | 'assignees' | 'status' | 'progress' | 'priority';
|
|
54
|
+
type ColumnType$1 = 'name' | 'startDate' | 'endDate' | 'duration' | 'assignees' | 'status' | 'progress' | 'priority';
|
|
55
55
|
interface GanttColumn {
|
|
56
|
-
id: ColumnType;
|
|
56
|
+
id: ColumnType$1;
|
|
57
57
|
label: string;
|
|
58
58
|
width: number;
|
|
59
59
|
minWidth?: number;
|
|
@@ -121,7 +121,7 @@ interface GanttTemplates {
|
|
|
121
121
|
* @param value - Default cell value
|
|
122
122
|
* @returns Cell content (string or JSX)
|
|
123
123
|
*/
|
|
124
|
-
gridCell?: (task: Task, column: ColumnType, value: any) => string | React.ReactNode;
|
|
124
|
+
gridCell?: (task: Task, column: ColumnType$1, value: any) => string | React.ReactNode;
|
|
125
125
|
/**
|
|
126
126
|
* Add custom CSS classes to task bar
|
|
127
127
|
* @param task - The task to style
|
|
@@ -2256,8 +2256,8 @@ interface TaskGridProps {
|
|
|
2256
2256
|
onTaskToggle?: (taskId: string) => void;
|
|
2257
2257
|
scrollTop: number;
|
|
2258
2258
|
columns: GanttColumn[];
|
|
2259
|
-
onToggleColumn: (columnType: ColumnType) => void;
|
|
2260
|
-
onColumnResize?: (columnId: ColumnType, newWidth: number) => void;
|
|
2259
|
+
onToggleColumn: (columnType: ColumnType$1) => void;
|
|
2260
|
+
onColumnResize?: (columnId: ColumnType$1, newWidth: number) => void;
|
|
2261
2261
|
onTaskUpdate?: (taskId: string, updates: Partial<Task>) => void;
|
|
2262
2262
|
onTaskIndent?: (taskIds: string[]) => void;
|
|
2263
2263
|
onTaskOutdent?: (taskIds: string[]) => void;
|
|
@@ -2380,7 +2380,7 @@ declare function Milestone({ task, x, y, theme, onClick }: MilestoneProps): reac
|
|
|
2380
2380
|
|
|
2381
2381
|
interface ColumnManagerProps {
|
|
2382
2382
|
columns: GanttColumn[];
|
|
2383
|
-
onToggleColumn: (columnId: ColumnType) => void;
|
|
2383
|
+
onToggleColumn: (columnId: ColumnType$1) => void;
|
|
2384
2384
|
theme: any;
|
|
2385
2385
|
}
|
|
2386
2386
|
declare function ColumnManager({ columns, onToggleColumn, theme }: ColumnManagerProps): react_jsx_runtime.JSX.Element;
|
|
@@ -3093,15 +3093,92 @@ declare function useGanttI18n(): GanttTranslations;
|
|
|
3093
3093
|
|
|
3094
3094
|
/**
|
|
3095
3095
|
* ListView Component Types
|
|
3096
|
-
* @version 0.
|
|
3096
|
+
* @version 0.18.0
|
|
3097
|
+
*
|
|
3098
|
+
* v0.18.0: Added dynamic columns, custom fields, context menu support
|
|
3097
3099
|
*/
|
|
3098
3100
|
|
|
3099
3101
|
/**
|
|
3100
3102
|
* Sort direction for list columns
|
|
3101
3103
|
*/
|
|
3102
3104
|
type SortDirection = 'asc' | 'desc';
|
|
3105
|
+
/**
|
|
3106
|
+
* Column types supported in ListView
|
|
3107
|
+
* - Standard: name, status, priority, assignees, startDate, endDate, progress, tags
|
|
3108
|
+
* - Custom: text, number, date, dropdown, checkbox
|
|
3109
|
+
*/
|
|
3110
|
+
type ColumnType = 'name' | 'status' | 'priority' | 'assignees' | 'startDate' | 'endDate' | 'progress' | 'tags' | 'text' | 'number' | 'date' | 'dropdown' | 'checkbox';
|
|
3111
|
+
/**
|
|
3112
|
+
* Table column configuration for dynamic columns
|
|
3113
|
+
*/
|
|
3114
|
+
interface TableColumn {
|
|
3115
|
+
/** Unique column identifier */
|
|
3116
|
+
id: string;
|
|
3117
|
+
/** Column type */
|
|
3118
|
+
type: ColumnType;
|
|
3119
|
+
/** Display label */
|
|
3120
|
+
label: string;
|
|
3121
|
+
/** Column width in pixels */
|
|
3122
|
+
width: number;
|
|
3123
|
+
/** Minimum width */
|
|
3124
|
+
minWidth?: number;
|
|
3125
|
+
/** Maximum width */
|
|
3126
|
+
maxWidth?: number;
|
|
3127
|
+
/** Is column visible */
|
|
3128
|
+
visible: boolean;
|
|
3129
|
+
/** Can be sorted */
|
|
3130
|
+
sortable?: boolean;
|
|
3131
|
+
/** Can be resized */
|
|
3132
|
+
resizable?: boolean;
|
|
3133
|
+
/** For custom fields - reference to field definition */
|
|
3134
|
+
customFieldId?: string;
|
|
3135
|
+
/** For dropdown type - available options */
|
|
3136
|
+
options?: string[];
|
|
3137
|
+
}
|
|
3138
|
+
/**
|
|
3139
|
+
* Custom field definition for user-created fields
|
|
3140
|
+
*/
|
|
3141
|
+
interface CustomFieldDefinition {
|
|
3142
|
+
/** Unique field ID */
|
|
3143
|
+
id: string;
|
|
3144
|
+
/** Field display name */
|
|
3145
|
+
name: string;
|
|
3146
|
+
/** Field type */
|
|
3147
|
+
type: 'text' | 'number' | 'date' | 'dropdown' | 'checkbox';
|
|
3148
|
+
/** Options for dropdown type */
|
|
3149
|
+
options?: string[];
|
|
3150
|
+
/** Default value */
|
|
3151
|
+
defaultValue?: string | number | boolean | Date;
|
|
3152
|
+
/** Is field required */
|
|
3153
|
+
required?: boolean;
|
|
3154
|
+
/** Project this field belongs to */
|
|
3155
|
+
projectId?: string;
|
|
3156
|
+
}
|
|
3157
|
+
/**
|
|
3158
|
+
* Custom field value stored on task
|
|
3159
|
+
*/
|
|
3160
|
+
interface CustomFieldValue {
|
|
3161
|
+
fieldId: string;
|
|
3162
|
+
value: string | number | boolean | Date | null;
|
|
3163
|
+
}
|
|
3164
|
+
/**
|
|
3165
|
+
* Context menu action types
|
|
3166
|
+
*/
|
|
3167
|
+
type ContextMenuAction = 'edit' | 'changeStatus' | 'changePriority' | 'assignUser' | 'duplicate' | 'delete' | 'sortAsc' | 'sortDesc' | 'hideColumn' | 'moveLeft' | 'moveRight';
|
|
3168
|
+
/**
|
|
3169
|
+
* Context menu state
|
|
3170
|
+
*/
|
|
3171
|
+
interface ContextMenuState {
|
|
3172
|
+
isOpen: boolean;
|
|
3173
|
+
x: number;
|
|
3174
|
+
y: number;
|
|
3175
|
+
type: 'task' | 'header';
|
|
3176
|
+
task?: Task;
|
|
3177
|
+
columnId?: string;
|
|
3178
|
+
}
|
|
3103
3179
|
/**
|
|
3104
3180
|
* Sortable columns in the list view
|
|
3181
|
+
* @deprecated Use ColumnType instead
|
|
3105
3182
|
*/
|
|
3106
3183
|
type ListSortColumn = 'name' | 'startDate' | 'endDate' | 'progress' | 'status' | 'assignees' | 'priority';
|
|
3107
3184
|
/**
|
|
@@ -3194,7 +3271,7 @@ interface ListViewConfig {
|
|
|
3194
3271
|
showFilters?: boolean;
|
|
3195
3272
|
/** Show hierarchy indentation */
|
|
3196
3273
|
showHierarchy?: boolean;
|
|
3197
|
-
/** Columns to display */
|
|
3274
|
+
/** Columns to display (legacy) */
|
|
3198
3275
|
columns?: ListColumn[];
|
|
3199
3276
|
/** Row height in pixels */
|
|
3200
3277
|
rowHeight?: number;
|
|
@@ -3206,6 +3283,14 @@ interface ListViewConfig {
|
|
|
3206
3283
|
enableVirtualization?: boolean;
|
|
3207
3284
|
/** Items per page (0 = no pagination) */
|
|
3208
3285
|
pageSize?: number;
|
|
3286
|
+
/** Dynamic table columns configuration */
|
|
3287
|
+
tableColumns?: TableColumn[];
|
|
3288
|
+
/** Allow user to add/remove/reorder columns via "+" button */
|
|
3289
|
+
allowColumnCustomization?: boolean;
|
|
3290
|
+
/** Allow user to resize columns by dragging */
|
|
3291
|
+
allowColumnResize?: boolean;
|
|
3292
|
+
/** Enable context menu on right-click */
|
|
3293
|
+
enableContextMenu?: boolean;
|
|
3209
3294
|
}
|
|
3210
3295
|
/**
|
|
3211
3296
|
* ListView translations
|
|
@@ -3294,6 +3379,24 @@ interface ListViewCallbacks {
|
|
|
3294
3379
|
onTaskToggleExpand?: (taskId: string) => void;
|
|
3295
3380
|
/** Export handler */
|
|
3296
3381
|
onExport?: (format: 'csv' | 'json' | 'excel') => void;
|
|
3382
|
+
/** Columns configuration changed (visibility, order, width) */
|
|
3383
|
+
onColumnsChange?: (columns: TableColumn[]) => void;
|
|
3384
|
+
/** Task edit requested (from context menu) */
|
|
3385
|
+
onTaskEdit?: (task: Task) => void;
|
|
3386
|
+
/** Task duplicate requested (from context menu) */
|
|
3387
|
+
onTaskDuplicate?: (task: Task) => void;
|
|
3388
|
+
/** Create custom field */
|
|
3389
|
+
onCreateCustomField?: (field: CustomFieldDefinition) => Promise<void>;
|
|
3390
|
+
}
|
|
3391
|
+
/**
|
|
3392
|
+
* Available user for assignment
|
|
3393
|
+
*/
|
|
3394
|
+
interface AvailableUser {
|
|
3395
|
+
id: string;
|
|
3396
|
+
name: string;
|
|
3397
|
+
email?: string;
|
|
3398
|
+
avatarUrl?: string;
|
|
3399
|
+
color?: string;
|
|
3297
3400
|
}
|
|
3298
3401
|
/**
|
|
3299
3402
|
* Main ListView props
|
|
@@ -3313,6 +3416,10 @@ interface ListViewProps {
|
|
|
3313
3416
|
className?: string;
|
|
3314
3417
|
/** Inline styles */
|
|
3315
3418
|
style?: React.CSSProperties;
|
|
3419
|
+
/** Available users for assignment in context menu */
|
|
3420
|
+
availableUsers?: AvailableUser[];
|
|
3421
|
+
/** Custom fields defined for this project */
|
|
3422
|
+
customFields?: CustomFieldDefinition[];
|
|
3316
3423
|
}
|
|
3317
3424
|
/**
|
|
3318
3425
|
* Flattened task with hierarchy info
|
|
@@ -3322,11 +3429,34 @@ interface FlattenedTask extends Task {
|
|
|
3322
3429
|
hasChildren: boolean;
|
|
3323
3430
|
parentPath: string[];
|
|
3324
3431
|
}
|
|
3432
|
+
/**
|
|
3433
|
+
* Default columns configuration
|
|
3434
|
+
* Used when no tableColumns are provided
|
|
3435
|
+
*/
|
|
3436
|
+
declare const DEFAULT_TABLE_COLUMNS: TableColumn[];
|
|
3437
|
+
/**
|
|
3438
|
+
* Standard field definitions (non-custom)
|
|
3439
|
+
* Used in column selector to show available fields
|
|
3440
|
+
*/
|
|
3441
|
+
declare const STANDARD_FIELDS: Array<{
|
|
3442
|
+
type: ColumnType;
|
|
3443
|
+
labelKey: string;
|
|
3444
|
+
icon: string;
|
|
3445
|
+
}>;
|
|
3446
|
+
/**
|
|
3447
|
+
* Custom field type definitions
|
|
3448
|
+
* Used in "Create Field" modal
|
|
3449
|
+
*/
|
|
3450
|
+
declare const CUSTOM_FIELD_TYPES: Array<{
|
|
3451
|
+
type: CustomFieldDefinition['type'];
|
|
3452
|
+
labelKey: string;
|
|
3453
|
+
icon: string;
|
|
3454
|
+
}>;
|
|
3325
3455
|
|
|
3326
3456
|
/**
|
|
3327
3457
|
* Main ListView Component
|
|
3328
3458
|
*/
|
|
3329
|
-
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
3459
|
+
declare function ListView({ tasks, config, callbacks, isLoading, error, className, style, availableUsers, customFields, }: ListViewProps): react_jsx_runtime.JSX.Element;
|
|
3330
3460
|
|
|
3331
3461
|
/**
|
|
3332
3462
|
* ListView Themes
|
|
@@ -5824,4 +5954,4 @@ declare const themes: Record<ThemeName, Theme>;
|
|
|
5824
5954
|
*/
|
|
5825
5955
|
declare const defaultTheme: ThemeName;
|
|
5826
5956
|
|
|
5827
|
-
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 Board, type BoardCallbacks, type BoardConfig, BoardProvider, type BoardProviderProps, type BorderRadiusToken, BulkOperationsToolbar, type BulkOperationsToolbarProps, BurnDownChart, type BurnDownChartProps, type BurnDownDataPoint, 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 Card$1 as CardType, CircuitBreaker, Column, ColumnManager, type ColumnProps, type Column$1 as ColumnType, CommandPalette, type CommandPaletteProps, type Comment, ConfigMenu, type ConfigMenuProps, ContextMenu, DEFAULT_SHORTCUTS, 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 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, 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 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 PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, RATE_LIMITS, type RenderProps, type RetryOptions, type RetryResult, 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, TagBadge, TagList, TagPicker, TaskBar, 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 TimeScale, Timeline, 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 };
|
|
5957
|
+
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 Card$1 as CardType, CircuitBreaker, Column, ColumnManager, type ColumnProps, type Column$1 as ColumnType, CommandPalette, type CommandPaletteProps, type Comment, 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, 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 PersistHistoryConfig, type Plugin, type PluginContext, type PluginHooks, PluginManager, type Priority, PrioritySelector, type PrioritySelectorProps, 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, 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 TimeScale, Timeline, 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 };
|