@sendbird/uikit-react 3.2.0-rc.0 → 3.2.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +82 -92
- package/App.js.map +1 -1
- package/Channel/components/ChannelHeader.js +19 -19
- package/Channel/components/ChannelHeader.js.map +1 -1
- package/Channel/components/ChannelUI.js +27 -26
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +20 -20
- package/Channel/components/FileViewer.js.map +1 -1
- package/Channel/components/FrozenNotification.js +5 -6
- package/Channel/components/FrozenNotification.js.map +1 -1
- package/Channel/components/Message.js +33 -32
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +31 -30
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageList.js +27 -26
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +19 -19
- package/Channel/components/RemoveMessageModal.js.map +1 -1
- package/Channel/components/SuggestedMentionList.js +34 -34
- package/Channel/components/SuggestedMentionList.js.map +1 -1
- package/Channel/components/TypingIndicator.js +20 -20
- package/Channel/components/TypingIndicator.js.map +1 -1
- package/Channel/components/UnreadCount.js +5 -6
- package/Channel/components/UnreadCount.js.map +1 -1
- package/Channel/context.js +15 -15
- package/Channel.js +25 -24
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +17 -17
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +10 -10
- package/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/ChannelList/components/ChannelListUI.js +39 -39
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +48 -48
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +57 -68
- package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/ChannelList/context.js +10 -10
- package/ChannelList.js +28 -28
- package/ChannelList.js.map +1 -1
- package/{ChannelListProvider-6e3b8f43.js → ChannelListProvider-368bd7f1.js} +233 -217
- package/ChannelListProvider-368bd7f1.js.map +1 -0
- package/{ChannelProvider-b8c6427f.js → ChannelProvider-59559ed8.js} +555 -522
- package/{ChannelProvider-b8c6427f.js.map → ChannelProvider-59559ed8.js.map} +1 -1
- package/ChannelSettings/components/ChannelProfile.js +16 -16
- package/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsUI.js +26 -26
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +19 -21
- package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/ChannelSettings/components/LeaveChannel.js +14 -16
- package/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/ChannelSettings/components/ModerationPanel.js +78 -78
- package/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/ChannelSettings/components/UserListItem.js +15 -15
- package/ChannelSettings/components/UserListItem.js.map +1 -1
- package/ChannelSettings/components/UserPanel.js +17 -17
- package/ChannelSettings/components/UserPanel.js.map +1 -1
- package/ChannelSettings/context.js +6 -6
- package/ChannelSettings/context.js.map +1 -1
- package/ChannelSettings.js +20 -20
- package/ChannelSettings.js.map +1 -1
- package/CreateChannel/components/CreateChannelUI.js +18 -19
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +21 -20
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +22 -22
- package/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +14 -14
- package/CreateChannel.js.map +1 -1
- package/{CreateChannelProvider-712526fd.js → CreateChannelProvider-9c2113ca.js} +3 -3
- package/{CreateChannelProvider-712526fd.js.map → CreateChannelProvider-9c2113ca.js.map} +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +13 -13
- package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/CreateOpenChannel/context.js +11 -11
- package/CreateOpenChannel/context.js.map +1 -1
- package/CreateOpenChannel.js +9 -9
- package/CreateOpenChannel.js.map +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile/context.js +13 -13
- package/EditUserProfile/context.js.map +1 -1
- package/EditUserProfile.js +13 -13
- package/EditUserProfile.js.map +1 -1
- package/{LocalizationContext-4cefc770.js → LocalizationContext-10829cf3.js} +5 -5
- package/{LocalizationContext-4cefc770.js.map → LocalizationContext-10829cf3.js.map} +1 -1
- package/{MemberList-e4916e55.js → MemberList-e049f915.js} +34 -34
- package/{MemberList-e4916e55.js.map → MemberList-e049f915.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +17 -17
- package/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/MessageSearch/context.js +6 -6
- package/MessageSearch/context.js.map +1 -1
- package/MessageSearch.js +14 -14
- package/MessageSearch.js.map +1 -1
- package/OpenChannel/components/FrozenChannelNotification.js +5 -6
- package/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
- package/OpenChannel/components/OpenChannelHeader.js +14 -14
- package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/OpenChannel/components/OpenChannelInput.js +19 -18
- package/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessage.js +32 -31
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +27 -26
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +26 -25
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +11 -11
- package/OpenChannel.js +26 -25
- package/OpenChannel.js.map +1 -1
- package/OpenChannelList/components/OpenChannelListUI.js +19 -19
- package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/OpenChannelList/components/OpenChannelPreview.js +5 -6
- package/OpenChannelList/components/OpenChannelPreview.js.map +1 -1
- package/OpenChannelList/context.js +4 -4
- package/OpenChannelList.js +12 -12
- package/OpenChannelList.js.map +1 -1
- package/{OpenChannelListProvider-845a2162.js → OpenChannelListProvider-95ce73b1.js} +4 -4
- package/{OpenChannelListProvider-845a2162.js.map → OpenChannelListProvider-95ce73b1.js.map} +1 -1
- package/{OpenChannelProvider-5f19d5d7.js → OpenChannelProvider-b360d5fe.js} +46 -46
- package/{OpenChannelProvider-5f19d5d7.js.map → OpenChannelProvider-b360d5fe.js.map} +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +19 -19
- package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelProfile.js +16 -16
- package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +27 -27
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +87 -87
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +16 -16
- package/OpenChannelSettings/context.js +14 -14
- package/OpenChannelSettings/context.js.map +1 -1
- package/OpenChannelSettings.js +20 -20
- package/OpenChannelSettings.js.map +1 -1
- package/README.md +2 -7
- package/SendbirdProvider.js +214 -251
- package/SendbirdProvider.js.map +1 -1
- package/{UserProfileContext-2e53d03a.js → UserProfileContext-beacab28.js} +6 -4
- package/{UserProfileContext-2e53d03a.js.map → UserProfileContext-beacab28.js.map} +1 -1
- package/{__bundle-bd072f34-95f6bf17.js → __bundle-c41dd401-d4ab6c10.js} +18 -4
- package/__bundle-c41dd401-d4ab6c10.js.map +1 -0
- package/_rollupPluginBabelHelpers-22c28a74.js +43 -0
- package/_rollupPluginBabelHelpers-22c28a74.js.map +1 -0
- package/actionTypes-fd0f0a6c.js +6 -0
- package/{actionTypes-517789b8.js.map → actionTypes-fd0f0a6c.js.map} +1 -1
- package/cjs/App.js +82 -92
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +19 -19
- package/cjs/Channel/components/ChannelHeader.js.map +1 -1
- package/cjs/Channel/components/ChannelUI.js +27 -26
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +20 -20
- package/cjs/Channel/components/FileViewer.js.map +1 -1
- package/cjs/Channel/components/FrozenNotification.js +5 -6
- package/cjs/Channel/components/FrozenNotification.js.map +1 -1
- package/cjs/Channel/components/Message.js +33 -32
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +31 -30
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +27 -26
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +19 -19
- package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/Channel/components/SuggestedMentionList.js +34 -34
- package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/Channel/components/TypingIndicator.js +20 -20
- package/cjs/Channel/components/TypingIndicator.js.map +1 -1
- package/cjs/Channel/components/UnreadCount.js +5 -6
- package/cjs/Channel/components/UnreadCount.js.map +1 -1
- package/cjs/Channel/context.js +15 -15
- package/cjs/Channel.js +25 -24
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +17 -17
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +10 -10
- package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListUI.js +39 -39
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +48 -48
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +57 -68
- package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/cjs/ChannelList/context.js +10 -10
- package/cjs/ChannelList.js +28 -28
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/{ChannelListProvider-781aa186.js → ChannelListProvider-dba82f83.js} +232 -216
- package/cjs/ChannelListProvider-dba82f83.js.map +1 -0
- package/cjs/{ChannelProvider-bbff4ae8.js → ChannelProvider-dd81a327.js} +559 -526
- package/cjs/{ChannelProvider-bbff4ae8.js.map → ChannelProvider-dd81a327.js.map} +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +16 -16
- package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +26 -26
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +19 -21
- package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/ChannelSettings/components/LeaveChannel.js +14 -16
- package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/cjs/ChannelSettings/components/ModerationPanel.js +78 -78
- package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/cjs/ChannelSettings/components/UserListItem.js +15 -15
- package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
- package/cjs/ChannelSettings/components/UserPanel.js +17 -17
- package/cjs/ChannelSettings/components/UserPanel.js.map +1 -1
- package/cjs/ChannelSettings/context.js +6 -6
- package/cjs/ChannelSettings/context.js.map +1 -1
- package/cjs/ChannelSettings.js +20 -20
- package/cjs/ChannelSettings.js.map +1 -1
- package/cjs/CreateChannel/components/CreateChannelUI.js +18 -19
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +21 -20
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +22 -22
- package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +14 -14
- package/cjs/CreateChannel.js.map +1 -1
- package/cjs/{CreateChannelProvider-80c88bba.js → CreateChannelProvider-771bf00b.js} +3 -3
- package/cjs/{CreateChannelProvider-80c88bba.js.map → CreateChannelProvider-771bf00b.js.map} +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +13 -13
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/cjs/CreateOpenChannel/context.js +11 -11
- package/cjs/CreateOpenChannel/context.js.map +1 -1
- package/cjs/CreateOpenChannel.js +9 -9
- package/cjs/CreateOpenChannel.js.map +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile/context.js +14 -14
- package/cjs/EditUserProfile/context.js.map +1 -1
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/EditUserProfile.js.map +1 -1
- package/cjs/{LocalizationContext-b5fd4c38.js → LocalizationContext-b051aa28.js} +5 -5
- package/cjs/{LocalizationContext-b5fd4c38.js.map → LocalizationContext-b051aa28.js.map} +1 -1
- package/cjs/{MemberList-10def668.js → MemberList-6c0cdd90.js} +34 -34
- package/cjs/{MemberList-10def668.js.map → MemberList-6c0cdd90.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +17 -17
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/cjs/MessageSearch/context.js +6 -6
- package/cjs/MessageSearch/context.js.map +1 -1
- package/cjs/MessageSearch.js +14 -14
- package/cjs/MessageSearch.js.map +1 -1
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -6
- package/cjs/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelHeader.js +14 -14
- package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelInput.js +19 -18
- package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessage.js +32 -31
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +27 -26
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +26 -25
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +11 -11
- package/cjs/OpenChannel.js +26 -25
- package/cjs/OpenChannel.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +19 -19
- package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +5 -6
- package/cjs/OpenChannelList/components/OpenChannelPreview.js.map +1 -1
- package/cjs/OpenChannelList/context.js +4 -4
- package/cjs/OpenChannelList.js +12 -12
- package/cjs/OpenChannelList.js.map +1 -1
- package/cjs/{OpenChannelListProvider-8e425873.js → OpenChannelListProvider-3eed20f7.js} +4 -4
- package/cjs/{OpenChannelListProvider-8e425873.js.map → OpenChannelListProvider-3eed20f7.js.map} +1 -1
- package/cjs/{OpenChannelProvider-39f9e794.js → OpenChannelProvider-e4f3a05c.js} +46 -46
- package/cjs/{OpenChannelProvider-39f9e794.js.map → OpenChannelProvider-e4f3a05c.js.map} +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +19 -19
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +16 -16
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +27 -27
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +87 -87
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +16 -16
- package/cjs/OpenChannelSettings/context.js +14 -14
- package/cjs/OpenChannelSettings/context.js.map +1 -1
- package/cjs/OpenChannelSettings.js +20 -20
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/SendbirdProvider.js +213 -250
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/{UserProfileContext-69c9649a.js → UserProfileContext-fa684629.js} +6 -4
- package/cjs/{UserProfileContext-69c9649a.js.map → UserProfileContext-fa684629.js.map} +1 -1
- package/cjs/{__bundle-bd072f34-57bee5af.js → __bundle-c41dd401-1f364afe.js} +19 -5
- package/cjs/__bundle-c41dd401-1f364afe.js.map +1 -0
- package/cjs/_rollupPluginBabelHelpers-c7da8657.js +45 -0
- package/cjs/_rollupPluginBabelHelpers-c7da8657.js.map +1 -0
- package/cjs/actionTypes-1bc31680.js +10 -0
- package/cjs/{actionTypes-17aa0989.js.map → actionTypes-1bc31680.js.map} +1 -1
- package/cjs/{color-9e293baf.js → color-8c864d64.js} +2 -2
- package/cjs/color-8c864d64.js.map +1 -0
- package/cjs/compareIds-a7236494.js +18 -0
- package/cjs/compareIds-a7236494.js.map +1 -0
- package/cjs/{const-17108318.js → const-baa5e08a.js} +1 -1
- package/cjs/const-baa5e08a.js.map +1 -0
- package/cjs/{const-955190c4.js → const-de0fa0d4.js} +1 -1
- package/cjs/{const-955190c4.js.map → const-de0fa0d4.js.map} +1 -1
- package/cjs/{context-e041c8e0.js → context-867cfd7f.js} +2 -2
- package/cjs/{context-e041c8e0.js.map → context-867cfd7f.js.map} +1 -1
- package/cjs/dist/index.css +4684 -3703
- package/cjs/dist/index.css.map +1 -1
- package/cjs/groupChannel-95ba4a71.js +11 -0
- package/cjs/groupChannel-95ba4a71.js.map +1 -0
- package/cjs/handlers/GroupChannelHandler.js +3 -3
- package/cjs/handlers/OpenChannelHandler.js +2 -2
- package/cjs/handlers/OpenChannelHandler.js.map +1 -1
- package/cjs/handlers/SessionHandler.js.map +1 -1
- package/cjs/{index-025aa556.js → index-511e268c.js} +13 -13
- package/cjs/{index-025aa556.js.map → index-511e268c.js.map} +1 -1
- package/cjs/{index-5166a415.js → index-53015903.js} +69 -80
- package/cjs/index-53015903.js.map +1 -0
- package/cjs/{index-b9b8972b.js → index-62c9ad2d.js} +14 -13
- package/cjs/{index-b9b8972b.js.map → index-62c9ad2d.js.map} +1 -1
- package/cjs/{index-1512514f.js → index-6d02996a.js} +16 -14
- package/cjs/index-6d02996a.js.map +1 -0
- package/cjs/{index-5e2b8c03.js → index-76deed83.js} +30 -30
- package/cjs/{index-5e2b8c03.js.map → index-76deed83.js.map} +1 -1
- package/cjs/{index-e9d96b00.js → index-78d342b2.js} +4 -4
- package/cjs/{index-e9d96b00.js.map → index-78d342b2.js.map} +1 -1
- package/cjs/{index-18b120dc.js → index-907bf834.js} +51 -51
- package/cjs/index-907bf834.js.map +1 -0
- package/cjs/{index-9ce5e5a9.js → index-b478bf3b.js} +18 -37
- package/cjs/index-b478bf3b.js.map +1 -0
- package/cjs/{index-c1697faa.js → index-c4369117.js} +299 -319
- package/cjs/index-c4369117.js.map +1 -0
- package/cjs/{index-550f5039.js → index-d31051df.js} +2 -2
- package/cjs/{index-550f5039.js.map → index-d31051df.js.map} +1 -1
- package/cjs/index.js +36 -35
- package/cjs/index.js.map +1 -1
- package/cjs/openChannel-4789903c.js +9 -0
- package/cjs/{openChannel-8aabbf3c.js.map → openChannel-4789903c.js.map} +1 -1
- package/cjs/{openChannelUtils-cffba1c0.js → openChannelUtils-fc2ec8df.js} +11 -11
- package/cjs/openChannelUtils-fc2ec8df.js.map +1 -0
- package/cjs/sendbirdSelectors.js +22 -22
- package/cjs/sendbirdSelectors.js.map +1 -1
- package/cjs/{stringSet-be457fd7.js → stringSet-9d251780.js} +4 -4
- package/cjs/{stringSet-be457fd7.js.map → stringSet-9d251780.js.map} +1 -1
- package/cjs/topics-ac8d2b51.js +22 -0
- package/cjs/{topics-58ec1c61.js.map → topics-ac8d2b51.js.map} +1 -1
- package/cjs/{tslib.es6-36205d81.js → tslib.es6-9b1c82d5.js} +2 -2
- package/cjs/tslib.es6-9b1c82d5.js.map +1 -0
- package/cjs/ui/Accordion.js +4 -5
- package/cjs/ui/Accordion.js.map +1 -1
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AccordionGroup.js.map +1 -1
- package/cjs/ui/AdminMessage.js +3 -4
- package/cjs/ui/AdminMessage.js.map +1 -1
- package/cjs/ui/Avatar.js +6 -7
- package/cjs/ui/Avatar.js.map +1 -1
- package/cjs/ui/Badge.js +5 -6
- package/cjs/ui/Badge.js.map +1 -1
- package/cjs/ui/Button.js +3 -4
- package/cjs/ui/Button.js.map +1 -1
- package/cjs/ui/ChannelAvatar.js +3 -4
- package/cjs/ui/ChannelAvatar.js.map +1 -1
- package/cjs/ui/Checkbox.js +1 -1
- package/cjs/ui/Checkbox.js.map +1 -1
- package/cjs/ui/ConnectionStatus.js +4 -5
- package/cjs/ui/ConnectionStatus.js.map +1 -1
- package/cjs/ui/ContextMenu.js +14 -15
- package/cjs/ui/ContextMenu.js.map +1 -1
- package/cjs/ui/DateSeparator.js +5 -6
- package/cjs/ui/DateSeparator.js.map +1 -1
- package/cjs/ui/EmojiReactions.js +13 -14
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FileMessageItemBody.js +6 -7
- package/cjs/ui/FileMessageItemBody.js.map +1 -1
- package/cjs/ui/FileViewer.js +11 -12
- package/cjs/ui/FileViewer.js.map +1 -1
- package/cjs/ui/Icon.js +74 -73
- package/cjs/ui/Icon.js.map +1 -1
- package/cjs/ui/IconButton.js +7 -7
- package/cjs/ui/IconButton.js.map +1 -1
- package/cjs/ui/ImageRenderer.js +8 -10
- package/cjs/ui/ImageRenderer.js.map +1 -1
- package/cjs/ui/Input.js +4 -5
- package/cjs/ui/Input.js.map +1 -1
- package/cjs/ui/Label.js +2 -3
- package/cjs/ui/Label.js.map +1 -1
- package/cjs/ui/LinkLabel.js +14 -13
- package/cjs/ui/LinkLabel.js.map +1 -1
- package/cjs/ui/Loader.js +1 -2
- package/cjs/ui/Loader.js.map +1 -1
- package/cjs/ui/MentionLabel.js +13 -13
- package/cjs/ui/MentionLabel.js.map +1 -1
- package/cjs/ui/MentionUserLabel.js.map +1 -1
- package/cjs/ui/MessageContent.js +19 -19
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput.js +178 -19889
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +17 -18
- package/cjs/ui/MessageItemMenu.js.map +1 -1
- package/cjs/ui/MessageItemReactionMenu.js +12 -13
- package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
- package/cjs/ui/MessageSearchFileItem.js +13 -24
- package/cjs/ui/MessageSearchFileItem.js.map +1 -1
- package/cjs/ui/MessageSearchItem.js +12 -14
- package/cjs/ui/MessageSearchItem.js.map +1 -1
- package/cjs/ui/MessageStatus.js +7 -8
- package/cjs/ui/MessageStatus.js.map +1 -1
- package/cjs/ui/Modal.js +9 -10
- package/cjs/ui/Modal.js.map +1 -1
- package/cjs/ui/MutedAvatarOverlay.js +0 -1
- package/cjs/ui/MutedAvatarOverlay.js.map +1 -1
- package/cjs/ui/OGMessageItemBody.js +11 -11
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +3 -4
- package/cjs/ui/OpenChannelAdminMessage.js.map +1 -1
- package/cjs/ui/OpenChannelAvatar.js +6 -7
- package/cjs/ui/OpenChannelAvatar.js.map +1 -1
- package/cjs/ui/OpenchannelConversationHeader.js +6 -7
- package/cjs/ui/OpenchannelConversationHeader.js.map +1 -1
- package/cjs/ui/OpenchannelFileMessage.js +24 -24
- package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
- package/cjs/ui/OpenchannelOGMessage.js +26 -26
- package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
- package/cjs/ui/OpenchannelThumbnailMessage.js +26 -26
- package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/cjs/ui/OpenchannelUserMessage.js +24 -24
- package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
- package/cjs/ui/PlaceHolder.js +6 -7
- package/cjs/ui/PlaceHolder.js.map +1 -1
- package/cjs/ui/QuoteMessage.js +10 -11
- package/cjs/ui/QuoteMessage.js.map +1 -1
- package/cjs/ui/QuoteMessageInput.js +7 -8
- package/cjs/ui/QuoteMessageInput.js.map +1 -1
- package/cjs/ui/ReactionBadge.js +4 -5
- package/cjs/ui/ReactionBadge.js.map +1 -1
- package/cjs/ui/ReactionButton.js +6 -6
- package/cjs/ui/ReactionButton.js.map +1 -1
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/SortByRow.js.map +1 -1
- package/cjs/ui/TextButton.js +8 -9
- package/cjs/ui/TextButton.js.map +1 -1
- package/cjs/ui/TextMessageItemBody.js +10 -10
- package/cjs/ui/TextMessageItemBody.js.map +1 -1
- package/cjs/ui/ThumbnailMessageItemBody.js +5 -6
- package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/cjs/ui/Tooltip.js +3 -4
- package/cjs/ui/Tooltip.js.map +1 -1
- package/cjs/ui/TooltipWrapper.js +5 -5
- package/cjs/ui/TooltipWrapper.js.map +1 -1
- package/cjs/ui/UnknownMessageItemBody.js +6 -7
- package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
- package/cjs/ui/UserListItem.js +17 -17
- package/cjs/ui/UserListItem.js.map +1 -1
- package/cjs/ui/UserProfile.js +11 -11
- package/cjs/ui/UserProfile.js.map +1 -1
- package/cjs/ui/Word.js +15 -10
- package/cjs/ui/Word.js.map +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/useSendbirdStateContext.js.map +1 -1
- package/cjs/{utils-9419225c.js → utils-655acd99.js} +4 -4
- package/cjs/utils-655acd99.js.map +1 -0
- package/cjs/{utils-40fab371.js → utils-8c634fd2.js} +2 -2
- package/cjs/{utils-40fab371.js.map → utils-8c634fd2.js.map} +1 -1
- package/cjs/utils-8e6fef1c.js +6 -0
- package/cjs/{utils-09738454.js.map → utils-8e6fef1c.js.map} +1 -1
- package/cjs/{uuid-edc908ea.js → uuid-c32d01d6.js} +2 -2
- package/cjs/{uuid-edc908ea.js.map → uuid-c32d01d6.js.map} +1 -1
- package/cjs/withSendbird.js +13 -15
- package/cjs/withSendbird.js.map +1 -1
- package/{color-402a36fd.js → color-fff21001.js} +2 -2
- package/{color-402a36fd.js.map → color-fff21001.js.map} +1 -1
- package/compareIds-332d261c.js +16 -0
- package/compareIds-332d261c.js.map +1 -0
- package/{const-768ef60e.js → const-03293011.js} +1 -1
- package/const-03293011.js.map +1 -0
- package/{const-6b428cb8.js → const-78e336dd.js} +1 -1
- package/{const-6b428cb8.js.map → const-78e336dd.js.map} +1 -1
- package/{context-bd92675f.js → context-44e184de.js} +2 -2
- package/{context-bd92675f.js.map → context-44e184de.js.map} +1 -1
- package/dist/index.css +4684 -3703
- package/dist/index.css.map +1 -1
- package/groupChannel-3301a732.js +8 -0
- package/groupChannel-3301a732.js.map +1 -0
- package/handlers/GroupChannelHandler.js +3 -3
- package/handlers/OpenChannelHandler.js +3 -3
- package/handlers/OpenChannelHandler.js.map +1 -1
- package/handlers/SessionHandler.js.map +1 -1
- package/{index-3699f160.js → index-00b281a3.js} +18 -37
- package/index-00b281a3.js.map +1 -0
- package/{index-7fa0a721.js → index-3ddec9e9.js} +299 -320
- package/index-3ddec9e9.js.map +1 -0
- package/{index-f59cf800.js → index-46beca69.js} +51 -51
- package/index-46beca69.js.map +1 -0
- package/{index-726a5475.js → index-49d3a217.js} +30 -30
- package/{index-726a5475.js.map → index-49d3a217.js.map} +1 -1
- package/{index-3249f6b5.js → index-5e788130.js} +2 -2
- package/{index-3249f6b5.js.map → index-5e788130.js.map} +1 -1
- package/{index-6b896cd8.js → index-7b043ab9.js} +14 -13
- package/{index-6b896cd8.js.map → index-7b043ab9.js.map} +1 -1
- package/{index-598898d3.js → index-8bd6c997.js} +16 -14
- package/index-8bd6c997.js.map +1 -0
- package/{index-176e9ad4.js → index-940576d8.js} +69 -80
- package/index-940576d8.js.map +1 -0
- package/{index-b79c5b07.js → index-e5aab3b4.js} +13 -13
- package/{index-b79c5b07.js.map → index-e5aab3b4.js.map} +1 -1
- package/{index-a98bd600.js → index-ed8e5d48.js} +4 -4
- package/{index-a98bd600.js.map → index-ed8e5d48.js.map} +1 -1
- package/index.d.ts +1 -1
- package/index.js +36 -35
- package/index.js.map +1 -1
- package/{openChannel-8c75e1a4.js → openChannel-2aef0cd5.js} +3 -3
- package/{openChannel-8c75e1a4.js.map → openChannel-2aef0cd5.js.map} +1 -1
- package/{openChannelUtils-ecaeb7d7.js → openChannelUtils-d27d1e28.js} +11 -11
- package/openChannelUtils-d27d1e28.js.map +1 -0
- package/package.json +1 -1
- package/sendbirdSelectors.js +22 -22
- package/sendbirdSelectors.js.map +1 -1
- package/{stringSet-dc330bcf.js → stringSet-804c49f3.js} +4 -4
- package/{stringSet-dc330bcf.js.map → stringSet-804c49f3.js.map} +1 -1
- package/topics-24c0f724.js +13 -0
- package/{topics-c5198349.js.map → topics-24c0f724.js.map} +1 -1
- package/{tslib.es6-cb5d77bf.js → tslib.es6-4faaa58d.js} +2 -2
- package/tslib.es6-4faaa58d.js.map +1 -0
- package/ui/Accordion.js +4 -5
- package/ui/Accordion.js.map +1 -1
- package/ui/AccordionGroup.js +2 -2
- package/ui/AccordionGroup.js.map +1 -1
- package/ui/AdminMessage.js +3 -4
- package/ui/AdminMessage.js.map +1 -1
- package/ui/Avatar.js +6 -7
- package/ui/Avatar.js.map +1 -1
- package/ui/Badge.js +5 -6
- package/ui/Badge.js.map +1 -1
- package/ui/Button.js +3 -4
- package/ui/Button.js.map +1 -1
- package/ui/ChannelAvatar.js +3 -4
- package/ui/ChannelAvatar.js.map +1 -1
- package/ui/Checkbox.js +1 -1
- package/ui/Checkbox.js.map +1 -1
- package/ui/ConnectionStatus.js +4 -5
- package/ui/ConnectionStatus.js.map +1 -1
- package/ui/ContextMenu.js +14 -15
- package/ui/ContextMenu.js.map +1 -1
- package/ui/DateSeparator.js +5 -6
- package/ui/DateSeparator.js.map +1 -1
- package/ui/EmojiReactions.js +13 -14
- package/ui/EmojiReactions.js.map +1 -1
- package/ui/FileMessageItemBody.js +6 -7
- package/ui/FileMessageItemBody.js.map +1 -1
- package/ui/FileViewer.js +11 -12
- package/ui/FileViewer.js.map +1 -1
- package/ui/Icon.js +74 -73
- package/ui/Icon.js.map +1 -1
- package/ui/IconButton.js +7 -7
- package/ui/IconButton.js.map +1 -1
- package/ui/ImageRenderer.js +8 -10
- package/ui/ImageRenderer.js.map +1 -1
- package/ui/Input.js +4 -5
- package/ui/Input.js.map +1 -1
- package/ui/Label.js +2 -3
- package/ui/Label.js.map +1 -1
- package/ui/LinkLabel.js +14 -13
- package/ui/LinkLabel.js.map +1 -1
- package/ui/Loader.js +1 -2
- package/ui/Loader.js.map +1 -1
- package/ui/MentionLabel.js +13 -13
- package/ui/MentionLabel.js.map +1 -1
- package/ui/MentionUserLabel.js.map +1 -1
- package/ui/MessageContent.js +19 -19
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput.js +178 -19889
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +17 -18
- package/ui/MessageItemMenu.js.map +1 -1
- package/ui/MessageItemReactionMenu.js +12 -13
- package/ui/MessageItemReactionMenu.js.map +1 -1
- package/ui/MessageSearchFileItem.js +13 -24
- package/ui/MessageSearchFileItem.js.map +1 -1
- package/ui/MessageSearchItem.js +12 -14
- package/ui/MessageSearchItem.js.map +1 -1
- package/ui/MessageStatus.js +7 -8
- package/ui/MessageStatus.js.map +1 -1
- package/ui/Modal.js +9 -10
- package/ui/Modal.js.map +1 -1
- package/ui/MutedAvatarOverlay.js +0 -1
- package/ui/MutedAvatarOverlay.js.map +1 -1
- package/ui/OGMessageItemBody.js +11 -11
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +3 -4
- package/ui/OpenChannelAdminMessage.js.map +1 -1
- package/ui/OpenChannelAvatar.js +6 -7
- package/ui/OpenChannelAvatar.js.map +1 -1
- package/ui/OpenchannelConversationHeader.js +6 -7
- package/ui/OpenchannelConversationHeader.js.map +1 -1
- package/ui/OpenchannelFileMessage.js +24 -24
- package/ui/OpenchannelFileMessage.js.map +1 -1
- package/ui/OpenchannelOGMessage.js +26 -26
- package/ui/OpenchannelOGMessage.js.map +1 -1
- package/ui/OpenchannelThumbnailMessage.js +26 -26
- package/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/ui/OpenchannelUserMessage.js +24 -24
- package/ui/OpenchannelUserMessage.js.map +1 -1
- package/ui/PlaceHolder.js +6 -7
- package/ui/PlaceHolder.js.map +1 -1
- package/ui/QuoteMessage.js +10 -11
- package/ui/QuoteMessage.js.map +1 -1
- package/ui/QuoteMessageInput.js +7 -8
- package/ui/QuoteMessageInput.js.map +1 -1
- package/ui/ReactionBadge.js +4 -5
- package/ui/ReactionBadge.js.map +1 -1
- package/ui/ReactionButton.js +6 -6
- package/ui/ReactionButton.js.map +1 -1
- package/ui/SortByRow.js +2 -2
- package/ui/SortByRow.js.map +1 -1
- package/ui/TextButton.js +8 -9
- package/ui/TextButton.js.map +1 -1
- package/ui/TextMessageItemBody.js +10 -10
- package/ui/TextMessageItemBody.js.map +1 -1
- package/ui/ThumbnailMessageItemBody.js +5 -6
- package/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/ui/Tooltip.js +3 -4
- package/ui/Tooltip.js.map +1 -1
- package/ui/TooltipWrapper.js +5 -5
- package/ui/TooltipWrapper.js.map +1 -1
- package/ui/UnknownMessageItemBody.js +6 -7
- package/ui/UnknownMessageItemBody.js.map +1 -1
- package/ui/UserListItem.js +17 -17
- package/ui/UserListItem.js.map +1 -1
- package/ui/UserProfile.js +11 -11
- package/ui/UserProfile.js.map +1 -1
- package/ui/Word.js +15 -10
- package/ui/Word.js.map +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/useSendbirdStateContext.js.map +1 -1
- package/{utils-330ed0b1.js → utils-28acb86e.js} +2 -2
- package/{utils-330ed0b1.js.map → utils-28acb86e.js.map} +1 -1
- package/utils-32938255.js +4 -0
- package/{utils-629876b9.js.map → utils-32938255.js.map} +1 -1
- package/{utils-8fb72715.js → utils-47a3394f.js} +4 -4
- package/utils-47a3394f.js.map +1 -0
- package/{uuid-180d497e.js → uuid-4521c466.js} +2 -2
- package/{uuid-180d497e.js.map → uuid-4521c466.js.map} +1 -1
- package/withSendbird.js +13 -15
- package/withSendbird.js.map +1 -1
- package/ChannelListProvider-6e3b8f43.js.map +0 -1
- package/__bundle-bd072f34-95f6bf17.js.map +0 -1
- package/_rollupPluginBabelHelpers-4527872e.js +0 -130
- package/_rollupPluginBabelHelpers-4527872e.js.map +0 -1
- package/actionTypes-517789b8.js +0 -6
- package/cjs/ChannelListProvider-781aa186.js.map +0 -1
- package/cjs/__bundle-bd072f34-57bee5af.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-f9e4bb55.js +0 -134
- package/cjs/_rollupPluginBabelHelpers-f9e4bb55.js.map +0 -1
- package/cjs/actionTypes-17aa0989.js +0 -10
- package/cjs/color-9e293baf.js.map +0 -1
- package/cjs/compareIds-cf626c9f.js +0 -20
- package/cjs/compareIds-cf626c9f.js.map +0 -1
- package/cjs/const-17108318.js.map +0 -1
- package/cjs/groupChannel-6d56c155.js +0 -11
- package/cjs/groupChannel-6d56c155.js.map +0 -1
- package/cjs/index-1512514f.js.map +0 -1
- package/cjs/index-18b120dc.js.map +0 -1
- package/cjs/index-5166a415.js.map +0 -1
- package/cjs/index-9ce5e5a9.js.map +0 -1
- package/cjs/index-c1697faa.js.map +0 -1
- package/cjs/openChannel-8aabbf3c.js +0 -9
- package/cjs/openChannelUtils-cffba1c0.js.map +0 -1
- package/cjs/topics-58ec1c61.js +0 -22
- package/cjs/tslib.es6-36205d81.js.map +0 -1
- package/cjs/utils-09738454.js +0 -6
- package/cjs/utils-9419225c.js.map +0 -1
- package/compareIds-31e2f55c.js +0 -18
- package/compareIds-31e2f55c.js.map +0 -1
- package/const-768ef60e.js.map +0 -1
- package/groupChannel-e2a071e1.js +0 -8
- package/groupChannel-e2a071e1.js.map +0 -1
- package/index-176e9ad4.js.map +0 -1
- package/index-3699f160.js.map +0 -1
- package/index-598898d3.js.map +0 -1
- package/index-7fa0a721.js.map +0 -1
- package/index-f59cf800.js.map +0 -1
- package/openChannelUtils-ecaeb7d7.js.map +0 -1
- package/package-lock.json +0 -25501
- package/topics-c5198349.js +0 -13
- package/tslib.es6-cb5d77bf.js.map +0 -1
- package/utils-629876b9.js +0 -4
- package/utils-8fb72715.js.map +0 -1
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import React__default, { useState, useContext, useEffect, useCallback } 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-10829cf3.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-7b043ab9.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
5
5
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
6
6
|
import ChannelProfile from './OpenChannelProfile.js';
|
|
7
7
|
import Modal from '../../ui/Modal.js';
|
|
8
8
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
9
|
-
import { U as UserListItem$1, P as ParticipantList } from '../../index-
|
|
9
|
+
import { U as UserListItem$1, P as ParticipantList } from '../../index-49d3a217.js';
|
|
10
10
|
import Accordion, { AccordionGroup } from '../../ui/Accordion.js';
|
|
11
11
|
import Button, { ButtonTypes, ButtonSizes } from '../../ui/Button.js';
|
|
12
12
|
import ContextMenu, { MenuItems, MenuItem } from '../../ui/ContextMenu.js';
|
|
13
13
|
import IconButton from '../../ui/IconButton.js';
|
|
14
|
-
import { a as __spreadArray, _ as __assign } from '../../tslib.es6-
|
|
14
|
+
import { a as __spreadArray, _ as __assign } from '../../tslib.es6-4faaa58d.js';
|
|
15
15
|
import UserListItem from '../../ui/UserListItem.js';
|
|
16
|
-
import { n as noop } from '../../utils-
|
|
17
|
-
import '../../stringSet-
|
|
18
|
-
import '../../index-
|
|
19
|
-
import '../../_rollupPluginBabelHelpers-4527872e.js';
|
|
16
|
+
import { n as noop } from '../../utils-32938255.js';
|
|
17
|
+
import '../../stringSet-804c49f3.js';
|
|
18
|
+
import '../../index-940576d8.js';
|
|
20
19
|
import 'prop-types';
|
|
21
|
-
import '../../openChannel-
|
|
22
|
-
import '../../__bundle-
|
|
23
|
-
import '../../UserProfileContext-
|
|
24
|
-
import '../../uuid-
|
|
20
|
+
import '../../openChannel-2aef0cd5.js';
|
|
21
|
+
import '../../__bundle-c41dd401-d4ab6c10.js';
|
|
22
|
+
import '../../UserProfileContext-beacab28.js';
|
|
23
|
+
import '../../uuid-4521c466.js';
|
|
25
24
|
import '../../withSendbird.js';
|
|
25
|
+
import '../../_rollupPluginBabelHelpers-22c28a74.js';
|
|
26
26
|
import '../../ui/TextButton.js';
|
|
27
|
-
import '../../color-
|
|
27
|
+
import '../../color-fff21001.js';
|
|
28
28
|
import '../../ui/OpenChannelAvatar.js';
|
|
29
29
|
import '../../ui/Avatar.js';
|
|
30
30
|
import '../../ui/ImageRenderer.js';
|
|
31
|
-
import '../../utils-
|
|
31
|
+
import '../../utils-47a3394f.js';
|
|
32
32
|
import './EditDetailsModal.js';
|
|
33
|
-
import '../../topics-
|
|
33
|
+
import '../../topics-24c0f724.js';
|
|
34
34
|
import '../../ui/Input.js';
|
|
35
35
|
import 'react-dom';
|
|
36
|
-
import '../../index-
|
|
37
|
-
import '../../context-
|
|
36
|
+
import '../../index-5e788130.js';
|
|
37
|
+
import '../../context-44e184de.js';
|
|
38
38
|
import '../../ui/UserProfile.js';
|
|
39
39
|
import '../../sendbirdSelectors.js';
|
|
40
40
|
import '../../ui/AccordionGroup.js';
|
|
41
41
|
import '../../ui/SortByRow.js';
|
|
42
|
-
import '../../index-
|
|
42
|
+
import '../../index-46beca69.js';
|
|
43
43
|
import '../../ui/MutedAvatarOverlay.js';
|
|
44
44
|
import '../../ui/Checkbox.js';
|
|
45
45
|
|
|
@@ -59,7 +59,7 @@ function DeleteChannel() {
|
|
|
59
59
|
channel = _d.channel,
|
|
60
60
|
onDeleteChannel = _d.onDeleteChannel;
|
|
61
61
|
|
|
62
|
-
var deleteChannel = function
|
|
62
|
+
var deleteChannel = function () {
|
|
63
63
|
channel === null || channel === void 0 ? void 0 : channel.delete().then(function (response) {
|
|
64
64
|
logger.info('OpenChannelSettings: Delete channel success', response);
|
|
65
65
|
|
|
@@ -75,14 +75,14 @@ function DeleteChannel() {
|
|
|
75
75
|
className: "sendbird-openchannel-settings__panel-item\n sendbird-openchannel-settings__delete-channel\n ".concat(!isOnline ? 'sendbird-openchannel-settings__panel-item__disabled' : ''),
|
|
76
76
|
role: "button",
|
|
77
77
|
tabIndex: 0,
|
|
78
|
-
onKeyDown: function
|
|
78
|
+
onKeyDown: function () {
|
|
79
79
|
if (!isOnline) {
|
|
80
80
|
return;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
setShowDeleteChannelModal(true);
|
|
84
84
|
},
|
|
85
|
-
onClick: function
|
|
85
|
+
onClick: function () {
|
|
86
86
|
if (!isOnline) {
|
|
87
87
|
return;
|
|
88
88
|
}
|
|
@@ -99,10 +99,10 @@ function DeleteChannel() {
|
|
|
99
99
|
type: LabelTypography.SUBTITLE_1,
|
|
100
100
|
color: LabelColors.ONBACKGROUND_1
|
|
101
101
|
}, stringSet.OPEN_CHANNEL_SETTINGS__DELETE_CHANNEL_PANEL)), showDeleteChannelModal && /*#__PURE__*/React__default.createElement(Modal, {
|
|
102
|
-
onCancel: function
|
|
102
|
+
onCancel: function () {
|
|
103
103
|
setShowDeleteChannelModal(false);
|
|
104
104
|
},
|
|
105
|
-
onSubmit: function
|
|
105
|
+
onSubmit: function () {
|
|
106
106
|
deleteChannel();
|
|
107
107
|
},
|
|
108
108
|
titleText: stringSet.OPEN_CHANNEL_SETTINGS__DELETE_CHANNEL_TITLE,
|
|
@@ -142,7 +142,7 @@ function OperatorListModal(_a) {
|
|
|
142
142
|
onCancel: onCancel
|
|
143
143
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
144
144
|
className: "sendbird-more-users__popup-scroll",
|
|
145
|
-
onScroll: function
|
|
145
|
+
onScroll: function (e) {
|
|
146
146
|
var hasNext = operatorQuery.hasNext;
|
|
147
147
|
var target = e.target;
|
|
148
148
|
var fetchMore = target.clientHeight + target.scrollTop === target.scrollHeight;
|
|
@@ -158,11 +158,11 @@ function OperatorListModal(_a) {
|
|
|
158
158
|
currentUser: currentUserId,
|
|
159
159
|
user: operator,
|
|
160
160
|
key: operator.userId,
|
|
161
|
-
action: function
|
|
161
|
+
action: function (_a) {
|
|
162
162
|
var parentRef = _a.parentRef,
|
|
163
163
|
actionRef = _a.actionRef;
|
|
164
164
|
return currentUserId !== (operator === null || operator === void 0 ? void 0 : operator.userId) ? /*#__PURE__*/React__default.createElement(ContextMenu, {
|
|
165
|
-
menuTrigger: function
|
|
165
|
+
menuTrigger: function (toggleDropdown) {
|
|
166
166
|
return /*#__PURE__*/React__default.createElement(IconButton, {
|
|
167
167
|
className: "sendbird-user-message__more__menu",
|
|
168
168
|
width: "32px",
|
|
@@ -175,14 +175,14 @@ function OperatorListModal(_a) {
|
|
|
175
175
|
fillColor: IconColors.CONTENT_INVERSE
|
|
176
176
|
}));
|
|
177
177
|
},
|
|
178
|
-
menuItems: function
|
|
178
|
+
menuItems: function (closeDropdown) {
|
|
179
179
|
return /*#__PURE__*/React__default.createElement(MenuItems, {
|
|
180
180
|
parentContainRef: parentRef,
|
|
181
181
|
parentRef: actionRef,
|
|
182
182
|
closeDropdown: closeDropdown,
|
|
183
183
|
openLeft: true
|
|
184
184
|
}, /*#__PURE__*/React__default.createElement(MenuItem, {
|
|
185
|
-
onClick: function
|
|
185
|
+
onClick: function () {
|
|
186
186
|
channel === null || channel === void 0 ? void 0 : channel.removeOperators([operator.userId]).then(function () {
|
|
187
187
|
setUsers(users.filter(function (_a) {
|
|
188
188
|
var userId = _a.userId;
|
|
@@ -201,7 +201,7 @@ function OperatorListModal(_a) {
|
|
|
201
201
|
|
|
202
202
|
function AddOperatorsModal(_a) {
|
|
203
203
|
var onCancel = _a.onCancel,
|
|
204
|
-
|
|
204
|
+
onSubmit = _a.onSubmit;
|
|
205
205
|
|
|
206
206
|
var _b = useState([]),
|
|
207
207
|
participants = _b[0],
|
|
@@ -233,12 +233,12 @@ function AddOperatorsModal(_a) {
|
|
|
233
233
|
type: ButtonTypes.PRIMARY,
|
|
234
234
|
submitText: "Add",
|
|
235
235
|
onCancel: onCancel,
|
|
236
|
-
onSubmit: function
|
|
236
|
+
onSubmit: function () {
|
|
237
237
|
var users = Object.keys(selectedUsers).filter(function (m) {
|
|
238
238
|
return selectedUsers[m];
|
|
239
239
|
});
|
|
240
240
|
channel === null || channel === void 0 ? void 0 : channel.addOperators(users).then(function () {
|
|
241
|
-
|
|
241
|
+
onSubmit(users);
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
244
|
titleText: stringSet.OPEN_CHANNEL_CONVERSATION__SELECT_PARTICIPANTS
|
|
@@ -247,7 +247,7 @@ function AddOperatorsModal(_a) {
|
|
|
247
247
|
type: LabelTypography.CAPTION_1
|
|
248
248
|
}, "".concat(selectedCount, " ").concat(stringSet.MODAL__INVITE_MEMBER__SELECTED)), /*#__PURE__*/React__default.createElement("div", {
|
|
249
249
|
className: "sendbird-more-users__popup-scroll",
|
|
250
|
-
onScroll: function
|
|
250
|
+
onScroll: function (e) {
|
|
251
251
|
var hasNext = participantQuery.hasNext;
|
|
252
252
|
var target = e.target;
|
|
253
253
|
var fetchMore = target.clientHeight + target.scrollTop === target.scrollHeight;
|
|
@@ -267,7 +267,7 @@ function AddOperatorsModal(_a) {
|
|
|
267
267
|
checked: selectedUsers[participant.userId] || isOperator,
|
|
268
268
|
disabled: isOperator,
|
|
269
269
|
isOperator: isOperator,
|
|
270
|
-
onChange: function
|
|
270
|
+
onChange: function (event) {
|
|
271
271
|
var _a;
|
|
272
272
|
|
|
273
273
|
var modifiedSelectedUsers = __assign(__assign({}, selectedUsers), (_a = {}, _a[event.target.id] = event.target.checked, _a));
|
|
@@ -284,7 +284,7 @@ function AddOperatorsModal(_a) {
|
|
|
284
284
|
}))));
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
var OperatorList = function
|
|
287
|
+
var OperatorList = function () {
|
|
288
288
|
var _a, _b, _c;
|
|
289
289
|
|
|
290
290
|
var _d = useState(false),
|
|
@@ -304,10 +304,10 @@ var OperatorList = function OperatorList() {
|
|
|
304
304
|
key: operator.userId,
|
|
305
305
|
user: operator,
|
|
306
306
|
currentUser: currentUserId,
|
|
307
|
-
action: function
|
|
307
|
+
action: function (_a) {
|
|
308
308
|
var actionRef = _a.actionRef;
|
|
309
309
|
return currentUserId !== (operator === null || operator === void 0 ? void 0 : operator.userId) ? /*#__PURE__*/React__default.createElement(ContextMenu, {
|
|
310
|
-
menuTrigger: function
|
|
310
|
+
menuTrigger: function (toggleDropdown) {
|
|
311
311
|
return /*#__PURE__*/React__default.createElement(IconButton, {
|
|
312
312
|
className: "sendbird-openchannel-operator-list__menu",
|
|
313
313
|
width: "32px",
|
|
@@ -320,25 +320,25 @@ var OperatorList = function OperatorList() {
|
|
|
320
320
|
fillColor: IconColors.CONTENT_INVERSE
|
|
321
321
|
}));
|
|
322
322
|
},
|
|
323
|
-
menuItems: function
|
|
323
|
+
menuItems: function (closeDropdown) {
|
|
324
324
|
return /*#__PURE__*/React__default.createElement(MenuItems, {
|
|
325
325
|
parentRef: actionRef,
|
|
326
326
|
closeDropdown: closeDropdown,
|
|
327
327
|
openLeft: true
|
|
328
328
|
}, /*#__PURE__*/React__default.createElement(MenuItem, {
|
|
329
|
-
onClick: function
|
|
329
|
+
onClick: function () {
|
|
330
330
|
channel === null || channel === void 0 ? void 0 : channel.removeOperators([operator.userId]).then(function () {
|
|
331
331
|
closeDropdown();
|
|
332
332
|
});
|
|
333
333
|
}
|
|
334
334
|
}, stringSet.OPEN_CHANNEL_SETTING__MODERATION__UNREGISTER_OPERATOR), /*#__PURE__*/React__default.createElement(MenuItem, {
|
|
335
|
-
onClick: function
|
|
335
|
+
onClick: function () {
|
|
336
336
|
channel === null || channel === void 0 ? void 0 : channel.muteUser(operator).then(function () {
|
|
337
337
|
closeDropdown();
|
|
338
338
|
});
|
|
339
339
|
}
|
|
340
340
|
}, stringSet.OPEN_CHANNEL_SETTING__MODERATION__MUTE), /*#__PURE__*/React__default.createElement(MenuItem, {
|
|
341
|
-
onClick: function
|
|
341
|
+
onClick: function () {
|
|
342
342
|
channel === null || channel === void 0 ? void 0 : channel.banUser(operator).then(function () {
|
|
343
343
|
closeDropdown();
|
|
344
344
|
});
|
|
@@ -353,24 +353,24 @@ var OperatorList = function OperatorList() {
|
|
|
353
353
|
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
354
354
|
type: ButtonTypes.SECONDARY,
|
|
355
355
|
size: ButtonSizes.SMALL,
|
|
356
|
-
onClick: function
|
|
356
|
+
onClick: function () {
|
|
357
357
|
setShowAdd(true);
|
|
358
358
|
}
|
|
359
359
|
}, stringSet.OPEN_CHANNEL_SETTINGS__OPERATORS__TITLE_ADD), ((_c = channel === null || channel === void 0 ? void 0 : channel.operators) === null || _c === void 0 ? void 0 : _c.length) > 10 && /*#__PURE__*/React__default.createElement(Button, {
|
|
360
360
|
type: ButtonTypes.SECONDARY,
|
|
361
361
|
size: ButtonSizes.SMALL,
|
|
362
|
-
onClick: function
|
|
362
|
+
onClick: function () {
|
|
363
363
|
setShowMore(true);
|
|
364
364
|
}
|
|
365
365
|
}, stringSet.OPEN_CHANNEL_SETTINGS__OPERATORS__TITLE_ALL)), showMore && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(OperatorListModal, {
|
|
366
|
-
onCancel: function
|
|
366
|
+
onCancel: function () {
|
|
367
367
|
setShowMore(false);
|
|
368
368
|
}
|
|
369
369
|
})), showAdd && /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(AddOperatorsModal, {
|
|
370
|
-
onCancel: function
|
|
370
|
+
onCancel: function () {
|
|
371
371
|
return setShowAdd(false);
|
|
372
372
|
},
|
|
373
|
-
onSubmit: function
|
|
373
|
+
onSubmit: function () {
|
|
374
374
|
setShowAdd(false);
|
|
375
375
|
}
|
|
376
376
|
})));
|
|
@@ -379,7 +379,7 @@ var OperatorList = function OperatorList() {
|
|
|
379
379
|
function MutedParticipantsModal(_a) {
|
|
380
380
|
var _b;
|
|
381
381
|
|
|
382
|
-
var
|
|
382
|
+
var onCancel = _a.onCancel;
|
|
383
383
|
|
|
384
384
|
var _c = useState([]),
|
|
385
385
|
mutedUsers = _c[0],
|
|
@@ -404,14 +404,14 @@ function MutedParticipantsModal(_a) {
|
|
|
404
404
|
}, []);
|
|
405
405
|
return /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(Modal, {
|
|
406
406
|
hideFooter: true,
|
|
407
|
-
onCancel: function
|
|
408
|
-
return
|
|
407
|
+
onCancel: function () {
|
|
408
|
+
return onCancel();
|
|
409
409
|
},
|
|
410
410
|
onSubmit: noop,
|
|
411
411
|
titleText: stringSet.OPEN_CHANNEL_SETTINGS__MUTED_MEMBERS__TITLE
|
|
412
412
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
413
413
|
className: "sendbird-more-members__popup-scroll",
|
|
414
|
-
onScroll: function
|
|
414
|
+
onScroll: function (e) {
|
|
415
415
|
var hasNext = userListQuery.hasNext;
|
|
416
416
|
var target = e.target;
|
|
417
417
|
var fetchMore = target.clientHeight + target.scrollTop === target.scrollHeight;
|
|
@@ -427,10 +427,10 @@ function MutedParticipantsModal(_a) {
|
|
|
427
427
|
currentUser: currentUserId,
|
|
428
428
|
user: mutedUser,
|
|
429
429
|
key: mutedUser.userId,
|
|
430
|
-
action: function
|
|
430
|
+
action: function (_a) {
|
|
431
431
|
var actionRef = _a.actionRef;
|
|
432
432
|
return (mutedUser === null || mutedUser === void 0 ? void 0 : mutedUser.userId) !== currentUserId ? /*#__PURE__*/React__default.createElement(ContextMenu, {
|
|
433
|
-
menuTrigger: function
|
|
433
|
+
menuTrigger: function (toggleDropdown) {
|
|
434
434
|
return /*#__PURE__*/React__default.createElement(IconButton, {
|
|
435
435
|
className: "sendbird-user-message__more__menu",
|
|
436
436
|
width: "32px",
|
|
@@ -443,13 +443,13 @@ function MutedParticipantsModal(_a) {
|
|
|
443
443
|
fillColor: IconColors.CONTENT_INVERSE
|
|
444
444
|
}));
|
|
445
445
|
},
|
|
446
|
-
menuItems: function
|
|
446
|
+
menuItems: function (closeDropdown) {
|
|
447
447
|
return /*#__PURE__*/React__default.createElement(MenuItems, {
|
|
448
448
|
parentRef: actionRef,
|
|
449
449
|
closeDropdown: closeDropdown,
|
|
450
450
|
openLeft: true
|
|
451
451
|
}, /*#__PURE__*/React__default.createElement(MenuItem, {
|
|
452
|
-
onClick: function
|
|
452
|
+
onClick: function () {
|
|
453
453
|
channel === null || channel === void 0 ? void 0 : channel.unmuteUser(mutedUser).then(function () {
|
|
454
454
|
closeDropdown();
|
|
455
455
|
setMutedUsers(mutedUsers.filter(function (u) {
|
|
@@ -465,7 +465,7 @@ function MutedParticipantsModal(_a) {
|
|
|
465
465
|
}))));
|
|
466
466
|
}
|
|
467
467
|
|
|
468
|
-
var MutedParticipantList = function
|
|
468
|
+
var MutedParticipantList = function () {
|
|
469
469
|
var _a;
|
|
470
470
|
|
|
471
471
|
var _b = useState([]),
|
|
@@ -518,10 +518,10 @@ var MutedParticipantList = function MutedParticipantList() {
|
|
|
518
518
|
user: mutedUser,
|
|
519
519
|
currentUser: currentUserId,
|
|
520
520
|
isOperator: channel === null || channel === void 0 ? void 0 : channel.isOperator(mutedUser.userId),
|
|
521
|
-
action: function
|
|
521
|
+
action: function (_a) {
|
|
522
522
|
var actionRef = _a.actionRef;
|
|
523
523
|
return (mutedUser === null || mutedUser === void 0 ? void 0 : mutedUser.userId) !== currentUserId ? /*#__PURE__*/React__default.createElement(ContextMenu, {
|
|
524
|
-
menuTrigger: function
|
|
524
|
+
menuTrigger: function (toggleDropdown) {
|
|
525
525
|
return /*#__PURE__*/React__default.createElement(IconButton, {
|
|
526
526
|
className: "sendbird-user-message__more__menu",
|
|
527
527
|
width: "32px",
|
|
@@ -534,13 +534,13 @@ var MutedParticipantList = function MutedParticipantList() {
|
|
|
534
534
|
fillColor: IconColors.CONTENT_INVERSE
|
|
535
535
|
}));
|
|
536
536
|
},
|
|
537
|
-
menuItems: function
|
|
537
|
+
menuItems: function (closeDropdown) {
|
|
538
538
|
return /*#__PURE__*/React__default.createElement(MenuItems, {
|
|
539
539
|
closeDropdown: closeDropdown,
|
|
540
540
|
openLeft: true,
|
|
541
541
|
parentRef: actionRef
|
|
542
542
|
}, /*#__PURE__*/React__default.createElement(MenuItem, {
|
|
543
|
-
onClick: function
|
|
543
|
+
onClick: function () {
|
|
544
544
|
channel === null || channel === void 0 ? void 0 : channel.unmuteUser(mutedUser).then(function () {
|
|
545
545
|
refreshList();
|
|
546
546
|
closeDropdown();
|
|
@@ -560,11 +560,11 @@ var MutedParticipantList = function MutedParticipantList() {
|
|
|
560
560
|
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
561
561
|
type: ButtonTypes.SECONDARY,
|
|
562
562
|
size: ButtonSizes.SMALL,
|
|
563
|
-
onClick: function
|
|
563
|
+
onClick: function () {
|
|
564
564
|
setShowModal(true);
|
|
565
565
|
}
|
|
566
566
|
}, stringSet.OPEN_CHANNEL_SETTINGS__MUTED_MEMBERS__TITLE_ALL)), showModal && /*#__PURE__*/React__default.createElement(MutedParticipantsModal, {
|
|
567
|
-
onCancel: function
|
|
567
|
+
onCancel: function () {
|
|
568
568
|
setShowModal(false);
|
|
569
569
|
refreshList();
|
|
570
570
|
}
|
|
@@ -574,7 +574,7 @@ var MutedParticipantList = function MutedParticipantList() {
|
|
|
574
574
|
function BannedUsersModal(_a) {
|
|
575
575
|
var _b;
|
|
576
576
|
|
|
577
|
-
var
|
|
577
|
+
var onCancel = _a.onCancel;
|
|
578
578
|
|
|
579
579
|
var _c = useState([]),
|
|
580
580
|
bannedUsers = _c[0],
|
|
@@ -597,14 +597,14 @@ function BannedUsersModal(_a) {
|
|
|
597
597
|
}, []);
|
|
598
598
|
return /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement(Modal, {
|
|
599
599
|
hideFooter: true,
|
|
600
|
-
onCancel: function
|
|
601
|
-
return
|
|
600
|
+
onCancel: function () {
|
|
601
|
+
return onCancel();
|
|
602
602
|
},
|
|
603
603
|
onSubmit: noop,
|
|
604
604
|
titleText: stringSet.OPEN_CHANNEL_SETTINGS__MUTED_MEMBERS__TITLE
|
|
605
605
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
606
606
|
className: "sendbird-more-members__popup-scroll",
|
|
607
|
-
onScroll: function
|
|
607
|
+
onScroll: function (e) {
|
|
608
608
|
var hasNext = userListQuery.hasNext;
|
|
609
609
|
var target = e.target;
|
|
610
610
|
var fetchMore = target.clientHeight + target.scrollTop === target.scrollHeight;
|
|
@@ -619,10 +619,10 @@ function BannedUsersModal(_a) {
|
|
|
619
619
|
return /*#__PURE__*/React__default.createElement(UserListItem, {
|
|
620
620
|
user: bannedUser,
|
|
621
621
|
key: bannedUser.userId,
|
|
622
|
-
action: function
|
|
622
|
+
action: function (_a) {
|
|
623
623
|
var actionRef = _a.actionRef;
|
|
624
624
|
return (bannedUser === null || bannedUser === void 0 ? void 0 : bannedUser.userId) !== currentUserId ? /*#__PURE__*/React__default.createElement(ContextMenu, {
|
|
625
|
-
menuTrigger: function
|
|
625
|
+
menuTrigger: function (toggleDropdown) {
|
|
626
626
|
return /*#__PURE__*/React__default.createElement(IconButton, {
|
|
627
627
|
className: "sendbird-user-message__more__menu",
|
|
628
628
|
width: "32px",
|
|
@@ -635,13 +635,13 @@ function BannedUsersModal(_a) {
|
|
|
635
635
|
fillColor: IconColors.CONTENT_INVERSE
|
|
636
636
|
}));
|
|
637
637
|
},
|
|
638
|
-
menuItems: function
|
|
638
|
+
menuItems: function (closeDropdown) {
|
|
639
639
|
return /*#__PURE__*/React__default.createElement(MenuItems, {
|
|
640
640
|
parentRef: actionRef,
|
|
641
641
|
closeDropdown: closeDropdown,
|
|
642
642
|
openLeft: true
|
|
643
643
|
}, /*#__PURE__*/React__default.createElement(MenuItem, {
|
|
644
|
-
onClick: function
|
|
644
|
+
onClick: function () {
|
|
645
645
|
channel === null || channel === void 0 ? void 0 : channel.unbanUser(bannedUser).then(function () {
|
|
646
646
|
closeDropdown();
|
|
647
647
|
setBannedUsers(bannedUsers.filter(function (u) {
|
|
@@ -657,7 +657,7 @@ function BannedUsersModal(_a) {
|
|
|
657
657
|
}))));
|
|
658
658
|
}
|
|
659
659
|
|
|
660
|
-
var BannedUserList = function
|
|
660
|
+
var BannedUserList = function () {
|
|
661
661
|
var _a;
|
|
662
662
|
|
|
663
663
|
var _b = useState([]),
|
|
@@ -705,10 +705,10 @@ var BannedUserList = function BannedUserList() {
|
|
|
705
705
|
key: bannedUser.userId,
|
|
706
706
|
user: bannedUser,
|
|
707
707
|
isOperator: channel === null || channel === void 0 ? void 0 : channel.isOperator(bannedUser.userId),
|
|
708
|
-
action: function
|
|
708
|
+
action: function (_a) {
|
|
709
709
|
var actionRef = _a.actionRef;
|
|
710
710
|
return (bannedUser === null || bannedUser === void 0 ? void 0 : bannedUser.userId) !== currentUserId ? /*#__PURE__*/React__default.createElement(ContextMenu, {
|
|
711
|
-
menuTrigger: function
|
|
711
|
+
menuTrigger: function (toggleDropdown) {
|
|
712
712
|
return /*#__PURE__*/React__default.createElement(IconButton, {
|
|
713
713
|
className: "sendbird-user-message__more__menu",
|
|
714
714
|
width: "32px",
|
|
@@ -721,13 +721,13 @@ var BannedUserList = function BannedUserList() {
|
|
|
721
721
|
fillColor: IconColors.CONTENT_INVERSE
|
|
722
722
|
}));
|
|
723
723
|
},
|
|
724
|
-
menuItems: function
|
|
724
|
+
menuItems: function (closeDropdown) {
|
|
725
725
|
return /*#__PURE__*/React__default.createElement(MenuItems, {
|
|
726
726
|
parentRef: actionRef,
|
|
727
727
|
closeDropdown: closeDropdown,
|
|
728
728
|
openLeft: true
|
|
729
729
|
}, /*#__PURE__*/React__default.createElement(MenuItem, {
|
|
730
|
-
onClick: function
|
|
730
|
+
onClick: function () {
|
|
731
731
|
channel === null || channel === void 0 ? void 0 : channel.unbanUser(bannedUser).then(function () {
|
|
732
732
|
closeDropdown();
|
|
733
733
|
refreshList();
|
|
@@ -747,18 +747,18 @@ var BannedUserList = function BannedUserList() {
|
|
|
747
747
|
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
748
748
|
type: ButtonTypes.SECONDARY,
|
|
749
749
|
size: ButtonSizes.SMALL,
|
|
750
|
-
onClick: function
|
|
750
|
+
onClick: function () {
|
|
751
751
|
setShowModal(true);
|
|
752
752
|
}
|
|
753
753
|
}, stringSet.OPEN_CHANNEL_SETTINGS__BANNED_MEMBERS__TITLE_ALL)), showModal && /*#__PURE__*/React__default.createElement(BannedUsersModal, {
|
|
754
|
-
onCancel: function
|
|
754
|
+
onCancel: function () {
|
|
755
755
|
setShowModal(false);
|
|
756
756
|
refreshList();
|
|
757
757
|
}
|
|
758
758
|
}));
|
|
759
759
|
};
|
|
760
760
|
|
|
761
|
-
var copyToClipboard = function
|
|
761
|
+
var copyToClipboard = function (text) {
|
|
762
762
|
// @ts-ignore: Unreachable code error
|
|
763
763
|
if (window.clipboardData && window.clipboardData.setData) {
|
|
764
764
|
// Internet Explorer-specific code path to prevent textarea being shown while dialog is visible.
|
|
@@ -785,7 +785,7 @@ var copyToClipboard = function copyToClipboard(text) {
|
|
|
785
785
|
|
|
786
786
|
return false;
|
|
787
787
|
};
|
|
788
|
-
var OperatorUI = function
|
|
788
|
+
var OperatorUI = function (_a) {
|
|
789
789
|
var renderChannelProfile = _a.renderChannelProfile;
|
|
790
790
|
var stringSet = useContext(LocalizationContext).stringSet;
|
|
791
791
|
|
|
@@ -803,7 +803,7 @@ var OperatorUI = function OperatorUI(_a) {
|
|
|
803
803
|
type: IconTypes.CLOSE,
|
|
804
804
|
height: "24px",
|
|
805
805
|
width: "24px",
|
|
806
|
-
onClick: function
|
|
806
|
+
onClick: function () {
|
|
807
807
|
onCloseClick();
|
|
808
808
|
}
|
|
809
809
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -815,7 +815,7 @@ var OperatorUI = function OperatorUI(_a) {
|
|
|
815
815
|
type: IconTypes.COPY,
|
|
816
816
|
height: "22px",
|
|
817
817
|
width: "22px",
|
|
818
|
-
onClick: function
|
|
818
|
+
onClick: function () {
|
|
819
819
|
copyToClipboard(channel === null || channel === void 0 ? void 0 : channel.url);
|
|
820
820
|
}
|
|
821
821
|
}), /*#__PURE__*/React__default.createElement(Label, {
|
|
@@ -828,7 +828,7 @@ var OperatorUI = function OperatorUI(_a) {
|
|
|
828
828
|
}, channel === null || channel === void 0 ? void 0 : channel.url)), /*#__PURE__*/React__default.createElement(AccordionGroup, null, /*#__PURE__*/React__default.createElement(Accordion, {
|
|
829
829
|
className: "sendbird-openchannel-settings__operators-list",
|
|
830
830
|
id: "operators",
|
|
831
|
-
renderTitle: function
|
|
831
|
+
renderTitle: function () {
|
|
832
832
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Icon, {
|
|
833
833
|
className: "sendbird-openchannel-settings__operator-accordion-icon",
|
|
834
834
|
type: IconTypes.OPERATOR,
|
|
@@ -840,13 +840,13 @@ var OperatorUI = function OperatorUI(_a) {
|
|
|
840
840
|
color: LabelColors.ONBACKGROUND_1
|
|
841
841
|
}, stringSet.OPEN_CHANNEL_SETTINGS__OPERATORS_TITLE));
|
|
842
842
|
},
|
|
843
|
-
renderContent: function
|
|
843
|
+
renderContent: function () {
|
|
844
844
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(OperatorList, null));
|
|
845
845
|
}
|
|
846
846
|
}), /*#__PURE__*/React__default.createElement(Accordion, {
|
|
847
847
|
className: "sendbird-channel-settings__operators-list",
|
|
848
848
|
id: "participants",
|
|
849
|
-
renderTitle: function
|
|
849
|
+
renderTitle: function () {
|
|
850
850
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Icon, {
|
|
851
851
|
type: IconTypes.MEMBERS,
|
|
852
852
|
fillColor: IconColors.PRIMARY,
|
|
@@ -858,7 +858,7 @@ var OperatorUI = function OperatorUI(_a) {
|
|
|
858
858
|
color: LabelColors.ONBACKGROUND_1
|
|
859
859
|
}, stringSet.OPEN_CHANNEL_SETTINGS__PARTICIPANTS_ACCORDION_TITLE));
|
|
860
860
|
},
|
|
861
|
-
renderContent: function
|
|
861
|
+
renderContent: function () {
|
|
862
862
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ParticipantList, {
|
|
863
863
|
isOperatorView: true
|
|
864
864
|
}));
|
|
@@ -866,7 +866,7 @@ var OperatorUI = function OperatorUI(_a) {
|
|
|
866
866
|
}), /*#__PURE__*/React__default.createElement(Accordion, {
|
|
867
867
|
className: "sendbird-channel-settings__operators-list",
|
|
868
868
|
id: "mutedMembers",
|
|
869
|
-
renderTitle: function
|
|
869
|
+
renderTitle: function () {
|
|
870
870
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Icon, {
|
|
871
871
|
className: "sendbird-openchannel-settings__operator-accordion-icon",
|
|
872
872
|
type: IconTypes.MUTE,
|
|
@@ -878,13 +878,13 @@ var OperatorUI = function OperatorUI(_a) {
|
|
|
878
878
|
color: LabelColors.ONBACKGROUND_1
|
|
879
879
|
}, stringSet.OPEN_CHANNEL_SETTINGS__MUTED_MEMBERS__TITLE));
|
|
880
880
|
},
|
|
881
|
-
renderContent: function
|
|
881
|
+
renderContent: function () {
|
|
882
882
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(MutedParticipantList, null));
|
|
883
883
|
}
|
|
884
884
|
}), /*#__PURE__*/React__default.createElement(Accordion, {
|
|
885
885
|
className: "sendbird-channel-settings__operators-list",
|
|
886
886
|
id: "bannedUsers",
|
|
887
|
-
renderTitle: function
|
|
887
|
+
renderTitle: function () {
|
|
888
888
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(Icon, {
|
|
889
889
|
className: "sendbird-openchannel-settings__operator-accordion-icon",
|
|
890
890
|
type: IconTypes.BAN,
|
|
@@ -896,7 +896,7 @@ var OperatorUI = function OperatorUI(_a) {
|
|
|
896
896
|
color: LabelColors.ONBACKGROUND_1
|
|
897
897
|
}, stringSet.OPEN_CHANNEL_SETTINGS__BANNED_MEMBERS__TITLE));
|
|
898
898
|
},
|
|
899
|
-
renderContent: function
|
|
899
|
+
renderContent: function () {
|
|
900
900
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(BannedUserList, null));
|
|
901
901
|
}
|
|
902
902
|
})), /*#__PURE__*/React__default.createElement(DeleteChannel, null));
|