@cometchat/chat-uikit-react 4.3.29 → 4.3.30
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/package.json +3 -3
- package/dist/assets/Audio-Call.svg +0 -11
- package/dist/assets/Audio-Call2x.svg +0 -11
- package/dist/assets/Copy.svg +0 -17
- package/dist/assets/IncomingAudio.svg +0 -5
- package/dist/assets/IncomingVideo.svg +0 -6
- package/dist/assets/Info.svg +0 -13
- package/dist/assets/InfoSimpleIcon.svg +0 -4
- package/dist/assets/LoadingIcon.svg +0 -15
- package/dist/assets/Locked.svg +0 -10
- package/dist/assets/MissedAudio.svg +0 -5
- package/dist/assets/MissedVideo.svg +0 -6
- package/dist/assets/More.svg +0 -9
- package/dist/assets/More@2x.svg +0 -9
- package/dist/assets/OutgoingAudio.svg +0 -5
- package/dist/assets/OutgoingVideo.svg +0 -6
- package/dist/assets/Plus-1.svg +0 -12
- package/dist/assets/Private.svg +0 -10
- package/dist/assets/StartConversation.svg +0 -13
- package/dist/assets/Stickers.svg +0 -16
- package/dist/assets/Video-call.svg +0 -12
- package/dist/assets/Video-call2x.svg +0 -12
- package/dist/assets/VideoCall2xIcon.svg +0 -12
- package/dist/assets/addreaction.svg +0 -9
- package/dist/assets/ai-bot.svg +0 -3
- package/dist/assets/ai-empty.svg +0 -22
- package/dist/assets/ai-error.svg +0 -3
- package/dist/assets/attachment-file.svg +0 -14
- package/dist/assets/audio-file.svg +0 -12
- package/dist/assets/backbutton.svg +0 -12
- package/dist/assets/close.svg +0 -12
- package/dist/assets/close2x.svg +0 -12
- package/dist/assets/collaborativedocument.svg +0 -13
- package/dist/assets/collaborativewhiteboard.svg +0 -12
- package/dist/assets/create-button.svg +0 -12
- package/dist/assets/delete.svg +0 -15
- package/dist/assets/deleteicon.svg +0 -15
- package/dist/assets/down-arrow.svg +0 -1
- package/dist/assets/download.svg +0 -13
- package/dist/assets/editicon.svg +0 -14
- package/dist/assets/heart-reaction.png +0 -0
- package/dist/assets/heart.svg +0 -11
- package/dist/assets/increase-size.svg +0 -6
- package/dist/assets/loading.svg +0 -16
- package/dist/assets/mention-icon.svg +0 -11
- package/dist/assets/message-delivered.svg +0 -5
- package/dist/assets/message-read.svg +0 -5
- package/dist/assets/message-sent.svg +0 -9
- package/dist/assets/mic.svg +0 -11
- package/dist/assets/more-icon.svg +0 -9
- package/dist/assets/photolibrary.svg +0 -11
- package/dist/assets/placeholder.png +0 -0
- package/dist/assets/plus-rotated.svg +0 -13
- package/dist/assets/plus.svg +0 -13
- package/dist/assets/polls.svg +0 -14
- package/dist/assets/reduce-size.svg +0 -6
- package/dist/assets/search.svg +0 -4
- package/dist/assets/send-message-in-private.svg +0 -6
- package/dist/assets/send.svg +0 -12
- package/dist/assets/side-arrow.svg +0 -1
- package/dist/assets/smileys.svg +0 -16
- package/dist/assets/spinner.svg +0 -15
- package/dist/assets/stipop.svg +0 -9
- package/dist/assets/stop.svg +0 -1
- package/dist/assets/thread-arrow.svg +0 -1
- package/dist/assets/threadIndicatorIcon.svg +0 -11
- package/dist/assets/threadicon.svg +0 -14
- package/dist/assets/translation.svg +0 -16
- package/dist/assets/video.svg +0 -12
- package/dist/assets/wait.svg +0 -4
- package/dist/assets/warning-small.svg +0 -5
- package/dist/index.d.ts +0 -3366
- package/dist/index.js +0 -17
- package/dist/index.js.map +0 -1
- package/dist/types/AI/AIAssistBot/AIAssistBotChatView.d.ts +0 -10
- package/dist/types/AI/AIAssistBot/AIAssistBotDecorator.d.ts +0 -22
- package/dist/types/AI/AIAssistBot/AIAssistBotExtension.d.ts +0 -8
- package/dist/types/AI/AIAssistBot/AIAssistBotOptionsView.d.ts +0 -11
- package/dist/types/AI/AIAssistBot/style.d.ts +0 -37
- package/dist/types/AI/AIAssistBot/utils.d.ts +0 -5
- package/dist/types/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -20
- package/dist/types/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
- package/dist/types/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -9
- package/dist/types/AI/AIConversationStarter/style.d.ts +0 -26
- package/dist/types/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
- package/dist/types/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
- package/dist/types/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -10
- package/dist/types/AI/AIConversationSummary/style.d.ts +0 -28
- package/dist/types/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -25
- package/dist/types/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
- package/dist/types/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -12
- package/dist/types/AI/AISmartReplies/style.d.ts +0 -28
- package/dist/types/Calling/CallingExtension.d.ts +0 -8
- package/dist/types/Calling/CallingExtensionDecorator.d.ts +0 -75
- package/dist/types/Calling/CometChatCallButtons/hooks.d.ts +0 -3
- package/dist/types/Calling/CometChatCallButtons/index.d.ts +0 -19
- package/dist/types/Calling/CometChatCallButtons/style.d.ts +0 -28
- package/dist/types/Calling/CometChatCallLogDetails/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatCallLogDetails/index.d.ts +0 -17
- package/dist/types/Calling/CometChatCallLogDetails/style.d.ts +0 -21
- package/dist/types/Calling/CometChatCallLogHistory/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatCallLogHistory/index.d.ts +0 -27
- package/dist/types/Calling/CometChatCallLogHistory/style.d.ts +0 -41
- package/dist/types/Calling/CometChatCallLogParticipants/index.d.ts +0 -19
- package/dist/types/Calling/CometChatCallLogParticipants/style.d.ts +0 -31
- package/dist/types/Calling/CometChatCallLogRecordings/index.d.ts +0 -21
- package/dist/types/Calling/CometChatCallLogRecordings/style.d.ts +0 -35
- package/dist/types/Calling/CometChatCallLogs/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatCallLogs/index.d.ts +0 -37
- package/dist/types/Calling/CometChatCallLogs/style.d.ts +0 -37
- package/dist/types/Calling/CometChatCallLogsWithDetails/hooks.d.ts +0 -4
- package/dist/types/Calling/CometChatCallLogsWithDetails/index.d.ts +0 -10
- package/dist/types/Calling/CometChatCallLogsWithDetails/style.d.ts +0 -13
- package/dist/types/Calling/CometChatIncomingCall/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatIncomingCall/index.d.ts +0 -19
- package/dist/types/Calling/CometChatIncomingCall/style.d.ts +0 -72
- package/dist/types/Calling/CometChatOngoingCall/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatOngoingCall/index.d.ts +0 -15
- package/dist/types/Calling/CometChatOngoingCall/style.d.ts +0 -2
- package/dist/types/Calling/CometChatOutgoingCall/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatOutgoingCall/index.d.ts +0 -16
- package/dist/types/Calling/CometChatOutgoingCall/style.d.ts +0 -39
- package/dist/types/Calling/Utils/CallDetailsUtils.d.ts +0 -11
- package/dist/types/Calling/Utils/CallingDetailsUtils.d.ts +0 -7
- package/dist/types/Calling/Utils/utils.d.ts +0 -7
- package/dist/types/CometChatAddMembers/hooks.d.ts +0 -11
- package/dist/types/CometChatAddMembers/index.d.ts +0 -229
- package/dist/types/CometChatAddMembers/style.d.ts +0 -13
- package/dist/types/CometChatBannedMembers/controller.d.ts +0 -37
- package/dist/types/CometChatBannedMembers/hooks.d.ts +0 -17
- package/dist/types/CometChatBannedMembers/index.d.ts +0 -228
- package/dist/types/CometChatBannedMembers/style.d.ts +0 -19
- package/dist/types/CometChatContacts/index.d.ts +0 -22
- package/dist/types/CometChatContacts/style.d.ts +0 -20
- package/dist/types/CometChatConversations/controller.d.ts +0 -74
- package/dist/types/CometChatConversations/hooks.d.ts +0 -22
- package/dist/types/CometChatConversations/index.d.ts +0 -344
- package/dist/types/CometChatConversations/style.d.ts +0 -29
- package/dist/types/CometChatConversationsWithMessages/hooks.d.ts +0 -2
- package/dist/types/CometChatConversationsWithMessages/index.d.ts +0 -15
- package/dist/types/CometChatConversationsWithMessages/style.d.ts +0 -87
- package/dist/types/CometChatCustomHooks.d.ts +0 -27
- package/dist/types/CometChatDetails/hooks.d.ts +0 -17
- package/dist/types/CometChatDetails/index.d.ts +0 -186
- package/dist/types/CometChatDetails/style.d.ts +0 -40
- package/dist/types/CometChatGroupMembers/controller.d.ts +0 -38
- package/dist/types/CometChatGroupMembers/hooks.d.ts +0 -22
- package/dist/types/CometChatGroupMembers/index.d.ts +0 -281
- package/dist/types/CometChatGroupMembers/style.d.ts +0 -24
- package/dist/types/CometChatGroups/controller.d.ts +0 -44
- package/dist/types/CometChatGroups/hooks.d.ts +0 -15
- package/dist/types/CometChatGroups/index.d.ts +0 -215
- package/dist/types/CometChatGroups/style.d.ts +0 -11
- package/dist/types/CometChatGroupsWithMessages/hooks.d.ts +0 -3
- package/dist/types/CometChatGroupsWithMessages/index.d.ts +0 -14
- package/dist/types/CometChatGroupsWithMessages/style.d.ts +0 -874
- package/dist/types/CometChatMessageComposer/hooks.d.ts +0 -65
- package/dist/types/CometChatMessageComposer/index.d.ts +0 -221
- package/dist/types/CometChatMessageComposer/style.d.ts +0 -92
- package/dist/types/CometChatMessageHeader/hooks.d.ts +0 -3
- package/dist/types/CometChatMessageHeader/index.d.ts +0 -29
- package/dist/types/CometChatMessageHeader/style.d.ts +0 -56
- package/dist/types/CometChatMessageInformation/index.d.ts +0 -29
- package/dist/types/CometChatMessageInformation/style.d.ts +0 -48
- package/dist/types/CometChatMessageList/CometChatMessageList.d.ts +0 -58
- package/dist/types/CometChatMessageList/controller.d.ts +0 -48
- package/dist/types/CometChatMessageList/style.d.ts +0 -237
- package/dist/types/CometChatMessageList/useCometChatMessageList.d.ts +0 -6
- package/dist/types/CometChatMessages/hooks.d.ts +0 -2
- package/dist/types/CometChatMessages/index.d.ts +0 -25
- package/dist/types/CometChatMessages/style.d.ts +0 -26
- package/dist/types/CometChatThemeContext.d.ts +0 -5
- package/dist/types/CometChatThreadedMessages/hooks.d.ts +0 -2
- package/dist/types/CometChatThreadedMessages/index.d.ts +0 -19
- package/dist/types/CometChatThreadedMessages/style.d.ts +0 -21
- package/dist/types/CometChatTransferOwnership/hooks.d.ts +0 -7
- package/dist/types/CometChatTransferOwnership/index.d.ts +0 -163
- package/dist/types/CometChatTransferOwnership/style.d.ts +0 -17
- package/dist/types/CometChatUserMemberWrapper/index.d.ts +0 -25
- package/dist/types/CometChatUsers/controller.d.ts +0 -34
- package/dist/types/CometChatUsers/hooks.d.ts +0 -18
- package/dist/types/CometChatUsers/index.d.ts +0 -260
- package/dist/types/CometChatUsers/style.d.ts +0 -11
- package/dist/types/CometChatUsersWithMessages/hooks.d.ts +0 -2
- package/dist/types/CometChatUsersWithMessages/index.d.ts +0 -12
- package/dist/types/CometChatUsersWithMessages/style.d.ts +0 -70
- package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +0 -18
- package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +0 -8
- package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +0 -21
- package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +0 -18
- package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +0 -8
- package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +0 -21
- package/dist/types/Extensions/ImageModeration/ImageModerationConfiguration.d.ts +0 -15
- package/dist/types/Extensions/ImageModeration/ImageModerationExtension.d.ts +0 -8
- package/dist/types/Extensions/ImageModeration/ImageModerationExtensionDecorator.d.ts +0 -26
- package/dist/types/Extensions/LinkPreview/LinkPreviewConfiguration.d.ts +0 -8
- package/dist/types/Extensions/LinkPreview/LinkPreviewExtension.d.ts +0 -8
- package/dist/types/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +0 -24
- package/dist/types/Extensions/MessageTranslation/MessageTranslationConfiguration.d.ts +0 -14
- package/dist/types/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +0 -8
- package/dist/types/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +0 -19
- package/dist/types/Extensions/Polls/PollsConfiguration.d.ts +0 -29
- package/dist/types/Extensions/Polls/PollsExtension.d.ts +0 -8
- package/dist/types/Extensions/Polls/PollsExtensionDecorator.d.ts +0 -26
- package/dist/types/Extensions/SmartReplies/SmartRepliesConfiguration.d.ts +0 -8
- package/dist/types/Extensions/SmartReplies/SmartRepliesExtension.d.ts +0 -9
- package/dist/types/Extensions/SmartReplies/SmartRepliesExtensionDecorator.d.ts +0 -35
- package/dist/types/Extensions/Stickers/StickersConfiguration.d.ts +0 -14
- package/dist/types/Extensions/Stickers/StickersExtension.d.ts +0 -8
- package/dist/types/Extensions/Stickers/StickersExtensionDecorator.d.ts +0 -27
- package/dist/types/Extensions/TextModerator/TextModeratorExtension.d.ts +0 -6
- package/dist/types/Extensions/TextModerator/TextModeratorExtensionDecorator.d.ts +0 -8
- package/dist/types/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +0 -5
- package/dist/types/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +0 -8
- package/dist/types/Shared/CometChatUIKit/CometChatUIKit.d.ts +0 -42
- package/dist/types/Shared/Framework/AIExtensionDataSource.d.ts +0 -6
- package/dist/types/Shared/Framework/ChatConfigurator.d.ts +0 -8
- package/dist/types/Shared/Framework/DataSource.d.ts +0 -56
- package/dist/types/Shared/Framework/DataSourceDecorator.d.ts +0 -59
- package/dist/types/Shared/Framework/ExtensionsDataSource.d.ts +0 -6
- package/dist/types/Shared/Utils/MessageUtils.d.ts +0 -16
- package/dist/types/Shared/Utils/MessagesDataSource.d.ts +0 -92
- package/dist/types/Shared/Views/CometChatButton/hooks.d.ts +0 -11
- package/dist/types/Shared/Views/CometChatButton/index.d.ts +0 -19
- package/dist/types/Shared/Views/CometChatCheckbox/hooks.d.ts +0 -9
- package/dist/types/Shared/Views/CometChatCheckbox/index.d.ts +0 -13
- package/dist/types/Shared/Views/CometChatContextMenu/index.d.ts +0 -13
- package/dist/types/Shared/Views/CometChatContextMenu/style.d.ts +0 -28
- package/dist/types/Shared/Views/CometChatList/hooks.d.ts +0 -20
- package/dist/types/Shared/Views/CometChatList/index.d.ts +0 -151
- package/dist/types/Shared/Views/CometChatList/style.d.ts +0 -18
- package/dist/types/Shared/Views/CometChatListItem/hooks.d.ts +0 -9
- package/dist/types/Shared/Views/CometChatListItem/index.d.ts +0 -29
- package/dist/types/Shared/Views/CometChatMenuList/hooks.d.ts +0 -12
- package/dist/types/Shared/Views/CometChatMenuList/index.d.ts +0 -13
- package/dist/types/Shared/Views/CometChatMessageBubble/index.d.ts +0 -22
- package/dist/types/Shared/Views/CometChatMessageBubble/style.d.ts +0 -22
- package/dist/types/Shared/Views/CometChatRadioButton/hooks.d.ts +0 -9
- package/dist/types/Shared/Views/CometChatRadioButton/index.d.ts +0 -13
- package/dist/types/Shared/Views/CometChatTabs/TabsStyle.d.ts +0 -31
- package/dist/types/Shared/Views/CometChatTabs/index.d.ts +0 -11
- package/dist/types/Shared/Views/CometChatTabs/style.d.ts +0 -42
- package/dist/types/Shared/Views/LitElementsWrapper/LitElementsWrapper.d.ts +0 -49
- package/dist/types/index.d.ts +0 -84
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ListItemStyle } from "@cometchat/uikit-elements";
|
|
2
|
-
import { DatePatterns } from "@cometchat/uikit-resources";
|
|
3
|
-
import { CallLogRecordingsStyle } from "@cometchat/uikit-shared";
|
|
4
|
-
interface ICallLogRecordingsProps {
|
|
5
|
-
title?: string;
|
|
6
|
-
backIconUrl?: string;
|
|
7
|
-
downloadIconUrl?: string;
|
|
8
|
-
hideDownloadButton?: boolean;
|
|
9
|
-
call: any;
|
|
10
|
-
datePattern?: DatePatterns;
|
|
11
|
-
listItemStyle?: ListItemStyle;
|
|
12
|
-
callLogRecordingsStyle?: CallLogRecordingsStyle;
|
|
13
|
-
onBackClick?: Function;
|
|
14
|
-
onItemClick?: Function;
|
|
15
|
-
onDownloadClick?: Function;
|
|
16
|
-
listItemView?: any;
|
|
17
|
-
subtitleView?: any;
|
|
18
|
-
tailView?: any;
|
|
19
|
-
}
|
|
20
|
-
declare const CometChatCallLogRecordings: (props: ICallLogRecordingsProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export { CometChatCallLogRecordings };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ListItemStyle } from "@cometchat/uikit-elements";
|
|
3
|
-
import { CallLogRecordingsStyle, ListStyle } from "@cometchat/uikit-shared";
|
|
4
|
-
import { CometChatTheme } from "@cometchat/uikit-resources";
|
|
5
|
-
export declare function getButtonContainerStyle(): React.CSSProperties;
|
|
6
|
-
export declare function getListStyle(theme: CometChatTheme, callLogsStyle: CallLogRecordingsStyle): ListStyle;
|
|
7
|
-
export declare function getListItemStyle(theme: CometChatTheme, listItemStyle?: ListItemStyle): ListItemStyle;
|
|
8
|
-
export declare function getSubtitleStyle(theme: CometChatTheme, style: CallLogRecordingsStyle): React.CSSProperties;
|
|
9
|
-
export declare function getCallDateStyle(theme: CometChatTheme, style: CallLogRecordingsStyle): {
|
|
10
|
-
textColor: string | undefined;
|
|
11
|
-
textFont: string;
|
|
12
|
-
background: string;
|
|
13
|
-
};
|
|
14
|
-
export declare function getBackButtonStyle(theme: CometChatTheme, style: CallLogRecordingsStyle): {
|
|
15
|
-
height: string;
|
|
16
|
-
width: string;
|
|
17
|
-
border: string;
|
|
18
|
-
borderRadius: string;
|
|
19
|
-
background: string;
|
|
20
|
-
buttonIconTint: string | undefined;
|
|
21
|
-
};
|
|
22
|
-
export declare function getDownloadButtonStyle(theme: CometChatTheme, style: CallLogRecordingsStyle): {
|
|
23
|
-
height: string;
|
|
24
|
-
width: string;
|
|
25
|
-
border: string;
|
|
26
|
-
borderRadius: string;
|
|
27
|
-
background: string;
|
|
28
|
-
buttonIconTint: string | undefined;
|
|
29
|
-
};
|
|
30
|
-
export declare function getContainerStyle(theme: CometChatTheme, callLogsStyle: CallLogRecordingsStyle): React.CSSProperties;
|
|
31
|
-
export declare function getTitleStyle(theme: CometChatTheme, style: CallLogRecordingsStyle): {
|
|
32
|
-
font: string;
|
|
33
|
-
color: string | undefined;
|
|
34
|
-
background: string;
|
|
35
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { AvatarStyle, ListItemStyle } from "@cometchat/uikit-elements";
|
|
2
|
-
import { CallLogsStyle, OutgoingCallConfiguration } from "@cometchat/uikit-shared";
|
|
3
|
-
import { DatePatterns, TitleAlignment } from "@cometchat/uikit-resources";
|
|
4
|
-
interface ICallLogsProps {
|
|
5
|
-
title?: string;
|
|
6
|
-
titleAlignment?: TitleAlignment;
|
|
7
|
-
listItemView?: any;
|
|
8
|
-
subtitleView?: any;
|
|
9
|
-
tailView?: any;
|
|
10
|
-
emptyStateView?: any;
|
|
11
|
-
errorStateView?: any;
|
|
12
|
-
loadingStateView?: any;
|
|
13
|
-
emptyStateText?: string;
|
|
14
|
-
errorStateText?: string;
|
|
15
|
-
loadingIconURL?: string;
|
|
16
|
-
incomingAudioCallIconUrl?: string;
|
|
17
|
-
incomingVideoCallIconUrl?: string;
|
|
18
|
-
outgoingAudioCallIconUrl?: string;
|
|
19
|
-
outgoingVideoCallIconUrl?: string;
|
|
20
|
-
missedAudioCallIconUrl?: string;
|
|
21
|
-
missedVideoCallIconUrl?: string;
|
|
22
|
-
infoIconUrl?: string;
|
|
23
|
-
activeCall?: any;
|
|
24
|
-
callLogRequestBuilder?: any;
|
|
25
|
-
onItemClick?: Function;
|
|
26
|
-
onInfoClick?: Function;
|
|
27
|
-
onError?: Function;
|
|
28
|
-
hideSeparator?: boolean;
|
|
29
|
-
datePattern?: DatePatterns;
|
|
30
|
-
dateSeparatorPattern?: DatePatterns;
|
|
31
|
-
callLogsStyle?: CallLogsStyle;
|
|
32
|
-
avatarStyle?: AvatarStyle;
|
|
33
|
-
listItemStyle?: ListItemStyle;
|
|
34
|
-
outgoingCallConfiguration?: OutgoingCallConfiguration;
|
|
35
|
-
}
|
|
36
|
-
declare const CometChatCallLogs: (props: ICallLogsProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
export { CometChatCallLogs };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AvatarStyle, ListItemStyle } from "@cometchat/uikit-elements";
|
|
3
|
-
import { CometChatTheme } from "@cometchat/uikit-resources";
|
|
4
|
-
import { CallLogsStyle, ListStyle } from "@cometchat/uikit-shared";
|
|
5
|
-
export declare function getSubtitleStyle(theme: CometChatTheme, style: CallLogsStyle): React.CSSProperties;
|
|
6
|
-
export declare function getAvatarStyle(theme: CometChatTheme, avatarStyle?: AvatarStyle): AvatarStyle;
|
|
7
|
-
export declare function getListItemStyle(call: any, theme: CometChatTheme, listItemStyle?: ListItemStyle, loggedInUser?: CometChat.User): ListItemStyle;
|
|
8
|
-
export declare function getContainerStyle(theme: CometChatTheme, callLogsStyle: CallLogsStyle): React.CSSProperties;
|
|
9
|
-
export declare function getListStyle(theme: CometChatTheme, callLogsStyle: CallLogsStyle): ListStyle;
|
|
10
|
-
export declare function getCallDateStyle(theme: CometChatTheme, style: CallLogsStyle): {
|
|
11
|
-
textColor: string | undefined;
|
|
12
|
-
textFont: string;
|
|
13
|
-
background: string;
|
|
14
|
-
};
|
|
15
|
-
export declare function getButtonContainerStyle(): React.CSSProperties;
|
|
16
|
-
export declare function getDirectionIconStyle(call: any, theme: CometChatTheme, style: CallLogsStyle, loggedInUser: CometChat.User): {
|
|
17
|
-
height: string;
|
|
18
|
-
width: string;
|
|
19
|
-
border: string;
|
|
20
|
-
borderRadius: string;
|
|
21
|
-
background: string;
|
|
22
|
-
buttonIconTint: string | undefined;
|
|
23
|
-
};
|
|
24
|
-
export declare function getInfoButtonStyle(theme: CometChatTheme, style: CallLogsStyle): {
|
|
25
|
-
height: string;
|
|
26
|
-
width: string;
|
|
27
|
-
border: string;
|
|
28
|
-
borderRadius: string;
|
|
29
|
-
background: string;
|
|
30
|
-
buttonIconTint: string | undefined;
|
|
31
|
-
};
|
|
32
|
-
export declare function getDateSeparator(theme: CometChatTheme, style: CallLogsStyle): {
|
|
33
|
-
textFont: string;
|
|
34
|
-
textColor: string | undefined;
|
|
35
|
-
background: string;
|
|
36
|
-
padding: string;
|
|
37
|
-
};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { CometChatTheme } from "@cometchat/uikit-resources";
|
|
2
|
-
import { CallLogDetailsConfiguration, CallLogsConfiguration } from "@cometchat/uikit-shared";
|
|
3
|
-
declare function Hooks(callLogDetailsConfiguration: CallLogDetailsConfiguration, callLogsConfiguration: CallLogsConfiguration, setActiveCall: Function, isMobileView: boolean, theme: CometChatTheme): void;
|
|
4
|
-
export { Hooks };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CallLogDetailsConfiguration, CallLogsConfiguration, WithDetailsStyle } from '@cometchat/uikit-shared';
|
|
2
|
-
interface ICallLogWithDetailsProps {
|
|
3
|
-
isMobileView?: boolean;
|
|
4
|
-
messageText?: string;
|
|
5
|
-
withDetailsStyle?: WithDetailsStyle;
|
|
6
|
-
callLogDetailsConfiguration?: CallLogDetailsConfiguration;
|
|
7
|
-
callLogsConfiguration?: CallLogsConfiguration;
|
|
8
|
-
}
|
|
9
|
-
declare const CometChatCallLogsWithDetails: (props: ICallLogWithDetailsProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export { CometChatCallLogsWithDetails };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CometChatTheme } from "@cometchat/uikit-resources";
|
|
3
|
-
import { LabelStyle } from "@cometchat/uikit-elements";
|
|
4
|
-
import { WithDetailsStyle } from "@cometchat/uikit-shared";
|
|
5
|
-
export declare function getContainerStyle(theme: CometChatTheme, style: WithDetailsStyle): React.CSSProperties;
|
|
6
|
-
export declare function getLabelStyle(theme: CometChatTheme, style: WithDetailsStyle): LabelStyle;
|
|
7
|
-
export declare function getEmptyContainerStyle(): {
|
|
8
|
-
display: string;
|
|
9
|
-
justifyContent: string;
|
|
10
|
-
alignItems: string;
|
|
11
|
-
height: string;
|
|
12
|
-
width: string;
|
|
13
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare function Hooks(loggedInUser: any, setLoggedInUser: any, call: CometChat.Call, subscribeToEvents: Function, attachListeners: Function, removeListener: Function, acceptCallButtonRef: any, rejectCallButtonRef: any, showCall: any, callRef: any, acceptIncomingCall: Function, rejectIncomingCall: Function, showIncomingCallScreen: boolean): void;
|
|
2
|
-
export { Hooks };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { AvatarStyle, ListItemStyle } from "@cometchat/uikit-elements";
|
|
2
|
-
import { CallScreenConfiguration, IncomingCallStyle } from "@cometchat/uikit-shared";
|
|
3
|
-
interface IIncomingCallProps {
|
|
4
|
-
call?: any;
|
|
5
|
-
disableSoundForCalls?: boolean;
|
|
6
|
-
customSoundForCalls?: string;
|
|
7
|
-
onAccept?: Function;
|
|
8
|
-
onDecline?: Function;
|
|
9
|
-
acceptButtonText?: string;
|
|
10
|
-
ongoingCallConfiguration?: CallScreenConfiguration;
|
|
11
|
-
declineButtonText?: string;
|
|
12
|
-
subtitleView?: any;
|
|
13
|
-
onError?: Function;
|
|
14
|
-
listItemStyle?: ListItemStyle;
|
|
15
|
-
avatarStyle?: AvatarStyle;
|
|
16
|
-
incomingCallStyle?: IncomingCallStyle;
|
|
17
|
-
}
|
|
18
|
-
declare const CometChatIncomingCall: (props: IIncomingCallProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export { CometChatIncomingCall };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import { AvatarStyle, ListItemStyle, CallscreenStyle } from "@cometchat/uikit-elements";
|
|
3
|
-
import { CometChatTheme } from "@cometchat/uikit-resources";
|
|
4
|
-
import { IncomingCallStyle } from "@cometchat/uikit-shared";
|
|
5
|
-
export declare const IncomingCallWrapperStyle: (incomingCallStyle: IncomingCallStyle) => CSSProperties;
|
|
6
|
-
export declare const IncomingCallSubtitleStyle: {
|
|
7
|
-
display: string;
|
|
8
|
-
alignItems: string;
|
|
9
|
-
justifyContent: string;
|
|
10
|
-
gap: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const IncomingCallLabelStyle: (incomingCallStyle: IncomingCallStyle) => {
|
|
13
|
-
textFont: string | undefined;
|
|
14
|
-
textColor: string | undefined;
|
|
15
|
-
};
|
|
16
|
-
export declare const IncomingCallListItemStyle: {
|
|
17
|
-
width: string;
|
|
18
|
-
marginLeft: string;
|
|
19
|
-
};
|
|
20
|
-
export declare const IncomingCallTailViewStyle: CSSProperties;
|
|
21
|
-
export declare const IncomingCallButtonsStyle: {
|
|
22
|
-
display: string;
|
|
23
|
-
gap: string;
|
|
24
|
-
paddingLeft: string;
|
|
25
|
-
paddingRight: string;
|
|
26
|
-
};
|
|
27
|
-
export declare const buttonStyle: {
|
|
28
|
-
height: string;
|
|
29
|
-
width: string;
|
|
30
|
-
display: string;
|
|
31
|
-
flexDirection: string;
|
|
32
|
-
justifyContent: string;
|
|
33
|
-
alignItems: string;
|
|
34
|
-
padding: string;
|
|
35
|
-
};
|
|
36
|
-
export declare const defaultAvatarStyle: (theme: CometChatTheme) => AvatarStyle;
|
|
37
|
-
export declare const defaultIncomingCallStyle: (theme: CometChatTheme) => IncomingCallStyle;
|
|
38
|
-
export declare const defaultListItemStyle: (incomingCallStyle: IncomingCallStyle, theme: CometChatTheme) => ListItemStyle;
|
|
39
|
-
export declare const AcceptButtonStyle: (incomingCallStyle: IncomingCallStyle) => {
|
|
40
|
-
height: string;
|
|
41
|
-
width: string;
|
|
42
|
-
display: string;
|
|
43
|
-
flexDirection: string;
|
|
44
|
-
justifyContent: string;
|
|
45
|
-
alignItems: string;
|
|
46
|
-
padding: string;
|
|
47
|
-
border: string | undefined;
|
|
48
|
-
borderRadius: string | undefined;
|
|
49
|
-
background: string | undefined;
|
|
50
|
-
buttonTextFont: string | undefined;
|
|
51
|
-
buttonTextColor: string | undefined;
|
|
52
|
-
};
|
|
53
|
-
export declare const DeclineButtonStyle: (incomingCallStyle: IncomingCallStyle) => {
|
|
54
|
-
height: string;
|
|
55
|
-
width: string;
|
|
56
|
-
display: string;
|
|
57
|
-
flexDirection: string;
|
|
58
|
-
justifyContent: string;
|
|
59
|
-
alignItems: string;
|
|
60
|
-
padding: string;
|
|
61
|
-
border: string | undefined;
|
|
62
|
-
borderRadius: string | undefined;
|
|
63
|
-
background: string | undefined;
|
|
64
|
-
buttonTextFont: string | undefined;
|
|
65
|
-
buttonTextColor: string | undefined;
|
|
66
|
-
};
|
|
67
|
-
export declare const getDefaultOngoingCallStyle: (ongoingCallStyle: any, theme: CometChatTheme) => CallscreenStyle;
|
|
68
|
-
export declare const IconStyle: (incomingCallStyle: IncomingCallStyle) => {
|
|
69
|
-
height: string;
|
|
70
|
-
width: string;
|
|
71
|
-
iconTint: string;
|
|
72
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { CallWorkflow } from "@cometchat/uikit-resources";
|
|
2
|
-
import { CallscreenStyle } from "@cometchat/uikit-elements";
|
|
3
|
-
import { CometChatUIKitCalls } from "@cometchat/uikit-shared";
|
|
4
|
-
interface IOngoingCallProps {
|
|
5
|
-
callSettingsBuilder?: typeof CometChatUIKitCalls.CallSettings;
|
|
6
|
-
sessionID: string;
|
|
7
|
-
ongoingCallStyle?: CallscreenStyle;
|
|
8
|
-
resizeIconHoverText?: string;
|
|
9
|
-
minimizeIconURL?: string;
|
|
10
|
-
maximizeIconURL?: string;
|
|
11
|
-
onError?: Function;
|
|
12
|
-
callWorkflow?: CallWorkflow;
|
|
13
|
-
}
|
|
14
|
-
declare const CometChatOngoingCall: (props: IOngoingCallProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export { CometChatOngoingCall };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { OutgoingCallStyle } from "@cometchat/uikit-shared";
|
|
2
|
-
import { AvatarStyle } from "@cometchat/uikit-elements";
|
|
3
|
-
interface IOutgoingCallProps {
|
|
4
|
-
call: CometChat.Call;
|
|
5
|
-
disableSoundForCalls?: boolean;
|
|
6
|
-
customSoundForCalls?: string;
|
|
7
|
-
declineButtonText?: string;
|
|
8
|
-
declineButtonIconURL?: string;
|
|
9
|
-
customView?: any;
|
|
10
|
-
onError?: Function;
|
|
11
|
-
avatarStyle?: AvatarStyle;
|
|
12
|
-
outgoingCallStyle?: OutgoingCallStyle;
|
|
13
|
-
onCloseClicked?: Function;
|
|
14
|
-
}
|
|
15
|
-
declare const CometChatOutgoingCall: (props: IOutgoingCallProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export { CometChatOutgoingCall };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { AvatarStyle, CardStyle } from "@cometchat/uikit-elements";
|
|
2
|
-
import { OutgoingCallStyle } from "@cometchat/uikit-shared";
|
|
3
|
-
import { CometChatTheme } from "@cometchat/uikit-resources";
|
|
4
|
-
export declare const OutgoingCallWrapperStyle: (outgoingCallStyle: OutgoingCallStyle) => {
|
|
5
|
-
height: string | undefined;
|
|
6
|
-
width: string | undefined;
|
|
7
|
-
background: string | undefined;
|
|
8
|
-
border: string | undefined;
|
|
9
|
-
borderRadius: string | undefined;
|
|
10
|
-
};
|
|
11
|
-
export declare const OutgoingCallSubtitleStyle: (outgoingCallStyle: OutgoingCallStyle) => {
|
|
12
|
-
textFont: string | undefined;
|
|
13
|
-
textColor: string | undefined;
|
|
14
|
-
};
|
|
15
|
-
export declare const OutgoingCallCancelButtonStyle: (outgoingCallStyle: OutgoingCallStyle) => {
|
|
16
|
-
height: string;
|
|
17
|
-
width: string;
|
|
18
|
-
buttonTextFont: string | undefined;
|
|
19
|
-
buttonTextColor: string | undefined;
|
|
20
|
-
borderRadius: string;
|
|
21
|
-
border: string;
|
|
22
|
-
buttonIconTint: string | undefined;
|
|
23
|
-
background: string;
|
|
24
|
-
iconBackground: string | undefined;
|
|
25
|
-
};
|
|
26
|
-
export declare const buttonStyle: {
|
|
27
|
-
height: string;
|
|
28
|
-
width: string;
|
|
29
|
-
buttonTextFont: string;
|
|
30
|
-
buttonTextColor: string;
|
|
31
|
-
borderRadius: string;
|
|
32
|
-
border: string;
|
|
33
|
-
buttonIconTint: string;
|
|
34
|
-
background: string;
|
|
35
|
-
iconBackground: string;
|
|
36
|
-
};
|
|
37
|
-
export declare const OutgoingCallCardStyle: CardStyle;
|
|
38
|
-
export declare const defaultAvatarStyle: (theme: CometChatTheme) => AvatarStyle;
|
|
39
|
-
export declare const defaultOutgoingCallStyle: (theme: CometChatTheme) => OutgoingCallStyle;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { CometChatCallDetailsTemplate, CometChatTheme } from "@cometchat/uikit-resources";
|
|
2
|
-
export declare class CallingDetailsUtils {
|
|
3
|
-
static getDefaultCallTemplate(callLog: any, loggedInUser: CometChat.User, theme: CometChatTheme): Array<CometChatCallDetailsTemplate>;
|
|
4
|
-
private static getCallButtons;
|
|
5
|
-
static getPrimaryDetailsTemplate(callLog: any, loggedInUser: CometChat.User, theme: CometChatTheme): CometChatCallDetailsTemplate;
|
|
6
|
-
static getSecondaryDetailsTemplate(callLog: any, loggedInUser: CometChat.User, theme: CometChatTheme): CometChatCallDetailsTemplate;
|
|
7
|
-
private static getPrimaryOptions;
|
|
8
|
-
private static getSecondaryOptions;
|
|
9
|
-
private static generateCallDetailsHTML;
|
|
10
|
-
private static generateCallOptionsHTML;
|
|
11
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CometChatDetailsTemplate } from "@cometchat/uikit-resources";
|
|
2
|
-
export declare class CallingDetailsUtils {
|
|
3
|
-
static getDetailsTemplate(user?: CometChat.User, group?: CometChat.Group): Array<CometChatDetailsTemplate>;
|
|
4
|
-
private static getCallButtons;
|
|
5
|
-
static getPrimaryDetailsTemplate(user1?: CometChat.User, group1?: CometChat.Group): CometChatDetailsTemplate;
|
|
6
|
-
private static getPrimaryOptions;
|
|
7
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare function isSentByMe(call: any, loggedInUser: CometChat.User): boolean;
|
|
2
|
-
export declare function isMissedCall(call: CometChat.Call, loggedInUser: CometChat.User): boolean;
|
|
3
|
-
export declare function verifyCallUser(call: any, loggedInUser: CometChat.User): any;
|
|
4
|
-
export declare function getCallStatusWithType(call: any, loggedInUser: CometChat.User, includeType?: boolean): string;
|
|
5
|
-
export declare function convertMinutesToHoursMinutesSeconds(minutes: number): string;
|
|
6
|
-
export declare function convertSecondsToHoursMinutesSeconds(seconds: number): string;
|
|
7
|
-
export declare function downloadRecordingFromURL(url: string): void;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SelectionMode } from "@cometchat/uikit-resources";
|
|
3
|
-
type Args = {
|
|
4
|
-
loggedInUserRef: React.MutableRefObject<CometChat.User | null>;
|
|
5
|
-
errorHandler: (error: unknown) => void;
|
|
6
|
-
selectionMode: SelectionMode;
|
|
7
|
-
selectionModeRef: React.MutableRefObject<SelectionMode>;
|
|
8
|
-
membersToAddRef: React.MutableRefObject<CometChat.GroupMember[]>;
|
|
9
|
-
};
|
|
10
|
-
export declare function Hooks(args: Args): void;
|
|
11
|
-
export {};
|
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
import { AddMembersStyle } from "@cometchat/uikit-shared";
|
|
2
|
-
import { AvatarStyle, ListItemStyle } from "@cometchat/uikit-elements";
|
|
3
|
-
import { CSSProperties, JSX } from "react";
|
|
4
|
-
import { CometChatOption, SelectionMode, TitleAlignment } from "@cometchat/uikit-resources";
|
|
5
|
-
interface IAddMembersProps {
|
|
6
|
-
/**
|
|
7
|
-
* Image URL for the back button
|
|
8
|
-
*
|
|
9
|
-
* @remarks
|
|
10
|
-
* This prop will also be used if `backButton` prop is not provided
|
|
11
|
-
*
|
|
12
|
-
* @defaultValue `./assets/backbutton.svg`
|
|
13
|
-
*/
|
|
14
|
-
backButtonIconURL?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Show back button
|
|
17
|
-
*
|
|
18
|
-
* @defaultValue `true`
|
|
19
|
-
*/
|
|
20
|
-
showBackButton?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Function to call when the back button is clicked
|
|
23
|
-
*/
|
|
24
|
-
onBack?: () => void;
|
|
25
|
-
/**
|
|
26
|
-
* Title of the component
|
|
27
|
-
*
|
|
28
|
-
* @defaultValue `localize("ADD_MEMBERS")`
|
|
29
|
-
*/
|
|
30
|
-
title?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Alignment of the `title` text
|
|
33
|
-
*
|
|
34
|
-
* @defaultValue `TitleAlignment.center`
|
|
35
|
-
*/
|
|
36
|
-
titleAlignment?: TitleAlignment;
|
|
37
|
-
/**
|
|
38
|
-
* Hide the search bar
|
|
39
|
-
*
|
|
40
|
-
* @defaulValue `false`
|
|
41
|
-
*/
|
|
42
|
-
hideSearch?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Image URL for the search icon to use in the search bar
|
|
45
|
-
*
|
|
46
|
-
* @defaultValue `./assets/search.svg`
|
|
47
|
-
*/
|
|
48
|
-
searchIconURL?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Text to be displayed when the search input has no value
|
|
51
|
-
*
|
|
52
|
-
* @defaultValue `localize("SEARCH")`
|
|
53
|
-
*/
|
|
54
|
-
searchPlaceholder?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Show alphabetical header
|
|
57
|
-
*
|
|
58
|
-
* @defaultValue `false`
|
|
59
|
-
*/
|
|
60
|
-
showSectionHeader?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Property on the user object
|
|
63
|
-
*
|
|
64
|
-
* @remarks
|
|
65
|
-
* This property will be used to extract the section header character from the user object
|
|
66
|
-
*
|
|
67
|
-
* @defaultValue `getName`
|
|
68
|
-
*/
|
|
69
|
-
sectionHeaderField?: keyof CometChat.User;
|
|
70
|
-
/**
|
|
71
|
-
* Image URL for the default loading view
|
|
72
|
-
*
|
|
73
|
-
* @defaultValue `./assets/spinner.svg`
|
|
74
|
-
*/
|
|
75
|
-
loadingIconURL?: string;
|
|
76
|
-
/**
|
|
77
|
-
* Custom view for the loading state of the component
|
|
78
|
-
*/
|
|
79
|
-
loadingStateView?: JSX.Element;
|
|
80
|
-
/**
|
|
81
|
-
* Text to display in the default empty view
|
|
82
|
-
*
|
|
83
|
-
* @defaultValue `localize("NO_USERS_FOUND")`
|
|
84
|
-
*/
|
|
85
|
-
emptyStateText?: string;
|
|
86
|
-
/**
|
|
87
|
-
* Custom view for the empty state of the component
|
|
88
|
-
*/
|
|
89
|
-
emptyStateView?: JSX.Element;
|
|
90
|
-
/**
|
|
91
|
-
* Text to display in the default error view
|
|
92
|
-
*
|
|
93
|
-
* @defaultValue `localize("SOMETHING_WRONG")`
|
|
94
|
-
*/
|
|
95
|
-
errorStateText?: string;
|
|
96
|
-
/**
|
|
97
|
-
* Custom view for the error state of the component
|
|
98
|
-
*/
|
|
99
|
-
errorStateView?: JSX.Element;
|
|
100
|
-
/**
|
|
101
|
-
* Hide error view
|
|
102
|
-
*
|
|
103
|
-
* @remarks
|
|
104
|
-
* If set to true, hides the default and the custom error view
|
|
105
|
-
*
|
|
106
|
-
* @defaultValue `false`
|
|
107
|
-
*/
|
|
108
|
-
hideError?: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Hide user presence
|
|
111
|
-
*
|
|
112
|
-
* @remarks
|
|
113
|
-
* If set to true, the status indicator of the default list item view is not displayed
|
|
114
|
-
*
|
|
115
|
-
* @defaultValue `false`
|
|
116
|
-
*/
|
|
117
|
-
disableUsersPresence?: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* Hide the separator at the bottom of the default list item view
|
|
120
|
-
*
|
|
121
|
-
* @defaultValue `false`
|
|
122
|
-
*/
|
|
123
|
-
hideSeparator?: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Function to call whenever the component encounters an error
|
|
126
|
-
*/
|
|
127
|
-
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
128
|
-
/**
|
|
129
|
-
* Custom view to render on the top-right of the component
|
|
130
|
-
*/
|
|
131
|
-
menus?: JSX.Element;
|
|
132
|
-
/**
|
|
133
|
-
* List of actions available on mouse over on the default list item component
|
|
134
|
-
*/
|
|
135
|
-
options?: (user: CometChat.User) => CometChatOption[];
|
|
136
|
-
/**
|
|
137
|
-
* Selection mode to use for the default tail view
|
|
138
|
-
*
|
|
139
|
-
* @remarks
|
|
140
|
-
* This prop is used if `listItemView` prop is not provided.
|
|
141
|
-
*
|
|
142
|
-
* @defaultValue `SelectionMode.multiple`
|
|
143
|
-
*/
|
|
144
|
-
selectionMode?: SelectionMode;
|
|
145
|
-
/**
|
|
146
|
-
* Function to call when a user from the fetched list is selected
|
|
147
|
-
*
|
|
148
|
-
* @remarks
|
|
149
|
-
* This prop is used if `selectionMode` prop is not `SelectionMode.none`
|
|
150
|
-
*/
|
|
151
|
-
onSelect?: (user: CometChat.User, selected: boolean) => void;
|
|
152
|
-
/**
|
|
153
|
-
* Request builder to fetch users
|
|
154
|
-
*
|
|
155
|
-
* @remarks
|
|
156
|
-
* If the search input is not empty and the `searchRequestBuilder` prop is not provided,
|
|
157
|
-
* the search keyword of this request builder is set to the text in the search input
|
|
158
|
-
*
|
|
159
|
-
* @defaultValue Default request builder having the limit set to 30
|
|
160
|
-
*/
|
|
161
|
-
usersRequestBuilder?: CometChat.UsersRequestBuilder;
|
|
162
|
-
/**
|
|
163
|
-
* Request builder with search parameters to fetch users
|
|
164
|
-
*
|
|
165
|
-
* @remarks
|
|
166
|
-
* If the search input is not empty,
|
|
167
|
-
* the search keyword of this request builder is set to the text in the search input
|
|
168
|
-
*/
|
|
169
|
-
searchRequestBuilder?: CometChat.UsersRequestBuilder;
|
|
170
|
-
/**
|
|
171
|
-
* Custom list item view to be rendered for each user in the fetched list
|
|
172
|
-
*/
|
|
173
|
-
listItemView?: (user: CometChat.User) => JSX.Element;
|
|
174
|
-
/**
|
|
175
|
-
* Custom subtitle view to be rendered for each user in the fetched list
|
|
176
|
-
*
|
|
177
|
-
* @remarks
|
|
178
|
-
* This prop is used if `listItemView` prop is not provided
|
|
179
|
-
*/
|
|
180
|
-
subtitleView?: (user: CometChat.User) => JSX.Element;
|
|
181
|
-
/**
|
|
182
|
-
* Group to add members to
|
|
183
|
-
*/
|
|
184
|
-
group: CometChat.Group;
|
|
185
|
-
/**
|
|
186
|
-
* Function to call when add button of the component is clicked
|
|
187
|
-
*
|
|
188
|
-
* @remarks
|
|
189
|
-
* This function won't be call if no users are selected
|
|
190
|
-
*/
|
|
191
|
-
onAddMembersButtonClick?: (guid: string, membersToAdd: CometChat.GroupMember[]) => void;
|
|
192
|
-
/**
|
|
193
|
-
* Text to display for the default add button
|
|
194
|
-
*
|
|
195
|
-
* @defaultValue `localize("ADD_MEMBERS")`
|
|
196
|
-
*/
|
|
197
|
-
buttonText?: string;
|
|
198
|
-
/**
|
|
199
|
-
* Image URL for the close button
|
|
200
|
-
*
|
|
201
|
-
* @defaultValue `./assets/close2x.svg`
|
|
202
|
-
*/
|
|
203
|
-
closeButtonIconURL?: string;
|
|
204
|
-
/**
|
|
205
|
-
* Function to call when the close button is clicked
|
|
206
|
-
*/
|
|
207
|
-
onClose?: () => void;
|
|
208
|
-
/**
|
|
209
|
-
* Styles to apply to the status indicator component of the default list item view
|
|
210
|
-
*/
|
|
211
|
-
statusIndicatorStyle?: CSSProperties;
|
|
212
|
-
/**
|
|
213
|
-
* Styles to apply to the avatar component of the default list item view
|
|
214
|
-
*/
|
|
215
|
-
avatarStyle?: AvatarStyle;
|
|
216
|
-
/**
|
|
217
|
-
* Styles to apply to the default list item view
|
|
218
|
-
*/
|
|
219
|
-
listItemStyle?: ListItemStyle;
|
|
220
|
-
/**
|
|
221
|
-
* Styles to apply to this component
|
|
222
|
-
*/
|
|
223
|
-
addMembersStyle?: AddMembersStyle;
|
|
224
|
-
}
|
|
225
|
-
/**
|
|
226
|
-
* Renders a scrollable list of users to add to a group of a CometChat App
|
|
227
|
-
*/
|
|
228
|
-
export declare function CometChatAddMembers(props: IAddMembersProps): import("react/jsx-runtime").JSX.Element;
|
|
229
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from "react";
|
|
2
|
-
import { CometChatTheme } from "@cometchat/uikit-resources";
|
|
3
|
-
import { AddMembersStyle, UsersStyle } from "@cometchat/uikit-shared";
|
|
4
|
-
type ButtonStyle = CSSProperties & {
|
|
5
|
-
buttonIconTint?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare function addMembersStyle(addMembersStyleObject: AddMembersStyle | null, theme: CometChatTheme): CSSProperties;
|
|
8
|
-
export declare function usersStyle(addMembersStyleObject: AddMembersStyle | null, theme: CometChatTheme): UsersStyle;
|
|
9
|
-
export declare function addMembersButtonStyle(addMembersStyleObject: AddMembersStyle | null, theme: CometChatTheme): any;
|
|
10
|
-
export declare function defaultBackBtnStyle(addMembersStyleObject: AddMembersStyle | null, theme: CometChatTheme): ButtonStyle;
|
|
11
|
-
export declare function closeBtnStyle(addMembersStyleObject: AddMembersStyle | null, theme: CometChatTheme): ButtonStyle;
|
|
12
|
-
export declare function getAddMembersBtnStyle(): CSSProperties;
|
|
13
|
-
export {};
|