@ethora/chat-component-rn 26.8.4 → 26.8.6
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 +55 -0
- package/lib/commonjs/assets/emojiData.js +40 -0
- package/lib/commonjs/assets/emojiData.js.map +1 -0
- package/lib/commonjs/assets/icons.js +1 -1
- package/lib/commonjs/assets/icons.js.map +1 -1
- package/lib/commonjs/components/Header/HeaderRoomList.js +12 -7
- package/lib/commonjs/components/Header/HeaderRoomList.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ChatHeader.js +7 -9
- package/lib/commonjs/components/MainComponents/ChatHeader.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ChatRoom.js +47 -26
- package/lib/commonjs/components/MainComponents/ChatRoom.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ChatWrapper.js +58 -21
- package/lib/commonjs/components/MainComponents/ChatWrapper.js.map +1 -1
- package/lib/commonjs/components/MainComponents/KeyboardInputDock.js +40 -0
- package/lib/commonjs/components/MainComponents/KeyboardInputDock.js.map +1 -0
- package/lib/commonjs/components/MainComponents/MessageContainer.js +4 -12
- package/lib/commonjs/components/MainComponents/MessageContainer.js.map +1 -1
- package/lib/commonjs/components/MainComponents/MessageList.js +110 -35
- package/lib/commonjs/components/MainComponents/MessageList.js.map +1 -1
- package/lib/commonjs/components/MainComponents/RoomList.js +32 -29
- package/lib/commonjs/components/MainComponents/RoomList.js.map +1 -1
- package/lib/commonjs/components/MainComponents/RoomStack.js +270 -0
- package/lib/commonjs/components/MainComponents/RoomStack.js.map +1 -0
- package/lib/commonjs/components/MainComponents/SystemMessage.js +6 -2
- package/lib/commonjs/components/MainComponents/SystemMessage.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/Avatar.js +5 -1
- package/lib/commonjs/components/MessageBubble/Avatar.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/BottomReplyContainer.js +17 -21
- package/lib/commonjs/components/MessageBubble/BottomReplyContainer.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/EmojiPickerSheet.js +447 -0
- package/lib/commonjs/components/MessageBubble/EmojiPickerSheet.js.map +1 -0
- package/lib/commonjs/components/MessageBubble/Message.js +200 -132
- package/lib/commonjs/components/MessageBubble/Message.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/MessageInteractions.js +213 -12
- package/lib/commonjs/components/MessageBubble/MessageInteractions.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/MessageReaction.js +113 -94
- package/lib/commonjs/components/MessageBubble/MessageReaction.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/MessageReply.js +66 -24
- package/lib/commonjs/components/MessageBubble/MessageReply.js.map +1 -1
- package/lib/commonjs/components/Modals/ChatProfileModal/ChatProfileModal.js +6 -1
- package/lib/commonjs/components/Modals/ChatProfileModal/ChatProfileModal.js.map +1 -1
- package/lib/commonjs/components/Modals/Modal/Modal.js +24 -0
- package/lib/commonjs/components/Modals/Modal/Modal.js.map +1 -1
- package/lib/commonjs/components/Modals/Modal/SwipeBackLayer.js +178 -0
- package/lib/commonjs/components/Modals/Modal/SwipeBackLayer.js.map +1 -0
- package/lib/commonjs/components/Modals/ProfileHeader/ProfileHeader.js +28 -10
- package/lib/commonjs/components/Modals/ProfileHeader/ProfileHeader.js.map +1 -1
- package/lib/commonjs/components/Modals/UserProfileModal/UserProfileModal.js +9 -3
- package/lib/commonjs/components/Modals/UserProfileModal/UserProfileModal.js.map +1 -1
- package/lib/commonjs/components/RoomComponents/ChatRoomItem.js +5 -4
- package/lib/commonjs/components/RoomComponents/ChatRoomItem.js.map +1 -1
- package/lib/commonjs/components/RoomComponents/styled/LastMessageEmoji.js +8 -9
- package/lib/commonjs/components/RoomComponents/styled/LastMessageEmoji.js.map +1 -1
- package/lib/commonjs/components/Thread/ThreadWrapper.js +265 -152
- package/lib/commonjs/components/Thread/ThreadWrapper.js.map +1 -1
- package/lib/commonjs/components/styled/DateLabel.js +6 -3
- package/lib/commonjs/components/styled/DateLabel.js.map +1 -1
- package/lib/commonjs/context/MessageNotificationContext.js +188 -9
- package/lib/commonjs/context/MessageNotificationContext.js.map +1 -1
- package/lib/commonjs/context/xmppProvider.js +22 -7
- package/lib/commonjs/context/xmppProvider.js.map +1 -1
- package/lib/commonjs/helpers/createRoomFromApi.js +36 -2
- package/lib/commonjs/helpers/createRoomFromApi.js.map +1 -1
- package/lib/commonjs/helpers/emoji.js +51 -0
- package/lib/commonjs/helpers/emoji.js.map +1 -0
- package/lib/commonjs/helpers/haptics.js +29 -0
- package/lib/commonjs/helpers/haptics.js.map +1 -0
- package/lib/commonjs/helpers/historyPreloadScheduler.js +32 -66
- package/lib/commonjs/helpers/historyPreloadScheduler.js.map +1 -1
- package/lib/commonjs/helpers/insertMessageWithDelimiter.js +21 -12
- package/lib/commonjs/helpers/insertMessageWithDelimiter.js.map +1 -1
- package/lib/commonjs/helpers/keyboardLayout.js +23 -1
- package/lib/commonjs/helpers/keyboardLayout.js.map +1 -1
- package/lib/commonjs/helpers/mamReactions.js +57 -0
- package/lib/commonjs/helpers/mamReactions.js.map +1 -0
- package/lib/commonjs/helpers/parseMessageReference.js +42 -0
- package/lib/commonjs/helpers/parseMessageReference.js.map +1 -0
- package/lib/commonjs/helpers/reactionsConfig.js +17 -0
- package/lib/commonjs/helpers/reactionsConfig.js.map +1 -0
- package/lib/commonjs/helpers/updateMessagesTillLast.js +17 -2
- package/lib/commonjs/helpers/updateMessagesTillLast.js.map +1 -1
- package/lib/commonjs/hooks/useHeapSender.js +3 -1
- package/lib/commonjs/hooks/useHeapSender.js.map +1 -1
- package/lib/commonjs/hooks/useMessageHeapState.js +3 -2
- package/lib/commonjs/hooks/useMessageHeapState.js.map +1 -1
- package/lib/commonjs/hooks/useRoomInitialization.js +16 -7
- package/lib/commonjs/hooks/useRoomInitialization.js.map +1 -1
- package/lib/commonjs/hooks/useSendMessage.js +14 -8
- package/lib/commonjs/hooks/useSendMessage.js.map +1 -1
- package/lib/commonjs/hooks/useUnreadMessagesCounter.js +1 -1
- package/lib/commonjs/hooks/useUnreadMessagesCounter.js.map +1 -1
- package/lib/commonjs/networking/stanzaHandlers.js +106 -50
- package/lib/commonjs/networking/stanzaHandlers.js.map +1 -1
- package/lib/commonjs/networking/xmpp/getHistory.xmpp.js +29 -74
- package/lib/commonjs/networking/xmpp/getHistory.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmpp/handleStanzas.xmpp.js +4 -0
- package/lib/commonjs/networking/xmpp/handleStanzas.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmpp/mamRouter.js +186 -0
- package/lib/commonjs/networking/xmpp/mamRouter.js.map +1 -0
- package/lib/commonjs/networking/xmpp/presenceInRoom.xmpp.js +41 -4
- package/lib/commonjs/networking/xmpp/presenceInRoom.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmppClient.js +98 -23
- package/lib/commonjs/networking/xmppClient.js.map +1 -1
- package/lib/commonjs/roomStore/Middleware/newMessageMidlleware.js +29 -34
- package/lib/commonjs/roomStore/Middleware/newMessageMidlleware.js.map +1 -1
- package/lib/commonjs/roomStore/Middleware/perfMiddleware.js +51 -0
- package/lib/commonjs/roomStore/Middleware/perfMiddleware.js.map +1 -0
- package/lib/commonjs/roomStore/Middleware/reactionsMiddleware.js +66 -43
- package/lib/commonjs/roomStore/Middleware/reactionsMiddleware.js.map +1 -1
- package/lib/commonjs/roomStore/Middleware/unreadMidlleware.js +88 -68
- package/lib/commonjs/roomStore/Middleware/unreadMidlleware.js.map +1 -1
- package/lib/commonjs/roomStore/index.js +18 -14
- package/lib/commonjs/roomStore/index.js.map +1 -1
- package/lib/commonjs/roomStore/persistBackend.js +96 -0
- package/lib/commonjs/roomStore/persistBackend.js.map +1 -0
- package/lib/commonjs/roomStore/persistence.js +245 -50
- package/lib/commonjs/roomStore/persistence.js.map +1 -1
- package/lib/commonjs/roomStore/roomsSlice.js +282 -136
- package/lib/commonjs/roomStore/roomsSlice.js.map +1 -1
- package/lib/commonjs/theme/theme.js +3 -0
- package/lib/commonjs/theme/theme.js.map +1 -1
- package/lib/commonjs/utils/devLogger.js +14 -0
- package/lib/commonjs/utils/devLogger.js.map +1 -1
- package/lib/commonjs/version.js +1 -1
- package/lib/module/assets/emojiData.js +36 -0
- package/lib/module/assets/emojiData.js.map +1 -0
- package/lib/module/assets/icons.js +1 -1
- package/lib/module/assets/icons.js.map +1 -1
- package/lib/module/components/Header/HeaderRoomList.js +12 -7
- package/lib/module/components/Header/HeaderRoomList.js.map +1 -1
- package/lib/module/components/MainComponents/ChatHeader.js +8 -10
- package/lib/module/components/MainComponents/ChatHeader.js.map +1 -1
- package/lib/module/components/MainComponents/ChatRoom.js +49 -28
- package/lib/module/components/MainComponents/ChatRoom.js.map +1 -1
- package/lib/module/components/MainComponents/ChatWrapper.js +60 -23
- package/lib/module/components/MainComponents/ChatWrapper.js.map +1 -1
- package/lib/module/components/MainComponents/KeyboardInputDock.js +33 -0
- package/lib/module/components/MainComponents/KeyboardInputDock.js.map +1 -0
- package/lib/module/components/MainComponents/MessageContainer.js +7 -14
- package/lib/module/components/MainComponents/MessageContainer.js.map +1 -1
- package/lib/module/components/MainComponents/MessageList.js +110 -35
- package/lib/module/components/MainComponents/MessageList.js.map +1 -1
- package/lib/module/components/MainComponents/RoomList.js +32 -29
- package/lib/module/components/MainComponents/RoomList.js.map +1 -1
- package/lib/module/components/MainComponents/RoomStack.js +266 -0
- package/lib/module/components/MainComponents/RoomStack.js.map +1 -0
- package/lib/module/components/MainComponents/SystemMessage.js +6 -2
- package/lib/module/components/MainComponents/SystemMessage.js.map +1 -1
- package/lib/module/components/MessageBubble/Avatar.js +5 -1
- package/lib/module/components/MessageBubble/Avatar.js.map +1 -1
- package/lib/module/components/MessageBubble/BottomReplyContainer.js +18 -22
- package/lib/module/components/MessageBubble/BottomReplyContainer.js.map +1 -1
- package/lib/module/components/MessageBubble/EmojiPickerSheet.js +438 -0
- package/lib/module/components/MessageBubble/EmojiPickerSheet.js.map +1 -0
- package/lib/module/components/MessageBubble/Message.js +203 -134
- package/lib/module/components/MessageBubble/Message.js.map +1 -1
- package/lib/module/components/MessageBubble/MessageInteractions.js +215 -14
- package/lib/module/components/MessageBubble/MessageInteractions.js.map +1 -1
- package/lib/module/components/MessageBubble/MessageReaction.js +115 -94
- package/lib/module/components/MessageBubble/MessageReaction.js.map +1 -1
- package/lib/module/components/MessageBubble/MessageReply.js +65 -24
- package/lib/module/components/MessageBubble/MessageReply.js.map +1 -1
- package/lib/module/components/Modals/ChatProfileModal/ChatProfileModal.js +6 -1
- package/lib/module/components/Modals/ChatProfileModal/ChatProfileModal.js.map +1 -1
- package/lib/module/components/Modals/Modal/Modal.js +25 -1
- package/lib/module/components/Modals/Modal/Modal.js.map +1 -1
- package/lib/module/components/Modals/Modal/SwipeBackLayer.js +172 -0
- package/lib/module/components/Modals/Modal/SwipeBackLayer.js.map +1 -0
- package/lib/module/components/Modals/ProfileHeader/ProfileHeader.js +29 -11
- package/lib/module/components/Modals/ProfileHeader/ProfileHeader.js.map +1 -1
- package/lib/module/components/Modals/UserProfileModal/UserProfileModal.js +10 -4
- package/lib/module/components/Modals/UserProfileModal/UserProfileModal.js.map +1 -1
- package/lib/module/components/RoomComponents/ChatRoomItem.js +5 -4
- package/lib/module/components/RoomComponents/ChatRoomItem.js.map +1 -1
- package/lib/module/components/RoomComponents/styled/LastMessageEmoji.js +8 -9
- package/lib/module/components/RoomComponents/styled/LastMessageEmoji.js.map +1 -1
- package/lib/module/components/Thread/ThreadWrapper.js +264 -152
- package/lib/module/components/Thread/ThreadWrapper.js.map +1 -1
- package/lib/module/components/styled/DateLabel.js +6 -3
- package/lib/module/components/styled/DateLabel.js.map +1 -1
- package/lib/module/context/MessageNotificationContext.js +190 -11
- package/lib/module/context/MessageNotificationContext.js.map +1 -1
- package/lib/module/context/xmppProvider.js +22 -7
- package/lib/module/context/xmppProvider.js.map +1 -1
- package/lib/module/helpers/createRoomFromApi.js +36 -2
- package/lib/module/helpers/createRoomFromApi.js.map +1 -1
- package/lib/module/helpers/emoji.js +44 -0
- package/lib/module/helpers/emoji.js.map +1 -0
- package/lib/module/helpers/haptics.js +24 -0
- package/lib/module/helpers/haptics.js.map +1 -0
- package/lib/module/helpers/historyPreloadScheduler.js +32 -66
- package/lib/module/helpers/historyPreloadScheduler.js.map +1 -1
- package/lib/module/helpers/insertMessageWithDelimiter.js +21 -12
- package/lib/module/helpers/insertMessageWithDelimiter.js.map +1 -1
- package/lib/module/helpers/keyboardLayout.js +20 -0
- package/lib/module/helpers/keyboardLayout.js.map +1 -1
- package/lib/module/helpers/mamReactions.js +51 -0
- package/lib/module/helpers/mamReactions.js.map +1 -0
- package/lib/module/helpers/parseMessageReference.js +37 -0
- package/lib/module/helpers/parseMessageReference.js.map +1 -0
- package/lib/module/helpers/reactionsConfig.js +10 -0
- package/lib/module/helpers/reactionsConfig.js.map +1 -0
- package/lib/module/helpers/updateMessagesTillLast.js +17 -2
- package/lib/module/helpers/updateMessagesTillLast.js.map +1 -1
- package/lib/module/hooks/useHeapSender.js +3 -1
- package/lib/module/hooks/useHeapSender.js.map +1 -1
- package/lib/module/hooks/useMessageHeapState.js +3 -2
- package/lib/module/hooks/useMessageHeapState.js.map +1 -1
- package/lib/module/hooks/useRoomInitialization.js +17 -8
- package/lib/module/hooks/useRoomInitialization.js.map +1 -1
- package/lib/module/hooks/useSendMessage.js +14 -8
- package/lib/module/hooks/useSendMessage.js.map +1 -1
- package/lib/module/hooks/useUnreadMessagesCounter.js +1 -1
- package/lib/module/hooks/useUnreadMessagesCounter.js.map +1 -1
- package/lib/module/networking/stanzaHandlers.js +107 -51
- package/lib/module/networking/stanzaHandlers.js.map +1 -1
- package/lib/module/networking/xmpp/getHistory.xmpp.js +29 -74
- package/lib/module/networking/xmpp/getHistory.xmpp.js.map +1 -1
- package/lib/module/networking/xmpp/handleStanzas.xmpp.js +4 -0
- package/lib/module/networking/xmpp/handleStanzas.xmpp.js.map +1 -1
- package/lib/module/networking/xmpp/mamRouter.js +175 -0
- package/lib/module/networking/xmpp/mamRouter.js.map +1 -0
- package/lib/module/networking/xmpp/presenceInRoom.xmpp.js +38 -2
- package/lib/module/networking/xmpp/presenceInRoom.xmpp.js.map +1 -1
- package/lib/module/networking/xmppClient.js +99 -24
- package/lib/module/networking/xmppClient.js.map +1 -1
- package/lib/module/roomStore/Middleware/newMessageMidlleware.js +29 -34
- package/lib/module/roomStore/Middleware/newMessageMidlleware.js.map +1 -1
- package/lib/module/roomStore/Middleware/perfMiddleware.js +45 -0
- package/lib/module/roomStore/Middleware/perfMiddleware.js.map +1 -0
- package/lib/module/roomStore/Middleware/reactionsMiddleware.js +66 -43
- package/lib/module/roomStore/Middleware/reactionsMiddleware.js.map +1 -1
- package/lib/module/roomStore/Middleware/unreadMidlleware.js +89 -69
- package/lib/module/roomStore/Middleware/unreadMidlleware.js.map +1 -1
- package/lib/module/roomStore/index.js +19 -15
- package/lib/module/roomStore/index.js.map +1 -1
- package/lib/module/roomStore/persistBackend.js +89 -0
- package/lib/module/roomStore/persistBackend.js.map +1 -0
- package/lib/module/roomStore/persistence.js +245 -48
- package/lib/module/roomStore/persistence.js.map +1 -1
- package/lib/module/roomStore/roomsSlice.js +275 -134
- package/lib/module/roomStore/roomsSlice.js.map +1 -1
- package/lib/module/theme/theme.js +3 -0
- package/lib/module/theme/theme.js.map +1 -1
- package/lib/module/utils/devLogger.js +13 -0
- package/lib/module/utils/devLogger.js.map +1 -1
- package/lib/module/version.js +1 -1
- package/lib/typescript/assets/emojiData.d.ts +8 -0
- package/lib/typescript/assets/emojiData.d.ts.map +1 -0
- package/lib/typescript/components/Header/HeaderRoomList.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/ChatHeader.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/ChatRoom.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/ChatWrapper.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/KeyboardInputDock.d.ts +16 -0
- package/lib/typescript/components/MainComponents/KeyboardInputDock.d.ts.map +1 -0
- package/lib/typescript/components/MainComponents/MessageContainer.d.ts +2 -2
- package/lib/typescript/components/MainComponents/MessageContainer.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/MessageList.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/RoomList.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/RoomStack.d.ts +42 -0
- package/lib/typescript/components/MainComponents/RoomStack.d.ts.map +1 -0
- package/lib/typescript/components/MainComponents/SystemMessage.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/Avatar.d.ts +2 -0
- package/lib/typescript/components/MessageBubble/Avatar.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/BottomReplyContainer.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/EmojiPickerSheet.d.ts +11 -0
- package/lib/typescript/components/MessageBubble/EmojiPickerSheet.d.ts.map +1 -0
- package/lib/typescript/components/MessageBubble/Message.d.ts +2 -2
- package/lib/typescript/components/MessageBubble/Message.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/MessageInteractions.d.ts +2 -0
- package/lib/typescript/components/MessageBubble/MessageInteractions.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/MessageReaction.d.ts +1 -0
- package/lib/typescript/components/MessageBubble/MessageReaction.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/MessageReply.d.ts +7 -7
- package/lib/typescript/components/MessageBubble/MessageReply.d.ts.map +1 -1
- package/lib/typescript/components/Modals/ChatProfileModal/ChatProfileModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/Modal/Modal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/Modal/SwipeBackLayer.d.ts +16 -0
- package/lib/typescript/components/Modals/Modal/SwipeBackLayer.d.ts.map +1 -0
- package/lib/typescript/components/Modals/ProfileHeader/ProfileHeader.d.ts.map +1 -1
- package/lib/typescript/components/Modals/UserProfileModal/UserProfileModal.d.ts.map +1 -1
- package/lib/typescript/components/RoomComponents/ChatRoomItem.d.ts +2 -2
- package/lib/typescript/components/RoomComponents/ChatRoomItem.d.ts.map +1 -1
- package/lib/typescript/components/RoomComponents/styled/LastMessageEmoji.d.ts +3 -6
- package/lib/typescript/components/RoomComponents/styled/LastMessageEmoji.d.ts.map +1 -1
- package/lib/typescript/components/Thread/ThreadWrapper.d.ts +7 -1
- package/lib/typescript/components/Thread/ThreadWrapper.d.ts.map +1 -1
- package/lib/typescript/components/styled/DateLabel.d.ts +1 -0
- package/lib/typescript/components/styled/DateLabel.d.ts.map +1 -1
- package/lib/typescript/context/MessageNotificationContext.d.ts.map +1 -1
- package/lib/typescript/context/xmppProvider.d.ts.map +1 -1
- package/lib/typescript/helpers/createRoomFromApi.d.ts.map +1 -1
- package/lib/typescript/helpers/emoji.d.ts +6 -0
- package/lib/typescript/helpers/emoji.d.ts.map +1 -0
- package/lib/typescript/helpers/haptics.d.ts +3 -0
- package/lib/typescript/helpers/haptics.d.ts.map +1 -0
- package/lib/typescript/helpers/historyPreloadScheduler.d.ts +1 -0
- package/lib/typescript/helpers/historyPreloadScheduler.d.ts.map +1 -1
- package/lib/typescript/helpers/insertMessageWithDelimiter.d.ts.map +1 -1
- package/lib/typescript/helpers/keyboardLayout.d.ts +6 -0
- package/lib/typescript/helpers/keyboardLayout.d.ts.map +1 -1
- package/lib/typescript/helpers/mamReactions.d.ts +13 -0
- package/lib/typescript/helpers/mamReactions.d.ts.map +1 -0
- package/lib/typescript/helpers/parseMessageReference.d.ts +16 -0
- package/lib/typescript/helpers/parseMessageReference.d.ts.map +1 -0
- package/lib/typescript/helpers/reactionsConfig.d.ts +5 -0
- package/lib/typescript/helpers/reactionsConfig.d.ts.map +1 -0
- package/lib/typescript/helpers/updateMessagesTillLast.d.ts.map +1 -1
- package/lib/typescript/hooks/useHeapSender.d.ts.map +1 -1
- package/lib/typescript/hooks/useMessageHeapState.d.ts.map +1 -1
- package/lib/typescript/hooks/useRoomInitialization.d.ts +2 -2
- package/lib/typescript/hooks/useRoomInitialization.d.ts.map +1 -1
- package/lib/typescript/hooks/useSendMessage.d.ts.map +1 -1
- package/lib/typescript/networking/stanzaHandlers.d.ts +4 -2
- package/lib/typescript/networking/stanzaHandlers.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/getHistory.xmpp.d.ts +3 -1
- package/lib/typescript/networking/xmpp/getHistory.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/handleStanzas.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/mamRouter.d.ts +23 -0
- package/lib/typescript/networking/xmpp/mamRouter.d.ts.map +1 -0
- package/lib/typescript/networking/xmpp/presenceInRoom.xmpp.d.ts +1 -0
- package/lib/typescript/networking/xmpp/presenceInRoom.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmppClient.d.ts +22 -1
- package/lib/typescript/networking/xmppClient.d.ts.map +1 -1
- package/lib/typescript/roomStore/Middleware/newMessageMidlleware.d.ts.map +1 -1
- package/lib/typescript/roomStore/Middleware/perfMiddleware.d.ts +4 -0
- package/lib/typescript/roomStore/Middleware/perfMiddleware.d.ts.map +1 -0
- package/lib/typescript/roomStore/Middleware/reactionsMiddleware.d.ts +9 -0
- package/lib/typescript/roomStore/Middleware/reactionsMiddleware.d.ts.map +1 -1
- package/lib/typescript/roomStore/Middleware/unreadMidlleware.d.ts.map +1 -1
- package/lib/typescript/roomStore/index.d.ts.map +1 -1
- package/lib/typescript/roomStore/persistBackend.d.ts +11 -0
- package/lib/typescript/roomStore/persistBackend.d.ts.map +1 -0
- package/lib/typescript/roomStore/persistence.d.ts +5 -6
- package/lib/typescript/roomStore/persistence.d.ts.map +1 -1
- package/lib/typescript/roomStore/roomsSlice.d.ts +41 -1
- package/lib/typescript/roomStore/roomsSlice.d.ts.map +1 -1
- package/lib/typescript/theme/theme.d.ts +4 -1
- package/lib/typescript/theme/theme.d.ts.map +1 -1
- package/lib/typescript/types/models/message.model.d.ts +4 -0
- package/lib/typescript/types/models/message.model.d.ts.map +1 -1
- package/lib/typescript/types/models/room.model.d.ts +16 -0
- package/lib/typescript/types/models/room.model.d.ts.map +1 -1
- package/lib/typescript/types/models/xmpp.model.d.ts +6 -1
- package/lib/typescript/types/models/xmpp.model.d.ts.map +1 -1
- package/lib/typescript/types/types.d.ts +15 -3
- package/lib/typescript/types/types.d.ts.map +1 -1
- package/lib/typescript/utils/devLogger.d.ts +8 -0
- package/lib/typescript/utils/devLogger.d.ts.map +1 -1
- package/lib/typescript/version.d.ts +1 -1
- package/package.json +10 -1
- package/src/assets/emojiData.ts +2146 -0
- package/src/assets/icons.tsx +5 -5
- package/src/components/Header/HeaderRoomList.tsx +7 -5
- package/src/components/MainComponents/ChatHeader.tsx +16 -7
- package/src/components/MainComponents/ChatRoom.tsx +64 -32
- package/src/components/MainComponents/ChatWrapper.tsx +73 -21
- package/src/components/MainComponents/KeyboardInputDock.tsx +47 -0
- package/src/components/MainComponents/MessageContainer.tsx +7 -15
- package/src/components/MainComponents/MessageList.tsx +96 -43
- package/src/components/MainComponents/RoomList.tsx +28 -29
- package/src/components/MainComponents/RoomStack.tsx +309 -0
- package/src/components/MainComponents/SystemMessage.tsx +6 -2
- package/src/components/MessageBubble/Avatar.tsx +7 -1
- package/src/components/MessageBubble/BottomReplyContainer.tsx +19 -21
- package/src/components/MessageBubble/EmojiPickerSheet.tsx +468 -0
- package/src/components/MessageBubble/Message.tsx +146 -87
- package/src/components/MessageBubble/MessageInteractions.tsx +213 -12
- package/src/components/MessageBubble/MessageReaction.tsx +120 -96
- package/src/components/MessageBubble/MessageReply.tsx +65 -32
- package/src/components/Modals/ChatProfileModal/ChatProfileModal.tsx +4 -0
- package/src/components/Modals/Modal/Modal.tsx +32 -1
- package/src/components/Modals/Modal/SwipeBackLayer.tsx +221 -0
- package/src/components/Modals/ProfileHeader/ProfileHeader.tsx +29 -8
- package/src/components/Modals/UserProfileModal/UserProfileModal.tsx +6 -3
- package/src/components/RoomComponents/ChatRoomItem.tsx +11 -4
- package/src/components/RoomComponents/styled/LastMessageEmoji.tsx +7 -8
- package/src/components/Thread/ThreadWrapper.tsx +274 -198
- package/src/components/styled/DateLabel.tsx +7 -3
- package/src/context/MessageNotificationContext.tsx +205 -7
- package/src/context/xmppProvider.tsx +29 -9
- package/src/helpers/createRoomFromApi.tsx +37 -1
- package/src/helpers/emoji.ts +39 -0
- package/src/helpers/haptics.ts +19 -0
- package/src/helpers/historyPreloadScheduler.ts +37 -69
- package/src/helpers/insertMessageWithDelimiter.ts +23 -16
- package/src/helpers/keyboardLayout.ts +26 -0
- package/src/helpers/mamReactions.ts +59 -0
- package/src/helpers/parseMessageReference.ts +38 -0
- package/src/helpers/reactionsConfig.ts +13 -0
- package/src/helpers/updateMessagesTillLast.tsx +14 -2
- package/src/hooks/useHeapSender.tsx +3 -2
- package/src/hooks/useMessageHeapState.tsx +6 -2
- package/src/hooks/useRoomInitialization.tsx +32 -15
- package/src/hooks/useSendMessage.tsx +18 -11
- package/src/hooks/useUnreadMessagesCounter.ts +1 -1
- package/src/networking/stanzaHandlers.ts +116 -60
- package/src/networking/xmpp/getHistory.xmpp.ts +44 -106
- package/src/networking/xmpp/handleStanzas.xmpp.ts +2 -0
- package/src/networking/xmpp/mamRouter.ts +176 -0
- package/src/networking/xmpp/presenceInRoom.xmpp.ts +46 -3
- package/src/networking/xmppClient.ts +105 -20
- package/src/roomStore/Middleware/newMessageMidlleware.tsx +35 -38
- package/src/roomStore/Middleware/perfMiddleware.ts +50 -0
- package/src/roomStore/Middleware/reactionsMiddleware.tsx +53 -52
- package/src/roomStore/Middleware/unreadMidlleware.tsx +92 -80
- package/src/roomStore/index.ts +28 -27
- package/src/roomStore/persistBackend.ts +96 -0
- package/src/roomStore/persistence.ts +280 -73
- package/src/roomStore/roomsSlice.ts +304 -155
- package/src/theme/theme.ts +10 -1
- package/src/types/models/message.model.ts +4 -0
- package/src/types/models/room.model.ts +17 -0
- package/src/types/models/xmpp.model.ts +4 -2
- package/src/types/types.ts +15 -3
- package/src/utils/devLogger.ts +16 -0
- package/src/version.ts +1 -1
|
@@ -11,6 +11,7 @@ var _Avatar = require("./Avatar");
|
|
|
11
11
|
var _MessageInteractions = _interopRequireDefault(require("./MessageInteractions"));
|
|
12
12
|
var _BottomReplyContainer = require("./BottomReplyContainer");
|
|
13
13
|
var _MessageReply = require("./MessageReply");
|
|
14
|
+
var _parseMessageReference = require("../../helpers/parseMessageReference");
|
|
14
15
|
var _DeletedMessage = require("./DeletedMessage");
|
|
15
16
|
var _chatSettingsSlice = require("../../roomStore/chatSettingsSlice");
|
|
16
17
|
var _MODAL_TYPES = require("../../helpers/constants/MODAL_TYPES");
|
|
@@ -30,7 +31,10 @@ var _icons = require("../../assets/icons");
|
|
|
30
31
|
var _xmppProvider = require("../../context/xmppProvider");
|
|
31
32
|
var _useSendMessage = require("../../hooks/useSendMessage");
|
|
32
33
|
var _MessageReaction = require("./MessageReaction");
|
|
33
|
-
var
|
|
34
|
+
var _EmojiPickerSheet = require("./EmojiPickerSheet");
|
|
35
|
+
var _reactionsConfig = require("../../helpers/reactionsConfig");
|
|
36
|
+
var _reactNativeGestureHandler = require("react-native-gesture-handler");
|
|
37
|
+
var _haptics = require("../../helpers/haptics");
|
|
34
38
|
var _useTheme = require("../../hooks/useTheme");
|
|
35
39
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
36
40
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -144,6 +148,21 @@ const CustomTimestampRow = _native.default.View`
|
|
|
144
148
|
media
|
|
145
149
|
}) => media ? '10px' : 0};
|
|
146
150
|
`;
|
|
151
|
+
const clockCache = new Map();
|
|
152
|
+
const formatClock = date => {
|
|
153
|
+
const key = String(date);
|
|
154
|
+
const cached = clockCache.get(key);
|
|
155
|
+
if (cached !== undefined) {
|
|
156
|
+
return cached;
|
|
157
|
+
}
|
|
158
|
+
const d = new Date(date);
|
|
159
|
+
const label = Number.isNaN(d.getTime()) ? '' : `${String(d.getHours()).padStart(2, '0')}:${String(d.getMinutes()).padStart(2, '0')}`;
|
|
160
|
+
if (clockCache.size > 5000) {
|
|
161
|
+
clockCache.clear();
|
|
162
|
+
}
|
|
163
|
+
clockCache.set(key, label);
|
|
164
|
+
return label;
|
|
165
|
+
};
|
|
147
166
|
const Message = ({
|
|
148
167
|
message,
|
|
149
168
|
isUser,
|
|
@@ -223,9 +242,7 @@ const Message = ({
|
|
|
223
242
|
retryMessage
|
|
224
243
|
} = (0, _useSendMessage.useSendMessage)();
|
|
225
244
|
const [isPressed, setIsPressed] = (0, _react.useState)(false);
|
|
226
|
-
|
|
227
|
-
(globalThis.__loggedMsg ||= {})[message.id] = true;
|
|
228
|
-
}
|
|
245
|
+
const [emojiPickerOpen, setEmojiPickerOpen] = (0, _react.useState)(false);
|
|
229
246
|
const [contextMenuPosition, setContextMenuPosition] = (0, _react.useState)(null);
|
|
230
247
|
const timerRef = (0, _react.useRef)(null);
|
|
231
248
|
const messageRef = (0, _react.useRef)(null);
|
|
@@ -234,15 +251,18 @@ const Message = ({
|
|
|
234
251
|
dispatch((0, _chatSettingsSlice.setActiveModal)(_MODAL_TYPES.MODAL_TYPES.PROFILE));
|
|
235
252
|
dispatch((0, _chatSettingsSlice.setSelectedUser)(user));
|
|
236
253
|
};
|
|
254
|
+
const replyRef = (0, _parseMessageReference.parseMessageReference)(message);
|
|
237
255
|
const handleReplyMessage = () => {
|
|
238
256
|
dispatch((0, _roomsSlice.setEditAction)({
|
|
239
257
|
isEdit: false
|
|
240
258
|
}));
|
|
241
|
-
|
|
242
|
-
|
|
259
|
+
|
|
260
|
+
// An in-channel reply opens its PARENT's thread.
|
|
261
|
+
const parent = !isReply ? (0, _parseMessageReference.parseMessageReference)(message) : null;
|
|
262
|
+
if (parent) {
|
|
243
263
|
dispatch((0, _roomsSlice.setActiveMessage)({
|
|
244
|
-
id:
|
|
245
|
-
chatJID:
|
|
264
|
+
id: parent.id,
|
|
265
|
+
chatJID: parent.roomJid || message.roomJid
|
|
246
266
|
}));
|
|
247
267
|
return setIsPressed(false);
|
|
248
268
|
}
|
|
@@ -276,14 +296,16 @@ const Message = ({
|
|
|
276
296
|
// };
|
|
277
297
|
|
|
278
298
|
const handleReactionMessage = emoji => {
|
|
279
|
-
if (!
|
|
280
|
-
return
|
|
299
|
+
if (!(0, _reactionsConfig.reactionsEnabled)(config) || config?.disableInteractions) {
|
|
300
|
+
return;
|
|
281
301
|
}
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
}
|
|
286
|
-
|
|
302
|
+
const sender = {
|
|
303
|
+
firstName: user.firstName,
|
|
304
|
+
lastName: user.lastName
|
|
305
|
+
};
|
|
306
|
+
const own = message.reaction?.[user.xmppUsername || '']?.emoji || [];
|
|
307
|
+
const next = own.includes(emoji) ? own.filter(reaction => reaction !== emoji) : [...own, emoji];
|
|
308
|
+
client?.sendMessageReactionStanza(message.id, message.roomJid, next, sender);
|
|
287
309
|
};
|
|
288
310
|
|
|
289
311
|
// Long-press → capture the bubble's on-screen bounding box. The actual
|
|
@@ -324,6 +346,30 @@ const Message = ({
|
|
|
324
346
|
setIsPressed(true);
|
|
325
347
|
};
|
|
326
348
|
|
|
349
|
+
// Long-press is a NATIVE recognizer over the whole bubble column, not the
|
|
350
|
+
// Pressable's JS timer: the timer was lost whenever an inner responder
|
|
351
|
+
// (link text, media, reply quote, reactions) took the touch first, or the
|
|
352
|
+
// list stole it on the slightest drift — "works every other time". The
|
|
353
|
+
// recognizer fires wherever the finger lands, and once it does the touch
|
|
354
|
+
// is cancelled for everything underneath, so no tap handler fires on top.
|
|
355
|
+
const longPress = (0, _react.useMemo)(() => _reactNativeGestureHandler.Gesture.LongPress().runOnJS(true).minDuration(350).maxDistance(12).enabled(!config?.disableInteractions).onStart(() => {
|
|
356
|
+
(0, _haptics.hapticTap)();
|
|
357
|
+
handleLongPress();
|
|
358
|
+
}),
|
|
359
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
360
|
+
[config?.disableInteractions]);
|
|
361
|
+
|
|
362
|
+
// The bubble lifts a touch while its menu is open, and settles back.
|
|
363
|
+
const lift = (0, _react.useRef)(new _reactNative.Animated.Value(1)).current;
|
|
364
|
+
(0, _react.useEffect)(() => {
|
|
365
|
+
_reactNative.Animated.spring(lift, {
|
|
366
|
+
toValue: isPressed ? 1.03 : 1,
|
|
367
|
+
useNativeDriver: true,
|
|
368
|
+
speed: 30,
|
|
369
|
+
bounciness: 6
|
|
370
|
+
}).start();
|
|
371
|
+
}, [isPressed, lift]);
|
|
372
|
+
|
|
327
373
|
// Body text size/weight is set on the parser's leaf <Text>s — the markdown
|
|
328
374
|
// wraps content in <View>s which break Text-style inheritance, so the bubble
|
|
329
375
|
// wrapper's fontSize alone never reached the actual text.
|
|
@@ -338,7 +384,9 @@ const Message = ({
|
|
|
338
384
|
// the reader's own messages (they wrote it; no point translating it back).
|
|
339
385
|
const showInlineTranslation = isAutoTranslate && translationDisplay.hasTranslation && !isUser;
|
|
340
386
|
const bodyToRender = showInlineTranslation ? translationDisplay.displayText : message.body;
|
|
341
|
-
const
|
|
387
|
+
const textFilter = config?.messageTextFilter;
|
|
388
|
+
const messageText = (0, _react.useMemo)(() => textFilter?.enabled ? (0, _parseMessageBody.parseMessageBody)(textFilter.filterFunction(bodyToRender), bodyTextStyle, theme) : (0, _parseMessageBody.parseMessageBody)(bodyToRender, bodyTextStyle, theme), [textFilter, bodyToRender, bodyTextStyle, theme]);
|
|
389
|
+
const timeLabel = (0, _react.useMemo)(() => formatClock(message.date), [message.date]);
|
|
342
390
|
const isFailed = failedIdSet.has(message.id);
|
|
343
391
|
const isPending = !isFailed && (idSet.has(message.id) || message?.pending || false);
|
|
344
392
|
const onRetryPress = () => {
|
|
@@ -353,13 +401,8 @@ const Message = ({
|
|
|
353
401
|
ref: messageRef,
|
|
354
402
|
style: [styles.customMessageContainer, {
|
|
355
403
|
justifyContent: isUser ? 'flex-end' : 'flex-start',
|
|
356
|
-
marginBottom:
|
|
357
|
-
}
|
|
358
|
-
transform: [{
|
|
359
|
-
scale: 1.05
|
|
360
|
-
}],
|
|
361
|
-
paddingRight: 16
|
|
362
|
-
} : undefined
|
|
404
|
+
marginBottom: 0
|
|
405
|
+
}
|
|
363
406
|
// justify-content: ${({ isUser }) => (isUser ? "flex-end" : "flex-start")},
|
|
364
407
|
// margin-bottom: ${(props) => !!props.reply && "20px"},
|
|
365
408
|
],
|
|
@@ -381,116 +424,120 @@ const Message = ({
|
|
|
381
424
|
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_Avatar.Avatar, {
|
|
382
425
|
username: senderDisplayName
|
|
383
426
|
})
|
|
384
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
children: [!isUser && hasRealSenderName && /*#__PURE__*/(0, _jsxRuntime.jsx)(CustomUserName
|
|
419
|
-
// Historically `config.colors.primary` with a plain-text
|
|
420
|
-
// fallback; theme.primary carries the same value in light
|
|
421
|
-
// mode and the dark accent in dark mode.
|
|
422
|
-
, {
|
|
423
|
-
color: config?.colors?.primary ? theme.primary : undefined,
|
|
424
|
-
media: message?.isMediafile === 'true',
|
|
425
|
-
fontSize: config?.typography?.senderName?.fontSize,
|
|
426
|
-
fontWeight: config?.typography?.senderName?.fontWeight,
|
|
427
|
-
children: senderDisplayName
|
|
428
|
-
}), !isReply && message.mainMessage && /*#__PURE__*/(0, _jsxRuntime.jsx)(_MessageReply.MessageReply, {
|
|
429
|
-
handleReplyMessage: handleReplyMessage,
|
|
430
|
-
isUser: isUser,
|
|
431
|
-
text: JSON.parse(message.mainMessage).text,
|
|
432
|
-
color: theme.primary
|
|
433
|
-
}), message?.isMediafile === 'true' && !message?.isDeleted ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_MediaMessage.default, {
|
|
434
|
-
mimeType: message.mimetype,
|
|
435
|
-
messageText: message.locationPreview,
|
|
436
|
-
location: message?.location,
|
|
437
|
-
message: message,
|
|
438
|
-
isUser: isUser
|
|
439
|
-
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
440
|
-
children: message.isDeleted && message.id !== 'delimiter-new' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_DeletedMessage.DeletedMessage, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(CustomMessageText, {
|
|
427
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeGestureHandler.GestureDetector, {
|
|
428
|
+
gesture: longPress,
|
|
429
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable
|
|
430
|
+
// The Pressable fills the row's content area, so the bubble
|
|
431
|
+
// inside must be aligned to the sender's side — otherwise it
|
|
432
|
+
// hugs the left and own media bubbles sit with a right-side
|
|
433
|
+
// gap (text bubbles only looked right because they're narrow).
|
|
434
|
+
// flex-end for own, flex-start for others.
|
|
435
|
+
, {
|
|
436
|
+
style: {
|
|
437
|
+
flex: 1,
|
|
438
|
+
alignItems: isUser ? 'flex-end' : 'flex-start'
|
|
439
|
+
}
|
|
440
|
+
// A plain tap anywhere on a message bubble dismisses the
|
|
441
|
+
// keyboard. The FlatList's keyboardShouldPersistTaps="handled"
|
|
442
|
+
// already dismisses taps on the empty GAPS between bubbles, but
|
|
443
|
+
// the bubble Pressable itself is a touch responder, so taps that
|
|
444
|
+
// landed on a message were "handled" and the keyboard stayed —
|
|
445
|
+
// which is exactly the "closes only every other time" symptom
|
|
446
|
+
// (hit a gap → close, hit a bubble → stay). Explicitly dismissing
|
|
447
|
+
// here makes it reliable across the whole list. onPress does NOT
|
|
448
|
+
// fire when onLongPress fires, so opening MessageInteractions via
|
|
449
|
+
// long-press never triggers this dismiss.
|
|
450
|
+
,
|
|
451
|
+
onPress: () => _reactNative.Keyboard.dismiss(),
|
|
452
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Animated.View, {
|
|
453
|
+
style: {
|
|
454
|
+
transform: [{
|
|
455
|
+
scale: lift
|
|
456
|
+
}]
|
|
457
|
+
},
|
|
458
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(CustomMessageBubble, {
|
|
459
|
+
ref: bubbleRef,
|
|
460
|
+
collapsable: false,
|
|
441
461
|
isUser: isUser,
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
children:
|
|
462
|
+
deleted: message.isDeleted,
|
|
463
|
+
isMedia: message?.isMediafile === 'true' && !message?.isDeleted,
|
|
464
|
+
children: [!isUser && hasRealSenderName && /*#__PURE__*/(0, _jsxRuntime.jsx)(CustomUserName
|
|
465
|
+
// Historically `config.colors.primary` with a plain-text
|
|
466
|
+
// fallback; theme.primary carries the same value in light
|
|
467
|
+
// mode and the dark accent in dark mode.
|
|
468
|
+
, {
|
|
469
|
+
color: config?.colors?.primary ? theme.primary : undefined,
|
|
470
|
+
media: message?.isMediafile === 'true',
|
|
471
|
+
fontSize: config?.typography?.senderName?.fontSize,
|
|
472
|
+
fontWeight: config?.typography?.senderName?.fontWeight,
|
|
473
|
+
children: senderDisplayName
|
|
474
|
+
}), !isReply && !!replyRef?.text && /*#__PURE__*/(0, _jsxRuntime.jsx)(_MessageReply.MessageReply, {
|
|
475
|
+
handleReplyMessage: handleReplyMessage,
|
|
445
476
|
isUser: isUser,
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
477
|
+
text: replyRef.text,
|
|
478
|
+
userName: replyRef.userName,
|
|
479
|
+
color: theme.primary
|
|
480
|
+
}), message?.isMediafile === 'true' && !message?.isDeleted ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_MediaMessage.default, {
|
|
481
|
+
mimeType: message.mimetype,
|
|
482
|
+
messageText: message.locationPreview,
|
|
483
|
+
location: message?.location,
|
|
484
|
+
message: message,
|
|
485
|
+
isUser: isUser
|
|
486
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
487
|
+
children: message.isDeleted && message.id !== 'delimiter-new' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_DeletedMessage.DeletedMessage, {}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(CustomMessageText, {
|
|
488
|
+
isUser: isUser,
|
|
489
|
+
fontSize: config?.typography?.messageText?.fontSize,
|
|
490
|
+
fontWeight: config?.typography?.messageText?.fontWeight,
|
|
491
|
+
children: showInlineTranslation ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_TranslatedMessageBody.default, {
|
|
492
|
+
isUser: isUser,
|
|
493
|
+
originalText: translationDisplay.originalText,
|
|
494
|
+
accentColor: theme.primary,
|
|
495
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
496
|
+
children: messageText
|
|
497
|
+
})
|
|
498
|
+
}) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
499
|
+
children: messageText
|
|
500
|
+
})
|
|
450
501
|
})
|
|
451
|
-
})
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
color: theme.primary,
|
|
491
|
-
userName: `${user.firstName} ${user.lastName}`
|
|
492
|
-
})
|
|
493
|
-
})]
|
|
502
|
+
}), !isUser && isTranslatesEnabled && effectiveTranslateMode === 'manual' && /*#__PURE__*/(0, _jsxRuntime.jsx)(_MessageTranslate.default, {
|
|
503
|
+
message: message,
|
|
504
|
+
config: config,
|
|
505
|
+
isUser: isUser,
|
|
506
|
+
readerLocale: readerLocale
|
|
507
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(CustomTimestampRow, {
|
|
508
|
+
media: message?.isMediafile === 'true',
|
|
509
|
+
children: [!config?.disableSentLogic && isUser && isPending && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
510
|
+
style: [styles.timestampText, themedStyles.muted],
|
|
511
|
+
children: "sending..."
|
|
512
|
+
}), !config?.disableSentLogic && isUser && isFailed && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
513
|
+
onPress: onRetryPress,
|
|
514
|
+
style: [styles.failedText, themedStyles.failed],
|
|
515
|
+
accessibilityRole: "button",
|
|
516
|
+
accessibilityLabel: "Retry sending message",
|
|
517
|
+
children: "! Failed \u2014 tap to retry"
|
|
518
|
+
}), message?.isEdited && !message?.isDeleted && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
519
|
+
style: [styles.editedText, themedStyles.muted],
|
|
520
|
+
children: "edited"
|
|
521
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
|
|
522
|
+
style: [styles.timestampText, themedStyles.muted],
|
|
523
|
+
children: timeLabel
|
|
524
|
+
}), !config?.disableSentLogic && isUser && !isPending && !isFailed && /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.DoubleTick, {})]
|
|
525
|
+
})]
|
|
526
|
+
}), (!isReply && (message?.reply?.length || 0) > 0 || !!message.reaction && (0, _reactionsConfig.reactionsEnabled)(config)) && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
527
|
+
style: [styles.reactionRow, isUser ? styles.reactionRowUser : styles.reactionRowOther],
|
|
528
|
+
children: [!isReply && (message?.reply?.length || 0) > 0 && /*#__PURE__*/(0, _jsxRuntime.jsx)(_BottomReplyContainer.BottomReplyContainer, {
|
|
529
|
+
isUser: isUser,
|
|
530
|
+
onClick: handleReplyMessage,
|
|
531
|
+
reply: message.reply
|
|
532
|
+
}), message.reaction && (0, _reactionsConfig.reactionsEnabled)(config) && /*#__PURE__*/(0, _jsxRuntime.jsx)(_MessageReaction.MessageReaction, {
|
|
533
|
+
reaction: message.reaction,
|
|
534
|
+
changeReaction: handleReactionMessage,
|
|
535
|
+
color: theme.primary,
|
|
536
|
+
userName: `${user.firstName || ''} ${user.lastName || ''}`.trim(),
|
|
537
|
+
interactive: !config?.disableInteractions
|
|
538
|
+
})]
|
|
539
|
+
})]
|
|
540
|
+
})
|
|
494
541
|
})
|
|
495
542
|
})]
|
|
496
543
|
}), !config?.disableInteractions && isPressed && /*#__PURE__*/(0, _jsxRuntime.jsx)(_MessageInteractions.default, {
|
|
@@ -502,11 +549,16 @@ const Message = ({
|
|
|
502
549
|
handleReplyMessage: handleReplyMessage,
|
|
503
550
|
handleDeleteMessage: handleDeleteMessage,
|
|
504
551
|
handleEditMessage: handleEditMessage,
|
|
505
|
-
handleReactionMessage: handleReactionMessage
|
|
552
|
+
handleReactionMessage: handleReactionMessage,
|
|
553
|
+
onOpenEmojiPicker: () => setEmojiPickerOpen(true)
|
|
554
|
+
}), emojiPickerOpen && /*#__PURE__*/(0, _jsxRuntime.jsx)(_EmojiPickerSheet.EmojiPickerSheet, {
|
|
555
|
+
visible: true,
|
|
556
|
+
onClose: () => setEmojiPickerOpen(false),
|
|
557
|
+
onPick: handleReactionMessage
|
|
506
558
|
})]
|
|
507
559
|
});
|
|
508
560
|
};
|
|
509
|
-
exports.Message = Message;
|
|
561
|
+
const MemoMessage = exports.Message = /*#__PURE__*/_react.default.memo(Message);
|
|
510
562
|
const styles = _reactNative.StyleSheet.create({
|
|
511
563
|
customMessageContainer: {
|
|
512
564
|
flexDirection: 'row',
|
|
@@ -514,6 +566,22 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
514
566
|
alignItems: 'flex-end',
|
|
515
567
|
position: 'relative'
|
|
516
568
|
},
|
|
569
|
+
reactionRow: {
|
|
570
|
+
marginTop: -10,
|
|
571
|
+
zIndex: 1,
|
|
572
|
+
flexDirection: 'row',
|
|
573
|
+
flexWrap: 'wrap',
|
|
574
|
+
alignItems: 'center',
|
|
575
|
+
gap: 6
|
|
576
|
+
},
|
|
577
|
+
reactionRowUser: {
|
|
578
|
+
alignSelf: 'flex-end',
|
|
579
|
+
marginRight: 8
|
|
580
|
+
},
|
|
581
|
+
reactionRowOther: {
|
|
582
|
+
alignSelf: 'flex-start',
|
|
583
|
+
marginLeft: 8
|
|
584
|
+
},
|
|
517
585
|
overlay: {
|
|
518
586
|
..._reactNative.StyleSheet.absoluteFill,
|
|
519
587
|
position: 'absolute',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactRedux","_Avatar","_MessageInteractions","_interopRequireDefault","_BottomReplyContainer","_MessageReply","_DeletedMessage","_chatSettingsSlice","_MODAL_TYPES","_roomsSlice","_native","_MediaMessage","_MessageTranslate","_isUnresolvedSenderId","_TranslatedMessageBody","_useMessageTranslation","_translateModePolicy","_useChatSettingState","_parseMessageBody","_typography","_useMessageHeapState","_icons","_xmppProvider","_useSendMessage","_MessageReaction","_StyledComponents","_useTheme","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CustomMessageContainer","styled","View","isUser","props","reply","CustomMessageBubble","isMedia","deleted","backgroundMessageUser","backgroundMessage","theme","systemMessageBackground","messageBackgroundUser","messageBackground","CustomMessageText","Text","fontSize","fontWeight","color","colorUser","messageTextUser","messageText","CustomMessagePhoto","Image","CustomMessagePhotoContainer","TouchableOpacity","CustomUserName","media","text","CustomMessageTimestamp","textMuted","CustomTimestampRow","Message","message","isReply","dispatch","useDispatch","client","useXmppClient","config","langSource","user","translateMode","useChatSettingState","useTheme","themedStyles","useMemo","muted","failed","danger","isTranslatesEnabled","Boolean","translates","enabled","enableTranslates","effectiveTranslateMode","resolveTranslateMode","isAutoTranslate","readerLocale","i18n","locale","translationDisplay","useMessageTranslation","usersSet","useSelector","state","rooms","senderRawId","String","id","senderLocal","split","senderEntry","senderDisplayName","firstName","lastName","trim","name","hasRealSenderName","isUnresolvedSenderId","senderProfileImage","profileImage","idSet","failedIdSet","useMessageHeapState","retryMessage","useSendMessage","isPressed","setIsPressed","useState","__DEV__","globalThis","__loggedMsg","contextMenuPosition","setContextMenuPosition","timerRef","useRef","messageRef","bubbleRef","handleUserAvatarClick","setActiveModal","MODAL_TYPES","PROFILE","setSelectedUser","handleReplyMessage","setEditAction","isEdit","mainMessage","messageCore","JSON","parse","setActiveMessage","chatJID","roomJid","handleDeleteMessage","setDeleteModal","isDeleteModal","messageId","handleEditMessage","body","handleReactionMessage","emoji","reaction","sendMessageReactionStanza","xmppUsername","includes","filterEmoji","filter","handleLongPress","target","current","measureInWindow","x","y","width","height","left","right","top","bottom","nodeHandle","findNodeHandle","UIManager","measure","_x","_y","pageX","pageY","bodyTextStyle","chatTextStyle","typography","showInlineTranslation","hasTranslation","bodyToRender","displayText","messageTextFilter","parseMessageBody","filterFunction","isFailed","isPending","pending","onRetryPress","jsxs","children","jsx","style","styles","overlay","ref","customMessageContainer","justifyContent","marginBottom","length","keys","transform","scale","paddingRight","undefined","onPress","disableProfilesInteractions","disabled","accessible","source","uri","Avatar","username","Pressable","flex","alignItems","Keyboard","dismiss","onLongPress","disableInteractions","delayLongPress","collapsable","isDeleted","isMediafile","colors","primary","senderName","MessageReply","mimeType","mimetype","locationPreview","location","Fragment","DeletedMessage","originalText","accentColor","disableSentLogic","timestampText","failedText","accessibilityRole","accessibilityLabel","isEdited","editedText","Date","date","toLocaleTimeString","hour","minute","DoubleTick","BottomReplyContainer","onClick","MessageFooter","disableReactions","MessageReaction","changeReaction","userName","position","closeMenu","exports","StyleSheet","create","flexDirection","padding","absoluteFill","timestamp","marginTop","alignSelf","marginRight","timestampRow","gap","lineHeight","includeFontPadding","textAlignVertical","fontStyle"],"sourceRoot":"../../../../src","sources":["components/MessageBubble/Message.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AASA,IAAAE,WAAA,GAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,oBAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,IAAAM,qBAAA,GAAAN,OAAA;AACA,IAAAO,aAAA,GAAAP,OAAA;AACA,IAAAQ,eAAA,GAAAR,OAAA;AACA,IAAAS,kBAAA,GAAAT,OAAA;AAKA,IAAAU,YAAA,GAAAV,OAAA;AACA,IAAAW,WAAA,GAAAX,OAAA;AACA,IAAAY,OAAA,GAAAP,sBAAA,CAAAL,OAAA;AAEA,IAAAa,aAAA,GAAAR,sBAAA,CAAAL,OAAA;AACA,IAAAc,iBAAA,GAAAT,sBAAA,CAAAL,OAAA;AACA,IAAAe,qBAAA,GAAAf,OAAA;AACA,IAAAgB,sBAAA,GAAAX,sBAAA,CAAAL,OAAA;AACA,IAAAiB,sBAAA,GAAAjB,OAAA;AACA,IAAAkB,oBAAA,GAAAlB,OAAA;AACA,IAAAmB,oBAAA,GAAAnB,OAAA;AACA,IAAAoB,iBAAA,GAAApB,OAAA;AACA,IAAAqB,WAAA,GAAArB,OAAA;AACA,IAAAsB,oBAAA,GAAA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/BhE,sBAAsB,EAAE;IACtBiE,aAAa,EAAE,KAAK;IACpBC,OAAO,EAAE,EAAE;IACX/C,UAAU,EAAE,UAAU;IACtByC,QAAQ,EAAE;EACZ,CAAC;EACD9D,OAAO,EAAE;IACP,GAAGiE,uBAAU,CAACI,YAAY;IAC1BP,QAAQ,EAAE,UAAU;IACpB3F,GAAG,EAAE,CAAC;IACNF,IAAI,EAAE,CAAC;IACPF,KAAK,EAAE,MAAM;IACbC,MAAM,EAAE;IACR;EACF,CAAC;EACDsG,SAAS,EAAE;IACT7N,QAAQ,EAAE,EAAE;IACZE,KAAK,EAAE,MAAM;IACb4N,SAAS,EAAE,CAAC;IACZC,SAAS,EAAE;EACb,CAAC;EACD5B,UAAU,EAAE;IACVjM,KAAK,EAAE,SAAS;IAChBD,UAAU,EAAE,KAAK;IACjB+N,WAAW,EAAE;EACf,CAAC;EACD;EACA;EACA;EACA;EACA;EACAC,YAAY,EAAE;IACZP,aAAa,EAAE,KAAK;IACpB9C,UAAU,EAAE,QAAQ;IACpBmD,SAAS,EAAE,UAAU;IACrBD,SAAS,EAAE,CAAC;IACZI,GAAG,EAAE;EACP,CAAC;EACDhC,aAAa,EAAE;IACblM,QAAQ,EAAE,EAAE;IACZmO,UAAU,EAAE,EAAE;IACdjO,KAAK,EAAE,MAAM;IACbkO,kBAAkB,EAAE,KAAK;IACzBC,iBAAiB,EAAE;EACrB,CAAC;EACD;EACA;EACA9B,UAAU,EAAE;IACVvM,QAAQ,EAAE,EAAE;IACZmO,UAAU,EAAE,EAAE;IACdjO,KAAK,EAAE,MAAM;IACboO,SAAS,EAAE,QAAQ;IACnBN,WAAW,EAAE,CAAC;IACdI,kBAAkB,EAAE,KAAK;IACzBC,iBAAiB,EAAE;EACrB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactRedux","_Avatar","_MessageInteractions","_interopRequireDefault","_BottomReplyContainer","_MessageReply","_parseMessageReference","_DeletedMessage","_chatSettingsSlice","_MODAL_TYPES","_roomsSlice","_native","_MediaMessage","_MessageTranslate","_isUnresolvedSenderId","_TranslatedMessageBody","_useMessageTranslation","_translateModePolicy","_useChatSettingState","_parseMessageBody","_typography","_useMessageHeapState","_icons","_xmppProvider","_useSendMessage","_MessageReaction","_EmojiPickerSheet","_reactionsConfig","_reactNativeGestureHandler","_haptics","_useTheme","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","CustomMessageContainer","styled","View","isUser","props","reply","CustomMessageBubble","isMedia","deleted","backgroundMessageUser","backgroundMessage","theme","systemMessageBackground","messageBackgroundUser","messageBackground","CustomMessageText","Text","fontSize","fontWeight","color","colorUser","messageTextUser","messageText","CustomMessagePhoto","Image","CustomMessagePhotoContainer","TouchableOpacity","CustomUserName","media","text","CustomMessageTimestamp","textMuted","CustomTimestampRow","clockCache","Map","formatClock","date","key","String","cached","undefined","d","Date","label","Number","isNaN","getTime","getHours","padStart","getMinutes","size","clear","Message","message","isReply","dispatch","useDispatch","client","useXmppClient","config","langSource","user","translateMode","useChatSettingState","useTheme","themedStyles","useMemo","muted","failed","danger","isTranslatesEnabled","Boolean","translates","enabled","enableTranslates","effectiveTranslateMode","resolveTranslateMode","isAutoTranslate","readerLocale","i18n","locale","translationDisplay","useMessageTranslation","usersSet","useSelector","state","rooms","senderRawId","id","senderLocal","split","senderEntry","senderDisplayName","firstName","lastName","trim","name","hasRealSenderName","isUnresolvedSenderId","senderProfileImage","profileImage","idSet","failedIdSet","useMessageHeapState","retryMessage","useSendMessage","isPressed","setIsPressed","useState","emojiPickerOpen","setEmojiPickerOpen","contextMenuPosition","setContextMenuPosition","timerRef","useRef","messageRef","bubbleRef","handleUserAvatarClick","setActiveModal","MODAL_TYPES","PROFILE","setSelectedUser","replyRef","parseMessageReference","handleReplyMessage","setEditAction","isEdit","parent","setActiveMessage","chatJID","roomJid","handleDeleteMessage","setDeleteModal","isDeleteModal","messageId","handleEditMessage","body","handleReactionMessage","emoji","reactionsEnabled","disableInteractions","sender","own","reaction","xmppUsername","next","includes","filter","sendMessageReactionStanza","handleLongPress","target","current","measureInWindow","x","y","width","height","left","right","top","bottom","nodeHandle","findNodeHandle","UIManager","measure","_x","_y","pageX","pageY","longPress","Gesture","LongPress","runOnJS","minDuration","maxDistance","onStart","hapticTap","lift","Animated","Value","useEffect","spring","toValue","useNativeDriver","speed","bounciness","start","bodyTextStyle","chatTextStyle","typography","showInlineTranslation","hasTranslation","bodyToRender","displayText","textFilter","messageTextFilter","parseMessageBody","filterFunction","timeLabel","isFailed","isPending","pending","onRetryPress","jsxs","children","jsx","style","styles","overlay","ref","customMessageContainer","justifyContent","marginBottom","onPress","disableProfilesInteractions","disabled","accessible","source","uri","Avatar","username","GestureDetector","gesture","Pressable","flex","alignItems","Keyboard","dismiss","transform","scale","collapsable","isDeleted","isMediafile","colors","primary","senderName","MessageReply","userName","mimeType","mimetype","locationPreview","location","Fragment","DeletedMessage","originalText","accentColor","disableSentLogic","timestampText","failedText","accessibilityRole","accessibilityLabel","isEdited","editedText","DoubleTick","length","reactionRow","reactionRowUser","reactionRowOther","BottomReplyContainer","onClick","MessageReaction","changeReaction","interactive","position","closeMenu","onOpenEmojiPicker","EmojiPickerSheet","visible","onClose","onPick","MemoMessage","exports","React","memo","StyleSheet","create","flexDirection","padding","marginTop","zIndex","flexWrap","gap","alignSelf","marginRight","marginLeft","absoluteFill","timestamp","timestampRow","lineHeight","includeFontPadding","textAlignVertical","fontStyle"],"sourceRoot":"../../../../src","sources":["components/MessageBubble/Message.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAUA,IAAAE,WAAA,GAAAF,OAAA;AAEA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,oBAAA,GAAAC,sBAAA,CAAAL,OAAA;AACA,I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