@ethora/chat-component-rn 26.9.1 → 26.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +19 -0
- package/lib/commonjs/assets/icons.js +2 -2
- package/lib/commonjs/assets/icons.js.map +1 -1
- package/lib/commonjs/components/Header/HeaderRoomList.js +22 -6
- package/lib/commonjs/components/Header/HeaderRoomList.js.map +1 -1
- package/lib/commonjs/components/InputComponents/Search.js +38 -1
- package/lib/commonjs/components/InputComponents/Search.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ArchivedMessageCard.js +166 -0
- package/lib/commonjs/components/MainComponents/ArchivedMessageCard.js.map +1 -0
- package/lib/commonjs/components/MainComponents/ChatHeader.js +22 -5
- package/lib/commonjs/components/MainComponents/ChatHeader.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ChatRoom.js +56 -25
- package/lib/commonjs/components/MainComponents/ChatRoom.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ChatWrapper.js +31 -1
- package/lib/commonjs/components/MainComponents/ChatWrapper.js.map +1 -1
- package/lib/commonjs/components/MainComponents/MediaMessage.js +18 -3
- package/lib/commonjs/components/MainComponents/MediaMessage.js.map +1 -1
- package/lib/commonjs/components/MainComponents/MessageList.js +739 -42
- package/lib/commonjs/components/MainComponents/MessageList.js.map +1 -1
- package/lib/commonjs/components/MainComponents/MessageSearchButton.js +58 -0
- package/lib/commonjs/components/MainComponents/MessageSearchButton.js.map +1 -0
- package/lib/commonjs/components/MainComponents/ReduxWrapper.js +15 -6
- package/lib/commonjs/components/MainComponents/ReduxWrapper.js.map +1 -1
- package/lib/commonjs/components/MainComponents/RoomList.js +110 -1
- package/lib/commonjs/components/MainComponents/RoomList.js.map +1 -1
- package/lib/commonjs/components/Menu/HeaderRoomListMenu.js +14 -3
- package/lib/commonjs/components/Menu/HeaderRoomListMenu.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/BubbleHighlight.js +112 -0
- package/lib/commonjs/components/MessageBubble/BubbleHighlight.js.map +1 -0
- package/lib/commonjs/components/MessageBubble/Message.js +169 -125
- package/lib/commonjs/components/MessageBubble/Message.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/MessageInteractions.js +98 -78
- package/lib/commonjs/components/MessageBubble/MessageInteractions.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/messageMenuLayout.js +50 -0
- package/lib/commonjs/components/MessageBubble/messageMenuLayout.js.map +1 -0
- package/lib/commonjs/components/Modals/ChatProfileModal/ChatProfileModal.js +73 -37
- package/lib/commonjs/components/Modals/ChatProfileModal/ChatProfileModal.js.map +1 -1
- package/lib/commonjs/components/Modals/MessageSearchModal/MessageHitResults.js +253 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/MessageHitResults.js.map +1 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/MessageSearchModal.js +488 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/MessageSearchModal.js.map +1 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/openHit.js +51 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/openHit.js.map +1 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/resolveSender.js +47 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/resolveSender.js.map +1 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/searchFilters.js +83 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/searchFilters.js.map +1 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/snippet.js +61 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/snippet.js.map +1 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/useMessageSearch.js +136 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/useMessageSearch.js.map +1 -0
- package/lib/commonjs/components/Modals/PublicChatsModal/PublicChatsModal.js +306 -0
- package/lib/commonjs/components/Modals/PublicChatsModal/PublicChatsModal.js.map +1 -0
- package/lib/commonjs/components/Modals/PublicChatsModal/publicChatsLogic.js +36 -0
- package/lib/commonjs/components/Modals/PublicChatsModal/publicChatsLogic.js.map +1 -0
- package/lib/commonjs/components/Modals/SelectUsersModal/SelectUsersModal.js +8 -1
- package/lib/commonjs/components/Modals/SelectUsersModal/SelectUsersModal.js.map +1 -1
- package/lib/commonjs/components/Modals/SettingsModals/BlockedUsers/BlockedUsersModal.js +14 -12
- package/lib/commonjs/components/Modals/SettingsModals/BlockedUsers/BlockedUsersModal.js.map +1 -1
- package/lib/commonjs/components/Modals/SettingsModals/DocumentShares/DocumentSharesModal.js +41 -39
- package/lib/commonjs/components/Modals/SettingsModals/DocumentShares/DocumentSharesModal.js.map +1 -1
- package/lib/commonjs/components/Modals/SettingsModals/ManageDataModal/ManageDataModal.js +137 -50
- package/lib/commonjs/components/Modals/SettingsModals/ManageDataModal/ManageDataModal.js.map +1 -1
- package/lib/commonjs/components/Modals/SettingsModals/ProfileShares/ProfileShares.js +15 -13
- package/lib/commonjs/components/Modals/SettingsModals/ProfileShares/ProfileShares.js.map +1 -1
- package/lib/commonjs/components/Modals/SettingsModals/Referrals/Referrals.js +57 -55
- package/lib/commonjs/components/Modals/SettingsModals/Referrals/Referrals.js.map +1 -1
- package/lib/commonjs/components/Modals/SettingsModals/SharedStyledComponents.js +15 -1
- package/lib/commonjs/components/Modals/SettingsModals/SharedStyledComponents.js.map +1 -1
- package/lib/commonjs/components/Modals/SettingsModals/Visibility/VisibilityModal.js +61 -59
- package/lib/commonjs/components/Modals/SettingsModals/Visibility/VisibilityModal.js.map +1 -1
- package/lib/commonjs/components/Modals/UserSettingsModal/UserSettingsModal.js +8 -3
- package/lib/commonjs/components/Modals/UserSettingsModal/UserSettingsModal.js.map +1 -1
- package/lib/commonjs/components/RoomComponents/ChatRoomItem.js +13 -2
- package/lib/commonjs/components/RoomComponents/ChatRoomItem.js.map +1 -1
- package/lib/commonjs/components/RoomComponents/SwipeableRoomRow.js +38 -6
- package/lib/commonjs/components/RoomComponents/SwipeableRoomRow.js.map +1 -1
- package/lib/commonjs/components/Thread/ThreadHeader.js +3 -1
- package/lib/commonjs/components/Thread/ThreadHeader.js.map +1 -1
- package/lib/commonjs/components/Thread/ThreadWrapper.js +90 -10
- package/lib/commonjs/components/Thread/ThreadWrapper.js.map +1 -1
- package/lib/commonjs/components/styled/AudioDecoderHost.js +338 -0
- package/lib/commonjs/components/styled/AudioDecoderHost.js.map +1 -0
- package/lib/commonjs/components/styled/AudioMessage.js +493 -420
- package/lib/commonjs/components/styled/AudioMessage.js.map +1 -1
- package/lib/commonjs/components/styled/SendInput.js +31 -5
- package/lib/commonjs/components/styled/SendInput.js.map +1 -1
- package/lib/commonjs/context/MessageNotificationContext.js +14 -4
- package/lib/commonjs/context/MessageNotificationContext.js.map +1 -1
- package/lib/commonjs/context/xmppProvider.js +41 -77
- package/lib/commonjs/context/xmppProvider.js.map +1 -1
- package/lib/commonjs/helpers/audioWaveform.js +165 -0
- package/lib/commonjs/helpers/audioWaveform.js.map +1 -0
- package/lib/commonjs/helpers/backgroundJoinSweep.js +36 -0
- package/lib/commonjs/helpers/backgroundJoinSweep.js.map +1 -0
- package/lib/commonjs/helpers/bubbleHighlight.js +44 -0
- package/lib/commonjs/helpers/bubbleHighlight.js.map +1 -0
- package/lib/commonjs/helpers/checkUniqueUsers.js +14 -12
- package/lib/commonjs/helpers/checkUniqueUsers.js.map +1 -1
- package/lib/commonjs/helpers/constants/MODAL_COMPONENTS.js +5 -1
- package/lib/commonjs/helpers/constants/MODAL_COMPONENTS.js.map +1 -1
- package/lib/commonjs/helpers/constants/MODAL_TYPES.js +3 -1
- package/lib/commonjs/helpers/constants/MODAL_TYPES.js.map +1 -1
- package/lib/commonjs/helpers/createRoomFromApi.js +40 -3
- package/lib/commonjs/helpers/createRoomFromApi.js.map +1 -1
- package/lib/commonjs/helpers/dedupeMembers.js +34 -0
- package/lib/commonjs/helpers/dedupeMembers.js.map +1 -0
- package/lib/commonjs/helpers/ethoraLogger.js +56 -0
- package/lib/commonjs/helpers/ethoraLogger.js.map +1 -0
- package/lib/commonjs/helpers/getUnnamedUsers.js +9 -4
- package/lib/commonjs/helpers/getUnnamedUsers.js.map +1 -1
- package/lib/commonjs/helpers/historyPreloadConfig.js +44 -0
- package/lib/commonjs/helpers/historyPreloadConfig.js.map +1 -0
- package/lib/commonjs/helpers/historyPreloadScheduler.js +372 -137
- package/lib/commonjs/helpers/historyPreloadScheduler.js.map +1 -1
- package/lib/commonjs/helpers/initRoomsPresence.js +17 -5
- package/lib/commonjs/helpers/initRoomsPresence.js.map +1 -1
- package/lib/commonjs/helpers/insertMessageWithDelimiter.js +5 -0
- package/lib/commonjs/helpers/insertMessageWithDelimiter.js.map +1 -1
- package/lib/commonjs/helpers/isLikelyMucJid.js +67 -0
- package/lib/commonjs/helpers/isLikelyMucJid.js.map +1 -0
- package/lib/commonjs/helpers/isMessageSearchEnabled.js +18 -0
- package/lib/commonjs/helpers/isMessageSearchEnabled.js.map +1 -0
- package/lib/commonjs/helpers/joiningRoom.js +14 -0
- package/lib/commonjs/helpers/joiningRoom.js.map +1 -0
- package/lib/commonjs/helpers/jumpThread.js +100 -0
- package/lib/commonjs/helpers/jumpThread.js.map +1 -0
- package/lib/commonjs/helpers/jumpToMessage.js +58 -0
- package/lib/commonjs/helpers/jumpToMessage.js.map +1 -0
- package/lib/commonjs/helpers/jumpWindow.js +187 -0
- package/lib/commonjs/helpers/jumpWindow.js.map +1 -0
- package/lib/commonjs/helpers/loadRoomHistory.js +75 -0
- package/lib/commonjs/helpers/loadRoomHistory.js.map +1 -0
- package/lib/commonjs/helpers/notificationPolicy.js +77 -0
- package/lib/commonjs/helpers/notificationPolicy.js.map +1 -0
- package/lib/commonjs/helpers/openRoomAtMessage.js +47 -0
- package/lib/commonjs/helpers/openRoomAtMessage.js.map +1 -0
- package/lib/commonjs/helpers/openThreadForJump.js +72 -0
- package/lib/commonjs/helpers/openThreadForJump.js.map +1 -0
- package/lib/commonjs/helpers/parseMessageReference.js +27 -8
- package/lib/commonjs/helpers/parseMessageReference.js.map +1 -1
- package/lib/commonjs/helpers/publicChatsEntry.js +17 -0
- package/lib/commonjs/helpers/publicChatsEntry.js.map +1 -0
- package/lib/commonjs/helpers/roomActivityScore.js +37 -0
- package/lib/commonjs/helpers/roomActivityScore.js.map +1 -0
- package/lib/commonjs/helpers/roomUserCount.js +36 -0
- package/lib/commonjs/helpers/roomUserCount.js.map +1 -0
- package/lib/commonjs/helpers/runConfiguredHistoryPreload.js +68 -0
- package/lib/commonjs/helpers/runConfiguredHistoryPreload.js.map +1 -0
- package/lib/commonjs/helpers/sessionAppId.js +24 -0
- package/lib/commonjs/helpers/sessionAppId.js.map +1 -0
- package/lib/commonjs/helpers/timestamp.js +43 -0
- package/lib/commonjs/helpers/timestamp.js.map +1 -0
- package/lib/commonjs/helpers/userResolver.js +517 -0
- package/lib/commonjs/helpers/userResolver.js.map +1 -0
- package/lib/commonjs/helpers/xmppIdShape.js +52 -0
- package/lib/commonjs/helpers/xmppIdShape.js.map +1 -0
- package/lib/commonjs/hooks/useChatWrapperInit.js +27 -5
- package/lib/commonjs/hooks/useChatWrapperInit.js.map +1 -1
- package/lib/commonjs/hooks/useHeapSender.js +54 -3
- package/lib/commonjs/hooks/useHeapSender.js.map +1 -1
- package/lib/commonjs/hooks/useJumpToMessage.js +411 -0
- package/lib/commonjs/hooks/useJumpToMessage.js.map +1 -0
- package/lib/commonjs/hooks/useMessageLoaderQueue.js +32 -5
- package/lib/commonjs/hooks/useMessageLoaderQueue.js.map +1 -1
- package/lib/commonjs/hooks/useMessageQueue.js +13 -5
- package/lib/commonjs/hooks/useMessageQueue.js.map +1 -1
- package/lib/commonjs/hooks/useRoomDirectory.js +29 -0
- package/lib/commonjs/hooks/useRoomDirectory.js.map +1 -0
- package/lib/commonjs/hooks/useRoomInitialization.js +27 -5
- package/lib/commonjs/hooks/useRoomInitialization.js.map +1 -1
- package/lib/commonjs/hooks/useRoomMute.js +62 -0
- package/lib/commonjs/hooks/useRoomMute.js.map +1 -0
- package/lib/commonjs/hooks/useRoomState.js +3 -1
- package/lib/commonjs/hooks/useRoomState.js.map +1 -1
- package/lib/commonjs/hooks/useSendMessage.js +13 -3
- package/lib/commonjs/hooks/useSendMessage.js.map +1 -1
- package/lib/commonjs/i18n/strings.js +312 -6
- package/lib/commonjs/i18n/strings.js.map +1 -1
- package/lib/commonjs/networking/api-requests/messageSearch.api.js +87 -0
- package/lib/commonjs/networking/api-requests/messageSearch.api.js.map +1 -0
- package/lib/commonjs/networking/api-requests/publicChats.api.js +48 -0
- package/lib/commonjs/networking/api-requests/publicChats.api.js.map +1 -0
- package/lib/commonjs/networking/api-requests/roomMembers.api.js +253 -4
- package/lib/commonjs/networking/api-requests/roomMembers.api.js.map +1 -1
- package/lib/commonjs/networking/api-requests/rooms.api.js +48 -12
- package/lib/commonjs/networking/api-requests/rooms.api.js.map +1 -1
- package/lib/commonjs/networking/api-requests/user.api.js +32 -3
- package/lib/commonjs/networking/api-requests/user.api.js.map +1 -1
- package/lib/commonjs/networking/api-requests/xmppToken.api.js +71 -0
- package/lib/commonjs/networking/api-requests/xmppToken.api.js.map +1 -0
- package/lib/commonjs/networking/ethoraEvents.js +227 -0
- package/lib/commonjs/networking/ethoraEvents.js.map +1 -0
- package/lib/commonjs/networking/stanzaHandlers.js +153 -16
- package/lib/commonjs/networking/stanzaHandlers.js.map +1 -1
- package/lib/commonjs/networking/xmpp/allRoomPresences.xmpp.js +124 -3
- package/lib/commonjs/networking/xmpp/allRoomPresences.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmpp/getHistory.xmpp.js +319 -35
- package/lib/commonjs/networking/xmpp/getHistory.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmpp/handleStanzas.xmpp.js +7 -0
- package/lib/commonjs/networking/xmpp/handleStanzas.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmpp/historyCursor.js +101 -0
- package/lib/commonjs/networking/xmpp/historyCursor.js.map +1 -0
- package/lib/commonjs/networking/xmpp/mamQueryIds.js +17 -0
- package/lib/commonjs/networking/xmpp/mamQueryIds.js.map +1 -0
- package/lib/commonjs/networking/xmpp/mamRouter.js +24 -9
- package/lib/commonjs/networking/xmpp/mamRouter.js.map +1 -1
- package/lib/commonjs/networking/xmpp/presenceInRoom.xmpp.js +70 -65
- package/lib/commonjs/networking/xmpp/presenceInRoom.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmpp/roomJoinSweep.js +389 -0
- package/lib/commonjs/networking/xmpp/roomJoinSweep.js.map +1 -0
- package/lib/commonjs/networking/xmpp/sendMediaMessage.xmpp.js +0 -1
- package/lib/commonjs/networking/xmpp/sendMediaMessage.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmpp/sendTextMessage.xmpp.js +0 -1
- package/lib/commonjs/networking/xmpp/sendTextMessage.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmpp/sendTextMessageWithTranslateTag.xmpp.js +0 -1
- package/lib/commonjs/networking/xmpp/sendTextMessageWithTranslateTag.xmpp.js.map +1 -1
- package/lib/commonjs/networking/xmppClient.js +269 -41
- package/lib/commonjs/networking/xmppClient.js.map +1 -1
- package/lib/commonjs/networking/xmppCredentials.js +80 -0
- package/lib/commonjs/networking/xmppCredentials.js.map +1 -0
- package/lib/commonjs/roomStore/Middleware/jumpThreadMiddleware.js +158 -0
- package/lib/commonjs/roomStore/Middleware/jumpThreadMiddleware.js.map +1 -0
- package/lib/commonjs/roomStore/Middleware/reactionsMiddleware.js +6 -0
- package/lib/commonjs/roomStore/Middleware/reactionsMiddleware.js.map +1 -1
- package/lib/commonjs/roomStore/Middleware/unreadMidlleware.js +45 -7
- package/lib/commonjs/roomStore/Middleware/unreadMidlleware.js.map +1 -1
- package/lib/commonjs/roomStore/chatSettingsSlice.js +21 -1
- package/lib/commonjs/roomStore/chatSettingsSlice.js.map +1 -1
- package/lib/commonjs/roomStore/index.js +13 -3
- package/lib/commonjs/roomStore/index.js.map +1 -1
- package/lib/commonjs/roomStore/persistence.js +48 -1
- package/lib/commonjs/roomStore/persistence.js.map +1 -1
- package/lib/commonjs/roomStore/roomsSlice.js +474 -60
- package/lib/commonjs/roomStore/roomsSlice.js.map +1 -1
- package/lib/commonjs/roomStore/safeKey.js +44 -0
- package/lib/commonjs/roomStore/safeKey.js.map +1 -0
- package/lib/commonjs/roomStore/usersSetCap.js +37 -0
- package/lib/commonjs/roomStore/usersSetCap.js.map +1 -0
- package/lib/commonjs/version.js +1 -1
- package/lib/commonjs/version.js.map +1 -1
- package/lib/module/assets/icons.js +1 -1
- package/lib/module/assets/icons.js.map +1 -1
- package/lib/module/components/Header/HeaderRoomList.js +23 -7
- package/lib/module/components/Header/HeaderRoomList.js.map +1 -1
- package/lib/module/components/InputComponents/Search.js +39 -2
- package/lib/module/components/InputComponents/Search.js.map +1 -1
- package/lib/module/components/MainComponents/ArchivedMessageCard.js +161 -0
- package/lib/module/components/MainComponents/ArchivedMessageCard.js.map +1 -0
- package/lib/module/components/MainComponents/ChatHeader.js +22 -5
- package/lib/module/components/MainComponents/ChatHeader.js.map +1 -1
- package/lib/module/components/MainComponents/ChatRoom.js +57 -26
- package/lib/module/components/MainComponents/ChatRoom.js.map +1 -1
- package/lib/module/components/MainComponents/ChatWrapper.js +31 -1
- package/lib/module/components/MainComponents/ChatWrapper.js.map +1 -1
- package/lib/module/components/MainComponents/MediaMessage.js +18 -3
- package/lib/module/components/MainComponents/MediaMessage.js.map +1 -1
- package/lib/module/components/MainComponents/MessageList.js +740 -42
- package/lib/module/components/MainComponents/MessageList.js.map +1 -1
- package/lib/module/components/MainComponents/MessageSearchButton.js +48 -0
- package/lib/module/components/MainComponents/MessageSearchButton.js.map +1 -0
- package/lib/module/components/MainComponents/ReduxWrapper.js +15 -7
- package/lib/module/components/MainComponents/ReduxWrapper.js.map +1 -1
- package/lib/module/components/MainComponents/RoomList.js +111 -2
- package/lib/module/components/MainComponents/RoomList.js.map +1 -1
- package/lib/module/components/Menu/HeaderRoomListMenu.js +15 -4
- package/lib/module/components/Menu/HeaderRoomListMenu.js.map +1 -1
- package/lib/module/components/MessageBubble/BubbleHighlight.js +106 -0
- package/lib/module/components/MessageBubble/BubbleHighlight.js.map +1 -0
- package/lib/module/components/MessageBubble/Message.js +172 -127
- package/lib/module/components/MessageBubble/Message.js.map +1 -1
- package/lib/module/components/MessageBubble/MessageInteractions.js +98 -78
- package/lib/module/components/MessageBubble/MessageInteractions.js.map +1 -1
- package/lib/module/components/MessageBubble/messageMenuLayout.js +45 -0
- package/lib/module/components/MessageBubble/messageMenuLayout.js.map +1 -0
- package/lib/module/components/Modals/ChatProfileModal/ChatProfileModal.js +74 -38
- package/lib/module/components/Modals/ChatProfileModal/ChatProfileModal.js.map +1 -1
- package/lib/module/components/Modals/MessageSearchModal/MessageHitResults.js +243 -0
- package/lib/module/components/Modals/MessageSearchModal/MessageHitResults.js.map +1 -0
- package/lib/module/components/Modals/MessageSearchModal/MessageSearchModal.js +482 -0
- package/lib/module/components/Modals/MessageSearchModal/MessageSearchModal.js.map +1 -0
- package/lib/module/components/Modals/MessageSearchModal/openHit.js +45 -0
- package/lib/module/components/Modals/MessageSearchModal/openHit.js.map +1 -0
- package/lib/module/components/Modals/MessageSearchModal/resolveSender.js +41 -0
- package/lib/module/components/Modals/MessageSearchModal/resolveSender.js.map +1 -0
- package/lib/module/components/Modals/MessageSearchModal/searchFilters.js +74 -0
- package/lib/module/components/Modals/MessageSearchModal/searchFilters.js.map +1 -0
- package/lib/module/components/Modals/MessageSearchModal/snippet.js +57 -0
- package/lib/module/components/Modals/MessageSearchModal/snippet.js.map +1 -0
- package/lib/module/components/Modals/MessageSearchModal/useMessageSearch.js +131 -0
- package/lib/module/components/Modals/MessageSearchModal/useMessageSearch.js.map +1 -0
- package/lib/module/components/Modals/PublicChatsModal/PublicChatsModal.js +300 -0
- package/lib/module/components/Modals/PublicChatsModal/PublicChatsModal.js.map +1 -0
- package/lib/module/components/Modals/PublicChatsModal/publicChatsLogic.js +30 -0
- package/lib/module/components/Modals/PublicChatsModal/publicChatsLogic.js.map +1 -0
- package/lib/module/components/Modals/SelectUsersModal/SelectUsersModal.js +8 -1
- package/lib/module/components/Modals/SelectUsersModal/SelectUsersModal.js.map +1 -1
- package/lib/module/components/Modals/SettingsModals/BlockedUsers/BlockedUsersModal.js +15 -13
- package/lib/module/components/Modals/SettingsModals/BlockedUsers/BlockedUsersModal.js.map +1 -1
- package/lib/module/components/Modals/SettingsModals/DocumentShares/DocumentSharesModal.js +42 -40
- package/lib/module/components/Modals/SettingsModals/DocumentShares/DocumentSharesModal.js.map +1 -1
- package/lib/module/components/Modals/SettingsModals/ManageDataModal/ManageDataModal.js +138 -52
- package/lib/module/components/Modals/SettingsModals/ManageDataModal/ManageDataModal.js.map +1 -1
- package/lib/module/components/Modals/SettingsModals/ProfileShares/ProfileShares.js +16 -14
- package/lib/module/components/Modals/SettingsModals/ProfileShares/ProfileShares.js.map +1 -1
- package/lib/module/components/Modals/SettingsModals/Referrals/Referrals.js +58 -56
- package/lib/module/components/Modals/SettingsModals/Referrals/Referrals.js.map +1 -1
- package/lib/module/components/Modals/SettingsModals/SharedStyledComponents.js +14 -0
- package/lib/module/components/Modals/SettingsModals/SharedStyledComponents.js.map +1 -1
- package/lib/module/components/Modals/SettingsModals/Visibility/VisibilityModal.js +62 -60
- package/lib/module/components/Modals/SettingsModals/Visibility/VisibilityModal.js.map +1 -1
- package/lib/module/components/Modals/UserSettingsModal/UserSettingsModal.js +9 -4
- package/lib/module/components/Modals/UserSettingsModal/UserSettingsModal.js.map +1 -1
- package/lib/module/components/RoomComponents/ChatRoomItem.js +14 -3
- package/lib/module/components/RoomComponents/ChatRoomItem.js.map +1 -1
- package/lib/module/components/RoomComponents/SwipeableRoomRow.js +39 -7
- package/lib/module/components/RoomComponents/SwipeableRoomRow.js.map +1 -1
- package/lib/module/components/Thread/ThreadHeader.js +3 -1
- package/lib/module/components/Thread/ThreadHeader.js.map +1 -1
- package/lib/module/components/Thread/ThreadWrapper.js +89 -9
- package/lib/module/components/Thread/ThreadWrapper.js.map +1 -1
- package/lib/module/components/styled/AudioDecoderHost.js +332 -0
- package/lib/module/components/styled/AudioDecoderHost.js.map +1 -0
- package/lib/module/components/styled/AudioMessage.js +495 -422
- package/lib/module/components/styled/AudioMessage.js.map +1 -1
- package/lib/module/components/styled/SendInput.js +32 -6
- package/lib/module/components/styled/SendInput.js.map +1 -1
- package/lib/module/context/MessageNotificationContext.js +15 -5
- package/lib/module/context/MessageNotificationContext.js.map +1 -1
- package/lib/module/context/xmppProvider.js +42 -78
- package/lib/module/context/xmppProvider.js.map +1 -1
- package/lib/module/helpers/audioWaveform.js +153 -0
- package/lib/module/helpers/audioWaveform.js.map +1 -0
- package/lib/module/helpers/backgroundJoinSweep.js +30 -0
- package/lib/module/helpers/backgroundJoinSweep.js.map +1 -0
- package/lib/module/helpers/bubbleHighlight.js +38 -0
- package/lib/module/helpers/bubbleHighlight.js.map +1 -0
- package/lib/module/helpers/checkUniqueUsers.js +15 -13
- package/lib/module/helpers/checkUniqueUsers.js.map +1 -1
- package/lib/module/helpers/constants/MODAL_COMPONENTS.js +5 -1
- package/lib/module/helpers/constants/MODAL_COMPONENTS.js.map +1 -1
- package/lib/module/helpers/constants/MODAL_TYPES.js +3 -1
- package/lib/module/helpers/constants/MODAL_TYPES.js.map +1 -1
- package/lib/module/helpers/createRoomFromApi.js +37 -3
- package/lib/module/helpers/createRoomFromApi.js.map +1 -1
- package/lib/module/helpers/dedupeMembers.js +28 -0
- package/lib/module/helpers/dedupeMembers.js.map +1 -0
- package/lib/module/helpers/ethoraLogger.js +52 -0
- package/lib/module/helpers/ethoraLogger.js.map +1 -0
- package/lib/module/helpers/getUnnamedUsers.js +9 -4
- package/lib/module/helpers/getUnnamedUsers.js.map +1 -1
- package/lib/module/helpers/historyPreloadConfig.js +39 -0
- package/lib/module/helpers/historyPreloadConfig.js.map +1 -0
- package/lib/module/helpers/historyPreloadScheduler.js +368 -134
- package/lib/module/helpers/historyPreloadScheduler.js.map +1 -1
- package/lib/module/helpers/initRoomsPresence.js +18 -5
- package/lib/module/helpers/initRoomsPresence.js.map +1 -1
- package/lib/module/helpers/insertMessageWithDelimiter.js +5 -0
- package/lib/module/helpers/insertMessageWithDelimiter.js.map +1 -1
- package/lib/module/helpers/isLikelyMucJid.js +60 -0
- package/lib/module/helpers/isLikelyMucJid.js.map +1 -0
- package/lib/module/helpers/isMessageSearchEnabled.js +13 -0
- package/lib/module/helpers/isMessageSearchEnabled.js.map +1 -0
- package/lib/module/helpers/joiningRoom.js +9 -0
- package/lib/module/helpers/joiningRoom.js.map +1 -0
- package/lib/module/helpers/jumpThread.js +83 -0
- package/lib/module/helpers/jumpThread.js.map +1 -0
- package/lib/module/helpers/jumpToMessage.js +52 -0
- package/lib/module/helpers/jumpToMessage.js.map +1 -0
- package/lib/module/helpers/jumpWindow.js +177 -0
- package/lib/module/helpers/jumpWindow.js.map +1 -0
- package/lib/module/helpers/loadRoomHistory.js +69 -0
- package/lib/module/helpers/loadRoomHistory.js.map +1 -0
- package/lib/module/helpers/notificationPolicy.js +70 -0
- package/lib/module/helpers/notificationPolicy.js.map +1 -0
- package/lib/module/helpers/openRoomAtMessage.js +41 -0
- package/lib/module/helpers/openRoomAtMessage.js.map +1 -0
- package/lib/module/helpers/openThreadForJump.js +68 -0
- package/lib/module/helpers/openThreadForJump.js.map +1 -0
- package/lib/module/helpers/parseMessageReference.js +26 -6
- package/lib/module/helpers/parseMessageReference.js.map +1 -1
- package/lib/module/helpers/publicChatsEntry.js +12 -0
- package/lib/module/helpers/publicChatsEntry.js.map +1 -0
- package/lib/module/helpers/roomActivityScore.js +30 -0
- package/lib/module/helpers/roomActivityScore.js.map +1 -0
- package/lib/module/helpers/roomUserCount.js +29 -0
- package/lib/module/helpers/roomUserCount.js.map +1 -0
- package/lib/module/helpers/runConfiguredHistoryPreload.js +63 -0
- package/lib/module/helpers/runConfiguredHistoryPreload.js.map +1 -0
- package/lib/module/helpers/sessionAppId.js +20 -0
- package/lib/module/helpers/sessionAppId.js.map +1 -0
- package/lib/module/helpers/timestamp.js +37 -0
- package/lib/module/helpers/timestamp.js.map +1 -0
- package/lib/module/helpers/userResolver.js +503 -0
- package/lib/module/helpers/userResolver.js.map +1 -0
- package/lib/module/helpers/xmppIdShape.js +46 -0
- package/lib/module/helpers/xmppIdShape.js.map +1 -0
- package/lib/module/hooks/useChatWrapperInit.js +16 -5
- package/lib/module/hooks/useChatWrapperInit.js.map +1 -1
- package/lib/module/hooks/useHeapSender.js +54 -3
- package/lib/module/hooks/useHeapSender.js.map +1 -1
- package/lib/module/hooks/useJumpToMessage.js +389 -0
- package/lib/module/hooks/useJumpToMessage.js.map +1 -0
- package/lib/module/hooks/useMessageLoaderQueue.js +32 -5
- package/lib/module/hooks/useMessageLoaderQueue.js.map +1 -1
- package/lib/module/hooks/useMessageQueue.js +13 -5
- package/lib/module/hooks/useMessageQueue.js.map +1 -1
- package/lib/module/hooks/useRoomDirectory.js +24 -0
- package/lib/module/hooks/useRoomDirectory.js.map +1 -0
- package/lib/module/hooks/useRoomInitialization.js +29 -7
- package/lib/module/hooks/useRoomInitialization.js.map +1 -1
- package/lib/module/hooks/useRoomMute.js +58 -0
- package/lib/module/hooks/useRoomMute.js.map +1 -0
- package/lib/module/hooks/useRoomState.js +3 -1
- package/lib/module/hooks/useRoomState.js.map +1 -1
- package/lib/module/hooks/useSendMessage.js +13 -3
- package/lib/module/hooks/useSendMessage.js.map +1 -1
- package/lib/module/i18n/strings.js +312 -6
- package/lib/module/i18n/strings.js.map +1 -1
- package/lib/module/networking/api-requests/messageSearch.api.js +81 -0
- package/lib/module/networking/api-requests/messageSearch.api.js.map +1 -0
- package/lib/module/networking/api-requests/publicChats.api.js +43 -0
- package/lib/module/networking/api-requests/publicChats.api.js.map +1 -0
- package/lib/module/networking/api-requests/roomMembers.api.js +248 -4
- package/lib/module/networking/api-requests/roomMembers.api.js.map +1 -1
- package/lib/module/networking/api-requests/rooms.api.js +48 -12
- package/lib/module/networking/api-requests/rooms.api.js.map +1 -1
- package/lib/module/networking/api-requests/user.api.js +31 -3
- package/lib/module/networking/api-requests/user.api.js.map +1 -1
- package/lib/module/networking/api-requests/xmppToken.api.js +66 -0
- package/lib/module/networking/api-requests/xmppToken.api.js.map +1 -0
- package/lib/module/networking/ethoraEvents.js +220 -0
- package/lib/module/networking/ethoraEvents.js.map +1 -0
- package/lib/module/networking/stanzaHandlers.js +155 -18
- package/lib/module/networking/stanzaHandlers.js.map +1 -1
- package/lib/module/networking/xmpp/allRoomPresences.xmpp.js +125 -3
- package/lib/module/networking/xmpp/allRoomPresences.xmpp.js.map +1 -1
- package/lib/module/networking/xmpp/getHistory.xmpp.js +318 -35
- package/lib/module/networking/xmpp/getHistory.xmpp.js.map +1 -1
- package/lib/module/networking/xmpp/handleStanzas.xmpp.js +7 -0
- package/lib/module/networking/xmpp/handleStanzas.xmpp.js.map +1 -1
- package/lib/module/networking/xmpp/historyCursor.js +95 -0
- package/lib/module/networking/xmpp/historyCursor.js.map +1 -0
- package/lib/module/networking/xmpp/mamQueryIds.js +12 -0
- package/lib/module/networking/xmpp/mamQueryIds.js.map +1 -0
- package/lib/module/networking/xmpp/mamRouter.js +22 -8
- package/lib/module/networking/xmpp/mamRouter.js.map +1 -1
- package/lib/module/networking/xmpp/presenceInRoom.xmpp.js +68 -62
- package/lib/module/networking/xmpp/presenceInRoom.xmpp.js.map +1 -1
- package/lib/module/networking/xmpp/roomJoinSweep.js +385 -0
- package/lib/module/networking/xmpp/roomJoinSweep.js.map +1 -0
- package/lib/module/networking/xmpp/sendMediaMessage.xmpp.js +0 -1
- package/lib/module/networking/xmpp/sendMediaMessage.xmpp.js.map +1 -1
- package/lib/module/networking/xmpp/sendTextMessage.xmpp.js +0 -1
- package/lib/module/networking/xmpp/sendTextMessage.xmpp.js.map +1 -1
- package/lib/module/networking/xmpp/sendTextMessageWithTranslateTag.xmpp.js +0 -1
- package/lib/module/networking/xmpp/sendTextMessageWithTranslateTag.xmpp.js.map +1 -1
- package/lib/module/networking/xmppClient.js +269 -41
- package/lib/module/networking/xmppClient.js.map +1 -1
- package/lib/module/networking/xmppCredentials.js +76 -0
- package/lib/module/networking/xmppCredentials.js.map +1 -0
- package/lib/module/roomStore/Middleware/jumpThreadMiddleware.js +153 -0
- package/lib/module/roomStore/Middleware/jumpThreadMiddleware.js.map +1 -0
- package/lib/module/roomStore/Middleware/reactionsMiddleware.js +6 -0
- package/lib/module/roomStore/Middleware/reactionsMiddleware.js.map +1 -1
- package/lib/module/roomStore/Middleware/unreadMidlleware.js +46 -7
- package/lib/module/roomStore/Middleware/unreadMidlleware.js.map +1 -1
- package/lib/module/roomStore/chatSettingsSlice.js +19 -0
- package/lib/module/roomStore/chatSettingsSlice.js.map +1 -1
- package/lib/module/roomStore/index.js +7 -3
- package/lib/module/roomStore/index.js.map +1 -1
- package/lib/module/roomStore/persistence.js +46 -1
- package/lib/module/roomStore/persistence.js.map +1 -1
- package/lib/module/roomStore/roomsSlice.js +459 -58
- package/lib/module/roomStore/roomsSlice.js.map +1 -1
- package/lib/module/roomStore/safeKey.js +37 -0
- package/lib/module/roomStore/safeKey.js.map +1 -0
- package/lib/module/roomStore/usersSetCap.js +32 -0
- package/lib/module/roomStore/usersSetCap.js.map +1 -0
- package/lib/module/version.js +1 -1
- package/lib/module/version.js.map +1 -1
- package/lib/typescript/assets/icons.d.ts +4 -0
- package/lib/typescript/assets/icons.d.ts.map +1 -1
- package/lib/typescript/components/Header/HeaderRoomList.d.ts.map +1 -1
- package/lib/typescript/components/InputComponents/Search.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/ArchivedMessageCard.d.ts +12 -0
- package/lib/typescript/components/MainComponents/ArchivedMessageCard.d.ts.map +1 -0
- 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.map +1 -1
- package/lib/typescript/components/MainComponents/MessageList.d.ts +22 -1
- package/lib/typescript/components/MainComponents/MessageList.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/MessageSearchButton.d.ts +7 -0
- package/lib/typescript/components/MainComponents/MessageSearchButton.d.ts.map +1 -0
- package/lib/typescript/components/MainComponents/ReduxWrapper.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/RoomList.d.ts.map +1 -1
- package/lib/typescript/components/Menu/HeaderRoomListMenu.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/BubbleHighlight.d.ts +12 -0
- package/lib/typescript/components/MessageBubble/BubbleHighlight.d.ts.map +1 -0
- package/lib/typescript/components/MessageBubble/Message.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/MessageInteractions.d.ts +5 -0
- package/lib/typescript/components/MessageBubble/MessageInteractions.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/messageMenuLayout.d.ts +29 -0
- package/lib/typescript/components/MessageBubble/messageMenuLayout.d.ts.map +1 -0
- package/lib/typescript/components/Modals/ChatProfileModal/ChatProfileModal.d.ts +2 -0
- package/lib/typescript/components/Modals/ChatProfileModal/ChatProfileModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/MessageSearchModal/MessageHitResults.d.ts +44 -0
- package/lib/typescript/components/Modals/MessageSearchModal/MessageHitResults.d.ts.map +1 -0
- package/lib/typescript/components/Modals/MessageSearchModal/MessageSearchModal.d.ts +12 -0
- package/lib/typescript/components/Modals/MessageSearchModal/MessageSearchModal.d.ts.map +1 -0
- package/lib/typescript/components/Modals/MessageSearchModal/openHit.d.ts +15 -0
- package/lib/typescript/components/Modals/MessageSearchModal/openHit.d.ts.map +1 -0
- package/lib/typescript/components/Modals/MessageSearchModal/resolveSender.d.ts +34 -0
- package/lib/typescript/components/Modals/MessageSearchModal/resolveSender.d.ts.map +1 -0
- package/lib/typescript/components/Modals/MessageSearchModal/searchFilters.d.ts +41 -0
- package/lib/typescript/components/Modals/MessageSearchModal/searchFilters.d.ts.map +1 -0
- package/lib/typescript/components/Modals/MessageSearchModal/snippet.d.ts +15 -0
- package/lib/typescript/components/Modals/MessageSearchModal/snippet.d.ts.map +1 -0
- package/lib/typescript/components/Modals/MessageSearchModal/useMessageSearch.d.ts +23 -0
- package/lib/typescript/components/Modals/MessageSearchModal/useMessageSearch.d.ts.map +1 -0
- package/lib/typescript/components/Modals/PublicChatsModal/PublicChatsModal.d.ts +16 -0
- package/lib/typescript/components/Modals/PublicChatsModal/PublicChatsModal.d.ts.map +1 -0
- package/lib/typescript/components/Modals/PublicChatsModal/publicChatsLogic.d.ts +14 -0
- package/lib/typescript/components/Modals/PublicChatsModal/publicChatsLogic.d.ts.map +1 -0
- package/lib/typescript/components/Modals/SelectUsersModal/SelectUsersModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/SettingsModals/BlockedUsers/BlockedUsersModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/SettingsModals/DocumentShares/DocumentSharesModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/SettingsModals/ManageDataModal/ManageDataModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/SettingsModals/ProfileShares/ProfileShares.d.ts.map +1 -1
- package/lib/typescript/components/Modals/SettingsModals/Referrals/Referrals.d.ts.map +1 -1
- package/lib/typescript/components/Modals/SettingsModals/SharedStyledComponents.d.ts +1 -0
- package/lib/typescript/components/Modals/SettingsModals/SharedStyledComponents.d.ts.map +1 -1
- package/lib/typescript/components/Modals/SettingsModals/Visibility/VisibilityModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/UserSettingsModal/UserSettingsModal.d.ts.map +1 -1
- package/lib/typescript/components/RoomComponents/ChatRoomItem.d.ts.map +1 -1
- package/lib/typescript/components/RoomComponents/SwipeableRoomRow.d.ts +5 -1
- package/lib/typescript/components/RoomComponents/SwipeableRoomRow.d.ts.map +1 -1
- package/lib/typescript/components/Thread/ThreadHeader.d.ts.map +1 -1
- package/lib/typescript/components/Thread/ThreadWrapper.d.ts +1 -0
- package/lib/typescript/components/Thread/ThreadWrapper.d.ts.map +1 -1
- package/lib/typescript/components/styled/AudioDecoderHost.d.ts +39 -0
- package/lib/typescript/components/styled/AudioDecoderHost.d.ts.map +1 -0
- package/lib/typescript/components/styled/AudioMessage.d.ts +14 -1
- package/lib/typescript/components/styled/AudioMessage.d.ts.map +1 -1
- package/lib/typescript/components/styled/SendInput.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/audioWaveform.d.ts +54 -0
- package/lib/typescript/helpers/audioWaveform.d.ts.map +1 -0
- package/lib/typescript/helpers/backgroundJoinSweep.d.ts +14 -0
- package/lib/typescript/helpers/backgroundJoinSweep.d.ts.map +1 -0
- package/lib/typescript/helpers/bubbleHighlight.d.ts +17 -0
- package/lib/typescript/helpers/bubbleHighlight.d.ts.map +1 -0
- package/lib/typescript/helpers/checkUniqueUsers.d.ts +2 -2
- package/lib/typescript/helpers/checkUniqueUsers.d.ts.map +1 -1
- package/lib/typescript/helpers/constants/MODAL_COMPONENTS.d.ts.map +1 -1
- package/lib/typescript/helpers/constants/MODAL_TYPES.d.ts +2 -0
- package/lib/typescript/helpers/constants/MODAL_TYPES.d.ts.map +1 -1
- package/lib/typescript/helpers/createRoomFromApi.d.ts +25 -0
- package/lib/typescript/helpers/createRoomFromApi.d.ts.map +1 -1
- package/lib/typescript/helpers/dedupeMembers.d.ts +11 -0
- package/lib/typescript/helpers/dedupeMembers.d.ts.map +1 -0
- package/lib/typescript/helpers/ethoraLogger.d.ts +13 -0
- package/lib/typescript/helpers/ethoraLogger.d.ts.map +1 -0
- package/lib/typescript/helpers/getUnnamedUsers.d.ts.map +1 -1
- package/lib/typescript/helpers/historyPreloadConfig.d.ts +26 -0
- package/lib/typescript/helpers/historyPreloadConfig.d.ts.map +1 -0
- package/lib/typescript/helpers/historyPreloadScheduler.d.ts +8 -4
- package/lib/typescript/helpers/historyPreloadScheduler.d.ts.map +1 -1
- package/lib/typescript/helpers/initRoomsPresence.d.ts +7 -0
- package/lib/typescript/helpers/initRoomsPresence.d.ts.map +1 -1
- package/lib/typescript/helpers/insertMessageWithDelimiter.d.ts.map +1 -1
- package/lib/typescript/helpers/isLikelyMucJid.d.ts +19 -0
- package/lib/typescript/helpers/isLikelyMucJid.d.ts.map +1 -0
- package/lib/typescript/helpers/isMessageSearchEnabled.d.ts +12 -0
- package/lib/typescript/helpers/isMessageSearchEnabled.d.ts.map +1 -0
- package/lib/typescript/helpers/joiningRoom.d.ts +7 -0
- package/lib/typescript/helpers/joiningRoom.d.ts.map +1 -0
- package/lib/typescript/helpers/jumpThread.d.ts +48 -0
- package/lib/typescript/helpers/jumpThread.d.ts.map +1 -0
- package/lib/typescript/helpers/jumpToMessage.d.ts +26 -0
- package/lib/typescript/helpers/jumpToMessage.d.ts.map +1 -0
- package/lib/typescript/helpers/jumpWindow.d.ts +74 -0
- package/lib/typescript/helpers/jumpWindow.d.ts.map +1 -0
- package/lib/typescript/helpers/loadRoomHistory.d.ts +34 -0
- package/lib/typescript/helpers/loadRoomHistory.d.ts.map +1 -0
- package/lib/typescript/helpers/notificationPolicy.d.ts +42 -0
- package/lib/typescript/helpers/notificationPolicy.d.ts.map +1 -0
- package/lib/typescript/helpers/openRoomAtMessage.d.ts +17 -0
- package/lib/typescript/helpers/openRoomAtMessage.d.ts.map +1 -0
- package/lib/typescript/helpers/openThreadForJump.d.ts +27 -0
- package/lib/typescript/helpers/openThreadForJump.d.ts.map +1 -0
- package/lib/typescript/helpers/parseMessageReference.d.ts +18 -5
- package/lib/typescript/helpers/parseMessageReference.d.ts.map +1 -1
- package/lib/typescript/helpers/publicChatsEntry.d.ts +11 -0
- package/lib/typescript/helpers/publicChatsEntry.d.ts.map +1 -0
- package/lib/typescript/helpers/roomActivityScore.d.ts +5 -0
- package/lib/typescript/helpers/roomActivityScore.d.ts.map +1 -0
- package/lib/typescript/helpers/roomUserCount.d.ts +20 -0
- package/lib/typescript/helpers/roomUserCount.d.ts.map +1 -0
- package/lib/typescript/helpers/runConfiguredHistoryPreload.d.ts +21 -0
- package/lib/typescript/helpers/runConfiguredHistoryPreload.d.ts.map +1 -0
- package/lib/typescript/helpers/sessionAppId.d.ts +8 -0
- package/lib/typescript/helpers/sessionAppId.d.ts.map +1 -0
- package/lib/typescript/helpers/timestamp.d.ts +3 -0
- package/lib/typescript/helpers/timestamp.d.ts.map +1 -0
- package/lib/typescript/helpers/userResolver.d.ts +58 -0
- package/lib/typescript/helpers/userResolver.d.ts.map +1 -0
- package/lib/typescript/helpers/xmppIdShape.d.ts +10 -0
- package/lib/typescript/helpers/xmppIdShape.d.ts.map +1 -0
- package/lib/typescript/hooks/useChatWrapperInit.d.ts +2 -0
- package/lib/typescript/hooks/useChatWrapperInit.d.ts.map +1 -1
- package/lib/typescript/hooks/useHeapSender.d.ts.map +1 -1
- package/lib/typescript/hooks/useJumpToMessage.d.ts +116 -0
- package/lib/typescript/hooks/useJumpToMessage.d.ts.map +1 -0
- package/lib/typescript/hooks/useMessageLoaderQueue.d.ts.map +1 -1
- package/lib/typescript/hooks/useMessageQueue.d.ts.map +1 -1
- package/lib/typescript/hooks/useRoomDirectory.d.ts +12 -0
- package/lib/typescript/hooks/useRoomDirectory.d.ts.map +1 -0
- package/lib/typescript/hooks/useRoomInitialization.d.ts.map +1 -1
- package/lib/typescript/hooks/useRoomMute.d.ts +8 -0
- package/lib/typescript/hooks/useRoomMute.d.ts.map +1 -0
- 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.map +1 -1
- package/lib/typescript/i18n/strings.d.ts.map +1 -1
- package/lib/typescript/networking/api-requests/messageSearch.api.d.ts +57 -0
- package/lib/typescript/networking/api-requests/messageSearch.api.d.ts.map +1 -0
- package/lib/typescript/networking/api-requests/publicChats.api.d.ts +24 -0
- package/lib/typescript/networking/api-requests/publicChats.api.d.ts.map +1 -0
- package/lib/typescript/networking/api-requests/roomMembers.api.d.ts +19 -1
- package/lib/typescript/networking/api-requests/roomMembers.api.d.ts.map +1 -1
- package/lib/typescript/networking/api-requests/rooms.api.d.ts.map +1 -1
- package/lib/typescript/networking/api-requests/user.api.d.ts +8 -0
- package/lib/typescript/networking/api-requests/user.api.d.ts.map +1 -1
- package/lib/typescript/networking/api-requests/xmppToken.api.d.ts +2 -0
- package/lib/typescript/networking/api-requests/xmppToken.api.d.ts.map +1 -0
- package/lib/typescript/networking/ethoraEvents.d.ts +45 -0
- package/lib/typescript/networking/ethoraEvents.d.ts.map +1 -0
- package/lib/typescript/networking/stanzaHandlers.d.ts +1 -1
- package/lib/typescript/networking/stanzaHandlers.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/allRoomPresences.xmpp.d.ts +32 -1
- package/lib/typescript/networking/xmpp/allRoomPresences.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/getHistory.xmpp.d.ts +64 -0
- 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/historyCursor.d.ts +35 -0
- package/lib/typescript/networking/xmpp/historyCursor.d.ts.map +1 -0
- package/lib/typescript/networking/xmpp/mamQueryIds.d.ts +10 -0
- package/lib/typescript/networking/xmpp/mamQueryIds.d.ts.map +1 -0
- package/lib/typescript/networking/xmpp/mamRouter.d.ts +7 -0
- package/lib/typescript/networking/xmpp/mamRouter.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/presenceInRoom.xmpp.d.ts +13 -2
- package/lib/typescript/networking/xmpp/presenceInRoom.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/roomJoinSweep.d.ts +82 -0
- package/lib/typescript/networking/xmpp/roomJoinSweep.d.ts.map +1 -0
- package/lib/typescript/networking/xmpp/sendMediaMessage.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/sendTextMessage.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmpp/sendTextMessageWithTranslateTag.xmpp.d.ts.map +1 -1
- package/lib/typescript/networking/xmppClient.d.ts +90 -4
- package/lib/typescript/networking/xmppClient.d.ts.map +1 -1
- package/lib/typescript/networking/xmppCredentials.d.ts +12 -0
- package/lib/typescript/networking/xmppCredentials.d.ts.map +1 -0
- package/lib/typescript/roomStore/Middleware/jumpThreadMiddleware.d.ts +3 -0
- package/lib/typescript/roomStore/Middleware/jumpThreadMiddleware.d.ts.map +1 -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/chatSettingsSlice.d.ts +8 -1
- package/lib/typescript/roomStore/chatSettingsSlice.d.ts.map +1 -1
- package/lib/typescript/roomStore/index.d.ts +2 -1
- package/lib/typescript/roomStore/index.d.ts.map +1 -1
- package/lib/typescript/roomStore/persistence.d.ts +8 -0
- package/lib/typescript/roomStore/persistence.d.ts.map +1 -1
- package/lib/typescript/roomStore/roomsSlice.d.ts +138 -2
- package/lib/typescript/roomStore/roomsSlice.d.ts.map +1 -1
- package/lib/typescript/roomStore/safeKey.d.ts +13 -0
- package/lib/typescript/roomStore/safeKey.d.ts.map +1 -0
- package/lib/typescript/roomStore/usersSetCap.d.ts +16 -0
- package/lib/typescript/roomStore/usersSetCap.d.ts.map +1 -0
- package/lib/typescript/types/models/media.model.d.ts +2 -0
- package/lib/typescript/types/models/media.model.d.ts.map +1 -1
- package/lib/typescript/types/models/room.model.d.ts +18 -5
- package/lib/typescript/types/models/room.model.d.ts.map +1 -1
- package/lib/typescript/types/models/xmpp.model.d.ts +8 -1
- package/lib/typescript/types/models/xmpp.model.d.ts.map +1 -1
- package/lib/typescript/types/types.d.ts +88 -5
- package/lib/typescript/types/types.d.ts.map +1 -1
- package/lib/typescript/version.d.ts +1 -1
- package/lib/typescript/version.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/assets/icons.tsx +13 -0
- package/src/components/Header/HeaderRoomList.tsx +21 -4
- package/src/components/InputComponents/Search.tsx +33 -0
- package/src/components/MainComponents/ArchivedMessageCard.tsx +139 -0
- package/src/components/MainComponents/ChatHeader.tsx +19 -3
- package/src/components/MainComponents/ChatRoom.tsx +60 -23
- package/src/components/MainComponents/ChatWrapper.tsx +23 -4
- package/src/components/MainComponents/MediaMessage.tsx +17 -0
- package/src/components/MainComponents/MessageList.tsx +823 -84
- package/src/components/MainComponents/MessageSearchButton.tsx +48 -0
- package/src/components/MainComponents/ReduxWrapper.tsx +16 -5
- package/src/components/MainComponents/RoomList.tsx +125 -0
- package/src/components/Menu/HeaderRoomListMenu.tsx +26 -2
- package/src/components/MessageBubble/BubbleHighlight.tsx +106 -0
- package/src/components/MessageBubble/Message.tsx +265 -177
- package/src/components/MessageBubble/MessageInteractions.tsx +109 -86
- package/src/components/MessageBubble/messageMenuLayout.ts +59 -0
- package/src/components/Modals/ChatProfileModal/ChatProfileModal.tsx +92 -21
- package/src/components/Modals/MessageSearchModal/MessageHitResults.tsx +271 -0
- package/src/components/Modals/MessageSearchModal/MessageSearchModal.tsx +487 -0
- package/src/components/Modals/MessageSearchModal/openHit.ts +50 -0
- package/src/components/Modals/MessageSearchModal/resolveSender.ts +57 -0
- package/src/components/Modals/MessageSearchModal/searchFilters.ts +109 -0
- package/src/components/Modals/MessageSearchModal/snippet.ts +58 -0
- package/src/components/Modals/MessageSearchModal/useMessageSearch.ts +151 -0
- package/src/components/Modals/PublicChatsModal/PublicChatsModal.tsx +288 -0
- package/src/components/Modals/PublicChatsModal/publicChatsLogic.ts +36 -0
- package/src/components/Modals/SelectUsersModal/SelectUsersModal.tsx +8 -1
- package/src/components/Modals/SettingsModals/BlockedUsers/BlockedUsersModal.tsx +20 -17
- package/src/components/Modals/SettingsModals/DocumentShares/DocumentSharesModal.tsx +58 -55
- package/src/components/Modals/SettingsModals/ManageDataModal/ManageDataModal.tsx +156 -62
- package/src/components/Modals/SettingsModals/ProfileShares/ProfileShares.tsx +22 -19
- package/src/components/Modals/SettingsModals/Referrals/Referrals.tsx +48 -45
- package/src/components/Modals/SettingsModals/SharedStyledComponents.ts +11 -0
- package/src/components/Modals/SettingsModals/Visibility/VisibilityModal.tsx +63 -60
- package/src/components/Modals/UserSettingsModal/UserSettingsModal.tsx +11 -3
- package/src/components/RoomComponents/ChatRoomItem.tsx +16 -3
- package/src/components/RoomComponents/SwipeableRoomRow.tsx +39 -6
- package/src/components/Thread/ThreadHeader.tsx +3 -1
- package/src/components/Thread/ThreadWrapper.tsx +96 -10
- package/src/components/styled/AudioDecoderHost.tsx +351 -0
- package/src/components/styled/AudioMessage.tsx +482 -425
- package/src/components/styled/SendInput.tsx +42 -4
- package/src/context/MessageNotificationContext.tsx +19 -5
- package/src/context/xmppProvider.tsx +44 -91
- package/src/helpers/audioWaveform.ts +142 -0
- package/src/helpers/backgroundJoinSweep.ts +35 -0
- package/src/helpers/bubbleHighlight.ts +47 -0
- package/src/helpers/checkUniqueUsers.tsx +15 -17
- package/src/helpers/constants/MODAL_COMPONENTS.tsx +4 -0
- package/src/helpers/constants/MODAL_TYPES.ts +3 -0
- package/src/helpers/createRoomFromApi.tsx +45 -4
- package/src/helpers/dedupeMembers.ts +29 -0
- package/src/helpers/ethoraLogger.ts +50 -0
- package/src/helpers/getUnnamedUsers.ts +7 -4
- package/src/helpers/historyPreloadConfig.ts +68 -0
- package/src/helpers/historyPreloadScheduler.ts +437 -199
- package/src/helpers/initRoomsPresence.ts +20 -7
- package/src/helpers/insertMessageWithDelimiter.ts +3 -0
- package/src/helpers/isLikelyMucJid.ts +72 -0
- package/src/helpers/isMessageSearchEnabled.ts +18 -0
- package/src/helpers/joiningRoom.ts +13 -0
- package/src/helpers/jumpThread.ts +102 -0
- package/src/helpers/jumpToMessage.ts +57 -0
- package/src/helpers/jumpWindow.ts +212 -0
- package/src/helpers/loadRoomHistory.ts +83 -0
- package/src/helpers/notificationPolicy.ts +82 -0
- package/src/helpers/openRoomAtMessage.ts +38 -0
- package/src/helpers/openThreadForJump.ts +96 -0
- package/src/helpers/parseMessageReference.ts +37 -8
- package/src/helpers/publicChatsEntry.ts +15 -0
- package/src/helpers/roomActivityScore.ts +45 -0
- package/src/helpers/roomUserCount.ts +44 -0
- package/src/helpers/runConfiguredHistoryPreload.ts +76 -0
- package/src/helpers/sessionAppId.ts +17 -0
- package/src/helpers/timestamp.ts +44 -0
- package/src/helpers/userResolver.ts +542 -0
- package/src/helpers/xmppIdShape.ts +46 -0
- package/src/hooks/useChatWrapperInit.ts +22 -4
- package/src/hooks/useHeapSender.tsx +54 -3
- package/src/hooks/useJumpToMessage.ts +538 -0
- package/src/hooks/useMessageLoaderQueue.tsx +40 -4
- package/src/hooks/useMessageQueue.ts +9 -5
- package/src/hooks/useRoomDirectory.ts +39 -0
- package/src/hooks/useRoomInitialization.tsx +33 -7
- package/src/hooks/useRoomMute.ts +42 -0
- package/src/hooks/useRoomState.tsx +6 -0
- package/src/hooks/useSendMessage.tsx +14 -2
- package/src/i18n/strings.ts +306 -0
- package/src/networking/api-requests/messageSearch.api.ts +130 -0
- package/src/networking/api-requests/publicChats.api.ts +71 -0
- package/src/networking/api-requests/roomMembers.api.ts +263 -11
- package/src/networking/api-requests/rooms.api.ts +52 -12
- package/src/networking/api-requests/user.api.ts +28 -2
- package/src/networking/api-requests/xmppToken.api.ts +62 -0
- package/src/networking/ethoraEvents.ts +262 -0
- package/src/networking/stanzaHandlers.ts +145 -19
- package/src/networking/xmpp/allRoomPresences.xmpp.ts +155 -5
- package/src/networking/xmpp/getHistory.xmpp.ts +433 -47
- package/src/networking/xmpp/handleStanzas.xmpp.ts +8 -0
- package/src/networking/xmpp/historyCursor.ts +124 -0
- package/src/networking/xmpp/mamQueryIds.ts +11 -0
- package/src/networking/xmpp/mamRouter.ts +24 -10
- package/src/networking/xmpp/presenceInRoom.xmpp.ts +91 -68
- package/src/networking/xmpp/roomJoinSweep.ts +412 -0
- package/src/networking/xmpp/sendMediaMessage.xmpp.ts +0 -1
- package/src/networking/xmpp/sendTextMessage.xmpp.ts +0 -1
- package/src/networking/xmpp/sendTextMessageWithTranslateTag.xmpp.ts +0 -1
- package/src/networking/xmppClient.ts +323 -47
- package/src/networking/xmppCredentials.ts +87 -0
- package/src/roomStore/Middleware/jumpThreadMiddleware.ts +163 -0
- package/src/roomStore/Middleware/reactionsMiddleware.tsx +4 -0
- package/src/roomStore/Middleware/unreadMidlleware.tsx +59 -11
- package/src/roomStore/chatSettingsSlice.ts +17 -0
- package/src/roomStore/index.ts +10 -3
- package/src/roomStore/persistence.ts +54 -0
- package/src/roomStore/roomsSlice.ts +547 -65
- package/src/roomStore/safeKey.ts +49 -0
- package/src/roomStore/usersSetCap.ts +37 -0
- package/src/types/models/media.model.ts +4 -0
- package/src/types/models/room.model.ts +18 -5
- package/src/types/models/xmpp.model.ts +15 -1
- package/src/types/types.ts +93 -5
- package/src/version.ts +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.publicChatJid = exports.initialOf = exports.filterPublicChats = void 0;
|
|
7
|
+
var _normalizeRoomJid = require("../../../helpers/normalizeRoomJid");
|
|
8
|
+
/**
|
|
9
|
+
* The directory API has no search parameter (q, search and title are all
|
|
10
|
+
* rejected), so the filter box narrows what has loaded so far.
|
|
11
|
+
*/
|
|
12
|
+
const filterPublicChats = (items, filter) => {
|
|
13
|
+
const needle = filter.trim().toLowerCase();
|
|
14
|
+
if (!needle) {
|
|
15
|
+
return items;
|
|
16
|
+
}
|
|
17
|
+
return items.filter(chat => chat.title.toLowerCase().includes(needle) || chat.description.toLowerCase().includes(needle));
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* The JID to select to join a directory chat. Without a conference domain
|
|
22
|
+
* there is no correct JID to build (the same rule chatAutoEnterer follows for
|
|
23
|
+
* a shared link), so there is nothing to open.
|
|
24
|
+
*/
|
|
25
|
+
exports.filterPublicChats = filterPublicChats;
|
|
26
|
+
const publicChatJid = (chat, conference) => {
|
|
27
|
+
const domain = (conference || '').trim();
|
|
28
|
+
if (!domain || !chat.name) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
return (0, _normalizeRoomJid.normalizeRoomJid)(chat.name, domain);
|
|
32
|
+
};
|
|
33
|
+
exports.publicChatJid = publicChatJid;
|
|
34
|
+
const initialOf = chat => (chat.title || chat.name).trim().charAt(0).toUpperCase() || '#';
|
|
35
|
+
exports.initialOf = initialOf;
|
|
36
|
+
//# sourceMappingURL=publicChatsLogic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["_normalizeRoomJid","require","filterPublicChats","items","filter","needle","trim","toLowerCase","chat","title","includes","description","exports","publicChatJid","conference","domain","name","undefined","normalizeRoomJid","initialOf","charAt","toUpperCase"],"sourceRoot":"../../../../../src","sources":["components/Modals/PublicChatsModal/publicChatsLogic.ts"],"mappings":";;;;;;AACA,IAAAA,iBAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACA;AACO,MAAMC,iBAAiB,GAAGA,CAC/BC,KAAmB,EACnBC,MAAc,KACG;EACjB,MAAMC,MAAM,GAAGD,MAAM,CAACE,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC;EAC1C,IAAI,CAACF,MAAM,EAAE;IAAC,OAAOF,KAAK;EAAC;EAC3B,OAAOA,KAAK,CAACC,MAAM,CAChBI,IAAI,IACHA,IAAI,CAACC,KAAK,CAACF,WAAW,CAAC,CAAC,CAACG,QAAQ,CAACL,MAAM,CAAC,IACzCG,IAAI,CAACG,WAAW,CAACJ,WAAW,CAAC,CAAC,CAACG,QAAQ,CAACL,MAAM,CAClD,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA;AAJAO,OAAA,CAAAV,iBAAA,GAAAA,iBAAA;AAKO,MAAMW,aAAa,GAAGA,CAC3BL,IAA8B,EAC9BM,UAAmB,KACI;EACvB,MAAMC,MAAM,GAAG,CAACD,UAAU,IAAI,EAAE,EAAER,IAAI,CAAC,CAAC;EACxC,IAAI,CAACS,MAAM,IAAI,CAACP,IAAI,CAACQ,IAAI,EAAE;IAAC,OAAOC,SAAS;EAAC;EAC7C,OAAO,IAAAC,kCAAgB,EAACV,IAAI,CAACQ,IAAI,EAAED,MAAM,CAAC;AAC5C,CAAC;AAACH,OAAA,CAAAC,aAAA,GAAAA,aAAA;AAEK,MAAMM,SAAS,GAAIX,IAAwC,IAChE,CAACA,IAAI,CAACC,KAAK,IAAID,IAAI,CAACQ,IAAI,EAAEV,IAAI,CAAC,CAAC,CAACc,MAAM,CAAC,CAAC,CAAC,CAACC,WAAW,CAAC,CAAC,IAAI,GAAG;AAACT,OAAA,CAAAO,SAAA,GAAAA,SAAA","ignoreList":[]}
|
|
@@ -14,6 +14,7 @@ var _Loader = _interopRequireDefault(require("../../styled/Loader"));
|
|
|
14
14
|
var _rooms = require("../../../networking/api-requests/rooms.api");
|
|
15
15
|
var _ToastContext = require("../../../context/ToastContext");
|
|
16
16
|
var _roomsSlice = require("../../../roomStore/roomsSlice");
|
|
17
|
+
var _roomUserCount = require("../../../helpers/roomUserCount");
|
|
17
18
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
19
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
19
20
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
@@ -46,7 +47,13 @@ const SelectUsersModal = ({
|
|
|
46
47
|
jid: activeRoom?.jid || '',
|
|
47
48
|
updates: {
|
|
48
49
|
members: [...newMembers, ...(activeRoom?.members || [])],
|
|
49
|
-
|
|
50
|
+
// the profile screen lists roomMembers, keep it in step
|
|
51
|
+
...(activeRoom?.roomMembers ? {
|
|
52
|
+
roomMembers: [...newMembers, ...activeRoom.roomMembers]
|
|
53
|
+
} : {}),
|
|
54
|
+
// add to the room's real total: members[] can be a truncated
|
|
55
|
+
// page of a big room
|
|
56
|
+
usersCnt: (0, _roomUserCount.getRoomUserCount)(activeRoom) + newMembers.length
|
|
50
57
|
}
|
|
51
58
|
}));
|
|
52
59
|
showToast({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactRedux","_roomStore","_styledModalComponents","_Button","_interopRequireDefault","_UsersList","_Loader","_rooms","_ToastContext","_roomsSlice","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SelectUsersModal","trigger","showToast","useToast","dispatch","useDispatch","loading","setIsLoading","useState","isModalOpen","setIsModalOpen","selectedUsers","setSelectedUsers","activeRoom","useSelector","state","getActiveRoom","handleOpenModal","handleCloseModal","handleAdd","existingXmppUsernames","members","map","member","xmppUsername","usersArray","filter","user","includes","newMembers","postAddRoomMember","chatName","jid","split","updateRoom","updates","usersCnt","length","id","Date","now","toString","title","message","type","duration","error","console","jsxs","Fragment","children","jsx","ActionButton","variant","unstyled","onPress","ModalBackground","ModalContainer","CloseButton","CloseButtonText","GroupContainer","style","flexDirection","position","width","minHeight","minWidth","maxHeight","headerElement","text","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/Modals/SelectUsersModal/SelectUsersModal.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAH,OAAA;AAQA,IAAAI,OAAA,GAAAC,sBAAA,CAAAL,OAAA;AAEA,IAAAM,UAAA,GAAAD,sBAAA,CAAAL,OAAA;AACA,IAAAO,OAAA,GAAAF,sBAAA,CAAAL,OAAA;AACA,IAAAQ,MAAA,GAAAR,OAAA;AACA,IAAAS,aAAA,GAAAT,OAAA;AACA,IAAAU,WAAA,GAAAV,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactRedux","_roomStore","_styledModalComponents","_Button","_interopRequireDefault","_UsersList","_Loader","_rooms","_ToastContext","_roomsSlice","_roomUserCount","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","SelectUsersModal","trigger","showToast","useToast","dispatch","useDispatch","loading","setIsLoading","useState","isModalOpen","setIsModalOpen","selectedUsers","setSelectedUsers","activeRoom","useSelector","state","getActiveRoom","handleOpenModal","handleCloseModal","handleAdd","existingXmppUsernames","members","map","member","xmppUsername","usersArray","filter","user","includes","newMembers","postAddRoomMember","chatName","jid","split","updateRoom","updates","roomMembers","usersCnt","getRoomUserCount","length","id","Date","now","toString","title","message","type","duration","error","console","jsxs","Fragment","children","jsx","ActionButton","variant","unstyled","onPress","ModalBackground","ModalContainer","CloseButton","CloseButtonText","GroupContainer","style","flexDirection","position","width","minHeight","minWidth","maxHeight","headerElement","text","_default","exports"],"sourceRoot":"../../../../../src","sources":["components/Modals/SelectUsersModal/SelectUsersModal.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAH,OAAA;AAQA,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O,CAAE;YACzBV,QAAQ;YACRD,OAAO,EAAC;UAAU,CACnB,CAAC,EACDjD,OAAO,gBACN,IAAA1B,WAAA,CAAAyE,GAAA,EAAC9E,OAAA,CAAAQ,OAAM,IAAE,CAAC,gBAEV,IAAAH,WAAA,CAAAyE,GAAA,EAACjF,OAAA,CAAAW,OAAM;YACL0E,OAAO,EAAEtC,SAAU;YACnBoD,IAAI,EAAC,KAAK;YACVR,KAAK,EAAE;cAAEG,KAAK,EAAE;YAAO,CAAE;YACzBV,QAAQ;YACRD,OAAO,EAAC;UAAQ,CACjB,CACF;QAAA,CACa,CAAC;MAAA,CACH;IAAC,CACF,CAClB;EAAA,CACD,CAAC;AAEP,CAAC;AAAC,IAAAiB,QAAA,GAAAC,OAAA,CAAA1F,OAAA,GAEaiB,gBAAgB","ignoreList":[]}
|
|
@@ -21,19 +21,21 @@ const BlockedUsersModal = ({
|
|
|
21
21
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ModalHeaderComponent.default, {
|
|
22
22
|
handleCloseModal: handleCloseModal,
|
|
23
23
|
headerTitle: 'Blocke Users'
|
|
24
|
-
}), /*#__PURE__*/(0, _jsxRuntime.
|
|
25
|
-
children:
|
|
26
|
-
children:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
children:
|
|
24
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsScrollBody, {
|
|
25
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.SharedSettingsSectionContainer, {
|
|
26
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsStyledLabel, {
|
|
27
|
+
children: "Current Document Shares"
|
|
28
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsLabelData, {
|
|
29
|
+
children: "Listed below are your currently active document sharing links. You can share or delete them."
|
|
30
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledModalComponents.BorderedContainer, {
|
|
31
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsInfoPanel, {
|
|
32
|
+
bgColor: config?.colors?.secondary,
|
|
33
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsInfoText, {
|
|
34
|
+
children: "There are no shares yet, or you can add them by clicking the \u201CAdd New Share\u201D button"
|
|
35
|
+
})
|
|
34
36
|
})
|
|
35
|
-
})
|
|
36
|
-
})
|
|
37
|
+
})]
|
|
38
|
+
})
|
|
37
39
|
})]
|
|
38
40
|
});
|
|
39
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_styledModalComponents","_ModalHeaderComponent","_reactRedux","_SharedStyledComponents","_jsxRuntime","e","__esModule","default","BlockedUsersModal","handleCloseModal","config","useSelector","state","chatSettingStore","jsxs","ModalContainerFullScreen","children","jsx","headerTitle","SharedSettingsSectionContainer","SharedSettingsStyledLabel","SharedSettingsLabelData","BorderedContainer","SharedSettingsInfoPanel","bgColor","colors","secondary","SharedSettingsInfoText","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/Modals/SettingsModals/BlockedUsers/BlockedUsersModal.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AAaA,IAAAE,qBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,uBAAA,GAAAJ,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_styledModalComponents","_ModalHeaderComponent","_reactRedux","_SharedStyledComponents","_jsxRuntime","e","__esModule","default","BlockedUsersModal","handleCloseModal","config","useSelector","state","chatSettingStore","jsxs","ModalContainerFullScreen","children","jsx","headerTitle","SharedSettingsScrollBody","SharedSettingsSectionContainer","SharedSettingsStyledLabel","SharedSettingsLabelData","BorderedContainer","SharedSettingsInfoPanel","bgColor","colors","secondary","SharedSettingsInfoText","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/Modals/SettingsModals/BlockedUsers/BlockedUsersModal.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AAaA,IAAAE,qBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,uBAAA,GAAAJ,OAAA;AAOmC,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAMnC,MAAMG,iBAAmD,GAAGA,CAAC;EAC3DC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,uBAAW,EAAEC,KAAgB,IAAKA,KAAK,CAACC,gBAAgB,CAAC;EAE5E,oBACE,IAAAT,WAAA,CAAAU,IAAA,EAACd,sBAAA,CAAAe,wBAAwB;IAAAC,QAAA,gBACvB,IAAAZ,WAAA,CAAAa,GAAA,EAAChB,qBAAA,CAAAM,OAAoB;MACnBE,gBAAgB,EAAEA,gBAAiB;MACnCS,WAAW,EAAE;IAAe,CAC7B,CAAC,eACF,IAAAd,WAAA,CAAAa,GAAA,EAACd,uBAAA,CAAAgB,wBAAwB;MAAAH,QAAA,eACvB,IAAAZ,WAAA,CAAAU,IAAA,EAACX,uBAAA,CAAAiB,8BAA8B;QAAAJ,QAAA,gBAC7B,IAAAZ,WAAA,CAAAa,GAAA,EAACd,uBAAA,CAAAkB,yBAAyB;UAAAL,QAAA,EAAC;QAE3B,CAA2B,CAAC,eAC5B,IAAAZ,WAAA,CAAAa,GAAA,EAACd,uBAAA,CAAAmB,uBAAuB;UAAAN,QAAA,EAAC;QAGzB,CAAyB,CAAC,eAC1B,IAAAZ,WAAA,CAAAa,GAAA,EAACjB,sBAAA,CAAAuB,iBAAiB;UAAAP,QAAA,eAChB,IAAAZ,WAAA,CAAAa,GAAA,EAACd,uBAAA,CAAAqB,uBAAuB;YAACC,OAAO,EAAEf,MAAM,EAAEgB,MAAM,EAAEC,SAAU;YAAAX,QAAA,eAC1D,IAAAZ,WAAA,CAAAa,GAAA,EAACd,uBAAA,CAAAyB,sBAAsB;cAAAZ,QAAA,EAAC;YAGxB,CAAwB;UAAC,CACF;QAAC,CACT,CAAC;MAAA,CACU;IAAC,CACT,CAAC;EAAA,CACH,CAAC;AAE/B,CAAC;AAAC,IAAAa,QAAA,GAAAC,OAAA,CAAAvB,OAAA,GAEaC,iBAAiB","ignoreList":[]}
|
|
@@ -27,53 +27,55 @@ const DocumentSharesModal = ({
|
|
|
27
27
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ModalHeaderComponent.default, {
|
|
28
28
|
handleCloseModal: handleCloseModal,
|
|
29
29
|
headerTitle: 'Document Shares'
|
|
30
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
31
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
32
|
-
children: /*#__PURE__*/(0, _jsxRuntime.
|
|
33
|
-
children:
|
|
34
|
-
children:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
display: 'flex',
|
|
41
|
-
padding: 8,
|
|
42
|
-
width: '100%',
|
|
43
|
-
justifyContent: 'space-between',
|
|
44
|
-
alignItems: 'center'
|
|
45
|
-
},
|
|
46
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
47
|
-
children: "List of shares"
|
|
48
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
30
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsScrollBody, {
|
|
31
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledModalComponents.CenterContainer, {
|
|
32
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsColumnContainer, {
|
|
33
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.SharedSettingsSectionContainer, {
|
|
34
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsStyledLabel, {
|
|
35
|
+
children: "Current Document Shares"
|
|
36
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsLabelData, {
|
|
37
|
+
children: "Listed below are your currently active document sharing links. You can share or delete them."
|
|
38
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styledModalComponents.BorderedContainer, {
|
|
39
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
49
40
|
style: {
|
|
50
41
|
display: 'flex',
|
|
51
|
-
|
|
42
|
+
padding: 8,
|
|
43
|
+
width: '100%',
|
|
44
|
+
justifyContent: 'space-between',
|
|
45
|
+
alignItems: 'center'
|
|
52
46
|
},
|
|
53
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
54
|
-
children:
|
|
55
|
-
|
|
56
|
-
throw new Error('Function not implemented.');
|
|
57
|
-
},
|
|
58
|
-
icon: '',
|
|
59
|
-
values: ['Name', 'Surname']
|
|
60
|
-
})
|
|
61
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
|
|
62
|
-
variant: "filled",
|
|
63
|
-
StartIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.PlusIcon, {}),
|
|
47
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
48
|
+
children: "List of shares"
|
|
49
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
64
50
|
style: {
|
|
65
|
-
|
|
51
|
+
display: 'flex',
|
|
52
|
+
flexDirection: 'row'
|
|
66
53
|
},
|
|
67
|
-
children:
|
|
54
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
55
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SortDropDown.default, {
|
|
56
|
+
sortFunction: function (value) {
|
|
57
|
+
throw new Error('Function not implemented.');
|
|
58
|
+
},
|
|
59
|
+
icon: '',
|
|
60
|
+
values: ['Name', 'Surname']
|
|
61
|
+
})
|
|
62
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Button.default, {
|
|
63
|
+
variant: "filled",
|
|
64
|
+
StartIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.PlusIcon, {}),
|
|
65
|
+
style: {
|
|
66
|
+
width: '100%'
|
|
67
|
+
},
|
|
68
|
+
children: "Add New Share"
|
|
69
|
+
})]
|
|
68
70
|
})]
|
|
71
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsInfoPanel, {
|
|
72
|
+
bgColor: config?.colors?.secondary,
|
|
73
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsInfoText, {
|
|
74
|
+
children: "There are no shares yet, or you can add them by clicking the \u201CAdd New Share\u201D button"
|
|
75
|
+
})
|
|
69
76
|
})]
|
|
70
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsInfoPanel, {
|
|
71
|
-
bgColor: config?.colors?.secondary,
|
|
72
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsInfoText, {
|
|
73
|
-
children: "There are no shares yet, or you can add them by clicking the \u201CAdd New Share\u201D button"
|
|
74
|
-
})
|
|
75
77
|
})]
|
|
76
|
-
})
|
|
78
|
+
})
|
|
77
79
|
})
|
|
78
80
|
})
|
|
79
81
|
})]
|
package/lib/commonjs/components/Modals/SettingsModals/DocumentShares/DocumentSharesModal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_styledModalComponents","_icons","_ModalHeaderComponent","_reactRedux","_SharedStyledComponents","_Button","_SortDropDown","_reactNative","_jsxRuntime","e","__esModule","default","DocumentSharesModal","handleCloseModal","config","useSelector","state","chatSettingStore","jsxs","ModalContainerFullScreen","children","jsx","headerTitle","CenterContainer","SharedSettingsColumnContainer","SharedSettingsSectionContainer","SharedSettingsStyledLabel","SharedSettingsLabelData","BorderedContainer","View","style","display","padding","width","justifyContent","alignItems","flexDirection","sortFunction","value","Error","icon","values","variant","StartIcon","PlusIcon","SharedSettingsInfoPanel","bgColor","colors","secondary","SharedSettingsInfoText","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/Modals/SettingsModals/DocumentShares/DocumentSharesModal.tsx"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AAYA,IAAAE,MAAA,GAAAF,OAAA;AAMA,IAAAG,qBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAGA,IAAAK,uBAAA,GAAAL,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_styledModalComponents","_icons","_ModalHeaderComponent","_reactRedux","_SharedStyledComponents","_Button","_SortDropDown","_reactNative","_jsxRuntime","e","__esModule","default","DocumentSharesModal","handleCloseModal","config","useSelector","state","chatSettingStore","jsxs","ModalContainerFullScreen","children","jsx","headerTitle","SharedSettingsScrollBody","CenterContainer","SharedSettingsColumnContainer","SharedSettingsSectionContainer","SharedSettingsStyledLabel","SharedSettingsLabelData","BorderedContainer","View","style","display","padding","width","justifyContent","alignItems","flexDirection","sortFunction","value","Error","icon","values","variant","StartIcon","PlusIcon","SharedSettingsInfoPanel","bgColor","colors","secondary","SharedSettingsInfoText","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/Modals/SettingsModals/DocumentShares/DocumentSharesModal.tsx"],"mappings":";;;;;;AAEA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AAYA,IAAAE,MAAA,GAAAF,OAAA;AAMA,IAAAG,qBAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAGA,IAAAK,uBAAA,GAAAL,OAAA;AAUA,IAAAM,OAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,aAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,YAAA,GAAAR,OAAA;AAAoC,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAD,uBAAAW,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AArCpC;;AA2CA,MAAMG,mBAAuD,GAAGA,CAAC;EAC/DC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,uBAAW,EAAEC,KAAgB,IAAKA,KAAK,CAACC,gBAAgB,CAAC;EAE5E,oBACE,IAAAT,WAAA,CAAAU,IAAA,EAAClB,sBAAA,CAAAmB,wBAAwB;IAAAC,QAAA,gBACvB,IAAAZ,WAAA,CAAAa,GAAA,EAACnB,qBAAA,CAAAS,OAAoB;MACnBE,gBAAgB,EAAEA,gBAAiB;MACnCS,WAAW,EAAE;IAAkB,CAChC,CAAC,eACF,IAAAd,WAAA,CAAAa,GAAA,EAACjB,uBAAA,CAAAmB,wBAAwB;MAAAH,QAAA,eACvB,IAAAZ,WAAA,CAAAa,GAAA,EAACrB,sBAAA,CAAAwB,eAAe;QAA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,2BAA2B,CAAC;sBAC9C,CAAE;sBACFC,IAAI,EAAE,EAAG;sBACTC,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS;oBAAE,CAC7B;kBAAC,CACE,CAAC,eACP,IAAAlC,WAAA,CAAAa,GAAA,EAAChB,OAAA,CAAAM,OAAM;oBACLgC,OAAO,EAAC,QAAQ;oBAChBC,SAAS,eAAE,IAAApC,WAAA,CAAAa,GAAA,EAACpB,MAAA,CAAA4C,QAAQ,IAAE,CAAE;oBACxBd,KAAK,EAAE;sBAAEG,KAAK,EAAE;oBAAO,CAAE;oBAAAd,QAAA,EAC1B;kBAED,CAAQ,CAAC;gBAAA,CACL,CAAC;cAAA,CACH,CAAC,eACP,IAAAZ,WAAA,CAAAa,GAAA,EAACjB,uBAAA,CAAA0C,uBAAuB;gBAACC,OAAO,EAAEjC,MAAM,EAAEkC,MAAM,EAAEC,SAAU;gBAAA7B,QAAA,eAC1D,IAAAZ,WAAA,CAAAa,GAAA,EAACjB,uBAAA,CAAA8C,sBAAsB;kBAAA9B,QAAA,EAAC;gBAGxB,CAAwB;cAAC,CACF,CAAC;YAAA,CACT,CAAC;UAAA,CACU;QAAC,CACJ;MAAC,CACjB;IAAC,CACM,CAAC;EAAA,CACH,CAAC;AAE/B,CAAC;AAAC,IAAA+B,QAAA,GAAAC,OAAA,CAAAzC,OAAA,GAEaC,mBAAmB","ignoreList":[]}
|
|
@@ -4,18 +4,23 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var _react =
|
|
7
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _styledModalComponents = require("../../styledModalComponents");
|
|
9
9
|
var _ModalHeaderComponent = _interopRequireDefault(require("../../ModalHeaderComponent"));
|
|
10
10
|
var _reactRedux = require("react-redux");
|
|
11
11
|
var _native = _interopRequireDefault(require("styled-components/native"));
|
|
12
12
|
var _icons = require("../../../../assets/icons");
|
|
13
|
+
var _user = require("../../../../networking/api-requests/user.api");
|
|
13
14
|
var _SharedStyledComponents = require("../SharedStyledComponents");
|
|
14
15
|
var _reactNative = require("react-native");
|
|
16
|
+
var FileSystem = _interopRequireWildcard(require("expo-file-system/legacy"));
|
|
15
17
|
var _useTheme = require("../../../../hooks/useTheme");
|
|
16
18
|
var _useT = require("../../../../i18n/useT");
|
|
19
|
+
var _useLogout = require("../../../../hooks/useLogout");
|
|
20
|
+
var _ToastContext = require("../../../../context/ToastContext");
|
|
17
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
22
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
23
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
19
24
|
const InfoPanel = _native.default.View`
|
|
20
25
|
background-color: "#F3F6FC";
|
|
21
26
|
display: flex;
|
|
@@ -31,64 +36,146 @@ const ManageDataModal = ({
|
|
|
31
36
|
} = (0, _reactRedux.useSelector)(state => state.chatSettingStore);
|
|
32
37
|
const theme = (0, _useTheme.useTheme)();
|
|
33
38
|
const t = (0, _useT.useT)();
|
|
39
|
+
const performLogout = (0, _useLogout.useLogout)();
|
|
40
|
+
const {
|
|
41
|
+
showToast
|
|
42
|
+
} = (0, _ToastContext.useToast)();
|
|
43
|
+
const [isDownloading, setIsDownloading] = (0, _react.useState)(false);
|
|
44
|
+
const [isDeleting, setIsDeleting] = (0, _react.useState)(false);
|
|
45
|
+
const showError = message => showToast({
|
|
46
|
+
id: Date.now().toString(),
|
|
47
|
+
title: t('toast.error'),
|
|
48
|
+
message,
|
|
49
|
+
type: 'error'
|
|
50
|
+
});
|
|
34
51
|
const handleDownloadClick = async () => {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
52
|
+
if (isDownloading) {
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
setIsDownloading(true);
|
|
56
|
+
try {
|
|
57
|
+
const fileName = 'my-data.json';
|
|
58
|
+
const download = await (0, _user.downloadMyDataExport)(`${FileSystem.cacheDirectory}${fileName}`);
|
|
59
|
+
if (_reactNative.Platform.OS === 'android') {
|
|
60
|
+
// Android has no shareable file URL; let the user pick a folder
|
|
61
|
+
// through the Storage Access Framework and write the copy there.
|
|
62
|
+
const saf = FileSystem.StorageAccessFramework;
|
|
63
|
+
const perm = await saf.requestDirectoryPermissionsAsync();
|
|
64
|
+
if (!perm.granted) {
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const base64 = await FileSystem.readAsStringAsync(download.uri, {
|
|
68
|
+
encoding: FileSystem.EncodingType.Base64
|
|
69
|
+
});
|
|
70
|
+
const destUri = await saf.createFileAsync(perm.directoryUri, fileName.replace(/\.[^/.]+$/, ''), download.mimeType || 'application/json');
|
|
71
|
+
await FileSystem.writeAsStringAsync(destUri, base64, {
|
|
72
|
+
encoding: FileSystem.EncodingType.Base64
|
|
73
|
+
});
|
|
74
|
+
showToast({
|
|
75
|
+
id: Date.now().toString(),
|
|
76
|
+
title: t('toast.successTitle'),
|
|
77
|
+
message: t('toast.saveSuccessful'),
|
|
78
|
+
type: 'success'
|
|
79
|
+
});
|
|
80
|
+
return;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
// iOS: the share sheet offers "Save to Files", AirDrop, etc. and is
|
|
84
|
+
// itself the confirmation, so no success toast.
|
|
85
|
+
await _reactNative.Share.share({
|
|
86
|
+
url: download.uri,
|
|
87
|
+
title: fileName
|
|
88
|
+
});
|
|
89
|
+
} catch (err) {
|
|
90
|
+
console.error('ManageDataModal: data export failed', err);
|
|
91
|
+
showError(t('settings.manageData.downloadFailed'));
|
|
92
|
+
} finally {
|
|
93
|
+
setIsDownloading(false);
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
const deleteAccount = async () => {
|
|
97
|
+
setIsDeleting(true);
|
|
98
|
+
try {
|
|
99
|
+
await (0, _user.deleteMe)();
|
|
100
|
+
} catch (err) {
|
|
101
|
+
console.error('ManageDataModal: account deletion failed', err);
|
|
102
|
+
showError(t('settings.manageData.deleteFailed'));
|
|
103
|
+
setIsDeleting(false);
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
106
|
+
// The account is gone server-side: tear the local session down the
|
|
107
|
+
// same way a logout does, then let the host navigate away.
|
|
108
|
+
await performLogout();
|
|
109
|
+
try {
|
|
110
|
+
await config?.logout?.onAfterLogout?.();
|
|
111
|
+
} catch (e) {
|
|
112
|
+
console.warn('ManageDataModal: onAfterLogout threw', e);
|
|
113
|
+
}
|
|
114
|
+
};
|
|
115
|
+
const handleDeleteClick = () => {
|
|
116
|
+
if (isDeleting) {
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
_reactNative.Alert.alert(t('settings.manageData.deleteConfirmTitle'), t('settings.manageData.deleteConfirmMessage'), [{
|
|
120
|
+
text: t('action.cancel'),
|
|
121
|
+
style: 'cancel'
|
|
122
|
+
}, {
|
|
123
|
+
text: t('action.delete'),
|
|
124
|
+
style: 'destructive',
|
|
125
|
+
onPress: () => {
|
|
126
|
+
deleteAccount();
|
|
127
|
+
}
|
|
128
|
+
}]);
|
|
47
129
|
};
|
|
48
130
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styledModalComponents.ModalContainerFullScreen, {
|
|
49
131
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ModalHeaderComponent.default, {
|
|
50
132
|
handleCloseModal: handleCloseModal,
|
|
51
133
|
headerTitle: t('settings.manageData.title')
|
|
52
|
-
}), /*#__PURE__*/(0, _jsxRuntime.
|
|
53
|
-
children:
|
|
54
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.
|
|
55
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.
|
|
56
|
-
children:
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.SharedSettingsSectionContainer, {
|
|
72
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsStyledLabel, {
|
|
73
|
-
children: t('settings.manageData.deleteLabel')
|
|
74
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsLabelData, {
|
|
75
|
-
children: t('settings.manageData.deleteDescription')
|
|
134
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsScrollBody, {
|
|
135
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.SharedSettingsCenterContainer, {
|
|
136
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.SharedSettingsColumnContainer, {
|
|
137
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.SharedSettingsSectionContainer, {
|
|
138
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsStyledLabel, {
|
|
139
|
+
children: t('settings.manageData.downloadLabel')
|
|
140
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledModalComponents.LabelData, {
|
|
141
|
+
style: {
|
|
142
|
+
fontSize: 12,
|
|
143
|
+
textAlign: 'left'
|
|
144
|
+
},
|
|
145
|
+
children: t('settings.manageData.downloadDescription')
|
|
146
|
+
})]
|
|
147
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsStyledButton, {
|
|
148
|
+
borderColor: theme.primary,
|
|
149
|
+
onPress: handleDownloadClick,
|
|
150
|
+
loading: isDownloading,
|
|
151
|
+
text: t('settings.manageData.downloadLabel'),
|
|
152
|
+
color: theme.primary
|
|
76
153
|
})]
|
|
77
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
154
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.SharedSettingsColumnContainer, {
|
|
155
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.SharedSettingsSectionContainer, {
|
|
156
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsStyledLabel, {
|
|
157
|
+
children: t('settings.manageData.deleteLabel')
|
|
158
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsLabelData, {
|
|
159
|
+
children: t('settings.manageData.deleteDescription')
|
|
160
|
+
})]
|
|
161
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.SharedSettingsInfoPanel, {
|
|
162
|
+
bgColor: theme.surfaceHighlight,
|
|
163
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
164
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.InfoIcon, {
|
|
165
|
+
color: theme.primary
|
|
166
|
+
})
|
|
167
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsInfoText, {
|
|
168
|
+
children: t('settings.manageData.deleteDisclosure')
|
|
169
|
+
})]
|
|
170
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsStyledButton, {
|
|
171
|
+
borderColor: theme.danger,
|
|
172
|
+
onPress: handleDeleteClick,
|
|
173
|
+
loading: isDeleting,
|
|
174
|
+
text: t('action.deleteMyAccount'),
|
|
175
|
+
color: theme.danger
|
|
85
176
|
})]
|
|
86
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsStyledButton, {
|
|
87
|
-
borderColor: theme.danger,
|
|
88
|
-
text: t('action.deleteMyAccount'),
|
|
89
|
-
color: theme.danger
|
|
90
177
|
})]
|
|
91
|
-
})
|
|
178
|
+
})
|
|
92
179
|
})]
|
|
93
180
|
});
|
|
94
181
|
};
|
package/lib/commonjs/components/Modals/SettingsModals/ManageDataModal/ManageDataModal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_styledModalComponents","_ModalHeaderComponent","_interopRequireDefault","_reactRedux","_native","_icons","_user","_SharedStyledComponents","_reactNative","FileSystem","_useTheme","_useT","_useLogout","_ToastContext","_jsxRuntime","e","__esModule","default","t","WeakMap","r","n","o","i","f","__proto__","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","InfoPanel","styled","View","ManageDataModal","handleCloseModal","config","useSelector","state","chatSettingStore","theme","useTheme","useT","performLogout","useLogout","showToast","useToast","isDownloading","setIsDownloading","useState","isDeleting","setIsDeleting","showError","message","id","Date","now","toString","title","type","handleDownloadClick","fileName","download","downloadMyDataExport","cacheDirectory","Platform","OS","saf","StorageAccessFramework","perm","requestDirectoryPermissionsAsync","granted","base64","readAsStringAsync","uri","encoding","EncodingType","Base64","destUri","createFileAsync","directoryUri","replace","mimeType","writeAsStringAsync","Share","share","url","err","console","error","deleteAccount","deleteMe","logout","onAfterLogout","warn","handleDeleteClick","Alert","alert","text","style","onPress","jsxs","ModalContainerFullScreen","children","jsx","headerTitle","SharedSettingsScrollBody","SharedSettingsCenterContainer","SharedSettingsColumnContainer","SharedSettingsSectionContainer","SharedSettingsStyledLabel","LabelData","fontSize","textAlign","SharedSettingsStyledButton","borderColor","primary","loading","color","SharedSettingsLabelData","SharedSettingsInfoPanel","bgColor","surfaceHighlight","InfoIcon","SharedSettingsInfoText","danger","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/Modals/SettingsModals/ManageDataModal/ManageDataModal.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AAIA,IAAAE,qBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAEA,IAAAK,OAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,KAAA,GAAAP,OAAA;AAIA,IAAAQ,uBAAA,GAAAR,OAAA;AAWA,IAAAS,YAAA,GAAAT,OAAA;AACA,IAAAU,UAAA,GAAAX,uBAAA,CAAAC,OAAA;AACA,IAAAW,SAAA,GAAAX,OAAA;AACA,IAAAY,KAAA,GAAAZ,OAAA;AACA,IAAAa,UAAA,GAAAb,OAAA;AACA,IAAAc,aAAA,GAAAd,OAAA;AAA4D,IAAAe,WAAA,GAAAf,OAAA;AAAA,SAAAG,uBAAAa,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAjB,wBAAAiB,CAAA,EAAAG,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAArB,uBAAA,YAAAA,CAAAiB,C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AAC4E;cAAQ,CAAE;YAAC,CAC9B,CAAC,eACP,IAAAzG,WAAA,CAAA6F,GAAA,EAACpG,uBAAA,CAAAwH,sBAAsB;cAAArB,QAAA,EACpBxF,CAAC,CAAC,sCAAsC;YAAC,CACpB,CAAC;UAAA,CACF,CAAC,eAC1B,IAAAJ,WAAA,CAAA6F,GAAA,EAACpG,uBAAA,CAAA8G,0BAA0B;YACzBC,WAAW,EAAE3E,KAAK,CAACqF,MAAO;YAC1BzB,OAAO,EAAEL,iBAAkB;YAC3BsB,OAAO,EAAEnE,UAAW;YACpBgD,IAAI,EAAEnF,CAAC,CAAC,wBAAwB,CAAE;YAClCuG,KAAK,EAAE9E,KAAK,CAACqF;UAAO,CACrB,CAAC;QAAA,CAC2B,CAAC;MAAA,CACH;IAAC,CACR,CAAC;EAAA,CACH,CAAC;AAE/B,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAjH,OAAA,GAEaoB,eAAe","ignoreList":[]}
|
|
@@ -21,20 +21,22 @@ const ProfileSharesModal = ({
|
|
|
21
21
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_ModalHeaderComponent.default, {
|
|
22
22
|
handleCloseModal: handleCloseModal,
|
|
23
23
|
headerTitle: 'Profile Shares'
|
|
24
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(
|
|
25
|
-
children: /*#__PURE__*/(0, _jsxRuntime.
|
|
26
|
-
children:
|
|
27
|
-
children:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
children:
|
|
24
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsScrollBody, {
|
|
25
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledModalComponents.CenterContainer, {
|
|
26
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_SharedStyledComponents.SharedSettingsSectionContainer, {
|
|
27
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsStyledLabel, {
|
|
28
|
+
children: "Current Profile Shares"
|
|
29
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsLabelData, {
|
|
30
|
+
children: "Listed below are your currently active profile sharing links. You can share or delete them."
|
|
31
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styledModalComponents.BorderedContainer, {
|
|
32
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsInfoPanel, {
|
|
33
|
+
bgColor: config?.colors?.secondary,
|
|
34
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SharedStyledComponents.SharedSettingsInfoText, {
|
|
35
|
+
children: "There are no shares yet, or you can add them by clicking the \u201CAdd New Share\u201D button"
|
|
36
|
+
})
|
|
35
37
|
})
|
|
36
|
-
})
|
|
37
|
-
})
|
|
38
|
+
})]
|
|
39
|
+
})
|
|
38
40
|
})
|
|
39
41
|
})]
|
|
40
42
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_styledModalComponents","_ModalHeaderComponent","_reactRedux","_SharedStyledComponents","_jsxRuntime","e","__esModule","default","ProfileSharesModal","handleCloseModal","config","useSelector","state","chatSettingStore","jsxs","ModalContainerFullScreen","children","jsx","headerTitle","CenterContainer","SharedSettingsSectionContainer","SharedSettingsStyledLabel","SharedSettingsLabelData","BorderedContainer","SharedSettingsInfoPanel","bgColor","colors","secondary","SharedSettingsInfoText","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/Modals/SettingsModals/ProfileShares/ProfileShares.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AAaA,IAAAE,qBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,uBAAA,GAAAJ,OAAA;
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_styledModalComponents","_ModalHeaderComponent","_reactRedux","_SharedStyledComponents","_jsxRuntime","e","__esModule","default","ProfileSharesModal","handleCloseModal","config","useSelector","state","chatSettingStore","jsxs","ModalContainerFullScreen","children","jsx","headerTitle","SharedSettingsScrollBody","CenterContainer","SharedSettingsSectionContainer","SharedSettingsStyledLabel","SharedSettingsLabelData","BorderedContainer","SharedSettingsInfoPanel","bgColor","colors","secondary","SharedSettingsInfoText","_default","exports"],"sourceRoot":"../../../../../../src","sources":["components/Modals/SettingsModals/ProfileShares/ProfileShares.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,sBAAA,GAAAD,OAAA;AAaA,IAAAE,qBAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAGA,IAAAI,uBAAA,GAAAJ,OAAA;AAOmC,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAMnC,MAAMG,kBAAqD,GAAGA,CAAC;EAC7DC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,uBAAW,EAAEC,KAAgB,IAAKA,KAAK,CAACC,gBAAgB,CAAC;EAE5E,oBACE,IAAAT,WAAA,CAAAU,IAAA,EAACd,sBAAA,CAAAe,wBAAwB;IAAAC,QAAA,gBACvB,IAAAZ,WAAA,CAAAa,GAAA,EAAChB,qBAAA,CAAAM,OAAoB;MACnBE,gBAAgB,EAAEA,gBAAiB;MACnCS,WAAW,EAAE;IAAiB,CAC/B,CAAC,eACF,IAAAd,WAAA,CAAAa,GAAA,EAACd,uBAAA,CAAAgB,wBAAwB;MAAAH,QAAA,eACvB,IAAA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