@cometchat/chat-uikit-react 5.0.0-beta2 → 5.0.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/README.md +2 -2
- package/dist/assets/Send.svg +3 -0
- package/dist/assets/loading.svg +5 -16
- package/dist/index.d.ts +1155 -950
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/CometChatCallButtons.css +1 -1
- package/dist/styles/CometChatCallLogs.css +3 -3
- package/dist/styles/{components/AIConversationStarter.css → CometChatConversationStarter.css} +2 -2
- package/dist/styles/{components/AIConversationSummary.css → CometChatConversationSummary.css} +12 -12
- package/dist/styles/CometChatConversations.css +10 -10
- package/dist/styles/CometChatGroupMembers.css +5 -5
- package/dist/styles/CometChatIncomingCall.css +1 -1
- package/dist/styles/CometChatList.css +15 -22
- package/dist/styles/CometChatListItem.css +2 -2
- package/dist/styles/CometChatMessageComposer.css +44 -41
- package/dist/styles/CometChatMessageHeader.css +22 -5
- package/dist/styles/CometChatMessageInformation.css +3 -2
- package/dist/styles/CometChatMessageList.css +6 -5
- package/dist/styles/CometChatOutgoingCall.css +5 -0
- package/dist/styles/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
- package/dist/styles/PollsBubble.css +7 -1
- package/dist/styles/components/CometChatCallButtons.css +1 -1
- package/dist/styles/components/CometChatCallLogs.css +3 -3
- package/dist/styles/{AIConversationStarter.css → components/CometChatConversationStarter.css} +2 -2
- package/dist/styles/{AIConversationSummary.css → components/CometChatConversationSummary.css} +12 -12
- package/dist/styles/components/CometChatConversations.css +10 -10
- package/dist/styles/components/CometChatGroupMembers.css +5 -5
- package/dist/styles/components/CometChatIncomingCall.css +1 -1
- package/dist/styles/components/CometChatList.css +15 -22
- package/dist/styles/components/CometChatListItem.css +2 -2
- package/dist/styles/components/CometChatMessageComposer.css +44 -41
- package/dist/styles/components/CometChatMessageHeader.css +22 -5
- package/dist/styles/components/CometChatMessageInformation.css +3 -2
- package/dist/styles/components/CometChatMessageList.css +6 -5
- package/dist/styles/components/CometChatOutgoingCall.css +5 -0
- package/dist/styles/components/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
- package/dist/styles/components/PollsBubble.css +7 -1
- package/dist/styles/components/index.css +3 -3
- package/dist/styles/index.css +3 -3
- package/dist/types/CometChatCustomHooks.d.ts +1 -1
- package/dist/types/CometChatUIKit/CometChatUIKit.d.ts +0 -6
- package/dist/types/CometChatUIKit/UIKitSettings.d.ts +0 -22
- package/dist/types/Enums/Enums.d.ts +9 -0
- package/dist/types/components/BaseComponents/CometChatConversationStarter/CometChatConversationStarter.d.ts +6 -0
- package/dist/types/components/BaseComponents/CometChatConversationSummary/CometChatConversationSummary.d.ts +6 -0
- package/dist/types/components/BaseComponents/CometChatList/CometChatList.d.ts +12 -12
- package/dist/types/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +3 -1
- package/dist/types/components/BaseComponents/CometChatSmartReplies/CometChatSmartReplies.d.ts +7 -0
- package/dist/types/components/Calling/CallButtonConfiguration.d.ts +1 -1
- package/dist/types/components/Calling/CallingExtensionDecorator.d.ts +2 -2
- package/dist/types/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +30 -12
- package/dist/types/components/Calling/CometChatCallButtons/useCallButtons.d.ts +1 -1
- package/dist/types/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +50 -38
- package/dist/types/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +1 -1
- package/dist/types/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +48 -26
- package/dist/types/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +1 -1
- package/dist/types/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +31 -15
- package/dist/types/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +1 -1
- package/dist/types/components/Calling/OutgoingCallConfiguration.d.ts +7 -3
- package/dist/types/components/CometChatConversations/CometChatConversations.d.ts +88 -87
- package/dist/types/components/CometChatConversations/controller.d.ts +10 -8
- package/dist/types/components/CometChatConversations/useCometChatConversations.d.ts +2 -5
- package/dist/types/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +94 -76
- package/dist/types/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +2 -2
- package/dist/types/components/CometChatGroups/CometChatGroups.d.ts +74 -62
- package/dist/types/components/CometChatGroups/useCometChatGroups.d.ts +1 -0
- package/dist/types/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +107 -49
- package/dist/types/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +1 -1
- package/dist/types/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +77 -16
- package/dist/types/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +1 -1
- package/dist/types/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +5 -0
- package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +133 -55
- package/dist/types/components/CometChatMessageList/CometChatMessageListController.d.ts +3 -1
- package/dist/types/components/CometChatMessageList/useCometChatMessageList.d.ts +1 -1
- package/dist/types/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +34 -2
- package/dist/types/components/CometChatUsers/CometChatUsers.d.ts +88 -89
- package/dist/types/components/CometChatUsers/useCometChatUsers.d.ts +2 -1
- package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +3 -1
- package/dist/types/components/Extensions/Polls/PollsBubble.d.ts +5 -0
- package/dist/types/components/Extensions/Polls/PollsExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +2 -3
- package/dist/types/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +3 -2
- package/dist/types/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +3 -2
- package/dist/types/components/Reactions/CometChatReactions/CometChatReactions.d.ts +3 -2
- package/dist/types/index.d.ts +8 -7
- package/dist/types/resources/CometChatLocalize/cometchat-localize.d.ts +129 -115
- package/dist/types/utils/DataSource.d.ts +17 -18
- package/dist/types/utils/DataSourceDecorator.d.ts +17 -18
- package/dist/types/utils/GroupMemberUtils.d.ts +1 -1
- package/dist/types/utils/MessageUtils.d.ts +1 -1
- package/dist/types/utils/MessagesDataSource.d.ts +29 -16
- package/dist/types/utils/util.d.ts +5 -0
- package/package.json +1 -1
- package/dist/assets/ai-empty.svg +0 -22
- package/dist/assets/ai-error.svg +0 -3
- package/dist/assets/heart-reaction.png +0 -0
- package/dist/assets/send.svg +0 -12
- package/dist/styles/AICard.css +0 -30
- package/dist/styles/components/AICard.css +0 -30
- package/dist/types/components/AI/AIBaseConfiguration.d.ts +0 -51
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +0 -20
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -18
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -8
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +0 -31
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -9
- package/dist/types/components/AI/AIExtensionDataSource.d.ts +0 -6
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +0 -28
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -21
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -11
- package/dist/types/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +0 -5
- package/dist/types/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +0 -19
- /package/dist/assets/{ai.svg → conversation_summary.svg} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -49,6 +49,15 @@ declare enum AuxiliaryButtonAlignment {
|
|
|
49
49
|
left = 0,
|
|
50
50
|
right = 1
|
|
51
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* It is used for specifying the function of enter button
|
|
54
|
+
* It is used in CometChatMessageComposer component.
|
|
55
|
+
*/
|
|
56
|
+
declare enum EnterKeyBehavior {
|
|
57
|
+
SendMessage = "sendMessage",
|
|
58
|
+
NewLine = "newLine",
|
|
59
|
+
None = "none"
|
|
60
|
+
}
|
|
52
61
|
/**
|
|
53
62
|
* It is used for describing the position of the element on the UI.
|
|
54
63
|
* It is used in CometChatContextualMenu, CometChatMessageBubble, CometChatUsers and CometChatGroupMembers components.
|
|
@@ -310,12 +319,6 @@ interface MentionsProps {
|
|
|
310
319
|
}
|
|
311
320
|
declare function CometChatUserMemberWrapper(props: MentionsProps): react_jsx_runtime.JSX.Element;
|
|
312
321
|
|
|
313
|
-
declare abstract class AIExtensionDataSource {
|
|
314
|
-
abstract addExtension(): void;
|
|
315
|
-
abstract getExtensionId(): string;
|
|
316
|
-
enable(): void;
|
|
317
|
-
}
|
|
318
|
-
|
|
319
322
|
/**
|
|
320
323
|
* Abstract class representing a data source for extensions.
|
|
321
324
|
* Provides methods to enable and add extensions, and to get the extension ID.
|
|
@@ -350,9 +353,12 @@ declare var CometChatUIKitCalls: any;
|
|
|
350
353
|
declare class OutgoingCallConfiguration {
|
|
351
354
|
disableSoundForCalls?: boolean;
|
|
352
355
|
customSoundForCalls?: string;
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
+
titleView?: (call: CometChat.Call) => JSX.Element;
|
|
357
|
+
subtitleView?: (call: CometChat.Call) => JSX.Element;
|
|
358
|
+
avatarView?: (call: CometChat.Call) => JSX.Element;
|
|
359
|
+
cancelButtonView?: (call: CometChat.Call) => JSX.Element;
|
|
360
|
+
onError?: (error: CometChat.CometChatException) => void;
|
|
361
|
+
onCallCanceled?: Function;
|
|
356
362
|
constructor(configuration: OutgoingCallConfiguration);
|
|
357
363
|
}
|
|
358
364
|
|
|
@@ -360,7 +366,7 @@ declare class CallButtonConfiguration {
|
|
|
360
366
|
callSettingsBuilder?: (isAudioOnlyCall: boolean, user?: CometChat.User, group?: CometChat.Group) => typeof CometChatUIKitCalls.CallSettingsBuilder;
|
|
361
367
|
onVoiceCallClick?: () => void;
|
|
362
368
|
onVideoCallClick?: () => void;
|
|
363
|
-
onError?: (error: CometChat.CometChatException) => void;
|
|
369
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
364
370
|
outgoingCallConfiguration?: OutgoingCallConfiguration;
|
|
365
371
|
constructor(configuration?: CallButtonConfiguration);
|
|
366
372
|
}
|
|
@@ -410,6 +416,9 @@ declare class CometChatLocalize {
|
|
|
410
416
|
TRANSLATE: string;
|
|
411
417
|
USERS: string;
|
|
412
418
|
CHATS: string;
|
|
419
|
+
LAST_SEEN: string;
|
|
420
|
+
AT: string;
|
|
421
|
+
WRONG_FILE_TYPE: string;
|
|
413
422
|
MESSAGE_COPIED: string;
|
|
414
423
|
MESSAGE_EDITED: string;
|
|
415
424
|
MESSAGE_DELETED_TEXT: string;
|
|
@@ -481,10 +490,6 @@ declare class CometChatLocalize {
|
|
|
481
490
|
MEET_WITH: string;
|
|
482
491
|
MEETING_SCHEDULER: string;
|
|
483
492
|
MISSED_VIDEO_CALL: string;
|
|
484
|
-
/**
|
|
485
|
-
* Returns the active language. Return fallback language if translation is not available for the active language
|
|
486
|
-
* @returns {String} active language
|
|
487
|
-
*/
|
|
488
493
|
CUSTOM_MESSAGE_POLL: string;
|
|
489
494
|
CUSTOM_MESSAGE_STICKER: string;
|
|
490
495
|
CUSTOM_MESSAGE_DOCUMENT: string;
|
|
@@ -608,7 +613,7 @@ declare class CometChatLocalize {
|
|
|
608
613
|
GENERATING_ICEBREAKERS: string;
|
|
609
614
|
EMOJI: string;
|
|
610
615
|
NO_REPLIES_FOUND: string;
|
|
611
|
-
|
|
616
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
612
617
|
NO_MESSAGES_FOUND: string;
|
|
613
618
|
THREAD: string;
|
|
614
619
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -808,9 +813,12 @@ declare class CometChatLocalize {
|
|
|
808
813
|
MESSAGE_DELETED_TEXT: string;
|
|
809
814
|
MESSAGE_TRANSLATED: string;
|
|
810
815
|
CHATS: string;
|
|
816
|
+
LAST_SEEN: string;
|
|
817
|
+
AT: string;
|
|
811
818
|
SEARCH_EMOJI: string;
|
|
812
819
|
WOULD__YOU_LIKE_TO_DELETE_THIS_CONVERSATION: string;
|
|
813
820
|
GROUPS: string;
|
|
821
|
+
WRONG_FILE_TYPE: string;
|
|
814
822
|
SHARED: string;
|
|
815
823
|
SOUND_MANAGER: string;
|
|
816
824
|
THEME: string;
|
|
@@ -865,10 +873,7 @@ declare class CometChatLocalize {
|
|
|
865
873
|
MEETING_SCHEDULED: string;
|
|
866
874
|
SOMETHING_WRONG: string;
|
|
867
875
|
MEETING_SLOT_BOOK: string;
|
|
868
|
-
MEETING_BOOK_NEW_SLOT: string;
|
|
869
|
-
* Returns the active language. Return fallback language if translation is not available for the active language
|
|
870
|
-
* @returns {String} active language
|
|
871
|
-
*/
|
|
876
|
+
MEETING_BOOK_NEW_SLOT: string;
|
|
872
877
|
MEETING_NO_SLOTS_AVAILABLE: string;
|
|
873
878
|
MEETING_TRY_DIFFERENT_DATE: string;
|
|
874
879
|
NO_TIME_SLOTS_AVAILABLE: string;
|
|
@@ -911,6 +916,10 @@ declare class CometChatLocalize {
|
|
|
911
916
|
ADD_MEMBERS: string;
|
|
912
917
|
SEND_MESSAGE: string;
|
|
913
918
|
UNBLOCK_USER: string;
|
|
919
|
+
/**
|
|
920
|
+
* Returns rtl or ltr based on the active language
|
|
921
|
+
* @returns {String} the direction of the active langauge
|
|
922
|
+
*/
|
|
914
923
|
BLOCK_USER: string;
|
|
915
924
|
DELETE_AND_EXIT: string;
|
|
916
925
|
LEAVE_GROUP: string;
|
|
@@ -1001,7 +1010,7 @@ declare class CometChatLocalize {
|
|
|
1001
1010
|
GENERATING_ICEBREAKERS: string;
|
|
1002
1011
|
EMOJI: string;
|
|
1003
1012
|
NO_REPLIES_FOUND: string;
|
|
1004
|
-
|
|
1013
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
1005
1014
|
NO_MESSAGES_FOUND: string;
|
|
1006
1015
|
THREAD: string;
|
|
1007
1016
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -1210,6 +1219,7 @@ declare class CometChatLocalize {
|
|
|
1210
1219
|
CONVERSATIONS: string;
|
|
1211
1220
|
CONVERSATION_LIST: string;
|
|
1212
1221
|
MESSAGES: string;
|
|
1222
|
+
WRONG_FILE_TYPE: string;
|
|
1213
1223
|
MESSAGE_HEADER: string;
|
|
1214
1224
|
MESSAGE_LIST: string;
|
|
1215
1225
|
MESSAGE_COMPOSER: string;
|
|
@@ -1229,11 +1239,6 @@ declare class CometChatLocalize {
|
|
|
1229
1239
|
SELECT__GROUP: string;
|
|
1230
1240
|
SELECT__USER: string;
|
|
1231
1241
|
GROUP_PASSWORD_BLANK: string;
|
|
1232
|
-
/**
|
|
1233
|
-
* Initializes localization with the specified language and custom resources.
|
|
1234
|
-
* @param {string} [language=""] - The language code to set.
|
|
1235
|
-
* @param {object} [resources={}] - Custom translations to override defaults.
|
|
1236
|
-
*/
|
|
1237
1242
|
GROUP_NAME_BLANK: string;
|
|
1238
1243
|
GROUP_TYPE_BLANK: string;
|
|
1239
1244
|
DELETE_CONVERSATION: string;
|
|
@@ -1291,14 +1296,14 @@ declare class CometChatLocalize {
|
|
|
1291
1296
|
TYPING: string;
|
|
1292
1297
|
IS_TYPING: string;
|
|
1293
1298
|
CLOSE: string;
|
|
1294
|
-
ENTER_GROUP_NAME: string;
|
|
1295
|
-
ADD_MEMBERS: string;
|
|
1296
|
-
SEND_MESSAGE: string;
|
|
1297
|
-
UNBLOCK_USER: string; /**
|
|
1299
|
+
ENTER_GROUP_NAME: string; /**
|
|
1298
1300
|
* Accepts the string to localize and return the localized string
|
|
1299
1301
|
* @param {String} str
|
|
1300
1302
|
* @returns {String} localized str
|
|
1301
1303
|
*/
|
|
1304
|
+
ADD_MEMBERS: string;
|
|
1305
|
+
SEND_MESSAGE: string;
|
|
1306
|
+
UNBLOCK_USER: string;
|
|
1302
1307
|
BLOCK_USER: string;
|
|
1303
1308
|
DELETE_AND_EXIT: string;
|
|
1304
1309
|
LEAVE_GROUP: string;
|
|
@@ -1400,7 +1405,7 @@ declare class CometChatLocalize {
|
|
|
1400
1405
|
GENERATING_ICEBREAKERS: string;
|
|
1401
1406
|
EMOJI: string;
|
|
1402
1407
|
NO_REPLIES_FOUND: string;
|
|
1403
|
-
|
|
1408
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
1404
1409
|
NO_MESSAGES_FOUND: string;
|
|
1405
1410
|
THREAD: string;
|
|
1406
1411
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -1416,6 +1421,8 @@ declare class CometChatLocalize {
|
|
|
1416
1421
|
CHANGE_SCOPE: string;
|
|
1417
1422
|
STICKER: string;
|
|
1418
1423
|
LAST_ACTIVE_AT: string;
|
|
1424
|
+
LAST_SEEN: string;
|
|
1425
|
+
AT: string;
|
|
1419
1426
|
VOICE_CALL: string;
|
|
1420
1427
|
VIEW_DETAIL: string;
|
|
1421
1428
|
VOTES: string;
|
|
@@ -1598,9 +1605,12 @@ declare class CometChatLocalize {
|
|
|
1598
1605
|
MESSAGE_DELETED_TEXT: string;
|
|
1599
1606
|
MESSAGE_TRANSLATED: string;
|
|
1600
1607
|
TRANSLATE: string;
|
|
1608
|
+
LAST_SEEN: string;
|
|
1609
|
+
AT: string;
|
|
1601
1610
|
USERS: string;
|
|
1602
1611
|
CHATS: string;
|
|
1603
1612
|
SEARCH_EMOJI: string;
|
|
1613
|
+
WRONG_FILE_TYPE: string;
|
|
1604
1614
|
WOULD__YOU_LIKE_TO_DELETE_THIS_CONVERSATION: string;
|
|
1605
1615
|
GROUPS: string;
|
|
1606
1616
|
SHARED: string;
|
|
@@ -1647,10 +1657,7 @@ declare class CometChatLocalize {
|
|
|
1647
1657
|
MORE: string;
|
|
1648
1658
|
COPY: string;
|
|
1649
1659
|
VOICE_RECORDING: string;
|
|
1650
|
-
MESSAGE_IMAGE: string;
|
|
1651
|
-
* Returns the language code
|
|
1652
|
-
* @returns {String} language code i.e. en
|
|
1653
|
-
*/
|
|
1660
|
+
MESSAGE_IMAGE: string;
|
|
1654
1661
|
MESSAGE_FILE: string;
|
|
1655
1662
|
MESSAGE_VIDEO: string;
|
|
1656
1663
|
MESSAGE_AUDIO: string;
|
|
@@ -1793,7 +1800,7 @@ declare class CometChatLocalize {
|
|
|
1793
1800
|
GENERATING_ICEBREAKERS: string;
|
|
1794
1801
|
EMOJI: string;
|
|
1795
1802
|
NO_REPLIES_FOUND: string;
|
|
1796
|
-
|
|
1803
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
1797
1804
|
NO_MESSAGES_FOUND: string;
|
|
1798
1805
|
THREAD: string;
|
|
1799
1806
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -1993,9 +2000,12 @@ declare class CometChatLocalize {
|
|
|
1993
2000
|
MESSAGE_TRANSLATED: string;
|
|
1994
2001
|
USERS: string;
|
|
1995
2002
|
CHATS: string;
|
|
2003
|
+
LAST_SEEN: string;
|
|
2004
|
+
AT: string;
|
|
1996
2005
|
SEARCH_EMOJI: string;
|
|
1997
2006
|
WOULD__YOU_LIKE_TO_DELETE_THIS_CONVERSATION: string;
|
|
1998
2007
|
GROUPS: string;
|
|
2008
|
+
WRONG_FILE_TYPE: string; /**Properties and constants */
|
|
1999
2009
|
SHARED: string;
|
|
2000
2010
|
SOUND_MANAGER: string;
|
|
2001
2011
|
THEME: string;
|
|
@@ -2027,7 +2037,7 @@ declare class CometChatLocalize {
|
|
|
2027
2037
|
NO_CHATS_SELECTED: string;
|
|
2028
2038
|
NO_USERS_SELECTED: string;
|
|
2029
2039
|
NO_GROUPS_SELECTED: string;
|
|
2030
|
-
SELECT_DAY: string;
|
|
2040
|
+
SELECT_DAY: string;
|
|
2031
2041
|
SELECT_TIME: string;
|
|
2032
2042
|
NO_CALLS_SELECTED: string;
|
|
2033
2043
|
SELECT__GROUP: string;
|
|
@@ -2049,10 +2059,7 @@ declare class CometChatLocalize {
|
|
|
2049
2059
|
TIME_ZONE: string;
|
|
2050
2060
|
MEETING_SCHEDULED: string;
|
|
2051
2061
|
SOMETHING_WRONG: string;
|
|
2052
|
-
MEETING_SLOT_BOOK: string;
|
|
2053
|
-
* Returns the active language. Return fallback language if translation is not available for the active language
|
|
2054
|
-
* @returns {String} active language
|
|
2055
|
-
*/
|
|
2062
|
+
MEETING_SLOT_BOOK: string;
|
|
2056
2063
|
MEETING_BOOK_NEW_SLOT: string;
|
|
2057
2064
|
MEETING_NO_SLOTS_AVAILABLE: string;
|
|
2058
2065
|
MEETING_TRY_DIFFERENT_DATE: string;
|
|
@@ -2065,7 +2072,9 @@ declare class CometChatLocalize {
|
|
|
2065
2072
|
MISSED_VIDEO_CALL: string;
|
|
2066
2073
|
CUSTOM_MESSAGE_POLL: string;
|
|
2067
2074
|
CUSTOM_MESSAGE_STICKER: string;
|
|
2068
|
-
CUSTOM_MESSAGE_DOCUMENT: string;
|
|
2075
|
+
CUSTOM_MESSAGE_DOCUMENT: string; /**
|
|
2076
|
+
* Sets the default lannguage if no language is passed in init method
|
|
2077
|
+
*/
|
|
2069
2078
|
CUSTOM_MESSAGE_WHITEBOARD: string;
|
|
2070
2079
|
ONLINE: string;
|
|
2071
2080
|
ADMINISTRATOR: string;
|
|
@@ -2090,10 +2099,7 @@ declare class CometChatLocalize {
|
|
|
2090
2099
|
FRIDAY: string;
|
|
2091
2100
|
SATURDAY: string;
|
|
2092
2101
|
TYPING: string;
|
|
2093
|
-
IS_TYPING: string;
|
|
2094
|
-
* Returns true if the active language is rtl otherwise return false
|
|
2095
|
-
* @returns {Boolean} whether the language is rtl or not
|
|
2096
|
-
*/
|
|
2102
|
+
IS_TYPING: string;
|
|
2097
2103
|
CLOSE: string;
|
|
2098
2104
|
ENTER_GROUP_NAME: string;
|
|
2099
2105
|
ADD_MEMBERS: string;
|
|
@@ -2189,7 +2195,7 @@ declare class CometChatLocalize {
|
|
|
2189
2195
|
GENERATING_ICEBREAKERS: string;
|
|
2190
2196
|
EMOJI: string;
|
|
2191
2197
|
NO_REPLIES_FOUND: string;
|
|
2192
|
-
|
|
2198
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
2193
2199
|
NO_MESSAGES_FOUND: string;
|
|
2194
2200
|
THREAD: string;
|
|
2195
2201
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -2389,9 +2395,12 @@ declare class CometChatLocalize {
|
|
|
2389
2395
|
TRANSLATE: string;
|
|
2390
2396
|
USERS: string;
|
|
2391
2397
|
CHATS: string;
|
|
2398
|
+
LAST_SEEN: string;
|
|
2399
|
+
AT: string;
|
|
2392
2400
|
SEARCH_EMOJI: string;
|
|
2393
2401
|
WOULD__YOU_LIKE_TO_DELETE_THIS_CONVERSATION: string;
|
|
2394
2402
|
GROUPS: string;
|
|
2403
|
+
WRONG_FILE_TYPE: string;
|
|
2395
2404
|
SHARED: string;
|
|
2396
2405
|
SOUND_MANAGER: string;
|
|
2397
2406
|
THEME: string;
|
|
@@ -2426,7 +2435,7 @@ declare class CometChatLocalize {
|
|
|
2426
2435
|
SELECT_DAY: string;
|
|
2427
2436
|
SELECT_TIME: string;
|
|
2428
2437
|
NO_CALLS_SELECTED: string;
|
|
2429
|
-
SELECT__GROUP: string;
|
|
2438
|
+
SELECT__GROUP: string;
|
|
2430
2439
|
SELECT__USER: string;
|
|
2431
2440
|
GROUP_PASSWORD_BLANK: string;
|
|
2432
2441
|
GROUP_NAME_BLANK: string;
|
|
@@ -2474,7 +2483,9 @@ declare class CometChatLocalize {
|
|
|
2474
2483
|
MEMBER: string;
|
|
2475
2484
|
EDITED: string;
|
|
2476
2485
|
TODAY: string;
|
|
2477
|
-
YESTERDAY: string;
|
|
2486
|
+
YESTERDAY: string; /**
|
|
2487
|
+
* Sets the default lannguage if no language is passed in init method
|
|
2488
|
+
*/
|
|
2478
2489
|
SUNDAY: string;
|
|
2479
2490
|
MONDAY: string;
|
|
2480
2491
|
TUESDAY: string;
|
|
@@ -2579,7 +2590,7 @@ declare class CometChatLocalize {
|
|
|
2579
2590
|
GENERATING_ICEBREAKERS: string;
|
|
2580
2591
|
EMOJI: string;
|
|
2581
2592
|
NO_REPLIES_FOUND: string;
|
|
2582
|
-
|
|
2593
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
2583
2594
|
NO_MESSAGES_FOUND: string;
|
|
2584
2595
|
THREAD: string;
|
|
2585
2596
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -2774,6 +2785,8 @@ declare class CometChatLocalize {
|
|
|
2774
2785
|
TRANSLATE: string;
|
|
2775
2786
|
USERS: string;
|
|
2776
2787
|
CHATS: string;
|
|
2788
|
+
LAST_SEEN: string;
|
|
2789
|
+
AT: string;
|
|
2777
2790
|
CONVERSATION_DELETED: string;
|
|
2778
2791
|
MESSAGE_COPIED: string;
|
|
2779
2792
|
MESSAGE_EDITED: string;
|
|
@@ -2782,11 +2795,13 @@ declare class CometChatLocalize {
|
|
|
2782
2795
|
SEARCH_EMOJI: string;
|
|
2783
2796
|
WOULD__YOU_LIKE_TO_DELETE_THIS_CONVERSATION: string;
|
|
2784
2797
|
GROUPS: string;
|
|
2798
|
+
WRONG_FILE_TYPE: string;
|
|
2785
2799
|
SHARED: string;
|
|
2800
|
+
/**Properties and constants */
|
|
2786
2801
|
SOUND_MANAGER: string;
|
|
2787
2802
|
THEME: string;
|
|
2788
2803
|
DELETE_MSG_TEXT: string;
|
|
2789
|
-
LOCALIZE: string;
|
|
2804
|
+
LOCALIZE: string;
|
|
2790
2805
|
CONVERSATION_LIST_ITEM: string;
|
|
2791
2806
|
DATA_ITEM: string;
|
|
2792
2807
|
STATUS_INDICATOR: string;
|
|
@@ -2800,15 +2815,7 @@ declare class CometChatLocalize {
|
|
|
2800
2815
|
CONVERSATIONS: string;
|
|
2801
2816
|
CONVERSATION_LIST: string;
|
|
2802
2817
|
MESSAGES: string;
|
|
2803
|
-
MESSAGE_HEADER: string;
|
|
2804
|
-
* Needs to be called at the start of the application in order to set the language
|
|
2805
|
-
* @param {Object} - language & resources
|
|
2806
|
-
*/
|
|
2807
|
-
/**
|
|
2808
|
-
* Initializes localization with the specified language and custom resources.
|
|
2809
|
-
* @param {string} [language=""] - The language code to set.
|
|
2810
|
-
* @param {object} [resources={}] - Custom translations to override defaults.
|
|
2811
|
-
*/
|
|
2818
|
+
MESSAGE_HEADER: string;
|
|
2812
2819
|
MESSAGE_LIST: string;
|
|
2813
2820
|
MESSAGE_COMPOSER: string;
|
|
2814
2821
|
USERS_WITH_MESSAGES: string;
|
|
@@ -2819,28 +2826,31 @@ declare class CometChatLocalize {
|
|
|
2819
2826
|
PASSWORD: string;
|
|
2820
2827
|
CONTINUE: string;
|
|
2821
2828
|
NO_CHATS_SELECTED: string;
|
|
2822
|
-
NO_USERS_SELECTED: string;
|
|
2829
|
+
NO_USERS_SELECTED: string; /**Override resources */
|
|
2823
2830
|
NO_GROUPS_SELECTED: string;
|
|
2824
2831
|
SELECT_DAY: string;
|
|
2825
2832
|
SELECT_TIME: string;
|
|
2826
2833
|
NO_CALLS_SELECTED: string;
|
|
2827
|
-
SELECT__GROUP: string;
|
|
2834
|
+
SELECT__GROUP: string;
|
|
2828
2835
|
SELECT__USER: string;
|
|
2829
2836
|
GROUP_PASSWORD_BLANK: string;
|
|
2830
2837
|
GROUP_NAME_BLANK: string;
|
|
2831
2838
|
GROUP_TYPE_BLANK: string;
|
|
2832
|
-
DELETE_CONVERSATION: string;
|
|
2839
|
+
DELETE_CONVERSATION: string; /**
|
|
2840
|
+
* Returns the browser language
|
|
2841
|
+
* @returns {String} browser langauge i.e. en-US
|
|
2842
|
+
*/
|
|
2833
2843
|
ADD_TO_CHAT: string;
|
|
2834
2844
|
MORE: string;
|
|
2835
2845
|
COPY: string;
|
|
2836
2846
|
VOICE_RECORDING: string;
|
|
2837
|
-
MESSAGE_IMAGE: string;
|
|
2838
|
-
* Returns the browser language
|
|
2839
|
-
* @returns {String} browser langauge i.e. en-US
|
|
2840
|
-
*/
|
|
2847
|
+
MESSAGE_IMAGE: string;
|
|
2841
2848
|
MESSAGE_FILE: string;
|
|
2842
2849
|
MESSAGE_VIDEO: string;
|
|
2843
|
-
MESSAGE_AUDIO: string;
|
|
2850
|
+
MESSAGE_AUDIO: string; /**
|
|
2851
|
+
* Returns the language code
|
|
2852
|
+
* @returns {String} language code i.e. en
|
|
2853
|
+
*/
|
|
2844
2854
|
CUSTOM_MESSAGE: string;
|
|
2845
2855
|
SELECT_A_DATE: string;
|
|
2846
2856
|
TIME_ZONE: string;
|
|
@@ -2876,9 +2886,7 @@ declare class CometChatLocalize {
|
|
|
2876
2886
|
EDITED: string;
|
|
2877
2887
|
TODAY: string;
|
|
2878
2888
|
YESTERDAY: string;
|
|
2879
|
-
SUNDAY: string;
|
|
2880
|
-
* Sets the default lannguage if no language is passed in init method
|
|
2881
|
-
*/
|
|
2889
|
+
SUNDAY: string;
|
|
2882
2890
|
MONDAY: string;
|
|
2883
2891
|
TUESDAY: string;
|
|
2884
2892
|
WEDNESDAY: string;
|
|
@@ -2903,13 +2911,14 @@ declare class CometChatLocalize {
|
|
|
2903
2911
|
LOADING: string;
|
|
2904
2912
|
REPLY: string;
|
|
2905
2913
|
REPLIES: string;
|
|
2906
|
-
|
|
2907
|
-
SMART_REPLIES: string;
|
|
2908
|
-
CONVERSATION_STARTER: string;
|
|
2909
|
-
LAUNCH: string; /**
|
|
2914
|
+
/**
|
|
2910
2915
|
* Returns rtl or ltr based on the active language
|
|
2911
2916
|
* @returns {String} the direction of the active langauge
|
|
2912
2917
|
*/
|
|
2918
|
+
AI: string;
|
|
2919
|
+
SMART_REPLIES: string;
|
|
2920
|
+
CONVERSATION_STARTER: string;
|
|
2921
|
+
LAUNCH: string;
|
|
2913
2922
|
SHARED_COLLABORATIVE_DOCUMENT: string;
|
|
2914
2923
|
SHARED_COLLABORATIVE_WHITEBOARD: string;
|
|
2915
2924
|
CREATED_WHITEBOARD: string;
|
|
@@ -2985,7 +2994,7 @@ declare class CometChatLocalize {
|
|
|
2985
2994
|
GENERATING_ICEBREAKERS: string;
|
|
2986
2995
|
EMOJI: string;
|
|
2987
2996
|
NO_REPLIES_FOUND: string;
|
|
2988
|
-
|
|
2997
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
2989
2998
|
NO_MESSAGES_FOUND: string;
|
|
2990
2999
|
THREAD: string;
|
|
2991
3000
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -3185,11 +3194,14 @@ declare class CometChatLocalize {
|
|
|
3185
3194
|
MESSAGE_TRANSLATED: string;
|
|
3186
3195
|
USERS: string;
|
|
3187
3196
|
CHATS: string;
|
|
3197
|
+
LAST_SEEN: string;
|
|
3198
|
+
AT: string;
|
|
3188
3199
|
SEARCH_EMOJI: string;
|
|
3189
3200
|
WOULD__YOU_LIKE_TO_DELETE_THIS_CONVERSATION: string;
|
|
3190
3201
|
GROUPS: string;
|
|
3191
3202
|
SHARED: string;
|
|
3192
3203
|
SOUND_MANAGER: string;
|
|
3204
|
+
WRONG_FILE_TYPE: string;
|
|
3193
3205
|
THEME: string;
|
|
3194
3206
|
DELETE_MSG_TEXT: string;
|
|
3195
3207
|
LOCALIZE: string;
|
|
@@ -3236,10 +3248,6 @@ declare class CometChatLocalize {
|
|
|
3236
3248
|
MESSAGE_FILE: string;
|
|
3237
3249
|
MESSAGE_VIDEO: string;
|
|
3238
3250
|
MESSAGE_AUDIO: string;
|
|
3239
|
-
/**
|
|
3240
|
-
* Returns the language code
|
|
3241
|
-
* @returns {String} language code i.e. en
|
|
3242
|
-
*/
|
|
3243
3251
|
CUSTOM_MESSAGE: string;
|
|
3244
3252
|
SELECT_A_DATE: string;
|
|
3245
3253
|
TIME_ZONE: string;
|
|
@@ -3379,7 +3387,7 @@ declare class CometChatLocalize {
|
|
|
3379
3387
|
GENERATING_ICEBREAKERS: string;
|
|
3380
3388
|
EMOJI: string;
|
|
3381
3389
|
NO_REPLIES_FOUND: string;
|
|
3382
|
-
|
|
3390
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
3383
3391
|
NO_MESSAGES_FOUND: string;
|
|
3384
3392
|
THREAD: string;
|
|
3385
3393
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -3574,6 +3582,8 @@ declare class CometChatLocalize {
|
|
|
3574
3582
|
TRANSLATE: string;
|
|
3575
3583
|
USERS: string;
|
|
3576
3584
|
CHATS: string;
|
|
3585
|
+
LAST_SEEN: string;
|
|
3586
|
+
AT: string;
|
|
3577
3587
|
MESSAGE_COPIED: string;
|
|
3578
3588
|
MESSAGE_EDITED: string;
|
|
3579
3589
|
MESSAGE_DELETED_TEXT: string;
|
|
@@ -3587,6 +3597,7 @@ declare class CometChatLocalize {
|
|
|
3587
3597
|
THEME: string;
|
|
3588
3598
|
DELETE_MSG_TEXT: string;
|
|
3589
3599
|
LOCALIZE: string;
|
|
3600
|
+
WRONG_FILE_TYPE: string;
|
|
3590
3601
|
CONVERSATION_LIST_ITEM: string;
|
|
3591
3602
|
DATA_ITEM: string;
|
|
3592
3603
|
STATUS_INDICATOR: string;
|
|
@@ -3616,7 +3627,7 @@ declare class CometChatLocalize {
|
|
|
3616
3627
|
SELECT_DAY: string;
|
|
3617
3628
|
SELECT_TIME: string;
|
|
3618
3629
|
NO_CALLS_SELECTED: string;
|
|
3619
|
-
SELECT__GROUP: string;
|
|
3630
|
+
SELECT__GROUP: string;
|
|
3620
3631
|
SELECT__USER: string;
|
|
3621
3632
|
GROUP_PASSWORD_BLANK: string;
|
|
3622
3633
|
GROUP_NAME_BLANK: string;
|
|
@@ -3769,7 +3780,7 @@ declare class CometChatLocalize {
|
|
|
3769
3780
|
GENERATING_ICEBREAKERS: string;
|
|
3770
3781
|
EMOJI: string;
|
|
3771
3782
|
NO_REPLIES_FOUND: string;
|
|
3772
|
-
|
|
3783
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
3773
3784
|
NO_MESSAGES_FOUND: string;
|
|
3774
3785
|
THREAD: string;
|
|
3775
3786
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -3969,10 +3980,13 @@ declare class CometChatLocalize {
|
|
|
3969
3980
|
MESSAGE_TRANSLATED: string;
|
|
3970
3981
|
USERS: string;
|
|
3971
3982
|
CHATS: string;
|
|
3983
|
+
LAST_SEEN: string;
|
|
3984
|
+
AT: string;
|
|
3972
3985
|
SEARCH_EMOJI: string;
|
|
3973
3986
|
WOULD__YOU_LIKE_TO_DELETE_THIS_CONVERSATION: string;
|
|
3974
3987
|
GROUPS: string;
|
|
3975
3988
|
SHARED: string;
|
|
3989
|
+
WRONG_FILE_TYPE: string;
|
|
3976
3990
|
SOUND_MANAGER: string;
|
|
3977
3991
|
THEME: string;
|
|
3978
3992
|
DELETE_MSG_TEXT: string;
|
|
@@ -4007,10 +4021,20 @@ declare class CometChatLocalize {
|
|
|
4007
4021
|
SELECT_TIME: string;
|
|
4008
4022
|
NO_CALLS_SELECTED: string;
|
|
4009
4023
|
SELECT__GROUP: string;
|
|
4024
|
+
/**
|
|
4025
|
+
* Initializes localization with the specified language and custom resources.
|
|
4026
|
+
* @param {string} [language=""] - The language code to set.
|
|
4027
|
+
* @param {object} [resources={}] - Custom translations to override defaults.
|
|
4028
|
+
*/
|
|
4010
4029
|
SELECT__USER: string;
|
|
4011
4030
|
GROUP_PASSWORD_BLANK: string;
|
|
4012
4031
|
GROUP_NAME_BLANK: string;
|
|
4013
4032
|
GROUP_TYPE_BLANK: string;
|
|
4033
|
+
/**
|
|
4034
|
+
* Initializes localization with the specified language and custom resources.
|
|
4035
|
+
* @param {string} [language=""] - The language code to set.
|
|
4036
|
+
* @param {object} [resources={}] - Custom translations to override defaults.
|
|
4037
|
+
*/
|
|
4014
4038
|
DELETE_CONVERSATION: string;
|
|
4015
4039
|
ADD_TO_CHAT: string;
|
|
4016
4040
|
MORE: string;
|
|
@@ -4047,16 +4071,15 @@ declare class CometChatLocalize {
|
|
|
4047
4071
|
PARTICIPANT: string;
|
|
4048
4072
|
PUBLIC: string;
|
|
4049
4073
|
PRIVATE: string;
|
|
4050
|
-
/**
|
|
4051
|
-
* Returns the browser language
|
|
4052
|
-
* @returns {String} browser langauge i.e. en-US
|
|
4053
|
-
*/
|
|
4054
4074
|
PASSWORD_PROTECTED: string;
|
|
4055
4075
|
PRIVACY_AND_SECURITY: string;
|
|
4056
4076
|
PREFERENCES: string;
|
|
4057
4077
|
MEMBERS: string;
|
|
4058
4078
|
MEMBER: string;
|
|
4059
|
-
EDITED: string;
|
|
4079
|
+
EDITED: string; /**
|
|
4080
|
+
* Returns the language code
|
|
4081
|
+
* @returns {String} language code i.e. en
|
|
4082
|
+
*/
|
|
4060
4083
|
TODAY: string;
|
|
4061
4084
|
YESTERDAY: string;
|
|
4062
4085
|
SUNDAY: string;
|
|
@@ -4109,9 +4132,7 @@ declare class CometChatLocalize {
|
|
|
4109
4132
|
INCOMING_AUDIO_CALL: string;
|
|
4110
4133
|
INCOMING_VIDEO_CALL: string;
|
|
4111
4134
|
DECLINE: string;
|
|
4112
|
-
ACCEPT: string;
|
|
4113
|
-
* Sets the default lannguage if no language is passed in init method
|
|
4114
|
-
*/
|
|
4135
|
+
ACCEPT: string;
|
|
4115
4136
|
CALL_INITIATED: string;
|
|
4116
4137
|
OUTGOING_AUDIO_CALL: string;
|
|
4117
4138
|
OUTGOING_VIDEO_CALL: string;
|
|
@@ -4165,7 +4186,7 @@ declare class CometChatLocalize {
|
|
|
4165
4186
|
GENERATING_ICEBREAKERS: string;
|
|
4166
4187
|
EMOJI: string;
|
|
4167
4188
|
NO_REPLIES_FOUND: string;
|
|
4168
|
-
|
|
4189
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
4169
4190
|
NO_MESSAGES_FOUND: string;
|
|
4170
4191
|
THREAD: string;
|
|
4171
4192
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -4365,11 +4386,14 @@ declare class CometChatLocalize {
|
|
|
4365
4386
|
TRANSLATE: string;
|
|
4366
4387
|
USERS: string;
|
|
4367
4388
|
CHATS: string;
|
|
4389
|
+
LAST_SEEN: string;
|
|
4390
|
+
AT: string;
|
|
4368
4391
|
SEARCH_EMOJI: string;
|
|
4369
4392
|
WOULD__YOU_LIKE_TO_DELETE_THIS_CONVERSATION: string;
|
|
4370
4393
|
GROUPS: string;
|
|
4371
4394
|
SHARED: string;
|
|
4372
4395
|
SOUND_MANAGER: string;
|
|
4396
|
+
WRONG_FILE_TYPE: string;
|
|
4373
4397
|
THEME: string;
|
|
4374
4398
|
DELETE_MSG_TEXT: string;
|
|
4375
4399
|
LOCALIZE: string;
|
|
@@ -4410,11 +4434,7 @@ declare class CometChatLocalize {
|
|
|
4410
4434
|
DELETE_CONVERSATION: string;
|
|
4411
4435
|
ADD_TO_CHAT: string;
|
|
4412
4436
|
MORE: string;
|
|
4413
|
-
COPY: string;
|
|
4414
|
-
* Initializes localization with the specified language and custom resources.
|
|
4415
|
-
* @param {string} [language=""] - The language code to set.
|
|
4416
|
-
* @param {object} [resources={}] - Custom translations to override defaults.
|
|
4417
|
-
*/
|
|
4437
|
+
COPY: string;
|
|
4418
4438
|
VOICE_RECORDING: string;
|
|
4419
4439
|
MESSAGE_IMAGE: string;
|
|
4420
4440
|
MESSAGE_FILE: string;
|
|
@@ -4426,7 +4446,7 @@ declare class CometChatLocalize {
|
|
|
4426
4446
|
MEETING_SCHEDULED: string;
|
|
4427
4447
|
SOMETHING_WRONG: string;
|
|
4428
4448
|
MEETING_SLOT_BOOK: string;
|
|
4429
|
-
MEETING_BOOK_NEW_SLOT: string;
|
|
4449
|
+
MEETING_BOOK_NEW_SLOT: string; /**Override resources */
|
|
4430
4450
|
MEETING_NO_SLOTS_AVAILABLE: string;
|
|
4431
4451
|
MEETING_TRY_DIFFERENT_DATE: string;
|
|
4432
4452
|
NO_TIME_SLOTS_AVAILABLE: string;
|
|
@@ -4477,10 +4497,6 @@ declare class CometChatLocalize {
|
|
|
4477
4497
|
SHARED_FILE: string;
|
|
4478
4498
|
VIDEO_CALL: string;
|
|
4479
4499
|
AUDIO_CALL: string;
|
|
4480
|
-
/**
|
|
4481
|
-
* Returns the active language. Return fallback language if translation is not available for the active language
|
|
4482
|
-
* @returns {String} active language
|
|
4483
|
-
*/
|
|
4484
4500
|
LOADING: string;
|
|
4485
4501
|
REPLY: string;
|
|
4486
4502
|
REPLIES: string;
|
|
@@ -4499,11 +4515,7 @@ declare class CometChatLocalize {
|
|
|
4499
4515
|
THIS_MESSAGE_DELETED: string;
|
|
4500
4516
|
MESSAGE_IS_DELETED: string;
|
|
4501
4517
|
VIEW_ON_YOUTUBE: string;
|
|
4502
|
-
SEARCH: string;
|
|
4503
|
-
* Accepts the string to localize and return the localized string
|
|
4504
|
-
* @param {String} str
|
|
4505
|
-
* @returns {String} localized str
|
|
4506
|
-
*/
|
|
4518
|
+
SEARCH: string;
|
|
4507
4519
|
ERROR: string;
|
|
4508
4520
|
ERROR_TEXT: string;
|
|
4509
4521
|
NO_GROUPS_FOUND: string;
|
|
@@ -4567,7 +4579,7 @@ declare class CometChatLocalize {
|
|
|
4567
4579
|
GENERATING_ICEBREAKERS: string;
|
|
4568
4580
|
EMOJI: string;
|
|
4569
4581
|
NO_REPLIES_FOUND: string;
|
|
4570
|
-
|
|
4582
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
4571
4583
|
NO_MESSAGES_FOUND: string;
|
|
4572
4584
|
THREAD: string;
|
|
4573
4585
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -4757,6 +4769,8 @@ declare class CometChatLocalize {
|
|
|
4757
4769
|
CALL_UNANSWERED: string;
|
|
4758
4770
|
INFO: string;
|
|
4759
4771
|
REACT: string;
|
|
4772
|
+
LAST_SEEN: string;
|
|
4773
|
+
AT: string;
|
|
4760
4774
|
EDIT: string;
|
|
4761
4775
|
MESSAGE_PRIVATELY: string;
|
|
4762
4776
|
TRANSLATE: string;
|
|
@@ -4778,6 +4792,7 @@ declare class CometChatLocalize {
|
|
|
4778
4792
|
CONVERSATION_LIST_ITEM: string;
|
|
4779
4793
|
DATA_ITEM: string;
|
|
4780
4794
|
STATUS_INDICATOR: string;
|
|
4795
|
+
WRONG_FILE_TYPE: string;
|
|
4781
4796
|
BADGE_COUNT: string;
|
|
4782
4797
|
MESSAGE_RECEIPT: string;
|
|
4783
4798
|
MESSAGE: string;
|
|
@@ -4788,7 +4803,11 @@ declare class CometChatLocalize {
|
|
|
4788
4803
|
CONVERSATIONS: string;
|
|
4789
4804
|
CONVERSATION_LIST: string;
|
|
4790
4805
|
MESSAGES: string;
|
|
4791
|
-
MESSAGE_HEADER: string;
|
|
4806
|
+
MESSAGE_HEADER: string; /**
|
|
4807
|
+
* Initializes localization with the specified language and custom resources.
|
|
4808
|
+
* @param {string} [language=""] - The language code to set.
|
|
4809
|
+
* @param {object} [resources={}] - Custom translations to override defaults.
|
|
4810
|
+
*/
|
|
4792
4811
|
MESSAGE_LIST: string;
|
|
4793
4812
|
MESSAGE_COMPOSER: string;
|
|
4794
4813
|
USERS_WITH_MESSAGES: string;
|
|
@@ -4837,10 +4856,7 @@ declare class CometChatLocalize {
|
|
|
4837
4856
|
CUSTOM_MESSAGE_POLL: string;
|
|
4838
4857
|
CUSTOM_MESSAGE_STICKER: string;
|
|
4839
4858
|
CUSTOM_MESSAGE_DOCUMENT: string;
|
|
4840
|
-
CUSTOM_MESSAGE_WHITEBOARD: string;
|
|
4841
|
-
* Set the active language
|
|
4842
|
-
* @param {String} language
|
|
4843
|
-
*/
|
|
4859
|
+
CUSTOM_MESSAGE_WHITEBOARD: string;
|
|
4844
4860
|
ONLINE: string;
|
|
4845
4861
|
ADMINISTRATOR: string;
|
|
4846
4862
|
ADMIN: string;
|
|
@@ -4871,7 +4887,10 @@ declare class CometChatLocalize {
|
|
|
4871
4887
|
SEND_MESSAGE: string;
|
|
4872
4888
|
UNBLOCK_USER: string;
|
|
4873
4889
|
BLOCK_USER: string;
|
|
4874
|
-
DELETE_AND_EXIT: string;
|
|
4890
|
+
DELETE_AND_EXIT: string; /**
|
|
4891
|
+
* Returns true if the active language is rtl otherwise return false
|
|
4892
|
+
* @returns {Boolean} whether the language is rtl or not
|
|
4893
|
+
*/
|
|
4875
4894
|
LEAVE_GROUP: string;
|
|
4876
4895
|
CREATE_GROUP: string;
|
|
4877
4896
|
SHARED_MEDIA: string;
|
|
@@ -4960,7 +4979,7 @@ declare class CometChatLocalize {
|
|
|
4960
4979
|
GENERATING_ICEBREAKERS: string;
|
|
4961
4980
|
EMOJI: string;
|
|
4962
4981
|
NO_REPLIES_FOUND: string;
|
|
4963
|
-
|
|
4982
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
4964
4983
|
NO_MESSAGES_FOUND: string;
|
|
4965
4984
|
THREAD: string;
|
|
4966
4985
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -5159,11 +5178,14 @@ declare class CometChatLocalize {
|
|
|
5159
5178
|
MESSAGE_PRIVATELY: string;
|
|
5160
5179
|
TRANSLATE: string;
|
|
5161
5180
|
USERS: string;
|
|
5181
|
+
LAST_SEEN: string;
|
|
5182
|
+
AT: string;
|
|
5162
5183
|
CHATS: string;
|
|
5163
5184
|
SEARCH_EMOJI: string;
|
|
5164
5185
|
WOULD__YOU_LIKE_TO_DELETE_THIS_CONVERSATION: string;
|
|
5165
5186
|
GROUPS: string;
|
|
5166
5187
|
SHARED: string;
|
|
5188
|
+
WRONG_FILE_TYPE: string;
|
|
5167
5189
|
SOUND_MANAGER: string;
|
|
5168
5190
|
THEME: string;
|
|
5169
5191
|
DELETE_MSG_TEXT: string;
|
|
@@ -5215,7 +5237,10 @@ declare class CometChatLocalize {
|
|
|
5215
5237
|
SELECT_A_DATE: string;
|
|
5216
5238
|
TIME_ZONE: string;
|
|
5217
5239
|
MEETING_SCHEDULED: string;
|
|
5218
|
-
SOMETHING_WRONG: string;
|
|
5240
|
+
SOMETHING_WRONG: string; /**
|
|
5241
|
+
* Returns the active language. Return fallback language if translation is not available for the active language
|
|
5242
|
+
* @returns {String} active language
|
|
5243
|
+
*/
|
|
5219
5244
|
MEETING_SLOT_BOOK: string;
|
|
5220
5245
|
MEETING_BOOK_NEW_SLOT: string;
|
|
5221
5246
|
MEETING_NO_SLOTS_AVAILABLE: string;
|
|
@@ -5350,7 +5375,7 @@ declare class CometChatLocalize {
|
|
|
5350
5375
|
GENERATING_ICEBREAKERS: string;
|
|
5351
5376
|
EMOJI: string;
|
|
5352
5377
|
NO_REPLIES_FOUND: string;
|
|
5353
|
-
|
|
5378
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
5354
5379
|
NO_MESSAGES_FOUND: string;
|
|
5355
5380
|
THREAD: string;
|
|
5356
5381
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -5550,11 +5575,14 @@ declare class CometChatLocalize {
|
|
|
5550
5575
|
MESSAGE_DELETED_TEXT: string;
|
|
5551
5576
|
MESSAGE_TRANSLATED: string;
|
|
5552
5577
|
CHATS: string;
|
|
5578
|
+
LAST_SEEN: string;
|
|
5579
|
+
AT: string;
|
|
5553
5580
|
SEARCH_EMOJI: string;
|
|
5554
5581
|
WOULD__YOU_LIKE_TO_DELETE_THIS_CONVERSATION: string;
|
|
5555
5582
|
GROUPS: string;
|
|
5556
5583
|
SHARED: string;
|
|
5557
5584
|
SOUND_MANAGER: string;
|
|
5585
|
+
WRONG_FILE_TYPE: string;
|
|
5558
5586
|
THEME: string;
|
|
5559
5587
|
DELETE_MSG_TEXT: string;
|
|
5560
5588
|
LOCALIZE: string;
|
|
@@ -5603,10 +5631,6 @@ declare class CometChatLocalize {
|
|
|
5603
5631
|
MESSAGE_AUDIO: string;
|
|
5604
5632
|
CUSTOM_MESSAGE: string;
|
|
5605
5633
|
SELECT_A_DATE: string;
|
|
5606
|
-
/**
|
|
5607
|
-
* Returns the language code
|
|
5608
|
-
* @returns {String} language code i.e. en
|
|
5609
|
-
*/
|
|
5610
5634
|
TIME_ZONE: string;
|
|
5611
5635
|
MEETING_SCHEDULED: string;
|
|
5612
5636
|
SOMETHING_WRONG: string;
|
|
@@ -5623,10 +5647,6 @@ declare class CometChatLocalize {
|
|
|
5623
5647
|
MISSED_VIDEO_CALL: string;
|
|
5624
5648
|
CUSTOM_MESSAGE_POLL: string;
|
|
5625
5649
|
CUSTOM_MESSAGE_STICKER: string;
|
|
5626
|
-
/**
|
|
5627
|
-
* Set the active language
|
|
5628
|
-
* @param {String} language
|
|
5629
|
-
*/
|
|
5630
5650
|
CUSTOM_MESSAGE_DOCUMENT: string;
|
|
5631
5651
|
CUSTOM_MESSAGE_WHITEBOARD: string;
|
|
5632
5652
|
ONLINE: string;
|
|
@@ -5748,7 +5768,7 @@ declare class CometChatLocalize {
|
|
|
5748
5768
|
GENERATING_ICEBREAKERS: string;
|
|
5749
5769
|
EMOJI: string;
|
|
5750
5770
|
NO_REPLIES_FOUND: string;
|
|
5751
|
-
|
|
5771
|
+
COMPOSER_PLACEHOLDER_TEXT: string;
|
|
5752
5772
|
NO_MESSAGES_FOUND: string;
|
|
5753
5773
|
THREAD: string;
|
|
5754
5774
|
COLLABORATIVE_DOCUMENT: string;
|
|
@@ -6056,11 +6076,6 @@ declare class UIKitSettings {
|
|
|
6056
6076
|
* @type {ExtensionsDataSource}
|
|
6057
6077
|
*/
|
|
6058
6078
|
readonly callingExtension?: CallingExtension;
|
|
6059
|
-
/**
|
|
6060
|
-
* Data source for managing AI features.
|
|
6061
|
-
* @type {AIExtensionDataSource[]}
|
|
6062
|
-
*/
|
|
6063
|
-
readonly aiFeatures?: AIExtensionDataSource[];
|
|
6064
6079
|
/**
|
|
6065
6080
|
* Private constructor to initialize the settings using the provided builder.
|
|
6066
6081
|
* @param {UIKitSettingsBuilder} builder - The builder instance containing the settings configuration.
|
|
@@ -6122,11 +6137,6 @@ declare class UIKitSettings {
|
|
|
6122
6137
|
* @returns {ExtensionsDataSource[]}
|
|
6123
6138
|
*/
|
|
6124
6139
|
getCallsExtension(): ExtensionsDataSource;
|
|
6125
|
-
/**
|
|
6126
|
-
* Retrieves the list of AI features.
|
|
6127
|
-
* @returns {AIExtensionDataSource[]} The list of AI features.
|
|
6128
|
-
*/
|
|
6129
|
-
getAiFeatures(): AIExtensionDataSource[];
|
|
6130
6140
|
}
|
|
6131
6141
|
declare class UIKitSettingsBuilder {
|
|
6132
6142
|
/**
|
|
@@ -6195,11 +6205,6 @@ declare class UIKitSettingsBuilder {
|
|
|
6195
6205
|
* @type {string}
|
|
6196
6206
|
*/
|
|
6197
6207
|
clientHost?: string;
|
|
6198
|
-
/**
|
|
6199
|
-
* Data source for managing AI features.
|
|
6200
|
-
* @type {AIExtensionDataSource[]}
|
|
6201
|
-
*/
|
|
6202
|
-
aiFeatures?: AIExtensionDataSource[];
|
|
6203
6208
|
/**
|
|
6204
6209
|
* Builds and returns an instance of UIKitSettings.
|
|
6205
6210
|
* @returns {UIKitSettings} A new instance of UIKitSettings with the specified configuration.
|
|
@@ -6276,12 +6281,6 @@ declare class UIKitSettingsBuilder {
|
|
|
6276
6281
|
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
6277
6282
|
*/
|
|
6278
6283
|
setCallsExtension(callingExtension: CallingExtension): UIKitSettingsBuilder;
|
|
6279
|
-
/**
|
|
6280
|
-
* Sets the list of AI features.
|
|
6281
|
-
* @param {AIExtensionDataSource[]} aiFeatures - The list of AI features.
|
|
6282
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
6283
|
-
*/
|
|
6284
|
-
setAiFeatures(aiFeatures: AIExtensionDataSource[]): UIKitSettingsBuilder;
|
|
6285
6284
|
}
|
|
6286
6285
|
|
|
6287
6286
|
/**
|
|
@@ -6772,6 +6771,16 @@ type ComposerId = {
|
|
|
6772
6771
|
* Utility class that extends DataSource and provides getters for message options.
|
|
6773
6772
|
* It is used in message and dataSource utils.
|
|
6774
6773
|
*/
|
|
6774
|
+
interface additionalParamsOptions {
|
|
6775
|
+
hideReplyInThreadOption?: boolean;
|
|
6776
|
+
hideTranslateMessageOption?: boolean;
|
|
6777
|
+
hideReactionOption?: boolean;
|
|
6778
|
+
hideEditMessageOption?: boolean;
|
|
6779
|
+
hideDeleteMessageOption?: boolean;
|
|
6780
|
+
hideMessagePrivatelyOption?: boolean;
|
|
6781
|
+
hideCopyMessageOption?: boolean;
|
|
6782
|
+
hideMessageInfoOption?: boolean;
|
|
6783
|
+
}
|
|
6775
6784
|
declare class MessagesDataSource implements DataSource {
|
|
6776
6785
|
getEditOption(): CometChatActionsIcon;
|
|
6777
6786
|
getDeleteOption(): CometChatActionsIcon;
|
|
@@ -6781,12 +6790,12 @@ declare class MessagesDataSource implements DataSource {
|
|
|
6781
6790
|
getCopyOption(): CometChatActionsIcon;
|
|
6782
6791
|
getMessageInfoOption(): CometChatActionsIcon;
|
|
6783
6792
|
isSentByMe(loggedInUser: CometChat$1.User, message: CometChat$1.BaseMessage): boolean;
|
|
6784
|
-
getTextMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6793
|
+
getTextMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6785
6794
|
getIsSentByMe(message: CometChat$1.BaseMessage): boolean;
|
|
6786
|
-
getImageMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6787
|
-
getVideoMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6788
|
-
getAudioMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6789
|
-
getFileMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6795
|
+
getImageMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6796
|
+
getVideoMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6797
|
+
getAudioMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6798
|
+
getFileMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6790
6799
|
getReceiptClass(status?: number): "wait" | "read" | "error" | "delivered" | "sent" | undefined;
|
|
6791
6800
|
/**
|
|
6792
6801
|
* Function to get receipt for message bubble
|
|
@@ -6806,16 +6815,20 @@ declare class MessagesDataSource implements DataSource {
|
|
|
6806
6815
|
getAudioMessageTemplate(): CometChatMessageTemplate;
|
|
6807
6816
|
getVideoMessageTemplate(): CometChatMessageTemplate;
|
|
6808
6817
|
getImageMessageTemplate(): CometChatMessageTemplate;
|
|
6809
|
-
getGroupActionTemplate(
|
|
6818
|
+
getGroupActionTemplate(additionalConfigurations?: {
|
|
6819
|
+
hideGroupActionMessages?: boolean;
|
|
6820
|
+
}): CometChatMessageTemplate;
|
|
6810
6821
|
getFileMessageTemplate(): CometChatMessageTemplate;
|
|
6811
6822
|
getAllMessageTemplates(additionalConfigurations?: additionalParams): Array<CometChatMessageTemplate>;
|
|
6812
6823
|
getMessageTemplate(messageType: string, messageCategory: string, additionalConfigurations?: additionalParams): CometChatMessageTemplate | null;
|
|
6813
|
-
getMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6814
|
-
getCommonOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6824
|
+
getMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6825
|
+
getCommonOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
6815
6826
|
getAllMessageTypes(): Array<string>;
|
|
6816
6827
|
addList(): string;
|
|
6817
|
-
getAllMessageCategories(
|
|
6818
|
-
|
|
6828
|
+
getAllMessageCategories(additionalConfigurations?: {
|
|
6829
|
+
hideGroupActionMessages?: boolean;
|
|
6830
|
+
}): Array<string>;
|
|
6831
|
+
getStickerButton(id: ComposerId, user?: CometChat$1.User, group?: CometChat$1.Group): JSX.Element | undefined;
|
|
6819
6832
|
getId(): string;
|
|
6820
6833
|
getTextMessageContentView(message: CometChat$1.TextMessage, _alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): JSX.Element | Element;
|
|
6821
6834
|
getAudioMessageContentView(message: CometChat$1.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
|
|
@@ -6823,10 +6836,10 @@ declare class MessagesDataSource implements DataSource {
|
|
|
6823
6836
|
getImageMessageContentView(message: CometChat$1.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
|
|
6824
6837
|
getVideoMessageContentView(message: CometChat$1.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
|
|
6825
6838
|
getActionMessage(message: any): string;
|
|
6826
|
-
getDeleteMessageBubble(message: CometChat$1.BaseMessage, text?: string): react_jsx_runtime.JSX.Element;
|
|
6839
|
+
getDeleteMessageBubble(message: CometChat$1.BaseMessage, text?: string, alignment?: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
|
|
6827
6840
|
getGroupActionBubble(message: CometChat$1.BaseMessage): react_jsx_runtime.JSX.Element;
|
|
6828
6841
|
getTextMessageBubble(messageText: string, message: CometChat$1.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): Element | JSX.Element;
|
|
6829
|
-
getAudioMessageBubble(audioUrl: string, message: CometChat$1.MediaMessage, title?: string): Element | JSX.Element;
|
|
6842
|
+
getAudioMessageBubble(audioUrl: string, message: CometChat$1.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
|
|
6830
6843
|
/**
|
|
6831
6844
|
* Function to check mimeType and return the iconUrl of that type
|
|
6832
6845
|
* @param mimeType
|
|
@@ -6839,17 +6852,16 @@ declare class MessagesDataSource implements DataSource {
|
|
|
6839
6852
|
* @returns
|
|
6840
6853
|
*/
|
|
6841
6854
|
getFileSize: (sizeInBytes: number) => string;
|
|
6842
|
-
getFileMessageBubble(fileUrl: string, message: CometChat$1.MediaMessage, title?: string): Element | JSX.Element;
|
|
6855
|
+
getFileMessageBubble(fileUrl: string, message: CometChat$1.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
|
|
6843
6856
|
getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat$1.MediaMessage, onClick?: Function): react_jsx_runtime.JSX.Element;
|
|
6844
6857
|
getVideoMessageBubble(videoUrl: string, message: CometChat$1.MediaMessage, thumbnailUrl?: string, onClick?: Function): Element | JSX.Element;
|
|
6845
6858
|
imageAttachmentOption(): CometChatMessageComposerAction;
|
|
6846
6859
|
videoAttachmentOption(): CometChatMessageComposerAction;
|
|
6847
6860
|
audioAttachmentOption(): CometChatMessageComposerAction;
|
|
6848
6861
|
fileAttachmentOption(): CometChatMessageComposerAction;
|
|
6849
|
-
getAttachmentOptions(id: ComposerId): Array<CometChatMessageComposerAction>;
|
|
6862
|
+
getAttachmentOptions(id: ComposerId, additionalConfigurations?: any): Array<CometChatMessageComposerAction>;
|
|
6850
6863
|
getLastConversationMessage(conversation: CometChat$1.Conversation, loggedInUser: CometChat$1.User, additionalConfigurations: additionalParams): string;
|
|
6851
|
-
getAuxiliaryHeaderMenu(user?: CometChat$1.User, group?: CometChat$1.Group): Element[] | JSX.Element[];
|
|
6852
|
-
getAIOptions(user: CometChat$1.User | null, group: CometChat$1.Group | null, id?: ComposerId): Array<CometChatMessageComposerAction | CometChatActionsView>;
|
|
6864
|
+
getAuxiliaryHeaderMenu(user?: CometChat$1.User, group?: CometChat$1.Group, additionalConfigurations?: any): Element[] | JSX.Element[];
|
|
6853
6865
|
/**
|
|
6854
6866
|
* Adds styled @ for every mention in the text by matching uid
|
|
6855
6867
|
*
|
|
@@ -7346,11 +7358,11 @@ declare class CometChatMentionsFormatter extends CometChatTextFormatter {
|
|
|
7346
7358
|
* It is used in AI and calling module and utils related to messages.
|
|
7347
7359
|
*/
|
|
7348
7360
|
declare abstract class DataSource {
|
|
7349
|
-
abstract getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7350
|
-
abstract getImageMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7351
|
-
abstract getVideoMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7352
|
-
abstract getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7353
|
-
abstract getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7361
|
+
abstract getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7362
|
+
abstract getImageMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7363
|
+
abstract getVideoMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7364
|
+
abstract getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7365
|
+
abstract getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7354
7366
|
abstract getBottomView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment): Element | JSX.Element | null;
|
|
7355
7367
|
abstract getStatusInfoView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipt?: boolean, datePattern?: DatePatterns): Element | JSX.Element | null;
|
|
7356
7368
|
abstract getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, otherParams: Object | undefined): Element | JSX.Element;
|
|
@@ -7363,26 +7375,25 @@ declare abstract class DataSource {
|
|
|
7363
7375
|
abstract getVideoMessageTemplate(): CometChatMessageTemplate;
|
|
7364
7376
|
abstract getAudioMessageTemplate(): CometChatMessageTemplate;
|
|
7365
7377
|
abstract getFileMessageTemplate(): CometChatMessageTemplate;
|
|
7366
|
-
abstract getGroupActionTemplate(): CometChatMessageTemplate;
|
|
7378
|
+
abstract getGroupActionTemplate(additionalConfigurations?: Object | undefined): CometChatMessageTemplate;
|
|
7367
7379
|
abstract getAllMessageTemplates(additionalConfigurations?: Object | undefined): Array<CometChatMessageTemplate>;
|
|
7368
7380
|
abstract getMessageTemplate(messageType: string, messageCategory: string): CometChatMessageTemplate | null;
|
|
7369
|
-
abstract getMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7370
|
-
abstract getCommonOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7371
|
-
abstract getAttachmentOptions(id: ComposerId): CometChatMessageComposerAction[];
|
|
7381
|
+
abstract getMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7382
|
+
abstract getCommonOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7383
|
+
abstract getAttachmentOptions(id: ComposerId, additionalConfigurations?: any): CometChatMessageComposerAction[];
|
|
7372
7384
|
abstract getAllMessageTypes(): Array<string>;
|
|
7373
|
-
abstract getAllMessageCategories(): Array<string>;
|
|
7374
|
-
abstract
|
|
7385
|
+
abstract getAllMessageCategories(additionalConfigurations?: Object | undefined): Array<string>;
|
|
7386
|
+
abstract getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): JSX.Element | undefined;
|
|
7375
7387
|
abstract getId(): string;
|
|
7376
|
-
abstract getDeleteMessageBubble(messageObject: CometChat.BaseMessage): Element | JSX.Element;
|
|
7388
|
+
abstract getDeleteMessageBubble(messageObject: CometChat.BaseMessage, text?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
|
|
7377
7389
|
abstract getGroupActionBubble(message: CometChat.BaseMessage): Element | JSX.Element;
|
|
7378
7390
|
abstract getTextMessageBubble(messageText: string, message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: Object | undefined): Element | JSX.Element;
|
|
7379
|
-
abstract getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function): Element | JSX.Element;
|
|
7380
|
-
abstract getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function): Element | JSX.Element;
|
|
7381
|
-
abstract getAudioMessageBubble(audioUrl: string, message: CometChat.MediaMessage, title?: string): Element | JSX.Element;
|
|
7382
|
-
abstract getFileMessageBubble(fileUrl: string, message: CometChat.MediaMessage, title?: string): Element | JSX.Element;
|
|
7391
|
+
abstract getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function, alignment?: MessageBubbleAlignment): Element | JSX.Element;
|
|
7392
|
+
abstract getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function, alignment?: MessageBubbleAlignment): Element | JSX.Element;
|
|
7393
|
+
abstract getAudioMessageBubble(audioUrl: string, message: CometChat.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
|
|
7394
|
+
abstract getFileMessageBubble(fileUrl: string, message: CometChat.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
|
|
7383
7395
|
abstract getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations?: additionalParams): string;
|
|
7384
|
-
abstract getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group): Element[] | JSX.Element[];
|
|
7385
|
-
abstract getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, id?: ComposerId): (CometChatMessageComposerAction | CometChatActionsView)[];
|
|
7396
|
+
abstract getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group, additionalConfigurations?: any): Element[] | JSX.Element[];
|
|
7386
7397
|
abstract getAllTextFormatters(formatterParams: additionalParams): CometChatTextFormatter[];
|
|
7387
7398
|
abstract getMentionsTextFormatter(params: Object): CometChatMentionsFormatter;
|
|
7388
7399
|
abstract getUrlTextFormatter(params: Object): CometChatUrlsFormatter;
|
|
@@ -7447,11 +7458,6 @@ declare class CometChatUIKit {
|
|
|
7447
7458
|
* @type {CallingExtension}
|
|
7448
7459
|
*/
|
|
7449
7460
|
static defaultCallingExtension: CallingExtension;
|
|
7450
|
-
/**
|
|
7451
|
-
* Default AI features included in the UI Kit.
|
|
7452
|
-
* @type {AIExtensionDataSource[]}
|
|
7453
|
-
*/
|
|
7454
|
-
static defaultAIFeatures: AIExtensionDataSource[];
|
|
7455
7461
|
/**
|
|
7456
7462
|
* Checking if the SDK is initialized.
|
|
7457
7463
|
*/
|
|
@@ -7547,11 +7553,11 @@ declare class ChatConfigurator {
|
|
|
7547
7553
|
declare abstract class DataSourceDecorator implements DataSource {
|
|
7548
7554
|
dataSource: DataSource;
|
|
7549
7555
|
constructor(dataSource: DataSource);
|
|
7550
|
-
getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7551
|
-
getImageMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7552
|
-
getVideoMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7553
|
-
getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7554
|
-
getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7556
|
+
getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7557
|
+
getImageMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7558
|
+
getVideoMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7559
|
+
getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7560
|
+
getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7555
7561
|
getStatusInfoView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipt?: boolean, datePattern?: DatePatterns): JSX.Element | Element | null;
|
|
7556
7562
|
getBottomView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment): JSX.Element | Element | null;
|
|
7557
7563
|
getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: Object | undefined): JSX.Element | Element;
|
|
@@ -7564,26 +7570,25 @@ declare abstract class DataSourceDecorator implements DataSource {
|
|
|
7564
7570
|
getVideoMessageTemplate(): CometChatMessageTemplate;
|
|
7565
7571
|
getAudioMessageTemplate(): CometChatMessageTemplate;
|
|
7566
7572
|
getFileMessageTemplate(): CometChatMessageTemplate;
|
|
7567
|
-
getGroupActionTemplate(): CometChatMessageTemplate;
|
|
7573
|
+
getGroupActionTemplate(additionalConfigurations?: Object | undefined): CometChatMessageTemplate;
|
|
7568
7574
|
getAllMessageTemplates(additionalConfigurations?: Object | undefined): CometChatMessageTemplate[];
|
|
7569
7575
|
getMessageTemplate(messageType: string, messageCategory: string): CometChatMessageTemplate | null;
|
|
7570
|
-
getMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7571
|
-
getCommonOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7572
|
-
getAttachmentOptions(id: ComposerId): CometChatMessageComposerAction[];
|
|
7576
|
+
getMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7577
|
+
getCommonOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
|
|
7578
|
+
getAttachmentOptions(id: ComposerId, additionalConfigurations?: any): CometChatMessageComposerAction[];
|
|
7573
7579
|
getAllMessageTypes(): string[];
|
|
7574
|
-
getAllMessageCategories(): string[];
|
|
7575
|
-
|
|
7580
|
+
getAllMessageCategories(additionalConfigurations?: Object | undefined): string[];
|
|
7581
|
+
getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): JSX.Element | undefined;
|
|
7576
7582
|
getId(): string;
|
|
7577
|
-
getDeleteMessageBubble(messageObject: CometChat.BaseMessage): JSX.Element | Element;
|
|
7583
|
+
getDeleteMessageBubble(messageObject: CometChat.BaseMessage, text?: string, alignment?: MessageBubbleAlignment): JSX.Element | Element;
|
|
7578
7584
|
getGroupActionBubble(message: CometChat.BaseMessage): JSX.Element | Element;
|
|
7579
7585
|
getTextMessageBubble(messageText: string, message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: Object | undefined): JSX.Element | Element;
|
|
7580
|
-
getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function): JSX.Element | Element;
|
|
7581
|
-
getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function): JSX.Element | Element;
|
|
7582
|
-
getAudioMessageBubble(audioUrl: string, message: CometChat.MediaMessage, title?: string): JSX.Element | Element;
|
|
7583
|
-
getFileMessageBubble(fileUrl: string, message: CometChat.MediaMessage, title?: string): JSX.Element | Element;
|
|
7586
|
+
getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function, alignment?: MessageBubbleAlignment): JSX.Element | Element;
|
|
7587
|
+
getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function, alignment?: MessageBubbleAlignment): JSX.Element | Element;
|
|
7588
|
+
getAudioMessageBubble(audioUrl: string, message: CometChat.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): JSX.Element | Element;
|
|
7589
|
+
getFileMessageBubble(fileUrl: string, message: CometChat.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): JSX.Element | Element;
|
|
7584
7590
|
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations?: additionalParams): string;
|
|
7585
|
-
getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group): Element[] | JSX.Element[];
|
|
7586
|
-
getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, id?: ComposerId): (CometChatMessageComposerAction | CometChatActionsView)[];
|
|
7591
|
+
getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group, additionalConfigurations?: any): Element[] | JSX.Element[];
|
|
7587
7592
|
getAllTextFormatters(formatterParams: additionalParams): CometChatTextFormatter[];
|
|
7588
7593
|
getMentionsTextFormatter(params?: Object): CometChatMentionsFormatter;
|
|
7589
7594
|
getUrlTextFormatter(params?: Object): CometChatUrlsFormatter;
|
|
@@ -7591,18 +7596,12 @@ declare abstract class DataSourceDecorator implements DataSource {
|
|
|
7591
7596
|
}
|
|
7592
7597
|
|
|
7593
7598
|
interface ListProps<T> {
|
|
7594
|
-
/**
|
|
7595
|
-
* Title of the component
|
|
7596
|
-
*
|
|
7597
|
-
* @defaultValue `""`
|
|
7598
|
-
*/
|
|
7599
|
-
title?: string;
|
|
7600
7599
|
/**
|
|
7601
7600
|
* Menu view of the component
|
|
7602
7601
|
*
|
|
7603
7602
|
* @defaultValue `""`
|
|
7604
7603
|
*/
|
|
7605
|
-
|
|
7604
|
+
headerView?: JSX$1.Element;
|
|
7606
7605
|
/**
|
|
7607
7606
|
* Alignment of the `title` text
|
|
7608
7607
|
*
|
|
@@ -7645,7 +7644,7 @@ interface ListProps<T> {
|
|
|
7645
7644
|
/**
|
|
7646
7645
|
* Custom list item view to be rendered for each object in the `list` prop
|
|
7647
7646
|
*/
|
|
7648
|
-
|
|
7647
|
+
itemView: (item: T, itemIndex: number) => JSX$1.Element;
|
|
7649
7648
|
/**
|
|
7650
7649
|
* Function to call when the scrollbar is at the top-most position of the scrollable list
|
|
7651
7650
|
*/
|
|
@@ -7670,14 +7669,14 @@ interface ListProps<T> {
|
|
|
7670
7669
|
* @remarks
|
|
7671
7670
|
* This property will be used to extract the section header character from each object in the `list` prop
|
|
7672
7671
|
*/
|
|
7673
|
-
sectionHeaderKey?: keyof T;
|
|
7672
|
+
sectionHeaderKey?: keyof T | string;
|
|
7674
7673
|
/**
|
|
7675
7674
|
* Property on each object in the `list` prop
|
|
7676
7675
|
*
|
|
7677
7676
|
* @remarks
|
|
7678
7677
|
* This property will be used to extract the key value from each object in the `list` prop. The extracted key value is set as a `key` of a React element
|
|
7679
7678
|
*/
|
|
7680
|
-
listItemKey?: keyof T;
|
|
7679
|
+
listItemKey?: keyof T | string;
|
|
7681
7680
|
/**
|
|
7682
7681
|
* Fetch state of the component
|
|
7683
7682
|
*/
|
|
@@ -7702,7 +7701,7 @@ interface ListProps<T> {
|
|
|
7702
7701
|
/**
|
|
7703
7702
|
* Custom view for the error state of the component
|
|
7704
7703
|
*/
|
|
7705
|
-
|
|
7704
|
+
errorView?: JSX$1.Element;
|
|
7706
7705
|
/**
|
|
7707
7706
|
* Text to display in the default error view
|
|
7708
7707
|
*
|
|
@@ -7712,7 +7711,7 @@ interface ListProps<T> {
|
|
|
7712
7711
|
/**
|
|
7713
7712
|
* Custom view for the empty state of the component
|
|
7714
7713
|
*/
|
|
7715
|
-
|
|
7714
|
+
emptyView?: JSX$1.Element;
|
|
7716
7715
|
/**
|
|
7717
7716
|
* Text to display in the default empty view
|
|
7718
7717
|
*
|
|
@@ -7730,6 +7729,12 @@ interface ListProps<T> {
|
|
|
7730
7729
|
* Function to call whenever the component encounters an error
|
|
7731
7730
|
*/
|
|
7732
7731
|
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
7732
|
+
/**
|
|
7733
|
+
* Title of the component
|
|
7734
|
+
*
|
|
7735
|
+
* @defaultValue `""`
|
|
7736
|
+
*/
|
|
7737
|
+
title?: string;
|
|
7733
7738
|
}
|
|
7734
7739
|
/**
|
|
7735
7740
|
* Renders a list component that can display a title, search bar,
|
|
@@ -7867,7 +7872,7 @@ declare class CollaborativeDocumentExtensionDecorator extends DataSourceDecorato
|
|
|
7867
7872
|
* @returns {string[]} An array of message categories.
|
|
7868
7873
|
* @override
|
|
7869
7874
|
*/
|
|
7870
|
-
getAllMessageCategories(): string[];
|
|
7875
|
+
getAllMessageCategories(additionalConfigurations?: Object | undefined): string[];
|
|
7871
7876
|
/**
|
|
7872
7877
|
* Checks if a message template with the specified type already exists.
|
|
7873
7878
|
*
|
|
@@ -7896,7 +7901,7 @@ declare class CollaborativeDocumentExtensionDecorator extends DataSourceDecorato
|
|
|
7896
7901
|
* @param {CometChat.CustomMessage} documentMessage - The document message to display.
|
|
7897
7902
|
* @returns {JSX.Element} The document content view component.
|
|
7898
7903
|
*/
|
|
7899
|
-
getDocumentContentView(documentMessage: CometChat.CustomMessage): react_jsx_runtime.JSX.Element;
|
|
7904
|
+
getDocumentContentView(documentMessage: CometChat.CustomMessage, alignment?: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
|
|
7900
7905
|
/**
|
|
7901
7906
|
* Launches the collaborative document in a new fullscreen window.
|
|
7902
7907
|
*
|
|
@@ -7916,7 +7921,7 @@ declare class CollaborativeDocumentExtensionDecorator extends DataSourceDecorato
|
|
|
7916
7921
|
* @param {any} id - The identifier object containing user or group information.
|
|
7917
7922
|
* @returns {CometChatMessageComposerAction[]} The list of attachment options including the new document action.
|
|
7918
7923
|
*/
|
|
7919
|
-
getAttachmentOptions(id: any): CometChatMessageComposerAction[];
|
|
7924
|
+
getAttachmentOptions(id: any, additionalConfigurations?: any): CometChatMessageComposerAction[];
|
|
7920
7925
|
/**
|
|
7921
7926
|
* Retrieves the last message from a conversation, checking if it's a collaborative document.
|
|
7922
7927
|
*
|
|
@@ -8027,7 +8032,7 @@ declare class CollaborativeWhiteBoardExtensionDecorator extends DataSourceDecora
|
|
|
8027
8032
|
* Gets the unique identifier for the collaborative whiteboard extension.
|
|
8028
8033
|
* @returns {string} The extension ID.
|
|
8029
8034
|
*/
|
|
8030
|
-
getAllMessageCategories(): string[];
|
|
8035
|
+
getAllMessageCategories(additionalConfigurations?: Object | undefined): string[];
|
|
8031
8036
|
/**
|
|
8032
8037
|
* Checks if a message template of a given type exists.
|
|
8033
8038
|
* @param {CometChatMessageTemplate[]} template - Array of message templates.
|
|
@@ -8051,7 +8056,7 @@ declare class CollaborativeWhiteBoardExtensionDecorator extends DataSourceDecora
|
|
|
8051
8056
|
* @param {CometChat.CustomMessage} whiteboardMessage - The whiteboard message.
|
|
8052
8057
|
* @returns {JSX.Element} The content view for the whiteboard message.
|
|
8053
8058
|
*/
|
|
8054
|
-
getWhiteboardContentView(whiteboardMessage: CometChat.CustomMessage): react_jsx_runtime.JSX.Element;
|
|
8059
|
+
getWhiteboardContentView(whiteboardMessage: CometChat.CustomMessage, alignment?: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
|
|
8055
8060
|
/**
|
|
8056
8061
|
* Opens the collaborative whiteboard document in a new fullscreen window.
|
|
8057
8062
|
* @param {string} whiteboardURL - The URL of the whiteboard document.
|
|
@@ -8070,7 +8075,7 @@ declare class CollaborativeWhiteBoardExtensionDecorator extends DataSourceDecora
|
|
|
8070
8075
|
* @param {any} id - The ID object containing user or group information.
|
|
8071
8076
|
* @returns {CometChatMessageComposerAction[]} An array of message composer actions.
|
|
8072
8077
|
*/
|
|
8073
|
-
getAttachmentOptions(id: any): CometChatMessageComposerAction[];
|
|
8078
|
+
getAttachmentOptions(id: any, additionalConfigurations?: any): CometChatMessageComposerAction[];
|
|
8074
8079
|
/**
|
|
8075
8080
|
* Overrides the method to get the last message from a conversation.
|
|
8076
8081
|
* Checks if the last message is related to the collaborative whiteboard extension
|
|
@@ -8218,7 +8223,9 @@ declare class MessageTranslationExtensionDecorator extends DataSourceDecorator {
|
|
|
8218
8223
|
* @param {CometChat.Group} [group] - Optional group associated with the message.
|
|
8219
8224
|
* @returns {(CometChatActionsIcon | CometChatActionsView)[]} The array of action options for the message.
|
|
8220
8225
|
*/
|
|
8221
|
-
getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group
|
|
8226
|
+
getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: {
|
|
8227
|
+
hideTranslateMessageOption: boolean;
|
|
8228
|
+
}): (CometChatActionsIcon | CometChatActionsView)[];
|
|
8222
8229
|
/**
|
|
8223
8230
|
* Retrieves the content view for a text message, including translated content if available.
|
|
8224
8231
|
*
|
|
@@ -8307,7 +8314,7 @@ declare class PollsExtensionDecorator extends DataSourceDecorator {
|
|
|
8307
8314
|
* Retrieves all message categories, including the custom message category if not already present.
|
|
8308
8315
|
* @returns An array of message categories.
|
|
8309
8316
|
*/
|
|
8310
|
-
getAllMessageCategories(): string[];
|
|
8317
|
+
getAllMessageCategories(additionalConfigurations?: Object | undefined): string[];
|
|
8311
8318
|
/**
|
|
8312
8319
|
* Checks if a template of a specific type exists.
|
|
8313
8320
|
* @param template - The array of message templates.
|
|
@@ -8334,7 +8341,7 @@ declare class PollsExtensionDecorator extends DataSourceDecorator {
|
|
|
8334
8341
|
* @param _theme - The theme to apply.
|
|
8335
8342
|
* @returns The content view for the poll message.
|
|
8336
8343
|
*/
|
|
8337
|
-
getPollsContentView(message: CometChat.CustomMessage): react_jsx_runtime.JSX.Element;
|
|
8344
|
+
getPollsContentView(message: CometChat.CustomMessage, alignment?: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
|
|
8338
8345
|
/**
|
|
8339
8346
|
* Retrieves specific data from a poll message.
|
|
8340
8347
|
* @param message - The poll message.
|
|
@@ -8348,7 +8355,7 @@ declare class PollsExtensionDecorator extends DataSourceDecorator {
|
|
|
8348
8355
|
* @param id - The ID for the attachment options.
|
|
8349
8356
|
* @returns An array of message composer actions.
|
|
8350
8357
|
*/
|
|
8351
|
-
getAttachmentOptions(id: any): CometChatMessageComposerAction[];
|
|
8358
|
+
getAttachmentOptions(id: any, additionalConfigurations?: any): CometChatMessageComposerAction[];
|
|
8352
8359
|
/**
|
|
8353
8360
|
* Handles the click event for the polls button in the message composer.
|
|
8354
8361
|
* Opens the poll creation modal with pre-defined styles.
|
|
@@ -8454,7 +8461,7 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
|
|
|
8454
8461
|
* @param group - Optional group object.
|
|
8455
8462
|
* @returns An array of auxiliary options.
|
|
8456
8463
|
*/
|
|
8457
|
-
|
|
8464
|
+
getStickerButton(id: ComposerId, user?: CometChat$1.User, group?: CometChat$1.Group): react_jsx_runtime.JSX.Element;
|
|
8458
8465
|
/**
|
|
8459
8466
|
* Creates the sticker auxiliary button component.
|
|
8460
8467
|
* @param id - A map containing relevant IDs.
|
|
@@ -8498,7 +8505,7 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
|
|
|
8498
8505
|
* Retrieves all message categories, including custom categories.
|
|
8499
8506
|
* @returns An array of message categories.
|
|
8500
8507
|
*/
|
|
8501
|
-
getAllMessageCategories(): string[];
|
|
8508
|
+
getAllMessageCategories(additionalConfigurations?: Object | undefined): string[];
|
|
8502
8509
|
/**
|
|
8503
8510
|
* Retrieves all message types, including sticker types.
|
|
8504
8511
|
* @returns An array of message types.
|
|
@@ -8587,7 +8594,7 @@ declare class CallingExtensionDecorator extends DataSourceDecorator {
|
|
|
8587
8594
|
getLoggedInUser(): Promise<void>;
|
|
8588
8595
|
getAllMessageTypes(): string[];
|
|
8589
8596
|
getId(): string;
|
|
8590
|
-
getAllMessageCategories(): string[];
|
|
8597
|
+
getAllMessageCategories(additionalConfigurations?: Object | undefined): string[];
|
|
8591
8598
|
checkIfTemplateTypeExist(template: CometChatMessageTemplate[], type: string): boolean;
|
|
8592
8599
|
checkIfTemplateCategoryExist(template: CometChatMessageTemplate[], category: string): boolean;
|
|
8593
8600
|
getAllMessageTemplates(additionalConfigurations?: any): CometChatMessageTemplate[];
|
|
@@ -8601,63 +8608,85 @@ declare class CallingExtensionDecorator extends DataSourceDecorator {
|
|
|
8601
8608
|
getDefaultAudioCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
|
|
8602
8609
|
getDefaultVideoCallMessageBubble(_message: CometChat.Call, _alignment: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
|
|
8603
8610
|
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalParams?: any): string;
|
|
8604
|
-
getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group): any[];
|
|
8611
|
+
getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group, additionalConfigurations?: any): any[];
|
|
8605
8612
|
}
|
|
8606
8613
|
|
|
8607
8614
|
interface IncomingCallProps {
|
|
8608
8615
|
/**
|
|
8609
|
-
* CometChat call object
|
|
8616
|
+
* The CometChat call object used to initialize and display the incoming call component.
|
|
8610
8617
|
*/
|
|
8611
8618
|
call?: any;
|
|
8612
8619
|
/**
|
|
8613
|
-
*
|
|
8620
|
+
* A builder function for configuring or updating call settings dynamically.
|
|
8614
8621
|
*
|
|
8615
|
-
* @
|
|
8622
|
+
* @param call - The current CometChat call object.
|
|
8623
|
+
* @returns An instance of CallSettingsBuilder.
|
|
8624
|
+
*/
|
|
8625
|
+
callSettingsBuilder?: (call: CometChat.Call) => typeof CometChatUIKitCalls.CallSettingsBuilder;
|
|
8626
|
+
/**
|
|
8627
|
+
* Disables the sound for incoming calls.
|
|
8628
|
+
* @defaultValue false
|
|
8616
8629
|
*/
|
|
8617
8630
|
disableSoundForCalls?: boolean;
|
|
8618
8631
|
/**
|
|
8619
|
-
*
|
|
8620
|
-
*
|
|
8621
|
-
* @example customSoundForCalls='Your Custom Sound For Calls'
|
|
8632
|
+
* Specifies a custom sound to play for incoming calls.
|
|
8622
8633
|
*/
|
|
8623
8634
|
customSoundForCalls?: string;
|
|
8624
8635
|
/**
|
|
8625
|
-
*
|
|
8626
|
-
*
|
|
8636
|
+
* Callback function triggered when the accept button is clicked. Allows overriding the default behavior.
|
|
8637
|
+
*
|
|
8638
|
+
* @param call - An instance of `CometChat.Call` representing the Call.
|
|
8639
|
+
* @returns void
|
|
8640
|
+
*/
|
|
8641
|
+
onAccept?: (call: CometChat.Call) => void;
|
|
8642
|
+
/**
|
|
8643
|
+
* Callback function triggered when the decline button is clicked. Allows overriding the default behavior.
|
|
8644
|
+
*
|
|
8645
|
+
* @param call - An instance of `CometChat.Call` representing the Call.
|
|
8646
|
+
* @returns void
|
|
8627
8647
|
*/
|
|
8628
|
-
|
|
8648
|
+
onDecline?: (call: CometChat.Call) => void;
|
|
8629
8649
|
/**
|
|
8630
|
-
*
|
|
8631
|
-
*
|
|
8650
|
+
* Callback function triggered when an error occurs in the incoming call component.
|
|
8651
|
+
* @param error - An instance of `CometChat.CometChatException` representing the error.
|
|
8652
|
+
* @return void
|
|
8632
8653
|
*/
|
|
8633
|
-
|
|
8654
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
8634
8655
|
/**
|
|
8635
|
-
*
|
|
8656
|
+
* A function that renders a JSX element to display the item view.
|
|
8636
8657
|
*
|
|
8637
|
-
* @
|
|
8658
|
+
* @param call - An instance of `CometChat.Call` representing the call.
|
|
8659
|
+
* @returns A JSX element to be rendered as the item view.
|
|
8638
8660
|
*/
|
|
8639
|
-
|
|
8661
|
+
itemView?: (call: CometChat.Call) => JSX.Element;
|
|
8640
8662
|
/**
|
|
8641
|
-
*
|
|
8663
|
+
* A function that renders a JSX element to display the leading view.
|
|
8642
8664
|
*
|
|
8643
|
-
* @
|
|
8665
|
+
* @param call - An instance of `CometChat.Call` representing the call.
|
|
8666
|
+
* @returns A JSX element to be rendered as the leading view.
|
|
8644
8667
|
*/
|
|
8645
|
-
|
|
8668
|
+
leadingView?: (call: CometChat.Call) => JSX.Element;
|
|
8646
8669
|
/**
|
|
8647
|
-
*
|
|
8670
|
+
* A function that renders a JSX element to display the title view.
|
|
8671
|
+
*
|
|
8672
|
+
* @param call - An instance of `CometChat.Call` representing the call.
|
|
8673
|
+
* @returns A JSX element to be rendered as the title view.
|
|
8648
8674
|
*/
|
|
8649
|
-
|
|
8675
|
+
titleView?: (call: CometChat.Call) => JSX.Element;
|
|
8650
8676
|
/**
|
|
8651
|
-
*
|
|
8677
|
+
* A function that renders a JSX element to display the subtitle view.
|
|
8678
|
+
*
|
|
8679
|
+
* @param call - An instance of `CometChat.Call` representing the call.
|
|
8680
|
+
* @returns A JSX element to be rendered as the subtitle view.
|
|
8652
8681
|
*/
|
|
8653
|
-
|
|
8682
|
+
subtitleView?: (call: CometChat.Call) => JSX.Element;
|
|
8654
8683
|
/**
|
|
8655
|
-
*
|
|
8684
|
+
* A function that renders a JSX element to display the trailing view.
|
|
8656
8685
|
*
|
|
8657
|
-
* @param call -
|
|
8658
|
-
* @returns
|
|
8686
|
+
* @param call - An instance of `CometChat.Call` representing the call.
|
|
8687
|
+
* @returns A JSX element to be rendered as the trailing view.
|
|
8659
8688
|
*/
|
|
8660
|
-
|
|
8689
|
+
trailingView?: (call: CometChat.Call) => JSX.Element;
|
|
8661
8690
|
}
|
|
8662
8691
|
declare const CometChatIncomingCall: (props: IncomingCallProps) => react_jsx_runtime.JSX.Element;
|
|
8663
8692
|
|
|
@@ -8674,253 +8703,281 @@ declare const CometChatOngoingCall: (props: OngoingCallProps) => react_jsx_runti
|
|
|
8674
8703
|
*/
|
|
8675
8704
|
interface OutgoingCallProps {
|
|
8676
8705
|
/**
|
|
8677
|
-
*
|
|
8706
|
+
* The CometChat call object used to set up and launch the outgoing call.
|
|
8678
8707
|
*/
|
|
8679
|
-
call
|
|
8708
|
+
call?: CometChat.Call;
|
|
8680
8709
|
/**
|
|
8681
|
-
*
|
|
8682
|
-
*
|
|
8683
|
-
* @default false
|
|
8684
|
-
* @example disableSoundForCalls={false}
|
|
8710
|
+
* Disables the sound of outgoing calls.
|
|
8711
|
+
* @defaultValue false
|
|
8685
8712
|
*/
|
|
8686
8713
|
disableSoundForCalls?: boolean;
|
|
8687
8714
|
/**
|
|
8688
|
-
*
|
|
8689
|
-
*
|
|
8690
|
-
* @example customSoundForCalls='Your Custom Sound For Calls'
|
|
8715
|
+
* Specifies a custom sound to play for outgoing calls.
|
|
8691
8716
|
*/
|
|
8692
8717
|
customSoundForCalls?: string;
|
|
8693
8718
|
/**
|
|
8694
|
-
*
|
|
8719
|
+
* Callback function triggered when an error occurs in the outgoing call component.
|
|
8720
|
+
* @param error - An instance of `CometChat.CometChatException` representing the error.
|
|
8721
|
+
* @return void
|
|
8695
8722
|
*/
|
|
8696
|
-
|
|
8723
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
8697
8724
|
/**
|
|
8698
|
-
*
|
|
8725
|
+
* Callback function triggered when the cancel button is clicked in the outgoing call component.
|
|
8726
|
+
* @return void
|
|
8699
8727
|
*/
|
|
8700
|
-
|
|
8728
|
+
onCallCanceled?: Function;
|
|
8729
|
+
/**
|
|
8730
|
+
* This prop renders the custom title view for the outgoing call.
|
|
8731
|
+
* Use this to override the existing title of user name from the outgoing call.
|
|
8732
|
+
*/
|
|
8733
|
+
titleView?: JSX.Element;
|
|
8734
|
+
/**
|
|
8735
|
+
* This prop renders the custom sub title view for the outgoing call.
|
|
8736
|
+
* Use this to override the existing sub title text from the outgoing call.
|
|
8737
|
+
*/
|
|
8738
|
+
subtitleView?: JSX.Element;
|
|
8739
|
+
/**
|
|
8740
|
+
* This prop renders the custom avatar view for the outgoing call.
|
|
8741
|
+
* Use this to override the existing avatar image from the outgoing call.
|
|
8742
|
+
*/
|
|
8743
|
+
avatarView?: JSX.Element;
|
|
8701
8744
|
/**
|
|
8702
|
-
*
|
|
8745
|
+
* This prop renders the custom cancel-call button view for the outgoing call.
|
|
8746
|
+
* Use this to override the existing cancel call button view from the outgoing call.
|
|
8703
8747
|
*/
|
|
8704
|
-
|
|
8748
|
+
cancelButtonView?: JSX.Element;
|
|
8705
8749
|
}
|
|
8706
8750
|
declare const CometChatOutgoingCall: (props: OutgoingCallProps) => react_jsx_runtime.JSX.Element;
|
|
8707
8751
|
|
|
8708
8752
|
interface CallLogsProps {
|
|
8709
8753
|
/**
|
|
8710
|
-
*
|
|
8711
|
-
*
|
|
8712
|
-
* @defaultValue `localize("CALLS")`
|
|
8754
|
+
* Object representing the active call that is currently selected.
|
|
8713
8755
|
*/
|
|
8714
|
-
|
|
8756
|
+
activeCall?: any;
|
|
8715
8757
|
/**
|
|
8716
|
-
*
|
|
8758
|
+
* Allows filtering and customizing call logs using available parameters.
|
|
8759
|
+
* @defaultValue Default request builder having the limit set to 30.
|
|
8717
8760
|
*/
|
|
8718
|
-
|
|
8761
|
+
callLogRequestBuilder?: any;
|
|
8719
8762
|
/**
|
|
8720
|
-
*
|
|
8721
|
-
*
|
|
8722
|
-
* @remarks
|
|
8723
|
-
* This prop is used if `listItemView` prop is not provided
|
|
8763
|
+
* Specifies the date format for rendering dates in the call logs.
|
|
8724
8764
|
*/
|
|
8725
|
-
|
|
8765
|
+
datePattern?: DatePatterns;
|
|
8726
8766
|
/**
|
|
8727
|
-
*
|
|
8728
|
-
*
|
|
8729
|
-
* @remarks
|
|
8730
|
-
* This prop will be used if `listItemView` is not provided
|
|
8767
|
+
* Callback function triggered when a call log list item is clicked.
|
|
8768
|
+
* @returns void
|
|
8731
8769
|
*/
|
|
8732
|
-
|
|
8770
|
+
onItemClick?: (call: any) => void;
|
|
8733
8771
|
/**
|
|
8734
|
-
*
|
|
8772
|
+
* Callback function triggered when the call button in the trailing view is clicked.
|
|
8773
|
+
* @returns void
|
|
8735
8774
|
*/
|
|
8736
|
-
|
|
8775
|
+
onCallButtonClicked?: (call: any) => void;
|
|
8737
8776
|
/**
|
|
8738
|
-
*
|
|
8777
|
+
* Callback function triggered when the component encounters an error.
|
|
8778
|
+
*
|
|
8779
|
+
* @param error - An instance of CometChat.CometChatException representing the error.
|
|
8780
|
+
* @returns void
|
|
8739
8781
|
*/
|
|
8740
|
-
|
|
8782
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
8741
8783
|
/**
|
|
8742
|
-
*
|
|
8784
|
+
* A custom view to display when call logs are being loaded.
|
|
8743
8785
|
*/
|
|
8744
|
-
|
|
8786
|
+
loadingView?: JSX.Element;
|
|
8745
8787
|
/**
|
|
8746
|
-
*
|
|
8747
|
-
*
|
|
8788
|
+
* A custom view to display when no call logs are available.
|
|
8748
8789
|
*/
|
|
8749
|
-
|
|
8790
|
+
emptyView?: JSX.Element;
|
|
8750
8791
|
/**
|
|
8751
|
-
*
|
|
8752
|
-
* @defaultValue Default request builder having the limit set to 30
|
|
8792
|
+
* A custom view to display when an error occurs while fetching the call logs.
|
|
8753
8793
|
*/
|
|
8754
|
-
|
|
8794
|
+
errorView?: JSX.Element;
|
|
8755
8795
|
/**
|
|
8756
|
-
*
|
|
8796
|
+
* A function that renders a JSX element to display the item view.
|
|
8797
|
+
*
|
|
8798
|
+
* @param call - An instance of `any` representing the CallLog.
|
|
8799
|
+
* @returns A JSX element to be rendered as the item view.
|
|
8757
8800
|
*/
|
|
8758
|
-
|
|
8801
|
+
itemView?: (call: any) => JSX.Element;
|
|
8759
8802
|
/**
|
|
8760
|
-
*
|
|
8803
|
+
* A function that renders a JSX element to display the leading view.
|
|
8804
|
+
*
|
|
8805
|
+
* @param call - An instance of `any` representing the callLog.
|
|
8806
|
+
* @returns A JSX element to be rendered as the leading view.
|
|
8761
8807
|
*/
|
|
8762
|
-
|
|
8808
|
+
leadingView?: (call: any) => JSX.Element;
|
|
8763
8809
|
/**
|
|
8764
|
-
*
|
|
8810
|
+
* A function that renders a JSX element to display the title view.
|
|
8811
|
+
*
|
|
8812
|
+
* @param call - An instance of `any` representing the callLog.
|
|
8813
|
+
* @returns A JSX element to be rendered as the title view.
|
|
8765
8814
|
*/
|
|
8766
|
-
|
|
8815
|
+
titleView?: (call: any) => JSX.Element;
|
|
8767
8816
|
/**
|
|
8768
|
-
*
|
|
8817
|
+
* A function that renders a JSX element to display the subtitle view.
|
|
8769
8818
|
*
|
|
8770
|
-
* @
|
|
8771
|
-
*
|
|
8819
|
+
* @param call - An instance of `any` representing the callLog.
|
|
8820
|
+
* @returns A JSX element to be rendered as the subtitle view.
|
|
8772
8821
|
*/
|
|
8773
|
-
|
|
8822
|
+
subtitleView?: (call: any) => JSX.Element;
|
|
8823
|
+
/**
|
|
8824
|
+
* A function that renders a JSX element to display the trailing view.
|
|
8825
|
+
*
|
|
8826
|
+
* @param call - An instance of `any` representing the callLog.
|
|
8827
|
+
* @returns A JSX element to be rendered as the trailing view.
|
|
8828
|
+
*/
|
|
8829
|
+
trailingView?: (call: any) => JSX.Element;
|
|
8774
8830
|
}
|
|
8775
8831
|
declare const CometChatCallLogs: (props: CallLogsProps) => react_jsx_runtime.JSX.Element;
|
|
8776
8832
|
|
|
8777
8833
|
interface ConversationsProps {
|
|
8778
8834
|
/**
|
|
8779
|
-
*
|
|
8835
|
+
* Disables the display of message read receipts.
|
|
8836
|
+
*
|
|
8837
|
+
* @remarks If set to `true`, the receipt status of the sent message won't be displayed.
|
|
8838
|
+
* @defaultValue `false`
|
|
8780
8839
|
*/
|
|
8781
|
-
|
|
8840
|
+
hideReceipts?: boolean;
|
|
8782
8841
|
/**
|
|
8783
|
-
*
|
|
8842
|
+
* Hides the default and the custom error view passed in the `errorView` prop.
|
|
8784
8843
|
*
|
|
8785
|
-
* @defaultValue `
|
|
8844
|
+
* @defaultValue `false`
|
|
8786
8845
|
*/
|
|
8787
|
-
|
|
8846
|
+
hideError?: boolean;
|
|
8788
8847
|
/**
|
|
8789
|
-
*
|
|
8790
|
-
*
|
|
8848
|
+
* Hides the delete conversation option in the default context menu.
|
|
8849
|
+
*
|
|
8850
|
+
* @defaultValue `false`
|
|
8791
8851
|
*/
|
|
8792
|
-
|
|
8852
|
+
hideDeleteConversation?: boolean;
|
|
8793
8853
|
/**
|
|
8794
|
-
*
|
|
8854
|
+
* Hides the user's online/offline status indicator.
|
|
8855
|
+
*
|
|
8856
|
+
* @defaultValue `false`
|
|
8795
8857
|
*/
|
|
8796
|
-
|
|
8858
|
+
hideUserStatus?: boolean;
|
|
8797
8859
|
/**
|
|
8798
|
-
*
|
|
8860
|
+
* Hides the group type icon.
|
|
8861
|
+
*
|
|
8862
|
+
* @defaultValue `false`
|
|
8799
8863
|
*/
|
|
8800
|
-
|
|
8864
|
+
hideGroupType?: boolean;
|
|
8801
8865
|
/**
|
|
8802
|
-
*
|
|
8866
|
+
* A request builder to fetch conversations.
|
|
8803
8867
|
*
|
|
8804
|
-
* @
|
|
8805
|
-
* This prop is used if `listItemView` prop is not provided
|
|
8868
|
+
* @defaultValue Default request builder with the limit set to 30.
|
|
8806
8869
|
*/
|
|
8807
|
-
|
|
8870
|
+
conversationsRequestBuilder?: CometChat.ConversationsRequestBuilder;
|
|
8808
8871
|
/**
|
|
8809
|
-
*
|
|
8810
|
-
*
|
|
8811
|
-
* @remarks
|
|
8812
|
-
* This prop is used if `listItemView` prop is not provided
|
|
8872
|
+
* Specifies the conversation to highlight in the list.
|
|
8813
8873
|
*/
|
|
8814
|
-
|
|
8815
|
-
/**
|
|
8816
|
-
* Hide user presence
|
|
8817
|
-
*
|
|
8818
|
-
* @remarks
|
|
8819
|
-
* If set to true, the status indicator of the default list item view is not displayed for conversation objects related to users
|
|
8820
|
-
*
|
|
8821
|
-
* @defaultValue `false`
|
|
8822
|
-
*/
|
|
8823
|
-
disableUsersPresence?: boolean;
|
|
8874
|
+
activeConversation?: CometChat.Conversation;
|
|
8824
8875
|
/**
|
|
8825
|
-
*
|
|
8876
|
+
* Allows the user to pass custom formatters for text.
|
|
8826
8877
|
*
|
|
8827
|
-
*
|
|
8828
|
-
* This prop is used if `listItemView` prop is not provided
|
|
8878
|
+
* These formatters should be an array of `CometChatTextFormatter` instances, enabling customized text rendering and processing.
|
|
8829
8879
|
*/
|
|
8830
|
-
|
|
8880
|
+
textFormatters?: CometChatTextFormatter[];
|
|
8831
8881
|
/**
|
|
8832
|
-
*
|
|
8833
|
-
*
|
|
8834
|
-
* @remarks
|
|
8835
|
-
* This prop is used if `listItemView` prop is not provided.
|
|
8882
|
+
* Determines the selection mode for the component.
|
|
8836
8883
|
*
|
|
8837
8884
|
* @defaultValue `SelectionMode.none`
|
|
8838
8885
|
*/
|
|
8839
8886
|
selectionMode?: SelectionMode;
|
|
8840
8887
|
/**
|
|
8841
|
-
*
|
|
8842
|
-
*
|
|
8843
|
-
* @
|
|
8844
|
-
* If set to true, the receipt status of the sent message won't be displayed, and received messages won't be marked as delivered
|
|
8845
|
-
*
|
|
8846
|
-
* @defaultValue `false`
|
|
8847
|
-
*/
|
|
8848
|
-
hideReceipt?: boolean;
|
|
8849
|
-
/**
|
|
8850
|
-
* List of actions available on mouse over on the default list item component
|
|
8888
|
+
* A function that returns a list of actions available when hovering over a conversation item.
|
|
8889
|
+
* @param conversation - An instance of `CometChat.Conversation` representing the conversation.
|
|
8890
|
+
* @returns An array of `CometChatOption` objects.
|
|
8851
8891
|
*/
|
|
8852
8892
|
options?: ((conversation: CometChat.Conversation) => CometChatOption[]) | null;
|
|
8853
8893
|
/**
|
|
8854
|
-
*
|
|
8855
|
-
*
|
|
8856
|
-
* @remarks
|
|
8857
|
-
* The date component is inside the tail view of the default list item view when `selectionMode` prop is set to `SelectionMode.none`
|
|
8894
|
+
* Specifies the format for displaying dates within the component.
|
|
8858
8895
|
*/
|
|
8859
8896
|
datePattern?: DatePatterns;
|
|
8860
8897
|
/**
|
|
8861
|
-
*
|
|
8862
|
-
|
|
8863
|
-
|
|
8864
|
-
/**
|
|
8865
|
-
* Custom view for the empty state of the component
|
|
8898
|
+
* Disables sound for incoming messages.
|
|
8899
|
+
*
|
|
8900
|
+
* @defaultValue `false`
|
|
8866
8901
|
*/
|
|
8867
|
-
|
|
8902
|
+
disableSoundForMessages?: boolean;
|
|
8868
8903
|
/**
|
|
8869
|
-
* Custom
|
|
8904
|
+
* Custom audio sound for incoming messages.
|
|
8870
8905
|
*/
|
|
8871
|
-
|
|
8906
|
+
customSoundForMessages?: string;
|
|
8872
8907
|
/**
|
|
8873
|
-
*
|
|
8908
|
+
* Callback function triggered when the component encounters an error.
|
|
8874
8909
|
*
|
|
8875
|
-
* @
|
|
8876
|
-
*
|
|
8877
|
-
*
|
|
8878
|
-
* @defaultValue `false`
|
|
8910
|
+
* @param error - An instance of `CometChat.CometChatException` representing the error.
|
|
8911
|
+
* @returns void
|
|
8879
8912
|
*/
|
|
8880
|
-
|
|
8913
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
8881
8914
|
/**
|
|
8882
|
-
*
|
|
8915
|
+
* Callback function invoked when a conversation item is clicked.
|
|
8916
|
+
*
|
|
8917
|
+
* @param conversation - An instance of `CometChat.Conversation` representing the clicked conversation.
|
|
8918
|
+
* @returns void
|
|
8883
8919
|
*/
|
|
8884
8920
|
onItemClick?: (conversation: CometChat.Conversation) => void;
|
|
8885
8921
|
/**
|
|
8886
|
-
*
|
|
8922
|
+
* Callback function invoked when a conversation item is selected.
|
|
8887
8923
|
*
|
|
8888
|
-
* @
|
|
8889
|
-
*
|
|
8924
|
+
* @param conversation - An instance of `CometChat.Conversation` representing the selected conversation.
|
|
8925
|
+
* @param selected - A boolean indicating whether the item is selected.
|
|
8926
|
+
* @returns void
|
|
8927
|
+
* @remarks This prop works only if `selectionMode` is not set to `SelectionMode.none`.
|
|
8890
8928
|
*/
|
|
8891
8929
|
onSelect?: (conversation: CometChat.Conversation, selected: boolean) => void;
|
|
8892
8930
|
/**
|
|
8893
|
-
*
|
|
8894
|
-
*
|
|
8895
|
-
* @defaultValue `false`
|
|
8931
|
+
* A custom component to render in the top-right corner of the Conversations UI.
|
|
8896
8932
|
*/
|
|
8897
|
-
|
|
8933
|
+
headerView?: JSX$1.Element;
|
|
8898
8934
|
/**
|
|
8899
|
-
*
|
|
8900
|
-
*
|
|
8935
|
+
* A custom component to display during the loading state.
|
|
8901
8936
|
*/
|
|
8902
|
-
|
|
8937
|
+
loadingView?: JSX$1.Element;
|
|
8938
|
+
/**
|
|
8939
|
+
* A custom component to display when there are no conversations available.
|
|
8940
|
+
*/
|
|
8941
|
+
emptyView?: JSX$1.Element;
|
|
8903
8942
|
/**
|
|
8904
|
-
*
|
|
8943
|
+
* A custom component to display when an error occurs.
|
|
8944
|
+
*/
|
|
8945
|
+
errorView?: JSX$1.Element;
|
|
8946
|
+
/**
|
|
8947
|
+
* A custom view to render each conversation in the list.
|
|
8905
8948
|
*
|
|
8949
|
+
* @param conversation - An instance of `CometChat.Conversation` representing the conversation.
|
|
8950
|
+
* @returns A JSX element to be rendered as the conversation item.
|
|
8906
8951
|
*/
|
|
8907
|
-
|
|
8952
|
+
itemView?: (conversation: CometChat.Conversation) => JSX$1.Element;
|
|
8908
8953
|
/**
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
-
|
|
8954
|
+
* A function that renders a JSX element to display the leading view.
|
|
8955
|
+
*
|
|
8956
|
+
* @param conversation - An instance of `CometChat.Conversation` representing the conversation.
|
|
8957
|
+
* @returns A JSX element to be rendered as the leading view.
|
|
8958
|
+
*/
|
|
8959
|
+
leadingView?: (conversation: CometChat.Conversation) => JSX$1.Element;
|
|
8912
8960
|
/**
|
|
8913
|
-
*
|
|
8961
|
+
* A function that renders a JSX element to display the title view.
|
|
8962
|
+
*
|
|
8963
|
+
* @param conversation - An instance of `CometChat.Conversation` representing the conversation.
|
|
8964
|
+
* @returns A JSX element to be rendered as the title view.
|
|
8914
8965
|
*/
|
|
8915
|
-
|
|
8966
|
+
titleView?: (conversation: CometChat.Conversation) => JSX$1.Element;
|
|
8916
8967
|
/**
|
|
8917
|
-
*
|
|
8968
|
+
* A custom view to render the subtitle for each conversation.
|
|
8969
|
+
*
|
|
8970
|
+
* @param conversation - An instance of `CometChat.Conversation` representing the conversation.
|
|
8971
|
+
* @returns A JSX element to be rendered as the subtitle view.
|
|
8918
8972
|
*/
|
|
8919
|
-
|
|
8973
|
+
subtitleView?: (conversation: CometChat.Conversation) => JSX$1.Element;
|
|
8920
8974
|
/**
|
|
8921
|
-
*
|
|
8975
|
+
* A custom view to render at the end of each conversation item.
|
|
8976
|
+
*
|
|
8977
|
+
* @param conversation - An instance of `CometChat.Conversation` representing the conversation.
|
|
8978
|
+
* @returns A JSX element to be rendered as the trailing view.
|
|
8922
8979
|
*/
|
|
8923
|
-
|
|
8980
|
+
trailingView?: (conversation: CometChat.Conversation) => JSX$1.Element;
|
|
8924
8981
|
}
|
|
8925
8982
|
/**
|
|
8926
8983
|
* Renders a scrollable list of conversations that has been created in a CometChat app
|
|
@@ -8929,251 +8986,281 @@ declare function CometChatConversations(props: ConversationsProps): react_jsx_ru
|
|
|
8929
8986
|
|
|
8930
8987
|
interface GroupMembersProps {
|
|
8931
8988
|
/**
|
|
8932
|
-
*
|
|
8989
|
+
* Hides the default search bar.
|
|
8990
|
+
*
|
|
8991
|
+
* @defaultValue `false`
|
|
8933
8992
|
*/
|
|
8934
|
-
|
|
8993
|
+
hideSearch?: boolean;
|
|
8935
8994
|
/**
|
|
8936
|
-
*
|
|
8995
|
+
* Hides the default and custom error view passed in `errorView` prop.
|
|
8937
8996
|
*
|
|
8938
|
-
* @defaultValue `
|
|
8997
|
+
* @defaultValue `false`
|
|
8939
8998
|
*/
|
|
8940
|
-
|
|
8999
|
+
hideError?: boolean;
|
|
8941
9000
|
/**
|
|
8942
|
-
*
|
|
9001
|
+
* Disables the loading state while fetching users.
|
|
8943
9002
|
*
|
|
8944
|
-
* @defaultValue `
|
|
9003
|
+
* @defaultValue `false`
|
|
8945
9004
|
*/
|
|
8946
|
-
|
|
9005
|
+
disableLoadingState?: boolean;
|
|
8947
9006
|
/**
|
|
8948
|
-
*
|
|
9007
|
+
* Hides the option to kick a member from the group.
|
|
8949
9008
|
*
|
|
8950
9009
|
* @defaultValue `false`
|
|
8951
9010
|
*/
|
|
8952
|
-
|
|
9011
|
+
hideKickMemberOption?: boolean;
|
|
8953
9012
|
/**
|
|
8954
|
-
*
|
|
9013
|
+
* Hides the option to ban a member from the group.
|
|
8955
9014
|
*
|
|
8956
|
-
* @
|
|
8957
|
-
|
|
8958
|
-
|
|
9015
|
+
* @defaultValue `false`
|
|
9016
|
+
*/
|
|
9017
|
+
hideBanMemberOption?: boolean;
|
|
9018
|
+
/**
|
|
9019
|
+
* Hides the option to change the scope of a group member.
|
|
8959
9020
|
*
|
|
8960
|
-
* @defaultValue
|
|
9021
|
+
* @defaultValue `false`
|
|
8961
9022
|
*/
|
|
8962
|
-
|
|
9023
|
+
hideScopeChangeOption?: boolean;
|
|
8963
9024
|
/**
|
|
8964
|
-
*
|
|
9025
|
+
* Hides the user's online/offline status indicator.
|
|
8965
9026
|
*
|
|
8966
|
-
* @
|
|
8967
|
-
* If the search input is not empty,
|
|
8968
|
-
* the search keyword of this request builder is set to the text in the search input
|
|
9027
|
+
* @defaultValue `false`
|
|
8969
9028
|
*/
|
|
8970
|
-
|
|
9029
|
+
hideUserStatus?: boolean;
|
|
8971
9030
|
/**
|
|
8972
|
-
*
|
|
9031
|
+
* The group for which members are being fetched.
|
|
8973
9032
|
*/
|
|
8974
9033
|
group: CometChat.Group;
|
|
8975
9034
|
/**
|
|
8976
|
-
*
|
|
9035
|
+
* Request builder to fetch group members.
|
|
9036
|
+
*
|
|
9037
|
+
* @defaultValue Default request builder having the limit set to `30`.
|
|
8977
9038
|
*/
|
|
8978
|
-
|
|
9039
|
+
groupMemberRequestBuilder?: CometChat.GroupMembersRequestBuilder;
|
|
8979
9040
|
/**
|
|
8980
|
-
*
|
|
9041
|
+
* Request builder with search parameters to fetch group members.
|
|
9042
|
+
*
|
|
9043
|
+
* @remarks If the search input is not empty, the search keyword of this request builder is set to the text in the search input.
|
|
8981
9044
|
*/
|
|
8982
|
-
|
|
9045
|
+
searchRequestBuilder?: CometChat.GroupMembersRequestBuilder;
|
|
8983
9046
|
/**
|
|
8984
|
-
*
|
|
9047
|
+
* The keyword used to filter the group members list.
|
|
9048
|
+
*
|
|
9049
|
+
* @defaultValue `""`
|
|
8985
9050
|
*/
|
|
8986
|
-
|
|
9051
|
+
searchKeyword?: string;
|
|
8987
9052
|
/**
|
|
8988
|
-
*
|
|
9053
|
+
* A function that returns a list of actions available when hovering over a group member item.
|
|
9054
|
+
*
|
|
9055
|
+
* @param group - The group instance.
|
|
9056
|
+
* @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
|
|
9057
|
+
* @returns An array of `CometChatOption`.
|
|
8989
9058
|
*/
|
|
8990
|
-
|
|
9059
|
+
options?: (group: CometChat.Group, groupMember: CometChat.GroupMember) => CometChatOption[];
|
|
8991
9060
|
/**
|
|
8992
|
-
*
|
|
8993
|
-
*
|
|
8994
|
-
* @remarks
|
|
8995
|
-
* If set to true, hides the default and the custom error view
|
|
9061
|
+
* Selection mode to use for the default list item view.
|
|
8996
9062
|
*
|
|
8997
|
-
* @defaultValue `
|
|
9063
|
+
* @defaultValue `SelectionMode.none`
|
|
8998
9064
|
*/
|
|
8999
|
-
|
|
9065
|
+
selectionMode?: SelectionMode;
|
|
9000
9066
|
/**
|
|
9001
|
-
*
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9067
|
+
* Callback function invoked when an error occurs in the component.
|
|
9068
|
+
*/
|
|
9069
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
9070
|
+
/**
|
|
9071
|
+
* Callback function invoked when a group member item is clicked.
|
|
9005
9072
|
*
|
|
9006
|
-
* @
|
|
9073
|
+
* @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
|
|
9074
|
+
* returns void
|
|
9007
9075
|
*/
|
|
9008
|
-
|
|
9076
|
+
onItemClick?: (groupMember: CometChat.GroupMember) => void;
|
|
9009
9077
|
/**
|
|
9010
|
-
*
|
|
9078
|
+
* Callback function invoked when a group member is selected or deselected.
|
|
9011
9079
|
*
|
|
9012
|
-
* @
|
|
9013
|
-
*
|
|
9080
|
+
* @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
|
|
9081
|
+
* @param selected - Boolean value to identify if the member is selected or removed.
|
|
9082
|
+
* @returns void
|
|
9014
9083
|
*/
|
|
9015
|
-
|
|
9084
|
+
onSelect?: (groupMember: CometChat.GroupMember, selected: boolean) => void;
|
|
9016
9085
|
/**
|
|
9017
|
-
*
|
|
9086
|
+
* Callback function invoked when the group members list is empty.
|
|
9087
|
+
* @returns void
|
|
9018
9088
|
*/
|
|
9019
|
-
|
|
9089
|
+
onEmpty?: () => void;
|
|
9020
9090
|
/**
|
|
9021
|
-
*
|
|
9091
|
+
* A custom component to render in the top-right corner of the group members list.
|
|
9022
9092
|
*/
|
|
9023
|
-
|
|
9093
|
+
headerView?: JSX$1.Element;
|
|
9024
9094
|
/**
|
|
9025
|
-
*
|
|
9026
|
-
*
|
|
9027
|
-
* @remarks
|
|
9028
|
-
* This prop will be used if `listItemView` is not provided
|
|
9095
|
+
* A custom view to display during the loading state.
|
|
9029
9096
|
*/
|
|
9030
|
-
|
|
9097
|
+
loadingView?: JSX$1.Element;
|
|
9031
9098
|
/**
|
|
9032
|
-
*
|
|
9033
|
-
*
|
|
9034
|
-
* @remarks
|
|
9035
|
-
* This prop is used if `listItemView` prop is not provided
|
|
9036
|
-
*
|
|
9037
|
-
* @defaultValue `SelectionMode.none`
|
|
9099
|
+
* Custom view for the error state of the component.
|
|
9038
9100
|
*/
|
|
9039
|
-
|
|
9101
|
+
errorView?: JSX$1.Element;
|
|
9040
9102
|
/**
|
|
9041
|
-
*
|
|
9103
|
+
* A custom view to display when no group members are available in the list.
|
|
9042
9104
|
*/
|
|
9043
|
-
|
|
9105
|
+
emptyView?: JSX$1.Element;
|
|
9044
9106
|
/**
|
|
9045
|
-
*
|
|
9107
|
+
* A custom view to render for each group member in the fetched list.
|
|
9046
9108
|
*
|
|
9047
|
-
* @
|
|
9048
|
-
*
|
|
9109
|
+
* @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
|
|
9110
|
+
* @returns A JSX element to be rendered as the group member item.
|
|
9049
9111
|
*/
|
|
9050
|
-
|
|
9112
|
+
itemView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
|
|
9051
9113
|
/**
|
|
9052
|
-
*
|
|
9114
|
+
* A function that renders a JSX element to display the leading view.
|
|
9053
9115
|
*
|
|
9054
|
-
* @
|
|
9116
|
+
* @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
|
|
9117
|
+
* @returns A JSX element to be rendered as the leading view.
|
|
9055
9118
|
*/
|
|
9056
|
-
|
|
9119
|
+
leadingView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
|
|
9057
9120
|
/**
|
|
9058
|
-
*
|
|
9121
|
+
* A function that renders a JSX element to display the title view.
|
|
9122
|
+
*
|
|
9123
|
+
* @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
|
|
9124
|
+
* @returns A JSX element to be rendered as the title view.
|
|
9059
9125
|
*/
|
|
9060
|
-
|
|
9126
|
+
titleView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
|
|
9061
9127
|
/**
|
|
9062
|
-
*
|
|
9063
|
-
*
|
|
9128
|
+
* A function that renders a JSX element to display the subtitle view.
|
|
9129
|
+
*
|
|
9130
|
+
* @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
|
|
9131
|
+
* @returns A JSX element to be rendered as the subtitle view.
|
|
9064
9132
|
*/
|
|
9065
|
-
|
|
9133
|
+
subtitleView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
|
|
9134
|
+
/**
|
|
9135
|
+
* A function that renders a JSX element to display the trailing view.
|
|
9136
|
+
*
|
|
9137
|
+
* @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
|
|
9138
|
+
* @returns A JSX element to be rendered as the trailing view.
|
|
9139
|
+
*/
|
|
9140
|
+
trailingView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
|
|
9066
9141
|
}
|
|
9067
9142
|
declare function CometChatGroupMembers(props: GroupMembersProps): react_jsx_runtime.JSX.Element;
|
|
9068
9143
|
|
|
9069
9144
|
interface GroupsProps {
|
|
9070
9145
|
/**
|
|
9071
|
-
*
|
|
9072
|
-
*/
|
|
9073
|
-
menu?: JSX$1.Element;
|
|
9074
|
-
/**
|
|
9075
|
-
* Title of the component
|
|
9076
|
-
*
|
|
9077
|
-
* @defaultValue `localize("GROUPS")`
|
|
9078
|
-
*/
|
|
9079
|
-
title?: string;
|
|
9080
|
-
/**
|
|
9081
|
-
* Text to be displayed when the search input has no value
|
|
9082
|
-
*
|
|
9083
|
-
* @defaultValue `localize("SEARCH")`
|
|
9084
|
-
*/
|
|
9085
|
-
searchPlaceholderText?: string;
|
|
9086
|
-
/**
|
|
9087
|
-
* Hide the search bar
|
|
9146
|
+
* Hides the default search bar.
|
|
9088
9147
|
*
|
|
9089
9148
|
* @defaultValue `false`
|
|
9090
9149
|
*/
|
|
9091
9150
|
hideSearch?: boolean;
|
|
9092
9151
|
/**
|
|
9093
|
-
*
|
|
9152
|
+
* Hides the default and custom error view passed in `errorView` prop.
|
|
9094
9153
|
*
|
|
9095
|
-
* @
|
|
9096
|
-
* If the search input is not empty and the `searchRequestBuilder` prop is not provided,
|
|
9097
|
-
* the search keyword of this request builder is set to the text in the search input
|
|
9098
|
-
*
|
|
9099
|
-
* @defaultValue Default request builder having the limit set to 30
|
|
9154
|
+
* @defaultValue `false`
|
|
9100
9155
|
*/
|
|
9101
|
-
|
|
9156
|
+
hideError?: boolean;
|
|
9102
9157
|
/**
|
|
9103
|
-
*
|
|
9158
|
+
* Hides the group type icon.
|
|
9104
9159
|
*
|
|
9105
|
-
* @
|
|
9106
|
-
* If the search input is not empty,
|
|
9107
|
-
* the search keyword of this request builder is set to the text in the search input
|
|
9160
|
+
* @defaultValue `false`
|
|
9108
9161
|
*/
|
|
9109
|
-
|
|
9162
|
+
hideGroupType?: boolean;
|
|
9110
9163
|
/**
|
|
9111
|
-
*
|
|
9164
|
+
* The group to highlight in the list.
|
|
9112
9165
|
*/
|
|
9113
|
-
|
|
9166
|
+
activeGroup?: CometChat.Group;
|
|
9114
9167
|
/**
|
|
9115
|
-
*
|
|
9168
|
+
* A request builder for fetching groups.
|
|
9169
|
+
*
|
|
9170
|
+
* @defaultValue Default request builder having the limit set to `30`.
|
|
9116
9171
|
*/
|
|
9117
|
-
|
|
9172
|
+
groupsRequestBuilder?: CometChat.GroupsRequestBuilder;
|
|
9118
9173
|
/**
|
|
9119
|
-
*
|
|
9174
|
+
* A request builder configured with search parameters to fetch groups.
|
|
9120
9175
|
*
|
|
9121
|
-
* @remarks
|
|
9122
|
-
* This prop is used if `listItemView` prop is not provided
|
|
9176
|
+
* @remarks If the search input is not empty, the search keyword of this request builder is set to the text in the search input.
|
|
9123
9177
|
*/
|
|
9124
|
-
|
|
9178
|
+
searchRequestBuilder?: CometChat.GroupsRequestBuilder;
|
|
9125
9179
|
/**
|
|
9126
|
-
*
|
|
9180
|
+
* A function that returns a list of actions available when hovering over a group item.
|
|
9181
|
+
* @param group - An instance of `CometChat.Group` representing the group.
|
|
9182
|
+
* @returns An array of `CometChatOption` objects.
|
|
9127
9183
|
*/
|
|
9128
9184
|
options?: (group: CometChat.Group) => CometChatOption[];
|
|
9129
9185
|
/**
|
|
9130
|
-
* Selection mode to use for the default
|
|
9131
|
-
*
|
|
9132
|
-
* @remarks
|
|
9133
|
-
* This prop is used if `listItemView` prop is not provided.
|
|
9186
|
+
* Selection mode to use for the default trailing view.
|
|
9134
9187
|
*
|
|
9135
9188
|
* @defaultValue `SelectionMode.none`
|
|
9136
9189
|
*/
|
|
9137
9190
|
selectionMode?: SelectionMode;
|
|
9138
9191
|
/**
|
|
9139
|
-
*
|
|
9192
|
+
* Callback function invoked when an error occurs in the component.
|
|
9193
|
+
* @param error - An instance of `CometChat.CometChatException` representing the error that occurred.
|
|
9194
|
+
* @returns void
|
|
9195
|
+
*/
|
|
9196
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
9197
|
+
/**
|
|
9198
|
+
* Callback function invoked when a group is selected.
|
|
9140
9199
|
*
|
|
9141
|
-
* @remarks
|
|
9142
|
-
*
|
|
9200
|
+
* @remarks This prop works only if `selectionMode` is not set to `SelectionMode.none`.
|
|
9201
|
+
* @param group - An instance of `CometChat.Group` representing the selected group.
|
|
9202
|
+
* @param selected - A boolean indicating whether the group is selected.
|
|
9203
|
+
* @returns void
|
|
9143
9204
|
*/
|
|
9144
9205
|
onSelect?: (group: CometChat.Group, selected: boolean) => void;
|
|
9145
9206
|
/**
|
|
9146
|
-
*
|
|
9207
|
+
* Callback function invoked when a group item is clicked.
|
|
9208
|
+
*
|
|
9209
|
+
* @param group - An instance of `CometChat.Group` representing the clicked group.
|
|
9210
|
+
* @returns void
|
|
9147
9211
|
*/
|
|
9148
9212
|
onItemClick?: (group: CometChat.Group) => void;
|
|
9149
9213
|
/**
|
|
9150
|
-
*
|
|
9151
|
-
*
|
|
9152
|
-
* @remarks
|
|
9153
|
-
* This prop is used if `listItemView` prop is not provided
|
|
9214
|
+
* A custom component to render in the top-right corner of the groups list.
|
|
9154
9215
|
*/
|
|
9155
|
-
|
|
9216
|
+
headerView?: JSX$1.Element;
|
|
9156
9217
|
/**
|
|
9157
|
-
*
|
|
9218
|
+
* A custom view to display during the loading state.
|
|
9158
9219
|
*/
|
|
9159
|
-
|
|
9220
|
+
loadingView?: JSX$1.Element;
|
|
9160
9221
|
/**
|
|
9161
|
-
* Custom view for the empty state of the component
|
|
9222
|
+
* Custom view for the empty state of the component.
|
|
9162
9223
|
*/
|
|
9163
|
-
|
|
9224
|
+
emptyView?: JSX$1.Element;
|
|
9164
9225
|
/**
|
|
9165
|
-
*
|
|
9226
|
+
* A custom view to display when an error occurs.
|
|
9166
9227
|
*/
|
|
9167
|
-
|
|
9228
|
+
errorView?: JSX$1.Element;
|
|
9168
9229
|
/**
|
|
9169
|
-
*
|
|
9230
|
+
* A custom view to render for each group in the fetched list.
|
|
9170
9231
|
*
|
|
9171
|
-
* @
|
|
9172
|
-
*
|
|
9232
|
+
* @param group - An instance of `CometChat.Group` representing the group.
|
|
9233
|
+
* @returns A JSX element to be rendered as the group item.
|
|
9234
|
+
*/
|
|
9235
|
+
itemView?: (group: CometChat.Group) => JSX$1.Element;
|
|
9236
|
+
/**
|
|
9237
|
+
* A function that renders a JSX element to display the leading view.
|
|
9173
9238
|
*
|
|
9174
|
-
* @
|
|
9239
|
+
* @param group - An instance of `CometChat.Group` representing the group.
|
|
9240
|
+
* @returns A JSX element to be rendered as the leading view.
|
|
9175
9241
|
*/
|
|
9176
|
-
|
|
9242
|
+
leadingView?: (group: CometChat.Group) => JSX$1.Element;
|
|
9243
|
+
/**
|
|
9244
|
+
* A function that renders a JSX element to display the title view.
|
|
9245
|
+
*
|
|
9246
|
+
* @param group - An instance of `CometChat.Group` representing the group.
|
|
9247
|
+
* @returns A JSX element to be rendered as the title view.
|
|
9248
|
+
*/
|
|
9249
|
+
titleView?: (group: CometChat.Group) => JSX$1.Element;
|
|
9250
|
+
/**
|
|
9251
|
+
* Custom subtitle view to be rendered for each group in the fetched list.
|
|
9252
|
+
*
|
|
9253
|
+
* @param group - An instance of `CometChat.Group` representing the group.
|
|
9254
|
+
* @returns A JSX element to be rendered as the subtitle view.
|
|
9255
|
+
*/
|
|
9256
|
+
subtitleView?: (group: CometChat.Group) => JSX$1.Element;
|
|
9257
|
+
/**
|
|
9258
|
+
* A function that renders a JSX element to display the trailing view.
|
|
9259
|
+
*
|
|
9260
|
+
* @param group - An instance of `CometChat.Group` representing the group.
|
|
9261
|
+
* @returns A JSX element to be rendered as the trailing view.
|
|
9262
|
+
*/
|
|
9263
|
+
trailingView?: (group: CometChat.Group) => JSX$1.Element;
|
|
9177
9264
|
}
|
|
9178
9265
|
/**
|
|
9179
9266
|
* Renders a scrollable list of groups that has been created in a CometChat app
|
|
@@ -9207,91 +9294,149 @@ declare const CometChatMessageBubble: (props: MessageBubbleProps) => react_jsx_r
|
|
|
9207
9294
|
|
|
9208
9295
|
interface MessageComposerProps {
|
|
9209
9296
|
/**
|
|
9210
|
-
*
|
|
9297
|
+
* The initial text pre-filled in the message input when the component mounts.
|
|
9298
|
+
* @defaultValue ""
|
|
9211
9299
|
*/
|
|
9212
|
-
|
|
9300
|
+
initialComposerText?: string;
|
|
9213
9301
|
/**
|
|
9214
|
-
*
|
|
9215
|
-
*
|
|
9216
|
-
* @remarks
|
|
9217
|
-
* This prop is used if `user` prop is not provided
|
|
9302
|
+
* Disables the typing indicator for the current message composer.
|
|
9303
|
+
* @defaultValue `false`
|
|
9218
9304
|
*/
|
|
9219
|
-
|
|
9305
|
+
disableTypingEvents?: boolean;
|
|
9220
9306
|
/**
|
|
9221
|
-
*
|
|
9222
|
-
*
|
|
9223
|
-
* @remarks
|
|
9224
|
-
* This prop is used only when this component mounts
|
|
9225
|
-
*
|
|
9226
|
-
* @defaultValue `""`
|
|
9307
|
+
* Disables the mentions functionality in the message composer.
|
|
9308
|
+
* @defaultValue `false`
|
|
9227
9309
|
*/
|
|
9228
|
-
|
|
9310
|
+
disableMentions?: boolean;
|
|
9229
9311
|
/**
|
|
9230
|
-
*
|
|
9312
|
+
* Hides the image attachment option in the message composer.
|
|
9313
|
+
* @defaultValue `false`
|
|
9231
9314
|
*/
|
|
9232
|
-
|
|
9315
|
+
hideImageAttachmentOption?: boolean;
|
|
9233
9316
|
/**
|
|
9234
|
-
*
|
|
9317
|
+
* Hides the video attachment option in the message composer.
|
|
9318
|
+
* @defaultValue `false`
|
|
9235
9319
|
*/
|
|
9236
|
-
|
|
9320
|
+
hideVideoAttachmentOption?: boolean;
|
|
9237
9321
|
/**
|
|
9238
|
-
*
|
|
9322
|
+
* Hides the audio attachment option in the message composer.
|
|
9323
|
+
* @defaultValue `false`
|
|
9239
9324
|
*/
|
|
9240
|
-
|
|
9325
|
+
hideAudioAttachmentOption?: boolean;
|
|
9241
9326
|
/**
|
|
9242
|
-
*
|
|
9327
|
+
* Hides the file attachment option in the message composer.
|
|
9328
|
+
* @defaultValue `false`
|
|
9243
9329
|
*/
|
|
9244
|
-
|
|
9330
|
+
hideFileAttachmentOption?: boolean;
|
|
9245
9331
|
/**
|
|
9246
|
-
*
|
|
9332
|
+
* Hides the polls option in the message composer.
|
|
9333
|
+
* @defaultValue `false`
|
|
9247
9334
|
*/
|
|
9248
|
-
|
|
9335
|
+
hidePollsOption?: boolean;
|
|
9249
9336
|
/**
|
|
9250
|
-
*
|
|
9337
|
+
* Hides the collaborative document option in the message composer.
|
|
9338
|
+
* @defaultValue `false`
|
|
9251
9339
|
*/
|
|
9252
|
-
|
|
9340
|
+
hideCollaborativeDocumentOption?: boolean;
|
|
9253
9341
|
/**
|
|
9254
|
-
*
|
|
9342
|
+
* Hides the collaborative whiteboard option in the message composer.
|
|
9343
|
+
* @defaultValue `false`
|
|
9255
9344
|
*/
|
|
9256
|
-
|
|
9345
|
+
hideCollaborativeWhiteboardOption?: boolean;
|
|
9257
9346
|
/**
|
|
9258
|
-
*
|
|
9347
|
+
* Hides the attachment button in the message composer.
|
|
9348
|
+
* @defaultValue `false`
|
|
9349
|
+
*/
|
|
9350
|
+
hideAttachmentButton?: boolean;
|
|
9351
|
+
/**
|
|
9352
|
+
* Hides the voice recording button in the message composer.
|
|
9353
|
+
* @defaultValue `false`
|
|
9354
|
+
*/
|
|
9355
|
+
hideVoiceRecordingButton?: boolean;
|
|
9356
|
+
/**
|
|
9357
|
+
* Hides the emoji keyboard button in the message composer.
|
|
9358
|
+
* @defaultValue `false`
|
|
9359
|
+
*/
|
|
9360
|
+
hideEmojiKeyboardButton?: boolean;
|
|
9361
|
+
/**
|
|
9362
|
+
* Hides the stickers button in the message composer.
|
|
9363
|
+
* @defaultValue `false`
|
|
9364
|
+
*/
|
|
9365
|
+
hideStickersButton?: boolean;
|
|
9366
|
+
/**
|
|
9367
|
+
* Hides the send button in the message composer.
|
|
9368
|
+
* @defaultValue `false`
|
|
9369
|
+
*/
|
|
9370
|
+
hideSendButton?: boolean;
|
|
9371
|
+
/**
|
|
9372
|
+
* The user to send messages to. This prop specifies the recipient of the message.
|
|
9373
|
+
*/
|
|
9374
|
+
user?: CometChat.User;
|
|
9375
|
+
/**
|
|
9376
|
+
* The group to send messages to.
|
|
9377
|
+
* @remarks This prop is used if the `user` prop is not provided.
|
|
9378
|
+
*/
|
|
9379
|
+
group?: CometChat.Group;
|
|
9380
|
+
/**
|
|
9381
|
+
* The ID of the parent message. This is used for threading or replying to a specific message.
|
|
9259
9382
|
*/
|
|
9260
9383
|
parentMessageId?: number;
|
|
9261
9384
|
/**
|
|
9262
|
-
*
|
|
9385
|
+
* Options for default attachments, including various attachment types available in the composer.
|
|
9263
9386
|
*/
|
|
9264
|
-
|
|
9387
|
+
attachmentOptions?: CometChatMessageComposerAction[];
|
|
9265
9388
|
/**
|
|
9266
|
-
*
|
|
9389
|
+
* Array of text formatters to apply to the message text for customization and styling.
|
|
9267
9390
|
*/
|
|
9268
|
-
|
|
9391
|
+
textFormatters?: Array<CometChatTextFormatter>;
|
|
9269
9392
|
/**
|
|
9270
|
-
*
|
|
9393
|
+
* Determines the behavior of the Enter key in the composer (e.g., send message or add a new line).
|
|
9394
|
+
* @default EnterKeyBehavior.SendMessage
|
|
9395
|
+
*/
|
|
9396
|
+
enterKeyBehavior?: EnterKeyBehavior;
|
|
9397
|
+
/**
|
|
9398
|
+
* Disables sound for incoming messages.
|
|
9271
9399
|
*
|
|
9272
9400
|
* @defaultValue `false`
|
|
9273
9401
|
*/
|
|
9274
|
-
|
|
9402
|
+
disableSoundForMessage?: boolean;
|
|
9275
9403
|
/**
|
|
9276
|
-
*
|
|
9404
|
+
* Custom audio sound for incoming messages.
|
|
9277
9405
|
*/
|
|
9278
|
-
|
|
9406
|
+
customSoundForMessage?: string;
|
|
9279
9407
|
/**
|
|
9280
|
-
*
|
|
9408
|
+
* Callback function triggered when the message input text changes.
|
|
9409
|
+
*
|
|
9410
|
+
* @param text - The current text value of the message input.
|
|
9411
|
+
* @returns void
|
|
9281
9412
|
*/
|
|
9282
|
-
|
|
9413
|
+
onTextChange?: (text: string) => void;
|
|
9283
9414
|
/**
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9415
|
+
* Callback function triggered when the message composer encounters an error.
|
|
9416
|
+
*
|
|
9417
|
+
* @param error - An instance of `CometChat.CometChatException` representing the error.
|
|
9418
|
+
* @returns void
|
|
9419
|
+
*/
|
|
9420
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
9287
9421
|
/**
|
|
9288
|
-
|
|
9289
|
-
|
|
9290
|
-
|
|
9422
|
+
* Callback function triggered when the send button is clicked.
|
|
9423
|
+
*
|
|
9424
|
+
* @param message - The message that was sent.
|
|
9425
|
+
* @param previewMessageMode - Optionally, specify if the message is in preview mode.
|
|
9426
|
+
*/
|
|
9427
|
+
onSendButtonClick?: (message: CometChat.BaseMessage, previewMessageMode?: PreviewMessageMode) => void;
|
|
9291
9428
|
/**
|
|
9292
|
-
|
|
9293
|
-
|
|
9294
|
-
|
|
9429
|
+
* A custom view for the send button to customize its appearance or behavior.
|
|
9430
|
+
*/
|
|
9431
|
+
sendButtonView?: JSX$1.Element;
|
|
9432
|
+
/**
|
|
9433
|
+
* A custom view for an auxiliary button, which can be used alongside the send button.
|
|
9434
|
+
*/
|
|
9435
|
+
auxiliaryButtonView?: JSX$1.Element;
|
|
9436
|
+
/**
|
|
9437
|
+
* A custom header section displayed at the top of the message composer, often used for media previews or additional information.
|
|
9438
|
+
*/
|
|
9439
|
+
headerView?: JSX$1.Element;
|
|
9295
9440
|
}
|
|
9296
9441
|
/**
|
|
9297
9442
|
* Renders a message composer to send messages to a user or group of a CometChat App
|
|
@@ -9302,26 +9447,87 @@ declare function CometChatMessageComposer(props: MessageComposerProps): react_js
|
|
|
9302
9447
|
* Interface for the props accepted by the CometChatMessageHeader component.
|
|
9303
9448
|
*/
|
|
9304
9449
|
interface MessageHeaderProps {
|
|
9305
|
-
/**
|
|
9306
|
-
|
|
9307
|
-
|
|
9308
|
-
|
|
9309
|
-
|
|
9310
|
-
|
|
9311
|
-
|
|
9312
|
-
|
|
9313
|
-
|
|
9450
|
+
/**
|
|
9451
|
+
* Shows the conversation summary button.
|
|
9452
|
+
* @default false
|
|
9453
|
+
*/
|
|
9454
|
+
showConversationSummaryButton?: boolean;
|
|
9455
|
+
/**
|
|
9456
|
+
* Hides the back button in the header in mobile view.
|
|
9457
|
+
* @default false
|
|
9458
|
+
*/
|
|
9459
|
+
hideBackButton?: boolean;
|
|
9460
|
+
/**
|
|
9461
|
+
* Hides the video call button.
|
|
9462
|
+
* @default false
|
|
9463
|
+
*/
|
|
9464
|
+
hideVideoCallButton?: boolean;
|
|
9465
|
+
/**
|
|
9466
|
+
* Hides the voice call button.
|
|
9467
|
+
* @default false
|
|
9468
|
+
*/
|
|
9469
|
+
hideVoiceCallButton?: boolean;
|
|
9470
|
+
/**
|
|
9471
|
+
* Hides the user's online/offline status indicator.
|
|
9472
|
+
* @default false
|
|
9473
|
+
*/
|
|
9474
|
+
hideUserStatus?: boolean;
|
|
9475
|
+
/**
|
|
9476
|
+
* A `CometChat.User` object representing the user whose information (e.g., status) is displayed.
|
|
9477
|
+
*/
|
|
9314
9478
|
user?: CometChat.User;
|
|
9315
|
-
/**
|
|
9479
|
+
/**
|
|
9480
|
+
* A `CometChat.Group` object representing the group whose details (e.g., member count) are displayed.
|
|
9481
|
+
*/
|
|
9316
9482
|
group?: CometChat.Group;
|
|
9317
|
-
/**
|
|
9318
|
-
|
|
9319
|
-
|
|
9483
|
+
/**
|
|
9484
|
+
* Number of messages for which the summary should be shown.
|
|
9485
|
+
* @default 1000
|
|
9486
|
+
*/
|
|
9487
|
+
summaryGenerationMessageCount?: number;
|
|
9488
|
+
/**
|
|
9489
|
+
* Enables the auto generation of conversation summary.
|
|
9490
|
+
* @default false
|
|
9491
|
+
*/
|
|
9492
|
+
enableAutoSummaryGeneration?: boolean;
|
|
9493
|
+
/**
|
|
9494
|
+
* Callback function to handle errors related to CometChat operations.
|
|
9495
|
+
*
|
|
9496
|
+
* @param error - An instance of `CometChat.CometChatException` representing the error.
|
|
9497
|
+
* @returns void
|
|
9498
|
+
*/
|
|
9320
9499
|
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
9321
|
-
/**
|
|
9500
|
+
/**
|
|
9501
|
+
* Callback function triggered when the back action is performed.
|
|
9502
|
+
*
|
|
9503
|
+
* @returns void
|
|
9504
|
+
*/
|
|
9322
9505
|
onBack?: () => void;
|
|
9323
|
-
/**
|
|
9324
|
-
|
|
9506
|
+
/**
|
|
9507
|
+
* A custom JSX element for rendering a menu. It can be used to add options or actions.
|
|
9508
|
+
*/
|
|
9509
|
+
auxiliaryButtonView?: JSX$1.Element;
|
|
9510
|
+
/**
|
|
9511
|
+
* A custom JSX element for rendering a list item view, typically used to show user or group details.
|
|
9512
|
+
*/
|
|
9513
|
+
itemView?: JSX$1.Element;
|
|
9514
|
+
/**
|
|
9515
|
+
* A function that renders a JSX element to display the leading view.
|
|
9516
|
+
*/
|
|
9517
|
+
leadingView?: JSX$1.Element;
|
|
9518
|
+
/**
|
|
9519
|
+
* A function that renders a JSX element to display the title view.
|
|
9520
|
+
*/
|
|
9521
|
+
titleView?: JSX$1.Element;
|
|
9522
|
+
/**
|
|
9523
|
+
* Custom subtitle view, allowing you to render a JSX element as the subtitle.
|
|
9524
|
+
* It can be used to provide additional information under the title.
|
|
9525
|
+
*/
|
|
9526
|
+
subtitleView?: JSX$1.Element;
|
|
9527
|
+
/**
|
|
9528
|
+
* A function that renders a JSX element to display the trailing view.
|
|
9529
|
+
*/
|
|
9530
|
+
trailingView?: JSX$1.Element;
|
|
9325
9531
|
}
|
|
9326
9532
|
/** Functional component for rendering the CometChatMessageHeader */
|
|
9327
9533
|
declare const CometChatMessageHeader: (props: MessageHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -9331,495 +9537,376 @@ declare const CometChatMessageHeader: (props: MessageHeaderProps) => react_jsx_r
|
|
|
9331
9537
|
*/
|
|
9332
9538
|
interface MessageListProps {
|
|
9333
9539
|
/**
|
|
9334
|
-
*
|
|
9540
|
+
* Enables conversation starters for new chats.
|
|
9541
|
+
* @default false
|
|
9335
9542
|
*/
|
|
9336
|
-
|
|
9543
|
+
showConversationStarters?: boolean;
|
|
9337
9544
|
/**
|
|
9338
|
-
*
|
|
9545
|
+
* Enables the generation of Smart Replies for incoming messages.
|
|
9546
|
+
* @default false
|
|
9339
9547
|
*/
|
|
9340
|
-
|
|
9548
|
+
showSmartReplies?: boolean;
|
|
9341
9549
|
/**
|
|
9342
|
-
*
|
|
9550
|
+
* Hides the visibility of the date separator in the message list.
|
|
9551
|
+
* @default false
|
|
9343
9552
|
*/
|
|
9344
|
-
|
|
9553
|
+
hideDateSeparator?: boolean;
|
|
9345
9554
|
/**
|
|
9346
|
-
*
|
|
9555
|
+
* Hides the sticky date header in the message list.
|
|
9556
|
+
* @default false
|
|
9347
9557
|
*/
|
|
9348
|
-
|
|
9558
|
+
hideStickyDate?: boolean;
|
|
9349
9559
|
/**
|
|
9350
|
-
*
|
|
9560
|
+
* Hides the visibility of receipts in the message list.
|
|
9561
|
+
* @default false
|
|
9351
9562
|
*/
|
|
9352
|
-
|
|
9563
|
+
hideReceipts?: boolean;
|
|
9353
9564
|
/**
|
|
9354
|
-
*
|
|
9565
|
+
* Hides the default & custom error view passed in `errorView` prop.
|
|
9566
|
+
* @default false
|
|
9355
9567
|
*/
|
|
9356
|
-
|
|
9568
|
+
hideError?: boolean;
|
|
9357
9569
|
/**
|
|
9358
|
-
*
|
|
9570
|
+
* Hides the option to reply to messages in a thread.
|
|
9359
9571
|
* @default false
|
|
9360
9572
|
*/
|
|
9361
|
-
|
|
9573
|
+
hideReplyInThreadOption?: boolean;
|
|
9362
9574
|
/**
|
|
9363
|
-
*
|
|
9364
|
-
* @default
|
|
9575
|
+
* Hides the option to translate messages.
|
|
9576
|
+
* @default false
|
|
9365
9577
|
*/
|
|
9366
|
-
|
|
9578
|
+
hideTranslateMessageOption?: boolean;
|
|
9367
9579
|
/**
|
|
9368
|
-
*
|
|
9580
|
+
* Hides the option to edit messages.
|
|
9581
|
+
* @default false
|
|
9369
9582
|
*/
|
|
9370
|
-
|
|
9583
|
+
hideEditMessageOption?: boolean;
|
|
9371
9584
|
/**
|
|
9372
|
-
*
|
|
9585
|
+
* Hides the option to delete messages.
|
|
9586
|
+
* @default false
|
|
9373
9587
|
*/
|
|
9374
|
-
|
|
9588
|
+
hideDeleteMessageOption?: boolean;
|
|
9375
9589
|
/**
|
|
9376
|
-
*
|
|
9590
|
+
* Hides the option to react to messages.
|
|
9377
9591
|
* @default false
|
|
9378
9592
|
*/
|
|
9379
|
-
|
|
9593
|
+
hideReactionOption?: boolean;
|
|
9380
9594
|
/**
|
|
9381
|
-
*
|
|
9595
|
+
* Hides the option to message a user privately.
|
|
9596
|
+
* @default false
|
|
9382
9597
|
*/
|
|
9383
|
-
|
|
9598
|
+
hideMessagePrivatelyOption?: boolean;
|
|
9384
9599
|
/**
|
|
9385
|
-
*
|
|
9600
|
+
* Hides the option to copy messages.
|
|
9601
|
+
* @default false
|
|
9386
9602
|
*/
|
|
9387
|
-
|
|
9603
|
+
hideCopyMessageOption?: boolean;
|
|
9388
9604
|
/**
|
|
9389
|
-
*
|
|
9605
|
+
* Hides the option to view message information.
|
|
9606
|
+
* @default false
|
|
9390
9607
|
*/
|
|
9391
|
-
|
|
9608
|
+
hideMessageInfoOption?: boolean;
|
|
9392
9609
|
/**
|
|
9393
|
-
*
|
|
9610
|
+
* Hides avatars for messages.
|
|
9394
9611
|
* @default false
|
|
9395
9612
|
*/
|
|
9396
|
-
|
|
9613
|
+
hideAvatar?: boolean;
|
|
9397
9614
|
/**
|
|
9398
|
-
*
|
|
9615
|
+
* Hides group action messages.
|
|
9616
|
+
* @default false
|
|
9399
9617
|
*/
|
|
9400
|
-
|
|
9618
|
+
hideGroupActionMessages?: boolean;
|
|
9401
9619
|
/**
|
|
9402
|
-
*
|
|
9403
|
-
* @param parentMessageId - The ID of the parent message to which replies belong.
|
|
9620
|
+
* Unique identifier of the parent message for displaying threaded conversations.
|
|
9404
9621
|
*/
|
|
9405
|
-
|
|
9622
|
+
parentMessageId?: number;
|
|
9406
9623
|
/**
|
|
9407
|
-
*
|
|
9624
|
+
* A `CometChat.User` object representing the participant of the chat whose details are displayed.
|
|
9408
9625
|
*/
|
|
9409
|
-
|
|
9626
|
+
user?: CometChat.User;
|
|
9410
9627
|
/**
|
|
9411
|
-
*
|
|
9628
|
+
* A `CometChat.Group` object representing the group whose chat messages are displayed.
|
|
9412
9629
|
*/
|
|
9413
|
-
|
|
9630
|
+
group?: CometChat.Group;
|
|
9414
9631
|
/**
|
|
9415
|
-
*
|
|
9416
|
-
* @param error - CometChatException object representing the error.
|
|
9632
|
+
* Instance of the `CometChat.ReactionsRequestBuilder` for managing message reactions.
|
|
9417
9633
|
*/
|
|
9418
|
-
|
|
9634
|
+
reactionsRequestBuilder?: CometChat.ReactionsRequestBuilder;
|
|
9419
9635
|
/**
|
|
9420
|
-
*
|
|
9421
|
-
* @default false
|
|
9636
|
+
* Instance of the `CometChat.MessagesRequestBuilder` for building the request to fetch messages.
|
|
9422
9637
|
*/
|
|
9423
|
-
|
|
9638
|
+
messagesRequestBuilder?: CometChat.MessagesRequestBuilder;
|
|
9424
9639
|
/**
|
|
9425
|
-
*
|
|
9640
|
+
* Array of message templates to define how various types of messages should be displayed.
|
|
9426
9641
|
*/
|
|
9427
|
-
|
|
9642
|
+
templates?: CometChatMessageTemplate[];
|
|
9428
9643
|
/**
|
|
9429
|
-
*
|
|
9430
|
-
* @param reaction - The reaction object.
|
|
9431
|
-
* @param message - The message associated with the reaction.
|
|
9644
|
+
* Array of text formatters for custom styling or formatting of message text bubbles.
|
|
9432
9645
|
*/
|
|
9433
|
-
|
|
9646
|
+
textFormatters?: CometChatTextFormatter[];
|
|
9434
9647
|
/**
|
|
9435
|
-
*
|
|
9436
|
-
* @
|
|
9437
|
-
* @param message - The message associated with the reaction.
|
|
9648
|
+
* Specifies the alignment of messages in the list (e.g., left, right).
|
|
9649
|
+
* @default MessageListAlignment.standard
|
|
9438
9650
|
*/
|
|
9439
|
-
|
|
9651
|
+
messageAlignment?: MessageListAlignment;
|
|
9440
9652
|
/**
|
|
9441
|
-
*
|
|
9442
|
-
* @default false
|
|
9653
|
+
* User-defined time format for displaying message timestamps.
|
|
9443
9654
|
*/
|
|
9444
|
-
|
|
9655
|
+
timePattern?: DatePatterns;
|
|
9445
9656
|
/**
|
|
9446
|
-
*
|
|
9447
|
-
* @default false
|
|
9657
|
+
* User-defined date format for displaying message timestamps.
|
|
9448
9658
|
*/
|
|
9449
|
-
|
|
9659
|
+
datePattern?: DatePatterns;
|
|
9450
9660
|
/**
|
|
9451
|
-
*
|
|
9661
|
+
* Automatically scrolls the message list to the bottom when a new message arrives.
|
|
9662
|
+
* @default false
|
|
9452
9663
|
*/
|
|
9453
|
-
|
|
9454
|
-
}
|
|
9455
|
-
declare const CometChatMessageList: (props: MessageListProps) => react_jsx_runtime.JSX.Element;
|
|
9456
|
-
|
|
9457
|
-
interface UsersProps {
|
|
9664
|
+
scrollToBottomOnNewMessages?: boolean;
|
|
9458
9665
|
/**
|
|
9459
|
-
*
|
|
9460
|
-
*
|
|
9461
|
-
* @defaultValue `localize("USERS")`
|
|
9666
|
+
* Specifies how many message options are visible in the main menu by default.
|
|
9667
|
+
* @default 2
|
|
9462
9668
|
*/
|
|
9463
|
-
|
|
9669
|
+
quickOptionsCount?: number;
|
|
9464
9670
|
/**
|
|
9465
|
-
*
|
|
9466
|
-
*
|
|
9467
|
-
* @defaultValue `false`
|
|
9671
|
+
* Disables the sound effect when new messages arrive.
|
|
9672
|
+
* @default true
|
|
9468
9673
|
*/
|
|
9469
|
-
|
|
9674
|
+
disableSoundForMessages?: boolean;
|
|
9470
9675
|
/**
|
|
9471
|
-
*
|
|
9472
|
-
*
|
|
9473
|
-
* @defaultValue `localize("SEARCH")`
|
|
9676
|
+
* Specifies a custom sound file to play when new messages arrive.
|
|
9474
9677
|
*/
|
|
9475
|
-
|
|
9678
|
+
customSoundForMessages?: string;
|
|
9679
|
+
/**
|
|
9680
|
+
* Specifies the keywords in incoming messages that will trigger Smart Replies.
|
|
9681
|
+
* If set to an empty array [], Smart Replies will be generated for all messages.
|
|
9682
|
+
* @default ['what', 'when', 'why', 'who', 'where', 'how', '?']
|
|
9683
|
+
*/
|
|
9684
|
+
smartRepliesKeywords?: string[];
|
|
9476
9685
|
/**
|
|
9477
|
-
*
|
|
9686
|
+
* Specifies the delay in milliseconds before Smart Replies are displayed.
|
|
9687
|
+
* Setting it to 0 fetches Smart Replies instantly without delay.
|
|
9688
|
+
* @default 10000
|
|
9478
9689
|
*/
|
|
9479
|
-
|
|
9690
|
+
smartRepliesDelayDuration?: number;
|
|
9480
9691
|
/**
|
|
9481
|
-
*
|
|
9692
|
+
* Callback function triggered when an error occurs during message fetching.
|
|
9482
9693
|
*
|
|
9483
|
-
* @
|
|
9694
|
+
* @param error - An instance of `CometChat.CometChatException` representing the error.
|
|
9695
|
+
* @returns void
|
|
9484
9696
|
*/
|
|
9485
|
-
|
|
9697
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
9486
9698
|
/**
|
|
9487
|
-
*
|
|
9699
|
+
* Callback function triggered when a thread reply is clicked.
|
|
9488
9700
|
*
|
|
9489
|
-
* @
|
|
9490
|
-
* This property will be used to extract the section header character from the user object
|
|
9491
|
-
*
|
|
9492
|
-
* @defaultValue `getName`
|
|
9701
|
+
* @param parentMessageId - The ID of the parent message to which replies belong.
|
|
9493
9702
|
*/
|
|
9494
|
-
|
|
9703
|
+
onThreadRepliesClick?: (message: CometChat.BaseMessage) => void;
|
|
9495
9704
|
/**
|
|
9496
|
-
*
|
|
9705
|
+
* Callback function that triggers when a reaction is clicked.
|
|
9706
|
+
*
|
|
9707
|
+
* @param reaction - The reaction object.
|
|
9708
|
+
* @param message - The message associated with the reaction.
|
|
9497
9709
|
*/
|
|
9498
|
-
|
|
9710
|
+
onReactionClick?: (reaction: CometChat.ReactionCount, message: CometChat.BaseMessage) => void;
|
|
9499
9711
|
/**
|
|
9500
|
-
*
|
|
9501
|
-
*
|
|
9502
|
-
* @remarks
|
|
9503
|
-
* If set to true, hides the default and the custom error view
|
|
9712
|
+
* Callback function that triggers when an item in the reaction list is clicked.
|
|
9504
9713
|
*
|
|
9505
|
-
* @
|
|
9714
|
+
* @param reaction - The reaction object.
|
|
9715
|
+
* @param message - The message associated with the reaction.
|
|
9506
9716
|
*/
|
|
9507
|
-
|
|
9717
|
+
onReactionListItemClick?: (reaction: CometChat.Reaction, message: CometChat.BaseMessage) => void;
|
|
9508
9718
|
/**
|
|
9509
|
-
* Custom view
|
|
9719
|
+
* Custom empty state view to display when there are no messages.
|
|
9510
9720
|
*/
|
|
9511
|
-
|
|
9721
|
+
emptyView?: JSX.Element;
|
|
9512
9722
|
/**
|
|
9513
|
-
*
|
|
9723
|
+
* A custom view displayed when there are no messages.
|
|
9514
9724
|
*/
|
|
9515
|
-
|
|
9725
|
+
errorView?: JSX.Element;
|
|
9516
9726
|
/**
|
|
9517
|
-
*
|
|
9518
|
-
*
|
|
9519
|
-
* @remarks
|
|
9520
|
-
* This prop is used if `listItemView` prop is not provided
|
|
9727
|
+
* A custom view displayed while messages are being fetched.
|
|
9521
9728
|
*/
|
|
9522
|
-
|
|
9729
|
+
loadingView?: JSX.Element;
|
|
9523
9730
|
/**
|
|
9524
|
-
*
|
|
9525
|
-
*
|
|
9526
|
-
* @remarks
|
|
9527
|
-
* If set to true, the status indicator of the default list item view is not displayed
|
|
9528
|
-
*
|
|
9529
|
-
* @defaultValue `false`
|
|
9731
|
+
* A custom header view component for the message list.
|
|
9530
9732
|
*/
|
|
9531
|
-
|
|
9733
|
+
headerView?: JSX.Element;
|
|
9532
9734
|
/**
|
|
9533
|
-
*
|
|
9735
|
+
* A custom footer view component for the message list.
|
|
9534
9736
|
*/
|
|
9535
|
-
|
|
9737
|
+
footerView?: JSX.Element;
|
|
9738
|
+
}
|
|
9739
|
+
declare const CometChatMessageList: (props: MessageListProps) => react_jsx_runtime.JSX.Element;
|
|
9740
|
+
|
|
9741
|
+
interface UsersProps {
|
|
9536
9742
|
/**
|
|
9537
|
-
*
|
|
9743
|
+
* Hides the default search bar.
|
|
9744
|
+
*
|
|
9745
|
+
* @defaultValue `false`
|
|
9538
9746
|
*/
|
|
9539
|
-
|
|
9747
|
+
hideSearch?: boolean;
|
|
9540
9748
|
/**
|
|
9541
|
-
*
|
|
9542
|
-
*
|
|
9543
|
-
* @remarks
|
|
9544
|
-
* This prop is used if `listItemView` prop is not provided.
|
|
9749
|
+
* Displays an alphabetical section header for the user list.
|
|
9545
9750
|
*
|
|
9546
|
-
* @defaultValue `
|
|
9751
|
+
* @defaultValue `true`
|
|
9547
9752
|
*/
|
|
9548
|
-
|
|
9753
|
+
showSectionHeader?: boolean;
|
|
9549
9754
|
/**
|
|
9550
|
-
*
|
|
9755
|
+
* Hides both the default and custom error view passed in `errorView` prop.
|
|
9551
9756
|
*
|
|
9552
|
-
* @
|
|
9553
|
-
* This prop is used if `selectionMode` prop is not `SelectionMode.none`
|
|
9757
|
+
* @defaultValue `false`
|
|
9554
9758
|
*/
|
|
9555
|
-
|
|
9759
|
+
hideError?: boolean;
|
|
9556
9760
|
/**
|
|
9557
|
-
*
|
|
9558
|
-
*
|
|
9559
|
-
* @remarks
|
|
9560
|
-
* If the search input is not empty and the `searchRequestBuilder` prop is not provided,
|
|
9561
|
-
* the search keyword of this request builder is set to the text in the search input
|
|
9761
|
+
* Disables the loading state while fetching users.
|
|
9562
9762
|
*
|
|
9563
|
-
* @defaultValue
|
|
9763
|
+
* @defaultValue `false`
|
|
9564
9764
|
*/
|
|
9565
|
-
|
|
9765
|
+
disableLoadingState?: boolean;
|
|
9566
9766
|
/**
|
|
9567
|
-
*
|
|
9767
|
+
* Hides the user's online/offline status indicator.
|
|
9568
9768
|
*
|
|
9569
|
-
* @remarks
|
|
9570
|
-
*
|
|
9571
|
-
* the search keyword of this request builder is set to the text in the search input
|
|
9769
|
+
* @remarks If set to `true`, the status indicator of the default list item view is not displayed.
|
|
9770
|
+
* @defaultValue `false`
|
|
9572
9771
|
*/
|
|
9573
|
-
|
|
9772
|
+
hideUserStatus?: boolean;
|
|
9574
9773
|
/**
|
|
9575
|
-
*
|
|
9774
|
+
* User to highlight.
|
|
9775
|
+
*
|
|
9776
|
+
* @remarks This prop is used if `activeUser` prop is not provided.
|
|
9576
9777
|
*/
|
|
9577
|
-
|
|
9778
|
+
activeUser?: CometChat.User;
|
|
9578
9779
|
/**
|
|
9579
|
-
*
|
|
9780
|
+
* Request builder to fetch users.
|
|
9781
|
+
*
|
|
9782
|
+
* @defaultValue Default request builder having the limit set to `30`.
|
|
9580
9783
|
*/
|
|
9581
|
-
|
|
9784
|
+
usersRequestBuilder?: CometChat.UsersRequestBuilder;
|
|
9582
9785
|
/**
|
|
9583
|
-
*
|
|
9786
|
+
* Request builder with search parameters to fetch users.
|
|
9584
9787
|
*
|
|
9585
|
-
* @remarks
|
|
9586
|
-
* This prop is used if `listItemView` prop is not provided
|
|
9788
|
+
* @remarks If the search input is not empty, the search keyword of this request builder is set to the text in the search input.
|
|
9587
9789
|
*/
|
|
9588
|
-
|
|
9790
|
+
searchRequestBuilder?: CometChat.UsersRequestBuilder;
|
|
9589
9791
|
/**
|
|
9590
|
-
*
|
|
9792
|
+
* The search keyword used to filter the user list.
|
|
9591
9793
|
*
|
|
9592
9794
|
* @defaultValue `""`
|
|
9593
9795
|
*/
|
|
9594
9796
|
searchKeyword?: string;
|
|
9595
9797
|
/**
|
|
9596
|
-
*
|
|
9798
|
+
* The property on the user object used to extract the section header character.
|
|
9799
|
+
*
|
|
9800
|
+
* @remarks This property will be used to extract the section header character from the user object.
|
|
9801
|
+
* @defaultValue `getName`
|
|
9597
9802
|
*/
|
|
9598
|
-
|
|
9803
|
+
sectionHeaderKey?: keyof CometChat.User;
|
|
9599
9804
|
/**
|
|
9600
|
-
*
|
|
9601
|
-
*
|
|
9602
|
-
* @
|
|
9805
|
+
* A function that returns a list of actions available when hovering over a user item.
|
|
9806
|
+
* @param user - An instance of `CometChat.User` representing the selected user.
|
|
9807
|
+
* @returns An array of `CometChatOption` objects.
|
|
9603
9808
|
*/
|
|
9604
|
-
|
|
9809
|
+
options?: (user: CometChat.User) => CometChatOption[];
|
|
9605
9810
|
/**
|
|
9606
|
-
*
|
|
9607
|
-
*
|
|
9811
|
+
* Selection mode to use for the default trailing view.
|
|
9812
|
+
*
|
|
9813
|
+
* @defaultValue `SelectionMode.none`
|
|
9608
9814
|
*/
|
|
9609
|
-
|
|
9610
|
-
}
|
|
9611
|
-
/**
|
|
9612
|
-
* Renders a scrollable list of users that has been created in a CometChat app
|
|
9613
|
-
*/
|
|
9614
|
-
declare function CometChatUsers(props: UsersProps): react_jsx_runtime.JSX.Element;
|
|
9615
|
-
|
|
9616
|
-
interface MessageInformationProps {
|
|
9617
|
-
message: CometChat.BaseMessage;
|
|
9618
|
-
onClose?: () => void;
|
|
9619
|
-
}
|
|
9620
|
-
declare const CometChatMessageInformation: (props: MessageInformationProps) => react_jsx_runtime.JSX.Element;
|
|
9621
|
-
|
|
9622
|
-
/**
|
|
9623
|
-
* AIBaseConfiguration is a base configuration class that provides options for customizing the appearance and behavior of AI-related components.
|
|
9624
|
-
*/
|
|
9625
|
-
declare class AIBaseConfiguration {
|
|
9815
|
+
selectionMode?: SelectionMode;
|
|
9626
9816
|
/**
|
|
9627
|
-
*
|
|
9628
|
-
*
|
|
9629
|
-
* @
|
|
9630
|
-
* @
|
|
9817
|
+
* Callback function invoked when a user is selected.
|
|
9818
|
+
*
|
|
9819
|
+
* @remarks This prop works only if `selectionMode` is not set to `SelectionMode.none`.
|
|
9820
|
+
* @param user - An instance of `CometChat.User` representing the selected user.
|
|
9821
|
+
* @param selected - A boolean indicating whether the user is selected.
|
|
9822
|
+
* @returns void
|
|
9631
9823
|
*/
|
|
9632
|
-
|
|
9824
|
+
onSelect?: (user: CometChat.User, selected: boolean) => void;
|
|
9633
9825
|
/**
|
|
9634
|
-
*
|
|
9635
|
-
*
|
|
9826
|
+
* Callback function invoked when a user item is clicked.
|
|
9827
|
+
*
|
|
9828
|
+
* @param user - An instance of `CometChat.User` representing the clicked user.
|
|
9829
|
+
* @returns void
|
|
9636
9830
|
*/
|
|
9637
|
-
|
|
9831
|
+
onItemClick?: (user: CometChat.User) => void;
|
|
9638
9832
|
/**
|
|
9639
|
-
*
|
|
9640
|
-
* @
|
|
9833
|
+
* Callback function invoked when an error occurs in the component.
|
|
9834
|
+
* @param error - An instance of `CometChat.CometChatException` representing the error.
|
|
9835
|
+
* @returns void
|
|
9641
9836
|
*/
|
|
9642
|
-
|
|
9837
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
9643
9838
|
/**
|
|
9644
|
-
*
|
|
9645
|
-
* @
|
|
9839
|
+
* Callback function to be executed when the user list is empty.
|
|
9840
|
+
* @returns void
|
|
9646
9841
|
*/
|
|
9647
|
-
|
|
9842
|
+
onEmpty?: () => void;
|
|
9648
9843
|
/**
|
|
9649
|
-
*
|
|
9650
|
-
* @type {string}
|
|
9651
|
-
* @default loadingIcon
|
|
9844
|
+
* A custom component to render in the top-right corner of the user list.
|
|
9652
9845
|
*/
|
|
9653
|
-
|
|
9846
|
+
headerView?: JSX$1.Element;
|
|
9654
9847
|
/**
|
|
9655
|
-
*
|
|
9656
|
-
* @type {string}
|
|
9657
|
-
* @default errorIcon
|
|
9848
|
+
* A custom view to display during the loading state.
|
|
9658
9849
|
*/
|
|
9659
|
-
|
|
9850
|
+
loadingView?: JSX$1.Element;
|
|
9660
9851
|
/**
|
|
9661
|
-
*
|
|
9662
|
-
* @type {string}
|
|
9663
|
-
* @default emptyIcon
|
|
9852
|
+
* A custom view to display when an error occurs.
|
|
9664
9853
|
*/
|
|
9665
|
-
|
|
9854
|
+
errorView?: JSX$1.Element;
|
|
9666
9855
|
/**
|
|
9667
|
-
*
|
|
9668
|
-
* @param {Partial<AIBaseConfiguration>} props - Partial properties to customize the base configuration.
|
|
9856
|
+
* A custom view to display when no users are available in the list.
|
|
9669
9857
|
*/
|
|
9670
|
-
|
|
9671
|
-
}
|
|
9672
|
-
|
|
9673
|
-
/**
|
|
9674
|
-
* AIConversationStarterConfiguration provides customization options for the AI conversation starter view.
|
|
9675
|
-
* Extends the base configuration with additional properties specific to conversation starters.
|
|
9676
|
-
*/
|
|
9677
|
-
declare class AIConversationStarterConfiguration extends AIBaseConfiguration {
|
|
9858
|
+
emptyView?: JSX$1.Element;
|
|
9678
9859
|
/**
|
|
9679
|
-
*
|
|
9680
|
-
*
|
|
9681
|
-
* @param
|
|
9682
|
-
* @returns
|
|
9860
|
+
* A custom view to render for each user in the fetched list.
|
|
9861
|
+
*
|
|
9862
|
+
* @param user - An instance of `CometChat.User` representing the user.
|
|
9863
|
+
* @returns A JSX element to be rendered as the user item.
|
|
9683
9864
|
*/
|
|
9684
|
-
|
|
9865
|
+
itemView?: (user: CometChat.User) => JSX$1.Element;
|
|
9685
9866
|
/**
|
|
9686
|
-
*
|
|
9687
|
-
*
|
|
9867
|
+
* A function that renders a JSX element to display the leading view.
|
|
9868
|
+
*
|
|
9869
|
+
* @param user - An instance of `CometChat.User` representing the user.
|
|
9870
|
+
* @returns A JSX element to be rendered as the leading view.
|
|
9688
9871
|
*/
|
|
9689
|
-
|
|
9690
|
-
}
|
|
9691
|
-
|
|
9692
|
-
declare class AIConversationStarterExtension extends AIExtensionDataSource {
|
|
9693
|
-
private configuration?;
|
|
9694
|
-
constructor(configuration?: AIConversationStarterConfiguration);
|
|
9695
|
-
addExtension(): void;
|
|
9696
|
-
getExtensionId(): string;
|
|
9697
|
-
}
|
|
9698
|
-
|
|
9699
|
-
declare class AIConversationStarterDecorator extends DataSourceDecorator {
|
|
9700
|
-
configuration?: AIConversationStarterConfiguration;
|
|
9701
|
-
newDataSource: DataSource;
|
|
9702
|
-
currentMessage: CometChat.BaseMessage | null;
|
|
9703
|
-
loggedInUser: CometChat.User | null;
|
|
9704
|
-
user: CometChat.User;
|
|
9705
|
-
group: CometChat.Group;
|
|
9706
|
-
constructor(dataSource: DataSource, configuration?: AIConversationStarterConfiguration);
|
|
9707
|
-
getId(): string;
|
|
9708
|
-
editReply(reply: string): void;
|
|
9709
|
-
closeIfMessageReceived(message: CometChat.BaseMessage): void;
|
|
9710
|
-
getConversationStarter: () => Promise<string[]>;
|
|
9711
|
-
private loadConversationStarter;
|
|
9712
|
-
private addMessageListener;
|
|
9713
|
-
}
|
|
9714
|
-
|
|
9715
|
-
/**
|
|
9716
|
-
* Represents the configuration for the AISmartReplies component.
|
|
9717
|
-
*
|
|
9718
|
-
* This class allows customization of various aspects of the AISmartReplies component,
|
|
9719
|
-
* including styles, icons, custom views, and API configurations.
|
|
9720
|
-
*/
|
|
9721
|
-
declare class AISmartRepliesConfiguration extends AIBaseConfiguration {
|
|
9872
|
+
leadingView?: (user: CometChat.User) => JSX$1.Element;
|
|
9722
9873
|
/**
|
|
9723
|
-
*
|
|
9724
|
-
* It receives the list of conversation starters and optional close and back callbacks.
|
|
9874
|
+
* A custom function to render the title view of a user.
|
|
9725
9875
|
*
|
|
9726
|
-
* @
|
|
9876
|
+
* @param user - An instance of `CometChat.User` representing the user.
|
|
9877
|
+
* @returns A JSX element to be rendered as the title view.
|
|
9727
9878
|
*/
|
|
9728
|
-
|
|
9879
|
+
titleView?: (user: CometChat.User) => JSX$1.Element;
|
|
9729
9880
|
/**
|
|
9730
|
-
*
|
|
9881
|
+
* A custom view to render the subtitle for each user.
|
|
9731
9882
|
*
|
|
9732
|
-
* @
|
|
9883
|
+
* @param user - An instance of `CometChat.User` representing the user.
|
|
9884
|
+
* @returns A JSX element to be rendered as the subtitle view.
|
|
9733
9885
|
*/
|
|
9734
|
-
|
|
9886
|
+
subtitleView?: (user: CometChat.User) => JSX$1.Element;
|
|
9735
9887
|
/**
|
|
9736
|
-
*
|
|
9888
|
+
* A function that renders a JSX element to display the trailing view.
|
|
9737
9889
|
*
|
|
9738
|
-
* @param
|
|
9890
|
+
* @param user - An instance of `CometChat.User` representing the user.
|
|
9891
|
+
* @returns A JSX element to be rendered as the trailing view.
|
|
9739
9892
|
*/
|
|
9740
|
-
|
|
9741
|
-
}
|
|
9742
|
-
|
|
9743
|
-
declare class AISmartRepliesExtension extends AIExtensionDataSource {
|
|
9744
|
-
private configuration?;
|
|
9745
|
-
constructor(configuration?: AISmartRepliesConfiguration);
|
|
9746
|
-
addExtension(): void;
|
|
9747
|
-
getExtensionId(): string;
|
|
9748
|
-
}
|
|
9749
|
-
|
|
9750
|
-
declare class AISmartRepliesDecorator extends DataSourceDecorator {
|
|
9751
|
-
configuration?: AISmartRepliesConfiguration;
|
|
9752
|
-
newDataSource: DataSource;
|
|
9753
|
-
loggedInUser: CometChat.User | null;
|
|
9754
|
-
user: CometChat.User;
|
|
9755
|
-
group: CometChat.Group;
|
|
9756
|
-
buttonRef: any;
|
|
9757
|
-
isModalClosed: boolean;
|
|
9758
|
-
private closeCallback?;
|
|
9759
|
-
constructor(dataSource: DataSource, configuration?: AISmartRepliesConfiguration);
|
|
9760
|
-
getId(): string;
|
|
9761
|
-
editReply(reply: string): void;
|
|
9762
|
-
closeIfMessageReceived(message: CometChat.BaseMessage): void;
|
|
9763
|
-
getSmartReplies: () => Promise<string[]>;
|
|
9764
|
-
getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, id?: any): (CometChatMessageComposerAction | CometChatActionsView)[];
|
|
9765
|
-
private addMessageListener;
|
|
9893
|
+
trailingView?: (user: CometChat.User) => JSX$1.Element;
|
|
9766
9894
|
}
|
|
9767
|
-
|
|
9768
9895
|
/**
|
|
9769
|
-
*
|
|
9770
|
-
* Extends the base configuration with additional properties specific to conversation summaries.
|
|
9896
|
+
* Renders a scrollable list of users that has been created in a CometChat app
|
|
9771
9897
|
*/
|
|
9772
|
-
declare
|
|
9773
|
-
|
|
9774
|
-
|
|
9775
|
-
|
|
9776
|
-
|
|
9777
|
-
* @returns {Promise<any>} A promise resolving to a custom view component.
|
|
9778
|
-
*/
|
|
9779
|
-
customView?: (response: string, closeCallBack?: () => void) => Promise<any>;
|
|
9780
|
-
/**
|
|
9781
|
-
* The threshold for the number of unread messages required to generate a conversation summary.
|
|
9782
|
-
* @type {number}
|
|
9783
|
-
* @default 30
|
|
9784
|
-
*/
|
|
9785
|
-
unreadMessageThreshold?: number;
|
|
9786
|
-
/**
|
|
9787
|
-
* URL for the custom close button icon.
|
|
9788
|
-
* @type {string}
|
|
9789
|
-
* @default closeIcon
|
|
9790
|
-
*/
|
|
9791
|
-
closeIconURL?: string;
|
|
9898
|
+
declare function CometChatUsers(props: UsersProps): react_jsx_runtime.JSX.Element;
|
|
9899
|
+
|
|
9900
|
+
interface MessageInformationProps {
|
|
9901
|
+
message: CometChat.BaseMessage;
|
|
9902
|
+
onClose?: () => void;
|
|
9792
9903
|
/**
|
|
9793
|
-
*
|
|
9794
|
-
* @param
|
|
9904
|
+
* Callback triggered when an error occurs during the message receipt fetching process.
|
|
9905
|
+
* @param error - CometChatException object representing the error.
|
|
9795
9906
|
*/
|
|
9796
|
-
|
|
9797
|
-
}
|
|
9798
|
-
|
|
9799
|
-
declare class AIConversationSummaryExtension extends AIExtensionDataSource {
|
|
9800
|
-
private configuration?;
|
|
9801
|
-
constructor(configuration?: AIConversationSummaryConfiguration);
|
|
9802
|
-
addExtension(): void;
|
|
9803
|
-
getExtensionId(): string;
|
|
9804
|
-
}
|
|
9805
|
-
|
|
9806
|
-
declare class AIConversationSummaryDecorator extends DataSourceDecorator {
|
|
9807
|
-
configuration?: AIConversationSummaryConfiguration;
|
|
9808
|
-
newDataSource: DataSource;
|
|
9809
|
-
currentMessage: CometChat.BaseMessage | null;
|
|
9810
|
-
unreadMessageCount: number;
|
|
9811
|
-
loggedInUser: CometChat.User | null;
|
|
9812
|
-
user: CometChat.User;
|
|
9813
|
-
group: CometChat.Group;
|
|
9814
|
-
private LISTENER_ID;
|
|
9815
|
-
constructor(dataSource: DataSource, configuration?: AIConversationSummaryConfiguration);
|
|
9816
|
-
getId(): string;
|
|
9817
|
-
closePanel: () => void;
|
|
9818
|
-
getConversationSummary: () => Promise<string>;
|
|
9819
|
-
private loadConversationSummary;
|
|
9820
|
-
getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, id?: any): (CometChatMessageComposerAction | CometChatActionsView)[];
|
|
9821
|
-
private addMessageListener;
|
|
9907
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
9822
9908
|
}
|
|
9909
|
+
declare const CometChatMessageInformation: (props: MessageInformationProps) => react_jsx_runtime.JSX.Element;
|
|
9823
9910
|
|
|
9824
9911
|
declare class CometChatUIKitConstants {
|
|
9825
9912
|
static MessageCategory: Readonly<{
|
|
@@ -10195,6 +10282,66 @@ interface ActionSheetProps {
|
|
|
10195
10282
|
}
|
|
10196
10283
|
declare const CometChatActionSheet: (props: ActionSheetProps) => react_jsx_runtime.JSX.Element;
|
|
10197
10284
|
|
|
10285
|
+
interface CallButtonsProps {
|
|
10286
|
+
/**
|
|
10287
|
+
* Boolean flag to hide the video call button.
|
|
10288
|
+
*/
|
|
10289
|
+
hideVideoCallButton?: boolean;
|
|
10290
|
+
/**
|
|
10291
|
+
* Boolean flag to hide the voice call button.
|
|
10292
|
+
*/
|
|
10293
|
+
hideVoiceCallButton?: boolean;
|
|
10294
|
+
/**
|
|
10295
|
+
* Builder for checking and updating call settings.
|
|
10296
|
+
* @param isAudioOnlyCall - Whether it's an audio-only call.
|
|
10297
|
+
* @param user - The user object for the call (optional).
|
|
10298
|
+
* @param group - The group object for the call (optional).
|
|
10299
|
+
*/
|
|
10300
|
+
callSettingsBuilder?: (isAudioOnlyCall: boolean, user?: CometChat.User, group?: CometChat.Group) => typeof CometChatUIKitCalls.CallSettingsBuilder;
|
|
10301
|
+
/**
|
|
10302
|
+
* Configuration object for managing outgoing call settings, such as call parameters, UI behaviors, or any pre-call settings.
|
|
10303
|
+
*/
|
|
10304
|
+
outgoingCallConfiguration?: OutgoingCallConfiguration;
|
|
10305
|
+
/**
|
|
10306
|
+
* Callback function triggered when an error occurs in the call buttons component.
|
|
10307
|
+
* @param error - An instance of `CometChat.CometChatException` representing the error.
|
|
10308
|
+
* @returns void
|
|
10309
|
+
*/
|
|
10310
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
10311
|
+
}
|
|
10312
|
+
interface CallButtonsUserProps extends CallButtonsProps {
|
|
10313
|
+
/**
|
|
10314
|
+
* A CometChat.User object representing the user in which the call will be initiated.
|
|
10315
|
+
*/
|
|
10316
|
+
user?: CometChat.User;
|
|
10317
|
+
/**
|
|
10318
|
+
* A CometChat.Group object representing the group in which the call will be initiated.
|
|
10319
|
+
* @default null
|
|
10320
|
+
*/
|
|
10321
|
+
group?: CometChat.Group | null;
|
|
10322
|
+
}
|
|
10323
|
+
interface CallButtonsGroupProps extends CallButtonsProps {
|
|
10324
|
+
/**
|
|
10325
|
+
* A CometChat.User object representing the user in which the call will be initiated.
|
|
10326
|
+
* @default null
|
|
10327
|
+
*/
|
|
10328
|
+
user?: CometChat.User | null;
|
|
10329
|
+
/**
|
|
10330
|
+
* A CometChat.Group object representing the group in which the call will be initiated.
|
|
10331
|
+
*/
|
|
10332
|
+
group?: CometChat.Group;
|
|
10333
|
+
}
|
|
10334
|
+
type CallButtonsPropsType = CallButtonsUserProps | CallButtonsGroupProps;
|
|
10335
|
+
declare const CometChatCallButtons: (props: CallButtonsPropsType) => react_jsx_runtime.JSX.Element;
|
|
10336
|
+
|
|
10337
|
+
declare function isSentByMe(call: CometChat.Call | any, loggedInUser: CometChat.User): boolean;
|
|
10338
|
+
declare function isMissedCall(call: CometChat.Call, loggedInUser: CometChat.User): boolean;
|
|
10339
|
+
declare function verifyCallUser(call: any, loggedInUser: CometChat.User): any;
|
|
10340
|
+
declare function getCallStatusWithType(call: any, loggedInUser: CometChat.User, includeType?: boolean): string;
|
|
10341
|
+
declare function convertMinutesToHoursMinutesSeconds(minutes: number): string;
|
|
10342
|
+
declare function convertSecondsToHoursMinutesSeconds(seconds: number): string;
|
|
10343
|
+
declare function downloadRecordingFromURL(url: string): void;
|
|
10344
|
+
|
|
10198
10345
|
interface AudioBubbleProps {
|
|
10199
10346
|
src: string;
|
|
10200
10347
|
isSentByMe?: boolean;
|
|
@@ -10368,7 +10515,9 @@ interface ListItemProps {
|
|
|
10368
10515
|
}) => void;
|
|
10369
10516
|
menuView?: ReactNode;
|
|
10370
10517
|
subtitleView?: ReactNode;
|
|
10371
|
-
|
|
10518
|
+
trailingView?: ReactNode;
|
|
10519
|
+
titleView?: ReactNode;
|
|
10520
|
+
leadingView?: ReactNode;
|
|
10372
10521
|
}
|
|
10373
10522
|
declare const CometChatListItem: (props: ListItemProps) => react_jsx_runtime.JSX.Element;
|
|
10374
10523
|
|
|
@@ -10513,6 +10662,33 @@ interface DeleteBubbleProps {
|
|
|
10513
10662
|
*/
|
|
10514
10663
|
declare const CometChatDeleteBubble: (props: DeleteBubbleProps) => react_jsx_runtime.JSX.Element;
|
|
10515
10664
|
|
|
10665
|
+
interface ReactionInfoProps {
|
|
10666
|
+
messageObject: CometChat.BaseMessage;
|
|
10667
|
+
reaction: string;
|
|
10668
|
+
placement?: Placement$1;
|
|
10669
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
10670
|
+
}
|
|
10671
|
+
declare const CometChatReactionInfo: React__default.FC<ReactionInfoProps>;
|
|
10672
|
+
|
|
10673
|
+
interface ReactionListProps {
|
|
10674
|
+
messageObject: CometChat.BaseMessage;
|
|
10675
|
+
reactionsRequestBuilder?: CometChat.ReactionsRequestBuilder;
|
|
10676
|
+
reactionItemClicked?: (reaction: CometChat.Reaction, message: CometChat.BaseMessage) => void;
|
|
10677
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
10678
|
+
}
|
|
10679
|
+
declare const CometChatReactionList: React__default.FC<ReactionListProps>;
|
|
10680
|
+
|
|
10681
|
+
interface ReactionsProps {
|
|
10682
|
+
messageObject: CometChat.BaseMessage;
|
|
10683
|
+
alignment?: MessageBubbleAlignment;
|
|
10684
|
+
reactionsRequestBuilder?: CometChat.ReactionsRequestBuilder;
|
|
10685
|
+
onReactionListItemClick?: (reaction: CometChat.Reaction, message: CometChat.BaseMessage) => void;
|
|
10686
|
+
hoverDebounceTime?: number;
|
|
10687
|
+
onReactionClick?: (reaction: CometChat.ReactionCount, message: CometChat.BaseMessage) => void;
|
|
10688
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
10689
|
+
}
|
|
10690
|
+
declare const CometChatReactions: React__default.FC<ReactionsProps>;
|
|
10691
|
+
|
|
10516
10692
|
/**
|
|
10517
10693
|
* Utility class for handling call-related details in CometChat.
|
|
10518
10694
|
* It is used in CallingExtensionDecorator component.
|
|
@@ -10569,7 +10745,7 @@ declare class GroupMemberUtils {
|
|
|
10569
10745
|
* @param {string} [loggedInUser=""] - The UID of the logged-in user.
|
|
10570
10746
|
* @returns {CometChatOption[] | string} - An array of options or the member's scope as a string.
|
|
10571
10747
|
*/
|
|
10572
|
-
static getViewMemberOptions(groupMember: CometChat.GroupMember, group: CometChat.Group, loggedInUser?: string): string | CometChatOption[];
|
|
10748
|
+
static getViewMemberOptions(groupMember: CometChat.GroupMember, group: CometChat.Group, loggedInUser?: string, additionalConfigurations?: any): string | CometChatOption[];
|
|
10573
10749
|
/**
|
|
10574
10750
|
* Retrieves the available options for a banned group member.
|
|
10575
10751
|
*
|
|
@@ -10645,7 +10821,7 @@ declare class MessageUtils {
|
|
|
10645
10821
|
* @param {CometChatMessageTemplate} template - The message template to use for rendering the content view.
|
|
10646
10822
|
* @returns {object | null} - The content view for the message, or null if not found.
|
|
10647
10823
|
*/
|
|
10648
|
-
getContentView(message: CometChat.BaseMessage, template: CometChatMessageTemplate): any;
|
|
10824
|
+
getContentView(message: CometChat.BaseMessage, template: CometChatMessageTemplate, alignment?: MessageBubbleAlignment): any;
|
|
10649
10825
|
/**
|
|
10650
10826
|
* Retrieves the content view for a message based on the provided template.
|
|
10651
10827
|
*
|
|
@@ -10689,6 +10865,11 @@ declare class MessageUtils {
|
|
|
10689
10865
|
|
|
10690
10866
|
declare function sanitizeHtml(htmlString: string, whitelistRegExes: RegExp[]): string;
|
|
10691
10867
|
declare function isMessageSentByMe(message: CometChat.BaseMessage, loggedInUser: CometChat.User): boolean;
|
|
10868
|
+
/**
|
|
10869
|
+
* Function to check if the current browser is safari.
|
|
10870
|
+
* @returns boolean
|
|
10871
|
+
*/
|
|
10872
|
+
declare function isSafari(): boolean;
|
|
10692
10873
|
/**
|
|
10693
10874
|
* Checks if a given text is a URL.
|
|
10694
10875
|
* A valid URL should start with either "http", "https", or "www" and must not contain spaces.
|
|
@@ -10749,22 +10930,46 @@ declare class StorageUtils {
|
|
|
10749
10930
|
}
|
|
10750
10931
|
|
|
10751
10932
|
interface ThreadedMessagePreviewProps {
|
|
10752
|
-
|
|
10933
|
+
/**
|
|
10934
|
+
* Hides the visibility of the date header.
|
|
10935
|
+
* @default false
|
|
10936
|
+
*/
|
|
10937
|
+
hideDate?: boolean;
|
|
10938
|
+
/**
|
|
10939
|
+
* Hides the visibility of the reply count.
|
|
10940
|
+
* @default false
|
|
10941
|
+
*/
|
|
10942
|
+
hideReplyCount?: boolean;
|
|
10943
|
+
/**
|
|
10944
|
+
* Represents the parent message for displaying threaded conversations.
|
|
10945
|
+
*/
|
|
10753
10946
|
parentMessage: CometChat.BaseMessage;
|
|
10947
|
+
/**
|
|
10948
|
+
* Template for customizing the appearance of the message.
|
|
10949
|
+
*/
|
|
10754
10950
|
template?: CometChatMessageTemplate;
|
|
10755
|
-
|
|
10951
|
+
/**
|
|
10952
|
+
* Callback function triggered when the threaded message header is closed.
|
|
10953
|
+
* @returns void
|
|
10954
|
+
*/
|
|
10756
10955
|
onClose?: () => void;
|
|
10956
|
+
/**
|
|
10957
|
+
* A custom view for rendering the message bubble.
|
|
10958
|
+
*
|
|
10959
|
+
* @param messageObject - The message to be rendered.
|
|
10960
|
+
* @returns A JSX Element to be rendered as message bubble view.
|
|
10961
|
+
*/
|
|
10962
|
+
messageBubbleView?: (messageObject: CometChat.BaseMessage) => JSX.Element;
|
|
10963
|
+
/**
|
|
10964
|
+
* Callback function triggered when an error occurs.
|
|
10965
|
+
*
|
|
10966
|
+
* @param error - An instance of CometChat.CometChatException representing the error.
|
|
10967
|
+
* @returns void
|
|
10968
|
+
*/
|
|
10969
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
10757
10970
|
}
|
|
10758
10971
|
declare const CometChatThreadedMessagePreview: (props: ThreadedMessagePreviewProps) => react_jsx_runtime.JSX.Element;
|
|
10759
10972
|
|
|
10760
|
-
declare function isSentByMe(call: CometChat.Call | any, loggedInUser: CometChat.User): boolean;
|
|
10761
|
-
declare function isMissedCall(call: CometChat.Call, loggedInUser: CometChat.User): boolean;
|
|
10762
|
-
declare function verifyCallUser(call: any, loggedInUser: CometChat.User): any;
|
|
10763
|
-
declare function getCallStatusWithType(call: any, loggedInUser: CometChat.User, includeType?: boolean): string;
|
|
10764
|
-
declare function convertMinutesToHoursMinutesSeconds(minutes: number): string;
|
|
10765
|
-
declare function convertSecondsToHoursMinutesSeconds(seconds: number): string;
|
|
10766
|
-
declare function downloadRecordingFromURL(url: string): void;
|
|
10767
|
-
|
|
10768
10973
|
/**
|
|
10769
10974
|
* Manages the login state and listener attachment for CometChat users.
|
|
10770
10975
|
* It is used in CometChatMessageComposer, CometChatMessageList, CometChatMessageInformation components.
|
|
@@ -10903,6 +11108,6 @@ declare function useRefSync<T>(value: T): React__default.MutableRefObject<T>;
|
|
|
10903
11108
|
* ```
|
|
10904
11109
|
*/
|
|
10905
11110
|
declare function useStateRef<T>(initialValue: T): [T, (node: T) => void];
|
|
10906
|
-
declare function useCometChatErrorHandler(onError?: ((error: CometChat.CometChatException) => void) | null): (error: unknown) => void;
|
|
11111
|
+
declare function useCometChatErrorHandler(onError?: ((error: CometChat.CometChatException) => void) | null): (error: unknown, source?: string) => void;
|
|
10907
11112
|
|
|
10908
|
-
export {
|
|
11113
|
+
export { AuxiliaryButtonAlignment, ButtonAction, CallButtonConfiguration, CallWorkflow, CallingConfiguration, CallingDetailsUtils, CallingExtension, CallingExtensionDecorator, ChatConfigurator, ChatSdkEventInitializer, CollaborativeDocumentConfiguration, CollaborativeDocumentExtension, CollaborativeDocumentExtensionDecorator, CollaborativeWhiteBoardExtensionDecorator, CollaborativeWhiteboardConfiguration, CollaborativeWhiteboardExtension, CometChatActionBubble, CometChatActionSheet, CometChatActions, CometChatActionsIcon, CometChatActionsView, CometChatAudioBubble, CometChatAvatar, CometChatButton, CometChatCallBubble, CometChatCallButtons, CometChatCallEvents, CometChatCallLogs, CometChatChangeScope, CometChatCheckbox, CometChatConfirmDialog, CometChatContextMenu, CometChatConversationEvents, CometChatConversations, CometChatDate, CometChatDeleteBubble, CometChatDocumentBubble, CometChatDropDown, CometChatEditPreview, CometChatEmojiKeyboard, CometChatFileBubble, CometChatFullScreenViewer, CometChatGroupEvents, CometChatGroupMembers, CometChatGroups, CometChatImageBubble, CometChatIncomingCall, CometChatList, CometChatListItem, CometChatLocalize, CometChatMediaRecorder, CometChatMentionsFormatter, CometChatMessageBubble, CometChatMessageComposer, CometChatMessageComposerAction, CometChatMessageEvents, CometChatMessageHeader, CometChatMessageInformation, CometChatMessageList, CometChatMessageOption, CometChatMessageTemplate, CometChatOngoingCall, CometChatOption, CometChatOutgoingCall, CometChatPopover, CometChatRadioButton, CometChatReactionInfo, CometChatReactionList, CometChatReactions, CometChatSearchBar, CometChatTextBubble, CometChatTextFormatter, CometChatThreadedMessagePreview, CometChatToast, CometChatUIEvents, CometChatUIKit, CometChatUIKitCalls, CometChatUIKitConstants, CometChatUIKitLoginListener, CometChatUIKitUtility, CometChatUrlsFormatter, CometChatUserEvents, CometChatUserMemberWrapper, CometChatUsers, CometChatUtilityConstants, CometChatVideoBubble, ConversationUtils, DataSource, DataSourceDecorator, DatePatterns, DateTimePickerMode, DocumentIconAlignment, ElementType, EnterKeyBehavior, ExtensionsDataSource, GroupMemberUtils, HTTPSRequestMethods, IActiveChatChanged, IDialog, IGroupLeft, IGroupMemberAdded, IGroupMemberJoined, IGroupMemberKickedBanned, IGroupMemberScopeChanged, IGroupMemberUnBanned, IMentionsCountWarning, IMessages, IModal, IMouseEvent, IOpenChat, IOwnershipChanged, IPanel, IShowOngoingCall, IconButtonAlignment, LabelAlignment, LinkPreviewExtension, LinkPreviewExtensionDecorator, MentionsTargetElement, MentionsVisibility, MessageBubbleAlignment, MessageListAlignment, MessageReceiptUtils, MessageStatus, MessageTranslationExtension, MessageTranslationExtensionDecorator, MessageUtils, MessagesDataSource, MouseEventSource, OutgoingCallConfiguration, PanelAlignment, Placement$1 as Placement, PollsConfiguration, PollsExtension, PollsExtensionDecorator, PreviewMessageMode, Receipts, RecordingType, SelectionMode, States, StickersExtension, StickersExtensionDecorator, StorageUtils, TabAlignment, TabsVisibility, ThumbnailGenerationExtension, ThumbnailGenerationExtensionDecorator, TimestampAlignment, TitleAlignment, UIKitSettings, UIKitSettingsBuilder, UserMemberListType, convertMinutesToHoursMinutesSeconds, convertSecondsToHoursMinutesSeconds, downloadRecordingFromURL, formatDateFromTimestamp, getCallStatusWithType, getThemeMode, getThemeVariable, isMessageSentByMe, isMissedCall, isMobileDevice, isSafari, isSentByMe, isURL, localize, processFileForAudio, sanitizeHtml, useCometChatErrorHandler, useRefSync, useStateRef, verifyCallUser };
|