@sendbird/uikit-react 3.12.1 → 3.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +79 -75
- package/App.js.map +1 -1
- package/CHANGELOG.md +62 -0
- package/Channel/components/ChannelHeader.js +29 -29
- package/Channel/components/ChannelUI.js +67 -63
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +28 -28
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +62 -56
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageFeedbackModal.js +9 -9
- package/Channel/components/MessageInput.js +41 -41
- package/Channel/components/MessageInputWrapper.js +41 -41
- package/Channel/components/MessageList.js +63 -59
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +27 -27
- package/Channel/components/SuggestedMentionList.js +27 -27
- package/Channel/components/TypingIndicator.js +6 -6
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +20 -20
- package/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/Channel/utils/getMessagePartsInfo.js +6 -6
- package/Channel.js +67 -63
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +20 -20
- package/ChannelList/components/ChannelListHeader.js +8 -8
- package/ChannelList/components/ChannelListUI.js +34 -34
- package/ChannelList/components/ChannelPreview.js +27 -27
- package/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/ChannelList/context.js +10 -10
- package/ChannelList.js +34 -34
- package/ChannelSettings/components/ChannelProfile.js +14 -14
- package/ChannelSettings/components/ChannelSettingsUI.js +23 -23
- package/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +21 -21
- package/ChannelSettings/components/UserListItem.js +13 -13
- package/ChannelSettings/components/UserPanel.js +20 -20
- package/ChannelSettings/context.js +43 -22
- package/ChannelSettings/context.js.map +1 -1
- package/ChannelSettings.js +23 -23
- 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 +11 -11
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +11 -11
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile.js +12 -12
- package/GroupChannel/components/FileViewer.js +23 -23
- package/GroupChannel/components/FrozenNotification.js +5 -5
- package/GroupChannel/components/GroupChannelHeader.js +22 -22
- package/GroupChannel/components/GroupChannelUI.js +61 -57
- package/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/GroupChannel/components/Message.js +62 -53
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +38 -38
- package/GroupChannel/components/MessageList.js +62 -68
- package/GroupChannel/components/MessageList.js.map +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +22 -22
- package/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/GroupChannel/components/SuggestedReplies.js +1 -1
- package/GroupChannel/components/TypingIndicator.js +6 -6
- package/GroupChannel/components/UnreadCount.js +7 -7
- package/GroupChannel/context.js +92 -79
- package/GroupChannel/context.js.map +1 -1
- package/GroupChannel.js +61 -57
- package/GroupChannel.js.map +1 -1
- package/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/GroupChannelList/context.js +5 -5
- package/GroupChannelList.js +33 -33
- package/MessageSearch/components/MessageSearchUI.js +14 -14
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +14 -14
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/OpenChannel/components/OpenChannelInput.js +25 -25
- package/OpenChannel/components/OpenChannelMessage.js +35 -35
- package/OpenChannel/components/OpenChannelMessageList.js +39 -39
- package/OpenChannel/components/OpenChannelUI.js +39 -39
- package/OpenChannel/context.js +17 -17
- package/OpenChannel.js +39 -39
- package/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +14 -14
- 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 +360 -83
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +42 -42
- package/Thread/components/ParentMessageInfoItem.js +28 -28
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +46 -46
- package/Thread/components/ThreadListItem.js +46 -46
- package/Thread/components/ThreadMessageInput.js +42 -42
- package/Thread/components/ThreadUI.js +56 -56
- package/Thread/context.js +9 -9
- package/Thread.js +56 -56
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +10 -10
- package/VoiceRecorder/context.js +10 -10
- package/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/chunks/{bundle-ZlvXkXrU.js → bundle--Lhu0g1K.js} +1 -1
- package/chunks/bundle--Lhu0g1K.js.map +1 -0
- package/chunks/{bundle-_o_iMme_.js → bundle--bY8mmDR.js} +1 -1
- package/chunks/bundle--bY8mmDR.js.map +1 -0
- package/chunks/{bundle-ibeQnj0V.js → bundle-1YZ1lMFm.js} +2 -2
- package/chunks/bundle-1YZ1lMFm.js.map +1 -0
- package/chunks/{bundle-PrsPGxuw.js → bundle-1gwAtv3_.js} +1 -1
- package/chunks/bundle-1gwAtv3_.js.map +1 -0
- package/chunks/{bundle-LG3hn4TL.js → bundle-26v6WTQh.js} +4 -4
- package/chunks/bundle-26v6WTQh.js.map +1 -0
- package/chunks/{bundle-e1b64xud.js → bundle-3te2klPE.js} +1 -1
- package/chunks/bundle-3te2klPE.js.map +1 -0
- package/chunks/{bundle-yQgn6JfU.js → bundle-3uSBAMCx.js} +34 -52
- package/chunks/bundle-3uSBAMCx.js.map +1 -0
- package/chunks/{bundle-SMgyl32k.js → bundle-4OgQJ7X4.js} +1 -1
- package/chunks/bundle-4OgQJ7X4.js.map +1 -0
- package/chunks/{bundle-SXGL8fBv.js → bundle-4PIMbALe.js} +1 -1
- package/chunks/bundle-4PIMbALe.js.map +1 -0
- package/chunks/{bundle-VfTA9EY8.js → bundle-5azogY3V.js} +10 -10
- package/chunks/{bundle-VfTA9EY8.js.map → bundle-5azogY3V.js.map} +1 -1
- package/chunks/{bundle-BTLUIJqA.js → bundle-5j_LCcnI.js} +4 -4
- package/chunks/{bundle-BTLUIJqA.js.map → bundle-5j_LCcnI.js.map} +1 -1
- package/chunks/{bundle-fMkcL8C8.js → bundle-726H1FcN.js} +1 -1
- package/chunks/bundle-726H1FcN.js.map +1 -0
- package/chunks/{bundle-jHpuKuA-.js → bundle-7DsbNj8s.js} +5 -5
- package/chunks/bundle-7DsbNj8s.js.map +1 -0
- package/chunks/{bundle-W_nWubt-.js → bundle-8FWrrAa9.js} +2 -2
- package/chunks/{bundle-W_nWubt-.js.map → bundle-8FWrrAa9.js.map} +1 -1
- package/chunks/{bundle-xLjEyoT0.js → bundle-8bj34OZZ.js} +5 -5
- package/chunks/bundle-8bj34OZZ.js.map +1 -0
- package/chunks/{bundle-BGFDI87G.js → bundle-9DSYjtTH.js} +4 -4
- package/chunks/bundle-9DSYjtTH.js.map +1 -0
- package/chunks/{bundle-pwwvkK5L.js → bundle-9JcU7WF6.js} +2 -2
- package/chunks/{bundle-pwwvkK5L.js.map → bundle-9JcU7WF6.js.map} +1 -1
- package/chunks/{bundle-cIHCEDKb.js → bundle-9N8rxcU_.js} +1 -1
- package/chunks/bundle-9N8rxcU_.js.map +1 -0
- package/chunks/{bundle-rW70z6Ho.js → bundle-9eXfVBSj.js} +3 -3
- package/chunks/bundle-9eXfVBSj.js.map +1 -0
- package/chunks/{bundle-IFrmy9_C.js → bundle-A92jjX29.js} +2 -2
- package/chunks/bundle-A92jjX29.js.map +1 -0
- package/chunks/{bundle-014pCrux.js → bundle-Bq8FTiM8.js} +1 -1
- package/chunks/bundle-Bq8FTiM8.js.map +1 -0
- package/chunks/{bundle-6ivjnK_C.js → bundle-C8lBzFe4.js} +3 -3
- package/chunks/{bundle-6ivjnK_C.js.map → bundle-C8lBzFe4.js.map} +1 -1
- package/chunks/{bundle-BLt9vn5B.js → bundle-CChs9z4I.js} +6 -6
- package/chunks/bundle-CChs9z4I.js.map +1 -0
- package/chunks/{bundle-yPhMS1LV.js → bundle-DpuIAEpN.js} +4 -1
- package/chunks/{bundle-yPhMS1LV.js.map → bundle-DpuIAEpN.js.map} +1 -1
- package/chunks/{bundle-BF1Rr3vo.js → bundle-EPOzCaN-.js} +8 -8
- package/chunks/{bundle-BF1Rr3vo.js.map → bundle-EPOzCaN-.js.map} +1 -1
- package/chunks/{bundle-rXKTCCVw.js → bundle-Eyf4eJYC.js} +5 -5
- package/chunks/{bundle-rXKTCCVw.js.map → bundle-Eyf4eJYC.js.map} +1 -1
- package/chunks/{bundle-pJmhSBAn.js → bundle-FlHetJ-i.js} +4 -4
- package/chunks/{bundle-pJmhSBAn.js.map → bundle-FlHetJ-i.js.map} +1 -1
- package/chunks/bundle-G8aQ8ldg.js +1689 -0
- package/chunks/bundle-G8aQ8ldg.js.map +1 -0
- package/chunks/{bundle--pOSeu9W.js → bundle-I3SOpmVR.js} +3 -3
- package/chunks/bundle-I3SOpmVR.js.map +1 -0
- package/chunks/{bundle-wKSIzWUl.js → bundle-ILthLqdx.js} +3 -3
- package/chunks/{bundle-wKSIzWUl.js.map → bundle-ILthLqdx.js.map} +1 -1
- package/chunks/{bundle-is3QkoNv.js → bundle-IaU6YF_5.js} +2 -2
- package/chunks/{bundle-is3QkoNv.js.map → bundle-IaU6YF_5.js.map} +1 -1
- package/chunks/{bundle-a2TolYYj.js → bundle-Ij2ogskR.js} +1 -1
- package/chunks/bundle-Ij2ogskR.js.map +1 -0
- package/chunks/{bundle-TovLF3ih.js → bundle-LN_WdItn.js} +1 -1
- package/chunks/bundle-LN_WdItn.js.map +1 -0
- package/chunks/{bundle-Q3UquQ_i.js → bundle-M-mPRQVf.js} +1 -1
- package/chunks/bundle-M-mPRQVf.js.map +1 -0
- package/chunks/{bundle-UDnO8-Dp.js → bundle-N-PDD2Cl.js} +2 -2
- package/chunks/bundle-N-PDD2Cl.js.map +1 -0
- package/chunks/{bundle-6mWCjL2G.js → bundle-NKz1R5aS.js} +6 -6
- package/chunks/bundle-NKz1R5aS.js.map +1 -0
- package/chunks/{bundle-IOegLdFC.js → bundle-ORNtuGAK.js} +3 -3
- package/chunks/bundle-ORNtuGAK.js.map +1 -0
- package/chunks/{bundle-TzTFcIfJ.js → bundle-OaODZhZ_.js} +1 -1
- package/chunks/bundle-OaODZhZ_.js.map +1 -0
- package/chunks/{bundle-6cTGHg9E.js → bundle-Q-LEE_gW.js} +3 -3
- package/chunks/{bundle-6cTGHg9E.js.map → bundle-Q-LEE_gW.js.map} +1 -1
- package/chunks/{bundle-f9AOpkiS.js → bundle-Q0DCPBLF.js} +1 -1
- package/chunks/bundle-Q0DCPBLF.js.map +1 -0
- package/chunks/{bundle-gSFYF-34.js → bundle-QzQ0Z1lc.js} +5 -5
- package/chunks/bundle-QzQ0Z1lc.js.map +1 -0
- package/chunks/{bundle-UxyhnVkY.js → bundle-SQ9QacmP.js} +1 -1
- package/chunks/bundle-SQ9QacmP.js.map +1 -0
- package/chunks/{bundle-k0q5mJF1.js → bundle-SWVZVzgr.js} +3 -3
- package/chunks/{bundle-k0q5mJF1.js.map → bundle-SWVZVzgr.js.map} +1 -1
- package/chunks/{bundle-bazn-ENb.js → bundle-V0xbpJPV.js} +1 -1
- package/chunks/bundle-V0xbpJPV.js.map +1 -0
- package/chunks/{bundle-1pgLpH_4.js → bundle-XBlUtykQ.js} +10 -7
- package/chunks/bundle-XBlUtykQ.js.map +1 -0
- package/chunks/{bundle-yoFO4gJM.js → bundle-XgKdQ_N6.js} +1 -1
- package/chunks/{bundle-yoFO4gJM.js.map → bundle-XgKdQ_N6.js.map} +1 -1
- package/chunks/{bundle-U7_j21Ss.js → bundle-YQzd7GID.js} +2 -2
- package/chunks/{bundle-U7_j21Ss.js.map → bundle-YQzd7GID.js.map} +1 -1
- package/chunks/{bundle-YpfSm9dM.js → bundle-YTNRflOw.js} +1 -1
- package/chunks/bundle-YTNRflOw.js.map +1 -0
- package/chunks/{bundle-DS8eBDjC.js → bundle-Yfu3khe4.js} +1 -1
- package/chunks/bundle-Yfu3khe4.js.map +1 -0
- package/chunks/{bundle-cJYfaBvk.js → bundle-ZA3vOSBy.js} +10 -10
- package/chunks/bundle-ZA3vOSBy.js.map +1 -0
- package/chunks/{bundle-5fPKUbCn.js → bundle-ZcW4v7tz.js} +1 -1
- package/chunks/{bundle-5fPKUbCn.js.map → bundle-ZcW4v7tz.js.map} +1 -1
- package/chunks/{bundle-6hgn3L9Y.js → bundle-ZxknBRho.js} +6 -6
- package/chunks/bundle-ZxknBRho.js.map +1 -0
- package/chunks/{bundle-Y-ZHrlZJ.js → bundle-_g4Ln2k-.js} +8 -8
- package/chunks/{bundle-Y-ZHrlZJ.js.map → bundle-_g4Ln2k-.js.map} +1 -1
- package/chunks/{bundle-wdUAfmoS.js → bundle-a81-P2WI.js} +1 -1
- package/chunks/bundle-a81-P2WI.js.map +1 -0
- package/chunks/{bundle-TYsOyvS5.js → bundle-aRzA6Ar7.js} +8 -4
- package/chunks/{bundle-TYsOyvS5.js.map → bundle-aRzA6Ar7.js.map} +1 -1
- package/chunks/{bundle-qfOg3sUU.js → bundle-b0LXFwC-.js} +11 -11
- package/chunks/{bundle-qfOg3sUU.js.map → bundle-b0LXFwC-.js.map} +1 -1
- package/chunks/{bundle-Jun66RyD.js → bundle-b3nJcKrD.js} +1 -1
- package/chunks/bundle-b3nJcKrD.js.map +1 -0
- package/chunks/{bundle-qafY5nY6.js → bundle-dznvzWdZ.js} +2 -2
- package/chunks/{bundle-qafY5nY6.js.map → bundle-dznvzWdZ.js.map} +1 -1
- package/chunks/{bundle-XEjzWAwL.js → bundle-f5U_VL0z.js} +2 -2
- package/chunks/{bundle-XEjzWAwL.js.map → bundle-f5U_VL0z.js.map} +1 -1
- package/chunks/{bundle-_xgfKjN0.js → bundle-fGp6w98-.js} +3 -3
- package/chunks/bundle-fGp6w98-.js.map +1 -0
- package/chunks/{bundle-taqbMkQe.js → bundle-iNwXYg8t.js} +1 -1
- package/chunks/{bundle-taqbMkQe.js.map → bundle-iNwXYg8t.js.map} +1 -1
- package/chunks/{bundle-WImaBVSO.js → bundle-jH1LTiaZ.js} +1 -1
- package/chunks/bundle-jH1LTiaZ.js.map +1 -0
- package/chunks/{bundle--q7ObKwF.js → bundle-kRkORTjK.js} +1 -1
- package/chunks/bundle-kRkORTjK.js.map +1 -0
- package/chunks/{bundle-S-mn30SU.js → bundle-lQUghzL6.js} +7 -3
- package/chunks/bundle-lQUghzL6.js.map +1 -0
- package/chunks/{bundle-tPOBtJjA.js → bundle-lYHZR3jb.js} +1 -1
- package/chunks/bundle-lYHZR3jb.js.map +1 -0
- package/chunks/{bundle-ykuyabqF.js → bundle-m49aWDUM.js} +4 -4
- package/chunks/{bundle-ykuyabqF.js.map → bundle-m49aWDUM.js.map} +1 -1
- package/chunks/{bundle-oLg6CIrN.js → bundle-ni6pTUHE.js} +1 -1
- package/chunks/bundle-ni6pTUHE.js.map +1 -0
- package/chunks/{bundle-f1tjVRSh.js → bundle-o8w1wTMw.js} +3 -3
- package/chunks/bundle-o8w1wTMw.js.map +1 -0
- package/chunks/{bundle-2BKREX4m.js → bundle-pYQxFvty.js} +1 -1
- package/chunks/bundle-pYQxFvty.js.map +1 -0
- package/chunks/{bundle-F_qWVzaf.js → bundle-qGz9DwGC.js} +1 -1
- package/chunks/bundle-qGz9DwGC.js.map +1 -0
- package/chunks/{bundle-rwixBUpF.js → bundle-qp8qrwgO.js} +4 -4
- package/chunks/bundle-qp8qrwgO.js.map +1 -0
- package/chunks/{bundle-9JkrMUIl.js → bundle-rYMayCT3.js} +1 -1
- package/chunks/bundle-rYMayCT3.js.map +1 -0
- package/chunks/{bundle-GCno1s5H.js → bundle-sj91Fb-2.js} +10 -10
- package/chunks/{bundle-GCno1s5H.js.map → bundle-sj91Fb-2.js.map} +1 -1
- package/chunks/{bundle-3cwcm2Rk.js → bundle-t_Zp4HcK.js} +10 -10
- package/chunks/bundle-t_Zp4HcK.js.map +1 -0
- package/chunks/{bundle-OAC6aJ8X.js → bundle-tpQ4ZoL7.js} +14 -14
- package/chunks/{bundle-OAC6aJ8X.js.map → bundle-tpQ4ZoL7.js.map} +1 -1
- package/chunks/{bundle-52hs7-M-.js → bundle-ueZaur75.js} +7 -3
- package/chunks/bundle-ueZaur75.js.map +1 -0
- package/chunks/{bundle-J6qXeThU.js → bundle-v0F6T-gl.js} +1 -1
- package/chunks/bundle-v0F6T-gl.js.map +1 -0
- package/chunks/{bundle-wO0wz3br.js → bundle-vKBxT9Oa.js} +1 -1
- package/chunks/{bundle-wO0wz3br.js.map → bundle-vKBxT9Oa.js.map} +1 -1
- package/chunks/{bundle-A8dpIXKJ.js → bundle-vqMWfuob.js} +3 -3
- package/chunks/bundle-vqMWfuob.js.map +1 -0
- package/chunks/{bundle-B_WSWypW.js → bundle-wAW5sK6g.js} +7 -7
- package/chunks/{bundle-B_WSWypW.js.map → bundle-wAW5sK6g.js.map} +1 -1
- package/chunks/{bundle-r1f2uym4.js → bundle-xJvVI8rO.js} +2 -2
- package/chunks/bundle-xJvVI8rO.js.map +1 -0
- package/chunks/{bundle-24By8B6B.js → bundle-yVnIU7yv.js} +3 -3
- package/chunks/{bundle-24By8B6B.js.map → bundle-yVnIU7yv.js.map} +1 -1
- package/cjs/App.js +79 -75
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +29 -29
- package/cjs/Channel/components/ChannelUI.js +67 -63
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +28 -28
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +62 -56
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageFeedbackModal.js +9 -9
- package/cjs/Channel/components/MessageInput.js +41 -41
- package/cjs/Channel/components/MessageInputWrapper.js +41 -41
- package/cjs/Channel/components/MessageList.js +63 -59
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +27 -27
- package/cjs/Channel/components/SuggestedMentionList.js +27 -27
- package/cjs/Channel/components/TypingIndicator.js +6 -6
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +20 -20
- package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/cjs/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/cjs/Channel/utils/getMessagePartsInfo.js +6 -6
- package/cjs/Channel.js +67 -63
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +20 -20
- package/cjs/ChannelList/components/ChannelListHeader.js +8 -8
- package/cjs/ChannelList/components/ChannelListUI.js +34 -34
- package/cjs/ChannelList/components/ChannelPreview.js +27 -27
- package/cjs/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/cjs/ChannelList/context.js +10 -10
- package/cjs/ChannelList.js +34 -34
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +23 -23
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +21 -21
- package/cjs/ChannelSettings/components/UserListItem.js +13 -13
- package/cjs/ChannelSettings/components/UserPanel.js +20 -20
- package/cjs/ChannelSettings/context.js +43 -22
- package/cjs/ChannelSettings/context.js.map +1 -1
- package/cjs/ChannelSettings.js +23 -23
- 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 +11 -11
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +11 -11
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile.js +12 -12
- package/cjs/GroupChannel/components/FileViewer.js +23 -23
- package/cjs/GroupChannel/components/FrozenNotification.js +5 -5
- package/cjs/GroupChannel/components/GroupChannelHeader.js +22 -22
- package/cjs/GroupChannel/components/GroupChannelUI.js +61 -57
- package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/cjs/GroupChannel/components/Message.js +62 -53
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +37 -37
- package/cjs/GroupChannel/components/MessageList.js +61 -67
- package/cjs/GroupChannel/components/MessageList.js.map +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +22 -22
- package/cjs/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/cjs/GroupChannel/components/SuggestedReplies.js +1 -4
- package/cjs/GroupChannel/components/SuggestedReplies.js.map +1 -1
- package/cjs/GroupChannel/components/TypingIndicator.js +6 -6
- package/cjs/GroupChannel/components/UnreadCount.js +7 -7
- package/cjs/GroupChannel/context.js +92 -79
- package/cjs/GroupChannel/context.js.map +1 -1
- package/cjs/GroupChannel.js +61 -57
- package/cjs/GroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/cjs/GroupChannelList/context.js +5 -5
- package/cjs/GroupChannelList.js +33 -33
- package/cjs/MessageSearch/components/MessageSearchUI.js +14 -14
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +14 -14
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/cjs/OpenChannel/components/OpenChannelInput.js +25 -25
- package/cjs/OpenChannel/components/OpenChannelMessage.js +35 -35
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +39 -39
- package/cjs/OpenChannel/components/OpenChannelUI.js +39 -39
- package/cjs/OpenChannel/context.js +17 -17
- package/cjs/OpenChannel.js +39 -39
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +14 -14
- 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 +360 -83
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +42 -42
- package/cjs/Thread/components/ParentMessageInfoItem.js +28 -28
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +46 -46
- package/cjs/Thread/components/ThreadListItem.js +46 -46
- package/cjs/Thread/components/ThreadMessageInput.js +42 -42
- package/cjs/Thread/components/ThreadUI.js +56 -56
- package/cjs/Thread/context.js +9 -9
- package/cjs/Thread.js +56 -56
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
- package/cjs/VoiceRecorder/context.js +10 -10
- package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/cjs/chunks/{bundle-9uUg_zKI.js → bundle--xYl15TK.js} +3 -3
- package/cjs/chunks/bundle--xYl15TK.js.map +1 -0
- package/cjs/chunks/{bundle-Oq2WwdJI.js → bundle-0OVYmgjV.js} +8 -2
- package/cjs/chunks/bundle-0OVYmgjV.js.map +1 -0
- package/cjs/chunks/{bundle-QauQilHV.js → bundle-0_XeBL9s.js} +1 -1
- package/cjs/chunks/bundle-0_XeBL9s.js.map +1 -0
- package/cjs/chunks/{bundle-h1-4ko51.js → bundle-0hOdPCEp.js} +5 -5
- package/cjs/chunks/bundle-0hOdPCEp.js.map +1 -0
- package/cjs/chunks/{bundle-Rd2d2a3j.js → bundle-0oACog1t.js} +8 -8
- package/cjs/chunks/{bundle-Rd2d2a3j.js.map → bundle-0oACog1t.js.map} +1 -1
- package/cjs/chunks/{bundle-7pGAEUaG.js → bundle-0tffesFh.js} +1 -1
- package/cjs/chunks/{bundle-7pGAEUaG.js.map → bundle-0tffesFh.js.map} +1 -1
- package/cjs/chunks/{bundle-BAZMzxRI.js → bundle-1MVKpHty.js} +1 -1
- package/cjs/chunks/bundle-1MVKpHty.js.map +1 -0
- package/cjs/chunks/{bundle-3eINsVVm.js → bundle-21xpspuo.js} +6 -6
- package/cjs/chunks/bundle-21xpspuo.js.map +1 -0
- package/cjs/chunks/{bundle-rGYP82Yc.js → bundle-2mYNn3cL.js} +3 -3
- package/cjs/chunks/bundle-2mYNn3cL.js.map +1 -0
- package/cjs/chunks/{bundle-o2GWKL_d.js → bundle-46h-dSCc.js} +1 -1
- package/cjs/chunks/bundle-46h-dSCc.js.map +1 -0
- package/cjs/chunks/{bundle-uIj1z0m8.js → bundle-4Dfxs0kD.js} +10 -7
- package/cjs/chunks/bundle-4Dfxs0kD.js.map +1 -0
- package/cjs/chunks/{bundle-jh0UjnOb.js → bundle-4TLu25Dk.js} +1 -1
- package/cjs/chunks/bundle-4TLu25Dk.js.map +1 -0
- package/cjs/chunks/{bundle-EvM8f38k.js → bundle-5dL9a_On.js} +2 -2
- package/cjs/chunks/bundle-5dL9a_On.js.map +1 -0
- package/cjs/chunks/{bundle-6k9JvMoA.js → bundle-70cVUU6w.js} +1 -1
- package/cjs/chunks/bundle-70cVUU6w.js.map +1 -0
- package/cjs/chunks/{bundle-eb9lfgWx.js → bundle-752po9g5.js} +1 -1
- package/cjs/chunks/bundle-752po9g5.js.map +1 -0
- package/cjs/chunks/{bundle-sSkyvCgN.js → bundle-7ExxSDfG.js} +3 -3
- package/cjs/chunks/bundle-7ExxSDfG.js.map +1 -0
- package/cjs/chunks/{bundle-JfUvL0pn.js → bundle-7WTXh7Qd.js} +4 -1
- package/cjs/chunks/bundle-7WTXh7Qd.js.map +1 -0
- package/cjs/chunks/{bundle-mMBwJT3x.js → bundle-AE4PYUbC.js} +4 -4
- package/cjs/chunks/{bundle-mMBwJT3x.js.map → bundle-AE4PYUbC.js.map} +1 -1
- package/cjs/chunks/{bundle-q15q65dt.js → bundle-Af1jmrRE.js} +1 -1
- package/cjs/chunks/bundle-Af1jmrRE.js.map +1 -0
- package/cjs/chunks/{bundle-cv4uM9fB.js → bundle-BXHHHwCg.js} +10 -10
- package/{chunks/bundle-yQgn6JfU.js.map → cjs/chunks/bundle-BXHHHwCg.js.map} +1 -1
- package/cjs/chunks/{bundle-rIjHxu2P.js → bundle-CH14mCu1.js} +2 -2
- package/cjs/chunks/bundle-CH14mCu1.js.map +1 -0
- package/cjs/chunks/{bundle-DAwfoiZz.js → bundle-CkuwMWuJ.js} +4 -4
- package/cjs/chunks/bundle-CkuwMWuJ.js.map +1 -0
- package/cjs/chunks/{bundle-Jy-utJ8j.js → bundle-DQ9pUAGg.js} +1 -1
- package/cjs/chunks/bundle-DQ9pUAGg.js.map +1 -0
- package/cjs/chunks/{bundle-gUU1zXtu.js → bundle-FJ9M-8s9.js} +1 -1
- package/cjs/chunks/bundle-FJ9M-8s9.js.map +1 -0
- package/cjs/chunks/{bundle-cp4Mr7IE.js → bundle-FZzNP2xh.js} +1 -1
- package/cjs/chunks/bundle-FZzNP2xh.js.map +1 -0
- package/cjs/chunks/{bundle-SM64BUgE.js → bundle-GRnWhj5U.js} +2 -2
- package/cjs/chunks/bundle-GRnWhj5U.js.map +1 -0
- package/cjs/chunks/{bundle-5_SjuoV5.js → bundle-IgDRR9an.js} +1 -1
- package/cjs/chunks/bundle-IgDRR9an.js.map +1 -0
- package/cjs/chunks/{bundle-vzrDnUV2.js → bundle-NXKv5Wxp.js} +5 -5
- package/cjs/chunks/bundle-NXKv5Wxp.js.map +1 -0
- package/cjs/chunks/{bundle-xTAz4Z91.js → bundle-NlYqioOJ.js} +1 -1
- package/cjs/chunks/bundle-NlYqioOJ.js.map +1 -0
- package/cjs/chunks/{bundle-SyUPzsOv.js → bundle-OwbPEgXa.js} +4 -4
- package/cjs/chunks/{bundle-SyUPzsOv.js.map → bundle-OwbPEgXa.js.map} +1 -1
- package/cjs/chunks/{bundle-9Ms65KWQ.js → bundle-PApDK3ev.js} +2 -2
- package/cjs/chunks/bundle-PApDK3ev.js.map +1 -0
- package/cjs/chunks/{bundle-hNdySo7A.js → bundle-PP0rRODi.js} +33 -51
- package/cjs/chunks/bundle-PP0rRODi.js.map +1 -0
- package/cjs/chunks/{bundle-J790CoNK.js → bundle-RRn1KMai.js} +1 -1
- package/cjs/chunks/bundle-RRn1KMai.js.map +1 -0
- package/cjs/chunks/{bundle-m6R8TnWy.js → bundle-S1c_Ni06.js} +14 -14
- package/cjs/chunks/{bundle-m6R8TnWy.js.map → bundle-S1c_Ni06.js.map} +1 -1
- package/cjs/chunks/{bundle-VOIBVZ8K.js → bundle-S7xHG-w3.js} +1 -1
- package/cjs/chunks/bundle-S7xHG-w3.js.map +1 -0
- package/cjs/chunks/{bundle-yJYTZhFC.js → bundle-Sp5ymcaB.js} +1 -1
- package/cjs/chunks/bundle-Sp5ymcaB.js.map +1 -0
- package/cjs/chunks/{bundle-zMBWGCQM.js → bundle-T32FV8l1.js} +2 -2
- package/cjs/chunks/bundle-T32FV8l1.js.map +1 -0
- package/cjs/chunks/{bundle-2jwRnSd8.js → bundle-UEx-yk0R.js} +8 -8
- package/cjs/chunks/{bundle-2jwRnSd8.js.map → bundle-UEx-yk0R.js.map} +1 -1
- package/cjs/chunks/{bundle-UDa2UXB2.js → bundle-VKfq6Uaj.js} +3 -3
- package/cjs/chunks/{bundle-UDa2UXB2.js.map → bundle-VKfq6Uaj.js.map} +1 -1
- package/cjs/chunks/{bundle-3SJwqpkk.js → bundle-Ve-UOjKy.js} +5 -5
- package/cjs/chunks/bundle-Ve-UOjKy.js.map +1 -0
- package/cjs/chunks/{bundle-JbsZLrne.js → bundle-XXLu4E3k.js} +2 -2
- package/cjs/chunks/{bundle-JbsZLrne.js.map → bundle-XXLu4E3k.js.map} +1 -1
- package/cjs/chunks/{bundle-Gj3FCN-l.js → bundle-XYYAUvuI.js} +1 -1
- package/cjs/chunks/bundle-XYYAUvuI.js.map +1 -0
- package/cjs/chunks/{bundle-xHh0P-Hz.js → bundle-ZAoex1pi.js} +5 -5
- package/cjs/chunks/bundle-ZAoex1pi.js.map +1 -0
- package/cjs/chunks/{bundle-mpZAARbu.js → bundle-ZC8MXTCs.js} +1 -1
- package/cjs/chunks/bundle-ZC8MXTCs.js.map +1 -0
- package/cjs/chunks/{bundle-XqQ_cljg.js → bundle-_MpChSYj.js} +1 -1
- package/cjs/chunks/bundle-_MpChSYj.js.map +1 -0
- package/cjs/chunks/{bundle-OmPnU_OI.js → bundle-a2N3BU-Q.js} +3 -3
- package/cjs/chunks/{bundle-OmPnU_OI.js.map → bundle-a2N3BU-Q.js.map} +1 -1
- package/cjs/chunks/{bundle-MIY8NRxo.js → bundle-bQNGnE7X.js} +6 -6
- package/cjs/chunks/bundle-bQNGnE7X.js.map +1 -0
- package/cjs/chunks/{bundle-6uWmKzjA.js → bundle-bRa1uu9u.js} +1 -1
- package/cjs/chunks/{bundle-6uWmKzjA.js.map → bundle-bRa1uu9u.js.map} +1 -1
- package/cjs/chunks/{bundle-fNnK4ZX1.js → bundle-boCcuPJ4.js} +2 -2
- package/cjs/chunks/{bundle-fNnK4ZX1.js.map → bundle-boCcuPJ4.js.map} +1 -1
- package/cjs/chunks/{bundle-WjU125ds.js → bundle-c5UvSMFX.js} +3 -3
- package/cjs/chunks/bundle-c5UvSMFX.js.map +1 -0
- package/cjs/chunks/{bundle-hR3vnZG1.js → bundle-cA3flg73.js} +1 -1
- package/cjs/chunks/bundle-cA3flg73.js.map +1 -0
- package/cjs/chunks/{bundle-BujsZjS_.js → bundle-cdInBvCf.js} +3 -3
- package/cjs/chunks/bundle-cdInBvCf.js.map +1 -0
- package/cjs/chunks/{bundle-juIULvxr.js → bundle-dCMQvAHA.js} +1 -1
- package/cjs/chunks/bundle-dCMQvAHA.js.map +1 -0
- package/cjs/chunks/{bundle-8fHhsSkO.js → bundle-dW6ZClWz.js} +1 -1
- package/cjs/chunks/bundle-dW6ZClWz.js.map +1 -0
- package/cjs/chunks/bundle-e2Z-oeMk.js +1692 -0
- package/cjs/chunks/bundle-e2Z-oeMk.js.map +1 -0
- package/cjs/chunks/{bundle-opmIFrXg.js → bundle-gCywzCVk.js} +8 -3
- package/cjs/chunks/{bundle-opmIFrXg.js.map → bundle-gCywzCVk.js.map} +1 -1
- package/cjs/chunks/{bundle-DGXRqeiH.js → bundle-h5InIJAx.js} +1 -1
- package/cjs/chunks/bundle-h5InIJAx.js.map +1 -0
- package/cjs/chunks/{bundle-oGyWTIOJ.js → bundle-iodh4Ass.js} +4 -4
- package/cjs/chunks/bundle-iodh4Ass.js.map +1 -0
- package/cjs/chunks/{bundle-cIL4aJSh.js → bundle-jXFyjqn6.js} +1 -1
- package/cjs/chunks/bundle-jXFyjqn6.js.map +1 -0
- package/cjs/chunks/{bundle-TPt6Ukqk.js → bundle-jdpEXM9v.js} +4 -4
- package/cjs/chunks/{bundle-TPt6Ukqk.js.map → bundle-jdpEXM9v.js.map} +1 -1
- package/cjs/chunks/{bundle-fzWbmzou.js → bundle-je5ERchd.js} +3 -3
- package/cjs/chunks/bundle-je5ERchd.js.map +1 -0
- package/cjs/chunks/{bundle-Ktg9Of7w.js → bundle-l4hJRoVO.js} +1 -1
- package/cjs/chunks/bundle-l4hJRoVO.js.map +1 -0
- package/cjs/chunks/{bundle-4jX5eqYW.js → bundle-leOuFK1P.js} +2 -2
- package/{chunks/bundle-1pgLpH_4.js.map → cjs/chunks/bundle-leOuFK1P.js.map} +1 -1
- package/cjs/chunks/{bundle-0vl1G6aF.js → bundle-lhYJWwkC.js} +3 -3
- package/cjs/chunks/bundle-lhYJWwkC.js.map +1 -0
- package/cjs/chunks/{bundle-sPQAW6hW.js → bundle-mJdmd7Tl.js} +1 -1
- package/cjs/chunks/bundle-mJdmd7Tl.js.map +1 -0
- package/cjs/chunks/{bundle-IKnblThp.js → bundle-mcTI4BFk.js} +6 -6
- package/cjs/chunks/bundle-mcTI4BFk.js.map +1 -0
- package/cjs/chunks/{bundle-SR43QM50.js → bundle-n5-vItXT.js} +4 -4
- package/cjs/chunks/bundle-n5-vItXT.js.map +1 -0
- package/cjs/chunks/{bundle-hYAxN2fG.js → bundle-nLRPwYL5.js} +1 -1
- package/cjs/chunks/bundle-nLRPwYL5.js.map +1 -0
- package/cjs/chunks/{bundle-vtbEyMlh.js → bundle-opuYK5G6.js} +1 -1
- package/cjs/chunks/bundle-opuYK5G6.js.map +1 -0
- package/cjs/chunks/{bundle-KHlebcMh.js → bundle-pA5gKXTy.js} +3 -3
- package/cjs/chunks/{bundle-KHlebcMh.js.map → bundle-pA5gKXTy.js.map} +1 -1
- package/cjs/chunks/{bundle-cbIBIuxw.js → bundle-qna2pNgw.js} +1 -1
- package/cjs/chunks/bundle-qna2pNgw.js.map +1 -0
- package/cjs/chunks/{bundle-pNtkOzhO.js → bundle-r6yUb5Ka.js} +10 -10
- package/cjs/chunks/bundle-r6yUb5Ka.js.map +1 -0
- package/cjs/chunks/{bundle-rm245WXS.js → bundle-rEEpe9mU.js} +2 -2
- package/cjs/chunks/bundle-rEEpe9mU.js.map +1 -0
- package/cjs/chunks/{bundle-jkZbYCwb.js → bundle-rWYgBQd0.js} +11 -11
- package/cjs/chunks/{bundle-jkZbYCwb.js.map → bundle-rWYgBQd0.js.map} +1 -1
- package/cjs/chunks/{bundle-rY_4WHYR.js → bundle-rp1PaeP0.js} +3 -3
- package/cjs/chunks/bundle-rp1PaeP0.js.map +1 -0
- package/cjs/chunks/{bundle-yzcXd9DQ.js → bundle-tNBLsc90.js} +10 -10
- package/cjs/chunks/bundle-tNBLsc90.js.map +1 -0
- package/cjs/chunks/{bundle-VySxn-bM.js → bundle-tzC2Xgxv.js} +7 -7
- package/cjs/chunks/bundle-tzC2Xgxv.js.map +1 -0
- package/cjs/chunks/{bundle-YGVhXIfU.js → bundle-ur6RZdPS.js} +2 -2
- package/cjs/chunks/bundle-ur6RZdPS.js.map +1 -0
- package/cjs/chunks/{bundle-634wsixh.js → bundle-vdxxxpUO.js} +10 -10
- package/cjs/chunks/{bundle-634wsixh.js.map → bundle-vdxxxpUO.js.map} +1 -1
- package/cjs/chunks/{bundle-YZRXvkp-.js → bundle-xSEKQWBT.js} +1 -1
- package/cjs/chunks/bundle-xSEKQWBT.js.map +1 -0
- package/cjs/chunks/{bundle-12iJO39c.js → bundle-y7M4yzjp.js} +7 -3
- package/cjs/chunks/bundle-y7M4yzjp.js.map +1 -0
- package/cjs/chunks/{bundle-zvM7ls7A.js → bundle-ybuXM4li.js} +1 -1
- package/cjs/chunks/bundle-ybuXM4li.js.map +1 -0
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +83 -79
- package/cjs/index.js.map +1 -1
- 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 +4 -4
- 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 +5 -5
- 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/FallbackTemplateMessageItemBody.tsx.js +34 -0
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -0
- package/cjs/ui/FileMessageItemBody.js +8 -8
- package/cjs/ui/FileViewer.js +15 -15
- package/cjs/ui/Icon.js +4 -2
- package/cjs/ui/Icon.js.map +1 -1
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +2 -2
- 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/LoadingTemplateMessageItemBody.tsx.js +29 -0
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -0
- package/cjs/ui/MentionLabel.js +13 -13
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +93 -50
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +24 -20
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +10 -10
- package/cjs/ui/MessageItemReactionMenu.js +9 -9
- package/cjs/ui/MessageSearchFileItem.js +14 -14
- package/cjs/ui/MessageSearchItem.js +11 -11
- package/cjs/ui/MessageStatus.js +12 -12
- package/cjs/ui/MessageTemplate.js +12 -0
- package/cjs/ui/MessageTemplate.js.map +1 -0
- package/cjs/ui/MobileFeedbackMenu.js +9 -9
- 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 +8 -8
- package/cjs/ui/OpenchannelConversationHeader.js +8 -8
- 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/TemplateMessageItemBody.js +245 -0
- package/cjs/ui/TemplateMessageItemBody.js.map +1 -0
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +16 -16
- package/cjs/ui/ThreadReplies.js +8 -8
- 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 +4 -4
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +13 -13
- package/cjs/ui/UserProfile.js +10 -10
- 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 +207 -62
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +83 -79
- package/index.js.map +1 -1
- package/package.json +40 -3
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/hooks/useAsyncRequest.d.ts +3 -0
- package/types/lib/dux/appInfo/actionTypes.d.ts +25 -0
- package/types/lib/dux/appInfo/initialState.d.ts +22 -0
- package/types/lib/dux/appInfo/reducers.d.ts +3 -0
- package/types/lib/dux/appInfo/utils.d.ts +7 -0
- package/types/lib/hooks/useConnect/__test__/data.mocks.d.ts +3 -2
- package/types/lib/hooks/useConnect/connect.d.ts +1 -1
- package/types/lib/hooks/useConnect/setupConnection.d.ts +1 -1
- package/types/lib/hooks/useConnect/types.d.ts +6 -3
- package/types/lib/hooks/useMessageTemplateUtils.d.ts +18 -0
- package/types/lib/types.d.ts +14 -0
- package/types/modules/Channel/components/MessageList/index.d.ts +1 -1
- package/types/modules/GroupChannel/components/GroupChannelUI/GroupChannelUIView.d.ts +5 -0
- package/types/modules/GroupChannel/components/Message/MessageView.d.ts +6 -0
- package/types/modules/GroupChannel/components/MessageList/index.d.ts +5 -1
- package/types/modules/GroupChannel/components/MessageTemplateWrapper/index.d.ts +8 -0
- package/types/modules/GroupChannel/components/SuggestedReplies/index.d.ts +4 -2
- package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +2 -2
- package/types/modules/GroupChannel/context/hooks/useMessageActions.d.ts +1 -1
- package/types/modules/GroupChannel/context/hooks/useMessageListScroll.d.ts +5 -2
- package/types/types.d.ts +1 -0
- package/types/ui/Icon/colors.d.ts +2 -0
- package/types/ui/Icon/index.d.ts +1 -0
- package/types/ui/Label/index.d.ts +2 -0
- package/types/ui/Label/stringSet.d.ts +3 -0
- package/types/ui/Label/types.d.ts +2 -0
- package/types/ui/Label/utils.d.ts +1 -1
- package/types/ui/LinkLabel/index.d.ts +2 -0
- package/types/ui/MessageContent/index.d.ts +3 -1
- package/types/ui/MessageTemplate/index.d.ts +8 -0
- package/types/ui/TemplateMessageItemBody/FallbackTemplateMessageItemBody.d.ts +9 -0
- package/types/ui/TemplateMessageItemBody/LoadingTemplateMessageItemBody.d.ts +7 -0
- package/types/ui/TemplateMessageItemBody/index.d.ts +12 -0
- package/types/ui/TemplateMessageItemBody/types.d.ts +96 -0
- package/types/ui/TemplateMessageItemBody/utils/flattenObject.d.ts +7 -0
- package/types/ui/TemplateMessageItemBody/utils/mapData.d.ts +7 -0
- package/types/ui/TemplateMessageItemBody/utils/restoreNumbersFromMessageTemplateObject.d.ts +1 -0
- package/types/ui/TemplateMessageItemBody/utils/selectColorVariablesByTheme.d.ts +6 -0
- package/types/utils/consts.d.ts +2 -0
- package/types/utils/index.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 +4 -4
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +5 -5
- 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/FallbackTemplateMessageItemBody.tsx.js +29 -0
- package/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -0
- package/ui/FileMessageItemBody.js +8 -8
- package/ui/FileViewer.js +15 -15
- package/ui/Icon.js +4 -2
- package/ui/Icon.js.map +1 -1
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +2 -2
- 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/LoadingTemplateMessageItemBody.tsx.js +24 -0
- package/ui/LoadingTemplateMessageItemBody.tsx.js.map +1 -0
- package/ui/MentionLabel.js +13 -13
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +93 -50
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +25 -21
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +10 -10
- package/ui/MessageItemReactionMenu.js +9 -9
- package/ui/MessageSearchFileItem.js +14 -14
- package/ui/MessageSearchItem.js +11 -11
- package/ui/MessageStatus.js +12 -12
- package/ui/MessageTemplate.js +3 -0
- package/ui/MessageTemplate.js.map +1 -0
- package/ui/MobileFeedbackMenu.js +9 -9
- 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 +8 -8
- package/ui/OpenchannelConversationHeader.js +8 -8
- 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/TemplateMessageItemBody.js +240 -0
- package/ui/TemplateMessageItemBody.js.map +1 -0
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +16 -16
- package/ui/ThreadReplies.js +8 -8
- 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 +4 -4
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +13 -13
- package/ui/UserProfile.js +10 -10
- 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--pOSeu9W.js.map +0 -1
- package/chunks/bundle--q7ObKwF.js.map +0 -1
- package/chunks/bundle-014pCrux.js.map +0 -1
- package/chunks/bundle-2BKREX4m.js.map +0 -1
- package/chunks/bundle-3cwcm2Rk.js.map +0 -1
- package/chunks/bundle-52hs7-M-.js.map +0 -1
- package/chunks/bundle-6hgn3L9Y.js.map +0 -1
- package/chunks/bundle-6mWCjL2G.js.map +0 -1
- package/chunks/bundle-9JkrMUIl.js.map +0 -1
- package/chunks/bundle-A8dpIXKJ.js.map +0 -1
- package/chunks/bundle-BGFDI87G.js.map +0 -1
- package/chunks/bundle-BLt9vn5B.js.map +0 -1
- package/chunks/bundle-DS8eBDjC.js.map +0 -1
- package/chunks/bundle-F_qWVzaf.js.map +0 -1
- package/chunks/bundle-IFrmy9_C.js.map +0 -1
- package/chunks/bundle-IOegLdFC.js.map +0 -1
- package/chunks/bundle-J6qXeThU.js.map +0 -1
- package/chunks/bundle-Jun66RyD.js.map +0 -1
- package/chunks/bundle-LG3hn4TL.js.map +0 -1
- package/chunks/bundle-PrsPGxuw.js.map +0 -1
- package/chunks/bundle-Q3UquQ_i.js.map +0 -1
- package/chunks/bundle-S-mn30SU.js.map +0 -1
- package/chunks/bundle-SMgyl32k.js.map +0 -1
- package/chunks/bundle-SXGL8fBv.js.map +0 -1
- package/chunks/bundle-TovLF3ih.js.map +0 -1
- package/chunks/bundle-TzTFcIfJ.js.map +0 -1
- package/chunks/bundle-UDnO8-Dp.js.map +0 -1
- package/chunks/bundle-UxyhnVkY.js.map +0 -1
- package/chunks/bundle-WImaBVSO.js.map +0 -1
- package/chunks/bundle-YpfSm9dM.js.map +0 -1
- package/chunks/bundle-ZlvXkXrU.js.map +0 -1
- package/chunks/bundle-_o_iMme_.js.map +0 -1
- package/chunks/bundle-_xgfKjN0.js.map +0 -1
- package/chunks/bundle-a2TolYYj.js.map +0 -1
- package/chunks/bundle-bazn-ENb.js.map +0 -1
- package/chunks/bundle-cIHCEDKb.js.map +0 -1
- package/chunks/bundle-cJYfaBvk.js.map +0 -1
- package/chunks/bundle-e1b64xud.js.map +0 -1
- package/chunks/bundle-f1tjVRSh.js.map +0 -1
- package/chunks/bundle-f9AOpkiS.js.map +0 -1
- package/chunks/bundle-fMkcL8C8.js.map +0 -1
- package/chunks/bundle-gSFYF-34.js.map +0 -1
- package/chunks/bundle-ibeQnj0V.js.map +0 -1
- package/chunks/bundle-jHpuKuA-.js.map +0 -1
- package/chunks/bundle-oLg6CIrN.js.map +0 -1
- package/chunks/bundle-r1f2uym4.js.map +0 -1
- package/chunks/bundle-rW70z6Ho.js.map +0 -1
- package/chunks/bundle-rwixBUpF.js.map +0 -1
- package/chunks/bundle-tPOBtJjA.js.map +0 -1
- package/chunks/bundle-wdUAfmoS.js.map +0 -1
- package/chunks/bundle-xLjEyoT0.js.map +0 -1
- package/cjs/chunks/bundle-0vl1G6aF.js.map +0 -1
- package/cjs/chunks/bundle-12iJO39c.js.map +0 -1
- package/cjs/chunks/bundle-3SJwqpkk.js.map +0 -1
- package/cjs/chunks/bundle-3eINsVVm.js.map +0 -1
- package/cjs/chunks/bundle-4jX5eqYW.js.map +0 -1
- package/cjs/chunks/bundle-5_SjuoV5.js.map +0 -1
- package/cjs/chunks/bundle-6k9JvMoA.js.map +0 -1
- package/cjs/chunks/bundle-8fHhsSkO.js.map +0 -1
- package/cjs/chunks/bundle-9Ms65KWQ.js.map +0 -1
- package/cjs/chunks/bundle-9uUg_zKI.js.map +0 -1
- package/cjs/chunks/bundle-BAZMzxRI.js.map +0 -1
- package/cjs/chunks/bundle-BujsZjS_.js.map +0 -1
- package/cjs/chunks/bundle-DAwfoiZz.js.map +0 -1
- package/cjs/chunks/bundle-DGXRqeiH.js.map +0 -1
- package/cjs/chunks/bundle-EvM8f38k.js.map +0 -1
- package/cjs/chunks/bundle-Gj3FCN-l.js.map +0 -1
- package/cjs/chunks/bundle-IKnblThp.js.map +0 -1
- package/cjs/chunks/bundle-J790CoNK.js.map +0 -1
- package/cjs/chunks/bundle-JfUvL0pn.js.map +0 -1
- package/cjs/chunks/bundle-Jy-utJ8j.js.map +0 -1
- package/cjs/chunks/bundle-Ktg9Of7w.js.map +0 -1
- package/cjs/chunks/bundle-MIY8NRxo.js.map +0 -1
- package/cjs/chunks/bundle-Oq2WwdJI.js.map +0 -1
- package/cjs/chunks/bundle-QauQilHV.js.map +0 -1
- package/cjs/chunks/bundle-SM64BUgE.js.map +0 -1
- package/cjs/chunks/bundle-SR43QM50.js.map +0 -1
- package/cjs/chunks/bundle-VOIBVZ8K.js.map +0 -1
- package/cjs/chunks/bundle-VySxn-bM.js.map +0 -1
- package/cjs/chunks/bundle-WjU125ds.js.map +0 -1
- package/cjs/chunks/bundle-XqQ_cljg.js.map +0 -1
- package/cjs/chunks/bundle-YGVhXIfU.js.map +0 -1
- package/cjs/chunks/bundle-YZRXvkp-.js.map +0 -1
- package/cjs/chunks/bundle-cIL4aJSh.js.map +0 -1
- package/cjs/chunks/bundle-cbIBIuxw.js.map +0 -1
- package/cjs/chunks/bundle-cp4Mr7IE.js.map +0 -1
- package/cjs/chunks/bundle-cv4uM9fB.js.map +0 -1
- package/cjs/chunks/bundle-eb9lfgWx.js.map +0 -1
- package/cjs/chunks/bundle-fzWbmzou.js.map +0 -1
- package/cjs/chunks/bundle-gUU1zXtu.js.map +0 -1
- package/cjs/chunks/bundle-h1-4ko51.js.map +0 -1
- package/cjs/chunks/bundle-hNdySo7A.js.map +0 -1
- package/cjs/chunks/bundle-hR3vnZG1.js.map +0 -1
- package/cjs/chunks/bundle-hYAxN2fG.js.map +0 -1
- package/cjs/chunks/bundle-jh0UjnOb.js.map +0 -1
- package/cjs/chunks/bundle-juIULvxr.js.map +0 -1
- package/cjs/chunks/bundle-mpZAARbu.js.map +0 -1
- package/cjs/chunks/bundle-o2GWKL_d.js.map +0 -1
- package/cjs/chunks/bundle-oGyWTIOJ.js.map +0 -1
- package/cjs/chunks/bundle-pNtkOzhO.js.map +0 -1
- package/cjs/chunks/bundle-q15q65dt.js.map +0 -1
- package/cjs/chunks/bundle-rGYP82Yc.js.map +0 -1
- package/cjs/chunks/bundle-rIjHxu2P.js.map +0 -1
- package/cjs/chunks/bundle-rY_4WHYR.js.map +0 -1
- package/cjs/chunks/bundle-rm245WXS.js.map +0 -1
- package/cjs/chunks/bundle-sPQAW6hW.js.map +0 -1
- package/cjs/chunks/bundle-sSkyvCgN.js.map +0 -1
- package/cjs/chunks/bundle-uIj1z0m8.js.map +0 -1
- package/cjs/chunks/bundle-vtbEyMlh.js.map +0 -1
- package/cjs/chunks/bundle-vzrDnUV2.js.map +0 -1
- package/cjs/chunks/bundle-xHh0P-Hz.js.map +0 -1
- package/cjs/chunks/bundle-xTAz4Z91.js.map +0 -1
- package/cjs/chunks/bundle-yJYTZhFC.js.map +0 -1
- package/cjs/chunks/bundle-yzcXd9DQ.js.map +0 -1
- package/cjs/chunks/bundle-zMBWGCQM.js.map +0 -1
- package/cjs/chunks/bundle-zvM7ls7A.js.map +0 -1
- package/types/modules/GroupChannel/components/MessageList/hooks/useScrollBehavior.d.ts +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle--Lhu0g1K.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle--bY8mmDR.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { n as noop } from './bundle-
|
|
2
|
+
import { n as noop } from './bundle-LN_WdItn.js';
|
|
3
3
|
|
|
4
4
|
var Context = React__default.createContext({
|
|
5
5
|
opened: '',
|
|
@@ -9,4 +9,4 @@ var Consumer = Context.Consumer;
|
|
|
9
9
|
var Provider = Context.Provider;
|
|
10
10
|
|
|
11
11
|
export { Consumer as C, Provider as P };
|
|
12
|
-
//# sourceMappingURL=bundle-
|
|
12
|
+
//# sourceMappingURL=bundle-1YZ1lMFm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-1YZ1lMFm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-1gwAtv3_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { K } from './bundle-
|
|
3
|
-
import { T as TOKEN_TYPES, U as USER_MENTION_PREFIX, g as getWhiteSpacePreservedText } from './bundle-
|
|
2
|
+
import { K } from './bundle-ZcW4v7tz.js';
|
|
3
|
+
import { T as TOKEN_TYPES, U as USER_MENTION_PREFIX, g as getWhiteSpacePreservedText } from './bundle-8FWrrAa9.js';
|
|
4
4
|
import { useMessageContext } from '../Message/context.js';
|
|
5
5
|
import MentionLabel from '../ui/MentionLabel.js';
|
|
6
6
|
import LinkLabel from '../ui/LinkLabel.js';
|
|
7
|
-
import { a as LabelTypography } from './bundle-
|
|
7
|
+
import { a as LabelTypography } from './bundle-ueZaur75.js';
|
|
8
8
|
|
|
9
9
|
// this function is used to generate a unique key for token in message
|
|
10
10
|
// it changes with updated time and index
|
|
@@ -33,4 +33,4 @@ function TextFragment(_a) {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export { TextFragment as T };
|
|
36
|
-
//# sourceMappingURL=bundle-
|
|
36
|
+
//# sourceMappingURL=bundle-26v6WTQh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-26v6WTQh.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-3te2klPE.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { c as __spreadArray, _ as __assign } from './bundle-
|
|
1
|
+
import { c as __spreadArray, _ as __assign } from './bundle-XgKdQ_N6.js';
|
|
2
2
|
import React__default, { useState, useEffect, useRef, useLayoutEffect, useMemo } from 'react';
|
|
3
|
-
import { f as format } from './bundle-
|
|
4
|
-
import { u as useLocalization } from './bundle-
|
|
3
|
+
import { f as format } from './bundle-IaU6YF_5.js';
|
|
4
|
+
import { u as useLocalization } from './bundle-fGp6w98-.js';
|
|
5
5
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
6
|
-
import { M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from './bundle-
|
|
7
|
-
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-
|
|
6
|
+
import { M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from './bundle-jH1LTiaZ.js';
|
|
7
|
+
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-Ij2ogskR.js';
|
|
8
8
|
import { useDirtyGetMentions } from '../Message/hooks/useDirtyGetMentions.js';
|
|
9
|
-
import { w as getClassName, g as getSuggestedReplies } from './bundle-
|
|
9
|
+
import { w as getClassName, g as getSuggestedReplies } from './bundle-aRzA6Ar7.js';
|
|
10
10
|
import DateSeparator from '../ui/DateSeparator.js';
|
|
11
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
11
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-ueZaur75.js';
|
|
12
12
|
import MessageInput from '../ui/MessageInput.js';
|
|
13
|
-
import { M as MessageInputKeys } from './bundle-
|
|
13
|
+
import { M as MessageInputKeys } from './bundle-YTNRflOw.js';
|
|
14
14
|
import MessageContent from '../ui/MessageContent.js';
|
|
15
|
-
import
|
|
16
|
-
import { S as SuggestedMentionListView } from './bundle-
|
|
15
|
+
import SuggestedReplies from '../GroupChannel/components/SuggestedReplies.js';
|
|
16
|
+
import { S as SuggestedMentionListView } from './bundle-EPOzCaN-.js';
|
|
17
17
|
|
|
18
18
|
var useDidMountEffect = function (func, deps) {
|
|
19
19
|
var _a = useState(false), didMount = _a[0], setDidmount = _a[1];
|
|
@@ -32,25 +32,24 @@ var MessageView = function (props) {
|
|
|
32
32
|
var _a, _b;
|
|
33
33
|
var
|
|
34
34
|
// MessageProps
|
|
35
|
-
message = props.message, renderMessage = props.renderMessage, children = props.children, _c = props.renderMessageContent, renderMessageContent = _c === void 0 ? function (props) { return React__default.createElement(MessageContent, __assign({}, props)); } : _c, renderCustomSeparator = props.renderCustomSeparator, renderEditInput = props.renderEditInput, hasSeparator = props.hasSeparator, chainTop = props.chainTop, chainBottom = props.chainBottom, handleScroll = props.handleScroll,
|
|
35
|
+
message = props.message, renderMessage = props.renderMessage, children = props.children, _c = props.renderMessageContent, renderMessageContent = _c === void 0 ? function (props) { return React__default.createElement(MessageContent, __assign({}, props)); } : _c, _d = props.renderSuggestedReplies, renderSuggestedReplies = _d === void 0 ? function (props) { return (React__default.createElement(SuggestedReplies, __assign({}, props))); } : _d, renderCustomSeparator = props.renderCustomSeparator, renderEditInput = props.renderEditInput, hasSeparator = props.hasSeparator, chainTop = props.chainTop, chainBottom = props.chainBottom, handleScroll = props.handleScroll,
|
|
36
36
|
// MessageViewProps
|
|
37
|
-
channel = props.channel, emojiContainer = props.emojiContainer, editInputDisabled = props.editInputDisabled, shouldRenderSuggestedReplies = props.shouldRenderSuggestedReplies, isReactionEnabled = props.isReactionEnabled, replyType = props.replyType, threadReplySelectType = props.threadReplySelectType, nicknamesMap = props.nicknamesMap, renderUserMentionItem = props.renderUserMentionItem, scrollToMessage = props.scrollToMessage, toggleReaction = props.toggleReaction, setQuoteMessage = props.setQuoteMessage, onQuoteMessageClick = props.onQuoteMessageClick, onReplyInThreadClick = props.onReplyInThreadClick, sendUserMessage = props.sendUserMessage, updateUserMessage = props.updateUserMessage, resendMessage = props.resendMessage, deleteMessage = props.deleteMessage, renderFileViewer = props.renderFileViewer, renderRemoveMessageModal = props.renderRemoveMessageModal, setAnimatedMessageId = props.setAnimatedMessageId, animatedMessageId = props.animatedMessageId, onMessageAnimated = props.onMessageAnimated,
|
|
38
|
-
var
|
|
37
|
+
channel = props.channel, emojiContainer = props.emojiContainer, editInputDisabled = props.editInputDisabled, shouldRenderSuggestedReplies = props.shouldRenderSuggestedReplies, isReactionEnabled = props.isReactionEnabled, replyType = props.replyType, threadReplySelectType = props.threadReplySelectType, nicknamesMap = props.nicknamesMap, renderUserMentionItem = props.renderUserMentionItem, scrollToMessage = props.scrollToMessage, toggleReaction = props.toggleReaction, setQuoteMessage = props.setQuoteMessage, onQuoteMessageClick = props.onQuoteMessageClick, onReplyInThreadClick = props.onReplyInThreadClick, sendUserMessage = props.sendUserMessage, updateUserMessage = props.updateUserMessage, resendMessage = props.resendMessage, deleteMessage = props.deleteMessage, renderFileViewer = props.renderFileViewer, renderRemoveMessageModal = props.renderRemoveMessageModal, setAnimatedMessageId = props.setAnimatedMessageId, animatedMessageId = props.animatedMessageId, onMessageAnimated = props.onMessageAnimated, _e = props.usedInLegacy, usedInLegacy = _e === void 0 ? true : _e;
|
|
38
|
+
var _f = useLocalization(), dateLocale = _f.dateLocale, stringSet = _f.stringSet;
|
|
39
39
|
var globalStore = useSendbirdStateContext();
|
|
40
|
-
var
|
|
40
|
+
var _g = globalStore.config, userId = _g.userId, isOnline = _g.isOnline, isMentionEnabled = _g.isMentionEnabled, userMention = _g.userMention, logger = _g.logger;
|
|
41
41
|
var maxUserMentionCount = (userMention === null || userMention === void 0 ? void 0 : userMention.maxMentionCount) || MAX_USER_MENTION_COUNT;
|
|
42
42
|
var maxUserSuggestionCount = (userMention === null || userMention === void 0 ? void 0 : userMention.maxSuggestionCount) || MAX_USER_SUGGESTION_COUNT;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var
|
|
53
|
-
var _r = useState([]), mentionSuggestedUsers = _r[0], setMentionSuggestedUsers = _r[1];
|
|
43
|
+
var _h = useState(false), showEdit = _h[0], setShowEdit = _h[1];
|
|
44
|
+
var _j = useState(false), showRemove = _j[0], setShowRemove = _j[1];
|
|
45
|
+
var _k = useState(false), showFileViewer = _k[0], setShowFileViewer = _k[1];
|
|
46
|
+
var _l = useState(false), isAnimated = _l[0], setIsAnimated = _l[1];
|
|
47
|
+
var _m = useState(''), mentionNickname = _m[0], setMentionNickname = _m[1];
|
|
48
|
+
var _o = useState([]), mentionedUsers = _o[0], setMentionedUsers = _o[1];
|
|
49
|
+
var _p = useState([]), mentionedUserIds = _p[0], setMentionedUserIds = _p[1];
|
|
50
|
+
var _q = useState(null), messageInputEvent = _q[0], setMessageInputEvent = _q[1];
|
|
51
|
+
var _r = useState(null), selectedUser = _r[0], setSelectedUser = _r[1];
|
|
52
|
+
var _s = useState([]), mentionSuggestedUsers = _s[0], setMentionSuggestedUsers = _s[1];
|
|
54
53
|
var editMessageInputRef = useRef(null);
|
|
55
54
|
var messageScrollRef = useRef(null);
|
|
56
55
|
var displaySuggestedMentionList = isOnline && isMentionEnabled && mentionNickname.length > 0 && !isDisabledBecauseFrozen(channel) && !isDisabledBecauseMuted(channel);
|
|
@@ -80,37 +79,18 @@ var MessageView = function (props) {
|
|
|
80
79
|
handleScroll === null || handleScroll === void 0 ? void 0 : handleScroll(true);
|
|
81
80
|
}, [message === null || message === void 0 ? void 0 : message.updatedAt, message === null || message === void 0 ? void 0 : message.message]);
|
|
82
81
|
useLayoutEffect(function () {
|
|
83
|
-
// Keep the scrollBottom value after fetching new message list
|
|
84
|
-
|
|
82
|
+
// Keep the scrollBottom value after fetching new message list (but GroupChannel module is not needed.)
|
|
83
|
+
if (usedInLegacy)
|
|
84
|
+
handleScroll === null || handleScroll === void 0 ? void 0 : handleScroll(true);
|
|
85
85
|
}, []);
|
|
86
|
-
useLayoutEffect(function () {
|
|
87
|
-
var timeouts = [];
|
|
88
|
-
if (highLightedMessageId === message.messageId && (messageScrollRef === null || messageScrollRef === void 0 ? void 0 : messageScrollRef.current)) {
|
|
89
|
-
setIsAnimated(false);
|
|
90
|
-
timeouts.push(setTimeout(function () {
|
|
91
|
-
setIsHighlighted(true);
|
|
92
|
-
}, 500));
|
|
93
|
-
timeouts.push(setTimeout(function () {
|
|
94
|
-
setHighLightedMessageId(0);
|
|
95
|
-
onMessageHighlighted === null || onMessageHighlighted === void 0 ? void 0 : onMessageHighlighted();
|
|
96
|
-
}, 1600));
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
setIsHighlighted(false);
|
|
100
|
-
}
|
|
101
|
-
return function () {
|
|
102
|
-
timeouts.forEach(function (it) { return clearTimeout(it); });
|
|
103
|
-
};
|
|
104
|
-
}, [highLightedMessageId, messageScrollRef.current, message.messageId]);
|
|
105
86
|
useLayoutEffect(function () {
|
|
106
87
|
var timeouts = [];
|
|
107
88
|
if (animatedMessageId === message.messageId && (messageScrollRef === null || messageScrollRef === void 0 ? void 0 : messageScrollRef.current)) {
|
|
108
|
-
setIsHighlighted(false);
|
|
109
89
|
timeouts.push(setTimeout(function () {
|
|
110
90
|
setIsAnimated(true);
|
|
111
91
|
}, 500));
|
|
112
92
|
timeouts.push(setTimeout(function () {
|
|
113
|
-
setAnimatedMessageId(
|
|
93
|
+
setAnimatedMessageId(null);
|
|
114
94
|
onMessageAnimated === null || onMessageAnimated === void 0 ? void 0 : onMessageAnimated();
|
|
115
95
|
}, 1600));
|
|
116
96
|
}
|
|
@@ -156,8 +136,11 @@ var MessageView = function (props) {
|
|
|
156
136
|
onQuoteMessageClick: onQuoteMessageClick,
|
|
157
137
|
onMessageHeightChange: handleScroll,
|
|
158
138
|
}),
|
|
159
|
-
|
|
160
|
-
|
|
139
|
+
shouldRenderSuggestedReplies && renderSuggestedReplies({
|
|
140
|
+
replyOptions: getSuggestedReplies(message),
|
|
141
|
+
onSendMessage: sendUserMessage,
|
|
142
|
+
message: message,
|
|
143
|
+
}),
|
|
161
144
|
showRemove && renderRemoveMessageModal({ message: message, onCancel: function () { return setShowRemove(false); } }),
|
|
162
145
|
showFileViewer && renderFileViewer({ message: message, onCancel: function () { return setShowFileViewer(false); } })));
|
|
163
146
|
};
|
|
@@ -220,7 +203,6 @@ var MessageView = function (props) {
|
|
|
220
203
|
return (React__default.createElement("div", { className: getClassName([
|
|
221
204
|
'sendbird-msg-hoc sendbird-msg--scroll-ref',
|
|
222
205
|
isAnimated ? 'sendbird-msg-hoc__animated' : '',
|
|
223
|
-
isHighlighted ? 'sendbird-msg-hoc__highlighted' : '',
|
|
224
206
|
]), style: children || renderMessage ? undefined : { marginBottom: '2px' }, "data-sb-message-id": message.messageId, "data-sb-created-at": message.createdAt, ref: messageScrollRef },
|
|
225
207
|
hasSeparator
|
|
226
208
|
&& (renderedCustomSeparator || (React__default.createElement(DateSeparator, null,
|
|
@@ -231,4 +213,4 @@ var MessageView = function (props) {
|
|
|
231
213
|
};
|
|
232
214
|
|
|
233
215
|
export { MessageView as M };
|
|
234
|
-
//# sourceMappingURL=bundle-
|
|
216
|
+
//# sourceMappingURL=bundle-3uSBAMCx.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-3uSBAMCx.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-4OgQJ7X4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-4PIMbALe.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { _ as __assign, c as __spreadArray, a as __awaiter, b as __generator } from './bundle-
|
|
1
|
+
import { _ as __assign, c as __spreadArray, a as __awaiter, b as __generator } from './bundle-XgKdQ_N6.js';
|
|
2
2
|
import React__default, { useEffect, useCallback, useReducer, useState, useMemo, useContext } from 'react';
|
|
3
3
|
import { GroupChannelHandler, GroupChannelListOrder } 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-kRkORTjK.js';
|
|
5
|
+
import { u as uuidv4 } from './bundle-a81-P2WI.js';
|
|
6
|
+
import { n as noop } from './bundle-LN_WdItn.js';
|
|
7
|
+
import { D as DELIVERY_RECEIPT$1 } from './bundle-lQUghzL6.js';
|
|
8
|
+
import { U as UserProfileProvider } from './bundle-V0xbpJPV.js';
|
|
9
9
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
10
|
-
import { K, S } from './bundle-
|
|
11
|
-
import {
|
|
12
|
-
import { u as useReconnectOnIdle } from './bundle-
|
|
10
|
+
import { K, S } from './bundle-ZcW4v7tz.js';
|
|
11
|
+
import { T as filterChannelListParams, V as getChannelsWithUpsertedChannel } from './bundle-aRzA6Ar7.js';
|
|
12
|
+
import { u as useReconnectOnIdle } from './bundle-9N8rxcU_.js';
|
|
13
13
|
|
|
14
14
|
var RESET_CHANNEL_LIST = 'RESET_CHANNEL_LIST';
|
|
15
15
|
var CREATE_CHANNEL = 'CREATE_CHANNEL';
|
|
@@ -943,4 +943,4 @@ function useChannelListContext() {
|
|
|
943
943
|
}
|
|
944
944
|
|
|
945
945
|
export { ChannelListProvider as C, LEAVE_CHANNEL_SUCCESS as L, SET_CURRENT_CHANNEL as S, useChannelListContext as u };
|
|
946
|
-
//# sourceMappingURL=bundle-
|
|
946
|
+
//# sourceMappingURL=bundle-5azogY3V.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-5azogY3V.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 { h as VOICE_RECORDER_CLICK_BUFFER_TIME, g as VOICE_RECORDER_DEFAULT_MIN } from './bundle-
|
|
6
|
+
import { b as LabelColors, L as Label, a as LabelTypography } from './bundle-ueZaur75.js';
|
|
7
|
+
import { u as useLocalization } from './bundle-fGp6w98-.js';
|
|
8
|
+
import { h as VOICE_RECORDER_CLICK_BUFFER_TIME, g as VOICE_RECORDER_DEFAULT_MIN } from './bundle-lQUghzL6.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-5j_LCcnI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-5j_LCcnI.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -73,4 +73,4 @@ var MediaQueryProvider = function (props) {
|
|
|
73
73
|
var useMediaQueryContext = function () { return React__default.useContext(MediaQueryContext); };
|
|
74
74
|
|
|
75
75
|
export { MediaQueryProvider as M, useMediaQueryContext as u };
|
|
76
|
-
//# sourceMappingURL=bundle-
|
|
76
|
+
//# sourceMappingURL=bundle-726H1FcN.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-726H1FcN.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import IconButton from '../ui/IconButton.js';
|
|
3
3
|
import Icon, { IconColors, IconTypes } from '../ui/Icon.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-ueZaur75.js';
|
|
5
5
|
import ChannelAvatar from '../ui/ChannelAvatar.js';
|
|
6
|
-
import { g as getChannelTitle } from './bundle-
|
|
7
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
6
|
+
import { g as getChannelTitle } from './bundle-xJvVI8rO.js';
|
|
7
|
+
import { u as useMediaQueryContext } from './bundle-726H1FcN.js';
|
|
8
8
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
9
|
-
import { u as useLocalization } from './bundle-
|
|
9
|
+
import { u as useLocalization } from './bundle-fGp6w98-.js';
|
|
10
10
|
|
|
11
11
|
var GroupChannelHeaderView = function (_a) {
|
|
12
12
|
var _b;
|
|
@@ -33,4 +33,4 @@ var GroupChannelHeaderView = function (_a) {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
export { GroupChannelHeaderView as G };
|
|
36
|
-
//# sourceMappingURL=bundle-
|
|
36
|
+
//# sourceMappingURL=bundle-7DsbNj8s.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-7DsbNj8s.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as __spreadArray } from './bundle-
|
|
1
|
+
import { c as __spreadArray } from './bundle-XgKdQ_N6.js';
|
|
2
2
|
|
|
3
3
|
var USER_MENTION_PREFIX = '@';
|
|
4
4
|
|
|
@@ -143,4 +143,4 @@ function getWhiteSpacePreservedText(text) {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
export { TOKEN_TYPES as T, USER_MENTION_PREFIX as U, getWhiteSpacePreservedText as g, tokenizeMessage as t };
|
|
146
|
-
//# sourceMappingURL=bundle-
|
|
146
|
+
//# sourceMappingURL=bundle-8FWrrAa9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-8FWrrAa9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,10 +2,10 @@ import React__default, { useState, useMemo, useRef, useEffect } from 'react';
|
|
|
2
2
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
3
3
|
import { SendingStatus } from '@sendbird/chat/message';
|
|
4
4
|
import ImageRenderer, { getBorderRadiusForMultipleImageRenderer } from '../ui/ImageRenderer.js';
|
|
5
|
-
import { w as getClassName, A as isGif } from './bundle-
|
|
6
|
-
import { F as FileViewer } from './bundle-
|
|
7
|
-
import { K } from './bundle-
|
|
8
|
-
import { _ as __assign } from './bundle-
|
|
5
|
+
import { w as getClassName, A as isGif } from './bundle-aRzA6Ar7.js';
|
|
6
|
+
import { F as FileViewer } from './bundle-ZA3vOSBy.js';
|
|
7
|
+
import { K } from './bundle-ZcW4v7tz.js';
|
|
8
|
+
import { _ as __assign } from './bundle-XgKdQ_N6.js';
|
|
9
9
|
|
|
10
10
|
function ImageGrid(_a) {
|
|
11
11
|
var _b;
|
|
@@ -145,4 +145,4 @@ var useFileInfoListWithUploaded = function (message) {
|
|
|
145
145
|
};
|
|
146
146
|
|
|
147
147
|
export { MultipleFilesMessageItemBody as M, ThreadMessageKind as T, useFileInfoListWithUploaded as a, useThreadMessageKindKeySelector as u };
|
|
148
|
-
//# sourceMappingURL=bundle-
|
|
148
|
+
//# sourceMappingURL=bundle-8bj34OZZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-8bj34OZZ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useRef, useLayoutEffect } from 'react';
|
|
2
|
-
import { S as SCROLL_BUFFER } from './bundle-
|
|
3
|
-
import { i as isAboutSame } from './bundle-
|
|
2
|
+
import { S as SCROLL_BUFFER } from './bundle-lQUghzL6.js';
|
|
3
|
+
import { i as isAboutSame } from './bundle-9JcU7WF6.js';
|
|
4
4
|
import { usePreservedCallback } from '@sendbird/uikit-tools';
|
|
5
|
-
import { u as useThrottleCallback, t as throttle } from './bundle
|
|
5
|
+
import { u as useThrottleCallback, t as throttle } from './bundle--bY8mmDR.js';
|
|
6
6
|
|
|
7
7
|
var BUFFER_DELAY = 100;
|
|
8
8
|
function useOnScrollPositionChangeDetector(params) {
|
|
@@ -54,4 +54,4 @@ function useOnScrollPositionChangeDetectorWithRef(scrollRef, params) {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
export { useOnScrollPositionChangeDetectorWithRef as a, useOnScrollPositionChangeDetector as u };
|
|
57
|
-
//# sourceMappingURL=bundle-
|
|
57
|
+
//# sourceMappingURL=bundle-9DSYjtTH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-9DSYjtTH.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as __spreadArray } from './bundle-
|
|
1
|
+
import { c as __spreadArray } from './bundle-XgKdQ_N6.js';
|
|
2
2
|
import { SendingStatus } from '@sendbird/chat/message';
|
|
3
3
|
|
|
4
4
|
var scrollToRenderedMessage = function (scrollRef, initialTimeStamp, setIsScrolled) {
|
|
@@ -120,4 +120,4 @@ var isAboutSame = function (a, b, px) {
|
|
|
120
120
|
};
|
|
121
121
|
|
|
122
122
|
export { isDisabledBecauseFrozen as a, isDisabledBecauseMuted as b, scrollToRenderedMessage as c, getNicknamesMapFromMembers as d, getAllEmojisMapFromEmojiContainer as g, isAboutSame as i, mergeAndSortMessages as m, passUnsuccessfullMessages as p, scrollIntoLast as s };
|
|
123
|
-
//# sourceMappingURL=bundle-
|
|
123
|
+
//# sourceMappingURL=bundle-9JcU7WF6.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-9JcU7WF6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-9N8rxcU_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __assign } from './bundle-
|
|
1
|
+
import { _ as __assign } from './bundle-XgKdQ_N6.js';
|
|
2
2
|
import { useState, useRef, useCallback } from 'react';
|
|
3
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
3
|
+
import { u as useMediaQueryContext } from './bundle-726H1FcN.js';
|
|
4
4
|
|
|
5
5
|
var DEFAULT_DURATION = 300;
|
|
6
6
|
function preventDefault(e) {
|
|
@@ -74,4 +74,4 @@ function useLongPress(_a, _b) {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
export { useLongPress as u };
|
|
77
|
-
//# sourceMappingURL=bundle-
|
|
77
|
+
//# sourceMappingURL=bundle-9eXfVBSj.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-9eXfVBSj.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,7 +3,7 @@ import { GroupChannelListHeader } from '../GroupChannelList/components/GroupChan
|
|
|
3
3
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
4
4
|
import EditUserProfile from '../EditUserProfile.js';
|
|
5
5
|
import PlaceHolder, { PlaceHolderTypes } from '../ui/PlaceHolder.js';
|
|
6
|
-
import { u as useOnScrollPositionChangeDetector } from './bundle-
|
|
6
|
+
import { u as useOnScrollPositionChangeDetector } from './bundle-9DSYjtTH.js';
|
|
7
7
|
|
|
8
8
|
var GroupChannelListUIView = function (_a) {
|
|
9
9
|
var renderHeader = _a.renderHeader, renderPlaceHolderError = _a.renderPlaceHolderError, renderPlaceHolderLoading = _a.renderPlaceHolderLoading, renderPlaceHolderEmptyList = _a.renderPlaceHolderEmptyList, onChangeTheme = _a.onChangeTheme, onUserProfileUpdated = _a.onUserProfileUpdated, allowProfileEdit = _a.allowProfileEdit, channels = _a.channels, onLoadMore = _a.onLoadMore, initialized = _a.initialized, renderChannel = _a.renderChannel, renderAddChannel = _a.renderAddChannel;
|
|
@@ -64,4 +64,4 @@ var ChannelListComponent = function (props) {
|
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
export { GroupChannelListUIView as G };
|
|
67
|
-
//# sourceMappingURL=bundle-
|
|
67
|
+
//# sourceMappingURL=bundle-A92jjX29.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-A92jjX29.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-Bq8FTiM8.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isSameDay } from './bundle-
|
|
2
|
-
import { r as requiredArgs, t as toDate, a as toInteger } from './bundle-
|
|
1
|
+
import { i as isSameDay } from './bundle-YQzd7GID.js';
|
|
2
|
+
import { r as requiredArgs, t as toDate, a as toInteger } from './bundle-IaU6YF_5.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @name isToday
|
|
@@ -162,4 +162,4 @@ function isYesterday(dirtyDate) {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
export { isYesterday as a, isThisYear as b, isToday as i };
|
|
165
|
-
//# sourceMappingURL=bundle-
|
|
165
|
+
//# sourceMappingURL=bundle-C8lBzFe4.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-C8lBzFe4.js","sources":["../../node_modules/date-fns/esm/isToday/index.js","../../node_modules/date-fns/esm/isSameYear/index.js","../../node_modules/date-fns/esm/isThisYear/index.js","../../node_modules/date-fns/esm/addDays/index.js","../../node_modules/date-fns/esm/subDays/index.js","../../node_modules/date-fns/esm/isYesterday/index.js"],"sourcesContent":["import isSameDay from \"../isSameDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isToday\n * @category Day Helpers\n * @summary Is the given date today?\n * @pure false\n *\n * @description\n * Is the given date today?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is today\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 6 October 2014, is 6 October 14:00:00 today?\n * const result = isToday(new Date(2014, 9, 6, 14, 0))\n * //=> true\n */\nexport default function isToday(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameDay(dirtyDate, Date.now());\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameYear\n * @category Year Helpers\n * @summary Are the given dates in the same year?\n *\n * @description\n * Are the given dates in the same year?\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 year\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 2 September 2014 and 25 September 2014 in the same year?\n * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25))\n * //=> true\n */\nexport default function isSameYear(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() === dateRight.getFullYear();\n}","import isSameYear from \"../isSameYear/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isThisYear\n * @category Year Helpers\n * @summary Is the given date in the same year as the current date?\n * @pure false\n *\n * @description\n * Is the given date in the same year as the current date?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is in this year\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 25 September 2014, is 2 July 2014 in this year?\n * const result = isThisYear(new Date(2014, 6, 2))\n * //=> true\n */\nexport default function isThisYear(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameYear(dirtyDate, Date.now());\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} - the new date with the days added\n * @throws {TypeError} - 2 arguments required\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * const result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\nexport default function addDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n date.setDate(date.getDate() + amount);\n return date;\n}","import addDays from \"../addDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n/**\n * @name subDays\n * @category Day Helpers\n * @summary Subtract the specified number of days from the given date.\n *\n * @description\n * Subtract the specified number of days from the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the days subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 10 days from 1 September 2014:\n * const result = subDays(new Date(2014, 8, 1), 10)\n * //=> Fri Aug 22 2014 00:00:00\n */\nexport default function subDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addDays(dirtyDate, -amount);\n}","import isSameDay from \"../isSameDay/index.js\";\nimport subDays from \"../subDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isYesterday\n * @category Day Helpers\n * @summary Is the given date yesterday?\n * @pure false\n *\n * @description\n * Is the given date yesterday?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is yesterday\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 6 October 2014, is 5 October 14:00:00 yesterday?\n * const result = isYesterday(new Date(2014, 9, 5, 14, 0))\n * //=> true\n */\nexport default function isYesterday(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameDay(dirtyDate, subDays(Date.now(), 1));\n}"],"names":[],"mappings":";;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,OAAO,CAAC,SAAS,EAAE;AAC3C,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,OAAO,SAAS,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AAC1C;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,UAAU,CAAC,aAAa,EAAE,cAAc,EAAE;AAClE,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,QAAQ,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;AACvC,EAAE,IAAI,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;AACzC,EAAE,OAAO,QAAQ,CAAC,WAAW,EAAE,KAAK,SAAS,CAAC,WAAW,EAAE,CAAC;AAC5D;;ACvBA;AACA;AACA;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,OAAO,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AAC3C;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,OAAO,CAAC,SAAS,EAAE,WAAW,EAAE;AACxD,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,MAAM,GAAG,SAAS,CAAC,WAAW,CAAC,CAAC;AACtC,EAAE,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE;AACrB,IAAI,OAAO,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC;AACzB,GAAG;AACH,EAAE,IAAI,CAAC,MAAM,EAAE;AACf;AACA,IAAI,OAAO,IAAI,CAAC;AAChB,GAAG;AACH,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,CAAC;AACxC,EAAE,OAAO,IAAI,CAAC;AACd;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,OAAO,CAAC,SAAS,EAAE,WAAW,EAAE;AACxD,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,MAAM,GAAG,SAAS,CAAC,WAAW,CAAC,CAAC;AACtC,EAAE,OAAO,OAAO,CAAC,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;AACrC;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,WAAW,CAAC,SAAS,EAAE;AAC/C,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,OAAO,SAAS,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AACtD;;;;","x_google_ignoreList":[0,1,2,3,4,5]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
|
-
import { M as Modal } from './bundle-
|
|
3
|
-
import './bundle-
|
|
4
|
-
import './bundle-
|
|
2
|
+
import { M as Modal } from './bundle-ZxknBRho.js';
|
|
3
|
+
import './bundle-XgKdQ_N6.js';
|
|
4
|
+
import './bundle-ueZaur75.js';
|
|
5
5
|
import { ButtonTypes } from '../ui/Button.js';
|
|
6
|
-
import { L as LocalizationContext } from './bundle-
|
|
7
|
-
import { g as getModalDeleteMessageTitle } from './bundle
|
|
6
|
+
import { L as LocalizationContext } from './bundle-fGp6w98-.js';
|
|
7
|
+
import { g as getModalDeleteMessageTitle } from './bundle-I3SOpmVR.js';
|
|
8
8
|
|
|
9
9
|
var RemoveMessageModalView = function (props) {
|
|
10
10
|
var _a;
|
|
@@ -25,4 +25,4 @@ var RemoveMessageModalView = function (props) {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export { RemoveMessageModalView as R };
|
|
28
|
-
//# sourceMappingURL=bundle-
|
|
28
|
+
//# sourceMappingURL=bundle-CChs9z4I.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-CChs9z4I.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|