@j3m-quantum/ui 1.8.0 → 1.10.0
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/README.md +100 -0
- package/dist/index.cjs +386 -177
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +145 -14
- package/dist/index.d.ts +145 -14
- package/dist/index.js +381 -178
- package/dist/index.js.map +1 -1
- package/dist/styles/index.css +2 -0
- package/package.json +15 -2
package/dist/index.d.cts
CHANGED
|
@@ -38,6 +38,7 @@ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
|
38
38
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
39
39
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
40
40
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
41
|
+
import { MapContainerProps, TileLayerProps, MarkerProps, PopupProps, TooltipProps, ZoomControlProps } from 'react-leaflet';
|
|
41
42
|
import { Column, Table as Table$1, ColumnDef } from '@tanstack/react-table';
|
|
42
43
|
export { Column, ColumnDef, ColumnFiltersState, Table as DataTable, Row, SortingState, VisibilityState, flexRender, getCoreRowModel, getFilteredRowModel, getPaginationRowModel, getSortedRowModel, useReactTable } from '@tanstack/react-table';
|
|
43
44
|
export { areIntervalsOverlapping, format, getDay, isSameDay, isSameMonth, isToday, parseISO } from 'date-fns';
|
|
@@ -735,6 +736,133 @@ declare const SectionDescription: React$1.ForwardRefExoticComponent<React$1.HTML
|
|
|
735
736
|
declare const SectionContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
736
737
|
declare const SectionFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
737
738
|
|
|
739
|
+
interface MapProps extends Omit<MapContainerProps, "center" | "zoom"> {
|
|
740
|
+
/** Map center coordinates [latitude, longitude] */
|
|
741
|
+
center: [number, number];
|
|
742
|
+
/** Initial zoom level (0-18) */
|
|
743
|
+
zoom?: number;
|
|
744
|
+
/** Additional class names for the map container */
|
|
745
|
+
className?: string;
|
|
746
|
+
/** Map content (TileLayer, Markers, etc.) */
|
|
747
|
+
children?: React$1.ReactNode;
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
* Map - Leaflet-based map component for Quantum UI
|
|
751
|
+
*
|
|
752
|
+
* A wrapper around react-leaflet's MapContainer with Quantum styling.
|
|
753
|
+
* Requires explicit height on the container (via className or style).
|
|
754
|
+
*
|
|
755
|
+
* IMPORTANT: Consumer must import "leaflet/dist/leaflet.css" and handle
|
|
756
|
+
* browser-only rendering (e.g., via React.lazy or dynamic import).
|
|
757
|
+
*
|
|
758
|
+
* @example
|
|
759
|
+
* ```tsx
|
|
760
|
+
* import "leaflet/dist/leaflet.css"
|
|
761
|
+
*
|
|
762
|
+
* <Map center={[57.7089, 11.9746]} zoom={12} className="h-[400px]">
|
|
763
|
+
* <MapTileLayer />
|
|
764
|
+
* <MapMarker position={[57.7089, 11.9746]}>
|
|
765
|
+
* <MapPopup>Hello!</MapPopup>
|
|
766
|
+
* </MapMarker>
|
|
767
|
+
* </Map>
|
|
768
|
+
* ```
|
|
769
|
+
*/
|
|
770
|
+
declare function Map$1({ center, zoom, className, children, ...props }: MapProps): react_jsx_runtime.JSX.Element;
|
|
771
|
+
|
|
772
|
+
interface MapTileLayerProps extends Partial<TileLayerProps> {
|
|
773
|
+
/** Tile layer variant */
|
|
774
|
+
variant?: "default" | "dark" | "satellite";
|
|
775
|
+
}
|
|
776
|
+
/**
|
|
777
|
+
* MapTileLayer - Tile layer for the Map component
|
|
778
|
+
*
|
|
779
|
+
* Provides different tile variants:
|
|
780
|
+
* - default: OpenStreetMap standard tiles
|
|
781
|
+
* - dark: Carto dark basemap (good for dark mode)
|
|
782
|
+
* - satellite: Esri satellite imagery
|
|
783
|
+
*
|
|
784
|
+
* @example
|
|
785
|
+
* ```tsx
|
|
786
|
+
* <Map center={[57.7089, 11.9746]} zoom={12}>
|
|
787
|
+
* <MapTileLayer variant="default" />
|
|
788
|
+
* </Map>
|
|
789
|
+
* ```
|
|
790
|
+
*/
|
|
791
|
+
declare function MapTileLayer({ variant, ...props }: MapTileLayerProps): react_jsx_runtime.JSX.Element;
|
|
792
|
+
|
|
793
|
+
interface MapMarkerProps extends Omit<MarkerProps, "position"> {
|
|
794
|
+
/** Marker position [latitude, longitude] */
|
|
795
|
+
position: [number, number];
|
|
796
|
+
/** Marker content (Popup, Tooltip, etc.) */
|
|
797
|
+
children?: React$1.ReactNode;
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* MapMarker - Marker component for the Map
|
|
801
|
+
*
|
|
802
|
+
* Renders a marker at the specified position. Can contain Popup or Tooltip children.
|
|
803
|
+
*
|
|
804
|
+
* @example
|
|
805
|
+
* ```tsx
|
|
806
|
+
* <MapMarker position={[57.7089, 11.9746]}>
|
|
807
|
+
* <MapPopup>Hello from Gothenburg!</MapPopup>
|
|
808
|
+
* </MapMarker>
|
|
809
|
+
* ```
|
|
810
|
+
*/
|
|
811
|
+
declare function MapMarker({ position, children, ...props }: MapMarkerProps): react_jsx_runtime.JSX.Element;
|
|
812
|
+
interface MapPopupProps extends PopupProps {
|
|
813
|
+
/** Popup content */
|
|
814
|
+
children?: React$1.ReactNode;
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* MapPopup - Popup component for MapMarker
|
|
818
|
+
*
|
|
819
|
+
* Displays a popup when the marker is clicked.
|
|
820
|
+
*
|
|
821
|
+
* @example
|
|
822
|
+
* ```tsx
|
|
823
|
+
* <MapMarker position={[57.7089, 11.9746]}>
|
|
824
|
+
* <MapPopup>
|
|
825
|
+
* <h3>Gothenburg</h3>
|
|
826
|
+
* <p>Sweden's second largest city</p>
|
|
827
|
+
* </MapPopup>
|
|
828
|
+
* </MapMarker>
|
|
829
|
+
* ```
|
|
830
|
+
*/
|
|
831
|
+
declare function MapPopup({ children, ...props }: MapPopupProps): react_jsx_runtime.JSX.Element;
|
|
832
|
+
interface MapTooltipProps extends TooltipProps {
|
|
833
|
+
/** Tooltip content */
|
|
834
|
+
children?: React$1.ReactNode;
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* MapTooltip - Tooltip component for MapMarker
|
|
838
|
+
*
|
|
839
|
+
* Displays a tooltip on hover.
|
|
840
|
+
*
|
|
841
|
+
* @example
|
|
842
|
+
* ```tsx
|
|
843
|
+
* <MapMarker position={[57.7089, 11.9746]}>
|
|
844
|
+
* <MapTooltip>Gothenburg</MapTooltip>
|
|
845
|
+
* </MapMarker>
|
|
846
|
+
* ```
|
|
847
|
+
*/
|
|
848
|
+
declare function MapTooltip({ children, ...props }: MapTooltipProps): react_jsx_runtime.JSX.Element;
|
|
849
|
+
interface MapZoomControlProps extends ZoomControlProps {
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* MapZoomControl - Zoom control component for the Map
|
|
853
|
+
*
|
|
854
|
+
* Renders zoom in/out buttons. By default positioned top-right.
|
|
855
|
+
* Note: MapContainer has built-in zoom controls, use this only if you need custom positioning.
|
|
856
|
+
*
|
|
857
|
+
* @example
|
|
858
|
+
* ```tsx
|
|
859
|
+
* <Map center={[57.7089, 11.9746]} zoom={12} zoomControl={false}>
|
|
860
|
+
* <MapZoomControl position="bottomright" />
|
|
861
|
+
* </Map>
|
|
862
|
+
* ```
|
|
863
|
+
*/
|
|
864
|
+
declare function MapZoomControl(props: MapZoomControlProps): react_jsx_runtime.JSX.Element;
|
|
865
|
+
|
|
738
866
|
interface DataTableColumnHeaderProps<TData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
|
|
739
867
|
column: Column<TData, TValue>;
|
|
740
868
|
title: string;
|
|
@@ -1634,7 +1762,7 @@ declare function SubmitCalibrationBar({ className, status, lastSaved, canSubmit,
|
|
|
1634
1762
|
* Types for the Supplier Weekly Loading (iPad) block
|
|
1635
1763
|
*
|
|
1636
1764
|
* A touch-first weekly view for suppliers to view deliveries
|
|
1637
|
-
* and add pre-
|
|
1765
|
+
* and add pre-loading comments.
|
|
1638
1766
|
*/
|
|
1639
1767
|
/**
|
|
1640
1768
|
* User role for role-based access control
|
|
@@ -1659,7 +1787,7 @@ declare function getLoadingDeliveryStatusLabel(status: LoadingDeliveryStatus): s
|
|
|
1659
1787
|
/**
|
|
1660
1788
|
* Visual state for delivery cards (3-state model)
|
|
1661
1789
|
* - sent: Greyed out with checkmark (shipped/delivered)
|
|
1662
|
-
* - ready: Highlighted as ready to
|
|
1790
|
+
* - ready: Highlighted as ready to load
|
|
1663
1791
|
* - normal: Default neutral state
|
|
1664
1792
|
*/
|
|
1665
1793
|
type DeliveryVisualState = "sent" | "ready" | "normal";
|
|
@@ -1697,11 +1825,11 @@ interface LoadingElement {
|
|
|
1697
1825
|
originalDeliveryLabel?: string;
|
|
1698
1826
|
}
|
|
1699
1827
|
/**
|
|
1700
|
-
* Comment context for pre-
|
|
1828
|
+
* Comment context for pre-loading notes
|
|
1701
1829
|
*/
|
|
1702
1830
|
type CommentContext = "pre_unloading" | "general";
|
|
1703
1831
|
/**
|
|
1704
|
-
* A comment attached to a delivery (pre-
|
|
1832
|
+
* A comment attached to a delivery (pre-loading)
|
|
1705
1833
|
*/
|
|
1706
1834
|
interface LoadingComment {
|
|
1707
1835
|
/** Unique identifier */
|
|
@@ -1749,7 +1877,7 @@ interface LoadingDelivery {
|
|
|
1749
1877
|
destination?: string;
|
|
1750
1878
|
/** Elements to load */
|
|
1751
1879
|
elements: LoadingElement[];
|
|
1752
|
-
/** Pre-
|
|
1880
|
+
/** Pre-loading comments */
|
|
1753
1881
|
comments: LoadingComment[];
|
|
1754
1882
|
/** Number loaded (if loading has started) */
|
|
1755
1883
|
loadedCount?: number;
|
|
@@ -1948,6 +2076,8 @@ interface DeliveryBadgeProps {
|
|
|
1948
2076
|
delivery: LoadingDelivery;
|
|
1949
2077
|
/** Callback when badge is clicked */
|
|
1950
2078
|
onClick?: () => void;
|
|
2079
|
+
/** Callback when comment button is clicked */
|
|
2080
|
+
onCommentClick?: () => void;
|
|
1951
2081
|
/** Additional class names */
|
|
1952
2082
|
className?: string;
|
|
1953
2083
|
}
|
|
@@ -1956,14 +2086,15 @@ interface DeliveryBadgeProps {
|
|
|
1956
2086
|
*
|
|
1957
2087
|
* Card title = prefixes carried (e.g., "TF · WP · CF")
|
|
1958
2088
|
* Factory icon + progress bar for production readiness
|
|
2089
|
+
* Comment button in top-right corner (44px touch target)
|
|
1959
2090
|
*
|
|
1960
2091
|
* Spacing using Quantum tokens:
|
|
1961
|
-
* - Card height: h-[
|
|
1962
|
-
* - Padding:
|
|
2092
|
+
* - Card min-height: min-h-[100px]
|
|
2093
|
+
* - Padding: p-4 (j3m.spacing.m = 16px)
|
|
1963
2094
|
* - Row gap: gap-3 (j3m.spacing.s = 12px) - breathing room between title and progress
|
|
1964
2095
|
* - Intra-row gap: gap-2 (j3m.spacing.xs = 8px) - tighter within rows
|
|
1965
2096
|
*/
|
|
1966
|
-
declare function DeliveryBadge({ delivery, onClick, className, }: DeliveryBadgeProps): react_jsx_runtime.JSX.Element;
|
|
2097
|
+
declare function DeliveryBadge({ delivery, onClick, onCommentClick, className, }: DeliveryBadgeProps): react_jsx_runtime.JSX.Element;
|
|
1967
2098
|
|
|
1968
2099
|
/**
|
|
1969
2100
|
* DeliveryDetailPage - Touch-first detail page for a delivery
|
|
@@ -1972,7 +2103,7 @@ declare function DeliveryBadge({ delivery, onClick, className, }: DeliveryBadgeP
|
|
|
1972
2103
|
* - Delivery summary with visual state (sent/ready/normal)
|
|
1973
2104
|
* - Production progress with risk indicators
|
|
1974
2105
|
* - Elements table (view-only)
|
|
1975
|
-
* - Pre-
|
|
2106
|
+
* - Pre-loading notes (Dialog for adding - no "Applies to" selector)
|
|
1976
2107
|
* - Actions (Confirm load)
|
|
1977
2108
|
*/
|
|
1978
2109
|
declare function DeliveryDetailPage({ delivery, week, suppliers, userRole, currentSupplierId, onBack, onAddComment, onConfirmLoad, }: DeliveryDetailPageProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1986,8 +2117,8 @@ interface WeeklyLoadingViewProps {
|
|
|
1986
2117
|
onDeliveryClick?: (delivery: LoadingDelivery) => void;
|
|
1987
2118
|
/** Callback for week navigation (optional) */
|
|
1988
2119
|
onWeekChange?: (direction: "prev" | "next") => void;
|
|
1989
|
-
/** Callback when
|
|
1990
|
-
|
|
2120
|
+
/** Callback when delivery comment button is clicked */
|
|
2121
|
+
onDeliveryCommentClick?: (delivery: LoadingDelivery) => void;
|
|
1991
2122
|
/** Show week navigation controls */
|
|
1992
2123
|
showNavigation?: boolean;
|
|
1993
2124
|
/** Additional class names */
|
|
@@ -1998,11 +2129,11 @@ interface WeeklyLoadingViewProps {
|
|
|
1998
2129
|
*
|
|
1999
2130
|
* Layout using Quantum spacing tokens:
|
|
2000
2131
|
* - Columns = Mon-Fri (no vertical dividers)
|
|
2001
|
-
* -
|
|
2132
|
+
* - Clean day headers (no comment controls)
|
|
2002
2133
|
* - Each column contains stacked delivery cards with gap-3 (j3m.spacing.s = 12px)
|
|
2003
2134
|
* - Content-sized grid
|
|
2004
2135
|
*/
|
|
2005
|
-
declare function WeeklyLoadingView({ week, deliveries, onDeliveryClick, onWeekChange,
|
|
2136
|
+
declare function WeeklyLoadingView({ week, deliveries, onDeliveryClick, onWeekChange, onDeliveryCommentClick, showNavigation, className, }: WeeklyLoadingViewProps): react_jsx_runtime.JSX.Element;
|
|
2006
2137
|
|
|
2007
2138
|
/**
|
|
2008
2139
|
* Event Calendar Types
|
|
@@ -2576,4 +2707,4 @@ interface BigCalendarProps extends Omit<EventCalendarProviderProps, "children">
|
|
|
2576
2707
|
}
|
|
2577
2708
|
declare function BigCalendar({ className, compact, bordered, showHeader, showAddButton, showSettings, enableDragDrop, weekStartsOn, maxEventsPerDay, config, ...providerProps }: BigCalendarProps): react_jsx_runtime.JSX.Element;
|
|
2578
2709
|
|
|
2579
|
-
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, 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, 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, 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, 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, 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, useIsMobile, useSearchShortcut, useSidebar };
|
|
2710
|
+
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, 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, 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, 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, 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, useIsMobile, useSearchShortcut, useSidebar };
|
package/dist/index.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
|
38
38
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
39
39
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
40
40
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
41
|
+
import { MapContainerProps, TileLayerProps, MarkerProps, PopupProps, TooltipProps, ZoomControlProps } from 'react-leaflet';
|
|
41
42
|
import { Column, Table as Table$1, ColumnDef } from '@tanstack/react-table';
|
|
42
43
|
export { Column, ColumnDef, ColumnFiltersState, Table as DataTable, Row, SortingState, VisibilityState, flexRender, getCoreRowModel, getFilteredRowModel, getPaginationRowModel, getSortedRowModel, useReactTable } from '@tanstack/react-table';
|
|
43
44
|
export { areIntervalsOverlapping, format, getDay, isSameDay, isSameMonth, isToday, parseISO } from 'date-fns';
|
|
@@ -735,6 +736,133 @@ declare const SectionDescription: React$1.ForwardRefExoticComponent<React$1.HTML
|
|
|
735
736
|
declare const SectionContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
736
737
|
declare const SectionFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
737
738
|
|
|
739
|
+
interface MapProps extends Omit<MapContainerProps, "center" | "zoom"> {
|
|
740
|
+
/** Map center coordinates [latitude, longitude] */
|
|
741
|
+
center: [number, number];
|
|
742
|
+
/** Initial zoom level (0-18) */
|
|
743
|
+
zoom?: number;
|
|
744
|
+
/** Additional class names for the map container */
|
|
745
|
+
className?: string;
|
|
746
|
+
/** Map content (TileLayer, Markers, etc.) */
|
|
747
|
+
children?: React$1.ReactNode;
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
* Map - Leaflet-based map component for Quantum UI
|
|
751
|
+
*
|
|
752
|
+
* A wrapper around react-leaflet's MapContainer with Quantum styling.
|
|
753
|
+
* Requires explicit height on the container (via className or style).
|
|
754
|
+
*
|
|
755
|
+
* IMPORTANT: Consumer must import "leaflet/dist/leaflet.css" and handle
|
|
756
|
+
* browser-only rendering (e.g., via React.lazy or dynamic import).
|
|
757
|
+
*
|
|
758
|
+
* @example
|
|
759
|
+
* ```tsx
|
|
760
|
+
* import "leaflet/dist/leaflet.css"
|
|
761
|
+
*
|
|
762
|
+
* <Map center={[57.7089, 11.9746]} zoom={12} className="h-[400px]">
|
|
763
|
+
* <MapTileLayer />
|
|
764
|
+
* <MapMarker position={[57.7089, 11.9746]}>
|
|
765
|
+
* <MapPopup>Hello!</MapPopup>
|
|
766
|
+
* </MapMarker>
|
|
767
|
+
* </Map>
|
|
768
|
+
* ```
|
|
769
|
+
*/
|
|
770
|
+
declare function Map$1({ center, zoom, className, children, ...props }: MapProps): react_jsx_runtime.JSX.Element;
|
|
771
|
+
|
|
772
|
+
interface MapTileLayerProps extends Partial<TileLayerProps> {
|
|
773
|
+
/** Tile layer variant */
|
|
774
|
+
variant?: "default" | "dark" | "satellite";
|
|
775
|
+
}
|
|
776
|
+
/**
|
|
777
|
+
* MapTileLayer - Tile layer for the Map component
|
|
778
|
+
*
|
|
779
|
+
* Provides different tile variants:
|
|
780
|
+
* - default: OpenStreetMap standard tiles
|
|
781
|
+
* - dark: Carto dark basemap (good for dark mode)
|
|
782
|
+
* - satellite: Esri satellite imagery
|
|
783
|
+
*
|
|
784
|
+
* @example
|
|
785
|
+
* ```tsx
|
|
786
|
+
* <Map center={[57.7089, 11.9746]} zoom={12}>
|
|
787
|
+
* <MapTileLayer variant="default" />
|
|
788
|
+
* </Map>
|
|
789
|
+
* ```
|
|
790
|
+
*/
|
|
791
|
+
declare function MapTileLayer({ variant, ...props }: MapTileLayerProps): react_jsx_runtime.JSX.Element;
|
|
792
|
+
|
|
793
|
+
interface MapMarkerProps extends Omit<MarkerProps, "position"> {
|
|
794
|
+
/** Marker position [latitude, longitude] */
|
|
795
|
+
position: [number, number];
|
|
796
|
+
/** Marker content (Popup, Tooltip, etc.) */
|
|
797
|
+
children?: React$1.ReactNode;
|
|
798
|
+
}
|
|
799
|
+
/**
|
|
800
|
+
* MapMarker - Marker component for the Map
|
|
801
|
+
*
|
|
802
|
+
* Renders a marker at the specified position. Can contain Popup or Tooltip children.
|
|
803
|
+
*
|
|
804
|
+
* @example
|
|
805
|
+
* ```tsx
|
|
806
|
+
* <MapMarker position={[57.7089, 11.9746]}>
|
|
807
|
+
* <MapPopup>Hello from Gothenburg!</MapPopup>
|
|
808
|
+
* </MapMarker>
|
|
809
|
+
* ```
|
|
810
|
+
*/
|
|
811
|
+
declare function MapMarker({ position, children, ...props }: MapMarkerProps): react_jsx_runtime.JSX.Element;
|
|
812
|
+
interface MapPopupProps extends PopupProps {
|
|
813
|
+
/** Popup content */
|
|
814
|
+
children?: React$1.ReactNode;
|
|
815
|
+
}
|
|
816
|
+
/**
|
|
817
|
+
* MapPopup - Popup component for MapMarker
|
|
818
|
+
*
|
|
819
|
+
* Displays a popup when the marker is clicked.
|
|
820
|
+
*
|
|
821
|
+
* @example
|
|
822
|
+
* ```tsx
|
|
823
|
+
* <MapMarker position={[57.7089, 11.9746]}>
|
|
824
|
+
* <MapPopup>
|
|
825
|
+
* <h3>Gothenburg</h3>
|
|
826
|
+
* <p>Sweden's second largest city</p>
|
|
827
|
+
* </MapPopup>
|
|
828
|
+
* </MapMarker>
|
|
829
|
+
* ```
|
|
830
|
+
*/
|
|
831
|
+
declare function MapPopup({ children, ...props }: MapPopupProps): react_jsx_runtime.JSX.Element;
|
|
832
|
+
interface MapTooltipProps extends TooltipProps {
|
|
833
|
+
/** Tooltip content */
|
|
834
|
+
children?: React$1.ReactNode;
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
* MapTooltip - Tooltip component for MapMarker
|
|
838
|
+
*
|
|
839
|
+
* Displays a tooltip on hover.
|
|
840
|
+
*
|
|
841
|
+
* @example
|
|
842
|
+
* ```tsx
|
|
843
|
+
* <MapMarker position={[57.7089, 11.9746]}>
|
|
844
|
+
* <MapTooltip>Gothenburg</MapTooltip>
|
|
845
|
+
* </MapMarker>
|
|
846
|
+
* ```
|
|
847
|
+
*/
|
|
848
|
+
declare function MapTooltip({ children, ...props }: MapTooltipProps): react_jsx_runtime.JSX.Element;
|
|
849
|
+
interface MapZoomControlProps extends ZoomControlProps {
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* MapZoomControl - Zoom control component for the Map
|
|
853
|
+
*
|
|
854
|
+
* Renders zoom in/out buttons. By default positioned top-right.
|
|
855
|
+
* Note: MapContainer has built-in zoom controls, use this only if you need custom positioning.
|
|
856
|
+
*
|
|
857
|
+
* @example
|
|
858
|
+
* ```tsx
|
|
859
|
+
* <Map center={[57.7089, 11.9746]} zoom={12} zoomControl={false}>
|
|
860
|
+
* <MapZoomControl position="bottomright" />
|
|
861
|
+
* </Map>
|
|
862
|
+
* ```
|
|
863
|
+
*/
|
|
864
|
+
declare function MapZoomControl(props: MapZoomControlProps): react_jsx_runtime.JSX.Element;
|
|
865
|
+
|
|
738
866
|
interface DataTableColumnHeaderProps<TData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
|
|
739
867
|
column: Column<TData, TValue>;
|
|
740
868
|
title: string;
|
|
@@ -1634,7 +1762,7 @@ declare function SubmitCalibrationBar({ className, status, lastSaved, canSubmit,
|
|
|
1634
1762
|
* Types for the Supplier Weekly Loading (iPad) block
|
|
1635
1763
|
*
|
|
1636
1764
|
* A touch-first weekly view for suppliers to view deliveries
|
|
1637
|
-
* and add pre-
|
|
1765
|
+
* and add pre-loading comments.
|
|
1638
1766
|
*/
|
|
1639
1767
|
/**
|
|
1640
1768
|
* User role for role-based access control
|
|
@@ -1659,7 +1787,7 @@ declare function getLoadingDeliveryStatusLabel(status: LoadingDeliveryStatus): s
|
|
|
1659
1787
|
/**
|
|
1660
1788
|
* Visual state for delivery cards (3-state model)
|
|
1661
1789
|
* - sent: Greyed out with checkmark (shipped/delivered)
|
|
1662
|
-
* - ready: Highlighted as ready to
|
|
1790
|
+
* - ready: Highlighted as ready to load
|
|
1663
1791
|
* - normal: Default neutral state
|
|
1664
1792
|
*/
|
|
1665
1793
|
type DeliveryVisualState = "sent" | "ready" | "normal";
|
|
@@ -1697,11 +1825,11 @@ interface LoadingElement {
|
|
|
1697
1825
|
originalDeliveryLabel?: string;
|
|
1698
1826
|
}
|
|
1699
1827
|
/**
|
|
1700
|
-
* Comment context for pre-
|
|
1828
|
+
* Comment context for pre-loading notes
|
|
1701
1829
|
*/
|
|
1702
1830
|
type CommentContext = "pre_unloading" | "general";
|
|
1703
1831
|
/**
|
|
1704
|
-
* A comment attached to a delivery (pre-
|
|
1832
|
+
* A comment attached to a delivery (pre-loading)
|
|
1705
1833
|
*/
|
|
1706
1834
|
interface LoadingComment {
|
|
1707
1835
|
/** Unique identifier */
|
|
@@ -1749,7 +1877,7 @@ interface LoadingDelivery {
|
|
|
1749
1877
|
destination?: string;
|
|
1750
1878
|
/** Elements to load */
|
|
1751
1879
|
elements: LoadingElement[];
|
|
1752
|
-
/** Pre-
|
|
1880
|
+
/** Pre-loading comments */
|
|
1753
1881
|
comments: LoadingComment[];
|
|
1754
1882
|
/** Number loaded (if loading has started) */
|
|
1755
1883
|
loadedCount?: number;
|
|
@@ -1948,6 +2076,8 @@ interface DeliveryBadgeProps {
|
|
|
1948
2076
|
delivery: LoadingDelivery;
|
|
1949
2077
|
/** Callback when badge is clicked */
|
|
1950
2078
|
onClick?: () => void;
|
|
2079
|
+
/** Callback when comment button is clicked */
|
|
2080
|
+
onCommentClick?: () => void;
|
|
1951
2081
|
/** Additional class names */
|
|
1952
2082
|
className?: string;
|
|
1953
2083
|
}
|
|
@@ -1956,14 +2086,15 @@ interface DeliveryBadgeProps {
|
|
|
1956
2086
|
*
|
|
1957
2087
|
* Card title = prefixes carried (e.g., "TF · WP · CF")
|
|
1958
2088
|
* Factory icon + progress bar for production readiness
|
|
2089
|
+
* Comment button in top-right corner (44px touch target)
|
|
1959
2090
|
*
|
|
1960
2091
|
* Spacing using Quantum tokens:
|
|
1961
|
-
* - Card height: h-[
|
|
1962
|
-
* - Padding:
|
|
2092
|
+
* - Card min-height: min-h-[100px]
|
|
2093
|
+
* - Padding: p-4 (j3m.spacing.m = 16px)
|
|
1963
2094
|
* - Row gap: gap-3 (j3m.spacing.s = 12px) - breathing room between title and progress
|
|
1964
2095
|
* - Intra-row gap: gap-2 (j3m.spacing.xs = 8px) - tighter within rows
|
|
1965
2096
|
*/
|
|
1966
|
-
declare function DeliveryBadge({ delivery, onClick, className, }: DeliveryBadgeProps): react_jsx_runtime.JSX.Element;
|
|
2097
|
+
declare function DeliveryBadge({ delivery, onClick, onCommentClick, className, }: DeliveryBadgeProps): react_jsx_runtime.JSX.Element;
|
|
1967
2098
|
|
|
1968
2099
|
/**
|
|
1969
2100
|
* DeliveryDetailPage - Touch-first detail page for a delivery
|
|
@@ -1972,7 +2103,7 @@ declare function DeliveryBadge({ delivery, onClick, className, }: DeliveryBadgeP
|
|
|
1972
2103
|
* - Delivery summary with visual state (sent/ready/normal)
|
|
1973
2104
|
* - Production progress with risk indicators
|
|
1974
2105
|
* - Elements table (view-only)
|
|
1975
|
-
* - Pre-
|
|
2106
|
+
* - Pre-loading notes (Dialog for adding - no "Applies to" selector)
|
|
1976
2107
|
* - Actions (Confirm load)
|
|
1977
2108
|
*/
|
|
1978
2109
|
declare function DeliveryDetailPage({ delivery, week, suppliers, userRole, currentSupplierId, onBack, onAddComment, onConfirmLoad, }: DeliveryDetailPageProps): react_jsx_runtime.JSX.Element;
|
|
@@ -1986,8 +2117,8 @@ interface WeeklyLoadingViewProps {
|
|
|
1986
2117
|
onDeliveryClick?: (delivery: LoadingDelivery) => void;
|
|
1987
2118
|
/** Callback for week navigation (optional) */
|
|
1988
2119
|
onWeekChange?: (direction: "prev" | "next") => void;
|
|
1989
|
-
/** Callback when
|
|
1990
|
-
|
|
2120
|
+
/** Callback when delivery comment button is clicked */
|
|
2121
|
+
onDeliveryCommentClick?: (delivery: LoadingDelivery) => void;
|
|
1991
2122
|
/** Show week navigation controls */
|
|
1992
2123
|
showNavigation?: boolean;
|
|
1993
2124
|
/** Additional class names */
|
|
@@ -1998,11 +2129,11 @@ interface WeeklyLoadingViewProps {
|
|
|
1998
2129
|
*
|
|
1999
2130
|
* Layout using Quantum spacing tokens:
|
|
2000
2131
|
* - Columns = Mon-Fri (no vertical dividers)
|
|
2001
|
-
* -
|
|
2132
|
+
* - Clean day headers (no comment controls)
|
|
2002
2133
|
* - Each column contains stacked delivery cards with gap-3 (j3m.spacing.s = 12px)
|
|
2003
2134
|
* - Content-sized grid
|
|
2004
2135
|
*/
|
|
2005
|
-
declare function WeeklyLoadingView({ week, deliveries, onDeliveryClick, onWeekChange,
|
|
2136
|
+
declare function WeeklyLoadingView({ week, deliveries, onDeliveryClick, onWeekChange, onDeliveryCommentClick, showNavigation, className, }: WeeklyLoadingViewProps): react_jsx_runtime.JSX.Element;
|
|
2006
2137
|
|
|
2007
2138
|
/**
|
|
2008
2139
|
* Event Calendar Types
|
|
@@ -2576,4 +2707,4 @@ interface BigCalendarProps extends Omit<EventCalendarProviderProps, "children">
|
|
|
2576
2707
|
}
|
|
2577
2708
|
declare function BigCalendar({ className, compact, bordered, showHeader, showAddButton, showSettings, enableDragDrop, weekStartsOn, maxEventsPerDay, config, ...providerProps }: BigCalendarProps): react_jsx_runtime.JSX.Element;
|
|
2578
2709
|
|
|
2579
|
-
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, 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, 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, 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, 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, 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, useIsMobile, useSearchShortcut, useSidebar };
|
|
2710
|
+
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, 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, 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, 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, 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, useIsMobile, useSearchShortcut, useSidebar };
|