sa2kit 3.4.0 → 3.7.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/business/index.d.mts +2 -7
- package/dist/business/index.d.ts +2 -7
- package/dist/business/index.js +1761 -8045
- package/dist/business/index.js.map +1 -1
- package/dist/business/index.mjs +1169 -7452
- package/dist/business/index.mjs.map +1 -1
- package/dist/business/portfolio/index.d.mts +1 -2
- package/dist/business/portfolio/index.d.ts +1 -2
- package/dist/{chunk-KVYHCGRY.js → chunk-7Z3XR2Y4.js} +552 -263
- package/dist/chunk-7Z3XR2Y4.js.map +1 -0
- package/dist/chunk-XPY45Y75.js +1143 -0
- package/dist/chunk-XPY45Y75.js.map +1 -0
- package/dist/{chunk-YIRPPMCN.mjs → chunk-XSTMLLJV.mjs} +474 -198
- package/dist/chunk-XSTMLLJV.mjs.map +1 -0
- package/dist/chunk-ZJLS5JU5.mjs +1090 -0
- package/dist/chunk-ZJLS5JU5.mjs.map +1 -0
- package/dist/common/aiApi/client/index.d.mts +71 -0
- package/dist/common/aiApi/client/index.d.ts +71 -0
- package/dist/common/aiApi/client/index.js +165 -0
- package/dist/common/aiApi/client/index.js.map +1 -0
- package/dist/common/aiApi/client/index.mjs +151 -0
- package/dist/common/aiApi/client/index.mjs.map +1 -0
- package/dist/common/aiApi/index.d.mts +184 -0
- package/dist/common/aiApi/index.d.ts +184 -0
- package/dist/common/aiApi/index.js +217 -0
- package/dist/common/aiApi/index.mjs +4 -0
- package/dist/common/aiApi/server/index.d.mts +3 -0
- package/dist/common/aiApi/server/index.d.ts +3 -0
- package/dist/common/aiApi/server/index.js +217 -0
- package/dist/common/aiApi/server/index.mjs +4 -0
- package/dist/common/components/index.js +176 -177
- package/dist/common/components/index.mjs +1 -2
- package/dist/common/index.js +2 -3
- package/dist/common/index.mjs +1 -2
- package/dist/{index-BSmd4ikf.d.ts → index-B4wDXFL0.d.mts} +39 -2
- package/dist/{index-r2-zE3iC.d.mts → index-B4wDXFL0.d.ts} +39 -2
- package/dist/{index-DLLPTprx.d.mts → index-B9vXYzok.d.mts} +48 -13
- package/dist/{index-VFDbZxVM.d.ts → index-BZ0MhRau.d.ts} +48 -13
- package/dist/index.d.mts +703 -181
- package/dist/index.d.ts +703 -181
- package/dist/index.js +2921 -7257
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2161 -6538
- package/dist/index.mjs.map +1 -1
- package/dist/types-CiqMQ-uu.d.mts +166 -0
- package/dist/types-CiqMQ-uu.d.ts +166 -0
- package/package.json +15 -60
- package/dist/CollisionBalls-DgKtscU2.d.mts +0 -41
- package/dist/CollisionBalls-DgKtscU2.d.ts +0 -41
- package/dist/business/calendar/index.d.mts +0 -6
- package/dist/business/calendar/index.d.ts +0 -6
- package/dist/business/calendar/index.js +0 -7433
- package/dist/business/calendar/index.js.map +0 -1
- package/dist/business/calendar/index.mjs +0 -7257
- package/dist/business/calendar/index.mjs.map +0 -1
- package/dist/business/calendar/routes/index.d.mts +0 -191
- package/dist/business/calendar/routes/index.d.ts +0 -191
- package/dist/business/calendar/routes/index.js +0 -844
- package/dist/business/calendar/routes/index.js.map +0 -1
- package/dist/business/calendar/routes/index.mjs +0 -826
- package/dist/business/calendar/routes/index.mjs.map +0 -1
- package/dist/chunk-3R6JHA6D.js +0 -120
- package/dist/chunk-3R6JHA6D.js.map +0 -1
- package/dist/chunk-4PJM4752.js +0 -4
- package/dist/chunk-4PJM4752.js.map +0 -1
- package/dist/chunk-7PMT4L4I.js +0 -324
- package/dist/chunk-7PMT4L4I.js.map +0 -1
- package/dist/chunk-FY2X3LYR.mjs +0 -3
- package/dist/chunk-FY2X3LYR.mjs.map +0 -1
- package/dist/chunk-GS4SAW25.mjs +0 -116
- package/dist/chunk-GS4SAW25.mjs.map +0 -1
- package/dist/chunk-HL4H2HF6.js +0 -279
- package/dist/chunk-HL4H2HF6.js.map +0 -1
- package/dist/chunk-IJIQUMAK.mjs +0 -272
- package/dist/chunk-IJIQUMAK.mjs.map +0 -1
- package/dist/chunk-KVYHCGRY.js.map +0 -1
- package/dist/chunk-MMDSZIXD.mjs +0 -286
- package/dist/chunk-MMDSZIXD.mjs.map +0 -1
- package/dist/chunk-N2O3OX5Y.mjs +0 -243
- package/dist/chunk-N2O3OX5Y.mjs.map +0 -1
- package/dist/chunk-RRQ2X26Z.js +0 -106
- package/dist/chunk-RRQ2X26Z.js.map +0 -1
- package/dist/chunk-RVNQI6BI.js +0 -249
- package/dist/chunk-RVNQI6BI.js.map +0 -1
- package/dist/chunk-UJUWDF7M.mjs +0 -336
- package/dist/chunk-UJUWDF7M.mjs.map +0 -1
- package/dist/chunk-VCKXK6V5.js +0 -345
- package/dist/chunk-VCKXK6V5.js.map +0 -1
- package/dist/chunk-VIEXDTNF.mjs +0 -100
- package/dist/chunk-VIEXDTNF.mjs.map +0 -1
- package/dist/chunk-YIRPPMCN.mjs.map +0 -1
- package/dist/common/ai/llm/core/index.d.mts +0 -70
- package/dist/common/ai/llm/core/index.d.ts +0 -70
- package/dist/common/ai/llm/core/index.js +0 -54
- package/dist/common/ai/llm/core/index.mjs +0 -5
- package/dist/common/ai/llm/electron/index.d.mts +0 -6
- package/dist/common/ai/llm/electron/index.d.ts +0 -6
- package/dist/common/ai/llm/electron/index.js +0 -67
- package/dist/common/ai/llm/electron/index.mjs +0 -10
- package/dist/common/ai/llm/index.d.mts +0 -3
- package/dist/common/ai/llm/index.d.ts +0 -3
- package/dist/common/ai/llm/index.js +0 -54
- package/dist/common/ai/llm/index.js.map +0 -1
- package/dist/common/ai/llm/index.mjs +0 -5
- package/dist/common/ai/llm/index.mjs.map +0 -1
- package/dist/common/ai/llm/miniapp/index.d.mts +0 -6
- package/dist/common/ai/llm/miniapp/index.d.ts +0 -6
- package/dist/common/ai/llm/miniapp/index.js +0 -59
- package/dist/common/ai/llm/miniapp/index.js.map +0 -1
- package/dist/common/ai/llm/miniapp/index.mjs +0 -6
- package/dist/common/ai/llm/miniapp/index.mjs.map +0 -1
- package/dist/common/ai/llm/rn/index.d.mts +0 -6
- package/dist/common/ai/llm/rn/index.d.ts +0 -6
- package/dist/common/ai/llm/rn/index.js +0 -59
- package/dist/common/ai/llm/rn/index.js.map +0 -1
- package/dist/common/ai/llm/rn/index.mjs +0 -6
- package/dist/common/ai/llm/rn/index.mjs.map +0 -1
- package/dist/common/ai/llm/ui/electron/index.d.mts +0 -5
- package/dist/common/ai/llm/ui/electron/index.d.ts +0 -5
- package/dist/common/ai/llm/ui/electron/index.js +0 -22
- package/dist/common/ai/llm/ui/electron/index.js.map +0 -1
- package/dist/common/ai/llm/ui/electron/index.mjs +0 -9
- package/dist/common/ai/llm/ui/electron/index.mjs.map +0 -1
- package/dist/common/ai/llm/ui/miniapp/index.d.mts +0 -9
- package/dist/common/ai/llm/ui/miniapp/index.d.ts +0 -9
- package/dist/common/ai/llm/ui/miniapp/index.js +0 -14
- package/dist/common/ai/llm/ui/miniapp/index.js.map +0 -1
- package/dist/common/ai/llm/ui/miniapp/index.mjs +0 -5
- package/dist/common/ai/llm/ui/miniapp/index.mjs.map +0 -1
- package/dist/common/ai/llm/ui/rn/index.d.mts +0 -9
- package/dist/common/ai/llm/ui/rn/index.d.ts +0 -9
- package/dist/common/ai/llm/ui/rn/index.js +0 -14
- package/dist/common/ai/llm/ui/rn/index.js.map +0 -1
- package/dist/common/ai/llm/ui/rn/index.mjs +0 -5
- package/dist/common/ai/llm/ui/rn/index.mjs.map +0 -1
- package/dist/common/ai/llm/ui/web/index.d.mts +0 -15
- package/dist/common/ai/llm/ui/web/index.d.ts +0 -15
- package/dist/common/ai/llm/ui/web/index.js +0 -21
- package/dist/common/ai/llm/ui/web/index.js.map +0 -1
- package/dist/common/ai/llm/ui/web/index.mjs +0 -8
- package/dist/common/ai/llm/ui/web/index.mjs.map +0 -1
- package/dist/common/ai/llm/web/index.d.mts +0 -6
- package/dist/common/ai/llm/web/index.d.ts +0 -6
- package/dist/common/ai/llm/web/index.js +0 -66
- package/dist/common/ai/llm/web/index.js.map +0 -1
- package/dist/common/ai/llm/web/index.mjs +0 -9
- package/dist/common/ai/llm/web/index.mjs.map +0 -1
- package/dist/index-BMgdH5dL.d.mts +0 -1716
- package/dist/index-IXMAeTtN.d.ts +0 -1716
- package/dist/types-B2rs_jq1.d.mts +0 -38
- package/dist/types-DgACCUpT.d.ts +0 -122
- package/dist/types-DwS2Eg0q.d.ts +0 -38
- package/dist/types-LU_BGSzk.d.mts +0 -122
- /package/dist/common/{ai/llm/core → aiApi}/index.js.map +0 -0
- /package/dist/common/{ai/llm/core → aiApi}/index.mjs.map +0 -0
- /package/dist/common/{ai/llm/electron → aiApi/server}/index.js.map +0 -0
- /package/dist/common/{ai/llm/electron → aiApi/server}/index.mjs.map +0 -0
|
@@ -1,1716 +0,0 @@
|
|
|
1
|
-
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import React__default from 'react';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import { B as Ball, b as CollisionBalls, C as CollisionBallsConfig, c as Timeline, T as TimelineConfig, a as TimelineItem } from './CollisionBalls-DgKtscU2.mjs';
|
|
6
|
-
import { DragStartEvent, DragOverEvent, DragEndEvent } from '@dnd-kit/core';
|
|
7
|
-
|
|
8
|
-
declare const buttonVariants: (props?: ({
|
|
9
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
10
|
-
size?: "default" | "sm" | "lg" | "icon" | null | undefined;
|
|
11
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
12
|
-
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
13
|
-
variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
|
|
14
|
-
size?: 'default' | 'sm' | 'lg' | 'icon';
|
|
15
|
-
asChild?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
18
|
-
|
|
19
|
-
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
-
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
-
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
-
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
-
|
|
26
|
-
declare const badgeVariants: (props?: ({
|
|
27
|
-
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
28
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
29
|
-
interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
30
|
-
}
|
|
31
|
-
declare function Badge({ className, variant, ...props }: BadgeProps): React.JSX.Element;
|
|
32
|
-
|
|
33
|
-
declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
34
|
-
|
|
35
|
-
declare const Label: React.ForwardRefExoticComponent<React.LabelHTMLAttributes<HTMLLabelElement> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
|
|
36
|
-
|
|
37
|
-
interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
38
|
-
value?: string;
|
|
39
|
-
defaultValue?: string;
|
|
40
|
-
onValueChange?: (value: string) => void;
|
|
41
|
-
}
|
|
42
|
-
declare const Tabs: ({ value, defaultValue, onValueChange, className, ...props }: TabsProps) => React.JSX.Element;
|
|
43
|
-
declare const TabsList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
44
|
-
interface TabsTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
45
|
-
value: string;
|
|
46
|
-
}
|
|
47
|
-
declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
48
|
-
interface TabsContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
49
|
-
value: string;
|
|
50
|
-
forceMount?: boolean;
|
|
51
|
-
}
|
|
52
|
-
declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
53
|
-
|
|
54
|
-
interface DialogProps {
|
|
55
|
-
open?: boolean;
|
|
56
|
-
defaultOpen?: boolean;
|
|
57
|
-
onOpenChange?: (open: boolean) => void;
|
|
58
|
-
children: React.ReactNode;
|
|
59
|
-
}
|
|
60
|
-
declare const Dialog: ({ open, defaultOpen, onOpenChange, children }: DialogProps) => React.JSX.Element;
|
|
61
|
-
interface TriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
62
|
-
asChild?: boolean;
|
|
63
|
-
children: React.ReactNode;
|
|
64
|
-
}
|
|
65
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
66
|
-
declare const DialogPortal: ({ children }: {
|
|
67
|
-
children: React.ReactNode;
|
|
68
|
-
}) => React.JSX.Element | null;
|
|
69
|
-
declare const DialogClose: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
70
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
71
|
-
interface DialogContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
72
|
-
onPointerDownOutside?: (event: PointerEvent) => void;
|
|
73
|
-
onEscapeKeyDown?: (event: KeyboardEvent) => void;
|
|
74
|
-
showCloseButton?: boolean;
|
|
75
|
-
overlayClassName?: string;
|
|
76
|
-
}
|
|
77
|
-
declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
78
|
-
declare const DialogHeader: {
|
|
79
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
80
|
-
displayName: string;
|
|
81
|
-
};
|
|
82
|
-
declare const DialogFooter: {
|
|
83
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
84
|
-
displayName: string;
|
|
85
|
-
};
|
|
86
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
87
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
88
|
-
|
|
89
|
-
declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
90
|
-
declare const AlertDialogAction: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
91
|
-
declare const AlertDialogCancel: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
92
|
-
|
|
93
|
-
interface DropdownMenuProps {
|
|
94
|
-
open?: boolean;
|
|
95
|
-
defaultOpen?: boolean;
|
|
96
|
-
onOpenChange?: (open: boolean) => void;
|
|
97
|
-
children: React.ReactNode;
|
|
98
|
-
}
|
|
99
|
-
declare const DropdownMenu: ({ open, defaultOpen, onOpenChange, children }: DropdownMenuProps) => React.JSX.Element;
|
|
100
|
-
declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
101
|
-
asChild?: boolean;
|
|
102
|
-
children: React.ReactNode;
|
|
103
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
104
|
-
declare const DropdownMenuGroup: ({ children }: {
|
|
105
|
-
children: React.ReactNode;
|
|
106
|
-
}) => React.JSX.Element;
|
|
107
|
-
declare const DropdownMenuPortal: ({ children }: {
|
|
108
|
-
children: React.ReactNode;
|
|
109
|
-
}) => React.JSX.Element;
|
|
110
|
-
declare const DropdownMenuSub: ({ children }: {
|
|
111
|
-
children: React.ReactNode;
|
|
112
|
-
}) => React.JSX.Element;
|
|
113
|
-
declare const DropdownMenuContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
114
|
-
sideOffset?: number;
|
|
115
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
116
|
-
type SelectEventLike = Event & {
|
|
117
|
-
preventDefault: () => void;
|
|
118
|
-
defaultPrevented: boolean;
|
|
119
|
-
};
|
|
120
|
-
declare const DropdownMenuItem: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
121
|
-
inset?: boolean;
|
|
122
|
-
onSelect?: (event: SelectEventLike) => void;
|
|
123
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
124
|
-
declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
125
|
-
checked?: boolean;
|
|
126
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
127
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
128
|
-
declare const DropdownMenuRadioGroup: ({ value, onValueChange, children, }: {
|
|
129
|
-
value?: string;
|
|
130
|
-
onValueChange?: (value: string) => void;
|
|
131
|
-
children: React.ReactNode;
|
|
132
|
-
}) => React.JSX.Element;
|
|
133
|
-
declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
134
|
-
value: string;
|
|
135
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
136
|
-
declare const DropdownMenuLabel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
137
|
-
inset?: boolean;
|
|
138
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
139
|
-
declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
140
|
-
declare const DropdownMenuShortcut: {
|
|
141
|
-
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
142
|
-
displayName: string;
|
|
143
|
-
};
|
|
144
|
-
declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
145
|
-
inset?: boolean;
|
|
146
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
147
|
-
declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
148
|
-
|
|
149
|
-
interface PopoverProps {
|
|
150
|
-
open?: boolean;
|
|
151
|
-
defaultOpen?: boolean;
|
|
152
|
-
onOpenChange?: (open: boolean) => void;
|
|
153
|
-
children: React.ReactNode;
|
|
154
|
-
}
|
|
155
|
-
declare const Popover: ({ open, defaultOpen, onOpenChange, children }: PopoverProps) => React.JSX.Element;
|
|
156
|
-
interface PopoverTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
157
|
-
asChild?: boolean;
|
|
158
|
-
children: React.ReactNode;
|
|
159
|
-
}
|
|
160
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
161
|
-
declare const PopoverAnchor: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
|
|
162
|
-
interface PopoverContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
163
|
-
align?: "start" | "center" | "end";
|
|
164
|
-
sideOffset?: number;
|
|
165
|
-
}
|
|
166
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
167
|
-
|
|
168
|
-
interface ProgressProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
169
|
-
value?: number;
|
|
170
|
-
max?: number;
|
|
171
|
-
}
|
|
172
|
-
declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
|
|
173
|
-
|
|
174
|
-
declare const ScrollArea: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
175
|
-
interface ScrollBarProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
176
|
-
orientation?: "vertical" | "horizontal";
|
|
177
|
-
}
|
|
178
|
-
declare const ScrollBar: React.ForwardRefExoticComponent<ScrollBarProps & React.RefAttributes<HTMLDivElement>>;
|
|
179
|
-
|
|
180
|
-
interface SelectProps {
|
|
181
|
-
value?: string;
|
|
182
|
-
defaultValue?: string;
|
|
183
|
-
onValueChange?: (value: string) => void;
|
|
184
|
-
open?: boolean;
|
|
185
|
-
defaultOpen?: boolean;
|
|
186
|
-
onOpenChange?: (open: boolean) => void;
|
|
187
|
-
disabled?: boolean;
|
|
188
|
-
children: React.ReactNode;
|
|
189
|
-
}
|
|
190
|
-
declare const Select: ({ value, defaultValue, onValueChange, open, defaultOpen, onOpenChange, disabled, children, }: SelectProps) => React.JSX.Element;
|
|
191
|
-
declare const SelectGroup: ({ children }: {
|
|
192
|
-
children: React.ReactNode;
|
|
193
|
-
}) => React.JSX.Element;
|
|
194
|
-
declare const SelectValue: ({ placeholder, children, }: {
|
|
195
|
-
placeholder?: React.ReactNode;
|
|
196
|
-
children?: React.ReactNode;
|
|
197
|
-
}) => React.JSX.Element | null;
|
|
198
|
-
declare const SelectTrigger: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
199
|
-
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
200
|
-
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
201
|
-
declare const SelectContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
202
|
-
position?: "item-aligned" | "popper";
|
|
203
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
204
|
-
declare const SelectLabel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
205
|
-
interface SelectItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
206
|
-
value: string;
|
|
207
|
-
}
|
|
208
|
-
declare const SelectItem: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
209
|
-
declare const SelectSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
210
|
-
|
|
211
|
-
interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
212
|
-
orientation?: "horizontal" | "vertical";
|
|
213
|
-
decorative?: boolean;
|
|
214
|
-
}
|
|
215
|
-
declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
|
|
216
|
-
|
|
217
|
-
declare const sheetVariants: (props?: ({
|
|
218
|
-
side?: "top" | "left" | "right" | "bottom" | null | undefined;
|
|
219
|
-
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
220
|
-
interface SheetContentProps extends Omit<React.ComponentPropsWithoutRef<typeof DialogContent>, "children">, VariantProps<typeof sheetVariants> {
|
|
221
|
-
children?: React.ReactNode;
|
|
222
|
-
}
|
|
223
|
-
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
224
|
-
declare const SheetHeader: {
|
|
225
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
226
|
-
displayName: string;
|
|
227
|
-
};
|
|
228
|
-
declare const SheetFooter: {
|
|
229
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
230
|
-
displayName: string;
|
|
231
|
-
};
|
|
232
|
-
declare const SheetTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
233
|
-
declare const SheetDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
234
|
-
|
|
235
|
-
declare const Textarea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
236
|
-
|
|
237
|
-
declare const TooltipProvider: ({ children, delayDuration, }: {
|
|
238
|
-
children: React.ReactNode;
|
|
239
|
-
delayDuration?: number;
|
|
240
|
-
}) => React.JSX.Element;
|
|
241
|
-
declare const Tooltip: ({ children }: {
|
|
242
|
-
children: React.ReactNode;
|
|
243
|
-
}) => React.JSX.Element;
|
|
244
|
-
declare const TooltipTrigger: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
|
|
245
|
-
asChild?: boolean;
|
|
246
|
-
children: React.ReactNode;
|
|
247
|
-
} & React.RefAttributes<HTMLSpanElement>>;
|
|
248
|
-
declare const TooltipContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
249
|
-
sideOffset?: number;
|
|
250
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
251
|
-
|
|
252
|
-
declare const Avatar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
|
|
253
|
-
declare const AvatarImage: React.ForwardRefExoticComponent<React.ImgHTMLAttributes<HTMLImageElement> & React.RefAttributes<HTMLImageElement>>;
|
|
254
|
-
declare const AvatarFallback: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
|
|
255
|
-
|
|
256
|
-
/** 基础网格项接口 */
|
|
257
|
-
interface GridItem {
|
|
258
|
-
id: string;
|
|
259
|
-
[key: string]: any;
|
|
260
|
-
}
|
|
261
|
-
/** 网格列数配置 */
|
|
262
|
-
interface GridColumns {
|
|
263
|
-
/** 小屏幕列数 (640px+) */
|
|
264
|
-
sm?: number;
|
|
265
|
-
/** 中等屏幕列数 (768px+) */
|
|
266
|
-
md?: number;
|
|
267
|
-
/** 大屏幕列数 (1024px+) */
|
|
268
|
-
lg?: number;
|
|
269
|
-
/** 超大屏幕列数 (1280px+) */
|
|
270
|
-
xl?: number;
|
|
271
|
-
}
|
|
272
|
-
/** 网格间距类型 */
|
|
273
|
-
type GridGap = 'sm' | 'md' | 'lg' | 'xl';
|
|
274
|
-
/** 通用网格组件 Props */
|
|
275
|
-
interface GridProps<T extends GridItem> {
|
|
276
|
-
/** 数据项数组 */
|
|
277
|
-
items: T[];
|
|
278
|
-
/** 渲染函数 */
|
|
279
|
-
renderItem: (item: T, index: number) => React__default.ReactNode;
|
|
280
|
-
/** 网格列数配置 */
|
|
281
|
-
columns?: GridColumns;
|
|
282
|
-
/** 间距配置 */
|
|
283
|
-
gap?: GridGap;
|
|
284
|
-
/** 额外的容器类名 */
|
|
285
|
-
className?: string;
|
|
286
|
-
/** 容器样式 */
|
|
287
|
-
style?: React__default.CSSProperties;
|
|
288
|
-
}
|
|
289
|
-
/** 通用网格组件 */
|
|
290
|
-
declare function Grid<T extends GridItem>({ items, renderItem, columns, gap, className, style }: GridProps<T>): React__default.JSX.Element;
|
|
291
|
-
|
|
292
|
-
interface SearchBoxProps {
|
|
293
|
-
searchQuery: string;
|
|
294
|
-
onSearchChange: (query: string) => void;
|
|
295
|
-
placeholder?: string;
|
|
296
|
-
size?: 'small' | 'medium' | 'large';
|
|
297
|
-
}
|
|
298
|
-
declare const SearchBox: React__default.FC<SearchBoxProps>;
|
|
299
|
-
|
|
300
|
-
interface OrderableItem {
|
|
301
|
-
id: number;
|
|
302
|
-
[key: string]: any;
|
|
303
|
-
}
|
|
304
|
-
interface OrderManagerOperations<T extends OrderableItem> {
|
|
305
|
-
loadItems: () => Promise<T[]>;
|
|
306
|
-
moveItemUp: (id: number) => Promise<void>;
|
|
307
|
-
moveItemDown: (id: number) => Promise<void>;
|
|
308
|
-
updateItemOrder: (orders: {
|
|
309
|
-
id: number;
|
|
310
|
-
order: number;
|
|
311
|
-
}[]) => Promise<void>;
|
|
312
|
-
}
|
|
313
|
-
interface GenericOrderManagerProps<T extends OrderableItem> {
|
|
314
|
-
operations: OrderManagerOperations<T>;
|
|
315
|
-
renderItem: (item: T, index: number, isFirst: boolean, isLast: boolean) => React__default.ReactNode;
|
|
316
|
-
className?: string;
|
|
317
|
-
title?: string;
|
|
318
|
-
description?: string;
|
|
319
|
-
onOrderChanged?: () => void;
|
|
320
|
-
emptyMessage?: string;
|
|
321
|
-
loadingMessage?: string;
|
|
322
|
-
}
|
|
323
|
-
declare function GenericOrderManager<T extends OrderableItem>({ operations, renderItem, className, title, description, onOrderChanged, emptyMessage, loadingMessage }: GenericOrderManagerProps<T>): React__default.JSX.Element;
|
|
324
|
-
|
|
325
|
-
interface BackButtonProps {
|
|
326
|
-
href?: string;
|
|
327
|
-
className?: string;
|
|
328
|
-
}
|
|
329
|
-
declare const BackButton: React__default.FC<BackButtonProps>;
|
|
330
|
-
|
|
331
|
-
interface FilterOption<T> {
|
|
332
|
-
value: T;
|
|
333
|
-
label: string;
|
|
334
|
-
icon: string;
|
|
335
|
-
activeColor: {
|
|
336
|
-
bg: string;
|
|
337
|
-
shadow: string;
|
|
338
|
-
};
|
|
339
|
-
count?: number;
|
|
340
|
-
showCount?: boolean;
|
|
341
|
-
}
|
|
342
|
-
interface FilterButtonGroupProps<T> {
|
|
343
|
-
label: string;
|
|
344
|
-
value: T;
|
|
345
|
-
options: FilterOption<T>[];
|
|
346
|
-
onChange: (value: T) => void;
|
|
347
|
-
className?: string;
|
|
348
|
-
}
|
|
349
|
-
declare function FilterButtonGroup<T extends string>({ label, value, options, onChange, className }: FilterButtonGroupProps<T>): React__default.JSX.Element;
|
|
350
|
-
|
|
351
|
-
interface SearchResultHintProps {
|
|
352
|
-
searchQuery: string;
|
|
353
|
-
resultCount: number;
|
|
354
|
-
className?: string;
|
|
355
|
-
}
|
|
356
|
-
declare function SearchResultHint({ searchQuery, resultCount, className }: SearchResultHintProps): React__default.JSX.Element | null;
|
|
357
|
-
|
|
358
|
-
interface ModalProps {
|
|
359
|
-
isOpen: boolean;
|
|
360
|
-
onClose: () => void;
|
|
361
|
-
title?: string;
|
|
362
|
-
width?: number | string;
|
|
363
|
-
height?: number | string;
|
|
364
|
-
className?: string;
|
|
365
|
-
maskClosable?: boolean;
|
|
366
|
-
children: React__default.ReactNode;
|
|
367
|
-
zIndex?: number;
|
|
368
|
-
overlayClassName?: string;
|
|
369
|
-
}
|
|
370
|
-
declare const Modal: React__default.FC<ModalProps>;
|
|
371
|
-
interface ConfirmModalProps {
|
|
372
|
-
isOpen: boolean;
|
|
373
|
-
onClose: () => void;
|
|
374
|
-
onConfirm: () => void;
|
|
375
|
-
title?: string;
|
|
376
|
-
message: string;
|
|
377
|
-
confirmText?: string;
|
|
378
|
-
cancelText?: string;
|
|
379
|
-
isLoading?: boolean;
|
|
380
|
-
}
|
|
381
|
-
declare const ConfirmModal: React__default.FC<ConfirmModalProps>;
|
|
382
|
-
|
|
383
|
-
interface ImageMappingItem {
|
|
384
|
-
id: string;
|
|
385
|
-
label: string;
|
|
386
|
-
}
|
|
387
|
-
type ImageMappingValue = Record<string, string>;
|
|
388
|
-
interface ImageMappingPanelProps {
|
|
389
|
-
title: string;
|
|
390
|
-
items: ImageMappingItem[];
|
|
391
|
-
value: ImageMappingValue;
|
|
392
|
-
onChange: (next: ImageMappingValue) => void;
|
|
393
|
-
className?: string;
|
|
394
|
-
uploadLabel?: string;
|
|
395
|
-
clearLabel?: string;
|
|
396
|
-
}
|
|
397
|
-
declare function ImageMappingPanel({ title, items, value, onChange, className, uploadLabel, clearLabel, }: ImageMappingPanelProps): React__default.JSX.Element;
|
|
398
|
-
|
|
399
|
-
interface LocalImageMappingPanelProps extends Omit<ImageMappingPanelProps, 'value' | 'onChange'> {
|
|
400
|
-
storageKey: string;
|
|
401
|
-
defaultValue?: ImageMappingValue;
|
|
402
|
-
onValueChange?: (next: ImageMappingValue) => void;
|
|
403
|
-
}
|
|
404
|
-
declare function LocalImageMappingPanel({ storageKey, defaultValue, onValueChange, ...panelProps }: LocalImageMappingPanelProps): React__default.JSX.Element;
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* 日历模块类型定义
|
|
408
|
-
*
|
|
409
|
-
* 定义了日历模块中使用的所有TypeScript类型,包括:
|
|
410
|
-
* - 事件相关类型
|
|
411
|
-
* - 日历视图类型
|
|
412
|
-
* - 重复规则类型
|
|
413
|
-
* - 提醒类型
|
|
414
|
-
* - API响应类型
|
|
415
|
-
* - 组件Props类型
|
|
416
|
-
*/
|
|
417
|
-
/**
|
|
418
|
-
* 日历事件
|
|
419
|
-
*/
|
|
420
|
-
interface CalendarEvent {
|
|
421
|
-
id: number;
|
|
422
|
-
title: string;
|
|
423
|
-
description?: string;
|
|
424
|
-
startTime: Date;
|
|
425
|
-
endTime: Date;
|
|
426
|
-
allDay: boolean;
|
|
427
|
-
location?: string;
|
|
428
|
-
color: string;
|
|
429
|
-
priority: EventPriority;
|
|
430
|
-
userId: number;
|
|
431
|
-
createdAt: Date;
|
|
432
|
-
updatedAt: Date;
|
|
433
|
-
recurrenceRule?: RecurrenceRule$1;
|
|
434
|
-
reminders?: Reminder[];
|
|
435
|
-
}
|
|
436
|
-
/**
|
|
437
|
-
* 重复规则
|
|
438
|
-
*/
|
|
439
|
-
interface RecurrenceRule$1 {
|
|
440
|
-
id: number;
|
|
441
|
-
eventId: number;
|
|
442
|
-
ruleType: RecurrenceType;
|
|
443
|
-
interval: number;
|
|
444
|
-
endDate?: Date;
|
|
445
|
-
count?: number;
|
|
446
|
-
byWeekday?: number[];
|
|
447
|
-
byMonthday?: number[];
|
|
448
|
-
byMonth?: number[];
|
|
449
|
-
}
|
|
450
|
-
/**
|
|
451
|
-
* 提醒
|
|
452
|
-
*/
|
|
453
|
-
interface Reminder {
|
|
454
|
-
id: number;
|
|
455
|
-
eventId: number;
|
|
456
|
-
reminderTime: Date;
|
|
457
|
-
reminderType: ReminderType;
|
|
458
|
-
status: ReminderStatus;
|
|
459
|
-
createdAt: Date;
|
|
460
|
-
}
|
|
461
|
-
/**
|
|
462
|
-
* 重复类型
|
|
463
|
-
*/
|
|
464
|
-
declare enum RecurrenceType {
|
|
465
|
-
DAILY = "daily",
|
|
466
|
-
WEEKLY = "weekly",
|
|
467
|
-
MONTHLY = "monthly",
|
|
468
|
-
YEARLY = "yearly",
|
|
469
|
-
CUSTOM = "custom"
|
|
470
|
-
}
|
|
471
|
-
/**
|
|
472
|
-
* 提醒类型
|
|
473
|
-
*/
|
|
474
|
-
declare enum ReminderType {
|
|
475
|
-
NOTIFICATION = "notification",
|
|
476
|
-
EMAIL = "email",
|
|
477
|
-
SMS = "sms"
|
|
478
|
-
}
|
|
479
|
-
/**
|
|
480
|
-
* 提醒状态
|
|
481
|
-
*/
|
|
482
|
-
declare enum ReminderStatus {
|
|
483
|
-
PENDING = "pending",
|
|
484
|
-
SENT = "sent",
|
|
485
|
-
FAILED = "failed"
|
|
486
|
-
}
|
|
487
|
-
/**
|
|
488
|
-
* 日历视图类型
|
|
489
|
-
*/
|
|
490
|
-
declare enum CalendarViewType {
|
|
491
|
-
MONTH = "month",
|
|
492
|
-
WEEK = "week",
|
|
493
|
-
DAY = "day",
|
|
494
|
-
AGENDA = "agenda"
|
|
495
|
-
}
|
|
496
|
-
/**
|
|
497
|
-
* 事件颜色预设
|
|
498
|
-
*/
|
|
499
|
-
declare enum EventColor {
|
|
500
|
-
BLUE = "#3B82F6",
|
|
501
|
-
GREEN = "#10B981",
|
|
502
|
-
PURPLE = "#8B5CF6",
|
|
503
|
-
RED = "#EF4444",
|
|
504
|
-
YELLOW = "#F59E0B",
|
|
505
|
-
PINK = "#EC4899",
|
|
506
|
-
INDIGO = "#6366F1",
|
|
507
|
-
GRAY = "#6B7280"
|
|
508
|
-
}
|
|
509
|
-
/**
|
|
510
|
-
* 事件优先级
|
|
511
|
-
*/
|
|
512
|
-
declare enum EventPriority {
|
|
513
|
-
LOW = "low",
|
|
514
|
-
NORMAL = "normal",
|
|
515
|
-
HIGH = "high",
|
|
516
|
-
URGENT = "urgent"
|
|
517
|
-
}
|
|
518
|
-
/**
|
|
519
|
-
* 事件表单数据
|
|
520
|
-
*/
|
|
521
|
-
interface EventFormData {
|
|
522
|
-
title: string;
|
|
523
|
-
description?: string;
|
|
524
|
-
startTime: Date;
|
|
525
|
-
endTime: Date;
|
|
526
|
-
allDay: boolean;
|
|
527
|
-
location?: string;
|
|
528
|
-
color: string;
|
|
529
|
-
priority: EventPriority;
|
|
530
|
-
recurrence?: RecurrenceFormData;
|
|
531
|
-
reminders?: ReminderFormData[];
|
|
532
|
-
}
|
|
533
|
-
/**
|
|
534
|
-
* 重复规则表单数据
|
|
535
|
-
*/
|
|
536
|
-
interface RecurrenceFormData {
|
|
537
|
-
ruleType: RecurrenceType;
|
|
538
|
-
interval: number;
|
|
539
|
-
endDate?: Date;
|
|
540
|
-
count?: number;
|
|
541
|
-
byWeekday?: number[];
|
|
542
|
-
byMonthday?: number[];
|
|
543
|
-
byMonth?: number[];
|
|
544
|
-
}
|
|
545
|
-
/**
|
|
546
|
-
* 提醒表单数据
|
|
547
|
-
*/
|
|
548
|
-
interface ReminderFormData {
|
|
549
|
-
reminderTime: Date;
|
|
550
|
-
reminderType: ReminderType;
|
|
551
|
-
}
|
|
552
|
-
/**
|
|
553
|
-
* API提醒数据
|
|
554
|
-
*/
|
|
555
|
-
interface ReminderApiData {
|
|
556
|
-
reminderTime: string;
|
|
557
|
-
reminderType: ReminderType;
|
|
558
|
-
}
|
|
559
|
-
/**
|
|
560
|
-
* 创建事件请求
|
|
561
|
-
*/
|
|
562
|
-
interface CreateEventRequest {
|
|
563
|
-
title: string;
|
|
564
|
-
description?: string;
|
|
565
|
-
startTime: string;
|
|
566
|
-
endTime: string;
|
|
567
|
-
allDay: boolean;
|
|
568
|
-
location?: string;
|
|
569
|
-
color: string;
|
|
570
|
-
priority: EventPriority;
|
|
571
|
-
recurrence?: RecurrenceFormData;
|
|
572
|
-
reminders?: ReminderApiData[];
|
|
573
|
-
}
|
|
574
|
-
/**
|
|
575
|
-
* 更新事件请求
|
|
576
|
-
*/
|
|
577
|
-
interface UpdateEventRequest {
|
|
578
|
-
title?: string;
|
|
579
|
-
description?: string;
|
|
580
|
-
startTime?: string;
|
|
581
|
-
endTime?: string;
|
|
582
|
-
allDay?: boolean;
|
|
583
|
-
location?: string;
|
|
584
|
-
color?: string;
|
|
585
|
-
priority?: EventPriority;
|
|
586
|
-
recurrence?: RecurrenceFormData;
|
|
587
|
-
reminders?: ReminderApiData[];
|
|
588
|
-
}
|
|
589
|
-
/**
|
|
590
|
-
* 删除事件请求
|
|
591
|
-
*/
|
|
592
|
-
interface DeleteEventRequest {
|
|
593
|
-
id: number;
|
|
594
|
-
deleteAll?: boolean;
|
|
595
|
-
}
|
|
596
|
-
/**
|
|
597
|
-
* 获取事件请求参数
|
|
598
|
-
*/
|
|
599
|
-
interface GetEventsRequest {
|
|
600
|
-
startDate: string;
|
|
601
|
-
endDate: string;
|
|
602
|
-
viewType?: CalendarViewType;
|
|
603
|
-
userId?: number;
|
|
604
|
-
}
|
|
605
|
-
/**
|
|
606
|
-
* API响应基础类型
|
|
607
|
-
*/
|
|
608
|
-
interface ApiResponse<T = any> {
|
|
609
|
-
success: boolean;
|
|
610
|
-
data?: T;
|
|
611
|
-
error?: string;
|
|
612
|
-
message?: string;
|
|
613
|
-
}
|
|
614
|
-
/**
|
|
615
|
-
* 事件列表响应
|
|
616
|
-
*/
|
|
617
|
-
interface EventsResponse extends ApiResponse<CalendarEvent[]> {
|
|
618
|
-
}
|
|
619
|
-
/**
|
|
620
|
-
* 单个事件响应
|
|
621
|
-
*/
|
|
622
|
-
interface EventResponse extends ApiResponse<CalendarEvent> {
|
|
623
|
-
}
|
|
624
|
-
/**
|
|
625
|
-
* 日历视图组件Props
|
|
626
|
-
*/
|
|
627
|
-
interface CalendarViewProps {
|
|
628
|
-
events: CalendarEvent[];
|
|
629
|
-
viewType: CalendarViewType;
|
|
630
|
-
currentDate: Date;
|
|
631
|
-
onDateChange: (date: Date) => void;
|
|
632
|
-
onViewTypeChange: (viewType: CalendarViewType) => void;
|
|
633
|
-
onEventClick: (event: CalendarEvent) => void;
|
|
634
|
-
onEventCreate: (event: EventFormData) => void;
|
|
635
|
-
onEventUpdate: (event: CalendarEvent) => void;
|
|
636
|
-
onEventDelete: (eventId: number) => void;
|
|
637
|
-
loading?: boolean;
|
|
638
|
-
className?: string;
|
|
639
|
-
}
|
|
640
|
-
/**
|
|
641
|
-
* 事件卡片组件Props
|
|
642
|
-
*/
|
|
643
|
-
interface EventCardProps {
|
|
644
|
-
event: CalendarEvent;
|
|
645
|
-
onClick?: (event: CalendarEvent) => void;
|
|
646
|
-
onEdit?: (event: CalendarEvent) => void;
|
|
647
|
-
onDelete?: (eventId: number) => void;
|
|
648
|
-
compact?: boolean;
|
|
649
|
-
className?: string;
|
|
650
|
-
}
|
|
651
|
-
/**
|
|
652
|
-
* 事件表单组件Props
|
|
653
|
-
*/
|
|
654
|
-
interface EventFormProps {
|
|
655
|
-
event?: CalendarEvent;
|
|
656
|
-
onSubmit: (eventData: EventFormData) => void;
|
|
657
|
-
onCancel: () => void;
|
|
658
|
-
loading?: boolean;
|
|
659
|
-
className?: string;
|
|
660
|
-
}
|
|
661
|
-
/**
|
|
662
|
-
* 事件弹窗组件Props
|
|
663
|
-
*/
|
|
664
|
-
interface EventModalProps {
|
|
665
|
-
isOpen: boolean;
|
|
666
|
-
event?: CalendarEvent;
|
|
667
|
-
onClose: () => void;
|
|
668
|
-
onSave: (eventData: EventFormData) => void;
|
|
669
|
-
onDelete?: (eventId: number) => void;
|
|
670
|
-
loading?: boolean;
|
|
671
|
-
}
|
|
672
|
-
/**
|
|
673
|
-
* 迷你日历组件Props
|
|
674
|
-
*/
|
|
675
|
-
interface MiniCalendarProps {
|
|
676
|
-
selectedDate: Date;
|
|
677
|
-
onDateSelect: (date: Date) => void;
|
|
678
|
-
events?: CalendarEvent[];
|
|
679
|
-
highlightDatesWithEvents?: boolean;
|
|
680
|
-
className?: string;
|
|
681
|
-
}
|
|
682
|
-
/**
|
|
683
|
-
* 日历状态
|
|
684
|
-
*/
|
|
685
|
-
interface CalendarState {
|
|
686
|
-
events: CalendarEvent[];
|
|
687
|
-
currentDate: Date;
|
|
688
|
-
viewType: CalendarViewType;
|
|
689
|
-
selectedEvent?: CalendarEvent;
|
|
690
|
-
loading: boolean;
|
|
691
|
-
error?: string;
|
|
692
|
-
}
|
|
693
|
-
/**
|
|
694
|
-
* 日历操作类型
|
|
695
|
-
*/
|
|
696
|
-
interface CalendarActions {
|
|
697
|
-
setEvents: (events: CalendarEvent[]) => void;
|
|
698
|
-
addEvent: (event: CalendarEvent) => void;
|
|
699
|
-
updateEvent: (event: CalendarEvent) => void;
|
|
700
|
-
deleteEvent: (eventId: number) => void;
|
|
701
|
-
setCurrentDate: (date: Date) => void;
|
|
702
|
-
setViewType: (viewType: CalendarViewType) => void;
|
|
703
|
-
setSelectedEvent: (event?: CalendarEvent) => void;
|
|
704
|
-
setLoading: (loading: boolean) => void;
|
|
705
|
-
setError: (error?: string) => void;
|
|
706
|
-
}
|
|
707
|
-
/**
|
|
708
|
-
* useCalendar Hook返回类型
|
|
709
|
-
*/
|
|
710
|
-
interface UseCalendarReturn {
|
|
711
|
-
state: CalendarState;
|
|
712
|
-
actions: CalendarActions;
|
|
713
|
-
loadEvents: (startDate: Date, endDate: Date) => Promise<void>;
|
|
714
|
-
createEvent: (eventData: EventFormData) => Promise<CalendarEvent>;
|
|
715
|
-
updateEvent: (eventId: number, eventData: Partial<EventFormData>) => Promise<CalendarEvent>;
|
|
716
|
-
deleteEvent: (eventId: number, deleteAll?: boolean) => Promise<void>;
|
|
717
|
-
refreshEvents: () => Promise<void>;
|
|
718
|
-
}
|
|
719
|
-
/**
|
|
720
|
-
* useEvents Hook返回类型
|
|
721
|
-
*/
|
|
722
|
-
interface UseEventsReturn$1 {
|
|
723
|
-
events: CalendarEvent[];
|
|
724
|
-
loading: boolean;
|
|
725
|
-
error?: string;
|
|
726
|
-
createEvent: (eventData: EventFormData) => Promise<CalendarEvent>;
|
|
727
|
-
updateEvent: (eventId: number, eventData: Partial<EventFormData>) => Promise<CalendarEvent>;
|
|
728
|
-
deleteEvent: (eventId: number, deleteAll?: boolean) => Promise<void>;
|
|
729
|
-
loadEvents: (startDate: Date, endDate: Date) => Promise<void>;
|
|
730
|
-
refreshEvents: () => Promise<void>;
|
|
731
|
-
}
|
|
732
|
-
/**
|
|
733
|
-
* 日期范围
|
|
734
|
-
*/
|
|
735
|
-
interface DateRange {
|
|
736
|
-
startDate: Date;
|
|
737
|
-
endDate: Date;
|
|
738
|
-
}
|
|
739
|
-
/**
|
|
740
|
-
* 日历单元格数据
|
|
741
|
-
*/
|
|
742
|
-
interface CalendarCell {
|
|
743
|
-
date: Date;
|
|
744
|
-
isCurrentMonth: boolean;
|
|
745
|
-
isToday: boolean;
|
|
746
|
-
isSelected: boolean;
|
|
747
|
-
events: CalendarEvent[];
|
|
748
|
-
}
|
|
749
|
-
/**
|
|
750
|
-
* 时间槽数据
|
|
751
|
-
*/
|
|
752
|
-
interface TimeSlot {
|
|
753
|
-
time: Date;
|
|
754
|
-
events: CalendarEvent[];
|
|
755
|
-
isWorkingHour: boolean;
|
|
756
|
-
}
|
|
757
|
-
/**
|
|
758
|
-
* 日历配置
|
|
759
|
-
*/
|
|
760
|
-
interface CalendarConfig {
|
|
761
|
-
firstDayOfWeek: number;
|
|
762
|
-
workingHours: {
|
|
763
|
-
start: string;
|
|
764
|
-
end: string;
|
|
765
|
-
};
|
|
766
|
-
timeZone: string;
|
|
767
|
-
dateFormat: string;
|
|
768
|
-
timeFormat: string;
|
|
769
|
-
defaultView: CalendarViewType;
|
|
770
|
-
defaultEventColor: string;
|
|
771
|
-
weekends: boolean;
|
|
772
|
-
eventColors: Record<string, string>;
|
|
773
|
-
}
|
|
774
|
-
/**
|
|
775
|
-
* 服务接口
|
|
776
|
-
*/
|
|
777
|
-
interface CalendarService {
|
|
778
|
-
getEvents(params: GetEventsRequest): Promise<CalendarEvent[]>;
|
|
779
|
-
createEvent(eventData: CreateEventRequest): Promise<CalendarEvent>;
|
|
780
|
-
updateEvent(eventId: number, eventData: UpdateEventRequest): Promise<CalendarEvent>;
|
|
781
|
-
deleteEvent(eventId: number, deleteAll?: boolean): Promise<void>;
|
|
782
|
-
getEvent(eventId: number): Promise<CalendarEvent>;
|
|
783
|
-
}
|
|
784
|
-
/**
|
|
785
|
-
* 数据库服务接口
|
|
786
|
-
*/
|
|
787
|
-
interface CalendarDbService {
|
|
788
|
-
getAllEvents(userId: number, startDate?: Date, endDate?: Date): Promise<CalendarEvent[]>;
|
|
789
|
-
getEventById(eventId: number): Promise<CalendarEvent | null>;
|
|
790
|
-
createEvent(eventData: Omit<CalendarEvent, 'id' | 'createdAt' | 'updatedAt'>): Promise<CalendarEvent>;
|
|
791
|
-
updateEvent(eventId: number, eventData: Partial<CalendarEvent>): Promise<CalendarEvent>;
|
|
792
|
-
deleteEvent(eventId: number): Promise<void>;
|
|
793
|
-
createRecurrenceRule(ruleData: Omit<RecurrenceRule$1, 'id'>): Promise<RecurrenceRule$1>;
|
|
794
|
-
updateRecurrenceRule(ruleId: number, ruleData: Partial<RecurrenceRule$1>): Promise<RecurrenceRule$1>;
|
|
795
|
-
deleteRecurrenceRule(ruleId: number): Promise<void>;
|
|
796
|
-
createReminder(reminderData: Omit<Reminder, 'id' | 'createdAt'>): Promise<Reminder>;
|
|
797
|
-
updateReminder(reminderId: number, reminderData: Partial<Reminder>): Promise<Reminder>;
|
|
798
|
-
deleteReminder(reminderId: number): Promise<void>;
|
|
799
|
-
}
|
|
800
|
-
/**
|
|
801
|
-
* 事件排序字段
|
|
802
|
-
*/
|
|
803
|
-
declare enum EventSortField {
|
|
804
|
-
START_TIME = "startTime",
|
|
805
|
-
TITLE = "title",
|
|
806
|
-
PRIORITY = "priority",
|
|
807
|
-
CREATED_AT = "createdAt",
|
|
808
|
-
UPDATED_AT = "updatedAt"
|
|
809
|
-
}
|
|
810
|
-
/**
|
|
811
|
-
* 排序方向
|
|
812
|
-
*/
|
|
813
|
-
declare enum SortDirection {
|
|
814
|
-
ASC = "asc",
|
|
815
|
-
DESC = "desc"
|
|
816
|
-
}
|
|
817
|
-
/**
|
|
818
|
-
* 事件列表显示模式
|
|
819
|
-
*/
|
|
820
|
-
declare enum EventListDisplayMode {
|
|
821
|
-
LIST = "list",
|
|
822
|
-
GRID = "grid"
|
|
823
|
-
}
|
|
824
|
-
/**
|
|
825
|
-
* 事件列表排序配置
|
|
826
|
-
*/
|
|
827
|
-
interface EventListSort {
|
|
828
|
-
field: EventSortField;
|
|
829
|
-
direction: SortDirection;
|
|
830
|
-
}
|
|
831
|
-
/**
|
|
832
|
-
* 事件列表过滤配置
|
|
833
|
-
*/
|
|
834
|
-
interface EventListFilter {
|
|
835
|
-
priority?: EventPriority;
|
|
836
|
-
color?: string;
|
|
837
|
-
dateRange?: DateRange;
|
|
838
|
-
searchText?: string;
|
|
839
|
-
}
|
|
840
|
-
/**
|
|
841
|
-
* 事件列表配置
|
|
842
|
-
*/
|
|
843
|
-
interface EventListConfig {
|
|
844
|
-
displayMode: EventListDisplayMode;
|
|
845
|
-
sort: EventListSort;
|
|
846
|
-
filter: EventListFilter;
|
|
847
|
-
pageSize: number;
|
|
848
|
-
currentPage: number;
|
|
849
|
-
}
|
|
850
|
-
/**
|
|
851
|
-
* 事件列表Props
|
|
852
|
-
*/
|
|
853
|
-
interface EventListProps {
|
|
854
|
-
events: CalendarEvent[];
|
|
855
|
-
config: EventListConfig;
|
|
856
|
-
onConfigChange: (config: EventListConfig) => void;
|
|
857
|
-
onEventClick: (event: CalendarEvent) => void;
|
|
858
|
-
onEventEdit: (event: CalendarEvent) => void;
|
|
859
|
-
onEventDelete: (eventId: number) => void;
|
|
860
|
-
onBatchDelete?: (eventIds: number[]) => Promise<void>;
|
|
861
|
-
enableBatchActions?: boolean;
|
|
862
|
-
loading?: boolean;
|
|
863
|
-
className?: string;
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
interface UseEventsReturn {
|
|
867
|
-
events: CalendarEvent[];
|
|
868
|
-
loading: boolean;
|
|
869
|
-
error?: string;
|
|
870
|
-
createEvent: (eventData: EventFormData) => Promise<CalendarEvent>;
|
|
871
|
-
updateEvent: (eventId: number, eventData: Partial<EventFormData>) => Promise<CalendarEvent>;
|
|
872
|
-
deleteEvent: (eventId: number, deleteAll?: boolean) => Promise<void>;
|
|
873
|
-
batchDeleteEvents: (eventIds: number[]) => Promise<void>;
|
|
874
|
-
fetchEvents: (startDate: Date, endDate: Date) => Promise<void>;
|
|
875
|
-
clearError: () => void;
|
|
876
|
-
}
|
|
877
|
-
/**
|
|
878
|
-
* 事件管理 Hook
|
|
879
|
-
*
|
|
880
|
-
* 提供事件的状态管理和CRUD操作
|
|
881
|
-
*/
|
|
882
|
-
declare function useEvents(): UseEventsReturn;
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* 事件类型服务
|
|
886
|
-
*
|
|
887
|
-
* 负责处理不同类型事件的创建逻辑:
|
|
888
|
-
* 1. 单次事件 (Single Event)
|
|
889
|
-
* 2. 多天事件 (Multi-day Event)
|
|
890
|
-
* 3. 重复事件 (Recurring Event)
|
|
891
|
-
*/
|
|
892
|
-
declare enum EventType {
|
|
893
|
-
SINGLE = "single",// 单次事件
|
|
894
|
-
MULTI_DAY = "multi_day",// 多天事件(跨越多个日期的单个事件)
|
|
895
|
-
RECURRING = "recurring"
|
|
896
|
-
}
|
|
897
|
-
declare enum RecurrencePattern {
|
|
898
|
-
DAILY = "daily",
|
|
899
|
-
WEEKLY = "weekly",
|
|
900
|
-
MONTHLY = "monthly",
|
|
901
|
-
YEARLY = "yearly",
|
|
902
|
-
CUSTOM = "custom"
|
|
903
|
-
}
|
|
904
|
-
interface BaseEventData {
|
|
905
|
-
title: string;
|
|
906
|
-
description?: string;
|
|
907
|
-
location?: string;
|
|
908
|
-
color: string;
|
|
909
|
-
priority: string;
|
|
910
|
-
allDay: boolean;
|
|
911
|
-
}
|
|
912
|
-
interface SingleEventData extends BaseEventData {
|
|
913
|
-
type: EventType.SINGLE;
|
|
914
|
-
startTime: Date;
|
|
915
|
-
endTime: Date;
|
|
916
|
-
}
|
|
917
|
-
interface MultiDayEventData extends BaseEventData {
|
|
918
|
-
type: EventType.MULTI_DAY;
|
|
919
|
-
startDate: Date;
|
|
920
|
-
endDate: Date;
|
|
921
|
-
startTime?: string;
|
|
922
|
-
endTime?: string;
|
|
923
|
-
}
|
|
924
|
-
interface RecurringEventData extends BaseEventData {
|
|
925
|
-
type: EventType.RECURRING;
|
|
926
|
-
startDate: Date;
|
|
927
|
-
startTime: Date;
|
|
928
|
-
endTime: Date;
|
|
929
|
-
recurrence: {
|
|
930
|
-
pattern: RecurrencePattern;
|
|
931
|
-
interval: number;
|
|
932
|
-
endDate?: Date;
|
|
933
|
-
count?: number;
|
|
934
|
-
daysOfWeek?: number[];
|
|
935
|
-
};
|
|
936
|
-
}
|
|
937
|
-
type EventData = SingleEventData | MultiDayEventData | RecurringEventData;
|
|
938
|
-
interface GeneratedEvent {
|
|
939
|
-
title: string;
|
|
940
|
-
description?: string;
|
|
941
|
-
startTime: Date;
|
|
942
|
-
endTime: Date;
|
|
943
|
-
location?: string;
|
|
944
|
-
color: string;
|
|
945
|
-
priority: string;
|
|
946
|
-
allDay: boolean;
|
|
947
|
-
eventType: EventType;
|
|
948
|
-
parentEventId?: string;
|
|
949
|
-
instanceDate?: string;
|
|
950
|
-
isMultiDayPart?: boolean;
|
|
951
|
-
isRecurringInstance?: boolean;
|
|
952
|
-
}
|
|
953
|
-
declare class EventTypeService {
|
|
954
|
-
/**
|
|
955
|
-
* 根据事件数据生成实际的事件实例
|
|
956
|
-
*/
|
|
957
|
-
static generateEventInstances(eventData: EventData, viewStartDate: Date, viewEndDate: Date, parentEventId?: string): GeneratedEvent[];
|
|
958
|
-
/**
|
|
959
|
-
* 生成单次事件
|
|
960
|
-
*/
|
|
961
|
-
private static generateSingleEvent;
|
|
962
|
-
/**
|
|
963
|
-
* 生成多天事件实例
|
|
964
|
-
* 例:21-23号的会议 -> 创建3个事件实例,每个代表一天
|
|
965
|
-
*/
|
|
966
|
-
private static generateMultiDayEvents;
|
|
967
|
-
/**
|
|
968
|
-
* 生成重复事件实例
|
|
969
|
-
*/
|
|
970
|
-
private static generateRecurringEvents;
|
|
971
|
-
/**
|
|
972
|
-
* 计算下一次重复的日期
|
|
973
|
-
*/
|
|
974
|
-
private static getNextRecurrenceDate;
|
|
975
|
-
/**
|
|
976
|
-
* 格式化日期为字符串 (YYYY-MM-DD)
|
|
977
|
-
*/
|
|
978
|
-
private static formatDateString;
|
|
979
|
-
/**
|
|
980
|
-
* 验证事件数据
|
|
981
|
-
*/
|
|
982
|
-
static validateEventData(eventData: EventData): string[];
|
|
983
|
-
private static validateSingleEvent;
|
|
984
|
-
private static validateMultiDayEvent;
|
|
985
|
-
private static validateRecurringEvent;
|
|
986
|
-
/**
|
|
987
|
-
* 获取事件类型的描述文本
|
|
988
|
-
*/
|
|
989
|
-
static getEventTypeDescription(eventData: EventData): string;
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
interface UseEnhancedEventsReturn {
|
|
993
|
-
events: CalendarEvent[];
|
|
994
|
-
loading: boolean;
|
|
995
|
-
error?: string;
|
|
996
|
-
createEvent: (eventData: EventFormData) => Promise<CalendarEvent>;
|
|
997
|
-
createEnhancedEvent: (eventData: EventData) => Promise<CalendarEvent[]>;
|
|
998
|
-
updateEvent: (eventId: number, eventData: Partial<EventFormData>) => Promise<CalendarEvent>;
|
|
999
|
-
updateEventTime: (eventId: number, newStartTime: Date, newEndTime: Date) => Promise<void>;
|
|
1000
|
-
deleteEvent: (eventId: number, deleteAll?: boolean) => Promise<void>;
|
|
1001
|
-
batchDeleteEvents: (eventIds: number[]) => Promise<void>;
|
|
1002
|
-
fetchEvents: (startDate: Date, endDate: Date) => Promise<void>;
|
|
1003
|
-
clearError: () => void;
|
|
1004
|
-
}
|
|
1005
|
-
/**
|
|
1006
|
-
* 增强版事件管理 Hook
|
|
1007
|
-
*
|
|
1008
|
-
* 支持新的事件类型系统:单次事件、多天事件、重复事件
|
|
1009
|
-
*/
|
|
1010
|
-
declare function useEnhancedEvents(): UseEnhancedEventsReturn;
|
|
1011
|
-
|
|
1012
|
-
interface DragState {
|
|
1013
|
-
isDragging: boolean;
|
|
1014
|
-
draggedEvent: CalendarEvent | null;
|
|
1015
|
-
dragOverDate: Date | null;
|
|
1016
|
-
previewTime: string | null;
|
|
1017
|
-
}
|
|
1018
|
-
interface UseEventDragReturn {
|
|
1019
|
-
dragState: DragState;
|
|
1020
|
-
handleDragStart: (event: DragStartEvent) => void;
|
|
1021
|
-
handleDragOver: (event: DragOverEvent) => void;
|
|
1022
|
-
handleDragEnd: (event: DragEndEvent) => void;
|
|
1023
|
-
resetDragState: () => void;
|
|
1024
|
-
}
|
|
1025
|
-
/**
|
|
1026
|
-
* 事件拖拽Hook
|
|
1027
|
-
*
|
|
1028
|
-
* 提供事件拖拽功能,支持:
|
|
1029
|
-
* - 拖拽事件到不同日期
|
|
1030
|
-
* - 拖拽时显示预览信息
|
|
1031
|
-
* - 拖拽状态管理
|
|
1032
|
-
*/
|
|
1033
|
-
declare function useEventDrag(events: CalendarEvent[], onEventUpdate: (eventId: number, newStartTime: Date, newEndTime: Date) => Promise<void>): UseEventDragReturn;
|
|
1034
|
-
|
|
1035
|
-
/**
|
|
1036
|
-
* 日历导出服务
|
|
1037
|
-
*
|
|
1038
|
-
* 提供日历事件的导出功能,支持多种格式:
|
|
1039
|
-
* - iCal (.ics) 格式
|
|
1040
|
-
* - JSON 格式
|
|
1041
|
-
* - CSV 格式
|
|
1042
|
-
*/
|
|
1043
|
-
|
|
1044
|
-
interface ExportOptions {
|
|
1045
|
-
format: 'ical' | 'json' | 'csv';
|
|
1046
|
-
dateRange?: {
|
|
1047
|
-
start: Date;
|
|
1048
|
-
end: Date;
|
|
1049
|
-
};
|
|
1050
|
-
includeCompleted?: boolean;
|
|
1051
|
-
}
|
|
1052
|
-
declare class CalendarExportService {
|
|
1053
|
-
/**
|
|
1054
|
-
* 导出事件到指定格式
|
|
1055
|
-
*/
|
|
1056
|
-
static exportEvents(events: CalendarEvent[], options: ExportOptions): Promise<string>;
|
|
1057
|
-
/**
|
|
1058
|
-
* 导出为 iCal (.ics) 格式
|
|
1059
|
-
*/
|
|
1060
|
-
private static exportToICal;
|
|
1061
|
-
/**
|
|
1062
|
-
* 导出为 JSON 格式
|
|
1063
|
-
*/
|
|
1064
|
-
private static exportToJSON;
|
|
1065
|
-
/**
|
|
1066
|
-
* 导出为 CSV 格式
|
|
1067
|
-
*/
|
|
1068
|
-
private static exportToCSV;
|
|
1069
|
-
/**
|
|
1070
|
-
* 下载导出的文件
|
|
1071
|
-
*/
|
|
1072
|
-
static downloadFile(content: string, filename: string, mimeType: string): void;
|
|
1073
|
-
/**
|
|
1074
|
-
* 获导出方法的便捷函数
|
|
1075
|
-
*/
|
|
1076
|
-
static exportAndDownload(events: CalendarEvent[], options: ExportOptions, filename?: string): Promise<void>;
|
|
1077
|
-
/**
|
|
1078
|
-
* 格式化日期时间为 iCal 格式
|
|
1079
|
-
*/
|
|
1080
|
-
private static formatDateTimeToICal;
|
|
1081
|
-
/**
|
|
1082
|
-
* 转义 iCal 文本
|
|
1083
|
-
*/
|
|
1084
|
-
private static escapeICalText;
|
|
1085
|
-
/**
|
|
1086
|
-
* 转义 CSV 字段
|
|
1087
|
-
*/
|
|
1088
|
-
private static escapeCSVField;
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
/**
|
|
1092
|
-
* 日历导入服务
|
|
1093
|
-
*
|
|
1094
|
-
* 提供日历事件的导入功能,支持多种格式:
|
|
1095
|
-
* - iCal (.ics) 格式
|
|
1096
|
-
* - JSON 格式
|
|
1097
|
-
* - CSV 格式
|
|
1098
|
-
*/
|
|
1099
|
-
|
|
1100
|
-
interface ImportOptions {
|
|
1101
|
-
format: 'ical' | 'json' | 'csv';
|
|
1102
|
-
overwriteExisting?: boolean;
|
|
1103
|
-
validateEvents?: boolean;
|
|
1104
|
-
}
|
|
1105
|
-
interface ImportResult {
|
|
1106
|
-
success: boolean;
|
|
1107
|
-
importedCount: number;
|
|
1108
|
-
errors: string[];
|
|
1109
|
-
events: CreateEventRequest[];
|
|
1110
|
-
}
|
|
1111
|
-
declare class CalendarImportService {
|
|
1112
|
-
/**
|
|
1113
|
-
* 从文件导入事件
|
|
1114
|
-
*/
|
|
1115
|
-
static importFromFile(file: File, options: ImportOptions): Promise<ImportResult>;
|
|
1116
|
-
/**
|
|
1117
|
-
* 从内容字符串导入事件
|
|
1118
|
-
*/
|
|
1119
|
-
static importFromContent(content: string, options: ImportOptions): Promise<ImportResult>;
|
|
1120
|
-
/**
|
|
1121
|
-
* 读取文件内容
|
|
1122
|
-
*/
|
|
1123
|
-
private static readFileContent;
|
|
1124
|
-
/**
|
|
1125
|
-
* 解析 iCal 内容
|
|
1126
|
-
*/
|
|
1127
|
-
private static parseICalContent;
|
|
1128
|
-
/**
|
|
1129
|
-
* 解析 JSON 内容
|
|
1130
|
-
*/
|
|
1131
|
-
private static parseJSONContent;
|
|
1132
|
-
/**
|
|
1133
|
-
* 解析 CSV 内容
|
|
1134
|
-
*/
|
|
1135
|
-
private static parseCSVContent;
|
|
1136
|
-
/**
|
|
1137
|
-
* 解析 CSV 行
|
|
1138
|
-
*/
|
|
1139
|
-
private static parseCSVLine;
|
|
1140
|
-
/**
|
|
1141
|
-
* 验证和过滤事件
|
|
1142
|
-
*/
|
|
1143
|
-
private static validateAndFilterEvents;
|
|
1144
|
-
/**
|
|
1145
|
-
* 解析 iCal 日期时间
|
|
1146
|
-
*/
|
|
1147
|
-
private static parseICalDateTime;
|
|
1148
|
-
/**
|
|
1149
|
-
* 反转义 iCal 文本
|
|
1150
|
-
*/
|
|
1151
|
-
private static unescapeICalText;
|
|
1152
|
-
/**
|
|
1153
|
-
* 映射 iCal 优先级
|
|
1154
|
-
*/
|
|
1155
|
-
private static mapICalPriority;
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
interface RecurrenceRule {
|
|
1159
|
-
type: 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
1160
|
-
interval: number;
|
|
1161
|
-
endDate?: string;
|
|
1162
|
-
count?: number;
|
|
1163
|
-
daysOfWeek?: number[];
|
|
1164
|
-
dayOfMonth?: number;
|
|
1165
|
-
weekOfMonth?: number;
|
|
1166
|
-
}
|
|
1167
|
-
interface RecurringEventInstance {
|
|
1168
|
-
startTime: string;
|
|
1169
|
-
endTime: string;
|
|
1170
|
-
title: string;
|
|
1171
|
-
description?: string;
|
|
1172
|
-
location?: string;
|
|
1173
|
-
color?: string;
|
|
1174
|
-
priority?: string;
|
|
1175
|
-
allDay: boolean;
|
|
1176
|
-
isRecurringInstance: boolean;
|
|
1177
|
-
recurrenceId?: string;
|
|
1178
|
-
instanceDate: string;
|
|
1179
|
-
}
|
|
1180
|
-
declare class RecurrenceService {
|
|
1181
|
-
/**
|
|
1182
|
-
* 根据重复规则生成事件实例
|
|
1183
|
-
*/
|
|
1184
|
-
static generateRecurringInstances(baseEvent: {
|
|
1185
|
-
title: string;
|
|
1186
|
-
description?: string;
|
|
1187
|
-
startTime: string;
|
|
1188
|
-
endTime: string;
|
|
1189
|
-
location?: string;
|
|
1190
|
-
color?: string;
|
|
1191
|
-
priority?: string;
|
|
1192
|
-
allDay: boolean;
|
|
1193
|
-
}, rule: RecurrenceRule, startDate: Date, endDate: Date, eventId?: string): RecurringEventInstance[];
|
|
1194
|
-
/**
|
|
1195
|
-
* 判断是否应该在指定日期生成实例
|
|
1196
|
-
*/
|
|
1197
|
-
private static shouldGenerateInstance;
|
|
1198
|
-
/**
|
|
1199
|
-
* 获取下一个重复事件的日期
|
|
1200
|
-
*/
|
|
1201
|
-
private static getNextOccurrence;
|
|
1202
|
-
/**
|
|
1203
|
-
* 验证重复规则
|
|
1204
|
-
*/
|
|
1205
|
-
static validateRecurrenceRule(rule: RecurrenceRule): string[];
|
|
1206
|
-
/**
|
|
1207
|
-
* 将表单数据转换为重复规则
|
|
1208
|
-
*/
|
|
1209
|
-
static formDataToRecurrenceRule(formData: {
|
|
1210
|
-
recurrenceType?: 'daily' | 'weekly' | 'monthly' | 'yearly';
|
|
1211
|
-
recurrenceInterval?: number;
|
|
1212
|
-
recurrenceEndDate?: string;
|
|
1213
|
-
recurrenceCount?: number;
|
|
1214
|
-
}): RecurrenceRule | null;
|
|
1215
|
-
/**
|
|
1216
|
-
* 描述重复规则的文本
|
|
1217
|
-
*/
|
|
1218
|
-
static describeRecurrenceRule(rule: RecurrenceRule): string;
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
interface ReminderConfig {
|
|
1222
|
-
minutes: number;
|
|
1223
|
-
type: 'browser' | 'email' | 'sms' | 'sound';
|
|
1224
|
-
enabled: boolean;
|
|
1225
|
-
}
|
|
1226
|
-
interface ScheduledReminder {
|
|
1227
|
-
id: string;
|
|
1228
|
-
eventId: number;
|
|
1229
|
-
eventTitle: string;
|
|
1230
|
-
reminderTime: Date;
|
|
1231
|
-
config: ReminderConfig;
|
|
1232
|
-
status: 'pending' | 'sent' | 'failed';
|
|
1233
|
-
}
|
|
1234
|
-
declare class ReminderService {
|
|
1235
|
-
private static reminders;
|
|
1236
|
-
private static notificationPermission;
|
|
1237
|
-
/**
|
|
1238
|
-
* 初始化提醒服务
|
|
1239
|
-
*/
|
|
1240
|
-
static initialize(): Promise<void>;
|
|
1241
|
-
/**
|
|
1242
|
-
* 为事件创建提醒
|
|
1243
|
-
*/
|
|
1244
|
-
static createReminder(event: CalendarEvent, reminderMinutes: number, reminderType?: 'browser' | 'email' | 'sms' | 'sound'): string;
|
|
1245
|
-
/**
|
|
1246
|
-
* 删除提醒
|
|
1247
|
-
*/
|
|
1248
|
-
static deleteReminder(reminderId: string): boolean;
|
|
1249
|
-
/**
|
|
1250
|
-
* 删除事件的所有提醒
|
|
1251
|
-
*/
|
|
1252
|
-
static deleteEventReminders(eventId: number): void;
|
|
1253
|
-
/**
|
|
1254
|
-
* 检查并触发到期的提醒
|
|
1255
|
-
*/
|
|
1256
|
-
private static checkPendingReminders;
|
|
1257
|
-
/**
|
|
1258
|
-
* 触发提醒
|
|
1259
|
-
*/
|
|
1260
|
-
private static triggerReminder;
|
|
1261
|
-
/**
|
|
1262
|
-
* 发送浏览器通知
|
|
1263
|
-
*/
|
|
1264
|
-
private static sendBrowserNotification;
|
|
1265
|
-
/**
|
|
1266
|
-
* 发送邮件提醒
|
|
1267
|
-
*/
|
|
1268
|
-
private static sendEmailReminder;
|
|
1269
|
-
/**
|
|
1270
|
-
* 发送短信提醒
|
|
1271
|
-
*/
|
|
1272
|
-
private static sendSmsReminder;
|
|
1273
|
-
/**
|
|
1274
|
-
* 播放声音提醒
|
|
1275
|
-
*/
|
|
1276
|
-
private static playSoundReminder;
|
|
1277
|
-
/**
|
|
1278
|
-
* 显示视觉提醒
|
|
1279
|
-
*/
|
|
1280
|
-
private static showVisualAlert;
|
|
1281
|
-
/**
|
|
1282
|
-
* 获取时间描述文本
|
|
1283
|
-
*/
|
|
1284
|
-
private static getTimeText;
|
|
1285
|
-
/**
|
|
1286
|
-
* 获取所有提醒
|
|
1287
|
-
*/
|
|
1288
|
-
static getAllReminders(): ScheduledReminder[];
|
|
1289
|
-
/**
|
|
1290
|
-
* 获取事件的提醒
|
|
1291
|
-
*/
|
|
1292
|
-
static getEventReminders(eventId: number): ScheduledReminder[];
|
|
1293
|
-
/**
|
|
1294
|
-
* 智能推荐提醒时间
|
|
1295
|
-
*/
|
|
1296
|
-
static getSmartReminderSuggestions(event: CalendarEvent): number[];
|
|
1297
|
-
/**
|
|
1298
|
-
* 批量创建智能提醒
|
|
1299
|
-
*/
|
|
1300
|
-
static createSmartReminders(event: CalendarEvent): string[];
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
/**
|
|
1304
|
-
* 日历日期工具函数
|
|
1305
|
-
*
|
|
1306
|
-
* 提供日历模块中常用的日期处理功能,包括:
|
|
1307
|
-
* - 日期格式化
|
|
1308
|
-
* - 日期计算
|
|
1309
|
-
* - 日历视图相关的日期逻辑
|
|
1310
|
-
* - 重复事件计算
|
|
1311
|
-
*/
|
|
1312
|
-
/**
|
|
1313
|
-
* 格式化日期为 YYYY-MM-DD 格式
|
|
1314
|
-
* 使用本地时区,避免时区转换问题
|
|
1315
|
-
*/
|
|
1316
|
-
declare function formatDate(date: Date): string;
|
|
1317
|
-
/**
|
|
1318
|
-
* 格式化时间为 HH:mm 格式
|
|
1319
|
-
*/
|
|
1320
|
-
declare function formatTime(date: Date): string;
|
|
1321
|
-
/**
|
|
1322
|
-
* 格式化日期时间为本地字符串
|
|
1323
|
-
*/
|
|
1324
|
-
declare function formatDateTime(date: Date, options?: Intl.DateTimeFormatOptions): string;
|
|
1325
|
-
/**
|
|
1326
|
-
* 将日期时间转换为ISO字符串,但保持本地时区
|
|
1327
|
-
* 避免时区转换导致的日期偏移问题
|
|
1328
|
-
*/
|
|
1329
|
-
declare function toLocalISOString(date: Date): string;
|
|
1330
|
-
/**
|
|
1331
|
-
* 获取月份的第一天
|
|
1332
|
-
*/
|
|
1333
|
-
declare function getMonthStart(date: Date): Date;
|
|
1334
|
-
/**
|
|
1335
|
-
* 获取月份的最后一天
|
|
1336
|
-
*/
|
|
1337
|
-
declare function getMonthEnd(date: Date): Date;
|
|
1338
|
-
/**
|
|
1339
|
-
* 获取周的第一天(基于指定的一周开始日)
|
|
1340
|
-
*/
|
|
1341
|
-
declare function getWeekStart(date: Date, firstDayOfWeek?: number): Date;
|
|
1342
|
-
/**
|
|
1343
|
-
* 获取周的最后一天
|
|
1344
|
-
*/
|
|
1345
|
-
declare function getWeekEnd(date: Date, firstDayOfWeek?: number): Date;
|
|
1346
|
-
/**
|
|
1347
|
-
* 获取当天的开始时间
|
|
1348
|
-
*/
|
|
1349
|
-
declare function getDayStart(date: Date): Date;
|
|
1350
|
-
/**
|
|
1351
|
-
* 获取当天的结束时间
|
|
1352
|
-
*/
|
|
1353
|
-
declare function getDayEnd(date: Date): Date;
|
|
1354
|
-
/**
|
|
1355
|
-
* 检查两个日期是否在同一天
|
|
1356
|
-
*/
|
|
1357
|
-
declare function isSameDay(date1: Date, date2: Date): boolean;
|
|
1358
|
-
/**
|
|
1359
|
-
* 检查两个日期是否在同一周
|
|
1360
|
-
*/
|
|
1361
|
-
declare function isSameWeek(date1: Date, date2: Date, firstDayOfWeek?: number): boolean;
|
|
1362
|
-
/**
|
|
1363
|
-
* 检查两个日期是否在同一月
|
|
1364
|
-
*/
|
|
1365
|
-
declare function isSameMonth(date1: Date, date2: Date): boolean;
|
|
1366
|
-
/**
|
|
1367
|
-
* 检查日期是否是今天
|
|
1368
|
-
*/
|
|
1369
|
-
declare function isToday(date: Date): boolean;
|
|
1370
|
-
/**
|
|
1371
|
-
* 检查日期是否是周末
|
|
1372
|
-
*/
|
|
1373
|
-
declare function isWeekend(date: Date): boolean;
|
|
1374
|
-
/**
|
|
1375
|
-
* 添加天数
|
|
1376
|
-
*/
|
|
1377
|
-
declare function addDays(date: Date, days: number): Date;
|
|
1378
|
-
/**
|
|
1379
|
-
* 添加周数
|
|
1380
|
-
*/
|
|
1381
|
-
declare function addWeeks(date: Date, weeks: number): Date;
|
|
1382
|
-
/**
|
|
1383
|
-
* 添加月数
|
|
1384
|
-
*/
|
|
1385
|
-
declare function addMonths(date: Date, months: number): Date;
|
|
1386
|
-
/**
|
|
1387
|
-
* 添加年数
|
|
1388
|
-
*/
|
|
1389
|
-
declare function addYears(date: Date, years: number): Date;
|
|
1390
|
-
/**
|
|
1391
|
-
* 获取月视图的日期网格
|
|
1392
|
-
*/
|
|
1393
|
-
declare function getMonthViewDates(date: Date, firstDayOfWeek?: number): Date[];
|
|
1394
|
-
/**
|
|
1395
|
-
* 获取周视图的日期
|
|
1396
|
-
*/
|
|
1397
|
-
declare function getWeekViewDates(date: Date, firstDayOfWeek?: number): Date[];
|
|
1398
|
-
/**
|
|
1399
|
-
* 生成时间槽(用于日视图和周视图)
|
|
1400
|
-
*/
|
|
1401
|
-
declare function generateTimeSlots(startHour?: number, endHour?: number, interval?: number): Date[];
|
|
1402
|
-
/**
|
|
1403
|
-
* 解析日期字符串为Date对象
|
|
1404
|
-
*/
|
|
1405
|
-
declare function parseDate(dateString: string): Date;
|
|
1406
|
-
/**
|
|
1407
|
-
* 获取两个日期之间的天数差
|
|
1408
|
-
*/
|
|
1409
|
-
declare function getDaysDifference(date1: Date, date2: Date): number;
|
|
1410
|
-
/**
|
|
1411
|
-
* 检查时间是否在工作时间内
|
|
1412
|
-
*/
|
|
1413
|
-
declare function isWorkingHour(date: Date, workingStart?: string, workingEnd?: string): boolean;
|
|
1414
|
-
/**
|
|
1415
|
-
* 获取月份名称
|
|
1416
|
-
*/
|
|
1417
|
-
declare function getMonthName(date: Date, locale?: string): string;
|
|
1418
|
-
/**
|
|
1419
|
-
* 获取星期名称
|
|
1420
|
-
*/
|
|
1421
|
-
declare function getWeekdayName(date: Date, locale?: string, format?: 'long' | 'short' | 'narrow'): string;
|
|
1422
|
-
/**
|
|
1423
|
-
* 获取相对时间描述(如"2小时前"、"明天")
|
|
1424
|
-
*/
|
|
1425
|
-
declare function getRelativeTime(date: Date, locale?: string): string;
|
|
1426
|
-
/**
|
|
1427
|
-
* 验证日期是否有效
|
|
1428
|
-
*/
|
|
1429
|
-
declare function isValidDate(date: any): date is Date;
|
|
1430
|
-
/**
|
|
1431
|
-
* 克隆日期对象
|
|
1432
|
-
*/
|
|
1433
|
-
declare function cloneDate(date: Date): Date;
|
|
1434
|
-
|
|
1435
|
-
/**
|
|
1436
|
-
* 检测是否为移动端设备
|
|
1437
|
-
*/
|
|
1438
|
-
declare const isMobileDevice: () => boolean;
|
|
1439
|
-
/**
|
|
1440
|
-
* 检测是否支持拖拽
|
|
1441
|
-
*/
|
|
1442
|
-
declare const isDragSupported: () => boolean;
|
|
1443
|
-
declare const useDeviceType: () => {
|
|
1444
|
-
isMobile: boolean;
|
|
1445
|
-
dragSupported: boolean;
|
|
1446
|
-
};
|
|
1447
|
-
|
|
1448
|
-
declare const CALENDAR_MODULE_VERSION = "1.0.0";
|
|
1449
|
-
declare const CALENDAR_MODULE_NAME = "sa2kit/calendar";
|
|
1450
|
-
|
|
1451
|
-
interface CalendarPageProps {
|
|
1452
|
-
/** 当前登录用户信息 */
|
|
1453
|
-
user?: {
|
|
1454
|
-
id: number;
|
|
1455
|
-
name?: string;
|
|
1456
|
-
[key: string]: any;
|
|
1457
|
-
} | null;
|
|
1458
|
-
/** 是否已认证 */
|
|
1459
|
-
isAuthenticated?: boolean;
|
|
1460
|
-
/** 触发登录的回调 */
|
|
1461
|
-
onShowLogin?: () => void;
|
|
1462
|
-
/** 自定义页头操作区域(例如用户菜单) */
|
|
1463
|
-
headerActions?: React__default.ReactNode;
|
|
1464
|
-
}
|
|
1465
|
-
/**
|
|
1466
|
-
* 基础日历页面组件
|
|
1467
|
-
*
|
|
1468
|
-
* 这是一个简化版本的日历页面,用于在实验田中展示基本功能
|
|
1469
|
-
* 包含了基本的月历视图和事件显示
|
|
1470
|
-
*/
|
|
1471
|
-
declare function CalendarPage({ user, isAuthenticated, onShowLogin, headerActions }: CalendarPageProps): React__default.JSX.Element;
|
|
1472
|
-
|
|
1473
|
-
interface EventDetailPageProps {
|
|
1474
|
-
eventId: number;
|
|
1475
|
-
onBack?: () => void;
|
|
1476
|
-
onEdit?: (event: CalendarEvent) => void;
|
|
1477
|
-
onDelete?: (eventId: number) => void;
|
|
1478
|
-
}
|
|
1479
|
-
declare const EventDetailPage: React__default.FC<EventDetailPageProps>;
|
|
1480
|
-
|
|
1481
|
-
declare const index_AlertDialogAction: typeof AlertDialogAction;
|
|
1482
|
-
declare const index_AlertDialogCancel: typeof AlertDialogCancel;
|
|
1483
|
-
declare const index_AlertDialogContent: typeof AlertDialogContent;
|
|
1484
|
-
type index_ApiResponse<T = any> = ApiResponse<T>;
|
|
1485
|
-
declare const index_Avatar: typeof Avatar;
|
|
1486
|
-
declare const index_AvatarFallback: typeof AvatarFallback;
|
|
1487
|
-
declare const index_AvatarImage: typeof AvatarImage;
|
|
1488
|
-
declare const index_BackButton: typeof BackButton;
|
|
1489
|
-
type index_BackButtonProps = BackButtonProps;
|
|
1490
|
-
declare const index_Badge: typeof Badge;
|
|
1491
|
-
type index_BadgeProps = BadgeProps;
|
|
1492
|
-
declare const index_Ball: typeof Ball;
|
|
1493
|
-
type index_BaseEventData = BaseEventData;
|
|
1494
|
-
declare const index_Button: typeof Button;
|
|
1495
|
-
type index_ButtonProps = ButtonProps;
|
|
1496
|
-
declare const index_CALENDAR_MODULE_NAME: typeof CALENDAR_MODULE_NAME;
|
|
1497
|
-
declare const index_CALENDAR_MODULE_VERSION: typeof CALENDAR_MODULE_VERSION;
|
|
1498
|
-
type index_CalendarActions = CalendarActions;
|
|
1499
|
-
type index_CalendarCell = CalendarCell;
|
|
1500
|
-
type index_CalendarConfig = CalendarConfig;
|
|
1501
|
-
type index_CalendarDbService = CalendarDbService;
|
|
1502
|
-
type index_CalendarEvent = CalendarEvent;
|
|
1503
|
-
type index_CalendarExportService = CalendarExportService;
|
|
1504
|
-
declare const index_CalendarExportService: typeof CalendarExportService;
|
|
1505
|
-
type index_CalendarImportService = CalendarImportService;
|
|
1506
|
-
declare const index_CalendarImportService: typeof CalendarImportService;
|
|
1507
|
-
declare const index_CalendarPage: typeof CalendarPage;
|
|
1508
|
-
type index_CalendarService = CalendarService;
|
|
1509
|
-
type index_CalendarState = CalendarState;
|
|
1510
|
-
type index_CalendarViewProps = CalendarViewProps;
|
|
1511
|
-
type index_CalendarViewType = CalendarViewType;
|
|
1512
|
-
declare const index_CalendarViewType: typeof CalendarViewType;
|
|
1513
|
-
declare const index_Card: typeof Card;
|
|
1514
|
-
declare const index_CardContent: typeof CardContent;
|
|
1515
|
-
declare const index_CardDescription: typeof CardDescription;
|
|
1516
|
-
declare const index_CardFooter: typeof CardFooter;
|
|
1517
|
-
declare const index_CardHeader: typeof CardHeader;
|
|
1518
|
-
declare const index_CardTitle: typeof CardTitle;
|
|
1519
|
-
declare const index_CollisionBalls: typeof CollisionBalls;
|
|
1520
|
-
declare const index_CollisionBallsConfig: typeof CollisionBallsConfig;
|
|
1521
|
-
declare const index_ConfirmModal: typeof ConfirmModal;
|
|
1522
|
-
type index_ConfirmModalProps = ConfirmModalProps;
|
|
1523
|
-
type index_CreateEventRequest = CreateEventRequest;
|
|
1524
|
-
type index_DateRange = DateRange;
|
|
1525
|
-
type index_DeleteEventRequest = DeleteEventRequest;
|
|
1526
|
-
declare const index_Dialog: typeof Dialog;
|
|
1527
|
-
declare const index_DialogClose: typeof DialogClose;
|
|
1528
|
-
declare const index_DialogContent: typeof DialogContent;
|
|
1529
|
-
type index_DialogContentProps = DialogContentProps;
|
|
1530
|
-
declare const index_DialogDescription: typeof DialogDescription;
|
|
1531
|
-
declare const index_DialogFooter: typeof DialogFooter;
|
|
1532
|
-
declare const index_DialogHeader: typeof DialogHeader;
|
|
1533
|
-
declare const index_DialogOverlay: typeof DialogOverlay;
|
|
1534
|
-
declare const index_DialogPortal: typeof DialogPortal;
|
|
1535
|
-
declare const index_DialogTitle: typeof DialogTitle;
|
|
1536
|
-
declare const index_DialogTrigger: typeof DialogTrigger;
|
|
1537
|
-
type index_DragState = DragState;
|
|
1538
|
-
declare const index_DropdownMenu: typeof DropdownMenu;
|
|
1539
|
-
declare const index_DropdownMenuCheckboxItem: typeof DropdownMenuCheckboxItem;
|
|
1540
|
-
declare const index_DropdownMenuContent: typeof DropdownMenuContent;
|
|
1541
|
-
declare const index_DropdownMenuGroup: typeof DropdownMenuGroup;
|
|
1542
|
-
declare const index_DropdownMenuItem: typeof DropdownMenuItem;
|
|
1543
|
-
declare const index_DropdownMenuLabel: typeof DropdownMenuLabel;
|
|
1544
|
-
declare const index_DropdownMenuPortal: typeof DropdownMenuPortal;
|
|
1545
|
-
declare const index_DropdownMenuRadioGroup: typeof DropdownMenuRadioGroup;
|
|
1546
|
-
declare const index_DropdownMenuRadioItem: typeof DropdownMenuRadioItem;
|
|
1547
|
-
declare const index_DropdownMenuSeparator: typeof DropdownMenuSeparator;
|
|
1548
|
-
declare const index_DropdownMenuShortcut: typeof DropdownMenuShortcut;
|
|
1549
|
-
declare const index_DropdownMenuSub: typeof DropdownMenuSub;
|
|
1550
|
-
declare const index_DropdownMenuSubContent: typeof DropdownMenuSubContent;
|
|
1551
|
-
declare const index_DropdownMenuSubTrigger: typeof DropdownMenuSubTrigger;
|
|
1552
|
-
declare const index_DropdownMenuTrigger: typeof DropdownMenuTrigger;
|
|
1553
|
-
type index_EventCardProps = EventCardProps;
|
|
1554
|
-
type index_EventColor = EventColor;
|
|
1555
|
-
declare const index_EventColor: typeof EventColor;
|
|
1556
|
-
type index_EventData = EventData;
|
|
1557
|
-
declare const index_EventDetailPage: typeof EventDetailPage;
|
|
1558
|
-
type index_EventFormData = EventFormData;
|
|
1559
|
-
type index_EventFormProps = EventFormProps;
|
|
1560
|
-
type index_EventListConfig = EventListConfig;
|
|
1561
|
-
type index_EventListDisplayMode = EventListDisplayMode;
|
|
1562
|
-
declare const index_EventListDisplayMode: typeof EventListDisplayMode;
|
|
1563
|
-
type index_EventListFilter = EventListFilter;
|
|
1564
|
-
type index_EventListProps = EventListProps;
|
|
1565
|
-
type index_EventListSort = EventListSort;
|
|
1566
|
-
type index_EventModalProps = EventModalProps;
|
|
1567
|
-
type index_EventPriority = EventPriority;
|
|
1568
|
-
declare const index_EventPriority: typeof EventPriority;
|
|
1569
|
-
type index_EventResponse = EventResponse;
|
|
1570
|
-
type index_EventSortField = EventSortField;
|
|
1571
|
-
declare const index_EventSortField: typeof EventSortField;
|
|
1572
|
-
type index_EventType = EventType;
|
|
1573
|
-
declare const index_EventType: typeof EventType;
|
|
1574
|
-
type index_EventTypeService = EventTypeService;
|
|
1575
|
-
declare const index_EventTypeService: typeof EventTypeService;
|
|
1576
|
-
type index_EventsResponse = EventsResponse;
|
|
1577
|
-
type index_ExportOptions = ExportOptions;
|
|
1578
|
-
declare const index_FilterButtonGroup: typeof FilterButtonGroup;
|
|
1579
|
-
type index_FilterButtonGroupProps<T> = FilterButtonGroupProps<T>;
|
|
1580
|
-
type index_FilterOption<T> = FilterOption<T>;
|
|
1581
|
-
type index_GeneratedEvent = GeneratedEvent;
|
|
1582
|
-
declare const index_GenericOrderManager: typeof GenericOrderManager;
|
|
1583
|
-
type index_GenericOrderManagerProps<T extends OrderableItem> = GenericOrderManagerProps<T>;
|
|
1584
|
-
type index_GetEventsRequest = GetEventsRequest;
|
|
1585
|
-
declare const index_Grid: typeof Grid;
|
|
1586
|
-
type index_GridColumns = GridColumns;
|
|
1587
|
-
type index_GridGap = GridGap;
|
|
1588
|
-
type index_GridItem = GridItem;
|
|
1589
|
-
type index_GridProps<T extends GridItem> = GridProps<T>;
|
|
1590
|
-
type index_ImageMappingItem = ImageMappingItem;
|
|
1591
|
-
declare const index_ImageMappingPanel: typeof ImageMappingPanel;
|
|
1592
|
-
type index_ImageMappingPanelProps = ImageMappingPanelProps;
|
|
1593
|
-
type index_ImageMappingValue = ImageMappingValue;
|
|
1594
|
-
type index_ImportOptions = ImportOptions;
|
|
1595
|
-
type index_ImportResult = ImportResult;
|
|
1596
|
-
declare const index_Input: typeof Input;
|
|
1597
|
-
declare const index_Label: typeof Label;
|
|
1598
|
-
declare const index_LocalImageMappingPanel: typeof LocalImageMappingPanel;
|
|
1599
|
-
type index_LocalImageMappingPanelProps = LocalImageMappingPanelProps;
|
|
1600
|
-
type index_MiniCalendarProps = MiniCalendarProps;
|
|
1601
|
-
declare const index_Modal: typeof Modal;
|
|
1602
|
-
type index_ModalProps = ModalProps;
|
|
1603
|
-
type index_MultiDayEventData = MultiDayEventData;
|
|
1604
|
-
type index_OrderManagerOperations<T extends OrderableItem> = OrderManagerOperations<T>;
|
|
1605
|
-
type index_OrderableItem = OrderableItem;
|
|
1606
|
-
declare const index_Popover: typeof Popover;
|
|
1607
|
-
declare const index_PopoverAnchor: typeof PopoverAnchor;
|
|
1608
|
-
declare const index_PopoverContent: typeof PopoverContent;
|
|
1609
|
-
declare const index_PopoverTrigger: typeof PopoverTrigger;
|
|
1610
|
-
declare const index_Progress: typeof Progress;
|
|
1611
|
-
type index_ProgressProps = ProgressProps;
|
|
1612
|
-
type index_RecurrenceFormData = RecurrenceFormData;
|
|
1613
|
-
type index_RecurrencePattern = RecurrencePattern;
|
|
1614
|
-
declare const index_RecurrencePattern: typeof RecurrencePattern;
|
|
1615
|
-
type index_RecurrenceService = RecurrenceService;
|
|
1616
|
-
declare const index_RecurrenceService: typeof RecurrenceService;
|
|
1617
|
-
type index_RecurrenceType = RecurrenceType;
|
|
1618
|
-
declare const index_RecurrenceType: typeof RecurrenceType;
|
|
1619
|
-
type index_RecurringEventData = RecurringEventData;
|
|
1620
|
-
type index_RecurringEventInstance = RecurringEventInstance;
|
|
1621
|
-
type index_Reminder = Reminder;
|
|
1622
|
-
type index_ReminderApiData = ReminderApiData;
|
|
1623
|
-
type index_ReminderConfig = ReminderConfig;
|
|
1624
|
-
type index_ReminderFormData = ReminderFormData;
|
|
1625
|
-
type index_ReminderService = ReminderService;
|
|
1626
|
-
declare const index_ReminderService: typeof ReminderService;
|
|
1627
|
-
type index_ReminderStatus = ReminderStatus;
|
|
1628
|
-
declare const index_ReminderStatus: typeof ReminderStatus;
|
|
1629
|
-
type index_ReminderType = ReminderType;
|
|
1630
|
-
declare const index_ReminderType: typeof ReminderType;
|
|
1631
|
-
type index_ScheduledReminder = ScheduledReminder;
|
|
1632
|
-
declare const index_ScrollArea: typeof ScrollArea;
|
|
1633
|
-
declare const index_ScrollBar: typeof ScrollBar;
|
|
1634
|
-
declare const index_SearchBox: typeof SearchBox;
|
|
1635
|
-
declare const index_SearchResultHint: typeof SearchResultHint;
|
|
1636
|
-
type index_SearchResultHintProps = SearchResultHintProps;
|
|
1637
|
-
declare const index_Select: typeof Select;
|
|
1638
|
-
declare const index_SelectContent: typeof SelectContent;
|
|
1639
|
-
declare const index_SelectGroup: typeof SelectGroup;
|
|
1640
|
-
declare const index_SelectItem: typeof SelectItem;
|
|
1641
|
-
declare const index_SelectLabel: typeof SelectLabel;
|
|
1642
|
-
declare const index_SelectScrollDownButton: typeof SelectScrollDownButton;
|
|
1643
|
-
declare const index_SelectScrollUpButton: typeof SelectScrollUpButton;
|
|
1644
|
-
declare const index_SelectSeparator: typeof SelectSeparator;
|
|
1645
|
-
declare const index_SelectTrigger: typeof SelectTrigger;
|
|
1646
|
-
declare const index_SelectValue: typeof SelectValue;
|
|
1647
|
-
declare const index_Separator: typeof Separator;
|
|
1648
|
-
type index_SeparatorProps = SeparatorProps;
|
|
1649
|
-
declare const index_SheetContent: typeof SheetContent;
|
|
1650
|
-
declare const index_SheetDescription: typeof SheetDescription;
|
|
1651
|
-
declare const index_SheetFooter: typeof SheetFooter;
|
|
1652
|
-
declare const index_SheetHeader: typeof SheetHeader;
|
|
1653
|
-
declare const index_SheetTitle: typeof SheetTitle;
|
|
1654
|
-
type index_SingleEventData = SingleEventData;
|
|
1655
|
-
type index_SortDirection = SortDirection;
|
|
1656
|
-
declare const index_SortDirection: typeof SortDirection;
|
|
1657
|
-
declare const index_Tabs: typeof Tabs;
|
|
1658
|
-
declare const index_TabsContent: typeof TabsContent;
|
|
1659
|
-
declare const index_TabsList: typeof TabsList;
|
|
1660
|
-
declare const index_TabsTrigger: typeof TabsTrigger;
|
|
1661
|
-
declare const index_Textarea: typeof Textarea;
|
|
1662
|
-
type index_TimeSlot = TimeSlot;
|
|
1663
|
-
declare const index_Timeline: typeof Timeline;
|
|
1664
|
-
declare const index_TimelineConfig: typeof TimelineConfig;
|
|
1665
|
-
declare const index_TimelineItem: typeof TimelineItem;
|
|
1666
|
-
declare const index_Tooltip: typeof Tooltip;
|
|
1667
|
-
declare const index_TooltipContent: typeof TooltipContent;
|
|
1668
|
-
declare const index_TooltipProvider: typeof TooltipProvider;
|
|
1669
|
-
declare const index_TooltipTrigger: typeof TooltipTrigger;
|
|
1670
|
-
type index_UpdateEventRequest = UpdateEventRequest;
|
|
1671
|
-
type index_UseCalendarReturn = UseCalendarReturn;
|
|
1672
|
-
type index_UseEnhancedEventsReturn = UseEnhancedEventsReturn;
|
|
1673
|
-
type index_UseEventDragReturn = UseEventDragReturn;
|
|
1674
|
-
declare const index_addDays: typeof addDays;
|
|
1675
|
-
declare const index_addMonths: typeof addMonths;
|
|
1676
|
-
declare const index_addWeeks: typeof addWeeks;
|
|
1677
|
-
declare const index_addYears: typeof addYears;
|
|
1678
|
-
declare const index_badgeVariants: typeof badgeVariants;
|
|
1679
|
-
declare const index_buttonVariants: typeof buttonVariants;
|
|
1680
|
-
declare const index_cloneDate: typeof cloneDate;
|
|
1681
|
-
declare const index_formatDate: typeof formatDate;
|
|
1682
|
-
declare const index_formatDateTime: typeof formatDateTime;
|
|
1683
|
-
declare const index_formatTime: typeof formatTime;
|
|
1684
|
-
declare const index_generateTimeSlots: typeof generateTimeSlots;
|
|
1685
|
-
declare const index_getDayEnd: typeof getDayEnd;
|
|
1686
|
-
declare const index_getDayStart: typeof getDayStart;
|
|
1687
|
-
declare const index_getDaysDifference: typeof getDaysDifference;
|
|
1688
|
-
declare const index_getMonthEnd: typeof getMonthEnd;
|
|
1689
|
-
declare const index_getMonthName: typeof getMonthName;
|
|
1690
|
-
declare const index_getMonthStart: typeof getMonthStart;
|
|
1691
|
-
declare const index_getMonthViewDates: typeof getMonthViewDates;
|
|
1692
|
-
declare const index_getRelativeTime: typeof getRelativeTime;
|
|
1693
|
-
declare const index_getWeekEnd: typeof getWeekEnd;
|
|
1694
|
-
declare const index_getWeekStart: typeof getWeekStart;
|
|
1695
|
-
declare const index_getWeekViewDates: typeof getWeekViewDates;
|
|
1696
|
-
declare const index_getWeekdayName: typeof getWeekdayName;
|
|
1697
|
-
declare const index_isDragSupported: typeof isDragSupported;
|
|
1698
|
-
declare const index_isMobileDevice: typeof isMobileDevice;
|
|
1699
|
-
declare const index_isSameDay: typeof isSameDay;
|
|
1700
|
-
declare const index_isSameMonth: typeof isSameMonth;
|
|
1701
|
-
declare const index_isSameWeek: typeof isSameWeek;
|
|
1702
|
-
declare const index_isToday: typeof isToday;
|
|
1703
|
-
declare const index_isValidDate: typeof isValidDate;
|
|
1704
|
-
declare const index_isWeekend: typeof isWeekend;
|
|
1705
|
-
declare const index_isWorkingHour: typeof isWorkingHour;
|
|
1706
|
-
declare const index_parseDate: typeof parseDate;
|
|
1707
|
-
declare const index_toLocalISOString: typeof toLocalISOString;
|
|
1708
|
-
declare const index_useDeviceType: typeof useDeviceType;
|
|
1709
|
-
declare const index_useEnhancedEvents: typeof useEnhancedEvents;
|
|
1710
|
-
declare const index_useEventDrag: typeof useEventDrag;
|
|
1711
|
-
declare const index_useEvents: typeof useEvents;
|
|
1712
|
-
declare namespace index {
|
|
1713
|
-
export { Dialog as AlertDialog, index_AlertDialogAction as AlertDialogAction, index_AlertDialogCancel as AlertDialogCancel, index_AlertDialogContent as AlertDialogContent, DialogDescription as AlertDialogDescription, DialogFooter as AlertDialogFooter, DialogHeader as AlertDialogHeader, DialogOverlay as AlertDialogOverlay, DialogPortal as AlertDialogPortal, DialogTitle as AlertDialogTitle, DialogTrigger as AlertDialogTrigger, type index_ApiResponse as ApiResponse, index_Avatar as Avatar, index_AvatarFallback as AvatarFallback, index_AvatarImage as AvatarImage, index_BackButton as BackButton, type index_BackButtonProps as BackButtonProps, index_Badge as Badge, type index_BadgeProps as BadgeProps, index_Ball as Ball, type index_BaseEventData as BaseEventData, index_Button as Button, type index_ButtonProps as ButtonProps, index_CALENDAR_MODULE_NAME as CALENDAR_MODULE_NAME, index_CALENDAR_MODULE_VERSION as CALENDAR_MODULE_VERSION, type index_CalendarActions as CalendarActions, type index_CalendarCell as CalendarCell, type index_CalendarConfig as CalendarConfig, type index_CalendarDbService as CalendarDbService, type index_CalendarEvent as CalendarEvent, index_CalendarExportService as CalendarExportService, index_CalendarImportService as CalendarImportService, index_CalendarPage as CalendarPage, type index_CalendarService as CalendarService, type index_CalendarState as CalendarState, type index_CalendarViewProps as CalendarViewProps, index_CalendarViewType as CalendarViewType, index_Card as Card, index_CardContent as CardContent, index_CardDescription as CardDescription, index_CardFooter as CardFooter, index_CardHeader as CardHeader, index_CardTitle as CardTitle, index_CollisionBalls as CollisionBalls, index_CollisionBallsConfig as CollisionBallsConfig, index_ConfirmModal as ConfirmModal, type index_ConfirmModalProps as ConfirmModalProps, type index_CreateEventRequest as CreateEventRequest, type index_DateRange as DateRange, type index_DeleteEventRequest as DeleteEventRequest, index_Dialog as Dialog, index_DialogClose as DialogClose, index_DialogContent as DialogContent, type index_DialogContentProps as DialogContentProps, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogHeader as DialogHeader, index_DialogOverlay as DialogOverlay, index_DialogPortal as DialogPortal, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, type index_DragState as DragState, index_DropdownMenu as DropdownMenu, index_DropdownMenuCheckboxItem as DropdownMenuCheckboxItem, index_DropdownMenuContent as DropdownMenuContent, index_DropdownMenuGroup as DropdownMenuGroup, index_DropdownMenuItem as DropdownMenuItem, index_DropdownMenuLabel as DropdownMenuLabel, index_DropdownMenuPortal as DropdownMenuPortal, index_DropdownMenuRadioGroup as DropdownMenuRadioGroup, index_DropdownMenuRadioItem as DropdownMenuRadioItem, index_DropdownMenuSeparator as DropdownMenuSeparator, index_DropdownMenuShortcut as DropdownMenuShortcut, index_DropdownMenuSub as DropdownMenuSub, index_DropdownMenuSubContent as DropdownMenuSubContent, index_DropdownMenuSubTrigger as DropdownMenuSubTrigger, index_DropdownMenuTrigger as DropdownMenuTrigger, type index_EventCardProps as EventCardProps, index_EventColor as EventColor, type index_EventData as EventData, index_EventDetailPage as EventDetailPage, type index_EventFormData as EventFormData, type index_EventFormProps as EventFormProps, type index_EventListConfig as EventListConfig, index_EventListDisplayMode as EventListDisplayMode, type index_EventListFilter as EventListFilter, type index_EventListProps as EventListProps, type index_EventListSort as EventListSort, type index_EventModalProps as EventModalProps, index_EventPriority as EventPriority, type index_EventResponse as EventResponse, index_EventSortField as EventSortField, index_EventType as EventType, index_EventTypeService as EventTypeService, type index_EventsResponse as EventsResponse, type index_ExportOptions as ExportOptions, index_FilterButtonGroup as FilterButtonGroup, type index_FilterButtonGroupProps as FilterButtonGroupProps, type index_FilterOption as FilterOption, type index_GeneratedEvent as GeneratedEvent, index_GenericOrderManager as GenericOrderManager, type index_GenericOrderManagerProps as GenericOrderManagerProps, type index_GetEventsRequest as GetEventsRequest, index_Grid as Grid, type index_GridColumns as GridColumns, type index_GridGap as GridGap, type index_GridItem as GridItem, type index_GridProps as GridProps, type index_ImageMappingItem as ImageMappingItem, index_ImageMappingPanel as ImageMappingPanel, type index_ImageMappingPanelProps as ImageMappingPanelProps, type index_ImageMappingValue as ImageMappingValue, type index_ImportOptions as ImportOptions, type index_ImportResult as ImportResult, index_Input as Input, index_Label as Label, index_LocalImageMappingPanel as LocalImageMappingPanel, type index_LocalImageMappingPanelProps as LocalImageMappingPanelProps, type index_MiniCalendarProps as MiniCalendarProps, index_Modal as Modal, type index_ModalProps as ModalProps, type index_MultiDayEventData as MultiDayEventData, type index_OrderManagerOperations as OrderManagerOperations, type index_OrderableItem as OrderableItem, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_Progress as Progress, type index_ProgressProps as ProgressProps, type index_RecurrenceFormData as RecurrenceFormData, index_RecurrencePattern as RecurrencePattern, type RecurrenceRule$1 as RecurrenceRule, type RecurrenceRule as RecurrenceRuleType, index_RecurrenceService as RecurrenceService, index_RecurrenceType as RecurrenceType, type index_RecurringEventData as RecurringEventData, type index_RecurringEventInstance as RecurringEventInstance, type index_Reminder as Reminder, type index_ReminderApiData as ReminderApiData, type index_ReminderConfig as ReminderConfig, type index_ReminderFormData as ReminderFormData, index_ReminderService as ReminderService, index_ReminderStatus as ReminderStatus, index_ReminderType as ReminderType, type index_ScheduledReminder as ScheduledReminder, index_ScrollArea as ScrollArea, index_ScrollBar as ScrollBar, index_SearchBox as SearchBox, index_SearchResultHint as SearchResultHint, type index_SearchResultHintProps as SearchResultHintProps, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, type index_SeparatorProps as SeparatorProps, Dialog as Sheet, DialogClose as SheetClose, index_SheetContent as SheetContent, index_SheetDescription as SheetDescription, index_SheetFooter as SheetFooter, index_SheetHeader as SheetHeader, DialogOverlay as SheetOverlay, DialogPortal as SheetPortal, index_SheetTitle as SheetTitle, DialogTrigger as SheetTrigger, type index_SingleEventData as SingleEventData, index_SortDirection as SortDirection, index_Tabs as Tabs, index_TabsContent as TabsContent, index_TabsList as TabsList, index_TabsTrigger as TabsTrigger, index_Textarea as Textarea, type index_TimeSlot as TimeSlot, index_Timeline as Timeline, index_TimelineConfig as TimelineConfig, index_TimelineItem as TimelineItem, index_Tooltip as Tooltip, index_TooltipContent as TooltipContent, index_TooltipProvider as TooltipProvider, index_TooltipTrigger as TooltipTrigger, type index_UpdateEventRequest as UpdateEventRequest, type index_UseCalendarReturn as UseCalendarReturn, type index_UseEnhancedEventsReturn as UseEnhancedEventsReturn, type index_UseEventDragReturn as UseEventDragReturn, type UseEventsReturn$1 as UseEventsReturn, index_addDays as addDays, index_addMonths as addMonths, index_addWeeks as addWeeks, index_addYears as addYears, index_badgeVariants as badgeVariants, index_buttonVariants as buttonVariants, index_cloneDate as cloneDate, index_formatDate as formatDate, index_formatDateTime as formatDateTime, index_formatTime as formatTime, index_generateTimeSlots as generateTimeSlots, index_getDayEnd as getDayEnd, index_getDayStart as getDayStart, index_getDaysDifference as getDaysDifference, index_getMonthEnd as getMonthEnd, index_getMonthName as getMonthName, index_getMonthStart as getMonthStart, index_getMonthViewDates as getMonthViewDates, index_getRelativeTime as getRelativeTime, index_getWeekEnd as getWeekEnd, index_getWeekStart as getWeekStart, index_getWeekViewDates as getWeekViewDates, index_getWeekdayName as getWeekdayName, index_isDragSupported as isDragSupported, index_isMobileDevice as isMobileDevice, index_isSameDay as isSameDay, index_isSameMonth as isSameMonth, index_isSameWeek as isSameWeek, index_isToday as isToday, index_isValidDate as isValidDate, index_isWeekend as isWeekend, index_isWorkingHour as isWorkingHour, index_parseDate as parseDate, index_toLocalISOString as toLocalISOString, index_useDeviceType as useDeviceType, index_useEnhancedEvents as useEnhancedEvents, index_useEventDrag as useEventDrag, index_useEvents as useEvents };
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
export { GenericOrderManager as $, AlertDialogAction as A, BackButton as B, Card as C, Dialog as D, type ConfirmModalProps as E, DialogClose as F, type GridItem as G, DialogContent as H, type DialogContentProps as I, DropdownMenu as J, DropdownMenuCheckboxItem as K, DropdownMenuContent as L, DropdownMenuGroup as M, DropdownMenuItem as N, DropdownMenuLabel as O, DropdownMenuPortal as P, DropdownMenuRadioGroup as Q, DropdownMenuRadioItem as R, DropdownMenuSeparator as S, DropdownMenuShortcut as T, DropdownMenuSub as U, DropdownMenuSubContent as V, DropdownMenuSubTrigger as W, DropdownMenuTrigger as X, FilterButtonGroup as Y, type FilterButtonGroupProps as Z, type FilterOption as _, type GridColumns as a, EventColor as a$, type GenericOrderManagerProps as a0, Grid as a1, type GridProps as a2, type ImageMappingItem as a3, ImageMappingPanel as a4, type ImageMappingPanelProps as a5, type ImageMappingValue as a6, Input as a7, Label as a8, LocalImageMappingPanel as a9, Separator as aA, type SeparatorProps as aB, SheetContent as aC, SheetDescription as aD, SheetFooter as aE, SheetHeader as aF, SheetTitle as aG, Tabs as aH, TabsContent as aI, TabsList as aJ, TabsTrigger as aK, Textarea as aL, Tooltip as aM, TooltipContent as aN, TooltipProvider as aO, TooltipTrigger as aP, badgeVariants as aQ, buttonVariants as aR, CALENDAR_MODULE_VERSION as aS, CALENDAR_MODULE_NAME as aT, type CalendarEvent as aU, type RecurrenceRule$1 as aV, type Reminder as aW, RecurrenceType as aX, ReminderType as aY, ReminderStatus as aZ, CalendarViewType as a_, type LocalImageMappingPanelProps as aa, Modal as ab, type ModalProps as ac, type OrderManagerOperations as ad, type OrderableItem as ae, Popover as af, PopoverAnchor as ag, PopoverContent as ah, PopoverTrigger as ai, Progress as aj, type ProgressProps as ak, ScrollArea as al, ScrollBar as am, SearchBox as an, SearchResultHint as ao, type SearchResultHintProps as ap, Select as aq, SelectContent as ar, SelectGroup as as, SelectItem as at, SelectLabel as au, SelectScrollDownButton as av, SelectScrollUpButton as aw, SelectSeparator as ax, SelectTrigger as ay, SelectValue as az, type GridGap as b, toLocalISOString as b$, EventPriority as b0, type EventFormData as b1, type RecurrenceFormData as b2, type ReminderFormData as b3, type ReminderApiData as b4, type CreateEventRequest as b5, type UpdateEventRequest as b6, type DeleteEventRequest as b7, type GetEventsRequest as b8, type ApiResponse as b9, type UseEnhancedEventsReturn as bA, useEventDrag as bB, type UseEventDragReturn as bC, type DragState as bD, CalendarExportService as bE, type ExportOptions as bF, CalendarImportService as bG, type ImportOptions as bH, type ImportResult as bI, RecurrenceService as bJ, type RecurrenceRule as bK, type RecurringEventInstance as bL, ReminderService as bM, type ReminderConfig as bN, type ScheduledReminder as bO, EventType as bP, RecurrencePattern as bQ, type BaseEventData as bR, type SingleEventData as bS, type MultiDayEventData as bT, type RecurringEventData as bU, type EventData as bV, type GeneratedEvent as bW, EventTypeService as bX, formatDate as bY, formatTime as bZ, formatDateTime as b_, type EventsResponse as ba, type EventResponse as bb, type CalendarViewProps as bc, type EventCardProps as bd, type EventFormProps as be, type EventModalProps as bf, type MiniCalendarProps as bg, type CalendarState as bh, type CalendarActions as bi, type UseCalendarReturn as bj, type UseEventsReturn$1 as bk, type DateRange as bl, type CalendarCell as bm, type TimeSlot as bn, type CalendarConfig as bo, type CalendarService as bp, type CalendarDbService as bq, EventSortField as br, SortDirection as bs, EventListDisplayMode as bt, type EventListSort as bu, type EventListFilter as bv, type EventListConfig as bw, type EventListProps as bx, useEvents as by, useEnhancedEvents as bz, AlertDialogCancel as c, getMonthStart as c0, getMonthEnd as c1, getWeekStart as c2, getWeekEnd as c3, getDayStart as c4, getDayEnd as c5, isSameDay as c6, isSameWeek as c7, isSameMonth as c8, isToday as c9, isWeekend as ca, addDays as cb, addWeeks as cc, addMonths as cd, addYears as ce, getMonthViewDates as cf, getWeekViewDates as cg, generateTimeSlots as ch, parseDate as ci, getDaysDifference as cj, isWorkingHour as ck, getMonthName as cl, getWeekdayName as cm, getRelativeTime as cn, isValidDate as co, cloneDate as cp, isMobileDevice as cq, isDragSupported as cr, useDeviceType as cs, CalendarPage as ct, EventDetailPage as cu, AlertDialogContent as d, DialogDescription as e, DialogFooter as f, DialogHeader as g, DialogOverlay as h, index as i, DialogPortal as j, DialogTitle as k, DialogTrigger as l, Avatar as m, AvatarFallback as n, AvatarImage as o, type BackButtonProps as p, Badge as q, type BadgeProps as r, Button as s, type ButtonProps as t, CardContent as u, CardDescription as v, CardFooter as w, CardHeader as x, CardTitle as y, ConfirmModal as z };
|