sa2kit 1.6.8 → 1.6.10

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.
Files changed (125) hide show
  1. package/dist/calendar/index.js +10 -8
  2. package/dist/calendar/index.js.map +1 -1
  3. package/dist/calendar/index.mjs +3 -1
  4. package/dist/calendar/index.mjs.map +1 -1
  5. package/dist/calendar/routes/index.js +21 -21
  6. package/dist/calendar/routes/index.mjs +1 -1
  7. package/dist/calendar/server.js +13 -13
  8. package/dist/calendar/server.mjs +2 -2
  9. package/dist/{chunk-VHU2YGRQ.mjs → chunk-4FOBBWXW.mjs} +25 -11
  10. package/dist/chunk-4FOBBWXW.mjs.map +1 -0
  11. package/dist/{chunk-ZDRBMSTS.js → chunk-G6WRJ2H2.js} +25 -11
  12. package/dist/chunk-G6WRJ2H2.js.map +1 -0
  13. package/dist/{chunk-6WXOA4BE.mjs → chunk-GVVS4IMM.mjs} +2 -2
  14. package/dist/chunk-GVVS4IMM.mjs.map +1 -0
  15. package/dist/{chunk-AXP7KROR.js → chunk-WC5QFO3T.js} +2 -2
  16. package/dist/chunk-WC5QFO3T.js.map +1 -0
  17. package/dist/index.js +5 -5
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.mjs +2 -2
  20. package/dist/index.mjs.map +1 -1
  21. package/package.json +41 -7
  22. package/dist/ConfigService-BxK06xP6.d.mts +0 -262
  23. package/dist/ConfigService-BxK06xP6.d.ts +0 -262
  24. package/dist/UniversalFileService-BuHN-jrR.d.ts +0 -515
  25. package/dist/UniversalFileService-CGGzYeeF.d.mts +0 -515
  26. package/dist/analytics/index.d.mts +0 -1084
  27. package/dist/analytics/index.d.ts +0 -1084
  28. package/dist/analytics/server/index.d.mts +0 -499
  29. package/dist/analytics/server/index.d.ts +0 -499
  30. package/dist/api/index.d.mts +0 -248
  31. package/dist/api/index.d.ts +0 -248
  32. package/dist/audioDetection/index.d.mts +0 -449
  33. package/dist/audioDetection/index.d.ts +0 -449
  34. package/dist/auth/client/index.d.mts +0 -153
  35. package/dist/auth/client/index.d.ts +0 -153
  36. package/dist/auth/components/index.d.mts +0 -227
  37. package/dist/auth/components/index.d.ts +0 -227
  38. package/dist/auth/hooks/index.d.mts +0 -31
  39. package/dist/auth/hooks/index.d.ts +0 -31
  40. package/dist/auth/index.d.mts +0 -40
  41. package/dist/auth/index.d.ts +0 -40
  42. package/dist/auth/middleware/index.d.mts +0 -75
  43. package/dist/auth/middleware/index.d.ts +0 -75
  44. package/dist/auth/routes/index.d.mts +0 -261
  45. package/dist/auth/routes/index.d.ts +0 -261
  46. package/dist/auth/schema/index.d.mts +0 -789
  47. package/dist/auth/schema/index.d.ts +0 -789
  48. package/dist/auth/services/index.d.mts +0 -48
  49. package/dist/auth/services/index.d.ts +0 -48
  50. package/dist/calendar/index.d.mts +0 -1197
  51. package/dist/calendar/index.d.ts +0 -1197
  52. package/dist/calendar/routes/index.d.mts +0 -118
  53. package/dist/calendar/routes/index.d.ts +0 -118
  54. package/dist/calendar/server.d.mts +0 -1184
  55. package/dist/calendar/server.d.ts +0 -1184
  56. package/dist/chunk-6WXOA4BE.mjs.map +0 -1
  57. package/dist/chunk-AXP7KROR.js.map +0 -1
  58. package/dist/chunk-VHU2YGRQ.mjs.map +0 -1
  59. package/dist/chunk-ZDRBMSTS.js.map +0 -1
  60. package/dist/config/index.d.mts +0 -64
  61. package/dist/config/index.d.ts +0 -64
  62. package/dist/config/server/index.d.mts +0 -1533
  63. package/dist/config/server/index.d.ts +0 -1533
  64. package/dist/drizzle-auth-service-Bxlovhv8.d.ts +0 -145
  65. package/dist/drizzle-auth-service-DZY2F1sv.d.mts +0 -145
  66. package/dist/drizzle-schema-BNhqj2AZ.d.mts +0 -1114
  67. package/dist/drizzle-schema-BNhqj2AZ.d.ts +0 -1114
  68. package/dist/enums-Dume-V5Y.d.mts +0 -16
  69. package/dist/enums-Dume-V5Y.d.ts +0 -16
  70. package/dist/i18n/index.d.mts +0 -417
  71. package/dist/i18n/index.d.ts +0 -417
  72. package/dist/imageCrop/index.d.mts +0 -165
  73. package/dist/imageCrop/index.d.ts +0 -165
  74. package/dist/index-DSel44Ke.d.mts +0 -93
  75. package/dist/index-DSel44Ke.d.ts +0 -93
  76. package/dist/index.d.mts +0 -693
  77. package/dist/index.d.ts +0 -693
  78. package/dist/logger/index.d.mts +0 -125
  79. package/dist/logger/index.d.ts +0 -125
  80. package/dist/mmd/admin/index.d.mts +0 -487
  81. package/dist/mmd/admin/index.d.ts +0 -487
  82. package/dist/mmd/index.d.mts +0 -599
  83. package/dist/mmd/index.d.ts +0 -599
  84. package/dist/mmd/server/index.d.mts +0 -138
  85. package/dist/mmd/server/index.d.ts +0 -138
  86. package/dist/music/index.d.mts +0 -74
  87. package/dist/music/index.d.ts +0 -74
  88. package/dist/music/server/index.d.mts +0 -1
  89. package/dist/music/server/index.d.ts +0 -1
  90. package/dist/request/index.d.mts +0 -51
  91. package/dist/request/index.d.ts +0 -51
  92. package/dist/storage/index.d.mts +0 -75
  93. package/dist/storage/index.d.ts +0 -75
  94. package/dist/testYourself/admin/index.d.mts +0 -58
  95. package/dist/testYourself/admin/index.d.ts +0 -58
  96. package/dist/testYourself/index.d.mts +0 -53
  97. package/dist/testYourself/index.d.ts +0 -53
  98. package/dist/testYourself/server/index.d.mts +0 -1029
  99. package/dist/testYourself/server/index.d.ts +0 -1029
  100. package/dist/types-B60F7EZZ.d.mts +0 -248
  101. package/dist/types-B60F7EZZ.d.ts +0 -248
  102. package/dist/types-BINlP9MK.d.mts +0 -286
  103. package/dist/types-BINlP9MK.d.ts +0 -286
  104. package/dist/types-BaZccpvk.d.mts +0 -48
  105. package/dist/types-BaZccpvk.d.ts +0 -48
  106. package/dist/types-CK4We_aI.d.mts +0 -270
  107. package/dist/types-CK4We_aI.d.ts +0 -270
  108. package/dist/types-CbTsi9CZ.d.mts +0 -31
  109. package/dist/types-CbTsi9CZ.d.ts +0 -31
  110. package/dist/types-CroexXnI.d.ts +0 -99
  111. package/dist/types-DmsXCWvm.d.mts +0 -99
  112. package/dist/types-Dt0oqeFM.d.mts +0 -70
  113. package/dist/types-zK6kDzDQ.d.ts +0 -70
  114. package/dist/universalExport/index.d.mts +0 -235
  115. package/dist/universalExport/index.d.ts +0 -235
  116. package/dist/universalExport/server/index.d.mts +0 -1270
  117. package/dist/universalExport/server/index.d.ts +0 -1270
  118. package/dist/universalFile/index.d.mts +0 -480
  119. package/dist/universalFile/index.d.ts +0 -480
  120. package/dist/universalFile/server/index.d.mts +0 -4516
  121. package/dist/universalFile/server/index.d.ts +0 -4516
  122. package/dist/useElectronStorage-Dj0rcorG.d.mts +0 -65
  123. package/dist/useElectronStorage-DwnNfIhl.d.ts +0 -65
  124. package/dist/utils/index.d.mts +0 -192
  125. package/dist/utils/index.d.ts +0 -192
