stream-chat-react-native-core 5.27.0-beta.9 → 5.27.1-beta.1
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/commonjs/components/Attachment/Attachment.js +23 -101
- package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/AttachmentActions.js +26 -49
- package/lib/commonjs/components/Attachment/AttachmentActions.js.map +1 -1
- package/lib/commonjs/components/Attachment/AudioAttachment.js +73 -139
- package/lib/commonjs/components/Attachment/AudioAttachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/Card.js +67 -162
- package/lib/commonjs/components/Attachment/Card.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachment.js +33 -78
- package/lib/commonjs/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js +47 -81
- package/lib/commonjs/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/commonjs/components/Attachment/FileIcon.js +3 -10
- package/lib/commonjs/components/Attachment/FileIcon.js.map +1 -1
- package/lib/commonjs/components/Attachment/Gallery.js +131 -218
- package/lib/commonjs/components/Attachment/Gallery.js.map +1 -1
- package/lib/commonjs/components/Attachment/GalleryImage.js +5 -24
- package/lib/commonjs/components/Attachment/GalleryImage.js.map +1 -1
- package/lib/commonjs/components/Attachment/Giphy.js +151 -295
- package/lib/commonjs/components/Attachment/Giphy.js.map +1 -1
- package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js +19 -40
- package/lib/commonjs/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
- package/lib/commonjs/components/Attachment/ImageLoadingIndicator.js +3 -15
- package/lib/commonjs/components/Attachment/ImageLoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/Attachment/ImageReloadIndicator.js +8 -18
- package/lib/commonjs/components/Attachment/ImageReloadIndicator.js.map +1 -1
- package/lib/commonjs/components/Attachment/VideoThumbnail.js +13 -28
- package/lib/commonjs/components/Attachment/VideoThumbnail.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +2 -4
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +1 -2
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/buildGallery/types.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/getAspectRatio.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js +1 -1
- package/lib/commonjs/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
- package/lib/commonjs/components/Attachment/utils/openUrlSafely.js +1 -1
- package/lib/commonjs/components/Attachment/utils/openUrlSafely.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js +37 -57
- package/lib/commonjs/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +10 -20
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js +16 -37
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerError.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +3 -8
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerErrorImage.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +9 -18
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js +54 -126
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js +48 -100
- package/lib/commonjs/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js +3 -8
- package/lib/commonjs/components/AttachmentPicker/components/CameraSelectorIcon.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js +3 -8
- package/lib/commonjs/components/AttachmentPicker/components/FileSelectorIcon.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +4 -15
- package/lib/commonjs/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js.map +1 -1
- package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js +3 -8
- package/lib/commonjs/components/AttachmentPicker/components/ImageSelectorIcon.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js +226 -145
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +45 -134
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +24 -63
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +55 -125
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js +31 -71
- package/lib/commonjs/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/commonjs/components/Avatar/Avatar.js +45 -84
- package/lib/commonjs/components/Avatar/Avatar.js.map +1 -1
- package/lib/commonjs/components/Avatar/GroupAvatar.js +42 -65
- package/lib/commonjs/components/Avatar/GroupAvatar.js.map +1 -1
- package/lib/commonjs/components/Channel/Channel.js +90 -170
- package/lib/commonjs/components/Channel/Channel.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +1 -2
- package/lib/commonjs/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
- package/lib/commonjs/components/Channel/hooks/useTargetedMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js +12 -23
- package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js +7 -17
- package/lib/commonjs/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js +11 -20
- package/lib/commonjs/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +10 -19
- package/lib/commonjs/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js +6 -18
- package/lib/commonjs/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.js +51 -136
- package/lib/commonjs/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelList/Skeleton.js +50 -120
- package/lib/commonjs/components/ChannelList/Skeleton.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js +1 -2
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +2 -2
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js +2 -3
- package/lib/commonjs/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/commonjs/components/ChannelList/utils.js +3 -3
- package/lib/commonjs/components/ChannelList/utils.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js +7 -25
- package/lib/commonjs/components/ChannelPreview/ChannelAvatar.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +8 -21
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js +11 -21
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js +38 -107
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js +3 -8
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js +13 -37
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js +4 -8
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js +8 -17
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +5 -5
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js +5 -5
- package/lib/commonjs/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/commonjs/components/Chat/Chat.js +19 -46
- package/lib/commonjs/components/Chat/Chat.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js +100 -37
- package/lib/commonjs/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useAppSettings.js +3 -3
- package/lib/commonjs/components/Chat/hooks/useAppSettings.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js +1 -1
- package/lib/commonjs/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useMutedUsers.js.map +1 -1
- package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js +3 -1
- package/lib/commonjs/components/Chat/hooks/useSyncDatabase.js.map +1 -1
- package/lib/commonjs/components/ImageBackground.js +12 -23
- package/lib/commonjs/components/ImageBackground.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/ImageGallery.js +162 -258
- package/lib/commonjs/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js +7 -18
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js +39 -66
- package/lib/commonjs/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js +74 -151
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js +45 -97
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js +10 -20
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryOverlay.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js +42 -84
- package/lib/commonjs/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js +26 -60
- package/lib/commonjs/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js +22 -48
- package/lib/commonjs/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
- package/lib/commonjs/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js +24 -49
- package/lib/commonjs/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingDot.js +5 -10
- package/lib/commonjs/components/Indicators/LoadingDot.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingDots.js +17 -28
- package/lib/commonjs/components/Indicators/LoadingDots.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js +22 -53
- package/lib/commonjs/components/Indicators/LoadingErrorIndicator.js.map +1 -1
- package/lib/commonjs/components/Indicators/LoadingIndicator.js +21 -60
- package/lib/commonjs/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js +46 -91
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +52 -93
- package/lib/commonjs/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js.map +1 -1
- package/lib/commonjs/components/Message/Message.js +34 -74
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js +14 -38
- package/lib/commonjs/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js +17 -22
- package/lib/commonjs/components/Message/MessageSimple/MessageBounce.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js +72 -173
- package/lib/commonjs/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js +29 -58
- package/lib/commonjs/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageError.js +9 -26
- package/lib/commonjs/components/Message/MessageSimple/MessageError.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js +47 -106
- package/lib/commonjs/components/Message/MessageSimple/MessageFooter.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js +13 -36
- package/lib/commonjs/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js +66 -122
- package/lib/commonjs/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js +22 -45
- package/lib/commonjs/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js +20 -56
- package/lib/commonjs/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js +24 -79
- package/lib/commonjs/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js +21 -39
- package/lib/commonjs/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.js +123 -226
- package/lib/commonjs/components/Message/MessageSimple/ReactionList.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js +20 -12
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js +75 -164
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js +32 -65
- package/lib/commonjs/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js +4 -4
- package/lib/commonjs/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useMessageActions.js +25 -90
- package/lib/commonjs/components/Message/hooks/useMessageActions.js.map +1 -1
- package/lib/commonjs/components/Message/utils/messageActions.js.map +1 -1
- package/lib/commonjs/components/MessageInput/AttachButton.js +8 -26
- package/lib/commonjs/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/CommandsButton.js +10 -28
- package/lib/commonjs/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/CooldownTimer.js +11 -20
- package/lib/commonjs/components/MessageInput/CooldownTimer.js.map +1 -1
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js +104 -205
- package/lib/commonjs/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js +50 -123
- package/lib/commonjs/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/commonjs/components/MessageInput/InputButtons.js +17 -50
- package/lib/commonjs/components/MessageInput/InputButtons.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageInput.js +94 -238
- package/lib/commonjs/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MoreOptionsButton.js +8 -26
- package/lib/commonjs/components/MessageInput/MoreOptionsButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/SendButton.js +12 -44
- package/lib/commonjs/components/MessageInput/SendButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js +9 -18
- package/lib/commonjs/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js +33 -72
- package/lib/commonjs/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js +28 -77
- package/lib/commonjs/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js +23 -57
- package/lib/commonjs/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js +35 -80
- package/lib/commonjs/components/MessageInput/components/InputGiphySearch.js.map +1 -1
- package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js +23 -57
- package/lib/commonjs/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
- package/lib/commonjs/components/MessageInput/hooks/useCooldown.js.map +1 -1
- package/lib/commonjs/components/MessageInput/hooks/useCountdown.js.map +1 -1
- package/lib/commonjs/components/MessageList/DateHeader.js +9 -18
- package/lib/commonjs/components/MessageList/DateHeader.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineDateSeparator.js +9 -18
- package/lib/commonjs/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js +9 -25
- package/lib/commonjs/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js +9 -25
- package/lib/commonjs/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js +9 -25
- package/lib/commonjs/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js +42 -84
- package/lib/commonjs/components/MessageList/InlineUnreadIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageList.js +100 -270
- package/lib/commonjs/components/MessageList/MessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/MessageSystem.js +25 -56
- package/lib/commonjs/components/MessageList/MessageSystem.js.map +1 -1
- package/lib/commonjs/components/MessageList/NetworkDownIndicator.js +8 -17
- package/lib/commonjs/components/MessageList/NetworkDownIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js +26 -56
- package/lib/commonjs/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/commonjs/components/MessageList/TypingIndicator.js +12 -27
- package/lib/commonjs/components/MessageList/TypingIndicator.js.map +1 -1
- package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js +6 -18
- package/lib/commonjs/components/MessageList/TypingIndicatorContainer.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useMessageList.js +1 -2
- package/lib/commonjs/components/MessageList/hooks/useMessageList.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
- package/lib/commonjs/components/MessageList/hooks/useTypingString.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/filterTypingUsers.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getDateSeparators.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js +13 -5
- package/lib/commonjs/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/commonjs/components/MessageList/utils/getReadStates.js +52 -36
- package/lib/commonjs/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageActionList.js +19 -40
- package/lib/commonjs/components/MessageOverlay/MessageActionList.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js +21 -48
- package/lib/commonjs/components/MessageOverlay/MessageActionListItem.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js +163 -304
- package/lib/commonjs/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js +3 -8
- package/lib/commonjs/components/MessageOverlay/OverlayBackdrop.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js +73 -145
- package/lib/commonjs/components/MessageOverlay/OverlayReactionList.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/OverlayReactions.js +119 -224
- package/lib/commonjs/components/MessageOverlay/OverlayReactions.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js +3 -8
- package/lib/commonjs/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -1
- package/lib/commonjs/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -1
- package/lib/commonjs/components/ProgressControl/ProgressControl.js +19 -51
- package/lib/commonjs/components/ProgressControl/ProgressControl.js.map +1 -1
- package/lib/commonjs/components/RTLComponents/WritingDirectionAwareText.js +4 -9
- package/lib/commonjs/components/RTLComponents/WritingDirectionAwareText.js.map +1 -1
- package/lib/commonjs/components/Reply/Reply.js +61 -113
- package/lib/commonjs/components/Reply/Reply.js.map +1 -1
- package/lib/commonjs/components/Spinner/Spinner.js +11 -21
- package/lib/commonjs/components/Spinner/Spinner.js.map +1 -1
- package/lib/commonjs/components/Thread/Thread.js +17 -44
- package/lib/commonjs/components/Thread/Thread.js.map +1 -1
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js +57 -121
- package/lib/commonjs/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/commonjs/components/docs/data.js +1 -1
- package/lib/commonjs/components/docs/data.js.map +1 -1
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +9 -21
- package/lib/commonjs/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js +9 -21
- package/lib/commonjs/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/commonjs/contexts/channelContext/ChannelContext.js +8 -21
- package/lib/commonjs/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js +8 -21
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js +15 -32
- package/lib/commonjs/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
- package/lib/commonjs/contexts/channelsStateContext/useChannelState.js.map +1 -1
- package/lib/commonjs/contexts/chatContext/ChatContext.js +8 -21
- package/lib/commonjs/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/commonjs/contexts/debugContext/DebugContext.js +6 -10
- package/lib/commonjs/contexts/debugContext/DebugContext.js.map +1 -1
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js +8 -20
- package/lib/commonjs/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/commonjs/contexts/index.js.map +1 -1
- package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js +8 -21
- package/lib/commonjs/contexts/keyboardContext/KeyboardContext.js.map +1 -1
- package/lib/commonjs/contexts/messageContext/MessageContext.js +8 -21
- package/lib/commonjs/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js +126 -96
- package/lib/commonjs/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +5 -3
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js +49 -41
- package/lib/commonjs/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js +8 -21
- package/lib/commonjs/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -1
- package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js +33 -53
- package/lib/commonjs/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -1
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js +8 -21
- package/lib/commonjs/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js +5 -13
- package/lib/commonjs/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js +52 -112
- package/lib/commonjs/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +6 -10
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
- package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +8 -21
- package/lib/commonjs/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
- package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js +9 -21
- package/lib/commonjs/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/ThemeContext.js +6 -10
- package/lib/commonjs/contexts/themeContext/ThemeContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +3 -3
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/contexts/threadContext/ThreadContext.js +8 -21
- package/lib/commonjs/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/commonjs/contexts/translationContext/TranslationContext.js +8 -20
- package/lib/commonjs/contexts/translationContext/TranslationContext.js.map +1 -1
- package/lib/commonjs/contexts/typingContext/TypingContext.js +8 -21
- package/lib/commonjs/contexts/typingContext/TypingContext.js.map +1 -1
- package/lib/commonjs/contexts/utils/defaultBaseContextValue.js.map +1 -1
- package/lib/commonjs/contexts/utils/getDisplayName.js.map +1 -1
- package/lib/commonjs/contexts/utils/isTestEnvironment.js.map +1 -1
- package/lib/commonjs/emoji-data/compile.js +4 -5
- package/lib/commonjs/emoji-data/compile.js.map +1 -1
- package/lib/commonjs/emoji-data/index.js.map +1 -1
- package/lib/commonjs/hooks/index.js.map +1 -1
- package/lib/commonjs/hooks/useAppStateListener.js +3 -1
- package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
- package/lib/commonjs/hooks/useIsMountedRef.js.map +1 -1
- package/lib/commonjs/hooks/useLoadingImage.js +3 -4
- package/lib/commonjs/hooks/useLoadingImage.js.map +1 -1
- package/lib/commonjs/hooks/useStreami18n.js +1 -2
- package/lib/commonjs/hooks/useStreami18n.js.map +1 -1
- package/lib/commonjs/hooks/useTranslatedMessage.js +3 -5
- package/lib/commonjs/hooks/useTranslatedMessage.js.map +1 -1
- package/lib/commonjs/hooks/useViewport.js.map +1 -1
- package/lib/commonjs/i18n/es.json +10 -10
- package/lib/commonjs/i18n/fr.json +10 -10
- package/lib/commonjs/i18n/he.json +10 -10
- package/lib/commonjs/i18n/hi.json +10 -10
- package/lib/commonjs/i18n/it.json +10 -10
- package/lib/commonjs/i18n/ja.json +10 -10
- package/lib/commonjs/i18n/ko.json +10 -10
- package/lib/commonjs/i18n/nl.json +10 -10
- package/lib/commonjs/i18n/pt-BR.json +10 -10
- package/lib/commonjs/i18n/ru.json +10 -10
- package/lib/commonjs/i18n/tr.json +10 -10
- package/lib/commonjs/icons/ArrowRight.js +10 -36
- package/lib/commonjs/icons/ArrowRight.js.map +1 -1
- package/lib/commonjs/icons/AtMentions.js +6 -18
- package/lib/commonjs/icons/AtMentions.js.map +1 -1
- package/lib/commonjs/icons/Attach.js +6 -18
- package/lib/commonjs/icons/Attach.js.map +1 -1
- package/lib/commonjs/icons/Audio.js +28 -73
- package/lib/commonjs/icons/Audio.js.map +1 -1
- package/lib/commonjs/icons/CSV.js +18 -53
- package/lib/commonjs/icons/CSV.js.map +1 -1
- package/lib/commonjs/icons/Camera.js +6 -18
- package/lib/commonjs/icons/Camera.js.map +1 -1
- package/lib/commonjs/icons/Check.js +8 -27
- package/lib/commonjs/icons/Check.js.map +1 -1
- package/lib/commonjs/icons/CheckAll.js +8 -27
- package/lib/commonjs/icons/CheckAll.js.map +1 -1
- package/lib/commonjs/icons/CheckSend.js +6 -18
- package/lib/commonjs/icons/CheckSend.js.map +1 -1
- package/lib/commonjs/icons/CircleClose.js +8 -27
- package/lib/commonjs/icons/CircleClose.js.map +1 -1
- package/lib/commonjs/icons/CirclePlus.js +8 -27
- package/lib/commonjs/icons/CirclePlus.js.map +1 -1
- package/lib/commonjs/icons/CircleRight.js +8 -27
- package/lib/commonjs/icons/CircleRight.js.map +1 -1
- package/lib/commonjs/icons/Close.js +6 -18
- package/lib/commonjs/icons/Close.js.map +1 -1
- package/lib/commonjs/icons/Copy.js +6 -18
- package/lib/commonjs/icons/Copy.js.map +1 -1
- package/lib/commonjs/icons/CurveLineLeftUp.js +10 -36
- package/lib/commonjs/icons/CurveLineLeftUp.js.map +1 -1
- package/lib/commonjs/icons/DOC.js +32 -83
- package/lib/commonjs/icons/DOC.js.map +1 -1
- package/lib/commonjs/icons/DOCX.js +32 -83
- package/lib/commonjs/icons/DOCX.js.map +1 -1
- package/lib/commonjs/icons/Delete.js +8 -27
- package/lib/commonjs/icons/Delete.js.map +1 -1
- package/lib/commonjs/icons/Down.js +6 -18
- package/lib/commonjs/icons/Down.js.map +1 -1
- package/lib/commonjs/icons/DownloadArrow.js +6 -18
- package/lib/commonjs/icons/DownloadArrow.js.map +1 -1
- package/lib/commonjs/icons/DownloadCloud.js +12 -45
- package/lib/commonjs/icons/DownloadCloud.js.map +1 -1
- package/lib/commonjs/icons/Edit.js +6 -18
- package/lib/commonjs/icons/Edit.js.map +1 -1
- package/lib/commonjs/icons/Error.js +6 -18
- package/lib/commonjs/icons/Error.js.map +1 -1
- package/lib/commonjs/icons/Eye.js +6 -18
- package/lib/commonjs/icons/Eye.js.map +1 -1
- package/lib/commonjs/icons/Flag.js +6 -18
- package/lib/commonjs/icons/Flag.js.map +1 -1
- package/lib/commonjs/icons/Folder.js +6 -18
- package/lib/commonjs/icons/Folder.js.map +1 -1
- package/lib/commonjs/icons/GenericFile.js +28 -73
- package/lib/commonjs/icons/GenericFile.js.map +1 -1
- package/lib/commonjs/icons/GiphyIcon.js +22 -69
- package/lib/commonjs/icons/GiphyIcon.js.map +1 -1
- package/lib/commonjs/icons/Grid.js +6 -18
- package/lib/commonjs/icons/Grid.js.map +1 -1
- package/lib/commonjs/icons/Group.js +6 -18
- package/lib/commonjs/icons/Group.js.map +1 -1
- package/lib/commonjs/icons/HTML.js +18 -53
- package/lib/commonjs/icons/HTML.js.map +1 -1
- package/lib/commonjs/icons/Imgur.js +15 -41
- package/lib/commonjs/icons/Imgur.js.map +1 -1
- package/lib/commonjs/icons/LOLReaction.js +6 -18
- package/lib/commonjs/icons/LOLReaction.js.map +1 -1
- package/lib/commonjs/icons/Lightning.js +6 -18
- package/lib/commonjs/icons/Lightning.js.map +1 -1
- package/lib/commonjs/icons/Link.js +8 -27
- package/lib/commonjs/icons/Link.js.map +1 -1
- package/lib/commonjs/icons/Loading.js +23 -56
- package/lib/commonjs/icons/Loading.js.map +1 -1
- package/lib/commonjs/icons/Logo.js +7 -19
- package/lib/commonjs/icons/Logo.js.map +1 -1
- package/lib/commonjs/icons/LoveReaction.js +6 -18
- package/lib/commonjs/icons/LoveReaction.js.map +1 -1
- package/lib/commonjs/icons/MD.js +18 -53
- package/lib/commonjs/icons/MD.js.map +1 -1
- package/lib/commonjs/icons/MailOpen.js +6 -18
- package/lib/commonjs/icons/MailOpen.js.map +1 -1
- package/lib/commonjs/icons/MenuPointHorizontal.js +6 -18
- package/lib/commonjs/icons/MenuPointHorizontal.js.map +1 -1
- package/lib/commonjs/icons/MenuPointVertical.js +6 -18
- package/lib/commonjs/icons/MenuPointVertical.js.map +1 -1
- package/lib/commonjs/icons/MessageFlag.js +6 -18
- package/lib/commonjs/icons/MessageFlag.js.map +1 -1
- package/lib/commonjs/icons/MessageIcon.js +6 -18
- package/lib/commonjs/icons/MessageIcon.js.map +1 -1
- package/lib/commonjs/icons/Mute.js +6 -18
- package/lib/commonjs/icons/Mute.js.map +1 -1
- package/lib/commonjs/icons/Notification.js +10 -36
- package/lib/commonjs/icons/Notification.js.map +1 -1
- package/lib/commonjs/icons/ODT.js +18 -53
- package/lib/commonjs/icons/ODT.js.map +1 -1
- package/lib/commonjs/icons/PDF.js +18 -53
- package/lib/commonjs/icons/PDF.js.map +1 -1
- package/lib/commonjs/icons/PPT.js +32 -83
- package/lib/commonjs/icons/PPT.js.map +1 -1
- package/lib/commonjs/icons/PPTX.js +32 -83
- package/lib/commonjs/icons/PPTX.js.map +1 -1
- package/lib/commonjs/icons/Pause.js +16 -33
- package/lib/commonjs/icons/Pause.js.map +1 -1
- package/lib/commonjs/icons/Picture.js +8 -27
- package/lib/commonjs/icons/Picture.js.map +1 -1
- package/lib/commonjs/icons/Pin.js +7 -19
- package/lib/commonjs/icons/Pin.js.map +1 -1
- package/lib/commonjs/icons/PinHeader.js +6 -18
- package/lib/commonjs/icons/PinHeader.js.map +1 -1
- package/lib/commonjs/icons/Play.js +7 -19
- package/lib/commonjs/icons/Play.js.map +1 -1
- package/lib/commonjs/icons/RAR.js +18 -53
- package/lib/commonjs/icons/RAR.js.map +1 -1
- package/lib/commonjs/icons/RTF.js +18 -53
- package/lib/commonjs/icons/RTF.js.map +1 -1
- package/lib/commonjs/icons/Recorder.js +8 -27
- package/lib/commonjs/icons/Recorder.js.map +1 -1
- package/lib/commonjs/icons/Refresh.js +6 -18
- package/lib/commonjs/icons/Refresh.js.map +1 -1
- package/lib/commonjs/icons/SEVEN_Z.js +18 -53
- package/lib/commonjs/icons/SEVEN_Z.js.map +1 -1
- package/lib/commonjs/icons/Search.js +6 -18
- package/lib/commonjs/icons/Search.js.map +1 -1
- package/lib/commonjs/icons/SendRight.js +6 -18
- package/lib/commonjs/icons/SendRight.js.map +1 -1
- package/lib/commonjs/icons/SendUp.js +6 -18
- package/lib/commonjs/icons/SendUp.js.map +1 -1
- package/lib/commonjs/icons/Share.js +15 -40
- package/lib/commonjs/icons/Share.js.map +1 -1
- package/lib/commonjs/icons/ShareRightArrow.js +6 -18
- package/lib/commonjs/icons/ShareRightArrow.js.map +1 -1
- package/lib/commonjs/icons/Smile.js +8 -27
- package/lib/commonjs/icons/Smile.js.map +1 -1
- package/lib/commonjs/icons/Sound.js +6 -18
- package/lib/commonjs/icons/Sound.js.map +1 -1
- package/lib/commonjs/icons/TAR.js +18 -53
- package/lib/commonjs/icons/TAR.js.map +1 -1
- package/lib/commonjs/icons/TXT.js +18 -53
- package/lib/commonjs/icons/TXT.js.map +1 -1
- package/lib/commonjs/icons/ThreadReply.js +6 -18
- package/lib/commonjs/icons/ThreadReply.js.map +1 -1
- package/lib/commonjs/icons/ThumbsDownReaction.js +6 -18
- package/lib/commonjs/icons/ThumbsDownReaction.js.map +1 -1
- package/lib/commonjs/icons/ThumbsUpReaction.js +6 -18
- package/lib/commonjs/icons/ThumbsUpReaction.js.map +1 -1
- package/lib/commonjs/icons/Time.js +8 -27
- package/lib/commonjs/icons/Time.js.map +1 -1
- package/lib/commonjs/icons/Unknown.js +6 -18
- package/lib/commonjs/icons/Unknown.js.map +1 -1
- package/lib/commonjs/icons/Unpin.js +6 -18
- package/lib/commonjs/icons/Unpin.js.map +1 -1
- package/lib/commonjs/icons/User.js +6 -18
- package/lib/commonjs/icons/User.js.map +1 -1
- package/lib/commonjs/icons/UserAdd.js +8 -27
- package/lib/commonjs/icons/UserAdd.js.map +1 -1
- package/lib/commonjs/icons/UserAdmin.js +13 -32
- package/lib/commonjs/icons/UserAdmin.js.map +1 -1
- package/lib/commonjs/icons/UserDelete.js +8 -27
- package/lib/commonjs/icons/UserDelete.js.map +1 -1
- package/lib/commonjs/icons/UserMinus.js +8 -27
- package/lib/commonjs/icons/UserMinus.js.map +1 -1
- package/lib/commonjs/icons/Video.js +18 -58
- package/lib/commonjs/icons/Video.js.map +1 -1
- package/lib/commonjs/icons/Warning.js +6 -18
- package/lib/commonjs/icons/Warning.js.map +1 -1
- package/lib/commonjs/icons/WutReaction.js +6 -18
- package/lib/commonjs/icons/WutReaction.js.map +1 -1
- package/lib/commonjs/icons/XLS.js +32 -83
- package/lib/commonjs/icons/XLS.js.map +1 -1
- package/lib/commonjs/icons/XLSX.js +32 -83
- package/lib/commonjs/icons/XLSX.js.map +1 -1
- package/lib/commonjs/icons/ZIP.js +18 -53
- package/lib/commonjs/icons/ZIP.js.map +1 -1
- package/lib/commonjs/icons/index.js.map +1 -1
- package/lib/commonjs/icons/utils/base.js +8 -19
- package/lib/commonjs/icons/utils/base.js.map +1 -1
- package/lib/commonjs/index.js +2 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/init.js.map +1 -1
- package/lib/commonjs/mock-builders/DB/consts.js.map +1 -1
- package/lib/commonjs/mock-builders/DB/mock.js +2 -2
- package/lib/commonjs/mock-builders/DB/mock.js.map +1 -1
- package/lib/commonjs/mock-builders/api/channelMocks.js.map +1 -1
- package/lib/commonjs/mock-builders/api/deleteMessage.js.map +1 -1
- package/lib/commonjs/mock-builders/api/deleteReaction.js.map +1 -1
- package/lib/commonjs/mock-builders/api/error.js +4 -6
- package/lib/commonjs/mock-builders/api/error.js.map +1 -1
- package/lib/commonjs/mock-builders/api/getOrCreateChannel.js.map +1 -1
- package/lib/commonjs/mock-builders/api/queryChannels.js.map +1 -1
- package/lib/commonjs/mock-builders/api/queryMembers.js.map +1 -1
- package/lib/commonjs/mock-builders/api/sendMessage.js.map +1 -1
- package/lib/commonjs/mock-builders/api/sendReaction.js.map +1 -1
- package/lib/commonjs/mock-builders/api/threadReplies.js.map +1 -1
- package/lib/commonjs/mock-builders/api/useMockedApis.js.map +1 -1
- package/lib/commonjs/mock-builders/api/utils.js.map +1 -1
- package/lib/commonjs/mock-builders/event/channelDeleted.js.map +1 -1
- package/lib/commonjs/mock-builders/event/channelHidden.js.map +1 -1
- package/lib/commonjs/mock-builders/event/channelTruncated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/channelUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/connectionChanged.js.map +1 -1
- package/lib/commonjs/mock-builders/event/connectionRecovered.js.map +1 -1
- package/lib/commonjs/mock-builders/event/memberAdded.js.map +1 -1
- package/lib/commonjs/mock-builders/event/memberRemoved.js.map +1 -1
- package/lib/commonjs/mock-builders/event/memberUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/messageDeleted.js.map +1 -1
- package/lib/commonjs/mock-builders/event/messageNew.js.map +1 -1
- package/lib/commonjs/mock-builders/event/messageRead.js.map +1 -1
- package/lib/commonjs/mock-builders/event/messageUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/notificationAddedToChannel.js.map +1 -1
- package/lib/commonjs/mock-builders/event/notificationMessageNew.js.map +1 -1
- package/lib/commonjs/mock-builders/event/notificationMutesUpdated.js +1 -3
- package/lib/commonjs/mock-builders/event/notificationMutesUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/notificationRemovedFromChannel.js.map +1 -1
- package/lib/commonjs/mock-builders/event/reactionDeleted.js.map +1 -1
- package/lib/commonjs/mock-builders/event/reactionNew.js.map +1 -1
- package/lib/commonjs/mock-builders/event/reactionUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/event/typing.js.map +1 -1
- package/lib/commonjs/mock-builders/event/userPresence.js.map +1 -1
- package/lib/commonjs/mock-builders/event/userUpdated.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/attachment.js +9 -11
- package/lib/commonjs/mock-builders/generator/attachment.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/channel.js +11 -12
- package/lib/commonjs/mock-builders/generator/channel.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/member.js +1 -3
- package/lib/commonjs/mock-builders/generator/member.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/message.js +2 -4
- package/lib/commonjs/mock-builders/generator/message.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/reaction.js +1 -3
- package/lib/commonjs/mock-builders/generator/reaction.js.map +1 -1
- package/lib/commonjs/mock-builders/generator/user.js +2 -4
- package/lib/commonjs/mock-builders/generator/user.js.map +1 -1
- package/lib/commonjs/mock-builders/mock.js +1 -2
- package/lib/commonjs/mock-builders/mock.js.map +1 -1
- package/lib/commonjs/mock-builders/native/react-native-mock.js.map +1 -1
- package/lib/commonjs/native.js.map +1 -1
- package/lib/commonjs/store/QuickSqliteClient.js +11 -11
- package/lib/commonjs/store/QuickSqliteClient.js.map +1 -1
- package/lib/commonjs/store/apis/addPendingTask.js.map +1 -1
- package/lib/commonjs/store/apis/deleteChannel.js.map +1 -1
- package/lib/commonjs/store/apis/deleteMember.js.map +1 -1
- package/lib/commonjs/store/apis/deleteMessage.js.map +1 -1
- package/lib/commonjs/store/apis/deleteMessagesForChannel.js.map +1 -1
- package/lib/commonjs/store/apis/deletePendingTask.js.map +1 -1
- package/lib/commonjs/store/apis/deleteReaction.js.map +1 -1
- package/lib/commonjs/store/apis/deleteReactions.js.map +1 -1
- package/lib/commonjs/store/apis/getAllChannelIds.js.map +1 -1
- package/lib/commonjs/store/apis/getAppSettings.js.map +1 -1
- package/lib/commonjs/store/apis/getChannelMessages.js.map +1 -1
- package/lib/commonjs/store/apis/getChannels.js +1 -3
- package/lib/commonjs/store/apis/getChannels.js.map +1 -1
- package/lib/commonjs/store/apis/getChannelsForFilterSort.js.map +1 -1
- package/lib/commonjs/store/apis/getLastSyncedAt.js.map +1 -1
- package/lib/commonjs/store/apis/getMembers.js.map +1 -1
- package/lib/commonjs/store/apis/getPendingTasks.js.map +1 -1
- package/lib/commonjs/store/apis/getReads.js.map +1 -1
- package/lib/commonjs/store/apis/index.js.map +1 -1
- package/lib/commonjs/store/apis/insertReaction.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectChannels.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectMembersForChannels.js +3 -3
- package/lib/commonjs/store/apis/queries/selectMembersForChannels.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js +3 -3
- package/lib/commonjs/store/apis/queries/selectMessagesForChannels.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js +3 -3
- package/lib/commonjs/store/apis/queries/selectReactionsForMessages.js.map +1 -1
- package/lib/commonjs/store/apis/queries/selectReadsForChannels.js +3 -3
- package/lib/commonjs/store/apis/queries/selectReadsForChannels.js.map +1 -1
- package/lib/commonjs/store/apis/updateMessage.js.map +1 -1
- package/lib/commonjs/store/apis/updateReaction.js.map +1 -1
- package/lib/commonjs/store/apis/upsertAppSettings.js.map +1 -1
- package/lib/commonjs/store/apis/upsertChannelData.js.map +1 -1
- package/lib/commonjs/store/apis/upsertChannelDataFromChannel.js +21 -0
- package/lib/commonjs/store/apis/upsertChannelDataFromChannel.js.map +1 -0
- package/lib/commonjs/store/apis/upsertChannels.js +29 -21
- package/lib/commonjs/store/apis/upsertChannels.js.map +1 -1
- package/lib/commonjs/store/apis/upsertCidsForQuery.js.map +1 -1
- package/lib/commonjs/store/apis/upsertMembers.js.map +1 -1
- package/lib/commonjs/store/apis/upsertMessages.js.map +1 -1
- package/lib/commonjs/store/apis/upsertReads.js.map +1 -1
- package/lib/commonjs/store/apis/upsertUserSyncStatus.js.map +1 -1
- package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js +1 -1
- package/lib/commonjs/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
- package/lib/commonjs/store/constants.js.map +1 -1
- package/lib/commonjs/store/mappers/mapChannelDataToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapChannelToStorable.js +63 -0
- package/lib/commonjs/store/mappers/mapChannelToStorable.js.map +1 -0
- package/lib/commonjs/store/mappers/mapDateTimeToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapMemberToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapMessageToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapReactionToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapReadToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToChannel.js +1 -3
- package/lib/commonjs/store/mappers/mapStorableToChannel.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToMember.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToMessage.js +1 -2
- package/lib/commonjs/store/mappers/mapStorableToMessage.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToReaction.js +1 -3
- package/lib/commonjs/store/mappers/mapStorableToReaction.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToRead.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToTask.js.map +1 -1
- package/lib/commonjs/store/mappers/mapStorableToUser.js +1 -3
- package/lib/commonjs/store/mappers/mapStorableToUser.js.map +1 -1
- package/lib/commonjs/store/mappers/mapTaskToStorable.js +1 -3
- package/lib/commonjs/store/mappers/mapTaskToStorable.js.map +1 -1
- package/lib/commonjs/store/mappers/mapUserToStorable.js.map +1 -1
- package/lib/commonjs/store/schema.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js +2 -2
- package/lib/commonjs/store/sqlite-utils/appendOrderByClause.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js +3 -3
- package/lib/commonjs/store/sqlite-utils/appendWhereCluase.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createCreateTableQuery.js +5 -5
- package/lib/commonjs/store/sqlite-utils/createCreateTableQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js +1 -1
- package/lib/commonjs/store/sqlite-utils/createDeleteQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createSelectQuery.js +2 -2
- package/lib/commonjs/store/sqlite-utils/createSelectQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createUpdateQuery.js +3 -3
- package/lib/commonjs/store/sqlite-utils/createUpdateQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js +3 -3
- package/lib/commonjs/store/sqlite-utils/createUpsertQuery.js.map +1 -1
- package/lib/commonjs/store/sqlite-utils/printRow.js.map +1 -1
- package/lib/commonjs/store/types.js.map +1 -1
- package/lib/commonjs/test-utils/BetterSqlite.js +2 -2
- package/lib/commonjs/test-utils/BetterSqlite.js.map +1 -1
- package/lib/commonjs/types/types.js.map +1 -1
- package/lib/commonjs/utils/DBSyncManager.js +124 -98
- package/lib/commonjs/utils/DBSyncManager.js.map +1 -1
- package/lib/commonjs/utils/StreamChatRN.js +1 -2
- package/lib/commonjs/utils/StreamChatRN.js.map +1 -1
- package/lib/commonjs/utils/Streami18n.js +24 -22
- package/lib/commonjs/utils/Streami18n.js.map +1 -1
- package/lib/commonjs/utils/addReactionToLocalState.js.map +1 -1
- package/lib/commonjs/utils/compressImage.js.map +1 -1
- package/lib/commonjs/utils/date.js.map +1 -1
- package/lib/commonjs/utils/getResizedImageUrl.js +3 -3
- package/lib/commonjs/utils/getResizedImageUrl.js.map +1 -1
- package/lib/commonjs/utils/getUrlOfImageAttachment.js.map +1 -1
- package/lib/commonjs/utils/patchMessageTextCommand.js +2 -2
- package/lib/commonjs/utils/patchMessageTextCommand.js.map +1 -1
- package/lib/commonjs/utils/removeReactionFromLocalState.js.map +1 -1
- package/lib/commonjs/utils/removeReservedFields.js +1 -3
- package/lib/commonjs/utils/removeReservedFields.js.map +1 -1
- package/lib/commonjs/utils/utils.js +29 -22
- package/lib/commonjs/utils/utils.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Attachment.js +23 -101
- package/lib/module/components/Attachment/Attachment.js.map +1 -1
- package/lib/module/components/Attachment/AttachmentActions.js +26 -49
- package/lib/module/components/Attachment/AttachmentActions.js.map +1 -1
- package/lib/module/components/Attachment/AudioAttachment.js +73 -139
- package/lib/module/components/Attachment/AudioAttachment.js.map +1 -1
- package/lib/module/components/Attachment/Card.js +67 -162
- package/lib/module/components/Attachment/Card.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachment.js +33 -78
- package/lib/module/components/Attachment/FileAttachment.js.map +1 -1
- package/lib/module/components/Attachment/FileAttachmentGroup.js +47 -81
- package/lib/module/components/Attachment/FileAttachmentGroup.js.map +1 -1
- package/lib/module/components/Attachment/FileIcon.js +3 -10
- package/lib/module/components/Attachment/FileIcon.js.map +1 -1
- package/lib/module/components/Attachment/Gallery.js +131 -218
- package/lib/module/components/Attachment/Gallery.js.map +1 -1
- package/lib/module/components/Attachment/GalleryImage.js +5 -24
- package/lib/module/components/Attachment/GalleryImage.js.map +1 -1
- package/lib/module/components/Attachment/Giphy.js +151 -295
- package/lib/module/components/Attachment/Giphy.js.map +1 -1
- package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js +19 -40
- package/lib/module/components/Attachment/ImageLoadingFailedIndicator.js.map +1 -1
- package/lib/module/components/Attachment/ImageLoadingIndicator.js +3 -15
- package/lib/module/components/Attachment/ImageLoadingIndicator.js.map +1 -1
- package/lib/module/components/Attachment/ImageReloadIndicator.js +8 -18
- package/lib/module/components/Attachment/ImageReloadIndicator.js.map +1 -1
- package/lib/module/components/Attachment/VideoThumbnail.js +13 -28
- package/lib/module/components/Attachment/VideoThumbnail.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGallery.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js +2 -4
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js +1 -2
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildThumbnail.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/buildThumbnailGrid.js.map +1 -1
- package/lib/module/components/Attachment/utils/buildGallery/types.js.map +1 -1
- package/lib/module/components/Attachment/utils/getAspectRatio.js.map +1 -1
- package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js +1 -1
- package/lib/module/components/Attachment/utils/getGalleryImageBorderRadius.js.map +1 -1
- package/lib/module/components/Attachment/utils/getGiphyMimeType.js.map +1 -1
- package/lib/module/components/Attachment/utils/openUrlSafely.js +1 -1
- package/lib/module/components/Attachment/utils/openUrlSafely.js.map +1 -1
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js +37 -57
- package/lib/module/components/AttachmentPicker/AttachmentPicker.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js +10 -20
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js +16 -37
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerError.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js +3 -8
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerErrorImage.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js +9 -18
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js +54 -126
- package/lib/module/components/AttachmentPicker/components/AttachmentPickerItem.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js +48 -100
- package/lib/module/components/AttachmentPicker/components/AttachmentSelectionBar.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js +3 -8
- package/lib/module/components/AttachmentPicker/components/CameraSelectorIcon.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js +3 -8
- package/lib/module/components/AttachmentPicker/components/FileSelectorIcon.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js +4 -15
- package/lib/module/components/AttachmentPicker/components/ImageOverlaySelectedComponent.js.map +1 -1
- package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js +3 -8
- package/lib/module/components/AttachmentPicker/components/ImageSelectorIcon.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js +226 -145
- package/lib/module/components/AutoCompleteInput/AutoCompleteInput.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js +45 -134
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js +24 -63
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionHeader.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js +55 -125
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionItem.js.map +1 -1
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js +31 -71
- package/lib/module/components/AutoCompleteInput/AutoCompleteSuggestionList.js.map +1 -1
- package/lib/module/components/Avatar/Avatar.js +45 -84
- package/lib/module/components/Avatar/Avatar.js.map +1 -1
- package/lib/module/components/Avatar/GroupAvatar.js +42 -65
- package/lib/module/components/Avatar/GroupAvatar.js.map +1 -1
- package/lib/module/components/Channel/Channel.js +90 -170
- package/lib/module/components/Channel/Channel.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateChannelContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateInputMessageInputContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateMessagesContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js +1 -2
- package/lib/module/components/Channel/hooks/useCreateOwnCapabilitiesContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreatePaginatedMessageListContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateThreadContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useCreateTypingContext.js.map +1 -1
- package/lib/module/components/Channel/hooks/useTargetedMessage.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelList.js +12 -23
- package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js +7 -17
- package/lib/module/components/ChannelList/ChannelListFooterLoadingIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js +11 -20
- package/lib/module/components/ChannelList/ChannelListHeaderErrorIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js +10 -19
- package/lib/module/components/ChannelList/ChannelListHeaderNetworkDownIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js +6 -18
- package/lib/module/components/ChannelList/ChannelListLoadingIndicator.js.map +1 -1
- package/lib/module/components/ChannelList/ChannelListMessenger.js +51 -136
- package/lib/module/components/ChannelList/ChannelListMessenger.js.map +1 -1
- package/lib/module/components/ChannelList/Skeleton.js +50 -120
- package/lib/module/components/ChannelList/Skeleton.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelDeleted.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelHidden.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelTruncated.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js +1 -2
- package/lib/module/components/ChannelList/hooks/listeners/useChannelUpdated.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useChannelVisible.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessage.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useNewMessageNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/listeners/useUserPresence.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +2 -2
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js +2 -3
- package/lib/module/components/ChannelList/hooks/usePaginatedChannels.js.map +1 -1
- package/lib/module/components/ChannelList/utils.js +3 -3
- package/lib/module/components/ChannelList/utils.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelAvatar.js +7 -25
- package/lib/module/components/ChannelPreview/ChannelAvatar.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreview.js +8 -21
- package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js +11 -21
- package/lib/module/components/ChannelPreview/ChannelPreviewMessage.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js +38 -107
- package/lib/module/components/ChannelPreview/ChannelPreviewMessenger.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js +3 -8
- package/lib/module/components/ChannelPreview/ChannelPreviewMutedStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js +13 -37
- package/lib/module/components/ChannelPreview/ChannelPreviewStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js +4 -8
- package/lib/module/components/ChannelPreview/ChannelPreviewTitle.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js +8 -17
- package/lib/module/components/ChannelPreview/ChannelPreviewUnreadCount.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +5 -5
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js +5 -5
- package/lib/module/components/ChannelPreview/hooks/useLatestMessagePreview.js.map +1 -1
- package/lib/module/components/Chat/Chat.js +19 -46
- package/lib/module/components/Chat/Chat.js.map +1 -1
- package/lib/module/components/Chat/hooks/handleEventToSyncDB.js +100 -37
- package/lib/module/components/Chat/hooks/handleEventToSyncDB.js.map +1 -1
- package/lib/module/components/Chat/hooks/useAppSettings.js +3 -3
- package/lib/module/components/Chat/hooks/useAppSettings.js.map +1 -1
- package/lib/module/components/Chat/hooks/useCreateChatContext.js +1 -1
- package/lib/module/components/Chat/hooks/useCreateChatContext.js.map +1 -1
- package/lib/module/components/Chat/hooks/useIsOnline.js.map +1 -1
- package/lib/module/components/Chat/hooks/useMutedUsers.js.map +1 -1
- package/lib/module/components/Chat/hooks/useSyncDatabase.js +3 -1
- package/lib/module/components/Chat/hooks/useSyncDatabase.js.map +1 -1
- package/lib/module/components/ImageBackground.js +12 -23
- package/lib/module/components/ImageBackground.js.map +1 -1
- package/lib/module/components/ImageGallery/ImageGallery.js +162 -258
- package/lib/module/components/ImageGallery/ImageGallery.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js +7 -18
- package/lib/module/components/ImageGallery/components/AnimatedGalleryImage.js.map +1 -1
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js +39 -66
- package/lib/module/components/ImageGallery/components/AnimatedGalleryVideo.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js +74 -151
- package/lib/module/components/ImageGallery/components/ImageGalleryFooter.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js +45 -97
- package/lib/module/components/ImageGallery/components/ImageGalleryHeader.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js +10 -20
- package/lib/module/components/ImageGallery/components/ImageGalleryOverlay.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js +42 -84
- package/lib/module/components/ImageGallery/components/ImageGalleryVideoControl.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGrid.js +26 -60
- package/lib/module/components/ImageGallery/components/ImageGrid.js.map +1 -1
- package/lib/module/components/ImageGallery/components/ImageGridHandle.js +22 -48
- package/lib/module/components/ImageGallery/components/ImageGridHandle.js.map +1 -1
- package/lib/module/components/ImageGallery/hooks/useImageGalleryGestures.js.map +1 -1
- package/lib/module/components/Indicators/EmptyStateIndicator.js +24 -49
- package/lib/module/components/Indicators/EmptyStateIndicator.js.map +1 -1
- package/lib/module/components/Indicators/LoadingDot.js +5 -10
- package/lib/module/components/Indicators/LoadingDot.js.map +1 -1
- package/lib/module/components/Indicators/LoadingDots.js +17 -28
- package/lib/module/components/Indicators/LoadingDots.js.map +1 -1
- package/lib/module/components/Indicators/LoadingErrorIndicator.js +22 -53
- package/lib/module/components/Indicators/LoadingErrorIndicator.js.map +1 -1
- package/lib/module/components/Indicators/LoadingIndicator.js +21 -60
- package/lib/module/components/Indicators/LoadingIndicator.js.map +1 -1
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js +46 -91
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleView.js.map +1 -1
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js +52 -93
- package/lib/module/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.js.map +1 -1
- package/lib/module/components/Message/Message.js +34 -74
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageAvatar.js +14 -38
- package/lib/module/components/Message/MessageSimple/MessageAvatar.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageBounce.js +17 -22
- package/lib/module/components/Message/MessageSimple/MessageBounce.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageContent.js +72 -173
- package/lib/module/components/Message/MessageSimple/MessageContent.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageDeleted.js +29 -58
- package/lib/module/components/Message/MessageSimple/MessageDeleted.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageError.js +9 -26
- package/lib/module/components/Message/MessageSimple/MessageError.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageFooter.js +47 -106
- package/lib/module/components/Message/MessageSimple/MessageFooter.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js +13 -36
- package/lib/module/components/Message/MessageSimple/MessagePinnedHeader.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageReplies.js +66 -122
- package/lib/module/components/Message/MessageSimple/MessageReplies.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js +22 -45
- package/lib/module/components/Message/MessageSimple/MessageRepliesAvatars.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageSimple.js +20 -56
- package/lib/module/components/Message/MessageSimple/MessageSimple.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageStatus.js +24 -79
- package/lib/module/components/Message/MessageSimple/MessageStatus.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js +21 -39
- package/lib/module/components/Message/MessageSimple/MessageTextContainer.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/ReactionList.js +123 -226
- package/lib/module/components/Message/MessageSimple/ReactionList.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js +20 -12
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/generateMarkdownText.test.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/parseLinks.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/parseLinks.test.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.js +75 -164
- package/lib/module/components/Message/MessageSimple/utils/renderText.js.map +1 -1
- package/lib/module/components/Message/MessageSimple/utils/renderText.test.js +32 -65
- package/lib/module/components/Message/MessageSimple/utils/renderText.test.js.map +1 -1
- package/lib/module/components/Message/hooks/useCreateMessageContext.js +4 -4
- package/lib/module/components/Message/hooks/useCreateMessageContext.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActionHandlers.js.map +1 -1
- package/lib/module/components/Message/hooks/useMessageActions.js +25 -90
- package/lib/module/components/Message/hooks/useMessageActions.js.map +1 -1
- package/lib/module/components/Message/utils/messageActions.js.map +1 -1
- package/lib/module/components/MessageInput/AttachButton.js +8 -26
- package/lib/module/components/MessageInput/AttachButton.js.map +1 -1
- package/lib/module/components/MessageInput/CommandsButton.js +10 -28
- package/lib/module/components/MessageInput/CommandsButton.js.map +1 -1
- package/lib/module/components/MessageInput/CooldownTimer.js +11 -20
- package/lib/module/components/MessageInput/CooldownTimer.js.map +1 -1
- package/lib/module/components/MessageInput/FileUploadPreview.js +104 -205
- package/lib/module/components/MessageInput/FileUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/ImageUploadPreview.js +50 -123
- package/lib/module/components/MessageInput/ImageUploadPreview.js.map +1 -1
- package/lib/module/components/MessageInput/InputButtons.js +17 -50
- package/lib/module/components/MessageInput/InputButtons.js.map +1 -1
- package/lib/module/components/MessageInput/MessageInput.js +94 -238
- package/lib/module/components/MessageInput/MessageInput.js.map +1 -1
- package/lib/module/components/MessageInput/MoreOptionsButton.js +8 -26
- package/lib/module/components/MessageInput/MoreOptionsButton.js.map +1 -1
- package/lib/module/components/MessageInput/SendButton.js +12 -44
- package/lib/module/components/MessageInput/SendButton.js.map +1 -1
- package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js +9 -18
- package/lib/module/components/MessageInput/SendMessageDisallowedIndicator.js.map +1 -1
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js +33 -72
- package/lib/module/components/MessageInput/ShowThreadMessageInChannelButton.js.map +1 -1
- package/lib/module/components/MessageInput/UploadProgressIndicator.js +28 -77
- package/lib/module/components/MessageInput/UploadProgressIndicator.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputEditingStateHeader.js +23 -57
- package/lib/module/components/MessageInput/components/InputEditingStateHeader.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputGiphySearch.js +35 -80
- package/lib/module/components/MessageInput/components/InputGiphySearch.js.map +1 -1
- package/lib/module/components/MessageInput/components/InputReplyStateHeader.js +23 -57
- package/lib/module/components/MessageInput/components/InputReplyStateHeader.js.map +1 -1
- package/lib/module/components/MessageInput/hooks/useCooldown.js.map +1 -1
- package/lib/module/components/MessageInput/hooks/useCountdown.js.map +1 -1
- package/lib/module/components/MessageList/DateHeader.js +9 -18
- package/lib/module/components/MessageList/DateHeader.js.map +1 -1
- package/lib/module/components/MessageList/InlineDateSeparator.js +9 -18
- package/lib/module/components/MessageList/InlineDateSeparator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js +9 -25
- package/lib/module/components/MessageList/InlineLoadingMoreIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js +9 -25
- package/lib/module/components/MessageList/InlineLoadingMoreRecentIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js +9 -25
- package/lib/module/components/MessageList/InlineLoadingMoreThreadIndicator.js.map +1 -1
- package/lib/module/components/MessageList/InlineUnreadIndicator.js +42 -84
- package/lib/module/components/MessageList/InlineUnreadIndicator.js.map +1 -1
- package/lib/module/components/MessageList/MessageList.js +100 -270
- package/lib/module/components/MessageList/MessageList.js.map +1 -1
- package/lib/module/components/MessageList/MessageSystem.js +25 -56
- package/lib/module/components/MessageList/MessageSystem.js.map +1 -1
- package/lib/module/components/MessageList/NetworkDownIndicator.js +8 -17
- package/lib/module/components/MessageList/NetworkDownIndicator.js.map +1 -1
- package/lib/module/components/MessageList/ScrollToBottomButton.js +26 -56
- package/lib/module/components/MessageList/ScrollToBottomButton.js.map +1 -1
- package/lib/module/components/MessageList/TypingIndicator.js +12 -27
- package/lib/module/components/MessageList/TypingIndicator.js.map +1 -1
- package/lib/module/components/MessageList/TypingIndicatorContainer.js +6 -18
- package/lib/module/components/MessageList/TypingIndicatorContainer.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useMessageList.js +1 -2
- package/lib/module/components/MessageList/hooks/useMessageList.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.js.map +1 -1
- package/lib/module/components/MessageList/hooks/useTypingString.js.map +1 -1
- package/lib/module/components/MessageList/utils/filterTypingUsers.js.map +1 -1
- package/lib/module/components/MessageList/utils/getDateSeparators.js.map +1 -1
- package/lib/module/components/MessageList/utils/getGroupStyles.js.map +1 -1
- package/lib/module/components/MessageList/utils/getLastReceivedMessage.js +13 -5
- package/lib/module/components/MessageList/utils/getLastReceivedMessage.js.map +1 -1
- package/lib/module/components/MessageList/utils/getReadStates.js +52 -36
- package/lib/module/components/MessageList/utils/getReadStates.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageActionList.js +19 -40
- package/lib/module/components/MessageOverlay/MessageActionList.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageActionListItem.js +21 -48
- package/lib/module/components/MessageOverlay/MessageActionListItem.js.map +1 -1
- package/lib/module/components/MessageOverlay/MessageOverlay.js +163 -304
- package/lib/module/components/MessageOverlay/MessageOverlay.js.map +1 -1
- package/lib/module/components/MessageOverlay/OverlayBackdrop.js +3 -8
- package/lib/module/components/MessageOverlay/OverlayBackdrop.js.map +1 -1
- package/lib/module/components/MessageOverlay/OverlayReactionList.js +73 -145
- package/lib/module/components/MessageOverlay/OverlayReactionList.js.map +1 -1
- package/lib/module/components/MessageOverlay/OverlayReactions.js +119 -224
- package/lib/module/components/MessageOverlay/OverlayReactions.js.map +1 -1
- package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js +3 -8
- package/lib/module/components/MessageOverlay/OverlayReactionsAvatar.js.map +1 -1
- package/lib/module/components/MessageOverlay/hooks/useMessageActionAnimation.js.map +1 -1
- package/lib/module/components/ProgressControl/ProgressControl.js +19 -51
- package/lib/module/components/ProgressControl/ProgressControl.js.map +1 -1
- package/lib/module/components/RTLComponents/WritingDirectionAwareText.js +4 -9
- package/lib/module/components/RTLComponents/WritingDirectionAwareText.js.map +1 -1
- package/lib/module/components/Reply/Reply.js +61 -113
- package/lib/module/components/Reply/Reply.js.map +1 -1
- package/lib/module/components/Spinner/Spinner.js +11 -21
- package/lib/module/components/Spinner/Spinner.js.map +1 -1
- package/lib/module/components/Thread/Thread.js +17 -44
- package/lib/module/components/Thread/Thread.js.map +1 -1
- package/lib/module/components/Thread/components/ThreadFooterComponent.js +57 -121
- package/lib/module/components/Thread/components/ThreadFooterComponent.js.map +1 -1
- package/lib/module/components/docs/data.js +1 -1
- package/lib/module/components/docs/data.js.map +1 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js +9 -21
- package/lib/module/contexts/activeChannelsRefContext/ActiveChannelsRefContext.js.map +1 -1
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js +9 -21
- package/lib/module/contexts/attachmentPickerContext/AttachmentPickerContext.js.map +1 -1
- package/lib/module/contexts/channelContext/ChannelContext.js +8 -21
- package/lib/module/contexts/channelContext/ChannelContext.js.map +1 -1
- package/lib/module/contexts/channelsContext/ChannelsContext.js +8 -21
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js +15 -32
- package/lib/module/contexts/channelsStateContext/ChannelsStateContext.js.map +1 -1
- package/lib/module/contexts/channelsStateContext/useChannelState.js.map +1 -1
- package/lib/module/contexts/chatContext/ChatContext.js +8 -21
- package/lib/module/contexts/chatContext/ChatContext.js.map +1 -1
- package/lib/module/contexts/debugContext/DebugContext.js +6 -10
- package/lib/module/contexts/debugContext/DebugContext.js.map +1 -1
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js +8 -20
- package/lib/module/contexts/imageGalleryContext/ImageGalleryContext.js.map +1 -1
- package/lib/module/contexts/index.js.map +1 -1
- package/lib/module/contexts/keyboardContext/KeyboardContext.js +8 -21
- package/lib/module/contexts/keyboardContext/KeyboardContext.js.map +1 -1
- package/lib/module/contexts/messageContext/MessageContext.js +8 -21
- package/lib/module/contexts/messageContext/MessageContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/MessageInputContext.js +126 -96
- package/lib/module/contexts/messageInputContext/MessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js +5 -3
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageInputContext.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js +49 -41
- package/lib/module/contexts/messageInputContext/hooks/useMessageDetailsForState.js.map +1 -1
- package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js +8 -21
- package/lib/module/contexts/messageOverlayContext/MessageOverlayContext.js.map +1 -1
- package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.js.map +1 -1
- package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js +33 -53
- package/lib/module/contexts/messageOverlayContext/hooks/useResettableState.test.js.map +1 -1
- package/lib/module/contexts/messagesContext/MessagesContext.js +8 -21
- package/lib/module/contexts/messagesContext/MessagesContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayContext.js +5 -13
- package/lib/module/contexts/overlayContext/OverlayContext.js.map +1 -1
- package/lib/module/contexts/overlayContext/OverlayProvider.js +52 -112
- package/lib/module/contexts/overlayContext/OverlayProvider.js.map +1 -1
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +6 -10
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
- package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js +8 -21
- package/lib/module/contexts/paginatedMessageListContext/PaginatedMessageListContext.js.map +1 -1
- package/lib/module/contexts/suggestionsContext/SuggestionsContext.js +9 -21
- package/lib/module/contexts/suggestionsContext/SuggestionsContext.js.map +1 -1
- package/lib/module/contexts/themeContext/ThemeContext.js +6 -10
- package/lib/module/contexts/themeContext/ThemeContext.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +3 -3
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/contexts/threadContext/ThreadContext.js +8 -21
- package/lib/module/contexts/threadContext/ThreadContext.js.map +1 -1
- package/lib/module/contexts/translationContext/TranslationContext.js +8 -20
- package/lib/module/contexts/translationContext/TranslationContext.js.map +1 -1
- package/lib/module/contexts/typingContext/TypingContext.js +8 -21
- package/lib/module/contexts/typingContext/TypingContext.js.map +1 -1
- package/lib/module/contexts/utils/defaultBaseContextValue.js.map +1 -1
- package/lib/module/contexts/utils/getDisplayName.js.map +1 -1
- package/lib/module/contexts/utils/isTestEnvironment.js.map +1 -1
- package/lib/module/emoji-data/compile.js +4 -5
- package/lib/module/emoji-data/compile.js.map +1 -1
- package/lib/module/emoji-data/index.js.map +1 -1
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useAppStateListener.js +3 -1
- package/lib/module/hooks/useAppStateListener.js.map +1 -1
- package/lib/module/hooks/useIsMountedRef.js.map +1 -1
- package/lib/module/hooks/useLoadingImage.js +3 -4
- package/lib/module/hooks/useLoadingImage.js.map +1 -1
- package/lib/module/hooks/useStreami18n.js +1 -2
- package/lib/module/hooks/useStreami18n.js.map +1 -1
- package/lib/module/hooks/useTranslatedMessage.js +3 -5
- package/lib/module/hooks/useTranslatedMessage.js.map +1 -1
- package/lib/module/hooks/useViewport.js.map +1 -1
- package/lib/module/i18n/es.json +10 -10
- package/lib/module/i18n/fr.json +10 -10
- package/lib/module/i18n/he.json +10 -10
- package/lib/module/i18n/hi.json +10 -10
- package/lib/module/i18n/it.json +10 -10
- package/lib/module/i18n/ja.json +10 -10
- package/lib/module/i18n/ko.json +10 -10
- package/lib/module/i18n/nl.json +10 -10
- package/lib/module/i18n/pt-BR.json +10 -10
- package/lib/module/i18n/ru.json +10 -10
- package/lib/module/i18n/tr.json +10 -10
- package/lib/module/icons/ArrowRight.js +10 -36
- package/lib/module/icons/ArrowRight.js.map +1 -1
- package/lib/module/icons/AtMentions.js +6 -18
- package/lib/module/icons/AtMentions.js.map +1 -1
- package/lib/module/icons/Attach.js +6 -18
- package/lib/module/icons/Attach.js.map +1 -1
- package/lib/module/icons/Audio.js +28 -73
- package/lib/module/icons/Audio.js.map +1 -1
- package/lib/module/icons/CSV.js +18 -53
- package/lib/module/icons/CSV.js.map +1 -1
- package/lib/module/icons/Camera.js +6 -18
- package/lib/module/icons/Camera.js.map +1 -1
- package/lib/module/icons/Check.js +8 -27
- package/lib/module/icons/Check.js.map +1 -1
- package/lib/module/icons/CheckAll.js +8 -27
- package/lib/module/icons/CheckAll.js.map +1 -1
- package/lib/module/icons/CheckSend.js +6 -18
- package/lib/module/icons/CheckSend.js.map +1 -1
- package/lib/module/icons/CircleClose.js +8 -27
- package/lib/module/icons/CircleClose.js.map +1 -1
- package/lib/module/icons/CirclePlus.js +8 -27
- package/lib/module/icons/CirclePlus.js.map +1 -1
- package/lib/module/icons/CircleRight.js +8 -27
- package/lib/module/icons/CircleRight.js.map +1 -1
- package/lib/module/icons/Close.js +6 -18
- package/lib/module/icons/Close.js.map +1 -1
- package/lib/module/icons/Copy.js +6 -18
- package/lib/module/icons/Copy.js.map +1 -1
- package/lib/module/icons/CurveLineLeftUp.js +10 -36
- package/lib/module/icons/CurveLineLeftUp.js.map +1 -1
- package/lib/module/icons/DOC.js +32 -83
- package/lib/module/icons/DOC.js.map +1 -1
- package/lib/module/icons/DOCX.js +32 -83
- package/lib/module/icons/DOCX.js.map +1 -1
- package/lib/module/icons/Delete.js +8 -27
- package/lib/module/icons/Delete.js.map +1 -1
- package/lib/module/icons/Down.js +6 -18
- package/lib/module/icons/Down.js.map +1 -1
- package/lib/module/icons/DownloadArrow.js +6 -18
- package/lib/module/icons/DownloadArrow.js.map +1 -1
- package/lib/module/icons/DownloadCloud.js +12 -45
- package/lib/module/icons/DownloadCloud.js.map +1 -1
- package/lib/module/icons/Edit.js +6 -18
- package/lib/module/icons/Edit.js.map +1 -1
- package/lib/module/icons/Error.js +6 -18
- package/lib/module/icons/Error.js.map +1 -1
- package/lib/module/icons/Eye.js +6 -18
- package/lib/module/icons/Eye.js.map +1 -1
- package/lib/module/icons/Flag.js +6 -18
- package/lib/module/icons/Flag.js.map +1 -1
- package/lib/module/icons/Folder.js +6 -18
- package/lib/module/icons/Folder.js.map +1 -1
- package/lib/module/icons/GenericFile.js +28 -73
- package/lib/module/icons/GenericFile.js.map +1 -1
- package/lib/module/icons/GiphyIcon.js +22 -69
- package/lib/module/icons/GiphyIcon.js.map +1 -1
- package/lib/module/icons/Grid.js +6 -18
- package/lib/module/icons/Grid.js.map +1 -1
- package/lib/module/icons/Group.js +6 -18
- package/lib/module/icons/Group.js.map +1 -1
- package/lib/module/icons/HTML.js +18 -53
- package/lib/module/icons/HTML.js.map +1 -1
- package/lib/module/icons/Imgur.js +15 -41
- package/lib/module/icons/Imgur.js.map +1 -1
- package/lib/module/icons/LOLReaction.js +6 -18
- package/lib/module/icons/LOLReaction.js.map +1 -1
- package/lib/module/icons/Lightning.js +6 -18
- package/lib/module/icons/Lightning.js.map +1 -1
- package/lib/module/icons/Link.js +8 -27
- package/lib/module/icons/Link.js.map +1 -1
- package/lib/module/icons/Loading.js +23 -56
- package/lib/module/icons/Loading.js.map +1 -1
- package/lib/module/icons/Logo.js +7 -19
- package/lib/module/icons/Logo.js.map +1 -1
- package/lib/module/icons/LoveReaction.js +6 -18
- package/lib/module/icons/LoveReaction.js.map +1 -1
- package/lib/module/icons/MD.js +18 -53
- package/lib/module/icons/MD.js.map +1 -1
- package/lib/module/icons/MailOpen.js +6 -18
- package/lib/module/icons/MailOpen.js.map +1 -1
- package/lib/module/icons/MenuPointHorizontal.js +6 -18
- package/lib/module/icons/MenuPointHorizontal.js.map +1 -1
- package/lib/module/icons/MenuPointVertical.js +6 -18
- package/lib/module/icons/MenuPointVertical.js.map +1 -1
- package/lib/module/icons/MessageFlag.js +6 -18
- package/lib/module/icons/MessageFlag.js.map +1 -1
- package/lib/module/icons/MessageIcon.js +6 -18
- package/lib/module/icons/MessageIcon.js.map +1 -1
- package/lib/module/icons/Mute.js +6 -18
- package/lib/module/icons/Mute.js.map +1 -1
- package/lib/module/icons/Notification.js +10 -36
- package/lib/module/icons/Notification.js.map +1 -1
- package/lib/module/icons/ODT.js +18 -53
- package/lib/module/icons/ODT.js.map +1 -1
- package/lib/module/icons/PDF.js +18 -53
- package/lib/module/icons/PDF.js.map +1 -1
- package/lib/module/icons/PPT.js +32 -83
- package/lib/module/icons/PPT.js.map +1 -1
- package/lib/module/icons/PPTX.js +32 -83
- package/lib/module/icons/PPTX.js.map +1 -1
- package/lib/module/icons/Pause.js +16 -33
- package/lib/module/icons/Pause.js.map +1 -1
- package/lib/module/icons/Picture.js +8 -27
- package/lib/module/icons/Picture.js.map +1 -1
- package/lib/module/icons/Pin.js +7 -19
- package/lib/module/icons/Pin.js.map +1 -1
- package/lib/module/icons/PinHeader.js +6 -18
- package/lib/module/icons/PinHeader.js.map +1 -1
- package/lib/module/icons/Play.js +7 -19
- package/lib/module/icons/Play.js.map +1 -1
- package/lib/module/icons/RAR.js +18 -53
- package/lib/module/icons/RAR.js.map +1 -1
- package/lib/module/icons/RTF.js +18 -53
- package/lib/module/icons/RTF.js.map +1 -1
- package/lib/module/icons/Recorder.js +8 -27
- package/lib/module/icons/Recorder.js.map +1 -1
- package/lib/module/icons/Refresh.js +6 -18
- package/lib/module/icons/Refresh.js.map +1 -1
- package/lib/module/icons/SEVEN_Z.js +18 -53
- package/lib/module/icons/SEVEN_Z.js.map +1 -1
- package/lib/module/icons/Search.js +6 -18
- package/lib/module/icons/Search.js.map +1 -1
- package/lib/module/icons/SendRight.js +6 -18
- package/lib/module/icons/SendRight.js.map +1 -1
- package/lib/module/icons/SendUp.js +6 -18
- package/lib/module/icons/SendUp.js.map +1 -1
- package/lib/module/icons/Share.js +15 -40
- package/lib/module/icons/Share.js.map +1 -1
- package/lib/module/icons/ShareRightArrow.js +6 -18
- package/lib/module/icons/ShareRightArrow.js.map +1 -1
- package/lib/module/icons/Smile.js +8 -27
- package/lib/module/icons/Smile.js.map +1 -1
- package/lib/module/icons/Sound.js +6 -18
- package/lib/module/icons/Sound.js.map +1 -1
- package/lib/module/icons/TAR.js +18 -53
- package/lib/module/icons/TAR.js.map +1 -1
- package/lib/module/icons/TXT.js +18 -53
- package/lib/module/icons/TXT.js.map +1 -1
- package/lib/module/icons/ThreadReply.js +6 -18
- package/lib/module/icons/ThreadReply.js.map +1 -1
- package/lib/module/icons/ThumbsDownReaction.js +6 -18
- package/lib/module/icons/ThumbsDownReaction.js.map +1 -1
- package/lib/module/icons/ThumbsUpReaction.js +6 -18
- package/lib/module/icons/ThumbsUpReaction.js.map +1 -1
- package/lib/module/icons/Time.js +8 -27
- package/lib/module/icons/Time.js.map +1 -1
- package/lib/module/icons/Unknown.js +6 -18
- package/lib/module/icons/Unknown.js.map +1 -1
- package/lib/module/icons/Unpin.js +6 -18
- package/lib/module/icons/Unpin.js.map +1 -1
- package/lib/module/icons/User.js +6 -18
- package/lib/module/icons/User.js.map +1 -1
- package/lib/module/icons/UserAdd.js +8 -27
- package/lib/module/icons/UserAdd.js.map +1 -1
- package/lib/module/icons/UserAdmin.js +13 -32
- package/lib/module/icons/UserAdmin.js.map +1 -1
- package/lib/module/icons/UserDelete.js +8 -27
- package/lib/module/icons/UserDelete.js.map +1 -1
- package/lib/module/icons/UserMinus.js +8 -27
- package/lib/module/icons/UserMinus.js.map +1 -1
- package/lib/module/icons/Video.js +18 -58
- package/lib/module/icons/Video.js.map +1 -1
- package/lib/module/icons/Warning.js +6 -18
- package/lib/module/icons/Warning.js.map +1 -1
- package/lib/module/icons/WutReaction.js +6 -18
- package/lib/module/icons/WutReaction.js.map +1 -1
- package/lib/module/icons/XLS.js +32 -83
- package/lib/module/icons/XLS.js.map +1 -1
- package/lib/module/icons/XLSX.js +32 -83
- package/lib/module/icons/XLSX.js.map +1 -1
- package/lib/module/icons/ZIP.js +18 -53
- package/lib/module/icons/ZIP.js.map +1 -1
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/icons/utils/base.js +8 -19
- package/lib/module/icons/utils/base.js.map +1 -1
- package/lib/module/index.js +2 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/init.js.map +1 -1
- package/lib/module/mock-builders/DB/consts.js.map +1 -1
- package/lib/module/mock-builders/DB/mock.js +2 -2
- package/lib/module/mock-builders/DB/mock.js.map +1 -1
- package/lib/module/mock-builders/api/channelMocks.js.map +1 -1
- package/lib/module/mock-builders/api/deleteMessage.js.map +1 -1
- package/lib/module/mock-builders/api/deleteReaction.js.map +1 -1
- package/lib/module/mock-builders/api/error.js +4 -6
- package/lib/module/mock-builders/api/error.js.map +1 -1
- package/lib/module/mock-builders/api/getOrCreateChannel.js.map +1 -1
- package/lib/module/mock-builders/api/queryChannels.js.map +1 -1
- package/lib/module/mock-builders/api/queryMembers.js.map +1 -1
- package/lib/module/mock-builders/api/sendMessage.js.map +1 -1
- package/lib/module/mock-builders/api/sendReaction.js.map +1 -1
- package/lib/module/mock-builders/api/threadReplies.js.map +1 -1
- package/lib/module/mock-builders/api/useMockedApis.js.map +1 -1
- package/lib/module/mock-builders/api/utils.js.map +1 -1
- package/lib/module/mock-builders/event/channelDeleted.js.map +1 -1
- package/lib/module/mock-builders/event/channelHidden.js.map +1 -1
- package/lib/module/mock-builders/event/channelTruncated.js.map +1 -1
- package/lib/module/mock-builders/event/channelUpdated.js.map +1 -1
- package/lib/module/mock-builders/event/connectionChanged.js.map +1 -1
- package/lib/module/mock-builders/event/connectionRecovered.js.map +1 -1
- package/lib/module/mock-builders/event/memberAdded.js.map +1 -1
- package/lib/module/mock-builders/event/memberRemoved.js.map +1 -1
- package/lib/module/mock-builders/event/memberUpdated.js.map +1 -1
- package/lib/module/mock-builders/event/messageDeleted.js.map +1 -1
- package/lib/module/mock-builders/event/messageNew.js.map +1 -1
- package/lib/module/mock-builders/event/messageRead.js.map +1 -1
- package/lib/module/mock-builders/event/messageUpdated.js.map +1 -1
- package/lib/module/mock-builders/event/notificationAddedToChannel.js.map +1 -1
- package/lib/module/mock-builders/event/notificationMessageNew.js.map +1 -1
- package/lib/module/mock-builders/event/notificationMutesUpdated.js +1 -3
- package/lib/module/mock-builders/event/notificationMutesUpdated.js.map +1 -1
- package/lib/module/mock-builders/event/notificationRemovedFromChannel.js.map +1 -1
- package/lib/module/mock-builders/event/reactionDeleted.js.map +1 -1
- package/lib/module/mock-builders/event/reactionNew.js.map +1 -1
- package/lib/module/mock-builders/event/reactionUpdated.js.map +1 -1
- package/lib/module/mock-builders/event/typing.js.map +1 -1
- package/lib/module/mock-builders/event/userPresence.js.map +1 -1
- package/lib/module/mock-builders/event/userUpdated.js.map +1 -1
- package/lib/module/mock-builders/generator/attachment.js +9 -11
- package/lib/module/mock-builders/generator/attachment.js.map +1 -1
- package/lib/module/mock-builders/generator/channel.js +11 -12
- package/lib/module/mock-builders/generator/channel.js.map +1 -1
- package/lib/module/mock-builders/generator/member.js +1 -3
- package/lib/module/mock-builders/generator/member.js.map +1 -1
- package/lib/module/mock-builders/generator/message.js +2 -4
- package/lib/module/mock-builders/generator/message.js.map +1 -1
- package/lib/module/mock-builders/generator/reaction.js +1 -3
- package/lib/module/mock-builders/generator/reaction.js.map +1 -1
- package/lib/module/mock-builders/generator/user.js +2 -4
- package/lib/module/mock-builders/generator/user.js.map +1 -1
- package/lib/module/mock-builders/mock.js +1 -2
- package/lib/module/mock-builders/mock.js.map +1 -1
- package/lib/module/mock-builders/native/react-native-mock.js.map +1 -1
- package/lib/module/native.js.map +1 -1
- package/lib/module/store/QuickSqliteClient.js +11 -11
- package/lib/module/store/QuickSqliteClient.js.map +1 -1
- package/lib/module/store/apis/addPendingTask.js.map +1 -1
- package/lib/module/store/apis/deleteChannel.js.map +1 -1
- package/lib/module/store/apis/deleteMember.js.map +1 -1
- package/lib/module/store/apis/deleteMessage.js.map +1 -1
- package/lib/module/store/apis/deleteMessagesForChannel.js.map +1 -1
- package/lib/module/store/apis/deletePendingTask.js.map +1 -1
- package/lib/module/store/apis/deleteReaction.js.map +1 -1
- package/lib/module/store/apis/deleteReactions.js.map +1 -1
- package/lib/module/store/apis/getAllChannelIds.js.map +1 -1
- package/lib/module/store/apis/getAppSettings.js.map +1 -1
- package/lib/module/store/apis/getChannelMessages.js.map +1 -1
- package/lib/module/store/apis/getChannels.js +1 -3
- package/lib/module/store/apis/getChannels.js.map +1 -1
- package/lib/module/store/apis/getChannelsForFilterSort.js.map +1 -1
- package/lib/module/store/apis/getLastSyncedAt.js.map +1 -1
- package/lib/module/store/apis/getMembers.js.map +1 -1
- package/lib/module/store/apis/getPendingTasks.js.map +1 -1
- package/lib/module/store/apis/getReads.js.map +1 -1
- package/lib/module/store/apis/index.js.map +1 -1
- package/lib/module/store/apis/insertReaction.js.map +1 -1
- package/lib/module/store/apis/queries/selectChannelIdsForFilterSort.js.map +1 -1
- package/lib/module/store/apis/queries/selectChannels.js.map +1 -1
- package/lib/module/store/apis/queries/selectMembersForChannels.js +3 -3
- package/lib/module/store/apis/queries/selectMembersForChannels.js.map +1 -1
- package/lib/module/store/apis/queries/selectMessagesForChannels.js +3 -3
- package/lib/module/store/apis/queries/selectMessagesForChannels.js.map +1 -1
- package/lib/module/store/apis/queries/selectReactionsForMessages.js +3 -3
- package/lib/module/store/apis/queries/selectReactionsForMessages.js.map +1 -1
- package/lib/module/store/apis/queries/selectReadsForChannels.js +3 -3
- package/lib/module/store/apis/queries/selectReadsForChannels.js.map +1 -1
- package/lib/module/store/apis/updateMessage.js.map +1 -1
- package/lib/module/store/apis/updateReaction.js.map +1 -1
- package/lib/module/store/apis/upsertAppSettings.js.map +1 -1
- package/lib/module/store/apis/upsertChannelData.js.map +1 -1
- package/lib/module/store/apis/upsertChannelDataFromChannel.js +21 -0
- package/lib/module/store/apis/upsertChannelDataFromChannel.js.map +1 -0
- package/lib/module/store/apis/upsertChannels.js +29 -21
- package/lib/module/store/apis/upsertChannels.js.map +1 -1
- package/lib/module/store/apis/upsertCidsForQuery.js.map +1 -1
- package/lib/module/store/apis/upsertMembers.js.map +1 -1
- package/lib/module/store/apis/upsertMessages.js.map +1 -1
- package/lib/module/store/apis/upsertReads.js.map +1 -1
- package/lib/module/store/apis/upsertUserSyncStatus.js.map +1 -1
- package/lib/module/store/apis/utils/convertFilterSortToQuery.js +1 -1
- package/lib/module/store/apis/utils/convertFilterSortToQuery.js.map +1 -1
- package/lib/module/store/constants.js.map +1 -1
- package/lib/module/store/mappers/mapChannelDataToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapChannelToStorable.js +63 -0
- package/lib/module/store/mappers/mapChannelToStorable.js.map +1 -0
- package/lib/module/store/mappers/mapDateTimeToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapMemberToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapMessageToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapReactionToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapReadToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToChannel.js +1 -3
- package/lib/module/store/mappers/mapStorableToChannel.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToMember.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToMessage.js +1 -2
- package/lib/module/store/mappers/mapStorableToMessage.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToReaction.js +1 -3
- package/lib/module/store/mappers/mapStorableToReaction.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToRead.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToTask.js.map +1 -1
- package/lib/module/store/mappers/mapStorableToUser.js +1 -3
- package/lib/module/store/mappers/mapStorableToUser.js.map +1 -1
- package/lib/module/store/mappers/mapTaskToStorable.js +1 -3
- package/lib/module/store/mappers/mapTaskToStorable.js.map +1 -1
- package/lib/module/store/mappers/mapUserToStorable.js.map +1 -1
- package/lib/module/store/schema.js.map +1 -1
- package/lib/module/store/sqlite-utils/appendOrderByClause.js +2 -2
- package/lib/module/store/sqlite-utils/appendOrderByClause.js.map +1 -1
- package/lib/module/store/sqlite-utils/appendWhereCluase.js +3 -3
- package/lib/module/store/sqlite-utils/appendWhereCluase.js.map +1 -1
- package/lib/module/store/sqlite-utils/createCreateTableQuery.js +5 -5
- package/lib/module/store/sqlite-utils/createCreateTableQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/createDeleteQuery.js +1 -1
- package/lib/module/store/sqlite-utils/createDeleteQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/createSelectQuery.js +2 -2
- package/lib/module/store/sqlite-utils/createSelectQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/createUpdateQuery.js +3 -3
- package/lib/module/store/sqlite-utils/createUpdateQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/createUpsertQuery.js +3 -3
- package/lib/module/store/sqlite-utils/createUpsertQuery.js.map +1 -1
- package/lib/module/store/sqlite-utils/printRow.js.map +1 -1
- package/lib/module/store/types.js.map +1 -1
- package/lib/module/test-utils/BetterSqlite.js +2 -2
- package/lib/module/test-utils/BetterSqlite.js.map +1 -1
- package/lib/module/types/types.js.map +1 -1
- package/lib/module/utils/DBSyncManager.js +124 -98
- package/lib/module/utils/DBSyncManager.js.map +1 -1
- package/lib/module/utils/StreamChatRN.js +1 -2
- package/lib/module/utils/StreamChatRN.js.map +1 -1
- package/lib/module/utils/Streami18n.js +24 -22
- package/lib/module/utils/Streami18n.js.map +1 -1
- package/lib/module/utils/addReactionToLocalState.js.map +1 -1
- package/lib/module/utils/compressImage.js.map +1 -1
- package/lib/module/utils/date.js.map +1 -1
- package/lib/module/utils/getResizedImageUrl.js +3 -3
- package/lib/module/utils/getResizedImageUrl.js.map +1 -1
- package/lib/module/utils/getUrlOfImageAttachment.js.map +1 -1
- package/lib/module/utils/patchMessageTextCommand.js +2 -2
- package/lib/module/utils/patchMessageTextCommand.js.map +1 -1
- package/lib/module/utils/removeReactionFromLocalState.js.map +1 -1
- package/lib/module/utils/removeReservedFields.js +1 -3
- package/lib/module/utils/removeReservedFields.js.map +1 -1
- package/lib/module/utils/utils.js +29 -22
- package/lib/module/utils/utils.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/Attachment.d.ts +3 -2
- package/lib/typescript/components/Attachment/Attachment.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/AttachmentActions.d.ts +3 -2
- package/lib/typescript/components/Attachment/AttachmentActions.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/AudioAttachment.d.ts +3 -2
- package/lib/typescript/components/Attachment/AudioAttachment.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/Card.d.ts +3 -2
- package/lib/typescript/components/Attachment/Card.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/FileAttachment.d.ts +3 -2
- package/lib/typescript/components/Attachment/FileAttachment.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts +3 -2
- package/lib/typescript/components/Attachment/FileAttachmentGroup.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/FileIcon.d.ts +5 -1
- package/lib/typescript/components/Attachment/FileIcon.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/Gallery.d.ts +3 -2
- package/lib/typescript/components/Attachment/Gallery.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/GalleryImage.d.ts +4 -3
- package/lib/typescript/components/Attachment/GalleryImage.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/Giphy.d.ts +3 -2
- package/lib/typescript/components/Attachment/Giphy.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts +3 -2
- package/lib/typescript/components/Attachment/ImageLoadingFailedIndicator.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/ImageLoadingIndicator.d.ts +3 -2
- package/lib/typescript/components/Attachment/ImageLoadingIndicator.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/ImageReloadIndicator.d.ts +2 -1
- package/lib/typescript/components/Attachment/ImageReloadIndicator.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/VideoThumbnail.d.ts +2 -1
- package/lib/typescript/components/Attachment/VideoThumbnail.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGallery.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfSingleImage.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfThreeImages.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildGalleryOfTwoImages.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnail.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/buildThumbnailGrid.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/buildGallery/types.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/getAspectRatio.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/getGalleryImageBorderRadius.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/getGalleryImageBorderRadius.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/getGiphyMimeType.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/getGiphyMimeType.d.ts.map +1 -0
- package/lib/typescript/components/Attachment/utils/openUrlSafely.d.ts +1 -0
- package/lib/typescript/components/Attachment/utils/openUrlSafely.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts +1 -0
- package/lib/typescript/components/AttachmentPicker/AttachmentPicker.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.d.ts +5 -2
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerError.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerError.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerErrorImage.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerErrorImage.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.d.ts +3 -2
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentPickerItem.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/AttachmentSelectionBar.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/AttachmentSelectionBar.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/CameraSelectorIcon.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/CameraSelectorIcon.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/FileSelectorIcon.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/FileSelectorIcon.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/ImageOverlaySelectedComponent.d.ts +5 -1
- package/lib/typescript/components/AttachmentPicker/components/ImageOverlaySelectedComponent.d.ts.map +1 -0
- package/lib/typescript/components/AttachmentPicker/components/ImageSelectorIcon.d.ts +2 -1
- package/lib/typescript/components/AttachmentPicker/components/ImageSelectorIcon.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts +3 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteInput.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts +3 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionCommandIcon.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts +3 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionHeader.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts +3 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionItem.d.ts.map +1 -0
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts +3 -2
- package/lib/typescript/components/AutoCompleteInput/AutoCompleteSuggestionList.d.ts.map +1 -0
- package/lib/typescript/components/Avatar/Avatar.d.ts +5 -1
- package/lib/typescript/components/Avatar/Avatar.d.ts.map +1 -0
- package/lib/typescript/components/Avatar/GroupAvatar.d.ts +5 -1
- package/lib/typescript/components/Avatar/GroupAvatar.d.ts.map +1 -0
- package/lib/typescript/components/Channel/Channel.d.ts +2 -1
- package/lib/typescript/components/Channel/Channel.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateChannelContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts +6 -5
- package/lib/typescript/components/Channel/hooks/useCreateInputMessageInputContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateMessagesContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateOwnCapabilitiesContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreatePaginatedMessageListContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateThreadContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useCreateTypingContext.d.ts.map +1 -0
- package/lib/typescript/components/Channel/hooks/useTargetedMessage.d.ts +1 -0
- package/lib/typescript/components/Channel/hooks/useTargetedMessage.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelList.d.ts +2 -1
- package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelListFooterLoadingIndicator.d.ts +5 -1
- package/lib/typescript/components/ChannelList/ChannelListFooterLoadingIndicator.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelListHeaderErrorIndicator.d.ts +5 -1
- package/lib/typescript/components/ChannelList/ChannelListHeaderErrorIndicator.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelListHeaderNetworkDownIndicator.d.ts +5 -1
- package/lib/typescript/components/ChannelList/ChannelListHeaderNetworkDownIndicator.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelListLoadingIndicator.d.ts +2 -1
- package/lib/typescript/components/ChannelList/ChannelListLoadingIndicator.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts +3 -2
- package/lib/typescript/components/ChannelList/ChannelListMessenger.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/Skeleton.d.ts +5 -1
- package/lib/typescript/components/ChannelList/Skeleton.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useAddedToChannelNotification.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelDeleted.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelHidden.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelTruncated.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelUpdated.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useChannelVisible.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessage.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useNewMessageNotification.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/listeners/useUserPresence.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts +1 -0
- package/lib/typescript/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/utils.d.ts +2 -1
- package/lib/typescript/components/ChannelList/utils.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts +4 -3
- package/lib/typescript/components/ChannelPreview/ChannelAvatar.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessage.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMessenger.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewMutedStatus.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewStatus.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewTitle.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts +3 -2
- package/lib/typescript/components/ChannelPreview/ChannelPreviewUnreadCount.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayAvatar.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayPresence.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useLatestMessagePreview.d.ts.map +1 -0
- package/lib/typescript/components/Chat/Chat.d.ts +2 -1
- package/lib/typescript/components/Chat/Chat.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts +5 -2
- package/lib/typescript/components/Chat/hooks/handleEventToSyncDB.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts +1 -0
- package/lib/typescript/components/Chat/hooks/useAppSettings.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts +1 -0
- package/lib/typescript/components/Chat/hooks/useCreateChatContext.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts +1 -0
- package/lib/typescript/components/Chat/hooks/useIsOnline.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts +1 -0
- package/lib/typescript/components/Chat/hooks/useMutedUsers.d.ts.map +1 -0
- package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts +1 -0
- package/lib/typescript/components/Chat/hooks/useSyncDatabase.d.ts.map +1 -0
- package/lib/typescript/components/ImageBackground.d.ts +1 -0
- package/lib/typescript/components/ImageBackground.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts +3 -2
- package/lib/typescript/components/ImageGallery/ImageGallery.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts +2 -1
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryImage.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts +2 -1
- package/lib/typescript/components/ImageGallery/components/AnimatedGalleryVideo.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts +3 -2
- package/lib/typescript/components/ImageGallery/components/ImageGalleryFooter.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts +2 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryHeader.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGalleryOverlay.d.ts +5 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryOverlay.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts +2 -1
- package/lib/typescript/components/ImageGallery/components/ImageGalleryVideoControl.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts +2 -1
- package/lib/typescript/components/ImageGallery/components/ImageGrid.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/components/ImageGridHandle.d.ts +5 -1
- package/lib/typescript/components/ImageGallery/components/ImageGridHandle.d.ts.map +1 -0
- package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts +5 -4
- package/lib/typescript/components/ImageGallery/hooks/useImageGalleryGestures.d.ts.map +1 -0
- package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts +2 -1
- package/lib/typescript/components/Indicators/EmptyStateIndicator.d.ts.map +1 -0
- package/lib/typescript/components/Indicators/LoadingDot.d.ts +2 -1
- package/lib/typescript/components/Indicators/LoadingDot.d.ts.map +1 -0
- package/lib/typescript/components/Indicators/LoadingDots.d.ts +2 -1
- package/lib/typescript/components/Indicators/LoadingDots.d.ts.map +1 -0
- package/lib/typescript/components/Indicators/LoadingErrorIndicator.d.ts +5 -1
- package/lib/typescript/components/Indicators/LoadingErrorIndicator.d.ts.map +1 -0
- package/lib/typescript/components/Indicators/LoadingIndicator.d.ts +5 -1
- package/lib/typescript/components/Indicators/LoadingIndicator.d.ts.map +1 -0
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts +4 -3
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleView.d.ts.map +1 -0
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.d.ts +2 -1
- package/lib/typescript/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.d.ts.map +1 -0
- package/lib/typescript/components/Message/Message.d.ts +3 -2
- package/lib/typescript/components/Message/Message.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageAvatar.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageBounce.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts +2 -1
- package/lib/typescript/components/Message/MessageSimple/MessageContent.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts +2 -1
- package/lib/typescript/components/Message/MessageSimple/MessageDeleted.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageError.d.ts +2 -1
- package/lib/typescript/components/Message/MessageSimple/MessageError.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts +2 -1
- package/lib/typescript/components/Message/MessageSimple/MessageFooter.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessagePinnedHeader.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageReplies.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts +4 -3
- package/lib/typescript/components/Message/MessageSimple/MessageRepliesAvatars.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageSimple.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageStatus.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/MessageTextContainer.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts +3 -2
- package/lib/typescript/components/Message/MessageSimple/ReactionList.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.test.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/generateMarkdownText.test.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.test.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/parseLinks.test.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts +4 -3
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.d.ts.map +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.test.d.ts +1 -0
- package/lib/typescript/components/Message/MessageSimple/utils/renderText.test.d.ts.map +1 -0
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts +1 -0
- package/lib/typescript/components/Message/hooks/useCreateMessageContext.d.ts.map +1 -0
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts +1 -0
- package/lib/typescript/components/Message/hooks/useMessageActionHandlers.d.ts.map +1 -0
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts +1 -0
- package/lib/typescript/components/Message/hooks/useMessageActions.d.ts.map +1 -0
- package/lib/typescript/components/Message/utils/messageActions.d.ts +1 -0
- package/lib/typescript/components/Message/utils/messageActions.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/AttachButton.d.ts +3 -2
- package/lib/typescript/components/MessageInput/AttachButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/CommandsButton.d.ts +3 -2
- package/lib/typescript/components/MessageInput/CommandsButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/CooldownTimer.d.ts +3 -2
- package/lib/typescript/components/MessageInput/CooldownTimer.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts +3 -2
- package/lib/typescript/components/MessageInput/FileUploadPreview.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts +3 -2
- package/lib/typescript/components/MessageInput/ImageUploadPreview.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/InputButtons.d.ts +4 -3
- package/lib/typescript/components/MessageInput/InputButtons.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/MessageInput.d.ts +3 -2
- package/lib/typescript/components/MessageInput/MessageInput.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts +3 -2
- package/lib/typescript/components/MessageInput/MoreOptionsButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/SendButton.d.ts +3 -2
- package/lib/typescript/components/MessageInput/SendButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/SendMessageDisallowedIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageInput/SendMessageDisallowedIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts +3 -2
- package/lib/typescript/components/MessageInput/ShowThreadMessageInChannelButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageInput/UploadProgressIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts +4 -3
- package/lib/typescript/components/MessageInput/components/InputEditingStateHeader.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts +4 -3
- package/lib/typescript/components/MessageInput/components/InputGiphySearch.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts +4 -3
- package/lib/typescript/components/MessageInput/components/InputReplyStateHeader.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts +1 -0
- package/lib/typescript/components/MessageInput/hooks/useCooldown.d.ts.map +1 -0
- package/lib/typescript/components/MessageInput/hooks/useCountdown.d.ts +1 -0
- package/lib/typescript/components/MessageInput/hooks/useCountdown.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/DateHeader.d.ts +2 -1
- package/lib/typescript/components/MessageList/DateHeader.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts +2 -1
- package/lib/typescript/components/MessageList/InlineDateSeparator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageList/InlineLoadingMoreIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageList/InlineLoadingMoreRecentIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/InlineLoadingMoreThreadIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageList/InlineLoadingMoreThreadIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/InlineUnreadIndicator.d.ts +2 -1
- package/lib/typescript/components/MessageList/InlineUnreadIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/MessageList.d.ts +2 -1
- package/lib/typescript/components/MessageList/MessageList.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/MessageSystem.d.ts +3 -2
- package/lib/typescript/components/MessageList/MessageSystem.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/NetworkDownIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageList/NetworkDownIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts +5 -1
- package/lib/typescript/components/MessageList/ScrollToBottomButton.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/TypingIndicator.d.ts +3 -2
- package/lib/typescript/components/MessageList/TypingIndicator.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts +3 -2
- package/lib/typescript/components/MessageList/TypingIndicatorContainer.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts +1 -0
- package/lib/typescript/components/MessageList/hooks/useMessageList.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts +1 -0
- package/lib/typescript/components/MessageList/hooks/useShouldScrollToRecentOnNewOwnMessage.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts +1 -0
- package/lib/typescript/components/MessageList/hooks/useTypingString.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts +1 -0
- package/lib/typescript/components/MessageList/utils/filterTypingUsers.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts +1 -0
- package/lib/typescript/components/MessageList/utils/getDateSeparators.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts +1 -0
- package/lib/typescript/components/MessageList/utils/getGroupStyles.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts +1 -0
- package/lib/typescript/components/MessageList/utils/getLastReceivedMessage.d.ts.map +1 -0
- package/lib/typescript/components/MessageList/utils/getReadStates.d.ts +1 -0
- package/lib/typescript/components/MessageList/utils/getReadStates.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts +3 -2
- package/lib/typescript/components/MessageOverlay/MessageActionList.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/MessageActionListItem.d.ts +3 -2
- package/lib/typescript/components/MessageOverlay/MessageActionListItem.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts +3 -2
- package/lib/typescript/components/MessageOverlay/MessageOverlay.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts +1 -0
- package/lib/typescript/components/MessageOverlay/OverlayBackdrop.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/OverlayReactionList.d.ts +4 -3
- package/lib/typescript/components/MessageOverlay/OverlayReactionList.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/OverlayReactions.d.ts +5 -1
- package/lib/typescript/components/MessageOverlay/OverlayReactions.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/OverlayReactionsAvatar.d.ts +5 -1
- package/lib/typescript/components/MessageOverlay/OverlayReactionsAvatar.d.ts.map +1 -0
- package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts +2 -2
- package/lib/typescript/components/MessageOverlay/hooks/useMessageActionAnimation.d.ts.map +1 -0
- package/lib/typescript/components/ProgressControl/ProgressControl.d.ts +2 -1
- package/lib/typescript/components/ProgressControl/ProgressControl.d.ts.map +1 -0
- package/lib/typescript/components/RTLComponents/WritingDirectionAwareText.d.ts +2 -1
- package/lib/typescript/components/RTLComponents/WritingDirectionAwareText.d.ts.map +1 -0
- package/lib/typescript/components/Reply/Reply.d.ts +3 -2
- package/lib/typescript/components/Reply/Reply.d.ts.map +1 -0
- package/lib/typescript/components/Spinner/Spinner.d.ts +5 -1
- package/lib/typescript/components/Spinner/Spinner.d.ts.map +1 -0
- package/lib/typescript/components/Thread/Thread.d.ts +2 -1
- package/lib/typescript/components/Thread/Thread.d.ts.map +1 -0
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts +3 -2
- package/lib/typescript/components/Thread/components/ThreadFooterComponent.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/components/index.d.ts.map +1 -0
- package/lib/typescript/contexts/activeChannelsRefContext/ActiveChannelsRefContext.d.ts +12 -2
- package/lib/typescript/contexts/activeChannelsRefContext/ActiveChannelsRefContext.d.ts.map +1 -0
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts +12 -2
- package/lib/typescript/contexts/attachmentPickerContext/AttachmentPickerContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts +7 -2
- package/lib/typescript/contexts/channelContext/ChannelContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +8 -3
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts +12 -2
- package/lib/typescript/contexts/channelsStateContext/ChannelsStateContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts +1 -0
- package/lib/typescript/contexts/channelsStateContext/useChannelState.d.ts.map +1 -0
- package/lib/typescript/contexts/chatContext/ChatContext.d.ts +7 -2
- package/lib/typescript/contexts/chatContext/ChatContext.d.ts.map +1 -0
- package/lib/typescript/contexts/debugContext/DebugContext.d.ts +2 -1
- package/lib/typescript/contexts/debugContext/DebugContext.d.ts.map +1 -0
- package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts +12 -2
- package/lib/typescript/contexts/imageGalleryContext/ImageGalleryContext.d.ts.map +1 -0
- package/lib/typescript/contexts/index.d.ts +1 -0
- package/lib/typescript/contexts/index.d.ts.map +1 -0
- package/lib/typescript/contexts/keyboardContext/KeyboardContext.d.ts +14 -2
- package/lib/typescript/contexts/keyboardContext/KeyboardContext.d.ts.map +1 -0
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts +9 -4
- package/lib/typescript/contexts/messageContext/MessageContext.d.ts.map +1 -0
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts +8 -3
- package/lib/typescript/contexts/messageInputContext/MessageInputContext.d.ts.map +1 -0
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts +1 -0
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageInputContext.d.ts.map +1 -0
- package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts +1 -0
- package/lib/typescript/contexts/messageInputContext/hooks/useMessageDetailsForState.d.ts.map +1 -0
- package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts +9 -4
- package/lib/typescript/contexts/messageOverlayContext/MessageOverlayContext.d.ts.map +1 -0
- package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.d.ts +1 -0
- package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.d.ts.map +1 -0
- package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.test.d.ts +1 -0
- package/lib/typescript/contexts/messageOverlayContext/hooks/useResettableState.test.d.ts.map +1 -0
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts +10 -4
- package/lib/typescript/contexts/messagesContext/MessagesContext.d.ts.map +1 -0
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts +11 -1
- package/lib/typescript/contexts/overlayContext/OverlayContext.d.ts.map +1 -0
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts +2 -1
- package/lib/typescript/contexts/overlayContext/OverlayProvider.d.ts.map +1 -0
- package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts +2 -1
- package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts.map +1 -0
- package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts +9 -4
- package/lib/typescript/contexts/paginatedMessageListContext/PaginatedMessageListContext.d.ts.map +1 -0
- package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts +12 -2
- package/lib/typescript/contexts/suggestionsContext/SuggestionsContext.d.ts.map +1 -0
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +2 -1
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -0
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +10 -6
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -0
- package/lib/typescript/contexts/threadContext/ThreadContext.d.ts +9 -4
- package/lib/typescript/contexts/threadContext/ThreadContext.d.ts.map +1 -0
- package/lib/typescript/contexts/translationContext/TranslationContext.d.ts +14 -2
- package/lib/typescript/contexts/translationContext/TranslationContext.d.ts.map +1 -0
- package/lib/typescript/contexts/typingContext/TypingContext.d.ts +8 -3
- package/lib/typescript/contexts/typingContext/TypingContext.d.ts.map +1 -0
- package/lib/typescript/contexts/utils/defaultBaseContextValue.d.ts +1 -0
- package/lib/typescript/contexts/utils/defaultBaseContextValue.d.ts.map +1 -0
- package/lib/typescript/contexts/utils/getDisplayName.d.ts +1 -0
- package/lib/typescript/contexts/utils/getDisplayName.d.ts.map +1 -0
- package/lib/typescript/contexts/utils/isTestEnvironment.d.ts +1 -0
- package/lib/typescript/contexts/utils/isTestEnvironment.d.ts.map +1 -0
- package/lib/typescript/emoji-data/index.d.ts +1 -0
- package/lib/typescript/emoji-data/index.d.ts.map +1 -0
- package/lib/typescript/hooks/index.d.ts +1 -0
- package/lib/typescript/hooks/index.d.ts.map +1 -0
- package/lib/typescript/hooks/useAppStateListener.d.ts +1 -0
- package/lib/typescript/hooks/useAppStateListener.d.ts.map +1 -0
- package/lib/typescript/hooks/useIsMountedRef.d.ts +1 -0
- package/lib/typescript/hooks/useIsMountedRef.d.ts.map +1 -0
- package/lib/typescript/hooks/useLoadingImage.d.ts +1 -0
- package/lib/typescript/hooks/useLoadingImage.d.ts.map +1 -0
- package/lib/typescript/hooks/useStreami18n.d.ts +1 -0
- package/lib/typescript/hooks/useStreami18n.d.ts.map +1 -0
- package/lib/typescript/hooks/useTranslatedMessage.d.ts +1 -0
- package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -0
- package/lib/typescript/hooks/useViewport.d.ts +1 -0
- package/lib/typescript/hooks/useViewport.d.ts.map +1 -0
- package/lib/typescript/i18n/es.json +10 -10
- package/lib/typescript/i18n/fr.json +10 -10
- package/lib/typescript/i18n/he.json +10 -10
- package/lib/typescript/i18n/hi.json +10 -10
- package/lib/typescript/i18n/it.json +10 -10
- package/lib/typescript/i18n/ja.json +10 -10
- package/lib/typescript/i18n/ko.json +10 -10
- package/lib/typescript/i18n/nl.json +10 -10
- package/lib/typescript/i18n/pt-BR.json +10 -10
- package/lib/typescript/i18n/ru.json +10 -10
- package/lib/typescript/i18n/tr.json +10 -10
- package/lib/typescript/icons/ArrowRight.d.ts +3 -2
- package/lib/typescript/icons/ArrowRight.d.ts.map +1 -0
- package/lib/typescript/icons/AtMentions.d.ts +3 -2
- package/lib/typescript/icons/AtMentions.d.ts.map +1 -0
- package/lib/typescript/icons/Attach.d.ts +3 -2
- package/lib/typescript/icons/Attach.d.ts.map +1 -0
- package/lib/typescript/icons/Audio.d.ts +3 -2
- package/lib/typescript/icons/Audio.d.ts.map +1 -0
- package/lib/typescript/icons/CSV.d.ts +3 -2
- package/lib/typescript/icons/CSV.d.ts.map +1 -0
- package/lib/typescript/icons/Camera.d.ts +3 -2
- package/lib/typescript/icons/Camera.d.ts.map +1 -0
- package/lib/typescript/icons/Check.d.ts +3 -2
- package/lib/typescript/icons/Check.d.ts.map +1 -0
- package/lib/typescript/icons/CheckAll.d.ts +3 -2
- package/lib/typescript/icons/CheckAll.d.ts.map +1 -0
- package/lib/typescript/icons/CheckSend.d.ts +3 -2
- package/lib/typescript/icons/CheckSend.d.ts.map +1 -0
- package/lib/typescript/icons/CircleClose.d.ts +3 -2
- package/lib/typescript/icons/CircleClose.d.ts.map +1 -0
- package/lib/typescript/icons/CirclePlus.d.ts +3 -2
- package/lib/typescript/icons/CirclePlus.d.ts.map +1 -0
- package/lib/typescript/icons/CircleRight.d.ts +3 -2
- package/lib/typescript/icons/CircleRight.d.ts.map +1 -0
- package/lib/typescript/icons/Close.d.ts +3 -2
- package/lib/typescript/icons/Close.d.ts.map +1 -0
- package/lib/typescript/icons/Copy.d.ts +2 -1
- package/lib/typescript/icons/Copy.d.ts.map +1 -0
- package/lib/typescript/icons/CurveLineLeftUp.d.ts +3 -2
- package/lib/typescript/icons/CurveLineLeftUp.d.ts.map +1 -0
- package/lib/typescript/icons/DOC.d.ts +3 -2
- package/lib/typescript/icons/DOC.d.ts.map +1 -0
- package/lib/typescript/icons/DOCX.d.ts +3 -2
- package/lib/typescript/icons/DOCX.d.ts.map +1 -0
- package/lib/typescript/icons/Delete.d.ts +3 -2
- package/lib/typescript/icons/Delete.d.ts.map +1 -0
- package/lib/typescript/icons/Down.d.ts +3 -2
- package/lib/typescript/icons/Down.d.ts.map +1 -0
- package/lib/typescript/icons/DownloadArrow.d.ts +3 -2
- package/lib/typescript/icons/DownloadArrow.d.ts.map +1 -0
- package/lib/typescript/icons/DownloadCloud.d.ts +3 -2
- package/lib/typescript/icons/DownloadCloud.d.ts.map +1 -0
- package/lib/typescript/icons/Edit.d.ts +3 -2
- package/lib/typescript/icons/Edit.d.ts.map +1 -0
- package/lib/typescript/icons/Error.d.ts +3 -2
- package/lib/typescript/icons/Error.d.ts.map +1 -0
- package/lib/typescript/icons/Eye.d.ts +3 -2
- package/lib/typescript/icons/Eye.d.ts.map +1 -0
- package/lib/typescript/icons/Flag.d.ts +3 -2
- package/lib/typescript/icons/Flag.d.ts.map +1 -0
- package/lib/typescript/icons/Folder.d.ts +3 -2
- package/lib/typescript/icons/Folder.d.ts.map +1 -0
- package/lib/typescript/icons/GenericFile.d.ts +3 -2
- package/lib/typescript/icons/GenericFile.d.ts.map +1 -0
- package/lib/typescript/icons/GiphyIcon.d.ts +3 -2
- package/lib/typescript/icons/GiphyIcon.d.ts.map +1 -0
- package/lib/typescript/icons/Grid.d.ts +3 -2
- package/lib/typescript/icons/Grid.d.ts.map +1 -0
- package/lib/typescript/icons/Group.d.ts +3 -2
- package/lib/typescript/icons/Group.d.ts.map +1 -0
- package/lib/typescript/icons/HTML.d.ts +3 -2
- package/lib/typescript/icons/HTML.d.ts.map +1 -0
- package/lib/typescript/icons/Imgur.d.ts +3 -2
- package/lib/typescript/icons/Imgur.d.ts.map +1 -0
- package/lib/typescript/icons/LOLReaction.d.ts +3 -2
- package/lib/typescript/icons/LOLReaction.d.ts.map +1 -0
- package/lib/typescript/icons/Lightning.d.ts +3 -2
- package/lib/typescript/icons/Lightning.d.ts.map +1 -0
- package/lib/typescript/icons/Link.d.ts +3 -2
- package/lib/typescript/icons/Link.d.ts.map +1 -0
- package/lib/typescript/icons/Loading.d.ts +2 -1
- package/lib/typescript/icons/Loading.d.ts.map +1 -0
- package/lib/typescript/icons/Logo.d.ts +3 -2
- package/lib/typescript/icons/Logo.d.ts.map +1 -0
- package/lib/typescript/icons/LoveReaction.d.ts +3 -2
- package/lib/typescript/icons/LoveReaction.d.ts.map +1 -0
- package/lib/typescript/icons/MD.d.ts +3 -2
- package/lib/typescript/icons/MD.d.ts.map +1 -0
- package/lib/typescript/icons/MailOpen.d.ts +3 -2
- package/lib/typescript/icons/MailOpen.d.ts.map +1 -0
- package/lib/typescript/icons/MenuPointHorizontal.d.ts +3 -2
- package/lib/typescript/icons/MenuPointHorizontal.d.ts.map +1 -0
- package/lib/typescript/icons/MenuPointVertical.d.ts +3 -2
- package/lib/typescript/icons/MenuPointVertical.d.ts.map +1 -0
- package/lib/typescript/icons/MessageFlag.d.ts +3 -2
- package/lib/typescript/icons/MessageFlag.d.ts.map +1 -0
- package/lib/typescript/icons/MessageIcon.d.ts +3 -2
- package/lib/typescript/icons/MessageIcon.d.ts.map +1 -0
- package/lib/typescript/icons/Mute.d.ts +3 -2
- package/lib/typescript/icons/Mute.d.ts.map +1 -0
- package/lib/typescript/icons/Notification.d.ts +3 -2
- package/lib/typescript/icons/Notification.d.ts.map +1 -0
- package/lib/typescript/icons/ODT.d.ts +3 -2
- package/lib/typescript/icons/ODT.d.ts.map +1 -0
- package/lib/typescript/icons/PDF.d.ts +3 -2
- package/lib/typescript/icons/PDF.d.ts.map +1 -0
- package/lib/typescript/icons/PPT.d.ts +3 -2
- package/lib/typescript/icons/PPT.d.ts.map +1 -0
- package/lib/typescript/icons/PPTX.d.ts +3 -2
- package/lib/typescript/icons/PPTX.d.ts.map +1 -0
- package/lib/typescript/icons/Pause.d.ts +3 -2
- package/lib/typescript/icons/Pause.d.ts.map +1 -0
- package/lib/typescript/icons/Picture.d.ts +3 -2
- package/lib/typescript/icons/Picture.d.ts.map +1 -0
- package/lib/typescript/icons/Pin.d.ts +3 -2
- package/lib/typescript/icons/Pin.d.ts.map +1 -0
- package/lib/typescript/icons/PinHeader.d.ts +3 -2
- package/lib/typescript/icons/PinHeader.d.ts.map +1 -0
- package/lib/typescript/icons/Play.d.ts +3 -2
- package/lib/typescript/icons/Play.d.ts.map +1 -0
- package/lib/typescript/icons/RAR.d.ts +3 -2
- package/lib/typescript/icons/RAR.d.ts.map +1 -0
- package/lib/typescript/icons/RTF.d.ts +3 -2
- package/lib/typescript/icons/RTF.d.ts.map +1 -0
- package/lib/typescript/icons/Recorder.d.ts +3 -2
- package/lib/typescript/icons/Recorder.d.ts.map +1 -0
- package/lib/typescript/icons/Refresh.d.ts +3 -2
- package/lib/typescript/icons/Refresh.d.ts.map +1 -0
- package/lib/typescript/icons/SEVEN_Z.d.ts +3 -2
- package/lib/typescript/icons/SEVEN_Z.d.ts.map +1 -0
- package/lib/typescript/icons/Search.d.ts +3 -2
- package/lib/typescript/icons/Search.d.ts.map +1 -0
- package/lib/typescript/icons/SendRight.d.ts +3 -2
- package/lib/typescript/icons/SendRight.d.ts.map +1 -0
- package/lib/typescript/icons/SendUp.d.ts +3 -2
- package/lib/typescript/icons/SendUp.d.ts.map +1 -0
- package/lib/typescript/icons/Share.d.ts +3 -2
- package/lib/typescript/icons/Share.d.ts.map +1 -0
- package/lib/typescript/icons/ShareRightArrow.d.ts +3 -2
- package/lib/typescript/icons/ShareRightArrow.d.ts.map +1 -0
- package/lib/typescript/icons/Smile.d.ts +3 -2
- package/lib/typescript/icons/Smile.d.ts.map +1 -0
- package/lib/typescript/icons/Sound.d.ts +3 -2
- package/lib/typescript/icons/Sound.d.ts.map +1 -0
- package/lib/typescript/icons/TAR.d.ts +3 -2
- package/lib/typescript/icons/TAR.d.ts.map +1 -0
- package/lib/typescript/icons/TXT.d.ts +3 -2
- package/lib/typescript/icons/TXT.d.ts.map +1 -0
- package/lib/typescript/icons/ThreadReply.d.ts +3 -2
- package/lib/typescript/icons/ThreadReply.d.ts.map +1 -0
- package/lib/typescript/icons/ThumbsDownReaction.d.ts +3 -2
- package/lib/typescript/icons/ThumbsDownReaction.d.ts.map +1 -0
- package/lib/typescript/icons/ThumbsUpReaction.d.ts +3 -2
- package/lib/typescript/icons/ThumbsUpReaction.d.ts.map +1 -0
- package/lib/typescript/icons/Time.d.ts +3 -2
- package/lib/typescript/icons/Time.d.ts.map +1 -0
- package/lib/typescript/icons/Unknown.d.ts +3 -2
- package/lib/typescript/icons/Unknown.d.ts.map +1 -0
- package/lib/typescript/icons/Unpin.d.ts +3 -2
- package/lib/typescript/icons/Unpin.d.ts.map +1 -0
- package/lib/typescript/icons/User.d.ts +3 -2
- package/lib/typescript/icons/User.d.ts.map +1 -0
- package/lib/typescript/icons/UserAdd.d.ts +3 -2
- package/lib/typescript/icons/UserAdd.d.ts.map +1 -0
- package/lib/typescript/icons/UserAdmin.d.ts +3 -2
- package/lib/typescript/icons/UserAdmin.d.ts.map +1 -0
- package/lib/typescript/icons/UserDelete.d.ts +3 -2
- package/lib/typescript/icons/UserDelete.d.ts.map +1 -0
- package/lib/typescript/icons/UserMinus.d.ts +3 -2
- package/lib/typescript/icons/UserMinus.d.ts.map +1 -0
- package/lib/typescript/icons/Video.d.ts +3 -2
- package/lib/typescript/icons/Video.d.ts.map +1 -0
- package/lib/typescript/icons/Warning.d.ts +3 -2
- package/lib/typescript/icons/Warning.d.ts.map +1 -0
- package/lib/typescript/icons/WutReaction.d.ts +3 -2
- package/lib/typescript/icons/WutReaction.d.ts.map +1 -0
- package/lib/typescript/icons/XLS.d.ts +3 -2
- package/lib/typescript/icons/XLS.d.ts.map +1 -0
- package/lib/typescript/icons/XLSX.d.ts +3 -2
- package/lib/typescript/icons/XLSX.d.ts.map +1 -0
- package/lib/typescript/icons/ZIP.d.ts +3 -2
- package/lib/typescript/icons/ZIP.d.ts.map +1 -0
- package/lib/typescript/icons/index.d.ts +1 -0
- package/lib/typescript/icons/index.d.ts.map +1 -0
- package/lib/typescript/icons/utils/base.d.ts +4 -3
- package/lib/typescript/icons/utils/base.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/init.d.ts +1 -0
- package/lib/typescript/init.d.ts.map +1 -0
- package/lib/typescript/native.d.ts +1 -0
- package/lib/typescript/native.d.ts.map +1 -0
- package/lib/typescript/store/QuickSqliteClient.d.ts +1 -0
- package/lib/typescript/store/QuickSqliteClient.d.ts.map +1 -0
- package/lib/typescript/store/apis/addPendingTask.d.ts +1 -0
- package/lib/typescript/store/apis/addPendingTask.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteChannel.d.ts +1 -0
- package/lib/typescript/store/apis/deleteChannel.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteMember.d.ts +1 -0
- package/lib/typescript/store/apis/deleteMember.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteMessage.d.ts +1 -0
- package/lib/typescript/store/apis/deleteMessage.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteMessagesForChannel.d.ts +1 -0
- package/lib/typescript/store/apis/deleteMessagesForChannel.d.ts.map +1 -0
- package/lib/typescript/store/apis/deletePendingTask.d.ts +1 -0
- package/lib/typescript/store/apis/deletePendingTask.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteReaction.d.ts +1 -0
- package/lib/typescript/store/apis/deleteReaction.d.ts.map +1 -0
- package/lib/typescript/store/apis/deleteReactions.d.ts +1 -0
- package/lib/typescript/store/apis/deleteReactions.d.ts.map +1 -0
- package/lib/typescript/store/apis/getAllChannelIds.d.ts +1 -0
- package/lib/typescript/store/apis/getAllChannelIds.d.ts.map +1 -0
- package/lib/typescript/store/apis/getAppSettings.d.ts +1 -0
- package/lib/typescript/store/apis/getAppSettings.d.ts.map +1 -0
- package/lib/typescript/store/apis/getChannelMessages.d.ts +1 -0
- package/lib/typescript/store/apis/getChannelMessages.d.ts.map +1 -0
- package/lib/typescript/store/apis/getChannels.d.ts +1 -0
- package/lib/typescript/store/apis/getChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts +1 -0
- package/lib/typescript/store/apis/getChannelsForFilterSort.d.ts.map +1 -0
- package/lib/typescript/store/apis/getLastSyncedAt.d.ts +1 -0
- package/lib/typescript/store/apis/getLastSyncedAt.d.ts.map +1 -0
- package/lib/typescript/store/apis/getMembers.d.ts +1 -0
- package/lib/typescript/store/apis/getMembers.d.ts.map +1 -0
- package/lib/typescript/store/apis/getPendingTasks.d.ts +1 -0
- package/lib/typescript/store/apis/getPendingTasks.d.ts.map +1 -0
- package/lib/typescript/store/apis/getReads.d.ts +1 -0
- package/lib/typescript/store/apis/getReads.d.ts.map +1 -0
- package/lib/typescript/store/apis/index.d.ts +1 -0
- package/lib/typescript/store/apis/index.d.ts.map +1 -0
- package/lib/typescript/store/apis/insertReaction.d.ts +1 -0
- package/lib/typescript/store/apis/insertReaction.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectChannelIdsForFilterSort.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectChannels.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectMembersForChannels.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectMembersForChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectMessagesForChannels.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectMessagesForChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectReactionsForMessages.d.ts.map +1 -0
- package/lib/typescript/store/apis/queries/selectReadsForChannels.d.ts +1 -0
- package/lib/typescript/store/apis/queries/selectReadsForChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/updateMessage.d.ts +1 -0
- package/lib/typescript/store/apis/updateMessage.d.ts.map +1 -0
- package/lib/typescript/store/apis/updateReaction.d.ts +1 -0
- package/lib/typescript/store/apis/updateReaction.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertAppSettings.d.ts +1 -0
- package/lib/typescript/store/apis/upsertAppSettings.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertChannelData.d.ts +1 -0
- package/lib/typescript/store/apis/upsertChannelData.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts +7 -0
- package/lib/typescript/store/apis/upsertChannelDataFromChannel.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertChannels.d.ts +1 -0
- package/lib/typescript/store/apis/upsertChannels.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertCidsForQuery.d.ts +1 -0
- package/lib/typescript/store/apis/upsertCidsForQuery.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertMembers.d.ts +1 -0
- package/lib/typescript/store/apis/upsertMembers.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertMessages.d.ts +1 -0
- package/lib/typescript/store/apis/upsertMessages.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertReads.d.ts +1 -0
- package/lib/typescript/store/apis/upsertReads.d.ts.map +1 -0
- package/lib/typescript/store/apis/upsertUserSyncStatus.d.ts +1 -0
- package/lib/typescript/store/apis/upsertUserSyncStatus.d.ts.map +1 -0
- package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts +1 -0
- package/lib/typescript/store/apis/utils/convertFilterSortToQuery.d.ts.map +1 -0
- package/lib/typescript/store/constants.d.ts +1 -0
- package/lib/typescript/store/constants.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapChannelDataToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapChannelToStorable.d.ts +5 -0
- package/lib/typescript/store/mappers/mapChannelToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapDateTimeToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapDateTimeToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapMemberToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapMemberToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapMessageToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapMessageToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapReactionToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapReactionToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapReadToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapReadToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToChannel.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToChannel.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToMember.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToMember.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToMessage.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToMessage.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToReaction.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToReaction.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToRead.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToRead.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToTask.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToTask.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapStorableToUser.d.ts +1 -0
- package/lib/typescript/store/mappers/mapStorableToUser.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapTaskToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapTaskToStorable.d.ts.map +1 -0
- package/lib/typescript/store/mappers/mapUserToStorable.d.ts +1 -0
- package/lib/typescript/store/mappers/mapUserToStorable.d.ts.map +1 -0
- package/lib/typescript/store/schema.d.ts +1 -0
- package/lib/typescript/store/schema.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/appendOrderByClause.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/appendOrderByClause.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/appendWhereCluase.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/appendWhereCluase.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/createCreateTableQuery.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/createCreateTableQuery.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/createDeleteQuery.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/createDeleteQuery.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/createSelectQuery.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/createSelectQuery.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/createUpdateQuery.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/createUpdateQuery.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/createUpsertQuery.d.ts.map +1 -0
- package/lib/typescript/store/sqlite-utils/printRow.d.ts +1 -0
- package/lib/typescript/store/sqlite-utils/printRow.d.ts.map +1 -0
- package/lib/typescript/store/types.d.ts +1 -0
- package/lib/typescript/store/types.d.ts.map +1 -0
- package/lib/typescript/test-utils/BetterSqlite.d.ts +1 -0
- package/lib/typescript/test-utils/BetterSqlite.d.ts.map +1 -0
- package/lib/typescript/types/types.d.ts +1 -0
- package/lib/typescript/types/types.d.ts.map +1 -0
- package/lib/typescript/utils/DBSyncManager.d.ts +2 -1
- package/lib/typescript/utils/DBSyncManager.d.ts.map +1 -0
- package/lib/typescript/utils/StreamChatRN.d.ts +1 -0
- package/lib/typescript/utils/StreamChatRN.d.ts.map +1 -0
- package/lib/typescript/utils/Streami18n.d.ts +2 -0
- package/lib/typescript/utils/Streami18n.d.ts.map +1 -0
- package/lib/typescript/utils/addReactionToLocalState.d.ts +1 -0
- package/lib/typescript/utils/addReactionToLocalState.d.ts.map +1 -0
- package/lib/typescript/utils/compressImage.d.ts +1 -0
- package/lib/typescript/utils/compressImage.d.ts.map +1 -0
- package/lib/typescript/utils/date.d.ts +1 -0
- package/lib/typescript/utils/date.d.ts.map +1 -0
- package/lib/typescript/utils/getResizedImageUrl.d.ts +1 -0
- package/lib/typescript/utils/getResizedImageUrl.d.ts.map +1 -0
- package/lib/typescript/utils/getUrlOfImageAttachment.d.ts +1 -0
- package/lib/typescript/utils/getUrlOfImageAttachment.d.ts.map +1 -0
- package/lib/typescript/utils/patchMessageTextCommand.d.ts +1 -0
- package/lib/typescript/utils/patchMessageTextCommand.d.ts.map +1 -0
- package/lib/typescript/utils/removeReactionFromLocalState.d.ts +1 -0
- package/lib/typescript/utils/removeReactionFromLocalState.d.ts.map +1 -0
- package/lib/typescript/utils/removeReservedFields.d.ts +1 -0
- package/lib/typescript/utils/removeReservedFields.d.ts.map +1 -0
- package/lib/typescript/utils/utils.d.ts +3 -2
- package/lib/typescript/utils/utils.d.ts.map +1 -0
- package/package.json +33 -33
- package/src/__tests__/offline-support/offline-feature.js +60 -61
- package/src/__tests__/offline-support/optimistic-update.js +15 -15
- package/src/components/Attachment/AudioAttachment.tsx +1 -1
- package/src/components/Attachment/Card.tsx +1 -1
- package/src/components/Attachment/FileAttachment.tsx +1 -1
- package/src/components/Attachment/FileIcon.tsx +3 -3
- package/src/components/Attachment/Gallery.tsx +5 -5
- package/src/components/Attachment/GalleryImage.tsx +1 -1
- package/src/components/Attachment/ImageLoadingFailedIndicator.tsx +1 -1
- package/src/components/Attachment/VideoThumbnail.tsx +1 -1
- package/src/components/Attachment/__tests__/Gallery.test.js +48 -47
- package/src/components/Attachment/__tests__/Giphy.test.js +62 -52
- package/src/components/AttachmentPicker/AttachmentPicker.tsx +7 -4
- package/src/components/AttachmentPicker/components/AttachmentPickerBottomSheetHandle.tsx +4 -2
- package/src/components/AttachmentPicker/components/AttachmentPickerError.tsx +3 -3
- package/src/components/AttachmentPicker/components/AttachmentPickerErrorImage.tsx +1 -1
- package/src/components/AttachmentPicker/components/AttachmentPickerIOSSelectMorePhotos.tsx +1 -1
- package/src/components/AttachmentPicker/components/AttachmentPickerItem.tsx +2 -2
- package/src/components/AttachmentPicker/components/AttachmentSelectionBar.tsx +1 -1
- package/src/components/AttachmentPicker/components/CameraSelectorIcon.tsx +1 -1
- package/src/components/AttachmentPicker/components/FileSelectorIcon.tsx +1 -1
- package/src/components/AttachmentPicker/components/ImageOverlaySelectedComponent.tsx +1 -1
- package/src/components/AttachmentPicker/components/ImageSelectorIcon.tsx +1 -1
- package/src/components/AutoCompleteInput/AutoCompleteInput.tsx +13 -12
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionHeader.tsx +2 -2
- package/src/components/AutoCompleteInput/AutoCompleteSuggestionList.tsx +1 -1
- package/src/components/Avatar/Avatar.tsx +2 -2
- package/src/components/Avatar/GroupAvatar.tsx +1 -1
- package/src/components/Channel/Channel.tsx +11 -14
- package/src/components/ChannelList/ChannelList.tsx +4 -4
- package/src/components/ChannelList/ChannelListFooterLoadingIndicator.tsx +1 -1
- package/src/components/ChannelList/ChannelListHeaderErrorIndicator.tsx +2 -4
- package/src/components/ChannelList/ChannelListHeaderNetworkDownIndicator.tsx +4 -2
- package/src/components/ChannelList/ChannelListLoadingIndicator.tsx +1 -1
- package/src/components/ChannelList/Skeleton.tsx +1 -1
- package/src/components/ChannelList/__tests__/ChannelList.test.js +83 -75
- package/src/components/ChannelList/utils.ts +1 -1
- package/src/components/ChannelPreview/ChannelPreviewMessenger.tsx +1 -1
- package/src/components/ChannelPreview/ChannelPreviewStatus.tsx +2 -2
- package/src/components/ChannelPreview/__tests__/ChannelPreviewMessenger.test.js +11 -10
- package/src/components/ChannelPreview/hooks/__tests__/useChannelPreviewDisplayName.test.tsx +3 -3
- package/src/components/ChannelPreview/hooks/__tests__/useLatestMessagePreview.test.tsx +2 -4
- package/src/components/Chat/hooks/handleEventToSyncDB.ts +132 -46
- package/src/components/Chat/hooks/useSyncDatabase.ts +1 -1
- package/src/components/ImageGallery/ImageGallery.tsx +25 -2
- package/src/components/ImageGallery/__tests__/AnimatedVideoGallery.test.tsx +19 -19
- package/src/components/ImageGallery/__tests__/ImageGallery.test.tsx +20 -22
- package/src/components/ImageGallery/__tests__/ImageGalleryFooter.test.tsx +15 -13
- package/src/components/ImageGallery/__tests__/ImageGalleryGrid.test.tsx +9 -20
- package/src/components/ImageGallery/__tests__/ImageGalleryGridHandle.test.tsx +7 -14
- package/src/components/ImageGallery/__tests__/ImageGalleryHeader.test.tsx +12 -10
- package/src/components/ImageGallery/__tests__/ImageGalleryVideoControl.test.tsx +17 -12
- package/src/components/ImageGallery/components/AnimatedGalleryImage.tsx +2 -2
- package/src/components/ImageGallery/components/AnimatedGalleryVideo.tsx +2 -2
- package/src/components/ImageGallery/components/ImageGalleryFooter.tsx +1 -1
- package/src/components/ImageGallery/components/ImageGalleryHeader.tsx +4 -4
- package/src/components/ImageGallery/components/ImageGalleryOverlay.tsx +1 -1
- package/src/components/ImageGallery/components/ImageGalleryVideoControl.tsx +2 -2
- package/src/components/ImageGallery/components/ImageGridHandle.tsx +4 -2
- package/src/components/ImageGallery/components/__tests__/ImageGalleryHeader.test.tsx +1 -3
- package/src/components/Indicators/EmptyStateIndicator.tsx +3 -3
- package/src/components/Indicators/LoadingDot.tsx +1 -1
- package/src/components/Indicators/LoadingDots.tsx +1 -1
- package/src/components/Indicators/LoadingErrorIndicator.tsx +2 -2
- package/src/components/Indicators/LoadingIndicator.tsx +4 -2
- package/src/components/KeyboardCompatibleView/KeyboardCompatibleView.tsx +6 -3
- package/src/components/KeyboardCompatibleView/KeyboardCompatibleViewFC.tsx +15 -6
- package/src/components/Message/Message.tsx +6 -6
- package/src/components/Message/MessageSimple/MessageContent.tsx +8 -2
- package/src/components/Message/MessageSimple/MessageError.tsx +1 -1
- package/src/components/Message/MessageSimple/MessageFooter.tsx +6 -4
- package/src/components/Message/MessageSimple/MessagePinnedHeader.tsx +2 -2
- package/src/components/Message/MessageSimple/MessageReplies.tsx +2 -2
- package/src/components/Message/MessageSimple/ReactionList.tsx +7 -7
- package/src/components/Message/MessageSimple/__tests__/MessageAvatar.test.js +10 -10
- package/src/components/Message/MessageSimple/__tests__/MessageContent.test.js +32 -32
- package/src/components/Message/MessageSimple/__tests__/MessagePinnedHeader.test.js +7 -7
- package/src/components/Message/MessageSimple/__tests__/MessageReplies.test.js +21 -21
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageAvatar.test.js.snap +11 -11
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessagePinnedHeader.test.js.snap +26 -14
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageStatus.test.js.snap +32 -15
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageTextContainer.test.tsx.snap +7 -7
- package/src/components/Message/MessageSimple/utils/renderText.test.tsx +9 -8
- package/src/components/MessageInput/FileUploadPreview.tsx +2 -2
- package/src/components/MessageInput/ImageUploadPreview.tsx +2 -2
- package/src/components/MessageInput/SendMessageDisallowedIndicator.tsx +1 -1
- package/src/components/MessageInput/ShowThreadMessageInChannelButton.tsx +58 -55
- package/src/components/MessageInput/__tests__/AttachButton.test.js +11 -11
- package/src/components/MessageInput/__tests__/AudioAttachmentUploadPreviewExpo.test.tsx +13 -12
- package/src/components/MessageInput/__tests__/AudioAttachmentUploadPreviewNative.test.tsx +20 -21
- package/src/components/MessageInput/__tests__/FileUploadPreview.test.js +51 -38
- package/src/components/MessageInput/__tests__/UploadProgressIndicator.test.js +22 -51
- package/src/components/MessageInput/__tests__/__snapshots__/AttachButton.test.js.snap +66 -18
- package/src/components/MessageInput/__tests__/__snapshots__/SendButton.test.js.snap +132 -36
- package/src/components/MessageInput/components/InputEditingStateHeader.tsx +1 -1
- package/src/components/MessageInput/components/InputReplyStateHeader.tsx +1 -1
- package/src/components/MessageList/DateHeader.tsx +1 -1
- package/src/components/MessageList/InlineDateSeparator.tsx +1 -1
- package/src/components/MessageList/InlineLoadingMoreIndicator.tsx +19 -18
- package/src/components/MessageList/InlineLoadingMoreRecentIndicator.tsx +19 -18
- package/src/components/MessageList/InlineLoadingMoreThreadIndicator.tsx +19 -18
- package/src/components/MessageList/InlineUnreadIndicator.tsx +2 -2
- package/src/components/MessageList/MessageList.tsx +1 -0
- package/src/components/MessageList/MessageSystem.tsx +1 -1
- package/src/components/MessageList/ScrollToBottomButton.tsx +1 -1
- package/src/components/MessageList/TypingIndicatorContainer.tsx +2 -2
- package/src/components/MessageList/__tests__/MessageSystem.test.js +3 -3
- package/src/components/MessageList/__tests__/__snapshots__/MessageSystem.test.js.snap +22 -22
- package/src/components/MessageList/__tests__/__snapshots__/ScrollToBottomButton.test.js.snap +44 -15
- package/src/components/MessageList/__tests__/__snapshots__/TypingIndicator.test.js.snap +27 -27
- package/src/components/MessageList/__tests__/useMessageList.test.tsx +1 -1
- package/src/components/MessageList/utils/getGroupStyles.ts +2 -2
- package/src/components/MessageOverlay/MessageActionList.tsx +5 -5
- package/src/components/MessageOverlay/MessageOverlay.tsx +8 -8
- package/src/components/MessageOverlay/OverlayReactionList.tsx +4 -4
- package/src/components/MessageOverlay/OverlayReactions.tsx +14 -15
- package/src/components/MessageOverlay/OverlayReactionsAvatar.tsx +1 -1
- package/src/components/ProgressControl/ProgressControl.tsx +4 -2
- package/src/components/RTLComponents/WritingDirectionAwareText.tsx +1 -1
- package/src/components/Reply/Reply.tsx +5 -5
- package/src/components/Spinner/Spinner.tsx +1 -1
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.js.snap +482 -318
- package/src/components/Thread/components/ThreadFooterComponent.tsx +12 -6
- package/src/contexts/__tests__/index.test.tsx +1 -1
- package/src/contexts/activeChannelsRefContext/ActiveChannelsRefContext.tsx +10 -1
- package/src/contexts/attachmentPickerContext/AttachmentPickerContext.tsx +10 -1
- package/src/contexts/channelContext/ChannelContext.tsx +6 -1
- package/src/contexts/channelsContext/ChannelsContext.tsx +7 -2
- package/src/contexts/channelsStateContext/ChannelsStateContext.tsx +10 -1
- package/src/contexts/chatContext/ChatContext.tsx +5 -1
- package/src/contexts/imageGalleryContext/ImageGalleryContext.tsx +10 -1
- package/src/contexts/keyboardContext/KeyboardContext.tsx +14 -3
- package/src/contexts/messageContext/MessageContext.tsx +7 -3
- package/src/contexts/messageInputContext/MessageInputContext.tsx +6 -2
- package/src/contexts/messageInputContext/__tests__/MessageInputContext.test.tsx +92 -43
- package/src/contexts/messageInputContext/__tests__/__snapshots__/sendMessage.test.tsx.snap +24 -24
- package/src/contexts/messageInputContext/__tests__/__snapshots__/sendMessageAsync.test.tsx.snap +8 -8
- package/src/contexts/messageInputContext/__tests__/isValidMessage.test.tsx +15 -4
- package/src/contexts/messageInputContext/__tests__/pickFile.test.tsx +28 -13
- package/src/contexts/messageInputContext/__tests__/removeFile.test.tsx +9 -6
- package/src/contexts/messageInputContext/__tests__/removeImage.test.tsx +10 -7
- package/src/contexts/messageInputContext/__tests__/sendMessage.test.tsx +125 -53
- package/src/contexts/messageInputContext/__tests__/sendMessageAsync.test.tsx +46 -25
- package/src/contexts/messageInputContext/__tests__/updateMessage.test.tsx +22 -11
- package/src/contexts/messageInputContext/__tests__/uploadFile.test.tsx +30 -13
- package/src/contexts/messageInputContext/__tests__/uploadImage.test.tsx +15 -6
- package/src/contexts/messageInputContext/__tests__/useMessageDetailsForState.test.tsx +4 -3
- package/src/contexts/messageInputContext/hooks/useCreateMessageInputContext.ts +5 -1
- package/src/contexts/messageOverlayContext/MessageOverlayContext.tsx +7 -3
- package/src/contexts/messageOverlayContext/hooks/useResettableState.test.tsx +8 -7
- package/src/contexts/messagesContext/MessagesContext.tsx +8 -3
- package/src/contexts/overlayContext/OverlayContext.tsx +10 -1
- package/src/contexts/overlayContext/OverlayProvider.tsx +4 -4
- package/src/contexts/paginatedMessageListContext/PaginatedMessageListContext.tsx +7 -3
- package/src/contexts/suggestionsContext/SuggestionsContext.tsx +10 -1
- package/src/contexts/themeContext/utils/theme.ts +11 -6
- package/src/contexts/threadContext/ThreadContext.tsx +8 -3
- package/src/contexts/translationContext/TranslationContext.tsx +14 -3
- package/src/contexts/typingContext/TypingContext.tsx +6 -2
- package/src/hooks/__tests__/useAppStateListener.test.tsx +41 -15
- package/src/hooks/__tests__/useTranslatedMessage.test.tsx +9 -9
- package/src/hooks/useAppStateListener.ts +5 -1
- package/src/i18n/es.json +10 -10
- package/src/i18n/fr.json +10 -10
- package/src/i18n/he.json +10 -10
- package/src/i18n/hi.json +10 -10
- package/src/i18n/it.json +10 -10
- package/src/i18n/ja.json +10 -10
- package/src/i18n/ko.json +10 -10
- package/src/i18n/nl.json +10 -10
- package/src/i18n/pt-BR.json +10 -10
- package/src/i18n/ru.json +10 -10
- package/src/i18n/tr.json +10 -10
- package/src/icons/Copy.tsx +1 -1
- package/src/icons/Loading.tsx +1 -1
- package/src/mock-builders/generator/channel.ts +1 -1
- package/src/store/apis/upsertChannelDataFromChannel.ts +25 -0
- package/src/store/mappers/mapChannelToStorable.ts +68 -0
- package/src/utils/DBSyncManager.ts +7 -3
- package/src/utils/Streami18n.ts +3 -0
- package/src/utils/utils.ts +2 -2
- package/src/version.json +1 -1
- package/src/components/Message/MessageSimple/__tests__/__snapshots__/MessageReplies.test.js.snap +0 -93
- package/src/components/MessageInput/__tests__/__snapshots__/UploadProgressIndicator.test.js.snap +0 -250
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_reactNativeSvg","_ThemeContext","_this","_jsxFileName","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","_typeof","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","paddingLarge","paddingMedium","paddingSmall","styles","StyleSheet","create","background","height","position","width","container","borderBottomWidth","flexDirection","Skeleton","useWindowDimensions","startOffset","useSharedValue","_useTheme","useTheme","_useTheme$theme","theme","_useTheme$theme$chann","channelListSkeleton","_useTheme$theme$chann2","animationTime","gradientStart","gradientStop","_useTheme$theme$chann3","maskFillColor","_useTheme$theme$color","colors","border","grey_gainsboro","white_snow","useEffect","value","withRepeat","withTiming","duration","easing","Easing","linear","animatedStyle","useAnimatedStyle","transform","translateX","d","useDerivedValue","useableHeight","boneHeight","boneRadius","circleRadius","avatarBoneWidth","detailsBonesWidth","createElement","View","style","borderBottomColor","testID","__self","__source","fileName","lineNumber","columnNumber","backgroundColor","Svg","Rect","fill","x","y","Defs","LinearGradient","gradientUnits","id","x1","x2","y1","y2","Stop","_extends2","offset","stopColor","Path","exports","displayName"],"sources":["Skeleton.tsx"],"sourcesContent":["import React, { useEffect } from 'react';\nimport { StyleSheet, useWindowDimensions, View } from 'react-native';\nimport Animated, {\n Easing,\n useAnimatedStyle,\n useDerivedValue,\n useSharedValue,\n withRepeat,\n withTiming,\n} from 'react-native-reanimated';\nimport { Defs, LinearGradient, Path, Rect, Stop, Svg } from 'react-native-svg';\n\nimport { useTheme } from '../../contexts/themeContext/ThemeContext';\n\nconst paddingLarge = 16;\nconst paddingMedium = 12;\nconst paddingSmall = 8;\n\nconst styles = StyleSheet.create({\n background: {\n height: 64,\n position: 'absolute',\n width: '100%',\n },\n container: {\n borderBottomWidth: 1,\n flexDirection: 'row',\n },\n});\n\nexport const Skeleton: React.FC = () => {\n const width = useWindowDimensions().width;\n const startOffset = useSharedValue(-width);\n\n const {\n theme: {\n channelListSkeleton: {\n animationTime = 1800,\n background,\n container,\n gradientStart,\n gradientStop,\n height = 64,\n maskFillColor,\n },\n colors: { border, grey_gainsboro, white_snow },\n },\n } = useTheme();\n\n useEffect(() => {\n startOffset.value = withRepeat(\n withTiming(width, {\n duration: animationTime,\n easing: Easing.linear,\n }),\n -1,\n );\n }, []);\n\n const animatedStyle = useAnimatedStyle(\n () => ({\n transform: [{ translateX: startOffset.value }],\n }),\n [],\n );\n\n const d = useDerivedValue(() => {\n const useableHeight = height - paddingMedium * 2;\n const boneHeight = (useableHeight - 8) / 2;\n const boneRadius = boneHeight / 2;\n const circleRadius = useableHeight / 2;\n const avatarBoneWidth = circleRadius * 2 + paddingSmall * 2;\n const detailsBonesWidth = width - avatarBoneWidth;\n\n return `M0 0 h${width} v${height} h-${width}z M${paddingSmall} ${\n height / 2\n } a${circleRadius} ${circleRadius} 0 1 0 ${\n circleRadius * 2\n } 0 a${circleRadius} ${circleRadius} 0 1 0 -${circleRadius * 2} 0z M${\n avatarBoneWidth + boneRadius\n } ${paddingMedium} a${boneRadius} ${boneRadius} 0 1 0 0 ${boneHeight}z M${\n avatarBoneWidth - boneRadius + detailsBonesWidth * 0.25\n } ${paddingMedium} h-${detailsBonesWidth * 0.25 - boneRadius * 2} v${boneHeight} h${\n detailsBonesWidth * 0.25 - boneRadius * 2\n }z M${avatarBoneWidth - boneRadius + detailsBonesWidth * 0.25} ${\n paddingMedium + boneHeight\n } a${boneRadius} ${boneRadius} 0 1 0 0 -${boneHeight}z M${avatarBoneWidth + boneRadius} ${\n paddingMedium + boneHeight + paddingSmall\n } a${boneRadius} ${boneRadius} 0 1 0 0 ${boneHeight}z M${\n avatarBoneWidth + detailsBonesWidth * 0.8 - boneRadius\n } ${paddingMedium + boneHeight + paddingSmall} h-${\n detailsBonesWidth * 0.8 - boneRadius * 2\n } v${boneHeight} h${detailsBonesWidth * 0.8 - boneRadius * 2}z M${\n avatarBoneWidth + detailsBonesWidth * 0.8 - boneRadius\n } ${height - paddingMedium} a${boneRadius} ${boneRadius} 0 1 0 0 -${boneHeight}z M${\n avatarBoneWidth + detailsBonesWidth * 0.8 + boneRadius + paddingLarge\n } ${\n paddingMedium + boneHeight + paddingSmall\n } a${boneRadius} ${boneRadius} 0 1 0 0 ${boneHeight}z M${width - paddingSmall - boneRadius} ${\n paddingMedium + boneHeight + paddingSmall\n } h-${\n width -\n paddingSmall -\n boneRadius -\n (avatarBoneWidth + detailsBonesWidth * 0.8 + boneRadius + paddingLarge)\n } v${boneHeight} h${\n width -\n paddingSmall -\n boneRadius -\n (avatarBoneWidth + detailsBonesWidth * 0.8 + boneRadius + paddingLarge)\n }z M${width - paddingSmall * 2} ${\n height - paddingMedium\n } a${boneRadius} ${boneRadius} 0 1 0 0 -${boneHeight}z`;\n }, []);\n\n return (\n <View\n style={[styles.container, { borderBottomColor: border }, container]}\n testID='channel-preview-skeleton'\n >\n <View style={[styles.background, { backgroundColor: white_snow }, background]} />\n <Animated.View style={[animatedStyle, styles.background]}>\n <Svg height={height} width={width}>\n <Rect fill='url(#gradient)' height={height} width={width} x={0} y={0} />\n <Defs>\n <LinearGradient\n gradientUnits='userSpaceOnUse'\n id='gradient'\n x1={0}\n x2={width}\n y1={0}\n y2={0}\n >\n <Stop offset={1} stopColor={grey_gainsboro} {...gradientStart} />\n <Stop offset={0.5} stopColor={grey_gainsboro} {...gradientStop} />\n <Stop offset={0} stopColor={grey_gainsboro} {...gradientStart} />\n </LinearGradient>\n </Defs>\n </Svg>\n </Animated.View>\n <Svg height={height} width={width}>\n <Path d={d.value} fill={maskFillColor || white_snow} />\n </Svg>\n </View>\n );\n};\n\nSkeleton.displayName = 'Skeleton{channelListSkeleton}';\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAH,uBAAA,CAAAC,OAAA;AAQA,IAAAG,eAAA,GAAAH,OAAA;AAEA,IAAAI,aAAA,GAAAJ,OAAA;AAAoE,IAAAK,KAAA;EAAAC,YAAA;AAAA,SAAAC,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,WAAA,WAAAA,WAAA,GAAAG,gB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,EAAApF,YAAA;MAAAqF,UAAA;MAAAC,YAAA;IAAA;EAAA,GAChC9F,MAAA,YAAAqF,aAAA,CAAChF,eAAA,CAAA4G,IAAI;IAACpC,CAAC,EAAEA,CAAC,CAACX,KAAM;IAACgC,IAAI,EAAEvC,aAAa,IAAIK,UAAW;IAAA0B,MAAA,EAAAnF,KAAA;IAAAoF,QAAA;MAAAC,QAAA,EAAApF,YAAA;MAAAqF,UAAA;MAAAC,YAAA;IAAA;EAAA,CAAE,CACnD,CACD,CAAC;AAEX,CAAC;AAACoB,OAAA,CAAAtE,QAAA,GAAAA,QAAA;AAEFA,QAAQ,CAACuE,WAAW,GAAG,+BAA+B"}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_reactNativeSvg","_ThemeContext","_jsxRuntime","_this","_jsxFileName","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","paddingLarge","paddingMedium","paddingSmall","styles","StyleSheet","create","background","height","position","width","container","borderBottomWidth","flexDirection","Skeleton","useWindowDimensions","startOffset","useSharedValue","_useTheme","useTheme","_useTheme$theme","theme","_useTheme$theme$chann","channelListSkeleton","_useTheme$theme$chann2","animationTime","gradientStart","gradientStop","_useTheme$theme$chann3","maskFillColor","_useTheme$theme$color","colors","border","grey_gainsboro","white_snow","useEffect","value","withRepeat","withTiming","duration","easing","Easing","linear","animatedStyle","useAnimatedStyle","transform","translateX","d","useDerivedValue","useableHeight","boneHeight","boneRadius","circleRadius","avatarBoneWidth","detailsBonesWidth","concat","jsxs","View","style","borderBottomColor","testID","children","jsx","backgroundColor","Svg","Rect","fill","x","y","Defs","LinearGradient","gradientUnits","id","x1","x2","y1","y2","Stop","assign","offset","stopColor","Path","exports","displayName"],"sourceRoot":"../../../../src","sources":["components/ChannelList/Skeleton.tsx"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,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E/C;YAAe,GAAKP,aAAa,CAAG,CAAC;UAAA,CACnD;QAAC,CACb,CAAC;MAAA,CACJ;IAAC,CACO,CAAC,EAChB,IAAAhD,WAAA,CAAAoF,GAAA,EAACtF,eAAA,CAAAwF,GAAG;MAACxD,MAAM,EAAEA,MAAO;MAACE,KAAK,EAAEA,KAAM;MAAAmD,QAAA,EAChC,IAAAnF,WAAA,CAAAoF,GAAA,EAACtF,eAAA,CAAAyG,IAAI;QAAClC,CAAC,EAAEA,CAAC,CAACX,KAAM;QAAC8B,IAAI,EAAErC,aAAa,IAAIK;MAAW,CAAE;IAAC,CACpD,CAAC;EAAA,CACF,CAAC;AAEX,CAAC;AAACgD,OAAA,CAAApE,QAAA,GAAAA,QAAA;AAEFA,QAAQ,CAACqE,WAAW,GAAG,+BAA+B","ignoreList":[]}
|
package/lib/module/components/ChannelList/hooks/listeners/useAddedToChannelNotification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_uniqBy","_interopRequireDefault","_ChatContext","_utils","useAddedToChannelNotification","_ref","onAddedToChannel","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","_ref2","_asyncToGenerator2","_regenerator","mark","_callee","event","_event$channel","_event$channel2","channel","wrap","_callee$","_context","prev","next","id","type","getChannel","sent","channels","uniqBy","concat","_toConsumableArray2","stop","_x","apply","arguments","listener","on","unsubscribe","exports"],"
|
|
1
|
+
{"version":3,"names":["_react","require","_uniqBy","_interopRequireDefault","_ChatContext","_utils","useAddedToChannelNotification","_ref","onAddedToChannel","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","_ref2","_asyncToGenerator2","_regenerator","mark","_callee","event","_event$channel","_event$channel2","channel","wrap","_callee$","_context","prev","next","id","type","getChannel","sent","channels","uniqBy","concat","_toConsumableArray2","stop","_x","apply","arguments","listener","on","unsubscribe","exports"],"sourceRoot":"../../../../../../src","sources":["components/ChannelList/hooks/listeners/useAddedToChannelNotification.ts"],"mappings":";;;;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G,OAAO,CAACO;cACtB,CAAC,CAAC;YAAA;cAJIP,OAAO,GAAAG,QAAA,CAAAM,IAAA;cAKbvB,WAAW,CAAC,UAACwB,QAAQ;gBAAA,OAAMA,QAAQ,GAAG,IAAAC,kBAAM,GAAEX,OAAO,EAAAY,MAAA,KAAAC,mBAAA,aAAKH,QAAQ,IAAG,KAAK,CAAC,GAAGA,QAAQ;cAAA,CAAC,CAAC;YAAC;YAAA;cAAA,OAAAP,QAAA,CAAAW,IAAA;UAAA;QAAA,GAAAlB,OAAA;MAAA,CAG9F;MAAA,gBAbKL,WAAWA,CAAAwB,EAAA;QAAA,OAAAvB,KAAA,CAAAwB,KAAA,OAAAC,SAAA;MAAA;IAAA,GAahB;IAED,IAAMC,QAAQ,GAAG7B,MAAM,oBAANA,MAAM,CAAE8B,EAAE,CAAC,+BAA+B,EAAE5B,WAAW,CAAC;IACzE,OAAO;MAAA,OAAM2B,QAAQ,oBAARA,QAAQ,CAAEE,WAAW,CAAC,CAAC;IAAA;EACtC,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAACC,OAAA,CAAAtC,6BAAA,GAAAA,6BAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_ChatContext","useChannelDeleted","_ref","onChannelDeleted","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","index","findIndex","channel","_event$channel","cid","splice","_toConsumableArray2","listener","on","unsubscribe","exports"],"
|
|
1
|
+
{"version":3,"names":["_react","require","_ChatContext","useChannelDeleted","_ref","onChannelDeleted","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","index","findIndex","channel","_event$channel","cid","splice","_toConsumableArray2","listener","on","unsubscribe","exports"],"sourceRoot":"../../../../../../src","sources":["components/ChannelList/hooks/listeners/useChannelDeleted.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,YAAA,GAAAD,OAAA;AAaO,IAAME,iBAAiB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_react","require","_ChatContext","useChannelHidden","_ref","onChannelHidden","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","index","findIndex","channel","_event$channel","cid","splice","_toConsumableArray2","listener","on","unsubscribe","exports"],"
|
|
1
|
+
{"version":3,"names":["_react","require","_ChatContext","useChannelHidden","_ref","onChannelHidden","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","index","findIndex","channel","_event$channel","cid","splice","_toConsumableArray2","listener","on","unsubscribe","exports"],"sourceRoot":"../../../../../../src","sources":["components/ChannelList/hooks/listeners/useChannelHidden.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,YAAA,GAAAD,OAAA;AAaO,IAAME,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAAC,IAAA,EAKS;EAAA,IAFpCC,eAAe,GAAAD,IAAA,CAAfC,eAAe;IACfC,WAAW,GAAAF,IAAA,CAAXE,WAAW;EAEX,IAAAC,eAAA,GAAmB,IAAAC,2BAAc,EAAqB,CAAC;IAA/CC,MAAM,GAAAF,eAAA,CAANE,MAAM;EAEd,IAAAC,gBAAS,EAAC,YAAM;IACd,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,KAAgC,EAAK;MACxD,IAAI,OAAOP,eAAe,KAAK,UAAU,EAAE;QACzCA,eAAe,CAACC,WAAW,EAAEM,KAAK,CAAC;MACrC,CAAC,MAAM;QACLN,WAAW,CAAC,UAACO,QAAQ,EAAK;UACxB,IAAI,CAACA,QAAQ,EAAE,OAAOA,QAAQ;UAE9B,IAAMC,KAAK,GAAGD,QAAQ,CAACE,SAAS,CAC9B,UAACC,OAAO;YAAA,IAAAC,cAAA;YAAA,OAAKD,OAAO,CAACE,GAAG,MAAMN,KAAK,CAACM,GAAG,MAAAD,cAAA,GAAIL,KAAK,CAACI,OAAO,qBAAbC,cAAA,CAAeC,GAAG,EAAC;UAAA,CAChE,CAAC;UACD,IAAIJ,KAAK,IAAI,CAAC,EAAE;YACdD,QAAQ,CAACM,MAAM,CAACL,KAAK,EAAE,CAAC,CAAC;UAC3B;UACA,WAAAM,mBAAA,aAAWP,QAAQ;QACrB,CAAC,CAAC;MACJ;IACF,CAAC;IAED,IAAMQ,QAAQ,GAAGZ,MAAM,oBAANA,MAAM,CAAEa,EAAE,CAAC,gBAAgB,EAAEX,WAAW,CAAC;IAC1D,OAAO;MAAA,OAAMU,QAAQ,oBAARA,QAAQ,CAAEE,WAAW,CAAC,CAAC;IAAA;EACtC,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAACC,OAAA,CAAArB,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_ChatContext","useChannelTruncated","_ref","onChannelTruncated","refreshList","setChannels","setForceUpdate","_useChatContext","useChatContext","client","useEffect","handleEvent","event","count","listener","on","unsubscribe","exports"],"
|
|
1
|
+
{"version":3,"names":["_react","require","_ChatContext","useChannelTruncated","_ref","onChannelTruncated","refreshList","setChannels","setForceUpdate","_useChatContext","useChatContext","client","useEffect","handleEvent","event","count","listener","on","unsubscribe","exports"],"sourceRoot":"../../../../../../src","sources":["components/ChannelList/hooks/listeners/useChannelTruncated.ts"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,YAAA,GAAAD,OAAA;AAeO,IAAME,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA,EAOM;EAAA,IAJpCC,kBAAkB,GAAAD,IAAA,CAAlBC,kBAAkB;IAClBC,WAAW,GAAAF,IAAA,CAAXE,WAAW;IACXC,WAAW,GAAAH,IAAA,CAAXG,WAAW;IACXC,cAAc,GAAAJ,IAAA,CAAdI,cAAc;EAEd,IAAAC,eAAA,GAAmB,IAAAC,2BAAc,EAAqB,CAAC;IAA/CC,MAAM,GAAAF,eAAA,CAANE,MAAM;EAEd,IAAAC,gBAAS,EAAC,YAAM;IACd,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,KAAgC,EAAK;MACxD,IAAI,OAAOT,kBAAkB,KAAK,UAAU,EAAE;QAC5CA,kBAAkB,CAACE,WAAW,EAAEO,KAAK,CAAC;MACxC;MACAR,WAAW,CAAC,CAAC;MACbE,cAAc,CAAC,UAACO,KAAK;QAAA,OAAKA,KAAK,GAAG,CAAC;MAAA,EAAC;IACtC,CAAC;IAED,IAAMC,QAAQ,GAAGL,MAAM,oBAANA,MAAM,CAAEM,EAAE,CAAC,mBAAmB,EAAEJ,WAAW,CAAC;IAC7D,OAAO;MAAA,OAAMG,QAAQ,oBAARA,QAAQ,CAAEE,WAAW,CAAC,CAAC;IAAA;EACtC,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAACC,OAAA,CAAAhB,mBAAA,GAAAA,mBAAA","ignoreList":[]}
|
|
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
});
|
|
5
5
|
exports.useChannelUpdated = void 0;
|
|
6
6
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
7
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
8
7
|
var _react = require("react");
|
|
9
8
|
var _ChatContext = require("../../../../contexts/chatContext/ChatContext");
|
|
10
9
|
var useChannelUpdated = function useChannelUpdated(_ref) {
|
|
@@ -25,7 +24,7 @@ var useChannelUpdated = function useChannelUpdated(_ref) {
|
|
|
25
24
|
});
|
|
26
25
|
if (index >= 0 && event.channel) {
|
|
27
26
|
var _event$channel$hidden, _event$channel2, _channels$index$data, _event$channel$own_ca, _event$channel3, _channels$index$data2;
|
|
28
|
-
channels[index].data = (
|
|
27
|
+
channels[index].data = Object.assign({}, event.channel, {
|
|
29
28
|
hidden: (_event$channel$hidden = (_event$channel2 = event.channel) == null ? void 0 : _event$channel2.hidden) != null ? _event$channel$hidden : (_channels$index$data = channels[index].data) == null ? void 0 : _channels$index$data.hidden,
|
|
30
29
|
own_capabilities: (_event$channel$own_ca = (_event$channel3 = event.channel) == null ? void 0 : _event$channel3.own_capabilities) != null ? _event$channel$own_ca : (_channels$index$data2 = channels[index].data) == null ? void 0 : _channels$index$data2.own_capabilities
|
|
31
30
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_ChatContext","useChannelUpdated","_ref","onChannelUpdated","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","index","findIndex","channel","_event$channel","cid","_event$channel$hidden","_event$channel2","_channels$index$data","_event$channel$own_ca","_event$channel3","_channels$index$data2","data","
|
|
1
|
+
{"version":3,"names":["_react","require","_ChatContext","useChannelUpdated","_ref","onChannelUpdated","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","index","findIndex","channel","_event$channel","cid","_event$channel$hidden","_event$channel2","_channels$index$data","_event$channel$own_ca","_event$channel3","_channels$index$data2","data","Object","assign","hidden","own_capabilities","_toConsumableArray2","listener","on","unsubscribe","exports"],"sourceRoot":"../../../../../../src","sources":["components/ChannelList/hooks/listeners/useChannelUpdated.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,YAAA,GAAAD,OAAA;AAaO,IAAME,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAAC,IAAA,EAKQ;EAAA,IAFpCC,gBAAgB,GAAAD,IAAA,CAAhBC,gBAAgB;IAChBC,WAAW,GAAAF,IAAA,CAAXE,WAAW;EAEX,IAAAC,eAAA,GAAmB,IAAAC,2BAAc,EAAqB,CAAC;IAA/CC,MAAM,GAAAF,eAAA,CAANE,MAAM;EAEd,IAAAC,gBAAS,EAAC,YAAM;IACd,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,KAAgC,EAAK;MACxD,IAAI,OAAOP,gBAAgB,KAAK,UAAU,EAAE;QAC1CA,gBAAgB,CAACC,WAAW,EAAEM,KAAK,CAAC;MACtC,CAAC,MAAM;QACLN,WAAW,CAAC,U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AC;AACR,CAAC;AAACC,OAAA,CAAA/B,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_uniqBy","_interopRequireDefault","_ChatContext","_utils","useChannelVisible","_ref","onChannelVisible","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","_ref2","_asyncToGenerator2","_regenerator","mark","_callee","event","channel","wrap","_callee$","_context","prev","next","channel_id","channel_type","getChannel","id","type","sent","channels","uniqBy","concat","_toConsumableArray2","stop","_x","apply","arguments","listener","on","unsubscribe","exports"],"
|
|
1
|
+
{"version":3,"names":["_react","require","_uniqBy","_interopRequireDefault","_ChatContext","_utils","useChannelVisible","_ref","onChannelVisible","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","_ref2","_asyncToGenerator2","_regenerator","mark","_callee","event","channel","wrap","_callee$","_context","prev","next","channel_id","channel_type","getChannel","id","type","sent","channels","uniqBy","concat","_toConsumableArray2","stop","_x","apply","arguments","listener","on","unsubscribe","exports"],"sourceRoot":"../../../../../../src","sources":["components/ChannelList/hooks/listeners/useChannelVisible.ts"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AAIA,IAAAG,YAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAWO,IAAMK,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAAC,IAAA,EAKQ;EAAA,IAFpCC,gBAAgB,GAAAD,IAAA,CAAhBC,gBAAgB;IAChBC,WAAW,GAAAF,IAAA,CAAXE,WAAW;EAEX,IAAAC,eAAA,GAAmB,IAAAC,2BAAc,EAAqB,CAAC;IAA/CC,MAAM,GAAAF,eAAA,CAANE,MAAM;EAEd,IAAAC,gBAAS,EAAC,YAAM;IACd,IAAMC,WAAW;MAAA,IAAAC,KAAA,OAAAC,kBAAA,aAAAC,YAAA,YAAAC,IAAA,CAAG,SA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R,CAAC;AAACC,OAAA,CAAAtC,iBAAA,GAAAA,iBAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_ChatContext","_utils","useNewMessage","_ref","lockChannelOrder","onNewMessage","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","cid","channel_type","channel_id","targetChannelIndex","findIndex","c","moveChannelUp","channel","initialized","concat","_toConsumableArray2","listener","on","unsubscribe","exports"],"
|
|
1
|
+
{"version":3,"names":["_react","require","_ChatContext","_utils","useNewMessage","_ref","lockChannelOrder","onNewMessage","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","cid","channel_type","channel_id","targetChannelIndex","findIndex","c","moveChannelUp","channel","initialized","concat","_toConsumableArray2","listener","on","unsubscribe","exports"],"sourceRoot":"../../../../../../src","sources":["components/ChannelList/hooks/listeners/useNewMessage.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,MAAA,GAAAF,OAAA;AAaO,IAAMG,aAAa,GAAG,SAAhBA,aAAaA,CAAAC,IAAA,EAMY;EAAA,IAHpCC,gBAAgB,GAAAD,IAAA,CAAhBC,gBAAgB;IAChBC,YAAY,GAAAF,IAAA,CAAZE,YAAY;IACZC,WAAW,GAAAH,IAAA,CAAXG,WAAW;EAEX,IAAAC,eAAA,GAAmB,IAAAC,2BAAc,EAAqB,CAAC;IAA/CC,MAAM,GAAAF,eAAA,CAANE,MAAM;EAEd,IAAAC,gBAAS,EAAC,YAAM;IACd,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,KAAgC,EAAK;MACxD,IAAI,OAAOP,YAAY,KAAK,UAAU,EAAE;QACtCA,YAAY,CAACD,gBAAgB,EAAEE,WAAW,EAAEM,KAAK,CAAC;MACpD,CAAC,MAAM;QACLN,WAAW,CAAC,UAACO,QAAQ,EAAK;UACxB,IAAI,CAACA,QAAQ,EAAE,OAAOA,QAAQ;UAE9B,IAAI,CAACT,gBAAgB,IAAIQ,KAAK,CAACE,GAAG,IAAIF,KAAK,CAACG,YAAY,IAAIH,KAAK,CAACI,UAAU,EAAE;YAC5E,IAAMC,kBAAkB,GAAGJ,QAAQ,CAACK,SAAS,CAAC,UAACC,CAAC;cAAA,OAAKA,CAAC,CAACL,GAAG,KAAKF,KAAK,CAACE,GAAG;YAAA,EAAC;YAEzE,IAAIG,kBAAkB,IAAI,CAAC,EAAE;cAC3B,OAAO,IAAAG,oBAAa,EAAqB;gBACvCP,QAAQ,EAARA,QAAQ;gBACRC,GAAG,EAAEF,KAAK,CAACE;cACb,CAAC,CAAC;YACJ;YAKA,IAAMO,OAAO,GAAGZ,MAAM,CAACY,OAAO,CAACT,KAAK,CAACG,YAAY,EAAEH,KAAK,CAACI,UAAU,CAAC;YAEpE,IAAIK,OAAO,CAACC,WAAW,EAAE;cACvB,QAAQD,OAAO,EAAAE,MAAA,KAAAC,mBAAA,aAAKX,QAAQ;YAC9B;UACF;UAEA,WAAAW,mBAAA,aAAWX,QAAQ;QACrB,CAAC,CAAC;MACJ;IACF,CAAC;IAED,IAAMY,QAAQ,GAAGhB,MAAM,oBAANA,MAAM,CAAEiB,EAAE,CAAC,aAAa,EAAEf,WAAW,CAAC;IACvD,OAAO;MAAA,OAAMc,QAAQ,oBAARA,QAAQ,CAAEE,WAAW,CAAC,CAAC;IAAA;EACtC,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAACC,OAAA,CAAA1B,aAAA,GAAAA,aAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_uniqBy","_interopRequireDefault","_ChatContext","_utils","useNewMessageNotification","_ref","onMessageNew","onNewMessageNotification","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","_ref2","_asyncToGenerator2","_regenerator","mark","_callee","event","_event$channel","_event$channel2","channel","wrap","_callee$","_context","prev","next","console","warn","id","type","getChannel","sent","channels","uniqBy","concat","_toConsumableArray2","stop","_x","apply","arguments","listener","on","unsubscribe","exports"],"
|
|
1
|
+
{"version":3,"names":["_react","require","_uniqBy","_interopRequireDefault","_ChatContext","_utils","useNewMessageNotification","_ref","onMessageNew","onNewMessageNotification","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","_ref2","_asyncToGenerator2","_regenerator","mark","_callee","event","_event$channel","_event$channel2","channel","wrap","_callee$","_context","prev","next","console","warn","id","type","getChannel","sent","channels","uniqBy","concat","_toConsumableArray2","stop","_x","apply","arguments","listener","on","unsubscribe","exports"],"sourceRoot":"../../../../../../src","sources":["components/ChannelList/hooks/listeners/useNewMessageNotification.ts"],"mappings":";;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AAIA,IAAAG,YAAA,GAAAH,OAAA;AAGA,IAAAI,MAAA,GAAAJ,OAAA;AAeO,IAAMK,yBAAyB,GAAG,SAA5BA,yBAAyBA,CAAAC,IAAA,EAMA;EAAA,IAHpCC,YAAY,GAAAD,IAAA,CAAZC,YAAY;IACZC,wBAAwB,GAAAF,IAAA,CAAxBE,wBAAwB;IACxBC,WAAW,GAAAH,IAAA,CAAXG,WAAW;EAEX,IAAAC,eAAA,GAAmB,IAAAC,2BAAc,EAAqB,CAAC;IAA/CC,MAAM,GAAAF,eAAA,CAANE,MAAM;EAEd,IAAAC,gBAAS,EAAC,YAAM;IACd,IAAMC,WAAW;MAAA,IAAAC,KAAA,OAAAC,kBAAA,aAAAC,YAAA,YAAAC,IAAA,CAAG,SAAAC,QAAOC,KAAgC;QAAA,IAAAC,cAAA,EAAAC,eAAA,EAAAC,OAAA;QAAA,OAAAN,YAAA,YAAAO,IAAA,UAAAC,SAAAC,QAAA;UAAA,kBAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA;YAAA;cAAA,MACrD,OAAOrB,YAAY,KAAK,UAAU;gBAAAmB,QAAA,CAA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O;MAAA,OAAM6B,QAAQ,oBAARA,QAAQ,CAAEE,WAAW,CAAC,CAAC;IAAA;EACtC,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAACC,OAAA,CAAAzC,yBAAA,GAAAA,yBAAA","ignoreList":[]}
|
package/lib/module/components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_ChatContext","useRemovedFromChannelNotification","_ref","onRemovedFromChannel","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","newChannels","filter","channel","_event$channel","cid","_toConsumableArray2","listener","on","unsubscribe","exports"],"
|
|
1
|
+
{"version":3,"names":["_react","require","_ChatContext","useRemovedFromChannelNotification","_ref","onRemovedFromChannel","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","newChannels","filter","channel","_event$channel","cid","_toConsumableArray2","listener","on","unsubscribe","exports"],"sourceRoot":"../../../../../../src","sources":["components/ChannelList/hooks/listeners/useRemovedFromChannelNotification.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,YAAA,GAAAD,OAAA;AAaO,IAAME,iCAAiC,GAAG,SAApCA,iCAAiCA,CAAAC,IAAA,EAKR;EAAA,IAFpCC,oBAAoB,GAAAD,IAAA,CAApBC,oBAAoB;IACpBC,WAAW,GAAAF,IAAA,CAAXE,WAAW;EAEX,IAAAC,eAAA,GAAmB,IAAAC,2BAAc,EAAqB,CAAC;IAA/CC,MAAM,GAAAF,eAAA,CAANE,MAAM;EAEd,IAAAC,gBAAS,EAAC,YAAM;IACd,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,KAAgC,EAAK;MACxD,IAAI,OAAOP,oBAAoB,KAAK,UAAU,EAAE;QAC9CA,oBAAoB,CAACC,WAAW,EAAEM,KAAK,CAAC;MAC1C,CAAC,MAAM;QACLN,WAAW,CAAC,UAACO,QAAQ,EAAK;UACxB,IAAI,CAACA,QAAQ,EAAE,OAAOA,QAAQ;UAE9B,IAAMC,WAAW,GAAGD,QAAQ,CAACE,MAAM,CAAC,UAACC,OAAO;YAAA,IAAAC,cAAA;YAAA,OAAKD,OAAO,CAACE,GAAG,OAAAD,cAAA,GAAKL,KAAK,CAACI,OAAO,qBAAbC,cAAA,CAAeC,GAAG;UAAA,EAAC;UACpF,WAAAC,mBAAA,aAAWL,WAAW;QACxB,CAAC,CAAC;MACJ;IACF,CAAC;IAED,IAAMM,QAAQ,GAAGX,MAAM,oBAANA,MAAM,CAAEY,EAAE,CAAC,mCAAmC,EAAEV,WAAW,CAAC;IAC7E,OAAO;MAAA,OAAMS,QAAQ,oBAARA,QAAQ,CAAEE,WAAW,CAAC,CAAC;IAAA;EACtC,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAACC,OAAA,CAAApB,iCAAA,GAAAA,iCAAA","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_ChatContext","useUserPresence","_ref","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","newChannels","map","channel","_event$user","user","id","state","members","_toConsumableArray2","listeners","on","forEach","l","unsubscribe","exports"],"
|
|
1
|
+
{"version":3,"names":["_react","require","_ChatContext","useUserPresence","_ref","setChannels","_useChatContext","useChatContext","client","useEffect","handleEvent","event","channels","newChannels","map","channel","_event$user","user","id","state","members","_toConsumableArray2","listeners","on","forEach","l","unsubscribe","exports"],"sourceRoot":"../../../../../../src","sources":["components/ChannelList/hooks/listeners/useUserPresence.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,YAAA,GAAAD,OAAA;AASO,IAAME,eAAe,GAAG,SAAlBA,eAAeA,CAAAC,IAAA,EAIU;EAAA,IADpCC,WAAW,GAAAD,IAAA,CAAXC,WAAW;EAEX,IAAAC,eAAA,GAAmB,IAAAC,2BAAc,EAAqB,CAAC;IAA/CC,MAAM,GAAAF,eAAA,CAANE,MAAM;EAEd,IAAAC,gBAAS,EAAC,YAAM;IACd,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,KAAgC,EAAK;MACxDN,WAAW,CAAC,UAACO,QAAQ,EAAK;QACxB,IAAI,CAACA,QAAQ,EAAE,OAAOA,QAAQ;QAE9B,IAAMC,WAAW,GAAGD,QAAQ,CAACE,GAAG,CAAC,UAACC,OAAO,EAAK;UAAA,IAAAC,WAAA;UAC5C,IAAI,GAAAA,WAAA,GAACL,KAAK,CAACM,IAAI,aAAVD,WAAA,CAAYE,EAAE,KAAI,CAACH,OAAO,CAACI,KAAK,CAACC,OAAO,CAACT,KAAK,CAACM,IAAI,CAACC,EAAE,CAAC,EAAE;YAC5D,OAAOH,OAAO;UAChB;UACAA,OAAO,CAACI,KAAK,CAACC,OAAO,CAACT,KAAK,CAACM,IAAI,CAACC,EAAE,CAAC,CAACD,IAAI,GAAGN,KAAK,CAACM,IAAI;UACtD,OAAOF,OAAO;QAChB,CAAC,CAAC;QAEF,WAAAM,mBAAA,aAAWR,WAAW;MACxB,CAAC,CAAC;IACJ,CAAC;IAED,IAAMS,SAAS,GAAG,CAChBd,MAAM,oBAANA,MAAM,CAAEe,EAAE,CAAC,uBAAuB,EAAEb,WAAW,CAAC,EAChDF,MAAM,oBAANA,MAAM,CAAEe,EAAE,CAAC,cAAc,EAAEb,WAAW,CAAC,CACxC;IAED,OAAO,YAAM;MACXY,SAAS,oBAATA,SAAS,CAAEE,OAAO,CAAC,UAACC,CAAC;QAAA,OAAKA,CAAC,oBAADA,CAAC,CAAEC,WAAW,CAAC,CAAC;MAAA,EAAC;IAC7C,CAAC;EACH,CAAC,EAAE,EAAE,CAAC;AACR,CAAC;AAACC,OAAA,CAAAxB,eAAA,GAAAA,eAAA","ignoreList":[]}
|
|
@@ -37,10 +37,10 @@ var useCreateChannelsContext = function useCreateChannelsContext(_ref) {
|
|
|
37
37
|
Skeleton = _ref.Skeleton;
|
|
38
38
|
var channelValueString = channels == null ? void 0 : channels.map(function (channel) {
|
|
39
39
|
var _channel$data$name, _channel$data, _channel$id;
|
|
40
|
-
return ""
|
|
40
|
+
return "".concat((_channel$data$name = (_channel$data = channel.data) == null ? void 0 : _channel$data.name) != null ? _channel$data$name : '').concat((_channel$id = channel.id) != null ? _channel$id : '').concat(Object.values(channel.state.members).map(function (member) {
|
|
41
41
|
var _member$user;
|
|
42
42
|
return (_member$user = member.user) == null ? void 0 : _member$user.online;
|
|
43
|
-
}).join();
|
|
43
|
+
}).join());
|
|
44
44
|
}).join();
|
|
45
45
|
var channelsContext = (0, _react.useMemo)(function () {
|
|
46
46
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","useCreateChannelsContext","_ref","additionalFlatListProps","channels","EmptyStateIndicator","error","FooterLoadingIndicator","forceUpdate","hasNextPage","HeaderErrorIndicator","HeaderNetworkDownIndicator","ListHeaderComponent","loadingChannels","LoadingErrorIndicator","LoadingIndicator","loadingNextPage","loadMoreThreshold","loadNextPage","maxUnreadCount","numberOfSkeletons","onSelect","Preview","PreviewAvatar","PreviewMessage","PreviewMutedStatus","PreviewStatus","PreviewTitle","PreviewUnreadCount","refreshing","refreshList","reloadList","setFlatListRef","Skeleton","channelValueString","map","channel","_channel$data$name","_channel$data","_channel$id","data","name","id","Object","values","state","members","member","_member$user","user","online","join","channelsContext","useMemo","exports"],"
|
|
1
|
+
{"version":3,"names":["_react","require","useCreateChannelsContext","_ref","additionalFlatListProps","channels","EmptyStateIndicator","error","FooterLoadingIndicator","forceUpdate","hasNextPage","HeaderErrorIndicator","HeaderNetworkDownIndicator","ListHeaderComponent","loadingChannels","LoadingErrorIndicator","LoadingIndicator","loadingNextPage","loadMoreThreshold","loadNextPage","maxUnreadCount","numberOfSkeletons","onSelect","Preview","PreviewAvatar","PreviewMessage","PreviewMutedStatus","PreviewStatus","PreviewTitle","PreviewUnreadCount","refreshing","refreshList","reloadList","setFlatListRef","Skeleton","channelValueString","map","channel","_channel$data$name","_channel$data","_channel$id","concat","data","name","id","Object","values","state","members","member","_member$user","user","online","join","channelsContext","useMemo","exports"],"sourceRoot":"../../../../../src","sources":["components/ChannelList/hooks/useCreateChannelsContext.ts"],"mappings":";;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAKO,IAAMC,wBAAwB,GAAG,SAA3BA,wBAAwBA,CAAAC,IAAA,EAkCW;EAAA,IA/B9CC,uBAAuB,GAAAD,IAAA,CAAvBC,uBAAuB;IACvBC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;IACRC,mBAAmB,GAAAH,IAAA,CAAnBG,mBAAmB;IACnBC,KAAK,GAAAJ,IAAA,CAALI,KAAK;IACLC,sBAAsB,GAAAL,IAAA,CAAtBK,sBAAsB;IACtBC,WAAW,GAAAN,IAAA,CAAXM,WAAW;IACXC,WAAW,GAAAP,IAAA,CAAXO,WAAW;IACXC,oBAAoB,GAAAR,IAAA,CAApBQ,oBAAoB;IACpBC,0BAA0B,GAAAT,IAAA,CAA1BS,0BAA0B;IAC1BC,mBAAmB,GAAAV,IAAA,CAAnBU,mBAAmB;IACnBC,eAAe,GAAAX,IAAA,CAAfW,eAAe;IACfC,qBAAqB,GAAAZ,IAAA,CAArBY,qBAAqB;IACrBC,gBAAgB,GAAAb,IAAA,CAAhBa,gBAAgB;IAChBC,eAAe,GAAAd,IAAA,CAAfc,eAAe;IACfC,iBAAiB,GAAAf,IAAA,CAAjBe,iBAAiB;IACjBC,YAAY,GAAAhB,IAAA,CAAZgB,YAAY;IACZC,cAAc,GAAAjB,IAAA,CAAdiB,cAAc;IACdC,iBAAiB,GAAAlB,IAAA,CAAjBkB,iBAAiB;IACjBC,QAAQ,GAAAnB,IAAA,CAARmB,QAAQ;IACRC,OAAO,GAAApB,IAAA,CAAPoB,OAAO;IACPC,aAAa,GAAArB,IAAA,CAAbqB,aAAa;IACbC,cAAc,GAAAtB,IAAA,CAAdsB,cAAc;IACdC,kBAAkB,GAAAvB,IAAA,CAAlBuB,kBA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ApBA,oBAAoB;MACpBC,0BAA0B,EAA1BA,0BAA0B;MAC1BC,mBAAmB,EAAnBA,mBAAmB;MACnBC,eAAe,EAAfA,eAAe;MACfC,qBAAqB,EAArBA,qBAAqB;MACrBC,gBAAgB,EAAhBA,gBAAgB;MAChBC,eAAe,EAAfA,eAAe;MACfC,iBAAiB,EAAjBA,iBAAiB;MACjBC,YAAY,EAAZA,YAAY;MACZC,cAAc,EAAdA,cAAc;MACdC,iBAAiB,EAAjBA,iBAAiB;MACjBC,QAAQ,EAARA,QAAQ;MACRC,OAAO,EAAPA,OAAO;MACPC,aAAa,EAAbA,aAAa;MACbC,cAAc,EAAdA,cAAc;MACdC,kBAAkB,EAAlBA,kBAAkB;MAClBC,aAAa,EAAbA,aAAa;MACbC,YAAY,EAAZA,YAAY;MACZC,kBAAkB,EAAlBA,kBAAkB;MAClBC,UAAU,EAAVA,UAAU;MACVC,WAAW,EAAXA,WAAW;MACXC,UAAU,EAAVA,UAAU;MACVC,cAAc,EAAdA,cAAc;MACdC,QAAQ,EAARA;IACF,CAAC;EAAA,CAAC,EACF,CACEC,kBAAkB,EAClB5B,KAAK,EACLE,WAAW,EACXC,WAAW,EACXI,eAAe,EACfG,eAAe,EACfa,UAAU,CAEd,CAAC;EAED,OAAOwB,eAAe;AACxB,CAAC;AAACE,OAAA,CAAAtD,wBAAA,GAAAA,wBAAA","ignoreList":[]}
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
exports.usePaginatedChannels = void 0;
|
|
6
6
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
7
7
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
10
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
10
|
var _react = require("react");
|
|
@@ -108,7 +107,7 @@ var usePaginatedChannels = function usePaginatedChannels(_ref) {
|
|
|
108
107
|
activeRequestId.current++;
|
|
109
108
|
currentRequestId = activeRequestId.current;
|
|
110
109
|
setActiveQueryType(queryType);
|
|
111
|
-
newOptions = (
|
|
110
|
+
newOptions = Object.assign({
|
|
112
111
|
limit: (_options$limit = options == null ? void 0 : options.limit) != null ? _options$limit : _utils.MAX_QUERY_CHANNELS_LIMIT,
|
|
113
112
|
offset: queryType === 'loadChannels' && !staticChannelsActive && channels ? channels.length : 0
|
|
114
113
|
}, options);
|
|
@@ -157,7 +156,7 @@ var usePaginatedChannels = function usePaginatedChannels(_ref) {
|
|
|
157
156
|
}
|
|
158
157
|
setActiveQueryType(null);
|
|
159
158
|
console.warn(_context.t0);
|
|
160
|
-
setError(new Error("Maximum number of retries reached in queryChannels. Last error message is: "
|
|
159
|
+
setError(new Error("Maximum number of retries reached in queryChannels. Last error message is: ".concat(_context.t0)));
|
|
161
160
|
return _context.abrupt("return");
|
|
162
161
|
case 42:
|
|
163
162
|
return _context.abrupt("return", queryChannels(queryType, retryCount + 1));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","require","_ActiveChannelsRefContext","_ChatContext","_useIsMountedRef","_getChannelsForFilterSort","_date","_DBSyncManager","_utils","waitSeconds","seconds","Promise","resolve","setTimeout","ONE_SECOND_IN_MS","DEFAULT_OPTIONS","message_limit","MAX_NUMBER_OF_RETRIES","RETRY_INTERVAL_IN_MS","usePaginatedChannels","_ref","enableOfflineSupport","_ref$filters","filters","_ref$options","options","setForceUpdate","_ref$sort","sort","_useState","useState","_useState2","_slicedToArray2","channels","setChannels","_useState3","undefined","_useState4","error","setError","_useState5","_useState6","staticChannelsActive","setStaticChannelsActive","_useState7","_useState8","activeQueryType","setActiveQueryType","_useState9","_useState10","hasNextPage","setHasNextPage","activeChannels","useActiveChannelsRefContext","isMountedRef","useIsMountedRef","_useChatContext","useChatContext","client","filtersRef","useRef","sortRef","activeRequestId","isQueryingRef","lastRefresh","Date","now","queryChannels","_ref2","_asyncToGenerator2","_regenerator","mark","_callee","_options$limit","queryType","retryCount","hasUpdatedData","isQueryStale","currentRequestId","newOptions","channelQueryResponse","newChannels","_args","arguments","wrap","_callee$","_context","prev","next","length","current","abrupt","JSON","stringify","some","Boolean","_extends2","limit","MAX_QUERY_CHANNELS_LIMIT","offset","skipInitialization","sent","concat","_toConsumableArray2","map","c","existingChannel","cid","t0","console","warn","Error","stop","apply","refreshList","_ref3","_callee2","_callee2$","_context2","reloadList","_ref4","_callee3","_callee3$","_context3","filterStr","useMemo","sortStr","useEffect","loadOfflineChannels","_client$user","user","id","channelsFromDB","getChannelsForFilterSort","currentUserId","offlineChannels","hydrateActiveChannels","offlineMode","e","listener","DBSyncManager","onSyncStatusChange","_ref5","_callee4","syncStatus","_callee4$","_context4","u","_x","dbSyncStatus","getSyncStatus","on","_ref6","_callee5","event","_callee5$","_context5","online","_x2","_listener","unsubscribe","loadingChannels","loadingNextPage","loadNextPage","refreshing","exports"],"sources":["usePaginatedChannels.ts"],"sourcesContent":["import { useEffect, useMemo, useRef, useState } from 'react';\n\nimport type { Channel, ChannelFilters, ChannelOptions, ChannelSort } from 'stream-chat';\n\nimport { useActiveChannelsRefContext } from '../../../contexts/activeChannelsRefContext/ActiveChannelsRefContext';\nimport { useChatContext } from '../../../contexts/chatContext/ChatContext';\nimport { useIsMountedRef } from '../../../hooks/useIsMountedRef';\n\nimport { getChannelsForFilterSort } from '../../../store/apis/getChannelsForFilterSort';\nimport type { DefaultStreamChatGenerics } from '../../../types/types';\nimport { ONE_SECOND_IN_MS } from '../../../utils/date';\nimport { DBSyncManager } from '../../../utils/DBSyncManager';\nimport { MAX_QUERY_CHANNELS_LIMIT } from '../utils';\n\nconst waitSeconds = (seconds: number) =>\n new Promise((resolve) => {\n setTimeout(resolve, seconds * ONE_SECOND_IN_MS);\n });\n\ntype Parameters<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> =\n {\n enableOfflineSupport: boolean;\n filters: ChannelFilters<StreamChatGenerics>;\n options: ChannelOptions;\n setForceUpdate: React.Dispatch<React.SetStateAction<number>>;\n sort: ChannelSort<StreamChatGenerics>;\n };\n\nconst DEFAULT_OPTIONS = {\n message_limit: 10,\n};\n\nconst MAX_NUMBER_OF_RETRIES = 3;\nconst RETRY_INTERVAL_IN_MS = 5000;\n\ntype QueryType = 'queryLocalDB' | 'reload' | 'refresh' | 'loadChannels';\n\nexport type QueryChannels = (queryType?: QueryType, retryCount?: number) => Promise<void>;\n\nexport const usePaginatedChannels = <\n StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,\n>({\n enableOfflineSupport,\n filters = {},\n options = DEFAULT_OPTIONS,\n setForceUpdate,\n sort = {},\n}: Parameters<StreamChatGenerics>) => {\n const [channels, setChannels] = useState<Channel<StreamChatGenerics>[] | null>(null);\n const [error, setError] = useState<Error | undefined>(undefined);\n const [staticChannelsActive, setStaticChannelsActive] = useState<boolean>(false);\n const [activeQueryType, setActiveQueryType] = useState<QueryType | null>('queryLocalDB');\n const [hasNextPage, setHasNextPage] = useState<boolean>(false);\n const activeChannels = useActiveChannelsRefContext();\n const isMountedRef = useIsMountedRef();\n const { client } = useChatContext<StreamChatGenerics>();\n\n const filtersRef = useRef<typeof filters | null>(null);\n const sortRef = useRef<typeof sort | null>(null);\n const activeRequestId = useRef<number>(0);\n const isQueryingRef = useRef(false);\n const lastRefresh = useRef(Date.now());\n\n const queryChannels: QueryChannels = async (\n queryType: QueryType = 'loadChannels',\n retryCount = 0,\n ): Promise<void> => {\n if (!client || !isMountedRef.current) return;\n\n const hasUpdatedData =\n queryType === 'loadChannels' ||\n queryType === 'refresh' ||\n [\n JSON.stringify(filtersRef.current) !== JSON.stringify(filters),\n JSON.stringify(sortRef.current) !== JSON.stringify(sort),\n ].some(Boolean);\n\n const isQueryStale = () => !isMountedRef || activeRequestId.current !== currentRequestId;\n\n /**\n * We don't need to make another call to query channels if we don't\n * have new data for the query to include\n * */\n if (!hasUpdatedData) {\n if (activeQueryType === null) return;\n }\n\n filtersRef.current = filters;\n sortRef.current = sort;\n isQueryingRef.current = true;\n setError(undefined);\n activeRequestId.current++;\n const currentRequestId = activeRequestId.current;\n setActiveQueryType(queryType);\n\n const newOptions = {\n limit: options?.limit ?? MAX_QUERY_CHANNELS_LIMIT,\n offset:\n queryType === 'loadChannels' && !staticChannelsActive && channels ? channels.length : 0,\n ...options,\n };\n\n try {\n /**\n * We skipInitialization here for handling race condition between ChannelList, Channel (and Thread)\n * when they all (may) update the channel state at the same time (when connection state recovers)\n * TODO: if we move the channel state to a single context and share it between ChannelList, Channel and Thread we can remove this\n */\n const channelQueryResponse = await client.queryChannels(filters, sort, newOptions, {\n skipInitialization: enableOfflineSupport ? undefined : activeChannels.current,\n });\n if (isQueryStale() || !isMountedRef.current) {\n return;\n }\n\n const newChannels =\n queryType === 'loadChannels' && !staticChannelsActive && channels\n ? [...channels, ...channelQueryResponse]\n : channelQueryResponse.map((c) => {\n const existingChannel = client.activeChannels[c.cid];\n if (existingChannel) {\n return existingChannel;\n }\n\n return c;\n });\n\n setChannels(newChannels);\n setStaticChannelsActive(false);\n setHasNextPage(channelQueryResponse.length >= newOptions.limit);\n isQueryingRef.current = false;\n } catch (err: unknown) {\n isQueryingRef.current = false;\n await waitSeconds(2);\n\n if (isQueryStale()) {\n return;\n }\n\n // querying.current check is needed in order to make sure the next query call doesnt flick an error\n // state and then succeed (reconnect case)\n if (retryCount === MAX_NUMBER_OF_RETRIES && !isQueryingRef.current) {\n setActiveQueryType(null);\n console.warn(err);\n\n setError(\n new Error(\n `Maximum number of retries reached in queryChannels. Last error message is: ${err}`,\n ),\n );\n return;\n }\n\n return queryChannels(queryType, retryCount + 1);\n }\n\n setActiveQueryType(null);\n };\n\n const refreshList = async () => {\n const now = Date.now();\n // Only allow pull-to-refresh 5 seconds after last successful refresh.\n if (now - lastRefresh.current < RETRY_INTERVAL_IN_MS && error === undefined) {\n return;\n }\n\n lastRefresh.current = Date.now();\n await queryChannels('refresh');\n };\n\n const reloadList = async () => {\n await queryChannels('reload');\n };\n\n /**\n * Equality check using stringified filters/sort ensure that we don't make un-necessary queryChannels api calls\n * for the scenario:\n *\n * <ChannelList\n * filters={{\n * members: { $in: ['vishal'] }\n * }}\n * ...\n * />\n *\n * Here we have passed filters as inline object, which means on every re-render of\n * parent component, ChannelList will receive new object reference (even though value is same), which\n * in return will trigger useEffect. To avoid this, we can add a value check.\n */\n const filterStr = useMemo(() => JSON.stringify(filters), [filters]);\n const sortStr = useMemo(() => JSON.stringify(sort), [sort]);\n\n useEffect(() => {\n const loadOfflineChannels = () => {\n if (!client?.user?.id) return;\n\n try {\n const channelsFromDB = getChannelsForFilterSort({\n currentUserId: client.user.id,\n filters,\n sort,\n });\n\n if (channelsFromDB) {\n const offlineChannels = client.hydrateActiveChannels(channelsFromDB, {\n offlineMode: true,\n skipInitialization: [], // passing empty array will clear out the existing messages from channel state, this removes the possibility of duplicate messages\n });\n\n setChannels(offlineChannels);\n setStaticChannelsActive(true);\n }\n } catch (e) {\n console.warn('Failed to get channels from database: ', e);\n }\n\n setActiveQueryType(null);\n };\n\n let listener: ReturnType<typeof DBSyncManager.onSyncStatusChange>;\n if (enableOfflineSupport) {\n // Any time DB is synced, we need to update the UI with local DB channels first,\n // and then call queryChannels to ensure any new channels are added to UI.\n listener = DBSyncManager.onSyncStatusChange(async (syncStatus) => {\n if (syncStatus) {\n loadOfflineChannels();\n await reloadList();\n setForceUpdate((u) => u + 1);\n }\n });\n // On start, load the channels from local db.\n loadOfflineChannels();\n\n // If db is already synced (sync api and pending api calls), then\n // right away call queryChannels.\n const dbSyncStatus = DBSyncManager.getSyncStatus();\n if (dbSyncStatus) {\n reloadList();\n }\n } else {\n listener = client.on('connection.changed', async (event) => {\n if (event.online) {\n await refreshList();\n setForceUpdate((u) => u + 1);\n }\n });\n\n reloadList();\n }\n\n return () => listener?.unsubscribe?.();\n }, [filterStr, sortStr]);\n\n return {\n channels,\n error,\n hasNextPage,\n loadingChannels:\n activeQueryType === 'queryLocalDB'\n ? true\n : (activeQueryType === 'reload' || activeQueryType === null) && channels === null,\n loadingNextPage: activeQueryType === 'loadChannels',\n loadNextPage: queryChannels,\n refreshing: activeQueryType === 'refresh',\n refreshList,\n reloadList,\n // Although channels can be null, there is no practical case where channels will be null\n // when setChannels is used. setChannels is only recommended to be used for overriding\n // event handler. Thus instead of adding if check for channels === null, its better to\n // simply reassign types here.\n setChannels,\n staticChannelsActive,\n };\n};\n"],"mappings":";;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAIA,IAAAC,yBAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAH,OAAA;AAEA,IAAAI,yBAAA,GAAAJ,OAAA;AAEA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,cAAA,GAAAN,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AAEA,IAAMQ,WAAW,GAAG,SAAdA,WAAWA,CAAIC,OAAe;EAAA,OAClC,IAAIC,OAAO,CAAC,UAACC,OAAO,EAAK;IACvBC,UAAU,CAACD,OAAO,EAAEF,OAAO,GAAGI,sBAAgB,CAAC;EACjD,CAAC,CAAC;AAAA;AAWJ,IAAMC,eAAe,GAAG;EACtBC,aAAa,EAAE;AACjB,CAAC;AAED,IAAMC,qBAAqB,GAAG,CAAC;AAC/B,IAAMC,oBAAoB,GAAG,IAAI;AAM1B,IAAMC,oBAAoB,GAAG,SAAvBA,oBAAoBA,CAAAC,IAAA,EAQK;EAAA,IALpCC,oBAAoB,GAAAD,IAAA,CAApBC,oBAAoB;IAAAC,YAAA,GAAAF,IAAA,CACpBG,OAAO;IAAPA,OAAO,GAAAD,YAAA,cAAG,CAAC,CAAC,GAAAA,YAAA;IAAAE,YAAA,GAAAJ,IAAA,CACZK,OAA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AAA,oBAAA"}
|
|
1
|
+
{"version":3,"names":["_react","require","_ActiveChannelsRefContext","_ChatContext","_useIsMountedRef","_getChannelsForFilterSort","_date","_DBSyncManager","_utils","waitSeconds","seconds","Promise","resolve","setTimeout","ONE_SECOND_IN_MS","DEFAULT_OPTIONS","message_limit","MAX_NUMBER_OF_RETRIES","RETRY_INTERVAL_IN_MS","usePaginatedChannels","_ref","enableOfflineSupport","_ref$filters","filters","_ref$options","options","setForceUpdate","_ref$sort","sort","_useState","useState","_useState2","_slicedToArray2","channels","setChannels","_useState3","undefined","_useState4","error","setError","_useState5","_useState6","staticChannelsActive","setStaticChannelsActive","_useState7","_useState8","activeQueryType","setActiveQueryType","_useState9","_useState10","hasNextPage","setHasNextPage","activeChannels","useActiveChannelsRefContext","isMountedRef","useIsMountedRef","_useChatContext","useChatContext","client","filtersRef","useRef","sortRef","activeRequestId","isQueryingRef","lastRefresh","Date","now","queryChannels","_ref2","_asyncToGenerator2","_regenerator","mark","_callee","_options$limit","queryType","retryCount","hasUpdatedData","isQueryStale","currentRequestId","newOptions","channelQueryResponse","newChannels","_args","arguments","wrap","_callee$","_context","prev","next","length","current","abrupt","JSON","stringify","some","Boolean","Object","assign","limit","MAX_QUERY_CHANNELS_LIMIT","offset","skipInitialization","sent","concat","_toConsumableArray2","map","c","existingChannel","cid","t0","console","warn","Error","stop","apply","refreshList","_ref3","_callee2","_callee2$","_context2","reloadList","_ref4","_callee3","_callee3$","_context3","filterStr","useMemo","sortStr","useEffect","loadOfflineChannels","_client$user","user","id","channelsFromDB","getChannelsForFilterSort","currentUserId","offlineChannels","hydrateActiveChannels","offlineMode","e","listener","DBSyncManager","onSyncStatusChange","_ref5","_callee4","syncStatus","_callee4$","_context4","u","_x","dbSyncStatus","getSyncStatus","on","_ref6","_callee5","event","_callee5$","_context5","online","_x2","_listener","unsubscribe","loadingChannels","loadingNextPage","loadNextPage","refreshing","exports"],"sourceRoot":"../../../../../src","sources":["components/ChannelList/hooks/usePaginatedChannels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AA,OAAAS,SAAA,CAAA5C,IAAA;YAAA;UAAA,GAAAyC,QAAA;QAAA,CAEhC;QAAA,iBAAAK,GAAA;UAAA,OAAAN,KAAA,CAAAvC,KAAA,OAAA/B,SAAA;QAAA;MAAA,IAAC;MAEFqC,UAAU,CAAC,CAAC;IACd;IAEA,OAAO;MAAA,IAAAwC,SAAA;MAAA,QAAAA,SAAA,GAAMpB,QAAQ,qBAARoB,SAAA,CAAUC,WAAW,oBAArBD,SAAA,CAAUC,WAAW,CAAG,CAAC;IAAA;EACxC,CAAC,EAAE,CAACpC,SAAS,EAAEE,OAAO,CAAC,CAAC;EAExB,OAAO;IACL9F,QAAQ,EAARA,QAAQ;IACRK,KAAK,EAALA,KAAK;IACLY,WAAW,EAAXA,WAAW;IACXgH,eAAe,EACbpH,eAAe,KAAK,cAAc,GAC9B,IAAI,GACJ,CAACA,eAAe,KAAK,QAAQ,IAAIA,eAAe,KAAK,IAAI,KAAKb,QAAQ,KAAK,IAAI;IACrFkI,eAAe,EAAErH,eAAe,KAAK,cAAc;IACnDsH,YAAY,EAAEjG,aAAa;IAC3BkG,UAAU,EAAEvH,eAAe,KAAK,SAAS;IACzCqE,WAAW,EAAXA,WAAW;IACXK,UAAU,EAAVA,UAAU;IAKVtF,WAAW,EAAXA,WAAW;IACXQ,oBAAoB,EAApBA;EACF,CAAC;AACH,CAAC;AAAC4H,OAAA,CAAAnJ,oBAAA,GAAAA,oBAAA","ignoreList":[]}
|
|
@@ -7,9 +7,9 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
|
|
|
7
7
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
8
8
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
9
|
var moveChannelUp = function moveChannelUp(_ref) {
|
|
10
|
-
var
|
|
11
|
-
_ref$channels
|
|
12
|
-
|
|
10
|
+
var _ref$channels = _ref.channels,
|
|
11
|
+
channels = _ref$channels === void 0 ? [] : _ref$channels,
|
|
12
|
+
cid = _ref.cid;
|
|
13
13
|
var index = channels.findIndex(function (c) {
|
|
14
14
|
return c.cid === cid;
|
|
15
15
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["moveChannelUp","_ref","
|
|
1
|
+
{"version":3,"names":["moveChannelUp","_ref","_ref$channels","channels","cid","index","findIndex","c","channel","splice","unshift","_toConsumableArray2","exports","getChannel","_ref3","_asyncToGenerator2","_regenerator","mark","_callee","_ref2","client","id","type","wrap","_callee$","_context","prev","next","watch","abrupt","stop","_x","apply","arguments","DEFAULT_QUERY_CHANNELS_LIMIT","MAX_QUERY_CHANNELS_LIMIT"],"sourceRoot":"../../../../src","sources":["components/ChannelList/utils.ts"],"mappings":";;;;;;;;AAWO,IAAMA,aAAa,GAAG,SAAhBA,aAAaA,CAAAC,IAAA,EAKgB;EAAA,IAAAC,aAAA,GAAAD,IAAA,CAFxCE,QAAQ;IAARA,QAAQ,GAAAD,aAAA,cAAG,EAAE,GAAAA,aAAA;IACbE,GAAG,GAAAH,IAAA,CAAHG,GAAG;EAGH,IAAMC,KAAK,GAAGF,QAAQ,CAACG,SAAS,CAAC,UAACC,CAAC;IAAA,OAAKA,CAAC,CAACH,GAAG,KAAKA,GAAG;EAAA,EAAC;EACtD,IAAIC,KAAK,IAAI,CAAC,EAAE,OAAOF,QAAQ;EAC/B,IAAMK,OAAO,GAAGL,QAAQ,CAACE,KAAK,CAAC;EAG/BF,QAAQ,CAACM,MAAM,CAACJ,KAAK,EAAE,CAAC,CAAC;EACzBF,QAAQ,CAACO,OAAO,CAACF,OAAO,CAAC;EAEzB,WAAAG,mBAAA,aAAWR,QAAQ;AACrB,CAAC;AAACS,OAAA,CAAAZ,aAAA,GAAAA,aAAA;AAUK,IAAMa,UAAU;EAAA,IAAAC,KAAA,OAAAC,kBAAA,aAAAC,YAAA,YAAAC,IAAA,CAAG,SAAAC,QAAAC,KAAA;IAAA,IAAAC,MAAA,EAAAC,EAAA,EAAAC,IAAA,EAAAd,OAAA;IAAA,OAAAQ,YAAA,YAAAO,IAAA,UAAAC,SAAAC,QAAA;MAAA,kBAAAA,QAAA,CAAAC,IAAA,GAAAD,QAAA,CAAAE,IAAA;QAAA;UAGxBP,MAAM,GAAAD,KAAA,CAANC,MAAM,EACNC,EAAE,GAAAF,KAAA,CAAFE,EAAE,EACFC,IAAI,GAAAH,KAAA,CAAJG,IAAI;UAEEd,OAAO,GAAGY,MAAM,CAACZ,OAAO,CAACc,IAAI,EAAED,EAAE,CAAC;UAAAI,QAAA,CAAAE,IAAA;UAAA,OAClCnB,OAAO,CAACoB,KAAK,CAAC,CAAC;QAAA;UAAA,OAAAH,QAAA,CAAAI,MAAA,WACdrB,OAAO;QAAA;QAAA;UAAA,OAAAiB,QAAA,CAAAK,IAAA;MAAA;IAAA,GAAAZ,OAAA;EAAA,CACf;EAAA,gBAVYL,UAAUA,CAAAkB,EAAA;IAAA,OAAAjB,KAAA,CAAAkB,KAAA,OAAAC,SAAA;EAAA;AAAA,GAUtB;AAACrB,OAAA,CAAAC,UAAA,GAAAA,UAAA;AAEK,IAAMqB,4BAA4B,GAAG,EAAE;AAACtB,OAAA,CAAAsB,4BAAA,GAAAA,4BAAA;AACxC,IAAMC,wBAAwB,GAAG,EAAE;AAACvB,OAAA,CAAAuB,wBAAA,GAAAA,wBAAA","ignoreList":[]}
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
5
|
exports.ChannelAvatarWithContext = exports.ChannelAvatar = void 0;
|
|
6
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
7
6
|
var _react = _interopRequireDefault(require("react"));
|
|
8
7
|
var _useChannelPreviewDisplayAvatar = require("./hooks/useChannelPreviewDisplayAvatar");
|
|
9
8
|
var _useChannelPreviewDisplayPresence = require("./hooks/useChannelPreviewDisplayPresence");
|
|
10
9
|
var _ChatContext = require("../../contexts/chatContext/ChatContext");
|
|
11
10
|
var _Avatar = require("../Avatar/Avatar");
|
|
12
11
|
var _GroupAvatar = require("../Avatar/GroupAvatar");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
13
13
|
var _this = this,
|
|
14
14
|
_jsxFileName = "/home/runner/work/stream-chat-react-native/stream-chat-react-native/package/src/components/ChannelPreview/ChannelAvatar.tsx";
|
|
15
15
|
var ChannelAvatarWithContext = function ChannelAvatarWithContext(props) {
|
|
@@ -18,45 +18,27 @@ var ChannelAvatarWithContext = function ChannelAvatarWithContext(props) {
|
|
|
18
18
|
var displayAvatar = (0, _useChannelPreviewDisplayAvatar.useChannelPreviewDisplayAvatar)(channel);
|
|
19
19
|
var displayPresence = (0, _useChannelPreviewDisplayPresence.useChannelPreviewDisplayPresence)(channel);
|
|
20
20
|
if (displayAvatar.images) {
|
|
21
|
-
return
|
|
21
|
+
return (0, _jsxRuntime.jsx)(_GroupAvatar.GroupAvatar, {
|
|
22
22
|
ImageComponent: ImageComponent,
|
|
23
23
|
images: displayAvatar.images,
|
|
24
24
|
names: displayAvatar.names,
|
|
25
|
-
size: 40
|
|
26
|
-
__self: _this,
|
|
27
|
-
__source: {
|
|
28
|
-
fileName: _jsxFileName,
|
|
29
|
-
lineNumber: 31,
|
|
30
|
-
columnNumber: 7
|
|
31
|
-
}
|
|
25
|
+
size: 40
|
|
32
26
|
});
|
|
33
27
|
}
|
|
34
|
-
return
|
|
28
|
+
return (0, _jsxRuntime.jsx)(_Avatar.Avatar, {
|
|
35
29
|
image: displayAvatar.image,
|
|
36
30
|
ImageComponent: ImageComponent,
|
|
37
31
|
name: displayAvatar.name,
|
|
38
32
|
online: displayPresence,
|
|
39
|
-
size: 40
|
|
40
|
-
__self: _this,
|
|
41
|
-
__source: {
|
|
42
|
-
fileName: _jsxFileName,
|
|
43
|
-
lineNumber: 41,
|
|
44
|
-
columnNumber: 5
|
|
45
|
-
}
|
|
33
|
+
size: 40
|
|
46
34
|
});
|
|
47
35
|
};
|
|
48
36
|
exports.ChannelAvatarWithContext = ChannelAvatarWithContext;
|
|
49
37
|
var ChannelAvatar = function ChannelAvatar(props) {
|
|
50
38
|
var _useChatContext = (0, _ChatContext.useChatContext)(),
|
|
51
39
|
ImageComponent = _useChatContext.ImageComponent;
|
|
52
|
-
return
|
|
53
|
-
ImageComponent: ImageComponent
|
|
54
|
-
__self: _this,
|
|
55
|
-
__source: {
|
|
56
|
-
fileName: _jsxFileName,
|
|
57
|
-
lineNumber: 58,
|
|
58
|
-
columnNumber: 10
|
|
59
|
-
}
|
|
40
|
+
return (0, _jsxRuntime.jsx)(ChannelAvatarWithContext, Object.assign({}, props, {
|
|
41
|
+
ImageComponent: ImageComponent
|
|
60
42
|
}));
|
|
61
43
|
};
|
|
62
44
|
exports.ChannelAvatar = ChannelAvatar;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_useChannelPreviewDisplayAvatar","_useChannelPreviewDisplayPresence","_ChatContext","_Avatar","_GroupAvatar","_this","_jsxFileName","ChannelAvatarWithContext","props","channel","ImageComponent","displayAvatar","useChannelPreviewDisplayAvatar","displayPresence","useChannelPreviewDisplayPresence","images","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_useChannelPreviewDisplayAvatar","_useChannelPreviewDisplayPresence","_ChatContext","_Avatar","_GroupAvatar","_jsxRuntime","_this","_jsxFileName","ChannelAvatarWithContext","props","channel","ImageComponent","displayAvatar","useChannelPreviewDisplayAvatar","displayPresence","useChannelPreviewDisplayPresence","images","jsx","GroupAvatar","names","size","Avatar","image","name","online","exports","ChannelAvatar","_useChatContext","useChatContext","Object","assign"],"sourceRoot":"../../../../src","sources":["components/ChannelPreview/ChannelAvatar.tsx"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAGA,IAAAC,+BAAA,GAAAD,OAAA;AACA,IAAAE,iCAA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