@mlw-packages/react-components 1.10.29 → 1.10.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +18 -4
- package/dist/index.d.mts +22 -4
- package/dist/index.d.ts +22 -4
- package/dist/index.js +310 -105
- package/dist/index.mjs +310 -106
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9753,14 +9753,92 @@ function DroppableCellAgenda({
|
|
|
9753
9753
|
}
|
|
9754
9754
|
);
|
|
9755
9755
|
}
|
|
9756
|
+
var PEEK_HEIGHT = 22;
|
|
9757
|
+
var PADDING = 6;
|
|
9758
|
+
function AllDayStack({
|
|
9759
|
+
day,
|
|
9760
|
+
events,
|
|
9761
|
+
expandedDay,
|
|
9762
|
+
onExpand,
|
|
9763
|
+
onEventSelect,
|
|
9764
|
+
noTime
|
|
9765
|
+
}) {
|
|
9766
|
+
const isExpanded = expandedDay ? isSameDay(expandedDay, day) : false;
|
|
9767
|
+
const containerRef = useRef(null);
|
|
9768
|
+
useEffect(() => {
|
|
9769
|
+
if (!isExpanded) return;
|
|
9770
|
+
const handler = (e) => {
|
|
9771
|
+
if (containerRef.current && !containerRef.current.contains(e.target)) {
|
|
9772
|
+
onExpand(null);
|
|
9773
|
+
}
|
|
9774
|
+
};
|
|
9775
|
+
document.addEventListener("mousedown", handler);
|
|
9776
|
+
return () => document.removeEventListener("mousedown", handler);
|
|
9777
|
+
}, [isExpanded, onExpand]);
|
|
9778
|
+
if (events.length === 0) return null;
|
|
9779
|
+
const single = events.length === 1;
|
|
9780
|
+
return /* @__PURE__ */ jsx(
|
|
9781
|
+
"div",
|
|
9782
|
+
{
|
|
9783
|
+
className: "absolute inset-0",
|
|
9784
|
+
ref: containerRef,
|
|
9785
|
+
style: { zIndex: isExpanded ? 50 : 10 },
|
|
9786
|
+
children: events.map((event, i) => {
|
|
9787
|
+
const top = PADDING + i * PEEK_HEIGHT;
|
|
9788
|
+
const bottom = PADDING;
|
|
9789
|
+
const zIndex = i + 1;
|
|
9790
|
+
return /* @__PURE__ */ jsx(TooltipProviderBase, { delayDuration: 400, children: /* @__PURE__ */ jsxs(TooltipBase, { children: [
|
|
9791
|
+
/* @__PURE__ */ jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
9792
|
+
"div",
|
|
9793
|
+
{
|
|
9794
|
+
className: "absolute left-1.5 right-1.5 cursor-pointer",
|
|
9795
|
+
style: { top, bottom, zIndex },
|
|
9796
|
+
onClick: (e) => {
|
|
9797
|
+
e.stopPropagation();
|
|
9798
|
+
if (isExpanded || single) {
|
|
9799
|
+
onEventSelect(event, e);
|
|
9800
|
+
} else {
|
|
9801
|
+
onExpand(day);
|
|
9802
|
+
}
|
|
9803
|
+
},
|
|
9804
|
+
children: /* @__PURE__ */ jsx(
|
|
9805
|
+
EventItemAgenda,
|
|
9806
|
+
{
|
|
9807
|
+
event,
|
|
9808
|
+
isFirstDay: true,
|
|
9809
|
+
isLastDay: true,
|
|
9810
|
+
view: "day",
|
|
9811
|
+
noTime,
|
|
9812
|
+
className: "flex justify-start items-start rounded-sm py-1 h-full w-full pointer-events-none"
|
|
9813
|
+
}
|
|
9814
|
+
)
|
|
9815
|
+
}
|
|
9816
|
+
) }),
|
|
9817
|
+
/* @__PURE__ */ jsxs(TooltipContentBase, { side: "top", sideOffset: 6, className: "max-w-[220px] space-y-0.5", children: [
|
|
9818
|
+
/* @__PURE__ */ jsx("p", { className: "font-semibold text-sm leading-snug", children: event.title }),
|
|
9819
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs opacity-90", children: formatDurationAgenda(event) }),
|
|
9820
|
+
event.location && /* @__PURE__ */ jsxs("p", { className: "text-xs flex items-center gap-2", children: [
|
|
9821
|
+
/* @__PURE__ */ jsx(MapPinIcon$1, { size: 15 }),
|
|
9822
|
+
" ",
|
|
9823
|
+
event.location
|
|
9824
|
+
] }),
|
|
9825
|
+
event.description && /* @__PURE__ */ jsx("p", { className: "text-xs opacity-75 line-clamp-2", children: event.description })
|
|
9826
|
+
] })
|
|
9827
|
+
] }) }, event.id);
|
|
9828
|
+
})
|
|
9829
|
+
}
|
|
9830
|
+
);
|
|
9831
|
+
}
|
|
9756
9832
|
function DayViewAgenda({
|
|
9757
9833
|
currentDate,
|
|
9758
9834
|
events,
|
|
9759
9835
|
onEventSelect,
|
|
9760
9836
|
showUndatedEvents,
|
|
9761
9837
|
noTime = false,
|
|
9762
|
-
onEventCreate
|
|
9838
|
+
onEventCreate,
|
|
9839
|
+
allDayCell = false
|
|
9763
9840
|
}) {
|
|
9841
|
+
const [expandedDay, setExpandedDay] = useState(null);
|
|
9764
9842
|
const hours = useMemo(() => {
|
|
9765
9843
|
const dayStart = startOfDay(currentDate);
|
|
9766
9844
|
return eachHourOfInterval({
|
|
@@ -9873,7 +9951,7 @@ function DayViewAgenda({
|
|
|
9873
9951
|
const showAllDaySection = allDayEvents.length > 0;
|
|
9874
9952
|
const { currentTimePosition, currentTimeVisible } = useCurrentTimeIndicatorAgenda(currentDate, "day");
|
|
9875
9953
|
return /* @__PURE__ */ jsxs("div", { className: "contents", "data-slot": "day-view", children: [
|
|
9876
|
-
showAllDaySection && /* @__PURE__ */ jsx("div", { className: "border-border/70 border-t bg-muted/50", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[3rem_1fr] sm:grid-cols-[4rem_1fr]", children: [
|
|
9954
|
+
showAllDaySection && !allDayCell && /* @__PURE__ */ jsx("div", { className: "border-border/70 border-t bg-muted/50", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-[3rem_1fr] sm:grid-cols-[4rem_1fr]", children: [
|
|
9877
9955
|
/* @__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" }) }),
|
|
9878
9956
|
/* @__PURE__ */ jsx("div", { className: "relative border-border/70 border-r p-1 last:border-r-0", children: allDayEvents.map((event) => {
|
|
9879
9957
|
const eventStart = getEventStartDate(event);
|
|
@@ -9920,7 +9998,65 @@ function DayViewAgenda({
|
|
|
9920
9998
|
},
|
|
9921
9999
|
hour.toString()
|
|
9922
10000
|
)) }),
|
|
9923
|
-
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
10001
|
+
showAllDaySection && allDayCell ? /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
10002
|
+
/* @__PURE__ */ jsx(
|
|
10003
|
+
AllDayStack,
|
|
10004
|
+
{
|
|
10005
|
+
day: currentDate,
|
|
10006
|
+
events: allDayEvents,
|
|
10007
|
+
expandedDay,
|
|
10008
|
+
onExpand: setExpandedDay,
|
|
10009
|
+
onEventSelect: handleEventClick,
|
|
10010
|
+
noTime
|
|
10011
|
+
}
|
|
10012
|
+
),
|
|
10013
|
+
currentTimeVisible && /* @__PURE__ */ jsx(
|
|
10014
|
+
"div",
|
|
10015
|
+
{
|
|
10016
|
+
className: "pointer-events-none absolute right-0 left-0 z-20",
|
|
10017
|
+
style: { top: `${currentTimePosition}%` },
|
|
10018
|
+
children: /* @__PURE__ */ jsxs("div", { className: "relative flex items-center", children: [
|
|
10019
|
+
/* @__PURE__ */ jsx("div", { className: "-left-1 absolute h-2 w-2 rounded-full bg-primary" }),
|
|
10020
|
+
/* @__PURE__ */ jsx("div", { className: "h-[2px] w-full bg-primary" })
|
|
10021
|
+
] })
|
|
10022
|
+
}
|
|
10023
|
+
),
|
|
10024
|
+
hours.map((hour) => {
|
|
10025
|
+
const hourValue = getHours(hour);
|
|
10026
|
+
return /* @__PURE__ */ jsx(
|
|
10027
|
+
"div",
|
|
10028
|
+
{
|
|
10029
|
+
className: "relative h-[var(--week-cells-height)] border-border/70 border-b last:border-b-0",
|
|
10030
|
+
children: [0, 1, 2, 3].map((quarter) => {
|
|
10031
|
+
const quarterHourTime = hourValue + quarter * 0.25;
|
|
10032
|
+
return /* @__PURE__ */ jsx(
|
|
10033
|
+
DroppableCellAgenda,
|
|
10034
|
+
{
|
|
10035
|
+
className: cn(
|
|
10036
|
+
"absolute h-[calc(var(--week-cells-height)/4)] w-full",
|
|
10037
|
+
quarter === 0 && "top-0",
|
|
10038
|
+
quarter === 1 && "top-[calc(var(--week-cells-height)/4)]",
|
|
10039
|
+
quarter === 2 && "top-[calc(var(--week-cells-height)/4*2)]",
|
|
10040
|
+
quarter === 3 && "top-[calc(var(--week-cells-height)/4*3)]"
|
|
10041
|
+
),
|
|
10042
|
+
date: currentDate,
|
|
10043
|
+
id: `day-cell-${currentDate.toISOString()}-${quarterHourTime}`,
|
|
10044
|
+
onClick: () => {
|
|
10045
|
+
const startTime = new Date(currentDate);
|
|
10046
|
+
startTime.setHours(hourValue);
|
|
10047
|
+
startTime.setMinutes(quarter * 15);
|
|
10048
|
+
if (onEventCreate) onEventCreate(startTime);
|
|
10049
|
+
},
|
|
10050
|
+
time: quarterHourTime
|
|
10051
|
+
},
|
|
10052
|
+
`${hour.toString()}-${quarter}`
|
|
10053
|
+
);
|
|
10054
|
+
})
|
|
10055
|
+
},
|
|
10056
|
+
hour.toString()
|
|
10057
|
+
);
|
|
10058
|
+
})
|
|
10059
|
+
] }) : /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
9924
10060
|
positionedEvents.map((positionedEvent) => {
|
|
9925
10061
|
const evt = positionedEvent.event;
|
|
9926
10062
|
const eventStart = new Date(evt.start ?? evt.end ?? Date.now());
|
|
@@ -10274,7 +10410,8 @@ function EventAgenda({
|
|
|
10274
10410
|
onlyWeek,
|
|
10275
10411
|
onlyAgenda,
|
|
10276
10412
|
onlyYear,
|
|
10277
|
-
allowCellClick = true
|
|
10413
|
+
allowCellClick = true,
|
|
10414
|
+
allDayCell = false
|
|
10278
10415
|
}) {
|
|
10279
10416
|
const lockedView = onlyDay ? "day" : onlyMonth ? "month" : onlyWeek ? "week" : onlyAgenda ? "agenda" : onlyYear ? "year" : void 0;
|
|
10280
10417
|
const [currentDate, setCurrentDate] = useState(
|
|
@@ -10394,9 +10531,10 @@ function EventAgenda({
|
|
|
10394
10531
|
},
|
|
10395
10532
|
children: [
|
|
10396
10533
|
/* @__PURE__ */ jsxs(CalendarDndProviderAgenda, { onEventUpdate: handleEventUpdate, children: [
|
|
10397
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between
|
|
10398
|
-
/* @__PURE__ */
|
|
10399
|
-
|
|
10534
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 px-2 py-3 sm:flex-row sm:items-center sm:justify-between sm:px-4 sm:py-4", children: [
|
|
10535
|
+
/* @__PURE__ */ jsx("h2", { className: "font-semibold text-base sm:text-lg md:text-xl lg:text-2xl truncate", children: viewTitle }),
|
|
10536
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between sm:justify-end gap-2", children: [
|
|
10537
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
10400
10538
|
/* @__PURE__ */ jsx(
|
|
10401
10539
|
ButtonBase,
|
|
10402
10540
|
{
|
|
@@ -10418,21 +10556,18 @@ function EventAgenda({
|
|
|
10418
10556
|
}
|
|
10419
10557
|
)
|
|
10420
10558
|
] }),
|
|
10421
|
-
/* @__PURE__ */ jsx(
|
|
10422
|
-
|
|
10423
|
-
|
|
10424
|
-
|
|
10425
|
-
|
|
10426
|
-
|
|
10427
|
-
|
|
10428
|
-
|
|
10429
|
-
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
hideClear: true
|
|
10434
|
-
}
|
|
10435
|
-
) })
|
|
10559
|
+
!lockedView && /* @__PURE__ */ jsx(
|
|
10560
|
+
Select,
|
|
10561
|
+
{
|
|
10562
|
+
selected: activeView,
|
|
10563
|
+
onChange: (v) => setView(v),
|
|
10564
|
+
items: selectItems,
|
|
10565
|
+
placeholder: viewLabel(activeView),
|
|
10566
|
+
className: "min-w-24",
|
|
10567
|
+
hideClear: true
|
|
10568
|
+
}
|
|
10569
|
+
)
|
|
10570
|
+
] })
|
|
10436
10571
|
] }),
|
|
10437
10572
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col transition-all duration-200 ease-in-out", children: [
|
|
10438
10573
|
activeView === "month" && /* @__PURE__ */ jsx(
|
|
@@ -10457,6 +10592,7 @@ function EventAgenda({
|
|
|
10457
10592
|
events,
|
|
10458
10593
|
onEventSelect: handleEventSelect,
|
|
10459
10594
|
noTime,
|
|
10595
|
+
allDayCell,
|
|
10460
10596
|
onEventCreate: allowCellClick ? (d) => onEventUpdate?.({
|
|
10461
10597
|
start: d,
|
|
10462
10598
|
end: d,
|
|
@@ -10472,6 +10608,7 @@ function EventAgenda({
|
|
|
10472
10608
|
events,
|
|
10473
10609
|
onEventSelect: handleEventSelect,
|
|
10474
10610
|
noTime,
|
|
10611
|
+
allDayCell,
|
|
10475
10612
|
onEventCreate: allowCellClick ? (d) => onEventUpdate?.({
|
|
10476
10613
|
start: d,
|
|
10477
10614
|
end: d,
|
|
@@ -11178,10 +11315,12 @@ function WeekViewAgenda({
|
|
|
11178
11315
|
currentDate,
|
|
11179
11316
|
events,
|
|
11180
11317
|
onEventSelect,
|
|
11318
|
+
allDayCell = false,
|
|
11181
11319
|
onEventCreate,
|
|
11182
11320
|
showUndatedEvents,
|
|
11183
11321
|
noTime = false
|
|
11184
11322
|
}) {
|
|
11323
|
+
const [expandedDay, setExpandedDay] = useState(null);
|
|
11185
11324
|
const days = useMemo(() => {
|
|
11186
11325
|
const weekStart = startOfWeek(currentDate, { weekStartsOn: 0 });
|
|
11187
11326
|
const weekEnd = endOfWeek(currentDate, { weekStartsOn: 0 });
|
|
@@ -11228,11 +11367,6 @@ function WeekViewAgenda({
|
|
|
11228
11367
|
[allDayEvents]
|
|
11229
11368
|
);
|
|
11230
11369
|
const rowH = EventHeightAgenda + EventGapAgenda;
|
|
11231
|
-
const allDayBarData = useMemo(() => {
|
|
11232
|
-
const bars = computeMultiDayBars(trueAllDayEvents, days);
|
|
11233
|
-
const maxSlot = bars.length > 0 ? Math.max(...bars.map((b) => b.slot)) : 0;
|
|
11234
|
-
return { bars, sectionH: (maxSlot + 1) * rowH + EventGapAgenda * 2 };
|
|
11235
|
-
}, [trueAllDayEvents, days, rowH]);
|
|
11236
11370
|
const multiDayBarData = useMemo(() => {
|
|
11237
11371
|
const bars = computeMultiDayBars(multiDayTimedEvents, days);
|
|
11238
11372
|
const maxSlot = bars.length > 0 ? Math.max(...bars.map((b) => b.slot)) : 0;
|
|
@@ -11353,78 +11487,33 @@ function WeekViewAgenda({
|
|
|
11353
11487
|
))
|
|
11354
11488
|
] }),
|
|
11355
11489
|
showAllDaySection && /* @__PURE__ */ jsxs("div", { className: "border-border/70 border-b bg-muted/50", children: [
|
|
11356
|
-
trueAllDayEvents.length > 0 && /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-8", children: [
|
|
11490
|
+
trueAllDayEvents.length > 0 && !allDayCell && /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-8", children: [
|
|
11357
11491
|
/* @__PURE__ */ jsx("div", { className: "relative border-border/70 border-r flex items-center justify-center p-1", children: /* @__PURE__ */ jsx("span", { className: "text-center text-[10px] text-muted-foreground/70 sm:text-xs", children: "Todo dia" }) }),
|
|
11358
|
-
|
|
11359
|
-
|
|
11360
|
-
|
|
11361
|
-
|
|
11362
|
-
|
|
11363
|
-
|
|
11364
|
-
|
|
11365
|
-
|
|
11492
|
+
days.map((day) => {
|
|
11493
|
+
const dayEvents = trueAllDayEvents.filter((event) => {
|
|
11494
|
+
const start = getEventStartDate(event);
|
|
11495
|
+
return start ? isSameDay(day, start) : false;
|
|
11496
|
+
});
|
|
11497
|
+
return /* @__PURE__ */ jsx(
|
|
11498
|
+
"div",
|
|
11499
|
+
{
|
|
11500
|
+
className: "relative border-r last:border-r-0 border-border/70 overflow-visible py-0.5",
|
|
11501
|
+
"data-today": isToday(day) || void 0,
|
|
11502
|
+
children: /* @__PURE__ */ jsx(
|
|
11503
|
+
AllDayStack,
|
|
11366
11504
|
{
|
|
11367
|
-
|
|
11368
|
-
|
|
11369
|
-
|
|
11370
|
-
|
|
11371
|
-
|
|
11372
|
-
|
|
11373
|
-
|
|
11374
|
-
|
|
11375
|
-
|
|
11376
|
-
|
|
11377
|
-
|
|
11378
|
-
|
|
11379
|
-
slot
|
|
11380
|
-
} = bar;
|
|
11381
|
-
const showTitle = isFirstDay || !isFirstDay && colStart === 0;
|
|
11382
|
-
return /* @__PURE__ */ jsx(TooltipProviderBase, { delayDuration: 400, children: /* @__PURE__ */ jsxs(TooltipBase, { children: [
|
|
11383
|
-
/* @__PURE__ */ jsx(TooltipTriggerBase, { asChild: true, children: /* @__PURE__ */ jsx(
|
|
11384
|
-
"div",
|
|
11385
|
-
{
|
|
11386
|
-
className: "absolute px-0.5",
|
|
11387
|
-
style: {
|
|
11388
|
-
left: `calc(${colStart / 7 * 100}% + 2px)`,
|
|
11389
|
-
width: `calc(${colSpan / 7 * 100}% - 4px)`,
|
|
11390
|
-
top: EventGapAgenda + slot * rowH,
|
|
11391
|
-
height: EventHeightAgenda
|
|
11392
|
-
},
|
|
11393
|
-
children: /* @__PURE__ */ jsx(
|
|
11394
|
-
EventItemAgenda,
|
|
11395
|
-
{
|
|
11396
|
-
event,
|
|
11397
|
-
isFirstDay,
|
|
11398
|
-
isLastDay,
|
|
11399
|
-
onClick: (e) => {
|
|
11400
|
-
e.stopPropagation();
|
|
11401
|
-
handleEventClick(event, e);
|
|
11402
|
-
},
|
|
11403
|
-
view: "month",
|
|
11404
|
-
className: "h-full",
|
|
11405
|
-
children: /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1 min-w-0 w-full", children: [
|
|
11406
|
-
!isFirstDay && colStart === 0 && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-[11px] font-bold opacity-60", children: /* @__PURE__ */ jsx(CaretLeftIcon$1, {}) }),
|
|
11407
|
-
showTitle && /* @__PURE__ */ jsx("span", { className: "truncate text-xs font-medium", children: event.title }),
|
|
11408
|
-
!isLastDay && colStart + colSpan === 7 && /* @__PURE__ */ jsx("span", { className: "shrink-0 ml-auto text-[11px] font-bold opacity-60", children: /* @__PURE__ */ jsx(CaretRightIcon$1, {}) })
|
|
11409
|
-
] })
|
|
11410
|
-
}
|
|
11411
|
-
)
|
|
11412
|
-
}
|
|
11413
|
-
) }),
|
|
11414
|
-
/* @__PURE__ */ jsxs(TooltipContentBase, { side: "top", children: [
|
|
11415
|
-
/* @__PURE__ */ jsx("p", { className: "font-semibold truncate max-w-[200px]", children: event.title }),
|
|
11416
|
-
/* @__PURE__ */ jsx("p", { className: "opacity-80 mt-0.5 leading-snug", children: formatDurationAgenda(event) }),
|
|
11417
|
-
event.location && /* @__PURE__ */ jsxs("p", { className: "opacity-60 mt-0.5 truncate text-[11px] max-w-[200px] flex items-center gap-1", children: [
|
|
11418
|
-
/* @__PURE__ */ jsx(MapPinIcon$1, { size: 14 }),
|
|
11419
|
-
" ",
|
|
11420
|
-
event.location
|
|
11421
|
-
] })
|
|
11422
|
-
] })
|
|
11423
|
-
] }) }, event.id);
|
|
11424
|
-
})
|
|
11425
|
-
]
|
|
11426
|
-
}
|
|
11427
|
-
)
|
|
11505
|
+
day,
|
|
11506
|
+
events: dayEvents,
|
|
11507
|
+
expandedDay,
|
|
11508
|
+
onExpand: setExpandedDay,
|
|
11509
|
+
onEventSelect: handleEventClick,
|
|
11510
|
+
noTime
|
|
11511
|
+
}
|
|
11512
|
+
)
|
|
11513
|
+
},
|
|
11514
|
+
day.toString()
|
|
11515
|
+
);
|
|
11516
|
+
})
|
|
11428
11517
|
] }),
|
|
11429
11518
|
multiDayTimedEvents.length > 0 && /* @__PURE__ */ jsxs(
|
|
11430
11519
|
"div",
|
|
@@ -11541,6 +11630,19 @@ function WeekViewAgenda({
|
|
|
11541
11630
|
className: "relative grid auto-cols-fr border-border/70 border-r last:border-r-0",
|
|
11542
11631
|
"data-today": isToday(day) || void 0,
|
|
11543
11632
|
children: [
|
|
11633
|
+
trueAllDayEvents.length > 0 && allDayCell && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 overflow-visible", children: /* @__PURE__ */ jsx(
|
|
11634
|
+
AllDayStack,
|
|
11635
|
+
{
|
|
11636
|
+
day,
|
|
11637
|
+
events: trueAllDayEvents.filter(
|
|
11638
|
+
(event) => event.start?.toLocaleDateString() === new Date(day).toLocaleDateString()
|
|
11639
|
+
),
|
|
11640
|
+
expandedDay,
|
|
11641
|
+
onExpand: setExpandedDay,
|
|
11642
|
+
onEventSelect: handleEventClick,
|
|
11643
|
+
noTime
|
|
11644
|
+
}
|
|
11645
|
+
) }),
|
|
11544
11646
|
(processedDayEvents[dayIndex] ?? []).map((positionedEvent) => {
|
|
11545
11647
|
const timeLabel = formatDurationAgenda(positionedEvent.event);
|
|
11546
11648
|
return /* @__PURE__ */ jsx(TooltipProviderBase, { children: /* @__PURE__ */ jsxs(TooltipBase, { delayDuration: 250, children: [
|
|
@@ -20902,6 +21004,102 @@ var TagInput = React32.forwardRef(
|
|
|
20902
21004
|
}
|
|
20903
21005
|
);
|
|
20904
21006
|
TagInput.displayName = "TagInput";
|
|
21007
|
+
function MaskedInput({
|
|
21008
|
+
value,
|
|
21009
|
+
onChange,
|
|
21010
|
+
mask,
|
|
21011
|
+
label,
|
|
21012
|
+
className,
|
|
21013
|
+
error,
|
|
21014
|
+
isLoading,
|
|
21015
|
+
disabled,
|
|
21016
|
+
hideConfirm = false
|
|
21017
|
+
}) {
|
|
21018
|
+
const [internalValue, setInternalValue] = useState(value);
|
|
21019
|
+
useEffect(() => {
|
|
21020
|
+
setInternalValue(applyMask(value, mask));
|
|
21021
|
+
}, [value, mask]);
|
|
21022
|
+
const hasChanged = internalValue !== applyMask(value, mask);
|
|
21023
|
+
const handleSave = () => {
|
|
21024
|
+
if (!hasChanged || isLoading || disabled) return;
|
|
21025
|
+
onChange(internalValue.replace(/\D/g, ""));
|
|
21026
|
+
};
|
|
21027
|
+
function applyMask(value2, type) {
|
|
21028
|
+
let valueMasked = value2.replace(/\D/g, "");
|
|
21029
|
+
switch (type) {
|
|
21030
|
+
case "cpf":
|
|
21031
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21032
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21033
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d{1,2})$/, "$1-$2");
|
|
21034
|
+
return valueMasked.substring(0, 14);
|
|
21035
|
+
case "cnpj":
|
|
21036
|
+
valueMasked = valueMasked.replace(/^(\d{2})(\d)/, "$1.$2");
|
|
21037
|
+
valueMasked = valueMasked.replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3");
|
|
21038
|
+
valueMasked = valueMasked.replace(/\.(\d{3})(\d)/, ".$1/$2");
|
|
21039
|
+
valueMasked = valueMasked.replace(/(\d{4})(\d)/, "$1-$2");
|
|
21040
|
+
return valueMasked.substring(0, 18);
|
|
21041
|
+
case "cep":
|
|
21042
|
+
valueMasked = valueMasked.replace(/(\d{5})(\d)/, "$1-$2");
|
|
21043
|
+
return valueMasked.substring(0, 9);
|
|
21044
|
+
case "phone":
|
|
21045
|
+
valueMasked = valueMasked.replace(/^(\d{2})(\d)/g, "($1) $2");
|
|
21046
|
+
valueMasked = valueMasked.replace(/(\d)(\d{4})$/, "$1-$2");
|
|
21047
|
+
return valueMasked.substring(0, 15);
|
|
21048
|
+
case "rg":
|
|
21049
|
+
valueMasked = valueMasked.replace(/(\d{2})(\d)/, "$1.$2");
|
|
21050
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d)/, "$1.$2");
|
|
21051
|
+
valueMasked = valueMasked.replace(/(\d{3})(\d{1})$/, "$1-$2");
|
|
21052
|
+
return valueMasked.substring(0, 12);
|
|
21053
|
+
default:
|
|
21054
|
+
return valueMasked;
|
|
21055
|
+
}
|
|
21056
|
+
}
|
|
21057
|
+
function blurOnEnter(e) {
|
|
21058
|
+
if (e.key === "Enter") {
|
|
21059
|
+
e.currentTarget.blur();
|
|
21060
|
+
}
|
|
21061
|
+
}
|
|
21062
|
+
return /* @__PURE__ */ jsxs("div", { className: `${className} flex flex-col`, children: [
|
|
21063
|
+
label && /* @__PURE__ */ jsx(LabelBase_default, { children: label }),
|
|
21064
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-start gap-2", children: [
|
|
21065
|
+
/* @__PURE__ */ jsx(
|
|
21066
|
+
InputBase,
|
|
21067
|
+
{
|
|
21068
|
+
value: internalValue,
|
|
21069
|
+
onChange: (e) => {
|
|
21070
|
+
const masked = applyMask(e.currentTarget.value, mask);
|
|
21071
|
+
setInternalValue(masked);
|
|
21072
|
+
},
|
|
21073
|
+
onBlur: handleSave,
|
|
21074
|
+
onKeyDown: blurOnEnter,
|
|
21075
|
+
rightIcon: /* @__PURE__ */ jsx(PencilSimpleIcon, { size: 12, className: "mr-2" }),
|
|
21076
|
+
error,
|
|
21077
|
+
disabled,
|
|
21078
|
+
inputMode: "numeric"
|
|
21079
|
+
}
|
|
21080
|
+
),
|
|
21081
|
+
/* @__PURE__ */ jsx(AnimatePresence, { children: hasChanged && !hideConfirm && /* @__PURE__ */ jsx(
|
|
21082
|
+
motion.div,
|
|
21083
|
+
{
|
|
21084
|
+
initial: { opacity: 0, scale: 0.8 },
|
|
21085
|
+
animate: { opacity: 1, scale: 1 },
|
|
21086
|
+
exit: { opacity: 0, scale: 0.8 },
|
|
21087
|
+
transition: { type: "spring", stiffness: 500, damping: 30 },
|
|
21088
|
+
children: /* @__PURE__ */ jsx(
|
|
21089
|
+
ButtonBase,
|
|
21090
|
+
{
|
|
21091
|
+
onClick: handleSave,
|
|
21092
|
+
className: "h-9 w-9 bg-green-600 text-white hover:bg-green-700 rounded-md flex items-center justify-center",
|
|
21093
|
+
size: "icon",
|
|
21094
|
+
isLoading,
|
|
21095
|
+
children: /* @__PURE__ */ jsx(CheckIcon, { size: 14 })
|
|
21096
|
+
}
|
|
21097
|
+
)
|
|
21098
|
+
}
|
|
21099
|
+
) })
|
|
21100
|
+
] })
|
|
21101
|
+
] });
|
|
21102
|
+
}
|
|
20905
21103
|
function Leaderboard({
|
|
20906
21104
|
items,
|
|
20907
21105
|
order: initialOrder = "desc",
|
|
@@ -22556,23 +22754,28 @@ function useCommandPalette({
|
|
|
22556
22754
|
useEffect(() => {
|
|
22557
22755
|
stateRef.current = { activeIndex, page, flatItems, query, selectedItems };
|
|
22558
22756
|
}, [activeIndex, page, flatItems, query, selectedItems]);
|
|
22559
|
-
const executeBulkAction = useCallback(() => {
|
|
22757
|
+
const executeBulkAction = React32.useCallback(() => {
|
|
22560
22758
|
if (!onSelectMultiple || selectedItems.length === 0) return;
|
|
22561
22759
|
onSelectMultiple(selectedItems);
|
|
22562
22760
|
onOpenChange?.(false);
|
|
22563
22761
|
}, [onSelectMultiple, selectedItems, onOpenChange]);
|
|
22564
|
-
const
|
|
22762
|
+
const handleCheckboxToggle = React32.useCallback(
|
|
22763
|
+
(item) => {
|
|
22764
|
+
toggleSelection(item.id);
|
|
22765
|
+
},
|
|
22766
|
+
[toggleSelection]
|
|
22767
|
+
);
|
|
22768
|
+
const handleSelect = React32.useCallback(
|
|
22565
22769
|
(item, event) => {
|
|
22566
22770
|
if (!item) return;
|
|
22567
22771
|
if (multiSelect) {
|
|
22568
|
-
|
|
22569
|
-
if (isCmdKey) {
|
|
22772
|
+
if (event && ("ctrlKey" in event || "metaKey" in event || "shiftKey" in event) && (event.ctrlKey || event.metaKey || event.shiftKey)) {
|
|
22570
22773
|
toggleSelection(item.id);
|
|
22571
22774
|
return;
|
|
22572
22775
|
}
|
|
22573
22776
|
if (selectedItems.length > 0) {
|
|
22574
|
-
const
|
|
22575
|
-
onSelectMultiple?.(
|
|
22777
|
+
const itemsToSubmit = selectedItemIds.has(item.id) ? selectedItems : [...selectedItems, item];
|
|
22778
|
+
onSelectMultiple?.(itemsToSubmit);
|
|
22576
22779
|
onOpenChange?.(false);
|
|
22577
22780
|
return;
|
|
22578
22781
|
}
|
|
@@ -22591,12 +22794,12 @@ function useCommandPalette({
|
|
|
22591
22794
|
multiSelect,
|
|
22592
22795
|
selectedItems,
|
|
22593
22796
|
selectedItemIds,
|
|
22797
|
+
toggleSelection,
|
|
22594
22798
|
onSelectMultiple,
|
|
22595
22799
|
onOpenChange,
|
|
22596
22800
|
onRecentItemsChange,
|
|
22597
22801
|
recentItems,
|
|
22598
|
-
maxRecentItems
|
|
22599
|
-
toggleSelection
|
|
22802
|
+
maxRecentItems
|
|
22600
22803
|
]
|
|
22601
22804
|
);
|
|
22602
22805
|
useEffect(() => {
|
|
@@ -22685,6 +22888,7 @@ function useCommandPalette({
|
|
|
22685
22888
|
totalItems,
|
|
22686
22889
|
totalPages,
|
|
22687
22890
|
handleSelect,
|
|
22891
|
+
handleCheckboxToggle,
|
|
22688
22892
|
selectedItemIds,
|
|
22689
22893
|
toggleSelection,
|
|
22690
22894
|
selectedItems,
|
|
@@ -23099,4 +23303,4 @@ function CommandPalette(props) {
|
|
|
23099
23303
|
] }) });
|
|
23100
23304
|
}
|
|
23101
23305
|
|
|
23102
|
-
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush_default as Brush, ButtonBase, ButtonGroupBase, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent2 as DraggableEvent, DraggableTooltip_default as DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage_default as ErrorMessage, EventAgenda, EventCalendar, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, FilterButton, GroupLabel, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, IntegrationModal_default as IntegrationModal, Kbd, KbdGroup, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, PieChart_default as PieChartComponent, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, ProgressCirclesBase, ProgressPanelsBase, ProgressSegmentsBase, RadialMenu, RangePicker, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly_default as ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, StartHour, StartHourAgenda, StatusIndicator, SwitchBase, SystemTooltip_default as SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple_default as TooltipSimple, TooltipTriggerBase, TooltipWithTotal_default as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|
|
23306
|
+
export { AddButton, Agenda, AgendaDaysToShow, AgendaDaysToShowAgenda, AgendaView, AlertDialogActionBase, AlertDialogBase, AlertDialogCancelBase, AlertDialogContentBase, AlertDialogDescriptionBase, AlertDialogFooterBase, AlertDialogHeaderBase, AlertDialogOverlayBase, AlertDialogPortalBase, AlertDialogTitleBase, AlertDialogTriggerBase, AvatarBase, AvatarCombobox, AvatarFallbackBase, AvatarImageBase, BackButton, Badge, BreadcrumbBase, BreadcrumbEllipsisBase, BreadcrumbItemBase, BreadcrumbLinkBase, BreadcrumbListBase, BreadcrumbPageBase, BreadcrumbSeparatorBase, Brush_default as Brush, ButtonBase, ButtonGroupBase, CENTER_INDEX, CalendarBase, CalendarDndProvider, CalendarDndProviderAgenda, CardBase, CardContentBase, CardDescriptionBase, CardFooterBase, CardHeaderBase, CardTitleBase, CarouselBase, ChangeButton, Chart_default as Chart, ChartControls, ChartHeader, ChartTotalLegend_default as ChartTotalLegend, CheckButton, CheckboxBase, CheckboxTree, CircularProgress, CloseAllButton_default as CloseAllButton, CloseButton, CodeBlock, CollapsibleBase, CollapsibleContentBase, CollapsibleTriggerBase, Combobox, CommandBase, CommandDebouncedInputBase, CommandDialogBase, CommandEmptyBase, CommandGroupBase, CommandInputBase, CommandItemBase, CommandItemRow, CommandListBase, CommandPalette, CommandSeparatorBase, CommandShortcutBase, ContextMenuBase, ContextMenuCheckboxItemBase, ContextMenuContentBase, ContextMenuGroupBase, ContextMenuItemBase, ContextMenuLabelBase, ContextMenuPortalBase, ContextMenuRadioGroupBase, ContextMenuRadioItemBase, ContextMenuSeparatorBase, ContextMenuShortcutBase, ContextMenuSubBase, ContextMenuSubContentBase, ContextMenuSubTriggerBase, ContextMenuTriggerBase, ControlledCombobox, CopyButton, DateTimePicker, DayView, DayViewAgenda, DebouncedInput, DefaultEndHour, DefaultEndHourAgenda, DefaultStartHour, DefaultStartHourAgenda, DestructiveDialog, DialogBase, DialogCloseBase, DialogContentBase, DialogDescriptionBase, DialogFooterBase, DialogHeaderBase, DialogOverlayBase, DialogPortalBase, DialogTitleBase, DialogTriggerBase, DownloadButton, DraggableEvent2 as DraggableEvent, DraggableTooltip_default as DraggableTooltip, DrawerBase, DrawerCloseBase, DrawerContentBase, DrawerDescriptionBase, DrawerFooterBase, DrawerHeaderBase, DrawerOverlayBase, DrawerPortalBase, DrawerTitleBase, DrawerTriggerBase, DropDownMenuBase, DropDownMenuCheckboxItemBase, DropDownMenuContentBase, DropDownMenuGroupBase, DropDownMenuItemBase, DropDownMenuLabelBase, DropDownMenuPortalBase, DropDownMenuRadioGroupBase, DropDownMenuRadioItemBase, DropDownMenuSeparatorBase, DropDownMenuShortcutBase, DropDownMenuSubBase, DropDownMenuSubContentBase, DropDownMenuSubTriggerBase, DropDownMenuTriggerBase, DroppableCell, DroppableCellAgenda, EditButton, EndHour, EndHourAgenda, ErrorMessage_default as ErrorMessage, EventAgenda, EventCalendar, EventDetailModalAgenda, EventDialog, EventGap, EventGapAgenda, EventHeight, EventHeightAgenda, EventItem, EventItemAgenda, EventsPopup, FavoriteButton, FileAccept, FileUploader, FilterButton, GroupLabel, HideButton, Highlights_default as Highlights, HorizontalChart_default as HorizontalChart, HorizontalLegend_default as HorizontalLegend, HoverCardBase, HoverCardContentBase, HoverCardTriggerBase, ITEM_HEIGHT, InputBase, InputOTPBase, InputOTPGroupBase, InputOTPSeparatorBase, InputOTPSlotBase, IntegrationModal_default as IntegrationModal, Kbd, KbdGroup, LabelBase_default as LabelBase, Leaderboard, LikeButton, LoadingBase, LockButton, MaskedInput, ModalBase, ModalCloseBase, ModalContentBase, ModalDescriptionBase, ModalFooterBase, ModalHeaderBase, ModalOverlayBase, ModalPortalBase, ModalTitleBase, ModalTriggerBase, ModeToggleBase, MonthView, MonthViewAgenda, MoreButton, MultiCombobox, MultiDayOverlay, MultiSelect, MultiSelectBase, MultiSelectContentBase, MultiSelectGroupBase, MultiSelectItemBase, MultiSelectSeparatorBase, MultiSelectTriggerBase, MultiSelectValueBase, NavigationMenuBase, NavigationMenuContentBase, NavigationMenuIndicatorBase, NavigationMenuItemBase, NavigationMenuLinkBase, NavigationMenuListBase, NavigationMenuTriggerBase, NavigationMenuViewportBase, NoData_default as NoData, NotificationButton, NumericInput, PeriodsDropdown_default as PeriodsDropdown, PieChart_default as PieChartComponent, PopoverAnchorBase, PopoverBase, PopoverContentBase, PopoverTriggerBase, ProgressBase, ProgressCirclesBase, ProgressPanelsBase, ProgressSegmentsBase, RadialMenu, RangePicker, RefreshButton, SaveButton, ScrollAreaBase, ScrollBarBase, SearchButton, Select, SelectBase, SelectContentBase, SelectEmpty, SelectGroupBase, SelectItemBase, SelectLabelBase, SelectScrollDownButtonBase, SelectScrollUpButtonBase, SelectSeparatorBase, SelectTriggerBase, SelectValueBase, SeparatorBase, SettingsButton, SheetBase, SheetCloseBase, SheetContentBase, SheetDescriptionBase, SheetFooterBase, SheetHeaderBase, SheetOverlayBase, SheetPortalBase, SheetTitleBase, SheetTriggerBase, ShowOnly_default as ShowOnly, SidebarBase, SidebarContentBase, SidebarFooterBase, SidebarGroupActionBase, SidebarGroupBase, SidebarGroupContentBase, SidebarGroupLabelBase, SidebarHeaderBase, SidebarInputBase, SidebarInsetBase, SidebarMenuActionBase, SidebarMenuBadgeBase, SidebarMenuBase, SidebarMenuButtonBase, SidebarMenuItemBase, SidebarMenuSkeletonBase, SidebarMenuSubBase, SidebarMenuSubButtonBase, SidebarMenuSubItemBase, SidebarProviderBase, SidebarRailBase, SidebarSeparatorBase, SidebarTriggerBase, SkeletonBase, SlideBase, StartHour, StartHourAgenda, StatusIndicator, SwitchBase, SystemTooltip_default as SystemTooltip, TableBase, TableBodyBase, TableCaptionBase, TableCellBase, TableFooterBase, TableHeadBase, TableHeaderBase, TableRowBase, TabsBase, TabsContentBase, TabsListBase, TabsTriggerBase, TextAreaBase, ThemeProviderBase, TimePicker, TimePickerInput, TimeSeries_default as TimeSeries, Toaster, TooltipBase, TooltipContentBase, TooltipProviderBase, TooltipSimple_default as TooltipSimple, TooltipTriggerBase, TooltipWithTotal_default as TooltipWithTotal, UndatedEvents, UniversalTooltipRenderer, UnlockButton, UploadButton, UseSideBarBase, VISIBLE_ITEMS, ViewButton, VisibilityButton, WeekCellsHeight, WeekCellsHeightAgenda, WeekView, WeekViewAgenda, YearViewAgenda, adaptDataForTooltip, addHoursToDate, addHoursToDateAgenda, addMinutesToDateAgenda, badgeVariants, buttonVariantsBase, compactTick, computeChartWidth, computeNiceMax, computeYAxisTickWidth, convert12HourTo24Hour, createGroup, createItem, createValueFormatter, createYTickFormatter, detectDataFields, detectXAxis, display12HourValue, filterAndScore, formatDurationAgenda, formatDurationAgendaDays, formatFieldName, formatLinePercentage, generateAdditionalColors, generateColorMap, getAgendaEventsForDay, getAgendaEventsForDayAgenda, getAllEventsForDay, getAllEventsForDayAgenda, getArrowByType, getAutoColorAgenda, getBorderRadiusClasses, getBorderRadiusClassesAgenda, getDateByType, getEventColorClasses, getEventColorClassesAgenda, getEventEndDate, getEventStartDate, getEventsForDay, getEventsForDayAgenda, getItems, getMaxDataValue, getMinDataValue, getSpanningEventsForDay, getSpanningEventsForDayAgenda, getValid12Hour, getValidArrow12Hour, getValidArrowHour, getValidArrowMinuteOrSecond, getValidArrowNumber, getValidHour, getValidMinuteOrSecond, getValidNumber, isMultiDayEvent, isMultiDayEventAgenda, isValid12Hour, isValidHour, isValidMinuteOrSecond, niceCeil, normaliseGroups, normalizeAttendDate, normalizeStr, processIntegrationData, processNeo4jData, renderInsideBarLabel, pillLabelRenderer_default as renderPillLabel, resolveChartMargins, resolveContainerPaddingLeft, scoreMatch, set12Hours, setDateByType, setHours, setMinutes, setSeconds, sortEvents, sortEventsAgenda, startOfLocalDay, toast, unionGroups, useBiaxial, useCalendarDnd, useCalendarDndAgenda, useChartClick, useChartDimensions, useChartHighlights, useChartLayout, useChartMinMax, useChartTooltips, useCommandPalette, useCurrentTimeIndicator, useCurrentTimeIndicatorAgenda, useDrag, useEventVisibility, useEventVisibilityAgenda, useIsMobile, useIsTruncated, useOpenTooltipForPeriod, useProcessedData, useRecents, useSeriesOpacity, useTheme, useTimeSeriesRange, visualForItem };
|