package/dist/index.d.mts DELETED
@@ -1,693 +0,0 @@
1
- export { ConsoleLoggerAdapter, LogEntry, LogLevel, Logger, LoggerAdapter, LoggerConfig, createLogger, logger } from './logger/index.mjs';
2
- import * as React$1 from 'react';
3
- import React__default, { ReactNode } from 'react';
4
- export { arrayUtils, cn, debugUtils, errorUtils, fileUtils, formatTime, japaneseUtils, stringUtils, validators } from './utils/index.mjs';
5
- import * as class_variance_authority_types from 'class-variance-authority/types';
6
- import { VariantProps } from 'class-variance-authority';
7
- import * as LabelPrimitive from '@radix-ui/react-label';
8
- import * as TabsPrimitive from '@radix-ui/react-tabs';
9
- import * as DialogPrimitive from '@radix-ui/react-dialog';
10
- import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
11
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
12
- import * as PopoverPrimitive from '@radix-ui/react-popover';
13
- import * as ProgressPrimitive from '@radix-ui/react-progress';
14
- import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
15
- import * as SelectPrimitive from '@radix-ui/react-select';
16
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
17
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
18
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
19
- export { S as StorageAdapter, a as StorageChangeEvent } from './types-BaZccpvk.mjs';
20
- export { b as useAsyncStorage, d as useElectronStorage, a as useLocalStorage, u as useStorage, c as useTaroStorage } from './useElectronStorage-Dj0rcorG.mjs';
21
- import 'clsx';
22
-
23
- interface OCRResult {
24
- text: string;
25
- confidence: number;
26
- words: Array<{
27
- text: string;
28
- confidence: number;
29
- bbox: {
30
- x0: number;
31
- y0: number;
32
- x1: number;
33
- y1: number;
34
- };
35
- }>;
36
- lines: string[];
37
- }
38
- interface OCROptions {
39
- language?: string;
40
- logger?: (message: any) => void;
41
- }
42
- interface OCRState {
43
- isProcessing: boolean;
44
- progress: number;
45
- status: string;
46
- error: Error | null;
47
- result: OCRResult | null;
48
- }
49
-
50
- declare const useOCR: (options?: OCROptions) => {
51
- recognize: (image: string | File | Blob | HTMLImageElement | HTMLCanvasElement) => Promise<OCRResult>;
52
- cleanup: () => Promise<void>;
53
- isProcessing: boolean;
54
- progress: number;
55
- status: string;
56
- error: Error | null;
57
- result: OCRResult | null;
58
- };
59
-
60
- interface OCRScannerProps {
61
- onResult?: (text: string) => void;
62
- className?: string;
63
- language?: string;
64
- }
65
- declare const OCRScanner: React__default.FC<OCRScannerProps>;
66
-
67
- interface BackgroundRemovalOptions {
68
- progress?: (status: string, progress: number) => void;
69
- model?: 'medium' | 'small';
70
- publicPath?: string;
71
- fetchArgs?: RequestInit;
72
- }
73
- interface BackgroundRemovalState {
74
- isProcessing: boolean;
75
- progress: number;
76
- status: string;
77
- error: Error | null;
78
- resultBlob: Blob | null;
79
- resultUrl: string | null;
80
- }
81
-
82
- declare const useBackgroundRemoval: (options?: BackgroundRemovalOptions) => {
83
- remove: (image: string | File | Blob | HTMLImageElement | URL) => Promise<{
84
- blob: Blob;
85
- url: string;
86
- }>;
87
- cleanup: () => void;
88
- isProcessing: boolean;
89
- progress: number;
90
- status: string;
91
- error: Error | null;
92
- resultBlob: Blob | null;
93
- resultUrl: string | null;
94
- };
95
-
96
- interface BackgroundRemoverProps {
97
- onResult?: (blob: Blob, url: string) => void;
98
- className?: string;
99
- }
100
- declare const BackgroundRemover: React__default.FC<BackgroundRemoverProps>;
101
-
102
- interface SentimentResult {
103
- label: string;
104
- score: number;
105
- sentiment: 'positive' | 'negative' | 'neutral';
106
- }
107
- interface SentimentOptions {
108
- model?: string;
109
- language?: 'en' | 'zh' | 'auto';
110
- }
111
- interface SentimentState {
112
- isProcessing: boolean;
113
- status: string;
114
- error: Error | null;
115
- result: SentimentResult | null;
116
- }
117
-
118
- declare const useSentimentAnalysis: (options?: SentimentOptions) => {
119
- analyze: (text: string) => Promise<SentimentResult>;
120
- isProcessing: boolean;
121
- status: string;
122
- error: Error | null;
123
- result: SentimentResult | null;
124
- };
125
-
126
- interface SentimentAnalyzerProps {
127
- onResult?: (result: any) => void;
128
- className?: string;
129
- placeholder?: string;
130
- }
131
- declare const SentimentAnalyzer: React__default.FC<SentimentAnalyzerProps>;
132
-
133
- interface TextGenerationOptions {
134
- model?: string;
135
- max_new_tokens?: number;
136
- temperature?: number;
137
- top_p?: number;
138
- }
139
- interface TextGenerationState {
140
- isProcessing: boolean;
141
- status: string;
142
- error: Error | null;
143
- result: string | null;
144
- }
145
-
146
- declare const useTextGeneration: (options?: TextGenerationOptions) => {
147
- generate: (prompt: string) => Promise<any>;
148
- isProcessing: boolean;
149
- status: string;
150
- error: Error | null;
151
- result: string | null;
152
- };
153
-
154
- interface SmartAssistantProps {
155
- className?: string;
156
- }
157
- declare const SmartAssistant: React__default.FC<SmartAssistantProps>;
158
-
159
- declare const buttonVariants: (props?: ({
160
- variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
161
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
162
- } & class_variance_authority_types.ClassProp) | undefined) => string;
163
- interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
164
- asChild?: boolean;
165
- }
166
- declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
167
-
168
- declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
169
- declare const CardHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
170
- declare const CardTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
171
- declare const CardDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
172
- declare const CardContent: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
173
- declare const CardFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
174
-
175
- declare const badgeVariants: (props?: ({
176
- variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
177
- } & class_variance_authority_types.ClassProp) | undefined) => string;
178
- interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
179
- }
180
- declare function Badge({ className, variant, ...props }: BadgeProps): React$1.JSX.Element;
181
-
182
- declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
183
-
184
- declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React$1.RefAttributes<HTMLLabelElement>>;
185
-
186
- declare const Tabs: React$1.ForwardRefExoticComponent<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>>;
187
- declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
188
- declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
189
- declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
190
-
191
- declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
192
- declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
193
- declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
194
- declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
195
- declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
196
- declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
197
- declare const DialogHeader: {
198
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
199
- displayName: string;
200
- };
201
- declare const DialogFooter: {
202
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
203
- displayName: string;
204
- };
205
- declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
206
- declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
207
-
208
- declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
209
- declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
210
- declare const AlertDialogPortal: React$1.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
211
- declare const AlertDialogOverlay: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
212
- declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
213
- declare const AlertDialogHeader: {
214
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
215
- displayName: string;
216
- };
217
- declare const AlertDialogFooter: {
218
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
219
- displayName: string;
220
- };
221
- declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
222
- declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
223
- declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
224
- declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
225
-
226
- declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
227
- declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
228
- declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
229
- declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
230
- declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
231
- declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
232
- declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
233
- inset?: boolean;
234
- } & React$1.RefAttributes<HTMLDivElement>>;
235
- declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
236
- declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
237
- declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
238
- inset?: boolean;
239
- } & React$1.RefAttributes<HTMLDivElement>>;
240
- declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
241
- declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
242
- declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
243
- inset?: boolean;
244
- } & React$1.RefAttributes<HTMLDivElement>>;
245
- declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
246
- declare const DropdownMenuShortcut: {
247
- ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
248
- displayName: string;
249
- };
250
-
251
- declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
252
- declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
253
- declare const PopoverAnchor: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React$1.RefAttributes<HTMLDivElement>>;
254
- declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
255
-
256
- declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
257
-
258
- declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
259
- declare const ScrollBar: React$1.ForwardRefExoticComponent<Omit<ScrollAreaPrimitive.ScrollAreaScrollbarProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
260
-
261
- declare const Select: React$1.FC<SelectPrimitive.SelectProps>;
262
- declare const SelectGroup: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React$1.RefAttributes<HTMLDivElement>>;
263
- declare const SelectValue: React$1.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React$1.RefAttributes<HTMLSpanElement>>;
264
- declare const SelectTrigger: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
265
- declare const SelectScrollUpButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
266
- declare const SelectScrollDownButton: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
267
- declare const SelectContent: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
268
- declare const SelectLabel: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
269
- declare const SelectItem: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
270
- declare const SelectSeparator: React$1.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
271
-
272
- declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
273
-
274
- declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
275
- declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
276
- declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
277
- declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
278
- declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
279
- declare const sheetVariants: (props?: ({
280
- side?: "top" | "right" | "bottom" | "left" | null | undefined;
281
- } & class_variance_authority_types.ClassProp) | undefined) => string;
282
- interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
283
- }
284
- declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
285
- declare const SheetHeader: {
286
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
287
- displayName: string;
288
- };
289
- declare const SheetFooter: {
290
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
291
- displayName: string;
292
- };
293
- declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
294
- declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
295
-
296
- declare const Textarea: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
297
-
298
- declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
299
- declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
300
- declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
301
- declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
302
-
303
- declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
304
- declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
305
- declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
306
-
307
- /** 基础网格项接口 */
308
- interface GridItem {
309
- id: string;
310
- [key: string]: any;
311
- }
312
- /** 网格列数配置 */
313
- interface GridColumns {
314
- /** 小屏幕列数 (640px+) */
315
- sm?: number;
316
- /** 中等屏幕列数 (768px+) */
317
- md?: number;
318
- /** 大屏幕列数 (1024px+) */
319
- lg?: number;
320
- /** 超大屏幕列数 (1280px+) */
321
- xl?: number;
322
- }
323
- /** 网格间距类型 */
324
- type GridGap = 'sm' | 'md' | 'lg' | 'xl';
325
- /** 通用网格组件 Props */
326
- interface GridProps<T extends GridItem> {
327
- /** 数据项数组 */
328
- items: T[];
329
- /** 渲染函数 */
330
- renderItem: (item: T, index: number) => React__default.ReactNode;
331
- /** 网格列数配置 */
332
- columns?: GridColumns;
333
- /** 间距配置 */
334
- gap?: GridGap;
335
- /** 额外的容器类名 */
336
- className?: string;
337
- /** 容器样式 */
338
- style?: React__default.CSSProperties;
339
- }
340
- /** 通用网格组件 */
341
- declare function Grid<T extends GridItem>({ items, renderItem, columns, gap, className, style }: GridProps<T>): React__default.JSX.Element;
342
-
343
- interface SearchBoxProps {
344
- searchQuery: string;
345
- onSearchChange: (query: string) => void;
346
- placeholder?: string;
347
- size?: 'small' | 'medium' | 'large';
348
- }
349
- declare const SearchBox: React__default.FC<SearchBoxProps>;
350
-
351
- interface TimelineItem {
352
- date: string;
353
- title: string;
354
- description: string;
355
- }
356
- interface TimelineConfig {
357
- items: TimelineItem[];
358
- }
359
- interface TimelineProps {
360
- items?: TimelineItem[];
361
- }
362
- declare const Timeline: React__default.FC<TimelineProps>;
363
-
364
- interface Ball {
365
- x: number;
366
- y: number;
367
- vx: number;
368
- vy: number;
369
- radius: number;
370
- color: string;
371
- text?: string;
372
- isDragging?: boolean;
373
- }
374
- interface CollisionBallsConfig {
375
- balls: {
376
- id: string;
377
- label: string;
378
- color: string;
379
- size: number;
380
- }[];
381
- width: number;
382
- height: number;
383
- }
384
- interface CollisionBallsProps {
385
- collisionBallsConfig: CollisionBallsConfig;
386
- }
387
- declare const CollisionBalls: React__default.FC<CollisionBallsProps>;
388
-
389
- interface OrderableItem {
390
- id: number;
391
- [key: string]: any;
392
- }
393
- interface OrderManagerOperations<T extends OrderableItem> {
394
- loadItems: () => Promise<T[]>;
395
- moveItemUp: (id: number) => Promise<void>;
396
- moveItemDown: (id: number) => Promise<void>;
397
- updateItemOrder: (orders: {
398
- id: number;
399
- order: number;
400
- }[]) => Promise<void>;
401
- }
402
- interface GenericOrderManagerProps<T extends OrderableItem> {
403
- operations: OrderManagerOperations<T>;
404
- renderItem: (item: T, index: number, isFirst: boolean, isLast: boolean) => React__default.ReactNode;
405
- className?: string;
406
- title?: string;
407
- description?: string;
408
- onOrderChanged?: () => void;
409
- emptyMessage?: string;
410
- loadingMessage?: string;
411
- }
412
- declare function GenericOrderManager<T extends OrderableItem>({ operations, renderItem, className, title, description, onOrderChanged, emptyMessage, loadingMessage }: GenericOrderManagerProps<T>): React__default.JSX.Element;
413
-
414
- interface BackButtonProps {
415
- href?: string;
416
- className?: string;
417
- }
418
- declare const BackButton: React__default.FC<BackButtonProps>;
419
-
420
- interface FilterOption<T> {
421
- value: T;
422
- label: string;
423
- icon: string;
424
- activeColor: {
425
- bg: string;
426
- shadow: string;
427
- };
428
- count?: number;
429
- showCount?: boolean;
430
- }
431
- interface FilterButtonGroupProps<T> {
432
- label: string;
433
- value: T;
434
- options: FilterOption<T>[];
435
- onChange: (value: T) => void;
436
- className?: string;
437
- }
438
- declare function FilterButtonGroup<T extends string>({ label, value, options, onChange, className }: FilterButtonGroupProps<T>): React__default.JSX.Element;
439
-
440
- interface SearchResultHintProps {
441
- searchQuery: string;
442
- resultCount: number;
443
- className?: string;
444
- }
445
- declare function SearchResultHint({ searchQuery, resultCount, className }: SearchResultHintProps): React__default.JSX.Element | null;
446
-
447
- interface ModalProps {
448
- isOpen: boolean;
449
- onClose: () => void;
450
- title?: string;
451
- children: ReactNode;
452
- width?: string | number;
453
- height?: string | number;
454
- maskClosable?: boolean;
455
- }
456
- declare const Modal: React__default.FC<ModalProps>;
457
- interface ConfirmModalProps {
458
- isOpen: boolean;
459
- onClose: () => void;
460
- onConfirm: () => void;
461
- title: string;
462
- message: string;
463
- confirmText?: string;
464
- cancelText?: string;
465
- isLoading?: boolean;
466
- }
467
- declare const ConfirmModal: React__default.FC<ConfirmModalProps>;
468
-
469
- interface SocialLink {
470
- type: string;
471
- url: string;
472
- icon?: ReactNode;
473
- }
474
- interface ProfileData {
475
- name: string;
476
- avatar?: string;
477
- title?: string;
478
- bio?: string;
479
- contacts?: Record<string, string>;
480
- socialLinks?: SocialLink[];
481
- customContent?: ReactNode;
482
- badges?: ProfileBadge[];
483
- stats?: Stat[];
484
- }
485
- interface ProfileBadge {
486
- label: string;
487
- type?: 'default' | 'primary' | 'success' | 'warning' | 'danger' | 'info';
488
- icon?: ReactNode;
489
- }
490
- interface Stat {
491
- label: string;
492
- value: string | number;
493
- icon?: ReactNode;
494
- }
495
-
496
- interface ProfileButtonProps {
497
- data?: ProfileData;
498
- buttonText?: string;
499
- variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
500
- size?: 'default' | 'sm' | 'lg' | 'icon';
501
- className?: string;
502
- modalTheme?: 'light' | 'dark' | 'blue';
503
- }
504
- /**
505
- * 个人信息按钮组件,点击后显示个人信息弹窗
506
- */
507
- declare const ProfileButton: React__default.FC<ProfileButtonProps>;
508
-
509
- interface ProfileModalProps {
510
- isOpen: boolean;
511
- onClose: () => void;
512
- data: ProfileData;
513
- showAvatar?: boolean;
514
- showContacts?: boolean;
515
- showSocial?: boolean;
516
- showBio?: boolean;
517
- avatarSize?: number;
518
- onAvatarClick?: () => void;
519
- onSocialLinkClick?: (url: string, type: string) => void;
520
- onContactClick?: (type: string, value: string) => void;
521
- themeName?: 'light' | 'dark' | 'blue';
522
- className?: string;
523
- children?: React__default.ReactNode;
524
- }
525
- declare const ProfileModal: React__default.FC<ProfileModalProps>;
526
-
527
- interface AutoOpenModalProps {
528
- data: ProfileData;
529
- delay?: number;
530
- themeName?: 'light' | 'dark' | 'blue';
531
- onClose?: () => void;
532
- }
533
- /**
534
- * 自动打开个人信息弹窗组件
535
- * 页面加载后自动显示弹窗
536
- */
537
- declare const AutoOpenModal: React__default.FC<AutoOpenModalProps>;
538
-
539
- interface EnhancedAvatarProps {
540
- src?: string;
541
- name?: string;
542
- size?: 'small' | 'medium' | 'large' | number;
543
- mood?: 'online' | 'offline' | 'away';
544
- statusText?: string;
545
- onClick?: () => void;
546
- className?: string;
547
- }
548
- declare const EnhancedAvatar: React__default.FC<EnhancedAvatarProps>;
549
-
550
- interface AboutProps {
551
- timelineConfig: TimelineConfig;
552
- collisionBallsConfig: CollisionBallsConfig;
553
- }
554
- declare const About: React__default.FC<AboutProps>;
555
-
556
- declare const Contact: React__default.FC;
557
-
558
- interface HomeConfig {
559
- title: string;
560
- subtitle: string;
561
- buttons: Array<{
562
- text: string;
563
- link: string;
564
- }>;
565
- imageSrc: string;
566
- }
567
- interface HomeProps {
568
- homeConfig: HomeConfig;
569
- className?: string;
570
- }
571
- declare const Home: React__default.FC<HomeProps>;
572
-
573
- interface ExperimentCardProps {
574
- href: string;
575
- title: string;
576
- description: string;
577
- tags: string[];
578
- category: 'utility' | 'leisure';
579
- isCompleted?: boolean;
580
- updatedAt?: string;
581
- createdAt?: string;
582
- className?: string;
583
- }
584
- declare const ExperimentCard: React__default.FC<ExperimentCardProps>;
585
-
586
- interface Project {
587
- id: string;
588
- title: string;
589
- description: string;
590
- image: string;
591
- link?: string;
592
- tags: string[];
593
- }
594
- interface ProjectsConfig {
595
- projects: Project[];
596
- }
597
- interface ProjectCarouselProps {
598
- projects: Project[];
599
- className?: string;
600
- }
601
- declare const ProjectCarousel: React__default.FC<ProjectCarouselProps>;
602
-
603
- type NavigationDirection = 'horizontal' | 'vertical';
604
- type NavigationPosition = 'top' | 'bottom' | 'left' | 'right';
605
- interface NavigationItem {
606
- id: string;
607
- label: string;
608
- href: string;
609
- icon?: React.ReactNode;
610
- isExternal?: boolean;
611
- target?: '_blank' | '_self';
612
- }
613
- interface NavigationConfig {
614
- direction: NavigationDirection;
615
- position: NavigationPosition;
616
- items: NavigationItem[];
617
- avatar?: {
618
- src: string;
619
- alt?: string;
620
- };
621
- logo?: {
622
- src: string;
623
- alt?: string;
624
- };
625
- }
626
- interface NavigationProps {
627
- config: NavigationConfig;
628
- isOpen: boolean;
629
- onToggle: () => void;
630
- activeItemId?: string;
631
- onItemClick?: (item: NavigationItem) => void;
632
- className?: string;
633
- }
634
-
635
- declare const Navigation: React__default.FC<NavigationProps>;
636
-
637
- interface NavigationItemProps {
638
- item: NavigationItem;
639
- direction: NavigationDirection;
640
- isActive?: boolean;
641
- onClick: (item: NavigationItem) => void;
642
- }
643
- declare const NavigationItemComponent: React__default.FC<NavigationItemProps>;
644
-
645
- interface NavigationToggleProps {
646
- isOpen: boolean;
647
- onClick: () => void;
648
- position: NavigationPosition;
649
- }
650
- declare const NavigationToggle: React__default.FC<NavigationToggleProps>;
651
-
652
- interface FloatingMenuProps {
653
- /**
654
- * 触发按钮的内容
655
- */
656
- trigger: ReactNode;
657
- /**
658
- * 菜单内容
659
- */
660
- menu: ReactNode;
661
- /**
662
- * 初始位置
663
- */
664
- initialPosition?: {
665
- x: number;
666
- y: number;
667
- };
668
- /**
669
- * 是否默认打开菜单
670
- */
671
- defaultOpen?: boolean;
672
- /**
673
- * 自定义类名
674
- */
675
- className?: string;
676
- /**
677
- * 菜单类名
678
- */
679
- menuClassName?: string;
680
- /**
681
- * 触发器类名
682
- */
683
- triggerClassName?: string;
684
- /**
685
- * z-index
686
- */
687
- zIndex?: number;
688
- }
689
- declare const FloatingMenu: React__default.FC<FloatingMenuProps>;
690
-
691
- declare const FloatingMenuExample: React__default.FC;
692
-
693
- export { About, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AutoOpenModal, type AutoOpenModalProps, Avatar, AvatarFallback, AvatarImage, BackButton, type BackButtonProps, type BackgroundRemovalOptions, type BackgroundRemovalState, BackgroundRemover, Badge, type BadgeProps, type Ball, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CollisionBalls, type CollisionBallsConfig, ConfirmModal, Contact, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EnhancedAvatar, type EnhancedAvatarProps, ExperimentCard, type ExperimentCardProps, FilterButtonGroup, type FilterButtonGroupProps, type FilterOption, FloatingMenu, FloatingMenuExample, GenericOrderManager, type GenericOrderManagerProps, Grid, type GridColumns, type GridGap, type GridItem, type GridProps, Home, type HomeConfig, Input, Label, Modal, Navigation, type NavigationConfig, type NavigationDirection, NavigationItemComponent as NavigationItem, type NavigationPosition, type NavigationProps, NavigationToggle, type OCROptions, type OCRResult, OCRScanner, type OCRState, type OrderManagerOperations, type OrderableItem, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, type ProfileBadge, ProfileButton, type ProfileButtonProps, type ProfileData, ProfileModal, type ProfileModalProps, Progress, type Project, ProjectCarousel, type ProjectsConfig, ScrollArea, ScrollBar, SearchBox, SearchResultHint, type SearchResultHintProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SentimentAnalyzer, type SentimentOptions, type SentimentResult, type SentimentState, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SmartAssistant, type SocialLink, type Stat, Tabs, TabsContent, TabsList, TabsTrigger, type TextGenerationOptions, type TextGenerationState, Textarea, Timeline, type TimelineConfig, type TimelineItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, useBackgroundRemoval, useOCR, useSentimentAnalysis, useTextGeneration };