@cometchat/chat-uikit-react-native 4.3.10 → 4.3.12
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/lib/AI/AIAssistBot/AIAssistBotView.js +4 -4
- package/lib/AI/AIAssistBot/AIAssistBotView.js.map +1 -1
- package/lib/CometChatAddMembers/CometChatAddMembers.js +22 -13
- package/lib/CometChatAddMembers/CometChatAddMembers.js.map +1 -1
- package/lib/CometChatBannedMembers/CometChatBannedMembers.d.ts +3 -0
- package/lib/CometChatBannedMembers/CometChatBannedMembers.js.map +1 -1
- package/lib/CometChatConversations/CometChatConversations.js +151 -25
- package/lib/CometChatConversations/CometChatConversations.js.map +1 -1
- package/lib/CometChatConversations/ConversationsConfiguration.js +15 -5
- package/lib/CometChatConversations/ConversationsConfiguration.js.map +1 -1
- package/lib/CometChatDetails/CometChatDetails.js +13 -9
- package/lib/CometChatDetails/CometChatDetails.js.map +1 -1
- package/lib/CometChatDetails/listners.js +41 -19
- package/lib/CometChatDetails/listners.js.map +1 -1
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js +24 -7
- package/lib/CometChatGroupMembers/CometChatGroupMembers.js.map +1 -1
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js +14 -2
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.js.map +1 -1
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js +2 -2
- package/lib/CometChatGroupsWithMessages/CometChatGroupsWithMessages.js.map +1 -1
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js +14 -6
- package/lib/CometChatMessageComposer/CometChatMessageComposer.js.map +1 -1
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js +4 -9
- package/lib/CometChatMessageHeader/CometChatMessageHeader.js.map +1 -1
- package/lib/CometChatMessageList/CometChatMessageList.js +92 -58
- package/lib/CometChatMessageList/CometChatMessageList.js.map +1 -1
- package/lib/CometChatMessageList/MessageListConfiguration.js +7 -1
- package/lib/CometChatMessageList/MessageListConfiguration.js.map +1 -1
- package/lib/CometChatMessages/CometChatMessages.js +1 -1
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js +1 -1
- package/lib/CometChatTransferOwnership/CometChatTransferOwnership.js.map +1 -1
- package/lib/CometChatUsers/CometChatUsers.js +2 -2
- package/lib/CometChatUsers/CometChatUsers.js.map +1 -1
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js +2 -2
- package/lib/CometChatUsersWithMessages/CometChatUsersWithMessages.js.map +1 -1
- package/lib/calls/CallEvents.d.ts +1 -1
- package/lib/calls/CallEvents.js +1 -1
- package/lib/calls/CallEvents.js.map +1 -1
- package/lib/calls/CallingExtentionDecorator.d.ts +3 -2
- package/lib/calls/CallingExtentionDecorator.js +1 -1
- package/lib/calls/CallingExtentionDecorator.js.map +1 -1
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js +5 -2
- package/lib/calls/CometChatCallButtons/CometChatCallButtons.js.map +1 -1
- package/lib/calls/CometChatCallLogs/CometChatCallLogs.js +1 -1
- package/lib/calls/CometChatCallLogs/CometChatCallLogs.js.map +1 -1
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js +1 -1
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.js.map +1 -1
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js +2 -2
- package/lib/calls/CometChatOutgoingCall/CometChatOutgoingCall.js.map +1 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.d.ts +1 -1
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js +3 -0
- package/lib/extensions/CollaborativeDocument/CollaborativeDocumentExtensionDecorator.js.map +1 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.d.ts +1 -1
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js +3 -0
- package/lib/extensions/CollaborativeWhiteboard/CollaborativeWhiteboardExtensionDecorator.js.map +1 -1
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.js.map +1 -1
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.js.map +1 -1
- package/lib/extensions/Polls/PollsDecorator.d.ts +1 -2
- package/lib/extensions/Polls/PollsDecorator.js +7 -10
- package/lib/extensions/Polls/PollsDecorator.js.map +1 -1
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js +2 -2
- package/lib/extensions/SmartReplies/SmartRepliesDecorator.js.map +1 -1
- package/lib/extensions/Stickers/StickersExtensionDecorator.d.ts +1 -1
- package/lib/extensions/Stickers/StickersExtensionDecorator.js +7 -1
- package/lib/extensions/Stickers/StickersExtensionDecorator.js.map +1 -1
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.d.ts +1 -1
- package/lib/extensions/TextModeration/TextModerationExtensionDecorator.js.map +1 -1
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js +1 -1
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +4 -2
- package/lib/index.js.map +1 -1
- package/lib/shared/CometChatUiKit/CometChatUIKit.d.ts +4 -2
- package/lib/shared/CometChatUiKit/CometChatUIKit.js +27 -10
- package/lib/shared/CometChatUiKit/CometChatUIKit.js.map +1 -1
- package/lib/shared/CometChatUiKit/UIKitSettings.d.ts +4 -3
- package/lib/shared/CometChatUiKit/UIKitSettings.js +3 -2
- package/lib/shared/CometChatUiKit/UIKitSettings.js.map +1 -1
- package/lib/shared/base/Types.d.ts +8 -0
- package/lib/shared/base/index.d.ts +2 -2
- package/lib/shared/base/index.js.map +1 -1
- package/lib/shared/constants/UIKitConstants.d.ts +2 -10
- package/lib/shared/constants/UIKitConstants.js +2 -2
- package/lib/shared/constants/UIKitConstants.js.map +1 -1
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js +3 -0
- package/lib/shared/events/CometChatUIEventHandler/CometChatUIEventHandler.js.map +1 -1
- package/lib/shared/events/CometChatUIEventHandler/Listener.d.ts +3 -3
- package/lib/shared/events/CometChatUIEventHandler/Listener.js +4 -4
- package/lib/shared/events/CometChatUIEventHandler/Listener.js.map +1 -1
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js +3 -1
- package/lib/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.js.map +1 -1
- package/lib/shared/formatters/CometChatTextFormatter.js.map +1 -1
- package/lib/shared/framework/DataSourceDecorator.d.ts +2 -3
- package/lib/shared/framework/DataSourceDecorator.js.map +1 -1
- package/lib/shared/framework/MessageDataSource.js +38 -16
- package/lib/shared/framework/MessageDataSource.js.map +1 -1
- package/lib/shared/index.d.ts +4 -4
- package/lib/shared/index.js +3 -3
- package/lib/shared/index.js.map +1 -1
- package/lib/shared/libs/VideoPlayer/Video.js +4 -5
- package/lib/shared/libs/VideoPlayer/Video.js.map +1 -1
- package/lib/shared/modals/CometChatMessageTemplate.js +8 -1
- package/lib/shared/modals/CometChatMessageTemplate.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveElements/index.d.ts +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/index.js +1 -0
- package/lib/shared/modals/InteractiveData/InteractiveElements/index.js.map +1 -1
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js +1 -2
- package/lib/shared/modals/InteractiveData/InteractiveEntities/ElementEntity.js.map +1 -1
- package/lib/shared/modals/InteractiveData/index.d.ts +1 -1
- package/lib/shared/modals/InteractiveData/index.js +1 -1
- package/lib/shared/modals/InteractiveData/index.js.map +1 -1
- package/lib/shared/modals/index.d.ts +2 -2
- package/lib/shared/modals/index.js +2 -2
- package/lib/shared/modals/index.js.map +1 -1
- package/lib/shared/resources/CometChatLocalize/CometChatLocalize.d.ts +28 -0
- package/lib/shared/resources/CometChatLocalize/resources/ar/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/de/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/en/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/es/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/fr/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/hi/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/hu/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/lt/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/ms/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/pt/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/ru/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/sv/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/zh/translation.json +3 -1
- package/lib/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +3 -1
- package/lib/shared/utils/CometChatMessageHelper/index.d.ts +1 -0
- package/lib/shared/utils/CometChatMessageHelper/index.js +3 -0
- package/lib/shared/utils/CometChatMessageHelper/index.js.map +1 -1
- package/lib/shared/utils/MessageUtils.d.ts +1 -1
- package/lib/shared/utils/MessageUtils.js +6 -1
- package/lib/shared/utils/MessageUtils.js.map +1 -1
- package/lib/shared/utils/PermissionUtil.js +1 -1
- package/lib/shared/utils/PermissionUtil.js.map +1 -1
- package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.d.ts +1 -1
- package/lib/shared/views/CometChatDateTimePicker/CometChatDateTimePicker.js.map +1 -1
- package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js +2 -3
- package/lib/shared/views/CometChatFormBubble/CometChatFormBubble.js.map +1 -1
- package/lib/shared/views/CometChatList/CometChatList.js +37 -18
- package/lib/shared/views/CometChatList/CometChatList.js.map +1 -1
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js +19 -4
- package/lib/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.js.map +1 -1
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.js.map +1 -1
- package/lib/shared/views/CometChatReactions/CometChatReactions.d.ts +1 -1
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.d.ts +1 -1
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js +3 -5
- package/lib/shared/views/CometChatSchedulerBubble/CometChatSchedulerBubble.js.map +1 -1
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js +1 -1
- package/lib/shared/views/CometChatVideoBubble/CometChatVideoBubble.js.map +1 -1
- package/lib/shared/views/index.d.ts +2 -1
- package/lib/shared/views/index.js +2 -1
- package/lib/shared/views/index.js.map +1 -1
- package/package.json +1 -1
- package/src/AI/AIAssistBot/AIAssistBotView.tsx +4 -4
- package/src/CometChatAddMembers/CometChatAddMembers.tsx +30 -20
- package/src/CometChatConversations/CometChatConversations.tsx +14 -12
- package/src/CometChatDetails/listners.ts +56 -35
- package/src/CometChatGroupMembers/CometChatGroupMembers.tsx +5 -5
- package/src/CometChatMessageComposer/CometChatMessageComposer.tsx +4 -3
- package/src/CometChatMessageHeader/CometChatMessageHeader.tsx +41 -50
- package/src/CometChatMessageList/CometChatMessageList.tsx +55 -35
- package/src/CometChatUsers/CometChatUsers.tsx +2 -2
- package/src/calls/CometChatCallButtons/CometChatCallButtons.tsx +2 -1
- package/src/calls/CometChatCallLogs/CometChatCallLogs.tsx +6 -6
- package/src/extensions/SmartReplies/SmartRepliesDecorator.tsx +2 -1
- package/src/extensions/Stickers/StickersExtensionDecorator.tsx +2 -1
- package/src/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.tsx +6 -6
- package/src/extensions/ThumbnailGeneration/resources/index.ts +2 -2
- package/src/shared/CometChatUiKit/CometChatUIKit.ts +8 -8
- package/src/shared/resources/CometChatLocalize/resources/ar/translation.json +3 -2
- package/src/shared/resources/CometChatLocalize/resources/de/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/en/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/es/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/fr/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/hi/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/hu/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/lt/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/ms/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/pt/translation.json +3 -2
- package/src/shared/resources/CometChatLocalize/resources/ru/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/sv/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/zh/translation.json +3 -1
- package/src/shared/resources/CometChatLocalize/resources/zh-tw/translation.json +3 -1
- package/src/shared/utils/CometChatMessageHelper/index.ts +4 -0
- package/src/shared/utils/MessageUtils.tsx +14 -5
- package/src/shared/utils/PermissionUtil.ts +1 -1
- package/src/shared/views/CometChatImageBubble/CometChatImageBubble.tsx +10 -3
- package/src/shared/views/CometChatMediaRecorder/CometChatMediaRecorder.tsx +20 -4
- package/src/shared/views/CometChatVideoBubble/CometChatVideoBubble.tsx +8 -1
- package/src/shared/views/CometChatVideoBubble/VideoBubbleStyle.ts +1 -1
- package/lib/AI/AIAssistBot/resources/CloseIcon.png +0 -0
- package/lib/AI/AIConversationSummary/resources/close.png +0 -0
- package/lib/AI/resources/ai-empty.png +0 -0
- package/lib/AI/resources/ai-error.png +0 -0
- package/lib/AI/resources/spineer.png +0 -0
- package/lib/CometChatAddMembers/AddMembersConfiguration.d.ts +0 -43
- package/lib/CometChatBannedMembers/BannedMembersConfiguration.d.ts +0 -46
- package/lib/CometChatBannedMembers/resources/clear.png +0 -0
- package/lib/CometChatContacts/Header.d.ts +0 -31
- package/lib/CometChatConversations/CometChatConversations.d.ts +0 -199
- package/lib/CometChatConversations/ConversationsConfiguration.d.ts +0 -96
- package/lib/CometChatConversations/resources/back.png +0 -0
- package/lib/CometChatConversations/resources/blue-double-tick-icon.png +0 -0
- package/lib/CometChatConversations/resources/close.png +0 -0
- package/lib/CometChatConversations/resources/delete.png +0 -0
- package/lib/CometChatConversations/resources/error.png +0 -0
- package/lib/CometChatConversations/resources/grey-double-tick-icon.png +0 -0
- package/lib/CometChatConversations/resources/grey-tick-icon.png +0 -0
- package/lib/CometChatConversations/resources/new.png +0 -0
- package/lib/CometChatConversations/resources/password.png +0 -0
- package/lib/CometChatConversations/resources/private.png +0 -0
- package/lib/CometChatConversations/resources/rightTick.png +0 -0
- package/lib/CometChatConversations/resources/sending.png +0 -0
- package/lib/CometChatConversations/resources/spineer.png +0 -0
- package/lib/CometChatConversationsWithMessages/resources/start.png +0 -0
- package/lib/CometChatCreateGroup/resources/close.png +0 -0
- package/lib/CometChatCreateGroup/resources/rightTick.png +0 -0
- package/lib/CometChatCreateGroup/resources/warning.png +0 -0
- package/lib/CometChatDetails/CometChatDetails.d.ts +0 -281
- package/lib/CometChatDetails/DetailsConfiguration.d.ts +0 -36
- package/lib/CometChatDetails/resources/Back.png +0 -0
- package/lib/CometChatDetails/resources/close.png +0 -0
- package/lib/CometChatDetails/resources/password.png +0 -0
- package/lib/CometChatDetails/resources/private.png +0 -0
- package/lib/CometChatDetails/resources/right-arrow.png +0 -0
- package/lib/CometChatGroupMembers/CometChatGroupMembers.d.ts +0 -96
- package/lib/CometChatGroupMembers/GroupMemberConfiguration.d.ts +0 -63
- package/lib/CometChatGroupMembers/resources/banIcon.png +0 -0
- package/lib/CometChatGroupMembers/resources/check.png +0 -0
- package/lib/CometChatGroupMembers/resources/downArrowIcon.png +0 -0
- package/lib/CometChatGroupMembers/resources/kickIcon.png +0 -0
- package/lib/CometChatGroupMembers/resources/rightTick.png +0 -0
- package/lib/CometChatGroups/CometChatGroups.d.ts +0 -141
- package/lib/CometChatGroups/GroupsConfiguration.d.ts +0 -74
- package/lib/CometChatGroups/resources/back.png +0 -0
- package/lib/CometChatGroups/resources/check.png +0 -0
- package/lib/CometChatGroups/resources/close.png +0 -0
- package/lib/CometChatGroups/resources/create.png +0 -0
- package/lib/CometChatGroups/resources/more.png +0 -0
- package/lib/CometChatGroups/resources/password.png +0 -0
- package/lib/CometChatGroups/resources/private.png +0 -0
- package/lib/CometChatGroups/resources/rightTick.png +0 -0
- package/lib/CometChatGroups/resources/search.png +0 -0
- package/lib/CometChatGroups/resources/spineer.png +0 -0
- package/lib/CometChatGroupsWithMessages/resources/write.png +0 -0
- package/lib/CometChatJoinProtectedGroup/resources/close.png +0 -0
- package/lib/CometChatJoinProtectedGroup/resources/rightTick.png +0 -0
- package/lib/CometChatMessageComposer/CometChatMessageComposer.d.ts +0 -269
- package/lib/CometChatMessageComposer/MessageComposerConfiguration.d.ts +0 -47
- package/lib/CometChatMessageComposer/resources/Info.png +0 -0
- package/lib/CometChatMessageComposer/resources/ai.png +0 -0
- package/lib/CometChatMessageComposer/resources/circle_add.png +0 -0
- package/lib/CometChatMessageComposer/resources/close.png +0 -0
- package/lib/CometChatMessageComposer/resources/emoji.png +0 -0
- package/lib/CometChatMessageComposer/resources/heart.png +0 -0
- package/lib/CometChatMessageComposer/resources/image.png +0 -0
- package/lib/CometChatMessageComposer/resources/microphone.png +0 -0
- package/lib/CometChatMessageComposer/resources/send_message.png +0 -0
- package/lib/CometChatMessageComposer/resources/stickers.png +0 -0
- package/lib/CometChatMessageHeader/CometChatMessageHeader.d.ts +0 -150
- package/lib/CometChatMessageHeader/MessageHeaderConfiguration.d.ts +0 -37
- package/lib/CometChatMessageHeader/resources/Back.png +0 -0
- package/lib/CometChatMessageHeader/resources/password.png +0 -0
- package/lib/CometChatMessageHeader/resources/private.png +0 -0
- package/lib/CometChatMessageInformation/CometChatMessageInformation.d.ts +0 -36
- package/lib/CometChatMessageInformation/resources/Spineer.png +0 -0
- package/lib/CometChatMessageList/CometChatMessageList.d.ts +0 -75
- package/lib/CometChatMessageList/MessageListConfiguration.d.ts +0 -101
- package/lib/CometChatMessageList/resources/back.png +0 -0
- package/lib/CometChatMessageList/resources/close.png +0 -0
- package/lib/CometChatMessageList/resources/downArrowIcon.png +0 -0
- package/lib/CometChatMessageList/resources/leftarrowcurve.png +0 -0
- package/lib/CometChatMessageList/resources/rightArrowIcon.png +0 -0
- package/lib/CometChatMessageList/resources/rightarrowcurve.png +0 -0
- package/lib/CometChatMessageList/resources/spineer.png +0 -0
- package/lib/CometChatMessages/CometChatMessages.d.ts +0 -42
- package/lib/CometChatMessages/MessagesConfiguration.d.ts +0 -69
- package/lib/CometChatMessages/resources/info.png +0 -0
- package/lib/CometChatTabs/TabItems.d.ts +0 -11
- package/lib/CometChatThreadedMessages/CometChatThreadedMessages.d.ts +0 -90
- package/lib/CometChatThreadedMessages/ThreadedMessagesConfiguration.d.ts +0 -18
- package/lib/CometChatThreadedMessages/resources/Back.png +0 -0
- package/lib/CometChatThreadedMessages/resources/close.png +0 -0
- package/lib/CometChatThreadedMessages/resources/more.png +0 -0
- package/lib/CometChatThreadedMessages/resources/password.png +0 -0
- package/lib/CometChatThreadedMessages/resources/private.png +0 -0
- package/lib/CometChatThreadedMessages/resources/right-arrow.png +0 -0
- package/lib/CometChatTransferOwnership/TransferOwnershipConfiguration.d.ts +0 -41
- package/lib/CometChatUsers/CometChatUsers.d.ts +0 -69
- package/lib/CometChatUsers/UsersConfiguration.d.ts +0 -43
- package/lib/calls/CometChatCallBubble/resources/avatar.png +0 -0
- package/lib/calls/CometChatCallBubble/resources/incomingaudiocall.png +0 -0
- package/lib/calls/CometChatCallBubble/resources/incomingvideocall.png +0 -0
- package/lib/calls/CometChatCallButtons/resources/Call.png +0 -0
- package/lib/calls/CometChatCallButtons/resources/Video.png +0 -0
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.d.ts +0 -54
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js +0 -31
- package/lib/calls/CometChatCallDetails/CallDetailsConfiguration.js.map +0 -1
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.d.ts +0 -20
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.js +0 -27
- package/lib/calls/CometChatCallDetails/CallDetailsStyle.js.map +0 -1
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.d.ts +0 -1
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.js +0 -137
- package/lib/calls/CometChatCallDetails/CometChatCallDetails.js.map +0 -1
- package/lib/calls/CometChatCallDetails/index.d.ts +0 -3
- package/lib/calls/CometChatCallDetails/index.js +0 -4
- package/lib/calls/CometChatCallDetails/index.js.map +0 -1
- package/lib/calls/CometChatCallDetails/resources/index.d.ts +0 -2
- package/lib/calls/CometChatCallDetails/resources/index.js +0 -3
- package/lib/calls/CometChatCallDetails/resources/index.js.map +0 -1
- package/lib/calls/CometChatCallDetails/style.d.ts +0 -12
- package/lib/calls/CometChatCallDetails/style.js +0 -14
- package/lib/calls/CometChatCallDetails/style.js.map +0 -1
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.d.ts +0 -86
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js +0 -39
- package/lib/calls/CometChatCallHistory/CallHistoryConfiguration.js.map +0 -1
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.d.ts +0 -13
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.js +0 -20
- package/lib/calls/CometChatCallHistory/CallHistoryStyle.js.map +0 -1
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.d.ts +0 -1
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.js +0 -250
- package/lib/calls/CometChatCallHistory/CometChatCallHistory.js.map +0 -1
- package/lib/calls/CometChatCallHistory/index.d.ts +0 -3
- package/lib/calls/CometChatCallHistory/index.js +0 -4
- package/lib/calls/CometChatCallHistory/index.js.map +0 -1
- package/lib/calls/CometChatCallHistory/resources/index.d.ts +0 -8
- package/lib/calls/CometChatCallHistory/resources/index.js +0 -9
- package/lib/calls/CometChatCallHistory/resources/index.js.map +0 -1
- package/lib/calls/CometChatCallHistory/style.d.ts +0 -21
- package/lib/calls/CometChatCallHistory/style.js +0 -23
- package/lib/calls/CometChatCallHistory/style.js.map +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.d.ts +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js +0 -30
- package/lib/calls/CometChatCallHistoryWithDetails/CometChatCallHistoryWithDetails.js.map +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.d.ts +0 -6
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js +0 -2
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsConfiguration.js.map +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.d.ts +0 -2
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js +0 -2
- package/lib/calls/CometChatCallHistoryWithDetails/HistoryWithDetailsStyle.js.map +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/index.d.ts +0 -3
- package/lib/calls/CometChatCallHistoryWithDetails/index.js +0 -2
- package/lib/calls/CometChatCallHistoryWithDetails/index.js.map +0 -1
- package/lib/calls/CometChatCallHistoryWithDetails/style.d.ts +0 -8
- package/lib/calls/CometChatCallHistoryWithDetails/style.js +0 -10
- package/lib/calls/CometChatCallHistoryWithDetails/style.js.map +0 -1
- package/lib/calls/CometChatCallLogDetails/resources/CloseIcon.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/Back.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/Call.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/Info.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/Selection.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/Spineer.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/Video.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/check.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/incomingcall.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/incomingvideo.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/missedcall.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/missedvideo.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/outgoingcall.png +0 -0
- package/lib/calls/CometChatCallLogHistory/resources/outgoingvideo.png +0 -0
- package/lib/calls/CometChatCallLogParticipants/resources/Back.png +0 -0
- package/lib/calls/CometChatCallLogRecordings/resources/Back.png +0 -0
- package/lib/calls/CometChatCallLogRecordings/resources/download.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/Back.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/Info.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/Selection.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/Spinner.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/check.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/incomingcall.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/incomingvideo.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/missedcall.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/missedvideo.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/outgoingcall.png +0 -0
- package/lib/calls/CometChatCallLogs/resources/outgoingvideo.png +0 -0
- package/lib/calls/CometChatIncomingCall/CometChatIncomingCall.d.ts +0 -21
- package/lib/calls/CometChatIncomingCall/resources/Call.png +0 -0
- package/lib/calls/CometChatIncomingCall/resources/close.png +0 -0
- package/lib/calls/CometChatIncomingCall/resources/incomingaudiocall.png +0 -0
- package/lib/calls/CometChatIncomingCall/resources/incomingvideocall.png +0 -0
- package/lib/calls/CometChatOutgoingCall/resources/Close.png +0 -0
- package/lib/calls/resources/Call.png +0 -0
- package/lib/calls/resources/Video.png +0 -0
- package/lib/calls/resources/nextarrow.png +0 -0
- package/lib/extensions/CollaborativeBubble/resources/whiteboard.png +0 -0
- package/lib/extensions/CollaborativeDocument/resources/collaborative_document.png +0 -0
- package/lib/extensions/CollaborativeDocument/resources/collaborative_document_2x.png +0 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/collaborative_whiteboard.png +0 -0
- package/lib/extensions/CollaborativeWhiteboard/resources/whiteboard.png +0 -0
- package/lib/extensions/ImageModeration/ImageModerationDecorator.d.ts +0 -13
- package/lib/extensions/ImageModeration/resources/unsafe.png +0 -0
- package/lib/extensions/LinkPreview/LinkPreviewBubble.d.ts +0 -12
- package/lib/extensions/LinkPreview/LinkPreviewExtentionDecorator.d.ts +0 -13
- package/lib/extensions/LinkPreview/resources/defaultImage.png +0 -0
- package/lib/extensions/MessageTranslation/MessageTranslationDecorator.d.ts +0 -21
- package/lib/extensions/MessageTranslation/resources/translate.png +0 -0
- package/lib/extensions/Polls/resources/close.png +0 -0
- package/lib/extensions/Polls/resources/document.png +0 -0
- package/lib/extensions/Polls/resources/kickIcon.png +0 -0
- package/lib/extensions/Polls/resources/rightTick.png +0 -0
- package/lib/extensions/Polls/resources/warning.png +0 -0
- package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.d.ts +0 -22
- package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js +0 -203
- package/lib/extensions/Reactions/CometChatMessageReactions/CometChatMessageReactions.js.map +0 -1
- package/lib/extensions/Reactions/CometChatMessageReactions/index.d.ts +0 -2
- package/lib/extensions/Reactions/CometChatMessageReactions/index.js +0 -3
- package/lib/extensions/Reactions/CometChatMessageReactions/index.js.map +0 -1
- package/lib/extensions/Reactions/CometChatMessageReactions/style.d.ts +0 -40
- package/lib/extensions/Reactions/CometChatMessageReactions/style.js +0 -42
- package/lib/extensions/Reactions/CometChatMessageReactions/style.js.map +0 -1
- package/lib/extensions/Reactions/ReactionsDecorator.d.ts +0 -23
- package/lib/extensions/Reactions/ReactionsDecorator.js +0 -113
- package/lib/extensions/Reactions/ReactionsDecorator.js.map +0 -1
- package/lib/extensions/Reactions/ReactionsExtension.d.ts +0 -14
- package/lib/extensions/Reactions/ReactionsExtension.js +0 -28
- package/lib/extensions/Reactions/ReactionsExtension.js.map +0 -1
- package/lib/extensions/Reactions/index.d.ts +0 -3
- package/lib/extensions/Reactions/index.js +0 -4
- package/lib/extensions/Reactions/index.js.map +0 -1
- package/lib/extensions/Reactions/resources/index.d.ts +0 -3
- package/lib/extensions/Reactions/resources/index.js +0 -3
- package/lib/extensions/Reactions/resources/index.js.map +0 -1
- package/lib/extensions/SmartReplies/resources/close.png +0 -0
- package/lib/extensions/Stickers/resources/Stickers.png +0 -0
- package/lib/extensions/ThumbnailGeneration/ThumbnailGenerationDecorator.d.ts +0 -16
- package/lib/extensions/ThumbnailGeneration/resources/empty.png +0 -0
- package/lib/shared/assets/images/Back.png +0 -0
- package/lib/shared/assets/images/BackArrow.png +0 -0
- package/lib/shared/assets/images/blue-double-tick-icon.png +0 -0
- package/lib/shared/assets/images/calendar.png +0 -0
- package/lib/shared/assets/images/checkmark.png +0 -0
- package/lib/shared/assets/images/clock-alert.png +0 -0
- package/lib/shared/assets/images/clock.png +0 -0
- package/lib/shared/assets/images/earth.png +0 -0
- package/lib/shared/assets/images/empty-slot.png +0 -0
- package/lib/shared/assets/images/error.png +0 -0
- package/lib/shared/assets/images/forwardArrow.png +0 -0
- package/lib/shared/assets/images/grey-double-tick-icon.png +0 -0
- package/lib/shared/assets/images/grey-tick-icon.png +0 -0
- package/lib/shared/assets/images/sending.png +0 -0
- package/lib/shared/framework/DataSource.d.ts +0 -49
- package/lib/shared/framework/MessageDataSource.d.ts +0 -72
- package/lib/shared/framework/resources/audio-file.png +0 -0
- package/lib/shared/framework/resources/circle_add.png +0 -0
- package/lib/shared/framework/resources/copy.png +0 -0
- package/lib/shared/framework/resources/delete.png +0 -0
- package/lib/shared/framework/resources/edit.png +0 -0
- package/lib/shared/framework/resources/emoji.png +0 -0
- package/lib/shared/framework/resources/file_upload.png +0 -0
- package/lib/shared/framework/resources/forward.png +0 -0
- package/lib/shared/framework/resources/heart.png +0 -0
- package/lib/shared/framework/resources/image.png +0 -0
- package/lib/shared/framework/resources/info.png +0 -0
- package/lib/shared/framework/resources/location.png +0 -0
- package/lib/shared/framework/resources/messageInPrivate.png +0 -0
- package/lib/shared/framework/resources/microphone.png +0 -0
- package/lib/shared/framework/resources/pause.png +0 -0
- package/lib/shared/framework/resources/play.png +0 -0
- package/lib/shared/framework/resources/reply.png +0 -0
- package/lib/shared/framework/resources/send_message.png +0 -0
- package/lib/shared/framework/resources/share.png +0 -0
- package/lib/shared/framework/resources/stop_player.png +0 -0
- package/lib/shared/framework/resources/thread.png +0 -0
- package/lib/shared/framework/resources/video_upload.png +0 -0
- package/lib/shared/helper/types/index.d.ts +0 -19
- package/lib/shared/libs/CometChatCalendar/Icons/BackArrow.png +0 -0
- package/lib/shared/libs/CometChatCalendar/Icons/chevron-left-16.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/back.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/bottom-vignette.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/bottom-vignette@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/bottom-vignette@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/error-icon.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/error-icon@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/error-icon@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/expand.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/expand@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/expand@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/forward.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/forward@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/forward@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/loader-icon.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/loader-icon@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/loader-icon@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/pause.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/pause@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/pause@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/play.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/play@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/play@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/rewind.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/rewind@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/rewind@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/shrink.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/shrink@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/shrink@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/top-vignette.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/top-vignette@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/top-vignette@3x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/volume.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/volume@2x.png +0 -0
- package/lib/shared/libs/VideoPlayerControls/assets/img/volume@3x.png +0 -0
- package/lib/shared/modals/CometChatDetailsOption.d.ts +0 -18
- package/lib/shared/modals/CometChatMessageOption.d.ts +0 -13
- package/lib/shared/modals/CometChatMessageTemplate.d.ts +0 -24
- package/lib/shared/resources/CometChatSoundManager/resources/incomingcall.wav +0 -0
- package/lib/shared/resources/CometChatSoundManager/resources/incomingmessage.wav +0 -0
- package/lib/shared/resources/CometChatSoundManager/resources/incomingothermessage.wav +0 -0
- package/lib/shared/resources/CometChatSoundManager/resources/outgoingcall.wav +0 -0
- package/lib/shared/resources/CometChatSoundManager/resources/outgoingmessage.wav +0 -0
- package/lib/shared/utils/CometChatLiveReactions/resources/heart.png +0 -0
- package/lib/shared/utils/CometChatMessagePreview/resources/close.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/Back.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/banIcon.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/close.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/kickIcon.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/password.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/private.png +0 -0
- package/lib/shared/utils/DetailsUtils/resources/right-arrow.png +0 -0
- package/lib/shared/views/CometChatAICard/resources/errormessage.png +0 -0
- package/lib/shared/views/CometChatAICard/resources/nomessage.png +0 -0
- package/lib/shared/views/CometChatActionSheet/resources/grid.png +0 -0
- package/lib/shared/views/CometChatActionSheet/resources/list.png +0 -0
- package/lib/shared/views/CometChatAudioBubble/resources/pause.png +0 -0
- package/lib/shared/views/CometChatAudioBubble/resources/play.png +0 -0
- package/lib/shared/views/CometChatAvatar/resources/default.jpg +0 -0
- package/lib/shared/views/CometChatCard/CometChatCard.d.ts +0 -15
- package/lib/shared/views/CometChatDropDown/resources/downArrowIcon.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/activity.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/animals.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/flags.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/food.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/objects.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/smileys.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/symbols.png +0 -0
- package/lib/shared/views/CometChatEmojiKeyboard/resources/travel.png +0 -0
- package/lib/shared/views/CometChatFileBubble/resources/download.png +0 -0
- package/lib/shared/views/CometChatFileBubble/resources/file_upload.png +0 -0
- package/lib/shared/views/CometChatImageBubble/assets/spineer.png +0 -0
- package/lib/shared/views/CometChatImageViewerModal/resources/Back.png +0 -0
- package/lib/shared/views/CometChatList/CometChatList.d.ts +0 -86
- package/lib/shared/views/CometChatList/resources/Back.png +0 -0
- package/lib/shared/views/CometChatList/resources/Search.png +0 -0
- package/lib/shared/views/CometChatList/resources/Spinner.png +0 -0
- package/lib/shared/views/CometChatList/resources/check.png +0 -0
- package/lib/shared/views/CometChatList/resources/checkmark.png +0 -0
- package/lib/shared/views/CometChatMessageBubble/CometChatMessageBubble.d.ts +0 -21
- package/lib/shared/views/CometChatPanel/resources/CloseIcon.png +0 -0
- package/lib/shared/views/CometChatQuickReactions/resources/AddReactions.png +0 -0
- package/lib/shared/views/CometChatReactionList/resources/Spineer.png +0 -0
- package/lib/shared/views/CometChatReceipt/resources/blue-double-tick-icon.png +0 -0
- package/lib/shared/views/CometChatReceipt/resources/error.png +0 -0
- package/lib/shared/views/CometChatReceipt/resources/grey-double-tick-icon.png +0 -0
- package/lib/shared/views/CometChatReceipt/resources/grey-tick-icon.png +0 -0
- package/lib/shared/views/CometChatReceipt/resources/sending.png +0 -0
- package/lib/shared/views/CometChatVideoBubble/resources/play.png +0 -0
- /package/{lib/shared/views/CometChatVideoBubble → src/extensions/ThumbnailGeneration}/resources/default_image.png +0 -0
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AvatarStyleInterface, CometChatOptions, ImageType, ListItemStyleInterface } from '../shared';
|
|
3
|
-
import { GroupsStyleInterface } from './GroupsStyle';
|
|
4
|
-
import { CometChat } from '@cometchat/chat-sdk-react-native';
|
|
5
|
-
import { StatusIndicatorStyleInterface } from '../shared/views/CometChatStatusIndicator/StatusIndicatorStyle';
|
|
6
|
-
export interface GroupsConfigurationInterface {
|
|
7
|
-
SubtitleView?: (item: CometChat.Group) => JSX.Element;
|
|
8
|
-
ListItemView?: (item: CometChat.Group) => JSX.Element;
|
|
9
|
-
AppBarOption?: () => JSX.Element;
|
|
10
|
-
options?: (item: CometChat.Group) => CometChatOptions[];
|
|
11
|
-
hideSeparator?: boolean;
|
|
12
|
-
groupsStyle?: GroupsStyleInterface;
|
|
13
|
-
searchPlaceholderText?: string;
|
|
14
|
-
backButton?: ImageType;
|
|
15
|
-
showBackButton?: boolean;
|
|
16
|
-
selectionMode?: 'none' | 'single' | 'multiple';
|
|
17
|
-
onSelection?: (items: Array<CometChat.Group>) => void;
|
|
18
|
-
searchBoxIcon?: ImageType;
|
|
19
|
-
hideSearch?: boolean;
|
|
20
|
-
title?: string;
|
|
21
|
-
EmptyStateView?: () => JSX.Element;
|
|
22
|
-
ErrorStateView?: () => JSX.Element;
|
|
23
|
-
LoadingStateView?: () => JSX.Element;
|
|
24
|
-
groupsRequestBuilder?: CometChat.GroupsRequestBuilder;
|
|
25
|
-
searchKeyword?: string;
|
|
26
|
-
privateGroupIcon?: ImageType;
|
|
27
|
-
passwordGroupIcon?: ImageType;
|
|
28
|
-
hideError?: boolean;
|
|
29
|
-
onItemPress?: (item: CometChat.Group) => void;
|
|
30
|
-
onItemLongPress?: (item: CometChat.Group) => void;
|
|
31
|
-
onError?: (e: CometChat.CometChatException) => void;
|
|
32
|
-
onBack?: () => void;
|
|
33
|
-
listItemStyle?: ListItemStyleInterface;
|
|
34
|
-
avatarStyle?: AvatarStyleInterface;
|
|
35
|
-
statusIndicatorStyle?: StatusIndicatorStyleInterface;
|
|
36
|
-
searchRequestBuilder?: CometChat.GroupsRequestBuilder;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @class GroupConfiguration
|
|
40
|
-
* @description GroupConfiguration class is used for defining the GroupConfiguration template.
|
|
41
|
-
*/
|
|
42
|
-
export declare class GroupsConfiguration implements GroupsConfigurationInterface {
|
|
43
|
-
SubtitleView: (item: CometChat.Group) => JSX.Element;
|
|
44
|
-
ListItemView: (item: CometChat.Group) => JSX.Element;
|
|
45
|
-
AppBarOption: () => JSX.Element;
|
|
46
|
-
options: (item: CometChat.Group) => CometChatOptions[];
|
|
47
|
-
hideSeparator: boolean;
|
|
48
|
-
searchPlaceholderText: string;
|
|
49
|
-
backButton: ImageType;
|
|
50
|
-
showBackButton: boolean;
|
|
51
|
-
selectionMode: 'none' | 'single' | 'multiple';
|
|
52
|
-
onSelection: (items: Array<CometChat.Group>) => void;
|
|
53
|
-
searchBoxIcon: ImageType;
|
|
54
|
-
hideSearch: boolean;
|
|
55
|
-
title: string;
|
|
56
|
-
EmptyStateView: () => JSX.Element;
|
|
57
|
-
ErrorStateView: () => JSX.Element;
|
|
58
|
-
LoadingStateView: () => JSX.Element;
|
|
59
|
-
groupsRequestBuilder: CometChat.GroupsRequestBuilder;
|
|
60
|
-
searchKeyword: string;
|
|
61
|
-
privateGroupIcon: ImageType;
|
|
62
|
-
passwordGroupIcon: ImageType;
|
|
63
|
-
hideError: boolean;
|
|
64
|
-
onItemPress?: (item: CometChat.Group) => void;
|
|
65
|
-
onItemLongPress?: (item: CometChat.Group) => void;
|
|
66
|
-
onError?: (e: CometChat.CometChatException) => void;
|
|
67
|
-
onBack?: () => void;
|
|
68
|
-
groupsStyle?: GroupsStyleInterface;
|
|
69
|
-
listItemStyle?: ListItemStyleInterface;
|
|
70
|
-
avatarStyle?: AvatarStyleInterface;
|
|
71
|
-
statusIndicatorStyle?: StatusIndicatorStyleInterface;
|
|
72
|
-
searchRequestBuilder?: CometChat.GroupsRequestBuilder;
|
|
73
|
-
constructor(props: GroupsConfigurationInterface);
|
|
74
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CometChat } from '@cometchat/chat-sdk-react-native';
|
|
3
|
-
import { BaseStyle, BorderStyleInterface, FontStyleInterface } from '../shared/base';
|
|
4
|
-
import { ImageType } from '../shared';
|
|
5
|
-
import { CometChatMessageComposerActionInterface } from '../shared/helper/types';
|
|
6
|
-
import { MediaRecorderStyle } from '../shared/views/CometChatMediaRecorder';
|
|
7
|
-
export interface MessageComposerStyleInterface extends BaseStyle {
|
|
8
|
-
attachIcontint?: string;
|
|
9
|
-
sendIconTint?: string;
|
|
10
|
-
inputBackground?: string;
|
|
11
|
-
inputBorder?: BorderStyleInterface;
|
|
12
|
-
dividerTint?: string;
|
|
13
|
-
textFont?: FontStyleInterface;
|
|
14
|
-
textColor?: string;
|
|
15
|
-
placeholderTextColor?: string;
|
|
16
|
-
placeholderTextFont?: FontStyleInterface;
|
|
17
|
-
actionSheetSeparatorTint?: string;
|
|
18
|
-
actionSheetTitleColor?: string;
|
|
19
|
-
actionSheetTitleFont?: FontStyleInterface;
|
|
20
|
-
actionSheetLayoutModeIconTint?: string;
|
|
21
|
-
actionSheetCancelButtonIconTint?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface CometChatMessageComposerInterface {
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @type {(string | number)}
|
|
28
|
-
* @description Message composer identifier
|
|
29
|
-
*/
|
|
30
|
-
id?: string | number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* @type {CometChat.User}
|
|
35
|
-
* @description CometChat SDK’s user object
|
|
36
|
-
*/
|
|
37
|
-
user?: CometChat.User;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* @type {CometChat.Group}
|
|
42
|
-
* @description CometChat SDK’s group object
|
|
43
|
-
*/
|
|
44
|
-
group?: CometChat.Group;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
* @type {boolean}
|
|
49
|
-
* @description Turn off sound for outgoing messages
|
|
50
|
-
*/
|
|
51
|
-
disableSoundForMessages?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* @type {*}
|
|
56
|
-
* @description Custom audio sound to be played while sending messages
|
|
57
|
-
*/
|
|
58
|
-
customSoundForMessage?: any;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
* @type {boolean}
|
|
63
|
-
* @description Disable typing events
|
|
64
|
-
*/
|
|
65
|
-
disableTypingEvents?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
* @type {string}
|
|
70
|
-
* @description CometChatMessageComposerInterface
|
|
71
|
-
*/
|
|
72
|
-
text?: string;
|
|
73
|
-
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @description Text shown in the composer when the input message is empty
|
|
78
|
-
*/
|
|
79
|
-
placeHolderText?: string;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* @type {React.FC}
|
|
84
|
-
* @description Preview section at the top of the composer
|
|
85
|
-
*/
|
|
86
|
-
HeaderView?: React.FC;
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
* @type {React.FC}
|
|
91
|
-
* @description Preview section at the bottom of the composer
|
|
92
|
-
*/
|
|
93
|
-
FooterView?: React.FC;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* @description onChange event triggered when the input changes
|
|
98
|
-
*/
|
|
99
|
-
onChangeText?: (text: string) => void;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* @type {number}
|
|
104
|
-
* @description Threshold value when reached, input will not expand further, causing it to scroll
|
|
105
|
-
*/
|
|
106
|
-
maxHeight?: number;
|
|
107
|
-
/**
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* @type {ImageType}
|
|
111
|
-
* @description Attachment Icon
|
|
112
|
-
*/
|
|
113
|
-
attachmentIcon?: ImageType;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
* @type {*}
|
|
118
|
-
* @description CometChatMessageComposerInterface
|
|
119
|
-
*/
|
|
120
|
-
attachmentOptions?: ({ user, group, composerId, }: {
|
|
121
|
-
user?: CometChat.User;
|
|
122
|
-
group?: CometChat.Group;
|
|
123
|
-
composerId: Map<any, any>;
|
|
124
|
-
}) => CometChatMessageComposerActionInterface[];
|
|
125
|
-
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
* @type {FunctionComponent}
|
|
129
|
-
* @description function which return a JSX Element which replaces the default Secondary Button
|
|
130
|
-
*/
|
|
131
|
-
SecondaryButtonView?: ({ user, group, composerId, }: {
|
|
132
|
-
user?: CometChat.User;
|
|
133
|
-
group?: CometChat.Group;
|
|
134
|
-
composerId: string | number;
|
|
135
|
-
}) => JSX.Element;
|
|
136
|
-
/**
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
* @type {FunctionComponent}
|
|
140
|
-
* @description Function which return a JSX Element which replaces the default Auxiliary Button
|
|
141
|
-
*/
|
|
142
|
-
AuxiliaryButtonView?: ({ user, group, composerId, }: {
|
|
143
|
-
user?: CometChat.User;
|
|
144
|
-
group?: CometChat.Group;
|
|
145
|
-
composerId: string | number;
|
|
146
|
-
}) => JSX.Element;
|
|
147
|
-
/**
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* @type {('left' | 'right')}
|
|
151
|
-
* @description Alignment for auxiliary buttons
|
|
152
|
-
*/
|
|
153
|
-
auxiliaryButtonsAlignment?: 'left' | 'right';
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
* @type {FunctionComponent}
|
|
158
|
-
* @description Function which return a JSX Element which replaces the default Send Button
|
|
159
|
-
*/
|
|
160
|
-
SendButtonView?: ({ user, group, composerId, }: {
|
|
161
|
-
user?: CometChat.User;
|
|
162
|
-
group?: CometChat.Group;
|
|
163
|
-
composerId: string | number;
|
|
164
|
-
}) => JSX.Element;
|
|
165
|
-
/**
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
-
* @type {(string | number)}
|
|
169
|
-
* @description Message id required for threaded messages
|
|
170
|
-
*/
|
|
171
|
-
parentMessageId?: string | number;
|
|
172
|
-
/**
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
* @type {boolean}
|
|
176
|
-
* @description Hide the live reaction button
|
|
177
|
-
*/
|
|
178
|
-
hideLiveReaction?: boolean;
|
|
179
|
-
/**
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* @type {ImageType}
|
|
183
|
-
* @description Live reaction Icon
|
|
184
|
-
*/
|
|
185
|
-
liveReactionIcon?: ImageType;
|
|
186
|
-
/**
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* @type {MessageComposerStyleInterface}
|
|
190
|
-
* @description Message Composer Styles
|
|
191
|
-
*/
|
|
192
|
-
messageComposerStyle?: MessageComposerStyleInterface;
|
|
193
|
-
/**
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
* @type {boolean}
|
|
197
|
-
* @description Hide the record voice button
|
|
198
|
-
*/
|
|
199
|
-
hideVoiceRecording?: boolean;
|
|
200
|
-
/**
|
|
201
|
-
*
|
|
202
|
-
*
|
|
203
|
-
* @type {string}
|
|
204
|
-
* @description Image URL for the voice recording icon
|
|
205
|
-
*/
|
|
206
|
-
voiceRecordingIconURL?: string;
|
|
207
|
-
/**
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
* @type {MediaRecorderStyle}
|
|
211
|
-
* @description Voice Recording Styles
|
|
212
|
-
*/
|
|
213
|
-
mediaRecorderStyle?: MediaRecorderStyle;
|
|
214
|
-
/**
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
* @type {ImageType}
|
|
218
|
-
* @description Pause Icon Icon
|
|
219
|
-
*/
|
|
220
|
-
pauseIconUrl?: ImageType;
|
|
221
|
-
/**
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
* @type {ImageType}
|
|
225
|
-
* @description Play Icon Icon
|
|
226
|
-
*/
|
|
227
|
-
playIconUrl?: ImageType;
|
|
228
|
-
/**
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
* @type {ImageType}
|
|
232
|
-
* @description Record Icon Icon
|
|
233
|
-
*/
|
|
234
|
-
recordIconUrl?: ImageType;
|
|
235
|
-
/**
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
* @type {ImageType}
|
|
239
|
-
* @description Delete Icon Icon
|
|
240
|
-
*/
|
|
241
|
-
deleteIconUrl?: ImageType;
|
|
242
|
-
/**
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
* @type {ImageType}
|
|
246
|
-
* @description Stop Icon Icon
|
|
247
|
-
*/
|
|
248
|
-
stopIconUrl?: ImageType;
|
|
249
|
-
/**
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
* @type {ImageType}
|
|
253
|
-
* @description Submit Icon Icon
|
|
254
|
-
*/
|
|
255
|
-
submitIconUrl?: ImageType;
|
|
256
|
-
/**
|
|
257
|
-
*
|
|
258
|
-
* @type {Function}
|
|
259
|
-
* @description callback(BaseMessage)→ void
|
|
260
|
-
*/
|
|
261
|
-
onSendButtonPress?: (message: CometChat.BaseMessage) => void;
|
|
262
|
-
/**
|
|
263
|
-
*
|
|
264
|
-
* @type {ErrorCallback}
|
|
265
|
-
* @description callback(error)→ void
|
|
266
|
-
*/
|
|
267
|
-
onError?: (error: any) => void;
|
|
268
|
-
}
|
|
269
|
-
export declare const CometChatMessageComposer: React.ForwardRefExoticComponent<CometChatMessageComposerInterface & React.RefAttributes<unknown>>;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ImageType } from '../shared';
|
|
3
|
-
import { CometChatMessageComposerInterface, MessageComposerStyleInterface } from './CometChatMessageComposer';
|
|
4
|
-
import { CometChat } from '@cometchat/chat-sdk-react-native';
|
|
5
|
-
import { MediaRecorderStyle } from '../shared/views/CometChatMediaRecorder';
|
|
6
|
-
export interface MessageComposerConfigurationInterface extends Omit<CometChatMessageComposerInterface, 'id' | 'user' | 'group' | 'disableSoundForMessages' | 'customSoundForMessage' | 'disableTypingEvents' | 'placeHolderText' | 'parentMessageId'> {
|
|
7
|
-
}
|
|
8
|
-
export declare class MessageComposerConfiguration {
|
|
9
|
-
attachmentIcon?: ImageType;
|
|
10
|
-
attachmentOptions?: any;
|
|
11
|
-
auxiliaryButtonsAlignment?: 'left' | 'right';
|
|
12
|
-
AuxiliaryButtonView?: ({ user, group, composerId, }: {
|
|
13
|
-
user?: CometChat.User;
|
|
14
|
-
group?: CometChat.Group;
|
|
15
|
-
composerId: string | number;
|
|
16
|
-
}) => JSX.Element;
|
|
17
|
-
FooterView?: React.FC;
|
|
18
|
-
HeaderView?: React.FC;
|
|
19
|
-
hideLiveReaction?: boolean;
|
|
20
|
-
liveReactionIcon?: ImageType;
|
|
21
|
-
maxHeight?: number;
|
|
22
|
-
messageComposerStyle?: MessageComposerStyleInterface;
|
|
23
|
-
hideVoiceRecording?: boolean;
|
|
24
|
-
voiceRecordingIconURL?: string;
|
|
25
|
-
mediaRecorderStyle?: MediaRecorderStyle;
|
|
26
|
-
pauseIconUrl?: ImageType;
|
|
27
|
-
playIconUrl?: ImageType;
|
|
28
|
-
recordIconUrl?: ImageType;
|
|
29
|
-
deleteIconUrl?: ImageType;
|
|
30
|
-
stopIconUrl?: ImageType;
|
|
31
|
-
submitIconUrl?: ImageType;
|
|
32
|
-
onChangeText?: (text: string) => void;
|
|
33
|
-
onError?: (error: CometChat.CometChatException) => void;
|
|
34
|
-
onSendButtonPress?: (message: CometChat.BaseMessage) => void;
|
|
35
|
-
SecondaryButtonView?: ({ user, group, composerId, }: {
|
|
36
|
-
user?: CometChat.User;
|
|
37
|
-
group?: CometChat.Group;
|
|
38
|
-
composerId: string | number;
|
|
39
|
-
}) => JSX.Element;
|
|
40
|
-
SendButtonView?: ({ user, group, composerId, }: {
|
|
41
|
-
user?: CometChat.User;
|
|
42
|
-
group?: CometChat.Group;
|
|
43
|
-
composerId: string | number;
|
|
44
|
-
}) => JSX.Element;
|
|
45
|
-
text?: string;
|
|
46
|
-
constructor(props: MessageComposerConfigurationInterface);
|
|
47
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
import { ViewStyle, StyleProp } from 'react-native';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { CometChat } from '@cometchat/chat-sdk-react-native';
|
|
4
|
-
import { ImageType } from '../shared';
|
|
5
|
-
import { ListItemStyleInterface, AvatarStyleInterface } from '../shared';
|
|
6
|
-
import { StatusIndicatorStyleInterface } from '../shared/views/CometChatStatusIndicator/StatusIndicatorStyle';
|
|
7
|
-
import { BorderStyleInterface, FontStyleInterface } from '../shared/base';
|
|
8
|
-
export interface MessageHeaderStyleInterface {
|
|
9
|
-
width?: string | number;
|
|
10
|
-
height?: string | number;
|
|
11
|
-
backgroundColor?: string;
|
|
12
|
-
border?: BorderStyleInterface;
|
|
13
|
-
borderRadius?: number;
|
|
14
|
-
backIconTint?: string;
|
|
15
|
-
onlineStatusColor?: string;
|
|
16
|
-
subtitleTextColor?: string;
|
|
17
|
-
subtitleTextFont?: FontStyleInterface;
|
|
18
|
-
typingIndicatorTextColor?: string;
|
|
19
|
-
typingIndicatorTextFont?: FontStyleInterface;
|
|
20
|
-
}
|
|
21
|
-
export interface CometChatMessageHeaderInterface {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* Function which have {user}/{group} as prop and returns a JSX Element to render in place of Subtitle View
|
|
25
|
-
*/
|
|
26
|
-
SubtitleView?: ({ user, group, }: {
|
|
27
|
-
user?: CometChat.User;
|
|
28
|
-
group?: CometChat.Group;
|
|
29
|
-
}) => JSX.Element;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* To disable user presence indicator
|
|
34
|
-
*/
|
|
35
|
-
disableUsersPresence?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* To disable typing indicator
|
|
40
|
-
*/
|
|
41
|
-
disableTyping?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {ImageType}
|
|
45
|
-
* To pass custom icon for protected group
|
|
46
|
-
*/
|
|
47
|
-
protectedGroupIcon?: ImageType;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {ImageType}
|
|
51
|
-
* To pass custom icon for private group
|
|
52
|
-
*/
|
|
53
|
-
privateGroupIcon?: ImageType;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* Function which have {user}/{group} as prop and returns a JSX Element to render in place of AppBar/Menu
|
|
57
|
-
*/
|
|
58
|
-
AppBarOptions?: ({ user, group, }: {
|
|
59
|
-
user?: CometChat.User;
|
|
60
|
-
group?: CometChat.Group;
|
|
61
|
-
}) => JSX.Element;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {MessageHeaderStyleInterface}
|
|
65
|
-
* To pass custom styling for header
|
|
66
|
-
*/
|
|
67
|
-
style?: MessageHeaderStyleInterface;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {CometChat.User}
|
|
71
|
-
* To pass user object
|
|
72
|
-
*/
|
|
73
|
-
user?: CometChat.User;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {CometChat.Group}
|
|
77
|
-
* To pass group object
|
|
78
|
-
*/
|
|
79
|
-
group?: CometChat.Group;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {ImageType}
|
|
83
|
-
* To pass custom icon for back button
|
|
84
|
-
*/
|
|
85
|
-
backButtonIcon?: ImageType;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {boolean}
|
|
89
|
-
* To gide back button
|
|
90
|
-
*/
|
|
91
|
-
hideBackIcon?: boolean;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
*Function which have user/group as prop and returns a JSX Element to render in place of ListItem View
|
|
95
|
-
*/
|
|
96
|
-
ListItemView?: ({ user, group, }: {
|
|
97
|
-
user?: CometChat.User;
|
|
98
|
-
group?: CometChat.Group;
|
|
99
|
-
}) => JSX.Element;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {Function}
|
|
103
|
-
* Function which will trigger when user press back button
|
|
104
|
-
*/
|
|
105
|
-
onBack?: () => void;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {ListItemStyleInterface}
|
|
109
|
-
* To pass custom styling for list item
|
|
110
|
-
*/
|
|
111
|
-
listItemStyle?: ListItemStyleInterface;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {AvatarStyleInterface}
|
|
115
|
-
* To pass custom styling for avatar in list item
|
|
116
|
-
*/
|
|
117
|
-
avatarStyle?: AvatarStyleInterface;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @type {StatusIndicatorStyleInterface}
|
|
121
|
-
* To pass custom styling for status indicator in list item
|
|
122
|
-
*/
|
|
123
|
-
statusIndicatorStyle?: StatusIndicatorStyleInterface;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {StyleProp<ViewStyle>}
|
|
127
|
-
* To pass custom styling for headViewContainer in list item
|
|
128
|
-
*/
|
|
129
|
-
headViewContainerStyle?: StyleProp<ViewStyle>;
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @type {StyleProp<ViewStyle>}
|
|
133
|
-
* To pass custom styling for bodyViewContainerStyle in list item
|
|
134
|
-
*/
|
|
135
|
-
bodyViewContainerStyle?: StyleProp<ViewStyle>;
|
|
136
|
-
/**
|
|
137
|
-
*
|
|
138
|
-
* @type {StyleProp<ViewStyle>}
|
|
139
|
-
* To pass custom styling for tailViewContainerStyle in list item
|
|
140
|
-
*/
|
|
141
|
-
tailViewContainerStyle?: StyleProp<ViewStyle>;
|
|
142
|
-
}
|
|
143
|
-
export declare const CometChatMessageHeader: {
|
|
144
|
-
(props: CometChatMessageHeaderInterface): React.JSX.Element;
|
|
145
|
-
defaultProps: {
|
|
146
|
-
user: any;
|
|
147
|
-
group: any;
|
|
148
|
-
style: {};
|
|
149
|
-
};
|
|
150
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AvatarStyleInterface, ImageType, ListItemStyleInterface } from '../shared';
|
|
3
|
-
import { CometChatMessageHeaderInterface, MessageHeaderStyleInterface } from './CometChatMessageHeader';
|
|
4
|
-
import { CometChat } from '@cometchat/chat-sdk-react-native';
|
|
5
|
-
import { StyleProp, ViewStyle } from 'react-native';
|
|
6
|
-
import { StatusIndicatorStyleInterface } from '../shared/views/CometChatStatusIndicator/StatusIndicatorStyle';
|
|
7
|
-
export interface MessageHeaderConfigurationInterface extends Omit<CometChatMessageHeaderInterface, 'user' | 'group'> {
|
|
8
|
-
}
|
|
9
|
-
export declare class MessageHeaderConfiguration {
|
|
10
|
-
SubtitleView?: ({ user, group, }: {
|
|
11
|
-
user?: CometChat.User;
|
|
12
|
-
group?: CometChat.Group;
|
|
13
|
-
}) => JSX.Element;
|
|
14
|
-
disableUsersPresence?: boolean;
|
|
15
|
-
disableTyping?: boolean;
|
|
16
|
-
protectedGroupIcon?: ImageType;
|
|
17
|
-
privateGroupIcon?: ImageType;
|
|
18
|
-
AppBarOptions?: ({ user, group, }: {
|
|
19
|
-
user?: CometChat.User;
|
|
20
|
-
group?: CometChat.Group;
|
|
21
|
-
}) => JSX.Element;
|
|
22
|
-
style?: MessageHeaderStyleInterface;
|
|
23
|
-
backButtonIcon?: ImageType;
|
|
24
|
-
hideBackIcon?: boolean;
|
|
25
|
-
ListItemView?: ({ user, group, }: {
|
|
26
|
-
user?: CometChat.User;
|
|
27
|
-
group?: CometChat.Group;
|
|
28
|
-
}) => JSX.Element;
|
|
29
|
-
onBack?: () => void;
|
|
30
|
-
listItemStyle?: ListItemStyleInterface;
|
|
31
|
-
avatarStyle?: AvatarStyleInterface;
|
|
32
|
-
statusIndicatorStyle?: StatusIndicatorStyleInterface;
|
|
33
|
-
headViewContainerStyle?: StyleProp<ViewStyle>;
|
|
34
|
-
bodyViewContainerStyle?: StyleProp<ViewStyle>;
|
|
35
|
-
tailViewContainerStyle?: StyleProp<ViewStyle>;
|
|
36
|
-
constructor(props: MessageHeaderConfigurationInterface);
|
|
37
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CometChat } from '@cometchat/chat-sdk-react-native';
|
|
3
|
-
import { AvatarStyleInterface, CometChatMessageTemplate, ImageType, ListItemStyleInterface, StatusIndicatorStyleInterface } from '../shared';
|
|
4
|
-
import { MessageInformationStyleInterface } from './MessageInformationStyle';
|
|
5
|
-
type Recipient = {
|
|
6
|
-
sender: CometChat.User | CometChat.Group;
|
|
7
|
-
deliveredAt: number;
|
|
8
|
-
readAt: number;
|
|
9
|
-
sentAt: number;
|
|
10
|
-
};
|
|
11
|
-
export interface CometChatMessageInformationInterface {
|
|
12
|
-
title?: string;
|
|
13
|
-
message: CometChat.BaseMessage;
|
|
14
|
-
template?: CometChatMessageTemplate;
|
|
15
|
-
backIcon?: ImageType;
|
|
16
|
-
BubbleView?: (message: CometChat.BaseMessage) => JSX.Element;
|
|
17
|
-
ListItemView?: (message: CometChat.BaseMessage, receipt: Recipient) => JSX.Element;
|
|
18
|
-
receiptDatePattern?: (timestamp: any) => string;
|
|
19
|
-
onBack?: () => void;
|
|
20
|
-
onError?: (e: CometChat.CometChatException) => void;
|
|
21
|
-
messageInformationStyle?: MessageInformationStyleInterface;
|
|
22
|
-
readIcon?: ImageType;
|
|
23
|
-
sentIcon?: ImageType;
|
|
24
|
-
deliveredIcon?: ImageType;
|
|
25
|
-
listItemStyle?: ListItemStyleInterface;
|
|
26
|
-
avatarStyle?: AvatarStyleInterface;
|
|
27
|
-
statusIndicatorStyle?: StatusIndicatorStyleInterface;
|
|
28
|
-
EmptyStateView?: () => JSX.Element;
|
|
29
|
-
emptyStateText?: string;
|
|
30
|
-
ErrorStateView?: () => JSX.Element;
|
|
31
|
-
errorStateText?: string;
|
|
32
|
-
loadingIcon?: ImageType;
|
|
33
|
-
LoadingStateView?: () => JSX.Element;
|
|
34
|
-
}
|
|
35
|
-
export declare const CometChatMessageInformation: (props: CometChatMessageInformationInterface) => React.JSX.Element;
|
|
36
|
-
export {};
|
|
Binary file
|