@djangocfg/ui-nextjs 2.1.89 → 2.1.91

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 (161) hide show
  1. package/README.md +6 -15
  2. package/package.json +6 -25
  3. package/src/blocks/SplitHero/SplitHeroMedia.tsx +1 -1
  4. package/src/components/index.ts +0 -40
  5. package/src/hooks/index.ts +0 -6
  6. package/src/index.ts +2 -11
  7. package/src/components/button-download.tsx +0 -277
  8. package/src/components/markdown/MarkdownMessage.tsx +0 -340
  9. package/src/components/markdown/index.ts +0 -5
  10. package/src/components/menubar.tsx +0 -275
  11. package/src/components/multi-select-pro/async.tsx +0 -598
  12. package/src/components/multi-select-pro/helpers.tsx +0 -84
  13. package/src/components/multi-select-pro/index.tsx +0 -612
  14. package/src/components/navigation-menu.tsx +0 -154
  15. package/src/components/otp/index.tsx +0 -197
  16. package/src/components/otp/types.ts +0 -133
  17. package/src/components/otp/use-otp-input.ts +0 -225
  18. package/src/components/phone-input.tsx +0 -277
  19. package/src/components/sonner.tsx +0 -32
  20. package/src/hooks/useLocalStorage.ts +0 -300
  21. package/src/hooks/useSessionStorage.ts +0 -290
  22. package/src/lib/index.ts +0 -5
  23. package/src/lib/logger/index.ts +0 -10
  24. package/src/lib/logger/logStore.ts +0 -122
  25. package/src/lib/logger/logger.ts +0 -175
  26. package/src/lib/logger/types.ts +0 -82
  27. package/src/stores/index.ts +0 -8
  28. package/src/stores/mediaCache.ts +0 -534
  29. package/src/tools/AudioPlayer/README.md +0 -206
  30. package/src/tools/AudioPlayer/components/HybridAudioPlayer.tsx +0 -216
  31. package/src/tools/AudioPlayer/components/HybridSimplePlayer.tsx +0 -280
  32. package/src/tools/AudioPlayer/components/HybridWaveform.tsx +0 -279
  33. package/src/tools/AudioPlayer/components/ReactiveCover/AudioReactiveCover.tsx +0 -149
  34. package/src/tools/AudioPlayer/components/ReactiveCover/effects/GlowEffect.tsx +0 -110
  35. package/src/tools/AudioPlayer/components/ReactiveCover/effects/MeshEffect.tsx +0 -58
  36. package/src/tools/AudioPlayer/components/ReactiveCover/effects/OrbsEffect.tsx +0 -45
  37. package/src/tools/AudioPlayer/components/ReactiveCover/effects/SpotlightEffect.tsx +0 -82
  38. package/src/tools/AudioPlayer/components/ReactiveCover/effects/index.ts +0 -8
  39. package/src/tools/AudioPlayer/components/ReactiveCover/index.ts +0 -6
  40. package/src/tools/AudioPlayer/components/index.ts +0 -22
  41. package/src/tools/AudioPlayer/context/HybridAudioProvider.tsx +0 -158
  42. package/src/tools/AudioPlayer/context/index.ts +0 -16
  43. package/src/tools/AudioPlayer/effects/index.ts +0 -412
  44. package/src/tools/AudioPlayer/hooks/index.ts +0 -35
  45. package/src/tools/AudioPlayer/hooks/useHybridAudio.ts +0 -387
  46. package/src/tools/AudioPlayer/hooks/useHybridAudioAnalysis.ts +0 -95
  47. package/src/tools/AudioPlayer/hooks/useVisualization.tsx +0 -207
  48. package/src/tools/AudioPlayer/index.ts +0 -133
  49. package/src/tools/AudioPlayer/types/effects.ts +0 -73
  50. package/src/tools/AudioPlayer/types/index.ts +0 -27
  51. package/src/tools/AudioPlayer/utils/debug.ts +0 -14
  52. package/src/tools/AudioPlayer/utils/formatTime.ts +0 -10
  53. package/src/tools/AudioPlayer/utils/index.ts +0 -6
  54. package/src/tools/ImageViewer/@refactoring/00-PLAN.md +0 -71
  55. package/src/tools/ImageViewer/@refactoring/01-TYPES.md +0 -121
  56. package/src/tools/ImageViewer/@refactoring/02-UTILS.md +0 -143
  57. package/src/tools/ImageViewer/@refactoring/03-HOOKS.md +0 -261
  58. package/src/tools/ImageViewer/@refactoring/04-COMPONENTS.md +0 -427
  59. package/src/tools/ImageViewer/@refactoring/05-EXECUTION-CHECKLIST.md +0 -126
  60. package/src/tools/ImageViewer/README.md +0 -200
  61. package/src/tools/ImageViewer/components/ImageInfo.tsx +0 -44
  62. package/src/tools/ImageViewer/components/ImageToolbar.tsx +0 -150
  63. package/src/tools/ImageViewer/components/ImageViewer.tsx +0 -241
  64. package/src/tools/ImageViewer/components/index.ts +0 -7
  65. package/src/tools/ImageViewer/hooks/index.ts +0 -9
  66. package/src/tools/ImageViewer/hooks/useImageLoading.ts +0 -204
  67. package/src/tools/ImageViewer/hooks/useImageTransform.ts +0 -101
  68. package/src/tools/ImageViewer/index.ts +0 -60
  69. package/src/tools/ImageViewer/types.ts +0 -81
  70. package/src/tools/ImageViewer/utils/constants.ts +0 -59
  71. package/src/tools/ImageViewer/utils/debug.ts +0 -14
  72. package/src/tools/ImageViewer/utils/index.ts +0 -17
  73. package/src/tools/ImageViewer/utils/lqip.ts +0 -47
  74. package/src/tools/JsonForm/JsonSchemaForm.tsx +0 -197
  75. package/src/tools/JsonForm/examples/BotConfigExample.tsx +0 -249
  76. package/src/tools/JsonForm/examples/RealBotConfigExample.tsx +0 -161
  77. package/src/tools/JsonForm/index.ts +0 -46
  78. package/src/tools/JsonForm/templates/ArrayFieldItemTemplate.tsx +0 -47
  79. package/src/tools/JsonForm/templates/ArrayFieldTemplate.tsx +0 -74
  80. package/src/tools/JsonForm/templates/BaseInputTemplate.tsx +0 -107
  81. package/src/tools/JsonForm/templates/ErrorListTemplate.tsx +0 -35
  82. package/src/tools/JsonForm/templates/FieldTemplate.tsx +0 -62
  83. package/src/tools/JsonForm/templates/ObjectFieldTemplate.tsx +0 -116
  84. package/src/tools/JsonForm/templates/index.ts +0 -12
  85. package/src/tools/JsonForm/types.ts +0 -83
  86. package/src/tools/JsonForm/utils.ts +0 -213
  87. package/src/tools/JsonForm/widgets/CheckboxWidget.tsx +0 -37
  88. package/src/tools/JsonForm/widgets/ColorWidget.tsx +0 -219
  89. package/src/tools/JsonForm/widgets/NumberWidget.tsx +0 -89
  90. package/src/tools/JsonForm/widgets/SelectWidget.tsx +0 -97
  91. package/src/tools/JsonForm/widgets/SliderWidget.tsx +0 -148
  92. package/src/tools/JsonForm/widgets/SwitchWidget.tsx +0 -35
  93. package/src/tools/JsonForm/widgets/TextWidget.tsx +0 -96
  94. package/src/tools/JsonForm/widgets/index.ts +0 -14
  95. package/src/tools/JsonTree/index.tsx +0 -243
  96. package/src/tools/LottiePlayer/LottiePlayer.client.tsx +0 -213
  97. package/src/tools/LottiePlayer/index.tsx +0 -55
  98. package/src/tools/LottiePlayer/types.ts +0 -108
  99. package/src/tools/LottiePlayer/useLottie.ts +0 -164
  100. package/src/tools/Mermaid/Mermaid.client.tsx +0 -82
  101. package/src/tools/Mermaid/components/MermaidCodeViewer.tsx +0 -95
  102. package/src/tools/Mermaid/components/MermaidFullscreenModal.tsx +0 -103
  103. package/src/tools/Mermaid/hooks/index.ts +0 -4
  104. package/src/tools/Mermaid/hooks/useMermaidCleanup.ts +0 -73
  105. package/src/tools/Mermaid/hooks/useMermaidFullscreen.ts +0 -46
  106. package/src/tools/Mermaid/hooks/useMermaidRenderer.ts +0 -226
  107. package/src/tools/Mermaid/hooks/useMermaidValidation.ts +0 -29
  108. package/src/tools/Mermaid/index.tsx +0 -41
  109. package/src/tools/Mermaid/utils/mermaid-helpers.ts +0 -33
  110. package/src/tools/OpenapiViewer/components/EndpointInfo.tsx +0 -149
  111. package/src/tools/OpenapiViewer/components/EndpointsLibrary.tsx +0 -263
  112. package/src/tools/OpenapiViewer/components/PlaygroundLayout.tsx +0 -125
  113. package/src/tools/OpenapiViewer/components/PlaygroundStepper.tsx +0 -100
  114. package/src/tools/OpenapiViewer/components/RequestBuilder.tsx +0 -157
  115. package/src/tools/OpenapiViewer/components/RequestParametersForm.tsx +0 -253
  116. package/src/tools/OpenapiViewer/components/ResponseViewer.tsx +0 -173
  117. package/src/tools/OpenapiViewer/components/VersionSelector.tsx +0 -68
  118. package/src/tools/OpenapiViewer/components/index.ts +0 -14
  119. package/src/tools/OpenapiViewer/constants.ts +0 -39
  120. package/src/tools/OpenapiViewer/context/PlaygroundContext.tsx +0 -337
  121. package/src/tools/OpenapiViewer/hooks/index.ts +0 -8
  122. package/src/tools/OpenapiViewer/hooks/useMobile.ts +0 -10
  123. package/src/tools/OpenapiViewer/hooks/useOpenApiSchema.ts +0 -199
  124. package/src/tools/OpenapiViewer/index.tsx +0 -38
  125. package/src/tools/OpenapiViewer/types.ts +0 -151
  126. package/src/tools/OpenapiViewer/utils/apiKeyManager.ts +0 -149
  127. package/src/tools/OpenapiViewer/utils/formatters.ts +0 -71
  128. package/src/tools/OpenapiViewer/utils/index.ts +0 -9
  129. package/src/tools/OpenapiViewer/utils/versionManager.ts +0 -161
  130. package/src/tools/PrettyCode/PrettyCode.client.tsx +0 -208
  131. package/src/tools/PrettyCode/index.tsx +0 -45
  132. package/src/tools/VideoPlayer/@refactoring/00-PLAN.md +0 -91
  133. package/src/tools/VideoPlayer/@refactoring/01-TYPES.md +0 -284
  134. package/src/tools/VideoPlayer/@refactoring/02-UTILS.md +0 -141
  135. package/src/tools/VideoPlayer/@refactoring/03-HOOKS.md +0 -178
  136. package/src/tools/VideoPlayer/@refactoring/04-COMPONENTS.md +0 -95
  137. package/src/tools/VideoPlayer/@refactoring/05-EXECUTION-CHECKLIST.md +0 -139
  138. package/src/tools/VideoPlayer/README.md +0 -264
  139. package/src/tools/VideoPlayer/components/VideoControls.tsx +0 -138
  140. package/src/tools/VideoPlayer/components/VideoErrorFallback.tsx +0 -174
  141. package/src/tools/VideoPlayer/components/VideoPlayer.tsx +0 -201
  142. package/src/tools/VideoPlayer/components/index.ts +0 -14
  143. package/src/tools/VideoPlayer/context/VideoPlayerContext.tsx +0 -52
  144. package/src/tools/VideoPlayer/context/index.ts +0 -8
  145. package/src/tools/VideoPlayer/hooks/index.ts +0 -12
  146. package/src/tools/VideoPlayer/hooks/useVideoPlayerSettings.ts +0 -70
  147. package/src/tools/VideoPlayer/hooks/useVideoPositionCache.ts +0 -116
  148. package/src/tools/VideoPlayer/index.ts +0 -77
  149. package/src/tools/VideoPlayer/providers/NativeProvider.tsx +0 -284
  150. package/src/tools/VideoPlayer/providers/StreamProvider.tsx +0 -505
  151. package/src/tools/VideoPlayer/providers/VidstackProvider.tsx +0 -400
  152. package/src/tools/VideoPlayer/providers/index.ts +0 -8
  153. package/src/tools/VideoPlayer/types/index.ts +0 -38
  154. package/src/tools/VideoPlayer/types/player.ts +0 -116
  155. package/src/tools/VideoPlayer/types/provider.ts +0 -93
  156. package/src/tools/VideoPlayer/types/sources.ts +0 -97
  157. package/src/tools/VideoPlayer/utils/debug.ts +0 -14
  158. package/src/tools/VideoPlayer/utils/fileSource.ts +0 -78
  159. package/src/tools/VideoPlayer/utils/index.ts +0 -12
  160. package/src/tools/VideoPlayer/utils/resolvers.ts +0 -75
  161. package/src/tools/index.ts +0 -170
