@cometchat/chat-uikit-react 4.3.22 → 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,6 @@
1
+ interface MessageInformationProps {
2
+ message: CometChat.BaseMessage;
3
+ onClose?: () => void;
4
+ }
5
+ declare const CometChatMessageInformation: (props: MessageInformationProps) => import("react/jsx-runtime").JSX.Element;
6
+ export { CometChatMessageInformation };
@@ -0,0 +1,132 @@
1
+ /// <reference types="react" />
2
+ import { CometChatMessageTemplate } from "../../modals";
3
+ import { DatePatterns, MessageListAlignment } from "../../Enums/Enums";
4
+ import { CometChatTextFormatter } from "../../formatters/CometChatFormatters/CometChatTextFormatter";
5
+ /**
6
+ * Props for the MessageList component.
7
+ */
8
+ interface MessageListProps {
9
+ /**
10
+ * Unique identifier of the parent message for displaying threaded conversations.
11
+ */
12
+ parentMessageId?: number;
13
+ /**
14
+ * CometChat User object, representing the participant of the chat whose details are displayed.
15
+ */
16
+ user?: CometChat.User;
17
+ /**
18
+ * CometChat Group object, representing the group whose chat messages are displayed.
19
+ */
20
+ group?: CometChat.Group;
21
+ /**
22
+ * Custom empty state view to display when there are no messages.
23
+ */
24
+ emptyStateView?: JSX.Element;
25
+ /**
26
+ * Custom error state view to display when an error occurs while retrieving messages.
27
+ */
28
+ errorStateView?: JSX.Element;
29
+ /**
30
+ * Custom loading state view to display while messages are being fetched.
31
+ */
32
+ loadingStateView?: JSX.Element;
33
+ /**
34
+ * Boolean to toggle visibility of read receipts in the message list.
35
+ * @default false
36
+ */
37
+ hideReceipt?: boolean;
38
+ /**
39
+ * Specifies the alignment of the messages in the list (left, right, etc.).
40
+ * @default 'standard'
41
+ */
42
+ alignment?: MessageListAlignment;
43
+ /**
44
+ * User-defined date format for the message timestamp.
45
+ */
46
+ datePattern?: DatePatterns;
47
+ /**
48
+ * User-defined date format for the separators between dates in the message list.
49
+ */
50
+ DateSeparatorPattern?: DatePatterns;
51
+ /**
52
+ * Boolean to toggle visibility of the date separator in the message list.
53
+ * @default false
54
+ */
55
+ hideDateSeparator?: boolean;
56
+ /**
57
+ * Array of message templates to define how various types of messages (e.g., text, image, video) should be displayed.
58
+ */
59
+ templates?: CometChatMessageTemplate[];
60
+ /**
61
+ * Instance of the CometChat MessagesRequestBuilder for building the request to fetch messages.
62
+ */
63
+ messagesRequestBuilder?: CometChat.MessagesRequestBuilder;
64
+ /**
65
+ * Text to display as a new message indicator.
66
+ */
67
+ newMessageIndicatorText?: string;
68
+ /**
69
+ * Boolean to indicate whether the message list should scroll to the bottom when a new message arrives.
70
+ * @default false
71
+ */
72
+ scrollToBottomOnNewMessages?: boolean;
73
+ /**
74
+ * Threshold value for triggering certain actions (e.g., loading more messages) as the user scrolls.
75
+ */
76
+ thresholdValue?: number;
77
+ /**
78
+ * Callback function that is triggered when the user clicks on a thread reply.
79
+ * @param parentMessageId - The ID of the parent message to which replies belong.
80
+ */
81
+ onThreadRepliesClick?: Function;
82
+ /**
83
+ * Custom header view component for the message list.
84
+ */
85
+ headerView?: JSX.Element;
86
+ /**
87
+ * Custom footer view component for the message list.
88
+ */
89
+ footerView?: JSX.Element;
90
+ /**
91
+ * Callback triggered when an error occurs during the message fetching process.
92
+ * @param error - CometChatException object representing the error.
93
+ */
94
+ onError?: ((error: CometChat.CometChatException) => void) | null;
95
+ /**
96
+ * Boolean to hide or show errors in the message list.
97
+ * @default false
98
+ */
99
+ hideError?: boolean;
100
+ /**
101
+ * Instance of the CometChat ReactionsRequestBuilder for managing message reactions.
102
+ */
103
+ reactionsRequestBuilder?: CometChat.ReactionsRequestBuilder;
104
+ /**
105
+ * Callback function that triggers when a reaction is clicked.
106
+ * @param reaction - The reaction object.
107
+ * @param message - The message associated with the reaction.
108
+ */
109
+ onReactionClick?: (reaction: CometChat.ReactionCount, message: CometChat.BaseMessage) => void;
110
+ /**
111
+ * Callback function that triggers when an item in the reaction list is clicked.
112
+ * @param reaction - The reaction object.
113
+ * @param message - The message associated with the reaction.
114
+ */
115
+ onReactionListItemClick?: (reaction: CometChat.Reaction, message: CometChat.BaseMessage) => void;
116
+ /**
117
+ * Boolean to disable message reactions.
118
+ * @default false
119
+ */
120
+ disableReactions?: boolean;
121
+ /**
122
+ * Boolean to disable mentions in text messages.
123
+ * @default false
124
+ */
125
+ disableMentions?: boolean;
126
+ /**
127
+ * Array of text formatters for custom styling or formatting of text bubbles.
128
+ */
129
+ textFormatters?: CometChatTextFormatter[];
130
+ }
131
+ declare const CometChatMessageList: (props: MessageListProps) => import("react/jsx-runtime").JSX.Element;
132
+ export { CometChatMessageList };
@@ -0,0 +1,48 @@
1
+ /**
2
+ The MessageListManager is responsible for controlling chat operations like fetching messages and managing listener lifecycles. It attaches listeners for group and call activities for a particular user or group, which are activated when the chat is open and deactivated when it's closed or when switching to a new chat.
3
+ In addition, it supports real-time connection monitoring by attaching an SDK websocket listener to the chat session.
4
+ */
5
+ export declare class MessageListManager {
6
+ messagesRequest: CometChat.MessagesRequest | null;
7
+ static groupListenerId: string;
8
+ static callListenerId: string;
9
+ static connectionListenerId: string;
10
+ /**
11
+ * Creates an instance of MessageListManager which constructs a request builder for fetching messages from a particular user/group in the chat.
12
+ * @param {CometChat.MessagesRequestBuilder} [messagesRequestBuilder]
13
+ * @param {CometChat.User} [user]
14
+ * @param {CometChat.Group} [group]
15
+ * @param {number} [messageId]
16
+ * @param {number} [parentMessageId]
17
+ * @memberof MessageListManager
18
+ */
19
+ constructor(messagesRequestBuilder?: CometChat.MessagesRequestBuilder, user?: CometChat.User, group?: CometChat.Group, messageId?: number, parentMessageId?: number);
20
+ /**
21
+ * Function to invoke the fetchNext method of the messagesRequestBuilder to retrieve the subsequent messages following the latest fetched message.
22
+ *
23
+ * @returns {Promise}
24
+ */
25
+ fetchNextMessages: () => Promise<CometChat.BaseMessage[] | []> | undefined;
26
+ /**
27
+ * Function to invoke the fetchPrevious method of the messagesRequestBuilder to retrieve the subsequent messages following the last fetched message.
28
+ *
29
+ * @returns {Promise}
30
+ */
31
+ fetchPreviousMessages: () => Promise<CometChat.BaseMessage[] | []> | undefined;
32
+ /**
33
+ * Function to attach the group and call listeners for a particular user/group. This listener is attached when the chat is opened and is removed once the chat is closed or when switching to a new chat, where it creates a new listener for the particular chat.
34
+ *
35
+ * @param {Function} callback
36
+ */
37
+ static attachListeners: (callback: (key: string, mesage: CometChat.BaseMessage, group?: CometChat.Group) => void) => void;
38
+ /**
39
+ * Function to remove the attached listeners for a particular user/group.
40
+ * */
41
+ static removeListeners(): void;
42
+ /**
43
+ * Attaches an SDK websocket listener to monitor when the connection disconnects or reconnects.
44
+ *
45
+ * @returns - Function to remove the added SDK websocket listener
46
+ */
47
+ static attachConnectionListener(callback: () => void): void;
48
+ }
@@ -0,0 +1,6 @@
1
+ import { MutableRefObject } from "react";
2
+ /**
3
+ * This Hooks function is a custom React hook designed to manage functionalities of CometChatMessageList component. It fetches the logged-in user, handles event subscriptions and tracks message IDs for new message retrieval. It plays a key role in maintaining real-time functionality and user interactions in the chat interface.
4
+ **/
5
+ declare function useCometChatMessageList(loggedInUserRef: MutableRefObject<CometChat.User | null>, messageListManagerRef: MutableRefObject<any>, fetchPreviousMessages: () => void, updateMessage: (key: string, mesage: CometChat.BaseMessage, group?: CometChat.Group) => void, messagesRequestBuilder: CometChat.MessagesRequestBuilder | undefined, user: CometChat.User | undefined, group: CometChat.Group | undefined, messageIdRef: MutableRefObject<any>, totalMessagesCountRef: MutableRefObject<any>, messageList: CometChat.BaseMessage[], onErrorCallback: (error: CometChat.CometChatException) => void, setMessageList: (messages: CometChat.BaseMessage[]) => void, setScrollListToBottom: (scrollToBottom: boolean) => void, smartReplyViewRef: MutableRefObject<any>, isOnBottomRef: MutableRefObject<boolean>, isFirstReloadRef: MutableRefObject<boolean>, subscribeToUIEvents: Function, setDateHeader?: Function, parentMessageId?: number): void;
6
+ export { useCometChatMessageList };
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { CometChatMessageTemplate } from "../../modals";
3
+ interface ThreadedMessagePreviewProps {
4
+ title?: string;
5
+ parentMessage: CometChat.BaseMessage;
6
+ template?: CometChatMessageTemplate;
7
+ bubbleView?: (messageObject: CometChat.BaseMessage) => void | JSX.Element;
8
+ onClose?: () => void;
9
+ }
10
+ declare const CometChatThreadedMessagePreview: (props: ThreadedMessagePreviewProps) => import("react/jsx-runtime").JSX.Element;
11
+ export { CometChatThreadedMessagePreview };
@@ -0,0 +1,21 @@
1
+ import { CSSProperties } from 'react';
2
+ import { UserMemberListType } from '../../Enums/Enums';
3
+ export interface MentionsProps {
4
+ userMemberListType?: UserMemberListType;
5
+ onItemClick?: (user: CometChat.User | CometChat.GroupMember) => void;
6
+ listItemView?: (item?: CometChat.User | CometChat.GroupMember) => JSX.Element;
7
+ statusIndicatorStyle?: CSSProperties;
8
+ searchKeyword?: string;
9
+ group?: CometChat.Group;
10
+ subtitleView?: (item?: CometChat.User | CometChat.GroupMember) => JSX.Element;
11
+ usersRequestBuilder?: CometChat.UsersRequestBuilder;
12
+ disableUsersPresence?: boolean;
13
+ hideSeparator?: boolean;
14
+ loadingStateView?: JSX.Element;
15
+ onEmpty?: () => void;
16
+ groupMemberRequestBuilder?: CometChat.GroupMembersRequestBuilder;
17
+ loadingIconUrl?: string;
18
+ disableLoadingState?: boolean;
19
+ onError?: () => void;
20
+ }
21
+ export declare function CometChatUserMemberWrapper(props: MentionsProps): import("react/jsx-runtime").JSX.Element;
@@ -1,61 +1,34 @@
1
- import { AddMembersStyle } from "@cometchat/uikit-shared";
2
- import { AvatarStyle, ListItemStyle } from "@cometchat/uikit-elements";
3
- import { CSSProperties, JSX } from "react";
4
- import { CometChatOption, SelectionMode, TitleAlignment } from "@cometchat/uikit-resources";
5
- interface IAddMembersProps {
6
- /**
7
- * Image URL for the back button
8
- *
9
- * @remarks
10
- * This prop will also be used if `backButton` prop is not provided
11
- *
12
- * @defaultValue `./assets/backbutton.svg`
13
- */
14
- backButtonIconURL?: string;
15
- /**
16
- * Show back button
17
- *
18
- * @defaultValue `true`
19
- */
20
- showBackButton?: boolean;
21
- /**
22
- * Function to call when the back button is clicked
23
- */
24
- onBack?: () => void;
1
+ import { JSX } from "react";
2
+ import { UsersManager } from "./controller";
3
+ import { SelectionMode, States } from "../../Enums/Enums";
4
+ import { CometChatOption } from "../../modals/CometChatOption";
5
+ export interface UsersProps {
25
6
  /**
26
7
  * Title of the component
27
8
  *
28
- * @defaultValue `localize("ADD_MEMBERS")`
29
- */
30
- title?: string;
31
- /**
32
- * Alignment of the `title` text
33
- *
34
- * @defaultValue `TitleAlignment.center`
9
+ * @defaultValue `localize("USERS")`
35
10
  */
36
- titleAlignment?: TitleAlignment;
11
+ title?: string;
37
12
  /**
38
13
  * Hide the search bar
39
14
  *
40
- * @defaulValue `false`
15
+ * @defaultValue `false`
41
16
  */
42
17
  hideSearch?: boolean;
43
- /**
44
- * Image URL for the search icon to use in the search bar
45
- *
46
- * @defaultValue `./assets/search.svg`
47
- */
48
- searchIconURL?: string;
49
18
  /**
50
19
  * Text to be displayed when the search input has no value
51
20
  *
52
21
  * @defaultValue `localize("SEARCH")`
53
22
  */
54
- searchPlaceholder?: string;
23
+ searchPlaceholderText?: string;
24
+ /**
25
+ * Custom list item view to be rendered for each user in the fetched list
26
+ */
27
+ listItemView?: (user: CometChat.User) => JSX.Element;
55
28
  /**
56
29
  * Show alphabetical header
57
30
  *
58
- * @defaultValue `false`
31
+ * @defaultValue `true`
59
32
  */
60
33
  showSectionHeader?: boolean;
61
34
  /**
@@ -66,46 +39,35 @@ interface IAddMembersProps {
66
39
  *
67
40
  * @defaultValue `getName`
68
41
  */
69
- sectionHeaderField?: keyof CometChat.User;
70
- /**
71
- * Image URL for the default loading view
72
- *
73
- * @defaultValue `./assets/spinner.svg`
74
- */
75
- loadingIconURL?: string;
42
+ sectionHeaderKey?: keyof CometChat.User;
76
43
  /**
77
44
  * Custom view for the loading state of the component
78
45
  */
79
46
  loadingStateView?: JSX.Element;
80
47
  /**
81
- * Text to display in the default empty view
48
+ * Hide error view
82
49
  *
83
- * @defaultValue `localize("NO_USERS_FOUND")`
84
- */
85
- emptyStateText?: string;
86
- /**
87
- * Custom view for the empty state of the component
88
- */
89
- emptyStateView?: JSX.Element;
90
- /**
91
- * Text to display in the default error view
50
+ * @remarks
51
+ * If set to true, hides the default and the custom error view
92
52
  *
93
- * @defaultValue `localize("SOMETHING_WRONG")`
53
+ * @defaultValue `false`
94
54
  */
95
- errorStateText?: string;
55
+ hideError?: boolean;
96
56
  /**
97
57
  * Custom view for the error state of the component
98
58
  */
99
59
  errorStateView?: JSX.Element;
100
60
  /**
101
- * Hide error view
61
+ * Custom view for the empty state of the component
62
+ */
63
+ emptyStateView?: JSX.Element;
64
+ /**
65
+ * Custom subtitle view to be rendered for each user in the fetched list
102
66
  *
103
67
  * @remarks
104
- * If set to true, hides the default and the custom error view
105
- *
106
- * @defaultValue `false`
68
+ * This prop is used if `listItemView` prop is not provided
107
69
  */
108
- hideError?: boolean;
70
+ subtitleView?: (user: CometChat.User) => JSX.Element;
109
71
  /**
110
72
  * Hide user presence
111
73
  *
@@ -115,20 +77,10 @@ interface IAddMembersProps {
115
77
  * @defaultValue `false`
116
78
  */
117
79
  disableUsersPresence?: boolean;
118
- /**
119
- * Hide the separator at the bottom of the default list item view
120
- *
121
- * @defaultValue `false`
122
- */
123
- hideSeparator?: boolean;
124
- /**
125
- * Function to call whenever the component encounters an error
126
- */
127
- onError?: ((error: CometChat.CometChatException) => void) | null;
128
80
  /**
129
81
  * Custom view to render on the top-right of the component
130
82
  */
131
- menus?: JSX.Element;
83
+ menu?: JSX.Element;
132
84
  /**
133
85
  * List of actions available on mouse over on the default list item component
134
86
  */
@@ -139,7 +91,7 @@ interface IAddMembersProps {
139
91
  * @remarks
140
92
  * This prop is used if `listItemView` prop is not provided.
141
93
  *
142
- * @defaultValue `SelectionMode.multiple`
94
+ * @defaultValue `SelectionMode.none`
143
95
  */
144
96
  selectionMode?: SelectionMode;
145
97
  /**
@@ -148,7 +100,7 @@ interface IAddMembersProps {
148
100
  * @remarks
149
101
  * This prop is used if `selectionMode` prop is not `SelectionMode.none`
150
102
  */
151
- onSelect?: (user: CometChat.User, selected: boolean) => void;
103
+ onSelect?: (users: CometChat.User, selected: boolean) => void;
152
104
  /**
153
105
  * Request builder to fetch users
154
106
  *
@@ -168,62 +120,74 @@ interface IAddMembersProps {
168
120
  */
169
121
  searchRequestBuilder?: CometChat.UsersRequestBuilder;
170
122
  /**
171
- * Custom list item view to be rendered for each user in the fetched list
172
- */
173
- listItemView?: (user: CometChat.User) => JSX.Element;
174
- /**
175
- * Custom subtitle view to be rendered for each user in the fetched list
176
- *
177
- * @remarks
178
- * This prop is used if `listItemView` prop is not provided
123
+ * Function to call on click of the default list item view of a user
179
124
  */
180
- subtitleView?: (user: CometChat.User) => JSX.Element;
125
+ onItemClick?: (user: CometChat.User) => void;
181
126
  /**
182
- * Group to add members to
127
+ * Function to call whenever the component encounters an error
183
128
  */
184
- group: CometChat.Group;
129
+ onError?: ((error: CometChat.CometChatException) => void) | null;
185
130
  /**
186
- * Function to call when add button of the component is clicked
131
+ * User to highlight
187
132
  *
188
133
  * @remarks
189
- * This function won't be call if no users are selected
190
- */
191
- onAddMembersButtonClick?: (guid: string, membersToAdd: CometChat.GroupMember[]) => void;
192
- /**
193
- * Text to display for the default add button
194
- *
195
- * @defaultValue `localize("ADD_MEMBERS")`
134
+ * This prop is used if `listItemView` prop is not provided
196
135
  */
197
- buttonText?: string;
136
+ activeUser?: CometChat.User;
198
137
  /**
199
- * Image URL for the close button
138
+ * Search keyword to filter the list of users.
200
139
  *
201
- * @defaultValue `./assets/close2x.svg`
202
- */
203
- closeButtonIconURL?: string;
204
- /**
205
- * Function to call when the close button is clicked
140
+ * @defaultValue `""`
206
141
  */
207
- onClose?: () => void;
142
+ searchKeyword?: string;
208
143
  /**
209
- * Styles to apply to the status indicator component of the default list item view
144
+ * Callback function to be executed when the user list is empty.
210
145
  */
211
- statusIndicatorStyle?: CSSProperties;
146
+ onEmpty?: () => void;
212
147
  /**
213
- * Styles to apply to the avatar component of the default list item view
214
- */
215
- avatarStyle?: AvatarStyle;
216
- /**
217
- * Styles to apply to the default list item view
148
+ * Flag to indicate whether users are currently being fetched.
149
+ *
150
+ * @defaultValue `false`
218
151
  */
219
- listItemStyle?: ListItemStyle;
152
+ fetchingUsers?: boolean;
220
153
  /**
221
- * Styles to apply to this component
154
+ * Flag to indicate whether to disable loading state while fetching users.
155
+ * @defaultValue `false`
222
156
  */
223
- addMembersStyle?: AddMembersStyle;
157
+ disableLoadingState?: boolean;
224
158
  }
159
+ type State = {
160
+ searchText: string;
161
+ userList: CometChat.User[];
162
+ fetchState: States;
163
+ isFirstReload: boolean;
164
+ fetchingUsers: boolean;
165
+ disableLoadingState: boolean;
166
+ };
167
+ export type Action = {
168
+ type: "setSearchText";
169
+ searchText: State["searchText"];
170
+ } | {
171
+ type: "appendUsers";
172
+ users: CometChat.User[];
173
+ removeOldUsers?: boolean;
174
+ usersManager?: UsersManager | null;
175
+ onEmpty?: () => void;
176
+ } | {
177
+ type: "setFetchState";
178
+ fetchState: States;
179
+ } | {
180
+ type: "setUserList";
181
+ userList: CometChat.User[];
182
+ } | {
183
+ type: "updateUser";
184
+ user: CometChat.User;
185
+ } | {
186
+ type: "setIsFirstReload";
187
+ isFirstReload: boolean;
188
+ };
225
189
  /**
226
- * Renders a scrollable list of users to add to a group of a CometChat App
190
+ * Renders a scrollable list of users that has been created in a CometChat app
227
191
  */
228
- export declare function CometChatAddMembers(props: IAddMembersProps): import("react/jsx-runtime").JSX.Element;
192
+ export declare function CometChatUsers(props: UsersProps): import("react/jsx-runtime").JSX.Element;
229
193
  export {};
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ type Args = {
3
+ searchText: string;
4
+ usersRequestBuilder: CometChat.UsersRequestBuilder | null;
5
+ searchRequestBuilder: CometChat.UsersRequestBuilder | null;
6
+ usersSearchText: React.MutableRefObject<string>;
7
+ };
8
+ export declare class UsersManager {
9
+ private usersRequest;
10
+ private static defaultLimit;
11
+ /**
12
+ * Set `usersRequest` of the instance
13
+ */
14
+ constructor(args: Args);
15
+ private getDefaultRequestBuilder;
16
+ /**
17
+ * Calls `fetchNext` method of the set `usersRequest`
18
+ */
19
+ fetchNext(): Promise<[] | import("@cometchat/chat-sdk-javascript").User[]>;
20
+ getCurrentPage(): number;
21
+ /**
22
+ * Attaches an SDK websocket listener
23
+ *
24
+ * @returns - Function to remove the added SDK websocket listener
25
+ */
26
+ static attachConnestionListener(callback: () => void): () => void;
27
+ }
28
+ export {};
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ import { Action } from "./CometChatUsers";
3
+ import { UsersManager } from "./controller";
4
+ type Args = {
5
+ usersManagerRef: React.MutableRefObject<UsersManager | null>;
6
+ fetchNextAndAppendUsers: (fetchId: string) => Promise<void>;
7
+ searchText: string;
8
+ usersRequestBuilder: CometChat.UsersRequestBuilder | null;
9
+ searchRequestBuilder: CometChat.UsersRequestBuilder | null;
10
+ dispatch: React.Dispatch<Action>;
11
+ updateUser: (user: CometChat.User) => void;
12
+ fetchNextIdRef: React.MutableRefObject<string>;
13
+ searchKeyword: string;
14
+ disableLoadingState: boolean;
15
+ usersSearchText: React.MutableRefObject<string>;
16
+ disableUsersPresence: boolean;
17
+ };
18
+ export declare function useCometChatUsers(args: Args): void;
19
+ export {};
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Configuration class for collaborative document settings.
3
+ *
4
+ * This class encapsulates the configuration required for rendering document bubbles
5
+ * and options in the collaborative document feature.
6
+ */
7
+ export declare class CollaborativeDocumentConfiguration {
8
+ private iconURL;
9
+ private optionIconURL;
10
+ /**
11
+ * Constructs a CollaborativeDocumentConfiguration instance.
12
+ *
13
+ * @param configuration - An object containing optional configuration properties.
14
+ * @param configuration.style - Custom styling for the document bubble.
15
+ * @param configuration.iconURL - URL for the document icon.
16
+ * @param configuration.optionIconURL - URL for the options icon.
17
+ * @param configuration.optionStyle - Custom styling for the options.
18
+ */
19
+ constructor(configuration: {
20
+ iconURL?: string;
21
+ optionIconURL?: string;
22
+ });
23
+ /**
24
+ * Retrieves the URL for the document icon.
25
+ *
26
+ * @returns The icon URL as a string.
27
+ */
28
+ getIconURL(): string;
29
+ /**
30
+ * Retrieves the URL for the options icon.
31
+ *
32
+ * @returns The options icon URL as a string.
33
+ */
34
+ getOptionIconURL(): string;
35
+ }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Constants used for collaborative document operations.
3
+ *
4
+ * This frozen object contains various string constants used throughout
5
+ * the collaborative document feature, ensuring consistent usage across the codebase.
6
+ */
7
+ export declare const CollaborativeDocumentConstants: Readonly<{
8
+ v1_create: "v1/create";
9
+ extension_document: "extension_document";
10
+ document: "document";
11
+ extensions: "extensions";
12
+ metadata: "metadata";
13
+ injected: "@injected";
14
+ post: "POST";
15
+ }>;
@@ -0,0 +1,37 @@
1
+ import { ExtensionsDataSource } from "../ExtensionsDataSource";
2
+ import { CollaborativeDocumentConfiguration } from "./CollaborativeDocumentConfiguration";
3
+ /**
4
+ * Class representing the Collaborative Document Extension.
5
+ *
6
+ * This extension is responsible for enabling collaborative document features within the chat application.
7
+ * It extends the `ExtensionsDataSource` class and utilizes a configuration to customize its behavior.
8
+ */
9
+ export declare class CollaborativeDocumentExtension extends ExtensionsDataSource {
10
+ /** @private Configuration for the collaborative document extension. */
11
+ private configuration?;
12
+ /**
13
+ * Constructs a new CollaborativeDocumentExtension.
14
+ *
15
+ * @param {CollaborativeDocumentConfiguration} [configuration] - The configuration for customizing the collaborative document extension.
16
+ */
17
+ constructor(configuration?: CollaborativeDocumentConfiguration);
18
+ /**
19
+ * Adds the collaborative document extension to the chat configurator.
20
+ *
21
+ * This method overrides the `addExtension` method from `ExtensionsDataSource` and enables the collaborative document feature
22
+ * by creating a new `CollaborativeDocumentExtensionDecorator`.
23
+ *
24
+ * @override
25
+ */
26
+ addExtension(): void;
27
+ /**
28
+ * Retrieves the extension ID for the collaborative document extension.
29
+ *
30
+ * This method overrides the `getExtensionId` method from `ExtensionsDataSource`
31
+ * and returns the unique ID associated with the collaborative document extension.
32
+ *
33
+ * @returns {string} The unique ID of the collaborative document extension.
34
+ * @override
35
+ */
36
+ getExtensionId(): string;
37
+ }