sa2kit 3.6.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/business/index.d.mts +2 -7
  2. package/dist/business/index.d.ts +2 -7
  3. package/dist/business/index.js +1761 -8045
  4. package/dist/business/index.js.map +1 -1
  5. package/dist/business/index.mjs +1169 -7452
  6. package/dist/business/index.mjs.map +1 -1
  7. package/dist/business/portfolio/index.d.mts +1 -2
  8. package/dist/business/portfolio/index.d.ts +1 -2
  9. package/dist/{chunk-ZJLS5JU5.mjs → chunk-6KD4CD7O.mjs} +7 -16
  10. package/dist/chunk-6KD4CD7O.mjs.map +1 -0
  11. package/dist/chunk-GJVEYCS4.js +12 -0
  12. package/dist/chunk-GJVEYCS4.js.map +1 -0
  13. package/dist/chunk-PPV4IEWR.mjs +8 -0
  14. package/dist/chunk-PPV4IEWR.mjs.map +1 -0
  15. package/dist/{chunk-XPY45Y75.js → chunk-VVHFMAE7.js} +9 -21
  16. package/dist/chunk-VVHFMAE7.js.map +1 -0
  17. package/dist/common/aiApi/client/index.d.mts +66 -4
  18. package/dist/common/aiApi/client/index.d.ts +66 -4
  19. package/dist/common/aiApi/client/index.js +360 -15
  20. package/dist/common/aiApi/client/index.js.map +1 -1
  21. package/dist/common/aiApi/client/index.mjs +345 -11
  22. package/dist/common/aiApi/client/index.mjs.map +1 -1
  23. package/dist/common/aiApi/index.d.mts +2 -2
  24. package/dist/common/aiApi/index.d.ts +2 -2
  25. package/dist/common/aiApi/index.js +63 -62
  26. package/dist/common/aiApi/index.mjs +2 -1
  27. package/dist/common/aiApi/server/index.d.mts +1 -1
  28. package/dist/common/aiApi/server/index.d.ts +1 -1
  29. package/dist/common/aiApi/server/index.js +63 -62
  30. package/dist/common/aiApi/server/index.mjs +2 -1
  31. package/dist/{index-BSmd4ikf.d.ts → index-B4wDXFL0.d.mts} +39 -2
  32. package/dist/{index-r2-zE3iC.d.mts → index-B4wDXFL0.d.ts} +39 -2
  33. package/dist/{index-DLLPTprx.d.mts → index-B9vXYzok.d.mts} +48 -13
  34. package/dist/{index-VFDbZxVM.d.ts → index-BZ0MhRau.d.ts} +48 -13
  35. package/dist/index.d.mts +398 -28
  36. package/dist/index.d.ts +398 -28
  37. package/dist/index.js +1831 -6859
  38. package/dist/index.js.map +1 -1
  39. package/dist/index.mjs +1121 -6149
  40. package/dist/index.mjs.map +1 -1
  41. package/dist/{types-CiqMQ-uu.d.mts → types-DgbG0Of-.d.mts} +9 -1
  42. package/dist/{types-CiqMQ-uu.d.ts → types-DgbG0Of-.d.ts} +9 -1
  43. package/package.json +1 -11
  44. package/dist/CollisionBalls-DgKtscU2.d.mts +0 -41
  45. package/dist/CollisionBalls-DgKtscU2.d.ts +0 -41
  46. package/dist/business/calendar/index.d.mts +0 -6
  47. package/dist/business/calendar/index.d.ts +0 -6
  48. package/dist/business/calendar/index.js +0 -7433
  49. package/dist/business/calendar/index.js.map +0 -1
  50. package/dist/business/calendar/index.mjs +0 -7257
  51. package/dist/business/calendar/index.mjs.map +0 -1
  52. package/dist/business/calendar/routes/index.d.mts +0 -191
  53. package/dist/business/calendar/routes/index.d.ts +0 -191
  54. package/dist/business/calendar/routes/index.js +0 -844
  55. package/dist/business/calendar/routes/index.js.map +0 -1
  56. package/dist/business/calendar/routes/index.mjs +0 -826
  57. package/dist/business/calendar/routes/index.mjs.map +0 -1
  58. package/dist/chunk-XPY45Y75.js.map +0 -1
  59. package/dist/chunk-ZJLS5JU5.mjs.map +0 -1
  60. package/dist/index-BMgdH5dL.d.mts +0 -1716
  61. package/dist/index-IXMAeTtN.d.ts +0 -1716
package/dist/index.d.mts CHANGED
@@ -1,17 +1,20 @@
1
1
  import { ClassValue } from 'clsx';
2
- import { D as Dialog, A as AlertDialogAction, c as AlertDialogCancel, d as AlertDialogContent, e as DialogDescription, f as DialogFooter, g as DialogHeader, h as DialogOverlay, j as DialogPortal, k as DialogTitle, l as DialogTrigger, m as Avatar, n as AvatarFallback, o as AvatarImage, B as BackButton, p as BackButtonProps, q as Badge, r as BadgeProps, s as Button, t as ButtonProps, C as Card, u as CardContent, v as CardDescription, w as CardFooter, x as CardHeader, y as CardTitle, z as ConfirmModal, E as ConfirmModalProps, F as DialogClose, H as DialogContent, I as DialogContentProps, J as DropdownMenu, K as DropdownMenuCheckboxItem, L as DropdownMenuContent, M as DropdownMenuGroup, N as DropdownMenuItem, O as DropdownMenuLabel, P as DropdownMenuPortal, Q as DropdownMenuRadioGroup, R as DropdownMenuRadioItem, S as DropdownMenuSeparator, T as DropdownMenuShortcut, U as DropdownMenuSub, V as DropdownMenuSubContent, W as DropdownMenuSubTrigger, X as DropdownMenuTrigger, Y as FilterButtonGroup, Z as FilterButtonGroupProps, _ as FilterOption, $ as GenericOrderManager, a0 as GenericOrderManagerProps, a1 as Grid, a as GridColumns, b as GridGap, G as GridItem, a2 as GridProps, a3 as ImageMappingItem, a4 as ImageMappingPanel, a5 as ImageMappingPanelProps, a6 as ImageMappingValue, a7 as Input, a8 as Label, a9 as LocalImageMappingPanel, aa as LocalImageMappingPanelProps, ab as Modal, ac as ModalProps, ad as OrderManagerOperations, ae as OrderableItem, af as Popover, ag as PopoverAnchor, ah as PopoverContent, ai as PopoverTrigger, aj as Progress, ak as ProgressProps, al as ScrollArea, am as ScrollBar, an as SearchBox, ao as SearchResultHint, ap as SearchResultHintProps, aq as Select, ar as SelectContent, as as SelectGroup, at as SelectItem, au as SelectLabel, av as SelectScrollDownButton, aw as SelectScrollUpButton, ax as SelectSeparator, ay as SelectTrigger, az as SelectValue, aA as Separator, aB as SeparatorProps, aC as SheetContent, aD as SheetDescription, aE as SheetFooter, aF as SheetHeader, aG as SheetTitle, aH as Tabs, aI as TabsContent, aJ as TabsList, aK as TabsTrigger, aL as Textarea, aM as Tooltip, aN as TooltipContent, aO as TooltipProvider, aP as TooltipTrigger, aQ as badgeVariants, aR as buttonVariants } from './index-BMgdH5dL.mjs';
3
- import { B as Ball, b as CollisionBalls, C as CollisionBallsConfig, c as Timeline, T as TimelineConfig, a as TimelineItem } from './CollisionBalls-DgKtscU2.mjs';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import * as React from 'react';
4
+ import React__default from 'react';
5
+ import { VariantProps } from 'class-variance-authority';
6
+ import { G as Grid, a as GridColumns, b as GridGap, c as GridItem, d as GridProps } from './index-B9vXYzok.mjs';
7
+ export { j as AutoOpenModal, A as AutoOpenModalProps, C as CategoryFilter, M as CompletionFilter, o as CompletionFilterComponent, F as DraggableExperimentGrid, D as DraggableExperimentGridProps, ah as DrizzleLikeDb, w as EmptyState, v as EmptyStateProps, k as EnhancedAvatar, E as EnhancedAvatarProps, K as ExperimentCategory, t as ExperimentGrid, r as ExperimentGridItem, s as ExperimentGridProps, L as ExperimentItem, u as ExperimentItemGrid, ao as MikuContestNoticeRow, ag as MikuContestPersistenceAdapter, as as MikuContestPersistentService, ar as MikuContestPersistentServiceOptions, aw as MikuContestRouteConfig, ae as MikuContestService, av as MikuContestServiceLike, ad as MikuContestServiceOptions, ap as MikuContestStateDbService, an as MikuContestVoteRow, q as PageHeader, p as PageHeaderProps, J as PermissionGuard, m as ProfileBadge, f as ProfileButton, P as ProfileButtonProps, l as ProfileData, h as ProfileModal, g as ProfileModalProps, S as SocialLink, y as SortControl, x as SortControlProps, N as SortMode, B as SortModeToggle, z as SortModeToggleProps, I as SortableExperimentItem, H as SortableExperimentItemProps, n as Stat, T as TestFieldConfig, O as TestFieldPageProps, U as UserInfoBar, V as ViewMode, a8 as VoteCheckContext, e as bubbleShooter, i as business, a9 as checkVoteEligibility, az as createCreateSubmissionHandler, a5 as createDefaultMikuContestConfig, aF as createExportSubmissionsHandler, ax as createGetContestSnapshotHandler, aC as createListSubmissionsHandler, aq as createMikuContestDrizzlePersistenceAdapter, at as createMikuContestPersistentService, af as createMikuContestService, aE as createResetVotesHandler, aB as createReviewSubmissionHandler, aD as createSetVoterRestrictionHandler, ay as createUpdateContestConfigHandler, aA as createVoteHandler, a4 as defaultMikuVotingRules, Q as filterExperiments, W as getAllTags, _ as getCategoryColor, Z as getCategoryDisplayName, $ as getCompletionFilterDisplayName, a0 as getCompletionStatusColor, a1 as getCompletionStatusText, X as getExperimentCounts, ai as mikuContestConfigs, au as mikuContestDbService, al as mikuContestNotices, aj as mikuContestSubmissions, am as mikuContestVoterRestrictions, ak as mikuContestVotes, ac as miniappService, a2 as miniappUI, aa as sortByVotesDesc, R as sortExperiments, a7 as toVoteDayKey, a3 as useMikuContest, Y as validateExperiment, a6 as validateMikuSubmissionInput, ab as webService } from './index-B9vXYzok.mjs';
8
+ import { B as Ball, C as CollisionBalls, a as CollisionBallsConfig, T as Timeline, b as TimelineConfig, c as TimelineItem } from './index-B4wDXFL0.mjs';
9
+ export { A as About, d as AboutBase, e as Contact, E as ExperimentCard, H as Home, f as HomeConfig, P as ProjectCarousel, g as ProjectsConfig } from './index-B4wDXFL0.mjs';
4
10
  import { U as UploadFileInfo, a as UploadProgress, F as FileMetadata, b as FileQueryOptions, P as PaginatedResult, B as BatchOperationResult, A as AccessPermission, g as AudioProcessingOptions, h as CDNProviderError, C as CDNType, i as FileEvent, c as FileEventListener, j as FileEventType, k as FileProcessingError, l as FileServiceError, m as FileUploadError, I as ImageProcessingOptions, f as ProcessingOptions, e as ProcessorType, n as StorageProviderError, S as StorageType, o as UploadResult, d as UploadStatus, V as VideoProcessingOptions } from './types-B6B210gX.mjs';
