@sendbird/uikit-react 3.4.4-rc.2 → 3.4.4
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 +40 -40
- package/CHANGELOG.md +7 -5
- package/Channel/components/ChannelHeader.js +19 -19
- package/Channel/components/ChannelUI.js +33 -33
- package/Channel/components/FileViewer.js +15 -15
- package/Channel/components/FrozenNotification.js +4 -4
- package/Channel/components/Message.js +28 -28
- package/Channel/components/MessageInput.js +24 -24
- package/Channel/components/MessageList.js +29 -29
- package/Channel/components/RemoveMessageModal.js +17 -17
- package/Channel/components/SuggestedMentionList.js +17 -17
- package/Channel/components/TypingIndicator.js +15 -15
- package/Channel/components/UnreadCount.js +4 -4
- package/Channel/context.js +14 -14
- package/Channel.js +33 -33
- package/ChannelList/components/AddChannel.js +15 -15
- package/ChannelList/components/ChannelListHeader.js +6 -6
- package/ChannelList/components/ChannelListUI.js +30 -30
- package/ChannelList/components/ChannelPreview.js +26 -26
- package/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/ChannelList/context.js +8 -8
- package/ChannelList.js +30 -30
- package/{ChannelListProvider-44e8547a.js → ChannelListProvider-3c107fc7.js} +8 -8
- package/{ChannelListProvider-44e8547a.js.map → ChannelListProvider-3c107fc7.js.map} +1 -1
- package/{ChannelProvider-67ab36df.js → ChannelProvider-28639e83.js} +10 -10
- package/{ChannelProvider-67ab36df.js.map → ChannelProvider-28639e83.js.map} +1 -1
- package/ChannelSettings/components/ChannelProfile.js +11 -11
- package/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +14 -14
- package/ChannelSettings/components/UserListItem.js +10 -10
- package/ChannelSettings/components/UserPanel.js +13 -13
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +17 -17
- package/CreateChannel/components/CreateChannelUI.js +13 -13
- package/CreateChannel/components/InviteUsers.js +13 -13
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +13 -13
- package/{CreateChannelProvider-f1fbf439.js → CreateChannelProvider-09772304.js} +1 -1
- package/{CreateChannelProvider-f1fbf439.js.map → CreateChannelProvider-09772304.js.map} +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +9 -9
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile.js +12 -12
- package/{LocalizationContext-a20f1269.js → LocalizationContext-ef72d4b1.js} +3 -3
- package/{LocalizationContext-a20f1269.js.map → LocalizationContext-ef72d4b1.js.map} +1 -1
- package/{MediaQueryContext-8db5b11a.js → MediaQueryContext-683c7242.js} +1 -1
- package/{MediaQueryContext-8db5b11a.js.map → MediaQueryContext-683c7242.js.map} +1 -1
- package/{MemberList-bb8a12ee.js → MemberList-0bc3ff4a.js} +5 -5
- package/{MemberList-bb8a12ee.js.map → MemberList-0bc3ff4a.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +11 -11
- package/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/OpenChannel/components/OpenChannelInput.js +16 -16
- package/OpenChannel/components/OpenChannelMessage.js +23 -23
- package/OpenChannel/components/OpenChannelMessageList.js +26 -26
- package/OpenChannel/components/OpenChannelUI.js +26 -26
- package/OpenChannel/context.js +8 -8
- package/OpenChannel.js +26 -26
- package/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/OpenChannelList/components/OpenChannelPreview.js +4 -4
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +13 -13
- package/{OpenChannelListProvider-123511bc.js → OpenChannelListProvider-e5246224.js} +3 -3
- package/{OpenChannelListProvider-123511bc.js.map → OpenChannelListProvider-e5246224.js.map} +1 -1
- package/{OpenChannelProvider-2bc7b16f.js → OpenChannelProvider-c5952f33.js} +7 -7
- package/{OpenChannelProvider-2bc7b16f.js.map → OpenChannelProvider-c5952f33.js.map} +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +12 -12
- package/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +17 -17
- package/{RemoveMessageModal-6c854075.js → RemoveMessageModal-63a8b079.js} +3 -3
- package/{RemoveMessageModal-6c854075.js.map → RemoveMessageModal-63a8b079.js.map} +1 -1
- package/SendbirdProvider.js +12 -12
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +25 -25
- package/Thread/components/ParentMessageInfoItem.js +15 -15
- package/Thread/components/ThreadHeader.js +6 -6
- package/Thread/components/ThreadList.js +28 -28
- package/Thread/components/ThreadListItem.js +28 -28
- package/Thread/components/ThreadMessageInput.js +25 -25
- package/Thread/components/ThreadUI.js +32 -32
- package/Thread/context.js +8 -8
- package/Thread.js +32 -32
- package/{ThreadProvider-9b68bbfb.js → ThreadProvider-435a6f11.js} +7 -7
- package/{ThreadProvider-9b68bbfb.js.map → ThreadProvider-435a6f11.js.map} +1 -1
- package/{UserProfileContext-2ee4427e.js → UserProfileContext-5d7c5f9f.js} +1 -1
- package/{UserProfileContext-2ee4427e.js.map → UserProfileContext-5d7c5f9f.js.map} +1 -1
- package/{VoiceMessageInputWrapper-02da58d2.js → VoiceMessageInputWrapper-8a9dda68.js} +7 -7
- package/{VoiceMessageInputWrapper-02da58d2.js.map → VoiceMessageInputWrapper-8a9dda68.js.map} +1 -1
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +3 -3
- package/VoiceRecorder/context.js +2 -2
- package/VoiceRecorder/useVoiceRecorder.js +2 -2
- package/{_rollupPluginBabelHelpers-af827563.js → _rollupPluginBabelHelpers-37cba0d6.js} +1 -1
- package/_rollupPluginBabelHelpers-37cba0d6.js.map +1 -0
- package/{actionTypes-66152bd7.js → actionTypes-80e9dbe4.js} +1 -1
- package/{actionTypes-66152bd7.js.map → actionTypes-80e9dbe4.js.map} +1 -1
- package/cjs/App.js +40 -40
- package/cjs/Channel/components/ChannelHeader.js +19 -19
- package/cjs/Channel/components/ChannelUI.js +33 -33
- package/cjs/Channel/components/FileViewer.js +15 -15
- package/cjs/Channel/components/FrozenNotification.js +4 -4
- package/cjs/Channel/components/Message.js +28 -28
- package/cjs/Channel/components/MessageInput.js +24 -24
- package/cjs/Channel/components/MessageList.js +29 -29
- package/cjs/Channel/components/RemoveMessageModal.js +17 -17
- package/cjs/Channel/components/SuggestedMentionList.js +17 -17
- package/cjs/Channel/components/TypingIndicator.js +15 -15
- package/cjs/Channel/components/UnreadCount.js +4 -4
- package/cjs/Channel/context.js +14 -14
- package/cjs/Channel.js +33 -33
- package/cjs/ChannelList/components/AddChannel.js +15 -15
- package/cjs/ChannelList/components/ChannelListHeader.js +6 -6
- package/cjs/ChannelList/components/ChannelListUI.js +30 -30
- package/cjs/ChannelList/components/ChannelPreview.js +26 -26
- package/cjs/ChannelList/components/ChannelPreviewAction.js +14 -14
- package/cjs/ChannelList/context.js +8 -8
- package/cjs/ChannelList.js +30 -30
- package/cjs/{ChannelListProvider-6e4fd69f.js → ChannelListProvider-b7ffadf7.js} +8 -8
- package/cjs/{ChannelListProvider-6e4fd69f.js.map → ChannelListProvider-b7ffadf7.js.map} +1 -1
- package/cjs/{ChannelProvider-505d13d6.js → ChannelProvider-b963c72c.js} +10 -10
- package/cjs/{ChannelProvider-505d13d6.js.map → ChannelProvider-b963c72c.js.map} +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +11 -11
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/cjs/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +14 -14
- package/cjs/ChannelSettings/components/UserListItem.js +10 -10
- package/cjs/ChannelSettings/components/UserPanel.js +13 -13
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +17 -17
- package/cjs/CreateChannel/components/CreateChannelUI.js +13 -13
- package/cjs/CreateChannel/components/InviteUsers.js +13 -13
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +13 -13
- package/cjs/{CreateChannelProvider-b30a1d70.js → CreateChannelProvider-ea54c83b.js} +1 -1
- package/cjs/{CreateChannelProvider-b30a1d70.js.map → CreateChannelProvider-ea54c83b.js.map} +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +9 -9
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile.js +12 -12
- package/cjs/{LocalizationContext-f7972a74.js → LocalizationContext-4822793b.js} +3 -3
- package/cjs/{LocalizationContext-f7972a74.js.map → LocalizationContext-4822793b.js.map} +1 -1
- package/cjs/{MediaQueryContext-24dc053f.js → MediaQueryContext-b83880cc.js} +1 -1
- package/cjs/{MediaQueryContext-24dc053f.js.map → MediaQueryContext-b83880cc.js.map} +1 -1
- package/cjs/{MemberList-f7ffe73a.js → MemberList-4cfc05a3.js} +5 -5
- package/cjs/{MemberList-f7ffe73a.js.map → MemberList-4cfc05a3.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +11 -11
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/cjs/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/cjs/OpenChannel/components/OpenChannelInput.js +16 -16
- package/cjs/OpenChannel/components/OpenChannelMessage.js +23 -23
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +26 -26
- package/cjs/OpenChannel/components/OpenChannelUI.js +26 -26
- package/cjs/OpenChannel/context.js +8 -8
- package/cjs/OpenChannel.js +26 -26
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +4 -4
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +13 -13
- package/cjs/{OpenChannelListProvider-75a84359.js → OpenChannelListProvider-9fc6f344.js} +3 -3
- package/cjs/{OpenChannelListProvider-75a84359.js.map → OpenChannelListProvider-9fc6f344.js.map} +1 -1
- package/cjs/{OpenChannelProvider-c3e900f9.js → OpenChannelProvider-64fb7652.js} +7 -7
- package/cjs/{OpenChannelProvider-c3e900f9.js.map → OpenChannelProvider-64fb7652.js.map} +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +12 -12
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/cjs/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +17 -17
- package/cjs/{RemoveMessageModal-df4027b8.js → RemoveMessageModal-00de23ec.js} +3 -3
- package/cjs/{RemoveMessageModal-df4027b8.js.map → RemoveMessageModal-00de23ec.js.map} +1 -1
- package/cjs/SendbirdProvider.js +12 -12
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +25 -25
- package/cjs/Thread/components/ParentMessageInfoItem.js +15 -15
- package/cjs/Thread/components/ThreadHeader.js +6 -6
- package/cjs/Thread/components/ThreadList.js +28 -28
- package/cjs/Thread/components/ThreadListItem.js +28 -28
- package/cjs/Thread/components/ThreadMessageInput.js +25 -25
- package/cjs/Thread/components/ThreadUI.js +32 -32
- package/cjs/Thread/context.js +8 -8
- package/cjs/Thread.js +32 -32
- package/cjs/{ThreadProvider-0a0e452d.js → ThreadProvider-93f2b7e5.js} +7 -7
- package/cjs/{ThreadProvider-0a0e452d.js.map → ThreadProvider-93f2b7e5.js.map} +1 -1
- package/cjs/{UserProfileContext-687cb905.js → UserProfileContext-7bc4eec4.js} +1 -1
- package/cjs/{UserProfileContext-687cb905.js.map → UserProfileContext-7bc4eec4.js.map} +1 -1
- package/cjs/{VoiceMessageInputWrapper-dba3849c.js → VoiceMessageInputWrapper-82c8ef13.js} +7 -7
- package/cjs/{VoiceMessageInputWrapper-dba3849c.js.map → VoiceMessageInputWrapper-82c8ef13.js.map} +1 -1
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +3 -3
- package/cjs/VoiceRecorder/context.js +2 -2
- package/cjs/VoiceRecorder/useVoiceRecorder.js +2 -2
- package/cjs/{_rollupPluginBabelHelpers-633418dc.js → _rollupPluginBabelHelpers-1218aafb.js} +1 -1
- package/cjs/_rollupPluginBabelHelpers-1218aafb.js.map +1 -0
- package/cjs/{actionTypes-f060bac2.js → actionTypes-f186c4dd.js} +1 -1
- package/cjs/{actionTypes-f060bac2.js.map → actionTypes-f186c4dd.js.map} +1 -1
- package/cjs/{color-ea4d0fa8.js → color-937f65ad.js} +1 -1
- package/cjs/{color-ea4d0fa8.js.map → color-937f65ad.js.map} +1 -1
- package/cjs/{compareIds-2ed18fb9.js → compareIds-3d732a01.js} +1 -1
- package/cjs/{compareIds-2ed18fb9.js.map → compareIds-3d732a01.js.map} +1 -1
- package/cjs/{const-81f175a7.js → const-44ac2c14.js} +1 -1
- package/cjs/{const-81f175a7.js.map → const-44ac2c14.js.map} +1 -1
- package/cjs/{const-be830118.js → const-73aa22ac.js} +1 -1
- package/cjs/{const-be830118.js.map → const-73aa22ac.js.map} +1 -1
- package/cjs/{consts-d23893f6.js → consts-11872691.js} +1 -1
- package/cjs/{consts-d23893f6.js.map → consts-11872691.js.map} +1 -1
- package/cjs/{consts-a83dba32.js → consts-2b0eaee0.js} +1 -1
- package/cjs/{consts-a83dba32.js.map → consts-2b0eaee0.js.map} +1 -1
- package/cjs/{context-443d1d6b.js → context-7e270322.js} +2 -2
- package/cjs/{context-443d1d6b.js.map → context-7e270322.js.map} +1 -1
- package/cjs/dist/index.css +141 -141
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{index-9713036d.js → index-1151a507.js} +1 -1
- package/cjs/{index-9713036d.js.map → index-1151a507.js.map} +1 -1
- package/cjs/{index-478a54a0.js → index-20fc629b.js} +3 -3
- package/cjs/{index-478a54a0.js.map → index-20fc629b.js.map} +1 -1
- package/cjs/{index-23bde05e.js → index-2f2f3e43.js} +2 -2
- package/cjs/{index-23bde05e.js.map → index-2f2f3e43.js.map} +1 -1
- package/cjs/{index-b823e2cf.js → index-3f30ab14.js} +7 -7
- package/cjs/{index-b823e2cf.js.map → index-3f30ab14.js.map} +1 -1
- package/cjs/{index-d1dfe98d.js → index-57989185.js} +1 -1
- package/cjs/{index-d1dfe98d.js.map → index-57989185.js.map} +1 -1
- package/cjs/{index-10a8fbd5.js → index-7207d339.js} +2 -2
- package/cjs/{index-10a8fbd5.js.map → index-7207d339.js.map} +1 -1
- package/cjs/{index-2724c042.js → index-a5fad93c.js} +4 -4
- package/cjs/{index-2724c042.js.map → index-a5fad93c.js.map} +1 -1
- package/cjs/{index-adbbfcff.js → index-a867516a.js} +4 -4
- package/cjs/{index-adbbfcff.js.map → index-a867516a.js.map} +1 -1
- package/cjs/{index-e1a91b28.js → index-aaa65319.js} +7 -7
- package/cjs/{index-e1a91b28.js.map → index-aaa65319.js.map} +1 -1
- package/cjs/{index-dcafe468.js → index-c7ff34af.js} +5 -5
- package/cjs/{index-dcafe468.js.map → index-c7ff34af.js.map} +1 -1
- package/cjs/{index-d0fd1f01.js → index-cfff5dbb.js} +2 -2
- package/cjs/{index-d0fd1f01.js.map → index-cfff5dbb.js.map} +1 -1
- package/cjs/{index-ec71f9d1.js → index-e9d3a5d6.js} +3 -3
- package/cjs/{index-ec71f9d1.js.map → index-e9d3a5d6.js.map} +1 -1
- package/cjs/{index-e49f1bd9.js → index-f52caf82.js} +2 -2
- package/cjs/{index-e49f1bd9.js.map → index-f52caf82.js.map} +1 -1
- package/cjs/{index-da4faf79.js → index-f78cff63.js} +2 -2
- package/cjs/{index-da4faf79.js.map → index-f78cff63.js.map} +1 -1
- package/cjs/index.js +44 -44
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-b6ce1990.js → stringSet-7f49973c.js} +1 -1
- package/cjs/{stringSet-b6ce1990.js.map → stringSet-7f49973c.js.map} +1 -1
- package/cjs/{topics-4d3495db.js → topics-9d6a6d36.js} +1 -1
- package/cjs/{topics-4d3495db.js.map → topics-9d6a6d36.js.map} +1 -1
- package/cjs/{tslib.es6-a4fb9cb5.js → tslib.es6-46c08a06.js} +1 -1
- package/cjs/{tslib.es6-a4fb9cb5.js.map → tslib.es6-46c08a06.js.map} +1 -1
- package/cjs/{types-a16555b3.js → types-31b11c88.js} +1 -1
- package/cjs/{types-a16555b3.js.map → types-31b11c88.js.map} +1 -1
- package/cjs/ui/Accordion.js +3 -3
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +2 -2
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +1 -1
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +3 -3
- package/cjs/ui/ConnectionStatus.js +4 -4
- package/cjs/ui/ContextMenu.js +5 -5
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +7 -7
- package/cjs/ui/FileMessageItemBody.js +6 -6
- package/cjs/ui/FileViewer.js +8 -8
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +2 -2
- package/cjs/ui/Label.js +2 -2
- package/cjs/ui/LinkLabel.js +2 -2
- package/cjs/ui/Loader.js +1 -1
- package/cjs/ui/MentionLabel.js +10 -10
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +23 -23
- package/cjs/ui/MessageInput.js +10 -10
- package/cjs/ui/MessageItemMenu.js +8 -8
- package/cjs/ui/MessageItemReactionMenu.js +5 -5
- package/cjs/ui/MessageSearchFileItem.js +10 -10
- package/cjs/ui/MessageSearchItem.js +9 -9
- package/cjs/ui/MessageStatus.js +10 -10
- package/cjs/ui/Modal.js +7 -7
- package/cjs/ui/OGMessageItemBody.js +10 -10
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +6 -6
- package/cjs/ui/OpenchannelConversationHeader.js +6 -6
- package/cjs/ui/OpenchannelFileMessage.js +16 -16
- package/cjs/ui/OpenchannelOGMessage.js +16 -16
- package/cjs/ui/OpenchannelThumbnailMessage.js +15 -15
- package/cjs/ui/OpenchannelUserMessage.js +16 -16
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +2 -2
- package/cjs/ui/QuoteMessage.js +6 -6
- package/cjs/ui/QuoteMessageInput.js +6 -6
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +1 -1
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +10 -10
- package/cjs/ui/ThreadReplies.js +6 -6
- package/cjs/ui/ThumbnailMessageItemBody.js +2 -2
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/UnknownMessageItemBody.js +6 -6
- package/cjs/ui/UserListItem.js +10 -10
- package/cjs/ui/UserProfile.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +5 -5
- package/cjs/ui/VoiceMessgeInput.js +8 -8
- package/cjs/ui/Word.js +10 -10
- package/cjs/{useLongPress-51e0f9b4.js → useLongPress-839c53cb.js} +3 -3
- package/cjs/{useLongPress-51e0f9b4.js.map → useLongPress-839c53cb.js.map} +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +2 -2
- package/cjs/{utils-c812c88b.js → utils-41bb82dc.js} +1 -1
- package/cjs/{utils-c812c88b.js.map → utils-41bb82dc.js.map} +1 -1
- package/cjs/{utils-c545d55f.js → utils-7d2c966a.js} +1 -1
- package/cjs/{utils-c545d55f.js.map → utils-7d2c966a.js.map} +1 -1
- package/cjs/{utils-0bf31864.js → utils-9fc9438c.js} +2 -2
- package/cjs/{utils-0bf31864.js.map → utils-9fc9438c.js.map} +1 -1
- package/cjs/{utils-eb9c5b74.js → utils-dae078f4.js} +1 -1
- package/cjs/{utils-eb9c5b74.js.map → utils-dae078f4.js.map} +1 -1
- package/cjs/{uuid-35ec1f9e.js → uuid-8454abf3.js} +1 -1
- package/cjs/{uuid-35ec1f9e.js.map → uuid-8454abf3.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-9914e868.js → color-e5d40073.js} +1 -1
- package/{color-9914e868.js.map → color-e5d40073.js.map} +1 -1
- package/{compareIds-5b880a02.js → compareIds-148644b4.js} +1 -1
- package/{compareIds-5b880a02.js.map → compareIds-148644b4.js.map} +1 -1
- package/{const-193b2cee.js → const-bba4efc9.js} +1 -1
- package/{const-193b2cee.js.map → const-bba4efc9.js.map} +1 -1
- package/{const-32e76e15.js → const-bf594206.js} +1 -1
- package/{const-32e76e15.js.map → const-bf594206.js.map} +1 -1
- package/{consts-b275d9da.js → consts-b3042213.js} +1 -1
- package/{consts-b275d9da.js.map → consts-b3042213.js.map} +1 -1
- package/{consts-7dc2e24e.js → consts-f9543b99.js} +1 -1
- package/{consts-7dc2e24e.js.map → consts-f9543b99.js.map} +1 -1
- package/{context-ab07b150.js → context-e82cf2c4.js} +2 -2
- package/{context-ab07b150.js.map → context-e82cf2c4.js.map} +1 -1
- package/dist/index.css +141 -141
- package/dist/index.css.map +1 -1
- package/{index-6438ded6.js → index-113d122f.js} +5 -5
- package/{index-6438ded6.js.map → index-113d122f.js.map} +1 -1
- package/{index-b7f11b75.js → index-18c2f8d4.js} +1 -1
- package/{index-b7f11b75.js.map → index-18c2f8d4.js.map} +1 -1
- package/{index-42429d4a.js → index-1dfb77d4.js} +2 -2
- package/{index-42429d4a.js.map → index-1dfb77d4.js.map} +1 -1
- package/{index-534f3471.js → index-253052c7.js} +7 -7
- package/{index-534f3471.js.map → index-253052c7.js.map} +1 -1
- package/{index-c52afc50.js → index-2c0ab386.js} +2 -2
- package/{index-c52afc50.js.map → index-2c0ab386.js.map} +1 -1
- package/{index-a8cc1378.js → index-556999ef.js} +2 -2
- package/{index-a8cc1378.js.map → index-556999ef.js.map} +1 -1
- package/{index-c19ac1ae.js → index-5be5af6d.js} +7 -7
- package/{index-c19ac1ae.js.map → index-5be5af6d.js.map} +1 -1
- package/{index-b377ef7e.js → index-86cb1c98.js} +4 -4
- package/{index-b377ef7e.js.map → index-86cb1c98.js.map} +1 -1
- package/{index-16e0294c.js → index-90365474.js} +2 -2
- package/{index-16e0294c.js.map → index-90365474.js.map} +1 -1
- package/{index-8259be1c.js → index-97a2ff37.js} +2 -2
- package/{index-8259be1c.js.map → index-97a2ff37.js.map} +1 -1
- package/{index-b6307eba.js → index-9a413f89.js} +3 -3
- package/{index-b6307eba.js.map → index-9a413f89.js.map} +1 -1
- package/{index-062cd180.js → index-e1cff2ff.js} +3 -3
- package/{index-062cd180.js.map → index-e1cff2ff.js.map} +1 -1
- package/{index-d9f8424d.js → index-e3d008b9.js} +1 -1
- package/{index-d9f8424d.js.map → index-e3d008b9.js.map} +1 -1
- package/{index-214a28eb.js → index-e571f56c.js} +4 -4
- package/{index-214a28eb.js.map → index-e571f56c.js.map} +1 -1
- package/index.d.ts +1 -1
- package/index.js +44 -44
- package/package.json +1 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-16d76354.js → stringSet-273bec27.js} +1 -1
- package/{stringSet-16d76354.js.map → stringSet-273bec27.js.map} +1 -1
- package/{topics-cf8fabf5.js → topics-df7f51d4.js} +1 -1
- package/{topics-cf8fabf5.js.map → topics-df7f51d4.js.map} +1 -1
- package/{tslib.es6-21874629.js → tslib.es6-1aaf3795.js} +1 -1
- package/{tslib.es6-21874629.js.map → tslib.es6-1aaf3795.js.map} +1 -1
- package/{types-39cccb67.js → types-ed183627.js} +1 -1
- package/{types-39cccb67.js.map → types-ed183627.js.map} +1 -1
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +2 -2
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +1 -1
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +3 -3
- package/ui/ConnectionStatus.js +4 -4
- package/ui/ContextMenu.js +5 -5
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +7 -7
- package/ui/FileMessageItemBody.js +6 -6
- package/ui/FileViewer.js +8 -8
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +2 -2
- package/ui/Label.js +2 -2
- package/ui/LinkLabel.js +2 -2
- package/ui/Loader.js +1 -1
- package/ui/MentionLabel.js +10 -10
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +23 -23
- package/ui/MessageInput.js +10 -10
- package/ui/MessageItemMenu.js +8 -8
- package/ui/MessageItemReactionMenu.js +5 -5
- package/ui/MessageSearchFileItem.js +10 -10
- package/ui/MessageSearchItem.js +9 -9
- package/ui/MessageStatus.js +10 -10
- package/ui/Modal.js +7 -7
- package/ui/OGMessageItemBody.js +10 -10
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +6 -6
- package/ui/OpenchannelConversationHeader.js +6 -6
- package/ui/OpenchannelFileMessage.js +16 -16
- package/ui/OpenchannelOGMessage.js +16 -16
- package/ui/OpenchannelThumbnailMessage.js +15 -15
- package/ui/OpenchannelUserMessage.js +16 -16
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +2 -2
- package/ui/QuoteMessage.js +6 -6
- package/ui/QuoteMessageInput.js +6 -6
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +1 -1
- package/ui/SortByRow.js +2 -2
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +10 -10
- package/ui/ThreadReplies.js +6 -6
- package/ui/ThumbnailMessageItemBody.js +2 -2
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/UnknownMessageItemBody.js +6 -6
- package/ui/UserListItem.js +10 -10
- package/ui/UserProfile.js +9 -9
- package/ui/VoiceMessageItemBody.js +5 -5
- package/ui/VoiceMessgeInput.js +8 -8
- package/ui/Word.js +10 -10
- package/{useLongPress-c49de8aa.js → useLongPress-1ae5a380.js} +3 -3
- package/{useLongPress-c49de8aa.js.map → useLongPress-1ae5a380.js.map} +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +2 -2
- package/{utils-2571a443.js → utils-09901477.js} +1 -1
- package/{utils-2571a443.js.map → utils-09901477.js.map} +1 -1
- package/{utils-8767edbc.js → utils-1b97d8ea.js} +2 -2
- package/{utils-8767edbc.js.map → utils-1b97d8ea.js.map} +1 -1
- package/{utils-3e63a59c.js → utils-25614c42.js} +1 -1
- package/{utils-3e63a59c.js.map → utils-25614c42.js.map} +1 -1
- package/{utils-369f1bd4.js → utils-99c30ef6.js} +1 -1
- package/{utils-369f1bd4.js.map → utils-99c30ef6.js.map} +1 -1
- package/{uuid-cf6716cb.js → uuid-29207f65.js} +1 -1
- package/{uuid-cf6716cb.js.map → uuid-29207f65.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/_rollupPluginBabelHelpers-af827563.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-633418dc.js.map +0 -1
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { a as _extends } from '../_rollupPluginBabelHelpers-
|
|
2
|
-
import { a as __spreadArray, _ as __assign } from '../tslib.es6-
|
|
1
|
+
import { a as _extends } from '../_rollupPluginBabelHelpers-37cba0d6.js';
|
|
2
|
+
import { a as __spreadArray, _ as __assign } from '../tslib.es6-1aaf3795.js';
|
|
3
3
|
import React__default, { useContext, useRef, useState, useEffect } from 'react';
|
|
4
|
-
import { f as format } from '../index-
|
|
4
|
+
import { f as format } from '../index-97a2ff37.js';
|
|
5
5
|
import Avatar from './Avatar.js';
|
|
6
6
|
import ContextMenu, { MenuItems, MenuItem } from './ContextMenu.js';
|
|
7
7
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
8
8
|
import IconButton from './IconButton.js';
|
|
9
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
9
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-2c0ab386.js';
|
|
10
10
|
import Loader from './Loader.js';
|
|
11
11
|
import UserProfile from './UserProfile.js';
|
|
12
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
13
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
14
|
-
import { c as copyToClipboard } from '../utils-
|
|
15
|
-
import { u as uuidv4 } from '../uuid-
|
|
16
|
-
import { g as getSenderFromMessage, s as showMenuTrigger, i as isFineCopy, a as isFineEdit, b as isFineResend, c as isFineDelete, O as OpenChannelMobileMenu, d as checkIsPending, e as checkIsFailed } from '../index-
|
|
17
|
-
import { u as useMediaQueryContext } from '../MediaQueryContext-
|
|
18
|
-
import { u as useLongPress } from '../useLongPress-
|
|
19
|
-
import { e as isEditedMessage } from '../index-
|
|
20
|
-
import '../index-
|
|
12
|
+
import { a as UserProfileContext } from '../UserProfileContext-5d7c5f9f.js';
|
|
13
|
+
import { u as useLocalization } from '../LocalizationContext-ef72d4b1.js';
|
|
14
|
+
import { c as copyToClipboard } from '../utils-09901477.js';
|
|
15
|
+
import { u as uuidv4 } from '../uuid-29207f65.js';
|
|
16
|
+
import { g as getSenderFromMessage, s as showMenuTrigger, i as isFineCopy, a as isFineEdit, b as isFineResend, c as isFineDelete, O as OpenChannelMobileMenu, d as checkIsPending, e as checkIsFailed } from '../index-90365474.js';
|
|
17
|
+
import { u as useMediaQueryContext } from '../MediaQueryContext-683c7242.js';
|
|
18
|
+
import { u as useLongPress } from '../useLongPress-1ae5a380.js';
|
|
19
|
+
import { e as isEditedMessage } from '../index-556999ef.js';
|
|
20
|
+
import '../index-18c2f8d4.js';
|
|
21
21
|
import './ImageRenderer.js';
|
|
22
22
|
import 'prop-types';
|
|
23
23
|
import 'react-dom';
|
|
24
24
|
import './SortByRow.js';
|
|
25
25
|
import '../utils/message/getOutgoingMessageState.js';
|
|
26
|
-
import '../stringSet-
|
|
26
|
+
import '../stringSet-273bec27.js';
|
|
27
27
|
import '../sendbirdSelectors.js';
|
|
28
|
-
import '../topics-
|
|
29
|
-
import '../utils-
|
|
28
|
+
import '../topics-df7f51d4.js';
|
|
29
|
+
import '../utils-99c30ef6.js';
|
|
30
30
|
import './Button.js';
|
|
31
31
|
import '../useSendbirdStateContext.js';
|
|
32
32
|
import '../withSendbird.js';
|
package/ui/PlaceHolder.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import '../tslib.es6-
|
|
1
|
+
import '../tslib.es6-1aaf3795.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
export { a as PlaceHolderTypes, P as default } from '../index-
|
|
4
|
-
import '../LocalizationContext-
|
|
3
|
+
export { a as PlaceHolderTypes, P as default } from '../index-86cb1c98.js';
|
|
4
|
+
import '../LocalizationContext-ef72d4b1.js';
|
|
5
5
|
import './Icon.js';
|
|
6
|
-
import '../index-
|
|
6
|
+
import '../index-2c0ab386.js';
|
|
7
7
|
import './Loader.js';
|
|
8
|
-
import '../stringSet-
|
|
9
|
-
import '../index-
|
|
8
|
+
import '../stringSet-273bec27.js';
|
|
9
|
+
import '../index-18c2f8d4.js';
|
|
10
10
|
import 'prop-types';
|
|
11
11
|
//# sourceMappingURL=PlaceHolder.js.map
|
package/ui/PlaybackTime.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { a as LabelTypography, b as LabelColors, L as Label } from '../index-
|
|
2
|
+
import { a as LabelTypography, b as LabelColors, L as Label } from '../index-2c0ab386.js';
|
|
3
3
|
import 'prop-types';
|
|
4
|
-
import '../stringSet-
|
|
4
|
+
import '../stringSet-273bec27.js';
|
|
5
5
|
|
|
6
6
|
var PlaybackTime = function (_a) {
|
|
7
7
|
var className = _a.className,
|
package/ui/QuoteMessage.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React__default, { useContext, useState } from 'react';
|
|
2
2
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-2c0ab386.js';
|
|
4
4
|
import ImageRenderer from './ImageRenderer.js';
|
|
5
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
6
|
-
import { L as getUIKitFileTypes, j as getClassName, s as isUserMessage, d as isVoiceMessage, o as isThumbnailMessage, F as isVideo, M as isGif, u as getUIKitMessageType, U as UIKitMessageTypes, K as getUIKitFileType, t as truncateString } from '../index-
|
|
5
|
+
import { a as LocalizationContext } from '../LocalizationContext-ef72d4b1.js';
|
|
6
|
+
import { L as getUIKitFileTypes, j as getClassName, s as isUserMessage, d as isVoiceMessage, o as isThumbnailMessage, F as isVideo, M as isGif, u as getUIKitMessageType, U as UIKitMessageTypes, K as getUIKitFileType, t as truncateString } from '../index-556999ef.js';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import '../stringSet-
|
|
9
|
-
import '../tslib.es6-
|
|
10
|
-
import '../index-
|
|
8
|
+
import '../stringSet-273bec27.js';
|
|
9
|
+
import '../tslib.es6-1aaf3795.js';
|
|
10
|
+
import '../index-18c2f8d4.js';
|
|
11
11
|
import '../utils/message/getOutgoingMessageState.js';
|
|
12
12
|
|
|
13
13
|
function QuoteMessage(_a) {
|
package/ui/QuoteMessageInput.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { m as isFileMessage, d as isVoiceMessage, n as isImageMessage, o as isThumbnailMessage, p as isAudioMessage, j as getClassName, q as isGifMessage, r as isVideoMessage, s as isUserMessage, u as getUIKitMessageType, U as UIKitMessageTypes } from '../index-
|
|
2
|
+
import { m as isFileMessage, d as isVoiceMessage, n as isImageMessage, o as isThumbnailMessage, p as isAudioMessage, j as getClassName, q as isGifMessage, r as isVideoMessage, s as isUserMessage, u as getUIKitMessageType, U as UIKitMessageTypes } from '../index-556999ef.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
5
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-2c0ab386.js';
|
|
5
|
+
import { a as LocalizationContext } from '../LocalizationContext-ef72d4b1.js';
|
|
6
6
|
import ImageRenderer from './ImageRenderer.js';
|
|
7
|
-
import '../tslib.es6-
|
|
7
|
+
import '../tslib.es6-1aaf3795.js';
|
|
8
8
|
import '../utils/message/getOutgoingMessageState.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import '../stringSet-
|
|
11
|
-
import '../index-
|
|
10
|
+
import '../stringSet-273bec27.js';
|
|
11
|
+
import '../index-18c2f8d4.js';
|
|
12
12
|
|
|
13
13
|
var componentClassname = 'sendbird-quote_message_input__avatar';
|
|
14
14
|
function QuoteMessageThumbnail(_a) {
|
package/ui/ReactionBadge.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-1aaf3795.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-2c0ab386.js';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import '../stringSet-
|
|
5
|
+
import '../stringSet-273bec27.js';
|
|
6
6
|
|
|
7
7
|
var ReactionBadge = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
8
8
|
var _a = props.className,
|
package/ui/ReactionButton.js
CHANGED
package/ui/SortByRow.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-1aaf3795.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { u as uuidv4 } from '../uuid-
|
|
3
|
+
import { u as uuidv4 } from '../uuid-29207f65.js';
|
|
4
4
|
|
|
5
5
|
var componentClassName = 'sendbird-sort-by-row';
|
|
6
6
|
function SortByRow(_a) {
|
package/ui/TextButton.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-1aaf3795.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { C as Colors, c as changeColorToClassName } from '../color-
|
|
3
|
+
import { C as Colors, c as changeColorToClassName } from '../color-e5d40073.js';
|
|
4
4
|
|
|
5
5
|
var TextButton = function (_a) {
|
|
6
6
|
var _b = _a.className,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import React__default, { useContext, useMemo } from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
-
import { j as getClassName, e as isEditedMessage } from '../index-
|
|
4
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
5
|
-
import { u as uuidv4 } from '../uuid-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-2c0ab386.js';
|
|
3
|
+
import { j as getClassName, e as isEditedMessage } from '../index-556999ef.js';
|
|
4
|
+
import { a as LocalizationContext } from '../LocalizationContext-ef72d4b1.js';
|
|
5
|
+
import { u as uuidv4 } from '../uuid-29207f65.js';
|
|
6
6
|
import Word from './Word.js';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import '../stringSet-
|
|
9
|
-
import '../tslib.es6-
|
|
8
|
+
import '../stringSet-273bec27.js';
|
|
9
|
+
import '../tslib.es6-1aaf3795.js';
|
|
10
10
|
import '../utils/message/getOutgoingMessageState.js';
|
|
11
|
-
import '../index-
|
|
11
|
+
import '../index-18c2f8d4.js';
|
|
12
12
|
import './LinkLabel.js';
|
|
13
13
|
import './MentionLabel.js';
|
|
14
14
|
import './ContextMenu.js';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
import './SortByRow.js';
|
|
17
17
|
import './UserProfile.js';
|
|
18
|
-
import '../UserProfileContext-
|
|
18
|
+
import '../UserProfileContext-5d7c5f9f.js';
|
|
19
19
|
import '../sendbirdSelectors.js';
|
|
20
|
-
import '../topics-
|
|
21
|
-
import '../utils-
|
|
20
|
+
import '../topics-df7f51d4.js';
|
|
21
|
+
import '../utils-99c30ef6.js';
|
|
22
22
|
import './Avatar.js';
|
|
23
23
|
import './ImageRenderer.js';
|
|
24
24
|
import './Icon.js';
|
package/ui/ThreadReplies.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import Avatar from './Avatar.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
5
|
-
import { u as useLocalization } from '../LocalizationContext-
|
|
6
|
-
import { u as uuidv4 } from '../uuid-
|
|
7
|
-
import '../tslib.es6-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-2c0ab386.js';
|
|
5
|
+
import { u as useLocalization } from '../LocalizationContext-ef72d4b1.js';
|
|
6
|
+
import { u as uuidv4 } from '../uuid-29207f65.js';
|
|
7
|
+
import '../tslib.es6-1aaf3795.js';
|
|
8
8
|
import './ImageRenderer.js';
|
|
9
9
|
import 'prop-types';
|
|
10
|
-
import '../stringSet-
|
|
11
|
-
import '../index-
|
|
10
|
+
import '../stringSet-273bec27.js';
|
|
11
|
+
import '../index-18c2f8d4.js';
|
|
12
12
|
|
|
13
13
|
function ThreadReplies(_a) {
|
|
14
14
|
var _b;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
2
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
3
3
|
import ImageRenderer from './ImageRenderer.js';
|
|
4
|
-
import { j as getClassName, v as isSentMessage, r as isVideoMessage, q as isGifMessage } from '../index-
|
|
4
|
+
import { j as getClassName, v as isSentMessage, r as isVideoMessage, q as isGifMessage } from '../index-556999ef.js';
|
|
5
5
|
import 'prop-types';
|
|
6
|
-
import '../tslib.es6-
|
|
6
|
+
import '../tslib.es6-1aaf3795.js';
|
|
7
7
|
import '../utils/message/getOutgoingMessageState.js';
|
|
8
8
|
|
|
9
9
|
function ThumbnailMessageItemBody(_a) {
|
package/ui/Tooltip.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-1aaf3795.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-2c0ab386.js';
|
|
4
4
|
import 'prop-types';
|
|
5
|
-
import '../stringSet-
|
|
5
|
+
import '../stringSet-273bec27.js';
|
|
6
6
|
|
|
7
7
|
function Tooltip(_a) {
|
|
8
8
|
var _b = _a.className,
|
package/ui/TooltipWrapper.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
3
|
-
import { j as getClassName } from '../index-
|
|
4
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-2c0ab386.js';
|
|
3
|
+
import { j as getClassName } from '../index-556999ef.js';
|
|
4
|
+
import { a as LocalizationContext } from '../LocalizationContext-ef72d4b1.js';
|
|
5
5
|
import 'prop-types';
|
|
6
|
-
import '../stringSet-
|
|
7
|
-
import '../tslib.es6-
|
|
6
|
+
import '../stringSet-273bec27.js';
|
|
7
|
+
import '../tslib.es6-1aaf3795.js';
|
|
8
8
|
import '../utils/message/getOutgoingMessageState.js';
|
|
9
|
-
import '../index-
|
|
9
|
+
import '../index-18c2f8d4.js';
|
|
10
10
|
|
|
11
11
|
function UnknownMessageItemBody(_a) {
|
|
12
12
|
var _b;
|
package/ui/UserListItem.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { a as __spreadArray } from '../tslib.es6-
|
|
1
|
+
import { a as __spreadArray } from '../tslib.es6-1aaf3795.js';
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
4
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
3
|
+
import { a as UserProfileContext } from '../UserProfileContext-5d7c5f9f.js';
|
|
4
|
+
import { a as LocalizationContext } from '../LocalizationContext-ef72d4b1.js';
|
|
5
5
|
import Avatar from './Avatar.js';
|
|
6
6
|
import MutedAvatarOverlay from './MutedAvatarOverlay.js';
|
|
7
7
|
import Checkbox from './Checkbox.js';
|
|
8
8
|
import UserProfile from './UserProfile.js';
|
|
9
9
|
import ContextMenu, { MenuItems } from './ContextMenu.js';
|
|
10
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
10
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-2c0ab386.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../stringSet-
|
|
13
|
-
import '../index-
|
|
12
|
+
import '../stringSet-273bec27.js';
|
|
13
|
+
import '../index-18c2f8d4.js';
|
|
14
14
|
import './ImageRenderer.js';
|
|
15
15
|
import './Icon.js';
|
|
16
|
-
import '../uuid-
|
|
16
|
+
import '../uuid-29207f65.js';
|
|
17
17
|
import '../sendbirdSelectors.js';
|
|
18
|
-
import '../topics-
|
|
19
|
-
import '../utils-
|
|
18
|
+
import '../topics-df7f51d4.js';
|
|
19
|
+
import '../utils-99c30ef6.js';
|
|
20
20
|
import './Button.js';
|
|
21
21
|
import '../useSendbirdStateContext.js';
|
|
22
22
|
import '../withSendbird.js';
|
|
23
23
|
import 'react-dom';
|
|
24
24
|
import './SortByRow.js';
|
|
25
|
-
import '../index-
|
|
25
|
+
import '../index-556999ef.js';
|
|
26
26
|
import '../utils/message/getOutgoingMessageState.js';
|
|
27
27
|
|
|
28
28
|
function UserListItem(_a) {
|
package/ui/UserProfile.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../LocalizationContext-
|
|
3
|
-
import { a as UserProfileContext } from '../UserProfileContext-
|
|
2
|
+
import { a as LocalizationContext } from '../LocalizationContext-ef72d4b1.js';
|
|
3
|
+
import { a as UserProfileContext } from '../UserProfileContext-5d7c5f9f.js';
|
|
4
4
|
import { getCreateGroupChannel } from '../sendbirdSelectors.js';
|
|
5
5
|
import Avatar from './Avatar.js';
|
|
6
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../index-2c0ab386.js';
|
|
7
7
|
import Button, { ButtonTypes } from './Button.js';
|
|
8
8
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
9
|
-
import '../stringSet-
|
|
10
|
-
import '../index-
|
|
9
|
+
import '../stringSet-273bec27.js';
|
|
10
|
+
import '../index-18c2f8d4.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../topics-
|
|
13
|
-
import '../utils-
|
|
14
|
-
import '../tslib.es6-
|
|
12
|
+
import '../topics-df7f51d4.js';
|
|
13
|
+
import '../utils-99c30ef6.js';
|
|
14
|
+
import '../tslib.es6-1aaf3795.js';
|
|
15
15
|
import './ImageRenderer.js';
|
|
16
16
|
import './Icon.js';
|
|
17
|
-
import '../uuid-
|
|
17
|
+
import '../uuid-29207f65.js';
|
|
18
18
|
import '../withSendbird.js';
|
|
19
19
|
|
|
20
20
|
function UserProfile(_a) {
|
|
@@ -4,16 +4,16 @@ import { useVoicePlayer } from '../VoicePlayer/useVoicePlayer.js';
|
|
|
4
4
|
import { PlaybackTime } from './PlaybackTime.js';
|
|
5
5
|
import Loader from './Loader.js';
|
|
6
6
|
import Icon, { IconTypes, IconColors } from './Icon.js';
|
|
7
|
-
import { a as LabelTypography, b as LabelColors } from '../index-
|
|
8
|
-
import { a as VoicePlayerStatus } from '../index-
|
|
9
|
-
import '../consts-
|
|
7
|
+
import { a as LabelTypography, b as LabelColors } from '../index-2c0ab386.js';
|
|
8
|
+
import { a as VoicePlayerStatus } from '../index-e1cff2ff.js';
|
|
9
|
+
import '../consts-b3042213.js';
|
|
10
10
|
import '../VoiceRecorder/context.js';
|
|
11
11
|
import '../lame.all.js';
|
|
12
12
|
import '../useSendbirdStateContext.js';
|
|
13
13
|
import '../withSendbird.js';
|
|
14
|
-
import '../tslib.es6-
|
|
14
|
+
import '../tslib.es6-1aaf3795.js';
|
|
15
15
|
import 'prop-types';
|
|
16
|
-
import '../stringSet-
|
|
16
|
+
import '../stringSet-273bec27.js';
|
|
17
17
|
|
|
18
18
|
var VoiceMessageItemBody = function (_a) {
|
|
19
19
|
var _b;
|
package/ui/VoiceMessgeInput.js
CHANGED
|
@@ -3,13 +3,13 @@ import './PlaybackTime.js';
|
|
|
3
3
|
import './ProgressBar.js';
|
|
4
4
|
import './TextButton.js';
|
|
5
5
|
import './Icon.js';
|
|
6
|
-
import '../index-
|
|
7
|
-
import '../LocalizationContext-
|
|
8
|
-
export { a as VoiceMessageInput } from '../index-
|
|
9
|
-
import '../consts-
|
|
6
|
+
import '../index-2c0ab386.js';
|
|
7
|
+
import '../LocalizationContext-ef72d4b1.js';
|
|
8
|
+
export { a as VoiceMessageInput } from '../index-e571f56c.js';
|
|
9
|
+
import '../consts-b3042213.js';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import '../stringSet-
|
|
12
|
-
import '../tslib.es6-
|
|
13
|
-
import '../color-
|
|
14
|
-
import '../index-
|
|
11
|
+
import '../stringSet-273bec27.js';
|
|
12
|
+
import '../tslib.es6-1aaf3795.js';
|
|
13
|
+
import '../color-e5d40073.js';
|
|
14
|
+
import '../index-18c2f8d4.js';
|
|
15
15
|
//# sourceMappingURL=VoiceMessgeInput.js.map
|
package/ui/Word.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { a as LabelTypography } from '../index-
|
|
2
|
+
import { a as LabelTypography } from '../index-2c0ab386.js';
|
|
3
3
|
import LinkLabel from './LinkLabel.js';
|
|
4
|
-
import { u as uuidv4 } from '../uuid-
|
|
5
|
-
import { k as convertWordToStringObj, S as StringObjType } from '../index-
|
|
4
|
+
import { u as uuidv4 } from '../uuid-29207f65.js';
|
|
5
|
+
import { k as convertWordToStringObj, S as StringObjType } from '../index-556999ef.js';
|
|
6
6
|
import MentionLabel from './MentionLabel.js';
|
|
7
7
|
import 'prop-types';
|
|
8
|
-
import '../stringSet-
|
|
9
|
-
import '../tslib.es6-
|
|
8
|
+
import '../stringSet-273bec27.js';
|
|
9
|
+
import '../tslib.es6-1aaf3795.js';
|
|
10
10
|
import '../utils/message/getOutgoingMessageState.js';
|
|
11
11
|
import './ContextMenu.js';
|
|
12
12
|
import 'react-dom';
|
|
13
13
|
import './SortByRow.js';
|
|
14
14
|
import './UserProfile.js';
|
|
15
|
-
import '../LocalizationContext-
|
|
16
|
-
import '../index-
|
|
17
|
-
import '../UserProfileContext-
|
|
15
|
+
import '../LocalizationContext-ef72d4b1.js';
|
|
16
|
+
import '../index-18c2f8d4.js';
|
|
17
|
+
import '../UserProfileContext-5d7c5f9f.js';
|
|
18
18
|
import '../sendbirdSelectors.js';
|
|
19
|
-
import '../topics-
|
|
20
|
-
import '../utils-
|
|
19
|
+
import '../topics-df7f51d4.js';
|
|
20
|
+
import '../utils-99c30ef6.js';
|
|
21
21
|
import './Avatar.js';
|
|
22
22
|
import './ImageRenderer.js';
|
|
23
23
|
import './Icon.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __assign } from './tslib.es6-
|
|
1
|
+
import { _ as __assign } from './tslib.es6-1aaf3795.js';
|
|
2
2
|
import { useState, useRef, useCallback } from 'react';
|
|
3
|
-
import { u as useMediaQueryContext } from './MediaQueryContext-
|
|
3
|
+
import { u as useMediaQueryContext } from './MediaQueryContext-683c7242.js';
|
|
4
4
|
|
|
5
5
|
var DEFAULT_DURATION = 300;
|
|
6
6
|
|
|
@@ -113,4 +113,4 @@ function useLongPress(_a, _b) {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
export { useLongPress as u };
|
|
116
|
-
//# sourceMappingURL=useLongPress-
|
|
116
|
+
//# sourceMappingURL=useLongPress-1ae5a380.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLongPress-
|
|
1
|
+
{"version":3,"file":"useLongPress-1ae5a380.js","sources":["../src/hooks/useLongPress.tsx"],"sourcesContent":["// thanks to: https://stackoverflow.com/questions/48048957/react-long-press-event\n/* example:\n const Component = ({ onClick }) => {\n const onLongPress = useLongPress({\n onClick: onClick,\n onLongPress: () => {\n alert('longpress');\n }\n }, {\n delay: 500,\n shouldPreventDefault: true,\n });\n return (\n <button {...onLongPress}>\n hello\n </button>\n )\n }\n*/\nimport React, {\n useState,\n useRef,\n useCallback,\n} from 'react';\nimport {\n useMediaQueryContext,\n} from '../lib/MediaQueryContext';\n\nconst DEFAULT_DURATION = 300;\n\nfunction preventDefault(e: Event) {\n if (!isTouchEvent(e)) {\n return\n }\n\n if (e.touches.length < 2 && e.preventDefault) {\n e.preventDefault();\n }\n}\n\nexport function isTouchEvent(e: Event): e is TouchEvent {\n return e && 'touches' in e;\n}\n\ninterface PressHandlers<T> {\n onLongPress: (e: React.MouseEvent<T> | React.TouchEvent<T>) => void;\n onClick?: (e: React.MouseEvent<T> | React.TouchEvent<T>) => void;\n}\n\ninterface Options {\n delay?: number;\n shouldPreventDefault?: boolean;\n}\n\ninterface UseLongPressType<T> {\n onTouchMove: (e: React.TouchEvent<T>) => void;\n onMouseDown: (e: React.MouseEvent<T>) => void;\n onTouchStart: (e: React.TouchEvent<T>) => void;\n onMouseUp: (e: React.MouseEvent<T>) => void;\n onMouseLeave: (e: React.MouseEvent<T>) => void;\n onTouchEnd: (e: React.TouchEvent<T>) => void;\n}\n\nexport default function useLongPress<T> ({\n onLongPress,\n onClick,\n}: PressHandlers<T>, {\n delay = DEFAULT_DURATION,\n shouldPreventDefault = true,\n}: Options = {}): UseLongPressType<T> {\n const { isMobile } = useMediaQueryContext();\n const [longPressTriggered, setLongPressTriggered] = useState(false);\n const [dragTriggered, setDragTriggered] = useState(false);\n // https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype\n const timeout = useRef<ReturnType<typeof setTimeout>>();\n const target = useRef<EventTarget>();\n\n const start = useCallback((e: React.MouseEvent<T> | React.TouchEvent<T>) => {\n e.persist();\n const clonedEvent = {\n ...e,\n };\n setDragTriggered(false);\n if (shouldPreventDefault && e.target) {\n e.target.addEventListener(\n 'touchend',\n preventDefault, {\n passive: false,\n },\n );\n target.current = e.target;\n }\n\n timeout.current = setTimeout(() => {\n onLongPress(clonedEvent);\n setLongPressTriggered(true);\n }, delay);\n }, [onLongPress, delay, shouldPreventDefault, isMobile]);\n\n const clear = useCallback((\n e: React.MouseEvent<T> | React.TouchEvent<T>,\n shouldTriggerClick = true,\n onDrag = false,\n ) => {\n if (onDrag) {\n setDragTriggered(true);\n } else {\n setDragTriggered(false);\n }\n if (timeout?.current) {\n clearTimeout(timeout.current);\n }\n if (shouldTriggerClick && !longPressTriggered && !dragTriggered) {\n onClick?.(e);\n }\n setLongPressTriggered(false);\n if (shouldPreventDefault && target.current) {\n target.current.removeEventListener('touchend', preventDefault);\n }\n },[shouldPreventDefault, onClick, longPressTriggered, dragTriggered]);\n\n return {\n onMouseDown: (e: React.MouseEvent<T>) => start(e),\n onMouseUp: (e: React.MouseEvent<T>) => clear(e),\n onMouseLeave: (e: React.MouseEvent<T>) => clear(e, false),\n onTouchStart: (e: React.TouchEvent<T>) => start(e),\n // setDragTriggered as true on touchmove, so that next onTouchEnd is ignored\n // if we dont do it, onClick?.(e) will be triggred, see inside clear()\n onTouchMove: (e: React.TouchEvent<T>) => clear(e, false, true),\n onTouchEnd: (e: React.TouchEvent<T>) => clear(e),\n };\n}\n"],"names":["DEFAULT_DURATION","preventDefault","e","isTouchEvent","touches","length","useLongPress","_a","_b","onLongPress","onClick","_c","_d","delay","_e","shouldPreventDefault","isMobile","useMediaQueryContext","_f","useState","longPressTriggered","setLongPressTriggered","_g","dragTriggered","setDragTriggered","timeout","useRef","target","start","useCallback","persist","clonedEvent","__assign","addEventListener","passive","current","setTimeout","clear","shouldTriggerClick","onDrag","clearTimeout","removeEventListener","onMouseDown","onMouseUp","onMouseLeave","onTouchStart","onTouchMove","onTouchEnd"],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as isVoiceMessage$1 } from '../../index-
|
|
2
|
-
import '../../tslib.es6-
|
|
1
|
+
import { d as isVoiceMessage$1 } from '../../index-556999ef.js';
|
|
2
|
+
import '../../tslib.es6-1aaf3795.js';
|
|
3
3
|
import './getOutgoingMessageState.js';
|
|
4
4
|
|
|
5
5
|
var isVoiceMessage = isVoiceMessage$1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-09901477.js","sources":["../src/ui/OpenchannelUserMessage/utils.ts"],"sourcesContent":["export const copyToClipboard = (text: string): boolean => {\n // @ts-ignore: Unreachable code error\n if (window.clipboardData && window.clipboardData.setData) {\n // Internet Explorer-specific code path to prevent textarea being shown while dialog is visible.\n // @ts-ignore: Unreachable code error\n return window.clipboardData.setData('Text', text);\n }\n if (document.queryCommandSupported && document.queryCommandSupported('copy')) {\n const textarea = document.createElement('textarea');\n textarea.textContent = text;\n textarea.style.position = 'fixed'; // Prevent scrolling to bottom of page in Microsoft Edge.\n document.body.appendChild(textarea);\n textarea.select();\n try {\n return document.execCommand('copy'); // Security exception may be thrown by some browsers.\n } catch (ex) {\n return false;\n } finally {\n document.body.removeChild(textarea);\n }\n }\n return false;\n};\n\nexport default { copyToClipboard };\n"],"names":["copyToClipboard","text","window","clipboardData","setData","document","queryCommandSupported","textarea","createElement","textContent","style","position","body","appendChild","select","execCommand","ex","removeChild"],"mappings":"AAAaA,IAAAA,eAAe,GAAG,UAACC,IAAD,EAAa;AAC1C;EACA,IAAIC,MAAM,CAACC,aAAP,IAAwBD,MAAM,CAACC,aAAP,CAAqBC,OAAjD,EAA0D;AACxD;AACA;IACA,OAAOF,MAAM,CAACC,aAAP,CAAqBC,OAArB,CAA6B,MAA7B,EAAqCH,IAArC,CAAP,CAAA;AACD,GAAA;;EACD,IAAII,QAAQ,CAACC,qBAAT,IAAkCD,QAAQ,CAACC,qBAAT,CAA+B,MAA/B,CAAtC,EAA8E;AAC5E,IAAA,IAAMC,QAAQ,GAAGF,QAAQ,CAACG,aAAT,CAAuB,UAAvB,CAAjB,CAAA;IACAD,QAAQ,CAACE,WAAT,GAAuBR,IAAvB,CAAA;AACAM,IAAAA,QAAQ,CAACG,KAAT,CAAeC,QAAf,GAA0B,OAA1B,CAH4E;;AAI5EN,IAAAA,QAAQ,CAACO,IAAT,CAAcC,WAAd,CAA0BN,QAA1B,CAAA,CAAA;AACAA,IAAAA,QAAQ,CAACO,MAAT,EAAA,CAAA;;IACA,IAAI;AACF,MAAA,OAAOT,QAAQ,CAACU,WAAT,CAAqB,MAArB,CAAP,CADE;KAAJ,CAEE,OAAOC,EAAP,EAAW;AACX,MAAA,OAAO,KAAP,CAAA;AACD,KAJD,SAIU;AACRX,MAAAA,QAAQ,CAACO,IAAT,CAAcK,WAAd,CAA0BV,QAA1B,CAAA,CAAA;AACD,KAAA;AACF,GAAA;;AACD,EAAA,OAAO,KAAP,CAAA;AACD;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as LabelStringSet } from './index-
|
|
1
|
+
import { c as LabelStringSet } from './index-2c0ab386.js';
|
|
2
2
|
|
|
3
3
|
var getChannelTitle = function (channel, currentUserId, stringSet) {
|
|
4
4
|
var _a;
|
|
@@ -27,4 +27,4 @@ var getChannelTitle = function (channel, currentUserId, stringSet) {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
export { getChannelTitle as g };
|
|
30
|
-
//# sourceMappingURL=utils-
|
|
30
|
+
//# sourceMappingURL=utils-1b97d8ea.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-1b97d8ea.js","sources":["../src/smart-components/Channel/components/ChannelHeader/utils.ts"],"sourcesContent":["import type { GroupChannel } from '@sendbird/chat/groupChannel';\nimport { LabelStringSet } from '../../../../ui/Label';\n\nexport const getChannelTitle = (\n channel: GroupChannel,\n currentUserId: string,\n stringSet: { [label: string]: string }\n ): string => {\n const LABEL_STRING_SET: { [label: string]: string } = stringSet || LabelStringSet;\n if (!channel?.name && !channel?.members) {\n return LABEL_STRING_SET.NO_TITLE;\n }\n if (channel?.name && channel.name !== 'Group Channel') {\n return channel.name;\n }\n\n if (channel?.members?.length === 1) {\n return LABEL_STRING_SET.NO_MEMBERS;\n }\n\n return channel?.members\n .filter(({ userId }) => userId !== currentUserId)\n .map(({ nickname }) => (nickname || LABEL_STRING_SET.NO_NAME))\n .join(', ');\n};\n"],"names":["getChannelTitle","channel","currentUserId","stringSet","LABEL_STRING_SET","LabelStringSet","name","members","NO_TITLE","_a","length","NO_MEMBERS","filter","userId","map","nickname","NO_NAME","join"],"mappings":";;AAGO,IAAMA,eAAe,GAAG,UAC7BC,OAD6B,EAE7BC,aAF6B,EAG7BC,SAH6B,EAGS;;;AAEtC,EAAA,IAAMC,gBAAgB,GAAgCD,SAAS,IAAIE,cAAnE,CAAA;;AACA,EAAA,IAAI,EAACJ,OAAO,KAAA,IAAP,IAAAA,OAAO,KAAP,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,OAAO,CAAEK,IAAV,CAAA,IAAkB,EAACL,OAAO,KAAP,IAAA,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEM,OAAV,CAAtB,EAAyC;IACvC,OAAOH,gBAAgB,CAACI,QAAxB,CAAA;AACD,GAAA;;EACD,IAAI,CAAAP,OAAO,KAAP,IAAA,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEK,IAAT,KAAiBL,OAAO,CAACK,IAAR,KAAiB,eAAtC,EAAuD;IACrD,OAAOL,OAAO,CAACK,IAAf,CAAA;AACD,GAAA;;AAED,EAAA,IAAI,CAAA,CAAAG,EAAA,GAAAR,OAAO,KAAA,IAAP,IAAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAAA,OAAO,CAAEM,OAAT,MAAgB,IAAhB,IAAgBE,EAAA,KAAA,KAAA,CAAhB,GAAgB,KAAA,CAAhB,GAAgBA,EAAA,CAAEC,MAAlB,MAA6B,CAAjC,EAAoC;IAClC,OAAON,gBAAgB,CAACO,UAAxB,CAAA;AACD,GAAA;;EAED,OAAOV,OAAO,KAAP,IAAA,IAAAA,OAAO,KAAP,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,OAAO,CAAEM,OAAT,CACJK,MADI,CACG,UAACH,EAAD,EAAW;AAAR,IAAA,IAAAI,MAAM,GAAAJ,EAAA,CAAAI,MAAN,CAAA;IAAa,OAAAA,MAAM,KAAKX,aAAX,CAAA;AAAwB,GAD3C,CAEJY,CAAAA,GAFI,CAEA,UAACL,EAAD,EAAa;AAAV,IAAA,IAAAM,QAAQ,GAAAN,EAAA,CAAAM,QAAR,CAAA;AAAe,IAAA,OAACA,QAAQ,IAAIX,gBAAgB,CAACY,OAA9B,CAAA;AAAsC,GAFxD,CAGJC,CAAAA,IAHI,CAGC,IAHD,CAAP,CAAA;AAID;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-25614c42.js","sources":["../src/ui/ChannelAvatar/utils.ts"],"sourcesContent":["import type { GroupChannel } from \"@sendbird/chat/groupChannel\";\nimport type { OpenChannel } from \"@sendbird/chat/openChannel\";\n\nexport const DEFAULT_URL_PREFIX = 'https://static.sendbird.com/sample/cover/cover_';\n\nexport const getOpenChannelAvatar = (channel: OpenChannel): string => {\n if (channel?.coverUrl) {\n return channel.coverUrl;\n }\n};\n\nexport const getChannelAvatarSource = (channel: GroupChannel, currentUserId: string): string | Array<string> => {\n if (channel?.coverUrl) {\n if (!(new RegExp(`^${DEFAULT_URL_PREFIX}`).test(channel.coverUrl))) {\n return channel.coverUrl;\n }\n }\n return (channel?.members || [])\n .filter((member) => member.userId !== currentUserId)\n .map(({ profileUrl }) => profileUrl);\n};\n\nexport const generateDefaultAvatar = (channel: GroupChannel): boolean => {\n if (channel?.coverUrl) {\n if (new RegExp(`^${DEFAULT_URL_PREFIX}`).test(channel.coverUrl)) {\n return true;\n }\n return false;\n }\n return true;\n}\n"],"names":["DEFAULT_URL_PREFIX","getOpenChannelAvatar","channel","coverUrl","getChannelAvatarSource","currentUserId","RegExp","test","members","filter","member","userId","map","_a","profileUrl","generateDefaultAvatar","concat"],"mappings":"AAGO,IAAMA,kBAAkB,GAAG,iDAA3B,CAAA;AAEMC,IAAAA,oBAAoB,GAAG,UAACC,OAAD,EAAqB;AACvD,EAAA,IAAIA,OAAO,KAAP,IAAA,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEC,QAAb,EAAuB;IACrB,OAAOD,OAAO,CAACC,QAAf,CAAA;AACD,GAAA;AACF,EAJM;IAMMC,sBAAsB,GAAG,UAACF,OAAD,EAAwBG,aAAxB,EAA6C;AACjF,EAAA,IAAIH,OAAO,KAAP,IAAA,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEC,QAAb,EAAuB;AACrB,IAAA,IAAI,CAAE,IAAIG,MAAJ,CAAW,GAAA,OAAA,CAAIN,kBAAJ,CAAX,CAAA,CAAqCO,IAArC,CAA0CL,OAAO,CAACC,QAAlD,CAAN,EAAoE;MAClE,OAAOD,OAAO,CAACC,QAAf,CAAA;AACD,KAAA;AACF,GAAA;;EACD,OAAO,CAAC,CAAAD,OAAO,KAAP,IAAA,IAAAA,OAAO,KAAP,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,OAAO,CAAEM,OAAT,KAAoB,EAArB,EACJC,MADI,CACG,UAACC,MAAD,EAAO;AAAK,IAAA,OAAAA,MAAM,CAACC,MAAP,KAAkBN,aAAlB,CAAA;AAA+B,GAD9C,CAEJO,CAAAA,GAFI,CAEA,UAACC,EAAD,EAAe;AAAZ,IAAA,IAAAC,UAAU,GAAAD,EAAA,CAAAC,UAAV,CAAA;AAAiB,IAAA,OAAAA,UAAA,CAAA;AAAU,GAF9B,CAAP,CAAA;AAGD,EATM;AAWMC,IAAAA,qBAAqB,GAAG,UAACb,OAAD,EAAsB;AACzD,EAAA,IAAIA,OAAO,KAAP,IAAA,IAAAA,OAAO,WAAP,SAAA,GAAAA,OAAO,CAAEC,QAAb,EAAuB;AACrB,IAAA,IAAI,IAAIG,MAAJ,CAAW,GAAA,CAAAU,MAAA,CAAIhB,kBAAJ,CAAX,CAAA,CAAqCO,IAArC,CAA0CL,OAAO,CAACC,QAAlD,CAAJ,EAAiE;AAC/D,MAAA,OAAO,IAAP,CAAA;AACD,KAAA;;AACD,IAAA,OAAO,KAAP,CAAA;AACD,GAAA;;AACD,EAAA,OAAO,IAAP,CAAA;AACD;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils-
|
|
1
|
+
{"version":3,"file":"utils-99c30ef6.js","sources":["../src/utils/utils.js"],"sourcesContent":["export const noop = () => {};\n\nexport const getSenderName = (message) => (\n message.sender && (\n message.sender.friendName\n || message.sender.nickname\n || message.sender.userId\n )\n);\n\nexport const getSenderProfileUrl = (message) => message.sender && message.sender.profileUrl;\n\nexport default {\n getSenderName,\n getSenderProfileUrl,\n};\n"],"names":["noop"],"mappings":"AAAaA,MAAAA,IAAI,GAAG,MAAM;;;;"}
|