@cometchat/chat-uikit-react 5.0.7 → 5.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/index.d.ts +162 -225
  2. package/dist/index.js +1 -1
  3. package/dist/index.js.map +1 -1
  4. package/dist/styles/CometChatMessageComposer.css +7 -0
  5. package/dist/styles/CometChatMessageHeader.css +0 -6
  6. package/dist/styles/CometChatReactionList.css +1 -1
  7. package/dist/styles/MessageTranslationBubble.css +2 -4
  8. package/dist/styles/components/CometChatMessageComposer.css +7 -0
  9. package/dist/styles/components/CometChatMessageHeader.css +0 -6
  10. package/dist/styles/components/CometChatReactionList.css +1 -1
  11. package/dist/styles/components/MessageTranslationBubble.css +2 -4
  12. package/dist/types/CometChatUIKit/CometChatUIKitUtility.d.ts +0 -1
  13. package/dist/types/Enums/Enums.d.ts +2 -1
  14. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/webaudio.d.ts +2 -2
  15. package/dist/types/components/BaseComponents/CometChatEmojiKeyboard/useCometChatEmojiKeyboard.d.ts +0 -1
  16. package/dist/types/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +1 -1
  17. package/dist/types/components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble.d.ts +1 -1
  18. package/dist/types/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +1 -1
  19. package/dist/types/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +1 -1
  20. package/dist/types/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +1 -1
  21. package/dist/types/components/Calling/OutgoingCallConfiguration.d.ts +1 -1
  22. package/dist/types/components/CometChatConversations/CometChatConversations.d.ts +1 -1
  23. package/dist/types/components/CometChatConversations/controller.d.ts +0 -1
  24. package/dist/types/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +1 -0
  25. package/dist/types/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +6 -0
  26. package/dist/types/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +10 -0
  27. package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +1 -1
  28. package/dist/types/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +11 -1
  29. package/dist/types/components/CometChatUserMemberWrapper/CometChatUserMemberWrapper.d.ts +1 -1
  30. package/dist/types/components/CometChatUsers/controller.d.ts +0 -1
  31. package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +0 -1
  32. package/dist/types/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +2 -3
  33. package/dist/types/events/CometChatUIEvents.d.ts +1 -0
  34. package/dist/types/modals/CometChatActionsView.d.ts +1 -1
  35. package/dist/types/modals/CometChatMessageTemplate.d.ts +4 -3
  36. package/dist/types/resources/CometChatLocalize/cometchat-localize.d.ts +16 -76
  37. package/dist/types/utils/DataSource.d.ts +2 -2
  38. package/dist/types/utils/DataSourceDecorator.d.ts +2 -2
  39. package/dist/types/utils/MessageReceiptUtils.d.ts +3 -30
  40. package/dist/types/utils/MessageUtils.d.ts +4 -3
  41. package/dist/types/utils/MessagesDataSource.d.ts +3 -4
  42. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1,8 +1,7 @@
1
1
  import * as React from 'react';
2
- import React__default, { JSX as JSX$1, ReactNode, FC } from 'react';
2
+ import React__default, { JSX, ReactNode, FC } from 'react';
3
3
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
4
  import * as _cometchat_chat_sdk_javascript from '@cometchat/chat-sdk-javascript';
5
- import { CometChat as CometChat$1 } from '@cometchat/chat-sdk-javascript';
6
5
  import { Subject } from 'rxjs';
7
6
 
8
7
  /**
@@ -110,7 +109,8 @@ declare enum TabAlignment {
110
109
  declare enum MessageStatus {
111
110
  inprogress = 0,
112
111
  success = 1,
113
- error = 2
112
+ error = 2,
113
+ cancelled = 3
114
114
  }
115
115
  /**
116
116
  * This is used to specify the types of the read receipts for the message.
@@ -426,7 +426,6 @@ declare class CometChatLocalize {
426
426
  WRONG_FILE_TYPE: string;
427
427
  MESSAGE_HEADER: string;
428
428
  MESSAGE_LIST: string;
429
- /**Properties and constants */
430
429
  MESSAGE_COMPOSER: string;
431
430
  USERS_WITH_MESSAGES: string;
432
431
  USER_LIST: string;
