@djangocfg/ui-tools 2.1.349 → 2.1.351
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ChatRoot-2KT32NFJ.cjs +14 -0
- package/dist/{ChatRoot-CZMOJOGD.mjs.map → ChatRoot-2KT32NFJ.cjs.map} +1 -1
- package/dist/ChatRoot-VSIBJLE2.mjs +5 -0
- package/dist/{ChatRoot-VTYANC7M.cjs.map → ChatRoot-VSIBJLE2.mjs.map} +1 -1
- package/dist/{chunk-XYGB26BY.cjs → chunk-2SXDCXLK.cjs} +56 -14
- package/dist/chunk-2SXDCXLK.cjs.map +1 -0
- package/dist/{chunk-QCKJVSJF.mjs → chunk-XJ7CXHSU.mjs} +56 -14
- package/dist/chunk-XJ7CXHSU.mjs.map +1 -0
- package/dist/index.cjs +77 -47
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +45 -18
- package/dist/index.d.ts +45 -18
- package/dist/index.mjs +34 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -6
- package/src/tools/Chat/Chat.story.tsx +33 -0
- package/src/tools/Chat/components/AudioToggle.tsx +78 -0
- package/src/tools/Chat/components/ChatRoot.tsx +5 -1
- package/src/tools/Chat/components/Composer.tsx +66 -13
- package/src/tools/Chat/components/index.ts +1 -0
- package/src/tools/Chat/context/ChatProvider.tsx +14 -2
- package/src/tools/Chat/index.ts +2 -0
- package/dist/ChatRoot-CZMOJOGD.mjs +0 -5
- package/dist/ChatRoot-VTYANC7M.cjs +0 -14
- package/dist/chunk-QCKJVSJF.mjs.map +0 -1
- package/dist/chunk-XYGB26BY.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1813,6 +1813,10 @@ interface ChatContextValue extends UseChatReturn {
|
|
|
1813
1813
|
config: ChatConfig;
|
|
1814
1814
|
labels: ChatLabels;
|
|
1815
1815
|
audio: UseChatAudioReturn;
|
|
1816
|
+
/** True iff the host wired at least one ``audio.sounds[event]`` URL.
|
|
1817
|
+
* Components like ``AudioToggle`` use this to auto-hide when there
|
|
1818
|
+
* is nothing to mute. */
|
|
1819
|
+
hasAudio: boolean;
|
|
1816
1820
|
}
|
|
1817
1821
|
interface ChatProviderProps {
|
|
1818
1822
|
transport: ChatTransport;
|
|
@@ -1869,6 +1873,32 @@ interface UseChatComposerReturn {
|
|
|
1869
1873
|
}
|
|
1870
1874
|
declare function useChatComposer(options: UseChatComposerOptions): UseChatComposerReturn;
|
|
1871
1875
|
|
|
1876
|
+
type ComposerSize = 'sm' | 'md' | 'lg';
|
|
1877
|
+
interface ComposerProps {
|
|
1878
|
+
composer: UseChatComposerReturn;
|
|
1879
|
+
placeholder?: string;
|
|
1880
|
+
disabled?: boolean;
|
|
1881
|
+
showAttachmentButton?: boolean;
|
|
1882
|
+
onPickFiles?: () => void;
|
|
1883
|
+
toolbarStart?: ReactNode;
|
|
1884
|
+
toolbarEnd?: ReactNode;
|
|
1885
|
+
attachmentTray?: ReactNode;
|
|
1886
|
+
className?: string;
|
|
1887
|
+
textareaClassName?: string;
|
|
1888
|
+
/** Visual size — controls textarea height + button slot size.
|
|
1889
|
+
*
|
|
1890
|
+
* - ``sm`` — 32px slot, dense compact composer (admin sidebars, etc).
|
|
1891
|
+
* - ``md`` — 36px slot, default. Same as the legacy fixed size.
|
|
1892
|
+
* - ``lg`` — 48px slot, generous textarea. Use when the chat is
|
|
1893
|
+
* the page's primary surface (onboarding, support).
|
|
1894
|
+
*/
|
|
1895
|
+
size?: ComposerSize;
|
|
1896
|
+
/** Show "Stop" button instead of "Send" while streaming. */
|
|
1897
|
+
isStreaming?: boolean;
|
|
1898
|
+
onCancel?: () => void;
|
|
1899
|
+
}
|
|
1900
|
+
declare const Composer: react.ForwardRefExoticComponent<ComposerProps & react.RefAttributes<HTMLDivElement>>;
|
|
1901
|
+
|
|
1872
1902
|
interface AttachmentRendererArgs {
|
|
1873
1903
|
attachment: ChatAttachment;
|
|
1874
1904
|
/** True when shown inside the composer's staging tray (denser layout). */
|
|
@@ -1980,6 +2010,9 @@ interface ChatRootProps {
|
|
|
1980
2010
|
onPickFiles?: () => void;
|
|
1981
2011
|
/** Hide the composer input area entirely (e.g. while waiting for human approval). */
|
|
1982
2012
|
hideComposer?: boolean;
|
|
2013
|
+
/** Composer size variant. Default ``md`` (36px slot). Use ``lg`` for primary
|
|
2014
|
+
* surfaces (onboarding, full-page chat), ``sm`` for dense sidebars. */
|
|
2015
|
+
composerSize?: ComposerSize;
|
|
1983
2016
|
}
|
|
1984
2017
|
declare function ChatRoot(props: ChatRootProps): react_jsx_runtime.JSX.Element;
|
|
1985
2018
|
|
|
@@ -2315,23 +2348,6 @@ interface MessageActionsProps {
|
|
|
2315
2348
|
}
|
|
2316
2349
|
declare function MessageActions({ role, onCopy, onRegenerate, onEdit, onDelete, hideOn, className, }: MessageActionsProps): react_jsx_runtime.JSX.Element;
|
|
2317
2350
|
|
|
2318
|
-
interface ComposerProps {
|
|
2319
|
-
composer: UseChatComposerReturn;
|
|
2320
|
-
placeholder?: string;
|
|
2321
|
-
disabled?: boolean;
|
|
2322
|
-
showAttachmentButton?: boolean;
|
|
2323
|
-
onPickFiles?: () => void;
|
|
2324
|
-
toolbarStart?: ReactNode;
|
|
2325
|
-
toolbarEnd?: ReactNode;
|
|
2326
|
-
attachmentTray?: ReactNode;
|
|
2327
|
-
className?: string;
|
|
2328
|
-
textareaClassName?: string;
|
|
2329
|
-
/** Show "Stop" button instead of "Send" while streaming. */
|
|
2330
|
-
isStreaming?: boolean;
|
|
2331
|
-
onCancel?: () => void;
|
|
2332
|
-
}
|
|
2333
|
-
declare const Composer: react.ForwardRefExoticComponent<ComposerProps & react.RefAttributes<HTMLDivElement>>;
|
|
2334
|
-
|
|
2335
2351
|
interface SourcesProps {
|
|
2336
2352
|
sources: ChatSource[];
|
|
2337
2353
|
layout?: 'inline' | 'grid';
|
|
@@ -2376,6 +2392,17 @@ interface StreamingIndicatorProps {
|
|
|
2376
2392
|
}
|
|
2377
2393
|
declare function StreamingIndicator({ variant, label, className }: StreamingIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
2378
2394
|
|
|
2395
|
+
interface AudioToggleProps {
|
|
2396
|
+
/** Visual size — matches Button sizes. Default: ``icon``. */
|
|
2397
|
+
size?: 'sm' | 'icon';
|
|
2398
|
+
/** Variant passed to the underlying Button. Default: ``ghost``. */
|
|
2399
|
+
variant?: 'ghost' | 'outline' | 'secondary';
|
|
2400
|
+
/** Force-show even when no audio config is wired (e.g. for stories). */
|
|
2401
|
+
alwaysShow?: boolean;
|
|
2402
|
+
className?: string;
|
|
2403
|
+
}
|
|
2404
|
+
declare function AudioToggle({ size, variant, alwaysShow, className, }: AudioToggleProps): react_jsx_runtime.JSX.Element;
|
|
2405
|
+
|
|
2379
2406
|
/**
|
|
2380
2407
|
* PrettyCode Component - Dynamic Import Wrapper
|
|
2381
2408
|
*
|
|
@@ -3395,4 +3422,4 @@ declare function useBlobUrlCleanup(key: string | null): void;
|
|
|
3395
3422
|
*/
|
|
3396
3423
|
declare function generateContentKey(content: ArrayBuffer): string;
|
|
3397
3424
|
|
|
3398
|
-
export { type ApiKey, ArrayFieldItemTemplate, ArrayFieldTemplate, type AspectRatioValue, type AttachmentRenderer, type AttachmentRendererArgs, type AttachmentRendererMap, Attachments, AttachmentsGrid, type AttachmentsGridProps, AttachmentsList, type AttachmentsListProps, type AttachmentsProps, Player as AudioPlayer, type PlayerProps as AudioPlayerProps, BaseInputTemplate, type BlobSource, CHAT_EVENT_NAME, CSS_VARS, CardLoadingFallback, type ChatAction, type ChatAssistantContext, type ChatAttachment, type ChatAudioConfig, type ChatAudioEvent, type ChatAudioSounds, type ChatConfig, type ChatContextValue, type ChatDisplayMode, type ChatEventDetail, type ChatLabels, type ChatLightboxState, type ChatLogScope, type ChatLogger, type ChatMessage, type ChatPersona, type ChatPrefs, ChatProvider, type ChatProviderProps, type ChatRole, ChatRoot, type ChatRootProps, type ChatSource, type ChatState, type ChatStreamEvent, type ChatToolCall, type ChatTransport, type ChatUserContext, CheckboxWidget, ColorWidget, Composer, type ComposerProps, type CreateLazyComponentOptions, type CreateSessionOptions, type CreateVideoErrorFallbackOptions, CronScheduler, type CronSchedulerContextValue, type CronSchedulerProps, CronSchedulerProvider, type CronSchedulerState, CustomInput, type DASHSource, DEFAULT_LABELS, DEFAULT_SIDEBAR, DEFAULT_Z_INDEX, type DataUrlSource, DayChips, DiffEditor, type DiffEditorProps, type DisabledWhenRule, Editor, type EditorContextValue, type EditorFile, type EditorOptions, type EditorProps, EditorProvider, type EditorRef, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ErrorFallbackProps, ErrorListTemplate, FieldTemplate, type HLSSource, HOTKEYS, type HistoryPage, type HttpTransportConfig, type ImageFile, ImageViewer, type ImageViewerProps, type JsonFormContext, type JsonFormDensity, JsonSchemaForm, type JsonSchemaFormProps, JsonTreeComponent as JsonTree, type JsonTreeConfig, type JsonTreeProps, JumpToLatest, type JumpToLatestProps, LIMITS, LazyPlayer as LazyAudioPlayer, LazyChat, type ChatRootProps as LazyChatProps, LazyCronScheduler, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyTree, TreeRootProps as LazyTreeProps, LazyVideoPlayer, LazyWrapper, type LazyWrapperProps, type LinkRule, LoadingFallback, type LoadingFallbackProps, type LottieDirection, LottiePlayer, type LottiePlayerProps, type LottieSize, type LottieSpeed, type MapContainerProps, MapLoadingFallback, type MapStyleKey, type MapViewport, MarkdownEditor, type MarkdownEditorProps, MarkdownMessage, type MarkdownMessageProps, type MarkerData, type MentionAttrs, type MentionConfig, type MentionItem, type MentionMarkdownRenderer, Mermaid, type MermaidProps, MessageActions, type MessageActionsProps, MessageBubble, type MessageBubbleProps, MessageList, type MessageListProps, type MockTransportOptions, type MonthDay, MonthDayGrid, NativeProvider, NumberWidget, ObjectFieldTemplate, Playground as OpenapiViewer, type ParseSSEOptions, type PlayerMode, type PlaygroundConfig, type PlaygroundProps$1 as PlaygroundProps, PrettyCode, type PrettyCodeProps$1 as PrettyCodeProps, type ResolveFileSourceOptions, STORAGE_KEYS, SchedulePreview, type ScheduleType, ScheduleTypeSelector, type SchemaSource, SelectWidget, type SendOptions, type SessionInfo, type SimpleStreamSource, SliderWidget, Sources, type SourcesProps, Spinner, type StreamOptions, StreamProvider, type StreamSource, StreamingIndicator, type StreamingIndicatorProps, SwitchWidget, TextWidget, TimeSelector, type TokenBuffer, ToolCalls, type ToolCallsProps, type ToolPayloadFallback, type ToolPayloadKind, type ToolPayloadMatcher, TransportError, TreeRootProps, type UiGroup, type UrlSource, type UseChatAudioReturn, type UseChatComposerOptions, type UseChatComposerReturn, type UseChatConfig, type UseChatHistoryOptions, type UseChatLayoutConfig, type UseChatLayoutReturn, type UseChatLightboxReturn, type UseChatReturn, type UseChatScrollOptions, type UseChatScrollReturn, type UseCollapsibleContentOptions, type UseCollapsibleContentResult, type UseEditorReturn, type UseLottieOptions, type UseLottieReturn, type UseMonacoReturn, VideoControls, VideoErrorFallback, type VideoErrorFallbackProps, VideoPlayer, type VideoPlayerContextValue, type VideoPlayerProps, VideoPlayerProvider, type VideoPlayerProviderProps, type VideoPlayerRef, type VideoSourceUnion, VidstackProvider, type VimeoSource, type WeekDay, type YouTubeSource, buildCron, collectImageAttachments, createHttpTransport, createId, createLazyComponent, createMockTransport, createTokenBuffer, createVideoErrorFallback, deriveInitials, dispatchToolPayload, evaluateDisabledWhen, extractTextFromChildren, generateContentKey, getChatLogger, getRequiredFields, hasRequiredFields, humanizeCron, initialState, isGeoJSONFeatureCollection, isLatLng, isPlainObject, isSimpleStreamSource, isStringValue, isValidCron, mentionPresets, mergeDefaults, normalizeFormData, parseCron, parseSSE, reducer, resolveFileSource, resolvePersona, resolvePlayerMode, resolveStreamSource, safeJsonParse, safeJsonStringify, useAudioCache, useBlobUrlCleanup, useChat, useChatAudio, useChatAudioPrefs, useChatComposer, useChatContext, useChatContextOptional, useChatHistory, useChatLayout, useChatLightbox, useChatScroll, useCollapsibleContent, useCronCustom, useCronMonthDays, useCronPreview, useCronScheduler, useCronSchedulerContext, useCronTime, useCronType, useCronWeekDays, useEditor, useEditorContext, useImageCache, useLanguage, useLottie, useMediaCacheStore, useMonaco, useVideoCache, useVideoPlayerContext, useVideoPlayerSettings, validateRequiredFields, validateSchema };
|
|
3425
|
+
export { type ApiKey, ArrayFieldItemTemplate, ArrayFieldTemplate, type AspectRatioValue, type AttachmentRenderer, type AttachmentRendererArgs, type AttachmentRendererMap, Attachments, AttachmentsGrid, type AttachmentsGridProps, AttachmentsList, type AttachmentsListProps, type AttachmentsProps, Player as AudioPlayer, type PlayerProps as AudioPlayerProps, AudioToggle, type AudioToggleProps, BaseInputTemplate, type BlobSource, CHAT_EVENT_NAME, CSS_VARS, CardLoadingFallback, type ChatAction, type ChatAssistantContext, type ChatAttachment, type ChatAudioConfig, type ChatAudioEvent, type ChatAudioSounds, type ChatConfig, type ChatContextValue, type ChatDisplayMode, type ChatEventDetail, type ChatLabels, type ChatLightboxState, type ChatLogScope, type ChatLogger, type ChatMessage, type ChatPersona, type ChatPrefs, ChatProvider, type ChatProviderProps, type ChatRole, ChatRoot, type ChatRootProps, type ChatSource, type ChatState, type ChatStreamEvent, type ChatToolCall, type ChatTransport, type ChatUserContext, CheckboxWidget, ColorWidget, Composer, type ComposerProps, type CreateLazyComponentOptions, type CreateSessionOptions, type CreateVideoErrorFallbackOptions, CronScheduler, type CronSchedulerContextValue, type CronSchedulerProps, CronSchedulerProvider, type CronSchedulerState, CustomInput, type DASHSource, DEFAULT_LABELS, DEFAULT_SIDEBAR, DEFAULT_Z_INDEX, type DataUrlSource, DayChips, DiffEditor, type DiffEditorProps, type DisabledWhenRule, Editor, type EditorContextValue, type EditorFile, type EditorOptions, type EditorProps, EditorProvider, type EditorRef, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ErrorFallbackProps, ErrorListTemplate, FieldTemplate, type HLSSource, HOTKEYS, type HistoryPage, type HttpTransportConfig, type ImageFile, ImageViewer, type ImageViewerProps, type JsonFormContext, type JsonFormDensity, JsonSchemaForm, type JsonSchemaFormProps, JsonTreeComponent as JsonTree, type JsonTreeConfig, type JsonTreeProps, JumpToLatest, type JumpToLatestProps, LIMITS, LazyPlayer as LazyAudioPlayer, LazyChat, type ChatRootProps as LazyChatProps, LazyCronScheduler, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyTree, TreeRootProps as LazyTreeProps, LazyVideoPlayer, LazyWrapper, type LazyWrapperProps, type LinkRule, LoadingFallback, type LoadingFallbackProps, type LottieDirection, LottiePlayer, type LottiePlayerProps, type LottieSize, type LottieSpeed, type MapContainerProps, MapLoadingFallback, type MapStyleKey, type MapViewport, MarkdownEditor, type MarkdownEditorProps, MarkdownMessage, type MarkdownMessageProps, type MarkerData, type MentionAttrs, type MentionConfig, type MentionItem, type MentionMarkdownRenderer, Mermaid, type MermaidProps, MessageActions, type MessageActionsProps, MessageBubble, type MessageBubbleProps, MessageList, type MessageListProps, type MockTransportOptions, type MonthDay, MonthDayGrid, NativeProvider, NumberWidget, ObjectFieldTemplate, Playground as OpenapiViewer, type ParseSSEOptions, type PlayerMode, type PlaygroundConfig, type PlaygroundProps$1 as PlaygroundProps, PrettyCode, type PrettyCodeProps$1 as PrettyCodeProps, type ResolveFileSourceOptions, STORAGE_KEYS, SchedulePreview, type ScheduleType, ScheduleTypeSelector, type SchemaSource, SelectWidget, type SendOptions, type SessionInfo, type SimpleStreamSource, SliderWidget, Sources, type SourcesProps, Spinner, type StreamOptions, StreamProvider, type StreamSource, StreamingIndicator, type StreamingIndicatorProps, SwitchWidget, TextWidget, TimeSelector, type TokenBuffer, ToolCalls, type ToolCallsProps, type ToolPayloadFallback, type ToolPayloadKind, type ToolPayloadMatcher, TransportError, TreeRootProps, type UiGroup, type UrlSource, type UseChatAudioReturn, type UseChatComposerOptions, type UseChatComposerReturn, type UseChatConfig, type UseChatHistoryOptions, type UseChatLayoutConfig, type UseChatLayoutReturn, type UseChatLightboxReturn, type UseChatReturn, type UseChatScrollOptions, type UseChatScrollReturn, type UseCollapsibleContentOptions, type UseCollapsibleContentResult, type UseEditorReturn, type UseLottieOptions, type UseLottieReturn, type UseMonacoReturn, VideoControls, VideoErrorFallback, type VideoErrorFallbackProps, VideoPlayer, type VideoPlayerContextValue, type VideoPlayerProps, VideoPlayerProvider, type VideoPlayerProviderProps, type VideoPlayerRef, type VideoSourceUnion, VidstackProvider, type VimeoSource, type WeekDay, type YouTubeSource, buildCron, collectImageAttachments, createHttpTransport, createId, createLazyComponent, createMockTransport, createTokenBuffer, createVideoErrorFallback, deriveInitials, dispatchToolPayload, evaluateDisabledWhen, extractTextFromChildren, generateContentKey, getChatLogger, getRequiredFields, hasRequiredFields, humanizeCron, initialState, isGeoJSONFeatureCollection, isLatLng, isPlainObject, isSimpleStreamSource, isStringValue, isValidCron, mentionPresets, mergeDefaults, normalizeFormData, parseCron, parseSSE, reducer, resolveFileSource, resolvePersona, resolvePlayerMode, resolveStreamSource, safeJsonParse, safeJsonStringify, useAudioCache, useBlobUrlCleanup, useChat, useChatAudio, useChatAudioPrefs, useChatComposer, useChatContext, useChatContextOptional, useChatHistory, useChatLayout, useChatLightbox, useChatScroll, useCollapsibleContent, useCronCustom, useCronMonthDays, useCronPreview, useCronScheduler, useCronSchedulerContext, useCronTime, useCronType, useCronWeekDays, useEditor, useEditorContext, useImageCache, useLanguage, useLottie, useMediaCacheStore, useMonaco, useVideoCache, useVideoPlayerContext, useVideoPlayerSettings, validateRequiredFields, validateSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -1813,6 +1813,10 @@ interface ChatContextValue extends UseChatReturn {
|
|
|
1813
1813
|
config: ChatConfig;
|
|
1814
1814
|
labels: ChatLabels;
|
|
1815
1815
|
audio: UseChatAudioReturn;
|
|
1816
|
+
/** True iff the host wired at least one ``audio.sounds[event]`` URL.
|
|
1817
|
+
* Components like ``AudioToggle`` use this to auto-hide when there
|
|
1818
|
+
* is nothing to mute. */
|
|
1819
|
+
hasAudio: boolean;
|
|
1816
1820
|
}
|
|
1817
1821
|
interface ChatProviderProps {
|
|
1818
1822
|
transport: ChatTransport;
|
|
@@ -1869,6 +1873,32 @@ interface UseChatComposerReturn {
|
|
|
1869
1873
|
}
|
|
1870
1874
|
declare function useChatComposer(options: UseChatComposerOptions): UseChatComposerReturn;
|
|
1871
1875
|
|
|
1876
|
+
type ComposerSize = 'sm' | 'md' | 'lg';
|
|
1877
|
+
interface ComposerProps {
|
|
1878
|
+
composer: UseChatComposerReturn;
|
|
1879
|
+
placeholder?: string;
|
|
1880
|
+
disabled?: boolean;
|
|
1881
|
+
showAttachmentButton?: boolean;
|
|
1882
|
+
onPickFiles?: () => void;
|
|
1883
|
+
toolbarStart?: ReactNode;
|
|
1884
|
+
toolbarEnd?: ReactNode;
|
|
1885
|
+
attachmentTray?: ReactNode;
|
|
1886
|
+
className?: string;
|
|
1887
|
+
textareaClassName?: string;
|
|
1888
|
+
/** Visual size — controls textarea height + button slot size.
|
|
1889
|
+
*
|
|
1890
|
+
* - ``sm`` — 32px slot, dense compact composer (admin sidebars, etc).
|
|
1891
|
+
* - ``md`` — 36px slot, default. Same as the legacy fixed size.
|
|
1892
|
+
* - ``lg`` — 48px slot, generous textarea. Use when the chat is
|
|
1893
|
+
* the page's primary surface (onboarding, support).
|
|
1894
|
+
*/
|
|
1895
|
+
size?: ComposerSize;
|
|
1896
|
+
/** Show "Stop" button instead of "Send" while streaming. */
|
|
1897
|
+
isStreaming?: boolean;
|
|
1898
|
+
onCancel?: () => void;
|
|
1899
|
+
}
|
|
1900
|
+
declare const Composer: react.ForwardRefExoticComponent<ComposerProps & react.RefAttributes<HTMLDivElement>>;
|
|
1901
|
+
|
|
1872
1902
|
interface AttachmentRendererArgs {
|
|
1873
1903
|
attachment: ChatAttachment;
|
|
1874
1904
|
/** True when shown inside the composer's staging tray (denser layout). */
|
|
@@ -1980,6 +2010,9 @@ interface ChatRootProps {
|
|
|
1980
2010
|
onPickFiles?: () => void;
|
|
1981
2011
|
/** Hide the composer input area entirely (e.g. while waiting for human approval). */
|
|
1982
2012
|
hideComposer?: boolean;
|
|
2013
|
+
/** Composer size variant. Default ``md`` (36px slot). Use ``lg`` for primary
|
|
2014
|
+
* surfaces (onboarding, full-page chat), ``sm`` for dense sidebars. */
|
|
2015
|
+
composerSize?: ComposerSize;
|
|
1983
2016
|
}
|
|
1984
2017
|
declare function ChatRoot(props: ChatRootProps): react_jsx_runtime.JSX.Element;
|
|
1985
2018
|
|
|
@@ -2315,23 +2348,6 @@ interface MessageActionsProps {
|
|
|
2315
2348
|
}
|
|
2316
2349
|
declare function MessageActions({ role, onCopy, onRegenerate, onEdit, onDelete, hideOn, className, }: MessageActionsProps): react_jsx_runtime.JSX.Element;
|
|
2317
2350
|
|
|
2318
|
-
interface ComposerProps {
|
|
2319
|
-
composer: UseChatComposerReturn;
|
|
2320
|
-
placeholder?: string;
|
|
2321
|
-
disabled?: boolean;
|
|
2322
|
-
showAttachmentButton?: boolean;
|
|
2323
|
-
onPickFiles?: () => void;
|
|
2324
|
-
toolbarStart?: ReactNode;
|
|
2325
|
-
toolbarEnd?: ReactNode;
|
|
2326
|
-
attachmentTray?: ReactNode;
|
|
2327
|
-
className?: string;
|
|
2328
|
-
textareaClassName?: string;
|
|
2329
|
-
/** Show "Stop" button instead of "Send" while streaming. */
|
|
2330
|
-
isStreaming?: boolean;
|
|
2331
|
-
onCancel?: () => void;
|
|
2332
|
-
}
|
|
2333
|
-
declare const Composer: react.ForwardRefExoticComponent<ComposerProps & react.RefAttributes<HTMLDivElement>>;
|
|
2334
|
-
|
|
2335
2351
|
interface SourcesProps {
|
|
2336
2352
|
sources: ChatSource[];
|
|
2337
2353
|
layout?: 'inline' | 'grid';
|
|
@@ -2376,6 +2392,17 @@ interface StreamingIndicatorProps {
|
|
|
2376
2392
|
}
|
|
2377
2393
|
declare function StreamingIndicator({ variant, label, className }: StreamingIndicatorProps): react_jsx_runtime.JSX.Element;
|
|
2378
2394
|
|
|
2395
|
+
interface AudioToggleProps {
|
|
2396
|
+
/** Visual size — matches Button sizes. Default: ``icon``. */
|
|
2397
|
+
size?: 'sm' | 'icon';
|
|
2398
|
+
/** Variant passed to the underlying Button. Default: ``ghost``. */
|
|
2399
|
+
variant?: 'ghost' | 'outline' | 'secondary';
|
|
2400
|
+
/** Force-show even when no audio config is wired (e.g. for stories). */
|
|
2401
|
+
alwaysShow?: boolean;
|
|
2402
|
+
className?: string;
|
|
2403
|
+
}
|
|
2404
|
+
declare function AudioToggle({ size, variant, alwaysShow, className, }: AudioToggleProps): react_jsx_runtime.JSX.Element;
|
|
2405
|
+
|
|
2379
2406
|
/**
|
|
2380
2407
|
* PrettyCode Component - Dynamic Import Wrapper
|
|
2381
2408
|
*
|
|
@@ -3395,4 +3422,4 @@ declare function useBlobUrlCleanup(key: string | null): void;
|
|
|
3395
3422
|
*/
|
|
3396
3423
|
declare function generateContentKey(content: ArrayBuffer): string;
|
|
3397
3424
|
|
|
3398
|
-
export { type ApiKey, ArrayFieldItemTemplate, ArrayFieldTemplate, type AspectRatioValue, type AttachmentRenderer, type AttachmentRendererArgs, type AttachmentRendererMap, Attachments, AttachmentsGrid, type AttachmentsGridProps, AttachmentsList, type AttachmentsListProps, type AttachmentsProps, Player as AudioPlayer, type PlayerProps as AudioPlayerProps, BaseInputTemplate, type BlobSource, CHAT_EVENT_NAME, CSS_VARS, CardLoadingFallback, type ChatAction, type ChatAssistantContext, type ChatAttachment, type ChatAudioConfig, type ChatAudioEvent, type ChatAudioSounds, type ChatConfig, type ChatContextValue, type ChatDisplayMode, type ChatEventDetail, type ChatLabels, type ChatLightboxState, type ChatLogScope, type ChatLogger, type ChatMessage, type ChatPersona, type ChatPrefs, ChatProvider, type ChatProviderProps, type ChatRole, ChatRoot, type ChatRootProps, type ChatSource, type ChatState, type ChatStreamEvent, type ChatToolCall, type ChatTransport, type ChatUserContext, CheckboxWidget, ColorWidget, Composer, type ComposerProps, type CreateLazyComponentOptions, type CreateSessionOptions, type CreateVideoErrorFallbackOptions, CronScheduler, type CronSchedulerContextValue, type CronSchedulerProps, CronSchedulerProvider, type CronSchedulerState, CustomInput, type DASHSource, DEFAULT_LABELS, DEFAULT_SIDEBAR, DEFAULT_Z_INDEX, type DataUrlSource, DayChips, DiffEditor, type DiffEditorProps, type DisabledWhenRule, Editor, type EditorContextValue, type EditorFile, type EditorOptions, type EditorProps, EditorProvider, type EditorRef, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ErrorFallbackProps, ErrorListTemplate, FieldTemplate, type HLSSource, HOTKEYS, type HistoryPage, type HttpTransportConfig, type ImageFile, ImageViewer, type ImageViewerProps, type JsonFormContext, type JsonFormDensity, JsonSchemaForm, type JsonSchemaFormProps, JsonTreeComponent as JsonTree, type JsonTreeConfig, type JsonTreeProps, JumpToLatest, type JumpToLatestProps, LIMITS, LazyPlayer as LazyAudioPlayer, LazyChat, type ChatRootProps as LazyChatProps, LazyCronScheduler, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyTree, TreeRootProps as LazyTreeProps, LazyVideoPlayer, LazyWrapper, type LazyWrapperProps, type LinkRule, LoadingFallback, type LoadingFallbackProps, type LottieDirection, LottiePlayer, type LottiePlayerProps, type LottieSize, type LottieSpeed, type MapContainerProps, MapLoadingFallback, type MapStyleKey, type MapViewport, MarkdownEditor, type MarkdownEditorProps, MarkdownMessage, type MarkdownMessageProps, type MarkerData, type MentionAttrs, type MentionConfig, type MentionItem, type MentionMarkdownRenderer, Mermaid, type MermaidProps, MessageActions, type MessageActionsProps, MessageBubble, type MessageBubbleProps, MessageList, type MessageListProps, type MockTransportOptions, type MonthDay, MonthDayGrid, NativeProvider, NumberWidget, ObjectFieldTemplate, Playground as OpenapiViewer, type ParseSSEOptions, type PlayerMode, type PlaygroundConfig, type PlaygroundProps$1 as PlaygroundProps, PrettyCode, type PrettyCodeProps$1 as PrettyCodeProps, type ResolveFileSourceOptions, STORAGE_KEYS, SchedulePreview, type ScheduleType, ScheduleTypeSelector, type SchemaSource, SelectWidget, type SendOptions, type SessionInfo, type SimpleStreamSource, SliderWidget, Sources, type SourcesProps, Spinner, type StreamOptions, StreamProvider, type StreamSource, StreamingIndicator, type StreamingIndicatorProps, SwitchWidget, TextWidget, TimeSelector, type TokenBuffer, ToolCalls, type ToolCallsProps, type ToolPayloadFallback, type ToolPayloadKind, type ToolPayloadMatcher, TransportError, TreeRootProps, type UiGroup, type UrlSource, type UseChatAudioReturn, type UseChatComposerOptions, type UseChatComposerReturn, type UseChatConfig, type UseChatHistoryOptions, type UseChatLayoutConfig, type UseChatLayoutReturn, type UseChatLightboxReturn, type UseChatReturn, type UseChatScrollOptions, type UseChatScrollReturn, type UseCollapsibleContentOptions, type UseCollapsibleContentResult, type UseEditorReturn, type UseLottieOptions, type UseLottieReturn, type UseMonacoReturn, VideoControls, VideoErrorFallback, type VideoErrorFallbackProps, VideoPlayer, type VideoPlayerContextValue, type VideoPlayerProps, VideoPlayerProvider, type VideoPlayerProviderProps, type VideoPlayerRef, type VideoSourceUnion, VidstackProvider, type VimeoSource, type WeekDay, type YouTubeSource, buildCron, collectImageAttachments, createHttpTransport, createId, createLazyComponent, createMockTransport, createTokenBuffer, createVideoErrorFallback, deriveInitials, dispatchToolPayload, evaluateDisabledWhen, extractTextFromChildren, generateContentKey, getChatLogger, getRequiredFields, hasRequiredFields, humanizeCron, initialState, isGeoJSONFeatureCollection, isLatLng, isPlainObject, isSimpleStreamSource, isStringValue, isValidCron, mentionPresets, mergeDefaults, normalizeFormData, parseCron, parseSSE, reducer, resolveFileSource, resolvePersona, resolvePlayerMode, resolveStreamSource, safeJsonParse, safeJsonStringify, useAudioCache, useBlobUrlCleanup, useChat, useChatAudio, useChatAudioPrefs, useChatComposer, useChatContext, useChatContextOptional, useChatHistory, useChatLayout, useChatLightbox, useChatScroll, useCollapsibleContent, useCronCustom, useCronMonthDays, useCronPreview, useCronScheduler, useCronSchedulerContext, useCronTime, useCronType, useCronWeekDays, useEditor, useEditorContext, useImageCache, useLanguage, useLottie, useMediaCacheStore, useMonaco, useVideoCache, useVideoPlayerContext, useVideoPlayerSettings, validateRequiredFields, validateSchema };
|
|
3425
|
+
export { type ApiKey, ArrayFieldItemTemplate, ArrayFieldTemplate, type AspectRatioValue, type AttachmentRenderer, type AttachmentRendererArgs, type AttachmentRendererMap, Attachments, AttachmentsGrid, type AttachmentsGridProps, AttachmentsList, type AttachmentsListProps, type AttachmentsProps, Player as AudioPlayer, type PlayerProps as AudioPlayerProps, AudioToggle, type AudioToggleProps, BaseInputTemplate, type BlobSource, CHAT_EVENT_NAME, CSS_VARS, CardLoadingFallback, type ChatAction, type ChatAssistantContext, type ChatAttachment, type ChatAudioConfig, type ChatAudioEvent, type ChatAudioSounds, type ChatConfig, type ChatContextValue, type ChatDisplayMode, type ChatEventDetail, type ChatLabels, type ChatLightboxState, type ChatLogScope, type ChatLogger, type ChatMessage, type ChatPersona, type ChatPrefs, ChatProvider, type ChatProviderProps, type ChatRole, ChatRoot, type ChatRootProps, type ChatSource, type ChatState, type ChatStreamEvent, type ChatToolCall, type ChatTransport, type ChatUserContext, CheckboxWidget, ColorWidget, Composer, type ComposerProps, type CreateLazyComponentOptions, type CreateSessionOptions, type CreateVideoErrorFallbackOptions, CronScheduler, type CronSchedulerContextValue, type CronSchedulerProps, CronSchedulerProvider, type CronSchedulerState, CustomInput, type DASHSource, DEFAULT_LABELS, DEFAULT_SIDEBAR, DEFAULT_Z_INDEX, type DataUrlSource, DayChips, DiffEditor, type DiffEditorProps, type DisabledWhenRule, Editor, type EditorContextValue, type EditorFile, type EditorOptions, type EditorProps, EditorProvider, type EditorRef, EmptyState, type EmptyStateProps, ErrorBanner, type ErrorBannerProps, type ErrorFallbackProps, ErrorListTemplate, FieldTemplate, type HLSSource, HOTKEYS, type HistoryPage, type HttpTransportConfig, type ImageFile, ImageViewer, type ImageViewerProps, type JsonFormContext, type JsonFormDensity, JsonSchemaForm, type JsonSchemaFormProps, JsonTreeComponent as JsonTree, type JsonTreeConfig, type JsonTreeProps, JumpToLatest, type JumpToLatestProps, LIMITS, LazyPlayer as LazyAudioPlayer, LazyChat, type ChatRootProps as LazyChatProps, LazyCronScheduler, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyTree, TreeRootProps as LazyTreeProps, LazyVideoPlayer, LazyWrapper, type LazyWrapperProps, type LinkRule, LoadingFallback, type LoadingFallbackProps, type LottieDirection, LottiePlayer, type LottiePlayerProps, type LottieSize, type LottieSpeed, type MapContainerProps, MapLoadingFallback, type MapStyleKey, type MapViewport, MarkdownEditor, type MarkdownEditorProps, MarkdownMessage, type MarkdownMessageProps, type MarkerData, type MentionAttrs, type MentionConfig, type MentionItem, type MentionMarkdownRenderer, Mermaid, type MermaidProps, MessageActions, type MessageActionsProps, MessageBubble, type MessageBubbleProps, MessageList, type MessageListProps, type MockTransportOptions, type MonthDay, MonthDayGrid, NativeProvider, NumberWidget, ObjectFieldTemplate, Playground as OpenapiViewer, type ParseSSEOptions, type PlayerMode, type PlaygroundConfig, type PlaygroundProps$1 as PlaygroundProps, PrettyCode, type PrettyCodeProps$1 as PrettyCodeProps, type ResolveFileSourceOptions, STORAGE_KEYS, SchedulePreview, type ScheduleType, ScheduleTypeSelector, type SchemaSource, SelectWidget, type SendOptions, type SessionInfo, type SimpleStreamSource, SliderWidget, Sources, type SourcesProps, Spinner, type StreamOptions, StreamProvider, type StreamSource, StreamingIndicator, type StreamingIndicatorProps, SwitchWidget, TextWidget, TimeSelector, type TokenBuffer, ToolCalls, type ToolCallsProps, type ToolPayloadFallback, type ToolPayloadKind, type ToolPayloadMatcher, TransportError, TreeRootProps, type UiGroup, type UrlSource, type UseChatAudioReturn, type UseChatComposerOptions, type UseChatComposerReturn, type UseChatConfig, type UseChatHistoryOptions, type UseChatLayoutConfig, type UseChatLayoutReturn, type UseChatLightboxReturn, type UseChatReturn, type UseChatScrollOptions, type UseChatScrollReturn, type UseCollapsibleContentOptions, type UseCollapsibleContentResult, type UseEditorReturn, type UseLottieOptions, type UseLottieReturn, type UseMonacoReturn, VideoControls, VideoErrorFallback, type VideoErrorFallbackProps, VideoPlayer, type VideoPlayerContextValue, type VideoPlayerProps, VideoPlayerProvider, type VideoPlayerProviderProps, type VideoPlayerRef, type VideoSourceUnion, VidstackProvider, type VimeoSource, type WeekDay, type YouTubeSource, buildCron, collectImageAttachments, createHttpTransport, createId, createLazyComponent, createMockTransport, createTokenBuffer, createVideoErrorFallback, deriveInitials, dispatchToolPayload, evaluateDisabledWhen, extractTextFromChildren, generateContentKey, getChatLogger, getRequiredFields, hasRequiredFields, humanizeCron, initialState, isGeoJSONFeatureCollection, isLatLng, isPlainObject, isSimpleStreamSource, isStringValue, isValidCron, mentionPresets, mergeDefaults, normalizeFormData, parseCron, parseSSE, reducer, resolveFileSource, resolvePersona, resolvePlayerMode, resolveStreamSource, safeJsonParse, safeJsonStringify, useAudioCache, useBlobUrlCleanup, useChat, useChatAudio, useChatAudioPrefs, useChatComposer, useChatContext, useChatContextOptional, useChatHistory, useChatLayout, useChatLightbox, useChatScroll, useCollapsibleContent, useCronCustom, useCronMonthDays, useCronPreview, useCronScheduler, useCronSchedulerContext, useCronTime, useCronType, useCronWeekDays, useEditor, useEditorContext, useImageCache, useLanguage, useLottie, useMediaCacheStore, useMonaco, useVideoCache, useVideoPlayerContext, useVideoPlayerSettings, validateRequiredFields, validateSchema };
|
package/dist/index.mjs
CHANGED
|
@@ -5,8 +5,8 @@ export { NativeProvider, StreamProvider, VideoControls, VideoErrorFallback, Vide
|
|
|
5
5
|
export { ImageViewer } from './chunk-OBRSGM64.mjs';
|
|
6
6
|
export { generateContentKey, useAudioCache, useBlobUrlCleanup, useImageCache, useMediaCacheStore, useVideoCache, useVideoPlayerSettings } from './chunk-C6GXVH5J.mjs';
|
|
7
7
|
export { CronSchedulerProvider, CustomInput, DayChips, MonthDayGrid, SchedulePreview, ScheduleTypeSelector, TimeSelector, buildCron, humanizeCron, isValidCron, parseCron, useCronCustom, useCronMonthDays, useCronPreview, useCronScheduler, useCronSchedulerContext, useCronTime, useCronType, useCronWeekDays } from './chunk-PVAX67JG.mjs';
|
|
8
|
-
import { LIMITS, createId } from './chunk-
|
|
9
|
-
export { Attachments, AttachmentsGrid, AttachmentsList, CHAT_EVENT_NAME, CSS_VARS, ChatProvider, ChatRoot, Composer, DEFAULT_LABELS, DEFAULT_SIDEBAR, DEFAULT_Z_INDEX, EmptyState, ErrorBanner, HOTKEYS, JumpToLatest, LIMITS, MessageActions, MessageBubble, MessageList, STORAGE_KEYS, Sources, StreamingIndicator, ToolCalls, createId, createTokenBuffer, deriveInitials, getChatLogger, initialState, reducer, resolvePersona, useChat, useChatAudio, useChatAudioPrefs, useChatComposer, useChatContext, useChatContextOptional, useChatHistory, useChatLayout, useChatScroll } from './chunk-
|
|
8
|
+
import { LIMITS, createId, useChatAudioPrefs, useChatContextOptional } from './chunk-XJ7CXHSU.mjs';
|
|
9
|
+
export { Attachments, AttachmentsGrid, AttachmentsList, CHAT_EVENT_NAME, CSS_VARS, ChatProvider, ChatRoot, Composer, DEFAULT_LABELS, DEFAULT_SIDEBAR, DEFAULT_Z_INDEX, EmptyState, ErrorBanner, HOTKEYS, JumpToLatest, LIMITS, MessageActions, MessageBubble, MessageList, STORAGE_KEYS, Sources, StreamingIndicator, ToolCalls, createId, createTokenBuffer, deriveInitials, getChatLogger, initialState, reducer, resolvePersona, useChat, useChatAudio, useChatAudioPrefs, useChatComposer, useChatContext, useChatContextOptional, useChatHistory, useChatLayout, useChatScroll } from './chunk-XJ7CXHSU.mjs';
|
|
10
10
|
export { TreeError, TreeSkeleton, createDemoTree } from './chunk-B6IR5KSC.mjs';
|
|
11
11
|
export { DEFAULT_TREE_APPEARANCE, DEFAULT_TREE_LABELS, TreeRoot as Tree, TreeChevron, TreeContent, TreeEmpty, TreeIcon, TreeIndentGuides, TreeLabel, TreeProvider, TreeRoot, TreeRow, TreeSearchInput, appearanceToStyle, clearTreeState, createChildCache, flattenTree, loadTreeState, resolveAppearance, resolveChildren, saveTreeState, useTreeActions, useTreeContext, useTreeExpansion, useTreeFocus, useTreeKeyboard, useTreeLabels, useTreeRows, useTreeSearch, useTreeSelection, useTreeTypeAhead } from './chunk-G5IEC7SR.mjs';
|
|
12
12
|
import { PlaygroundProvider } from './chunk-ZUFTH5IR.mjs';
|
|
@@ -19,13 +19,14 @@ import { lazy, forwardRef, useRef, useState, useCallback, useImperativeHandle, u
|
|
|
19
19
|
import { cn } from '@djangocfg/ui-core/lib';
|
|
20
20
|
import { useAppT } from '@djangocfg/i18n';
|
|
21
21
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
22
|
+
import { VolumeX, Volume2, Bold, Italic, Strikethrough, Code, Heading1, Heading2, Heading3, List, ListOrdered, Quote, Minus } from 'lucide-react';
|
|
23
|
+
import { Button } from '@djangocfg/ui-core/components';
|
|
22
24
|
import { useResolvedTheme } from '@djangocfg/ui-core/hooks';
|
|
23
25
|
import { ReactRenderer, useEditor as useEditor$1, EditorContent } from '@tiptap/react';
|
|
24
26
|
import StarterKit from '@tiptap/starter-kit';
|
|
25
27
|
import Placeholder from '@tiptap/extension-placeholder';
|
|
26
28
|
import Mention from '@tiptap/extension-mention';
|
|
27
29
|
import { Markdown } from '@tiptap/markdown';
|
|
28
|
-
import { Bold, Italic, Strikethrough, Code, Heading1, Heading2, Heading3, List, ListOrdered, Quote, Minus } from 'lucide-react';
|
|
29
30
|
import { autoUpdate, computePosition, offset, flip, shift } from '@floating-ui/dom';
|
|
30
31
|
|
|
31
32
|
function Spinner({ className }) {
|
|
@@ -347,7 +348,7 @@ var LazyTree = createLazyComponent(
|
|
|
347
348
|
}
|
|
348
349
|
);
|
|
349
350
|
var LazyChat = createLazyComponent(
|
|
350
|
-
() => import('./ChatRoot-
|
|
351
|
+
() => import('./ChatRoot-VSIBJLE2.mjs').then((m) => ({ default: m.ChatRoot })),
|
|
351
352
|
{
|
|
352
353
|
displayName: "LazyChat",
|
|
353
354
|
fallback: /* @__PURE__ */ jsx(LoadingFallback, { minHeight: 320, text: "Loading chat\u2026" })
|
|
@@ -700,6 +701,34 @@ function collectImageAttachments(messages) {
|
|
|
700
701
|
return out;
|
|
701
702
|
}
|
|
702
703
|
__name(collectImageAttachments, "collectImageAttachments");
|
|
704
|
+
function AudioToggle({
|
|
705
|
+
size = "icon",
|
|
706
|
+
variant = "ghost",
|
|
707
|
+
alwaysShow = false,
|
|
708
|
+
className
|
|
709
|
+
}) {
|
|
710
|
+
const muted = useChatAudioPrefs((s) => s.muted);
|
|
711
|
+
const setMuted = useChatAudioPrefs((s) => s.setMuted);
|
|
712
|
+
const ctx = useChatContextOptional();
|
|
713
|
+
if (ctx && !ctx.hasAudio && !alwaysShow) return null;
|
|
714
|
+
const Icon = muted ? VolumeX : Volume2;
|
|
715
|
+
const label = muted ? "Unmute chat sounds" : "Mute chat sounds";
|
|
716
|
+
return /* @__PURE__ */ jsx(
|
|
717
|
+
Button,
|
|
718
|
+
{
|
|
719
|
+
type: "button",
|
|
720
|
+
variant,
|
|
721
|
+
size,
|
|
722
|
+
onClick: () => setMuted(!muted),
|
|
723
|
+
"aria-label": label,
|
|
724
|
+
"aria-pressed": muted,
|
|
725
|
+
title: label,
|
|
726
|
+
className: cn(size === "icon" ? "h-9 w-9" : "", className),
|
|
727
|
+
children: /* @__PURE__ */ jsx(Icon, { "aria-hidden": true, className: "size-4" })
|
|
728
|
+
}
|
|
729
|
+
);
|
|
730
|
+
}
|
|
731
|
+
__name(AudioToggle, "AudioToggle");
|
|
703
732
|
var LottiePlayerClient = lazy(
|
|
704
733
|
() => import('./LottiePlayer.client-5LDSSJWS.mjs').then((mod) => ({ default: mod.LottiePlayer }))
|
|
705
734
|
);
|
|
@@ -1732,6 +1761,6 @@ function MarkdownToolbar({ editor }) {
|
|
|
1732
1761
|
}
|
|
1733
1762
|
__name(MarkdownToolbar, "MarkdownToolbar");
|
|
1734
1763
|
|
|
1735
|
-
export { CardLoadingFallback, CronScheduler, DiffEditor, Editor, EditorProvider, LazyPlayer as LazyAudioPlayer, LazyChat, LazyCronScheduler, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyTree, LazyVideoPlayer, LazyWrapper, LoadingFallback, LottiePlayer, MapLoadingFallback, MarkdownEditor, OpenapiViewer_default as OpenapiViewer, Spinner, TransportError, collectImageAttachments, createHttpTransport, createLazyComponent, createMockTransport, dispatchToolPayload, isGeoJSONFeatureCollection, isLatLng, isPlainObject, isStringValue, mentionPresets, parseSSE, useChatLightbox, useEditor, useEditorContext, useLanguage, useMonaco };
|
|
1764
|
+
export { AudioToggle, CardLoadingFallback, CronScheduler, DiffEditor, Editor, EditorProvider, LazyPlayer as LazyAudioPlayer, LazyChat, LazyCronScheduler, LazyImageViewer, LazyJsonSchemaForm, LazyJsonTree, LazyLottiePlayer, LazyMapContainer, LazyMapView, LazyMermaid, LazyOpenapiViewer, LazyPrettyCode, LazyTree, LazyVideoPlayer, LazyWrapper, LoadingFallback, LottiePlayer, MapLoadingFallback, MarkdownEditor, OpenapiViewer_default as OpenapiViewer, Spinner, TransportError, collectImageAttachments, createHttpTransport, createLazyComponent, createMockTransport, dispatchToolPayload, isGeoJSONFeatureCollection, isLatLng, isPlainObject, isStringValue, mentionPresets, parseSSE, useChatLightbox, useEditor, useEditorContext, useLanguage, useMonaco };
|
|
1736
1765
|
//# sourceMappingURL=index.mjs.map
|
|
1737
1766
|
//# sourceMappingURL=index.mjs.map
|