@mlw-packages/react-components 1.10.1 → 1.10.3

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.mts CHANGED
@@ -110,14 +110,24 @@ declare const CardFooterBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttr
110
110
  testid?: string;
111
111
  } & React$1.RefAttributes<HTMLDivElement>>;
112
112
 
113
+ declare const FileTypes: {
114
+ readonly Image: readonly ["image/*", ".jpeg", ".jpg", ".png", ".gif", ".webp", ".svg"];
115
+ readonly Document: readonly [".pdf", ".doc", ".docx", ".txt", ".rtf"];
116
+ readonly Spreadsheet: readonly [".xls", ".xlsx", ".csv"];
117
+ readonly Presentation: readonly [".ppt", ".pptx"];
118
+ readonly Video: readonly ["video/*", ".mp4", ".webm", ".mkv", ".avi"];
119
+ readonly Audio: readonly ["audio/*", ".mp3", ".wav", ".ogg"];
120
+ readonly All: string[];
121
+ };
122
+ type FileTypeValues = (typeof FileTypes)[keyof typeof FileTypes];
113
123
  interface FileWithPreview extends File {
114
124
  id?: string;
115
125
  error?: string;
116
126
  preview?: string;
117
127
  }
118
128
  interface FileUploaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onDrop"> {
119
- accept: string[];
120
- maxSize: number;
129
+ accept?: string[] | readonly string[];
130
+ maxSize?: number;
121
131
  maxFiles?: number;
122
132
  onValueChange: (files: FileWithPreview[]) => void;
123
133
  disabled?: boolean;
@@ -950,7 +960,7 @@ declare const EndHourAgenda = 24;
950
960
  declare const DefaultStartHourAgenda = 9;
951
961
  declare const DefaultEndHourAgenda = 10;
952
962
 
953
- type CalendarViewAgenda = "month" | "week" | "day" | "agenda";
963
+ type CalendarViewAgenda = "month" | "week" | "day" | "agenda" | "year";
954
964
  interface CalendarEventAgenda {
955
965
  id: string;
956
966
  title: string;
@@ -989,13 +999,14 @@ interface EventCalendarProps$1 {
989
999
  initialView?: CalendarViewAgenda;
990
1000
  initialDate?: Date;
991
1001
  onClick?: ((event: CalendarEventAgenda, e?: React__default.MouseEvent) => void) | React__default.ReactElement<ModalLikeProps>;
1002
+ showYearView?: boolean;
992
1003
  }
993
1004
  interface ModalLikeProps {
994
1005
  event?: CalendarEventAgenda;
995
1006
  onClose?: () => void;
996
1007
  [key: string]: unknown;
997
1008
  }
998
- declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, }: EventCalendarProps$1): react_jsx_runtime.JSX.Element;
1009
+ declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, showYearView, }: EventCalendarProps$1): react_jsx_runtime.JSX.Element;
999
1010
 
1000
1011
  interface EventItemProps$1 {
1001
1012
  event: CalendarEventAgenda;
@@ -1110,6 +1121,13 @@ interface WeekViewProps$1 {
1110
1121
  }
1111
1122
  declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, showUndatedEvents, }: WeekViewProps$1): react_jsx_runtime.JSX.Element;
1112
1123
 
