@sendbird/uikit-react 3.8.2 → 3.9.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 +57 -54
- package/App.js.map +1 -1
- package/CHANGELOG.md +114 -0
- package/Channel/components/ChannelHeader.js +25 -24
- package/Channel/components/ChannelHeader.js.map +1 -1
- package/Channel/components/ChannelUI.js +59 -53
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +24 -23
- package/Channel/components/FileViewer.js.map +1 -1
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +45 -44
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +37 -35
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageList.js +57 -241
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +23 -23
- package/Channel/components/SuggestedMentionList.js +23 -22
- package/Channel/components/SuggestedMentionList.js.map +1 -1
- package/Channel/components/TypingIndicator.js +19 -19
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +16 -16
- package/{chunks/bundle-tR2Ipjel.js → Channel/hooks/useHandleUploadFiles.js} +22 -138
- package/Channel/hooks/useHandleUploadFiles.js.map +1 -0
- package/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/Channel/utils/compareMessagesForGrouping.js +6 -6
- package/Channel/utils/getMessagePartsInfo.js +7 -7
- package/Channel.js +53 -49
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +18 -17
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +9 -8
- package/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/ChannelList/components/ChannelListUI.js +38 -36
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +38 -32
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/ChannelList/context.js +9 -9
- package/ChannelList.js +34 -33
- package/ChannelList.js.map +1 -1
- package/ChannelSettings/components/ChannelProfile.js +14 -13
- package/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsUI.js +19 -18
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +14 -13
- package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +17 -16
- package/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/ChannelSettings/components/UserListItem.js +13 -12
- package/ChannelSettings/components/UserListItem.js.map +1 -1
- package/ChannelSettings/components/UserPanel.js +16 -15
- package/ChannelSettings/components/UserPanel.js.map +1 -1
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +19 -18
- package/ChannelSettings.js.map +1 -1
- package/CreateChannel/components/CreateChannelUI.js +16 -15
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +16 -15
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +16 -15
- package/CreateChannel.js.map +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -11
- package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +12 -11
- package/CreateOpenChannel.js.map +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +15 -14
- package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/EditUserProfile.js +17 -16
- package/EditUserProfile.js.map +1 -1
- package/MessageSearch/components/MessageSearchUI.js +15 -14
- package/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +15 -14
- package/MessageSearch.js.map +1 -1
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +15 -14
- package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/OpenChannel/components/OpenChannelInput.js +21 -21
- package/OpenChannel/components/OpenChannelMessage.js +33 -32
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +35 -34
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +35 -34
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +8 -8
- package/OpenChannel.js +35 -34
- package/OpenChannel.js.map +1 -1
- package/OpenChannelList/components/OpenChannelListUI.js +15 -14
- package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/OpenChannelList/components/OpenChannelPreview.js +7 -6
- package/OpenChannelList/components/OpenChannelPreview.js.map +1 -1
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +15 -14
- package/OpenChannelList.js.map +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -14
- package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -14
- package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -18
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +19 -18
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +17 -16
- package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +19 -18
- package/OpenChannelSettings.js.map +1 -1
- package/README.md +1 -1
- package/SendbirdProvider.js +45 -36
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +44 -43
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +28 -27
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +44 -43
- package/Thread/components/ThreadList.js.map +1 -1
- package/Thread/components/ThreadListItem.js +50 -49
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +36 -34
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +48 -46
- package/Thread/components/ThreadUI.js.map +1 -1
- package/Thread/context.js +82 -53
- package/Thread/context.js.map +1 -1
- package/Thread.js +48 -46
- 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-qJVzRD5Y.js → bundle-0IelBspE.js} +3 -3
- package/chunks/bundle-0IelBspE.js.map +1 -0
- package/chunks/{bundle-WJ4T7o4h.js → bundle-0SIFukuT.js} +4 -4
- package/chunks/{bundle-WJ4T7o4h.js.map → bundle-0SIFukuT.js.map} +1 -1
- package/chunks/bundle-2AUp3oeN.js +15 -0
- package/chunks/bundle-2AUp3oeN.js.map +1 -0
- package/chunks/{bundle-dGdUFeGw.js → bundle-2YEsND5T.js} +1 -1
- package/chunks/bundle-2YEsND5T.js.map +1 -0
- package/chunks/{bundle-5WxplyP9.js → bundle-3WQuaADd.js} +1 -1
- package/chunks/bundle-3WQuaADd.js.map +1 -0
- package/chunks/{bundle-mg_7Exot.js → bundle-5JvP07dI.js} +5 -5
- package/chunks/bundle-5JvP07dI.js.map +1 -0
- package/chunks/{bundle-JJDjO0bj.js → bundle-6uVd8Nrl.js} +2 -2
- package/chunks/{bundle-JJDjO0bj.js.map → bundle-6uVd8Nrl.js.map} +1 -1
- package/chunks/{bundle-Ey2KFn-R.js → bundle-7x4clnC7.js} +4 -4
- package/chunks/bundle-7x4clnC7.js.map +1 -0
- package/chunks/{bundle-I0NSP9ei.js → bundle-89OkQYTj.js} +1 -1
- package/chunks/bundle-89OkQYTj.js.map +1 -0
- package/chunks/{bundle-LutukB6f.js → bundle-8VA5hO1c.js} +1 -1
- package/chunks/bundle-8VA5hO1c.js.map +1 -0
- package/chunks/{bundle-2zaLibl-.js → bundle-967zXkjf.js} +2 -2
- package/chunks/bundle-967zXkjf.js.map +1 -0
- package/chunks/{bundle-Zl59BqjG.js → bundle-96I4BbNe.js} +7 -7
- package/chunks/{bundle-Zl59BqjG.js.map → bundle-96I4BbNe.js.map} +1 -1
- package/chunks/{bundle-L1jL1HlF.js → bundle-EPtYsHAJ.js} +1 -1
- package/chunks/bundle-EPtYsHAJ.js.map +1 -0
- package/chunks/{bundle-n3JTobCF.js → bundle-EteEacTX.js} +4 -4
- package/chunks/{bundle-n3JTobCF.js.map → bundle-EteEacTX.js.map} +1 -1
- package/chunks/{bundle-GaBLtZQZ.js → bundle-GGcTNRCI.js} +1 -1
- package/chunks/bundle-GGcTNRCI.js.map +1 -0
- package/chunks/{bundle-grxc9ClY.js → bundle-GiSLT4lG.js} +4 -4
- package/chunks/bundle-GiSLT4lG.js.map +1 -0
- package/chunks/{bundle-4yQvKOnq.js → bundle-IeIHBN9i.js} +1 -1
- package/chunks/bundle-IeIHBN9i.js.map +1 -0
- package/chunks/{bundle-atKtJDZx.js → bundle-JSlDfYOF.js} +3 -3
- package/chunks/bundle-JSlDfYOF.js.map +1 -0
- package/chunks/{bundle-fBRojj0w.js → bundle-JhG5BHdE.js} +1 -1
- package/chunks/bundle-JhG5BHdE.js.map +1 -0
- package/chunks/{bundle-JGL7ecyE.js → bundle-JuKER7D_.js} +1 -1
- package/chunks/{bundle-JGL7ecyE.js.map → bundle-JuKER7D_.js.map} +1 -1
- package/chunks/{bundle-NRuB0VyT.js → bundle-Jw6D-oM_.js} +1 -1
- package/chunks/bundle-Jw6D-oM_.js.map +1 -0
- package/chunks/{bundle-zL8um0im.js → bundle-KOKqPpBq.js} +1 -1
- package/chunks/bundle-KOKqPpBq.js.map +1 -0
- package/chunks/{bundle-fiU7Tho8.js → bundle-Ku1a64TD.js} +3 -3
- package/chunks/{bundle-fiU7Tho8.js.map → bundle-Ku1a64TD.js.map} +1 -1
- package/chunks/{bundle-u_gMIDNK.js → bundle-LTnLzJFb.js} +9 -9
- package/chunks/{bundle-u_gMIDNK.js.map → bundle-LTnLzJFb.js.map} +1 -1
- package/chunks/{bundle-8Ct4JuXG.js → bundle-LhtrqZSE.js} +1 -1
- package/chunks/bundle-LhtrqZSE.js.map +1 -0
- package/chunks/{bundle-nB9Rk0Vg.js → bundle-Mn36ivpf.js} +1 -1
- package/chunks/bundle-Mn36ivpf.js.map +1 -0
- package/chunks/{bundle-mjC4Frm5.js → bundle-Nv1SlZSC.js} +2 -2
- package/chunks/bundle-Nv1SlZSC.js.map +1 -0
- package/chunks/{bundle-moPxtvhk.js → bundle-OiOp4RUP.js} +2 -2
- package/chunks/{bundle-moPxtvhk.js.map → bundle-OiOp4RUP.js.map} +1 -1
- package/chunks/{bundle-UvPIovuO.js → bundle-PwOQ689V.js} +1 -1
- package/chunks/bundle-PwOQ689V.js.map +1 -0
- package/chunks/{bundle-BgGUA_Do.js → bundle-QO9wq7-1.js} +18 -18
- package/chunks/{bundle-BgGUA_Do.js.map → bundle-QO9wq7-1.js.map} +1 -1
- package/chunks/{bundle-fRhlDZge.js → bundle-Sk3SXXP7.js} +2 -2
- package/chunks/bundle-Sk3SXXP7.js.map +1 -0
- package/chunks/{bundle-cTKDcBXH.js → bundle-Tep20T57.js} +23 -30
- package/chunks/bundle-Tep20T57.js.map +1 -0
- package/chunks/{bundle-9AVOtanU.js → bundle-WZvwkbYN.js} +3 -3
- package/chunks/bundle-WZvwkbYN.js.map +1 -0
- package/chunks/{bundle-1O7rPYFy.js → bundle-Xly_X4hP.js} +3 -3
- package/chunks/bundle-Xly_X4hP.js.map +1 -0
- package/chunks/{bundle-50blTGht.js → bundle-Xq25cpwP.js} +9 -9
- package/chunks/{bundle-50blTGht.js.map → bundle-Xq25cpwP.js.map} +1 -1
- package/chunks/{bundle-HUCZoqot.js → bundle-Y6TqPszM.js} +2 -2
- package/chunks/{bundle-HUCZoqot.js.map → bundle-Y6TqPszM.js.map} +1 -1
- package/chunks/{bundle-sTNKynXj.js → bundle-YQkYq090.js} +1 -1
- package/chunks/bundle-YQkYq090.js.map +1 -0
- package/chunks/{bundle-6Opy_RV-.js → bundle-YdRy5sj8.js} +3 -3
- package/chunks/{bundle-6Opy_RV-.js.map → bundle-YdRy5sj8.js.map} +1 -1
- package/chunks/{bundle-5asq-E-v.js → bundle-ZNwxfYJx.js} +6 -6
- package/chunks/bundle-ZNwxfYJx.js.map +1 -0
- package/chunks/{bundle-UW-TqfsF.js → bundle-ZT6XnGSN.js} +3 -3
- package/chunks/{bundle-UW-TqfsF.js.map → bundle-ZT6XnGSN.js.map} +1 -1
- package/chunks/{bundle-HTP_W562.js → bundle-cJc3JBZb.js} +3 -3
- package/chunks/bundle-cJc3JBZb.js.map +1 -0
- package/chunks/{bundle-ybonwZPt.js → bundle-dJBzT033.js} +1 -1
- package/chunks/bundle-dJBzT033.js.map +1 -0
- package/chunks/{bundle-kdRMkp9s.js → bundle-h4Ck6NLh.js} +2 -2
- package/chunks/bundle-h4Ck6NLh.js.map +1 -0
- package/chunks/{bundle-KkDaqYo6.js → bundle-hGeYEXGB.js} +2 -2
- package/chunks/{bundle-KkDaqYo6.js.map → bundle-hGeYEXGB.js.map} +1 -1
- package/chunks/{bundle-0QcaQ8yA.js → bundle-jw3t70tT.js} +10 -10
- package/chunks/{bundle-0QcaQ8yA.js.map → bundle-jw3t70tT.js.map} +1 -1
- package/chunks/bundle-jyTJAjUy.js +134 -0
- package/chunks/bundle-jyTJAjUy.js.map +1 -0
- package/chunks/{bundle-9YazFOHk.js → bundle-k4WuO78S.js} +4 -4
- package/chunks/{bundle-9YazFOHk.js.map → bundle-k4WuO78S.js.map} +1 -1
- package/chunks/{bundle-iTeulylJ.js → bundle-l0M5nN1Q.js} +7 -7
- package/chunks/{bundle-iTeulylJ.js.map → bundle-l0M5nN1Q.js.map} +1 -1
- package/chunks/{bundle-EaGyVrR8.js → bundle-lSKfBDuq.js} +3 -3
- package/chunks/{bundle-EaGyVrR8.js.map → bundle-lSKfBDuq.js.map} +1 -1
- package/chunks/{bundle-EoW7JC-6.js → bundle-menQ38z9.js} +6 -10
- package/chunks/bundle-menQ38z9.js.map +1 -0
- package/chunks/{bundle-RXyEKXFG.js → bundle-nHhZeAVb.js} +4 -4
- package/chunks/{bundle-RXyEKXFG.js.map → bundle-nHhZeAVb.js.map} +1 -1
- package/chunks/{bundle-0--XgUA7.js → bundle-oghsyfOE.js} +3 -3
- package/chunks/{bundle-0--XgUA7.js.map → bundle-oghsyfOE.js.map} +1 -1
- package/chunks/{bundle-j2oaAFR4.js → bundle-pCwi8C-K.js} +1 -1
- package/chunks/{bundle-j2oaAFR4.js.map → bundle-pCwi8C-K.js.map} +1 -1
- package/chunks/{bundle-o_MR5zP9.js → bundle-pmVgESW3.js} +2 -2
- package/chunks/{bundle-o_MR5zP9.js.map → bundle-pmVgESW3.js.map} +1 -1
- package/chunks/{bundle-iI1ssAAJ.js → bundle-s3qW-HFQ.js} +1 -1
- package/chunks/bundle-s3qW-HFQ.js.map +1 -0
- package/chunks/{bundle-rYiLt_kr.js → bundle-tUJWK_IX.js} +7 -7
- package/chunks/{bundle-rYiLt_kr.js.map → bundle-tUJWK_IX.js.map} +1 -1
- package/chunks/{bundle-zz-E8ZLu.js → bundle-vSJ8dTAZ.js} +5 -5
- package/chunks/{bundle-zz-E8ZLu.js.map → bundle-vSJ8dTAZ.js.map} +1 -1
- package/chunks/bundle-wRCPXISN.js +262 -0
- package/chunks/bundle-wRCPXISN.js.map +1 -0
- package/chunks/{bundle-FxBVAeu9.js → bundle-xgxXEKxk.js} +1 -1
- package/chunks/{bundle-FxBVAeu9.js.map → bundle-xgxXEKxk.js.map} +1 -1
- package/chunks/{bundle-WiQweU5U.js → bundle-zCWUhqT2.js} +1 -1
- package/chunks/bundle-zCWUhqT2.js.map +1 -0
- package/chunks/{bundle-qReOreYH.js → bundle-zz1eCYds.js} +1 -1
- package/chunks/{bundle-qReOreYH.js.map → bundle-zz1eCYds.js.map} +1 -1
- package/cjs/App.js +57 -54
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +25 -24
- package/cjs/Channel/components/ChannelHeader.js.map +1 -1
- package/cjs/Channel/components/ChannelUI.js +60 -54
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +24 -23
- package/cjs/Channel/components/FileViewer.js.map +1 -1
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +45 -44
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +42 -37
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +58 -238
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +23 -23
- package/cjs/Channel/components/SuggestedMentionList.js +23 -22
- package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/Channel/components/TypingIndicator.js +19 -19
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +16 -16
- package/cjs/{chunks/bundle-xXG5L42q.js → Channel/hooks/useHandleUploadFiles.js} +22 -139
- package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -0
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/cjs/Channel/utils/compareMessagesForGrouping.js +6 -6
- package/cjs/Channel/utils/getMessagePartsInfo.js +7 -7
- package/cjs/Channel.js +53 -49
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +18 -17
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +9 -8
- package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListUI.js +37 -35
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +38 -32
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/cjs/ChannelList/context.js +9 -9
- package/cjs/ChannelList.js +34 -33
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -13
- package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +19 -18
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -13
- package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +17 -16
- package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/cjs/ChannelSettings/components/UserListItem.js +13 -12
- package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
- package/cjs/ChannelSettings/components/UserPanel.js +16 -15
- package/cjs/ChannelSettings/components/UserPanel.js.map +1 -1
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +19 -18
- package/cjs/ChannelSettings.js.map +1 -1
- package/cjs/CreateChannel/components/CreateChannelUI.js +16 -15
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +16 -15
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +16 -15
- package/cjs/CreateChannel.js.map +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -11
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +12 -11
- package/cjs/CreateOpenChannel.js.map +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +15 -14
- package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/cjs/EditUserProfile.js +15 -14
- package/cjs/EditUserProfile.js.map +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +15 -14
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +15 -14
- package/cjs/MessageSearch.js.map +1 -1
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +15 -14
- package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelInput.js +21 -21
- package/cjs/OpenChannel/components/OpenChannelMessage.js +33 -32
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +35 -34
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +35 -34
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +8 -8
- package/cjs/OpenChannel.js +35 -34
- package/cjs/OpenChannel.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +15 -14
- package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +7 -6
- package/cjs/OpenChannelList/components/OpenChannelPreview.js.map +1 -1
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +15 -14
- package/cjs/OpenChannelList.js.map +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -14
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -14
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -18
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -18
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -16
- package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +19 -18
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/SendbirdProvider.js +45 -36
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +42 -41
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +28 -27
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +44 -43
- package/cjs/Thread/components/ThreadList.js.map +1 -1
- package/cjs/Thread/components/ThreadListItem.js +48 -47
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +38 -36
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +48 -46
- package/cjs/Thread/components/ThreadUI.js.map +1 -1
- package/cjs/Thread/context.js +82 -53
- package/cjs/Thread/context.js.map +1 -1
- package/cjs/Thread.js +48 -46
- 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-1Rk5zlYY.js → bundle-0MHADZvF.js} +3 -3
- package/cjs/chunks/bundle-0MHADZvF.js.map +1 -0
- package/cjs/chunks/{bundle-7kVSLQPz.js → bundle-0bOWh2mP.js} +7 -7
- package/cjs/chunks/bundle-0bOWh2mP.js.map +1 -0
- package/cjs/chunks/{bundle-ONpNGzUN.js → bundle-0wbO-LdY.js} +4 -4
- package/cjs/chunks/bundle-0wbO-LdY.js.map +1 -0
- package/cjs/chunks/{bundle-6upaSfL9.js → bundle-5MVOBR4R.js} +3 -3
- package/cjs/chunks/bundle-5MVOBR4R.js.map +1 -0
- package/cjs/chunks/bundle-5NqynIJA.js +264 -0
- package/cjs/chunks/bundle-5NqynIJA.js.map +1 -0
- package/cjs/chunks/{bundle-vvpfLay7.js → bundle-5cuVj6Hi.js} +9 -9
- package/cjs/chunks/bundle-5cuVj6Hi.js.map +1 -0
- package/cjs/chunks/{bundle-4NrBnGEN.js → bundle-7gBYfQwU.js} +18 -18
- package/cjs/chunks/{bundle-4NrBnGEN.js.map → bundle-7gBYfQwU.js.map} +1 -1
- package/cjs/chunks/{bundle-z8FhI7RF.js → bundle-A4ywDIVT.js} +1 -1
- package/cjs/chunks/bundle-A4ywDIVT.js.map +1 -0
- package/cjs/chunks/{bundle-qnGmz8ai.js → bundle-AQhLE-Ci.js} +1 -1
- package/cjs/chunks/{bundle-qnGmz8ai.js.map → bundle-AQhLE-Ci.js.map} +1 -1
- package/cjs/chunks/{bundle-NXDlGjOm.js → bundle-AoaxviqO.js} +2 -2
- package/cjs/chunks/{bundle-NXDlGjOm.js.map → bundle-AoaxviqO.js.map} +1 -1
- package/cjs/chunks/{bundle-hBelyuMa.js → bundle-BA9K_smf.js} +3 -3
- package/{chunks/bundle-tR2Ipjel.js.map → cjs/chunks/bundle-BA9K_smf.js.map} +1 -1
- package/cjs/chunks/{bundle-9GSi_LkG.js → bundle-EVdeXpsD.js} +1 -1
- package/cjs/chunks/bundle-EVdeXpsD.js.map +1 -0
- package/cjs/chunks/{bundle-tFwEElQ4.js → bundle-F--qTOLe.js} +3 -3
- package/cjs/chunks/{bundle-tFwEElQ4.js.map → bundle-F--qTOLe.js.map} +1 -1
- package/cjs/chunks/{bundle-sVUGn8PI.js → bundle-FV9lCJz1.js} +9 -9
- package/cjs/chunks/{bundle-sVUGn8PI.js.map → bundle-FV9lCJz1.js.map} +1 -1
- package/cjs/chunks/{bundle-ww8_Dx5u.js → bundle-FpImAp7o.js} +3 -3
- package/cjs/chunks/bundle-FpImAp7o.js.map +1 -0
- package/cjs/chunks/{bundle-qtVxG8eL.js → bundle-GE1I3PNS.js} +1 -1
- package/cjs/chunks/bundle-GE1I3PNS.js.map +1 -0
- package/cjs/chunks/{bundle-mtATkaCS.js → bundle-HaufoaVC.js} +3 -3
- package/cjs/chunks/bundle-HaufoaVC.js.map +1 -0
- package/cjs/chunks/{bundle-jl7T2kDZ.js → bundle-HjwY9t7s.js} +5 -5
- package/cjs/chunks/bundle-HjwY9t7s.js.map +1 -0
- package/cjs/chunks/{bundle-UEKzL00k.js → bundle-IxIg8fhp.js} +4 -4
- package/cjs/chunks/{bundle-UEKzL00k.js.map → bundle-IxIg8fhp.js.map} +1 -1
- package/cjs/chunks/{bundle-6lAqYT4t.js → bundle-JragPpHy.js} +5 -5
- package/cjs/chunks/bundle-JragPpHy.js.map +1 -0
- package/cjs/chunks/{bundle-GJqVurdA.js → bundle-KKPmuuwX.js} +3 -3
- package/cjs/chunks/bundle-KKPmuuwX.js.map +1 -0
- package/cjs/chunks/{bundle-cIQlPA4P.js → bundle-KVlEj9_l.js} +7 -7
- package/cjs/chunks/{bundle-cIQlPA4P.js.map → bundle-KVlEj9_l.js.map} +1 -1
- package/cjs/chunks/{bundle-mLp_yP52.js → bundle-MBuX_zXW.js} +2 -2
- package/cjs/chunks/bundle-MBuX_zXW.js.map +1 -0
- package/cjs/chunks/bundle-MeuNh9Q9.js +17 -0
- package/cjs/chunks/bundle-MeuNh9Q9.js.map +1 -0
- package/cjs/chunks/{bundle-4ajshWV-.js → bundle-N1ipvkhN.js} +1 -1
- package/cjs/chunks/bundle-N1ipvkhN.js.map +1 -0
- package/cjs/chunks/{bundle--NEfAH1H.js → bundle-NYFm08XH.js} +1 -1
- package/cjs/chunks/bundle-NYFm08XH.js.map +1 -0
- package/cjs/chunks/{bundle--OdfDOjY.js → bundle-Pe-j2f1D.js} +1 -1
- package/cjs/chunks/bundle-Pe-j2f1D.js.map +1 -0
- package/cjs/chunks/{bundle-2s7rxLn3.js → bundle-QH7iLrPR.js} +1 -1
- package/cjs/chunks/{bundle-2s7rxLn3.js.map → bundle-QH7iLrPR.js.map} +1 -1
- package/cjs/chunks/{bundle-8YK4BV9m.js → bundle-SngxTjas.js} +1 -1
- package/cjs/chunks/bundle-SngxTjas.js.map +1 -0
- package/cjs/chunks/{bundle-S6CVN67K.js → bundle-VoZZnYtF.js} +3 -3
- package/cjs/chunks/bundle-VoZZnYtF.js.map +1 -0
- package/cjs/chunks/{bundle-IZeqjgE7.js → bundle-XoWonC_b.js} +2 -2
- package/cjs/chunks/bundle-XoWonC_b.js.map +1 -0
- package/cjs/chunks/{bundle-M4KuiFU1.js → bundle-YjWwnwWH.js} +3 -3
- package/cjs/chunks/{bundle-M4KuiFU1.js.map → bundle-YjWwnwWH.js.map} +1 -1
- package/cjs/chunks/{bundle-uOWwkmAr.js → bundle-YkzD-qec.js} +7 -7
- package/cjs/chunks/bundle-YkzD-qec.js.map +1 -0
- package/cjs/chunks/{bundle-3AvVQDMo.js → bundle-ZurhBjw4.js} +3 -3
- package/cjs/chunks/bundle-ZurhBjw4.js.map +1 -0
- package/cjs/chunks/{bundle-YXCUHkka.js → bundle-cV7uGK08.js} +1 -1
- package/cjs/chunks/{bundle-YXCUHkka.js.map → bundle-cV7uGK08.js.map} +1 -1
- package/cjs/chunks/{bundle-3PJj-XfK.js → bundle-fWyUHuJu.js} +1 -1
- package/cjs/chunks/bundle-fWyUHuJu.js.map +1 -0
- package/cjs/chunks/{bundle-r81ddDqP.js → bundle-gM8i5lGF.js} +1 -1
- package/cjs/chunks/bundle-gM8i5lGF.js.map +1 -0
- package/cjs/chunks/{bundle-X1dqH2Sm.js → bundle-hxGMLtWg.js} +1 -1
- package/cjs/chunks/bundle-hxGMLtWg.js.map +1 -0
- package/cjs/chunks/{bundle-veamuCpa.js → bundle-i5KLDxjz.js} +1 -1
- package/cjs/chunks/bundle-i5KLDxjz.js.map +1 -0
- package/cjs/chunks/{bundle-oCpY1j30.js → bundle-igY82TbB.js} +1 -1
- package/cjs/chunks/bundle-igY82TbB.js.map +1 -0
- package/cjs/chunks/{bundle-zNIQydjM.js → bundle-l92Ws-Rs.js} +1 -1
- package/cjs/chunks/bundle-l92Ws-Rs.js.map +1 -0
- package/cjs/chunks/{bundle-IpMpyY9U.js → bundle-mgmuHFWU.js} +6 -6
- package/cjs/chunks/bundle-mgmuHFWU.js.map +1 -0
- package/cjs/chunks/{bundle-KQyVyq1q.js → bundle-nGMCZjvM.js} +2 -2
- package/cjs/chunks/{bundle-KQyVyq1q.js.map → bundle-nGMCZjvM.js.map} +1 -1
- package/cjs/chunks/{bundle-iOLwSv4j.js → bundle-nuIgQkwQ.js} +2 -2
- package/cjs/chunks/bundle-nuIgQkwQ.js.map +1 -0
- package/cjs/chunks/{bundle-nsOL78qf.js → bundle-o1ta9AIa.js} +1 -1
- package/cjs/chunks/bundle-o1ta9AIa.js.map +1 -0
- package/cjs/chunks/{bundle-r1UVi2ak.js → bundle-omofvX-G.js} +4 -4
- package/cjs/chunks/{bundle-r1UVi2ak.js.map → bundle-omofvX-G.js.map} +1 -1
- package/cjs/chunks/{bundle-QkZHyxSs.js → bundle-ow5FLcVV.js} +1 -1
- package/cjs/chunks/bundle-ow5FLcVV.js.map +1 -0
- package/cjs/chunks/{bundle-DFBAN2Mi.js → bundle-pOTnhSyt.js} +2 -2
- package/cjs/chunks/bundle-pOTnhSyt.js.map +1 -0
- package/cjs/chunks/{bundle-1SeNKVYf.js → bundle-pVKke2mQ.js} +4 -4
- package/cjs/chunks/{bundle-1SeNKVYf.js.map → bundle-pVKke2mQ.js.map} +1 -1
- package/cjs/chunks/{bundle-5SOWNViS.js → bundle-pxBxPT0b.js} +6 -10
- package/cjs/chunks/{bundle-5SOWNViS.js.map → bundle-pxBxPT0b.js.map} +1 -1
- package/cjs/chunks/{bundle-L6ZM4yRd.js → bundle-tFuTz5CT.js} +4 -4
- package/cjs/chunks/{bundle-L6ZM4yRd.js.map → bundle-tFuTz5CT.js.map} +1 -1
- package/cjs/chunks/{bundle-ajGnEkbH.js → bundle-ugapct3R.js} +10 -10
- package/cjs/chunks/bundle-ugapct3R.js.map +1 -0
- package/cjs/chunks/{bundle-wvuQ096A.js → bundle-v8bBiJ_c.js} +1 -1
- package/cjs/chunks/bundle-v8bBiJ_c.js.map +1 -0
- package/cjs/chunks/{bundle-03qc56fX.js → bundle-vSdu8rrq.js} +25 -32
- package/cjs/chunks/bundle-vSdu8rrq.js.map +1 -0
- package/cjs/chunks/{bundle-K0D5qG0j.js → bundle-vWUmeH2R.js} +1 -1
- package/cjs/chunks/bundle-vWUmeH2R.js.map +1 -0
- package/cjs/chunks/{bundle-R4nsdVDF.js → bundle-vWlSj3_G.js} +1 -1
- package/cjs/chunks/bundle-vWlSj3_G.js.map +1 -0
- package/cjs/chunks/{bundle-0ugulztA.js → bundle-wN0CLPzM.js} +4 -4
- package/cjs/chunks/bundle-wN0CLPzM.js.map +1 -0
- package/cjs/chunks/bundle-x3a8KQ02.js +136 -0
- package/cjs/chunks/bundle-x3a8KQ02.js.map +1 -0
- package/cjs/chunks/{bundle-NS_si8Av.js → bundle-xeeBDhY6.js} +1 -1
- package/cjs/chunks/bundle-xeeBDhY6.js.map +1 -0
- package/cjs/chunks/{bundle-VQoPLYq1.js → bundle-xlnqnYUH.js} +2 -2
- package/cjs/chunks/bundle-xlnqnYUH.js.map +1 -0
- package/cjs/chunks/{bundle-DvBNc5Qi.js → bundle-yTYZiuXi.js} +1 -1
- package/cjs/chunks/bundle-yTYZiuXi.js.map +1 -0
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +76 -69
- 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 +5 -4
- package/cjs/ui/Avatar.js.map +1 -1
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +6 -5
- package/cjs/ui/ChannelAvatar.js.map +1 -1
- 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 -15
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FileMessageItemBody.js +8 -8
- package/cjs/ui/FileViewer.js +15 -14
- package/cjs/ui/FileViewer.js.map +1 -1
- package/cjs/ui/Icon.js +5 -7
- package/cjs/ui/Icon.js.map +1 -1
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +1 -1
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/MentionLabel.js +13 -12
- package/cjs/ui/MentionLabel.js.map +1 -1
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +137 -84
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +5 -5
- package/cjs/ui/MessageInput.js +15 -15
- package/cjs/ui/MessageItemMenu.js +26 -23
- package/cjs/ui/MessageItemMenu.js.map +1 -1
- package/cjs/ui/MessageItemReactionMenu.js +14 -11
- package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
- package/cjs/ui/MessageSearchFileItem.js +15 -14
- package/cjs/ui/MessageSearchFileItem.js.map +1 -1
- package/cjs/ui/MessageSearchItem.js +12 -11
- package/cjs/ui/MessageSearchItem.js.map +1 -1
- package/cjs/ui/MessageStatus.js +12 -12
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +18 -19
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +9 -8
- package/cjs/ui/OpenChannelAvatar.js.map +1 -1
- package/cjs/ui/OpenchannelConversationHeader.js +9 -8
- package/cjs/ui/OpenchannelConversationHeader.js.map +1 -1
- package/cjs/ui/OpenchannelFileMessage.js +18 -17
- package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
- package/cjs/ui/OpenchannelOGMessage.js +20 -19
- package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
- package/cjs/ui/OpenchannelThumbnailMessage.js +17 -16
- package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/cjs/ui/OpenchannelUserMessage.js +18 -17
- package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
- 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 -15
- package/cjs/ui/TextMessageItemBody.js.map +1 -1
- package/cjs/ui/ThreadReplies.js +9 -8
- package/cjs/ui/ThreadReplies.js.map +1 -1
- 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 +69 -0
- package/cjs/ui/TypingIndicatorBubble.js.map +1 -0
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +13 -12
- package/cjs/ui/UserListItem.js.map +1 -1
- package/cjs/ui/UserProfile.js +11 -10
- package/cjs/ui/UserProfile.js.map +1 -1
- package/cjs/ui/VoiceMessageInput.js +21 -0
- package/cjs/ui/VoiceMessageInput.js.map +1 -0
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/Word.js +13 -12
- 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 +146 -61
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +72 -69
- package/index.js.map +1 -1
- package/package.json +25 -7
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/hooks/useOnScrollReachedEndDetector/index.d.ts +7 -0
- package/types/index.d.ts +1 -0
- 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 +2 -1
- package/types/lib/types.d.ts +5 -1
- package/types/modules/Channel/components/ChannelUI/index.d.ts +1 -0
- package/types/modules/Channel/components/MessageInput/index.d.ts +1 -0
- package/types/modules/Channel/components/MessageList/index.d.ts +1 -0
- package/types/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +1 -1
- package/types/modules/EditUserProfile/index.d.ts +2 -2
- package/types/types.d.ts +4 -0
- package/types/ui/Avatar/AvatarDefault.d.ts +8 -0
- package/types/ui/Avatar/index.d.ts +2 -0
- package/types/ui/EmojiReactions/index.d.ts +2 -2
- package/types/ui/MessageContent/MessageProfile/index.d.ts +1 -8
- package/types/ui/MessageContent/index.d.ts +6 -0
- package/types/ui/MessageItemMenu/index.d.ts +3 -3
- package/types/ui/MessageItemReactionMenu/index.d.ts +3 -3
- package/types/ui/TypingIndicatorBubble/index.d.ts +12 -0
- package/types/utils/typeHelpers/partialDeep.d.ts +1 -1
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +5 -4
- package/ui/Avatar.js.map +1 -1
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +6 -5
- package/ui/ChannelAvatar.js.map +1 -1
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +16 -15
- package/ui/EmojiReactions.js.map +1 -1
- package/ui/FileMessageItemBody.js +8 -8
- package/ui/FileViewer.js +15 -14
- package/ui/FileViewer.js.map +1 -1
- package/ui/Icon.js +5 -7
- package/ui/Icon.js.map +1 -1
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +1 -1
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +2 -2
- package/ui/MentionLabel.js +13 -12
- package/ui/MentionLabel.js.map +1 -1
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +139 -86
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +5 -5
- package/ui/MessageInput.js +15 -15
- package/ui/MessageItemMenu.js +23 -23
- package/ui/MessageItemReactionMenu.js +11 -11
- package/ui/MessageSearchFileItem.js +15 -14
- package/ui/MessageSearchFileItem.js.map +1 -1
- package/ui/MessageSearchItem.js +12 -11
- package/ui/MessageSearchItem.js.map +1 -1
- package/ui/MessageStatus.js +12 -12
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +18 -19
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +9 -8
- package/ui/OpenChannelAvatar.js.map +1 -1
- package/ui/OpenchannelConversationHeader.js +9 -8
- package/ui/OpenchannelConversationHeader.js.map +1 -1
- package/ui/OpenchannelFileMessage.js +18 -17
- package/ui/OpenchannelFileMessage.js.map +1 -1
- package/ui/OpenchannelOGMessage.js +20 -19
- package/ui/OpenchannelOGMessage.js.map +1 -1
- package/ui/OpenchannelThumbnailMessage.js +17 -16
- package/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/ui/OpenchannelUserMessage.js +18 -17
- package/ui/OpenchannelUserMessage.js.map +1 -1
- 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 -15
- package/ui/TextMessageItemBody.js.map +1 -1
- package/ui/ThreadReplies.js +9 -8
- package/ui/ThreadReplies.js.map +1 -1
- 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 +67 -0
- package/ui/TypingIndicatorBubble.js.map +1 -0
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +13 -12
- package/ui/UserListItem.js.map +1 -1
- package/ui/UserProfile.js +11 -10
- package/ui/UserProfile.js.map +1 -1
- package/ui/VoiceMessageInput.js +15 -0
- package/ui/VoiceMessageInput.js.map +1 -0
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +13 -12
- 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-1O7rPYFy.js.map +0 -1
- package/chunks/bundle-2zaLibl-.js.map +0 -1
- package/chunks/bundle-4yQvKOnq.js.map +0 -1
- package/chunks/bundle-5WxplyP9.js.map +0 -1
- package/chunks/bundle-5asq-E-v.js.map +0 -1
- package/chunks/bundle-8Ct4JuXG.js.map +0 -1
- package/chunks/bundle-9AVOtanU.js.map +0 -1
- package/chunks/bundle-EoW7JC-6.js.map +0 -1
- package/chunks/bundle-Ey2KFn-R.js.map +0 -1
- package/chunks/bundle-GaBLtZQZ.js.map +0 -1
- package/chunks/bundle-HTP_W562.js.map +0 -1
- package/chunks/bundle-I0NSP9ei.js.map +0 -1
- package/chunks/bundle-L1jL1HlF.js.map +0 -1
- package/chunks/bundle-LutukB6f.js.map +0 -1
- package/chunks/bundle-NRuB0VyT.js.map +0 -1
- package/chunks/bundle-UvPIovuO.js.map +0 -1
- package/chunks/bundle-WiQweU5U.js.map +0 -1
- package/chunks/bundle-atKtJDZx.js.map +0 -1
- package/chunks/bundle-cTKDcBXH.js.map +0 -1
- package/chunks/bundle-dGdUFeGw.js.map +0 -1
- package/chunks/bundle-fBRojj0w.js.map +0 -1
- package/chunks/bundle-fRhlDZge.js.map +0 -1
- package/chunks/bundle-grxc9ClY.js.map +0 -1
- package/chunks/bundle-iI1ssAAJ.js.map +0 -1
- package/chunks/bundle-kdRMkp9s.js.map +0 -1
- package/chunks/bundle-mg_7Exot.js.map +0 -1
- package/chunks/bundle-mjC4Frm5.js.map +0 -1
- package/chunks/bundle-nB9Rk0Vg.js.map +0 -1
- package/chunks/bundle-qJVzRD5Y.js.map +0 -1
- package/chunks/bundle-sTNKynXj.js.map +0 -1
- package/chunks/bundle-ybonwZPt.js.map +0 -1
- package/chunks/bundle-zL8um0im.js.map +0 -1
- package/cjs/chunks/bundle--NEfAH1H.js.map +0 -1
- package/cjs/chunks/bundle--OdfDOjY.js.map +0 -1
- package/cjs/chunks/bundle-03qc56fX.js.map +0 -1
- package/cjs/chunks/bundle-0ugulztA.js.map +0 -1
- package/cjs/chunks/bundle-1Rk5zlYY.js.map +0 -1
- package/cjs/chunks/bundle-3AvVQDMo.js.map +0 -1
- package/cjs/chunks/bundle-3PJj-XfK.js.map +0 -1
- package/cjs/chunks/bundle-4ajshWV-.js.map +0 -1
- package/cjs/chunks/bundle-6lAqYT4t.js.map +0 -1
- package/cjs/chunks/bundle-6upaSfL9.js.map +0 -1
- package/cjs/chunks/bundle-7kVSLQPz.js.map +0 -1
- package/cjs/chunks/bundle-8YK4BV9m.js.map +0 -1
- package/cjs/chunks/bundle-9GSi_LkG.js.map +0 -1
- package/cjs/chunks/bundle-DFBAN2Mi.js.map +0 -1
- package/cjs/chunks/bundle-DvBNc5Qi.js.map +0 -1
- package/cjs/chunks/bundle-GJqVurdA.js.map +0 -1
- package/cjs/chunks/bundle-IZeqjgE7.js.map +0 -1
- package/cjs/chunks/bundle-IpMpyY9U.js.map +0 -1
- package/cjs/chunks/bundle-K0D5qG0j.js.map +0 -1
- package/cjs/chunks/bundle-NS_si8Av.js.map +0 -1
- package/cjs/chunks/bundle-ONpNGzUN.js.map +0 -1
- package/cjs/chunks/bundle-QkZHyxSs.js.map +0 -1
- package/cjs/chunks/bundle-R4nsdVDF.js.map +0 -1
- package/cjs/chunks/bundle-S6CVN67K.js.map +0 -1
- package/cjs/chunks/bundle-VQoPLYq1.js.map +0 -1
- package/cjs/chunks/bundle-X1dqH2Sm.js.map +0 -1
- package/cjs/chunks/bundle-ajGnEkbH.js.map +0 -1
- package/cjs/chunks/bundle-hBelyuMa.js.map +0 -1
- package/cjs/chunks/bundle-iOLwSv4j.js.map +0 -1
- package/cjs/chunks/bundle-jl7T2kDZ.js.map +0 -1
- package/cjs/chunks/bundle-mLp_yP52.js.map +0 -1
- package/cjs/chunks/bundle-mtATkaCS.js.map +0 -1
- package/cjs/chunks/bundle-nsOL78qf.js.map +0 -1
- package/cjs/chunks/bundle-oCpY1j30.js.map +0 -1
- package/cjs/chunks/bundle-qtVxG8eL.js.map +0 -1
- package/cjs/chunks/bundle-r81ddDqP.js.map +0 -1
- package/cjs/chunks/bundle-uOWwkmAr.js.map +0 -1
- package/cjs/chunks/bundle-veamuCpa.js.map +0 -1
- package/cjs/chunks/bundle-vvpfLay7.js.map +0 -1
- package/cjs/chunks/bundle-wvuQ096A.js.map +0 -1
- package/cjs/chunks/bundle-ww8_Dx5u.js.map +0 -1
- package/cjs/chunks/bundle-xXG5L42q.js.map +0 -1
- package/cjs/chunks/bundle-z8FhI7RF.js.map +0 -1
- package/cjs/chunks/bundle-zNIQydjM.js.map +0 -1
- package/cjs/ui/VoiceMessgeInput.js +0 -21
- package/cjs/ui/VoiceMessgeInput.js.map +0 -1
- package/types/ui/TypingIndicatorMessage/index.d.ts +0 -6
- package/ui/VoiceMessgeInput.js +0 -15
- package/ui/VoiceMessgeInput.js.map +0 -1
- /package/types/ui/{TypingIndicatorMessage → TypingIndicatorBubble}/TypingDots.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-QO9wq7-1.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -26,5 +26,5 @@ var SLIDER_BUTTON_ICON_SIDE_LENGTH = '32px';
|
|
|
26
26
|
// multiple files message file info count limit
|
|
27
27
|
var DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT = 10;
|
|
28
28
|
|
|
29
|
-
export { BROWSER_SUPPORT_MIME_TYPE_LIST as B, DELIVERY_RECEIPT as D, META_ARRAY_VOICE_DURATION_KEY as M, SCROLL_BUFFER as S, VOICE_RECORDER_AUDIO_BIT_RATE as V, VOICE_MESSAGE_FILE_NAME as a, VOICE_MESSAGE_MIME_TYPE as b,
|
|
30
|
-
//# sourceMappingURL=bundle-
|
|
29
|
+
export { BROWSER_SUPPORT_MIME_TYPE_LIST as B, DELIVERY_RECEIPT as D, META_ARRAY_VOICE_DURATION_KEY as M, SCROLL_BUFFER as S, VOICE_RECORDER_AUDIO_BIT_RATE as V, VOICE_MESSAGE_FILE_NAME as a, VOICE_MESSAGE_MIME_TYPE as b, VOICE_RECORDER_DEFAULT_MIN as c, VOICE_RECORDER_AUDIO_SAMPLE_RATE as d, VOICE_PLAYER_AUDIO_ID as e, VOICE_RECORDER_CLICK_BUFFER_TIME as f, VOICE_PLAYER_ROOT_ID as g, SLIDER_BUTTON_ICON_SIDE_LENGTH as h, META_ARRAY_MESSAGE_TYPE_KEY as i, META_ARRAY_MESSAGE_TYPE_VALUE__VOICE as j, DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT as k, VOICE_RECORDER_DEFAULT_MAX as l };
|
|
30
|
+
//# sourceMappingURL=bundle-Sk3SXXP7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-Sk3SXXP7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,25 +1,12 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-Y6TqPszM.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import ImageRenderer from '../ui/ImageRenderer.js';
|
|
4
|
+
import { u as uuidv4 } from './bundle-8VA5hO1c.js';
|
|
5
|
+
import { p as pxToNumber } from './bundle-2AUp3oeN.js';
|
|
4
6
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
5
|
-
import { u as uuidv4 } from './bundle-LutukB6f.js';
|
|
6
7
|
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
return px;
|
|
10
|
-
}
|
|
11
|
-
if (typeof px === 'string') {
|
|
12
|
-
var parsed = Number.parseFloat(px);
|
|
13
|
-
if (!Number.isNaN(parsed)) {
|
|
14
|
-
return parsed;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return NaN;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
var imageRendererClassName = 'sendbird-avatar-img';
|
|
21
|
-
var DefaultComponent = function (_a) {
|
|
22
|
-
var width = _a.width, height = _a.height;
|
|
8
|
+
var AvatarDefault = function (props) {
|
|
9
|
+
var width = props.width, height = props.height, text = props.text;
|
|
23
10
|
var iconWidth = pxToNumber(width);
|
|
24
11
|
var iconHeight = pxToNumber(height);
|
|
25
12
|
if (typeof iconWidth === 'number' && !Number.isNaN(iconWidth)) {
|
|
@@ -28,16 +15,17 @@ var DefaultComponent = function (_a) {
|
|
|
28
15
|
if (typeof iconHeight === 'number' && !Number.isNaN(iconHeight)) {
|
|
29
16
|
iconHeight *= 0.575;
|
|
30
17
|
}
|
|
31
|
-
return (React__default.createElement("div", { className: "sendbird-avatar-img--default", style: { width: width, height: height } },
|
|
32
|
-
React__default.createElement(
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
};
|
|
18
|
+
return (React__default.createElement("div", { className: "sendbird-avatar-img--default ".concat(text ? 'text' : ''), style: { width: width, height: height } }, text
|
|
19
|
+
? React__default.createElement("div", { className: 'sendbird-avatar-text' }, text)
|
|
20
|
+
: React__default.createElement(Icon, { type: IconTypes.USER, fillColor: IconColors.CONTENT, width: iconWidth, height: iconHeight })));
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
var imageRendererClassName = 'sendbird-avatar-img';
|
|
38
24
|
var AvatarInner = function (_a) {
|
|
39
25
|
var _b = _a.src, src = _b === void 0 ? '' : _b, _c = _a.alt, alt = _c === void 0 ? '' : _c, height = _a.height, width = _a.width, customDefaultComponent = _a.customDefaultComponent;
|
|
40
|
-
var defaultComponent = function () { return customDefaultComponent
|
|
26
|
+
var defaultComponent = function () { return customDefaultComponent
|
|
27
|
+
? customDefaultComponent({ width: width, height: height })
|
|
28
|
+
: React__default.createElement(AvatarDefault, { width: width, height: height }); };
|
|
41
29
|
if (typeof src === 'string') {
|
|
42
30
|
return (React__default.createElement(ImageRenderer, { className: imageRendererClassName, url: src, height: height, width: width, alt: alt, defaultComponent: defaultComponent }));
|
|
43
31
|
}
|
|
@@ -65,13 +53,18 @@ var AvatarInner = function (_a) {
|
|
|
65
53
|
return (React__default.createElement(ImageRenderer, { className: imageRendererClassName, url: "", height: height, width: width, alt: alt, defaultComponent: defaultComponent }));
|
|
66
54
|
};
|
|
67
55
|
function Avatar(_a, ref) {
|
|
68
|
-
var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.src, src = _c === void 0 ? '' : _c, _d = _a.alt, alt = _d === void 0 ? '' : _d, _e = _a.width, width = _e === void 0 ? '56px' : _e, _f = _a.height, height = _f === void 0 ? '56px' : _f, onClick = _a.onClick, customDefaultComponent = _a.customDefaultComponent;
|
|
56
|
+
var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.src, src = _c === void 0 ? '' : _c, _d = _a.alt, alt = _d === void 0 ? '' : _d, _e = _a.width, width = _e === void 0 ? '56px' : _e, _f = _a.height, height = _f === void 0 ? '56px' : _f, _g = _a.zIndex, zIndex = _g === void 0 ? 0 : _g, _h = _a.left, left = _h === void 0 ? '0px' : _h, onClick = _a.onClick, customDefaultComponent = _a.customDefaultComponent;
|
|
69
57
|
return (React__default.createElement("div", { className: __spreadArray(__spreadArray([], (Array.isArray(className) ? className : [className]), true), [
|
|
70
58
|
'sendbird-avatar',
|
|
71
|
-
], false).join(' '), role: "button", ref: ref, style: {
|
|
59
|
+
], false).join(' '), role: "button", ref: ref, style: {
|
|
60
|
+
height: height,
|
|
61
|
+
width: width,
|
|
62
|
+
zIndex: zIndex,
|
|
63
|
+
left: left,
|
|
64
|
+
}, onClick: onClick, onKeyDown: onClick, tabIndex: 0 },
|
|
72
65
|
React__default.createElement(AvatarInner, { src: src, width: width, height: height, alt: alt, customDefaultComponent: customDefaultComponent })));
|
|
73
66
|
}
|
|
74
67
|
var Avatar$1 = React__default.forwardRef(Avatar);
|
|
75
68
|
|
|
76
|
-
export { Avatar$1 as A,
|
|
77
|
-
//# sourceMappingURL=bundle-
|
|
69
|
+
export { Avatar$1 as A, AvatarDefault as a, AvatarInner as b };
|
|
70
|
+
//# sourceMappingURL=bundle-Tep20T57.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-Tep20T57.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as isFileMessage, b as isMultipleFilesMessage } from './bundle-
|
|
2
|
-
import { K } from './bundle-
|
|
1
|
+
import { c as isFileMessage, b as isMultipleFilesMessage } from './bundle-ZT6XnGSN.js';
|
|
2
|
+
import { K } from './bundle-zz1eCYds.js';
|
|
3
3
|
|
|
4
4
|
function getMessageFirstFileType(message) {
|
|
5
5
|
return K(message)
|
|
@@ -66,4 +66,4 @@ function getMessageFirstFileThumbnailUrl(message) {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export { getMessageFirstFileType as a, getMessageFirstFileName as b, getMessageFirstFileThumbnailUrl as c, getMessageFirstFileUrl as g };
|
|
69
|
-
//# sourceMappingURL=bundle-
|
|
69
|
+
//# sourceMappingURL=bundle-WZvwkbYN.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-WZvwkbYN.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { g as getStringSet } from './bundle-
|
|
3
|
-
import { d as defaultLocale } from './bundle-
|
|
2
|
+
import { g as getStringSet } from './bundle-JuKER7D_.js';
|
|
3
|
+
import { d as defaultLocale } from './bundle-xgxXEKxk.js';
|
|
4
4
|
|
|
5
5
|
var LocalizationContext = React__default.createContext({
|
|
6
6
|
stringSet: getStringSet('en'),
|
|
@@ -13,4 +13,4 @@ var LocalizationProvider = function (props) {
|
|
|
13
13
|
var useLocalization = function () { return React__default.useContext(LocalizationContext); };
|
|
14
14
|
|
|
15
15
|
export { LocalizationContext as L, LocalizationProvider as a, useLocalization as u };
|
|
16
|
-
//# sourceMappingURL=bundle-
|
|
16
|
+
//# sourceMappingURL=bundle-Xly_X4hP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-Xly_X4hP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { _ as __assign, a as __spreadArray,
|
|
1
|
+
import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-Y6TqPszM.js';
|
|
2
2
|
import React__default, { useEffect, useCallback, useReducer, useState, useMemo, useContext } from 'react';
|
|
3
3
|
import { GroupChannelHandler } from '@sendbird/chat/groupChannel';
|
|
4
|
-
import { p as pubSubTopics } from './bundle-
|
|
5
|
-
import { u as uuidv4 } from './bundle-
|
|
6
|
-
import { n as noop } from './bundle-
|
|
7
|
-
import { D as DELIVERY_RECEIPT$1 } from './bundle-
|
|
8
|
-
import { U as UserProfileProvider } from './bundle-
|
|
4
|
+
import { p as pubSubTopics } from './bundle-7x4clnC7.js';
|
|
5
|
+
import { u as uuidv4 } from './bundle-8VA5hO1c.js';
|
|
6
|
+
import { n as noop } from './bundle-JhG5BHdE.js';
|
|
7
|
+
import { D as DELIVERY_RECEIPT$1 } from './bundle-Sk3SXXP7.js';
|
|
8
|
+
import { U as UserProfileProvider } from './bundle-3WQuaADd.js';
|
|
9
9
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
10
|
-
import { K, S } from './bundle-
|
|
11
|
-
import { T as filterChannelListParams, V as getChannelsWithUpsertedChannel } from './bundle-
|
|
10
|
+
import { K, S } from './bundle-zz1eCYds.js';
|
|
11
|
+
import { T as filterChannelListParams, V as getChannelsWithUpsertedChannel } from './bundle-ZT6XnGSN.js';
|
|
12
12
|
|
|
13
13
|
var RESET_CHANNEL_LIST = 'RESET_CHANNEL_LIST';
|
|
14
14
|
var CREATE_CHANNEL = 'CREATE_CHANNEL';
|
|
@@ -823,4 +823,4 @@ function useChannelListContext() {
|
|
|
823
823
|
}
|
|
824
824
|
|
|
825
825
|
export { ChannelListProvider as C, LEAVE_CHANNEL_SUCCESS as L, SET_CURRENT_CHANNEL as S, useChannelListContext as u };
|
|
826
|
-
//# sourceMappingURL=bundle-
|
|
826
|
+
//# sourceMappingURL=bundle-Xq25cpwP.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Xq25cpwP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -93,5 +93,5 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
93
93
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export { __assign as _, __spreadArray as a,
|
|
97
|
-
//# sourceMappingURL=bundle-
|
|
96
|
+
export { __assign as _, __spreadArray as a, __awaiter as b, __generator as c, __extends as d };
|
|
97
|
+
//# sourceMappingURL=bundle-Y6TqPszM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Y6TqPszM.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -10,4 +10,4 @@ var ThreadReplySelectType;
|
|
|
10
10
|
})(ThreadReplySelectType || (ThreadReplySelectType = {}));
|
|
11
11
|
|
|
12
12
|
export { MAX_USER_MENTION_COUNT as M, NEXT_RESULT_SIZE as N, PREV_RESULT_SIZE as P, ThreadReplySelectType as T, USER_MENTION_TEMP_CHAR as U, MAX_USER_SUGGESTION_COUNT as a };
|
|
13
|
-
//# sourceMappingURL=bundle-
|
|
13
|
+
//# sourceMappingURL=bundle-YQkYq090.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-YQkYq090.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useCallback, useEffect, useContext, useMemo, useReducer } from 'react';
|
|
2
|
-
import { p as pubSubTopics } from './bundle-
|
|
2
|
+
import { p as pubSubTopics } from './bundle-7x4clnC7.js';
|
|
3
3
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
4
|
-
import { _ as __assign, a as __spreadArray } from './bundle-
|
|
4
|
+
import { _ as __assign, a as __spreadArray } from './bundle-Y6TqPszM.js';
|
|
5
5
|
|
|
6
6
|
var OpenChannelListFetchingStatus;
|
|
7
7
|
(function (OpenChannelListFetchingStatus) {
|
|
@@ -352,4 +352,4 @@ var OpenChannelListProvider$1 = {
|
|
|
352
352
|
};
|
|
353
353
|
|
|
354
354
|
export { OpenChannelListProvider as O, OpenChannelListFetchingStatus as a, OpenChannelListActionTypes$1 as b, OpenChannelListProvider$1 as c, useOpenChannelListContext as u };
|
|
355
|
-
//# sourceMappingURL=bundle-
|
|
355
|
+
//# sourceMappingURL=bundle-YdRy5sj8.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-YdRy5sj8.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -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-5JvP07dI.js';
|
|
3
|
+
import './bundle-Y6TqPszM.js';
|
|
4
|
+
import './bundle-0IelBspE.js';
|
|
5
5
|
import { ButtonTypes } from '../ui/Button.js';
|
|
6
|
-
import { L as LocalizationContext } from './bundle-
|
|
6
|
+
import { L as LocalizationContext } from './bundle-Xly_X4hP.js';
|
|
7
7
|
import { useThreadContext } from '../Thread/context.js';
|
|
8
|
-
import { g as getModalDeleteMessageTitle } from './bundle-
|
|
8
|
+
import { g as getModalDeleteMessageTitle } from './bundle-JSlDfYOF.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-ZNwxfYJx.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-ZNwxfYJx.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __assign, a as __spreadArray } from './bundle-
|
|
1
|
+
import { _ as __assign, a as __spreadArray } from './bundle-Y6TqPszM.js';
|
|
2
2
|
import { OutgoingMessageStates, getOutgoingMessageState } from '../utils/message/getOutgoingMessageState.js';
|
|
3
|
-
import { K } from './bundle-
|
|
3
|
+
import { K } from './bundle-zz1eCYds.js';
|
|
4
4
|
|
|
5
5
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
|
|
6
6
|
var SUPPORTED_MIMES = {
|
|
@@ -654,4 +654,4 @@ var isSendableMessage = function (message) {
|
|
|
654
654
|
};
|
|
655
655
|
|
|
656
656
|
export { isAudio as A, isVoiceMessageMimeType as B, isSentStatus as C, arrayEqual as D, getMimeTypesUIKitAccepts as E, isImageMessage as F, isImageFileInfo as G, isAudioMessage as H, isOGMessage as I, isTextMessage as J, getSuggestedReplies as K, isUrl as L, isThreadMessage as M, isSendableMessage as N, getEmojiUrl as O, isReactedBy as P, getEmojiTooltipString as Q, getEmojiMapAll as R, StringObjType as S, filterChannelListParams as T, UIKitMessageTypes as U, getChannelsWithUpsertedChannel as V, filterMessageListParams as W, isTextuallyNull as X, isReadMessage as a, isMultipleFilesMessage as b, isFileMessage as c, isSupportedFileView as d, isVideo as e, isImage as f, isEditedMessage as g, getSenderName as h, isVoiceMessage as i, isUserMessage as j, isSentMessage as k, isFailedMessage as l, isPendingMessage as m, getClassName as n, copyToClipboard as o, getEmojiListAll as p, getUIKitFileTypes as q, isThumbnailMessage as r, isGif as s, getUIKitMessageType as t, getUIKitFileType as u, truncateString as v, getUIKitMessageTypes as w, isVideoMessage as x, isGifMessage as y, convertWordToStringObj as z };
|
|
657
|
-
//# sourceMappingURL=bundle-
|
|
657
|
+
//# sourceMappingURL=bundle-ZT6XnGSN.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-ZT6XnGSN.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as __assign } from './bundle-
|
|
1
|
+
import { _ as __assign } from './bundle-Y6TqPszM.js';
|
|
2
2
|
import { useState, useRef, useCallback } from 'react';
|
|
3
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
3
|
+
import { u as useMediaQueryContext } from './bundle-Mn36ivpf.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-cJc3JBZb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-cJc3JBZb.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-dJBzT033.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as LabelStringSet } from './bundle-
|
|
1
|
+
import { c as LabelStringSet } from './bundle-0IelBspE.js';
|
|
2
2
|
|
|
3
3
|
var getChannelTitle = function (channel, currentUserId, stringSet) {
|
|
4
4
|
var _a;
|
|
@@ -22,4 +22,4 @@ var getChannelTitle = function (channel, currentUserId, stringSet) {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
export { getChannelTitle as g };
|
|
25
|
-
//# sourceMappingURL=bundle-
|
|
25
|
+
//# sourceMappingURL=bundle-h4Ck6NLh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-h4Ck6NLh.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as VOICE_RECORDER_AUDIO_SAMPLE_RATE } from './bundle-Sk3SXXP7.js';
|
|
2
2
|
import { WavHeader as $dd7ee3788d91dcb8$export$cb948f2d6837f136, Mp3Encoder as $dd7ee3788d91dcb8$export$9ca5d136ebf61cf2 } 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-hGeYEXGB.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-hGeYEXGB.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-Y6TqPszM.js';
|
|
2
2
|
import React__default, { useContext, useState, useEffect, useRef, useCallback } from 'react';
|
|
3
3
|
import Button, { ButtonTypes, ButtonSizes } from '../ui/Button.js';
|
|
4
4
|
import ContextMenu, { MenuItems, MenuItem } from '../ui/ContextMenu.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
6
6
|
import IconButton from '../ui/IconButton.js';
|
|
7
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
8
|
-
import { L as LocalizationContext } from './bundle-
|
|
9
|
-
import { a as UserProfileContext } from './bundle-
|
|
10
|
-
import './bundle-
|
|
11
|
-
import { A as Avatar } from './bundle-
|
|
7
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-0IelBspE.js';
|
|
8
|
+
import { L as LocalizationContext } from './bundle-Xly_X4hP.js';
|
|
9
|
+
import { a as UserProfileContext } from './bundle-3WQuaADd.js';
|
|
10
|
+
import './bundle-967zXkjf.js';
|
|
11
|
+
import { A as Avatar } from './bundle-Tep20T57.js';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import './bundle-
|
|
13
|
+
import './bundle-Mn36ivpf.js';
|
|
14
14
|
import MutedAvatarOverlay from '../ui/MutedAvatarOverlay.js';
|
|
15
15
|
import UserProfile from '../ui/UserProfile.js';
|
|
16
16
|
import { useOpenChannelSettingsContext } from '../OpenChannelSettings/context.js';
|
|
17
17
|
import '../withSendbird.js';
|
|
18
|
-
import { M as Modal } from './bundle-
|
|
18
|
+
import { M as Modal } from './bundle-5JvP07dI.js';
|
|
19
19
|
import UserListItem$1 from '../ui/UserListItem.js';
|
|
20
|
-
import { n as noop } from './bundle-
|
|
20
|
+
import { n as noop } from './bundle-JhG5BHdE.js';
|
|
21
21
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
22
22
|
|
|
23
23
|
function ParticipantsModal(_a) {
|
|
@@ -230,4 +230,4 @@ function ParticipantList(_a) {
|
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
export { ParticipantList as P, UserListItem as U };
|
|
233
|
-
//# sourceMappingURL=bundle-
|
|
233
|
+
//# sourceMappingURL=bundle-jw3t70tT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-jw3t70tT.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import React__default, { useRef, useState, useEffect } from 'react';
|
|
2
|
+
import { u as useLocalization } from './bundle-Xly_X4hP.js';
|
|
3
|
+
import { useVoicePlayer } from '../VoicePlayer/useVoicePlayer.js';
|
|
4
|
+
import { useVoiceRecorder, VoiceRecorderStatus } from '../VoiceRecorder/useVoiceRecorder.js';
|
|
5
|
+
import { i as isDisabledBecauseFrozen, b as isDisabledBecauseMuted } from './bundle-menQ38z9.js';
|
|
6
|
+
import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-nHhZeAVb.js';
|
|
7
|
+
import { M as Modal } from './bundle-5JvP07dI.js';
|
|
8
|
+
import Button, { ButtonTypes, ButtonSizes } from '../ui/Button.js';
|
|
9
|
+
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
10
|
+
import { c as VOICE_RECORDER_DEFAULT_MIN } from './bundle-Sk3SXXP7.js';
|
|
11
|
+
import { V as VOICE_PLAYER_STATUS } from './bundle-Ku1a64TD.js';
|
|
12
|
+
import { u as uuidv4 } from './bundle-8VA5hO1c.js';
|
|
13
|
+
|
|
14
|
+
var VoiceMessageInputWrapper = function (_a) {
|
|
15
|
+
var _b;
|
|
16
|
+
var channel = _a.channel, onCancelClick = _a.onCancelClick, onSubmitClick = _a.onSubmitClick;
|
|
17
|
+
var uuid = useRef(uuidv4()).current;
|
|
18
|
+
var _c = useState(null), audioFile = _c[0], setAudioFile = _c[1];
|
|
19
|
+
var _d = useState(VoiceMessageInputStatus.READY_TO_RECORD), voiceInputState = _d[0], setVoiceInputState = _d[1];
|
|
20
|
+
var _e = useState(false), isSubmitted = _e[0], setSubmit = _e[1];
|
|
21
|
+
var _f = useState(false), isDisabled = _f[0], setDisabled = _f[1];
|
|
22
|
+
var _g = useState(false), showModal = _g[0], setShowModal = _g[1];
|
|
23
|
+
var stringSet = useLocalization().stringSet;
|
|
24
|
+
var config = useSendbirdStateContext().config;
|
|
25
|
+
var minRecordingTime = ((_b = config === null || config === void 0 ? void 0 : config.voiceRecord) === null || _b === void 0 ? void 0 : _b.minRecordingTime) || VOICE_RECORDER_DEFAULT_MIN;
|
|
26
|
+
var _h = useVoiceRecorder({
|
|
27
|
+
onRecordingStarted: function () {
|
|
28
|
+
setVoiceInputState(VoiceMessageInputStatus.RECORDING);
|
|
29
|
+
},
|
|
30
|
+
onRecordingEnded: function (audioFile) {
|
|
31
|
+
setAudioFile(audioFile);
|
|
32
|
+
},
|
|
33
|
+
}), start = _h.start, stop = _h.stop, cancel = _h.cancel, recordingTime = _h.recordingTime, recordingStatus = _h.recordingStatus, recordingLimit = _h.recordingLimit;
|
|
34
|
+
var voicePlayer = useVoicePlayer({
|
|
35
|
+
channelUrl: channel === null || channel === void 0 ? void 0 : channel.url,
|
|
36
|
+
key: uuid,
|
|
37
|
+
audioFile: audioFile,
|
|
38
|
+
});
|
|
39
|
+
var play = voicePlayer.play, pause = voicePlayer.pause, playbackTime = voicePlayer.playbackTime, playingStatus = voicePlayer.playingStatus;
|
|
40
|
+
var stopVoicePlayer = voicePlayer.stop;
|
|
41
|
+
// disabled state: muted & frozen
|
|
42
|
+
useEffect(function () {
|
|
43
|
+
if (isDisabledBecauseFrozen(channel) || isDisabledBecauseMuted(channel)) {
|
|
44
|
+
setDisabled(true);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
setDisabled(false);
|
|
48
|
+
}
|
|
49
|
+
}, [channel === null || channel === void 0 ? void 0 : channel.myRole, channel === null || channel === void 0 ? void 0 : channel.isFrozen, channel === null || channel === void 0 ? void 0 : channel.myMutedState]);
|
|
50
|
+
// call onSubmitClick when submit button is clicked and recorded audio file is created
|
|
51
|
+
useEffect(function () {
|
|
52
|
+
if (isSubmitted && audioFile) {
|
|
53
|
+
onSubmitClick(audioFile, recordingTime);
|
|
54
|
+
setSubmit(false);
|
|
55
|
+
setAudioFile(null);
|
|
56
|
+
}
|
|
57
|
+
}, [isSubmitted, audioFile, recordingTime]);
|
|
58
|
+
// operate which control button should be displayed
|
|
59
|
+
useEffect(function () {
|
|
60
|
+
if (audioFile) {
|
|
61
|
+
if (recordingTime < minRecordingTime) {
|
|
62
|
+
setVoiceInputState(VoiceMessageInputStatus.READY_TO_RECORD);
|
|
63
|
+
setAudioFile(null);
|
|
64
|
+
}
|
|
65
|
+
else if (playingStatus === VOICE_PLAYER_STATUS.PLAYING) {
|
|
66
|
+
setVoiceInputState(VoiceMessageInputStatus.PLAYING);
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
setVoiceInputState(VoiceMessageInputStatus.READY_TO_PLAY);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}, [audioFile, recordingTime, playingStatus]);
|
|
73
|
+
return (React__default.createElement("div", { className: "sendbird-voice-message-input-wrapper" },
|
|
74
|
+
React__default.createElement(VoiceMessageInput, { currentValue: recordingStatus === VoiceRecorderStatus.COMPLETED ? playbackTime : recordingTime, maximumValue: recordingStatus === VoiceRecorderStatus.COMPLETED ? recordingTime : recordingLimit, currentType: voiceInputState, onCancelClick: function () {
|
|
75
|
+
onCancelClick();
|
|
76
|
+
cancel();
|
|
77
|
+
stopVoicePlayer();
|
|
78
|
+
}, onSubmitClick: function () {
|
|
79
|
+
if (isDisabled) {
|
|
80
|
+
setShowModal(true);
|
|
81
|
+
setVoiceInputState(VoiceMessageInputStatus.READY_TO_RECORD);
|
|
82
|
+
}
|
|
83
|
+
else {
|
|
84
|
+
stop();
|
|
85
|
+
pause();
|
|
86
|
+
setSubmit(true);
|
|
87
|
+
}
|
|
88
|
+
}, onControlClick: function (type) {
|
|
89
|
+
switch (type) {
|
|
90
|
+
case VoiceMessageInputStatus.READY_TO_RECORD: {
|
|
91
|
+
stopVoicePlayer();
|
|
92
|
+
start();
|
|
93
|
+
break;
|
|
94
|
+
}
|
|
95
|
+
case VoiceMessageInputStatus.RECORDING: {
|
|
96
|
+
if (recordingTime >= minRecordingTime && !isDisabled) {
|
|
97
|
+
stop();
|
|
98
|
+
}
|
|
99
|
+
else if (isDisabled) {
|
|
100
|
+
cancel();
|
|
101
|
+
setShowModal(true);
|
|
102
|
+
setVoiceInputState(VoiceMessageInputStatus.READY_TO_RECORD);
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
cancel();
|
|
106
|
+
setVoiceInputState(VoiceMessageInputStatus.READY_TO_RECORD);
|
|
107
|
+
}
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
case VoiceMessageInputStatus.READY_TO_PLAY: {
|
|
111
|
+
play();
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
case VoiceMessageInputStatus.PLAYING: {
|
|
115
|
+
pause();
|
|
116
|
+
break;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
} }),
|
|
120
|
+
showModal && (React__default.createElement(Modal, { className: "sendbird-voice-message-input-wrapper-alert", titleText: isDisabledBecauseMuted(channel)
|
|
121
|
+
? stringSet.MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_MUTED
|
|
122
|
+
: stringSet.MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_FROZEN, hideFooter: true, isCloseOnClickOutside: true, onCancel: function () {
|
|
123
|
+
setShowModal(false);
|
|
124
|
+
onCancelClick();
|
|
125
|
+
} },
|
|
126
|
+
React__default.createElement("div", { className: "sendbird-voice-message-input-wrapper-alert__body" },
|
|
127
|
+
React__default.createElement(Button, { className: "sendbird-voice-message-input-wrapper-alert__body__ok-button", type: ButtonTypes.PRIMARY, size: ButtonSizes.BIG, onClick: function () {
|
|
128
|
+
setShowModal(false);
|
|
129
|
+
onCancelClick();
|
|
130
|
+
} }, stringSet.BUTTON__OK))))));
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
export { VoiceMessageInputWrapper as V };
|
|
134
|
+
//# sourceMappingURL=bundle-jyTJAjUy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-jyTJAjUy.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React__default, { useState } from 'react';
|
|
2
2
|
import ContextMenu, { MenuItems, MenuItem } from '../ui/ContextMenu.js';
|
|
3
|
-
import { j as isUserMessage, k as isSentMessage, l as isFailedMessage, m as isPendingMessage, c as isFileMessage, i as isVoiceMessage, M as isThreadMessage, o as copyToClipboard, p as getEmojiListAll } from './bundle-
|
|
4
|
-
import { u as useLocalization } from './bundle-
|
|
3
|
+
import { j as isUserMessage, k as isSentMessage, l as isFailedMessage, m as isPendingMessage, c as isFileMessage, i as isVoiceMessage, M as isThreadMessage, o as copyToClipboard, p as getEmojiListAll } from './bundle-ZT6XnGSN.js';
|
|
4
|
+
import { u as useLocalization } from './bundle-Xly_X4hP.js';
|
|
5
5
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
6
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-0IelBspE.js';
|
|
7
7
|
import BottomSheet from '../ui/BottomSheet.js';
|
|
8
8
|
import ImageRenderer from '../ui/ImageRenderer.js';
|
|
9
9
|
import ReactionButton from '../ui/ReactionButton.js';
|
|
@@ -219,4 +219,4 @@ var MobileMenu = function (props) {
|
|
|
219
219
|
};
|
|
220
220
|
|
|
221
221
|
export { MobileMenu as M };
|
|
222
|
-
//# sourceMappingURL=bundle-
|
|
222
|
+
//# sourceMappingURL=bundle-k4WuO78S.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-k4WuO78S.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-Y6TqPszM.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { f as format } from './bundle-
|
|
3
|
+
import { f as format } from './bundle-pmVgESW3.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-0IelBspE.js';
|
|
6
6
|
import Loader from '../ui/Loader.js';
|
|
7
|
-
import { f as isImage, s as isGif, e as isVideo, A as isAudio, B as isVoiceMessageMimeType, C as isSentStatus } from './bundle-
|
|
7
|
+
import { f as isImage, s as isGif, e as isVideo, A as isAudio, B as isVoiceMessageMimeType, C as isSentStatus } from './bundle-ZT6XnGSN.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-oghsyfOE.js';
|
|
10
|
+
import { u as useLocalization } from './bundle-Xly_X4hP.js';
|
|
11
11
|
|
|
12
12
|
var getChannelTitle = function (channel, currentUserId, stringSet) {
|
|
13
13
|
var _a;
|
|
@@ -128,4 +128,4 @@ function MessageStatus(_a) {
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
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-
|
|
131
|
+
//# sourceMappingURL=bundle-l0M5nN1Q.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-l0M5nN1Q.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
2
|
-
import { L as isUrl } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-Y6TqPszM.js';
|
|
2
|
+
import { L as isUrl } from './bundle-ZT6XnGSN.js';
|
|
3
3
|
|
|
4
4
|
var USER_MENTION_PREFIX = '@';
|
|
5
5
|
|
|
@@ -129,4 +129,4 @@ function getWhiteSpacePreservedText(text) {
|
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
export { TOKEN_TYPES as T, USER_MENTION_PREFIX as U, getWhiteSpacePreservedText as g, tokenizeMessage as t };
|
|
132
|
-
//# sourceMappingURL=bundle-
|
|
132
|
+
//# sourceMappingURL=bundle-lSKfBDuq.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-lSKfBDuq.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|