@underverse-ui/underverse 0.2.83 → 0.2.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -901,6 +901,145 @@ interface CalendarProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "de
901
901
  }
902
902
  declare function Calendar({ month, defaultMonth, onMonthChange, value, defaultValue, onSelect, selectMode, weekStartsOn, showWeekdays, showHeader, size, variant, events, renderDay, labels, className, display, months, showToday, showClear, minDate, maxDate, disabledDates, dense, animate, showEventBadges, highlightWeekends, ...rest }: CalendarProps): react_jsx_runtime.JSX.Element;
903
903
 
904
+ type CalendarTimelineView = "month" | "week" | "day";
905
+ type CalendarTimelineDateInput = Date | string | number;
906
+ interface CalendarTimelineGroup {
907
+ id: string;
908
+ label: React$1.ReactNode;
909
+ collapsible?: boolean;
910
+ }
911
+ interface CalendarTimelineResource<TMeta = unknown> {
912
+ id: string;
913
+ label: React$1.ReactNode;
914
+ groupId?: string;
915
+ meta?: TMeta;
916
+ disabled?: boolean;
917
+ }
918
+ interface CalendarTimelineEvent<TMeta = unknown> {
919
+ id: string;
920
+ resourceId: string;
921
+ start: CalendarTimelineDateInput;
922
+ end: CalendarTimelineDateInput;
923
+ title?: React$1.ReactNode;
924
+ color?: string;
925
+ className?: string;
926
+ meta?: TMeta;
927
+ draggable?: boolean;
928
+ resizable?: boolean;
929
+ }
930
+ interface CalendarTimelineLabels {
931
+ today?: string;
932
+ prev?: string;
933
+ next?: string;
934
+ month?: string;
935
+ week?: string;
936
+ day?: string;
937
+ expandGroup?: string;
938
+ collapseGroup?: string;
939
+ more?: (n: number) => string;
940
+ }
941
+ interface CalendarTimelineFormatters {
942
+ monthTitle?: (date: Date, ctx: {
943
+ locale: string;
944
+ timeZone: string;
945
+ }) => string;
946
+ slotHeader?: (slotStart: Date, ctx: {
947
+ view: CalendarTimelineView;
948
+ locale: string;
949
+ timeZone: string;
950
+ }) => React$1.ReactNode;
951
+ eventTime?: (args: {
952
+ start: Date;
953
+ end: Date;
954
+ locale: string;
955
+ timeZone: string;
956
+ view: CalendarTimelineView;
957
+ }) => string;
958
+ ariaEventLabel?: (event: CalendarTimelineEvent, ctx: {
959
+ locale: string;
960
+ timeZone: string;
961
+ }) => string;
962
+ ariaSlotLabel?: (slotStart: Date, ctx: {
963
+ view: CalendarTimelineView;
964
+ locale: string;
965
+ timeZone: string;
966
+ }) => string;
967
+ }
968
+ interface CalendarTimelineInteractions {
969
+ selectable?: boolean;
970
+ creatable?: boolean;
971
+ draggableEvents?: boolean;
972
+ resizableEvents?: boolean;
973
+ }
974
+ interface CalendarTimelineVirtualization {
975
+ enabled?: boolean;
976
+ overscan?: number;
977
+ }
978
+ interface CalendarTimelineProps<TResourceMeta = unknown, TEventMeta = unknown> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
979
+ resources: CalendarTimelineResource<TResourceMeta>[];
980
+ events: CalendarTimelineEvent<TEventMeta>[];
981
+ view?: CalendarTimelineView;
982
+ defaultView?: CalendarTimelineView;
983
+ onViewChange?: (view: CalendarTimelineView) => void;
984
+ date?: Date;
985
+ defaultDate?: Date;
986
+ onDateChange?: (date: Date) => void;
987
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
988
+ locale?: string;
989
+ timeZone?: string;
990
+ labels?: CalendarTimelineLabels;
991
+ formatters?: CalendarTimelineFormatters;
992
+ groups?: CalendarTimelineGroup[];
993
+ groupCollapsed?: Record<string, boolean>;
994
+ defaultGroupCollapsed?: Record<string, boolean>;
995
+ onGroupCollapsedChange?: (next: Record<string, boolean>) => void;
996
+ resourceColumnWidth?: number | string;
997
+ rowHeight?: number;
998
+ slotMinWidth?: number;
999
+ dayTimeStepMinutes?: number;
1000
+ maxLanesPerRow?: number;
1001
+ now?: Date;
1002
+ renderResource?: (resource: CalendarTimelineResource<TResourceMeta>) => React$1.ReactNode;
1003
+ renderGroup?: (group: CalendarTimelineGroup, args: {
1004
+ collapsed: boolean;
1005
+ toggle: () => void;
1006
+ }) => React$1.ReactNode;
1007
+ renderEvent?: (event: CalendarTimelineEvent<TEventMeta>, layout: {
1008
+ left: number;
1009
+ width: number;
1010
+ lane: number;
1011
+ }) => React$1.ReactNode;
1012
+ interactions?: CalendarTimelineInteractions;
1013
+ onRangeChange?: (range: {
1014
+ start: Date;
1015
+ end: Date;
1016
+ }) => void;
1017
+ onEventClick?: (event: CalendarTimelineEvent<TEventMeta>) => void;
1018
+ onEventDoubleClick?: (event: CalendarTimelineEvent<TEventMeta>) => void;
1019
+ onCreateEvent?: (draft: {
1020
+ resourceId: string;
1021
+ start: Date;
1022
+ end: Date;
1023
+ }) => void;
1024
+ onEventMove?: (args: {
1025
+ eventId: string;
1026
+ resourceId: string;
1027
+ start: Date;
1028
+ end: Date;
1029
+ }) => void;
1030
+ onEventResize?: (args: {
1031
+ eventId: string;
1032
+ start: Date;
1033
+ end: Date;
1034
+ }) => void;
1035
+ onMoreClick?: (args: {
1036
+ resourceId: string;
1037
+ hiddenEvents: CalendarTimelineEvent<TEventMeta>[];
1038
+ }) => void;
1039
+ virtualization?: CalendarTimelineVirtualization;
1040
+ }
1041
+ declare function CalendarTimeline<TResourceMeta = unknown, TEventMeta = unknown>({ resources, events, view, defaultView, onViewChange, date, defaultDate, onDateChange, weekStartsOn, locale, timeZone, labels, formatters, groups, groupCollapsed, defaultGroupCollapsed, onGroupCollapsedChange, resourceColumnWidth, rowHeight, slotMinWidth, dayTimeStepMinutes, maxLanesPerRow, now, renderResource, renderGroup, renderEvent, interactions, onRangeChange, onEventClick, onEventDoubleClick, onCreateEvent, onEventMove, onEventResize, onMoreClick, virtualization, className, ...rest }: CalendarTimelineProps<TResourceMeta, TEventMeta>): react_jsx_runtime.JSX.Element;
1042
+
904
1043
  type ComboboxOption = string | {
905
1044
  label: string;
906
1045
  value: any;
@@ -2248,6 +2387,17 @@ declare const underverseMessages: {
2248
2387
  clear: string;
2249
2388
  done: string;
2250
2389
  };
2390
+ CalendarTimeline: {
2391
+ today: string;
2392
+ prev: string;
2393
+ next: string;
2394
+ month: string;
2395
+ week: string;
2396
+ day: string;
2397
+ expandGroup: string;
2398
+ collapseGroup: string;
2399
+ more: string;
2400
+ };
2251
2401
  Pagination: {
2252
2402
  navigationLabel: string;
2253
2403
  showingResults: string;
@@ -2321,6 +2471,17 @@ declare const underverseMessages: {
2321
2471
  clear: string;
2322
2472
  done: string;
2323
2473
  };
2474
+ CalendarTimeline: {
2475
+ today: string;
2476
+ prev: string;
2477
+ next: string;
2478
+ month: string;
2479
+ week: string;
2480
+ day: string;
2481
+ expandGroup: string;
2482
+ collapseGroup: string;
2483
+ more: string;
2484
+ };
2324
2485
  Pagination: {
2325
2486
  navigationLabel: string;
2326
2487
  showingResults: string;
@@ -2394,6 +2555,17 @@ declare const underverseMessages: {
2394
2555
  clear: string;
2395
2556
  done: string;
2396
2557
  };
2558
+ CalendarTimeline: {
2559
+ today: string;
2560
+ prev: string;
2561
+ next: string;
2562
+ month: string;
2563
+ week: string;
2564
+ day: string;
2565
+ expandGroup: string;
2566
+ collapseGroup: string;
2567
+ more: string;
2568
+ };
2397
2569
  Pagination: {
2398
2570
  navigationLabel: string;
2399
2571
  showingResults: string;
@@ -2467,6 +2639,17 @@ declare const underverseMessages: {
2467
2639
  clear: string;
2468
2640
  done: string;
2469
2641
  };
2642
+ CalendarTimeline: {
2643
+ today: string;
2644
+ prev: string;
2645
+ next: string;
2646
+ month: string;
2647
+ week: string;
2648
+ day: string;
2649
+ expandGroup: string;
2650
+ collapseGroup: string;
2651
+ more: string;
2652
+ };
2470
2653
  Pagination: {
2471
2654
  navigationLabel: string;
2472
2655
  showingResults: string;
@@ -2542,6 +2725,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
2542
2725
  clear: string;
2543
2726
  done: string;
2544
2727
  };
2728
+ CalendarTimeline: {
2729
+ today: string;
2730
+ prev: string;
2731
+ next: string;
2732
+ month: string;
2733
+ week: string;
2734
+ day: string;
2735
+ expandGroup: string;
2736
+ collapseGroup: string;
2737
+ more: string;
2738
+ };
2545
2739
  Pagination: {
2546
2740
  navigationLabel: string;
2547
2741
  showingResults: string;
@@ -2614,6 +2808,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
2614
2808
  clear: string;
2615
2809
  done: string;
2616
2810
  };
2811
+ CalendarTimeline: {
2812
+ today: string;
2813
+ prev: string;
2814
+ next: string;
2815
+ month: string;
2816
+ week: string;
2817
+ day: string;
2818
+ expandGroup: string;
2819
+ collapseGroup: string;
2820
+ more: string;
2821
+ };
2617
2822
  Pagination: {
2618
2823
  navigationLabel: string;
2619
2824
  showingResults: string;
@@ -2686,6 +2891,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
2686
2891
  clear: string;
2687
2892
  done: string;
2688
2893
  };
2894
+ CalendarTimeline: {
2895
+ today: string;
2896
+ prev: string;
2897
+ next: string;
2898
+ month: string;
2899
+ week: string;
2900
+ day: string;
2901
+ expandGroup: string;
2902
+ collapseGroup: string;
2903
+ more: string;
2904
+ };
2689
2905
  Pagination: {
2690
2906
  navigationLabel: string;
2691
2907
  showingResults: string;
@@ -2758,6 +2974,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
2758
2974
  clear: string;
2759
2975
  done: string;
2760
2976
  };
2977
+ CalendarTimeline: {
2978
+ today: string;
2979
+ prev: string;
2980
+ next: string;
2981
+ month: string;
2982
+ week: string;
2983
+ day: string;
2984
+ expandGroup: string;
2985
+ collapseGroup: string;
2986
+ more: string;
2987
+ };
2761
2988
  Pagination: {
2762
2989
  navigationLabel: string;
2763
2990
  showingResults: string;
@@ -2781,4 +3008,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
2781
3008
  };
2782
3009
  };
2783
3010
 
2784
- export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorProps, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
3011
+ export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, CalendarTimeline, type CalendarTimelineDateInput, type CalendarTimelineEvent, type CalendarTimelineFormatters, type CalendarTimelineGroup, type CalendarTimelineInteractions, type CalendarTimelineLabels, type CalendarTimelineProps, type CalendarTimelineResource, type CalendarTimelineView, type CalendarTimelineVirtualization, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorProps, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
package/dist/index.d.ts CHANGED
@@ -901,6 +901,145 @@ interface CalendarProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "de
901
901
  }
902
902
  declare function Calendar({ month, defaultMonth, onMonthChange, value, defaultValue, onSelect, selectMode, weekStartsOn, showWeekdays, showHeader, size, variant, events, renderDay, labels, className, display, months, showToday, showClear, minDate, maxDate, disabledDates, dense, animate, showEventBadges, highlightWeekends, ...rest }: CalendarProps): react_jsx_runtime.JSX.Element;
903
903
 
904
+ type CalendarTimelineView = "month" | "week" | "day";
905
+ type CalendarTimelineDateInput = Date | string | number;
906
+ interface CalendarTimelineGroup {
907
+ id: string;
908
+ label: React$1.ReactNode;
909
+ collapsible?: boolean;
910
+ }
911
+ interface CalendarTimelineResource<TMeta = unknown> {
912
+ id: string;
913
+ label: React$1.ReactNode;
914
+ groupId?: string;
915
+ meta?: TMeta;
916
+ disabled?: boolean;
917
+ }
918
+ interface CalendarTimelineEvent<TMeta = unknown> {
919
+ id: string;
920
+ resourceId: string;
921
+ start: CalendarTimelineDateInput;
922
+ end: CalendarTimelineDateInput;
923
+ title?: React$1.ReactNode;
924
+ color?: string;
925
+ className?: string;
926
+ meta?: TMeta;
927
+ draggable?: boolean;
928
+ resizable?: boolean;
929
+ }
930
+ interface CalendarTimelineLabels {
931
+ today?: string;
932
+ prev?: string;
933
+ next?: string;
934
+ month?: string;
935
+ week?: string;
936
+ day?: string;
937
+ expandGroup?: string;
938
+ collapseGroup?: string;
939
+ more?: (n: number) => string;
940
+ }
941
+ interface CalendarTimelineFormatters {
942
+ monthTitle?: (date: Date, ctx: {
943
+ locale: string;
944
+ timeZone: string;
945
+ }) => string;
946
+ slotHeader?: (slotStart: Date, ctx: {
947
+ view: CalendarTimelineView;
948
+ locale: string;
949
+ timeZone: string;
950
+ }) => React$1.ReactNode;
951
+ eventTime?: (args: {
952
+ start: Date;
953
+ end: Date;
954
+ locale: string;
955
+ timeZone: string;
956
+ view: CalendarTimelineView;
957
+ }) => string;
958
+ ariaEventLabel?: (event: CalendarTimelineEvent, ctx: {
959
+ locale: string;
960
+ timeZone: string;
961
+ }) => string;
962
+ ariaSlotLabel?: (slotStart: Date, ctx: {
963
+ view: CalendarTimelineView;
964
+ locale: string;
965
+ timeZone: string;
966
+ }) => string;
967
+ }
968
+ interface CalendarTimelineInteractions {
969
+ selectable?: boolean;
970
+ creatable?: boolean;
971
+ draggableEvents?: boolean;
972
+ resizableEvents?: boolean;
973
+ }
974
+ interface CalendarTimelineVirtualization {
975
+ enabled?: boolean;
976
+ overscan?: number;
977
+ }
978
+ interface CalendarTimelineProps<TResourceMeta = unknown, TEventMeta = unknown> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
979
+ resources: CalendarTimelineResource<TResourceMeta>[];
980
+ events: CalendarTimelineEvent<TEventMeta>[];
981
+ view?: CalendarTimelineView;
982
+ defaultView?: CalendarTimelineView;
983
+ onViewChange?: (view: CalendarTimelineView) => void;
984
+ date?: Date;
985
+ defaultDate?: Date;
986
+ onDateChange?: (date: Date) => void;
987
+ weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
988
+ locale?: string;
989
+ timeZone?: string;
990
+ labels?: CalendarTimelineLabels;
991
+ formatters?: CalendarTimelineFormatters;
992
+ groups?: CalendarTimelineGroup[];
993
+ groupCollapsed?: Record<string, boolean>;
994
+ defaultGroupCollapsed?: Record<string, boolean>;
995
+ onGroupCollapsedChange?: (next: Record<string, boolean>) => void;
996
+ resourceColumnWidth?: number | string;
997
+ rowHeight?: number;
998
+ slotMinWidth?: number;
999
+ dayTimeStepMinutes?: number;
1000
+ maxLanesPerRow?: number;
1001
+ now?: Date;
1002
+ renderResource?: (resource: CalendarTimelineResource<TResourceMeta>) => React$1.ReactNode;
1003
+ renderGroup?: (group: CalendarTimelineGroup, args: {
1004
+ collapsed: boolean;
1005
+ toggle: () => void;
1006
+ }) => React$1.ReactNode;
1007
+ renderEvent?: (event: CalendarTimelineEvent<TEventMeta>, layout: {
1008
+ left: number;
1009
+ width: number;
1010
+ lane: number;
1011
+ }) => React$1.ReactNode;
1012
+ interactions?: CalendarTimelineInteractions;
1013
+ onRangeChange?: (range: {
1014
+ start: Date;
1015
+ end: Date;
1016
+ }) => void;
1017
+ onEventClick?: (event: CalendarTimelineEvent<TEventMeta>) => void;
1018
+ onEventDoubleClick?: (event: CalendarTimelineEvent<TEventMeta>) => void;
1019
+ onCreateEvent?: (draft: {
1020
+ resourceId: string;
1021
+ start: Date;
1022
+ end: Date;
1023
+ }) => void;
1024
+ onEventMove?: (args: {
1025
+ eventId: string;
1026
+ resourceId: string;
1027
+ start: Date;
1028
+ end: Date;
1029
+ }) => void;
1030
+ onEventResize?: (args: {
1031
+ eventId: string;
1032
+ start: Date;
1033
+ end: Date;
1034
+ }) => void;
1035
+ onMoreClick?: (args: {
1036
+ resourceId: string;
1037
+ hiddenEvents: CalendarTimelineEvent<TEventMeta>[];
1038
+ }) => void;
1039
+ virtualization?: CalendarTimelineVirtualization;
1040
+ }
1041
+ declare function CalendarTimeline<TResourceMeta = unknown, TEventMeta = unknown>({ resources, events, view, defaultView, onViewChange, date, defaultDate, onDateChange, weekStartsOn, locale, timeZone, labels, formatters, groups, groupCollapsed, defaultGroupCollapsed, onGroupCollapsedChange, resourceColumnWidth, rowHeight, slotMinWidth, dayTimeStepMinutes, maxLanesPerRow, now, renderResource, renderGroup, renderEvent, interactions, onRangeChange, onEventClick, onEventDoubleClick, onCreateEvent, onEventMove, onEventResize, onMoreClick, virtualization, className, ...rest }: CalendarTimelineProps<TResourceMeta, TEventMeta>): react_jsx_runtime.JSX.Element;
1042
+
904
1043
  type ComboboxOption = string | {
905
1044
  label: string;
906
1045
  value: any;
@@ -2248,6 +2387,17 @@ declare const underverseMessages: {
2248
2387
  clear: string;
2249
2388
  done: string;
2250
2389
  };
2390
+ CalendarTimeline: {
2391
+ today: string;
2392
+ prev: string;
2393
+ next: string;
2394
+ month: string;
2395
+ week: string;
2396
+ day: string;
2397
+ expandGroup: string;
2398
+ collapseGroup: string;
2399
+ more: string;
2400
+ };
2251
2401
  Pagination: {
2252
2402
  navigationLabel: string;
2253
2403
  showingResults: string;
@@ -2321,6 +2471,17 @@ declare const underverseMessages: {
2321
2471
  clear: string;
2322
2472
  done: string;
2323
2473
  };
2474
+ CalendarTimeline: {
2475
+ today: string;
2476
+ prev: string;
2477
+ next: string;
2478
+ month: string;
2479
+ week: string;
2480
+ day: string;
2481
+ expandGroup: string;
2482
+ collapseGroup: string;
2483
+ more: string;
2484
+ };
2324
2485
  Pagination: {
2325
2486
  navigationLabel: string;
2326
2487
  showingResults: string;
@@ -2394,6 +2555,17 @@ declare const underverseMessages: {
2394
2555
  clear: string;
2395
2556
  done: string;
2396
2557
  };
2558
+ CalendarTimeline: {
2559
+ today: string;
2560
+ prev: string;
2561
+ next: string;
2562
+ month: string;
2563
+ week: string;
2564
+ day: string;
2565
+ expandGroup: string;
2566
+ collapseGroup: string;
2567
+ more: string;
2568
+ };
2397
2569
  Pagination: {
2398
2570
  navigationLabel: string;
2399
2571
  showingResults: string;
@@ -2467,6 +2639,17 @@ declare const underverseMessages: {
2467
2639
  clear: string;
2468
2640
  done: string;
2469
2641
  };
2642
+ CalendarTimeline: {
2643
+ today: string;
2644
+ prev: string;
2645
+ next: string;
2646
+ month: string;
2647
+ week: string;
2648
+ day: string;
2649
+ expandGroup: string;
2650
+ collapseGroup: string;
2651
+ more: string;
2652
+ };
2470
2653
  Pagination: {
2471
2654
  navigationLabel: string;
2472
2655
  showingResults: string;
@@ -2542,6 +2725,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
2542
2725
  clear: string;
2543
2726
  done: string;
2544
2727
  };
2728
+ CalendarTimeline: {
2729
+ today: string;
2730
+ prev: string;
2731
+ next: string;
2732
+ month: string;
2733
+ week: string;
2734
+ day: string;
2735
+ expandGroup: string;
2736
+ collapseGroup: string;
2737
+ more: string;
2738
+ };
2545
2739
  Pagination: {
2546
2740
  navigationLabel: string;
2547
2741
  showingResults: string;
@@ -2614,6 +2808,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
2614
2808
  clear: string;
2615
2809
  done: string;
2616
2810
  };
2811
+ CalendarTimeline: {
2812
+ today: string;
2813
+ prev: string;
2814
+ next: string;
2815
+ month: string;
2816
+ week: string;
2817
+ day: string;
2818
+ expandGroup: string;
2819
+ collapseGroup: string;
2820
+ more: string;
2821
+ };
2617
2822
  Pagination: {
2618
2823
  navigationLabel: string;
2619
2824
  showingResults: string;
@@ -2686,6 +2891,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
2686
2891
  clear: string;
2687
2892
  done: string;
2688
2893
  };
2894
+ CalendarTimeline: {
2895
+ today: string;
2896
+ prev: string;
2897
+ next: string;
2898
+ month: string;
2899
+ week: string;
2900
+ day: string;
2901
+ expandGroup: string;
2902
+ collapseGroup: string;
2903
+ more: string;
2904
+ };
2689
2905
  Pagination: {
2690
2906
  navigationLabel: string;
2691
2907
  showingResults: string;
@@ -2758,6 +2974,17 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
2758
2974
  clear: string;
2759
2975
  done: string;
2760
2976
  };
2977
+ CalendarTimeline: {
2978
+ today: string;
2979
+ prev: string;
2980
+ next: string;
2981
+ month: string;
2982
+ week: string;
2983
+ day: string;
2984
+ expandGroup: string;
2985
+ collapseGroup: string;
2986
+ more: string;
2987
+ };
2761
2988
  Pagination: {
2762
2989
  navigationLabel: string;
2763
2990
  showingResults: string;
@@ -2781,4 +3008,4 @@ declare function getUnderverseMessages(locale?: UnderverseLocale): {
2781
3008
  };
2782
3009
  };
2783
3010
 
2784
- export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorProps, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };
3011
+ export { AccessDenied, Alert, AreaChart, type AreaChartDataPoint, type AreaChartProps, type AreaChartSeries, Avatar, Badge, Badge as BadgeBase, BarChart, type BarChartDataPoint, type BarChartProps, BatteryProgress, BottomSheet, Breadcrumb, Button, ButtonLoading, type ButtonProps, Calendar, type CalendarEvent, type CalendarProps, CalendarTimeline, type CalendarTimelineDateInput, type CalendarTimelineEvent, type CalendarTimelineFormatters, type CalendarTimelineGroup, type CalendarTimelineInteractions, type CalendarTimelineLabels, type CalendarTimelineProps, type CalendarTimelineResource, type CalendarTimelineView, type CalendarTimelineVirtualization, Card, Carousel, CategoryTreeSelect, Checkbox, type CheckboxProps, CircularProgress, ClientOnly, ColorPicker, type ColorPickerProps, Combobox, type ComboboxProps, CompactPagination, type CompactPaginationProps, DataTable, type DataTableColumn, type DataTableQuery, DatePicker, type DatePickerProps, DateRangePicker, DateTimePicker, type DateTimePickerProps, date as DateUtils, Drawer, DropdownMenu, DropdownMenuItem, DropdownMenuSeparator, FallingIcons, FloatingContacts, ForceInternalTranslationsProvider, Form, FormActions, FormCheckbox, FormControl, FormDescription, FormField, FormInput, FormItem, FormLabel, FormMessage, FormSubmitButton, GaugeChart, type GaugeChartProps, GlobalLoading, GradientBadge, Grid, GridItem, type GridItemProps, type GridProps, ImageUpload, InlineLoading, Input, type InputProps, InteractiveBadge, Label, type LanguageOption, LanguageSwitcherHeadless as LanguageSwitcher, LanguageSwitcherHeadless, type LanguageSwitcherHeadlessProps, type LanguageSwitcherHeadlessProps as LanguageSwitcherProps, LineChart, type LineChartDataPoint, type LineChartProps, List, ListItem, LoadingBar, LoadingDots, LoadingProgress, LoadingSpinner, type Locale$1 as Locale, MiniProgress, Modal, MultiCombobox, type MultiComboboxProps, NotificationBadge, NotificationModal, NumberInput, OverlayControls, PageLoading, Pagination, type PaginationProps, PasswordInput, PieChart, type PieChartDataPoint, type PieChartProps, PillTabs, Popover, Progress, PulseBadge, RadarChart, type RadarChartDataPoint, type RadarChartProps, type RadarChartSeries, RadioGroup, RadioGroupItem, SIZE_STYLES_BTN, ScrollArea, SearchInput, Section, SegmentedProgress, SelectDropdown, Sheet, SidebarSheet, SimplePagination, type SimplePaginationProps, SimpleTabs, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonList, SkeletonMessage, SkeletonPost, SkeletonTable, SkeletonText, SlideOver, Slider, SmartImage, type Sorter, Sparkline, type SparklineDataPoint, type SparklineProps, StatusBadge, StepProgress, type SupportedLocale, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, TagInput, TagInput as TagInputBase, type TagInputProps, Textarea, type ThemeMode, ThemeToggleHeadless as ThemeToggle, ThemeToggleHeadless, type ThemeToggleHeadlessProps, type ThemeToggleHeadlessProps as ThemeToggleProps, TimePicker, type TimePickerProps, Timeline, TimelineItem, ToastProvider, Tooltip, TranslationProvider, type TranslationProviderProps, type Translations, UEditor, type UEditorProps, type UEditorVariant, type UnderverseLocale, UnderverseProvider, type UnderverseProviderProps, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, Watermark, type WatermarkProps, cn$1 as cn, cn as cnLocal, getAnimationStyles, getUnderverseMessages, injectAnimationStyles, shadcnAnimationStyles, underverseMessages, useFormField, useShadCNAnimations, useSmartLocale, useSmartTranslations, useToast, useTranslations as useUnderverseI18n, useLocale as useUnderverseI18nLocale, useUnderverseLocale, useUnderverseTranslations };