@j3m-quantum/ui 1.11.1 → 1.12.1
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 +2018 -790
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +110 -29
- package/dist/index.d.ts +110 -29
- package/dist/index.js +1946 -720
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -424,6 +424,53 @@ interface CircularProgressProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
424
424
|
*/
|
|
425
425
|
declare function CircularProgress({ className, value, size, strokeWidth, variant, showCheckmark, children, ...props }: CircularProgressProps): react_jsx_runtime.JSX.Element;
|
|
426
426
|
|
|
427
|
+
type StatusProgressVariant = "normal" | "warning" | "critical" | "complete";
|
|
428
|
+
interface StatusProgressProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
429
|
+
/** Progress value (0-100) */
|
|
430
|
+
value: number;
|
|
431
|
+
/** Current count (e.g., 3 produced) */
|
|
432
|
+
currentCount?: number;
|
|
433
|
+
/** Total count (e.g., 8 total elements) */
|
|
434
|
+
totalCount?: number;
|
|
435
|
+
/** Unit label (e.g., "elements", "items") */
|
|
436
|
+
unitLabel?: string;
|
|
437
|
+
/** Whether to show numeric label above the bar */
|
|
438
|
+
showLabel?: boolean;
|
|
439
|
+
/** Whether to show checkmark when complete */
|
|
440
|
+
showCheckmark?: boolean;
|
|
441
|
+
/** Size variant */
|
|
442
|
+
size?: "sm" | "md" | "lg";
|
|
443
|
+
/** Color variant - auto-derived from value if not provided */
|
|
444
|
+
variant?: StatusProgressVariant;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* StatusProgress - Linear progress bar matching Planning Table cell styling
|
|
448
|
+
*
|
|
449
|
+
* Provides consistent progress visualization across:
|
|
450
|
+
* - Planning Table cells
|
|
451
|
+
* - Planning Table Sheet
|
|
452
|
+
* - Delivery cards
|
|
453
|
+
*
|
|
454
|
+
* Features:
|
|
455
|
+
* - Linear progress bar with rounded pill shape
|
|
456
|
+
* - Status-based colors (green/amber/red)
|
|
457
|
+
* - Optional count label (e.g., "3 / 8 elements")
|
|
458
|
+
* - Checkmark state when complete
|
|
459
|
+
* - Size variants (sm/md/lg)
|
|
460
|
+
*
|
|
461
|
+
* @example
|
|
462
|
+
* ```tsx
|
|
463
|
+
* <StatusProgress
|
|
464
|
+
* value={37.5}
|
|
465
|
+
* currentCount={3}
|
|
466
|
+
* totalCount={8}
|
|
467
|
+
* unitLabel="elements"
|
|
468
|
+
* showLabel
|
|
469
|
+
* />
|
|
470
|
+
* ```
|
|
471
|
+
*/
|
|
472
|
+
declare function StatusProgress({ className, value, currentCount, totalCount, unitLabel, showLabel, showCheckmark, size, variant, ...props }: StatusProgressProps): react_jsx_runtime.JSX.Element;
|
|
473
|
+
|
|
427
474
|
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
428
475
|
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
429
476
|
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -434,7 +481,7 @@ declare const Toaster: ({ theme: themeProp, ...props }: ToasterProps) => react_j
|
|
|
434
481
|
declare function Spinner({ className, ...props }: LucideProps): react_jsx_runtime.JSX.Element;
|
|
435
482
|
|
|
436
483
|
declare const deliveryIndicatorVariants: (props?: ({
|
|
437
|
-
status?: "
|
|
484
|
+
status?: "critical" | "on-time" | "delayed" | "pending" | null | undefined;
|
|
438
485
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
439
486
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
440
487
|
type DeliveryStatus = "on-time" | "delayed" | "critical" | "pending";
|
|
@@ -1364,6 +1411,35 @@ interface WeekDetailDialogProps {
|
|
|
1364
1411
|
*/
|
|
1365
1412
|
declare function WeekDetailDialog({ open, onOpenChange, supplier, week, data, onProgressUpdate, onAddProductionComment, onAddDeliveryComment, }: WeekDetailDialogProps): react_jsx_runtime.JSX.Element | null;
|
|
1366
1413
|
|
|
1414
|
+
interface WeekDetailSheetProps {
|
|
1415
|
+
/** Whether the sheet is open */
|
|
1416
|
+
open: boolean;
|
|
1417
|
+
/** Callback when sheet open state changes */
|
|
1418
|
+
onOpenChange: (open: boolean) => void;
|
|
1419
|
+
/** Supplier data */
|
|
1420
|
+
supplier: Supplier | null;
|
|
1421
|
+
/** Week data */
|
|
1422
|
+
week: Week | null;
|
|
1423
|
+
/** Week cell data */
|
|
1424
|
+
data: WeekCellData | null;
|
|
1425
|
+
/** Callback when production elements are updated */
|
|
1426
|
+
onProductionUpdate?: (supplierId: string, weekKey: string, producedElementIds: string[]) => void;
|
|
1427
|
+
/** Callback when a production comment is added */
|
|
1428
|
+
onAddProductionComment?: (supplierId: string, weekKey: string, text: string) => void;
|
|
1429
|
+
/** Callback when a delivery comment is added */
|
|
1430
|
+
onAddDeliveryComment?: (supplierId: string, weekKey: string, deliveryId: string, text: string) => void;
|
|
1431
|
+
}
|
|
1432
|
+
/**
|
|
1433
|
+
* Sheet component for displaying detailed week information.
|
|
1434
|
+
* Uses stack navigation pattern for delivery drilldown.
|
|
1435
|
+
*
|
|
1436
|
+
* NEW: Production progress tracked by elements (not tons)
|
|
1437
|
+
*
|
|
1438
|
+
* View A: Main (Production progress + Deliveries list)
|
|
1439
|
+
* View B: Delivery Details (Quantum DataTable, read-only)
|
|
1440
|
+
*/
|
|
1441
|
+
declare function WeekDetailSheet({ open, onOpenChange, supplier, week, data, onProductionUpdate, onAddProductionComment, onAddDeliveryComment, }: WeekDetailSheetProps): react_jsx_runtime.JSX.Element | null;
|
|
1442
|
+
|
|
1367
1443
|
/**
|
|
1368
1444
|
* Generate the supplier column definition
|
|
1369
1445
|
*/
|
|
@@ -1876,8 +1952,10 @@ interface LoadingDelivery {
|
|
|
1876
1952
|
prefixScope?: string;
|
|
1877
1953
|
/** Delivery status */
|
|
1878
1954
|
status: LoadingDeliveryStatus;
|
|
1879
|
-
/** Destination */
|
|
1955
|
+
/** Project/Destination name (e.g., "Kållered Köpstad") */
|
|
1880
1956
|
destination?: string;
|
|
1957
|
+
/** Location/City (e.g., "Gothenburg") */
|
|
1958
|
+
location?: string;
|
|
1881
1959
|
/** Elements to load */
|
|
1882
1960
|
elements: LoadingElement[];
|
|
1883
1961
|
/** Pre-loading comments */
|
|
@@ -2058,19 +2136,19 @@ interface DeliveryCardProps {
|
|
|
2058
2136
|
className?: string;
|
|
2059
2137
|
}
|
|
2060
2138
|
/**
|
|
2061
|
-
* DeliveryCard -
|
|
2139
|
+
* DeliveryCard - Simplified touch-first card for displaying a delivery.
|
|
2140
|
+
*
|
|
2141
|
+
* Shows only:
|
|
2142
|
+
* - Project name as title (destination or label)
|
|
2143
|
+
* - Status indicator (left stroke + text for shipped/ready)
|
|
2144
|
+
* - Comment indicator with notification dot
|
|
2145
|
+
* - Chevron for drilldown
|
|
2062
2146
|
*
|
|
2063
|
-
* Matches
|
|
2147
|
+
* Matches Quantum design:
|
|
2064
2148
|
* - Full-width (no max-width)
|
|
2065
2149
|
* - 90° corners (j3m.radius.none = rounded-none)
|
|
2066
|
-
* - Left stroke
|
|
2150
|
+
* - Left stroke for status (j3m.stroke.m = 3px)
|
|
2067
2151
|
* - 56px min-height for iPad tap targets
|
|
2068
|
-
*
|
|
2069
|
-
* Visual States (left stroke):
|
|
2070
|
-
* - Sent: Green stroke (subtle) + greyed content + checkmark
|
|
2071
|
-
* - Ready: Green stroke + "Ready" badge
|
|
2072
|
-
* - Risk: Red stroke (same as Calibration)
|
|
2073
|
-
* - Normal: Transparent stroke (border on hover)
|
|
2074
2152
|
*/
|
|
2075
2153
|
declare function DeliveryCard({ delivery, onTap, className, }: DeliveryCardProps): react_jsx_runtime.JSX.Element;
|
|
2076
2154
|
|
|
@@ -2085,29 +2163,29 @@ interface DeliveryBadgeProps {
|
|
|
2085
2163
|
className?: string;
|
|
2086
2164
|
}
|
|
2087
2165
|
/**
|
|
2088
|
-
* DeliveryBadge -
|
|
2166
|
+
* DeliveryBadge - Simplified touch-first card for weekly grid view
|
|
2089
2167
|
*
|
|
2090
|
-
*
|
|
2091
|
-
*
|
|
2092
|
-
*
|
|
2168
|
+
* Shows only:
|
|
2169
|
+
* - Project name as title (destination or label)
|
|
2170
|
+
* - Status indicator (left stroke + footer for shipped/ready)
|
|
2171
|
+
* - Comment button with notification dot
|
|
2093
2172
|
*
|
|
2094
2173
|
* Spacing using Quantum tokens:
|
|
2095
|
-
* - Card min-height: min-h-[
|
|
2174
|
+
* - Card min-height: min-h-[72px] (compact)
|
|
2096
2175
|
* - Padding: p-4 (j3m.spacing.m = 16px)
|
|
2097
|
-
* -
|
|
2098
|
-
* - Intra-row gap: gap-2 (j3m.spacing.xs = 8px) - tighter within rows
|
|
2176
|
+
* - Gap: gap-2 (j3m.spacing.xs = 8px)
|
|
2099
2177
|
*/
|
|
2100
2178
|
declare function DeliveryBadge({ delivery, onClick, onCommentClick, className, }: DeliveryBadgeProps): react_jsx_runtime.JSX.Element;
|
|
2101
2179
|
|
|
2102
2180
|
/**
|
|
2103
2181
|
* DeliveryDetailPage - Touch-first detail page for a delivery
|
|
2104
2182
|
*
|
|
2105
|
-
*
|
|
2106
|
-
* -
|
|
2107
|
-
* -
|
|
2108
|
-
*
|
|
2109
|
-
* - Pre-loading notes
|
|
2110
|
-
* -
|
|
2183
|
+
* Layout (top → bottom):
|
|
2184
|
+
* A) Timeline section - Document → Production → Delivery
|
|
2185
|
+
* B) Readiness message - Explains why ready (or not)
|
|
2186
|
+
* C) Elements list - What should be packed
|
|
2187
|
+
* D) Notes / comments - Pre-loading notes
|
|
2188
|
+
* E) Primary CTA - Start loading button
|
|
2111
2189
|
*/
|
|
2112
2190
|
declare function DeliveryDetailPage({ delivery, week, suppliers, userRole, currentSupplierId, onBack, onAddComment, onConfirmLoad, }: DeliveryDetailPageProps): react_jsx_runtime.JSX.Element;
|
|
2113
2191
|
|
|
@@ -2130,11 +2208,14 @@ interface WeeklyLoadingViewProps {
|
|
|
2130
2208
|
/**
|
|
2131
2209
|
* WeeklyLoadingView - Clean weekly view with day columns
|
|
2132
2210
|
*
|
|
2133
|
-
* Layout
|
|
2211
|
+
* Layout:
|
|
2212
|
+
* - Pending/actionable deliveries shown first (default visible)
|
|
2213
|
+
* - Shipped deliveries collapsed by default under "Shipped (N)" toggle
|
|
2214
|
+
* - Per-day collapse state persists during session
|
|
2215
|
+
*
|
|
2216
|
+
* Spacing tokens:
|
|
2134
2217
|
* - Columns = Mon-Fri (no vertical dividers)
|
|
2135
|
-
* -
|
|
2136
|
-
* - Each column contains stacked delivery cards with gap-3 (j3m.spacing.s = 12px)
|
|
2137
|
-
* - Content-sized grid
|
|
2218
|
+
* - Cards stack with gap-3 (j3m.spacing.s = 12px)
|
|
2138
2219
|
*/
|
|
2139
2220
|
declare function WeeklyLoadingView({ week, deliveries, onDeliveryClick, onWeekChange, onDeliveryCommentClick, showNavigation, className, }: WeeklyLoadingViewProps): react_jsx_runtime.JSX.Element;
|
|
2140
2221
|
|
|
@@ -2951,4 +3032,4 @@ type KanbanProviderProps<T extends KanbanItemProps = KanbanItemProps, C extends
|
|
|
2951
3032
|
};
|
|
2952
3033
|
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;
|
|
2953
3034
|
|
|
2954
|
-
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, 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, 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, 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 DeliveryStatus, type DeliveryVisualState, 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, 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, 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, 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, Map$1 as Map, MapMarker, type MapMarkerProps, MapPopup, type MapPopupProps, type MapProps, MapTileLayer, type MapTileLayerProps, MapTooltip, type MapTooltipProps, MapZoomControl, type MapZoomControlProps, 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, NavUser, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NetBadge, type NetBadgeProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, 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 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, Skeleton, Slider, Spinner, 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, WeekCell, type WeekCellData, type WeekCellProps, WeekDetailDialog, type WeekDetailDialogProps, WeekHeader, type WeekHeaderProps, WeekView, type WeekViewProps, WeeklyLoadingView, type WeeklyLoadingViewProps, YearView, type YearViewProps, badgeVariants, buttonGroupVariants, buttonVariants, calculateCalibrationCells, calculateDropDates, calculateMonthEventPositions, canSubmitCalibration, cardVariants, createDefaultEvent, deliveryIndicatorVariants, extractPrefixes, formatCalibrationUnit, formatDateRange, formatProductionUnit, formatTime, generateColumns, generateEventId, generateLoadingWeek, generateLocationOptions, generateWeekColumns, generateWeeks, getCalendarCells, getCommentLocationLabel, getCurrentEvents, getDayHours, getDayLabel, getDeliveryVisualState, getElementShipmentStatus, getEventBlockStyle, getEventDuration, getEventDurationMinutes, getEventsCount, getEventsForDate, getEventsInRange, getHeaderLabel, getISOWeek, getLoadingDeliveryStatusLabel, getLoadingElementStatusLabel, getLoadingISOWeek, getLoadingWeekKey, getMonthCellEvents, getMonthDays, getShipmentStatusLabel, getShortDayLabel, getSupplierColumn, getTimeHeight, getTimePosition, getViewDateRange, getVisibleHours, getWeekDayNames, getWeekDays, getWeekKey, getYearMonths, groupDeliveriesByDay, groupDeliveriesByPrefixAndDay, groupEvents, isMultiDayEvent, isWorkingHour, navigateDate, navigationMenuTriggerStyle, playerCanvasPlayButtonVariants, playerCanvasSkipButtonVariants, rangeText, sectionVariants, snapToInterval, sortEvents, splitEventsByDuration, toggleVariants, toolBarCanvasButtonVariants, useDrag, useDraggable, useDroppable, useEventCalendar, useEventsInRange, useFilteredEvents, useFormField, useGanttDragging, useGanttScrollX, useIsMobile, useSearchShortcut, useSidebar };
|
|
3035
|
+
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, 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, 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, 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 DeliveryStatus, type DeliveryVisualState, 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, 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, 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, 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, Map$1 as Map, MapMarker, type MapMarkerProps, MapPopup, type MapPopupProps, type MapProps, MapTileLayer, type MapTileLayerProps, MapTooltip, type MapTooltipProps, MapZoomControl, type MapZoomControlProps, 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, NavUser, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NetBadge, type NetBadgeProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, 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 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, 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, WeekCell, type WeekCellData, type WeekCellProps, WeekDetailDialog, type WeekDetailDialogProps, WeekDetailSheet, type WeekDetailSheetProps, WeekHeader, type WeekHeaderProps, WeekView, type WeekViewProps, WeeklyLoadingView, type WeeklyLoadingViewProps, YearView, type YearViewProps, badgeVariants, buttonGroupVariants, buttonVariants, calculateCalibrationCells, calculateDropDates, calculateMonthEventPositions, canSubmitCalibration, cardVariants, createDefaultEvent, deliveryIndicatorVariants, extractPrefixes, formatCalibrationUnit, formatDateRange, formatProductionUnit, formatTime, generateColumns, generateEventId, generateLoadingWeek, generateLocationOptions, generateWeekColumns, generateWeeks, getCalendarCells, getCommentLocationLabel, getCurrentEvents, getDayHours, getDayLabel, getDeliveryVisualState, getElementShipmentStatus, getEventBlockStyle, getEventDuration, getEventDurationMinutes, getEventsCount, getEventsForDate, getEventsInRange, getHeaderLabel, getISOWeek, getLoadingDeliveryStatusLabel, getLoadingElementStatusLabel, getLoadingISOWeek, getLoadingWeekKey, getMonthCellEvents, getMonthDays, getShipmentStatusLabel, getShortDayLabel, getSupplierColumn, getTimeHeight, getTimePosition, getViewDateRange, getVisibleHours, getWeekDayNames, getWeekDays, getWeekKey, getYearMonths, groupDeliveriesByDay, groupDeliveriesByPrefixAndDay, groupEvents, isMultiDayEvent, isWorkingHour, navigateDate, navigationMenuTriggerStyle, playerCanvasPlayButtonVariants, playerCanvasSkipButtonVariants, rangeText, sectionVariants, snapToInterval, sortEvents, splitEventsByDuration, toggleVariants, toolBarCanvasButtonVariants, useDrag, useDraggable, useDroppable, useEventCalendar, useEventsInRange, useFilteredEvents, useFormField, useGanttDragging, useGanttScrollX, useIsMobile, useSearchShortcut, useSidebar };
|
package/dist/index.d.ts
CHANGED
|
@@ -424,6 +424,53 @@ interface CircularProgressProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
424
424
|
*/
|
|
425
425
|
declare function CircularProgress({ className, value, size, strokeWidth, variant, showCheckmark, children, ...props }: CircularProgressProps): react_jsx_runtime.JSX.Element;
|
|
426
426
|
|
|
427
|
+
type StatusProgressVariant = "normal" | "warning" | "critical" | "complete";
|
|
428
|
+
interface StatusProgressProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
429
|
+
/** Progress value (0-100) */
|
|
430
|
+
value: number;
|
|
431
|
+
/** Current count (e.g., 3 produced) */
|
|
432
|
+
currentCount?: number;
|
|
433
|
+
/** Total count (e.g., 8 total elements) */
|
|
434
|
+
totalCount?: number;
|
|
435
|
+
/** Unit label (e.g., "elements", "items") */
|
|
436
|
+
unitLabel?: string;
|
|
437
|
+
/** Whether to show numeric label above the bar */
|
|
438
|
+
showLabel?: boolean;
|
|
439
|
+
/** Whether to show checkmark when complete */
|
|
440
|
+
showCheckmark?: boolean;
|
|
441
|
+
/** Size variant */
|
|
442
|
+
size?: "sm" | "md" | "lg";
|
|
443
|
+
/** Color variant - auto-derived from value if not provided */
|
|
444
|
+
variant?: StatusProgressVariant;
|
|
445
|
+
}
|
|
446
|
+
/**
|
|
447
|
+
* StatusProgress - Linear progress bar matching Planning Table cell styling
|
|
448
|
+
*
|
|
449
|
+
* Provides consistent progress visualization across:
|
|
450
|
+
* - Planning Table cells
|
|
451
|
+
* - Planning Table Sheet
|
|
452
|
+
* - Delivery cards
|
|
453
|
+
*
|
|
454
|
+
* Features:
|
|
455
|
+
* - Linear progress bar with rounded pill shape
|
|
456
|
+
* - Status-based colors (green/amber/red)
|
|
457
|
+
* - Optional count label (e.g., "3 / 8 elements")
|
|
458
|
+
* - Checkmark state when complete
|
|
459
|
+
* - Size variants (sm/md/lg)
|
|
460
|
+
*
|
|
461
|
+
* @example
|
|
462
|
+
* ```tsx
|
|
463
|
+
* <StatusProgress
|
|
464
|
+
* value={37.5}
|
|
465
|
+
* currentCount={3}
|
|
466
|
+
* totalCount={8}
|
|
467
|
+
* unitLabel="elements"
|
|
468
|
+
* showLabel
|
|
469
|
+
* />
|
|
470
|
+
* ```
|
|
471
|
+
*/
|
|
472
|
+
declare function StatusProgress({ className, value, currentCount, totalCount, unitLabel, showLabel, showCheckmark, size, variant, ...props }: StatusProgressProps): react_jsx_runtime.JSX.Element;
|
|
473
|
+
|
|
427
474
|
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
428
475
|
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
429
476
|
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
@@ -434,7 +481,7 @@ declare const Toaster: ({ theme: themeProp, ...props }: ToasterProps) => react_j
|
|
|
434
481
|
declare function Spinner({ className, ...props }: LucideProps): react_jsx_runtime.JSX.Element;
|
|
435
482
|
|
|
436
483
|
declare const deliveryIndicatorVariants: (props?: ({
|
|
437
|
-
status?: "
|
|
484
|
+
status?: "critical" | "on-time" | "delayed" | "pending" | null | undefined;
|
|
438
485
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
439
486
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
440
487
|
type DeliveryStatus = "on-time" | "delayed" | "critical" | "pending";
|
|
@@ -1364,6 +1411,35 @@ interface WeekDetailDialogProps {
|
|
|
1364
1411
|
*/
|
|
1365
1412
|
declare function WeekDetailDialog({ open, onOpenChange, supplier, week, data, onProgressUpdate, onAddProductionComment, onAddDeliveryComment, }: WeekDetailDialogProps): react_jsx_runtime.JSX.Element | null;
|
|
1366
1413
|
|
|
1414
|
+
interface WeekDetailSheetProps {
|
|
1415
|
+
/** Whether the sheet is open */
|
|
1416
|
+
open: boolean;
|
|
1417
|
+
/** Callback when sheet open state changes */
|
|
1418
|
+
onOpenChange: (open: boolean) => void;
|
|
1419
|
+
/** Supplier data */
|
|
1420
|
+
supplier: Supplier | null;
|
|
1421
|
+
/** Week data */
|
|
1422
|
+
week: Week | null;
|
|
1423
|
+
/** Week cell data */
|
|
1424
|
+
data: WeekCellData | null;
|
|
1425
|
+
/** Callback when production elements are updated */
|
|
1426
|
+
onProductionUpdate?: (supplierId: string, weekKey: string, producedElementIds: string[]) => void;
|
|
1427
|
+
/** Callback when a production comment is added */
|
|
1428
|
+
onAddProductionComment?: (supplierId: string, weekKey: string, text: string) => void;
|
|
1429
|
+
/** Callback when a delivery comment is added */
|
|
1430
|
+
onAddDeliveryComment?: (supplierId: string, weekKey: string, deliveryId: string, text: string) => void;
|
|
1431
|
+
}
|
|
1432
|
+
/**
|
|
1433
|
+
* Sheet component for displaying detailed week information.
|
|
1434
|
+
* Uses stack navigation pattern for delivery drilldown.
|
|
1435
|
+
*
|
|
1436
|
+
* NEW: Production progress tracked by elements (not tons)
|
|
1437
|
+
*
|
|
1438
|
+
* View A: Main (Production progress + Deliveries list)
|
|
1439
|
+
* View B: Delivery Details (Quantum DataTable, read-only)
|
|
1440
|
+
*/
|
|
1441
|
+
declare function WeekDetailSheet({ open, onOpenChange, supplier, week, data, onProductionUpdate, onAddProductionComment, onAddDeliveryComment, }: WeekDetailSheetProps): react_jsx_runtime.JSX.Element | null;
|
|
1442
|
+
|
|
1367
1443
|
/**
|
|
1368
1444
|
* Generate the supplier column definition
|
|
1369
1445
|
*/
|
|
@@ -1876,8 +1952,10 @@ interface LoadingDelivery {
|
|
|
1876
1952
|
prefixScope?: string;
|
|
1877
1953
|
/** Delivery status */
|
|
1878
1954
|
status: LoadingDeliveryStatus;
|
|
1879
|
-
/** Destination */
|
|
1955
|
+
/** Project/Destination name (e.g., "Kållered Köpstad") */
|
|
1880
1956
|
destination?: string;
|
|
1957
|
+
/** Location/City (e.g., "Gothenburg") */
|
|
1958
|
+
location?: string;
|
|
1881
1959
|
/** Elements to load */
|
|
1882
1960
|
elements: LoadingElement[];
|
|
1883
1961
|
/** Pre-loading comments */
|
|
@@ -2058,19 +2136,19 @@ interface DeliveryCardProps {
|
|
|
2058
2136
|
className?: string;
|
|
2059
2137
|
}
|
|
2060
2138
|
/**
|
|
2061
|
-
* DeliveryCard -
|
|
2139
|
+
* DeliveryCard - Simplified touch-first card for displaying a delivery.
|
|
2140
|
+
*
|
|
2141
|
+
* Shows only:
|
|
2142
|
+
* - Project name as title (destination or label)
|
|
2143
|
+
* - Status indicator (left stroke + text for shipped/ready)
|
|
2144
|
+
* - Comment indicator with notification dot
|
|
2145
|
+
* - Chevron for drilldown
|
|
2062
2146
|
*
|
|
2063
|
-
* Matches
|
|
2147
|
+
* Matches Quantum design:
|
|
2064
2148
|
* - Full-width (no max-width)
|
|
2065
2149
|
* - 90° corners (j3m.radius.none = rounded-none)
|
|
2066
|
-
* - Left stroke
|
|
2150
|
+
* - Left stroke for status (j3m.stroke.m = 3px)
|
|
2067
2151
|
* - 56px min-height for iPad tap targets
|
|
2068
|
-
*
|
|
2069
|
-
* Visual States (left stroke):
|
|
2070
|
-
* - Sent: Green stroke (subtle) + greyed content + checkmark
|
|
2071
|
-
* - Ready: Green stroke + "Ready" badge
|
|
2072
|
-
* - Risk: Red stroke (same as Calibration)
|
|
2073
|
-
* - Normal: Transparent stroke (border on hover)
|
|
2074
2152
|
*/
|
|
2075
2153
|
declare function DeliveryCard({ delivery, onTap, className, }: DeliveryCardProps): react_jsx_runtime.JSX.Element;
|
|
2076
2154
|
|
|
@@ -2085,29 +2163,29 @@ interface DeliveryBadgeProps {
|
|
|
2085
2163
|
className?: string;
|
|
2086
2164
|
}
|
|
2087
2165
|
/**
|
|
2088
|
-
* DeliveryBadge -
|
|
2166
|
+
* DeliveryBadge - Simplified touch-first card for weekly grid view
|
|
2089
2167
|
*
|
|
2090
|
-
*
|
|
2091
|
-
*
|
|
2092
|
-
*
|
|
2168
|
+
* Shows only:
|
|
2169
|
+
* - Project name as title (destination or label)
|
|
2170
|
+
* - Status indicator (left stroke + footer for shipped/ready)
|
|
2171
|
+
* - Comment button with notification dot
|
|
2093
2172
|
*
|
|
2094
2173
|
* Spacing using Quantum tokens:
|
|
2095
|
-
* - Card min-height: min-h-[
|
|
2174
|
+
* - Card min-height: min-h-[72px] (compact)
|
|
2096
2175
|
* - Padding: p-4 (j3m.spacing.m = 16px)
|
|
2097
|
-
* -
|
|
2098
|
-
* - Intra-row gap: gap-2 (j3m.spacing.xs = 8px) - tighter within rows
|
|
2176
|
+
* - Gap: gap-2 (j3m.spacing.xs = 8px)
|
|
2099
2177
|
*/
|
|
2100
2178
|
declare function DeliveryBadge({ delivery, onClick, onCommentClick, className, }: DeliveryBadgeProps): react_jsx_runtime.JSX.Element;
|
|
2101
2179
|
|
|
2102
2180
|
/**
|
|
2103
2181
|
* DeliveryDetailPage - Touch-first detail page for a delivery
|
|
2104
2182
|
*
|
|
2105
|
-
*
|
|
2106
|
-
* -
|
|
2107
|
-
* -
|
|
2108
|
-
*
|
|
2109
|
-
* - Pre-loading notes
|
|
2110
|
-
* -
|
|
2183
|
+
* Layout (top → bottom):
|
|
2184
|
+
* A) Timeline section - Document → Production → Delivery
|
|
2185
|
+
* B) Readiness message - Explains why ready (or not)
|
|
2186
|
+
* C) Elements list - What should be packed
|
|
2187
|
+
* D) Notes / comments - Pre-loading notes
|
|
2188
|
+
* E) Primary CTA - Start loading button
|
|
2111
2189
|
*/
|
|
2112
2190
|
declare function DeliveryDetailPage({ delivery, week, suppliers, userRole, currentSupplierId, onBack, onAddComment, onConfirmLoad, }: DeliveryDetailPageProps): react_jsx_runtime.JSX.Element;
|
|
2113
2191
|
|
|
@@ -2130,11 +2208,14 @@ interface WeeklyLoadingViewProps {
|
|
|
2130
2208
|
/**
|
|
2131
2209
|
* WeeklyLoadingView - Clean weekly view with day columns
|
|
2132
2210
|
*
|
|
2133
|
-
* Layout
|
|
2211
|
+
* Layout:
|
|
2212
|
+
* - Pending/actionable deliveries shown first (default visible)
|
|
2213
|
+
* - Shipped deliveries collapsed by default under "Shipped (N)" toggle
|
|
2214
|
+
* - Per-day collapse state persists during session
|
|
2215
|
+
*
|
|
2216
|
+
* Spacing tokens:
|
|
2134
2217
|
* - Columns = Mon-Fri (no vertical dividers)
|
|
2135
|
-
* -
|
|
2136
|
-
* - Each column contains stacked delivery cards with gap-3 (j3m.spacing.s = 12px)
|
|
2137
|
-
* - Content-sized grid
|
|
2218
|
+
* - Cards stack with gap-3 (j3m.spacing.s = 12px)
|
|
2138
2219
|
*/
|
|
2139
2220
|
declare function WeeklyLoadingView({ week, deliveries, onDeliveryClick, onWeekChange, onDeliveryCommentClick, showNavigation, className, }: WeeklyLoadingViewProps): react_jsx_runtime.JSX.Element;
|
|
2140
2221
|
|
|
@@ -2951,4 +3032,4 @@ type KanbanProviderProps<T extends KanbanItemProps = KanbanItemProps, C extends
|
|
|
2951
3032
|
};
|
|
2952
3033
|
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;
|
|
2953
3034
|
|
|
2954
|
-
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, 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, 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, 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 DeliveryStatus, type DeliveryVisualState, 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, 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, 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, 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, Map$1 as Map, MapMarker, type MapMarkerProps, MapPopup, type MapPopupProps, type MapProps, MapTileLayer, type MapTileLayerProps, MapTooltip, type MapTooltipProps, MapZoomControl, type MapZoomControlProps, 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, NavUser, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NetBadge, type NetBadgeProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, 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 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, Skeleton, Slider, Spinner, 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, WeekCell, type WeekCellData, type WeekCellProps, WeekDetailDialog, type WeekDetailDialogProps, WeekHeader, type WeekHeaderProps, WeekView, type WeekViewProps, WeeklyLoadingView, type WeeklyLoadingViewProps, YearView, type YearViewProps, badgeVariants, buttonGroupVariants, buttonVariants, calculateCalibrationCells, calculateDropDates, calculateMonthEventPositions, canSubmitCalibration, cardVariants, createDefaultEvent, deliveryIndicatorVariants, extractPrefixes, formatCalibrationUnit, formatDateRange, formatProductionUnit, formatTime, generateColumns, generateEventId, generateLoadingWeek, generateLocationOptions, generateWeekColumns, generateWeeks, getCalendarCells, getCommentLocationLabel, getCurrentEvents, getDayHours, getDayLabel, getDeliveryVisualState, getElementShipmentStatus, getEventBlockStyle, getEventDuration, getEventDurationMinutes, getEventsCount, getEventsForDate, getEventsInRange, getHeaderLabel, getISOWeek, getLoadingDeliveryStatusLabel, getLoadingElementStatusLabel, getLoadingISOWeek, getLoadingWeekKey, getMonthCellEvents, getMonthDays, getShipmentStatusLabel, getShortDayLabel, getSupplierColumn, getTimeHeight, getTimePosition, getViewDateRange, getVisibleHours, getWeekDayNames, getWeekDays, getWeekKey, getYearMonths, groupDeliveriesByDay, groupDeliveriesByPrefixAndDay, groupEvents, isMultiDayEvent, isWorkingHour, navigateDate, navigationMenuTriggerStyle, playerCanvasPlayButtonVariants, playerCanvasSkipButtonVariants, rangeText, sectionVariants, snapToInterval, sortEvents, splitEventsByDuration, toggleVariants, toolBarCanvasButtonVariants, useDrag, useDraggable, useDroppable, useEventCalendar, useEventsInRange, useFilteredEvents, useFormField, useGanttDragging, useGanttScrollX, useIsMobile, useSearchShortcut, useSidebar };
|
|
3035
|
+
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, 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, 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, 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 DeliveryStatus, type DeliveryVisualState, 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, 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, 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, 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, Map$1 as Map, MapMarker, type MapMarkerProps, MapPopup, type MapPopupProps, type MapProps, MapTileLayer, type MapTileLayerProps, MapTooltip, type MapTooltipProps, MapZoomControl, type MapZoomControlProps, 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, NavUser, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, NetBadge, type NetBadgeProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, 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 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, 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, WeekCell, type WeekCellData, type WeekCellProps, WeekDetailDialog, type WeekDetailDialogProps, WeekDetailSheet, type WeekDetailSheetProps, WeekHeader, type WeekHeaderProps, WeekView, type WeekViewProps, WeeklyLoadingView, type WeeklyLoadingViewProps, YearView, type YearViewProps, badgeVariants, buttonGroupVariants, buttonVariants, calculateCalibrationCells, calculateDropDates, calculateMonthEventPositions, canSubmitCalibration, cardVariants, createDefaultEvent, deliveryIndicatorVariants, extractPrefixes, formatCalibrationUnit, formatDateRange, formatProductionUnit, formatTime, generateColumns, generateEventId, generateLoadingWeek, generateLocationOptions, generateWeekColumns, generateWeeks, getCalendarCells, getCommentLocationLabel, getCurrentEvents, getDayHours, getDayLabel, getDeliveryVisualState, getElementShipmentStatus, getEventBlockStyle, getEventDuration, getEventDurationMinutes, getEventsCount, getEventsForDate, getEventsInRange, getHeaderLabel, getISOWeek, getLoadingDeliveryStatusLabel, getLoadingElementStatusLabel, getLoadingISOWeek, getLoadingWeekKey, getMonthCellEvents, getMonthDays, getShipmentStatusLabel, getShortDayLabel, getSupplierColumn, getTimeHeight, getTimePosition, getViewDateRange, getVisibleHours, getWeekDayNames, getWeekDays, getWeekKey, getYearMonths, groupDeliveriesByDay, groupDeliveriesByPrefixAndDay, groupEvents, isMultiDayEvent, isWorkingHour, navigateDate, navigationMenuTriggerStyle, playerCanvasPlayButtonVariants, playerCanvasSkipButtonVariants, rangeText, sectionVariants, snapToInterval, sortEvents, splitEventsByDuration, toggleVariants, toolBarCanvasButtonVariants, useDrag, useDraggable, useDroppable, useEventCalendar, useEventsInRange, useFilteredEvents, useFormField, useGanttDragging, useGanttScrollX, useIsMobile, useSearchShortcut, useSidebar };
|