@sendbird/uikit-react 3.1.2 → 3.1.3
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/App.js +37 -36
- package/App.js.map +1 -1
- package/CHANGELOG.md +28 -0
- package/Channel/components/ChannelHeader.js +19 -19
- package/Channel/components/ChannelUI.js +26 -26
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +18 -18
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +26 -24
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +20 -20
- package/Channel/components/MessageList.js +25 -25
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +20 -20
- package/Channel/components/SuggestedMentionList.js +19 -19
- package/Channel/components/TypingIndicator.js +18 -18
- package/Channel/components/UnreadCount.js +5 -5
- package/Channel/context.js +17 -17
- package/Channel.js +26 -26
- package/ChannelList/components/AddChannel.js +14 -14
- package/ChannelList/components/ChannelListHeader.js +7 -7
- package/ChannelList/components/ChannelListUI.js +30 -30
- package/ChannelList/components/ChannelPreview.js +23 -23
- package/ChannelList/components/ChannelPreviewAction.js +22 -20
- package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/ChannelList/context.js +12 -12
- package/ChannelList.js +30 -30
- package/{ChannelListProvider-9c82d370.js → ChannelListProvider-0157b613.js} +9 -9
- package/{ChannelListProvider-9c82d370.js.map → ChannelListProvider-0157b613.js.map} +1 -1
- package/{ChannelProvider-d891cf5f.js → ChannelProvider-57689107.js} +12 -13
- package/{ChannelProvider-d891cf5f.js.map → ChannelProvider-57689107.js.map} +1 -1
- package/ChannelSettings/components/ChannelProfile.js +12 -12
- package/ChannelSettings/components/ChannelSettingsUI.js +22 -22
- package/ChannelSettings/components/EditDetailsModal.js +12 -12
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +19 -19
- package/ChannelSettings/components/UserListItem.js +14 -14
- package/ChannelSettings/components/UserListItem.js.map +1 -1
- package/ChannelSettings/components/UserPanel.js +14 -14
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +22 -22
- package/CreateChannel/components/CreateChannelUI.js +14 -14
- package/CreateChannel/components/InviteUsers.js +14 -14
- package/CreateChannel/components/SelectChannelType.js +11 -11
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +14 -14
- package/{CreateChannelProvider-0af2a424.js → CreateChannelProvider-f84fd7e5.js} +1 -1
- package/{CreateChannelProvider-0af2a424.js.map → CreateChannelProvider-f84fd7e5.js.map} +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/{LocalizationContext-2a073ef0.js → LocalizationContext-5b475a64.js} +3 -3
- package/{LocalizationContext-2a073ef0.js.map → LocalizationContext-5b475a64.js.map} +1 -1
- package/{MemberList-0acc36c3.js → MemberList-004dd3e6.js} +7 -7
- package/MemberList-004dd3e6.js.map +1 -0
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +2 -2
- package/MessageSearch.js +11 -11
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +17 -17
- package/OpenChannel/components/OpenChannelInput.js +21 -21
- package/OpenChannel/components/OpenChannelMessage.js +26 -26
- package/OpenChannel/components/OpenChannelMessageList.js +28 -28
- package/OpenChannel/components/OpenChannelUI.js +28 -28
- package/OpenChannel/context.js +14 -14
- package/OpenChannel.js +28 -28
- package/{OpenChannelProvider-2e3fa2dd.js → OpenChannelProvider-f5d504ec.js} +55 -39
- package/OpenChannelProvider-f5d504ec.js.map +1 -0
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +21 -21
- package/OpenChannelSettings/components/OperatorUI.js +20 -20
- package/OpenChannelSettings/components/ParticipantUI.js +18 -18
- package/OpenChannelSettings/context.js +17 -16
- package/OpenChannelSettings/context.js.map +1 -1
- package/OpenChannelSettings.js +21 -21
- package/SendbirdProvider.js +30 -22
- package/SendbirdProvider.js.map +1 -1
- package/{UserProfileContext-143a6a42.js → UserProfileContext-a2483e23.js} +1 -1
- package/{UserProfileContext-143a6a42.js.map → UserProfileContext-a2483e23.js.map} +1 -1
- package/{__bundle-6316ce22-cd546820.js → __bundle-6316ce22-63d15802.js} +1 -1
- package/{__bundle-6316ce22-cd546820.js.map → __bundle-6316ce22-63d15802.js.map} +1 -1
- package/{__bundle-7dfccc8c-6c6e7ab4.js → __bundle-7dfccc8c-d5c3938c.js} +2 -2
- package/{__bundle-7dfccc8c-6c6e7ab4.js.map → __bundle-7dfccc8c-d5c3938c.js.map} +1 -1
- package/{__bundle-fbda47dd-9dbeee1d.js → __bundle-fbda47dd-b1c87af3.js} +2 -2
- package/{__bundle-fbda47dd-9dbeee1d.js.map → __bundle-fbda47dd-b1c87af3.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-3043541a.js → _rollupPluginBabelHelpers-b2b008c2.js} +1 -1
- package/{_rollupPluginBabelHelpers-3043541a.js.map → _rollupPluginBabelHelpers-b2b008c2.js.map} +1 -1
- package/{actionTypes-2873dec9.js → actionTypes-3a618022.js} +1 -1
- package/{actionTypes-2873dec9.js.map → actionTypes-3a618022.js.map} +1 -1
- package/cjs/App.js +37 -36
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +19 -19
- package/cjs/Channel/components/ChannelUI.js +26 -26
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +18 -18
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +26 -24
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +20 -20
- package/cjs/Channel/components/MessageList.js +25 -25
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +20 -20
- package/cjs/Channel/components/SuggestedMentionList.js +19 -19
- package/cjs/Channel/components/TypingIndicator.js +18 -18
- package/cjs/Channel/components/UnreadCount.js +5 -5
- package/cjs/Channel/context.js +17 -17
- package/cjs/Channel.js +26 -26
- package/cjs/ChannelList/components/AddChannel.js +14 -14
- package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
- package/cjs/ChannelList/components/ChannelListUI.js +30 -30
- package/cjs/ChannelList/components/ChannelPreview.js +23 -23
- package/cjs/ChannelList/components/ChannelPreviewAction.js +22 -20
- package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/cjs/ChannelList/context.js +12 -12
- package/cjs/ChannelList.js +30 -30
- package/cjs/{ChannelListProvider-b60fe6ed.js → ChannelListProvider-3e882076.js} +9 -9
- package/cjs/{ChannelListProvider-b60fe6ed.js.map → ChannelListProvider-3e882076.js.map} +1 -1
- package/cjs/{ChannelProvider-b21b3c2a.js → ChannelProvider-b7e7f2ff.js} +12 -13
- package/cjs/{ChannelProvider-b21b3c2a.js.map → ChannelProvider-b7e7f2ff.js.map} +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +12 -12
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +22 -22
- package/cjs/ChannelSettings/components/EditDetailsModal.js +12 -12
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +19 -19
- package/cjs/ChannelSettings/components/UserListItem.js +14 -14
- package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
- package/cjs/ChannelSettings/components/UserPanel.js +14 -14
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +22 -22
- package/cjs/CreateChannel/components/CreateChannelUI.js +14 -14
- package/cjs/CreateChannel/components/InviteUsers.js +14 -14
- package/cjs/CreateChannel/components/SelectChannelType.js +11 -11
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +14 -14
- package/cjs/{CreateChannelProvider-71e1e6d6.js → CreateChannelProvider-cea018b0.js} +1 -1
- package/cjs/{CreateChannelProvider-71e1e6d6.js.map → CreateChannelProvider-cea018b0.js.map} +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/{LocalizationContext-da62a103.js → LocalizationContext-c13ae9d5.js} +3 -3
- package/cjs/{LocalizationContext-da62a103.js.map → LocalizationContext-c13ae9d5.js.map} +1 -1
- package/cjs/{MemberList-442ade8c.js → MemberList-e062045b.js} +7 -7
- package/cjs/MemberList-e062045b.js.map +1 -0
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
- package/cjs/MessageSearch/context.js +2 -2
- package/cjs/MessageSearch.js +11 -11
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +17 -17
- package/cjs/OpenChannel/components/OpenChannelInput.js +21 -21
- package/cjs/OpenChannel/components/OpenChannelMessage.js +26 -26
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +28 -28
- package/cjs/OpenChannel/components/OpenChannelUI.js +28 -28
- package/cjs/OpenChannel/context.js +14 -14
- package/cjs/OpenChannel.js +28 -28
- package/cjs/{OpenChannelProvider-bc8d7f0d.js → OpenChannelProvider-341f9a01.js} +55 -39
- package/cjs/OpenChannelProvider-341f9a01.js.map +1 -0
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +21 -21
- package/cjs/OpenChannelSettings/components/OperatorUI.js +20 -20
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +18 -18
- package/cjs/OpenChannelSettings/context.js +17 -16
- package/cjs/OpenChannelSettings/context.js.map +1 -1
- package/cjs/OpenChannelSettings.js +21 -21
- package/cjs/SendbirdProvider.js +30 -22
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/{UserProfileContext-891590a7.js → UserProfileContext-f7c125ca.js} +1 -1
- package/cjs/{UserProfileContext-891590a7.js.map → UserProfileContext-f7c125ca.js.map} +1 -1
- package/cjs/{__bundle-6316ce22-c06e03fc.js → __bundle-6316ce22-054c7ff6.js} +1 -1
- package/cjs/{__bundle-6316ce22-c06e03fc.js.map → __bundle-6316ce22-054c7ff6.js.map} +1 -1
- package/cjs/{__bundle-7dfccc8c-dcc1c854.js → __bundle-7dfccc8c-826eb0ef.js} +2 -2
- package/cjs/{__bundle-7dfccc8c-dcc1c854.js.map → __bundle-7dfccc8c-826eb0ef.js.map} +1 -1
- package/cjs/{__bundle-fbda47dd-1a2c2d97.js → __bundle-fbda47dd-4cb7267d.js} +2 -2
- package/cjs/{__bundle-fbda47dd-1a2c2d97.js.map → __bundle-fbda47dd-4cb7267d.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-4265e501.js → _rollupPluginBabelHelpers-09706ebf.js} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-4265e501.js.map → _rollupPluginBabelHelpers-09706ebf.js.map} +1 -1
- package/cjs/{actionTypes-7c5a0f8b.js → actionTypes-b3af2b15.js} +1 -1
- package/cjs/{actionTypes-7c5a0f8b.js.map → actionTypes-b3af2b15.js.map} +1 -1
- package/cjs/{color-42e34a43.js → color-f0ffb253.js} +1 -1
- package/cjs/{color-42e34a43.js.map → color-f0ffb253.js.map} +1 -1
- package/cjs/{compareIds-26079db4.js → compareIds-10371145.js} +1 -1
- package/cjs/{compareIds-26079db4.js.map → compareIds-10371145.js.map} +1 -1
- package/cjs/{const-c1a4604d.js → const-459420a0.js} +1 -1
- package/cjs/{const-c1a4604d.js.map → const-459420a0.js.map} +1 -1
- package/cjs/{const-8a9ec74c.js → const-84c58686.js} +1 -1
- package/cjs/{const-8a9ec74c.js.map → const-84c58686.js.map} +1 -1
- package/cjs/{context-82ac7edc.js → context-01248097.js} +2 -2
- package/cjs/{context-82ac7edc.js.map → context-01248097.js.map} +1 -1
- package/cjs/dist/index.css +81 -19
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{groupChannel-11ed3837.js → groupChannel-4934c435.js} +4 -4
- package/cjs/{groupChannel-11ed3837.js.map → groupChannel-4934c435.js.map} +1 -1
- package/cjs/handlers/ConnectionHandler.js +3 -3
- package/cjs/handlers/GroupChannelHandler.js +4 -4
- package/cjs/handlers/OpenChannelHandler.js +3 -3
- package/cjs/handlers/SessionHandler.js +12 -0
- package/cjs/handlers/SessionHandler.js.map +1 -0
- package/cjs/handlers/UserEventHandler.js +3 -3
- package/cjs/{index-82646d4d.js → index-0add0c83.js} +6 -6
- package/cjs/{index-82646d4d.js.map → index-0add0c83.js.map} +1 -1
- package/cjs/{index-fb127b1f.js → index-243538a2.js} +2 -2
- package/cjs/{index-fb127b1f.js.map → index-243538a2.js.map} +1 -1
- package/cjs/{index-b440f8c6.js → index-2d53c0e6.js} +4 -4
- package/cjs/{index-b440f8c6.js.map → index-2d53c0e6.js.map} +1 -1
- package/cjs/{index-c79f62fd.js → index-2f58ecfc.js} +4 -4
- package/cjs/{index-c79f62fd.js.map → index-2f58ecfc.js.map} +1 -1
- package/cjs/{index-25336220.js → index-63b56a0e.js} +1 -1
- package/cjs/{index-25336220.js.map → index-63b56a0e.js.map} +1 -1
- package/cjs/{index-f5cb5c7f.js → index-701d44c1.js} +2 -2
- package/cjs/{index-f5cb5c7f.js.map → index-701d44c1.js.map} +1 -1
- package/cjs/{index-32562627.js → index-98e4f7b2.js} +1 -1
- package/cjs/{index-32562627.js.map → index-98e4f7b2.js.map} +1 -1
- package/cjs/{index-81e2234a.js → index-a00a0f18.js} +9 -9
- package/cjs/{index-81e2234a.js.map → index-a00a0f18.js.map} +1 -1
- package/cjs/{index-06c3dca9.js → index-c8f7702f.js} +2 -2
- package/cjs/{index-06c3dca9.js.map → index-c8f7702f.js.map} +1 -1
- package/cjs/{index-05692021.js → index-d889bc81.js} +3 -3
- package/cjs/{index-05692021.js.map → index-d889bc81.js.map} +1 -1
- package/cjs/{index-089e0fba.js → index-dad73aff.js} +3 -3
- package/cjs/{index-089e0fba.js.map → index-dad73aff.js.map} +1 -1
- package/cjs/index.js +39 -39
- package/cjs/{openChannel-76345cfa.js → openChannel-e95532d8.js} +3 -3
- package/cjs/{openChannel-76345cfa.js.map → openChannel-e95532d8.js.map} +1 -1
- package/cjs/{openChannelUtils-56d57483.js → openChannelUtils-7a336d09.js} +1 -1
- package/cjs/{openChannelUtils-56d57483.js.map → openChannelUtils-7a336d09.js.map} +1 -1
- package/cjs/{sendbird-dfd051c8.js → sendbird-e3e5c8ae.js} +4 -3
- package/cjs/{sendbird-dfd051c8.js.map → sendbird-e3e5c8ae.js.map} +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-857a128c.js → stringSet-bd0c293d.js} +1 -1
- package/cjs/{stringSet-857a128c.js.map → stringSet-bd0c293d.js.map} +1 -1
- package/cjs/{topics-a755c9c6.js → topics-f3fe3bf3.js} +1 -1
- package/cjs/{topics-a755c9c6.js.map → topics-f3fe3bf3.js.map} +1 -1
- package/cjs/{tslib.es6-ba69891c.js → tslib.es6-f57d0c81.js} +18 -1
- package/cjs/{tslib.es6-ba69891c.js.map → tslib.es6-f57d0c81.js.map} +1 -1
- package/cjs/ui/Accordion.js +4 -4
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +4 -4
- package/cjs/ui/Avatar.js +3 -3
- package/cjs/ui/Badge.js +6 -6
- package/cjs/ui/Button.js +5 -5
- package/cjs/ui/ChannelAvatar.js +4 -4
- package/cjs/ui/ChannelPreview.js +12 -12
- package/cjs/ui/ChatHeader.js +8 -8
- package/cjs/ui/ConnectionStatus.js +5 -5
- package/cjs/ui/ContextMenu.js +99 -85
- package/cjs/ui/ContextMenu.js.map +1 -1
- package/cjs/ui/DateSeparator.js +5 -5
- package/cjs/ui/EmojiReactions.js +8 -8
- package/cjs/ui/FileMessageItemBody.js +10 -8
- package/cjs/ui/FileMessageItemBody.js.map +1 -1
- package/cjs/ui/FileViewer.js +9 -9
- package/cjs/ui/Icon.js +1 -1
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/MentionLabel.js +11 -11
- package/cjs/ui/MessageContent.js +23 -18
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput.js +10 -10
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +8 -8
- package/cjs/ui/MessageItemReactionMenu.js +6 -6
- package/cjs/ui/MessageSearchFileItem.js +10 -10
- package/cjs/ui/MessageSearchItem.js +10 -10
- package/cjs/ui/MessageStatus.js +8 -8
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +1 -1
- package/cjs/ui/OGMessageItemBody.js +15 -13
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +4 -4
- package/cjs/ui/OpenChannelAvatar.js +7 -7
- package/cjs/ui/OpenchannelConversationHeader.js +7 -7
- package/cjs/ui/OpenchannelFileMessage.js +15 -15
- package/cjs/ui/OpenchannelOGMessage.js +15 -15
- package/cjs/ui/OpenchannelThumbnailMessage.js +14 -14
- package/cjs/ui/OpenchannelUserMessage.js +15 -15
- package/cjs/ui/PlaceHolder.js +7 -7
- package/cjs/ui/QuoteMessage.js +7 -7
- package/cjs/ui/QuoteMessageInput.js +7 -7
- package/cjs/ui/ReactionBadge.js +4 -4
- package/cjs/ui/ReactionButton.js +1 -1
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +15 -13
- package/cjs/ui/TextMessageItemBody.js.map +1 -1
- package/cjs/ui/ThumbnailMessageItemBody.js +11 -9
- package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/cjs/ui/Tooltip.js +4 -4
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/UnknownMessageItemBody.js +11 -9
- package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
- package/cjs/ui/UserListItem.js +12 -12
- package/cjs/ui/UserProfile.js +10 -10
- package/cjs/ui/Word.js +11 -11
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/{utils-c39eb349.js → utils-438c14b6.js} +1 -1
- package/cjs/{utils-c39eb349.js.map → utils-438c14b6.js.map} +1 -1
- package/cjs/{utils-bf57a41a.js → utils-760ac018.js} +1 -1
- package/cjs/{utils-bf57a41a.js.map → utils-760ac018.js.map} +1 -1
- package/cjs/{utils-bfbac88e.js → utils-959685f6.js} +1 -1
- package/cjs/{utils-bfbac88e.js.map → utils-959685f6.js.map} +1 -1
- package/cjs/{uuid-49679ac2.js → uuid-1942f440.js} +1 -1
- package/cjs/{uuid-49679ac2.js.map → uuid-1942f440.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-798488ed.js → color-83cfc07a.js} +1 -1
- package/{color-798488ed.js.map → color-83cfc07a.js.map} +1 -1
- package/{compareIds-2e073780.js → compareIds-9455ecb0.js} +1 -1
- package/{compareIds-2e073780.js.map → compareIds-9455ecb0.js.map} +1 -1
- package/{const-51fc1a68.js → const-71ceda85.js} +1 -1
- package/{const-51fc1a68.js.map → const-71ceda85.js.map} +1 -1
- package/{const-b88f8299.js → const-7867ac6a.js} +1 -1
- package/{const-b88f8299.js.map → const-7867ac6a.js.map} +1 -1
- package/{context-406bf9f1.js → context-2f6f1c17.js} +2 -2
- package/{context-406bf9f1.js.map → context-2f6f1c17.js.map} +1 -1
- package/dist/index.css +81 -19
- package/dist/index.css.map +1 -1
- package/{groupChannel-17ffbb7f.js → groupChannel-de6b26ee.js} +4 -4
- package/{groupChannel-17ffbb7f.js.map → groupChannel-de6b26ee.js.map} +1 -1
- package/handlers/ConnectionHandler.js +4 -4
- package/handlers/GroupChannelHandler.js +5 -5
- package/handlers/OpenChannelHandler.js +4 -4
- package/handlers/SessionHandler.js +9 -0
- package/handlers/SessionHandler.js.map +1 -0
- package/handlers/UserEventHandler.js +4 -4
- package/{index-c9cda9f6.js → index-1086dd43.js} +1 -1
- package/{index-c9cda9f6.js.map → index-1086dd43.js.map} +1 -1
- package/{index-6a47d16f.js → index-16e14c17.js} +3 -3
- package/{index-6a47d16f.js.map → index-16e14c17.js.map} +1 -1
- package/{index-03ccaf35.js → index-24a5ab49.js} +2 -2
- package/{index-03ccaf35.js.map → index-24a5ab49.js.map} +1 -1
- package/{index-5ec69689.js → index-25496c01.js} +1 -1
- package/{index-5ec69689.js.map → index-25496c01.js.map} +1 -1
- package/{index-b4944539.js → index-2f85a795.js} +2 -2
- package/{index-b4944539.js.map → index-2f85a795.js.map} +1 -1
- package/{index-7f2be3d7.js → index-4400a360.js} +2 -2
- package/{index-7f2be3d7.js.map → index-4400a360.js.map} +1 -1
- package/{index-ced613ea.js → index-7a790c96.js} +4 -4
- package/{index-ced613ea.js.map → index-7a790c96.js.map} +1 -1
- package/{index-4e56f382.js → index-952d5f9b.js} +4 -4
- package/{index-4e56f382.js.map → index-952d5f9b.js.map} +1 -1
- package/{index-fa8ac00a.js → index-c3a36db0.js} +6 -6
- package/{index-fa8ac00a.js.map → index-c3a36db0.js.map} +1 -1
- package/{index-702d2072.js → index-d545f604.js} +9 -9
- package/{index-702d2072.js.map → index-d545f604.js.map} +1 -1
- package/{index-ed39099a.js → index-e028fd23.js} +3 -3
- package/{index-ed39099a.js.map → index-e028fd23.js.map} +1 -1
- package/index.d.ts +24 -9
- package/index.js +39 -39
- package/{openChannel-1548376e.js → openChannel-825f8e93.js} +3 -3
- package/{openChannel-1548376e.js.map → openChannel-825f8e93.js.map} +1 -1
- package/{openChannelUtils-09e4bac8.js → openChannelUtils-f64223c9.js} +1 -1
- package/{openChannelUtils-09e4bac8.js.map → openChannelUtils-f64223c9.js.map} +1 -1
- package/package.json +1 -1
- package/{sendbird-597583ed.js → sendbird-21239b88.js} +4 -4
- package/{sendbird-597583ed.js.map → sendbird-21239b88.js.map} +1 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-647493ce.js → stringSet-c4a61372.js} +1 -1
- package/{stringSet-647493ce.js.map → stringSet-c4a61372.js.map} +1 -1
- package/{topics-18836011.js → topics-851d221c.js} +1 -1
- package/{topics-18836011.js.map → topics-851d221c.js.map} +1 -1
- package/{tslib.es6-710c6267.js → tslib.es6-72a2f141.js} +18 -2
- package/{tslib.es6-710c6267.js.map → tslib.es6-72a2f141.js.map} +1 -1
- package/ui/Accordion.js +4 -4
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +4 -4
- package/ui/Avatar.js +3 -3
- package/ui/Badge.js +6 -6
- package/ui/Button.js +5 -5
- package/ui/ChannelAvatar.js +4 -4
- package/ui/ChannelPreview.js +12 -12
- package/ui/ChatHeader.js +8 -8
- package/ui/ConnectionStatus.js +5 -5
- package/ui/ContextMenu.js +100 -86
- package/ui/ContextMenu.js.map +1 -1
- package/ui/DateSeparator.js +5 -5
- package/ui/EmojiReactions.js +8 -8
- package/ui/FileMessageItemBody.js +10 -8
- package/ui/FileMessageItemBody.js.map +1 -1
- package/ui/FileViewer.js +9 -9
- package/ui/Icon.js +1 -1
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +2 -2
- package/ui/MentionLabel.js +11 -11
- package/ui/MessageContent.js +23 -18
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput.js +10 -10
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +8 -8
- package/ui/MessageItemReactionMenu.js +6 -6
- package/ui/MessageSearchFileItem.js +10 -10
- package/ui/MessageSearchItem.js +10 -10
- package/ui/MessageStatus.js +8 -8
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +1 -1
- package/ui/OGMessageItemBody.js +15 -13
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +4 -4
- package/ui/OpenChannelAvatar.js +7 -7
- package/ui/OpenchannelConversationHeader.js +7 -7
- package/ui/OpenchannelFileMessage.js +15 -15
- package/ui/OpenchannelOGMessage.js +15 -15
- package/ui/OpenchannelThumbnailMessage.js +14 -14
- package/ui/OpenchannelUserMessage.js +15 -15
- package/ui/PlaceHolder.js +7 -7
- package/ui/QuoteMessage.js +7 -7
- package/ui/QuoteMessageInput.js +7 -7
- package/ui/ReactionBadge.js +4 -4
- package/ui/ReactionButton.js +1 -1
- package/ui/SortByRow.js +2 -2
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +15 -13
- package/ui/TextMessageItemBody.js.map +1 -1
- package/ui/ThumbnailMessageItemBody.js +11 -9
- package/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/ui/Tooltip.js +4 -4
- package/ui/TooltipWrapper.js +1 -1
- package/ui/UnknownMessageItemBody.js +11 -9
- package/ui/UnknownMessageItemBody.js.map +1 -1
- package/ui/UserListItem.js +12 -12
- package/ui/UserProfile.js +10 -10
- package/ui/Word.js +11 -11
- package/useSendbirdStateContext.js +1 -1
- package/{utils-19e84a08.js → utils-12da1022.js} +1 -1
- package/{utils-19e84a08.js.map → utils-12da1022.js.map} +1 -1
- package/{utils-301322ba.js → utils-2c4d166e.js} +1 -1
- package/{utils-301322ba.js.map → utils-2c4d166e.js.map} +1 -1
- package/{utils-2666bdfb.js → utils-bc7d8f0c.js} +1 -1
- package/{utils-2666bdfb.js.map → utils-bc7d8f0c.js.map} +1 -1
- package/{uuid-60ae25c1.js → uuid-8a4db02f.js} +1 -1
- package/{uuid-60ae25c1.js.map → uuid-8a4db02f.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/MemberList-0acc36c3.js.map +0 -1
- package/OpenChannelProvider-2e3fa2dd.js.map +0 -1
- package/cjs/MemberList-442ade8c.js.map +0 -1
- package/cjs/OpenChannelProvider-bc8d7f0d.js.map +0 -1
- package/package-lock.json +0 -60787
|
@@ -1,55 +1,55 @@
|
|
|
1
1
|
import React__default, { useContext, useMemo, useState, useRef } from 'react';
|
|
2
|
-
import { f as format } from '../../index-
|
|
2
|
+
import { f as format } from '../../index-4400a360.js';
|
|
3
3
|
import OpenchannelUserMessage from '../../ui/OpenchannelUserMessage.js';
|
|
4
4
|
import OpenChannelAdminMessage from '../../ui/OpenChannelAdminMessage.js';
|
|
5
5
|
import OpenchannelOGMessage from '../../ui/OpenchannelOGMessage.js';
|
|
6
6
|
import OpenchannelThumbnailMessage from '../../ui/OpenchannelThumbnailMessage.js';
|
|
7
7
|
import OpenchannelFileMessage from '../../ui/OpenchannelFileMessage.js';
|
|
8
8
|
import DateSeparator from '../../ui/DateSeparator.js';
|
|
9
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
9
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-e028fd23.js';
|
|
10
10
|
import MessageInput from '../../ui/MessageInput.js';
|
|
11
11
|
import FileViewer from '../../ui/FileViewer.js';
|
|
12
12
|
import Modal from '../../ui/Modal.js';
|
|
13
|
-
import { a as LocalizationContext, u as useLocalization } from '../../LocalizationContext-
|
|
14
|
-
import { _ as __assign } from '../../tslib.es6-
|
|
15
|
-
import { u as useOpenChannelContext } from '../../OpenChannelProvider-
|
|
13
|
+
import { a as LocalizationContext, u as useLocalization } from '../../LocalizationContext-5b475a64.js';
|
|
14
|
+
import { _ as __assign } from '../../tslib.es6-72a2f141.js';
|
|
15
|
+
import { u as useOpenChannelContext } from '../../OpenChannelProvider-f5d504ec.js';
|
|
16
16
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
17
|
-
import '../../index-
|
|
17
|
+
import '../../index-25496c01.js';
|
|
18
18
|
import '../../ui/Avatar.js';
|
|
19
19
|
import '../../ui/ImageRenderer.js';
|
|
20
20
|
import '../../ui/Icon.js';
|
|
21
|
-
import '../../_rollupPluginBabelHelpers-
|
|
21
|
+
import '../../_rollupPluginBabelHelpers-b2b008c2.js';
|
|
22
22
|
import 'prop-types';
|
|
23
|
-
import '../../uuid-
|
|
23
|
+
import '../../uuid-8a4db02f.js';
|
|
24
24
|
import '../../ui/ContextMenu.js';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import '../../ui/SortByRow.js';
|
|
27
|
-
import '../../index-
|
|
28
|
-
import '../../stringSet-
|
|
27
|
+
import '../../index-24a5ab49.js';
|
|
28
|
+
import '../../stringSet-c4a61372.js';
|
|
29
29
|
import '../../ui/IconButton.js';
|
|
30
30
|
import '../../ui/Loader.js';
|
|
31
31
|
import '../../ui/UserProfile.js';
|
|
32
32
|
import '../../withSendbird.js';
|
|
33
33
|
import '../../sendbirdSelectors.js';
|
|
34
|
-
import '../../topics-
|
|
35
|
-
import '../../utils-
|
|
36
|
-
import '../../index-
|
|
37
|
-
import '../../UserProfileContext-
|
|
38
|
-
import '../../utils-
|
|
39
|
-
import '../../openChannelUtils-
|
|
34
|
+
import '../../topics-851d221c.js';
|
|
35
|
+
import '../../utils-2c4d166e.js';
|
|
36
|
+
import '../../index-16e14c17.js';
|
|
37
|
+
import '../../UserProfileContext-a2483e23.js';
|
|
38
|
+
import '../../utils-12da1022.js';
|
|
39
|
+
import '../../openChannelUtils-f64223c9.js';
|
|
40
40
|
import '../../ui/LinkLabel.js';
|
|
41
41
|
import '../../ui/TextButton.js';
|
|
42
|
-
import '../../color-
|
|
43
|
-
import '../../const-
|
|
44
|
-
import '../../const-
|
|
42
|
+
import '../../color-83cfc07a.js';
|
|
43
|
+
import '../../const-71ceda85.js';
|
|
44
|
+
import '../../const-7867ac6a.js';
|
|
45
45
|
import '../../ui/MentionUserLabel.js';
|
|
46
|
-
import '../../index-
|
|
47
|
-
import '../../compareIds-
|
|
48
|
-
import '../../sendbird-
|
|
49
|
-
import '../../__bundle-6316ce22-
|
|
50
|
-
import '../../__bundle-fbda47dd-
|
|
51
|
-
import '../../openChannel-
|
|
52
|
-
import '../../__bundle-7dfccc8c-
|
|
46
|
+
import '../../index-1086dd43.js';
|
|
47
|
+
import '../../compareIds-9455ecb0.js';
|
|
48
|
+
import '../../sendbird-21239b88.js';
|
|
49
|
+
import '../../__bundle-6316ce22-63d15802.js';
|
|
50
|
+
import '../../__bundle-fbda47dd-b1c87af3.js';
|
|
51
|
+
import '../../openChannel-825f8e93.js';
|
|
52
|
+
import '../../__bundle-7dfccc8c-d5c3938c.js';
|
|
53
53
|
|
|
54
54
|
function RemoveMessageModal(_a) {
|
|
55
55
|
var onCloseModal = _a.onCloseModal,
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useMemo } from 'react';
|
|
2
|
-
import { i as isSameDay } from '../../index-
|
|
2
|
+
import { i as isSameDay } from '../../index-2f85a795.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
4
|
-
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-
|
|
5
|
-
import { u as useOpenChannelContext, c as compareMessagesForGrouping } from '../../OpenChannelProvider-
|
|
4
|
+
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-7a790c96.js';
|
|
5
|
+
import { u as useOpenChannelContext, c as compareMessagesForGrouping } from '../../OpenChannelProvider-f5d504ec.js';
|
|
6
6
|
import MessagOpenChannelMessageeHoc from './OpenChannelMessage.js';
|
|
7
|
-
import '../../index-
|
|
8
|
-
import '../../index-
|
|
9
|
-
import '../../_rollupPluginBabelHelpers-
|
|
7
|
+
import '../../index-4400a360.js';
|
|
8
|
+
import '../../index-25496c01.js';
|
|
9
|
+
import '../../_rollupPluginBabelHelpers-b2b008c2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import '../../tslib.es6-
|
|
12
|
-
import '../../LocalizationContext-
|
|
13
|
-
import '../../stringSet-
|
|
14
|
-
import '../../index-
|
|
11
|
+
import '../../tslib.es6-72a2f141.js';
|
|
12
|
+
import '../../LocalizationContext-5b475a64.js';
|
|
13
|
+
import '../../stringSet-c4a61372.js';
|
|
14
|
+
import '../../index-e028fd23.js';
|
|
15
15
|
import '../../ui/Loader.js';
|
|
16
|
-
import '../../UserProfileContext-
|
|
17
|
-
import '../../compareIds-
|
|
18
|
-
import '../../topics-
|
|
19
|
-
import '../../sendbird-
|
|
20
|
-
import '../../__bundle-6316ce22-
|
|
21
|
-
import '../../__bundle-fbda47dd-
|
|
22
|
-
import '../../openChannel-
|
|
23
|
-
import '../../__bundle-7dfccc8c-
|
|
24
|
-
import '../../uuid-
|
|
16
|
+
import '../../UserProfileContext-a2483e23.js';
|
|
17
|
+
import '../../compareIds-9455ecb0.js';
|
|
18
|
+
import '../../topics-851d221c.js';
|
|
19
|
+
import '../../sendbird-21239b88.js';
|
|
20
|
+
import '../../__bundle-6316ce22-63d15802.js';
|
|
21
|
+
import '../../__bundle-fbda47dd-b1c87af3.js';
|
|
22
|
+
import '../../openChannel-825f8e93.js';
|
|
23
|
+
import '../../__bundle-7dfccc8c-d5c3938c.js';
|
|
24
|
+
import '../../uuid-8a4db02f.js';
|
|
25
25
|
import '../../useSendbirdStateContext.js';
|
|
26
26
|
import '../../withSendbird.js';
|
|
27
27
|
import '../../ui/OpenchannelUserMessage.js';
|
|
@@ -30,28 +30,28 @@ import '../../ui/ImageRenderer.js';
|
|
|
30
30
|
import '../../ui/ContextMenu.js';
|
|
31
31
|
import 'react-dom';
|
|
32
32
|
import '../../ui/SortByRow.js';
|
|
33
|
-
import '../../index-
|
|
33
|
+
import '../../index-24a5ab49.js';
|
|
34
34
|
import '../../ui/IconButton.js';
|
|
35
35
|
import '../../ui/UserProfile.js';
|
|
36
36
|
import '../../sendbirdSelectors.js';
|
|
37
|
-
import '../../utils-
|
|
38
|
-
import '../../index-
|
|
39
|
-
import '../../utils-
|
|
40
|
-
import '../../openChannelUtils-
|
|
37
|
+
import '../../utils-2c4d166e.js';
|
|
38
|
+
import '../../index-16e14c17.js';
|
|
39
|
+
import '../../utils-12da1022.js';
|
|
40
|
+
import '../../openChannelUtils-f64223c9.js';
|
|
41
41
|
import '../../ui/OpenChannelAdminMessage.js';
|
|
42
42
|
import '../../ui/OpenchannelOGMessage.js';
|
|
43
43
|
import '../../ui/LinkLabel.js';
|
|
44
44
|
import '../../ui/OpenchannelThumbnailMessage.js';
|
|
45
45
|
import '../../ui/OpenchannelFileMessage.js';
|
|
46
46
|
import '../../ui/TextButton.js';
|
|
47
|
-
import '../../color-
|
|
47
|
+
import '../../color-83cfc07a.js';
|
|
48
48
|
import '../../ui/DateSeparator.js';
|
|
49
49
|
import '../../ui/MessageInput.js';
|
|
50
|
-
import '../../const-
|
|
51
|
-
import '../../const-
|
|
50
|
+
import '../../const-71ceda85.js';
|
|
51
|
+
import '../../const-7867ac6a.js';
|
|
52
52
|
import '../../ui/MentionUserLabel.js';
|
|
53
53
|
import '../../ui/FileViewer.js';
|
|
54
|
-
import '../../index-
|
|
54
|
+
import '../../index-1086dd43.js';
|
|
55
55
|
import '../../ui/Modal.js';
|
|
56
56
|
|
|
57
57
|
function OpenchannelMessageList(props, ref) {
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { u as useOpenChannelContext } from '../../OpenChannelProvider-
|
|
2
|
+
import { u as useOpenChannelContext } from '../../OpenChannelProvider-f5d504ec.js';
|
|
3
3
|
import OpenChannelInput from './OpenChannelInput.js';
|
|
4
4
|
import FrozenNotification from './FrozenChannelNotification.js';
|
|
5
5
|
import OpenchannelConversationHeader from './OpenChannelHeader.js';
|
|
6
|
-
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-
|
|
6
|
+
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-7a790c96.js';
|
|
7
7
|
import OpenChannelMessageList from './OpenChannelMessageList.js';
|
|
8
|
-
import '../../index-
|
|
9
|
-
import '../../index-
|
|
10
|
-
import '../../UserProfileContext-
|
|
8
|
+
import '../../index-4400a360.js';
|
|
9
|
+
import '../../index-25496c01.js';
|
|
10
|
+
import '../../UserProfileContext-a2483e23.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../../tslib.es6-
|
|
13
|
-
import '../../compareIds-
|
|
14
|
-
import '../../topics-
|
|
15
|
-
import '../../sendbird-
|
|
16
|
-
import '../../__bundle-6316ce22-
|
|
17
|
-
import '../../__bundle-fbda47dd-
|
|
18
|
-
import '../../openChannel-
|
|
19
|
-
import '../../__bundle-7dfccc8c-
|
|
20
|
-
import '../../uuid-
|
|
12
|
+
import '../../tslib.es6-72a2f141.js';
|
|
13
|
+
import '../../compareIds-9455ecb0.js';
|
|
14
|
+
import '../../topics-851d221c.js';
|
|
15
|
+
import '../../sendbird-21239b88.js';
|
|
16
|
+
import '../../__bundle-6316ce22-63d15802.js';
|
|
17
|
+
import '../../__bundle-fbda47dd-b1c87af3.js';
|
|
18
|
+
import '../../openChannel-825f8e93.js';
|
|
19
|
+
import '../../__bundle-7dfccc8c-d5c3938c.js';
|
|
20
|
+
import '../../uuid-8a4db02f.js';
|
|
21
21
|
import '../../useSendbirdStateContext.js';
|
|
22
22
|
import '../../withSendbird.js';
|
|
23
|
-
import '../../_rollupPluginBabelHelpers-
|
|
24
|
-
import '../../LocalizationContext-
|
|
25
|
-
import '../../stringSet-
|
|
23
|
+
import '../../_rollupPluginBabelHelpers-b2b008c2.js';
|
|
24
|
+
import '../../LocalizationContext-5b475a64.js';
|
|
25
|
+
import '../../stringSet-c4a61372.js';
|
|
26
26
|
import '../../ui/MessageInput.js';
|
|
27
|
-
import '../../const-
|
|
28
|
-
import '../../const-
|
|
27
|
+
import '../../const-71ceda85.js';
|
|
28
|
+
import '../../const-7867ac6a.js';
|
|
29
29
|
import '../../ui/IconButton.js';
|
|
30
|
-
import '../../index-
|
|
31
|
-
import '../../index-
|
|
30
|
+
import '../../index-16e14c17.js';
|
|
31
|
+
import '../../index-e028fd23.js';
|
|
32
32
|
import '../../ui/MentionUserLabel.js';
|
|
33
33
|
import '../../ui/Icon.js';
|
|
34
|
-
import '../../index-
|
|
34
|
+
import '../../index-24a5ab49.js';
|
|
35
35
|
import '../../ui/Avatar.js';
|
|
36
36
|
import '../../ui/ImageRenderer.js';
|
|
37
37
|
import '../../ui/Loader.js';
|
|
38
|
-
import '../../index-
|
|
38
|
+
import '../../index-2f85a795.js';
|
|
39
39
|
import './OpenChannelMessage.js';
|
|
40
40
|
import '../../ui/OpenchannelUserMessage.js';
|
|
41
41
|
import '../../ui/ContextMenu.js';
|
|
@@ -43,19 +43,19 @@ import 'react-dom';
|
|
|
43
43
|
import '../../ui/SortByRow.js';
|
|
44
44
|
import '../../ui/UserProfile.js';
|
|
45
45
|
import '../../sendbirdSelectors.js';
|
|
46
|
-
import '../../utils-
|
|
47
|
-
import '../../utils-
|
|
48
|
-
import '../../openChannelUtils-
|
|
46
|
+
import '../../utils-2c4d166e.js';
|
|
47
|
+
import '../../utils-12da1022.js';
|
|
48
|
+
import '../../openChannelUtils-f64223c9.js';
|
|
49
49
|
import '../../ui/OpenChannelAdminMessage.js';
|
|
50
50
|
import '../../ui/OpenchannelOGMessage.js';
|
|
51
51
|
import '../../ui/LinkLabel.js';
|
|
52
52
|
import '../../ui/OpenchannelThumbnailMessage.js';
|
|
53
53
|
import '../../ui/OpenchannelFileMessage.js';
|
|
54
54
|
import '../../ui/TextButton.js';
|
|
55
|
-
import '../../color-
|
|
55
|
+
import '../../color-83cfc07a.js';
|
|
56
56
|
import '../../ui/DateSeparator.js';
|
|
57
57
|
import '../../ui/FileViewer.js';
|
|
58
|
-
import '../../index-
|
|
58
|
+
import '../../index-1086dd43.js';
|
|
59
59
|
import '../../ui/Modal.js';
|
|
60
60
|
|
|
61
61
|
var COMPONENT_CLASS_NAME = 'sendbird-openchannel-conversation';
|
package/OpenChannel/context.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { O as OpenChannelProvider, u as useOpenChannelContext } from '../OpenChannelProvider-
|
|
3
|
-
import '../UserProfileContext-
|
|
4
|
-
import '../topics-
|
|
2
|
+
export { O as OpenChannelProvider, u as useOpenChannelContext } from '../OpenChannelProvider-f5d504ec.js';
|
|
3
|
+
import '../UserProfileContext-a2483e23.js';
|
|
4
|
+
import '../topics-851d221c.js';
|
|
5
5
|
import '../useSendbirdStateContext.js';
|
|
6
|
-
import '../index-
|
|
7
|
-
import '../index-
|
|
8
|
-
import '../tslib.es6-
|
|
9
|
-
import '../compareIds-
|
|
10
|
-
import '../sendbird-
|
|
11
|
-
import '../__bundle-6316ce22-
|
|
12
|
-
import '../__bundle-fbda47dd-
|
|
13
|
-
import '../openChannel-
|
|
14
|
-
import '../__bundle-7dfccc8c-
|
|
15
|
-
import '../uuid-
|
|
6
|
+
import '../index-4400a360.js';
|
|
7
|
+
import '../index-25496c01.js';
|
|
8
|
+
import '../tslib.es6-72a2f141.js';
|
|
9
|
+
import '../compareIds-9455ecb0.js';
|
|
10
|
+
import '../sendbird-21239b88.js';
|
|
11
|
+
import '../__bundle-6316ce22-63d15802.js';
|
|
12
|
+
import '../__bundle-fbda47dd-b1c87af3.js';
|
|
13
|
+
import '../openChannel-825f8e93.js';
|
|
14
|
+
import '../__bundle-7dfccc8c-d5c3938c.js';
|
|
15
|
+
import '../uuid-8a4db02f.js';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import '../withSendbird.js';
|
|
18
|
-
import '../_rollupPluginBabelHelpers-
|
|
18
|
+
import '../_rollupPluginBabelHelpers-b2b008c2.js';
|
|
19
19
|
//# sourceMappingURL=context.js.map
|
package/OpenChannel.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import OpenChannelUI from './OpenChannel/components/OpenChannelUI.js';
|
|
3
|
-
import { O as OpenChannelProvider } from './OpenChannelProvider-
|
|
3
|
+
import { O as OpenChannelProvider } from './OpenChannelProvider-f5d504ec.js';
|
|
4
4
|
import './OpenChannel/components/OpenChannelInput.js';
|
|
5
|
-
import './LocalizationContext-
|
|
6
|
-
import './stringSet-
|
|
7
|
-
import './index-
|
|
5
|
+
import './LocalizationContext-5b475a64.js';
|
|
6
|
+
import './stringSet-c4a61372.js';
|
|
7
|
+
import './index-25496c01.js';
|
|
8
8
|
import './ui/MessageInput.js';
|
|
9
|
-
import './_rollupPluginBabelHelpers-
|
|
9
|
+
import './_rollupPluginBabelHelpers-b2b008c2.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './const-
|
|
12
|
-
import './const-
|
|
11
|
+
import './const-71ceda85.js';
|
|
12
|
+
import './const-7867ac6a.js';
|
|
13
13
|
import './ui/IconButton.js';
|
|
14
|
-
import './tslib.es6-
|
|
15
|
-
import './index-
|
|
16
|
-
import './index-
|
|
14
|
+
import './tslib.es6-72a2f141.js';
|
|
15
|
+
import './index-16e14c17.js';
|
|
16
|
+
import './index-e028fd23.js';
|
|
17
17
|
import './ui/MentionUserLabel.js';
|
|
18
18
|
import './ui/Icon.js';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-24a5ab49.js';
|
|
20
20
|
import './OpenChannel/components/FrozenChannelNotification.js';
|
|
21
21
|
import './OpenChannel/components/OpenChannelHeader.js';
|
|
22
22
|
import './ui/Avatar.js';
|
|
23
23
|
import './ui/ImageRenderer.js';
|
|
24
|
-
import './uuid-
|
|
25
|
-
import './index-
|
|
24
|
+
import './uuid-8a4db02f.js';
|
|
25
|
+
import './index-7a790c96.js';
|
|
26
26
|
import './ui/Loader.js';
|
|
27
27
|
import './OpenChannel/components/OpenChannelMessageList.js';
|
|
28
|
-
import './index-
|
|
29
|
-
import './index-
|
|
28
|
+
import './index-2f85a795.js';
|
|
29
|
+
import './index-4400a360.js';
|
|
30
30
|
import './OpenChannel/components/OpenChannelMessage.js';
|
|
31
31
|
import './ui/OpenchannelUserMessage.js';
|
|
32
32
|
import './ui/ContextMenu.js';
|
|
@@ -35,29 +35,29 @@ import './ui/SortByRow.js';
|
|
|
35
35
|
import './ui/UserProfile.js';
|
|
36
36
|
import './withSendbird.js';
|
|
37
37
|
import './sendbirdSelectors.js';
|
|
38
|
-
import './topics-
|
|
39
|
-
import './utils-
|
|
40
|
-
import './UserProfileContext-
|
|
41
|
-
import './utils-
|
|
42
|
-
import './openChannelUtils-
|
|
38
|
+
import './topics-851d221c.js';
|
|
39
|
+
import './utils-2c4d166e.js';
|
|
40
|
+
import './UserProfileContext-a2483e23.js';
|
|
41
|
+
import './utils-12da1022.js';
|
|
42
|
+
import './openChannelUtils-f64223c9.js';
|
|
43
43
|
import './ui/OpenChannelAdminMessage.js';
|
|
44
44
|
import './ui/OpenchannelOGMessage.js';
|
|
45
45
|
import './ui/LinkLabel.js';
|
|
46
46
|
import './ui/OpenchannelThumbnailMessage.js';
|
|
47
47
|
import './ui/OpenchannelFileMessage.js';
|
|
48
48
|
import './ui/TextButton.js';
|
|
49
|
-
import './color-
|
|
49
|
+
import './color-83cfc07a.js';
|
|
50
50
|
import './ui/DateSeparator.js';
|
|
51
51
|
import './ui/FileViewer.js';
|
|
52
|
-
import './index-
|
|
52
|
+
import './index-1086dd43.js';
|
|
53
53
|
import './ui/Modal.js';
|
|
54
54
|
import './useSendbirdStateContext.js';
|
|
55
|
-
import './compareIds-
|
|
56
|
-
import './sendbird-
|
|
57
|
-
import './__bundle-6316ce22-
|
|
58
|
-
import './__bundle-fbda47dd-
|
|
59
|
-
import './openChannel-
|
|
60
|
-
import './__bundle-7dfccc8c-
|
|
55
|
+
import './compareIds-9455ecb0.js';
|
|
56
|
+
import './sendbird-21239b88.js';
|
|
57
|
+
import './__bundle-6316ce22-63d15802.js';
|
|
58
|
+
import './__bundle-fbda47dd-b1c87af3.js';
|
|
59
|
+
import './openChannel-825f8e93.js';
|
|
60
|
+
import './__bundle-7dfccc8c-d5c3938c.js';
|
|
61
61
|
|
|
62
62
|
var OpenChannel = function OpenChannel(props) {
|
|
63
63
|
return /*#__PURE__*/React__default.createElement(OpenChannelProvider, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default, { useEffect, useCallback, useState, useReducer, useRef, useMemo } from 'react';
|
|
2
|
-
import { f as format } from './index-
|
|
3
|
-
import { U as UserProfileProvider } from './UserProfileContext-
|
|
4
|
-
import { _ as __assign, a as __spreadArray } from './tslib.es6-
|
|
5
|
-
import { c as compareIds } from './compareIds-
|
|
6
|
-
import { a as SEND_USER_MESSAGE, S as SEND_MESSAGE_START, b as SEND_FILE_MESSAGE, U as UPDATE_USER_MESSAGE, D as DELETE_MESSAGE } from './topics-
|
|
7
|
-
import './sendbird-
|
|
8
|
-
import { U as Un } from './openChannel-
|
|
9
|
-
import { u as uuidv4 } from './uuid-
|
|
10
|
-
import { n as ne } from './__bundle-6316ce22-
|
|
2
|
+
import { f as format } from './index-4400a360.js';
|
|
3
|
+
import { U as UserProfileProvider } from './UserProfileContext-a2483e23.js';
|
|
4
|
+
import { _ as __assign, a as __spreadArray } from './tslib.es6-72a2f141.js';
|
|
5
|
+
import { c as compareIds } from './compareIds-9455ecb0.js';
|
|
6
|
+
import { a as SEND_USER_MESSAGE, S as SEND_MESSAGE_START, b as SEND_FILE_MESSAGE, U as UPDATE_USER_MESSAGE, D as DELETE_MESSAGE } from './topics-851d221c.js';
|
|
7
|
+
import './sendbird-21239b88.js';
|
|
8
|
+
import { U as Un } from './openChannel-825f8e93.js';
|
|
9
|
+
import { u as uuidv4 } from './uuid-8a4db02f.js';
|
|
10
|
+
import { n as ne } from './__bundle-6316ce22-63d15802.js';
|
|
11
11
|
import useSendbirdStateContext from './useSendbirdStateContext.js';
|
|
12
12
|
|
|
13
13
|
var getMessageCreatedAt = function getMessageCreatedAt(message) {
|
|
@@ -128,6 +128,7 @@ var pxToNumber = function pxToNumber(px) {
|
|
|
128
128
|
var SET_CURRENT_CHANNEL = 'SET_CURRENT_CHANNEL';
|
|
129
129
|
var SET_CHANNEL_INVALID = 'SET_CHANNEL_INVALID';
|
|
130
130
|
var RESET_MESSAGES = 'RESET_MESSAGES';
|
|
131
|
+
var EXIT_CURRENT_CHANNEL = 'EXIT_CURRENT_CHANNEL';
|
|
131
132
|
var GET_PREV_MESSAGES_START = 'GET_PREV_MESSAGES_START';
|
|
132
133
|
var GET_PREV_MESSAGES_SUCESS = 'GET_PREV_MESSAGES_SUCESS';
|
|
133
134
|
var GET_PREV_MESSAGES_FAIL = 'GET_PREV_MESSAGES_FAIL';
|
|
@@ -164,7 +165,7 @@ var ON_META_COUNTERS_DELETED = 'ON_META_COUNTERS_DELETED';
|
|
|
164
165
|
var ON_MENTION_RECEIVED = 'ON_MENTION_RECEIVED';
|
|
165
166
|
|
|
166
167
|
function reducer(state, action) {
|
|
167
|
-
var _a;
|
|
168
|
+
var _a, _b, _c;
|
|
168
169
|
|
|
169
170
|
switch (action.type) {
|
|
170
171
|
case RESET_MESSAGES:
|
|
@@ -174,6 +175,17 @@ function reducer(state, action) {
|
|
|
174
175
|
});
|
|
175
176
|
}
|
|
176
177
|
|
|
178
|
+
case EXIT_CURRENT_CHANNEL:
|
|
179
|
+
{
|
|
180
|
+
if (((_a = action.payload) === null || _a === void 0 ? void 0 : _a.url) === ((_b = state.currentOpenChannel) === null || _b === void 0 ? void 0 : _b.url)) {
|
|
181
|
+
return __assign(__assign({}, state), {
|
|
182
|
+
currentOpenChannel: null
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
return state;
|
|
187
|
+
}
|
|
188
|
+
|
|
177
189
|
case SET_CURRENT_CHANNEL:
|
|
178
190
|
{
|
|
179
191
|
var gottenChannel = action.payload;
|
|
@@ -211,13 +223,13 @@ function reducer(state, action) {
|
|
|
211
223
|
case GET_PREV_MESSAGES_FAIL:
|
|
212
224
|
{
|
|
213
225
|
var isFailed = action.type === GET_PREV_MESSAGES_FAIL;
|
|
214
|
-
var
|
|
215
|
-
|
|
216
|
-
currentOpenChannel =
|
|
217
|
-
|
|
218
|
-
messages =
|
|
219
|
-
hasMore =
|
|
220
|
-
lastMessageTimestamp =
|
|
226
|
+
var _d = action.payload,
|
|
227
|
+
_e = _d.currentOpenChannel,
|
|
228
|
+
currentOpenChannel = _e === void 0 ? {} : _e,
|
|
229
|
+
_f = _d.messages,
|
|
230
|
+
messages = _f === void 0 ? [] : _f,
|
|
231
|
+
hasMore = _d.hasMore,
|
|
232
|
+
lastMessageTimestamp = _d.lastMessageTimestamp;
|
|
221
233
|
var actionChannelUrl = currentOpenChannel.url;
|
|
222
234
|
var receivedMessages_1 = isFailed ? [] : messages;
|
|
223
235
|
|
|
@@ -249,9 +261,9 @@ function reducer(state, action) {
|
|
|
249
261
|
|
|
250
262
|
case SENDING_MESSAGE_START:
|
|
251
263
|
{
|
|
252
|
-
var
|
|
253
|
-
message_1 =
|
|
254
|
-
channel =
|
|
264
|
+
var _g = action.payload,
|
|
265
|
+
message_1 = _g.message,
|
|
266
|
+
channel = _g.channel;
|
|
255
267
|
|
|
256
268
|
if ((channel === null || channel === void 0 ? void 0 : channel.url) !== state.currentOpenChannel.url || state.allMessages.some(function (m) {
|
|
257
269
|
return m.reqId === message_1.reqId;
|
|
@@ -302,7 +314,7 @@ function reducer(state, action) {
|
|
|
302
314
|
case TRIM_MESSAGE_LIST:
|
|
303
315
|
{
|
|
304
316
|
var allMessages = state.allMessages;
|
|
305
|
-
var messageLimit = (
|
|
317
|
+
var messageLimit = (_c = action.payload) === null || _c === void 0 ? void 0 : _c.messageLimit;
|
|
306
318
|
|
|
307
319
|
if (messageLimit && messageLimit > 0 && (allMessages === null || allMessages === void 0 ? void 0 : allMessages.length) > messageLimit) {
|
|
308
320
|
var sliceAt = allMessages.length - messageLimit;
|
|
@@ -708,15 +720,28 @@ function useSetChannel(_a, _b) {
|
|
|
708
720
|
var channelUrl = _a.channelUrl,
|
|
709
721
|
sdkInit = _a.sdkInit,
|
|
710
722
|
fetchingParticipants = _a.fetchingParticipants,
|
|
711
|
-
userId = _a.userId
|
|
723
|
+
userId = _a.userId,
|
|
724
|
+
currentOpenChannel = _a.currentOpenChannel;
|
|
712
725
|
var sdk = _b.sdk,
|
|
713
726
|
logger = _b.logger,
|
|
714
727
|
messagesDispatcher = _b.messagesDispatcher;
|
|
715
728
|
useEffect(function () {
|
|
729
|
+
var _a;
|
|
730
|
+
|
|
716
731
|
if (channelUrl && sdkInit && (sdk === null || sdk === void 0 ? void 0 : sdk.openChannel)) {
|
|
717
|
-
|
|
732
|
+
if (currentOpenChannel && (currentOpenChannel === null || currentOpenChannel === void 0 ? void 0 : currentOpenChannel.exit)) {
|
|
733
|
+
(_a = currentOpenChannel.exit) === null || _a === void 0 ? void 0 : _a.call(currentOpenChannel).then(function () {
|
|
734
|
+
logger.info('OpenChannel | useSetChannel: Exit from the previous open channel', currentOpenChannel === null || currentOpenChannel === void 0 ? void 0 : currentOpenChannel.url);
|
|
735
|
+
messagesDispatcher({
|
|
736
|
+
type: EXIT_CURRENT_CHANNEL,
|
|
737
|
+
payload: currentOpenChannel
|
|
738
|
+
});
|
|
739
|
+
});
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
logger.info('OpenChannel | useSetChannel: Fetching channel', channelUrl);
|
|
718
743
|
sdk.openChannel.getChannel(channelUrl).then(function (openChannel) {
|
|
719
|
-
logger.info('OpenChannel | useSetChannel
|
|
744
|
+
logger.info('OpenChannel | useSetChannel: Succeeded to fetch channel', openChannel);
|
|
720
745
|
messagesDispatcher({
|
|
721
746
|
type: SET_CURRENT_CHANNEL,
|
|
722
747
|
payload: openChannel
|
|
@@ -774,7 +799,7 @@ function useSetChannel(_a, _b) {
|
|
|
774
799
|
});
|
|
775
800
|
}
|
|
776
801
|
}).catch(function (error) {
|
|
777
|
-
logger.warning('OpenChannel | useSetChannel enter channel
|
|
802
|
+
logger.warning('OpenChannel | useSetChannel: Failed to enter channel', {
|
|
778
803
|
channelUrl: channelUrl,
|
|
779
804
|
error: error
|
|
780
805
|
});
|
|
@@ -784,7 +809,7 @@ function useSetChannel(_a, _b) {
|
|
|
784
809
|
});
|
|
785
810
|
});
|
|
786
811
|
}).catch(function (error) {
|
|
787
|
-
logger.warning('OpenChannel | useSetChannel
|
|
812
|
+
logger.warning('OpenChannel | useSetChannel: Failed to fetch channel', {
|
|
788
813
|
channelUrl: channelUrl,
|
|
789
814
|
error: error
|
|
790
815
|
});
|
|
@@ -1741,7 +1766,8 @@ var OpenChannelProvider = function OpenChannelProvider(props) {
|
|
|
1741
1766
|
channelUrl: channelUrl,
|
|
1742
1767
|
sdkInit: sdkInit,
|
|
1743
1768
|
fetchingParticipants: fetchingParticipants,
|
|
1744
|
-
userId: userId
|
|
1769
|
+
userId: userId,
|
|
1770
|
+
currentOpenChannel: currentOpenChannel
|
|
1745
1771
|
}, {
|
|
1746
1772
|
sdk: sdk,
|
|
1747
1773
|
logger: logger,
|
|
@@ -1911,17 +1937,7 @@ var OpenChannelProvider = function OpenChannelProvider(props) {
|
|
|
1911
1937
|
});
|
|
1912
1938
|
}
|
|
1913
1939
|
};
|
|
1914
|
-
}, [channelUrl, sdkInit]);
|
|
1915
|
-
|
|
1916
|
-
useEffect(function () {
|
|
1917
|
-
return function () {
|
|
1918
|
-
if (currentOpenChannel && currentOpenChannel.exit) {
|
|
1919
|
-
currentOpenChannel.exit().then(function () {
|
|
1920
|
-
logger.info('OpenChannel | useSetChannel: Succeeded to exit channel');
|
|
1921
|
-
});
|
|
1922
|
-
}
|
|
1923
|
-
};
|
|
1924
|
-
}, [currentOpenChannel]);
|
|
1940
|
+
}, [channelUrl, sdkInit]);
|
|
1925
1941
|
return /*#__PURE__*/React__default.createElement(OpenChannelContext.Provider, {
|
|
1926
1942
|
value: {
|
|
1927
1943
|
// props
|
|
@@ -1972,4 +1988,4 @@ var useOpenChannelContext = function useOpenChannelContext() {
|
|
|
1972
1988
|
};
|
|
1973
1989
|
|
|
1974
1990
|
export { OpenChannelProvider as O, compareMessagesForGrouping as c, kFormatter as k, useOpenChannelContext as u };
|
|
1975
|
-
//# sourceMappingURL=OpenChannelProvider-
|
|
1991
|
+
//# sourceMappingURL=OpenChannelProvider-f5d504ec.js.map
|