sa2kit 1.6.31 → 1.6.33

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 (49) hide show
  1. package/dist/AliyunOSSProvider-4W47OFEK.mjs +6 -0
  2. package/dist/{AliyunOSSProvider-P6TOVKMM.mjs.map → AliyunOSSProvider-4W47OFEK.mjs.map} +1 -1
  3. package/dist/AliyunOSSProvider-HCNGDJL7.js +15 -0
  4. package/dist/{AliyunOSSProvider-Z5BRBCG6.js.map → AliyunOSSProvider-HCNGDJL7.js.map} +1 -1
  5. package/dist/calendar/index.js +8 -8
  6. package/dist/calendar/index.mjs +1 -1
  7. package/dist/chunk-EI27JKND.mjs +1988 -0
  8. package/dist/chunk-EI27JKND.mjs.map +1 -0
  9. package/dist/{chunk-77M5AQG3.mjs → chunk-HDMIOOZY.mjs} +3 -33
  10. package/dist/chunk-HDMIOOZY.mjs.map +1 -0
  11. package/dist/{chunk-X3UU7JHT.js → chunk-HJ6MH7J7.js} +3 -33
  12. package/dist/chunk-HJ6MH7J7.js.map +1 -0
  13. package/dist/chunk-KO73EBUT.js +80 -0
  14. package/dist/chunk-KO73EBUT.js.map +1 -0
  15. package/dist/{chunk-C54W2CMK.js → chunk-L47ZOYHL.js} +6 -80
  16. package/dist/chunk-L47ZOYHL.js.map +1 -0
  17. package/dist/{chunk-TVROG2Q4.mjs → chunk-UKT3PLON.mjs} +4 -76
  18. package/dist/chunk-UKT3PLON.mjs.map +1 -0
  19. package/dist/chunk-VVWQTO4Y.mjs +77 -0
  20. package/dist/chunk-VVWQTO4Y.mjs.map +1 -0
  21. package/dist/chunk-XGBE4SUV.js +2093 -0
  22. package/dist/chunk-XGBE4SUV.js.map +1 -0
  23. package/dist/index.d.mts +185 -100
  24. package/dist/index.d.ts +185 -100
  25. package/dist/index.js +119 -118
  26. package/dist/index.js.map +1 -1
  27. package/dist/index.mjs +4 -3
  28. package/dist/index.mjs.map +1 -1
  29. package/dist/mikuFusionGame/index.d.mts +112 -0
  30. package/dist/mikuFusionGame/index.d.ts +112 -0
  31. package/dist/mikuFusionGame/index.js +680 -0
  32. package/dist/mikuFusionGame/index.js.map +1 -0
  33. package/dist/mikuFusionGame/index.mjs +667 -0
  34. package/dist/mikuFusionGame/index.mjs.map +1 -0
  35. package/dist/storage/index.js +13 -12
  36. package/dist/storage/index.mjs +2 -1
  37. package/dist/universalFile/server/index.js +3 -3
  38. package/dist/universalFile/server/index.mjs +2 -2
  39. package/package.json +25 -31
  40. package/dist/AliyunOSSProvider-P6TOVKMM.mjs +0 -6
  41. package/dist/AliyunOSSProvider-Z5BRBCG6.js +0 -15
  42. package/dist/chunk-5A7ERLKK.js +0 -1726
  43. package/dist/chunk-5A7ERLKK.js.map +0 -1
  44. package/dist/chunk-77M5AQG3.mjs.map +0 -1
  45. package/dist/chunk-C54W2CMK.js.map +0 -1
  46. package/dist/chunk-KIP2CERU.mjs +0 -1596
  47. package/dist/chunk-KIP2CERU.mjs.map +0 -1
  48. package/dist/chunk-TVROG2Q4.mjs.map +0 -1
  49. package/dist/chunk-X3UU7JHT.js.map +0 -1