5
11
  import { A as AliyunOSSConfig } from './types-Bdnte5EN.mjs';
6
- import React__default from 'react';
7
12
  import * as zod_v4_core from 'zod/v4/core';
8
13
  import * as zod from 'zod';
9
14
  import * as better_auth_plugins_email_otp from 'better-auth/plugins/email-otp';
10
15
  import * as better_auth_plugins_phone_number from 'better-auth/plugins/phone-number';
11
16
  import * as better_auth_client from 'better-auth/client';
12
17
  import * as better_auth from 'better-auth';
13
- export { e as AutoOpenModal, A as AutoOpenModalProps, C as CategoryFilter, H as CompletionFilter, k as CompletionFilterComponent, x as DraggableExperimentGrid, D as DraggableExperimentGridProps, ac as DrizzleLikeDb, s as EmptyState, r as EmptyStateProps, f as EnhancedAvatar, E as EnhancedAvatarProps, F as ExperimentCategory, p as ExperimentGrid, n as ExperimentGridItem, o as ExperimentGridProps, G as ExperimentItem, q as ExperimentItemGrid, aj as MikuContestNoticeRow, ab as MikuContestPersistenceAdapter, an as MikuContestPersistentService, am as MikuContestPersistentServiceOptions, ar as MikuContestRouteConfig, a9 as MikuContestService, aq as MikuContestServiceLike, a8 as MikuContestServiceOptions, ak as MikuContestStateDbService, ai as MikuContestVoteRow, m as PageHeader, l as PageHeaderProps, B as PermissionGuard, h as ProfileBadge, b as ProfileButton, P as ProfileButtonProps, g as ProfileData, d as ProfileModal, c as ProfileModalProps, S as SocialLink, u as SortControl, t as SortControlProps, I as SortMode, w as SortModeToggle, v as SortModeToggleProps, z as SortableExperimentItem, y as SortableExperimentItemProps, j as Stat, T as TestFieldConfig, J as TestFieldPageProps, U as UserInfoBar, V as ViewMode, a3 as VoteCheckContext, a as bubbleShooter, i as business, a4 as checkVoteEligibility, au as createCreateSubmissionHandler, a0 as createDefaultMikuContestConfig, aA as createExportSubmissionsHandler, as as createGetContestSnapshotHandler, ax as createListSubmissionsHandler, al as createMikuContestDrizzlePersistenceAdapter, ao as createMikuContestPersistentService, aa as createMikuContestService, az as createResetVotesHandler, aw as createReviewSubmissionHandler, ay as createSetVoterRestrictionHandler, at as createUpdateContestConfigHandler, av as createVoteHandler, $ as defaultMikuVotingRules, K as filterExperiments, M as getAllTags, R as getCategoryColor, Q as getCategoryDisplayName, W as getCompletionFilterDisplayName, X as getCompletionStatusColor, Y as getCompletionStatusText, N as getExperimentCounts, ad as mikuContestConfigs, ap as mikuContestDbService, ag as mikuContestNotices, ae as mikuContestSubmissions, ah as mikuContestVoterRestrictions, af as mikuContestVotes, a7 as miniappService, Z as miniappUI, a5 as sortByVotesDesc, L as sortExperiments, a2 as toVoteDayKey, _ as useMikuContest, O as validateExperiment, a1 as validateMikuSubmissionInput, a6 as webService } from './index-DLLPTprx.mjs';
14
- export { A as About, a as AboutBase, C as Contact, E as ExperimentCard, H as Home, b as HomeConfig, P as ProjectCarousel, c as ProjectsConfig } from './index-r2-zE3iC.mjs';
15
18
  export { F as FloatingMenu, c as FloatingMenuExample, N as Navigation, f as NavigationConfig, d as NavigationDirection, a as NavigationItem, e as NavigationPosition, g as NavigationProps, b as NavigationToggle } from './index-Bo_fW3Tl.mjs';
16
19
  export { k as DANMAKU_MAX_LENGTH, l as DANMAKU_TRACK_COUNT, g as DEFAULT_MAX_ACTIVE_FIREWORKS, f as DEFAULT_MAX_PARTICLES, t as DanmakuControllerOptions, n as DanmakuMessage, c as DanmakuOverlayItem, D as DanmakuPanel, s as DanmakuSendResult, h as FIREWORK_KIND_LABELS, q as FireworkEngineOptions, m as FireworkKind, p as FireworkLaunchPayload, o as FireworkPosition, F as FireworksCanvas, a as FireworksControlPanel, w as FireworksRealtimeConfig, x as FireworksRealtimeState, v as FireworksRealtimeUser, j as MIKU_PALETTE, M as MikuFireworks3D, r as MikuFireworks3DProps, N as NORMAL_PALETTE, U as UseFireworksEngineOptions, W as WebSocketTransport, b as WebSocketTransportCallbacks, d as useDanmakuController, u as useFireworksEngine, e as useFireworksRealtime } from './index-CucXCBNR.mjs';
