@mlw-packages/react-components 1.10.7 → 1.10.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +59 -5
- package/dist/index.d.mts +24 -40
- package/dist/index.d.ts +24 -40
- package/dist/index.js +565 -342
- package/dist/index.mjs +565 -341
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -618,6 +618,9 @@ body {
|
|
|
618
618
|
.z-\[1\] {
|
|
619
619
|
z-index: 1;
|
|
620
620
|
}
|
|
621
|
+
.z-\[200\] {
|
|
622
|
+
z-index: 200;
|
|
623
|
+
}
|
|
621
624
|
.z-\[60\] {
|
|
622
625
|
z-index: 60;
|
|
623
626
|
}
|
|
@@ -721,6 +724,10 @@ body {
|
|
|
721
724
|
margin-top: 2rem;
|
|
722
725
|
margin-bottom: 2rem;
|
|
723
726
|
}
|
|
727
|
+
.my-auto {
|
|
728
|
+
margin-top: auto;
|
|
729
|
+
margin-bottom: auto;
|
|
730
|
+
}
|
|
724
731
|
.-mb-2 {
|
|
725
732
|
margin-bottom: -0.5rem;
|
|
726
733
|
}
|
|
@@ -908,6 +915,10 @@ body {
|
|
|
908
915
|
width: 0.5rem;
|
|
909
916
|
height: 0.5rem;
|
|
910
917
|
}
|
|
918
|
+
.size-2\.5 {
|
|
919
|
+
width: 0.625rem;
|
|
920
|
+
height: 0.625rem;
|
|
921
|
+
}
|
|
911
922
|
.size-24 {
|
|
912
923
|
width: 6rem;
|
|
913
924
|
height: 6rem;
|
|
@@ -1160,8 +1171,8 @@ body {
|
|
|
1160
1171
|
.max-h-\[300px\] {
|
|
1161
1172
|
max-height: 300px;
|
|
1162
1173
|
}
|
|
1163
|
-
.max-h-\[
|
|
1164
|
-
max-height:
|
|
1174
|
+
.max-h-\[460px\] {
|
|
1175
|
+
max-height: 460px;
|
|
1165
1176
|
}
|
|
1166
1177
|
.max-h-\[95vh\] {
|
|
1167
1178
|
max-height: 95vh;
|
|
@@ -1450,6 +1461,9 @@ body {
|
|
|
1450
1461
|
.min-w-\[10rem\] {
|
|
1451
1462
|
min-width: 10rem;
|
|
1452
1463
|
}
|
|
1464
|
+
.min-w-\[120px\] {
|
|
1465
|
+
min-width: 120px;
|
|
1466
|
+
}
|
|
1453
1467
|
.min-w-\[140px\] {
|
|
1454
1468
|
min-width: 140px;
|
|
1455
1469
|
}
|
|
@@ -4046,6 +4060,9 @@ body {
|
|
|
4046
4060
|
.text-primary-foreground\/60 {
|
|
4047
4061
|
color: hsl(var(--primary-foreground) / 0.6);
|
|
4048
4062
|
}
|
|
4063
|
+
.text-primary\/70 {
|
|
4064
|
+
color: hsl(var(--primary) / 0.7);
|
|
4065
|
+
}
|
|
4049
4066
|
.text-purple-500 {
|
|
4050
4067
|
--tw-text-opacity: 1;
|
|
4051
4068
|
color: rgb(168 85 247 / var(--tw-text-opacity, 1));
|
|
@@ -4406,6 +4423,9 @@ body {
|
|
|
4406
4423
|
.ring-ring {
|
|
4407
4424
|
--tw-ring-color: hsl(var(--ring));
|
|
4408
4425
|
}
|
|
4426
|
+
.ring-ring\/50 {
|
|
4427
|
+
--tw-ring-color: hsl(var(--ring) / 0.5);
|
|
4428
|
+
}
|
|
4409
4429
|
.ring-slate-200 {
|
|
4410
4430
|
--tw-ring-opacity: 1;
|
|
4411
4431
|
--tw-ring-color: rgb(226 232 240 / var(--tw-ring-opacity, 1));
|
|
@@ -5008,6 +5028,10 @@ body {
|
|
|
5008
5028
|
content: var(--tw-content);
|
|
5009
5029
|
animation-duration: 500ms;
|
|
5010
5030
|
}
|
|
5031
|
+
.after\:\[transition-timing-function\:cubic-bezier\(0\.34\,1\.56\,0\.64\,1\)\]::after {
|
|
5032
|
+
content: var(--tw-content);
|
|
5033
|
+
transition-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
5034
|
+
}
|
|
5011
5035
|
.first\:rounded-l-md:first-child {
|
|
5012
5036
|
border-top-left-radius: calc(var(--radius) - 2px);
|
|
5013
5037
|
border-bottom-left-radius: calc(var(--radius) - 2px);
|
|
@@ -5039,6 +5063,31 @@ body {
|
|
|
5039
5063
|
.focus-within\:z-20:focus-within {
|
|
5040
5064
|
z-index: 20;
|
|
5041
5065
|
}
|
|
5066
|
+
.focus-within\:border-ring:focus-within {
|
|
5067
|
+
border-color: hsl(var(--ring));
|
|
5068
|
+
}
|
|
5069
|
+
.focus-within\:ring-1:focus-within {
|
|
5070
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
5071
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
5072
|
+
box-shadow:
|
|
5073
|
+
var(--tw-ring-offset-shadow),
|
|
5074
|
+
var(--tw-ring-shadow),
|
|
5075
|
+
var(--tw-shadow, 0 0 #0000);
|
|
5076
|
+
}
|
|
5077
|
+
.focus-within\:ring-2:focus-within {
|
|
5078
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
5079
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
5080
|
+
box-shadow:
|
|
5081
|
+
var(--tw-ring-offset-shadow),
|
|
5082
|
+
var(--tw-ring-shadow),
|
|
5083
|
+
var(--tw-shadow, 0 0 #0000);
|
|
5084
|
+
}
|
|
5085
|
+
.focus-within\:ring-destructive:focus-within {
|
|
5086
|
+
--tw-ring-color: hsl(var(--destructive));
|
|
5087
|
+
}
|
|
5088
|
+
.focus-within\:ring-ring\/50:focus-within {
|
|
5089
|
+
--tw-ring-color: hsl(var(--ring) / 0.5);
|
|
5090
|
+
}
|
|
5042
5091
|
.hover\:z-10:hover {
|
|
5043
5092
|
z-index: 10;
|
|
5044
5093
|
}
|
|
@@ -5531,6 +5580,14 @@ body {
|
|
|
5531
5580
|
.focus-visible\:outline-\[3px\]:focus-visible {
|
|
5532
5581
|
outline-width: 3px;
|
|
5533
5582
|
}
|
|
5583
|
+
.focus-visible\:ring-1:focus-visible {
|
|
5584
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
5585
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
5586
|
+
box-shadow:
|
|
5587
|
+
var(--tw-ring-offset-shadow),
|
|
5588
|
+
var(--tw-ring-shadow),
|
|
5589
|
+
var(--tw-shadow, 0 0 #0000);
|
|
5590
|
+
}
|
|
5534
5591
|
.focus-visible\:ring-2:focus-visible {
|
|
5535
5592
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
5536
5593
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
@@ -7271,9 +7328,6 @@ body {
|
|
|
7271
7328
|
.sm\:h-7 {
|
|
7272
7329
|
height: 1.75rem;
|
|
7273
7330
|
}
|
|
7274
|
-
.sm\:max-h-\[520px\] {
|
|
7275
|
-
max-height: 520px;
|
|
7276
|
-
}
|
|
7277
7331
|
.sm\:max-h-\[90dvh\] {
|
|
7278
7332
|
max-height: 90dvh;
|
|
7279
7333
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -53,7 +53,7 @@ type Theme = "light" | "light-purple" | "light-green" | "light-blue" | "dark" |
|
|
|
53
53
|
type ThemeProviderProps = {
|
|
54
54
|
children: React.ReactNode;
|
|
55
55
|
defaultTheme?: Theme;
|
|
56
|
-
storageKey
|
|
56
|
+
storageKey: string;
|
|
57
57
|
};
|
|
58
58
|
type ThemeProviderState = {
|
|
59
59
|
theme: Theme;
|
|
@@ -923,8 +923,10 @@ interface AgendaViewProps$1 {
|
|
|
923
923
|
events: CalendarEventAgenda[];
|
|
924
924
|
onEventSelect?: (event: CalendarEventAgenda, e?: React.MouseEvent) => void;
|
|
925
925
|
showUndatedEvents?: boolean;
|
|
926
|
+
/** When true, hides event times */
|
|
927
|
+
noTime?: boolean;
|
|
926
928
|
}
|
|
927
|
-
declare function Agenda({ currentDate, events, onEventSelect, showUndatedEvents, }: AgendaViewProps$1): react_jsx_runtime.JSX.Element;
|
|
929
|
+
declare function Agenda({ currentDate, events, onEventSelect, showUndatedEvents, noTime, }: AgendaViewProps$1): react_jsx_runtime.JSX.Element;
|
|
928
930
|
|
|
929
931
|
interface CalendarDndProviderProps$1 {
|
|
930
932
|
children: ReactNode;
|
|
@@ -979,8 +981,10 @@ interface DayViewProps$1 {
|
|
|
979
981
|
events: CalendarEventAgenda[];
|
|
980
982
|
onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
|
|
981
983
|
showUndatedEvents?: boolean;
|
|
984
|
+
/** When true, hides event times */
|
|
985
|
+
noTime?: boolean;
|
|
982
986
|
}
|
|
983
|
-
declare function DayViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, }: DayViewProps$1): react_jsx_runtime.JSX.Element;
|
|
987
|
+
declare function DayViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, noTime, }: DayViewProps$1): react_jsx_runtime.JSX.Element;
|
|
984
988
|
|
|
985
989
|
interface DroppableCellProps$1 {
|
|
986
990
|
id: string;
|
|
@@ -1000,13 +1004,14 @@ interface EventCalendarProps$1 {
|
|
|
1000
1004
|
initialDate?: Date;
|
|
1001
1005
|
onClick?: ((event: CalendarEventAgenda, e?: React__default.MouseEvent) => void) | React__default.ReactElement<ModalLikeProps>;
|
|
1002
1006
|
showYearView?: boolean;
|
|
1007
|
+
noTime?: boolean;
|
|
1003
1008
|
}
|
|
1004
1009
|
interface ModalLikeProps {
|
|
1005
1010
|
event?: CalendarEventAgenda;
|
|
1006
1011
|
onClose?: () => void;
|
|
1007
1012
|
[key: string]: unknown;
|
|
1008
1013
|
}
|
|
1009
|
-
declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, showYearView, }: EventCalendarProps$1): react_jsx_runtime.JSX.Element;
|
|
1014
|
+
declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, showYearView, noTime, }: EventCalendarProps$1): react_jsx_runtime.JSX.Element;
|
|
1010
1015
|
|
|
1011
1016
|
interface EventItemProps$1 {
|
|
1012
1017
|
event: CalendarEventAgenda;
|
|
@@ -1015,6 +1020,7 @@ interface EventItemProps$1 {
|
|
|
1015
1020
|
isDragging?: boolean;
|
|
1016
1021
|
onClick?: (e: React.MouseEvent) => void;
|
|
1017
1022
|
showTime?: boolean;
|
|
1023
|
+
noTime?: boolean;
|
|
1018
1024
|
currentTime?: Date;
|
|
1019
1025
|
isFirstDay?: boolean;
|
|
1020
1026
|
isLastDay?: boolean;
|
|
@@ -1027,7 +1033,7 @@ interface EventItemProps$1 {
|
|
|
1027
1033
|
/** Number of overlapping columns in this time slot (week view only) */
|
|
1028
1034
|
totalCols?: number;
|
|
1029
1035
|
}
|
|
1030
|
-
declare function EventItemAgenda({ event, view, onClick, showTime, currentTime, isFirstDay, isLastDay, children, className, dndListeners, dndAttributes, onMouseDown, onTouchStart, agendaOnly, totalCols, }: EventItemProps$1): react_jsx_runtime.JSX.Element;
|
|
1036
|
+
declare function EventItemAgenda({ event, view, onClick, showTime, noTime, currentTime, isFirstDay, isLastDay, children, className, dndListeners, dndAttributes, onMouseDown, onTouchStart, agendaOnly, totalCols, }: EventItemProps$1): react_jsx_runtime.JSX.Element;
|
|
1031
1037
|
|
|
1032
1038
|
interface UndatedEventsProps {
|
|
1033
1039
|
events: CalendarEventAgenda[];
|
|
@@ -1063,9 +1069,12 @@ interface MonthViewProps$1 {
|
|
|
1063
1069
|
events: CalendarEventAgenda[];
|
|
1064
1070
|
onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
|
|
1065
1071
|
showUndatedEvents?: boolean;
|
|
1072
|
+
/** When true, hides event times */
|
|
1073
|
+
noTime?: boolean;
|
|
1066
1074
|
}
|
|
1067
|
-
declare function MonthViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, }: MonthViewProps$1): react_jsx_runtime.JSX.Element;
|
|
1075
|
+
declare function MonthViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, noTime, }: MonthViewProps$1): react_jsx_runtime.JSX.Element;
|
|
1068
1076
|
|
|
1077
|
+
declare function startOfLocalDay(d: Date): Date;
|
|
1069
1078
|
declare function getAutoColorAgenda(id: string): EventColorAgenda;
|
|
1070
1079
|
declare function getEventColorClassesAgenda(color?: EventColorAgenda | string, eventId?: string): string;
|
|
1071
1080
|
/**
|
|
@@ -1082,9 +1091,6 @@ declare function isMultiDayEventAgenda(event: CalendarEventAgenda): boolean;
|
|
|
1082
1091
|
declare function getEventsForDayAgenda(events: CalendarEventAgenda[], day: Date): CalendarEventAgenda[];
|
|
1083
1092
|
declare function sortEventsAgenda(events: CalendarEventAgenda[]): CalendarEventAgenda[];
|
|
1084
1093
|
declare function getSpanningEventsForDayAgenda(events: CalendarEventAgenda[], day: Date): CalendarEventAgenda[];
|
|
1085
|
-
/**
|
|
1086
|
-
* Get all events visible on a specific day (starting, ending, or spanning)
|
|
1087
|
-
*/
|
|
1088
1094
|
declare function getAllEventsForDayAgenda(events: CalendarEventAgenda[], day: Date): CalendarEventAgenda[];
|
|
1089
1095
|
/**
|
|
1090
1096
|
* Get all events for a day (for agenda view)
|
|
@@ -1118,8 +1124,10 @@ interface WeekViewProps$1 {
|
|
|
1118
1124
|
onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
|
|
1119
1125
|
onEventCreate?: (startTime: Date) => void;
|
|
1120
1126
|
showUndatedEvents?: boolean;
|
|
1127
|
+
/** When true, hides event times */
|
|
1128
|
+
noTime?: boolean;
|
|
1121
1129
|
}
|
|
1122
|
-
declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, showUndatedEvents, }: WeekViewProps$1): react_jsx_runtime.JSX.Element;
|
|
1130
|
+
declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, showUndatedEvents, noTime, }: WeekViewProps$1): react_jsx_runtime.JSX.Element;
|
|
1123
1131
|
|
|
1124
1132
|
interface YearViewProps {
|
|
1125
1133
|
currentDate: Date;
|
|
@@ -1142,14 +1150,16 @@ interface MultiDayOverlayProps {
|
|
|
1142
1150
|
hoveredEventId: string | null;
|
|
1143
1151
|
onHover: (id: string | null) => void;
|
|
1144
1152
|
onEventSelect: (event: CalendarEventAgenda, e: React__default.MouseEvent) => void;
|
|
1153
|
+
noTime?: boolean;
|
|
1145
1154
|
}
|
|
1146
|
-
declare function MultiDayOverlay({ bars, weekIndex, hoveredEventId, onHover, onEventSelect, }: MultiDayOverlayProps): react_jsx_runtime.JSX.Element | null;
|
|
1155
|
+
declare function MultiDayOverlay({ bars, weekIndex, hoveredEventId, onHover, onEventSelect, noTime, }: MultiDayOverlayProps): react_jsx_runtime.JSX.Element | null;
|
|
1147
1156
|
|
|
1148
1157
|
interface EventDetailModalAgendaProps {
|
|
1149
1158
|
event?: CalendarEventAgenda;
|
|
1150
1159
|
onClose?: () => void;
|
|
1160
|
+
noTime?: boolean;
|
|
1151
1161
|
}
|
|
1152
|
-
declare function EventDetailModalAgenda({ event, onClose, }: EventDetailModalAgendaProps): react_jsx_runtime.JSX.Element | null;
|
|
1162
|
+
declare function EventDetailModalAgenda({ event, onClose, noTime, }: EventDetailModalAgendaProps): react_jsx_runtime.JSX.Element | null;
|
|
1153
1163
|
|
|
1154
1164
|
interface AgendaViewProps {
|
|
1155
1165
|
currentDate: Date;
|
|
@@ -2096,15 +2106,6 @@ interface SystemTooltipProps {
|
|
|
2096
2106
|
}
|
|
2097
2107
|
declare const SystemTooltip: React__default.FC<SystemTooltipProps>;
|
|
2098
2108
|
|
|
2099
|
-
interface Node {
|
|
2100
|
-
identity: number;
|
|
2101
|
-
labels: string[];
|
|
2102
|
-
properties: {
|
|
2103
|
-
nome: string;
|
|
2104
|
-
[key: string]: string;
|
|
2105
|
-
};
|
|
2106
|
-
elementId: string;
|
|
2107
|
-
}
|
|
2108
2109
|
interface IntegrationProps {
|
|
2109
2110
|
tipo?: string;
|
|
2110
2111
|
Tipo?: string;
|
|
@@ -2118,21 +2119,6 @@ interface IntegrationProps {
|
|
|
2118
2119
|
Origem?: string;
|
|
2119
2120
|
[key: string]: string | undefined;
|
|
2120
2121
|
}
|
|
2121
|
-
interface Relationship {
|
|
2122
|
-
identity: number;
|
|
2123
|
-
start: number;
|
|
2124
|
-
end: number;
|
|
2125
|
-
type: string;
|
|
2126
|
-
properties: IntegrationProps;
|
|
2127
|
-
elementId: string;
|
|
2128
|
-
startNodeElementId: string;
|
|
2129
|
-
endNodeElementId: string;
|
|
2130
|
-
}
|
|
2131
|
-
interface Integration {
|
|
2132
|
-
origem: Node;
|
|
2133
|
-
r: Relationship;
|
|
2134
|
-
destino: Node;
|
|
2135
|
-
}
|
|
2136
2122
|
interface IntegrationConnection {
|
|
2137
2123
|
id: string;
|
|
2138
2124
|
name: string;
|
|
@@ -2145,13 +2131,12 @@ interface IntegrationData {
|
|
|
2145
2131
|
description?: string;
|
|
2146
2132
|
connections: IntegrationConnection[];
|
|
2147
2133
|
}
|
|
2148
|
-
declare function processIntegrationData(integrations: Integration[], targetSystemName: string): IntegrationData;
|
|
2149
2134
|
|
|
2150
2135
|
interface Position$1 {
|
|
2151
2136
|
top: number;
|
|
2152
2137
|
left: number;
|
|
2153
2138
|
}
|
|
2154
|
-
interface
|
|
2139
|
+
interface IntegrationModalProps {
|
|
2155
2140
|
id: string;
|
|
2156
2141
|
data: IntegrationData;
|
|
2157
2142
|
position: Position$1;
|
|
@@ -2162,7 +2147,6 @@ interface IntegrationTooltipProps {
|
|
|
2162
2147
|
onClose: (id: string) => void;
|
|
2163
2148
|
onPositionChange?: (id: string, position: Position$1) => void;
|
|
2164
2149
|
}
|
|
2165
|
-
declare const IntegrationTooltip: React__default.FC<IntegrationTooltipProps>;
|
|
2166
2150
|
|
|
2167
2151
|
interface ChartData$2 {
|
|
2168
2152
|
[key: string]: string | number | boolean | null | undefined;
|
|
@@ -2558,4 +2542,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
2558
2542
|
isDragging: boolean;
|
|
2559
2543
|
};
|
|
2560
2544
|
|
|
2561
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, type CircularProgressProps, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, type FileUploaderProps, type FileWithPreview, type FilesAccepted, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type
|
|
2545
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, type CircularProgressProps, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, type FileUploaderProps, type FileWithPreview, type FilesAccepted, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type IntegrationModalProps, type IntegrationProperties, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, type MenuItem, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Neo4jIntegration, type Neo4jNode, type Neo4jRelationship, type NewSelectProps, NoData, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Position$1 as Position, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, type PropsLabelList, RadialMenu, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesConfig, type SeriesCounts, type SeriesEntry, type SeriesOrder, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, type SystemData, SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|
package/dist/index.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ type Theme = "light" | "light-purple" | "light-green" | "light-blue" | "dark" |
|
|
|
53
53
|
type ThemeProviderProps = {
|
|
54
54
|
children: React.ReactNode;
|
|
55
55
|
defaultTheme?: Theme;
|
|
56
|
-
storageKey
|
|
56
|
+
storageKey: string;
|
|
57
57
|
};
|
|
58
58
|
type ThemeProviderState = {
|
|
59
59
|
theme: Theme;
|
|
@@ -923,8 +923,10 @@ interface AgendaViewProps$1 {
|
|
|
923
923
|
events: CalendarEventAgenda[];
|
|
924
924
|
onEventSelect?: (event: CalendarEventAgenda, e?: React.MouseEvent) => void;
|
|
925
925
|
showUndatedEvents?: boolean;
|
|
926
|
+
/** When true, hides event times */
|
|
927
|
+
noTime?: boolean;
|
|
926
928
|
}
|
|
927
|
-
declare function Agenda({ currentDate, events, onEventSelect, showUndatedEvents, }: AgendaViewProps$1): react_jsx_runtime.JSX.Element;
|
|
929
|
+
declare function Agenda({ currentDate, events, onEventSelect, showUndatedEvents, noTime, }: AgendaViewProps$1): react_jsx_runtime.JSX.Element;
|
|
928
930
|
|
|
929
931
|
interface CalendarDndProviderProps$1 {
|
|
930
932
|
children: ReactNode;
|
|
@@ -979,8 +981,10 @@ interface DayViewProps$1 {
|
|
|
979
981
|
events: CalendarEventAgenda[];
|
|
980
982
|
onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
|
|
981
983
|
showUndatedEvents?: boolean;
|
|
984
|
+
/** When true, hides event times */
|
|
985
|
+
noTime?: boolean;
|
|
982
986
|
}
|
|
983
|
-
declare function DayViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, }: DayViewProps$1): react_jsx_runtime.JSX.Element;
|
|
987
|
+
declare function DayViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, noTime, }: DayViewProps$1): react_jsx_runtime.JSX.Element;
|
|
984
988
|
|
|
985
989
|
interface DroppableCellProps$1 {
|
|
986
990
|
id: string;
|
|
@@ -1000,13 +1004,14 @@ interface EventCalendarProps$1 {
|
|
|
1000
1004
|
initialDate?: Date;
|
|
1001
1005
|
onClick?: ((event: CalendarEventAgenda, e?: React__default.MouseEvent) => void) | React__default.ReactElement<ModalLikeProps>;
|
|
1002
1006
|
showYearView?: boolean;
|
|
1007
|
+
noTime?: boolean;
|
|
1003
1008
|
}
|
|
1004
1009
|
interface ModalLikeProps {
|
|
1005
1010
|
event?: CalendarEventAgenda;
|
|
1006
1011
|
onClose?: () => void;
|
|
1007
1012
|
[key: string]: unknown;
|
|
1008
1013
|
}
|
|
1009
|
-
declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, showYearView, }: EventCalendarProps$1): react_jsx_runtime.JSX.Element;
|
|
1014
|
+
declare function EventAgenda({ events, onEventUpdate, className, initialView, initialDate, onClick, showYearView, noTime, }: EventCalendarProps$1): react_jsx_runtime.JSX.Element;
|
|
1010
1015
|
|
|
1011
1016
|
interface EventItemProps$1 {
|
|
1012
1017
|
event: CalendarEventAgenda;
|
|
@@ -1015,6 +1020,7 @@ interface EventItemProps$1 {
|
|
|
1015
1020
|
isDragging?: boolean;
|
|
1016
1021
|
onClick?: (e: React.MouseEvent) => void;
|
|
1017
1022
|
showTime?: boolean;
|
|
1023
|
+
noTime?: boolean;
|
|
1018
1024
|
currentTime?: Date;
|
|
1019
1025
|
isFirstDay?: boolean;
|
|
1020
1026
|
isLastDay?: boolean;
|
|
@@ -1027,7 +1033,7 @@ interface EventItemProps$1 {
|
|
|
1027
1033
|
/** Number of overlapping columns in this time slot (week view only) */
|
|
1028
1034
|
totalCols?: number;
|
|
1029
1035
|
}
|
|
1030
|
-
declare function EventItemAgenda({ event, view, onClick, showTime, currentTime, isFirstDay, isLastDay, children, className, dndListeners, dndAttributes, onMouseDown, onTouchStart, agendaOnly, totalCols, }: EventItemProps$1): react_jsx_runtime.JSX.Element;
|
|
1036
|
+
declare function EventItemAgenda({ event, view, onClick, showTime, noTime, currentTime, isFirstDay, isLastDay, children, className, dndListeners, dndAttributes, onMouseDown, onTouchStart, agendaOnly, totalCols, }: EventItemProps$1): react_jsx_runtime.JSX.Element;
|
|
1031
1037
|
|
|
1032
1038
|
interface UndatedEventsProps {
|
|
1033
1039
|
events: CalendarEventAgenda[];
|
|
@@ -1063,9 +1069,12 @@ interface MonthViewProps$1 {
|
|
|
1063
1069
|
events: CalendarEventAgenda[];
|
|
1064
1070
|
onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
|
|
1065
1071
|
showUndatedEvents?: boolean;
|
|
1072
|
+
/** When true, hides event times */
|
|
1073
|
+
noTime?: boolean;
|
|
1066
1074
|
}
|
|
1067
|
-
declare function MonthViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, }: MonthViewProps$1): react_jsx_runtime.JSX.Element;
|
|
1075
|
+
declare function MonthViewAgenda({ currentDate, events, onEventSelect, showUndatedEvents, noTime, }: MonthViewProps$1): react_jsx_runtime.JSX.Element;
|
|
1068
1076
|
|
|
1077
|
+
declare function startOfLocalDay(d: Date): Date;
|
|
1069
1078
|
declare function getAutoColorAgenda(id: string): EventColorAgenda;
|
|
1070
1079
|
declare function getEventColorClassesAgenda(color?: EventColorAgenda | string, eventId?: string): string;
|
|
1071
1080
|
/**
|
|
@@ -1082,9 +1091,6 @@ declare function isMultiDayEventAgenda(event: CalendarEventAgenda): boolean;
|
|
|
1082
1091
|
declare function getEventsForDayAgenda(events: CalendarEventAgenda[], day: Date): CalendarEventAgenda[];
|
|
1083
1092
|
declare function sortEventsAgenda(events: CalendarEventAgenda[]): CalendarEventAgenda[];
|
|
1084
1093
|
declare function getSpanningEventsForDayAgenda(events: CalendarEventAgenda[], day: Date): CalendarEventAgenda[];
|
|
1085
|
-
/**
|
|
1086
|
-
* Get all events visible on a specific day (starting, ending, or spanning)
|
|
1087
|
-
*/
|
|
1088
1094
|
declare function getAllEventsForDayAgenda(events: CalendarEventAgenda[], day: Date): CalendarEventAgenda[];
|
|
1089
1095
|
/**
|
|
1090
1096
|
* Get all events for a day (for agenda view)
|
|
@@ -1118,8 +1124,10 @@ interface WeekViewProps$1 {
|
|
|
1118
1124
|
onEventSelect: (event: CalendarEventAgenda, e?: React__default.MouseEvent) => void;
|
|
1119
1125
|
onEventCreate?: (startTime: Date) => void;
|
|
1120
1126
|
showUndatedEvents?: boolean;
|
|
1127
|
+
/** When true, hides event times */
|
|
1128
|
+
noTime?: boolean;
|
|
1121
1129
|
}
|
|
1122
|
-
declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, showUndatedEvents, }: WeekViewProps$1): react_jsx_runtime.JSX.Element;
|
|
1130
|
+
declare function WeekViewAgenda({ currentDate, events, onEventSelect, onEventCreate, showUndatedEvents, noTime, }: WeekViewProps$1): react_jsx_runtime.JSX.Element;
|
|
1123
1131
|
|
|
1124
1132
|
interface YearViewProps {
|
|
1125
1133
|
currentDate: Date;
|
|
@@ -1142,14 +1150,16 @@ interface MultiDayOverlayProps {
|
|
|
1142
1150
|
hoveredEventId: string | null;
|
|
1143
1151
|
onHover: (id: string | null) => void;
|
|
1144
1152
|
onEventSelect: (event: CalendarEventAgenda, e: React__default.MouseEvent) => void;
|
|
1153
|
+
noTime?: boolean;
|
|
1145
1154
|
}
|
|
1146
|
-
declare function MultiDayOverlay({ bars, weekIndex, hoveredEventId, onHover, onEventSelect, }: MultiDayOverlayProps): react_jsx_runtime.JSX.Element | null;
|
|
1155
|
+
declare function MultiDayOverlay({ bars, weekIndex, hoveredEventId, onHover, onEventSelect, noTime, }: MultiDayOverlayProps): react_jsx_runtime.JSX.Element | null;
|
|
1147
1156
|
|
|
1148
1157
|
interface EventDetailModalAgendaProps {
|
|
1149
1158
|
event?: CalendarEventAgenda;
|
|
1150
1159
|
onClose?: () => void;
|
|
1160
|
+
noTime?: boolean;
|
|
1151
1161
|
}
|
|
1152
|
-
declare function EventDetailModalAgenda({ event, onClose, }: EventDetailModalAgendaProps): react_jsx_runtime.JSX.Element | null;
|
|
1162
|
+
declare function EventDetailModalAgenda({ event, onClose, noTime, }: EventDetailModalAgendaProps): react_jsx_runtime.JSX.Element | null;
|
|
1153
1163
|
|
|
1154
1164
|
interface AgendaViewProps {
|
|
1155
1165
|
currentDate: Date;
|
|
@@ -2096,15 +2106,6 @@ interface SystemTooltipProps {
|
|
|
2096
2106
|
}
|
|
2097
2107
|
declare const SystemTooltip: React__default.FC<SystemTooltipProps>;
|
|
2098
2108
|
|
|
2099
|
-
interface Node {
|
|
2100
|
-
identity: number;
|
|
2101
|
-
labels: string[];
|
|
2102
|
-
properties: {
|
|
2103
|
-
nome: string;
|
|
2104
|
-
[key: string]: string;
|
|
2105
|
-
};
|
|
2106
|
-
elementId: string;
|
|
2107
|
-
}
|
|
2108
2109
|
interface IntegrationProps {
|
|
2109
2110
|
tipo?: string;
|
|
2110
2111
|
Tipo?: string;
|
|
@@ -2118,21 +2119,6 @@ interface IntegrationProps {
|
|
|
2118
2119
|
Origem?: string;
|
|
2119
2120
|
[key: string]: string | undefined;
|
|
2120
2121
|
}
|
|
2121
|
-
interface Relationship {
|
|
2122
|
-
identity: number;
|
|
2123
|
-
start: number;
|
|
2124
|
-
end: number;
|
|
2125
|
-
type: string;
|
|
2126
|
-
properties: IntegrationProps;
|
|
2127
|
-
elementId: string;
|
|
2128
|
-
startNodeElementId: string;
|
|
2129
|
-
endNodeElementId: string;
|
|
2130
|
-
}
|
|
2131
|
-
interface Integration {
|
|
2132
|
-
origem: Node;
|
|
2133
|
-
r: Relationship;
|
|
2134
|
-
destino: Node;
|
|
2135
|
-
}
|
|
2136
2122
|
interface IntegrationConnection {
|
|
2137
2123
|
id: string;
|
|
2138
2124
|
name: string;
|
|
@@ -2145,13 +2131,12 @@ interface IntegrationData {
|
|
|
2145
2131
|
description?: string;
|
|
2146
2132
|
connections: IntegrationConnection[];
|
|
2147
2133
|
}
|
|
2148
|
-
declare function processIntegrationData(integrations: Integration[], targetSystemName: string): IntegrationData;
|
|
2149
2134
|
|
|
2150
2135
|
interface Position$1 {
|
|
2151
2136
|
top: number;
|
|
2152
2137
|
left: number;
|
|
2153
2138
|
}
|
|
2154
|
-
interface
|
|
2139
|
+
interface IntegrationModalProps {
|
|
2155
2140
|
id: string;
|
|
2156
2141
|
data: IntegrationData;
|
|
2157
2142
|
position: Position$1;
|
|
@@ -2162,7 +2147,6 @@ interface IntegrationTooltipProps {
|
|
|
2162
2147
|
onClose: (id: string) => void;
|
|
2163
2148
|
onPositionChange?: (id: string, position: Position$1) => void;
|
|
2164
2149
|
}
|
|
2165
|
-
declare const IntegrationTooltip: React__default.FC<IntegrationTooltipProps>;
|
|
2166
2150
|
|
|
2167
2151
|
interface ChartData$2 {
|
|
2168
2152
|
[key: string]: string | number | boolean | null | undefined;
|
|
@@ -2558,4 +2542,4 @@ declare const useDrag: (options?: UseDragOptions) => {
|
|
|
2558
2542
|
isDragging: boolean;
|
|
2559
2543
|
};
|
|
2560
2544
|
|
|
2561
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, type CircularProgressProps, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, type FileUploaderProps, type FileWithPreview, type FilesAccepted, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type
|
|
2545
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, type AvatarComboboxItem, type AvatarComboboxProps, type AvatarComboboxPropsWithGroupItems, type AvatarComboboxPropsWithItems, type AvatarComboboxTestIds, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, type BadgeColorType, type BannerProps, type BiaxialConfig, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush, ButtonBase, ButtonGroupBase, type ButtonProps, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, type CalendarEvent, type CalendarEventAgenda, type CalendarProps, type CalendarView, type CalendarViewAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, type CarouselBaseProps, type CarouselItem, ChangeButton, Chart, ChartControls, type ChartData$3 as ChartData, ChartHeader, type ChartHooksArgs, type ChartProps, ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, type CircularProgressProps, CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, type ComboboxProps, type ComboboxTestIds, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandListBase, CommandSeparatorBase, CommandShortcutBase, type Connection, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, type ControlledComboboxItem, type ControlledComboboxProps, type ControlledComboboxTestIds, CopyButton, type DataMapper, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, type DebouncedInputProps, type DefaultAvatarComboboxProps, DefaultEndHour, DefaultEndHourAgenda, type DefaultMultiSelectProps, type DefaultSelectProps, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent, DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage, EventAgenda, EventCalendar, type EventColor, type EventColorAgenda, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, type FileUploaderProps, type FileWithPreview, type FilesAccepted, FilterButton, type FinalValueFormatter, HideButton, Highlights, HorizontalChart, HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, type IconProps, InputBase, type InputBaseProps, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, type IntegrationModalProps, type IntegrationProperties, LabelBase, type LabelListContent, Leaderboard, type LeaderboardItem, type LeaderboardProps, type LegendItem, LikeButton, LoadingBase, LockButton, type MapperConfig, type MapperConfigEntry, type Margins, type MenuItem, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, type MultiComboboxProps, type MultiComboboxTestIds, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, type MultiSelectContextType, MultiSelectGroupBase, type MultiSelectItem, MultiSelectItemBase, type MultiSelectProps, type MultiSelectPropsWithGroupItems, type MultiSelectPropsWithItems, MultiSelectSeparatorBase, type MultiSelectTestIds, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, type Neo4jIntegration, type Neo4jNode, type Neo4jRelationship, type NewSelectProps, NoData, NotificationButton, NumericInput, type Padding, type Period, PeriodsDropdown, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, type Position$1 as Position, type Primitive, ProgressBase, type ProgressBaseProps, ProgressCirclesBase, type ProgressCirclesBaseProps, ProgressPanelsBase, type ProgressPanelsBaseProps, ProgressSegmentsBase, type ProgressSegmentsBaseProps, type ProgressType, type PropsLabelList, RadialMenu, RangePicker, type RangePickerProps, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, type SelectItem, SelectItemBase, SelectLabelBase, type SelectPropsWithGroupItems, type SelectPropsWithItems, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, type SelectTestIds, SelectTriggerBase, SelectValueBase, SeparatorBase, type SeriesConfig, type SeriesCounts, type SeriesEntry, type SeriesOrder, type SeriesProp, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, type SliderBaseProps, StartHour, StartHourAgenda, StatusIndicator, type StatusProps, SwitchBase, type SystemData, SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, type TextAreaBaseProps, type Theme, ThemeProviderBase, TimePicker, TimePickerInput, type TimePickerInputProps, type TimePickerType, TimeSeries, type TimeSeriesConfig, Toaster, type TooltipAdaptedRow, TooltipBase, TooltipContentBase, type TooltipItem$2 as TooltipItem, TooltipProviderBase, TooltipSimple, TooltipTriggerBase, RechartTooltipWithTotal as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, type ValueFormatter, type ValueFormatterType, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, type XAxisConfig, type YAxes, type YAxisMap, type YAxisOptions, type YAxisSide, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normalizeAttendDate, processNeo4jData, renderInsideBarLabel, renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useOpenTooltipForPeriod, useProcessedData, useSeriesOpacity, useTheme, useTimeSeriesRange, type valueFormatter, visualForItem };
|