@sendbird/uikit-react 3.11.1 → 3.12.0-rc.0
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 +139 -390
- package/App.js.map +1 -1
- package/CHANGELOG.md +40 -0
- package/Channel/components/ChannelHeader.js +38 -30
- package/Channel/components/ChannelHeader.js.map +1 -1
- package/Channel/components/ChannelUI.js +85 -68
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +36 -29
- package/Channel/components/FileViewer.js.map +1 -1
- package/Channel/components/FrozenNotification.js +6 -6
- package/Channel/components/Message.js +84 -54
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageFeedbackModal.js +9 -9
- package/Channel/components/MessageInput.js +56 -46
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageInputWrapper.js +67 -0
- package/Channel/components/MessageInputWrapper.js.map +1 -0
- package/Channel/components/MessageList.js +277 -66
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +35 -28
- package/Channel/components/RemoveMessageModal.js.map +1 -1
- package/Channel/components/SuggestedMentionList.js +26 -26
- package/Channel/components/TypingIndicator.js +7 -7
- package/Channel/components/UnreadCount.js +8 -8
- package/Channel/context.js +25 -34
- package/Channel/context.js.map +1 -1
- package/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/Channel/hooks/useInitialMessagesFetch.js +6 -16
- package/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
- package/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/Channel/utils/getMessagePartsInfo.js +6 -6
- package/Channel.js +77 -69
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +29 -21
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +9 -9
- package/ChannelList/components/ChannelListUI.js +114 -42
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +45 -33
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +18 -14
- package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/ChannelList/context.js +10 -10
- package/ChannelList.js +41 -40
- package/ChannelList.js.map +1 -1
- 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 +3 -3
- 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 +45 -0
- package/GroupChannel/components/FileViewer.js.map +1 -0
- package/{chunks/bundle-dMLt2ro9.js → GroupChannel/components/FrozenNotification.js} +7 -4
- package/GroupChannel/components/FrozenNotification.js.map +1 -0
- package/GroupChannel/components/GroupChannelHeader.js +42 -0
- package/GroupChannel/components/GroupChannelHeader.js.map +1 -0
- package/GroupChannel/components/GroupChannelUI.js +143 -0
- package/GroupChannel/components/GroupChannelUI.js.map +1 -0
- package/GroupChannel/components/Message.js +132 -0
- package/GroupChannel/components/Message.js.map +1 -0
- package/GroupChannel/components/MessageInputWrapper.js +88 -0
- package/GroupChannel/components/MessageInputWrapper.js.map +1 -0
- package/GroupChannel/components/MessageList.js +230 -0
- package/{cjs/chunks/bundle-hCR6GZHZ.js.map → GroupChannel/components/MessageList.js.map} +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +42 -0
- package/GroupChannel/components/RemoveMessageModal.js.map +1 -0
- package/GroupChannel/components/SuggestedMentionList.js +23 -0
- package/GroupChannel/components/SuggestedMentionList.js.map +1 -0
- package/GroupChannel/components/SuggestedReplies.js +20 -0
- package/GroupChannel/components/SuggestedReplies.js.map +1 -0
- package/{chunks/bundle-4JVMIRVC.js → GroupChannel/components/TypingIndicator.js} +10 -6
- package/GroupChannel/components/TypingIndicator.js.map +1 -0
- package/{chunks/bundle-8OBG2Jrw.js → GroupChannel/components/UnreadCount.js} +10 -6
- package/GroupChannel/components/UnreadCount.js.map +1 -0
- package/{chunks/bundle-d31Dx4g9.js → GroupChannel/context.js} +36 -156
- package/{cjs/chunks/bundle-xbwLn6pV.js.map → GroupChannel/context.js.map} +1 -1
- package/GroupChannel.js +141 -0
- package/GroupChannel.js.map +1 -0
- package/GroupChannelList/components/AddGroupChannel.js +51 -0
- package/GroupChannelList/components/AddGroupChannel.js.map +1 -0
- package/{chunks/bundle-0Pl6hdf0.js → GroupChannelList/components/GroupChannelListHeader.js} +14 -6
- package/GroupChannelList/components/GroupChannelListHeader.js.map +1 -0
- package/GroupChannelList/components/GroupChannelListItem.js +59 -0
- package/GroupChannelList/components/GroupChannelListItem.js.map +1 -0
- package/GroupChannelList/components/GroupChannelListUI.js +123 -0
- package/GroupChannelList/components/GroupChannelListUI.js.map +1 -0
- package/{chunks/bundle-NFkyRDpH.js → GroupChannelList/components/GroupChannelPreviewAction.js} +26 -12
- package/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -0
- package/GroupChannelList/context.js +108 -0
- package/GroupChannelList/context.js.map +1 -0
- package/GroupChannelList.js +82 -0
- package/GroupChannelList.js.map +1 -0
- 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 +22 -22
- 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 +175 -51
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +59 -57
- package/Thread/components/ThreadUI.js.map +1 -1
- package/Thread/context.js +11 -11
- package/Thread.js +59 -57
- package/Thread.js.map +1 -1
- 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-7gnDs7-N.js → bundle--ORA9L0f.js} +10 -10
- package/chunks/{bundle-7gnDs7-N.js.map → bundle--ORA9L0f.js.map} +1 -1
- package/chunks/bundle--QWYYsI7.js +67 -0
- package/chunks/bundle--QWYYsI7.js.map +1 -0
- package/chunks/{bundle-laq4Cm2M.js → bundle--XsvJ3hU.js} +3 -3
- package/chunks/bundle--XsvJ3hU.js.map +1 -0
- package/chunks/{bundle-5x-SH0ln.js → bundle--rPLqx46.js} +1 -1
- package/chunks/bundle--rPLqx46.js.map +1 -0
- package/chunks/{bundle-72sPkBu4.js → bundle-2atU-KVo.js} +1 -1
- package/chunks/bundle-2atU-KVo.js.map +1 -0
- package/chunks/{bundle-A9vhM7uK.js → bundle-3DH6zZHH.js} +4 -4
- package/chunks/bundle-3DH6zZHH.js.map +1 -0
- package/chunks/{bundle-YetIEB9o.js → bundle-3f1my2Ir.js} +2 -2
- package/chunks/bundle-3f1my2Ir.js.map +1 -0
- package/chunks/{bundle-9wFvMqxF.js → bundle-46qOcsB3.js} +1 -1
- package/chunks/{bundle-9wFvMqxF.js.map → bundle-46qOcsB3.js.map} +1 -1
- package/chunks/{bundle-e5lT4U6_.js → bundle-5FiMKfdx.js} +4 -2
- package/chunks/bundle-5FiMKfdx.js.map +1 -0
- package/chunks/{bundle-YoiKtyRA.js → bundle-5rAtBp8F.js} +3 -3
- package/chunks/{bundle-YoiKtyRA.js.map → bundle-5rAtBp8F.js.map} +1 -1
- package/chunks/{bundle-YBExtK73.js → bundle-67KZd0Wh.js} +3 -10
- package/chunks/bundle-67KZd0Wh.js.map +1 -0
- package/chunks/{bundle-brky8TnE.js → bundle-7128atOc.js} +1 -1
- package/chunks/bundle-7128atOc.js.map +1 -0
- package/chunks/{bundle-BnMLjoeD.js → bundle-7RxHW-e9.js} +2 -2
- package/chunks/{bundle-BnMLjoeD.js.map → bundle-7RxHW-e9.js.map} +1 -1
- package/chunks/{bundle-WSNk7jGd.js → bundle-7cTKRmbK.js} +6 -6
- package/chunks/bundle-7cTKRmbK.js.map +1 -0
- package/chunks/{bundle-SI8TVXcF.js → bundle-7h36Ded4.js} +1 -1
- package/chunks/bundle-7h36Ded4.js.map +1 -0
- package/chunks/{bundle-KwnXXB-s.js → bundle-7nI0MJOs.js} +1 -1
- package/chunks/bundle-7nI0MJOs.js.map +1 -0
- package/chunks/{bundle-9M3o3hPA.js → bundle-8C68O5Qm.js} +8 -8
- package/chunks/{bundle-9M3o3hPA.js.map → bundle-8C68O5Qm.js.map} +1 -1
- package/chunks/{bundle-QWYghVSN.js → bundle-8M13Uq7P.js} +3 -3
- package/chunks/{bundle-QWYghVSN.js.map → bundle-8M13Uq7P.js.map} +1 -1
- package/chunks/{bundle--M9av9I5.js → bundle-8PbcZ5aj.js} +1 -1
- package/chunks/bundle-8PbcZ5aj.js.map +1 -0
- package/chunks/{bundle-fgZJ6wUh.js → bundle-94myZnyI.js} +2 -2
- package/chunks/bundle-94myZnyI.js.map +1 -0
- package/chunks/{bundle-1kYamWYQ.js → bundle-9nrFshYX.js} +4 -4
- package/chunks/{bundle-1kYamWYQ.js.map → bundle-9nrFshYX.js.map} +1 -1
- package/chunks/{bundle-zqJVlTpN.js → bundle-9vFMqSQw.js} +4 -4
- package/chunks/bundle-9vFMqSQw.js.map +1 -0
- package/chunks/{bundle-fNYexgBr.js → bundle-Br-kF2rc.js} +5 -5
- package/chunks/{bundle-fNYexgBr.js.map → bundle-Br-kF2rc.js.map} +1 -1
- package/chunks/{bundle-2xEG_fol.js → bundle-BvxbprFR.js} +6 -8
- package/chunks/bundle-BvxbprFR.js.map +1 -0
- package/chunks/{bundle--LjMBMp3.js → bundle-BxGOQnDI.js} +10 -10
- package/chunks/{bundle--LjMBMp3.js.map → bundle-BxGOQnDI.js.map} +1 -1
- package/chunks/{bundle-R5n5AVj8.js → bundle-DDOXEDJp.js} +1 -1
- package/chunks/bundle-DDOXEDJp.js.map +1 -0
- package/chunks/{bundle-5cvB_UbP.js → bundle-F-lMyjp-.js} +1 -1
- package/chunks/bundle-F-lMyjp-.js.map +1 -0
- package/chunks/bundle-FVeeTX_F.js +86 -0
- package/chunks/bundle-FVeeTX_F.js.map +1 -0
- package/chunks/{bundle-IKRolu9P.js → bundle-GM_JyB6p.js} +2 -2
- package/chunks/{bundle-IKRolu9P.js.map → bundle-GM_JyB6p.js.map} +1 -1
- package/chunks/{bundle-jiwqHI-2.js → bundle-J-eeHkE5.js} +6 -13
- package/chunks/bundle-J-eeHkE5.js.map +1 -0
- package/chunks/{bundle-8GIaD9eE.js → bundle-JkQoCKWv.js} +3 -3
- package/chunks/{bundle-8GIaD9eE.js.map → bundle-JkQoCKWv.js.map} +1 -1
- package/chunks/{bundle-buXsGWIu.js → bundle-JlL_734C.js} +7 -13
- package/chunks/bundle-JlL_734C.js.map +1 -0
- package/chunks/bundle-KUOX5P0q.js +8 -0
- package/chunks/bundle-KUOX5P0q.js.map +1 -0
- package/chunks/{bundle-Xy9OskjJ.js → bundle-LG1mMxPr.js} +7 -7
- package/chunks/{bundle-Xy9OskjJ.js.map → bundle-LG1mMxPr.js.map} +1 -1
- package/chunks/{bundle-kP3o9aRv.js → bundle-Lgn5J-2T.js} +1 -1
- package/chunks/bundle-Lgn5J-2T.js.map +1 -0
- package/chunks/{bundle-4ab6nIKe.js → bundle-MYBkZ28K.js} +1 -1
- package/chunks/bundle-MYBkZ28K.js.map +1 -0
- package/chunks/{bundle-scS3KeKI.js → bundle-NOqfYbat.js} +11 -11
- package/chunks/{bundle-scS3KeKI.js.map → bundle-NOqfYbat.js.map} +1 -1
- package/chunks/{bundle-KNG-9gh9.js → bundle-N_nx28TN.js} +4 -4
- package/chunks/{bundle-KNG-9gh9.js.map → bundle-N_nx28TN.js.map} +1 -1
- package/chunks/{bundle-ncF5Vx6b.js → bundle-OZuyNhMv.js} +3 -3
- package/chunks/bundle-OZuyNhMv.js.map +1 -0
- package/chunks/{bundle-T7ZknK5s.js → bundle-Omjc0GuQ.js} +1 -1
- package/chunks/bundle-Omjc0GuQ.js.map +1 -0
- package/chunks/{bundle-uGz5dAkT.js → bundle-R2oWoix8.js} +10 -10
- package/chunks/{bundle-uGz5dAkT.js.map → bundle-R2oWoix8.js.map} +1 -1
- package/chunks/{bundle-hrqkDKRD.js → bundle-RX3fBZMu.js} +4 -4
- package/chunks/{bundle-hrqkDKRD.js.map → bundle-RX3fBZMu.js.map} +1 -1
- package/chunks/{bundle-qI3fzrBt.js → bundle-Rik09YnB.js} +1 -1
- package/chunks/bundle-Rik09YnB.js.map +1 -0
- package/chunks/{bundle-1XQGq5tE.js → bundle-RjOfwRD9.js} +1 -1
- package/chunks/bundle-RjOfwRD9.js.map +1 -0
- package/chunks/{bundle--4gDKFyU.js → bundle-TPqzf5St.js} +1 -1
- package/chunks/bundle-TPqzf5St.js.map +1 -0
- package/chunks/{bundle-RVuTQS9f.js → bundle-UXAf5PuY.js} +8 -19
- package/chunks/bundle-UXAf5PuY.js.map +1 -0
- package/chunks/{bundle-eGLEfc7r.js → bundle-UxZ7Yk8Z.js} +1 -1
- package/chunks/{bundle-8OBG2Jrw.js.map → bundle-UxZ7Yk8Z.js.map} +1 -1
- package/chunks/{bundle-veNmMfAH.js → bundle-V1r4qRh7.js} +11 -55
- package/chunks/bundle-V1r4qRh7.js.map +1 -0
- package/chunks/{bundle-RzWTDZDo.js → bundle-VC1JO5-p.js} +3 -3
- package/chunks/bundle-VC1JO5-p.js.map +1 -0
- package/chunks/{bundle-TlXrstq8.js → bundle-VhCdB2-c.js} +1 -1
- package/chunks/bundle-VhCdB2-c.js.map +1 -0
- package/chunks/{bundle-Edp-TIC7.js → bundle-VwgVuCHi.js} +15 -19
- package/chunks/{bundle-Edp-TIC7.js.map → bundle-VwgVuCHi.js.map} +1 -1
- package/chunks/{bundle-wICBtdE1.js → bundle-XL-KBWqW.js} +1 -1
- package/chunks/bundle-XL-KBWqW.js.map +1 -0
- package/chunks/{bundle-TEGbbRiE.js → bundle-XekDAFCE.js} +1 -1
- package/chunks/bundle-XekDAFCE.js.map +1 -0
- package/chunks/{bundle-_NUeDv_m.js → bundle-Z1D61u4a.js} +2 -1
- package/chunks/{bundle-_NUeDv_m.js.map → bundle-Z1D61u4a.js.map} +1 -1
- package/chunks/{bundle-QUJKjMCy.js → bundle-ZfA8OpRJ.js} +1 -1
- package/chunks/bundle-ZfA8OpRJ.js.map +1 -0
- package/chunks/{bundle-l7rDKrwx.js → bundle-_IIBqN54.js} +1 -1
- package/chunks/bundle-_IIBqN54.js.map +1 -0
- package/chunks/{bundle-0vtSUcHY.js → bundle-bBs0-8AF.js} +2 -2
- package/chunks/{bundle-0vtSUcHY.js.map → bundle-bBs0-8AF.js.map} +1 -1
- package/chunks/{bundle-u_1-OZu0.js → bundle-cYprLCVV.js} +2 -2
- package/chunks/{bundle-u_1-OZu0.js.map → bundle-cYprLCVV.js.map} +1 -1
- package/chunks/{bundle-92kzAxsw.js → bundle-cqMRshaU.js} +6 -6
- package/chunks/bundle-cqMRshaU.js.map +1 -0
- package/chunks/{bundle-Y0R5tada.js → bundle-dlgSS-h4.js} +3 -3
- package/chunks/{bundle-Y0R5tada.js.map → bundle-dlgSS-h4.js.map} +1 -1
- package/chunks/{bundle-b9LCaMtu.js → bundle-etzT3I0G.js} +1 -1
- package/chunks/bundle-etzT3I0G.js.map +1 -0
- package/chunks/{bundle-YOec1wfw.js → bundle-jKjzU1MT.js} +1 -1
- package/chunks/{bundle-YOec1wfw.js.map → bundle-jKjzU1MT.js.map} +1 -1
- package/chunks/{bundle-FqjGVIIM.js → bundle-jOlYtsGu.js} +5 -5
- package/chunks/{bundle-2xEG_fol.js.map → bundle-jOlYtsGu.js.map} +1 -1
- package/chunks/{bundle-bAvA5Udb.js → bundle-mGum5Avu.js} +3 -3
- package/chunks/bundle-mGum5Avu.js.map +1 -0
- package/chunks/{bundle-3hGhEhNx.js → bundle-mN_8ZHp6.js} +1 -1
- package/chunks/bundle-mN_8ZHp6.js.map +1 -0
- package/chunks/{bundle-K3gy6I7U.js → bundle-mPXz1Hjl.js} +1 -1
- package/chunks/bundle-mPXz1Hjl.js.map +1 -0
- package/chunks/{bundle-Npg4qQQD.js → bundle-nrzV0hwh.js} +1 -1
- package/chunks/bundle-nrzV0hwh.js.map +1 -0
- package/chunks/{bundle-pffuo01q.js → bundle-oesAmMyD.js} +2 -2
- package/chunks/bundle-oesAmMyD.js.map +1 -0
- package/chunks/{bundle-rOhl9tWD.js → bundle-opleCLJP.js} +1 -1
- package/chunks/bundle-opleCLJP.js.map +1 -0
- package/chunks/{bundle-OYvgeZlT.js → bundle-pSagaLQn.js} +4 -4
- package/chunks/bundle-pSagaLQn.js.map +1 -0
- package/chunks/{bundle-2lbcW98e.js → bundle-qxRcOzlA.js} +3 -3
- package/chunks/{bundle-2lbcW98e.js.map → bundle-qxRcOzlA.js.map} +1 -1
- package/chunks/{bundle-AAE0evYg.js → bundle-r8uICiMq.js} +3 -3
- package/chunks/bundle-r8uICiMq.js.map +1 -0
- package/chunks/{bundle-X1ee5Xag.js → bundle-rTlMQK8Z.js} +5 -14
- package/chunks/{bundle-X1ee5Xag.js.map → bundle-rTlMQK8Z.js.map} +1 -1
- package/chunks/{bundle-Dpt_A2Sv.js → bundle-rwD6SAkU.js} +6 -14
- package/chunks/bundle-rwD6SAkU.js.map +1 -0
- package/chunks/{bundle-2FXQWzCx.js → bundle-samkISwY.js} +8 -8
- package/chunks/{bundle-2FXQWzCx.js.map → bundle-samkISwY.js.map} +1 -1
- package/chunks/{bundle-kNzGDcl1.js → bundle-tmygoDRK.js} +4 -4
- package/chunks/{bundle-kNzGDcl1.js.map → bundle-tmygoDRK.js.map} +1 -1
- package/chunks/{bundle-zOkaSZl3.js → bundle-wbu1BRph.js} +3 -3
- package/chunks/bundle-wbu1BRph.js.map +1 -0
- package/chunks/{bundle-U_0F9z8c.js → bundle-xHxKphkV.js} +1 -1
- package/chunks/bundle-xHxKphkV.js.map +1 -0
- package/chunks/{bundle-2aZMC1gn.js → bundle-yGuAYhYN.js} +2 -2
- package/chunks/bundle-yGuAYhYN.js.map +1 -0
- package/chunks/{bundle-7RyEqo9-.js → bundle-zdgdWVyn.js} +3 -3
- package/chunks/bundle-zdgdWVyn.js.map +1 -0
- package/cjs/App.js +142 -393
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +37 -33
- package/cjs/Channel/components/ChannelHeader.js.map +1 -1
- package/cjs/Channel/components/ChannelUI.js +83 -70
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +35 -32
- package/cjs/Channel/components/FileViewer.js.map +1 -1
- package/cjs/Channel/components/FrozenNotification.js +7 -7
- package/cjs/Channel/components/Message.js +82 -56
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageFeedbackModal.js +9 -9
- package/cjs/Channel/components/MessageInput.js +56 -46
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageInputWrapper.js +76 -0
- package/cjs/Channel/components/MessageInputWrapper.js.map +1 -0
- package/cjs/Channel/components/MessageList.js +275 -68
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +33 -30
- package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/Channel/components/SuggestedMentionList.js +26 -26
- package/cjs/Channel/components/TypingIndicator.js +8 -8
- package/cjs/Channel/components/UnreadCount.js +9 -9
- package/cjs/Channel/context.js +25 -34
- package/cjs/Channel/context.js.map +1 -1
- package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -16
- package/cjs/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
- package/cjs/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/cjs/Channel/utils/getMessagePartsInfo.js +6 -6
- package/cjs/Channel.js +78 -70
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +28 -24
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +10 -10
- package/cjs/ChannelList/components/ChannelListUI.js +112 -44
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +43 -35
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/cjs/ChannelList/context.js +10 -10
- package/cjs/ChannelList.js +42 -41
- package/cjs/ChannelList.js.map +1 -1
- 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 +3 -3
- 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 +50 -0
- package/cjs/GroupChannel/components/FileViewer.js.map +1 -0
- package/cjs/{chunks/bundle-Y4f3TKLP.js → GroupChannel/components/FrozenNotification.js} +9 -3
- package/cjs/GroupChannel/components/FrozenNotification.js.map +1 -0
- package/cjs/GroupChannel/components/GroupChannelHeader.js +47 -0
- package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -0
- package/cjs/GroupChannel/components/GroupChannelUI.js +148 -0
- package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -0
- package/cjs/GroupChannel/components/Message.js +137 -0
- package/cjs/GroupChannel/components/Message.js.map +1 -0
- package/cjs/GroupChannel/components/MessageInputWrapper.js +93 -0
- package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -0
- package/cjs/GroupChannel/components/MessageList.js +235 -0
- package/cjs/{chunks/bundle-qLmNEs3L.js.map → GroupChannel/components/MessageList.js.map} +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +47 -0
- package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -0
- package/cjs/GroupChannel/components/SuggestedMentionList.js +28 -0
- package/cjs/GroupChannel/components/SuggestedMentionList.js.map +1 -0
- package/cjs/GroupChannel/components/SuggestedReplies.js +25 -0
- package/cjs/GroupChannel/components/SuggestedReplies.js.map +1 -0
- package/cjs/{chunks/bundle-jI1VVAdg.js → GroupChannel/components/TypingIndicator.js} +12 -5
- package/cjs/GroupChannel/components/TypingIndicator.js.map +1 -0
- package/cjs/{chunks/bundle-UmkcFSLj.js → GroupChannel/components/UnreadCount.js} +12 -5
- package/cjs/GroupChannel/components/UnreadCount.js.map +1 -0
- package/cjs/{chunks/bundle-xbwLn6pV.js → GroupChannel/context.js} +36 -156
- package/cjs/{chunks/bundle-eG-yFfLY.js.map → GroupChannel/context.js.map} +1 -1
- package/cjs/GroupChannel.js +146 -0
- package/cjs/GroupChannel.js.map +1 -0
- package/cjs/GroupChannelList/components/AddGroupChannel.js +56 -0
- package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -0
- package/cjs/{chunks/bundle-W789Mnl2.js → GroupChannelList/components/GroupChannelListHeader.js} +16 -5
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js.map +1 -0
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +61 -0
- package/cjs/GroupChannelList/components/GroupChannelListItem.js.map +1 -0
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +128 -0
- package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -0
- package/cjs/{chunks/bundle-dSLJZu7j.js → GroupChannelList/components/GroupChannelPreviewAction.js} +29 -13
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -0
- package/cjs/GroupChannelList/context.js +112 -0
- package/cjs/GroupChannelList/context.js.map +1 -0
- package/cjs/GroupChannelList.js +87 -0
- package/cjs/GroupChannelList.js.map +1 -0
- 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 +22 -22
- 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 +173 -53
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +60 -58
- package/cjs/Thread/components/ThreadUI.js.map +1 -1
- package/cjs/Thread/context.js +11 -11
- package/cjs/Thread.js +59 -57
- package/cjs/Thread.js.map +1 -1
- 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-mNGciuzV.js → bundle--ygAOWyl.js} +3 -3
- package/cjs/chunks/bundle--ygAOWyl.js.map +1 -0
- package/cjs/chunks/{bundle-aetFglQl.js → bundle-0JDC4wle.js} +2 -2
- package/cjs/chunks/{bundle-aetFglQl.js.map → bundle-0JDC4wle.js.map} +1 -1
- package/cjs/chunks/{bundle-jP-1bn23.js → bundle-1Kqo8Utk.js} +1 -1
- package/cjs/chunks/bundle-1Kqo8Utk.js.map +1 -0
- package/cjs/chunks/{bundle-X6IgWOv5.js → bundle-1q18oFrr.js} +3 -3
- package/cjs/chunks/bundle-1q18oFrr.js.map +1 -0
- package/cjs/chunks/{bundle-aQOJcXCO.js → bundle-31Znhf75.js} +6 -6
- package/cjs/chunks/bundle-31Znhf75.js.map +1 -0
- package/cjs/chunks/{bundle-hlZ6VwkW.js → bundle-3my94NZb.js} +1 -1
- package/cjs/chunks/bundle-3my94NZb.js.map +1 -0
- package/cjs/chunks/{bundle-r9E_mzs-.js → bundle-40a4LzCe.js} +3 -3
- package/cjs/chunks/bundle-40a4LzCe.js.map +1 -0
- package/cjs/chunks/{bundle-A7TvCVbX.js → bundle-4_qnUKIC.js} +1 -1
- package/cjs/chunks/bundle-4_qnUKIC.js.map +1 -0
- package/cjs/chunks/{bundle-KloNxGOC.js → bundle-7S9yo7uc.js} +3 -3
- package/{chunks/bundle-szN3I4WN.js.map → cjs/chunks/bundle-7S9yo7uc.js.map} +1 -1
- package/cjs/chunks/{bundle-4QpLkquA.js → bundle-7hPt-3N9.js} +7 -7
- package/cjs/chunks/bundle-7hPt-3N9.js.map +1 -0
- package/cjs/chunks/{bundle-a3DGXthf.js → bundle-7qCJ1BsN.js} +5 -5
- package/cjs/chunks/bundle-7qCJ1BsN.js.map +1 -0
- package/cjs/chunks/{bundle-BrOubGHT.js → bundle-83aDMaJz.js} +5 -13
- package/cjs/chunks/bundle-83aDMaJz.js.map +1 -0
- package/cjs/chunks/{bundle-V4Gdewny.js → bundle-8jmUxywc.js} +1 -1
- package/cjs/chunks/bundle-8jmUxywc.js.map +1 -0
- package/cjs/chunks/{bundle-YvcRCGBd.js → bundle-98I9HrXW.js} +4 -4
- package/cjs/chunks/bundle-98I9HrXW.js.map +1 -0
- package/cjs/chunks/{bundle-qXInmu7W.js → bundle-9G4y8IUf.js} +3 -3
- package/cjs/chunks/bundle-9G4y8IUf.js.map +1 -0
- package/cjs/chunks/{bundle-8XvxyLQN.js → bundle-AN2XvUtp.js} +1 -1
- package/cjs/chunks/bundle-AN2XvUtp.js.map +1 -0
- package/cjs/chunks/{bundle-kYfqAttM.js → bundle-B3exQvX0.js} +1 -1
- package/cjs/chunks/bundle-B3exQvX0.js.map +1 -0
- package/cjs/chunks/{bundle-eG-yFfLY.js → bundle-BIo8a3gP.js} +3 -3
- package/{chunks/bundle-d31Dx4g9.js.map → cjs/chunks/bundle-BIo8a3gP.js.map} +1 -1
- package/cjs/chunks/{bundle-QU7zbepl.js → bundle-ECik2x9q.js} +4 -4
- package/cjs/chunks/bundle-ECik2x9q.js.map +1 -0
- package/cjs/chunks/{bundle-E1H3DQtB.js → bundle-G3wIPH8m.js} +3 -3
- package/cjs/chunks/bundle-G3wIPH8m.js.map +1 -0
- package/cjs/chunks/{bundle-_vyDAzUb.js → bundle-G8VoSPnT.js} +1 -1
- package/cjs/chunks/bundle-G8VoSPnT.js.map +1 -0
- package/cjs/chunks/{bundle-jUxjf8aL.js → bundle-GVX1pgQE.js} +7 -7
- package/cjs/chunks/{bundle-jUxjf8aL.js.map → bundle-GVX1pgQE.js.map} +1 -1
- package/cjs/chunks/{bundle-Eq5GnDnz.js → bundle-HxNp6IgG.js} +10 -10
- package/cjs/chunks/{bundle-Eq5GnDnz.js.map → bundle-HxNp6IgG.js.map} +1 -1
- package/cjs/chunks/{bundle-mk0LQISG.js → bundle-I85dteYT.js} +3 -3
- package/cjs/chunks/bundle-I85dteYT.js.map +1 -0
- package/cjs/chunks/{bundle-kLhcU0Bg.js → bundle-KLiWyyBv.js} +3 -3
- package/cjs/chunks/bundle-KLiWyyBv.js.map +1 -0
- package/cjs/chunks/{bundle-dwD6gaHJ.js → bundle-L-INlcEY.js} +1 -1
- package/cjs/chunks/bundle-L-INlcEY.js.map +1 -0
- package/cjs/chunks/{bundle-Pcl0nMWb.js → bundle-L6Jk8Ayi.js} +5 -5
- package/cjs/chunks/bundle-L6Jk8Ayi.js.map +1 -0
- package/cjs/chunks/{bundle-Ne8lK39C.js → bundle-MRTWQD0M.js} +2 -2
- package/cjs/chunks/bundle-MRTWQD0M.js.map +1 -0
- package/cjs/chunks/{bundle--t70CDfb.js → bundle-Mku2L7HX.js} +6 -6
- package/cjs/chunks/bundle-Mku2L7HX.js.map +1 -0
- package/cjs/chunks/{bundle--zfwoPVm.js → bundle-NO9KjD6-.js} +1 -1
- package/cjs/chunks/bundle-NO9KjD6-.js.map +1 -0
- package/cjs/chunks/{bundle-H3iUL9jU.js → bundle-Pp2hAi9g.js} +1 -1
- package/cjs/chunks/bundle-Pp2hAi9g.js.map +1 -0
- package/cjs/chunks/{bundle-0LtiaxJx.js → bundle-PzNWj1Ya.js} +1 -1
- package/cjs/chunks/bundle-PzNWj1Ya.js.map +1 -0
- package/cjs/chunks/bundle-RjWuJw-3.js +88 -0
- package/cjs/chunks/bundle-RjWuJw-3.js.map +1 -0
- package/cjs/chunks/{bundle-2wF6U5Rf.js → bundle-SNQZJo5u.js} +3 -3
- package/cjs/chunks/{bundle-2wF6U5Rf.js.map → bundle-SNQZJo5u.js.map} +1 -1
- package/cjs/chunks/{bundle-8oh3Iidd.js → bundle-SSVfUJDa.js} +2 -2
- package/cjs/chunks/{bundle-8oh3Iidd.js.map → bundle-SSVfUJDa.js.map} +1 -1
- package/cjs/chunks/{bundle-bNp99ZTk.js → bundle-SY2qr3yT.js} +1 -1
- package/cjs/chunks/bundle-SY2qr3yT.js.map +1 -0
- package/cjs/chunks/{bundle-y7MhfXfx.js → bundle-Sp0Vzjeq.js} +1 -1
- package/cjs/chunks/bundle-Sp0Vzjeq.js.map +1 -0
- package/cjs/chunks/bundle-TEAixAXm.js +8 -0
- package/cjs/chunks/bundle-TEAixAXm.js.map +1 -0
- package/cjs/chunks/{bundle-5E4_BBHS.js → bundle-U81js22j.js} +5 -14
- package/cjs/chunks/bundle-U81js22j.js.map +1 -0
- package/cjs/chunks/{bundle--yF0PJ6E.js → bundle-VSxKlJiY.js} +5 -1
- package/cjs/chunks/bundle-VSxKlJiY.js.map +1 -0
- package/cjs/chunks/{bundle-EsJltkVm.js → bundle-WnDkk4j0.js} +1 -1
- package/cjs/chunks/bundle-WnDkk4j0.js.map +1 -0
- package/cjs/chunks/{bundle-DgcTM2HW.js → bundle-Zjbgztcu.js} +1 -1
- package/cjs/chunks/bundle-Zjbgztcu.js.map +1 -0
- package/cjs/chunks/{bundle-1CojrMYd.js → bundle-_BACdERA.js} +1 -1
- package/cjs/chunks/bundle-_BACdERA.js.map +1 -0
- package/cjs/chunks/{bundle-p1TqI4uJ.js → bundle-_P-b1GDT.js} +4 -4
- package/cjs/chunks/{bundle-p1TqI4uJ.js.map → bundle-_P-b1GDT.js.map} +1 -1
- package/cjs/chunks/{bundle-ZpJLlgNE.js → bundle-aMzX7VhJ.js} +6 -8
- package/cjs/chunks/bundle-aMzX7VhJ.js.map +1 -0
- package/cjs/chunks/{bundle-uubJJzRW.js → bundle-ac8CNkHD.js} +1 -1
- package/cjs/chunks/bundle-ac8CNkHD.js.map +1 -0
- package/cjs/chunks/{bundle-3-zCFAsZ.js → bundle-cTA4XRQz.js} +3 -3
- package/cjs/chunks/{bundle-3-zCFAsZ.js.map → bundle-cTA4XRQz.js.map} +1 -1
- package/cjs/chunks/{bundle-YxnuYJcD.js → bundle-cjPeUrcf.js} +1 -1
- package/cjs/chunks/bundle-cjPeUrcf.js.map +1 -0
- package/cjs/chunks/{bundle-08DJamJs.js → bundle-cuXn941P.js} +2 -1
- package/cjs/chunks/bundle-cuXn941P.js.map +1 -0
- package/cjs/chunks/{bundle-hCR6GZHZ.js → bundle-dRMOPP7T.js} +4 -4
- package/{chunks/bundle-jamufWw7.js.map → cjs/chunks/bundle-dRMOPP7T.js.map} +1 -1
- package/cjs/chunks/{bundle-xv7LjcKq.js → bundle-gKfBWs5Z.js} +1 -1
- package/cjs/chunks/bundle-gKfBWs5Z.js.map +1 -0
- package/cjs/chunks/{bundle-LFW-mAQF.js → bundle-h40wCyHM.js} +1 -1
- package/cjs/chunks/bundle-h40wCyHM.js.map +1 -0
- package/cjs/chunks/{bundle-Dy4KUUCa.js → bundle-hlXVvUFU.js} +1 -9
- package/cjs/chunks/bundle-hlXVvUFU.js.map +1 -0
- package/cjs/chunks/{bundle-mvH436V0.js → bundle-jL6J2ZGE.js} +1 -1
- package/cjs/chunks/bundle-jL6J2ZGE.js.map +1 -0
- package/cjs/chunks/{bundle-WWYVAaVT.js → bundle-kp4rHxFj.js} +3 -3
- package/cjs/chunks/bundle-kp4rHxFj.js.map +1 -0
- package/cjs/chunks/{bundle-lHnGN-3L.js → bundle-l18lIHqV.js} +1 -1
- package/cjs/chunks/bundle-l18lIHqV.js.map +1 -0
- package/cjs/chunks/{bundle-uBPLEBjK.js → bundle-mCVRGUkl.js} +2 -2
- package/cjs/chunks/bundle-mCVRGUkl.js.map +1 -0
- package/cjs/chunks/{bundle-Kwa0c8dM.js → bundle-mPK9VGR0.js} +1 -1
- package/cjs/chunks/bundle-mPK9VGR0.js.map +1 -0
- package/cjs/chunks/{bundle-qjc3EF_B.js → bundle-mYCCMkSO.js} +1 -1
- package/cjs/chunks/bundle-mYCCMkSO.js.map +1 -0
- package/cjs/chunks/{bundle-zuVbTz4t.js → bundle-nFCXCRnQ.js} +2 -2
- package/cjs/chunks/bundle-nFCXCRnQ.js.map +1 -0
- package/cjs/chunks/bundle-naQEIYGP.js +69 -0
- package/cjs/chunks/bundle-naQEIYGP.js.map +1 -0
- package/cjs/chunks/{bundle-om7V4Kmd.js → bundle-oMHrTlRN.js} +3 -3
- package/cjs/chunks/bundle-oMHrTlRN.js.map +1 -0
- package/cjs/chunks/{bundle-gjgpE5zc.js → bundle-p2ei7o2m.js} +11 -11
- package/cjs/chunks/{bundle-gjgpE5zc.js.map → bundle-p2ei7o2m.js.map} +1 -1
- package/cjs/chunks/{bundle-FHJHaFw9.js → bundle-pnCKgq1p.js} +11 -56
- package/cjs/chunks/bundle-pnCKgq1p.js.map +1 -0
- package/cjs/chunks/{bundle-4ndIl1vM.js → bundle-pnXfU14e.js} +8 -8
- package/cjs/chunks/{bundle-4ndIl1vM.js.map → bundle-pnXfU14e.js.map} +1 -1
- package/cjs/chunks/{bundle-ubmIpm9y.js → bundle-qTpNvbyy.js} +1 -1
- package/cjs/chunks/{bundle-ubmIpm9y.js.map → bundle-qTpNvbyy.js.map} +1 -1
- package/cjs/chunks/{bundle-A_nlAok6.js → bundle-smspHY3g.js} +10 -10
- package/cjs/chunks/bundle-smspHY3g.js.map +1 -0
- package/cjs/chunks/{bundle-49TaYIAY.js → bundle-szNiJOoj.js} +3 -3
- package/cjs/chunks/bundle-szNiJOoj.js.map +1 -0
- package/cjs/chunks/{bundle-BMB3xh2i.js → bundle-tlScTb1q.js} +1 -1
- package/cjs/chunks/bundle-tlScTb1q.js.map +1 -0
- package/cjs/chunks/{bundle-eg9jnWPm.js → bundle-ttLl6tqv.js} +1 -1
- package/cjs/chunks/{bundle-eg9jnWPm.js.map → bundle-ttLl6tqv.js.map} +1 -1
- package/cjs/chunks/{bundle-hzGTyicd.js → bundle-v-iEVf7X.js} +5 -14
- package/cjs/chunks/{bundle-hzGTyicd.js.map → bundle-v-iEVf7X.js.map} +1 -1
- package/cjs/chunks/{bundle-Z6FnnPza.js → bundle-vN6Le9sy.js} +1 -1
- package/cjs/chunks/bundle-vN6Le9sy.js.map +1 -0
- package/cjs/chunks/{bundle-m_0K8NXX.js → bundle-vx2itBKI.js} +1 -1
- package/cjs/chunks/bundle-vx2itBKI.js.map +1 -0
- package/cjs/chunks/{bundle-o2O3PYyl.js → bundle-w450_AIz.js} +16 -20
- package/cjs/chunks/{bundle-o2O3PYyl.js.map → bundle-w450_AIz.js.map} +1 -1
- package/cjs/chunks/{bundle-0TRHdH1v.js → bundle-wKMTgv_N.js} +2 -2
- package/cjs/chunks/{bundle-0TRHdH1v.js.map → bundle-wKMTgv_N.js.map} +1 -1
- package/cjs/chunks/{bundle-Ok99sReN.js → bundle-wVlRBt78.js} +1 -1
- package/cjs/chunks/bundle-wVlRBt78.js.map +1 -0
- package/cjs/chunks/{bundle-3MlXHMIm.js → bundle-x15u4MXa.js} +8 -20
- package/cjs/chunks/bundle-x15u4MXa.js.map +1 -0
- package/cjs/chunks/{bundle-1WCZv5Jt.js → bundle-y9eM9Vz6.js} +4 -4
- package/cjs/chunks/bundle-y9eM9Vz6.js.map +1 -0
- package/cjs/chunks/{bundle-oLo1K2bf.js → bundle-zC9tSqim.js} +10 -10
- package/cjs/chunks/bundle-zC9tSqim.js.map +1 -0
- package/cjs/chunks/{bundle-OlL6NpZd.js → bundle-zKwOBTKD.js} +6 -13
- package/cjs/chunks/bundle-zKwOBTKD.js.map +1 -0
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +128 -103
- 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/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 +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/MentionLabel.js +13 -13
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +34 -34
- package/cjs/ui/MessageInput/hooks/usePaste.js +5 -5
- package/cjs/ui/MessageInput.js +15 -15
- 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/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/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 +14 -14
- 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 +17 -37
- package/cjs/ui/Word.js.map +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +3 -3
- package/cjs/withSendbird.js +1 -1
- package/dist/index.css +71 -85
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +127 -102
- package/index.js.map +1 -1
- package/package.json +202 -4
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/lib/hooks/useConnect/connect.d.ts +1 -1
- package/types/modules/ChannelList/components/ChannelListUI/index.d.ts +4 -5
- package/types/modules/ChannelList/components/ChannelPreview/index.d.ts +4 -12
- package/types/modules/ChannelList/components/ChannelPreviewAction.d.ts +2 -9
- package/types/modules/GroupChannel/components/GroupChannelUI/GroupChannelUIView.d.ts +1 -1
- package/types/modules/GroupChannel/components/SuggestedReplies/index.d.ts +1 -1
- package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +2 -1
- package/types/modules/GroupChannelList/components/GroupChannelListItem/GroupChannelListItemView.d.ts +11 -9
- package/types/modules/GroupChannelList/components/GroupChannelListItem/index.d.ts +2 -13
- package/types/modules/GroupChannelList/components/GroupChannelListUI/GroupChannelListUIView.d.ts +1 -0
- package/types/modules/GroupChannelList/components/GroupChannelListUI/index.d.ts +3 -5
- package/types/modules/GroupChannelList/components/GroupChannelPreviewAction.d.ts +4 -4
- package/types/ui/Label/stringSet.d.ts +1 -0
- package/types/utils/consts.d.ts +2 -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/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 +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/MentionLabel.js +13 -13
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +34 -34
- package/ui/MessageInput/hooks/usePaste.js +5 -5
- package/ui/MessageInput.js +15 -15
- 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/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/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 +14 -14
- package/ui/UserProfile.js +10 -10
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +17 -37
- package/ui/Word.js.map +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +3 -3
- package/withSendbird.js +1 -1
- package/chunks/bundle--4gDKFyU.js.map +0 -1
- package/chunks/bundle--M9av9I5.js.map +0 -1
- package/chunks/bundle-0Pl6hdf0.js.map +0 -1
- package/chunks/bundle-1XQGq5tE.js.map +0 -1
- package/chunks/bundle-2aZMC1gn.js.map +0 -1
- package/chunks/bundle-3hGhEhNx.js.map +0 -1
- package/chunks/bundle-4JVMIRVC.js.map +0 -1
- package/chunks/bundle-4ab6nIKe.js.map +0 -1
- package/chunks/bundle-5cvB_UbP.js.map +0 -1
- package/chunks/bundle-5x-SH0ln.js.map +0 -1
- package/chunks/bundle-72sPkBu4.js.map +0 -1
- package/chunks/bundle-7RyEqo9-.js.map +0 -1
- package/chunks/bundle-92kzAxsw.js.map +0 -1
- package/chunks/bundle-A9vhM7uK.js.map +0 -1
- package/chunks/bundle-AAE0evYg.js.map +0 -1
- package/chunks/bundle-Dpt_A2Sv.js.map +0 -1
- package/chunks/bundle-FqjGVIIM.js.map +0 -1
- package/chunks/bundle-K3gy6I7U.js.map +0 -1
- package/chunks/bundle-KwnXXB-s.js.map +0 -1
- package/chunks/bundle-NFkyRDpH.js.map +0 -1
- package/chunks/bundle-Npg4qQQD.js.map +0 -1
- package/chunks/bundle-OYvgeZlT.js.map +0 -1
- package/chunks/bundle-QUJKjMCy.js.map +0 -1
- package/chunks/bundle-R5n5AVj8.js.map +0 -1
- package/chunks/bundle-RVuTQS9f.js.map +0 -1
- package/chunks/bundle-RzWTDZDo.js.map +0 -1
- package/chunks/bundle-SI8TVXcF.js.map +0 -1
- package/chunks/bundle-T7ZknK5s.js.map +0 -1
- package/chunks/bundle-TEGbbRiE.js.map +0 -1
- package/chunks/bundle-TlXrstq8.js.map +0 -1
- package/chunks/bundle-U_0F9z8c.js.map +0 -1
- package/chunks/bundle-WSNk7jGd.js.map +0 -1
- package/chunks/bundle-YBExtK73.js.map +0 -1
- package/chunks/bundle-YetIEB9o.js.map +0 -1
- package/chunks/bundle-b9LCaMtu.js.map +0 -1
- package/chunks/bundle-bAvA5Udb.js.map +0 -1
- package/chunks/bundle-brky8TnE.js.map +0 -1
- package/chunks/bundle-buXsGWIu.js.map +0 -1
- package/chunks/bundle-dMLt2ro9.js.map +0 -1
- package/chunks/bundle-e5lT4U6_.js.map +0 -1
- package/chunks/bundle-eGLEfc7r.js.map +0 -1
- package/chunks/bundle-fgZJ6wUh.js.map +0 -1
- package/chunks/bundle-iXzQekqM.js +0 -120
- package/chunks/bundle-iXzQekqM.js.map +0 -1
- package/chunks/bundle-jamufWw7.js +0 -230
- package/chunks/bundle-jiwqHI-2.js.map +0 -1
- package/chunks/bundle-kP3o9aRv.js.map +0 -1
- package/chunks/bundle-l7rDKrwx.js.map +0 -1
- package/chunks/bundle-laq4Cm2M.js.map +0 -1
- package/chunks/bundle-ncF5Vx6b.js.map +0 -1
- package/chunks/bundle-pffuo01q.js.map +0 -1
- package/chunks/bundle-qI3fzrBt.js.map +0 -1
- package/chunks/bundle-rOhl9tWD.js.map +0 -1
- package/chunks/bundle-szN3I4WN.js +0 -199
- package/chunks/bundle-veNmMfAH.js.map +0 -1
- package/chunks/bundle-wICBtdE1.js.map +0 -1
- package/chunks/bundle-zOkaSZl3.js.map +0 -1
- package/chunks/bundle-zqJVlTpN.js.map +0 -1
- package/cjs/chunks/bundle--t70CDfb.js.map +0 -1
- package/cjs/chunks/bundle--yF0PJ6E.js.map +0 -1
- package/cjs/chunks/bundle--zfwoPVm.js.map +0 -1
- package/cjs/chunks/bundle-08DJamJs.js.map +0 -1
- package/cjs/chunks/bundle-0LtiaxJx.js.map +0 -1
- package/cjs/chunks/bundle-1CojrMYd.js.map +0 -1
- package/cjs/chunks/bundle-1WCZv5Jt.js.map +0 -1
- package/cjs/chunks/bundle-3MlXHMIm.js.map +0 -1
- package/cjs/chunks/bundle-49TaYIAY.js.map +0 -1
- package/cjs/chunks/bundle-4QpLkquA.js.map +0 -1
- package/cjs/chunks/bundle-5E4_BBHS.js.map +0 -1
- package/cjs/chunks/bundle-8XvxyLQN.js.map +0 -1
- package/cjs/chunks/bundle-A7TvCVbX.js.map +0 -1
- package/cjs/chunks/bundle-A_nlAok6.js.map +0 -1
- package/cjs/chunks/bundle-BMB3xh2i.js.map +0 -1
- package/cjs/chunks/bundle-BrOubGHT.js.map +0 -1
- package/cjs/chunks/bundle-DgcTM2HW.js.map +0 -1
- package/cjs/chunks/bundle-Dy4KUUCa.js.map +0 -1
- package/cjs/chunks/bundle-E1H3DQtB.js.map +0 -1
- package/cjs/chunks/bundle-EsJltkVm.js.map +0 -1
- package/cjs/chunks/bundle-FHJHaFw9.js.map +0 -1
- package/cjs/chunks/bundle-H3iUL9jU.js.map +0 -1
- package/cjs/chunks/bundle-KloNxGOC.js.map +0 -1
- package/cjs/chunks/bundle-Kwa0c8dM.js.map +0 -1
- package/cjs/chunks/bundle-LFW-mAQF.js.map +0 -1
- package/cjs/chunks/bundle-MF7Mgc0Z.js +0 -204
- package/cjs/chunks/bundle-MF7Mgc0Z.js.map +0 -1
- package/cjs/chunks/bundle-Ne8lK39C.js.map +0 -1
- package/cjs/chunks/bundle-Ok99sReN.js.map +0 -1
- package/cjs/chunks/bundle-OlL6NpZd.js.map +0 -1
- package/cjs/chunks/bundle-Pcl0nMWb.js.map +0 -1
- package/cjs/chunks/bundle-QU7zbepl.js.map +0 -1
- package/cjs/chunks/bundle-Rs2C3Gv0.js +0 -123
- package/cjs/chunks/bundle-Rs2C3Gv0.js.map +0 -1
- package/cjs/chunks/bundle-UmkcFSLj.js.map +0 -1
- package/cjs/chunks/bundle-V4Gdewny.js.map +0 -1
- package/cjs/chunks/bundle-W789Mnl2.js.map +0 -1
- package/cjs/chunks/bundle-WWYVAaVT.js.map +0 -1
- package/cjs/chunks/bundle-X6IgWOv5.js.map +0 -1
- package/cjs/chunks/bundle-Y4f3TKLP.js.map +0 -1
- package/cjs/chunks/bundle-YvcRCGBd.js.map +0 -1
- package/cjs/chunks/bundle-YxnuYJcD.js.map +0 -1
- package/cjs/chunks/bundle-Z6FnnPza.js.map +0 -1
- package/cjs/chunks/bundle-ZpJLlgNE.js.map +0 -1
- package/cjs/chunks/bundle-_vyDAzUb.js.map +0 -1
- package/cjs/chunks/bundle-a3DGXthf.js.map +0 -1
- package/cjs/chunks/bundle-aQOJcXCO.js.map +0 -1
- package/cjs/chunks/bundle-bNp99ZTk.js.map +0 -1
- package/cjs/chunks/bundle-dSLJZu7j.js.map +0 -1
- package/cjs/chunks/bundle-dwD6gaHJ.js.map +0 -1
- package/cjs/chunks/bundle-hlZ6VwkW.js.map +0 -1
- package/cjs/chunks/bundle-jI1VVAdg.js.map +0 -1
- package/cjs/chunks/bundle-jP-1bn23.js.map +0 -1
- package/cjs/chunks/bundle-kLhcU0Bg.js.map +0 -1
- package/cjs/chunks/bundle-kYfqAttM.js.map +0 -1
- package/cjs/chunks/bundle-lHnGN-3L.js.map +0 -1
- package/cjs/chunks/bundle-mNGciuzV.js.map +0 -1
- package/cjs/chunks/bundle-m_0K8NXX.js.map +0 -1
- package/cjs/chunks/bundle-mk0LQISG.js.map +0 -1
- package/cjs/chunks/bundle-mvH436V0.js.map +0 -1
- package/cjs/chunks/bundle-oLo1K2bf.js.map +0 -1
- package/cjs/chunks/bundle-om7V4Kmd.js.map +0 -1
- package/cjs/chunks/bundle-qLmNEs3L.js +0 -232
- package/cjs/chunks/bundle-qXInmu7W.js.map +0 -1
- package/cjs/chunks/bundle-qjc3EF_B.js.map +0 -1
- package/cjs/chunks/bundle-r9E_mzs-.js.map +0 -1
- package/cjs/chunks/bundle-uBPLEBjK.js.map +0 -1
- package/cjs/chunks/bundle-uubJJzRW.js.map +0 -1
- package/cjs/chunks/bundle-xv7LjcKq.js.map +0 -1
- package/cjs/chunks/bundle-y7MhfXfx.js.map +0 -1
- package/cjs/chunks/bundle-zuVbTz4t.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConnectionHandler } from '@sendbird/chat';
|
|
2
2
|
import { useState, useEffect, useLayoutEffect, useMemo } from 'react';
|
|
3
|
-
import { u as uuidv4 } from './bundle-
|
|
4
|
-
import {
|
|
3
|
+
import { u as uuidv4 } from './bundle-7128atOc.js';
|
|
4
|
+
import { a as __awaiter, b as __generator } from './bundle-bBs0-8AF.js';
|
|
5
5
|
|
|
6
6
|
function useOnlineStatus(sdk, logger) {
|
|
7
7
|
var _a, _b;
|
|
@@ -194,4 +194,4 @@ function useMarkAsDeliveredScheduler(_a, _b) {
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
export { useMarkAsDeliveredScheduler as a, useUnmount as b, schedulerFactory as s, useOnlineStatus as u };
|
|
197
|
-
//# sourceMappingURL=bundle-
|
|
197
|
+
//# sourceMappingURL=bundle-5rAtBp8F.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-5rAtBp8F.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React__default
|
|
2
|
-
import { u as useChannelListContext } from './bundle--LjMBMp3.js';
|
|
1
|
+
import React__default from 'react';
|
|
3
2
|
import IconButton from '../ui/IconButton.js';
|
|
4
3
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
5
4
|
import CreateChannel from '../CreateChannel.js';
|
|
@@ -17,11 +16,5 @@ var AddGroupChannelView = function (_a) {
|
|
|
17
16
|
}, onBeforeCreateChannel: onBeforeCreateChannel, onCreateChannelClick: onCreateChannelClick }))));
|
|
18
17
|
};
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
var _b = useChannelListContext(), overrideInviteUser = _b.overrideInviteUser, onBeforeCreateChannel = _b.onBeforeCreateChannel, onChannelSelect = _b.onChannelSelect;
|
|
23
|
-
return (React__default.createElement(AddGroupChannelView, { createChannelVisible: showModal, onChangeCreateChannelVisible: setShowModal, onCreateChannelClick: overrideInviteUser, onBeforeCreateChannel: onBeforeCreateChannel, onChannelCreated: onChannelSelect }));
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export { AddChannel as A, AddGroupChannelView as a };
|
|
27
|
-
//# sourceMappingURL=bundle-YBExtK73.js.map
|
|
19
|
+
export { AddGroupChannelView as A };
|
|
20
|
+
//# sourceMappingURL=bundle-67KZd0Wh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-67KZd0Wh.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-7128atOc.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-GM_JyB6p.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @name startOfDay
|
|
@@ -61,4 +61,4 @@ function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
export { isSameDay as i };
|
|
64
|
-
//# sourceMappingURL=bundle-
|
|
64
|
+
//# sourceMappingURL=bundle-7RxHW-e9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-7RxHW-e9.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 */\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 */\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;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;;ACvBA;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,11 +1,11 @@
|
|
|
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-cqMRshaU.js';
|
|
3
|
+
import './bundle-bBs0-8AF.js';
|
|
4
|
+
import './bundle-VC1JO5-p.js';
|
|
5
5
|
import { ButtonTypes } from '../ui/Button.js';
|
|
6
|
-
import { L as LocalizationContext } from './bundle-
|
|
6
|
+
import { L as LocalizationContext } from './bundle-wbu1BRph.js';
|
|
7
7
|
import { useThreadContext } from '../Thread/context.js';
|
|
8
|
-
import { g as getModalDeleteMessageTitle } from './bundle-
|
|
8
|
+
import { g as getModalDeleteMessageTitle } from './bundle-OZuyNhMv.js';
|
|
9
9
|
|
|
10
10
|
var RemoveMessage = function (props) {
|
|
11
11
|
var _a;
|
|
@@ -21,4 +21,4 @@ var RemoveMessage = function (props) {
|
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
export { RemoveMessage as R };
|
|
24
|
-
//# sourceMappingURL=bundle-
|
|
24
|
+
//# sourceMappingURL=bundle-7cTKRmbK.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-7cTKRmbK.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -54,4 +54,4 @@ var channelActions = /*#__PURE__*/Object.freeze({
|
|
|
54
54
|
});
|
|
55
55
|
|
|
56
56
|
export { FETCH_INITIAL_MESSAGES_START as F, MESSAGE_LIST_PARAMS_CHANGED as M, ON_MESSAGE_RECEIVED as O, RESET_MESSAGES as R, SEND_MESSAGE_START as S, FETCH_INITIAL_MESSAGES_SUCCESS as a, FETCH_INITIAL_MESSAGES_FAILURE as b, FETCH_PREV_MESSAGES_SUCCESS as c, FETCH_NEXT_MESSAGES_SUCCESS as d, FETCH_PREV_MESSAGES_FAILURE as e, FETCH_NEXT_MESSAGES_FAILURE as f, SEND_MESSAGE_SUCCESS as g, SEND_MESSAGE_FAILURE as h, SET_CURRENT_CHANNEL as i, SET_CHANNEL_INVALID as j, ON_MESSAGE_UPDATED as k, ON_MESSAGE_THREAD_INFO_UPDATED as l, RESEND_MESSAGE_START as m, MARK_AS_READ as n, ON_MESSAGE_DELETED as o, ON_MESSAGE_DELETED_BY_REQ_ID as p, SET_EMOJI_CONTAINER as q, ON_REACTION_UPDATED as r, ON_FILE_INFO_UPLOADED as s, ON_TYPING_STATUS_UPDATED as t, channelActions as u };
|
|
57
|
-
//# sourceMappingURL=bundle-
|
|
57
|
+
//# sourceMappingURL=bundle-7h36Ded4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-7h36Ded4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -39,4 +39,4 @@ var PUBSUB_TOPICS;
|
|
|
39
39
|
var pubSubTopics = PUBSUB_TOPICS;
|
|
40
40
|
|
|
41
41
|
export { PublishingModuleType as P, shouldPubSubPublishToThread as a, PUBSUB_TOPICS as b, pubSubTopics as p, shouldPubSubPublishToChannel as s };
|
|
42
|
-
//# sourceMappingURL=bundle-
|
|
42
|
+
//# sourceMappingURL=bundle-7nI0MJOs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-7nI0MJOs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as __spreadArray } from './bundle-bBs0-8AF.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { f as format } from './bundle-
|
|
3
|
+
import { f as format } from './bundle-GM_JyB6p.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
5
|
-
import { c as LabelStringSet, L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
5
|
+
import { c as LabelStringSet, L as Label, a as LabelTypography, b as LabelColors } from './bundle-VC1JO5-p.js';
|
|
6
6
|
import Loader from '../ui/Loader.js';
|
|
7
|
-
import {
|
|
7
|
+
import { k as isImage, A as isGif, j as isVideo, C as isAudio, D as isVoiceMessageMimeType, E as isSentStatus } from './bundle-RX3fBZMu.js';
|
|
8
8
|
import { getOutgoingMessageState, OutgoingMessageStates } from '../utils/message/getOutgoingMessageState.js';
|
|
9
|
-
import { i as isToday, a as isYesterday, b as isThisYear } from './bundle-
|
|
10
|
-
import { u as useLocalization } from './bundle-
|
|
9
|
+
import { i as isToday, a as isYesterday, b as isThisYear } from './bundle-qxRcOzlA.js';
|
|
10
|
+
import { u as useLocalization } from './bundle-wbu1BRph.js';
|
|
11
11
|
|
|
12
12
|
var getChannelTitle = function (channel, currentUserId, stringSet) {
|
|
13
13
|
var _a;
|
|
@@ -127,5 +127,5 @@ function MessageStatus(_a) {
|
|
|
127
127
|
: getLastMessageCreatedAt({ channel: channel, locale: dateLocale, stringSet: stringSet })))));
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
export { MessageStatus as M,
|
|
131
|
-
//# sourceMappingURL=bundle-
|
|
130
|
+
export { MessageStatus as M, getTotalMembers as a, getLastMessageCreatedAt as b, getLastMessage as c, getChannelUnreadMessageCount as d, MessageStatusTypes as e, getChannelTitle as g };
|
|
131
|
+
//# sourceMappingURL=bundle-8C68O5Qm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-8C68O5Qm.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as __spreadArray } from './bundle-bBs0-8AF.js';
|
|
2
2
|
import { SendingStatus } from '@sendbird/chat/message';
|
|
3
3
|
|
|
4
4
|
var scrollToRenderedMessage = function (scrollRef, initialTimeStamp, setIsScrolled) {
|
|
@@ -30,7 +30,7 @@ var scrollIntoLast = function (initialTry, scrollRef, setIsScrolled) {
|
|
|
30
30
|
}
|
|
31
31
|
try {
|
|
32
32
|
var scrollDOM = (scrollRef === null || scrollRef === void 0 ? void 0 : scrollRef.current) || document.querySelector('.sendbird-conversation__messages-padding');
|
|
33
|
-
scrollDOM.scrollTop =
|
|
33
|
+
scrollDOM.scrollTop = scrollDOM.scrollHeight;
|
|
34
34
|
setIsScrolled === null || setIsScrolled === void 0 ? void 0 : setIsScrolled(true);
|
|
35
35
|
}
|
|
36
36
|
catch (error) {
|
|
@@ -120,4 +120,4 @@ var isAboutSame = function (a, b, px) {
|
|
|
120
120
|
};
|
|
121
121
|
|
|
122
122
|
export { scrollToRenderedMessage as a, isDisabledBecauseFrozen as b, isDisabledBecauseMuted 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-8M13Uq7P.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-8M13Uq7P.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-8PbcZ5aj.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as VOICE_RECORDER_AUDIO_SAMPLE_RATE } from './bundle-5FiMKfdx.js';
|
|
2
2
|
import { WavHeader as ut, Mp3Encoder as ht } from '../lame.all.js';
|
|
3
3
|
|
|
4
4
|
// Thanks to https://codesandbox.io/s/media-recorder-api-downsampling-16k-mp3-encode-using-lame-js-forked-n1pblw
|
|
@@ -122,4 +122,4 @@ function bufferToWav(abuffer, len) {
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
export { downsampleToWav, encodeMp3 };
|
|
125
|
-
//# sourceMappingURL=bundle-
|
|
125
|
+
//# sourceMappingURL=bundle-94myZnyI.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-94myZnyI.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 {
|
|
6
|
+
import { b as LabelColors, L as Label, a as LabelTypography } from './bundle-VC1JO5-p.js';
|
|
7
|
+
import { u as useLocalization } from './bundle-wbu1BRph.js';
|
|
8
|
+
import { h as VOICE_RECORDER_CLICK_BUFFER_TIME, g as VOICE_RECORDER_DEFAULT_MIN } from './bundle-5FiMKfdx.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-9nrFshYX.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-9nrFshYX.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-46qOcsB3.js';
|
|
3
|
+
import { T as TOKEN_TYPES, U as USER_MENTION_PREFIX, g as getWhiteSpacePreservedText } from './bundle-BvxbprFR.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-VC1JO5-p.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-9vFMqSQw.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-9vFMqSQw.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
2
|
import DOMPurify from 'dompurify';
|
|
3
|
-
import {
|
|
4
|
-
import { M as MENTION_USER_LABEL_CLASSNAME } from './bundle-
|
|
5
|
-
import { T as TEXT_MESSAGE_BODY_CLASSNAME } from './bundle
|
|
6
|
-
import { O as OG_MESSAGE_BODY_CLASSNAME } from './bundle
|
|
3
|
+
import { c as __spreadArray } from './bundle-bBs0-8AF.js';
|
|
4
|
+
import { M as MENTION_USER_LABEL_CLASSNAME } from './bundle-2atU-KVo.js';
|
|
5
|
+
import { T as TEXT_MESSAGE_BODY_CLASSNAME } from './bundle--rPLqx46.js';
|
|
6
|
+
import { O as OG_MESSAGE_BODY_CLASSNAME } from './bundle-8PbcZ5aj.js';
|
|
7
7
|
|
|
8
8
|
function renderToString(_a) {
|
|
9
9
|
var userId = _a.userId, nickname = _a.nickname;
|
|
@@ -208,4 +208,4 @@ function usePaste(_a) {
|
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
export { isChannelTypeSupportsMultipleFilesMessage as i, nodeListToArray as n, renderToString as r, sanitizeString as s, usePaste as u };
|
|
211
|
-
//# sourceMappingURL=bundle-
|
|
211
|
+
//# sourceMappingURL=bundle-Br-kF2rc.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Br-kF2rc.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as __spreadArray } from './bundle-bBs0-8AF.js';
|
|
2
2
|
|
|
3
3
|
var USER_MENTION_PREFIX = '@';
|
|
4
4
|
|
|
@@ -51,7 +51,7 @@ function identifyMentions(_a) {
|
|
|
51
51
|
return results;
|
|
52
52
|
}
|
|
53
53
|
function identifyUrlsAndStrings(token) {
|
|
54
|
-
var URL_REG = /(?:https?:\/\/|www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.(xn--)?[a-
|
|
54
|
+
var URL_REG = /(?:https?:\/\/|www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.(xn--)?[a-z]{2,20}\b([-a-zA-Z0-9@:%_+[\],.~#?&/=]*[-a-zA-Z0-9@:%_+~#?&/=])*/g;
|
|
55
55
|
var results = token.map(function (token) {
|
|
56
56
|
if (token.type !== TOKEN_TYPES.undetermined) {
|
|
57
57
|
return token;
|
|
@@ -73,15 +73,13 @@ function identifyUrlsAndStrings(token) {
|
|
|
73
73
|
var head = restText.slice(0, start - cursor);
|
|
74
74
|
var mid = text;
|
|
75
75
|
var tail = restText.slice(end - cursor);
|
|
76
|
-
|
|
76
|
+
if (head.length > 0)
|
|
77
|
+
items.push({ value: head, type: TOKEN_TYPES.string });
|
|
78
|
+
items.push({ value: mid, type: TOKEN_TYPES.url });
|
|
77
79
|
if (tail.length > 0)
|
|
78
80
|
items.push({ value: tail, type: TOKEN_TYPES.string });
|
|
79
81
|
cursor = end;
|
|
80
82
|
});
|
|
81
|
-
// Remove the first empty string
|
|
82
|
-
if (items[0].value === '' && items[0].type === TOKEN_TYPES.string) {
|
|
83
|
-
items.shift();
|
|
84
|
-
}
|
|
85
83
|
return items;
|
|
86
84
|
}).flat();
|
|
87
85
|
return results;
|
|
@@ -145,4 +143,4 @@ function getWhiteSpacePreservedText(text) {
|
|
|
145
143
|
}
|
|
146
144
|
|
|
147
145
|
export { TOKEN_TYPES as T, USER_MENTION_PREFIX as U, getWhiteSpacePreservedText as g, tokenizeMessage as t };
|
|
148
|
-
//# sourceMappingURL=bundle-
|
|
146
|
+
//# sourceMappingURL=bundle-BvxbprFR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-BvxbprFR.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { _ as __assign,
|
|
1
|
+
import { _ as __assign, c as __spreadArray, a as __awaiter, b as __generator } from './bundle-bBs0-8AF.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-7nI0MJOs.js';
|
|
5
|
+
import { u as uuidv4 } from './bundle-7128atOc.js';
|
|
6
|
+
import { n as noop } from './bundle-MYBkZ28K.js';
|
|
7
|
+
import { D as DELIVERY_RECEIPT$1 } from './bundle-5FiMKfdx.js';
|
|
8
|
+
import { U as UserProfileProvider } from './bundle-xHxKphkV.js';
|
|
9
9
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
10
|
-
import { K, S } from './bundle-
|
|
11
|
-
import { R as filterChannelListParams, T as getChannelsWithUpsertedChannel } from './bundle-
|
|
12
|
-
import { u as useReconnectOnIdle } from './bundle-
|
|
10
|
+
import { K, S } from './bundle-46qOcsB3.js';
|
|
11
|
+
import { R as filterChannelListParams, T as getChannelsWithUpsertedChannel } from './bundle-RX3fBZMu.js';
|
|
12
|
+
import { u as useReconnectOnIdle } from './bundle-Omjc0GuQ.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-BxGOQnDI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle
|
|
1
|
+
{"version":3,"file":"bundle-BxGOQnDI.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-DDOXEDJp.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-F-lMyjp-.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { _ as __assign } from './bundle-bBs0-8AF.js';
|
|
2
|
+
import React__default, { useState } from 'react';
|
|
3
|
+
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
4
|
+
import { u as useLongPress } from './bundle-r8uICiMq.js';
|
|
5
|
+
import { u as useLocalization } from './bundle-wbu1BRph.js';
|
|
6
|
+
import { u as useMediaQueryContext } from './bundle-RjOfwRD9.js';
|
|
7
|
+
import { n as noop } from './bundle-MYBkZ28K.js';
|
|
8
|
+
import { i as isVoiceMessage } from './bundle-RX3fBZMu.js';
|
|
9
|
+
import { a as getTotalMembers, M as MessageStatus, b as getLastMessageCreatedAt, c as getLastMessage, d as getChannelUnreadMessageCount } from './bundle-8C68O5Qm.js';
|
|
10
|
+
import { TypingIndicatorText } from '../GroupChannel/components/TypingIndicator.js';
|
|
11
|
+
import Badge from '../ui/Badge.js';
|
|
12
|
+
import ChannelAvatar from '../ui/ChannelAvatar.js';
|
|
13
|
+
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
14
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-VC1JO5-p.js';
|
|
15
|
+
import MentionUserLabel from '../ui/MentionUserLabel.js';
|
|
16
|
+
import { M as Modal } from './bundle-cqMRshaU.js';
|
|
17
|
+
import TextButton from '../ui/TextButton.js';
|
|
18
|
+
|
|
19
|
+
var GroupChannelListItemView = function (_a) {
|
|
20
|
+
var channel = _a.channel, tabIndex = _a.tabIndex, isTyping = _a.isTyping, isSelected = _a.isSelected, channelName = _a.channelName, _b = _a.isMessageStatusEnabled, isMessageStatusEnabled = _b === void 0 ? true : _b, _c = _a.onClick, onClick = _c === void 0 ? noop : _c, _d = _a.onLeaveChannel, onLeaveChannel = _d === void 0 ? function () { return Promise.resolve(); } : _d, renderChannelAction = _a.renderChannelAction;
|
|
21
|
+
var config = useSendbirdStateContext().config;
|
|
22
|
+
var theme = config.theme, isMentionEnabled = config.isMentionEnabled, userId = config.userId;
|
|
23
|
+
var _e = useLocalization(), dateLocale = _e.dateLocale, stringSet = _e.stringSet;
|
|
24
|
+
var isMobile = useMediaQueryContext().isMobile;
|
|
25
|
+
var _f = useState(false), showMobileLeave = _f[0], setShowMobileLeave = _f[1];
|
|
26
|
+
var onLongPress = useLongPress({
|
|
27
|
+
onLongPress: function () {
|
|
28
|
+
if (isMobile) {
|
|
29
|
+
setShowMobileLeave(true);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
onClick: onClick,
|
|
33
|
+
}, {
|
|
34
|
+
delay: 1000,
|
|
35
|
+
});
|
|
36
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
37
|
+
React__default.createElement("div", __assign({ className: [
|
|
38
|
+
'sendbird-channel-preview',
|
|
39
|
+
isSelected ? 'sendbird-channel-preview--active' : '',
|
|
40
|
+
].join(' '), role: "link", tabIndex: tabIndex }, (isMobile ? __assign({}, onLongPress) : { onClick: onClick })),
|
|
41
|
+
React__default.createElement("div", { className: "sendbird-channel-preview__avatar" },
|
|
42
|
+
React__default.createElement(ChannelAvatar, { channel: channel, userId: userId, theme: theme })),
|
|
43
|
+
React__default.createElement("div", { className: "sendbird-channel-preview__content" },
|
|
44
|
+
React__default.createElement("div", { className: "sendbird-channel-preview__content__upper" },
|
|
45
|
+
React__default.createElement("div", { className: "sendbird-channel-preview__content__upper__header" },
|
|
46
|
+
(channel.isBroadcast || false) && (React__default.createElement("div", { className: "sendbird-channel-preview__content__upper__header__broadcast-icon" },
|
|
47
|
+
React__default.createElement(Icon, { type: IconTypes.BROADCAST, fillColor: IconColors.SECONDARY, height: "16px", width: "16px" }))),
|
|
48
|
+
React__default.createElement(Label, { className: "sendbird-channel-preview__content__upper__header__channel-name", type: LabelTypography.SUBTITLE_2, color: LabelColors.ONBACKGROUND_1 }, channelName),
|
|
49
|
+
React__default.createElement(Label, { className: "sendbird-channel-preview__content__upper__header__total-members", type: LabelTypography.CAPTION_2, color: LabelColors.ONBACKGROUND_2 }, getTotalMembers(channel)),
|
|
50
|
+
(channel.isFrozen) && (React__default.createElement("div", { title: "Frozen", className: "sendbird-channel-preview__content__upper__header__frozen-icon" },
|
|
51
|
+
React__default.createElement(Icon, { type: IconTypes.FREEZE, fillColor: IconColors.PRIMARY, height: 12, width: 12 })))),
|
|
52
|
+
!channel.isEphemeral && isMessageStatusEnabled && (React__default.createElement(MessageStatus, { className: "sendbird-channel-preview__content__upper__last-message-at", channel: channel, message: channel.lastMessage, isDateSeparatorConsidered: false })),
|
|
53
|
+
!channel.isEphemeral && !isMessageStatusEnabled && (React__default.createElement(Label, { className: "sendbird-channel-preview__content__upper__last-message-at", type: LabelTypography.CAPTION_3, color: LabelColors.ONBACKGROUND_2 }, getLastMessageCreatedAt({
|
|
54
|
+
channel: channel,
|
|
55
|
+
locale: dateLocale,
|
|
56
|
+
stringSet: stringSet,
|
|
57
|
+
})))),
|
|
58
|
+
React__default.createElement("div", { className: "sendbird-channel-preview__content__lower" },
|
|
59
|
+
React__default.createElement(Label, { className: "sendbird-channel-preview__content__lower__last-message", type: LabelTypography.BODY_2, color: LabelColors.ONBACKGROUND_3 },
|
|
60
|
+
isTyping && (React__default.createElement(TypingIndicatorText, { members: channel.getTypingUsers() })),
|
|
61
|
+
!isTyping
|
|
62
|
+
&& !isVoiceMessage(channel.lastMessage)
|
|
63
|
+
&& getLastMessage(channel, stringSet),
|
|
64
|
+
!isTyping
|
|
65
|
+
&& isVoiceMessage(channel.lastMessage)
|
|
66
|
+
&& stringSet.VOICE_MESSAGE),
|
|
67
|
+
/**
|
|
68
|
+
* Do not show unread count for focused channel. This is because of the limitation where
|
|
69
|
+
* isScrollBottom and hasNext states needs to be added globally but they are from channel context
|
|
70
|
+
* so channel list cannot see them with the current architecture.
|
|
71
|
+
*/
|
|
72
|
+
!isSelected && !channel.isEphemeral && (React__default.createElement("div", { className: "sendbird-channel-preview__content__lower__unread-message-count" },
|
|
73
|
+
isMentionEnabled && channel.unreadMentionCount > 0 ? (React__default.createElement(MentionUserLabel, { className: "sendbird-channel-preview__content__lower__unread-message-count__mention", color: "purple" }, '@')) : null,
|
|
74
|
+
getChannelUnreadMessageCount(channel) ? ( // return number
|
|
75
|
+
React__default.createElement(Badge, { count: getChannelUnreadMessageCount(channel) })) : null)))),
|
|
76
|
+
!isMobile && (React__default.createElement("div", { className: "sendbird-channel-preview__action" }, renderChannelAction({ channel: channel })))),
|
|
77
|
+
showMobileLeave && isMobile && (React__default.createElement(Modal, { className: "sendbird-channel-preview__leave--mobile", titleText: channelName, hideFooter: true, isCloseOnClickOutside: true, onCancel: function () { return setShowMobileLeave(false); } },
|
|
78
|
+
React__default.createElement(TextButton, { onClick: function () {
|
|
79
|
+
onLeaveChannel();
|
|
80
|
+
setShowMobileLeave(false);
|
|
81
|
+
}, className: "sendbird-channel-preview__leave-label--mobile" },
|
|
82
|
+
React__default.createElement(Label, { type: LabelTypography.SUBTITLE_1, color: LabelColors.ONBACKGROUND_1 }, stringSet.CHANNEL_PREVIEW_MOBILE_LEAVE))))));
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
export { GroupChannelListItemView as G };
|
|
86
|
+
//# sourceMappingURL=bundle-FVeeTX_F.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-FVeeTX_F.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defaultLocale } from './bundle-
|
|
1
|
+
import { d as defaultLocale } from './bundle-jKjzU1MT.js';
|
|
2
2
|
|
|
3
3
|
function _typeof(o) {
|
|
4
4
|
"@babel/helpers - typeof";
|
|
@@ -1711,4 +1711,4 @@ function cleanEscapedString(input) {
|
|
|
1711
1711
|
}
|
|
1712
1712
|
|
|
1713
1713
|
export { toInteger as a, format as f, requiredArgs as r, toDate as t };
|
|
1714
|
-
//# sourceMappingURL=bundle-
|
|
1714
|
+
//# sourceMappingURL=bundle-GM_JyB6p.js.map
|