@cometchat/chat-uikit-react 4.3.21 → 5.0.0-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +1 -1
- package/README.md +5 -4
- package/SECURITY.md +4 -9
- package/SUPPORT.md +2 -2
- package/dist/Collaborative_Whiteboard_Dark.png +0 -0
- package/dist/Collaborative_Whiteboard_Light.png +0 -0
- package/dist/assets/Collaborative-Whiteboard-Preview-Light.png +0 -0
- package/dist/assets/Collaborative-document-Preview-light.png +0 -0
- package/dist/assets/Collaborative_Document_Dark.png +0 -0
- package/dist/assets/Collaborative_Document_Light.png +0 -0
- package/dist/assets/Collaborative_Whiteboard_Dark.png +0 -0
- package/dist/assets/Collaborative_Whiteboard_Light.png +0 -0
- package/dist/assets/Copy.svg +5 -17
- package/dist/assets/Info.svg +0 -0
- package/dist/assets/Spinner-Gradient-1.svg +12 -0
- package/dist/assets/account_circle.svg +8 -0
- package/dist/assets/activity.svg +10 -0
- package/dist/assets/add.svg +8 -0
- package/dist/assets/add_a_photo.svg +8 -0
- package/dist/assets/add_box.svg +8 -0
- package/dist/assets/add_call.svg +8 -0
- package/dist/assets/add_circle.svg +3 -0
- package/dist/assets/add_circle_fill.svg +3 -0
- package/dist/assets/add_comment.svg +8 -0
- package/dist/assets/add_reaction.svg +8 -0
- package/dist/assets/add_reaction_icon.svg +5 -0
- package/dist/assets/ai.svg +4 -0
- package/dist/assets/ai_conversation_summary.svg +3 -0
- package/dist/assets/ai_fill.svg +4 -0
- package/dist/assets/ai_suggest_reply.svg +3 -0
- package/dist/assets/alternate_email.svg +8 -0
- package/dist/assets/animals_nature.svg +10 -0
- package/dist/assets/archive.svg +8 -0
- package/dist/assets/arrow_back.svg +8 -0
- package/dist/assets/arrow_forward.svg +8 -0
- package/dist/assets/attach_file.svg +8 -0
- package/dist/assets/audio_call_button.svg +5 -0
- package/dist/assets/bar_chart.svg +3 -0
- package/dist/assets/bedtime.svg +8 -0
- package/dist/assets/block.svg +8 -0
- package/dist/assets/bookmark.svg +8 -0
- package/dist/assets/bookmark_add.svg +8 -0
- package/dist/assets/calendar_add_on.svg +8 -0
- package/dist/assets/calendar_today.svg +8 -0
- package/dist/assets/call-log-audio.svg +3 -0
- package/dist/assets/call-log_video.svg +3 -0
- package/dist/assets/call-logs_empty_state.svg +8 -0
- package/dist/assets/call-logs_empty_state_dark.svg +8 -0
- package/dist/assets/call.svg +8 -0
- package/dist/assets/call_end.svg +8 -0
- package/dist/assets/call_end_no_fill.svg +3 -0
- package/dist/assets/call_log.svg +8 -0
- package/dist/assets/call_made.svg +8 -0
- package/dist/assets/call_missed.svg +8 -0
- package/dist/assets/call_missed_outgoing.svg +8 -0
- package/dist/assets/call_received.svg +8 -0
- package/dist/assets/cancel.svg +8 -0
- package/dist/assets/cancel_fill.svg +8 -0
- package/dist/assets/change_circle.svg +3 -0
- package/dist/assets/change_scope.png +0 -0
- package/dist/assets/chat.svg +8 -0
- package/dist/assets/chat_bot.svg +3 -0
- package/dist/assets/check.svg +8 -0
- package/dist/assets/check_circle.svg +3 -0
- package/dist/assets/checkbox_tick.svg +5 -0
- package/dist/assets/chevron_left.svg +8 -0
- package/dist/assets/chevron_right.svg +8 -0
- package/dist/assets/circle.svg +3 -0
- package/dist/assets/close.svg +8 -12
- package/dist/assets/close2x.svg +0 -0
- package/dist/assets/collaborative_document_fill.svg +4 -0
- package/dist/assets/collaborative_whiteboard.svg +4 -0
- package/dist/assets/collaborative_whiteboard_fill.svg +4 -0
- package/dist/assets/collabrative_document.svg +4 -0
- package/dist/assets/content_copy.svg +8 -0
- package/dist/assets/conversations_audio-message.svg +8 -0
- package/dist/assets/conversations_card-message.svg +8 -0
- package/dist/assets/conversations_collaborative-document-message.svg +4 -0
- package/dist/assets/conversations_collaborative-whiteboard-message.svg +5 -0
- package/dist/assets/conversations_delete.svg +8 -0
- package/dist/assets/conversations_delivered.svg +3 -0
- package/dist/assets/conversations_dropdown.svg +3 -0
- package/dist/assets/conversations_empty_state.svg +20 -0
- package/dist/assets/conversations_empty_state_dark.svg +20 -0
- package/dist/assets/conversations_error.svg +16 -0
- package/dist/assets/conversations_file-message.svg +8 -0
- package/dist/assets/conversations_form-message.svg +3 -0
- package/dist/assets/conversations_image-message.svg +8 -0
- package/dist/assets/conversations_incoming-video-call.svg +8 -0
- package/dist/assets/conversations_incoming-voice-call.svg +3 -0
- package/dist/assets/conversations_link.svg +8 -0
- package/dist/assets/conversations_missed-video-call.svg +8 -0
- package/dist/assets/conversations_missed-voice-call.svg +3 -0
- package/dist/assets/conversations_outgoing-video-call.svg +8 -0
- package/dist/assets/conversations_outgoing-voice-call.svg +4 -0
- package/dist/assets/conversations_poll-message.svg +3 -0
- package/dist/assets/conversations_read.svg +3 -0
- package/dist/assets/conversations_schedular-message.svg +8 -0
- package/dist/assets/conversations_sent.svg +3 -0
- package/dist/assets/conversations_sticker-message.svg +4 -0
- package/dist/assets/conversations_thread.svg +8 -0
- package/dist/assets/conversations_video-message.svg +8 -0
- package/dist/assets/conversations_wait.svg +4 -0
- package/dist/assets/crop.svg +8 -0
- package/dist/assets/delete.svg +8 -15
- package/dist/assets/delete_icon.svg +4 -0
- package/dist/assets/deliveredIcon.svg +5 -0
- package/dist/assets/description.svg +8 -0
- package/dist/assets/document_icon.svg +10 -0
- package/dist/assets/done_all.svg +8 -0
- package/dist/assets/download.svg +8 -13
- package/dist/assets/dropdown-arrow.svg +3 -0
- package/dist/assets/edit.svg +8 -0
- package/dist/assets/edit_calendar.svg +8 -0
- package/dist/assets/edit_icon.svg +5 -0
- package/dist/assets/edit_square.svg +3 -0
- package/dist/assets/error.svg +9 -0
- package/dist/assets/error_icon.svg +3 -0
- package/dist/assets/error_info.svg +3 -0
- package/dist/assets/event.svg +8 -0
- package/dist/assets/favorite.svg +8 -0
- package/dist/assets/file_type_jpg.png +0 -0
- package/dist/assets/file_type_link.png +0 -0
- package/dist/assets/file_type_mov.png +0 -0
- package/dist/assets/file_type_mp3.png +0 -0
- package/dist/assets/file_type_pdf.png +0 -0
- package/dist/assets/file_type_ppt.png +0 -0
- package/dist/assets/file_type_txt.png +0 -0
- package/dist/assets/file_type_unsupported.png +0 -0
- package/dist/assets/file_type_word.png +0 -0
- package/dist/assets/file_type_xlsx.png +0 -0
- package/dist/assets/file_type_zip.png +0 -0
- package/dist/assets/filter_list.svg +8 -0
- package/dist/assets/filter_list_off.svg +8 -0
- package/dist/assets/flags.svg +5 -0
- package/dist/assets/flip_camera_ios.svg +8 -0
- package/dist/assets/food_drink.svg +10 -0
- package/dist/assets/forward.svg +8 -0
- package/dist/assets/gif.svg +3 -0
- package/dist/assets/graphic_eq.svg +3 -0
- package/dist/assets/groups_empty_state.svg +8 -0
- package/dist/assets/groups_empty_state_dark.svg +8 -0
- package/dist/assets/help.svg +8 -0
- package/dist/assets/history.svg +8 -0
- package/dist/assets/incoming_video.svg +8 -0
- package/dist/assets/incoming_video_no_fill.svg +4 -0
- package/dist/assets/info_icon.svg +3 -0
- package/dist/assets/info_icon_fill.svg +5 -0
- package/dist/assets/keep.svg +8 -0
- package/dist/assets/keep_off.svg +8 -0
- package/dist/assets/keyboard.svg +8 -0
- package/dist/assets/keyboard_arrow_down.svg +8 -0
- package/dist/assets/keyboard_arrow_up.svg +8 -0
- package/dist/assets/language.svg +8 -0
- package/dist/assets/link.svg +8 -0
- package/dist/assets/list_error_state_icon.svg +20 -0
- package/dist/assets/list_error_state_icon_dark.svg +27 -0
- package/dist/assets/loading_animation.svg +5 -0
- package/dist/assets/loading_icon.svg +3 -0
- package/dist/assets/location_on.svg +8 -0
- package/dist/assets/lock.svg +8 -0
- package/dist/assets/lock_open.svg +8 -0
- package/dist/assets/{Locked.svg → locked.svg} +0 -0
- package/dist/assets/logout.svg +3 -0
- package/dist/assets/mail.svg +8 -0
- package/dist/assets/message-delivered.svg +3 -4
- package/dist/assets/message-read.svg +3 -4
- package/dist/assets/message-sent.svg +3 -9
- package/dist/assets/message_delete.svg +8 -0
- package/dist/assets/mic.svg +3 -11
- package/dist/assets/mic_fill.svg +8 -0
- package/dist/assets/mic_off.svg +8 -0
- package/dist/assets/missed_video_call.svg +8 -0
- package/dist/assets/missed_video_call_no_fill.svg +3 -0
- package/dist/assets/mood.svg +3 -0
- package/dist/assets/mood_fill.svg +8 -0
- package/dist/assets/more_icon.svg +5 -0
- package/dist/assets/more_vert.svg +8 -0
- package/dist/assets/near_me.svg +3 -0
- package/dist/assets/no_photography.svg +8 -0
- package/dist/assets/notifications.svg +8 -0
- package/dist/assets/notifications_off.svg +8 -0
- package/dist/assets/objects.svg +10 -0
- package/dist/assets/outgoing_video.svg +8 -0
- package/dist/assets/outgoing_video_no_fill.svg +4 -0
- package/dist/assets/pause.svg +8 -0
- package/dist/assets/person.svg +8 -0
- package/dist/assets/person_add.svg +8 -0
- package/dist/assets/phone_in_talk.svg +8 -0
- package/dist/assets/phone_incoming.svg +3 -0
- package/dist/assets/phone_incoming_no_fill.svg +3 -0
- package/dist/assets/phone_missed.svg +8 -0
- package/dist/assets/phone_missed_no_fill.svg +3 -0
- package/dist/assets/phone_outgoing.svg +4 -0
- package/dist/assets/phone_outgoing_no_fill.svg +4 -0
- package/dist/assets/photo.svg +8 -0
- package/dist/assets/photo_camera.svg +8 -0
- package/dist/assets/placeholder.png +0 -0
- package/dist/assets/play_arrow.svg +8 -0
- package/dist/assets/play_circle.svg +8 -0
- package/dist/assets/poll.svg +5 -0
- package/dist/assets/{Private.svg → private.svg} +0 -0
- package/dist/assets/readIcon.svg +5 -0
- package/dist/assets/rearrange.svg +3 -0
- package/dist/assets/recording_icon.svg +10 -0
- package/dist/assets/recording_resume.svg +10 -0
- package/dist/assets/refresh.svg +8 -0
- package/dist/assets/reply.svg +8 -0
- package/dist/assets/reply_all.svg +8 -0
- package/dist/assets/reply_in_thread.svg +10 -0
- package/dist/assets/retry.svg +3 -0
- package/dist/assets/schedule.svg +8 -0
- package/dist/assets/screen_share.svg +8 -0
- package/dist/assets/send_fill.svg +8 -0
- package/dist/assets/settings.svg +8 -0
- package/dist/assets/share.svg +8 -0
- package/dist/assets/shield.svg +3 -0
- package/dist/assets/side-arrow.svg +0 -0
- package/dist/assets/smileys_people.svg +10 -0
- package/dist/assets/star.svg +8 -0
- package/dist/assets/status_delivered.svg +5 -0
- package/dist/assets/status_error.svg +16 -0
- package/dist/assets/status_read.svg +3 -0
- package/dist/assets/status_sending.svg +5 -0
- package/dist/assets/status_sent.svg +5 -0
- package/dist/assets/sticker.svg +3 -0
- package/dist/assets/sticker_fill.svg +4 -0
- package/dist/assets/stop.svg +8 -1
- package/dist/assets/stop_circle.svg +8 -0
- package/dist/assets/stop_screen_share.svg +8 -0
- package/dist/assets/subdirectory_arrow_left.svg +8 -0
- package/dist/assets/subdirectory_arrow_right.svg +8 -0
- package/dist/assets/sunny.svg +8 -0
- package/dist/assets/symbols.svg +13 -0
- package/dist/assets/thumb_down.svg +8 -0
- package/dist/assets/thumb_up.svg +8 -0
- package/dist/assets/tooltip-side.svg +5 -0
- package/dist/assets/tooltip.svg +5 -0
- package/dist/assets/translate.svg +3 -0
- package/dist/assets/travel_places.svg +10 -0
- package/dist/assets/upload.svg +3 -0
- package/dist/assets/user_empty.svg +8 -0
- package/dist/assets/user_empty_dark.svg +8 -0
- package/dist/assets/video_call.svg +8 -0
- package/dist/assets/video_call_button.svg +5 -0
- package/dist/assets/videocam.svg +8 -0
- package/dist/assets/videocam_off.svg +8 -0
- package/dist/assets/visibility_off.svg +3 -0
- package/dist/assets/volume_down.svg +8 -0
- package/dist/assets/volume_mute.svg +8 -0
- package/dist/assets/volume_off.svg +8 -0
- package/dist/assets/volume_up.svg +8 -0
- package/dist/assets/wait.svg +0 -0
- package/dist/assets/warning.svg +8 -0
- package/dist/assets/wifi.svg +8 -0
- package/dist/assets/zoom_in_map.svg +8 -0
- package/dist/assets/zoom_out_map.svg +8 -0
- package/dist/fonts/LICENSE.txt +202 -0
- package/dist/fonts/Roboto/LICENSE.txt +202 -0
- package/dist/fonts/Roboto/Roboto-Black.ttf +0 -0
- package/dist/fonts/Roboto/Roboto-BlackItalic.ttf +0 -0
- package/dist/fonts/Roboto/Roboto-Bold.ttf +0 -0
- package/dist/fonts/Roboto/Roboto-BoldItalic.ttf +0 -0
- package/dist/fonts/Roboto/Roboto-Italic.ttf +0 -0
- package/dist/fonts/Roboto/Roboto-Light.ttf +0 -0
- package/dist/fonts/Roboto/Roboto-LightItalic.ttf +0 -0
- package/dist/fonts/Roboto/Roboto-Medium.ttf +0 -0
- package/dist/fonts/Roboto/Roboto-MediumItalic.ttf +0 -0
- package/dist/fonts/Roboto/Roboto-Regular.ttf +0 -0
- package/dist/fonts/Roboto/Roboto-Thin.ttf +0 -0
- package/dist/fonts/Roboto/Roboto-ThinItalic.ttf +0 -0
- package/dist/fonts/Roboto-Black.ttf +0 -0
- package/dist/fonts/Roboto-BlackItalic.ttf +0 -0
- package/dist/fonts/Roboto-Bold.ttf +0 -0
- package/dist/fonts/Roboto-BoldItalic.ttf +0 -0
- package/dist/fonts/Roboto-Italic.ttf +0 -0
- package/dist/fonts/Roboto-Light.ttf +0 -0
- package/dist/fonts/Roboto-LightItalic.ttf +0 -0
- package/dist/fonts/Roboto-Medium.ttf +0 -0
- package/dist/fonts/Roboto-MediumItalic.ttf +0 -0
- package/dist/fonts/Roboto-Regular.ttf +0 -0
- package/dist/fonts/Roboto-Thin.ttf +0 -0
- package/dist/fonts/Roboto-ThinItalic.ttf +0 -0
- package/dist/index.d.ts +9879 -2327
- package/dist/index.js +2 -8
- package/dist/index.js.map +1 -1
- package/dist/styles/AICard.css +30 -0
- package/dist/styles/AIConversationStarter.css +79 -0
- package/dist/styles/AIConversationSummary.css +110 -0
- package/dist/styles/AISmartReplies.css +122 -0
- package/dist/styles/CometChatActionBubble.css +19 -0
- package/dist/styles/CometChatActionSheet.css +60 -0
- package/dist/styles/CometChatAudioBubble.css +191 -0
- package/dist/styles/CometChatAvatar.css +35 -0
- package/dist/styles/CometChatBadge.css +15 -0
- package/dist/styles/CometChatButton.css +61 -0
- package/dist/styles/CometChatCallBubble.css +199 -0
- package/dist/styles/CometChatCallButtons.css +52 -0
- package/dist/styles/CometChatCallLogs.css +239 -0
- package/dist/styles/CometChatCard.css +41 -0
- package/dist/styles/CometChatChangeScope.css +197 -0
- package/dist/styles/CometChatCheckbox.css +62 -0
- package/dist/styles/CometChatConfirmDialog.css +143 -0
- package/dist/styles/CometChatContextMenu.css +126 -0
- package/dist/styles/CometChatConversations.css +585 -0
- package/dist/styles/CometChatDate.css +9 -0
- package/dist/styles/CometChatDeleteBubble.css +59 -0
- package/dist/styles/CometChatDocumentBubble.css +130 -0
- package/dist/styles/CometChatDropDown.css +82 -0
- package/dist/styles/CometChatEditPreview.css +58 -0
- package/dist/styles/CometChatEmojiKeyboard.css +146 -0
- package/dist/styles/CometChatFileBubble.css +180 -0
- package/dist/styles/CometChatFullScreenViewer.css +97 -0
- package/dist/styles/CometChatGroupMembers.css +227 -0
- package/dist/styles/CometChatGroups.css +218 -0
- package/dist/styles/CometChatImageBubble.css +36 -0
- package/dist/styles/CometChatIncomingCall.css +125 -0
- package/dist/styles/CometChatList.css +115 -0
- package/dist/styles/CometChatListItem.css +105 -0
- package/dist/styles/CometChatMediaRecorder.css +217 -0
- package/dist/styles/CometChatMessageBubble.css +118 -0
- package/dist/styles/CometChatMessageComposer.css +297 -0
- package/dist/styles/CometChatMessageHeader.css +157 -0
- package/dist/styles/CometChatMessageInformation.css +231 -0
- package/dist/styles/CometChatMessageList.css +710 -0
- package/dist/styles/CometChatOngoingCall.css +10 -0
- package/dist/styles/CometChatOutgoingCall.css +109 -0
- package/dist/styles/CometChatPopover.css +10 -0
- package/dist/styles/CometChatQuickView.css +57 -0
- package/dist/styles/CometChatRadioButton.css +63 -0
- package/dist/styles/CometChatReactionInfo.css +89 -0
- package/dist/styles/CometChatReactionList.css +205 -0
- package/dist/styles/CometChatReactions.css +53 -0
- package/dist/styles/CometChatSearchBar.css +66 -0
- package/dist/styles/CometChatSingleSelect.css +36 -0
- package/dist/styles/CometChatTextBubble.css +97 -0
- package/dist/styles/CometChatThreadedMessagePreview.css +152 -0
- package/dist/styles/CometChatToast.css +14 -0
- package/dist/styles/CometChatUsers.css +165 -0
- package/dist/styles/CometChatVideoBubble.css +39 -0
- package/dist/styles/CreatePolls.css +293 -0
- package/dist/styles/LinkPreview.css +127 -0
- package/dist/styles/MessageTranslationBubble.css +84 -0
- package/dist/styles/PollsBubble.css +251 -0
- package/dist/styles/StickersKeyboard.css +196 -0
- package/dist/styles/components/AICard.css +30 -0
- package/dist/styles/components/AIConversationStarter.css +79 -0
- package/dist/styles/components/AIConversationSummary.css +110 -0
- package/dist/styles/components/AISmartReplies.css +122 -0
- package/dist/styles/components/CometChatActionBubble.css +19 -0
- package/dist/styles/components/CometChatActionSheet.css +60 -0
- package/dist/styles/components/CometChatAudioBubble.css +191 -0
- package/dist/styles/components/CometChatAvatar.css +35 -0
- package/dist/styles/components/CometChatBadge.css +15 -0
- package/dist/styles/components/CometChatButton.css +61 -0
- package/dist/styles/components/CometChatCallBubble.css +199 -0
- package/dist/styles/components/CometChatCallButtons.css +52 -0
- package/dist/styles/components/CometChatCallLogs.css +239 -0
- package/dist/styles/components/CometChatCard.css +41 -0
- package/dist/styles/components/CometChatChangeScope.css +197 -0
- package/dist/styles/components/CometChatCheckbox.css +62 -0
- package/dist/styles/components/CometChatConfirmDialog.css +143 -0
- package/dist/styles/components/CometChatContextMenu.css +126 -0
- package/dist/styles/components/CometChatConversations.css +585 -0
- package/dist/styles/components/CometChatDate.css +9 -0
- package/dist/styles/components/CometChatDeleteBubble.css +59 -0
- package/dist/styles/components/CometChatDocumentBubble.css +130 -0
- package/dist/styles/components/CometChatDropDown.css +82 -0
- package/dist/styles/components/CometChatEditPreview.css +58 -0
- package/dist/styles/components/CometChatEmojiKeyboard.css +146 -0
- package/dist/styles/components/CometChatFileBubble.css +180 -0
- package/dist/styles/components/CometChatFullScreenViewer.css +97 -0
- package/dist/styles/components/CometChatGroupMembers.css +227 -0
- package/dist/styles/components/CometChatGroups.css +218 -0
- package/dist/styles/components/CometChatImageBubble.css +36 -0
- package/dist/styles/components/CometChatIncomingCall.css +125 -0
- package/dist/styles/components/CometChatList.css +115 -0
- package/dist/styles/components/CometChatListItem.css +105 -0
- package/dist/styles/components/CometChatMediaRecorder.css +217 -0
- package/dist/styles/components/CometChatMessageBubble.css +118 -0
- package/dist/styles/components/CometChatMessageComposer.css +297 -0
- package/dist/styles/components/CometChatMessageHeader.css +157 -0
- package/dist/styles/components/CometChatMessageInformation.css +231 -0
- package/dist/styles/components/CometChatMessageList.css +710 -0
- package/dist/styles/components/CometChatOngoingCall.css +10 -0
- package/dist/styles/components/CometChatOutgoingCall.css +109 -0
- package/dist/styles/components/CometChatPopover.css +10 -0
- package/dist/styles/components/CometChatQuickView.css +57 -0
- package/dist/styles/components/CometChatRadioButton.css +63 -0
- package/dist/styles/components/CometChatReactionInfo.css +89 -0
- package/dist/styles/components/CometChatReactionList.css +205 -0
- package/dist/styles/components/CometChatReactions.css +53 -0
- package/dist/styles/components/CometChatSearchBar.css +66 -0
- package/dist/styles/components/CometChatSingleSelect.css +36 -0
- package/dist/styles/components/CometChatTextBubble.css +97 -0
- package/dist/styles/components/CometChatThreadedMessagePreview.css +152 -0
- package/dist/styles/components/CometChatToast.css +14 -0
- package/dist/styles/components/CometChatUsers.css +165 -0
- package/dist/styles/components/CometChatVideoBubble.css +39 -0
- package/dist/styles/components/CreatePolls.css +293 -0
- package/dist/styles/components/LinkPreview.css +127 -0
- package/dist/styles/components/MessageTranslationBubble.css +84 -0
- package/dist/styles/components/PollsBubble.css +251 -0
- package/dist/styles/components/StickersKeyboard.css +196 -0
- package/dist/styles/components/index.css +109 -0
- package/dist/styles/css-variables.css +419 -0
- package/dist/styles/index.css +109 -0
- package/dist/types/CometChatUIKit/CometChatCalls.d.ts +1 -0
- package/dist/types/CometChatUIKit/CometChatUIKit.d.ts +147 -0
- package/dist/types/CometChatUIKit/CometChatUIKitLoginListener.d.ts +32 -0
- package/dist/types/CometChatUIKit/CometChatUIKitSharedSettings.d.ts +8 -0
- package/dist/types/CometChatUIKit/CometChatUIKitUtility.d.ts +81 -0
- package/dist/types/CometChatUIKit/UIKitSettings.d.ts +304 -0
- package/dist/types/Enums/Enums.d.ts +258 -0
- package/dist/types/components/AI/AIBaseConfiguration.d.ts +51 -0
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +20 -0
- package/dist/types/{AI → components/AI}/AIConversationStarter/AIConversationStarterDecorator.d.ts +4 -6
- package/dist/types/{AI → components/AI}/AIConversationStarter/AIConversationStarterExtension.d.ts +2 -2
- package/dist/types/{AI → components/AI}/AIConversationStarter/AIConversationStarterView.d.ts +3 -4
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +31 -0
- package/dist/types/{AI → components/AI}/AIConversationSummary/AIConversationSummaryDecorator.d.ts +7 -7
- package/dist/types/{AI → components/AI}/AIConversationSummary/AIConversationSummaryExtension.d.ts +2 -2
- package/dist/types/{AI → components/AI}/AIConversationSummary/AIConversationSummaryView.d.ts +3 -4
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +28 -0
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +21 -0
- package/dist/types/{AI → components/AI}/AISmartReplies/AISmartRepliesExtension.d.ts +2 -2
- package/dist/types/{AI → components/AI}/AISmartReplies/AISmartRepliesView.d.ts +3 -4
- package/dist/types/components/BaseComponents/CometChatActionBubble/CometChatActionBubble.d.ts +8 -0
- package/dist/types/components/BaseComponents/CometChatActionSheet/CometChatActionSheet.d.ts +7 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/CometChatAudioBubble.d.ts +6 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/base-plugin.d.ts +21 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/decoder.d.ts +9 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/dom.d.ts +13 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/draggable.d.ts +1 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/event-emitter.d.ts +21 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/fetcher.d.ts +5 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/player.d.ts +50 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/envelope.d.ts +79 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/hover.d.ts +36 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/minimap.d.ts +65 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/record.d.ts +89 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/regions.d.ts +139 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/spectrogram.d.ts +98 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/timeline.d.ts +54 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/plugins/zoom.d.ts +55 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/renderer.d.ts +63 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/timer.d.ts +11 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/wavesurfer.d.ts +223 -0
- package/dist/types/components/BaseComponents/CometChatAudioBubble/src/webaudio.d.ts +63 -0
- package/dist/types/components/BaseComponents/CometChatAvatar/CometChatAvatar.d.ts +13 -0
- package/dist/types/components/BaseComponents/CometChatBadge/CometChatBadge.d.ts +10 -0
- package/dist/types/components/BaseComponents/CometChatButton/CometChatButton.d.ts +12 -0
- package/dist/types/components/BaseComponents/CometChatCallBubble/CometChatCallBubble.d.ts +12 -0
- package/dist/types/components/BaseComponents/CometChatCard/CometChatCard.d.ts +15 -0
- package/dist/types/components/BaseComponents/CometChatChangeScope/CometChatChangeScope.d.ts +10 -0
- package/dist/types/components/BaseComponents/CometChatChangeScope/useCometChatChangeScope.d.ts +10 -0
- package/dist/types/components/BaseComponents/CometChatCheckbox/CometChatCheckbox.d.ts +11 -0
- package/dist/types/components/BaseComponents/CometChatCheckbox/useCometChatCheckbox.d.ts +11 -0
- package/dist/types/components/BaseComponents/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +16 -0
- package/dist/types/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts +17 -0
- package/dist/types/components/BaseComponents/CometChatDate/CometChatDate.d.ts +13 -0
- package/dist/types/components/BaseComponents/CometChatDate/useCometChatDate.d.ts +8 -0
- package/dist/types/components/BaseComponents/CometChatDeleteBubble/CometChatDeleteBubble.d.ts +14 -0
- package/dist/types/components/BaseComponents/CometChatDocumentBubble/CometChatDocumentBubble.d.ts +11 -0
- package/dist/types/components/BaseComponents/CometChatDropDown/CometChatDropDown.d.ts +14 -0
- package/dist/types/components/BaseComponents/CometChatDropDown/useCometChatDropDown.d.ts +12 -0
- package/dist/types/components/BaseComponents/CometChatEditPreview/CometChatEditPreview.d.ts +21 -0
- package/dist/types/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmoji.d.ts +22 -0
- package/dist/types/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +7 -0
- package/dist/types/components/BaseComponents/CometChatEmojiKeyboard/emojis.d.ts +6579 -0
- package/dist/types/components/BaseComponents/CometChatEmojiKeyboard/useCometChatEmojiKeyboard.d.ts +17 -0
- package/dist/types/components/BaseComponents/CometChatFileBubble/CometChatFileBubble.d.ts +9 -0
- package/dist/types/components/BaseComponents/CometChatFullScreenViewer/CometChatFullScreenViewer.d.ts +23 -0
- package/dist/types/components/BaseComponents/CometChatImageBubble/CometChatImageBubble.d.ts +10 -0
- package/dist/types/components/BaseComponents/CometChatImageBubble/useCometChatImageBubble.d.ts +7 -0
- package/dist/types/{Shared/Views/CometChatList/index.d.ts → components/BaseComponents/CometChatList/CometChatList.d.ts} +15 -10
- package/dist/types/{Shared/Views/CometChatList/hooks.d.ts → components/BaseComponents/CometChatList/useCometChatList.d.ts} +3 -6
- package/dist/types/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +15 -0
- package/dist/types/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +12 -0
- package/dist/types/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +5 -0
- package/dist/types/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +19 -0
- package/dist/types/components/BaseComponents/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +8 -0
- package/dist/types/components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble.d.ts +28 -0
- package/dist/types/components/BaseComponents/CometChatPopover/CometChatPopover.d.ts +24 -0
- package/dist/types/components/BaseComponents/CometChatQuickView/CometChatQuickView.d.ts +9 -0
- package/dist/types/components/BaseComponents/CometChatRadioButton/CometChatRadioButton.d.ts +14 -0
- package/dist/types/components/BaseComponents/CometChatRadioButton/useCometChatRadioButton.d.ts +13 -0
- package/dist/types/components/BaseComponents/CometChatSearchBar/CometChatSearchBar.d.ts +9 -0
- package/dist/types/components/BaseComponents/CometChatSearchBar/useCometChatSearchBar.d.ts +10 -0
- package/dist/types/components/BaseComponents/CometChatSingleSelect/CometChatSingleSelect.d.ts +8 -0
- package/dist/types/components/BaseComponents/CometChatTextBubble/CometChatTextBubble.d.ts +8 -0
- package/dist/types/components/BaseComponents/CometChatTextBubble/useCometChatTextBubble.d.ts +6 -0
- package/dist/types/components/BaseComponents/CometChatToast/CometChatToast.d.ts +27 -0
- package/dist/types/components/BaseComponents/CometChatVideoBubble/CometChatVideoBubble.d.ts +9 -0
- package/dist/types/components/BaseComponents/CometChatVideoBubble/useCometChatVideoBubble.d.ts +6 -0
- package/dist/types/components/Calling/CallButtonConfiguration.d.ts +10 -0
- package/dist/types/components/Calling/CallingConfiguration.d.ts +7 -0
- package/dist/types/components/Calling/CallingExtension.d.ts +9 -0
- package/dist/types/components/Calling/CallingExtensionDecorator.d.ts +29 -0
- package/dist/types/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +36 -0
- package/dist/types/components/Calling/CometChatCallButtons/useCallButtons.d.ts +6 -0
- package/dist/types/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +71 -0
- package/dist/types/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +2 -0
- package/dist/types/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +59 -0
- package/dist/types/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +2 -0
- package/dist/types/components/Calling/CometChatOngoingCall/CometChatOngoingCall.d.ts +10 -0
- package/dist/types/components/Calling/CometChatOngoingCall/useCometChatOngoingCall.d.ts +2 -0
- package/dist/types/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +36 -0
- package/dist/types/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +7 -0
- package/dist/types/components/Calling/OutgoingCallConfiguration.d.ts +8 -0
- package/dist/types/{Calling → components/Calling}/Utils/utils.d.ts +1 -1
- package/dist/types/{CometChatConversations/index.d.ts → components/CometChatConversations/CometChatConversations.d.ts} +28 -153
- package/dist/types/{CometChatConversations → components/CometChatConversations}/controller.d.ts +1 -1
- package/dist/types/{CometChatConversations/hooks.d.ts → components/CometChatConversations/useCometChatConversations.d.ts} +7 -4
- package/dist/types/{CometChatGroupMembers/index.d.ts → components/CometChatGroupMembers/CometChatGroupMembers.d.ts} +9 -112
- package/dist/types/{CometChatGroupMembers → components/CometChatGroupMembers}/controller.d.ts +1 -1
- package/dist/types/{CometChatGroupMembers/hooks.d.ts → components/CometChatGroupMembers/useCometChatGroupMembers.d.ts} +3 -3
- package/dist/types/{CometChatGroups/index.d.ts → components/CometChatGroups/CometChatGroups.d.ts} +7 -72
- package/dist/types/{CometChatGroups → components/CometChatGroups}/controller.d.ts +1 -1
- package/dist/types/{CometChatGroups/hooks.d.ts → components/CometChatGroups/useCometChatGroups.d.ts} +2 -2
- package/dist/types/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +166 -0
- package/dist/types/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +42 -0
- package/dist/types/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +29 -0
- package/dist/types/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +3 -0
- package/dist/types/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +6 -0
- package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +132 -0
- package/dist/types/components/CometChatMessageList/useCometChatMessageList.d.ts +6 -0
- package/dist/types/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +11 -0
- package/dist/types/components/CometChatUserMemberWrapper/CometChatUserMemberWrapper.d.ts +21 -0
- package/dist/types/{CometChatUserMemberWrapper → components/CometChatUserMemberWrapper}/index.d.ts +1 -3
- package/dist/types/{CometChatUsers/index.d.ts → components/CometChatUsers/CometChatUsers.d.ts} +7 -74
- package/dist/types/{CometChatUsers → components/CometChatUsers}/controller.d.ts +0 -6
- package/dist/types/{CometChatUsers/hooks.d.ts → components/CometChatUsers/useCometChatUsers.d.ts} +3 -2
- package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +35 -0
- package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentConstants.d.ts +15 -0
- package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +37 -0
- package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +116 -0
- package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +35 -0
- package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConstants.d.ts +13 -0
- package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +29 -0
- package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +94 -0
- package/dist/types/components/Extensions/ExtensionsDataSource.d.ts +29 -0
- package/dist/types/components/Extensions/ExtensionsId.d.ts +22 -0
- package/dist/types/components/Extensions/LinkPreview/LinkPreview.d.ts +37 -0
- package/dist/types/components/Extensions/LinkPreview/LinkPreviewConstants.d.ts +11 -0
- package/dist/types/components/Extensions/LinkPreview/LinkPreviewExtension.d.ts +24 -0
- package/dist/types/components/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +60 -0
- package/dist/types/components/Extensions/MessageTranslation/MessageTranslationBubble.d.ts +35 -0
- package/dist/types/components/Extensions/MessageTranslation/MessageTranslationConstants.d.ts +12 -0
- package/dist/types/components/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +30 -0
- package/dist/types/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +53 -0
- package/dist/types/components/Extensions/Polls/CreatePolls.d.ts +66 -0
- package/dist/types/components/Extensions/Polls/PollsBubble.d.ts +35 -0
- package/dist/types/{Extensions → components/Extensions}/Polls/PollsConfiguration.d.ts +0 -10
- package/dist/types/components/Extensions/Polls/PollsConstants.d.ts +8 -0
- package/dist/types/{Extensions → components/Extensions}/Polls/PollsExtension.d.ts +1 -1
- package/dist/types/components/Extensions/Polls/PollsExtensionDecorator.d.ts +112 -0
- package/dist/types/components/Extensions/Stickers/StickersConstants.d.ts +16 -0
- package/dist/types/components/Extensions/Stickers/StickersExtension.d.ts +31 -0
- package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +112 -0
- package/dist/types/components/Extensions/Stickers/StickersKeyboard.d.ts +29 -0
- package/dist/types/components/Extensions/ThumbnailGeneration/ThumbnailGenerationConstants.d.ts +13 -0
- package/dist/types/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +21 -0
- package/dist/types/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +40 -0
- package/dist/types/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +9 -0
- package/dist/types/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +8 -0
- package/dist/types/components/Reactions/CometChatReactions/CometChatReactions.d.ts +12 -0
- package/dist/types/constants/CometChatUIKitConstants.d.ts +139 -0
- package/dist/types/constants/CometChatUtilityConstants.d.ts +9 -0
- package/dist/types/constants/index.d.ts +1 -0
- package/dist/types/events/CometChatCallEvents.d.ts +10 -0
- package/dist/types/events/CometChatConversationEvents.d.ts +13 -0
- package/dist/types/events/CometChatGroupEvents.d.ts +63 -0
- package/dist/types/events/CometChatMessageEvents.d.ts +43 -0
- package/dist/types/events/CometChatUIEvents.d.ts +59 -0
- package/dist/types/events/CometChatUserEvents.d.ts +16 -0
- package/dist/types/formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +210 -0
- package/dist/types/formatters/CometChatFormatters/CometChatTextFormatter.d.ts +268 -0
- package/dist/types/formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter.d.ts +12 -0
- package/dist/types/formatters/index.d.ts +3 -0
- package/dist/types/index.d.ts +108 -84
- package/dist/types/modals/CometChatActions.d.ts +36 -0
- package/dist/types/modals/CometChatActionsIcon.d.ts +38 -0
- package/dist/types/modals/CometChatActionsView.d.ts +39 -0
- package/dist/types/modals/CometChatMessageComposerAction.d.ts +33 -0
- package/dist/types/modals/CometChatMessageOption.d.ts +37 -0
- package/dist/types/modals/CometChatMessageTemplate.d.ts +70 -0
- package/dist/types/modals/CometChatOption.d.ts +20 -0
- package/dist/types/modals/InteractiveActions/APIAction.d.ts +108 -0
- package/dist/types/modals/InteractiveActions/CustomAction.d.ts +12 -0
- package/dist/types/modals/InteractiveActions/URLNavigationAction.d.ts +30 -0
- package/dist/types/modals/InteractiveActions/index.d.ts +3 -0
- package/dist/types/modals/InteractiveElements/BaseInputElement.d.ts +50 -0
- package/dist/types/modals/InteractiveElements/BaseInteractiveElement.d.ts +25 -0
- package/dist/types/modals/InteractiveElements/ButtonElement.d.ts +48 -0
- package/dist/types/modals/InteractiveElements/CheckboxElement.d.ts +46 -0
- package/dist/types/modals/InteractiveElements/DateTimePickerElement.d.ts +124 -0
- package/dist/types/modals/InteractiveElements/DropdownElement.d.ts +55 -0
- package/dist/types/modals/InteractiveElements/LabelElement.d.ts +29 -0
- package/dist/types/modals/InteractiveElements/OptionElement.d.ts +35 -0
- package/dist/types/modals/InteractiveElements/RadioButtonElement.d.ts +54 -0
- package/dist/types/modals/InteractiveElements/SingleSelectElement.d.ts +50 -0
- package/dist/types/modals/InteractiveElements/TextInputElement.d.ts +69 -0
- package/dist/types/modals/InteractiveElements/index.d.ts +11 -0
- package/dist/types/modals/InteractiveEntities/ActionEntity.d.ts +32 -0
- package/dist/types/modals/InteractiveEntities/ElementEntity.d.ts +35 -0
- package/dist/types/modals/InteractiveEntities/index.d.ts +2 -0
- package/dist/types/modals/InteractiveMessage/CardMessage.d.ts +69 -0
- package/dist/types/modals/InteractiveMessage/CustomInteractiveMessage.d.ts +20 -0
- package/dist/types/modals/InteractiveMessage/FormMessage.d.ts +75 -0
- package/dist/types/modals/InteractiveMessage/SchedulerMessage.d.ts +230 -0
- package/dist/types/modals/InteractiveMessage/index.d.ts +5 -0
- package/dist/types/modals/index.d.ts +7 -0
- package/dist/types/resources/CometChatLocalize/cometchat-localize.d.ts +5603 -0
- package/dist/types/resources/CometChatSoundManager/CometChatSoundManager.d.ts +128 -0
- package/dist/types/resources/index.d.ts +1 -0
- package/dist/types/src/CometChatCustomHooks.d.ts +27 -0
- package/dist/types/src/CometChatUIKit/CometChatCalls.d.ts +1 -0
- package/dist/types/src/CometChatUIKit/CometChatUIKit.d.ts +147 -0
- package/dist/types/src/CometChatUIKit/CometChatUIKitLoginListener.d.ts +32 -0
- package/dist/types/src/CometChatUIKit/CometChatUIKitUtility.d.ts +81 -0
- package/dist/types/src/CometChatUIKit/UIKitSettings.d.ts +304 -0
- package/dist/types/src/Enums/Enums.d.ts +258 -0
- package/dist/types/src/components/AI/AIBaseConfiguration.d.ts +51 -0
- package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +20 -0
- package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +18 -0
- package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +8 -0
- package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +8 -0
- package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +31 -0
- package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +22 -0
- package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +8 -0
- package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +9 -0
- package/dist/types/{Shared/Framework/ExtensionsDataSource.d.ts → src/components/AI/AIExtensionDataSource.d.ts} +2 -2
- package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +28 -0
- package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +21 -0
- package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +8 -0
- package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesView.d.ts +11 -0
- package/dist/types/src/components/BaseComponents/CometChatActionBubble/CometChatActionBubble.d.ts +8 -0
- package/dist/types/src/components/BaseComponents/CometChatActionSheet/CometChatActionSheet.d.ts +7 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/CometChatAudioBubble.d.ts +6 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/base-plugin.d.ts +21 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/decoder.d.ts +9 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/dom.d.ts +13 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/draggable.d.ts +1 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/event-emitter.d.ts +21 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/fetcher.d.ts +5 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/player.d.ts +50 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/envelope.d.ts +79 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/hover.d.ts +36 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/minimap.d.ts +65 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/record.d.ts +89 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/regions.d.ts +139 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/spectrogram.d.ts +98 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/timeline.d.ts +54 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/zoom.d.ts +55 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/renderer.d.ts +63 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/timer.d.ts +11 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/wavesurfer.d.ts +223 -0
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/webaudio.d.ts +63 -0
- package/dist/types/src/components/BaseComponents/CometChatAvatar/CometChatAvatar.d.ts +13 -0
- package/dist/types/src/components/BaseComponents/CometChatButton/CometChatButton.d.ts +12 -0
- package/dist/types/src/components/BaseComponents/CometChatCallBubble/CometChatCallBubble.d.ts +12 -0
- package/dist/types/src/components/BaseComponents/CometChatChangeScope/CometChatChangeScope.d.ts +10 -0
- package/dist/types/src/components/BaseComponents/CometChatChangeScope/useCometChatChangeScope.d.ts +10 -0
- package/dist/types/src/components/BaseComponents/CometChatCheckbox/CometChatCheckbox.d.ts +11 -0
- package/dist/types/src/components/BaseComponents/CometChatCheckbox/useCometChatCheckbox.d.ts +11 -0
- package/dist/types/src/components/BaseComponents/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +16 -0
- package/dist/types/src/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts +17 -0
- package/dist/types/src/components/BaseComponents/CometChatDate/CometChatDate.d.ts +13 -0
- package/dist/types/src/components/BaseComponents/CometChatDate/useCometChatDate.d.ts +8 -0
- package/dist/types/src/components/BaseComponents/CometChatDeleteBubble/CometChatDeleteBubble.d.ts +14 -0
- package/dist/types/src/components/BaseComponents/CometChatDocumentBubble/CometChatDocumentBubble.d.ts +11 -0
- package/dist/types/src/components/BaseComponents/CometChatDropDown/CometChatDropDown.d.ts +14 -0
- package/dist/types/src/components/BaseComponents/CometChatDropDown/useCometChatDropDown.d.ts +12 -0
- package/dist/types/src/components/BaseComponents/CometChatEditPreview/CometChatEditPreview.d.ts +21 -0
- package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmoji.d.ts +22 -0
- package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +7 -0
- package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/emojis.d.ts +6579 -0
- package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/useCometChatEmojiKeyboard.d.ts +17 -0
- package/dist/types/src/components/BaseComponents/CometChatFileBubble/CometChatFileBubble.d.ts +9 -0
- package/dist/types/src/components/BaseComponents/CometChatFullScreenViewer/CometChatFullScreenViewer.d.ts +23 -0
- package/dist/types/src/components/BaseComponents/CometChatImageBubble/CometChatImageBubble.d.ts +10 -0
- package/dist/types/src/components/BaseComponents/CometChatImageBubble/useCometChatImageBubble.d.ts +7 -0
- package/dist/types/src/components/BaseComponents/CometChatList/CometChatList.d.ts +156 -0
- package/dist/types/src/components/BaseComponents/CometChatList/useCometChatList.d.ts +17 -0
- package/dist/types/src/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +15 -0
- package/dist/types/src/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +12 -0
- package/dist/types/src/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +5 -0
- package/dist/types/src/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +19 -0
- package/dist/types/src/components/BaseComponents/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +8 -0
- package/dist/types/src/components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble.d.ts +28 -0
- package/dist/types/src/components/BaseComponents/CometChatPopover/CometChatPopover.d.ts +24 -0
- package/dist/types/src/components/BaseComponents/CometChatRadioButton/CometChatRadioButton.d.ts +14 -0
- package/dist/types/src/components/BaseComponents/CometChatRadioButton/useCometChatRadioButton.d.ts +13 -0
- package/dist/types/src/components/BaseComponents/CometChatSearchBar/CometChatSearchBar.d.ts +9 -0
- package/dist/types/src/components/BaseComponents/CometChatSearchBar/useCometChatSearchBar.d.ts +10 -0
- package/dist/types/src/components/BaseComponents/CometChatTextBubble/CometChatTextBubble.d.ts +8 -0
- package/dist/types/src/components/BaseComponents/CometChatTextBubble/useCometChatTextBubble.d.ts +6 -0
- package/dist/types/src/components/BaseComponents/CometChatToast/CometChatToast.d.ts +27 -0
- package/dist/types/src/components/BaseComponents/CometChatVideoBubble/CometChatVideoBubble.d.ts +9 -0
- package/dist/types/src/components/BaseComponents/CometChatVideoBubble/useCometChatVideoBubble.d.ts +6 -0
- package/dist/types/src/components/Calling/CallButtonConfiguration.d.ts +10 -0
- package/dist/types/src/components/Calling/CallingConfiguration.d.ts +7 -0
- package/dist/types/src/components/Calling/CallingExtension.d.ts +9 -0
- package/dist/types/src/components/Calling/CallingExtensionDecorator.d.ts +29 -0
- package/dist/types/src/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +36 -0
- package/dist/types/src/components/Calling/CometChatCallButtons/useCallButtons.d.ts +6 -0
- package/dist/types/src/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +71 -0
- package/dist/types/src/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +2 -0
- package/dist/types/src/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +59 -0
- package/dist/types/src/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +2 -0
- package/dist/types/src/components/Calling/CometChatOngoingCall/CometChatOngoingCall.d.ts +10 -0
- package/dist/types/src/components/Calling/CometChatOngoingCall/useCometChatOngoingCall.d.ts +2 -0
- package/dist/types/src/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +36 -0
- package/dist/types/src/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +7 -0
- package/dist/types/src/components/Calling/OutgoingCallConfiguration.d.ts +8 -0
- package/dist/types/src/components/Calling/Utils/utils.d.ts +7 -0
- package/dist/types/src/components/CometChatConversations/CometChatConversations.d.ts +219 -0
- package/dist/types/src/components/CometChatConversations/controller.d.ts +74 -0
- package/dist/types/src/components/CometChatConversations/useCometChatConversations.d.ts +25 -0
- package/dist/types/src/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +178 -0
- package/dist/types/src/components/CometChatGroupMembers/controller.d.ts +38 -0
- package/dist/types/src/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +22 -0
- package/dist/types/src/components/CometChatGroups/CometChatGroups.d.ts +150 -0
- package/dist/types/src/components/CometChatGroups/controller.d.ts +44 -0
- package/dist/types/src/components/CometChatGroups/useCometChatGroups.d.ts +15 -0
- package/dist/types/src/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +166 -0
- package/dist/types/src/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +42 -0
- package/dist/types/src/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +29 -0
- package/dist/types/src/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +3 -0
- package/dist/types/src/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +6 -0
- package/dist/types/src/components/CometChatMessageList/CometChatMessageList.d.ts +132 -0
- package/dist/types/src/components/CometChatMessageList/CometChatMessageListController.d.ts +48 -0
- package/dist/types/src/components/CometChatMessageList/useCometChatMessageList.d.ts +6 -0
- package/dist/types/src/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +11 -0
- package/dist/types/src/components/CometChatUserMemberWrapper/CometChatUserMemberWrapper.d.ts +21 -0
- package/dist/types/{CometChatAddMembers/index.d.ts → src/components/CometChatUsers/CometChatUsers.d.ts} +81 -117
- package/dist/types/src/components/CometChatUsers/controller.d.ts +28 -0
- package/dist/types/src/components/CometChatUsers/useCometChatUsers.d.ts +19 -0
- package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +35 -0
- package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConstants.d.ts +15 -0
- package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +37 -0
- package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +116 -0
- package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +35 -0
- package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConstants.d.ts +13 -0
- package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +29 -0
- package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +94 -0
- package/dist/types/src/components/Extensions/ExtensionsDataSource.d.ts +29 -0
- package/dist/types/src/components/Extensions/ExtensionsId.d.ts +22 -0
- package/dist/types/src/components/Extensions/LinkPreview/LinkPreview.d.ts +37 -0
- package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewConstants.d.ts +11 -0
- package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtension.d.ts +24 -0
- package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +60 -0
- package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationBubble.d.ts +35 -0
- package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationConstants.d.ts +12 -0
- package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +30 -0
- package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +53 -0
- package/dist/types/src/components/Extensions/Polls/CreatePolls.d.ts +66 -0
- package/dist/types/src/components/Extensions/Polls/PollsBubble.d.ts +35 -0
- package/dist/types/src/components/Extensions/Polls/PollsConfiguration.d.ts +19 -0
- package/dist/types/src/components/Extensions/Polls/PollsConstants.d.ts +8 -0
- package/dist/types/src/components/Extensions/Polls/PollsExtension.d.ts +8 -0
- package/dist/types/src/components/Extensions/Polls/PollsExtensionDecorator.d.ts +112 -0
- package/dist/types/src/components/Extensions/Stickers/StickersConstants.d.ts +16 -0
- package/dist/types/src/components/Extensions/Stickers/StickersExtension.d.ts +31 -0
- package/dist/types/src/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +112 -0
- package/dist/types/src/components/Extensions/Stickers/StickersKeyboard.d.ts +29 -0
- package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationConstants.d.ts +13 -0
- package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +21 -0
- package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +40 -0
- package/dist/types/src/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +9 -0
- package/dist/types/src/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +8 -0
- package/dist/types/src/components/Reactions/CometChatReactions/CometChatReactions.d.ts +12 -0
- package/dist/types/src/constants/CometChatUIKitConstants.d.ts +139 -0
- package/dist/types/src/constants/CometChatUtilityConstants.d.ts +9 -0
- package/dist/types/src/constants/index.d.ts +1 -0
- package/dist/types/src/events/CometChatCallEvents.d.ts +10 -0
- package/dist/types/src/events/CometChatConversationEvents.d.ts +13 -0
- package/dist/types/src/events/CometChatGroupEvents.d.ts +63 -0
- package/dist/types/src/events/CometChatMessageEvents.d.ts +43 -0
- package/dist/types/src/events/CometChatUIEvents.d.ts +59 -0
- package/dist/types/src/events/CometChatUserEvents.d.ts +16 -0
- package/dist/types/src/formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +210 -0
- package/dist/types/src/formatters/CometChatFormatters/CometChatTextFormatter.d.ts +268 -0
- package/dist/types/src/formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter.d.ts +12 -0
- package/dist/types/src/formatters/index.d.ts +3 -0
- package/dist/types/src/index.d.ts +108 -0
- package/dist/types/src/modals/CometChatActions.d.ts +36 -0
- package/dist/types/src/modals/CometChatActionsIcon.d.ts +38 -0
- package/dist/types/src/modals/CometChatActionsView.d.ts +39 -0
- package/dist/types/src/modals/CometChatMessageComposerAction.d.ts +33 -0
- package/dist/types/src/modals/CometChatMessageOption.d.ts +37 -0
- package/dist/types/src/modals/CometChatMessageTemplate.d.ts +70 -0
- package/dist/types/src/modals/CometChatOption.d.ts +20 -0
- package/dist/types/src/modals/index.d.ts +7 -0
- package/dist/types/src/resources/CometChatLocalize/cometchat-localize.d.ts +5603 -0
- package/dist/types/src/resources/CometChatSoundManager/CometChatSoundManager.d.ts +128 -0
- package/dist/types/src/resources/index.d.ts +1 -0
- package/dist/types/src/utils/CallingDetailsUtils.d.ts +42 -0
- package/dist/types/{Shared/Framework → src/utils}/ChatConfigurator.d.ts +4 -0
- package/dist/types/src/utils/ChatSdkEventInitializer.d.ts +6 -0
- package/dist/types/src/utils/ConversationUtils.d.ts +69 -0
- package/dist/types/src/utils/DataSource.d.ts +55 -0
- package/dist/types/src/utils/DataSourceDecorator.d.ts +57 -0
- package/dist/types/src/utils/GroupMemberUtils.d.ts +32 -0
- package/dist/types/src/utils/MessageReceiptUtils.d.ts +44 -0
- package/dist/types/src/utils/MessageUtils.d.ts +55 -0
- package/dist/types/src/utils/MessagesDataSource.d.ts +110 -0
- package/dist/types/src/utils/Storage.d.ts +33 -0
- package/dist/types/src/utils/util.d.ts +26 -0
- package/dist/types/utils/CallingDetailsUtils.d.ts +42 -0
- package/dist/types/utils/ChatConfigurator.d.ts +12 -0
- package/dist/types/utils/ChatSdkEventInitializer.d.ts +6 -0
- package/dist/types/utils/ConversationUtils.d.ts +69 -0
- package/dist/types/utils/DataSource.d.ts +55 -0
- package/dist/types/utils/DataSourceDecorator.d.ts +57 -0
- package/dist/types/utils/GroupMemberUtils.d.ts +32 -0
- package/dist/types/utils/IcsToJson.d.ts +19 -0
- package/dist/types/utils/InteractiveMessageUtils.d.ts +71 -0
- package/dist/types/utils/MessageReceiptUtils.d.ts +44 -0
- package/dist/types/utils/MessageUtils.d.ts +55 -0
- package/dist/types/utils/MessagesDataSource.d.ts +110 -0
- package/dist/types/utils/Storage.d.ts +33 -0
- package/dist/types/utils/util.d.ts +26 -0
- package/package.json +14 -17
- package/rollup.config.js +16 -6
- package/tsconfig.json +2 -1
- package/CONTRIBUTING.md +0 -92
- package/dist/assets/InfoSimpleIcon.svg +0 -4
- package/dist/assets/More.svg +0 -9
- package/dist/assets/More@2x.svg +0 -9
- package/dist/assets/Plus-1.svg +0 -12
- package/dist/assets/StartConversation.svg +0 -13
- package/dist/assets/Stickers.svg +0 -16
- package/dist/assets/addreaction.svg +0 -9
- package/dist/assets/ai-bot.svg +0 -3
- package/dist/assets/attachment-file.svg +0 -14
- package/dist/assets/audio-file.svg +0 -12
- package/dist/assets/collaborativedocument.svg +0 -13
- package/dist/assets/collaborativewhiteboard.svg +0 -12
- package/dist/assets/create-button.svg +0 -12
- package/dist/assets/deleteicon.svg +0 -15
- package/dist/assets/editicon.svg +0 -14
- package/dist/assets/heart.svg +0 -11
- package/dist/assets/photolibrary.svg +0 -11
- package/dist/assets/plus-rotated.svg +0 -13
- package/dist/assets/plus.svg +0 -13
- package/dist/assets/polls.svg +0 -14
- package/dist/assets/smileys.svg +0 -16
- package/dist/assets/stipop.svg +0 -9
- package/dist/assets/threadIndicatorIcon.svg +0 -11
- package/dist/assets/threadicon.svg +0 -14
- package/dist/assets/translation.svg +0 -16
- package/dist/assets/video.svg +0 -12
- package/dist/types/AI/AIAssistBot/AIAssistBotChatView.d.ts +0 -10
- package/dist/types/AI/AIAssistBot/AIAssistBotDecorator.d.ts +0 -22
- package/dist/types/AI/AIAssistBot/AIAssistBotExtension.d.ts +0 -8
- package/dist/types/AI/AIAssistBot/AIAssistBotOptionsView.d.ts +0 -11
- package/dist/types/AI/AIAssistBot/style.d.ts +0 -37
- package/dist/types/AI/AIAssistBot/utils.d.ts +0 -5
- package/dist/types/AI/AIConversationStarter/style.d.ts +0 -26
- package/dist/types/AI/AIConversationSummary/style.d.ts +0 -28
- package/dist/types/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -25
- package/dist/types/AI/AISmartReplies/style.d.ts +0 -28
- package/dist/types/Calling/CallingExtension.d.ts +0 -6
- package/dist/types/Calling/CallingExtensionDecorator.d.ts +0 -73
- package/dist/types/Calling/CometChatCallButtons/hooks.d.ts +0 -3
- package/dist/types/Calling/CometChatCallButtons/index.d.ts +0 -17
- package/dist/types/Calling/CometChatCallButtons/style.d.ts +0 -28
- package/dist/types/Calling/CometChatCallLogDetails/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatCallLogDetails/index.d.ts +0 -17
- package/dist/types/Calling/CometChatCallLogDetails/style.d.ts +0 -21
- package/dist/types/Calling/CometChatCallLogHistory/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatCallLogHistory/index.d.ts +0 -27
- package/dist/types/Calling/CometChatCallLogHistory/style.d.ts +0 -41
- package/dist/types/Calling/CometChatCallLogParticipants/index.d.ts +0 -19
- package/dist/types/Calling/CometChatCallLogParticipants/style.d.ts +0 -31
- package/dist/types/Calling/CometChatCallLogRecordings/index.d.ts +0 -21
- package/dist/types/Calling/CometChatCallLogRecordings/style.d.ts +0 -35
- package/dist/types/Calling/CometChatCallLogs/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatCallLogs/index.d.ts +0 -37
- package/dist/types/Calling/CometChatCallLogs/style.d.ts +0 -37
- package/dist/types/Calling/CometChatCallLogsWithDetails/hooks.d.ts +0 -4
- package/dist/types/Calling/CometChatCallLogsWithDetails/index.d.ts +0 -10
- package/dist/types/Calling/CometChatCallLogsWithDetails/style.d.ts +0 -13
- package/dist/types/Calling/CometChatIncomingCall/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatIncomingCall/index.d.ts +0 -18
- package/dist/types/Calling/CometChatIncomingCall/style.d.ts +0 -72
- package/dist/types/Calling/CometChatOngoingCall/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatOngoingCall/index.d.ts +0 -15
- package/dist/types/Calling/CometChatOngoingCall/style.d.ts +0 -2
- package/dist/types/Calling/CometChatOutgoingCall/hooks.d.ts +0 -2
- package/dist/types/Calling/CometChatOutgoingCall/index.d.ts +0 -16
- package/dist/types/Calling/CometChatOutgoingCall/style.d.ts +0 -39
- package/dist/types/Calling/Utils/CallDetailsUtils.d.ts +0 -11
- package/dist/types/Calling/Utils/CallingDetailsUtils.d.ts +0 -7
- package/dist/types/CometChatAddMembers/hooks.d.ts +0 -11
- package/dist/types/CometChatAddMembers/style.d.ts +0 -13
- package/dist/types/CometChatBannedMembers/controller.d.ts +0 -37
- package/dist/types/CometChatBannedMembers/hooks.d.ts +0 -17
- package/dist/types/CometChatBannedMembers/index.d.ts +0 -228
- package/dist/types/CometChatBannedMembers/style.d.ts +0 -19
- package/dist/types/CometChatContacts/index.d.ts +0 -22
- package/dist/types/CometChatContacts/style.d.ts +0 -20
- package/dist/types/CometChatConversations/style.d.ts +0 -29
- package/dist/types/CometChatConversationsWithMessages/hooks.d.ts +0 -2
- package/dist/types/CometChatConversationsWithMessages/index.d.ts +0 -15
- package/dist/types/CometChatConversationsWithMessages/style.d.ts +0 -87
- package/dist/types/CometChatDetails/hooks.d.ts +0 -17
- package/dist/types/CometChatDetails/index.d.ts +0 -186
- package/dist/types/CometChatDetails/style.d.ts +0 -40
- package/dist/types/CometChatGroupMembers/style.d.ts +0 -24
- package/dist/types/CometChatGroups/style.d.ts +0 -11
- package/dist/types/CometChatGroupsWithMessages/hooks.d.ts +0 -3
- package/dist/types/CometChatGroupsWithMessages/index.d.ts +0 -14
- package/dist/types/CometChatGroupsWithMessages/style.d.ts +0 -874
- package/dist/types/CometChatMessageComposer/hooks.d.ts +0 -65
- package/dist/types/CometChatMessageComposer/index.d.ts +0 -221
- package/dist/types/CometChatMessageComposer/style.d.ts +0 -92
- package/dist/types/CometChatMessageHeader/hooks.d.ts +0 -3
- package/dist/types/CometChatMessageHeader/index.d.ts +0 -29
- package/dist/types/CometChatMessageHeader/style.d.ts +0 -56
- package/dist/types/CometChatMessageInformation/index.d.ts +0 -29
- package/dist/types/CometChatMessageInformation/style.d.ts +0 -48
- package/dist/types/CometChatMessageList/CometChatMessageList.d.ts +0 -58
- package/dist/types/CometChatMessageList/style.d.ts +0 -237
- package/dist/types/CometChatMessageList/useCometChatMessageList.d.ts +0 -6
- package/dist/types/CometChatMessages/hooks.d.ts +0 -2
- package/dist/types/CometChatMessages/index.d.ts +0 -25
- package/dist/types/CometChatMessages/style.d.ts +0 -26
- package/dist/types/CometChatThemeContext.d.ts +0 -5
- package/dist/types/CometChatThreadedMessages/hooks.d.ts +0 -2
- package/dist/types/CometChatThreadedMessages/index.d.ts +0 -19
- package/dist/types/CometChatThreadedMessages/style.d.ts +0 -21
- package/dist/types/CometChatTransferOwnership/hooks.d.ts +0 -7
- package/dist/types/CometChatTransferOwnership/index.d.ts +0 -163
- package/dist/types/CometChatTransferOwnership/style.d.ts +0 -17
- package/dist/types/CometChatUsers/style.d.ts +0 -11
- package/dist/types/CometChatUsersWithMessages/hooks.d.ts +0 -2
- package/dist/types/CometChatUsersWithMessages/index.d.ts +0 -12
- package/dist/types/CometChatUsersWithMessages/style.d.ts +0 -70
- package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +0 -18
- package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +0 -8
- package/dist/types/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +0 -21
- package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +0 -18
- package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +0 -8
- package/dist/types/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +0 -21
- package/dist/types/Extensions/ImageModeration/ImageModerationConfiguration.d.ts +0 -15
- package/dist/types/Extensions/ImageModeration/ImageModerationExtension.d.ts +0 -8
- package/dist/types/Extensions/ImageModeration/ImageModerationExtensionDecorator.d.ts +0 -26
- package/dist/types/Extensions/LinkPreview/LinkPreviewConfiguration.d.ts +0 -8
- package/dist/types/Extensions/LinkPreview/LinkPreviewExtension.d.ts +0 -8
- package/dist/types/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +0 -24
- package/dist/types/Extensions/MessageTranslation/MessageTranslationConfiguration.d.ts +0 -14
- package/dist/types/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +0 -8
- package/dist/types/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +0 -19
- package/dist/types/Extensions/Polls/PollsExtensionDecorator.d.ts +0 -26
- package/dist/types/Extensions/SmartReplies/SmartRepliesConfiguration.d.ts +0 -8
- package/dist/types/Extensions/SmartReplies/SmartRepliesExtension.d.ts +0 -9
- package/dist/types/Extensions/SmartReplies/SmartRepliesExtensionDecorator.d.ts +0 -35
- package/dist/types/Extensions/Stickers/StickersConfiguration.d.ts +0 -14
- package/dist/types/Extensions/Stickers/StickersExtension.d.ts +0 -8
- package/dist/types/Extensions/Stickers/StickersExtensionDecorator.d.ts +0 -27
- package/dist/types/Extensions/TextModerator/TextModeratorExtension.d.ts +0 -6
- package/dist/types/Extensions/TextModerator/TextModeratorExtensionDecorator.d.ts +0 -8
- package/dist/types/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +0 -5
- package/dist/types/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +0 -8
- package/dist/types/Shared/CometChatUIKit/CometChatUIKit.d.ts +0 -36
- package/dist/types/Shared/Framework/DataSource.d.ts +0 -56
- package/dist/types/Shared/Framework/DataSourceDecorator.d.ts +0 -59
- package/dist/types/Shared/Utils/MessageUtils.d.ts +0 -16
- package/dist/types/Shared/Utils/MessagesDataSource.d.ts +0 -92
- package/dist/types/Shared/Views/CometChatButton/hooks.d.ts +0 -11
- package/dist/types/Shared/Views/CometChatButton/index.d.ts +0 -19
- package/dist/types/Shared/Views/CometChatCheckbox/hooks.d.ts +0 -9
- package/dist/types/Shared/Views/CometChatCheckbox/index.d.ts +0 -13
- package/dist/types/Shared/Views/CometChatContextMenu/index.d.ts +0 -13
- package/dist/types/Shared/Views/CometChatContextMenu/style.d.ts +0 -28
- package/dist/types/Shared/Views/CometChatList/style.d.ts +0 -18
- package/dist/types/Shared/Views/CometChatListItem/hooks.d.ts +0 -9
- package/dist/types/Shared/Views/CometChatListItem/index.d.ts +0 -29
- package/dist/types/Shared/Views/CometChatMenuList/hooks.d.ts +0 -12
- package/dist/types/Shared/Views/CometChatMenuList/index.d.ts +0 -13
- package/dist/types/Shared/Views/CometChatMessageBubble/index.d.ts +0 -22
- package/dist/types/Shared/Views/CometChatMessageBubble/style.d.ts +0 -22
- package/dist/types/Shared/Views/CometChatRadioButton/hooks.d.ts +0 -9
- package/dist/types/Shared/Views/CometChatRadioButton/index.d.ts +0 -13
- package/dist/types/Shared/Views/CometChatTabs/TabsStyle.d.ts +0 -31
- package/dist/types/Shared/Views/CometChatTabs/index.d.ts +0 -11
- package/dist/types/Shared/Views/CometChatTabs/style.d.ts +0 -42
- package/dist/types/Shared/Views/LitElementsWrapper/LitElementsWrapper.d.ts +0 -49
- /package/dist/assets/{send-message-in-private.svg → send_message_privately.svg} +0 -0
- /package/dist/types/{Shared/Framework → components/AI}/AIExtensionDataSource.d.ts +0 -0
- /package/dist/types/{CometChatMessageList/controller.d.ts → components/CometChatMessageList/CometChatMessageListController.d.ts} +0 -0
|
@@ -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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { CometChatOption
|
|
5
|
-
interface
|
|
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("
|
|
29
|
-
*/
|
|
30
|
-
title?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Alignment of the `title` text
|
|
33
|
-
*
|
|
34
|
-
* @defaultValue `TitleAlignment.center`
|
|
9
|
+
* @defaultValue `localize("USERS")`
|
|
35
10
|
*/
|
|
36
|
-
|
|
11
|
+
title?: string;
|
|
37
12
|
/**
|
|
38
13
|
* Hide the search bar
|
|
39
14
|
*
|
|
40
|
-
* @
|
|
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
|
-
|
|
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 `
|
|
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
|
-
|
|
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
|
-
*
|
|
48
|
+
* Hide error view
|
|
82
49
|
*
|
|
83
|
-
* @
|
|
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 `
|
|
53
|
+
* @defaultValue `false`
|
|
94
54
|
*/
|
|
95
|
-
|
|
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
|
-
*
|
|
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
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* @defaultValue `false`
|
|
68
|
+
* This prop is used if `listItemView` prop is not provided
|
|
107
69
|
*/
|
|
108
|
-
|
|
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
|
-
|
|
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.
|
|
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?: (
|
|
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
|
-
*
|
|
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
|
-
|
|
125
|
+
onItemClick?: (user: CometChat.User) => void;
|
|
181
126
|
/**
|
|
182
|
-
*
|
|
127
|
+
* Function to call whenever the component encounters an error
|
|
183
128
|
*/
|
|
184
|
-
|
|
129
|
+
onError?: ((error: CometChat.CometChatException) => void) | null;
|
|
185
130
|
/**
|
|
186
|
-
*
|
|
131
|
+
* User to highlight
|
|
187
132
|
*
|
|
188
133
|
* @remarks
|
|
189
|
-
* This
|
|
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
|
-
|
|
136
|
+
activeUser?: CometChat.User;
|
|
198
137
|
/**
|
|
199
|
-
*
|
|
138
|
+
* Search keyword to filter the list of users.
|
|
200
139
|
*
|
|
201
|
-
* @defaultValue
|
|
202
|
-
*/
|
|
203
|
-
closeButtonIconURL?: string;
|
|
204
|
-
/**
|
|
205
|
-
* Function to call when the close button is clicked
|
|
140
|
+
* @defaultValue `""`
|
|
206
141
|
*/
|
|
207
|
-
|
|
142
|
+
searchKeyword?: string;
|
|
208
143
|
/**
|
|
209
|
-
*
|
|
144
|
+
* Callback function to be executed when the user list is empty.
|
|
210
145
|
*/
|
|
211
|
-
|
|
146
|
+
onEmpty?: () => void;
|
|
212
147
|
/**
|
|
213
|
-
*
|
|
214
|
-
|
|
215
|
-
|
|
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
|
-
|
|
152
|
+
fetchingUsers?: boolean;
|
|
220
153
|
/**
|
|
221
|
-
*
|
|
154
|
+
* Flag to indicate whether to disable loading state while fetching users.
|
|
155
|
+
* @defaultValue `false`
|
|
222
156
|
*/
|
|
223
|
-
|
|
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
|
|
190
|
+
* Renders a scrollable list of users that has been created in a CometChat app
|
|
227
191
|
*/
|
|
228
|
-
export declare function
|
|
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
|
+
}
|