@mlw-packages/react-components 1.10.30 → 1.10.31
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.css +6 -0
- package/dist/index.d.mts +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +237 -182
- package/dist/index.mjs +237 -183
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -495,6 +495,9 @@ body {
|
|
|
495
495
|
.left-1 {
|
|
496
496
|
left: 0.25rem;
|
|
497
497
|
}
|
|
498
|
+
.left-1\.5 {
|
|
499
|
+
left: 0.375rem;
|
|
500
|
+
}
|
|
498
501
|
.left-1\/2 {
|
|
499
502
|
left: 50%;
|
|
500
503
|
}
|
|
@@ -525,6 +528,9 @@ body {
|
|
|
525
528
|
.right-1 {
|
|
526
529
|
right: 0.25rem;
|
|
527
530
|
}
|
|
531
|
+
.right-1\.5 {
|
|
532
|
+
right: 0.375rem;
|
|
533
|
+
}
|
|
528
534
|
.right-11 {
|
|
529
535
|
right: 2.75rem;
|
|
530
536
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -2710,6 +2710,7 @@ declare function useCommandPalette({ items, groups, open, onOpenChange, recentIt
|
|
|
2710
2710
|
totalItems: number;
|
|
2711
2711
|
totalPages: number;
|
|
2712
2712
|
handleSelect: (item?: CommandItem, event?: React$1.MouseEvent | React$1.KeyboardEvent | KeyboardEvent | MouseEvent) => void;
|
|
2713
|
+
handleCheckboxToggle: (item: CommandItem) => void;
|
|
2713
2714
|
selectedItemIds: Set<string>;
|
|
2714
2715
|
toggleSelection: (id: string) => void;
|
|
2715
2716
|
selectedItems: CommandItem[];
|
|
@@ -2718,6 +2719,20 @@ declare function useCommandPalette({ items, groups, open, onOpenChange, recentIt
|
|
|
2718
2719
|
showList: boolean;
|
|
2719
2720
|
};
|
|
2720
2721
|
|
|
2722
|
+
type MaskType = 'cpf' | 'cnpj' | 'rg' | 'cep' | 'phone';
|
|
2723
|
+
type MaskedInputProps = {
|
|
2724
|
+
value: string;
|
|
2725
|
+
onChange: (value: string) => void;
|
|
2726
|
+
mask: MaskType;
|
|
2727
|
+
label?: string;
|
|
2728
|
+
className?: string;
|
|
2729
|
+
error?: string;
|
|
2730
|
+
isLoading?: boolean;
|
|
2731
|
+
disabled?: boolean;
|
|
2732
|
+
hideConfirm?: boolean;
|
|
2733
|
+
};
|
|
2734
|
+
declare function MaskedInput({ value, onChange, mask, label, className, error, isLoading, disabled, hideConfirm, }: MaskedInputProps): react_jsx_runtime.JSX.Element;
|
|
2735
|
+
|
|
2721
2736
|
declare function useIsMobile(): boolean;
|
|
2722
2737
|
|
|
2723
2738
|
interface Position {
|
|
@@ -2737,4 +2752,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
2737
2752
|
isDragging: boolean;
|
|
2738
2753
|
};
|
|
2739
2754
|
|
|
2740
|
-
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 BadgeRankType, 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, CircularProgress, type CircularProgressProps, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, type CommandGroup, CommandGroupBase, CommandInputBase, type CommandItem, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, type CommandPaletteProps, 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, type DisabledSlot, type DisabledSlots, 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, FileAccept, FileUploader, type FileUploaderProps, type FileWithPreview, type FilesAccepted, FilterButton, type FinalValueFormatter, GroupLabel, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type Integration, type IntegrationConnection, type IntegrationData, IntegrationModal, type IntegrationModalProps, type IntegrationProperties, type IntegrationProps, Kbd, KbdGroup, 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, type Node, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PieChartComponent, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Position$1 as Position, 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, 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, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, 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, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|
|
2755
|
+
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 BadgeRankType, 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, CircularProgress, type CircularProgressProps, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, type CommandGroup, CommandGroupBase, CommandInputBase, type CommandItem, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, type CommandPaletteProps, 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, type DisabledSlot, type DisabledSlots, 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, FileAccept, FileUploader, type FileUploaderProps, type FileWithPreview, type FilesAccepted, FilterButton, type FinalValueFormatter, GroupLabel, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type Integration, type IntegrationConnection, type IntegrationData, IntegrationModal, type IntegrationModalProps, type IntegrationProperties, type IntegrationProps, Kbd, KbdGroup, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, MaskedInput, 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, type Node, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PieChartComponent, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Position$1 as Position, 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, 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, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, 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, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|
package/dist/index.d.ts
CHANGED
|
@@ -2710,6 +2710,7 @@ declare function useCommandPalette({ items, groups, open, onOpenChange, recentIt
|
|
|
2710
2710
|
totalItems: number;
|
|
2711
2711
|
totalPages: number;
|
|
2712
2712
|
handleSelect: (item?: CommandItem, event?: React$1.MouseEvent | React$1.KeyboardEvent | KeyboardEvent | MouseEvent) => void;
|
|
2713
|
+
handleCheckboxToggle: (item: CommandItem) => void;
|
|
2713
2714
|
selectedItemIds: Set<string>;
|
|
2714
2715
|
toggleSelection: (id: string) => void;
|
|
2715
2716
|
selectedItems: CommandItem[];
|
|
@@ -2718,6 +2719,20 @@ declare function useCommandPalette({ items, groups, open, onOpenChange, recentIt
|
|
|
2718
2719
|
showList: boolean;
|
|
2719
2720
|
};
|
|
2720
2721
|
|
|
2722
|
+
type MaskType = 'cpf' | 'cnpj' | 'rg' | 'cep' | 'phone';
|
|
2723
|
+
type MaskedInputProps = {
|
|
2724
|
+
value: string;
|
|
2725
|
+
onChange: (value: string) => void;
|
|
2726
|
+
mask: MaskType;
|
|
2727
|
+
label?: string;
|
|
2728
|
+
className?: string;
|
|
2729
|
+
error?: string;
|
|
2730
|
+
isLoading?: boolean;
|
|
2731
|
+
disabled?: boolean;
|
|
2732
|
+
hideConfirm?: boolean;
|
|
2733
|
+
};
|
|
2734
|
+
declare function MaskedInput({ value, onChange, mask, label, className, error, isLoading, disabled, hideConfirm, }: MaskedInputProps): react_jsx_runtime.JSX.Element;
|
|
2735
|
+
|
|
2721
2736
|
declare function useIsMobile(): boolean;
|
|
2722
2737
|
|
|
2723
2738
|
interface Position {
|
|
@@ -2737,4 +2752,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
2737
2752
|
isDragging: boolean;
|
|
2738
2753
|
};
|
|
2739
2754
|
|
|
2740
|
-
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 BadgeRankType, 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, CircularProgress, type CircularProgressProps, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, type CommandGroup, CommandGroupBase, CommandInputBase, type CommandItem, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, type CommandPaletteProps, 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, type DisabledSlot, type DisabledSlots, 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, FileAccept, FileUploader, type FileUploaderProps, type FileWithPreview, type FilesAccepted, FilterButton, type FinalValueFormatter, GroupLabel, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type Integration, type IntegrationConnection, type IntegrationData, IntegrationModal, type IntegrationModalProps, type IntegrationProperties, type IntegrationProps, Kbd, KbdGroup, 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, type Node, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PieChartComponent, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Position$1 as Position, 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, 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, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, 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, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|
|
2755
|
+
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 BadgeRankType, 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, CircularProgress, type CircularProgressProps, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, type CommandGroup, CommandGroupBase, CommandInputBase, type CommandItem, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, type CommandPaletteProps, 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, type DisabledSlot, type DisabledSlots, 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, FileAccept, FileUploader, type FileUploaderProps, type FileWithPreview, type FilesAccepted, FilterButton, type FinalValueFormatter, GroupLabel, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type Integration, type IntegrationConnection, type IntegrationData, IntegrationModal, type IntegrationModalProps, type IntegrationProperties, type IntegrationProps, Kbd, KbdGroup, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, MaskedInput, 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, type Node, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PieChartComponent, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Position$1 as Position, 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, 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, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, 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, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|
package/dist/index.js
CHANGED
|
@@ -9795,6 +9795,82 @@ function DroppableCellAgenda({
|
|
|
9795
9795
|
}
|
|
9796
9796
|
);
|
|
9797
9797
|
}
|
|
9798
|
+
var PEEK_HEIGHT = 22;
|
|
9799
|
+
var PADDING = 6;
|
|
9800
|
+
function AllDayStack({
|
|
9801
|
+
day,
|
|
9802
|
+
events,
|
|
9803
|
+
expandedDay,
|
|
9804
|
+
onExpand,
|
|
9805
|
+
onEventSelect,
|
|
9806
|
+
noTime
|
|
9807
|
+
}) {
|
|
9808
|
+
const isExpanded = expandedDay ? dateFns.isSameDay(expandedDay, day) : false;
|
|
9809
|
+
const containerRef = React32.useRef(null);
|
|
9810
|
+
React32.useEffect(() => {
|
|
9811
|
+
if (!isExpanded) return;
|
|
9812
|
+
const handler = (e) => {
|
|
9813
|
+
if (containerRef.current && !containerRef.current.contains(e.target)) {
|
|
9814
|
+
onExpand(null);
|
|
9815
|
+
}
|
|
9816
|
+
};
|
|
9817
|
+
document.addEventListener("mousedown", handler);
|
|
9818
|
+
return () => document.removeEventListener("mousedown", handler);
|
|
9819
|
+
}, [isExpanded, onExpand]);
|
|
9820
|
+
if (events.length === 0) return null;
|
|
9821
|
+
const single = events.length === 1;
|
|
9822
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
9823
|
+
"div",
|
|
9824
|
+
{
|
|
9825
|
+
className: "absolute inset-0",
|
|
9826
|
+
ref: containerRef,
|
|
9827
|
+
style: { zIndex: isExpanded ? 50 : 10 },
|
|
9828
|
+
children: events.map((event, i) => {
|
|
9829
|
+
const top = PADDING + i * PEEK_HEIGHT;
|
|
9830
|
+
const bottom = PADDING;
|
|
9831
|
+
const zIndex = i + 1;
|
|
9832
|
+
return /* @__PURE__ */ jsxRuntime.jsx(TooltipProviderBase, { delayDuration: 400, children: /* @__PURE__ */ jsxRuntime.jsxs(TooltipBase, { children: [
|
|
9833
|
+
/* @__PURE__ */ jsxRuntime.jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
9834
|
+
"div",
|
|
9835
|
+
{
|
|
9836
|
+
className: "absolute left-1.5 right-1.5 cursor-pointer",
|
|
9837
|
+
style: { top, bottom, zIndex },
|
|
9838
|
+
onClick: (e) => {
|
|
9839
|
+
e.stopPropagation();
|
|
9840
|
+
if (isExpanded || single) {
|
|
9841
|
+
onEventSelect(event, e);
|
|
9842
|
+
} else {
|
|
9843
|
+
onExpand(day);
|
|
9844
|
+
}
|
|
9845
|
+
},
|
|
9846
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
9847
|
+
EventItemAgenda,
|
|
9848
|
+
{
|
|
9849
|
+
event,
|
|
9850
|
+
isFirstDay: true,
|
|
9851
|
+
isLastDay: true,
|
|
9852
|
+
view: "day",
|
|
9853
|
+
noTime,
|
|
9854
|
+
className: "flex justify-start items-start rounded-sm py-1 h-full w-full pointer-events-none"
|
|
9855
|
+
}
|
|
9856
|
+
)
|
|
9857
|
+
}
|
|
9858
|
+
) }),
|
|
9859
|
+
/* @__PURE__ */ jsxRuntime.jsxs(TooltipContentBase, { side: "top", sideOffset: 6, className: "max-w-[220px] space-y-0.5", children: [
|
|
9860
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold text-sm leading-snug", children: event.title }),
|
|
9861
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: formatDurationAgenda(event) }),
|
|
9862
|
+
event.location && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-xs flex items-center gap-2", children: [
|
|
9863
|
+
/* @__PURE__ */ jsxRuntime.jsx(ssr.MapPinIcon, { size: 15 }),
|
|
9864
|
+
" ",
|
|
9865
|
+
event.location
|
|
9866
|
+
] }),
|
|
9867
|
+
event.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-75 line-clamp-2", children: event.description })
|
|
9868
|
+
] })
|
|
9869
|
+
] }) }, event.id);
|
|
9870
|
+
})
|
|
9871
|
+
}
|
|
9872
|
+
);
|
|
9873
|
+
}
|
|
9798
9874
|
function DayViewAgenda({
|
|
9799
9875
|
currentDate,
|
|
9800
9876
|
events,
|
|
@@ -9804,6 +9880,7 @@ function DayViewAgenda({
|
|
|
9804
9880
|
onEventCreate,
|
|
9805
9881
|
allDayCell = false
|
|
9806
9882
|
}) {
|
|
9883
|
+
const [expandedDay, setExpandedDay] = React32.useState(null);
|
|
9807
9884
|
const hours = React32.useMemo(() => {
|
|
9808
9885
|
const dayStart = dateFns.startOfDay(currentDate);
|
|
9809
9886
|
return dateFns.eachHourOfInterval({
|
|
@@ -9964,52 +10041,17 @@ function DayViewAgenda({
|
|
|
9964
10041
|
hour.toString()
|
|
9965
10042
|
)) }),
|
|
9966
10043
|
showAllDaySection && allDayCell ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
|
|
9970
|
-
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
/* @__PURE__ */ jsxRuntime.jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "size-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
9979
|
-
EventItemAgenda,
|
|
9980
|
-
{
|
|
9981
|
-
event,
|
|
9982
|
-
view: "day",
|
|
9983
|
-
isFirstDay,
|
|
9984
|
-
isLastDay,
|
|
9985
|
-
onClick: (e) => handleEventClick(event, e),
|
|
9986
|
-
noTime,
|
|
9987
|
-
className: "flex justify-start items-start rounded-sm p-2"
|
|
9988
|
-
}
|
|
9989
|
-
) }) }),
|
|
9990
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
9991
|
-
TooltipContentBase,
|
|
9992
|
-
{
|
|
9993
|
-
side: "top",
|
|
9994
|
-
sideOffset: 6,
|
|
9995
|
-
className: "max-w-[220px] space-y-0.5",
|
|
9996
|
-
children: [
|
|
9997
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold text-sm leading-snug", children: event.title }),
|
|
9998
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: formatDurationAgenda(event) }),
|
|
9999
|
-
event.location && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-xs flex items-center gap-2", children: [
|
|
10000
|
-
/* @__PURE__ */ jsxRuntime.jsx(react.MapPinIcon, { size: 15 }),
|
|
10001
|
-
" ",
|
|
10002
|
-
event.location
|
|
10003
|
-
] }),
|
|
10004
|
-
event.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-75 line-clamp-2", children: event.description })
|
|
10005
|
-
]
|
|
10006
|
-
}
|
|
10007
|
-
)
|
|
10008
|
-
] }) })
|
|
10009
|
-
},
|
|
10010
|
-
`spanning-${event.id}`
|
|
10011
|
-
);
|
|
10012
|
-
}),
|
|
10044
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
10045
|
+
AllDayStack,
|
|
10046
|
+
{
|
|
10047
|
+
day: currentDate,
|
|
10048
|
+
events: allDayEvents,
|
|
10049
|
+
expandedDay,
|
|
10050
|
+
onExpand: setExpandedDay,
|
|
10051
|
+
onEventSelect: handleEventClick,
|
|
10052
|
+
noTime
|
|
10053
|
+
}
|
|
10054
|
+
),
|
|
10013
10055
|
currentTimeVisible && /* @__PURE__ */ jsxRuntime.jsx(
|
|
10014
10056
|
"div",
|
|
10015
10057
|
{
|
|
@@ -11320,6 +11362,7 @@ function WeekViewAgenda({
|
|
|
11320
11362
|
showUndatedEvents,
|
|
11321
11363
|
noTime = false
|
|
11322
11364
|
}) {
|
|
11365
|
+
const [expandedDay, setExpandedDay] = React32.useState(null);
|
|
11323
11366
|
const days = React32.useMemo(() => {
|
|
11324
11367
|
const weekStart = dateFns.startOfWeek(currentDate, { weekStartsOn: 0 });
|
|
11325
11368
|
const weekEnd = dateFns.endOfWeek(currentDate, { weekStartsOn: 0 });
|
|
@@ -11366,11 +11409,6 @@ function WeekViewAgenda({
|
|
|
11366
11409
|
[allDayEvents]
|
|
11367
11410
|
);
|
|
11368
11411
|
const rowH = EventHeightAgenda + EventGapAgenda;
|
|
11369
|
-
const allDayBarData = React32.useMemo(() => {
|
|
11370
|
-
const bars = computeMultiDayBars(trueAllDayEvents, days);
|
|
11371
|
-
const maxSlot = bars.length > 0 ? Math.max(...bars.map((b) => b.slot)) : 0;
|
|
11372
|
-
return { bars, sectionH: (maxSlot + 1) * rowH + EventGapAgenda * 2 };
|
|
11373
|
-
}, [trueAllDayEvents, days, rowH]);
|
|
11374
11412
|
const multiDayBarData = React32.useMemo(() => {
|
|
11375
11413
|
const bars = computeMultiDayBars(multiDayTimedEvents, days);
|
|
11376
11414
|
const maxSlot = bars.length > 0 ? Math.max(...bars.map((b) => b.slot)) : 0;
|
|
@@ -11493,76 +11531,31 @@ function WeekViewAgenda({
|
|
|
11493
11531
|
showAllDaySection && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-border/70 border-b bg-muted/50", children: [
|
|
11494
11532
|
trueAllDayEvents.length > 0 && !allDayCell && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-8", children: [
|
|
11495
11533
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative border-border/70 border-r flex items-center justify-center p-1", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-center text-[10px] text-muted-foreground/70 sm:text-xs", children: "Todo dia" }) }),
|
|
11496
|
-
|
|
11497
|
-
|
|
11498
|
-
|
|
11499
|
-
|
|
11500
|
-
|
|
11501
|
-
|
|
11502
|
-
|
|
11503
|
-
|
|
11534
|
+
days.map((day) => {
|
|
11535
|
+
const dayEvents = trueAllDayEvents.filter((event) => {
|
|
11536
|
+
const start = getEventStartDate(event);
|
|
11537
|
+
return start ? dateFns.isSameDay(day, start) : false;
|
|
11538
|
+
});
|
|
11539
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
11540
|
+
"div",
|
|
11541
|
+
{
|
|
11542
|
+
className: "relative border-r last:border-r-0 border-border/70 overflow-visible py-0.5",
|
|
11543
|
+
"data-today": dateFns.isToday(day) || void 0,
|
|
11544
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11545
|
+
AllDayStack,
|
|
11504
11546
|
{
|
|
11505
|
-
|
|
11506
|
-
|
|
11507
|
-
|
|
11508
|
-
|
|
11509
|
-
|
|
11510
|
-
|
|
11511
|
-
|
|
11512
|
-
|
|
11513
|
-
|
|
11514
|
-
|
|
11515
|
-
|
|
11516
|
-
|
|
11517
|
-
slot
|
|
11518
|
-
} = bar;
|
|
11519
|
-
const showTitle = isFirstDay || !isFirstDay && colStart === 0;
|
|
11520
|
-
return /* @__PURE__ */ jsxRuntime.jsx(TooltipProviderBase, { delayDuration: 400, children: /* @__PURE__ */ jsxRuntime.jsxs(TooltipBase, { children: [
|
|
11521
|
-
/* @__PURE__ */ jsxRuntime.jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11522
|
-
"div",
|
|
11523
|
-
{
|
|
11524
|
-
className: "absolute px-0.5",
|
|
11525
|
-
style: {
|
|
11526
|
-
left: `calc(${colStart / 7 * 100}% + 2px)`,
|
|
11527
|
-
width: `calc(${colSpan / 7 * 100}% - 4px)`,
|
|
11528
|
-
top: EventGapAgenda + slot * rowH,
|
|
11529
|
-
height: EventHeightAgenda
|
|
11530
|
-
},
|
|
11531
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11532
|
-
EventItemAgenda,
|
|
11533
|
-
{
|
|
11534
|
-
event,
|
|
11535
|
-
isFirstDay,
|
|
11536
|
-
isLastDay,
|
|
11537
|
-
onClick: (e) => {
|
|
11538
|
-
e.stopPropagation();
|
|
11539
|
-
handleEventClick(event, e);
|
|
11540
|
-
},
|
|
11541
|
-
view: "month",
|
|
11542
|
-
className: "h-full",
|
|
11543
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-1 min-w-0 w-full", children: [
|
|
11544
|
-
!isFirstDay && colStart === 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-[11px] font-bold opacity-60", children: /* @__PURE__ */ jsxRuntime.jsx(ssr.CaretLeftIcon, {}) }),
|
|
11545
|
-
showTitle && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate text-xs font-medium", children: event.title }),
|
|
11546
|
-
!isLastDay && colStart + colSpan === 7 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 ml-auto text-[11px] font-bold opacity-60", children: /* @__PURE__ */ jsxRuntime.jsx(ssr.CaretRightIcon, {}) })
|
|
11547
|
-
] })
|
|
11548
|
-
}
|
|
11549
|
-
)
|
|
11550
|
-
}
|
|
11551
|
-
) }),
|
|
11552
|
-
/* @__PURE__ */ jsxRuntime.jsxs(TooltipContentBase, { side: "top", children: [
|
|
11553
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold truncate max-w-[200px]", children: event.title }),
|
|
11554
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "opacity-80 mt-0.5 leading-snug", children: formatDurationAgenda(event) }),
|
|
11555
|
-
event.location && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "opacity-60 mt-0.5 truncate text-[11px] max-w-[200px] flex items-center gap-1", children: [
|
|
11556
|
-
/* @__PURE__ */ jsxRuntime.jsx(ssr.MapPinIcon, { size: 14 }),
|
|
11557
|
-
" ",
|
|
11558
|
-
event.location
|
|
11559
|
-
] })
|
|
11560
|
-
] })
|
|
11561
|
-
] }) }, event.id);
|
|
11562
|
-
})
|
|
11563
|
-
]
|
|
11564
|
-
}
|
|
11565
|
-
)
|
|
11547
|
+
day,
|
|
11548
|
+
events: dayEvents,
|
|
11549
|
+
expandedDay,
|
|
11550
|
+
onExpand: setExpandedDay,
|
|
11551
|
+
onEventSelect: handleEventClick,
|
|
11552
|
+
noTime
|
|
11553
|
+
}
|
|
11554
|
+
)
|
|
11555
|
+
},
|
|
11556
|
+
day.toString()
|
|
11557
|
+
);
|
|
11558
|
+
})
|
|
11566
11559
|
] }),
|
|
11567
11560
|
multiDayTimedEvents.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
11568
11561
|
"div",
|
|
@@ -11679,60 +11672,19 @@ function WeekViewAgenda({
|
|
|
11679
11672
|
className: "relative grid auto-cols-fr border-border/70 border-r last:border-r-0",
|
|
11680
11673
|
"data-today": dateFns.isToday(day) || void 0,
|
|
11681
11674
|
children: [
|
|
11682
|
-
trueAllDayEvents.length > 0 && allDayCell && /* @__PURE__ */ jsxRuntime.jsx(
|
|
11683
|
-
|
|
11684
|
-
|
|
11685
|
-
|
|
11686
|
-
|
|
11687
|
-
|
|
11688
|
-
|
|
11689
|
-
|
|
11690
|
-
|
|
11691
|
-
|
|
11692
|
-
|
|
11693
|
-
|
|
11694
|
-
|
|
11695
|
-
style: {
|
|
11696
|
-
height: "100%",
|
|
11697
|
-
width: "100%",
|
|
11698
|
-
padding: "10px"
|
|
11699
|
-
},
|
|
11700
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(TooltipProviderBase, { delayDuration: 400, children: /* @__PURE__ */ jsxRuntime.jsxs(TooltipBase, { children: [
|
|
11701
|
-
/* @__PURE__ */ jsxRuntime.jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "size-full", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11702
|
-
EventItemAgenda,
|
|
11703
|
-
{
|
|
11704
|
-
event,
|
|
11705
|
-
view: "day",
|
|
11706
|
-
isFirstDay,
|
|
11707
|
-
isLastDay,
|
|
11708
|
-
onClick: (e) => handleEventClick(event, e),
|
|
11709
|
-
noTime,
|
|
11710
|
-
className: "flex justify-start items-start rounded-sm py-1"
|
|
11711
|
-
}
|
|
11712
|
-
) }) }),
|
|
11713
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
11714
|
-
TooltipContentBase,
|
|
11715
|
-
{
|
|
11716
|
-
side: "top",
|
|
11717
|
-
sideOffset: 6,
|
|
11718
|
-
className: "max-w-[220px] space-y-0.5",
|
|
11719
|
-
children: [
|
|
11720
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold text-sm leading-snug", children: event.title }),
|
|
11721
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-90", children: formatDurationAgenda(event) }),
|
|
11722
|
-
event.location && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-xs flex items-center gap-2", children: [
|
|
11723
|
-
/* @__PURE__ */ jsxRuntime.jsx(ssr.MapPinIcon, { size: 15 }),
|
|
11724
|
-
" ",
|
|
11725
|
-
event.location
|
|
11726
|
-
] }),
|
|
11727
|
-
event.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs opacity-75 line-clamp-2", children: event.description })
|
|
11728
|
-
]
|
|
11729
|
-
}
|
|
11730
|
-
)
|
|
11731
|
-
] }) })
|
|
11732
|
-
},
|
|
11733
|
-
`spanning-${event.id}`
|
|
11734
|
-
);
|
|
11735
|
-
}) }),
|
|
11675
|
+
trueAllDayEvents.length > 0 && allDayCell && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 overflow-visible", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11676
|
+
AllDayStack,
|
|
11677
|
+
{
|
|
11678
|
+
day,
|
|
11679
|
+
events: trueAllDayEvents.filter(
|
|
11680
|
+
(event) => event.start?.toLocaleDateString() === new Date(day).toLocaleDateString()
|
|
11681
|
+
),
|
|
11682
|
+
expandedDay,
|
|
11683
|
+
onExpand: setExpandedDay,
|
|
11684
|
+
onEventSelect: handleEventClick,
|
|
11685
|
+
noTime
|
|
11686
|
+
}
|
|
11687
|
+
) }),
|
|
11736
11688
|
(processedDayEvents[dayIndex] ?? []).map((positionedEvent) => {
|
|
11737
11689
|
const timeLabel = formatDurationAgenda(positionedEvent.event);
|
|
11738
11690
|
return /* @__PURE__ */ jsxRuntime.jsx(TooltipProviderBase, { children: /* @__PURE__ */ jsxRuntime.jsxs(TooltipBase, { delayDuration: 250, children: [
|
|
@@ -21094,6 +21046,102 @@ var TagInput = React32__namespace.forwardRef(
|
|
|
21094
21046
|
}
|
|
21095
21047
|
);
|
|
21096
21048
|
TagInput.displayName = "TagInput";
|
|
21049
|
+
function MaskedInput({
|
|
21050
|
+
value,
|
|
21051
|
+
onChange,
|
|
21052
|
+
mask,
|
|
21053
|
+
label,
|
|
21054
|
+
className,
|
|
21055
|
+
error,
|
|
21056
|
+
isLoading,
|
|
21057
|
+
disabled,
|
|
21058
|
+
hideConfirm = false
|
|
21059
|
+
}) {
|
|
21060
|
+
const [internalValue, setInternalValue] = React32.useState(value);
|
|
21061
|
+
React32.useEffect(() => {
|
|
21062
|
+
setInternalValue(applyMask(value, mask));
|
|
21063
|
+
}, [value, mask]);
|
|
21064
|
+
const hasChanged = internalValue !== applyMask(value, mask);
|
|
21065
|
+
const handleSave = () => {
|
|
21066
|
+
if (!hasChanged || isLoading || disabled) return;
|
|
21067
|
+
onChange(internalValue.replace(/\D/g, ""));
|
|
21068
|
+
};
|
|
21069
|
+
function applyMask(value2, type) {
|
|
21070
|
+
let valueMasked = value2.replace(/\D/g, "");
|
|
21071
|
+
switch (type) {
|
|
21072
|
+
case "cpf":
|
|
21073
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21074
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21075
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d{1,2})$/, "$1-$2");
|
|
21076
|
+
return valueMasked.substring(0, 14);
|
|
21077
|
+
case "cnpj":
|
|
21078
|
+
valueMasked = valueMasked.replace(/^(\d{2})(\d)/, "$1.$2");
|
|
21079
|
+
valueMasked = valueMasked.replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3");
|
|
21080
|
+
valueMasked = valueMasked.replace(/\.(\d{3})(\d)/, ".$1/$2");
|
|
21081
|
+
valueMasked = valueMasked.replace(/(\d{4})(\d)/, "$1-$2");
|
|
21082
|
+
return valueMasked.substring(0, 18);
|
|
21083
|
+
case "cep":
|
|
21084
|
+
valueMasked = valueMasked.replace(/(\d{5})(\d)/, "$1-$2");
|
|
21085
|
+
return valueMasked.substring(0, 9);
|
|
21086
|
+
case "phone":
|
|
21087
|
+
valueMasked = valueMasked.replace(/^(\d{2})(\d)/g, "($1) $2");
|
|
21088
|
+
valueMasked = valueMasked.replace(/(\d)(\d{4})$/, "$1-$2");
|
|
21089
|
+
return valueMasked.substring(0, 15);
|
|
21090
|
+
case "rg":
|
|
21091
|
+
valueMasked = valueMasked.replace(/(\d{2})(\d)/, "$1.$2");
|
|
21092
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21093
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d{1})$/, "$1-$2");
|
|
21094
|
+
return valueMasked.substring(0, 12);
|
|
21095
|
+
default:
|
|
21096
|
+
return valueMasked;
|
|
21097
|
+
}
|
|
21098
|
+
}
|
|
21099
|
+
function blurOnEnter(e) {
|
|
21100
|
+
if (e.key === "Enter") {
|
|
21101
|
+
e.currentTarget.blur();
|
|
21102
|
+
}
|
|
21103
|
+
}
|
|
21104
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: `${className} flex flex-col`, children: [
|
|
21105
|
+
label && /* @__PURE__ */ jsxRuntime.jsx(LabelBase_default, { children: label }),
|
|
21106
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start gap-2", children: [
|
|
21107
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
21108
|
+
InputBase,
|
|
21109
|
+
{
|
|
21110
|
+
value: internalValue,
|
|
21111
|
+
onChange: (e) => {
|
|
21112
|
+
const masked = applyMask(e.currentTarget.value, mask);
|
|
21113
|
+
setInternalValue(masked);
|
|
21114
|
+
},
|
|
21115
|
+
onBlur: handleSave,
|
|
21116
|
+
onKeyDown: blurOnEnter,
|
|
21117
|
+
rightIcon: /* @__PURE__ */ jsxRuntime.jsx(react.PencilSimpleIcon, { size: 12, className: "mr-2" }),
|
|
21118
|
+
error,
|
|
21119
|
+
disabled,
|
|
21120
|
+
inputMode: "numeric"
|
|
21121
|
+
}
|
|
21122
|
+
),
|
|
21123
|
+
/* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { children: hasChanged && !hideConfirm && /* @__PURE__ */ jsxRuntime.jsx(
|
|
21124
|
+
framerMotion.motion.div,
|
|
21125
|
+
{
|
|
21126
|
+
initial: { opacity: 0, scale: 0.8 },
|
|
21127
|
+
animate: { opacity: 1, scale: 1 },
|
|
21128
|
+
exit: { opacity: 0, scale: 0.8 },
|
|
21129
|
+
transition: { type: "spring", stiffness: 500, damping: 30 },
|
|
21130
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
21131
|
+
ButtonBase,
|
|
21132
|
+
{
|
|
21133
|
+
onClick: handleSave,
|
|
21134
|
+
className: "h-9 w-9 bg-green-600 text-white hover:bg-green-700 rounded-md flex items-center justify-center",
|
|
21135
|
+
size: "icon",
|
|
21136
|
+
isLoading,
|
|
21137
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(react.CheckIcon, { size: 14 })
|
|
21138
|
+
}
|
|
21139
|
+
)
|
|
21140
|
+
}
|
|
21141
|
+
) })
|
|
21142
|
+
] })
|
|
21143
|
+
] });
|
|
21144
|
+
}
|
|
21097
21145
|
function Leaderboard({
|
|
21098
21146
|
items,
|
|
21099
21147
|
order: initialOrder = "desc",
|
|
@@ -22748,23 +22796,28 @@ function useCommandPalette({
|
|
|
22748
22796
|
React32.useEffect(() => {
|
|
22749
22797
|
stateRef.current = { activeIndex, page, flatItems, query, selectedItems };
|
|
22750
22798
|
}, [activeIndex, page, flatItems, query, selectedItems]);
|
|
22751
|
-
const executeBulkAction =
|
|
22799
|
+
const executeBulkAction = React32__namespace.useCallback(() => {
|
|
22752
22800
|
if (!onSelectMultiple || selectedItems.length === 0) return;
|
|
22753
22801
|
onSelectMultiple(selectedItems);
|
|
22754
22802
|
onOpenChange?.(false);
|
|
22755
22803
|
}, [onSelectMultiple, selectedItems, onOpenChange]);
|
|
22756
|
-
const
|
|
22804
|
+
const handleCheckboxToggle = React32__namespace.useCallback(
|
|
22805
|
+
(item) => {
|
|
22806
|
+
toggleSelection(item.id);
|
|
22807
|
+
},
|
|
22808
|
+
[toggleSelection]
|
|
22809
|
+
);
|
|
22810
|
+
const handleSelect = React32__namespace.useCallback(
|
|
22757
22811
|
(item, event) => {
|
|
22758
22812
|
if (!item) return;
|
|
22759
22813
|
if (multiSelect) {
|
|
22760
|
-
|
|
22761
|
-
if (isCmdKey) {
|
|
22814
|
+
if (event && ("ctrlKey" in event || "metaKey" in event || "shiftKey" in event) && (event.ctrlKey || event.metaKey || event.shiftKey)) {
|
|
22762
22815
|
toggleSelection(item.id);
|
|
22763
22816
|
return;
|
|
22764
22817
|
}
|
|
22765
22818
|
if (selectedItems.length > 0) {
|
|
22766
|
-
const
|
|
22767
|
-
onSelectMultiple?.(
|
|
22819
|
+
const itemsToSubmit = selectedItemIds.has(item.id) ? selectedItems : [...selectedItems, item];
|
|
22820
|
+
onSelectMultiple?.(itemsToSubmit);
|
|
22768
22821
|
onOpenChange?.(false);
|
|
22769
22822
|
return;
|
|
22770
22823
|
}
|
|
@@ -22783,12 +22836,12 @@ function useCommandPalette({
|
|
|
22783
22836
|
multiSelect,
|
|
22784
22837
|
selectedItems,
|
|
22785
22838
|
selectedItemIds,
|
|
22839
|
+
toggleSelection,
|
|
22786
22840
|
onSelectMultiple,
|
|
22787
22841
|
onOpenChange,
|
|
22788
22842
|
onRecentItemsChange,
|
|
22789
22843
|
recentItems,
|
|
22790
|
-
maxRecentItems
|
|
22791
|
-
toggleSelection
|
|
22844
|
+
maxRecentItems
|
|
22792
22845
|
]
|
|
22793
22846
|
);
|
|
22794
22847
|
React32.useEffect(() => {
|
|
@@ -22877,6 +22930,7 @@ function useCommandPalette({
|
|
|
22877
22930
|
totalItems,
|
|
22878
22931
|
totalPages,
|
|
22879
22932
|
handleSelect,
|
|
22933
|
+
handleCheckboxToggle,
|
|
22880
22934
|
selectedItemIds,
|
|
22881
22935
|
toggleSelection,
|
|
22882
22936
|
selectedItems,
|
|
@@ -23469,6 +23523,7 @@ exports.Leaderboard = Leaderboard;
|
|
|
23469
23523
|
exports.LikeButton = LikeButton;
|
|
23470
23524
|
exports.LoadingBase = LoadingBase;
|
|
23471
23525
|
exports.LockButton = LockButton;
|
|
23526
|
+
exports.MaskedInput = MaskedInput;
|
|
23472
23527
|
exports.ModalBase = ModalBase;
|
|
23473
23528
|
exports.ModalCloseBase = ModalCloseBase;
|
|
23474
23529
|
exports.ModalContentBase = ModalContentBase;
|
package/dist/index.mjs
CHANGED
|
@@ -9753,6 +9753,82 @@ function DroppableCellAgenda({
|
|
|
9753
9753
|
}
|
|
9754
9754
|
);
|
|
9755
9755
|
}
|
|
9756
|
+
var PEEK_HEIGHT = 22;
|
|
9757
|
+
var PADDING = 6;
|
|
9758
|
+
function AllDayStack({
|
|
9759
|
+
day,
|
|
9760
|
+
events,
|
|
9761
|
+
expandedDay,
|
|
9762
|
+
onExpand,
|
|
9763
|
+
onEventSelect,
|
|
9764
|
+
noTime
|
|
9765
|
+
}) {
|
|
9766
|
+
const isExpanded = expandedDay ? isSameDay(expandedDay, day) : false;
|
|
9767
|
+
const containerRef = useRef(null);
|
|
9768
|
+
useEffect(() => {
|
|
9769
|
+
if (!isExpanded) return;
|
|
9770
|
+
const handler = (e) => {
|
|
9771
|
+
if (containerRef.current && !containerRef.current.contains(e.target)) {
|
|
9772
|
+
onExpand(null);
|
|
9773
|
+
}
|
|
9774
|
+
};
|
|
9775
|
+
document.addEventListener("mousedown", handler);
|
|
9776
|
+
return () => document.removeEventListener("mousedown", handler);
|
|
9777
|
+
}, [isExpanded, onExpand]);
|
|
9778
|
+
if (events.length === 0) return null;
|
|
9779
|
+
const single = events.length === 1;
|
|
9780
|
+
return /* @__PURE__ */ jsx(
|
|
9781
|
+
"div",
|
|
9782
|
+
{
|
|
9783
|
+
className: "absolute inset-0",
|
|
9784
|
+
ref: containerRef,
|
|
9785
|
+
style: { zIndex: isExpanded ? 50 : 10 },
|
|
9786
|
+
children: events.map((event, i) => {
|
|
9787
|
+
const top = PADDING + i * PEEK_HEIGHT;
|
|
9788
|
+
const bottom = PADDING;
|
|
9789
|
+
const zIndex = i + 1;
|
|
9790
|
+
return /* @__PURE__ */ jsx(TooltipProviderBase, { delayDuration: 400, children: /* @__PURE__ */ jsxs(TooltipBase, { children: [
|
|
9791
|
+
/* @__PURE__ */ jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
9792
|
+
"div",
|
|
9793
|
+
{
|
|
9794
|
+
className: "absolute left-1.5 right-1.5 cursor-pointer",
|
|
9795
|
+
style: { top, bottom, zIndex },
|
|
9796
|
+
onClick: (e) => {
|
|
9797
|
+
e.stopPropagation();
|
|
9798
|
+
if (isExpanded || single) {
|
|
9799
|
+
onEventSelect(event, e);
|
|
9800
|
+
} else {
|
|
9801
|
+
onExpand(day);
|
|
9802
|
+
}
|
|
9803
|
+
},
|
|
9804
|
+
children: /* @__PURE__ */ jsx(
|
|
9805
|
+
EventItemAgenda,
|
|
9806
|
+
{
|
|
9807
|
+
event,
|
|
9808
|
+
isFirstDay: true,
|
|
9809
|
+
isLastDay: true,
|
|
9810
|
+
view: "day",
|
|
9811
|
+
noTime,
|
|
9812
|
+
className: "flex justify-start items-start rounded-sm py-1 h-full w-full pointer-events-none"
|
|
9813
|
+
}
|
|
9814
|
+
)
|
|
9815
|
+
}
|
|
9816
|
+
) }),
|
|
9817
|
+
/* @__PURE__ */ jsxs(TooltipContentBase, { side: "top", sideOffset: 6, className: "max-w-[220px] space-y-0.5", children: [
|
|
9818
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-sm leading-snug", children: event.title }),
|
|
9819
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs opacity-90", children: formatDurationAgenda(event) }),
|
|
9820
|
+
event.location && /* @__PURE__ */ jsxs("p", { className: "text-xs flex items-center gap-2", children: [
|
|
9821
|
+
/* @__PURE__ */ jsx(MapPinIcon$1, { size: 15 }),
|
|
9822
|
+
" ",
|
|
9823
|
+
event.location
|
|
9824
|
+
] }),
|
|
9825
|
+
event.description && /* @__PURE__ */ jsx("p", { className: "text-xs opacity-75 line-clamp-2", children: event.description })
|
|
9826
|
+
] })
|
|
9827
|
+
] }) }, event.id);
|
|
9828
|
+
})
|
|
9829
|
+
}
|
|
9830
|
+
);
|
|
9831
|
+
}
|
|
9756
9832
|
function DayViewAgenda({
|
|
9757
9833
|
currentDate,
|
|
9758
9834
|
events,
|
|
@@ -9762,6 +9838,7 @@ function DayViewAgenda({
|
|
|
9762
9838
|
onEventCreate,
|
|
9763
9839
|
allDayCell = false
|
|
9764
9840
|
}) {
|
|
9841
|
+
const [expandedDay, setExpandedDay] = useState(null);
|
|
9765
9842
|
const hours = useMemo(() => {
|
|
9766
9843
|
const dayStart = startOfDay(currentDate);
|
|
9767
9844
|
return eachHourOfInterval({
|
|
@@ -9922,52 +9999,17 @@ function DayViewAgenda({
|
|
|
9922
9999
|
hour.toString()
|
|
9923
10000
|
)) }),
|
|
9924
10001
|
showAllDaySection && allDayCell ? /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
9925
|
-
|
|
9926
|
-
|
|
9927
|
-
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9935
|
-
|
|
9936
|
-
/* @__PURE__ */ jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx("div", { className: "size-full", children: /* @__PURE__ */ jsx(
|
|
9937
|
-
EventItemAgenda,
|
|
9938
|
-
{
|
|
9939
|
-
event,
|
|
9940
|
-
view: "day",
|
|
9941
|
-
isFirstDay,
|
|
9942
|
-
isLastDay,
|
|
9943
|
-
onClick: (e) => handleEventClick(event, e),
|
|
9944
|
-
noTime,
|
|
9945
|
-
className: "flex justify-start items-start rounded-sm p-2"
|
|
9946
|
-
}
|
|
9947
|
-
) }) }),
|
|
9948
|
-
/* @__PURE__ */ jsxs(
|
|
9949
|
-
TooltipContentBase,
|
|
9950
|
-
{
|
|
9951
|
-
side: "top",
|
|
9952
|
-
sideOffset: 6,
|
|
9953
|
-
className: "max-w-[220px] space-y-0.5",
|
|
9954
|
-
children: [
|
|
9955
|
-
/* @__PURE__ */ jsx("p", { className: "font-semibold text-sm leading-snug", children: event.title }),
|
|
9956
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs opacity-90", children: formatDurationAgenda(event) }),
|
|
9957
|
-
event.location && /* @__PURE__ */ jsxs("p", { className: "text-xs flex items-center gap-2", children: [
|
|
9958
|
-
/* @__PURE__ */ jsx(MapPinIcon, { size: 15 }),
|
|
9959
|
-
" ",
|
|
9960
|
-
event.location
|
|
9961
|
-
] }),
|
|
9962
|
-
event.description && /* @__PURE__ */ jsx("p", { className: "text-xs opacity-75 line-clamp-2", children: event.description })
|
|
9963
|
-
]
|
|
9964
|
-
}
|
|
9965
|
-
)
|
|
9966
|
-
] }) })
|
|
9967
|
-
},
|
|
9968
|
-
`spanning-${event.id}`
|
|
9969
|
-
);
|
|
9970
|
-
}),
|
|
10002
|
+
/* @__PURE__ */ jsx(
|
|
10003
|
+
AllDayStack,
|
|
10004
|
+
{
|
|
10005
|
+
day: currentDate,
|
|
10006
|
+
events: allDayEvents,
|
|
10007
|
+
expandedDay,
|
|
10008
|
+
onExpand: setExpandedDay,
|
|
10009
|
+
onEventSelect: handleEventClick,
|
|
10010
|
+
noTime
|
|
10011
|
+
}
|
|
10012
|
+
),
|
|
9971
10013
|
currentTimeVisible && /* @__PURE__ */ jsx(
|
|
9972
10014
|
"div",
|
|
9973
10015
|
{
|
|
@@ -11278,6 +11320,7 @@ function WeekViewAgenda({
|
|
|
11278
11320
|
showUndatedEvents,
|
|
11279
11321
|
noTime = false
|
|
11280
11322
|
}) {
|
|
11323
|
+
const [expandedDay, setExpandedDay] = useState(null);
|
|
11281
11324
|
const days = useMemo(() => {
|
|
11282
11325
|
const weekStart = startOfWeek(currentDate, { weekStartsOn: 0 });
|
|
11283
11326
|
const weekEnd = endOfWeek(currentDate, { weekStartsOn: 0 });
|
|
@@ -11324,11 +11367,6 @@ function WeekViewAgenda({
|
|
|
11324
11367
|
[allDayEvents]
|
|
11325
11368
|
);
|
|
11326
11369
|
const rowH = EventHeightAgenda + EventGapAgenda;
|
|
11327
|
-
const allDayBarData = useMemo(() => {
|
|
11328
|
-
const bars = computeMultiDayBars(trueAllDayEvents, days);
|
|
11329
|
-
const maxSlot = bars.length > 0 ? Math.max(...bars.map((b) => b.slot)) : 0;
|
|
11330
|
-
return { bars, sectionH: (maxSlot + 1) * rowH + EventGapAgenda * 2 };
|
|
11331
|
-
}, [trueAllDayEvents, days, rowH]);
|
|
11332
11370
|
const multiDayBarData = useMemo(() => {
|
|
11333
11371
|
const bars = computeMultiDayBars(multiDayTimedEvents, days);
|
|
11334
11372
|
const maxSlot = bars.length > 0 ? Math.max(...bars.map((b) => b.slot)) : 0;
|
|
@@ -11451,76 +11489,31 @@ function WeekViewAgenda({
|
|
|
11451
11489
|
showAllDaySection && /* @__PURE__ */ jsxs("div", { className: "border-border/70 border-b bg-muted/50", children: [
|
|
11452
11490
|
trueAllDayEvents.length > 0 && !allDayCell && /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-8", children: [
|
|
11453
11491
|
/* @__PURE__ */ jsx("div", { className: "relative border-border/70 border-r flex items-center justify-center p-1", children: /* @__PURE__ */ jsx("span", { className: "text-center text-[10px] text-muted-foreground/70 sm:text-xs", children: "Todo dia" }) }),
|
|
11454
|
-
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11492
|
+
days.map((day) => {
|
|
11493
|
+
const dayEvents = trueAllDayEvents.filter((event) => {
|
|
11494
|
+
const start = getEventStartDate(event);
|
|
11495
|
+
return start ? isSameDay(day, start) : false;
|
|
11496
|
+
});
|
|
11497
|
+
return /* @__PURE__ */ jsx(
|
|
11498
|
+
"div",
|
|
11499
|
+
{
|
|
11500
|
+
className: "relative border-r last:border-r-0 border-border/70 overflow-visible py-0.5",
|
|
11501
|
+
"data-today": isToday(day) || void 0,
|
|
11502
|
+
children: /* @__PURE__ */ jsx(
|
|
11503
|
+
AllDayStack,
|
|
11462
11504
|
{
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
|
|
11471
|
-
|
|
11472
|
-
|
|
11473
|
-
|
|
11474
|
-
|
|
11475
|
-
slot
|
|
11476
|
-
} = bar;
|
|
11477
|
-
const showTitle = isFirstDay || !isFirstDay && colStart === 0;
|
|
11478
|
-
return /* @__PURE__ */ jsx(TooltipProviderBase, { delayDuration: 400, children: /* @__PURE__ */ jsxs(TooltipBase, { children: [
|
|
11479
|
-
/* @__PURE__ */ jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
11480
|
-
"div",
|
|
11481
|
-
{
|
|
11482
|
-
className: "absolute px-0.5",
|
|
11483
|
-
style: {
|
|
11484
|
-
left: `calc(${colStart / 7 * 100}% + 2px)`,
|
|
11485
|
-
width: `calc(${colSpan / 7 * 100}% - 4px)`,
|
|
11486
|
-
top: EventGapAgenda + slot * rowH,
|
|
11487
|
-
height: EventHeightAgenda
|
|
11488
|
-
},
|
|
11489
|
-
children: /* @__PURE__ */ jsx(
|
|
11490
|
-
EventItemAgenda,
|
|
11491
|
-
{
|
|
11492
|
-
event,
|
|
11493
|
-
isFirstDay,
|
|
11494
|
-
isLastDay,
|
|
11495
|
-
onClick: (e) => {
|
|
11496
|
-
e.stopPropagation();
|
|
11497
|
-
handleEventClick(event, e);
|
|
11498
|
-
},
|
|
11499
|
-
view: "month",
|
|
11500
|
-
className: "h-full",
|
|
11501
|
-
children: /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1 min-w-0 w-full", children: [
|
|
11502
|
-
!isFirstDay && colStart === 0 && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-[11px] font-bold opacity-60", children: /* @__PURE__ */ jsx(CaretLeftIcon$1, {}) }),
|
|
11503
|
-
showTitle && /* @__PURE__ */ jsx("span", { className: "truncate text-xs font-medium", children: event.title }),
|
|
11504
|
-
!isLastDay && colStart + colSpan === 7 && /* @__PURE__ */ jsx("span", { className: "shrink-0 ml-auto text-[11px] font-bold opacity-60", children: /* @__PURE__ */ jsx(CaretRightIcon$1, {}) })
|
|
11505
|
-
] })
|
|
11506
|
-
}
|
|
11507
|
-
)
|
|
11508
|
-
}
|
|
11509
|
-
) }),
|
|
11510
|
-
/* @__PURE__ */ jsxs(TooltipContentBase, { side: "top", children: [
|
|
11511
|
-
/* @__PURE__ */ jsx("p", { className: "font-semibold truncate max-w-[200px]", children: event.title }),
|
|
11512
|
-
/* @__PURE__ */ jsx("p", { className: "opacity-80 mt-0.5 leading-snug", children: formatDurationAgenda(event) }),
|
|
11513
|
-
event.location && /* @__PURE__ */ jsxs("p", { className: "opacity-60 mt-0.5 truncate text-[11px] max-w-[200px] flex items-center gap-1", children: [
|
|
11514
|
-
/* @__PURE__ */ jsx(MapPinIcon$1, { size: 14 }),
|
|
11515
|
-
" ",
|
|
11516
|
-
event.location
|
|
11517
|
-
] })
|
|
11518
|
-
] })
|
|
11519
|
-
] }) }, event.id);
|
|
11520
|
-
})
|
|
11521
|
-
]
|
|
11522
|
-
}
|
|
11523
|
-
)
|
|
11505
|
+
day,
|
|
11506
|
+
events: dayEvents,
|
|
11507
|
+
expandedDay,
|
|
11508
|
+
onExpand: setExpandedDay,
|
|
11509
|
+
onEventSelect: handleEventClick,
|
|
11510
|
+
noTime
|
|
11511
|
+
}
|
|
11512
|
+
)
|
|
11513
|
+
},
|
|
11514
|
+
day.toString()
|
|
11515
|
+
);
|
|
11516
|
+
})
|
|
11524
11517
|
] }),
|
|
11525
11518
|
multiDayTimedEvents.length > 0 && /* @__PURE__ */ jsxs(
|
|
11526
11519
|
"div",
|
|
@@ -11637,60 +11630,19 @@ function WeekViewAgenda({
|
|
|
11637
11630
|
className: "relative grid auto-cols-fr border-border/70 border-r last:border-r-0",
|
|
11638
11631
|
"data-today": isToday(day) || void 0,
|
|
11639
11632
|
children: [
|
|
11640
|
-
trueAllDayEvents.length > 0 && allDayCell && /* @__PURE__ */ jsx(
|
|
11641
|
-
|
|
11642
|
-
|
|
11643
|
-
|
|
11644
|
-
|
|
11645
|
-
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
style: {
|
|
11654
|
-
height: "100%",
|
|
11655
|
-
width: "100%",
|
|
11656
|
-
padding: "10px"
|
|
11657
|
-
},
|
|
11658
|
-
children: /* @__PURE__ */ jsx(TooltipProviderBase, { delayDuration: 400, children: /* @__PURE__ */ jsxs(TooltipBase, { children: [
|
|
11659
|
-
/* @__PURE__ */ jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx("div", { className: "size-full", children: /* @__PURE__ */ jsx(
|
|
11660
|
-
EventItemAgenda,
|
|
11661
|
-
{
|
|
11662
|
-
event,
|
|
11663
|
-
view: "day",
|
|
11664
|
-
isFirstDay,
|
|
11665
|
-
isLastDay,
|
|
11666
|
-
onClick: (e) => handleEventClick(event, e),
|
|
11667
|
-
noTime,
|
|
11668
|
-
className: "flex justify-start items-start rounded-sm py-1"
|
|
11669
|
-
}
|
|
11670
|
-
) }) }),
|
|
11671
|
-
/* @__PURE__ */ jsxs(
|
|
11672
|
-
TooltipContentBase,
|
|
11673
|
-
{
|
|
11674
|
-
side: "top",
|
|
11675
|
-
sideOffset: 6,
|
|
11676
|
-
className: "max-w-[220px] space-y-0.5",
|
|
11677
|
-
children: [
|
|
11678
|
-
/* @__PURE__ */ jsx("p", { className: "font-semibold text-sm leading-snug", children: event.title }),
|
|
11679
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs opacity-90", children: formatDurationAgenda(event) }),
|
|
11680
|
-
event.location && /* @__PURE__ */ jsxs("p", { className: "text-xs flex items-center gap-2", children: [
|
|
11681
|
-
/* @__PURE__ */ jsx(MapPinIcon$1, { size: 15 }),
|
|
11682
|
-
" ",
|
|
11683
|
-
event.location
|
|
11684
|
-
] }),
|
|
11685
|
-
event.description && /* @__PURE__ */ jsx("p", { className: "text-xs opacity-75 line-clamp-2", children: event.description })
|
|
11686
|
-
]
|
|
11687
|
-
}
|
|
11688
|
-
)
|
|
11689
|
-
] }) })
|
|
11690
|
-
},
|
|
11691
|
-
`spanning-${event.id}`
|
|
11692
|
-
);
|
|
11693
|
-
}) }),
|
|
11633
|
+
trueAllDayEvents.length > 0 && allDayCell && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 overflow-visible", children: /* @__PURE__ */ jsx(
|
|
11634
|
+
AllDayStack,
|
|
11635
|
+
{
|
|
11636
|
+
day,
|
|
11637
|
+
events: trueAllDayEvents.filter(
|
|
11638
|
+
(event) => event.start?.toLocaleDateString() === new Date(day).toLocaleDateString()
|
|
11639
|
+
),
|
|
11640
|
+
expandedDay,
|
|
11641
|
+
onExpand: setExpandedDay,
|
|
11642
|
+
onEventSelect: handleEventClick,
|
|
11643
|
+
noTime
|
|
11644
|
+
}
|
|
11645
|
+
) }),
|
|
11694
11646
|
(processedDayEvents[dayIndex] ?? []).map((positionedEvent) => {
|
|
11695
11647
|
const timeLabel = formatDurationAgenda(positionedEvent.event);
|
|
11696
11648
|
return /* @__PURE__ */ jsx(TooltipProviderBase, { children: /* @__PURE__ */ jsxs(TooltipBase, { delayDuration: 250, children: [
|
|
@@ -21052,6 +21004,102 @@ var TagInput = React32.forwardRef(
|
|
|
21052
21004
|
}
|
|
21053
21005
|
);
|
|
21054
21006
|
TagInput.displayName = "TagInput";
|
|
21007
|
+
function MaskedInput({
|
|
21008
|
+
value,
|
|
21009
|
+
onChange,
|
|
21010
|
+
mask,
|
|
21011
|
+
label,
|
|
21012
|
+
className,
|
|
21013
|
+
error,
|
|
21014
|
+
isLoading,
|
|
21015
|
+
disabled,
|
|
21016
|
+
hideConfirm = false
|
|
21017
|
+
}) {
|
|
21018
|
+
const [internalValue, setInternalValue] = useState(value);
|
|
21019
|
+
useEffect(() => {
|
|
21020
|
+
setInternalValue(applyMask(value, mask));
|
|
21021
|
+
}, [value, mask]);
|
|
21022
|
+
const hasChanged = internalValue !== applyMask(value, mask);
|
|
21023
|
+
const handleSave = () => {
|
|
21024
|
+
if (!hasChanged || isLoading || disabled) return;
|
|
21025
|
+
onChange(internalValue.replace(/\D/g, ""));
|
|
21026
|
+
};
|
|
21027
|
+
function applyMask(value2, type) {
|
|
21028
|
+
let valueMasked = value2.replace(/\D/g, "");
|
|
21029
|
+
switch (type) {
|
|
21030
|
+
case "cpf":
|
|
21031
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21032
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21033
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d{1,2})$/, "$1-$2");
|
|
21034
|
+
return valueMasked.substring(0, 14);
|
|
21035
|
+
case "cnpj":
|
|
21036
|
+
valueMasked = valueMasked.replace(/^(\d{2})(\d)/, "$1.$2");
|
|
21037
|
+
valueMasked = valueMasked.replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3");
|
|
21038
|
+
valueMasked = valueMasked.replace(/\.(\d{3})(\d)/, ".$1/$2");
|
|
21039
|
+
valueMasked = valueMasked.replace(/(\d{4})(\d)/, "$1-$2");
|
|
21040
|
+
return valueMasked.substring(0, 18);
|
|
21041
|
+
case "cep":
|
|
21042
|
+
valueMasked = valueMasked.replace(/(\d{5})(\d)/, "$1-$2");
|
|
21043
|
+
return valueMasked.substring(0, 9);
|
|
21044
|
+
case "phone":
|
|
21045
|
+
valueMasked = valueMasked.replace(/^(\d{2})(\d)/g, "($1) $2");
|
|
21046
|
+
valueMasked = valueMasked.replace(/(\d)(\d{4})$/, "$1-$2");
|
|
21047
|
+
return valueMasked.substring(0, 15);
|
|
21048
|
+
case "rg":
|
|
21049
|
+
valueMasked = valueMasked.replace(/(\d{2})(\d)/, "$1.$2");
|
|
21050
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21051
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d{1})$/, "$1-$2");
|
|
21052
|
+
return valueMasked.substring(0, 12);
|
|
21053
|
+
default:
|
|
21054
|
+
return valueMasked;
|
|
21055
|
+
}
|
|
21056
|
+
}
|
|
21057
|
+
function blurOnEnter(e) {
|
|
21058
|
+
if (e.key === "Enter") {
|
|
21059
|
+
e.currentTarget.blur();
|
|
21060
|
+
}
|
|
21061
|
+
}
|
|
21062
|
+
return /* @__PURE__ */ jsxs("div", { className: `${className} flex flex-col`, children: [
|
|
21063
|
+
label && /* @__PURE__ */ jsx(LabelBase_default, { children: label }),
|
|
21064
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-2", children: [
|
|
21065
|
+
/* @__PURE__ */ jsx(
|
|
21066
|
+
InputBase,
|
|
21067
|
+
{
|
|
21068
|
+
value: internalValue,
|
|
21069
|
+
onChange: (e) => {
|
|
21070
|
+
const masked = applyMask(e.currentTarget.value, mask);
|
|
21071
|
+
setInternalValue(masked);
|
|
21072
|
+
},
|
|
21073
|
+
onBlur: handleSave,
|
|
21074
|
+
onKeyDown: blurOnEnter,
|
|
21075
|
+
rightIcon: /* @__PURE__ */ jsx(PencilSimpleIcon, { size: 12, className: "mr-2" }),
|
|
21076
|
+
error,
|
|
21077
|
+
disabled,
|
|
21078
|
+
inputMode: "numeric"
|
|
21079
|
+
}
|
|
21080
|
+
),
|
|
21081
|
+
/* @__PURE__ */ jsx(AnimatePresence, { children: hasChanged && !hideConfirm && /* @__PURE__ */ jsx(
|
|
21082
|
+
motion.div,
|
|
21083
|
+
{
|
|
21084
|
+
initial: { opacity: 0, scale: 0.8 },
|
|
21085
|
+
animate: { opacity: 1, scale: 1 },
|
|
21086
|
+
exit: { opacity: 0, scale: 0.8 },
|
|
21087
|
+
transition: { type: "spring", stiffness: 500, damping: 30 },
|
|
21088
|
+
children: /* @__PURE__ */ jsx(
|
|
21089
|
+
ButtonBase,
|
|
21090
|
+
{
|
|
21091
|
+
onClick: handleSave,
|
|
21092
|
+
className: "h-9 w-9 bg-green-600 text-white hover:bg-green-700 rounded-md flex items-center justify-center",
|
|
21093
|
+
size: "icon",
|
|
21094
|
+
isLoading,
|
|
21095
|
+
children: /* @__PURE__ */ jsx(CheckIcon, { size: 14 })
|
|
21096
|
+
}
|
|
21097
|
+
)
|
|
21098
|
+
}
|
|
21099
|
+
) })
|
|
21100
|
+
] })
|
|
21101
|
+
] });
|
|
21102
|
+
}
|
|
21055
21103
|
function Leaderboard({
|
|
21056
21104
|
items,
|
|
21057
21105
|
order: initialOrder = "desc",
|
|
@@ -22706,23 +22754,28 @@ function useCommandPalette({
|
|
|
22706
22754
|
useEffect(() => {
|
|
22707
22755
|
stateRef.current = { activeIndex, page, flatItems, query, selectedItems };
|
|
22708
22756
|
}, [activeIndex, page, flatItems, query, selectedItems]);
|
|
22709
|
-
const executeBulkAction = useCallback(() => {
|
|
22757
|
+
const executeBulkAction = React32.useCallback(() => {
|
|
22710
22758
|
if (!onSelectMultiple || selectedItems.length === 0) return;
|
|
22711
22759
|
onSelectMultiple(selectedItems);
|
|
22712
22760
|
onOpenChange?.(false);
|
|
22713
22761
|
}, [onSelectMultiple, selectedItems, onOpenChange]);
|
|
22714
|
-
const
|
|
22762
|
+
const handleCheckboxToggle = React32.useCallback(
|
|
22763
|
+
(item) => {
|
|
22764
|
+
toggleSelection(item.id);
|
|
22765
|
+
},
|
|
22766
|
+
[toggleSelection]
|
|
22767
|
+
);
|
|
22768
|
+
const handleSelect = React32.useCallback(
|
|
22715
22769
|
(item, event) => {
|
|
22716
22770
|
if (!item) return;
|
|
22717
22771
|
if (multiSelect) {
|
|
22718
|
-
|
|
22719
|
-
if (isCmdKey) {
|
|
22772
|
+
if (event && ("ctrlKey" in event || "metaKey" in event || "shiftKey" in event) && (event.ctrlKey || event.metaKey || event.shiftKey)) {
|
|
22720
22773
|
toggleSelection(item.id);
|
|
22721
22774
|
return;
|
|
22722
22775
|
}
|
|
22723
22776
|
if (selectedItems.length > 0) {
|
|
22724
|
-
const
|
|
22725
|
-
onSelectMultiple?.(
|
|
22777
|
+
const itemsToSubmit = selectedItemIds.has(item.id) ? selectedItems : [...selectedItems, item];
|
|
22778
|
+
onSelectMultiple?.(itemsToSubmit);
|
|
22726
22779
|
onOpenChange?.(false);
|
|
22727
22780
|
return;
|
|
22728
22781
|
}
|
|
@@ -22741,12 +22794,12 @@ function useCommandPalette({
|
|
|
22741
22794
|
multiSelect,
|
|
22742
22795
|
selectedItems,
|
|
22743
22796
|
selectedItemIds,
|
|
22797
|
+
toggleSelection,
|
|
22744
22798
|
onSelectMultiple,
|
|
22745
22799
|
onOpenChange,
|
|
22746
22800
|
onRecentItemsChange,
|
|
22747
22801
|
recentItems,
|
|
22748
|
-
maxRecentItems
|
|
22749
|
-
toggleSelection
|
|
22802
|
+
maxRecentItems
|
|
22750
22803
|
]
|
|
22751
22804
|
);
|
|
22752
22805
|
useEffect(() => {
|
|
@@ -22835,6 +22888,7 @@ function useCommandPalette({
|
|
|
22835
22888
|
totalItems,
|
|
22836
22889
|
totalPages,
|
|
22837
22890
|
handleSelect,
|
|
22891
|
+
handleCheckboxToggle,
|
|
22838
22892
|
selectedItemIds,
|
|
22839
22893
|
toggleSelection,
|
|
22840
22894
|
selectedItems,
|
|
@@ -23249,4 +23303,4 @@ function CommandPalette(props) {
|
|
|
23249
23303
|
] }) });
|
|
23250
23304
|
}
|
|
23251
23305
|
|
|
23252
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush_default as Brush, ButtonBase, ButtonGroupBase, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent2 as DraggableEvent, DraggableTooltip_default as 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_default as ErrorMessage, EventAgenda, EventCalendar, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, FilterButton, GroupLabel, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, IntegrationModal_default as IntegrationModal, Kbd, KbdGroup, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, PieChart_default as PieChartComponent, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, ProgressCirclesBase, ProgressPanelsBase, ProgressSegmentsBase, RadialMenu, RangePicker, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly_default as 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, StartHour, StartHourAgenda, StatusIndicator, SwitchBase, SystemTooltip_default as SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple_default as TooltipSimple, TooltipTriggerBase, TooltipWithTotal_default as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, 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, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|
|
23306
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush_default as Brush, ButtonBase, ButtonGroupBase, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent2 as DraggableEvent, DraggableTooltip_default as 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_default as ErrorMessage, EventAgenda, EventCalendar, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, FilterButton, GroupLabel, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, IntegrationModal_default as IntegrationModal, Kbd, KbdGroup, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, MaskedInput, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, PieChart_default as PieChartComponent, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, ProgressCirclesBase, ProgressPanelsBase, ProgressSegmentsBase, RadialMenu, RangePicker, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly_default as 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, StartHour, StartHourAgenda, StatusIndicator, SwitchBase, SystemTooltip_default as SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple_default as TooltipSimple, TooltipTriggerBase, TooltipWithTotal_default as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, 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, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|