@cometchat/chat-uikit-react 5.0.0-beta1 → 5.0.0-beta2
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/README.md +8 -7
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/CometChatEditPreview.css +1 -0
- package/dist/styles/CometChatFileBubble.css +2 -0
- package/dist/styles/CometChatMessageComposer.css +5 -0
- package/dist/styles/CometChatMessageHeader.css +11 -0
- package/dist/styles/components/CometChatEditPreview.css +1 -0
- package/dist/styles/components/CometChatFileBubble.css +2 -0
- package/dist/styles/components/CometChatMessageComposer.css +5 -0
- package/dist/styles/components/CometChatMessageHeader.css +11 -0
- package/dist/styles/components/index.css +1 -0
- package/dist/styles/index.css +1 -0
- package/dist/types/events/CometChatUIEvents.d.ts +2 -0
- package/package.json +1 -1
- package/screenshots/sample_app_overview.png +0 -0
- package/dist/Collaborative_Whiteboard_Dark.png +0 -0
- package/dist/Collaborative_Whiteboard_Light.png +0 -0
- package/dist/styles/CometChatBadge.css +0 -15
- package/dist/styles/CometChatCard.css +0 -41
- package/dist/styles/components/CometChatBadge.css +0 -15
- package/dist/styles/components/CometChatCard.css +0 -41
- package/dist/types/CometChatUIKit/CometChatUIKitSharedSettings.d.ts +0 -8
- package/dist/types/components/BaseComponents/CometChatBadge/CometChatBadge.d.ts +0 -10
- package/dist/types/components/BaseComponents/CometChatCard/CometChatCard.d.ts +0 -15
- package/dist/types/components/BaseComponents/CometChatQuickView/CometChatQuickView.d.ts +0 -9
- package/dist/types/components/BaseComponents/CometChatSingleSelect/CometChatSingleSelect.d.ts +0 -8
- package/dist/types/components/CometChatUserMemberWrapper/index.d.ts +0 -23
- package/dist/types/modals/InteractiveActions/APIAction.d.ts +0 -108
- package/dist/types/modals/InteractiveActions/CustomAction.d.ts +0 -12
- package/dist/types/modals/InteractiveActions/URLNavigationAction.d.ts +0 -30
- package/dist/types/modals/InteractiveActions/index.d.ts +0 -3
- package/dist/types/modals/InteractiveElements/BaseInputElement.d.ts +0 -50
- package/dist/types/modals/InteractiveElements/BaseInteractiveElement.d.ts +0 -25
- package/dist/types/modals/InteractiveElements/ButtonElement.d.ts +0 -48
- package/dist/types/modals/InteractiveElements/CheckboxElement.d.ts +0 -46
- package/dist/types/modals/InteractiveElements/DateTimePickerElement.d.ts +0 -124
- package/dist/types/modals/InteractiveElements/DropdownElement.d.ts +0 -55
- package/dist/types/modals/InteractiveElements/LabelElement.d.ts +0 -29
- package/dist/types/modals/InteractiveElements/OptionElement.d.ts +0 -35
- package/dist/types/modals/InteractiveElements/RadioButtonElement.d.ts +0 -54
- package/dist/types/modals/InteractiveElements/SingleSelectElement.d.ts +0 -50
- package/dist/types/modals/InteractiveElements/TextInputElement.d.ts +0 -69
- package/dist/types/modals/InteractiveElements/index.d.ts +0 -11
- package/dist/types/modals/InteractiveEntities/ActionEntity.d.ts +0 -32
- package/dist/types/modals/InteractiveEntities/ElementEntity.d.ts +0 -35
- package/dist/types/modals/InteractiveEntities/index.d.ts +0 -2
- package/dist/types/modals/InteractiveMessage/CardMessage.d.ts +0 -69
- package/dist/types/modals/InteractiveMessage/CustomInteractiveMessage.d.ts +0 -20
- package/dist/types/modals/InteractiveMessage/FormMessage.d.ts +0 -75
- package/dist/types/modals/InteractiveMessage/SchedulerMessage.d.ts +0 -230
- package/dist/types/modals/InteractiveMessage/index.d.ts +0 -5
- package/dist/types/src/CometChatCustomHooks.d.ts +0 -27
- package/dist/types/src/CometChatUIKit/CometChatCalls.d.ts +0 -1
- package/dist/types/src/CometChatUIKit/CometChatUIKit.d.ts +0 -147
- package/dist/types/src/CometChatUIKit/CometChatUIKitLoginListener.d.ts +0 -32
- package/dist/types/src/CometChatUIKit/CometChatUIKitUtility.d.ts +0 -81
- package/dist/types/src/CometChatUIKit/UIKitSettings.d.ts +0 -304
- package/dist/types/src/Enums/Enums.d.ts +0 -258
- package/dist/types/src/components/AI/AIBaseConfiguration.d.ts +0 -51
- package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +0 -20
- package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -18
- package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
- package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -8
- package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +0 -31
- package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
- package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
- package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -9
- package/dist/types/src/components/AI/AIExtensionDataSource.d.ts +0 -6
- package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +0 -28
- package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -21
- package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
- package/dist/types/src/components/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -11
- package/dist/types/src/components/BaseComponents/CometChatActionBubble/CometChatActionBubble.d.ts +0 -8
- package/dist/types/src/components/BaseComponents/CometChatActionSheet/CometChatActionSheet.d.ts +0 -7
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/CometChatAudioBubble.d.ts +0 -6
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/base-plugin.d.ts +0 -21
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/decoder.d.ts +0 -9
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/dom.d.ts +0 -13
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/draggable.d.ts +0 -1
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/event-emitter.d.ts +0 -21
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/fetcher.d.ts +0 -5
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/player.d.ts +0 -50
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/envelope.d.ts +0 -79
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/hover.d.ts +0 -36
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/minimap.d.ts +0 -65
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/record.d.ts +0 -89
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/regions.d.ts +0 -139
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/spectrogram.d.ts +0 -98
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/timeline.d.ts +0 -54
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/plugins/zoom.d.ts +0 -55
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/renderer.d.ts +0 -63
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/timer.d.ts +0 -11
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/wavesurfer.d.ts +0 -223
- package/dist/types/src/components/BaseComponents/CometChatAudioBubble/src/webaudio.d.ts +0 -63
- package/dist/types/src/components/BaseComponents/CometChatAvatar/CometChatAvatar.d.ts +0 -13
- package/dist/types/src/components/BaseComponents/CometChatButton/CometChatButton.d.ts +0 -12
- package/dist/types/src/components/BaseComponents/CometChatCallBubble/CometChatCallBubble.d.ts +0 -12
- package/dist/types/src/components/BaseComponents/CometChatChangeScope/CometChatChangeScope.d.ts +0 -10
- package/dist/types/src/components/BaseComponents/CometChatChangeScope/useCometChatChangeScope.d.ts +0 -10
- package/dist/types/src/components/BaseComponents/CometChatCheckbox/CometChatCheckbox.d.ts +0 -11
- package/dist/types/src/components/BaseComponents/CometChatCheckbox/useCometChatCheckbox.d.ts +0 -11
- package/dist/types/src/components/BaseComponents/CometChatConfirmDialog/CometChatConfirmDialog.d.ts +0 -16
- package/dist/types/src/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts +0 -17
- package/dist/types/src/components/BaseComponents/CometChatDate/CometChatDate.d.ts +0 -13
- package/dist/types/src/components/BaseComponents/CometChatDate/useCometChatDate.d.ts +0 -8
- package/dist/types/src/components/BaseComponents/CometChatDeleteBubble/CometChatDeleteBubble.d.ts +0 -14
- package/dist/types/src/components/BaseComponents/CometChatDocumentBubble/CometChatDocumentBubble.d.ts +0 -11
- package/dist/types/src/components/BaseComponents/CometChatDropDown/CometChatDropDown.d.ts +0 -14
- package/dist/types/src/components/BaseComponents/CometChatDropDown/useCometChatDropDown.d.ts +0 -12
- package/dist/types/src/components/BaseComponents/CometChatEditPreview/CometChatEditPreview.d.ts +0 -21
- package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmoji.d.ts +0 -22
- package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts +0 -7
- package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/emojis.d.ts +0 -6579
- package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/useCometChatEmojiKeyboard.d.ts +0 -17
- package/dist/types/src/components/BaseComponents/CometChatFileBubble/CometChatFileBubble.d.ts +0 -9
- package/dist/types/src/components/BaseComponents/CometChatFullScreenViewer/CometChatFullScreenViewer.d.ts +0 -23
- package/dist/types/src/components/BaseComponents/CometChatImageBubble/CometChatImageBubble.d.ts +0 -10
- package/dist/types/src/components/BaseComponents/CometChatImageBubble/useCometChatImageBubble.d.ts +0 -7
- package/dist/types/src/components/BaseComponents/CometChatList/CometChatList.d.ts +0 -156
- package/dist/types/src/components/BaseComponents/CometChatList/useCometChatList.d.ts +0 -17
- package/dist/types/src/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +0 -15
- package/dist/types/src/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +0 -12
- package/dist/types/src/components/BaseComponents/CometChatLiveReaction/CometChatLiveReaction.d.ts +0 -5
- package/dist/types/src/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +0 -19
- package/dist/types/src/components/BaseComponents/CometChatMediaRecorder/CometChatMediaRecorder.d.ts +0 -8
- package/dist/types/src/components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble.d.ts +0 -28
- package/dist/types/src/components/BaseComponents/CometChatPopover/CometChatPopover.d.ts +0 -24
- package/dist/types/src/components/BaseComponents/CometChatRadioButton/CometChatRadioButton.d.ts +0 -14
- package/dist/types/src/components/BaseComponents/CometChatRadioButton/useCometChatRadioButton.d.ts +0 -13
- package/dist/types/src/components/BaseComponents/CometChatSearchBar/CometChatSearchBar.d.ts +0 -9
- package/dist/types/src/components/BaseComponents/CometChatSearchBar/useCometChatSearchBar.d.ts +0 -10
- package/dist/types/src/components/BaseComponents/CometChatTextBubble/CometChatTextBubble.d.ts +0 -8
- package/dist/types/src/components/BaseComponents/CometChatTextBubble/useCometChatTextBubble.d.ts +0 -6
- package/dist/types/src/components/BaseComponents/CometChatToast/CometChatToast.d.ts +0 -27
- package/dist/types/src/components/BaseComponents/CometChatVideoBubble/CometChatVideoBubble.d.ts +0 -9
- package/dist/types/src/components/BaseComponents/CometChatVideoBubble/useCometChatVideoBubble.d.ts +0 -6
- package/dist/types/src/components/Calling/CallButtonConfiguration.d.ts +0 -10
- package/dist/types/src/components/Calling/CallingConfiguration.d.ts +0 -7
- package/dist/types/src/components/Calling/CallingExtension.d.ts +0 -9
- package/dist/types/src/components/Calling/CallingExtensionDecorator.d.ts +0 -29
- package/dist/types/src/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +0 -36
- package/dist/types/src/components/Calling/CometChatCallButtons/useCallButtons.d.ts +0 -6
- package/dist/types/src/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +0 -71
- package/dist/types/src/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +0 -2
- package/dist/types/src/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +0 -59
- package/dist/types/src/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +0 -2
- package/dist/types/src/components/Calling/CometChatOngoingCall/CometChatOngoingCall.d.ts +0 -10
- package/dist/types/src/components/Calling/CometChatOngoingCall/useCometChatOngoingCall.d.ts +0 -2
- package/dist/types/src/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +0 -36
- package/dist/types/src/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +0 -7
- package/dist/types/src/components/Calling/OutgoingCallConfiguration.d.ts +0 -8
- package/dist/types/src/components/Calling/Utils/utils.d.ts +0 -7
- package/dist/types/src/components/CometChatConversations/CometChatConversations.d.ts +0 -219
- package/dist/types/src/components/CometChatConversations/controller.d.ts +0 -74
- package/dist/types/src/components/CometChatConversations/useCometChatConversations.d.ts +0 -25
- package/dist/types/src/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +0 -178
- package/dist/types/src/components/CometChatGroupMembers/controller.d.ts +0 -38
- package/dist/types/src/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +0 -22
- package/dist/types/src/components/CometChatGroups/CometChatGroups.d.ts +0 -150
- package/dist/types/src/components/CometChatGroups/controller.d.ts +0 -44
- package/dist/types/src/components/CometChatGroups/useCometChatGroups.d.ts +0 -15
- package/dist/types/src/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +0 -166
- package/dist/types/src/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +0 -42
- package/dist/types/src/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +0 -29
- package/dist/types/src/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +0 -3
- package/dist/types/src/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +0 -6
- package/dist/types/src/components/CometChatMessageList/CometChatMessageList.d.ts +0 -132
- package/dist/types/src/components/CometChatMessageList/CometChatMessageListController.d.ts +0 -48
- package/dist/types/src/components/CometChatMessageList/useCometChatMessageList.d.ts +0 -6
- package/dist/types/src/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +0 -11
- package/dist/types/src/components/CometChatUserMemberWrapper/CometChatUserMemberWrapper.d.ts +0 -21
- package/dist/types/src/components/CometChatUsers/CometChatUsers.d.ts +0 -193
- package/dist/types/src/components/CometChatUsers/controller.d.ts +0 -28
- package/dist/types/src/components/CometChatUsers/useCometChatUsers.d.ts +0 -19
- package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration.d.ts +0 -35
- package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentConstants.d.ts +0 -15
- package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtension.d.ts +0 -37
- package/dist/types/src/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +0 -116
- package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration.d.ts +0 -35
- package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConstants.d.ts +0 -13
- package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension.d.ts +0 -29
- package/dist/types/src/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +0 -94
- package/dist/types/src/components/Extensions/ExtensionsDataSource.d.ts +0 -29
- package/dist/types/src/components/Extensions/ExtensionsId.d.ts +0 -22
- package/dist/types/src/components/Extensions/LinkPreview/LinkPreview.d.ts +0 -37
- package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewConstants.d.ts +0 -11
- package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtension.d.ts +0 -24
- package/dist/types/src/components/Extensions/LinkPreview/LinkPreviewExtensionDecorator.d.ts +0 -60
- package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationBubble.d.ts +0 -35
- package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationConstants.d.ts +0 -12
- package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtension.d.ts +0 -30
- package/dist/types/src/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +0 -53
- package/dist/types/src/components/Extensions/Polls/CreatePolls.d.ts +0 -66
- package/dist/types/src/components/Extensions/Polls/PollsBubble.d.ts +0 -35
- package/dist/types/src/components/Extensions/Polls/PollsConfiguration.d.ts +0 -19
- package/dist/types/src/components/Extensions/Polls/PollsConstants.d.ts +0 -8
- package/dist/types/src/components/Extensions/Polls/PollsExtension.d.ts +0 -8
- package/dist/types/src/components/Extensions/Polls/PollsExtensionDecorator.d.ts +0 -112
- package/dist/types/src/components/Extensions/Stickers/StickersConstants.d.ts +0 -16
- package/dist/types/src/components/Extensions/Stickers/StickersExtension.d.ts +0 -31
- package/dist/types/src/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +0 -112
- package/dist/types/src/components/Extensions/Stickers/StickersKeyboard.d.ts +0 -29
- package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationConstants.d.ts +0 -13
- package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension.d.ts +0 -21
- package/dist/types/src/components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator.d.ts +0 -40
- package/dist/types/src/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +0 -9
- package/dist/types/src/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +0 -8
- package/dist/types/src/components/Reactions/CometChatReactions/CometChatReactions.d.ts +0 -12
- package/dist/types/src/constants/CometChatUIKitConstants.d.ts +0 -139
- package/dist/types/src/constants/CometChatUtilityConstants.d.ts +0 -9
- package/dist/types/src/constants/index.d.ts +0 -1
- package/dist/types/src/events/CometChatCallEvents.d.ts +0 -10
- package/dist/types/src/events/CometChatConversationEvents.d.ts +0 -13
- package/dist/types/src/events/CometChatGroupEvents.d.ts +0 -63
- package/dist/types/src/events/CometChatMessageEvents.d.ts +0 -43
- package/dist/types/src/events/CometChatUIEvents.d.ts +0 -59
- package/dist/types/src/events/CometChatUserEvents.d.ts +0 -16
- package/dist/types/src/formatters/CometChatFormatters/CometChatMentionsFormatter/CometChatMentionsFormatter.d.ts +0 -210
- package/dist/types/src/formatters/CometChatFormatters/CometChatTextFormatter.d.ts +0 -268
- package/dist/types/src/formatters/CometChatFormatters/CometChatUrlsFormatter/CometChatUrlsFormatter.d.ts +0 -12
- package/dist/types/src/formatters/index.d.ts +0 -3
- package/dist/types/src/index.d.ts +0 -108
- package/dist/types/src/modals/CometChatActions.d.ts +0 -36
- package/dist/types/src/modals/CometChatActionsIcon.d.ts +0 -38
- package/dist/types/src/modals/CometChatActionsView.d.ts +0 -39
- package/dist/types/src/modals/CometChatMessageComposerAction.d.ts +0 -33
- package/dist/types/src/modals/CometChatMessageOption.d.ts +0 -37
- package/dist/types/src/modals/CometChatMessageTemplate.d.ts +0 -70
- package/dist/types/src/modals/CometChatOption.d.ts +0 -20
- package/dist/types/src/modals/index.d.ts +0 -7
- package/dist/types/src/resources/CometChatLocalize/cometchat-localize.d.ts +0 -5603
- package/dist/types/src/resources/CometChatSoundManager/CometChatSoundManager.d.ts +0 -128
- package/dist/types/src/resources/index.d.ts +0 -1
- package/dist/types/src/utils/CallingDetailsUtils.d.ts +0 -42
- package/dist/types/src/utils/ChatConfigurator.d.ts +0 -12
- package/dist/types/src/utils/ChatSdkEventInitializer.d.ts +0 -6
- package/dist/types/src/utils/ConversationUtils.d.ts +0 -69
- package/dist/types/src/utils/DataSource.d.ts +0 -55
- package/dist/types/src/utils/DataSourceDecorator.d.ts +0 -57
- package/dist/types/src/utils/GroupMemberUtils.d.ts +0 -32
- package/dist/types/src/utils/MessageReceiptUtils.d.ts +0 -44
- package/dist/types/src/utils/MessageUtils.d.ts +0 -55
- package/dist/types/src/utils/MessagesDataSource.d.ts +0 -110
- package/dist/types/src/utils/Storage.d.ts +0 -33
- package/dist/types/src/utils/util.d.ts +0 -26
- package/dist/types/utils/IcsToJson.d.ts +0 -19
- package/dist/types/utils/InteractiveMessageUtils.d.ts +0 -71
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import CometChatToast from "./components/BaseComponents/CometChatToast/CometChatToast";
|
|
2
|
-
export { CometChatUserMemberWrapper } from "./components/CometChatUserMemberWrapper/CometChatUserMemberWrapper";
|
|
3
|
-
export { CometChatUIKit } from './CometChatUIKit/CometChatUIKit';
|
|
4
|
-
export { UIKitSettingsBuilder, UIKitSettings } from './CometChatUIKit/UIKitSettings';
|
|
5
|
-
export { ChatConfigurator } from './utils/ChatConfigurator';
|
|
6
|
-
export { DataSource } from './utils/DataSource';
|
|
7
|
-
export { DataSourceDecorator } from './utils/DataSourceDecorator';
|
|
8
|
-
export { ExtensionsDataSource } from './components/Extensions/ExtensionsDataSource';
|
|
9
|
-
export { MessagesDataSource } from './utils/MessagesDataSource';
|
|
10
|
-
export { CometChatList } from './components/BaseComponents/CometChatList/CometChatList';
|
|
11
|
-
export { CollaborativeDocumentConfiguration } from './components/Extensions/CollaborativeDocument/CollaborativeDocumentConfiguration';
|
|
12
|
-
export { CollaborativeDocumentExtension } from './components/Extensions/CollaborativeDocument/CollaborativeDocumentExtension';
|
|
13
|
-
export { CollaborativeDocumentExtensionDecorator } from './components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator';
|
|
14
|
-
export { CollaborativeWhiteboardConfiguration } from './components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardConfiguration';
|
|
15
|
-
export { CollaborativeWhiteboardExtension } from './components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtension';
|
|
16
|
-
export { CollaborativeWhiteBoardExtensionDecorator } from './components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator';
|
|
17
|
-
export { LinkPreviewExtension } from './components/Extensions/LinkPreview/LinkPreviewExtension';
|
|
18
|
-
export { LinkPreviewExtensionDecorator } from './components/Extensions/LinkPreview/LinkPreviewExtensionDecorator';
|
|
19
|
-
export { MessageTranslationExtension } from './components/Extensions/MessageTranslation/MessageTranslationExtension';
|
|
20
|
-
export { MessageTranslationExtensionDecorator } from './components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator';
|
|
21
|
-
export { PollsConfiguration } from './components/Extensions/Polls/PollsConfiguration';
|
|
22
|
-
export { PollsExtension } from './components/Extensions/Polls/PollsExtension';
|
|
23
|
-
export { PollsExtensionDecorator } from './components/Extensions/Polls/PollsExtensionDecorator';
|
|
24
|
-
export { StickersExtension } from './components/Extensions/Stickers/StickersExtension';
|
|
25
|
-
export { StickersExtensionDecorator } from './components/Extensions/Stickers/StickersExtensionDecorator';
|
|
26
|
-
export { ThumbnailGenerationExtension } from './components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtension';
|
|
27
|
-
export { ThumbnailGenerationExtensionDecorator } from './components/Extensions/ThumbnailGeneration/ThumbnailGenerationExtensionDecorator';
|
|
28
|
-
export { CallingExtension } from './components/Calling/CallingExtension';
|
|
29
|
-
export { CallingExtensionDecorator } from './components/Calling/CallingExtensionDecorator';
|
|
30
|
-
export { CometChatIncomingCall } from './components/Calling/CometChatIncomingCall/CometChatIncomingCall';
|
|
31
|
-
export { CometChatOngoingCall } from './components/Calling/CometChatOngoingCall/CometChatOngoingCall';
|
|
32
|
-
export { CometChatOutgoingCall } from './components/Calling/CometChatOutgoingCall/CometChatOutgoingCall';
|
|
33
|
-
export { CometChatCallLogs } from './components/Calling/CometChatCallLogs/CometChatCallLogs';
|
|
34
|
-
export { CometChatConversations } from './components/CometChatConversations/CometChatConversations';
|
|
35
|
-
export { CometChatGroupMembers } from './components/CometChatGroupMembers/CometChatGroupMembers';
|
|
36
|
-
export { CometChatGroups } from './components/CometChatGroups/CometChatGroups';
|
|
37
|
-
export { CometChatMessageBubble } from './components/BaseComponents/CometChatMessageBubble/CometChatMessageBubble';
|
|
38
|
-
export { CometChatMessageComposer } from './components/CometChatMessageComposer/CometChatMessageComposer';
|
|
39
|
-
export { CometChatMessageHeader } from './components/CometChatMessageHeader/CometChatMessageHeader';
|
|
40
|
-
export { CometChatMessageList } from './components/CometChatMessageList/CometChatMessageList';
|
|
41
|
-
export { CometChatUsers } from './components/CometChatUsers/CometChatUsers';
|
|
42
|
-
export { CometChatMessageInformation } from './components/CometChatMessageInformation/CometChatMessageInformation';
|
|
43
|
-
export { AIConversationStarterExtension } from './components/AI/AIConversationStarter/AIConversationStarterExtension';
|
|
44
|
-
export { AIConversationStarterDecorator } from './components/AI/AIConversationStarter/AIConversationStarterDecorator';
|
|
45
|
-
export { AISmartRepliesExtension } from './components/AI/AISmartReplies/AISmartRepliesExtension';
|
|
46
|
-
export { AISmartRepliesDecorator } from './components/AI/AISmartReplies/AISmartRepliesDecorator';
|
|
47
|
-
export { AIConversationSummaryExtension } from './components/AI/AIConversationSummary/AIConversationSummaryExtension';
|
|
48
|
-
export { AIConversationSummaryDecorator } from './components/AI/AIConversationSummary/AIConversationSummaryDecorator';
|
|
49
|
-
export { AIExtensionDataSource } from './components/AI/AIExtensionDataSource';
|
|
50
|
-
export { CometChatUIKitCalls } from './CometChatUIKit/CometChatCalls';
|
|
51
|
-
export { CometChatUIKitConstants } from "./constants/CometChatUIKitConstants";
|
|
52
|
-
export { CometChatUtilityConstants } from "./constants/CometChatUtilityConstants";
|
|
53
|
-
export * from "./resources/CometChatLocalize/cometchat-localize";
|
|
54
|
-
export { CometChatMessageComposerAction } from "./modals/CometChatMessageComposerAction";
|
|
55
|
-
export { CometChatMessageOption } from "./modals/CometChatMessageOption";
|
|
56
|
-
export { CometChatMessageTemplate } from "./modals/CometChatMessageTemplate";
|
|
57
|
-
export { CometChatOption } from "./modals/CometChatOption";
|
|
58
|
-
export { CometChatActions } from "./modals/CometChatActions";
|
|
59
|
-
export { CometChatActionsIcon } from "./modals/CometChatActionsIcon";
|
|
60
|
-
export { CometChatActionsView } from "./modals/CometChatActionsView";
|
|
61
|
-
export * from "./Enums/Enums";
|
|
62
|
-
export * from "./events/CometChatUIEvents";
|
|
63
|
-
export { CometChatCallEvents } from "./events/CometChatCallEvents";
|
|
64
|
-
export { CometChatConversationEvents } from "./events/CometChatConversationEvents";
|
|
65
|
-
export * from "./events/CometChatGroupEvents";
|
|
66
|
-
export * from "./events/CometChatMessageEvents";
|
|
67
|
-
export { CometChatUserEvents } from "./events/CometChatUserEvents";
|
|
68
|
-
export { ChatSdkEventInitializer } from "./utils/ChatSdkEventInitializer";
|
|
69
|
-
export { CometChatActionBubble } from './components/BaseComponents/CometChatActionBubble/CometChatActionBubble';
|
|
70
|
-
export { CometChatActionSheet } from './components/BaseComponents/CometChatActionSheet/CometChatActionSheet';
|
|
71
|
-
export { CometChatAudioBubble } from './components/BaseComponents/CometChatAudioBubble/CometChatAudioBubble';
|
|
72
|
-
export { CometChatAvatar } from './components/BaseComponents/CometChatAvatar/CometChatAvatar';
|
|
73
|
-
export { CometChatButton } from './components/BaseComponents/CometChatButton/CometChatButton';
|
|
74
|
-
export { CometChatCallBubble } from './components/BaseComponents/CometChatCallBubble/CometChatCallBubble';
|
|
75
|
-
export { CometChatChangeScope } from './components/BaseComponents/CometChatChangeScope/CometChatChangeScope';
|
|
76
|
-
export { CometChatCheckbox } from './components/BaseComponents/CometChatCheckbox/CometChatCheckbox';
|
|
77
|
-
export { CometChatConfirmDialog } from './components/BaseComponents/CometChatConfirmDialog/CometChatConfirmDialog';
|
|
78
|
-
export { CometChatContextMenu } from './components/BaseComponents/CometChatContextMenu/CometChatContextMenu';
|
|
79
|
-
export { CometChatVideoBubble } from './components/BaseComponents/CometChatVideoBubble/CometChatVideoBubble';
|
|
80
|
-
export { CometChatToast };
|
|
81
|
-
export { CometChatTextBubble } from './components/BaseComponents/CometChatTextBubble/CometChatTextBubble';
|
|
82
|
-
export { CometChatSearchBar } from './components/BaseComponents/CometChatSearchBar/CometChatSearchBar';
|
|
83
|
-
export { CometChatRadioButton } from './components/BaseComponents/CometChatRadioButton/CometChatRadioButton';
|
|
84
|
-
export { CometChatPopover } from './components/BaseComponents/CometChatPopover/CometChatPopover';
|
|
85
|
-
export { CometChatMediaRecorder } from './components/BaseComponents/CometChatMediaRecorder/CometChatMediaRecorder';
|
|
86
|
-
export { CometChatListItem } from './components/BaseComponents/CometChatListItem/CometChatListItem';
|
|
87
|
-
export { CometChatImageBubble } from './components/BaseComponents/CometChatImageBubble/CometChatImageBubble';
|
|
88
|
-
export { CometChatFullScreenViewer } from './components/BaseComponents/CometChatFullScreenViewer/CometChatFullScreenViewer';
|
|
89
|
-
export { CometChatFileBubble } from './components/BaseComponents/CometChatFileBubble/CometChatFileBubble';
|
|
90
|
-
export { CometChatEmojiKeyboard } from './components/BaseComponents/CometChatEmojiKeyboard/CometChatEmojiKeyboard';
|
|
91
|
-
export { CometChatEditPreview } from './components/BaseComponents/CometChatEditPreview/CometChatEditPreview';
|
|
92
|
-
export { CometChatDropDown } from './components/BaseComponents/CometChatDropDown/CometChatDropDown';
|
|
93
|
-
export { CometChatDocumentBubble } from './components/BaseComponents/CometChatDocumentBubble/CometChatDocumentBubble';
|
|
94
|
-
export { CometChatDate } from './components/BaseComponents/CometChatDate/CometChatDate';
|
|
95
|
-
export { CometChatDeleteBubble } from './components/BaseComponents/CometChatDeleteBubble/CometChatDeleteBubble';
|
|
96
|
-
export { CallingDetailsUtils } from './utils/CallingDetailsUtils';
|
|
97
|
-
export { ConversationUtils } from './utils/ConversationUtils';
|
|
98
|
-
export { GroupMemberUtils } from './utils/GroupMemberUtils';
|
|
99
|
-
export { MessageReceiptUtils } from './utils/MessageReceiptUtils';
|
|
100
|
-
export { MessageUtils } from './utils/MessageUtils';
|
|
101
|
-
export * from './utils/util';
|
|
102
|
-
export * from './utils/Storage';
|
|
103
|
-
export { CometChatThreadedMessagePreview } from './components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview';
|
|
104
|
-
export * from "./components/Calling/Utils/utils";
|
|
105
|
-
export { CometChatUIKitLoginListener } from './CometChatUIKit/CometChatUIKitLoginListener';
|
|
106
|
-
export { CometChatUIKitUtility } from './CometChatUIKit/CometChatUIKitUtility';
|
|
107
|
-
export * from './CometChatCustomHooks';
|
|
108
|
-
export * from './formatters/index';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CometChatActions is a pre-defined structure for creating actions
|
|
3
|
-
* that the user can perform on a message, with properties to customize
|
|
4
|
-
* the appearance and behavior of the action.
|
|
5
|
-
* It is used in CometChatActionsIcon and CometChatActionsView components.
|
|
6
|
-
*/
|
|
7
|
-
export declare class CometChatActions {
|
|
8
|
-
/**
|
|
9
|
-
* Unique identifier for the message action.
|
|
10
|
-
* @type {string}
|
|
11
|
-
*/
|
|
12
|
-
id: string;
|
|
13
|
-
/**
|
|
14
|
-
* Heading text for the message action.
|
|
15
|
-
* @type {string}
|
|
16
|
-
*/
|
|
17
|
-
title: string;
|
|
18
|
-
/**
|
|
19
|
-
* Asset URL for the icon to symbolize a message action.
|
|
20
|
-
* @type {string | undefined}
|
|
21
|
-
*/
|
|
22
|
-
iconURL?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Creates an instance of CometChatActions.
|
|
25
|
-
*
|
|
26
|
-
* @param {Object} options - Options to initialize the action.
|
|
27
|
-
* @param {string} options.id - Unique identifier for the message action.
|
|
28
|
-
* @param {string} options.title - Heading text for the message action.
|
|
29
|
-
* @param {string} [options.iconURL] - Asset URL for the icon to symbolize a message action.
|
|
30
|
-
*/
|
|
31
|
-
constructor(options: {
|
|
32
|
-
id: string;
|
|
33
|
-
title: string;
|
|
34
|
-
iconURL?: string;
|
|
35
|
-
});
|
|
36
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { CometChatActions } from "./CometChatActions";
|
|
2
|
-
/**
|
|
3
|
-
* CometChatActionsIcon is a pre-defined structure for creating actions
|
|
4
|
-
* that the user can perform on a message with an icon representation.
|
|
5
|
-
* It is used in CometChatContextMenu, CometChatMessageBubble, CometChatMessageList components.
|
|
6
|
-
*/
|
|
7
|
-
export declare class CometChatActionsIcon extends CometChatActions {
|
|
8
|
-
/**
|
|
9
|
-
* Function invoked when the user clicks on the message action.
|
|
10
|
-
* @type {(id: number) => void}
|
|
11
|
-
*/
|
|
12
|
-
onClick: (id: number) => void;
|
|
13
|
-
/**
|
|
14
|
-
* Creates an instance of CometChatActionsIcon.
|
|
15
|
-
*/
|
|
16
|
-
constructor(options: {
|
|
17
|
-
/**
|
|
18
|
-
* Unique identifier for the message action.
|
|
19
|
-
* @type {string}
|
|
20
|
-
*/
|
|
21
|
-
id: string;
|
|
22
|
-
/**
|
|
23
|
-
* Heading text for the message action.
|
|
24
|
-
* @type {string}
|
|
25
|
-
*/
|
|
26
|
-
title: string;
|
|
27
|
-
/**
|
|
28
|
-
* Asset URL for the icon to symbolize a message action.
|
|
29
|
-
* @type {string}
|
|
30
|
-
*/
|
|
31
|
-
iconURL: string;
|
|
32
|
-
/**
|
|
33
|
-
* Function invoked when the user clicks on the message action. This function should handle the action related to the provided message id.
|
|
34
|
-
* @type {(id: number) => void}
|
|
35
|
-
*/
|
|
36
|
-
onClick: (id: number) => void;
|
|
37
|
-
});
|
|
38
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CometChatActions } from "./CometChatActions";
|
|
3
|
-
/**
|
|
4
|
-
* CometChatActionsView is a pre-defined structure for creating actions
|
|
5
|
-
* that the user can perform on a message with a customized UI view representation.
|
|
6
|
-
* It is used in AI module, CometChatMessageBubble, CometChatMessageComposer, CometChatMessageList components.
|
|
7
|
-
*/
|
|
8
|
-
export declare class CometChatActionsView extends CometChatActions {
|
|
9
|
-
/**
|
|
10
|
-
* User-defined component to customize the action view for each option in the template.
|
|
11
|
-
* @type {callbacks: any) => Element | JSX.Element | undefined}
|
|
12
|
-
*/
|
|
13
|
-
customView?: (callbacks: any) => Element | JSX.Element;
|
|
14
|
-
/**
|
|
15
|
-
* Creates an instance of CometChatActionsView.
|
|
16
|
-
*/
|
|
17
|
-
constructor(options: {
|
|
18
|
-
/**
|
|
19
|
-
* Unique identifier for the message action.
|
|
20
|
-
* @type {string}
|
|
21
|
-
*/
|
|
22
|
-
id: string;
|
|
23
|
-
/**
|
|
24
|
-
* Heading text for the message action.
|
|
25
|
-
* @type {string}
|
|
26
|
-
*/
|
|
27
|
-
title: string;
|
|
28
|
-
/**
|
|
29
|
-
* Asset URL for the icon to symbolize a message action. This is optional and can be omitted.
|
|
30
|
-
* @type {string}
|
|
31
|
-
*/
|
|
32
|
-
iconURL?: string;
|
|
33
|
-
/**
|
|
34
|
-
* User-defined component to customize the action view. This is optional and can be omitted.
|
|
35
|
-
* @type {Element | JSX.Element}
|
|
36
|
-
*/
|
|
37
|
-
customView?: (callbacks: any) => Element | JSX.Element;
|
|
38
|
-
});
|
|
39
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CometChatMessageComposerAction is a pre-defined structure for creating an attachment option
|
|
3
|
-
* in the CometChatMessageComposer component that the user can perform in addition to composing a message.
|
|
4
|
-
* It is used in AI module, CometChatMessageComposer component and Poll extension.
|
|
5
|
-
*/
|
|
6
|
-
export declare class CometChatMessageComposerAction {
|
|
7
|
-
/**
|
|
8
|
-
* Unique identifier for the attachment option.
|
|
9
|
-
* @type {string}
|
|
10
|
-
*/
|
|
11
|
-
id: string;
|
|
12
|
-
/**
|
|
13
|
-
* Asset URL for the icon to symbolize an attachment option.
|
|
14
|
-
* @type {string}
|
|
15
|
-
*/
|
|
16
|
-
iconURL: string;
|
|
17
|
-
/**
|
|
18
|
-
* Function invoked when the user clicks on the attachment option.
|
|
19
|
-
* @type {(() => void) | null}
|
|
20
|
-
*/
|
|
21
|
-
onClick: (() => void) | null;
|
|
22
|
-
/**
|
|
23
|
-
* Heading text for the attachment option.
|
|
24
|
-
* @type {string}
|
|
25
|
-
*/
|
|
26
|
-
title?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Creates an instance of CometChatMessageComposerAction.
|
|
29
|
-
*
|
|
30
|
-
* @param {Partial<CometChatMessageComposerAction>} props - Partial properties to initialize the action item.
|
|
31
|
-
*/
|
|
32
|
-
constructor(props: Partial<CometChatMessageComposerAction>);
|
|
33
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { CometChatOption } from './CometChatOption';
|
|
2
|
-
/**
|
|
3
|
-
* CometChatMessageOption is a pre-defined structure for creating an option
|
|
4
|
-
* that can be used to perform an action on a message, such as edit, delete, etc.
|
|
5
|
-
* It is used in CometChatMessageTemplate of modal.
|
|
6
|
-
*/
|
|
7
|
-
export declare class CometChatMessageOption extends CometChatOption {
|
|
8
|
-
/**
|
|
9
|
-
* Creates an instance of CometChatMessageOption.
|
|
10
|
-
*/
|
|
11
|
-
constructor({
|
|
12
|
-
/**
|
|
13
|
-
* Unique identifier for each option.
|
|
14
|
-
* @type {string}
|
|
15
|
-
*/
|
|
16
|
-
id,
|
|
17
|
-
/**
|
|
18
|
-
* Heading text for each option.
|
|
19
|
-
* @type {string}
|
|
20
|
-
*/
|
|
21
|
-
title,
|
|
22
|
-
/**
|
|
23
|
-
* Sets the asset URL of the icon for each option.
|
|
24
|
-
* @type {string}
|
|
25
|
-
*/
|
|
26
|
-
iconURL,
|
|
27
|
-
/**
|
|
28
|
-
* Method to be invoked when user clicks on each option.
|
|
29
|
-
* @type {(any) => void}
|
|
30
|
-
*/
|
|
31
|
-
onClick, }: {
|
|
32
|
-
id?: string | undefined;
|
|
33
|
-
title?: string | undefined;
|
|
34
|
-
iconURL?: string | undefined;
|
|
35
|
-
onClick?: null | undefined;
|
|
36
|
-
});
|
|
37
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CometChatMessageOption } from "./CometChatMessageOption";
|
|
3
|
-
import { DatePatterns, MessageBubbleAlignment } from "../Enums/Enums";
|
|
4
|
-
/**
|
|
5
|
-
* CometChatMessageTemplate is a pre-defined structure for creating message views
|
|
6
|
-
* that can be used as a starting point or blueprint for creating message views,
|
|
7
|
-
* often known as message bubbles.
|
|
8
|
-
* It is used in CometChatMessageInformation, CometChatMessageList components and extensions like Polls, Stickers.
|
|
9
|
-
*/
|
|
10
|
-
declare class CometChatMessageTemplate {
|
|
11
|
-
/**
|
|
12
|
-
* Type of the CometChat message.
|
|
13
|
-
* @type {string}
|
|
14
|
-
*/
|
|
15
|
-
type: string;
|
|
16
|
-
/**
|
|
17
|
-
* Custom component to customize the content section for each message bubble.
|
|
18
|
-
* By default, it displays the Text bubble, Image bubble, File bubble, Audio bubble,
|
|
19
|
-
* and Video bubble based on the type of the message.
|
|
20
|
-
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
21
|
-
*/
|
|
22
|
-
contentView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX.Element | null) | null;
|
|
23
|
-
/**
|
|
24
|
-
* Custom component to customize the complete message bubble.
|
|
25
|
-
* By default, headerView, contentView and footerView collectively form a message bubble.
|
|
26
|
-
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
27
|
-
*/
|
|
28
|
-
bubbleView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX.Element | null) | null;
|
|
29
|
-
/**
|
|
30
|
-
* Custom component to customize the header section for each message bubble.
|
|
31
|
-
* By default, it displays the message sender's name.
|
|
32
|
-
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
33
|
-
*/
|
|
34
|
-
headerView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX.Element | null) | null;
|
|
35
|
-
/**
|
|
36
|
-
* Custom component to customize the footer section for each message bubble.
|
|
37
|
-
* By default, it displays the reactions.
|
|
38
|
-
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
39
|
-
*/
|
|
40
|
-
footerView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX.Element | null) | null;
|
|
41
|
-
/**
|
|
42
|
-
* Custom component to customize the bottom view section for each message bubble.
|
|
43
|
-
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
44
|
-
*/
|
|
45
|
-
bottomView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment) => Element | JSX.Element | null) | null;
|
|
46
|
-
/**
|
|
47
|
-
* Custom component to customize the status info section for each message bubble.
|
|
48
|
-
* By default, it displays the receipt and the timestamp.
|
|
49
|
-
* @type {(message:CometChat.BaseMessage,alignment:MessageBubbleAlignment)=> Element | JSX.Element | null}
|
|
50
|
-
*/
|
|
51
|
-
statusInfoView: ((message: CometChat.BaseMessage, alignment: MessageBubbleAlignment, hideReceipt?: boolean, datePattern?: DatePatterns) => Element | JSX.Element | null) | null;
|
|
52
|
-
/**
|
|
53
|
-
* List of available actions that any user can perform on a message, like reacting,
|
|
54
|
-
* editing or deleting a message.
|
|
55
|
-
* @type {(loggedInUser: CometChat.User, message: CometChat.BaseMessage) => CometChatMessageOption[]}
|
|
56
|
-
*/
|
|
57
|
-
options: (loggedInUser: CometChat.User, message: CometChat.BaseMessage, group?: CometChat.Group) => CometChatMessageOption[];
|
|
58
|
-
/**
|
|
59
|
-
* Category of the CometChat message.
|
|
60
|
-
* @type {string}
|
|
61
|
-
*/
|
|
62
|
-
category: string;
|
|
63
|
-
/**
|
|
64
|
-
* Creates an instance of CometChatMessageTemplate.
|
|
65
|
-
*
|
|
66
|
-
* @param {Partial<CometChatMessageTemplate>} props - Properties to initialize the message template.
|
|
67
|
-
*/
|
|
68
|
-
constructor(props: Partial<CometChatMessageTemplate>);
|
|
69
|
-
}
|
|
70
|
-
export { CometChatMessageTemplate };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines an option for message actions like edit or delete.
|
|
3
|
-
* Allows customization of text, icon, and click behavior.
|
|
4
|
-
* It is used in CometChatConversations, CometChatGroupMembers, CometChatGroups, CometChatUsers components.
|
|
5
|
-
*/
|
|
6
|
-
export declare class CometChatOption {
|
|
7
|
-
/** Unique identifier for the option. */
|
|
8
|
-
id?: string;
|
|
9
|
-
/** Text label for the option. */
|
|
10
|
-
title?: string;
|
|
11
|
-
/** URL of the icon representing the option. */
|
|
12
|
-
iconURL?: string;
|
|
13
|
-
/** Function to be called when the option is clicked. */
|
|
14
|
-
onClick?: any;
|
|
15
|
-
/**
|
|
16
|
-
* Creates a new CometChatOption instance.
|
|
17
|
-
* @param {Partial<CometChatOption>} props - Properties to initialize the option.
|
|
18
|
-
*/
|
|
19
|
-
constructor(props: Partial<CometChatOption>);
|
|
20
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { CometChatActions } from './CometChatActions';
|
|
2
|
-
export { CometChatActionsIcon } from './CometChatActionsIcon';
|
|
3
|
-
export { CometChatActionsView } from './CometChatActionsView';
|
|
4
|
-
export { CometChatMessageComposerAction } from './CometChatMessageComposerAction';
|
|
5
|
-
export { CometChatMessageOption } from './CometChatMessageOption';
|
|
6
|
-
export { CometChatMessageTemplate } from './CometChatMessageTemplate';
|
|
7
|
-
export { CometChatOption } from './CometChatOption';
|