@sendbird/uikit-react 3.9.1 → 3.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +64 -66
- package/App.js.map +1 -1
- package/CHANGELOG.md +18 -0
- package/Channel/components/ChannelHeader.js +25 -25
- package/Channel/components/ChannelUI.js +51 -51
- package/Channel/components/FileViewer.js +24 -24
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +46 -53
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +36 -36
- package/Channel/components/MessageList.js +45 -45
- package/Channel/components/RemoveMessageModal.js +23 -23
- package/Channel/components/SuggestedMentionList.js +23 -23
- package/Channel/components/TypingIndicator.js +19 -19
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +16 -16
- package/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/Channel/utils/compareMessagesForGrouping.js +6 -6
- package/Channel/utils/getMessagePartsInfo.js +7 -7
- package/Channel.js +51 -51
- package/ChannelList/components/AddChannel.js +18 -18
- package/ChannelList/components/ChannelListHeader.js +9 -9
- package/ChannelList/components/ChannelListUI.js +34 -34
- package/ChannelList/components/ChannelPreview.js +32 -32
- package/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/ChannelList/context.js +9 -9
- package/ChannelList.js +34 -34
- package/ChannelSettings/components/ChannelProfile.js +14 -14
- package/ChannelSettings/components/ChannelSettingsUI.js +19 -19
- package/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +17 -17
- package/ChannelSettings/components/UserListItem.js +13 -13
- package/ChannelSettings/components/UserPanel.js +16 -16
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +19 -19
- package/CreateChannel/components/CreateChannelUI.js +16 -16
- package/CreateChannel/components/InviteUsers.js +16 -16
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +16 -16
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -12
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +12 -12
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/MessageSearch/components/MessageSearchUI.js +15 -15
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +15 -15
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +19 -19
- package/OpenChannel/components/OpenChannelInput.js +26 -26
- package/OpenChannel/components/OpenChannelMessage.js +34 -34
- package/OpenChannel/components/OpenChannelMessageList.js +39 -36
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +39 -36
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +18 -18
- package/OpenChannel.js +39 -36
- package/OpenChannel.js.map +1 -1
- package/OpenChannelList/components/OpenChannelListUI.js +15 -15
- package/OpenChannelList/components/OpenChannelPreview.js +7 -7
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +15 -15
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +19 -19
- package/SendbirdProvider.js +16 -16
- package/Thread/components/ParentMessageInfo.js +40 -40
- package/Thread/components/ParentMessageInfoItem.js +28 -28
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +44 -44
- package/Thread/components/ThreadListItem.js +44 -44
- package/Thread/components/ThreadMessageInput.js +36 -36
- package/Thread/components/ThreadUI.js +48 -48
- package/Thread/context.js +13 -13
- package/Thread.js +48 -48
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +16 -13
- package/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/VoiceRecorder/context.js +10 -10
- package/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/chunks/{bundle-dJsyeOhk.js → bundle--bKgEN9C.js} +1 -1
- package/chunks/bundle--bKgEN9C.js.map +1 -0
- package/chunks/{bundle-okmgQKUZ.js → bundle-1g6DWJD0.js} +1 -1
- package/chunks/bundle-1g6DWJD0.js.map +1 -0
- package/chunks/{bundle-Lcy_97mA.js → bundle-3prAA35q.js} +10 -10
- package/chunks/{bundle-Lcy_97mA.js.map → bundle-3prAA35q.js.map} +1 -1
- package/chunks/{bundle-S1smGX8b.js → bundle-5yEflTNR.js} +1 -1
- package/chunks/bundle-5yEflTNR.js.map +1 -0
- package/chunks/{bundle-LKILWG-V.js → bundle-78frOEM6.js} +4 -4
- package/chunks/{bundle-LKILWG-V.js.map → bundle-78frOEM6.js.map} +1 -1
- package/chunks/{bundle-_43SdcJP.js → bundle-7R8HEAQg.js} +2 -2
- package/chunks/bundle-7R8HEAQg.js.map +1 -0
- package/chunks/{bundle-lcfgNAH-.js → bundle-8GoMZkJU.js} +12 -12
- package/chunks/{bundle-lcfgNAH-.js.map → bundle-8GoMZkJU.js.map} +1 -1
- package/chunks/{bundle-SmfpNG66.js → bundle-8HrIQpbX.js} +9 -9
- package/chunks/{bundle-SmfpNG66.js.map → bundle-8HrIQpbX.js.map} +1 -1
- package/chunks/{bundle-v0zf-Toj.js → bundle-BQL-EsqQ.js} +1 -1
- package/chunks/{bundle-v0zf-Toj.js.map → bundle-BQL-EsqQ.js.map} +1 -1
- package/chunks/{bundle-jRxDZ3BJ.js → bundle-DxDwP2lI.js} +2 -2
- package/chunks/{bundle-jRxDZ3BJ.js.map → bundle-DxDwP2lI.js.map} +1 -1
- package/chunks/{bundle-f7C0xlTH.js → bundle-DzuA_apO.js} +3 -3
- package/chunks/bundle-DzuA_apO.js.map +1 -0
- package/chunks/{bundle-dBXZk5Y3.js → bundle-Ey_7-wSi.js} +3 -3
- package/chunks/bundle-Ey_7-wSi.js.map +1 -0
- package/chunks/{bundle-HfYRQGkt.js → bundle-FKPPxTH5.js} +5 -5
- package/chunks/{bundle-HfYRQGkt.js.map → bundle-FKPPxTH5.js.map} +1 -1
- package/chunks/{bundle-c5jegKUx.js → bundle-FpyOg33P.js} +1 -1
- package/chunks/{bundle-c5jegKUx.js.map → bundle-FpyOg33P.js.map} +1 -1
- package/chunks/{bundle-XyLdN-Hr.js → bundle-GPxxY-H1.js} +3 -3
- package/chunks/{bundle-XyLdN-Hr.js.map → bundle-GPxxY-H1.js.map} +1 -1
- package/chunks/{bundle-CQMOLj5V.js → bundle-HBHAJNcI.js} +3 -3
- package/chunks/{bundle-CQMOLj5V.js.map → bundle-HBHAJNcI.js.map} +1 -1
- package/chunks/{bundle-5qCLkG6l.js → bundle-JP-jgzbg.js} +17 -31
- package/chunks/bundle-JP-jgzbg.js.map +1 -0
- package/chunks/{bundle-5uv0Aei2.js → bundle-KYdFoSY3.js} +4 -4
- package/chunks/{bundle-5uv0Aei2.js.map → bundle-KYdFoSY3.js.map} +1 -1
- package/chunks/{bundle-7JHtC_JJ.js → bundle-M5pt2U9r.js} +1 -1
- package/chunks/bundle-M5pt2U9r.js.map +1 -0
- package/chunks/{bundle-fwLsGp6N.js → bundle-MbdTAPd0.js} +1 -1
- package/chunks/bundle-MbdTAPd0.js.map +1 -0
- package/chunks/{bundle-4nIx2RJD.js → bundle-MbiPy_d0.js} +6 -6
- package/chunks/bundle-MbiPy_d0.js.map +1 -0
- package/chunks/{bundle-c944_BvY.js → bundle-MwrVjf8I.js} +1 -1
- package/chunks/bundle-MwrVjf8I.js.map +1 -0
- package/chunks/{bundle-ejXMvNVx.js → bundle-Os1fWxhI.js} +5 -5
- package/chunks/{bundle-ejXMvNVx.js.map → bundle-Os1fWxhI.js.map} +1 -1
- package/chunks/{bundle-QScSctu4.js → bundle-PFX2Yr9t.js} +4 -4
- package/chunks/{bundle-QScSctu4.js.map → bundle-PFX2Yr9t.js.map} +1 -1
- package/chunks/{bundle-yCtFACB5.js → bundle-PS5DHcTM.js} +1 -1
- package/chunks/bundle-PS5DHcTM.js.map +1 -0
- package/chunks/{bundle-OwUIW9B_.js → bundle-PjrYdsK-.js} +1 -1
- package/chunks/bundle-PjrYdsK-.js.map +1 -0
- package/chunks/{bundle-Bjgxg83b.js → bundle-Qobh-hS4.js} +1 -1
- package/chunks/bundle-Qobh-hS4.js.map +1 -0
- package/chunks/{bundle-LdRGfmOs.js → bundle-Qz8Xvs0V.js} +1 -1
- package/chunks/{bundle-LdRGfmOs.js.map → bundle-Qz8Xvs0V.js.map} +1 -1
- package/chunks/{bundle-5HYqTaTr.js → bundle-RsvOCwtb.js} +3 -3
- package/chunks/bundle-RsvOCwtb.js.map +1 -0
- package/chunks/{bundle-DGEj-Zfy.js → bundle-SbBx_sh3.js} +1 -1
- package/chunks/bundle-SbBx_sh3.js.map +1 -0
- package/chunks/{bundle-UwlFw2lK.js → bundle-TEnd9cUe.js} +7 -7
- package/chunks/{bundle-UwlFw2lK.js.map → bundle-TEnd9cUe.js.map} +1 -1
- package/chunks/{bundle-OQ0EWLYP.js → bundle-TcioQEN5.js} +3 -3
- package/chunks/{bundle-OQ0EWLYP.js.map → bundle-TcioQEN5.js.map} +1 -1
- package/chunks/{bundle-J87QWRh3.js → bundle-VRFfBFLq.js} +4 -4
- package/chunks/bundle-VRFfBFLq.js.map +1 -0
- package/chunks/bundle-ZdB7DVTk.js +11 -0
- package/chunks/bundle-ZdB7DVTk.js.map +1 -0
- package/chunks/{bundle-Ha6WT0Hp.js → bundle-_ZNty2ba.js} +1 -1
- package/chunks/bundle-_ZNty2ba.js.map +1 -0
- package/chunks/{bundle-FZryn4bz.js → bundle-__wnC5JJ.js} +3 -3
- package/chunks/{bundle-FZryn4bz.js.map → bundle-__wnC5JJ.js.map} +1 -1
- package/chunks/{bundle-J3Xwcu_c.js → bundle-_iM6nCNy.js} +1 -1
- package/chunks/bundle-_iM6nCNy.js.map +1 -0
- package/chunks/{bundle-u2CeAx57.js → bundle-afcKlUXe.js} +3 -3
- package/chunks/bundle-afcKlUXe.js.map +1 -0
- package/chunks/{bundle-9hVs1LFe.js → bundle-beh08z4N.js} +2 -2
- package/chunks/{bundle-9hVs1LFe.js.map → bundle-beh08z4N.js.map} +1 -1
- package/chunks/{bundle-GJfy3_LK.js → bundle-bt0zGtez.js} +3 -3
- package/chunks/{bundle-GJfy3_LK.js.map → bundle-bt0zGtez.js.map} +1 -1
- package/chunks/{bundle-HbEA73mt.js → bundle-c_C-QxZX.js} +4 -4
- package/chunks/bundle-c_C-QxZX.js.map +1 -0
- package/chunks/{bundle-b0USVddN.js → bundle-dnYtxRRt.js} +7 -7
- package/chunks/{bundle-5qCLkG6l.js.map → bundle-dnYtxRRt.js.map} +1 -1
- package/chunks/{bundle-kPskppps.js → bundle-e3Ti36sK.js} +29 -19
- package/{cjs/chunks/bundle-_PoeyBuz.js.map → chunks/bundle-e3Ti36sK.js.map} +1 -1
- package/chunks/{bundle-dwc9j36U.js → bundle-goELnIaw.js} +2 -2
- package/chunks/{bundle-dwc9j36U.js.map → bundle-goELnIaw.js.map} +1 -1
- package/chunks/{bundle-GYn98g4i.js → bundle-hKPXWZ0Z.js} +1 -1
- package/chunks/bundle-hKPXWZ0Z.js.map +1 -0
- package/chunks/{bundle-DB4PuqmB.js → bundle-mHHG9KoF.js} +9 -9
- package/chunks/{bundle-DB4PuqmB.js.map → bundle-mHHG9KoF.js.map} +1 -1
- package/chunks/{bundle-7jjAs2HK.js → bundle-mNQe1dzf.js} +3 -3
- package/chunks/bundle-mNQe1dzf.js.map +1 -0
- package/chunks/{bundle-KZXjN5v7.js → bundle-nfdZFsK-.js} +1 -1
- package/chunks/{bundle-KZXjN5v7.js.map → bundle-nfdZFsK-.js.map} +1 -1
- package/chunks/{bundle-mAbwjJsi.js → bundle-o5Vs-nxR.js} +1 -1
- package/chunks/bundle-o5Vs-nxR.js.map +1 -0
- package/chunks/{bundle-Izb-WW89.js → bundle-oJDE4gxT.js} +1 -1
- package/chunks/{bundle-Izb-WW89.js.map → bundle-oJDE4gxT.js.map} +1 -1
- package/chunks/{bundle-ZxBmutMJ.js → bundle-oo5v2vDN.js} +1 -1
- package/chunks/bundle-oo5v2vDN.js.map +1 -0
- package/chunks/{bundle-ZSLOjQvb.js → bundle-qXzcabru.js} +3 -3
- package/chunks/bundle-qXzcabru.js.map +1 -0
- package/chunks/bundle-qfjnmlHx.js +95 -0
- package/{cjs/chunks/bundle-UuwNVlVV.js.map → chunks/bundle-qfjnmlHx.js.map} +1 -1
- package/chunks/{bundle-rgIbMndg.js → bundle-qvWKHgxb.js} +1 -1
- package/chunks/bundle-qvWKHgxb.js.map +1 -0
- package/chunks/{bundle-tc0rEnB_.js → bundle-tIZkKr0f.js} +1 -1
- package/chunks/bundle-tIZkKr0f.js.map +1 -0
- package/chunks/{bundle-vUampZQQ.js → bundle-tZpfBaVT.js} +5 -5
- package/chunks/bundle-tZpfBaVT.js.map +1 -0
- package/chunks/{bundle-OuijNFkl.js → bundle-un0fMvD_.js} +1 -1
- package/chunks/bundle-un0fMvD_.js.map +1 -0
- package/chunks/{bundle-qotlr2QN.js → bundle-utAUah8o.js} +2 -2
- package/chunks/bundle-utAUah8o.js.map +1 -0
- package/chunks/{bundle-rMW82DKu.js → bundle-vRivVL8u.js} +4 -4
- package/chunks/{bundle-rMW82DKu.js.map → bundle-vRivVL8u.js.map} +1 -1
- package/chunks/{bundle-EQ2jMcm0.js → bundle-wxDl4Uqr.js} +1 -1
- package/chunks/bundle-wxDl4Uqr.js.map +1 -0
- package/chunks/{bundle-4wKb8u1C.js → bundle-x6Co8nvL.js} +2 -2
- package/chunks/bundle-x6Co8nvL.js.map +1 -0
- package/chunks/{bundle-hDMLfh4n.js → bundle-ynu0QV4r.js} +8 -8
- package/chunks/bundle-ynu0QV4r.js.map +1 -0
- package/cjs/App.js +64 -66
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +25 -25
- package/cjs/Channel/components/ChannelUI.js +51 -51
- package/cjs/Channel/components/FileViewer.js +24 -24
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +51 -58
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +36 -36
- package/cjs/Channel/components/MessageList.js +45 -45
- package/cjs/Channel/components/RemoveMessageModal.js +23 -23
- package/cjs/Channel/components/SuggestedMentionList.js +23 -23
- package/cjs/Channel/components/TypingIndicator.js +19 -19
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +16 -16
- package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/cjs/Channel/utils/compareMessagesForGrouping.js +6 -6
- package/cjs/Channel/utils/getMessagePartsInfo.js +7 -7
- package/cjs/Channel.js +51 -51
- package/cjs/ChannelList/components/AddChannel.js +18 -18
- package/cjs/ChannelList/components/ChannelListHeader.js +9 -9
- package/cjs/ChannelList/components/ChannelListUI.js +34 -34
- package/cjs/ChannelList/components/ChannelPreview.js +32 -32
- package/cjs/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/cjs/ChannelList/context.js +9 -9
- package/cjs/ChannelList.js +34 -34
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +19 -19
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +17 -17
- package/cjs/ChannelSettings/components/UserListItem.js +13 -13
- package/cjs/ChannelSettings/components/UserPanel.js +16 -16
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +19 -19
- package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
- package/cjs/CreateChannel/components/InviteUsers.js +16 -16
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +16 -16
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -12
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +12 -12
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/MessageSearch/components/MessageSearchUI.js +15 -15
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +15 -15
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +19 -19
- package/cjs/OpenChannel/components/OpenChannelInput.js +26 -26
- package/cjs/OpenChannel/components/OpenChannelMessage.js +34 -34
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +39 -36
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +39 -36
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +18 -18
- package/cjs/OpenChannel.js +39 -36
- package/cjs/OpenChannel.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +15 -15
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +7 -7
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +15 -15
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +19 -19
- package/cjs/SendbirdProvider.js +16 -16
- package/cjs/Thread/components/ParentMessageInfo.js +40 -40
- package/cjs/Thread/components/ParentMessageInfoItem.js +28 -28
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +44 -44
- package/cjs/Thread/components/ThreadListItem.js +44 -44
- package/cjs/Thread/components/ThreadMessageInput.js +36 -36
- package/cjs/Thread/components/ThreadUI.js +48 -48
- package/cjs/Thread/context.js +13 -13
- package/cjs/Thread.js +48 -48
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +16 -13
- package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/cjs/VoiceRecorder/context.js +10 -10
- package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/cjs/chunks/{bundle-4qgSZeT3.js → bundle--B5bI71d.js} +3 -3
- package/cjs/chunks/bundle--B5bI71d.js.map +1 -0
- package/cjs/chunks/{bundle-_0eKxSxF.js → bundle--EZErpJg.js} +7 -7
- package/cjs/chunks/bundle--EZErpJg.js.map +1 -0
- package/cjs/chunks/{bundle-YOewBep4.js → bundle--R0bR0Fn.js} +1 -1
- package/cjs/chunks/bundle--R0bR0Fn.js.map +1 -0
- package/cjs/chunks/{bundle-W4NFKk4o.js → bundle-1Bx-HAvi.js} +10 -10
- package/cjs/chunks/bundle-1Bx-HAvi.js.map +1 -0
- package/cjs/chunks/{bundle-R1cJCMsN.js → bundle-1c_6jG6F.js} +7 -7
- package/{chunks/bundle-b0USVddN.js.map → cjs/chunks/bundle-1c_6jG6F.js.map} +1 -1
- package/cjs/chunks/{bundle-GBjPe_zz.js → bundle-3NVqu9-g.js} +3 -3
- package/cjs/chunks/bundle-3NVqu9-g.js.map +1 -0
- package/cjs/chunks/{bundle-_FZAAyq7.js → bundle-4eTI7iTr.js} +5 -5
- package/cjs/chunks/bundle-4eTI7iTr.js.map +1 -0
- package/cjs/chunks/{bundle-PKJPiCJF.js → bundle-65gGS49s.js} +4 -4
- package/cjs/chunks/{bundle-ieJM2S-L.js.map → bundle-65gGS49s.js.map} +1 -1
- package/cjs/chunks/{bundle-aNw5UWgi.js → bundle-ADrtLAuN.js} +3 -3
- package/cjs/chunks/bundle-ADrtLAuN.js.map +1 -0
- package/cjs/chunks/{bundle-I-kMnHYy.js → bundle-Ac0RgwOZ.js} +1 -1
- package/cjs/chunks/bundle-Ac0RgwOZ.js.map +1 -0
- package/cjs/chunks/{bundle-LTZh0NNq.js → bundle-AoStvY8m.js} +1 -1
- package/cjs/chunks/bundle-AoStvY8m.js.map +1 -0
- package/cjs/chunks/{bundle-NItu6zWb.js → bundle-CVSszKL_.js} +1 -1
- package/cjs/chunks/bundle-CVSszKL_.js.map +1 -0
- package/cjs/chunks/{bundle-lf2peGCY.js → bundle-F4ndPQq0.js} +9 -9
- package/cjs/chunks/{bundle-lf2peGCY.js.map → bundle-F4ndPQq0.js.map} +1 -1
- package/cjs/chunks/{bundle-R3WLzhtN.js → bundle-FWloFZX3.js} +2 -2
- package/cjs/chunks/{bundle-R3WLzhtN.js.map → bundle-FWloFZX3.js.map} +1 -1
- package/cjs/chunks/{bundle-6JxglfHi.js → bundle-GaLe3usS.js} +3 -3
- package/cjs/chunks/bundle-GaLe3usS.js.map +1 -0
- package/cjs/chunks/{bundle-TLWExetX.js → bundle-GuykCD12.js} +2 -2
- package/cjs/chunks/bundle-GuykCD12.js.map +1 -0
- package/cjs/chunks/{bundle-0Ja4l4WD.js → bundle-HRaY2E-O.js} +1 -1
- package/cjs/chunks/{bundle-0Ja4l4WD.js.map → bundle-HRaY2E-O.js.map} +1 -1
- package/cjs/chunks/bundle-IN0k678I.js +15 -0
- package/cjs/chunks/bundle-IN0k678I.js.map +1 -0
- package/cjs/chunks/{bundle-8vsXz_gj.js → bundle-Iqmn_ziA.js} +1 -1
- package/cjs/chunks/bundle-Iqmn_ziA.js.map +1 -0
- package/cjs/chunks/{bundle-Lbt6hR1g.js → bundle-KcHogsMT.js} +4 -4
- package/cjs/chunks/{bundle-Lbt6hR1g.js.map → bundle-KcHogsMT.js.map} +1 -1
- package/cjs/chunks/{bundle-GnjLS8Jn.js → bundle-LRohxU_v.js} +2 -2
- package/cjs/chunks/{bundle-GnjLS8Jn.js.map → bundle-LRohxU_v.js.map} +1 -1
- package/cjs/chunks/{bundle-crXcinmk.js → bundle-NaSjvk34.js} +1 -1
- package/cjs/chunks/bundle-NaSjvk34.js.map +1 -0
- package/cjs/chunks/{bundle-nnKzOqh3.js → bundle-Pwn4SWMR.js} +3 -3
- package/cjs/chunks/bundle-Pwn4SWMR.js.map +1 -0
- package/cjs/chunks/{bundle-IJoXsg7h.js → bundle-RFUkzxQZ.js} +5 -5
- package/cjs/chunks/bundle-RFUkzxQZ.js.map +1 -0
- package/cjs/chunks/{bundle-EGiFBVbp.js → bundle-RU7fkb8Z.js} +1 -1
- package/cjs/chunks/{bundle-EGiFBVbp.js.map → bundle-RU7fkb8Z.js.map} +1 -1
- package/cjs/chunks/{bundle-Csb8JrWu.js → bundle-Rs2s47-2.js} +1 -1
- package/cjs/chunks/bundle-Rs2s47-2.js.map +1 -0
- package/cjs/chunks/{bundle-Vk8BUCRm.js → bundle-Uf08tsm5.js} +4 -4
- package/cjs/chunks/bundle-Uf08tsm5.js.map +1 -0
- package/cjs/chunks/{bundle-lGiBWL17.js → bundle-WRClPJFG.js} +1 -1
- package/cjs/chunks/bundle-WRClPJFG.js.map +1 -0
- package/cjs/chunks/{bundle-UuwNVlVV.js → bundle-Xzn7wKhK.js} +4 -4
- package/cjs/chunks/bundle-Xzn7wKhK.js.map +1 -0
- package/cjs/chunks/{bundle-6PamDVow.js → bundle-YimzTTss.js} +1 -1
- package/cjs/chunks/bundle-YimzTTss.js.map +1 -0
- package/cjs/chunks/{bundle-Xr9HRCcW.js → bundle-ZZ8VYmwp.js} +2 -2
- package/cjs/chunks/bundle-ZZ8VYmwp.js.map +1 -0
- package/cjs/chunks/{bundle-ieJM2S-L.js → bundle-Zc9sTo2_.js} +4 -4
- package/cjs/chunks/{bundle-PKJPiCJF.js.map → bundle-Zc9sTo2_.js.map} +1 -1
- package/cjs/chunks/{bundle-fJhxctLh.js → bundle-ZlpDHnjl.js} +17 -31
- package/cjs/chunks/bundle-ZlpDHnjl.js.map +1 -0
- package/cjs/chunks/{bundle-tNyqNssI.js → bundle-ZtyQ-Bd9.js} +8 -8
- package/cjs/chunks/bundle-ZtyQ-Bd9.js.map +1 -0
- package/cjs/chunks/{bundle-P1tJL1VF.js → bundle-afacvydR.js} +1 -1
- package/cjs/chunks/bundle-afacvydR.js.map +1 -0
- package/cjs/chunks/{bundle-q4_bj8Re.js → bundle-bJLHufdM.js} +1 -1
- package/cjs/chunks/bundle-bJLHufdM.js.map +1 -0
- package/cjs/chunks/{bundle-e3fIFP60.js → bundle-btfesqhq.js} +1 -1
- package/cjs/chunks/bundle-btfesqhq.js.map +1 -0
- package/cjs/chunks/{bundle-_PoeyBuz.js → bundle-dSIsq_7f.js} +29 -19
- package/{chunks/bundle-kPskppps.js.map → cjs/chunks/bundle-dSIsq_7f.js.map} +1 -1
- package/cjs/chunks/{bundle-h09WWCLD.js → bundle-f4hQYLD0.js} +3 -3
- package/cjs/chunks/bundle-f4hQYLD0.js.map +1 -0
- package/cjs/chunks/{bundle-_gWcsZfN.js → bundle-f_brLPVe.js} +3 -3
- package/cjs/chunks/{bundle-_gWcsZfN.js.map → bundle-f_brLPVe.js.map} +1 -1
- package/cjs/chunks/{bundle-dyoIaPov.js → bundle-feDNPaIo.js} +2 -2
- package/cjs/chunks/bundle-feDNPaIo.js.map +1 -0
- package/cjs/chunks/{bundle-9ye-ND_Z.js → bundle-hn153Fru.js} +1 -1
- package/cjs/chunks/bundle-hn153Fru.js.map +1 -0
- package/cjs/chunks/{bundle-H1oA9eVZ.js → bundle-i_limn6s.js} +1 -1
- package/cjs/chunks/bundle-i_limn6s.js.map +1 -0
- package/cjs/chunks/{bundle-LOvxZyn6.js → bundle-ibHwVyGT.js} +4 -4
- package/cjs/chunks/bundle-ibHwVyGT.js.map +1 -0
- package/cjs/chunks/{bundle-LasQs8iu.js → bundle-jyk02TAP.js} +3 -3
- package/cjs/chunks/{bundle-LasQs8iu.js.map → bundle-jyk02TAP.js.map} +1 -1
- package/cjs/chunks/{bundle-6ING8CcH.js → bundle-k5Q32QVb.js} +1 -1
- package/cjs/chunks/bundle-k5Q32QVb.js.map +1 -0
- package/cjs/chunks/{bundle-GHF9IYi-.js → bundle-kK_alG0C.js} +9 -9
- package/cjs/chunks/{bundle-GHF9IYi-.js.map → bundle-kK_alG0C.js.map} +1 -1
- package/cjs/chunks/{bundle-af-Vhz_F.js → bundle-lWnWz_uA.js} +1 -1
- package/cjs/chunks/bundle-lWnWz_uA.js.map +1 -0
- package/cjs/chunks/{bundle-i9olAw4e.js → bundle-lboALqfF.js} +6 -6
- package/cjs/chunks/bundle-lboALqfF.js.map +1 -0
- package/cjs/chunks/{bundle-rXNfPqQR.js → bundle-nx7vt9V0.js} +3 -3
- package/cjs/chunks/{bundle-rXNfPqQR.js.map → bundle-nx7vt9V0.js.map} +1 -1
- package/cjs/chunks/{bundle-P__OxDCf.js → bundle-q3gC3USe.js} +3 -3
- package/cjs/chunks/{bundle-P__OxDCf.js.map → bundle-q3gC3USe.js.map} +1 -1
- package/cjs/chunks/{bundle-otHh2GZm.js → bundle-qXlO8kL1.js} +1 -1
- package/cjs/chunks/bundle-qXlO8kL1.js.map +1 -0
- package/cjs/chunks/{bundle-noiyvZaq.js → bundle-rLa_6DY9.js} +1 -1
- package/cjs/chunks/bundle-rLa_6DY9.js.map +1 -0
- package/cjs/chunks/bundle-rRVJHRjU.js +98 -0
- package/cjs/chunks/bundle-rRVJHRjU.js.map +1 -0
- package/cjs/chunks/{bundle-nrZuUm2h.js → bundle-rkswfWVW.js} +1 -1
- package/cjs/chunks/bundle-rkswfWVW.js.map +1 -0
- package/cjs/chunks/{bundle-x6GOQeyO.js → bundle-rtw1d_yn.js} +1 -1
- package/cjs/chunks/bundle-rtw1d_yn.js.map +1 -0
- package/cjs/chunks/{bundle-PLzI4mgo.js → bundle-tiw6X4aS.js} +5 -5
- package/cjs/chunks/{bundle-PLzI4mgo.js.map → bundle-tiw6X4aS.js.map} +1 -1
- package/cjs/chunks/{bundle-Ur6-okMD.js → bundle-ugVeJMAH.js} +3 -3
- package/cjs/chunks/bundle-ugVeJMAH.js.map +1 -0
- package/cjs/chunks/{bundle-dwV-KMKC.js → bundle-v7_F1w17.js} +1 -1
- package/cjs/chunks/bundle-v7_F1w17.js.map +1 -0
- package/cjs/chunks/{bundle-R3Ze9NdG.js → bundle-xBHLSlN-.js} +1 -1
- package/cjs/chunks/bundle-xBHLSlN-.js.map +1 -0
- package/cjs/chunks/{bundle-Epp2z49V.js → bundle-zEzPPJRD.js} +2 -2
- package/cjs/chunks/{bundle-Epp2z49V.js.map → bundle-zEzPPJRD.js.map} +1 -1
- package/cjs/chunks/{bundle-Pq-6iw-6.js → bundle-zuM-R0rn.js} +12 -12
- package/cjs/chunks/{bundle-Pq-6iw-6.js.map → bundle-zuM-R0rn.js.map} +1 -1
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +60 -60
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- 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 +5 -5
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +6 -6
- package/cjs/ui/ConnectionStatus.js +6 -6
- package/cjs/ui/ContextMenu.js +6 -6
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +16 -16
- package/cjs/ui/FileMessageItemBody.js +8 -8
- package/cjs/ui/FileViewer.js +15 -15
- package/cjs/ui/Icon.js +2 -2
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/MentionLabel.js +13 -13
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +39 -39
- package/cjs/ui/MessageInput/hooks/usePaste.js +5 -5
- package/cjs/ui/MessageInput.js +25 -16
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +21 -21
- package/cjs/ui/MessageItemReactionMenu.js +9 -9
- package/cjs/ui/MessageSearchFileItem.js +15 -15
- package/cjs/ui/MessageSearchItem.js +12 -12
- package/cjs/ui/MessageStatus.js +12 -12
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +16 -16
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +9 -9
- package/cjs/ui/OpenchannelConversationHeader.js +9 -9
- package/cjs/ui/OpenchannelFileMessage.js +18 -18
- package/cjs/ui/OpenchannelOGMessage.js +20 -20
- package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
- package/cjs/ui/OpenchannelUserMessage.js +18 -18
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/QuoteMessage.js +9 -9
- package/cjs/ui/QuoteMessageInput.js +9 -9
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +16 -16
- package/cjs/ui/ThreadReplies.js +9 -9
- package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/TypingIndicatorBubble.js +5 -5
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +13 -13
- package/cjs/ui/UserProfile.js +11 -11
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/Word.js +13 -13
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +3 -3
- package/cjs/withSendbird.js +1 -1
- package/dist/index.css +12 -12
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +60 -60
- package/package.json +1 -1
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/hooks/useModal/index.d.ts +1 -1
- package/types/hooks/useThrottleCallback.d.ts +4 -0
- package/types/lib/Sendbird.d.ts +1 -1
- package/types/lib/hooks/useConnect/setupConnection.d.ts +2 -2
- package/types/modules/App/types.d.ts +1 -1
- package/types/modules/Channel/components/MessageList/hooks/useSetScrollToBottom.d.ts +3 -3
- package/types/modules/Channel/context/ChannelProvider.d.ts +2 -2
- package/types/modules/Channel/context/hooks/useScrollCallback.d.ts +1 -1
- package/types/utils/utils.d.ts +1 -0
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +5 -5
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +6 -6
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +16 -16
- package/ui/FileMessageItemBody.js +8 -8
- package/ui/FileViewer.js +15 -15
- package/ui/Icon.js +2 -2
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +2 -2
- package/ui/MentionLabel.js +13 -13
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +39 -39
- package/ui/MessageInput/hooks/usePaste.js +5 -5
- package/ui/MessageInput.js +25 -16
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +21 -21
- package/ui/MessageItemReactionMenu.js +9 -9
- package/ui/MessageSearchFileItem.js +15 -15
- package/ui/MessageSearchItem.js +12 -12
- package/ui/MessageStatus.js +12 -12
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +16 -16
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +9 -9
- package/ui/OpenchannelConversationHeader.js +9 -9
- package/ui/OpenchannelFileMessage.js +18 -18
- package/ui/OpenchannelOGMessage.js +20 -20
- package/ui/OpenchannelThumbnailMessage.js +17 -17
- package/ui/OpenchannelUserMessage.js +18 -18
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/QuoteMessage.js +9 -9
- package/ui/QuoteMessageInput.js +9 -9
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +16 -16
- package/ui/ThreadReplies.js +9 -9
- package/ui/ThumbnailMessageItemBody.js +7 -7
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +5 -5
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +13 -13
- package/ui/UserProfile.js +11 -11
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +13 -13
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +3 -3
- package/withSendbird.js +1 -1
- package/chunks/bundle-4nIx2RJD.js.map +0 -1
- package/chunks/bundle-4wKb8u1C.js.map +0 -1
- package/chunks/bundle-5HYqTaTr.js.map +0 -1
- package/chunks/bundle-7JHtC_JJ.js.map +0 -1
- package/chunks/bundle-7jjAs2HK.js.map +0 -1
- package/chunks/bundle-Bjgxg83b.js.map +0 -1
- package/chunks/bundle-DGEj-Zfy.js.map +0 -1
- package/chunks/bundle-EQ2jMcm0.js.map +0 -1
- package/chunks/bundle-GYn98g4i.js.map +0 -1
- package/chunks/bundle-Ha6WT0Hp.js.map +0 -1
- package/chunks/bundle-HbEA73mt.js.map +0 -1
- package/chunks/bundle-J3Xwcu_c.js.map +0 -1
- package/chunks/bundle-J87QWRh3.js.map +0 -1
- package/chunks/bundle-OuijNFkl.js.map +0 -1
- package/chunks/bundle-OwUIW9B_.js.map +0 -1
- package/chunks/bundle-S1smGX8b.js.map +0 -1
- package/chunks/bundle-XtwZ5oLQ.js +0 -5
- package/chunks/bundle-XtwZ5oLQ.js.map +0 -1
- package/chunks/bundle-ZSLOjQvb.js.map +0 -1
- package/chunks/bundle-ZxBmutMJ.js.map +0 -1
- package/chunks/bundle-_43SdcJP.js.map +0 -1
- package/chunks/bundle-bLXmqujU.js +0 -72
- package/chunks/bundle-bLXmqujU.js.map +0 -1
- package/chunks/bundle-c944_BvY.js.map +0 -1
- package/chunks/bundle-dBXZk5Y3.js.map +0 -1
- package/chunks/bundle-dJsyeOhk.js.map +0 -1
- package/chunks/bundle-f7C0xlTH.js.map +0 -1
- package/chunks/bundle-fwLsGp6N.js.map +0 -1
- package/chunks/bundle-hDMLfh4n.js.map +0 -1
- package/chunks/bundle-mAbwjJsi.js.map +0 -1
- package/chunks/bundle-okmgQKUZ.js.map +0 -1
- package/chunks/bundle-qotlr2QN.js.map +0 -1
- package/chunks/bundle-rgIbMndg.js.map +0 -1
- package/chunks/bundle-tc0rEnB_.js.map +0 -1
- package/chunks/bundle-u2CeAx57.js.map +0 -1
- package/chunks/bundle-vUampZQQ.js.map +0 -1
- package/chunks/bundle-yCtFACB5.js.map +0 -1
- package/cjs/chunks/bundle-4qgSZeT3.js.map +0 -1
- package/cjs/chunks/bundle-6ING8CcH.js.map +0 -1
- package/cjs/chunks/bundle-6JxglfHi.js.map +0 -1
- package/cjs/chunks/bundle-6PamDVow.js.map +0 -1
- package/cjs/chunks/bundle-6Zb-iZx5.js +0 -75
- package/cjs/chunks/bundle-6Zb-iZx5.js.map +0 -1
- package/cjs/chunks/bundle-8vsXz_gj.js.map +0 -1
- package/cjs/chunks/bundle-9ye-ND_Z.js.map +0 -1
- package/cjs/chunks/bundle-Csb8JrWu.js.map +0 -1
- package/cjs/chunks/bundle-GBjPe_zz.js.map +0 -1
- package/cjs/chunks/bundle-H1oA9eVZ.js.map +0 -1
- package/cjs/chunks/bundle-I-kMnHYy.js.map +0 -1
- package/cjs/chunks/bundle-IJoXsg7h.js.map +0 -1
- package/cjs/chunks/bundle-LOvxZyn6.js.map +0 -1
- package/cjs/chunks/bundle-LTZh0NNq.js.map +0 -1
- package/cjs/chunks/bundle-NItu6zWb.js.map +0 -1
- package/cjs/chunks/bundle-P1tJL1VF.js.map +0 -1
- package/cjs/chunks/bundle-R1cJCMsN.js.map +0 -1
- package/cjs/chunks/bundle-R3Ze9NdG.js.map +0 -1
- package/cjs/chunks/bundle-TLWExetX.js.map +0 -1
- package/cjs/chunks/bundle-Ur6-okMD.js.map +0 -1
- package/cjs/chunks/bundle-Vk8BUCRm.js.map +0 -1
- package/cjs/chunks/bundle-W4NFKk4o.js.map +0 -1
- package/cjs/chunks/bundle-Xr9HRCcW.js.map +0 -1
- package/cjs/chunks/bundle-YOewBep4.js.map +0 -1
- package/cjs/chunks/bundle-_0eKxSxF.js.map +0 -1
- package/cjs/chunks/bundle-_FZAAyq7.js.map +0 -1
- package/cjs/chunks/bundle-aNw5UWgi.js.map +0 -1
- package/cjs/chunks/bundle-af-Vhz_F.js.map +0 -1
- package/cjs/chunks/bundle-crXcinmk.js.map +0 -1
- package/cjs/chunks/bundle-dwV-KMKC.js.map +0 -1
- package/cjs/chunks/bundle-dyoIaPov.js.map +0 -1
- package/cjs/chunks/bundle-e3fIFP60.js.map +0 -1
- package/cjs/chunks/bundle-fJhxctLh.js.map +0 -1
- package/cjs/chunks/bundle-gEqE3TId.js +0 -8
- package/cjs/chunks/bundle-gEqE3TId.js.map +0 -1
- package/cjs/chunks/bundle-h09WWCLD.js.map +0 -1
- package/cjs/chunks/bundle-i9olAw4e.js.map +0 -1
- package/cjs/chunks/bundle-lGiBWL17.js.map +0 -1
- package/cjs/chunks/bundle-nnKzOqh3.js.map +0 -1
- package/cjs/chunks/bundle-noiyvZaq.js.map +0 -1
- package/cjs/chunks/bundle-nrZuUm2h.js.map +0 -1
- package/cjs/chunks/bundle-otHh2GZm.js.map +0 -1
- package/cjs/chunks/bundle-q4_bj8Re.js.map +0 -1
- package/cjs/chunks/bundle-tNyqNssI.js.map +0 -1
- package/cjs/chunks/bundle-x6GOQeyO.js.map +0 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { useState, useEffect } from 'react';
|
|
2
|
-
import { u as useVoicePlayerContext, A as AudioUnitDefaultValue } from '../chunks/bundle-
|
|
3
|
-
import { e as VOICE_PLAYER_AUDIO_ID } from '../chunks/bundle-
|
|
2
|
+
import { u as useVoicePlayerContext, A as AudioUnitDefaultValue } from '../chunks/bundle-TcioQEN5.js';
|
|
3
|
+
import { e as VOICE_PLAYER_AUDIO_ID } from '../chunks/bundle-wxDl4Uqr.js';
|
|
4
4
|
import { useVoiceRecorderContext } from '../VoiceRecorder/context.js';
|
|
5
|
-
import '../chunks/bundle-
|
|
5
|
+
import '../chunks/bundle-FpyOg33P.js';
|
|
6
6
|
import '../useSendbirdStateContext.js';
|
|
7
7
|
import '../withSendbird.js';
|
|
8
|
-
import '../chunks/bundle-
|
|
9
|
-
import '../chunks/bundle-
|
|
10
|
-
import '../chunks/bundle-
|
|
11
|
-
import '../chunks/bundle-
|
|
8
|
+
import '../chunks/bundle-qXzcabru.js';
|
|
9
|
+
import '../chunks/bundle-Qz8Xvs0V.js';
|
|
10
|
+
import '../chunks/bundle-oJDE4gxT.js';
|
|
11
|
+
import '../chunks/bundle-tZpfBaVT.js';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import '../chunks/bundle-
|
|
14
|
-
import '../chunks/bundle-
|
|
13
|
+
import '../chunks/bundle-ZdB7DVTk.js';
|
|
14
|
+
import '../chunks/bundle-PS5DHcTM.js';
|
|
15
15
|
import '../ui/IconButton.js';
|
|
16
16
|
import '../ui/Button.js';
|
|
17
|
-
import '../chunks/bundle-
|
|
17
|
+
import '../chunks/bundle-afcKlUXe.js';
|
|
18
18
|
import '../ui/Icon.js';
|
|
19
19
|
|
|
20
20
|
var generateGroupKey = function (channelUrl, key) {
|
|
@@ -60,9 +60,12 @@ var useVoicePlayer = function (_a) {
|
|
|
60
60
|
play: playVoicePlayer,
|
|
61
61
|
pause: pauseVoicePlayer,
|
|
62
62
|
stop: stopVoicePlayer,
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
/**
|
|
64
|
+
* The reason why we multiply this by *1000 is,
|
|
65
|
+
* The unit of playbackTime and duration should be millisecond
|
|
66
|
+
*/
|
|
67
|
+
playbackTime: ((currentAudioUnit === null || currentAudioUnit === void 0 ? void 0 : currentAudioUnit.playbackTime) || 0) * 1000,
|
|
68
|
+
duration: ((currentAudioUnit === null || currentAudioUnit === void 0 ? void 0 : currentAudioUnit.duration) || 0) * 1000,
|
|
66
69
|
playingStatus: currentAudioUnit.playingStatus,
|
|
67
70
|
});
|
|
68
71
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useVoicePlayer.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useVoicePlayer.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/VoiceRecorder/context.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React__default, { createContext, useState, useEffect, useCallback, useContext } from 'react';
|
|
2
|
-
import { u as useLocalization } from '../chunks/bundle-
|
|
3
|
-
import { M as Modal } from '../chunks/bundle-
|
|
4
|
-
import { B as BROWSER_SUPPORT_MIME_TYPE_LIST, V as VOICE_RECORDER_AUDIO_BIT_RATE, a as VOICE_MESSAGE_FILE_NAME, b as VOICE_MESSAGE_MIME_TYPE } from '../chunks/bundle-
|
|
2
|
+
import { u as useLocalization } from '../chunks/bundle-qXzcabru.js';
|
|
3
|
+
import { M as Modal } from '../chunks/bundle-tZpfBaVT.js';
|
|
4
|
+
import { B as BROWSER_SUPPORT_MIME_TYPE_LIST, V as VOICE_RECORDER_AUDIO_BIT_RATE, a as VOICE_MESSAGE_FILE_NAME, b as VOICE_MESSAGE_MIME_TYPE } from '../chunks/bundle-wxDl4Uqr.js';
|
|
5
5
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
6
|
-
import '../chunks/bundle-
|
|
7
|
-
import '../chunks/bundle-
|
|
6
|
+
import '../chunks/bundle-Qz8Xvs0V.js';
|
|
7
|
+
import '../chunks/bundle-oJDE4gxT.js';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import '../chunks/bundle-
|
|
10
|
-
import '../chunks/bundle-
|
|
9
|
+
import '../chunks/bundle-ZdB7DVTk.js';
|
|
10
|
+
import '../chunks/bundle-PS5DHcTM.js';
|
|
11
11
|
import '../ui/IconButton.js';
|
|
12
|
-
import '../chunks/bundle-
|
|
12
|
+
import '../chunks/bundle-FpyOg33P.js';
|
|
13
13
|
import '../ui/Button.js';
|
|
14
|
-
import '../chunks/bundle-
|
|
14
|
+
import '../chunks/bundle-afcKlUXe.js';
|
|
15
15
|
import '../ui/Icon.js';
|
|
16
16
|
import '../withSendbird.js';
|
|
17
17
|
|
|
@@ -54,7 +54,7 @@ var VoiceRecorderProvider = function (props) {
|
|
|
54
54
|
var _e = useState(null), webAudioUtils = _e[0], setWebAudioUtils = _e[1];
|
|
55
55
|
useEffect(function () {
|
|
56
56
|
if (isVoiceMessageEnabled && !webAudioUtils) {
|
|
57
|
-
import('../chunks/bundle-
|
|
57
|
+
import('../chunks/bundle-utAUah8o.js').then(function (data) {
|
|
58
58
|
setWebAudioUtils(data);
|
|
59
59
|
});
|
|
60
60
|
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { useState, useEffect, useCallback } from 'react';
|
|
2
2
|
import { useVoiceRecorderContext } from './context.js';
|
|
3
3
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
4
|
-
import '../chunks/bundle-
|
|
5
|
-
import '../chunks/bundle-
|
|
6
|
-
import '../chunks/bundle-
|
|
7
|
-
import '../chunks/bundle-
|
|
4
|
+
import '../chunks/bundle-qXzcabru.js';
|
|
5
|
+
import '../chunks/bundle-Qz8Xvs0V.js';
|
|
6
|
+
import '../chunks/bundle-oJDE4gxT.js';
|
|
7
|
+
import '../chunks/bundle-tZpfBaVT.js';
|
|
8
8
|
import 'react-dom';
|
|
9
|
-
import '../chunks/bundle-
|
|
10
|
-
import '../chunks/bundle-
|
|
9
|
+
import '../chunks/bundle-ZdB7DVTk.js';
|
|
10
|
+
import '../chunks/bundle-PS5DHcTM.js';
|
|
11
11
|
import '../ui/IconButton.js';
|
|
12
|
-
import '../chunks/bundle-
|
|
12
|
+
import '../chunks/bundle-FpyOg33P.js';
|
|
13
13
|
import '../ui/Button.js';
|
|
14
|
-
import '../chunks/bundle-
|
|
14
|
+
import '../chunks/bundle-afcKlUXe.js';
|
|
15
15
|
import '../ui/Icon.js';
|
|
16
|
-
import '../chunks/bundle-
|
|
16
|
+
import '../chunks/bundle-wxDl4Uqr.js';
|
|
17
17
|
import '../withSendbird.js';
|
|
18
18
|
|
|
19
19
|
// export interface UseVoiceRecorderProps extends VoiceRecorderEventHandler {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle--bKgEN9C.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-1g6DWJD0.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-FpyOg33P.js';
|
|
2
2
|
import React__default, { useContext, useState, useEffect, useRef, useCallback } from 'react';
|
|
3
3
|
import Button, { ButtonTypes, ButtonSizes } from '../ui/Button.js';
|
|
4
4
|
import ContextMenu, { MenuItems, MenuItem } from '../ui/ContextMenu.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
6
6
|
import IconButton from '../ui/IconButton.js';
|
|
7
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
8
|
-
import { L as LocalizationContext } from './bundle-
|
|
9
|
-
import { a as UserProfileContext } from './bundle-
|
|
10
|
-
import './bundle-
|
|
11
|
-
import { A as Avatar } from './bundle-
|
|
7
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-afcKlUXe.js';
|
|
8
|
+
import { L as LocalizationContext } from './bundle-qXzcabru.js';
|
|
9
|
+
import { a as UserProfileContext } from './bundle-_iM6nCNy.js';
|
|
10
|
+
import './bundle-x6Co8nvL.js';
|
|
11
|
+
import { A as Avatar } from './bundle-c_C-QxZX.js';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import './bundle-
|
|
13
|
+
import './bundle-PS5DHcTM.js';
|
|
14
14
|
import MutedAvatarOverlay from '../ui/MutedAvatarOverlay.js';
|
|
15
15
|
import UserProfile from '../ui/UserProfile.js';
|
|
16
16
|
import { useOpenChannelSettingsContext } from '../OpenChannelSettings/context.js';
|
|
17
17
|
import '../withSendbird.js';
|
|
18
|
-
import { M as Modal } from './bundle-
|
|
18
|
+
import { M as Modal } from './bundle-tZpfBaVT.js';
|
|
19
19
|
import UserListItem$1 from '../ui/UserListItem.js';
|
|
20
|
-
import { n as noop } from './bundle-
|
|
20
|
+
import { n as noop } from './bundle-ZdB7DVTk.js';
|
|
21
21
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
22
22
|
|
|
23
23
|
function ParticipantsModal(_a) {
|
|
@@ -232,4 +232,4 @@ function ParticipantList(_a) {
|
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
export { ParticipantList as P, UserListItem as U };
|
|
235
|
-
//# sourceMappingURL=bundle-
|
|
235
|
+
//# sourceMappingURL=bundle-3prAA35q.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-3prAA35q.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -33,4 +33,4 @@ var CreateChannelProvider = function (props) {
|
|
|
33
33
|
var useCreateChannelContext = function () { return (React__default.useContext(CreateChannelContext)); };
|
|
34
34
|
|
|
35
35
|
export { CreateChannelProvider as C, CHANNEL_TYPE as a, useCreateChannelContext as u };
|
|
36
|
-
//# sourceMappingURL=bundle-
|
|
36
|
+
//# sourceMappingURL=bundle-5yEflTNR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-5yEflTNR.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,9 +3,9 @@ import { PlaybackTime } from '../ui/PlaybackTime.js';
|
|
|
3
3
|
import { ProgressBar } from '../ui/ProgressBar.js';
|
|
4
4
|
import TextButton from '../ui/TextButton.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
6
|
-
import { b as LabelColors, L as Label, a as LabelTypography } from './bundle-
|
|
7
|
-
import { u as useLocalization } from './bundle-
|
|
8
|
-
import { f as VOICE_RECORDER_CLICK_BUFFER_TIME, c as VOICE_RECORDER_DEFAULT_MIN } from './bundle-
|
|
6
|
+
import { b as LabelColors, L as Label, a as LabelTypography } from './bundle-afcKlUXe.js';
|
|
7
|
+
import { u as useLocalization } from './bundle-qXzcabru.js';
|
|
8
|
+
import { f as VOICE_RECORDER_CLICK_BUFFER_TIME, c as VOICE_RECORDER_DEFAULT_MIN } from './bundle-wxDl4Uqr.js';
|
|
9
9
|
|
|
10
10
|
/* eslint-disable no-redeclare */
|
|
11
11
|
var VoiceMessageInputStatus = {
|
|
@@ -93,4 +93,4 @@ var VoiceMessageInput = function (_a) {
|
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
export { VoiceMessageInputStatus as V, VoiceMessageInput as a };
|
|
96
|
-
//# sourceMappingURL=bundle-
|
|
96
|
+
//# sourceMappingURL=bundle-78frOEM6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-78frOEM6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as LabelStringSet } from './bundle-
|
|
1
|
+
import { c as LabelStringSet } from './bundle-afcKlUXe.js';
|
|
2
2
|
|
|
3
3
|
var getChannelTitle = function (channel, currentUserId, stringSet) {
|
|
4
4
|
var _a;
|
|
@@ -22,4 +22,4 @@ var getChannelTitle = function (channel, currentUserId, stringSet) {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
export { getChannelTitle as g };
|
|
25
|
-
//# sourceMappingURL=bundle-
|
|
25
|
+
//# sourceMappingURL=bundle-7R8HEAQg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-7R8HEAQg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React__default, { useEffect, useCallback, useState, useReducer, useRef, useMemo } from 'react';
|
|
2
|
-
import { f as format } from './bundle-
|
|
3
|
-
import { U as UserProfileProvider } from './bundle-
|
|
4
|
-
import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-
|
|
5
|
-
import { c as compareIds } from './bundle-
|
|
6
|
-
import { p as pubSubTopics } from './bundle-
|
|
2
|
+
import { f as format } from './bundle-beh08z4N.js';
|
|
3
|
+
import { U as UserProfileProvider } from './bundle-_iM6nCNy.js';
|
|
4
|
+
import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-FpyOg33P.js';
|
|
5
|
+
import { c as compareIds } from './bundle-tIZkKr0f.js';
|
|
6
|
+
import { p as pubSubTopics } from './bundle-PjrYdsK-.js';
|
|
7
7
|
import { ChannelType } from '@sendbird/chat';
|
|
8
8
|
import { OpenChannelHandler } from '@sendbird/chat/openChannel';
|
|
9
|
-
import { u as uuidv4 } from './bundle
|
|
10
|
-
import { c as compressImages } from './bundle-
|
|
9
|
+
import { u as uuidv4 } from './bundle--bKgEN9C.js';
|
|
10
|
+
import { c as compressImages } from './bundle-GPxxY-H1.js';
|
|
11
11
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
12
12
|
import { useGlobalModalContext } from '../hooks/useModal.js';
|
|
13
|
-
import { u as useLocalization } from './bundle-
|
|
14
|
-
import { O as ONE_MiB } from './bundle-
|
|
15
|
-
import { c as ModalFooter } from './bundle-
|
|
16
|
-
import './bundle-
|
|
13
|
+
import { u as useLocalization } from './bundle-qXzcabru.js';
|
|
14
|
+
import { O as ONE_MiB } from './bundle-wxDl4Uqr.js';
|
|
15
|
+
import { c as ModalFooter } from './bundle-tZpfBaVT.js';
|
|
16
|
+
import './bundle-afcKlUXe.js';
|
|
17
17
|
import { ButtonTypes } from '../ui/Button.js';
|
|
18
18
|
|
|
19
19
|
var getMessageCreatedAt = function (message) { return format(message.createdAt, 'p'); };
|
|
@@ -1401,4 +1401,4 @@ var OpenChannelProvider = function (props) {
|
|
|
1401
1401
|
var useOpenChannelContext = function () { return React__default.useContext(OpenChannelContext); };
|
|
1402
1402
|
|
|
1403
1403
|
export { OpenChannelProvider as O, compareMessagesForGrouping as c, kFormatter as k, useOpenChannelContext as u };
|
|
1404
|
-
//# sourceMappingURL=bundle-
|
|
1404
|
+
//# sourceMappingURL=bundle-8GoMZkJU.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-8GoMZkJU.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-
|
|
1
|
+
import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-FpyOg33P.js';
|
|
2
2
|
import React__default, { useEffect, useCallback, useReducer, useState, useMemo, useContext } from 'react';
|
|
3
3
|
import { GroupChannelHandler } from '@sendbird/chat/groupChannel';
|
|
4
|
-
import { p as pubSubTopics } from './bundle-
|
|
5
|
-
import { u as uuidv4 } from './bundle
|
|
6
|
-
import { n as noop } from './bundle-
|
|
7
|
-
import { D as DELIVERY_RECEIPT$1 } from './bundle-
|
|
8
|
-
import { U as UserProfileProvider } from './bundle-
|
|
4
|
+
import { p as pubSubTopics } from './bundle-PjrYdsK-.js';
|
|
5
|
+
import { u as uuidv4 } from './bundle--bKgEN9C.js';
|
|
6
|
+
import { n as noop } from './bundle-ZdB7DVTk.js';
|
|
7
|
+
import { D as DELIVERY_RECEIPT$1 } from './bundle-wxDl4Uqr.js';
|
|
8
|
+
import { U as UserProfileProvider } from './bundle-_iM6nCNy.js';
|
|
9
9
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
10
|
-
import { K, S } from './bundle-
|
|
11
|
-
import { T as filterChannelListParams, V as getChannelsWithUpsertedChannel } from './bundle-
|
|
10
|
+
import { K, S } from './bundle-nfdZFsK-.js';
|
|
11
|
+
import { T as filterChannelListParams, V as getChannelsWithUpsertedChannel } from './bundle-HBHAJNcI.js';
|
|
12
12
|
|
|
13
13
|
var RESET_CHANNEL_LIST = 'RESET_CHANNEL_LIST';
|
|
14
14
|
var CREATE_CHANNEL = 'CREATE_CHANNEL';
|
|
@@ -831,4 +831,4 @@ function useChannelListContext() {
|
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
export { ChannelListProvider as C, LEAVE_CHANNEL_SUCCESS as L, SET_CURRENT_CHANNEL as S, useChannelListContext as u };
|
|
834
|
-
//# sourceMappingURL=bundle-
|
|
834
|
+
//# sourceMappingURL=bundle-8HrIQpbX.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-8HrIQpbX.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-BQL-EsqQ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requiredArgs, t as toDate } from './bundle-
|
|
1
|
+
import { r as requiredArgs, t as toDate } from './bundle-beh08z4N.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @name startOfDay
|
|
@@ -63,4 +63,4 @@ function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
export { isSameDay as i };
|
|
66
|
-
//# sourceMappingURL=bundle-
|
|
66
|
+
//# sourceMappingURL=bundle-DxDwP2lI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-DxDwP2lI.js","sources":["../../node_modules/date-fns/esm/startOfDay/index.js","../../node_modules/date-fns/esm/isSameDay/index.js"],"sourcesContent":["import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\n\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day (and year and month)?\n *\n * @description\n * Are the given dates in the same day (and year and month)?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same day (and year and month)\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n *\n * @example\n * // Are 4 September and 4 October in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))\n * //=> false\n *\n * @example\n * // Are 4 September, 2014 and 4 September, 2015 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))\n * //=> false\n */\n\nexport default function isSameDay(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeftStartOfDay = startOfDay(dirtyDateLeft);\n var dateRightStartOfDay = startOfDay(dirtyDateRight);\n return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();\n}"],"names":[],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,UAAU,CAAC,SAAS,EAAE;AAC9C,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5B,EAAE,OAAO,IAAI,CAAC;AACd;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,SAAS,CAAC,aAAa,EAAE,cAAc,EAAE;AACjE,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,kBAAkB,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;AACrD,EAAE,IAAI,mBAAmB,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AACvD,EAAE,OAAO,kBAAkB,CAAC,OAAO,EAAE,KAAK,mBAAmB,CAAC,OAAO,EAAE,CAAC;AACxE;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as isMultipleFilesMessage } from './bundle-
|
|
2
|
-
import { K } from './bundle-
|
|
1
|
+
import { b as isMultipleFilesMessage } from './bundle-HBHAJNcI.js';
|
|
2
|
+
import { K } from './bundle-nfdZFsK-.js';
|
|
3
3
|
|
|
4
4
|
function getModalDeleteMessageTitle(stringSet, message) {
|
|
5
5
|
return K(message)
|
|
@@ -13,4 +13,4 @@ function getModalDeleteMessageTitle(stringSet, message) {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
export { getModalDeleteMessageTitle as g };
|
|
16
|
-
//# sourceMappingURL=bundle-
|
|
16
|
+
//# sourceMappingURL=bundle-DzuA_apO.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-DzuA_apO.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
2
|
-
import { L as isUrl } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-FpyOg33P.js';
|
|
2
|
+
import { L as isUrl } from './bundle-HBHAJNcI.js';
|
|
3
3
|
|
|
4
4
|
var USER_MENTION_PREFIX = '@';
|
|
5
5
|
|
|
@@ -129,4 +129,4 @@ function getWhiteSpacePreservedText(text) {
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
export { TOKEN_TYPES as T, USER_MENTION_PREFIX as U, getWhiteSpacePreservedText as g, tokenizeMessage as t };
|
|
132
|
-
//# sourceMappingURL=bundle-
|
|
132
|
+
//# sourceMappingURL=bundle-Ey_7-wSi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-Ey_7-wSi.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
2
|
-
import { f as format } from './bundle-
|
|
3
|
-
import { a as isReadMessage } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-FpyOg33P.js';
|
|
2
|
+
import { f as format } from './bundle-beh08z4N.js';
|
|
3
|
+
import { a as isReadMessage } from './bundle-HBHAJNcI.js';
|
|
4
4
|
import { SendingStatus } from '@sendbird/chat/message';
|
|
5
5
|
|
|
6
6
|
var scrollToRenderedMessage = function (scrollRef, initialTimeStamp, setIsScrolled) {
|
|
@@ -32,7 +32,7 @@ var scrollIntoLast = function (initialTry, scrollRef, setIsScrolled) {
|
|
|
32
32
|
}
|
|
33
33
|
try {
|
|
34
34
|
var scrollDOM = (scrollRef === null || scrollRef === void 0 ? void 0 : scrollRef.current) || document.querySelector('.sendbird-conversation__messages-padding');
|
|
35
|
-
scrollDOM.scrollTop =
|
|
35
|
+
scrollDOM.scrollTop = Number.MAX_SAFE_INTEGER;
|
|
36
36
|
setIsScrolled === null || setIsScrolled === void 0 ? void 0 : setIsScrolled(true);
|
|
37
37
|
}
|
|
38
38
|
catch (error) {
|
|
@@ -144,4 +144,4 @@ var isAboutSame = function (a, b, px) {
|
|
|
144
144
|
};
|
|
145
145
|
|
|
146
146
|
export { scrollToRenderedMessage as a, isDisabledBecauseMuted as b, isOperator as c, isSameGroup as d, isAboutSame as e, getNicknamesMapFromMembers as f, getAllEmojisMapFromEmojiContainer as g, isDisabledBecauseFrozen as i, mergeAndSortMessages as m, passUnsuccessfullMessages as p, scrollIntoLast as s };
|
|
147
|
-
//# sourceMappingURL=bundle-
|
|
147
|
+
//# sourceMappingURL=bundle-FKPPxTH5.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-FKPPxTH5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -94,4 +94,4 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
export { __assign as _, __spreadArray as a, __awaiter as b, __generator as c, __extends as d };
|
|
97
|
-
//# sourceMappingURL=bundle-
|
|
97
|
+
//# sourceMappingURL=bundle-FpyOg33P.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-FpyOg33P.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as __awaiter, c as __generator } from './bundle-
|
|
2
|
-
import { p as pxToNumber } from './bundle-
|
|
1
|
+
import { b as __awaiter, c as __generator } from './bundle-FpyOg33P.js';
|
|
2
|
+
import { p as pxToNumber } from './bundle-M5pt2U9r.js';
|
|
3
3
|
|
|
4
4
|
var compressImage = function (_a) {
|
|
5
5
|
var imageFile = _a.imageFile, compressionRate = _a.compressionRate, resizingWidth = _a.resizingWidth, resizingHeight = _a.resizingHeight;
|
|
@@ -109,4 +109,4 @@ var compressImages = function (_a) {
|
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
export { compressImages as c };
|
|
112
|
-
//# sourceMappingURL=bundle-
|
|
112
|
+
//# sourceMappingURL=bundle-GPxxY-H1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-GPxxY-H1.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __assign, a as __spreadArray } from './bundle-
|
|
1
|
+
import { _ as __assign, a as __spreadArray } from './bundle-FpyOg33P.js';
|
|
2
2
|
import { OutgoingMessageStates, getOutgoingMessageState } from '../utils/message/getOutgoingMessageState.js';
|
|
3
|
-
import { K } from './bundle-
|
|
3
|
+
import { K } from './bundle-nfdZFsK-.js';
|
|
4
4
|
|
|
5
5
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
|
|
6
6
|
var SUPPORTED_MIMES = {
|
|
@@ -654,4 +654,4 @@ var isSendableMessage = function (message) {
|
|
|
654
654
|
};
|
|
655
655
|
|
|
656
656
|
export { isAudio as A, isVoiceMessageMimeType as B, isSentStatus as C, arrayEqual as D, getMimeTypesUIKitAccepts as E, isImageMessage as F, isImageFileInfo as G, isAudioMessage as H, isOGMessage as I, isTextMessage as J, getSuggestedReplies as K, isUrl as L, isThreadMessage as M, isSendableMessage as N, getEmojiUrl as O, isReactedBy as P, getEmojiTooltipString as Q, getEmojiMapAll as R, StringObjType as S, filterChannelListParams as T, UIKitMessageTypes as U, getChannelsWithUpsertedChannel as V, filterMessageListParams as W, isTextuallyNull as X, isReadMessage as a, isMultipleFilesMessage as b, isImage as c, isFileMessage as d, isSupportedFileView as e, isVideo as f, isEditedMessage as g, getSenderName as h, isVoiceMessage as i, isUserMessage as j, isSentMessage as k, isFailedMessage as l, isPendingMessage as m, getClassName as n, copyToClipboard as o, getEmojiListAll as p, getUIKitFileTypes as q, isThumbnailMessage as r, isGif as s, getUIKitMessageType as t, getUIKitFileType as u, truncateString as v, getUIKitMessageTypes as w, isVideoMessage as x, isGifMessage as y, convertWordToStringObj as z };
|
|
657
|
-
//# sourceMappingURL=bundle-
|
|
657
|
+
//# sourceMappingURL=bundle-HBHAJNcI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-HBHAJNcI.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
|
-
import { u as useChannelContext } from './bundle-
|
|
2
|
+
import { u as useChannelContext } from './bundle-e3Ti36sK.js';
|
|
3
3
|
import PlaceHolder, { PlaceHolderTypes } from '../ui/PlaceHolder.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
5
5
|
import Message from '../Channel/components/Message.js';
|
|
6
|
-
import { e as isAboutSame
|
|
6
|
+
import { e as isAboutSame } from './bundle-FKPPxTH5.js';
|
|
7
7
|
import { getMessagePartsInfo } from '../Channel/utils/getMessagePartsInfo.js';
|
|
8
8
|
import UnreadCount from '../Channel/components/UnreadCount.js';
|
|
9
9
|
import FrozenNotification from '../Channel/components/FrozenNotification.js';
|
|
10
|
-
import { S as SCROLL_BUFFER } from './bundle-
|
|
10
|
+
import { S as SCROLL_BUFFER } from './bundle-wxDl4Uqr.js';
|
|
11
11
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
12
12
|
import { MessageProvider } from '../Message/context.js';
|
|
13
|
-
import { a as
|
|
13
|
+
import { a as useThrottleCallback, u as useHandleOnScrollCallback } from './bundle-qfjnmlHx.js';
|
|
14
14
|
import TypingIndicatorBubble from '../ui/TypingIndicatorBubble.js';
|
|
15
15
|
import { usePreservedCallback } from '@sendbird/uikit-tools';
|
|
16
16
|
|
|
@@ -20,7 +20,7 @@ var TypingIndicatorType;
|
|
|
20
20
|
TypingIndicatorType["Bubble"] = "bubble";
|
|
21
21
|
})(TypingIndicatorType || (TypingIndicatorType = {}));
|
|
22
22
|
|
|
23
|
-
var DELAY =
|
|
23
|
+
var DELAY = 100;
|
|
24
24
|
function useSetScrollToBottom(_a) {
|
|
25
25
|
var loading = _a.loading;
|
|
26
26
|
var _b = useState(0), scrollBottom = _b[0], setScrollBottom = _b[1];
|
|
@@ -40,7 +40,7 @@ function useSetScrollToBottom(_a) {
|
|
|
40
40
|
};
|
|
41
41
|
return {
|
|
42
42
|
scrollBottom: scrollBottom,
|
|
43
|
-
scrollToBottomHandler:
|
|
43
|
+
scrollToBottomHandler: useThrottleCallback(scrollCb, DELAY, { trailing: true }),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -54,7 +54,7 @@ function useScrollBehavior() {
|
|
|
54
54
|
return null;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
var BUFFER_DELAY =
|
|
57
|
+
var BUFFER_DELAY = 100;
|
|
58
58
|
function useOnScrollPositionChangeDetector(props) {
|
|
59
59
|
var onReachedTop = props.onReachedTop, onReachedBottom = props.onReachedBottom, onInBetween = props.onInBetween;
|
|
60
60
|
var cb = usePreservedCallback(function (event) {
|
|
@@ -71,7 +71,7 @@ function useOnScrollPositionChangeDetector(props) {
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
|
-
return
|
|
74
|
+
return useThrottleCallback(cb, BUFFER_DELAY, { trailing: true });
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
var SCROLL_BOTTOM_PADDING = 50;
|
|
@@ -86,34 +86,20 @@ var MessageList = function (_a) {
|
|
|
86
86
|
var markAsReadScheduler = store.config.markAsReadScheduler;
|
|
87
87
|
var _j = useState(false), isScrollBottom = _j[0], setIsScrollBottom = _j[1];
|
|
88
88
|
useScrollBehavior();
|
|
89
|
-
|
|
89
|
+
/**
|
|
90
|
+
* @param {function} callback callback from useHandleOnScrollCallback, it adjusts scroll position
|
|
91
|
+
* */
|
|
92
|
+
var onScroll = function (callback) {
|
|
90
93
|
var element = scrollRef === null || scrollRef === void 0 ? void 0 : scrollRef.current;
|
|
91
94
|
if (element == null) {
|
|
92
95
|
return;
|
|
93
96
|
}
|
|
94
97
|
var scrollTop = element.scrollTop, clientHeight = element.clientHeight, scrollHeight = element.scrollHeight;
|
|
95
|
-
if (isAboutSame(scrollTop, 0, SCROLL_BUFFER)) {
|
|
96
|
-
onScrollCallback();
|
|
98
|
+
if (hasMorePrev && isAboutSame(scrollTop, 0, SCROLL_BUFFER)) {
|
|
99
|
+
onScrollCallback(callback);
|
|
97
100
|
}
|
|
98
|
-
if (isAboutSame(clientHeight + scrollTop, scrollHeight, SCROLL_BUFFER)
|
|
99
|
-
onScrollDownCallback(
|
|
100
|
-
var messages = _a[0];
|
|
101
|
-
if (messages) {
|
|
102
|
-
try {
|
|
103
|
-
setTimeout(function () { return scrollIntoLast(0, scrollRef); },
|
|
104
|
-
/**
|
|
105
|
-
* Rendering MFM takes long time so we need this.
|
|
106
|
-
* But later we should find better solution.
|
|
107
|
-
*/
|
|
108
|
-
1000);
|
|
109
|
-
// element.scrollTop = scrollHeight - clientHeight;
|
|
110
|
-
// scrollRef.current.scrollTop = scrollHeight - clientHeight;
|
|
111
|
-
}
|
|
112
|
-
catch (error) {
|
|
113
|
-
//
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
});
|
|
101
|
+
if (hasMoreNext && isAboutSame(clientHeight + scrollTop, scrollHeight, SCROLL_BUFFER)) {
|
|
102
|
+
onScrollDownCallback(callback);
|
|
117
103
|
}
|
|
118
104
|
if (!disableMarkAsRead
|
|
119
105
|
&& isAboutSame(clientHeight + scrollTop, scrollHeight, SCROLL_BUFFER)
|
|
@@ -259,4 +245,4 @@ var MessageList = function (_a) {
|
|
|
259
245
|
};
|
|
260
246
|
|
|
261
247
|
export { MessageList as M, TypingIndicatorType as T };
|
|
262
|
-
//# sourceMappingURL=bundle-
|
|
248
|
+
//# sourceMappingURL=bundle-JP-jgzbg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-JP-jgzbg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|