@ethora/chat-component-rn 26.5.5 → 26.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +177 -0
- package/README.md +67 -10
- package/index.js +24 -0
- package/lib/commonjs/assets/icons.js +5 -1
- package/lib/commonjs/assets/icons.js.map +1 -1
- package/lib/commonjs/components/ContextMenu/ContextMenuComponents.js +11 -5
- package/lib/commonjs/components/ContextMenu/ContextMenuComponents.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ChatHeader.js +7 -1
- package/lib/commonjs/components/MainComponents/ChatHeader.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ChatRoom.js +66 -34
- package/lib/commonjs/components/MainComponents/ChatRoom.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ChatWrapper.js +59 -14
- package/lib/commonjs/components/MainComponents/ChatWrapper.js.map +1 -1
- package/lib/commonjs/components/MainComponents/MediaMessage.js +15 -7
- package/lib/commonjs/components/MainComponents/MediaMessage.js.map +1 -1
- package/lib/commonjs/components/MainComponents/MessageContainer.js +2 -2
- package/lib/commonjs/components/MainComponents/MessageContainer.js.map +1 -1
- package/lib/commonjs/components/MainComponents/MessageList.js +175 -30
- package/lib/commonjs/components/MainComponents/MessageList.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ReduxWrapper.js +17 -8
- package/lib/commonjs/components/MainComponents/ReduxWrapper.js.map +1 -1
- package/lib/commonjs/components/MainComponents/SystemMessage.js +34 -22
- package/lib/commonjs/components/MainComponents/SystemMessage.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/Message.js +117 -19
- package/lib/commonjs/components/MessageBubble/Message.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/MessageInteractions.js +82 -22
- package/lib/commonjs/components/MessageBubble/MessageInteractions.js.map +1 -1
- package/lib/commonjs/components/Modals/AttachSheet/AttachSheet.js +16 -4
- package/lib/commonjs/components/Modals/AttachSheet/AttachSheet.js.map +1 -1
- package/lib/commonjs/components/Modals/FilePreviewModal/DocumentViewer.js +104 -0
- package/lib/commonjs/components/Modals/FilePreviewModal/DocumentViewer.js.map +1 -0
- package/lib/commonjs/components/Modals/FilePreviewModal/FilePreviewModal.js +175 -40
- package/lib/commonjs/components/Modals/FilePreviewModal/FilePreviewModal.js.map +1 -1
- package/lib/commonjs/components/Modals/FilePreviewModal/PdfView.js +29 -1
- package/lib/commonjs/components/Modals/FilePreviewModal/PdfView.js.map +1 -1
- package/lib/commonjs/components/Modals/Modal/Modal.js +5 -1
- package/lib/commonjs/components/Modals/Modal/Modal.js.map +1 -1
- package/lib/commonjs/components/Modals/ModalWrapper/ModalWrapper.js +78 -39
- package/lib/commonjs/components/Modals/ModalWrapper/ModalWrapper.js.map +1 -1
- package/lib/commonjs/components/Modals/UserProfileModal/UserProfileModal.js +3 -3
- package/lib/commonjs/components/Modals/UserProfileModal/UserProfileModal.js.map +1 -1
- package/lib/commonjs/components/Modals/styledModalComponents.js +4 -9
- package/lib/commonjs/components/Modals/styledModalComponents.js.map +1 -1
- package/lib/commonjs/components/styled/MediaFilePreview.js +115 -5
- package/lib/commonjs/components/styled/MediaFilePreview.js.map +1 -1
- package/lib/commonjs/components/styled/MessageImage.js +49 -10
- package/lib/commonjs/components/styled/MessageImage.js.map +1 -1
- package/lib/commonjs/components/styled/NewMessageLabel.js +8 -6
- package/lib/commonjs/components/styled/NewMessageLabel.js.map +1 -1
- package/lib/commonjs/components/styled/SendInput.js +53 -29
- package/lib/commonjs/components/styled/SendInput.js.map +1 -1
- package/lib/commonjs/components/styled/StyledInputComponents/MediaComponents.js +14 -4
- package/lib/commonjs/components/styled/StyledInputComponents/MediaComponents.js.map +1 -1
- package/lib/commonjs/components/styled/StyledInputComponents/StyledInputComponents.js +7 -2
- package/lib/commonjs/components/styled/StyledInputComponents/StyledInputComponents.js.map +1 -1
- package/lib/commonjs/components/styled/UnsupportedType.js +5 -1
- package/lib/commonjs/components/styled/UnsupportedType.js.map +1 -1
- package/lib/commonjs/components/styled/VideoMessage.js +60 -22
- package/lib/commonjs/components/styled/VideoMessage.js.map +1 -1
- package/lib/commonjs/context/MessageNotificationContext.js +7 -7
- package/lib/commonjs/context/MessageNotificationContext.js.map +1 -1
- package/lib/commonjs/context/xmppProvider.js +315 -34
- package/lib/commonjs/context/xmppProvider.js.map +1 -1
- package/lib/commonjs/helpers/chatAutoEnterer.js +2 -7
- package/lib/commonjs/helpers/chatAutoEnterer.js.map +1 -1
- package/lib/commonjs/helpers/historyPreloadScheduler.js +4 -1
- package/lib/commonjs/helpers/historyPreloadScheduler.js.map +1 -1
- package/lib/commonjs/helpers/insertMessageWithDelimiter.js +15 -5
- package/lib/commonjs/helpers/insertMessageWithDelimiter.js.map +1 -1
- package/lib/commonjs/helpers/keyboardLayout.js +18 -0
- package/lib/commonjs/helpers/keyboardLayout.js.map +1 -0
- package/lib/commonjs/helpers/mediaDimensions.js +51 -0
- package/lib/commonjs/helpers/mediaDimensions.js.map +1 -0
- package/lib/commonjs/helpers/mimeToExtension.js +131 -0
- package/lib/commonjs/helpers/mimeToExtension.js.map +1 -0
- package/lib/commonjs/helpers/normalizeRoomJid.js +20 -0
- package/lib/commonjs/helpers/normalizeRoomJid.js.map +1 -0
- package/lib/commonjs/helpers/resolveInitBeforeLoadUser.js +73 -1
- package/lib/commonjs/helpers/resolveInitBeforeLoadUser.js.map +1 -1
- package/lib/commonjs/hooks/useChatRoomFocus.js +87 -0
- package/lib/commonjs/hooks/useChatRoomFocus.js.map +1 -0
- package/lib/commonjs/hooks/useChatWrapperInit.js +22 -10
- package/lib/commonjs/hooks/useChatWrapperInit.js.map +1 -1
- package/lib/commonjs/hooks/useEventHandlers.js +9 -1
- package/lib/commonjs/hooks/useEventHandlers.js.map +1 -1
- package/lib/commonjs/hooks/useHeapSender.js +1 -1
- package/lib/commonjs/hooks/useHeapSender.js.map +1 -1
- package/lib/commonjs/hooks/useLogout.js +3 -3
- package/lib/commonjs/hooks/useLogout.js.map +1 -1
- package/lib/commonjs/hooks/useMessageHeapState.js +6 -2
- package/lib/commonjs/hooks/useMessageHeapState.js.map +1 -1
- package/lib/commonjs/hooks/usePushNotifications.js +6 -2
- package/lib/commonjs/hooks/usePushNotifications.js.map +1 -1
- package/lib/commonjs/hooks/useRoomState.js +2 -0
- package/lib/commonjs/hooks/useRoomState.js.map +1 -1
- package/lib/commonjs/hooks/useSendMessage.js +249 -14
- package/lib/commonjs/hooks/useSendMessage.js.map +1 -1
- package/lib/commonjs/hooks/useUnreadMessagesCounter.js +12 -14
- package/lib/commonjs/hooks/useUnreadMessagesCounter.js.map +1 -1
- package/lib/commonjs/main.js +7 -0
- package/lib/commonjs/main.js.map +1 -1
- package/lib/commonjs/networking/api-requests/auth.api.js +74 -1
- package/lib/commonjs/networking/api-requests/auth.api.js.map +1 -1
- package/lib/commonjs/networking/apiClient.js +2 -1
- package/lib/commonjs/networking/apiClient.js.map +1 -1
- package/lib/commonjs/networking/outboundQueue.js +92 -0
- package/lib/commonjs/networking/outboundQueue.js.map +1 -0
- package/lib/commonjs/networking/xmpp/createTimeoutPromise.xmpp.js +4 -1
- package/lib/commonjs/networking/xmpp/createTimeoutPromise.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmpp/flushLastViewedToPrivateStore.js +7 -8
- package/lib/commonjs/networking/xmpp/flushLastViewedToPrivateStore.js.map +1 -1
- package/lib/commonjs/networking/xmpp/getRoomsPaged.xmpp.js +26 -3
- package/lib/commonjs/networking/xmpp/getRoomsPaged.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmpp/presenceInRoom.xmpp.js +26 -8
- package/lib/commonjs/networking/xmpp/presenceInRoom.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmpp/sendTextMessage.xmpp.js +2 -1
- package/lib/commonjs/networking/xmpp/sendTextMessage.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmppClient.js +371 -26
- package/lib/commonjs/networking/xmppClient.js.map +1 -1
- package/lib/commonjs/roomStore/Middleware/unreadMidlleware.js +22 -6
- package/lib/commonjs/roomStore/Middleware/unreadMidlleware.js.map +1 -1
- package/lib/commonjs/roomStore/roomHeapSlice.js +26 -8
- package/lib/commonjs/roomStore/roomHeapSlice.js.map +1 -1
- package/lib/commonjs/roomStore/roomsSlice.js +157 -23
- package/lib/commonjs/roomStore/roomsSlice.js.map +1 -1
- package/lib/commonjs/utils/installPromiseRejectionTracker.js +83 -0
- package/lib/commonjs/utils/installPromiseRejectionTracker.js.map +1 -0
- package/lib/commonjs/utils/resendMessage.js +1 -1
- package/lib/commonjs/utils/resendMessage.js.map +1 -1
- package/lib/module/assets/icons.js +5 -1
- package/lib/module/assets/icons.js.map +1 -1
- package/lib/module/components/ContextMenu/ContextMenuComponents.js +11 -5
- package/lib/module/components/ContextMenu/ContextMenuComponents.js.map +1 -1
- package/lib/module/components/MainComponents/ChatHeader.js +7 -1
- package/lib/module/components/MainComponents/ChatHeader.js.map +1 -1
- package/lib/module/components/MainComponents/ChatRoom.js +67 -35
- package/lib/module/components/MainComponents/ChatRoom.js.map +1 -1
- package/lib/module/components/MainComponents/ChatWrapper.js +59 -14
- package/lib/module/components/MainComponents/ChatWrapper.js.map +1 -1
- package/lib/module/components/MainComponents/MediaMessage.js +15 -7
- package/lib/module/components/MainComponents/MediaMessage.js.map +1 -1
- package/lib/module/components/MainComponents/MessageContainer.js +2 -2
- package/lib/module/components/MainComponents/MessageContainer.js.map +1 -1
- package/lib/module/components/MainComponents/MessageList.js +176 -31
- package/lib/module/components/MainComponents/MessageList.js.map +1 -1
- package/lib/module/components/MainComponents/ReduxWrapper.js +18 -8
- package/lib/module/components/MainComponents/ReduxWrapper.js.map +1 -1
- package/lib/module/components/MainComponents/SystemMessage.js +33 -21
- package/lib/module/components/MainComponents/SystemMessage.js.map +1 -1
- package/lib/module/components/MessageBubble/Message.js +118 -20
- package/lib/module/components/MessageBubble/Message.js.map +1 -1
- package/lib/module/components/MessageBubble/MessageInteractions.js +84 -24
- package/lib/module/components/MessageBubble/MessageInteractions.js.map +1 -1
- package/lib/module/components/Modals/AttachSheet/AttachSheet.js +15 -3
- package/lib/module/components/Modals/AttachSheet/AttachSheet.js.map +1 -1
- package/lib/module/components/Modals/FilePreviewModal/DocumentViewer.js +99 -0
- package/lib/module/components/Modals/FilePreviewModal/DocumentViewer.js.map +1 -0
- package/lib/module/components/Modals/FilePreviewModal/FilePreviewModal.js +179 -42
- package/lib/module/components/Modals/FilePreviewModal/FilePreviewModal.js.map +1 -1
- package/lib/module/components/Modals/FilePreviewModal/PdfView.js +31 -3
- package/lib/module/components/Modals/FilePreviewModal/PdfView.js.map +1 -1
- package/lib/module/components/Modals/Modal/Modal.js +5 -1
- package/lib/module/components/Modals/Modal/Modal.js.map +1 -1
- package/lib/module/components/Modals/ModalWrapper/ModalWrapper.js +80 -41
- package/lib/module/components/Modals/ModalWrapper/ModalWrapper.js.map +1 -1
- package/lib/module/components/Modals/UserProfileModal/UserProfileModal.js +3 -3
- package/lib/module/components/Modals/UserProfileModal/UserProfileModal.js.map +1 -1
- package/lib/module/components/Modals/styledModalComponents.js +4 -9
- package/lib/module/components/Modals/styledModalComponents.js.map +1 -1
- package/lib/module/components/styled/MediaFilePreview.js +116 -6
- package/lib/module/components/styled/MediaFilePreview.js.map +1 -1
- package/lib/module/components/styled/MessageImage.js +51 -12
- package/lib/module/components/styled/MessageImage.js.map +1 -1
- package/lib/module/components/styled/NewMessageLabel.js +8 -6
- package/lib/module/components/styled/NewMessageLabel.js.map +1 -1
- package/lib/module/components/styled/SendInput.js +54 -30
- package/lib/module/components/styled/SendInput.js.map +1 -1
- package/lib/module/components/styled/StyledInputComponents/MediaComponents.js +14 -4
- package/lib/module/components/styled/StyledInputComponents/MediaComponents.js.map +1 -1
- package/lib/module/components/styled/StyledInputComponents/StyledInputComponents.js +7 -2
- package/lib/module/components/styled/StyledInputComponents/StyledInputComponents.js.map +1 -1
- package/lib/module/components/styled/UnsupportedType.js +5 -1
- package/lib/module/components/styled/UnsupportedType.js.map +1 -1
- package/lib/module/components/styled/VideoMessage.js +61 -23
- package/lib/module/components/styled/VideoMessage.js.map +1 -1
- package/lib/module/context/MessageNotificationContext.js +7 -7
- package/lib/module/context/MessageNotificationContext.js.map +1 -1
- package/lib/module/context/xmppProvider.js +319 -37
- package/lib/module/context/xmppProvider.js.map +1 -1
- package/lib/module/helpers/chatAutoEnterer.js +2 -7
- package/lib/module/helpers/chatAutoEnterer.js.map +1 -1
- package/lib/module/helpers/historyPreloadScheduler.js +4 -1
- package/lib/module/helpers/historyPreloadScheduler.js.map +1 -1
- package/lib/module/helpers/insertMessageWithDelimiter.js +15 -5
- package/lib/module/helpers/insertMessageWithDelimiter.js.map +1 -1
- package/lib/module/helpers/keyboardLayout.js +12 -0
- package/lib/module/helpers/keyboardLayout.js.map +1 -0
- package/lib/module/helpers/mediaDimensions.js +46 -0
- package/lib/module/helpers/mediaDimensions.js.map +1 -0
- package/lib/module/helpers/mimeToExtension.js +124 -0
- package/lib/module/helpers/mimeToExtension.js.map +1 -0
- package/lib/module/helpers/normalizeRoomJid.js +15 -0
- package/lib/module/helpers/normalizeRoomJid.js.map +1 -0
- package/lib/module/helpers/resolveInitBeforeLoadUser.js +71 -0
- package/lib/module/helpers/resolveInitBeforeLoadUser.js.map +1 -1
- package/lib/module/hooks/useChatRoomFocus.js +82 -0
- package/lib/module/hooks/useChatRoomFocus.js.map +1 -0
- package/lib/module/hooks/useChatWrapperInit.js +22 -10
- package/lib/module/hooks/useChatWrapperInit.js.map +1 -1
- package/lib/module/hooks/useEventHandlers.js +9 -1
- package/lib/module/hooks/useEventHandlers.js.map +1 -1
- package/lib/module/hooks/useHeapSender.js +1 -1
- package/lib/module/hooks/useHeapSender.js.map +1 -1
- package/lib/module/hooks/useLogout.js +3 -3
- package/lib/module/hooks/useLogout.js.map +1 -1
- package/lib/module/hooks/useMessageHeapState.js +6 -2
- package/lib/module/hooks/useMessageHeapState.js.map +1 -1
- package/lib/module/hooks/usePushNotifications.js +6 -2
- package/lib/module/hooks/usePushNotifications.js.map +1 -1
- package/lib/module/hooks/useRoomState.js +2 -0
- package/lib/module/hooks/useRoomState.js.map +1 -1
- package/lib/module/hooks/useSendMessage.js +252 -17
- package/lib/module/hooks/useSendMessage.js.map +1 -1
- package/lib/module/hooks/useUnreadMessagesCounter.js +12 -14
- package/lib/module/hooks/useUnreadMessagesCounter.js.map +1 -1
- package/lib/module/main.js +1 -0
- package/lib/module/main.js.map +1 -1
- package/lib/module/networking/api-requests/auth.api.js +74 -2
- package/lib/module/networking/api-requests/auth.api.js.map +1 -1
- package/lib/module/networking/apiClient.js +2 -1
- package/lib/module/networking/apiClient.js.map +1 -1
- package/lib/module/networking/outboundQueue.js +84 -0
- package/lib/module/networking/outboundQueue.js.map +1 -0
- package/lib/module/networking/xmpp/createTimeoutPromise.xmpp.js +4 -1
- package/lib/module/networking/xmpp/createTimeoutPromise.xmpp.js.map +1 -1
- package/lib/module/networking/xmpp/flushLastViewedToPrivateStore.js +7 -8
- package/lib/module/networking/xmpp/flushLastViewedToPrivateStore.js.map +1 -1
- package/lib/module/networking/xmpp/getRoomsPaged.xmpp.js +26 -3
- package/lib/module/networking/xmpp/getRoomsPaged.xmpp.js.map +1 -1
- package/lib/module/networking/xmpp/presenceInRoom.xmpp.js +26 -8
- package/lib/module/networking/xmpp/presenceInRoom.xmpp.js.map +1 -1
- package/lib/module/networking/xmpp/sendTextMessage.xmpp.js +2 -1
- package/lib/module/networking/xmpp/sendTextMessage.xmpp.js.map +1 -1
- package/lib/module/networking/xmppClient.js +371 -26
- package/lib/module/networking/xmppClient.js.map +1 -1
- package/lib/module/roomStore/Middleware/unreadMidlleware.js +22 -6
- package/lib/module/roomStore/Middleware/unreadMidlleware.js.map +1 -1
- package/lib/module/roomStore/roomHeapSlice.js +24 -7
- package/lib/module/roomStore/roomHeapSlice.js.map +1 -1
- package/lib/module/roomStore/roomsSlice.js +154 -22
- package/lib/module/roomStore/roomsSlice.js.map +1 -1
- package/lib/module/utils/installPromiseRejectionTracker.js +78 -0
- package/lib/module/utils/installPromiseRejectionTracker.js.map +1 -0
- package/lib/module/utils/resendMessage.js +1 -1
- package/lib/module/utils/resendMessage.js.map +1 -1
- package/lib/typescript/assets/icons.d.ts +8 -4
- package/lib/typescript/assets/icons.d.ts.map +1 -1
- package/lib/typescript/components/ContextMenu/ContextMenuComponents.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/MediaMessage.d.ts +1 -0
- package/lib/typescript/components/MainComponents/MediaMessage.d.ts.map +1 -1
- 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/ReduxWrapper.d.ts +1 -0
- package/lib/typescript/components/MainComponents/ReduxWrapper.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/SystemMessage.d.ts +0 -7
- package/lib/typescript/components/MainComponents/SystemMessage.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/Message.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/MessageInteractions.d.ts +4 -2
- package/lib/typescript/components/MessageBubble/MessageInteractions.d.ts.map +1 -1
- package/lib/typescript/components/Modals/AttachSheet/AttachSheet.d.ts.map +1 -1
- package/lib/typescript/components/Modals/FilePreviewModal/DocumentViewer.d.ts +29 -0
- package/lib/typescript/components/Modals/FilePreviewModal/DocumentViewer.d.ts.map +1 -0
- package/lib/typescript/components/Modals/FilePreviewModal/FilePreviewModal.d.ts +0 -1
- package/lib/typescript/components/Modals/FilePreviewModal/FilePreviewModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/FilePreviewModal/PdfView.d.ts.map +1 -1
- package/lib/typescript/components/Modals/Modal/Modal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/ModalWrapper/ModalWrapper.d.ts +6 -0
- package/lib/typescript/components/Modals/ModalWrapper/ModalWrapper.d.ts.map +1 -1
- package/lib/typescript/components/Modals/UserProfileModal/UserProfileModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/styledModalComponents.d.ts.map +1 -1
- package/lib/typescript/components/styled/MediaFilePreview.d.ts.map +1 -1
- package/lib/typescript/components/styled/MessageImage.d.ts.map +1 -1
- package/lib/typescript/components/styled/NewMessageLabel.d.ts +1 -5
- package/lib/typescript/components/styled/NewMessageLabel.d.ts.map +1 -1
- package/lib/typescript/components/styled/SendInput.d.ts.map +1 -1
- package/lib/typescript/components/styled/StyledInputComponents/MediaComponents.d.ts +9 -1
- package/lib/typescript/components/styled/StyledInputComponents/MediaComponents.d.ts.map +1 -1
- package/lib/typescript/components/styled/StyledInputComponents/StyledInputComponents.d.ts.map +1 -1
- package/lib/typescript/components/styled/UnsupportedType.d.ts +1 -0
- package/lib/typescript/components/styled/UnsupportedType.d.ts.map +1 -1
- package/lib/typescript/components/styled/VideoMessage.d.ts.map +1 -1
- package/lib/typescript/context/xmppProvider.d.ts +1 -0
- package/lib/typescript/context/xmppProvider.d.ts.map +1 -1
- package/lib/typescript/helpers/chatAutoEnterer.d.ts.map +1 -1
- 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 +9 -0
- package/lib/typescript/helpers/keyboardLayout.d.ts.map +1 -0
- package/lib/typescript/helpers/mediaDimensions.d.ts +9 -0
- package/lib/typescript/helpers/mediaDimensions.d.ts.map +1 -0
- package/lib/typescript/helpers/mimeToExtension.d.ts +37 -0
- package/lib/typescript/helpers/mimeToExtension.d.ts.map +1 -0
- package/lib/typescript/helpers/normalizeRoomJid.d.ts +2 -0
- package/lib/typescript/helpers/normalizeRoomJid.d.ts.map +1 -0
- package/lib/typescript/helpers/resolveInitBeforeLoadUser.d.ts +18 -0
- package/lib/typescript/helpers/resolveInitBeforeLoadUser.d.ts.map +1 -1
- package/lib/typescript/hooks/useChatRoomFocus.d.ts +42 -0
- package/lib/typescript/hooks/useChatRoomFocus.d.ts.map +1 -0
- package/lib/typescript/hooks/useChatWrapperInit.d.ts.map +1 -1
- package/lib/typescript/hooks/useEventHandlers.d.ts +6 -0
- package/lib/typescript/hooks/useEventHandlers.d.ts.map +1 -1
- package/lib/typescript/hooks/useHeapSender.d.ts.map +1 -1
- package/lib/typescript/hooks/useMessageHeapState.d.ts +2 -0
- package/lib/typescript/hooks/useMessageHeapState.d.ts.map +1 -1
- package/lib/typescript/hooks/usePushNotifications.d.ts.map +1 -1
- package/lib/typescript/hooks/useRoomState.d.ts +1 -0
- package/lib/typescript/hooks/useRoomState.d.ts.map +1 -1
- package/lib/typescript/hooks/useSendMessage.d.ts +2 -1
- package/lib/typescript/hooks/useSendMessage.d.ts.map +1 -1
- package/lib/typescript/hooks/useUnreadMessagesCounter.d.ts.map +1 -1
- package/lib/typescript/main.d.ts +1 -0
- package/lib/typescript/main.d.ts.map +1 -1
- package/lib/typescript/networking/api-requests/auth.api.d.ts +3 -0
- package/lib/typescript/networking/api-requests/auth.api.d.ts.map +1 -1
- package/lib/typescript/networking/apiClient.d.ts.map +1 -1
- package/lib/typescript/networking/outboundQueue.d.ts +57 -0
- package/lib/typescript/networking/outboundQueue.d.ts.map +1 -0
- package/lib/typescript/networking/xmpp/createTimeoutPromise.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/flushLastViewedToPrivateStore.d.ts +1 -1
- package/lib/typescript/networking/xmpp/flushLastViewedToPrivateStore.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/getRoomsPaged.xmpp.d.ts +1 -1
- package/lib/typescript/networking/xmpp/getRoomsPaged.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/presenceInRoom.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/sendTextMessage.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmppClient.d.ts +58 -5
- package/lib/typescript/networking/xmppClient.d.ts.map +1 -1
- package/lib/typescript/roomStore/Middleware/unreadMidlleware.d.ts.map +1 -1
- package/lib/typescript/roomStore/roomHeapSlice.d.ts +22 -1
- package/lib/typescript/roomStore/roomHeapSlice.d.ts.map +1 -1
- package/lib/typescript/roomStore/roomsSlice.d.ts +8 -1
- package/lib/typescript/roomStore/roomsSlice.d.ts.map +1 -1
- package/lib/typescript/types/models/media.model.d.ts +1 -0
- package/lib/typescript/types/models/media.model.d.ts.map +1 -1
- package/lib/typescript/types/models/xmpp.model.d.ts +1 -1
- package/lib/typescript/types/models/xmpp.model.d.ts.map +1 -1
- package/lib/typescript/types/types.d.ts +10 -0
- package/lib/typescript/types/types.d.ts.map +1 -1
- package/lib/typescript/utils/installPromiseRejectionTracker.d.ts +20 -0
- package/lib/typescript/utils/installPromiseRejectionTracker.d.ts.map +1 -0
- package/lib/typescript/utils/resendMessage.d.ts.map +1 -1
- package/package.json +18 -2
- package/src/assets/icons.tsx +23 -14
- package/src/components/ContextMenu/ContextMenuComponents.tsx +10 -5
- package/src/components/MainComponents/ChatHeader.tsx +5 -1
- package/src/components/MainComponents/ChatRoom.tsx +81 -61
- package/src/components/MainComponents/ChatWrapper.tsx +100 -21
- package/src/components/MainComponents/MediaMessage.tsx +18 -8
- package/src/components/MainComponents/MessageContainer.tsx +4 -2
- package/src/components/MainComponents/MessageList.tsx +185 -31
- package/src/components/MainComponents/ReduxWrapper.tsx +19 -9
- package/src/components/MainComponents/SystemMessage.tsx +38 -26
- package/src/components/MessageBubble/Message.tsx +110 -27
- package/src/components/MessageBubble/MessageInteractions.tsx +98 -29
- package/src/components/Modals/AttachSheet/AttachSheet.tsx +17 -3
- package/src/components/Modals/FilePreviewModal/DocumentViewer.tsx +93 -0
- package/src/components/Modals/FilePreviewModal/FilePreviewModal.tsx +182 -37
- package/src/components/Modals/FilePreviewModal/PdfView.tsx +32 -4
- package/src/components/Modals/Modal/Modal.tsx +4 -1
- package/src/components/Modals/ModalWrapper/ModalWrapper.tsx +77 -44
- package/src/components/Modals/UserProfileModal/UserProfileModal.tsx +19 -15
- package/src/components/Modals/styledModalComponents.tsx +4 -9
- package/src/components/styled/MediaFilePreview.tsx +111 -5
- package/src/components/styled/MessageImage.tsx +58 -14
- package/src/components/styled/NewMessageLabel.tsx +8 -5
- package/src/components/styled/SendInput.tsx +67 -29
- package/src/components/styled/StyledInputComponents/MediaComponents.tsx +15 -5
- package/src/components/styled/StyledInputComponents/StyledInputComponents.tsx +7 -2
- package/src/components/styled/UnsupportedType.tsx +7 -1
- package/src/components/styled/VideoMessage.tsx +59 -18
- package/src/context/MessageNotificationContext.tsx +8 -8
- package/src/context/xmppProvider.tsx +337 -32
- package/src/helpers/chatAutoEnterer.ts +2 -8
- package/src/helpers/historyPreloadScheduler.ts +4 -1
- package/src/helpers/insertMessageWithDelimiter.ts +22 -15
- package/src/helpers/keyboardLayout.ts +18 -0
- package/src/helpers/mediaDimensions.ts +47 -0
- package/src/helpers/mimeToExtension.ts +135 -0
- package/src/helpers/normalizeRoomJid.ts +6 -0
- package/src/helpers/resolveInitBeforeLoadUser.ts +79 -0
- package/src/hooks/useChatRoomFocus.ts +95 -0
- package/src/hooks/useChatWrapperInit.ts +51 -46
- package/src/hooks/useEventHandlers.tsx +24 -1
- package/src/hooks/useHeapSender.tsx +2 -1
- package/src/hooks/useLogout.tsx +3 -3
- package/src/hooks/useMessageHeapState.tsx +6 -2
- package/src/hooks/usePushNotifications.ts +21 -8
- package/src/hooks/useRoomState.tsx +4 -0
- package/src/hooks/useSendMessage.tsx +333 -17
- package/src/hooks/useUnreadMessagesCounter.ts +13 -16
- package/src/main.ts +1 -0
- package/src/networking/api-requests/auth.api.ts +60 -2
- package/src/networking/apiClient.ts +2 -1
- package/src/networking/outboundQueue.ts +98 -0
- package/src/networking/xmpp/createTimeoutPromise.xmpp.ts +5 -1
- package/src/networking/xmpp/flushLastViewedToPrivateStore.ts +11 -13
- package/src/networking/xmpp/getRoomsPaged.xmpp.ts +27 -3
- package/src/networking/xmpp/presenceInRoom.xmpp.ts +24 -9
- package/src/networking/xmpp/sendTextMessage.xmpp.ts +2 -1
- package/src/networking/xmppClient.ts +399 -31
- package/src/roomStore/Middleware/unreadMidlleware.tsx +23 -5
- package/src/roomStore/roomHeapSlice.ts +47 -4
- package/src/roomStore/roomsSlice.ts +177 -27
- package/src/types/models/media.model.ts +3 -0
- package/src/types/models/xmpp.model.ts +2 -1
- package/src/types/types.ts +25 -0
- package/src/utils/installPromiseRejectionTracker.ts +91 -0
- package/src/utils/resendMessage.ts +2 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Dev-only unhandled-promise-rejection tracker.
|
|
5
|
+
*
|
|
6
|
+
* RN's red-screen for `Uncaught (in promise, id: N)` famously hides the
|
|
7
|
+
* actual rejection's stack trace — it only shows the promise id. When a
|
|
8
|
+
* leak slips past the SDK's coverage, the integrator gets a useless
|
|
9
|
+
* red box that they can't diagnose.
|
|
10
|
+
*
|
|
11
|
+
* This installer attaches a global `unhandledrejection` listener that
|
|
12
|
+
* prints the rejection value AND a stack trace (best-effort) so the
|
|
13
|
+
* source is visible in Metro logs. It's a no-op in production builds.
|
|
14
|
+
*
|
|
15
|
+
* Installed automatically from `ReduxWrapper` on mount. Safe to call
|
|
16
|
+
* multiple times — guarded by a module-level flag.
|
|
17
|
+
*
|
|
18
|
+
* Bug #4 follow-up.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
let installed = false;
|
|
22
|
+
export function installPromiseRejectionTracker() {
|
|
23
|
+
if (typeof __DEV__ !== 'undefined' && !__DEV__) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
if (installed) {
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
installed = true;
|
|
30
|
+
|
|
31
|
+
// RN's RCTPromise polyfill emits `unhandledrejection` on the global
|
|
32
|
+
// (HermesInternal / global). It also forwards through the
|
|
33
|
+
// `process.on('unhandledRejection', ...)` shim on some builds.
|
|
34
|
+
const g = globalThis;
|
|
35
|
+
const onRejection = (eventOrReason, maybePromise) => {
|
|
36
|
+
// Two calling conventions across RN versions:
|
|
37
|
+
// - `(event)` where event has `.reason` / `.promise`
|
|
38
|
+
// - `(reason, promise)` (older)
|
|
39
|
+
const reason = eventOrReason?.reason ?? eventOrReason;
|
|
40
|
+
const promise = eventOrReason?.promise ?? maybePromise;
|
|
41
|
+
const stack = reason && reason.stack || new Error('unhandledrejection (captured at handler)').stack;
|
|
42
|
+
// console.WARN (not error): RN's LogBox turns every console.error into
|
|
43
|
+
// a full-screen red overlay. With `allRejections: true` Hermes reports
|
|
44
|
+
// rejections that get handled a microtask later (false positives, e.g.
|
|
45
|
+
// a bare `undefined` rejection during connect teardown), so escalating
|
|
46
|
+
// to a red box was pure noise. warn keeps the trace in Metro/Logs.
|
|
47
|
+
// eslint-disable-next-line no-console
|
|
48
|
+
console.warn('[ethora-rn] UNHANDLED PROMISE REJECTION:', typeof reason === 'object' ? JSON.stringify(reason, null, 2) : String(reason), '\nstack:', stack, '\npromise:', promise);
|
|
49
|
+
};
|
|
50
|
+
try {
|
|
51
|
+
if (typeof g.addEventListener === 'function') {
|
|
52
|
+
g.addEventListener('unhandledrejection', onRejection);
|
|
53
|
+
}
|
|
54
|
+
} catch {}
|
|
55
|
+
try {
|
|
56
|
+
if (g.process && typeof g.process.on === 'function') {
|
|
57
|
+
g.process.on('unhandledRejection', onRejection);
|
|
58
|
+
}
|
|
59
|
+
} catch {}
|
|
60
|
+
try {
|
|
61
|
+
// Hermes-only hook — newer RN exposes this.
|
|
62
|
+
if (typeof g.HermesInternal?.enablePromiseRejectionTracker === 'function') {
|
|
63
|
+
g.HermesInternal.enablePromiseRejectionTracker({
|
|
64
|
+
allRejections: false,
|
|
65
|
+
onUnhandled: (id, error) => {
|
|
66
|
+
// warn, not error — see note above. `allRejections: true` fires
|
|
67
|
+
// this for rejections handled a tick later, so a red box here
|
|
68
|
+
// was a false alarm. Stays visible in Metro/Logs as a warning.
|
|
69
|
+
// eslint-disable-next-line no-console
|
|
70
|
+
console.warn(`[ethora-rn] Hermes unhandled rejection id=${id}:`, error?.message ?? error, '\nstack:', error?.stack);
|
|
71
|
+
},
|
|
72
|
+
onHandled: () => {}
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
} catch {}
|
|
76
|
+
}
|
|
77
|
+
export default installPromiseRejectionTracker;
|
|
78
|
+
//# sourceMappingURL=installPromiseRejectionTracker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["installed","installPromiseRejectionTracker","__DEV__","g","globalThis","onRejection","eventOrReason","maybePromise","reason","promise","stack","Error","console","warn","JSON","stringify","String","addEventListener","process","on","HermesInternal","enablePromiseRejectionTracker","allRejections","onUnhandled","id","error","message","onHandled"],"sourceRoot":"../../../src","sources":["utils/installPromiseRejectionTracker.ts"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA,IAAIA,SAAS,GAAG,KAAK;AAErB,OAAO,SAASC,8BAA8BA,CAAA,EAAG;EAC/C,IAAI,OAAOC,OAAO,KAAK,WAAW,IAAI,CAACA,OAAO,EAAE;IAAC;EAAO;EACxD,IAAIF,SAAS,EAAE;IAAC;EAAO;EACvBA,SAAS,GAAG,IAAI;;EAEhB;EACA;EACA;EACA,MAAMG,CAAM,GAAGC,UAAiB;EAEhC,MAAMC,WAAW,GAAGA,CAACC,aAAkB,EAAEC,YAA2B,KAAK;IACvE;IACA;IACA;IACA,MAAMC,MAAM,GAAGF,aAAa,EAAEE,MAAM,IAAIF,aAAa;IACrD,MAAMG,OAAO,GAAGH,aAAa,EAAEG,OAAO,IAAIF,YAAY;IACtD,MAAMG,KAAK,GACRF,MAAM,IAAIA,MAAM,CAACE,KAAK,IACvB,IAAIC,KAAK,CAAC,0CAA0C,CAAC,CAACD,KAAK;IAC7D;IACA;IACA;IACA;IACA;IACA;IACAE,OAAO,CAACC,IAAI,CACV,0CAA0C,EAC1C,OAAOL,MAAM,KAAK,QAAQ,GAAGM,IAAI,CAACC,SAAS,CAACP,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,GAAGQ,MAAM,CAACR,MAAM,CAAC,EAC7E,UAAU,EACVE,KAAK,EACL,YAAY,EACZD,OACF,CAAC;EACH,CAAC;EAED,IAAI;IACF,IAAI,OAAON,CAAC,CAACc,gBAAgB,KAAK,UAAU,EAAE;MAC5Cd,CAAC,CAACc,gBAAgB,CAAC,oBAAoB,EAAEZ,WAAW,CAAC;IACvD;EACF,CAAC,CAAC,MAAM,CAAC;EACT,IAAI;IACF,IAAIF,CAAC,CAACe,OAAO,IAAI,OAAOf,CAAC,CAACe,OAAO,CAACC,EAAE,KAAK,UAAU,EAAE;MACnDhB,CAAC,CAACe,OAAO,CAACC,EAAE,CAAC,oBAAoB,EAAEd,WAAW,CAAC;IACjD;EACF,CAAC,CAAC,MAAM,CAAC;EACT,IAAI;IACF;IACA,IAAI,OAAOF,CAAC,CAACiB,cAAc,EAAEC,6BAA6B,KAAK,UAAU,EAAE;MACzElB,CAAC,CAACiB,cAAc,CAACC,6BAA6B,CAAC;QAC7CC,aAAa,EAAE,KAAK;QACpBC,WAAW,EAAEA,CAACC,EAAU,EAAEC,KAAU,KAAK;UACvC;UACA;UACA;UACA;UACAb,OAAO,CAACC,IAAI,CACV,6CAA6CW,EAAE,GAAG,EAClDC,KAAK,EAAEC,OAAO,IAAID,KAAK,EACvB,UAAU,EACVA,KAAK,EAAEf,KACT,CAAC;QACH,CAAC;QACDiB,SAAS,EAAEA,CAAA,KAAM,CAAC;MACpB,CAAC,CAAC;IACJ;EACF,CAAC,CAAC,MAAM,CAAC;AACX;AAEA,eAAe1B,8BAA8B","ignoreList":[]}
|
|
@@ -32,7 +32,7 @@ export async function resendMessage(message, options = {}) {
|
|
|
32
32
|
}));
|
|
33
33
|
const useTranslate = !!(options.respectTranslateConfig && config?.translates?.enabled);
|
|
34
34
|
if (useTranslate) {
|
|
35
|
-
client.sendTextMessageWithTranslateTagStanza(activeRoomJID, user.firstName, user.lastName, '', user.walletAddress, message.body, '', message.isReply || false, message.showInChannel === 'true' || false, message.mainMessage || '', state.chatSettingStore.langSource || 'en');
|
|
35
|
+
client.sendTextMessageWithTranslateTagStanza(activeRoomJID, user.firstName, user.lastName, '', user.walletAddress, message.body, '', message.isReply || false, message.showInChannel === 'true' || false, message.mainMessage || '', state.chatSettingStore.langSource || 'en', id);
|
|
36
36
|
} else {
|
|
37
37
|
client.sendMessage(activeRoomJID, user.firstName, user.lastName, '', user.walletAddress, message.body, '', message.isReply || false, message.showInChannel === 'true' || false, message.mainMessage || '', id);
|
|
38
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["requireXmppClient","store","addRoomMessage","v4","uuidv4","resendMessage","message","options","client","state","getState","user","chatSettingStore","config","activeRoomJID","roomJid","id","dispatch","roomJID","xmppUsername","name","firstName","lastName","date","Date","toISOString","body","xmppFrom","pending","isReply","showInChannel","mainMessage","useTranslate","respectTranslateConfig","translates","enabled","sendTextMessageWithTranslateTagStanza","walletAddress","langSource","sendMessage"],"sourceRoot":"../../../src","sources":["utils/resendMessage.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,kBAAkB;AACpD,SAASC,KAAK,QAAQ,cAAc;AACpC,SAASC,cAAc,QAAQ,yBAAyB;AACxD,SAASC,EAAE,IAAIC,MAAM,QAAQ,MAAM;AAOnC,OAAO,eAAeC,aAAaA,CACjCC,OAIC,EACDC,OAAsB,GAAG,CAAC,CAAC,EACV;EACjB,MAAMC,MAAM,GAAGR,iBAAiB,CAAC,CAAC;EAClC,MAAMS,KAAK,GAAGR,KAAK,CAACS,QAAQ,CAAC,CAAC;EAC9B,MAAMC,IAAI,GAAGF,KAAK,CAACG,gBAAgB,CAACD,IAAI;EACxC,MAAME,MAAM,GAAGJ,KAAK,CAACG,gBAAgB,CAACC,MAAM;EAC5C,MAAMC,aAAa,GAAGR,OAAO,CAACS,OAAO;EAErC,MAAMC,EAAE,GAAG,uBAAuBZ,MAAM,CAAC,CAAC,EAAE;EAE5CH,KAAK,CAACgB,QAAQ,CACZf,cAAc,CAAC;IACbgB,OAAO,EAAEJ,aAAa;IACtBR,OAAO,EAAE;MACPU,EAAE;MACFL,IAAI,EAAE;QACJ,GAAGA,IAAI;QACPK,EAAE,EAAEL,IAAI,CAACQ,YAAY,IAAI,EAAE;QAC3BC,IAAI,EAAET,IAAI,CAACU,SAAS,GAAG,GAAG,GAAGV,IAAI,CAACW;MACpC,CAAQ;MACRC,IAAI,EAAE,IAAIC,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;MAC9BC,IAAI,EAAEpB,OAAO,CAACoB,IAAI;MAClBX,OAAO,EAAED,aAAa;MACtBa,QAAQ,EAAE,GAAGb,aAAa,IAAIH,IAAI,CAACQ,YAAY,EAAE;MACjDS,OAAO,EAAE,IAAI;MACbC,OAAO,EAAEvB,OAAO,CAACuB,OAAO,IAAI,KAAK;MACjCC,aAAa,EAAGxB,OAAO,CAACwB,aAAa,IAAa,OAAe;MACjEC,WAAW,EAAEzB,OAAO,CAACyB,WAAW,IAAI;IACtC;EACF,CAAC,CACH,CAAC;EAED,MAAMC,YAAY,GAAG,CAAC,EACpBzB,OAAO,CAAC0B,sBAAsB,IAAIpB,MAAM,EAAEqB,UAAU,EAAEC,OAAO,CAC9D;EAED,IAAIH,YAAY,EAAE;IAChBxB,MAAM,CAAC4B,qCAAqC,CAC1CtB,aAAa,EACbH,IAAI,CAACU,SAAS,EACdV,IAAI,CAACW,QAAQ,EACb,EAAE,EACFX,IAAI,CAAC0B,aAAa,EAClB/B,OAAO,CAACoB,IAAI,EACZ,EAAE,EACFpB,OAAO,CAACuB,OAAO,IAAI,KAAK,EACxBvB,OAAO,CAACwB,aAAa,KAAK,MAAM,IAAI,KAAK,EACzCxB,OAAO,CAACyB,WAAW,IAAI,EAAE,EACxBtB,KAAK,CAACG,gBAAgB,CAAC0B,UAAU,IAAY,
|
|
1
|
+
{"version":3,"names":["requireXmppClient","store","addRoomMessage","v4","uuidv4","resendMessage","message","options","client","state","getState","user","chatSettingStore","config","activeRoomJID","roomJid","id","dispatch","roomJID","xmppUsername","name","firstName","lastName","date","Date","toISOString","body","xmppFrom","pending","isReply","showInChannel","mainMessage","useTranslate","respectTranslateConfig","translates","enabled","sendTextMessageWithTranslateTagStanza","walletAddress","langSource","sendMessage"],"sourceRoot":"../../../src","sources":["utils/resendMessage.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,kBAAkB;AACpD,SAASC,KAAK,QAAQ,cAAc;AACpC,SAASC,cAAc,QAAQ,yBAAyB;AACxD,SAASC,EAAE,IAAIC,MAAM,QAAQ,MAAM;AAOnC,OAAO,eAAeC,aAAaA,CACjCC,OAIC,EACDC,OAAsB,GAAG,CAAC,CAAC,EACV;EACjB,MAAMC,MAAM,GAAGR,iBAAiB,CAAC,CAAC;EAClC,MAAMS,KAAK,GAAGR,KAAK,CAACS,QAAQ,CAAC,CAAC;EAC9B,MAAMC,IAAI,GAAGF,KAAK,CAACG,gBAAgB,CAACD,IAAI;EACxC,MAAME,MAAM,GAAGJ,KAAK,CAACG,gBAAgB,CAACC,MAAM;EAC5C,MAAMC,aAAa,GAAGR,OAAO,CAACS,OAAO;EAErC,MAAMC,EAAE,GAAG,uBAAuBZ,MAAM,CAAC,CAAC,EAAE;EAE5CH,KAAK,CAACgB,QAAQ,CACZf,cAAc,CAAC;IACbgB,OAAO,EAAEJ,aAAa;IACtBR,OAAO,EAAE;MACPU,EAAE;MACFL,IAAI,EAAE;QACJ,GAAGA,IAAI;QACPK,EAAE,EAAEL,IAAI,CAACQ,YAAY,IAAI,EAAE;QAC3BC,IAAI,EAAET,IAAI,CAACU,SAAS,GAAG,GAAG,GAAGV,IAAI,CAACW;MACpC,CAAQ;MACRC,IAAI,EAAE,IAAIC,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;MAC9BC,IAAI,EAAEpB,OAAO,CAACoB,IAAI;MAClBX,OAAO,EAAED,aAAa;MACtBa,QAAQ,EAAE,GAAGb,aAAa,IAAIH,IAAI,CAACQ,YAAY,EAAE;MACjDS,OAAO,EAAE,IAAI;MACbC,OAAO,EAAEvB,OAAO,CAACuB,OAAO,IAAI,KAAK;MACjCC,aAAa,EAAGxB,OAAO,CAACwB,aAAa,IAAa,OAAe;MACjEC,WAAW,EAAEzB,OAAO,CAACyB,WAAW,IAAI;IACtC;EACF,CAAC,CACH,CAAC;EAED,MAAMC,YAAY,GAAG,CAAC,EACpBzB,OAAO,CAAC0B,sBAAsB,IAAIpB,MAAM,EAAEqB,UAAU,EAAEC,OAAO,CAC9D;EAED,IAAIH,YAAY,EAAE;IAChBxB,MAAM,CAAC4B,qCAAqC,CAC1CtB,aAAa,EACbH,IAAI,CAACU,SAAS,EACdV,IAAI,CAACW,QAAQ,EACb,EAAE,EACFX,IAAI,CAAC0B,aAAa,EAClB/B,OAAO,CAACoB,IAAI,EACZ,EAAE,EACFpB,OAAO,CAACuB,OAAO,IAAI,KAAK,EACxBvB,OAAO,CAACwB,aAAa,KAAK,MAAM,IAAI,KAAK,EACzCxB,OAAO,CAACyB,WAAW,IAAI,EAAE,EACxBtB,KAAK,CAACG,gBAAgB,CAAC0B,UAAU,IAAY,IAAI,EAClDtB,EACF,CAAC;EACH,CAAC,MAAM;IACLR,MAAM,CAAC+B,WAAW,CAChBzB,aAAa,EACbH,IAAI,CAACU,SAAS,EACdV,IAAI,CAACW,QAAQ,EACb,EAAE,EACFX,IAAI,CAAC0B,aAAa,EAClB/B,OAAO,CAACoB,IAAI,EACZ,EAAE,EACFpB,OAAO,CAACuB,OAAO,IAAI,KAAK,EACxBvB,OAAO,CAACwB,aAAa,KAAK,MAAM,IAAI,KAAK,EACzCxB,OAAO,CAACyB,WAAW,IAAI,EAAE,EACzBf,EACF,CAAC;EACH;EAEA,OAAOA,EAAE;AACX;AAEA,eAAeX,aAAa","ignoreList":[]}
|
|
@@ -126,25 +126,29 @@ export declare const FileIcon: ({ width, height, ...props }: {
|
|
|
126
126
|
width?: number | undefined;
|
|
127
127
|
height?: number | undefined;
|
|
128
128
|
}) => React.JSX.Element;
|
|
129
|
-
export declare const CameraIcon: ({ width, height, ...props }: {
|
|
129
|
+
export declare const CameraIcon: ({ width, height, color, ...props }: {
|
|
130
130
|
[x: string]: any;
|
|
131
131
|
width?: number | undefined;
|
|
132
132
|
height?: number | undefined;
|
|
133
|
+
color?: string | undefined;
|
|
133
134
|
}) => React.JSX.Element;
|
|
134
|
-
export declare const MediaIcon: ({ width, height, ...props }: {
|
|
135
|
+
export declare const MediaIcon: ({ width, height, color, ...props }: {
|
|
135
136
|
[x: string]: any;
|
|
136
137
|
width?: number | undefined;
|
|
137
138
|
height?: number | undefined;
|
|
139
|
+
color?: string | undefined;
|
|
138
140
|
}) => React.JSX.Element;
|
|
139
|
-
export declare const DocumentIcon: ({ width, height, ...props }: {
|
|
141
|
+
export declare const DocumentIcon: ({ width, height, color, ...props }: {
|
|
140
142
|
[x: string]: any;
|
|
141
143
|
width?: number | undefined;
|
|
142
144
|
height?: number | undefined;
|
|
145
|
+
color?: string | undefined;
|
|
143
146
|
}) => React.JSX.Element;
|
|
144
|
-
export declare const ArowDownIcon: ({ width, height, ...props }: {
|
|
147
|
+
export declare const ArowDownIcon: ({ width, height, color, ...props }: {
|
|
145
148
|
[x: string]: any;
|
|
146
149
|
width?: number | undefined;
|
|
147
150
|
height?: number | undefined;
|
|
151
|
+
color?: string | undefined;
|
|
148
152
|
}) => React.JSX.Element;
|
|
149
153
|
export declare const DoubleTick: ({ fill, color, ...props }: {
|
|
150
154
|
[x: string]: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/assets/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,eAAO,MAAM,UAAU,GAAI;;;CAA+B,sBAmBzD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;CAA+B,sBAUzD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,GAAG,sBAwBnC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,GAAG,sBAkBtC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,GAAG,sBAwBpC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,GAAG,sBAqBpC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA+B,sBAOvD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;CAAY,sBA2BtC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA+B,sBAOvD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;CAA+B,sBAOzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI;;;CAA+B,sBA6BjE,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI;;;CAA+B,sBAuB3D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;CAA+B,sBA4BzD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;CAA+B,sBAiBzD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;;;;CAM1B,sBAOA,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA+B,sBAiBvD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI;;;CAA+B,sBAOxD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI;;;CAA+B,sBAyB3D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI;;;CAA+B,sBA+B3D,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA4B,sBAOpD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI;;;CAA4B,sBAOrD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI;;;CAA4B,sBAWxD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI;;;CAA4B,sBAW1D,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI;;;CAA4B,sBAiBrD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA4B,sBAWpD,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI;;;CAA4B,sBAOlD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA4B,sBAWpD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA4B,sBAUpD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA+B,sBAwBvD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA4B,sBAOpD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA+B,sBAUvD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI;;;CAA+B,sBAW1D,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI;;;CAA+B,sBAa1D,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;;CAAqC,sBAW7D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/assets/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,eAAO,MAAM,UAAU,GAAI;;;CAA+B,sBAmBzD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;CAA+B,sBAUzD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,GAAG,sBAwBnC,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,GAAG,sBAkBtC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,GAAG,sBAwBpC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,OAAO,GAAG,sBAqBpC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA+B,sBAOvD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;CAAY,sBA2BtC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA+B,sBAOvD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;CAA+B,sBAOzD,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI;;;CAA+B,sBA6BjE,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI;;;CAA+B,sBAuB3D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;CAA+B,sBA4BzD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;CAA+B,sBAiBzD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;;;;CAM1B,sBAOA,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA+B,sBAiBvD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI;;;CAA+B,sBAOxD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI;;;CAA+B,sBAyB3D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI;;;CAA+B,sBA+B3D,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA4B,sBAOpD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI;;;CAA4B,sBAOrD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI;;;CAA4B,sBAWxD,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI;;;CAA4B,sBAW1D,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI;;;CAA4B,sBAiBrD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA4B,sBAWpD,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI;;;CAA4B,sBAOlD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA4B,sBAWpD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA4B,sBAUpD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA+B,sBAwBvD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA4B,sBAOpD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;CAA+B,sBAUvD,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI;;;CAA+B,sBAW1D,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI;;;CAA+B,sBAa1D,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI;;;;CAAqC,sBAW7D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;;;CAAwD,sBAOlF,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI;;;;;CAAwD,sBASjF,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI;;;;;CAAwD,sBAUpF,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI;;;;;CAK5B,sBAcA,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI;;;;CAA8C,sBAgBxE,CAAC;AAEF,wBAAgB,OAAO,CAAC,EAAE,KAAU,EAAE,MAAW,EAAE;;;CAAA,qBAiBlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextMenuComponents.d.ts","sourceRoot":"","sources":["../../../../src/components/ContextMenu/ContextMenuComponents.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,iPAGjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,iPAU7B,CAAC;AAEF,eAAO,MAAM,aAAa,iPAQzB,CAAC;AAEF,eAAO,MAAM,WAAW;eAA4B,OAAO;;eAAP,OAAO;oBAS1D,CAAC;AAEF,eAAO,MAAM,WAAW,iPAavB,CAAC;AAEF,eAAO,MAAM,QAAQ,qXAMpB,CAAC;AAEF,eAAO,MAAM,OAAO,qXAQnB,CAAC;
|
|
1
|
+
{"version":3,"file":"ContextMenuComponents.d.ts","sourceRoot":"","sources":["../../../../src/components/ContextMenu/ContextMenuComponents.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB,iPAGjC,CAAC;AAEF,eAAO,MAAM,iBAAiB,iPAU7B,CAAC;AAEF,eAAO,MAAM,aAAa,iPAQzB,CAAC;AAEF,eAAO,MAAM,WAAW;eAA4B,OAAO;;eAAP,OAAO;oBAS1D,CAAC;AAEF,eAAO,MAAM,WAAW,iPAavB,CAAC;AAEF,eAAO,MAAM,QAAQ,qXAMpB,CAAC;AAEF,eAAO,MAAM,OAAO,qXAQnB,CAAC;AAOF,eAAO,MAAM,SAAS,iPAMrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/ChatHeader.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAsB,MAAM,OAAO,CAAC;AAS3C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAmB1C,UAAU,eAAe;IACvB,WAAW,EAAE,KAAK,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,
|
|
1
|
+
{"version":3,"file":"ChatHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/ChatHeader.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAsB,MAAM,OAAO,CAAC;AAS3C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAmB1C,UAAU,eAAe;IACvB,WAAW,EAAE,KAAK,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA6GzC,CAAC;AAsBF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatRoom.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/ChatRoom.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAmD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ChatRoom.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/ChatRoom.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAmD,MAAM,OAAO,CAAC;AAsBxE,OAAO,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAuB1D,UAAU,aAAa;IACrB,sBAAsB,CAAC,EAAE,GAAG,CAAC;IAC7B,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAChD,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAChD,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAC9C,qBAAqB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IACjD,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,aAAa,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CAC1C;AAED,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAuWrC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/ChatWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,EAAE,EAA+B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ChatWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/ChatWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAC,EAAE,EAA+B,MAAM,OAAO,CAAC;AAa9D,OAAO,EAAC,OAAO,EAAE,KAAK,EAAE,YAAY,EAAkB,MAAM,mBAAmB,CAAC;AAsBhF,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,SAAS,CAAC,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,CAAC;IAC9C,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1C,sBAAsB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IAC3D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAmZrC,CAAC;AAEF,OAAO,EAAC,WAAW,EAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/MediaMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"MediaMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/MediaMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAQ7C,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAuD7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/MessageContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAYtD,UAAU,qBAAqB;IAC7B,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAClC,OAAO,EAAE,QAAQ,CAAC;QAClB,MAAM,EAAE,OAAO,CAAC;QAChB,OAAO,EAAE,OAAO,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC,CAAC;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACvC,IAAI,EAAE,IAAI,CAAC;QACX,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC,CAAC;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;IACH,OAAO,EAAE,QAAQ,CAAC;IAClB,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"MessageContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/MessageContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAYtD,UAAU,qBAAqB;IAC7B,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAClC,OAAO,EAAE,QAAQ,CAAC;QAClB,MAAM,EAAE,OAAO,CAAC;QAChB,OAAO,EAAE,OAAO,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC,CAAC;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACvC,IAAI,EAAE,IAAI,CAAC;QACX,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC,CAAC;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;IACH,OAAO,EAAE,QAAQ,CAAC;IAClB,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAuFtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/MessageList.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAMN,MAAM,OAAO,CAAC;AAYf,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAS,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/MessageList.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAMN,MAAM,OAAO,CAAC;AAYf,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAS,MAAM,mBAAmB,CAAC;AAUnE,UAAU,gBAAgB,CAAC,QAAQ,SAAS,QAAQ;IAClD,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAClC,OAAO,EAAE,QAAQ,CAAC;QAClB,MAAM,EAAE,OAAO,CAAC;QAChB,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC,CAAC;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACvC,IAAI,EAAE,IAAI,CAAC;QACX,aAAa,EAAE,MAAM,CAAC;KACvB,CAAC,CAAC;IACH,qBAAqB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC,CAAC;IACH,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,EAAE,CAChB,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,MAAM,EACX,MAAM,CAAC,EAAE,MAAM,KACZ,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,CAAC,EAAE,QAAQ,CAAC;CAC1B;AAED,QAAA,MAAM,WAAW,GAAI,QAAQ,SAAS,QAAQ,EAAE,yIAW7C,gBAAgB,CAAC,QAAQ,CAAC,sBAqa5B,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -12,6 +12,7 @@ interface ChatWrapperProps {
|
|
|
12
12
|
MainComponentStyles?: React.CSSProperties;
|
|
13
13
|
CustomMessageComponent?: React.ComponentType<MessageProps>;
|
|
14
14
|
config?: IConfig;
|
|
15
|
+
isVisible?: boolean;
|
|
15
16
|
}
|
|
16
17
|
export declare const ReduxWrapper: React.FC<ChatWrapperProps>;
|
|
17
18
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReduxWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/ReduxWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ReduxWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/ReduxWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgB,MAAM,OAAO,CAAC;AAKrC,OAAO,EAAC,UAAU,EAAE,OAAO,EAAE,YAAY,EAAC,MAAM,mBAAmB,CAAC;AAKpE,OAAO,4BAA4B,CAAC;AAQpC,UAAU,gBAAgB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,CAAC;IAC9C,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1C,sBAAsB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IAC3D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAsBnD,CAAC"}
|
|
@@ -6,13 +6,6 @@ interface SystemMessageProps {
|
|
|
6
6
|
secondary?: string;
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
export declare const CustomSystemMessageText: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("react-native").TextProps, "primary" | "secondary"> & {
|
|
10
|
-
primary?: string;
|
|
11
|
-
secondary?: string;
|
|
12
|
-
}, never> & Partial<Pick<import("styled-components/native/dist/types").FastOmit<import("react-native").TextProps, "primary" | "secondary"> & {
|
|
13
|
-
primary?: string;
|
|
14
|
-
secondary?: string;
|
|
15
|
-
}, never>>> & string;
|
|
16
9
|
declare const SystemMessage: React.FC<SystemMessageProps>;
|
|
17
10
|
export default SystemMessage;
|
|
18
11
|
//# sourceMappingURL=SystemMessage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SystemMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/SystemMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SystemMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/MainComponents/SystemMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,kBAAkB;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACnD;AAED,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAsB/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageBubble/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageBubble/Message.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2B,MAAM,OAAO,CAAC;AAwBhD,OAAO,EAAS,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAwGxD,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAoTnC,CAAC;AAEF,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -5,8 +5,10 @@ interface MessageInteractionsProps {
|
|
|
5
5
|
isUser?: boolean;
|
|
6
6
|
message: IMessage;
|
|
7
7
|
position: {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
left: number;
|
|
9
|
+
right: number;
|
|
10
|
+
top: number;
|
|
11
|
+
bottom: number;
|
|
10
12
|
} | null;
|
|
11
13
|
closeMenu: () => void;
|
|
12
14
|
handleReplyMessage: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageInteractions.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageBubble/MessageInteractions.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"MessageInteractions.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageBubble/MessageInteractions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAQjD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAa7C,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,QAAQ,CAAC;IAClB,QAAQ,EAAE;QACR,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,GAAG,EAAE,MAAM,CAAC;QACZ,MAAM,EAAE,MAAM,CAAC;KAChB,GAAG,IAAI,CAAC;IACT,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,qBAAqB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAC7C;AAED,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CA8I3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/AttachSheet/AttachSheet.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,
|
|
1
|
+
{"version":3,"file":"AttachSheet.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/AttachSheet/AttachSheet.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAiB,MAAM,OAAO,CAAC;AAWtC,UAAU,gBAAgB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAuG3C,CAAC;AAmFF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DocumentViewerProps {
|
|
3
|
+
/** Public CDN URL of the doc. Must be reachable from Google's servers. */
|
|
4
|
+
url: string;
|
|
5
|
+
/** Optional display filename; used for the error fallback only. */
|
|
6
|
+
fileName?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Inline preview for office documents (DOC / DOCX / XLS / XLSX / PPT /
|
|
10
|
+
* PPTX / TXT / RTF / CSV) and other non-PDF formats supported by
|
|
11
|
+
* Google's free gview rendering service.
|
|
12
|
+
*
|
|
13
|
+
* Strategy: embed `https://docs.google.com/gview?url=<encoded>&embedded=true`
|
|
14
|
+
* inside a WebView. Google fetches the doc from its public URL and
|
|
15
|
+
* renders it to a viewable iframe — no client-side dependency on
|
|
16
|
+
* native office libraries, no extra peer dep. Works for any backend
|
|
17
|
+
* whose file URLs are publicly reachable (which Ethora's `/files/`
|
|
18
|
+
* already are — they're CDN URLs returned in `item.location`).
|
|
19
|
+
*
|
|
20
|
+
* Limitations (documented for the integrator):
|
|
21
|
+
* - Requires public URL — won't work for auth-gated downloads.
|
|
22
|
+
* - First load can take 2-5s on slow networks.
|
|
23
|
+
* - Read-only — no editing, no print/share buttons.
|
|
24
|
+
*
|
|
25
|
+
* For PDFs use the existing PdfViewer (downloads then renders locally).
|
|
26
|
+
*/
|
|
27
|
+
declare const DocumentViewer: React.FC<DocumentViewerProps>;
|
|
28
|
+
export default DocumentViewer;
|
|
29
|
+
//# sourceMappingURL=DocumentViewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentViewer.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/FilePreviewModal/DocumentViewer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,UAAU,mBAAmB;IAC3B,0EAA0E;IAC1E,GAAG,EAAE,MAAM,CAAC;IACZ,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAwCjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const FullScreenVideo: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never> & Partial<Pick<import("react-native").ViewProps, never>>> & string;
|
|
3
2
|
interface FilePreviewModalProps {
|
|
4
3
|
handleCloseModal: any;
|
|
5
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FilePreviewModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/FilePreviewModal/FilePreviewModal.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"FilePreviewModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/FilePreviewModal/FilePreviewModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAsGnD,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,GAAG,CAAC;CACvB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA2OrD,CAAC;AAkBF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/FilePreviewModal/PdfView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,UAAU,cAAc;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,
|
|
1
|
+
{"version":3,"file":"PdfView.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/FilePreviewModal/PdfView.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAKnD,UAAU,cAAc;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAiFvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAMjD,UAAU,UAAU;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,KAAK,GAAG,CAAC;CAC1C;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAMjD,UAAU,UAAU;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,CAAC,KAAK,CAAC,EAAE,SAAS,KAAK,GAAG,CAAC;CAC1C;AAED,QAAA,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC,UAAU,CAoC/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -10,6 +10,12 @@ interface ModalWrapperProps {
|
|
|
10
10
|
setTextarea?: (value: string) => void;
|
|
11
11
|
handleCloseModal: () => void;
|
|
12
12
|
handleClick: () => void;
|
|
13
|
+
/**
|
|
14
|
+
* When true, render a small centered dialog instead of the default
|
|
15
|
+
* full-screen container. Used for confirm-style modals (Delete, Leave
|
|
16
|
+
* room) where edge-to-edge feels too heavy.
|
|
17
|
+
*/
|
|
18
|
+
compact?: boolean;
|
|
13
19
|
}
|
|
14
20
|
export declare const ModalWrapper: FC<ModalWrapperProps>;
|
|
15
21
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/ModalWrapper/ModalWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoB,MAAM,OAAO,CAAC;AAa7C,UAAU,iBAAiB;IACzB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,WAAW,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"ModalWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/ModalWrapper/ModalWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAoB,MAAM,OAAO,CAAC;AAa7C,UAAU,iBAAiB;IACzB,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAsF9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserProfileModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/UserProfileModal/UserProfileModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AA8CzE,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,GAAG,CAAC;CACvB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"UserProfileModal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Modals/UserProfileModal/UserProfileModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AA8CzE,UAAU,qBAAqB;IAC7B,gBAAgB,EAAE,GAAG,CAAC;CACvB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA0WrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styledModalComponents.d.ts","sourceRoot":"","sources":["../../../../src/components/Modals/styledModalComponents.tsx"],"names":[],"mappings":"AAAA,cAAc;AAKd,eAAO,MAAM,eAAe,iPAQ3B,CAAC;AAEF,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"styledModalComponents.d.ts","sourceRoot":"","sources":["../../../../src/components/Modals/styledModalComponents.tsx"],"names":[],"mappings":"AAAA,cAAc;AAKd,eAAO,MAAM,eAAe,iPAQ3B,CAAC;AAEF,eAAO,MAAM,WAAW,mYAQvB,CAAC;AAEF,eAAO,MAAM,cAAc,iPAa1B,CAAC;AAEF,eAAO,MAAM,UAAU,iPAItB,CAAC;AAEF,eAAO,MAAM,gBAAgB,iPAI5B,CAAC;AAEF,eAAO,MAAM,cAAc,iPAK1B,CAAC;AAEF,eAAO,MAAM,wBAAwB,iPASpC,CAAC;AAEF,eAAO,MAAM,eAAe,iPAe3B,CAAC;AAEF,eAAO,MAAM,UAAU,iPAItB,CAAC;AAEF,eAAO,MAAM,WAAW,iPAIvB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;oBAK3B,CAAC;AAEF,eAAO,MAAM,YAAY,iPAKxB,CAAC;AAEF,eAAO,MAAM,QAAQ,iPAMpB,CAAC;AAEF,eAAO,MAAM,QAAQ,iPAIpB,CAAC;AAEF,eAAO,MAAM,UAAU,iPAItB,CAAC;AAEF,eAAO,MAAM,iBAAiB,iPAO7B,CAAC;AAEF,eAAO,MAAM,SAAS,iPAIrB,CAAC;AAEF,eAAO,MAAM,KAAK,iPAGjB,CAAC;AAEF,eAAO,MAAM,YAAY,6PAExB,CAAC;AAEF,eAAO,MAAM,YAAY,iPAMxB,CAAC;AAEF,eAAO,MAAM,QAAQ,iPAIpB,CAAC;AAEF,eAAO,MAAM,OAAO,iPAInB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaFilePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/MediaFilePreview.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"MediaFilePreview.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/MediaFilePreview.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,EAAE,EAAY,MAAM,OAAO,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAG9C,UAAU,qBAAqB;IAC7B,YAAY,EAAE,SAAS,EAAE,CAAC;IAC1B,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AA6CD,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA0CtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageImage.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/MessageImage.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"MessageImage.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/MessageImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAenD,UAAU,uBAAuB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAKD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAuEzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const StyledLabel: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never> & Partial<Pick<import("react-native").ViewProps, never>>> & string;
|
|
3
|
-
export declare const StyledLabelText: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("
|
|
4
|
-
color?: string;
|
|
5
|
-
}, never> & Partial<Pick<import("styled-components/native/dist/types").FastOmit<import("react-native").TextProps, "color"> & {
|
|
6
|
-
color?: string;
|
|
7
|
-
}, never>>> & string;
|
|
3
|
+
export declare const StyledLabelText: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").TextProps, never> & Partial<Pick<import("react-native").TextProps, never>>> & string;
|
|
8
4
|
interface NewMessageLabelProps {
|
|
9
5
|
color?: string;
|
|
10
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewMessageLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/NewMessageLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,eAAO,MAAM,WAAW,iPAWvB,CAAC;AAEF,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"NewMessageLabel.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/NewMessageLabel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAa1B,eAAO,MAAM,WAAW,iPAWvB,CAAC;AAEF,eAAO,MAAM,eAAe,iPAK3B,CAAC;AAKF,UAAU,oBAAoB;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAUnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SendInput.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/SendInput.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,OAAO,EAAE,OAAO,EAAa,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"SendInput.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/SendInput.tsx"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,KAAmD,MAAM,OAAO,CAAC;AAMxE,OAAO,EAAE,OAAO,EAAa,MAAM,mBAAmB,CAAC;AAmDvD,UAAU,cAAc;IACtB,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,EAAE,CAAC;CAC5D;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA+VvC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -6,7 +6,15 @@ export declare const IconButton: import("styled-components/native/dist/types").I
|
|
|
6
6
|
export declare const UnsupportedContainer: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").TouchableOpacityProps & import("react").RefAttributes<import("react-native").View>, never> & Partial<Pick<import("react-native").TouchableOpacityProps & import("react").RefAttributes<import("react-native").View>, never>>> & string;
|
|
7
7
|
export declare const BackgroundFile: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never> & Partial<Pick<import("react-native").ViewProps, never>>> & string;
|
|
8
8
|
export declare const FileInformation: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never> & Partial<Pick<import("react-native").ViewProps, never>>> & string;
|
|
9
|
-
export declare const FileName: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("
|
|
9
|
+
export declare const FileName: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("styled-components/native/dist/types").FastOmit<import("react-native").TextProps, "isUser" | "colorIsUser" | "colorUsers"> & {
|
|
10
|
+
isUser: boolean;
|
|
11
|
+
colorIsUser: string | undefined;
|
|
12
|
+
colorUsers: string | undefined;
|
|
13
|
+
}, never> & Partial<Pick<import("styled-components/native/dist/types").FastOmit<import("react-native").TextProps, "isUser" | "colorIsUser" | "colorUsers"> & {
|
|
14
|
+
isUser: boolean;
|
|
15
|
+
colorIsUser: string | undefined;
|
|
16
|
+
colorUsers: string | undefined;
|
|
17
|
+
}, never>>> & string;
|
|
10
18
|
export declare const FileSizeContainer: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").ViewProps, never> & Partial<Pick<import("react-native").ViewProps, never>>> & string;
|
|
11
19
|
export declare const FileSize: import("styled-components/native/dist/types").IStyledComponentBase<"native", import("styled-components/native/dist/types").FastOmit<import("react-native").TextProps, never> & Partial<Pick<import("react-native").TextProps, never>>> & string;
|
|
12
20
|
//# sourceMappingURL=MediaComponents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaComponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/styled/StyledInputComponents/MediaComponents.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"MediaComponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/styled/StyledInputComponents/MediaComponents.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,SAAS,iPAYrB,CAAC;AAEF,eAAO,MAAM,eAAe,mPAI3B,CAAC;AAEF,eAAO,MAAM,YAAY,iPAQxB,CAAC;AAEF,eAAO,MAAM,eAAe,iPAM3B,CAAC;AAEF,eAAO,MAAM,UAAU,mYAStB,CAAC;AAEF,eAAO,MAAM,oBAAoB,mYAUhC,CAAC;AAEF,eAAO,MAAM,cAAc,iPAG1B,CAAC;AAEF,eAAO,MAAM,eAAe,iPAI3B,CAAC;AAEF,eAAO,MAAM,QAAQ;YACX,OAAO;iBACF,MAAM,GAAE,SAAS;gBAClB,MAAM,GAAG,SAAS;;YAFtB,OAAO;iBACF,MAAM,GAAE,SAAS;gBAClB,MAAM,GAAG,SAAS;oBAO/B,CAAC;AAEF,eAAO,MAAM,iBAAiB,iPAM7B,CAAC;AAEF,eAAO,MAAM,QAAQ,iPAKpB,CAAC"}
|
package/lib/typescript/components/styled/StyledInputComponents/StyledInputComponents.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyledInputComponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/styled/StyledInputComponents/StyledInputComponents.tsx"],"names":[],"mappings":"AAAA,cAAc;AAad,eAAO,MAAM,cAAc;aAA0B,OAAO;;aAAP,OAAO;oBAU3D,CAAC;AAEF,eAAO,MAAM,cAAc,iPAI1B,CAAC;AAEF,eAAO,MAAM,UAAU,mPAItB,CAAC;AAEF,eAAO,MAAM,qBAAqB,iPAKjC,CAAC;AAEF,eAAO,MAAM,YAAY;gBACX,OAAO;YACX,MAAM;;gBADF,OAAO;YACX,MAAM;
|
|
1
|
+
{"version":3,"file":"StyledInputComponents.d.ts","sourceRoot":"","sources":["../../../../../src/components/styled/StyledInputComponents/StyledInputComponents.tsx"],"names":[],"mappings":"AAAA,cAAc;AAad,eAAO,MAAM,cAAc;aAA0B,OAAO;;aAAP,OAAO;oBAU3D,CAAC;AAEF,eAAO,MAAM,cAAc,iPAI1B,CAAC;AAEF,eAAO,MAAM,UAAU,mPAItB,CAAC;AAEF,eAAO,MAAM,qBAAqB,iPAKjC,CAAC;AAEF,eAAO,MAAM,YAAY;gBACX,OAAO;YACX,MAAM;;gBADF,OAAO;YACX,MAAM;oBAkBf,CAAC;AAEF,eAAO,MAAM,eAAe,iPAAgB,CAAC;AAE7C,eAAO,MAAM,KAAK,iPAIjB,CAAC;AAEF,eAAO,MAAM,SAAS,iPAIrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,iPAI7B,CAAC;AAEF,eAAO,MAAM,eAAe,iPAK3B,CAAC;AAEF,eAAO,MAAM,oBAAoB,iPAKhC,CAAC;AAEF,eAAO,MAAM,WAAW,iPAUvB,CAAC;AAEF,eAAO,MAAM,QAAQ,mPAGpB,CAAC;AAEF,eAAO,MAAM,YAAY,iPAGxB,CAAC;AAEF,eAAO,MAAM,WAAW,2PAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,2PAMzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnsupportedType.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/UnsupportedType.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B,UAAU,iBAAiB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"UnsupportedType.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/UnsupportedType.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B,UAAU,iBAAiB;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAsE7C,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/VideoMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"VideoMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/VideoMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAgBnD,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAgDzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -14,6 +14,7 @@ interface XmppContextType {
|
|
|
14
14
|
interface XmppProviderProps {
|
|
15
15
|
children: ReactNode;
|
|
16
16
|
config?: IConfig;
|
|
17
|
+
isVisible?: boolean;
|
|
17
18
|
}
|
|
18
19
|
export declare const XmppProvider: React.FC<XmppProviderProps>;
|
|
19
20
|
export declare const useXmppClient: () => XmppContextType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xmppProvider.d.ts","sourceRoot":"","sources":["../../../src/context/xmppProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,SAAS,
|
|
1
|
+
{"version":3,"file":"xmppProvider.d.ts","sourceRoot":"","sources":["../../../src/context/xmppProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,SAAS,EAQV,MAAM,OAAO,CAAC;AAGf,OAAO,UAEN,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACL,OAAO,EACP,uBAAuB,EAEvB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;AAgCxB,UAAU,QAAQ;IAChB,OAAO,EAAE,UAAU,GAAG,MAAM,CAAC;CAC9B;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,QAAQ,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC9B,SAAS,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,gBAAgB,EAAE,CAChB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,YAAY,CAAC,EAAE,qBAAqB,KACjC,OAAO,CAAC,UAAU,CAAC,CAAC;CAC1B;AAID,UAAU,iBAAiB;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IAIjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAID,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAgnBpD,CAAC;AAEF,eAAO,MAAM,aAAa,uBAkBzB,CAAC;AAEF,iFAAiF;AACjF,wBAAgB,cAAc,SAE7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatAutoEnterer.d.ts","sourceRoot":"","sources":["../../../src/helpers/chatAutoEnterer.ts"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"chatAutoEnterer.d.ts","sourceRoot":"","sources":["../../../src/helpers/chatAutoEnterer.ts"],"names":[],"mappings":"AAAA,cAAc;AAEd,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAI3C,UAAU,UAAU;IAClB,YAAY,CAAC,EAAE;QACb,UAAU,CAAC,EAAE,MAAM,CAAC;KACrB,CAAC;CACH;AAED,UAAU,cAAc;IACtB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,MAAM,EAAE,UAAU,CAAC;IACnB,QAAQ,EAAE,WAAW,CAAC;CACvB;AAED,eAAO,MAAM,eAAe,GAAI,iDAK7B,cAAc,KAAG,IAenB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"historyPreloadScheduler.d.ts","sourceRoot":"","sources":["../../../src/helpers/historyPreloadScheduler.ts"],"names":[],"mappings":"AACA,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAKlD,UAAU,8BAA8B;IACtC,MAAM,EAAE,UAAU,CAAC;IACnB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;
|
|
1
|
+
{"version":3,"file":"historyPreloadScheduler.d.ts","sourceRoot":"","sources":["../../../src/helpers/historyPreloadScheduler.ts"],"names":[],"mappings":"AACA,OAAO,UAAU,MAAM,0BAA0B,CAAC;AAKlD,UAAU,8BAA8B;IACtC,MAAM,EAAE,UAAU,CAAC;IACnB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AA2ED;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,GACrC,SAAS,8BAA8B,KACtC,OAAO,CAAC,IAAI,CAmLd,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"insertMessageWithDelimiter.d.ts","sourceRoot":"","sources":["../../../src/helpers/insertMessageWithDelimiter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAkB1C,wBAAgB,0BAA0B,CACxC,YAAY,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,EACjC,OAAO,EAAE,QAAQ,EACjB,mBAAmB,EAAE;IAAE,QAAQ,EAAE,MAAM,MAAM,CAAA;CAAE,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"insertMessageWithDelimiter.d.ts","sourceRoot":"","sources":["../../../src/helpers/insertMessageWithDelimiter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAkB1C,wBAAgB,0BAA0B,CACxC,YAAY,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,EACjC,OAAO,EAAE,QAAQ,EACjB,mBAAmB,EAAE;IAAE,QAAQ,EAAE,MAAM,MAAM,CAAA;CAAE,GAAG,IAAI,QAiFvD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type KeyboardLayoutArgs = {
|
|
2
|
+
platform: string;
|
|
3
|
+
configuredOffset?: number;
|
|
4
|
+
bottomInset?: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const getKeyboardVerticalOffset: ({ platform, configuredOffset, bottomInset, }: KeyboardLayoutArgs) => number;
|
|
7
|
+
export declare const getInputDockPaddingBottom: ({ platform, bottomInset, }: Omit<KeyboardLayoutArgs, "configuredOffset">) => number;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=keyboardLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"keyboardLayout.d.ts","sourceRoot":"","sources":["../../../src/helpers/keyboardLayout.ts"],"names":[],"mappings":"AAAA,KAAK,kBAAkB,GAAG;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,yBAAyB,GAAI,8CAIvC,kBAAkB,KAAG,MACmC,CAAC;AAE5D,eAAO,MAAM,yBAAyB,GAAI,4BAGvC,IAAI,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,KAAG,MACZ,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const MEDIA_MAX_W: number;
|
|
2
|
+
export declare const MEDIA_MAX_H = 320;
|
|
3
|
+
export interface MediaDims {
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const defaultMediaDims: () => MediaDims;
|
|
8
|
+
export declare const fitMediaDimensions: (natW: number, natH: number) => MediaDims;
|
|
9
|
+
//# sourceMappingURL=mediaDimensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mediaDimensions.d.ts","sourceRoot":"","sources":["../../../src/helpers/mediaDimensions.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,WAAW,QAA4C,CAAC;AACrE,eAAO,MAAM,WAAW,MAAM,CAAC;AAK/B,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAGD,eAAO,MAAM,gBAAgB,QAAO,SAGlC,CAAC;AAKH,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,EAAE,MAAM,MAAM,KAAG,SAiB/D,CAAC"}
|