@j3m-quantum/ui 2.1.9 → 2.1.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -2581,6 +2581,276 @@ declare function getPhaseColor(phaseId: string, customColor?: string): string;
2581
2581
  */
2582
2582
  declare function PhaseGantt({ phases, packages, range, zoom, onPackageClick, className, defaultExpandedPhases, }: PhaseGanttProps): react_jsx_runtime.JSX.Element;
2583
2583
 
2584
+ /**
2585
+ * Todo Board Types
2586
+ *
2587
+ * ClickUp-like package-based task system with subtasks,
2588
+ * dependencies, and automatic workflow progression.
2589
+ */
2590
+ type SubtaskStatus = "todo" | "in_progress" | "done" | "blocked";
2591
+ type SubtaskType = "calculation" | "review" | "upload" | "approval" | "documentation" | "custom";
2592
+ interface Subtask {
2593
+ id: string;
2594
+ packageId: string;
2595
+ type: SubtaskType;
2596
+ title: string;
2597
+ description?: string;
2598
+ status: SubtaskStatus;
2599
+ /** Order within the package (for determining next action) */
2600
+ order: number;
2601
+ /** IDs of subtasks that must be done before this one is unlocked */
2602
+ dependsOn: string[];
2603
+ /** Assignee information */
2604
+ assignee?: {
2605
+ id: string;
2606
+ name: string;
2607
+ avatar?: string;
2608
+ initials: string;
2609
+ };
2610
+ /** When was this subtask completed */
2611
+ completedAt?: Date;
2612
+ /** Estimated duration in minutes */
2613
+ estimatedMinutes?: number;
2614
+ }
2615
+ type PackageStatus = "not_started" | "in_progress" | "waiting" | "ready" | "done";
2616
+ type PackageBucket = "next" | "in_progress" | "completed";
2617
+ type PackagePriority = "low" | "medium" | "high" | "urgent";
2618
+ interface Package {
2619
+ id: string;
2620
+ name: string;
2621
+ description?: string;
2622
+ /** Project or module this package belongs to */
2623
+ project: string;
2624
+ priority: PackagePriority;
2625
+ subtasks: Subtask[];
2626
+ /** Due date for the entire package */
2627
+ dueDate?: Date;
2628
+ /** Tags for categorization */
2629
+ tags?: string[];
2630
+ /** Created timestamp */
2631
+ createdAt: Date;
2632
+ /** Last updated timestamp */
2633
+ updatedAt?: Date;
2634
+ }
2635
+ interface SubtaskTemplate {
2636
+ type: SubtaskType;
2637
+ label: string;
2638
+ /** Default dependencies - references other template types */
2639
+ defaultDependsOn?: SubtaskType[];
2640
+ /** Whether this subtask type is required for package completion */
2641
+ required: boolean;
2642
+ /** Order in which this type appears by default */
2643
+ defaultOrder: number;
2644
+ }
2645
+ interface WorkflowConfig {
2646
+ id: string;
2647
+ name: string;
2648
+ /** Subtask templates defining what types are available and their defaults */
2649
+ subtaskTemplates: SubtaskTemplate[];
2650
+ /** Bucket definitions for kanban columns */
2651
+ buckets: {
2652
+ id: PackageBucket;
2653
+ name: string;
2654
+ color?: string;
2655
+ }[];
2656
+ /** Optional: minimum number of certain subtask types required */
2657
+ requirements?: {
2658
+ type: SubtaskType;
2659
+ minCount: number;
2660
+ }[];
2661
+ }
2662
+ interface SubtaskDerivedState {
2663
+ subtask: Subtask;
2664
+ /** Is this subtask locked due to unmet dependencies? */
2665
+ isLocked: boolean;
2666
+ /** Human-readable reason why it's locked */
2667
+ lockReason?: string;
2668
+ /** IDs of subtasks blocking this one */
2669
+ blockedBy: string[];
2670
+ /** Is this the next actionable subtask? */
2671
+ isNextAction: boolean;
2672
+ /** Can the user take action on this subtask? */
2673
+ isActionable: boolean;
2674
+ }
2675
+ interface PackageDerivedState {
2676
+ package: Package;
2677
+ /** Computed bucket based on progress rules */
2678
+ bucket: PackageBucket;
2679
+ /** Computed status */
2680
+ status: PackageStatus;
2681
+ /** Progress as fraction (0-1) */
2682
+ progress: number;
2683
+ /** Count of completed subtasks */
2684
+ completedCount: number;
2685
+ /** Total count of subtasks */
2686
+ totalCount: number;
2687
+ /** The next actionable subtask (if any) */
2688
+ nextAction?: SubtaskDerivedState;
2689
+ /** Label for the next action button */
2690
+ nextActionLabel?: string;
2691
+ /** All subtasks with their derived state */
2692
+ subtaskStates: SubtaskDerivedState[];
2693
+ /** Is the package fully completed? */
2694
+ isComplete: boolean;
2695
+ /** Is the package blocked (no actionable subtasks but not complete)? */
2696
+ isWaiting: boolean;
2697
+ }
2698
+ interface PackageCardProps {
2699
+ packageState: PackageDerivedState;
2700
+ onSubtaskAction?: (subtask: Subtask) => void;
2701
+ onPackageClick?: (pkg: Package) => void;
2702
+ className?: string;
2703
+ }
2704
+ interface PackageRowProps {
2705
+ packageState: PackageDerivedState;
2706
+ onSubtaskAction?: (subtask: Subtask) => void;
2707
+ onPackageClick?: (pkg: Package) => void;
2708
+ isExpanded?: boolean;
2709
+ onExpandToggle?: () => void;
2710
+ className?: string;
2711
+ }
2712
+ interface SubtaskItemProps {
2713
+ subtaskState: SubtaskDerivedState;
2714
+ onAction?: (subtask: Subtask) => void;
2715
+ compact?: boolean;
2716
+ className?: string;
2717
+ }
2718
+
2719
+ interface TodoBoardProps {
2720
+ packages: Package[];
2721
+ workflowConfig?: WorkflowConfig;
2722
+ onSubtaskAction?: (subtask: Subtask) => void;
2723
+ onPackageClick?: (pkg: Package) => void;
2724
+ onPackagesChange?: (packages: Package[]) => void;
2725
+ /** Height of the board. Defaults to 600px */
2726
+ height?: number | string;
2727
+ className?: string;
2728
+ }
2729
+ declare function TodoBoard({ packages, workflowConfig, onSubtaskAction, onPackageClick, onPackagesChange, height, className, }: TodoBoardProps): react_jsx_runtime.JSX.Element;
2730
+
2731
+ interface TodoListProps {
2732
+ packages: Package[];
2733
+ workflowConfig?: WorkflowConfig;
2734
+ onSubtaskAction?: (subtask: Subtask) => void;
2735
+ onPackageClick?: (pkg: Package) => void;
2736
+ className?: string;
2737
+ }
2738
+ declare function TodoList({ packages, workflowConfig, onSubtaskAction, onPackageClick, className, }: TodoListProps): react_jsx_runtime.JSX.Element;
2739
+
2740
+ declare function PackageCard({ packageState, onSubtaskAction, onPackageClick, className, }: PackageCardProps): react_jsx_runtime.JSX.Element;
2741
+
2742
+ declare function PackageRow({ packageState, onSubtaskAction, onPackageClick, isExpanded, onExpandToggle, className, }: PackageRowProps): react_jsx_runtime.JSX.Element;
2743
+
2744
+ declare function SubtaskItem({ subtaskState, onAction, compact, className, }: SubtaskItemProps): react_jsx_runtime.JSX.Element;
2745
+
2746
+ type ViewMode = "kanban" | "list";
2747
+ interface WorkflowViewToggleProps {
2748
+ value: ViewMode;
2749
+ onValueChange: (value: ViewMode) => void;
2750
+ className?: string;
2751
+ }
2752
+ declare function WorkflowViewToggle({ value, onValueChange, className, }: WorkflowViewToggleProps): react_jsx_runtime.JSX.Element;
2753
+
2754
+ /**
2755
+ * Todo Board Rule Engine
2756
+ *
2757
+ * Pure functions for computing derived state from packages and workflow config.
2758
+ * No side effects - all state changes are returned, not mutated.
2759
+ */
2760
+
2761
+ /**
2762
+ * Check if a subtask's dependencies are all satisfied (done)
2763
+ */
2764
+ declare function areDependenciesSatisfied(subtask: Subtask, allSubtasks: Subtask[]): boolean;
2765
+ /**
2766
+ * Get the list of subtasks blocking this one
2767
+ */
2768
+ declare function getBlockingSubtasks(subtask: Subtask, allSubtasks: Subtask[]): Subtask[];
2769
+ /**
2770
+ * Generate a human-readable lock reason
2771
+ */
2772
+ declare function generateLockReason(blockingSubtasks: Subtask[]): string;
2773
+ /**
2774
+ * Compute derived state for a single subtask
2775
+ */
2776
+ declare function computeSubtaskState(subtask: Subtask, allSubtasks: Subtask[], isNextAction: boolean): SubtaskDerivedState;
2777
+ /**
2778
+ * Check if all required subtasks are done
2779
+ */
2780
+ declare function allRequiredSubtasksDone(pkg: Package, config?: WorkflowConfig): boolean;
2781
+ /**
2782
+ * Check if any subtask has been started or completed
2783
+ */
2784
+ declare function anySubtaskStartedOrDone(pkg: Package): boolean;
2785
+ /**
2786
+ * Derive the package bucket based on progress rules
2787
+ *
2788
+ * Rules:
2789
+ * - completed: allRequiredSubtasksDone === true
2790
+ * - in_progress: anySubtaskStartedOrDone === true AND completed === false
2791
+ * - next: otherwise
2792
+ */
2793
+ declare function derivePackageBucket(pkg: Package, config?: WorkflowConfig): PackageBucket;
2794
+ /**
2795
+ * Derive package status from subtask states
2796
+ */
2797
+ declare function derivePackageStatus(pkg: Package, bucket: PackageBucket, hasNextAction: boolean): PackageStatus;
2798
+ /**
2799
+ * Find the next actionable subtask
2800
+ *
2801
+ * Rule: Select the first actionable (unlocked) subtask with status todo or in_progress,
2802
+ * based on workflow order.
2803
+ */
2804
+ declare function findNextActionableSubtask(subtaskStates: SubtaskDerivedState[]): SubtaskDerivedState | undefined;
2805
+ /**
2806
+ * Generate a label for the next action button
2807
+ */
2808
+ declare function generateNextActionLabel(nextAction: SubtaskDerivedState | undefined): string | undefined;
2809
+ /**
2810
+ * Calculate progress as a fraction (0-1)
2811
+ */
2812
+ declare function calculateProgress(pkg: Package): {
2813
+ progress: number;
2814
+ completedCount: number;
2815
+ totalCount: number;
2816
+ };
2817
+ /**
2818
+ * Compute full derived state for a package
2819
+ *
2820
+ * This is the main entry point for the rule engine.
2821
+ * Returns all computed state needed for UI rendering.
2822
+ */
2823
+ declare function computePackageDerivedState(pkg: Package, config?: WorkflowConfig): PackageDerivedState;
2824
+ /**
2825
+ * Compute derived state for multiple packages
2826
+ */
2827
+ declare function computeAllPackageStates(packages: Package[], config?: WorkflowConfig): PackageDerivedState[];
2828
+ /**
2829
+ * Group packages by bucket
2830
+ */
2831
+ declare function groupPackagesByBucket(packageStates: PackageDerivedState[]): Record<PackageBucket, PackageDerivedState[]>;
2832
+ /**
2833
+ * Update a subtask's status and recompute package state
2834
+ */
2835
+ declare function updateSubtaskStatus(pkg: Package, subtaskId: string, newStatus: Subtask["status"], config?: WorkflowConfig): {
2836
+ updatedPackage: Package;
2837
+ derivedState: PackageDerivedState;
2838
+ };
2839
+ /**
2840
+ * Start a subtask (set to in_progress)
2841
+ */
2842
+ declare function startSubtask(pkg: Package, subtaskId: string, config?: WorkflowConfig): {
2843
+ updatedPackage: Package;
2844
+ derivedState: PackageDerivedState;
2845
+ };
2846
+ /**
2847
+ * Complete a subtask (set to done)
2848
+ */
2849
+ declare function completeSubtask(pkg: Package, subtaskId: string, config?: WorkflowConfig): {
2850
+ updatedPackage: Package;
2851
+ derivedState: PackageDerivedState;
2852
+ };
2853
+
2584
2854
  /**
2585
2855
  * Event Calendar Types
2586
2856
  * Based on big-calendar by Leonardo Ramos (MIT License)
@@ -3401,4 +3671,4 @@ type KanbanProviderProps<T extends KanbanItemProps = KanbanItemProps, C extends
3401
3671
  };
3402
3672
  declare const KanbanProvider: <T extends KanbanItemProps = KanbanItemProps, C extends KanbanColumnProps = KanbanColumnProps>({ children, onDragStart, onDragEnd, onDragOver, className, columns, data, onDataChange, ...props }: KanbanProviderProps<T, C>) => react_jsx_runtime.JSX.Element;
3403
3673
 
3404
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgendaView, type AgendaViewProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, BADGE_VARIANT_LABELS, Badge, BigCalendar, type BigCalendarProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemType, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, CalendarContext, CalendarDayButton, CalendarHeader, CalendarHeaderCompact, type CalendarHeaderCompactProps, type CalendarHeaderProps, CalendarSettingsButton, type CalendarSettingsButtonProps, CalendarSettingsContent, type CalendarSettingsContentProps, CalendarSettingsDialog, type CalendarSettingsDialogProps, type CalibrationCellData, type CalibrationComment, type CalibrationMode, type CalibrationOverviewProps, type CalibrationPrefix, type CalibrationStatus, type CalibrationSupplier, CalibrationTable, type CalibrationTableConfig, type CalibrationTableProps, type CalibrationUnit, CalibrationWeekCell, type CalibrationWeekCellProps, CalibrationWeekHeader, type CalibrationWeekHeaderProps, CapacityPlanningChart, type CapacityPlanningChartProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChangeBadgeVariantInput, ChangeVisibleHoursInput, ChangeWorkingHoursInput, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckpointBadgeType, CircularProgress, type CircularProgressProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColumnSummaryCell, type ColumnSummaryCellProps, type ColumnSummaryData, ColumnSummaryStrip, type ColumnSummaryStripProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommentButton, type CommentButtonProps, type CommentContext, CommentDialog, type CommentDialogProps, type CommentLocationOption, CommentPopover, type CommentPopoverProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_VISIBLE_HOURS, DEFAULT_WORKING_HOURS, DataTableColumnHeader, type DataTableColumnHeaderProps, DataTablePagination, type DataTablePaginationProps, DataTableViewOptions, type DataTableViewOptionsProps, DateBadge, type DateBadgeProps, DayView, type DayViewProps, type Delivery, DeliveryBadge, type DeliveryBadgeProps, DeliveryCard, type DeliveryCardProps, DeliveryDetailPage, type DeliveryDetailPageProps, type DeliveryElement, DeliveryIndicator, type DeliveryIndicatorProps, DeliveryIndicators, type DeliveryIndicatorsProps, type DeliveryMilestone, type DeliveryStatus, type DeliveryVisualState, type DeltaType, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragContext, DragProvider, type DragProviderProps, DraggableEvent, type DraggableEventProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DroppableZone, type DroppableZoneProps, EVENT_COLORS, type ElementShipmentStatus, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, EventBadge, type EventBadgeProps, EventCalendarProvider, type EventCalendarProviderProps, EventDialog, type EventDialogProps, type FeasibilityPackage, type FeasibilityStatus, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GanttAddFeatureHelper, type GanttAddFeatureHelperProps, type GanttCollapsibleGroupProps, GanttCollapsibleSidebarGroup, GanttCollapsibleTimelineGroup, type GanttCollapsibleTimelineGroupProps, GanttColumn, type GanttColumnProps, GanttColumns, type GanttColumnsProps, GanttContentHeader, type GanttContentHeaderProps, GanttContext, type GanttContextProps, GanttCreateMarkerTrigger, type GanttCreateMarkerTriggerProps, type GanttFeature, type GanttFeatureContextMenuAction, GanttFeatureDragHelper, type GanttFeatureDragHelperProps, GanttFeatureItem, GanttFeatureItemCard, type GanttFeatureItemCardProps, type GanttFeatureItemProps, GanttFeatureList, GanttFeatureListGroup, type GanttFeatureListGroupProps, type GanttFeatureListProps, GanttFeatureRow, type GanttFeatureRowProps, GanttGridLines, type GanttGridLinesProps, type GanttGroup, GanttGroupSummaryBar, type GanttGroupSummaryBarProps, GanttHeader, type GanttHeaderProps, GanttMarker, type GanttMarkerProps, GanttProvider, type GanttProviderProps, GanttSidebar, GanttSidebarGroup, type GanttSidebarGroupProps, GanttSidebarHeader, type GanttSidebarHeaderProps, GanttSidebarItem, type GanttSidebarItemProps, type GanttSidebarProps, type GanttStatus, GanttTimeline, type GanttTimelineProps, GanttToday, type GanttTodayProps, HoverCard, HoverCardContent, HoverCardTrigger, type ICalendarActions, type ICalendarCell, type ICalendarConfig, type ICalendarContext, type ICalendarHeaderProps, type ICalendarState, type IDayCellProps, type IDragContext, type IEvent, type IEventBadgeProps, type IEventDialogProps, type IEventPosition, type ITimeSlotProps, type IUser, type IViewProps, type IWorkingHours, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InsightBar, type InsightBarProps, type InsightMetric, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, KanbanBoard, type KanbanBoardProps, KanbanCard, type KanbanCardProps, KanbanCards, type KanbanCardsProps, KanbanHeader, type KanbanHeaderProps, KanbanProvider, type KanbanProviderProps, Kbd, KbdGroup, Label, type LoadingComment, type LoadingDelivery, type LoadingDeliveryStatus, type LoadingElement, type LoadingElementStatus, type LoadingPrefix, type LoadingSupplier, type LoadingUserRole, type LoadingWeek, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MonthView, type MonthViewProps, MoreEvents, type MoreEventsProps, NativeSelect, NativeSelectOptGroup, NativeSelectOption, type NavItem, NavMain, type NavProject, NavProjects, NavSecondary, type NavSecondaryItem, type NavSecondaryProps, NavUser, type NavUserProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NetBadge, type NetBadgeProps, PHASE_COLORS, type PackageElement, type PackagePosition, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Person, type Phase, PhaseGantt, type PhaseGanttProps, Pill, PillAvatar, PillAvatarGroup, type PillAvatarGroupProps, type PillAvatarProps, PillClose, type PillCloseProps, PillDelta, type PillDeltaProps, PillIcon, type PillIconProps, type PillProps, PillStatus, type PillStatusProps, type PlanningComment, type PlanningCommentLocation, type PlanningCommentLocationType, PlanningTable, type PlanningTableConfig, type PlanningTableProps, PlanningTableToolbar, type PlanningTableToolbarProps, type PlanningUserRole, PlanningWeekCommentPopover, type PlanningWeekCommentPopoverProps, PlayerCanvas, PlayerCanvasActionButton, PlayerCanvasControls, PlayerCanvasDivider, PlayerCanvasInfo, PlayerCanvasLabel, PlayerCanvasPlayButton, PlayerCanvasProgress, PlayerCanvasSkipButton, PlayerCanvasTitle, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PrefixOption, type ProductionData, type ProductionPackage, ProductionPackageGantt, type ProductionPackageGanttProps, type ProductionUnit, Progress, QuickAddEvent, type QuickAddEventProps, RadioGroup, RadioGroupItem, type Range, ResizableHandle, ResizablePanel, ResizablePanelGroup, RowHeaderCell, type RowHeaderCellProps, ScrollArea, ScrollBar, SearchForm, SearchTrigger, type SearchTriggerProps, Section, SectionContent, SectionDescription, SectionFooter, SectionHeader, type SectionProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SiteHeader, type SiteHeaderProps, Skeleton, Slider, Spinner, StatusProgress, type StatusProgressProps, type StatusProgressVariant, type SubmissionStatus, SubmitCalibrationBar, type SubmitCalibrationBarProps, type Supplier, type SupplierBadgeType, SupplierCell, type SupplierCellProps, SupplierWeeklyLoading, type SupplierWeeklyLoadingProps, Switch, type TBadgeVariant, type TCalendarView, type TEventColor, type TVisibleHours, type TWorkingHours, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeSwitch, type ThemeSwitchProps, TimeIndicator, type TimeIndicatorProps, type TimelineData, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToolBarCanvas, ToolBarCanvasButton, ToolBarCanvasDivider, ToolBarCanvasGroup, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseDroppableOptions, type UserAvatarItem, UserAvatarsDropdown, type UserAvatarsDropdownProps, VIEW_LABELS, type Week, type WeekCapacity, WeekCell, type WeekCellData, type WeekCellProps, type WeekColumn, WeekDetailDialog, type WeekDetailDialogProps, WeekDetailSheet, type WeekDetailSheetProps, WeekHeader, type WeekHeaderProps, WeekView, type WeekViewProps, WeeklyLoadingView, type WeeklyLoadingViewProps, type WorkPackage, YearView, type YearViewProps, badgeVariants, buttonGroupVariants, buttonVariants, calculateCalibrationCells, calculateCumulativeNeed, calculateCumulativePlanned, calculateDropDates, calculateFeasibility, calculateMonthEventPositions, calculatePackagePositions, canSubmitCalibration, cardVariants, createDefaultEvent, deliveryIndicatorVariants, extractPrefixes, formatCalibrationUnit, formatDateRange, formatDisplayDate, formatProductionUnit, formatTime, getDateByMousePosition as ganttGetDateByMousePosition, getOffset as ganttGetOffset, getWidth as ganttGetWidth, generateColumns, generateEventId, generateLoadingWeek, generateLocationOptions, generateWeekColumns, generateWeeks, getCalendarCells, getCommentLocationLabel, getCurrentEvents, getDayHours, getDayLabel, getDeliveryVisualState, getElementShipmentStatus, getEventBlockStyle, getEventDuration, getEventDurationMinutes, getEventsCount, getEventsForDate, getEventsInRange, getFeasibilityColor, getFeasibilityLabel, getHeaderLabel, getISOWeek, getLoadingDeliveryStatusLabel, getLoadingElementStatusLabel, getLoadingISOWeek, getLoadingWeekKey, getMonthCellEvents, getMonthDays, getPackageWeekRange, getPhaseColor, getShipmentStatusLabel, getShortDayLabel, getSupplierColumn, getTimeHeight, getTimePosition, getViewDateRange, getVisibleHours, getWeekDayNames, getWeekDays, getWeekKey, getYearMonths, groupDeliveriesByDay, groupDeliveriesByPrefixAndDay, groupEvents, isMultiDayEvent, isWorkingHour, navigateDate, navigationMenuTriggerStyle, pillVariants, playerCanvasPlayButtonVariants, playerCanvasSkipButtonVariants, rangeText, sectionVariants, snapToInterval, sortEvents, splitEventsByDuration, toggleVariants, toolBarCanvasButtonVariants, useDrag, useDraggable, useDroppable, useEventCalendar, useEventsInRange, useFilteredEvents, useFormField, useGanttContext, useGanttDragging, useGanttScrollX, useIsMobile, useSearchShortcut, useSidebar };
3674
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgendaView, type AgendaViewProps, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, BADGE_VARIANT_LABELS, Badge, BigCalendar, type BigCalendarProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, type BreadcrumbItemType, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, CalendarContext, CalendarDayButton, CalendarHeader, CalendarHeaderCompact, type CalendarHeaderCompactProps, type CalendarHeaderProps, CalendarSettingsButton, type CalendarSettingsButtonProps, CalendarSettingsContent, type CalendarSettingsContentProps, CalendarSettingsDialog, type CalendarSettingsDialogProps, type CalibrationCellData, type CalibrationComment, type CalibrationMode, type CalibrationOverviewProps, type CalibrationPrefix, type CalibrationStatus, type CalibrationSupplier, CalibrationTable, type CalibrationTableConfig, type CalibrationTableProps, type CalibrationUnit, CalibrationWeekCell, type CalibrationWeekCellProps, CalibrationWeekHeader, type CalibrationWeekHeaderProps, CapacityPlanningChart, type CapacityPlanningChartProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChangeBadgeVariantInput, ChangeVisibleHoursInput, ChangeWorkingHoursInput, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, type CheckpointBadgeType, CircularProgress, type CircularProgressProps, Collapsible, CollapsibleContent, CollapsibleTrigger, ColumnSummaryCell, type ColumnSummaryCellProps, type ColumnSummaryData, ColumnSummaryStrip, type ColumnSummaryStripProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CommentButton, type CommentButtonProps, type CommentContext, CommentDialog, type CommentDialogProps, type CommentLocationOption, CommentPopover, type CommentPopoverProps, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_VISIBLE_HOURS, DEFAULT_WORKING_HOURS, DataTableColumnHeader, type DataTableColumnHeaderProps, DataTablePagination, type DataTablePaginationProps, DataTableViewOptions, type DataTableViewOptionsProps, DateBadge, type DateBadgeProps, DayView, type DayViewProps, type Delivery, DeliveryBadge, type DeliveryBadgeProps, DeliveryCard, type DeliveryCardProps, DeliveryDetailPage, type DeliveryDetailPageProps, type DeliveryElement, DeliveryIndicator, type DeliveryIndicatorProps, DeliveryIndicators, type DeliveryIndicatorsProps, type DeliveryMilestone, type DeliveryStatus, type DeliveryVisualState, type DeltaType, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragContext, DragProvider, type DragProviderProps, DraggableEvent, type DraggableEventProps, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DroppableZone, type DroppableZoneProps, EVENT_COLORS, type ElementShipmentStatus, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, EventBadge, type EventBadgeProps, EventCalendarProvider, type EventCalendarProviderProps, EventDialog, type EventDialogProps, type FeasibilityPackage, type FeasibilityStatus, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, GanttAddFeatureHelper, type GanttAddFeatureHelperProps, type GanttCollapsibleGroupProps, GanttCollapsibleSidebarGroup, GanttCollapsibleTimelineGroup, type GanttCollapsibleTimelineGroupProps, GanttColumn, type GanttColumnProps, GanttColumns, type GanttColumnsProps, GanttContentHeader, type GanttContentHeaderProps, GanttContext, type GanttContextProps, GanttCreateMarkerTrigger, type GanttCreateMarkerTriggerProps, type GanttFeature, type GanttFeatureContextMenuAction, GanttFeatureDragHelper, type GanttFeatureDragHelperProps, GanttFeatureItem, GanttFeatureItemCard, type GanttFeatureItemCardProps, type GanttFeatureItemProps, GanttFeatureList, GanttFeatureListGroup, type GanttFeatureListGroupProps, type GanttFeatureListProps, GanttFeatureRow, type GanttFeatureRowProps, GanttGridLines, type GanttGridLinesProps, type GanttGroup, GanttGroupSummaryBar, type GanttGroupSummaryBarProps, GanttHeader, type GanttHeaderProps, GanttMarker, type GanttMarkerProps, GanttProvider, type GanttProviderProps, GanttSidebar, GanttSidebarGroup, type GanttSidebarGroupProps, GanttSidebarHeader, type GanttSidebarHeaderProps, GanttSidebarItem, type GanttSidebarItemProps, type GanttSidebarProps, type GanttStatus, GanttTimeline, type GanttTimelineProps, GanttToday, type GanttTodayProps, HoverCard, HoverCardContent, HoverCardTrigger, type ICalendarActions, type ICalendarCell, type ICalendarConfig, type ICalendarContext, type ICalendarHeaderProps, type ICalendarState, type IDayCellProps, type IDragContext, type IEvent, type IEventBadgeProps, type IEventDialogProps, type IEventPosition, type ITimeSlotProps, type IUser, type IViewProps, type IWorkingHours, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InsightBar, type InsightBarProps, type InsightMetric, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, KanbanBoard, type KanbanBoardProps, KanbanCard, type KanbanCardProps, KanbanCards, type KanbanCardsProps, KanbanHeader, type KanbanHeaderProps, KanbanProvider, type KanbanProviderProps, Kbd, KbdGroup, Label, type LoadingComment, type LoadingDelivery, type LoadingDeliveryStatus, type LoadingElement, type LoadingElementStatus, type LoadingPrefix, type LoadingSupplier, type LoadingUserRole, type LoadingWeek, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MonthView, type MonthViewProps, MoreEvents, type MoreEventsProps, NativeSelect, NativeSelectOptGroup, NativeSelectOption, type NavItem, NavMain, type NavProject, NavProjects, NavSecondary, type NavSecondaryItem, type NavSecondaryProps, NavUser, type NavUserProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NetBadge, type NetBadgeProps, PHASE_COLORS, type Package, type PackageBucket, PackageCard, type PackageCardProps, type PackageDerivedState, type PackageElement, type PackagePosition, type PackagePriority, PackageRow, type PackageRowProps, type PackageStatus, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, type Person, type Phase, PhaseGantt, type PhaseGanttProps, Pill, PillAvatar, PillAvatarGroup, type PillAvatarGroupProps, type PillAvatarProps, PillClose, type PillCloseProps, PillDelta, type PillDeltaProps, PillIcon, type PillIconProps, type PillProps, PillStatus, type PillStatusProps, type PlanningComment, type PlanningCommentLocation, type PlanningCommentLocationType, PlanningTable, type PlanningTableConfig, type PlanningTableProps, PlanningTableToolbar, type PlanningTableToolbarProps, type PlanningUserRole, PlanningWeekCommentPopover, type PlanningWeekCommentPopoverProps, PlayerCanvas, PlayerCanvasActionButton, PlayerCanvasControls, PlayerCanvasDivider, PlayerCanvasInfo, PlayerCanvasLabel, PlayerCanvasPlayButton, PlayerCanvasProgress, PlayerCanvasSkipButton, PlayerCanvasTitle, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type PrefixOption, type ProductionData, type ProductionPackage, ProductionPackageGantt, type ProductionPackageGanttProps, type ProductionUnit, Progress, QuickAddEvent, type QuickAddEventProps, RadioGroup, RadioGroupItem, type Range, ResizableHandle, ResizablePanel, ResizablePanelGroup, RowHeaderCell, type RowHeaderCellProps, ScrollArea, ScrollBar, SearchForm, SearchTrigger, type SearchTriggerProps, Section, SectionContent, SectionDescription, SectionFooter, SectionHeader, type SectionProps, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SiteHeader, type SiteHeaderProps, Skeleton, Slider, Spinner, StatusProgress, type StatusProgressProps, type StatusProgressVariant, type SubmissionStatus, SubmitCalibrationBar, type SubmitCalibrationBarProps, type Subtask, type SubtaskDerivedState, SubtaskItem, type SubtaskItemProps, type SubtaskStatus, type SubtaskTemplate, type SubtaskType, type Supplier, type SupplierBadgeType, SupplierCell, type SupplierCellProps, SupplierWeeklyLoading, type SupplierWeeklyLoadingProps, Switch, type TBadgeVariant, type TCalendarView, type TEventColor, type TVisibleHours, type TWorkingHours, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeSwitch, type ThemeSwitchProps, TimeIndicator, type TimeIndicatorProps, type TimelineData, Toaster, TodoBoard, type TodoBoardProps, TodoList, type TodoListProps, Toggle, ToggleGroup, ToggleGroupItem, ToolBarCanvas, ToolBarCanvasButton, ToolBarCanvasDivider, ToolBarCanvasGroup, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type UseDroppableOptions, type UserAvatarItem, UserAvatarsDropdown, type UserAvatarsDropdownProps, VIEW_LABELS, type ViewMode, type Week, type WeekCapacity, WeekCell, type WeekCellData, type WeekCellProps, type WeekColumn, WeekDetailDialog, type WeekDetailDialogProps, WeekDetailSheet, type WeekDetailSheetProps, WeekHeader, type WeekHeaderProps, WeekView, type WeekViewProps, WeeklyLoadingView, type WeeklyLoadingViewProps, type WorkPackage, type WorkflowConfig, WorkflowViewToggle, YearView, type YearViewProps, allRequiredSubtasksDone, anySubtaskStartedOrDone, areDependenciesSatisfied, badgeVariants, buttonGroupVariants, buttonVariants, calculateCalibrationCells, calculateCumulativeNeed, calculateCumulativePlanned, calculateDropDates, calculateFeasibility, calculateMonthEventPositions, calculatePackagePositions, calculateProgress, canSubmitCalibration, cardVariants, completeSubtask, computeAllPackageStates, computePackageDerivedState, computeSubtaskState, createDefaultEvent, deliveryIndicatorVariants, derivePackageBucket, derivePackageStatus, extractPrefixes, findNextActionableSubtask, formatCalibrationUnit, formatDateRange, formatDisplayDate, formatProductionUnit, formatTime, getDateByMousePosition as ganttGetDateByMousePosition, getOffset as ganttGetOffset, getWidth as ganttGetWidth, generateColumns, generateEventId, generateLoadingWeek, generateLocationOptions, generateLockReason, generateNextActionLabel, generateWeekColumns, generateWeeks, getBlockingSubtasks, getCalendarCells, getCommentLocationLabel, getCurrentEvents, getDayHours, getDayLabel, getDeliveryVisualState, getElementShipmentStatus, getEventBlockStyle, getEventDuration, getEventDurationMinutes, getEventsCount, getEventsForDate, getEventsInRange, getFeasibilityColor, getFeasibilityLabel, getHeaderLabel, getISOWeek, getLoadingDeliveryStatusLabel, getLoadingElementStatusLabel, getLoadingISOWeek, getLoadingWeekKey, getMonthCellEvents, getMonthDays, getPackageWeekRange, getPhaseColor, getShipmentStatusLabel, getShortDayLabel, getSupplierColumn, getTimeHeight, getTimePosition, getViewDateRange, getVisibleHours, getWeekDayNames, getWeekDays, getWeekKey, getYearMonths, groupDeliveriesByDay, groupDeliveriesByPrefixAndDay, groupEvents, groupPackagesByBucket, isMultiDayEvent, isWorkingHour, navigateDate, navigationMenuTriggerStyle, pillVariants, playerCanvasPlayButtonVariants, playerCanvasSkipButtonVariants, rangeText, sectionVariants, snapToInterval, sortEvents, splitEventsByDuration, startSubtask, toggleVariants, toolBarCanvasButtonVariants, updateSubtaskStatus, useDrag, useDraggable, useDroppable, useEventCalendar, useEventsInRange, useFilteredEvents, useFormField, useGanttContext, useGanttDragging, useGanttScrollX, useIsMobile, useSearchShortcut, useSidebar };