@@ -1,97 +0,0 @@
1
- /**
2
- * Video source type definitions
3
- */
4
-
5
- // =============================================================================
6
- // Source Types - Different ways to provide video content
7
- // =============================================================================
8
-
9
- /** Simple URL source (mp4, webm, etc.) */
10
- export interface UrlSource {
11
- type: 'url';
12
- url: string;
13
- title?: string;
14
- poster?: string;
15
- }
16
-
17
- /** YouTube embed source */
18
- export interface YouTubeSource {
19
- type: 'youtube';
20
- /** YouTube video ID (11 characters) */
21
- id: string;
22
- title?: string;
23
- poster?: string;
24
- }
25
-
26
- /** Vimeo embed source */
27
- export interface VimeoSource {
28
- type: 'vimeo';
29
- /** Vimeo video ID */
30
- id: string;
31
- title?: string;
32
- poster?: string;
33
- }
34
-
35
- /** HLS streaming source */
36
- export interface HLSSource {
37
- type: 'hls';
38
- /** URL to .m3u8 manifest */
39
- url: string;
40
- title?: string;
41
- poster?: string;
42
- }
43
-
44
- /** DASH streaming source */
45
- export interface DASHSource {
46
- type: 'dash';
47
- /** URL to .mpd manifest */
48
- url: string;
49
- title?: string;
50
- poster?: string;
51
- }
52
-
53
- /** HTTP Range streaming source (for large files with auth) */
54
- export interface StreamSource {
55
- type: 'stream';
56
- /** Session ID for authorization */
57
- sessionId: string;
58
- /** File path on server */
59
- path: string;
60
- /** Function to generate stream URL */
61
- getStreamUrl: (sessionId: string, path: string) => string;
62
- /** MIME type for the video */
63
- mimeType?: string;
64
- title?: string;
65
- poster?: string;
66
- }
67
-
68
- /** Binary data source (ArrayBuffer) */
69
- export interface BlobSource {
70
- type: 'blob';
71
- /** Video data as ArrayBuffer */
72
- data: ArrayBuffer;
73
- /** MIME type (default: video/mp4) */
74
- mimeType?: string;
75
- title?: string;
76
- poster?: string;
77
- }
78
-
79
- /** Base64 data URL source */
80
- export interface DataUrlSource {
81
- type: 'data-url';
82
- /** Base64 encoded data URL */
83
- data: string;
84
- title?: string;
85
- poster?: string;
86
- }
87
-
88
- /** Union of all source types */
89
- export type VideoSourceUnion =
90
- | UrlSource
91
- | YouTubeSource
92
- | VimeoSource
93
- | HLSSource
94
- | DASHSource
95
- | StreamSource
96
- | BlobSource
97
- | DataUrlSource;
@@ -1,14 +0,0 @@
1
- 'use client';
2
-
3
- /**
4
- * VideoPlayer Debug Logger
5
- *
6
- * Uses universal logger with media-specific helpers.
7
- * Logs go to both console (dev) and zustand store (for Console panel).
8
- */
9
-
10
- import { createMediaLogger } from '../../../lib/logger';
11
-
12
- export const videoDebug = createMediaLogger('VideoPlayer');
13
-
14
- export default videoDebug;
@@ -1,78 +0,0 @@
1
- /**
2
- * File source resolution utilities
3
- */
4
-
5
- import type { VideoSourceUnion, ResolveFileSourceOptions } from '../types';
6
-
7
- /**
8
- * Resolve file content to VideoSourceUnion
9
- * Useful for FileWorkspace/file manager integrations
10
- *
11
- * @example
12
- * const source = resolveFileSource({
13
- * content: file.content,
14
- * path: file.path,
15
- * mimeType: file.mimeType,
16
- * sessionId: sessionId,
17
- * loadMethod: file.loadMethod,
18
- * getStreamUrl: terminalClient.terminal_media.streamStreamRetrieveUrl
19
- * });
20
- *
21
- * <VideoPlayer source={source} />
22
- */
23
- export function resolveFileSource(options: ResolveFileSourceOptions): VideoSourceUnion | null {
24
- const {
25
- content,
26
- path,
27
- mimeType,
28
- sessionId,
29
- loadMethod,
30
- getStreamUrl,
31
- title,
32
- poster,
33
- } = options;
34
-
35
- const contentSize = content
36
- ? typeof content === 'string'
37
- ? content.length
38
- : content.byteLength
39
- : 0;
40
- const hasContent = contentSize > 0;
41
-
42
- // Priority 1: HTTP Range streaming for large files
43
- if (loadMethod === 'http_stream' && !hasContent && sessionId && getStreamUrl) {
44
- return {
45
- type: 'stream',
46
- sessionId,
47
- path,
48
- getStreamUrl,
49
- mimeType,
50
- title,
51
- poster,
52
- };
53
- }
54
-
55
- // Priority 2: Data URL (base64 string)
56
- if (typeof content === 'string' && hasContent) {
57
- return {
58
- type: 'data-url',
59
- data: content,
60
- title,
61
- poster,
62
- };
63
- }
64
-
65
- // Priority 3: ArrayBuffer → Blob
66
- if (content instanceof ArrayBuffer && hasContent) {
67
- return {
68
- type: 'blob',
69
- data: content,
70
- mimeType: mimeType || 'video/mp4',
71
- title,
72
- poster,
73
- };
74
- }
75
-
76
- // No valid content
77
- return null;
78
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * VideoPlayer utilities - Public API
3
- */
4
-
5
- export {
6
- resolvePlayerMode,
7
- isSimpleStreamSource,
8
- resolveStreamSource,
9
- } from './resolvers';
10
-
11
- export { resolveFileSource } from './fileSource';
12
- export { videoDebug } from './debug';
@@ -1,75 +0,0 @@
1
- /**
2
- * Video source and player mode resolvers
3
- */
4
-
5
- import type { VideoSourceUnion, PlayerMode, SimpleStreamSource, StreamSource, VideoPlayerContextValue } from '../types';
6
-
7
- /**
8
- * Determine which provider to use based on source type
9
- */
10
- export function resolvePlayerMode(
11
- source: VideoSourceUnion,
12
- mode: PlayerMode = 'auto'
13
- ): 'vidstack' | 'native' | 'streaming' {
14
- if (mode !== 'auto') {
15
- return mode;
16
- }
17
-
18
- switch (source.type) {
19
- case 'youtube':
20
- case 'vimeo':
21
- case 'hls':
22
- case 'dash':
23
- return 'vidstack';
24
-
25
- case 'stream':
26
- case 'blob':
27
- return 'streaming';
28
-
29
- case 'data-url':
30
- case 'url':
31
- default:
32
- return 'native';
33
- }
34
- }
35
-
36
- /**
37
- * Check if source is a simplified stream source (without getStreamUrl)
38
- */
39
- export function isSimpleStreamSource(
40
- source: VideoSourceUnion | SimpleStreamSource
41
- ): source is SimpleStreamSource {
42
- return source.type === 'stream' && !('getStreamUrl' in source);
43
- }
44
-
45
- /**
46
- * Resolve simplified stream source to full stream source using context
47
- */
48
- export function resolveStreamSource(
49
- source: SimpleStreamSource,
50
- context: VideoPlayerContextValue | null
51
- ): StreamSource | null {
52
- if (!context?.getStreamUrl) {
53
- console.warn(
54
- 'VideoPlayer: Stream source requires getStreamUrl. ' +
55
- 'Either provide it in source or wrap with VideoPlayerProvider.'
56
- );
57
- return null;
58
- }
59
-
60
- const sessionId = source.sessionId || context.sessionId;
61
- if (!sessionId) {
62
- console.warn('VideoPlayer: Stream source requires sessionId.');
63
- return null;
64
- }
65
-
66
- return {
67
- type: 'stream',
68
- sessionId,
69
- path: source.path,
70
- getStreamUrl: context.getStreamUrl,
71
- mimeType: source.mimeType,
72
- title: source.title,
73
- poster: source.poster,
74
- };
75
- }
@@ -1,170 +0,0 @@
1
- /**
2
- * Tools - Heavy components with dynamic imports
3
- *
4
- * All components are lazy-loaded to reduce initial bundle size:
5
- * - Mermaid: ~800KB (diagram rendering)
6
- * - PrettyCode: ~500KB (code syntax highlighting)
7
- * - JsonTree: ~100KB (JSON visualization)
8
- * - LottiePlayer: ~200KB (Lottie animation player)
9
- * - JsonForm: ~300KB (JSON Schema form generator)
10
- * - OpenapiViewer: ~400KB (OpenAPI schema viewer & playground)
11
- * - VideoPlayer: ~150KB (Professional video player with Vidstack)
12
- * - AudioPlayer: ~200KB (Audio player with WaveSurfer.js)
13
- * - ImageViewer: ~50KB (Image viewer with zoom/pan/rotate)
14
- */
15
-
16
- // Export tools as named exports (all use dynamic imports internally)
17
- export { default as JsonTree } from './JsonTree';
18
- export type { JsonTreeConfig } from './JsonTree';
19
- export { default as Mermaid } from './Mermaid';
20
- export { default as PrettyCode } from './PrettyCode';
21
- export type { Language } from './PrettyCode';
22
- export { LottiePlayer, useLottie } from './LottiePlayer';
23
- export type {
24
- LottiePlayerProps,
25
- LottieSize,
26
- LottieSpeed,
27
- LottieDirection,
28
- UseLottieOptions,
29
- UseLottieReturn,
30
- } from './LottiePlayer';
31
-
32
- // Export JsonForm components
33
- export { JsonSchemaForm } from './JsonForm';
34
- export type { JsonSchemaFormProps } from './JsonForm';
35
- export * from './JsonForm/widgets';
36
- export * from './JsonForm/templates';
37
- export * from './JsonForm/utils';
38
-
39
- // Export OpenapiViewer
40
- export { default as OpenapiViewer } from './OpenapiViewer';
41
- export type { PlaygroundConfig, SchemaSource, PlaygroundProps } from './OpenapiViewer';
42
-
43
- // Export VideoPlayer
44
- export {
45
- VideoPlayer,
46
- VideoControls,
47
- VidstackProvider,
48
- NativeProvider,
49
- StreamProvider,
50
- VideoPlayerProvider,
51
- useVideoPlayerContext,
52
- VideoErrorFallback,
53
- createVideoErrorFallback,
54
- resolvePlayerMode,
55
- resolveFileSource,
56
- isSimpleStreamSource,
57
- resolveStreamSource,
58
- } from './VideoPlayer';
59
- export type {
60
- VideoSourceUnion,
61
- UrlSource,
62
- YouTubeSource,
63
- VimeoSource,
64
- HLSSource,
65
- DASHSource,
66
- StreamSource,
67
- BlobSource,
68
- DataUrlSource,
69
- PlayerMode,
70
- AspectRatioValue,
71
- VideoPlayerProps,
72
- VideoPlayerRef,
73
- ErrorFallbackProps,
74
- ResolveFileSourceOptions,
75
- VideoPlayerContextValue,
76
- VideoPlayerProviderProps,
77
- SimpleStreamSource,
78
- VideoErrorFallbackProps,
79
- CreateVideoErrorFallbackOptions,
80
- } from './VideoPlayer';
81
-
82
- // Export AudioPlayer (Hybrid - HTML5 audio + Web Audio visualization)
83
- export {
84
- // Components
85
- HybridSimplePlayer,
86
- HybridAudioPlayer,
87
- HybridWaveform,
88
- AudioReactiveCover,
89
- GlowEffect,
90
- OrbsEffect,
91
- SpotlightEffect,
92
- MeshEffect,
93
- // Context
94
- HybridAudioProvider,
95
- useHybridAudioContext,
96
- useHybridAudioState,
97
- useHybridAudioControls,
98
- useHybridAudioLevels,
99
- useHybridWebAudio,
100
- // Hooks
101
- useHybridAudio,
102
- useHybridAudioAnalysis,
103
- useVisualization,
104
- useAudioVisualization,
105
- VisualizationProvider,
106
- VARIANT_INFO,
107
- INTENSITY_INFO,
108
- COLOR_SCHEME_INFO,
109
- // Effects utilities
110
- getEffectConfig,
111
- getColors,
112
- prepareEffectColors,
113
- calculateGlowLayers,
114
- calculateOrbs,
115
- calculateMeshGradients,
116
- calculateSpotlight,
117
- INTENSITY_CONFIG,
118
- COLOR_SCHEMES,
119
- EFFECT_ANIMATIONS,
120
- // Utils
121
- formatTime,
122
- } from './AudioPlayer';
123
- export type {
124
- // Component types
125
- HybridSimplePlayerProps,
126
- HybridAudioPlayerProps,
127
- HybridWaveformProps,
128
- AudioReactiveCoverProps,
129
- GlowEffectData,
130
- // Context types
131
- HybridAudioProviderProps,
132
- HybridAudioContextValue,
133
- // Hook types
134
- UseHybridAudioOptions,
135
- HybridAudioState,
136
- HybridAudioControls,
137
- HybridWebAudioAPI,
138
- UseHybridAudioReturn,
139
- VisualizationSettings,
140
- VisualizationVariant,
141
- VisualizationIntensity,
142
- VisualizationColorScheme,
143
- UseVisualizationReturn,
144
- UseAudioVisualizationReturn,
145
- VisualizationProviderProps,
146
- // Effect types
147
- EffectVariant,
148
- EffectIntensity,
149
- EffectColorScheme,
150
- AudioLevels,
151
- EffectConfig,
152
- EffectColors,
153
- EffectLayer,
154
- // Other types
155
- EqualizerOptions,
156
- } from './AudioPlayer';
157
-
158
- // Export ImageViewer
159
- export { ImageViewer } from './ImageViewer';
160
- export type { ImageViewerProps, ImageFile } from './ImageViewer';
161
-
162
- // Export Media Cache Store
163
- export {
164
- useMediaCacheStore,
165
- useImageCache,
166
- useAudioCache,
167
- useVideoCache,
168
- useBlobUrlCleanup,
169
- generateContentKey,
170
- } from '../stores/mediaCache';