@sendbird/uikit-react 3.9.3-rc-0 → 3.9.3-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 +56 -56
- package/CHANGELOG.md +31 -0
- package/Channel/components/ChannelHeader.js +25 -25
- package/Channel/components/ChannelUI.js +50 -50
- package/Channel/components/FileViewer.js +24 -24
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +43 -43
- package/Channel/components/MessageInput.js +36 -36
- package/Channel/components/MessageList.js +45 -45
- package/Channel/components/RemoveMessageModal.js +23 -23
- package/Channel/components/SuggestedMentionList.js +23 -23
- package/Channel/components/TypingIndicator.js +19 -19
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +16 -16
- package/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/Channel/utils/compareMessagesForGrouping.js +6 -6
- package/Channel/utils/getMessagePartsInfo.js +7 -7
- package/Channel.js +50 -50
- package/ChannelList/components/AddChannel.js +18 -18
- package/ChannelList/components/ChannelListHeader.js +9 -9
- package/ChannelList/components/ChannelListUI.js +34 -34
- package/ChannelList/components/ChannelPreview.js +32 -32
- package/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/ChannelList/context.js +9 -9
- package/ChannelList.js +34 -34
- package/ChannelSettings/components/ChannelProfile.js +14 -14
- package/ChannelSettings/components/ChannelSettingsUI.js +19 -19
- package/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +17 -17
- package/ChannelSettings/components/UserListItem.js +13 -13
- package/ChannelSettings/components/UserPanel.js +16 -16
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +19 -19
- package/CreateChannel/components/CreateChannelUI.js +16 -16
- package/CreateChannel/components/InviteUsers.js +16 -16
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +16 -16
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -12
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +12 -12
- package/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/EditUserProfile.js +13 -13
- package/MessageSearch/components/MessageSearchUI.js +15 -15
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +15 -15
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +19 -19
- package/OpenChannel/components/OpenChannelInput.js +26 -26
- package/OpenChannel/components/OpenChannelMessage.js +34 -34
- package/OpenChannel/components/OpenChannelMessageList.js +37 -37
- package/OpenChannel/components/OpenChannelUI.js +37 -37
- package/OpenChannel/context.js +18 -18
- package/OpenChannel.js +37 -37
- package/OpenChannelList/components/OpenChannelListUI.js +15 -15
- package/OpenChannelList/components/OpenChannelPreview.js +7 -7
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +15 -15
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +19 -19
- package/README.md +24 -22
- package/SendbirdProvider.js +21 -17
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +40 -40
- package/Thread/components/ParentMessageInfoItem.js +28 -28
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +44 -44
- package/Thread/components/ThreadListItem.js +44 -44
- package/Thread/components/ThreadMessageInput.js +36 -36
- package/Thread/components/ThreadUI.js +48 -48
- package/Thread/context.js +13 -13
- package/Thread.js +48 -48
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +10 -10
- package/VoiceRecorder/context.js +10 -10
- package/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/chunks/{bundle-Gt-hdHTb.js → bundle--ItQfSTI.js} +5 -5
- package/chunks/{bundle-Gt-hdHTb.js.map → bundle--ItQfSTI.js.map} +1 -1
- package/chunks/{bundle-Nc3CgLMw.js → bundle--yRzbc9U.js} +3 -3
- package/chunks/{bundle-Nc3CgLMw.js.map → bundle--yRzbc9U.js.map} +1 -1
- package/chunks/{bundle-op5reery.js → bundle-0ALwnHNc.js} +3 -3
- package/chunks/bundle-0ALwnHNc.js.map +1 -0
- package/chunks/{bundle-wAk4n8_J.js → bundle-0LVBY1Kh.js} +6 -6
- package/chunks/bundle-0LVBY1Kh.js.map +1 -0
- package/chunks/{bundle-442ZifHc.js → bundle-0fMsVhUd.js} +3 -3
- package/chunks/bundle-0fMsVhUd.js.map +1 -0
- package/chunks/{bundle-bSqchLGB.js → bundle-1DDGx2zI.js} +10 -32
- package/chunks/bundle-1DDGx2zI.js.map +1 -0
- package/chunks/{bundle-Lwkqzb0b.js → bundle-4IJH7QEY.js} +4 -4
- package/chunks/bundle-4IJH7QEY.js.map +1 -0
- package/chunks/{bundle-n_jRVaG_.js → bundle-58DQiUD5.js} +1 -1
- package/chunks/bundle-58DQiUD5.js.map +1 -0
- package/chunks/{bundle-uZ3cCjNz.js → bundle-5OkWTjml.js} +1 -1
- package/chunks/bundle-5OkWTjml.js.map +1 -0
- package/chunks/{bundle-76TfTByX.js → bundle-78pBi79a.js} +1 -1
- package/chunks/bundle-78pBi79a.js.map +1 -0
- package/chunks/{bundle-r9tWURLe.js → bundle-7pl3B4SW.js} +9 -9
- package/chunks/{bundle-r9tWURLe.js.map → bundle-7pl3B4SW.js.map} +1 -1
- package/chunks/{bundle-FpzNzZJe.js → bundle-7zXnNfIQ.js} +2 -2
- package/chunks/bundle-7zXnNfIQ.js.map +1 -0
- package/chunks/{bundle-cOTYyV89.js → bundle-8RtzOyFC.js} +3 -3
- package/chunks/bundle-8RtzOyFC.js.map +1 -0
- package/chunks/{bundle-jAaenNES.js → bundle-A-MnkKwW.js} +3 -3
- package/chunks/{bundle-jAaenNES.js.map → bundle-A-MnkKwW.js.map} +1 -1
- package/chunks/{bundle-ZhiMeChf.js → bundle-AcAJGwBh.js} +1 -1
- package/chunks/bundle-AcAJGwBh.js.map +1 -0
- package/chunks/{bundle-BeVTS3Bd.js → bundle-AkASiaaY.js} +8 -8
- package/chunks/{bundle-BeVTS3Bd.js.map → bundle-AkASiaaY.js.map} +1 -1
- package/chunks/{bundle-QROPFDle.js → bundle-DRnzKt-b.js} +5 -5
- package/chunks/{bundle-QROPFDle.js.map → bundle-DRnzKt-b.js.map} +1 -1
- package/chunks/{bundle-L3wWojka.js → bundle-EL51Zjph.js} +3 -3
- package/chunks/{bundle-L3wWojka.js.map → bundle-EL51Zjph.js.map} +1 -1
- package/chunks/{bundle-9rcM31fD.js → bundle-EMSxA1Fh.js} +20 -14
- package/chunks/{bundle-9rcM31fD.js.map → bundle-EMSxA1Fh.js.map} +1 -1
- package/chunks/{bundle-okm6lFGI.js → bundle-H-0BE_Ym.js} +3 -12
- package/chunks/bundle-H-0BE_Ym.js.map +1 -0
- package/chunks/{bundle-jZN4I8YR.js → bundle-HyKeX972.js} +1 -1
- package/chunks/bundle-HyKeX972.js.map +1 -0
- package/chunks/{bundle-mIzXbj76.js → bundle-IKv9Z9_Y.js} +8 -4
- package/chunks/{bundle-mIzXbj76.js.map → bundle-IKv9Z9_Y.js.map} +1 -1
- package/chunks/{bundle-izXEaAzu.js → bundle-JhkOoTkQ.js} +1 -1
- package/chunks/{bundle-izXEaAzu.js.map → bundle-JhkOoTkQ.js.map} +1 -1
- package/chunks/{bundle-7X4gNGSL.js → bundle-KMF_Auff.js} +1 -1
- package/chunks/bundle-KMF_Auff.js.map +1 -0
- package/chunks/{bundle-Yw8SfpVI.js → bundle-Lh-vR1CZ.js} +4 -4
- package/chunks/{bundle-Yw8SfpVI.js.map → bundle-Lh-vR1CZ.js.map} +1 -1
- package/chunks/{bundle-A7XbXTsq.js → bundle-OrHk5n_A.js} +1 -1
- package/chunks/bundle-OrHk5n_A.js.map +1 -0
- package/chunks/{bundle-27GyiefI.js → bundle-P1wmnvy9.js} +1 -1
- package/chunks/bundle-P1wmnvy9.js.map +1 -0
- package/chunks/{bundle-lcNrWbsV.js → bundle-PLqfF7ux.js} +2 -2
- package/chunks/{bundle-lcNrWbsV.js.map → bundle-PLqfF7ux.js.map} +1 -1
- package/chunks/{bundle-gF9Zk7CT.js → bundle-T-S631y-.js} +4 -4
- package/chunks/bundle-T-S631y-.js.map +1 -0
- package/chunks/{bundle-cX8U_VhV.js → bundle-TsienPu3.js} +1 -1
- package/chunks/bundle-TsienPu3.js.map +1 -0
- package/chunks/{bundle-VS0auAdJ.js → bundle-VjG3_Cxe.js} +1 -1
- package/chunks/bundle-VjG3_Cxe.js.map +1 -0
- package/chunks/{bundle-r_k_oOHy.js → bundle-ZWAOldr9.js} +2 -2
- package/chunks/bundle-ZWAOldr9.js.map +1 -0
- package/chunks/{bundle-grwjdnuR.js → bundle-bDWAVmob.js} +1 -1
- package/chunks/bundle-bDWAVmob.js.map +1 -0
- package/chunks/{bundle-F-7fIVr5.js → bundle-brC7Asxc.js} +60 -199
- package/chunks/bundle-brC7Asxc.js.map +1 -0
- package/chunks/{bundle-ZVc6IN6u.js → bundle-czxH9r2i.js} +4 -4
- package/chunks/bundle-czxH9r2i.js.map +1 -0
- package/chunks/{bundle-vEgsgkZU.js → bundle-dNxyH8Er.js} +5 -5
- package/chunks/bundle-dNxyH8Er.js.map +1 -0
- package/chunks/{bundle-gLilEEG5.js → bundle-fnSnz19k.js} +2 -4
- package/chunks/bundle-fnSnz19k.js.map +1 -0
- package/chunks/{bundle--MiZG3Js.js → bundle-gKkAyMAQ.js} +3 -3
- package/chunks/bundle-gKkAyMAQ.js.map +1 -0
- package/chunks/{bundle--t8HI__x.js → bundle-gpPQ_Did.js} +1 -1
- package/chunks/bundle-gpPQ_Did.js.map +1 -0
- package/chunks/{bundle-VMKYsVyS.js → bundle-i1mS-JcY.js} +4 -4
- package/chunks/{bundle-VMKYsVyS.js.map → bundle-i1mS-JcY.js.map} +1 -1
- package/chunks/{bundle-f3fJ8rol.js → bundle-l4t9ThVv.js} +4 -4
- package/chunks/{bundle-f3fJ8rol.js.map → bundle-l4t9ThVv.js.map} +1 -1
- package/chunks/{bundle-gRSst73Y.js → bundle-lsEXnFwe.js} +1 -1
- package/chunks/bundle-lsEXnFwe.js.map +1 -0
- package/chunks/{bundle-C4qp0Rjl.js → bundle-mcex4MSM.js} +1 -1
- package/chunks/bundle-mcex4MSM.js.map +1 -0
- package/chunks/{bundle-tlmDc6Lb.js → bundle-nrm7--0q.js} +15 -15
- package/chunks/{bundle-tlmDc6Lb.js.map → bundle-nrm7--0q.js.map} +1 -1
- package/chunks/{bundle-18sxXz96.js → bundle-pUEPyEg9.js} +2 -2
- package/chunks/bundle-pUEPyEg9.js.map +1 -0
- package/chunks/{bundle-c9lGdHcW.js → bundle-pxrescev.js} +16 -13
- package/chunks/{bundle-c9lGdHcW.js.map → bundle-pxrescev.js.map} +1 -1
- package/chunks/{bundle-Eu9o4mDx.js → bundle-qVHH4JST.js} +7 -7
- package/chunks/{bundle-Eu9o4mDx.js.map → bundle-qVHH4JST.js.map} +1 -1
- package/chunks/{bundle-MCNLGc7G.js → bundle-st6t2DcW.js} +1 -1
- package/chunks/bundle-st6t2DcW.js.map +1 -0
- package/chunks/{bundle-bdchyPw2.js → bundle-u3j2nR-h.js} +4 -4
- package/chunks/{bundle-bdchyPw2.js.map → bundle-u3j2nR-h.js.map} +1 -1
- package/chunks/{bundle-ohZbnliW.js → bundle-uHZAUI7c.js} +1 -1
- package/chunks/bundle-uHZAUI7c.js.map +1 -0
- package/chunks/{bundle-UoyQlaRI.js → bundle-uI7_T-M6.js} +1 -1
- package/chunks/bundle-uI7_T-M6.js.map +1 -0
- package/chunks/{bundle-Ulft7jAF.js → bundle-udE7DsNo.js} +3 -3
- package/chunks/bundle-udE7DsNo.js.map +1 -0
- package/chunks/{bundle-HoEu_6S5.js → bundle-ui21vRGg.js} +1 -1
- package/chunks/bundle-ui21vRGg.js.map +1 -0
- package/chunks/{bundle-5MXMpsdy.js → bundle-vwWaTJzg.js} +1 -1
- package/chunks/{bundle-5MXMpsdy.js.map → bundle-vwWaTJzg.js.map} +1 -1
- package/chunks/{bundle-QvPkmWeZ.js → bundle-wNKgjzsO.js} +7 -7
- package/chunks/{bundle-QvPkmWeZ.js.map → bundle-wNKgjzsO.js.map} +1 -1
- package/chunks/{bundle-39Q2USX9.js → bundle-wwLAI-Tt.js} +1 -1
- package/chunks/bundle-wwLAI-Tt.js.map +1 -0
- package/chunks/{bundle-uZo9yT-4.js → bundle-xnF6_yRz.js} +19 -29
- package/chunks/{bundle-uZo9yT-4.js.map → bundle-xnF6_yRz.js.map} +1 -1
- package/chunks/{bundle-zF2UEFCC.js → bundle-yDQ7CB8I.js} +1 -1
- package/chunks/bundle-yDQ7CB8I.js.map +1 -0
- package/chunks/{bundle-U_oG_Fli.js → bundle-yeq5dlz7.js} +1 -1
- package/chunks/{bundle-U_oG_Fli.js.map → bundle-yeq5dlz7.js.map} +1 -1
- package/chunks/{bundle-0PyFB1mS.js → bundle-zNT2XhnG.js} +1 -1
- package/chunks/bundle-zNT2XhnG.js.map +1 -0
- package/chunks/{bundle-NKVaui__.js → bundle-zZ8I6zHr.js} +10 -10
- package/chunks/{bundle-NKVaui__.js.map → bundle-zZ8I6zHr.js.map} +1 -1
- package/chunks/{bundle-zZdwWoac.js → bundle-zqu04qTx.js} +3 -3
- package/chunks/bundle-zqu04qTx.js.map +1 -0
- package/cjs/App.js +56 -56
- package/cjs/Channel/components/ChannelHeader.js +25 -25
- package/cjs/Channel/components/ChannelUI.js +50 -50
- package/cjs/Channel/components/FileViewer.js +24 -24
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +43 -43
- package/cjs/Channel/components/MessageInput.js +36 -36
- package/cjs/Channel/components/MessageList.js +45 -45
- package/cjs/Channel/components/RemoveMessageModal.js +23 -23
- package/cjs/Channel/components/SuggestedMentionList.js +23 -23
- package/cjs/Channel/components/TypingIndicator.js +19 -19
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +16 -16
- package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/cjs/Channel/utils/compareMessagesForGrouping.js +6 -6
- package/cjs/Channel/utils/getMessagePartsInfo.js +7 -7
- package/cjs/Channel.js +50 -50
- package/cjs/ChannelList/components/AddChannel.js +18 -18
- package/cjs/ChannelList/components/ChannelListHeader.js +9 -9
- package/cjs/ChannelList/components/ChannelListUI.js +34 -34
- package/cjs/ChannelList/components/ChannelPreview.js +32 -32
- package/cjs/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/cjs/ChannelList/context.js +9 -9
- package/cjs/ChannelList.js +34 -34
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +19 -19
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +17 -17
- package/cjs/ChannelSettings/components/UserListItem.js +13 -13
- package/cjs/ChannelSettings/components/UserPanel.js +16 -16
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +19 -19
- package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
- package/cjs/CreateChannel/components/InviteUsers.js +16 -16
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +16 -16
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -12
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +12 -12
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +13 -13
- package/cjs/MessageSearch/components/MessageSearchUI.js +15 -15
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +15 -15
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +19 -19
- package/cjs/OpenChannel/components/OpenChannelInput.js +26 -26
- package/cjs/OpenChannel/components/OpenChannelMessage.js +34 -34
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +37 -37
- package/cjs/OpenChannel/components/OpenChannelUI.js +37 -37
- package/cjs/OpenChannel/context.js +18 -18
- package/cjs/OpenChannel.js +37 -37
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +15 -15
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +7 -7
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +15 -15
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +19 -19
- package/cjs/SendbirdProvider.js +24 -20
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +40 -40
- package/cjs/Thread/components/ParentMessageInfoItem.js +28 -28
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +44 -44
- package/cjs/Thread/components/ThreadListItem.js +44 -44
- package/cjs/Thread/components/ThreadMessageInput.js +36 -36
- package/cjs/Thread/components/ThreadUI.js +48 -48
- package/cjs/Thread/context.js +13 -13
- package/cjs/Thread.js +48 -48
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
- package/cjs/VoiceRecorder/context.js +10 -10
- package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/cjs/chunks/{bundle-RO-wWe36.js → bundle--B0BQfa1.js} +2 -2
- package/cjs/chunks/bundle--B0BQfa1.js.map +1 -0
- package/cjs/chunks/{bundle-DVHlQYtd.js → bundle-1m2T6gM2.js} +7 -7
- package/cjs/chunks/bundle-1m2T6gM2.js.map +1 -0
- package/cjs/chunks/{bundle-gIvO-8jr.js → bundle-2GqJNnPm.js} +5 -5
- package/cjs/chunks/{bundle-gIvO-8jr.js.map → bundle-2GqJNnPm.js.map} +1 -1
- package/cjs/chunks/{bundle-u6wGl8M7.js → bundle-3HXTcxM8.js} +2 -2
- package/cjs/chunks/bundle-3HXTcxM8.js.map +1 -0
- package/cjs/chunks/{bundle--nSokLbs.js → bundle-3adobhLn.js} +4 -4
- package/cjs/chunks/{bundle--nSokLbs.js.map → bundle-3adobhLn.js.map} +1 -1
- package/cjs/chunks/{bundle-XQp_z25X.js → bundle-3mY1Vcz8.js} +1 -1
- package/cjs/chunks/bundle-3mY1Vcz8.js.map +1 -0
- package/cjs/chunks/{bundle-P9ECtUIg.js → bundle-5IkTX3IV.js} +1 -1
- package/cjs/chunks/bundle-5IkTX3IV.js.map +1 -0
- package/cjs/chunks/{bundle-6lzPsGGg.js → bundle-5LtRJi82.js} +1 -1
- package/cjs/chunks/bundle-5LtRJi82.js.map +1 -0
- package/cjs/chunks/{bundle-B2URBvLa.js → bundle-7W8pcL9W.js} +36 -30
- package/cjs/chunks/{bundle-B2URBvLa.js.map → bundle-7W8pcL9W.js.map} +1 -1
- package/cjs/chunks/{bundle-anz1RDDi.js → bundle-DqsSLklY.js} +1 -1
- package/cjs/chunks/bundle-DqsSLklY.js.map +1 -0
- package/cjs/chunks/{bundle-dRs-FBcA.js → bundle-E4uJdfwm.js} +23 -23
- package/cjs/chunks/{bundle-dRs-FBcA.js.map → bundle-E4uJdfwm.js.map} +1 -1
- package/cjs/chunks/{bundle-6Hhs3UDZ.js → bundle-EAk9kTGy.js} +7 -7
- package/cjs/chunks/bundle-EAk9kTGy.js.map +1 -0
- package/cjs/chunks/{bundle-2qeSCHXk.js → bundle-EYi_gu9z.js} +6 -6
- package/cjs/chunks/bundle-EYi_gu9z.js.map +1 -0
- package/cjs/chunks/{bundle-M_Oo35uA.js → bundle-G4vR952b.js} +15 -15
- package/cjs/chunks/bundle-G4vR952b.js.map +1 -0
- package/cjs/chunks/{bundle-obZkBbeC.js → bundle-Gz77Ky0z.js} +1 -1
- package/cjs/chunks/bundle-Gz77Ky0z.js.map +1 -0
- package/cjs/chunks/{bundle-83wda5U6.js → bundle-Ig-Usgj9.js} +5 -5
- package/cjs/chunks/bundle-Ig-Usgj9.js.map +1 -0
- package/cjs/chunks/{bundle-wavkc3Kq.js → bundle-Ix7R72D2.js} +1 -1
- package/cjs/chunks/bundle-Ix7R72D2.js.map +1 -0
- package/cjs/chunks/{bundle-enOQn3TL.js → bundle-KTyWOwG2.js} +4 -4
- package/cjs/chunks/bundle-KTyWOwG2.js.map +1 -0
- package/cjs/chunks/{bundle-t25WVQ0m.js → bundle-LsWcIQtv.js} +1 -1
- package/cjs/chunks/bundle-LsWcIQtv.js.map +1 -0
- package/cjs/chunks/{bundle-EBkO4aEF.js → bundle-MZJMdY3O.js} +1 -1
- package/cjs/chunks/bundle-MZJMdY3O.js.map +1 -0
- package/cjs/chunks/{bundle-RHjpe1Wn.js → bundle-N-Js4Fxv.js} +3 -3
- package/cjs/chunks/bundle-N-Js4Fxv.js.map +1 -0
- package/cjs/chunks/{bundle-2So6Wj07.js → bundle-NWDpK9e9.js} +3 -3
- package/cjs/chunks/bundle-NWDpK9e9.js.map +1 -0
- package/cjs/chunks/{bundle-MNJyfl5n.js → bundle-QPgc6MhZ.js} +4 -4
- package/cjs/chunks/{bundle-BfyJKMOR.js.map → bundle-QPgc6MhZ.js.map} +1 -1
- package/cjs/chunks/{bundle-AWGM3boV.js → bundle-R75Gdnq0.js} +1 -1
- package/cjs/chunks/bundle-R75Gdnq0.js.map +1 -0
- package/cjs/chunks/{bundle-zmeetFhM.js → bundle-S91bAZDa.js} +3 -3
- package/cjs/chunks/bundle-S91bAZDa.js.map +1 -0
- package/cjs/chunks/{bundle-Z_jxs6wq.js → bundle-UTLtv7Dc.js} +2 -4
- package/cjs/chunks/bundle-UTLtv7Dc.js.map +1 -0
- package/cjs/chunks/{bundle-Nn4mB-J9.js → bundle-UVCJl8Wc.js} +9 -9
- package/cjs/chunks/{bundle-Nn4mB-J9.js.map → bundle-UVCJl8Wc.js.map} +1 -1
- package/cjs/chunks/{bundle-8HbTOCEj.js → bundle-W9pnReTd.js} +1 -1
- package/cjs/chunks/bundle-W9pnReTd.js.map +1 -0
- package/cjs/chunks/{bundle-IxlbhmKT.js → bundle-WDwSeAW7.js} +1 -1
- package/cjs/chunks/bundle-WDwSeAW7.js.map +1 -0
- package/cjs/chunks/{bundle-21PdO49k.js → bundle-bDFqOczp.js} +3 -3
- package/cjs/chunks/bundle-bDFqOczp.js.map +1 -0
- package/cjs/chunks/{bundle-0IViyhgL.js → bundle-blD9urLX.js} +1 -1
- package/cjs/chunks/bundle-blD9urLX.js.map +1 -0
- package/cjs/chunks/{bundle-h5T4ARM_.js → bundle-c05SIazj.js} +1 -1
- package/cjs/chunks/bundle-c05SIazj.js.map +1 -0
- package/cjs/chunks/{bundle-U3sSR19H.js → bundle-ceCWOpd3.js} +1 -1
- package/cjs/chunks/bundle-ceCWOpd3.js.map +1 -0
- package/cjs/chunks/{bundle-4FAmtuEf.js → bundle-d_8vTVPc.js} +1 -1
- package/cjs/chunks/bundle-d_8vTVPc.js.map +1 -0
- package/cjs/chunks/{bundle-AxqAqeY_.js → bundle-fREzKsfC.js} +1 -1
- package/cjs/chunks/bundle-fREzKsfC.js.map +1 -0
- package/cjs/chunks/{bundle-l_xY0NCi.js → bundle-gnZHPm5v.js} +4 -4
- package/cjs/chunks/{bundle-l_xY0NCi.js.map → bundle-gnZHPm5v.js.map} +1 -1
- package/cjs/chunks/{bundle-2HKOrfvp.js → bundle-hOfoYdci.js} +8 -4
- package/cjs/chunks/bundle-hOfoYdci.js.map +1 -0
- package/cjs/chunks/{bundle-H4IfpZyd.js → bundle-ieMQqfwp.js} +1 -1
- package/cjs/chunks/bundle-ieMQqfwp.js.map +1 -0
- package/cjs/chunks/{bundle-2i_5f8Bs.js → bundle-lQOiJLzy.js} +1 -1
- package/cjs/chunks/bundle-lQOiJLzy.js.map +1 -0
- package/cjs/chunks/{bundle-sjXXbwtq.js → bundle-lYWFc2Ik.js} +1 -1
- package/cjs/chunks/bundle-lYWFc2Ik.js.map +1 -0
- package/cjs/chunks/{bundle-kt-dgPLv.js → bundle-m1U_9lcF.js} +1 -1
- package/cjs/chunks/bundle-m1U_9lcF.js.map +1 -0
- package/cjs/chunks/{bundle-O8LgB96u.js → bundle-n8Q70C50.js} +10 -32
- package/cjs/chunks/bundle-n8Q70C50.js.map +1 -0
- package/cjs/chunks/{bundle-dVgvU85H.js → bundle-nFbc6RgY.js} +10 -10
- package/cjs/chunks/{bundle-2HKOrfvp.js.map → bundle-nFbc6RgY.js.map} +1 -1
- package/cjs/chunks/{bundle-BfyJKMOR.js → bundle-nGJDRRrC.js} +4 -4
- package/cjs/chunks/{bundle-MNJyfl5n.js.map → bundle-nGJDRRrC.js.map} +1 -1
- package/cjs/chunks/{bundle-H1aRxaUU.js → bundle-oh8SSgcL.js} +5 -5
- package/cjs/chunks/bundle-oh8SSgcL.js.map +1 -0
- package/cjs/chunks/{bundle-MJ388liH.js → bundle-pOW_sYOg.js} +19 -29
- package/cjs/chunks/{bundle-MJ388liH.js.map → bundle-pOW_sYOg.js.map} +1 -1
- package/cjs/chunks/{bundle-9nTl8EO0.js → bundle-qZr8vEca.js} +2 -2
- package/cjs/chunks/bundle-qZr8vEca.js.map +1 -0
- package/cjs/chunks/{bundle-97AXZ3Aa.js → bundle-qjP8zW8Q.js} +60 -199
- package/cjs/chunks/bundle-qjP8zW8Q.js.map +1 -0
- package/cjs/chunks/{bundle-QdmOJFI0.js → bundle-qtCGPANY.js} +5 -5
- package/cjs/chunks/bundle-qtCGPANY.js.map +1 -0
- package/cjs/chunks/{bundle-X2ANxtXU.js → bundle-qwCQk6XG.js} +2 -2
- package/cjs/chunks/bundle-qwCQk6XG.js.map +1 -0
- package/cjs/chunks/{bundle-MKIuQx71.js → bundle-rv_NtPYp.js} +1 -1
- package/cjs/chunks/bundle-rv_NtPYp.js.map +1 -0
- package/cjs/chunks/{bundle-VHEAcTWW.js → bundle-tY4lGPo6.js} +8 -8
- package/cjs/chunks/bundle-tY4lGPo6.js.map +1 -0
- package/cjs/chunks/{bundle-TwEIwM-Y.js → bundle-ujrdT0TO.js} +3 -3
- package/cjs/chunks/bundle-ujrdT0TO.js.map +1 -0
- package/cjs/chunks/{bundle-A86YKdDD.js → bundle-ukb9g9IV.js} +3 -12
- package/cjs/chunks/bundle-ukb9g9IV.js.map +1 -0
- package/cjs/chunks/{bundle-Q4iSGja9.js → bundle-veo1t69W.js} +5 -5
- package/cjs/chunks/bundle-veo1t69W.js.map +1 -0
- package/cjs/chunks/{bundle-fiT-psl1.js → bundle-vhxtA1Qj.js} +1 -1
- package/cjs/chunks/bundle-vhxtA1Qj.js.map +1 -0
- package/cjs/chunks/{bundle-tbQlXoTS.js → bundle-vxKYA92Y.js} +16 -13
- package/cjs/chunks/bundle-vxKYA92Y.js.map +1 -0
- package/cjs/chunks/{bundle-PfAFx9_e.js → bundle-xPZ9sQmQ.js} +1 -1
- package/cjs/chunks/bundle-xPZ9sQmQ.js.map +1 -0
- package/cjs/chunks/{bundle-TYNh0h44.js → bundle-xsOBZoGj.js} +4 -4
- package/cjs/chunks/bundle-xsOBZoGj.js.map +1 -0
- package/cjs/chunks/{bundle-f1Y7sOmQ.js → bundle-yPs-mdmZ.js} +1 -1
- package/cjs/chunks/bundle-yPs-mdmZ.js.map +1 -0
- package/cjs/chunks/{bundle-mDmgt9SU.js → bundle-zqDt58bi.js} +5 -5
- package/cjs/chunks/bundle-zqDt58bi.js.map +1 -0
- package/cjs/chunks/{bundle-A3_rgrPH.js → bundle-zx3ATvGO.js} +3 -3
- package/cjs/chunks/{bundle-A3_rgrPH.js.map → bundle-zx3ATvGO.js.map} +1 -1
- package/cjs/hooks/useModal.js +10 -10
- package/cjs/index.js +61 -61
- package/cjs/pubSub/topics.js +3 -3
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/ui/Accordion.js +3 -3
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +5 -5
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +6 -6
- package/cjs/ui/ConnectionStatus.js +6 -6
- package/cjs/ui/ContextMenu.js +6 -6
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +16 -16
- package/cjs/ui/FileMessageItemBody.js +8 -8
- package/cjs/ui/FileViewer.js +15 -15
- package/cjs/ui/Icon.js +62 -62
- 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 -13
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +42 -42
- package/cjs/ui/MessageInput/hooks/usePaste.js +5 -5
- package/cjs/ui/MessageInput.js +20 -20
- package/cjs/ui/MessageItemMenu.js +21 -21
- package/cjs/ui/MessageItemReactionMenu.js +9 -9
- package/cjs/ui/MessageSearchFileItem.js +15 -15
- package/cjs/ui/MessageSearchItem.js +12 -12
- package/cjs/ui/MessageStatus.js +12 -12
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +24 -19
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +9 -9
- package/cjs/ui/OpenchannelConversationHeader.js +9 -9
- package/cjs/ui/OpenchannelFileMessage.js +18 -18
- package/cjs/ui/OpenchannelOGMessage.js +20 -20
- package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
- package/cjs/ui/OpenchannelUserMessage.js +18 -18
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/QuoteMessage.js +9 -9
- package/cjs/ui/QuoteMessageInput.js +9 -9
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +16 -16
- package/cjs/ui/ThreadReplies.js +9 -9
- package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/TypingIndicatorBubble.js +5 -5
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +13 -13
- package/cjs/ui/UserProfile.js +11 -11
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/Word.js +13 -13
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +3 -3
- package/cjs/withSendbird.js +1 -1
- package/dist/index.css +60 -60
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +60 -60
- package/package.json +1 -1
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/hooks/useModal/index.d.ts +1 -1
- package/types/lib/Sendbird.d.ts +1 -1
- package/types/lib/UserProfileContext.d.ts +1 -1
- package/types/lib/hooks/useConnect/setupConnection.d.ts +2 -2
- package/types/modules/App/index.d.ts +7 -2
- package/types/modules/Channel/components/SuggestedReplies/index.d.ts +2 -2
- package/types/modules/Channel/components/TypingIndicator.d.ts +1 -1
- package/types/modules/ChannelList/components/ChannelPreviewAction.d.ts +2 -2
- package/types/modules/ChannelList/components/Placeholder.d.ts +2 -2
- package/types/modules/EditUserProfile/components/EditUserProfileUI/EditUserProfileUIView.d.ts +2 -2
- package/types/modules/EditUserProfile/components/EditUserProfileUI/index.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +1 -1
- package/types/modules/OpenChannelApp/assets/Icons.d.ts +7 -7
- package/types/ui/Avatar/AvatarDefault.d.ts +2 -2
- package/types/ui/EmojiReactions/ReactionItem.d.ts +1 -1
- package/types/ui/Icon/index.d.ts +1 -1
- package/types/ui/Label/index.d.ts +1 -1
- package/types/ui/LinkLabel/index.d.ts +2 -2
- package/types/ui/TypingIndicatorBubble/TypingDots.d.ts +2 -2
- package/types/ui/TypingIndicatorBubble/index.d.ts +2 -2
- package/types/utils/compressImages.d.ts +8 -0
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +5 -5
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +6 -6
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +16 -16
- package/ui/FileMessageItemBody.js +8 -8
- package/ui/FileViewer.js +15 -15
- package/ui/Icon.js +62 -62
- 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 -13
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +39 -39
- package/ui/MessageInput/hooks/usePaste.js +5 -5
- package/ui/MessageInput.js +15 -15
- package/ui/MessageItemMenu.js +21 -21
- package/ui/MessageItemReactionMenu.js +9 -9
- package/ui/MessageSearchFileItem.js +15 -15
- package/ui/MessageSearchItem.js +12 -12
- package/ui/MessageStatus.js +12 -12
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +24 -19
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +9 -9
- package/ui/OpenchannelConversationHeader.js +9 -9
- package/ui/OpenchannelFileMessage.js +18 -18
- package/ui/OpenchannelOGMessage.js +20 -20
- package/ui/OpenchannelThumbnailMessage.js +17 -17
- package/ui/OpenchannelUserMessage.js +18 -18
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/QuoteMessage.js +9 -9
- package/ui/QuoteMessageInput.js +9 -9
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +16 -16
- package/ui/ThreadReplies.js +9 -9
- package/ui/ThumbnailMessageItemBody.js +7 -7
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +5 -5
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +13 -13
- package/ui/UserProfile.js +11 -11
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +13 -13
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +3 -3
- package/withSendbird.js +1 -1
- package/chunks/bundle--MiZG3Js.js.map +0 -1
- package/chunks/bundle--t8HI__x.js.map +0 -1
- package/chunks/bundle-0PyFB1mS.js.map +0 -1
- package/chunks/bundle-18sxXz96.js.map +0 -1
- package/chunks/bundle-27GyiefI.js.map +0 -1
- package/chunks/bundle-39Q2USX9.js.map +0 -1
- package/chunks/bundle-442ZifHc.js.map +0 -1
- package/chunks/bundle-76TfTByX.js.map +0 -1
- package/chunks/bundle-7X4gNGSL.js.map +0 -1
- package/chunks/bundle-A7XbXTsq.js.map +0 -1
- package/chunks/bundle-C4qp0Rjl.js.map +0 -1
- package/chunks/bundle-F-7fIVr5.js.map +0 -1
- package/chunks/bundle-FpzNzZJe.js.map +0 -1
- package/chunks/bundle-HoEu_6S5.js.map +0 -1
- package/chunks/bundle-Lwkqzb0b.js.map +0 -1
- package/chunks/bundle-MCNLGc7G.js.map +0 -1
- package/chunks/bundle-Ulft7jAF.js.map +0 -1
- package/chunks/bundle-UoyQlaRI.js.map +0 -1
- package/chunks/bundle-VS0auAdJ.js.map +0 -1
- package/chunks/bundle-ZVc6IN6u.js.map +0 -1
- package/chunks/bundle-ZhiMeChf.js.map +0 -1
- package/chunks/bundle-bSqchLGB.js.map +0 -1
- package/chunks/bundle-cOTYyV89.js.map +0 -1
- package/chunks/bundle-cX8U_VhV.js.map +0 -1
- package/chunks/bundle-gF9Zk7CT.js.map +0 -1
- package/chunks/bundle-gLilEEG5.js.map +0 -1
- package/chunks/bundle-gRSst73Y.js.map +0 -1
- package/chunks/bundle-grwjdnuR.js.map +0 -1
- package/chunks/bundle-jZN4I8YR.js.map +0 -1
- package/chunks/bundle-n_jRVaG_.js.map +0 -1
- package/chunks/bundle-ohZbnliW.js.map +0 -1
- package/chunks/bundle-okm6lFGI.js.map +0 -1
- package/chunks/bundle-op5reery.js.map +0 -1
- package/chunks/bundle-r_k_oOHy.js.map +0 -1
- package/chunks/bundle-uZ3cCjNz.js.map +0 -1
- package/chunks/bundle-vEgsgkZU.js.map +0 -1
- package/chunks/bundle-wAk4n8_J.js.map +0 -1
- package/chunks/bundle-zF2UEFCC.js.map +0 -1
- package/chunks/bundle-zZdwWoac.js.map +0 -1
- package/cjs/chunks/bundle-0IViyhgL.js.map +0 -1
- package/cjs/chunks/bundle-21PdO49k.js.map +0 -1
- package/cjs/chunks/bundle-2So6Wj07.js.map +0 -1
- package/cjs/chunks/bundle-2i_5f8Bs.js.map +0 -1
- package/cjs/chunks/bundle-2qeSCHXk.js.map +0 -1
- package/cjs/chunks/bundle-4FAmtuEf.js.map +0 -1
- package/cjs/chunks/bundle-6Hhs3UDZ.js.map +0 -1
- package/cjs/chunks/bundle-6lzPsGGg.js.map +0 -1
- package/cjs/chunks/bundle-83wda5U6.js.map +0 -1
- package/cjs/chunks/bundle-8HbTOCEj.js.map +0 -1
- package/cjs/chunks/bundle-97AXZ3Aa.js.map +0 -1
- package/cjs/chunks/bundle-9nTl8EO0.js.map +0 -1
- package/cjs/chunks/bundle-A86YKdDD.js.map +0 -1
- package/cjs/chunks/bundle-AWGM3boV.js.map +0 -1
- package/cjs/chunks/bundle-AxqAqeY_.js.map +0 -1
- package/cjs/chunks/bundle-DVHlQYtd.js.map +0 -1
- package/cjs/chunks/bundle-EBkO4aEF.js.map +0 -1
- package/cjs/chunks/bundle-H1aRxaUU.js.map +0 -1
- package/cjs/chunks/bundle-H4IfpZyd.js.map +0 -1
- package/cjs/chunks/bundle-IxlbhmKT.js.map +0 -1
- package/cjs/chunks/bundle-MKIuQx71.js.map +0 -1
- package/cjs/chunks/bundle-M_Oo35uA.js.map +0 -1
- package/cjs/chunks/bundle-O8LgB96u.js.map +0 -1
- package/cjs/chunks/bundle-P9ECtUIg.js.map +0 -1
- package/cjs/chunks/bundle-PfAFx9_e.js.map +0 -1
- package/cjs/chunks/bundle-Q4iSGja9.js.map +0 -1
- package/cjs/chunks/bundle-QdmOJFI0.js.map +0 -1
- package/cjs/chunks/bundle-RHjpe1Wn.js.map +0 -1
- package/cjs/chunks/bundle-RO-wWe36.js.map +0 -1
- package/cjs/chunks/bundle-TYNh0h44.js.map +0 -1
- package/cjs/chunks/bundle-TwEIwM-Y.js.map +0 -1
- package/cjs/chunks/bundle-U3sSR19H.js.map +0 -1
- package/cjs/chunks/bundle-VHEAcTWW.js.map +0 -1
- package/cjs/chunks/bundle-X2ANxtXU.js.map +0 -1
- package/cjs/chunks/bundle-XQp_z25X.js.map +0 -1
- package/cjs/chunks/bundle-Z_jxs6wq.js.map +0 -1
- package/cjs/chunks/bundle-anz1RDDi.js.map +0 -1
- package/cjs/chunks/bundle-dVgvU85H.js.map +0 -1
- package/cjs/chunks/bundle-enOQn3TL.js.map +0 -1
- package/cjs/chunks/bundle-f1Y7sOmQ.js.map +0 -1
- package/cjs/chunks/bundle-fiT-psl1.js.map +0 -1
- package/cjs/chunks/bundle-h5T4ARM_.js.map +0 -1
- package/cjs/chunks/bundle-kt-dgPLv.js.map +0 -1
- package/cjs/chunks/bundle-mDmgt9SU.js.map +0 -1
- package/cjs/chunks/bundle-obZkBbeC.js.map +0 -1
- package/cjs/chunks/bundle-sjXXbwtq.js.map +0 -1
- package/cjs/chunks/bundle-t25WVQ0m.js.map +0 -1
- package/cjs/chunks/bundle-tbQlXoTS.js.map +0 -1
- package/cjs/chunks/bundle-u6wGl8M7.js.map +0 -1
- package/cjs/chunks/bundle-wavkc3Kq.js.map +0 -1
- package/cjs/chunks/bundle-zmeetFhM.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as __awaiter, c as __generator } from './bundle-
|
|
2
|
-
import { p as pxToNumber } from './bundle-
|
|
1
|
+
import { b as __awaiter, c as __generator } from './bundle-vwWaTJzg.js';
|
|
2
|
+
import { p as pxToNumber } from './bundle-TsienPu3.js';
|
|
3
3
|
|
|
4
4
|
var compressImage = function (_a) {
|
|
5
5
|
var imageFile = _a.imageFile, compressionRate = _a.compressionRate, resizingWidth = _a.resizingWidth, resizingHeight = _a.resizingHeight;
|
|
@@ -12,11 +12,14 @@ var compressImage = function (_a) {
|
|
|
12
12
|
var canvas = document.createElement('canvas');
|
|
13
13
|
var originWidth = image.width;
|
|
14
14
|
var originHeight = image.height;
|
|
15
|
-
var
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
var
|
|
19
|
-
|
|
15
|
+
var targetResizingWidth = (!resizingWidth || resizingWidth > originWidth) ? originWidth : resizingWidth;
|
|
16
|
+
var targetResizingHeight = (!resizingHeight || resizingHeight > originHeight) ? originHeight : resizingHeight;
|
|
17
|
+
var widthRatio = originWidth / targetResizingWidth;
|
|
18
|
+
var heightRatio = originHeight / targetResizingHeight;
|
|
19
|
+
/**
|
|
20
|
+
* Set the target resizing values again with the calculated ratios
|
|
21
|
+
* to use the impactful value, so the original images' ratio won't be broken.
|
|
22
|
+
*/
|
|
20
23
|
if (widthRatio > heightRatio) {
|
|
21
24
|
targetResizingHeight = originHeight / (resizingWidth ? widthRatio : 1);
|
|
22
25
|
}
|
|
@@ -58,11 +61,11 @@ var compressImages = function (_a) {
|
|
|
58
61
|
compressedFiles: [],
|
|
59
62
|
};
|
|
60
63
|
if (!(Array.isArray(files) && files.length > 0)) {
|
|
61
|
-
logger.warning('utils - compressImages: There are no files.', files);
|
|
64
|
+
logger === null || logger === void 0 ? void 0 : logger.warning('utils - compressImages: There are no files.', files);
|
|
62
65
|
return [2 /*return*/, result];
|
|
63
66
|
}
|
|
64
67
|
if (compressionRate < 0 || 1 < compressionRate) {
|
|
65
|
-
logger.warning('utils - compressImages: The compressionRate is not acceptable.', compressionRate);
|
|
68
|
+
logger === null || logger === void 0 ? void 0 : logger.warning('utils - compressImages: The compressionRate is not acceptable.', compressionRate);
|
|
66
69
|
return [2 /*return*/, result];
|
|
67
70
|
}
|
|
68
71
|
return [4 /*yield*/, Promise.all(files
|
|
@@ -72,7 +75,7 @@ var compressImages = function (_a) {
|
|
|
72
75
|
switch (_a.label) {
|
|
73
76
|
case 0:
|
|
74
77
|
if (!(file.type === 'image/jpg' || file.type === 'image/png' || file.type === 'image/jpeg')) {
|
|
75
|
-
logger.warning('utils - compressImages: The fileType is not compressible.', { file: file, index: index });
|
|
78
|
+
logger === null || logger === void 0 ? void 0 : logger.warning('utils - compressImages: The fileType is not compressible.', { file: file, index: index });
|
|
76
79
|
result.failedIndexes.push(index);
|
|
77
80
|
result.compressedFiles.push(file);
|
|
78
81
|
return [2 /*return*/];
|
|
@@ -93,7 +96,7 @@ var compressImages = function (_a) {
|
|
|
93
96
|
case 3:
|
|
94
97
|
err_1 = _a.sent();
|
|
95
98
|
result.failedIndexes.push(index);
|
|
96
|
-
logger.warning('utils - compressImages: Failed to compress image file', { file: file, err: err_1 });
|
|
99
|
+
logger === null || logger === void 0 ? void 0 : logger.warning('utils - compressImages: Failed to compress image file', { file: file, err: err_1 });
|
|
97
100
|
return [3 /*break*/, 4];
|
|
98
101
|
case 4: return [2 /*return*/];
|
|
99
102
|
}
|
|
@@ -101,7 +104,7 @@ var compressImages = function (_a) {
|
|
|
101
104
|
}); }))];
|
|
102
105
|
case 1:
|
|
103
106
|
_b.sent();
|
|
104
|
-
logger.info('utils - compressImages: Finished compressing images', result);
|
|
107
|
+
logger === null || logger === void 0 ? void 0 : logger.info('utils - compressImages: Finished compressing images', result);
|
|
105
108
|
return [2 /*return*/, result];
|
|
106
109
|
}
|
|
107
110
|
});
|
|
@@ -109,4 +112,4 @@ var compressImages = function (_a) {
|
|
|
109
112
|
};
|
|
110
113
|
|
|
111
114
|
export { compressImages as c };
|
|
112
|
-
//# sourceMappingURL=bundle-
|
|
115
|
+
//# sourceMappingURL=bundle-pxrescev.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-pxrescev.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-vwWaTJzg.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { f as format } from './bundle-
|
|
3
|
+
import { f as format } from './bundle-brC7Asxc.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-udE7DsNo.js';
|
|
6
6
|
import Loader from '../ui/Loader.js';
|
|
7
|
-
import { c as isImage, s as isGif, f as isVideo, A as isAudio, B as isVoiceMessageMimeType, C as isSentStatus } from './bundle
|
|
7
|
+
import { c as isImage, s as isGif, f as isVideo, A as isAudio, B as isVoiceMessageMimeType, C as isSentStatus } from './bundle--yRzbc9U.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-H-0BE_Ym.js';
|
|
10
|
+
import { u as useLocalization } from './bundle-gKkAyMAQ.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-qVHH4JST.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-qVHH4JST.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-st6t2DcW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-st6t2DcW.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useCallback } from 'react';
|
|
2
|
-
import { p as pubSubTopics, s as shouldPubSubPublishToChannel, a as shouldPubSubPublishToThread } from './bundle
|
|
3
|
-
import { s as scrollIntoLast$1 } from './bundle-
|
|
4
|
-
import { f as format } from './bundle-
|
|
2
|
+
import { p as pubSubTopics, s as shouldPubSubPublishToChannel, a as shouldPubSubPublishToThread } from './bundle-gpPQ_Did.js';
|
|
3
|
+
import { s as scrollIntoLast$1 } from './bundle-T-S631y-.js';
|
|
4
|
+
import { f as format } from './bundle-brC7Asxc.js';
|
|
5
5
|
import { getOutgoingMessageState, OutgoingMessageStates } from '../utils/message/getOutgoingMessageState.js';
|
|
6
6
|
|
|
7
7
|
var getNicknamesMapFromMembers = function (members) {
|
|
@@ -213,4 +213,4 @@ var useSendMultipleFilesMessage = function (_a, _b) {
|
|
|
213
213
|
};
|
|
214
214
|
|
|
215
215
|
export { compareIds as a, getNicknamesMapFromMembers as b, compareMessagesForGrouping as c, getParentMessageFrom as g, isAboutSame as i, scrollIntoLast as s, useSendMultipleFilesMessage as u };
|
|
216
|
-
//# sourceMappingURL=bundle-
|
|
216
|
+
//# sourceMappingURL=bundle-u3j2nR-h.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-u3j2nR-h.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-uHZAUI7c.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-uI7_T-M6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-vwWaTJzg.js';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { g as getStringSet } from './bundle-
|
|
3
|
+
import { g as getStringSet } from './bundle-yeq5dlz7.js';
|
|
4
4
|
|
|
5
5
|
var Typography = {
|
|
6
6
|
H_1: 'H_1',
|
|
@@ -75,4 +75,4 @@ var LabelColors = Colors;
|
|
|
75
75
|
var LabelStringSet = getStringSet('en');
|
|
76
76
|
|
|
77
77
|
export { Label as L, LabelTypography as a, LabelColors as b, LabelStringSet as c, changeColorToClassName as d };
|
|
78
|
-
//# sourceMappingURL=bundle-
|
|
78
|
+
//# sourceMappingURL=bundle-udE7DsNo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-udE7DsNo.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-ui21vRGg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-ui21vRGg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
|
|
@@ -94,4 +94,4 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
export { __assign as _, __spreadArray as a, __awaiter as b, __generator as c, __extends as d };
|
|
97
|
-
//# sourceMappingURL=bundle-
|
|
97
|
+
//# sourceMappingURL=bundle-vwWaTJzg.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-vwWaTJzg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,15 +4,15 @@ import IconButton from '../ui/IconButton.js';
|
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
5
5
|
import ContextMenu, { MenuItems, MenuItem } from '../ui/ContextMenu.js';
|
|
6
6
|
import UserListItem$1 from '../ChannelSettings/components/UserListItem.js';
|
|
7
|
-
import { a as __spreadArray, _ as __assign } from './bundle-
|
|
8
|
-
import { M as Modal } from './bundle-
|
|
7
|
+
import { a as __spreadArray, _ as __assign } from './bundle-vwWaTJzg.js';
|
|
8
|
+
import { M as Modal } from './bundle-dNxyH8Er.js';
|
|
9
9
|
import UserListItem from '../ui/UserListItem.js';
|
|
10
|
-
import { n as noop } from './bundle-
|
|
10
|
+
import { n as noop } from './bundle-wwLAI-Tt.js';
|
|
11
11
|
import { useChannelSettingsContext } from '../ChannelSettings/context.js';
|
|
12
12
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
13
|
-
import { L as LocalizationContext, u as useLocalization } from './bundle
|
|
14
|
-
import './bundle-
|
|
15
|
-
import { u as uuidv4 } from './bundle-
|
|
13
|
+
import { L as LocalizationContext, u as useLocalization } from './bundle-gKkAyMAQ.js';
|
|
14
|
+
import './bundle-udE7DsNo.js';
|
|
15
|
+
import { u as uuidv4 } from './bundle-P1wmnvy9.js';
|
|
16
16
|
|
|
17
17
|
function MembersModal(_a) {
|
|
18
18
|
var _b;
|
|
@@ -274,4 +274,4 @@ var MemberList = function () {
|
|
|
274
274
|
};
|
|
275
275
|
|
|
276
276
|
export { MemberList as M };
|
|
277
|
-
//# sourceMappingURL=bundle-
|
|
277
|
+
//# sourceMappingURL=bundle-wNKgjzsO.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-wNKgjzsO.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-wwLAI-Tt.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React__default, { useEffect, useCallback, useState, useReducer, useRef, useMemo } from 'react';
|
|
2
|
-
import { f as format } from './bundle-
|
|
3
|
-
import { U as UserProfileProvider } from './bundle-
|
|
4
|
-
import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-
|
|
5
|
-
import { c as compareIds } from './bundle-
|
|
6
|
-
import { p as pubSubTopics } from './bundle
|
|
2
|
+
import { f as format } from './bundle-brC7Asxc.js';
|
|
3
|
+
import { U as UserProfileProvider } from './bundle-uHZAUI7c.js';
|
|
4
|
+
import { _ as __assign, a as __spreadArray, b as __awaiter, c as __generator } from './bundle-vwWaTJzg.js';
|
|
5
|
+
import { c as compareIds } from './bundle-KMF_Auff.js';
|
|
6
|
+
import { p as pubSubTopics } from './bundle-gpPQ_Did.js';
|
|
7
7
|
import { ChannelType } from '@sendbird/chat';
|
|
8
8
|
import { OpenChannelHandler } from '@sendbird/chat/openChannel';
|
|
9
|
-
import { u as uuidv4 } from './bundle-
|
|
10
|
-
import { c as compressImages } from './bundle-
|
|
9
|
+
import { u as uuidv4 } from './bundle-P1wmnvy9.js';
|
|
10
|
+
import { c as compressImages } from './bundle-pxrescev.js';
|
|
11
11
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
12
12
|
import { useGlobalModalContext } from '../hooks/useModal.js';
|
|
13
|
-
import { u as useLocalization } from './bundle
|
|
14
|
-
import { O as ONE_MiB } from './bundle-
|
|
15
|
-
import { c as ModalFooter } from './bundle-
|
|
16
|
-
import './bundle-
|
|
13
|
+
import { u as useLocalization } from './bundle-gKkAyMAQ.js';
|
|
14
|
+
import { O as ONE_MiB } from './bundle-78pBi79a.js';
|
|
15
|
+
import { c as ModalFooter } from './bundle-dNxyH8Er.js';
|
|
16
|
+
import './bundle-udE7DsNo.js';
|
|
17
17
|
import { ButtonTypes } from '../ui/Button.js';
|
|
18
18
|
|
|
19
19
|
var getMessageCreatedAt = function (message) { return format(message.createdAt, 'p'); };
|
|
@@ -907,7 +907,7 @@ function useCheckScrollBottom(_a, _b) {
|
|
|
907
907
|
}
|
|
908
908
|
|
|
909
909
|
function useSendMessageCallback(_a, _b) {
|
|
910
|
-
var currentOpenChannel = _a.currentOpenChannel, onBeforeSendUserMessage = _a.onBeforeSendUserMessage,
|
|
910
|
+
var currentOpenChannel = _a.currentOpenChannel, onBeforeSendUserMessage = _a.onBeforeSendUserMessage, messageInputRef = _a.messageInputRef;
|
|
911
911
|
var sdk = _b.sdk, logger = _b.logger, messagesDispatcher = _b.messagesDispatcher, scrollRef = _b.scrollRef;
|
|
912
912
|
return useCallback(function () {
|
|
913
913
|
if (sdk) {
|
|
@@ -925,7 +925,6 @@ function useSendMessageCallback(_a, _b) {
|
|
|
925
925
|
}
|
|
926
926
|
var params = onBeforeSendUserMessage ? onBeforeSendUserMessage(text) : createParamsDefault(text);
|
|
927
927
|
logger.info('OpenChannel | useSendMessageCallback: Sending message has started', params);
|
|
928
|
-
var isBottom_1 = checkScrollBottom();
|
|
929
928
|
var pendingMsg_1 = null;
|
|
930
929
|
currentOpenChannel.sendUserMessage(params)
|
|
931
930
|
.onPending(function (pendingMessage) {
|
|
@@ -937,6 +936,7 @@ function useSendMessageCallback(_a, _b) {
|
|
|
937
936
|
},
|
|
938
937
|
});
|
|
939
938
|
pendingMsg_1 = pendingMessage;
|
|
939
|
+
setTimeout(function () { return scrollIntoLast(0, scrollRef); });
|
|
940
940
|
})
|
|
941
941
|
.onSucceeded(function (message) {
|
|
942
942
|
logger.info('OpenChannel | useSendMessageCallback: Sending message succeeded', message);
|
|
@@ -944,11 +944,6 @@ function useSendMessageCallback(_a, _b) {
|
|
|
944
944
|
type: SENDING_MESSAGE_SUCCEEDED,
|
|
945
945
|
payload: message,
|
|
946
946
|
});
|
|
947
|
-
if (isBottom_1) {
|
|
948
|
-
setTimeout(function () {
|
|
949
|
-
scrollIntoLast(0, scrollRef);
|
|
950
|
-
});
|
|
951
|
-
}
|
|
952
947
|
})
|
|
953
948
|
.onFailed(function (error) {
|
|
954
949
|
logger.warning('OpenChannel | useSendMessageCallback: Sending message failed', error);
|
|
@@ -970,19 +965,19 @@ function useSendMessageCallback(_a, _b) {
|
|
|
970
965
|
}
|
|
971
966
|
});
|
|
972
967
|
}
|
|
973
|
-
}, [currentOpenChannel, onBeforeSendUserMessage,
|
|
968
|
+
}, [currentOpenChannel, onBeforeSendUserMessage, messageInputRef]);
|
|
974
969
|
}
|
|
975
970
|
|
|
976
971
|
function useFileUploadCallback(_a, _b) {
|
|
977
972
|
var _this = this;
|
|
978
|
-
var currentOpenChannel = _a.currentOpenChannel,
|
|
973
|
+
var currentOpenChannel = _a.currentOpenChannel, _c = _a.imageCompression, imageCompression = _c === void 0 ? {} : _c, onBeforeSendFileMessage = _a.onBeforeSendFileMessage;
|
|
979
974
|
var sdk = _b.sdk, logger = _b.logger, messagesDispatcher = _b.messagesDispatcher, scrollRef = _b.scrollRef;
|
|
980
975
|
var stringSet = useLocalization().stringSet;
|
|
981
976
|
var openModal = useGlobalModalContext().openModal;
|
|
982
977
|
var config = useSendbirdStateContext().config;
|
|
983
978
|
var uikitUploadSizeLimit = config.uikitUploadSizeLimit;
|
|
984
979
|
return useCallback(function (files) { return __awaiter(_this, void 0, void 0, function () {
|
|
985
|
-
var file_1, createCustomParams, createParamsDefault, compressedFiles, compressedFile, params
|
|
980
|
+
var file_1, createCustomParams, createParamsDefault, compressedFiles, compressedFile, params;
|
|
986
981
|
return __generator(this, function (_a) {
|
|
987
982
|
switch (_a.label) {
|
|
988
983
|
case 0:
|
|
@@ -1026,7 +1021,6 @@ function useFileUploadCallback(_a, _b) {
|
|
|
1026
1021
|
}
|
|
1027
1022
|
params = onBeforeSendFileMessage ? onBeforeSendFileMessage(compressedFile) : createParamsDefault(compressedFile);
|
|
1028
1023
|
logger.info('OpenChannel | useFileUploadCallback: Uploading file message start', params);
|
|
1029
|
-
isBottom_1 = checkScrollBottom();
|
|
1030
1024
|
currentOpenChannel.sendFileMessage(params)
|
|
1031
1025
|
.onPending(function (pendingMessage) {
|
|
1032
1026
|
messagesDispatcher({
|
|
@@ -1038,6 +1032,7 @@ function useFileUploadCallback(_a, _b) {
|
|
|
1038
1032
|
channel: currentOpenChannel,
|
|
1039
1033
|
},
|
|
1040
1034
|
});
|
|
1035
|
+
setTimeout(function () { return scrollIntoLast(0, scrollRef); });
|
|
1041
1036
|
})
|
|
1042
1037
|
.onSucceeded(function (message) {
|
|
1043
1038
|
logger.info('OpenChannel | useFileUploadCallback: Sending message succeeded', message);
|
|
@@ -1045,11 +1040,6 @@ function useFileUploadCallback(_a, _b) {
|
|
|
1045
1040
|
type: SENDING_MESSAGE_SUCCEEDED,
|
|
1046
1041
|
payload: message,
|
|
1047
1042
|
});
|
|
1048
|
-
if (isBottom_1) {
|
|
1049
|
-
setTimeout(function () {
|
|
1050
|
-
scrollIntoLast(0, scrollRef);
|
|
1051
|
-
});
|
|
1052
|
-
}
|
|
1053
1043
|
})
|
|
1054
1044
|
.onFailed(function (error, message) {
|
|
1055
1045
|
logger.error('OpenChannel | useFileUploadCallback: Sending file message failed', { message: message, error: error });
|
|
@@ -1066,7 +1056,7 @@ function useFileUploadCallback(_a, _b) {
|
|
|
1066
1056
|
case 2: return [2 /*return*/];
|
|
1067
1057
|
}
|
|
1068
1058
|
});
|
|
1069
|
-
}); }, [currentOpenChannel, onBeforeSendFileMessage,
|
|
1059
|
+
}); }, [currentOpenChannel, onBeforeSendFileMessage, imageCompression]);
|
|
1070
1060
|
}
|
|
1071
1061
|
|
|
1072
1062
|
function useUpdateMessageCallback(_a, _b) {
|
|
@@ -1401,4 +1391,4 @@ var OpenChannelProvider = function (props) {
|
|
|
1401
1391
|
var useOpenChannelContext = function () { return React__default.useContext(OpenChannelContext); };
|
|
1402
1392
|
|
|
1403
1393
|
export { OpenChannelProvider as O, compareMessagesForGrouping as c, kFormatter as k, useOpenChannelContext as u };
|
|
1404
|
-
//# sourceMappingURL=bundle-
|
|
1394
|
+
//# sourceMappingURL=bundle-xnF6_yRz.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-xnF6_yRz.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-yDQ7CB8I.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-yeq5dlz7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-zNT2XhnG.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { a as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __spreadArray } from './bundle-vwWaTJzg.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-udE7DsNo.js';
|
|
8
|
+
import { L as LocalizationContext } from './bundle-gKkAyMAQ.js';
|
|
9
|
+
import { a as UserProfileContext } from './bundle-uHZAUI7c.js';
|
|
10
|
+
import './bundle-7zXnNfIQ.js';
|
|
11
|
+
import { A as Avatar } from './bundle-4IJH7QEY.js';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import './bundle-
|
|
13
|
+
import './bundle-lsEXnFwe.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-dNxyH8Er.js';
|
|
19
19
|
import UserListItem$1 from '../ui/UserListItem.js';
|
|
20
|
-
import { n as noop } from './bundle-
|
|
20
|
+
import { n as noop } from './bundle-wwLAI-Tt.js';
|
|
21
21
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
22
22
|
|
|
23
23
|
function ParticipantsModal(_a) {
|
|
@@ -232,4 +232,4 @@ function ParticipantList(_a) {
|
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
export { ParticipantList as P, UserListItem as U };
|
|
235
|
-
//# sourceMappingURL=bundle-
|
|
235
|
+
//# sourceMappingURL=bundle-zZ8I6zHr.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-zZ8I6zHr.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-vwWaTJzg.js';
|
|
2
|
+
import { L as isUrl } from './bundle--yRzbc9U.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-zqu04qTx.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-zqu04qTx.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|