@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,304 +0,0 @@
|
|
|
1
|
-
import { AIExtensionDataSource } from "../components/AI/AIExtensionDataSource";
|
|
2
|
-
import { CallingExtension } from "../components/Calling/CallingExtension";
|
|
3
|
-
import { ExtensionsDataSource } from "../components/Extensions/ExtensionsDataSource";
|
|
4
|
-
/**
|
|
5
|
-
* Represents the settings required to initialize the CometChat SDK.
|
|
6
|
-
* This class holds various configuration options, such as app credentials, socket connection settings, and feature toggles.
|
|
7
|
-
*
|
|
8
|
-
* @class UIKitSettings
|
|
9
|
-
*/
|
|
10
|
-
export declare class UIKitSettings {
|
|
11
|
-
/**
|
|
12
|
-
* Unique ID for the app, available on the CometChat dashboard.
|
|
13
|
-
* @type {string}
|
|
14
|
-
*/
|
|
15
|
-
readonly appId?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Region for the app, such as "us" or "eu".
|
|
18
|
-
* @type {string}
|
|
19
|
-
*/
|
|
20
|
-
readonly region?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Sets the subscription type for presence.
|
|
23
|
-
* @type {string}
|
|
24
|
-
*/
|
|
25
|
-
readonly subscriptionType?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Configures WebSocket connections. When set to true, establishes connection automatically on app initialization.
|
|
28
|
-
* @type {boolean}
|
|
29
|
-
* @default true
|
|
30
|
-
*/
|
|
31
|
-
readonly autoEstablishSocketConnection?: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* Authentication key for the app, available on the CometChat dashboard.
|
|
34
|
-
* @type {string}
|
|
35
|
-
*/
|
|
36
|
-
readonly authKey?: string;
|
|
37
|
-
/**
|
|
38
|
-
* Token representing the device, used for push notifications.
|
|
39
|
-
* @type {string}
|
|
40
|
-
*/
|
|
41
|
-
readonly deviceToken?: string;
|
|
42
|
-
/**
|
|
43
|
-
* API key for Google services.
|
|
44
|
-
* @type {string}
|
|
45
|
-
*/
|
|
46
|
-
readonly googleApiKey?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Flag to disable the calling feature.
|
|
49
|
-
* @type {boolean}
|
|
50
|
-
* @default false
|
|
51
|
-
*/
|
|
52
|
-
readonly disableCalling: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Subscribes to user presence for users having the specified roles.
|
|
55
|
-
* @type {string[]}
|
|
56
|
-
*/
|
|
57
|
-
readonly roles?: string[];
|
|
58
|
-
/**
|
|
59
|
-
* Custom admin URL, used instead of the default admin URL for dedicated deployments.
|
|
60
|
-
* @type {string}
|
|
61
|
-
*/
|
|
62
|
-
readonly adminHost?: string;
|
|
63
|
-
/**
|
|
64
|
-
* Custom client URL, used instead of the default client URL for dedicated deployments.
|
|
65
|
-
* @type {string}
|
|
66
|
-
*/
|
|
67
|
-
readonly clientHost?: string;
|
|
68
|
-
/**
|
|
69
|
-
* Data source for managing UI extensions.
|
|
70
|
-
* @type {ExtensionsDataSource[]}
|
|
71
|
-
*/
|
|
72
|
-
readonly extensions?: ExtensionsDataSource[];
|
|
73
|
-
/**
|
|
74
|
-
* Data source for managing calls.
|
|
75
|
-
* @type {ExtensionsDataSource}
|
|
76
|
-
*/
|
|
77
|
-
readonly callingExtension?: CallingExtension;
|
|
78
|
-
/**
|
|
79
|
-
* Data source for managing AI features.
|
|
80
|
-
* @type {AIExtensionDataSource[]}
|
|
81
|
-
*/
|
|
82
|
-
readonly aiFeatures?: AIExtensionDataSource[];
|
|
83
|
-
/**
|
|
84
|
-
* Private constructor to initialize the settings using the provided builder.
|
|
85
|
-
* @param {UIKitSettingsBuilder} builder - The builder instance containing the settings configuration.
|
|
86
|
-
*/
|
|
87
|
-
private constructor();
|
|
88
|
-
/**
|
|
89
|
-
* Creates an instance of UIKitSettings from the provided builder.
|
|
90
|
-
* @param {UIKitSettingsBuilder} builder - The builder instance containing the settings configuration.
|
|
91
|
-
* @returns {UIKitSettings} A new instance of UIKitSettings.
|
|
92
|
-
*/
|
|
93
|
-
static fromBuilder(builder: UIKitSettingsBuilder): UIKitSettings;
|
|
94
|
-
/**
|
|
95
|
-
* Retrieves the app ID.
|
|
96
|
-
* @returns {string} The unique ID of the app.
|
|
97
|
-
*/
|
|
98
|
-
getAppId(): string;
|
|
99
|
-
/**
|
|
100
|
-
* Retrieves the region.
|
|
101
|
-
* @returns {string} The region of the app.
|
|
102
|
-
*/
|
|
103
|
-
getRegion(): string;
|
|
104
|
-
/**
|
|
105
|
-
* Retrieves the roles for presence subscription.
|
|
106
|
-
* @returns {string[]} The list of roles subscribed to presence.
|
|
107
|
-
*/
|
|
108
|
-
getRoles(): string[];
|
|
109
|
-
/**
|
|
110
|
-
* Retrieves the subscription type for presence.
|
|
111
|
-
* @returns {string} The subscription type.
|
|
112
|
-
*/
|
|
113
|
-
getSubscriptionType(): string;
|
|
114
|
-
/**
|
|
115
|
-
* Retrieves the authentication key.
|
|
116
|
-
* @returns {string} The authentication key.
|
|
117
|
-
*/
|
|
118
|
-
getAuthKey(): string;
|
|
119
|
-
/**
|
|
120
|
-
* Checks if auto-establish socket connection is enabled.
|
|
121
|
-
* @returns {boolean} True if auto-establish is enabled, otherwise false.
|
|
122
|
-
*/
|
|
123
|
-
isAutoEstablishSocketConnection(): boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Retrieves the custom admin host URL.
|
|
126
|
-
* @returns {string} The admin host URL.
|
|
127
|
-
*/
|
|
128
|
-
getAdminHost(): string;
|
|
129
|
-
/**
|
|
130
|
-
* Retrieves the custom client host URL.
|
|
131
|
-
* @returns {string} The client host URL.
|
|
132
|
-
*/
|
|
133
|
-
getClientHost(): string;
|
|
134
|
-
/**
|
|
135
|
-
* Retrieves the list of UI extensions.
|
|
136
|
-
* @returns {ExtensionsDataSource[]} The list of UI extensions.
|
|
137
|
-
*/
|
|
138
|
-
getExtensions(): ExtensionsDataSource[];
|
|
139
|
-
/**
|
|
140
|
-
* Retrieves the calling extension.
|
|
141
|
-
* @returns {ExtensionsDataSource[]}
|
|
142
|
-
*/
|
|
143
|
-
getCallsExtension(): ExtensionsDataSource;
|
|
144
|
-
/**
|
|
145
|
-
* Retrieves the list of AI features.
|
|
146
|
-
* @returns {AIExtensionDataSource[]} The list of AI features.
|
|
147
|
-
*/
|
|
148
|
-
getAiFeatures(): AIExtensionDataSource[];
|
|
149
|
-
}
|
|
150
|
-
export declare class UIKitSettingsBuilder {
|
|
151
|
-
/**
|
|
152
|
-
* Unique ID for the app, available on the CometChat dashboard.
|
|
153
|
-
* @type {string}
|
|
154
|
-
*/
|
|
155
|
-
appId?: string;
|
|
156
|
-
/**
|
|
157
|
-
* Region for the app, such as "us" or "eu".
|
|
158
|
-
* @type {string}
|
|
159
|
-
*/
|
|
160
|
-
region?: string;
|
|
161
|
-
/**
|
|
162
|
-
* Sets the subscription type for presence.
|
|
163
|
-
* @type {string}
|
|
164
|
-
*/
|
|
165
|
-
subscriptionType?: string;
|
|
166
|
-
/**
|
|
167
|
-
* Subscribes to user presence for users having the specified roles.
|
|
168
|
-
* @type {string[]}
|
|
169
|
-
*/
|
|
170
|
-
roles?: string[];
|
|
171
|
-
/**
|
|
172
|
-
* Configures WebSocket connections.
|
|
173
|
-
* @type {boolean}
|
|
174
|
-
*/
|
|
175
|
-
autoEstablishSocketConnection?: boolean;
|
|
176
|
-
/**
|
|
177
|
-
* Authentication key for the app, available on the CometChat dashboard.
|
|
178
|
-
* @type {string}
|
|
179
|
-
*/
|
|
180
|
-
authKey?: string;
|
|
181
|
-
/**
|
|
182
|
-
* Token representing the device, used for push notifications.
|
|
183
|
-
* @type {string}
|
|
184
|
-
*/
|
|
185
|
-
deviceToken?: string;
|
|
186
|
-
/**
|
|
187
|
-
* API key for Google services.
|
|
188
|
-
* @type {string}
|
|
189
|
-
*/
|
|
190
|
-
googleApiKey?: string;
|
|
191
|
-
/**
|
|
192
|
-
* Data source for managing UI extensions.
|
|
193
|
-
* @type {ExtensionsDataSource[]}
|
|
194
|
-
*/
|
|
195
|
-
extensions?: ExtensionsDataSource[];
|
|
196
|
-
/**
|
|
197
|
-
* Data source for managing calls extension.
|
|
198
|
-
* @type {CallingExtension}
|
|
199
|
-
*/
|
|
200
|
-
callingExtension?: CallingExtension;
|
|
201
|
-
/**
|
|
202
|
-
* Flag to disable the calling feature.
|
|
203
|
-
* @type {boolean}
|
|
204
|
-
* @default false
|
|
205
|
-
*/
|
|
206
|
-
disableCalling: boolean;
|
|
207
|
-
/**
|
|
208
|
-
* Custom admin URL, used instead of the default admin URL for dedicated deployments.
|
|
209
|
-
* @type {string}
|
|
210
|
-
*/
|
|
211
|
-
adminHost?: string;
|
|
212
|
-
/**
|
|
213
|
-
* Custom client URL, used instead of the default client URL for dedicated deployments.
|
|
214
|
-
* @type {string}
|
|
215
|
-
*/
|
|
216
|
-
clientHost?: string;
|
|
217
|
-
/**
|
|
218
|
-
* Data source for managing AI features.
|
|
219
|
-
* @type {AIExtensionDataSource[]}
|
|
220
|
-
*/
|
|
221
|
-
aiFeatures?: AIExtensionDataSource[];
|
|
222
|
-
/**
|
|
223
|
-
* Builds and returns an instance of UIKitSettings.
|
|
224
|
-
* @returns {UIKitSettings} A new instance of UIKitSettings with the specified configuration.
|
|
225
|
-
*/
|
|
226
|
-
build(): UIKitSettings;
|
|
227
|
-
/**
|
|
228
|
-
* Sets the app ID.
|
|
229
|
-
* @param {string} appId - The unique ID of the app.
|
|
230
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
231
|
-
*/
|
|
232
|
-
setAppId(appId: string): UIKitSettingsBuilder;
|
|
233
|
-
/**
|
|
234
|
-
* Sets the region.
|
|
235
|
-
* @param {string} region - The region of the app.
|
|
236
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
237
|
-
*/
|
|
238
|
-
setRegion(region: string): UIKitSettingsBuilder;
|
|
239
|
-
/**
|
|
240
|
-
* Subscribes to presence updates for all users.
|
|
241
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
242
|
-
*/
|
|
243
|
-
subscribePresenceForAllUsers(): UIKitSettingsBuilder;
|
|
244
|
-
/**
|
|
245
|
-
* Subscribes to presence updates for specific roles.
|
|
246
|
-
* @param {string[]} roles - The roles to subscribe to.
|
|
247
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
248
|
-
*/
|
|
249
|
-
subscribePresenceForRoles(roles: string[]): UIKitSettingsBuilder;
|
|
250
|
-
/**
|
|
251
|
-
* Subscribes to presence updates for specific roles.
|
|
252
|
-
* @param {string[]} roles - The roles to subscribe to.
|
|
253
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
254
|
-
*/
|
|
255
|
-
subscribePresenceForFriends(): UIKitSettingsBuilder;
|
|
256
|
-
/**
|
|
257
|
-
* Sets the roles for presence subscription.
|
|
258
|
-
* @param {string[]} roles - The roles to subscribe to.
|
|
259
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
260
|
-
*/
|
|
261
|
-
setRoles(roles: string[]): UIKitSettingsBuilder;
|
|
262
|
-
/**
|
|
263
|
-
* Enables or disables the auto-establish socket connection.
|
|
264
|
-
* @param {boolean} autoEstablishSocketConnection - True to enable, false to disable.
|
|
265
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
266
|
-
*/
|
|
267
|
-
setAutoEstablishSocketConnection(autoEstablishSocketConnection: boolean): UIKitSettingsBuilder;
|
|
268
|
-
/**
|
|
269
|
-
* Sets the authentication key.
|
|
270
|
-
* @param {string} authKey - The authentication key.
|
|
271
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
272
|
-
*/
|
|
273
|
-
setAuthKey(authKey: string): UIKitSettingsBuilder;
|
|
274
|
-
/**
|
|
275
|
-
* Sets the custom admin host URL.
|
|
276
|
-
* @param {string} adminHost - The admin host URL.
|
|
277
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
278
|
-
*/
|
|
279
|
-
setAdminHost(adminHost: string): UIKitSettingsBuilder;
|
|
280
|
-
/**
|
|
281
|
-
* Sets the custom client host URL.
|
|
282
|
-
* @param {string} clientHost - The client host URL.
|
|
283
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
284
|
-
*/
|
|
285
|
-
setClientHost(clientHost: string): UIKitSettingsBuilder;
|
|
286
|
-
/**
|
|
287
|
-
* Sets the list of UI extensions.
|
|
288
|
-
* @param {ExtensionsDataSource[]} extensions - The list of UI extensions.
|
|
289
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
290
|
-
*/
|
|
291
|
-
setExtensions(extensions: ExtensionsDataSource[]): UIKitSettingsBuilder;
|
|
292
|
-
/**
|
|
293
|
-
* Sets the calling extension.
|
|
294
|
-
* @param {ExtensionsDataSource} calling.
|
|
295
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
296
|
-
*/
|
|
297
|
-
setCallsExtension(callingExtension: CallingExtension): UIKitSettingsBuilder;
|
|
298
|
-
/**
|
|
299
|
-
* Sets the list of AI features.
|
|
300
|
-
* @param {AIExtensionDataSource[]} aiFeatures - The list of AI features.
|
|
301
|
-
* @returns {UIKitSettingsBuilder} The builder instance.
|
|
302
|
-
*/
|
|
303
|
-
setAiFeatures(aiFeatures: AIExtensionDataSource[]): UIKitSettingsBuilder;
|
|
304
|
-
}
|
|
@@ -1,258 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This is used for providing the required date configs.
|
|
3
|
-
* It is used in components where the date field is present.
|
|
4
|
-
*/
|
|
5
|
-
export declare enum DatePatterns {
|
|
6
|
-
time = 0,
|
|
7
|
-
DayDate = 1,
|
|
8
|
-
DayDateTime = 2,
|
|
9
|
-
DateTime = 3
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* It is used for specifying the position of the auxiliary buttons.
|
|
13
|
-
* It is used in CometChatMessageComposer component.
|
|
14
|
-
*/
|
|
15
|
-
export declare enum AuxiliaryButtonAlignment {
|
|
16
|
-
left = 0,
|
|
17
|
-
right = 1
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* It is used for describing the position of the element on the UI.
|
|
21
|
-
* It is used in CometChatContextualMenu, CometChatMessageBubble, CometChatUsers and CometChatGroupMembers components.
|
|
22
|
-
*/
|
|
23
|
-
export declare enum Placement {
|
|
24
|
-
top = "top",
|
|
25
|
-
right = "right",
|
|
26
|
-
bottom = "bottom",
|
|
27
|
-
left = "left"
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* It is used for specifying the alignment of the message list.
|
|
31
|
-
* It is used in CometChatMessageList component.
|
|
32
|
-
*/
|
|
33
|
-
export declare enum MessageListAlignment {
|
|
34
|
-
left = 0,
|
|
35
|
-
standard = 1
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* This is used for specifying the position of the message bubble.
|
|
39
|
-
* It is used in various components where the message bubbles are used.
|
|
40
|
-
*/
|
|
41
|
-
export declare enum MessageBubbleAlignment {
|
|
42
|
-
left = 0,
|
|
43
|
-
right = 1,
|
|
44
|
-
center = 2
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* This is used for specifying the position of the document icon.
|
|
48
|
-
* It is used in Decorators like CallingExtension, CollaborativeDocument, CollaborativeWhiteboard.
|
|
49
|
-
*/
|
|
50
|
-
export declare enum DocumentIconAlignment {
|
|
51
|
-
left = 0,
|
|
52
|
-
right = 1
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* This is used to specify the alignment of the tabs.
|
|
56
|
-
* It is used in CometChatTabs and CometChatContacts components.
|
|
57
|
-
*/
|
|
58
|
-
export declare enum TabAlignment {
|
|
59
|
-
top = 0,
|
|
60
|
-
bottom = 1,
|
|
61
|
-
left = 2,
|
|
62
|
-
right = 3
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* This is used to specify the status of the message delivery.
|
|
66
|
-
* It is used in components related to messages.
|
|
67
|
-
*/
|
|
68
|
-
export declare enum MessageStatus {
|
|
69
|
-
inprogress = 0,
|
|
70
|
-
success = 1,
|
|
71
|
-
error = 2
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* This is used to specify the types of the read receipts for the message.
|
|
75
|
-
* It is used in Bubbles, CometChatMessageInformation components.
|
|
76
|
-
*/
|
|
77
|
-
export declare enum Receipts {
|
|
78
|
-
wait = 0,
|
|
79
|
-
sent = 1,
|
|
80
|
-
delivered = 2,
|
|
81
|
-
read = 3,
|
|
82
|
-
error = 4
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* This is used for specifying the position of the title.
|
|
86
|
-
*/
|
|
87
|
-
export declare enum TitleAlignment {
|
|
88
|
-
left = 0,
|
|
89
|
-
center = 1
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* It is used to specify the mode of selection for the list of items.
|
|
93
|
-
* It is used in components where there is a list of items involed, like users/groups etc.
|
|
94
|
-
*/
|
|
95
|
-
export declare enum SelectionMode {
|
|
96
|
-
single = 0,
|
|
97
|
-
multiple = 1,
|
|
98
|
-
none = 2
|
|
99
|
-
}
|
|
100
|
-
/**
|
|
101
|
-
* This is used to specify the states of the operation on the UI.
|
|
102
|
-
* It has options like:
|
|
103
|
-
* loading: to be used while waiting for a particular operation,
|
|
104
|
-
* empty: when there is nothing to be displayed,
|
|
105
|
-
* error: when an error occurs in the operation, and
|
|
106
|
-
* loaded: when the operation is completed.
|
|
107
|
-
*/
|
|
108
|
-
export declare enum States {
|
|
109
|
-
loading = 0,
|
|
110
|
-
empty = 1,
|
|
111
|
-
error = 2,
|
|
112
|
-
loaded = 3
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* This is used to specify the position for the time-stamp.
|
|
116
|
-
* It is used in CometChatMessageList component.
|
|
117
|
-
*/
|
|
118
|
-
export declare enum TimestampAlignment {
|
|
119
|
-
top = 0,
|
|
120
|
-
bottom = 1
|
|
121
|
-
}
|
|
122
|
-
/**
|
|
123
|
-
* This is used to specify the alignment for the icon button.
|
|
124
|
-
* It is used in CometChatTabs, CometChatOutgoingCall components.
|
|
125
|
-
*/
|
|
126
|
-
export declare enum IconButtonAlignment {
|
|
127
|
-
top = "column",
|
|
128
|
-
bottom = "column-reverse",
|
|
129
|
-
left = "row",
|
|
130
|
-
right = "row-reverse"
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* It is used to specify the type for the recording.
|
|
134
|
-
* It is used in CometChatMessageComposer component.
|
|
135
|
-
*/
|
|
136
|
-
export declare enum RecordingType {
|
|
137
|
-
audio = 0,
|
|
138
|
-
video = 1
|
|
139
|
-
}
|
|
140
|
-
/**
|
|
141
|
-
* It is used to specify which tabs should be visible amongst user and group.
|
|
142
|
-
* It is used in CometChatContacts component.
|
|
143
|
-
*/
|
|
144
|
-
export declare enum TabsVisibility {
|
|
145
|
-
usersAndGroups = 0,
|
|
146
|
-
users = 1,
|
|
147
|
-
groups = 2
|
|
148
|
-
}
|
|
149
|
-
/**
|
|
150
|
-
* This is used to specify the type of the call.
|
|
151
|
-
* It is used in CometChatCallLogs, CometChatOngoingCall components.
|
|
152
|
-
*/
|
|
153
|
-
export declare enum CallWorkflow {
|
|
154
|
-
defaultCalling = 0,
|
|
155
|
-
directCalling = 1
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* This is used to provide the alignment for the panel.
|
|
159
|
-
* It is used in CometChatMessageList component and AI module components.
|
|
160
|
-
*/
|
|
161
|
-
export declare enum PanelAlignment {
|
|
162
|
-
composerHeader = 0,
|
|
163
|
-
messageListHeader = 1,
|
|
164
|
-
messageListFooter = 2,
|
|
165
|
-
messages = 3
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* It is used to provide the alignment for the labels.
|
|
169
|
-
*/
|
|
170
|
-
export declare enum LabelAlignment {
|
|
171
|
-
top = "column",
|
|
172
|
-
bottom = "column-reverse",
|
|
173
|
-
left = "row",
|
|
174
|
-
right = "row-reverse"
|
|
175
|
-
}
|
|
176
|
-
/**
|
|
177
|
-
* It is used to specify the type of the UI element.
|
|
178
|
-
* It is used in modal components.
|
|
179
|
-
*/
|
|
180
|
-
export declare enum ElementType {
|
|
181
|
-
label = "label",
|
|
182
|
-
text = "textInput",
|
|
183
|
-
dropdown = "dropdown",
|
|
184
|
-
checkbox = "checkbox",
|
|
185
|
-
radio = "radio",
|
|
186
|
-
button = "button",
|
|
187
|
-
singleSelect = "singleSelect",
|
|
188
|
-
dateTime = "dateTime"
|
|
189
|
-
}
|
|
190
|
-
/**
|
|
191
|
-
* It is used to specify what action a button should perform.
|
|
192
|
-
* It is used in InteractiveMessageUtils function and in modal components.
|
|
193
|
-
*/
|
|
194
|
-
export declare enum ButtonAction {
|
|
195
|
-
apiAction = "apiAction",
|
|
196
|
-
urlNavigation = "urlNavigation",
|
|
197
|
-
custom = "custom"
|
|
198
|
-
}
|
|
199
|
-
/**
|
|
200
|
-
* It is used to specify the type of the http request call.
|
|
201
|
-
* It is used in InteractiveMessageUtils function and APIAction inside modals.
|
|
202
|
-
*/
|
|
203
|
-
export declare enum HTTPSRequestMethods {
|
|
204
|
-
POST = "POST",
|
|
205
|
-
PUT = "PUT",
|
|
206
|
-
PATCH = "PATCH",
|
|
207
|
-
DELETE = "DELETE"
|
|
208
|
-
}
|
|
209
|
-
/**
|
|
210
|
-
* It is used to select the mode for date time picker component.
|
|
211
|
-
* It is used in DateTimePickerElement component.
|
|
212
|
-
*/
|
|
213
|
-
export declare enum DateTimePickerMode {
|
|
214
|
-
date = "date",
|
|
215
|
-
dateTime = "dateTime",
|
|
216
|
-
time = "time"
|
|
217
|
-
}
|
|
218
|
-
/**
|
|
219
|
-
* It is used for specifying the type of user/members list.
|
|
220
|
-
* It is used in CometChatMessageComposer and CometChatUserMemberWrapper components.
|
|
221
|
-
*/
|
|
222
|
-
export declare enum UserMemberListType {
|
|
223
|
-
users = 0,
|
|
224
|
-
groupmembers = 1
|
|
225
|
-
}
|
|
226
|
-
/**
|
|
227
|
-
* This is used to specify the source for mouse event with mentions information.
|
|
228
|
-
* It is used in CometChatMentionsFormatter util.
|
|
229
|
-
*/
|
|
230
|
-
export declare enum MouseEventSource {
|
|
231
|
-
mentions = 0
|
|
232
|
-
}
|
|
233
|
-
/**
|
|
234
|
-
* It is used to describe the mode for previewing message.
|
|
235
|
-
* It is used in CometChatMessageComposer component.
|
|
236
|
-
*/
|
|
237
|
-
export declare enum PreviewMessageMode {
|
|
238
|
-
edit = 0,
|
|
239
|
-
none = 1
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* It is generally used for formatting the text by providing the required data.
|
|
243
|
-
* It is used in CometChatConversations, CometChatTextFormatter and CometChatMentionsFormatter.
|
|
244
|
-
*/
|
|
245
|
-
export declare enum MentionsTargetElement {
|
|
246
|
-
textinput = 0,
|
|
247
|
-
textbubble = 1,
|
|
248
|
-
conversation = 2
|
|
249
|
-
}
|
|
250
|
-
/**
|
|
251
|
-
* It is used for providing the value for the mentions visibility.
|
|
252
|
-
* It is used in CometChatMentionsFormatter component.
|
|
253
|
-
*/
|
|
254
|
-
export declare enum MentionsVisibility {
|
|
255
|
-
usersConversationOnly = 0,
|
|
256
|
-
groupConversationOnly = 1,
|
|
257
|
-
both = 2
|
|
258
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/**
|
|
3
|
-
* AIBaseConfiguration is a base configuration class that provides options for customizing the appearance and behavior of AI-related components.
|
|
4
|
-
*/
|
|
5
|
-
export declare class AIBaseConfiguration {
|
|
6
|
-
/**
|
|
7
|
-
* Overrides the default API configuration for fetching data.
|
|
8
|
-
* @param {CometChat.User} [user] - The user object.
|
|
9
|
-
* @param {CometChat.Group} [group] - The group object.
|
|
10
|
-
* @returns {Promise<Object>} A promise resolving to a custom configuration object.
|
|
11
|
-
*/
|
|
12
|
-
apiConfiguration?: (user?: CometChat.User, group?: CometChat.Group) => Promise<Object>;
|
|
13
|
-
/**
|
|
14
|
-
* Custom view component for displaying the error state.
|
|
15
|
-
* @type {any}
|
|
16
|
-
*/
|
|
17
|
-
errorStateView?: JSX.Element;
|
|
18
|
-
/**
|
|
19
|
-
* Custom view component for displaying the empty state.
|
|
20
|
-
* @type {any}
|
|
21
|
-
*/
|
|
22
|
-
emptyStateView?: JSX.Element;
|
|
23
|
-
/**
|
|
24
|
-
* Custom view component for displaying the loading state.
|
|
25
|
-
* @type {any}
|
|
26
|
-
*/
|
|
27
|
-
loadingStateView?: JSX.Element;
|
|
28
|
-
/**
|
|
29
|
-
* URL for the loading icon.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @default loadingIcon
|
|
32
|
-
*/
|
|
33
|
-
loadingIconURL?: string;
|
|
34
|
-
/**
|
|
35
|
-
* URL for the error icon.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @default errorIcon
|
|
38
|
-
*/
|
|
39
|
-
errorIconURL?: string;
|
|
40
|
-
/**
|
|
41
|
-
* URL for the empty state icon.
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @default emptyIcon
|
|
44
|
-
*/
|
|
45
|
-
emptyIconURL?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Constructs a new AIBaseConfiguration instance.
|
|
48
|
-
* @param {Partial<AIBaseConfiguration>} props - Partial properties to customize the base configuration.
|
|
49
|
-
*/
|
|
50
|
-
constructor(props: Partial<AIBaseConfiguration>);
|
|
51
|
-
}
|
package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterConfiguration.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AIBaseConfiguration } from "../AIBaseConfiguration";
|
|
3
|
-
/**
|
|
4
|
-
* AIConversationStarterConfiguration provides customization options for the AI conversation starter view.
|
|
5
|
-
* Extends the base configuration with additional properties specific to conversation starters.
|
|
6
|
-
*/
|
|
7
|
-
export declare class AIConversationStarterConfiguration extends AIBaseConfiguration {
|
|
8
|
-
/**
|
|
9
|
-
* Custom callback to display a custom UI for conversation starters.
|
|
10
|
-
* @param {string[]} response - The list of conversation starters.
|
|
11
|
-
* @param {() => void} [closeCallBack] - Optional callback to close the custom view.
|
|
12
|
-
* @returns {Promise<JSX.Element>} A promise resolving to a custom view component.
|
|
13
|
-
*/
|
|
14
|
-
customView?: (response: string[], closeCallBack?: () => void) => Promise<JSX.Element>;
|
|
15
|
-
/**
|
|
16
|
-
* Constructs a new AIConversationStarterConfiguration instance.
|
|
17
|
-
* @param {Partial<AIConversationStarterConfiguration>} props - Partial properties to customize the conversation starter configuration.
|
|
18
|
-
*/
|
|
19
|
-
constructor(props: Partial<AIConversationStarterConfiguration>);
|
|
20
|
-
}
|
package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterDecorator.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DataSource } from "../../../utils/DataSource";
|
|
2
|
-
import { DataSourceDecorator } from "../../../utils/DataSourceDecorator";
|
|
3
|
-
import { AIConversationStarterConfiguration } from "./AIConversationStarterConfiguration";
|
|
4
|
-
export declare class AIConversationStarterDecorator extends DataSourceDecorator {
|
|
5
|
-
configuration?: AIConversationStarterConfiguration;
|
|
6
|
-
newDataSource: DataSource;
|
|
7
|
-
currentMessage: CometChat.BaseMessage | null;
|
|
8
|
-
loggedInUser: CometChat.User | null;
|
|
9
|
-
user: CometChat.User;
|
|
10
|
-
group: CometChat.Group;
|
|
11
|
-
constructor(dataSource: DataSource, configuration?: AIConversationStarterConfiguration);
|
|
12
|
-
getId(): string;
|
|
13
|
-
editReply(reply: string): void;
|
|
14
|
-
closeIfMessageReceived(message: CometChat.BaseMessage): void;
|
|
15
|
-
getConversationStarter: () => Promise<string[]>;
|
|
16
|
-
private loadConversationStarter;
|
|
17
|
-
private addMessageListener;
|
|
18
|
-
}
|
package/dist/types/src/components/AI/AIConversationStarter/AIConversationStarterExtension.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AIExtensionDataSource } from "../AIExtensionDataSource";
|
|
2
|
-
import { AIConversationStarterConfiguration } from "./AIConversationStarterConfiguration";
|
|
3
|
-
export declare class AIConversationStarterExtension extends AIExtensionDataSource {
|
|
4
|
-
private configuration?;
|
|
5
|
-
constructor(configuration?: AIConversationStarterConfiguration);
|
|
6
|
-
addExtension(): void;
|
|
7
|
-
getExtensionId(): string;
|
|
8
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { AIConversationStarterConfiguration } from './AIConversationStarterConfiguration';
|
|
2
|
-
interface IAIConversationStarterProps {
|
|
3
|
-
getConversationStarterCallback?: () => Promise<string[]>;
|
|
4
|
-
editReplyCallback?: (reply: string) => void;
|
|
5
|
-
configuration?: AIConversationStarterConfiguration;
|
|
6
|
-
}
|
|
7
|
-
declare const AIConversationStarterView: (props: IAIConversationStarterProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export { AIConversationStarterView };
|
package/dist/types/src/components/AI/AIConversationSummary/AIConversationSummaryConfiguration.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { AIBaseConfiguration } from "../AIBaseConfiguration";
|
|
2
|
-
/**
|
|
3
|
-
* AIConversationSummaryConfiguration provides customization options for the AI conversation summary view.
|
|
4
|
-
* Extends the base configuration with additional properties specific to conversation summaries.
|
|
5
|
-
*/
|
|
6
|
-
export declare class AIConversationSummaryConfiguration extends AIBaseConfiguration {
|
|
7
|
-
/**
|
|
8
|
-
* Custom callback to display a custom UI for conversation summaries.
|
|
9
|
-
* @param {string} response - The conversation summary response.
|
|
10
|
-
* @param {() => void} [closeCallBack] - Optional callback to close the custom view.
|
|
11
|
-
* @returns {Promise<any>} A promise resolving to a custom view component.
|
|
12
|
-
*/
|
|
13
|
-
customView?: (response: string, closeCallBack?: () => void) => Promise<any>;
|
|
14
|
-
/**
|
|
15
|
-
* The threshold for the number of unread messages required to generate a conversation summary.
|
|
16
|
-
* @type {number}
|
|
17
|
-
* @default 30
|
|
18
|
-
*/
|
|
19
|
-
unreadMessageThreshold?: number;
|
|
20
|
-
/**
|
|
21
|
-
* URL for the custom close button icon.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @default closeIcon
|
|
24
|
-
*/
|
|
25
|
-
closeIconURL?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Constructs a new AIConversationSummaryConfiguration instance.
|
|
28
|
-
* @param {Partial<AIConversationSummaryConfiguration>} props - Partial properties to customize the conversation summary configuration.
|
|
29
|
-
*/
|
|
30
|
-
constructor(props: Partial<AIConversationSummaryConfiguration>);
|
|
31
|
-
}
|