@mlw-packages/react-components 1.10.2 → 1.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +79 -9
- package/dist/index.d.mts +16 -4
- package/dist/index.d.ts +16 -4
- package/dist/index.js +122 -77
- package/dist/index.mjs +122 -78
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1102,12 +1102,12 @@ body {
|
|
|
1102
1102
|
.h-svh {
|
|
1103
1103
|
height: 100svh;
|
|
1104
1104
|
}
|
|
1105
|
+
.max-h-36 {
|
|
1106
|
+
max-height: 9rem;
|
|
1107
|
+
}
|
|
1105
1108
|
.max-h-40 {
|
|
1106
1109
|
max-height: 10rem;
|
|
1107
1110
|
}
|
|
1108
|
-
.max-h-44 {
|
|
1109
|
-
max-height: 11rem;
|
|
1110
|
-
}
|
|
1111
1111
|
.max-h-48 {
|
|
1112
1112
|
max-height: 12rem;
|
|
1113
1113
|
}
|
|
@@ -2180,6 +2180,22 @@ body {
|
|
|
2180
2180
|
.border-none {
|
|
2181
2181
|
border-style: none;
|
|
2182
2182
|
}
|
|
2183
|
+
.\!border-\[\#005bbf\] {
|
|
2184
|
+
--tw-border-opacity: 1 !important;
|
|
2185
|
+
border-color: rgb(0 91 191 / var(--tw-border-opacity, 1)) !important;
|
|
2186
|
+
}
|
|
2187
|
+
.\!border-\[\#0b5430\] {
|
|
2188
|
+
--tw-border-opacity: 1 !important;
|
|
2189
|
+
border-color: rgb(11 84 48 / var(--tw-border-opacity, 1)) !important;
|
|
2190
|
+
}
|
|
2191
|
+
.\!border-\[\#d9d0c0\] {
|
|
2192
|
+
--tw-border-opacity: 1 !important;
|
|
2193
|
+
border-color: rgb(217 208 192 / var(--tw-border-opacity, 1)) !important;
|
|
2194
|
+
}
|
|
2195
|
+
.\!border-black {
|
|
2196
|
+
--tw-border-opacity: 1 !important;
|
|
2197
|
+
border-color: rgb(0 0 0 / var(--tw-border-opacity, 1)) !important;
|
|
2198
|
+
}
|
|
2183
2199
|
.border-accent {
|
|
2184
2200
|
border-color: hsl(var(--accent));
|
|
2185
2201
|
}
|
|
@@ -2325,9 +2341,6 @@ body {
|
|
|
2325
2341
|
.border-primary\/20 {
|
|
2326
2342
|
border-color: hsl(var(--primary) / 0.2);
|
|
2327
2343
|
}
|
|
2328
|
-
.border-primary\/30 {
|
|
2329
|
-
border-color: hsl(var(--primary) / 0.3);
|
|
2330
|
-
}
|
|
2331
2344
|
.border-primary\/50 {
|
|
2332
2345
|
border-color: hsl(var(--primary) / 0.5);
|
|
2333
2346
|
}
|
|
@@ -2458,6 +2471,30 @@ body {
|
|
|
2458
2471
|
.\!bg-transparent {
|
|
2459
2472
|
background-color: transparent !important;
|
|
2460
2473
|
}
|
|
2474
|
+
.bg-\[\#005bbf\] {
|
|
2475
|
+
--tw-bg-opacity: 1;
|
|
2476
|
+
background-color: rgb(0 91 191 / var(--tw-bg-opacity, 1));
|
|
2477
|
+
}
|
|
2478
|
+
.bg-\[\#0b5430\] {
|
|
2479
|
+
--tw-bg-opacity: 1;
|
|
2480
|
+
background-color: rgb(11 84 48 / var(--tw-bg-opacity, 1));
|
|
2481
|
+
}
|
|
2482
|
+
.bg-\[\#d9d0c0\] {
|
|
2483
|
+
--tw-bg-opacity: 1;
|
|
2484
|
+
background-color: rgb(217 208 192 / var(--tw-bg-opacity, 1));
|
|
2485
|
+
}
|
|
2486
|
+
.bg-\[\#e2ddd6\] {
|
|
2487
|
+
--tw-bg-opacity: 1;
|
|
2488
|
+
background-color: rgb(226 221 214 / var(--tw-bg-opacity, 1));
|
|
2489
|
+
}
|
|
2490
|
+
.bg-\[\#f0eacc\] {
|
|
2491
|
+
--tw-bg-opacity: 1;
|
|
2492
|
+
background-color: rgb(240 234 204 / var(--tw-bg-opacity, 1));
|
|
2493
|
+
}
|
|
2494
|
+
.bg-\[\#fcf5c2\] {
|
|
2495
|
+
--tw-bg-opacity: 1;
|
|
2496
|
+
background-color: rgb(252 245 194 / var(--tw-bg-opacity, 1));
|
|
2497
|
+
}
|
|
2461
2498
|
.bg-accent {
|
|
2462
2499
|
background-color: hsl(var(--accent));
|
|
2463
2500
|
}
|
|
@@ -2506,6 +2543,10 @@ body {
|
|
|
2506
2543
|
.bg-background\/95 {
|
|
2507
2544
|
background-color: hsl(var(--background) / 0.95);
|
|
2508
2545
|
}
|
|
2546
|
+
.bg-black {
|
|
2547
|
+
--tw-bg-opacity: 1;
|
|
2548
|
+
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
|
|
2549
|
+
}
|
|
2509
2550
|
.bg-black\/20 {
|
|
2510
2551
|
background-color: rgb(0 0 0 / 0.2);
|
|
2511
2552
|
}
|
|
@@ -2923,9 +2964,6 @@ body {
|
|
|
2923
2964
|
.bg-white\/5 {
|
|
2924
2965
|
background-color: rgb(255 255 255 / 0.05);
|
|
2925
2966
|
}
|
|
2926
|
-
.bg-white\/50 {
|
|
2927
|
-
background-color: rgb(255 255 255 / 0.5);
|
|
2928
|
-
}
|
|
2929
2967
|
.bg-white\/70 {
|
|
2930
2968
|
background-color: rgb(255 255 255 / 0.7);
|
|
2931
2969
|
}
|
|
@@ -3597,6 +3635,18 @@ body {
|
|
|
3597
3635
|
.align-middle {
|
|
3598
3636
|
vertical-align: middle;
|
|
3599
3637
|
}
|
|
3638
|
+
.font-\[family-name\:var\(--font-josefin\)\] {
|
|
3639
|
+
font-family: var(--font-josefin);
|
|
3640
|
+
}
|
|
3641
|
+
.font-\[family-name\:var\(--font-libre-caslon\)\] {
|
|
3642
|
+
font-family: var(--font-libre-caslon);
|
|
3643
|
+
}
|
|
3644
|
+
.font-\[family-name\:var\(--font-playfair\)\] {
|
|
3645
|
+
font-family: var(--font-playfair);
|
|
3646
|
+
}
|
|
3647
|
+
.font-\[family-name\:var\(--font-poppins\)\] {
|
|
3648
|
+
font-family: var(--font-poppins);
|
|
3649
|
+
}
|
|
3600
3650
|
.font-mono {
|
|
3601
3651
|
font-family:
|
|
3602
3652
|
ui-monospace,
|
|
@@ -3774,6 +3824,26 @@ body {
|
|
|
3774
3824
|
--tw-text-opacity: 1 !important;
|
|
3775
3825
|
color: rgb(163 163 163 / var(--tw-text-opacity, 1)) !important;
|
|
3776
3826
|
}
|
|
3827
|
+
.text-\[\#004a9e\] {
|
|
3828
|
+
--tw-text-opacity: 1;
|
|
3829
|
+
color: rgb(0 74 158 / var(--tw-text-opacity, 1));
|
|
3830
|
+
}
|
|
3831
|
+
.text-\[\#005bbf\] {
|
|
3832
|
+
--tw-text-opacity: 1;
|
|
3833
|
+
color: rgb(0 91 191 / var(--tw-text-opacity, 1));
|
|
3834
|
+
}
|
|
3835
|
+
.text-\[\#222222\] {
|
|
3836
|
+
--tw-text-opacity: 1;
|
|
3837
|
+
color: rgb(34 34 34 / var(--tw-text-opacity, 1));
|
|
3838
|
+
}
|
|
3839
|
+
.text-\[\#5e5b56\] {
|
|
3840
|
+
--tw-text-opacity: 1;
|
|
3841
|
+
color: rgb(94 91 86 / var(--tw-text-opacity, 1));
|
|
3842
|
+
}
|
|
3843
|
+
.text-\[\#6b665c\] {
|
|
3844
|
+
--tw-text-opacity: 1;
|
|
3845
|
+
color: rgb(107 102 92 / var(--tw-text-opacity, 1));
|
|
3846
|
+
}
|
|
3777
3847
|
.text-accent-foreground {
|
|
3778
3848
|
color: hsl(var(--accent-foreground));
|
|
3779
3849
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -110,14 +110,24 @@ declare const CardFooterBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttr
|
|
|
110
110
|
testid?: string;
|
|
111
111
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
112
112
|
|
|
113
|
+
declare const FileTypes: {
|
|
114
|
+
readonly Image: readonly ["image/*", ".jpeg", ".jpg", ".png", ".gif", ".webp", ".svg"];
|
|
115
|
+
readonly Document: readonly [".pdf", ".doc", ".docx", ".txt", ".rtf"];
|
|
116
|
+
readonly Spreadsheet: readonly [".xls", ".xlsx", ".csv"];
|
|
117
|
+
readonly Presentation: readonly [".ppt", ".pptx"];
|
|
118
|
+
readonly Video: readonly ["video/*", ".mp4", ".webm", ".mkv", ".avi"];
|
|
119
|
+
readonly Audio: readonly ["audio/*", ".mp3", ".wav", ".ogg"];
|
|
120
|
+
readonly All: string[];
|
|
121
|
+
};
|
|
122
|
+
type FileTypeValues = (typeof FileTypes)[keyof typeof FileTypes];
|
|
113
123
|
interface FileWithPreview extends File {
|
|
114
124
|
id?: string;
|
|
115
125
|
error?: string;
|
|
116
126
|
preview?: string;
|
|
117
127
|
}
|
|
118
128
|
interface FileUploaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onDrop"> {
|
|
119
|
-
accept
|
|
120
|
-
maxSize
|
|
129
|
+
accept?: string[] | readonly string[];
|
|
130
|
+
maxSize?: number;
|
|
121
131
|
maxFiles?: number;
|
|
122
132
|
onValueChange: (files: FileWithPreview[]) => void;
|
|
123
133
|
disabled?: boolean;
|
|
@@ -2481,6 +2491,7 @@ interface CarouselItem {
|
|
|
2481
2491
|
id: number | string;
|
|
2482
2492
|
url: string;
|
|
2483
2493
|
title: string;
|
|
2494
|
+
theme?: "malwee" | "malwee-kids" | "enfim" | "carinhoso";
|
|
2484
2495
|
}
|
|
2485
2496
|
interface CarouselBaseProps {
|
|
2486
2497
|
items: CarouselItem[];
|
|
@@ -2499,8 +2510,9 @@ interface CarouselBaseProps {
|
|
|
2499
2510
|
zoomEffect?: "lens" | "scale" | null;
|
|
2500
2511
|
download?: boolean;
|
|
2501
2512
|
isLoading?: boolean;
|
|
2513
|
+
onChange?: (index: number) => void;
|
|
2502
2514
|
}
|
|
2503
|
-
declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
|
|
2515
|
+
declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, onChange, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
|
|
2504
2516
|
|
|
2505
2517
|
type PhosphorIcon = React$1.ForwardRefExoticComponent<IconProps$1 & React$1.RefAttributes<SVGSVGElement>>;
|
|
2506
2518
|
type MenuItem = {
|
|
@@ -2564,4 +2576,4 @@ interface ControlledComboboxProps<T extends string> extends ErrorMessageProps {
|
|
|
2564
2576
|
}
|
|
2565
2577
|
declare function ControlledCombobox<T extends string>({ items, renderSelected, handleSelection, checkIsSelected, disabled, keepOpen, searchPlaceholder, empty, error, label, labelClassname, testIds, onClear, hasSelected, hideClear, onSearchChange, search, onEndReached, loading, }: ControlledComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
2566
2578
|
|
|
2567
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, Beam, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, CopyData, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type Integration, IntegrationCard, type IntegrationConnection, type IntegrationData, type IntegrationProperties, type IntegrationProps, IntegrationTooltip, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, type MenuItem, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NameTooltip, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Neo4jIntegration, type Neo4jNode, type Neo4jRelationship, type NewSelectProps, NoData, type Node, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, type PropsLabelList, RadialMenu, RangePicker, type RangePickerProps, RefreshButton, type Relationship, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesConfig, type SeriesCounts, type SeriesEntry, type SeriesOrder, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, type SystemData, SystemNode, SystemTooltip, SystemsDiagram, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipBody, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processIntegrationData, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|
|
2579
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, Beam, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, CopyData, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, type FileTypeValues, FileTypes, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type Integration, IntegrationCard, type IntegrationConnection, type IntegrationData, type IntegrationProperties, type IntegrationProps, IntegrationTooltip, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, type MenuItem, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NameTooltip, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Neo4jIntegration, type Neo4jNode, type Neo4jRelationship, type NewSelectProps, NoData, type Node, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, type PropsLabelList, RadialMenu, RangePicker, type RangePickerProps, RefreshButton, type Relationship, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesConfig, type SeriesCounts, type SeriesEntry, type SeriesOrder, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, type SystemData, SystemNode, SystemTooltip, SystemsDiagram, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipBody, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processIntegrationData, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|
package/dist/index.d.ts
CHANGED
|
@@ -110,14 +110,24 @@ declare const CardFooterBase: React$1.ForwardRefExoticComponent<React$1.HTMLAttr
|
|
|
110
110
|
testid?: string;
|
|
111
111
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
112
112
|
|
|
113
|
+
declare const FileTypes: {
|
|
114
|
+
readonly Image: readonly ["image/*", ".jpeg", ".jpg", ".png", ".gif", ".webp", ".svg"];
|
|
115
|
+
readonly Document: readonly [".pdf", ".doc", ".docx", ".txt", ".rtf"];
|
|
116
|
+
readonly Spreadsheet: readonly [".xls", ".xlsx", ".csv"];
|
|
117
|
+
readonly Presentation: readonly [".ppt", ".pptx"];
|
|
118
|
+
readonly Video: readonly ["video/*", ".mp4", ".webm", ".mkv", ".avi"];
|
|
119
|
+
readonly Audio: readonly ["audio/*", ".mp3", ".wav", ".ogg"];
|
|
120
|
+
readonly All: string[];
|
|
121
|
+
};
|
|
122
|
+
type FileTypeValues = (typeof FileTypes)[keyof typeof FileTypes];
|
|
113
123
|
interface FileWithPreview extends File {
|
|
114
124
|
id?: string;
|
|
115
125
|
error?: string;
|
|
116
126
|
preview?: string;
|
|
117
127
|
}
|
|
118
128
|
interface FileUploaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onDrop"> {
|
|
119
|
-
accept
|
|
120
|
-
maxSize
|
|
129
|
+
accept?: string[] | readonly string[];
|
|
130
|
+
maxSize?: number;
|
|
121
131
|
maxFiles?: number;
|
|
122
132
|
onValueChange: (files: FileWithPreview[]) => void;
|
|
123
133
|
disabled?: boolean;
|
|
@@ -2481,6 +2491,7 @@ interface CarouselItem {
|
|
|
2481
2491
|
id: number | string;
|
|
2482
2492
|
url: string;
|
|
2483
2493
|
title: string;
|
|
2494
|
+
theme?: "malwee" | "malwee-kids" | "enfim" | "carinhoso";
|
|
2484
2495
|
}
|
|
2485
2496
|
interface CarouselBaseProps {
|
|
2486
2497
|
items: CarouselItem[];
|
|
@@ -2499,8 +2510,9 @@ interface CarouselBaseProps {
|
|
|
2499
2510
|
zoomEffect?: "lens" | "scale" | null;
|
|
2500
2511
|
download?: boolean;
|
|
2501
2512
|
isLoading?: boolean;
|
|
2513
|
+
onChange?: (index: number) => void;
|
|
2502
2514
|
}
|
|
2503
|
-
declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
|
|
2515
|
+
declare function CarouselBase({ items, className, containerClassName, imageClassName, width, showControls, showIndicators, autoPlay, autoPlayInterval, zoomEffect, download, isLoading, onChange, }: CarouselBaseProps): react_jsx_runtime.JSX.Element;
|
|
2504
2516
|
|
|
2505
2517
|
type PhosphorIcon = React$1.ForwardRefExoticComponent<IconProps$1 & React$1.RefAttributes<SVGSVGElement>>;
|
|
2506
2518
|
type MenuItem = {
|
|
@@ -2564,4 +2576,4 @@ interface ControlledComboboxProps<T extends string> extends ErrorMessageProps {
|
|
|
2564
2576
|
}
|
|
2565
2577
|
declare function ControlledCombobox<T extends string>({ items, renderSelected, handleSelection, checkIsSelected, disabled, keepOpen, searchPlaceholder, empty, error, label, labelClassname, testIds, onClear, hasSelected, hideClear, onSearchChange, search, onEndReached, loading, }: ControlledComboboxProps<T>): react_jsx_runtime.JSX.Element;
|
|
2566
2578
|
|
|
2567
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, Beam, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, CopyData, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type Integration, IntegrationCard, type IntegrationConnection, type IntegrationData, type IntegrationProperties, type IntegrationProps, IntegrationTooltip, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, type MenuItem, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NameTooltip, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Neo4jIntegration, type Neo4jNode, type Neo4jRelationship, type NewSelectProps, NoData, type Node, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, type PropsLabelList, RadialMenu, RangePicker, type RangePickerProps, RefreshButton, type Relationship, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesConfig, type SeriesCounts, type SeriesEntry, type SeriesOrder, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, type SystemData, SystemNode, SystemTooltip, SystemsDiagram, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipBody, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processIntegrationData, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|
|
2579
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, Beam, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, CopyData, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, type FileTypeValues, FileTypes, FileUploader, type FileUploaderProps, type FileWithPreview, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type Integration, IntegrationCard, type IntegrationConnection, type IntegrationData, type IntegrationProperties, type IntegrationProps, IntegrationTooltip, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, type MenuItem, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NameTooltip, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Neo4jIntegration, type Neo4jNode, type Neo4jRelationship, type NewSelectProps, NoData, type Node, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, type PropsLabelList, RadialMenu, RangePicker, type RangePickerProps, RefreshButton, type Relationship, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesConfig, type SeriesCounts, type SeriesEntry, type SeriesOrder, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, type SystemData, SystemNode, SystemTooltip, SystemsDiagram, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipBody, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processIntegrationData, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|
package/dist/index.js
CHANGED
|
@@ -3689,6 +3689,15 @@ var CardFooterBase = React32__namespace.forwardRef(({ className, testid: dataTes
|
|
|
3689
3689
|
}
|
|
3690
3690
|
));
|
|
3691
3691
|
CardFooterBase.displayName = "CardFooter";
|
|
3692
|
+
var FileTypes = {
|
|
3693
|
+
Image: ["image/*", ".jpeg", ".jpg", ".png", ".gif", ".webp", ".svg"],
|
|
3694
|
+
Document: [".pdf", ".doc", ".docx", ".txt", ".rtf"],
|
|
3695
|
+
Spreadsheet: [".xls", ".xlsx", ".csv"],
|
|
3696
|
+
Presentation: [".ppt", ".pptx"],
|
|
3697
|
+
Video: ["video/*", ".mp4", ".webm", ".mkv", ".avi"],
|
|
3698
|
+
Audio: ["audio/*", ".mp3", ".wav", ".ogg"],
|
|
3699
|
+
All: []
|
|
3700
|
+
};
|
|
3692
3701
|
var formatFileSize = (bytes) => {
|
|
3693
3702
|
if (bytes === 0) return "0 Bytes";
|
|
3694
3703
|
const k = 1024;
|
|
@@ -3755,8 +3764,8 @@ var createImagePreview = (file) => {
|
|
|
3755
3764
|
var FileUploader = React32__namespace.forwardRef(
|
|
3756
3765
|
({
|
|
3757
3766
|
className,
|
|
3758
|
-
accept,
|
|
3759
|
-
maxSize,
|
|
3767
|
+
accept = FileTypes.All,
|
|
3768
|
+
maxSize = 10,
|
|
3760
3769
|
maxFiles = 1,
|
|
3761
3770
|
disabled = false,
|
|
3762
3771
|
value = [],
|
|
@@ -3786,8 +3795,9 @@ var FileUploader = React32__namespace.forwardRef(
|
|
|
3786
3795
|
};
|
|
3787
3796
|
}, [files]);
|
|
3788
3797
|
const validateFile = (file) => {
|
|
3789
|
-
|
|
3790
|
-
|
|
3798
|
+
const maxSizeBytes = maxSize * 1024 * 1024;
|
|
3799
|
+
if (file.size > maxSizeBytes) {
|
|
3800
|
+
return `Arquivo muito grande. M\xE1ximo: ${maxSize} MB`;
|
|
3791
3801
|
}
|
|
3792
3802
|
if (accept.length > 0) {
|
|
3793
3803
|
const fileExtension = `.${getFileExtension(file.name)}`;
|
|
@@ -3897,22 +3907,32 @@ var FileUploader = React32__namespace.forwardRef(
|
|
|
3897
3907
|
}
|
|
3898
3908
|
};
|
|
3899
3909
|
const acceptString = accept.join(",");
|
|
3900
|
-
const
|
|
3910
|
+
const getFormatText = () => {
|
|
3911
|
+
if (accept === FileTypes.All || accept.length === 0)
|
|
3912
|
+
return "Qualquer formato";
|
|
3913
|
+
if (accept === FileTypes.Image) return "Apenas imagens";
|
|
3914
|
+
if (accept === FileTypes.Document) return "Apenas documentos";
|
|
3915
|
+
if (accept === FileTypes.Video) return "Apenas v\xEDdeos";
|
|
3916
|
+
if (accept === FileTypes.Audio) return "Apenas \xE1udio";
|
|
3917
|
+
if (accept === FileTypes.Spreadsheet) return "Apenas planilhas";
|
|
3918
|
+
if (accept === FileTypes.Presentation) return "Apenas apresenta\xE7\xF5es";
|
|
3919
|
+
return "Formatos espec\xEDficos v\xE1lidos";
|
|
3920
|
+
};
|
|
3921
|
+
const defaultSubtext = dropzoneSubtext || `${getFormatText()} (M\xE1x: ${maxSize}MB)`;
|
|
3901
3922
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("w-full", className), ...props, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3902
3923
|
framerMotion.motion.div,
|
|
3903
3924
|
{
|
|
3904
3925
|
className: cn(
|
|
3905
|
-
"relative flex cursor-pointer flex-col items-center justify-center rounded-xl border-2 border-dashed p-
|
|
3926
|
+
"relative flex cursor-pointer flex-col items-center justify-center rounded-xl border-2 border-dashed p-5 transition-all duration-300 dark:shadow-black/20",
|
|
3906
3927
|
isDragging && "border-primary bg-primary/10 scale-[1.02]",
|
|
3907
3928
|
!isDragging && "border-border hover:border-primary/60 hover:bg-muted/50",
|
|
3908
|
-
disabled && "cursor-not-allowed opacity-50
|
|
3929
|
+
disabled && "cursor-not-allowed opacity-50"
|
|
3909
3930
|
),
|
|
3910
3931
|
onDragEnter: handleDragEnter,
|
|
3911
3932
|
onDragOver: handleDragOver,
|
|
3912
3933
|
onDragLeave: handleDragLeave,
|
|
3913
3934
|
onDrop: handleDrop,
|
|
3914
3935
|
onClick: handleClick,
|
|
3915
|
-
whileHover: !disabled ? { scale: 1.01 } : void 0,
|
|
3916
3936
|
whileTap: !disabled ? { scale: 0.99 } : void 0,
|
|
3917
3937
|
animate: isDragging ? {
|
|
3918
3938
|
borderColor: `hsl(var(--primary))`,
|
|
@@ -3972,7 +3992,7 @@ var FileUploader = React32__namespace.forwardRef(
|
|
|
3972
3992
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3973
3993
|
framerMotion.motion.p,
|
|
3974
3994
|
{
|
|
3975
|
-
className: "mb-2 text-
|
|
3995
|
+
className: "mb-2 text-xs font-semibold text-foreground",
|
|
3976
3996
|
initial: animate ? { opacity: 0, y: -10 } : false,
|
|
3977
3997
|
animate: { opacity: 1, y: 0 },
|
|
3978
3998
|
transition: { delay: 0.1 },
|
|
@@ -3982,63 +4002,29 @@ var FileUploader = React32__namespace.forwardRef(
|
|
|
3982
4002
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3983
4003
|
framerMotion.motion.p,
|
|
3984
4004
|
{
|
|
3985
|
-
className: "text-
|
|
4005
|
+
className: "text-xs text-muted-foreground",
|
|
3986
4006
|
initial: animate ? { opacity: 0, y: -10 } : false,
|
|
3987
4007
|
animate: { opacity: 1, y: 0 },
|
|
3988
4008
|
transition: { delay: 0.2 },
|
|
3989
4009
|
children: defaultSubtext
|
|
3990
4010
|
}
|
|
3991
4011
|
),
|
|
3992
|
-
/* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { children: files.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3993
|
-
framerMotion.motion.div,
|
|
3994
|
-
{
|
|
3995
|
-
initial: { opacity: 0, scale: 0.8, y: 10 },
|
|
3996
|
-
animate: {
|
|
3997
|
-
opacity: 1,
|
|
3998
|
-
scale: 1,
|
|
3999
|
-
y: 0,
|
|
4000
|
-
backgroundColor: `hsl(var(--primary) / 0.1)`,
|
|
4001
|
-
borderColor: `hsl(var(--primary) / 0.2)`
|
|
4002
|
-
},
|
|
4003
|
-
exit: { opacity: 0, scale: 0.8, y: 10 },
|
|
4004
|
-
className: cn(
|
|
4005
|
-
"mt-4 flex items-center gap-2 rounded-full border px-4 py-2 backdrop-blur-sm bg-primary/20 border-primary/30 shadow-lg"
|
|
4006
|
-
),
|
|
4007
|
-
transition: { duration: 0.3 },
|
|
4008
|
-
children: [
|
|
4009
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-4 text-primary flex items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(react.CheckIcon, { size: 16, className: "text-emerald-500" }) }),
|
|
4010
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
4011
|
-
framerMotion.motion.span,
|
|
4012
|
-
{
|
|
4013
|
-
className: "text-sm font-semibold text-primary",
|
|
4014
|
-
animate: { color: `hsl(var(--primary))` },
|
|
4015
|
-
transition: { duration: 0.3 },
|
|
4016
|
-
children: [
|
|
4017
|
-
files.length,
|
|
4018
|
-
" ",
|
|
4019
|
-
files.length === 1 ? "arquivo selecionado" : "arquivos selecionados"
|
|
4020
|
-
]
|
|
4021
|
-
}
|
|
4022
|
-
)
|
|
4023
|
-
]
|
|
4024
|
-
}
|
|
4025
|
-
) }),
|
|
4026
4012
|
showPreview && files.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4027
4013
|
framerMotion.motion.div,
|
|
4028
4014
|
{
|
|
4029
|
-
className: "
|
|
4015
|
+
className: "py-2 w-full",
|
|
4030
4016
|
initial: animate ? { opacity: 0, y: 10 } : false,
|
|
4031
4017
|
animate: { opacity: 1, y: 0 },
|
|
4032
4018
|
transition: { delay: 0.3 },
|
|
4033
4019
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
4034
|
-
/* @__PURE__ */ jsxRuntime.jsxs("h4", { className: "
|
|
4020
|
+
/* @__PURE__ */ jsxRuntime.jsxs("h4", { className: "text-xs font-medium text-muted-foreground pb-0.5", children: [
|
|
4035
4021
|
"Arquivos selecionados (",
|
|
4036
4022
|
files.length,
|
|
4037
4023
|
"/",
|
|
4038
4024
|
maxFiles,
|
|
4039
4025
|
")"
|
|
4040
4026
|
] }),
|
|
4041
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2 overflow-y-auto max-h-
|
|
4027
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-2 overflow-y-auto max-h-36", children: /* @__PURE__ */ jsxRuntime.jsx(framerMotion.AnimatePresence, { mode: "popLayout", children: files.map((file, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
4042
4028
|
framerMotion.motion.div,
|
|
4043
4029
|
{
|
|
4044
4030
|
layout: true,
|
|
@@ -4054,24 +4040,18 @@ var FileUploader = React32__namespace.forwardRef(
|
|
|
4054
4040
|
layout: { duration: 0.2 }
|
|
4055
4041
|
},
|
|
4056
4042
|
className: cn(
|
|
4057
|
-
"flex items-center gap-3 rounded-md border p-
|
|
4043
|
+
"group flex items-center gap-3 rounded-md border p-2 transition-all duration-300",
|
|
4058
4044
|
file.error ? "border-destructive/50 bg-destructive/5" : "border-border bg-background/80 hover:bg-muted/50 hover:shadow-md hover:shadow-primary/10 hover:border-primary/30"
|
|
4059
4045
|
),
|
|
4060
4046
|
children: [
|
|
4061
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-md bg-muted overflow-hidden", children: file.preview ? (
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
}
|
|
4070
|
-
)
|
|
4071
|
-
) : (
|
|
4072
|
-
// Ícone baseado no tipo de arquivo
|
|
4073
|
-
getFileTypeIcon(file)
|
|
4074
|
-
) }),
|
|
4047
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-md bg-muted overflow-hidden", children: file.preview ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
4048
|
+
"img",
|
|
4049
|
+
{
|
|
4050
|
+
src: file.preview,
|
|
4051
|
+
alt: file.name,
|
|
4052
|
+
className: "h-full w-full object-cover rounded-md"
|
|
4053
|
+
}
|
|
4054
|
+
) : getFileTypeIcon(file) }),
|
|
4075
4055
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
4076
4056
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4077
4057
|
"p",
|
|
@@ -4101,14 +4081,14 @@ var FileUploader = React32__namespace.forwardRef(
|
|
|
4101
4081
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4102
4082
|
ButtonBase,
|
|
4103
4083
|
{
|
|
4104
|
-
variant: "destructive",
|
|
4105
4084
|
size: "icon",
|
|
4085
|
+
variant: "ghost",
|
|
4106
4086
|
onClick: (e) => {
|
|
4107
4087
|
e?.stopPropagation();
|
|
4108
4088
|
handleRemoveFile(file.id);
|
|
4109
4089
|
},
|
|
4110
|
-
className: "",
|
|
4111
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(react.XIcon, { size: 12 })
|
|
4090
|
+
className: "opacity-0 transition-opacity group-hover:opacity-100",
|
|
4091
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(react.XIcon, { size: 12, className: "text-red-500" })
|
|
4112
4092
|
}
|
|
4113
4093
|
)
|
|
4114
4094
|
]
|
|
@@ -20314,6 +20294,44 @@ var Lens = ({
|
|
|
20314
20294
|
}
|
|
20315
20295
|
);
|
|
20316
20296
|
};
|
|
20297
|
+
var carouselThemes = {
|
|
20298
|
+
malwee: {
|
|
20299
|
+
foreground: "text-[#222222]",
|
|
20300
|
+
primary: "bg-[#0b5430]",
|
|
20301
|
+
primaryForeground: "text-white",
|
|
20302
|
+
muted: "bg-[#f0eacc]",
|
|
20303
|
+
mutedForeground: "text-[#6b665c]",
|
|
20304
|
+
border: "!border-[#0b5430]",
|
|
20305
|
+
font: "font-[family-name:var(--font-playfair)]"
|
|
20306
|
+
},
|
|
20307
|
+
enfim: {
|
|
20308
|
+
foreground: "text-black",
|
|
20309
|
+
primary: "bg-black",
|
|
20310
|
+
primaryForeground: "text-white",
|
|
20311
|
+
muted: "bg-gray-100",
|
|
20312
|
+
mutedForeground: "text-gray-600",
|
|
20313
|
+
border: "!border-black",
|
|
20314
|
+
font: "font-[family-name:var(--font-libre-caslon)]"
|
|
20315
|
+
},
|
|
20316
|
+
carinhoso: {
|
|
20317
|
+
foreground: "text-[#222222]",
|
|
20318
|
+
primary: "bg-[#d9d0c0]",
|
|
20319
|
+
primaryForeground: "text-[#222222]",
|
|
20320
|
+
muted: "bg-[#e2ddd6]",
|
|
20321
|
+
mutedForeground: "text-[#5e5b56]",
|
|
20322
|
+
border: "!border-[#d9d0c0]",
|
|
20323
|
+
font: "font-[family-name:var(--font-josefin)]"
|
|
20324
|
+
},
|
|
20325
|
+
"malwee-kids": {
|
|
20326
|
+
foreground: "text-[#005bbf]",
|
|
20327
|
+
primary: "bg-[#005bbf]",
|
|
20328
|
+
primaryForeground: "text-white",
|
|
20329
|
+
muted: "bg-[#fcf5c2]",
|
|
20330
|
+
mutedForeground: "text-[#004a9e]",
|
|
20331
|
+
border: "!border-[#005bbf]",
|
|
20332
|
+
font: "font-[family-name:var(--font-poppins)]"
|
|
20333
|
+
}
|
|
20334
|
+
};
|
|
20317
20335
|
function CarouselSkeleton({ className }) {
|
|
20318
20336
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("w-full h-full lg:p-10 sm:p-4 p-2", className), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-3 h-full", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative overflow-hidden rounded-lg h-full", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "w-full h-full min-h-[300px] bg-muted rounded-lg overflow-hidden relative", children: [
|
|
20319
20337
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -20393,7 +20411,8 @@ function CarouselBase({
|
|
|
20393
20411
|
autoPlayInterval = 3e3,
|
|
20394
20412
|
zoomEffect = null,
|
|
20395
20413
|
download = false,
|
|
20396
|
-
isLoading = false
|
|
20414
|
+
isLoading = false,
|
|
20415
|
+
onChange
|
|
20397
20416
|
}) {
|
|
20398
20417
|
const isMobile = useIsMobile();
|
|
20399
20418
|
const [index, setIndex] = React32.useState(0);
|
|
@@ -20404,7 +20423,9 @@ function CarouselBase({
|
|
|
20404
20423
|
React32.useEffect(() => {
|
|
20405
20424
|
if (!emblaApi) return;
|
|
20406
20425
|
const onSelect = () => {
|
|
20407
|
-
|
|
20426
|
+
const newIndex = emblaApi.selectedScrollSnap();
|
|
20427
|
+
setIndex(newIndex);
|
|
20428
|
+
onChange?.(newIndex);
|
|
20408
20429
|
};
|
|
20409
20430
|
emblaApi.on("select", onSelect);
|
|
20410
20431
|
emblaApi.on("reInit", onSelect);
|
|
@@ -20412,7 +20433,10 @@ function CarouselBase({
|
|
|
20412
20433
|
emblaApi.off("select", onSelect);
|
|
20413
20434
|
emblaApi.off("reInit", onSelect);
|
|
20414
20435
|
};
|
|
20415
|
-
}, [emblaApi]);
|
|
20436
|
+
}, [emblaApi, onChange]);
|
|
20437
|
+
const currentItem = items[index];
|
|
20438
|
+
const themeKey = currentItem?.theme || "malwee";
|
|
20439
|
+
const currentTheme = carouselThemes[themeKey] || carouselThemes.malwee;
|
|
20416
20440
|
React32.useEffect(() => {
|
|
20417
20441
|
if (!autoPlay || items.length <= 1 || !emblaApi) return;
|
|
20418
20442
|
const interval = setInterval(() => {
|
|
@@ -20424,14 +20448,14 @@ function CarouselBase({
|
|
|
20424
20448
|
if (isDownloading) return;
|
|
20425
20449
|
setIsDownloading(true);
|
|
20426
20450
|
setDownloadSuccess(false);
|
|
20427
|
-
const
|
|
20451
|
+
const currentItem2 = items[index];
|
|
20428
20452
|
try {
|
|
20429
|
-
const response = await fetch(
|
|
20453
|
+
const response = await fetch(currentItem2.url);
|
|
20430
20454
|
const blob = await response.blob();
|
|
20431
20455
|
const url = window.URL.createObjectURL(blob);
|
|
20432
20456
|
const link = document.createElement("a");
|
|
20433
20457
|
link.href = url;
|
|
20434
|
-
link.download =
|
|
20458
|
+
link.download = currentItem2.title || "image";
|
|
20435
20459
|
document.body.appendChild(link);
|
|
20436
20460
|
link.click();
|
|
20437
20461
|
document.body.removeChild(link);
|
|
@@ -20465,7 +20489,12 @@ function CarouselBase({
|
|
|
20465
20489
|
initial: { opacity: 0 },
|
|
20466
20490
|
animate: { opacity: 1 },
|
|
20467
20491
|
transition: { duration: 0.4 },
|
|
20468
|
-
className: cn(
|
|
20492
|
+
className: cn(
|
|
20493
|
+
"w-full lg:p-10 sm:p-4 p-2 transition-colors duration-500",
|
|
20494
|
+
currentTheme.foreground,
|
|
20495
|
+
currentTheme.font,
|
|
20496
|
+
className
|
|
20497
|
+
),
|
|
20469
20498
|
style: { width },
|
|
20470
20499
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-3 h-full", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("relative h-full", containerClassName), children: [
|
|
20471
20500
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -20600,8 +20629,12 @@ function CarouselBase({
|
|
|
20600
20629
|
onPointerDown: (e) => e.stopPropagation(),
|
|
20601
20630
|
onTouchStart: (e) => e.stopPropagation(),
|
|
20602
20631
|
onMouseDown: (e) => e.stopPropagation(),
|
|
20603
|
-
className:
|
|
20604
|
-
|
|
20632
|
+
className: cn(
|
|
20633
|
+
"absolute left-4 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full flex items-center justify-center shadow-lg transition-all z-50",
|
|
20634
|
+
!emblaApi?.canScrollPrev() ? "opacity-40 cursor-not-allowed" : "hover:scale-110 hover:opacity-100 opacity-70",
|
|
20635
|
+
currentTheme.primary,
|
|
20636
|
+
currentTheme.primaryForeground
|
|
20637
|
+
),
|
|
20605
20638
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
20606
20639
|
"svg",
|
|
20607
20640
|
{
|
|
@@ -20630,8 +20663,12 @@ function CarouselBase({
|
|
|
20630
20663
|
onPointerDown: (e) => e.stopPropagation(),
|
|
20631
20664
|
onTouchStart: (e) => e.stopPropagation(),
|
|
20632
20665
|
onMouseDown: (e) => e.stopPropagation(),
|
|
20633
|
-
className:
|
|
20634
|
-
|
|
20666
|
+
className: cn(
|
|
20667
|
+
"absolute right-4 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full flex items-center justify-center shadow-lg transition-all z-50",
|
|
20668
|
+
!emblaApi?.canScrollNext() ? "opacity-40 cursor-not-allowed" : "hover:scale-110 hover:opacity-100 opacity-70",
|
|
20669
|
+
currentTheme.primary,
|
|
20670
|
+
currentTheme.primaryForeground
|
|
20671
|
+
),
|
|
20635
20672
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
20636
20673
|
"svg",
|
|
20637
20674
|
{
|
|
@@ -20660,7 +20697,14 @@ function CarouselBase({
|
|
|
20660
20697
|
onPointerDown: (e) => e.stopPropagation(),
|
|
20661
20698
|
onTouchStart: (e) => e.stopPropagation(),
|
|
20662
20699
|
onMouseDown: (e) => e.stopPropagation(),
|
|
20663
|
-
className:
|
|
20700
|
+
className: cn(
|
|
20701
|
+
"h-2 rounded-full transition-all duration-300",
|
|
20702
|
+
i === index ? cn("w-8", currentTheme.primary) : cn(
|
|
20703
|
+
"w-2 hover:opacity-80",
|
|
20704
|
+
currentTheme.primary,
|
|
20705
|
+
"opacity-40"
|
|
20706
|
+
)
|
|
20707
|
+
)
|
|
20664
20708
|
},
|
|
20665
20709
|
i
|
|
20666
20710
|
)) })
|
|
@@ -21182,6 +21226,7 @@ exports.EventItem = EventItem;
|
|
|
21182
21226
|
exports.EventItemAgenda = EventItemAgenda;
|
|
21183
21227
|
exports.EventsPopup = EventsPopup;
|
|
21184
21228
|
exports.FavoriteButton = FavoriteButton;
|
|
21229
|
+
exports.FileTypes = FileTypes;
|
|
21185
21230
|
exports.FileUploader = FileUploader;
|
|
21186
21231
|
exports.FilterButton = FilterButton;
|
|
21187
21232
|
exports.HideButton = HideButton;
|
package/dist/index.mjs
CHANGED
|
@@ -3646,6 +3646,15 @@ var CardFooterBase = React32.forwardRef(({ className, testid: dataTestId = "card
|
|
|
3646
3646
|
}
|
|
3647
3647
|
));
|
|
3648
3648
|
CardFooterBase.displayName = "CardFooter";
|
|
3649
|
+
var FileTypes = {
|
|
3650
|
+
Image: ["image/*", ".jpeg", ".jpg", ".png", ".gif", ".webp", ".svg"],
|
|
3651
|
+
Document: [".pdf", ".doc", ".docx", ".txt", ".rtf"],
|
|
3652
|
+
Spreadsheet: [".xls", ".xlsx", ".csv"],
|
|
3653
|
+
Presentation: [".ppt", ".pptx"],
|
|
3654
|
+
Video: ["video/*", ".mp4", ".webm", ".mkv", ".avi"],
|
|
3655
|
+
Audio: ["audio/*", ".mp3", ".wav", ".ogg"],
|
|
3656
|
+
All: []
|
|
3657
|
+
};
|
|
3649
3658
|
var formatFileSize = (bytes) => {
|
|
3650
3659
|
if (bytes === 0) return "0 Bytes";
|
|
3651
3660
|
const k = 1024;
|
|
@@ -3712,8 +3721,8 @@ var createImagePreview = (file) => {
|
|
|
3712
3721
|
var FileUploader = React32.forwardRef(
|
|
3713
3722
|
({
|
|
3714
3723
|
className,
|
|
3715
|
-
accept,
|
|
3716
|
-
maxSize,
|
|
3724
|
+
accept = FileTypes.All,
|
|
3725
|
+
maxSize = 10,
|
|
3717
3726
|
maxFiles = 1,
|
|
3718
3727
|
disabled = false,
|
|
3719
3728
|
value = [],
|
|
@@ -3743,8 +3752,9 @@ var FileUploader = React32.forwardRef(
|
|
|
3743
3752
|
};
|
|
3744
3753
|
}, [files]);
|
|
3745
3754
|
const validateFile = (file) => {
|
|
3746
|
-
|
|
3747
|
-
|
|
3755
|
+
const maxSizeBytes = maxSize * 1024 * 1024;
|
|
3756
|
+
if (file.size > maxSizeBytes) {
|
|
3757
|
+
return `Arquivo muito grande. M\xE1ximo: ${maxSize} MB`;
|
|
3748
3758
|
}
|
|
3749
3759
|
if (accept.length > 0) {
|
|
3750
3760
|
const fileExtension = `.${getFileExtension(file.name)}`;
|
|
@@ -3854,22 +3864,32 @@ var FileUploader = React32.forwardRef(
|
|
|
3854
3864
|
}
|
|
3855
3865
|
};
|
|
3856
3866
|
const acceptString = accept.join(",");
|
|
3857
|
-
const
|
|
3867
|
+
const getFormatText = () => {
|
|
3868
|
+
if (accept === FileTypes.All || accept.length === 0)
|
|
3869
|
+
return "Qualquer formato";
|
|
3870
|
+
if (accept === FileTypes.Image) return "Apenas imagens";
|
|
3871
|
+
if (accept === FileTypes.Document) return "Apenas documentos";
|
|
3872
|
+
if (accept === FileTypes.Video) return "Apenas v\xEDdeos";
|
|
3873
|
+
if (accept === FileTypes.Audio) return "Apenas \xE1udio";
|
|
3874
|
+
if (accept === FileTypes.Spreadsheet) return "Apenas planilhas";
|
|
3875
|
+
if (accept === FileTypes.Presentation) return "Apenas apresenta\xE7\xF5es";
|
|
3876
|
+
return "Formatos espec\xEDficos v\xE1lidos";
|
|
3877
|
+
};
|
|
3878
|
+
const defaultSubtext = dropzoneSubtext || `${getFormatText()} (M\xE1x: ${maxSize}MB)`;
|
|
3858
3879
|
return /* @__PURE__ */ jsx("div", { ref, className: cn("w-full", className), ...props, children: /* @__PURE__ */ jsxs(
|
|
3859
3880
|
motion.div,
|
|
3860
3881
|
{
|
|
3861
3882
|
className: cn(
|
|
3862
|
-
"relative flex cursor-pointer flex-col items-center justify-center rounded-xl border-2 border-dashed p-
|
|
3883
|
+
"relative flex cursor-pointer flex-col items-center justify-center rounded-xl border-2 border-dashed p-5 transition-all duration-300 dark:shadow-black/20",
|
|
3863
3884
|
isDragging && "border-primary bg-primary/10 scale-[1.02]",
|
|
3864
3885
|
!isDragging && "border-border hover:border-primary/60 hover:bg-muted/50",
|
|
3865
|
-
disabled && "cursor-not-allowed opacity-50
|
|
3886
|
+
disabled && "cursor-not-allowed opacity-50"
|
|
3866
3887
|
),
|
|
3867
3888
|
onDragEnter: handleDragEnter,
|
|
3868
3889
|
onDragOver: handleDragOver,
|
|
3869
3890
|
onDragLeave: handleDragLeave,
|
|
3870
3891
|
onDrop: handleDrop,
|
|
3871
3892
|
onClick: handleClick,
|
|
3872
|
-
whileHover: !disabled ? { scale: 1.01 } : void 0,
|
|
3873
3893
|
whileTap: !disabled ? { scale: 0.99 } : void 0,
|
|
3874
3894
|
animate: isDragging ? {
|
|
3875
3895
|
borderColor: `hsl(var(--primary))`,
|
|
@@ -3929,7 +3949,7 @@ var FileUploader = React32.forwardRef(
|
|
|
3929
3949
|
/* @__PURE__ */ jsx(
|
|
3930
3950
|
motion.p,
|
|
3931
3951
|
{
|
|
3932
|
-
className: "mb-2 text-
|
|
3952
|
+
className: "mb-2 text-xs font-semibold text-foreground",
|
|
3933
3953
|
initial: animate ? { opacity: 0, y: -10 } : false,
|
|
3934
3954
|
animate: { opacity: 1, y: 0 },
|
|
3935
3955
|
transition: { delay: 0.1 },
|
|
@@ -3939,63 +3959,29 @@ var FileUploader = React32.forwardRef(
|
|
|
3939
3959
|
/* @__PURE__ */ jsx(
|
|
3940
3960
|
motion.p,
|
|
3941
3961
|
{
|
|
3942
|
-
className: "text-
|
|
3962
|
+
className: "text-xs text-muted-foreground",
|
|
3943
3963
|
initial: animate ? { opacity: 0, y: -10 } : false,
|
|
3944
3964
|
animate: { opacity: 1, y: 0 },
|
|
3945
3965
|
transition: { delay: 0.2 },
|
|
3946
3966
|
children: defaultSubtext
|
|
3947
3967
|
}
|
|
3948
3968
|
),
|
|
3949
|
-
/* @__PURE__ */ jsx(AnimatePresence, { children: files.length > 0 && /* @__PURE__ */ jsxs(
|
|
3950
|
-
motion.div,
|
|
3951
|
-
{
|
|
3952
|
-
initial: { opacity: 0, scale: 0.8, y: 10 },
|
|
3953
|
-
animate: {
|
|
3954
|
-
opacity: 1,
|
|
3955
|
-
scale: 1,
|
|
3956
|
-
y: 0,
|
|
3957
|
-
backgroundColor: `hsl(var(--primary) / 0.1)`,
|
|
3958
|
-
borderColor: `hsl(var(--primary) / 0.2)`
|
|
3959
|
-
},
|
|
3960
|
-
exit: { opacity: 0, scale: 0.8, y: 10 },
|
|
3961
|
-
className: cn(
|
|
3962
|
-
"mt-4 flex items-center gap-2 rounded-full border px-4 py-2 backdrop-blur-sm bg-primary/20 border-primary/30 shadow-lg"
|
|
3963
|
-
),
|
|
3964
|
-
transition: { duration: 0.3 },
|
|
3965
|
-
children: [
|
|
3966
|
-
/* @__PURE__ */ jsx("div", { className: "h-4 w-4 text-primary flex items-center justify-center", children: /* @__PURE__ */ jsx(CheckIcon, { size: 16, className: "text-emerald-500" }) }),
|
|
3967
|
-
/* @__PURE__ */ jsxs(
|
|
3968
|
-
motion.span,
|
|
3969
|
-
{
|
|
3970
|
-
className: "text-sm font-semibold text-primary",
|
|
3971
|
-
animate: { color: `hsl(var(--primary))` },
|
|
3972
|
-
transition: { duration: 0.3 },
|
|
3973
|
-
children: [
|
|
3974
|
-
files.length,
|
|
3975
|
-
" ",
|
|
3976
|
-
files.length === 1 ? "arquivo selecionado" : "arquivos selecionados"
|
|
3977
|
-
]
|
|
3978
|
-
}
|
|
3979
|
-
)
|
|
3980
|
-
]
|
|
3981
|
-
}
|
|
3982
|
-
) }),
|
|
3983
3969
|
showPreview && files.length > 0 && /* @__PURE__ */ jsx(
|
|
3984
3970
|
motion.div,
|
|
3985
3971
|
{
|
|
3986
|
-
className: "
|
|
3972
|
+
className: "py-2 w-full",
|
|
3987
3973
|
initial: animate ? { opacity: 0, y: 10 } : false,
|
|
3988
3974
|
animate: { opacity: 1, y: 0 },
|
|
3989
3975
|
transition: { delay: 0.3 },
|
|
3990
3976
|
children: /* @__PURE__ */ jsxs("div", { children: [
|
|
3991
|
-
/* @__PURE__ */ jsxs("h4", { className: "
|
|
3977
|
+
/* @__PURE__ */ jsxs("h4", { className: "text-xs font-medium text-muted-foreground pb-0.5", children: [
|
|
3992
3978
|
"Arquivos selecionados (",
|
|
3993
3979
|
files.length,
|
|
3994
3980
|
"/",
|
|
3995
3981
|
maxFiles,
|
|
3996
3982
|
")"
|
|
3997
3983
|
] }),
|
|
3998
|
-
/* @__PURE__ */ jsx("div", { className: "space-y-2 overflow-y-auto max-h-
|
|
3984
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-2 overflow-y-auto max-h-36", children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "popLayout", children: files.map((file, index) => /* @__PURE__ */ jsxs(
|
|
3999
3985
|
motion.div,
|
|
4000
3986
|
{
|
|
4001
3987
|
layout: true,
|
|
@@ -4011,24 +3997,18 @@ var FileUploader = React32.forwardRef(
|
|
|
4011
3997
|
layout: { duration: 0.2 }
|
|
4012
3998
|
},
|
|
4013
3999
|
className: cn(
|
|
4014
|
-
"flex items-center gap-3 rounded-md border p-
|
|
4000
|
+
"group flex items-center gap-3 rounded-md border p-2 transition-all duration-300",
|
|
4015
4001
|
file.error ? "border-destructive/50 bg-destructive/5" : "border-border bg-background/80 hover:bg-muted/50 hover:shadow-md hover:shadow-primary/10 hover:border-primary/30"
|
|
4016
4002
|
),
|
|
4017
4003
|
children: [
|
|
4018
|
-
/* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-md bg-muted overflow-hidden", children: file.preview ? (
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
}
|
|
4027
|
-
)
|
|
4028
|
-
) : (
|
|
4029
|
-
// Ícone baseado no tipo de arquivo
|
|
4030
|
-
getFileTypeIcon(file)
|
|
4031
|
-
) }),
|
|
4004
|
+
/* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 shrink-0 items-center justify-center rounded-md bg-muted overflow-hidden", children: file.preview ? /* @__PURE__ */ jsx(
|
|
4005
|
+
"img",
|
|
4006
|
+
{
|
|
4007
|
+
src: file.preview,
|
|
4008
|
+
alt: file.name,
|
|
4009
|
+
className: "h-full w-full object-cover rounded-md"
|
|
4010
|
+
}
|
|
4011
|
+
) : getFileTypeIcon(file) }),
|
|
4032
4012
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
4033
4013
|
/* @__PURE__ */ jsx(
|
|
4034
4014
|
"p",
|
|
@@ -4058,14 +4038,14 @@ var FileUploader = React32.forwardRef(
|
|
|
4058
4038
|
/* @__PURE__ */ jsx(
|
|
4059
4039
|
ButtonBase,
|
|
4060
4040
|
{
|
|
4061
|
-
variant: "destructive",
|
|
4062
4041
|
size: "icon",
|
|
4042
|
+
variant: "ghost",
|
|
4063
4043
|
onClick: (e) => {
|
|
4064
4044
|
e?.stopPropagation();
|
|
4065
4045
|
handleRemoveFile(file.id);
|
|
4066
4046
|
},
|
|
4067
|
-
className: "",
|
|
4068
|
-
children: /* @__PURE__ */ jsx(XIcon, { size: 12 })
|
|
4047
|
+
className: "opacity-0 transition-opacity group-hover:opacity-100",
|
|
4048
|
+
children: /* @__PURE__ */ jsx(XIcon, { size: 12, className: "text-red-500" })
|
|
4069
4049
|
}
|
|
4070
4050
|
)
|
|
4071
4051
|
]
|
|
@@ -20271,6 +20251,44 @@ var Lens = ({
|
|
|
20271
20251
|
}
|
|
20272
20252
|
);
|
|
20273
20253
|
};
|
|
20254
|
+
var carouselThemes = {
|
|
20255
|
+
malwee: {
|
|
20256
|
+
foreground: "text-[#222222]",
|
|
20257
|
+
primary: "bg-[#0b5430]",
|
|
20258
|
+
primaryForeground: "text-white",
|
|
20259
|
+
muted: "bg-[#f0eacc]",
|
|
20260
|
+
mutedForeground: "text-[#6b665c]",
|
|
20261
|
+
border: "!border-[#0b5430]",
|
|
20262
|
+
font: "font-[family-name:var(--font-playfair)]"
|
|
20263
|
+
},
|
|
20264
|
+
enfim: {
|
|
20265
|
+
foreground: "text-black",
|
|
20266
|
+
primary: "bg-black",
|
|
20267
|
+
primaryForeground: "text-white",
|
|
20268
|
+
muted: "bg-gray-100",
|
|
20269
|
+
mutedForeground: "text-gray-600",
|
|
20270
|
+
border: "!border-black",
|
|
20271
|
+
font: "font-[family-name:var(--font-libre-caslon)]"
|
|
20272
|
+
},
|
|
20273
|
+
carinhoso: {
|
|
20274
|
+
foreground: "text-[#222222]",
|
|
20275
|
+
primary: "bg-[#d9d0c0]",
|
|
20276
|
+
primaryForeground: "text-[#222222]",
|
|
20277
|
+
muted: "bg-[#e2ddd6]",
|
|
20278
|
+
mutedForeground: "text-[#5e5b56]",
|
|
20279
|
+
border: "!border-[#d9d0c0]",
|
|
20280
|
+
font: "font-[family-name:var(--font-josefin)]"
|
|
20281
|
+
},
|
|
20282
|
+
"malwee-kids": {
|
|
20283
|
+
foreground: "text-[#005bbf]",
|
|
20284
|
+
primary: "bg-[#005bbf]",
|
|
20285
|
+
primaryForeground: "text-white",
|
|
20286
|
+
muted: "bg-[#fcf5c2]",
|
|
20287
|
+
mutedForeground: "text-[#004a9e]",
|
|
20288
|
+
border: "!border-[#005bbf]",
|
|
20289
|
+
font: "font-[family-name:var(--font-poppins)]"
|
|
20290
|
+
}
|
|
20291
|
+
};
|
|
20274
20292
|
function CarouselSkeleton({ className }) {
|
|
20275
20293
|
return /* @__PURE__ */ jsx("div", { className: cn("w-full h-full lg:p-10 sm:p-4 p-2", className), children: /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3 h-full", children: /* @__PURE__ */ jsx("div", { className: "relative overflow-hidden rounded-lg h-full", children: /* @__PURE__ */ jsxs("div", { className: "w-full h-full min-h-[300px] bg-muted rounded-lg overflow-hidden relative", children: [
|
|
20276
20294
|
/* @__PURE__ */ jsx(
|
|
@@ -20350,7 +20368,8 @@ function CarouselBase({
|
|
|
20350
20368
|
autoPlayInterval = 3e3,
|
|
20351
20369
|
zoomEffect = null,
|
|
20352
20370
|
download = false,
|
|
20353
|
-
isLoading = false
|
|
20371
|
+
isLoading = false,
|
|
20372
|
+
onChange
|
|
20354
20373
|
}) {
|
|
20355
20374
|
const isMobile = useIsMobile();
|
|
20356
20375
|
const [index, setIndex] = useState(0);
|
|
@@ -20361,7 +20380,9 @@ function CarouselBase({
|
|
|
20361
20380
|
useEffect(() => {
|
|
20362
20381
|
if (!emblaApi) return;
|
|
20363
20382
|
const onSelect = () => {
|
|
20364
|
-
|
|
20383
|
+
const newIndex = emblaApi.selectedScrollSnap();
|
|
20384
|
+
setIndex(newIndex);
|
|
20385
|
+
onChange?.(newIndex);
|
|
20365
20386
|
};
|
|
20366
20387
|
emblaApi.on("select", onSelect);
|
|
20367
20388
|
emblaApi.on("reInit", onSelect);
|
|
@@ -20369,7 +20390,10 @@ function CarouselBase({
|
|
|
20369
20390
|
emblaApi.off("select", onSelect);
|
|
20370
20391
|
emblaApi.off("reInit", onSelect);
|
|
20371
20392
|
};
|
|
20372
|
-
}, [emblaApi]);
|
|
20393
|
+
}, [emblaApi, onChange]);
|
|
20394
|
+
const currentItem = items[index];
|
|
20395
|
+
const themeKey = currentItem?.theme || "malwee";
|
|
20396
|
+
const currentTheme = carouselThemes[themeKey] || carouselThemes.malwee;
|
|
20373
20397
|
useEffect(() => {
|
|
20374
20398
|
if (!autoPlay || items.length <= 1 || !emblaApi) return;
|
|
20375
20399
|
const interval = setInterval(() => {
|
|
@@ -20381,14 +20405,14 @@ function CarouselBase({
|
|
|
20381
20405
|
if (isDownloading) return;
|
|
20382
20406
|
setIsDownloading(true);
|
|
20383
20407
|
setDownloadSuccess(false);
|
|
20384
|
-
const
|
|
20408
|
+
const currentItem2 = items[index];
|
|
20385
20409
|
try {
|
|
20386
|
-
const response = await fetch(
|
|
20410
|
+
const response = await fetch(currentItem2.url);
|
|
20387
20411
|
const blob = await response.blob();
|
|
20388
20412
|
const url = window.URL.createObjectURL(blob);
|
|
20389
20413
|
const link = document.createElement("a");
|
|
20390
20414
|
link.href = url;
|
|
20391
|
-
link.download =
|
|
20415
|
+
link.download = currentItem2.title || "image";
|
|
20392
20416
|
document.body.appendChild(link);
|
|
20393
20417
|
link.click();
|
|
20394
20418
|
document.body.removeChild(link);
|
|
@@ -20422,7 +20446,12 @@ function CarouselBase({
|
|
|
20422
20446
|
initial: { opacity: 0 },
|
|
20423
20447
|
animate: { opacity: 1 },
|
|
20424
20448
|
transition: { duration: 0.4 },
|
|
20425
|
-
className: cn(
|
|
20449
|
+
className: cn(
|
|
20450
|
+
"w-full lg:p-10 sm:p-4 p-2 transition-colors duration-500",
|
|
20451
|
+
currentTheme.foreground,
|
|
20452
|
+
currentTheme.font,
|
|
20453
|
+
className
|
|
20454
|
+
),
|
|
20426
20455
|
style: { width },
|
|
20427
20456
|
children: /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-3 h-full", children: /* @__PURE__ */ jsxs("div", { className: cn("relative h-full", containerClassName), children: [
|
|
20428
20457
|
/* @__PURE__ */ jsx(
|
|
@@ -20557,8 +20586,12 @@ function CarouselBase({
|
|
|
20557
20586
|
onPointerDown: (e) => e.stopPropagation(),
|
|
20558
20587
|
onTouchStart: (e) => e.stopPropagation(),
|
|
20559
20588
|
onMouseDown: (e) => e.stopPropagation(),
|
|
20560
|
-
className:
|
|
20561
|
-
|
|
20589
|
+
className: cn(
|
|
20590
|
+
"absolute left-4 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full flex items-center justify-center shadow-lg transition-all z-50",
|
|
20591
|
+
!emblaApi?.canScrollPrev() ? "opacity-40 cursor-not-allowed" : "hover:scale-110 hover:opacity-100 opacity-70",
|
|
20592
|
+
currentTheme.primary,
|
|
20593
|
+
currentTheme.primaryForeground
|
|
20594
|
+
),
|
|
20562
20595
|
children: /* @__PURE__ */ jsx(
|
|
20563
20596
|
"svg",
|
|
20564
20597
|
{
|
|
@@ -20587,8 +20620,12 @@ function CarouselBase({
|
|
|
20587
20620
|
onPointerDown: (e) => e.stopPropagation(),
|
|
20588
20621
|
onTouchStart: (e) => e.stopPropagation(),
|
|
20589
20622
|
onMouseDown: (e) => e.stopPropagation(),
|
|
20590
|
-
className:
|
|
20591
|
-
|
|
20623
|
+
className: cn(
|
|
20624
|
+
"absolute right-4 top-1/2 -translate-y-1/2 w-10 h-10 rounded-full flex items-center justify-center shadow-lg transition-all z-50",
|
|
20625
|
+
!emblaApi?.canScrollNext() ? "opacity-40 cursor-not-allowed" : "hover:scale-110 hover:opacity-100 opacity-70",
|
|
20626
|
+
currentTheme.primary,
|
|
20627
|
+
currentTheme.primaryForeground
|
|
20628
|
+
),
|
|
20592
20629
|
children: /* @__PURE__ */ jsx(
|
|
20593
20630
|
"svg",
|
|
20594
20631
|
{
|
|
@@ -20617,7 +20654,14 @@ function CarouselBase({
|
|
|
20617
20654
|
onPointerDown: (e) => e.stopPropagation(),
|
|
20618
20655
|
onTouchStart: (e) => e.stopPropagation(),
|
|
20619
20656
|
onMouseDown: (e) => e.stopPropagation(),
|
|
20620
|
-
className:
|
|
20657
|
+
className: cn(
|
|
20658
|
+
"h-2 rounded-full transition-all duration-300",
|
|
20659
|
+
i === index ? cn("w-8", currentTheme.primary) : cn(
|
|
20660
|
+
"w-2 hover:opacity-80",
|
|
20661
|
+
currentTheme.primary,
|
|
20662
|
+
"opacity-40"
|
|
20663
|
+
)
|
|
20664
|
+
)
|
|
20621
20665
|
},
|
|
20622
20666
|
i
|
|
20623
20667
|
)) })
|
|
@@ -20987,4 +21031,4 @@ function ControlledCombobox({
|
|
|
20987
21031
|
);
|
|
20988
21032
|
}
|
|
20989
21033
|
|
|
20990
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, Beam, 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, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, CopyButton, CopyData, 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, FileUploader, FilterButton, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, IntegrationCard, IntegrationTooltip_default as IntegrationTooltip, 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, NameTooltip, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, 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, SystemNode, SystemTooltip_default as SystemTooltip, SystemsDiagram, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipBody, 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, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processIntegrationData, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|
|
21034
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, Beam, 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, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, CopyButton, CopyData, 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, FileTypes, FileUploader, FilterButton, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, IntegrationCard, IntegrationTooltip_default as IntegrationTooltip, 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, NameTooltip, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, 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, SystemNode, SystemTooltip_default as SystemTooltip, SystemsDiagram, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipBody, 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, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processIntegrationData, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|