@mlw-packages/react-components 1.10.30 → 1.10.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +6 -0
- package/dist/index.d.mts +22 -4
- package/dist/index.d.ts +22 -4
- package/dist/index.js +261 -185
- package/dist/index.mjs +261 -186
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9753,6 +9753,88 @@ function DroppableCellAgenda({
|
|
|
9753
9753
|
}
|
|
9754
9754
|
);
|
|
9755
9755
|
}
|
|
9756
|
+
var PEEK_HEIGHT = 22;
|
|
9757
|
+
var PADDING = 6;
|
|
9758
|
+
function AllDayStack({
|
|
9759
|
+
day,
|
|
9760
|
+
events,
|
|
9761
|
+
expandedDay,
|
|
9762
|
+
onExpand,
|
|
9763
|
+
onEventSelect,
|
|
9764
|
+
noTime
|
|
9765
|
+
}) {
|
|
9766
|
+
const isExpanded = expandedDay ? isSameDay(expandedDay, day) : false;
|
|
9767
|
+
const containerRef = useRef(null);
|
|
9768
|
+
useEffect(() => {
|
|
9769
|
+
if (!isExpanded) return;
|
|
9770
|
+
const handler = (e) => {
|
|
9771
|
+
if (containerRef.current && !containerRef.current.contains(e.target)) {
|
|
9772
|
+
onExpand(null);
|
|
9773
|
+
}
|
|
9774
|
+
};
|
|
9775
|
+
document.addEventListener("mousedown", handler);
|
|
9776
|
+
return () => document.removeEventListener("mousedown", handler);
|
|
9777
|
+
}, [isExpanded, onExpand]);
|
|
9778
|
+
if (events.length === 0) return null;
|
|
9779
|
+
const single = events.length === 1;
|
|
9780
|
+
return /* @__PURE__ */ jsx(
|
|
9781
|
+
"div",
|
|
9782
|
+
{
|
|
9783
|
+
className: "absolute inset-0",
|
|
9784
|
+
ref: containerRef,
|
|
9785
|
+
style: { zIndex: isExpanded ? 50 : 10 },
|
|
9786
|
+
children: events.map((event, i) => {
|
|
9787
|
+
const top = PADDING + i * PEEK_HEIGHT;
|
|
9788
|
+
const bottom = PADDING;
|
|
9789
|
+
const zIndex = i + 1;
|
|
9790
|
+
return /* @__PURE__ */ jsx(TooltipProviderBase, { delayDuration: 400, children: /* @__PURE__ */ jsxs(TooltipBase, { children: [
|
|
9791
|
+
/* @__PURE__ */ jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
9792
|
+
"div",
|
|
9793
|
+
{
|
|
9794
|
+
className: "absolute left-1.5 right-1.5 cursor-pointer",
|
|
9795
|
+
style: { top, bottom, zIndex },
|
|
9796
|
+
onClick: (e) => {
|
|
9797
|
+
e.stopPropagation();
|
|
9798
|
+
if (isExpanded || single) {
|
|
9799
|
+
onEventSelect(event, e);
|
|
9800
|
+
} else {
|
|
9801
|
+
onExpand(day);
|
|
9802
|
+
}
|
|
9803
|
+
},
|
|
9804
|
+
children: /* @__PURE__ */ jsx(
|
|
9805
|
+
EventItemAgenda,
|
|
9806
|
+
{
|
|
9807
|
+
event,
|
|
9808
|
+
isFirstDay: true,
|
|
9809
|
+
isLastDay: true,
|
|
9810
|
+
view: "day",
|
|
9811
|
+
noTime,
|
|
9812
|
+
className: "flex justify-start items-start rounded-sm py-1 h-full w-full pointer-events-none"
|
|
9813
|
+
}
|
|
9814
|
+
)
|
|
9815
|
+
}
|
|
9816
|
+
) }),
|
|
9817
|
+
/* @__PURE__ */ jsxs(TooltipContentBase, { side: "top", sideOffset: 6, className: "max-w-[220px] space-y-0.5", children: [
|
|
9818
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-sm leading-snug", children: event.title }),
|
|
9819
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs opacity-90", children: formatDurationAgenda(event) }),
|
|
9820
|
+
event.location && /* @__PURE__ */ jsxs("p", { className: "text-xs flex items-center gap-2", children: [
|
|
9821
|
+
/* @__PURE__ */ jsx(MapPinIcon$1, { size: 15 }),
|
|
9822
|
+
" ",
|
|
9823
|
+
event.location
|
|
9824
|
+
] }),
|
|
9825
|
+
event.description && /* @__PURE__ */ jsx("p", { className: "text-xs opacity-75 line-clamp-2", children: event.description })
|
|
9826
|
+
] })
|
|
9827
|
+
] }) }, event.id);
|
|
9828
|
+
})
|
|
9829
|
+
}
|
|
9830
|
+
);
|
|
9831
|
+
}
|
|
9832
|
+
|
|
9833
|
+
// src/components/ui/event-calendar-view/helpers.ts
|
|
9834
|
+
var formatterDate = Intl.DateTimeFormat("pt-BR", {
|
|
9835
|
+
minute: "numeric",
|
|
9836
|
+
hour: "numeric"
|
|
9837
|
+
});
|
|
9756
9838
|
function DayViewAgenda({
|
|
9757
9839
|
currentDate,
|
|
9758
9840
|
events,
|
|
@@ -9760,8 +9842,10 @@ function DayViewAgenda({
|
|
|
9760
9842
|
showUndatedEvents,
|
|
9761
9843
|
noTime = false,
|
|
9762
9844
|
onEventCreate,
|
|
9763
|
-
allDayCell = false
|
|
9845
|
+
allDayCell = false,
|
|
9846
|
+
timePlus
|
|
9764
9847
|
}) {
|
|
9848
|
+
const [expandedDay, setExpandedDay] = useState(null);
|
|
9765
9849
|
const hours = useMemo(() => {
|
|
9766
9850
|
const dayStart = startOfDay(currentDate);
|
|
9767
9851
|
return eachHourOfInterval({
|
|
@@ -9922,52 +10006,17 @@ function DayViewAgenda({
|
|
|
9922
10006
|
hour.toString()
|
|
9923
10007
|
)) }),
|
|
9924
10008
|
showAllDaySection && allDayCell ? /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
9925
|
-
|
|
9926
|
-
|
|
9927
|
-
|
|
9928
|
-
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9935
|
-
|
|
9936
|
-
/* @__PURE__ */ jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx("div", { className: "size-full", children: /* @__PURE__ */ jsx(
|
|
9937
|
-
EventItemAgenda,
|
|
9938
|
-
{
|
|
9939
|
-
event,
|
|
9940
|
-
view: "day",
|
|
9941
|
-
isFirstDay,
|
|
9942
|
-
isLastDay,
|
|
9943
|
-
onClick: (e) => handleEventClick(event, e),
|
|
9944
|
-
noTime,
|
|
9945
|
-
className: "flex justify-start items-start rounded-sm p-2"
|
|
9946
|
-
}
|
|
9947
|
-
) }) }),
|
|
9948
|
-
/* @__PURE__ */ jsxs(
|
|
9949
|
-
TooltipContentBase,
|
|
9950
|
-
{
|
|
9951
|
-
side: "top",
|
|
9952
|
-
sideOffset: 6,
|
|
9953
|
-
className: "max-w-[220px] space-y-0.5",
|
|
9954
|
-
children: [
|
|
9955
|
-
/* @__PURE__ */ jsx("p", { className: "font-semibold text-sm leading-snug", children: event.title }),
|
|
9956
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs opacity-90", children: formatDurationAgenda(event) }),
|
|
9957
|
-
event.location && /* @__PURE__ */ jsxs("p", { className: "text-xs flex items-center gap-2", children: [
|
|
9958
|
-
/* @__PURE__ */ jsx(MapPinIcon, { size: 15 }),
|
|
9959
|
-
" ",
|
|
9960
|
-
event.location
|
|
9961
|
-
] }),
|
|
9962
|
-
event.description && /* @__PURE__ */ jsx("p", { className: "text-xs opacity-75 line-clamp-2", children: event.description })
|
|
9963
|
-
]
|
|
9964
|
-
}
|
|
9965
|
-
)
|
|
9966
|
-
] }) })
|
|
9967
|
-
},
|
|
9968
|
-
`spanning-${event.id}`
|
|
9969
|
-
);
|
|
9970
|
-
}),
|
|
10009
|
+
/* @__PURE__ */ jsx(
|
|
10010
|
+
AllDayStack,
|
|
10011
|
+
{
|
|
10012
|
+
day: currentDate,
|
|
10013
|
+
events: allDayEvents,
|
|
10014
|
+
expandedDay,
|
|
10015
|
+
onExpand: setExpandedDay,
|
|
10016
|
+
onEventSelect: handleEventClick,
|
|
10017
|
+
noTime
|
|
10018
|
+
}
|
|
10019
|
+
),
|
|
9971
10020
|
currentTimeVisible && /* @__PURE__ */ jsx(
|
|
9972
10021
|
"div",
|
|
9973
10022
|
{
|
|
@@ -10103,6 +10152,11 @@ function DayViewAgenda({
|
|
|
10103
10152
|
const startTime = new Date(currentDate);
|
|
10104
10153
|
startTime.setHours(hourValue);
|
|
10105
10154
|
startTime.setMinutes(quarter * 15);
|
|
10155
|
+
if (timePlus) {
|
|
10156
|
+
const eventsOnHour = positionedEvents.filter((evt) => formatterDate.format(evt.event.start).split(":")[0] == formatterDate.format(startTime).split(":")[0]).findLast((evt) => parseInt(formatterDate.format(evt.event.start).split(":")[1]) <= parseInt(formatterDate.format(startTime).split(":")[1]));
|
|
10157
|
+
if (eventsOnHour)
|
|
10158
|
+
startTime.setMinutes((eventsOnHour?.event?.end?.getMinutes() ?? 0) + timePlus);
|
|
10159
|
+
}
|
|
10106
10160
|
if (onEventCreate) onEventCreate(startTime);
|
|
10107
10161
|
},
|
|
10108
10162
|
time: quarterHourTime
|
|
@@ -10369,7 +10423,8 @@ function EventAgenda({
|
|
|
10369
10423
|
onlyAgenda,
|
|
10370
10424
|
onlyYear,
|
|
10371
10425
|
allowCellClick = true,
|
|
10372
|
-
allDayCell = false
|
|
10426
|
+
allDayCell = false,
|
|
10427
|
+
timePlus
|
|
10373
10428
|
}) {
|
|
10374
10429
|
const lockedView = onlyDay ? "day" : onlyMonth ? "month" : onlyWeek ? "week" : onlyAgenda ? "agenda" : onlyYear ? "year" : void 0;
|
|
10375
10430
|
const [currentDate, setCurrentDate] = useState(
|
|
@@ -10551,6 +10606,7 @@ function EventAgenda({
|
|
|
10551
10606
|
onEventSelect: handleEventSelect,
|
|
10552
10607
|
noTime,
|
|
10553
10608
|
allDayCell,
|
|
10609
|
+
timePlus,
|
|
10554
10610
|
onEventCreate: allowCellClick ? (d) => onEventUpdate?.({
|
|
10555
10611
|
start: d,
|
|
10556
10612
|
end: d,
|
|
@@ -10567,6 +10623,7 @@ function EventAgenda({
|
|
|
10567
10623
|
onEventSelect: handleEventSelect,
|
|
10568
10624
|
noTime,
|
|
10569
10625
|
allDayCell,
|
|
10626
|
+
timePlus,
|
|
10570
10627
|
onEventCreate: allowCellClick ? (d) => onEventUpdate?.({
|
|
10571
10628
|
start: d,
|
|
10572
10629
|
end: d,
|
|
@@ -11276,8 +11333,10 @@ function WeekViewAgenda({
|
|
|
11276
11333
|
allDayCell = false,
|
|
11277
11334
|
onEventCreate,
|
|
11278
11335
|
showUndatedEvents,
|
|
11279
|
-
noTime = false
|
|
11336
|
+
noTime = false,
|
|
11337
|
+
timePlus
|
|
11280
11338
|
}) {
|
|
11339
|
+
const [expandedDay, setExpandedDay] = useState(null);
|
|
11281
11340
|
const days = useMemo(() => {
|
|
11282
11341
|
const weekStart = startOfWeek(currentDate, { weekStartsOn: 0 });
|
|
11283
11342
|
const weekEnd = endOfWeek(currentDate, { weekStartsOn: 0 });
|
|
@@ -11324,11 +11383,6 @@ function WeekViewAgenda({
|
|
|
11324
11383
|
[allDayEvents]
|
|
11325
11384
|
);
|
|
11326
11385
|
const rowH = EventHeightAgenda + EventGapAgenda;
|
|
11327
|
-
const allDayBarData = useMemo(() => {
|
|
11328
|
-
const bars = computeMultiDayBars(trueAllDayEvents, days);
|
|
11329
|
-
const maxSlot = bars.length > 0 ? Math.max(...bars.map((b) => b.slot)) : 0;
|
|
11330
|
-
return { bars, sectionH: (maxSlot + 1) * rowH + EventGapAgenda * 2 };
|
|
11331
|
-
}, [trueAllDayEvents, days, rowH]);
|
|
11332
11386
|
const multiDayBarData = useMemo(() => {
|
|
11333
11387
|
const bars = computeMultiDayBars(multiDayTimedEvents, days);
|
|
11334
11388
|
const maxSlot = bars.length > 0 ? Math.max(...bars.map((b) => b.slot)) : 0;
|
|
@@ -11451,76 +11505,31 @@ function WeekViewAgenda({
|
|
|
11451
11505
|
showAllDaySection && /* @__PURE__ */ jsxs("div", { className: "border-border/70 border-b bg-muted/50", children: [
|
|
11452
11506
|
trueAllDayEvents.length > 0 && !allDayCell && /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-8", children: [
|
|
11453
11507
|
/* @__PURE__ */ jsx("div", { className: "relative border-border/70 border-r flex items-center justify-center p-1", children: /* @__PURE__ */ jsx("span", { className: "text-center text-[10px] text-muted-foreground/70 sm:text-xs", children: "Todo dia" }) }),
|
|
11454
|
-
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11508
|
+
days.map((day) => {
|
|
11509
|
+
const dayEvents = trueAllDayEvents.filter((event) => {
|
|
11510
|
+
const start = getEventStartDate(event);
|
|
11511
|
+
return start ? isSameDay(day, start) : false;
|
|
11512
|
+
});
|
|
11513
|
+
return /* @__PURE__ */ jsx(
|
|
11514
|
+
"div",
|
|
11515
|
+
{
|
|
11516
|
+
className: "relative border-r last:border-r-0 border-border/70 overflow-visible py-0.5",
|
|
11517
|
+
"data-today": isToday(day) || void 0,
|
|
11518
|
+
children: /* @__PURE__ */ jsx(
|
|
11519
|
+
AllDayStack,
|
|
11462
11520
|
{
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
|
|
11466
|
-
|
|
11467
|
-
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
|
|
11471
|
-
|
|
11472
|
-
|
|
11473
|
-
|
|
11474
|
-
|
|
11475
|
-
slot
|
|
11476
|
-
} = bar;
|
|
11477
|
-
const showTitle = isFirstDay || !isFirstDay && colStart === 0;
|
|
11478
|
-
return /* @__PURE__ */ jsx(TooltipProviderBase, { delayDuration: 400, children: /* @__PURE__ */ jsxs(TooltipBase, { children: [
|
|
11479
|
-
/* @__PURE__ */ jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
11480
|
-
"div",
|
|
11481
|
-
{
|
|
11482
|
-
className: "absolute px-0.5",
|
|
11483
|
-
style: {
|
|
11484
|
-
left: `calc(${colStart / 7 * 100}% + 2px)`,
|
|
11485
|
-
width: `calc(${colSpan / 7 * 100}% - 4px)`,
|
|
11486
|
-
top: EventGapAgenda + slot * rowH,
|
|
11487
|
-
height: EventHeightAgenda
|
|
11488
|
-
},
|
|
11489
|
-
children: /* @__PURE__ */ jsx(
|
|
11490
|
-
EventItemAgenda,
|
|
11491
|
-
{
|
|
11492
|
-
event,
|
|
11493
|
-
isFirstDay,
|
|
11494
|
-
isLastDay,
|
|
11495
|
-
onClick: (e) => {
|
|
11496
|
-
e.stopPropagation();
|
|
11497
|
-
handleEventClick(event, e);
|
|
11498
|
-
},
|
|
11499
|
-
view: "month",
|
|
11500
|
-
className: "h-full",
|
|
11501
|
-
children: /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1 min-w-0 w-full", children: [
|
|
11502
|
-
!isFirstDay && colStart === 0 && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-[11px] font-bold opacity-60", children: /* @__PURE__ */ jsx(CaretLeftIcon$1, {}) }),
|
|
11503
|
-
showTitle && /* @__PURE__ */ jsx("span", { className: "truncate text-xs font-medium", children: event.title }),
|
|
11504
|
-
!isLastDay && colStart + colSpan === 7 && /* @__PURE__ */ jsx("span", { className: "shrink-0 ml-auto text-[11px] font-bold opacity-60", children: /* @__PURE__ */ jsx(CaretRightIcon$1, {}) })
|
|
11505
|
-
] })
|
|
11506
|
-
}
|
|
11507
|
-
)
|
|
11508
|
-
}
|
|
11509
|
-
) }),
|
|
11510
|
-
/* @__PURE__ */ jsxs(TooltipContentBase, { side: "top", children: [
|
|
11511
|
-
/* @__PURE__ */ jsx("p", { className: "font-semibold truncate max-w-[200px]", children: event.title }),
|
|
11512
|
-
/* @__PURE__ */ jsx("p", { className: "opacity-80 mt-0.5 leading-snug", children: formatDurationAgenda(event) }),
|
|
11513
|
-
event.location && /* @__PURE__ */ jsxs("p", { className: "opacity-60 mt-0.5 truncate text-[11px] max-w-[200px] flex items-center gap-1", children: [
|
|
11514
|
-
/* @__PURE__ */ jsx(MapPinIcon$1, { size: 14 }),
|
|
11515
|
-
" ",
|
|
11516
|
-
event.location
|
|
11517
|
-
] })
|
|
11518
|
-
] })
|
|
11519
|
-
] }) }, event.id);
|
|
11520
|
-
})
|
|
11521
|
-
]
|
|
11522
|
-
}
|
|
11523
|
-
)
|
|
11521
|
+
day,
|
|
11522
|
+
events: dayEvents,
|
|
11523
|
+
expandedDay,
|
|
11524
|
+
onExpand: setExpandedDay,
|
|
11525
|
+
onEventSelect: handleEventClick,
|
|
11526
|
+
noTime
|
|
11527
|
+
}
|
|
11528
|
+
)
|
|
11529
|
+
},
|
|
11530
|
+
day.toString()
|
|
11531
|
+
);
|
|
11532
|
+
})
|
|
11524
11533
|
] }),
|
|
11525
11534
|
multiDayTimedEvents.length > 0 && /* @__PURE__ */ jsxs(
|
|
11526
11535
|
"div",
|
|
@@ -11637,60 +11646,19 @@ function WeekViewAgenda({
|
|
|
11637
11646
|
className: "relative grid auto-cols-fr border-border/70 border-r last:border-r-0",
|
|
11638
11647
|
"data-today": isToday(day) || void 0,
|
|
11639
11648
|
children: [
|
|
11640
|
-
trueAllDayEvents.length > 0 && allDayCell && /* @__PURE__ */ jsx(
|
|
11641
|
-
|
|
11642
|
-
|
|
11643
|
-
|
|
11644
|
-
|
|
11645
|
-
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
style: {
|
|
11654
|
-
height: "100%",
|
|
11655
|
-
width: "100%",
|
|
11656
|
-
padding: "10px"
|
|
11657
|
-
},
|
|
11658
|
-
children: /* @__PURE__ */ jsx(TooltipProviderBase, { delayDuration: 400, children: /* @__PURE__ */ jsxs(TooltipBase, { children: [
|
|
11659
|
-
/* @__PURE__ */ jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx("div", { className: "size-full", children: /* @__PURE__ */ jsx(
|
|
11660
|
-
EventItemAgenda,
|
|
11661
|
-
{
|
|
11662
|
-
event,
|
|
11663
|
-
view: "day",
|
|
11664
|
-
isFirstDay,
|
|
11665
|
-
isLastDay,
|
|
11666
|
-
onClick: (e) => handleEventClick(event, e),
|
|
11667
|
-
noTime,
|
|
11668
|
-
className: "flex justify-start items-start rounded-sm py-1"
|
|
11669
|
-
}
|
|
11670
|
-
) }) }),
|
|
11671
|
-
/* @__PURE__ */ jsxs(
|
|
11672
|
-
TooltipContentBase,
|
|
11673
|
-
{
|
|
11674
|
-
side: "top",
|
|
11675
|
-
sideOffset: 6,
|
|
11676
|
-
className: "max-w-[220px] space-y-0.5",
|
|
11677
|
-
children: [
|
|
11678
|
-
/* @__PURE__ */ jsx("p", { className: "font-semibold text-sm leading-snug", children: event.title }),
|
|
11679
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs opacity-90", children: formatDurationAgenda(event) }),
|
|
11680
|
-
event.location && /* @__PURE__ */ jsxs("p", { className: "text-xs flex items-center gap-2", children: [
|
|
11681
|
-
/* @__PURE__ */ jsx(MapPinIcon$1, { size: 15 }),
|
|
11682
|
-
" ",
|
|
11683
|
-
event.location
|
|
11684
|
-
] }),
|
|
11685
|
-
event.description && /* @__PURE__ */ jsx("p", { className: "text-xs opacity-75 line-clamp-2", children: event.description })
|
|
11686
|
-
]
|
|
11687
|
-
}
|
|
11688
|
-
)
|
|
11689
|
-
] }) })
|
|
11690
|
-
},
|
|
11691
|
-
`spanning-${event.id}`
|
|
11692
|
-
);
|
|
11693
|
-
}) }),
|
|
11649
|
+
trueAllDayEvents.length > 0 && allDayCell && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 overflow-visible", children: /* @__PURE__ */ jsx(
|
|
11650
|
+
AllDayStack,
|
|
11651
|
+
{
|
|
11652
|
+
day,
|
|
11653
|
+
events: trueAllDayEvents.filter(
|
|
11654
|
+
(event) => event.start?.toLocaleDateString() === new Date(day).toLocaleDateString()
|
|
11655
|
+
),
|
|
11656
|
+
expandedDay,
|
|
11657
|
+
onExpand: setExpandedDay,
|
|
11658
|
+
onEventSelect: handleEventClick,
|
|
11659
|
+
noTime
|
|
11660
|
+
}
|
|
11661
|
+
) }),
|
|
11694
11662
|
(processedDayEvents[dayIndex] ?? []).map((positionedEvent) => {
|
|
11695
11663
|
const timeLabel = formatDurationAgenda(positionedEvent.event);
|
|
11696
11664
|
return /* @__PURE__ */ jsx(TooltipProviderBase, { children: /* @__PURE__ */ jsxs(TooltipBase, { delayDuration: 250, children: [
|
|
@@ -11776,6 +11744,11 @@ function WeekViewAgenda({
|
|
|
11776
11744
|
const startTime = new Date(day);
|
|
11777
11745
|
startTime.setHours(hourValue);
|
|
11778
11746
|
startTime.setMinutes(quarter * 15);
|
|
11747
|
+
if (timePlus) {
|
|
11748
|
+
const eventsOnHour = processedDayEvents[dayIndex].filter((evt) => formatterDate.format(evt.event.start).split(":")[0] == formatterDate.format(startTime).split(":")[0]).findLast((evt) => parseInt(formatterDate.format(evt.event.start).split(":")[1]) <= parseInt(formatterDate.format(startTime).split(":")[1]));
|
|
11749
|
+
if (eventsOnHour)
|
|
11750
|
+
startTime.setMinutes((eventsOnHour?.event?.end?.getMinutes() ?? 0) + timePlus);
|
|
11751
|
+
}
|
|
11779
11752
|
if (onEventCreate) onEventCreate(startTime);
|
|
11780
11753
|
},
|
|
11781
11754
|
time: quarterHourTime
|
|
@@ -21052,6 +21025,102 @@ var TagInput = React32.forwardRef(
|
|
|
21052
21025
|
}
|
|
21053
21026
|
);
|
|
21054
21027
|
TagInput.displayName = "TagInput";
|
|
21028
|
+
function MaskedInput({
|
|
21029
|
+
value,
|
|
21030
|
+
onChange,
|
|
21031
|
+
mask,
|
|
21032
|
+
label,
|
|
21033
|
+
className,
|
|
21034
|
+
error,
|
|
21035
|
+
isLoading,
|
|
21036
|
+
disabled,
|
|
21037
|
+
hideConfirm = false
|
|
21038
|
+
}) {
|
|
21039
|
+
const [internalValue, setInternalValue] = useState(value);
|
|
21040
|
+
useEffect(() => {
|
|
21041
|
+
setInternalValue(applyMask(value, mask));
|
|
21042
|
+
}, [value, mask]);
|
|
21043
|
+
const hasChanged = internalValue !== applyMask(value, mask);
|
|
21044
|
+
const handleSave = () => {
|
|
21045
|
+
if (!hasChanged || isLoading || disabled) return;
|
|
21046
|
+
onChange(internalValue.replace(/\D/g, ""));
|
|
21047
|
+
};
|
|
21048
|
+
function applyMask(value2, type) {
|
|
21049
|
+
let valueMasked = value2.replace(/\D/g, "");
|
|
21050
|
+
switch (type) {
|
|
21051
|
+
case "cpf":
|
|
21052
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21053
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21054
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d{1,2})$/, "$1-$2");
|
|
21055
|
+
return valueMasked.substring(0, 14);
|
|
21056
|
+
case "cnpj":
|
|
21057
|
+
valueMasked = valueMasked.replace(/^(\d{2})(\d)/, "$1.$2");
|
|
21058
|
+
valueMasked = valueMasked.replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3");
|
|
21059
|
+
valueMasked = valueMasked.replace(/\.(\d{3})(\d)/, ".$1/$2");
|
|
21060
|
+
valueMasked = valueMasked.replace(/(\d{4})(\d)/, "$1-$2");
|
|
21061
|
+
return valueMasked.substring(0, 18);
|
|
21062
|
+
case "cep":
|
|
21063
|
+
valueMasked = valueMasked.replace(/(\d{5})(\d)/, "$1-$2");
|
|
21064
|
+
return valueMasked.substring(0, 9);
|
|
21065
|
+
case "phone":
|
|
21066
|
+
valueMasked = valueMasked.replace(/^(\d{2})(\d)/g, "($1) $2");
|
|
21067
|
+
valueMasked = valueMasked.replace(/(\d)(\d{4})$/, "$1-$2");
|
|
21068
|
+
return valueMasked.substring(0, 15);
|
|
21069
|
+
case "rg":
|
|
21070
|
+
valueMasked = valueMasked.replace(/(\d{2})(\d)/, "$1.$2");
|
|
21071
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21072
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d{1})$/, "$1-$2");
|
|
21073
|
+
return valueMasked.substring(0, 12);
|
|
21074
|
+
default:
|
|
21075
|
+
return valueMasked;
|
|
21076
|
+
}
|
|
21077
|
+
}
|
|
21078
|
+
function blurOnEnter(e) {
|
|
21079
|
+
if (e.key === "Enter") {
|
|
21080
|
+
e.currentTarget.blur();
|
|
21081
|
+
}
|
|
21082
|
+
}
|
|
21083
|
+
return /* @__PURE__ */ jsxs("div", { className: `${className} flex flex-col`, children: [
|
|
21084
|
+
label && /* @__PURE__ */ jsx(LabelBase_default, { children: label }),
|
|
21085
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-2", children: [
|
|
21086
|
+
/* @__PURE__ */ jsx(
|
|
21087
|
+
InputBase,
|
|
21088
|
+
{
|
|
21089
|
+
value: internalValue,
|
|
21090
|
+
onChange: (e) => {
|
|
21091
|
+
const masked = applyMask(e.currentTarget.value, mask);
|
|
21092
|
+
setInternalValue(masked);
|
|
21093
|
+
},
|
|
21094
|
+
onBlur: handleSave,
|
|
21095
|
+
onKeyDown: blurOnEnter,
|
|
21096
|
+
rightIcon: /* @__PURE__ */ jsx(PencilSimpleIcon, { size: 12, className: "mr-2" }),
|
|
21097
|
+
error,
|
|
21098
|
+
disabled,
|
|
21099
|
+
inputMode: "numeric"
|
|
21100
|
+
}
|
|
21101
|
+
),
|
|
21102
|
+
/* @__PURE__ */ jsx(AnimatePresence, { children: hasChanged && !hideConfirm && /* @__PURE__ */ jsx(
|
|
21103
|
+
motion.div,
|
|
21104
|
+
{
|
|
21105
|
+
initial: { opacity: 0, scale: 0.8 },
|
|
21106
|
+
animate: { opacity: 1, scale: 1 },
|
|
21107
|
+
exit: { opacity: 0, scale: 0.8 },
|
|
21108
|
+
transition: { type: "spring", stiffness: 500, damping: 30 },
|
|
21109
|
+
children: /* @__PURE__ */ jsx(
|
|
21110
|
+
ButtonBase,
|
|
21111
|
+
{
|
|
21112
|
+
onClick: handleSave,
|
|
21113
|
+
className: "h-9 w-9 bg-green-600 text-white hover:bg-green-700 rounded-md flex items-center justify-center",
|
|
21114
|
+
size: "icon",
|
|
21115
|
+
isLoading,
|
|
21116
|
+
children: /* @__PURE__ */ jsx(CheckIcon, { size: 14 })
|
|
21117
|
+
}
|
|
21118
|
+
)
|
|
21119
|
+
}
|
|
21120
|
+
) })
|
|
21121
|
+
] })
|
|
21122
|
+
] });
|
|
21123
|
+
}
|
|
21055
21124
|
function Leaderboard({
|
|
21056
21125
|
items,
|
|
21057
21126
|
order: initialOrder = "desc",
|
|
@@ -22706,23 +22775,28 @@ function useCommandPalette({
|
|
|
22706
22775
|
useEffect(() => {
|
|
22707
22776
|
stateRef.current = { activeIndex, page, flatItems, query, selectedItems };
|
|
22708
22777
|
}, [activeIndex, page, flatItems, query, selectedItems]);
|
|
22709
|
-
const executeBulkAction = useCallback(() => {
|
|
22778
|
+
const executeBulkAction = React32.useCallback(() => {
|
|
22710
22779
|
if (!onSelectMultiple || selectedItems.length === 0) return;
|
|
22711
22780
|
onSelectMultiple(selectedItems);
|
|
22712
22781
|
onOpenChange?.(false);
|
|
22713
22782
|
}, [onSelectMultiple, selectedItems, onOpenChange]);
|
|
22714
|
-
const
|
|
22783
|
+
const handleCheckboxToggle = React32.useCallback(
|
|
22784
|
+
(item) => {
|
|
22785
|
+
toggleSelection(item.id);
|
|
22786
|
+
},
|
|
22787
|
+
[toggleSelection]
|
|
22788
|
+
);
|
|
22789
|
+
const handleSelect = React32.useCallback(
|
|
22715
22790
|
(item, event) => {
|
|
22716
22791
|
if (!item) return;
|
|
22717
22792
|
if (multiSelect) {
|
|
22718
|
-
|
|
22719
|
-
if (isCmdKey) {
|
|
22793
|
+
if (event && ("ctrlKey" in event || "metaKey" in event || "shiftKey" in event) && (event.ctrlKey || event.metaKey || event.shiftKey)) {
|
|
22720
22794
|
toggleSelection(item.id);
|
|
22721
22795
|
return;
|
|
22722
22796
|
}
|
|
22723
22797
|
if (selectedItems.length > 0) {
|
|
22724
|
-
const
|
|
22725
|
-
onSelectMultiple?.(
|
|
22798
|
+
const itemsToSubmit = selectedItemIds.has(item.id) ? selectedItems : [...selectedItems, item];
|
|
22799
|
+
onSelectMultiple?.(itemsToSubmit);
|
|
22726
22800
|
onOpenChange?.(false);
|
|
22727
22801
|
return;
|
|
22728
22802
|
}
|
|
@@ -22741,12 +22815,12 @@ function useCommandPalette({
|
|
|
22741
22815
|
multiSelect,
|
|
22742
22816
|
selectedItems,
|
|
22743
22817
|
selectedItemIds,
|
|
22818
|
+
toggleSelection,
|
|
22744
22819
|
onSelectMultiple,
|
|
22745
22820
|
onOpenChange,
|
|
22746
22821
|
onRecentItemsChange,
|
|
22747
22822
|
recentItems,
|
|
22748
|
-
maxRecentItems
|
|
22749
|
-
toggleSelection
|
|
22823
|
+
maxRecentItems
|
|
22750
22824
|
]
|
|
22751
22825
|
);
|
|
22752
22826
|
useEffect(() => {
|
|
@@ -22835,6 +22909,7 @@ function useCommandPalette({
|
|
|
22835
22909
|
totalItems,
|
|
22836
22910
|
totalPages,
|
|
22837
22911
|
handleSelect,
|
|
22912
|
+
handleCheckboxToggle,
|
|
22838
22913
|
selectedItemIds,
|
|
22839
22914
|
toggleSelection,
|
|
22840
22915
|
selectedItems,
|
|
@@ -23249,4 +23324,4 @@ function CommandPalette(props) {
|
|
|
23249
23324
|
] }) });
|
|
23250
23325
|
}
|
|
23251
23326
|
|
|
23252
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush_default as Brush, ButtonBase, ButtonGroupBase, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent2 as DraggableEvent, DraggableTooltip_default as DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage_default as ErrorMessage, EventAgenda, EventCalendar, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, FilterButton, GroupLabel, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, IntegrationModal_default as IntegrationModal, Kbd, KbdGroup, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, PieChart_default as PieChartComponent, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, ProgressCirclesBase, ProgressPanelsBase, ProgressSegmentsBase, RadialMenu, RangePicker, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly_default as ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, StartHour, StartHourAgenda, StatusIndicator, SwitchBase, SystemTooltip_default as SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple_default as TooltipSimple, TooltipTriggerBase, TooltipWithTotal_default as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|
|
23327
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush_default as Brush, ButtonBase, ButtonGroupBase, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent2 as DraggableEvent, DraggableTooltip_default as DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage_default as ErrorMessage, EventAgenda, EventCalendar, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, FilterButton, GroupLabel, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, IntegrationModal_default as IntegrationModal, Kbd, KbdGroup, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, MaskedInput, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, PieChart_default as PieChartComponent, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, ProgressCirclesBase, ProgressPanelsBase, ProgressSegmentsBase, RadialMenu, RangePicker, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly_default as ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, StartHour, StartHourAgenda, StatusIndicator, SwitchBase, SystemTooltip_default as SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple_default as TooltipSimple, TooltipTriggerBase, TooltipWithTotal_default as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|