@cometchat/chat-uikit-react 4.3.21 → 5.0.0-beta1

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 (994) hide show
  1. package/LICENSE.md +1 -1
  2. package/README.md +5 -4
  3. package/SECURITY.md +4 -9
  4. package/SUPPORT.md +2 -2
  5. package/dist/Collaborative_Whiteboard_Dark.png +0 -0
  6. package/dist/Collaborative_Whiteboard_Light.png +0 -0
  7. package/dist/assets/Collaborative-Whiteboard-Preview-Light.png +0 -0
  8. package/dist/assets/Collaborative-document-Preview-light.png +0 -0
  9. package/dist/assets/Collaborative_Document_Dark.png +0 -0
  10. package/dist/assets/Collaborative_Document_Light.png +0 -0
  11. package/dist/assets/Collaborative_Whiteboard_Dark.png +0 -0
  12. package/dist/assets/Collaborative_Whiteboard_Light.png +0 -0
  13. package/dist/assets/Copy.svg +5 -17
  14. package/dist/assets/Info.svg +0 -0
  15. package/dist/assets/Spinner-Gradient-1.svg +12 -0
  16. package/dist/assets/account_circle.svg +8 -0
  17. package/dist/assets/activity.svg +10 -0
  18. package/dist/assets/add.svg +8 -0
  19. package/dist/assets/add_a_photo.svg +8 -0
  20. package/dist/assets/add_box.svg +8 -0
  21. package/dist/assets/add_call.svg +8 -0
  22. package/dist/assets/add_circle.svg +3 -0
  23. package/dist/assets/add_circle_fill.svg +3 -0
  24. package/dist/assets/add_comment.svg +8 -0
  25. package/dist/assets/add_reaction.svg +8 -0
  26. package/dist/assets/add_reaction_icon.svg +5 -0
  27. package/dist/assets/ai.svg +4 -0
  28. package/dist/assets/ai_conversation_summary.svg +3 -0
  29. package/dist/assets/ai_fill.svg +4 -0
  30. package/dist/assets/ai_suggest_reply.svg +3 -0
  31. package/dist/assets/alternate_email.svg +8 -0
  32. package/dist/assets/animals_nature.svg +10 -0
  33. package/dist/assets/archive.svg +8 -0
  34. package/dist/assets/arrow_back.svg +8 -0
  35. package/dist/assets/arrow_forward.svg +8 -0
  36. package/dist/assets/attach_file.svg +8 -0
  37. package/dist/assets/audio_call_button.svg +5 -0
  38. package/dist/assets/bar_chart.svg +3 -0
  39. package/dist/assets/bedtime.svg +8 -0
  40. package/dist/assets/block.svg +8 -0
  41. package/dist/assets/bookmark.svg +8 -0
  42. package/dist/assets/bookmark_add.svg +8 -0
  43. package/dist/assets/calendar_add_on.svg +8 -0
  44. package/dist/assets/calendar_today.svg +8 -0
  45. package/dist/assets/call-log-audio.svg +3 -0
  46. package/dist/assets/call-log_video.svg +3 -0
  47. package/dist/assets/call-logs_empty_state.svg +8 -0
  48. package/dist/assets/call-logs_empty_state_dark.svg +8 -0
  49. package/dist/assets/call.svg +8 -0
  50. package/dist/assets/call_end.svg +8 -0
  51. package/dist/assets/call_end_no_fill.svg +3 -0
  52. package/dist/assets/call_log.svg +8 -0
  53. package/dist/assets/call_made.svg +8 -0
  54. package/dist/assets/call_missed.svg +8 -0
  55. package/dist/assets/call_missed_outgoing.svg +8 -0
  56. package/dist/assets/call_received.svg +8 -0
  57. package/dist/assets/cancel.svg +8 -0
  58. package/dist/assets/cancel_fill.svg +8 -0
  59. package/dist/assets/change_circle.svg +3 -0
  60. package/dist/assets/change_scope.png +0 -0
  61. package/dist/assets/chat.svg +8 -0
  62. package/dist/assets/chat_bot.svg +3 -0
  63. package/dist/assets/check.svg +8 -0
  64. package/dist/assets/check_circle.svg +3 -0
  65. package/dist/assets/checkbox_tick.svg +5 -0
  66. package/dist/assets/chevron_left.svg +8 -0
  67. package/dist/assets/chevron_right.svg +8 -0
  68. package/dist/assets/circle.svg +3 -0
  69. package/dist/assets/close.svg +8 -12
  70. package/dist/assets/close2x.svg +0 -0
  71. package/dist/assets/collaborative_document_fill.svg +4 -0
  72. package/dist/assets/collaborative_whiteboard.svg +4 -0
  73. package/dist/assets/collaborative_whiteboard_fill.svg +4 -0
  74. package/dist/assets/collabrative_document.svg +4 -0
  75. package/dist/assets/content_copy.svg +8 -0
  76. package/dist/assets/conversations_audio-message.svg +8 -0
  77. package/dist/assets/conversations_card-message.svg +8 -0
  78. package/dist/assets/conversations_collaborative-document-message.svg +4 -0
  79. package/dist/assets/conversations_collaborative-whiteboard-message.svg +5 -0
  80. package/dist/assets/conversations_delete.svg +8 -0
  81. package/dist/assets/conversations_delivered.svg +3 -0
  82. package/dist/assets/conversations_dropdown.svg +3 -0
  83. package/dist/assets/conversations_empty_state.svg +20 -0
  84. package/dist/assets/conversations_empty_state_dark.svg +20 -0
  85. package/dist/assets/conversations_error.svg +16 -0
  86. package/dist/assets/conversations_file-message.svg +8 -0
  87. package/dist/assets/conversations_form-message.svg +3 -0
  88. package/dist/assets/conversations_image-message.svg +8 -0
  89. package/dist/assets/conversations_incoming-video-call.svg +8 -0
  90. package/dist/assets/conversations_incoming-voice-call.svg +3 -0
  91. package/dist/assets/conversations_link.svg +8 -0
  92. package/dist/assets/conversations_missed-video-call.svg +8 -0
  93. package/dist/assets/conversations_missed-voice-call.svg +3 -0
  94. package/dist/assets/conversations_outgoing-video-call.svg +8 -0
  95. package/dist/assets/conversations_outgoing-voice-call.svg +4 -0
  96. package/dist/assets/conversations_poll-message.svg +3 -0
  97. package/dist/assets/conversations_read.svg +3 -0
  98. package/dist/assets/conversations_schedular-message.svg +8 -0
  99. package/dist/assets/conversations_sent.svg +3 -0
  100. package/dist/assets/conversations_sticker-message.svg +4 -0
  101. package/dist/assets/conversations_thread.svg +8 -0
  102. package/dist/assets/conversations_video-message.svg +8 -0
  103. package/dist/assets/conversations_wait.svg +4 -0
  104. package/dist/assets/crop.svg +8 -0
  105. package/dist/assets/delete.svg +8 -15
  106. package/dist/assets/delete_icon.svg +4 -0
  107. package/dist/assets/deliveredIcon.svg +5 -0
  108. package/dist/assets/description.svg +8 -0
  109. package/dist/assets/document_icon.svg +10 -0
  110. package/dist/assets/done_all.svg +8 -0
  111. package/dist/assets/download.svg +8 -13
  112. package/dist/assets/dropdown-arrow.svg +3 -0
  113. package/dist/assets/edit.svg +8 -0
  114. package/dist/assets/edit_calendar.svg +8 -0
  115. package/dist/assets/edit_icon.svg +5 -0
  116. package/dist/assets/edit_square.svg +3 -0
  117. package/dist/assets/error.svg +9 -0
  118. package/dist/assets/error_icon.svg +3 -0
  119. package/dist/assets/error_info.svg +3 -0
  120. package/dist/assets/event.svg +8 -0
  121. package/dist/assets/favorite.svg +8 -0
  122. package/dist/assets/file_type_jpg.png +0 -0
  123. package/dist/assets/file_type_link.png +0 -0
  124. package/dist/assets/file_type_mov.png +0 -0
  125. package/dist/assets/file_type_mp3.png +0 -0
  126. package/dist/assets/file_type_pdf.png +0 -0
  127. package/dist/assets/file_type_ppt.png +0 -0
  128. package/dist/assets/file_type_txt.png +0 -0
  129. package/dist/assets/file_type_unsupported.png +0 -0
  130. package/dist/assets/file_type_word.png +0 -0
  131. package/dist/assets/file_type_xlsx.png +0 -0
  132. package/dist/assets/file_type_zip.png +0 -0
  133. package/dist/assets/filter_list.svg +8 -0
  134. package/dist/assets/filter_list_off.svg +8 -0
  135. package/dist/assets/flags.svg +5 -0
  136. package/dist/assets/flip_camera_ios.svg +8 -0
  137. package/dist/assets/food_drink.svg +10 -0
  138. package/dist/assets/forward.svg +8 -0
  139. package/dist/assets/gif.svg +3 -0
  140. package/dist/assets/graphic_eq.svg +3 -0
  141. package/dist/assets/groups_empty_state.svg +8 -0
  142. package/dist/assets/groups_empty_state_dark.svg +8 -0
  143. package/dist/assets/help.svg +8 -0
  144. package/dist/assets/history.svg +8 -0
  145. package/dist/assets/incoming_video.svg +8 -0
  146. package/dist/assets/incoming_video_no_fill.svg +4 -0
  147. package/dist/assets/info_icon.svg +3 -0
  148. package/dist/assets/info_icon_fill.svg +5 -0
  149. package/dist/assets/keep.svg +8 -0
  150. package/dist/assets/keep_off.svg +8 -0
  151. package/dist/assets/keyboard.svg +8 -0
  152. package/dist/assets/keyboard_arrow_down.svg +8 -0
  153. package/dist/assets/keyboard_arrow_up.svg +8 -0
  154. package/dist/assets/language.svg +8 -0
  155. package/dist/assets/link.svg +8 -0
  156. package/dist/assets/list_error_state_icon.svg +20 -0
  157. package/dist/assets/list_error_state_icon_dark.svg +27 -0
  158. package/dist/assets/loading_animation.svg +5 -0
  159. package/dist/assets/loading_icon.svg +3 -0
  160. package/dist/assets/location_on.svg +8 -0
  161. package/dist/assets/lock.svg +8 -0
  162. package/dist/assets/lock_open.svg +8 -0
  163. package/dist/assets/{Locked.svg → locked.svg} +0 -0
  164. package/dist/assets/logout.svg +3 -0
  165. package/dist/assets/mail.svg +8 -0
  166. package/dist/assets/message-delivered.svg +3 -4
  167. package/dist/assets/message-read.svg +3 -4
  168. package/dist/assets/message-sent.svg +3 -9
  169. package/dist/assets/message_delete.svg +8 -0
  170. package/dist/assets/mic.svg +3 -11
  171. package/dist/assets/mic_fill.svg +8 -0
  172. package/dist/assets/mic_off.svg +8 -0
  173. package/dist/assets/missed_video_call.svg +8 -0
  174. package/dist/assets/missed_video_call_no_fill.svg +3 -0
  175. package/dist/assets/mood.svg +3 -0
  176. package/dist/assets/mood_fill.svg +8 -0
  177. package/dist/assets/more_icon.svg +5 -0
  178. package/dist/assets/more_vert.svg +8 -0
  179. package/dist/assets/near_me.svg +3 -0
  180. package/dist/assets/no_photography.svg +8 -0
  181. package/dist/assets/notifications.svg +8 -0
  182. package/dist/assets/notifications_off.svg +8 -0
  183. package/dist/assets/objects.svg +10 -0
  184. package/dist/assets/outgoing_video.svg +8 -0
  185. package/dist/assets/outgoing_video_no_fill.svg +4 -0
  186. package/dist/assets/pause.svg +8 -0
  187. package/dist/assets/person.svg +8 -0
  188. package/dist/assets/person_add.svg +8 -0
  189. package/dist/assets/phone_in_talk.svg +8 -0
  190. package/dist/assets/phone_incoming.svg +3 -0
  191. package/dist/assets/phone_incoming_no_fill.svg +3 -0
  192. package/dist/assets/phone_missed.svg +8 -0
  193. package/dist/assets/phone_missed_no_fill.svg +3 -0
  194. package/dist/assets/phone_outgoing.svg +4 -0
  195. package/dist/assets/phone_outgoing_no_fill.svg +4 -0
  196. package/dist/assets/photo.svg +8 -0
  197. package/dist/assets/photo_camera.svg +8 -0
  198. package/dist/assets/placeholder.png +0 -0
  199. package/dist/assets/play_arrow.svg +8 -0
  200. package/dist/assets/play_circle.svg +8 -0
  201. package/dist/assets/poll.svg +5 -0
  202. package/dist/assets/{Private.svg → private.svg} +0 -0
  203. package/dist/assets/readIcon.svg +5 -0
  204. package/dist/assets/rearrange.svg +3 -0
  205. package/dist/assets/recording_icon.svg +10 -0
  206. package/dist/assets/recording_resume.svg +10 -0
  207. package/dist/assets/refresh.svg +8 -0
  208. package/dist/assets/reply.svg +8 -0
  209. package/dist/assets/reply_all.svg +8 -0
  210. package/dist/assets/reply_in_thread.svg +10 -0
  211. package/dist/assets/retry.svg +3 -0
  212. package/dist/assets/schedule.svg +8 -0
  213. package/dist/assets/screen_share.svg +8 -0
  214. package/dist/assets/send_fill.svg +8 -0
  215. package/dist/assets/settings.svg +8 -0
  216. package/dist/assets/share.svg +8 -0
  217. package/dist/assets/shield.svg +3 -0
  218. package/dist/assets/side-arrow.svg +0 -0
  219. package/dist/assets/smileys_people.svg +10 -0
  220. package/dist/assets/star.svg +8 -0
  221. package/dist/assets/status_delivered.svg +5 -0
  222. package/dist/assets/status_error.svg +16 -0
  223. package/dist/assets/status_read.svg +3 -0
  224. package/dist/assets/status_sending.svg +5 -0
  225. package/dist/assets/status_sent.svg +5 -0
  226. package/dist/assets/sticker.svg +3 -0
  227. package/dist/assets/sticker_fill.svg +4 -0
  228. package/dist/assets/stop.svg +8 -1
  229. package/dist/assets/stop_circle.svg +8 -0
  230. package/dist/assets/stop_screen_share.svg +8 -0
  231. package/dist/assets/subdirectory_arrow_left.svg +8 -0
  232. package/dist/assets/subdirectory_arrow_right.svg +8 -0
  233. package/dist/assets/sunny.svg +8 -0
  234. package/dist/assets/symbols.svg +13 -0
  235. package/dist/assets/thumb_down.svg +8 -0
  236. package/dist/assets/thumb_up.svg +8 -0
  237. package/dist/assets/tooltip-side.svg +5 -0
  238. package/dist/assets/tooltip.svg +5 -0
  239. package/dist/assets/translate.svg +3 -0
  240. package/dist/assets/travel_places.svg +10 -0
  241. package/dist/assets/upload.svg +3 -0
  242. package/dist/assets/user_empty.svg +8 -0
  243. package/dist/assets/user_empty_dark.svg +8 -0
  244. package/dist/assets/video_call.svg +8 -0
  245. package/dist/assets/video_call_button.svg +5 -0
  246. package/dist/assets/videocam.svg +8 -0
  247. package/dist/assets/videocam_off.svg +8 -0
  248. package/dist/assets/visibility_off.svg +3 -0
  249. package/dist/assets/volume_down.svg +8 -0
  250. package/dist/assets/volume_mute.svg +8 -0
  251. package/dist/assets/volume_off.svg +8 -0
  252. package/dist/assets/volume_up.svg +8 -0
  253. package/dist/assets/wait.svg +0 -0
  254. package/dist/assets/warning.svg +8 -0
  255. package/dist/assets/wifi.svg +8 -0
  256. package/dist/assets/zoom_in_map.svg +8 -0
  257. package/dist/assets/zoom_out_map.svg +8 -0
  258. package/dist/fonts/LICENSE.txt +202 -0
  259. package/dist/fonts/Roboto/LICENSE.txt +202 -0
  260. package/dist/fonts/Roboto/Roboto-Black.ttf +0 -0
  261. package/dist/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
  262. package/dist/fonts/Roboto/Roboto-Bold.ttf +0 -0
  263. package/dist/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
  264. package/dist/fonts/Roboto/Roboto-Italic.ttf +0 -0
  265. package/dist/fonts/Roboto/Roboto-Light.ttf +0 -0
  266. package/dist/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
  267. package/dist/fonts/Roboto/Roboto-Medium.ttf +0 -0
  268. package/dist/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
  269. package/dist/fonts/Roboto/Roboto-Regular.ttf +0 -0
  270. package/dist/fonts/Roboto/Roboto-Thin.ttf +0 -0
  271. package/dist/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
  272. package/dist/fonts/Roboto-Black.ttf +0 -0
  273. package/dist/fonts/Roboto-BlackItalic.ttf +0 -0
  274. package/dist/fonts/Roboto-Bold.ttf +0 -0
  275. package/dist/fonts/Roboto-BoldItalic.ttf +0 -0
  276. package/dist/fonts/Roboto-Italic.ttf +0 -0
  277. package/dist/fonts/Roboto-Light.ttf +0 -0
  278. package/dist/fonts/Roboto-LightItalic.ttf +0 -0
  279. package/dist/fonts/Roboto-Medium.ttf +0 -0
  280. package/dist/fonts/Roboto-MediumItalic.ttf +0 -0
  281. package/dist/fonts/Roboto-Regular.ttf +0 -0
  282. package/dist/fonts/Roboto-Thin.ttf +0 -0
  283. package/dist/fonts/Roboto-ThinItalic.ttf +0 -0
  284. package/dist/index.d.ts +9879 -2327
  285. package/dist/index.js +2 -8
  286. package/dist/index.js.map +1 -1
  287. package/dist/styles/AICard.css +30 -0
  288. package/dist/styles/AIConversationStarter.css +79 -0
  289. package/dist/styles/AIConversationSummary.css +110 -0
  290. package/dist/styles/AISmartReplies.css +122 -0
  291. package/dist/styles/CometChatActionBubble.css +19 -0
  292. package/dist/styles/CometChatActionSheet.css +60 -0
  293. package/dist/styles/CometChatAudioBubble.css +191 -0
  294. package/dist/styles/CometChatAvatar.css +35 -0
  295. package/dist/styles/CometChatBadge.css +15 -0
  296. package/dist/styles/CometChatButton.css +61 -0
  297. package/dist/styles/CometChatCallBubble.css +199 -0
  298. package/dist/styles/CometChatCallButtons.css +52 -0
  299. package/dist/styles/CometChatCallLogs.css +239 -0
  300. package/dist/styles/CometChatCard.css +41 -0
  301. package/dist/styles/CometChatChangeScope.css +197 -0
  302. package/dist/styles/CometChatCheckbox.css +62 -0
  303. package/dist/styles/CometChatConfirmDialog.css +143 -0
  304. package/dist/styles/CometChatContextMenu.css +126 -0
  305. package/dist/styles/CometChatConversations.css +585 -0
  306. package/dist/styles/CometChatDate.css +9 -0
  307. package/dist/styles/CometChatDeleteBubble.css +59 -0
  308. package/dist/styles/CometChatDocumentBubble.css +130 -0
  309. package/dist/styles/CometChatDropDown.css +82 -0
  310. package/dist/styles/CometChatEditPreview.css +58 -0
  311. package/dist/styles/CometChatEmojiKeyboard.css +146 -0
  312. package/dist/styles/CometChatFileBubble.css +180 -0
  313. package/dist/styles/CometChatFullScreenViewer.css +97 -0
  314. package/dist/styles/CometChatGroupMembers.css +227 -0
  315. package/dist/styles/CometChatGroups.css +218 -0
  316. package/dist/styles/CometChatImageBubble.css +36 -0
  317. package/dist/styles/CometChatIncomingCall.css +125 -0
  318. package/dist/styles/CometChatList.css +115 -0
  319. package/dist/styles/CometChatListItem.css +105 -0
  320. package/dist/styles/CometChatMediaRecorder.css +217 -0
  321. package/dist/styles/CometChatMessageBubble.css +118 -0
  322. package/dist/styles/CometChatMessageComposer.css +297 -0
  323. package/dist/styles/CometChatMessageHeader.css +157 -0
  324. package/dist/styles/CometChatMessageInformation.css +231 -0
  325. package/dist/styles/CometChatMessageList.css +710 -0
  326. package/dist/styles/CometChatOngoingCall.css +10 -0
  327. package/dist/styles/CometChatOutgoingCall.css +109 -0
  328. package/dist/styles/CometChatPopover.css +10 -0
  329. package/dist/styles/CometChatQuickView.css +57 -0
  330. package/dist/styles/CometChatRadioButton.css +63 -0
  331. package/dist/styles/CometChatReactionInfo.css +89 -0
  332. package/dist/styles/CometChatReactionList.css +205 -0
  333. package/dist/styles/CometChatReactions.css +53 -0
  334. package/dist/styles/CometChatSearchBar.css +66 -0
  335. package/dist/styles/CometChatSingleSelect.css +36 -0
  336. package/dist/styles/CometChatTextBubble.css +97 -0
  337. package/dist/styles/CometChatThreadedMessagePreview.css +152 -0
  338. package/dist/styles/CometChatToast.css +14 -0
  339. package/dist/styles/CometChatUsers.css +165 -0
  340. package/dist/styles/CometChatVideoBubble.css +39 -0
  341. package/dist/styles/CreatePolls.css +293 -0
  342. package/dist/styles/LinkPreview.css +127 -0
  343. package/dist/styles/MessageTranslationBubble.css +84 -0
  344. package/dist/styles/PollsBubble.css +251 -0
  345. package/dist/styles/StickersKeyboard.css +196 -0
  346. package/dist/styles/components/AICard.css +30 -0
  347. package/dist/styles/components/AIConversationStarter.css +79 -0
  348. package/dist/styles/components/AIConversationSummary.css +110 -0
  349. package/dist/styles/components/AISmartReplies.css +122 -0
  350. package/dist/styles/components/CometChatActionBubble.css +19 -0
  351. package/dist/styles/components/CometChatActionSheet.css +60 -0
  352. package/dist/styles/components/CometChatAudioBubble.css +191 -0
  353. package/dist/styles/components/CometChatAvatar.css +35 -0
  354. package/dist/styles/components/CometChatBadge.css +15 -0
  355. package/dist/styles/components/CometChatButton.css +61 -0
  356. package/dist/styles/components/CometChatCallBubble.css +199 -0
  357. package/dist/styles/components/CometChatCallButtons.css +52 -0
  358. package/dist/styles/components/CometChatCallLogs.css +239 -0
  359. package/dist/styles/components/CometChatCard.css +41 -0
  360. package/dist/styles/components/CometChatChangeScope.css +197 -0
  361. package/dist/styles/components/CometChatCheckbox.css +62 -0
  362. package/dist/styles/components/CometChatConfirmDialog.css +143 -0
  363. package/dist/styles/components/CometChatContextMenu.css +126 -0
  364. package/dist/styles/components/CometChatConversations.css +585 -0
  365. package/dist/styles/components/CometChatDate.css +9 -0
  366. package/dist/styles/components/CometChatDeleteBubble.css +59 -0
  367. package/dist/styles/components/CometChatDocumentBubble.css +130 -0
  368. package/dist/styles/components/CometChatDropDown.css +82 -0
  369. package/dist/styles/components/CometChatEditPreview.css +58 -0
  370. package/dist/styles/components/CometChatEmojiKeyboard.css +146 -0
  371. package/dist/styles/components/CometChatFileBubble.css +180 -0
  372. package/dist/styles/components/CometChatFullScreenViewer.css +97 -0
  373. package/dist/styles/components/CometChatGroupMembers.css +227 -0
  374. package/dist/styles/components/CometChatGroups.css +218 -0
  375. package/dist/styles/components/CometChatImageBubble.css +36 -0
  376. package/dist/styles/components/CometChatIncomingCall.css +125 -0
  377. package/dist/styles/components/CometChatList.css +115 -0
  378. package/dist/styles/components/CometChatListItem.css +105 -0
  379. package/dist/styles/components/CometChatMediaRecorder.css +217 -0
  380. package/dist/styles/components/CometChatMessageBubble.css +118 -0
  381. package/dist/styles/components/CometChatMessageComposer.css +297 -0
  382. package/dist/styles/components/CometChatMessageHeader.css +157 -0
  383. package/dist/styles/components/CometChatMessageInformation.css +231 -0
  384. package/dist/styles/components/CometChatMessageList.css +710 -0
  385. package/dist/styles/components/CometChatOngoingCall.css +10 -0
  386. package/dist/styles/components/CometChatOutgoingCall.css +109 -0
  387. package/dist/styles/components/CometChatPopover.css +10 -0
  388. package/dist/styles/components/CometChatQuickView.css +57 -0
  389. package/dist/styles/components/CometChatRadioButton.css +63 -0
  390. package/dist/styles/components/CometChatReactionInfo.css +89 -0
  391. package/dist/styles/components/CometChatReactionList.css +205 -0
  392. package/dist/styles/components/CometChatReactions.css +53 -0
  393. package/dist/styles/components/CometChatSearchBar.css +66 -0
  394. package/dist/styles/components/CometChatSingleSelect.css +36 -0
  395. package/dist/styles/components/CometChatTextBubble.css +97 -0
  396. package/dist/styles/components/CometChatThreadedMessagePreview.css +152 -0
  397. package/dist/styles/components/CometChatToast.css +14 -0
  398. package/dist/styles/components/CometChatUsers.css +165 -0
  399. package/dist/styles/components/CometChatVideoBubble.css +39 -0
  400. package/dist/styles/components/CreatePolls.css +293 -0
  401. package/dist/styles/components/LinkPreview.css +127 -0
  402. package/dist/styles/components/MessageTranslationBubble.css +84 -0
  403. package/dist/styles/components/PollsBubble.css +251 -0
  404. package/dist/styles/components/StickersKeyboard.css +196 -0
  405. package/dist/styles/components/index.css +109 -0
  406. package/dist/styles/css-variables.css +419 -0
  407. package/dist/styles/index.css +109 -0
  408. package/dist/types/CometChatUIKit/CometChatCalls.d.ts +1 -0
  409. package/dist/types/CometChatUIKit/CometChatUIKit.d.ts +147 -0
  410. package/dist/types/CometChatUIKit/CometChatUIKitLoginListener.d.ts +32 -0
  411. package/dist/types/CometChatUIKit/CometChatUIKitSharedSettings.d.ts +8 -0
  412. package/dist/types/CometChatUIKit/CometChatUIKitUtility.d.ts +81 -0
  413. package/dist/types/CometChatUIKit/UIKitSettings.d.ts +304 -0
  414. package/dist/types/Enums/Enums.d.ts +258 -0
  415. package/dist/types/components/AI/AIBaseConfiguration.d.ts +51 -0
  416. package/dist/types/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +20 -0
  417. package/dist/types/{AI → components/AI}/AIConversationStarter/AIConversationStarterDecorator.d.ts +4 -6
  418. package/dist/types/{AI → components/AI}/AIConversationStarter/AIConversationStarterExtension.d.ts +2 -2
  419. package/dist/types/{AI → components/AI}/AIConversationStarter/AIConversationStarterView.d.ts +3 -4
  420. package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +31 -0
  421. package/dist/types/{AI → components/AI}/AIConversationSummary/AIConversationSummaryDecorator.d.ts +7 -7
  422. package/dist/types/{AI → components/AI}/AIConversationSummary/AIConversationSummaryExtension.d.ts +2 -2
  423. package/dist/types/{AI → components/AI}/AIConversationSummary/AIConversationSummaryView.d.ts +3 -4
  424. package/dist/types/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +28 -0
  425. package/dist/types/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +21 -0
  426. package/dist/types/{AI → components/AI}/AISmartReplies/AISmartRepliesExtension.d.ts +2 -2
  427. package/dist/types/{AI → components/AI}/AISmartReplies/AISmartRepliesView.d.ts +3 -4
  428. package/dist/types/components/BaseComponents/CometChatActionBubble/CometChatActionBubble.d.ts +8 -0
  429. package/dist/types/components/BaseComponents/CometChatActionSheet/CometChatActionSheet.d.ts +7 -0
  430. package/dist/types/components/BaseComponents/CometChatAudioBubble/CometChatAudioBubble.d.ts +6 -0
  431. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/base-plugin.d.ts +21 -0
  432. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/decoder.d.ts +9 -0
  433. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/dom.d.ts +13 -0
  434. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/draggable.d.ts +1 -0
  435. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/event-emitter.d.ts +21 -0
  436. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/fetcher.d.ts +5 -0
  437. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/player.d.ts +50 -0
  438. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/envelope.d.ts +79 -0
  439. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/hover.d.ts +36 -0
  440. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/minimap.d.ts +65 -0
  441. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/record.d.ts +89 -0
  442. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/regions.d.ts +139 -0
  443. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/spectrogram.d.ts +98 -0
  444. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/timeline.d.ts +54 -0
  445. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/zoom.d.ts +55 -0
  446. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/renderer.d.ts +63 -0
  447. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/timer.d.ts +11 -0
  448. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/wavesurfer.d.ts +223 -0
  449. package/dist/types/components/BaseComponents/CometChatAudioBubble/src/webaudio.d.ts +63 -0
  450. package/dist/types/components/BaseComponents/CometChatAvatar/CometChatAvatar.d.ts +13 -0
  451. package/dist/types/components/BaseComponents/CometChatBadge/CometChatBadge.d.ts +10 -0
  452. package/dist/types/components/BaseComponents/CometChatButton/CometChatButton.d.ts +12 -0
  453. package/dist/types/components/BaseComponents/CometChatCallBubble/CometChatCallBubble.d.ts +12 -0
  454. package/dist/types/components/BaseComponents/CometChatCard/CometChatCard.d.ts +15 -0
  455. package/dist/types/components/BaseComponents/CometChatChangeScope/CometChatChangeScope.d.ts +10 -0
  456. package/dist/types/components/BaseComponents/CometChatChangeScope/useCometChatChangeScope.d.ts +10 -0
  457. package/dist/types/components/BaseComponents/CometChatCheckbox/CometChatCheckbox.d.ts +11 -0
  458. package/dist/types/components/BaseComponents/CometChatCheckbox/useCometChatCheckbox.d.ts +11 -0
  459. package/dist/types/components/BaseComponents/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +16 -0
  460. package/dist/types/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts +17 -0
  461. package/dist/types/components/BaseComponents/CometChatDate/CometChatDate.d.ts +13 -0
  462. package/dist/types/components/BaseComponents/CometChatDate/useCometChatDate.d.ts +8 -0
  463. package/dist/types/components/BaseComponents/CometChatDeleteBubble/CometChatDeleteBubble.d.ts +14 -0
  464. package/dist/types/components/BaseComponents/CometChatDocumentBubble/CometChatDocumentBubble.d.ts +11 -0
  465. package/dist/types/components/BaseComponents/CometChatDropDown/CometChatDropDown.d.ts +14 -0
  466. package/dist/types/components/BaseComponents/CometChatDropDown/useCometChatDropDown.d.ts +12 -0
  467. package/dist/types/components/BaseComponents/CometChatEditPreview/CometChatEditPreview.d.ts +21 -0
  468. package/dist/types/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmoji.d.ts +22 -0
  469. package/dist/types/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +7 -0
  470. package/dist/types/components/BaseComponents/CometChatEmojiKeyboard/emojis.d.ts +6579 -0
  471. package/dist/types/components/BaseComponents/CometChatEmojiKeyboard/useCometChatEmojiKeyboard.d.ts +17 -0
  472. package/dist/types/components/BaseComponents/CometChatFileBubble/CometChatFileBubble.d.ts +9 -0
  473. package/dist/types/components/BaseComponents/CometChatFullScreenViewer/CometChatFullScreenViewer.d.ts +23 -0
  474. package/dist/types/components/BaseComponents/CometChatImageBubble/CometChatImageBubble.d.ts +10 -0
  475. package/dist/types/components/BaseComponents/CometChatImageBubble/useCometChatImageBubble.d.ts +7 -0
  476. package/dist/types/{Shared/Views/CometChatList/index.d.ts → components/BaseComponents/CometChatList/CometChatList.d.ts} +15 -10
  477. package/dist/types/{Shared/Views/CometChatList/hooks.d.ts → components/BaseComponents/CometChatList/useCometChatList.d.ts} +3 -6
  478. package/dist/types/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +15 -0
  479. package/dist/types/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +12 -0
  480. package/dist/types/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +5 -0
  481. package/dist/types/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +19 -0
  482. package/dist/types/components/BaseComponents/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +8 -0
  483. package/dist/types/components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble.d.ts +28 -0
  484. package/dist/types/components/BaseComponents/CometChatPopover/CometChatPopover.d.ts +24 -0
  485. package/dist/types/components/BaseComponents/CometChatQuickView/CometChatQuickView.d.ts +9 -0
  486. package/dist/types/components/BaseComponents/CometChatRadioButton/CometChatRadioButton.d.ts +14 -0
  487. package/dist/types/components/BaseComponents/CometChatRadioButton/useCometChatRadioButton.d.ts +13 -0
  488. package/dist/types/components/BaseComponents/CometChatSearchBar/CometChatSearchBar.d.ts +9 -0
  489. package/dist/types/components/BaseComponents/CometChatSearchBar/useCometChatSearchBar.d.ts +10 -0
  490. package/dist/types/components/BaseComponents/CometChatSingleSelect/CometChatSingleSelect.d.ts +8 -0
  491. package/dist/types/components/BaseComponents/CometChatTextBubble/CometChatTextBubble.d.ts +8 -0
  492. package/dist/types/components/BaseComponents/CometChatTextBubble/useCometChatTextBubble.d.ts +6 -0
  493. package/dist/types/components/BaseComponents/CometChatToast/CometChatToast.d.ts +27 -0
  494. package/dist/types/components/BaseComponents/CometChatVideoBubble/CometChatVideoBubble.d.ts +9 -0
  495. package/dist/types/components/BaseComponents/CometChatVideoBubble/useCometChatVideoBubble.d.ts +6 -0
  496. package/dist/types/components/Calling/CallButtonConfiguration.d.ts +10 -0
  497. package/dist/types/components/Calling/CallingConfiguration.d.ts +7 -0
  498. package/dist/types/components/Calling/CallingExtension.d.ts +9 -0
  499. package/dist/types/components/Calling/CallingExtensionDecorator.d.ts +29 -0
  500. package/dist/types/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +36 -0
  501. package/dist/types/components/Calling/CometChatCallButtons/useCallButtons.d.ts +6 -0
  502. package/dist/types/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +71 -0
  503. package/dist/types/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +2 -0
  504. package/dist/types/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +59 -0
  505. package/dist/types/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +2 -0
  506. package/dist/types/components/Calling/CometChatOngoingCall/CometChatOngoingCall.d.ts +10 -0
  507. package/dist/types/components/Calling/CometChatOngoingCall/useCometChatOngoingCall.d.ts +2 -0
  508. package/dist/types/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +36 -0
  509. package/dist/types/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +7 -0
  510. package/dist/types/components/Calling/OutgoingCallConfiguration.d.ts +8 -0
  511. package/dist/types/{Calling → components/Calling}/Utils/utils.d.ts +1 -1
  512. package/dist/types/{CometChatConversations/index.d.ts → components/CometChatConversations/CometChatConversations.d.ts} +28 -153
  513. package/dist/types/{CometChatConversations → components/CometChatConversations}/controller.d.ts +1 -1
  514. package/dist/types/{CometChatConversations/hooks.d.ts → components/CometChatConversations/useCometChatConversations.d.ts} +7 -4
  515. package/dist/types/{CometChatGroupMembers/index.d.ts → components/CometChatGroupMembers/CometChatGroupMembers.d.ts} +9 -112
  516. package/dist/types/{CometChatGroupMembers → components/CometChatGroupMembers}/controller.d.ts +1 -1
  517. package/dist/types/{CometChatGroupMembers/hooks.d.ts → components/CometChatGroupMembers/useCometChatGroupMembers.d.ts} +3 -3
  518. package/dist/types/{CometChatGroups/index.d.ts → components/CometChatGroups/CometChatGroups.d.ts} +7 -72
  519. package/dist/types/{CometChatGroups → components/CometChatGroups}/controller.d.ts +1 -1
  520. package/dist/types/{CometChatGroups/hooks.d.ts → components/CometChatGroups/useCometChatGroups.d.ts} +2 -2
  521. package/dist/types/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +166 -0
  522. package/dist/types/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +42 -0
  523. package/dist/types/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +29 -0
  524. package/dist/types/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +3 -0
  525. package/dist/types/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +6 -0
  526. package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +132 -0
  527. package/dist/types/components/CometChatMessageList/useCometChatMessageList.d.ts +6 -0
  528. package/dist/types/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +11 -0
  529. package/dist/types/components/CometChatUserMemberWrapper/CometChatUserMemberWrapper.d.ts +21 -0
  530. package/dist/types/{CometChatUserMemberWrapper → components/CometChatUserMemberWrapper}/index.d.ts +1 -3
  531. package/dist/types/{CometChatUsers/index.d.ts → components/CometChatUsers/CometChatUsers.d.ts} +7 -74
  532. package/dist/types/{CometChatUsers → components/CometChatUsers}/controller.d.ts +0 -6
  533. package/dist/types/{CometChatUsers/hooks.d.ts → components/CometChatUsers/useCometChatUsers.d.ts} +3 -2
  534. package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +35 -0
  535. package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentConstants.d.ts +15 -0
  536. package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +37 -0
  537. package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +116 -0
  538. package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +35 -0
  539. package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConstants.d.ts +13 -0
  540. package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +29 -0
  541. package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +94 -0
  542. package/dist/types/components/Extensions/ExtensionsDataSource.d.ts +29 -0
  543. package/dist/types/components/Extensions/ExtensionsId.d.ts +22 -0
  544. package/dist/types/components/Extensions/LinkPreview/LinkPreview.d.ts +37 -0
  545. package/dist/types/components/Extensions/LinkPreview/LinkPreviewConstants.d.ts +11 -0
  546. package/dist/types/components/Extensions/LinkPreview/LinkPreviewExtension.d.ts +24 -0
  547. package/dist/types/components/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +60 -0
  548. package/dist/types/components/Extensions/MessageTranslation/MessageTranslationBubble.d.ts +35 -0
  549. package/dist/types/components/Extensions/MessageTranslation/MessageTranslationConstants.d.ts +12 -0
  550. package/dist/types/components/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +30 -0
  551. package/dist/types/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +53 -0
  552. package/dist/types/components/Extensions/Polls/CreatePolls.d.ts +66 -0
  553. package/dist/types/components/Extensions/Polls/PollsBubble.d.ts +35 -0
  554. package/dist/types/{Extensions → components/Extensions}/Polls/PollsConfiguration.d.ts +0 -10
  555. package/dist/types/components/Extensions/Polls/PollsConstants.d.ts +8 -0
  556. package/dist/types/{Extensions → components/Extensions}/Polls/PollsExtension.d.ts +1 -1
  557. package/dist/types/components/Extensions/Polls/PollsExtensionDecorator.d.ts +112 -0
  558. package/dist/types/components/Extensions/Stickers/StickersConstants.d.ts +16 -0
  559. package/dist/types/components/Extensions/Stickers/StickersExtension.d.ts +31 -0
  560. package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +112 -0
  561. package/dist/types/components/Extensions/Stickers/StickersKeyboard.d.ts +29 -0
  562. package/dist/types/components/Extensions/ThumbnailGeneration/ThumbnailGenerationConstants.d.ts +13 -0
  563. package/dist/types/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +21 -0
  564. package/dist/types/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +40 -0
  565. package/dist/types/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +9 -0
  566. package/dist/types/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +8 -0
  567. package/dist/types/components/Reactions/CometChatReactions/CometChatReactions.d.ts +12 -0
  568. package/dist/types/constants/CometChatUIKitConstants.d.ts +139 -0
  569. package/dist/types/constants/CometChatUtilityConstants.d.ts +9 -0
  570. package/dist/types/constants/index.d.ts +1 -0
  571. package/dist/types/events/CometChatCallEvents.d.ts +10 -0
  572. package/dist/types/events/CometChatConversationEvents.d.ts +13 -0
  573. package/dist/types/events/CometChatGroupEvents.d.ts +63 -0
  574. package/dist/types/events/CometChatMessageEvents.d.ts +43 -0
  575. package/dist/types/events/CometChatUIEvents.d.ts +59 -0
  576. package/dist/types/events/CometChatUserEvents.d.ts +16 -0
  577. package/dist/types/formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +210 -0
  578. package/dist/types/formatters/CometChatFormatters/CometChatTextFormatter.d.ts +268 -0
  579. package/dist/types/formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter.d.ts +12 -0
  580. package/dist/types/formatters/index.d.ts +3 -0
  581. package/dist/types/index.d.ts +108 -84
  582. package/dist/types/modals/CometChatActions.d.ts +36 -0
  583. package/dist/types/modals/CometChatActionsIcon.d.ts +38 -0
  584. package/dist/types/modals/CometChatActionsView.d.ts +39 -0
  585. package/dist/types/modals/CometChatMessageComposerAction.d.ts +33 -0
  586. package/dist/types/modals/CometChatMessageOption.d.ts +37 -0
  587. package/dist/types/modals/CometChatMessageTemplate.d.ts +70 -0
  588. package/dist/types/modals/CometChatOption.d.ts +20 -0
  589. package/dist/types/modals/InteractiveActions/APIAction.d.ts +108 -0
  590. package/dist/types/modals/InteractiveActions/CustomAction.d.ts +12 -0
  591. package/dist/types/modals/InteractiveActions/URLNavigationAction.d.ts +30 -0
  592. package/dist/types/modals/InteractiveActions/index.d.ts +3 -0
  593. package/dist/types/modals/InteractiveElements/BaseInputElement.d.ts +50 -0
  594. package/dist/types/modals/InteractiveElements/BaseInteractiveElement.d.ts +25 -0
  595. package/dist/types/modals/InteractiveElements/ButtonElement.d.ts +48 -0
  596. package/dist/types/modals/InteractiveElements/CheckboxElement.d.ts +46 -0
  597. package/dist/types/modals/InteractiveElements/DateTimePickerElement.d.ts +124 -0
  598. package/dist/types/modals/InteractiveElements/DropdownElement.d.ts +55 -0
  599. package/dist/types/modals/InteractiveElements/LabelElement.d.ts +29 -0
  600. package/dist/types/modals/InteractiveElements/OptionElement.d.ts +35 -0
  601. package/dist/types/modals/InteractiveElements/RadioButtonElement.d.ts +54 -0
  602. package/dist/types/modals/InteractiveElements/SingleSelectElement.d.ts +50 -0
  603. package/dist/types/modals/InteractiveElements/TextInputElement.d.ts +69 -0
  604. package/dist/types/modals/InteractiveElements/index.d.ts +11 -0
  605. package/dist/types/modals/InteractiveEntities/ActionEntity.d.ts +32 -0
  606. package/dist/types/modals/InteractiveEntities/ElementEntity.d.ts +35 -0
  607. package/dist/types/modals/InteractiveEntities/index.d.ts +2 -0
  608. package/dist/types/modals/InteractiveMessage/CardMessage.d.ts +69 -0
  609. package/dist/types/modals/InteractiveMessage/CustomInteractiveMessage.d.ts +20 -0
  610. package/dist/types/modals/InteractiveMessage/FormMessage.d.ts +75 -0
  611. package/dist/types/modals/InteractiveMessage/SchedulerMessage.d.ts +230 -0
  612. package/dist/types/modals/InteractiveMessage/index.d.ts +5 -0
  613. package/dist/types/modals/index.d.ts +7 -0
  614. package/dist/types/resources/CometChatLocalize/cometchat-localize.d.ts +5603 -0
  615. package/dist/types/resources/CometChatSoundManager/CometChatSoundManager.d.ts +128 -0
  616. package/dist/types/resources/index.d.ts +1 -0
  617. package/dist/types/src/CometChatCustomHooks.d.ts +27 -0
  618. package/dist/types/src/CometChatUIKit/CometChatCalls.d.ts +1 -0
  619. package/dist/types/src/CometChatUIKit/CometChatUIKit.d.ts +147 -0
  620. package/dist/types/src/CometChatUIKit/CometChatUIKitLoginListener.d.ts +32 -0
  621. package/dist/types/src/CometChatUIKit/CometChatUIKitUtility.d.ts +81 -0
  622. package/dist/types/src/CometChatUIKit/UIKitSettings.d.ts +304 -0
  623. package/dist/types/src/Enums/Enums.d.ts +258 -0
  624. package/dist/types/src/components/AI/AIBaseConfiguration.d.ts +51 -0
  625. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +20 -0
  626. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +18 -0
  627. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +8 -0
  628. package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +8 -0
  629. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +31 -0
  630. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +22 -0
  631. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +8 -0
  632. package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +9 -0
  633. package/dist/types/{Shared/Framework/ExtensionsDataSource.d.ts → src/components/AI/AIExtensionDataSource.d.ts} +2 -2
  634. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +28 -0
  635. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +21 -0
  636. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +8 -0
  637. package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesView.d.ts +11 -0
  638. package/dist/types/src/components/BaseComponents/CometChatActionBubble/CometChatActionBubble.d.ts +8 -0
  639. package/dist/types/src/components/BaseComponents/CometChatActionSheet/CometChatActionSheet.d.ts +7 -0
  640. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/CometChatAudioBubble.d.ts +6 -0
  641. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/base-plugin.d.ts +21 -0
  642. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/decoder.d.ts +9 -0
  643. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/dom.d.ts +13 -0
  644. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/draggable.d.ts +1 -0
  645. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/event-emitter.d.ts +21 -0
  646. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/fetcher.d.ts +5 -0
  647. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/player.d.ts +50 -0
  648. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/envelope.d.ts +79 -0
  649. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/hover.d.ts +36 -0
  650. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/minimap.d.ts +65 -0
  651. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/record.d.ts +89 -0
  652. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/regions.d.ts +139 -0
  653. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/spectrogram.d.ts +98 -0
  654. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/timeline.d.ts +54 -0
  655. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/zoom.d.ts +55 -0
  656. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/renderer.d.ts +63 -0
  657. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/timer.d.ts +11 -0
  658. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/wavesurfer.d.ts +223 -0
  659. package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/webaudio.d.ts +63 -0
  660. package/dist/types/src/components/BaseComponents/CometChatAvatar/CometChatAvatar.d.ts +13 -0
  661. package/dist/types/src/components/BaseComponents/CometChatButton/CometChatButton.d.ts +12 -0
  662. package/dist/types/src/components/BaseComponents/CometChatCallBubble/CometChatCallBubble.d.ts +12 -0
  663. package/dist/types/src/components/BaseComponents/CometChatChangeScope/CometChatChangeScope.d.ts +10 -0
  664. package/dist/types/src/components/BaseComponents/CometChatChangeScope/useCometChatChangeScope.d.ts +10 -0
  665. package/dist/types/src/components/BaseComponents/CometChatCheckbox/CometChatCheckbox.d.ts +11 -0
  666. package/dist/types/src/components/BaseComponents/CometChatCheckbox/useCometChatCheckbox.d.ts +11 -0
  667. package/dist/types/src/components/BaseComponents/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +16 -0
  668. package/dist/types/src/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts +17 -0
  669. package/dist/types/src/components/BaseComponents/CometChatDate/CometChatDate.d.ts +13 -0
  670. package/dist/types/src/components/BaseComponents/CometChatDate/useCometChatDate.d.ts +8 -0
  671. package/dist/types/src/components/BaseComponents/CometChatDeleteBubble/CometChatDeleteBubble.d.ts +14 -0
  672. package/dist/types/src/components/BaseComponents/CometChatDocumentBubble/CometChatDocumentBubble.d.ts +11 -0
  673. package/dist/types/src/components/BaseComponents/CometChatDropDown/CometChatDropDown.d.ts +14 -0
  674. package/dist/types/src/components/BaseComponents/CometChatDropDown/useCometChatDropDown.d.ts +12 -0
  675. package/dist/types/src/components/BaseComponents/CometChatEditPreview/CometChatEditPreview.d.ts +21 -0
  676. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmoji.d.ts +22 -0
  677. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +7 -0
  678. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/emojis.d.ts +6579 -0
  679. package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/useCometChatEmojiKeyboard.d.ts +17 -0
  680. package/dist/types/src/components/BaseComponents/CometChatFileBubble/CometChatFileBubble.d.ts +9 -0
  681. package/dist/types/src/components/BaseComponents/CometChatFullScreenViewer/CometChatFullScreenViewer.d.ts +23 -0
  682. package/dist/types/src/components/BaseComponents/CometChatImageBubble/CometChatImageBubble.d.ts +10 -0
  683. package/dist/types/src/components/BaseComponents/CometChatImageBubble/useCometChatImageBubble.d.ts +7 -0
  684. package/dist/types/src/components/BaseComponents/CometChatList/CometChatList.d.ts +156 -0
  685. package/dist/types/src/components/BaseComponents/CometChatList/useCometChatList.d.ts +17 -0
  686. package/dist/types/src/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +15 -0
  687. package/dist/types/src/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +12 -0
  688. package/dist/types/src/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +5 -0
  689. package/dist/types/src/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +19 -0
  690. package/dist/types/src/components/BaseComponents/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +8 -0
  691. package/dist/types/src/components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble.d.ts +28 -0
  692. package/dist/types/src/components/BaseComponents/CometChatPopover/CometChatPopover.d.ts +24 -0
  693. package/dist/types/src/components/BaseComponents/CometChatRadioButton/CometChatRadioButton.d.ts +14 -0
  694. package/dist/types/src/components/BaseComponents/CometChatRadioButton/useCometChatRadioButton.d.ts +13 -0
  695. package/dist/types/src/components/BaseComponents/CometChatSearchBar/CometChatSearchBar.d.ts +9 -0
  696. package/dist/types/src/components/BaseComponents/CometChatSearchBar/useCometChatSearchBar.d.ts +10 -0
  697. package/dist/types/src/components/BaseComponents/CometChatTextBubble/CometChatTextBubble.d.ts +8 -0
  698. package/dist/types/src/components/BaseComponents/CometChatTextBubble/useCometChatTextBubble.d.ts +6 -0
  699. package/dist/types/src/components/BaseComponents/CometChatToast/CometChatToast.d.ts +27 -0
  700. package/dist/types/src/components/BaseComponents/CometChatVideoBubble/CometChatVideoBubble.d.ts +9 -0
  701. package/dist/types/src/components/BaseComponents/CometChatVideoBubble/useCometChatVideoBubble.d.ts +6 -0
  702. package/dist/types/src/components/Calling/CallButtonConfiguration.d.ts +10 -0
  703. package/dist/types/src/components/Calling/CallingConfiguration.d.ts +7 -0
  704. package/dist/types/src/components/Calling/CallingExtension.d.ts +9 -0
  705. package/dist/types/src/components/Calling/CallingExtensionDecorator.d.ts +29 -0
  706. package/dist/types/src/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +36 -0
  707. package/dist/types/src/components/Calling/CometChatCallButtons/useCallButtons.d.ts +6 -0
  708. package/dist/types/src/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +71 -0
  709. package/dist/types/src/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +2 -0
  710. package/dist/types/src/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +59 -0
  711. package/dist/types/src/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +2 -0
  712. package/dist/types/src/components/Calling/CometChatOngoingCall/CometChatOngoingCall.d.ts +10 -0
  713. package/dist/types/src/components/Calling/CometChatOngoingCall/useCometChatOngoingCall.d.ts +2 -0
  714. package/dist/types/src/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +36 -0
  715. package/dist/types/src/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +7 -0
  716. package/dist/types/src/components/Calling/OutgoingCallConfiguration.d.ts +8 -0
  717. package/dist/types/src/components/Calling/Utils/utils.d.ts +7 -0
  718. package/dist/types/src/components/CometChatConversations/CometChatConversations.d.ts +219 -0
  719. package/dist/types/src/components/CometChatConversations/controller.d.ts +74 -0
  720. package/dist/types/src/components/CometChatConversations/useCometChatConversations.d.ts +25 -0
  721. package/dist/types/src/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +178 -0
  722. package/dist/types/src/components/CometChatGroupMembers/controller.d.ts +38 -0
  723. package/dist/types/src/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +22 -0
  724. package/dist/types/src/components/CometChatGroups/CometChatGroups.d.ts +150 -0
  725. package/dist/types/src/components/CometChatGroups/controller.d.ts +44 -0
  726. package/dist/types/src/components/CometChatGroups/useCometChatGroups.d.ts +15 -0
  727. package/dist/types/src/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +166 -0
  728. package/dist/types/src/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +42 -0
  729. package/dist/types/src/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +29 -0
  730. package/dist/types/src/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +3 -0
  731. package/dist/types/src/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +6 -0
  732. package/dist/types/src/components/CometChatMessageList/CometChatMessageList.d.ts +132 -0
  733. package/dist/types/src/components/CometChatMessageList/CometChatMessageListController.d.ts +48 -0
  734. package/dist/types/src/components/CometChatMessageList/useCometChatMessageList.d.ts +6 -0
  735. package/dist/types/src/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +11 -0
  736. package/dist/types/src/components/CometChatUserMemberWrapper/CometChatUserMemberWrapper.d.ts +21 -0
  737. package/dist/types/{CometChatAddMembers/index.d.ts → src/components/CometChatUsers/CometChatUsers.d.ts} +81 -117
  738. package/dist/types/src/components/CometChatUsers/controller.d.ts +28 -0
  739. package/dist/types/src/components/CometChatUsers/useCometChatUsers.d.ts +19 -0
  740. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +35 -0
  741. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConstants.d.ts +15 -0
  742. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +37 -0
  743. package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +116 -0
  744. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +35 -0
  745. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConstants.d.ts +13 -0
  746. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +29 -0
  747. package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +94 -0
  748. package/dist/types/src/components/Extensions/ExtensionsDataSource.d.ts +29 -0
  749. package/dist/types/src/components/Extensions/ExtensionsId.d.ts +22 -0
  750. package/dist/types/src/components/Extensions/LinkPreview/LinkPreview.d.ts +37 -0
  751. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewConstants.d.ts +11 -0
  752. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtension.d.ts +24 -0
  753. package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +60 -0
  754. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationBubble.d.ts +35 -0
  755. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationConstants.d.ts +12 -0
  756. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +30 -0
  757. package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +53 -0
  758. package/dist/types/src/components/Extensions/Polls/CreatePolls.d.ts +66 -0
  759. package/dist/types/src/components/Extensions/Polls/PollsBubble.d.ts +35 -0
  760. package/dist/types/src/components/Extensions/Polls/PollsConfiguration.d.ts +19 -0
  761. package/dist/types/src/components/Extensions/Polls/PollsConstants.d.ts +8 -0
  762. package/dist/types/src/components/Extensions/Polls/PollsExtension.d.ts +8 -0
  763. package/dist/types/src/components/Extensions/Polls/PollsExtensionDecorator.d.ts +112 -0
  764. package/dist/types/src/components/Extensions/Stickers/StickersConstants.d.ts +16 -0
  765. package/dist/types/src/components/Extensions/Stickers/StickersExtension.d.ts +31 -0
  766. package/dist/types/src/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +112 -0
  767. package/dist/types/src/components/Extensions/Stickers/StickersKeyboard.d.ts +29 -0
  768. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationConstants.d.ts +13 -0
  769. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +21 -0
  770. package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +40 -0
  771. package/dist/types/src/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +9 -0
  772. package/dist/types/src/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +8 -0
  773. package/dist/types/src/components/Reactions/CometChatReactions/CometChatReactions.d.ts +12 -0
  774. package/dist/types/src/constants/CometChatUIKitConstants.d.ts +139 -0
  775. package/dist/types/src/constants/CometChatUtilityConstants.d.ts +9 -0
  776. package/dist/types/src/constants/index.d.ts +1 -0
  777. package/dist/types/src/events/CometChatCallEvents.d.ts +10 -0
  778. package/dist/types/src/events/CometChatConversationEvents.d.ts +13 -0
  779. package/dist/types/src/events/CometChatGroupEvents.d.ts +63 -0
  780. package/dist/types/src/events/CometChatMessageEvents.d.ts +43 -0
  781. package/dist/types/src/events/CometChatUIEvents.d.ts +59 -0
  782. package/dist/types/src/events/CometChatUserEvents.d.ts +16 -0
  783. package/dist/types/src/formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +210 -0
  784. package/dist/types/src/formatters/CometChatFormatters/CometChatTextFormatter.d.ts +268 -0
  785. package/dist/types/src/formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter.d.ts +12 -0
  786. package/dist/types/src/formatters/index.d.ts +3 -0
  787. package/dist/types/src/index.d.ts +108 -0
  788. package/dist/types/src/modals/CometChatActions.d.ts +36 -0
  789. package/dist/types/src/modals/CometChatActionsIcon.d.ts +38 -0
  790. package/dist/types/src/modals/CometChatActionsView.d.ts +39 -0
  791. package/dist/types/src/modals/CometChatMessageComposerAction.d.ts +33 -0
  792. package/dist/types/src/modals/CometChatMessageOption.d.ts +37 -0
  793. package/dist/types/src/modals/CometChatMessageTemplate.d.ts +70 -0
  794. package/dist/types/src/modals/CometChatOption.d.ts +20 -0
  795. package/dist/types/src/modals/index.d.ts +7 -0
  796. package/dist/types/src/resources/CometChatLocalize/cometchat-localize.d.ts +5603 -0
  797. package/dist/types/src/resources/CometChatSoundManager/CometChatSoundManager.d.ts +128 -0
  798. package/dist/types/src/resources/index.d.ts +1 -0
  799. package/dist/types/src/utils/CallingDetailsUtils.d.ts +42 -0
  800. package/dist/types/{Shared/Framework → src/utils}/ChatConfigurator.d.ts +4 -0
  801. package/dist/types/src/utils/ChatSdkEventInitializer.d.ts +6 -0
  802. package/dist/types/src/utils/ConversationUtils.d.ts +69 -0
  803. package/dist/types/src/utils/DataSource.d.ts +55 -0
  804. package/dist/types/src/utils/DataSourceDecorator.d.ts +57 -0
  805. package/dist/types/src/utils/GroupMemberUtils.d.ts +32 -0
  806. package/dist/types/src/utils/MessageReceiptUtils.d.ts +44 -0
  807. package/dist/types/src/utils/MessageUtils.d.ts +55 -0
  808. package/dist/types/src/utils/MessagesDataSource.d.ts +110 -0
  809. package/dist/types/src/utils/Storage.d.ts +33 -0
  810. package/dist/types/src/utils/util.d.ts +26 -0
  811. package/dist/types/utils/CallingDetailsUtils.d.ts +42 -0
  812. package/dist/types/utils/ChatConfigurator.d.ts +12 -0
  813. package/dist/types/utils/ChatSdkEventInitializer.d.ts +6 -0
  814. package/dist/types/utils/ConversationUtils.d.ts +69 -0
  815. package/dist/types/utils/DataSource.d.ts +55 -0
  816. package/dist/types/utils/DataSourceDecorator.d.ts +57 -0
  817. package/dist/types/utils/GroupMemberUtils.d.ts +32 -0
  818. package/dist/types/utils/IcsToJson.d.ts +19 -0
  819. package/dist/types/utils/InteractiveMessageUtils.d.ts +71 -0
  820. package/dist/types/utils/MessageReceiptUtils.d.ts +44 -0
  821. package/dist/types/utils/MessageUtils.d.ts +55 -0
  822. package/dist/types/utils/MessagesDataSource.d.ts +110 -0
  823. package/dist/types/utils/Storage.d.ts +33 -0
  824. package/dist/types/utils/util.d.ts +26 -0
  825. package/package.json +14 -17
  826. package/rollup.config.js +16 -6
  827. package/tsconfig.json +2 -1
  828. package/CONTRIBUTING.md +0 -92
  829. package/dist/assets/InfoSimpleIcon.svg +0 -4
  830. package/dist/assets/More.svg +0 -9
  831. package/dist/assets/More@2x.svg +0 -9
  832. package/dist/assets/Plus-1.svg +0 -12
  833. package/dist/assets/StartConversation.svg +0 -13
  834. package/dist/assets/Stickers.svg +0 -16
  835. package/dist/assets/addreaction.svg +0 -9
  836. package/dist/assets/ai-bot.svg +0 -3
  837. package/dist/assets/attachment-file.svg +0 -14
  838. package/dist/assets/audio-file.svg +0 -12
  839. package/dist/assets/collaborativedocument.svg +0 -13
  840. package/dist/assets/collaborativewhiteboard.svg +0 -12
  841. package/dist/assets/create-button.svg +0 -12
  842. package/dist/assets/deleteicon.svg +0 -15
  843. package/dist/assets/editicon.svg +0 -14
  844. package/dist/assets/heart.svg +0 -11
  845. package/dist/assets/photolibrary.svg +0 -11
  846. package/dist/assets/plus-rotated.svg +0 -13
  847. package/dist/assets/plus.svg +0 -13
  848. package/dist/assets/polls.svg +0 -14
  849. package/dist/assets/smileys.svg +0 -16
  850. package/dist/assets/stipop.svg +0 -9
  851. package/dist/assets/threadIndicatorIcon.svg +0 -11
  852. package/dist/assets/threadicon.svg +0 -14
  853. package/dist/assets/translation.svg +0 -16
  854. package/dist/assets/video.svg +0 -12
  855. package/dist/types/AI/AIAssistBot/AIAssistBotChatView.d.ts +0 -10
  856. package/dist/types/AI/AIAssistBot/AIAssistBotDecorator.d.ts +0 -22
  857. package/dist/types/AI/AIAssistBot/AIAssistBotExtension.d.ts +0 -8
  858. package/dist/types/AI/AIAssistBot/AIAssistBotOptionsView.d.ts +0 -11
  859. package/dist/types/AI/AIAssistBot/style.d.ts +0 -37
  860. package/dist/types/AI/AIAssistBot/utils.d.ts +0 -5
  861. package/dist/types/AI/AIConversationStarter/style.d.ts +0 -26
  862. package/dist/types/AI/AIConversationSummary/style.d.ts +0 -28
  863. package/dist/types/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -25
  864. package/dist/types/AI/AISmartReplies/style.d.ts +0 -28
  865. package/dist/types/Calling/CallingExtension.d.ts +0 -6
  866. package/dist/types/Calling/CallingExtensionDecorator.d.ts +0 -73
  867. package/dist/types/Calling/CometChatCallButtons/hooks.d.ts +0 -3
  868. package/dist/types/Calling/CometChatCallButtons/index.d.ts +0 -17
  869. package/dist/types/Calling/CometChatCallButtons/style.d.ts +0 -28
  870. package/dist/types/Calling/CometChatCallLogDetails/hooks.d.ts +0 -2
  871. package/dist/types/Calling/CometChatCallLogDetails/index.d.ts +0 -17
  872. package/dist/types/Calling/CometChatCallLogDetails/style.d.ts +0 -21
  873. package/dist/types/Calling/CometChatCallLogHistory/hooks.d.ts +0 -2
  874. package/dist/types/Calling/CometChatCallLogHistory/index.d.ts +0 -27
  875. package/dist/types/Calling/CometChatCallLogHistory/style.d.ts +0 -41
  876. package/dist/types/Calling/CometChatCallLogParticipants/index.d.ts +0 -19
  877. package/dist/types/Calling/CometChatCallLogParticipants/style.d.ts +0 -31
  878. package/dist/types/Calling/CometChatCallLogRecordings/index.d.ts +0 -21
  879. package/dist/types/Calling/CometChatCallLogRecordings/style.d.ts +0 -35
  880. package/dist/types/Calling/CometChatCallLogs/hooks.d.ts +0 -2
  881. package/dist/types/Calling/CometChatCallLogs/index.d.ts +0 -37
  882. package/dist/types/Calling/CometChatCallLogs/style.d.ts +0 -37
  883. package/dist/types/Calling/CometChatCallLogsWithDetails/hooks.d.ts +0 -4
  884. package/dist/types/Calling/CometChatCallLogsWithDetails/index.d.ts +0 -10
  885. package/dist/types/Calling/CometChatCallLogsWithDetails/style.d.ts +0 -13
  886. package/dist/types/Calling/CometChatIncomingCall/hooks.d.ts +0 -2
  887. package/dist/types/Calling/CometChatIncomingCall/index.d.ts +0 -18
  888. package/dist/types/Calling/CometChatIncomingCall/style.d.ts +0 -72
  889. package/dist/types/Calling/CometChatOngoingCall/hooks.d.ts +0 -2
  890. package/dist/types/Calling/CometChatOngoingCall/index.d.ts +0 -15
  891. package/dist/types/Calling/CometChatOngoingCall/style.d.ts +0 -2
  892. package/dist/types/Calling/CometChatOutgoingCall/hooks.d.ts +0 -2
  893. package/dist/types/Calling/CometChatOutgoingCall/index.d.ts +0 -16
  894. package/dist/types/Calling/CometChatOutgoingCall/style.d.ts +0 -39
  895. package/dist/types/Calling/Utils/CallDetailsUtils.d.ts +0 -11
  896. package/dist/types/Calling/Utils/CallingDetailsUtils.d.ts +0 -7
  897. package/dist/types/CometChatAddMembers/hooks.d.ts +0 -11
  898. package/dist/types/CometChatAddMembers/style.d.ts +0 -13
  899. package/dist/types/CometChatBannedMembers/controller.d.ts +0 -37
  900. package/dist/types/CometChatBannedMembers/hooks.d.ts +0 -17
  901. package/dist/types/CometChatBannedMembers/index.d.ts +0 -228
  902. package/dist/types/CometChatBannedMembers/style.d.ts +0 -19
  903. package/dist/types/CometChatContacts/index.d.ts +0 -22
  904. package/dist/types/CometChatContacts/style.d.ts +0 -20
  905. package/dist/types/CometChatConversations/style.d.ts +0 -29
  906. package/dist/types/CometChatConversationsWithMessages/hooks.d.ts +0 -2
  907. package/dist/types/CometChatConversationsWithMessages/index.d.ts +0 -15
  908. package/dist/types/CometChatConversationsWithMessages/style.d.ts +0 -87
  909. package/dist/types/CometChatDetails/hooks.d.ts +0 -17
  910. package/dist/types/CometChatDetails/index.d.ts +0 -186
  911. package/dist/types/CometChatDetails/style.d.ts +0 -40
  912. package/dist/types/CometChatGroupMembers/style.d.ts +0 -24
  913. package/dist/types/CometChatGroups/style.d.ts +0 -11
  914. package/dist/types/CometChatGroupsWithMessages/hooks.d.ts +0 -3
  915. package/dist/types/CometChatGroupsWithMessages/index.d.ts +0 -14
  916. package/dist/types/CometChatGroupsWithMessages/style.d.ts +0 -874
  917. package/dist/types/CometChatMessageComposer/hooks.d.ts +0 -65
  918. package/dist/types/CometChatMessageComposer/index.d.ts +0 -221
  919. package/dist/types/CometChatMessageComposer/style.d.ts +0 -92
  920. package/dist/types/CometChatMessageHeader/hooks.d.ts +0 -3
  921. package/dist/types/CometChatMessageHeader/index.d.ts +0 -29
  922. package/dist/types/CometChatMessageHeader/style.d.ts +0 -56
  923. package/dist/types/CometChatMessageInformation/index.d.ts +0 -29
  924. package/dist/types/CometChatMessageInformation/style.d.ts +0 -48
  925. package/dist/types/CometChatMessageList/CometChatMessageList.d.ts +0 -58
  926. package/dist/types/CometChatMessageList/style.d.ts +0 -237
  927. package/dist/types/CometChatMessageList/useCometChatMessageList.d.ts +0 -6
  928. package/dist/types/CometChatMessages/hooks.d.ts +0 -2
  929. package/dist/types/CometChatMessages/index.d.ts +0 -25
  930. package/dist/types/CometChatMessages/style.d.ts +0 -26
  931. package/dist/types/CometChatThemeContext.d.ts +0 -5
  932. package/dist/types/CometChatThreadedMessages/hooks.d.ts +0 -2
  933. package/dist/types/CometChatThreadedMessages/index.d.ts +0 -19
  934. package/dist/types/CometChatThreadedMessages/style.d.ts +0 -21
  935. package/dist/types/CometChatTransferOwnership/hooks.d.ts +0 -7
  936. package/dist/types/CometChatTransferOwnership/index.d.ts +0 -163
  937. package/dist/types/CometChatTransferOwnership/style.d.ts +0 -17
  938. package/dist/types/CometChatUsers/style.d.ts +0 -11
  939. package/dist/types/CometChatUsersWithMessages/hooks.d.ts +0 -2
  940. package/dist/types/CometChatUsersWithMessages/index.d.ts +0 -12
  941. package/dist/types/CometChatUsersWithMessages/style.d.ts +0 -70
  942. package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +0 -18
  943. package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +0 -8
  944. package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +0 -21
  945. package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +0 -18
  946. package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +0 -8
  947. package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +0 -21
  948. package/dist/types/Extensions/ImageModeration/ImageModerationConfiguration.d.ts +0 -15
  949. package/dist/types/Extensions/ImageModeration/ImageModerationExtension.d.ts +0 -8
  950. package/dist/types/Extensions/ImageModeration/ImageModerationExtensionDecorator.d.ts +0 -26
  951. package/dist/types/Extensions/LinkPreview/LinkPreviewConfiguration.d.ts +0 -8
  952. package/dist/types/Extensions/LinkPreview/LinkPreviewExtension.d.ts +0 -8
  953. package/dist/types/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +0 -24
  954. package/dist/types/Extensions/MessageTranslation/MessageTranslationConfiguration.d.ts +0 -14
  955. package/dist/types/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +0 -8
  956. package/dist/types/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +0 -19
  957. package/dist/types/Extensions/Polls/PollsExtensionDecorator.d.ts +0 -26
  958. package/dist/types/Extensions/SmartReplies/SmartRepliesConfiguration.d.ts +0 -8
  959. package/dist/types/Extensions/SmartReplies/SmartRepliesExtension.d.ts +0 -9
  960. package/dist/types/Extensions/SmartReplies/SmartRepliesExtensionDecorator.d.ts +0 -35
  961. package/dist/types/Extensions/Stickers/StickersConfiguration.d.ts +0 -14
  962. package/dist/types/Extensions/Stickers/StickersExtension.d.ts +0 -8
  963. package/dist/types/Extensions/Stickers/StickersExtensionDecorator.d.ts +0 -27
  964. package/dist/types/Extensions/TextModerator/TextModeratorExtension.d.ts +0 -6
  965. package/dist/types/Extensions/TextModerator/TextModeratorExtensionDecorator.d.ts +0 -8
  966. package/dist/types/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +0 -5
  967. package/dist/types/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +0 -8
  968. package/dist/types/Shared/CometChatUIKit/CometChatUIKit.d.ts +0 -36
  969. package/dist/types/Shared/Framework/DataSource.d.ts +0 -56
  970. package/dist/types/Shared/Framework/DataSourceDecorator.d.ts +0 -59
  971. package/dist/types/Shared/Utils/MessageUtils.d.ts +0 -16
  972. package/dist/types/Shared/Utils/MessagesDataSource.d.ts +0 -92
  973. package/dist/types/Shared/Views/CometChatButton/hooks.d.ts +0 -11
  974. package/dist/types/Shared/Views/CometChatButton/index.d.ts +0 -19
  975. package/dist/types/Shared/Views/CometChatCheckbox/hooks.d.ts +0 -9
  976. package/dist/types/Shared/Views/CometChatCheckbox/index.d.ts +0 -13
  977. package/dist/types/Shared/Views/CometChatContextMenu/index.d.ts +0 -13
  978. package/dist/types/Shared/Views/CometChatContextMenu/style.d.ts +0 -28
  979. package/dist/types/Shared/Views/CometChatList/style.d.ts +0 -18
  980. package/dist/types/Shared/Views/CometChatListItem/hooks.d.ts +0 -9
  981. package/dist/types/Shared/Views/CometChatListItem/index.d.ts +0 -29
  982. package/dist/types/Shared/Views/CometChatMenuList/hooks.d.ts +0 -12
  983. package/dist/types/Shared/Views/CometChatMenuList/index.d.ts +0 -13
  984. package/dist/types/Shared/Views/CometChatMessageBubble/index.d.ts +0 -22
  985. package/dist/types/Shared/Views/CometChatMessageBubble/style.d.ts +0 -22
  986. package/dist/types/Shared/Views/CometChatRadioButton/hooks.d.ts +0 -9
  987. package/dist/types/Shared/Views/CometChatRadioButton/index.d.ts +0 -13
  988. package/dist/types/Shared/Views/CometChatTabs/TabsStyle.d.ts +0 -31
  989. package/dist/types/Shared/Views/CometChatTabs/index.d.ts +0 -11
  990. package/dist/types/Shared/Views/CometChatTabs/style.d.ts +0 -42
  991. package/dist/types/Shared/Views/LitElementsWrapper/LitElementsWrapper.d.ts +0 -49
  992. /package/dist/assets/{send-message-in-private.svg → send_message_privately.svg} +0 -0
  993. /package/dist/types/{Shared/Framework → components/AI}/AIExtensionDataSource.d.ts +0 -0
  994. /package/dist/types/{CometChatMessageList/controller.d.ts → components/CometChatMessageList/CometChatMessageListController.d.ts} +0 -0