1124
+ interface YearViewProps {
1125
+ currentDate: Date;
1126
+ events: CalendarEventAgenda[];
1127
+ onMonthSelect: (date: Date) => void;
1128
+ }
1129
+ declare function YearViewAgenda({ currentDate, events, onMonthSelect, }: YearViewProps): react_jsx_runtime.JSX.Element;
1130
+
1113
1131
  interface MultiDayBar {
1114
1132
  event: CalendarEventAgenda;
1115
1133
  colStart: number;
@@ -1933,14 +1951,14 @@ interface TooltipData {
1933
1951
  name: string;
1934
1952
  [key: string]: string | number;
1935
1953
  }
1936
- interface Position$2 {
1954
+ interface Position$3 {
1937
1955
  top: number;
1938
1956
  left: number;
1939
1957
  }
1940
1958
  interface DraggableTooltipProps {
1941
1959
  id: string;
1942
1960
  data: TooltipData;
1943
- position: Position$2;
1961
+ position: Position$3;
1944
1962
  isDragging?: boolean;
1945
1963
  title?: string;
1946
1964
  dataKeys: string[];
@@ -1954,7 +1972,7 @@ interface DraggableTooltipProps {
1954
1972
  onCloseAll?: () => void;
1955
1973
  closeAllButtonPosition?: "top-left" | "top-right" | "top-center";
1956
1974
  closeAllButtonVariant?: "floating" | "inline";
1957
- onPositionChange?: (id: string, position: Position$2) => void;
1975
+ onPositionChange?: (id: string, position: Position$3) => void;
1958
1976
  highlightedSeries?: Set<string>;
1959
1977
  toggleHighlight?: (key: string) => void;
1960
1978
  showOnlyHighlighted?: boolean;
@@ -2054,21 +2072,149 @@ interface SystemData {
2054
2072
  }
2055
2073
  declare function processNeo4jData(integrations: Neo4jIntegration[], targetSystemName: string): SystemData;
2056
2074
 
2057
- interface Position$1 {
2075
+ interface Position$2 {
2058
2076
  top: number;
2059
2077
  left: number;
2060
2078
  }
2061
2079
  interface SystemTooltipProps {
2062
2080
  id: string;
2063
2081
  data: SystemData;
2082
+ position: Position$2;
2083
+ title?: string;
2084
+ isLoading?: boolean;
2085
+ onMouseDown?: (id: string, e: React__default.MouseEvent | React__default.TouchEvent) => void;
2086
+ onClose: (id: string) => void;
2087
+ onPositionChange?: (id: string, position: Position$2) => void;
2088
+ }
2089
+ declare const SystemTooltip: React__default.FC<SystemTooltipProps>;
2090
+
2091
+ interface Node {
2092
+ identity: number;
2093
+ labels: string[];
2094
+ properties: {
2095
+ nome: string;
2096
+ [key: string]: string;
2097
+ };
2098
+ elementId: string;
2099
+ }
2100
+ interface IntegrationProps {
2101
+ tipo?: string;
2102
+ Tipo?: string;
2103
+ Setor?: string;
2104
+ Destino?: string;
2105
+ Contato?: string;
2106
+ Ambiente?: string;
2107
+ Nome?: string;
2108
+ Protocolos?: string;
2109
+ Sustentacao?: string;
2110
+ Origem?: string;
2111
+ [key: string]: string | undefined;
2112
+ }
2113
+ interface Relationship {
2114
+ identity: number;
2115
+ start: number;
2116
+ end: number;
2117
+ type: string;
2118
+ properties: IntegrationProps;
2119
+ elementId: string;
2120
+ startNodeElementId: string;
2121
+ endNodeElementId: string;
2122
+ }
2123
+ interface Integration {
2124
+ origem: Node;
2125
+ r: Relationship;
2126
+ destino: Node;
2127
+ }
2128
+ interface IntegrationConnection {
2129
+ id: string;
2130
+ name: string;
2131
+ type: "entrada" | "saida";
2132
+ status?: "active" | "inactive" | "warning";
2133
+ integration?: IntegrationProps;
2134
+ }
2135
+ interface IntegrationData {
2136
+ name: string;
2137
+ description?: string;
2138
+ connections: IntegrationConnection[];
2139
+ }
2140
+ declare function processIntegrationData(integrations: Integration[], targetSystemName: string): IntegrationData;
2141
+
2142
+ interface Position$1 {
2143
+ top: number;
2144
+ left: number;
2145
+ }
2146
+ interface IntegrationTooltipProps {
2147
+ id: string;
2148
+ data: IntegrationData;
2064
2149
  position: Position$1;
2065
2150
  title?: string;
2066
2151
  isLoading?: boolean;
2152
+ systemName?: string;
2067
2153
  onMouseDown?: (id: string, e: React__default.MouseEvent | React__default.TouchEvent) => void;
2068
2154
  onClose: (id: string) => void;
2069
2155
  onPositionChange?: (id: string, position: Position$1) => void;
2070
2156
  }
2071
- declare const SystemTooltip: React__default.FC<SystemTooltipProps>;
2157
+ declare const IntegrationTooltip: React__default.FC<IntegrationTooltipProps>;
2158
+
2159
+ declare const useIsTruncated: (ref: React.RefObject<HTMLElement | null>) => boolean;
2160
+
2161
+ declare const Beam: React__default.FC<{
2162
+ isInput: boolean;
2163
+ containerRef: React__default.RefObject<HTMLDivElement | null>;
2164
+ leftRef: React__default.RefObject<HTMLDivElement | null>;
2165
+ rightRef: React__default.RefObject<HTMLDivElement | null>;
2166
+ }>;
2167
+
2168
+ declare const SystemsDiagram: React__default.FC<{
2169
+ isInput: boolean;
2170
+ currentSystem: string;
2171
+ externalSystem: string;
2172
+ }>;
2173
+
2174
+ declare const TooltipBody: React__default.NamedExoticComponent<{
2175
+ data: IntegrationData;
2176
+ isLoading: boolean;
2177
+ connections: IntegrationData["connections"];
2178
+ isInput: boolean;
2179
+ externalSystem: string;
2180
+ }>;
2181
+
2182
+ declare function useIsMobile(): boolean;
2183
+
2184
+ interface Position {
2185
+ top: number;
2186
+ left: number;
2187
+ }
2188
+ interface UseDragOptions {
2189
+ onDragStart?: (id: string) => void;
2190
+ onDragEnd?: (id: string) => void;
2191
+ onDrag?: (id: string, position: Position) => void;
2192
+ }
2193
+ declare const useDrag: (options?: UseDragOptions) => {
2194
+ handleMouseDown: (id: string, e: React.MouseEvent | React.TouchEvent) => void;
2195
+ getPosition: (id: string) => Position;
2196
+ setPosition: (id: string, position: Position) => void;
2197
+ isElementDragging: (id: string) => boolean;
2198
+ isDragging: boolean;
2199
+ };
2200
+
2201
+ declare const IntegrationCard: React__default.FC<{
2202
+ title: string;
2203
+ details?: IntegrationProperties | null;
2204
+ }>;
2205
+
2206
+ declare const NameTooltip: React__default.FC<{
2207
+ name: string;
2208
+ description?: string;
2209
+ }>;
2210
+
2211
+ declare const CopyData: React__default.FC<{
2212
+ value: string;
2213
+ }>;
2214
+
2215
+ declare const SystemNode: React__default.FC<{
2216
+ label: string;
2217
+ }>;
2072
2218
 
2073
2219
  interface ChartData$2 {
2074
2220
  [key: string]: string | number | boolean | null | undefined;
@@ -2345,6 +2491,7 @@ interface CarouselItem {
2345
2491
  id: number | string;
2346
2492
  url: string;
2347
2493
  title: string;
2494
+ theme?: "malwee" | "malwee-kids" | "enfim" | "carinhoso";
2348
2495
  }
2349
2496
  interface CarouselBaseProps {
2350
2497
  items: CarouselItem[];
@@ -2363,8 +2510,9 @@ interface CarouselBaseProps {
2363
2510
  zoomEffect?: "lens" | "scale" | null;
2364
2511
  download?: boolean;
2365
2512
  isLoading?: boolean;
2513
+ onChange?: (index: number) => void;
2366
2514
  }
2367
- declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
2515
+ declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, onChange, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
2368
2516
 
2369
2517
  type PhosphorIcon = React$1.ForwardRefExoticComponent<IconProps$1 & React$1.RefAttributes<SVGSVGElement>>;
2370
2518
  type MenuItem = {
@@ -2428,23 +2576,4 @@ interface ControlledComboboxProps<T extends string> extends ErrorMessageProps {
2428
2576
  }
2429
2577
  declare function ControlledCombobox<T extends string>({ items, renderSelected, handleSelection, checkIsSelected, disabled, keepOpen, searchPlaceholder, empty, error, label, labelClassname, testIds, onClear, hasSelected, hideClear, onSearchChange, search, onEndReached, loading, }: ControlledComboboxProps<T>): react_jsx_runtime.JSX.Element;
2430
2578
 
2431
- declare function useIsMobile(): boolean;
2432
-
2433
- interface Position {
2434
- top: number;
2435
- left: number;
2436
- }
2437
- interface UseDragOptions {
2438
- onDragStart?: (id: string) => void;
2439
- onDragEnd?: (id: string) => void;
2440
- onDrag?: (id: string, position: Position) => void;
2441
- }
2442
- declare const useDrag: (options?: UseDragOptions) => {
2443
- handleMouseDown: (id: string, e: React.MouseEvent | React.TouchEvent) => void;
2444
- getPosition: (id: string) => Position;
2445
- setPosition: (id: string, position: Position) => void;
2446
- isElementDragging: (id: string) => boolean;
2447
- isDragging: boolean;
2448
- };
2449
-
2450
- export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type IntegrationProperties, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, type MenuItem, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Neo4jIntegration, type Neo4jNode, type Neo4jRelationship, type NewSelectProps, NoData, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, type PropsLabelList, RadialMenu, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesConfig, type SeriesCounts, type SeriesEntry, type SeriesOrder, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, type SystemData, SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
2579
+ export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, Beam, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, CopyData, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, type FileTypeValues, FileTypes, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type Integration, IntegrationCard, type IntegrationConnection, type IntegrationData, type IntegrationProperties, type IntegrationProps, IntegrationTooltip, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, type MenuItem, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NameTooltip, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Neo4jIntegration, type Neo4jNode, type Neo4jRelationship, type NewSelectProps, NoData, type Node, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, type PropsLabelList, RadialMenu, RangePicker, type RangePickerProps, RefreshButton, type Relationship, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesConfig, type SeriesCounts, type SeriesEntry, type SeriesOrder, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, type SystemData, SystemNode, SystemTooltip, SystemsDiagram, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipBody, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processIntegrationData, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
package/dist/index.d.ts CHANGED
@@ -110,14 +110,24 @@ declare const CardFooterBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttr
110
110
  testid?: string;
111
111
  } & React$1.RefAttributes<HTMLDivElement>>;
112
112
 
113
+ declare const FileTypes: {
114
+ readonly Image: readonly ["image/*", ".jpeg", ".jpg", ".png", ".gif", ".webp", ".svg"];
115
+ readonly Document: readonly [".pdf", ".doc", ".docx", ".txt", ".rtf"];
116
+ readonly Spreadsheet: readonly [".xls", ".xlsx", ".csv"];
117
+ readonly Presentation: readonly [".ppt", ".pptx"];
118
+ readonly Video: readonly ["video/*", ".mp4", ".webm", ".mkv", ".avi"];
119
+ readonly Audio: readonly ["audio/*", ".mp3", ".wav", ".ogg"];
120
+ readonly All: string[];
121
+ };
122
+ type FileTypeValues = (typeof FileTypes)[keyof typeof FileTypes];
113
123
  interface FileWithPreview extends File {
114
124
  id?: string;
115
125
  error?: string;
116
126
  preview?: string;
117
127
  }
118
128
  interface FileUploaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onDrop"> {
119
- accept: string[];
120
- maxSize: number;
129
+ accept?: string[] | readonly string[];
130
+ maxSize?: number;
121
131
  maxFiles?: number;
122
132
  onValueChange: (files: FileWithPreview[]) => void;
123
133
  disabled?: boolean;
@@ -950,7 +960,7 @@ declare const EndHourAgenda = 24;
950
960
  declare const DefaultStartHourAgenda = 9;
951
961
  declare const DefaultEndHourAgenda = 10;
952
962
 
953
- type CalendarViewAgenda = "month" | "week" | "day" | "agenda";
963
+ type CalendarViewAgenda = "month" | "week" | "day" | "agenda" | "year";
954
964
  interface CalendarEventAgenda {
955
965
  id: string;
956
966
  title: string;
@@ -989,13 +999,14 @@ interface EventCalendarProps$1 {
989
999
  initialView?: CalendarViewAgenda;
990
1000
  initialDate?: Date;
991
1001
  onClick?: ((event: CalendarEventAgenda, e?: React__default.MouseEvent) => void) | React__default.ReactElement<ModalLikeProps>;
1002
+ showYearView?: boolean;
992
1003
  }
993
1004
  interface ModalLikeProps {
994
1005
  event?: CalendarEventAgenda;
995
1006
  onClose?: () => void;
996
1007
  [key: string]: unknown;
997
1008
  }
998
- declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, }: EventCalendarProps$1): react_jsx_runtime.JSX.Element;
1009
+ declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, showYearView, }: EventCalendarProps$1): react_jsx_runtime.JSX.Element;
999
1010
 
1000
1011
  interface EventItemProps$1 {
1001
1012
  event: CalendarEventAgenda;
@@ -1110,6 +1121,13 @@ interface WeekViewProps$1 {
1110
1121
  }
1111
1122
  declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, showUndatedEvents, }: WeekViewProps$1): react_jsx_runtime.JSX.Element;
1112
1123
 
1124
+ interface YearViewProps {
1125
+ currentDate: Date;
1126
+ events: CalendarEventAgenda[];
1127
+ onMonthSelect: (date: Date) => void;
1128
+ }
1129
+ declare function YearViewAgenda({ currentDate, events, onMonthSelect, }: YearViewProps): react_jsx_runtime.JSX.Element;
1130
+
1113
1131
  interface MultiDayBar {
1114
1132
  event: CalendarEventAgenda;
1115
1133
  colStart: number;
@@ -1933,14 +1951,14 @@ interface TooltipData {
1933
1951
  name: string;
1934
1952
  [key: string]: string | number;
1935
1953
  }
1936
- interface Position$2 {
1954
+ interface Position$3 {
1937
1955
  top: number;
1938
1956
  left: number;
1939
1957
  }
1940
1958
  interface DraggableTooltipProps {
1941
1959
  id: string;
1942
1960
  data: TooltipData;
1943
- position: Position$2;
1961
+ position: Position$3;
1944
1962
  isDragging?: boolean;
1945
1963
  title?: string;
1946
1964
  dataKeys: string[];
@@ -1954,7 +1972,7 @@ interface DraggableTooltipProps {
1954
1972
  onCloseAll?: () => void;
1955
1973
  closeAllButtonPosition?: "top-left" | "top-right" | "top-center";
1956
1974
  closeAllButtonVariant?: "floating" | "inline";
1957
- onPositionChange?: (id: string, position: Position$2) => void;
1975
+ onPositionChange?: (id: string, position: Position$3) => void;
1958
1976
  highlightedSeries?: Set<string>;
1959
1977
  toggleHighlight?: (key: string) => void;
1960
1978
  showOnlyHighlighted?: boolean;
@@ -2054,21 +2072,149 @@ interface SystemData {
2054
2072
  }
2055
2073
  declare function processNeo4jData(integrations: Neo4jIntegration[], targetSystemName: string): SystemData;
2056
2074
 
2057
- interface Position$1 {
2075
+ interface Position$2 {
2058
2076
  top: number;
2059
2077
  left: number;
2060
2078
  }
2061
2079
  interface SystemTooltipProps {
2062
2080
  id: string;
2063
2081
  data: SystemData;
2082
+ position: Position$2;
2083
+ title?: string;
2084
+ isLoading?: boolean;
2085
+ onMouseDown?: (id: string, e: React__default.MouseEvent | React__default.TouchEvent) => void;
2086
+ onClose: (id: string) => void;
2087
+ onPositionChange?: (id: string, position: Position$2) => void;
2088
+ }
2089
+ declare const SystemTooltip: React__default.FC<SystemTooltipProps>;
2090
+
2091
+ interface Node {
2092
+ identity: number;
2093
+ labels: string[];
2094
+ properties: {
2095
+ nome: string;
2096
+ [key: string]: string;
2097
+ };
2098
+ elementId: string;
2099
+ }
2100
+ interface IntegrationProps {
2101
+ tipo?: string;
2102
+ Tipo?: string;
2103
+ Setor?: string;
2104
+ Destino?: string;
2105
+ Contato?: string;
2106
+ Ambiente?: string;
2107
+ Nome?: string;
2108
+ Protocolos?: string;
2109
+ Sustentacao?: string;
2110
+ Origem?: string;
2111
+ [key: string]: string | undefined;
2112
+ }
2113
+ interface Relationship {
2114
+ identity: number;
2115
+ start: number;
2116
+ end: number;
2117
+ type: string;
2118
+ properties: IntegrationProps;
2119
+ elementId: string;
2120
+ startNodeElementId: string;
2121
+ endNodeElementId: string;
2122
+ }
2123
+ interface Integration {
2124
+ origem: Node;
2125
+ r: Relationship;
2126
+ destino: Node;
2127
+ }
2128
+ interface IntegrationConnection {
2129
+ id: string;
2130
+ name: string;
2131
+ type: "entrada" | "saida";
2132
+ status?: "active" | "inactive" | "warning";
2133
+ integration?: IntegrationProps;
2134
+ }
2135
+ interface IntegrationData {
2136
+ name: string;
2137
+ description?: string;
2138
+ connections: IntegrationConnection[];
2139
+ }
2140
+ declare function processIntegrationData(integrations: Integration[], targetSystemName: string): IntegrationData;
2141
+
2142
+ interface Position$1 {
2143
+ top: number;
2144
+ left: number;
2145
+ }
2146
+ interface IntegrationTooltipProps {
2147
+ id: string;
2148
+ data: IntegrationData;
2064
2149
  position: Position$1;
2065
2150
  title?: string;
2066
2151
  isLoading?: boolean;
2152
+ systemName?: string;
2067
2153
  onMouseDown?: (id: string, e: React__default.MouseEvent | React__default.TouchEvent) => void;
2068
2154
  onClose: (id: string) => void;
2069
2155
  onPositionChange?: (id: string, position: Position$1) => void;
2070
2156
  }
2071
- declare const SystemTooltip: React__default.FC<SystemTooltipProps>;
2157
+ declare const IntegrationTooltip: React__default.FC<IntegrationTooltipProps>;
2158
+
2159
+ declare const useIsTruncated: (ref: React.RefObject<HTMLElement | null>) => boolean;
2160
+
2161
+ declare const Beam: React__default.FC<{
2162
+ isInput: boolean;
2163
+ containerRef: React__default.RefObject<HTMLDivElement | null>;
2164
+ leftRef: React__default.RefObject<HTMLDivElement | null>;
2165
+ rightRef: React__default.RefObject<HTMLDivElement | null>;
2166
+ }>;
2167
+
2168
+ declare const SystemsDiagram: React__default.FC<{
2169
+ isInput: boolean;
2170
+ currentSystem: string;
2171
+ externalSystem: string;
2172
+ }>;
2173
+
2174
+ declare const TooltipBody: React__default.NamedExoticComponent<{
2175
+ data: IntegrationData;
2176
+ isLoading: boolean;
2177
+ connections: IntegrationData["connections"];
2178
+ isInput: boolean;
2179
+ externalSystem: string;
2180
+ }>;
2181
+
2182
+ declare function useIsMobile(): boolean;
2183
+
2184
+ interface Position {
2185
+ top: number;
2186
+ left: number;
2187
+ }
2188
+ interface UseDragOptions {
2189
+ onDragStart?: (id: string) => void;
2190
+ onDragEnd?: (id: string) => void;
2191
+ onDrag?: (id: string, position: Position) => void;
2192
+ }
2193
+ declare const useDrag: (options?: UseDragOptions) => {
2194
+ handleMouseDown: (id: string, e: React.MouseEvent | React.TouchEvent) => void;
2195
+ getPosition: (id: string) => Position;
2196
+ setPosition: (id: string, position: Position) => void;
2197
+ isElementDragging: (id: string) => boolean;
2198
+ isDragging: boolean;
2199
+ };
2200
+
2201
+ declare const IntegrationCard: React__default.FC<{
2202
+ title: string;
2203
+ details?: IntegrationProperties | null;
2204
+ }>;
2205
+
2206
+ declare const NameTooltip: React__default.FC<{
2207
+ name: string;
2208
+ description?: string;
2209
+ }>;
2210
+
2211
+ declare const CopyData: React__default.FC<{
2212
+ value: string;
2213
+ }>;
2214
+
2215
+ declare const SystemNode: React__default.FC<{
2216
+ label: string;
2217
+ }>;
2072
2218
 
2073
2219
  interface ChartData$2 {
2074
2220
  [key: string]: string | number | boolean | null | undefined;
@@ -2345,6 +2491,7 @@ interface CarouselItem {
2345
2491
  id: number | string;
2346
2492
  url: string;
2347
2493
  title: string;
2494
+ theme?: "malwee" | "malwee-kids" | "enfim" | "carinhoso";
2348
2495
  }
2349
2496
  interface CarouselBaseProps {
2350
2497
  items: CarouselItem[];
@@ -2363,8 +2510,9 @@ interface CarouselBaseProps {
2363
2510
  zoomEffect?: "lens" | "scale" | null;
2364
2511
  download?: boolean;
2365
2512
  isLoading?: boolean;
2513
+ onChange?: (index: number) => void;
2366
2514
  }
2367
- declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
2515
+ declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, onChange, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
2368
2516
 
2369
2517
  type PhosphorIcon = React$1.ForwardRefExoticComponent<IconProps$1 & React$1.RefAttributes<SVGSVGElement>>;
2370
2518
  type MenuItem = {
@@ -2428,23 +2576,4 @@ interface ControlledComboboxProps<T extends string> extends ErrorMessageProps {
2428
2576
  }
2429
2577
  declare function ControlledCombobox<T extends string>({ items, renderSelected, handleSelection, checkIsSelected, disabled, keepOpen, searchPlaceholder, empty, error, label, labelClassname, testIds, onClear, hasSelected, hideClear, onSearchChange, search, onEndReached, loading, }: ControlledComboboxProps<T>): react_jsx_runtime.JSX.Element;
2430
2578
 
2431
- declare function useIsMobile(): boolean;
2432
-
2433
- interface Position {
2434
- top: number;
2435
- left: number;
2436
- }
2437
- interface UseDragOptions {
2438
- onDragStart?: (id: string) => void;
2439
- onDragEnd?: (id: string) => void;
2440
- onDrag?: (id: string, position: Position) => void;
2441
- }
2442
- declare const useDrag: (options?: UseDragOptions) => {
2443
- handleMouseDown: (id: string, e: React.MouseEvent | React.TouchEvent) => void;
2444
- getPosition: (id: string) => Position;
2445
- setPosition: (id: string, position: Position) => void;
2446
- isElementDragging: (id: string) => boolean;
2447
- isDragging: boolean;
2448
- };
2449
-
2450
- export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type IntegrationProperties, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, type MenuItem, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Neo4jIntegration, type Neo4jNode, type Neo4jRelationship, type NewSelectProps, NoData, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, type PropsLabelList, RadialMenu, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesConfig, type SeriesCounts, type SeriesEntry, type SeriesOrder, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, type SystemData, SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
2579
+ export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, Beam, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, CopyData, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, type FileTypeValues, FileTypes, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type Integration, IntegrationCard, type IntegrationConnection, type IntegrationData, type IntegrationProperties, type IntegrationProps, IntegrationTooltip, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, type MenuItem, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NameTooltip, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Neo4jIntegration, type Neo4jNode, type Neo4jRelationship, type NewSelectProps, NoData, type Node, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, type PropsLabelList, RadialMenu, RangePicker, type RangePickerProps, RefreshButton, type Relationship, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesConfig, type SeriesCounts, type SeriesEntry, type SeriesOrder, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, type SystemData, SystemNode, SystemTooltip, SystemsDiagram, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipBody, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processIntegrationData, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };