@sesionario/blocks 1.5.0 → 1.7.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.
- package/dist/index.cjs +931 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +147 -1
- package/dist/index.d.ts +147 -1
- package/dist/index.js +928 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -95,6 +95,26 @@ declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">
|
|
|
95
95
|
declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
96
96
|
declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
97
97
|
|
|
98
|
+
type ImageLightboxLabels = {
|
|
99
|
+
ariaLabel?: string;
|
|
100
|
+
close?: string;
|
|
101
|
+
previous?: string;
|
|
102
|
+
next?: string;
|
|
103
|
+
};
|
|
104
|
+
type ImageLightboxProps = {
|
|
105
|
+
images: string[];
|
|
106
|
+
index: number;
|
|
107
|
+
onIndexChange: (index: number) => void;
|
|
108
|
+
onClose: () => void;
|
|
109
|
+
labels?: ImageLightboxLabels;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Fullscreen image gallery viewer. Portal overlay with Esc/click-to-close,
|
|
113
|
+
* arrow-key navigation, wheel/pinch zoom, and pan when zoomed. Locks page
|
|
114
|
+
* scroll while mounted.
|
|
115
|
+
*/
|
|
116
|
+
declare function ImageLightbox({ images, index, onIndexChange, onClose, labels, }: ImageLightboxProps): React.ReactPortal;
|
|
117
|
+
|
|
98
118
|
type ThemeSwitcherLabels = {
|
|
99
119
|
/** Tooltip label for the theme switcher */
|
|
100
120
|
theme?: string;
|
|
@@ -811,6 +831,132 @@ type ChatMessageListProps = {
|
|
|
811
831
|
};
|
|
812
832
|
declare function ChatMessageList({ messages, currentUserId, emptyTitle, emptyDescription, }: ChatMessageListProps): React.JSX.Element;
|
|
813
833
|
|
|
834
|
+
type ConversationKind = "pharma_support" | "org_support" | "member_support";
|
|
835
|
+
type SupportConversation = {
|
|
836
|
+
id: string;
|
|
837
|
+
kind: ConversationKind;
|
|
838
|
+
subjectId: string;
|
|
839
|
+
memberUserId: string | null;
|
|
840
|
+
lastMessageAt: string | null;
|
|
841
|
+
unreadCount?: number;
|
|
842
|
+
};
|
|
843
|
+
type SupportMessage = {
|
|
844
|
+
id: string;
|
|
845
|
+
conversationId: string;
|
|
846
|
+
senderId: string;
|
|
847
|
+
senderName: string;
|
|
848
|
+
senderSide: string;
|
|
849
|
+
body: string;
|
|
850
|
+
deleted: boolean;
|
|
851
|
+
createdAt: string;
|
|
852
|
+
};
|
|
853
|
+
type FindOrCreateConversationInput = {
|
|
854
|
+
kind: ConversationKind;
|
|
855
|
+
subjectId: string;
|
|
856
|
+
memberUserId?: string;
|
|
857
|
+
};
|
|
858
|
+
type SupportChatClient = {
|
|
859
|
+
basePath: string;
|
|
860
|
+
listConversations: () => Promise<SupportConversation[]>;
|
|
861
|
+
findOrCreateConversation: (input: FindOrCreateConversationInput) => Promise<SupportConversation>;
|
|
862
|
+
listMessages: (conversationId: string) => Promise<SupportMessage[]>;
|
|
863
|
+
sendMessage: (conversationId: string, text: string) => Promise<SupportMessage>;
|
|
864
|
+
markRead: (conversationId: string) => Promise<void>;
|
|
865
|
+
};
|
|
866
|
+
declare function createSupportChatClient(basePath?: string): SupportChatClient;
|
|
867
|
+
|
|
868
|
+
type SupportMessengerItem = {
|
|
869
|
+
/** Stable list key (org id, conversation id, etc.). */
|
|
870
|
+
key: string;
|
|
871
|
+
title: string;
|
|
872
|
+
subtitle?: string;
|
|
873
|
+
avatarUrl?: string | null;
|
|
874
|
+
unreadCount?: number;
|
|
875
|
+
conversationId?: string | null;
|
|
876
|
+
open?: FindOrCreateConversationInput;
|
|
877
|
+
};
|
|
878
|
+
type SupportMessengerTab = {
|
|
879
|
+
id: string;
|
|
880
|
+
label: string;
|
|
881
|
+
};
|
|
882
|
+
type SupportMessengerLabels = {
|
|
883
|
+
launcherAria: string;
|
|
884
|
+
listTitle: string;
|
|
885
|
+
emptyList: string;
|
|
886
|
+
emptyThread: string;
|
|
887
|
+
placeholder: string;
|
|
888
|
+
send: string;
|
|
889
|
+
close: string;
|
|
890
|
+
back: string;
|
|
891
|
+
loading: string;
|
|
892
|
+
searchPlaceholder?: string;
|
|
893
|
+
unreadBadgeAria?: string;
|
|
894
|
+
};
|
|
895
|
+
type OpenThreadRequest = {
|
|
896
|
+
key: string;
|
|
897
|
+
title: string;
|
|
898
|
+
subtitle?: string;
|
|
899
|
+
conversationId?: string | null;
|
|
900
|
+
open?: FindOrCreateConversationInput;
|
|
901
|
+
};
|
|
902
|
+
type SupportMessengerContextValue = {
|
|
903
|
+
listOpen: boolean;
|
|
904
|
+
openList: () => void;
|
|
905
|
+
closeList: () => void;
|
|
906
|
+
toggleList: () => void;
|
|
907
|
+
openThread: (req: OpenThreadRequest) => void;
|
|
908
|
+
closeThread: (key: string) => void;
|
|
909
|
+
closeAll: () => void;
|
|
910
|
+
activeThreadKey: string | null;
|
|
911
|
+
totalUnread: number;
|
|
912
|
+
};
|
|
913
|
+
declare function useSupportMessenger(): SupportMessengerContextValue;
|
|
914
|
+
/** Returns null when rendered outside `SupportMessengerProvider`. */
|
|
915
|
+
declare function useSupportMessengerOptional(): SupportMessengerContextValue | null;
|
|
916
|
+
type SupportMessengerProviderProps = {
|
|
917
|
+
children: ReactNode;
|
|
918
|
+
client: SupportChatClient;
|
|
919
|
+
getWsUrl: (conversationId: string) => Promise<string | null>;
|
|
920
|
+
currentUserId: string | null;
|
|
921
|
+
items: SupportMessengerItem[];
|
|
922
|
+
labels: SupportMessengerLabels;
|
|
923
|
+
/** When false, messenger chrome is not rendered. */
|
|
924
|
+
enabled?: boolean;
|
|
925
|
+
/** Collapse dock/sheet; FAB remains (e.g. event chat visible). */
|
|
926
|
+
forceMinimized?: boolean;
|
|
927
|
+
emojiLocale?: EmojiPickerLocale;
|
|
928
|
+
tabs?: SupportMessengerTab[];
|
|
929
|
+
activeTab?: string;
|
|
930
|
+
onTabChange?: (id: string) => void;
|
|
931
|
+
onRefreshItems?: () => void | Promise<void>;
|
|
932
|
+
/** Show search when item count >= this (default 8). */
|
|
933
|
+
searchThreshold?: number;
|
|
934
|
+
className?: string;
|
|
935
|
+
};
|
|
936
|
+
declare function SupportMessengerProvider({ children, client, getWsUrl, currentUserId, items, labels, enabled, forceMinimized, emojiLocale, tabs, activeTab, onTabChange, onRefreshItems, searchThreshold, className, }: SupportMessengerProviderProps): React.JSX.Element;
|
|
937
|
+
|
|
938
|
+
type UseSupportConversationOptions = {
|
|
939
|
+
client: SupportChatClient;
|
|
940
|
+
/** Resolve a WebSocket URL (including auth token). Return null to skip WS. */
|
|
941
|
+
getWsUrl: (conversationId: string) => Promise<string | null>;
|
|
942
|
+
/** Existing conversation id, or null to find-or-create via `open`. */
|
|
943
|
+
conversationId: string | null;
|
|
944
|
+
open?: FindOrCreateConversationInput | null;
|
|
945
|
+
enabled?: boolean;
|
|
946
|
+
onConversationReady?: (conversationId: string) => void;
|
|
947
|
+
onIncomingMessage?: (message: SupportMessage) => void;
|
|
948
|
+
};
|
|
949
|
+
type UseSupportConversationResult = {
|
|
950
|
+
conversationId: string | null;
|
|
951
|
+
messages: SupportMessage[];
|
|
952
|
+
loading: boolean;
|
|
953
|
+
sending: boolean;
|
|
954
|
+
error: string | null;
|
|
955
|
+
send: (text: string) => Promise<void>;
|
|
956
|
+
reload: () => Promise<void>;
|
|
957
|
+
};
|
|
958
|
+
declare function useSupportConversation({ client, getWsUrl, conversationId: conversationIdProp, open, enabled, onConversationReady, onIncomingMessage, }: UseSupportConversationOptions): UseSupportConversationResult;
|
|
959
|
+
|
|
814
960
|
declare function cn(...inputs: ClassValue[]): string;
|
|
815
961
|
|
|
816
|
-
export { type AutoplayState, AvatarEditor, AvatarEditorDialog, type AvatarEditorDialogProps, type AvatarEditorProps, type BlocksLanguage, Bubble, BubbleContent, BubbleGroup, BubbleReactions, type ChatListMessage, ChatMessageList, type ChatMessageListProps, ConfirmDestructiveDialog, type ConfirmDestructiveDialogProps, type DescribedPlaybackError, type EmojiCategoryData, type EmojiCategoryKey, type EmojiDatum, EmojiInput, type EmojiInputProps, EmojiPicker, type EmojiPickerLabels, type EmojiPickerLocale, EmojiPickerPopover, type EmojiPickerPopoverProps, type EmojiPickerProps, type EmojiSkinTone, EmojiTextarea, type EmojiTextareaProps, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateProps, EmptyTitle, ErrorState, type FeatureEntry, type HlsPlayerMode, type Language, LanguageContext, type LanguageContextValue, LanguageSwitcher, type LanguageSwitcherLabels, type LanguageSwitcherProps, LoadingState, MEXICO_STATES, MEXICO_STATE_PATHS, Marker, MarkerContent, MarkerIcon, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, MexicoMap, type MexicoMapProps, type MexicoState, type MexicoStateId, OrgSwitcher, type OrgSwitcherLabels, type OrgSwitcherProps, type OrgSwitcherTenant, PhoneInput, type PhoneInputProps, type PlaybackErrorContext, type PlaybackErrorDetail, type PlaybackErrorKind, type PlaybackState, type PlaybackStats, type ProfessionalVerificationStatus, type QualityLevel, SearchCommand, type SearchCommandLabels, type SearchCommandProps, type SearchCommandSelection, type SearchHit, ThemeSwitcher, type ThemeSwitcherLabels, type ThemeSwitcherProps, type UseHlsPlaybackOptions, type UseHlsPlaybackResult, type UsePlaybackStatsOptions, type UseSearchHotkeyOptions, type UseSearchHotkeyResult, VerifiedProfessionalBadge, type VerifiedProfessionalBadgeProps, VideoPlayer, type VideoPlayerLabels, type VideoPlayerProps, bubbleVariants, cn, createLiveHlsConfig, createVodHlsConfig, defaultLanguages, describePlaybackError, fuzzyMatch, insertAtCaret, markerVariants, normalizeEmojiQuery, shouldRetryLiveEdge404, useDebouncedValue, useDebouncedValueStrict, useHlsPlayback, useLanguageContext, usePlaybackStats, useSearchHotkey };
|
|
962
|
+
export { type AutoplayState, AvatarEditor, AvatarEditorDialog, type AvatarEditorDialogProps, type AvatarEditorProps, type BlocksLanguage, Bubble, BubbleContent, BubbleGroup, BubbleReactions, type ChatListMessage, ChatMessageList, type ChatMessageListProps, ConfirmDestructiveDialog, type ConfirmDestructiveDialogProps, type ConversationKind, type DescribedPlaybackError, type EmojiCategoryData, type EmojiCategoryKey, type EmojiDatum, EmojiInput, type EmojiInputProps, EmojiPicker, type EmojiPickerLabels, type EmojiPickerLocale, EmojiPickerPopover, type EmojiPickerPopoverProps, type EmojiPickerProps, type EmojiSkinTone, EmojiTextarea, type EmojiTextareaProps, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateProps, EmptyTitle, ErrorState, type FeatureEntry, type FindOrCreateConversationInput, type HlsPlayerMode, ImageLightbox, type ImageLightboxLabels, type ImageLightboxProps, type Language, LanguageContext, type LanguageContextValue, LanguageSwitcher, type LanguageSwitcherLabels, type LanguageSwitcherProps, LoadingState, MEXICO_STATES, MEXICO_STATE_PATHS, Marker, MarkerContent, MarkerIcon, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, MexicoMap, type MexicoMapProps, type MexicoState, type MexicoStateId, type OpenThreadRequest, OrgSwitcher, type OrgSwitcherLabels, type OrgSwitcherProps, type OrgSwitcherTenant, PhoneInput, type PhoneInputProps, type PlaybackErrorContext, type PlaybackErrorDetail, type PlaybackErrorKind, type PlaybackState, type PlaybackStats, type ProfessionalVerificationStatus, type QualityLevel, SearchCommand, type SearchCommandLabels, type SearchCommandProps, type SearchCommandSelection, type SearchHit, type SupportChatClient, type SupportConversation, type SupportMessage, type SupportMessengerItem, type SupportMessengerLabels, SupportMessengerProvider, type SupportMessengerProviderProps, type SupportMessengerTab, ThemeSwitcher, type ThemeSwitcherLabels, type ThemeSwitcherProps, type UseHlsPlaybackOptions, type UseHlsPlaybackResult, type UsePlaybackStatsOptions, type UseSearchHotkeyOptions, type UseSearchHotkeyResult, type UseSupportConversationOptions, type UseSupportConversationResult, VerifiedProfessionalBadge, type VerifiedProfessionalBadgeProps, VideoPlayer, type VideoPlayerLabels, type VideoPlayerProps, bubbleVariants, cn, createLiveHlsConfig, createSupportChatClient, createVodHlsConfig, defaultLanguages, describePlaybackError, fuzzyMatch, insertAtCaret, markerVariants, normalizeEmojiQuery, shouldRetryLiveEdge404, useDebouncedValue, useDebouncedValueStrict, useHlsPlayback, useLanguageContext, usePlaybackStats, useSearchHotkey, useSupportConversation, useSupportMessenger, useSupportMessengerOptional };
|
package/dist/index.d.ts
CHANGED
|
@@ -95,6 +95,26 @@ declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">
|
|
|
95
95
|
declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): React.JSX.Element;
|
|
96
96
|
declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
97
97
|
|
|
98
|
+
type ImageLightboxLabels = {
|
|
99
|
+
ariaLabel?: string;
|
|
100
|
+
close?: string;
|
|
101
|
+
previous?: string;
|
|
102
|
+
next?: string;
|
|
103
|
+
};
|
|
104
|
+
type ImageLightboxProps = {
|
|
105
|
+
images: string[];
|
|
106
|
+
index: number;
|
|
107
|
+
onIndexChange: (index: number) => void;
|
|
108
|
+
onClose: () => void;
|
|
109
|
+
labels?: ImageLightboxLabels;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Fullscreen image gallery viewer. Portal overlay with Esc/click-to-close,
|
|
113
|
+
* arrow-key navigation, wheel/pinch zoom, and pan when zoomed. Locks page
|
|
114
|
+
* scroll while mounted.
|
|
115
|
+
*/
|
|
116
|
+
declare function ImageLightbox({ images, index, onIndexChange, onClose, labels, }: ImageLightboxProps): React.ReactPortal;
|
|
117
|
+
|
|
98
118
|
type ThemeSwitcherLabels = {
|
|
99
119
|
/** Tooltip label for the theme switcher */
|
|
100
120
|
theme?: string;
|
|
@@ -811,6 +831,132 @@ type ChatMessageListProps = {
|
|
|
811
831
|
};
|
|
812
832
|
declare function ChatMessageList({ messages, currentUserId, emptyTitle, emptyDescription, }: ChatMessageListProps): React.JSX.Element;
|
|
813
833
|
|
|
834
|
+
type ConversationKind = "pharma_support" | "org_support" | "member_support";
|
|
835
|
+
type SupportConversation = {
|
|
836
|
+
id: string;
|
|
837
|
+
kind: ConversationKind;
|
|
838
|
+
subjectId: string;
|
|
839
|
+
memberUserId: string | null;
|
|
840
|
+
lastMessageAt: string | null;
|
|
841
|
+
unreadCount?: number;
|
|
842
|
+
};
|
|
843
|
+
type SupportMessage = {
|
|
844
|
+
id: string;
|
|
845
|
+
conversationId: string;
|
|
846
|
+
senderId: string;
|
|
847
|
+
senderName: string;
|
|
848
|
+
senderSide: string;
|
|
849
|
+
body: string;
|
|
850
|
+
deleted: boolean;
|
|
851
|
+
createdAt: string;
|
|
852
|
+
};
|
|
853
|
+
type FindOrCreateConversationInput = {
|
|
854
|
+
kind: ConversationKind;
|
|
855
|
+
subjectId: string;
|
|
856
|
+
memberUserId?: string;
|
|
857
|
+
};
|
|
858
|
+
type SupportChatClient = {
|
|
859
|
+
basePath: string;
|
|
860
|
+
listConversations: () => Promise<SupportConversation[]>;
|
|
861
|
+
findOrCreateConversation: (input: FindOrCreateConversationInput) => Promise<SupportConversation>;
|
|
862
|
+
listMessages: (conversationId: string) => Promise<SupportMessage[]>;
|
|
863
|
+
sendMessage: (conversationId: string, text: string) => Promise<SupportMessage>;
|
|
864
|
+
markRead: (conversationId: string) => Promise<void>;
|
|
865
|
+
};
|
|
866
|
+
declare function createSupportChatClient(basePath?: string): SupportChatClient;
|
|
867
|
+
|
|
868
|
+
type SupportMessengerItem = {
|
|
869
|
+
/** Stable list key (org id, conversation id, etc.). */
|
|
870
|
+
key: string;
|
|
871
|
+
title: string;
|
|
872
|
+
subtitle?: string;
|
|
873
|
+
avatarUrl?: string | null;
|
|
874
|
+
unreadCount?: number;
|
|
875
|
+
conversationId?: string | null;
|
|
876
|
+
open?: FindOrCreateConversationInput;
|
|
877
|
+
};
|
|
878
|
+
type SupportMessengerTab = {
|
|
879
|
+
id: string;
|
|
880
|
+
label: string;
|
|
881
|
+
};
|
|
882
|
+
type SupportMessengerLabels = {
|
|
883
|
+
launcherAria: string;
|
|
884
|
+
listTitle: string;
|
|
885
|
+
emptyList: string;
|
|
886
|
+
emptyThread: string;
|
|
887
|
+
placeholder: string;
|
|
888
|
+
send: string;
|
|
889
|
+
close: string;
|
|
890
|
+
back: string;
|
|
891
|
+
loading: string;
|
|
892
|
+
searchPlaceholder?: string;
|
|
893
|
+
unreadBadgeAria?: string;
|
|
894
|
+
};
|
|
895
|
+
type OpenThreadRequest = {
|
|
896
|
+
key: string;
|
|
897
|
+
title: string;
|
|
898
|
+
subtitle?: string;
|
|
899
|
+
conversationId?: string | null;
|
|
900
|
+
open?: FindOrCreateConversationInput;
|
|
901
|
+
};
|
|
902
|
+
type SupportMessengerContextValue = {
|
|
903
|
+
listOpen: boolean;
|
|
904
|
+
openList: () => void;
|
|
905
|
+
closeList: () => void;
|
|
906
|
+
toggleList: () => void;
|
|
907
|
+
openThread: (req: OpenThreadRequest) => void;
|
|
908
|
+
closeThread: (key: string) => void;
|
|
909
|
+
closeAll: () => void;
|
|
910
|
+
activeThreadKey: string | null;
|
|
911
|
+
totalUnread: number;
|
|
912
|
+
};
|
|
913
|
+
declare function useSupportMessenger(): SupportMessengerContextValue;
|
|
914
|
+
/** Returns null when rendered outside `SupportMessengerProvider`. */
|
|
915
|
+
declare function useSupportMessengerOptional(): SupportMessengerContextValue | null;
|
|
916
|
+
type SupportMessengerProviderProps = {
|
|
917
|
+
children: ReactNode;
|
|
918
|
+
client: SupportChatClient;
|
|
919
|
+
getWsUrl: (conversationId: string) => Promise<string | null>;
|
|
920
|
+
currentUserId: string | null;
|
|
921
|
+
items: SupportMessengerItem[];
|
|
922
|
+
labels: SupportMessengerLabels;
|
|
923
|
+
/** When false, messenger chrome is not rendered. */
|
|
924
|
+
enabled?: boolean;
|
|
925
|
+
/** Collapse dock/sheet; FAB remains (e.g. event chat visible). */
|
|
926
|
+
forceMinimized?: boolean;
|
|
927
|
+
emojiLocale?: EmojiPickerLocale;
|
|
928
|
+
tabs?: SupportMessengerTab[];
|
|
929
|
+
activeTab?: string;
|
|
930
|
+
onTabChange?: (id: string) => void;
|
|
931
|
+
onRefreshItems?: () => void | Promise<void>;
|
|
932
|
+
/** Show search when item count >= this (default 8). */
|
|
933
|
+
searchThreshold?: number;
|
|
934
|
+
className?: string;
|
|
935
|
+
};
|
|
936
|
+
declare function SupportMessengerProvider({ children, client, getWsUrl, currentUserId, items, labels, enabled, forceMinimized, emojiLocale, tabs, activeTab, onTabChange, onRefreshItems, searchThreshold, className, }: SupportMessengerProviderProps): React.JSX.Element;
|
|
937
|
+
|
|
938
|
+
type UseSupportConversationOptions = {
|
|
939
|
+
client: SupportChatClient;
|
|
940
|
+
/** Resolve a WebSocket URL (including auth token). Return null to skip WS. */
|
|
941
|
+
getWsUrl: (conversationId: string) => Promise<string | null>;
|
|
942
|
+
/** Existing conversation id, or null to find-or-create via `open`. */
|
|
943
|
+
conversationId: string | null;
|
|
944
|
+
open?: FindOrCreateConversationInput | null;
|
|
945
|
+
enabled?: boolean;
|
|
946
|
+
onConversationReady?: (conversationId: string) => void;
|
|
947
|
+
onIncomingMessage?: (message: SupportMessage) => void;
|
|
948
|
+
};
|
|
949
|
+
type UseSupportConversationResult = {
|
|
950
|
+
conversationId: string | null;
|
|
951
|
+
messages: SupportMessage[];
|
|
952
|
+
loading: boolean;
|
|
953
|
+
sending: boolean;
|
|
954
|
+
error: string | null;
|
|
955
|
+
send: (text: string) => Promise<void>;
|
|
956
|
+
reload: () => Promise<void>;
|
|
957
|
+
};
|
|
958
|
+
declare function useSupportConversation({ client, getWsUrl, conversationId: conversationIdProp, open, enabled, onConversationReady, onIncomingMessage, }: UseSupportConversationOptions): UseSupportConversationResult;
|
|
959
|
+
|
|
814
960
|
declare function cn(...inputs: ClassValue[]): string;
|
|
815
961
|
|
|
816
|
-
export { type AutoplayState, AvatarEditor, AvatarEditorDialog, type AvatarEditorDialogProps, type AvatarEditorProps, type BlocksLanguage, Bubble, BubbleContent, BubbleGroup, BubbleReactions, type ChatListMessage, ChatMessageList, type ChatMessageListProps, ConfirmDestructiveDialog, type ConfirmDestructiveDialogProps, type DescribedPlaybackError, type EmojiCategoryData, type EmojiCategoryKey, type EmojiDatum, EmojiInput, type EmojiInputProps, EmojiPicker, type EmojiPickerLabels, type EmojiPickerLocale, EmojiPickerPopover, type EmojiPickerPopoverProps, type EmojiPickerProps, type EmojiSkinTone, EmojiTextarea, type EmojiTextareaProps, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateProps, EmptyTitle, ErrorState, type FeatureEntry, type HlsPlayerMode, type Language, LanguageContext, type LanguageContextValue, LanguageSwitcher, type LanguageSwitcherLabels, type LanguageSwitcherProps, LoadingState, MEXICO_STATES, MEXICO_STATE_PATHS, Marker, MarkerContent, MarkerIcon, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, MexicoMap, type MexicoMapProps, type MexicoState, type MexicoStateId, OrgSwitcher, type OrgSwitcherLabels, type OrgSwitcherProps, type OrgSwitcherTenant, PhoneInput, type PhoneInputProps, type PlaybackErrorContext, type PlaybackErrorDetail, type PlaybackErrorKind, type PlaybackState, type PlaybackStats, type ProfessionalVerificationStatus, type QualityLevel, SearchCommand, type SearchCommandLabels, type SearchCommandProps, type SearchCommandSelection, type SearchHit, ThemeSwitcher, type ThemeSwitcherLabels, type ThemeSwitcherProps, type UseHlsPlaybackOptions, type UseHlsPlaybackResult, type UsePlaybackStatsOptions, type UseSearchHotkeyOptions, type UseSearchHotkeyResult, VerifiedProfessionalBadge, type VerifiedProfessionalBadgeProps, VideoPlayer, type VideoPlayerLabels, type VideoPlayerProps, bubbleVariants, cn, createLiveHlsConfig, createVodHlsConfig, defaultLanguages, describePlaybackError, fuzzyMatch, insertAtCaret, markerVariants, normalizeEmojiQuery, shouldRetryLiveEdge404, useDebouncedValue, useDebouncedValueStrict, useHlsPlayback, useLanguageContext, usePlaybackStats, useSearchHotkey };
|
|
962
|
+
export { type AutoplayState, AvatarEditor, AvatarEditorDialog, type AvatarEditorDialogProps, type AvatarEditorProps, type BlocksLanguage, Bubble, BubbleContent, BubbleGroup, BubbleReactions, type ChatListMessage, ChatMessageList, type ChatMessageListProps, ConfirmDestructiveDialog, type ConfirmDestructiveDialogProps, type ConversationKind, type DescribedPlaybackError, type EmojiCategoryData, type EmojiCategoryKey, type EmojiDatum, EmojiInput, type EmojiInputProps, EmojiPicker, type EmojiPickerLabels, type EmojiPickerLocale, EmojiPickerPopover, type EmojiPickerPopoverProps, type EmojiPickerProps, type EmojiSkinTone, EmojiTextarea, type EmojiTextareaProps, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyState, type EmptyStateProps, EmptyTitle, ErrorState, type FeatureEntry, type FindOrCreateConversationInput, type HlsPlayerMode, ImageLightbox, type ImageLightboxLabels, type ImageLightboxProps, type Language, LanguageContext, type LanguageContextValue, LanguageSwitcher, type LanguageSwitcherLabels, type LanguageSwitcherProps, LoadingState, MEXICO_STATES, MEXICO_STATE_PATHS, Marker, MarkerContent, MarkerIcon, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, MexicoMap, type MexicoMapProps, type MexicoState, type MexicoStateId, type OpenThreadRequest, OrgSwitcher, type OrgSwitcherLabels, type OrgSwitcherProps, type OrgSwitcherTenant, PhoneInput, type PhoneInputProps, type PlaybackErrorContext, type PlaybackErrorDetail, type PlaybackErrorKind, type PlaybackState, type PlaybackStats, type ProfessionalVerificationStatus, type QualityLevel, SearchCommand, type SearchCommandLabels, type SearchCommandProps, type SearchCommandSelection, type SearchHit, type SupportChatClient, type SupportConversation, type SupportMessage, type SupportMessengerItem, type SupportMessengerLabels, SupportMessengerProvider, type SupportMessengerProviderProps, type SupportMessengerTab, ThemeSwitcher, type ThemeSwitcherLabels, type ThemeSwitcherProps, type UseHlsPlaybackOptions, type UseHlsPlaybackResult, type UsePlaybackStatsOptions, type UseSearchHotkeyOptions, type UseSearchHotkeyResult, type UseSupportConversationOptions, type UseSupportConversationResult, VerifiedProfessionalBadge, type VerifiedProfessionalBadgeProps, VideoPlayer, type VideoPlayerLabels, type VideoPlayerProps, bubbleVariants, cn, createLiveHlsConfig, createSupportChatClient, createVodHlsConfig, defaultLanguages, describePlaybackError, fuzzyMatch, insertAtCaret, markerVariants, normalizeEmojiQuery, shouldRetryLiveEdge404, useDebouncedValue, useDebouncedValueStrict, useHlsPlayback, useLanguageContext, usePlaybackStats, useSearchHotkey, useSupportConversation, useSupportMessenger, useSupportMessengerOptional };
|