@cometchat/chat-uikit-react-native 4.3.11 → 4.3.13
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 +4 -9
- package/src/CometChatDetails/CometChatDetails.tsx +4 -2
- package/src/CometChatDetails/listners.ts +56 -35
- package/src/CometChatGroupMembers/CometChatGroupMembers.tsx +30 -15
- package/src/CometChatMessageComposer/CometChatMessageComposer.tsx +13 -4
- package/src/CometChatMessageHeader/CometChatMessageHeader.tsx +42 -51
- package/src/CometChatMessageInformation/CometChatMessageInformation.tsx +9 -6
- package/src/CometChatMessageList/CometChatMessageList.tsx +54 -37
- package/src/CometChatMessageList/MessageListConfiguration.ts +2 -0
- package/src/CometChatUsers/CometChatUsers.tsx +2 -2
- package/src/calls/CometChatCallButtons/CometChatCallButtons.tsx +2 -1
- 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/constants/UIKitConstants.ts +12 -1
- package/src/shared/formatters/CometChatMentionsFormatter/CometChatMentionsFormatter.tsx +46 -1
- 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/PermissionUtil.ts +1 -1
- package/src/shared/views/CometChatImageBubble/CometChatImageBubble.tsx +10 -3
- package/src/shared/views/CometChatList/CometChatList.tsx +0 -2
- 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
|
@@ -7,6 +7,7 @@ import { CometChatUIEventHandler, CometChatUIEvents } from '../../events';
|
|
|
7
7
|
import { localize } from '../../resources';
|
|
8
8
|
import { SuggestionItem } from '../../views/CometChatSuggestionList';
|
|
9
9
|
import { CometChatUIKit } from '../../CometChatUiKit';
|
|
10
|
+
import { MentionsType, MentionsVisibility } from '../../constants/UIKitConstants';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Represents the CometChatMentionsFormatter class.
|
|
@@ -50,6 +51,20 @@ export class CometChatMentionsFormatter extends CometChatTextFormatter {
|
|
|
50
51
|
*/
|
|
51
52
|
protected limit: number = 10;
|
|
52
53
|
|
|
54
|
+
/**
|
|
55
|
+
* visibleIn property to determine where the mentions should be visible.
|
|
56
|
+
* @type {MentionsVisibility}
|
|
57
|
+
* @default MentionsVisibility.both
|
|
58
|
+
*/
|
|
59
|
+
protected visibleIn: MentionsVisibility = MentionsVisibility.both;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* type property to determine the type of mention list.
|
|
63
|
+
* @type {MentionsType}
|
|
64
|
+
* @default MentionsType.usersAndGroupMembers
|
|
65
|
+
*/
|
|
66
|
+
protected type: MentionsType = MentionsType.usersAndGroupMembers;
|
|
67
|
+
|
|
53
68
|
/**
|
|
54
69
|
* Initializes a new CometChatMentionsFormatter.
|
|
55
70
|
* @param {CometChat.User} loggedInUser - The user who is currently logged in.
|
|
@@ -127,7 +142,7 @@ export class CometChatMentionsFormatter extends CometChatTextFormatter {
|
|
|
127
142
|
|
|
128
143
|
search(searchKey: string): void {
|
|
129
144
|
if (this.shouldLoadLocalData(searchKey)) return;
|
|
130
|
-
let requestBuilder = this.customRequest || (this.group ? new CometChat.GroupMembersRequestBuilder(this.group.getGuid()) : new CometChat.UsersRequestBuilder());
|
|
145
|
+
let requestBuilder = this.customRequest || ((this.group && this.type === MentionsType.usersAndGroupMembers) ? new CometChat.GroupMembersRequestBuilder(this.group.getGuid()) : new CometChat.UsersRequestBuilder());
|
|
131
146
|
|
|
132
147
|
this.searchRequest = requestBuilder.setLimit(10)
|
|
133
148
|
.setSearchKeyword(searchKey)
|
|
@@ -376,6 +391,36 @@ export class CometChatMentionsFormatter extends CometChatTextFormatter {
|
|
|
376
391
|
}
|
|
377
392
|
}
|
|
378
393
|
|
|
394
|
+
/**
|
|
395
|
+
* Sets the type of mention list.
|
|
396
|
+
* @param type - The type of mention list.
|
|
397
|
+
*/
|
|
398
|
+
setType(type: MentionsType) {
|
|
399
|
+
this.type = type;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Sets the visibleIn property to determine where the mentions should be visible.
|
|
404
|
+
* @param visibleIn - The visibleIn property to set.
|
|
405
|
+
*/
|
|
406
|
+
setVisibleIn(visibleIn: MentionsVisibility) {
|
|
407
|
+
this.visibleIn = visibleIn;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Retrieves the visibleIn property to determine where the mentions should be visible.
|
|
412
|
+
*/
|
|
413
|
+
getVisibleIn() {
|
|
414
|
+
return this.visibleIn;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Retrieves the type of mention list.
|
|
419
|
+
*/
|
|
420
|
+
getType() {
|
|
421
|
+
return this.type;
|
|
422
|
+
}
|
|
423
|
+
|
|
379
424
|
getErrorString() {
|
|
380
425
|
return (`${localize("MENTION_UPTO")} ${this.limit} ${this.limit === 1 ? localize("TIME") : localize("TIMES")} ${localize("AT_A_TIME")}.`);
|
|
381
426
|
}
|
|
@@ -310,6 +310,7 @@
|
|
|
310
310
|
"INFO":"معلومات",
|
|
311
311
|
"MESSAGE_PRIVATELY":"أرسل رسالة بشكل خاص",
|
|
312
312
|
"TRANSLATE":"ترجم",
|
|
313
|
-
"EDIT":"تحرير"
|
|
314
|
-
|
|
313
|
+
"EDIT":"تحرير",
|
|
314
|
+
"MICROPHONE_PERMISSION":"لتسجيل رسالة صوتية، نحتاج إلى الوصول إلى الميكروفون الخاص بك. انقر فوق الإعدادات وقم بتشغيل الميكروفون.",
|
|
315
|
+
"CAMERA_PERMISSION":"لا يمكننا الوصول إلى الكاميرا الخاصة بك. لتمكين الوصول، انقر فوق الإعدادات وقم بتشغيل الكاميرا."
|
|
315
316
|
}
|
|
@@ -311,5 +311,7 @@
|
|
|
311
311
|
"CHAT_PRIVATELY":"Privat chatten",
|
|
312
312
|
"MESSAGE_PRIVATELY":"Private Nachricht",
|
|
313
313
|
"TRANSLATE":"Übersetzen",
|
|
314
|
-
"EDIT":"Bearbeiten"
|
|
314
|
+
"EDIT":"Bearbeiten",
|
|
315
|
+
"MICROPHONE_PERMISSION":"Um eine Sprachnachricht aufzunehmen, benötigen wir Zugriff auf Ihr Mikrofon. Tippe auf Einstellungen und schalte das Mikrofon ein.",
|
|
316
|
+
"CAMERA_PERMISSION":"Wir haben keinen Zugriff auf Ihre Kamera. Um den Zugriff zu aktivieren, tippen Sie auf Einstellungen und schalten Sie die Kamera ein."
|
|
315
317
|
}
|
|
@@ -310,5 +310,7 @@
|
|
|
310
310
|
"INFO":"Info",
|
|
311
311
|
"MESSAGE_PRIVATELY":"Message Privately",
|
|
312
312
|
"TRANSLATE":"Translate",
|
|
313
|
-
"EDIT":"Edit"
|
|
313
|
+
"EDIT":"Edit",
|
|
314
|
+
"MICROPHONE_PERMISSION":"To record a Voice Message, we need access to your microphone. Tap Settings and turn on Microphone.",
|
|
315
|
+
"CAMERA_PERMISSION":"We do not have access to your camera. To enable access, tap Settings and turn on Camera."
|
|
314
316
|
}
|
|
@@ -311,5 +311,7 @@
|
|
|
311
311
|
"CHAT_PRIVATELY":"Chatea en privado",
|
|
312
312
|
"MESSAGE_PRIVATELY":"Mensaje privado",
|
|
313
313
|
"TRANSLATE":"Traducir",
|
|
314
|
-
"EDIT":"Editar"
|
|
314
|
+
"EDIT":"Editar",
|
|
315
|
+
"MICROPHONE_PERMISSION":"Para grabar un mensaje de voz, necesitamos acceder a tu micrófono. Pulsa Ajustes y activa el micrófono.",
|
|
316
|
+
"CAMERA_PERMISSION":"No tenemos acceso a su cámara. Para habilitar el acceso, toca Configuración y activa la Cámara."
|
|
315
317
|
}
|
|
@@ -311,5 +311,7 @@
|
|
|
311
311
|
"CHAT_PRIVATELY":"Discutez en privé",
|
|
312
312
|
"MESSAGE_PRIVATELY":"Message privé",
|
|
313
313
|
"TRANSLATE":"Traduire",
|
|
314
|
-
"EDIT":"Modifier"
|
|
314
|
+
"EDIT":"Modifier",
|
|
315
|
+
"MICROPHONE_PERMISSION":"Pour enregistrer un message vocal, nous avons besoin d'accéder à votre microphone. Appuyez sur Réglages et activez le microphone.",
|
|
316
|
+
"CAMERA_PERMISSION":"Nous n'avons pas accès à votre caméra. Pour activer l'accès, touchez Réglages et activez l'appareil photo."
|
|
315
317
|
}
|
|
@@ -310,5 +310,7 @@
|
|
|
310
310
|
"INFO":"जानकारी",
|
|
311
311
|
"MESSAGE_PRIVATELY":"निजी तौर पर संदेश",
|
|
312
312
|
"TRANSLATE":"ट्रांसलेट करें",
|
|
313
|
-
"EDIT":"संपादित करें"
|
|
313
|
+
"EDIT":"संपादित करें",
|
|
314
|
+
"MICROPHONE_PERMISSION":"ध्वनि संदेश रिकॉर्ड करने के लिए, हमें आपके माइक्रोफ़ोन तक पहुँच की आवश्यकता है। सेटिंग पर टैप करें और माइक्रोफ़ोन चालू करें।",
|
|
315
|
+
"CAMERA_PERMISSION":"हमारे पास आपके कैमरे तक पहुंच नहीं है। ऐक्सेस चालू करने के लिए, सेटिंग पर टैप करें और कैमरा चालू करें।"
|
|
314
316
|
}
|
|
@@ -311,5 +311,7 @@
|
|
|
311
311
|
"CHAT_PRIVATELY":"Privát csevegés",
|
|
312
312
|
"MESSAGE_PRIVATELY":"Privát üzenet",
|
|
313
313
|
"TRANSLATE":"Fordítás",
|
|
314
|
-
"EDIT":"Szerkesztés"
|
|
314
|
+
"EDIT":"Szerkesztés",
|
|
315
|
+
"MICROPHONE_PERMISSION":"Hangüzenet rögzítéséhez hozzáférésre van szükségünk a mikrofonjához. Koppintson a Beállítások elemre, és kapcsolja be a Mikrofont.",
|
|
316
|
+
"CAMERA_PERMISSION":"Nem férünk hozzá a kamerájához. A hozzáférés engedélyezéséhez érintse meg a Beállítások elemet, és kapcsolja be a Kamera lehetőséget."
|
|
315
317
|
}
|
|
@@ -311,5 +311,7 @@
|
|
|
311
311
|
"CHAT_PRIVATELY":"Pokalbiai privačiai",
|
|
312
312
|
"MESSAGE_PRIVATELY":"Pranešimas privačiai",
|
|
313
313
|
"TRANSLATE":"Išversti",
|
|
314
|
-
"EDIT":"Redaguoti"
|
|
314
|
+
"EDIT":"Redaguoti",
|
|
315
|
+
"MICROPHONE_PERMISSION":"Per registrare un messaggio vocale, abbiamo bisogno di accedere al tuo microfono. Tocca Impostazioni e attiva il microfono.",
|
|
316
|
+
"CAMERA_PERMISSION":"Non abbiamo accesso alla tua fotocamera. Per abilitare l'accesso, tocca Impostazioni e attiva Fotocamera."
|
|
315
317
|
}
|
|
@@ -311,5 +311,7 @@
|
|
|
311
311
|
"CHAT_PRIVATELY":"Berbual Persendirian",
|
|
312
312
|
"MESSAGE_PRIVATELY":"Mesej Persendirian",
|
|
313
313
|
"TRANSLATE":"Terjemah",
|
|
314
|
-
"EDIT":"Sunting"
|
|
314
|
+
"EDIT":"Sunting",
|
|
315
|
+
"MICROPHONE_PERMISSION":"Untuk merakam Mesej Suara, kami memerlukan akses ke mikrofon anda. Ketik Tetapan dan hidupkan Mikrofon.",
|
|
316
|
+
"CAMERA_PERMISSION":"Kami tidak mempunyai akses kepada kamera anda. Untuk mendayakan akses, ketik Tetapan dan hidupkan Kamera."
|
|
315
317
|
}
|
|
@@ -311,6 +311,7 @@
|
|
|
311
311
|
"CHAT_PRIVATELY":"Converse de forma privada",
|
|
312
312
|
"MESSAGE_PRIVATELY":"Mensagem privada",
|
|
313
313
|
"TRANSLATE":"Traduza",
|
|
314
|
-
"EDIT":"Editar"
|
|
315
|
-
|
|
314
|
+
"EDIT":"Editar",
|
|
315
|
+
"MICROPHONE_PERMISSION":"Para gravar uma mensagem de voz, precisamos acessar seu microfone. Toque em Configurações e ative o microfone.",
|
|
316
|
+
"CAMERA_PERMISSION":"Não temos acesso à sua câmera. Para ativar o acesso, toque em Configurações e ative a Câmera."
|
|
316
317
|
}
|
|
@@ -311,5 +311,7 @@
|
|
|
311
311
|
"CHAT_PRIVATELY":"Чат в частном режиме",
|
|
312
312
|
"MESSAGE_PRIVATELY":"Сообщение конфиденциально",
|
|
313
313
|
"TRANSLATE":"Перевести",
|
|
314
|
-
"EDIT":"Редактировать"
|
|
314
|
+
"EDIT":"Редактировать",
|
|
315
|
+
"MICROPHONE_PERMISSION":"Чтобы записать голосовое сообщение, нам нужен доступ к вашему микрофону. Нажмите «Настройки» и включите «Микрофон».",
|
|
316
|
+
"CAMERA_PERMISSION":"У нас нет доступа к вашей камере. Чтобы разрешить доступ, нажмите Настройки и включите камеру."
|
|
315
317
|
}
|
|
@@ -311,5 +311,7 @@
|
|
|
311
311
|
"CHAT_PRIVATELY":"Chatta privat",
|
|
312
312
|
"MESSAGE_PRIVATELY":"Meddelande privat",
|
|
313
313
|
"TRANSLATE":"Översätt",
|
|
314
|
-
"EDIT":"Redigera"
|
|
314
|
+
"EDIT":"Redigera",
|
|
315
|
+
"MICROPHONE_PERMISSION":"För att spela in ett röstmeddelande behöver vi tillgång till din mikrofon. Tryck på Inställningar och slå på Mikrofon.",
|
|
316
|
+
"CAMERA_PERMISSION":"Vi har inte tillgång till din kamera. Aktivera åtkomst genom att trycka på Inställningar och slå på Kamera."
|
|
315
317
|
}
|
|
@@ -311,5 +311,7 @@
|
|
|
311
311
|
"CHAT_PRIVATELY":"私下聊天",
|
|
312
312
|
"MESSAGE_PRIVATELY":"私下留言",
|
|
313
313
|
"TRANSLATE":"翻译",
|
|
314
|
-
"EDIT":"编辑"
|
|
314
|
+
"EDIT":"编辑",
|
|
315
|
+
"MICROPHONE_PERMISSION":"要录制语音信息,我们需要访问您的麦克风。点击 “设置”,然后打开 “麦克风”。",
|
|
316
|
+
"CAMERA_PERMISSION":"我们无法访问您的相机。要启用访问权限,请点击 “设置”,然后打开 “相机”。"
|
|
315
317
|
}
|
|
@@ -42,6 +42,10 @@ export const getUnixTimestamp = () => {
|
|
|
42
42
|
return Math.round(+new Date() / 1000);
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
+
export const getUnixTimestampInMilliseconds = () => {
|
|
46
|
+
return Math.round(+new Date());
|
|
47
|
+
}
|
|
48
|
+
|
|
45
49
|
export const formatBytes = (bytes, decimals = 2) => {
|
|
46
50
|
if (bytes === 0) return "0 Bytes";
|
|
47
51
|
|
|
@@ -121,7 +121,7 @@ class PermissionUtilIOS {
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
if (allResourcesAllowed === false) {
|
|
124
|
-
Alert.alert(localize('
|
|
124
|
+
Alert.alert(undefined, localize('CAMERA_PERMISSION'), [
|
|
125
125
|
{
|
|
126
126
|
style: 'cancel',
|
|
127
127
|
text: localize('CANCEL'),
|
|
@@ -132,6 +132,13 @@ export const CometChatImageBubble = (props: CometChatImageBubbleInterface) => {
|
|
|
132
132
|
}
|
|
133
133
|
}, []);
|
|
134
134
|
|
|
135
|
+
function getImage(imageUrl: ImageType) {
|
|
136
|
+
if (typeof imageUrl === "object" && imageUrl.uri) {
|
|
137
|
+
return { uri: imageUrl.uri };
|
|
138
|
+
}
|
|
139
|
+
return imageUrl;
|
|
140
|
+
}
|
|
141
|
+
|
|
135
142
|
return (
|
|
136
143
|
<>
|
|
137
144
|
{
|
|
@@ -156,7 +163,7 @@ export const CometChatImageBubble = (props: CometChatImageBubbleInterface) => {
|
|
|
156
163
|
? <View>
|
|
157
164
|
<Image
|
|
158
165
|
resizeMode={"contain"}
|
|
159
|
-
source={ICONS.Spinner}
|
|
166
|
+
source={getImage(placeHolderImage) || ICONS.Spinner}
|
|
160
167
|
style={{
|
|
161
168
|
height: 20,
|
|
162
169
|
width: 20,
|
|
@@ -166,8 +173,8 @@ export const CometChatImageBubble = (props: CometChatImageBubbleInterface) => {
|
|
|
166
173
|
</View>
|
|
167
174
|
: <Image
|
|
168
175
|
resizeMode={resizeMode || "cover"}
|
|
169
|
-
loadingIndicatorSource={ICONS.Spinner}
|
|
170
|
-
source={thumbnailUrl
|
|
176
|
+
loadingIndicatorSource={getImage(placeHolderImage) || ICONS.Spinner}
|
|
177
|
+
source={getImage(thumbnailUrl) || getImage(imageUrl)}
|
|
171
178
|
style={{
|
|
172
179
|
height,
|
|
173
180
|
width,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useContext, useEffect } from 'react';
|
|
2
2
|
import { CometChatContext, CometChatContextType, ImageType, localize } from "../..";
|
|
3
|
-
import { View, TouchableOpacity, Text, Image, NativeModules, FlatList, PermissionsAndroid, Alert, Platform } from "react-native";
|
|
3
|
+
import { View, TouchableOpacity, Text, Image, NativeModules, FlatList, PermissionsAndroid, Alert, Platform, Linking } from "react-native";
|
|
4
4
|
import { Style } from "./style";
|
|
5
5
|
import { ICONS } from '../../framework/resources';
|
|
6
6
|
import { MediaRecorderStyle, MediaRecorderStyleInterface } from './MediaRecorderStyle';
|
|
@@ -67,6 +67,22 @@ export const CometChatMediaRecorder = (props: CometChatMediaRecorderInterface) =
|
|
|
67
67
|
}
|
|
68
68
|
}, [])
|
|
69
69
|
|
|
70
|
+
function permissionAlert() {
|
|
71
|
+
Alert.alert(undefined, localize("MICROPHONE_PERMISSION"), [
|
|
72
|
+
{
|
|
73
|
+
style: 'cancel',
|
|
74
|
+
text: localize('CANCEL'),
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
style: 'default',
|
|
78
|
+
text: localize('SETTINGS'),
|
|
79
|
+
onPress: () => {
|
|
80
|
+
Linking.openSettings();
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
]);
|
|
84
|
+
}
|
|
85
|
+
|
|
70
86
|
const recordingInitiator = async () => {
|
|
71
87
|
let microphonePermission = await PermissionsAndroid.check(PermissionsAndroid.PERMISSIONS.RECORD_AUDIO);
|
|
72
88
|
if (microphonePermission || Platform.OS === "ios") {
|
|
@@ -75,20 +91,20 @@ export const CometChatMediaRecorder = (props: CometChatMediaRecorderInterface) =
|
|
|
75
91
|
try {
|
|
76
92
|
let resObj = JSON.parse(filepath);
|
|
77
93
|
if (resObj?.granted === false) {
|
|
78
|
-
|
|
94
|
+
permissionAlert();
|
|
79
95
|
onClose && onClose();
|
|
80
96
|
} else {
|
|
81
97
|
startInterval();
|
|
82
98
|
}
|
|
83
99
|
} catch (error) {
|
|
84
|
-
|
|
100
|
+
permissionAlert();
|
|
85
101
|
onClose && onClose();
|
|
86
102
|
}
|
|
87
103
|
}
|
|
88
104
|
});
|
|
89
105
|
Platform.OS === "android" && startInterval();
|
|
90
106
|
} else {
|
|
91
|
-
|
|
107
|
+
permissionAlert();
|
|
92
108
|
onClose && onClose();
|
|
93
109
|
return null;
|
|
94
110
|
}
|
|
@@ -147,6 +147,13 @@ export const CometChatVideoBubble = (props: CometChatVideoBubbleInterface) => {
|
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
+
function getImage(imageUrl: ImageType) {
|
|
151
|
+
if (typeof imageUrl === "object" && imageUrl.uri) {
|
|
152
|
+
return { uri: imageUrl.uri };
|
|
153
|
+
}
|
|
154
|
+
return imageUrl;
|
|
155
|
+
}
|
|
156
|
+
|
|
150
157
|
return (
|
|
151
158
|
<>
|
|
152
159
|
<CometChatVideoPlayer
|
|
@@ -167,7 +174,7 @@ export const CometChatVideoBubble = (props: CometChatVideoBubbleInterface) => {
|
|
|
167
174
|
volumeIcon={playerVolumeIcon}
|
|
168
175
|
volumeIconColor={style.playerVolumeIconColor}
|
|
169
176
|
/>
|
|
170
|
-
<ImageBackground source={(
|
|
177
|
+
<ImageBackground source={getImage(thumbnailUrl) || getImage(placeholderImage) || defaultThumbnail} resizeMode={"cover"} style={{ backgroundColor, ...border, borderRadius, height, width, overflow: "hidden" }}>
|
|
171
178
|
<View
|
|
172
179
|
onTouchStart={handleTouchStart}
|
|
173
180
|
onTouchEnd={handleTouchEnd}
|
|
@@ -60,7 +60,7 @@ export class VideoBubbleStyle extends BaseStyle {
|
|
|
60
60
|
width = 24,
|
|
61
61
|
backgroundColor = "transparent",
|
|
62
62
|
border = new BorderStyle({}),
|
|
63
|
-
borderRadius
|
|
63
|
+
borderRadius,
|
|
64
64
|
playIconBackgroundColor = "rgba(20,20,20,0.4)",
|
|
65
65
|
playIconTint = "white",
|
|
66
66
|
playerLoadingIconColor = "white",
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ListRenderItem, StyleProp, ViewStyle } from 'react-native';
|
|
3
|
-
import { AvatarStyleInterface, CometChatListStylesInterface, CometChatOptions, ImageType, ListItemStyleInterface } from '../shared';
|
|
4
|
-
import { CometChatAddMembersInterface } from './CometChatAddMembers';
|
|
5
|
-
import { CometChat } from '@cometchat/chat-sdk-react-native';
|
|
6
|
-
import { StatusIndicatorStyleInterface } from '../shared/views/CometChatStatusIndicator/StatusIndicatorStyle';
|
|
7
|
-
export interface AddMembersConfigurationInterface extends Omit<CometChatAddMembersInterface, 'backButtonIcon' | 'emptyStateText' | 'errorStateText' | 'group'> {
|
|
8
|
-
}
|
|
9
|
-
export declare class AddMembersConfiguration {
|
|
10
|
-
AppBarOptions?: React.FC;
|
|
11
|
-
avatarStyle?: AvatarStyleInterface;
|
|
12
|
-
bodyViewContainerStyle?: StyleProp<ViewStyle>;
|
|
13
|
-
disableUsersPresence?: boolean;
|
|
14
|
-
EmptyStateView?: React.FC;
|
|
15
|
-
ErrorStateView?: React.FC;
|
|
16
|
-
headViewContainerStyle?: StyleProp<ViewStyle>;
|
|
17
|
-
hideError?: boolean;
|
|
18
|
-
hideSearch?: boolean;
|
|
19
|
-
hideSeparator?: boolean;
|
|
20
|
-
listItemStyle?: ListItemStyleInterface;
|
|
21
|
-
ListItemView?: ListRenderItem<any>;
|
|
22
|
-
LoadingStateView?: React.FC;
|
|
23
|
-
onBack?: () => void;
|
|
24
|
-
onError?: (error: CometChat.CometChatException) => void;
|
|
25
|
-
onItemLongPress?: Function;
|
|
26
|
-
onItemPress?: Function;
|
|
27
|
-
onSelection?: Function;
|
|
28
|
-
options?: CometChatOptions[];
|
|
29
|
-
searchBoxIcon?: ImageType;
|
|
30
|
-
searchPlaceholderText?: string;
|
|
31
|
-
searchRequestBuilder?: CometChat.UsersRequestBuilder;
|
|
32
|
-
selectionIcon?: ImageType;
|
|
33
|
-
selectionMode?: 'none' | 'single' | 'multiple';
|
|
34
|
-
showBackButton?: boolean;
|
|
35
|
-
statusIndicatorStyle?: StatusIndicatorStyleInterface;
|
|
36
|
-
SubtitleView?: (item: CometChat.User) => JSX.Element;
|
|
37
|
-
TailView?: (item: CometChat.User) => JSX.Element;
|
|
38
|
-
tailViewContainerStyle?: StyleProp<ViewStyle>;
|
|
39
|
-
title?: string;
|
|
40
|
-
usersRequestBuilder?: CometChat.UsersRequestBuilder;
|
|
41
|
-
usersStyle?: CometChatListStylesInterface;
|
|
42
|
-
constructor(props: AddMembersConfigurationInterface);
|
|
43
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { AvatarConfigurationInterface } from '../shared/views/CometChatAvatar/AvatarConfiguration';
|
|
3
|
-
import { CometChatBannedMembersInterface } from './CometChatBannedMembers';
|
|
4
|
-
import { CometChat } from '@cometchat/chat-sdk-react-native';
|
|
5
|
-
import { CometChatListStylesInterface, CometChatOptions, ImageType, ListItemStyleInterface } from '../shared';
|
|
6
|
-
import { ListRenderItem, StyleProp, ViewStyle } from 'react-native';
|
|
7
|
-
import { StatusIndicatorStyleInterface } from '../shared/views/CometChatStatusIndicator/StatusIndicatorStyle';
|
|
8
|
-
export interface BannedMembersConfigurationInterface extends Omit<CometChatBannedMembersInterface, 'emptyStateText' | 'errorStateText' | 'group'> {
|
|
9
|
-
}
|
|
10
|
-
export declare class BannedMembersConfiguration {
|
|
11
|
-
AppBarOptions?: React.FC;
|
|
12
|
-
avatarStyle?: AvatarConfigurationInterface;
|
|
13
|
-
backButtonIcon?: boolean;
|
|
14
|
-
bannedMembersRequestBuilder?: CometChat.BannedMembersRequestBuilder;
|
|
15
|
-
bannedMemberStyle?: CometChatListStylesInterface;
|
|
16
|
-
bodyViewContainerStyle?: StyleProp<ViewStyle>;
|
|
17
|
-
disableUsersPresence?: boolean;
|
|
18
|
-
EmptyStateView?: React.FC;
|
|
19
|
-
ErrorStateView?: React.FC;
|
|
20
|
-
headViewContainerStyle?: StyleProp<ViewStyle>;
|
|
21
|
-
hideError?: boolean;
|
|
22
|
-
hideSearch?: boolean;
|
|
23
|
-
hideSeparator?: boolean;
|
|
24
|
-
listItemStyle?: ListItemStyleInterface;
|
|
25
|
-
ListItemView?: ListRenderItem<any>;
|
|
26
|
-
LoadingStateView?: React.FC;
|
|
27
|
-
onBack?: () => void;
|
|
28
|
-
onError?: (error: CometChat.CometChatException) => void;
|
|
29
|
-
onItemLongPress?: Function;
|
|
30
|
-
onItemPress?: Function;
|
|
31
|
-
onSelection?: Function;
|
|
32
|
-
options?: CometChatOptions[];
|
|
33
|
-
searchBoxIcon?: ImageType;
|
|
34
|
-
searchPlaceholderText?: string;
|
|
35
|
-
searchRequestBuilder?: CometChat.BannedMembersRequestBuilder;
|
|
36
|
-
selectionIcon?: ImageType;
|
|
37
|
-
selectionMode?: 'none' | 'single' | 'multiple';
|
|
38
|
-
showBackButton?: boolean;
|
|
39
|
-
statusIndicatorStyle?: StatusIndicatorStyleInterface;
|
|
40
|
-
SubtitleView?: (item: CometChat.User) => JSX.Element;
|
|
41
|
-
TailView?: (item: CometChat.User) => JSX.Element;
|
|
42
|
-
tailViewContainerStyle?: StyleProp<ViewStyle>;
|
|
43
|
-
title?: string;
|
|
44
|
-
unbanIcon?: ImageType;
|
|
45
|
-
constructor(props: BannedMembersConfigurationInterface);
|
|
46
|
-
}
|
|
Binary file
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { NativeSyntheticEvent, TextInputSubmitEditingEventData } from 'react-native';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ImageType } from '../shared/helper/types';
|
|
4
|
-
import { BorderStyleInterface, FontStyleInterface } from '../shared';
|
|
5
|
-
export declare function Header(props: {
|
|
6
|
-
backButtonIcon?: ImageType;
|
|
7
|
-
showBackButton?: boolean;
|
|
8
|
-
onBack?: () => void;
|
|
9
|
-
title?: string;
|
|
10
|
-
AppBarOptions?: () => JSX.Element;
|
|
11
|
-
shouldSelect?: boolean;
|
|
12
|
-
onSelectionHandler?: () => void;
|
|
13
|
-
hideSearch?: boolean;
|
|
14
|
-
searchBoxIcon?: ImageType;
|
|
15
|
-
searchPlaceholderText?: string;
|
|
16
|
-
searchPlaceholderTextColor?: string;
|
|
17
|
-
searchHandler?: (text: string) => void;
|
|
18
|
-
searchInput?: string;
|
|
19
|
-
onSubmitEditing?: (e: NativeSyntheticEvent<TextInputSubmitEditingEventData>) => void;
|
|
20
|
-
selectionIcon?: ImageType;
|
|
21
|
-
titleFontStyle?: FontStyleInterface;
|
|
22
|
-
titleColor?: string;
|
|
23
|
-
backIconTint?: string;
|
|
24
|
-
searchBorderStyle?: BorderStyleInterface;
|
|
25
|
-
searchBorderRadius?: number;
|
|
26
|
-
searchTextFontStyle?: FontStyleInterface;
|
|
27
|
-
searchTextColor?: string;
|
|
28
|
-
searchIconTint?: string;
|
|
29
|
-
searchBackgroundColor?: string;
|
|
30
|
-
selectionIconTint?: string;
|
|
31
|
-
}): React.JSX.Element;
|