@sendbird/uikit-react 3.1.2 → 3.1.3-rc.0
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 +20 -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-6bf1e9c7.js} +9 -9
- package/{ChannelListProvider-9c82d370.js.map → ChannelListProvider-6bf1e9c7.js.map} +1 -1
- package/{ChannelProvider-d891cf5f.js → ChannelProvider-b68db5fd.js} +12 -12
- package/{ChannelProvider-d891cf5f.js.map → ChannelProvider-b68db5fd.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 +12 -12
- 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-9a497a91.js} +1 -1
- package/{CreateChannelProvider-0af2a424.js.map → CreateChannelProvider-9a497a91.js.map} +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/{LocalizationContext-2a073ef0.js → LocalizationContext-397e33d0.js} +3 -3
- package/{LocalizationContext-2a073ef0.js.map → LocalizationContext-397e33d0.js.map} +1 -1
- package/{MemberList-0acc36c3.js → MemberList-464926f8.js} +6 -6
- package/{MemberList-0acc36c3.js.map → MemberList-464926f8.js.map} +1 -1
- 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-b936f710.js} +55 -39
- package/OpenChannelProvider-b936f710.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-70f3b69e.js} +1 -1
- package/{UserProfileContext-143a6a42.js.map → UserProfileContext-70f3b69e.js.map} +1 -1
- package/{__bundle-6316ce22-cd546820.js → __bundle-6316ce22-a7fd8d16.js} +1 -1
- package/{__bundle-6316ce22-cd546820.js.map → __bundle-6316ce22-a7fd8d16.js.map} +1 -1
- package/{__bundle-7dfccc8c-6c6e7ab4.js → __bundle-7dfccc8c-85123da0.js} +2 -2
- package/{__bundle-7dfccc8c-6c6e7ab4.js.map → __bundle-7dfccc8c-85123da0.js.map} +1 -1
- package/{__bundle-fbda47dd-9dbeee1d.js → __bundle-fbda47dd-0157c82e.js} +2 -2
- package/{__bundle-fbda47dd-9dbeee1d.js.map → __bundle-fbda47dd-0157c82e.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-3043541a.js → _rollupPluginBabelHelpers-67f295c6.js} +1 -1
- package/{_rollupPluginBabelHelpers-3043541a.js.map → _rollupPluginBabelHelpers-67f295c6.js.map} +1 -1
- package/{actionTypes-2873dec9.js → actionTypes-6723ddd6.js} +1 -1
- package/{actionTypes-2873dec9.js.map → actionTypes-6723ddd6.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-64262fd2.js} +9 -9
- package/cjs/{ChannelListProvider-b60fe6ed.js.map → ChannelListProvider-64262fd2.js.map} +1 -1
- package/cjs/{ChannelProvider-b21b3c2a.js → ChannelProvider-c20e9dc3.js} +12 -12
- package/cjs/{ChannelProvider-b21b3c2a.js.map → ChannelProvider-c20e9dc3.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 +12 -12
- 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-49506a99.js} +1 -1
- package/cjs/{CreateChannelProvider-71e1e6d6.js.map → CreateChannelProvider-49506a99.js.map} +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/{LocalizationContext-da62a103.js → LocalizationContext-35942797.js} +3 -3
- package/cjs/{LocalizationContext-da62a103.js.map → LocalizationContext-35942797.js.map} +1 -1
- package/cjs/{MemberList-442ade8c.js → MemberList-c79c660f.js} +6 -6
- package/cjs/{MemberList-442ade8c.js.map → MemberList-c79c660f.js.map} +1 -1
- 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-174daa25.js} +55 -39
- package/cjs/OpenChannelProvider-174daa25.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-7fab3049.js} +1 -1
- package/cjs/{UserProfileContext-891590a7.js.map → UserProfileContext-7fab3049.js.map} +1 -1
- package/cjs/{__bundle-6316ce22-c06e03fc.js → __bundle-6316ce22-bdf33468.js} +1 -1
- package/cjs/{__bundle-6316ce22-c06e03fc.js.map → __bundle-6316ce22-bdf33468.js.map} +1 -1
- package/cjs/{__bundle-7dfccc8c-dcc1c854.js → __bundle-7dfccc8c-8ada5946.js} +2 -2
- package/cjs/{__bundle-7dfccc8c-dcc1c854.js.map → __bundle-7dfccc8c-8ada5946.js.map} +1 -1
- package/cjs/{__bundle-fbda47dd-1a2c2d97.js → __bundle-fbda47dd-d736220d.js} +2 -2
- package/cjs/{__bundle-fbda47dd-1a2c2d97.js.map → __bundle-fbda47dd-d736220d.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-4265e501.js → _rollupPluginBabelHelpers-082ff33d.js} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-4265e501.js.map → _rollupPluginBabelHelpers-082ff33d.js.map} +1 -1
- package/cjs/{actionTypes-7c5a0f8b.js → actionTypes-54af9c52.js} +1 -1
- package/cjs/{actionTypes-7c5a0f8b.js.map → actionTypes-54af9c52.js.map} +1 -1
- package/cjs/{color-42e34a43.js → color-ec571f01.js} +1 -1
- package/cjs/{color-42e34a43.js.map → color-ec571f01.js.map} +1 -1
- package/cjs/{compareIds-26079db4.js → compareIds-1b11164b.js} +1 -1
- package/cjs/{compareIds-26079db4.js.map → compareIds-1b11164b.js.map} +1 -1
- package/cjs/{const-c1a4604d.js → const-baaf7275.js} +1 -1
- package/cjs/{const-c1a4604d.js.map → const-baaf7275.js.map} +1 -1
- package/cjs/{const-8a9ec74c.js → const-c6530407.js} +1 -1
- package/cjs/{const-8a9ec74c.js.map → const-c6530407.js.map} +1 -1
- package/cjs/{context-82ac7edc.js → context-360ca291.js} +2 -2
- package/cjs/{context-82ac7edc.js.map → context-360ca291.js.map} +1 -1
- package/cjs/dist/index.css +81 -17
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{groupChannel-11ed3837.js → groupChannel-150632d7.js} +4 -4
- package/cjs/{groupChannel-11ed3837.js.map → groupChannel-150632d7.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-05692021.js → index-2f57e1c8.js} +3 -3
- package/cjs/{index-05692021.js.map → index-2f57e1c8.js.map} +1 -1
- package/cjs/{index-fb127b1f.js → index-43c0e19f.js} +2 -2
- package/cjs/{index-fb127b1f.js.map → index-43c0e19f.js.map} +1 -1
- package/cjs/{index-82646d4d.js → index-6a2cc1bb.js} +6 -6
- package/cjs/{index-82646d4d.js.map → index-6a2cc1bb.js.map} +1 -1
- package/cjs/{index-25336220.js → index-6fc7a50a.js} +1 -1
- package/cjs/{index-25336220.js.map → index-6fc7a50a.js.map} +1 -1
- package/cjs/{index-f5cb5c7f.js → index-8a5ade0f.js} +2 -2
- package/cjs/{index-f5cb5c7f.js.map → index-8a5ade0f.js.map} +1 -1
- package/cjs/{index-06c3dca9.js → index-8bd2c4bb.js} +2 -2
- package/cjs/{index-06c3dca9.js.map → index-8bd2c4bb.js.map} +1 -1
- package/cjs/{index-b440f8c6.js → index-a4141b26.js} +4 -4
- package/cjs/{index-b440f8c6.js.map → index-a4141b26.js.map} +1 -1
- package/cjs/{index-c79f62fd.js → index-b099330e.js} +4 -4
- package/cjs/{index-c79f62fd.js.map → index-b099330e.js.map} +1 -1
- package/cjs/{index-089e0fba.js → index-d5a50567.js} +3 -3
- package/cjs/{index-089e0fba.js.map → index-d5a50567.js.map} +1 -1
- package/cjs/{index-32562627.js → index-df12b2be.js} +1 -1
- package/cjs/{index-32562627.js.map → index-df12b2be.js.map} +1 -1
- package/cjs/{index-81e2234a.js → index-ead714db.js} +9 -9
- package/cjs/{index-81e2234a.js.map → index-ead714db.js.map} +1 -1
- package/cjs/index.js +39 -39
- package/cjs/{openChannel-76345cfa.js → openChannel-e2adcd8a.js} +3 -3
- package/cjs/{openChannel-76345cfa.js.map → openChannel-e2adcd8a.js.map} +1 -1
- package/cjs/{openChannelUtils-56d57483.js → openChannelUtils-e9df94b8.js} +1 -1
- package/cjs/{openChannelUtils-56d57483.js.map → openChannelUtils-e9df94b8.js.map} +1 -1
- package/cjs/{sendbird-dfd051c8.js → sendbird-211e4dae.js} +4 -3
- package/cjs/{sendbird-dfd051c8.js.map → sendbird-211e4dae.js.map} +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-857a128c.js → stringSet-59d50a66.js} +1 -1
- package/cjs/{stringSet-857a128c.js.map → stringSet-59d50a66.js.map} +1 -1
- package/cjs/{topics-a755c9c6.js → topics-8094440d.js} +1 -1
- package/cjs/{topics-a755c9c6.js.map → topics-8094440d.js.map} +1 -1
- package/cjs/{tslib.es6-ba69891c.js → tslib.es6-f1d73fc3.js} +18 -1
- package/cjs/{tslib.es6-ba69891c.js.map → tslib.es6-f1d73fc3.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 +6 -6
- 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 +14 -14
- 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 +11 -11
- 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 +11 -11
- package/cjs/ui/ThumbnailMessageItemBody.js +3 -3
- package/cjs/ui/Tooltip.js +4 -4
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- 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-09755f32.js} +1 -1
- package/cjs/{utils-c39eb349.js.map → utils-09755f32.js.map} +1 -1
- package/cjs/{utils-bf57a41a.js → utils-c5ed90dc.js} +1 -1
- package/cjs/{utils-bf57a41a.js.map → utils-c5ed90dc.js.map} +1 -1
- package/cjs/{utils-bfbac88e.js → utils-ef8fd6ba.js} +1 -1
- package/cjs/{utils-bfbac88e.js.map → utils-ef8fd6ba.js.map} +1 -1
- package/cjs/{uuid-49679ac2.js → uuid-abe82759.js} +1 -1
- package/cjs/{uuid-49679ac2.js.map → uuid-abe82759.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-798488ed.js → color-c5e2ab33.js} +1 -1
- package/{color-798488ed.js.map → color-c5e2ab33.js.map} +1 -1
- package/{compareIds-2e073780.js → compareIds-7233a846.js} +1 -1
- package/{compareIds-2e073780.js.map → compareIds-7233a846.js.map} +1 -1
- package/{const-b88f8299.js → const-849d720a.js} +1 -1
- package/{const-b88f8299.js.map → const-849d720a.js.map} +1 -1
- package/{const-51fc1a68.js → const-87ede7b1.js} +1 -1
- package/{const-51fc1a68.js.map → const-87ede7b1.js.map} +1 -1
- package/{context-406bf9f1.js → context-57c4ac55.js} +2 -2
- package/{context-406bf9f1.js.map → context-57c4ac55.js.map} +1 -1
- package/dist/index.css +81 -17
- package/dist/index.css.map +1 -1
- package/{groupChannel-17ffbb7f.js → groupChannel-333bdda8.js} +4 -4
- package/{groupChannel-17ffbb7f.js.map → groupChannel-333bdda8.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-4e56f382.js → index-30d6338a.js} +4 -4
- package/{index-4e56f382.js.map → index-30d6338a.js.map} +1 -1
- package/{index-7f2be3d7.js → index-33e14ef9.js} +2 -2
- package/{index-7f2be3d7.js.map → index-33e14ef9.js.map} +1 -1
- package/{index-ced613ea.js → index-55ffa40a.js} +4 -4
- package/{index-ced613ea.js.map → index-55ffa40a.js.map} +1 -1
- package/{index-c9cda9f6.js → index-6bf196c4.js} +1 -1
- package/{index-c9cda9f6.js.map → index-6bf196c4.js.map} +1 -1
- package/{index-03ccaf35.js → index-7e7eecb5.js} +2 -2
- package/{index-03ccaf35.js.map → index-7e7eecb5.js.map} +1 -1
- package/{index-b4944539.js → index-9564359d.js} +2 -2
- package/{index-b4944539.js.map → index-9564359d.js.map} +1 -1
- package/{index-702d2072.js → index-c6372f71.js} +9 -9
- package/{index-702d2072.js.map → index-c6372f71.js.map} +1 -1
- package/{index-ed39099a.js → index-cc420cce.js} +3 -3
- package/{index-ed39099a.js.map → index-cc420cce.js.map} +1 -1
- package/{index-5ec69689.js → index-cd8f3035.js} +1 -1
- package/{index-5ec69689.js.map → index-cd8f3035.js.map} +1 -1
- package/{index-fa8ac00a.js → index-ce26872b.js} +6 -6
- package/{index-fa8ac00a.js.map → index-ce26872b.js.map} +1 -1
- package/{index-6a47d16f.js → index-fcc0e6dc.js} +3 -3
- package/{index-6a47d16f.js.map → index-fcc0e6dc.js.map} +1 -1
- package/index.d.ts +16 -8
- package/index.js +39 -39
- package/{openChannel-1548376e.js → openChannel-ea516c45.js} +3 -3
- package/{openChannel-1548376e.js.map → openChannel-ea516c45.js.map} +1 -1
- package/{openChannelUtils-09e4bac8.js → openChannelUtils-5cc6b7cb.js} +1 -1
- package/{openChannelUtils-09e4bac8.js.map → openChannelUtils-5cc6b7cb.js.map} +1 -1
- package/package-lock.json +2 -2
- package/package.json +1 -1
- package/{sendbird-597583ed.js → sendbird-961b20e3.js} +4 -4
- package/{sendbird-597583ed.js.map → sendbird-961b20e3.js.map} +1 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-647493ce.js → stringSet-232e2ec0.js} +1 -1
- package/{stringSet-647493ce.js.map → stringSet-232e2ec0.js.map} +1 -1
- package/{topics-18836011.js → topics-84946297.js} +1 -1
- package/{topics-18836011.js.map → topics-84946297.js.map} +1 -1
- package/{tslib.es6-710c6267.js → tslib.es6-ea4b7876.js} +18 -2
- package/{tslib.es6-710c6267.js.map → tslib.es6-ea4b7876.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 +6 -6
- 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 +14 -14
- 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 +11 -11
- 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 +11 -11
- package/ui/ThumbnailMessageItemBody.js +3 -3
- package/ui/Tooltip.js +4 -4
- package/ui/TooltipWrapper.js +1 -1
- package/ui/UnknownMessageItemBody.js +7 -7
- 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-301322ba.js → utils-0cadb616.js} +1 -1
- package/{utils-301322ba.js.map → utils-0cadb616.js.map} +1 -1
- package/{utils-2666bdfb.js → utils-6195b8b0.js} +1 -1
- package/{utils-2666bdfb.js.map → utils-6195b8b0.js.map} +1 -1
- package/{utils-19e84a08.js → utils-b6f36534.js} +1 -1
- package/{utils-19e84a08.js.map → utils-b6f36534.js.map} +1 -1
- package/{uuid-60ae25c1.js → uuid-e8af582d.js} +1 -1
- package/{uuid-60ae25c1.js.map → uuid-e8af582d.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/OpenChannelProvider-2e3fa2dd.js.map +0 -1
- package/cjs/OpenChannelProvider-bc8d7f0d.js.map +0 -1
|
@@ -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-33e14ef9.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-cc420cce.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-397e33d0.js';
|
|
14
|
+
import { _ as __assign } from '../../tslib.es6-ea4b7876.js';
|
|
15
|
+
import { u as useOpenChannelContext } from '../../OpenChannelProvider-b936f710.js';
|
|
16
16
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
17
|
-
import '../../index-
|
|
17
|
+
import '../../index-cd8f3035.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-67f295c6.js';
|
|
22
22
|
import 'prop-types';
|
|
23
|
-
import '../../uuid-
|
|
23
|
+
import '../../uuid-e8af582d.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-7e7eecb5.js';
|
|
28
|
+
import '../../stringSet-232e2ec0.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-84946297.js';
|
|
35
|
+
import '../../utils-0cadb616.js';
|
|
36
|
+
import '../../index-fcc0e6dc.js';
|
|
37
|
+
import '../../UserProfileContext-70f3b69e.js';
|
|
38
|
+
import '../../utils-b6f36534.js';
|
|
39
|
+
import '../../openChannelUtils-5cc6b7cb.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-c5e2ab33.js';
|
|
43
|
+
import '../../const-87ede7b1.js';
|
|
44
|
+
import '../../const-849d720a.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-6bf196c4.js';
|
|
47
|
+
import '../../compareIds-7233a846.js';
|
|
48
|
+
import '../../sendbird-961b20e3.js';
|
|
49
|
+
import '../../__bundle-6316ce22-a7fd8d16.js';
|
|
50
|
+
import '../../__bundle-fbda47dd-0157c82e.js';
|
|
51
|
+
import '../../openChannel-ea516c45.js';
|
|
52
|
+
import '../../__bundle-7dfccc8c-85123da0.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-9564359d.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-55ffa40a.js';
|
|
5
|
+
import { u as useOpenChannelContext, c as compareMessagesForGrouping } from '../../OpenChannelProvider-b936f710.js';
|
|
6
6
|
import MessagOpenChannelMessageeHoc from './OpenChannelMessage.js';
|
|
7
|
-
import '../../index-
|
|
8
|
-
import '../../index-
|
|
9
|
-
import '../../_rollupPluginBabelHelpers-
|
|
7
|
+
import '../../index-33e14ef9.js';
|
|
8
|
+
import '../../index-cd8f3035.js';
|
|
9
|
+
import '../../_rollupPluginBabelHelpers-67f295c6.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import '../../tslib.es6-
|
|
12
|
-
import '../../LocalizationContext-
|
|
13
|
-
import '../../stringSet-
|
|
14
|
-
import '../../index-
|
|
11
|
+
import '../../tslib.es6-ea4b7876.js';
|
|
12
|
+
import '../../LocalizationContext-397e33d0.js';
|
|
13
|
+
import '../../stringSet-232e2ec0.js';
|
|
14
|
+
import '../../index-cc420cce.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-70f3b69e.js';
|
|
17
|
+
import '../../compareIds-7233a846.js';
|
|
18
|
+
import '../../topics-84946297.js';
|
|
19
|
+
import '../../sendbird-961b20e3.js';
|
|
20
|
+
import '../../__bundle-6316ce22-a7fd8d16.js';
|
|
21
|
+
import '../../__bundle-fbda47dd-0157c82e.js';
|
|
22
|
+
import '../../openChannel-ea516c45.js';
|
|
23
|
+
import '../../__bundle-7dfccc8c-85123da0.js';
|
|
24
|
+
import '../../uuid-e8af582d.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-7e7eecb5.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-0cadb616.js';
|
|
38
|
+
import '../../index-fcc0e6dc.js';
|
|
39
|
+
import '../../utils-b6f36534.js';
|
|
40
|
+
import '../../openChannelUtils-5cc6b7cb.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-c5e2ab33.js';
|
|
48
48
|
import '../../ui/DateSeparator.js';
|
|
49
49
|
import '../../ui/MessageInput.js';
|
|
50
|
-
import '../../const-
|
|
51
|
-
import '../../const-
|
|
50
|
+
import '../../const-87ede7b1.js';
|
|
51
|
+
import '../../const-849d720a.js';
|
|
52
52
|
import '../../ui/MentionUserLabel.js';
|
|
53
53
|
import '../../ui/FileViewer.js';
|
|
54
|
-
import '../../index-
|
|
54
|
+
import '../../index-6bf196c4.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-b936f710.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-55ffa40a.js';
|
|
7
7
|
import OpenChannelMessageList from './OpenChannelMessageList.js';
|
|
8
|
-
import '../../index-
|
|
9
|
-
import '../../index-
|
|
10
|
-
import '../../UserProfileContext-
|
|
8
|
+
import '../../index-33e14ef9.js';
|
|
9
|
+
import '../../index-cd8f3035.js';
|
|
10
|
+
import '../../UserProfileContext-70f3b69e.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-ea4b7876.js';
|
|
13
|
+
import '../../compareIds-7233a846.js';
|
|
14
|
+
import '../../topics-84946297.js';
|
|
15
|
+
import '../../sendbird-961b20e3.js';
|
|
16
|
+
import '../../__bundle-6316ce22-a7fd8d16.js';
|
|
17
|
+
import '../../__bundle-fbda47dd-0157c82e.js';
|
|
18
|
+
import '../../openChannel-ea516c45.js';
|
|
19
|
+
import '../../__bundle-7dfccc8c-85123da0.js';
|
|
20
|
+
import '../../uuid-e8af582d.js';
|
|
21
21
|
import '../../useSendbirdStateContext.js';
|
|
22
22
|
import '../../withSendbird.js';
|
|
23
|
-
import '../../_rollupPluginBabelHelpers-
|
|
24
|
-
import '../../LocalizationContext-
|
|
25
|
-
import '../../stringSet-
|
|
23
|
+
import '../../_rollupPluginBabelHelpers-67f295c6.js';
|
|
24
|
+
import '../../LocalizationContext-397e33d0.js';
|
|
25
|
+
import '../../stringSet-232e2ec0.js';
|
|
26
26
|
import '../../ui/MessageInput.js';
|
|
27
|
-
import '../../const-
|
|
28
|
-
import '../../const-
|
|
27
|
+
import '../../const-87ede7b1.js';
|
|
28
|
+
import '../../const-849d720a.js';
|
|
29
29
|
import '../../ui/IconButton.js';
|
|
30
|
-
import '../../index-
|
|
31
|
-
import '../../index-
|
|
30
|
+
import '../../index-fcc0e6dc.js';
|
|
31
|
+
import '../../index-cc420cce.js';
|
|
32
32
|
import '../../ui/MentionUserLabel.js';
|
|
33
33
|
import '../../ui/Icon.js';
|
|
34
|
-
import '../../index-
|
|
34
|
+
import '../../index-7e7eecb5.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-9564359d.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-0cadb616.js';
|
|
47
|
+
import '../../utils-b6f36534.js';
|
|
48
|
+
import '../../openChannelUtils-5cc6b7cb.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-c5e2ab33.js';
|
|
56
56
|
import '../../ui/DateSeparator.js';
|
|
57
57
|
import '../../ui/FileViewer.js';
|
|
58
|
-
import '../../index-
|
|
58
|
+
import '../../index-6bf196c4.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-b936f710.js';
|
|
3
|
+
import '../UserProfileContext-70f3b69e.js';
|
|
4
|
+
import '../topics-84946297.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-33e14ef9.js';
|
|
7
|
+
import '../index-cd8f3035.js';
|
|
8
|
+
import '../tslib.es6-ea4b7876.js';
|
|
9
|
+
import '../compareIds-7233a846.js';
|
|
10
|
+
import '../sendbird-961b20e3.js';
|
|
11
|
+
import '../__bundle-6316ce22-a7fd8d16.js';
|
|
12
|
+
import '../__bundle-fbda47dd-0157c82e.js';
|
|
13
|
+
import '../openChannel-ea516c45.js';
|
|
14
|
+
import '../__bundle-7dfccc8c-85123da0.js';
|
|
15
|
+
import '../uuid-e8af582d.js';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import '../withSendbird.js';
|
|
18
|
-
import '../_rollupPluginBabelHelpers-
|
|
18
|
+
import '../_rollupPluginBabelHelpers-67f295c6.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-b936f710.js';
|
|
4
4
|
import './OpenChannel/components/OpenChannelInput.js';
|
|
5
|
-
import './LocalizationContext-
|
|
6
|
-
import './stringSet-
|
|
7
|
-
import './index-
|
|
5
|
+
import './LocalizationContext-397e33d0.js';
|
|
6
|
+
import './stringSet-232e2ec0.js';
|
|
7
|
+
import './index-cd8f3035.js';
|
|
8
8
|
import './ui/MessageInput.js';
|
|
9
|
-
import './_rollupPluginBabelHelpers-
|
|
9
|
+
import './_rollupPluginBabelHelpers-67f295c6.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import './const-
|
|
12
|
-
import './const-
|
|
11
|
+
import './const-87ede7b1.js';
|
|
12
|
+
import './const-849d720a.js';
|
|
13
13
|
import './ui/IconButton.js';
|
|
14
|
-
import './tslib.es6-
|
|
15
|
-
import './index-
|
|
16
|
-
import './index-
|
|
14
|
+
import './tslib.es6-ea4b7876.js';
|
|
15
|
+
import './index-fcc0e6dc.js';
|
|
16
|
+
import './index-cc420cce.js';
|
|
17
17
|
import './ui/MentionUserLabel.js';
|
|
18
18
|
import './ui/Icon.js';
|
|
19
|
-
import './index-
|
|
19
|
+
import './index-7e7eecb5.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-e8af582d.js';
|
|
25
|
+
import './index-55ffa40a.js';
|
|
26
26
|
import './ui/Loader.js';
|
|
27
27
|
import './OpenChannel/components/OpenChannelMessageList.js';
|
|
28
|
-
import './index-
|
|
29
|
-
import './index-
|
|
28
|
+
import './index-9564359d.js';
|
|
29
|
+
import './index-33e14ef9.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-84946297.js';
|
|
39
|
+
import './utils-0cadb616.js';
|
|
40
|
+
import './UserProfileContext-70f3b69e.js';
|
|
41
|
+
import './utils-b6f36534.js';
|
|
42
|
+
import './openChannelUtils-5cc6b7cb.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-c5e2ab33.js';
|
|
50
50
|
import './ui/DateSeparator.js';
|
|
51
51
|
import './ui/FileViewer.js';
|
|
52
|
-
import './index-
|
|
52
|
+
import './index-6bf196c4.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-7233a846.js';
|
|
56
|
+
import './sendbird-961b20e3.js';
|
|
57
|
+
import './__bundle-6316ce22-a7fd8d16.js';
|
|
58
|
+
import './__bundle-fbda47dd-0157c82e.js';
|
|
59
|
+
import './openChannel-ea516c45.js';
|
|
60
|
+
import './__bundle-7dfccc8c-85123da0.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-33e14ef9.js';
|
|
3
|
+
import { U as UserProfileProvider } from './UserProfileContext-70f3b69e.js';
|
|
4
|
+
import { _ as __assign, a as __spreadArray } from './tslib.es6-ea4b7876.js';
|
|
5
|
+
import { c as compareIds } from './compareIds-7233a846.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-84946297.js';
|
|
7
|
+
import './sendbird-961b20e3.js';
|
|
8
|
+
import { U as Un } from './openChannel-ea516c45.js';
|
|
9
|
+
import { u as uuidv4 } from './uuid-e8af582d.js';
|
|
10
|
+
import { n as ne } from './__bundle-6316ce22-a7fd8d16.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-b936f710.js.map
|