@j3m-quantum/ui 1.3.1 → 1.5.0
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.cjs +193 -116
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -6
- package/dist/index.d.ts +29 -6
- package/dist/index.js +191 -116
- package/dist/index.js.map +1 -1
- package/dist/styles/generated/variables.css +263 -0
- package/dist/styles/index.css +165 -18
- package/package.json +5 -3
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { twMerge } from 'tailwind-merge';
|
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
8
8
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
9
9
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
10
|
-
import { SearchIcon, CheckIcon, CircleIcon, ChevronDownIcon, ChevronUpIcon, ChevronRightIcon, ChevronLeftIcon, ArrowLeft, ArrowRight, Loader2Icon, OctagonXIcon, TriangleAlertIcon, InfoIcon, CircleCheckIcon, ChevronRight, MoreHorizontal, MoreHorizontalIcon, XIcon, GripVerticalIcon, PanelLeftIcon, FolderIcon, ShareIcon, TrashIcon, ChevronsUpDownIcon, SparklesIcon, BadgeCheckIcon, CreditCardIcon, BellIcon, LogOutIcon, User, Calendar as Calendar$1, Clock, CalendarX2, ChevronLeft, List, Columns, Grid2x2, Grid3x3, CalendarRange, Plus, Info, Moon
|
|
10
|
+
import { SearchIcon, CheckIcon, CircleIcon, ChevronDownIcon, ChevronUpIcon, ChevronRightIcon, ChevronLeftIcon, ArrowLeft, ArrowRight, Loader2Icon, OctagonXIcon, TriangleAlertIcon, InfoIcon, CircleCheckIcon, ChevronRight, MoreHorizontal, MoreHorizontalIcon, XIcon, GripVerticalIcon, PanelLeftIcon, FolderIcon, ShareIcon, TrashIcon, ChevronsUpDownIcon, SparklesIcon, BadgeCheckIcon, CreditCardIcon, BellIcon, LogOutIcon, User, Calendar as Calendar$1, Clock, CalendarX2, ChevronLeft, List, Columns, Grid2x2, Grid3x3, CalendarRange, Settings, Plus, Info, Moon } from 'lucide-react';
|
|
11
11
|
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
12
12
|
import * as SwitchPrimitive from '@radix-ui/react-switch';
|
|
13
13
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
@@ -30,13 +30,13 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
|
30
30
|
import { Toaster as Toaster$1 } from 'sonner';
|
|
31
31
|
import { Command as Command$1 } from 'cmdk';
|
|
32
32
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
33
|
+
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
33
34
|
import * as MenubarPrimitive from '@radix-ui/react-menubar';
|
|
34
35
|
import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu';
|
|
35
36
|
import * as ContextMenuPrimitive from '@radix-ui/react-context-menu';
|
|
36
37
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
37
38
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
38
39
|
import * as HoverCardPrimitive from '@radix-ui/react-hover-card';
|
|
39
|
-
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
40
40
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
|
|
41
41
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
42
42
|
import { subMonths, subYears, subWeeks, subDays, addMonths, addYears, addWeeks, addDays, format, startOfWeek, endOfWeek, startOfMonth, endOfMonth, startOfYear, endOfYear, isSameMonth, isSameWeek, isSameDay, isSameYear, isWithinInterval, parseISO, differenceInMinutes, eachDayOfInterval, differenceInDays, startOfDay, setMinutes, setHours, eachHourOfInterval, endOfDay, getHours, getMinutes, addMinutes, isToday, areIntervalsOverlapping } from 'date-fns';
|
|
@@ -2172,7 +2172,7 @@ function TabsList({
|
|
|
2172
2172
|
{
|
|
2173
2173
|
"data-slot": "tabs-list",
|
|
2174
2174
|
className: cn(
|
|
2175
|
-
"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]
|
|
2175
|
+
"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",
|
|
2176
2176
|
className
|
|
2177
2177
|
),
|
|
2178
2178
|
...props
|
|
@@ -3712,6 +3712,59 @@ function DialogDescription({
|
|
|
3712
3712
|
}
|
|
3713
3713
|
);
|
|
3714
3714
|
}
|
|
3715
|
+
function ScrollArea({
|
|
3716
|
+
className,
|
|
3717
|
+
children,
|
|
3718
|
+
...props
|
|
3719
|
+
}) {
|
|
3720
|
+
return /* @__PURE__ */ jsxs(
|
|
3721
|
+
ScrollAreaPrimitive.Root,
|
|
3722
|
+
{
|
|
3723
|
+
"data-slot": "scroll-area",
|
|
3724
|
+
className: cn("relative", className),
|
|
3725
|
+
...props,
|
|
3726
|
+
children: [
|
|
3727
|
+
/* @__PURE__ */ jsx(
|
|
3728
|
+
ScrollAreaPrimitive.Viewport,
|
|
3729
|
+
{
|
|
3730
|
+
"data-slot": "scroll-area-viewport",
|
|
3731
|
+
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
3732
|
+
children
|
|
3733
|
+
}
|
|
3734
|
+
),
|
|
3735
|
+
/* @__PURE__ */ jsx(ScrollBar, {}),
|
|
3736
|
+
/* @__PURE__ */ jsx(ScrollAreaPrimitive.Corner, {})
|
|
3737
|
+
]
|
|
3738
|
+
}
|
|
3739
|
+
);
|
|
3740
|
+
}
|
|
3741
|
+
function ScrollBar({
|
|
3742
|
+
className,
|
|
3743
|
+
orientation = "vertical",
|
|
3744
|
+
...props
|
|
3745
|
+
}) {
|
|
3746
|
+
return /* @__PURE__ */ jsx(
|
|
3747
|
+
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
3748
|
+
{
|
|
3749
|
+
"data-slot": "scroll-area-scrollbar",
|
|
3750
|
+
orientation,
|
|
3751
|
+
className: cn(
|
|
3752
|
+
"flex touch-none p-px transition-colors select-none",
|
|
3753
|
+
orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent",
|
|
3754
|
+
orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
|
|
3755
|
+
className
|
|
3756
|
+
),
|
|
3757
|
+
...props,
|
|
3758
|
+
children: /* @__PURE__ */ jsx(
|
|
3759
|
+
ScrollAreaPrimitive.ScrollAreaThumb,
|
|
3760
|
+
{
|
|
3761
|
+
"data-slot": "scroll-area-thumb",
|
|
3762
|
+
className: "bg-border relative flex-1 rounded-full"
|
|
3763
|
+
}
|
|
3764
|
+
)
|
|
3765
|
+
}
|
|
3766
|
+
);
|
|
3767
|
+
}
|
|
3715
3768
|
function Command({
|
|
3716
3769
|
className,
|
|
3717
3770
|
...props
|
|
@@ -3781,17 +3834,17 @@ function CommandList({
|
|
|
3781
3834
|
className,
|
|
3782
3835
|
...props
|
|
3783
3836
|
}) {
|
|
3784
|
-
return /* @__PURE__ */ jsx(
|
|
3837
|
+
return /* @__PURE__ */ jsx(ScrollArea, { className: "max-h-[300px]", children: /* @__PURE__ */ jsx(
|
|
3785
3838
|
Command$1.List,
|
|
3786
3839
|
{
|
|
3787
3840
|
"data-slot": "command-list",
|
|
3788
3841
|
className: cn(
|
|
3789
|
-
"
|
|
3842
|
+
"scroll-py-1",
|
|
3790
3843
|
className
|
|
3791
3844
|
),
|
|
3792
3845
|
...props
|
|
3793
3846
|
}
|
|
3794
|
-
);
|
|
3847
|
+
) });
|
|
3795
3848
|
}
|
|
3796
3849
|
function CommandEmpty({
|
|
3797
3850
|
...props
|
|
@@ -4798,59 +4851,6 @@ function HoverCardContent({
|
|
|
4798
4851
|
}
|
|
4799
4852
|
) });
|
|
4800
4853
|
}
|
|
4801
|
-
function ScrollArea({
|
|
4802
|
-
className,
|
|
4803
|
-
children,
|
|
4804
|
-
...props
|
|
4805
|
-
}) {
|
|
4806
|
-
return /* @__PURE__ */ jsxs(
|
|
4807
|
-
ScrollAreaPrimitive.Root,
|
|
4808
|
-
{
|
|
4809
|
-
"data-slot": "scroll-area",
|
|
4810
|
-
className: cn("relative", className),
|
|
4811
|
-
...props,
|
|
4812
|
-
children: [
|
|
4813
|
-
/* @__PURE__ */ jsx(
|
|
4814
|
-
ScrollAreaPrimitive.Viewport,
|
|
4815
|
-
{
|
|
4816
|
-
"data-slot": "scroll-area-viewport",
|
|
4817
|
-
className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
|
|
4818
|
-
children
|
|
4819
|
-
}
|
|
4820
|
-
),
|
|
4821
|
-
/* @__PURE__ */ jsx(ScrollBar, {}),
|
|
4822
|
-
/* @__PURE__ */ jsx(ScrollAreaPrimitive.Corner, {})
|
|
4823
|
-
]
|
|
4824
|
-
}
|
|
4825
|
-
);
|
|
4826
|
-
}
|
|
4827
|
-
function ScrollBar({
|
|
4828
|
-
className,
|
|
4829
|
-
orientation = "vertical",
|
|
4830
|
-
...props
|
|
4831
|
-
}) {
|
|
4832
|
-
return /* @__PURE__ */ jsx(
|
|
4833
|
-
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
4834
|
-
{
|
|
4835
|
-
"data-slot": "scroll-area-scrollbar",
|
|
4836
|
-
orientation,
|
|
4837
|
-
className: cn(
|
|
4838
|
-
"flex touch-none p-px transition-colors select-none",
|
|
4839
|
-
orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent",
|
|
4840
|
-
orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
|
|
4841
|
-
className
|
|
4842
|
-
),
|
|
4843
|
-
...props,
|
|
4844
|
-
children: /* @__PURE__ */ jsx(
|
|
4845
|
-
ScrollAreaPrimitive.ScrollAreaThumb,
|
|
4846
|
-
{
|
|
4847
|
-
"data-slot": "scroll-area-thumb",
|
|
4848
|
-
className: "bg-border relative flex-1 rounded-full"
|
|
4849
|
-
}
|
|
4850
|
-
)
|
|
4851
|
-
}
|
|
4852
|
-
);
|
|
4853
|
-
}
|
|
4854
4854
|
function Collapsible({
|
|
4855
4855
|
...props
|
|
4856
4856
|
}) {
|
|
@@ -7911,7 +7911,9 @@ function CalendarHeader({
|
|
|
7911
7911
|
// Hidden by default, controlled via settings
|
|
7912
7912
|
showToday = true,
|
|
7913
7913
|
showAddButton = true,
|
|
7914
|
-
|
|
7914
|
+
showSettings = true,
|
|
7915
|
+
onAddClick,
|
|
7916
|
+
onSettingsClick
|
|
7915
7917
|
}) {
|
|
7916
7918
|
const {
|
|
7917
7919
|
selectedDate,
|
|
@@ -8060,9 +8062,22 @@ function CalendarHeader({
|
|
|
8060
8062
|
}
|
|
8061
8063
|
)
|
|
8062
8064
|
] }),
|
|
8063
|
-
|
|
8064
|
-
/* @__PURE__ */ jsx(
|
|
8065
|
-
|
|
8065
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
8066
|
+
showSettings && /* @__PURE__ */ jsx(
|
|
8067
|
+
Button,
|
|
8068
|
+
{
|
|
8069
|
+
variant: "outline",
|
|
8070
|
+
size: "icon",
|
|
8071
|
+
onClick: onSettingsClick,
|
|
8072
|
+
className: "shrink-0",
|
|
8073
|
+
"aria-label": "Calendar settings",
|
|
8074
|
+
children: /* @__PURE__ */ jsx(Settings, { className: "size-4" })
|
|
8075
|
+
}
|
|
8076
|
+
),
|
|
8077
|
+
showAddButton && /* @__PURE__ */ jsxs(Button, { onClick: onAddClick, className: "w-full sm:w-auto", children: [
|
|
8078
|
+
/* @__PURE__ */ jsx(Plus, {}),
|
|
8079
|
+
"Add Event"
|
|
8080
|
+
] })
|
|
8066
8081
|
] })
|
|
8067
8082
|
] })
|
|
8068
8083
|
]
|
|
@@ -8072,7 +8087,9 @@ function CalendarHeader({
|
|
|
8072
8087
|
function CalendarHeaderCompact({
|
|
8073
8088
|
className,
|
|
8074
8089
|
showAddButton = true,
|
|
8075
|
-
|
|
8090
|
+
showSettings = true,
|
|
8091
|
+
onAddClick,
|
|
8092
|
+
onSettingsClick
|
|
8076
8093
|
}) {
|
|
8077
8094
|
const {
|
|
8078
8095
|
selectedDate,
|
|
@@ -8152,7 +8169,18 @@ function CalendarHeaderCompact({
|
|
|
8152
8169
|
}
|
|
8153
8170
|
)
|
|
8154
8171
|
] }),
|
|
8155
|
-
|
|
8172
|
+
showSettings && /* @__PURE__ */ jsx(
|
|
8173
|
+
Button,
|
|
8174
|
+
{
|
|
8175
|
+
variant: "outline",
|
|
8176
|
+
size: "icon",
|
|
8177
|
+
onClick: onSettingsClick,
|
|
8178
|
+
className: "ml-2 size-8",
|
|
8179
|
+
"aria-label": "Calendar settings",
|
|
8180
|
+
children: /* @__PURE__ */ jsx(Settings, { className: "size-4" })
|
|
8181
|
+
}
|
|
8182
|
+
),
|
|
8183
|
+
showAddButton && /* @__PURE__ */ jsx(Button, { size: "sm", onClick: onAddClick, className: "size-8 p-0", children: /* @__PURE__ */ jsx(Plus, { className: "size-4" }) })
|
|
8156
8184
|
] })
|
|
8157
8185
|
]
|
|
8158
8186
|
}
|
|
@@ -8616,24 +8644,59 @@ function ChangeWorkingHoursInput() {
|
|
|
8616
8644
|
/* @__PURE__ */ jsx(Button, { className: "mt-4 w-fit", onClick: handleSave, children: "Apply" })
|
|
8617
8645
|
] });
|
|
8618
8646
|
}
|
|
8619
|
-
function
|
|
8647
|
+
function CalendarSettingsContent({
|
|
8620
8648
|
className,
|
|
8621
8649
|
showBadgeVariant = true,
|
|
8622
8650
|
showVisibleHours = true,
|
|
8623
8651
|
showWorkingHours = true
|
|
8624
8652
|
}) {
|
|
8625
|
-
return /* @__PURE__ */
|
|
8626
|
-
|
|
8627
|
-
|
|
8628
|
-
|
|
8629
|
-
|
|
8630
|
-
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
|
|
8634
|
-
|
|
8653
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-6", className), children: [
|
|
8654
|
+
showBadgeVariant && /* @__PURE__ */ jsx(ChangeBadgeVariantInput, {}),
|
|
8655
|
+
showVisibleHours && /* @__PURE__ */ jsx(ChangeVisibleHoursInput, {}),
|
|
8656
|
+
showWorkingHours && /* @__PURE__ */ jsx(ChangeWorkingHoursInput, {})
|
|
8657
|
+
] });
|
|
8658
|
+
}
|
|
8659
|
+
function CalendarSettingsDialog({
|
|
8660
|
+
open,
|
|
8661
|
+
onOpenChange,
|
|
8662
|
+
showBadgeVariant = true,
|
|
8663
|
+
showVisibleHours = true,
|
|
8664
|
+
showWorkingHours = true
|
|
8665
|
+
}) {
|
|
8666
|
+
return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs(DialogContent, { className: "max-w-md", children: [
|
|
8667
|
+
/* @__PURE__ */ jsxs(DialogHeader, { children: [
|
|
8668
|
+
/* @__PURE__ */ jsxs(DialogTitle, { className: "flex items-center gap-2", children: [
|
|
8669
|
+
/* @__PURE__ */ jsx(Settings, { className: "size-5" }),
|
|
8670
|
+
"Calendar Settings"
|
|
8671
|
+
] }),
|
|
8672
|
+
/* @__PURE__ */ jsx(DialogDescription, { children: "Customize your calendar view and preferences." })
|
|
8673
|
+
] }),
|
|
8674
|
+
/* @__PURE__ */ jsx(
|
|
8675
|
+
CalendarSettingsContent,
|
|
8676
|
+
{
|
|
8677
|
+
showBadgeVariant,
|
|
8678
|
+
showVisibleHours,
|
|
8679
|
+
showWorkingHours
|
|
8680
|
+
}
|
|
8681
|
+
)
|
|
8635
8682
|
] }) });
|
|
8636
8683
|
}
|
|
8684
|
+
function CalendarSettingsButton({
|
|
8685
|
+
onClick,
|
|
8686
|
+
className
|
|
8687
|
+
}) {
|
|
8688
|
+
return /* @__PURE__ */ jsx(
|
|
8689
|
+
Button,
|
|
8690
|
+
{
|
|
8691
|
+
variant: "outline",
|
|
8692
|
+
size: "icon",
|
|
8693
|
+
onClick,
|
|
8694
|
+
className: cn("shrink-0", className),
|
|
8695
|
+
"aria-label": "Calendar settings",
|
|
8696
|
+
children: /* @__PURE__ */ jsx(Settings, { className: "size-4" })
|
|
8697
|
+
}
|
|
8698
|
+
);
|
|
8699
|
+
}
|
|
8637
8700
|
function useMediaQuery(query) {
|
|
8638
8701
|
const [matches, setMatches] = React15.useState(false);
|
|
8639
8702
|
React15.useEffect(() => {
|
|
@@ -8689,6 +8752,7 @@ function BigCalendarInner({
|
|
|
8689
8752
|
}) {
|
|
8690
8753
|
const { view, setView } = useEventCalendar();
|
|
8691
8754
|
const [dialogOpen, setDialogOpen] = React15.useState(false);
|
|
8755
|
+
const [settingsDialogOpen, setSettingsDialogOpen] = React15.useState(false);
|
|
8692
8756
|
const [selectedEvent, setSelectedEvent] = React15.useState(null);
|
|
8693
8757
|
const [dialogMode, setDialogMode] = React15.useState("add");
|
|
8694
8758
|
const [defaultDate, setDefaultDate] = React15.useState(/* @__PURE__ */ new Date());
|
|
@@ -8700,6 +8764,9 @@ function BigCalendarInner({
|
|
|
8700
8764
|
setDefaultDate(/* @__PURE__ */ new Date());
|
|
8701
8765
|
setDialogOpen(true);
|
|
8702
8766
|
};
|
|
8767
|
+
const handleSettingsClick = () => {
|
|
8768
|
+
setSettingsDialogOpen(true);
|
|
8769
|
+
};
|
|
8703
8770
|
const handleEventClick = (event) => {
|
|
8704
8771
|
setSelectedEvent(event);
|
|
8705
8772
|
setDialogMode("edit");
|
|
@@ -8723,45 +8790,46 @@ function BigCalendarInner({
|
|
|
8723
8790
|
const Wrapper = bordered ? Card : "div";
|
|
8724
8791
|
const Content14 = bordered ? CardContent : "div";
|
|
8725
8792
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8726
|
-
/* @__PURE__ */
|
|
8727
|
-
|
|
8728
|
-
|
|
8729
|
-
|
|
8730
|
-
|
|
8731
|
-
|
|
8732
|
-
|
|
8733
|
-
|
|
8734
|
-
|
|
8735
|
-
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
|
|
8741
|
-
|
|
8742
|
-
|
|
8743
|
-
|
|
8744
|
-
|
|
8745
|
-
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
|
|
8749
|
-
|
|
8750
|
-
|
|
8751
|
-
|
|
8752
|
-
|
|
8753
|
-
|
|
8754
|
-
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
|
|
8758
|
-
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
|
-
|
|
8763
|
-
|
|
8764
|
-
|
|
8793
|
+
/* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-4 relative", className), children: /* @__PURE__ */ jsxs(
|
|
8794
|
+
Wrapper,
|
|
8795
|
+
{
|
|
8796
|
+
className: cn(
|
|
8797
|
+
"flex min-h-[600px] flex-col overflow-hidden rounded-sm",
|
|
8798
|
+
!bordered && "border border-border bg-card"
|
|
8799
|
+
),
|
|
8800
|
+
children: [
|
|
8801
|
+
showHeader && (isCompact ? /* @__PURE__ */ jsx(
|
|
8802
|
+
CalendarHeaderCompact,
|
|
8803
|
+
{
|
|
8804
|
+
showAddButton,
|
|
8805
|
+
showSettings,
|
|
8806
|
+
onAddClick: handleAddClick,
|
|
8807
|
+
onSettingsClick: handleSettingsClick
|
|
8808
|
+
}
|
|
8809
|
+
) : /* @__PURE__ */ jsx(
|
|
8810
|
+
CalendarHeader,
|
|
8811
|
+
{
|
|
8812
|
+
showAddButton,
|
|
8813
|
+
showSettings,
|
|
8814
|
+
onAddClick: handleAddClick,
|
|
8815
|
+
onSettingsClick: handleSettingsClick
|
|
8816
|
+
}
|
|
8817
|
+
)),
|
|
8818
|
+
/* @__PURE__ */ jsx(Content14, { className: cn("flex-1 overflow-hidden", bordered ? "p-0" : ""), children: /* @__PURE__ */ jsx(
|
|
8819
|
+
CalendarView,
|
|
8820
|
+
{
|
|
8821
|
+
view,
|
|
8822
|
+
weekStartsOn,
|
|
8823
|
+
maxEventsPerDay,
|
|
8824
|
+
onEventClick: handleEventClick,
|
|
8825
|
+
onDateClick: handleDateClick,
|
|
8826
|
+
onMoreClick: handleMoreClick,
|
|
8827
|
+
onTimeClick: handleTimeClick
|
|
8828
|
+
}
|
|
8829
|
+
) })
|
|
8830
|
+
]
|
|
8831
|
+
}
|
|
8832
|
+
) }),
|
|
8765
8833
|
/* @__PURE__ */ jsx(
|
|
8766
8834
|
EventDialog,
|
|
8767
8835
|
{
|
|
@@ -8771,6 +8839,13 @@ function BigCalendarInner({
|
|
|
8771
8839
|
event: selectedEvent,
|
|
8772
8840
|
defaultDate
|
|
8773
8841
|
}
|
|
8842
|
+
),
|
|
8843
|
+
showSettings && /* @__PURE__ */ jsx(
|
|
8844
|
+
CalendarSettingsDialog,
|
|
8845
|
+
{
|
|
8846
|
+
open: settingsDialogOpen,
|
|
8847
|
+
onOpenChange: setSettingsDialogOpen
|
|
8848
|
+
}
|
|
8774
8849
|
)
|
|
8775
8850
|
] });
|
|
8776
8851
|
}
|
|
@@ -8839,6 +8914,6 @@ function CalendarView({
|
|
|
8839
8914
|
}
|
|
8840
8915
|
}
|
|
8841
8916
|
|
|
8842
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgendaView, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, BADGE_VARIANT_LABELS, Badge, BigCalendar, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarContext, CalendarDayButton, CalendarHeader, CalendarHeaderCompact,
|
|
8917
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AgendaView, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, BADGE_VARIANT_LABELS, Badge, BigCalendar, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarContext, CalendarDayButton, CalendarHeader, CalendarHeaderCompact, CalendarSettingsButton, CalendarSettingsContent, CalendarSettingsDialog, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChangeBadgeVariantInput, ChangeVisibleHoursInput, ChangeWorkingHoursInput, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent2 as CollapsibleContent, CollapsibleTrigger2 as CollapsibleTrigger, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_VISIBLE_HOURS, DEFAULT_WORKING_HOURS, DateBadge, DayView, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DragContext, DragProvider, DraggableEvent, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DroppableZone, EVENT_COLORS, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, EventBadge, EventCalendarProvider, EventDialog, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, Item6 as Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label2 as Label, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, MonthView, MoreEvents, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NavMain, NavProjects, NavSecondary, NavUser, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PlayerCanvas, PlayerCanvasActionButton, PlayerCanvasControls, PlayerCanvasDivider, PlayerCanvasInfo, PlayerCanvasLabel, PlayerCanvasPlayButton, PlayerCanvasProgress, PlayerCanvasSkipButton, PlayerCanvasTitle, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, QuickAddEvent, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchForm, SearchTrigger, Section, SectionContent, SectionDescription, SectionFooter, SectionHeader, SectionTitle, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, SiteHeader, Skeleton, Slider, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeSwitch, TimeIndicator, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToolBarCanvas, ToolBarCanvasButton, ToolBarCanvasDivider, ToolBarCanvasGroup, Tooltip2 as Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, UserAvatarsDropdown, VIEW_LABELS, WeekView, YearView, badgeVariants, buttonGroupVariants, buttonVariants, calculateDropDates, calculateMonthEventPositions, cardVariants, createDefaultEvent, formatDateRange, formatTime, generateEventId, getCalendarCells, getCurrentEvents, getDayHours, getEventBlockStyle, getEventDuration, getEventDurationMinutes, getEventsCount, getEventsForDate, getEventsInRange, getHeaderLabel, getMonthCellEvents, getMonthDays, getTimeHeight, getTimePosition, getViewDateRange, getVisibleHours, getWeekDayNames, getWeekDays, getYearMonths, groupEvents, isMultiDayEvent, isWorkingHour, navigateDate, navigationMenuTriggerStyle, playerCanvasPlayButtonVariants, playerCanvasSkipButtonVariants, rangeText, sectionVariants, snapToInterval, sortEvents, splitEventsByDuration, toggleVariants, toolBarCanvasButtonVariants, useDrag, useDraggable, useDroppable, useEventCalendar, useEventsInRange, useFilteredEvents, useFormField, useIsMobile, useSearchShortcut, useSidebar };
|
|
8843
8918
|
//# sourceMappingURL=index.js.map
|
|
8844
8919
|
//# sourceMappingURL=index.js.map
|