@cometchat/chat-uikit-react 5.0.0-beta1 → 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.
Files changed (357) hide show
  1. package/README.md +6 -5
  2. package/dist/assets/Send.svg +3 -0
  3. package/dist/assets/loading.svg +5 -16
  4. package/dist/index.d.ts +1159 -953
  5. package/dist/index.js +1 -1
  6. package/dist/index.js.map +1 -1
  7. package/dist/styles/CometChatCallButtons.css +1 -1
  8. package/dist/styles/CometChatCallLogs.css +3 -3
  9. package/dist/styles/{AIConversationStarter.css → CometChatConversationStarter.css} +2 -2
  10. package/dist/styles/{components/AIConversationSummary.css → CometChatConversationSummary.css} +12 -12
  11. package/dist/styles/CometChatConversations.css +10 -10
  12. package/dist/styles/CometChatEditPreview.css +1 -0
  13. package/dist/styles/CometChatFileBubble.css +2 -0
  14. package/dist/styles/CometChatGroupMembers.css +5 -5
  15. package/dist/styles/CometChatIncomingCall.css +1 -1
  16. package/dist/styles/CometChatList.css +15 -22
  17. package/dist/styles/CometChatListItem.css +2 -2
  18. package/dist/styles/CometChatMessageComposer.css +48 -40
  19. package/dist/styles/CometChatMessageHeader.css +32 -4
  20. package/dist/styles/CometChatMessageInformation.css +3 -2
  21. package/dist/styles/CometChatMessageList.css +6 -5
  22. package/dist/styles/CometChatOutgoingCall.css +5 -0
  23. package/dist/styles/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
  24. package/dist/styles/PollsBubble.css +7 -1
  25. package/dist/styles/components/CometChatCallButtons.css +1 -1
  26. package/dist/styles/components/CometChatCallLogs.css +3 -3
  27. package/dist/styles/components/{AIConversationStarter.css → CometChatConversationStarter.css} +2 -2
  28. package/dist/styles/{AIConversationSummary.css → components/CometChatConversationSummary.css} +12 -12
  29. package/dist/styles/components/CometChatConversations.css +10 -10
  30. package/dist/styles/components/CometChatEditPreview.css +1 -0
  31. package/dist/styles/components/CometChatFileBubble.css +2 -0
  32. package/dist/styles/components/CometChatGroupMembers.css +5 -5
  33. package/dist/styles/components/CometChatIncomingCall.css +1 -1
  34. package/dist/styles/components/CometChatList.css +15 -22
  35. package/dist/styles/components/CometChatListItem.css +2 -2
  36. package/dist/styles/components/CometChatMessageComposer.css +48 -40
  37. package/dist/styles/components/CometChatMessageHeader.css +32 -4
  38. package/dist/styles/components/CometChatMessageInformation.css +3 -2
  39. package/dist/styles/components/CometChatMessageList.css +6 -5
  40. package/dist/styles/components/CometChatOutgoingCall.css +5 -0
  41. package/dist/styles/components/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
  42. package/dist/styles/components/PollsBubble.css +7 -1
  43. package/dist/styles/components/index.css +4 -3
  44. package/dist/styles/index.css +4 -3
  45. package/dist/types/CometChatCustomHooks.d.ts +1 -1
  46. package/dist/types/CometChatUIKit/CometChatUIKit.d.ts +0 -6
  47. package/dist/types/CometChatUIKit/UIKitSettings.d.ts +0 -22
  48. package/dist/types/Enums/Enums.d.ts +9 -0
  49. package/dist/types/components/BaseComponents/CometChatConversationStarter/CometChatConversationStarter.d.ts +6 -0
  50. package/dist/types/components/BaseComponents/CometChatConversationSummary/CometChatConversationSummary.d.ts +6 -0
  51. package/dist/types/components/BaseComponents/CometChatList/CometChatList.d.ts +12 -12
  52. package/dist/types/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +3 -1
  53. package/dist/types/components/BaseComponents/CometChatSmartReplies/CometChatSmartReplies.d.ts +7 -0
  54. package/dist/types/components/Calling/CallButtonConfiguration.d.ts +1 -1
  55. package/dist/types/components/Calling/CallingExtensionDecorator.d.ts +2 -2
  56. package/dist/types/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +30 -12
  57. package/dist/types/components/Calling/CometChatCallButtons/useCallButtons.d.ts +1 -1
  58. package/dist/types/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +50 -38
  59. package/dist/types/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +1 -1
  60. package/dist/types/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +48 -26
  61. package/dist/types/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +1 -1
  62. package/dist/types/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +31 -15
  63. package/dist/types/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +1 -1
  64. package/dist/types/components/Calling/OutgoingCallConfiguration.d.ts +7 -3
  65. package/dist/types/components/CometChatConversations/CometChatConversations.d.ts +88 -87
  66. package/dist/types/components/CometChatConversations/controller.d.ts +10 -8
  67. package/dist/types/components/CometChatConversations/useCometChatConversations.d.ts +2 -5
  68. package/dist/types/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +94 -76
  69. package/dist/types/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +2 -2
  70. package/dist/types/components/CometChatGroups/CometChatGroups.d.ts +74 -62
  71. package/dist/types/components/CometChatGroups/useCometChatGroups.d.ts +1 -0
  72. package/dist/types/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +107 -49
  73. package/dist/types/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +1 -1
  74. package/dist/types/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +77 -16
  75. package/dist/types/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +1 -1
  76. package/dist/types/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +5 -0
  77. package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +133 -55
  78. package/dist/types/components/CometChatMessageList/CometChatMessageListController.d.ts +3 -1
  79. package/dist/types/components/CometChatMessageList/useCometChatMessageList.d.ts +1 -1
  80. package/dist/types/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +34 -2
  81. package/dist/types/components/CometChatUsers/CometChatUsers.d.ts +88 -89
  82. package/dist/types/components/CometChatUsers/useCometChatUsers.d.ts +2 -1
  83. package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +4 -3
  84. package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +4 -3
  85. package/dist/types/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +3 -1
  86. package/dist/types/components/Extensions/Polls/PollsBubble.d.ts +5 -0
  87. package/dist/types/components/Extensions/Polls/PollsExtensionDecorator.d.ts +4 -3
  88. package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +2 -3
  89. package/dist/types/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +3 -2
  90. package/dist/types/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +3 -2
  91. package/dist/types/components/Reactions/CometChatReactions/CometChatReactions.d.ts +3 -2
  92. package/dist/types/events/CometChatUIEvents.d.ts +2 -0
  93. package/dist/types/index.d.ts +8 -7
  94. package/dist/types/resources/CometChatLocalize/cometchat-localize.d.ts +129 -115
  95. package/dist/types/utils/DataSource.d.ts +17 -18
  96. package/dist/types/utils/DataSourceDecorator.d.ts +17 -18
  97. package/dist/types/utils/GroupMemberUtils.d.ts +1 -1
  98. package/dist/types/utils/MessageUtils.d.ts +1 -1
  99. package/dist/types/utils/MessagesDataSource.d.ts +29 -16
  100. package/dist/types/utils/util.d.ts +5 -0
  101. package/package.json +1 -1
  102. package/screenshots/sample_app_overview.png +0 -0
  103. package/dist/Collaborative_Whiteboard_Dark.png +0 -0
  104. package/dist/Collaborative_Whiteboard_Light.png +0 -0
  105. package/dist/assets/ai-empty.svg +0 -22
  106. package/dist/assets/ai-error.svg +0 -3
  107. package/dist/assets/heart-reaction.png +0 -0
  108. package/dist/assets/send.svg +0 -12
  109. package/dist/styles/AICard.css +0 -30
  110. package/dist/styles/CometChatBadge.css +0 -15
  111. package/dist/styles/CometChatCard.css +0 -41
  112. package/dist/styles/components/AICard.css +0 -30
  113. package/dist/styles/components/CometChatBadge.css +0 -15
  114. package/dist/styles/components/CometChatCard.css +0 -41
  115. package/dist/types/CometChatUIKit/CometChatUIKitSharedSettings.d.ts +0 -8
  116. package/dist/types/components/AI/AIBaseConfiguration.d.ts +0 -51
  117. package/dist/types/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +0 -20
  118. package/dist/types/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -18
  119. package/dist/types/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
  120. package/dist/types/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -8
  121. package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +0 -31
  122. package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
  123. package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
  124. package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -9
  125. package/dist/types/components/AI/AIExtensionDataSource.d.ts +0 -6
  126. package/dist/types/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +0 -28
  127. package/dist/types/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -21
  128. package/dist/types/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
  129. package/dist/types/components/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -11
  130. package/dist/types/components/BaseComponents/CometChatBadge/CometChatBadge.d.ts +0 -10
  131. package/dist/types/components/BaseComponents/CometChatCard/CometChatCard.d.ts +0 -15
  132. package/dist/types/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +0 -5
  133. package/dist/types/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +0 -19
  134. package/dist/types/components/BaseComponents/CometChatQuickView/CometChatQuickView.d.ts +0 -9
  135. package/dist/types/components/BaseComponents/CometChatSingleSelect/CometChatSingleSelect.d.ts +0 -8
  136. package/dist/types/components/CometChatUserMemberWrapper/index.d.ts +0 -23
  137. package/dist/types/modals/InteractiveActions/APIAction.d.ts +0 -108
  138. package/dist/types/modals/InteractiveActions/CustomAction.d.ts +0 -12
  139. package/dist/types/modals/InteractiveActions/URLNavigationAction.d.ts +0 -30
  140. package/dist/types/modals/InteractiveActions/index.d.ts +0 -3
  141. package/dist/types/modals/InteractiveElements/BaseInputElement.d.ts +0 -50
  142. package/dist/types/modals/InteractiveElements/BaseInteractiveElement.d.ts +0 -25
  143. package/dist/types/modals/InteractiveElements/ButtonElement.d.ts +0 -48
  144. package/dist/types/modals/InteractiveElements/CheckboxElement.d.ts +0 -46
  145. package/dist/types/modals/InteractiveElements/DateTimePickerElement.d.ts +0 -124
  146. package/dist/types/modals/InteractiveElements/DropdownElement.d.ts +0 -55
  147. package/dist/types/modals/InteractiveElements/LabelElement.d.ts +0 -29
  148. package/dist/types/modals/InteractiveElements/OptionElement.d.ts +0 -35
  149. package/dist/types/modals/InteractiveElements/RadioButtonElement.d.ts +0 -54
  150. package/dist/types/modals/InteractiveElements/SingleSelectElement.d.ts +0 -50
  151. package/dist/types/modals/InteractiveElements/TextInputElement.d.ts +0 -69
  152. package/dist/types/modals/InteractiveElements/index.d.ts +0 -11
  153. package/dist/types/modals/InteractiveEntities/ActionEntity.d.ts +0 -32
  154. package/dist/types/modals/InteractiveEntities/ElementEntity.d.ts +0 -35
  155. package/dist/types/modals/InteractiveEntities/index.d.ts +0 -2
  156. package/dist/types/modals/InteractiveMessage/CardMessage.d.ts +0 -69
  157. package/dist/types/modals/InteractiveMessage/CustomInteractiveMessage.d.ts +0 -20
  158. package/dist/types/modals/InteractiveMessage/FormMessage.d.ts +0 -75
  159. package/dist/types/modals/InteractiveMessage/SchedulerMessage.d.ts +0 -230
  160. package/dist/types/modals/InteractiveMessage/index.d.ts +0 -5
  161. package/dist/types/src/CometChatCustomHooks.d.ts +0 -27
  162. package/dist/types/src/CometChatUIKit/CometChatCalls.d.ts +0 -1
  163. package/dist/types/src/CometChatUIKit/CometChatUIKit.d.ts +0 -147
  164. package/dist/types/src/CometChatUIKit/CometChatUIKitLoginListener.d.ts +0 -32
  165. package/dist/types/src/CometChatUIKit/CometChatUIKitUtility.d.ts +0 -81
  166. package/dist/types/src/CometChatUIKit/UIKitSettings.d.ts +0 -304
  167. package/dist/types/src/Enums/Enums.d.ts +0 -258
  168. package/dist/types/src/components/AI/AIBaseConfiguration.d.ts +0 -51
  169. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +0 -20
  170. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -18
  171. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
  172. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -8
  173. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +0 -31
  174. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
  175. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
  176. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -9
  177. package/dist/types/src/components/AI/AIExtensionDataSource.d.ts +0 -6
  178. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +0 -28
  179. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -21
  180. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
  181. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -11
  182. package/dist/types/src/components/BaseComponents/CometChatActionBubble/CometChatActionBubble.d.ts +0 -8
  183. package/dist/types/src/components/BaseComponents/CometChatActionSheet/CometChatActionSheet.d.ts +0 -7
  184. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/CometChatAudioBubble.d.ts +0 -6
  185. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/base-plugin.d.ts +0 -21
  186. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/decoder.d.ts +0 -9
  187. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/dom.d.ts +0 -13
  188. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/draggable.d.ts +0 -1
  189. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/event-emitter.d.ts +0 -21
  190. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/fetcher.d.ts +0 -5
  191. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/player.d.ts +0 -50
  192. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/envelope.d.ts +0 -79
  193. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/hover.d.ts +0 -36
  194. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/minimap.d.ts +0 -65
  195. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/record.d.ts +0 -89
  196. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/regions.d.ts +0 -139
  197. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/spectrogram.d.ts +0 -98
  198. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/timeline.d.ts +0 -54
  199. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/zoom.d.ts +0 -55
  200. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/renderer.d.ts +0 -63
  201. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/timer.d.ts +0 -11
  202. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/wavesurfer.d.ts +0 -223
  203. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/webaudio.d.ts +0 -63
  204. package/dist/types/src/components/BaseComponents/CometChatAvatar/CometChatAvatar.d.ts +0 -13
  205. package/dist/types/src/components/BaseComponents/CometChatButton/CometChatButton.d.ts +0 -12
  206. package/dist/types/src/components/BaseComponents/CometChatCallBubble/CometChatCallBubble.d.ts +0 -12
  207. package/dist/types/src/components/BaseComponents/CometChatChangeScope/CometChatChangeScope.d.ts +0 -10
  208. package/dist/types/src/components/BaseComponents/CometChatChangeScope/useCometChatChangeScope.d.ts +0 -10
  209. package/dist/types/src/components/BaseComponents/CometChatCheckbox/CometChatCheckbox.d.ts +0 -11
  210. package/dist/types/src/components/BaseComponents/CometChatCheckbox/useCometChatCheckbox.d.ts +0 -11
  211. package/dist/types/src/components/BaseComponents/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +0 -16
  212. package/dist/types/src/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts +0 -17
  213. package/dist/types/src/components/BaseComponents/CometChatDate/CometChatDate.d.ts +0 -13
  214. package/dist/types/src/components/BaseComponents/CometChatDate/useCometChatDate.d.ts +0 -8
  215. package/dist/types/src/components/BaseComponents/CometChatDeleteBubble/CometChatDeleteBubble.d.ts +0 -14
  216. package/dist/types/src/components/BaseComponents/CometChatDocumentBubble/CometChatDocumentBubble.d.ts +0 -11
  217. package/dist/types/src/components/BaseComponents/CometChatDropDown/CometChatDropDown.d.ts +0 -14
  218. package/dist/types/src/components/BaseComponents/CometChatDropDown/useCometChatDropDown.d.ts +0 -12
  219. package/dist/types/src/components/BaseComponents/CometChatEditPreview/CometChatEditPreview.d.ts +0 -21
  220. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmoji.d.ts +0 -22
  221. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +0 -7
  222. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/emojis.d.ts +0 -6579
  223. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/useCometChatEmojiKeyboard.d.ts +0 -17
  224. package/dist/types/src/components/BaseComponents/CometChatFileBubble/CometChatFileBubble.d.ts +0 -9
  225. package/dist/types/src/components/BaseComponents/CometChatFullScreenViewer/CometChatFullScreenViewer.d.ts +0 -23
  226. package/dist/types/src/components/BaseComponents/CometChatImageBubble/CometChatImageBubble.d.ts +0 -10
  227. package/dist/types/src/components/BaseComponents/CometChatImageBubble/useCometChatImageBubble.d.ts +0 -7
  228. package/dist/types/src/components/BaseComponents/CometChatList/CometChatList.d.ts +0 -156
  229. package/dist/types/src/components/BaseComponents/CometChatList/useCometChatList.d.ts +0 -17
  230. package/dist/types/src/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +0 -15
  231. package/dist/types/src/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +0 -12
  232. package/dist/types/src/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +0 -5
  233. package/dist/types/src/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +0 -19
  234. package/dist/types/src/components/BaseComponents/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +0 -8
  235. package/dist/types/src/components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble.d.ts +0 -28
  236. package/dist/types/src/components/BaseComponents/CometChatPopover/CometChatPopover.d.ts +0 -24
  237. package/dist/types/src/components/BaseComponents/CometChatRadioButton/CometChatRadioButton.d.ts +0 -14
  238. package/dist/types/src/components/BaseComponents/CometChatRadioButton/useCometChatRadioButton.d.ts +0 -13
  239. package/dist/types/src/components/BaseComponents/CometChatSearchBar/CometChatSearchBar.d.ts +0 -9
  240. package/dist/types/src/components/BaseComponents/CometChatSearchBar/useCometChatSearchBar.d.ts +0 -10
  241. package/dist/types/src/components/BaseComponents/CometChatTextBubble/CometChatTextBubble.d.ts +0 -8
  242. package/dist/types/src/components/BaseComponents/CometChatTextBubble/useCometChatTextBubble.d.ts +0 -6
  243. package/dist/types/src/components/BaseComponents/CometChatToast/CometChatToast.d.ts +0 -27
  244. package/dist/types/src/components/BaseComponents/CometChatVideoBubble/CometChatVideoBubble.d.ts +0 -9
  245. package/dist/types/src/components/BaseComponents/CometChatVideoBubble/useCometChatVideoBubble.d.ts +0 -6
  246. package/dist/types/src/components/Calling/CallButtonConfiguration.d.ts +0 -10
  247. package/dist/types/src/components/Calling/CallingConfiguration.d.ts +0 -7
  248. package/dist/types/src/components/Calling/CallingExtension.d.ts +0 -9
  249. package/dist/types/src/components/Calling/CallingExtensionDecorator.d.ts +0 -29
  250. package/dist/types/src/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +0 -36
  251. package/dist/types/src/components/Calling/CometChatCallButtons/useCallButtons.d.ts +0 -6
  252. package/dist/types/src/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +0 -71
  253. package/dist/types/src/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +0 -2
  254. package/dist/types/src/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +0 -59
  255. package/dist/types/src/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +0 -2
  256. package/dist/types/src/components/Calling/CometChatOngoingCall/CometChatOngoingCall.d.ts +0 -10
  257. package/dist/types/src/components/Calling/CometChatOngoingCall/useCometChatOngoingCall.d.ts +0 -2
  258. package/dist/types/src/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +0 -36
  259. package/dist/types/src/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +0 -7
  260. package/dist/types/src/components/Calling/OutgoingCallConfiguration.d.ts +0 -8
  261. package/dist/types/src/components/Calling/Utils/utils.d.ts +0 -7
  262. package/dist/types/src/components/CometChatConversations/CometChatConversations.d.ts +0 -219
  263. package/dist/types/src/components/CometChatConversations/controller.d.ts +0 -74
  264. package/dist/types/src/components/CometChatConversations/useCometChatConversations.d.ts +0 -25
  265. package/dist/types/src/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +0 -178
  266. package/dist/types/src/components/CometChatGroupMembers/controller.d.ts +0 -38
  267. package/dist/types/src/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +0 -22
  268. package/dist/types/src/components/CometChatGroups/CometChatGroups.d.ts +0 -150
  269. package/dist/types/src/components/CometChatGroups/controller.d.ts +0 -44
  270. package/dist/types/src/components/CometChatGroups/useCometChatGroups.d.ts +0 -15
  271. package/dist/types/src/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +0 -166
  272. package/dist/types/src/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +0 -42
  273. package/dist/types/src/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +0 -29
  274. package/dist/types/src/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +0 -3
  275. package/dist/types/src/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +0 -6
  276. package/dist/types/src/components/CometChatMessageList/CometChatMessageList.d.ts +0 -132
  277. package/dist/types/src/components/CometChatMessageList/CometChatMessageListController.d.ts +0 -48
  278. package/dist/types/src/components/CometChatMessageList/useCometChatMessageList.d.ts +0 -6
  279. package/dist/types/src/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +0 -11
  280. package/dist/types/src/components/CometChatUserMemberWrapper/CometChatUserMemberWrapper.d.ts +0 -21
  281. package/dist/types/src/components/CometChatUsers/CometChatUsers.d.ts +0 -193
  282. package/dist/types/src/components/CometChatUsers/controller.d.ts +0 -28
  283. package/dist/types/src/components/CometChatUsers/useCometChatUsers.d.ts +0 -19
  284. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +0 -35
  285. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConstants.d.ts +0 -15
  286. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +0 -37
  287. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +0 -116
  288. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +0 -35
  289. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConstants.d.ts +0 -13
  290. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +0 -29
  291. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +0 -94
  292. package/dist/types/src/components/Extensions/ExtensionsDataSource.d.ts +0 -29
  293. package/dist/types/src/components/Extensions/ExtensionsId.d.ts +0 -22
  294. package/dist/types/src/components/Extensions/LinkPreview/LinkPreview.d.ts +0 -37
  295. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewConstants.d.ts +0 -11
  296. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtension.d.ts +0 -24
  297. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +0 -60
  298. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationBubble.d.ts +0 -35
  299. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationConstants.d.ts +0 -12
  300. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +0 -30
  301. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +0 -53
  302. package/dist/types/src/components/Extensions/Polls/CreatePolls.d.ts +0 -66
  303. package/dist/types/src/components/Extensions/Polls/PollsBubble.d.ts +0 -35
  304. package/dist/types/src/components/Extensions/Polls/PollsConfiguration.d.ts +0 -19
  305. package/dist/types/src/components/Extensions/Polls/PollsConstants.d.ts +0 -8
  306. package/dist/types/src/components/Extensions/Polls/PollsExtension.d.ts +0 -8
  307. package/dist/types/src/components/Extensions/Polls/PollsExtensionDecorator.d.ts +0 -112
  308. package/dist/types/src/components/Extensions/Stickers/StickersConstants.d.ts +0 -16
  309. package/dist/types/src/components/Extensions/Stickers/StickersExtension.d.ts +0 -31
  310. package/dist/types/src/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +0 -112
  311. package/dist/types/src/components/Extensions/Stickers/StickersKeyboard.d.ts +0 -29
  312. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationConstants.d.ts +0 -13
  313. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +0 -21
  314. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +0 -40
  315. package/dist/types/src/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +0 -9
  316. package/dist/types/src/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +0 -8
  317. package/dist/types/src/components/Reactions/CometChatReactions/CometChatReactions.d.ts +0 -12
  318. package/dist/types/src/constants/CometChatUIKitConstants.d.ts +0 -139
  319. package/dist/types/src/constants/CometChatUtilityConstants.d.ts +0 -9
  320. package/dist/types/src/constants/index.d.ts +0 -1
  321. package/dist/types/src/events/CometChatCallEvents.d.ts +0 -10
  322. package/dist/types/src/events/CometChatConversationEvents.d.ts +0 -13
  323. package/dist/types/src/events/CometChatGroupEvents.d.ts +0 -63
  324. package/dist/types/src/events/CometChatMessageEvents.d.ts +0 -43
  325. package/dist/types/src/events/CometChatUIEvents.d.ts +0 -59
  326. package/dist/types/src/events/CometChatUserEvents.d.ts +0 -16
  327. package/dist/types/src/formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +0 -210
  328. package/dist/types/src/formatters/CometChatFormatters/CometChatTextFormatter.d.ts +0 -268
  329. package/dist/types/src/formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter.d.ts +0 -12
  330. package/dist/types/src/formatters/index.d.ts +0 -3
  331. package/dist/types/src/index.d.ts +0 -108
  332. package/dist/types/src/modals/CometChatActions.d.ts +0 -36
  333. package/dist/types/src/modals/CometChatActionsIcon.d.ts +0 -38
  334. package/dist/types/src/modals/CometChatActionsView.d.ts +0 -39
  335. package/dist/types/src/modals/CometChatMessageComposerAction.d.ts +0 -33
  336. package/dist/types/src/modals/CometChatMessageOption.d.ts +0 -37
  337. package/dist/types/src/modals/CometChatMessageTemplate.d.ts +0 -70
  338. package/dist/types/src/modals/CometChatOption.d.ts +0 -20
  339. package/dist/types/src/modals/index.d.ts +0 -7
  340. package/dist/types/src/resources/CometChatLocalize/cometchat-localize.d.ts +0 -5603
  341. package/dist/types/src/resources/CometChatSoundManager/CometChatSoundManager.d.ts +0 -128
  342. package/dist/types/src/resources/index.d.ts +0 -1
  343. package/dist/types/src/utils/CallingDetailsUtils.d.ts +0 -42
  344. package/dist/types/src/utils/ChatConfigurator.d.ts +0 -12
  345. package/dist/types/src/utils/ChatSdkEventInitializer.d.ts +0 -6
  346. package/dist/types/src/utils/ConversationUtils.d.ts +0 -69
  347. package/dist/types/src/utils/DataSource.d.ts +0 -55
  348. package/dist/types/src/utils/DataSourceDecorator.d.ts +0 -57
  349. package/dist/types/src/utils/GroupMemberUtils.d.ts +0 -32
  350. package/dist/types/src/utils/MessageReceiptUtils.d.ts +0 -44
  351. package/dist/types/src/utils/MessageUtils.d.ts +0 -55
  352. package/dist/types/src/utils/MessagesDataSource.d.ts +0 -110
  353. package/dist/types/src/utils/Storage.d.ts +0 -33
  354. package/dist/types/src/utils/util.d.ts +0 -26
  355. package/dist/types/utils/IcsToJson.d.ts +0 -19
  356. package/dist/types/utils/InteractiveMessageUtils.d.ts +0 -71
  357. /package/dist/assets/{ai.svg → conversation_summary.svg} +0 -0