17
20
  export { R as ResolveScreenReceiverSignalUrlOptions, a as ScreenReceiverClientRole, k as ScreenReceiverErrorMessage, e as ScreenReceiverIncomingMessage, c as ScreenReceiverJoinMessage, f as ScreenReceiverJoinedMessage, l as ScreenReceiverLogEntry, o as ScreenReceiverPanel, n as ScreenReceiverPanelProps, g as ScreenReceiverPeerJoinedMessage, h as ScreenReceiverPeerLeftMessage, S as ScreenReceiverRole, j as ScreenReceiverRoomStateMessage, d as ScreenReceiverSignalMessage, b as ScreenReceiverSignalType, U as UseScreenReceiverOptions, m as UseScreenReceiverReturn, r as resolveScreenReceiverSignalUrl, u as useScreenReceiver } from './index-C_GhVhOT.mjs';
@@ -21,9 +24,6 @@ export { f as FestivalCardAudioConfig, b as FestivalCardConfig, a as FestivalCar
21
24
  export { B as BoothAuditEvent, a as BoothAuditEventType, b as BoothFileItem, c as BoothFileKind, d as BoothRedeemGuardLike, e as BoothUploadRecord, f as BoothVaultService, g as BoothVaultServiceOptions, h as BoothVaultStore, C as CreateBoothUploadInput, i as CreateBoothUploadResult } from './boothVaultService-lKcnyA-u.mjs';
22
25
  export { G as GenerateMatchCodeOptions, V as VocaloidBoothConfig, d as defaultVocaloidBoothConfig, g as generateMatchCode, n as normalizeMatchCode, a as normalizeVocaloidBoothConfig } from './config-BQp3qLAL.mjs';
23
26
  export { f as CreateMikuAnnouncementInput, C as CreateMikuSubmissionInput, H as HttpMethod, e as MikuAnnouncement, n as MikuContestApiClient, M as MikuContestConfig, j as MikuContestPersistedState, p as MikuContestRole, h as MikuContestStateSnapshot, q as MikuContestTimeline, r as MikuFeatureToggles, g as MikuLeaderboardItem, s as MikuNoticeType, a as MikuSubmission, k as MikuSubmissionContent, i as MikuSubmissionExportRow, b as MikuSubmissionFilter, t as MikuSubmissionStatus, l as MikuVoteRecord, c as MikuVoterRestriction, m as MikuVotingRules, u as MikuWorkType, o as Requester, d as ResetMikuVotesInput, R as ReviewMikuSubmissionInput, S as SetMikuVoterRestrictionInput, V as VoteMikuSubmissionInput, v as createMikuContestApiClient, w as webUI } from './index-DowAHRIP.mjs';
24
- import 'class-variance-authority/types';
25
- import 'class-variance-authority';
26
- import '@dnd-kit/core';
27
27
  import './index-BSwvWYp2.mjs';
28
28
  import './types-HorDyIRv.mjs';
29
29
  import 'three';
@@ -392,6 +392,368 @@ declare namespace index$d {
392
392
  export { index$d_arrayUtils as arrayUtils, index$d_cn as cn, index$d_debugUtils as debugUtils, index$d_errorUtils as errorUtils, index$d_fileUtils as fileUtils, index$d_formatTime as formatTime, index$d_japaneseUtils as japaneseUtils, index$d_stringUtils as stringUtils, index$d_validators as validators };
393
393
  }
394
394
 
395
+ declare const buttonVariants: (props?: ({
396
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
397
+ size?: "default" | "sm" | "lg" | "icon" | null | undefined;
398
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
399
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
400
+ variant?: 'default' | 'destructive' | 'outline' | 'secondary' | 'ghost' | 'link';
401
+ size?: 'default' | 'sm' | 'lg' | 'icon';
402
+ asChild?: boolean;
403
+ }
404
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
405
+
406
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
407
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
408
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
409
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
410
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
411
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
412
+
413
+ declare const badgeVariants: (props?: ({
414
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
415
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
416
+ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
417
+ }
418
+ declare function Badge({ className, variant, ...props }: BadgeProps): React.JSX.Element;
419
+
420
+ declare const Input: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
421
+
422
+ declare const Label: React.ForwardRefExoticComponent<React.LabelHTMLAttributes<HTMLLabelElement> & VariantProps<(props?: class_variance_authority_types.ClassProp | undefined) => string> & React.RefAttributes<HTMLLabelElement>>;
423
+
424
+ interface TabsProps extends React.HTMLAttributes<HTMLDivElement> {
425
+ value?: string;
426
+ defaultValue?: string;
427
+ onValueChange?: (value: string) => void;
428
+ }
429
+ declare const Tabs: ({ value, defaultValue, onValueChange, className, ...props }: TabsProps) => React.JSX.Element;
430
+ declare const TabsList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
431
+ interface TabsTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
432
+ value: string;
433
+ }
434
+ declare const TabsTrigger: React.ForwardRefExoticComponent<TabsTriggerProps & React.RefAttributes<HTMLButtonElement>>;
435
+ interface TabsContentProps extends React.HTMLAttributes<HTMLDivElement> {
436
+ value: string;
437
+ forceMount?: boolean;
438
+ }
439
+ declare const TabsContent: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
440
+
441
+ interface DialogProps {
442
+ open?: boolean;
443
+ defaultOpen?: boolean;
444
+ onOpenChange?: (open: boolean) => void;
445
+ children: React.ReactNode;
446
+ }
447
+ declare const Dialog: ({ open, defaultOpen, onOpenChange, children }: DialogProps) => React.JSX.Element;
448
+ interface TriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
449
+ asChild?: boolean;
450
+ children: React.ReactNode;
451
+ }
452
+ declare const DialogTrigger: React.ForwardRefExoticComponent<TriggerProps & React.RefAttributes<HTMLButtonElement>>;
453
+ declare const DialogPortal: ({ children }: {
454
+ children: React.ReactNode;
455
+ }) => React.JSX.Element | null;
456
+ declare const DialogClose: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
457
+ declare const DialogOverlay: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
458
+ interface DialogContentProps extends React.HTMLAttributes<HTMLDivElement> {
459
+ onPointerDownOutside?: (event: PointerEvent) => void;
460
+ onEscapeKeyDown?: (event: KeyboardEvent) => void;
461
+ showCloseButton?: boolean;
462
+ overlayClassName?: string;
463
+ }
464
+ declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
465
+ declare const DialogHeader: {
466
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
467
+ displayName: string;
468
+ };
469
+ declare const DialogFooter: {
470
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
471
+ displayName: string;
472
+ };
473
+ declare const DialogTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
474
+ declare const DialogDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
475
+
476
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
477
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
478
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
479
+
480
+ interface DropdownMenuProps {
481
+ open?: boolean;
482
+ defaultOpen?: boolean;
483
+ onOpenChange?: (open: boolean) => void;
484
+ children: React.ReactNode;
485
+ }
486
+ declare const DropdownMenu: ({ open, defaultOpen, onOpenChange, children }: DropdownMenuProps) => React.JSX.Element;
487
+ declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
488
+ asChild?: boolean;
489
+ children: React.ReactNode;
490
+ } & React.RefAttributes<HTMLButtonElement>>;
491
+ declare const DropdownMenuGroup: ({ children }: {
492
+ children: React.ReactNode;
493
+ }) => React.JSX.Element;
494
+ declare const DropdownMenuPortal: ({ children }: {
495
+ children: React.ReactNode;
496
+ }) => React.JSX.Element;
497
+ declare const DropdownMenuSub: ({ children }: {
498
+ children: React.ReactNode;
499
+ }) => React.JSX.Element;
500
+ declare const DropdownMenuContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
501
+ sideOffset?: number;
502
+ } & React.RefAttributes<HTMLDivElement>>;
503
+ type SelectEventLike = Event & {
504
+ preventDefault: () => void;
505
+ defaultPrevented: boolean;
506
+ };
507
+ declare const DropdownMenuItem: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
508
+ inset?: boolean;
509
+ onSelect?: (event: SelectEventLike) => void;
510
+ } & React.RefAttributes<HTMLButtonElement>>;
511
+ declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
512
+ checked?: boolean;
513
+ onCheckedChange?: (checked: boolean) => void;
514
+ } & React.RefAttributes<HTMLButtonElement>>;
515
+ declare const DropdownMenuRadioGroup: ({ value, onValueChange, children, }: {
516
+ value?: string;
517
+ onValueChange?: (value: string) => void;
518
+ children: React.ReactNode;
519
+ }) => React.JSX.Element;
520
+ declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
521
+ value: string;
522
+ } & React.RefAttributes<HTMLButtonElement>>;
523
+ declare const DropdownMenuLabel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
524
+ inset?: boolean;
525
+ } & React.RefAttributes<HTMLDivElement>>;
526
+ declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
527
+ declare const DropdownMenuShortcut: {
528
+ ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
529
+ displayName: string;
530
+ };
531
+ declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
532
+ inset?: boolean;
533
+ } & React.RefAttributes<HTMLButtonElement>>;
534
+ declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
535
+
536
+ interface PopoverProps {
537
+ open?: boolean;
538
+ defaultOpen?: boolean;
539
+ onOpenChange?: (open: boolean) => void;
540
+ children: React.ReactNode;
541
+ }
542
+ declare const Popover: ({ open, defaultOpen, onOpenChange, children }: PopoverProps) => React.JSX.Element;
543
+ interface PopoverTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
544
+ asChild?: boolean;
545
+ children: React.ReactNode;
546
+ }
547
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
548
+ declare const PopoverAnchor: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
549
+ interface PopoverContentProps extends React.HTMLAttributes<HTMLDivElement> {
550
+ align?: "start" | "center" | "end";
551
+ sideOffset?: number;
552
+ }
553
+ declare const PopoverContent: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
554
+
555
+ interface ProgressProps extends React.HTMLAttributes<HTMLDivElement> {
556
+ value?: number;
557
+ max?: number;
558
+ }
559
+ declare const Progress: React.ForwardRefExoticComponent<ProgressProps & React.RefAttributes<HTMLDivElement>>;
560
+
561
+ declare const ScrollArea: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
562
+ interface ScrollBarProps extends React.HTMLAttributes<HTMLDivElement> {
563
+ orientation?: "vertical" | "horizontal";
564
+ }
565
+ declare const ScrollBar: React.ForwardRefExoticComponent<ScrollBarProps & React.RefAttributes<HTMLDivElement>>;
566
+
567
+ interface SelectProps {
568
+ value?: string;
569
+ defaultValue?: string;
570
+ onValueChange?: (value: string) => void;
571
+ open?: boolean;
572
+ defaultOpen?: boolean;
573
+ onOpenChange?: (open: boolean) => void;
574
+ disabled?: boolean;
575
+ children: React.ReactNode;
576
+ }
577
+ declare const Select: ({ value, defaultValue, onValueChange, open, defaultOpen, onOpenChange, disabled, children, }: SelectProps) => React.JSX.Element;
578
+ declare const SelectGroup: ({ children }: {
579
+ children: React.ReactNode;
580
+ }) => React.JSX.Element;
581
+ declare const SelectValue: ({ placeholder, children, }: {
582
+ placeholder?: React.ReactNode;
583
+ children?: React.ReactNode;
584
+ }) => React.JSX.Element | null;
585
+ declare const SelectTrigger: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
586
+ declare const SelectScrollUpButton: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
587
+ declare const SelectScrollDownButton: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
588
+ declare const SelectContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
589
+ position?: "item-aligned" | "popper";
590
+ } & React.RefAttributes<HTMLDivElement>>;
591
+ declare const SelectLabel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
592
+ interface SelectItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
593
+ value: string;
594
+ }
595
+ declare const SelectItem: React.ForwardRefExoticComponent<SelectItemProps & React.RefAttributes<HTMLButtonElement>>;
596
+ declare const SelectSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
597
+
598
+ interface SeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
599
+ orientation?: "horizontal" | "vertical";
600
+ decorative?: boolean;
601
+ }
602
+ declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
603
+
604
+ declare const sheetVariants: (props?: ({
605
+ side?: "top" | "left" | "right" | "bottom" | null | undefined;
606
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
607
+ interface SheetContentProps extends Omit<React.ComponentPropsWithoutRef<typeof DialogContent>, "children">, VariantProps<typeof sheetVariants> {
608
+ children?: React.ReactNode;
609
+ }
610
+ declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
611
+ declare const SheetHeader: {
612
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
613
+ displayName: string;
614
+ };
615
+ declare const SheetFooter: {
616
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
617
+ displayName: string;
618
+ };
619
+ declare const SheetTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
620
+ declare const SheetDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
621
+
622
+ declare const Textarea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
623
+
624
+ declare const TooltipProvider: ({ children, delayDuration, }: {
625
+ children: React.ReactNode;
626
+ delayDuration?: number;
627
+ }) => React.JSX.Element;
628
+ declare const Tooltip: ({ children }: {
629
+ children: React.ReactNode;
630
+ }) => React.JSX.Element;
631
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & {
632
+ asChild?: boolean;
633
+ children: React.ReactNode;
634
+ } & React.RefAttributes<HTMLSpanElement>>;
635
+ declare const TooltipContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
636
+ sideOffset?: number;
637
+ } & React.RefAttributes<HTMLDivElement>>;
638
+
639
+ declare const Avatar: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
640
+ declare const AvatarImage: React.ForwardRefExoticComponent<React.ImgHTMLAttributes<HTMLImageElement> & React.RefAttributes<HTMLImageElement>>;
641
+ declare const AvatarFallback: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & React.RefAttributes<HTMLSpanElement>>;
642
+
643
+ interface SearchBoxProps {
644
+ searchQuery: string;
645
+ onSearchChange: (query: string) => void;
646
+ placeholder?: string;
647
+ size?: 'small' | 'medium' | 'large';
648
+ }
649
+ declare const SearchBox: React__default.FC<SearchBoxProps>;
650
+
651
+ interface OrderableItem {
652
+ id: number;
653
+ [key: string]: any;
654
+ }
655
+ interface OrderManagerOperations<T extends OrderableItem> {
656
+ loadItems: () => Promise<T[]>;
657
+ moveItemUp: (id: number) => Promise<void>;
658
+ moveItemDown: (id: number) => Promise<void>;
659
+ updateItemOrder: (orders: {
660
+ id: number;
661
+ order: number;
662
+ }[]) => Promise<void>;
663
+ }
664
+ interface GenericOrderManagerProps<T extends OrderableItem> {
665
+ operations: OrderManagerOperations<T>;
666
+ renderItem: (item: T, index: number, isFirst: boolean, isLast: boolean) => React__default.ReactNode;
667
+ className?: string;
668
+ title?: string;
669
+ description?: string;
670
+ onOrderChanged?: () => void;
671
+ emptyMessage?: string;
672
+ loadingMessage?: string;
673
+ }
674
+ declare function GenericOrderManager<T extends OrderableItem>({ operations, renderItem, className, title, description, onOrderChanged, emptyMessage, loadingMessage }: GenericOrderManagerProps<T>): React__default.JSX.Element;
675
+
676
+ interface BackButtonProps {
677
+ href?: string;
678
+ className?: string;
679
+ }
680
+ declare const BackButton: React__default.FC<BackButtonProps>;
681
+
682
+ interface FilterOption<T> {
683
+ value: T;
684
+ label: string;
685
+ icon: string;
686
+ activeColor: {
687
+ bg: string;
688
+ shadow: string;
689
+ };
690
+ count?: number;
691
+ showCount?: boolean;
692
+ }
693
+ interface FilterButtonGroupProps<T> {
694
+ label: string;
695
+ value: T;
696
+ options: FilterOption<T>[];
697
+ onChange: (value: T) => void;
698
+ className?: string;
699
+ }
700
+ declare function FilterButtonGroup<T extends string>({ label, value, options, onChange, className }: FilterButtonGroupProps<T>): React__default.JSX.Element;
701
+
702
+ interface SearchResultHintProps {
703
+ searchQuery: string;
704
+ resultCount: number;
705
+ className?: string;
706
+ }
707
+ declare function SearchResultHint({ searchQuery, resultCount, className }: SearchResultHintProps): React__default.JSX.Element | null;
708
+
709
+ interface ModalProps {
710
+ isOpen: boolean;
711
+ onClose: () => void;
712
+ title?: string;
713
+ width?: number | string;
714
+ height?: number | string;
715
+ className?: string;
716
+ maskClosable?: boolean;
717
+ children: React__default.ReactNode;
718
+ zIndex?: number;
719
+ overlayClassName?: string;
720
+ }
721
+ declare const Modal: React__default.FC<ModalProps>;
722
+ interface ConfirmModalProps {
723
+ isOpen: boolean;
724
+ onClose: () => void;
725
+ onConfirm: () => void;
726
+ title?: string;
727
+ message: string;
728
+ confirmText?: string;
729
+ cancelText?: string;
730
+ isLoading?: boolean;
731
+ }
732
+ declare const ConfirmModal: React__default.FC<ConfirmModalProps>;
733
+
734
+ interface ImageMappingItem {
735
+ id: string;
736
+ label: string;
737
+ }
738
+ type ImageMappingValue = Record<string, string>;
739
+ interface ImageMappingPanelProps {
740
+ title: string;
741
+ items: ImageMappingItem[];
742
+ value: ImageMappingValue;
743
+ onChange: (next: ImageMappingValue) => void;
744
+ className?: string;
745
+ uploadLabel?: string;
746
+ clearLabel?: string;
747
+ }
748
+ declare function ImageMappingPanel({ title, items, value, onChange, className, uploadLabel, clearLabel, }: ImageMappingPanelProps): React__default.JSX.Element;
749
+
750
+ interface LocalImageMappingPanelProps extends Omit<ImageMappingPanelProps, 'value' | 'onChange'> {
751
+ storageKey: string;
752
+ defaultValue?: ImageMappingValue;
753
+ onValueChange?: (next: ImageMappingValue) => void;
754
+ }
755
+ declare function LocalImageMappingPanel({ storageKey, defaultValue, onValueChange, ...panelProps }: LocalImageMappingPanelProps): React__default.JSX.Element;
756
+
395
757
  declare const index$c_AlertDialogAction: typeof AlertDialogAction;
396
758
  declare const index$c_AlertDialogCancel: typeof AlertDialogCancel;
397
759
  declare const index$c_AlertDialogContent: typeof AlertDialogContent;
@@ -399,12 +761,12 @@ declare const index$c_Avatar: typeof Avatar;
399
761
  declare const index$c_AvatarFallback: typeof AvatarFallback;
400
762
  declare const index$c_AvatarImage: typeof AvatarImage;
401
763
  declare const index$c_BackButton: typeof BackButton;
402
- declare const index$c_BackButtonProps: typeof BackButtonProps;
764
+ type index$c_BackButtonProps = BackButtonProps;
403
765
  declare const index$c_Badge: typeof Badge;
404
- declare const index$c_BadgeProps: typeof BadgeProps;
766
+ type index$c_BadgeProps = BadgeProps;
405
767
  declare const index$c_Ball: typeof Ball;
406
768
  declare const index$c_Button: typeof Button;
407
- declare const index$c_ButtonProps: typeof ButtonProps;
769
+ type index$c_ButtonProps = ButtonProps;
408
770
  declare const index$c_Card: typeof Card;
409
771
  declare const index$c_CardContent: typeof CardContent;
410
772
  declare const index$c_CardDescription: typeof CardDescription;
@@ -414,11 +776,11 @@ declare const index$c_CardTitle: typeof CardTitle;
414
776
  declare const index$c_CollisionBalls: typeof CollisionBalls;
415
777
  declare const index$c_CollisionBallsConfig: typeof CollisionBallsConfig;
416
778
  declare const index$c_ConfirmModal: typeof ConfirmModal;
417
- declare const index$c_ConfirmModalProps: typeof ConfirmModalProps;
779
+ type index$c_ConfirmModalProps = ConfirmModalProps;
418
780
  declare const index$c_Dialog: typeof Dialog;
419
781
  declare const index$c_DialogClose: typeof DialogClose;
420
782
  declare const index$c_DialogContent: typeof DialogContent;
421
- declare const index$c_DialogContentProps: typeof DialogContentProps;
783
+ type index$c_DialogContentProps = DialogContentProps;
422
784
  declare const index$c_DialogDescription: typeof DialogDescription;
423
785
  declare const index$c_DialogFooter: typeof DialogFooter;
424
786
  declare const index$c_DialogHeader: typeof DialogHeader;
@@ -442,38 +804,38 @@ declare const index$c_DropdownMenuSubContent: typeof DropdownMenuSubContent;
442
804
  declare const index$c_DropdownMenuSubTrigger: typeof DropdownMenuSubTrigger;
443
805
  declare const index$c_DropdownMenuTrigger: typeof DropdownMenuTrigger;
444
806
  declare const index$c_FilterButtonGroup: typeof FilterButtonGroup;
445
- declare const index$c_FilterButtonGroupProps: typeof FilterButtonGroupProps;
446
- declare const index$c_FilterOption: typeof FilterOption;
807
+ type index$c_FilterButtonGroupProps<T> = FilterButtonGroupProps<T>;
808
+ type index$c_FilterOption<T> = FilterOption<T>;
447
809
  declare const index$c_GenericOrderManager: typeof GenericOrderManager;
448
- declare const index$c_GenericOrderManagerProps: typeof GenericOrderManagerProps;
810
+ type index$c_GenericOrderManagerProps<T extends OrderableItem> = GenericOrderManagerProps<T>;
449
811
  declare const index$c_Grid: typeof Grid;
450
812
  declare const index$c_GridColumns: typeof GridColumns;
451
813
  declare const index$c_GridGap: typeof GridGap;
452
814
  declare const index$c_GridItem: typeof GridItem;
453
815
  declare const index$c_GridProps: typeof GridProps;
454
- declare const index$c_ImageMappingItem: typeof ImageMappingItem;
816
+ type index$c_ImageMappingItem = ImageMappingItem;
455
817
  declare const index$c_ImageMappingPanel: typeof ImageMappingPanel;
456
- declare const index$c_ImageMappingPanelProps: typeof ImageMappingPanelProps;
457
- declare const index$c_ImageMappingValue: typeof ImageMappingValue;
818
+ type index$c_ImageMappingPanelProps = ImageMappingPanelProps;
819
+ type index$c_ImageMappingValue = ImageMappingValue;
458
820
  declare const index$c_Input: typeof Input;
459
821
  declare const index$c_Label: typeof Label;
460
822
  declare const index$c_LocalImageMappingPanel: typeof LocalImageMappingPanel;
461
- declare const index$c_LocalImageMappingPanelProps: typeof LocalImageMappingPanelProps;
823
+ type index$c_LocalImageMappingPanelProps = LocalImageMappingPanelProps;
462
824
  declare const index$c_Modal: typeof Modal;
463
- declare const index$c_ModalProps: typeof ModalProps;
464
- declare const index$c_OrderManagerOperations: typeof OrderManagerOperations;
465
- declare const index$c_OrderableItem: typeof OrderableItem;
825
+ type index$c_ModalProps = ModalProps;
826
+ type index$c_OrderManagerOperations<T extends OrderableItem> = OrderManagerOperations<T>;
827
+ type index$c_OrderableItem = OrderableItem;
466
828
  declare const index$c_Popover: typeof Popover;
467
829
  declare const index$c_PopoverAnchor: typeof PopoverAnchor;
468
830
  declare const index$c_PopoverContent: typeof PopoverContent;
469
831
  declare const index$c_PopoverTrigger: typeof PopoverTrigger;
470
832
  declare const index$c_Progress: typeof Progress;
471
- declare const index$c_ProgressProps: typeof ProgressProps;
833
+ type index$c_ProgressProps = ProgressProps;
472
834
  declare const index$c_ScrollArea: typeof ScrollArea;
473
835
  declare const index$c_ScrollBar: typeof ScrollBar;
474
836
  declare const index$c_SearchBox: typeof SearchBox;
475
837
  declare const index$c_SearchResultHint: typeof SearchResultHint;
476
- declare const index$c_SearchResultHintProps: typeof SearchResultHintProps;
838
+ type index$c_SearchResultHintProps = SearchResultHintProps;
477
839
  declare const index$c_Select: typeof Select;
478
840
  declare const index$c_SelectContent: typeof SelectContent;
479
841
  declare const index$c_SelectGroup: typeof SelectGroup;
@@ -485,7 +847,7 @@ declare const index$c_SelectSeparator: typeof SelectSeparator;
485
847
  declare const index$c_SelectTrigger: typeof SelectTrigger;
486
848
  declare const index$c_SelectValue: typeof SelectValue;
487
849
  declare const index$c_Separator: typeof Separator;
488
- declare const index$c_SeparatorProps: typeof SeparatorProps;
850
+ type index$c_SeparatorProps = SeparatorProps;
489
851
  declare const index$c_SheetContent: typeof SheetContent;
490
852
  declare const index$c_SheetDescription: typeof SheetDescription;
491
853
  declare const index$c_SheetFooter: typeof SheetFooter;
@@ -506,7 +868,7 @@ declare const index$c_TooltipTrigger: typeof TooltipTrigger;
506
868
  declare const index$c_badgeVariants: typeof badgeVariants;
507
869
  declare const index$c_buttonVariants: typeof buttonVariants;
508
870
  declare namespace index$c {
509
- export { Dialog as AlertDialog, index$c_AlertDialogAction as AlertDialogAction, index$c_AlertDialogCancel as AlertDialogCancel, index$c_AlertDialogContent as AlertDialogContent, DialogDescription as AlertDialogDescription, DialogFooter as AlertDialogFooter, DialogHeader as AlertDialogHeader, DialogOverlay as AlertDialogOverlay, DialogPortal as AlertDialogPortal, DialogTitle as AlertDialogTitle, DialogTrigger as AlertDialogTrigger, index$c_Avatar as Avatar, index$c_AvatarFallback as AvatarFallback, index$c_AvatarImage as AvatarImage, index$c_BackButton as BackButton, index$c_BackButtonProps as BackButtonProps, index$c_Badge as Badge, index$c_BadgeProps as BadgeProps, index$c_Ball as Ball, index$c_Button as Button, index$c_ButtonProps as ButtonProps, index$c_Card as Card, index$c_CardContent as CardContent, index$c_CardDescription as CardDescription, index$c_CardFooter as CardFooter, index$c_CardHeader as CardHeader, index$c_CardTitle as CardTitle, index$c_CollisionBalls as CollisionBalls, index$c_CollisionBallsConfig as CollisionBallsConfig, index$c_ConfirmModal as ConfirmModal, index$c_ConfirmModalProps as ConfirmModalProps, index$c_Dialog as Dialog, index$c_DialogClose as DialogClose, index$c_DialogContent as DialogContent, index$c_DialogContentProps as DialogContentProps, index$c_DialogDescription as DialogDescription, index$c_DialogFooter as DialogFooter, index$c_DialogHeader as DialogHeader, index$c_DialogOverlay as DialogOverlay, index$c_DialogPortal as DialogPortal, index$c_DialogTitle as DialogTitle, index$c_DialogTrigger as DialogTrigger, index$c_DropdownMenu as DropdownMenu, index$c_DropdownMenuCheckboxItem as DropdownMenuCheckboxItem, index$c_DropdownMenuContent as DropdownMenuContent, index$c_DropdownMenuGroup as DropdownMenuGroup, index$c_DropdownMenuItem as DropdownMenuItem, index$c_DropdownMenuLabel as DropdownMenuLabel, index$c_DropdownMenuPortal as DropdownMenuPortal, index$c_DropdownMenuRadioGroup as DropdownMenuRadioGroup, index$c_DropdownMenuRadioItem as DropdownMenuRadioItem, index$c_DropdownMenuSeparator as DropdownMenuSeparator, index$c_DropdownMenuShortcut as DropdownMenuShortcut, index$c_DropdownMenuSub as DropdownMenuSub, index$c_DropdownMenuSubContent as DropdownMenuSubContent, index$c_DropdownMenuSubTrigger as DropdownMenuSubTrigger, index$c_DropdownMenuTrigger as DropdownMenuTrigger, index$c_FilterButtonGroup as FilterButtonGroup, index$c_FilterButtonGroupProps as FilterButtonGroupProps, index$c_FilterOption as FilterOption, index$c_GenericOrderManager as GenericOrderManager, index$c_GenericOrderManagerProps as GenericOrderManagerProps, index$c_Grid as Grid, index$c_GridColumns as GridColumns, index$c_GridGap as GridGap, index$c_GridItem as GridItem, index$c_GridProps as GridProps, index$c_ImageMappingItem as ImageMappingItem, index$c_ImageMappingPanel as ImageMappingPanel, index$c_ImageMappingPanelProps as ImageMappingPanelProps, index$c_ImageMappingValue as ImageMappingValue, index$c_Input as Input, index$c_Label as Label, index$c_LocalImageMappingPanel as LocalImageMappingPanel, index$c_LocalImageMappingPanelProps as LocalImageMappingPanelProps, index$c_Modal as Modal, index$c_ModalProps as ModalProps, index$c_OrderManagerOperations as OrderManagerOperations, index$c_OrderableItem as OrderableItem, index$c_Popover as Popover, index$c_PopoverAnchor as PopoverAnchor, index$c_PopoverContent as PopoverContent, index$c_PopoverTrigger as PopoverTrigger, index$c_Progress as Progress, index$c_ProgressProps as ProgressProps, index$c_ScrollArea as ScrollArea, index$c_ScrollBar as ScrollBar, index$c_SearchBox as SearchBox, index$c_SearchResultHint as SearchResultHint, index$c_SearchResultHintProps as SearchResultHintProps, index$c_Select as Select, index$c_SelectContent as SelectContent, index$c_SelectGroup as SelectGroup, index$c_SelectItem as SelectItem, index$c_SelectLabel as SelectLabel, index$c_SelectScrollDownButton as SelectScrollDownButton, index$c_SelectScrollUpButton as SelectScrollUpButton, index$c_SelectSeparator as SelectSeparator, index$c_SelectTrigger as SelectTrigger, index$c_SelectValue as SelectValue, index$c_Separator as Separator, index$c_SeparatorProps as SeparatorProps, Dialog as Sheet, DialogClose as SheetClose, index$c_SheetContent as SheetContent, index$c_SheetDescription as SheetDescription, index$c_SheetFooter as SheetFooter, index$c_SheetHeader as SheetHeader, DialogOverlay as SheetOverlay, DialogPortal as SheetPortal, index$c_SheetTitle as SheetTitle, DialogTrigger as SheetTrigger, index$c_Tabs as Tabs, index$c_TabsContent as TabsContent, index$c_TabsList as TabsList, index$c_TabsTrigger as TabsTrigger, index$c_Textarea as Textarea, index$c_Timeline as Timeline, index$c_TimelineConfig as TimelineConfig, index$c_TimelineItem as TimelineItem, index$c_Tooltip as Tooltip, index$c_TooltipContent as TooltipContent, index$c_TooltipProvider as TooltipProvider, index$c_TooltipTrigger as TooltipTrigger, index$c_badgeVariants as badgeVariants, index$c_buttonVariants as buttonVariants };
871
+ export { Dialog as AlertDialog, index$c_AlertDialogAction as AlertDialogAction, index$c_AlertDialogCancel as AlertDialogCancel, index$c_AlertDialogContent as AlertDialogContent, DialogDescription as AlertDialogDescription, DialogFooter as AlertDialogFooter, DialogHeader as AlertDialogHeader, DialogOverlay as AlertDialogOverlay, DialogPortal as AlertDialogPortal, DialogTitle as AlertDialogTitle, DialogTrigger as AlertDialogTrigger, index$c_Avatar as Avatar, index$c_AvatarFallback as AvatarFallback, index$c_AvatarImage as AvatarImage, index$c_BackButton as BackButton, type index$c_BackButtonProps as BackButtonProps, index$c_Badge as Badge, type index$c_BadgeProps as BadgeProps, index$c_Ball as Ball, index$c_Button as Button, type index$c_ButtonProps as ButtonProps, index$c_Card as Card, index$c_CardContent as CardContent, index$c_CardDescription as CardDescription, index$c_CardFooter as CardFooter, index$c_CardHeader as CardHeader, index$c_CardTitle as CardTitle, index$c_CollisionBalls as CollisionBalls, index$c_CollisionBallsConfig as CollisionBallsConfig, index$c_ConfirmModal as ConfirmModal, type index$c_ConfirmModalProps as ConfirmModalProps, index$c_Dialog as Dialog, index$c_DialogClose as DialogClose, index$c_DialogContent as DialogContent, type index$c_DialogContentProps as DialogContentProps, index$c_DialogDescription as DialogDescription, index$c_DialogFooter as DialogFooter, index$c_DialogHeader as DialogHeader, index$c_DialogOverlay as DialogOverlay, index$c_DialogPortal as DialogPortal, index$c_DialogTitle as DialogTitle, index$c_DialogTrigger as DialogTrigger, index$c_DropdownMenu as DropdownMenu, index$c_DropdownMenuCheckboxItem as DropdownMenuCheckboxItem, index$c_DropdownMenuContent as DropdownMenuContent, index$c_DropdownMenuGroup as DropdownMenuGroup, index$c_DropdownMenuItem as DropdownMenuItem, index$c_DropdownMenuLabel as DropdownMenuLabel, index$c_DropdownMenuPortal as DropdownMenuPortal, index$c_DropdownMenuRadioGroup as DropdownMenuRadioGroup, index$c_DropdownMenuRadioItem as DropdownMenuRadioItem, index$c_DropdownMenuSeparator as DropdownMenuSeparator, index$c_DropdownMenuShortcut as DropdownMenuShortcut, index$c_DropdownMenuSub as DropdownMenuSub, index$c_DropdownMenuSubContent as DropdownMenuSubContent, index$c_DropdownMenuSubTrigger as DropdownMenuSubTrigger, index$c_DropdownMenuTrigger as DropdownMenuTrigger, index$c_FilterButtonGroup as FilterButtonGroup, type index$c_FilterButtonGroupProps as FilterButtonGroupProps, type index$c_FilterOption as FilterOption, index$c_GenericOrderManager as GenericOrderManager, type index$c_GenericOrderManagerProps as GenericOrderManagerProps, index$c_Grid as Grid, index$c_GridColumns as GridColumns, index$c_GridGap as GridGap, index$c_GridItem as GridItem, index$c_GridProps as GridProps, type index$c_ImageMappingItem as ImageMappingItem, index$c_ImageMappingPanel as ImageMappingPanel, type index$c_ImageMappingPanelProps as ImageMappingPanelProps, type index$c_ImageMappingValue as ImageMappingValue, index$c_Input as Input, index$c_Label as Label, index$c_LocalImageMappingPanel as LocalImageMappingPanel, type index$c_LocalImageMappingPanelProps as LocalImageMappingPanelProps, index$c_Modal as Modal, type index$c_ModalProps as ModalProps, type index$c_OrderManagerOperations as OrderManagerOperations, type index$c_OrderableItem as OrderableItem, index$c_Popover as Popover, index$c_PopoverAnchor as PopoverAnchor, index$c_PopoverContent as PopoverContent, index$c_PopoverTrigger as PopoverTrigger, index$c_Progress as Progress, type index$c_ProgressProps as ProgressProps, index$c_ScrollArea as ScrollArea, index$c_ScrollBar as ScrollBar, index$c_SearchBox as SearchBox, index$c_SearchResultHint as SearchResultHint, type index$c_SearchResultHintProps as SearchResultHintProps, index$c_Select as Select, index$c_SelectContent as SelectContent, index$c_SelectGroup as SelectGroup, index$c_SelectItem as SelectItem, index$c_SelectLabel as SelectLabel, index$c_SelectScrollDownButton as SelectScrollDownButton, index$c_SelectScrollUpButton as SelectScrollUpButton, index$c_SelectSeparator as SelectSeparator, index$c_SelectTrigger as SelectTrigger, index$c_SelectValue as SelectValue, index$c_Separator as Separator, type index$c_SeparatorProps as SeparatorProps, Dialog as Sheet, DialogClose as SheetClose, index$c_SheetContent as SheetContent, index$c_SheetDescription as SheetDescription, index$c_SheetFooter as SheetFooter, index$c_SheetHeader as SheetHeader, DialogOverlay as SheetOverlay, DialogPortal as SheetPortal, index$c_SheetTitle as SheetTitle, DialogTrigger as SheetTrigger, index$c_Tabs as Tabs, index$c_TabsContent as TabsContent, index$c_TabsList as TabsList, index$c_TabsTrigger as TabsTrigger, index$c_Textarea as Textarea, index$c_Timeline as Timeline, index$c_TimelineConfig as TimelineConfig, index$c_TimelineItem as TimelineItem, index$c_Tooltip as Tooltip, index$c_TooltipContent as TooltipContent, index$c_TooltipProvider as TooltipProvider, index$c_TooltipTrigger as TooltipTrigger, index$c_badgeVariants as badgeVariants, index$c_buttonVariants as buttonVariants };
510
872
  }
511
873
 
512
874
  /**
@@ -10612,6 +10974,14 @@ interface ConnectivityTestOutput {
10612
10974
  ok: boolean;
10613
10975
  reply: string;
10614
10976
  }
10977
+ /** GET /api/ai/config 响应(宿主实现,不暴露 apiKey) */
10978
+ interface AiServerConfigStatus {
10979
+ serverConfigured: boolean;
10980
+ baseUrl?: string;
10981
+ visionModel?: string;
10982
+ textModel?: string;
10983
+ error?: string;
10984
+ }
10615
10985
  interface AiModelsListRequest {
10616
10986
  clientSettings?: AiClientSettings;
10617
10987
  }
@@ -10839,4 +11209,4 @@ declare const coreStructuredMultimodalTask: AiTaskDefinition<StructuredMultimoda
10839
11209
 
10840
11210
  declare const coreConnectivityTestTask: AiTaskDefinition<Record<string, never>, ConnectivityTestOutput>;
10841
11211
 
10842
- export { type AiApiErrorBody, type AiApiErrorCode, type AiApiResponse, type AiApiResponseMeta, type AiApiRunRequest, type AiAudioInput, type AiAudioMediaInput, type AiClientSettings, type AiConnectionConfig, type AiConnectionSettings, type AiImageInput, type AiImageMediaInput, type AiMediaInput, type AiMediaKind, type AiModelsListRequest, type AiModelsListResponse, type AiTaskContext, type AiTaskDefinition, type AiTaskRunOptions, Dialog as AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, DialogDescription as AlertDialogDescription, DialogFooter as AlertDialogFooter, DialogHeader as AlertDialogHeader, DialogOverlay as AlertDialogOverlay, DialogPortal as AlertDialogPortal, DialogTitle as AlertDialogTitle, DialogTrigger as AlertDialogTrigger, type AudioStrategy, Avatar, AvatarFallback, AvatarImage, BackButton, BackButtonProps, type BackgroundRemovalOptions, type BackgroundRemovalState, BackgroundRemover, Badge, BadgeProps, Ball, Button, ButtonProps, CORE_CONNECTIVITY_TEST_TASK_ID, CORE_LLM_COMPLETION_TASK_ID, CORE_STRUCTURED_MULTIMODAL_TASK_ID, type CallChatOptions, type CallChatResult, type CallCompletionParams, type CallCompletionResult, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChatMessage, type ChatRole, type ChatUsage, CollisionBalls, CollisionBallsConfig, ConfirmModal, ConfirmModalProps, type ConnectivityTestOutput, ConsoleLoggerAdapter, DEFAULT_OPENAI_BASE_URL, DEFAULT_TEXT_MODEL, Dialog, DialogClose, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FilterButtonGroup, FilterButtonGroupProps, FilterOption, GenericOrderManager, GenericOrderManagerProps, Grid, GridColumns, GridGap, GridItem, GridProps, ImageMappingItem, ImageMappingPanel, ImageMappingPanelProps, ImageMappingValue, Input, type JsonRequestOptions, Label, type ListModelsResult, LocalImageMappingPanel, LocalImageMappingPanelProps, type LogEntry, LogLevel, Logger, type LoggerAdapter, type LoggerConfig, Modal, ModalProps, type MultimodalChatParams, type MultimodalChatResult, type OCROptions, type OCRResult, OCRScanner, type OCRState, OrderManagerOperations, OrderableItem, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, ProgressProps, type ResolvedAudioHandling, ScrollArea, ScrollBar, SearchBox, SearchResultHint, SearchResultHintProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SentimentAnalyzer, type SentimentOptions, type SentimentResult, type SentimentState, Separator, SeparatorProps, Dialog as Sheet, DialogClose as SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, DialogOverlay as SheetOverlay, DialogPortal as SheetPortal, SheetTitle, DialogTrigger as SheetTrigger, SmartAssistant, type StorageAdapter, type StorageChangeEvent, type StructuredMultimodalInput, type StructuredMultimodalOutput, Tabs, TabsContent, TabsList, TabsTrigger, type TextCompletionInput, type TextCompletionOutput, type TextGenerationOptions, type TextGenerationState, Textarea, Timeline, TimelineConfig, TimelineItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TranscribeAudioOptions, type VisionMessageFormat, appendTranscriptionsToPrompt, arrayUtils, assertMultimodalCapableModel, assertValidAudioInput, assertValidImageInput, assertValidMultimodalMedia, assertVisionCapableModel, badgeVariants, base64ToBlob, buildMultimodalMessages, buttonVariants, callChat, callCompletion, callMultimodalChat, clearAiTasksForTest, cn, index as common, coreConnectivityTestTask, coreLlmCompletionTask, coreStructuredMultimodalTask, createLogger, debugUtils, detectVisionMessageFormat, ensureCoreAiTasksRegistered, errorUtils, extractJsonObject, fileToAiAudioInput, fileToAiImageInput, fileUtils, filterChatModels, filterSttModels, filterVisionModels, formatTime, getAiTask, isAudioInputError, isImageUrlVariantError, isKnownTextOnlyModel, isLikelyNativeAudioChatModel, isLikelySttModel, isLikelyVisionModel, japaneseUtils, listAiTasks, listOpenAiCompatibleModels, logger, mimeToAudioFormat, pickDefaultSttModel, pickDefaultVisionModel, registerAiTask, registerCoreAiTasks, requestJson, requireAiConnectionConfig, resetCoreAiTasksForTest, resolveAiConnectionConfig, resolveAudioHandling, runAiTask, splitMediaByKind, stringUtils, toVisionApiErrorMessage, transcribeAudio, transcribeAudios, useAsyncStorage, useBackgroundRemoval, useElectronStorage, useLocalStorage, useOCR, useSentimentAnalysis, useStorage, useTaroStorage, useTextGeneration, validators };
11212
+ export { type AiApiErrorBody, type AiApiErrorCode, type AiApiResponse, type AiApiResponseMeta, type AiApiRunRequest, type AiAudioInput, type AiAudioMediaInput, type AiClientSettings, type AiConnectionConfig, type AiConnectionSettings, type AiImageInput, type AiImageMediaInput, type AiMediaInput, type AiMediaKind, type AiModelsListRequest, type AiModelsListResponse, type AiServerConfigStatus, type AiTaskContext, type AiTaskDefinition, type AiTaskRunOptions, Dialog as AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, DialogDescription as AlertDialogDescription, DialogFooter as AlertDialogFooter, DialogHeader as AlertDialogHeader, DialogOverlay as AlertDialogOverlay, DialogPortal as AlertDialogPortal, DialogTitle as AlertDialogTitle, DialogTrigger as AlertDialogTrigger, type AudioStrategy, Avatar, AvatarFallback, AvatarImage, BackButton, type BackButtonProps, type BackgroundRemovalOptions, type BackgroundRemovalState, BackgroundRemover, Badge, type BadgeProps, Ball, Button, type ButtonProps, CORE_CONNECTIVITY_TEST_TASK_ID, CORE_LLM_COMPLETION_TASK_ID, CORE_STRUCTURED_MULTIMODAL_TASK_ID, type CallChatOptions, type CallChatResult, type CallCompletionParams, type CallCompletionResult, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type ChatMessage, type ChatRole, type ChatUsage, CollisionBalls, CollisionBallsConfig, ConfirmModal, type ConfirmModalProps, type ConnectivityTestOutput, ConsoleLoggerAdapter, DEFAULT_OPENAI_BASE_URL, DEFAULT_TEXT_MODEL, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, FilterButtonGroup, type FilterButtonGroupProps, type FilterOption, GenericOrderManager, type GenericOrderManagerProps, Grid, GridColumns, GridGap, GridItem, GridProps, type ImageMappingItem, ImageMappingPanel, type ImageMappingPanelProps, type ImageMappingValue, Input, type JsonRequestOptions, Label, type ListModelsResult, LocalImageMappingPanel, type LocalImageMappingPanelProps, type LogEntry, LogLevel, Logger, type LoggerAdapter, type LoggerConfig, Modal, type ModalProps, type MultimodalChatParams, type MultimodalChatResult, type OCROptions, type OCRResult, OCRScanner, type OCRState, type OrderManagerOperations, type OrderableItem, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, Progress, type ProgressProps, type ResolvedAudioHandling, ScrollArea, ScrollBar, SearchBox, SearchResultHint, type SearchResultHintProps, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, SentimentAnalyzer, type SentimentOptions, type SentimentResult, type SentimentState, Separator, type SeparatorProps, Dialog as Sheet, DialogClose as SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, DialogOverlay as SheetOverlay, DialogPortal as SheetPortal, SheetTitle, DialogTrigger as SheetTrigger, SmartAssistant, type StorageAdapter, type StorageChangeEvent, type StructuredMultimodalInput, type StructuredMultimodalOutput, Tabs, TabsContent, TabsList, TabsTrigger, type TextCompletionInput, type TextCompletionOutput, type TextGenerationOptions, type TextGenerationState, Textarea, Timeline, TimelineConfig, TimelineItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, type TranscribeAudioOptions, type VisionMessageFormat, appendTranscriptionsToPrompt, arrayUtils, assertMultimodalCapableModel, assertValidAudioInput, assertValidImageInput, assertValidMultimodalMedia, assertVisionCapableModel, badgeVariants, base64ToBlob, buildMultimodalMessages, buttonVariants, callChat, callCompletion, callMultimodalChat, clearAiTasksForTest, cn, index as common, coreConnectivityTestTask, coreLlmCompletionTask, coreStructuredMultimodalTask, createLogger, debugUtils, detectVisionMessageFormat, ensureCoreAiTasksRegistered, errorUtils, extractJsonObject, fileToAiAudioInput, fileToAiImageInput, fileUtils, filterChatModels, filterSttModels, filterVisionModels, formatTime, getAiTask, isAudioInputError, isImageUrlVariantError, isKnownTextOnlyModel, isLikelyNativeAudioChatModel, isLikelySttModel, isLikelyVisionModel, japaneseUtils, listAiTasks, listOpenAiCompatibleModels, logger, mimeToAudioFormat, pickDefaultSttModel, pickDefaultVisionModel, registerAiTask, registerCoreAiTasks, requestJson, requireAiConnectionConfig, resetCoreAiTasksForTest, resolveAiConnectionConfig, resolveAudioHandling, runAiTask, splitMediaByKind, stringUtils, toVisionApiErrorMessage, transcribeAudio, transcribeAudios, useAsyncStorage, useBackgroundRemoval, useElectronStorage, useLocalStorage, useOCR, useSentimentAnalysis, useStorage, useTaroStorage, useTextGeneration, validators };