stream-chat-react-native-core 9.3.1 → 9.4.0-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/commonjs/components/Attachment/Attachment.js +10 -5
- package/lib/commonjs/components/Attachment/Attachment.js.map +1 -1
- package/lib/commonjs/components/Attachment/Audio/AudioAttachment.js +2 -4
- package/lib/commonjs/components/Attachment/Audio/AudioAttachment.js.map +1 -1
- package/lib/commonjs/components/ChannelDetails/ChannelDetails.js +100 -0
- package/lib/commonjs/components/ChannelDetails/ChannelDetails.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionItem.js +109 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionItem.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionsSection.js +161 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsActionsSection.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsMemberSection.js +200 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsMemberSection.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js +133 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +67 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js +106 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetails.js +119 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetails.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsModal.js +152 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditDetailsModal.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js +175 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditName.js +44 -0
- package/lib/commonjs/components/ChannelDetails/components/ChannelEditName.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/index.js +125 -0
- package/lib/commonjs/components/ChannelDetails/components/index.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/members/AddMemberSearchResultItem.js +123 -0
- package/lib/commonjs/components/ChannelDetails/components/members/AddMemberSearchResultItem.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembers.js +131 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembers.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersModal.js +133 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAddMembersModal.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAllMembersModal.js +85 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelAllMembersModal.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js +87 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js +169 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberList.js +72 -0
- package/lib/commonjs/components/ChannelDetails/components/members/ChannelMemberList.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/members/MemberListLoadingSkeleton.js +21 -0
- package/lib/commonjs/components/ChannelDetails/components/members/MemberListLoadingSkeleton.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/members/UserListLoadingSkeleton.js +21 -0
- package/lib/commonjs/components/ChannelDetails/components/members/UserListLoadingSkeleton.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/members/index.js +103 -0
- package/lib/commonjs/components/ChannelDetails/components/members/index.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/modal/Modal.js +49 -0
- package/lib/commonjs/components/ChannelDetails/components/modal/Modal.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js +85 -0
- package/lib/commonjs/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/index.js +70 -0
- package/lib/commonjs/components/ChannelDetails/hooks/index.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/members/index.js +26 -0
- package/lib/commonjs/components/ChannelDetails/hooks/members/index.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/members/useChannelAllMembers.js +139 -0
- package/lib/commonjs/components/ChannelDetails/hooks/members/useChannelAllMembers.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/members/useMemberRoleLabel.js +33 -0
- package/lib/commonjs/components/ChannelDetails/hooks/members/useMemberRoleLabel.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsActionItems.js +35 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsActionItems.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js +32 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.js +23 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useEditChannelImage.js +70 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useEditChannelImage.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useUserActivityStatus.js +29 -0
- package/lib/commonjs/components/ChannelDetails/hooks/useUserActivityStatus.js.map +1 -0
- package/lib/commonjs/components/ChannelDetails/index.js +37 -0
- package/lib/commonjs/components/ChannelDetails/index.js.map +1 -0
- package/lib/commonjs/components/ChannelList/ChannelList.js +4 -1
- package/lib/commonjs/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/index.js +0 -66
- package/lib/commonjs/components/ChannelList/hooks/index.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js +5 -3
- package/lib/commonjs/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useMutedUsers.js +3 -4
- package/lib/commonjs/components/ChannelList/hooks/useMutedUsers.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js +3 -7
- package/lib/commonjs/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +5 -3
- package/lib/commonjs/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js +3 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js +30 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -0
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js +8 -3
- package/lib/commonjs/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js +22 -28
- package/lib/commonjs/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/index.js +11 -0
- package/lib/commonjs/components/ChannelPreview/hooks/index.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js +3 -0
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +4 -2
- package/lib/commonjs/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelPinned.js +11 -0
- package/lib/commonjs/components/ChannelPreview/hooks/useIsChannelPinned.js.map +1 -0
- package/lib/commonjs/components/Message/Message.js +53 -16
- package/lib/commonjs/components/Message/Message.js.map +1 -1
- package/lib/commonjs/components/Message/MessageItemView/MessageItemView.js +6 -84
- package/lib/commonjs/components/Message/MessageItemView/MessageItemView.js.map +1 -1
- package/lib/commonjs/components/Message/hooks/useUserMuteActive.js +1 -3
- package/lib/commonjs/components/Message/hooks/useUserMuteActive.js.map +1 -1
- package/lib/commonjs/components/MessageInput/MessageComposer.js +8 -29
- package/lib/commonjs/components/MessageInput/MessageComposer.js.map +1 -1
- package/lib/commonjs/components/MessageMenu/MessageActionList.js +1 -1
- package/lib/commonjs/components/Notifications/notificationTarget.js +1 -1
- package/lib/commonjs/components/Notifications/notificationTarget.js.map +1 -1
- package/lib/commonjs/components/Poll/components/CreatePollHeader.js +5 -5
- package/lib/commonjs/components/Poll/components/CreatePollHeader.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollButtons.js +25 -56
- package/lib/commonjs/components/Poll/components/PollButtons.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollInputDialog.js +9 -11
- package/lib/commonjs/components/Poll/components/PollInputDialog.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollModal.js +50 -0
- package/lib/commonjs/components/Poll/components/PollModal.js.map +1 -0
- package/lib/commonjs/components/Poll/components/PollModalHeader.js +4 -5
- package/lib/commonjs/components/Poll/components/PollModalHeader.js.map +1 -1
- package/lib/commonjs/components/Poll/components/PollResults/PollResultItem.js +10 -24
- package/lib/commonjs/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
- package/lib/commonjs/components/Poll/components/index.js +11 -0
- package/lib/commonjs/components/Poll/components/index.js.map +1 -1
- package/lib/commonjs/components/UIComponents/BottomSheetModal.js +46 -7
- package/lib/commonjs/components/UIComponents/BottomSheetModal.js.map +1 -1
- package/lib/commonjs/components/UIComponents/EmptySearchResult.js +56 -0
- package/lib/commonjs/components/UIComponents/EmptySearchResult.js.map +1 -0
- package/lib/commonjs/components/UIComponents/GenericListLoadingSkeleton.js +109 -0
- package/lib/commonjs/components/UIComponents/GenericListLoadingSkeleton.js.map +1 -0
- package/lib/commonjs/components/UIComponents/SearchInput.js +88 -0
- package/lib/commonjs/components/UIComponents/SearchInput.js.map +1 -0
- package/lib/commonjs/components/UIComponents/SelectionCircle.js +53 -0
- package/lib/commonjs/components/UIComponents/SelectionCircle.js.map +1 -0
- package/lib/commonjs/components/UIComponents/index.js +33 -0
- package/lib/commonjs/components/UIComponents/index.js.map +1 -1
- package/lib/commonjs/components/index.js +22 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/ui/Avatar/ChannelAvatar.js +16 -7
- package/lib/commonjs/components/ui/Avatar/ChannelAvatar.js.map +1 -1
- package/lib/commonjs/components/ui/Input/Input.js +5 -5
- package/lib/commonjs/components/ui/Input/Input.js.map +1 -1
- package/lib/commonjs/contexts/bottomSheetContext/BottomSheetContext.js.map +1 -1
- package/lib/commonjs/contexts/channelAddMembersContext/ChannelAddMembersContext.js +69 -0
- package/lib/commonjs/contexts/channelAddMembersContext/ChannelAddMembersContext.js.map +1 -0
- package/lib/commonjs/contexts/channelDetailsContext/channelDetailsContext.js +28 -0
- package/lib/commonjs/contexts/channelDetailsContext/channelDetailsContext.js.map +1 -0
- package/lib/commonjs/contexts/channelDetailsContext/index.js +15 -0
- package/lib/commonjs/contexts/channelDetailsContext/index.js.map +1 -0
- package/lib/commonjs/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js +38 -0
- package/lib/commonjs/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js.map +1 -0
- package/lib/commonjs/contexts/channelEditDetailsContext/index.js +15 -0
- package/lib/commonjs/contexts/channelEditDetailsContext/index.js.map +1 -0
- package/lib/commonjs/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js +17 -0
- package/lib/commonjs/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/commonjs/contexts/index.js +33 -0
- package/lib/commonjs/contexts/index.js.map +1 -1
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageComposer.js +2 -2
- package/lib/commonjs/contexts/messageInputContext/hooks/useCreateMessageComposer.js.map +1 -1
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -0
- package/lib/commonjs/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js +95 -1
- package/lib/commonjs/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/commonjs/hooks/actions/index.js +59 -0
- package/lib/commonjs/hooks/actions/index.js.map +1 -0
- package/lib/commonjs/hooks/actions/types.js +4 -0
- package/lib/commonjs/hooks/actions/types.js.map +1 -0
- package/lib/commonjs/{components/ChannelList/hooks → hooks/actions}/useChannelActionItems.js +69 -21
- package/lib/commonjs/hooks/actions/useChannelActionItems.js.map +1 -0
- package/lib/{module/components/ChannelList/hooks → commonjs/hooks/actions}/useChannelActionItemsById.js +3 -1
- package/lib/commonjs/hooks/actions/useChannelActionItemsById.js.map +1 -0
- package/lib/commonjs/hooks/actions/useChannelActions.js +792 -0
- package/lib/commonjs/hooks/actions/useChannelActions.js.map +1 -0
- package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js +148 -0
- package/lib/commonjs/hooks/actions/useChannelMemberActionItems.js.map +1 -0
- package/lib/commonjs/hooks/actions/useUserActions.js +199 -0
- package/lib/commonjs/hooks/actions/useUserActions.js.map +1 -0
- package/lib/commonjs/hooks/index.js +99 -0
- package/lib/commonjs/hooks/index.js.map +1 -1
- package/lib/commonjs/hooks/useChannelImage.js +15 -0
- package/lib/commonjs/hooks/useChannelImage.js.map +1 -0
- package/lib/commonjs/hooks/useChannelMemberCount.js +15 -0
- package/lib/commonjs/hooks/useChannelMemberCount.js.map +1 -0
- package/lib/commonjs/{components/ChannelList/hooks → hooks}/useChannelMembershipState.js +1 -1
- package/lib/commonjs/hooks/useChannelMembershipState.js.map +1 -0
- package/lib/commonjs/hooks/useChannelMuteActive.js +21 -0
- package/lib/commonjs/hooks/useChannelMuteActive.js.map +1 -0
- package/lib/commonjs/hooks/useChannelName.js +15 -0
- package/lib/commonjs/hooks/useChannelName.js.map +1 -0
- package/lib/commonjs/hooks/useChannelOwnCapabilities.js +15 -0
- package/lib/commonjs/hooks/useChannelOwnCapabilities.js.map +1 -0
- package/lib/commonjs/hooks/useIsChannelMember.js +17 -0
- package/lib/commonjs/hooks/useIsChannelMember.js.map +1 -0
- package/lib/{module/components/ChannelList → commonjs}/hooks/useIsDirectChat.js +2 -2
- package/lib/commonjs/hooks/useIsDirectChat.js.map +1 -0
- package/lib/commonjs/hooks/useSyncClientEvents.js +23 -0
- package/lib/commonjs/hooks/useSyncClientEvents.js.map +1 -1
- package/lib/commonjs/i18n/ar.json +65 -2
- package/lib/commonjs/i18n/en.json +64 -1
- package/lib/commonjs/i18n/es.json +65 -2
- package/lib/commonjs/i18n/fr.json +65 -2
- package/lib/commonjs/i18n/he.json +65 -2
- package/lib/commonjs/i18n/hi.json +65 -2
- package/lib/commonjs/i18n/it.json +65 -2
- package/lib/commonjs/i18n/ja.json +65 -2
- package/lib/commonjs/i18n/ko.json +65 -2
- package/lib/commonjs/i18n/nl.json +65 -2
- package/lib/commonjs/i18n/pt-br.json +65 -2
- package/lib/commonjs/i18n/ru.json +65 -2
- package/lib/commonjs/i18n/tr.json +65 -2
- package/lib/commonjs/icons/chevron-right.js +34 -0
- package/lib/commonjs/icons/chevron-right.js.map +1 -0
- package/lib/commonjs/icons/index.js +36 -0
- package/lib/commonjs/icons/index.js.map +1 -1
- package/lib/commonjs/icons/x-circle.js +36 -0
- package/lib/commonjs/icons/x-circle.js.map +1 -0
- package/lib/commonjs/state-store/edit-channel-details-store.js +60 -0
- package/lib/commonjs/state-store/edit-channel-details-store.js.map +1 -0
- package/lib/commonjs/state-store/selection-store.js +81 -0
- package/lib/commonjs/state-store/selection-store.js.map +1 -0
- package/lib/commonjs/types/types.js.map +1 -1
- package/lib/commonjs/utils/i18n/predefinedFormatters.js +9 -0
- package/lib/commonjs/utils/i18n/predefinedFormatters.js.map +1 -1
- package/lib/commonjs/version.json +1 -1
- package/lib/module/components/Attachment/Attachment.js +10 -5
- package/lib/module/components/Attachment/Attachment.js.map +1 -1
- package/lib/module/components/Attachment/Audio/AudioAttachment.js +2 -4
- package/lib/module/components/Attachment/Audio/AudioAttachment.js.map +1 -1
- package/lib/module/components/ChannelDetails/ChannelDetails.js +100 -0
- package/lib/module/components/ChannelDetails/ChannelDetails.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsActionItem.js +109 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsActionItem.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsActionsSection.js +161 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsActionsSection.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsMemberSection.js +200 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsMemberSection.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js +133 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavHeader.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js +67 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsNavigationSection.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js +106 -0
- package/lib/module/components/ChannelDetails/components/ChannelDetailsProfile.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/ChannelEditDetails.js +119 -0
- package/lib/module/components/ChannelDetails/components/ChannelEditDetails.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/ChannelEditDetailsModal.js +152 -0
- package/lib/module/components/ChannelDetails/components/ChannelEditDetailsModal.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js +175 -0
- package/lib/module/components/ChannelDetails/components/ChannelEditImageSheet.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/ChannelEditName.js +44 -0
- package/lib/module/components/ChannelDetails/components/ChannelEditName.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/index.js +125 -0
- package/lib/module/components/ChannelDetails/components/index.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/members/AddMemberSearchResultItem.js +123 -0
- package/lib/module/components/ChannelDetails/components/members/AddMemberSearchResultItem.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelAddMembers.js +131 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelAddMembers.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersModal.js +133 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelAddMembersModal.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelAllMembersModal.js +85 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelAllMembersModal.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js +87 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberActionsSheet.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js +169 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberItem.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberList.js +72 -0
- package/lib/module/components/ChannelDetails/components/members/ChannelMemberList.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/members/MemberListLoadingSkeleton.js +21 -0
- package/lib/module/components/ChannelDetails/components/members/MemberListLoadingSkeleton.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/members/UserListLoadingSkeleton.js +21 -0
- package/lib/module/components/ChannelDetails/components/members/UserListLoadingSkeleton.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/members/index.js +103 -0
- package/lib/module/components/ChannelDetails/components/members/index.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/modal/Modal.js +49 -0
- package/lib/module/components/ChannelDetails/components/modal/Modal.js.map +1 -0
- package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js +85 -0
- package/lib/module/components/ChannelDetails/components/modal/ModalHeader.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/index.js +70 -0
- package/lib/module/components/ChannelDetails/hooks/index.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/members/index.js +26 -0
- package/lib/module/components/ChannelDetails/hooks/members/index.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/members/useChannelAllMembers.js +139 -0
- package/lib/module/components/ChannelDetails/hooks/members/useChannelAllMembers.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/members/useMemberRoleLabel.js +33 -0
- package/lib/module/components/ChannelDetails/hooks/members/useMemberRoleLabel.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsActionItems.js +35 -0
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsActionItems.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js +32 -0
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.js +23 -0
- package/lib/module/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/useEditChannelImage.js +70 -0
- package/lib/module/components/ChannelDetails/hooks/useEditChannelImage.js.map +1 -0
- package/lib/module/components/ChannelDetails/hooks/useUserActivityStatus.js +29 -0
- package/lib/module/components/ChannelDetails/hooks/useUserActivityStatus.js.map +1 -0
- package/lib/module/components/ChannelDetails/index.js +37 -0
- package/lib/module/components/ChannelDetails/index.js.map +1 -0
- package/lib/module/components/ChannelList/ChannelList.js +4 -1
- package/lib/module/components/ChannelList/ChannelList.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/index.js +0 -66
- package/lib/module/components/ChannelList/hooks/index.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js +5 -3
- package/lib/module/components/ChannelList/hooks/useCreateChannelsContext.js.map +1 -1
- package/lib/module/components/ChannelList/hooks/useMutedUsers.js +3 -4
- package/lib/module/components/ChannelList/hooks/useMutedUsers.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js +3 -7
- package/lib/module/components/ChannelPreview/ChannelDetailsBottomSheet.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js +5 -3
- package/lib/module/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreview.js +3 -0
- package/lib/module/components/ChannelPreview/ChannelPreview.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js +30 -0
- package/lib/module/components/ChannelPreview/ChannelPreviewPinnedStatus.js.map +1 -0
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js +8 -3
- package/lib/module/components/ChannelPreview/ChannelPreviewView.js.map +1 -1
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js +22 -28
- package/lib/module/components/ChannelPreview/ChannelSwipableWrapper.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/index.js +11 -0
- package/lib/module/components/ChannelPreview/hooks/index.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js +3 -0
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewData.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js +4 -2
- package/lib/module/components/ChannelPreview/hooks/useChannelPreviewDisplayName.js.map +1 -1
- package/lib/module/components/ChannelPreview/hooks/useIsChannelPinned.js +11 -0
- package/lib/module/components/ChannelPreview/hooks/useIsChannelPinned.js.map +1 -0
- package/lib/module/components/Message/Message.js +53 -16
- package/lib/module/components/Message/Message.js.map +1 -1
- package/lib/module/components/Message/MessageItemView/MessageItemView.js +6 -84
- package/lib/module/components/Message/MessageItemView/MessageItemView.js.map +1 -1
- package/lib/module/components/Message/hooks/useUserMuteActive.js +1 -3
- package/lib/module/components/Message/hooks/useUserMuteActive.js.map +1 -1
- package/lib/module/components/MessageInput/MessageComposer.js +8 -29
- package/lib/module/components/MessageInput/MessageComposer.js.map +1 -1
- package/lib/module/components/MessageMenu/MessageActionList.js +1 -1
- package/lib/module/components/Notifications/notificationTarget.js +1 -1
- package/lib/module/components/Notifications/notificationTarget.js.map +1 -1
- package/lib/module/components/Poll/components/CreatePollHeader.js +5 -5
- package/lib/module/components/Poll/components/CreatePollHeader.js.map +1 -1
- package/lib/module/components/Poll/components/PollButtons.js +25 -56
- package/lib/module/components/Poll/components/PollButtons.js.map +1 -1
- package/lib/module/components/Poll/components/PollInputDialog.js +9 -11
- package/lib/module/components/Poll/components/PollInputDialog.js.map +1 -1
- package/lib/module/components/Poll/components/PollModal.js +50 -0
- package/lib/module/components/Poll/components/PollModal.js.map +1 -0
- package/lib/module/components/Poll/components/PollModalHeader.js +4 -5
- package/lib/module/components/Poll/components/PollModalHeader.js.map +1 -1
- package/lib/module/components/Poll/components/PollResults/PollResultItem.js +10 -24
- package/lib/module/components/Poll/components/PollResults/PollResultItem.js.map +1 -1
- package/lib/module/components/Poll/components/index.js +11 -0
- package/lib/module/components/Poll/components/index.js.map +1 -1
- package/lib/module/components/UIComponents/BottomSheetModal.js +46 -7
- package/lib/module/components/UIComponents/BottomSheetModal.js.map +1 -1
- package/lib/module/components/UIComponents/EmptySearchResult.js +56 -0
- package/lib/module/components/UIComponents/EmptySearchResult.js.map +1 -0
- package/lib/module/components/UIComponents/GenericListLoadingSkeleton.js +109 -0
- package/lib/module/components/UIComponents/GenericListLoadingSkeleton.js.map +1 -0
- package/lib/module/components/UIComponents/SearchInput.js +88 -0
- package/lib/module/components/UIComponents/SearchInput.js.map +1 -0
- package/lib/module/components/UIComponents/SelectionCircle.js +53 -0
- package/lib/module/components/UIComponents/SelectionCircle.js.map +1 -0
- package/lib/module/components/UIComponents/index.js +33 -0
- package/lib/module/components/UIComponents/index.js.map +1 -1
- package/lib/module/components/index.js +22 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/ui/Avatar/ChannelAvatar.js +16 -7
- package/lib/module/components/ui/Avatar/ChannelAvatar.js.map +1 -1
- package/lib/module/components/ui/Input/Input.js +5 -5
- package/lib/module/components/ui/Input/Input.js.map +1 -1
- package/lib/module/contexts/bottomSheetContext/BottomSheetContext.js.map +1 -1
- package/lib/module/contexts/channelAddMembersContext/ChannelAddMembersContext.js +69 -0
- package/lib/module/contexts/channelAddMembersContext/ChannelAddMembersContext.js.map +1 -0
- package/lib/module/contexts/channelDetailsContext/channelDetailsContext.js +28 -0
- package/lib/module/contexts/channelDetailsContext/channelDetailsContext.js.map +1 -0
- package/lib/module/contexts/channelDetailsContext/index.js +15 -0
- package/lib/module/contexts/channelDetailsContext/index.js.map +1 -0
- package/lib/module/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js +38 -0
- package/lib/module/contexts/channelEditDetailsContext/ChannelEditDetailsContext.js.map +1 -0
- package/lib/module/contexts/channelEditDetailsContext/index.js +15 -0
- package/lib/module/contexts/channelEditDetailsContext/index.js.map +1 -0
- package/lib/module/contexts/channelsContext/ChannelsContext.js.map +1 -1
- package/lib/module/contexts/componentsContext/defaultComponents.js +17 -0
- package/lib/module/contexts/componentsContext/defaultComponents.js.map +1 -1
- package/lib/module/contexts/index.js +33 -0
- package/lib/module/contexts/index.js.map +1 -1
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageComposer.js +2 -2
- package/lib/module/contexts/messageInputContext/hooks/useCreateMessageComposer.js.map +1 -1
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js +1 -0
- package/lib/module/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.js.map +1 -1
- package/lib/module/contexts/themeContext/utils/theme.js +95 -1
- package/lib/module/contexts/themeContext/utils/theme.js.map +1 -1
- package/lib/module/hooks/actions/index.js +59 -0
- package/lib/module/hooks/actions/index.js.map +1 -0
- package/lib/module/hooks/actions/types.js +4 -0
- package/lib/module/hooks/actions/types.js.map +1 -0
- package/lib/module/{components/ChannelList/hooks → hooks/actions}/useChannelActionItems.js +69 -21
- package/lib/module/hooks/actions/useChannelActionItems.js.map +1 -0
- package/lib/{commonjs/components/ChannelList/hooks → module/hooks/actions}/useChannelActionItemsById.js +3 -1
- package/lib/module/hooks/actions/useChannelActionItemsById.js.map +1 -0
- package/lib/module/hooks/actions/useChannelActions.js +792 -0
- package/lib/module/hooks/actions/useChannelActions.js.map +1 -0
- package/lib/module/hooks/actions/useChannelMemberActionItems.js +148 -0
- package/lib/module/hooks/actions/useChannelMemberActionItems.js.map +1 -0
- package/lib/module/hooks/actions/useUserActions.js +199 -0
- package/lib/module/hooks/actions/useUserActions.js.map +1 -0
- package/lib/module/hooks/index.js +99 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/useChannelImage.js +15 -0
- package/lib/module/hooks/useChannelImage.js.map +1 -0
- package/lib/module/hooks/useChannelMemberCount.js +15 -0
- package/lib/module/hooks/useChannelMemberCount.js.map +1 -0
- package/lib/module/{components/ChannelList/hooks → hooks}/useChannelMembershipState.js +1 -1
- package/lib/module/hooks/useChannelMembershipState.js.map +1 -0
- package/lib/module/hooks/useChannelMuteActive.js +21 -0
- package/lib/module/hooks/useChannelMuteActive.js.map +1 -0
- package/lib/module/hooks/useChannelName.js +15 -0
- package/lib/module/hooks/useChannelName.js.map +1 -0
- package/lib/module/hooks/useChannelOwnCapabilities.js +15 -0
- package/lib/module/hooks/useChannelOwnCapabilities.js.map +1 -0
- package/lib/module/hooks/useIsChannelMember.js +17 -0
- package/lib/module/hooks/useIsChannelMember.js.map +1 -0
- package/lib/{commonjs/components/ChannelList → module}/hooks/useIsDirectChat.js +2 -2
- package/lib/module/hooks/useIsDirectChat.js.map +1 -0
- package/lib/module/hooks/useSyncClientEvents.js +23 -0
- package/lib/module/hooks/useSyncClientEvents.js.map +1 -1
- package/lib/module/i18n/ar.json +65 -2
- package/lib/module/i18n/en.json +64 -1
- package/lib/module/i18n/es.json +65 -2
- package/lib/module/i18n/fr.json +65 -2
- package/lib/module/i18n/he.json +65 -2
- package/lib/module/i18n/hi.json +65 -2
- package/lib/module/i18n/it.json +65 -2
- package/lib/module/i18n/ja.json +65 -2
- package/lib/module/i18n/ko.json +65 -2
- package/lib/module/i18n/nl.json +65 -2
- package/lib/module/i18n/pt-br.json +65 -2
- package/lib/module/i18n/ru.json +65 -2
- package/lib/module/i18n/tr.json +65 -2
- package/lib/module/icons/chevron-right.js +34 -0
- package/lib/module/icons/chevron-right.js.map +1 -0
- package/lib/module/icons/index.js +36 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/icons/x-circle.js +36 -0
- package/lib/module/icons/x-circle.js.map +1 -0
- package/lib/module/state-store/edit-channel-details-store.js +60 -0
- package/lib/module/state-store/edit-channel-details-store.js.map +1 -0
- package/lib/module/state-store/selection-store.js +81 -0
- package/lib/module/state-store/selection-store.js.map +1 -0
- package/lib/module/types/types.js.map +1 -1
- package/lib/module/utils/i18n/predefinedFormatters.js +9 -0
- package/lib/module/utils/i18n/predefinedFormatters.js.map +1 -1
- package/lib/module/version.json +1 -1
- package/lib/typescript/components/Attachment/Audio/AudioAttachment.d.ts +1 -0
- package/lib/typescript/components/Attachment/Audio/AudioAttachment.d.ts.map +1 -1
- package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts +93 -0
- package/lib/typescript/components/ChannelDetails/ChannelDetails.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionItem.d.ts +15 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionItem.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionsSection.d.ts +6 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsActionsSection.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsMemberSection.d.ts +6 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsMemberSection.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts +10 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavHeader.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts +6 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsNavigationSection.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsProfile.d.ts +6 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelDetailsProfile.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelEditDetails.d.ts +6 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelEditDetails.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsModal.d.ts +18 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelEditDetailsModal.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelEditImageSheet.d.ts +10 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelEditImageSheet.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelEditName.d.ts +6 -0
- package/lib/typescript/components/ChannelDetails/components/ChannelEditName.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/index.d.ts +12 -0
- package/lib/typescript/components/ChannelDetails/components/index.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/members/AddMemberSearchResultItem.d.ts +11 -0
- package/lib/typescript/components/ChannelDetails/components/members/AddMemberSearchResultItem.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembers.d.ts +17 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembers.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersModal.d.ts +18 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAddMembersModal.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAllMembersModal.d.ts +17 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelAllMembersModal.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberActionsSheet.d.ts +12 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberActionsSheet.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts +20 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberItem.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberList.d.ts +18 -0
- package/lib/typescript/components/ChannelDetails/components/members/ChannelMemberList.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/members/MemberListLoadingSkeleton.d.ts +9 -0
- package/lib/typescript/components/ChannelDetails/components/members/MemberListLoadingSkeleton.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/members/UserListLoadingSkeleton.d.ts +9 -0
- package/lib/typescript/components/ChannelDetails/components/members/UserListLoadingSkeleton.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/members/index.d.ts +10 -0
- package/lib/typescript/components/ChannelDetails/components/members/index.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/modal/Modal.d.ts +12 -0
- package/lib/typescript/components/ChannelDetails/components/modal/Modal.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/components/modal/ModalHeader.d.ts +12 -0
- package/lib/typescript/components/ChannelDetails/components/modal/ModalHeader.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/index.d.ts +7 -0
- package/lib/typescript/components/ChannelDetails/hooks/index.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/members/index.d.ts +3 -0
- package/lib/typescript/components/ChannelDetails/hooks/members/index.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/members/useChannelAllMembers.d.ts +14 -0
- package/lib/typescript/components/ChannelDetails/hooks/members/useChannelAllMembers.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/members/useMemberRoleLabel.d.ts +10 -0
- package/lib/typescript/components/ChannelDetails/hooks/members/useMemberRoleLabel.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsActionItems.d.ts +6 -0
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsActionItems.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.d.ts +9 -0
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.d.ts +12 -0
- package/lib/typescript/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/useEditChannelImage.d.ts +29 -0
- package/lib/typescript/components/ChannelDetails/hooks/useEditChannelImage.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/hooks/useUserActivityStatus.d.ts +14 -0
- package/lib/typescript/components/ChannelDetails/hooks/useUserActivityStatus.d.ts.map +1 -0
- package/lib/typescript/components/ChannelDetails/index.d.ts +4 -0
- package/lib/typescript/components/ChannelDetails/index.d.ts.map +1 -0
- package/lib/typescript/components/ChannelList/ChannelList.d.ts +1 -1
- package/lib/typescript/components/ChannelList/ChannelList.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/index.d.ts +0 -6
- package/lib/typescript/components/ChannelList/hooks/index.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts +1 -1
- package/lib/typescript/components/ChannelList/hooks/useCreateChannelsContext.d.ts.map +1 -1
- package/lib/typescript/components/ChannelList/hooks/useMutedUsers.d.ts +7 -2
- package/lib/typescript/components/ChannelList/hooks/useMutedUsers.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelDetailsBottomSheet.d.ts +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelDetailsBottomSheet.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreview.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts +6 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewPinnedStatus.d.ts.map +1 -0
- package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts +3 -1
- package/lib/typescript/components/ChannelPreview/ChannelPreviewView.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts +1 -1
- package/lib/typescript/components/ChannelPreview/ChannelSwipableWrapper.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/index.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/index.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts +1 -0
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewData.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useChannelPreviewDisplayName.d.ts.map +1 -1
- package/lib/typescript/components/ChannelPreview/hooks/useIsChannelPinned.d.ts +3 -0
- package/lib/typescript/components/ChannelPreview/hooks/useIsChannelPinned.d.ts.map +1 -0
- package/lib/typescript/components/Message/Message.d.ts.map +1 -1
- package/lib/typescript/components/Message/MessageItemView/MessageItemView.d.ts.map +1 -1
- package/lib/typescript/components/Message/hooks/useUserMuteActive.d.ts.map +1 -1
- package/lib/typescript/components/MessageInput/MessageComposer.d.ts.map +1 -1
- package/lib/typescript/components/Notifications/notificationTarget.d.ts +1 -1
- package/lib/typescript/components/Notifications/notificationTarget.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/CreatePollHeader.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollButtons.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/PollModal.d.ts +9 -0
- package/lib/typescript/components/Poll/components/PollModal.d.ts.map +1 -0
- package/lib/typescript/components/Poll/components/PollResults/PollResultItem.d.ts.map +1 -1
- package/lib/typescript/components/Poll/components/index.d.ts +1 -0
- package/lib/typescript/components/Poll/components/index.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/BottomSheetModal.d.ts +1 -1
- package/lib/typescript/components/UIComponents/BottomSheetModal.d.ts.map +1 -1
- package/lib/typescript/components/UIComponents/EmptySearchResult.d.ts +12 -0
- package/lib/typescript/components/UIComponents/EmptySearchResult.d.ts.map +1 -0
- package/lib/typescript/components/UIComponents/GenericListLoadingSkeleton.d.ts +15 -0
- package/lib/typescript/components/UIComponents/GenericListLoadingSkeleton.d.ts.map +1 -0
- package/lib/typescript/components/UIComponents/SearchInput.d.ts +11 -0
- package/lib/typescript/components/UIComponents/SearchInput.d.ts.map +1 -0
- package/lib/typescript/components/UIComponents/SelectionCircle.d.ts +12 -0
- package/lib/typescript/components/UIComponents/SelectionCircle.d.ts.map +1 -0
- package/lib/typescript/components/UIComponents/index.d.ts +3 -0
- package/lib/typescript/components/UIComponents/index.d.ts.map +1 -1
- package/lib/typescript/components/index.d.ts +2 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/ui/Avatar/ChannelAvatar.d.ts +11 -0
- package/lib/typescript/components/ui/Avatar/ChannelAvatar.d.ts.map +1 -1
- package/lib/typescript/components/ui/Input/Input.d.ts +14 -2
- package/lib/typescript/components/ui/Input/Input.d.ts.map +1 -1
- package/lib/typescript/contexts/bottomSheetContext/BottomSheetContext.d.ts +25 -0
- package/lib/typescript/contexts/bottomSheetContext/BottomSheetContext.d.ts.map +1 -1
- package/lib/typescript/contexts/channelAddMembersContext/ChannelAddMembersContext.d.ts +20 -0
- package/lib/typescript/contexts/channelAddMembersContext/ChannelAddMembersContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelDetailsContext/channelDetailsContext.d.ts +18 -0
- package/lib/typescript/contexts/channelDetailsContext/channelDetailsContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelDetailsContext/index.d.ts +2 -0
- package/lib/typescript/contexts/channelDetailsContext/index.d.ts.map +1 -0
- package/lib/typescript/contexts/channelEditDetailsContext/ChannelEditDetailsContext.d.ts +26 -0
- package/lib/typescript/contexts/channelEditDetailsContext/ChannelEditDetailsContext.d.ts.map +1 -0
- package/lib/typescript/contexts/channelEditDetailsContext/index.d.ts +2 -0
- package/lib/typescript/contexts/channelEditDetailsContext/index.d.ts.map +1 -0
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts +2 -1
- package/lib/typescript/contexts/channelsContext/ChannelsContext.d.ts.map +1 -1
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts +15 -0
- package/lib/typescript/contexts/componentsContext/defaultComponents.d.ts.map +1 -1
- package/lib/typescript/contexts/index.d.ts +3 -0
- package/lib/typescript/contexts/index.d.ts.map +1 -1
- package/lib/typescript/contexts/messageInputContext/hooks/useCreateMessageComposer.d.ts.map +1 -1
- package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts +1 -0
- package/lib/typescript/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts +94 -0
- package/lib/typescript/contexts/themeContext/ThemeContext.d.ts.map +1 -1
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts +94 -0
- package/lib/typescript/contexts/themeContext/utils/theme.d.ts.map +1 -1
- package/lib/typescript/hooks/actions/index.d.ts +6 -0
- package/lib/typescript/hooks/actions/index.d.ts.map +1 -0
- package/lib/typescript/hooks/actions/types.d.ts +16 -0
- package/lib/typescript/hooks/actions/types.d.ts.map +1 -0
- package/lib/typescript/hooks/actions/useChannelActionItems.d.ts +65 -0
- package/lib/typescript/hooks/actions/useChannelActionItems.d.ts.map +1 -0
- package/lib/typescript/hooks/actions/useChannelActionItemsById.d.ts +11 -0
- package/lib/typescript/hooks/actions/useChannelActionItemsById.d.ts.map +1 -0
- package/lib/typescript/hooks/actions/useChannelActions.d.ts +31 -0
- package/lib/typescript/hooks/actions/useChannelActions.d.ts.map +1 -0
- package/lib/typescript/hooks/actions/useChannelMemberActionItems.d.ts +32 -0
- package/lib/typescript/hooks/actions/useChannelMemberActionItems.d.ts.map +1 -0
- package/lib/typescript/hooks/actions/useUserActions.d.ts +12 -0
- package/lib/typescript/hooks/actions/useUserActions.d.ts.map +1 -0
- package/lib/typescript/hooks/index.d.ts +9 -0
- package/lib/typescript/hooks/index.d.ts.map +1 -1
- package/lib/typescript/hooks/useChannelImage.d.ts +4 -0
- package/lib/typescript/hooks/useChannelImage.d.ts.map +1 -0
- package/lib/typescript/hooks/useChannelMemberCount.d.ts +4 -0
- package/lib/typescript/hooks/useChannelMemberCount.d.ts.map +1 -0
- package/lib/typescript/hooks/useChannelMembershipState.d.ts.map +1 -0
- package/lib/typescript/hooks/useChannelMuteActive.d.ts.map +1 -0
- package/lib/typescript/hooks/useChannelName.d.ts +4 -0
- package/lib/typescript/hooks/useChannelName.d.ts.map +1 -0
- package/lib/typescript/hooks/useChannelOwnCapabilities.d.ts +4 -0
- package/lib/typescript/hooks/useChannelOwnCapabilities.d.ts.map +1 -0
- package/lib/typescript/hooks/useIsChannelMember.d.ts +6 -0
- package/lib/typescript/hooks/useIsChannelMember.d.ts.map +1 -0
- package/lib/typescript/hooks/useIsDirectChat.d.ts.map +1 -0
- package/lib/typescript/hooks/useSyncClientEvents.d.ts +10 -0
- package/lib/typescript/hooks/useSyncClientEvents.d.ts.map +1 -1
- package/lib/typescript/hooks/useTranslatedMessage.d.ts +4 -0
- package/lib/typescript/hooks/useTranslatedMessage.d.ts.map +1 -1
- package/lib/typescript/i18n/ar.json +65 -2
- package/lib/typescript/i18n/en.json +64 -1
- package/lib/typescript/i18n/es.json +65 -2
- package/lib/typescript/i18n/fr.json +65 -2
- package/lib/typescript/i18n/he.json +65 -2
- package/lib/typescript/i18n/hi.json +65 -2
- package/lib/typescript/i18n/it.json +65 -2
- package/lib/typescript/i18n/ja.json +65 -2
- package/lib/typescript/i18n/ko.json +65 -2
- package/lib/typescript/i18n/nl.json +65 -2
- package/lib/typescript/i18n/pt-br.json +65 -2
- package/lib/typescript/i18n/ru.json +65 -2
- package/lib/typescript/i18n/tr.json +65 -2
- package/lib/typescript/icons/chevron-right.d.ts +4 -0
- package/lib/typescript/icons/chevron-right.d.ts.map +1 -0
- package/lib/typescript/icons/index.d.ts +3 -0
- package/lib/typescript/icons/index.d.ts.map +1 -1
- package/lib/typescript/icons/x-circle.d.ts +4 -0
- package/lib/typescript/icons/x-circle.d.ts.map +1 -0
- package/lib/typescript/state-store/edit-channel-details-store.d.ts +65 -0
- package/lib/typescript/state-store/edit-channel-details-store.d.ts.map +1 -0
- package/lib/typescript/state-store/selection-store.d.ts +34 -0
- package/lib/typescript/state-store/selection-store.d.ts.map +1 -0
- package/lib/typescript/types/types.d.ts +7 -1
- package/lib/typescript/types/types.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts +64 -1
- package/lib/typescript/utils/i18n/Streami18n.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/predefinedFormatters.d.ts.map +1 -1
- package/lib/typescript/utils/i18n/types.d.ts +1 -0
- package/lib/typescript/utils/i18n/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/__tests__/offline-support/offline-feature.tsx +0 -12
- package/src/components/Attachment/Attachment.tsx +15 -6
- package/src/components/Attachment/Audio/AudioAttachment.tsx +3 -4
- package/src/components/ChannelDetails/ChannelDetails.tsx +223 -0
- package/src/components/ChannelDetails/__tests__/ChannelDetails.test.tsx +174 -0
- package/src/components/ChannelDetails/__tests__/ChannelDetailsActionItem.test.tsx +117 -0
- package/src/components/ChannelDetails/__tests__/ChannelDetailsActionsSection.test.tsx +338 -0
- package/src/components/ChannelDetails/__tests__/ChannelDetailsMemberSection.test.tsx +298 -0
- package/src/components/ChannelDetails/__tests__/ChannelDetailsNavHeader.test.tsx +146 -0
- package/src/components/ChannelDetails/__tests__/ChannelDetailsNavigationSection.test.tsx +81 -0
- package/src/components/ChannelDetails/__tests__/ChannelDetailsProfile.test.tsx +145 -0
- package/src/components/ChannelDetails/__tests__/ChannelEditDetails.test.tsx +316 -0
- package/src/components/ChannelDetails/__tests__/ChannelEditDetailsModal.test.tsx +249 -0
- package/src/components/ChannelDetails/__tests__/ChannelEditImageSheet.test.tsx +186 -0
- package/src/components/ChannelDetails/__tests__/ChannelEditName.test.tsx +89 -0
- package/src/components/ChannelDetails/__tests__/members/AddMemberSearchResultItem.test.tsx +121 -0
- package/src/components/ChannelDetails/__tests__/members/ChannelAddMembers.test.tsx +227 -0
- package/src/components/ChannelDetails/__tests__/members/ChannelAddMembersModal.test.tsx +216 -0
- package/src/components/ChannelDetails/__tests__/members/ChannelAllMembersModal.test.tsx +159 -0
- package/src/components/ChannelDetails/__tests__/members/ChannelMemberActionsSheet.test.tsx +194 -0
- package/src/components/ChannelDetails/__tests__/members/ChannelMemberItem.test.tsx +200 -0
- package/src/components/ChannelDetails/__tests__/members/ChannelMemberList.test.tsx +249 -0
- package/src/components/ChannelDetails/__tests__/members/useChannelAllMembers.test.tsx +234 -0
- package/src/components/ChannelDetails/__tests__/members/useMemberRoleLabel.test.tsx +130 -0
- package/src/components/ChannelDetails/__tests__/useChannelDetailsActionItems.test.tsx +177 -0
- package/src/components/ChannelDetails/__tests__/useChannelDetailsMemberStatusText.test.tsx +117 -0
- package/src/components/ChannelDetails/__tests__/useChannelDetailsMembersPreview.test.tsx +76 -0
- package/src/components/ChannelDetails/__tests__/useEditChannelImage.test.tsx +235 -0
- package/src/components/ChannelDetails/__tests__/useUserActivityStatus.test.tsx +69 -0
- package/src/components/ChannelDetails/components/ChannelDetailsActionItem.tsx +129 -0
- package/src/components/ChannelDetails/components/ChannelDetailsActionsSection.tsx +180 -0
- package/src/components/ChannelDetails/components/ChannelDetailsMemberSection.tsx +203 -0
- package/src/components/ChannelDetails/components/ChannelDetailsNavHeader.tsx +141 -0
- package/src/components/ChannelDetails/components/ChannelDetailsNavigationSection.tsx +78 -0
- package/src/components/ChannelDetails/components/ChannelDetailsProfile.tsx +114 -0
- package/src/components/ChannelDetails/components/ChannelEditDetails.tsx +121 -0
- package/src/components/ChannelDetails/components/ChannelEditDetailsModal.tsx +152 -0
- package/src/components/ChannelDetails/components/ChannelEditImageSheet.tsx +224 -0
- package/src/components/ChannelDetails/components/ChannelEditName.tsx +52 -0
- package/src/components/ChannelDetails/components/index.ts +11 -0
- package/src/components/ChannelDetails/components/members/AddMemberSearchResultItem.tsx +136 -0
- package/src/components/ChannelDetails/components/members/ChannelAddMembers.tsx +148 -0
- package/src/components/ChannelDetails/components/members/ChannelAddMembersModal.tsx +126 -0
- package/src/components/ChannelDetails/components/members/ChannelAllMembersModal.tsx +92 -0
- package/src/components/ChannelDetails/components/members/ChannelMemberActionsSheet.tsx +105 -0
- package/src/components/ChannelDetails/components/members/ChannelMemberItem.tsx +219 -0
- package/src/components/ChannelDetails/components/members/ChannelMemberList.tsx +83 -0
- package/src/components/ChannelDetails/components/members/MemberListLoadingSkeleton.tsx +22 -0
- package/src/components/ChannelDetails/components/members/UserListLoadingSkeleton.tsx +19 -0
- package/src/components/ChannelDetails/components/members/index.ts +9 -0
- package/src/components/ChannelDetails/components/modal/Modal.tsx +56 -0
- package/src/components/ChannelDetails/components/modal/ModalHeader.tsx +89 -0
- package/src/components/ChannelDetails/hooks/index.ts +6 -0
- package/src/components/ChannelDetails/hooks/members/index.ts +2 -0
- package/src/components/ChannelDetails/hooks/members/useChannelAllMembers.ts +131 -0
- package/src/components/ChannelDetails/hooks/members/useMemberRoleLabel.ts +32 -0
- package/src/components/ChannelDetails/hooks/useChannelDetailsActionItems.ts +37 -0
- package/src/components/ChannelDetails/hooks/useChannelDetailsMemberStatusText.ts +36 -0
- package/src/components/ChannelDetails/hooks/useChannelDetailsMembersPreview.ts +35 -0
- package/src/components/ChannelDetails/hooks/useEditChannelImage.ts +91 -0
- package/src/components/ChannelDetails/hooks/useUserActivityStatus.ts +39 -0
- package/src/components/ChannelDetails/index.ts +3 -0
- package/src/components/ChannelList/ChannelList.tsx +3 -0
- package/src/components/ChannelList/hooks/index.ts +0 -6
- package/src/components/ChannelList/hooks/useCreateChannelsContext.ts +3 -0
- package/src/components/ChannelList/hooks/useMutedUsers.ts +12 -6
- package/src/components/ChannelPreview/ChannelDetailsBottomSheet.tsx +4 -7
- package/src/components/ChannelPreview/ChannelMessagePreviewDeliveryStatus.tsx +3 -2
- package/src/components/ChannelPreview/ChannelPreview.tsx +21 -3
- package/src/components/ChannelPreview/ChannelPreviewPinnedStatus.tsx +25 -0
- package/src/components/ChannelPreview/ChannelPreviewView.tsx +18 -2
- package/src/components/ChannelPreview/ChannelSwipableWrapper.tsx +33 -35
- package/src/components/ChannelPreview/__tests__/ChannelDetailsBottomSheet.test.tsx +1 -1
- package/src/components/ChannelPreview/__tests__/ChannelSwipableWrapper.test.tsx +44 -79
- package/src/components/ChannelPreview/hooks/__tests__/useIsChannelPinned.test.tsx +35 -0
- package/src/components/ChannelPreview/hooks/index.ts +1 -0
- package/src/components/ChannelPreview/hooks/useChannelPreviewData.ts +3 -1
- package/src/components/ChannelPreview/hooks/useChannelPreviewDisplayName.ts +4 -2
- package/src/components/ChannelPreview/hooks/useIsChannelPinned.ts +8 -0
- package/src/components/Message/Message.tsx +68 -22
- package/src/components/Message/MessageItemView/MessageItemView.tsx +5 -116
- package/src/components/Message/MessageItemView/__tests__/MessageItemView.test.tsx +22 -13
- package/src/components/Message/hooks/useUserMuteActive.ts +2 -3
- package/src/components/MessageInput/MessageComposer.tsx +9 -30
- package/src/components/MessageMenu/MessageActionList.tsx +1 -1
- package/src/components/Notifications/notificationTarget.ts +7 -1
- package/src/components/Poll/components/CreatePollHeader.tsx +12 -5
- package/src/components/Poll/components/PollButtons.tsx +14 -38
- package/src/components/Poll/components/PollInputDialog.tsx +12 -12
- package/src/components/Poll/components/PollModal.tsx +55 -0
- package/src/components/Poll/components/PollModalHeader.tsx +4 -5
- package/src/components/Poll/components/PollResults/PollResultItem.tsx +6 -18
- package/src/components/Poll/components/__tests__/CreatePollHeader.test.tsx +4 -36
- package/src/components/Poll/components/__tests__/PollModalHeader.test.tsx +8 -45
- package/src/components/Poll/components/index.ts +1 -0
- package/src/components/Thread/__tests__/__snapshots__/Thread.test.tsx.snap +5 -5
- package/src/components/UIComponents/BottomSheetModal.tsx +76 -24
- package/src/components/UIComponents/EmptySearchResult.tsx +49 -0
- package/src/components/UIComponents/GenericListLoadingSkeleton.tsx +121 -0
- package/src/components/UIComponents/SearchInput.tsx +93 -0
- package/src/components/UIComponents/SelectionCircle.tsx +51 -0
- package/src/components/UIComponents/__tests__/EmptySearchResult.test.tsx +74 -0
- package/src/components/UIComponents/__tests__/SearchInput.test.tsx +98 -0
- package/src/components/UIComponents/__tests__/SelectionCircle.test.tsx +51 -0
- package/src/components/UIComponents/index.ts +3 -0
- package/src/components/index.ts +2 -0
- package/src/components/ui/Avatar/ChannelAvatar.tsx +30 -8
- package/src/components/ui/Avatar/__tests__/ChannelAvatar.test.tsx +150 -0
- package/src/components/ui/Input/Input.tsx +24 -21
- package/src/contexts/bottomSheetContext/BottomSheetContext.tsx +25 -0
- package/src/contexts/channelAddMembersContext/ChannelAddMembersContext.tsx +73 -0
- package/src/contexts/channelDetailsContext/channelDetailsContext.tsx +43 -0
- package/src/contexts/channelDetailsContext/index.ts +1 -0
- package/src/contexts/channelEditDetailsContext/ChannelEditDetailsContext.tsx +56 -0
- package/src/contexts/channelEditDetailsContext/index.ts +1 -0
- package/src/contexts/channelsContext/ChannelsContext.tsx +2 -1
- package/src/contexts/componentsContext/defaultComponents.ts +33 -0
- package/src/contexts/index.ts +3 -0
- package/src/contexts/messageInputContext/hooks/useCreateMessageComposer.ts +10 -4
- package/src/contexts/ownCapabilitiesContext/OwnCapabilitiesContext.tsx +1 -0
- package/src/contexts/themeContext/utils/theme.ts +188 -0
- package/src/hooks/__tests__/useChannelMuteActive.test.tsx +149 -0
- package/src/hooks/__tests__/useIsChannelMember.test.tsx +73 -0
- package/src/hooks/actions/__tests__/useChannelActionItems.test.tsx +544 -0
- package/src/{components/ChannelList/hooks → hooks/actions}/__tests__/useChannelActionItemsById.test.tsx +3 -1
- package/src/hooks/actions/__tests__/useChannelActions.test.tsx +728 -0
- package/src/hooks/actions/__tests__/useChannelMemberActionItems.test.tsx +372 -0
- package/src/hooks/actions/__tests__/useUserActions.test.tsx +251 -0
- package/src/hooks/actions/index.ts +5 -0
- package/src/hooks/actions/types.ts +20 -0
- package/src/hooks/actions/useChannelActionItems.tsx +315 -0
- package/src/{components/ChannelList/hooks → hooks/actions}/useChannelActionItemsById.ts +8 -1
- package/src/{components/ChannelList/hooks → hooks/actions}/useChannelActions.ts +216 -29
- package/src/hooks/actions/useChannelMemberActionItems.tsx +204 -0
- package/src/hooks/actions/useUserActions.ts +141 -0
- package/src/hooks/index.ts +9 -0
- package/src/hooks/useChannelImage.ts +12 -0
- package/src/hooks/useChannelMemberCount.ts +12 -0
- package/src/{components/ChannelList/hooks → hooks}/useChannelMembershipState.ts +1 -1
- package/src/hooks/useChannelMuteActive.ts +25 -0
- package/src/hooks/useChannelName.ts +12 -0
- package/src/hooks/useChannelOwnCapabilities.ts +12 -0
- package/src/hooks/useIsChannelMember.ts +20 -0
- package/src/{components/ChannelList/hooks → hooks}/useIsDirectChat.ts +2 -3
- package/src/hooks/useSyncClientEvents.ts +47 -0
- package/src/i18n/ar.json +65 -2
- package/src/i18n/en.json +64 -1
- package/src/i18n/es.json +65 -2
- package/src/i18n/fr.json +65 -2
- package/src/i18n/he.json +65 -2
- package/src/i18n/hi.json +65 -2
- package/src/i18n/it.json +65 -2
- package/src/i18n/ja.json +65 -2
- package/src/i18n/ko.json +65 -2
- package/src/i18n/nl.json +65 -2
- package/src/i18n/pt-br.json +65 -2
- package/src/i18n/ru.json +65 -2
- package/src/i18n/tr.json +65 -2
- package/src/icons/chevron-right.tsx +20 -0
- package/src/icons/index.ts +3 -0
- package/src/icons/x-circle.tsx +20 -0
- package/src/state-store/__tests__/edit-channel-details-store.test.ts +205 -0
- package/src/state-store/__tests__/selection-store.test.ts +183 -0
- package/src/state-store/edit-channel-details-store.ts +106 -0
- package/src/state-store/selection-store.ts +91 -0
- package/src/types/types.ts +8 -0
- package/src/utils/i18n/predefinedFormatters.ts +10 -0
- package/src/utils/i18n/types.ts +1 -0
- package/src/version.json +1 -1
- package/lib/commonjs/components/ChannelList/hooks/useChannelActionItems.js.map +0 -1
- package/lib/commonjs/components/ChannelList/hooks/useChannelActionItemsById.js.map +0 -1
- package/lib/commonjs/components/ChannelList/hooks/useChannelActions.js +0 -479
- package/lib/commonjs/components/ChannelList/hooks/useChannelActions.js.map +0 -1
- package/lib/commonjs/components/ChannelList/hooks/useChannelMembershipState.js.map +0 -1
- package/lib/commonjs/components/ChannelList/hooks/useChannelMuteActive.js +0 -16
- package/lib/commonjs/components/ChannelList/hooks/useChannelMuteActive.js.map +0 -1
- package/lib/commonjs/components/ChannelList/hooks/useIsDirectChat.js.map +0 -1
- package/lib/module/components/ChannelList/hooks/useChannelActionItems.js.map +0 -1
- package/lib/module/components/ChannelList/hooks/useChannelActionItemsById.js.map +0 -1
- package/lib/module/components/ChannelList/hooks/useChannelActions.js +0 -479
- package/lib/module/components/ChannelList/hooks/useChannelActions.js.map +0 -1
- package/lib/module/components/ChannelList/hooks/useChannelMembershipState.js.map +0 -1
- package/lib/module/components/ChannelList/hooks/useChannelMuteActive.js +0 -16
- package/lib/module/components/ChannelList/hooks/useChannelMuteActive.js.map +0 -1
- package/lib/module/components/ChannelList/hooks/useIsDirectChat.js.map +0 -1
- package/lib/typescript/components/ChannelList/hooks/useChannelActionItems.d.ts +0 -37
- package/lib/typescript/components/ChannelList/hooks/useChannelActionItems.d.ts.map +0 -1
- package/lib/typescript/components/ChannelList/hooks/useChannelActionItemsById.d.ts +0 -10
- package/lib/typescript/components/ChannelList/hooks/useChannelActionItemsById.d.ts.map +0 -1
- package/lib/typescript/components/ChannelList/hooks/useChannelActions.d.ts +0 -18
- package/lib/typescript/components/ChannelList/hooks/useChannelActions.d.ts.map +0 -1
- package/lib/typescript/components/ChannelList/hooks/useChannelMembershipState.d.ts.map +0 -1
- package/lib/typescript/components/ChannelList/hooks/useChannelMuteActive.d.ts.map +0 -1
- package/lib/typescript/components/ChannelList/hooks/useIsDirectChat.d.ts.map +0 -1
- package/src/components/ChannelList/hooks/__tests__/useChannelActionItems.test.tsx +0 -276
- package/src/components/ChannelList/hooks/__tests__/useChannelActions.test.tsx +0 -123
- package/src/components/ChannelList/hooks/useChannelActionItems.tsx +0 -221
- package/src/components/ChannelList/hooks/useChannelMuteActive.ts +0 -18
- /package/lib/typescript/{components/ChannelList/hooks → hooks}/useChannelMembershipState.d.ts +0 -0
- /package/lib/typescript/{components/ChannelList/hooks → hooks}/useChannelMuteActive.d.ts +0 -0
- /package/lib/typescript/{components/ChannelList/hooks → hooks}/useIsDirectChat.d.ts +0 -0
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
"No chats here yet…": "Henüz burada sohbet yok…",
|
|
91
91
|
"No items exist": "Hiçbir öğe yok",
|
|
92
92
|
"No threads here yet": "Burada henüz akış yok",
|
|
93
|
+
"No user found": "Kullanıcı bulunamadı",
|
|
93
94
|
"Not supported": "Desteklenmiyor",
|
|
94
95
|
"Nothing yet...": "Henüz değil...",
|
|
95
96
|
"Ok": "Tamam",
|
|
@@ -235,11 +236,16 @@
|
|
|
235
236
|
"Delete Group": "Grubu sil",
|
|
236
237
|
"Leave Chat": "Sohbetten ayrıl",
|
|
237
238
|
"Leave Group": "Gruptan ayrıl",
|
|
239
|
+
"Mute Chat": "Sohbeti sessize al",
|
|
238
240
|
"Mute Group": "Grubu sessize al",
|
|
241
|
+
"Admin": "Yönetici",
|
|
242
|
+
"Moderator": "Moderatör",
|
|
239
243
|
"Offline": "Çevrimdışı",
|
|
240
244
|
"Online": "Çevrimiçi",
|
|
245
|
+
"Owner": "Sahip",
|
|
241
246
|
"Unarchive Chat": "Sohbeti arşivden çıkar",
|
|
242
247
|
"Unarchive Group": "Grubu arşivden çıkar",
|
|
248
|
+
"Unmute Chat": "Sohbetin sesini aç",
|
|
243
249
|
"Unmute Group": "Grubun sesini ac",
|
|
244
250
|
"{{memberCount}} members, {{onlineCount}} online_one": "{{memberCount}} üye, {{onlineCount}} çevrimiçi",
|
|
245
251
|
"{{memberCount}} members, {{onlineCount}} online_other": "{{memberCount}} üye, {{onlineCount}} çevrimiçi",
|
|
@@ -268,6 +274,7 @@
|
|
|
268
274
|
"a11y/Loading failed": "Yükleme başarısız",
|
|
269
275
|
"a11y/Message actions": "Mesaj eylemleri",
|
|
270
276
|
"a11y/Muted": "Sessize alındı",
|
|
277
|
+
"a11y/Pinned": "Sabitlendi",
|
|
271
278
|
"a11y/New message from {{user}}": "{{user}} kullanıcısından yeni mesaj",
|
|
272
279
|
"a11y/Offline": "Çevrimdışı",
|
|
273
280
|
"a11y/Open message actions": "Mesaj eylemlerini aç",
|
|
@@ -293,10 +300,14 @@
|
|
|
293
300
|
"a11y/you reacted": "siz tepki verdiniz",
|
|
294
301
|
"a11y/{{count}} new messages": "{{count}} yeni mesaj",
|
|
295
302
|
"a11y/Add attachment": "Add attachment",
|
|
303
|
+
"a11y/Add members": "Üye ekle",
|
|
304
|
+
"a11y/Clear search": "Aramayı temizle",
|
|
305
|
+
"a11y/Close": "Close",
|
|
296
306
|
"a11y/Close attachments": "Close attachments",
|
|
297
307
|
"a11y/Remove attachment": "Remove Attachment",
|
|
298
308
|
"a11y/Close poll": "Close poll",
|
|
299
309
|
"a11y/Close poll creation": "Close poll creation",
|
|
310
|
+
"a11y/Confirm add members": "Üye eklemeyi onayla",
|
|
300
311
|
"a11y/Create poll": "Create poll",
|
|
301
312
|
"a11y/Decrease maximum votes": "Decrease maximum votes",
|
|
302
313
|
"a11y/Delete voice recording": "Delete voice recording",
|
|
@@ -319,11 +330,29 @@
|
|
|
319
330
|
"a11y/Select image": "Select image",
|
|
320
331
|
"a11y/Select video": "Select video",
|
|
321
332
|
"a11y/Send voice recording": "Send voice recording",
|
|
333
|
+
"a11y/Search users to add": "Eklenecek kullanıcıları ara",
|
|
334
|
+
"a11y/Select {{name}}": "{{name}} seç",
|
|
335
|
+
"a11y/{{name}} is already a member": "{{name}} zaten bir üye",
|
|
322
336
|
"a11y/Share Button": "Share Button",
|
|
323
337
|
"a11y/Start voice recording": "Start voice recording",
|
|
324
338
|
"a11y/Stop voice recording": "Stop voice recording",
|
|
339
|
+
"Add": "Ekle",
|
|
340
|
+
"Add Members": "Üye ekle",
|
|
341
|
+
"Contact Info": "İletişim bilgileri",
|
|
342
|
+
"Edit": "Düzenle",
|
|
343
|
+
"Files": "Dosyalar",
|
|
344
|
+
"Group Info": "Grup bilgileri",
|
|
345
|
+
"timestamp/UserActivityStatus": "Son görülme {{ timestamp | fromNowFormatter }}",
|
|
346
|
+
"Photos & Videos": "Fotoğraflar ve Videolar",
|
|
347
|
+
"Pinned Messages": "Sabitlenmiş mesajlar",
|
|
348
|
+
"View all": "Tümünü göster",
|
|
349
|
+
"{{count}} members_one": "{{count}} üye",
|
|
350
|
+
"{{count}} members_other": "{{count}} üye",
|
|
351
|
+
"{{count}} members_many": "{{count}} üye",
|
|
352
|
+
"a11y/Back": "Geri",
|
|
325
353
|
"a11y/Notifications": "Bildirimler",
|
|
326
354
|
"a11y/Dismiss notification": "Bildirimi kapat",
|
|
355
|
+
"a11y/Edit channel": "Kanalı düzenle",
|
|
327
356
|
"Attachment upload blocked due to {{reason}}": "Ek yükleme {{reason}} nedeniyle engellendi",
|
|
328
357
|
"Attachment upload failed due to {{reason}}": "Ek yükleme {{reason}} nedeniyle başarısız oldu",
|
|
329
358
|
"Command not available": "Komut kullanılamıyor",
|
|
@@ -346,19 +375,30 @@
|
|
|
346
375
|
"Wait until all attachments have uploaded": "Tüm ekler yüklenene kadar bekleyin",
|
|
347
376
|
"Cannot seek in the recording": "Kayıtta ileri/geri sarılamıyor",
|
|
348
377
|
"Channel archived": "Kanal arşivlendi",
|
|
378
|
+
"Channel deleted": "Kanal silindi",
|
|
379
|
+
"Channel image updated": "Kanal resmi güncellendi",
|
|
349
380
|
"Channel muted": "Kanal sessize alındı",
|
|
381
|
+
"Channel name updated": "Kanal adı güncellendi",
|
|
350
382
|
"Channel pinned": "Kanal sabitlendi",
|
|
351
383
|
"Channel unarchived": "Kanal arşivden çıkarıldı",
|
|
352
384
|
"Channel unmuted": "Kanalın sesi açıldı",
|
|
353
385
|
"Channel unpinned": "Kanal sabitlemesi kaldırıldı",
|
|
354
386
|
"Edit message request failed": "Mesaj düzenleme isteği başarısız oldu",
|
|
387
|
+
"Failed to add members": "Üyeler eklenemedi",
|
|
355
388
|
"Failed to block user": "Kullanıcı engellenemedi",
|
|
389
|
+
"Failed to delete channel": "Kanal silinemedi",
|
|
356
390
|
"Failed to leave channel": "Kanaldan çıkılamadı",
|
|
391
|
+
"Failed to load users": "Kullanıcılar yüklenemedi",
|
|
357
392
|
"Failed to play the recording": "Kayıt oynatılamadı",
|
|
358
393
|
"Failed to update channel archive status": "Kanal arşiv durumu güncellenemedi",
|
|
394
|
+
"Failed to update channel image": "Kanal resmi güncellenemedi",
|
|
359
395
|
"Failed to update channel mute status": "Kanal sessize alma durumu güncellenemedi",
|
|
396
|
+
"Failed to update channel name": "Kanal adı güncellenemedi",
|
|
360
397
|
"Failed to update channel pinned status": "Kanal sabitleme durumu güncellenemedi",
|
|
361
398
|
"Left channel": "Kanaldan çıkıldı",
|
|
399
|
+
"{{count}} members added_one": "{{count}} üye eklendi",
|
|
400
|
+
"{{count}} members added_other": "{{count}} üye eklendi",
|
|
401
|
+
"{{count}} members added_many": "{{count}} üye eklendi",
|
|
362
402
|
"Recording format is not supported and cannot be reproduced": "Kayıt biçimi desteklenmiyor ve oynatılamıyor",
|
|
363
403
|
"Send message request failed": "Mesaj gönderme isteği başarısız oldu",
|
|
364
404
|
"User blocked": "Kullanıcı engellendi",
|
|
@@ -368,14 +408,37 @@
|
|
|
368
408
|
"size limit": "boyut sınırı",
|
|
369
409
|
"unknown error": "bilinmeyen hata",
|
|
370
410
|
"unsupported file type": "desteklenmeyen dosya türü",
|
|
411
|
+
"Already a member": "Zaten üye",
|
|
412
|
+
"Channel name": "Kanal adı",
|
|
413
|
+
"Edit Group Picture": "Grup resmini düzenle",
|
|
414
|
+
"Choose Image": "Resim seç",
|
|
415
|
+
"Take Photo": "Fotoğraf çek",
|
|
416
|
+
"Upload": "Yükle",
|
|
417
|
+
"a11y/Channel name": "Kanal adı",
|
|
418
|
+
"a11y/Confirm edit channel": "Kanal düzenlemeyi onayla",
|
|
419
|
+
"a11y/Upload channel image": "Kanal resmini yükle",
|
|
420
|
+
"Reset Picture": "Resmi sıfırla",
|
|
421
|
+
"a11y/Close edit picture sheet": "Resim düzenleme sayfasını kapat",
|
|
422
|
+
"Muted": "Sessize alındı",
|
|
423
|
+
"Failed to load members": "Üyeler yüklenemedi",
|
|
424
|
+
"Remove User": "Kullanıcıyı kaldır",
|
|
425
|
+
"Remove": "Kaldır",
|
|
426
|
+
"Are you sure you want to remove this member from the channel?": "Bu üyeyi kanaldan kaldırmak istediğinizden emin misiniz?",
|
|
427
|
+
"{{count}} members removed_one": "{{count}} üye kaldırıldı",
|
|
428
|
+
"{{count}} members removed_other": "{{count}} üye kaldırıldı",
|
|
429
|
+
"{{count}} members removed_many": "{{count}} üye kaldırıldı",
|
|
430
|
+
"Failed to remove members": "Üyeler kaldırılamadı",
|
|
371
431
|
"a11y/Double tap and hold to activate contextual menu": "Bağlam menüsünü etkinleştirmek için çift dokunup basılı tut",
|
|
372
432
|
"a11y/Swipe right to go through different actions": "Farklı eylemler arasında geçiş yapmak için sağa kaydır",
|
|
373
|
-
"a11y/Close": "Close",
|
|
374
433
|
"a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": "Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.",
|
|
375
434
|
"a11y/{{count}} unread messages": "{{count}} okunmamış mesaj",
|
|
376
435
|
"a11y/Message from you": "Senden mesaj",
|
|
377
436
|
"a11y/Message from {{sender}}": "{{sender}} kullanıcısından mesaj",
|
|
378
437
|
"a11y/Gallery Image": "Galeri görüntüsü",
|
|
379
438
|
"a11y/Gallery Video": "Galeri videosu",
|
|
380
|
-
"a11y/{{position}} of {{count}}": "{{count}} öğeden {{position}}"
|
|
439
|
+
"a11y/{{position}} of {{count}}": "{{count}} öğeden {{position}}",
|
|
440
|
+
"Pin Chat": "Sohbeti sabitle",
|
|
441
|
+
"Pin Group": "Grubu sabitle",
|
|
442
|
+
"Unpin Chat": "Sohbetin sabitlemesini kaldır",
|
|
443
|
+
"Unpin Group": "Grubun sabitlemesini kaldır"
|
|
381
444
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chevron-right.d.ts","sourceRoot":"","sources":["../../../src/icons/chevron-right.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,YAAY,GAAI,kCAAkC,SAAS,sBAYvE,CAAC"}
|
|
@@ -11,6 +11,7 @@ export * from './delete';
|
|
|
11
11
|
export * from './filetype-text-xl';
|
|
12
12
|
export * from './edit';
|
|
13
13
|
export * from './flag';
|
|
14
|
+
export * from './gallery';
|
|
14
15
|
export { GiphyIcon } from './giphy';
|
|
15
16
|
export * from './loading';
|
|
16
17
|
export * from './mute';
|
|
@@ -48,4 +49,6 @@ export * from './command';
|
|
|
48
49
|
export * from './bell';
|
|
49
50
|
export * from './save';
|
|
50
51
|
export * from './checkmark-1';
|
|
52
|
+
export * from './chevron-left';
|
|
53
|
+
export * from './chevron-right';
|
|
51
54
|
//# sourceMappingURL=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,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kBAAkB,CAAC;AACjC,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AACxC,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"x-circle.d.ts","sourceRoot":"","sources":["../../../src/icons/x-circle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,eAAO,MAAM,OAAO,GAAI,0DAA0D,SAAS,sBAc1F,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Channel, StateStore } from 'stream-chat';
|
|
2
|
+
import type { File } from '../types/types';
|
|
3
|
+
export type EditChannelImagePendingAction = 'camera' | 'library' | 'reset';
|
|
4
|
+
export type EditChannelDetailsState = {
|
|
5
|
+
/** Current value of the name input. */
|
|
6
|
+
currentName: string;
|
|
7
|
+
/**
|
|
8
|
+
* Channel image URL snapshotted at construction; not updated by WS events.
|
|
9
|
+
*/
|
|
10
|
+
initialImage: string | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* Channel name snapshotted at construction; not updated by WS events.
|
|
13
|
+
*/
|
|
14
|
+
initialName: string;
|
|
15
|
+
/** Pending action from the {@link ChannelEditImageSheet}, or `null` when idle. */
|
|
16
|
+
pendingAction: EditChannelImagePendingAction | null;
|
|
17
|
+
/** `undefined` = untouched, `File` = newly picked, `null` = reset. */
|
|
18
|
+
updatedImage: File | null | undefined;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Holds the editable state for the channel details form (name + image) plus the
|
|
22
|
+
* pending image-picker action. The channel's name and image are snapshotted
|
|
23
|
+
* once at construction and are intentionally **not** updated by WebSocket
|
|
24
|
+
* events, so an inbound `channel.updated` does not clobber the user's
|
|
25
|
+
* in-progress edits. Leaf components can subscribe to narrow slices via
|
|
26
|
+
* {@link useStateStore}.
|
|
27
|
+
*
|
|
28
|
+
* @experimental This API is experimental and is subject to change.
|
|
29
|
+
*/
|
|
30
|
+
export declare class EditChannelDetailsStore {
|
|
31
|
+
state: StateStore<EditChannelDetailsState>;
|
|
32
|
+
constructor(channel: Channel);
|
|
33
|
+
/** Updates the current value of the name input. */
|
|
34
|
+
setCurrentName(currentName: string): void;
|
|
35
|
+
/**
|
|
36
|
+
* Updates the picked image. `undefined` = untouched, `File` = newly picked,
|
|
37
|
+
* `null` = reset.
|
|
38
|
+
*/
|
|
39
|
+
setUpdatedImage(updatedImage: File | null | undefined): void;
|
|
40
|
+
/** Sets the pending image-picker action, or `null` to clear it. */
|
|
41
|
+
setPendingAction(pendingAction: EditChannelImagePendingAction | null): void;
|
|
42
|
+
}
|
|
43
|
+
/** Whether the name input differs from the channel's initial name. */
|
|
44
|
+
export declare const isNameDirty: (state: EditChannelDetailsState) => boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the image has unsaved changes. The image is dirty once touched
|
|
47
|
+
* (`updatedImage !== undefined`), except when both the initial and updated
|
|
48
|
+
* image are falsy (no image before, none now).
|
|
49
|
+
*/
|
|
50
|
+
export declare const isImageDirty: (state: EditChannelDetailsState) => boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Subscribes to an {@link EditChannelDetailsStore} and returns whether the name
|
|
53
|
+
* input has unsaved changes.
|
|
54
|
+
*
|
|
55
|
+
* @experimental This API is experimental and is subject to change.
|
|
56
|
+
*/
|
|
57
|
+
export declare const useIsNameDirty: (store: EditChannelDetailsStore) => boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Subscribes to an {@link EditChannelDetailsStore} and returns whether the image
|
|
60
|
+
* has unsaved changes.
|
|
61
|
+
*
|
|
62
|
+
* @experimental This API is experimental and is subject to change.
|
|
63
|
+
*/
|
|
64
|
+
export declare const useIsImageDirty: (store: EditChannelDetailsStore) => boolean;
|
|
65
|
+
//# sourceMappingURL=edit-channel-details-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"edit-channel-details-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/edit-channel-details-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGlD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAE3C,MAAM,MAAM,6BAA6B,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAE3E,MAAM,MAAM,uBAAuB,GAAG;IACpC,uCAAuC;IACvC,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,aAAa,EAAE,6BAA6B,GAAG,IAAI,CAAC;IACpD,sEAAsE;IACtE,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF;;;;;;;;;GASG;AACH,qBAAa,uBAAuB;IAC3B,KAAK,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;gBAEtC,OAAO,EAAE,OAAO;IAa5B,mDAAmD;IACnD,cAAc,CAAC,WAAW,EAAE,MAAM;IAIlC;;;OAGG;IACH,eAAe,CAAC,YAAY,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS;IAIrD,mEAAmE;IACnE,gBAAgB,CAAC,aAAa,EAAE,6BAA6B,GAAG,IAAI;CAGrE;AAED,sEAAsE;AACtE,eAAO,MAAM,WAAW,GAAI,OAAO,uBAAuB,YACjB,CAAC;AAE1C;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,OAAO,uBAAuB,YAC0B,CAAC;AAUtF;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GAAI,OAAO,uBAAuB,YACF,CAAC;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,OAAO,uBAAuB,YACD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { StateStore } from 'stream-chat';
|
|
2
|
+
export type SelectionState<T = string> = {
|
|
3
|
+
/** Ids of the currently selected items. */
|
|
4
|
+
selectedIds: Set<T>;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Holds a generic selection state (a set of selected ids). Leaf components can
|
|
8
|
+
* subscribe to narrow slices via `useStateStore`. The id type defaults to
|
|
9
|
+
* `string` (e.g. user ids in the "add members to channel" flow) but can be
|
|
10
|
+
* specialised for any other selectable entity.
|
|
11
|
+
*
|
|
12
|
+
* @experimental This API is experimental and is subject to change.
|
|
13
|
+
*/
|
|
14
|
+
export declare class SelectionStore<T = string> {
|
|
15
|
+
state: StateStore<SelectionState<T>>;
|
|
16
|
+
select(id?: T): void;
|
|
17
|
+
deselect(id?: T): void;
|
|
18
|
+
toggle(id?: T): void;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Subscribes to a {@link SelectionStore} and returns whether the selection is
|
|
22
|
+
* currently empty.
|
|
23
|
+
*
|
|
24
|
+
* @experimental This API is experimental and is subject to change.
|
|
25
|
+
*/
|
|
26
|
+
export declare const useIsSelectionEmpty: <T>(store: SelectionStore<T>) => boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Subscribes to a {@link SelectionStore} and returns whether the given id is
|
|
29
|
+
* currently selected.
|
|
30
|
+
*
|
|
31
|
+
* @experimental This API is experimental and is subject to change.
|
|
32
|
+
*/
|
|
33
|
+
export declare const useIsSelected: <T>(store: SelectionStore<T>, id: T) => boolean;
|
|
34
|
+
//# sourceMappingURL=selection-store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selection-store.d.ts","sourceRoot":"","sources":["../../../src/state-store/selection-store.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAIzC,MAAM,MAAM,cAAc,CAAC,CAAC,GAAG,MAAM,IAAI;IACvC,2CAA2C;IAC3C,WAAW,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC;CACrB,CAAC;AAMF;;;;;;;GAOG;AACH,qBAAa,cAAc,CAAC,CAAC,GAAG,MAAM;IAC7B,KAAK,gCAA8D;IAE1E,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;IAab,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC;IAaf,MAAM,CAAC,EAAE,CAAC,EAAE,CAAC;CAWd;AAMD;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,GAAI,CAAC,EAAE,OAAO,cAAc,CAAC,CAAC,CAAC,YACM,CAAC;AAEtE;;;;;GAKG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,EAAE,OAAO,cAAc,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,YAM/D,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChannelFilters, ChannelSort, ChannelState, FileReference, LocalAudioAttachment, LocalUploadAttachment, LocalVoiceRecordingAttachment } from 'stream-chat';
|
|
1
|
+
import type { ChannelFilters, ChannelSort, ChannelState, FileReference, LocalAudioAttachment, LocalUploadAttachment, LocalVoiceRecordingAttachment, MinimumUploadRequestResult } from 'stream-chat';
|
|
2
2
|
export declare enum FileTypes {
|
|
3
3
|
Audio = "audio",
|
|
4
4
|
File = "file",
|
|
@@ -462,5 +462,11 @@ export type Emoji = {
|
|
|
462
462
|
export type EmojiSearchIndex = {
|
|
463
463
|
search: (query: string) => PromiseLike<Array<Emoji>> | Array<Emoji> | null;
|
|
464
464
|
};
|
|
465
|
+
/**
|
|
466
|
+
* Override the file upload request used to upload the channel image.
|
|
467
|
+
* By default the SDK uploads to Stream's CDN via `client.uploadImage`.
|
|
468
|
+
* @param file File object to upload
|
|
469
|
+
*/
|
|
470
|
+
export type GlobalFileUploadRequest = (file: File) => Promise<MinimumUploadRequestResult>;
|
|
465
471
|
export {};
|
|
466
472
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,YAAY,EACZ,aAAa,EACb,oBAAoB,EACpB,qBAAqB,EACrB,6BAA6B,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,YAAY,EACZ,aAAa,EACb,oBAAoB,EACpB,qBAAqB,EACrB,6BAA6B,EAC7B,0BAA0B,EAC3B,MAAM,aAAa,CAAC;AAErB,oBAAY,SAAS;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;IACf,KAAK,UAAU;IACf,cAAc,mBAAmB;CAClC;AAED,MAAM,MAAM,IAAI,GAAG,aAAa,CAAC;AAEjC,MAAM,MAAM,wBAAwB,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAC9E,oBAAoB,CAAC,mBAAmB,CAAC,GACzC,6BAA6B,CAAC,mBAAmB,CAAC,CAAC;AAEvD,MAAM,MAAM,WAAW,GAAG;IACxB,QAAQ,CAAC,EAAE,MA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B,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,uBAAuB,CAAC;CAC/C;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG;IAC7C,OAAO,CAAC,EAAE,qBAAqB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,KAAK,GAAG;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,KAAK,CAAC;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,WAAW,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;CAC5E,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,0BAA0B,CAAC,CAAC"}
|
|
@@ -223,9 +223,18 @@ export declare class Streami18n {
|
|
|
223
223
|
"Limit votes per person": string;
|
|
224
224
|
"Choose between 2\u201310 options": string;
|
|
225
225
|
"Mute User": string;
|
|
226
|
+
"Remove User": string;
|
|
227
|
+
Remove: string;
|
|
228
|
+
"Are you sure you want to remove this member from the channel?": string;
|
|
229
|
+
"{{count}} members removed_one": string;
|
|
230
|
+
"{{count}} members removed_other": string;
|
|
231
|
+
"{{count}} members removed_many": string;
|
|
232
|
+
"Failed to remove members": string;
|
|
233
|
+
Muted: string;
|
|
226
234
|
"No chats here yet\u2026": string;
|
|
227
235
|
"No items exist": string;
|
|
228
236
|
"No threads here yet": string;
|
|
237
|
+
"No user found": string;
|
|
229
238
|
"Not supported": string;
|
|
230
239
|
"Nothing yet...": string;
|
|
231
240
|
Ok: string;
|
|
@@ -371,12 +380,21 @@ export declare class Streami18n {
|
|
|
371
380
|
"Delete Group": string;
|
|
372
381
|
"Leave Chat": string;
|
|
373
382
|
"Leave Group": string;
|
|
383
|
+
"Mute Chat": string;
|
|
374
384
|
"Mute Group": string;
|
|
385
|
+
"Pin Chat": string;
|
|
386
|
+
"Pin Group": string;
|
|
387
|
+
Admin: string;
|
|
388
|
+
Moderator: string;
|
|
375
389
|
Offline: string;
|
|
376
390
|
Online: string;
|
|
391
|
+
Owner: string;
|
|
377
392
|
"Unarchive Chat": string;
|
|
378
393
|
"Unarchive Group": string;
|
|
394
|
+
"Unmute Chat": string;
|
|
379
395
|
"Unmute Group": string;
|
|
396
|
+
"Unpin Chat": string;
|
|
397
|
+
"Unpin Group": string;
|
|
380
398
|
"{{memberCount}} members, {{onlineCount}} online_one": string;
|
|
381
399
|
"{{memberCount}} members, {{onlineCount}} online_other": string;
|
|
382
400
|
"{{memberCount}} members, {{onlineCount}} online_many": string;
|
|
@@ -406,6 +424,7 @@ export declare class Streami18n {
|
|
|
406
424
|
"a11y/Message from you": string;
|
|
407
425
|
"a11y/Message from {{sender}}": string;
|
|
408
426
|
"a11y/Muted": string;
|
|
427
|
+
"a11y/Pinned": string;
|
|
409
428
|
"a11y/New message from {{user}}": string;
|
|
410
429
|
"a11y/Offline": string;
|
|
411
430
|
"a11y/Open message actions": string;
|
|
@@ -431,10 +450,14 @@ export declare class Streami18n {
|
|
|
431
450
|
"a11y/you reacted": string;
|
|
432
451
|
"a11y/{{count}} new messages": string;
|
|
433
452
|
"a11y/Add attachment": string;
|
|
453
|
+
"a11y/Add members": string;
|
|
454
|
+
"a11y/Clear search": string;
|
|
455
|
+
"a11y/Close": string;
|
|
434
456
|
"a11y/Close attachments": string;
|
|
435
457
|
"a11y/Remove attachment": string;
|
|
436
458
|
"a11y/Close poll": string;
|
|
437
459
|
"a11y/Close poll creation": string;
|
|
460
|
+
"a11y/Confirm add members": string;
|
|
438
461
|
"a11y/Create poll": string;
|
|
439
462
|
"a11y/Decrease maximum votes": string;
|
|
440
463
|
"a11y/Delete voice recording": string;
|
|
@@ -457,13 +480,30 @@ export declare class Streami18n {
|
|
|
457
480
|
"a11y/Select image": string;
|
|
458
481
|
"a11y/Select video": string;
|
|
459
482
|
"a11y/Send voice recording": string;
|
|
483
|
+
"a11y/Search users to add": string;
|
|
484
|
+
"a11y/Select {{name}}": string;
|
|
485
|
+
"a11y/{{name}} is already a member": string;
|
|
460
486
|
"a11y/Share Button": string;
|
|
461
487
|
"a11y/Start voice recording": string;
|
|
462
488
|
"a11y/Stop voice recording": string;
|
|
489
|
+
Add: string;
|
|
490
|
+
"Add Members": string;
|
|
491
|
+
"Contact Info": string;
|
|
492
|
+
Edit: string;
|
|
493
|
+
Files: string;
|
|
494
|
+
"Group Info": string;
|
|
495
|
+
"timestamp/UserActivityStatus": string;
|
|
496
|
+
"Photos & Videos": string;
|
|
497
|
+
"Pinned Messages": string;
|
|
498
|
+
"View all": string;
|
|
499
|
+
"{{count}} members_one": string;
|
|
500
|
+
"{{count}} members_other": string;
|
|
501
|
+
"{{count}} members_many": string;
|
|
502
|
+
"a11y/Back": string;
|
|
463
503
|
"a11y/Notifications": string;
|
|
464
504
|
"a11y/Dismiss notification": string;
|
|
505
|
+
"a11y/Edit channel": string;
|
|
465
506
|
"a11y/Bottom sheet opened. Activate the close action or use the escape gesture to dismiss.": string;
|
|
466
|
-
"a11y/Close": string;
|
|
467
507
|
"a11y/Double tap and hold to activate contextual menu": string;
|
|
468
508
|
"a11y/Swipe right to go through different actions": string;
|
|
469
509
|
"Attachment upload blocked due to {{reason}}": string;
|
|
@@ -488,19 +528,31 @@ export declare class Streami18n {
|
|
|
488
528
|
"Wait until all attachments have uploaded": string;
|
|
489
529
|
"Cannot seek in the recording": string;
|
|
490
530
|
"Channel archived": string;
|
|
531
|
+
"Channel deleted": string;
|
|
532
|
+
"Channel image updated": string;
|
|
491
533
|
"Channel muted": string;
|
|
534
|
+
"Channel name updated": string;
|
|
492
535
|
"Channel pinned": string;
|
|
493
536
|
"Channel unarchived": string;
|
|
494
537
|
"Channel unmuted": string;
|
|
495
538
|
"Channel unpinned": string;
|
|
496
539
|
"Edit message request failed": string;
|
|
540
|
+
"Failed to add members": string;
|
|
497
541
|
"Failed to block user": string;
|
|
542
|
+
"Failed to delete channel": string;
|
|
498
543
|
"Failed to leave channel": string;
|
|
544
|
+
"Failed to load members": string;
|
|
545
|
+
"Failed to load users": string;
|
|
499
546
|
"Failed to play the recording": string;
|
|
500
547
|
"Failed to update channel archive status": string;
|
|
548
|
+
"Failed to update channel image": string;
|
|
501
549
|
"Failed to update channel mute status": string;
|
|
550
|
+
"Failed to update channel name": string;
|
|
502
551
|
"Failed to update channel pinned status": string;
|
|
503
552
|
"Left channel": string;
|
|
553
|
+
"{{count}} members added_one": string;
|
|
554
|
+
"{{count}} members added_other": string;
|
|
555
|
+
"{{count}} members added_many": string;
|
|
504
556
|
"Recording format is not supported and cannot be reproduced": string;
|
|
505
557
|
"Send message request failed": string;
|
|
506
558
|
"User blocked": string;
|
|
@@ -510,6 +562,17 @@ export declare class Streami18n {
|
|
|
510
562
|
"size limit": string;
|
|
511
563
|
"unknown error": string;
|
|
512
564
|
"unsupported file type": string;
|
|
565
|
+
"Already a member": string;
|
|
566
|
+
"Channel name": string;
|
|
567
|
+
"Edit Group Picture": string;
|
|
568
|
+
"Choose Image": string;
|
|
569
|
+
"Take Photo": string;
|
|
570
|
+
Upload: string;
|
|
571
|
+
"a11y/Channel name": string;
|
|
572
|
+
"a11y/Confirm edit channel": string;
|
|
573
|
+
"a11y/Upload channel image": string;
|
|
574
|
+
"Reset Picture": string;
|
|
575
|
+
"a11y/Close edit picture sheet": string;
|
|
513
576
|
"a11y/{{count}} unread messages": string;
|
|
514
577
|
"a11y/Gallery Image": string;
|
|
515
578
|
"a11y/Gallery Video": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Streami18n.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/Streami18n.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAQ1B,OAAa,EAAE,KAAK,IAAI,IAAI,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAElF,OAAO,KAAK,cAAc,MAAM,iBAAiB,CAAC;AAIlD,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,yCAAyC,CAAC;AAE/E,OAAO,cAAc,MAAM,oBAAoB,CAAC;AAahD,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AACzB,OAAO,oBAAoB,CAAC;AAC5B,OAAO,iBAAiB,CAAC;AACzB,OAAO,iBAAiB,CAAC;AAEzB;;;;GAIG;AACH,OAAO,iBAAiB,CAAC;AAmGzB,MAAM,MAAM,eAAe,GAAG;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAsBF,KAAK,oBAAoB,GAAG,OAA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,CAAC,OAAO,CAAC;IASvD;;;OAGG;IACG,WAAW,CAAC,QAAQ,EAAE,MAAM;IAsBlC,2BAA2B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW5D,8BAA8B,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,SAAS,KAAK,IAAI;;;IAW/D,iBAAiB,CAAC,SAAS,EAAE,SAAS;CAQvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"predefinedFormatters.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/predefinedFormatters.ts"],"names":[],"mappings":"AAKA,OAAO,EAA4B,oBAAoB,EAA6B,MAAM,SAAS,CAAC;AAIpG,eAAO,MAAM,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"predefinedFormatters.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/predefinedFormatters.ts"],"names":[],"mappings":"AAKA,OAAO,EAA4B,oBAAoB,EAA6B,MAAM,SAAS,CAAC;AAIpG,eAAO,MAAM,oBAAoB,EAAE,oBAwFlC,CAAC"}
|
|
@@ -62,6 +62,7 @@ export type TimestampFormatterOptions = {
|
|
|
62
62
|
};
|
|
63
63
|
export type PredefinedFormatters = {
|
|
64
64
|
durationFormatter: FormatterFactory<string>;
|
|
65
|
+
fromNowFormatter: FormatterFactory<string | Date>;
|
|
65
66
|
relativeCompactDateFormatter: FormatterFactory<string | Date>;
|
|
66
67
|
timestampFormatter: FormatterFactory<string | Date>;
|
|
67
68
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/utils/i18n/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,MAAM,MAAM,gBAAgB,CAAC,CAAC,IAAI,CAChC,UAAU,EAAE,UAAU,KACnB,CAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,MAAM,GAAG,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gB,CAAC,GAAG,CAAC,CAAC,CAAC;AAErE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IAEtC,QAAQ,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAE1B,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEzC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,iBAAiB,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAC5C,gBAAgB,EAAE,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAClD,4BAA4B,EAAE,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC9D,kBAAkB,EAAE,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CACrD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stream-chat-react-native-core",
|
|
3
3
|
"description": "The official React Native and Expo components for Stream Chat, a service for building chat applications",
|
|
4
|
-
"version": "9.
|
|
4
|
+
"version": "9.4.0-beta.10",
|
|
5
5
|
"author": {
|
|
6
6
|
"company": "Stream.io Inc",
|
|
7
7
|
"name": "Stream.io Inc"
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"path": "0.12.7",
|
|
79
79
|
"react-native-markdown-package": "1.8.2",
|
|
80
80
|
"react-native-url-polyfill": "^2.0.0",
|
|
81
|
-
"stream-chat": "^9.
|
|
81
|
+
"stream-chat": "^9.45.6",
|
|
82
82
|
"use-sync-external-store": "^1.5.0"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
@@ -1576,22 +1576,16 @@ export const Generic = () => {
|
|
|
1576
1576
|
await waitFor(() => expect(screen.getByTestId('channel-list-view')).toBeTruthy());
|
|
1577
1577
|
const targetChannel = channels[getRandomInt(0, channels.length - 1)];
|
|
1578
1578
|
|
|
1579
|
-
const oldMemberCount = targetChannel.channel.member_count;
|
|
1580
1579
|
const newMember = generateMember();
|
|
1581
1580
|
act(() => dispatchMemberAddedEvent(chatClient, newMember, targetChannel.channel));
|
|
1582
1581
|
|
|
1583
1582
|
await waitFor(async () => {
|
|
1584
1583
|
const membersRows = await BetterSqlite.selectFromTable('members');
|
|
1585
|
-
const channelRows = await BetterSqlite.selectFromTable('channels');
|
|
1586
1584
|
const matchingMembersRows = membersRows.filter(
|
|
1587
1585
|
(m) => m.cid === targetChannel.channel.cid && m.userId === newMember.user_id,
|
|
1588
1586
|
);
|
|
1589
|
-
const targetChannelFromDb = channelRows.filter(
|
|
1590
|
-
(c) => c.cid === targetChannel.channel.cid,
|
|
1591
|
-
)[0];
|
|
1592
1587
|
|
|
1593
1588
|
expect(matchingMembersRows.length).toBe(1);
|
|
1594
|
-
expect(targetChannelFromDb.memberCount).toBe(oldMemberCount + 1);
|
|
1595
1589
|
});
|
|
1596
1590
|
});
|
|
1597
1591
|
|
|
@@ -1605,21 +1599,15 @@ export const Generic = () => {
|
|
|
1605
1599
|
|
|
1606
1600
|
const targetChannel = channels[getRandomInt(0, channels.length - 1)];
|
|
1607
1601
|
const targetMember = targetChannel.members[getRandomInt(0, targetChannel.members.length - 1)];
|
|
1608
|
-
const oldMemberCount = targetChannel.channel.member_count;
|
|
1609
1602
|
act(() => dispatchMemberRemovedEvent(chatClient, targetMember, targetChannel.channel));
|
|
1610
1603
|
|
|
1611
1604
|
await waitFor(async () => {
|
|
1612
1605
|
const membersRows = await BetterSqlite.selectFromTable('members');
|
|
1613
|
-
const channelRows = await BetterSqlite.selectFromTable('channels');
|
|
1614
1606
|
const matchingMembersRows = membersRows.filter(
|
|
1615
1607
|
(m) => m.cid === targetChannel.channel.cid && m.userId === targetMember.user_id,
|
|
1616
1608
|
);
|
|
1617
|
-
const targetChannelFromDb = channelRows.filter(
|
|
1618
|
-
(c) => c.cid === targetChannel.channel.cid,
|
|
1619
|
-
)[0];
|
|
1620
1609
|
|
|
1621
1610
|
expect(matchingMembersRows.length).toBe(0);
|
|
1622
|
-
expect(targetChannelFromDb.memberCount).toBe(oldMemberCount - 1);
|
|
1623
1611
|
});
|
|
1624
1612
|
});
|
|
1625
1613
|
|