@cometchat/chat-uikit-react 4.3.22 → 5.0.0-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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,24 @@
|
|
|
1
|
+
import { ExtensionsDataSource } from "../ExtensionsDataSource";
|
|
2
|
+
/**
|
|
3
|
+
* The `LinkPreviewExtension` class is responsible for enabling the link preview feature within the chat application.
|
|
4
|
+
* It extends the `ExtensionsDataSource` class and utilizes a configuration object to customize the behavior of the link preview extension.
|
|
5
|
+
*/
|
|
6
|
+
export declare class LinkPreviewExtension extends ExtensionsDataSource {
|
|
7
|
+
/**
|
|
8
|
+
* Creates an instance of the `LinkPreviewExtension` class.
|
|
9
|
+
*
|
|
10
|
+
* @param {LinkPreviewConfiguration} [configuration] - Optional configuration settings for the link preview extension.
|
|
11
|
+
*/
|
|
12
|
+
constructor();
|
|
13
|
+
/**
|
|
14
|
+
* Adds the link preview extension to the chat application by enabling it within the `ChatConfigurator`.
|
|
15
|
+
* This method overrides the base class method to provide specific implementation for the link preview extension.
|
|
16
|
+
*/
|
|
17
|
+
addExtension(): void;
|
|
18
|
+
/**
|
|
19
|
+
* Retrieves the unique identifier for the link preview extension.
|
|
20
|
+
*
|
|
21
|
+
* @returns {string} The unique identifier for the link preview extension.
|
|
22
|
+
*/
|
|
23
|
+
getExtensionId(): string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { DataSource } from "../../../utils/DataSource";
|
|
2
|
+
import { DataSourceDecorator } from "../../../utils/DataSourceDecorator";
|
|
3
|
+
import { MessageBubbleAlignment } from "../../../Enums/Enums";
|
|
4
|
+
/**
|
|
5
|
+
* The `LinkPreviewExtensionDecorator` class is responsible for adding link preview functionality
|
|
6
|
+
* to text messages within the chat. It decorates the data source with the ability to handle link previews.
|
|
7
|
+
*/
|
|
8
|
+
export declare class LinkPreviewExtensionDecorator extends DataSourceDecorator {
|
|
9
|
+
/**
|
|
10
|
+
* The data source that the decorator wraps, adding link preview capabilities.
|
|
11
|
+
* @type {DataSource}
|
|
12
|
+
*/
|
|
13
|
+
newDataSource: DataSource;
|
|
14
|
+
/**
|
|
15
|
+
* Creates an instance of the `LinkPreviewExtensionDecorator` class.
|
|
16
|
+
*
|
|
17
|
+
* @param {DataSource} dataSource - The data source that the decorator will wrap.
|
|
18
|
+
* @param {LinkPreviewConfiguration} [configuration] - Optional configuration settings for the link preview extension.
|
|
19
|
+
*/
|
|
20
|
+
constructor(dataSource: DataSource);
|
|
21
|
+
/**
|
|
22
|
+
* Returns the unique identifier for this decorator.
|
|
23
|
+
* @returns {string} The ID of the decorator.
|
|
24
|
+
*/
|
|
25
|
+
getId(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the content view for a text message with potential link preview enhancements.
|
|
28
|
+
* @param {CometChat.TextMessage} message - The text message to be displayed.
|
|
29
|
+
* @param {MessageBubbleAlignment} alignment - The alignment of the message bubble.
|
|
30
|
+
* @param {any} [additionalConfigurations] - Additional configurations for formatting.
|
|
31
|
+
* @returns {JSX.Element} The JSX element representing the message content view.
|
|
32
|
+
*/
|
|
33
|
+
getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: any): import("react/jsx-runtime").JSX.Element | Element;
|
|
34
|
+
/**
|
|
35
|
+
* Retrieves the style for the link preview wrapper.
|
|
36
|
+
* @returns {object} The style object for the link preview wrapper.
|
|
37
|
+
*/
|
|
38
|
+
getLinkPreviewWrapperStyle(): {
|
|
39
|
+
height: string;
|
|
40
|
+
width: string;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Opens the provided URL in a new browser tab.
|
|
44
|
+
* @param {string} url - The URL to open.
|
|
45
|
+
*/
|
|
46
|
+
openLink(url: string): void;
|
|
47
|
+
/**
|
|
48
|
+
* Extracts the link preview object from the message metadata, if available.
|
|
49
|
+
* @param {CometChat.TextMessage} message - The message object containing metadata.
|
|
50
|
+
* @returns {object|null} The link preview object if available, otherwise null.
|
|
51
|
+
*/
|
|
52
|
+
getLinkPreview(message: CometChat.TextMessage): any;
|
|
53
|
+
/**
|
|
54
|
+
* Retrieves a specific detail from the link preview object.
|
|
55
|
+
* @param {object} linkPreviewObject - The link preview object containing various details.
|
|
56
|
+
* @param {string} key - The key corresponding to the detail to retrieve.
|
|
57
|
+
* @returns {string} The detail value corresponding to the provided key.
|
|
58
|
+
*/
|
|
59
|
+
getLinkPreviewDetails(linkPreviewObject: any, key: string): string;
|
|
60
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { MessageBubbleAlignment } from '../../../Enums/Enums';
|
|
3
|
+
import { CometChatTextFormatter } from '../../../formatters/CometChatFormatters/CometChatTextFormatter';
|
|
4
|
+
interface IMessageTranslationBubbleProps {
|
|
5
|
+
/**
|
|
6
|
+
* The text that has been translated.
|
|
7
|
+
*/
|
|
8
|
+
translatedText: string;
|
|
9
|
+
/**
|
|
10
|
+
* The alignment of the message bubble (left or right).
|
|
11
|
+
*/
|
|
12
|
+
alignment: MessageBubbleAlignment;
|
|
13
|
+
/**
|
|
14
|
+
* Optional help text to display below the translated text.
|
|
15
|
+
* Defaults to a localized message.
|
|
16
|
+
*/
|
|
17
|
+
helpText?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Optional array of text formatters to apply to the translated text.
|
|
20
|
+
*/
|
|
21
|
+
textFormatters?: Array<CometChatTextFormatter>;
|
|
22
|
+
/**
|
|
23
|
+
* Optional React children to render inside the bubble.
|
|
24
|
+
*/
|
|
25
|
+
children?: ReactNode;
|
|
26
|
+
isSentByMe?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Renders a message translation bubble that displays translated text with optional formatting and help text.
|
|
30
|
+
*
|
|
31
|
+
* @param {IMessageTranslationBubbleProps} props - The props for the component.
|
|
32
|
+
* @returns {JSX.Element | null} The rendered component or null if no translated text is provided.
|
|
33
|
+
*/
|
|
34
|
+
declare const MessageTranslationBubble: (props: IMessageTranslationBubbleProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
35
|
+
export { MessageTranslationBubble };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains constants used for message translation operations.
|
|
3
|
+
*/
|
|
4
|
+
export declare const MessageTranslationConstants: Readonly<{
|
|
5
|
+
message_translation: "message-translation";
|
|
6
|
+
v2_translate: "v2/translate";
|
|
7
|
+
translated_message: "translated_message";
|
|
8
|
+
extensions: "extensions";
|
|
9
|
+
metadata: "metadata";
|
|
10
|
+
injected: "@injected";
|
|
11
|
+
post: "POST";
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ExtensionsDataSource } from "../ExtensionsDataSource";
|
|
2
|
+
/**
|
|
3
|
+
* Class for handling message translation extensions.
|
|
4
|
+
*
|
|
5
|
+
* @class MessageTranslationExtension
|
|
6
|
+
* @extends {ExtensionsDataSource}
|
|
7
|
+
*/
|
|
8
|
+
export declare class MessageTranslationExtension extends ExtensionsDataSource {
|
|
9
|
+
/**
|
|
10
|
+
* Creates an instance of MessageTranslationExtension.
|
|
11
|
+
*
|
|
12
|
+
* @param {MessageTranslationConfiguration} [configuration] - Optional configuration for message translation.
|
|
13
|
+
*/
|
|
14
|
+
constructor();
|
|
15
|
+
/**
|
|
16
|
+
* Adds the message translation extension by enabling the ChatConfigurator with
|
|
17
|
+
* a new MessageTranslationExtensionDecorator instance.
|
|
18
|
+
*
|
|
19
|
+
* @override
|
|
20
|
+
* @returns {void}
|
|
21
|
+
*/
|
|
22
|
+
addExtension(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Retrieves the unique identifier for the message translation extension.
|
|
25
|
+
*
|
|
26
|
+
* @override
|
|
27
|
+
* @returns {string} The unique identifier for the message translation extension.
|
|
28
|
+
*/
|
|
29
|
+
getExtensionId(): string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { DataSource } from "../../../utils/DataSource";
|
|
2
|
+
import { DataSourceDecorator } from "../../../utils/DataSourceDecorator";
|
|
3
|
+
import { CometChatActionsIcon, CometChatActionsView } from "../../../modals";
|
|
4
|
+
import { MessageBubbleAlignment } from "../../../Enums/Enums";
|
|
5
|
+
/**
|
|
6
|
+
* Decorator class for extending the functionality of message translation in a chat application.
|
|
7
|
+
*
|
|
8
|
+
* @extends {DataSourceDecorator}
|
|
9
|
+
*/
|
|
10
|
+
export declare class MessageTranslationExtensionDecorator extends DataSourceDecorator {
|
|
11
|
+
newDataSource: DataSource;
|
|
12
|
+
/**
|
|
13
|
+
* Creates an instance of MessageTranslationExtensionDecorator.
|
|
14
|
+
*
|
|
15
|
+
* @param {DataSource} dataSource - The data source to decorate.
|
|
16
|
+
* @param {MessageTranslationConfiguration} [configuration] - Optional configuration for message translation.
|
|
17
|
+
*/
|
|
18
|
+
constructor(dataSource: DataSource);
|
|
19
|
+
/**
|
|
20
|
+
* Retrieves options for text message actions, including a translation option if not already present.
|
|
21
|
+
*
|
|
22
|
+
* @override
|
|
23
|
+
* @param {CometChat.User} loggedInUser - The currently logged-in user.
|
|
24
|
+
* @param {CometChat.BaseMessage} messageObject - The message object for which options are retrieved.
|
|
25
|
+
* @param {CometChat.Group} [group] - Optional group associated with the message.
|
|
26
|
+
* @returns {(CometChatActionsIcon | CometChatActionsView)[]} The array of action options for the message.
|
|
27
|
+
*/
|
|
28
|
+
getTextMessageOptions(loggedInUser: CometChat.User, messageObject: CometChat.BaseMessage, group?: CometChat.Group): (CometChatActionsIcon | CometChatActionsView)[];
|
|
29
|
+
/**
|
|
30
|
+
* Retrieves the content view for a text message, including translated content if available.
|
|
31
|
+
*
|
|
32
|
+
* @override
|
|
33
|
+
* @param {CometChat.TextMessage} message - The text message for which content view is retrieved.
|
|
34
|
+
* @param {MessageBubbleAlignment} alignment - The alignment of the message bubble.
|
|
35
|
+
* @param {any} [additionalConfigurations] - Optional additional configurations for the content view.
|
|
36
|
+
* @returns {JSX.Element} The content view for the text message.
|
|
37
|
+
*/
|
|
38
|
+
getTextMessageContentView(message: CometChat.TextMessage, alignment: MessageBubbleAlignment, additionalConfigurations?: any): import("react/jsx-runtime").JSX.Element | Element;
|
|
39
|
+
/**
|
|
40
|
+
* Checks if an option with the specified ID already exists in the options list.
|
|
41
|
+
*
|
|
42
|
+
* @param {(CometChatActionsIcon | CometChatActionsView)[]} template - The list of options to check.
|
|
43
|
+
* @param {string} id - The ID of the option to check for.
|
|
44
|
+
* @returns {boolean} `true` if the option exists, otherwise `false`.
|
|
45
|
+
*/
|
|
46
|
+
checkIfOptionExist(template: (CometChatActionsIcon | CometChatActionsView)[], id: string): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Retrieves the unique ID for this decorator.
|
|
49
|
+
*
|
|
50
|
+
* @returns {string} The ID of this decorator.
|
|
51
|
+
*/
|
|
52
|
+
getId(): string;
|
|
53
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CreatePollProps {
|
|
3
|
+
/**
|
|
4
|
+
* Title for the poll creation form.
|
|
5
|
+
* Optional, defaults to localized "CREATE_POLL".
|
|
6
|
+
*/
|
|
7
|
+
title?: string;
|
|
8
|
+
/**
|
|
9
|
+
* User object if the poll is directed to a specific user.
|
|
10
|
+
* Optional.
|
|
11
|
+
*/
|
|
12
|
+
user?: CometChat.User;
|
|
13
|
+
/**
|
|
14
|
+
* Group object if the poll is directed to a specific group.
|
|
15
|
+
* Optional.
|
|
16
|
+
*/
|
|
17
|
+
group?: CometChat.Group;
|
|
18
|
+
/**
|
|
19
|
+
* Callback function to be called when the close button is clicked.
|
|
20
|
+
* Optional.
|
|
21
|
+
*/
|
|
22
|
+
ccCloseClicked?: () => void;
|
|
23
|
+
/**
|
|
24
|
+
* Default number of answer options to display initially.
|
|
25
|
+
* Optional, defaults to 3.
|
|
26
|
+
*/
|
|
27
|
+
defaultAnswers?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Placeholder text for the poll question input field.
|
|
30
|
+
* Optional, defaults to localized "QUESTION".
|
|
31
|
+
*/
|
|
32
|
+
questionPlaceholderText?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Placeholder text for the answer input fields.
|
|
35
|
+
* Optional, defaults to localized "ANSWER".
|
|
36
|
+
*/
|
|
37
|
+
answerPlaceholderText?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Help text for the answer input fields.
|
|
40
|
+
* Optional, defaults to localized "SET_THE_ANSWERS".
|
|
41
|
+
*/
|
|
42
|
+
answerHelpText?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Text to display for adding additional answer options.
|
|
45
|
+
* Optional, defaults to localized "ADD_ANOTHER_ANSWER".
|
|
46
|
+
*/
|
|
47
|
+
addAnswerText?: string;
|
|
48
|
+
/**
|
|
49
|
+
* URL of the add answer icon image.
|
|
50
|
+
* Optional, defaults to a predefined plus icon.
|
|
51
|
+
*/
|
|
52
|
+
addAnswerIconURL?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Text to display on the create poll button.
|
|
55
|
+
* Optional, defaults to localized "CREATE".
|
|
56
|
+
*/
|
|
57
|
+
createPollButtonText?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* CreatePoll component that provides a form to create a new poll.
|
|
61
|
+
*
|
|
62
|
+
* @param {CreatePollProps} props - The props for the component.
|
|
63
|
+
* @returns {JSX.Element} The rendered CreatePoll component.
|
|
64
|
+
*/
|
|
65
|
+
declare const CreatePoll: React.FC<CreatePollProps>;
|
|
66
|
+
export { CreatePoll };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
interface PollsBubbleProps {
|
|
2
|
+
/**
|
|
3
|
+
* Array of options for the poll.
|
|
4
|
+
*/
|
|
5
|
+
options?: any[];
|
|
6
|
+
/**
|
|
7
|
+
* The question being asked in the poll.
|
|
8
|
+
*/
|
|
9
|
+
pollQuestion: string;
|
|
10
|
+
/**
|
|
11
|
+
* The unique identifier for the poll.
|
|
12
|
+
*/
|
|
13
|
+
pollId: string | number;
|
|
14
|
+
/**
|
|
15
|
+
* The currently logged-in user.
|
|
16
|
+
* Optional.
|
|
17
|
+
*/
|
|
18
|
+
loggedInUser: CometChat.User | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* The unique identifier of the sender of the poll.
|
|
21
|
+
*/
|
|
22
|
+
senderUid: string;
|
|
23
|
+
/**
|
|
24
|
+
* Optional metadata associated with the poll.
|
|
25
|
+
*/
|
|
26
|
+
metadata?: any;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* PollsBubble component that displays a poll question and options.
|
|
30
|
+
*
|
|
31
|
+
* @param {PollsBubbleProps} props - The props for the component.
|
|
32
|
+
* @returns {JSX.Element} The rendered PollsBubble component.
|
|
33
|
+
*/
|
|
34
|
+
declare const PollsBubble: (props: PollsBubbleProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
|
+
export { PollsBubble };
|
|
@@ -1,29 +1,19 @@
|
|
|
1
|
-
import { CreatePollStyle, OptionsStyle, PollsBubbleStyle } from "@cometchat/uikit-shared";
|
|
2
1
|
export declare class PollsConfiguration {
|
|
3
|
-
private style;
|
|
4
|
-
private createPollStyle;
|
|
5
2
|
private createPollIconURL;
|
|
6
3
|
private deleteIconURL;
|
|
7
4
|
private closeIconURL;
|
|
8
5
|
private optionIconURL;
|
|
9
6
|
private addAnswerIconURL;
|
|
10
|
-
private optionStyle;
|
|
11
7
|
constructor(configuration: {
|
|
12
|
-
style?: PollsBubbleStyle;
|
|
13
|
-
createPollStyle?: CreatePollStyle;
|
|
14
8
|
createPollIconURL?: string;
|
|
15
9
|
deleteIconURL?: string;
|
|
16
10
|
closeIconURL?: string;
|
|
17
11
|
optionIconURL?: string;
|
|
18
12
|
addAnswerIconURL?: string;
|
|
19
|
-
optionStyle?: OptionsStyle;
|
|
20
13
|
});
|
|
21
|
-
getPollsBubbleStyle(): PollsBubbleStyle;
|
|
22
|
-
getCreatePollStyle(): CreatePollStyle;
|
|
23
14
|
getCreatePollIconURL(): string;
|
|
24
15
|
getDeleteIconURL(): string;
|
|
25
16
|
getCloseIconURL(): string;
|
|
26
17
|
getOptionIconURL(): string;
|
|
27
18
|
getAddAnswerIconURL(): string;
|
|
28
|
-
getOptionStyle(): OptionsStyle;
|
|
29
19
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtensionsDataSource } from "
|
|
1
|
+
import { ExtensionsDataSource } from "../ExtensionsDataSource";
|
|
2
2
|
import { PollsConfiguration } from "./PollsConfiguration";
|
|
3
3
|
export declare class PollsExtension extends ExtensionsDataSource {
|
|
4
4
|
private configuration?;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { DataSourceDecorator } from "../../../utils/DataSourceDecorator";
|
|
2
|
+
import { DataSource } from "../../../utils/DataSource";
|
|
3
|
+
import { PollsConfiguration } from "./PollsConfiguration";
|
|
4
|
+
import { CometChatMessageComposerAction, CometChatMessageTemplate } from "../../../modals";
|
|
5
|
+
/**
|
|
6
|
+
* The PollsExtensionDecorator class extends the DataSourceDecorator to
|
|
7
|
+
* handle custom poll messages in the CometChat UI.
|
|
8
|
+
*/
|
|
9
|
+
export declare class PollsExtensionDecorator extends DataSourceDecorator {
|
|
10
|
+
/** The currently logged-in user. */
|
|
11
|
+
private loggedInUser;
|
|
12
|
+
/** Configuration for the polls extension. */
|
|
13
|
+
configuration?: PollsConfiguration;
|
|
14
|
+
/** The data source used by this decorator. */
|
|
15
|
+
newDataSource: DataSource;
|
|
16
|
+
/**
|
|
17
|
+
* Constructs a PollsExtensionDecorator instance.
|
|
18
|
+
* @param dataSource - The data source to decorate.
|
|
19
|
+
* @param configuration - Optional configuration for the polls extension.
|
|
20
|
+
*/
|
|
21
|
+
constructor(dataSource: DataSource, configuration?: PollsConfiguration);
|
|
22
|
+
/**
|
|
23
|
+
* Fetches the currently logged-in user.
|
|
24
|
+
*/
|
|
25
|
+
getLoggedInUser(): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Gets the unique ID of this decorator.
|
|
28
|
+
* @returns The ID of the decorator.
|
|
29
|
+
*/
|
|
30
|
+
getId(): string;
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves all message types, including the poll message type if not already present.
|
|
33
|
+
* @returns An array of message types.
|
|
34
|
+
*/
|
|
35
|
+
getAllMessageTypes(): string[];
|
|
36
|
+
/**
|
|
37
|
+
* Retrieves all message categories, including the custom message category if not already present.
|
|
38
|
+
* @returns An array of message categories.
|
|
39
|
+
*/
|
|
40
|
+
getAllMessageCategories(): string[];
|
|
41
|
+
/**
|
|
42
|
+
* Checks if a template of a specific type exists.
|
|
43
|
+
* @param template - The array of message templates.
|
|
44
|
+
* @param type - The type of the template to check.
|
|
45
|
+
* @returns True if the template exists, false otherwise.
|
|
46
|
+
*/
|
|
47
|
+
checkIfTemplateExist(template: CometChatMessageTemplate[], type: string): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Retrieves all message templates, including the polls template if not already present.
|
|
50
|
+
* @param _theme - Optional theme to apply.
|
|
51
|
+
* @param additionalConfigurations - Optional additional configurations.
|
|
52
|
+
* @returns An array of message templates.
|
|
53
|
+
*/
|
|
54
|
+
getAllMessageTemplates(additionalConfigurations?: any): CometChatMessageTemplate[];
|
|
55
|
+
/**
|
|
56
|
+
* Creates a template for poll messages.
|
|
57
|
+
* @param _theme - The theme to apply to the template.
|
|
58
|
+
* @returns A CometChatMessageTemplate for polls.
|
|
59
|
+
*/
|
|
60
|
+
getPollsTemplate(): CometChatMessageTemplate;
|
|
61
|
+
/**
|
|
62
|
+
* Generates the content view for a poll message.
|
|
63
|
+
* @param message - The poll message.
|
|
64
|
+
* @param _theme - The theme to apply.
|
|
65
|
+
* @returns The content view for the poll message.
|
|
66
|
+
*/
|
|
67
|
+
getPollsContentView(message: CometChat.CustomMessage): import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
/**
|
|
69
|
+
* Retrieves specific data from a poll message.
|
|
70
|
+
* @param message - The poll message.
|
|
71
|
+
* @param key - The key to retrieve data for.
|
|
72
|
+
* @returns The requested data or the sender's UID if no key is specified.
|
|
73
|
+
*/
|
|
74
|
+
getPollBubbleData(message: CometChat.CustomMessage, key?: string): any;
|
|
75
|
+
/**
|
|
76
|
+
* Retrieves the attachment options for the poll extension.
|
|
77
|
+
* @param theme - The theme to apply.
|
|
78
|
+
* @param id - The ID for the attachment options.
|
|
79
|
+
* @returns An array of message composer actions.
|
|
80
|
+
*/
|
|
81
|
+
getAttachmentOptions(id: any): CometChatMessageComposerAction[];
|
|
82
|
+
/**
|
|
83
|
+
* Handles the click event for the polls button in the message composer.
|
|
84
|
+
* Opens the poll creation modal with pre-defined styles.
|
|
85
|
+
*
|
|
86
|
+
* @param theme - The current theme settings for the application.
|
|
87
|
+
* @param args - Additional arguments passed during the button click.
|
|
88
|
+
*/
|
|
89
|
+
onPollsButtonClicked(...args: any[]): void;
|
|
90
|
+
/**
|
|
91
|
+
* Constructs the poll creation view with the given user and group details.
|
|
92
|
+
*
|
|
93
|
+
* @param user - The user who is creating the poll.
|
|
94
|
+
* @param group - The group in which the poll is being created.
|
|
95
|
+
* @param createPollStyle - Style configurations for the poll creation modal.
|
|
96
|
+
* @returns JSX element representing the poll creation modal.
|
|
97
|
+
*/
|
|
98
|
+
getPollView(user: CometChat.User, group: CometChat.Group): import("react/jsx-runtime").JSX.Element;
|
|
99
|
+
/**
|
|
100
|
+
* Triggers the event to close the poll creation modal.
|
|
101
|
+
*/
|
|
102
|
+
triggerCloseEvent(): void;
|
|
103
|
+
/**
|
|
104
|
+
* Retrieves the last message in a conversation and checks if it is a poll message.
|
|
105
|
+
*
|
|
106
|
+
* @param conversation - The conversation from which to retrieve the last message.
|
|
107
|
+
* @param loggedInUser - The currently logged-in user.
|
|
108
|
+
* @param additionalConfigurations - Any additional configurations to be used.
|
|
109
|
+
* @returns The localized string for a poll message if it exists, otherwise a default string.
|
|
110
|
+
*/
|
|
111
|
+
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations?: any): string;
|
|
112
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A constant object that holds various keys and values related to stickers in the CometChat UI Kit.
|
|
3
|
+
* This object is frozen to prevent any modifications to its properties.
|
|
4
|
+
*/
|
|
5
|
+
export declare const StickersConstants: Readonly<{
|
|
6
|
+
sticker: "extension_sticker";
|
|
7
|
+
default_stickers: "defaultStickers";
|
|
8
|
+
custom_stickers: "customStickers";
|
|
9
|
+
stickers: "stickers";
|
|
10
|
+
data: "data";
|
|
11
|
+
custom_data: "customData";
|
|
12
|
+
sticker_url: "sticker_url";
|
|
13
|
+
sticker_name: "sticker_name";
|
|
14
|
+
get: "GET";
|
|
15
|
+
v1_fetch: "v1/fetch";
|
|
16
|
+
}>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ExtensionsDataSource } from "../ExtensionsDataSource";
|
|
2
|
+
/**
|
|
3
|
+
* The StickersExtension class extends the ExtensionsDataSource and is responsible for
|
|
4
|
+
* configuring and adding the Stickers extension to the chat application.
|
|
5
|
+
*
|
|
6
|
+
* @class
|
|
7
|
+
* @extends {ExtensionsDataSource}
|
|
8
|
+
*/
|
|
9
|
+
export declare class StickersExtension extends ExtensionsDataSource {
|
|
10
|
+
/**
|
|
11
|
+
* Creates an instance of StickersExtension.
|
|
12
|
+
*
|
|
13
|
+
* @param {StickersConfiguration} [configuration] - Optional configuration for the Stickers extension.
|
|
14
|
+
*/
|
|
15
|
+
constructor();
|
|
16
|
+
/**
|
|
17
|
+
* Adds the Stickers extension by enabling it in the ChatConfigurator.
|
|
18
|
+
* This method is called to register the Stickers extension with the chat application.
|
|
19
|
+
*
|
|
20
|
+
* @override
|
|
21
|
+
* @returns {void}
|
|
22
|
+
*/
|
|
23
|
+
addExtension(): void;
|
|
24
|
+
/**
|
|
25
|
+
* Returns the unique ID of the Stickers extension.
|
|
26
|
+
*
|
|
27
|
+
* @override
|
|
28
|
+
* @returns {string} The ID of the Stickers extension.
|
|
29
|
+
*/
|
|
30
|
+
getExtensionId(): string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CometChat } from "@cometchat/chat-sdk-javascript";
|
|
3
|
+
import { DataSource } from "../../../utils/DataSource";
|
|
4
|
+
import { DataSourceDecorator } from "../../../utils/DataSourceDecorator";
|
|
5
|
+
import { ComposerId } from "../../../utils/MessagesDataSource";
|
|
6
|
+
import { CometChatMessageTemplate } from "../../../modals";
|
|
7
|
+
/**
|
|
8
|
+
* Class responsible for decorating the data source with sticker-related functionalities.
|
|
9
|
+
* Extends the DataSourceDecorator to add custom message templates, auxiliary options, and sticker-specific logic.
|
|
10
|
+
*/
|
|
11
|
+
export declare class StickersExtensionDecorator extends DataSourceDecorator {
|
|
12
|
+
/**
|
|
13
|
+
* New data source for the extension.
|
|
14
|
+
*/
|
|
15
|
+
newDataSource: DataSource;
|
|
16
|
+
/**
|
|
17
|
+
* Flag to show or hide the sticker keyboard.
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
showStickerKeyboard: boolean;
|
|
21
|
+
private id;
|
|
22
|
+
private user?;
|
|
23
|
+
private group?;
|
|
24
|
+
/**
|
|
25
|
+
* Constructs a new instance of StickersExtensionDecorator.
|
|
26
|
+
* @param dataSource - The data source to be decorated.
|
|
27
|
+
* @param configuration - Optional configuration for the stickers extension.
|
|
28
|
+
*/
|
|
29
|
+
constructor(dataSource: DataSource);
|
|
30
|
+
/**
|
|
31
|
+
* Gets the decorated data source.
|
|
32
|
+
* @returns The decorated data source.
|
|
33
|
+
*/
|
|
34
|
+
getDataSource(): DataSource;
|
|
35
|
+
/**
|
|
36
|
+
* Retrieves all message templates, including the sticker template if it doesn't already exist.
|
|
37
|
+
* @param additionalConfigurations - Additional configurations, if any.
|
|
38
|
+
* @returns An array of CometChatMessageTemplate objects.
|
|
39
|
+
*/
|
|
40
|
+
getAllMessageTemplates(additionalConfigurations?: any): CometChatMessageTemplate[];
|
|
41
|
+
/**
|
|
42
|
+
* Retrieves auxiliary options for the stickers extension.
|
|
43
|
+
* @param id - A map containing relevant IDs.
|
|
44
|
+
* @param theme - The theme object for styling.
|
|
45
|
+
* @param user - Optional user object.
|
|
46
|
+
* @param group - Optional group object.
|
|
47
|
+
* @returns An array of auxiliary options.
|
|
48
|
+
*/
|
|
49
|
+
getAuxiliaryOptions(id: ComposerId, user?: CometChat.User, group?: CometChat.Group): JSX.Element[];
|
|
50
|
+
/**
|
|
51
|
+
* Creates the sticker auxiliary button component.
|
|
52
|
+
* @param id - A map containing relevant IDs.
|
|
53
|
+
* @param theme - The theme object for styling.
|
|
54
|
+
* @param user - Optional user object.
|
|
55
|
+
* @param group - Optional group object.
|
|
56
|
+
* @returns The JSX element for the sticker auxiliary button.
|
|
57
|
+
*/
|
|
58
|
+
getStickerAuxiliaryButton: (id: ComposerId, user?: CometChat.User, group?: CometChat.Group) => import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
/**
|
|
60
|
+
* Sends a sticker message.
|
|
61
|
+
* @param event - The event object containing sticker details.
|
|
62
|
+
*/
|
|
63
|
+
sendSticker(event: any, closeSticker: Function): void;
|
|
64
|
+
/**
|
|
65
|
+
* Sends a sticker message.
|
|
66
|
+
* @param event - The event object containing sticker details.
|
|
67
|
+
*/
|
|
68
|
+
getSticker(message: CometChat.CustomMessage): any;
|
|
69
|
+
/**
|
|
70
|
+
* Creates a JSX element for displaying the sticker message content.
|
|
71
|
+
* @param stickerMessage - The custom message containing sticker data.
|
|
72
|
+
* @param _theme - The theme object for styling.
|
|
73
|
+
* @returns The JSX element for the sticker message content.
|
|
74
|
+
*/
|
|
75
|
+
getStickerMessageContentView(stickerMessage: CometChat.CustomMessage): import("react/jsx-runtime").JSX.Element;
|
|
76
|
+
/**
|
|
77
|
+
* Creates a sticker message template.
|
|
78
|
+
* @param _theme - The theme object for styling.
|
|
79
|
+
* @returns The sticker message template.
|
|
80
|
+
*/
|
|
81
|
+
getStickerTemplate(): CometChatMessageTemplate;
|
|
82
|
+
/**
|
|
83
|
+
* Checks if a specific message template already exists.
|
|
84
|
+
* @param template - An array of message templates.
|
|
85
|
+
* @param type - The type of message template to check for.
|
|
86
|
+
* @returns True if the template exists, false otherwise.
|
|
87
|
+
*/
|
|
88
|
+
checkIfTemplateExist(template: CometChatMessageTemplate[], type: string): boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Retrieves all message categories, including custom categories.
|
|
91
|
+
* @returns An array of message categories.
|
|
92
|
+
*/
|
|
93
|
+
getAllMessageCategories(): string[];
|
|
94
|
+
/**
|
|
95
|
+
* Retrieves all message types, including sticker types.
|
|
96
|
+
* @returns An array of message types.
|
|
97
|
+
*/
|
|
98
|
+
getAllMessageTypes(): string[];
|
|
99
|
+
/**
|
|
100
|
+
* Retrieves the ID of the sticker extension.
|
|
101
|
+
* @returns The ID string.
|
|
102
|
+
*/
|
|
103
|
+
getId(): string;
|
|
104
|
+
/**
|
|
105
|
+
* Retrieves the last message in a conversation, checking for sticker messages.
|
|
106
|
+
* @param conversation - The conversation object.
|
|
107
|
+
* @param loggedInUser - The logged-in user.
|
|
108
|
+
* @param additionalConfigurations - Additional configurations, if any.
|
|
109
|
+
* @returns A string representing the last message.
|
|
110
|
+
*/
|
|
111
|
+
getLastConversationMessage(conversation: CometChat.Conversation, loggedInUser: CometChat.User, additionalConfigurations?: any): string;
|
|
112
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
interface StickersKeyboardProps {
|
|
2
|
+
/**
|
|
3
|
+
* Text to display when there is an error state.
|
|
4
|
+
* @default "SOMETHING_WRONG"
|
|
5
|
+
*/
|
|
6
|
+
errorStateText?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Text to display when no stickers are found.
|
|
9
|
+
* @default "NO_STICKERS_FOUND"
|
|
10
|
+
*/
|
|
11
|
+
emptyStateText?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Callback function triggered when a sticker is clicked.
|
|
14
|
+
*/
|
|
15
|
+
ccStickerClicked: (event: {
|
|
16
|
+
detail: {
|
|
17
|
+
stickerURL: string;
|
|
18
|
+
stickerName: string;
|
|
19
|
+
};
|
|
20
|
+
}) => void;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* A keyboard component that allows users to select and send stickers.
|
|
24
|
+
* @component
|
|
25
|
+
* @param {StickersKeyboardProps} props - The props for the component.
|
|
26
|
+
* @returns {JSX.Element}
|
|
27
|
+
*/
|
|
28
|
+
declare const StickersKeyboard: (props: StickersKeyboardProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export { StickersKeyboard };
|