@@ -0,0 +1,116 @@
1
+ import { DataSource } from "../../../utils/DataSource";
2
+ import { DataSourceDecorator } from "../../../utils/DataSourceDecorator";
3
+ import { CollaborativeDocumentConfiguration } from "./CollaborativeDocumentConfiguration";
4
+ import { CometChatMessageComposerAction, CometChatMessageTemplate } from "../../../modals";
5
+ /**
6
+ * The `CollaborativeDocumentExtensionDecorator` class extends `DataSourceDecorator`
7
+ * to provide additional features and customizations for the collaborative document extension.
8
+ * It integrates with the CometChat UIKit to enable document collaboration in chat.
9
+ */
10
+ export declare class CollaborativeDocumentExtensionDecorator extends DataSourceDecorator {
11
+ /**
12
+ * The configuration for the collaborative document extension.
13
+ * This configuration object allows customizing the appearance and behavior
14
+ * of the document collaboration features.
15
+ *
16
+ * @type {CollaborativeDocumentConfiguration | undefined}
17
+ */
18
+ configuration?: CollaborativeDocumentConfiguration;
19
+ /**
20
+ * The new data source object.
21
+ * This is used to manage and manipulate the data for the collaborative document extension.
22
+ *
23
+ * @type {DataSource}
24
+ */
25
+ newDataSource: DataSource;
26
+ /**
27
+ * The user who is currently logged in.
28
+ */
29
+ protected loggedInUser?: CometChat.User | null | undefined;
30
+ /**
31
+ * Creates an instance of `CollaborativeDocumentExtensionDecorator`.
32
+ *
33
+ * @param {DataSource} dataSource - The data source object to be decorated.
34
+ * @param {CollaborativeDocumentConfiguration} [configuration] - An optional configuration object for the extension.
35
+ */
36
+ constructor(dataSource: DataSource, configuration?: CollaborativeDocumentConfiguration);
37
+ /**
38
+ * Retrieves all message types supported by the extension, including custom document messages.
39
+ *
40
+ * @returns {string[]} An array of message types.
41
+ * @override
42
+ */
43
+ getAllMessageTypes(): string[];
44
+ /**
45
+ * Retrieves the unique ID of the collaborative document extension.
46
+ *
47
+ * @returns {string} The unique ID for the extension.
48
+ * @override
49
+ */
50
+ getId(): string;
51
+ /**
52
+ * Retrieves all message categories supported by the extension, including custom categories.
53
+ *
54
+ * @returns {string[]} An array of message categories.
55
+ * @override
56
+ */
57
+ getAllMessageCategories(): string[];
58
+ /**
59
+ * Checks if a message template with the specified type already exists.
60
+ *
61
+ * @param {CometChatMessageTemplate[]} template - An array of message templates.
62
+ * @param {string} type - The message type to check for.
63
+ * @returns {boolean} `true` if the template exists, otherwise `false`.
64
+ */
65
+ checkIfTemplateExist(template: CometChatMessageTemplate[], type: string): boolean;
66
+ /**
67
+ * Retrieves all message templates, including the custom document template.
68
+ *
69
+ * @param {any} [additionalConfigurations] - Additional configurations for the templates.
70
+ * @returns {CometChatMessageTemplate[]} An array of message templates.
71
+ * @override
72
+ */
73
+ getAllMessageTemplates(additionalConfigurations?: any): CometChatMessageTemplate[];
74
+ /**
75
+ * Creates a custom message template for the collaborative document extension.
76
+ *
77
+ * @returns {CometChatMessageTemplate} A message template for the document extension.
78
+ */
79
+ getDocumentTemplate(): CometChatMessageTemplate;
80
+ /**
81
+ * Retrieves the content view for the document message bubble.
82
+ *
83
+ * @param {CometChat.CustomMessage} documentMessage - The document message to display.
84
+ * @returns {JSX.Element} The document content view component.
85
+ */
86
+ getDocumentContentView(documentMessage: CometChat.CustomMessage): import("react/jsx-runtime").JSX.Element;
87
+ /**
88
+ * Launches the collaborative document in a new fullscreen window.
89
+ *
90
+ * @param {string} documentURL - The URL of the document to open.
91
+ */
92
+ launchCollaborativeDocument(documentURL: string): void;
93
+ /**
94
+ * Retrieves the URL for a collaborative document or board from a custom message.
95
+ *
96
+ * @param {CometChat.CustomMessage} message - The custom message containing the document or board data.
97
+ * @returns {string | undefined} The URL of the document or board, or undefined if not found.
98
+ */
99
+ getDocumentURL(message: CometChat.CustomMessage): any;
100
+ /**
101
+ * Overrides the attachment options to include a new action for creating a collaborative document.
102
+ *
103
+ * @param {any} id - The identifier object containing user or group information.
104
+ * @returns {CometChatMessageComposerAction[]} The list of attachment options including the new document action.
105
+ */
106
+ getAttachmentOptions(id: any): CometChatMessageComposerAction[];
107
+ /**
108
+ * Retrieves the last message from a conversation, checking if it's a collaborative document.
109
+ *
110
+ * @param {CometChat.Conversation} conversation - The conversation object containing the last message.
111
+ * @param {CometChat.User} loggedInUser - The currently logged-in user.
112
+ * @param {any} [additionalConfigurations] - Optional additional configurations for the message retrieval.
113
+ * @returns {string} A string representing the last message, or a custom message if it's a collaborative document.
114
+ */
115
+ getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations?: any): string;
116
+ }
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Configuration class for Collaborative Whiteboard.
3
+ * This class provides methods to retrieve styles and URLs associated with the whiteboard component.
4
+ */
5
+ export declare class CollaborativeWhiteboardConfiguration {
6
+ /**
7
+ * The URL of the icon to be used for the whiteboard.
8
+ * @type {string}
9
+ */
10
+ private iconURL;
11
+ /**
12
+ * The URL of the icon to be used for the whiteboard option.
13
+ * @type {string}
14
+ */
15
+ private optionIconURL;
16
+ /**
17
+ * Creates an instance of CollaborativeWhiteboardConfiguration.
18
+ */
19
+ constructor(configuration: {
20
+ iconURL?: string;
21
+ optionIconURL?: string;
22
+ });
23
+ /**
24
+ * Retrieves the URL of the icon used for the whiteboard.
25
+ *
26
+ * @returns {string} The URL of the icon.
27
+ */
28
+ getIconURL(): string;
29
+ /**
30
+ * Retrieves the URL of the icon used for the whiteboard option.
31
+ *
32
+ * @returns {string} The URL of the option icon.
33
+ */
34
+ getOptionIconURL(): string;
35
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Constants used in the Collaborative Whiteboard integration.
3
+ * This object contains string constants for API endpoints, metadata keys, and other relevant identifiers.
4
+ */
5
+ export declare const CollaborativeWhiteboardConstants: Readonly<{
6
+ v1_create: "v1/create";
7
+ extension_whiteboard: "extension_whiteboard";
8
+ whiteboard: "whiteboard";
9
+ extensions: "extensions";
10
+ metadata: "metadata";
11
+ injected: "@injected";
12
+ post: "POST";
13
+ }>;
@@ -0,0 +1,29 @@
1
+ import { ExtensionsDataSource } from "../ExtensionsDataSource";
2
+ import { CollaborativeWhiteboardConfiguration } from "./CollaborativeWhiteboardConfiguration";
3
+ /**
4
+ * Class representing a Collaborative Whiteboard Extension.
5
+ * This class extends the `ExtensionsDataSource` to add support for collaborative whiteboard functionality.
6
+ */
7
+ export declare class CollaborativeWhiteboardExtension extends ExtensionsDataSource {
8
+ /**
9
+ * Configuration for the collaborative whiteboard extension.
10
+ * @type {CollaborativeWhiteboardConfiguration | undefined}
11
+ */
12
+ private configuration?;
13
+ /**
14
+ * Creates an instance of the CollaborativeWhiteboardExtension.
15
+ * @param {CollaborativeWhiteboardConfiguration} [configuration] - The configuration for the whiteboard extension.
16
+ */
17
+ constructor(configuration?: CollaborativeWhiteboardConfiguration);
18
+ /**
19
+ * Adds the collaborative whiteboard extension to the chat configurator.
20
+ * This method enables the extension by passing a new `CollaborativeWhiteBoardExtensionDecorator`
21
+ * instance to the `ChatConfigurator`.
22
+ */
23
+ addExtension(): void;
24
+ /**
25
+ * Gets the unique identifier for the whiteboard extension.
26
+ * @returns {string} The extension ID for the whiteboard.
27
+ */
28
+ getExtensionId(): string;
29
+ }
@@ -0,0 +1,94 @@
1
+ import { DataSource } from "../../../utils/DataSource";
2
+ import { DataSourceDecorator } from "../../../utils/DataSourceDecorator";
3
+ import { CollaborativeWhiteboardConfiguration } from "./CollaborativeWhiteboardConfiguration";
4
+ import { CometChatMessageComposerAction, CometChatMessageTemplate } from "../../../modals";
5
+ /**
6
+ * Decorator class for extending functionality related to collaborative whiteboard.
7
+ * @extends DataSourceDecorator
8
+ */
9
+ export declare class CollaborativeWhiteBoardExtensionDecorator extends DataSourceDecorator {
10
+ /**
11
+ * Configuration for the collaborative whiteboard extension.
12
+ * @type {CollaborativeWhiteboardConfiguration | undefined}
13
+ */
14
+ configuration?: CollaborativeWhiteboardConfiguration;
15
+ /**
16
+ * Data source used for fetching and managing data.
17
+ * @type {DataSource}
18
+ */
19
+ newDataSource: DataSource;
20
+ /**
21
+ * The user who is currently logged in.
22
+ */
23
+ protected loggedInUser?: CometChat.User | null | undefined;
24
+ /**
25
+ * Creates an instance of the CollaborativeWhiteBoardExtensionDecorator.
26
+ * @param {DataSource} dataSource - The data source to be decorated.
27
+ * @param {CollaborativeWhiteboardConfiguration} [configuration] - The configuration for the whiteboard extension.
28
+ */
29
+ constructor(dataSource: DataSource, configuration?: CollaborativeWhiteboardConfiguration);
30
+ /**
31
+ * Gets all message types including the whiteboard extension type.
32
+ * @returns {string[]} Array of message types.
33
+ */
34
+ getAllMessageTypes(): string[];
35
+ getId(): string;
36
+ /**
37
+ * Gets the unique identifier for the collaborative whiteboard extension.
38
+ * @returns {string} The extension ID.
39
+ */
40
+ getAllMessageCategories(): string[];
41
+ /**
42
+ * Checks if a message template of a given type exists.
43
+ * @param {CometChatMessageTemplate[]} template - Array of message templates.
44
+ * @param {string} type - Type of the template to check.
45
+ * @returns {boolean} True if the template exists, otherwise false.
46
+ */
47
+ checkIfTemplateExist(template: CometChatMessageTemplate[], type: string): boolean;
48
+ /**
49
+ * Gets all message templates, including the whiteboard template if not already present.
50
+ * @param {any} [additionalConfigurations] - Additional configurations.
51
+ * @returns {CometChatMessageTemplate[]} Array of message templates.
52
+ */
53
+ getAllMessageTemplates(additionalConfigurations?: any): CometChatMessageTemplate[];
54
+ /**
55
+ * Creates the whiteboard message template.
56
+ * @returns {CometChatMessageTemplate} The whiteboard message template.
57
+ */
58
+ getWhiteBoardTemplate(): CometChatMessageTemplate;
59
+ /**
60
+ * Generates the content view for the whiteboard message.
61
+ * @param {CometChat.CustomMessage} whiteboardMessage - The whiteboard message.
62
+ * @returns {JSX.Element} The content view for the whiteboard message.
63
+ */
64
+ getWhiteboardContentView(whiteboardMessage: CometChat.CustomMessage): import("react/jsx-runtime").JSX.Element;
65
+ /**
66
+ * Opens the collaborative whiteboard document in a new fullscreen window.
67
+ * @param {string} whiteboardURL - The URL of the whiteboard document.
68
+ */
69
+ launchCollaborativeWhiteboardDocument(whiteboardURL: string): void;
70
+ /**
71
+ * Retrieves the URL of the whiteboard document from the message data.
72
+ * @param {CometChat.CustomMessage} message - The message containing whiteboard data.
73
+ * @returns {string | undefined} The URL of the whiteboard document.
74
+ */
75
+ getWhiteboardDocument(message: CometChat.CustomMessage): any;
76
+ /**
77
+ * Overrides the method to get attachment options for the message composer.
78
+ * Adds an option for a collaborative whiteboard if the parent message ID is not present.
79
+ *
80
+ * @param {any} id - The ID object containing user or group information.
81
+ * @returns {CometChatMessageComposerAction[]} An array of message composer actions.
82
+ */
83
+ getAttachmentOptions(id: any): CometChatMessageComposerAction[];
84
+ /**
85
+ * Overrides the method to get the last message from a conversation.
86
+ * Checks if the last message is related to the collaborative whiteboard extension
87
+ * and returns a custom message if it matches.
88
+ * @param {CometChat.Conversation} conversation - The conversation object from which to get the last message.
89
+ * @param {CometChat.User} loggedInUser - The currently logged-in user.
90
+ * @param {any} additionalConfigurations - Additional configurations if any.
91
+ * @returns {string} A string representing the last conversation message.
92
+ */
93
+ getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations: any): string;
94
+ }
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Abstract class representing a data source for extensions.
3
+ * Provides methods to enable and add extensions, and to get the extension ID.
4
+ */
5
+ declare abstract class ExtensionsDataSource {
6
+ /**
7
+ * Abstract method to add an extension. Implementations must provide their own logic.
8
+ *
9
+ * @abstract
10
+ */
11
+ abstract addExtension(): void;
12
+ /**
13
+ * Abstract method to get the unique identifier for the extension.
14
+ * Implementations must provide their own logic to return the extension ID.
15
+ *
16
+ * @abstract
17
+ * @returns {string} The unique identifier for the extension.
18
+ */
19
+ abstract getExtensionId(): string;
20
+ /**
21
+ * Enables the extension if it is not already enabled.
22
+ * Checks if the extension is enabled using `CometChat.isExtensionEnabled()` and
23
+ * adds the extension if it is enabled.
24
+ *
25
+ * @returns {void}
26
+ */
27
+ enable(): void;
28
+ }
29
+ export { ExtensionsDataSource };
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Constants for extension IDs used in the application.
3
+ * This object holds unique identifiers for various extensions.
4
+ *
5
+ * @readonly
6
+ * @enum {string}
7
+ */
8
+ export declare const ExtensionsId: Readonly<{
9
+ stickers: "stickers";
10
+ reactions: "reactions";
11
+ thumbnailGeneration: "thumbnail-generation";
12
+ linkPreview: "link-preview";
13
+ imageModeration: "image-moderation";
14
+ messageTranslation: "message-translation";
15
+ smartReply: "smart-reply";
16
+ xssFilter: "xss-filter";
17
+ dataMasking: "data-masking";
18
+ polls: "polls";
19
+ whiteboard: "whiteboard";
20
+ document: "document";
21
+ profanityFilter: "profanity-filter";
22
+ }>;
@@ -0,0 +1,37 @@
1
+ import React from 'react';
2
+ interface LinkPreviewProps {
3
+ /**
4
+ * URL of the link.
5
+ */
6
+ URL?: string;
7
+ /**
8
+ * Description of the link.
9
+ */
10
+ description?: string;
11
+ /**
12
+ * Title of the link.
13
+ */
14
+ title?: string;
15
+ /**
16
+ * URL of the image to display.
17
+ */
18
+ image?: string;
19
+ /**
20
+ * URL of the favicon to display.
21
+ */
22
+ favIconURL?: string;
23
+ /**
24
+ * Optional children to be displayed inside the link preview.
25
+ */
26
+ children?: React.ReactNode;
27
+ /**
28
+ * Function to handle click events on the link.
29
+ */
30
+ ccLinkClicked?: (url: string) => void;
31
+ /**
32
+ * boolean value to toggle styling for sender and receiver message
33
+ */
34
+ isSentByMe?: boolean;
35
+ }
36
+ declare const LinkPreview: (props: LinkPreviewProps) => import("react/jsx-runtime").JSX.Element;
37
+ export { LinkPreview };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * A collection of constants used for managing and configuring link previews within the chat application.
3
+ * These constants are immutable and are primarily used for accessing metadata and injected data related to link previews.
4
+ */
5
+ export declare const LinkPreviewConstants: Readonly<{
6
+ metadata: "metadata";
7
+ injected: "@injected";
8
+ extensions: "extensions";
9
+ link_preview: "link-preview";
10
+ links: "links";
11
+ }>;
@@ -0,0 +1,24 @@
1
+ import { ExtensionsDataSource } from "../ExtensionsDataSource";
2
+ /**
3
+ * The `LinkPreviewExtension` class is responsible for enabling the link preview feature within the chat application.
4
+ * It extends the `ExtensionsDataSource` class and utilizes a configuration object to customize the behavior of the link preview extension.
5
+ */
6
+ export declare class LinkPreviewExtension extends ExtensionsDataSource {
7
+ /**
8
+ * Creates an instance of the `LinkPreviewExtension` class.
9
+ *
10
+ * @param {LinkPreviewConfiguration} [configuration] - Optional configuration settings for the link preview extension.
11
+ */
12
+ constructor();
13
+ /**
14
+ * Adds the link preview extension to the chat application by enabling it within the `ChatConfigurator`.
15
+ * This method overrides the base class method to provide specific implementation for the link preview extension.
16
+ */
17
+ addExtension(): void;
18
+ /**
19
+ * Retrieves the unique identifier for the link preview extension.
20
+ *
21
+ * @returns {string} The unique identifier for the link preview extension.
22
+ */
23
+ getExtensionId(): string;
24
+ }
@@ -0,0 +1,60 @@
1
+ import { DataSource } from "../../../utils/DataSource";
2
+ import { DataSourceDecorator } from "../../../utils/DataSourceDecorator";
3
+ import { MessageBubbleAlignment } from "../../../Enums/Enums";
4
+ /**
5
+ * The `LinkPreviewExtensionDecorator` class is responsible for adding link preview functionality
6
+ * to text messages within the chat. It decorates the data source with the ability to handle link previews.
7
+ */
8
+ export declare class LinkPreviewExtensionDecorator extends DataSourceDecorator {
9
+ /**
10
+ * The data source that the decorator wraps, adding link preview capabilities.
11
+ * @type {DataSource}
12
+ */
13
+ newDataSource: DataSource;
14
+ /**
15
+ * Creates an instance of the `LinkPreviewExtensionDecorator` class.
16
+ *
17
+ * @param {DataSource} dataSource - The data source that the decorator will wrap.
18
+ * @param {LinkPreviewConfiguration} [configuration] - Optional configuration settings for the link preview extension.
19
+ */
20
+ constructor(dataSource: DataSource);
21
+ /**
22
+ * Returns the unique identifier for this decorator.
23
+ * @returns {string} The ID of the decorator.
24
+ */
25
+ getId(): string;
26
+ /**
27
+ * Retrieves the content view for a text message with potential link preview enhancements.
28
+ * @param {CometChat.TextMessage} message - The text message to be displayed.
29
+ * @param {MessageBubbleAlignment} alignment - The alignment of the message bubble.
30
+ * @param {any} [additionalConfigurations] - Additional configurations for formatting.
31
+ * @returns {JSX.Element} The JSX element representing the message content view.
32
+ */
33
+ getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: any): import("react/jsx-runtime").JSX.Element | Element;
34
+ /**
35
+ * Retrieves the style for the link preview wrapper.
36
+ * @returns {object} The style object for the link preview wrapper.
37
+ */
38
+ getLinkPreviewWrapperStyle(): {
39
+ height: string;
40
+ width: string;
41
+ };
42
+ /**
43
+ * Opens the provided URL in a new browser tab.
44
+ * @param {string} url - The URL to open.
45
+ */
46
+ openLink(url: string): void;
47
+ /**
48
+ * Extracts the link preview object from the message metadata, if available.
49
+ * @param {CometChat.TextMessage} message - The message object containing metadata.
50
+ * @returns {object|null} The link preview object if available, otherwise null.
51
+ */
52
+ getLinkPreview(message: CometChat.TextMessage): any;
53
+ /**
54
+ * Retrieves a specific detail from the link preview object.
55
+ * @param {object} linkPreviewObject - The link preview object containing various details.
56
+ * @param {string} key - The key corresponding to the detail to retrieve.
57
+ * @returns {string} The detail value corresponding to the provided key.
58
+ */
59
+ getLinkPreviewDetails(linkPreviewObject: any, key: string): string;
60
+ }
@@ -0,0 +1,35 @@
1
+ import { ReactNode } from 'react';
2
+ import { MessageBubbleAlignment } from '../../../Enums/Enums';
3
+ import { CometChatTextFormatter } from '../../../formatters/CometChatFormatters/CometChatTextFormatter';
4
+ interface IMessageTranslationBubbleProps {
5
+ /**
6
+ * The text that has been translated.
7
+ */
8
+ translatedText: string;
9
+ /**
10
+ * The alignment of the message bubble (left or right).
11
+ */
12
+ alignment: MessageBubbleAlignment;
13
+ /**
14
+ * Optional help text to display below the translated text.
15
+ * Defaults to a localized message.
16
+ */
17
+ helpText?: string;
18
+ /**
19
+ * Optional array of text formatters to apply to the translated text.
20
+ */
21
+ textFormatters?: Array<CometChatTextFormatter>;
22
+ /**
23
+ * Optional React children to render inside the bubble.
24
+ */
25
+ children?: ReactNode;
26
+ isSentByMe?: boolean;
27
+ }
28
+ /**
29
+ * Renders a message translation bubble that displays translated text with optional formatting and help text.
30
+ *
31
+ * @param {IMessageTranslationBubbleProps} props - The props for the component.
32
+ * @returns {JSX.Element | null} The rendered component or null if no translated text is provided.
33
+ */
34
+ declare const MessageTranslationBubble: (props: IMessageTranslationBubbleProps) => import("react/jsx-runtime").JSX.Element | null;
35
+ export { MessageTranslationBubble };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Contains constants used for message translation operations.
3
+ */
4
+ export declare const MessageTranslationConstants: Readonly<{
5
+ message_translation: "message-translation";
6
+ v2_translate: "v2/translate";
7
+ translated_message: "translated_message";
8
+ extensions: "extensions";
9
+ metadata: "metadata";
10
+ injected: "@injected";
11
+ post: "POST";
12
+ }>;
@@ -0,0 +1,30 @@
1
+ import { ExtensionsDataSource } from "../ExtensionsDataSource";
2
+ /**
3
+ * Class for handling message translation extensions.
4
+ *
5
+ * @class MessageTranslationExtension
6
+ * @extends {ExtensionsDataSource}
7
+ */
8
+ export declare class MessageTranslationExtension extends ExtensionsDataSource {
9
+ /**
10
+ * Creates an instance of MessageTranslationExtension.
11
+ *
12
+ * @param {MessageTranslationConfiguration} [configuration] - Optional configuration for message translation.
13
+ */
14
+ constructor();
15
+ /**
16
+ * Adds the message translation extension by enabling the ChatConfigurator with
17
+ * a new MessageTranslationExtensionDecorator instance.
18
+ *
19
+ * @override
20
+ * @returns {void}
21
+ */
22
+ addExtension(): void;
23
+ /**
24
+ * Retrieves the unique identifier for the message translation extension.
25
+ *
26
+ * @override
27
+ * @returns {string} The unique identifier for the message translation extension.
28
+ */
29
+ getExtensionId(): string;
30
+ }
@@ -0,0 +1,53 @@
1
+ import { DataSource } from "../../../utils/DataSource";
2
+ import { DataSourceDecorator } from "../../../utils/DataSourceDecorator";
3
+ import { CometChatActionsIcon, CometChatActionsView } from "../../../modals";
4
+ import { MessageBubbleAlignment } from "../../../Enums/Enums";
5
+ /**
6
+ * Decorator class for extending the functionality of message translation in a chat application.
7
+ *
8
+ * @extends {DataSourceDecorator}
9
+ */
10
+ export declare class MessageTranslationExtensionDecorator extends DataSourceDecorator {
11
+ newDataSource: DataSource;
12
+ /**
13
+ * Creates an instance of MessageTranslationExtensionDecorator.
14
+ *
15
+ * @param {DataSource} dataSource - The data source to decorate.
16
+ * @param {MessageTranslationConfiguration} [configuration] - Optional configuration for message translation.
17
+ */
18
+ constructor(dataSource: DataSource);
19
+ /**
20
+ * Retrieves options for text message actions, including a translation option if not already present.
21
+ *
22
+ * @override
23
+ * @param {CometChat.User} loggedInUser - The currently logged-in user.
24
+ * @param {CometChat.BaseMessage} messageObject - The message object for which options are retrieved.
25
+ * @param {CometChat.Group} [group] - Optional group associated with the message.
26
+ * @returns {(CometChatActionsIcon | CometChatActionsView)[]} The array of action options for the message.
27
+ */
28
+ getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): (CometChatActionsIcon | CometChatActionsView)[];
29
+ /**
30
+ * Retrieves the content view for a text message, including translated content if available.
31
+ *
32
+ * @override
33
+ * @param {CometChat.TextMessage} message - The text message for which content view is retrieved.
34
+ * @param {MessageBubbleAlignment} alignment - The alignment of the message bubble.
35
+ * @param {any} [additionalConfigurations] - Optional additional configurations for the content view.
36
+ * @returns {JSX.Element} The content view for the text message.
37
+ */
38
+ getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: any): import("react/jsx-runtime").JSX.Element | Element;
39
+ /**
40
+ * Checks if an option with the specified ID already exists in the options list.
41
+ *
42
+ * @param {(CometChatActionsIcon | CometChatActionsView)[]} template - The list of options to check.
43
+ * @param {string} id - The ID of the option to check for.
44
+ * @returns {boolean} `true` if the option exists, otherwise `false`.
45
+ */
46
+ checkIfOptionExist(template: (CometChatActionsIcon | CometChatActionsView)[], id: string): boolean;
47
+ /**
48
+ * Retrieves the unique ID for this decorator.
49
+ *
50
+ * @returns {string} The ID of this decorator.
51
+ */
52
+ getId(): string;
53
+ }