@sendbird/uikit-react 3.5.0 → 3.6.0-feature-config-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 +70 -58
- package/App.js.map +1 -1
- package/CHANGELOG.md +12 -0
- package/Channel/components/ChannelHeader.js +19 -19
- package/Channel/components/ChannelUI.js +41 -41
- package/Channel/components/FileViewer.js +15 -15
- package/Channel/components/FrozenNotification.js +4 -4
- package/Channel/components/Message.js +36 -36
- package/Channel/components/MessageInput.js +29 -29
- package/Channel/components/MessageList.js +50 -40
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +17 -17
- package/Channel/components/SuggestedMentionList.js +17 -17
- package/Channel/components/TypingIndicator.js +15 -15
- package/Channel/components/UnreadCount.js +4 -4
- package/Channel/context.js +12 -12
- package/Channel.js +41 -41
- package/ChannelList/components/AddChannel.js +14 -14
- package/ChannelList/components/ChannelListHeader.js +6 -6
- package/ChannelList/components/ChannelListUI.js +30 -30
- package/ChannelList/components/ChannelPreview.js +26 -26
- package/ChannelList/components/ChannelPreviewAction.js +13 -13
- package/ChannelList/context.js +7 -7
- package/ChannelList.js +30 -30
- package/{ChannelListProvider-4cf5c0f5.js → ChannelListProvider-afc2bbb7.js} +8 -8
- package/ChannelListProvider-afc2bbb7.js.map +1 -0
- package/{ChannelProvider-6e8e99df.js → ChannelProvider-8f333f20.js} +15 -14
- package/ChannelProvider-8f333f20.js.map +1 -0
- package/ChannelSettings/components/ChannelProfile.js +11 -11
- package/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +14 -14
- package/ChannelSettings/components/UserListItem.js +10 -10
- package/ChannelSettings/components/UserPanel.js +13 -13
- package/ChannelSettings/context.js +5 -4
- package/ChannelSettings/context.js.map +1 -1
- package/ChannelSettings.js +17 -17
- package/CreateChannel/components/CreateChannelUI.js +13 -13
- package/CreateChannel/components/InviteUsers.js +13 -13
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +13 -13
- package/{CreateChannelProvider-34603fa5.js → CreateChannelProvider-078f3b8a.js} +1 -1
- package/{CreateChannelProvider-34603fa5.js.map → CreateChannelProvider-078f3b8a.js.map} +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +9 -9
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile.js +12 -12
- package/{LocalizationContext-04c0c9dc.js → LocalizationContext-c408cdc3.js} +3 -3
- package/{LocalizationContext-04c0c9dc.js.map → LocalizationContext-c408cdc3.js.map} +1 -1
- package/{MediaQueryContext-ff9dca2b.js → MediaQueryContext-37438a28.js} +1 -1
- package/{MediaQueryContext-ff9dca2b.js.map → MediaQueryContext-37438a28.js.map} +1 -1
- package/{MemberList-9bf26111.js → MemberList-c1ed3a38.js} +5 -5
- package/{MemberList-9bf26111.js.map → MemberList-c1ed3a38.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +11 -11
- package/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/OpenChannel/components/OpenChannelInput.js +19 -19
- package/OpenChannel/components/OpenChannelMessage.js +27 -27
- package/OpenChannel/components/OpenChannelMessageList.js +31 -31
- package/OpenChannel/components/OpenChannelUI.js +31 -31
- package/OpenChannel/context.js +8 -8
- package/OpenChannel.js +31 -31
- package/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/OpenChannelList/components/OpenChannelPreview.js +3 -3
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +13 -13
- package/{OpenChannelListProvider-d7372692.js → OpenChannelListProvider-b9f602b4.js} +3 -3
- package/{OpenChannelListProvider-d7372692.js.map → OpenChannelListProvider-b9f602b4.js.map} +1 -1
- package/{OpenChannelProvider-24cd68b9.js → OpenChannelProvider-124aba00.js} +9 -9
- package/{OpenChannelProvider-24cd68b9.js.map → OpenChannelProvider-124aba00.js.map} +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +12 -12
- package/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/OpenChannelSettings/context.js +5 -5
- package/OpenChannelSettings/context.js.map +1 -1
- package/OpenChannelSettings.js +17 -17
- package/{RemoveMessageModal-94e2bf9e.js → RemoveMessageModal-dc1ec83f.js} +3 -3
- package/{RemoveMessageModal-94e2bf9e.js.map → RemoveMessageModal-dc1ec83f.js.map} +1 -1
- package/SendbirdProvider.js +86 -42
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +33 -33
- package/Thread/components/ParentMessageInfoItem.js +21 -21
- package/Thread/components/ThreadHeader.js +6 -6
- package/Thread/components/ThreadList.js +36 -36
- package/Thread/components/ThreadListItem.js +36 -36
- package/Thread/components/ThreadMessageInput.js +30 -30
- package/Thread/components/ThreadUI.js +40 -40
- package/Thread/context.js +8 -8
- package/Thread.js +40 -40
- package/{ThreadProvider-203b94f3.js → ThreadProvider-7ba37023.js} +8 -8
- package/{ThreadProvider-203b94f3.js.map → ThreadProvider-7ba37023.js.map} +1 -1
- package/{UserProfileContext-c776d522.js → UserProfileContext-271136d9.js} +1 -1
- package/{UserProfileContext-c776d522.js.map → UserProfileContext-271136d9.js.map} +1 -1
- package/{VoiceMessageInputWrapper-77d8f487.js → VoiceMessageInputWrapper-6f598bd9.js} +7 -7
- package/{VoiceMessageInputWrapper-77d8f487.js.map → VoiceMessageInputWrapper-6f598bd9.js.map} +1 -1
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +9 -9
- package/VoiceRecorder/context.js +9 -9
- package/VoiceRecorder/useVoiceRecorder.js +8 -8
- package/{WebAudioUtils-62e6d3a7.js → WebAudioUtils-bd64dcae.js} +1 -1
- package/{WebAudioUtils-62e6d3a7.js.map → WebAudioUtils-bd64dcae.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-fb0e05a4.js → _rollupPluginBabelHelpers-656af0eb.js} +1 -1
- package/_rollupPluginBabelHelpers-656af0eb.js.map +1 -0
- package/{actionTypes-1db5749d.js → actionTypes-36bb503b.js} +1 -1
- package/{actionTypes-1db5749d.js.map → actionTypes-36bb503b.js.map} +1 -1
- package/cjs/App.js +70 -58
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +19 -19
- package/cjs/Channel/components/ChannelUI.js +41 -41
- package/cjs/Channel/components/FileViewer.js +15 -15
- package/cjs/Channel/components/FrozenNotification.js +4 -4
- package/cjs/Channel/components/Message.js +36 -36
- package/cjs/Channel/components/MessageInput.js +29 -29
- package/cjs/Channel/components/MessageList.js +49 -39
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +17 -17
- package/cjs/Channel/components/SuggestedMentionList.js +17 -17
- package/cjs/Channel/components/TypingIndicator.js +15 -15
- package/cjs/Channel/components/UnreadCount.js +4 -4
- package/cjs/Channel/context.js +12 -12
- package/cjs/Channel.js +41 -41
- package/cjs/ChannelList/components/AddChannel.js +14 -14
- package/cjs/ChannelList/components/ChannelListHeader.js +6 -6
- package/cjs/ChannelList/components/ChannelListUI.js +30 -30
- package/cjs/ChannelList/components/ChannelPreview.js +26 -26
- package/cjs/ChannelList/components/ChannelPreviewAction.js +13 -13
- package/cjs/ChannelList/context.js +7 -7
- package/cjs/ChannelList.js +30 -30
- package/cjs/{ChannelListProvider-e0ce316a.js → ChannelListProvider-654fdfc6.js} +8 -8
- package/cjs/ChannelListProvider-654fdfc6.js.map +1 -0
- package/cjs/{ChannelProvider-0df75472.js → ChannelProvider-1d449335.js} +15 -14
- package/cjs/ChannelProvider-1d449335.js.map +1 -0
- package/cjs/ChannelSettings/components/ChannelProfile.js +11 -11
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/cjs/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +14 -14
- package/cjs/ChannelSettings/components/UserListItem.js +10 -10
- package/cjs/ChannelSettings/components/UserPanel.js +13 -13
- package/cjs/ChannelSettings/context.js +5 -4
- package/cjs/ChannelSettings/context.js.map +1 -1
- package/cjs/ChannelSettings.js +17 -17
- package/cjs/CreateChannel/components/CreateChannelUI.js +13 -13
- package/cjs/CreateChannel/components/InviteUsers.js +13 -13
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +13 -13
- package/cjs/{CreateChannelProvider-c0fca0a5.js → CreateChannelProvider-f916a48f.js} +1 -1
- package/cjs/{CreateChannelProvider-c0fca0a5.js.map → CreateChannelProvider-f916a48f.js.map} +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +9 -9
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile.js +12 -12
- package/cjs/{LocalizationContext-0e429c3d.js → LocalizationContext-54f4dd6b.js} +3 -3
- package/cjs/{LocalizationContext-0e429c3d.js.map → LocalizationContext-54f4dd6b.js.map} +1 -1
- package/cjs/{MediaQueryContext-33fc3b17.js → MediaQueryContext-ededb48b.js} +1 -1
- package/cjs/{MediaQueryContext-33fc3b17.js.map → MediaQueryContext-ededb48b.js.map} +1 -1
- package/cjs/{MemberList-a45a51c4.js → MemberList-a3590ea6.js} +5 -5
- package/cjs/{MemberList-a45a51c4.js.map → MemberList-a3590ea6.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +11 -11
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/cjs/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/cjs/OpenChannel/components/OpenChannelInput.js +19 -19
- package/cjs/OpenChannel/components/OpenChannelMessage.js +27 -27
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +31 -31
- package/cjs/OpenChannel/components/OpenChannelUI.js +31 -31
- package/cjs/OpenChannel/context.js +8 -8
- package/cjs/OpenChannel.js +31 -31
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +3 -3
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +13 -13
- package/cjs/{OpenChannelListProvider-fc8b53ee.js → OpenChannelListProvider-e0824d59.js} +3 -3
- package/cjs/{OpenChannelListProvider-fc8b53ee.js.map → OpenChannelListProvider-e0824d59.js.map} +1 -1
- package/cjs/{OpenChannelProvider-217a8ac2.js → OpenChannelProvider-a33b3a80.js} +9 -9
- package/cjs/{OpenChannelProvider-217a8ac2.js.map → OpenChannelProvider-a33b3a80.js.map} +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +12 -12
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/cjs/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/cjs/OpenChannelSettings/context.js +5 -5
- package/cjs/OpenChannelSettings/context.js.map +1 -1
- package/cjs/OpenChannelSettings.js +17 -17
- package/cjs/{RemoveMessageModal-5903f232.js → RemoveMessageModal-83e24688.js} +3 -3
- package/cjs/{RemoveMessageModal-5903f232.js.map → RemoveMessageModal-83e24688.js.map} +1 -1
- package/cjs/SendbirdProvider.js +86 -42
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +33 -33
- package/cjs/Thread/components/ParentMessageInfoItem.js +21 -21
- package/cjs/Thread/components/ThreadHeader.js +6 -6
- package/cjs/Thread/components/ThreadList.js +36 -36
- package/cjs/Thread/components/ThreadListItem.js +36 -36
- package/cjs/Thread/components/ThreadMessageInput.js +30 -30
- package/cjs/Thread/components/ThreadUI.js +40 -40
- package/cjs/Thread/context.js +8 -8
- package/cjs/Thread.js +40 -40
- package/cjs/{ThreadProvider-8ee179c2.js → ThreadProvider-5a755ae9.js} +8 -8
- package/cjs/{ThreadProvider-8ee179c2.js.map → ThreadProvider-5a755ae9.js.map} +1 -1
- package/cjs/{UserProfileContext-87580795.js → UserProfileContext-dd5cb698.js} +1 -1
- package/cjs/{UserProfileContext-87580795.js.map → UserProfileContext-dd5cb698.js.map} +1 -1
- package/cjs/{VoiceMessageInputWrapper-4fdc8ef1.js → VoiceMessageInputWrapper-6be300b5.js} +7 -7
- package/cjs/{VoiceMessageInputWrapper-4fdc8ef1.js.map → VoiceMessageInputWrapper-6be300b5.js.map} +1 -1
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +9 -9
- package/cjs/VoiceRecorder/context.js +9 -9
- package/cjs/VoiceRecorder/useVoiceRecorder.js +8 -8
- package/cjs/{WebAudioUtils-e226789c.js → WebAudioUtils-ec5fab9c.js} +1 -1
- package/cjs/{WebAudioUtils-e226789c.js.map → WebAudioUtils-ec5fab9c.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-c89f311a.js → _rollupPluginBabelHelpers-c663dd08.js} +1 -1
- package/cjs/_rollupPluginBabelHelpers-c663dd08.js.map +1 -0
- package/cjs/{actionTypes-0fa2943d.js → actionTypes-ec1a24ad.js} +1 -1
- package/cjs/{actionTypes-0fa2943d.js.map → actionTypes-ec1a24ad.js.map} +1 -1
- package/cjs/{color-bada0fc7.js → color-9b89305e.js} +1 -1
- package/cjs/{color-bada0fc7.js.map → color-9b89305e.js.map} +1 -1
- package/cjs/{compareIds-ccccfe86.js → compareIds-33dd955d.js} +1 -1
- package/cjs/{compareIds-ccccfe86.js.map → compareIds-33dd955d.js.map} +1 -1
- package/cjs/{const-a85f3364.js → const-aa5d9897.js} +1 -1
- package/cjs/{const-a85f3364.js.map → const-aa5d9897.js.map} +1 -1
- package/cjs/{const-d8cece19.js → const-fa9766cd.js} +1 -1
- package/cjs/{const-d8cece19.js.map → const-fa9766cd.js.map} +1 -1
- package/cjs/{consts-740f60b8.js → consts-1236a4e1.js} +1 -1
- package/cjs/{consts-740f60b8.js.map → consts-1236a4e1.js.map} +1 -1
- package/cjs/{consts-5e0f96b3.js → consts-51109fcf.js} +1 -1
- package/cjs/{consts-5e0f96b3.js.map → consts-51109fcf.js.map} +1 -1
- package/cjs/{consts-1d94dc61.js → consts-69a6e3e5.js} +1 -1
- package/cjs/{consts-1d94dc61.js.map → consts-69a6e3e5.js.map} +1 -1
- package/cjs/{consts-1c3020ad.js → consts-e76a3ddb.js} +1 -1
- package/cjs/{consts-1c3020ad.js.map → consts-e76a3ddb.js.map} +1 -1
- package/cjs/{context-8e7e8457.js → context-9aa77c98.js} +2 -2
- package/cjs/{context-8e7e8457.js.map → context-9aa77c98.js.map} +1 -1
- package/cjs/{index-89d81dad.js → index-10c22e47.js} +4 -4
- package/cjs/{index-89d81dad.js.map → index-10c22e47.js.map} +1 -1
- package/cjs/{index-f570d25c.js → index-1594444c.js} +1 -1
- package/cjs/{index-f570d25c.js.map → index-1594444c.js.map} +1 -1
- package/cjs/{index-7f6bbe0c.js → index-1b92d1fc.js} +6 -6
- package/cjs/{index-7f6bbe0c.js.map → index-1b92d1fc.js.map} +1 -1
- package/cjs/{index-7d125728.js → index-1f99f5a7.js} +2 -2
- package/cjs/{index-7d125728.js.map → index-1f99f5a7.js.map} +1 -1
- package/cjs/{index-1613ae03.js → index-3398f4c0.js} +3 -3
- package/cjs/{index-1613ae03.js.map → index-3398f4c0.js.map} +1 -1
- package/cjs/{index-8affdde5.js → index-5af2f576.js} +3 -3
- package/cjs/{index-8affdde5.js.map → index-5af2f576.js.map} +1 -1
- package/cjs/{index-648c06ed.js → index-5e434ad9.js} +3 -3
- package/cjs/{index-648c06ed.js.map → index-5e434ad9.js.map} +1 -1
- package/cjs/{index-016f7106.js → index-6ff41d18.js} +1 -1
- package/cjs/{index-016f7106.js.map → index-6ff41d18.js.map} +1 -1
- package/cjs/{index-5231fde8.js → index-72493143.js} +8 -8
- package/cjs/index-72493143.js.map +1 -0
- package/cjs/{index-c9d348b6.js → index-73658e39.js} +6 -6
- package/cjs/{index-c9d348b6.js.map → index-73658e39.js.map} +1 -1
- package/cjs/{index-e8c0080f.js → index-9528c243.js} +4 -4
- package/cjs/{index-e8c0080f.js.map → index-9528c243.js.map} +1 -1
- package/cjs/{index-6cb0d040.js → index-b5b61f04.js} +2 -2
- package/cjs/{index-6cb0d040.js.map → index-b5b61f04.js.map} +1 -1
- package/cjs/{index-2be14d85.js → index-bffc8a26.js} +4 -4
- package/cjs/{index-2be14d85.js.map → index-bffc8a26.js.map} +1 -1
- package/cjs/{index-71fdaa1b.js → index-d3287707.js} +5 -5
- package/cjs/{index-71fdaa1b.js.map → index-d3287707.js.map} +1 -1
- package/cjs/{index-3b30939e.js → index-d72ed76a.js} +2 -2
- package/cjs/{index-3b30939e.js.map → index-d72ed76a.js.map} +1 -1
- package/cjs/{index-99f16473.js → index-e9f32d10.js} +2 -2
- package/cjs/{index-99f16473.js.map → index-e9f32d10.js.map} +1 -1
- package/cjs/{index-869e9a94.js → index-f678621e.js} +2 -2
- package/cjs/{index-869e9a94.js.map → index-f678621e.js.map} +1 -1
- package/cjs/index.js +52 -52
- package/cjs/{index.module-0585715f.js → index.module-63ce4333.js} +1 -1
- package/cjs/{index.module-0585715f.js.map → index.module-63ce4333.js.map} +1 -1
- package/cjs/{resolvedReplyType-67e78c63.js → resolvedReplyType-09a792fd.js} +1 -1
- package/cjs/{resolvedReplyType-67e78c63.js.map → resolvedReplyType-09a792fd.js.map} +1 -1
- package/cjs/sendbirdSelectors.js +3 -3
- package/cjs/{stringSet-106da549.js → stringSet-058e5a56.js} +1 -1
- package/cjs/{stringSet-106da549.js.map → stringSet-058e5a56.js.map} +1 -1
- package/cjs/{tokenize-2aa0f876.js → tokenize-fc89880b.js} +2 -2
- package/cjs/{tokenize-2aa0f876.js.map → tokenize-fc89880b.js.map} +1 -1
- package/cjs/{topics-b384e6b3.js → topics-d9adc1ce.js} +1 -1
- package/cjs/{topics-b384e6b3.js.map → topics-d9adc1ce.js.map} +1 -1
- package/cjs/{types-e0b77c8c.js → types-ef72e7f7.js} +1 -1
- package/cjs/types-ef72e7f7.js.map +1 -0
- package/cjs/ui/Accordion.js +2 -2
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +2 -2
- package/cjs/ui/Avatar.js +1 -1
- package/cjs/ui/Badge.js +4 -4
- package/cjs/ui/BottomSheet.js +1 -1
- package/cjs/ui/Button.js +2 -2
- package/cjs/ui/ChannelAvatar.js +2 -2
- package/cjs/ui/ConnectionStatus.js +4 -4
- package/cjs/ui/ContextMenu.js +5 -5
- package/cjs/ui/DateSeparator.js +3 -3
- package/cjs/ui/EmojiReactions.js +13 -13
- package/cjs/ui/FileMessageItemBody.js +6 -6
- package/cjs/ui/FileViewer.js +8 -8
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/Input.js +2 -2
- package/cjs/ui/Label.js +2 -2
- package/cjs/ui/LinkLabel.js +2 -2
- package/cjs/ui/MentionLabel.js +10 -10
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +38 -36
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput.js +13 -13
- package/cjs/ui/MessageItemMenu.js +8 -8
- package/cjs/ui/MessageItemReactionMenu.js +8 -8
- package/cjs/ui/MessageSearchFileItem.js +10 -10
- package/cjs/ui/MessageSearchItem.js +8 -8
- package/cjs/ui/MessageStatus.js +10 -10
- package/cjs/ui/Modal.js +7 -7
- package/cjs/ui/OGMessageItemBody.js +14 -14
- package/cjs/ui/OpenChannelAdminMessage.js +2 -2
- package/cjs/ui/OpenChannelAvatar.js +5 -5
- package/cjs/ui/OpenchannelConversationHeader.js +6 -6
- package/cjs/ui/OpenchannelFileMessage.js +15 -15
- package/cjs/ui/OpenchannelOGMessage.js +18 -18
- package/cjs/ui/OpenchannelThumbnailMessage.js +14 -14
- package/cjs/ui/OpenchannelUserMessage.js +15 -15
- package/cjs/ui/PlaceHolder.js +5 -5
- package/cjs/ui/PlaybackTime.js +2 -2
- package/cjs/ui/QuoteMessage.js +6 -6
- package/cjs/ui/QuoteMessageInput.js +6 -6
- package/cjs/ui/ReactionBadge.js +2 -2
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +1 -1
- package/cjs/ui/TextButton.js +1 -1
- package/cjs/ui/TextMessageItemBody.js +14 -14
- package/cjs/ui/ThreadReplies.js +5 -5
- package/cjs/ui/ThumbnailMessageItemBody.js +5 -5
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +2 -2
- package/cjs/ui/UnknownMessageItemBody.js +6 -6
- package/cjs/ui/UserListItem.js +10 -10
- package/cjs/ui/UserProfile.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +9 -9
- package/cjs/ui/VoiceMessgeInput.js +7 -7
- package/cjs/ui/Word.js +10 -10
- package/cjs/{useDirtyGetMentions-b8ca5675.js → useDirtyGetMentions-a7d630f2.js} +1 -1
- package/cjs/{useDirtyGetMentions-b8ca5675.js.map → useDirtyGetMentions-a7d630f2.js.map} +1 -1
- package/cjs/{useLongPress-8037894e.js → useLongPress-d852a6dc.js} +3 -3
- package/cjs/{useLongPress-8037894e.js.map → useLongPress-d852a6dc.js.map} +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +2 -2
- package/cjs/{utils-ad7b5b82.js → utils-0f13b5ad.js} +1 -1
- package/cjs/{utils-ad7b5b82.js.map → utils-0f13b5ad.js.map} +1 -1
- package/cjs/{utils-5ac3db44.js → utils-2bcb2345.js} +2 -2
- package/cjs/{utils-5ac3db44.js.map → utils-2bcb2345.js.map} +1 -1
- package/cjs/{utils-2edcddc8.js → utils-349e7ba5.js} +1 -1
- package/cjs/{utils-2edcddc8.js.map → utils-349e7ba5.js.map} +1 -1
- package/cjs/{utils-01ff5332.js → utils-dbf0ec97.js} +1 -1
- package/cjs/{utils-01ff5332.js.map → utils-dbf0ec97.js.map} +1 -1
- package/cjs/{uuid-12b01f73.js → uuid-f8d60993.js} +1 -1
- package/cjs/{uuid-12b01f73.js.map → uuid-f8d60993.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-347926b6.js → color-e29f58c0.js} +1 -1
- package/{color-347926b6.js.map → color-e29f58c0.js.map} +1 -1
- package/{compareIds-3a43c11b.js → compareIds-fd6096a3.js} +1 -1
- package/{compareIds-3a43c11b.js.map → compareIds-fd6096a3.js.map} +1 -1
- package/{const-18dba7a4.js → const-77d1b8b9.js} +1 -1
- package/{const-18dba7a4.js.map → const-77d1b8b9.js.map} +1 -1
- package/{const-c608f749.js → const-ebb3d855.js} +1 -1
- package/{const-c608f749.js.map → const-ebb3d855.js.map} +1 -1
- package/{consts-7a169a0f.js → consts-26adf635.js} +1 -1
- package/{consts-7a169a0f.js.map → consts-26adf635.js.map} +1 -1
- package/{consts-c1baf70a.js → consts-6d5cd4c1.js} +1 -1
- package/{consts-c1baf70a.js.map → consts-6d5cd4c1.js.map} +1 -1
- package/{consts-6bca01c7.js → consts-75ffc51a.js} +1 -1
- package/{consts-6bca01c7.js.map → consts-75ffc51a.js.map} +1 -1
- package/{consts-fb4d475a.js → consts-846cf7ce.js} +1 -1
- package/{consts-fb4d475a.js.map → consts-846cf7ce.js.map} +1 -1
- package/{context-786ef1a2.js → context-a4b4c7d8.js} +2 -2
- package/{context-786ef1a2.js.map → context-a4b4c7d8.js.map} +1 -1
- package/{index-6c252d25.js → index-049bcead.js} +2 -2
- package/{index-6c252d25.js.map → index-049bcead.js.map} +1 -1
- package/{index-cf3939c6.js → index-10c1a0af.js} +2 -2
- package/{index-cf3939c6.js.map → index-10c1a0af.js.map} +1 -1
- package/{index-06b854f7.js → index-11d086f0.js} +5 -5
- package/{index-06b854f7.js.map → index-11d086f0.js.map} +1 -1
- package/{index-9a4e0846.js → index-12d4b099.js} +1 -1
- package/{index-9a4e0846.js.map → index-12d4b099.js.map} +1 -1
- package/{index-319984d0.js → index-4a7df8c7.js} +1 -1
- package/{index-319984d0.js.map → index-4a7df8c7.js.map} +1 -1
- package/{index-9cd77b08.js → index-76df99da.js} +3 -3
- package/{index-9cd77b08.js.map → index-76df99da.js.map} +1 -1
- package/{index-7d71b26c.js → index-a3283f9a.js} +4 -4
- package/{index-7d71b26c.js.map → index-a3283f9a.js.map} +1 -1
- package/{index-eabd1e7e.js → index-a3a092ba.js} +6 -6
- package/{index-eabd1e7e.js.map → index-a3a092ba.js.map} +1 -1
- package/{index-4455855e.js → index-a741c87d.js} +2 -2
- package/{index-4455855e.js.map → index-a741c87d.js.map} +1 -1
- package/{index-cf859f03.js → index-b603acee.js} +8 -8
- package/index-b603acee.js.map +1 -0
- package/{index-e33f7f55.js → index-c152addf.js} +2 -2
- package/{index-e33f7f55.js.map → index-c152addf.js.map} +1 -1
- package/{index-71a20863.js → index-c82159a7.js} +3 -3
- package/{index-71a20863.js.map → index-c82159a7.js.map} +1 -1
- package/{index-c149ea48.js → index-ce721b3f.js} +2 -2
- package/{index-c149ea48.js.map → index-ce721b3f.js.map} +1 -1
- package/{index-ebb62af1.js → index-cf6e24dc.js} +4 -4
- package/{index-ebb62af1.js.map → index-cf6e24dc.js.map} +1 -1
- package/{index-edf844f0.js → index-d2b51811.js} +3 -3
- package/{index-edf844f0.js.map → index-d2b51811.js.map} +1 -1
- package/{index-6663ce18.js → index-e3c2c708.js} +4 -4
- package/{index-6663ce18.js.map → index-e3c2c708.js.map} +1 -1
- package/{index-2673effb.js → index-fa71cd18.js} +6 -6
- package/{index-2673effb.js.map → index-fa71cd18.js.map} +1 -1
- package/index.d.ts +1 -1
- package/index.js +52 -52
- package/{index.module-6b7ed635.js → index.module-d59e07bf.js} +1 -1
- package/{index.module-6b7ed635.js.map → index.module-d59e07bf.js.map} +1 -1
- package/package.json +2 -2
- package/{resolvedReplyType-8776d777.js → resolvedReplyType-a42f8462.js} +1 -1
- package/{resolvedReplyType-8776d777.js.map → resolvedReplyType-a42f8462.js.map} +1 -1
- package/sendbirdSelectors.js +3 -3
- package/{stringSet-e0ee1265.js → stringSet-e23622aa.js} +1 -1
- package/{stringSet-e0ee1265.js.map → stringSet-e23622aa.js.map} +1 -1
- package/{tokenize-1b053c86.js → tokenize-a81dc8ff.js} +2 -2
- package/{tokenize-1b053c86.js.map → tokenize-a81dc8ff.js.map} +1 -1
- package/{topics-70f569e9.js → topics-a82e4c11.js} +1 -1
- package/{topics-70f569e9.js.map → topics-a82e4c11.js.map} +1 -1
- package/{types-77bbdda6.js → types-243e365a.js} +1 -1
- package/types-243e365a.js.map +1 -0
- package/ui/Accordion.js +2 -2
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +2 -2
- package/ui/Avatar.js +1 -1
- package/ui/Badge.js +4 -4
- package/ui/BottomSheet.js +1 -1
- package/ui/Button.js +2 -2
- package/ui/ChannelAvatar.js +2 -2
- package/ui/ConnectionStatus.js +4 -4
- package/ui/ContextMenu.js +5 -5
- package/ui/DateSeparator.js +3 -3
- package/ui/EmojiReactions.js +13 -13
- package/ui/FileMessageItemBody.js +6 -6
- package/ui/FileViewer.js +8 -8
- package/ui/IconButton.js +1 -1
- package/ui/Input.js +2 -2
- package/ui/Label.js +2 -2
- package/ui/LinkLabel.js +2 -2
- package/ui/MentionLabel.js +10 -10
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +38 -36
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput.js +13 -13
- package/ui/MessageItemMenu.js +8 -8
- package/ui/MessageItemReactionMenu.js +8 -8
- package/ui/MessageSearchFileItem.js +10 -10
- package/ui/MessageSearchItem.js +8 -8
- package/ui/MessageStatus.js +10 -10
- package/ui/Modal.js +7 -7
- package/ui/OGMessageItemBody.js +14 -14
- package/ui/OpenChannelAdminMessage.js +2 -2
- package/ui/OpenChannelAvatar.js +5 -5
- package/ui/OpenchannelConversationHeader.js +6 -6
- package/ui/OpenchannelFileMessage.js +15 -15
- package/ui/OpenchannelOGMessage.js +18 -18
- package/ui/OpenchannelThumbnailMessage.js +14 -14
- package/ui/OpenchannelUserMessage.js +15 -15
- package/ui/PlaceHolder.js +5 -5
- package/ui/PlaybackTime.js +2 -2
- package/ui/QuoteMessage.js +6 -6
- package/ui/QuoteMessageInput.js +6 -6
- package/ui/ReactionBadge.js +2 -2
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +1 -1
- package/ui/TextButton.js +1 -1
- package/ui/TextMessageItemBody.js +14 -14
- package/ui/ThreadReplies.js +5 -5
- package/ui/ThumbnailMessageItemBody.js +5 -5
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +2 -2
- package/ui/UnknownMessageItemBody.js +6 -6
- package/ui/UserListItem.js +10 -10
- package/ui/UserProfile.js +9 -9
- package/ui/VoiceMessageItemBody.js +9 -9
- package/ui/VoiceMessgeInput.js +7 -7
- package/ui/Word.js +10 -10
- package/{useDirtyGetMentions-f00f1f94.js → useDirtyGetMentions-00d21e39.js} +1 -1
- package/{useDirtyGetMentions-f00f1f94.js.map → useDirtyGetMentions-00d21e39.js.map} +1 -1
- package/{useLongPress-1ab49410.js → useLongPress-2bb5130b.js} +3 -3
- package/{useLongPress-1ab49410.js.map → useLongPress-2bb5130b.js.map} +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +2 -2
- package/{utils-7f3d0d8c.js → utils-3bc3612d.js} +1 -1
- package/{utils-7f3d0d8c.js.map → utils-3bc3612d.js.map} +1 -1
- package/{utils-56cb7de5.js → utils-86a2d093.js} +1 -1
- package/{utils-56cb7de5.js.map → utils-86a2d093.js.map} +1 -1
- package/{utils-af9b1c06.js → utils-978356b4.js} +1 -1
- package/{utils-af9b1c06.js.map → utils-978356b4.js.map} +1 -1
- package/{utils-77f7e8b2.js → utils-e8b4efbb.js} +2 -2
- package/{utils-77f7e8b2.js.map → utils-e8b4efbb.js.map} +1 -1
- package/{uuid-92d22300.js → uuid-ab01acf7.js} +1 -1
- package/{uuid-92d22300.js.map → uuid-ab01acf7.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelListProvider-4cf5c0f5.js.map +0 -1
- package/ChannelProvider-6e8e99df.js.map +0 -1
- package/_rollupPluginBabelHelpers-fb0e05a4.js.map +0 -1
- package/cjs/ChannelListProvider-e0ce316a.js.map +0 -1
- package/cjs/ChannelProvider-0df75472.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-c89f311a.js.map +0 -1
- package/cjs/index-5231fde8.js.map +0 -1
- package/cjs/types-e0b77c8c.js.map +0 -1
- package/index-cf859f03.js.map +0 -1
- package/types-77bbdda6.js.map +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useContext } from 'react';
|
|
2
2
|
import { useChannelSettingsContext } from '../context.js';
|
|
3
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
+
import { a as LocalizationContext } from '../../LocalizationContext-c408cdc3.js';
|
|
4
4
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
5
5
|
import Modal from '../../ui/Modal.js';
|
|
6
6
|
import Input, { InputLabel } from '../../ui/Input.js';
|
|
7
7
|
import Avatar from '../../ui/Avatar.js';
|
|
8
8
|
import { ButtonTypes } from '../../ui/Button.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-c152addf.js';
|
|
10
10
|
import TextButton from '../../ui/TextButton.js';
|
|
11
11
|
import ChannelAvatar from '../../ui/ChannelAvatar.js';
|
|
12
|
-
import { u as uuidv4 } from '../../uuid-
|
|
13
|
-
import '../../UserProfileContext-
|
|
12
|
+
import { u as uuidv4 } from '../../uuid-ab01acf7.js';
|
|
13
|
+
import '../../UserProfileContext-271136d9.js';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
import '../../withSendbird.js';
|
|
16
|
-
import '../../_rollupPluginBabelHelpers-
|
|
17
|
-
import '../../stringSet-
|
|
18
|
-
import '../../index-
|
|
16
|
+
import '../../_rollupPluginBabelHelpers-656af0eb.js';
|
|
17
|
+
import '../../stringSet-e23622aa.js';
|
|
18
|
+
import '../../index-4a7df8c7.js';
|
|
19
19
|
import 'react-dom';
|
|
20
|
-
import '../../index-
|
|
20
|
+
import '../../index-12d4b099.js';
|
|
21
21
|
import '../../ui/Icon.js';
|
|
22
22
|
import '../../ui/IconButton.js';
|
|
23
|
-
import '../../MediaQueryContext-
|
|
23
|
+
import '../../MediaQueryContext-37438a28.js';
|
|
24
24
|
import '../../ui/ImageRenderer.js';
|
|
25
|
-
import '../../color-
|
|
26
|
-
import '../../utils-
|
|
25
|
+
import '../../color-e29f58c0.js';
|
|
26
|
+
import '../../utils-978356b4.js';
|
|
27
27
|
|
|
28
28
|
const EditDetails = props => {
|
|
29
29
|
var _state$config, _state$config2, _state$config3;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
3
3
|
import { useChannelSettingsContext } from '../context.js';
|
|
4
|
-
import { n as noop } from '../../utils-
|
|
4
|
+
import { n as noop } from '../../utils-86a2d093.js';
|
|
5
5
|
import Modal from '../../ui/Modal.js';
|
|
6
|
-
import { u as useLocalization } from '../../LocalizationContext-
|
|
7
|
-
import { u as useMediaQueryContext } from '../../MediaQueryContext-
|
|
6
|
+
import { u as useLocalization } from '../../LocalizationContext-c408cdc3.js';
|
|
7
|
+
import { u as useMediaQueryContext } from '../../MediaQueryContext-37438a28.js';
|
|
8
8
|
import TextButton from '../../ui/TextButton.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-c152addf.js';
|
|
10
10
|
import '../../withSendbird.js';
|
|
11
|
-
import '../../_rollupPluginBabelHelpers-
|
|
12
|
-
import '../../UserProfileContext-
|
|
11
|
+
import '../../_rollupPluginBabelHelpers-656af0eb.js';
|
|
12
|
+
import '../../UserProfileContext-271136d9.js';
|
|
13
13
|
import 'prop-types';
|
|
14
|
-
import '../../uuid-
|
|
14
|
+
import '../../uuid-ab01acf7.js';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import '../../index-
|
|
16
|
+
import '../../index-12d4b099.js';
|
|
17
17
|
import '../../ui/Button.js';
|
|
18
18
|
import '../../ui/Icon.js';
|
|
19
19
|
import '../../ui/IconButton.js';
|
|
20
|
-
import '../../stringSet-
|
|
21
|
-
import '../../index-
|
|
22
|
-
import '../../color-
|
|
20
|
+
import '../../stringSet-e23622aa.js';
|
|
21
|
+
import '../../index-4a7df8c7.js';
|
|
22
|
+
import '../../color-e29f58c0.js';
|
|
23
23
|
|
|
24
24
|
const LeaveChannel = props => {
|
|
25
25
|
var _state$config, _state$config2;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useState, useContext, useEffect, useCallback } from 'react';
|
|
2
|
-
import { a as LocalizationContext, u as useLocalization } from '../../LocalizationContext-
|
|
2
|
+
import { a as LocalizationContext, u as useLocalization } from '../../LocalizationContext-c408cdc3.js';
|
|
3
3
|
import Accordion, { AccordionGroup } from '../../ui/Accordion.js';
|
|
4
|
-
import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-
|
|
4
|
+
import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-c152addf.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
6
6
|
import Badge from '../../ui/Badge.js';
|
|
7
7
|
import { Toggle } from '../../ui/Toggle.js';
|
|
@@ -13,29 +13,29 @@ import Modal from '../../ui/Modal.js';
|
|
|
13
13
|
import UserListItem from '../../ui/UserListItem.js';
|
|
14
14
|
import { useChannelSettingsContext } from '../context.js';
|
|
15
15
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
16
|
-
import { _ as _objectSpread2 } from '../../_rollupPluginBabelHelpers-
|
|
16
|
+
import { _ as _objectSpread2 } from '../../_rollupPluginBabelHelpers-656af0eb.js';
|
|
17
17
|
import { OperatorFilter } from '@sendbird/chat/groupChannel';
|
|
18
|
-
import { M as MemberList } from '../../MemberList-
|
|
19
|
-
import { n as noop } from '../../utils-
|
|
20
|
-
import '../../stringSet-
|
|
21
|
-
import '../../index-
|
|
18
|
+
import { M as MemberList } from '../../MemberList-c1ed3a38.js';
|
|
19
|
+
import { n as noop } from '../../utils-86a2d093.js';
|
|
20
|
+
import '../../stringSet-e23622aa.js';
|
|
21
|
+
import '../../index-4a7df8c7.js';
|
|
22
22
|
import '../../ui/AccordionGroup.js';
|
|
23
|
-
import '../../context-
|
|
23
|
+
import '../../context-a4b4c7d8.js';
|
|
24
24
|
import 'prop-types';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import '../../ui/SortByRow.js';
|
|
27
|
-
import '../../uuid-
|
|
28
|
-
import '../../index-
|
|
27
|
+
import '../../uuid-ab01acf7.js';
|
|
28
|
+
import '../../index-b603acee.js';
|
|
29
29
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
30
|
-
import '../../UserProfileContext-
|
|
30
|
+
import '../../UserProfileContext-271136d9.js';
|
|
31
31
|
import '../../ui/Avatar.js';
|
|
32
32
|
import '../../ui/ImageRenderer.js';
|
|
33
33
|
import '../../ui/MutedAvatarOverlay.js';
|
|
34
34
|
import '../../ui/UserProfile.js';
|
|
35
35
|
import '../../sendbirdSelectors.js';
|
|
36
|
-
import '../../topics-
|
|
37
|
-
import '../../index-
|
|
38
|
-
import '../../MediaQueryContext-
|
|
36
|
+
import '../../topics-a82e4c11.js';
|
|
37
|
+
import '../../index-12d4b099.js';
|
|
38
|
+
import '../../MediaQueryContext-37438a28.js';
|
|
39
39
|
import '../../ui/Checkbox.js';
|
|
40
40
|
import '../../withSendbird.js';
|
|
41
41
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import React__default, { useRef, useContext } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
-
import { a as UserProfileContext } from '../../UserProfileContext-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-c408cdc3.js';
|
|
3
|
+
import { a as UserProfileContext } from '../../UserProfileContext-271136d9.js';
|
|
4
4
|
import Avatar from '../../ui/Avatar.js';
|
|
5
5
|
import MutedAvatarOverlay from '../../ui/MutedAvatarOverlay.js';
|
|
6
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-c152addf.js';
|
|
7
7
|
import UserProfile from '../../ui/UserProfile.js';
|
|
8
8
|
import ContextMenu, { MenuItems } from '../../ui/ContextMenu.js';
|
|
9
|
-
import '../../stringSet-
|
|
10
|
-
import '../../index-
|
|
9
|
+
import '../../stringSet-e23622aa.js';
|
|
10
|
+
import '../../index-4a7df8c7.js';
|
|
11
11
|
import 'prop-types';
|
|
12
12
|
import '../../ui/ImageRenderer.js';
|
|
13
13
|
import '../../ui/Icon.js';
|
|
14
|
-
import '../../uuid-
|
|
14
|
+
import '../../uuid-ab01acf7.js';
|
|
15
15
|
import '../../sendbirdSelectors.js';
|
|
16
|
-
import '../../_rollupPluginBabelHelpers-
|
|
17
|
-
import '../../topics-
|
|
18
|
-
import '../../utils-
|
|
16
|
+
import '../../_rollupPluginBabelHelpers-656af0eb.js';
|
|
17
|
+
import '../../topics-a82e4c11.js';
|
|
18
|
+
import '../../utils-86a2d093.js';
|
|
19
19
|
import '../../ui/Button.js';
|
|
20
20
|
import '../../useSendbirdStateContext.js';
|
|
21
21
|
import '../../withSendbird.js';
|
|
22
22
|
import 'react-dom';
|
|
23
23
|
import '../../ui/SortByRow.js';
|
|
24
|
-
import '../../index-
|
|
24
|
+
import '../../index-b603acee.js';
|
|
25
25
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
26
26
|
|
|
27
27
|
const UserListItem = _ref => {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import React__default, { useContext, useState } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-c408cdc3.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-c152addf.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
5
5
|
import Badge from '../../ui/Badge.js';
|
|
6
|
-
import { M as MemberList } from '../../MemberList-
|
|
6
|
+
import { M as MemberList } from '../../MemberList-c1ed3a38.js';
|
|
7
7
|
import { useChannelSettingsContext } from '../context.js';
|
|
8
|
-
import '../../stringSet-
|
|
9
|
-
import '../../index-
|
|
8
|
+
import '../../stringSet-e23622aa.js';
|
|
9
|
+
import '../../index-4a7df8c7.js';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
import '../../ui/Button.js';
|
|
12
12
|
import '../../ui/IconButton.js';
|
|
13
|
-
import '../../_rollupPluginBabelHelpers-
|
|
13
|
+
import '../../_rollupPluginBabelHelpers-656af0eb.js';
|
|
14
14
|
import '../../ui/ContextMenu.js';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
import '../../ui/SortByRow.js';
|
|
17
|
-
import '../../uuid-
|
|
18
|
-
import '../../index-
|
|
17
|
+
import '../../uuid-ab01acf7.js';
|
|
18
|
+
import '../../index-b603acee.js';
|
|
19
19
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
20
20
|
import './UserListItem.js';
|
|
21
|
-
import '../../UserProfileContext-
|
|
21
|
+
import '../../UserProfileContext-271136d9.js';
|
|
22
22
|
import '../../ui/Avatar.js';
|
|
23
23
|
import '../../ui/ImageRenderer.js';
|
|
24
24
|
import '../../ui/MutedAvatarOverlay.js';
|
|
25
25
|
import '../../ui/UserProfile.js';
|
|
26
26
|
import '../../sendbirdSelectors.js';
|
|
27
|
-
import '../../topics-
|
|
28
|
-
import '../../utils-
|
|
27
|
+
import '../../topics-a82e4c11.js';
|
|
28
|
+
import '../../utils-86a2d093.js';
|
|
29
29
|
import '../../useSendbirdStateContext.js';
|
|
30
30
|
import '../../withSendbird.js';
|
|
31
31
|
import '../../ui/Modal.js';
|
|
32
|
-
import '../../index-
|
|
33
|
-
import '../../MediaQueryContext-
|
|
32
|
+
import '../../index-12d4b099.js';
|
|
33
|
+
import '../../MediaQueryContext-37438a28.js';
|
|
34
34
|
import '../../ui/UserListItem.js';
|
|
35
35
|
import '../../ui/Checkbox.js';
|
|
36
36
|
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
2
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
3
|
-
import { U as UserProfileProvider } from '../UserProfileContext-
|
|
4
|
-
import { u as uuidv4 } from '../uuid-
|
|
3
|
+
import { U as UserProfileProvider } from '../UserProfileContext-271136d9.js';
|
|
4
|
+
import { u as uuidv4 } from '../uuid-ab01acf7.js';
|
|
5
5
|
import '../withSendbird.js';
|
|
6
|
-
import '../_rollupPluginBabelHelpers-
|
|
6
|
+
import '../_rollupPluginBabelHelpers-656af0eb.js';
|
|
7
7
|
import 'prop-types';
|
|
8
8
|
|
|
9
9
|
const ChannelSettingsContext = /*#__PURE__*/React__default.createContext(undefined);
|
|
10
10
|
const ChannelSettingsProvider = props => {
|
|
11
|
+
var _props$disableUserPro;
|
|
11
12
|
const {
|
|
12
13
|
children,
|
|
13
14
|
className,
|
|
@@ -83,7 +84,7 @@ const ChannelSettingsProvider = props => {
|
|
|
83
84
|
}
|
|
84
85
|
}, /*#__PURE__*/React__default.createElement(UserProfileProvider, {
|
|
85
86
|
renderUserProfile: props === null || props === void 0 ? void 0 : props.renderUserProfile,
|
|
86
|
-
disableUserProfile: props === null || props === void 0 ? void 0 : props.disableUserProfile,
|
|
87
|
+
disableUserProfile: (_props$disableUserPro = props === null || props === void 0 ? void 0 : props.disableUserProfile) !== null && _props$disableUserPro !== void 0 ? _props$disableUserPro : config === null || config === void 0 ? void 0 : config.disableUserProfile,
|
|
87
88
|
onUserProfileMessage: onUserProfileMessage
|
|
88
89
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
89
90
|
className: `sendbird-channel-settings ${className}`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sources":["../../src/modules/ChannelSettings/context/ChannelSettingsProvider.tsx"],"sourcesContent":["import React, {\n useEffect,\n useState,\n} from 'react';\nimport {\n GroupChannel,\n GroupChannelUpdateParams,\n SendbirdGroupChat,\n} from '@sendbird/chat/groupChannel';\n\nimport useSendbirdStateContext from '../../../hooks/useSendbirdStateContext';\nimport { RenderUserProfileProps } from '../../../types';\nimport { UserProfileProvider } from '../../../lib/UserProfileContext';\nimport uuidv4 from '../../../utils/uuid';\n\ninterface ApplicationUserListQuery {\n limit?: number;\n userIdsFilter?: Array<string>;\n metaDataKeyFilter?: string;\n metaDataValuesFilter?: Array<string>;\n}\n\ninterface ChannelSettingsQueries {\n applicationUserListQuery?: ApplicationUserListQuery;\n}\n\ntype OverrideInviteUserType = {\n users: Array<string>;\n onClose: () => void;\n channel: GroupChannel;\n};\n\nexport type ChannelSettingsContextProps = {\n children?: React.ReactElement;\n channelUrl: string;\n className?: string;\n onCloseClick?(): void;\n onLeaveChannel?(): void;\n overrideInviteUser?(params: OverrideInviteUserType): void;\n onChannelModified?(channel: GroupChannel): void;\n onBeforeUpdateChannel?(currentTitle: string, currentImg: File, data: string): GroupChannelUpdateParams;\n queries?: ChannelSettingsQueries;\n renderUserProfile?: (props: RenderUserProfileProps) => React.ReactElement;\n disableUserProfile?: boolean;\n};\n\ninterface ChannelSettingsProviderInterface {\n channelUrl: string;\n onCloseClick?(): void;\n onLeaveChannel?(): void;\n overrideInviteUser?(params: OverrideInviteUserType): void;\n onChannelModified?(channel: GroupChannel): void;\n onBeforeUpdateChannel?(currentTitle: string, currentImg: File, data: string): GroupChannelUpdateParams;\n queries?: ChannelSettingsQueries;\n setChannelUpdateId(uniqId: string): void;\n forceUpdateUI(): void;\n channel: GroupChannel;\n invalidChannel: boolean;\n}\n\nconst ChannelSettingsContext = React.createContext<ChannelSettingsProviderInterface|null>(undefined);\n\nconst ChannelSettingsProvider: React.FC<ChannelSettingsContextProps> = (props: ChannelSettingsContextProps) => {\n const {\n children,\n className,\n channelUrl,\n onCloseClick,\n onLeaveChannel,\n onChannelModified,\n overrideInviteUser,\n onBeforeUpdateChannel,\n queries,\n } = props;\n\n // fetch store from <SendbirdProvider />\n const globalStore = useSendbirdStateContext();\n const { config, stores } = globalStore;\n const { sdkStore } = stores;\n const { logger, onUserProfileMessage } = config;\n\n const { initialized } = sdkStore;\n const sdk = sdkStore?.sdk as SendbirdGroupChat;\n\n // hack to keep track of channel updates by triggering useEffect\n const [channelUpdateId, setChannelUpdateId] = useState(uuidv4());\n const [channel, setChannel] = useState(null);\n const [invalidChannel, setInvalidChannel] = useState(false);\n\n const forceUpdateUI = () => {\n setChannelUpdateId(uuidv4());\n };\n\n useEffect(() => {\n logger.info('ChannelSettings: Setting up');\n if (!channelUrl || !initialized || !sdk) {\n logger.warning('ChannelSettings: Setting up failed', 'No channelUrl or sdk uninitialized');\n setInvalidChannel(false);\n } else {\n if (!sdk || !sdk.groupChannel) {\n logger.warning('ChannelSettings: No GroupChannel');\n return;\n }\n sdk.groupChannel.getChannel(channelUrl).then((groupChannel) => {\n if (!groupChannel) {\n logger.warning('ChannelSettings: Channel not found');\n setInvalidChannel(true);\n } else {\n logger.info('ChannelSettings: Fetched group channel', groupChannel);\n setInvalidChannel(false);\n setChannel(groupChannel);\n }\n });\n }\n }, [channelUrl, initialized, channelUpdateId]);\n\n return (\n <ChannelSettingsContext.Provider value={{\n channelUrl,\n onCloseClick,\n onLeaveChannel,\n onChannelModified,\n onBeforeUpdateChannel,\n queries,\n overrideInviteUser,\n setChannelUpdateId,\n forceUpdateUI,\n channel,\n invalidChannel,\n }}>\n <UserProfileProvider\n renderUserProfile={props?.renderUserProfile}\n disableUserProfile={props?.disableUserProfile}\n onUserProfileMessage={onUserProfileMessage}\n >\n <div className={`sendbird-channel-settings ${className}`}>\n {children}\n </div>\n </UserProfileProvider>\n </ChannelSettingsContext.Provider>\n );\n};\n\nexport type UseChannelSettingsType = () => ChannelSettingsProviderInterface;\nconst useChannelSettingsContext: UseChannelSettingsType = () => React.useContext(ChannelSettingsContext);\n\nexport {\n ChannelSettingsProvider,\n useChannelSettingsContext,\n};\n"],"names":["ChannelSettingsContext","React","createContext","undefined","ChannelSettingsProvider","props","children","className","channelUrl","onCloseClick","onLeaveChannel","onChannelModified","overrideInviteUser","onBeforeUpdateChannel","queries","globalStore","useSendbirdStateContext","config","stores","sdkStore","logger","onUserProfileMessage","initialized","sdk","channelUpdateId","setChannelUpdateId","useState","uuidv4","channel","setChannel","invalidChannel","setInvalidChannel","forceUpdateUI","useEffect","info","warning","groupChannel","getChannel","then","createElement","Provider","value","UserProfileProvider","renderUserProfile","disableUserProfile","useChannelSettingsContext","useContext"],"mappings":";;;;;;;;AA4DA,MAAMA,sBAAsB,gBAAGC,cAAK,CAACC,aAAa,CAAwCC,SAAS,CAAC,CAAA;AAE9FC,MAAAA,uBAA8D,GAAIC,KAAkC,IAAK;EAC7G,MAAM;IACJC,QAAQ;IACRC,SAAS;IACTC,UAAU;IACVC,YAAY;IACZC,cAAc;IACdC,iBAAiB;IACjBC,kBAAkB;IAClBC,qBAAqB;AACrBC,IAAAA,OAAAA;AACF,GAAC,
|
|
1
|
+
{"version":3,"file":"context.js","sources":["../../src/modules/ChannelSettings/context/ChannelSettingsProvider.tsx"],"sourcesContent":["import React, {\n useEffect,\n useState,\n} from 'react';\nimport {\n GroupChannel,\n GroupChannelUpdateParams,\n SendbirdGroupChat,\n} from '@sendbird/chat/groupChannel';\n\nimport useSendbirdStateContext from '../../../hooks/useSendbirdStateContext';\nimport { RenderUserProfileProps } from '../../../types';\nimport { UserProfileProvider } from '../../../lib/UserProfileContext';\nimport uuidv4 from '../../../utils/uuid';\n\ninterface ApplicationUserListQuery {\n limit?: number;\n userIdsFilter?: Array<string>;\n metaDataKeyFilter?: string;\n metaDataValuesFilter?: Array<string>;\n}\n\ninterface ChannelSettingsQueries {\n applicationUserListQuery?: ApplicationUserListQuery;\n}\n\ntype OverrideInviteUserType = {\n users: Array<string>;\n onClose: () => void;\n channel: GroupChannel;\n};\n\nexport type ChannelSettingsContextProps = {\n children?: React.ReactElement;\n channelUrl: string;\n className?: string;\n onCloseClick?(): void;\n onLeaveChannel?(): void;\n overrideInviteUser?(params: OverrideInviteUserType): void;\n onChannelModified?(channel: GroupChannel): void;\n onBeforeUpdateChannel?(currentTitle: string, currentImg: File, data: string): GroupChannelUpdateParams;\n queries?: ChannelSettingsQueries;\n renderUserProfile?: (props: RenderUserProfileProps) => React.ReactElement;\n disableUserProfile?: boolean;\n};\n\ninterface ChannelSettingsProviderInterface {\n channelUrl: string;\n onCloseClick?(): void;\n onLeaveChannel?(): void;\n overrideInviteUser?(params: OverrideInviteUserType): void;\n onChannelModified?(channel: GroupChannel): void;\n onBeforeUpdateChannel?(currentTitle: string, currentImg: File, data: string): GroupChannelUpdateParams;\n queries?: ChannelSettingsQueries;\n setChannelUpdateId(uniqId: string): void;\n forceUpdateUI(): void;\n channel: GroupChannel;\n invalidChannel: boolean;\n}\n\nconst ChannelSettingsContext = React.createContext<ChannelSettingsProviderInterface|null>(undefined);\n\nconst ChannelSettingsProvider: React.FC<ChannelSettingsContextProps> = (props: ChannelSettingsContextProps) => {\n const {\n children,\n className,\n channelUrl,\n onCloseClick,\n onLeaveChannel,\n onChannelModified,\n overrideInviteUser,\n onBeforeUpdateChannel,\n queries,\n } = props;\n\n // fetch store from <SendbirdProvider />\n const globalStore = useSendbirdStateContext();\n const { config, stores } = globalStore;\n const { sdkStore } = stores;\n const { logger, onUserProfileMessage } = config;\n\n const { initialized } = sdkStore;\n const sdk = sdkStore?.sdk as SendbirdGroupChat;\n\n // hack to keep track of channel updates by triggering useEffect\n const [channelUpdateId, setChannelUpdateId] = useState(uuidv4());\n const [channel, setChannel] = useState(null);\n const [invalidChannel, setInvalidChannel] = useState(false);\n\n const forceUpdateUI = () => {\n setChannelUpdateId(uuidv4());\n };\n\n useEffect(() => {\n logger.info('ChannelSettings: Setting up');\n if (!channelUrl || !initialized || !sdk) {\n logger.warning('ChannelSettings: Setting up failed', 'No channelUrl or sdk uninitialized');\n setInvalidChannel(false);\n } else {\n if (!sdk || !sdk.groupChannel) {\n logger.warning('ChannelSettings: No GroupChannel');\n return;\n }\n sdk.groupChannel.getChannel(channelUrl).then((groupChannel) => {\n if (!groupChannel) {\n logger.warning('ChannelSettings: Channel not found');\n setInvalidChannel(true);\n } else {\n logger.info('ChannelSettings: Fetched group channel', groupChannel);\n setInvalidChannel(false);\n setChannel(groupChannel);\n }\n });\n }\n }, [channelUrl, initialized, channelUpdateId]);\n\n return (\n <ChannelSettingsContext.Provider value={{\n channelUrl,\n onCloseClick,\n onLeaveChannel,\n onChannelModified,\n onBeforeUpdateChannel,\n queries,\n overrideInviteUser,\n setChannelUpdateId,\n forceUpdateUI,\n channel,\n invalidChannel,\n }}>\n <UserProfileProvider\n renderUserProfile={props?.renderUserProfile}\n disableUserProfile={props?.disableUserProfile ?? config?.disableUserProfile}\n onUserProfileMessage={onUserProfileMessage}\n >\n <div className={`sendbird-channel-settings ${className}`}>\n {children}\n </div>\n </UserProfileProvider>\n </ChannelSettingsContext.Provider>\n );\n};\n\nexport type UseChannelSettingsType = () => ChannelSettingsProviderInterface;\nconst useChannelSettingsContext: UseChannelSettingsType = () => React.useContext(ChannelSettingsContext);\n\nexport {\n ChannelSettingsProvider,\n useChannelSettingsContext,\n};\n"],"names":["ChannelSettingsContext","React","createContext","undefined","ChannelSettingsProvider","props","_props$disableUserPro","children","className","channelUrl","onCloseClick","onLeaveChannel","onChannelModified","overrideInviteUser","onBeforeUpdateChannel","queries","globalStore","useSendbirdStateContext","config","stores","sdkStore","logger","onUserProfileMessage","initialized","sdk","channelUpdateId","setChannelUpdateId","useState","uuidv4","channel","setChannel","invalidChannel","setInvalidChannel","forceUpdateUI","useEffect","info","warning","groupChannel","getChannel","then","createElement","Provider","value","UserProfileProvider","renderUserProfile","disableUserProfile","useChannelSettingsContext","useContext"],"mappings":";;;;;;;;AA4DA,MAAMA,sBAAsB,gBAAGC,cAAK,CAACC,aAAa,CAAwCC,SAAS,CAAC,CAAA;AAE9FC,MAAAA,uBAA8D,GAAIC,KAAkC,IAAK;AAAA,EAAA,IAAAC,qBAAA,CAAA;EAC7G,MAAM;IACJC,QAAQ;IACRC,SAAS;IACTC,UAAU;IACVC,YAAY;IACZC,cAAc;IACdC,iBAAiB;IACjBC,kBAAkB;IAClBC,qBAAqB;AACrBC,IAAAA,OAAAA;AACF,GAAC,GAAGV,KAAK,CAAA;;AAET;EACA,MAAMW,WAAW,GAAGC,uBAAuB,EAAE,CAAA;EAC7C,MAAM;IAAEC,MAAM;AAAEC,IAAAA,MAAAA;AAAO,GAAC,GAAGH,WAAW,CAAA;EACtC,MAAM;AAAEI,IAAAA,QAAAA;AAAS,GAAC,GAAGD,MAAM,CAAA;EAC3B,MAAM;IAAEE,MAAM;AAAEC,IAAAA,oBAAAA;AAAqB,GAAC,GAAGJ,MAAM,CAAA;EAE/C,MAAM;AAAEK,IAAAA,WAAAA;AAAY,GAAC,GAAGH,QAAQ,CAAA;EAChC,MAAMI,GAAG,GAAGJ,QAAQ,KAAA,IAAA,IAARA,QAAQ,KAARA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,QAAQ,CAAEI,GAAwB,CAAA;;AAE9C;EACA,MAAM,CAACC,eAAe,EAAEC,kBAAkB,CAAC,GAAGC,QAAQ,CAACC,MAAM,EAAE,CAAC,CAAA;EAChE,MAAM,CAACC,OAAO,EAAEC,UAAU,CAAC,GAAGH,QAAQ,CAAC,IAAI,CAAC,CAAA;EAC5C,MAAM,CAACI,cAAc,EAAEC,iBAAiB,CAAC,GAAGL,QAAQ,CAAC,KAAK,CAAC,CAAA;EAE3D,MAAMM,aAAa,GAAGA,MAAM;IAC1BP,kBAAkB,CAACE,MAAM,EAAE,CAAC,CAAA;GAC7B,CAAA;AAEDM,EAAAA,SAAS,CAAC,MAAM;AACdb,IAAAA,MAAM,CAACc,IAAI,CAAC,6BAA6B,CAAC,CAAA;IAC1C,IAAI,CAAC1B,UAAU,IAAI,CAACc,WAAW,IAAI,CAACC,GAAG,EAAE;AACvCH,MAAAA,MAAM,CAACe,OAAO,CAAC,oCAAoC,EAAE,oCAAoC,CAAC,CAAA;MAC1FJ,iBAAiB,CAAC,KAAK,CAAC,CAAA;AAC1B,KAAC,MAAM;AACL,MAAA,IAAI,CAACR,GAAG,IAAI,CAACA,GAAG,CAACa,YAAY,EAAE;AAC7BhB,QAAAA,MAAM,CAACe,OAAO,CAAC,kCAAkC,CAAC,CAAA;AAClD,QAAA,OAAA;AACF,OAAA;MACAZ,GAAG,CAACa,YAAY,CAACC,UAAU,CAAC7B,UAAU,CAAC,CAAC8B,IAAI,CAAEF,YAAY,IAAK;QAC7D,IAAI,CAACA,YAAY,EAAE;AACjBhB,UAAAA,MAAM,CAACe,OAAO,CAAC,oCAAoC,CAAC,CAAA;UACpDJ,iBAAiB,CAAC,IAAI,CAAC,CAAA;AACzB,SAAC,MAAM;AACLX,UAAAA,MAAM,CAACc,IAAI,CAAC,wCAAwC,EAAEE,YAAY,CAAC,CAAA;UACnEL,iBAAiB,CAAC,KAAK,CAAC,CAAA;UACxBF,UAAU,CAACO,YAAY,CAAC,CAAA;AAC1B,SAAA;AACF,OAAC,CAAC,CAAA;AACJ,KAAA;GACD,EAAE,CAAC5B,UAAU,EAAEc,WAAW,EAAEE,eAAe,CAAC,CAAC,CAAA;AAE9C,EAAA,oBACExB,cAAA,CAAAuC,aAAA,CAACxC,sBAAsB,CAACyC,QAAQ,EAAA;AAACC,IAAAA,KAAK,EAAE;MACtCjC,UAAU;MACVC,YAAY;MACZC,cAAc;MACdC,iBAAiB;MACjBE,qBAAqB;MACrBC,OAAO;MACPF,kBAAkB;MAClBa,kBAAkB;MAClBO,aAAa;MACbJ,OAAO;AACPE,MAAAA,cAAAA;AACF,KAAA;AAAE,GAAA,eACA9B,cAAA,CAAAuC,aAAA,CAACG,mBAAmB,EAAA;AAClBC,IAAAA,iBAAiB,EAAEvC,KAAK,KAAA,IAAA,IAALA,KAAK,KAALA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,KAAK,CAAEuC,iBAAkB;IAC5CC,kBAAkB,EAAA,CAAAvC,qBAAA,GAAED,KAAK,aAALA,KAAK,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAALA,KAAK,CAAEwC,kBAAkB,cAAAvC,qBAAA,KAAA,KAAA,CAAA,GAAAA,qBAAA,GAAIY,MAAM,aAANA,MAAM,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAANA,MAAM,CAAE2B,kBAAmB;AAC5EvB,IAAAA,oBAAoB,EAAEA,oBAAAA;GAEtBrB,eAAAA,cAAA,CAAAuC,aAAA,CAAA,KAAA,EAAA;IAAKhC,SAAS,EAAG,6BAA4BA,SAAU,CAAA,CAAA;GACpDD,EAAAA,QAAQ,CACL,CACc,CACU,CAAA;AAEtC,EAAC;AAGKuC,MAAAA,yBAAiD,GAAGA,MAAM7C,cAAK,CAAC8C,UAAU,CAAC/C,sBAAsB;;;;"}
|
package/ChannelSettings.js
CHANGED
|
@@ -3,52 +3,52 @@ import ChannelSettingsUI from './ChannelSettings/components/ChannelSettingsUI.js
|
|
|
3
3
|
import { ChannelSettingsProvider } from './ChannelSettings/context.js';
|
|
4
4
|
import './useSendbirdStateContext.js';
|
|
5
5
|
import './withSendbird.js';
|
|
6
|
-
import './_rollupPluginBabelHelpers-
|
|
7
|
-
import './index-
|
|
8
|
-
import './LocalizationContext-
|
|
9
|
-
import './stringSet-
|
|
10
|
-
import './index-
|
|
6
|
+
import './_rollupPluginBabelHelpers-656af0eb.js';
|
|
7
|
+
import './index-76df99da.js';
|
|
8
|
+
import './LocalizationContext-c408cdc3.js';
|
|
9
|
+
import './stringSet-e23622aa.js';
|
|
10
|
+
import './index-4a7df8c7.js';
|
|
11
11
|
import './ui/Icon.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import './index-
|
|
13
|
+
import './index-c152addf.js';
|
|
14
14
|
import './ui/Loader.js';
|
|
15
15
|
import './ui/IconButton.js';
|
|
16
16
|
import './ChannelSettings/components/ChannelProfile.js';
|
|
17
17
|
import './ui/ChannelAvatar.js';
|
|
18
18
|
import './ui/Avatar.js';
|
|
19
19
|
import './ui/ImageRenderer.js';
|
|
20
|
-
import './uuid-
|
|
21
|
-
import './utils-
|
|
20
|
+
import './uuid-ab01acf7.js';
|
|
21
|
+
import './utils-978356b4.js';
|
|
22
22
|
import './ui/TextButton.js';
|
|
23
|
-
import './color-
|
|
23
|
+
import './color-e29f58c0.js';
|
|
24
24
|
import './ChannelSettings/components/EditDetailsModal.js';
|
|
25
25
|
import './ui/Modal.js';
|
|
26
26
|
import 'react-dom';
|
|
27
|
-
import './index-
|
|
27
|
+
import './index-12d4b099.js';
|
|
28
28
|
import './ui/Button.js';
|
|
29
|
-
import './MediaQueryContext-
|
|
29
|
+
import './MediaQueryContext-37438a28.js';
|
|
30
30
|
import './ui/Input.js';
|
|
31
31
|
import './ChannelSettings/components/ModerationPanel.js';
|
|
32
32
|
import './ui/Accordion.js';
|
|
33
33
|
import './ui/AccordionGroup.js';
|
|
34
|
-
import './context-
|
|
35
|
-
import './utils-
|
|
34
|
+
import './context-a4b4c7d8.js';
|
|
35
|
+
import './utils-86a2d093.js';
|
|
36
36
|
import './ui/Badge.js';
|
|
37
37
|
import './ui/Toggle.js';
|
|
38
38
|
import './ui/ContextMenu.js';
|
|
39
39
|
import './ui/SortByRow.js';
|
|
40
|
-
import './index-
|
|
40
|
+
import './index-b603acee.js';
|
|
41
41
|
import './utils/message/getOutgoingMessageState.js';
|
|
42
42
|
import './ChannelSettings/components/UserListItem.js';
|
|
43
|
-
import './UserProfileContext-
|
|
43
|
+
import './UserProfileContext-271136d9.js';
|
|
44
44
|
import './ui/MutedAvatarOverlay.js';
|
|
45
45
|
import './ui/UserProfile.js';
|
|
46
46
|
import './sendbirdSelectors.js';
|
|
47
|
-
import './topics-
|
|
47
|
+
import './topics-a82e4c11.js';
|
|
48
48
|
import './ui/UserListItem.js';
|
|
49
49
|
import './ui/Checkbox.js';
|
|
50
50
|
import '@sendbird/chat/groupChannel';
|
|
51
|
-
import './MemberList-
|
|
51
|
+
import './MemberList-c1ed3a38.js';
|
|
52
52
|
import './ChannelSettings/components/LeaveChannel.js';
|
|
53
53
|
import './ChannelSettings/components/UserPanel.js';
|
|
54
54
|
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { u as useCreateChannelContext } from '../../CreateChannelProvider-
|
|
2
|
+
import { u as useCreateChannelContext } from '../../CreateChannelProvider-078f3b8a.js';
|
|
3
3
|
import InviteUsers from './InviteUsers.js';
|
|
4
4
|
import SelectChannelType from './SelectChannelType.js';
|
|
5
5
|
import '../../sendbirdSelectors.js';
|
|
6
|
-
import '../../_rollupPluginBabelHelpers-
|
|
7
|
-
import '../../topics-
|
|
8
|
-
import '../../utils-
|
|
6
|
+
import '../../_rollupPluginBabelHelpers-656af0eb.js';
|
|
7
|
+
import '../../topics-a82e4c11.js';
|
|
8
|
+
import '../../utils-86a2d093.js';
|
|
9
9
|
import '../../useSendbirdStateContext.js';
|
|
10
10
|
import '../../withSendbird.js';
|
|
11
|
-
import '../../LocalizationContext-
|
|
12
|
-
import '../../stringSet-
|
|
13
|
-
import '../../index-
|
|
11
|
+
import '../../LocalizationContext-c408cdc3.js';
|
|
12
|
+
import '../../stringSet-e23622aa.js';
|
|
13
|
+
import '../../index-4a7df8c7.js';
|
|
14
14
|
import '../../ui/Modal.js';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import '../../index-
|
|
16
|
+
import '../../index-12d4b099.js';
|
|
17
17
|
import '../../ui/Button.js';
|
|
18
|
-
import '../../index-
|
|
18
|
+
import '../../index-c152addf.js';
|
|
19
19
|
import 'prop-types';
|
|
20
20
|
import '../../ui/Icon.js';
|
|
21
21
|
import '../../ui/IconButton.js';
|
|
22
|
-
import '../../MediaQueryContext-
|
|
22
|
+
import '../../MediaQueryContext-37438a28.js';
|
|
23
23
|
import '../../ui/UserListItem.js';
|
|
24
|
-
import '../../UserProfileContext-
|
|
24
|
+
import '../../UserProfileContext-271136d9.js';
|
|
25
25
|
import '../../ui/Avatar.js';
|
|
26
26
|
import '../../ui/ImageRenderer.js';
|
|
27
|
-
import '../../uuid-
|
|
27
|
+
import '../../uuid-ab01acf7.js';
|
|
28
28
|
import '../../ui/MutedAvatarOverlay.js';
|
|
29
29
|
import '../../ui/Checkbox.js';
|
|
30
30
|
import '../../ui/UserProfile.js';
|
|
31
31
|
import '../../ui/ContextMenu.js';
|
|
32
32
|
import '../../ui/SortByRow.js';
|
|
33
|
-
import '../../index-
|
|
33
|
+
import '../../index-b603acee.js';
|
|
34
34
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
35
35
|
|
|
36
36
|
const CreateChannel = props => {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { _ as _objectSpread2 } from '../../_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _objectSpread2 } from '../../_rollupPluginBabelHelpers-656af0eb.js';
|
|
2
2
|
import React__default, { useState, useContext, useEffect } from 'react';
|
|
3
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
4
|
-
import { u as useCreateChannelContext } from '../../CreateChannelProvider-
|
|
3
|
+
import { a as LocalizationContext } from '../../LocalizationContext-c408cdc3.js';
|
|
4
|
+
import { u as useCreateChannelContext } from '../../CreateChannelProvider-078f3b8a.js';
|
|
5
5
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
6
6
|
import Modal from '../../ui/Modal.js';
|
|
7
|
-
import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-
|
|
7
|
+
import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-c152addf.js';
|
|
8
8
|
import { ButtonTypes } from '../../ui/Button.js';
|
|
9
9
|
import UserListItem from '../../ui/UserListItem.js';
|
|
10
|
-
import '../../stringSet-
|
|
11
|
-
import '../../index-
|
|
10
|
+
import '../../stringSet-e23622aa.js';
|
|
11
|
+
import '../../index-4a7df8c7.js';
|
|
12
12
|
import '../../sendbirdSelectors.js';
|
|
13
|
-
import '../../topics-
|
|
14
|
-
import '../../utils-
|
|
13
|
+
import '../../topics-a82e4c11.js';
|
|
14
|
+
import '../../utils-86a2d093.js';
|
|
15
15
|
import '../../withSendbird.js';
|
|
16
16
|
import 'react-dom';
|
|
17
|
-
import '../../index-
|
|
17
|
+
import '../../index-12d4b099.js';
|
|
18
18
|
import '../../ui/Icon.js';
|
|
19
19
|
import 'prop-types';
|
|
20
20
|
import '../../ui/IconButton.js';
|
|
21
|
-
import '../../MediaQueryContext-
|
|
22
|
-
import '../../UserProfileContext-
|
|
21
|
+
import '../../MediaQueryContext-37438a28.js';
|
|
22
|
+
import '../../UserProfileContext-271136d9.js';
|
|
23
23
|
import '../../ui/Avatar.js';
|
|
24
24
|
import '../../ui/ImageRenderer.js';
|
|
25
|
-
import '../../uuid-
|
|
25
|
+
import '../../uuid-ab01acf7.js';
|
|
26
26
|
import '../../ui/MutedAvatarOverlay.js';
|
|
27
27
|
import '../../ui/Checkbox.js';
|
|
28
28
|
import '../../ui/UserProfile.js';
|
|
29
29
|
import '../../ui/ContextMenu.js';
|
|
30
30
|
import '../../ui/SortByRow.js';
|
|
31
|
-
import '../../index-
|
|
31
|
+
import '../../index-b603acee.js';
|
|
32
32
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
33
33
|
|
|
34
34
|
const filterUser = idsToFilter => currentId => idsToFilter === null || idsToFilter === void 0 ? void 0 : idsToFilter.includes(currentId);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
2
|
import { getSdk } from '../../sendbirdSelectors.js';
|
|
3
3
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
4
|
-
import { u as useCreateChannelContext, a as CHANNEL_TYPE } from '../../CreateChannelProvider-
|
|
5
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
6
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
4
|
+
import { u as useCreateChannelContext, a as CHANNEL_TYPE } from '../../CreateChannelProvider-078f3b8a.js';
|
|
5
|
+
import { a as LocalizationContext } from '../../LocalizationContext-c408cdc3.js';
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-c152addf.js';
|
|
7
7
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
8
8
|
import Modal from '../../ui/Modal.js';
|
|
9
|
-
import '../../_rollupPluginBabelHelpers-
|
|
10
|
-
import '../../topics-
|
|
11
|
-
import '../../utils-
|
|
9
|
+
import '../../_rollupPluginBabelHelpers-656af0eb.js';
|
|
10
|
+
import '../../topics-a82e4c11.js';
|
|
11
|
+
import '../../utils-86a2d093.js';
|
|
12
12
|
import '../../withSendbird.js';
|
|
13
|
-
import '../../stringSet-
|
|
14
|
-
import '../../index-
|
|
13
|
+
import '../../stringSet-e23622aa.js';
|
|
14
|
+
import '../../index-4a7df8c7.js';
|
|
15
15
|
import 'prop-types';
|
|
16
16
|
import 'react-dom';
|
|
17
|
-
import '../../index-
|
|
17
|
+
import '../../index-12d4b099.js';
|
|
18
18
|
import '../../ui/Button.js';
|
|
19
19
|
import '../../ui/IconButton.js';
|
|
20
|
-
import '../../MediaQueryContext-
|
|
20
|
+
import '../../MediaQueryContext-37438a28.js';
|
|
21
21
|
|
|
22
22
|
const isBroadcastChannelEnabled = sdk => {
|
|
23
23
|
var _sdk$appInfo;
|
package/CreateChannel/context.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import '../sendbirdSelectors.js';
|
|
3
3
|
import '../useSendbirdStateContext.js';
|
|
4
|
-
export { C as CreateChannelProvider, u as useCreateChannelContext } from '../CreateChannelProvider-
|
|
5
|
-
import '../_rollupPluginBabelHelpers-
|
|
6
|
-
import '../topics-
|
|
7
|
-
import '../utils-
|
|
4
|
+
export { C as CreateChannelProvider, u as useCreateChannelContext } from '../CreateChannelProvider-078f3b8a.js';
|
|
5
|
+
import '../_rollupPluginBabelHelpers-656af0eb.js';
|
|
6
|
+
import '../topics-a82e4c11.js';
|
|
7
|
+
import '../utils-86a2d093.js';
|
|
8
8
|
import '../withSendbird.js';
|
|
9
9
|
//# sourceMappingURL=context.js.map
|
package/CreateChannel.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import CreateChannel$1 from './CreateChannel/components/CreateChannelUI.js';
|
|
3
|
-
import { C as CreateChannelProvider } from './CreateChannelProvider-
|
|
3
|
+
import { C as CreateChannelProvider } from './CreateChannelProvider-078f3b8a.js';
|
|
4
4
|
import './CreateChannel/components/InviteUsers.js';
|
|
5
|
-
import './_rollupPluginBabelHelpers-
|
|
6
|
-
import './LocalizationContext-
|
|
7
|
-
import './stringSet-
|
|
8
|
-
import './index-
|
|
5
|
+
import './_rollupPluginBabelHelpers-656af0eb.js';
|
|
6
|
+
import './LocalizationContext-c408cdc3.js';
|
|
7
|
+
import './stringSet-e23622aa.js';
|
|
8
|
+
import './index-4a7df8c7.js';
|
|
9
9
|
import './useSendbirdStateContext.js';
|
|
10
10
|
import './withSendbird.js';
|
|
11
11
|
import './ui/Modal.js';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import './index-
|
|
13
|
+
import './index-12d4b099.js';
|
|
14
14
|
import './ui/Button.js';
|
|
15
|
-
import './index-
|
|
15
|
+
import './index-c152addf.js';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import './ui/Icon.js';
|
|
18
18
|
import './ui/IconButton.js';
|
|
19
|
-
import './MediaQueryContext-
|
|
19
|
+
import './MediaQueryContext-37438a28.js';
|
|
20
20
|
import './ui/UserListItem.js';
|
|
21
|
-
import './UserProfileContext-
|
|
21
|
+
import './UserProfileContext-271136d9.js';
|
|
22
22
|
import './ui/Avatar.js';
|
|
23
23
|
import './ui/ImageRenderer.js';
|
|
24
|
-
import './uuid-
|
|
24
|
+
import './uuid-ab01acf7.js';
|
|
25
25
|
import './ui/MutedAvatarOverlay.js';
|
|
26
26
|
import './ui/Checkbox.js';
|
|
27
27
|
import './ui/UserProfile.js';
|
|
28
28
|
import './sendbirdSelectors.js';
|
|
29
|
-
import './topics-
|
|
30
|
-
import './utils-
|
|
29
|
+
import './topics-a82e4c11.js';
|
|
30
|
+
import './utils-86a2d093.js';
|
|
31
31
|
import './ui/ContextMenu.js';
|
|
32
32
|
import './ui/SortByRow.js';
|
|
33
|
-
import './index-
|
|
33
|
+
import './index-b603acee.js';
|
|
34
34
|
import './utils/message/getOutgoingMessageState.js';
|
|
35
35
|
import './CreateChannel/components/SelectChannelType.js';
|
|
36
36
|
|
|
@@ -41,4 +41,4 @@ const CreateChannelProvider = props => {
|
|
|
41
41
|
const useCreateChannelContext = () => React__default.useContext(CreateChannelContext);
|
|
42
42
|
|
|
43
43
|
export { CreateChannelProvider as C, CHANNEL_TYPE as a, useCreateChannelContext as u };
|
|
44
|
-
//# sourceMappingURL=CreateChannelProvider-
|
|
44
|
+
//# sourceMappingURL=CreateChannelProvider-078f3b8a.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateChannelProvider-
|
|
1
|
+
{"version":3,"file":"CreateChannelProvider-078f3b8a.js","sources":["../src/modules/CreateChannel/types.ts","../src/modules/CreateChannel/context/CreateChannelProvider.tsx"],"sourcesContent":["export enum CHANNEL_TYPE {\n GROUP = 'group',\n SUPERGROUP = 'supergroup',\n BROADCAST = 'broadcast',\n}\n","import React, { useState } from 'react';\nimport { User } from '@sendbird/chat';\nimport type {\n GroupChannel,\n GroupChannelCreateParams,\n SendbirdGroupChat,\n} from '@sendbird/chat/groupChannel';\n\nimport { getCreateGroupChannel } from '../../../lib/selectors';\nimport useSendbirdStateContext from '../../../hooks/useSendbirdStateContext';\nimport { CHANNEL_TYPE } from '../types';\n\nconst CreateChannelContext = React.createContext(undefined);\n\nexport interface UserListQuery {\n hasNext?: boolean;\n next(): Promise<Array<User>>;\n}\n\ntype OverrideInviteUserType = {\n users: Array<string>;\n onClose: () => void;\n channelType: CHANNEL_TYPE;\n};\n\nexport interface CreateChannelProviderProps {\n children?: React.ReactElement;\n onCreateChannel(channel: GroupChannel): void;\n overrideInviteUser?(params: OverrideInviteUserType): void;\n onBeforeCreateChannel?(users: Array<string>): GroupChannelCreateParams;\n userListQuery?(): UserListQuery;\n}\n\ntype CreateChannel = (channelParams: GroupChannelCreateParams) => Promise<GroupChannel>;\n\nexport interface CreateChannelContextInterface {\n onBeforeCreateChannel?(users: Array<string>): GroupChannelCreateParams;\n createChannel: CreateChannel;\n sdk: SendbirdGroupChat;\n userListQuery?(): UserListQuery;\n overrideInviteUser?(params: OverrideInviteUserType): void;\n onCreateChannel?(channel: GroupChannel): void;\n step: number,\n setStep: React.Dispatch<React.SetStateAction<number>>,\n type: CHANNEL_TYPE,\n setType: React.Dispatch<React.SetStateAction<CHANNEL_TYPE>>,\n}\n\nconst CreateChannelProvider: React.FC<CreateChannelProviderProps> = (props: CreateChannelProviderProps) => {\n const {\n children,\n onCreateChannel,\n onBeforeCreateChannel,\n overrideInviteUser,\n userListQuery,\n } = props;\n\n const store = useSendbirdStateContext();\n const userListQuery_ = store?.config?.userListQuery;\n const createChannel: (channelParams: GroupChannelCreateParams)\n => Promise<GroupChannel> = getCreateGroupChannel(store);\n\n const [step, setStep] = useState(0);\n const [type, setType] = useState(CHANNEL_TYPE.GROUP);\n\n return (\n <CreateChannelContext.Provider value={{\n onBeforeCreateChannel,\n createChannel,\n onCreateChannel,\n overrideInviteUser,\n userListQuery: userListQuery || userListQuery_,\n step,\n setStep,\n type,\n setType,\n }}>\n {children}\n </CreateChannelContext.Provider>\n );\n};\n\nconst useCreateChannelContext = (): CreateChannelContextInterface => (\n React.useContext(CreateChannelContext)\n);\n\nexport {\n CreateChannelProvider,\n useCreateChannelContext,\n};\n"],"names":["CHANNEL_TYPE","CreateChannelContext","React","createContext","undefined","CreateChannelProvider","props","_store$config","children","onCreateChannel","onBeforeCreateChannel","overrideInviteUser","userListQuery","store","useSendbirdStateContext","userListQuery_","config","createChannel","getCreateGroupChannel","step","setStep","useState","type","setType","GROUP","createElement","Provider","value","useCreateChannelContext","useContext"],"mappings":";;;;AAAYA,IAAAA,YAAY,0BAAZA,YAAY,EAAA;EAAZA,YAAY,CAAA,OAAA,CAAA,GAAA,OAAA,CAAA;EAAZA,YAAY,CAAA,YAAA,CAAA,GAAA,YAAA,CAAA;EAAZA,YAAY,CAAA,WAAA,CAAA,GAAA,WAAA,CAAA;AAAA,EAAA,OAAZA,YAAY,CAAA;AAAA,CAAA,CAAA,EAAA;;ACYxB,MAAMC,oBAAoB,gBAAGC,cAAK,CAACC,aAAa,CAACC,SAAS,CAAC,CAAA;AAoCrDC,MAAAA,qBAA2D,GAAIC,KAAiC,IAAK;AAAA,EAAA,IAAAC,aAAA,CAAA;EACzG,MAAM;IACJC,QAAQ;IACRC,eAAe;IACfC,qBAAqB;IACrBC,kBAAkB;AAClBC,IAAAA,aAAAA;AACF,GAAC,GAAGN,KAAK,CAAA;EAET,MAAMO,KAAK,GAAGC,uBAAuB,EAAE,CAAA;AACvC,EAAA,MAAMC,cAAc,GAAGF,KAAK,KAALA,IAAAA,IAAAA,KAAK,wBAAAN,aAAA,GAALM,KAAK,CAAEG,MAAM,MAAAT,IAAAA,IAAAA,aAAA,KAAbA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,aAAA,CAAeK,aAAa,CAAA;AACnD,EAAA,MAAMK,aACoB,GAAGC,qBAAqB,CAACL,KAAK,CAAC,CAAA;EAEzD,MAAM,CAACM,IAAI,EAAEC,OAAO,CAAC,GAAGC,QAAQ,CAAC,CAAC,CAAC,CAAA;EACnC,MAAM,CAACC,IAAI,EAAEC,OAAO,CAAC,GAAGF,QAAQ,CAACrB,YAAY,CAACwB,KAAK,CAAC,CAAA;AAEpD,EAAA,oBACEtB,cAAA,CAAAuB,aAAA,CAACxB,oBAAoB,CAACyB,QAAQ,EAAA;AAACC,IAAAA,KAAK,EAAE;MACpCjB,qBAAqB;MACrBO,aAAa;MACbR,eAAe;MACfE,kBAAkB;MAClBC,aAAa,EAAEA,aAAa,IAAIG,cAAc;MAC9CI,IAAI;MACJC,OAAO;MACPE,IAAI;AACJC,MAAAA,OAAAA;AACF,KAAA;AAAE,GAAA,EACCf,QAAQ,CACqB,CAAA;AAEpC,EAAC;AAEKoB,MAAAA,uBAAuB,GAAGA,MAC9B1B,cAAK,CAAC2B,UAAU,CAAC5B,oBAAoB;;;;"}
|