@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,268 @@
|
|
|
1
|
+
import { MentionsTargetElement, MessageBubbleAlignment } from "../../Enums/Enums";
|
|
2
|
+
import { ComposerId } from "../../utils/MessagesDataSource";
|
|
3
|
+
/**
|
|
4
|
+
* Abstract class that provides methods for formatting text in CometChat.
|
|
5
|
+
* It is used in CometChatMessageComposer, CometChatConversations, CometChatMessageList components and extension decorators.
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class CometChatTextFormatter {
|
|
8
|
+
/**
|
|
9
|
+
* An ID for tracking the timeout.
|
|
10
|
+
*/
|
|
11
|
+
protected timeoutID?: number;
|
|
12
|
+
/**
|
|
13
|
+
* A flag to start tracking once a specific keyboard event occurs.
|
|
14
|
+
*/
|
|
15
|
+
protected startTracking: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Current position/type of the text selection or cursor in the text input field.
|
|
18
|
+
*/
|
|
19
|
+
protected currentCaretPosition?: Selection;
|
|
20
|
+
/**
|
|
21
|
+
* Represents the text range that the user has selected or the cursor position in the text input field.
|
|
22
|
+
*/
|
|
23
|
+
protected currentRange?: Range;
|
|
24
|
+
/**
|
|
25
|
+
* Reference to the text input field DOM element.
|
|
26
|
+
*/
|
|
27
|
+
protected inputElementReference?: HTMLElement;
|
|
28
|
+
/**
|
|
29
|
+
* The regex patterns to find specific text pattern in the user input text.
|
|
30
|
+
*/
|
|
31
|
+
protected regexPatterns: RegExp[];
|
|
32
|
+
/**
|
|
33
|
+
* The regex patterns to replace text formatting in the user input text.
|
|
34
|
+
*/
|
|
35
|
+
protected regexToReplaceFormatting: RegExp[];
|
|
36
|
+
/**
|
|
37
|
+
* Mapping of CSS classes for styling the text.
|
|
38
|
+
*/
|
|
39
|
+
protected cssClassMapping: Array<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The character to track once typed in the text input field.
|
|
42
|
+
*/
|
|
43
|
+
protected trackCharacter: string;
|
|
44
|
+
/**
|
|
45
|
+
* Callback function to be triggered on the 'keyup' event.
|
|
46
|
+
*/
|
|
47
|
+
protected keyUpCallBack: Function;
|
|
48
|
+
/**
|
|
49
|
+
* Callback function to be triggered on the 'keydown' event.
|
|
50
|
+
*/
|
|
51
|
+
protected keyDownCallBack: Function;
|
|
52
|
+
protected classes: string[];
|
|
53
|
+
/**
|
|
54
|
+
* Function reference to trigger a re-render of the component.
|
|
55
|
+
*/
|
|
56
|
+
reRender: Function;
|
|
57
|
+
messageBubbleAlignment: MessageBubbleAlignment;
|
|
58
|
+
/**
|
|
59
|
+
* The message object in context.
|
|
60
|
+
*/
|
|
61
|
+
protected messageObject: CometChat.BaseMessage;
|
|
62
|
+
user?: CometChat.User;
|
|
63
|
+
group?: CometChat.Group;
|
|
64
|
+
composerId?: ComposerId;
|
|
65
|
+
/**
|
|
66
|
+
* The user who is currently logged in.
|
|
67
|
+
*/
|
|
68
|
+
protected loggedInUser?: CometChat.User | null;
|
|
69
|
+
protected id?: string;
|
|
70
|
+
protected textStyle: {
|
|
71
|
+
[key: string]: string;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Sets the current caret position and selection range.
|
|
75
|
+
*
|
|
76
|
+
* @param {Selection} currentCaretPosition - The current caret position.
|
|
77
|
+
* @param {Range} currentRange - The current selection range.
|
|
78
|
+
*/
|
|
79
|
+
setCaretPositionAndRange(currentCaretPosition: Selection, currentRange: Range): void;
|
|
80
|
+
/**
|
|
81
|
+
* Set css class to be applied on format spans
|
|
82
|
+
*/
|
|
83
|
+
setClasses(classes: string[]): void;
|
|
84
|
+
/**
|
|
85
|
+
* Sets the regex patterns to match.
|
|
86
|
+
* @param regexPatterns - Array of regex patterns.
|
|
87
|
+
*/
|
|
88
|
+
setRegexPatterns(regexPatterns: Array<RegExp>): void;
|
|
89
|
+
/**
|
|
90
|
+
* Gets the regex patterns.
|
|
91
|
+
*/
|
|
92
|
+
getRegexPatterns(): RegExp[];
|
|
93
|
+
/**
|
|
94
|
+
* Sets the regex patterns to replace formatting.
|
|
95
|
+
* @param regexToReplaceFormatting - Array of regex patterns.
|
|
96
|
+
*/
|
|
97
|
+
setRegexToReplaceFormatting(regexToReplaceFormatting: Array<RegExp>): void;
|
|
98
|
+
/**
|
|
99
|
+
* Sets the tracking character.
|
|
100
|
+
* @param trackCharacter - The character to track.
|
|
101
|
+
*/
|
|
102
|
+
setTrackingCharacter(trackCharacter: string): void;
|
|
103
|
+
/**
|
|
104
|
+
* Sets the input element reference.
|
|
105
|
+
* @param inputElementReference - The reference to the input element.
|
|
106
|
+
*/
|
|
107
|
+
setInputElementReference(inputElementReference: HTMLElement): void;
|
|
108
|
+
/**
|
|
109
|
+
* Sets the re-render function.
|
|
110
|
+
* @param reRender - The function to call for re-rendering.
|
|
111
|
+
*/
|
|
112
|
+
setReRender(reRender: Function): void;
|
|
113
|
+
/**
|
|
114
|
+
* Retrieves the keydown callback function.
|
|
115
|
+
* @returns {Function} The keydown callback function.
|
|
116
|
+
*/
|
|
117
|
+
getKeyUpCallBack(): Function;
|
|
118
|
+
/**
|
|
119
|
+
* Sets the keydown callback function.
|
|
120
|
+
* @param {Function} keyUpCallBack - The callback function for handling key down events.
|
|
121
|
+
*/
|
|
122
|
+
setKeyUpCallBack(keyUpCallBack: Function): void;
|
|
123
|
+
/**
|
|
124
|
+
* Retrieves the keydown callback function.
|
|
125
|
+
* @returns {Function} The keydown callback function.
|
|
126
|
+
*/
|
|
127
|
+
getKeyDownCallBack(): Function;
|
|
128
|
+
/**
|
|
129
|
+
* Sets the keydown callback function.
|
|
130
|
+
* @param {Function} keyDownCallBack - The keydown callback function.
|
|
131
|
+
*/
|
|
132
|
+
setKeyDownCallBack(keyDownCallBack: Function): void;
|
|
133
|
+
/**
|
|
134
|
+
* Retrieves the currently logged in user.
|
|
135
|
+
* @returns The currently logged user.
|
|
136
|
+
*/
|
|
137
|
+
getLoggedInUser(): import("@cometchat/chat-sdk-javascript").User | null | undefined;
|
|
138
|
+
/**
|
|
139
|
+
* Sets the currently logged in user.
|
|
140
|
+
* @param {CometChat.User} loggedInUser - The user to set as currently logged in.
|
|
141
|
+
*/
|
|
142
|
+
setLoggedInUser(loggedInUser: CometChat.User): void;
|
|
143
|
+
/**
|
|
144
|
+
* Sets the mapping of CSS classes.
|
|
145
|
+
* @param cssClassesNames - Array of CSS class names.
|
|
146
|
+
*/
|
|
147
|
+
setCssClassMapping(cssClassesNames: string[]): void;
|
|
148
|
+
/**
|
|
149
|
+
* Sets the CSS style.
|
|
150
|
+
* @param {Object} styleObject - The CSS style object.
|
|
151
|
+
* @param {string} styleObject.formattedTextColor - The color to use for formatted text.
|
|
152
|
+
*/
|
|
153
|
+
setStyle(styleObject: {
|
|
154
|
+
formattedTextColor: string;
|
|
155
|
+
formattedTextFont: string;
|
|
156
|
+
}): void;
|
|
157
|
+
getStyle(): {
|
|
158
|
+
[key: string]: string;
|
|
159
|
+
};
|
|
160
|
+
setId(id: string): void;
|
|
161
|
+
getId(): string | undefined;
|
|
162
|
+
cleanup(): void;
|
|
163
|
+
/**
|
|
164
|
+
* If the input text is provided, it returns the formatted text. Otherwise, it edits the text using the current cursor position.
|
|
165
|
+
* @param {string|null} inputText - The text to format.
|
|
166
|
+
* @return {string|void} - The original or formatted input text, or void if editing was done based on cursor position.
|
|
167
|
+
*/
|
|
168
|
+
getFormattedText(inputText: string | null, params: {
|
|
169
|
+
mentionsTargetElement: MentionsTargetElement;
|
|
170
|
+
}): string | void;
|
|
171
|
+
/**
|
|
172
|
+
* Sets the message object.
|
|
173
|
+
*
|
|
174
|
+
* @param {CometChat.BaseMessage} messageObject - The message object to be set.
|
|
175
|
+
*/
|
|
176
|
+
setMessage(messageObject: CometChat.BaseMessage): void;
|
|
177
|
+
/**
|
|
178
|
+
* Retrieves the message object.
|
|
179
|
+
*
|
|
180
|
+
* @returns {CometChat.BaseMessage} - The current message object.
|
|
181
|
+
*/
|
|
182
|
+
getMessage(): import("@cometchat/chat-sdk-javascript").BaseMessage;
|
|
183
|
+
setMessageBubbleAlignment(messageBubbleAlignment: MessageBubbleAlignment): void;
|
|
184
|
+
getMessageBubbleAlignment(): MessageBubbleAlignment;
|
|
185
|
+
setComposerConfig(user?: CometChat.User, group?: CometChat.Group, composerId?: ComposerId): void;
|
|
186
|
+
getComposerConfig(): {
|
|
187
|
+
user: import("@cometchat/chat-sdk-javascript").User | undefined;
|
|
188
|
+
group: import("@cometchat/chat-sdk-javascript").Group | undefined;
|
|
189
|
+
composerId: ComposerId | undefined;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* Formats the text on keyboard key down.
|
|
193
|
+
* @param {string|void} inputText - The text to format.
|
|
194
|
+
*/
|
|
195
|
+
protected formatTextOnKeyUp: (inputText: string | void) => void;
|
|
196
|
+
debouncedFormatTextOnKeyUp: (...args: Object[]) => void;
|
|
197
|
+
/**
|
|
198
|
+
* Retrieves the preceding text from the given caret position.
|
|
199
|
+
* @param {Selection} currentCaretPosition - The current caret position.
|
|
200
|
+
* @param {Range} currentRange - The current selection range.
|
|
201
|
+
* @return {string|null} - The preceding text or null.
|
|
202
|
+
*/
|
|
203
|
+
protected getPrecedingText(currentCaretPosition: Selection | undefined, currentRange: Range | undefined): string | null;
|
|
204
|
+
/**
|
|
205
|
+
* Returns true if previous character is previousCharacterToCheck or if there is just one character
|
|
206
|
+
* @param {string} previousCharacterToCheck
|
|
207
|
+
* @param {Range} currentRange
|
|
208
|
+
* @returns {boolean}
|
|
209
|
+
*/
|
|
210
|
+
protected checkPreviousCharacterUsingRange(previousCharacterToCheck?: string, currentRange?: Range): boolean;
|
|
211
|
+
/**
|
|
212
|
+
* Applies regex match on the input text and replaces matched instances.
|
|
213
|
+
* @param {string|null} inputText - The text to apply regex match.
|
|
214
|
+
* @return {string} - The replaced text.
|
|
215
|
+
*/
|
|
216
|
+
protected onRegexMatch(inputText?: string | null): string;
|
|
217
|
+
/**
|
|
218
|
+
* Debounce function.
|
|
219
|
+
* @param {Function} func - The function to debounce.
|
|
220
|
+
* @param {number} wait - The amount of delay before function invocation.
|
|
221
|
+
* @return {Function} - The debounced function.
|
|
222
|
+
*/
|
|
223
|
+
debounce(func: Function, wait: number): (...args: Object[]) => void;
|
|
224
|
+
/**
|
|
225
|
+
* Handles 'keydown' events.
|
|
226
|
+
* @param {KeyboardEvent} event - The keyboard event.
|
|
227
|
+
*/
|
|
228
|
+
onKeyUp(event: KeyboardEvent): void;
|
|
229
|
+
/**
|
|
230
|
+
* Handles 'keydown' events.
|
|
231
|
+
* @param {KeyboardEvent} event - The keyboard event.
|
|
232
|
+
*/
|
|
233
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
234
|
+
/**
|
|
235
|
+
* Adds HTML at the current caret position.
|
|
236
|
+
* @param {string} newHtml - The HTML to insert.
|
|
237
|
+
* @param {Selection} currentCaretPosition - The current caret position.
|
|
238
|
+
* @param {Range} currentRange - The current selection range.
|
|
239
|
+
*/
|
|
240
|
+
protected addAtCaretPosition(newHtml: string, currentCaretPosition: Selection, currentRange: Range): void;
|
|
241
|
+
/**
|
|
242
|
+
* Returns the original unformatted text from the input text.
|
|
243
|
+
* @param {string|null|undefined} inputText - The input text to get original text from.
|
|
244
|
+
* @return {string} - The original text.
|
|
245
|
+
*/
|
|
246
|
+
getOriginalText(inputText: string | null | undefined): string;
|
|
247
|
+
/**
|
|
248
|
+
* To inform formatter to stop keeping a track of characters
|
|
249
|
+
*/
|
|
250
|
+
stopTracking(): void;
|
|
251
|
+
/**
|
|
252
|
+
* To reset the formatter properties
|
|
253
|
+
*/
|
|
254
|
+
reset(): void;
|
|
255
|
+
/**
|
|
256
|
+
* This will be called by composer before sending the message. This can be used to set metadata, tags on message
|
|
257
|
+
* @param {CometChat.BaseMessage} message
|
|
258
|
+
* @return {CometChat.BaseMessage} - message with metadata added
|
|
259
|
+
*/
|
|
260
|
+
formatMessageForSending(message: CometChat.BaseMessage): CometChat.BaseMessage;
|
|
261
|
+
/**
|
|
262
|
+
* Registers event listeners on the given element.
|
|
263
|
+
* @param {Element} span - The HTML element to register event listeners.
|
|
264
|
+
* @param {DOMTokenList} classList - The classList of the element.
|
|
265
|
+
* @return {Element} - The element with event listeners registered.
|
|
266
|
+
*/
|
|
267
|
+
registerEventListeners(span: Element, classList: DOMTokenList): Element;
|
|
268
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CometChatTextFormatter } from "../CometChatTextFormatter";
|
|
2
|
+
/**
|
|
3
|
+
* Class that handles the text formatting for URLs in CometChat.
|
|
4
|
+
* CometChatUrlsFormatter is a child class of CometChatTextFormatter.
|
|
5
|
+
* It extends the functionality of text formatting to specifically handle URLs.
|
|
6
|
+
* It is used in extension decorators like link preview, message translation, and dataSource utils.
|
|
7
|
+
*/
|
|
8
|
+
export declare class CometChatUrlsFormatter extends CometChatTextFormatter {
|
|
9
|
+
constructor(regexPatterns: Array<RegExp>);
|
|
10
|
+
protected onRegexMatch(inputText?: string | null): string;
|
|
11
|
+
registerEventListeners(element: HTMLElement, classList: DOMTokenList): HTMLElement;
|
|
12
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { CometChatTextFormatter } from './CometChatFormatters/CometChatTextFormatter';
|
|
2
|
+
export { CometChatUrlsFormatter } from './CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter';
|
|
3
|
+
export { CometChatMentionsFormatter } from './CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter';
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import CometChatToast from "./components/BaseComponents/CometChatToast/CometChatToast";
|
|
2
|
+
export { CometChatUserMemberWrapper } from "./components/CometChatUserMemberWrapper/CometChatUserMemberWrapper";
|
|
3
|
+
export { CometChatUIKit } from './CometChatUIKit/CometChatUIKit';
|
|
4
|
+
export { UIKitSettingsBuilder, UIKitSettings } from './CometChatUIKit/UIKitSettings';
|
|
5
|
+
export { ChatConfigurator } from './utils/ChatConfigurator';
|
|
6
|
+
export { DataSource } from './utils/DataSource';
|
|
7
|
+
export { DataSourceDecorator } from './utils/DataSourceDecorator';
|
|
8
|
+
export { ExtensionsDataSource } from './components/Extensions/ExtensionsDataSource';
|
|
9
|
+
export { MessagesDataSource } from './utils/MessagesDataSource';
|
|
10
|
+
export { CometChatList } from './components/BaseComponents/CometChatList/CometChatList';
|
|
11
|
+
export { CollaborativeDocumentConfiguration } from './components/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration';
|
|
12
|
+
export { CollaborativeDocumentExtension } from './components/Extensions/CollaborativeDocument/CollaborativeDocumentExtension';
|
|
13
|
+
export { CollaborativeDocumentExtensionDecorator } from './components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator';
|
|
14
|
+
export { CollaborativeWhiteboardConfiguration } from './components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration';
|
|
15
|
+
export { CollaborativeWhiteboardExtension } from './components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension';
|
|
16
|
+
export { CollaborativeWhiteBoardExtensionDecorator } from './components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator';
|
|
17
|
+
export { LinkPreviewExtension } from './components/Extensions/LinkPreview/LinkPreviewExtension';
|
|
18
|
+
export { LinkPreviewExtensionDecorator } from './components/Extensions/LinkPreview/LinkPreviewExtensionDecorator';
|
|
19
|
+
export { MessageTranslationExtension } from './components/Extensions/MessageTranslation/MessageTranslationExtension';
|
|
20
|
+
export { MessageTranslationExtensionDecorator } from './components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator';
|
|
21
|
+
export { PollsConfiguration } from './components/Extensions/Polls/PollsConfiguration';
|
|
22
|
+
export { PollsExtension } from './components/Extensions/Polls/PollsExtension';
|
|
23
|
+
export { PollsExtensionDecorator } from './components/Extensions/Polls/PollsExtensionDecorator';
|
|
24
|
+
export { StickersExtension } from './components/Extensions/Stickers/StickersExtension';
|
|
25
|
+
export { StickersExtensionDecorator } from './components/Extensions/Stickers/StickersExtensionDecorator';
|
|
26
|
+
export { ThumbnailGenerationExtension } from './components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension';
|
|
27
|
+
export { ThumbnailGenerationExtensionDecorator } from './components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator';
|
|
28
|
+
export { CallingExtension } from './components/Calling/CallingExtension';
|
|
29
|
+
export { CallingExtensionDecorator } from './components/Calling/CallingExtensionDecorator';
|
|
30
|
+
export { CometChatIncomingCall } from './components/Calling/CometChatIncomingCall/CometChatIncomingCall';
|
|
31
|
+
export { CometChatOngoingCall } from './components/Calling/CometChatOngoingCall/CometChatOngoingCall';
|
|
32
|
+
export { CometChatOutgoingCall } from './components/Calling/CometChatOutgoingCall/CometChatOutgoingCall';
|
|
33
|
+
export { CometChatCallLogs } from './components/Calling/CometChatCallLogs/CometChatCallLogs';
|
|
34
|
+
export { CometChatConversations } from './components/CometChatConversations/CometChatConversations';
|
|
35
|
+
export { CometChatGroupMembers } from './components/CometChatGroupMembers/CometChatGroupMembers';
|
|
36
|
+
export { CometChatGroups } from './components/CometChatGroups/CometChatGroups';
|
|
37
|
+
export { CometChatMessageBubble } from './components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble';
|
|
38
|
+
export { CometChatMessageComposer } from './components/CometChatMessageComposer/CometChatMessageComposer';
|
|
39
|
+
export { CometChatMessageHeader } from './components/CometChatMessageHeader/CometChatMessageHeader';
|
|
40
|
+
export { CometChatMessageList } from './components/CometChatMessageList/CometChatMessageList';
|
|
41
|
+
export { CometChatUsers } from './components/CometChatUsers/CometChatUsers';
|
|
42
|
+
export { CometChatMessageInformation } from './components/CometChatMessageInformation/CometChatMessageInformation';
|
|
43
|
+
export { AIConversationStarterExtension } from './components/AI/AIConversationStarter/AIConversationStarterExtension';
|
|
44
|
+
export { AIConversationStarterDecorator } from './components/AI/AIConversationStarter/AIConversationStarterDecorator';
|
|
45
|
+
export { AISmartRepliesExtension } from './components/AI/AISmartReplies/AISmartRepliesExtension';
|
|
46
|
+
export { AISmartRepliesDecorator } from './components/AI/AISmartReplies/AISmartRepliesDecorator';
|
|
47
|
+
export { AIConversationSummaryExtension } from './components/AI/AIConversationSummary/AIConversationSummaryExtension';
|
|
48
|
+
export { AIConversationSummaryDecorator } from './components/AI/AIConversationSummary/AIConversationSummaryDecorator';
|
|
49
|
+
export { AIExtensionDataSource } from './components/AI/AIExtensionDataSource';
|
|
50
|
+
export { CometChatUIKitCalls } from './CometChatUIKit/CometChatCalls';
|
|
51
|
+
export { CometChatUIKitConstants } from "./constants/CometChatUIKitConstants";
|
|
52
|
+
export { CometChatUtilityConstants } from "./constants/CometChatUtilityConstants";
|
|
53
|
+
export * from "./resources/CometChatLocalize/cometchat-localize";
|
|
54
|
+
export { CometChatMessageComposerAction } from "./modals/CometChatMessageComposerAction";
|
|
55
|
+
export { CometChatMessageOption } from "./modals/CometChatMessageOption";
|
|
56
|
+
export { CometChatMessageTemplate } from "./modals/CometChatMessageTemplate";
|
|
57
|
+
export { CometChatOption } from "./modals/CometChatOption";
|
|
58
|
+
export { CometChatActions } from "./modals/CometChatActions";
|
|
59
|
+
export { CometChatActionsIcon } from "./modals/CometChatActionsIcon";
|
|
60
|
+
export { CometChatActionsView } from "./modals/CometChatActionsView";
|
|
61
|
+
export * from "./Enums/Enums";
|
|
62
|
+
export * from "./events/CometChatUIEvents";
|
|
63
|
+
export { CometChatCallEvents } from "./events/CometChatCallEvents";
|
|
64
|
+
export { CometChatConversationEvents } from "./events/CometChatConversationEvents";
|
|
65
|
+
export * from "./events/CometChatGroupEvents";
|
|
66
|
+
export * from "./events/CometChatMessageEvents";
|
|
67
|
+
export { CometChatUserEvents } from "./events/CometChatUserEvents";
|
|
68
|
+
export { ChatSdkEventInitializer } from "./utils/ChatSdkEventInitializer";
|
|
69
|
+
export { CometChatActionBubble } from './components/BaseComponents/CometChatActionBubble/CometChatActionBubble';
|
|
70
|
+
export { CometChatActionSheet } from './components/BaseComponents/CometChatActionSheet/CometChatActionSheet';
|
|
71
|
+
export { CometChatAudioBubble } from './components/BaseComponents/CometChatAudioBubble/CometChatAudioBubble';
|
|
72
|
+
export { CometChatAvatar } from './components/BaseComponents/CometChatAvatar/CometChatAvatar';
|
|
73
|
+
export { CometChatButton } from './components/BaseComponents/CometChatButton/CometChatButton';
|
|
74
|
+
export { CometChatCallBubble } from './components/BaseComponents/CometChatCallBubble/CometChatCallBubble';
|
|
75
|
+
export { CometChatChangeScope } from './components/BaseComponents/CometChatChangeScope/CometChatChangeScope';
|
|
76
|
+
export { CometChatCheckbox } from './components/BaseComponents/CometChatCheckbox/CometChatCheckbox';
|
|
77
|
+
export { CometChatConfirmDialog } from './components/BaseComponents/CometChatConfirmDialog/CometChatConfirmDialog';
|
|
78
|
+
export { CometChatContextMenu } from './components/BaseComponents/CometChatContextMenu/CometChatContextMenu';
|
|
79
|
+
export { CometChatVideoBubble } from './components/BaseComponents/CometChatVideoBubble/CometChatVideoBubble';
|
|
80
|
+
export { CometChatToast };
|
|
81
|
+
export { CometChatTextBubble } from './components/BaseComponents/CometChatTextBubble/CometChatTextBubble';
|
|
82
|
+
export { CometChatSearchBar } from './components/BaseComponents/CometChatSearchBar/CometChatSearchBar';
|
|
83
|
+
export { CometChatRadioButton } from './components/BaseComponents/CometChatRadioButton/CometChatRadioButton';
|
|
84
|
+
export { CometChatPopover } from './components/BaseComponents/CometChatPopover/CometChatPopover';
|
|
85
|
+
export { CometChatMediaRecorder } from './components/BaseComponents/CometChatMediaRecorder/CometChatMediaRecorder';
|
|
86
|
+
export { CometChatListItem } from './components/BaseComponents/CometChatListItem/CometChatListItem';
|
|
87
|
+
export { CometChatImageBubble } from './components/BaseComponents/CometChatImageBubble/CometChatImageBubble';
|
|
88
|
+
export { CometChatFullScreenViewer } from './components/BaseComponents/CometChatFullScreenViewer/CometChatFullScreenViewer';
|
|
89
|
+
export { CometChatFileBubble } from './components/BaseComponents/CometChatFileBubble/CometChatFileBubble';
|
|
90
|
+
export { CometChatEmojiKeyboard } from './components/BaseComponents/CometChatEmojiKeyboard/CometChatEmojiKeyboard';
|
|
91
|
+
export { CometChatEditPreview } from './components/BaseComponents/CometChatEditPreview/CometChatEditPreview';
|
|
92
|
+
export { CometChatDropDown } from './components/BaseComponents/CometChatDropDown/CometChatDropDown';
|
|
93
|
+
export { CometChatDocumentBubble } from './components/BaseComponents/CometChatDocumentBubble/CometChatDocumentBubble';
|
|
94
|
+
export { CometChatDate } from './components/BaseComponents/CometChatDate/CometChatDate';
|
|
95
|
+
export { CometChatDeleteBubble } from './components/BaseComponents/CometChatDeleteBubble/CometChatDeleteBubble';
|
|
96
|
+
export { CallingDetailsUtils } from './utils/CallingDetailsUtils';
|
|
97
|
+
export { ConversationUtils } from './utils/ConversationUtils';
|
|
98
|
+
export { GroupMemberUtils } from './utils/GroupMemberUtils';
|
|
99
|
+
export { MessageReceiptUtils } from './utils/MessageReceiptUtils';
|
|
100
|
+
export { MessageUtils } from './utils/MessageUtils';
|
|
101
|
+
export * from './utils/util';
|
|
102
|
+
export * from './utils/Storage';
|
|
103
|
+
export { CometChatThreadedMessagePreview } from './components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview';
|
|
104
|
+
export * from "./components/Calling/Utils/utils";
|
|
105
|
+
export { CometChatUIKitLoginListener } from './CometChatUIKit/CometChatUIKitLoginListener';
|
|
106
|
+
export { CometChatUIKitUtility } from './CometChatUIKit/CometChatUIKitUtility';
|
|
107
|
+
export * from './CometChatCustomHooks';
|
|
108
|
+
export * from './formatters/index';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CometChatActions is a pre-defined structure for creating actions
|
|
3
|
+
* that the user can perform on a message, with properties to customize
|
|
4
|
+
* the appearance and behavior of the action.
|
|
5
|
+
* It is used in CometChatActionsIcon and CometChatActionsView components.
|
|
6
|
+
*/
|
|
7
|
+
export declare class CometChatActions {
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier for the message action.
|
|
10
|
+
* @type {string}
|
|
11
|
+
*/
|
|
12
|
+
id: string;
|
|
13
|
+
/**
|
|
14
|
+
* Heading text for the message action.
|
|
15
|
+
* @type {string}
|
|
16
|
+
*/
|
|
17
|
+
title: string;
|
|
18
|
+
/**
|
|
19
|
+
* Asset URL for the icon to symbolize a message action.
|
|
20
|
+
* @type {string | undefined}
|
|
21
|
+
*/
|
|
22
|
+
iconURL?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Creates an instance of CometChatActions.
|
|
25
|
+
*
|
|
26
|
+
* @param {Object} options - Options to initialize the action.
|
|
27
|
+
* @param {string} options.id - Unique identifier for the message action.
|
|
28
|
+
* @param {string} options.title - Heading text for the message action.
|
|
29
|
+
* @param {string} [options.iconURL] - Asset URL for the icon to symbolize a message action.
|
|
30
|
+
*/
|
|
31
|
+
constructor(options: {
|
|
32
|
+
id: string;
|
|
33
|
+
title: string;
|
|
34
|
+
iconURL?: string;
|
|
35
|
+
});
|
|
36
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { CometChatActions } from "./CometChatActions";
|
|
2
|
+
/**
|
|
3
|
+
* CometChatActionsIcon is a pre-defined structure for creating actions
|
|
4
|
+
* that the user can perform on a message with an icon representation.
|
|
5
|
+
* It is used in CometChatContextMenu, CometChatMessageBubble, CometChatMessageList components.
|
|
6
|
+
*/
|
|
7
|
+
export declare class CometChatActionsIcon extends CometChatActions {
|
|
8
|
+
/**
|
|
9
|
+
* Function invoked when the user clicks on the message action.
|
|
10
|
+
* @type {(id: number) => void}
|
|
11
|
+
*/
|
|
12
|
+
onClick: (id: number) => void;
|
|
13
|
+
/**
|
|
14
|
+
* Creates an instance of CometChatActionsIcon.
|
|
15
|
+
*/
|
|
16
|
+
constructor(options: {
|
|
17
|
+
/**
|
|
18
|
+
* Unique identifier for the message action.
|
|
19
|
+
* @type {string}
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
/**
|
|
23
|
+
* Heading text for the message action.
|
|
24
|
+
* @type {string}
|
|
25
|
+
*/
|
|
26
|
+
title: string;
|
|
27
|
+
/**
|
|
28
|
+
* Asset URL for the icon to symbolize a message action.
|
|
29
|
+
* @type {string}
|
|
30
|
+
*/
|
|
31
|
+
iconURL: string;
|
|
32
|
+
/**
|
|
33
|
+
* Function invoked when the user clicks on the message action. This function should handle the action related to the provided message id.
|
|
34
|
+
* @type {(id: number) => void}
|
|
35
|
+
*/
|
|
36
|
+
onClick: (id: number) => void;
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CometChatActions } from "./CometChatActions";
|
|
3
|
+
/**
|
|
4
|
+
* CometChatActionsView is a pre-defined structure for creating actions
|
|
5
|
+
* that the user can perform on a message with a customized UI view representation.
|
|
6
|
+
* It is used in AI module, CometChatMessageBubble, CometChatMessageComposer, CometChatMessageList components.
|
|
7
|
+
*/
|
|
8
|
+
export declare class CometChatActionsView extends CometChatActions {
|
|
9
|
+
/**
|
|
10
|
+
* User-defined component to customize the action view for each option in the template.
|
|
11
|
+
* @type {callbacks: any) => Element | JSX.Element | undefined}
|
|
12
|
+
*/
|
|
13
|
+
customView?: (callbacks: any) => Element | JSX.Element;
|
|
14
|
+
/**
|
|
15
|
+
* Creates an instance of CometChatActionsView.
|
|
16
|
+
*/
|
|
17
|
+
constructor(options: {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the message action.
|
|
20
|
+
* @type {string}
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* Heading text for the message action.
|
|
25
|
+
* @type {string}
|
|
26
|
+
*/
|
|
27
|
+
title: string;
|
|
28
|
+
/**
|
|
29
|
+
* Asset URL for the icon to symbolize a message action. This is optional and can be omitted.
|
|
30
|
+
* @type {string}
|
|
31
|
+
*/
|
|
32
|
+
iconURL?: string;
|
|
33
|
+
/**
|
|
34
|
+
* User-defined component to customize the action view. This is optional and can be omitted.
|
|
35
|
+
* @type {Element | JSX.Element}
|
|
36
|
+
*/
|
|
37
|
+
customView?: (callbacks: any) => Element | JSX.Element;
|
|
38
|
+
});
|
|
39
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CometChatMessageComposerAction is a pre-defined structure for creating an attachment option
|
|
3
|
+
* in the CometChatMessageComposer component that the user can perform in addition to composing a message.
|
|
4
|
+
* It is used in AI module, CometChatMessageComposer component and Poll extension.
|
|
5
|
+
*/
|
|
6
|
+
export declare class CometChatMessageComposerAction {
|
|
7
|
+
/**
|
|
8
|
+
* Unique identifier for the attachment option.
|
|
9
|
+
* @type {string}
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* Asset URL for the icon to symbolize an attachment option.
|
|
14
|
+
* @type {string}
|
|
15
|
+
*/
|
|
16
|
+
iconURL: string;
|
|
17
|
+
/**
|
|
18
|
+
* Function invoked when the user clicks on the attachment option.
|
|
19
|
+
* @type {(() => void) | null}
|
|
20
|
+
*/
|
|
21
|
+
onClick: (() => void) | null;
|
|
22
|
+
/**
|
|
23
|
+
* Heading text for the attachment option.
|
|
24
|
+
* @type {string}
|
|
25
|
+
*/
|
|
26
|
+
title?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Creates an instance of CometChatMessageComposerAction.
|
|
29
|
+
*
|
|
30
|
+
* @param {Partial<CometChatMessageComposerAction>} props - Partial properties to initialize the action item.
|
|
31
|
+
*/
|
|
32
|
+
constructor(props: Partial<CometChatMessageComposerAction>);
|
|
33
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { CometChatOption } from './CometChatOption';
|
|
2
|
+
/**
|
|
3
|
+
* CometChatMessageOption is a pre-defined structure for creating an option
|
|
4
|
+
* that can be used to perform an action on a message, such as edit, delete, etc.
|
|
5
|
+
* It is used in CometChatMessageTemplate of modal.
|
|
6
|
+
*/
|
|
7
|
+
export declare class CometChatMessageOption extends CometChatOption {
|
|
8
|
+
/**
|
|
9
|
+
* Creates an instance of CometChatMessageOption.
|
|
10
|
+
*/
|
|
11
|
+
constructor({
|
|
12
|
+
/**
|
|
13
|
+
* Unique identifier for each option.
|
|
14
|
+
* @type {string}
|
|
15
|
+
*/
|
|
16
|
+
id,
|
|
17
|
+
/**
|
|
18
|
+
* Heading text for each option.
|
|
19
|
+
* @type {string}
|
|
20
|
+
*/
|
|
21
|
+
title,
|
|
22
|
+
/**
|
|
23
|
+
* Sets the asset URL of the icon for each option.
|
|
24
|
+
* @type {string}
|
|
25
|
+
*/
|
|
26
|
+
iconURL,
|
|
27
|
+
/**
|
|
28
|
+
* Method to be invoked when user clicks on each option.
|
|
29
|
+
* @type {(any) => void}
|
|
30
|
+
*/
|
|
31
|
+
onClick, }: {
|
|
32
|
+
id?: string | undefined;
|
|
33
|
+
title?: string | undefined;
|
|
34
|
+
iconURL?: string | undefined;
|
|
35
|
+
onClick?: null | undefined;
|
|
36
|
+
});
|
|
37
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CometChatMessageOption } from "./CometChatMessageOption";
|
|
3
|
+
import { DatePatterns, MessageBubbleAlignment } from "../Enums/Enums";
|
|
4
|
+
/**
|
|
5
|
+
* CometChatMessageTemplate is a pre-defined structure for creating message views
|
|
6
|
+
* that can be used as a starting point or blueprint for creating message views,
|
|
7
|
+
* often known as message bubbles.
|
|
8
|
+
* It is used in CometChatMessageInformation, CometChatMessageList components and extensions like Polls, Stickers.
|
|
9
|
+
*/
|
|
10
|
+
declare class CometChatMessageTemplate {
|
|
11
|
+
/**
|
|
12
|
+
* Type of the CometChat message.
|
|
13
|
+
* @type {string}
|
|
14
|
+
*/
|
|
15
|
+
type: string;
|
|
16
|
+
/**
|
|
17
|
+
* Custom component to customize the content section for each message bubble.
|
|
18
|
+
* By default, it displays the Text bubble, Image bubble, File bubble, Audio bubble,
|
|
19
|
+
* and Video bubble based on the type of the message.
|
|
20
|
+
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
21
|
+
*/
|
|
22
|
+
contentView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX.Element | null) | null;
|
|
23
|
+
/**
|
|
24
|
+
* Custom component to customize the complete message bubble.
|
|
25
|
+
* By default, headerView, contentView and footerView collectively form a message bubble.
|
|
26
|
+
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
27
|
+
*/
|
|
28
|
+
bubbleView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX.Element | null) | null;
|
|
29
|
+
/**
|
|
30
|
+
* Custom component to customize the header section for each message bubble.
|
|
31
|
+
* By default, it displays the message sender's name.
|
|
32
|
+
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
33
|
+
*/
|
|
34
|
+
headerView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX.Element | null) | null;
|
|
35
|
+
/**
|
|
36
|
+
* Custom component to customize the footer section for each message bubble.
|
|
37
|
+
* By default, it displays the reactions.
|
|
38
|
+
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
39
|
+
*/
|
|
40
|
+
footerView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX.Element | null) | null;
|
|
41
|
+
/**
|
|
42
|
+
* Custom component to customize the bottom view section for each message bubble.
|
|
43
|
+
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
44
|
+
*/
|
|
45
|
+
bottomView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX.Element | null) | null;
|
|
46
|
+
/**
|
|
47
|
+
* Custom component to customize the status info section for each message bubble.
|
|
48
|
+
* By default, it displays the receipt and the timestamp.
|
|
49
|
+
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
50
|
+
*/
|
|
51
|
+
statusInfoView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipt?: boolean, datePattern?: DatePatterns) => Element | JSX.Element | null) | null;
|
|
52
|
+
/**
|
|
53
|
+
* List of available actions that any user can perform on a message, like reacting,
|
|
54
|
+
* editing or deleting a message.
|
|
55
|
+
* @type {(loggedInUser: CometChat.User, message: CometChat.BaseMessage) => CometChatMessageOption[]}
|
|
56
|
+
*/
|
|
57
|
+
options: (loggedInUser: CometChat.User, message: CometChat.BaseMessage, group?: CometChat.Group) => CometChatMessageOption[];
|
|
58
|
+
/**
|
|
59
|
+
* Category of the CometChat message.
|
|
60
|
+
* @type {string}
|
|
61
|
+
*/
|
|
62
|
+
category: string;
|
|
63
|
+
/**
|
|
64
|
+
* Creates an instance of CometChatMessageTemplate.
|
|
65
|
+
*
|
|
66
|
+
* @param {Partial<CometChatMessageTemplate>} props - Properties to initialize the message template.
|
|
67
|
+
*/
|
|
68
|
+
constructor(props: Partial<CometChatMessageTemplate>);
|
|
69
|
+
}
|
|
70
|
+
export { CometChatMessageTemplate };
|