@@ -454,7 +453,7 @@ declare class CometChatLocalize {
454
453
  MESSAGE_IMAGE: string;
455
454
  MESSAGE_FILE: string;
456
455
  MESSAGE_VIDEO: string;
457
- MESSAGE_AUDIO: string; /**Override resources */
456
+ MESSAGE_AUDIO: string;
458
457
  CUSTOM_MESSAGE: string;
459
458
  SELECT_A_DATE: string;
460
459
  TIME_ZONE: string;
@@ -505,11 +504,6 @@ declare class CometChatLocalize {
505
504
  ADD_MEMBERS: string;
506
505
  SEND_MESSAGE: string;
507
506
  UNBLOCK_USER: string;
508
- /**
509
- * Accepts the string to localize and return the localized string
510
- * @param {String} str
511
- * @returns {String} localized str
512
- */
513
507
  BLOCK_USER: string;
514
508
  DELETE_AND_EXIT: string;
515
509
  LEAVE_GROUP: string;
@@ -1300,11 +1294,7 @@ declare class CometChatLocalize {
1300
1294
  TYPING: string;
1301
1295
  IS_TYPING: string;
1302
1296
  CLOSE: string;
1303
- ENTER_GROUP_NAME: string; /**
1304
- * Accepts the string to localize and return the localized string
1305
- * @param {String} str
1306
- * @returns {String} localized str
1307
- */
1297
+ ENTER_GROUP_NAME: string;
1308
1298
  ADD_MEMBERS: string;
1309
1299
  SEND_MESSAGE: string;
1310
1300
  UNBLOCK_USER: string;
@@ -1618,17 +1608,12 @@ declare class CometChatLocalize {
1618
1608
  MESSAGE_RECEIPT: string;
1619
1609
  MESSAGE: string;
1620
1610
  RECEIPT_INFORMATION: string;
1621
- /**
1622
- * The `CometChatLocalize` class handles localization for the CometChat application.
1623
- * It provides functionality to detect the user's browser language settings and
1624
- * set the application's language accordingly.
1625
- */
1626
1611
  NO_RECIPIENT: string;
1627
1612
  NO_RECIPIENTS: string;
1628
1613
  CONVERSATIONS_WITH_MESSAGES: string;
1629
1614
  CONVERSATIONS: string;
1630
1615
  CONVERSATION_LIST: string;
1631
- MESSAGES: string; /**Properties and constants */
1616
+ MESSAGES: string;
1632
1617
  WRONG_FILE_TYPE: string;
1633
1618
  MESSAGE_HEADER: string;
1634
1619
  MESSAGE_LIST: string;
@@ -1651,7 +1636,7 @@ declare class CometChatLocalize {
1651
1636
  GROUP_PASSWORD_BLANK: string;
1652
1637
  GROUP_NAME_BLANK: string;
1653
1638
  GROUP_TYPE_BLANK: string;
1654
- DELETE_CONVERSATION: string; /**Add to the original array of translations if language code is not found */
1639
+ DELETE_CONVERSATION: string;
1655
1640
  ADD_TO_CHAT: string;
1656
1641
  MORE: string;
1657
1642
  COPY: string;
@@ -1687,10 +1672,7 @@ declare class CometChatLocalize {
1687
1672
  MODERATOR: string;
1688
1673
  PARTICIPANT: string;
1689
1674
  PUBLIC: string;
1690
- PRIVATE: string; /**
1691
- * Set the active language
1692
- * @param {String} language
1693
- */
1675
+ PRIVATE: string;
1694
1676
  PASSWORD_PROTECTED: string;
1695
1677
  PRIVACY_AND_SECURITY: string;
1696
1678
  PREFERENCES: string;
@@ -2063,10 +2045,7 @@ declare class CometChatLocalize {
2063
2045
  CUSTOM_MESSAGE: string;
2064
2046
  SELECT_A_DATE: string;
2065
2047
  TIME_ZONE: string;
2066
- MEETING_SCHEDULED: string; /**
2067
- * Returns the browser language
2068
- * @returns {String} browser langauge i.e. en-US
2069
- */
2048
+ MEETING_SCHEDULED: string;
2070
2049
  SOMETHING_WRONG: string;
2071
2050
  MEETING_SLOT_BOOK: string;
2072
2051
  MEETING_BOOK_NEW_SLOT: string;
@@ -2488,10 +2467,7 @@ declare class CometChatLocalize {
2488
2467
  PARTICIPANT: string;
2489
2468
  PUBLIC: string;
2490
2469
  PRIVATE: string;
2491
- PASSWORD_PROTECTED: string; /**
2492
- * Returns the active language. Return fallback language if translation is not available for the active language
2493
- * @returns {String} active language
2494
- */
2470
+ PASSWORD_PROTECTED: string;
2495
2471
  PRIVACY_AND_SECURITY: string;
2496
2472
  PREFERENCES: string;
2497
2473
  MEMBERS: string;
@@ -2859,7 +2835,6 @@ declare class CometChatLocalize {
2859
2835
  MESSAGE_IMAGE: string;
2860
2836
  MESSAGE_FILE: string;
2861
2837
  MESSAGE_VIDEO: string;
2862
- /**Add to the original array of translations if language code is not found */
2863
2838
  MESSAGE_AUDIO: string;
2864
2839
  CUSTOM_MESSAGE: string;
2865
2840
  SELECT_A_DATE: string;
@@ -2883,10 +2858,7 @@ declare class CometChatLocalize {
2883
2858
  CUSTOM_MESSAGE_DOCUMENT: string;
2884
2859
  CUSTOM_MESSAGE_WHITEBOARD: string;
2885
2860
  ONLINE: string;
2886
- ADMINISTRATOR: string; /**
2887
- * Returns the active language. Return fallback language if translation is not available for the active language
2888
- * @returns {String} active language
2889
- */
2861
+ ADMINISTRATOR: string;
2890
2862
  ADMIN: string;
2891
2863
  MODERATOR: string;
2892
2864
  PARTICIPANT: string;
@@ -2900,10 +2872,7 @@ declare class CometChatLocalize {
2900
2872
  EDITED: string;
2901
2873
  TODAY: string;
2902
2874
  YESTERDAY: string;
2903
- SUNDAY: string; /**
2904
- * Set the active language
2905
- * @param {String} language
2906
- */
2875
+ SUNDAY: string;
2907
2876
  MONDAY: string;
2908
2877
  TUESDAY: string;
2909
2878
  WEDNESDAY: string;
@@ -3309,9 +3278,7 @@ declare class CometChatLocalize {
3309
3278
  SATURDAY: string;
3310
3279
  TYPING: string;
3311
3280
  IS_TYPING: string;
3312
- CLOSE: string; /**
3313
- * Sets the default lannguage if no language is passed in init method
3314
- */
3281
+ CLOSE: string;
3315
3282
  ENTER_GROUP_NAME: string;
3316
3283
  ADD_MEMBERS: string;
3317
3284
  SEND_MESSAGE: string;
@@ -3657,7 +3624,7 @@ declare class CometChatLocalize {
3657
3624
  DELETE_CONVERSATION: string;
3658
3625
  ADD_TO_CHAT: string;
3659
3626
  MORE: string;
3660
- COPY: string; /**Override resources */
3627
+ COPY: string;
3661
3628
  VOICE_RECORDING: string;
3662
3629
  MESSAGE_IMAGE: string;
3663
3630
  MESSAGE_FILE: string;
@@ -4061,20 +4028,10 @@ declare class CometChatLocalize {
4061
4028
  SELECT_TIME: string;
4062
4029
  NO_CALLS_SELECTED: string;
4063
4030
  SELECT__GROUP: string;
4064
- /**
4065
- * Initializes localization with the specified language and custom resources.
4066
- * @param {string} [language=""] - The language code to set.
4067
- * @param {object} [resources={}] - Custom translations to override defaults.
4068
- */
4069
4031
  SELECT__USER: string;
4070
4032
  GROUP_PASSWORD_BLANK: string;
4071
4033
  GROUP_NAME_BLANK: string;
4072
4034
  GROUP_TYPE_BLANK: string;
4073
- /**
4074
- * Initializes localization with the specified language and custom resources.
4075
- * @param {string} [language=""] - The language code to set.
4076
- * @param {object} [resources={}] - Custom translations to override defaults.
4077
- */
4078
4035
  DELETE_CONVERSATION: string;
4079
4036
  ADD_TO_CHAT: string;
4080
4037
  MORE: string;
@@ -4116,10 +4073,7 @@ declare class CometChatLocalize {
4116
4073
  PREFERENCES: string;
4117
4074
  MEMBERS: string;
4118
4075
  MEMBER: string;
4119
- EDITED: string; /**
4120
- * Returns the language code
4121
- * @returns {String} language code i.e. en
4122
- */
4076
+ EDITED: string;
4123
4077
  TODAY: string;
4124
4078
  YESTERDAY: string;
4125
4079
  SUNDAY: string;
@@ -4878,10 +4832,7 @@ declare class CometChatLocalize {
4878
4832
  MEETING_NO_SLOTS_AVAILABLE: string;
4879
4833
  MEETING_TRY_DIFFERENT_DATE: string;
4880
4834
  NO_TIME_SLOTS_AVAILABLE: string;
4881
- SCHEDULE: string; /**
4882
- * Returns the language code
4883
- * @returns {String} language code i.e. en
4884
- */
4835
+ SCHEDULE: string;
4885
4836
  MORE_TIMES: string;
4886
4837
  MISSED_VOICE_CALL: string;
4887
4838
  MEET_WITH: string;
@@ -5306,11 +5257,7 @@ declare class CometChatLocalize {
5306
5257
  YESTERDAY: string;
5307
5258
  SUNDAY: string;
5308
5259
  MONDAY: string;
5309
- TUESDAY: string; /**
5310
- * Accepts the string to localize and return the localized string
5311
- * @param {String} str
5312
- * @returns {String} localized str
5313
- */
5260
+ TUESDAY: string;
5314
5261
  WEDNESDAY: string;
5315
5262
  THURSDAY: string;
5316
5263
  FRIDAY: string;
@@ -5702,21 +5649,14 @@ declare class CometChatLocalize {
5702
5649
  PREFERENCES: string;
5703
5650
  MEMBERS: string;
5704
5651
  MEMBER: string;
5705
- EDITED: string; /**
5706
- * Set the active language
5707
- * @param {String} language
5708
- */
5652
+ EDITED: string;
5709
5653
  TODAY: string;
5710
5654
  YESTERDAY: string;
5711
5655
  SUNDAY: string;
5712
5656
  MONDAY: string;
5713
5657
  TUESDAY: string;
5714
5658
  WEDNESDAY: string;
5715
- THURSDAY: string; /**
5716
- * Accepts the string to localize and return the localized string
5717
- * @param {String} str
5718
- * @returns {String} localized str
5719
- */
5659
+ THURSDAY: string;
5720
5660
  FRIDAY: string;
5721
5661
  SATURDAY: string;
5722
5662
  TYPING: string;
@@ -6682,6 +6622,18 @@ declare class CometChatMessageOption extends CometChatOption {
6682
6622
  });
6683
6623
  }
6684
6624
 
6625
+ /**
6626
+ * Class that handles the text formatting for URLs in CometChat.
6627
+ * CometChatUrlsFormatter is a child class of CometChatTextFormatter.
6628
+ * It extends the functionality of text formatting to specifically handle URLs.
6629
+ * It is used in extension decorators like link preview, message translation, and dataSource utils.
6630
+ */
6631
+ declare class CometChatUrlsFormatter extends CometChatTextFormatter {
6632
+ constructor(regexPatterns: Array<RegExp>);
6633
+ protected onRegexMatch(inputText?: string | null): string;
6634
+ registerEventListeners(element: HTMLElement, classList: DOMTokenList): HTMLElement;
6635
+ }
6636
+
6685
6637
  /**
6686
6638
  * CometChatMessageTemplate is a pre-defined structure for creating message views
6687
6639
  * that can be used as a starting point or blueprint for creating message views,
@@ -6700,7 +6652,7 @@ declare class CometChatMessageTemplate {
6700
6652
  * and Video bubble based on the type of the message.
6701
6653
  * @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
6702
6654
  */
6703
- contentView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX.Element | null) | null;
6655
+ contentView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, textFormatters?: CometChatTextFormatter[]) => Element | JSX.Element | null) | null;
6704
6656
  /**
6705
6657
  * Custom component to customize the complete message bubble.
6706
6658
  * By default, headerView, contentView and footerView collectively form a message bubble.
@@ -6729,7 +6681,7 @@ declare class CometChatMessageTemplate {
6729
6681
  * By default, it displays the receipt and the timestamp.
6730
6682
  * @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
6731
6683
  */
6732
- statusInfoView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipt?: boolean, datePattern?: DatePatterns) => Element | JSX.Element | null) | null;
6684
+ statusInfoView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipts?: boolean, datePattern?: DatePatterns) => Element | JSX.Element | null) | null;
6733
6685
  /**
6734
6686
  * List of available actions that any user can perform on a message, like reacting,
6735
6687
  * editing or deleting a message.
@@ -6815,18 +6767,6 @@ declare class ConversationUtils {
6815
6767
  static getLastMessageCall(conversation: CometChat.Conversation): any;
6816
6768
  }
6817
6769
 
6818
- /**
6819
- * Class that handles the text formatting for URLs in CometChat.
6820
- * CometChatUrlsFormatter is a child class of CometChatTextFormatter.
6821
- * It extends the functionality of text formatting to specifically handle URLs.
6822
- * It is used in extension decorators like link preview, message translation, and dataSource utils.
6823
- */
6824
- declare class CometChatUrlsFormatter extends CometChatTextFormatter {
6825
- constructor(regexPatterns: Array<RegExp>);
6826
- protected onRegexMatch(inputText?: string | null): string;
6827
- registerEventListeners(element: HTMLElement, classList: DOMTokenList): HTMLElement;
6828
- }
6829
-
6830
6770
  type ComposerId = {
6831
6771
  parentMessageId: number | null;
6832
6772
  user: string | null;
@@ -6854,28 +6794,28 @@ declare class MessagesDataSource implements DataSource {
6854
6794
  getSendMessagePrivatelyOption(): CometChatActionsIcon;
6855
6795
  getCopyOption(): CometChatActionsIcon;
6856
6796
  getMessageInfoOption(): CometChatActionsIcon;
6857
- isSentByMe(loggedInUser: CometChat$1.User, message: CometChat$1.BaseMessage): boolean;
6858
- getTextMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
6859
- getIsSentByMe(message: CometChat$1.BaseMessage): boolean;
6860
- getImageMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
6861
- getVideoMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
6862
- getAudioMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
6863
- getFileMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
6797
+ isSentByMe(loggedInUser: CometChat.User, message: CometChat.BaseMessage): boolean;
6798
+ getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
6799
+ getIsSentByMe(message: CometChat.BaseMessage): boolean;
6800
+ getImageMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
6801
+ getVideoMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
6802
+ getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
6803
+ getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
6864
6804
  getReceiptClass(status?: number): "error" | "read" | "delivered" | "sent" | "wait" | undefined;
6865
6805
  /**
6866
6806
  * Function to get receipt for message bubble
6867
6807
  * @param {CometChat.BaseMessage} item - The message bubble for which the receipt needs to be fetched
6868
6808
  * @returns {JSX.Element | null} Returns JSX.Element for receipt of a message bubble or null
6869
6809
  */
6870
- getBubbleStatusInfoReceipt: (item: CometChat$1.BaseMessage, hideReceipt?: boolean) => JSX.Element | null;
6810
+ getBubbleStatusInfoReceipt: (item: CometChat.BaseMessage, hideReceipts?: boolean) => JSX.Element | null;
6871
6811
  /**
6872
6812
  * Function to get status and date for message bubble
6873
6813
  * @param {CometChat.BaseMessage} item - The message bubble for which the information needs to be fetched
6874
6814
  * @returns {JSX.Element | null} Returns JSX.Element for status and date of a message bubble or null
6875
6815
  */
6876
- getBubbleStatusInfoDate: (item: CometChat$1.BaseMessage, datePattern?: DatePatterns) => JSX.Element | null;
6877
- getStatusInfoView: (_messageObject: CometChat$1.BaseMessage, _alignment: MessageBubbleAlignment, hideReceipt?: boolean, datePattern?: DatePatterns) => react_jsx_runtime.JSX.Element | null;
6878
- getBottomView(_messageObject: CometChat$1.BaseMessage, _alignment: MessageBubbleAlignment): null;
6816
+ getBubbleStatusInfoDate: (item: CometChat.BaseMessage, datePattern?: DatePatterns) => JSX.Element | null;
6817
+ getStatusInfoView: (_messageObject: CometChat.BaseMessage, _alignment: MessageBubbleAlignment, hideReceipts?: boolean, datePattern?: DatePatterns) => react_jsx_runtime.JSX.Element | null;
6818
+ getBottomView(_messageObject: CometChat.BaseMessage, _alignment: MessageBubbleAlignment): null;
6879
6819
  getTextMessageTemplate(additionalConfigurations?: additionalParams): CometChatMessageTemplate;
6880
6820
  getAudioMessageTemplate(): CometChatMessageTemplate;
6881
6821
  getVideoMessageTemplate(): CometChatMessageTemplate;
@@ -6886,25 +6826,25 @@ declare class MessagesDataSource implements DataSource {
6886
6826
  getFileMessageTemplate(): CometChatMessageTemplate;
6887
6827
  getAllMessageTemplates(additionalConfigurations?: additionalParams): Array<CometChatMessageTemplate>;
6888
6828
  getMessageTemplate(messageType: string, messageCategory: string, additionalConfigurations?: additionalParams): CometChatMessageTemplate | null;
6889
- getMessageOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
6890
- getCommonOptions(loggedInUser: CometChat$1.User, messageObject: CometChat$1.BaseMessage, group?: CometChat$1.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
6829
+ getMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
6830
+ getCommonOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: additionalParamsOptions): Array<CometChatActionsIcon | CometChatActionsView>;
6891
6831
  getAllMessageTypes(): Array<string>;
6892
6832
  addList(): string;
6893
6833
  getAllMessageCategories(additionalConfigurations?: {
6894
6834
  hideGroupActionMessages?: boolean;
6895
6835
  }): Array<string>;
6896
- getStickerButton(id: ComposerId, user?: CometChat$1.User, group?: CometChat$1.Group): JSX.Element | undefined;
6836
+ getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): JSX.Element | undefined;
6897
6837
  getId(): string;
6898
- getTextMessageContentView(message: CometChat$1.TextMessage, _alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): JSX.Element | Element;
6899
- getAudioMessageContentView(message: CometChat$1.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6900
- getFileMessageContentView(message: CometChat$1.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6901
- getImageMessageContentView(message: CometChat$1.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6902
- getVideoMessageContentView(message: CometChat$1.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6838
+ getTextMessageContentView(message: CometChat.TextMessage, _alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): JSX.Element | Element;
6839
+ getAudioMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6840
+ getFileMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6841
+ getImageMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6842
+ getVideoMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6903
6843
  getActionMessage(message: any): string;
6904
- getDeleteMessageBubble(message: CometChat$1.BaseMessage, text?: string, alignment?: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
6905
- getGroupActionBubble(message: CometChat$1.BaseMessage): react_jsx_runtime.JSX.Element;
6906
- getTextMessageBubble(messageText: string, message: CometChat$1.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): Element | JSX.Element;
6907
- getAudioMessageBubble(audioUrl: string, message: CometChat$1.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
6844
+ getDeleteMessageBubble(message: CometChat.BaseMessage, text?: string, alignment?: MessageBubbleAlignment): react_jsx_runtime.JSX.Element;
6845
+ getGroupActionBubble(message: CometChat.BaseMessage): react_jsx_runtime.JSX.Element;
6846
+ getTextMessageBubble(messageText: string, message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): Element | JSX.Element;
6847
+ getAudioMessageBubble(audioUrl: string, message: CometChat.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
6908
6848
  /**
6909
6849
  * Function to check mimeType and return the iconUrl of that type
6910
6850
  * @param mimeType
@@ -6917,16 +6857,16 @@ declare class MessagesDataSource implements DataSource {
6917
6857
  * @returns
6918
6858
  */
6919
6859
  getFileSize: (sizeInBytes: number) => string;
6920
- getFileMessageBubble(fileUrl: string, message: CometChat$1.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
6921
- getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat$1.MediaMessage, onClick?: Function): react_jsx_runtime.JSX.Element;
6922
- getVideoMessageBubble(videoUrl: string, message: CometChat$1.MediaMessage, thumbnailUrl?: string, onClick?: Function): Element | JSX.Element;
6860
+ getFileMessageBubble(fileUrl: string, message: CometChat.MediaMessage, title?: string, alignment?: MessageBubbleAlignment): Element | JSX.Element;
6861
+ getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function): react_jsx_runtime.JSX.Element;
6862
+ getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function): Element | JSX.Element;
6923
6863
  imageAttachmentOption(): CometChatMessageComposerAction;
6924
6864
  videoAttachmentOption(): CometChatMessageComposerAction;
6925
6865
  audioAttachmentOption(): CometChatMessageComposerAction;
6926
6866
  fileAttachmentOption(): CometChatMessageComposerAction;
6927
6867
  getAttachmentOptions(id: ComposerId, additionalConfigurations?: any): Array<CometChatMessageComposerAction>;
6928
- getLastConversationMessage(conversation: CometChat$1.Conversation, loggedInUser: CometChat$1.User, additionalConfigurations: additionalParams): string;
6929
- getAuxiliaryHeaderMenu(user?: CometChat$1.User, group?: CometChat$1.Group, additionalConfigurations?: any): Element[] | JSX.Element[];
6868
+ getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations: additionalParams): string;
6869
+ getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group, additionalConfigurations?: any): Element[] | JSX.Element[];
6930
6870
  /**
6931
6871
  * Adds styled @ for every mention in the text by matching uid
6932
6872
  *
@@ -6934,21 +6874,21 @@ declare class MessagesDataSource implements DataSource {
6934
6874
  * @param {string} subtitle
6935
6875
  * @returns {void}
6936
6876
  */
6937
- getMentionsFormattedText(message: CometChat$1.TextMessage, subtitle: string, mentionsFormatterParams: {
6877
+ getMentionsFormattedText(message: CometChat.TextMessage, subtitle: string, mentionsFormatterParams: {
6938
6878
  mentionsTargetElement: MentionsTargetElement;
6939
6879
  }): string;
6940
6880
  getAllTextFormatters(formatterParams: additionalParams): CometChatTextFormatter[];
6941
6881
  getMentionsTextFormatter(params: additionalParams): CometChatMentionsFormatter;
6942
6882
  getUrlTextFormatter(params?: additionalParams): CometChatUrlsFormatter;
6943
- getFormMessageBubble(message: CometChat$1.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
6944
- getSchedulerMessageBubble(message: CometChat$1.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
6945
- getCardMessageBubble(message: CometChat$1.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
6883
+ getFormMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
6884
+ getSchedulerMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
6885
+ getCardMessageBubble(message: CometChat.InteractiveMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
6946
6886
  getFormMessageTemplate(): CometChatMessageTemplate;
6947
6887
  getSchedulerMessageTemplate(): CometChatMessageTemplate;
6948
6888
  getCardMessageTemplate(): CometChatMessageTemplate;
6949
- getFormMessageContentView(message: CometChat$1.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6950
- getSchedulerMessageContentView(message: CometChat$1.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6951
- getCardMessageContentView(message: CometChat$1.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6889
+ getFormMessageContentView(message: CometChat.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6890
+ getSchedulerMessageContentView(message: CometChat.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6891
+ getCardMessageContentView(message: CometChat.InteractiveMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
6952
6892
  }
6953
6893
 
6954
6894
  /**
@@ -7438,7 +7378,7 @@ declare abstract class DataSource {
7438
7378
  abstract getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
7439
7379
  abstract getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
7440
7380
  abstract getBottomView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment): Element | JSX.Element | null;
7441
- abstract getStatusInfoView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipt?: boolean, datePattern?: DatePatterns): Element | JSX.Element | null;
7381
+ abstract getStatusInfoView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipts?: boolean, datePattern?: DatePatterns): Element | JSX.Element | null;
7442
7382
  abstract getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, otherParams: Object | undefined): Element | JSX.Element;
7443
7383
  abstract getImageMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
7444
7384
  abstract getVideoMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
@@ -7641,7 +7581,7 @@ declare abstract class DataSourceDecorator implements DataSource {
7641
7581
  getVideoMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
7642
7582
  getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
7643
7583
  getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group, additionalParams?: Object | undefined): Array<CometChatActionsIcon | CometChatActionsView>;
7644
- getStatusInfoView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipt?: boolean, datePattern?: DatePatterns): JSX.Element | Element | null;
7584
+ getStatusInfoView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipts?: boolean, datePattern?: DatePatterns): JSX.Element | Element | null;
7645
7585
  getBottomView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment): JSX.Element | Element | null;
7646
7586
  getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: Object | undefined): JSX.Element | Element;
7647
7587
  getImageMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): JSX.Element | Element;
@@ -7693,7 +7633,7 @@ interface ListProps<T> {
7693
7633
  *
7694
7634
  * @defaultValue `""`
7695
7635
  */
7696
- headerView?: JSX$1.Element;
7636
+ headerView?: JSX.Element;
7697
7637
  /**
7698
7638
  * Hide the search bar
7699
7639
  *
@@ -7726,7 +7666,7 @@ interface ListProps<T> {
7726
7666
  /**
7727
7667
  * Custom list item view to be rendered for each object in the `list` prop
7728
7668
  */
7729
- itemView: (item: T, itemIndex: number) => JSX$1.Element;
7669
+ itemView: (item: T, itemIndex: number) => JSX.Element;
7730
7670
  /**
7731
7671
  * Function to call when the scrollbar is at the top-most position of the scrollable list
7732
7672
  */
@@ -7766,7 +7706,7 @@ interface ListProps<T> {
7766
7706
  /**
7767
7707
  * Custom view for the loading state of the component
7768
7708
  */
7769
- loadingView?: JSX$1.Element;
7709
+ loadingView?: JSX.Element;
7770
7710
  /**
7771
7711
  * Hide error view
7772
7712
  *
@@ -7779,11 +7719,11 @@ interface ListProps<T> {
7779
7719
  /**
7780
7720
  * Custom view for the error state of the component
7781
7721
  */
7782
- errorView?: JSX$1.Element;
7722
+ errorView?: JSX.Element;
7783
7723
  /**
7784
7724
  * Custom view for the empty state of the component
7785
7725
  */
7786
- emptyView?: JSX$1.Element;
7726
+ emptyView?: JSX.Element;
7787
7727
  /**
7788
7728
  * Set the scrollbar to the bottom-most position of the scrollable list
7789
7729
  *
@@ -7808,7 +7748,7 @@ interface ListProps<T> {
7808
7748
  *
7809
7749
  * @param props - The props for configuring the list
7810
7750
  */
7811
- declare function List<T>(props: ListProps<T>): JSX$1.Element;
7751
+ declare function List<T>(props: ListProps<T>): JSX.Element;
7812
7752
  /**
7813
7753
  * Renders a scrollable list
7814
7754
  */
@@ -8533,7 +8473,7 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
8533
8473
  * @param group - Optional group object.
8534
8474
  * @returns An array of auxiliary options.
8535
8475
  */
8536
- getStickerButton(id: ComposerId, user?: CometChat$1.User, group?: CometChat$1.Group): react_jsx_runtime.JSX.Element;
8476
+ getStickerButton(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): react_jsx_runtime.JSX.Element;
8537
8477
  /**
8538
8478
  * Creates the sticker auxiliary button component.
8539
8479
  * @param id - A map containing relevant IDs.
@@ -8542,7 +8482,7 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
8542
8482
  * @param group - Optional group object.
8543
8483
  * @returns The JSX element for the sticker auxiliary button.
8544
8484
  */
8545
- getStickerAuxiliaryButton: (id: ComposerId, user?: CometChat$1.User, group?: CometChat$1.Group) => react_jsx_runtime.JSX.Element;
8485
+ getStickerAuxiliaryButton: (id: ComposerId, user?: CometChat.User, group?: CometChat.Group) => react_jsx_runtime.JSX.Element;
8546
8486
  /**
8547
8487
  * Sends a sticker message.
8548
8488
  * @param event - The event object containing sticker details.
@@ -8552,14 +8492,14 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
8552
8492
  * Sends a sticker message.
8553
8493
  * @param event - The event object containing sticker details.
8554
8494
  */
8555
- getSticker(message: CometChat$1.CustomMessage): any;
8495
+ getSticker(message: CometChat.CustomMessage): any;
8556
8496
  /**
8557
8497
  * Creates a JSX element for displaying the sticker message content.
8558
8498
  * @param stickerMessage - The custom message containing sticker data.
8559
8499
  * @param _theme - The theme object for styling.
8560
8500
  * @returns The JSX element for the sticker message content.
8561
8501
  */
8562
- getStickerMessageContentView(stickerMessage: CometChat$1.CustomMessage): react_jsx_runtime.JSX.Element;
8502
+ getStickerMessageContentView(stickerMessage: CometChat.CustomMessage): react_jsx_runtime.JSX.Element;
8563
8503
  /**
8564
8504
  * Creates a sticker message template.
8565
8505
  * @param _theme - The theme object for styling.
@@ -8595,7 +8535,7 @@ declare class StickersExtensionDecorator extends DataSourceDecorator {
8595
8535
  * @param additionalConfigurations - Additional configurations, if any.
8596
8536
  * @returns A string representing the last message.
8597
8537
  */
8598
- getLastConversationMessage(conversation: CometChat$1.Conversation, loggedInUser: CometChat$1.User, additionalConfigurations?: any): string;
8538
+ getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations?: any): string;
8599
8539
  }
8600
8540
 
8601
8541
  /**
@@ -8644,7 +8584,7 @@ declare class ThumbnailGenerationExtensionDecorator extends DataSourceDecorator
8644
8584
  * @param {ImageBubbleStyle} [style] - Optional style for the image bubble.
8645
8585
  * @returns {React.ReactNode} The rendered image message bubble.
8646
8586
  */
8647
- getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function): JSX.Element | Element;
8587
+ getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function): React.JSX.Element | Element;
8648
8588
  /**
8649
8589
  * Provides the video message bubble with support for thumbnail generation.
8650
8590
  * It checks for a thumbnail URL in the message metadata and uses it if available.
@@ -8655,7 +8595,7 @@ declare class ThumbnailGenerationExtensionDecorator extends DataSourceDecorator
8655
8595
  * @param {Function} [onClick] - Optional click event handler.
8656
8596
  * @returns {React.ReactNode} The rendered video message bubble.
8657
8597
  */
8658
- getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function): JSX.Element | Element;
8598
+ getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function): React.JSX.Element | Element;
8659
8599
  }
8660
8600
 
8661
8601
  declare class CallingExtensionDecorator extends DataSourceDecorator {
@@ -8904,7 +8844,7 @@ declare const CometChatCallLogs: (props: CallLogsProps) => react_jsx_runtime.JSX
8904
8844
 
8905
8845
  interface ConversationsProps {
8906
8846
  /**
8907
- * Disables the display of message read receipts.
8847
+ * Disables the display of message read Receipts.
8908
8848
  *
8909
8849
  * @remarks If set to `true`, the receipt status of the sent message won't be displayed.
8910
8850
  * @defaultValue `false`
@@ -9002,54 +8942,54 @@ interface ConversationsProps {
9002
8942
  /**
9003
8943
  * A custom component to render in the top-right corner of the Conversations UI.
9004
8944
  */
9005
- headerView?: JSX$1.Element;
8945
+ headerView?: JSX.Element;
9006
8946
  /**
9007
8947
  * A custom component to display during the loading state.
9008
8948
  */
9009
- loadingView?: JSX$1.Element;
8949
+ loadingView?: JSX.Element;
9010
8950
  /**
9011
8951
  * A custom component to display when there are no conversations available.
9012
8952
  */
9013
- emptyView?: JSX$1.Element;
8953
+ emptyView?: JSX.Element;
9014
8954
  /**
9015
8955
  * A custom component to display when an error occurs.
9016
8956
  */
9017
- errorView?: JSX$1.Element;
8957
+ errorView?: JSX.Element;
9018
8958
  /**
9019
8959
  * A custom view to render each conversation in the list.
9020
8960
  *
9021
8961
  * @param conversation - An instance of `CometChat.Conversation` representing the conversation.
9022
8962
  * @returns A JSX element to be rendered as the conversation item.
9023
8963
  */
9024
- itemView?: (conversation: CometChat.Conversation) => JSX$1.Element;
8964
+ itemView?: (conversation: CometChat.Conversation) => JSX.Element;
9025
8965
  /**
9026
8966
  * A function that renders a JSX element to display the leading view.
9027
8967
  *
9028
8968
  * @param conversation - An instance of `CometChat.Conversation` representing the conversation.
9029
8969
  * @returns A JSX element to be rendered as the leading view.
9030
8970
  */
9031
- leadingView?: (conversation: CometChat.Conversation) => JSX$1.Element;
8971
+ leadingView?: (conversation: CometChat.Conversation) => JSX.Element;
9032
8972
  /**
9033
8973
  * A function that renders a JSX element to display the title view.
9034
8974
  *
9035
8975
  * @param conversation - An instance of `CometChat.Conversation` representing the conversation.
9036
8976
  * @returns A JSX element to be rendered as the title view.
9037
8977
  */
9038
- titleView?: (conversation: CometChat.Conversation) => JSX$1.Element;
8978
+ titleView?: (conversation: CometChat.Conversation) => JSX.Element;
9039
8979
  /**
9040
8980
  * A custom view to render the subtitle for each conversation.
9041
8981
  *
9042
8982
  * @param conversation - An instance of `CometChat.Conversation` representing the conversation.
9043
8983
  * @returns A JSX element to be rendered as the subtitle view.
9044
8984
  */
9045
- subtitleView?: (conversation: CometChat.Conversation) => JSX$1.Element;
8985
+ subtitleView?: (conversation: CometChat.Conversation) => JSX.Element;
9046
8986
  /**
9047
8987
  * A custom view to render at the end of each conversation item.
9048
8988
  *
9049
8989
  * @param conversation - An instance of `CometChat.Conversation` representing the conversation.
9050
8990
  * @returns A JSX element to be rendered as the trailing view.
9051
8991
  */
9052
- trailingView?: (conversation: CometChat.Conversation) => JSX$1.Element;
8992
+ trailingView?: (conversation: CometChat.Conversation) => JSX.Element;
9053
8993
  }
9054
8994
  /**
9055
8995
  * Renders a scrollable list of conversations that has been created in a CometChat app
@@ -9162,54 +9102,54 @@ interface GroupMembersProps {
9162
9102
  /**
9163
9103
  * A custom component to render in the top-right corner of the group members list.
9164
9104
  */
9165
- headerView?: JSX$1.Element;
9105
+ headerView?: JSX.Element;
9166
9106
  /**
9167
9107
  * A custom view to display during the loading state.
9168
9108
  */
9169
- loadingView?: JSX$1.Element;
9109
+ loadingView?: JSX.Element;
9170
9110
  /**
9171
9111
  * Custom view for the error state of the component.
9172
9112
  */
9173
- errorView?: JSX$1.Element;
9113
+ errorView?: JSX.Element;
9174
9114
  /**
9175
9115
  * A custom view to display when no group members are available in the list.
9176
9116
  */
9177
- emptyView?: JSX$1.Element;
9117
+ emptyView?: JSX.Element;
9178
9118
  /**
9179
9119
  * A custom view to render for each group member in the fetched list.
9180
9120
  *
9181
9121
  * @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
9182
9122
  * @returns A JSX element to be rendered as the group member item.
9183
9123
  */
9184
- itemView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
9124
+ itemView?: (groupMember: CometChat.GroupMember) => JSX.Element;
9185
9125
  /**
9186
9126
  * A function that renders a JSX element to display the leading view.
9187
9127
  *
9188
9128
  * @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
9189
9129
  * @returns A JSX element to be rendered as the leading view.
9190
9130
  */
9191
- leadingView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
9131
+ leadingView?: (groupMember: CometChat.GroupMember) => JSX.Element;
9192
9132
  /**
9193
9133
  * A function that renders a JSX element to display the title view.
9194
9134
  *
9195
9135
  * @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
9196
9136
  * @returns A JSX element to be rendered as the title view.
9197
9137
  */
9198
- titleView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
9138
+ titleView?: (groupMember: CometChat.GroupMember) => JSX.Element;
9199
9139
  /**
9200
9140
  * A function that renders a JSX element to display the subtitle view.
9201
9141
  *
9202
9142
  * @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
9203
9143
  * @returns A JSX element to be rendered as the subtitle view.
9204
9144
  */
9205
- subtitleView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
9145
+ subtitleView?: (groupMember: CometChat.GroupMember) => JSX.Element;
9206
9146
  /**
9207
9147
  * A function that renders a JSX element to display the trailing view.
9208
9148
  *
9209
9149
  * @param groupMember - An instance of `CometChat.GroupMember` representing the group member.
9210
9150
  * @returns A JSX element to be rendered as the trailing view.
9211
9151
  */
9212
- trailingView?: (groupMember: CometChat.GroupMember) => JSX$1.Element;
9152
+ trailingView?: (groupMember: CometChat.GroupMember) => JSX.Element;
9213
9153
  }
9214
9154
  declare function CometChatGroupMembers(props: GroupMembersProps): react_jsx_runtime.JSX.Element;
9215
9155
 
@@ -9285,54 +9225,54 @@ interface GroupsProps {
9285
9225
  /**
9286
9226
  * A custom component to render in the top-right corner of the groups list.
9287
9227
  */
9288
- headerView?: JSX$1.Element;
9228
+ headerView?: JSX.Element;
9289
9229
  /**
9290
9230
  * A custom view to display during the loading state.
9291
9231
  */
9292
- loadingView?: JSX$1.Element;
9232
+ loadingView?: JSX.Element;
9293
9233
  /**
9294
9234
  * Custom view for the empty state of the component.
9295
9235
  */
9296
- emptyView?: JSX$1.Element;
9236
+ emptyView?: JSX.Element;
9297
9237
  /**
9298
9238
  * A custom view to display when an error occurs.
9299
9239
  */
9300
- errorView?: JSX$1.Element;
9240
+ errorView?: JSX.Element;
9301
9241
  /**
9302
9242
  * A custom view to render for each group in the fetched list.
9303
9243
  *
9304
9244
  * @param group - An instance of `CometChat.Group` representing the group.
9305
9245
  * @returns A JSX element to be rendered as the group item.
9306
9246
  */
9307
- itemView?: (group: CometChat.Group) => JSX$1.Element;
9247
+ itemView?: (group: CometChat.Group) => JSX.Element;
9308
9248
  /**
9309
9249
  * A function that renders a JSX element to display the leading view.
9310
9250
  *
9311
9251
  * @param group - An instance of `CometChat.Group` representing the group.
9312
9252
  * @returns A JSX element to be rendered as the leading view.
9313
9253
  */
9314
- leadingView?: (group: CometChat.Group) => JSX$1.Element;
9254
+ leadingView?: (group: CometChat.Group) => JSX.Element;
9315
9255
  /**
9316
9256
  * A function that renders a JSX element to display the title view.
9317
9257
  *
9318
9258
  * @param group - An instance of `CometChat.Group` representing the group.
9319
9259
  * @returns A JSX element to be rendered as the title view.
9320
9260
  */
9321
- titleView?: (group: CometChat.Group) => JSX$1.Element;
9261
+ titleView?: (group: CometChat.Group) => JSX.Element;
9322
9262
  /**
9323
9263
  * Custom subtitle view to be rendered for each group in the fetched list.
9324
9264
  *
9325
9265
  * @param group - An instance of `CometChat.Group` representing the group.
9326
9266
  * @returns A JSX element to be rendered as the subtitle view.
9327
9267
  */
9328
- subtitleView?: (group: CometChat.Group) => JSX$1.Element;
9268
+ subtitleView?: (group: CometChat.Group) => JSX.Element;
9329
9269
  /**
9330
9270
  * A function that renders a JSX element to display the trailing view.
9331
9271
  *
9332
9272
  * @param group - An instance of `CometChat.Group` representing the group.
9333
9273
  * @returns A JSX element to be rendered as the trailing view.
9334
9274
  */
9335
- trailingView?: (group: CometChat.Group) => JSX$1.Element;
9275
+ trailingView?: (group: CometChat.Group) => JSX.Element;
9336
9276
  }
9337
9277
  /**
9338
9278
  * Renders a scrollable list of groups that has been created in a CometChat app
@@ -9500,15 +9440,15 @@ interface MessageComposerProps {
9500
9440
  /**
9501
9441
  * A custom view for the send button to customize its appearance or behavior.
9502
9442
  */
9503
- sendButtonView?: JSX$1.Element;
9443
+ sendButtonView?: JSX.Element;
9504
9444
  /**
9505
9445
  * A custom view for an auxiliary button, which can be used alongside the send button.
9506
9446
  */
9507
- auxiliaryButtonView?: JSX$1.Element;
9447
+ auxiliaryButtonView?: JSX.Element;
9508
9448
  /**
9509
9449
  * A custom header section displayed at the top of the message composer, often used for media previews or additional information.
9510
9450
  */
9511
- headerView?: JSX$1.Element;
9451
+ headerView?: JSX.Element;
9512
9452
  }
9513
9453
  /**
9514
9454
  * Renders a message composer to send messages to a user or group of a CometChat App
@@ -9526,9 +9466,15 @@ interface MessageHeaderProps {
9526
9466
  showConversationSummaryButton?: boolean;
9527
9467
  /**
9528
9468
  * Hides the back button in the header in mobile view.
9469
+ * @deprecated Use 'showBackButton' prop instead. This prop is deprecated and will be removed in future versions.
9529
9470
  * @default false
9530
9471
  */
9531
9472
  hideBackButton?: boolean;
9473
+ /**
9474
+ * Hides the back button in the header in mobile view.
9475
+ * @default false
9476
+ */
9477
+ showBackButton?: boolean;
9532
9478
  /**
9533
9479
  * Hides the video call button.
9534
9480
  * @default false
@@ -9578,28 +9524,28 @@ interface MessageHeaderProps {
9578
9524
  /**
9579
9525
  * A custom JSX element for rendering a menu. It can be used to add options or actions.
9580
9526
  */
9581
- auxiliaryButtonView?: JSX$1.Element;
9527
+ auxiliaryButtonView?: JSX.Element;
9582
9528
  /**
9583
9529
  * A custom JSX element for rendering a list item view, typically used to show user or group details.
9584
9530
  */
9585
- itemView?: JSX$1.Element;
9531
+ itemView?: JSX.Element;
9586
9532
  /**
9587
9533
  * A function that renders a JSX element to display the leading view.
9588
9534
  */
9589
- leadingView?: JSX$1.Element;
9535
+ leadingView?: JSX.Element;
9590
9536
  /**
9591
9537
  * A function that renders a JSX element to display the title view.
9592
9538
  */
9593
- titleView?: JSX$1.Element;
9539
+ titleView?: JSX.Element;
9594
9540
  /**
9595
9541
  * Custom subtitle view, allowing you to render a JSX element as the subtitle.
9596
9542
  * It can be used to provide additional information under the title.
9597
9543
  */
9598
- subtitleView?: JSX$1.Element;
9544
+ subtitleView?: JSX.Element;
9599
9545
  /**
9600
9546
  * A function that renders a JSX element to display the trailing view.
9601
9547
  */
9602
- trailingView?: JSX$1.Element;
9548
+ trailingView?: JSX.Element;
9603
9549
  }
9604
9550
  /** Functional component for rendering the CometChatMessageHeader */
9605
9551
  declare const CometChatMessageHeader: (props: MessageHeaderProps) => react_jsx_runtime.JSX.Element;
@@ -9915,54 +9861,54 @@ interface UsersProps {
9915
9861
  /**
9916
9862
  * A custom component to render in the top-right corner of the user list.
9917
9863
  */
9918
- headerView?: JSX$1.Element;
9864
+ headerView?: JSX.Element;
9919
9865
  /**
9920
9866
  * A custom view to display during the loading state.
9921
9867
  */
9922
- loadingView?: JSX$1.Element;
9868
+ loadingView?: JSX.Element;
9923
9869
  /**
9924
9870
  * A custom view to display when an error occurs.
9925
9871
  */
9926
- errorView?: JSX$1.Element;
9872
+ errorView?: JSX.Element;
9927
9873
  /**
9928
9874
  * A custom view to display when no users are available in the list.
9929
9875
  */
9930
- emptyView?: JSX$1.Element;
9876
+ emptyView?: JSX.Element;
9931
9877
  /**
9932
9878
  * A custom view to render for each user in the fetched list.
9933
9879
  *
9934
9880
  * @param user - An instance of `CometChat.User` representing the user.
9935
9881
  * @returns A JSX element to be rendered as the user item.
9936
9882
  */
9937
- itemView?: (user: CometChat.User) => JSX$1.Element;
9883
+ itemView?: (user: CometChat.User) => JSX.Element;
9938
9884
  /**
9939
9885
  * A function that renders a JSX element to display the leading view.
9940
9886
  *
9941
9887
  * @param user - An instance of `CometChat.User` representing the user.
9942
9888
  * @returns A JSX element to be rendered as the leading view.
9943
9889
  */
9944
- leadingView?: (user: CometChat.User) => JSX$1.Element;
9890
+ leadingView?: (user: CometChat.User) => JSX.Element;
9945
9891
  /**
9946
9892
  * A custom function to render the title view of a user.
9947
9893
  *
9948
9894
  * @param user - An instance of `CometChat.User` representing the user.
9949
9895
  * @returns A JSX element to be rendered as the title view.
9950
9896
  */
9951
- titleView?: (user: CometChat.User) => JSX$1.Element;
9897
+ titleView?: (user: CometChat.User) => JSX.Element;
9952
9898
  /**
9953
9899
  * A custom view to render the subtitle for each user.
9954
9900
  *
9955
9901
  * @param user - An instance of `CometChat.User` representing the user.
9956
9902
  * @returns A JSX element to be rendered as the subtitle view.
9957
9903
  */
9958
- subtitleView?: (user: CometChat.User) => JSX$1.Element;
9904
+ subtitleView?: (user: CometChat.User) => JSX.Element;
9959
9905
  /**
9960
9906
  * A function that renders a JSX element to display the trailing view.
9961
9907
  *
9962
9908
  * @param user - An instance of `CometChat.User` representing the user.
9963
9909
  * @returns A JSX element to be rendered as the trailing view.
9964
9910
  */
9965
- trailingView?: (user: CometChat.User) => JSX$1.Element;
9911
+ trailingView?: (user: CometChat.User) => JSX.Element;
9966
9912
  }
9967
9913
  /**
9968
9914
  * Renders a scrollable list of users that has been created in a CometChat app
@@ -9981,6 +9927,15 @@ interface MessageInformationProps {
9981
9927
  * Template for customizing the appearance of the message.
9982
9928
  */
9983
9929
  template?: CometChatMessageTemplate;
9930
+ /**
9931
+ * Hides the visibility of receipt in the Message Information.
9932
+ * @default false
9933
+ */
9934
+ hideReceipts?: boolean;
9935
+ /**
9936
+ * Array of text formatters for custom styling or formatting of message text bubbles.
9937
+ */
9938
+ textFormatters?: CometChatTextFormatter[];
9984
9939
  }
9985
9940
  declare const CometChatMessageInformation: (props: MessageInformationProps) => react_jsx_runtime.JSX.Element;
9986
9941
 
@@ -10173,6 +10128,7 @@ interface IOpenChat {
10173
10128
  }
10174
10129
  interface IShowOngoingCall {
10175
10130
  child: any;
10131
+ message?: CometChat.CustomMessage;
10176
10132
  }
10177
10133
  interface IPanel {
10178
10134
  child?: any;
@@ -10881,37 +10837,9 @@ declare class MessageReceiptUtils {
10881
10837
  * the corresponding receipt icon.
10882
10838
  *
10883
10839
  * @param {CometChat.BaseMessage} messageObject - The message object for which to get the receipt status.
10884
- * @returns {receipts} - The receipt status icon.
10885
- */
10886
- static getReceiptStatus: (messageObject: CometChat.BaseMessage) => receipts;
10887
- }
10888
- /**
10889
- * Enum representing different receipt statuses for a message.
10890
- *
10891
- * @readonly
10892
- * @enum {number}
10893
- */
10894
- declare enum receipts {
10895
- /**
10896
- * Status indicating that the message is waiting to be processed.
10897
- */
10898
- wait = 0,
10899
- /**
10900
- * Status indicating that the message has been sent.
10901
- */
10902
- sent = 1,
10903
- /**
10904
- * Status indicating that the message has been delivered.
10840
+ * @returns {Receipts} - The receipt status icon.
10905
10841
  */
10906
- delivered = 2,
10907
- /**
10908
- * Status indicating that the message has been read.
10909
- */
10910
- read = 3,
10911
- /**
10912
- * Status indicating that an error occurred with the message.
10913
- */
10914
- error = 4
10842
+ static getReceiptStatus: (messageObject: CometChat.BaseMessage) => Receipts;
10915
10843
  }
10916
10844
 
10917
10845
  /**
@@ -10926,7 +10854,7 @@ declare class MessageUtils {
10926
10854
  * @param {CometChatMessageTemplate} template - The message template to use for rendering the content view.
10927
10855
  * @returns {object | null} - The content view for the message, or null if not found.
10928
10856
  */
10929
- getContentView(message: CometChat.BaseMessage, template: CometChatMessageTemplate, alignment?: MessageBubbleAlignment): any;
10857
+ getContentView(message: CometChat.BaseMessage, template: CometChatMessageTemplate, alignment?: MessageBubbleAlignment, textFormatters?: CometChatTextFormatter[]): any;
10930
10858
  /**
10931
10859
  * Retrieves the content view for a message based on the provided template.
10932
10860
  *
@@ -10934,7 +10862,7 @@ declare class MessageUtils {
10934
10862
  * @param {CometChatMessageTemplate} template - The message template to use for rendering the content view.
10935
10863
  * @returns {object | null} - The content view for the message, or null if not found.
10936
10864
  */
10937
- getStatusInfoView(message: CometChat.BaseMessage, template: CometChatMessageTemplate, alignment?: MessageBubbleAlignment): any;
10865
+ getStatusInfoView(message: CometChat.BaseMessage, template: CometChatMessageTemplate, alignment?: MessageBubbleAlignment, hideReceipts?: boolean): any;
10938
10866
  /**
10939
10867
  * Retrieves the bubble wrapper for a message based on the provided template.
10940
10868
  *
@@ -10952,7 +10880,7 @@ declare class MessageUtils {
10952
10880
  * @param {MessageBubbleAlignment} alignment - The alignment of the message bubble (left or right).
10953
10881
  * @returns {JSX.Element} - The message bubble component.
10954
10882
  */
10955
- getMessageBubble(baseMessage: CometChat.BaseMessage, template: CometChatMessageTemplate, alignment: MessageBubbleAlignment): any;
10883
+ getMessageBubble(baseMessage: CometChat.BaseMessage, template: CometChatMessageTemplate, alignment: MessageBubbleAlignment, hideReceipts?: boolean, textFormatters?: CometChatTextFormatter[]): any;
10956
10884
  /**
10957
10885
  *
10958
10886
  * @param {(CometChat.User | CometChat.GroupMember | any)} user
@@ -11330,7 +11258,7 @@ declare function isSafari(): boolean;
11330
11258
  */
11331
11259
  declare function isURL(text: string): boolean;
11332
11260
  declare function getThemeVariable(name: string): string;
11333
- declare function getThemeMode(): "light" | "dark";
11261
+ declare function getThemeMode(): "dark" | "light";
11334
11262
  /**
11335
11263
  * Function to convert audio forat from webm to wav
11336
11264
  * @param file
@@ -11423,6 +11351,15 @@ interface ThreadedMessagePreviewProps {
11423
11351
  * @returns void
11424
11352
  */
11425
11353
  onError?: ((error: CometChat.CometChatException) => void) | null;
11354
+ /**
11355
+ * Hides the visibility of receipt in the Thread Header.
11356
+ * @default false
11357
+ */
11358
+ hideReceipts?: boolean;
11359
+ /**
11360
+ * Array of text formatters for custom styling or formatting of message text bubbles.
11361
+ */
11362
+ textFormatters?: CometChatTextFormatter[];
11426
11363
  }
11427
11364
  declare const CometChatThreadedMessagePreview: (props: ThreadedMessagePreviewProps) => react_jsx_runtime.JSX.Element;
11428
11365
 
@@ -11512,7 +11449,7 @@ declare class CometChatUIKitUtility {
11512
11449
  * @param messageObject - The message object containing extensions.
11513
11450
  * @returns The sanitized message text if available, otherwise the original text.
11514
11451
  */
11515
- static getExtensionData(messageObject: CometChat$1.BaseMessage): string;
11452
+ static getExtensionData(messageObject: CometChat.BaseMessage): string;
11516
11453
  /**
11517
11454
  * Checks for extension data in a message.
11518
11455
  *
@@ -11520,7 +11457,7 @@ declare class CometChatUIKitUtility {
11520
11457
  * @param extensionKey - The extension key to look for.
11521
11458
  * @returns The extension data if found.
11522
11459
  */
11523
- static checkMessageForExtensionsData: (message: CometChat$1.BaseMessage | null, extensionKey: string) => (object & MessageExtensionType) | undefined;
11460
+ static checkMessageForExtensionsData: (message: CometChat.BaseMessage | null, extensionKey: string) => (object & MessageExtensionType) | undefined;
11524
11461
  /**
11525
11462
  * Sanitizes an HTML string by escaping tags not matching the whitelist.
11526
11463
  *