@cometchat/chat-uikit-react 5.0.0-beta1 → 5.0.0
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 +6 -5
- package/dist/assets/Send.svg +3 -0
- package/dist/assets/loading.svg +5 -16
- package/dist/index.d.ts +1159 -953
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles/CometChatCallButtons.css +1 -1
- package/dist/styles/CometChatCallLogs.css +3 -3
- package/dist/styles/{AIConversationStarter.css → CometChatConversationStarter.css} +2 -2
- package/dist/styles/{components/AIConversationSummary.css → CometChatConversationSummary.css} +12 -12
- package/dist/styles/CometChatConversations.css +10 -10
- package/dist/styles/CometChatEditPreview.css +1 -0
- package/dist/styles/CometChatFileBubble.css +2 -0
- package/dist/styles/CometChatGroupMembers.css +5 -5
- package/dist/styles/CometChatIncomingCall.css +1 -1
- package/dist/styles/CometChatList.css +15 -22
- package/dist/styles/CometChatListItem.css +2 -2
- package/dist/styles/CometChatMessageComposer.css +48 -40
- package/dist/styles/CometChatMessageHeader.css +32 -4
- package/dist/styles/CometChatMessageInformation.css +3 -2
- package/dist/styles/CometChatMessageList.css +6 -5
- package/dist/styles/CometChatOutgoingCall.css +5 -0
- package/dist/styles/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
- package/dist/styles/PollsBubble.css +7 -1
- package/dist/styles/components/CometChatCallButtons.css +1 -1
- package/dist/styles/components/CometChatCallLogs.css +3 -3
- package/dist/styles/components/{AIConversationStarter.css → CometChatConversationStarter.css} +2 -2
- package/dist/styles/{AIConversationSummary.css → components/CometChatConversationSummary.css} +12 -12
- package/dist/styles/components/CometChatConversations.css +10 -10
- package/dist/styles/components/CometChatEditPreview.css +1 -0
- package/dist/styles/components/CometChatFileBubble.css +2 -0
- package/dist/styles/components/CometChatGroupMembers.css +5 -5
- package/dist/styles/components/CometChatIncomingCall.css +1 -1
- package/dist/styles/components/CometChatList.css +15 -22
- package/dist/styles/components/CometChatListItem.css +2 -2
- package/dist/styles/components/CometChatMessageComposer.css +48 -40
- package/dist/styles/components/CometChatMessageHeader.css +32 -4
- package/dist/styles/components/CometChatMessageInformation.css +3 -2
- package/dist/styles/components/CometChatMessageList.css +6 -5
- package/dist/styles/components/CometChatOutgoingCall.css +5 -0
- package/dist/styles/components/{AISmartReplies.css → CometChatSmartReplies.css} +72 -79
- package/dist/styles/components/PollsBubble.css +7 -1
- package/dist/styles/components/index.css +4 -3
- package/dist/styles/index.css +4 -3
- package/dist/types/CometChatCustomHooks.d.ts +1 -1
- package/dist/types/CometChatUIKit/CometChatUIKit.d.ts +0 -6
- package/dist/types/CometChatUIKit/UIKitSettings.d.ts +0 -22
- package/dist/types/Enums/Enums.d.ts +9 -0
- package/dist/types/components/BaseComponents/CometChatConversationStarter/CometChatConversationStarter.d.ts +6 -0
- package/dist/types/components/BaseComponents/CometChatConversationSummary/CometChatConversationSummary.d.ts +6 -0
- package/dist/types/components/BaseComponents/CometChatList/CometChatList.d.ts +12 -12
- package/dist/types/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +3 -1
- package/dist/types/components/BaseComponents/CometChatSmartReplies/CometChatSmartReplies.d.ts +7 -0
- package/dist/types/components/Calling/CallButtonConfiguration.d.ts +1 -1
- package/dist/types/components/Calling/CallingExtensionDecorator.d.ts +2 -2
- package/dist/types/components/Calling/CometChatCallButtons/CometChatCallButtons.d.ts +30 -12
- package/dist/types/components/Calling/CometChatCallButtons/useCallButtons.d.ts +1 -1
- package/dist/types/components/Calling/CometChatCallLogs/CometChatCallLogs.d.ts +50 -38
- package/dist/types/components/Calling/CometChatCallLogs/useCometChatCallLogs.d.ts +1 -1
- package/dist/types/components/Calling/CometChatIncomingCall/CometChatIncomingCall.d.ts +48 -26
- package/dist/types/components/Calling/CometChatIncomingCall/useCometChatIncomingCall.d.ts +1 -1
- package/dist/types/components/Calling/CometChatOutgoingCall/CometChatOutgoingCall.d.ts +31 -15
- package/dist/types/components/Calling/CometChatOutgoingCall/useCometChatOutgoingCall.d.ts +1 -1
- package/dist/types/components/Calling/OutgoingCallConfiguration.d.ts +7 -3
- package/dist/types/components/CometChatConversations/CometChatConversations.d.ts +88 -87
- package/dist/types/components/CometChatConversations/controller.d.ts +10 -8
- package/dist/types/components/CometChatConversations/useCometChatConversations.d.ts +2 -5
- package/dist/types/components/CometChatGroupMembers/CometChatGroupMembers.d.ts +94 -76
- package/dist/types/components/CometChatGroupMembers/useCometChatGroupMembers.d.ts +2 -2
- package/dist/types/components/CometChatGroups/CometChatGroups.d.ts +74 -62
- package/dist/types/components/CometChatGroups/useCometChatGroups.d.ts +1 -0
- package/dist/types/components/CometChatMessageComposer/CometChatMessageComposer.d.ts +107 -49
- package/dist/types/components/CometChatMessageComposer/useCometChatMessageComposer.d.ts +1 -1
- package/dist/types/components/CometChatMessageHeader/CometChatMessageHeader.d.ts +77 -16
- package/dist/types/components/CometChatMessageHeader/useCometChatMessageHeader.d.ts +1 -1
- package/dist/types/components/CometChatMessageInformation/CometChatMessageInformation.d.ts +5 -0
- package/dist/types/components/CometChatMessageList/CometChatMessageList.d.ts +133 -55
- package/dist/types/components/CometChatMessageList/CometChatMessageListController.d.ts +3 -1
- package/dist/types/components/CometChatMessageList/useCometChatMessageList.d.ts +1 -1
- package/dist/types/components/CometChatThreadedMessagePreview/CometChatThreadedMessagePreview.d.ts +34 -2
- package/dist/types/components/CometChatUsers/CometChatUsers.d.ts +88 -89
- package/dist/types/components/CometChatUsers/useCometChatUsers.d.ts +2 -1
- package/dist/types/components/Extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/MessageTranslation/MessageTranslationExtensionDecorator.d.ts +3 -1
- package/dist/types/components/Extensions/Polls/PollsBubble.d.ts +5 -0
- package/dist/types/components/Extensions/Polls/PollsExtensionDecorator.d.ts +4 -3
- package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +2 -3
- package/dist/types/components/Reactions/CometChatReactionInfo/CometChatReactionInfo.d.ts +3 -2
- package/dist/types/components/Reactions/CometChatReactionList/CometChatReactionList.d.ts +3 -2
- package/dist/types/components/Reactions/CometChatReactions/CometChatReactions.d.ts +3 -2
- package/dist/types/events/CometChatUIEvents.d.ts +2 -0
- package/dist/types/index.d.ts +8 -7
- package/dist/types/resources/CometChatLocalize/cometchat-localize.d.ts +129 -115
- package/dist/types/utils/DataSource.d.ts +17 -18
- package/dist/types/utils/DataSourceDecorator.d.ts +17 -18
- package/dist/types/utils/GroupMemberUtils.d.ts +1 -1
- package/dist/types/utils/MessageUtils.d.ts +1 -1
- package/dist/types/utils/MessagesDataSource.d.ts +29 -16
- package/dist/types/utils/util.d.ts +5 -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/assets/ai-empty.svg +0 -22
- package/dist/assets/ai-error.svg +0 -3
- package/dist/assets/heart-reaction.png +0 -0
- package/dist/assets/send.svg +0 -12
- package/dist/styles/AICard.css +0 -30
- package/dist/styles/CometChatBadge.css +0 -15
- package/dist/styles/CometChatCard.css +0 -41
- package/dist/styles/components/AICard.css +0 -30
- 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/AI/AIBaseConfiguration.d.ts +0 -51
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts +0 -20
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts +0 -18
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts +0 -8
- package/dist/types/components/AI/AIConversationStarter/AIConversationStarterView.d.ts +0 -8
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts +0 -31
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryDecorator.d.ts +0 -22
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryExtension.d.ts +0 -8
- package/dist/types/components/AI/AIConversationSummary/AIConversationSummaryView.d.ts +0 -9
- package/dist/types/components/AI/AIExtensionDataSource.d.ts +0 -6
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesConfiguration.d.ts +0 -28
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesDecorator.d.ts +0 -21
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesExtension.d.ts +0 -8
- package/dist/types/components/AI/AISmartReplies/AISmartRepliesView.d.ts +0 -11
- 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/CometChatLiveReaction/CometChatLiveReaction.d.ts +0 -5
- package/dist/types/components/BaseComponents/CometChatLiveReaction/useLiveReactionHook.d.ts +0 -19
- 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
- /package/dist/assets/{ai.svg → conversation_summary.svg} +0 -0
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import EventEmitter from './event-emitter';
|
|
2
|
-
type WebAudioPlayerEvents = {
|
|
3
|
-
loadedmetadata: [];
|
|
4
|
-
canplay: [];
|
|
5
|
-
play: [];
|
|
6
|
-
pause: [];
|
|
7
|
-
seeking: [];
|
|
8
|
-
timeupdate: [];
|
|
9
|
-
volumechange: [];
|
|
10
|
-
emptied: [];
|
|
11
|
-
ended: [];
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* A Web Audio buffer player emulating the behavior of an HTML5 Audio element.
|
|
15
|
-
*/
|
|
16
|
-
declare class WebAudioPlayer extends EventEmitter<WebAudioPlayerEvents> {
|
|
17
|
-
private audioContext;
|
|
18
|
-
private gainNode;
|
|
19
|
-
private bufferNode;
|
|
20
|
-
private playStartTime;
|
|
21
|
-
private playedDuration;
|
|
22
|
-
private _muted;
|
|
23
|
-
private _playbackRate;
|
|
24
|
-
private _duration;
|
|
25
|
-
private buffer;
|
|
26
|
-
currentSrc: string;
|
|
27
|
-
paused: boolean;
|
|
28
|
-
crossOrigin: string | null;
|
|
29
|
-
seeking: boolean;
|
|
30
|
-
autoplay: boolean;
|
|
31
|
-
constructor(audioContext?: AudioContext);
|
|
32
|
-
/** Subscribe to an event. Returns an unsubscribe function. */
|
|
33
|
-
addEventListener: <EventName extends keyof WebAudioPlayerEvents>(event: EventName, listener: (...args: WebAudioPlayerEvents[EventName]) => void, options?: {
|
|
34
|
-
once?: boolean | undefined;
|
|
35
|
-
} | undefined) => () => void;
|
|
36
|
-
/** Unsubscribe from an event */
|
|
37
|
-
removeEventListener: <EventName extends keyof WebAudioPlayerEvents>(event: EventName, listener: (...args: WebAudioPlayerEvents[EventName]) => void) => void;
|
|
38
|
-
load(): Promise<void>;
|
|
39
|
-
get src(): string;
|
|
40
|
-
set src(value: string);
|
|
41
|
-
private _play;
|
|
42
|
-
private _pause;
|
|
43
|
-
play(): Promise<void>;
|
|
44
|
-
pause(): void;
|
|
45
|
-
stopAt(timeSeconds: number): void;
|
|
46
|
-
setSinkId(deviceId: string): Promise<void>;
|
|
47
|
-
get playbackRate(): number;
|
|
48
|
-
set playbackRate(value: number);
|
|
49
|
-
get currentTime(): number;
|
|
50
|
-
set currentTime(value: number);
|
|
51
|
-
get duration(): number;
|
|
52
|
-
set duration(value: number);
|
|
53
|
-
get volume(): number;
|
|
54
|
-
set volume(value: number);
|
|
55
|
-
get muted(): boolean;
|
|
56
|
-
set muted(value: boolean);
|
|
57
|
-
canPlayType(mimeType: string): boolean;
|
|
58
|
-
/** Get the GainNode used to play the audio. Can be used to attach filters. */
|
|
59
|
-
getGainNode(): GainNode;
|
|
60
|
-
/** Get decoded audio */
|
|
61
|
-
getChannelData(): Float32Array[];
|
|
62
|
-
}
|
|
63
|
-
export default WebAudioPlayer;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
interface BaseProps {
|
|
2
|
-
/** Name used for displaying initials in the avatar. */
|
|
3
|
-
name?: string;
|
|
4
|
-
/** URL of the avatar image to be displayed. */
|
|
5
|
-
image?: string;
|
|
6
|
-
}
|
|
7
|
-
type CometChatAvatarProps = BaseProps & {
|
|
8
|
-
name: string;
|
|
9
|
-
} | BaseProps & {
|
|
10
|
-
image: string;
|
|
11
|
-
};
|
|
12
|
-
declare const CometChatAvatar: (props: CometChatAvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export { CometChatAvatar };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
interface ButtonProps {
|
|
2
|
-
text?: string;
|
|
3
|
-
hoverText?: string;
|
|
4
|
-
iconURL?: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
isLoading?: boolean;
|
|
7
|
-
onClick?: (customEvent: CustomEvent<{
|
|
8
|
-
event: PointerEvent;
|
|
9
|
-
}>) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const CometChatButton: (props: ButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export { CometChatButton };
|
package/dist/types/src/components/BaseComponents/CometChatCallBubble/CometChatCallBubble.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface CallBubbleProps {
|
|
3
|
-
title?: string;
|
|
4
|
-
sessionId?: string;
|
|
5
|
-
subtitle?: React.ReactNode;
|
|
6
|
-
buttonText?: string;
|
|
7
|
-
iconURL?: string;
|
|
8
|
-
onClicked?: ((url: string) => void) | undefined;
|
|
9
|
-
isSentByMe?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const CometChatCallBubble: (props: CallBubbleProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export { CometChatCallBubble };
|
package/dist/types/src/components/BaseComponents/CometChatChangeScope/CometChatChangeScope.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface ChangeScopeProps {
|
|
2
|
-
title?: string;
|
|
3
|
-
buttonText?: string;
|
|
4
|
-
options: string[];
|
|
5
|
-
defaultSelection?: string;
|
|
6
|
-
onScopeChanged?: (scope: string) => Promise<void>;
|
|
7
|
-
onCloseClick?: () => void;
|
|
8
|
-
}
|
|
9
|
-
declare const CometChatChangeScope: (props: ChangeScopeProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export { CometChatChangeScope };
|
package/dist/types/src/components/BaseComponents/CometChatChangeScope/useCometChatChangeScope.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const useCometChatChangeScope: ({ defaultSelection, }: {
|
|
2
|
-
defaultSelection?: string | undefined;
|
|
3
|
-
}) => {
|
|
4
|
-
selectedValue: string;
|
|
5
|
-
selectionChanged: (input: {
|
|
6
|
-
checked: boolean;
|
|
7
|
-
labelText: string | undefined;
|
|
8
|
-
id: string;
|
|
9
|
-
}) => void;
|
|
10
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface CheckboxProps {
|
|
2
|
-
checked?: boolean;
|
|
3
|
-
labelText?: string;
|
|
4
|
-
disabled?: boolean;
|
|
5
|
-
onCheckBoxValueChanged: (input: {
|
|
6
|
-
checked: boolean;
|
|
7
|
-
labelText: string | undefined;
|
|
8
|
-
}) => void;
|
|
9
|
-
}
|
|
10
|
-
declare const CometChatCheckbox: (props: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export { CometChatCheckbox };
|
package/dist/types/src/components/BaseComponents/CometChatCheckbox/useCometChatCheckbox.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ChangeEvent } from "react";
|
|
2
|
-
export declare const useCometChatCheckbox: ({ checked, onCheckBoxValueChanged }: {
|
|
3
|
-
checked?: boolean | undefined;
|
|
4
|
-
onCheckBoxValueChanged?: ((input: {
|
|
5
|
-
checked: boolean;
|
|
6
|
-
labelText: string | undefined;
|
|
7
|
-
}) => void) | undefined;
|
|
8
|
-
}) => {
|
|
9
|
-
isChecked: boolean;
|
|
10
|
-
updateCheckbox: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
11
|
-
};
|
package/dist/types/src/components/BaseComponents/CometChatConfirmDialog/CometChatConfirmDialog.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
interface ConfirmDialogProps {
|
|
2
|
-
/** The title displayed at the top of the confirm dialog. */
|
|
3
|
-
title?: string;
|
|
4
|
-
/** The descriptive text inside the confirm dialog. */
|
|
5
|
-
messageText?: string;
|
|
6
|
-
/** The text displayed on the "cancel" button. */
|
|
7
|
-
cancelButtonText?: string;
|
|
8
|
-
/** The text displayed on the "confirm" button. */
|
|
9
|
-
confirmButtonText?: string;
|
|
10
|
-
/** Callback function for when the confirm button is clicked. */
|
|
11
|
-
onSubmitClick?: () => Promise<void>;
|
|
12
|
-
/** Callback function for when the cancel button is clicked. */
|
|
13
|
-
onCancelClick?: () => void;
|
|
14
|
-
}
|
|
15
|
-
declare const CometChatConfirmDialog: (props: ConfirmDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export { CometChatConfirmDialog };
|
package/dist/types/src/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CometChatActionsIcon, CometChatActionsView, CometChatOption } from '../../../modals';
|
|
2
|
-
import { Placement } from '../../../Enums/Enums';
|
|
3
|
-
interface ContextMenuProps {
|
|
4
|
-
data: Array<CometChatActionsIcon | CometChatActionsView | CometChatOption>;
|
|
5
|
-
topMenuSize?: number;
|
|
6
|
-
moreIconHoverText?: string;
|
|
7
|
-
onOptionClicked?: (option: CometChatActionsIcon | CometChatActionsView | CometChatOption) => void;
|
|
8
|
-
placement?: Placement;
|
|
9
|
-
closeOnOutsideClick?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* CometChatContextMenu is a composite component used to display menu data in required format.
|
|
13
|
-
* It accepts a data array for displaying the menu items and topMenuSize to specify how many menu items should be visible by default.
|
|
14
|
-
* It also accepts a URL for the 'more' icon, placement and a menu click callback function for customization purposes.
|
|
15
|
-
*/
|
|
16
|
-
declare const CometChatContextMenu: (props: ContextMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export { CometChatContextMenu };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DatePatterns } from "../../../Enums/Enums";
|
|
2
|
-
interface DateProps {
|
|
3
|
-
timestamp: number;
|
|
4
|
-
pattern?: DatePatterns;
|
|
5
|
-
customDateString?: string | null;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* CometChatDate is a generic component used to display dates in the required format.
|
|
9
|
-
* It accepts a timestamp of the time to be displayed and the pattern in which the time should be displayed.
|
|
10
|
-
* It also accepts the customDateString prop, whose value is used as is for displaying the time.
|
|
11
|
-
*/
|
|
12
|
-
declare const CometChatDate: (props: DateProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
export { CometChatDate };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DatePatterns } from "../../../Enums/Enums";
|
|
2
|
-
export declare const useCometChatDate: ({ timestamp, pattern, customDateString, }: {
|
|
3
|
-
timestamp: number;
|
|
4
|
-
pattern: DatePatterns;
|
|
5
|
-
customDateString: string | null;
|
|
6
|
-
}) => {
|
|
7
|
-
getFormattedDate: () => string | null;
|
|
8
|
-
};
|
package/dist/types/src/components/BaseComponents/CometChatDeleteBubble/CometChatDeleteBubble.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface DeleteBubbleProps {
|
|
2
|
-
isSentByMe: boolean;
|
|
3
|
-
/**
|
|
4
|
-
* Optional. The text to display. If not provided, a default
|
|
5
|
-
* localized "DELETE_MSG_TEXT" will be used.
|
|
6
|
-
*/
|
|
7
|
-
text?: string;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* CometChatDeleteBubble is a generic component used to indicate that a message has been deleted.
|
|
11
|
-
* It accepts the isSentByMe prop and applies sender or receiver styling based on its value.
|
|
12
|
-
*/
|
|
13
|
-
declare const CometChatDeleteBubble: (props: DeleteBubbleProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export { CometChatDeleteBubble };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
interface DocumentBubbleProps {
|
|
2
|
-
bannerImage: string;
|
|
3
|
-
title: string;
|
|
4
|
-
URL: string;
|
|
5
|
-
subtitle: string;
|
|
6
|
-
buttonText: string;
|
|
7
|
-
isSentByMe?: boolean;
|
|
8
|
-
onClicked: ((url: string) => void) | undefined;
|
|
9
|
-
}
|
|
10
|
-
declare const CometChatDocumentBubble: (props: DocumentBubbleProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export { CometChatDocumentBubble };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
interface onOptionsChangedEvent {
|
|
2
|
-
/** The value of the selected option from the dropdown. */
|
|
3
|
-
value?: string;
|
|
4
|
-
}
|
|
5
|
-
interface DropDownProps {
|
|
6
|
-
/** List of options to be displayed in the dropdown. */
|
|
7
|
-
options: string[];
|
|
8
|
-
/** Value from the list to be selected by default. */
|
|
9
|
-
selectedOption?: string;
|
|
10
|
-
/** Callback invoked when the dropdown selection changes. */
|
|
11
|
-
onOptionsChanged?: (input: onOptionsChangedEvent) => void;
|
|
12
|
-
}
|
|
13
|
-
declare const CometChatDropDown: (props: DropDownProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export { CometChatDropDown };
|
package/dist/types/src/components/BaseComponents/CometChatDropDown/useCometChatDropDown.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { MouseEvent } from "react";
|
|
2
|
-
export declare const useCometChatDropDown: ({ selectedOption, onOptionsChanged, }: {
|
|
3
|
-
selectedOption?: string | undefined;
|
|
4
|
-
onOptionsChanged?: (({ value: string }: {
|
|
5
|
-
value?: string | undefined;
|
|
6
|
-
}) => void) | undefined;
|
|
7
|
-
}) => {
|
|
8
|
-
selectedOptionState: string;
|
|
9
|
-
dropdownVisible: boolean;
|
|
10
|
-
onButtonClick: (event: MouseEvent<HTMLButtonElement>) => void;
|
|
11
|
-
onOptionClick: (selectedOption: string) => void;
|
|
12
|
-
};
|
package/dist/types/src/components/BaseComponents/CometChatEditPreview/CometChatEditPreview.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Interface for the props used in the CometChatEditPreview component.
|
|
4
|
-
*/
|
|
5
|
-
interface EditPreviewProps {
|
|
6
|
-
/** The title to display in the preview, defaults to "Edit Message"*/
|
|
7
|
-
previewTitle?: string;
|
|
8
|
-
/** The subtitle to display in the preview, can be left empty. */
|
|
9
|
-
previewSubtitle?: string;
|
|
10
|
-
/** Callback function that triggers when the close button is clicked. */
|
|
11
|
-
onClose?: () => void;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* CometChatEditPreview Component
|
|
15
|
-
*
|
|
16
|
-
* A React component that displays a preview of an edited message with a title and subtitle.
|
|
17
|
-
* @param {EditPreviewProps} props - The props for the component.
|
|
18
|
-
* @returns {JSX.Element} A JSX element displaying the edit preview UI.
|
|
19
|
-
*/
|
|
20
|
-
declare const CometChatEditPreview: FC<EditPreviewProps>;
|
|
21
|
-
export { CometChatEditPreview };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare class CometChatEmoji {
|
|
2
|
-
char: string;
|
|
3
|
-
keywords: any;
|
|
4
|
-
constructor({ char, keywords }: {
|
|
5
|
-
char?: string | undefined;
|
|
6
|
-
keywords?: never[] | undefined;
|
|
7
|
-
});
|
|
8
|
-
}
|
|
9
|
-
export declare class CometChatEmojiCategory {
|
|
10
|
-
id: string;
|
|
11
|
-
symbolURL: string;
|
|
12
|
-
name: string;
|
|
13
|
-
emojies: {
|
|
14
|
-
[key: string]: CometChatEmoji;
|
|
15
|
-
};
|
|
16
|
-
constructor({ id, symbolURL, name, emojies, }: {
|
|
17
|
-
id?: string | undefined;
|
|
18
|
-
symbolURL?: string | undefined;
|
|
19
|
-
name?: string | undefined;
|
|
20
|
-
emojies?: {} | undefined;
|
|
21
|
-
});
|
|
22
|
-
}
|
package/dist/types/src/components/BaseComponents/CometChatEmojiKeyboard/CometChatEmojiKeyboard.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CometChatEmojiCategory } from "./CometChatEmoji";
|
|
2
|
-
interface EmojiKeyboardProps {
|
|
3
|
-
emojiData?: CometChatEmojiCategory[];
|
|
4
|
-
onEmojiClick?: (emoji: string) => void;
|
|
5
|
-
}
|
|
6
|
-
declare const CometChatEmojiKeyboard: (props: EmojiKeyboardProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export { CometChatEmojiKeyboard };
|