@mlw-packages/react-components 1.9.7 → 1.9.9

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
@@ -18,7 +18,6 @@ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
18
18
  import { OTPInput } from 'input-otp';
19
19
  import * as SliderPrimitive from '@radix-ui/react-slider';
20
20
  import * as SwitchPrimitives from '@radix-ui/react-switch';
21
- import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
22
21
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
23
22
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
24
23
  import * as TabsPrimitive from '@radix-ui/react-tabs';
@@ -392,21 +391,27 @@ interface TextAreaBaseProps extends React$1.ComponentProps<"textarea"> {
392
391
  }
393
392
  declare const TextAreaBase: React$1.ForwardRefExoticComponent<Omit<TextAreaBaseProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
394
393
 
395
- type CarouselApi = UseEmblaCarouselType[1];
396
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
397
- type CarouselOptions = UseCarouselParameters[0];
398
- type CarouselPlugin = UseCarouselParameters[1];
399
- type CarouselProps = {
400
- opts?: CarouselOptions;
401
- plugins?: CarouselPlugin;
402
- orientation?: "horizontal" | "vertical";
403
- setApi?: (api: CarouselApi) => void;
404
- };
405
- declare function CarouselBase({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
406
- declare function CarouselContentBase({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
407
- declare function CarouselItemBase({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
408
- declare function CarouselPreviousBase({ className, variant, size, ...props }: React$1.ComponentProps<typeof ButtonBase>): react_jsx_runtime.JSX.Element;
409
- declare function CarouselNextBase({ className, variant, size, ...props }: React$1.ComponentProps<typeof ButtonBase>): react_jsx_runtime.JSX.Element;
394
+ interface CarouselItem {
395
+ id: number | string;
396
+ url: string;
397
+ title: string;
398
+ }
399
+ interface CarouselBaseProps {
400
+ items: CarouselItem[];
401
+ className?: string;
402
+ containerClassName?: string;
403
+ imageClassName?: string;
404
+ width?: string;
405
+ height?: string;
406
+ showControls?: boolean;
407
+ showIndicators?: boolean;
408
+ autoPlay?: boolean;
409
+ autoPlayInterval?: number;
410
+ springConfig?: {
411
+ stiffness?: number;
412
+ damping?: number;
413
+ };
414
+ }
410
415
 
411
416
  declare const ScrollAreaBase: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
412
417
  declare const ScrollBarBase: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -443,6 +448,19 @@ declare function BreadcrumbPageBase({ className, ...props }: React$1.ComponentPr
443
448
  declare function BreadcrumbSeparatorBase({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
444
449
  declare function BreadcrumbEllipsisBase({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
445
450
 
451
+ interface DebouncedInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value">, ErrorMessageProps {
452
+ value: string;
453
+ onChange: (value: string) => void;
454
+ debounce?: number;
455
+ label?: string;
456
+ labelClassname?: string;
457
+ leftIcon?: React.ReactNode;
458
+ rightIcon?: React.ReactNode;
459
+ showLoadingIndicator?: boolean;
460
+ error?: string | undefined;
461
+ }
462
+ declare const DebouncedInput: React$1.ForwardRefExoticComponent<DebouncedInputProps & React$1.RefAttributes<HTMLInputElement>>;
463
+
446
464
  declare const CommandBase: React$1.ForwardRefExoticComponent<Omit<{
447
465
  children?: React$1.ReactNode;
448
466
  } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
@@ -473,6 +491,14 @@ declare const CommandInputBase: React$1.ForwardRefExoticComponent<Omit<Omit<Pick
473
491
  } & React$1.RefAttributes<HTMLInputElement>, "ref"> & {
474
492
  testid?: string;
475
493
  } & React$1.RefAttributes<HTMLInputElement>>;
494
+ declare const CommandDebouncedInputBase: React$1.ForwardRefExoticComponent<Omit<Omit<DebouncedInputProps & React$1.RefAttributes<HTMLInputElement>, "ref">, "onChange" | "value"> & {
495
+ value?: string;
496
+ onChange?: (value: string) => void;
497
+ search?: string;
498
+ onSearch?: (value: string) => void;
499
+ testid?: string;
500
+ onValueChange?: (value: string) => void;
501
+ } & React$1.RefAttributes<HTMLInputElement>>;
476
502
  declare const CommandListBase: React$1.ForwardRefExoticComponent<Omit<{
477
503
  children?: React$1.ReactNode;
478
504
  } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
@@ -483,6 +509,7 @@ declare const CommandListBase: React$1.ForwardRefExoticComponent<Omit<{
483
509
  label?: string;
484
510
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
485
511
  testid?: string;
512
+ onEndReached?: () => void;
486
513
  } & React$1.RefAttributes<HTMLDivElement>>;
487
514
  declare const CommandEmptyBase: React$1.ForwardRefExoticComponent<Omit<{
488
515
  children?: React$1.ReactNode;
@@ -751,19 +778,6 @@ interface StatusProps extends React$1.HTMLAttributes<HTMLDivElement> {
751
778
  }
752
779
  declare function StatusIndicator({ color, size, position, show, children, className, ...props }: StatusProps): react_jsx_runtime.JSX.Element;
753
780
 
754
- interface DebouncedInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value">, ErrorMessageProps {
755
- value: string;
756
- onChange: (value: string) => void;
757
- debounce?: number;
758
- label?: string;
759
- labelClassname?: string;
760
- leftIcon?: React.ReactNode;
761
- rightIcon?: React.ReactNode;
762
- showLoadingIndicator?: boolean;
763
- error?: string | undefined;
764
- }
765
- declare function DebouncedInput({ value: initialValue, onChange, debounce, label, labelClassname, leftIcon, rightIcon, showLoadingIndicator, className, error, ...props }: DebouncedInputProps): react_jsx_runtime.JSX.Element;
766
-
767
781
  interface TreeNode {
768
782
  id: string;
769
783
  label: string;
@@ -1634,6 +1648,15 @@ declare function formatLinePercentage(value: number | string | undefined): strin
1634
1648
  interface ChartData$3 {
1635
1649
  [key: string]: string | number | boolean | null | undefined;
1636
1650
  }
1651
+ interface DataMapper {
1652
+ [dataKey: string]: {
1653
+ label?: string;
1654
+ valueFormatter?: (value: string | number) => string | number;
1655
+ color?: string;
1656
+ type?: "number" | "string" | "auto";
1657
+ visible?: boolean;
1658
+ };
1659
+ }
1637
1660
  interface BiaxialConfig {
1638
1661
  key: string[];
1639
1662
  label?: string;
@@ -1699,6 +1722,18 @@ interface SeriesConfig {
1699
1722
  line?: string[];
1700
1723
  area?: string[];
1701
1724
  }
1725
+ type SeriesOrder = {
1726
+ type: "bar" | "line" | "area";
1727
+ key: string;
1728
+ };
1729
+ type PropsLabelList = {
1730
+ height?: number | string;
1731
+ width?: number | string;
1732
+ x?: number | string;
1733
+ y?: number | string;
1734
+ value?: number | string;
1735
+ payload?: Record<string, unknown>;
1736
+ };
1702
1737
  type ValueFormatterType = (props: {
1703
1738
  value: number | string | undefined;
1704
1739
  formattedValue: string;
@@ -1716,6 +1751,8 @@ type Margins = Partial<{
1716
1751
  left: number;
1717
1752
  bottom: number;
1718
1753
  }>;
1754
+ type LabelListContent = (props: unknown) => React.ReactNode;
1755
+ type Primitive = string | number | boolean | null | undefined;
1719
1756
  interface XAxisConfig {
1720
1757
  dataKey: string;
1721
1758
  label?: string;
@@ -1729,6 +1766,18 @@ interface XAxisConfig {
1729
1766
  autoLabel?: boolean;
1730
1767
  }
1731
1768
  type ValueFormatter = (value: string | number) => string | number;
1769
+ type FinalValueFormatter = (value: number | string | null | undefined) => string;
1770
+ type SeriesEntry = {
1771
+ type: "bar" | "line" | "area";
1772
+ key: string;
1773
+ };
1774
+ type SeriesCounts = {
1775
+ bar: number;
1776
+ line: number;
1777
+ area: number;
1778
+ };
1779
+ type YAxisSide = "left" | "right";
1780
+ type YAxisMap = Record<string, YAxisSide>;
1732
1781
  interface MapperConfigEntry {
1733
1782
  label?: string;
1734
1783
  valueFormatter?: ValueFormatter;
@@ -1737,6 +1786,17 @@ interface MapperConfigEntry {
1737
1786
  visible?: boolean;
1738
1787
  }
1739
1788
  type MapperConfig = Record<string, MapperConfigEntry>;
1789
+ interface YAxisOptions {
1790
+ label?: string;
1791
+ stroke?: string;
1792
+ width?: number;
1793
+ percent?: boolean;
1794
+ percentDecimals?: number;
1795
+ }
1796
+ type YAxes = Partial<{
1797
+ left: YAxisOptions;
1798
+ right: YAxisOptions;
1799
+ }>;
1740
1800
  interface TooltipItem$2 {
1741
1801
  id: string;
1742
1802
  data: ChartData$3;
@@ -1745,6 +1805,9 @@ interface TooltipItem$2 {
1745
1805
  left: number;
1746
1806
  };
1747
1807
  }
1808
+ type TooltipAdaptedRow = Record<string, string | number> & {
1809
+ name: string;
1810
+ };
1748
1811
  interface TimeSeriesConfig {
1749
1812
  start?: number;
1750
1813
  end?: number;
@@ -1755,6 +1818,25 @@ interface TimeSeriesConfig {
1755
1818
  miniChartOpacity?: number;
1756
1819
  chartHeight?: number;
1757
1820
  }
1821
+ interface ChartHooksArgs {
1822
+ width?: number | string;
1823
+ measuredWidth?: number | null;
1824
+ points?: number;
1825
+ seriesCounts?: SeriesCounts;
1826
+ niceMax?: number;
1827
+ yAxes?: YAxes;
1828
+ yAxisLabel?: string;
1829
+ chartMargin?: Partial<{
1830
+ top: number;
1831
+ right: number;
1832
+ left: number;
1833
+ bottom: number;
1834
+ }>;
1835
+ showLabels?: boolean;
1836
+ timeSeries?: boolean | TimeSeriesConfig;
1837
+ timeSeriesLegend?: string;
1838
+ customLegend?: boolean;
1839
+ }
1758
1840
  interface LegendItem {
1759
1841
  label: string;
1760
1842
  value: string | number;
@@ -1907,6 +1989,14 @@ interface Props$2 {
1907
1989
  }
1908
1990
  declare const TooltipSimple: React__default.FC<Props$2>;
1909
1991
 
1992
+ interface Neo4jNode {
1993
+ identity: number;
1994
+ labels: string[];
1995
+ properties: {
1996
+ nome: string;
1997
+ };
1998
+ elementId: string;
1999
+ }
1910
2000
  interface IntegrationProperties {
1911
2001
  tipo?: string;
1912
2002
  Tipo?: string;
@@ -1919,6 +2009,21 @@ interface IntegrationProperties {
1919
2009
  Sustentacao?: string;
1920
2010
  Origem?: string;
1921
2011
  }
2012
+ interface Neo4jRelationship {
2013
+ identity: number;
2014
+ start: number;
2015
+ end: number;
2016
+ type: string;
2017
+ properties: IntegrationProperties;
2018
+ elementId: string;
2019
+ startNodeElementId: string;
2020
+ endNodeElementId: string;
2021
+ }
2022
+ interface Neo4jIntegration {
2023
+ origem: Neo4jNode;
2024
+ r: Neo4jRelationship;
2025
+ destino: Neo4jNode;
2026
+ }
1922
2027
  interface Connection {
1923
2028
  id: string;
1924
2029
  name: string;
@@ -1931,6 +2036,7 @@ interface SystemData {
1931
2036
  description?: string;
1932
2037
  connections: Connection[];
1933
2038
  }
2039
+ declare function processNeo4jData(integrations: Neo4jIntegration[], targetSystemName: string): SystemData;
1934
2040
 
1935
2041
  interface Position$1 {
1936
2042
  top: number;
@@ -2238,4 +2344,4 @@ declare const useDrag: (options?: UseDragOptions) => {
2238
2344
  isDragging: boolean;
2239
2345
  };
2240
2346
 
2241
- 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, 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, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, ChartControls, ChartHeader, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, 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, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, Leaderboard, type LeaderboardItem, type LeaderboardProps, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, 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 NewSelectProps, NoData, NotificationButton, NumericInput, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, 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, 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, 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, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, 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, 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 };
2347
+ 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, 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, 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, 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, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, 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, 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, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, 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 };
package/dist/index.d.ts CHANGED
@@ -18,7 +18,6 @@ import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
18
18
  import { OTPInput } from 'input-otp';
19
19
  import * as SliderPrimitive from '@radix-ui/react-slider';
20
20
  import * as SwitchPrimitives from '@radix-ui/react-switch';
21
- import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
22
21
  import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
23
22
  import * as SeparatorPrimitive from '@radix-ui/react-separator';
24
23
  import * as TabsPrimitive from '@radix-ui/react-tabs';
@@ -392,21 +391,27 @@ interface TextAreaBaseProps extends React$1.ComponentProps<"textarea"> {
392
391
  }
393
392
  declare const TextAreaBase: React$1.ForwardRefExoticComponent<Omit<TextAreaBaseProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
394
393
 
395
- type CarouselApi = UseEmblaCarouselType[1];
396
- type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
397
- type CarouselOptions = UseCarouselParameters[0];
398
- type CarouselPlugin = UseCarouselParameters[1];
399
- type CarouselProps = {
400
- opts?: CarouselOptions;
401
- plugins?: CarouselPlugin;
402
- orientation?: "horizontal" | "vertical";
403
- setApi?: (api: CarouselApi) => void;
404
- };
405
- declare function CarouselBase({ orientation, opts, setApi, plugins, className, children, ...props }: React$1.ComponentProps<"div"> & CarouselProps): react_jsx_runtime.JSX.Element;
406
- declare function CarouselContentBase({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
407
- declare function CarouselItemBase({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
408
- declare function CarouselPreviousBase({ className, variant, size, ...props }: React$1.ComponentProps<typeof ButtonBase>): react_jsx_runtime.JSX.Element;
409
- declare function CarouselNextBase({ className, variant, size, ...props }: React$1.ComponentProps<typeof ButtonBase>): react_jsx_runtime.JSX.Element;
394
+ interface CarouselItem {
395
+ id: number | string;
396
+ url: string;
397
+ title: string;
398
+ }
399
+ interface CarouselBaseProps {
400
+ items: CarouselItem[];
401
+ className?: string;
402
+ containerClassName?: string;
403
+ imageClassName?: string;
404
+ width?: string;
405
+ height?: string;
406
+ showControls?: boolean;
407
+ showIndicators?: boolean;
408
+ autoPlay?: boolean;
409
+ autoPlayInterval?: number;
410
+ springConfig?: {
411
+ stiffness?: number;
412
+ damping?: number;
413
+ };
414
+ }
410
415
 
411
416
  declare const ScrollAreaBase: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
412
417
  declare const ScrollBarBase: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
@@ -443,6 +448,19 @@ declare function BreadcrumbPageBase({ className, ...props }: React$1.ComponentPr
443
448
  declare function BreadcrumbSeparatorBase({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
444
449
  declare function BreadcrumbEllipsisBase({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
445
450
 
451
+ interface DebouncedInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value">, ErrorMessageProps {
452
+ value: string;
453
+ onChange: (value: string) => void;
454
+ debounce?: number;
455
+ label?: string;
456
+ labelClassname?: string;
457
+ leftIcon?: React.ReactNode;
458
+ rightIcon?: React.ReactNode;
459
+ showLoadingIndicator?: boolean;
460
+ error?: string | undefined;
461
+ }
462
+ declare const DebouncedInput: React$1.ForwardRefExoticComponent<DebouncedInputProps & React$1.RefAttributes<HTMLInputElement>>;
463
+
446
464
  declare const CommandBase: React$1.ForwardRefExoticComponent<Omit<{
447
465
  children?: React$1.ReactNode;
448
466
  } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
@@ -473,6 +491,14 @@ declare const CommandInputBase: React$1.ForwardRefExoticComponent<Omit<Omit<Pick
473
491
  } & React$1.RefAttributes<HTMLInputElement>, "ref"> & {
474
492
  testid?: string;
475
493
  } & React$1.RefAttributes<HTMLInputElement>>;
494
+ declare const CommandDebouncedInputBase: React$1.ForwardRefExoticComponent<Omit<Omit<DebouncedInputProps & React$1.RefAttributes<HTMLInputElement>, "ref">, "onChange" | "value"> & {
495
+ value?: string;
496
+ onChange?: (value: string) => void;
497
+ search?: string;
498
+ onSearch?: (value: string) => void;
499
+ testid?: string;
500
+ onValueChange?: (value: string) => void;
501
+ } & React$1.RefAttributes<HTMLInputElement>>;
476
502
  declare const CommandListBase: React$1.ForwardRefExoticComponent<Omit<{
477
503
  children?: React$1.ReactNode;
478
504
  } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
@@ -483,6 +509,7 @@ declare const CommandListBase: React$1.ForwardRefExoticComponent<Omit<{
483
509
  label?: string;
484
510
  } & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
485
511
  testid?: string;
512
+ onEndReached?: () => void;
486
513
  } & React$1.RefAttributes<HTMLDivElement>>;
487
514
  declare const CommandEmptyBase: React$1.ForwardRefExoticComponent<Omit<{
488
515
  children?: React$1.ReactNode;
@@ -751,19 +778,6 @@ interface StatusProps extends React$1.HTMLAttributes<HTMLDivElement> {
751
778
  }
752
779
  declare function StatusIndicator({ color, size, position, show, children, className, ...props }: StatusProps): react_jsx_runtime.JSX.Element;
753
780
 
754
- interface DebouncedInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value">, ErrorMessageProps {
755
- value: string;
756
- onChange: (value: string) => void;
757
- debounce?: number;
758
- label?: string;
759
- labelClassname?: string;
760
- leftIcon?: React.ReactNode;
761
- rightIcon?: React.ReactNode;
762
- showLoadingIndicator?: boolean;
763
- error?: string | undefined;
764
- }
765
- declare function DebouncedInput({ value: initialValue, onChange, debounce, label, labelClassname, leftIcon, rightIcon, showLoadingIndicator, className, error, ...props }: DebouncedInputProps): react_jsx_runtime.JSX.Element;
766
-
767
781
  interface TreeNode {
768
782
  id: string;
769
783
  label: string;
@@ -1634,6 +1648,15 @@ declare function formatLinePercentage(value: number | string | undefined): strin
1634
1648
  interface ChartData$3 {
1635
1649
  [key: string]: string | number | boolean | null | undefined;
1636
1650
  }
1651
+ interface DataMapper {
1652
+ [dataKey: string]: {
1653
+ label?: string;
1654
+ valueFormatter?: (value: string | number) => string | number;
1655
+ color?: string;
1656
+ type?: "number" | "string" | "auto";
1657
+ visible?: boolean;
1658
+ };
1659
+ }
1637
1660
  interface BiaxialConfig {
1638
1661
  key: string[];
1639
1662
  label?: string;
@@ -1699,6 +1722,18 @@ interface SeriesConfig {
1699
1722
  line?: string[];
1700
1723
  area?: string[];
1701
1724
  }
1725
+ type SeriesOrder = {
1726
+ type: "bar" | "line" | "area";
1727
+ key: string;
1728
+ };
1729
+ type PropsLabelList = {
1730
+ height?: number | string;
1731
+ width?: number | string;
1732
+ x?: number | string;
1733
+ y?: number | string;
1734
+ value?: number | string;
1735
+ payload?: Record<string, unknown>;
1736
+ };
1702
1737
  type ValueFormatterType = (props: {
1703
1738
  value: number | string | undefined;
1704
1739
  formattedValue: string;
@@ -1716,6 +1751,8 @@ type Margins = Partial<{
1716
1751
  left: number;
1717
1752
  bottom: number;
1718
1753
  }>;
1754
+ type LabelListContent = (props: unknown) => React.ReactNode;
1755
+ type Primitive = string | number | boolean | null | undefined;
1719
1756
  interface XAxisConfig {
1720
1757
  dataKey: string;
1721
1758
  label?: string;
@@ -1729,6 +1766,18 @@ interface XAxisConfig {
1729
1766
  autoLabel?: boolean;
1730
1767
  }
1731
1768
  type ValueFormatter = (value: string | number) => string | number;
1769
+ type FinalValueFormatter = (value: number | string | null | undefined) => string;
1770
+ type SeriesEntry = {
1771
+ type: "bar" | "line" | "area";
1772
+ key: string;
1773
+ };
1774
+ type SeriesCounts = {
1775
+ bar: number;
1776
+ line: number;
1777
+ area: number;
1778
+ };
1779
+ type YAxisSide = "left" | "right";
1780
+ type YAxisMap = Record<string, YAxisSide>;
1732
1781
  interface MapperConfigEntry {
1733
1782
  label?: string;
1734
1783
  valueFormatter?: ValueFormatter;
@@ -1737,6 +1786,17 @@ interface MapperConfigEntry {
1737
1786
  visible?: boolean;
1738
1787
  }
1739
1788
  type MapperConfig = Record<string, MapperConfigEntry>;
1789
+ interface YAxisOptions {
1790
+ label?: string;
1791
+ stroke?: string;
1792
+ width?: number;
1793
+ percent?: boolean;
1794
+ percentDecimals?: number;
1795
+ }
1796
+ type YAxes = Partial<{
1797
+ left: YAxisOptions;
1798
+ right: YAxisOptions;
1799
+ }>;
1740
1800
  interface TooltipItem$2 {
1741
1801
  id: string;
1742
1802
  data: ChartData$3;
@@ -1745,6 +1805,9 @@ interface TooltipItem$2 {
1745
1805
  left: number;
1746
1806
  };
1747
1807
  }
1808
+ type TooltipAdaptedRow = Record<string, string | number> & {
1809
+ name: string;
1810
+ };
1748
1811
  interface TimeSeriesConfig {
1749
1812
  start?: number;
1750
1813
  end?: number;
@@ -1755,6 +1818,25 @@ interface TimeSeriesConfig {
1755
1818
  miniChartOpacity?: number;
1756
1819
  chartHeight?: number;
1757
1820
  }
1821
+ interface ChartHooksArgs {
1822
+ width?: number | string;
1823
+ measuredWidth?: number | null;
1824
+ points?: number;
1825
+ seriesCounts?: SeriesCounts;
1826
+ niceMax?: number;
1827
+ yAxes?: YAxes;
1828
+ yAxisLabel?: string;
1829
+ chartMargin?: Partial<{
1830
+ top: number;
1831
+ right: number;
1832
+ left: number;
1833
+ bottom: number;
1834
+ }>;
1835
+ showLabels?: boolean;
1836
+ timeSeries?: boolean | TimeSeriesConfig;
1837
+ timeSeriesLegend?: string;
1838
+ customLegend?: boolean;
1839
+ }
1758
1840
  interface LegendItem {
1759
1841
  label: string;
1760
1842
  value: string | number;
@@ -1907,6 +1989,14 @@ interface Props$2 {
1907
1989
  }
1908
1990
  declare const TooltipSimple: React__default.FC<Props$2>;
1909
1991
 
1992
+ interface Neo4jNode {
1993
+ identity: number;
1994
+ labels: string[];
1995
+ properties: {
1996
+ nome: string;
1997
+ };
1998
+ elementId: string;
1999
+ }
1910
2000
  interface IntegrationProperties {
1911
2001
  tipo?: string;
1912
2002
  Tipo?: string;
@@ -1919,6 +2009,21 @@ interface IntegrationProperties {
1919
2009
  Sustentacao?: string;
1920
2010
  Origem?: string;
1921
2011
  }
2012
+ interface Neo4jRelationship {
2013
+ identity: number;
2014
+ start: number;
2015
+ end: number;
2016
+ type: string;
2017
+ properties: IntegrationProperties;
2018
+ elementId: string;
2019
+ startNodeElementId: string;
2020
+ endNodeElementId: string;
2021
+ }
2022
+ interface Neo4jIntegration {
2023
+ origem: Neo4jNode;
2024
+ r: Neo4jRelationship;
2025
+ destino: Neo4jNode;
2026
+ }
1922
2027
  interface Connection {
1923
2028
  id: string;
1924
2029
  name: string;
@@ -1931,6 +2036,7 @@ interface SystemData {
1931
2036
  description?: string;
1932
2037
  connections: Connection[];
1933
2038
  }
2039
+ declare function processNeo4jData(integrations: Neo4jIntegration[], targetSystemName: string): SystemData;
1934
2040
 
1935
2041
  interface Position$1 {
1936
2042
  top: number;
@@ -2238,4 +2344,4 @@ declare const useDrag: (options?: UseDragOptions) => {
2238
2344
  isDragging: boolean;
2239
2345
  };
2240
2346
 
2241
- 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, 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, type CarouselApi, CarouselBase, CarouselContentBase, CarouselItemBase, CarouselNextBase, CarouselPreviousBase, ChangeButton, Chart, ChartControls, ChartHeader, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, CopyButton, 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, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, LabelBase, Leaderboard, type LeaderboardItem, type LeaderboardProps, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, 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 NewSelectProps, NoData, NotificationButton, NumericInput, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, 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, 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, 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, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, 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, 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 };
2347
+ 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, 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, 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, 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, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, 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, 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, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, 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 };