@sendbird/uikit-react 3.4.4 → 3.4.5
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 +47 -42
- package/App.js.map +1 -1
- package/CHANGELOG.md +80 -0
- package/Channel/components/ChannelHeader.js +19 -19
- package/Channel/components/ChannelUI.js +39 -35
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +15 -15
- package/Channel/components/FrozenNotification.js +4 -4
- package/Channel/components/Message.js +43 -39
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +27 -24
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageList.js +65 -62
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +17 -17
- package/Channel/components/SuggestedMentionList.js +17 -17
- package/Channel/components/TypingIndicator.js +15 -15
- package/Channel/components/UnreadCount.js +4 -4
- package/Channel/context.js +14 -14
- package/Channel.js +40 -35
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +15 -15
- package/ChannelList/components/ChannelListHeader.js +6 -6
- package/ChannelList/components/ChannelListUI.js +40 -62
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- 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-3c107fc7.js → ChannelListProvider-10fe7340.js} +18 -12
- package/ChannelListProvider-10fe7340.js.map +1 -0
- package/{ChannelProvider-28639e83.js → ChannelProvider-4ac82784.js} +32 -32
- package/ChannelProvider-4ac82784.js.map +1 -0
- package/ChannelSettings/components/ChannelProfile.js +11 -11
- package/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +14 -14
- package/ChannelSettings/components/UserListItem.js +10 -10
- package/ChannelSettings/components/UserPanel.js +13 -13
- package/ChannelSettings/context.js +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-09772304.js → CreateChannelProvider-11045f46.js} +1 -1
- package/{CreateChannelProvider-09772304.js.map → CreateChannelProvider-11045f46.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-ef72d4b1.js → LocalizationContext-654ae04f.js} +3 -3
- package/{LocalizationContext-ef72d4b1.js.map → LocalizationContext-654ae04f.js.map} +1 -1
- package/{MediaQueryContext-683c7242.js → MediaQueryContext-e791a4d1.js} +1 -1
- package/{MediaQueryContext-683c7242.js.map → MediaQueryContext-e791a4d1.js.map} +1 -1
- package/{MemberList-0bc3ff4a.js → MemberList-6f3c8288.js} +5 -5
- package/{MemberList-0bc3ff4a.js.map → MemberList-6f3c8288.js.map} +1 -1
- package/Message/context.js +30 -0
- package/Message/context.js.map +1 -0
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +11 -11
- package/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/OpenChannel/components/OpenChannelInput.js +19 -16
- package/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessage.js +28 -24
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +58 -38
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +31 -27
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +8 -8
- package/OpenChannel.js +31 -27
- package/OpenChannel.js.map +1 -1
- 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-e5246224.js → OpenChannelListProvider-eb189b41.js} +3 -3
- package/{OpenChannelListProvider-e5246224.js.map → OpenChannelListProvider-eb189b41.js.map} +1 -1
- package/{OpenChannelProvider-c5952f33.js → OpenChannelProvider-e418b369.js} +7 -7
- package/{OpenChannelProvider-c5952f33.js.map → OpenChannelProvider-e418b369.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/README.md +3 -2
- package/{RemoveMessageModal-63a8b079.js → RemoveMessageModal-938b400d.js} +3 -3
- package/{RemoveMessageModal-63a8b079.js.map → RemoveMessageModal-938b400d.js.map} +1 -1
- package/SendbirdProvider.js +93 -14
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +32 -28
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +43 -45
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +6 -6
- package/Thread/components/ThreadList.js +48 -36
- package/Thread/components/ThreadList.js.map +1 -1
- package/Thread/components/ThreadListItem.js +34 -30
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +28 -25
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +66 -58
- package/Thread/components/ThreadUI.js.map +1 -1
- package/Thread/context.js +8 -8
- package/Thread.js +44 -40
- package/Thread.js.map +1 -1
- package/{ThreadProvider-435a6f11.js → ThreadProvider-faf3df5d.js} +7 -7
- package/{ThreadProvider-435a6f11.js.map → ThreadProvider-faf3df5d.js.map} +1 -1
- package/{UserProfileContext-5d7c5f9f.js → UserProfileContext-1996d4d2.js} +1 -1
- package/{UserProfileContext-5d7c5f9f.js.map → UserProfileContext-1996d4d2.js.map} +1 -1
- package/{VoiceMessageInputWrapper-8a9dda68.js → VoiceMessageInputWrapper-59373f20.js} +7 -7
- package/{VoiceMessageInputWrapper-8a9dda68.js.map → VoiceMessageInputWrapper-59373f20.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-37cba0d6.js → _rollupPluginBabelHelpers-e908c50d.js} +1 -1
- package/_rollupPluginBabelHelpers-e908c50d.js.map +1 -0
- package/{actionTypes-80e9dbe4.js → actionTypes-ee7f96a9.js} +1 -1
- package/{actionTypes-80e9dbe4.js.map → actionTypes-ee7f96a9.js.map} +1 -1
- package/cjs/App.js +47 -42
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +19 -19
- package/cjs/Channel/components/ChannelUI.js +39 -35
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +15 -15
- package/cjs/Channel/components/FrozenNotification.js +4 -4
- package/cjs/Channel/components/Message.js +43 -39
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +27 -24
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +65 -62
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +17 -17
- package/cjs/Channel/components/SuggestedMentionList.js +17 -17
- package/cjs/Channel/components/TypingIndicator.js +15 -15
- package/cjs/Channel/components/UnreadCount.js +4 -4
- package/cjs/Channel/context.js +14 -14
- package/cjs/Channel.js +40 -35
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +15 -15
- package/cjs/ChannelList/components/ChannelListHeader.js +6 -6
- package/cjs/ChannelList/components/ChannelListUI.js +39 -61
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- 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-b7ffadf7.js → ChannelListProvider-d4f91fc4.js} +18 -12
- package/cjs/ChannelListProvider-d4f91fc4.js.map +1 -0
- package/cjs/{ChannelProvider-b963c72c.js → ChannelProvider-af0b997c.js} +32 -32
- package/cjs/ChannelProvider-af0b997c.js.map +1 -0
- package/cjs/ChannelSettings/components/ChannelProfile.js +11 -11
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/cjs/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +14 -14
- package/cjs/ChannelSettings/components/UserListItem.js +10 -10
- package/cjs/ChannelSettings/components/UserPanel.js +13 -13
- package/cjs/ChannelSettings/context.js +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-ea54c83b.js → CreateChannelProvider-c4ad28a8.js} +1 -1
- package/cjs/{CreateChannelProvider-ea54c83b.js.map → CreateChannelProvider-c4ad28a8.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-4822793b.js → LocalizationContext-01fceac0.js} +3 -3
- package/cjs/{LocalizationContext-4822793b.js.map → LocalizationContext-01fceac0.js.map} +1 -1
- package/cjs/{MediaQueryContext-b83880cc.js → MediaQueryContext-4978c777.js} +1 -1
- package/cjs/{MediaQueryContext-b83880cc.js.map → MediaQueryContext-4978c777.js.map} +1 -1
- package/cjs/{MemberList-4cfc05a3.js → MemberList-5c05b62f.js} +5 -5
- package/cjs/{MemberList-4cfc05a3.js.map → MemberList-5c05b62f.js.map} +1 -1
- package/cjs/Message/context.js +39 -0
- package/cjs/Message/context.js.map +1 -0
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +11 -11
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/cjs/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/cjs/OpenChannel/components/OpenChannelInput.js +19 -16
- package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessage.js +28 -24
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +58 -38
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +31 -27
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +8 -8
- package/cjs/OpenChannel.js +31 -27
- package/cjs/OpenChannel.js.map +1 -1
- 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-9fc6f344.js → OpenChannelListProvider-3be4b8a5.js} +3 -3
- package/cjs/{OpenChannelListProvider-9fc6f344.js.map → OpenChannelListProvider-3be4b8a5.js.map} +1 -1
- package/cjs/{OpenChannelProvider-64fb7652.js → OpenChannelProvider-56af9a0e.js} +7 -7
- package/cjs/{OpenChannelProvider-64fb7652.js.map → OpenChannelProvider-56af9a0e.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-00de23ec.js → RemoveMessageModal-31ff9edc.js} +3 -3
- package/cjs/{RemoveMessageModal-00de23ec.js.map → RemoveMessageModal-31ff9edc.js.map} +1 -1
- package/cjs/SendbirdProvider.js +92 -13
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +32 -28
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +42 -44
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +6 -6
- package/cjs/Thread/components/ThreadList.js +48 -36
- package/cjs/Thread/components/ThreadList.js.map +1 -1
- package/cjs/Thread/components/ThreadListItem.js +34 -30
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +28 -25
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +67 -59
- package/cjs/Thread/components/ThreadUI.js.map +1 -1
- package/cjs/Thread/context.js +8 -8
- package/cjs/Thread.js +44 -40
- package/cjs/Thread.js.map +1 -1
- package/cjs/{ThreadProvider-93f2b7e5.js → ThreadProvider-12784adf.js} +7 -7
- package/cjs/{ThreadProvider-93f2b7e5.js.map → ThreadProvider-12784adf.js.map} +1 -1
- package/cjs/{UserProfileContext-7bc4eec4.js → UserProfileContext-c4642438.js} +1 -1
- package/cjs/{UserProfileContext-7bc4eec4.js.map → UserProfileContext-c4642438.js.map} +1 -1
- package/cjs/{VoiceMessageInputWrapper-82c8ef13.js → VoiceMessageInputWrapper-3b5db880.js} +7 -7
- package/cjs/{VoiceMessageInputWrapper-82c8ef13.js.map → VoiceMessageInputWrapper-3b5db880.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-1218aafb.js → _rollupPluginBabelHelpers-994cd1da.js} +1 -1
- package/cjs/_rollupPluginBabelHelpers-994cd1da.js.map +1 -0
- package/cjs/{actionTypes-f186c4dd.js → actionTypes-38d53eaf.js} +1 -1
- package/cjs/{actionTypes-f186c4dd.js.map → actionTypes-38d53eaf.js.map} +1 -1
- package/cjs/{color-937f65ad.js → color-8f9fe57f.js} +1 -1
- package/cjs/{color-937f65ad.js.map → color-8f9fe57f.js.map} +1 -1
- package/cjs/{compareIds-3d732a01.js → compareIds-b77b66f3.js} +1 -1
- package/cjs/{compareIds-3d732a01.js.map → compareIds-b77b66f3.js.map} +1 -1
- package/cjs/{const-44ac2c14.js → const-35f8be84.js} +1 -1
- package/cjs/{const-44ac2c14.js.map → const-35f8be84.js.map} +1 -1
- package/cjs/{const-73aa22ac.js → const-e03cb4c1.js} +1 -1
- package/cjs/{const-73aa22ac.js.map → const-e03cb4c1.js.map} +1 -1
- package/cjs/{consts-2b0eaee0.js → consts-69fc20be.js} +1 -1
- package/cjs/{consts-2b0eaee0.js.map → consts-69fc20be.js.map} +1 -1
- package/cjs/consts-956b1221.js +6 -0
- package/cjs/consts-956b1221.js.map +1 -0
- package/cjs/consts-aabb33e0.js +6 -0
- package/cjs/consts-aabb33e0.js.map +1 -0
- package/cjs/{consts-11872691.js → consts-b29bd4d5.js} +1 -1
- package/cjs/{consts-11872691.js.map → consts-b29bd4d5.js.map} +1 -1
- package/cjs/{context-7e270322.js → context-d9e248df.js} +2 -2
- package/cjs/{context-7e270322.js.map → context-d9e248df.js.map} +1 -1
- package/cjs/dist/index.css +89 -81
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{index-a867516a.js → index-1e57cbdb.js} +4 -4
- package/cjs/{index-a867516a.js.map → index-1e57cbdb.js.map} +1 -1
- package/cjs/{index-f78cff63.js → index-1f02e60f.js} +2 -2
- package/cjs/{index-f78cff63.js.map → index-1f02e60f.js.map} +1 -1
- package/cjs/{index-7207d339.js → index-26a1e861.js} +11 -5
- package/cjs/index-26a1e861.js.map +1 -0
- package/cjs/{index-57989185.js → index-36aaf992.js} +1 -1
- package/cjs/{index-57989185.js.map → index-36aaf992.js.map} +1 -1
- package/cjs/index-603c2a7c.js +63 -0
- package/cjs/index-603c2a7c.js.map +1 -0
- package/cjs/{index-2f2f3e43.js → index-72fd0294.js} +8 -2
- package/cjs/index-72fd0294.js.map +1 -0
- package/cjs/{index-1151a507.js → index-7c5d21c4.js} +1 -1
- package/cjs/{index-1151a507.js.map → index-7c5d21c4.js.map} +1 -1
- package/cjs/{index-cfff5dbb.js → index-959a4ab1.js} +2 -2
- package/cjs/{index-cfff5dbb.js.map → index-959a4ab1.js.map} +1 -1
- package/cjs/{index-f52caf82.js → index-a7fa406f.js} +2 -2
- package/cjs/{index-f52caf82.js.map → index-a7fa406f.js.map} +1 -1
- package/cjs/{index-aaa65319.js → index-aa908fcf.js} +7 -7
- package/cjs/{index-aaa65319.js.map → index-aa908fcf.js.map} +1 -1
- package/cjs/{index-a5fad93c.js → index-aeba3b06.js} +4 -4
- package/cjs/{index-a5fad93c.js.map → index-aeba3b06.js.map} +1 -1
- package/cjs/{index-c7ff34af.js → index-b9fbe704.js} +5 -5
- package/cjs/{index-c7ff34af.js.map → index-b9fbe704.js.map} +1 -1
- package/cjs/{index-e9d3a5d6.js → index-c825cf5b.js} +3 -3
- package/cjs/{index-e9d3a5d6.js.map → index-c825cf5b.js.map} +1 -1
- package/cjs/{index-3f30ab14.js → index-d41db9c1.js} +7 -7
- package/cjs/{index-3f30ab14.js.map → index-d41db9c1.js.map} +1 -1
- package/cjs/{index-20fc629b.js → index-e3f00fd1.js} +3 -3
- package/cjs/{index-20fc629b.js.map → index-e3f00fd1.js.map} +1 -1
- package/cjs/index.js +55 -51
- package/cjs/index.js.map +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/{stringSet-7f49973c.js → stringSet-7330b627.js} +1 -1
- package/cjs/{stringSet-7f49973c.js.map → stringSet-7330b627.js.map} +1 -1
- package/cjs/tokenize-a5a20ef3.js +134 -0
- package/cjs/tokenize-a5a20ef3.js.map +1 -0
- package/cjs/{topics-9d6a6d36.js → topics-7547922a.js} +1 -1
- package/cjs/{topics-9d6a6d36.js.map → topics-7547922a.js.map} +1 -1
- package/cjs/{tslib.es6-46c08a06.js → tslib.es6-ee1122c5.js} +1 -1
- package/cjs/{tslib.es6-46c08a06.js.map → tslib.es6-ee1122c5.js.map} +1 -1
- package/cjs/{types-31b11c88.js → types-7daeb4a1.js} +1 -1
- package/cjs/types-7daeb4a1.js.map +1 -0
- 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 +12 -11
- package/cjs/ui/MentionLabel.js.map +1 -1
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +29 -25
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput.js +81 -52
- package/cjs/ui/MessageInput.js.map +1 -1
- 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 +26 -32
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- 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 +48 -64
- package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
- 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 +25 -30
- package/cjs/ui/TextMessageItemBody.js.map +1 -1
- 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 +15 -10
- package/cjs/ui/Word.js.map +1 -1
- package/cjs/{useLongPress-839c53cb.js → useLongPress-3e3b1188.js} +3 -3
- package/cjs/{useLongPress-839c53cb.js.map → useLongPress-3e3b1188.js.map} +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +2 -2
- package/cjs/{utils-dae078f4.js → utils-5905fc1a.js} +1 -1
- package/cjs/{utils-dae078f4.js.map → utils-5905fc1a.js.map} +1 -1
- package/cjs/{utils-7d2c966a.js → utils-5ca88bb6.js} +1 -1
- package/cjs/{utils-7d2c966a.js.map → utils-5ca88bb6.js.map} +1 -1
- package/cjs/{utils-9fc9438c.js → utils-de779857.js} +2 -2
- package/cjs/{utils-9fc9438c.js.map → utils-de779857.js.map} +1 -1
- package/cjs/{utils-41bb82dc.js → utils-e4cd6a0c.js} +1 -1
- package/cjs/{utils-41bb82dc.js.map → utils-e4cd6a0c.js.map} +1 -1
- package/cjs/{uuid-8454abf3.js → uuid-26b61f16.js} +1 -1
- package/cjs/{uuid-8454abf3.js.map → uuid-26b61f16.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-e5d40073.js → color-f6e2214f.js} +1 -1
- package/{color-e5d40073.js.map → color-f6e2214f.js.map} +1 -1
- package/{compareIds-148644b4.js → compareIds-d958887d.js} +1 -1
- package/{compareIds-148644b4.js.map → compareIds-d958887d.js.map} +1 -1
- package/{const-bf594206.js → const-735bcf5b.js} +1 -1
- package/{const-bf594206.js.map → const-735bcf5b.js.map} +1 -1
- package/{const-bba4efc9.js → const-c7334190.js} +1 -1
- package/{const-bba4efc9.js.map → const-c7334190.js.map} +1 -1
- package/consts-12512664.js +4 -0
- package/consts-12512664.js.map +1 -0
- package/consts-8f50899e.js +4 -0
- package/consts-8f50899e.js.map +1 -0
- package/{consts-b3042213.js → consts-9422accf.js} +1 -1
- package/{consts-b3042213.js.map → consts-9422accf.js.map} +1 -1
- package/{consts-f9543b99.js → consts-ddb92249.js} +1 -1
- package/{consts-f9543b99.js.map → consts-ddb92249.js.map} +1 -1
- package/{context-e82cf2c4.js → context-7465b898.js} +2 -2
- package/{context-e82cf2c4.js.map → context-7465b898.js.map} +1 -1
- package/dist/index.css +89 -81
- package/dist/index.css.map +1 -1
- package/{index-86cb1c98.js → index-0ecbda20.js} +4 -4
- package/{index-86cb1c98.js.map → index-0ecbda20.js.map} +1 -1
- package/{index-e3d008b9.js → index-12c44496.js} +1 -1
- package/{index-e3d008b9.js.map → index-12c44496.js.map} +1 -1
- package/{index-253052c7.js → index-437c0f3c.js} +7 -7
- package/{index-253052c7.js.map → index-437c0f3c.js.map} +1 -1
- package/{index-90365474.js → index-47d179f2.js} +2 -2
- package/{index-90365474.js.map → index-47d179f2.js.map} +1 -1
- package/{index-1dfb77d4.js → index-4c3eaeb7.js} +2 -2
- package/{index-1dfb77d4.js.map → index-4c3eaeb7.js.map} +1 -1
- package/{index-113d122f.js → index-63e7b57b.js} +5 -5
- package/{index-113d122f.js.map → index-63e7b57b.js.map} +1 -1
- package/{index-9a413f89.js → index-6e33b2e0.js} +3 -3
- package/{index-9a413f89.js.map → index-6e33b2e0.js.map} +1 -1
- package/{index-e571f56c.js → index-7b8ea67e.js} +4 -4
- package/{index-e571f56c.js.map → index-7b8ea67e.js.map} +1 -1
- package/{index-556999ef.js → index-83ae3ffe.js} +8 -3
- package/index-83ae3ffe.js.map +1 -0
- package/{index-2c0ab386.js → index-8e901b57.js} +11 -5
- package/index-8e901b57.js.map +1 -0
- package/{index-e1cff2ff.js → index-9626a87e.js} +3 -3
- package/{index-e1cff2ff.js.map → index-9626a87e.js.map} +1 -1
- package/{index-5be5af6d.js → index-a52a0b76.js} +7 -7
- package/{index-5be5af6d.js.map → index-a52a0b76.js.map} +1 -1
- package/index-ace292c2.js +57 -0
- package/index-ace292c2.js.map +1 -0
- package/{index-97a2ff37.js → index-aced8439.js} +2 -2
- package/{index-97a2ff37.js.map → index-aced8439.js.map} +1 -1
- package/{index-18c2f8d4.js → index-cf141ad7.js} +1 -1
- package/{index-18c2f8d4.js.map → index-cf141ad7.js.map} +1 -1
- package/index.d.ts +28 -1
- package/index.js +55 -51
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/sendbirdSelectors.js +2 -2
- package/{stringSet-273bec27.js → stringSet-7c7d84fc.js} +1 -1
- package/{stringSet-273bec27.js.map → stringSet-7c7d84fc.js.map} +1 -1
- package/tokenize-8f238f49.js +130 -0
- package/tokenize-8f238f49.js.map +1 -0
- package/{topics-df7f51d4.js → topics-4697c2b3.js} +1 -1
- package/{topics-df7f51d4.js.map → topics-4697c2b3.js.map} +1 -1
- package/{tslib.es6-1aaf3795.js → tslib.es6-209c9f08.js} +1 -1
- package/{tslib.es6-1aaf3795.js.map → tslib.es6-209c9f08.js.map} +1 -1
- package/{types-ed183627.js → types-41ea68c8.js} +1 -1
- package/types-41ea68c8.js.map +1 -0
- 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 +12 -11
- package/ui/MentionLabel.js.map +1 -1
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +29 -25
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput.js +81 -52
- package/ui/MessageInput.js.map +1 -1
- 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 +26 -32
- package/ui/OGMessageItemBody.js.map +1 -1
- 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 +48 -64
- package/ui/OpenchannelOGMessage.js.map +1 -1
- 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 +25 -30
- package/ui/TextMessageItemBody.js.map +1 -1
- 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 +15 -10
- package/ui/Word.js.map +1 -1
- package/{useLongPress-1ae5a380.js → useLongPress-e2570976.js} +3 -3
- package/{useLongPress-1ae5a380.js.map → useLongPress-e2570976.js.map} +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +2 -2
- package/{utils-99c30ef6.js → utils-04bd857d.js} +1 -1
- package/{utils-99c30ef6.js.map → utils-04bd857d.js.map} +1 -1
- package/{utils-25614c42.js → utils-12a3467f.js} +1 -1
- package/{utils-25614c42.js.map → utils-12a3467f.js.map} +1 -1
- package/{utils-09901477.js → utils-3d03001e.js} +1 -1
- package/{utils-09901477.js.map → utils-3d03001e.js.map} +1 -1
- package/{utils-1b97d8ea.js → utils-4942106c.js} +2 -2
- package/{utils-1b97d8ea.js.map → utils-4942106c.js.map} +1 -1
- package/{uuid-29207f65.js → uuid-31c6ecb2.js} +1 -1
- package/{uuid-29207f65.js.map → uuid-31c6ecb2.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelListProvider-3c107fc7.js.map +0 -1
- package/ChannelProvider-28639e83.js.map +0 -1
- package/_rollupPluginBabelHelpers-37cba0d6.js.map +0 -1
- package/cjs/ChannelListProvider-b7ffadf7.js.map +0 -1
- package/cjs/ChannelProvider-b963c72c.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-1218aafb.js.map +0 -1
- package/cjs/index-2f2f3e43.js.map +0 -1
- package/cjs/index-7207d339.js.map +0 -1
- package/cjs/types-31b11c88.js.map +0 -1
- package/index-2c0ab386.js.map +0 -1
- package/index-556999ef.js.map +0 -1
- package/types-ed183627.js.map +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useContext } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
-
import { P as PUBSUB_TOPICS } from '../../topics-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-654ae04f.js';
|
|
3
|
+
import { P as PUBSUB_TOPICS } from '../../topics-4697c2b3.js';
|
|
4
4
|
import Modal from '../../ui/Modal.js';
|
|
5
5
|
import Input, { InputLabel } from '../../ui/Input.js';
|
|
6
6
|
import Avatar from '../../ui/Avatar.js';
|
|
7
7
|
import { ButtonTypes } from '../../ui/Button.js';
|
|
8
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
8
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-8e901b57.js';
|
|
9
9
|
import TextButton from '../../ui/TextButton.js';
|
|
10
10
|
import ChannelAvatar from '../../ui/OpenChannelAvatar.js';
|
|
11
11
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
12
12
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
13
|
-
import '../../stringSet-
|
|
14
|
-
import '../../index-
|
|
13
|
+
import '../../stringSet-7c7d84fc.js';
|
|
14
|
+
import '../../index-cf141ad7.js';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import '../../index-
|
|
16
|
+
import '../../index-12c44496.js';
|
|
17
17
|
import '../../ui/Icon.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import '../../ui/IconButton.js';
|
|
20
|
-
import '../../tslib.es6-
|
|
21
|
-
import '../../MediaQueryContext-
|
|
20
|
+
import '../../tslib.es6-209c9f08.js';
|
|
21
|
+
import '../../MediaQueryContext-e791a4d1.js';
|
|
22
22
|
import '../../ui/ImageRenderer.js';
|
|
23
|
-
import '../../uuid-
|
|
24
|
-
import '../../color-
|
|
25
|
-
import '../../utils-
|
|
23
|
+
import '../../uuid-31c6ecb2.js';
|
|
24
|
+
import '../../color-f6e2214f.js';
|
|
25
|
+
import '../../utils-12a3467f.js';
|
|
26
26
|
import '@sendbird/chat/openChannel';
|
|
27
|
-
import '../../UserProfileContext-
|
|
27
|
+
import '../../UserProfileContext-1996d4d2.js';
|
|
28
28
|
import '../../withSendbird.js';
|
|
29
29
|
|
|
30
30
|
var EditDetails = function (props) {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import React__default, { useState, useContext } 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-654ae04f.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-8e901b57.js';
|
|
4
4
|
import TextButton from '../../ui/TextButton.js';
|
|
5
5
|
import ChannelAvatar from '../../ui/OpenChannelAvatar.js';
|
|
6
6
|
import EditDetails from './EditDetailsModal.js';
|
|
7
7
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
8
8
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
9
|
-
import '../../stringSet-
|
|
10
|
-
import '../../index-
|
|
9
|
+
import '../../stringSet-7c7d84fc.js';
|
|
10
|
+
import '../../index-cf141ad7.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../../tslib.es6-
|
|
13
|
-
import '../../color-
|
|
12
|
+
import '../../tslib.es6-209c9f08.js';
|
|
13
|
+
import '../../color-f6e2214f.js';
|
|
14
14
|
import '../../ui/Avatar.js';
|
|
15
15
|
import '../../ui/ImageRenderer.js';
|
|
16
16
|
import '../../ui/Icon.js';
|
|
17
|
-
import '../../uuid-
|
|
18
|
-
import '../../utils-
|
|
19
|
-
import '../../topics-
|
|
17
|
+
import '../../uuid-31c6ecb2.js';
|
|
18
|
+
import '../../utils-12a3467f.js';
|
|
19
|
+
import '../../topics-4697c2b3.js';
|
|
20
20
|
import '../../ui/Modal.js';
|
|
21
21
|
import 'react-dom';
|
|
22
|
-
import '../../index-
|
|
22
|
+
import '../../index-12c44496.js';
|
|
23
23
|
import '../../ui/Button.js';
|
|
24
24
|
import '../../ui/IconButton.js';
|
|
25
|
-
import '../../MediaQueryContext-
|
|
25
|
+
import '../../MediaQueryContext-e791a4d1.js';
|
|
26
26
|
import '../../ui/Input.js';
|
|
27
27
|
import '../../withSendbird.js';
|
|
28
28
|
import '@sendbird/chat/openChannel';
|
|
29
|
-
import '../../UserProfileContext-
|
|
29
|
+
import '../../UserProfileContext-1996d4d2.js';
|
|
30
30
|
|
|
31
31
|
function ChannelProfile() {
|
|
32
32
|
var _a, _b;
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
2
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
3
3
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
4
|
-
import { U as UserProfileProvider } from '../../UserProfileContext-
|
|
5
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
6
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
4
|
+
import { U as UserProfileProvider } from '../../UserProfileContext-1996d4d2.js';
|
|
5
|
+
import { a as LocalizationContext } from '../../LocalizationContext-654ae04f.js';
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-8e901b57.js';
|
|
7
7
|
import Icon, { IconTypes } from '../../ui/Icon.js';
|
|
8
|
-
import { P as PlaceHolder, b as PlaceHolderTypes } from '../../index-
|
|
8
|
+
import { P as PlaceHolder, b as PlaceHolderTypes } from '../../index-0ecbda20.js';
|
|
9
9
|
import { OperatorUI } from './OperatorUI.js';
|
|
10
|
-
import { P as ParticipantList } from '../../index-
|
|
10
|
+
import { P as ParticipantList } from '../../index-437c0f3c.js';
|
|
11
11
|
import '../../withSendbird.js';
|
|
12
|
-
import '../../tslib.es6-
|
|
12
|
+
import '../../tslib.es6-209c9f08.js';
|
|
13
13
|
import '@sendbird/chat/openChannel';
|
|
14
|
-
import '../../uuid-
|
|
14
|
+
import '../../uuid-31c6ecb2.js';
|
|
15
15
|
import 'prop-types';
|
|
16
|
-
import '../../stringSet-
|
|
17
|
-
import '../../index-
|
|
16
|
+
import '../../stringSet-7c7d84fc.js';
|
|
17
|
+
import '../../index-cf141ad7.js';
|
|
18
18
|
import '../../ui/Loader.js';
|
|
19
19
|
import './OpenChannelProfile.js';
|
|
20
20
|
import '../../ui/TextButton.js';
|
|
21
|
-
import '../../color-
|
|
21
|
+
import '../../color-f6e2214f.js';
|
|
22
22
|
import '../../ui/OpenChannelAvatar.js';
|
|
23
23
|
import '../../ui/Avatar.js';
|
|
24
24
|
import '../../ui/ImageRenderer.js';
|
|
25
|
-
import '../../utils-
|
|
25
|
+
import '../../utils-12a3467f.js';
|
|
26
26
|
import './EditDetailsModal.js';
|
|
27
|
-
import '../../topics-
|
|
27
|
+
import '../../topics-4697c2b3.js';
|
|
28
28
|
import '../../ui/Modal.js';
|
|
29
29
|
import 'react-dom';
|
|
30
|
-
import '../../index-
|
|
30
|
+
import '../../index-12c44496.js';
|
|
31
31
|
import '../../ui/Button.js';
|
|
32
32
|
import '../../ui/IconButton.js';
|
|
33
|
-
import '../../MediaQueryContext-
|
|
33
|
+
import '../../MediaQueryContext-e791a4d1.js';
|
|
34
34
|
import '../../ui/Input.js';
|
|
35
35
|
import '../../ui/Accordion.js';
|
|
36
36
|
import '../../ui/AccordionGroup.js';
|
|
37
|
-
import '../../context-
|
|
38
|
-
import '../../utils-
|
|
37
|
+
import '../../context-7465b898.js';
|
|
38
|
+
import '../../utils-04bd857d.js';
|
|
39
39
|
import '../../ui/ContextMenu.js';
|
|
40
40
|
import '../../ui/SortByRow.js';
|
|
41
|
-
import '../../index-
|
|
41
|
+
import '../../index-83ae3ffe.js';
|
|
42
42
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
43
43
|
import '../../ui/UserListItem.js';
|
|
44
44
|
import '../../ui/MutedAvatarOverlay.js';
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import React__default, { useState, useContext, useEffect, useCallback } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-654ae04f.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-8e901b57.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
5
5
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
6
6
|
import ChannelProfile from './OpenChannelProfile.js';
|
|
7
7
|
import Modal from '../../ui/Modal.js';
|
|
8
8
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
9
|
-
import { U as UserListItem$1, P as ParticipantList } from '../../index-
|
|
9
|
+
import { U as UserListItem$1, P as ParticipantList } from '../../index-437c0f3c.js';
|
|
10
10
|
import Accordion, { AccordionGroup } from '../../ui/Accordion.js';
|
|
11
11
|
import Button, { ButtonTypes, ButtonSizes } from '../../ui/Button.js';
|
|
12
12
|
import ContextMenu, { MenuItems, MenuItem } from '../../ui/ContextMenu.js';
|
|
13
13
|
import IconButton from '../../ui/IconButton.js';
|
|
14
|
-
import { a as __spreadArray, _ as __assign } from '../../tslib.es6-
|
|
14
|
+
import { a as __spreadArray, _ as __assign } from '../../tslib.es6-209c9f08.js';
|
|
15
15
|
import UserListItem from '../../ui/UserListItem.js';
|
|
16
|
-
import { n as noop } from '../../utils-
|
|
17
|
-
import '../../stringSet-
|
|
18
|
-
import '../../index-
|
|
16
|
+
import { n as noop } from '../../utils-04bd857d.js';
|
|
17
|
+
import '../../stringSet-7c7d84fc.js';
|
|
18
|
+
import '../../index-cf141ad7.js';
|
|
19
19
|
import 'prop-types';
|
|
20
20
|
import '@sendbird/chat/openChannel';
|
|
21
|
-
import '../../UserProfileContext-
|
|
22
|
-
import '../../uuid-
|
|
21
|
+
import '../../UserProfileContext-1996d4d2.js';
|
|
22
|
+
import '../../uuid-31c6ecb2.js';
|
|
23
23
|
import '../../withSendbird.js';
|
|
24
24
|
import '../../ui/TextButton.js';
|
|
25
|
-
import '../../color-
|
|
25
|
+
import '../../color-f6e2214f.js';
|
|
26
26
|
import '../../ui/OpenChannelAvatar.js';
|
|
27
27
|
import '../../ui/Avatar.js';
|
|
28
28
|
import '../../ui/ImageRenderer.js';
|
|
29
|
-
import '../../utils-
|
|
29
|
+
import '../../utils-12a3467f.js';
|
|
30
30
|
import './EditDetailsModal.js';
|
|
31
|
-
import '../../topics-
|
|
31
|
+
import '../../topics-4697c2b3.js';
|
|
32
32
|
import '../../ui/Input.js';
|
|
33
33
|
import 'react-dom';
|
|
34
|
-
import '../../index-
|
|
35
|
-
import '../../MediaQueryContext-
|
|
36
|
-
import '../../context-
|
|
34
|
+
import '../../index-12c44496.js';
|
|
35
|
+
import '../../MediaQueryContext-e791a4d1.js';
|
|
36
|
+
import '../../context-7465b898.js';
|
|
37
37
|
import '../../ui/UserProfile.js';
|
|
38
38
|
import '../../sendbirdSelectors.js';
|
|
39
39
|
import '../../ui/AccordionGroup.js';
|
|
40
40
|
import '../../ui/SortByRow.js';
|
|
41
|
-
import '../../index-
|
|
41
|
+
import '../../index-83ae3ffe.js';
|
|
42
42
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
43
43
|
import '../../ui/MutedAvatarOverlay.js';
|
|
44
44
|
import '../../ui/Checkbox.js';
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import '../../tslib.es6-
|
|
1
|
+
import '../../tslib.es6-209c9f08.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../ui/Button.js';
|
|
4
4
|
import '../../ui/ContextMenu.js';
|
|
5
5
|
import '../../ui/Icon.js';
|
|
6
6
|
import '../../ui/IconButton.js';
|
|
7
|
-
import '../../index-
|
|
8
|
-
export { P as default } from '../../index-
|
|
9
|
-
import '../../LocalizationContext-
|
|
7
|
+
import '../../index-8e901b57.js';
|
|
8
|
+
export { P as default } from '../../index-437c0f3c.js';
|
|
9
|
+
import '../../LocalizationContext-654ae04f.js';
|
|
10
10
|
import '../context.js';
|
|
11
11
|
import '../../useSendbirdStateContext.js';
|
|
12
12
|
import 'prop-types';
|
|
13
|
-
import '../../stringSet-
|
|
13
|
+
import '../../stringSet-7c7d84fc.js';
|
|
14
14
|
import 'react-dom';
|
|
15
15
|
import '../../ui/SortByRow.js';
|
|
16
|
-
import '../../uuid-
|
|
17
|
-
import '../../index-
|
|
16
|
+
import '../../uuid-31c6ecb2.js';
|
|
17
|
+
import '../../index-83ae3ffe.js';
|
|
18
18
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
19
|
-
import '../../UserProfileContext-
|
|
20
|
-
import '../../context-
|
|
21
|
-
import '../../utils-
|
|
19
|
+
import '../../UserProfileContext-1996d4d2.js';
|
|
20
|
+
import '../../context-7465b898.js';
|
|
21
|
+
import '../../utils-04bd857d.js';
|
|
22
22
|
import '../../ui/Avatar.js';
|
|
23
23
|
import '../../ui/ImageRenderer.js';
|
|
24
24
|
import '../../ui/UserProfile.js';
|
|
25
25
|
import '../../sendbirdSelectors.js';
|
|
26
|
-
import '../../topics-
|
|
27
|
-
import '../../index-
|
|
26
|
+
import '../../topics-4697c2b3.js';
|
|
27
|
+
import '../../index-cf141ad7.js';
|
|
28
28
|
import '../../withSendbird.js';
|
|
29
29
|
import '@sendbird/chat/openChannel';
|
|
30
30
|
import '../../ui/Modal.js';
|
|
31
|
-
import '../../index-
|
|
32
|
-
import '../../MediaQueryContext-
|
|
31
|
+
import '../../index-12c44496.js';
|
|
32
|
+
import '../../MediaQueryContext-e791a4d1.js';
|
|
33
33
|
import '../../ui/UserListItem.js';
|
|
34
34
|
import '../../ui/MutedAvatarOverlay.js';
|
|
35
35
|
import '../../ui/Checkbox.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
2
|
import { OpenChannelHandler } from '@sendbird/chat/openChannel';
|
|
3
3
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
4
|
-
import { U as UserProfileProvider } from '../UserProfileContext-
|
|
5
|
-
import { u as uuidv4 } from '../uuid-
|
|
4
|
+
import { U as UserProfileProvider } from '../UserProfileContext-1996d4d2.js';
|
|
5
|
+
import { u as uuidv4 } from '../uuid-31c6ecb2.js';
|
|
6
6
|
import '../withSendbird.js';
|
|
7
|
-
import '../tslib.es6-
|
|
7
|
+
import '../tslib.es6-209c9f08.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
|
|
10
10
|
var OpenChannelSettingsContext = /*#__PURE__*/React__default.createContext(undefined);
|
package/OpenChannelSettings.js
CHANGED
|
@@ -3,41 +3,41 @@ import OpenChannelUI from './OpenChannelSettings/components/OpenChannelSettingsU
|
|
|
3
3
|
import { OpenChannelSettingsProvider } from './OpenChannelSettings/context.js';
|
|
4
4
|
import './useSendbirdStateContext.js';
|
|
5
5
|
import './withSendbird.js';
|
|
6
|
-
import './tslib.es6-
|
|
7
|
-
import './UserProfileContext-
|
|
6
|
+
import './tslib.es6-209c9f08.js';
|
|
7
|
+
import './UserProfileContext-1996d4d2.js';
|
|
8
8
|
import 'prop-types';
|
|
9
|
-
import './LocalizationContext-
|
|
10
|
-
import './stringSet-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
9
|
+
import './LocalizationContext-654ae04f.js';
|
|
10
|
+
import './stringSet-7c7d84fc.js';
|
|
11
|
+
import './index-cf141ad7.js';
|
|
12
|
+
import './index-8e901b57.js';
|
|
13
13
|
import './ui/Icon.js';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-0ecbda20.js';
|
|
15
15
|
import './ui/Loader.js';
|
|
16
16
|
import './OpenChannelSettings/components/OperatorUI.js';
|
|
17
17
|
import './OpenChannelSettings/components/OpenChannelProfile.js';
|
|
18
18
|
import './ui/TextButton.js';
|
|
19
|
-
import './color-
|
|
19
|
+
import './color-f6e2214f.js';
|
|
20
20
|
import './ui/OpenChannelAvatar.js';
|
|
21
21
|
import './ui/Avatar.js';
|
|
22
22
|
import './ui/ImageRenderer.js';
|
|
23
|
-
import './uuid-
|
|
24
|
-
import './utils-
|
|
23
|
+
import './uuid-31c6ecb2.js';
|
|
24
|
+
import './utils-12a3467f.js';
|
|
25
25
|
import './OpenChannelSettings/components/EditDetailsModal.js';
|
|
26
|
-
import './topics-
|
|
26
|
+
import './topics-4697c2b3.js';
|
|
27
27
|
import './ui/Modal.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-12c44496.js';
|
|
30
30
|
import './ui/Button.js';
|
|
31
31
|
import './ui/IconButton.js';
|
|
32
|
-
import './MediaQueryContext-
|
|
32
|
+
import './MediaQueryContext-e791a4d1.js';
|
|
33
33
|
import './ui/Input.js';
|
|
34
|
-
import './index-
|
|
34
|
+
import './index-437c0f3c.js';
|
|
35
35
|
import './ui/ContextMenu.js';
|
|
36
36
|
import './ui/SortByRow.js';
|
|
37
|
-
import './index-
|
|
37
|
+
import './index-83ae3ffe.js';
|
|
38
38
|
import './utils/message/getOutgoingMessageState.js';
|
|
39
|
-
import './context-
|
|
40
|
-
import './utils-
|
|
39
|
+
import './context-7465b898.js';
|
|
40
|
+
import './utils-04bd857d.js';
|
|
41
41
|
import './ui/UserProfile.js';
|
|
42
42
|
import './sendbirdSelectors.js';
|
|
43
43
|
import '@sendbird/chat/openChannel';
|
package/README.md
CHANGED
|
@@ -41,10 +41,11 @@ You need to install:
|
|
|
41
41
|
* nodejs 16 LTS https://nodejs.org/en/download/
|
|
42
42
|
* npm 8 or above
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
**Caveats**
|
|
45
|
+
- We tried development on Mac OS / Linux systems. You might encounter problems in running `npm run build` in Windows machines
|
|
46
|
+
- If you use node.js >= 17 and see `ERR_OSSL_EVP_UNSUPPORTED` error on any run cmd, try to set `export NODE_OPTIONS=--openssl-legacy-provider` in the terminal
|
|
45
47
|
|
|
46
48
|
### Development
|
|
47
|
-
|
|
48
49
|
We use storybook for development and rollup for building the npm distribution(bundled JS file)
|
|
49
50
|
Make sure you have nodejs and npm installed and run
|
|
50
51
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
2
|
import Modal from './ui/Modal.js';
|
|
3
3
|
import { ButtonTypes } from './ui/Button.js';
|
|
4
|
-
import { a as LocalizationContext } from './LocalizationContext-
|
|
5
|
-
import { u as useThreadContext } from './ThreadProvider-
|
|
4
|
+
import { a as LocalizationContext } from './LocalizationContext-654ae04f.js';
|
|
5
|
+
import { u as useThreadContext } from './ThreadProvider-faf3df5d.js';
|
|
6
6
|
|
|
7
7
|
var RemoveMessage = function (props) {
|
|
8
8
|
var _a;
|
|
@@ -28,4 +28,4 @@ var RemoveMessage = function (props) {
|
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
export { RemoveMessage as R };
|
|
31
|
-
//# sourceMappingURL=RemoveMessageModal-
|
|
31
|
+
//# sourceMappingURL=RemoveMessageModal-938b400d.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RemoveMessageModal-
|
|
1
|
+
{"version":3,"file":"RemoveMessageModal-938b400d.js","sources":["../src/smart-components/Thread/components/RemoveMessageModal.tsx"],"sourcesContent":["import React, { useContext } from 'react';\n\nimport Modal from '../../../ui/Modal';\nimport { ButtonTypes } from '../../../ui/Button';\nimport { LocalizationContext } from '../../../lib/LocalizationContext';\nimport { useThreadContext } from '../context/ThreadProvider';\nimport { FileMessage, UserMessage } from '@sendbird/chat/message';\n\nexport interface RemoveMessageProps {\n onCancel: () => void; // rename to onClose\n onSubmit?: () => void;\n message: UserMessage | FileMessage;\n}\n\nconst RemoveMessage: React.FC<RemoveMessageProps> = (props: RemoveMessageProps) => {\n const {\n onCancel,\n onSubmit,\n message,\n } = props;\n const { stringSet } = useContext(LocalizationContext);\n const {\n deleteMessage,\n } = useThreadContext();\n return (\n <Modal\n type={ButtonTypes.DANGER}\n disabled={message?.threadInfo?.replyCount > 0}\n onCancel={onCancel}\n onSubmit={() => {\n deleteMessage(message).then(() => {\n onCancel?.();\n onSubmit?.();\n });\n }}\n submitText={stringSet.MESSAGE_MENU__DELETE}\n titleText={stringSet.MODAL__DELETE_MESSAGE__TITLE}\n />\n );\n};\n\nexport default RemoveMessage;\n"],"names":["RemoveMessage","props","onCancel","onSubmit","message","stringSet","useContext","LocalizationContext","deleteMessage","useThreadContext","React","ButtonTypes","DANGER","threadInfo","_a","replyCount","then","MESSAGE_MENU__DELETE","MODAL__DELETE_MESSAGE__TITLE"],"mappings":";;;;;;AAcA,IAAMA,aAAa,GAAiC,UAACC,KAAD,EAA0B;;;AAE1E,EAAA,IAAAC,QAAQ,GAGND,KAAK,CAAAC,QAHP;AAAA,MACAC,QAAQ,GAENF,KAAK,CAAAE,QAHP;AAAA,MAEAC,OAAO,GACLH,KAAK,QAHP,CAAA;AAIM,EAAA,IAAAI,SAAS,GAAKC,UAAU,CAACC,mBAAD,CAAV,UAAd,CAAA;AAEN,EAAA,IAAAC,aAAa,GACXC,gBAAgB,EAAA,cADlB,CAAA;AAEF,EAAA,oBACEC,6BAAC,KAAD,EAAA;IACE,IAAI,EAAEC,WAAW,CAACC,MADpB;AAEE,IAAA,QAAQ,EAAE,CAAA,MAAAR,OAAO,KAAA,IAAP,IAAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAAA,OAAO,CAAES,UAAT,MAAqB,IAArB,IAAqBC,EAAA,KAAA,KAAA,CAArB,GAAqB,KAAA,CAArB,GAAqBA,EAAA,CAAAC,UAArB,IAAkC,CAF9C;AAGE,IAAA,QAAQ,EAAEb,QAHZ;AAIE,IAAA,QAAQ,EAAE,YAAA;AACRM,MAAAA,aAAa,CAACJ,OAAD,CAAb,CAAuBY,IAAvB,CAA4B,YAAA;AAC1Bd,QAAAA,QAAQ,KAAR,IAAA,IAAAA,QAAQ,KAAR,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,QAAQ,EAAR,CAAA;AACAC,QAAAA,QAAQ,KAAR,IAAA,IAAAA,QAAQ,KAAR,KAAA,CAAA,GAAA,KAAA,CAAA,GAAAA,QAAQ,EAAR,CAAA;OAFF,CAAA,CAAA;KALJ;IAUE,UAAU,EAAEE,SAAS,CAACY,oBAVxB;IAWE,SAAS,EAAEZ,SAAS,CAACa,4BAAAA;GAZzB,CAAA,CAAA;AAeD;;;;"}
|
package/SendbirdProvider.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { _ as __assign } from './tslib.es6-
|
|
2
|
-
import React__default, { useLayoutEffect, useState, useEffect, useReducer } from 'react';
|
|
1
|
+
import { _ as __assign } from './tslib.es6-209c9f08.js';
|
|
2
|
+
import React__default, { useLayoutEffect, useState, useEffect, useMemo, useReducer } from 'react';
|
|
3
3
|
import { SendbirdSdkContext } from './withSendbird.js';
|
|
4
4
|
import SendbirdChat, { ConnectionHandler } from '@sendbird/chat';
|
|
5
5
|
import { OpenChannelModule } from '@sendbird/chat/openChannel';
|
|
6
6
|
import { GroupChannelModule } from '@sendbird/chat/groupChannel';
|
|
7
|
-
import { R as RESET_USER, I as INIT_USER, U as UPDATE_USER_INFO } from './actionTypes-
|
|
8
|
-
import { i as isTextuallyNull } from './index-
|
|
7
|
+
import { R as RESET_USER, I as INIT_USER, U as UPDATE_USER_INFO } from './actionTypes-ee7f96a9.js';
|
|
8
|
+
import { i as isTextuallyNull } from './index-83ae3ffe.js';
|
|
9
9
|
import cssVars from 'css-vars-ponyfill';
|
|
10
|
-
import { _ as _objectSpread2 } from './_rollupPluginBabelHelpers-
|
|
11
|
-
import { u as uuidv4 } from './uuid-
|
|
12
|
-
import { V as VoicePlayerProvider } from './index-
|
|
10
|
+
import { _ as _objectSpread2 } from './_rollupPluginBabelHelpers-e908c50d.js';
|
|
11
|
+
import { u as uuidv4 } from './uuid-31c6ecb2.js';
|
|
12
|
+
import { V as VoicePlayerProvider } from './index-9626a87e.js';
|
|
13
13
|
import { VoiceRecorderProvider } from './VoiceRecorder/context.js';
|
|
14
|
-
import { L as LocalizationProvider } from './LocalizationContext-
|
|
15
|
-
import { M as MediaQueryProvider } from './MediaQueryContext-
|
|
16
|
-
import { g as getStringSet } from './stringSet-
|
|
17
|
-
import { V as VOICE_RECORDER_DEFAULT_MAX, a as VOICE_RECORDER_DEFAULT_MIN } from './consts-
|
|
14
|
+
import { L as LocalizationProvider } from './LocalizationContext-654ae04f.js';
|
|
15
|
+
import { M as MediaQueryProvider } from './MediaQueryContext-e791a4d1.js';
|
|
16
|
+
import { g as getStringSet } from './stringSet-7c7d84fc.js';
|
|
17
|
+
import { V as VOICE_RECORDER_DEFAULT_MAX, a as VOICE_RECORDER_DEFAULT_MIN } from './consts-9422accf.js';
|
|
18
18
|
import './utils/message/getOutgoingMessageState.js';
|
|
19
19
|
import './useSendbirdStateContext.js';
|
|
20
20
|
import './lame.all.js';
|
|
21
|
-
import './index-
|
|
21
|
+
import './index-cf141ad7.js';
|
|
22
22
|
|
|
23
23
|
const INIT_SDK = 'INIT_SDK';
|
|
24
24
|
const SET_SDK_LOADING = 'SET_SDK_LOADING';
|
|
25
25
|
const RESET_SDK = 'RESET_SDK';
|
|
26
26
|
const SDK_ERROR = 'SDK_ERROR';
|
|
27
27
|
|
|
28
|
-
const APP_VERSION_STRING = '3.4.
|
|
28
|
+
const APP_VERSION_STRING = '3.4.5';
|
|
29
29
|
const disconnectSdk = _ref => {
|
|
30
30
|
let {
|
|
31
31
|
sdkDispatcher,
|
|
@@ -582,6 +582,79 @@ var VoiceMessageProvider = function (_a) {
|
|
|
582
582
|
return /*#__PURE__*/React__default.createElement(VoiceRecorderProvider, null, /*#__PURE__*/React__default.createElement(VoicePlayerProvider, null, children));
|
|
583
583
|
};
|
|
584
584
|
|
|
585
|
+
var TIMEOUT = 5000;
|
|
586
|
+
var schedulerFactory = function (logger, timeout) {
|
|
587
|
+
var queue = [];
|
|
588
|
+
var interval = null;
|
|
589
|
+
|
|
590
|
+
var push = function (channel) {
|
|
591
|
+
var channelPresent = queue.find(function (c) {
|
|
592
|
+
return c.url === channel.url;
|
|
593
|
+
});
|
|
594
|
+
|
|
595
|
+
if (!channelPresent) {
|
|
596
|
+
queue.push(channel);
|
|
597
|
+
} else {
|
|
598
|
+
logger.info('Channel: Mark as read already in queue', channel);
|
|
599
|
+
} // start the interval if it's not already running
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
if (interval) {
|
|
603
|
+
return;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
interval = setInterval(function () {
|
|
607
|
+
if (queue.length === 0) {
|
|
608
|
+
clearInterval(interval);
|
|
609
|
+
interval = null;
|
|
610
|
+
return;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
var channel = queue.shift();
|
|
614
|
+
|
|
615
|
+
if (channel) {
|
|
616
|
+
try {
|
|
617
|
+
channel.markAsRead();
|
|
618
|
+
} catch (error) {
|
|
619
|
+
logger.error('Channel: Mark as read failed', error);
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
}, timeout || TIMEOUT);
|
|
623
|
+
};
|
|
624
|
+
|
|
625
|
+
var clear = function () {
|
|
626
|
+
queue = [];
|
|
627
|
+
|
|
628
|
+
if (interval) {
|
|
629
|
+
clearInterval(interval);
|
|
630
|
+
interval = null;
|
|
631
|
+
}
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
return {
|
|
635
|
+
push: push,
|
|
636
|
+
clear: clear,
|
|
637
|
+
getQueue: function () {
|
|
638
|
+
return queue;
|
|
639
|
+
}
|
|
640
|
+
};
|
|
641
|
+
};
|
|
642
|
+
function useMarkAsReadScheduler(_a, _b) {
|
|
643
|
+
var isConnected = _a.isConnected;
|
|
644
|
+
var logger = _b.logger;
|
|
645
|
+
var markAsReadScheduler = useMemo(function () {
|
|
646
|
+
return schedulerFactory(logger);
|
|
647
|
+
}, []);
|
|
648
|
+
useEffect(function () {
|
|
649
|
+
// for simplicity, we clear the queue when the connection is lost
|
|
650
|
+
if (!isConnected) {
|
|
651
|
+
markAsReadScheduler.clear();
|
|
652
|
+
return;
|
|
653
|
+
}
|
|
654
|
+
}, [isConnected]);
|
|
655
|
+
return markAsReadScheduler;
|
|
656
|
+
}
|
|
657
|
+
|
|
585
658
|
var Sendbird = function (_a) {
|
|
586
659
|
var appId = _a.appId,
|
|
587
660
|
userId = _a.userId,
|
|
@@ -726,6 +799,11 @@ var Sendbird = function (_a) {
|
|
|
726
799
|
};
|
|
727
800
|
}, [currenttheme]);
|
|
728
801
|
var isOnline = useConnectionStatus(sdkStore.sdk, logger);
|
|
802
|
+
var markAsReadScheduler = useMarkAsReadScheduler({
|
|
803
|
+
isConnected: isOnline
|
|
804
|
+
}, {
|
|
805
|
+
logger: logger
|
|
806
|
+
});
|
|
729
807
|
var localeStringSet = React__default.useMemo(function () {
|
|
730
808
|
if (!stringSet) {
|
|
731
809
|
return getStringSet('en');
|
|
@@ -786,7 +864,8 @@ var Sendbird = function (_a) {
|
|
|
786
864
|
},
|
|
787
865
|
isTypingIndicatorEnabledOnChannelList: isTypingIndicatorEnabledOnChannelList,
|
|
788
866
|
isMessageReceiptStatusEnabledOnChannelList: isMessageReceiptStatusEnabledOnChannelList,
|
|
789
|
-
replyType: replyType
|
|
867
|
+
replyType: replyType,
|
|
868
|
+
markAsReadScheduler: markAsReadScheduler
|
|
790
869
|
}
|
|
791
870
|
}
|
|
792
871
|
}, /*#__PURE__*/React__default.createElement(MediaQueryProvider, {
|