@@ -1,1726 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkZWQJSZEY_js = require('./chunk-ZWQJSZEY.js');
4
- var React23 = require('react');
5
- var reactSlot = require('@radix-ui/react-slot');
6
- var classVarianceAuthority = require('class-variance-authority');
7
- var LabelPrimitive = require('@radix-ui/react-label');
8
- var TabsPrimitive = require('@radix-ui/react-tabs');
9
- var DialogPrimitive = require('@radix-ui/react-dialog');
10
- var lucideReact = require('lucide-react');
11
- var AlertDialogPrimitive = require('@radix-ui/react-alert-dialog');
12
- var DropdownMenuPrimitive = require('@radix-ui/react-dropdown-menu');
13
- var PopoverPrimitive = require('@radix-ui/react-popover');
14
- var ProgressPrimitive = require('@radix-ui/react-progress');
15
- var ScrollAreaPrimitive = require('@radix-ui/react-scroll-area');
16
- var SelectPrimitive = require('@radix-ui/react-select');
17
- var SeparatorPrimitive = require('@radix-ui/react-separator');
18
- var TooltipPrimitive = require('@radix-ui/react-tooltip');
19
- var AvatarPrimitive = require('@radix-ui/react-avatar');
20
- var clsx = require('clsx');
21
- var navigation = require('next/navigation');
22
-
23
- function _interopNamespace(e) {
24
- if (e && e.__esModule) return e;
25
- var n = Object.create(null);
26
- if (e) {
27
- Object.keys(e).forEach(function (k) {
28
- if (k !== 'default') {
29
- var d = Object.getOwnPropertyDescriptor(e, k);
30
- Object.defineProperty(n, k, d.get ? d : {
31
- enumerable: true,
32
- get: function () { return e[k]; }
33
- });
34
- }
35
- });
36
- }
37
- n.default = e;
38
- return Object.freeze(n);
39
- }
40
-
41
- var React23__namespace = /*#__PURE__*/_interopNamespace(React23);
42
- var LabelPrimitive__namespace = /*#__PURE__*/_interopNamespace(LabelPrimitive);
43
- var TabsPrimitive__namespace = /*#__PURE__*/_interopNamespace(TabsPrimitive);
44
- var DialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(DialogPrimitive);
45
- var AlertDialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(AlertDialogPrimitive);
46
- var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
47
- var PopoverPrimitive__namespace = /*#__PURE__*/_interopNamespace(PopoverPrimitive);
48
- var ProgressPrimitive__namespace = /*#__PURE__*/_interopNamespace(ProgressPrimitive);
49
- var ScrollAreaPrimitive__namespace = /*#__PURE__*/_interopNamespace(ScrollAreaPrimitive);
50
- var SelectPrimitive__namespace = /*#__PURE__*/_interopNamespace(SelectPrimitive);
51
- var SeparatorPrimitive__namespace = /*#__PURE__*/_interopNamespace(SeparatorPrimitive);
52
- var TooltipPrimitive__namespace = /*#__PURE__*/_interopNamespace(TooltipPrimitive);
53
- var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive);
54
-
55
- var buttonVariants = classVarianceAuthority.cva(
56
- "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
57
- {
58
- variants: {
59
- variant: {
60
- default: "bg-primary text-primary-foreground shadow hover:bg-primary/90",
61
- destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
62
- outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
63
- secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
64
- ghost: "hover:bg-accent hover:text-accent-foreground",
65
- link: "text-primary underline-offset-4 hover:underline"
66
- },
67
- size: {
68
- default: "h-9 px-4 py-2",
69
- sm: "h-8 rounded-md px-3 text-xs",
70
- lg: "h-10 rounded-md px-8",
71
- icon: "h-9 w-9"
72
- }
73
- },
74
- defaultVariants: {
75
- variant: "default",
76
- size: "default"
77
- }
78
- }
79
- );
80
- var Button = React23__namespace.forwardRef(
81
- ({ className, variant = "default", size = "default", asChild = false, ...props }, ref) => {
82
- const Comp = asChild ? reactSlot.Slot : "button";
83
- return /* @__PURE__ */ React23__namespace.createElement(
84
- Comp,
85
- {
86
- className: chunkZWQJSZEY_js.cn(buttonVariants({ variant, size, className })),
87
- ref,
88
- ...props
89
- }
90
- );
91
- }
92
- );
93
- Button.displayName = "Button";
94
- var Card = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
95
- "div",
96
- {
97
- ref,
98
- className: chunkZWQJSZEY_js.cn(
99
- "rounded-xl border bg-card text-card-foreground shadow",
100
- className
101
- ),
102
- ...props
103
- }
104
- ));
105
- Card.displayName = "Card";
106
- var CardHeader = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
107
- "div",
108
- {
109
- ref,
110
- className: chunkZWQJSZEY_js.cn("flex flex-col space-y-1.5 p-6", className),
111
- ...props
112
- }
113
- ));
114
- CardHeader.displayName = "CardHeader";
115
- var CardTitle = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
116
- "div",
117
- {
118
- ref,
119
- className: chunkZWQJSZEY_js.cn("font-semibold leading-none tracking-tight", className),
120
- ...props
121
- }
122
- ));
123
- CardTitle.displayName = "CardTitle";
124
- var CardDescription = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
125
- "div",
126
- {
127
- ref,
128
- className: chunkZWQJSZEY_js.cn("text-sm text-muted-foreground", className),
129
- ...props
130
- }
131
- ));
132
- CardDescription.displayName = "CardDescription";
133
- var CardContent = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement("div", { ref, className: chunkZWQJSZEY_js.cn("p-6 pt-0", className), ...props }));
134
- CardContent.displayName = "CardContent";
135
- var CardFooter = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
136
- "div",
137
- {
138
- ref,
139
- className: chunkZWQJSZEY_js.cn("flex items-center p-6 pt-0", className),
140
- ...props
141
- }
142
- ));
143
- CardFooter.displayName = "CardFooter";
144
- var badgeVariants = classVarianceAuthority.cva(
145
- "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
146
- {
147
- variants: {
148
- variant: {
149
- default: "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",
150
- secondary: "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",
151
- destructive: "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",
152
- outline: "text-foreground"
153
- }
154
- },
155
- defaultVariants: {
156
- variant: "default"
157
- }
158
- }
159
- );
160
- function Badge({ className, variant, ...props }) {
161
- return /* @__PURE__ */ React23__namespace.createElement("div", { className: chunkZWQJSZEY_js.cn(badgeVariants({ variant }), className), ...props });
162
- }
163
- var Input = React23__namespace.forwardRef(
164
- ({ className, type, ...props }, ref) => {
165
- return /* @__PURE__ */ React23__namespace.createElement(
166
- "input",
167
- {
168
- type,
169
- className: chunkZWQJSZEY_js.cn(
170
- "flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
171
- className
172
- ),
173
- ref,
174
- ...props
175
- }
176
- );
177
- }
178
- );
179
- Input.displayName = "Input";
180
- var labelVariants = classVarianceAuthority.cva(
181
- "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
182
- );
183
- var Label = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
184
- LabelPrimitive__namespace.Root,
185
- {
186
- ref,
187
- className: chunkZWQJSZEY_js.cn(labelVariants(), className),
188
- ...props
189
- }
190
- ));
191
- Label.displayName = LabelPrimitive__namespace.Root.displayName;
192
- var Tabs = TabsPrimitive__namespace.Root;
193
- var TabsList = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
194
- TabsPrimitive__namespace.List,
195
- {
196
- ref,
197
- className: chunkZWQJSZEY_js.cn(
198
- "inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",
199
- className
200
- ),
201
- ...props
202
- }
203
- ));
204
- TabsList.displayName = TabsPrimitive__namespace.List.displayName;
205
- var TabsTrigger = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
206
- TabsPrimitive__namespace.Trigger,
207
- {
208
- ref,
209
- className: chunkZWQJSZEY_js.cn(
210
- "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
211
- className
212
- ),
213
- ...props
214
- }
215
- ));
216
- TabsTrigger.displayName = TabsPrimitive__namespace.Trigger.displayName;
217
- var TabsContent = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
218
- TabsPrimitive__namespace.Content,
219
- {
220
- ref,
221
- className: chunkZWQJSZEY_js.cn(
222
- "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
223
- className
224
- ),
225
- ...props
226
- }
227
- ));
228
- TabsContent.displayName = TabsPrimitive__namespace.Content.displayName;
229
- var Dialog = DialogPrimitive__namespace.Root;
230
- var DialogTrigger = DialogPrimitive__namespace.Trigger;
231
- var DialogPortal = DialogPrimitive__namespace.Portal;
232
- var DialogClose = DialogPrimitive__namespace.Close;
233
- var DialogOverlay = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
234
- DialogPrimitive__namespace.Overlay,
235
- {
236
- ref,
237
- className: chunkZWQJSZEY_js.cn(
238
- "fixed inset-0 z-[9999] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
239
- className
240
- ),
241
- ...props
242
- }
243
- ));
244
- DialogOverlay.displayName = DialogPrimitive__namespace.Overlay.displayName;
245
- var DialogContent = React23__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(DialogPortal, null, /* @__PURE__ */ React23__namespace.createElement(DialogOverlay, null), /* @__PURE__ */ React23__namespace.createElement(
246
- DialogPrimitive__namespace.Content,
247
- {
248
- ref,
249
- className: chunkZWQJSZEY_js.cn(
250
- "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
251
- className
252
- ),
253
- ...props
254
- },
255
- children,
256
- /* @__PURE__ */ React23__namespace.createElement(DialogPrimitive__namespace.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground" }, /* @__PURE__ */ React23__namespace.createElement(lucideReact.X, { className: "h-4 w-4" }), /* @__PURE__ */ React23__namespace.createElement("span", { className: "sr-only" }, "Close"))
257
- )));
258
- DialogContent.displayName = DialogPrimitive__namespace.Content.displayName;
259
- var DialogHeader = ({
260
- className,
261
- ...props
262
- }) => /* @__PURE__ */ React23__namespace.createElement(
263
- "div",
264
- {
265
- className: chunkZWQJSZEY_js.cn(
266
- "flex flex-col space-y-1.5 text-center sm:text-left",
267
- className
268
- ),
269
- ...props
270
- }
271
- );
272
- DialogHeader.displayName = "DialogHeader";
273
- var DialogFooter = ({
274
- className,
275
- ...props
276
- }) => /* @__PURE__ */ React23__namespace.createElement(
277
- "div",
278
- {
279
- className: chunkZWQJSZEY_js.cn(
280
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
281
- className
282
- ),
283
- ...props
284
- }
285
- );
286
- DialogFooter.displayName = "DialogFooter";
287
- var DialogTitle = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
288
- DialogPrimitive__namespace.Title,
289
- {
290
- ref,
291
- className: chunkZWQJSZEY_js.cn(
292
- "text-lg font-semibold leading-none tracking-tight",
293
- className
294
- ),
295
- ...props
296
- }
297
- ));
298
- DialogTitle.displayName = DialogPrimitive__namespace.Title.displayName;
299
- var DialogDescription = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
300
- DialogPrimitive__namespace.Description,
301
- {
302
- ref,
303
- className: chunkZWQJSZEY_js.cn("text-sm text-muted-foreground", className),
304
- ...props
305
- }
306
- ));
307
- DialogDescription.displayName = DialogPrimitive__namespace.Description.displayName;
308
- var AlertDialog = AlertDialogPrimitive__namespace.Root;
309
- var AlertDialogTrigger = AlertDialogPrimitive__namespace.Trigger;
310
- var AlertDialogPortal = AlertDialogPrimitive__namespace.Portal;
311
- var AlertDialogOverlay = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
312
- AlertDialogPrimitive__namespace.Overlay,
313
- {
314
- className: chunkZWQJSZEY_js.cn(
315
- "fixed inset-0 z-[50] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
316
- className
317
- ),
318
- ...props,
319
- ref
320
- }
321
- ));
322
- AlertDialogOverlay.displayName = AlertDialogPrimitive__namespace.Overlay.displayName;
323
- var AlertDialogContent = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(AlertDialogPortal, null, /* @__PURE__ */ React23__namespace.createElement(AlertDialogOverlay, null), /* @__PURE__ */ React23__namespace.createElement(
324
- AlertDialogPrimitive__namespace.Content,
325
- {
326
- ref,
327
- className: chunkZWQJSZEY_js.cn(
328
- "fixed left-[50%] top-[50%] z-[9999] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
329
- className
330
- ),
331
- ...props
332
- }
333
- )));
334
- AlertDialogContent.displayName = AlertDialogPrimitive__namespace.Content.displayName;
335
- var AlertDialogHeader = ({
336
- className,
337
- ...props
338
- }) => /* @__PURE__ */ React23__namespace.createElement(
339
- "div",
340
- {
341
- className: chunkZWQJSZEY_js.cn(
342
- "flex flex-col space-y-2 text-center sm:text-left",
343
- className
344
- ),
345
- ...props
346
- }
347
- );
348
- AlertDialogHeader.displayName = "AlertDialogHeader";
349
- var AlertDialogFooter = ({
350
- className,
351
- ...props
352
- }) => /* @__PURE__ */ React23__namespace.createElement(
353
- "div",
354
- {
355
- className: chunkZWQJSZEY_js.cn(
356
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
357
- className
358
- ),
359
- ...props
360
- }
361
- );
362
- AlertDialogFooter.displayName = "AlertDialogFooter";
363
- var AlertDialogTitle = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
364
- AlertDialogPrimitive__namespace.Title,
365
- {
366
- ref,
367
- className: chunkZWQJSZEY_js.cn("text-lg font-semibold", className),
368
- ...props
369
- }
370
- ));
371
- AlertDialogTitle.displayName = AlertDialogPrimitive__namespace.Title.displayName;
372
- var AlertDialogDescription = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
373
- AlertDialogPrimitive__namespace.Description,
374
- {
375
- ref,
376
- className: chunkZWQJSZEY_js.cn("text-sm text-muted-foreground", className),
377
- ...props
378
- }
379
- ));
380
- AlertDialogDescription.displayName = AlertDialogPrimitive__namespace.Description.displayName;
381
- var AlertDialogAction = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
382
- AlertDialogPrimitive__namespace.Action,
383
- {
384
- ref,
385
- className: chunkZWQJSZEY_js.cn(buttonVariants(), className),
386
- ...props
387
- }
388
- ));
389
- AlertDialogAction.displayName = AlertDialogPrimitive__namespace.Action.displayName;
390
- var AlertDialogCancel = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
391
- AlertDialogPrimitive__namespace.Cancel,
392
- {
393
- ref,
394
- className: chunkZWQJSZEY_js.cn(
395
- buttonVariants({ variant: "outline" }),
396
- "mt-2 sm:mt-0",
397
- className
398
- ),
399
- ...props
400
- }
401
- ));
402
- AlertDialogCancel.displayName = AlertDialogPrimitive__namespace.Cancel.displayName;
403
- var DropdownMenu = DropdownMenuPrimitive__namespace.Root;
404
- var DropdownMenuTrigger = DropdownMenuPrimitive__namespace.Trigger;
405
- var DropdownMenuGroup = DropdownMenuPrimitive__namespace.Group;
406
- var DropdownMenuPortal = DropdownMenuPrimitive__namespace.Portal;
407
- var DropdownMenuSub = DropdownMenuPrimitive__namespace.Sub;
408
- var DropdownMenuRadioGroup = DropdownMenuPrimitive__namespace.RadioGroup;
409
- var DropdownMenuSubTrigger = React23__namespace.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
410
- DropdownMenuPrimitive__namespace.SubTrigger,
411
- {
412
- ref,
413
- className: chunkZWQJSZEY_js.cn(
414
- "flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
415
- inset && "pl-8",
416
- className
417
- ),
418
- ...props
419
- },
420
- children,
421
- /* @__PURE__ */ React23__namespace.createElement(lucideReact.ChevronRight, { className: "ml-auto" })
422
- ));
423
- DropdownMenuSubTrigger.displayName = DropdownMenuPrimitive__namespace.SubTrigger.displayName;
424
- var DropdownMenuSubContent = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
425
- DropdownMenuPrimitive__namespace.SubContent,
426
- {
427
- ref,
428
- className: chunkZWQJSZEY_js.cn(
429
- "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",
430
- className
431
- ),
432
- ...props
433
- }
434
- ));
435
- DropdownMenuSubContent.displayName = DropdownMenuPrimitive__namespace.SubContent.displayName;
436
- var DropdownMenuContent = React23__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(DropdownMenuPrimitive__namespace.Portal, null, /* @__PURE__ */ React23__namespace.createElement(
437
- DropdownMenuPrimitive__namespace.Content,
438
- {
439
- ref,
440
- sideOffset,
441
- className: chunkZWQJSZEY_js.cn(
442
- "z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md",
443
- "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-dropdown-menu-content-transform-origin]",
444
- className
445
- ),
446
- ...props
447
- }
448
- )));
449
- DropdownMenuContent.displayName = DropdownMenuPrimitive__namespace.Content.displayName;
450
- var DropdownMenuItem = React23__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
451
- DropdownMenuPrimitive__namespace.Item,
452
- {
453
- ref,
454
- className: chunkZWQJSZEY_js.cn(
455
- "relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&>svg]:size-4 [&>svg]:shrink-0",
456
- inset && "pl-8",
457
- className
458
- ),
459
- ...props
460
- }
461
- ));
462
- DropdownMenuItem.displayName = DropdownMenuPrimitive__namespace.Item.displayName;
463
- var DropdownMenuCheckboxItem = React23__namespace.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
464
- DropdownMenuPrimitive__namespace.CheckboxItem,
465
- {
466
- ref,
467
- className: chunkZWQJSZEY_js.cn(
468
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
469
- className
470
- ),
471
- checked,
472
- ...props
473
- },
474
- /* @__PURE__ */ React23__namespace.createElement("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, /* @__PURE__ */ React23__namespace.createElement(DropdownMenuPrimitive__namespace.ItemIndicator, null, /* @__PURE__ */ React23__namespace.createElement(lucideReact.Check, { className: "h-4 w-4" }))),
475
- children
476
- ));
477
- DropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive__namespace.CheckboxItem.displayName;
478
- var DropdownMenuRadioItem = React23__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
479
- DropdownMenuPrimitive__namespace.RadioItem,
480
- {
481
- ref,
482
- className: chunkZWQJSZEY_js.cn(
483
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
484
- className
485
- ),
486
- ...props
487
- },
488
- /* @__PURE__ */ React23__namespace.createElement("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center" }, /* @__PURE__ */ React23__namespace.createElement(DropdownMenuPrimitive__namespace.ItemIndicator, null, /* @__PURE__ */ React23__namespace.createElement(lucideReact.Circle, { className: "h-2 w-2 fill-current" }))),
489
- children
490
- ));
491
- DropdownMenuRadioItem.displayName = DropdownMenuPrimitive__namespace.RadioItem.displayName;
492
- var DropdownMenuLabel = React23__namespace.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
493
- DropdownMenuPrimitive__namespace.Label,
494
- {
495
- ref,
496
- className: chunkZWQJSZEY_js.cn(
497
- "px-2 py-1.5 text-sm font-semibold",
498
- inset && "pl-8",
499
- className
500
- ),
501
- ...props
502
- }
503
- ));
504
- DropdownMenuLabel.displayName = DropdownMenuPrimitive__namespace.Label.displayName;
505
- var DropdownMenuSeparator = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
506
- DropdownMenuPrimitive__namespace.Separator,
507
- {
508
- ref,
509
- className: chunkZWQJSZEY_js.cn("-mx-1 my-1 h-px bg-muted", className),
510
- ...props
511
- }
512
- ));
513
- DropdownMenuSeparator.displayName = DropdownMenuPrimitive__namespace.Separator.displayName;
514
- var DropdownMenuShortcut = ({
515
- className,
516
- ...props
517
- }) => {
518
- return /* @__PURE__ */ React23__namespace.createElement(
519
- "span",
520
- {
521
- className: chunkZWQJSZEY_js.cn("ml-auto text-xs tracking-widest opacity-60", className),
522
- ...props
523
- }
524
- );
525
- };
526
- DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
527
- var Popover = PopoverPrimitive__namespace.Root;
528
- var PopoverTrigger = PopoverPrimitive__namespace.Trigger;
529
- var PopoverAnchor = PopoverPrimitive__namespace.Anchor;
530
- var PopoverContent = React23__namespace.forwardRef(({ className, align = "center", sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(PopoverPrimitive__namespace.Portal, null, /* @__PURE__ */ React23__namespace.createElement(
531
- PopoverPrimitive__namespace.Content,
532
- {
533
- ref,
534
- align,
535
- sideOffset,
536
- className: chunkZWQJSZEY_js.cn(
537
- "z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",
538
- className
539
- ),
540
- ...props
541
- }
542
- )));
543
- PopoverContent.displayName = PopoverPrimitive__namespace.Content.displayName;
544
- var Progress = React23__namespace.forwardRef(({ className, value, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
545
- ProgressPrimitive__namespace.Root,
546
- {
547
- ref,
548
- className: chunkZWQJSZEY_js.cn(
549
- "relative h-2 w-full overflow-hidden rounded-full bg-primary/20",
550
- className
551
- ),
552
- ...props
553
- },
554
- /* @__PURE__ */ React23__namespace.createElement(
555
- ProgressPrimitive__namespace.Indicator,
556
- {
557
- className: "h-full w-full flex-1 bg-primary transition-all",
558
- style: { transform: "translateX(-" + (100 - (value || 0)) + "%)" }
559
- }
560
- )
561
- ));
562
- Progress.displayName = ProgressPrimitive__namespace.Root.displayName;
563
- var ScrollArea = React23__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
564
- ScrollAreaPrimitive__namespace.Root,
565
- {
566
- ref,
567
- className: chunkZWQJSZEY_js.cn("relative overflow-hidden", className),
568
- ...props
569
- },
570
- /* @__PURE__ */ React23__namespace.createElement(ScrollAreaPrimitive__namespace.Viewport, { className: "h-full w-full rounded-[inherit]" }, children),
571
- /* @__PURE__ */ React23__namespace.createElement(ScrollBar, null),
572
- /* @__PURE__ */ React23__namespace.createElement(ScrollAreaPrimitive__namespace.Corner, null)
573
- ));
574
- ScrollArea.displayName = ScrollAreaPrimitive__namespace.Root.displayName;
575
- var ScrollBar = React23__namespace.forwardRef(({ className, orientation = "vertical", ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
576
- ScrollAreaPrimitive__namespace.ScrollAreaScrollbar,
577
- {
578
- ref,
579
- orientation,
580
- className: chunkZWQJSZEY_js.cn(
581
- "flex touch-none select-none transition-colors",
582
- orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
583
- orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
584
- className
585
- ),
586
- ...props
587
- },
588
- /* @__PURE__ */ React23__namespace.createElement(ScrollAreaPrimitive__namespace.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
589
- ));
590
- ScrollBar.displayName = ScrollAreaPrimitive__namespace.ScrollAreaScrollbar.displayName;
591
- var Select = SelectPrimitive__namespace.Root;
592
- var SelectGroup = SelectPrimitive__namespace.Group;
593
- var SelectValue = SelectPrimitive__namespace.Value;
594
- var SelectTrigger = React23__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
595
- SelectPrimitive__namespace.Trigger,
596
- {
597
- ref,
598
- className: chunkZWQJSZEY_js.cn(
599
- "flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
600
- className
601
- ),
602
- ...props
603
- },
604
- children,
605
- /* @__PURE__ */ React23__namespace.createElement(SelectPrimitive__namespace.Icon, { asChild: true }, /* @__PURE__ */ React23__namespace.createElement(lucideReact.ChevronDown, { className: "h-4 w-4 opacity-50" }))
606
- ));
607
- SelectTrigger.displayName = SelectPrimitive__namespace.Trigger.displayName;
608
- var SelectScrollUpButton = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
609
- SelectPrimitive__namespace.ScrollUpButton,
610
- {
611
- ref,
612
- className: chunkZWQJSZEY_js.cn(
613
- "flex cursor-default items-center justify-center py-1",
614
- className
615
- ),
616
- ...props
617
- },
618
- /* @__PURE__ */ React23__namespace.createElement(lucideReact.ChevronUp, { className: "h-4 w-4" })
619
- ));
620
- SelectScrollUpButton.displayName = SelectPrimitive__namespace.ScrollUpButton.displayName;
621
- var SelectScrollDownButton = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
622
- SelectPrimitive__namespace.ScrollDownButton,
623
- {
624
- ref,
625
- className: chunkZWQJSZEY_js.cn(
626
- "flex cursor-default items-center justify-center py-1",
627
- className
628
- ),
629
- ...props
630
- },
631
- /* @__PURE__ */ React23__namespace.createElement(lucideReact.ChevronDown, { className: "h-4 w-4" })
632
- ));
633
- SelectScrollDownButton.displayName = SelectPrimitive__namespace.ScrollDownButton.displayName;
634
- var SelectContent = React23__namespace.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(SelectPrimitive__namespace.Portal, null, /* @__PURE__ */ React23__namespace.createElement(
635
- SelectPrimitive__namespace.Content,
636
- {
637
- ref,
638
- className: chunkZWQJSZEY_js.cn(
639
- "relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]",
640
- position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
641
- className
642
- ),
643
- position,
644
- ...props
645
- },
646
- /* @__PURE__ */ React23__namespace.createElement(SelectScrollUpButton, null),
647
- /* @__PURE__ */ React23__namespace.createElement(
648
- SelectPrimitive__namespace.Viewport,
649
- {
650
- className: chunkZWQJSZEY_js.cn(
651
- "p-1",
652
- position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
653
- )
654
- },
655
- children
656
- ),
657
- /* @__PURE__ */ React23__namespace.createElement(SelectScrollDownButton, null)
658
- )));
659
- SelectContent.displayName = SelectPrimitive__namespace.Content.displayName;
660
- var SelectLabel = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
661
- SelectPrimitive__namespace.Label,
662
- {
663
- ref,
664
- className: chunkZWQJSZEY_js.cn("px-2 py-1.5 text-sm font-semibold", className),
665
- ...props
666
- }
667
- ));
668
- SelectLabel.displayName = SelectPrimitive__namespace.Label.displayName;
669
- var SelectItem = React23__namespace.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
670
- SelectPrimitive__namespace.Item,
671
- {
672
- ref,
673
- className: chunkZWQJSZEY_js.cn(
674
- "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
675
- className
676
- ),
677
- ...props
678
- },
679
- /* @__PURE__ */ React23__namespace.createElement("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center" }, /* @__PURE__ */ React23__namespace.createElement(SelectPrimitive__namespace.ItemIndicator, null, /* @__PURE__ */ React23__namespace.createElement(lucideReact.Check, { className: "h-4 w-4" }))),
680
- /* @__PURE__ */ React23__namespace.createElement(SelectPrimitive__namespace.ItemText, null, children)
681
- ));
682
- SelectItem.displayName = SelectPrimitive__namespace.Item.displayName;
683
- var SelectSeparator = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
684
- SelectPrimitive__namespace.Separator,
685
- {
686
- ref,
687
- className: chunkZWQJSZEY_js.cn("-mx-1 my-1 h-px bg-muted", className),
688
- ...props
689
- }
690
- ));
691
- SelectSeparator.displayName = SelectPrimitive__namespace.Separator.displayName;
692
- var Separator3 = React23__namespace.forwardRef(
693
- ({ className, orientation = "horizontal", decorative = true, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
694
- SeparatorPrimitive__namespace.Root,
695
- {
696
- ref,
697
- decorative,
698
- orientation,
699
- className: chunkZWQJSZEY_js.cn(
700
- "shrink-0 bg-border",
701
- orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
702
- className
703
- ),
704
- ...props
705
- }
706
- )
707
- );
708
- Separator3.displayName = SeparatorPrimitive__namespace.Root.displayName;
709
- var Sheet = DialogPrimitive__namespace.Root;
710
- var SheetTrigger = DialogPrimitive__namespace.Trigger;
711
- var SheetClose = DialogPrimitive__namespace.Close;
712
- var SheetPortal = DialogPrimitive__namespace.Portal;
713
- var SheetOverlay = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
714
- DialogPrimitive__namespace.Overlay,
715
- {
716
- className: chunkZWQJSZEY_js.cn(
717
- "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
718
- className
719
- ),
720
- ...props,
721
- ref
722
- }
723
- ));
724
- SheetOverlay.displayName = DialogPrimitive__namespace.Overlay.displayName;
725
- var sheetVariants = classVarianceAuthority.cva(
726
- "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
727
- {
728
- variants: {
729
- side: {
730
- top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
731
- bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
732
- left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
733
- right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
734
- }
735
- },
736
- defaultVariants: {
737
- side: "right"
738
- }
739
- }
740
- );
741
- var SheetContent = React23__namespace.forwardRef(({ side = "right", className, children, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(SheetPortal, null, /* @__PURE__ */ React23__namespace.createElement(SheetOverlay, null), /* @__PURE__ */ React23__namespace.createElement(
742
- DialogPrimitive__namespace.Content,
743
- {
744
- ref,
745
- className: chunkZWQJSZEY_js.cn(sheetVariants({ side }), className),
746
- ...props
747
- },
748
- /* @__PURE__ */ React23__namespace.createElement(DialogPrimitive__namespace.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary" }, /* @__PURE__ */ React23__namespace.createElement(lucideReact.X, { className: "h-4 w-4" }), /* @__PURE__ */ React23__namespace.createElement("span", { className: "sr-only" }, "Close")),
749
- children
750
- )));
751
- SheetContent.displayName = DialogPrimitive__namespace.Content.displayName;
752
- var SheetHeader = ({
753
- className,
754
- ...props
755
- }) => /* @__PURE__ */ React23__namespace.createElement(
756
- "div",
757
- {
758
- className: chunkZWQJSZEY_js.cn(
759
- "flex flex-col space-y-2 text-center sm:text-left",
760
- className
761
- ),
762
- ...props
763
- }
764
- );
765
- SheetHeader.displayName = "SheetHeader";
766
- var SheetFooter = ({
767
- className,
768
- ...props
769
- }) => /* @__PURE__ */ React23__namespace.createElement(
770
- "div",
771
- {
772
- className: chunkZWQJSZEY_js.cn(
773
- "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
774
- className
775
- ),
776
- ...props
777
- }
778
- );
779
- SheetFooter.displayName = "SheetFooter";
780
- var SheetTitle = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
781
- DialogPrimitive__namespace.Title,
782
- {
783
- ref,
784
- className: chunkZWQJSZEY_js.cn("text-lg font-semibold text-foreground", className),
785
- ...props
786
- }
787
- ));
788
- SheetTitle.displayName = DialogPrimitive__namespace.Title.displayName;
789
- var SheetDescription = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
790
- DialogPrimitive__namespace.Description,
791
- {
792
- ref,
793
- className: chunkZWQJSZEY_js.cn("text-sm text-muted-foreground", className),
794
- ...props
795
- }
796
- ));
797
- SheetDescription.displayName = DialogPrimitive__namespace.Description.displayName;
798
- var Textarea = React23__namespace.forwardRef(({ className, ...props }, ref) => {
799
- return /* @__PURE__ */ React23__namespace.createElement(
800
- "textarea",
801
- {
802
- className: chunkZWQJSZEY_js.cn(
803
- "flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
804
- className
805
- ),
806
- ref,
807
- ...props
808
- }
809
- );
810
- });
811
- Textarea.displayName = "Textarea";
812
- var TooltipProvider = TooltipPrimitive__namespace.Provider;
813
- var Tooltip = TooltipPrimitive__namespace.Root;
814
- var TooltipTrigger = TooltipPrimitive__namespace.Trigger;
815
- var TooltipContent = React23__namespace.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(TooltipPrimitive__namespace.Portal, null, /* @__PURE__ */ React23__namespace.createElement(
816
- TooltipPrimitive__namespace.Content,
817
- {
818
- ref,
819
- sideOffset,
820
- className: chunkZWQJSZEY_js.cn(
821
- "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-tooltip-content-transform-origin]",
822
- className
823
- ),
824
- ...props
825
- }
826
- )));
827
- TooltipContent.displayName = TooltipPrimitive__namespace.Content.displayName;
828
- var Avatar = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
829
- AvatarPrimitive__namespace.Root,
830
- {
831
- ref,
832
- className: chunkZWQJSZEY_js.cn(
833
- "relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",
834
- className
835
- ),
836
- ...props
837
- }
838
- ));
839
- Avatar.displayName = AvatarPrimitive__namespace.Root.displayName;
840
- var AvatarImage = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
841
- AvatarPrimitive__namespace.Image,
842
- {
843
- ref,
844
- className: chunkZWQJSZEY_js.cn("aspect-square h-full w-full", className),
845
- ...props
846
- }
847
- ));
848
- AvatarImage.displayName = AvatarPrimitive__namespace.Image.displayName;
849
- var AvatarFallback = React23__namespace.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React23__namespace.createElement(
850
- AvatarPrimitive__namespace.Fallback,
851
- {
852
- ref,
853
- className: chunkZWQJSZEY_js.cn(
854
- "flex h-full w-full items-center justify-center rounded-full bg-muted",
855
- className
856
- ),
857
- ...props
858
- }
859
- ));
860
- AvatarFallback.displayName = AvatarPrimitive__namespace.Fallback.displayName;
861
- function buildGridColsClasses(columns) {
862
- return [
863
- "grid-cols-1",
864
- // 默认单列
865
- columns.sm ? "sm:grid-cols-" + columns.sm : "",
866
- columns.md ? "md:grid-cols-" + columns.md : "md:grid-cols-2",
867
- columns.lg ? "lg:grid-cols-" + columns.lg : "lg:grid-cols-3",
868
- columns.xl ? "xl:grid-cols-" + columns.xl : ""
869
- ].filter(Boolean).join(" ");
870
- }
871
- function getGapClassName(gap) {
872
- const gapClasses = {
873
- sm: "gap-3",
874
- md: "gap-6",
875
- lg: "gap-8",
876
- xl: "gap-10"
877
- };
878
- return gapClasses[gap];
879
- }
880
- function Grid({
881
- items,
882
- renderItem,
883
- columns = { md: 2, lg: 3 },
884
- gap = "md",
885
- className = "",
886
- style
887
- }) {
888
- const gridColsClasses = buildGridColsClasses(columns);
889
- const gapClass = getGapClassName(gap);
890
- return /* @__PURE__ */ React23__namespace.default.createElement(
891
- "div",
892
- {
893
- className: clsx.clsx("grid", gridColsClasses, gapClass, className),
894
- style
895
- },
896
- items.map((item, index) => /* @__PURE__ */ React23__namespace.default.createElement("div", { key: item.id }, renderItem(item, index)))
897
- );
898
- }
899
- var SearchBox = ({
900
- searchQuery,
901
- onSearchChange,
902
- placeholder = "\u641C\u7D22\u5B9E\u9A8C\u9879\u76EE\u7684\u6807\u9898\u3001\u63CF\u8FF0\u6216\u6807\u7B7E...",
903
- size = "large"
904
- }) => {
905
- const getSizeStyles = () => {
906
- switch (size) {
907
- case "small":
908
- return {
909
- container: "h-10",
910
- input: "pl-10 pr-10 text-sm",
911
- icon: "w-4 h-4",
912
- iconPosition: "left-3",
913
- clearButton: "right-2 w-6 h-6",
914
- clearIcon: "w-3 h-3"
915
- };
916
- case "medium":
917
- return {
918
- container: "h-12",
919
- input: "pl-12 pr-12 text-base",
920
- icon: "w-5 h-5",
921
- iconPosition: "left-3",
922
- clearButton: "right-3 w-7 h-7",
923
- clearIcon: "w-4 h-4"
924
- };
925
- case "large":
926
- default:
927
- return {
928
- container: "h-16",
929
- input: "pl-6 pr-16 text-lg",
930
- icon: "w-6 h-6",
931
- iconPosition: "left-6",
932
- clearButton: "right-4 w-8 h-8",
933
- clearIcon: "w-4 h-4"
934
- };
935
- }
936
- };
937
- const styles = getSizeStyles();
938
- const isLarge = size === "large";
939
- return /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "relative group w-full" }, /* @__PURE__ */ React23__namespace.default.createElement(
940
- "input",
941
- {
942
- type: "text",
943
- placeholder,
944
- value: searchQuery,
945
- onChange: (e) => onSearchChange(e.target.value),
946
- className: clsx.clsx(
947
- "w-full",
948
- styles.container,
949
- styles.input,
950
- isLarge ? "border-2 border-gray-200 rounded-2xl shadow-lg" : "border border-gray-300 rounded-lg shadow-sm",
951
- "bg-white focus:ring-2 focus:ring-blue-500/20 focus:border-blue-500 hover:border-gray-400",
952
- isLarge ? "hover:shadow-xl" : "hover:shadow-md",
953
- "transition-all duration-300 ease-out text-gray-800 placeholder-gray-500",
954
- isLarge ? "font-medium" : "font-normal"
955
- )
956
- }
957
- ), searchQuery && /* @__PURE__ */ React23__namespace.default.createElement(
958
- "button",
959
- {
960
- onClick: () => onSearchChange(""),
961
- className: clsx.clsx(
962
- "absolute top-1/2",
963
- styles.clearButton,
964
- "transform -translate-y-1/2 z-10 group/clear"
965
- )
966
- },
967
- /* @__PURE__ */ React23__namespace.default.createElement("div", { className: clsx.clsx(
968
- styles.clearButton,
969
- "flex items-center justify-center rounded-full bg-gray-100 hover:bg-gray-200 transition-all duration-200 group-hover/clear:scale-105"
970
- ) }, /* @__PURE__ */ React23__namespace.default.createElement(
971
- "svg",
972
- {
973
- className: clsx.clsx(styles.clearIcon, "text-gray-500 group-hover/clear:text-gray-700"),
974
- fill: "none",
975
- stroke: "currentColor",
976
- viewBox: "0 0 24 24"
977
- },
978
- /* @__PURE__ */ React23__namespace.default.createElement(
979
- "path",
980
- {
981
- strokeLinecap: "round",
982
- strokeLinejoin: "round",
983
- strokeWidth: 2,
984
- d: "M6 18L18 6M6 6l12 12"
985
- }
986
- )
987
- ))
988
- ));
989
- };
990
- var Timeline = ({ items = [] }) => {
991
- if (!items || items.length === 0) {
992
- return null;
993
- }
994
- return /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "relative" }, /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "absolute left-4 top-0 bottom-0 w-0.5 bg-gray-200" }), items.map((item, index) => /* @__PURE__ */ React23__namespace.default.createElement("div", { key: index, className: "relative pl-12 pb-8" }, /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "absolute left-0 w-8 h-8 rounded-full bg-blue-500 border-4 border-white shadow-md flex items-center justify-center" }, /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "w-2 h-2 rounded-full bg-white" })), /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "bg-white rounded-lg p-4 shadow-md" }, /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "text-sm text-gray-500 mb-2" }, item.date), /* @__PURE__ */ React23__namespace.default.createElement("h4", { className: "text-lg font-semibold mb-2" }, item.title), /* @__PURE__ */ React23__namespace.default.createElement("p", { className: "text-gray-600" }, item.description)))));
995
- };
996
- var CollisionBalls = ({
997
- collisionBallsConfig: {
998
- balls,
999
- width,
1000
- height
1001
- }
1002
- }) => {
1003
- const canvasRef = React23.useRef(null);
1004
- const containerRef = React23.useRef(null);
1005
- const ballsRef = React23.useRef([]);
1006
- const [isShaking, setIsShaking] = React23.useState(false);
1007
- const [draggedBall, setDraggedBall] = React23.useState(null);
1008
- const [mousePos, setMousePos] = React23.useState({ x: 0, y: 0 });
1009
- const animationRef = React23.useRef(null);
1010
- const updateCanvasSize = () => {
1011
- const container = containerRef.current;
1012
- const canvas = canvasRef.current;
1013
- if (!container || !canvas) {
1014
- console.error("Container or canvas not found");
1015
- return;
1016
- }
1017
- const containerWidth = container.clientWidth;
1018
- const containerHeight = container.clientHeight;
1019
- console.log("Container size:", { containerWidth, containerHeight });
1020
- canvas.width = containerWidth;
1021
- canvas.height = containerHeight;
1022
- canvas.style.width = containerWidth + "px";
1023
- canvas.style.height = containerHeight + "px";
1024
- console.log("Canvas size updated:", {
1025
- width: canvas.width,
1026
- height: canvas.height,
1027
- containerWidth,
1028
- containerHeight
1029
- });
1030
- };
1031
- const initBalls = () => {
1032
- const canvas = canvasRef.current;
1033
- if (!canvas) {
1034
- console.error("Canvas not found during ball initialization");
1035
- return [];
1036
- }
1037
- console.log("Initializing balls with canvas size:", {
1038
- width: canvas.width,
1039
- height: canvas.height
1040
- });
1041
- return balls.map((ballConfig) => ({
1042
- x: Math.random() * (canvas.width - 100) + 50,
1043
- y: Math.random() * (canvas.height - 100) + 50,
1044
- vx: (Math.random() - 0.5) * 4,
1045
- vy: (Math.random() - 0.5) * 4,
1046
- radius: ballConfig.size,
1047
- color: ballConfig.color,
1048
- text: ballConfig.label,
1049
- isDragging: false
1050
- }));
1051
- };
1052
- React23.useEffect(() => {
1053
- const handleResize = () => {
1054
- console.log("Window resized");
1055
- updateCanvasSize();
1056
- };
1057
- if (typeof window !== "undefined") {
1058
- window.addEventListener("resize", handleResize);
1059
- updateCanvasSize();
1060
- }
1061
- return () => {
1062
- if (typeof window !== "undefined") {
1063
- window.removeEventListener("resize", handleResize);
1064
- }
1065
- };
1066
- }, []);
1067
- React23.useEffect(() => {
1068
- const canvas = canvasRef.current;
1069
- if (!canvas) {
1070
- console.error("Canvas element not found");
1071
- return;
1072
- }
1073
- const ctx = canvas.getContext("2d");
1074
- if (!ctx) {
1075
- console.error("Failed to get canvas context");
1076
- return;
1077
- }
1078
- console.log("Starting animation setup...");
1079
- updateCanvasSize();
1080
- ballsRef.current = initBalls();
1081
- console.log("Balls initialized:", ballsRef.current);
1082
- let lastTime = performance.now();
1083
- let frameCount = 0;
1084
- const animate = (currentTime) => {
1085
- try {
1086
- frameCount++;
1087
- if (currentTime - lastTime >= 1e3) {
1088
- console.log("FPS: " + frameCount);
1089
- frameCount = 0;
1090
- lastTime = currentTime;
1091
- }
1092
- ctx.clearRect(0, 0, canvas.width, canvas.height);
1093
- ballsRef.current.forEach((ball) => {
1094
- if (!ball.isDragging) {
1095
- updatePosition(ball, canvas.width, canvas.height);
1096
- }
1097
- for (let i = 0; i < ballsRef.current.length; i++) {
1098
- for (let j = i + 1; j < ballsRef.current.length; j++) {
1099
- const ball1 = ballsRef.current[i];
1100
- const ball2 = ballsRef.current[j];
1101
- if (ball1 && ball2) {
1102
- checkCollision(ball1, ball2);
1103
- }
1104
- }
1105
- }
1106
- draw(ctx, ball);
1107
- });
1108
- animationRef.current = requestAnimationFrame(animate);
1109
- } catch (error) {
1110
- console.error("Animation error:", error);
1111
- }
1112
- };
1113
- console.log("Starting animation loop...");
1114
- animationRef.current = requestAnimationFrame(animate);
1115
- return () => {
1116
- console.log("Cleaning up animation...");
1117
- if (animationRef.current) {
1118
- cancelAnimationFrame(animationRef.current);
1119
- animationRef.current = null;
1120
- }
1121
- };
1122
- }, []);
1123
- const shake = () => {
1124
- setIsShaking(true);
1125
- ballsRef.current.forEach((ball) => {
1126
- ball.vx = (Math.random() - 0.5) * 10;
1127
- ball.vy = (Math.random() - 0.5) * 10;
1128
- });
1129
- setTimeout(() => setIsShaking(false), 200);
1130
- };
1131
- const slowdown = () => {
1132
- setIsShaking(true);
1133
- ballsRef.current.forEach((ball) => {
1134
- ball.vx = ball.vx * 0.5;
1135
- ball.vy = ball.vy * 0.5;
1136
- });
1137
- setTimeout(() => setIsShaking(false), 200);
1138
- };
1139
- const checkCollision = (ball1, ball2) => {
1140
- const dx = ball2.x - ball1.x;
1141
- const dy = ball2.y - ball1.y;
1142
- const distance = Math.sqrt(dx * dx + dy * dy);
1143
- if (distance < ball1.radius + ball2.radius) {
1144
- const angle = Math.atan2(dy, dx);
1145
- const overlap = (ball1.radius + ball2.radius - distance) / 2;
1146
- if (ball1.isDragging || ball2.isDragging) {
1147
- const draggedBall2 = ball1.isDragging ? ball1 : ball2;
1148
- const otherBall = ball1.isDragging ? ball2 : ball1;
1149
- otherBall.x += (draggedBall2 === ball1 ? 1 : -1) * overlap * Math.cos(angle);
1150
- otherBall.y += (draggedBall2 === ball1 ? 1 : -1) * overlap * Math.sin(angle);
1151
- const pushForce = 2;
1152
- otherBall.vx = (draggedBall2 === ball1 ? -1 : 1) * Math.cos(angle) * pushForce;
1153
- otherBall.vy = (draggedBall2 === ball1 ? -1 : 1) * Math.sin(angle) * pushForce;
1154
- return;
1155
- }
1156
- const sin = Math.sin(angle);
1157
- const cos = Math.cos(angle);
1158
- const vx1 = ball1.vx * cos + ball1.vy * sin;
1159
- const vy1 = ball1.vy * cos - ball1.vx * sin;
1160
- const vx2 = ball2.vx * cos + ball2.vy * sin;
1161
- const vy2 = ball2.vy * cos - ball2.vx * sin;
1162
- const newVx1 = vx2;
1163
- const newVx2 = vx1;
1164
- ball1.vx = newVx1 * cos - vy1 * sin;
1165
- ball1.vy = vy1 * cos + newVx1 * sin;
1166
- ball2.vx = newVx2 * cos - vy2 * sin;
1167
- ball2.vy = vy2 * cos + newVx2 * sin;
1168
- ball1.x -= overlap * Math.cos(angle);
1169
- ball1.y -= overlap * Math.sin(angle);
1170
- ball2.x += overlap * Math.cos(angle);
1171
- ball2.y += overlap * Math.sin(angle);
1172
- }
1173
- };
1174
- const updatePosition = (ball, width2, height2) => {
1175
- const handleBoundaryCollision = (velocity, position, boundary, radius) => {
1176
- let newVelocity = velocity;
1177
- let newPosition = position;
1178
- if (position - radius < 0) {
1179
- newPosition = radius;
1180
- newVelocity = Math.abs(velocity);
1181
- } else if (position + radius > boundary) {
1182
- newPosition = boundary - radius;
1183
- newVelocity = -Math.abs(velocity);
1184
- }
1185
- return [newVelocity, newPosition];
1186
- };
1187
- const [newVx, newX] = handleBoundaryCollision(
1188
- ball.vx,
1189
- ball.x,
1190
- width2,
1191
- ball.radius
1192
- );
1193
- const [newVy, newY] = handleBoundaryCollision(
1194
- ball.vy,
1195
- ball.y,
1196
- height2,
1197
- ball.radius
1198
- );
1199
- ball.vx = newVx;
1200
- ball.vy = newVy;
1201
- ball.x = newX;
1202
- ball.y = newY;
1203
- };
1204
- const draw = (ctx, ball) => {
1205
- ctx.beginPath();
1206
- ctx.arc(ball.x, ball.y, ball.radius, 0, Math.PI * 2);
1207
- ctx.fillStyle = ball.color;
1208
- ctx.fill();
1209
- ctx.closePath();
1210
- if (ball.text) {
1211
- ctx.font = "14px Arial";
1212
- ctx.fillStyle = "#fff";
1213
- ctx.textAlign = "center";
1214
- ctx.textBaseline = "middle";
1215
- ctx.fillText(ball.text, ball.x, ball.y);
1216
- }
1217
- };
1218
- const handleMouseDown = (event) => {
1219
- const mousePos2 = getMousePos(event);
1220
- const ball = ballsRef.current.find((b) => {
1221
- const dx = b.x - mousePos2.x;
1222
- const dy = b.y - mousePos2.y;
1223
- return Math.sqrt(dx * dx + dy * dy) < b.radius;
1224
- });
1225
- if (ball) {
1226
- ball.isDragging = true;
1227
- setDraggedBall(ball);
1228
- }
1229
- };
1230
- const handleMouseMove = (event) => {
1231
- const mousePos2 = getMousePos(event);
1232
- setMousePos(mousePos2);
1233
- if (draggedBall) {
1234
- draggedBall.x = mousePos2.x;
1235
- draggedBall.y = mousePos2.y;
1236
- draggedBall.vx = 0;
1237
- draggedBall.vy = 0;
1238
- }
1239
- };
1240
- const handleMouseUp = () => {
1241
- if (draggedBall) {
1242
- draggedBall.isDragging = false;
1243
- setDraggedBall(null);
1244
- }
1245
- };
1246
- const getMousePos = (event) => {
1247
- const canvas = canvasRef.current;
1248
- if (!canvas) return { x: 0, y: 0 };
1249
- const rect = canvas.getBoundingClientRect();
1250
- const scaleX = canvas.width / rect.width;
1251
- const scaleY = canvas.height / rect.height;
1252
- return {
1253
- x: (event.clientX - rect.left) * scaleX,
1254
- y: (event.clientY - rect.top) * scaleY
1255
- };
1256
- };
1257
- return /* @__PURE__ */ React23__namespace.default.createElement("div", { style: { width: "100%", height: "100%", position: "relative", backgroundColor: "#f9fafb", borderRadius: "0.5rem" } }, /* @__PURE__ */ React23__namespace.default.createElement("div", { ref: containerRef, style: { width: "100%", height: "100%", position: "absolute", top: 0, left: 0 } }, /* @__PURE__ */ React23__namespace.default.createElement(
1258
- "canvas",
1259
- {
1260
- ref: canvasRef,
1261
- style: {
1262
- width: "100%",
1263
- height: "100%",
1264
- display: "block"
1265
- // 确保canvas正确显示
1266
- },
1267
- onMouseDown: handleMouseDown,
1268
- onMouseMove: handleMouseMove,
1269
- onMouseUp: handleMouseUp,
1270
- onMouseLeave: handleMouseUp
1271
- }
1272
- )), /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "absolute bottom-4 right-4 flex gap-2" }, /* @__PURE__ */ React23__namespace.default.createElement(
1273
- "button",
1274
- {
1275
- onClick: shake,
1276
- className: clsx.clsx("px-4 py-2 bg-blue-500 text-white rounded-lg hover:bg-blue-600 transition-colors", isShaking ? "animate-pulse" : "")
1277
- },
1278
- "\u6447\u4E00\u6447"
1279
- ), /* @__PURE__ */ React23__namespace.default.createElement(
1280
- "button",
1281
- {
1282
- onClick: slowdown,
1283
- className: clsx.clsx("px-4 py-2 bg-green-500 text-white rounded-lg hover:bg-green-600 transition-colors", isShaking ? "animate-pulse" : "")
1284
- },
1285
- "\u51CF\u901F"
1286
- )));
1287
- };
1288
- function GenericOrderManager({
1289
- operations,
1290
- renderItem,
1291
- className = "",
1292
- title = "\u987A\u5E8F\u7BA1\u7406",
1293
- description = "\u62D6\u62FD\u6216\u4F7F\u7528\u6309\u94AE\u8C03\u6574\u663E\u793A\u987A\u5E8F",
1294
- onOrderChanged,
1295
- emptyMessage = "\u6682\u65E0\u6570\u636E",
1296
- loadingMessage = "\u52A0\u8F7D\u6570\u636E..."
1297
- }) {
1298
- const [items, setItems] = React23.useState([]);
1299
- const [originalOrder, setOriginalOrder] = React23.useState([]);
1300
- const [loading, setLoading] = React23.useState(true);
1301
- const [saving, setSaving] = React23.useState(false);
1302
- const [error, setError] = React23.useState(null);
1303
- const [hasChanges, setHasChanges] = React23.useState(false);
1304
- const [draggedItem, setDraggedItem] = React23.useState(null);
1305
- const loadItems = React23.useCallback(async () => {
1306
- try {
1307
- setLoading(true);
1308
- setError(null);
1309
- const data = await operations.loadItems();
1310
- setItems(data);
1311
- setOriginalOrder([...data]);
1312
- setHasChanges(false);
1313
- } catch (err) {
1314
- console.error("\u274C [\u901A\u7528\u6392\u5E8F] \u52A0\u8F7D\u6570\u636E\u9519\u8BEF:", err);
1315
- setError(err instanceof Error ? err.message : "\u52A0\u8F7D\u6570\u636E\u5931\u8D25");
1316
- } finally {
1317
- setLoading(false);
1318
- }
1319
- }, [operations]);
1320
- React23.useEffect(() => {
1321
- loadItems();
1322
- }, [loadItems]);
1323
- React23.useEffect(() => {
1324
- const hasOrderChanged = items.some(
1325
- (item, index) => originalOrder[index]?.id !== item.id
1326
- );
1327
- setHasChanges(hasOrderChanged);
1328
- }, [items, originalOrder]);
1329
- const handleMoveUp = async (itemId) => {
1330
- try {
1331
- setError(null);
1332
- const currentIndex = items.findIndex((item) => item.id === itemId);
1333
- if (currentIndex === -1) {
1334
- setError("\u9879\u76EE\u4E0D\u5B58\u5728");
1335
- return;
1336
- }
1337
- if (currentIndex === 0) {
1338
- setError("\u9879\u76EE\u5DF2\u7ECF\u5728\u6700\u524D\u9762\uFF0C\u65E0\u6CD5\u4E0A\u79FB");
1339
- return;
1340
- }
1341
- await operations.moveItemUp(itemId);
1342
- await loadItems();
1343
- onOrderChanged?.();
1344
- } catch (err) {
1345
- console.error("\u274C [\u901A\u7528\u6392\u5E8F] \u4E0A\u79FB\u9879\u76EE\u9519\u8BEF:", err);
1346
- setError(err instanceof Error ? err.message : "\u4E0A\u79FB\u5931\u8D25");
1347
- }
1348
- };
1349
- const handleMoveDown = async (itemId) => {
1350
- try {
1351
- setError(null);
1352
- const currentIndex = items.findIndex((item) => item.id === itemId);
1353
- if (currentIndex === -1) {
1354
- setError("\u9879\u76EE\u4E0D\u5B58\u5728");
1355
- return;
1356
- }
1357
- if (currentIndex === items.length - 1) {
1358
- setError("\u9879\u76EE\u5DF2\u7ECF\u5728\u6700\u540E\u9762\uFF0C\u65E0\u6CD5\u4E0B\u79FB");
1359
- return;
1360
- }
1361
- await operations.moveItemDown(itemId);
1362
- await loadItems();
1363
- onOrderChanged?.();
1364
- } catch (err) {
1365
- console.error("\u274C [\u901A\u7528\u6392\u5E8F] \u4E0B\u79FB\u9879\u76EE\u9519\u8BEF:", err);
1366
- setError(err instanceof Error ? err.message : "\u4E0B\u79FB\u5931\u8D25");
1367
- }
1368
- };
1369
- const handleDragStart = (e, index) => {
1370
- setDraggedItem(index);
1371
- e.dataTransfer.effectAllowed = "move";
1372
- };
1373
- const handleDragOver = (e, _index) => {
1374
- e.preventDefault();
1375
- e.dataTransfer.dropEffect = "move";
1376
- };
1377
- const handleDrop = async (e, dropIndex) => {
1378
- e.preventDefault();
1379
- if (draggedItem === null || draggedItem === dropIndex) {
1380
- setDraggedItem(null);
1381
- return;
1382
- }
1383
- try {
1384
- setError(null);
1385
- const newItems = [...items];
1386
- const draggedItemData = newItems[draggedItem];
1387
- if (!draggedItemData) return;
1388
- newItems.splice(draggedItem, 1);
1389
- newItems.splice(dropIndex, 0, draggedItemData);
1390
- const itemOrders = newItems.map((item, index) => ({
1391
- id: item.id,
1392
- order: index
1393
- }));
1394
- await operations.updateItemOrder(itemOrders);
1395
- await loadItems();
1396
- onOrderChanged?.();
1397
- } catch (err) {
1398
- console.error("\u274C [\u901A\u7528\u6392\u5E8F] \u62D6\u62FD\u6392\u5E8F\u9519\u8BEF:", err);
1399
- setError(err instanceof Error ? err.message : "\u6392\u5E8F\u5931\u8D25");
1400
- } finally {
1401
- setDraggedItem(null);
1402
- }
1403
- };
1404
- const handleSaveOrder = async () => {
1405
- try {
1406
- setSaving(true);
1407
- setError(null);
1408
- const itemOrders = items.map((item, index) => ({
1409
- id: item.id,
1410
- order: index
1411
- }));
1412
- await operations.updateItemOrder(itemOrders);
1413
- setOriginalOrder([...items]);
1414
- setHasChanges(false);
1415
- onOrderChanged?.();
1416
- } catch (err) {
1417
- console.error("\u274C [\u901A\u7528\u6392\u5E8F] \u4FDD\u5B58\u987A\u5E8F\u9519\u8BEF:", err);
1418
- setError(err instanceof Error ? err.message : "\u4FDD\u5B58\u5931\u8D25");
1419
- await loadItems();
1420
- } finally {
1421
- setSaving(false);
1422
- }
1423
- };
1424
- const handleResetOrder = () => {
1425
- setItems([...originalOrder]);
1426
- };
1427
- if (loading) {
1428
- return /* @__PURE__ */ React23__namespace.default.createElement("div", { className: chunkZWQJSZEY_js.cn("flex flex-col items-center justify-center p-12 text-gray-500", className) }, /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "w-6 h-6 border-2 border-gray-200 border-t-blue-500 rounded-full animate-spin mb-2" }), /* @__PURE__ */ React23__namespace.default.createElement("span", null, loadingMessage));
1429
- }
1430
- return /* @__PURE__ */ React23__namespace.default.createElement("div", { className: chunkZWQJSZEY_js.cn("bg-white rounded-xl p-6 shadow-md border-2 border-gray-100", className) }, /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "flex items-center justify-between mb-4 pb-3 border-b border-gray-100 sm:flex-row flex-col sm:items-center items-start gap-4" }, /* @__PURE__ */ React23__namespace.default.createElement("h3", { className: "m-0 text-gray-900 text-lg font-semibold" }, title), /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "flex gap-3 w-full sm:w-auto" }, hasChanges && /* @__PURE__ */ React23__namespace.default.createElement(React23__namespace.default.Fragment, null, /* @__PURE__ */ React23__namespace.default.createElement(
1431
- "button",
1432
- {
1433
- onClick: handleResetOrder,
1434
- className: "flex items-center gap-2 bg-amber-500 hover:bg-amber-600 text-white px-4 py-2 rounded-lg font-medium transition-colors",
1435
- title: "\u91CD\u7F6E\u4E3A\u539F\u59CB\u987A\u5E8F"
1436
- },
1437
- /* @__PURE__ */ React23__namespace.default.createElement(lucideReact.RotateCcw, { size: 16 }),
1438
- "\u91CD\u7F6E"
1439
- ), /* @__PURE__ */ React23__namespace.default.createElement(
1440
- "button",
1441
- {
1442
- onClick: handleSaveOrder,
1443
- disabled: saving,
1444
- className: "flex items-center gap-2 bg-blue-500 hover:bg-blue-600 disabled:opacity-50 disabled:cursor-not-allowed text-white px-4 py-2 rounded-lg font-medium transition-colors",
1445
- title: "\u4FDD\u5B58\u65B0\u987A\u5E8F"
1446
- },
1447
- /* @__PURE__ */ React23__namespace.default.createElement(lucideReact.Save, { size: 16 }),
1448
- saving ? "\u4FDD\u5B58\u4E2D..." : "\u4FDD\u5B58\u987A\u5E8F"
1449
- )))), error && /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "flex items-center gap-2 bg-red-50 text-red-600 p-3 rounded-lg mb-4 border border-red-200" }, /* @__PURE__ */ React23__namespace.default.createElement(lucideReact.AlertCircle, { size: 16 }), /* @__PURE__ */ React23__namespace.default.createElement("span", null, error)), /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "bg-slate-50 border border-slate-200 rounded-lg p-4 mb-6" }, /* @__PURE__ */ React23__namespace.default.createElement("p", { className: "m-0 mb-2 color-slate-500 text-sm" }, description), /* @__PURE__ */ React23__namespace.default.createElement("ul", { className: "m-0 pl-6 color-slate-500 text-sm list-disc" }, /* @__PURE__ */ React23__namespace.default.createElement("li", { className: "mb-1" }, "\u4F7F\u7528\u62D6\u62FD\uFF1A\u70B9\u51FB\u5E76\u62D6\u52A8 ", /* @__PURE__ */ React23__namespace.default.createElement(lucideReact.GripVertical, { size: 14, className: "inline-block align-middle text-gray-500" }), " \u56FE\u6807"), /* @__PURE__ */ React23__namespace.default.createElement("li", { className: "mb-1" }, "\u4F7F\u7528\u6309\u94AE\uFF1A\u70B9\u51FB ", /* @__PURE__ */ React23__namespace.default.createElement(lucideReact.ChevronUp, { size: 14, className: "inline-block align-middle text-gray-500" }), " \u6216 ", /* @__PURE__ */ React23__namespace.default.createElement(lucideReact.ChevronDown, { size: 14, className: "inline-block align-middle text-gray-500" }), " \u6309\u94AE"), /* @__PURE__ */ React23__namespace.default.createElement("li", null, '\u5B8C\u6210\u8C03\u6574\u540E\uFF0C\u70B9\u51FB"\u4FDD\u5B58\u987A\u5E8F"\u6309\u94AE\u4FDD\u5B58\u66F4\u6539'))), /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "flex flex-col gap-3" }, items.map((item, index) => /* @__PURE__ */ React23__namespace.default.createElement(
1450
- "div",
1451
- {
1452
- key: item.id,
1453
- className: chunkZWQJSZEY_js.cn(
1454
- "flex items-center gap-3 p-4 bg-gray-50 border-2 border-gray-200 rounded-lg transition-all hover:border-gray-300 hover:shadow-sm",
1455
- draggedItem === index && "opacity-50 rotate-2 border-blue-500"
1456
- ),
1457
- draggable: true,
1458
- onDragStart: (e) => handleDragStart(e, index),
1459
- onDragOver: (e) => handleDragOver(e),
1460
- onDrop: (e) => handleDrop(e, index)
1461
- },
1462
- /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "flex items-center cursor-grab active:cursor-grabbing text-gray-400 p-1 rounded hover:text-gray-500 hover:bg-gray-100 transition-colors" }, /* @__PURE__ */ React23__namespace.default.createElement(lucideReact.GripVertical, { size: 20 })),
1463
- /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "flex-1 min-w-0" }, renderItem(item, index, index === 0, index === items.length - 1)),
1464
- /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "flex items-center mx-3" }, /* @__PURE__ */ React23__namespace.default.createElement("span", { className: "flex items-center justify-center w-8 h-8 bg-blue-500 text-white text-sm font-semibold rounded-full sm:w-8 sm:h-8 w-7 h-7 sm:text-sm text-xs" }, "#", index + 1)),
1465
- /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "flex flex-col gap-1 sm:flex-col flex-row" }, /* @__PURE__ */ React23__namespace.default.createElement(
1466
- "button",
1467
- {
1468
- onClick: () => handleMoveUp(item.id),
1469
- disabled: index === 0,
1470
- className: "flex items-center justify-center w-8 h-8 p-0 border border-gray-300 bg-white text-gray-500 rounded cursor-pointer transition-all hover:bg-gray-100 hover:border-gray-400 hover:text-gray-700 disabled:opacity-40 disabled:cursor-not-allowed disabled:bg-gray-50 sm:w-8 sm:h-8 w-7 h-7",
1471
- title: "\u4E0A\u79FB"
1472
- },
1473
- /* @__PURE__ */ React23__namespace.default.createElement(lucideReact.ChevronUp, { size: 18 })
1474
- ), /* @__PURE__ */ React23__namespace.default.createElement(
1475
- "button",
1476
- {
1477
- onClick: () => handleMoveDown(item.id),
1478
- disabled: index === items.length - 1,
1479
- className: "flex items-center justify-center w-8 h-8 p-0 border border-gray-300 bg-white text-gray-500 rounded cursor-pointer transition-all hover:bg-gray-100 hover:border-gray-400 hover:text-gray-700 disabled:opacity-40 disabled:cursor-not-allowed disabled:bg-gray-50 sm:w-8 sm:h-8 w-7 h-7",
1480
- title: "\u4E0B\u79FB"
1481
- },
1482
- /* @__PURE__ */ React23__namespace.default.createElement(lucideReact.ChevronDown, { size: 18 })
1483
- ))
1484
- ))), items.length === 0 && /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "text-center p-12 text-gray-400 italic" }, /* @__PURE__ */ React23__namespace.default.createElement("p", { className: "m-0" }, emptyMessage)));
1485
- }
1486
- var BackButton = ({ href, className = "" }) => {
1487
- const router = navigation.useRouter();
1488
- const handleClick = () => {
1489
- if (href) {
1490
- router.push(href);
1491
- } else {
1492
- router.back();
1493
- }
1494
- };
1495
- return /* @__PURE__ */ React23__namespace.default.createElement(
1496
- "button",
1497
- {
1498
- onClick: handleClick,
1499
- className: chunkZWQJSZEY_js.cn(
1500
- "inline-flex items-center px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-colors",
1501
- className
1502
- )
1503
- },
1504
- /* @__PURE__ */ React23__namespace.default.createElement(
1505
- "svg",
1506
- {
1507
- className: "w-5 h-5 mr-2",
1508
- fill: "none",
1509
- stroke: "currentColor",
1510
- viewBox: "0 0 24 24"
1511
- },
1512
- /* @__PURE__ */ React23__namespace.default.createElement(
1513
- "path",
1514
- {
1515
- strokeLinecap: "round",
1516
- strokeLinejoin: "round",
1517
- strokeWidth: 2,
1518
- d: "M10 19l-7-7m0 0l7-7m-7 7h18"
1519
- }
1520
- )
1521
- ),
1522
- "\u8FD4\u56DE"
1523
- );
1524
- };
1525
- function getColorValue(bgClass) {
1526
- const colorMap = {
1527
- "bg-blue-500": "#3b82f6",
1528
- "bg-green-500": "#10b981",
1529
- "bg-red-500": "#ef4444",
1530
- "bg-purple-500": "#8b5cf6",
1531
- "bg-slate-500": "#64748b",
1532
- "bg-emerald-500": "#10b981",
1533
- "bg-orange-500": "#f97316"
1534
- };
1535
- return colorMap[bgClass] || "#3b82f6";
1536
- }
1537
- function FilterButtonGroup({
1538
- label,
1539
- value,
1540
- options,
1541
- onChange,
1542
- className
1543
- }) {
1544
- return /* @__PURE__ */ React23__namespace.default.createElement("div", { className: chunkZWQJSZEY_js.cn("space-y-4", className) }, /* @__PURE__ */ React23__namespace.default.createElement("h3", { className: "text-lg font-semibold text-gray-800" }, label), /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "flex gap-3" }, options.map((option) => {
1545
- const isActive = value === option.value;
1546
- return /* @__PURE__ */ React23__namespace.default.createElement(
1547
- "button",
1548
- {
1549
- key: option.value,
1550
- onClick: () => onChange(option.value),
1551
- style: isActive ? { backgroundColor: getColorValue(option.activeColor.bg) } : void 0,
1552
- className: chunkZWQJSZEY_js.cn(
1553
- "flex-1 h-12 rounded-lg font-medium text-sm transition-all duration-200 ease-out focus:outline-none focus:ring-2 focus:ring-opacity-50 border",
1554
- isActive ? "text-white border-transparent shadow-md focus:ring-white" : "bg-white text-gray-700 border-gray-200 shadow-sm hover:bg-gray-50 hover:border-gray-300 hover:shadow focus:ring-blue-300"
1555
- )
1556
- },
1557
- /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "flex items-center justify-center space-x-2" }, /* @__PURE__ */ React23__namespace.default.createElement("span", { className: "text-lg" }, option.icon), /* @__PURE__ */ React23__namespace.default.createElement("span", null, option.label), option.showCount && option.count !== void 0 && /* @__PURE__ */ React23__namespace.default.createElement("span", { className: chunkZWQJSZEY_js.cn(
1558
- "text-xs font-semibold px-2 py-0.5 rounded-full min-w-[1.25rem] text-center",
1559
- isActive ? "bg-white/20 text-white" : "bg-gray-100 text-gray-600"
1560
- ) }, option.count))
1561
- );
1562
- })));
1563
- }
1564
- function SearchResultHint({ searchQuery, resultCount, className }) {
1565
- if (!searchQuery) return null;
1566
- return /* @__PURE__ */ React23__namespace.default.createElement("div", { className: chunkZWQJSZEY_js.cn("mb-6 p-4 bg-blue-50 border border-blue-200 rounded-lg", className) }, /* @__PURE__ */ React23__namespace.default.createElement("p", { className: "text-sm text-blue-700" }, '\u641C\u7D22 "', /* @__PURE__ */ React23__namespace.default.createElement("span", { className: "font-medium" }, searchQuery), '" \u627E\u5230 ', resultCount, " \u4E2A\u7ED3\u679C"));
1567
- }
1568
- var Modal = ({
1569
- isOpen,
1570
- onClose,
1571
- title,
1572
- width,
1573
- className,
1574
- maskClosable = true,
1575
- children,
1576
- zIndex = 50
1577
- }) => {
1578
- return /* @__PURE__ */ React23__namespace.default.createElement(Dialog, { open: isOpen, onOpenChange: (open) => {
1579
- if (!open) {
1580
- if (maskClosable) {
1581
- onClose();
1582
- }
1583
- }
1584
- } }, /* @__PURE__ */ React23__namespace.default.createElement(
1585
- DialogContent,
1586
- {
1587
- className: chunkZWQJSZEY_js.cn("sm:max-w-[425px]", className) + " z-[" + zIndex + "]",
1588
- onPointerDownOutside: (e) => {
1589
- if (!maskClosable) e.preventDefault();
1590
- },
1591
- onEscapeKeyDown: (e) => {
1592
- if (!maskClosable) e.preventDefault();
1593
- },
1594
- style: width ? { maxWidth: typeof width === "number" ? width + "px" : width } : void 0
1595
- },
1596
- title ? /* @__PURE__ */ React23__namespace.default.createElement(DialogHeader, null, /* @__PURE__ */ React23__namespace.default.createElement(DialogTitle, null, title)) : (
1597
- // 无障碍性:始终需要 DialogTitle,使用 sr-only 对视觉隐藏但对屏幕阅读器可见
1598
- /* @__PURE__ */ React23__namespace.default.createElement(DialogTitle, { className: "sr-only" }, "\u5F39\u7A97")
1599
- ),
1600
- /* @__PURE__ */ React23__namespace.default.createElement("div", { className: "py-4" }, children)
1601
- ));
1602
- };
1603
- var ConfirmModal = ({
1604
- isOpen,
1605
- onClose,
1606
- onConfirm,
1607
- title = "\u786E\u8BA4\u64CD\u4F5C",
1608
- message,
1609
- confirmText = "\u786E\u8BA4",
1610
- cancelText = "\u53D6\u6D88",
1611
- isLoading = false
1612
- }) => {
1613
- return /* @__PURE__ */ React23__namespace.default.createElement(AlertDialog, { open: isOpen, onOpenChange: (open) => !open && onClose() }, /* @__PURE__ */ React23__namespace.default.createElement(AlertDialogContent, null, /* @__PURE__ */ React23__namespace.default.createElement(AlertDialogHeader, null, /* @__PURE__ */ React23__namespace.default.createElement(AlertDialogTitle, null, title), /* @__PURE__ */ React23__namespace.default.createElement(AlertDialogDescription, null, message)), /* @__PURE__ */ React23__namespace.default.createElement(AlertDialogFooter, null, /* @__PURE__ */ React23__namespace.default.createElement(AlertDialogCancel, { disabled: isLoading }, cancelText), /* @__PURE__ */ React23__namespace.default.createElement(
1614
- AlertDialogAction,
1615
- {
1616
- onClick: (e) => {
1617
- e.preventDefault();
1618
- onConfirm();
1619
- },
1620
- disabled: isLoading,
1621
- className: "bg-destructive text-destructive-foreground hover:bg-destructive/90"
1622
- },
1623
- isLoading ? "\u5904\u7406\u4E2D..." : confirmText
1624
- ))));
1625
- };
1626
-
1627
- exports.AlertDialog = AlertDialog;
1628
- exports.AlertDialogAction = AlertDialogAction;
1629
- exports.AlertDialogCancel = AlertDialogCancel;
1630
- exports.AlertDialogContent = AlertDialogContent;
1631
- exports.AlertDialogDescription = AlertDialogDescription;
1632
- exports.AlertDialogFooter = AlertDialogFooter;
1633
- exports.AlertDialogHeader = AlertDialogHeader;
1634
- exports.AlertDialogOverlay = AlertDialogOverlay;
1635
- exports.AlertDialogPortal = AlertDialogPortal;
1636
- exports.AlertDialogTitle = AlertDialogTitle;
1637
- exports.AlertDialogTrigger = AlertDialogTrigger;
1638
- exports.Avatar = Avatar;
1639
- exports.AvatarFallback = AvatarFallback;
1640
- exports.AvatarImage = AvatarImage;
1641
- exports.BackButton = BackButton;
1642
- exports.Badge = Badge;
1643
- exports.Button = Button;
1644
- exports.Card = Card;
1645
- exports.CardContent = CardContent;
1646
- exports.CardDescription = CardDescription;
1647
- exports.CardFooter = CardFooter;
1648
- exports.CardHeader = CardHeader;
1649
- exports.CardTitle = CardTitle;
1650
- exports.CollisionBalls = CollisionBalls;
1651
- exports.ConfirmModal = ConfirmModal;
1652
- exports.Dialog = Dialog;
1653
- exports.DialogClose = DialogClose;
1654
- exports.DialogContent = DialogContent;
1655
- exports.DialogDescription = DialogDescription;
1656
- exports.DialogFooter = DialogFooter;
1657
- exports.DialogHeader = DialogHeader;
1658
- exports.DialogOverlay = DialogOverlay;
1659
- exports.DialogPortal = DialogPortal;
1660
- exports.DialogTitle = DialogTitle;
1661
- exports.DialogTrigger = DialogTrigger;
1662
- exports.DropdownMenu = DropdownMenu;
1663
- exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem;
1664
- exports.DropdownMenuContent = DropdownMenuContent;
1665
- exports.DropdownMenuGroup = DropdownMenuGroup;
1666
- exports.DropdownMenuItem = DropdownMenuItem;
1667
- exports.DropdownMenuLabel = DropdownMenuLabel;
1668
- exports.DropdownMenuPortal = DropdownMenuPortal;
1669
- exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup;
1670
- exports.DropdownMenuRadioItem = DropdownMenuRadioItem;
1671
- exports.DropdownMenuSeparator = DropdownMenuSeparator;
1672
- exports.DropdownMenuShortcut = DropdownMenuShortcut;
1673
- exports.DropdownMenuSub = DropdownMenuSub;
1674
- exports.DropdownMenuSubContent = DropdownMenuSubContent;
1675
- exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger;
1676
- exports.DropdownMenuTrigger = DropdownMenuTrigger;
1677
- exports.FilterButtonGroup = FilterButtonGroup;
1678
- exports.GenericOrderManager = GenericOrderManager;
1679
- exports.Grid = Grid;
1680
- exports.Input = Input;
1681
- exports.Label = Label;
1682
- exports.Modal = Modal;
1683
- exports.Popover = Popover;
1684
- exports.PopoverAnchor = PopoverAnchor;
1685
- exports.PopoverContent = PopoverContent;
1686
- exports.PopoverTrigger = PopoverTrigger;
1687
- exports.Progress = Progress;
1688
- exports.ScrollArea = ScrollArea;
1689
- exports.ScrollBar = ScrollBar;
1690
- exports.SearchBox = SearchBox;
1691
- exports.SearchResultHint = SearchResultHint;
1692
- exports.Select = Select;
1693
- exports.SelectContent = SelectContent;
1694
- exports.SelectGroup = SelectGroup;
1695
- exports.SelectItem = SelectItem;
1696
- exports.SelectLabel = SelectLabel;
1697
- exports.SelectScrollDownButton = SelectScrollDownButton;
1698
- exports.SelectScrollUpButton = SelectScrollUpButton;
1699
- exports.SelectSeparator = SelectSeparator;
1700
- exports.SelectTrigger = SelectTrigger;
1701
- exports.SelectValue = SelectValue;
1702
- exports.Separator = Separator3;
1703
- exports.Sheet = Sheet;
1704
- exports.SheetClose = SheetClose;
1705
- exports.SheetContent = SheetContent;
1706
- exports.SheetDescription = SheetDescription;
1707
- exports.SheetFooter = SheetFooter;
1708
- exports.SheetHeader = SheetHeader;
1709
- exports.SheetOverlay = SheetOverlay;
1710
- exports.SheetPortal = SheetPortal;
1711
- exports.SheetTitle = SheetTitle;
1712
- exports.SheetTrigger = SheetTrigger;
1713
- exports.Tabs = Tabs;
1714
- exports.TabsContent = TabsContent;
1715
- exports.TabsList = TabsList;
1716
- exports.TabsTrigger = TabsTrigger;
1717
- exports.Textarea = Textarea;
1718
- exports.Timeline = Timeline;
1719
- exports.Tooltip = Tooltip;
1720
- exports.TooltipContent = TooltipContent;
1721
- exports.TooltipProvider = TooltipProvider;
1722
- exports.TooltipTrigger = TooltipTrigger;
1723
- exports.badgeVariants = badgeVariants;
1724
- exports.buttonVariants = buttonVariants;
1725
- //# sourceMappingURL=chunk-5A7ERLKK.js.map
1726
- //# sourceMappingURL=chunk-5A7ERLKK.js.map