@@ -1,128 +0,0 @@
1
- /**
2
- * Manages and plays various types of audio for CometChat events.
3
- * The class provides methods to play sounds for incoming and outgoing messages and calls.
4
- * It is used in CometChatCallButtons, CometChatIncomingCall, CometChatConversations, CometChatMessageComposer components.
5
- */
6
- export declare class CometChatSoundManager {
7
- static audio: string | null | HTMLAudioElement;
8
- static Sound: sounds;
9
- /**
10
- * Plays the sound for an incoming message.
11
- * @param {string|null} customSound - The custom sound URL or null to use the default.
12
- *
13
- * @example
14
- * // Trigger the audio sound for an incoming message
15
- * CometChatSoundManager.onIncomingMessage();
16
- *
17
- * @example
18
- * // Trigger the audio sound of your choice for an incoming message
19
- * CometChatSoundManager.onIncomingMessage("MP3_FILE_ASSET_PATH");
20
- */
21
- static onIncomingMessage: (customSound?: string | null) => void;
22
- /**
23
- * Plays the sound for an incoming message from another user.
24
- * @param {string|null} customSound - The custom sound URL or null to use the default.
25
- *
26
- * @example
27
- * // Trigger the audio sound for an incoming message from another user
28
- * CometChatSoundManager.onIncomingOtherMessage();
29
- *
30
- * @example
31
- * // Trigger the audio sound of your choice for an incoming message from another user
32
- * CometChatSoundManager.onIncomingOtherMessage("MP3_FILE_ASSET_PATH");
33
- */
34
- static onIncomingOtherMessage: (customSound?: string | null) => void;
35
- /**
36
- * Plays the sound for an outgoing message.
37
- * @param {string|null} customSound - The custom sound URL or null to use the default.
38
- *
39
- * @example
40
- * // Trigger the audio sound for an outgoing message
41
- * CometChatSoundManager.onOutgoingMessage();
42
- *
43
- * @example
44
- * // Trigger the audio sound of your choice for an outgoing message
45
- * CometChatSoundManager.onOutgoingMessage("MP3_FILE_ASSET_PATH");
46
- */
47
- static onOutgoingMessage: (customSound?: string | null) => void;
48
- /**
49
- * Plays the sound for an incoming call.
50
- * @param {string|null} customSound - The custom sound URL or null to use the default.
51
- *
52
- * @example
53
- * // Trigger the audio sound for an incoming call
54
- * CometChatSoundManager.onIncomingCall();
55
- *
56
- * @example
57
- * // Trigger the audio sound of your choice for an incoming call
58
- * CometChatSoundManager.onIncomingCall("MP3_FILE_ASSET_PATH");
59
- */
60
- static onIncomingCall: (customSound?: string | null) => void;
61
- /**
62
- * Plays the sound for an outgoing call.
63
- * @param {string|null} customSound - The custom sound URL or null to use the default.
64
- *
65
- * @example
66
- * // Trigger the audio sound for an outgoing call
67
- * CometChatSoundManager.onOutgoingCall();
68
- *
69
- * @example
70
- * // Trigger the audio sound of your choice for an outgoing call
71
- * CometChatSoundManager.onOutgoingCall("MP3_FILE_ASSET_PATH");
72
- */
73
- static onOutgoingCall: (customSound?: string | null) => void;
74
- /**
75
- * Contains mappings of sound types to their respective handler functions.
76
- *
77
- * The handlers are functions that trigger the playback of sounds for different events.
78
- *
79
- * @type {Object}
80
- * @property {Function} incomingCall - Handler function for playing the incoming call sound.
81
- * @property {Function} outgoingCall - Handler function for playing the outgoing call sound.
82
- * @property {Function} incomingMessage - Handler function for playing the incoming message sound.
83
- * @property {Function} incomingMessageFromOther - Handler function for playing the incoming message from other sound.
84
- * @property {Function} outgoingMessage - Handler function for playing the outgoing message sound.
85
- */
86
- static handlers: {
87
- incomingCall: (customSound?: string | null) => void;
88
- outgoingCall: (customSound?: string | null) => void;
89
- incomingMessage: (customSound?: string | null) => void;
90
- incomingMessageFromOther: (customSound?: string | null) => void;
91
- outgoingMessage: (customSound?: string | null) => void;
92
- };
93
- /**
94
- * Plays a predefined sound based on the provided sound type.
95
- * @param {"incomingCall" | "incomingMessage" | "incomingMessageFromOther" | "outgoingCall" | "outgoingMessage"} sound - The sound type to play.
96
- * @param {string|null} customSound - The custom sound URL or null to use the default.
97
- * @returns {boolean} - Returns false if the sound handler is not found.
98
- *
99
- * @example
100
- * // Play the sound for incoming messages
101
- * CometChatSoundManager.play("incomingMessage");
102
- *
103
- * @example
104
- * // Play a custom sound for outgoing messages
105
- * CometChatSoundManager.play("outgoingMessage", "MP3_FILE_ASSET_PATH");
106
- */
107
- static play(sound: "incomingCall" | "incomingMessage" | "incomingMessageFromOther" | "outgoingCall" | "outgoingMessage", customSound?: string | null): false | void;
108
- /**
109
- * Pauses the currently playing sound and resets its position.
110
- *
111
- * @example
112
- * // Pause the ongoing audio sound
113
- * CometChatSoundManager.pause();
114
- */
115
- static pause(): void;
116
- /**
117
- * Checks if the user has interacted with the page.
118
- * @returns {boolean} True if the user has interacted, false otherwise.
119
- */
120
- static hasInteracted(): boolean;
121
- }
122
- export interface sounds {
123
- incomingCall?: "incomingCall";
124
- incomingMessage?: "incomingMessage";
125
- incomingMessageFromOther: "incomingMessageFromOther";
126
- outgoingCall?: "outgoingCall";
127
- outgoingMessage?: "outgoingMessage";
128
- }
@@ -1 +0,0 @@
1
- export * from './';
@@ -1,42 +0,0 @@
1
- /**
2
- * Utility class for handling call-related details in CometChat.
3
- * It is used in CallingExtensionDecorator component.
4
- */
5
- export declare class CallingDetailsUtils {
6
- /**
7
- * Retrieves the default message types used in calling.
8
- *
9
- * @returns {string[]} An array of default message types for audio, video, and meeting calls.
10
- */
11
- static getDefaultMessageTypes: () => string[];
12
- /**
13
- * Retrieves the default categories associated with calling.
14
- *
15
- * @returns {string[]} An array of default message categories for calls and custom messages.
16
- */
17
- static getDefaultCategories: () => string[];
18
- /**
19
- * Checks if the call was sent by the logged-in user.
20
- *
21
- * @param {CometChat.Call} call - The call object.
22
- * @param {CometChat.User} loggedInUser - The logged-in user object.
23
- * @returns {boolean} True if the call was sent by the logged-in user, otherwise false.
24
- */
25
- static isSentByMe(call: CometChat.Call, loggedInUser: CometChat.User): boolean;
26
- /**
27
- * Checks if the call is a missed call for the logged-in user.
28
- *
29
- * @param {CometChat.Call} call - The call object.
30
- * @param {CometChat.User} loggedInUser - The logged-in user object.
31
- * @returns {boolean} True if the call is missed, otherwise false.
32
- */
33
- static isMissedCall(call: CometChat.Call, loggedInUser: CometChat.User): boolean;
34
- /**
35
- * Retrieves the localized call status message based on the call status and the user.
36
- *
37
- * @param {CometChat.Call} call - The call object.
38
- * @param {CometChat.User} loggedInUser - The logged-in user object.
39
- * @returns {string} The localized call status message.
40
- */
41
- static getCallStatus(call: CometChat.Call, loggedInUser: CometChat.User): string;
42
- }
@@ -1,12 +0,0 @@
1
- import { DataSource } from "./DataSource";
2
- /**
3
- * Class to initialize the cometchat datasource, to access getters and properties related to message components.
4
- * It is used in CometChatComposer, CometChatMessageComposer, CometChatMessageHeader, CometChatMessageList and AI module components.
5
- */
6
- export declare class ChatConfigurator {
7
- static dataSource: DataSource;
8
- static names: Array<string>;
9
- static init(initialSource?: DataSource): void;
10
- static enable(callback: (dataSource: DataSource) => DataSource): void;
11
- static getDataSource(): DataSource;
12
- }
@@ -1,6 +0,0 @@
1
- export declare class ChatSdkEventInitializer {
2
- private static messageListenerId;
3
- static attachListeners(): void;
4
- static detachListeners(): void;
5
- private static getMessageListenerObject;
6
- }
@@ -1,69 +0,0 @@
1
- import { CometChatTextFormatter } from '../formatters/CometChatFormatters/CometChatTextFormatter';
2
- import { MessageBubbleAlignment } from '../Enums/Enums';
3
- import { CometChatOption } from '../modals';
4
- import { CometChatMentionsFormatter } from '../formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter';
5
- export interface additionalParams {
6
- disableMentions?: boolean;
7
- mentionsTargetElement?: number;
8
- textFormatters?: [];
9
- alignment?: MessageBubbleAlignment;
10
- textFormattersList?: CometChatTextFormatter[];
11
- }
12
- export interface lastConversationParams {
13
- textFormatters: CometChatMentionsFormatter[];
14
- disableMentions?: boolean;
15
- mentionsTargetElement?: number;
16
- alignment?: MessageBubbleAlignment;
17
- textFormattersList?: CometChatTextFormatter[];
18
- }
19
- /**
20
- * Utility class for handling conversations in CometChat.
21
- * It is used in CometChatConversations component and dataSource utils.
22
- */
23
- export declare class ConversationUtils {
24
- private static additionalParams?;
25
- /**
26
- * Returns the default conversation options.
27
- *
28
- * @returns {CometChatOption[]} - An array of default conversation options.
29
- */
30
- static getDefaultOptions(): CometChatOption[];
31
- /**
32
- * Retrieves the last conversation message for a given conversation object.
33
- *
34
- * @param {CometChat.Conversation} conversationObject - The conversation object.
35
- * @param {CometChat.User} loggedInUser - The logged-in user.
36
- * @param {additionalParams} [additionalParams] - Additional parameters for message formatting.
37
- * @returns {string} - The last conversation message as a string.
38
- */
39
- static getLastConversationMessage(conversationObject: CometChat.Conversation, loggedInUser: CometChat.User, additionalParams?: lastConversationParams): string;
40
- /**
41
- * Retrieves the last message for a given conversation.
42
- *
43
- * @param {CometChat.Conversation} conversation - The conversation object.
44
- * @returns {string} - The last message as a string.
45
- */
46
- static getLastMessage(conversation: CometChat.Conversation): string;
47
- /**
48
- * Retrieves the last custom message for a given conversation.
49
- *
50
- * @param {CometChat.Conversation} conversation - The conversation object.
51
- * @returns {string} - The custom message type as a string.
52
- */
53
- static getLastMessageCustom(conversation: CometChat.Conversation): string;
54
- /**
55
- * Retrieves the last action message for a given conversation.
56
- *
57
- * @param {CometChat.Conversation} conversation - The conversation object.
58
- * @returns {string} - The action message as a string.
59
- */
60
- static getLastMessageAction(conversation: CometChat.Conversation): string;
61
- /**
62
- * Retrieves the last call message from a conversation.
63
- * Differentiates between audio and video calls.
64
- *
65
- * @param {CometChat.Conversation} conversation - The conversation object to retrieve the last call message from.
66
- * @returns {string} - A localized string indicating the type of call (audio or video).
67
- */
68
- static getLastMessageCall(conversation: CometChat.Conversation): any;
69
- }
@@ -1,55 +0,0 @@
1
- /// <reference types="react" />
2
- import { CometChatMentionsFormatter } from "../formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter";
3
- import { CometChatTextFormatter } from "../formatters/CometChatFormatters/CometChatTextFormatter";
4
- import { CometChatUrlsFormatter } from "../formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter";
5
- import { additionalParams } from "./ConversationUtils";
6
- import { CometChatActionsIcon, CometChatActionsView, CometChatMessageComposerAction, CometChatMessageTemplate } from "../modals/";
7
- import { DatePatterns, MessageBubbleAlignment } from "../Enums/Enums";
8
- import { ComposerId } from "./MessagesDataSource";
9
- /**
10
- * Class for providing message options and views.
11
- * It is used in AI and calling module and utils related to messages.
12
- */
13
- export declare abstract class DataSource {
14
- abstract getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
15
- abstract getImageMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
16
- abstract getVideoMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
17
- abstract getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
18
- abstract getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
19
- abstract getBottomView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment): Element | JSX.Element | null;
20
- abstract getStatusInfoView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipt?: boolean, datePattern?: DatePatterns): Element | JSX.Element | null;
21
- abstract getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, otherParams: Object | undefined): Element | JSX.Element;
22
- abstract getImageMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
23
- abstract getVideoMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
24
- abstract getAudioMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
25
- abstract getFileMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): Element | JSX.Element;
26
- abstract getTextMessageTemplate(additionalConfigurations?: Object | undefined): CometChatMessageTemplate;
27
- abstract getImageMessageTemplate(): CometChatMessageTemplate;
28
- abstract getVideoMessageTemplate(): CometChatMessageTemplate;
29
- abstract getAudioMessageTemplate(): CometChatMessageTemplate;
30
- abstract getFileMessageTemplate(): CometChatMessageTemplate;
31
- abstract getGroupActionTemplate(): CometChatMessageTemplate;
32
- abstract getAllMessageTemplates(additionalConfigurations?: Object | undefined): Array<CometChatMessageTemplate>;
33
- abstract getMessageTemplate(messageType: string, messageCategory: string): CometChatMessageTemplate | null;
34
- abstract getMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
35
- abstract getCommonOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
36
- abstract getAttachmentOptions(id: ComposerId): CometChatMessageComposerAction[];
37
- abstract getAllMessageTypes(): Array<string>;
38
- abstract getAllMessageCategories(): Array<string>;
39
- abstract getAuxiliaryOptions(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): JSX.Element[];
40
- abstract getId(): string;
41
- abstract getDeleteMessageBubble(messageObject: CometChat.BaseMessage): Element | JSX.Element;
42
- abstract getGroupActionBubble(message: CometChat.BaseMessage): Element | JSX.Element;
43
- abstract getTextMessageBubble(messageText: string, message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: Object | undefined): Element | JSX.Element;
44
- abstract getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function): Element | JSX.Element;
45
- abstract getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function): Element | JSX.Element;
46
- abstract getAudioMessageBubble(audioUrl: string, message: CometChat.MediaMessage, title?: string): Element | JSX.Element;
47
- abstract getFileMessageBubble(fileUrl: string, message: CometChat.MediaMessage, title?: string): Element | JSX.Element;
48
- abstract getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations?: additionalParams): string;
49
- abstract getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group): Element[] | JSX.Element[];
50
- abstract getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, id?: ComposerId): (CometChatMessageComposerAction | CometChatActionsView)[];
51
- abstract getAllTextFormatters(formatterParams: additionalParams): CometChatTextFormatter[];
52
- abstract getMentionsTextFormatter(params: Object): CometChatMentionsFormatter;
53
- abstract getUrlTextFormatter(params: Object): CometChatUrlsFormatter;
54
- abstract getMentionsFormattedText(message: CometChat.TextMessage, subtitle: string, additionalConfigurations?: Object | undefined): string;
55
- }
@@ -1,57 +0,0 @@
1
- /// <reference types="react" />
2
- import { DataSource } from "./DataSource";
3
- import { ComposerId } from "./MessagesDataSource";
4
- import { CometChatUrlsFormatter } from "../formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter";
5
- import { CometChatMentionsFormatter } from "../formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter";
6
- import { CometChatTextFormatter } from "../formatters/CometChatFormatters/CometChatTextFormatter";
7
- import { additionalParams } from "./ConversationUtils";
8
- import { CometChatActionsIcon, CometChatActionsView, CometChatMessageComposerAction, CometChatMessageTemplate } from "../modals";
9
- import { DatePatterns, MessageBubbleAlignment } from "../Enums/Enums";
10
- /**
11
- * This class is used in AI, calling and Extension modules.
12
- */
13
- export declare abstract class DataSourceDecorator implements DataSource {
14
- dataSource: DataSource;
15
- constructor(dataSource: DataSource);
16
- getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
17
- getImageMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
18
- getVideoMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
19
- getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
20
- getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
21
- getStatusInfoView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipt?: boolean, datePattern?: DatePatterns): JSX.Element | Element | null;
22
- getBottomView(message: CometChat.BaseMessage, alignment: MessageBubbleAlignment): JSX.Element | Element | null;
23
- getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: Object | undefined): JSX.Element | Element;
24
- getImageMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): JSX.Element | Element;
25
- getVideoMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): JSX.Element | Element;
26
- getAudioMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): JSX.Element | Element;
27
- getFileMessageContentView(message: CometChat.MediaMessage, alignment: MessageBubbleAlignment): JSX.Element | Element;
28
- getTextMessageTemplate(additionalConfigurations?: Object | undefined): CometChatMessageTemplate;
29
- getImageMessageTemplate(): CometChatMessageTemplate;
30
- getVideoMessageTemplate(): CometChatMessageTemplate;
31
- getAudioMessageTemplate(): CometChatMessageTemplate;
32
- getFileMessageTemplate(): CometChatMessageTemplate;
33
- getGroupActionTemplate(): CometChatMessageTemplate;
34
- getAllMessageTemplates(additionalConfigurations?: Object | undefined): CometChatMessageTemplate[];
35
- getMessageTemplate(messageType: string, messageCategory: string): CometChatMessageTemplate | null;
36
- getMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
37
- getCommonOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
38
- getAttachmentOptions(id: ComposerId): CometChatMessageComposerAction[];
39
- getAllMessageTypes(): string[];
40
- getAllMessageCategories(): string[];
41
- getAuxiliaryOptions(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): JSX.Element[];
42
- getId(): string;
43
- getDeleteMessageBubble(messageObject: CometChat.BaseMessage): JSX.Element | Element;
44
- getGroupActionBubble(message: CometChat.BaseMessage): JSX.Element | Element;
45
- getTextMessageBubble(messageText: string, message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: Object | undefined): JSX.Element | Element;
46
- getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function): JSX.Element | Element;
47
- getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function): JSX.Element | Element;
48
- getAudioMessageBubble(audioUrl: string, message: CometChat.MediaMessage, title?: string): JSX.Element | Element;
49
- getFileMessageBubble(fileUrl: string, message: CometChat.MediaMessage, title?: string): JSX.Element | Element;
50
- getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations?: additionalParams): string;
51
- getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group): Element[] | JSX.Element[];
52
- getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, id?: ComposerId): (CometChatMessageComposerAction | CometChatActionsView)[];
53
- getAllTextFormatters(formatterParams: additionalParams): CometChatTextFormatter[];
54
- getMentionsTextFormatter(params?: Object): CometChatMentionsFormatter;
55
- getUrlTextFormatter(params?: Object): CometChatUrlsFormatter;
56
- getMentionsFormattedText(message: CometChat.TextMessage, subtitle: string, additionalConfigurations: Object): string;
57
- }
@@ -1,32 +0,0 @@
1
- import { CometChatOption } from "../modals";
2
- /**
3
- * A utility class for handling group member-related actions and options within CometChat.
4
- * It is used in CometChatGroupMembers component.
5
- */
6
- export declare class GroupMemberUtils {
7
- /**
8
- * Retrieves the available options for a given group member based on their role and the group's state.
9
- *
10
- * @param {CometChat.GroupMember} groupMember - The group member for whom the options are being fetched.
11
- * @param {CometChat.Group} group - The group to which the member belongs.
12
- * @param {string} [loggedInUser=""] - The UID of the logged-in user.
13
- * @returns {CometChatOption[] | string} - An array of options or the member's scope as a string.
14
- */
15
- static getViewMemberOptions(groupMember: CometChat.GroupMember, group: CometChat.Group, loggedInUser?: string): string | CometChatOption[];
16
- /**
17
- * Retrieves the available options for a banned group member.
18
- *
19
- * @param {CometChat.Group} group - The group to which the member belongs.
20
- * @param {CometChat.GroupMember} groupMember - The banned group member.
21
- * @returns {CometChatOption[]} - An array of options available for the banned group member.
22
- */
23
- static getBannedMemberOptions(group: CometChat.Group, groupMember: CometChat.GroupMember): CometChatOption[] | undefined;
24
- /**
25
- * Determines whether a scope change is allowed for a group member.
26
- *
27
- * @param {CometChat.Group} group - The group to which the member belongs.
28
- * @param {CometChat.GroupMember} groupMember - The group member whose scope is to be changed.
29
- * @returns {string[]} - An array of allowed scopes for the group member.
30
- */
31
- static allowScopeChange(group: CometChat.Group, groupMember: CometChat.GroupMember): string[];
32
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * Utility class for handling message receipt statuses.
3
- * It is used in CometChatConversations and CometChatMessageList components.
4
- */
5
- export declare class MessageReceiptUtils {
6
- /**
7
- * Gets the receipt status icon for a given message.
8
- *
9
- * Determines the receipt status based on the message's properties and returns
10
- * the corresponding receipt icon.
11
- *
12
- * @param {CometChat.BaseMessage} messageObject - The message object for which to get the receipt status.
13
- * @returns {receipts} - The receipt status icon.
14
- */
15
- static getReceiptStatus: (messageObject: CometChat.BaseMessage) => receipts;
16
- }
17
- /**
18
- * Enum representing different receipt statuses for a message.
19
- *
20
- * @readonly
21
- * @enum {number}
22
- */
23
- export declare enum receipts {
24
- /**
25
- * Status indicating that the message is waiting to be processed.
26
- */
27
- wait = 0,
28
- /**
29
- * Status indicating that the message has been sent.
30
- */
31
- sent = 1,
32
- /**
33
- * Status indicating that the message has been delivered.
34
- */
35
- delivered = 2,
36
- /**
37
- * Status indicating that the message has been read.
38
- */
39
- read = 3,
40
- /**
41
- * Status indicating that an error occurred with the message.
42
- */
43
- error = 4
44
- }
@@ -1,55 +0,0 @@
1
- import { MessageBubbleAlignment } from "../Enums/Enums";
2
- import { CometChatMessageTemplate } from "../modals";
3
- /**
4
- * Utility class for handling message display and styling.
5
- * It is used in CometChatMessageInformation component.
6
- */
7
- export declare class MessageUtils {
8
- /**
9
- * Retrieves the content view for a message based on the provided template.
10
- *
11
- * @param {CometChat.BaseMessage} message - The message object for which to get the content view.
12
- * @param {CometChatMessageTemplate} template - The message template to use for rendering the content view.
13
- * @returns {object | null} - The content view for the message, or null if not found.
14
- */
15
- getContentView(message: CometChat.BaseMessage, template: CometChatMessageTemplate): any;
16
- /**
17
- * Retrieves the content view for a message based on the provided template.
18
- *
19
- * @param {CometChat.BaseMessage} message - The message object for which to get the content view.
20
- * @param {CometChatMessageTemplate} template - The message template to use for rendering the content view.
21
- * @returns {object | null} - The content view for the message, or null if not found.
22
- */
23
- getStatusInfoView(message: CometChat.BaseMessage, template: CometChatMessageTemplate, alignment?: MessageBubbleAlignment): any;
24
- /**
25
- * Retrieves the bubble wrapper for a message based on the provided template.
26
- *
27
- * @param {CometChat.BaseMessage} message - The message object for which to get the bubble wrapper.
28
- * @param {CometChatMessageTemplate} template - The message template to use for rendering the bubble wrapper.
29
- * @returns {object | null} - The bubble wrapper for the message, or null if not found.
30
- */
31
- getBubbleWrapper(message: CometChat.BaseMessage, template: CometChatMessageTemplate): any;
32
- /**
33
- * Constructs a message bubble component based on the message, template, style, and alignment.
34
- *
35
- * @param {CometChat.BaseMessage} baseMessage - The message object to be displayed in the bubble.
36
- * @param {CometChatMessageTemplate} template - The message template to use for rendering the bubble.
37
- * @param {object} messageBubbleStyle - The style object for the message bubble.
38
- * @param {MessageBubbleAlignment} alignment - The alignment of the message bubble (left or right).
39
- * @returns {JSX.Element} - The message bubble component.
40
- */
41
- getMessageBubble(baseMessage: CometChat.BaseMessage, template: CometChatMessageTemplate, alignment: MessageBubbleAlignment): any;
42
- /**
43
- *
44
- * @param {(CometChat.User | CometChat.GroupMember | any)} user
45
- * @returns {boolean}
46
- */
47
- getUserStatusVisible(user: CometChat.User | CometChat.GroupMember | any): boolean;
48
- /**
49
- * Description placeholder
50
- *
51
- * @param {*} message
52
- * @returns {string}
53
- */
54
- getActionMessage(message: CometChat.Action): string;
55
- }
@@ -1,110 +0,0 @@
1
- /// <reference types="react" />
2
- import { CometChat } from "@cometchat/chat-sdk-javascript";
3
- import { DataSource } from "./DataSource";
4
- import { additionalParams } from "./ConversationUtils";
5
- import { CometChatMentionsFormatter } from "../formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter";
6
- import { CometChatUrlsFormatter } from "../formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter";
7
- import { CometChatTextFormatter } from "../formatters/CometChatFormatters/CometChatTextFormatter";
8
- import { CometChatActionsIcon, CometChatActionsView, CometChatMessageComposerAction, CometChatMessageTemplate } from "../modals";
9
- import { DatePatterns, MentionsTargetElement, MessageBubbleAlignment } from "../Enums/Enums";
10
- export type ComposerId = {
11
- parentMessageId: number | null;
12
- user: string | null;
13
- group: string | null;
14
- };
15
- /**
16
- * Utility class that extends DataSource and provides getters for message options.
17
- * It is used in message and dataSource utils.
18
- */
19
- export declare class MessagesDataSource implements DataSource {
20
- getEditOption(): CometChatActionsIcon;
21
- getDeleteOption(): CometChatActionsIcon;
22
- getReactionOption(): CometChatActionsView;
23
- getReplyInThreadOption(): CometChatActionsIcon;
24
- getSendMessagePrivatelyOption(): CometChatActionsIcon;
25
- getCopyOption(): CometChatActionsIcon;
26
- getMessageInfoOption(): CometChatActionsIcon;
27
- isSentByMe(loggedInUser: CometChat.User, message: CometChat.BaseMessage): boolean;
28
- getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
29
- getIsSentByMe(message: CometChat.BaseMessage): boolean;
30
- getImageMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
31
- getVideoMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
32
- getAudioMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
33
- getFileMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
34
- getReceiptClass(status?: number): "error" | "wait" | "read" | "delivered" | "sent" | undefined;
35
- /**
36
- * Function to get receipt for message bubble
37
- * @param {CometChat.BaseMessage} item - The message bubble for which the receipt needs to be fetched
38
- * @returns {JSX.Element | null} Returns JSX.Element for receipt of a message bubble or null
39
- */
40
- getBubbleStatusInfoReceipt: (item: CometChat.BaseMessage, hideReceipt?: boolean) => JSX.Element | null;
41
- /**
42
- * Function to get status and date for message bubble
43
- * @param {CometChat.BaseMessage} item - The message bubble for which the information needs to be fetched
44
- * @returns {JSX.Element | null} Returns JSX.Element for status and date of a message bubble or null
45
- */
46
- getBubbleStatusInfoDate: (item: CometChat.BaseMessage, datePattern?: DatePatterns) => JSX.Element | null;
47
- getStatusInfoView: (_messageObject: CometChat.BaseMessage, _alignment: MessageBubbleAlignment, hideReceipt?: boolean, datePattern?: DatePatterns) => import("react/jsx-runtime").JSX.Element | null;
48
- getBottomView(_messageObject: CometChat.BaseMessage, _alignment: MessageBubbleAlignment): null;
49
- getTextMessageTemplate(additionalConfigurations?: additionalParams): CometChatMessageTemplate;
50
- getAudioMessageTemplate(): CometChatMessageTemplate;
51
- getVideoMessageTemplate(): CometChatMessageTemplate;
52
- getImageMessageTemplate(): CometChatMessageTemplate;
53
- getGroupActionTemplate(): CometChatMessageTemplate;
54
- getFileMessageTemplate(): CometChatMessageTemplate;
55
- getAllMessageTemplates(additionalConfigurations?: additionalParams): Array<CometChatMessageTemplate>;
56
- getMessageTemplate(messageType: string, messageCategory: string, additionalConfigurations?: additionalParams): CometChatMessageTemplate | null;
57
- getMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
58
- getCommonOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): Array<CometChatActionsIcon | CometChatActionsView>;
59
- getAllMessageTypes(): Array<string>;
60
- addList(): string;
61
- getAllMessageCategories(): Array<string>;
62
- getAuxiliaryOptions(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): JSX.Element[];
63
- getId(): string;
64
- getTextMessageContentView(message: CometChat.TextMessage, _alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): JSX.Element | Element;
65
- getAudioMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
66
- getFileMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
67
- getImageMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
68
- getVideoMessageContentView(message: CometChat.MediaMessage, _alignment: MessageBubbleAlignment): Element | JSX.Element;
69
- getActionMessage(message: any): string;
70
- getDeleteMessageBubble(message: CometChat.BaseMessage, text?: string): import("react/jsx-runtime").JSX.Element;
71
- getGroupActionBubble(message: CometChat.BaseMessage): import("react/jsx-runtime").JSX.Element;
72
- getTextMessageBubble(messageText: string, message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: additionalParams): Element | JSX.Element;
73
- getAudioMessageBubble(audioUrl: string, message: CometChat.MediaMessage, title?: string): Element | JSX.Element;
74
- /**
75
- * Function to check mimeType and return the iconUrl of that type
76
- * @param mimeType
77
- * @returns
78
- */
79
- getFileType: (mimeType: string) => string;
80
- /**
81
- * Function to convert bites to human readable fromat eg. kb,mb,gb
82
- * @param sizeInBytes
83
- * @returns
84
- */
85
- getFileSize: (sizeInBytes: number) => string;
86
- getFileMessageBubble(fileUrl: string, message: CometChat.MediaMessage, title?: string): Element | JSX.Element;
87
- getImageMessageBubble(imageUrl: string, placeholderImage: string, message: CometChat.MediaMessage, onClick?: Function): import("react/jsx-runtime").JSX.Element;
88
- getVideoMessageBubble(videoUrl: string, message: CometChat.MediaMessage, thumbnailUrl?: string, onClick?: Function): Element | JSX.Element;
89
- imageAttachmentOption(): CometChatMessageComposerAction;
90
- videoAttachmentOption(): CometChatMessageComposerAction;
91
- audioAttachmentOption(): CometChatMessageComposerAction;
92
- fileAttachmentOption(): CometChatMessageComposerAction;
93
- getAttachmentOptions(id: ComposerId): Array<CometChatMessageComposerAction>;
94
- getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations: additionalParams): string;
95
- getAuxiliaryHeaderMenu(user?: CometChat.User, group?: CometChat.Group): Element[] | JSX.Element[];
96
- getAIOptions(user: CometChat.User | null, group: CometChat.Group | null, id?: ComposerId): Array<CometChatMessageComposerAction | CometChatActionsView>;
97
- /**
98
- * Adds styled @ for every mention in the text by matching uid
99
- *
100
- * @param {CometChat.TextMessage} message
101
- * @param {string} subtitle
102
- * @returns {void}
103
- */
104
- getMentionsFormattedText(message: CometChat.TextMessage, subtitle: string, mentionsFormatterParams: {
105
- mentionsTargetElement: MentionsTargetElement;
106
- }): string;
107
- getAllTextFormatters(formatterParams: additionalParams): CometChatTextFormatter[];
108
- getMentionsTextFormatter(params: additionalParams): CometChatMentionsFormatter;
109
- getUrlTextFormatter(params?: additionalParams): CometChatUrlsFormatter;
110
- }