@sendbird/uikit-react 3.0.2-beta.1 → 3.0.2-beta.2
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 +32 -32
- package/CHANGELOG.md +2 -1
- package/Channel/components/ChannelHeader.js +17 -17
- package/Channel/components/ChannelUI.js +24 -24
- package/Channel/components/FileViewer.js +16 -16
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +21 -21
- package/Channel/components/MessageInput.js +18 -18
- package/Channel/components/MessageList.js +23 -23
- package/Channel/components/RemoveMessageModal.js +19 -19
- package/Channel/components/SuggestedMentionList.js +17 -17
- package/Channel/components/TypingIndicator.js +16 -16
- package/Channel/components/UnreadCount.js +5 -5
- package/Channel/context.js +15 -15
- package/Channel.js +24 -24
- package/ChannelList/components/AddChannel.js +14 -14
- package/ChannelList/components/ChannelListHeader.js +7 -7
- package/ChannelList/components/ChannelListUI.js +28 -28
- package/ChannelList/components/ChannelPreview.js +21 -21
- package/ChannelList/components/ChannelPreviewAction.js +16 -16
- package/ChannelList/context.js +10 -10
- package/ChannelList.js +28 -28
- package/{ChannelListProvider-551b956e.js → ChannelListProvider-ae51690a.js} +9 -9
- package/{ChannelListProvider-551b956e.js.map → ChannelListProvider-ae51690a.js.map} +1 -1
- package/{ChannelProvider-f2229414.js → ChannelProvider-64e9f011.js} +11 -11
- package/{ChannelProvider-f2229414.js.map → ChannelProvider-64e9f011.js.map} +1 -1
- package/ChannelSettings/components/ChannelProfile.js +13 -13
- package/ChannelSettings/components/ChannelSettingsUI.js +18 -18
- package/ChannelSettings/components/EditDetailsModal.js +13 -13
- package/ChannelSettings/components/LeaveChannel.js +10 -10
- package/ChannelSettings/components/ModerationPanel.js +15 -15
- package/ChannelSettings/components/UserListItem.js +12 -12
- package/ChannelSettings/components/UserPanel.js +14 -14
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +18 -18
- package/CreateChannel/components/CreateChannelUI.js +14 -14
- package/CreateChannel/components/InviteUsers.js +17 -19
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +14 -14
- package/{CreateChannelProvider-15dfa1af.js → CreateChannelProvider-0e54306e.js} +1 -1
- package/{CreateChannelProvider-15dfa1af.js.map → CreateChannelProvider-0e54306e.js.map} +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/{LocalizationContext-cf80416c.js → LocalizationContext-6e75b56a.js} +3 -3
- package/{LocalizationContext-cf80416c.js.map → LocalizationContext-6e75b56a.js.map} +1 -1
- package/{MemberList-f79c33ff.js → MemberList-1ef0c70c.js} +5 -5
- package/{MemberList-f79c33ff.js.map → MemberList-1ef0c70c.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +2 -2
- package/MessageSearch.js +11 -11
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +14 -14
- package/OpenChannel/components/OpenChannelInput.js +18 -18
- package/OpenChannel/components/OpenChannelMessage.js +23 -23
- package/OpenChannel/components/OpenChannelMessageList.js +25 -25
- package/OpenChannel/components/OpenChannelUI.js +25 -25
- package/OpenChannel/context.js +11 -11
- package/OpenChannel.js +25 -25
- package/{OpenChannelProvider-e5364b83.js → OpenChannelProvider-a37f23fd.js} +9 -9
- package/{OpenChannelProvider-e5364b83.js.map → OpenChannelProvider-a37f23fd.js.map} +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +13 -13
- package/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
- 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 +2 -2
- package/OpenChannelSettings.js +17 -17
- package/SendbirdProvider.js +11 -11
- package/{UserProfileContext-977db3ff.js → UserProfileContext-f367c086.js} +1 -1
- package/{UserProfileContext-977db3ff.js.map → UserProfileContext-f367c086.js.map} +1 -1
- package/{__bundle-7dfccc8c-db2ded0f.js → __bundle-7dfccc8c-a16aed7a.js} +1 -1
- package/{__bundle-7dfccc8c-db2ded0f.js.map → __bundle-7dfccc8c-a16aed7a.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-fdcfbfcc.js → _rollupPluginBabelHelpers-c97525da.js} +1 -1
- package/{_rollupPluginBabelHelpers-fdcfbfcc.js.map → _rollupPluginBabelHelpers-c97525da.js.map} +1 -1
- package/{actionTypes-6075fcef.js → actionTypes-45239968.js} +1 -1
- package/{actionTypes-6075fcef.js.map → actionTypes-45239968.js.map} +1 -1
- package/cjs/App.js +32 -32
- package/cjs/Channel/components/ChannelHeader.js +17 -17
- package/cjs/Channel/components/ChannelUI.js +24 -24
- package/cjs/Channel/components/FileViewer.js +16 -16
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +21 -21
- package/cjs/Channel/components/MessageInput.js +18 -18
- package/cjs/Channel/components/MessageList.js +23 -23
- package/cjs/Channel/components/RemoveMessageModal.js +19 -19
- package/cjs/Channel/components/SuggestedMentionList.js +17 -17
- package/cjs/Channel/components/TypingIndicator.js +16 -16
- package/cjs/Channel/components/UnreadCount.js +5 -5
- package/cjs/Channel/context.js +15 -15
- package/cjs/Channel.js +24 -24
- package/cjs/ChannelList/components/AddChannel.js +14 -14
- package/cjs/ChannelList/components/ChannelListHeader.js +7 -7
- package/cjs/ChannelList/components/ChannelListUI.js +28 -28
- package/cjs/ChannelList/components/ChannelPreview.js +21 -21
- package/cjs/ChannelList/components/ChannelPreviewAction.js +16 -16
- package/cjs/ChannelList/context.js +10 -10
- package/cjs/ChannelList.js +28 -28
- package/cjs/{ChannelListProvider-a78dcace.js → ChannelListProvider-038ef463.js} +9 -9
- package/cjs/{ChannelListProvider-a78dcace.js.map → ChannelListProvider-038ef463.js.map} +1 -1
- package/cjs/{ChannelProvider-1c64ff8e.js → ChannelProvider-66622e53.js} +11 -11
- package/cjs/{ChannelProvider-1c64ff8e.js.map → ChannelProvider-66622e53.js.map} +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +13 -13
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +18 -18
- package/cjs/ChannelSettings/components/EditDetailsModal.js +13 -13
- package/cjs/ChannelSettings/components/LeaveChannel.js +10 -10
- package/cjs/ChannelSettings/components/ModerationPanel.js +15 -15
- package/cjs/ChannelSettings/components/UserListItem.js +12 -12
- package/cjs/ChannelSettings/components/UserPanel.js +14 -14
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +18 -18
- package/cjs/CreateChannel/components/CreateChannelUI.js +14 -14
- package/cjs/CreateChannel/components/InviteUsers.js +17 -19
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +14 -14
- package/cjs/{CreateChannelProvider-d3305abc.js → CreateChannelProvider-2e94ad28.js} +1 -1
- package/cjs/{CreateChannelProvider-d3305abc.js.map → CreateChannelProvider-2e94ad28.js.map} +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/{LocalizationContext-baf1fe9b.js → LocalizationContext-0bf3e760.js} +3 -3
- package/cjs/{LocalizationContext-baf1fe9b.js.map → LocalizationContext-0bf3e760.js.map} +1 -1
- package/cjs/{MemberList-95fc8f1a.js → MemberList-a4c71b6e.js} +5 -5
- package/cjs/{MemberList-95fc8f1a.js.map → MemberList-a4c71b6e.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
- package/cjs/MessageSearch/context.js +2 -2
- package/cjs/MessageSearch.js +11 -11
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +14 -14
- package/cjs/OpenChannel/components/OpenChannelInput.js +18 -18
- package/cjs/OpenChannel/components/OpenChannelMessage.js +23 -23
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +25 -25
- package/cjs/OpenChannel/components/OpenChannelUI.js +25 -25
- package/cjs/OpenChannel/context.js +11 -11
- package/cjs/OpenChannel.js +25 -25
- package/cjs/{OpenChannelProvider-cc9ee134.js → OpenChannelProvider-000ca1cf.js} +9 -9
- package/cjs/{OpenChannelProvider-cc9ee134.js.map → OpenChannelProvider-000ca1cf.js.map} +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +13 -13
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +13 -13
- 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 +2 -2
- package/cjs/OpenChannelSettings.js +17 -17
- package/cjs/SendbirdProvider.js +11 -11
- package/cjs/{UserProfileContext-d4c230c3.js → UserProfileContext-5b432968.js} +1 -1
- package/cjs/{UserProfileContext-d4c230c3.js.map → UserProfileContext-5b432968.js.map} +1 -1
- package/cjs/{__bundle-7dfccc8c-e40d0934.js → __bundle-7dfccc8c-ed185b23.js} +1 -1
- package/cjs/{__bundle-7dfccc8c-e40d0934.js.map → __bundle-7dfccc8c-ed185b23.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-29633c69.js → _rollupPluginBabelHelpers-8b01e58c.js} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-29633c69.js.map → _rollupPluginBabelHelpers-8b01e58c.js.map} +1 -1
- package/cjs/{actionTypes-27fdf504.js → actionTypes-1798b025.js} +1 -1
- package/cjs/{actionTypes-27fdf504.js.map → actionTypes-1798b025.js.map} +1 -1
- package/cjs/{color-10db49db.js → color-1807e249.js} +1 -1
- package/cjs/{color-10db49db.js.map → color-1807e249.js.map} +1 -1
- package/cjs/{compareIds-b6c1549b.js → compareIds-8c7d8980.js} +1 -1
- package/cjs/{compareIds-b6c1549b.js.map → compareIds-8c7d8980.js.map} +1 -1
- package/cjs/{const-216f25a9.js → const-1902a74e.js} +1 -1
- package/cjs/{const-216f25a9.js.map → const-1902a74e.js.map} +1 -1
- package/cjs/{const-7cba20e4.js → const-f86a2fb2.js} +1 -1
- package/cjs/{const-7cba20e4.js.map → const-f86a2fb2.js.map} +1 -1
- package/cjs/{context-1bb3f131.js → context-aab9d9b1.js} +2 -2
- package/cjs/{context-1bb3f131.js.map → context-aab9d9b1.js.map} +1 -1
- package/cjs/dist/index.css +27 -27
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{groupChannel-7c2201a9.js → groupChannel-76c0795e.js} +2 -2
- package/cjs/{groupChannel-7c2201a9.js.map → groupChannel-76c0795e.js.map} +1 -1
- package/cjs/{index-31de37a9.js → index-13bf8604.js} +3 -3
- package/cjs/{index-31de37a9.js.map → index-13bf8604.js.map} +1 -1
- package/cjs/{index-4aac2260.js → index-1da71f37.js} +4 -4
- package/cjs/{index-4aac2260.js.map → index-1da71f37.js.map} +1 -1
- package/cjs/{index-9f277fa2.js → index-51e49cfe.js} +4 -4
- package/cjs/{index-9f277fa2.js.map → index-51e49cfe.js.map} +1 -1
- package/cjs/{index-885e6586.js → index-639e3f2f.js} +2 -2
- package/cjs/{index-885e6586.js.map → index-639e3f2f.js.map} +1 -1
- package/cjs/{index-fdfc8df4.js → index-7b8fdc11.js} +1 -1
- package/cjs/{index-fdfc8df4.js.map → index-7b8fdc11.js.map} +1 -1
- package/cjs/{index-c5e7bc6f.js → index-8a98fd13.js} +6 -6
- package/cjs/{index-c5e7bc6f.js.map → index-8a98fd13.js.map} +1 -1
- package/cjs/{index-8a02c34e.js → index-bcb8a49a.js} +2 -2
- package/cjs/{index-8a02c34e.js.map → index-bcb8a49a.js.map} +1 -1
- package/cjs/{index-802a624a.js → index-cd933bf7.js} +2 -2
- package/cjs/{index-802a624a.js.map → index-cd933bf7.js.map} +1 -1
- package/cjs/{index-d4396be3.js → index-fd497c7c.js} +1 -1
- package/cjs/{index-d4396be3.js.map → index-fd497c7c.js.map} +1 -1
- package/cjs/{index-f457d792.js → index-ffc23504.js} +3 -3
- package/cjs/{index-f457d792.js.map → index-ffc23504.js.map} +1 -1
- package/cjs/index.js +35 -35
- package/cjs/{openChannel-1f1f5648.js → openChannel-1e92ad1c.js} +2 -2
- package/cjs/{openChannel-1f1f5648.js.map → openChannel-1e92ad1c.js.map} +1 -1
- package/cjs/{openChannelUtils-3b8eec58.js → openChannelUtils-08574a70.js} +1 -1
- package/cjs/{openChannelUtils-3b8eec58.js.map → openChannelUtils-08574a70.js.map} +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-f932274f.js → stringSet-9b12d465.js} +1 -1
- package/cjs/{stringSet-f932274f.js.map → stringSet-9b12d465.js.map} +1 -1
- package/cjs/{topics-e0269931.js → topics-b736a640.js} +1 -1
- package/cjs/{topics-e0269931.js.map → topics-b736a640.js.map} +1 -1
- package/cjs/{tslib.es6-592b36e8.js → tslib.es6-a0ece28e.js} +1 -1
- package/cjs/{tslib.es6-592b36e8.js.map → tslib.es6-a0ece28e.js.map} +1 -1
- package/cjs/ui/Accordion.js +4 -4
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +3 -3
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/Button.js +4 -4
- package/cjs/ui/ChannelAvatar.js +4 -4
- package/cjs/ui/ChannelPreview.js +12 -12
- package/cjs/ui/ChatHeader.js +8 -8
- package/cjs/ui/Checkbox.js +1 -1
- package/cjs/ui/ConnectionStatus.js +5 -5
- package/cjs/ui/ContextMenu.js +5 -5
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/Dropdown.js +3 -3
- package/cjs/ui/EmojiReactions.js +7 -7
- package/cjs/ui/FileMessageItemBody.js +6 -6
- package/cjs/ui/FileViewer.js +7 -7
- package/cjs/ui/Icon.js +1 -1
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +1 -1
- package/cjs/ui/MentionLabel.js +11 -11
- package/cjs/ui/MessageContent.js +14 -14
- package/cjs/ui/MessageInput.js +10 -10
- package/cjs/ui/MessageItemMenu.js +7 -7
- package/cjs/ui/MessageItemReactionMenu.js +5 -5
- package/cjs/ui/MessageSearchFileItem.js +10 -10
- package/cjs/ui/MessageSearchItem.js +10 -10
- package/cjs/ui/MessageStatus.js +8 -8
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +1 -1
- package/cjs/ui/OGMessageItemBody.js +11 -11
- package/cjs/ui/OpenChannelAdminMessage.js +4 -4
- package/cjs/ui/OpenChannelAvatar.js +7 -7
- package/cjs/ui/OpenchannelConversationHeader.js +7 -7
- package/cjs/ui/OpenchannelFileMessage.js +15 -15
- package/cjs/ui/OpenchannelOGMessage.js +15 -15
- package/cjs/ui/OpenchannelThumbnailMessage.js +14 -14
- package/cjs/ui/OpenchannelUserMessage.js +15 -15
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/QuoteMessage.js +7 -7
- package/cjs/ui/QuoteMessageInput.js +7 -7
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +1 -1
- package/cjs/ui/SortByRow.js +1 -1
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +11 -11
- package/cjs/ui/ThumbnailMessageItemBody.js +3 -3
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +12 -12
- package/cjs/ui/UserProfile.js +10 -10
- package/cjs/ui/Word.js +11 -11
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/{utils-762f2f61.js → utils-2ad4070a.js} +1 -1
- package/cjs/{utils-762f2f61.js.map → utils-2ad4070a.js.map} +1 -1
- package/cjs/{utils-352cb0a5.js → utils-80d26c50.js} +1 -1
- package/cjs/{utils-352cb0a5.js.map → utils-80d26c50.js.map} +1 -1
- package/cjs/{utils-01d5bf79.js → utils-bc3be007.js} +1 -1
- package/cjs/{utils-01d5bf79.js.map → utils-bc3be007.js.map} +1 -1
- package/cjs/{uuid-5ffba0f8.js → uuid-198218df.js} +1 -1
- package/cjs/{uuid-5ffba0f8.js.map → uuid-198218df.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-24138028.js → color-8a34313f.js} +1 -1
- package/{color-24138028.js.map → color-8a34313f.js.map} +1 -1
- package/{compareIds-286831ea.js → compareIds-f5c7e9e0.js} +1 -1
- package/{compareIds-286831ea.js.map → compareIds-f5c7e9e0.js.map} +1 -1
- package/{const-725e6443.js → const-3c79b764.js} +1 -1
- package/{const-725e6443.js.map → const-3c79b764.js.map} +1 -1
- package/{const-9ccaba50.js → const-8cce96ac.js} +1 -1
- package/{const-9ccaba50.js.map → const-8cce96ac.js.map} +1 -1
- package/{context-482c87f7.js → context-e14a3cd1.js} +2 -2
- package/{context-482c87f7.js.map → context-e14a3cd1.js.map} +1 -1
- package/dist/index.css +27 -27
- package/dist/index.css.map +1 -1
- package/{groupChannel-4ad208bd.js → groupChannel-cc9fae2b.js} +2 -2
- package/{groupChannel-4ad208bd.js.map → groupChannel-cc9fae2b.js.map} +1 -1
- package/{index-25339141.js → index-07c1cd2b.js} +4 -4
- package/{index-25339141.js.map → index-07c1cd2b.js.map} +1 -1
- package/{index-78302d10.js → index-0b740954.js} +2 -2
- package/{index-78302d10.js.map → index-0b740954.js.map} +1 -1
- package/{index-f6b6701e.js → index-2a105a6a.js} +2 -2
- package/{index-f6b6701e.js.map → index-2a105a6a.js.map} +1 -1
- package/{index-e63d152e.js → index-2de5002e.js} +6 -6
- package/{index-e63d152e.js.map → index-2de5002e.js.map} +1 -1
- package/{index-35ab7b97.js → index-3444f2dd.js} +1 -1
- package/{index-35ab7b97.js.map → index-3444f2dd.js.map} +1 -1
- package/{index-e53b04fa.js → index-6f372bb8.js} +2 -2
- package/{index-e53b04fa.js.map → index-6f372bb8.js.map} +1 -1
- package/{index-8d874712.js → index-7324a9d2.js} +3 -3
- package/{index-8d874712.js.map → index-7324a9d2.js.map} +1 -1
- package/{index-072521c3.js → index-79815d20.js} +1 -1
- package/{index-072521c3.js.map → index-79815d20.js.map} +1 -1
- package/{index-8a388ae7.js → index-7f7579cb.js} +3 -3
- package/{index-8a388ae7.js.map → index-7f7579cb.js.map} +1 -1
- package/{index-e9e40be7.js → index-9935530e.js} +4 -4
- package/{index-e9e40be7.js.map → index-9935530e.js.map} +1 -1
- package/index.d.ts +1 -1
- package/index.js +35 -35
- package/{openChannel-6f350123.js → openChannel-15b0616c.js} +2 -2
- package/{openChannel-6f350123.js.map → openChannel-15b0616c.js.map} +1 -1
- package/{openChannelUtils-d9065b0b.js → openChannelUtils-9b134f08.js} +1 -1
- package/{openChannelUtils-d9065b0b.js.map → openChannelUtils-9b134f08.js.map} +1 -1
- package/package-lock.json +1 -1
- package/package.json +1 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-f697bfff.js → stringSet-7a28664f.js} +1 -1
- package/{stringSet-f697bfff.js.map → stringSet-7a28664f.js.map} +1 -1
- package/{topics-b6afa630.js → topics-7ca110dd.js} +1 -1
- package/{topics-b6afa630.js.map → topics-7ca110dd.js.map} +1 -1
- package/{tslib.es6-42c9ba76.js → tslib.es6-71164428.js} +1 -1
- package/{tslib.es6-42c9ba76.js.map → tslib.es6-71164428.js.map} +1 -1
- package/ui/Accordion.js +4 -4
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +3 -3
- package/ui/Badge.js +5 -5
- package/ui/Button.js +4 -4
- package/ui/ChannelAvatar.js +4 -4
- package/ui/ChannelPreview.js +12 -12
- package/ui/ChatHeader.js +8 -8
- package/ui/Checkbox.js +1 -1
- package/ui/ConnectionStatus.js +5 -5
- package/ui/ContextMenu.js +5 -5
- package/ui/DateSeparator.js +4 -4
- package/ui/Dropdown.js +3 -3
- package/ui/EmojiReactions.js +7 -7
- package/ui/FileMessageItemBody.js +6 -6
- package/ui/FileViewer.js +7 -7
- package/ui/Icon.js +1 -1
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +1 -1
- package/ui/MentionLabel.js +11 -11
- package/ui/MessageContent.js +14 -14
- package/ui/MessageInput.js +10 -10
- package/ui/MessageItemMenu.js +7 -7
- package/ui/MessageItemReactionMenu.js +5 -5
- package/ui/MessageSearchFileItem.js +10 -10
- package/ui/MessageSearchItem.js +10 -10
- package/ui/MessageStatus.js +8 -8
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +1 -1
- package/ui/OGMessageItemBody.js +11 -11
- package/ui/OpenChannelAdminMessage.js +4 -4
- package/ui/OpenChannelAvatar.js +7 -7
- package/ui/OpenchannelConversationHeader.js +7 -7
- package/ui/OpenchannelFileMessage.js +15 -15
- package/ui/OpenchannelOGMessage.js +15 -15
- package/ui/OpenchannelThumbnailMessage.js +14 -14
- package/ui/OpenchannelUserMessage.js +15 -15
- package/ui/PlaceHolder.js +6 -6
- package/ui/QuoteMessage.js +7 -7
- package/ui/QuoteMessageInput.js +7 -7
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +1 -1
- package/ui/SortByRow.js +1 -1
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +11 -11
- package/ui/ThumbnailMessageItemBody.js +3 -3
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +12 -12
- package/ui/UserProfile.js +10 -10
- package/ui/Word.js +11 -11
- package/useSendbirdStateContext.js +1 -1
- package/{utils-fb8d9bf1.js → utils-38a1ad56.js} +1 -1
- package/{utils-fb8d9bf1.js.map → utils-38a1ad56.js.map} +1 -1
- package/{utils-02eaadb8.js → utils-5807b354.js} +1 -1
- package/{utils-02eaadb8.js.map → utils-5807b354.js.map} +1 -1
- package/{utils-78b45bd0.js → utils-6c89c101.js} +1 -1
- package/{utils-78b45bd0.js.map → utils-6c89c101.js.map} +1 -1
- package/{uuid-d61c5d2d.js → uuid-39710dee.js} +1 -1
- package/{uuid-d61c5d2d.js.map → uuid-39710dee.js.map} +1 -1
- package/withSendbird.js +1 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import React__default, { useContext, useState } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-6e75b56a.js';
|
|
3
3
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
4
4
|
import { useChannelSettingsContext } from '../context.js';
|
|
5
5
|
import ChannelAvatar from '../../ui/ChannelAvatar.js';
|
|
6
6
|
import TextButton from '../../ui/TextButton.js';
|
|
7
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
7
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-7324a9d2.js';
|
|
8
8
|
import EditDetails from './EditDetailsModal.js';
|
|
9
|
-
import '../../stringSet-
|
|
10
|
-
import '../../index-
|
|
9
|
+
import '../../stringSet-7a28664f.js';
|
|
10
|
+
import '../../index-3444f2dd.js';
|
|
11
11
|
import '../../withSendbird.js';
|
|
12
|
-
import '../../_rollupPluginBabelHelpers-
|
|
13
|
-
import '../../UserProfileContext-
|
|
12
|
+
import '../../_rollupPluginBabelHelpers-c97525da.js';
|
|
13
|
+
import '../../UserProfileContext-f367c086.js';
|
|
14
14
|
import 'prop-types';
|
|
15
|
-
import '../../uuid-
|
|
15
|
+
import '../../uuid-39710dee.js';
|
|
16
16
|
import '../../ui/Avatar.js';
|
|
17
|
-
import '../../tslib.es6-
|
|
17
|
+
import '../../tslib.es6-71164428.js';
|
|
18
18
|
import '../../ui/ImageRenderer.js';
|
|
19
19
|
import '../../ui/Icon.js';
|
|
20
|
-
import '../../utils-
|
|
21
|
-
import '../../color-
|
|
20
|
+
import '../../utils-6c89c101.js';
|
|
21
|
+
import '../../color-8a34313f.js';
|
|
22
22
|
import '../../ui/Modal.js';
|
|
23
23
|
import 'react-dom';
|
|
24
|
-
import '../../index-
|
|
24
|
+
import '../../index-79815d20.js';
|
|
25
25
|
import '../../ui/IconButton.js';
|
|
26
|
-
import '../../index-
|
|
27
|
-
import '../../utils-
|
|
26
|
+
import '../../index-7f7579cb.js';
|
|
27
|
+
import '../../utils-38a1ad56.js';
|
|
28
28
|
import '../../ui/Input.js';
|
|
29
29
|
|
|
30
30
|
var ChannelProfile = function ChannelProfile() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useContext, useState } from 'react';
|
|
2
2
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
3
3
|
import { useChannelSettingsContext } from '../context.js';
|
|
4
|
-
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-
|
|
5
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
6
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
4
|
+
import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-9935530e.js';
|
|
5
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-7324a9d2.js';
|
|
6
|
+
import { a as LocalizationContext } from '../../LocalizationContext-6e75b56a.js';
|
|
7
7
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
8
8
|
import IconButton from '../../ui/IconButton.js';
|
|
9
9
|
import ChannelProfile from './ChannelProfile.js';
|
|
@@ -11,42 +11,42 @@ import AdminPannel from './ModerationPanel.js';
|
|
|
11
11
|
import LeaveChannel from './LeaveChannel.js';
|
|
12
12
|
import UserPanel from './UserPanel.js';
|
|
13
13
|
import '../../withSendbird.js';
|
|
14
|
-
import '../../_rollupPluginBabelHelpers-
|
|
15
|
-
import '../../UserProfileContext-
|
|
14
|
+
import '../../_rollupPluginBabelHelpers-c97525da.js';
|
|
15
|
+
import '../../UserProfileContext-f367c086.js';
|
|
16
16
|
import 'prop-types';
|
|
17
|
-
import '../../uuid-
|
|
17
|
+
import '../../uuid-39710dee.js';
|
|
18
18
|
import '../../ui/Loader.js';
|
|
19
|
-
import '../../stringSet-
|
|
20
|
-
import '../../index-
|
|
19
|
+
import '../../stringSet-7a28664f.js';
|
|
20
|
+
import '../../index-3444f2dd.js';
|
|
21
21
|
import '../../ui/ChannelAvatar.js';
|
|
22
22
|
import '../../ui/Avatar.js';
|
|
23
|
-
import '../../tslib.es6-
|
|
23
|
+
import '../../tslib.es6-71164428.js';
|
|
24
24
|
import '../../ui/ImageRenderer.js';
|
|
25
|
-
import '../../utils-
|
|
25
|
+
import '../../utils-6c89c101.js';
|
|
26
26
|
import '../../ui/TextButton.js';
|
|
27
|
-
import '../../color-
|
|
27
|
+
import '../../color-8a34313f.js';
|
|
28
28
|
import './EditDetailsModal.js';
|
|
29
29
|
import '../../ui/Modal.js';
|
|
30
30
|
import 'react-dom';
|
|
31
|
-
import '../../index-
|
|
32
|
-
import '../../index-
|
|
33
|
-
import '../../utils-
|
|
31
|
+
import '../../index-79815d20.js';
|
|
32
|
+
import '../../index-7f7579cb.js';
|
|
33
|
+
import '../../utils-38a1ad56.js';
|
|
34
34
|
import '../../ui/Input.js';
|
|
35
35
|
import '../../ui/Accordion.js';
|
|
36
36
|
import '../../ui/AccordionGroup.js';
|
|
37
|
-
import '../../context-
|
|
37
|
+
import '../../context-e14a3cd1.js';
|
|
38
38
|
import '../../ui/Badge.js';
|
|
39
39
|
import '../../ui/ContextMenu.js';
|
|
40
|
-
import '../../index-
|
|
40
|
+
import '../../index-2a105a6a.js';
|
|
41
41
|
import '../../ui/SortByRow.js';
|
|
42
42
|
import './UserListItem.js';
|
|
43
43
|
import '../../ui/MutedAvatarOverlay.js';
|
|
44
44
|
import '../../ui/UserProfile.js';
|
|
45
45
|
import '../../sendbirdSelectors.js';
|
|
46
|
-
import '../../topics-
|
|
46
|
+
import '../../topics-7ca110dd.js';
|
|
47
47
|
import '../../ui/UserListItem.js';
|
|
48
48
|
import '../../ui/Checkbox.js';
|
|
49
|
-
import '../../MemberList-
|
|
49
|
+
import '../../MemberList-1ef0c70c.js';
|
|
50
50
|
|
|
51
51
|
var ChannelSettingsUI = function ChannelSettingsUI(props) {
|
|
52
52
|
var _a, _b;
|
|
@@ -1,30 +1,30 @@
|
|
|
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-6e75b56a.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
|
-
import { T as Type } from '../../index-
|
|
9
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
8
|
+
import { T as Type } from '../../index-7f7579cb.js';
|
|
9
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-7324a9d2.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-39710dee.js';
|
|
13
|
+
import '../../UserProfileContext-f367c086.js';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
import '../../withSendbird.js';
|
|
16
|
-
import '../../_rollupPluginBabelHelpers-
|
|
17
|
-
import '../../stringSet-
|
|
18
|
-
import '../../index-
|
|
16
|
+
import '../../_rollupPluginBabelHelpers-c97525da.js';
|
|
17
|
+
import '../../stringSet-7a28664f.js';
|
|
18
|
+
import '../../index-3444f2dd.js';
|
|
19
19
|
import 'react-dom';
|
|
20
|
-
import '../../index-
|
|
20
|
+
import '../../index-79815d20.js';
|
|
21
21
|
import '../../ui/IconButton.js';
|
|
22
22
|
import '../../ui/Icon.js';
|
|
23
|
-
import '../../utils-
|
|
24
|
-
import '../../tslib.es6-
|
|
23
|
+
import '../../utils-38a1ad56.js';
|
|
24
|
+
import '../../tslib.es6-71164428.js';
|
|
25
25
|
import '../../ui/ImageRenderer.js';
|
|
26
|
-
import '../../color-
|
|
27
|
-
import '../../utils-
|
|
26
|
+
import '../../color-8a34313f.js';
|
|
27
|
+
import '../../utils-6c89c101.js';
|
|
28
28
|
|
|
29
29
|
var EditDetails = function EditDetails(props) {
|
|
30
30
|
var _a, _b, _c;
|
|
@@ -1,22 +1,22 @@
|
|
|
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-38a1ad56.js';
|
|
5
5
|
import Modal from '../../ui/Modal.js';
|
|
6
6
|
import '../../withSendbird.js';
|
|
7
|
-
import '../../_rollupPluginBabelHelpers-
|
|
8
|
-
import '../../UserProfileContext-
|
|
7
|
+
import '../../_rollupPluginBabelHelpers-c97525da.js';
|
|
8
|
+
import '../../UserProfileContext-f367c086.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import '../../uuid-
|
|
10
|
+
import '../../uuid-39710dee.js';
|
|
11
11
|
import 'react-dom';
|
|
12
|
-
import '../../LocalizationContext-
|
|
13
|
-
import '../../stringSet-
|
|
14
|
-
import '../../index-
|
|
15
|
-
import '../../index-
|
|
12
|
+
import '../../LocalizationContext-6e75b56a.js';
|
|
13
|
+
import '../../stringSet-7a28664f.js';
|
|
14
|
+
import '../../index-3444f2dd.js';
|
|
15
|
+
import '../../index-79815d20.js';
|
|
16
16
|
import '../../ui/IconButton.js';
|
|
17
17
|
import '../../ui/Icon.js';
|
|
18
|
-
import '../../index-
|
|
19
|
-
import '../../index-
|
|
18
|
+
import '../../index-7f7579cb.js';
|
|
19
|
+
import '../../index-7324a9d2.js';
|
|
20
20
|
|
|
21
21
|
var LeaveChannel = function LeaveChannel(props) {
|
|
22
22
|
var _a, _b, _c;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useContext, useCallback } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-6e75b56a.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-7324a9d2.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
6
6
|
import Badge from '../../ui/Badge.js';
|
|
7
|
-
import { T as Type, B as Button, a as ButtonTypes, b as ButtonSizes } from '../../index-
|
|
7
|
+
import { T as Type, B as Button, a as ButtonTypes, b as ButtonSizes } from '../../index-7f7579cb.js';
|
|
8
8
|
import IconButton from '../../ui/IconButton.js';
|
|
9
9
|
import ContextMenu, { MenuItems, MenuItem } from '../../ui/ContextMenu.js';
|
|
10
10
|
import UserListItem$1 from './UserListItem.js';
|
|
11
|
-
import { a as __spreadArray, _ as __assign } from '../../tslib.es6-
|
|
11
|
+
import { a as __spreadArray, _ as __assign } from '../../tslib.es6-71164428.js';
|
|
12
12
|
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 { M as MemberList } from '../../MemberList-
|
|
17
|
-
import { n as noop } from '../../utils-
|
|
18
|
-
import '../../stringSet-
|
|
19
|
-
import '../../index-
|
|
16
|
+
import { M as MemberList } from '../../MemberList-1ef0c70c.js';
|
|
17
|
+
import { n as noop } from '../../utils-38a1ad56.js';
|
|
18
|
+
import '../../stringSet-7a28664f.js';
|
|
19
|
+
import '../../index-3444f2dd.js';
|
|
20
20
|
import '../../ui/AccordionGroup.js';
|
|
21
|
-
import '../../context-
|
|
22
|
-
import '../../_rollupPluginBabelHelpers-
|
|
21
|
+
import '../../context-e14a3cd1.js';
|
|
22
|
+
import '../../_rollupPluginBabelHelpers-c97525da.js';
|
|
23
23
|
import 'prop-types';
|
|
24
|
-
import '../../index-
|
|
24
|
+
import '../../index-2a105a6a.js';
|
|
25
25
|
import 'react-dom';
|
|
26
26
|
import '../../ui/SortByRow.js';
|
|
27
|
-
import '../../UserProfileContext-
|
|
27
|
+
import '../../UserProfileContext-f367c086.js';
|
|
28
28
|
import '../../ui/Avatar.js';
|
|
29
29
|
import '../../ui/ImageRenderer.js';
|
|
30
|
-
import '../../uuid-
|
|
30
|
+
import '../../uuid-39710dee.js';
|
|
31
31
|
import '../../ui/MutedAvatarOverlay.js';
|
|
32
32
|
import '../../ui/UserProfile.js';
|
|
33
33
|
import '../../withSendbird.js';
|
|
34
34
|
import '../../sendbirdSelectors.js';
|
|
35
|
-
import '../../topics-
|
|
36
|
-
import '../../index-
|
|
35
|
+
import '../../topics-7ca110dd.js';
|
|
36
|
+
import '../../index-79815d20.js';
|
|
37
37
|
import '../../ui/Checkbox.js';
|
|
38
38
|
|
|
39
39
|
function OperatorsModal(_a) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../../tslib.es6-71164428.js';
|
|
2
2
|
import React__default, { useRef, useContext } from 'react';
|
|
3
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
4
|
-
import { a as UserProfileContext } from '../../UserProfileContext-
|
|
3
|
+
import { a as LocalizationContext } from '../../LocalizationContext-6e75b56a.js';
|
|
4
|
+
import { a as UserProfileContext } from '../../UserProfileContext-f367c086.js';
|
|
5
5
|
import Avatar from '../../ui/Avatar.js';
|
|
6
6
|
import MutedAvatarOverlay from '../../ui/MutedAvatarOverlay.js';
|
|
7
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
7
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-7324a9d2.js';
|
|
8
8
|
import ConnectedUserProfile from '../../ui/UserProfile.js';
|
|
9
9
|
import ContextMenu, { MenuItems } from '../../ui/ContextMenu.js';
|
|
10
|
-
import '../../stringSet-
|
|
11
|
-
import '../../index-
|
|
10
|
+
import '../../stringSet-7a28664f.js';
|
|
11
|
+
import '../../index-3444f2dd.js';
|
|
12
12
|
import 'prop-types';
|
|
13
13
|
import '../../ui/ImageRenderer.js';
|
|
14
|
-
import '../../_rollupPluginBabelHelpers-
|
|
14
|
+
import '../../_rollupPluginBabelHelpers-c97525da.js';
|
|
15
15
|
import '../../ui/Icon.js';
|
|
16
|
-
import '../../uuid-
|
|
16
|
+
import '../../uuid-39710dee.js';
|
|
17
17
|
import '../../withSendbird.js';
|
|
18
18
|
import '../../sendbirdSelectors.js';
|
|
19
|
-
import '../../topics-
|
|
20
|
-
import '../../utils-
|
|
21
|
-
import '../../index-
|
|
22
|
-
import '../../index-
|
|
19
|
+
import '../../topics-7ca110dd.js';
|
|
20
|
+
import '../../utils-38a1ad56.js';
|
|
21
|
+
import '../../index-7f7579cb.js';
|
|
22
|
+
import '../../index-2a105a6a.js';
|
|
23
23
|
import 'react-dom';
|
|
24
24
|
import '../../ui/SortByRow.js';
|
|
25
25
|
|
|
@@ -1,34 +1,34 @@
|
|
|
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-6e75b56a.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-7324a9d2.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-1ef0c70c.js';
|
|
7
7
|
import { useChannelSettingsContext } from '../context.js';
|
|
8
|
-
import '../../stringSet-
|
|
9
|
-
import '../../index-
|
|
10
|
-
import '../../_rollupPluginBabelHelpers-
|
|
8
|
+
import '../../stringSet-7a28664f.js';
|
|
9
|
+
import '../../index-3444f2dd.js';
|
|
10
|
+
import '../../_rollupPluginBabelHelpers-c97525da.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../../index-
|
|
12
|
+
import '../../index-7f7579cb.js';
|
|
13
13
|
import '../../ui/IconButton.js';
|
|
14
14
|
import '../../ui/ContextMenu.js';
|
|
15
|
-
import '../../index-
|
|
16
|
-
import '../../tslib.es6-
|
|
15
|
+
import '../../index-2a105a6a.js';
|
|
16
|
+
import '../../tslib.es6-71164428.js';
|
|
17
17
|
import 'react-dom';
|
|
18
18
|
import '../../ui/SortByRow.js';
|
|
19
19
|
import './UserListItem.js';
|
|
20
|
-
import '../../UserProfileContext-
|
|
20
|
+
import '../../UserProfileContext-f367c086.js';
|
|
21
21
|
import '../../ui/Avatar.js';
|
|
22
22
|
import '../../ui/ImageRenderer.js';
|
|
23
|
-
import '../../uuid-
|
|
23
|
+
import '../../uuid-39710dee.js';
|
|
24
24
|
import '../../ui/MutedAvatarOverlay.js';
|
|
25
25
|
import '../../ui/UserProfile.js';
|
|
26
26
|
import '../../withSendbird.js';
|
|
27
27
|
import '../../sendbirdSelectors.js';
|
|
28
|
-
import '../../topics-
|
|
29
|
-
import '../../utils-
|
|
28
|
+
import '../../topics-7ca110dd.js';
|
|
29
|
+
import '../../utils-38a1ad56.js';
|
|
30
30
|
import '../../ui/Modal.js';
|
|
31
|
-
import '../../index-
|
|
31
|
+
import '../../index-79815d20.js';
|
|
32
32
|
import '../../ui/UserListItem.js';
|
|
33
33
|
import '../../ui/Checkbox.js';
|
|
34
34
|
import '../../useSendbirdStateContext.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
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-f367c086.js';
|
|
4
|
+
import { u as uuidv4 } from '../uuid-39710dee.js';
|
|
5
5
|
import '../withSendbird.js';
|
|
6
|
-
import '../_rollupPluginBabelHelpers-
|
|
6
|
+
import '../_rollupPluginBabelHelpers-c97525da.js';
|
|
7
7
|
import 'prop-types';
|
|
8
8
|
|
|
9
9
|
var ChannelSettingsContext = /*#__PURE__*/React__default.createContext(undefined);
|
package/ChannelSettings.js
CHANGED
|
@@ -3,49 +3,49 @@ 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-
|
|
6
|
+
import './_rollupPluginBabelHelpers-c97525da.js';
|
|
7
|
+
import './index-9935530e.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
import './ui/Icon.js';
|
|
10
10
|
import './ui/Loader.js';
|
|
11
|
-
import './LocalizationContext-
|
|
12
|
-
import './stringSet-
|
|
13
|
-
import './index-
|
|
14
|
-
import './index-
|
|
11
|
+
import './LocalizationContext-6e75b56a.js';
|
|
12
|
+
import './stringSet-7a28664f.js';
|
|
13
|
+
import './index-3444f2dd.js';
|
|
14
|
+
import './index-7324a9d2.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
|
-
import './tslib.es6-
|
|
19
|
+
import './tslib.es6-71164428.js';
|
|
20
20
|
import './ui/ImageRenderer.js';
|
|
21
|
-
import './uuid-
|
|
22
|
-
import './utils-
|
|
21
|
+
import './uuid-39710dee.js';
|
|
22
|
+
import './utils-6c89c101.js';
|
|
23
23
|
import './ui/TextButton.js';
|
|
24
|
-
import './color-
|
|
24
|
+
import './color-8a34313f.js';
|
|
25
25
|
import './ChannelSettings/components/EditDetailsModal.js';
|
|
26
26
|
import './ui/Modal.js';
|
|
27
27
|
import 'react-dom';
|
|
28
|
-
import './index-
|
|
29
|
-
import './index-
|
|
30
|
-
import './utils-
|
|
28
|
+
import './index-79815d20.js';
|
|
29
|
+
import './index-7f7579cb.js';
|
|
30
|
+
import './utils-38a1ad56.js';
|
|
31
31
|
import './ui/Input.js';
|
|
32
32
|
import './ChannelSettings/components/ModerationPanel.js';
|
|
33
33
|
import './ui/Accordion.js';
|
|
34
34
|
import './ui/AccordionGroup.js';
|
|
35
|
-
import './context-
|
|
35
|
+
import './context-e14a3cd1.js';
|
|
36
36
|
import './ui/Badge.js';
|
|
37
37
|
import './ui/ContextMenu.js';
|
|
38
|
-
import './index-
|
|
38
|
+
import './index-2a105a6a.js';
|
|
39
39
|
import './ui/SortByRow.js';
|
|
40
40
|
import './ChannelSettings/components/UserListItem.js';
|
|
41
|
-
import './UserProfileContext-
|
|
41
|
+
import './UserProfileContext-f367c086.js';
|
|
42
42
|
import './ui/MutedAvatarOverlay.js';
|
|
43
43
|
import './ui/UserProfile.js';
|
|
44
44
|
import './sendbirdSelectors.js';
|
|
45
|
-
import './topics-
|
|
45
|
+
import './topics-7ca110dd.js';
|
|
46
46
|
import './ui/UserListItem.js';
|
|
47
47
|
import './ui/Checkbox.js';
|
|
48
|
-
import './MemberList-
|
|
48
|
+
import './MemberList-1ef0c70c.js';
|
|
49
49
|
import './ChannelSettings/components/LeaveChannel.js';
|
|
50
50
|
import './ChannelSettings/components/UserPanel.js';
|
|
51
51
|
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { u as useCreateChannelContext } from '../../CreateChannelProvider-
|
|
2
|
+
import { u as useCreateChannelContext } from '../../CreateChannelProvider-0e54306e.js';
|
|
3
3
|
import InviteUsers from './InviteUsers.js';
|
|
4
4
|
import SelectChannelType from './SelectChannelType.js';
|
|
5
5
|
import '../../sendbirdSelectors.js';
|
|
6
|
-
import '../../topics-
|
|
7
|
-
import '../../utils-
|
|
6
|
+
import '../../topics-7ca110dd.js';
|
|
7
|
+
import '../../utils-38a1ad56.js';
|
|
8
8
|
import '../../useSendbirdStateContext.js';
|
|
9
9
|
import '../../withSendbird.js';
|
|
10
|
-
import '../../_rollupPluginBabelHelpers-
|
|
11
|
-
import '../../tslib.es6-
|
|
12
|
-
import '../../LocalizationContext-
|
|
13
|
-
import '../../stringSet-
|
|
14
|
-
import '../../index-
|
|
10
|
+
import '../../_rollupPluginBabelHelpers-c97525da.js';
|
|
11
|
+
import '../../tslib.es6-71164428.js';
|
|
12
|
+
import '../../LocalizationContext-6e75b56a.js';
|
|
13
|
+
import '../../stringSet-7a28664f.js';
|
|
14
|
+
import '../../index-3444f2dd.js';
|
|
15
15
|
import '../../ui/Modal.js';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import 'react-dom';
|
|
18
|
-
import '../../index-
|
|
18
|
+
import '../../index-79815d20.js';
|
|
19
19
|
import '../../ui/IconButton.js';
|
|
20
20
|
import '../../ui/Icon.js';
|
|
21
|
-
import '../../index-
|
|
22
|
-
import '../../index-
|
|
21
|
+
import '../../index-7f7579cb.js';
|
|
22
|
+
import '../../index-7324a9d2.js';
|
|
23
23
|
import '../../ui/UserListItem.js';
|
|
24
|
-
import '../../UserProfileContext-
|
|
24
|
+
import '../../UserProfileContext-f367c086.js';
|
|
25
25
|
import '../../ui/Avatar.js';
|
|
26
26
|
import '../../ui/ImageRenderer.js';
|
|
27
|
-
import '../../uuid-
|
|
27
|
+
import '../../uuid-39710dee.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
|
-
import '../../index-
|
|
32
|
+
import '../../index-2a105a6a.js';
|
|
33
33
|
import '../../ui/SortByRow.js';
|
|
34
34
|
|
|
35
35
|
var CreateChannel = function CreateChannel(props) {
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { a as __spreadArray, _ as __assign } from '../../tslib.es6-
|
|
1
|
+
import { a as __spreadArray, _ as __assign } from '../../tslib.es6-71164428.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-6e75b56a.js';
|
|
4
|
+
import { u as useCreateChannelContext } from '../../CreateChannelProvider-0e54306e.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-
|
|
8
|
-
import { a as ButtonTypes } from '../../index-
|
|
7
|
+
import { L as Label, b as LabelColors, a as LabelTypography } from '../../index-7324a9d2.js';
|
|
8
|
+
import { a as ButtonTypes } from '../../index-7f7579cb.js';
|
|
9
9
|
import UserListItem from '../../ui/UserListItem.js';
|
|
10
|
-
import '../../stringSet-
|
|
11
|
-
import '../../index-
|
|
10
|
+
import '../../stringSet-7a28664f.js';
|
|
11
|
+
import '../../index-3444f2dd.js';
|
|
12
12
|
import '../../sendbirdSelectors.js';
|
|
13
|
-
import '../../topics-
|
|
14
|
-
import '../../utils-
|
|
13
|
+
import '../../topics-7ca110dd.js';
|
|
14
|
+
import '../../utils-38a1ad56.js';
|
|
15
15
|
import '../../withSendbird.js';
|
|
16
|
-
import '../../_rollupPluginBabelHelpers-
|
|
16
|
+
import '../../_rollupPluginBabelHelpers-c97525da.js';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import 'react-dom';
|
|
19
|
-
import '../../index-
|
|
19
|
+
import '../../index-79815d20.js';
|
|
20
20
|
import '../../ui/IconButton.js';
|
|
21
21
|
import '../../ui/Icon.js';
|
|
22
|
-
import '../../UserProfileContext-
|
|
22
|
+
import '../../UserProfileContext-f367c086.js';
|
|
23
23
|
import '../../ui/Avatar.js';
|
|
24
24
|
import '../../ui/ImageRenderer.js';
|
|
25
|
-
import '../../uuid-
|
|
25
|
+
import '../../uuid-39710dee.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
|
-
import '../../index-
|
|
30
|
+
import '../../index-2a105a6a.js';
|
|
31
31
|
import '../../ui/SortByRow.js';
|
|
32
32
|
|
|
33
33
|
var filterUser = function filterUser(idsToFilter) {
|
|
@@ -80,7 +80,7 @@ var InviteUsers = function InviteUsers(_a) {
|
|
|
80
80
|
var globalStore = useSendbirdStateContext();
|
|
81
81
|
var userId = (_b = globalStore === null || globalStore === void 0 ? void 0 : globalStore.config) === null || _b === void 0 ? void 0 : _b.userId;
|
|
82
82
|
var sdk = (_d = (_c = globalStore === null || globalStore === void 0 ? void 0 : globalStore.stores) === null || _c === void 0 ? void 0 : _c.sdkStore) === null || _d === void 0 ? void 0 : _d.sdk;
|
|
83
|
-
|
|
83
|
+
(_e = globalStore === null || globalStore === void 0 ? void 0 : globalStore.config) === null || _e === void 0 ? void 0 : _e.logger;
|
|
84
84
|
var idsToFilter = [userId];
|
|
85
85
|
|
|
86
86
|
var _g = useState([]),
|
|
@@ -105,14 +105,12 @@ var InviteUsers = function InviteUsers(_a) {
|
|
|
105
105
|
});
|
|
106
106
|
useEffect(function () {
|
|
107
107
|
var applicationUserListQuery = userQueryCreator;
|
|
108
|
-
setUsersDataSource(applicationUserListQuery);
|
|
108
|
+
setUsersDataSource(applicationUserListQuery); // @ts-ignore
|
|
109
109
|
|
|
110
|
-
|
|
110
|
+
if (!(applicationUserListQuery === null || applicationUserListQuery === void 0 ? void 0 : applicationUserListQuery.isLoading)) {
|
|
111
111
|
applicationUserListQuery.next().then(function (users_) {
|
|
112
112
|
setUsers(users_);
|
|
113
113
|
});
|
|
114
|
-
} catch (error) {
|
|
115
|
-
logger.warning('CreateChannel: applicationUserListQuery error', error);
|
|
116
114
|
}
|
|
117
115
|
}, []);
|
|
118
116
|
return /*#__PURE__*/React__default.createElement(Modal, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InviteUsers.js","sources":["../../../src/smart-components/CreateChannel/components/InviteUsers/utils.ts","../../../src/smart-components/CreateChannel/components/InviteUsers/index.tsx"],"sourcesContent":["import type { ApplicationUserListQuery } from \"@sendbird/chat\";\nimport type { GroupChannelCreateParams, SendbirdGroupChat } from \"@sendbird/chat/groupChannel\";\nimport { CHANNEL_TYPE } from \"../../types\";\n\nexport const filterUser = (idsToFilter: string[]) => (currentId: string): boolean => idsToFilter?.includes(currentId);\n\nexport const setChannelType = (\n params: GroupChannelCreateParams,\n type: CHANNEL_TYPE,\n): GroupChannelCreateParams => {\n if (type === 'broadcast') {\n // eslint-disable-next-line no-param-reassign\n params.isBroadcast = true;\n }\n if (type === 'supergroup') {\n // eslint-disable-next-line no-param-reassign\n params.isSuper = true;\n }\n return params;\n};\n\ntype CreateDefaultUserListQueryType = {\n sdk: SendbirdGroupChat;\n userFilledApplicationUserListQuery?: ApplicationUserListQuery;\n}\n\nexport const createDefaultUserListQuery = (\n { sdk, userFilledApplicationUserListQuery }: CreateDefaultUserListQueryType\n): ApplicationUserListQuery => {\n if (sdk?.createApplicationUserListQuery) {\n const params = sdk?.createApplicationUserListQuery();\n if (userFilledApplicationUserListQuery) {\n Object.keys(userFilledApplicationUserListQuery).forEach((key) => {\n params[key] = userFilledApplicationUserListQuery[key];\n });\n }\n return params;\n }\n};\n","import React, { useState, useEffect, useContext } from 'react';\nimport type { ApplicationUserListQuery } from '@sendbird/chat';\n\nimport './invite-users.scss';\nimport { LocalizationContext } from '../../../../lib/LocalizationContext';\nimport { useCreateChannelContext } from '../../context/CreateChannelProvider';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\nimport type { GroupChannelCreateParams, SendbirdGroupChat } from '@sendbird/chat/groupChannel';\n\nimport Modal from '../../../../ui/Modal';\nimport Label, {\n LabelColors,\n LabelTypography,\n} from '../../../../ui/Label';\nimport { ButtonTypes } from '../../../../ui/Button';\nimport UserListItem from '../../../../ui/UserListItem';\nimport { UserListQuery } from '../../context/CreateChannelProvider';\n\nimport {\n filterUser,\n setChannelType,\n createDefaultUserListQuery,\n} from './utils';\n\nexport interface InviteUsersProps {\n onCancel?: () => void;\n userListQuery?(): UserListQuery;\n}\n\nconst InviteUsers: React.FC<InviteUsersProps> = ({\n onCancel,\n userListQuery,\n}: InviteUsersProps) => {\n const {\n onBeforeCreateChannel,\n onCreateChannel,\n createChannel,\n type,\n } = useCreateChannelContext();\n\n const globalStore = useSendbirdStateContext();\n const userId = globalStore?.config?.userId;\n const sdk = globalStore?.stores?.sdkStore?.sdk as SendbirdGroupChat;\n const logger = globalStore?.config?.logger;\n const idsToFilter = [userId];\n const [users, setUsers] = useState([]);\n const [selectedUsers, setSelectedUsers] = useState({});\n const { stringSet } = useContext(LocalizationContext);\n const [usersDataSource, setUsersDataSource] = useState<ApplicationUserListQuery | UserListQuery>(null);\n const selectedCount = Object.keys(selectedUsers).length;\n const titleText = stringSet.MODAL__CREATE_CHANNEL__TITLE;\n const submitText = stringSet.BUTTON__CREATE;\n\n const userQueryCreator = userListQuery ? userListQuery() : createDefaultUserListQuery({ sdk });\n\n useEffect(() => {\n const applicationUserListQuery = userQueryCreator;\n setUsersDataSource(applicationUserListQuery);\n try {\n applicationUserListQuery.next().then((users_) => {\n setUsers(users_);\n });\n } catch (error) {\n logger.warning('CreateChannel: applicationUserListQuery error', error);\n }\n }, []);\n\n return (\n <Modal\n titleText={titleText}\n submitText={submitText}\n type={ButtonTypes.PRIMARY}\n onCancel={onCancel}\n onSubmit={() => {\n const selectedUserList = Object.keys(selectedUsers);\n if (selectedUserList.length > 0) {\n if (onBeforeCreateChannel) {\n const params = onBeforeCreateChannel(selectedUserList);\n setChannelType(params, type);\n createChannel(params).then((channel) => {\n onCreateChannel(channel);\n });\n } else {\n const params: GroupChannelCreateParams = {};\n params.invitedUserIds = selectedUserList;\n params.isDistinct = false;\n if (userId) {\n params.operatorUserIds = [userId];\n }\n setChannelType(params, type);\n // do not have custom params\n createChannel(params).then((channel) => {\n onCreateChannel(channel);\n });\n }\n onCancel();\n }\n }}\n >\n <div>\n <Label\n color={(selectedCount > 0) ? LabelColors.PRIMARY : LabelColors.ONBACKGROUND_3}\n type={LabelTypography.CAPTION_1}\n >\n {`${selectedCount} ${stringSet.MODAL__INVITE_MEMBER__SELECTEC}`}\n </Label>\n <div\n className=\"sendbird-create-channel--scroll\"\n onScroll={(e) => {\n const eventTarget = e.target as HTMLDivElement;\n const { hasNext } = usersDataSource;\n const fetchMore = (\n eventTarget.clientHeight + eventTarget.scrollTop === eventTarget.scrollHeight\n );\n\n if (hasNext && fetchMore) {\n usersDataSource.next().then((usersBatch) => {\n setUsers([\n ...users,\n ...usersBatch,\n ]);\n });\n }\n }}\n >\n {\n users.map((user) => (!filterUser(idsToFilter)(user.userId)) && (\n <UserListItem\n key={user.userId}\n user={user}\n checkBox\n checked={selectedUsers[user.userId]}\n onChange={\n (event) => {\n const modifiedSelectedUsers = {\n ...selectedUsers,\n [event.target.id]: event.target.checked,\n };\n if (!event.target.checked) {\n delete modifiedSelectedUsers[event.target.id];\n }\n setSelectedUsers(modifiedSelectedUsers);\n }\n }\n />\n ))\n }\n </div>\n </div>\n </Modal>\n );\n};\n\nexport default InviteUsers;\n"],"names":["filterUser","idsToFilter","currentId","includes","setChannelType","params","type","isBroadcast","isSuper","createDefaultUserListQuery","_a","sdk","userFilledApplicationUserListQuery","createApplicationUserListQuery","params_1","Object","keys","forEach","key","InviteUsers","onCancel","userListQuery","_f","useCreateChannelContext","onBeforeCreateChannel","onCreateChannel","createChannel","globalStore","useSendbirdStateContext","userId","config","stores","sdkStore","logger","_g","useState","users","setUsers","_h","selectedUsers","setSelectedUsers","stringSet","useContext","LocalizationContext","_j","usersDataSource","setUsersDataSource","selectedCount","length","titleText","MODAL__CREATE_CHANNEL__TITLE","submitText","BUTTON__CREATE","userQueryCreator","useEffect","applicationUserListQuery","next","then","users_","error","warning","React","ButtonTypes","PRIMARY","selectedUserList","channel","invitedUserIds","isDistinct","operatorUserIds","LabelColors","ONBACKGROUND_3","LabelTypography","CAPTION_1","MODAL__INVITE_MEMBER__SELECTEC","e","eventTarget","target","hasNext","fetchMore","clientHeight","scrollTop","scrollHeight","usersBatch","map","user","event","modifiedSelectedUsers","id","checked"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIO,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAACC,WAAD;AAA2B,SAAA,UAACC,SAAD;AAAgC,WAAAD,WAAW,SAAX,IAAAA,WAAW,WAAX,SAAA,GAAAA,WAAW,CAAEE,QAAb,CAAsBD,SAAtB,CAAA;AAAgC,GAAhE;AAAgE,CAA9G;AAEA,IAAME,cAA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AACD/C,QAAAA,gBAAgB,CAAC8C,qBAAD,CAAhB;AACD;AAfL,MADkB;AAmBnB,GAnBD,CApBJ,CAPF,CA/BF,CADF;AAoFD;;;;"}
|
|
1
|
+
{"version":3,"file":"InviteUsers.js","sources":["../../../src/smart-components/CreateChannel/components/InviteUsers/utils.ts","../../../src/smart-components/CreateChannel/components/InviteUsers/index.tsx"],"sourcesContent":["import type { ApplicationUserListQuery } from \"@sendbird/chat\";\nimport type { GroupChannelCreateParams, SendbirdGroupChat } from \"@sendbird/chat/groupChannel\";\nimport { CHANNEL_TYPE } from \"../../types\";\n\nexport const filterUser = (idsToFilter: string[]) => (currentId: string): boolean => idsToFilter?.includes(currentId);\n\nexport const setChannelType = (\n params: GroupChannelCreateParams,\n type: CHANNEL_TYPE,\n): GroupChannelCreateParams => {\n if (type === 'broadcast') {\n // eslint-disable-next-line no-param-reassign\n params.isBroadcast = true;\n }\n if (type === 'supergroup') {\n // eslint-disable-next-line no-param-reassign\n params.isSuper = true;\n }\n return params;\n};\n\ntype CreateDefaultUserListQueryType = {\n sdk: SendbirdGroupChat;\n userFilledApplicationUserListQuery?: ApplicationUserListQuery;\n}\n\nexport const createDefaultUserListQuery = (\n { sdk, userFilledApplicationUserListQuery }: CreateDefaultUserListQueryType\n): ApplicationUserListQuery => {\n if (sdk?.createApplicationUserListQuery) {\n const params = sdk?.createApplicationUserListQuery();\n if (userFilledApplicationUserListQuery) {\n Object.keys(userFilledApplicationUserListQuery).forEach((key) => {\n params[key] = userFilledApplicationUserListQuery[key];\n });\n }\n return params;\n }\n};\n","import React, { useState, useEffect, useContext } from 'react';\nimport type { ApplicationUserListQuery } from '@sendbird/chat';\n\nimport './invite-users.scss';\nimport { LocalizationContext } from '../../../../lib/LocalizationContext';\nimport { useCreateChannelContext } from '../../context/CreateChannelProvider';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\nimport type { GroupChannelCreateParams, SendbirdGroupChat } from '@sendbird/chat/groupChannel';\n\nimport Modal from '../../../../ui/Modal';\nimport Label, {\n LabelColors,\n LabelTypography,\n} from '../../../../ui/Label';\nimport { ButtonTypes } from '../../../../ui/Button';\nimport UserListItem from '../../../../ui/UserListItem';\nimport { UserListQuery } from '../../context/CreateChannelProvider';\n\nimport {\n filterUser,\n setChannelType,\n createDefaultUserListQuery,\n} from './utils';\n\nexport interface InviteUsersProps {\n onCancel?: () => void;\n userListQuery?(): UserListQuery;\n}\n\nconst InviteUsers: React.FC<InviteUsersProps> = ({\n onCancel,\n userListQuery,\n}: InviteUsersProps) => {\n const {\n onBeforeCreateChannel,\n onCreateChannel,\n createChannel,\n type,\n } = useCreateChannelContext();\n\n const globalStore = useSendbirdStateContext();\n const userId = globalStore?.config?.userId;\n const sdk = globalStore?.stores?.sdkStore?.sdk as SendbirdGroupChat;\n const logger = globalStore?.config?.logger;\n const idsToFilter = [userId];\n const [users, setUsers] = useState([]);\n const [selectedUsers, setSelectedUsers] = useState({});\n const { stringSet } = useContext(LocalizationContext);\n const [usersDataSource, setUsersDataSource] = useState<ApplicationUserListQuery | UserListQuery>(null);\n const selectedCount = Object.keys(selectedUsers).length;\n const titleText = stringSet.MODAL__CREATE_CHANNEL__TITLE;\n const submitText = stringSet.BUTTON__CREATE;\n\n const userQueryCreator = userListQuery ? userListQuery() : createDefaultUserListQuery({ sdk });\n\n useEffect(() => {\n const applicationUserListQuery = userQueryCreator;\n setUsersDataSource(applicationUserListQuery);\n // @ts-ignore\n if (!applicationUserListQuery?.isLoading) {\n applicationUserListQuery.next().then((users_) => {\n setUsers(users_);\n });\n }\n }, []);\n\n return (\n <Modal\n titleText={titleText}\n submitText={submitText}\n type={ButtonTypes.PRIMARY}\n onCancel={onCancel}\n onSubmit={() => {\n const selectedUserList = Object.keys(selectedUsers);\n if (selectedUserList.length > 0) {\n if (onBeforeCreateChannel) {\n const params = onBeforeCreateChannel(selectedUserList);\n setChannelType(params, type);\n createChannel(params).then((channel) => {\n onCreateChannel(channel);\n });\n } else {\n const params: GroupChannelCreateParams = {};\n params.invitedUserIds = selectedUserList;\n params.isDistinct = false;\n if (userId) {\n params.operatorUserIds = [userId];\n }\n setChannelType(params, type);\n // do not have custom params\n createChannel(params).then((channel) => {\n onCreateChannel(channel);\n });\n }\n onCancel();\n }\n }}\n >\n <div>\n <Label\n color={(selectedCount > 0) ? LabelColors.PRIMARY : LabelColors.ONBACKGROUND_3}\n type={LabelTypography.CAPTION_1}\n >\n {`${selectedCount} ${stringSet.MODAL__INVITE_MEMBER__SELECTEC}`}\n </Label>\n <div\n className=\"sendbird-create-channel--scroll\"\n onScroll={(e) => {\n const eventTarget = e.target as HTMLDivElement;\n const { hasNext } = usersDataSource;\n const fetchMore = (\n eventTarget.clientHeight + eventTarget.scrollTop === eventTarget.scrollHeight\n );\n\n if (hasNext && fetchMore) {\n usersDataSource.next().then((usersBatch) => {\n setUsers([\n ...users,\n ...usersBatch,\n ]);\n });\n }\n }}\n >\n {\n users.map((user) => (!filterUser(idsToFilter)(user.userId)) && (\n <UserListItem\n key={user.userId}\n user={user}\n checkBox\n checked={selectedUsers[user.userId]}\n onChange={\n (event) => {\n const modifiedSelectedUsers = {\n ...selectedUsers,\n [event.target.id]: event.target.checked,\n };\n if (!event.target.checked) {\n delete modifiedSelectedUsers[event.target.id];\n }\n setSelectedUsers(modifiedSelectedUsers);\n }\n }\n />\n ))\n }\n </div>\n </div>\n </Modal>\n );\n};\n\nexport default InviteUsers;\n"],"names":["filterUser","idsToFilter","currentId","includes","setChannelType","params","type","isBroadcast","isSuper","createDefaultUserListQuery","_a","sdk","userFilledApplicationUserListQuery","createApplicationUserListQuery","params_1","Object","keys","forEach","key","InviteUsers","onCancel","userListQuery","_f","useCreateChannelContext","onBeforeCreateChannel","onCreateChannel","createChannel","globalStore","useSendbirdStateContext","userId","config","stores","sdkStore","logger","_g","useState","users","setUsers","_h","selectedUsers","setSelectedUsers","stringSet","useContext","LocalizationContext","_j","usersDataSource","setUsersDataSource","selectedCount","length","titleText","MODAL__CREATE_CHANNEL__TITLE","submitText","BUTTON__CREATE","userQueryCreator","useEffect","applicationUserListQuery","isLoading","next","then","users_","React","ButtonTypes","PRIMARY","selectedUserList","channel","invitedUserIds","isDistinct","operatorUserIds","LabelColors","ONBACKGROUND_3","LabelTypography","CAPTION_1","MODAL__INVITE_MEMBER__SELECTEC","e","eventTarget","target","hasNext","fetchMore","clientHeight","scrollTop","scrollHeight","usersBatch","map","user","event","modifiedSelectedUsers","id","checked"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIO,IAAMA,UAAU,GAAG,SAAbA,UAAa,CAACC,WAAD;AAA2B,SAAA,UAACC,SAAD;AAAgC,WAAAD,WAAW,SAAX,IAAAA,WAAW,WAAX,SAAA,GAAAA,WAAW,CAAEE,QAAb,CAAsBD,SAAtB,CAAA;AAAgC,GAAhE;AAAgE,CAA9G;AAEA,IAAME,cAAc,GAAG,SAAjBA,cAAiB,CAC5BC,MAD4B,EAE5BC,IAF4B;AAI5B,MAAIA,IAAI,KAAK,WAAb,EAA0B;AACxB;AACAD,IAAAA,MAAM,CAACE,WAAP,GAAqB,IAArB;AACD;;AACD,MAAID,IAAI,KAAK,YAAb,EAA2B;AACzB;AACAD,IAAAA,MAAM,CAACG,OAAP,GAAiB,IAAjB;AACD;;AACD,SAAOH,MAAP;AACD,CAbM;AAoBA,IAAMI,0BAA0B,GAAG,SAA7BA,0BAA6B,CACxCC,EADwC;MACtCC,GAAG;MAAEC,kCAAkC;;AAEzC,MAAID,GAAG,SAAH,IAAAA,GAAG,WAAH,SAAA,GAAAA,GAAG,CAAEE,8BAAT,EAAyC;AACvC,QAAMC,QAAM,GAAGH,GAAG,SAAH,IAAAA,GAAG,WAAH,SAAA,GAAAA,GAAG,CAAEE,8BAAL,EAAf;;AACA,QAAID,kCAAJ,EAAwC;AACtCG,MAAAA,MAAM,CAACC,IAAP,CAAYJ,kCAAZ,EAAgDK,OAAhD,CAAwD,UAACC,GAAD;AACtDJ,QAAAA,QAAM,CAACI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