profinansy-ui-lib 4.1.88 → 4.1.90
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/dist/components/blocks/SupportV2/SupportV2.d.ts +1 -1
- package/dist/components/blocks/SupportV2/SupportV2.styled.d.ts +2 -0
- package/dist/components/blocks/SupportV2/SupportV2.typed.d.ts +8 -0
- package/dist/components/blocks/SupportV2/components/ChatHeader.d.ts +2 -1
- package/dist/components/uikit/Dropdown/Dropdown.typed.d.ts +2 -0
- package/dist/features/user-chats/components/ChatAvatar/ChatAvatar.d.ts +12 -0
- package/dist/features/user-chats/components/ChatAvatar/ChatAvatar.styled.d.ts +8 -0
- package/dist/features/user-chats/components/ChatAvatar/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatAvatar/utils/getChatAvatarTint.d.ts +2 -0
- package/dist/features/user-chats/components/ChatAvatar/utils/getChatInitials.d.ts +1 -0
- package/dist/features/user-chats/components/ChatCategorySkeleton/ChatCategoryBubblesSkeleton.d.ts +2 -0
- package/dist/features/user-chats/components/ChatCategorySkeleton/ChatCategorySkeleton.styled.d.ts +4 -0
- package/dist/features/user-chats/components/ChatCategorySkeleton/ChatHubCategoryCardsSkeleton.d.ts +2 -0
- package/dist/features/user-chats/components/ChatCategorySkeleton/index.d.ts +2 -0
- package/dist/features/user-chats/components/ChatMessagesLoadError/ChatMessagesLoadError.d.ts +9 -0
- package/dist/features/user-chats/components/ChatMessagesLoadError/ChatMessagesLoadError.styled.d.ts +3 -0
- package/dist/features/user-chats/components/ChatMessagesLoadError/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsFab/ChatsFab.d.ts +10 -0
- package/dist/features/user-chats/components/ChatsFab/ChatsFab.styled.d.ts +7 -0
- package/dist/features/user-chats/components/ChatsFab/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsHubPanel/ChatsHubPanel.d.ts +10 -0
- package/dist/features/user-chats/components/ChatsHubPanel/ChatsHubPanel.styled.d.ts +6 -0
- package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubCard/ChatHubCard.d.ts +12 -0
- package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubCard/ChatHubCard.styled.d.ts +11 -0
- package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubCard/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubWrapper/ChatHubWrapper.d.ts +10 -0
- package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubWrapper/ChatHubWrapper.styled.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubWrapper/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsHubPanel/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/ChatsOverlay.d.ts +17 -0
- package/dist/features/user-chats/components/ChatsOverlay/ChatsOverlay.styled.d.ts +11 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/ChatDetailsContent.d.ts +10 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/ChatDetailsModal.d.ts +9 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/ChatDetailsModal.styled.d.ts +6 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/chatDetails.utils.d.ts +21 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsAttachments/ChatDetailsAttachments.d.ts +19 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsAttachments/ChatDetailsAttachments.styled.d.ts +5 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsAttachments/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsProfile/ChatDetailsProfile.d.ts +8 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsProfile/ChatDetailsProfile.styled.d.ts +8 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsProfile/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsTabs/ChatDetailsTabs.d.ts +8 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsTabs/ChatDetailsTabs.styled.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/ChatDetailsTabs/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/FileList/FileList.d.ts +7 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/FileList/FileList.styled.d.ts +5 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/FileList/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/LinkList/LinkList.d.ts +7 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/LinkList/LinkList.styled.d.ts +5 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/LinkList/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/MediaGrid/MediaGrid.d.ts +8 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/MediaGrid/MediaGrid.styled.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/components/MediaGrid/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/hooks/useChatDetailsAttachments.d.ts +16 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/ChatList.d.ts +25 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/ChatList.styled.d.ts +12 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatCard/ChatCard.d.ts +13 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatCard/ChatCard.styled.d.ts +29 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatCard/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatContextMenu/ChatContextMenu.d.ts +12 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatContextMenu/ChatContextMenu.styled.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatContextMenu/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatListInboxSkeleton/ChatListInboxSkeleton.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatListInboxSkeleton/ChatListInboxSkeleton.styled.d.ts +4 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/ChatListInboxSkeleton/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/SearchMessageHit/SearchMessageHit.d.ts +9 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/SearchMessageHit/SearchMessageHit.styled.d.ts +10 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/components/SearchMessageHit/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatSearchInput/ChatSearchInput.d.ts +7 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatSearchInput/ChatSearchInput.styled.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatSearchInput/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/ChatThread.d.ts +16 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/ChatThread.styled.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/ChatHeader.d.ts +15 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/ChatHeader.styled.d.ts +12 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/ChatHeaderSkeleton.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderMobile/ChatHeaderMobile.d.ts +14 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderMobile/ChatHeaderMobile.styled.d.ts +8 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderMobile/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderSearch/ChatHeaderSearch.d.ts +11 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderSearch/ChatHeaderSearch.styled.d.ts +19 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/components/ChatHeaderSearch/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatHeader/index.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatThreadBody/ChatThreadBody.d.ts +7 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatThreadBody/ChatThreadBody.styled.d.ts +13 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatThreadBody/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatThreadResolving/ChatThreadResolving.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ChatThreadResolving/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/Composer.d.ts +7 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/Composer.styled.d.ts +9 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/Composer.types.d.ts +18 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ComposerField/ComposerField.d.ts +14 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ComposerField/ComposerField.styled.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ComposerField/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImagePreview/ImagePreview.d.ts +13 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImagePreview/ImagePreview.styled.d.ts +5 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImagePreview/index.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImageUpload/ImageUpload.d.ts +16 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImageUpload/ImageUpload.styled.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/components/ImageUpload/index.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/hooks/useComposer.d.ts +21 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/hooks/useLinkPreview.d.ts +10 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/Composer/index.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ContextMenu/ContextMenu.styled.d.ts +5 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ContextMenu/ContextMenuItems.d.ts +13 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/ContextMenu/index.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/DeleteChatModal/DeleteChatModal.d.ts +11 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/DeleteChatModal/DeleteChatModal.styled.d.ts +4 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/DeleteChatModal/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/HighlightedText/HighlightedText.d.ts +8 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/HighlightedText/HighlightedText.styled.d.ts +4 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/HighlightedText/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/MessageListSkeleton/MessageListSkeleton.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/MessageListSkeleton/MessageListSkeleton.styled.d.ts +5 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/components/MessageListSkeleton/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/constants/chatsUi.d.ts +6 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/ChatView.types.d.ts +22 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChatDraftActions.d.ts +10 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChatListActions.d.ts +20 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChatMessageActions.d.ts +18 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChatThreadModel.d.ts +80 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChats.d.ts +51 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChats.types.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useChatsQueries.d.ts +36 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useDownloadChatFile.d.ts +10 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useInboxMessageSearch.d.ts +15 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/hooks/useMappedChats.d.ts +21 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/copyChatMessage.d.ts +4 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/createZipArchive.d.ts +5 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/fetchChatAttachment.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/formatChatTime.d.ts +6 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/formatFileSize.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/getChatComposeAccess.d.ts +9 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/getChatImageUrls.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/getLinkPreview.d.ts +13 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/getMessageAuthorName.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/getMessagePreview.d.ts +4 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/optimisticMessage.d.ts +19 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/saveChatImage.d.ts +7 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/searchChatMessages.d.ts +11 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ChatThread/utils/shouldStackMessages.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/EmptyState/EmptyState.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/EmptyState/EmptyState.styled.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/EmptyState/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ImageViewerModal/ImageViewerModal.d.ts +10 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ImageViewerModal/ImageViewerModal.styled.d.ts +7 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/ImageViewerModal/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/MessageList.d.ts +18 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/MessageList.styled.d.ts +9 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/MessageList.types.d.ts +18 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/EmptyMessage/EmptyMessage.d.ts +6 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/EmptyMessage/EmptyMessage.styled.d.ts +5 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/EmptyMessage/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/MessageCard.d.ts +13 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/MessageCard.styled.d.ts +19 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/FileAttachment/FileAttachment.d.ts +11 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/FileAttachment/FileAttachment.styled.d.ts +14 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/FileAttachment/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageActions/MessageActions.d.ts +13 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageActions/MessageActions.styled.d.ts +9 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageActions/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageBubbleMenu/MessageBubbleMenu.d.ts +14 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageBubbleMenu/MessageBubbleMenu.styled.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageBubbleMenu/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageContextMenu/MessageContextMenu.d.ts +12 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageContextMenu/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageContextMenu/messageContextMenuItems.d.ts +23 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageFooter/MessageFooter.d.ts +13 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageFooter/MessageFooter.styled.d.ts +26 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageFooter/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageLinkPreview/MessageLinkPreview.d.ts +8 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageLinkPreview/MessageLinkPreview.styled.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageLinkPreview/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMedia/MessageMedia.d.ts +8 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMedia/MessageMedia.styled.d.ts +16 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMedia/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMediaWithUpload/MessageMediaWithUpload.d.ts +12 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMediaWithUpload/MessageMediaWithUpload.styled.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageMediaWithUpload/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageQuote/MessageQuote.d.ts +11 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageQuote/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageReactions/MessageReactions.d.ts +9 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageReactions/MessageReactions.styled.d.ts +7 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageReactions/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageText/MessageText.d.ts +9 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageText/MessageText.styled.d.ts +5 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/components/MessageText/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/MessageCard/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/SystemMessage/SystemMessage.d.ts +7 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/SystemMessage/SystemMessage.styled.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/components/SystemMessage/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/MessageList/index.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/OverlayHeader/OverlayHeader.d.ts +12 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/OverlayHeader/OverlayHeader.styled.d.ts +16 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/OverlayHeader/OverlayHeaderMobile.d.ts +11 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/OverlayHeader/index.d.ts +2 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/Snippet/Snippet.d.ts +18 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/Snippet/Snippet.styled.d.ts +16 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/Snippet/index.d.ts +1 -0
- package/dist/features/user-chats/components/ChatsOverlay/components/Snippet/utils/getSnippetTextColor.d.ts +4 -0
- package/dist/features/user-chats/components/ChatsUploadProgressControl/ChatsUploadProgressControl.d.ts +3 -0
- package/dist/features/user-chats/components/ChatsUploadProgressControl/ChatsUploadProgressControl.styled.d.ts +6 -0
- package/dist/features/user-chats/components/ChatsUploadProgressControl/ChatsUploadProgressControl.typed.d.ts +9 -0
- package/dist/features/user-chats/components/ChatsUploadProgressControl/index.d.ts +2 -0
- package/dist/features/user-chats/components/ComposerFileNotice/ComposerFileNotice.d.ts +6 -0
- package/dist/features/user-chats/components/ComposerFileNotice/ComposerFileNotice.styled.d.ts +2 -0
- package/dist/features/user-chats/components/ComposerFileNotice/index.d.ts +2 -0
- package/dist/features/user-chats/components/ComposerFileNotice/useComposerFileNotice.d.ts +4 -0
- package/dist/features/user-chats/components/JumpToLatestButton/JumpToLatestButton.d.ts +7 -0
- package/dist/features/user-chats/components/JumpToLatestButton/JumpToLatestButton.styled.d.ts +3 -0
- package/dist/features/user-chats/components/JumpToLatestButton/index.d.ts +1 -0
- package/dist/features/user-chats/components/MessageFailedMenu/MessageFailedMenu.d.ts +12 -0
- package/dist/features/user-chats/components/MessageFailedMenu/MessageFailedMenu.styled.d.ts +3 -0
- package/dist/features/user-chats/components/MessageFailedMenu/index.d.ts +1 -0
- package/dist/features/user-chats/components/SupportChatPanel/SupportChatPanel.d.ts +8 -0
- package/dist/features/user-chats/components/SupportChatPanel/SupportChatPanel.styled.d.ts +7 -0
- package/dist/features/user-chats/components/SupportChatPanel/components/SupportCompactHubHeader/SupportCompactHubHeader.d.ts +9 -0
- package/dist/features/user-chats/components/SupportChatPanel/components/SupportCompactHubHeader/SupportCompactHubHeader.styled.d.ts +5 -0
- package/dist/features/user-chats/components/SupportChatPanel/components/SupportCompactHubHeader/index.d.ts +1 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/SupportInboxChat.d.ts +10 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/SupportInboxChat.styled.d.ts +2 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/ChatFeed.d.ts +28 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/CommandChips.d.ts +8 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/GuestGate.d.ts +18 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/MessageBubble.d.ts +3 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/MessageBubble.typed.d.ts +22 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessageBubbleBody/MessageBubbleBody.d.ts +5 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessageBubbleBody/MessageBubbleBody.styled.d.ts +12 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessageBubbleBody/index.d.ts +1 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessagePlainTextRow/MessagePlainTextRow.d.ts +9 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessagePlainTextRow/MessagePlainTextRow.styled.d.ts +6 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/MessagePlainTextRow/index.d.ts +1 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/SystemMessageBubble/SystemMessageBubble.d.ts +15 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/SystemMessageBubble/SystemMessageBubble.styled.d.ts +3 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/components/SystemMessageBubble/index.d.ts +1 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/hooks/useSupportMessageAttachments.d.ts +10 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/index.d.ts +2 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/utils/SupportMessageText.styled.d.ts +2 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/utils/formatProgressBytes.d.ts +1 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/utils/renderSupportMessageText.d.ts +2 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/MessageBubble/utils/supportMessageText.const.d.ts +3 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/NpsRating.d.ts +6 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/components/chatInbox.styled.d.ts +36 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/utils/getSupportImageUrls.d.ts +2 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/utils/mapSupportAttachmentToChatFile.d.ts +3 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/utils/mapSupportLinkPreview.d.ts +4 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/utils/mapSupportMessageForFooter.d.ts +3 -0
- package/dist/features/user-chats/components/SupportChatPanel/inbox-support/utils/readSupportLocalFile.d.ts +3 -0
- package/dist/features/user-chats/components/SupportChatPanel/index.d.ts +1 -0
- package/dist/features/user-chats/components/UnreadMessagesDivider/UnreadMessagesDivider.d.ts +6 -0
- package/dist/features/user-chats/components/UnreadMessagesDivider/UnreadMessagesDivider.styled.d.ts +2 -0
- package/dist/features/user-chats/components/UnreadMessagesDivider/index.d.ts +1 -0
- package/dist/features/user-chats/components/UserChats/UserChats.d.ts +6 -0
- package/dist/features/user-chats/components/UserChats/index.d.ts +2 -0
- package/dist/features/user-chats/components/UserChatsWidget/UserChatsWidget.d.ts +7 -0
- package/dist/features/user-chats/components/UserChatsWidget/UserChatsWidget.styled.d.ts +14 -0
- package/dist/features/user-chats/components/UserChatsWidget/index.d.ts +1 -0
- package/dist/features/user-chats/constants/attachments.const.d.ts +1 -0
- package/dist/features/user-chats/constants/categoryPresentation.const.d.ts +9 -0
- package/dist/features/user-chats/constants/composerNotice.const.d.ts +1 -0
- package/dist/features/user-chats/constants/supportInboxChat.const.d.ts +14 -0
- package/dist/features/user-chats/constants/supportWidget.const.d.ts +5 -0
- package/dist/features/user-chats/constants/userChats.const.d.ts +38 -0
- package/dist/features/user-chats/entities/chats.constants.d.ts +6 -0
- package/dist/features/user-chats/entities/chats.interface.d.ts +266 -0
- package/dist/features/user-chats/entities/chats.list.d.ts +19 -0
- package/dist/features/user-chats/entities/chats.messages.d.ts +19 -0
- package/dist/features/user-chats/entities/chats.profiles.d.ts +18 -0
- package/dist/features/user-chats/entities/chats.unwrap.d.ts +4 -0
- package/dist/features/user-chats/entities/chats.utils.d.ts +4 -0
- package/dist/features/user-chats/entities/chats.view-types.d.ts +107 -0
- package/dist/features/user-chats/entities/index.d.ts +3 -0
- package/dist/features/user-chats/hooks/supportInboxListPreviewContext.d.ts +9 -0
- package/dist/features/user-chats/hooks/useChatComposerState.d.ts +23 -0
- package/dist/features/user-chats/hooks/useChatHostPaths.d.ts +9 -0
- package/dist/features/user-chats/hooks/useChatImageViewer.d.ts +8 -0
- package/dist/features/user-chats/hooks/useChatMessageSearch.d.ts +12 -0
- package/dist/features/user-chats/hooks/useChatProfiles.d.ts +6 -0
- package/dist/features/user-chats/hooks/useChatThreadScroll.d.ts +26 -0
- package/dist/features/user-chats/hooks/useChatsPanelTransition.d.ts +9 -0
- package/dist/features/user-chats/hooks/useChatsRealtime.d.ts +5 -0
- package/dist/features/user-chats/hooks/useImageViewerModal.d.ts +7 -0
- package/dist/features/user-chats/hooks/useLongPress.d.ts +13 -0
- package/dist/features/user-chats/hooks/useSupportInboxListPreview.d.ts +12 -0
- package/dist/features/user-chats/hooks/useUserChatsCategories.d.ts +20 -0
- package/dist/features/user-chats/hooks/useUserChatsNavigation.d.ts +19 -0
- package/dist/features/user-chats/hooks/useUserChatsTranslation.d.ts +2 -0
- package/dist/features/user-chats/index.d.ts +4 -0
- package/dist/features/user-chats/store/UserChatsProvider.d.ts +24 -0
- package/dist/features/user-chats/store/chats.api.d.ts +1 -0
- package/dist/features/user-chats/store/chats.cache.d.ts +24 -0
- package/dist/features/user-chats/store/chats.endpoints.d.ts +4254 -0
- package/dist/features/user-chats/store/chatsBaseQuery.d.ts +14 -0
- package/dist/features/user-chats/store/chatsConfig.slice.d.ts +12 -0
- package/dist/features/user-chats/store/chatsStore.d.ts +15 -0
- package/dist/features/user-chats/store/chatsStoreHooks.d.ts +5 -0
- package/dist/features/user-chats/store/userChatsUi.d.ts +24 -0
- package/dist/features/user-chats/styles/chatsPanelMotion.styled.d.ts +5 -0
- package/dist/features/user-chats/utils/blobUrlToFile.d.ts +1 -0
- package/dist/features/user-chats/utils/hasChatProductAccess.d.ts +15 -0
- package/dist/features/user-chats/utils/knownChatCategory.d.ts +2 -0
- package/dist/features/user-chats/utils/mergeChatsQueryFromUrl.d.ts +2 -0
- package/dist/features/user-chats/utils/supportInboxListPreview.d.ts +7 -0
- package/dist/index.d.ts +2 -0
- package/dist/localization/translations/support.d.ts +4 -0
- package/dist/localization/translations/userChats.d.ts +260 -0
- package/dist/profinansy-ui-lib.cjs +4964 -2236
- package/dist/profinansy-ui-lib.cjs.map +1 -1
- package/dist/profinansy-ui-lib.es.js +26243 -14891
- package/dist/profinansy-ui-lib.es.js.map +1 -1
- package/dist/utils/declOfNum.d.ts +1 -0
- package/package.json +3 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ISupport } from './SupportV2.typed';
|
|
2
|
-
declare const SupportV2: ({ isWithoutBottom, hideLauncher, fabOffset, defaultOpen, token, onNeedAuth, onFetchLinkPreview, showUnreadBadge, unreadCount, previewPreset }: ISupport) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
declare const SupportV2: ({ isWithoutBottom, hideLauncher, fabOffset, defaultOpen, token, onNeedAuth, onFetchLinkPreview, showUnreadBadge, unreadCount, previewPreset, embedded, hideHeader }: ISupport) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { SupportV2 };
|
|
@@ -3,6 +3,7 @@ import type { ISupportFabOffset } from './SupportV2.typed';
|
|
|
3
3
|
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
4
|
$isWithoutBottom: boolean;
|
|
5
5
|
$isOpen: boolean;
|
|
6
|
+
$embedded?: boolean;
|
|
6
7
|
$fabOffset?: ISupportFabOffset;
|
|
7
8
|
}>> & string;
|
|
8
9
|
export declare const Overlay: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
@@ -15,5 +16,6 @@ export declare const UnreadBadge: import("styled-components/dist/types").IStyled
|
|
|
15
16
|
export declare const Popup: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
16
17
|
$mode: string;
|
|
17
18
|
$isOpen: boolean;
|
|
19
|
+
$embedded?: boolean;
|
|
18
20
|
}>> & string;
|
|
19
21
|
export declare const Notice: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -41,6 +41,14 @@ export interface ISupport {
|
|
|
41
41
|
* Сразу открыть панель чата (хост или Storybook).
|
|
42
42
|
*/
|
|
43
43
|
defaultOpen?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Встроенный режим (оверлей чатов): без FAB, dimmer и закрытия по клику снаружи.
|
|
46
|
+
*/
|
|
47
|
+
embedded?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Не рендерить встроенную шапку SupportV2 (хост рисует свою, напр. user-chats).
|
|
50
|
+
*/
|
|
51
|
+
hideHeader?: boolean;
|
|
44
52
|
/**
|
|
45
53
|
* JWT support-api. Если нет — берётся токен пользовательской сессии
|
|
46
54
|
* из `user.token` в конфиге.
|
|
@@ -6,8 +6,9 @@ interface IChatHeader {
|
|
|
6
6
|
status: TSupportHeaderStatus;
|
|
7
7
|
closeLabel: string;
|
|
8
8
|
showMenu?: boolean;
|
|
9
|
+
showClose?: boolean;
|
|
9
10
|
onClose: () => void;
|
|
10
11
|
onOpenBank: () => void;
|
|
11
12
|
}
|
|
12
|
-
declare const ChatHeader: ({ title, bankLabel, subtitle, status, closeLabel, showMenu, onClose, onOpenBank }: IChatHeader) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
declare const ChatHeader: ({ title, bankLabel, subtitle, status, closeLabel, showMenu, showClose, onClose, onOpenBank }: IChatHeader) => import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
export { ChatHeader };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface IProps {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
avatarUrl?: string | null;
|
|
6
|
+
size?: number;
|
|
7
|
+
hasBorder?: boolean;
|
|
8
|
+
/** Внешний статический URL без CDN-суффиксов (support-avatar и т.п.). */
|
|
9
|
+
preserveOriginalUrl?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const ChatAvatar: ({ id, title, avatarUrl, size, hasBorder, preserveOriginalUrl }: IProps) => JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
+
$tint?: string;
|
|
4
|
+
$hasImage: boolean;
|
|
5
|
+
$size: number;
|
|
6
|
+
$hasBorder: boolean;
|
|
7
|
+
}>> & string;
|
|
8
|
+
export declare const Photo: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, never>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatAvatar } from './ChatAvatar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getChatInitials: (title: string) => string;
|
package/dist/features/user-chats/components/ChatCategorySkeleton/ChatCategorySkeleton.styled.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const BubblesRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const HubCards: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export declare const HubCardRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
package/dist/features/user-chats/components/ChatMessagesLoadError/ChatMessagesLoadError.styled.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const Icon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatMessagesLoadError } from './ChatMessagesLoadError';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
interface IProps {
|
|
3
|
+
unreadCount?: number;
|
|
4
|
+
desktopBottom?: number;
|
|
5
|
+
mobileBottom?: number;
|
|
6
|
+
isOpen?: boolean;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const ChatsFab: ({ unreadCount, desktopBottom, mobileBottom, isOpen, onClick }: IProps) => JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Fab: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
3
|
+
$desktopBottom?: number;
|
|
4
|
+
$mobileBottom?: number;
|
|
5
|
+
$isOpen?: boolean;
|
|
6
|
+
}>> & string;
|
|
7
|
+
export declare const Badge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatsFab } from './ChatsFab';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IUserChatsCategoryItem } from '../../hooks/useUserChatsCategories';
|
|
3
|
+
interface IProps {
|
|
4
|
+
categories: IUserChatsCategoryItem[];
|
|
5
|
+
isChatCategoriesLoading?: boolean;
|
|
6
|
+
onSelectCategory: (category: IUserChatsCategoryItem) => void;
|
|
7
|
+
onExpand: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const ChatsHubPanel: ({ categories, isChatCategoriesLoading, onSelectCategory, onExpand }: IProps) => JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const Header: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export declare const IconButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
5
|
+
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
export declare const Wrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubCard/ChatHubCard.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IProps {
|
|
3
|
+
title: string;
|
|
4
|
+
unreadCount?: number;
|
|
5
|
+
avatarBg?: string;
|
|
6
|
+
avatar: React.ReactNode;
|
|
7
|
+
flushAvatar?: boolean;
|
|
8
|
+
subtitle?: string;
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const ChatHubCard: ({ title, unreadCount, avatarBg, avatar, flushAvatar, subtitle, onClick }: IProps) => JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
3
|
+
export declare const AvatarWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
+
$bg?: string;
|
|
5
|
+
$flush?: boolean;
|
|
6
|
+
}>> & string;
|
|
7
|
+
export declare const TitleWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
8
|
+
$hasSubtitle: boolean;
|
|
9
|
+
}>> & string;
|
|
10
|
+
export declare const UnreadCount: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
|
+
export declare const IconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatHubCard } from './ChatHubCard';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IUserChatsCategoryItem } from '../../../../hooks/useUserChatsCategories';
|
|
2
|
+
interface IProps {
|
|
3
|
+
title: string;
|
|
4
|
+
categories: IUserChatsCategoryItem[];
|
|
5
|
+
onSelectCategory: (category: IUserChatsCategoryItem) => void;
|
|
6
|
+
isLocal?: boolean;
|
|
7
|
+
isCategoriesLoading?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const ChatHubWrapper: ({ title, isLocal, categories, onSelectCategory, isCategoriesLoading }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
package/dist/features/user-chats/components/ChatsHubPanel/components/ChatHubWrapper/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './ChatHubWrapper';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatsHubPanel } from './ChatsHubPanel';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { TChatsOverlayCategory } from '../../constants/userChats.const';
|
|
3
|
+
import { type TOverlayChatId } from '../../constants/userChats.const';
|
|
4
|
+
import type { IUserChatsCategoryItem } from '../../hooks/useUserChatsCategories';
|
|
5
|
+
interface IProps {
|
|
6
|
+
categories: IUserChatsCategoryItem[];
|
|
7
|
+
categoryId?: TChatsOverlayCategory;
|
|
8
|
+
chatId?: TOverlayChatId;
|
|
9
|
+
onBack: () => void;
|
|
10
|
+
onClose: () => void;
|
|
11
|
+
onMinimize: () => void;
|
|
12
|
+
onSelectCategory: (category: IUserChatsCategoryItem) => void;
|
|
13
|
+
onSelectChat: (id: TOverlayChatId) => void;
|
|
14
|
+
isChatCategoriesLoading?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare const ChatsOverlay: ({ categories, categoryId, chatId, onBack, onClose, onMinimize, onSelectCategory, onSelectChat, isChatCategoriesLoading }: IProps) => JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
+
$mobileThread?: boolean;
|
|
5
|
+
}>> & string;
|
|
6
|
+
export declare const Sidebar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
7
|
+
$hidden?: boolean;
|
|
8
|
+
}>> & string;
|
|
9
|
+
export declare const Workspace: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
10
|
+
$hidden?: boolean;
|
|
11
|
+
}>> & string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IChatListItem } from '../../../../entities/chats.view-types';
|
|
3
|
+
export type TChatDetailsVariant = 'modal' | 'inline';
|
|
4
|
+
interface IProps {
|
|
5
|
+
chat: IChatListItem;
|
|
6
|
+
active: boolean;
|
|
7
|
+
variant?: TChatDetailsVariant;
|
|
8
|
+
}
|
|
9
|
+
export declare const ChatDetailsContent: ({ chat, active, variant }: IProps) => JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IChatListItem } from '../../../../entities/chats.view-types';
|
|
3
|
+
interface IProps {
|
|
4
|
+
chat: IChatListItem | null;
|
|
5
|
+
open: boolean;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const ChatDetailsModal: ({ chat, open, onClose }: IProps) => JSX.Element | null;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const ModalWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("../../../../../../components/uikit/Modal/Modal.typed").IModal, never>> & string & Omit<(props: import("../../../../../../components/uikit/Modal/Modal.typed").IModal) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component<any, {}, any>>;
|
|
3
|
+
export declare const CloseButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
4
|
+
export declare const Layout: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
5
|
+
$inline?: boolean;
|
|
6
|
+
}>> & string;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Locales } from '../../../../../../common.types';
|
|
2
|
+
import type { TUserChatsCopy } from '../../../../../../localization/translations/userChats';
|
|
3
|
+
import type { IChatAttachmentItem, TChatAttachmentKind } from '../../../../entities/index';
|
|
4
|
+
export declare const getChatDetailsTabs: (copy: TUserChatsCopy) => readonly [{
|
|
5
|
+
readonly id: "media";
|
|
6
|
+
readonly label: "Медиа" | "Media";
|
|
7
|
+
}, {
|
|
8
|
+
readonly id: "file";
|
|
9
|
+
readonly label: "Файлы" | "Files";
|
|
10
|
+
}, {
|
|
11
|
+
readonly id: "link";
|
|
12
|
+
readonly label: "Ссылки" | "Links";
|
|
13
|
+
}];
|
|
14
|
+
export declare const getChatDetailsEmpty: (copy: TUserChatsCopy) => Record<TChatAttachmentKind, {
|
|
15
|
+
title: string;
|
|
16
|
+
description: string;
|
|
17
|
+
}>;
|
|
18
|
+
export declare const getMediaUrls: (items: IChatAttachmentItem[]) => string[];
|
|
19
|
+
export declare const attachmentItemKey: (item: IChatAttachmentItem) => string;
|
|
20
|
+
export declare const formatAttachmentDate: (iso: string, locale?: Locales) => string;
|
|
21
|
+
export declare const linkHost: (url: string) => string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IChatAttachmentItem, TChatAttachmentKind } from '../../../../../../entities/index';
|
|
3
|
+
interface IProps {
|
|
4
|
+
kind: TChatAttachmentKind;
|
|
5
|
+
items: IChatAttachmentItem[];
|
|
6
|
+
showSkeleton: boolean;
|
|
7
|
+
showEmpty: boolean;
|
|
8
|
+
showError: boolean;
|
|
9
|
+
emptyCopy: {
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
canLoadMore: boolean;
|
|
14
|
+
isFetching: boolean;
|
|
15
|
+
onLoadMore: () => void;
|
|
16
|
+
onOpenMedia: (index: number) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const ChatDetailsAttachments: ({ kind, items, showSkeleton, showEmpty, showError, emptyCopy, canLoadMore, isFetching, onLoadMore, onOpenMedia }: IProps) => JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const Empty: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export declare const SkeletonGrid: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
+
export declare const SkeletonRows: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatDetailsAttachments } from './ChatDetailsAttachments';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IChatListItem } from '../../../../../../entities/chats.view-types';
|
|
3
|
+
interface IProps {
|
|
4
|
+
chat: IChatListItem;
|
|
5
|
+
compact?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const ChatDetailsProfile: ({ chat, compact }: IProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
3
|
+
$compact?: boolean;
|
|
4
|
+
}>> & string;
|
|
5
|
+
export declare const Mute: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
6
|
+
$isMuted: boolean;
|
|
7
|
+
$compact?: boolean;
|
|
8
|
+
}>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatDetailsProfile } from './ChatDetailsProfile';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { TChatAttachmentKind } from '../../../../../../entities/index';
|
|
3
|
+
interface IProps {
|
|
4
|
+
kind: TChatAttachmentKind;
|
|
5
|
+
onSelect: (kind: TChatAttachmentKind) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const ChatDetailsTabs: ({ kind, onSelect }: IProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatDetailsTabs } from './ChatDetailsTabs';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const Row: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
4
|
+
export declare const Icon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
5
|
+
export declare const Text: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { FileList } from './FileList';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const Row: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
4
|
+
export declare const Icon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
5
|
+
export declare const Text: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LinkList } from './LinkList';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IChatAttachmentItem } from '../../../../../../entities/index';
|
|
3
|
+
interface IProps {
|
|
4
|
+
items: IChatAttachmentItem[];
|
|
5
|
+
onOpen: (index: number) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const MediaGrid: ({ items, onOpen }: IProps) => JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Grid: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const Cell: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { MediaGrid } from './MediaGrid';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type IChatAttachmentItem, type TChatAttachmentKind } from '../../../../../entities/index';
|
|
2
|
+
export declare const useChatDetailsAttachments: (chatId: string | null, open: boolean) => {
|
|
3
|
+
kind: TChatAttachmentKind;
|
|
4
|
+
selectKind: (next: TChatAttachmentKind) => void;
|
|
5
|
+
visibleItems: IChatAttachmentItem[];
|
|
6
|
+
isFetching: boolean;
|
|
7
|
+
showSkeleton: boolean;
|
|
8
|
+
showEmpty: boolean;
|
|
9
|
+
showError: boolean;
|
|
10
|
+
emptyCopy: {
|
|
11
|
+
title: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
canLoadMore: boolean;
|
|
15
|
+
loadMore: () => void;
|
|
16
|
+
};
|
package/dist/features/user-chats/components/ChatsOverlay/components/ChatDetailsModal/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatDetailsModal } from './ChatDetailsModal';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IChatListItem, IInboxMessageHit } from '../../../../entities/chats.view-types';
|
|
3
|
+
interface IProps {
|
|
4
|
+
chats: IChatListItem[];
|
|
5
|
+
selectedChatId?: string | null;
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
isInboxError?: boolean;
|
|
8
|
+
onRetryInbox?: () => void;
|
|
9
|
+
emptyChatText: {
|
|
10
|
+
title: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
};
|
|
13
|
+
onSelectChat: (chatId: string) => void;
|
|
14
|
+
onToggleRead: (chatId: string) => void;
|
|
15
|
+
onPin: (chatId: string) => void;
|
|
16
|
+
onToggleNotifications: (chatId: string) => void;
|
|
17
|
+
onDelete: (chatId: string) => void;
|
|
18
|
+
messageHits?: IInboxMessageHit[];
|
|
19
|
+
isMessageSearchActive?: boolean;
|
|
20
|
+
isMessageSearchLoading?: boolean;
|
|
21
|
+
focusedMessageId?: string | null;
|
|
22
|
+
onSelectMessage?: (chatId: string, messageId: string) => void;
|
|
23
|
+
}
|
|
24
|
+
export declare const ChatList: ({ chats, selectedChatId, isLoading, isInboxError, onRetryInbox, emptyChatText, onSelectChat, onToggleRead, onPin, onToggleNotifications, onDelete, messageHits, isMessageSearchActive, isMessageSearchLoading, focusedMessageId, onSelectMessage }: IProps) => JSX.Element;
|
|
25
|
+
export {};
|
package/dist/features/user-chats/components/ChatsOverlay/components/ChatList/ChatList.styled.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const SelectionBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export declare const SelectionActions: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
5
|
+
export declare const SelectionAction: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
6
|
+
$danger?: boolean;
|
|
7
|
+
}>> & string;
|
|
8
|
+
export declare const EmptyState: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
+
export declare const Section: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
|
+
export declare const SectionTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
|
+
export declare const Divider: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
12
|
+
export declare const SearchLoading: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IChatListItem } from '../../../../../../entities/chats.view-types';
|
|
3
|
+
interface IProps {
|
|
4
|
+
chat: IChatListItem;
|
|
5
|
+
isActive: boolean;
|
|
6
|
+
onSelect: (chatId: string) => void;
|
|
7
|
+
onToggleRead: (chatId: string) => void;
|
|
8
|
+
onPin: (chatId: string) => void;
|
|
9
|
+
onToggleNotifications: (chatId: string) => void;
|
|
10
|
+
onDelete: (chatId: string) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare const ChatCard: ({ chat, isActive, onSelect, onToggleRead, onPin, onToggleNotifications, onDelete }: IProps) => JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Root: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {
|
|
3
|
+
$active?: boolean;
|
|
4
|
+
$hasSubtitle?: boolean;
|
|
5
|
+
}>> & string;
|
|
6
|
+
export declare const AvatarWrap: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
7
|
+
export declare const SelectMark: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
8
|
+
$checked: boolean;
|
|
9
|
+
}>> & string;
|
|
10
|
+
export declare const Content: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
|
+
export declare const TitleRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
12
|
+
export declare const Title: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<Omit<import("../../../../../../../../components/uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>, "ref"> & {
|
|
13
|
+
ref?: import("react").Ref<HTMLElement>;
|
|
14
|
+
}, never>> & string & Omit<import("react").ForwardRefExoticComponent<import("../../../../../../../../components/uikit/Typography/Typography.typed").ITypographyProps & import("react").CSSProperties & import("react").RefAttributes<HTMLElement>>, keyof import("react").Component<any, {}, any>>;
|
|
15
|
+
export declare const TitleMain: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
16
|
+
export declare const TitleText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
17
|
+
export declare const Meta: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
18
|
+
export declare const SubtitleRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
19
|
+
export declare const Preview: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
20
|
+
export declare const AuthorRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
21
|
+
export declare const RoleTag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
22
|
+
$isActive?: boolean;
|
|
23
|
+
}>> & string;
|
|
24
|
+
export declare const UnreadBadge: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
25
|
+
$isSelected: boolean;
|
|
26
|
+
}>> & string;
|
|
27
|
+
export declare const IconStyles: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
28
|
+
$active?: boolean;
|
|
29
|
+
}>> & string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ChatCard } from './ChatCard';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import type { IChatListItem } from '../../../../../../entities/chats.view-types';
|
|
3
|
+
interface IProps {
|
|
4
|
+
chat: IChatListItem;
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
onToggleRead: (chatId: string) => void;
|
|
7
|
+
onPin: (chatId: string) => void;
|
|
8
|
+
onToggleNotifications: (chatId: string) => void;
|
|
9
|
+
onDelete: (chatId: string) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare const ChatContextMenu: ({ chat, children, onToggleRead, onPin, onToggleNotifications, onDelete }: IProps) => JSX.Element;
|
|
12
|
+
export {};
|