@sendbird/uikit-react 3.14.0-beta.2 → 3.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +78 -79
- package/App.js.map +1 -1
- package/CHANGELOG.md +106 -8
- package/Channel/components/ChannelHeader.js +29 -29
- package/Channel/components/ChannelUI.js +66 -66
- package/Channel/components/FileViewer.js +28 -28
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +55 -55
- package/Channel/components/MessageInput.js +41 -41
- package/Channel/components/MessageInputWrapper.js +41 -41
- package/Channel/components/MessageList.js +64 -63
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +27 -27
- package/Channel/components/SuggestedMentionList.js +27 -27
- package/Channel/components/TypingIndicator.js +6 -6
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +23 -25
- package/Channel/context.js.map +1 -1
- package/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/Channel/utils/getMessagePartsInfo.js +6 -6
- package/Channel.js +65 -65
- package/ChannelList/components/AddChannel.js +20 -20
- package/ChannelList/components/ChannelListHeader.js +8 -8
- package/ChannelList/components/ChannelListUI.js +34 -34
- package/ChannelList/components/ChannelPreview.js +27 -27
- package/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/ChannelList/context.js +10 -10
- package/ChannelList.js +34 -34
- package/ChannelSettings/components/ChannelProfile.js +14 -14
- package/ChannelSettings/components/ChannelSettingsHeader.js +6 -6
- package/ChannelSettings/components/ChannelSettingsUI.js +28 -29
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +22 -23
- package/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/ChannelSettings/components/UserListItem.js +13 -13
- package/ChannelSettings/components/UserPanel.js +20 -20
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +22 -23
- package/ChannelSettings.js.map +1 -1
- package/CreateChannel/components/CreateChannelUI.js +16 -16
- package/CreateChannel/components/InviteUsers.js +16 -16
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +16 -16
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +11 -11
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile.js +12 -12
- package/GroupChannel/components/FileViewer.js +57 -27
- package/GroupChannel/components/FileViewer.js.map +1 -1
- package/GroupChannel/components/FrozenNotification.js +5 -5
- package/GroupChannel/components/GroupChannelHeader.js +23 -22
- package/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/GroupChannel/components/GroupChannelUI.js +61 -60
- package/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/GroupChannel/components/Message.js +55 -54
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +39 -38
- package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/GroupChannel/components/MessageList.js +59 -57
- package/GroupChannel/components/MessageList.js.map +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +23 -22
- package/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/GroupChannel/components/TypingIndicator.js +6 -6
- package/GroupChannel/components/UnreadCount.js +7 -7
- package/GroupChannel/context.js +29 -26
- package/GroupChannel/context.js.map +1 -1
- package/GroupChannel.js +60 -59
- package/GroupChannel.js.map +1 -1
- package/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/GroupChannelList/context.js +5 -5
- package/GroupChannelList.js +33 -33
- package/MessageSearch/components/MessageSearchUI.js +14 -14
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +14 -14
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/OpenChannel/components/OpenChannelInput.js +25 -25
- package/OpenChannel/components/OpenChannelMessage.js +40 -44
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +44 -44
- package/OpenChannel/components/OpenChannelUI.js +44 -43
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +17 -17
- package/OpenChannel.js +40 -40
- package/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +14 -14
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +18 -19
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +19 -20
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +19 -20
- package/OpenChannelSettings.js.map +1 -1
- package/SendbirdProvider.js +26 -48
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +78 -49
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +74 -36
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +46 -46
- package/Thread/components/ThreadListItem.js +112 -55
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +43 -42
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +56 -56
- package/Thread/context.js +15 -12
- package/Thread/context.js.map +1 -1
- package/Thread.js +56 -56
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +10 -10
- package/VoiceRecorder/context.js +10 -10
- package/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/chunks/{bundle-BdZAuvN7.js → bundle--6zoMlSy.js} +7 -7
- package/chunks/{bundle-BdZAuvN7.js.map → bundle--6zoMlSy.js.map} +1 -1
- package/chunks/{bundle-rSEP1XoB.js → bundle--KTlVDyw.js} +40 -9
- package/{cjs/chunks/bundle-B8jj7upa.js.map → chunks/bundle--KTlVDyw.js.map} +1 -1
- package/chunks/bundle-B-rlaXWu.js +20 -0
- package/chunks/bundle-B-rlaXWu.js.map +1 -0
- package/chunks/{bundle-CfKGkWtT.js → bundle-B1531-Xt.js} +1 -1
- package/chunks/bundle-B1531-Xt.js.map +1 -0
- package/chunks/{bundle-By4sE23W.js → bundle-B4gJwLnb.js} +8 -8
- package/chunks/{bundle-By4sE23W.js.map → bundle-B4gJwLnb.js.map} +1 -1
- package/chunks/{bundle-dw1OtCIz.js → bundle-BCNLSTzO.js} +2 -2
- package/chunks/{bundle-dw1OtCIz.js.map → bundle-BCNLSTzO.js.map} +1 -1
- package/chunks/{bundle-CTyr18ZN.js → bundle-BGCeRCjz.js} +3 -3
- package/chunks/{bundle-CTyr18ZN.js.map → bundle-BGCeRCjz.js.map} +1 -1
- package/chunks/{bundle-CcVFQEGF.js → bundle-BGjW7OlD.js} +3 -3
- package/chunks/{bundle-CcVFQEGF.js.map → bundle-BGjW7OlD.js.map} +1 -1
- package/chunks/{bundle-C_n2Emjx.js → bundle-BJ8L9q1S.js} +1 -1
- package/chunks/bundle-BJ8L9q1S.js.map +1 -0
- package/chunks/{bundle-DUTTSKO5.js → bundle-BL67-UYY.js} +3 -3
- package/chunks/bundle-BL67-UYY.js.map +1 -0
- package/chunks/{bundle-BJs_5v6q.js → bundle-BR7FU00z.js} +2 -2
- package/chunks/{bundle-BJs_5v6q.js.map → bundle-BR7FU00z.js.map} +1 -1
- package/chunks/{bundle-aH4n4ipp.js → bundle-BSOtUr3s.js} +1 -1
- package/chunks/{bundle-aH4n4ipp.js.map → bundle-BSOtUr3s.js.map} +1 -1
- package/chunks/{bundle-CPszRkFg.js → bundle-BWCUNJoA.js} +1 -1
- package/chunks/bundle-BWCUNJoA.js.map +1 -0
- package/chunks/{bundle-zf2ni0YJ.js → bundle-BYJO_VIh.js} +16 -16
- package/chunks/bundle-BYJO_VIh.js.map +1 -0
- package/chunks/{bundle-gSQF3Ob-.js → bundle-BlbJo9zV.js} +1 -1
- package/chunks/bundle-BlbJo9zV.js.map +1 -0
- package/chunks/{bundle-DgJrJ2xn.js → bundle-BmJp9ELx.js} +4 -4
- package/chunks/bundle-BmJp9ELx.js.map +1 -0
- package/chunks/{bundle-Bf5VthYV.js → bundle-BmJsj1DE.js} +1 -1
- package/chunks/bundle-BmJsj1DE.js.map +1 -0
- package/chunks/{bundle-cjTAVQxr.js → bundle-BqZ85d_h.js} +7 -7
- package/chunks/{bundle-cjTAVQxr.js.map → bundle-BqZ85d_h.js.map} +1 -1
- package/chunks/{bundle-DcOT2xg0.js → bundle-BqpRc1fc.js} +1 -1
- package/chunks/bundle-BqpRc1fc.js.map +1 -0
- package/chunks/{bundle-WwYLGAen.js → bundle-Buy5OFoZ.js} +2 -2
- package/chunks/bundle-Buy5OFoZ.js.map +1 -0
- package/chunks/{bundle-CF6PMu9B.js → bundle-Bxhw3nyo.js} +1 -1
- package/chunks/bundle-Bxhw3nyo.js.map +1 -0
- package/chunks/{bundle-CJIPD7gN.js → bundle-ByOL8d1Y.js} +3 -3
- package/chunks/bundle-ByOL8d1Y.js.map +1 -0
- package/chunks/{bundle-ynxAt7xC.js → bundle-C0hxFMpo.js} +1 -1
- package/chunks/bundle-C0hxFMpo.js.map +1 -0
- package/chunks/{bundle-87W4GPnC.js → bundle-C4E6x1yH.js} +1 -1
- package/chunks/bundle-C4E6x1yH.js.map +1 -0
- package/chunks/{bundle-CbBN2HTx.js → bundle-C5gv8BUg.js} +10 -10
- package/chunks/bundle-C5gv8BUg.js.map +1 -0
- package/chunks/{bundle-CRLJsnLv.js → bundle-C5yKwJa5.js} +10 -10
- package/chunks/{bundle-CRLJsnLv.js.map → bundle-C5yKwJa5.js.map} +1 -1
- package/chunks/{bundle-DCjOFMcr.js → bundle-C8JSMAy5.js} +4 -4
- package/chunks/bundle-C8JSMAy5.js.map +1 -0
- package/chunks/{bundle-C-_RpFyM.js → bundle-C9k4XREr.js} +3 -3
- package/chunks/bundle-C9k4XREr.js.map +1 -0
- package/chunks/bundle-CEBnyfFY.js +16 -0
- package/chunks/bundle-CEBnyfFY.js.map +1 -0
- package/chunks/{bundle-Cvk0UZLW.js → bundle-CKUGA2Du.js} +4 -4
- package/chunks/{bundle-Cvk0UZLW.js.map → bundle-CKUGA2Du.js.map} +1 -1
- package/chunks/{bundle-BNydv1KA.js → bundle-CLEZvXSa.js} +6 -6
- package/chunks/bundle-CLEZvXSa.js.map +1 -0
- package/chunks/{bundle-DvI4QhV3.js → bundle-CMdrfQU4.js} +3 -3
- package/chunks/{bundle-DvI4QhV3.js.map → bundle-CMdrfQU4.js.map} +1 -1
- package/chunks/{bundle-5okwu0-4.js → bundle-CRJQQ2Pt.js} +45 -37
- package/{cjs/chunks/bundle-B1Nml3ap.js.map → chunks/bundle-CRJQQ2Pt.js.map} +1 -1
- package/chunks/{bundle-CS7t26su.js → bundle-CSD1Y0Up.js} +1 -1
- package/chunks/bundle-CSD1Y0Up.js.map +1 -0
- package/chunks/{bundle-D56MXYqF.js → bundle-CVBV25Ez.js} +4 -4
- package/chunks/bundle-CVBV25Ez.js.map +1 -0
- package/chunks/{bundle-DRL21d0s.js → bundle-CXPL_q7g.js} +1 -1
- package/chunks/bundle-CXPL_q7g.js.map +1 -0
- package/chunks/{bundle-CcTHgZqq.js → bundle-Ca-c848e.js} +1 -1
- package/chunks/{bundle-CcTHgZqq.js.map → bundle-Ca-c848e.js.map} +1 -1
- package/chunks/{bundle-BKG2cvZ9.js → bundle-CcCCSO3j.js} +3 -3
- package/chunks/bundle-CcCCSO3j.js.map +1 -0
- package/chunks/{bundle-DkRogqRS.js → bundle-CemSwFjs.js} +3 -3
- package/chunks/bundle-CemSwFjs.js.map +1 -0
- package/chunks/{bundle-BuIxT5aZ.js → bundle-CfCfA_eS.js} +1 -1
- package/chunks/bundle-CfCfA_eS.js.map +1 -0
- package/chunks/{bundle-DXhynnjn.js → bundle-CqjZHu2X.js} +1 -1
- package/chunks/{bundle-DXhynnjn.js.map → bundle-CqjZHu2X.js.map} +1 -1
- package/chunks/{bundle-DnFiUPoR.js → bundle-Cr5JfXnd.js} +1 -1
- package/chunks/bundle-Cr5JfXnd.js.map +1 -0
- package/chunks/{bundle-C8TvjQ68.js → bundle-CsWx1pIH.js} +10 -10
- package/chunks/{bundle-C8TvjQ68.js.map → bundle-CsWx1pIH.js.map} +1 -1
- package/chunks/{bundle-C0LxowmB.js → bundle-Cv74ntvD.js} +3 -3
- package/chunks/{bundle-C0LxowmB.js.map → bundle-Cv74ntvD.js.map} +1 -1
- package/chunks/{bundle-COGPgRK-.js → bundle-CwodDxvD.js} +1 -1
- package/chunks/bundle-CwodDxvD.js.map +1 -0
- package/chunks/{bundle-PsMmoXV_.js → bundle-Cxxoo-8r.js} +4 -4
- package/chunks/{bundle-PsMmoXV_.js.map → bundle-Cxxoo-8r.js.map} +1 -1
- package/chunks/{bundle-BJ9OAqWz.js → bundle-CypLTOy5.js} +1 -1
- package/chunks/bundle-CypLTOy5.js.map +1 -0
- package/chunks/{bundle-RpPfSzD9.js → bundle-CzECC0WY.js} +1 -1
- package/chunks/{bundle-RpPfSzD9.js.map → bundle-CzECC0WY.js.map} +1 -1
- package/chunks/{bundle-B1s46xJT.js → bundle-CzznhOkf.js} +6 -4
- package/chunks/bundle-CzznhOkf.js.map +1 -0
- package/chunks/{bundle-l_8hg8H3.js → bundle-D-62maU6.js} +2 -2
- package/chunks/bundle-D-62maU6.js.map +1 -0
- package/chunks/{bundle-DzuAq6CR.js → bundle-D2nMevA-.js} +2 -2
- package/chunks/bundle-D2nMevA-.js.map +1 -0
- package/chunks/{bundle-BUy5u56K.js → bundle-D3BcbbU5.js} +1 -1
- package/chunks/bundle-D3BcbbU5.js.map +1 -0
- package/chunks/{bundle-B0azZJiA.js → bundle-D3hUaRgQ.js} +14 -14
- package/chunks/{bundle-B0azZJiA.js.map → bundle-D3hUaRgQ.js.map} +1 -1
- package/chunks/{bundle-XGYpSNOg.js → bundle-D7hy2K0F.js} +5 -5
- package/chunks/{bundle-XGYpSNOg.js.map → bundle-D7hy2K0F.js.map} +1 -1
- package/chunks/{bundle-BoezGGkX.js → bundle-DAf6h8hw.js} +13 -12
- package/chunks/{bundle-BoezGGkX.js.map → bundle-DAf6h8hw.js.map} +1 -1
- package/chunks/{bundle-rfEyWmAm.js → bundle-DChW5Z3e.js} +1 -1
- package/chunks/bundle-DChW5Z3e.js.map +1 -0
- package/chunks/{bundle-BNeRxCQA.js → bundle-DIQmyyii.js} +1 -1
- package/chunks/bundle-DIQmyyii.js.map +1 -0
- package/chunks/{bundle-DoLed6JB.js → bundle-DKTKyX5B.js} +1 -1
- package/chunks/bundle-DKTKyX5B.js.map +1 -0
- package/chunks/{bundle-BJgNc4do.js → bundle-DLC9d0SK.js} +2 -2
- package/chunks/{bundle-BJgNc4do.js.map → bundle-DLC9d0SK.js.map} +1 -1
- package/chunks/{bundle-D-cpJ5MP.js → bundle-DOE8EVWg.js} +1 -1
- package/chunks/bundle-DOE8EVWg.js.map +1 -0
- package/chunks/{bundle-BvQAepkJ.js → bundle-DR0N9Re_.js} +1 -1
- package/chunks/bundle-DR0N9Re_.js.map +1 -0
- package/chunks/{bundle-D_KO6Orc.js → bundle-DRWNB6So.js} +1 -1
- package/chunks/{bundle-D_KO6Orc.js.map → bundle-DRWNB6So.js.map} +1 -1
- package/chunks/{bundle-BSPBjwR6.js → bundle-DURANzV-.js} +6 -6
- package/chunks/bundle-DURANzV-.js.map +1 -0
- package/chunks/{bundle-C1RngQCJ.js → bundle-DYRfOZJn.js} +9 -9
- package/chunks/bundle-DYRfOZJn.js.map +1 -0
- package/chunks/{bundle-DRIvYDIu.js → bundle-Dan3OYIf.js} +29 -26
- package/chunks/{bundle-DRIvYDIu.js.map → bundle-Dan3OYIf.js.map} +1 -1
- package/chunks/{bundle-GQqssfTX.js → bundle-DdrjZDoC.js} +1 -1
- package/chunks/bundle-DdrjZDoC.js.map +1 -0
- package/chunks/{bundle-C4sUzPGS.js → bundle-DiKCx9T0.js} +3 -3
- package/chunks/bundle-DiKCx9T0.js.map +1 -0
- package/chunks/{bundle-BPclYGwz.js → bundle-DluCUNJH.js} +1 -1
- package/chunks/bundle-DluCUNJH.js.map +1 -0
- package/chunks/{bundle-B2pNgmzq.js → bundle-DmHVnPIK.js} +3 -3
- package/chunks/bundle-DmHVnPIK.js.map +1 -0
- package/chunks/{bundle-Dicb9Y5f.js → bundle-Dp8Uc0CR.js} +6 -6
- package/chunks/bundle-Dp8Uc0CR.js.map +1 -0
- package/chunks/{bundle-N_XkA5JB.js → bundle-DpQTyp78.js} +57 -63
- package/chunks/bundle-DpQTyp78.js.map +1 -0
- package/chunks/{bundle-GKCJ2hC_.js → bundle-DqYLLkVp.js} +3 -3
- package/chunks/{bundle-GKCJ2hC_.js.map → bundle-DqYLLkVp.js.map} +1 -1
- package/chunks/{bundle-BmPxXQ_C.js → bundle-DraDQPaG.js} +5 -5
- package/chunks/bundle-DraDQPaG.js.map +1 -0
- package/chunks/{bundle-DTDkmegk.js → bundle-Dzzjbgaw.js} +1 -1
- package/chunks/bundle-Dzzjbgaw.js.map +1 -0
- package/chunks/{bundle-Bys5RwQj.js → bundle-Ryg4dN5c.js} +2 -2
- package/chunks/bundle-Ryg4dN5c.js.map +1 -0
- package/chunks/{bundle-azFrmmyK.js → bundle-cbuWRyNb.js} +10 -10
- package/chunks/{bundle-azFrmmyK.js.map → bundle-cbuWRyNb.js.map} +1 -1
- package/chunks/{bundle-BhjXV0mk.js → bundle-h_OgbXNz.js} +1 -1
- package/chunks/bundle-h_OgbXNz.js.map +1 -0
- package/chunks/{bundle-BFDyBk4r.js → bundle-oKdCuyHB.js} +1 -1
- package/chunks/bundle-oKdCuyHB.js.map +1 -0
- package/chunks/{bundle-D_X2Bqh-.js → bundle-tVxHr2lN.js} +2 -2
- package/chunks/bundle-tVxHr2lN.js.map +1 -0
- package/chunks/{bundle-BH5rbsxO.js → bundle-vcCWiyPL.js} +1367 -120
- package/chunks/bundle-vcCWiyPL.js.map +1 -0
- package/cjs/App.js +78 -79
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +29 -29
- package/cjs/Channel/components/ChannelUI.js +66 -66
- package/cjs/Channel/components/FileViewer.js +28 -28
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +55 -55
- package/cjs/Channel/components/MessageInput.js +41 -41
- package/cjs/Channel/components/MessageInputWrapper.js +41 -41
- package/cjs/Channel/components/MessageList.js +67 -66
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +27 -27
- package/cjs/Channel/components/SuggestedMentionList.js +27 -27
- package/cjs/Channel/components/TypingIndicator.js +6 -6
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +23 -25
- package/cjs/Channel/context.js.map +1 -1
- package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/cjs/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/cjs/Channel/utils/getMessagePartsInfo.js +6 -6
- package/cjs/Channel.js +65 -65
- package/cjs/ChannelList/components/AddChannel.js +20 -20
- package/cjs/ChannelList/components/ChannelListHeader.js +8 -8
- package/cjs/ChannelList/components/ChannelListUI.js +34 -34
- package/cjs/ChannelList/components/ChannelPreview.js +27 -27
- package/cjs/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/cjs/ChannelList/context.js +10 -10
- package/cjs/ChannelList.js +34 -34
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +6 -6
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +26 -27
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +22 -23
- package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/cjs/ChannelSettings/components/UserListItem.js +13 -13
- package/cjs/ChannelSettings/components/UserPanel.js +20 -20
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +22 -23
- package/cjs/ChannelSettings.js.map +1 -1
- package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
- package/cjs/CreateChannel/components/InviteUsers.js +16 -16
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +16 -16
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +11 -11
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile.js +12 -12
- package/cjs/GroupChannel/components/FileViewer.js +57 -27
- package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
- package/cjs/GroupChannel/components/FrozenNotification.js +5 -5
- package/cjs/GroupChannel/components/GroupChannelHeader.js +23 -22
- package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/cjs/GroupChannel/components/GroupChannelUI.js +61 -60
- package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/cjs/GroupChannel/components/Message.js +55 -54
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +38 -37
- package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/GroupChannel/components/MessageList.js +60 -58
- package/cjs/GroupChannel/components/MessageList.js.map +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +23 -22
- package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/cjs/GroupChannel/components/TypingIndicator.js +6 -6
- package/cjs/GroupChannel/components/UnreadCount.js +7 -7
- package/cjs/GroupChannel/context.js +29 -26
- package/cjs/GroupChannel/context.js.map +1 -1
- package/cjs/GroupChannel.js +60 -59
- package/cjs/GroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/cjs/GroupChannelList/context.js +5 -5
- package/cjs/GroupChannelList.js +33 -33
- package/cjs/MessageSearch/components/MessageSearchUI.js +14 -14
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +14 -14
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/cjs/OpenChannel/components/OpenChannelInput.js +25 -25
- package/cjs/OpenChannel/components/OpenChannelMessage.js +39 -43
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +42 -42
- package/cjs/OpenChannel/components/OpenChannelUI.js +44 -43
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +17 -17
- package/cjs/OpenChannel.js +40 -40
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +14 -14
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +18 -19
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -20
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +19 -20
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/SendbirdProvider.js +26 -48
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +78 -49
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +74 -36
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +46 -46
- package/cjs/Thread/components/ThreadListItem.js +112 -55
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +43 -42
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +56 -56
- package/cjs/Thread/context.js +15 -12
- package/cjs/Thread/context.js.map +1 -1
- package/cjs/Thread.js +56 -56
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
- package/cjs/VoiceRecorder/context.js +10 -10
- package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/cjs/chunks/{bundle-BdHrSYl1.js → bundle-6kvEuXvi.js} +4 -4
- package/cjs/chunks/bundle-6kvEuXvi.js.map +1 -0
- package/cjs/chunks/{bundle--ToWZ9cj.js → bundle-B-3hDIdO.js} +1 -1
- package/cjs/chunks/bundle-B-3hDIdO.js.map +1 -0
- package/cjs/chunks/{bundle-DjB9bkvD.js → bundle-B6ZFoMH6.js} +1 -1
- package/cjs/chunks/bundle-B6ZFoMH6.js.map +1 -0
- package/cjs/chunks/{bundle-1hCsXfVb.js → bundle-BBn6e1TE.js} +1 -1
- package/cjs/chunks/{bundle-1hCsXfVb.js.map → bundle-BBn6e1TE.js.map} +1 -1
- package/cjs/chunks/{bundle-INETVVGE.js → bundle-BD49w5la.js} +1 -1
- package/cjs/chunks/bundle-BD49w5la.js.map +1 -0
- package/cjs/chunks/{bundle-Bm5ysFU-.js → bundle-BFekEiOq.js} +10 -10
- package/cjs/chunks/bundle-BFekEiOq.js.map +1 -0
- package/cjs/chunks/bundle-BN-LMdIM.js +24 -0
- package/cjs/chunks/bundle-BN-LMdIM.js.map +1 -0
- package/cjs/chunks/{bundle-C88DsCNB.js → bundle-BOcTTiW2.js} +3 -3
- package/cjs/chunks/bundle-BOcTTiW2.js.map +1 -0
- package/cjs/chunks/{bundle-CS644BJp.js → bundle-BQRvcMvv.js} +1366 -119
- package/cjs/chunks/bundle-BQRvcMvv.js.map +1 -0
- package/cjs/chunks/{bundle-BpOxHgfP.js → bundle-BVr30Pv7.js} +3 -3
- package/cjs/chunks/bundle-BVr30Pv7.js.map +1 -0
- package/cjs/chunks/{bundle-SIHqK2VF.js → bundle-BX7oj4JP.js} +1 -1
- package/cjs/chunks/bundle-BX7oj4JP.js.map +1 -0
- package/cjs/chunks/{bundle-FD0n8tOs.js → bundle-BYIW_h3Y.js} +4 -4
- package/cjs/chunks/bundle-BYIW_h3Y.js.map +1 -0
- package/cjs/chunks/{bundle-CW9QUnWM.js → bundle-BYMwGMsS.js} +1 -1
- package/cjs/chunks/bundle-BYMwGMsS.js.map +1 -0
- package/cjs/chunks/{bundle-tHnRbr7F.js → bundle-B_DDVUVa.js} +1 -1
- package/cjs/chunks/bundle-B_DDVUVa.js.map +1 -0
- package/cjs/chunks/{bundle-C9jXxNI1.js → bundle-BhUkL36h.js} +7 -7
- package/cjs/chunks/bundle-BhUkL36h.js.map +1 -0
- package/cjs/chunks/{bundle-DNP731Dg.js → bundle-BjidTEAi.js} +16 -16
- package/cjs/chunks/bundle-BjidTEAi.js.map +1 -0
- package/cjs/chunks/{bundle-DRFWOXrL.js → bundle-BjuS3ItZ.js} +1 -1
- package/cjs/chunks/bundle-BjuS3ItZ.js.map +1 -0
- package/cjs/chunks/{bundle-CD9H6RqJ.js → bundle-Bp8Rx6es.js} +57 -63
- package/cjs/chunks/bundle-Bp8Rx6es.js.map +1 -0
- package/cjs/chunks/{bundle-Y_FLyDnc.js → bundle-BrqtKvF1.js} +40 -9
- package/cjs/chunks/bundle-BrqtKvF1.js.map +1 -0
- package/cjs/chunks/{bundle-MFvyy6ar.js → bundle-BuxwIob-.js} +10 -10
- package/cjs/chunks/{bundle-MFvyy6ar.js.map → bundle-BuxwIob-.js.map} +1 -1
- package/cjs/chunks/{bundle-Q5_I3n-8.js → bundle-By-3k_MB.js} +1 -1
- package/cjs/chunks/bundle-By-3k_MB.js.map +1 -0
- package/cjs/chunks/{bundle-BxaGZqGJ.js → bundle-ByAfkvZh.js} +3 -3
- package/cjs/chunks/bundle-ByAfkvZh.js.map +1 -0
- package/cjs/chunks/{bundle-BVgN7Stu.js → bundle-BzKUDWhn.js} +2 -2
- package/cjs/chunks/{bundle-BVgN7Stu.js.map → bundle-BzKUDWhn.js.map} +1 -1
- package/cjs/chunks/{bundle-Dy6Gn-sd.js → bundle-C-TcZdkJ.js} +7 -7
- package/cjs/chunks/bundle-C-TcZdkJ.js.map +1 -0
- package/cjs/chunks/{bundle-B2cSnWcr.js → bundle-C3SJz4Ji.js} +1 -1
- package/cjs/chunks/bundle-C3SJz4Ji.js.map +1 -0
- package/cjs/chunks/{bundle-DJxxPTK5.js → bundle-C5UvuA7p.js} +3 -3
- package/cjs/chunks/{bundle-DJxxPTK5.js.map → bundle-C5UvuA7p.js.map} +1 -1
- package/cjs/chunks/{bundle-CmFB08Wf.js → bundle-C5nXYn9D.js} +3 -3
- package/cjs/chunks/bundle-C5nXYn9D.js.map +1 -0
- package/cjs/chunks/{bundle-jdEKrUGh.js → bundle-CB5yFlZx.js} +1 -1
- package/cjs/chunks/bundle-CB5yFlZx.js.map +1 -0
- package/cjs/chunks/{bundle-Cmmi9pdk.js → bundle-CCI24NOf.js} +1 -1
- package/cjs/chunks/{bundle-Cmmi9pdk.js.map → bundle-CCI24NOf.js.map} +1 -1
- package/cjs/chunks/{bundle-DxdzDF19.js → bundle-CFD0Fa-A.js} +2 -2
- package/cjs/chunks/bundle-CFD0Fa-A.js.map +1 -0
- package/cjs/chunks/{bundle-CIswYN43.js → bundle-CIwnFnv9.js} +3 -3
- package/cjs/chunks/bundle-CIwnFnv9.js.map +1 -0
- package/cjs/chunks/{bundle-cf3-zuo6.js → bundle-CKV7u9Pa.js} +1 -1
- package/cjs/chunks/bundle-CKV7u9Pa.js.map +1 -0
- package/cjs/chunks/{bundle-BsGXZt6G.js → bundle-CKVCRcX8.js} +3 -3
- package/cjs/chunks/bundle-CKVCRcX8.js.map +1 -0
- package/cjs/chunks/{bundle-B-dy_WYW.js → bundle-CRggj9kM.js} +8 -8
- package/cjs/chunks/{bundle-B-dy_WYW.js.map → bundle-CRggj9kM.js.map} +1 -1
- package/cjs/chunks/{bundle-DUP4cxoZ.js → bundle-CSlhgdb3.js} +1 -1
- package/cjs/chunks/bundle-CSlhgdb3.js.map +1 -0
- package/cjs/chunks/{bundle-JNAedgrE.js → bundle-CZ7evH27.js} +1 -1
- package/cjs/chunks/bundle-CZ7evH27.js.map +1 -0
- package/cjs/chunks/{bundle-Cyr1aQpR.js → bundle-CZwvHnpm.js} +1 -1
- package/cjs/chunks/bundle-CZwvHnpm.js.map +1 -0
- package/cjs/chunks/{bundle-CqF06THu.js → bundle-CbrvdaBm.js} +1 -1
- package/cjs/chunks/{bundle-CqF06THu.js.map → bundle-CbrvdaBm.js.map} +1 -1
- package/cjs/chunks/{bundle-BVuqbZx2.js → bundle-Cj7wXzYB.js} +13 -12
- package/cjs/chunks/{bundle-BVuqbZx2.js.map → bundle-Cj7wXzYB.js.map} +1 -1
- package/cjs/chunks/{bundle-D1duSVks.js → bundle-Cm8jkxa4.js} +14 -14
- package/cjs/chunks/{bundle-D1duSVks.js.map → bundle-Cm8jkxa4.js.map} +1 -1
- package/cjs/chunks/{bundle-C2v2lxLx.js → bundle-Cqim199-.js} +3 -3
- package/cjs/chunks/bundle-Cqim199-.js.map +1 -0
- package/cjs/chunks/{bundle-DREyIwSt.js → bundle-CsvF4G63.js} +10 -10
- package/cjs/chunks/{bundle-DREyIwSt.js.map → bundle-CsvF4G63.js.map} +1 -1
- package/cjs/chunks/{bundle-7GCXhi1c.js → bundle-CuCEO0gF.js} +3 -3
- package/cjs/chunks/bundle-CuCEO0gF.js.map +1 -0
- package/cjs/chunks/{bundle-CsvKRjaK.js → bundle-Cv9f4q9i.js} +1 -1
- package/cjs/chunks/bundle-Cv9f4q9i.js.map +1 -0
- package/cjs/chunks/{bundle-8oxVWV_9.js → bundle-Cxk9TBzk.js} +1 -1
- package/cjs/chunks/bundle-Cxk9TBzk.js.map +1 -0
- package/cjs/chunks/{bundle-e6crA6HI.js → bundle-D55IafBS.js} +1 -1
- package/cjs/chunks/bundle-D55IafBS.js.map +1 -0
- package/cjs/chunks/{bundle-xvNVoWia.js → bundle-DA-C0L_U.js} +6 -6
- package/cjs/chunks/bundle-DA-C0L_U.js.map +1 -0
- package/cjs/chunks/{bundle-Dpu1gg5r.js → bundle-DGw6pGp5.js} +1 -1
- package/cjs/chunks/bundle-DGw6pGp5.js.map +1 -0
- package/cjs/chunks/{bundle-tOZCSmZj.js → bundle-DMKeCwT_.js} +2 -2
- package/cjs/chunks/bundle-DMKeCwT_.js.map +1 -0
- package/cjs/chunks/{bundle-BMsGwLym.js → bundle-DMqilxSQ.js} +1 -1
- package/cjs/chunks/bundle-DMqilxSQ.js.map +1 -0
- package/cjs/chunks/{bundle-BUOuk2jo.js → bundle-DQT7OMs9.js} +2 -2
- package/cjs/chunks/bundle-DQT7OMs9.js.map +1 -0
- package/cjs/chunks/{bundle-DgY0qwTL.js → bundle-DRA4Fpff.js} +5 -5
- package/cjs/chunks/bundle-DRA4Fpff.js.map +1 -0
- package/cjs/chunks/{bundle-B1Nml3ap.js → bundle-DRrLQVHb.js} +45 -36
- package/{chunks/bundle-5okwu0-4.js.map → cjs/chunks/bundle-DRrLQVHb.js.map} +1 -1
- package/cjs/chunks/{bundle-B8jj7upa.js → bundle-D_m86gwb.js} +4 -4
- package/cjs/chunks/bundle-D_m86gwb.js.map +1 -0
- package/cjs/chunks/{bundle-9K7l85xj.js → bundle-DkUAiVSQ.js} +4 -4
- package/cjs/chunks/bundle-DkUAiVSQ.js.map +1 -0
- package/cjs/chunks/{bundle-NU2voiKZ.js → bundle-DmEJQudU.js} +6 -4
- package/cjs/chunks/bundle-DmEJQudU.js.map +1 -0
- package/cjs/chunks/{bundle-f6dhmXLj.js → bundle-DvYvJ4DA.js} +2 -2
- package/cjs/chunks/bundle-DvYvJ4DA.js.map +1 -0
- package/cjs/chunks/{bundle-dNtU9_eg.js → bundle-DwFtclQP.js} +6 -6
- package/cjs/chunks/bundle-DwFtclQP.js.map +1 -0
- package/cjs/chunks/{bundle-DAVdWPDx.js → bundle-GXGfsR0s.js} +10 -10
- package/cjs/chunks/bundle-GXGfsR0s.js.map +1 -0
- package/cjs/chunks/{bundle-DX2BaZv_.js → bundle-K9SAn_UP.js} +2 -2
- package/cjs/chunks/bundle-K9SAn_UP.js.map +1 -0
- package/cjs/chunks/{bundle-BgLtZgZ_.js → bundle-KIzH0CXn.js} +1 -1
- package/cjs/chunks/bundle-KIzH0CXn.js.map +1 -0
- package/cjs/chunks/{bundle-6eXm5bOG.js → bundle-QlySzqVl.js} +1 -1
- package/cjs/chunks/bundle-QlySzqVl.js.map +1 -0
- package/cjs/chunks/{bundle-BF04PgMH.js → bundle-U2gOXD87.js} +1 -1
- package/cjs/chunks/bundle-U2gOXD87.js.map +1 -0
- package/cjs/chunks/{bundle-DcPTVUQJ.js → bundle-U9tfceaP.js} +3 -3
- package/cjs/chunks/bundle-U9tfceaP.js.map +1 -0
- package/cjs/chunks/{bundle-03LrACV2.js → bundle-Vo5M_T27.js} +6 -6
- package/cjs/chunks/bundle-Vo5M_T27.js.map +1 -0
- package/cjs/chunks/{bundle-BlvFC-Rm.js → bundle-_3SK8xoH.js} +1 -1
- package/cjs/chunks/bundle-_3SK8xoH.js.map +1 -0
- package/cjs/chunks/{bundle-BwO19Jro.js → bundle-_ouF-COo.js} +3 -3
- package/cjs/chunks/bundle-_ouF-COo.js.map +1 -0
- package/cjs/chunks/{bundle-BVLguSfh.js → bundle-b2Ui6hpE.js} +4 -4
- package/cjs/chunks/{bundle-BVLguSfh.js.map → bundle-b2Ui6hpE.js.map} +1 -1
- package/cjs/chunks/{bundle-qgvbJv89.js → bundle-gBFimzbK.js} +2 -2
- package/cjs/chunks/bundle-gBFimzbK.js.map +1 -0
- package/cjs/chunks/{bundle-DfYperTC.js → bundle-gGCaMzPZ.js} +1 -1
- package/cjs/chunks/bundle-gGCaMzPZ.js.map +1 -0
- package/cjs/chunks/{bundle-BR1tsZpK.js → bundle-h_3DR6aU.js} +1 -1
- package/cjs/chunks/bundle-h_3DR6aU.js.map +1 -0
- package/cjs/chunks/{bundle-BR23SbdZ.js → bundle-kJy0a2Vi.js} +3 -3
- package/cjs/chunks/{bundle-BR23SbdZ.js.map → bundle-kJy0a2Vi.js.map} +1 -1
- package/cjs/chunks/{bundle-DTjdtS4A.js → bundle-kLARBimu.js} +30 -27
- package/cjs/chunks/bundle-kLARBimu.js.map +1 -0
- package/cjs/chunks/{bundle-C8cnT2au.js → bundle-lP7Zc4ok.js} +9 -9
- package/cjs/chunks/bundle-lP7Zc4ok.js.map +1 -0
- package/cjs/chunks/{bundle-djPmP6bl.js → bundle-oHlDXetd.js} +5 -5
- package/cjs/chunks/bundle-oHlDXetd.js.map +1 -0
- package/cjs/chunks/bundle-pFmJjfem.js +18 -0
- package/cjs/chunks/bundle-pFmJjfem.js.map +1 -0
- package/cjs/chunks/{bundle-BH87xcnc.js → bundle-tFZbRjso.js} +1 -1
- package/cjs/chunks/bundle-tFZbRjso.js.map +1 -0
- package/cjs/chunks/{bundle-ORLbcTP_.js → bundle-uzuKeMjI.js} +1 -1
- package/cjs/chunks/bundle-uzuKeMjI.js.map +1 -0
- package/cjs/chunks/{bundle-C9YHSQ4e.js → bundle-vjAaeYFb.js} +1 -1
- package/cjs/chunks/bundle-vjAaeYFb.js.map +1 -0
- package/cjs/chunks/{bundle-7FLBAmYO.js → bundle-wczCFG7x.js} +2 -2
- package/cjs/chunks/{bundle-7FLBAmYO.js.map → bundle-wczCFG7x.js.map} +1 -1
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +82 -83
- 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 +28 -36
- package/cjs/ui/Accordion.js.map +1 -1
- package/cjs/ui/AccordionGroup.js +47 -11
- package/cjs/ui/AccordionGroup.js.map +1 -1
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +4 -4
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +5 -5
- package/cjs/ui/ConnectionStatus.js +6 -6
- package/cjs/ui/ContextMenu.js +6 -6
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +29 -17
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
- package/cjs/ui/FileMessageItemBody.js +50 -12
- package/cjs/ui/FileMessageItemBody.js.map +1 -1
- package/cjs/ui/FileViewer.js +15 -15
- package/cjs/ui/Icon.js +2 -2
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +3 -3
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
- package/cjs/ui/MentionLabel.js +13 -13
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +155 -133
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageFeedbackFailedModal.js +35 -0
- package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -0
- package/cjs/{Channel/components → ui}/MessageFeedbackModal.js +13 -13
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +15 -15
- package/cjs/ui/MessageItemMenu.js +67 -29
- package/cjs/ui/MessageItemMenu.js.map +1 -1
- package/cjs/ui/MessageItemReactionMenu.js +9 -9
- package/cjs/ui/MessageSearchFileItem.js +14 -14
- package/cjs/ui/MessageSearchItem.js +11 -11
- package/cjs/ui/MessageStatus.js +12 -12
- package/cjs/ui/MessageTemplate.js +2 -1
- package/cjs/ui/MessageTemplate.js.map +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +9 -9
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +19 -17
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +8 -8
- package/cjs/ui/OpenchannelConversationHeader.js +8 -8
- package/cjs/ui/OpenchannelFileMessage.js +18 -18
- package/cjs/ui/OpenchannelOGMessage.js +20 -20
- package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
- package/cjs/ui/OpenchannelUserMessage.js +18 -18
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/QuoteMessage.js +9 -9
- package/cjs/ui/QuoteMessageInput.js +12 -16
- package/cjs/ui/QuoteMessageInput.js.map +1 -1
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TemplateMessageItemBody.js +143 -72
- package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +16 -16
- package/cjs/ui/ThreadReplies.js +8 -8
- package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/TypingIndicatorBubble.js +4 -4
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +17 -16
- package/cjs/ui/UserListItem.js.map +1 -1
- package/cjs/ui/UserProfile.js +10 -10
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/Word.js +13 -13
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +3 -3
- package/cjs/withSendbird.js +1 -1
- package/dist/index.css +142 -155
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +82 -83
- package/index.js.map +1 -1
- package/package.json +20 -20
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/lib/dux/appInfo/initialState.d.ts +1 -0
- package/types/lib/types.d.ts +1 -0
- package/types/modules/Channel/components/MessageList/index.d.ts +1 -1
- package/types/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +2 -2
- package/types/modules/ChannelSettings/components/ModerationPanel/index.d.ts +1 -1
- package/types/modules/GroupChannel/components/FileViewer/FileViewerView.d.ts +5 -3
- package/types/modules/GroupChannel/components/Message/MessageView.d.ts +6 -0
- package/types/modules/GroupChannel/components/MessageList/index.d.ts +1 -1
- package/types/modules/GroupChannel/components/MessageTemplateWrapper/index.d.ts +1 -1
- package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +6 -1
- package/types/modules/OpenChannel/components/OpenChannelMessage/index.d.ts +2 -2
- package/types/modules/OpenChannel/components/OpenChannelMessageList/index.d.ts +5 -3
- package/types/modules/OpenChannel/components/OpenChannelUI/index.d.ts +4 -2
- package/types/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +3 -1
- package/types/modules/Thread/context/ThreadProvider.d.ts +2 -0
- package/types/types.d.ts +1 -2
- package/types/ui/Accordion/Accordion.d.ts +10 -0
- package/types/ui/Accordion/AccordionGroup.d.ts +15 -5
- package/types/ui/Accordion/index.d.ts +6 -12
- package/types/ui/Carousel/index.d.ts +2 -3
- package/types/ui/EmojiReactions/index.d.ts +1 -2
- package/types/ui/FileMessageItemBody/index.d.ts +3 -1
- package/types/ui/FileViewer/index.d.ts +2 -1
- package/types/ui/FileViewer/types.d.ts +4 -2
- package/types/ui/MessageContent/MessageBody/index.d.ts +5 -1
- package/types/ui/MessageContent/index.d.ts +3 -1
- package/types/{modules/Channel/components → ui}/MessageFeedbackModal/index.d.ts +1 -1
- package/types/ui/MessageItemMenu/index.d.ts +10 -2
- package/types/ui/MessageTemplate/index.d.ts +4 -3
- package/types/ui/MessageTemplate/messageTemplateErrorBoundary.d.ts +3 -0
- package/types/ui/MobileMenu/types.d.ts +2 -1
- package/types/ui/MultipleFilesMessageItemBody/index.d.ts +3 -1
- package/types/ui/TemplateMessageItemBody/index.d.ts +3 -2
- package/types/ui/TemplateMessageItemBody/types.d.ts +11 -12
- package/types/ui/UserListItem/index.d.ts +2 -1
- package/types/utils/getIsReactionEnabled.d.ts +5 -4
- package/types/utils/index.d.ts +12 -14
- package/types/utils/isVoiceMessage.d.ts +1 -1
- package/types/utils/utils.d.ts +1 -0
- package/ui/Accordion.js +28 -39
- package/ui/Accordion.js.map +1 -1
- package/ui/AccordionGroup.js +43 -12
- package/ui/AccordionGroup.js.map +1 -1
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +5 -5
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +29 -17
- package/ui/EmojiReactions.js.map +1 -1
- package/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
- package/ui/FileMessageItemBody.js +50 -12
- package/ui/FileMessageItemBody.js.map +1 -1
- package/ui/FileViewer.js +15 -15
- package/ui/Icon.js +2 -2
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +3 -3
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +2 -2
- package/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
- package/ui/MentionLabel.js +13 -13
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +155 -133
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageFeedbackFailedModal.js +33 -0
- package/ui/MessageFeedbackFailedModal.js.map +1 -0
- package/{Channel/components → ui}/MessageFeedbackModal.js +13 -13
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +15 -15
- package/ui/MessageItemMenu.js +67 -29
- package/ui/MessageItemMenu.js.map +1 -1
- package/ui/MessageItemReactionMenu.js +9 -9
- package/ui/MessageSearchFileItem.js +14 -14
- package/ui/MessageSearchItem.js +11 -11
- package/ui/MessageStatus.js +12 -12
- package/ui/MessageTemplate.js +2 -1
- package/ui/MessageTemplate.js.map +1 -1
- package/ui/MobileFeedbackMenu.js +9 -9
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +19 -17
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +8 -8
- package/ui/OpenchannelConversationHeader.js +8 -8
- package/ui/OpenchannelFileMessage.js +18 -18
- package/ui/OpenchannelOGMessage.js +20 -20
- package/ui/OpenchannelThumbnailMessage.js +17 -17
- package/ui/OpenchannelUserMessage.js +18 -18
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/QuoteMessage.js +9 -9
- package/ui/QuoteMessageInput.js +12 -16
- package/ui/QuoteMessageInput.js.map +1 -1
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TemplateMessageItemBody.js +143 -72
- package/ui/TemplateMessageItemBody.js.map +1 -1
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +16 -16
- package/ui/ThreadReplies.js +8 -8
- package/ui/ThumbnailMessageItemBody.js +7 -7
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +4 -4
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +17 -16
- package/ui/UserListItem.js.map +1 -1
- package/ui/UserProfile.js +10 -10
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +13 -13
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +3 -3
- package/withSendbird.js +1 -1
- package/chunks/bundle-87W4GPnC.js.map +0 -1
- package/chunks/bundle-B1s46xJT.js.map +0 -1
- package/chunks/bundle-B2pNgmzq.js.map +0 -1
- package/chunks/bundle-B5kwbUC5.js +0 -11
- package/chunks/bundle-B5kwbUC5.js.map +0 -1
- package/chunks/bundle-BFDyBk4r.js.map +0 -1
- package/chunks/bundle-BH5rbsxO.js.map +0 -1
- package/chunks/bundle-BJ9OAqWz.js.map +0 -1
- package/chunks/bundle-BKG2cvZ9.js.map +0 -1
- package/chunks/bundle-BNeRxCQA.js.map +0 -1
- package/chunks/bundle-BNydv1KA.js.map +0 -1
- package/chunks/bundle-BPclYGwz.js.map +0 -1
- package/chunks/bundle-BSPBjwR6.js.map +0 -1
- package/chunks/bundle-BUy5u56K.js.map +0 -1
- package/chunks/bundle-Bf5VthYV.js.map +0 -1
- package/chunks/bundle-BhjXV0mk.js.map +0 -1
- package/chunks/bundle-BmPxXQ_C.js.map +0 -1
- package/chunks/bundle-BuIxT5aZ.js.map +0 -1
- package/chunks/bundle-BvQAepkJ.js.map +0 -1
- package/chunks/bundle-Bys5RwQj.js.map +0 -1
- package/chunks/bundle-C-_RpFyM.js.map +0 -1
- package/chunks/bundle-C1RngQCJ.js.map +0 -1
- package/chunks/bundle-C4sUzPGS.js.map +0 -1
- package/chunks/bundle-CF6PMu9B.js.map +0 -1
- package/chunks/bundle-CJIPD7gN.js.map +0 -1
- package/chunks/bundle-COGPgRK-.js.map +0 -1
- package/chunks/bundle-CPszRkFg.js.map +0 -1
- package/chunks/bundle-CS7t26su.js.map +0 -1
- package/chunks/bundle-C_n2Emjx.js.map +0 -1
- package/chunks/bundle-CbBN2HTx.js.map +0 -1
- package/chunks/bundle-CfKGkWtT.js.map +0 -1
- package/chunks/bundle-CwofYH9U.js +0 -10
- package/chunks/bundle-CwofYH9U.js.map +0 -1
- package/chunks/bundle-D-cpJ5MP.js.map +0 -1
- package/chunks/bundle-D56MXYqF.js.map +0 -1
- package/chunks/bundle-DCjOFMcr.js.map +0 -1
- package/chunks/bundle-DRL21d0s.js.map +0 -1
- package/chunks/bundle-DTDkmegk.js.map +0 -1
- package/chunks/bundle-DUTTSKO5.js.map +0 -1
- package/chunks/bundle-D_X2Bqh-.js.map +0 -1
- package/chunks/bundle-DcOT2xg0.js.map +0 -1
- package/chunks/bundle-DgJrJ2xn.js.map +0 -1
- package/chunks/bundle-Dicb9Y5f.js.map +0 -1
- package/chunks/bundle-DkRogqRS.js.map +0 -1
- package/chunks/bundle-DnFiUPoR.js.map +0 -1
- package/chunks/bundle-DoLed6JB.js.map +0 -1
- package/chunks/bundle-DrfdRrEf.js +0 -12
- package/chunks/bundle-DrfdRrEf.js.map +0 -1
- package/chunks/bundle-DzuAq6CR.js.map +0 -1
- package/chunks/bundle-GQqssfTX.js.map +0 -1
- package/chunks/bundle-N_XkA5JB.js.map +0 -1
- package/chunks/bundle-WwYLGAen.js.map +0 -1
- package/chunks/bundle-gSQF3Ob-.js.map +0 -1
- package/chunks/bundle-l_8hg8H3.js.map +0 -1
- package/chunks/bundle-rSEP1XoB.js.map +0 -1
- package/chunks/bundle-rfEyWmAm.js.map +0 -1
- package/chunks/bundle-ynxAt7xC.js.map +0 -1
- package/chunks/bundle-zf2ni0YJ.js.map +0 -1
- package/cjs/chunks/bundle--ToWZ9cj.js.map +0 -1
- package/cjs/chunks/bundle-03LrACV2.js.map +0 -1
- package/cjs/chunks/bundle-6eXm5bOG.js.map +0 -1
- package/cjs/chunks/bundle-7GCXhi1c.js.map +0 -1
- package/cjs/chunks/bundle-8oxVWV_9.js.map +0 -1
- package/cjs/chunks/bundle-9K7l85xj.js.map +0 -1
- package/cjs/chunks/bundle-B2cSnWcr.js.map +0 -1
- package/cjs/chunks/bundle-BF04PgMH.js.map +0 -1
- package/cjs/chunks/bundle-BH87xcnc.js.map +0 -1
- package/cjs/chunks/bundle-BLh1DOSs.js +0 -15
- package/cjs/chunks/bundle-BLh1DOSs.js.map +0 -1
- package/cjs/chunks/bundle-BMsGwLym.js.map +0 -1
- package/cjs/chunks/bundle-BR1tsZpK.js.map +0 -1
- package/cjs/chunks/bundle-BUOuk2jo.js.map +0 -1
- package/cjs/chunks/bundle-BdHrSYl1.js.map +0 -1
- package/cjs/chunks/bundle-BgLtZgZ_.js.map +0 -1
- package/cjs/chunks/bundle-BlvFC-Rm.js.map +0 -1
- package/cjs/chunks/bundle-Bm5ysFU-.js.map +0 -1
- package/cjs/chunks/bundle-BpOxHgfP.js.map +0 -1
- package/cjs/chunks/bundle-BsGXZt6G.js.map +0 -1
- package/cjs/chunks/bundle-BwO19Jro.js.map +0 -1
- package/cjs/chunks/bundle-BxaGZqGJ.js.map +0 -1
- package/cjs/chunks/bundle-C2v2lxLx.js.map +0 -1
- package/cjs/chunks/bundle-C88DsCNB.js.map +0 -1
- package/cjs/chunks/bundle-C8cnT2au.js.map +0 -1
- package/cjs/chunks/bundle-C9YHSQ4e.js.map +0 -1
- package/cjs/chunks/bundle-C9jXxNI1.js.map +0 -1
- package/cjs/chunks/bundle-CCVRe_w3.js +0 -13
- package/cjs/chunks/bundle-CCVRe_w3.js.map +0 -1
- package/cjs/chunks/bundle-CD9H6RqJ.js.map +0 -1
- package/cjs/chunks/bundle-CDBTt08y.js +0 -13
- package/cjs/chunks/bundle-CDBTt08y.js.map +0 -1
- package/cjs/chunks/bundle-CIswYN43.js.map +0 -1
- package/cjs/chunks/bundle-CS644BJp.js.map +0 -1
- package/cjs/chunks/bundle-CW9QUnWM.js.map +0 -1
- package/cjs/chunks/bundle-CmFB08Wf.js.map +0 -1
- package/cjs/chunks/bundle-CsvKRjaK.js.map +0 -1
- package/cjs/chunks/bundle-Cyr1aQpR.js.map +0 -1
- package/cjs/chunks/bundle-DAVdWPDx.js.map +0 -1
- package/cjs/chunks/bundle-DNP731Dg.js.map +0 -1
- package/cjs/chunks/bundle-DRFWOXrL.js.map +0 -1
- package/cjs/chunks/bundle-DTjdtS4A.js.map +0 -1
- package/cjs/chunks/bundle-DUP4cxoZ.js.map +0 -1
- package/cjs/chunks/bundle-DX2BaZv_.js.map +0 -1
- package/cjs/chunks/bundle-DcPTVUQJ.js.map +0 -1
- package/cjs/chunks/bundle-DfYperTC.js.map +0 -1
- package/cjs/chunks/bundle-DgY0qwTL.js.map +0 -1
- package/cjs/chunks/bundle-DjB9bkvD.js.map +0 -1
- package/cjs/chunks/bundle-Dpu1gg5r.js.map +0 -1
- package/cjs/chunks/bundle-DxdzDF19.js.map +0 -1
- package/cjs/chunks/bundle-Dy6Gn-sd.js.map +0 -1
- package/cjs/chunks/bundle-FD0n8tOs.js.map +0 -1
- package/cjs/chunks/bundle-INETVVGE.js.map +0 -1
- package/cjs/chunks/bundle-JNAedgrE.js.map +0 -1
- package/cjs/chunks/bundle-NU2voiKZ.js.map +0 -1
- package/cjs/chunks/bundle-ORLbcTP_.js.map +0 -1
- package/cjs/chunks/bundle-Q5_I3n-8.js.map +0 -1
- package/cjs/chunks/bundle-SIHqK2VF.js.map +0 -1
- package/cjs/chunks/bundle-Y_FLyDnc.js.map +0 -1
- package/cjs/chunks/bundle-cf3-zuo6.js.map +0 -1
- package/cjs/chunks/bundle-dNtU9_eg.js.map +0 -1
- package/cjs/chunks/bundle-djPmP6bl.js.map +0 -1
- package/cjs/chunks/bundle-e6crA6HI.js.map +0 -1
- package/cjs/chunks/bundle-f6dhmXLj.js.map +0 -1
- package/cjs/chunks/bundle-jdEKrUGh.js.map +0 -1
- package/cjs/chunks/bundle-qgvbJv89.js.map +0 -1
- package/cjs/chunks/bundle-tHnRbr7F.js.map +0 -1
- package/cjs/chunks/bundle-tOZCSmZj.js.map +0 -1
- package/cjs/chunks/bundle-xvNVoWia.js.map +0 -1
- package/cjs/ui/Carousel.js +0 -254
- package/cjs/ui/Carousel.js.map +0 -1
- package/ui/Carousel.js +0 -249
- package/ui/Carousel.js.map +0 -1
- /package/cjs/{Channel/components → ui}/MessageFeedbackModal.js.map +0 -0
- /package/types/{modules/Channel/components → ui}/MessageFeedbackFailedModal/index.d.ts +0 -0
- /package/{Channel/components → ui}/MessageFeedbackModal.js.map +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default, { createContext, useReducer, useContext } from 'react';
|
|
2
|
-
import { _ as __assign } from './bundle-
|
|
3
|
-
import { i as VOICE_PLAYER_ROOT_ID, f as VOICE_PLAYER_AUDIO_ID, a as VOICE_MESSAGE_FILE_NAME, b as VOICE_MESSAGE_MIME_TYPE } from './bundle-
|
|
2
|
+
import { _ as __assign } from './bundle-DRWNB6So.js';
|
|
3
|
+
import { i as VOICE_PLAYER_ROOT_ID, f as VOICE_PLAYER_AUDIO_ID, a as VOICE_MESSAGE_FILE_NAME, b as VOICE_MESSAGE_MIME_TYPE } from './bundle-CypLTOy5.js';
|
|
4
4
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
5
5
|
|
|
6
6
|
var INITIALIZE_AUDIO_UNIT = 'INITIALIZE_AUDIO_UNIT';
|
|
@@ -243,4 +243,4 @@ var VoicePlayerProvider = function (_a) {
|
|
|
243
243
|
var useVoicePlayerContext = function () { return useContext(Context); };
|
|
244
244
|
|
|
245
245
|
export { AudioUnitDefaultValue as A, VOICE_PLAYER_STATUS as V, ALL as a, VoicePlayerProvider as b, useVoicePlayerContext as u };
|
|
246
|
-
//# sourceMappingURL=bundle-
|
|
246
|
+
//# sourceMappingURL=bundle-Cv74ntvD.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Cv74ntvD.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -31,4 +31,4 @@ var isDisabledBecauseMuted = function (groupChannel) {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
export { isDisabledBecauseMuted as a, isContextMenuClosed as b, getMessageTopOffset as c, getComponentKeyFromMessage as g, isDisabledBecauseFrozen as i };
|
|
34
|
-
//# sourceMappingURL=bundle-
|
|
34
|
+
//# sourceMappingURL=bundle-CwodDxvD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-CwodDxvD.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
2
|
+
import { p as pubSubTopics, s as shouldPubSubPublishToChannel, a as shouldPubSubPublishToThread } from './bundle-BmJsj1DE.js';
|
|
3
|
+
import { s as scrollIntoLast$1 } from './bundle-Buy5OFoZ.js';
|
|
4
4
|
import '../utils/message/getOutgoingMessageState.js';
|
|
5
|
-
import { e as SCROLL_BOTTOM_DELAY_FOR_SEND } from './bundle-
|
|
5
|
+
import { e as SCROLL_BOTTOM_DELAY_FOR_SEND } from './bundle-CypLTOy5.js';
|
|
6
6
|
|
|
7
7
|
var getNicknamesMapFromMembers = function (members) {
|
|
8
8
|
if (members === void 0) { members = []; }
|
|
@@ -169,4 +169,4 @@ var useSendMultipleFilesMessage = function (_a, _b) {
|
|
|
169
169
|
};
|
|
170
170
|
|
|
171
171
|
export { getNicknamesMapFromMembers as a, compareIds as c, getParentMessageFrom as g, isAboutSame as i, scrollIntoLast as s, useSendMultipleFilesMessage as u };
|
|
172
|
-
//# sourceMappingURL=bundle-
|
|
172
|
+
//# sourceMappingURL=bundle-Cxxoo-8r.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Cxxoo-8r.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -34,4 +34,4 @@ var CACHED_MESSAGE_TEMPLATES_TOKEN_KEY = 'sendbird_message_templates_token_key';
|
|
|
34
34
|
var CACHED_MESSAGE_TEMPLATES_KEY = 'sendbird_message_templates_key';
|
|
35
35
|
|
|
36
36
|
export { BROWSER_SUPPORT_MIME_TYPE_LIST as B, CACHED_MESSAGE_TEMPLATES_TOKEN_KEY as C, DELIVERY_RECEIPT as D, META_ARRAY_VOICE_DURATION_KEY as M, ONE_MiB as O, 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_AUDIO_SAMPLE_RATE as c, SCROLL_BOTTOM_DELAY_FOR_FETCH as d, SCROLL_BOTTOM_DELAY_FOR_SEND as e, VOICE_PLAYER_AUDIO_ID as f, VOICE_RECORDER_DEFAULT_MIN as g, VOICE_RECORDER_CLICK_BUFFER_TIME as h, VOICE_PLAYER_ROOT_ID as i, META_ARRAY_MESSAGE_TYPE_KEY as j, META_ARRAY_MESSAGE_TYPE_VALUE__VOICE as k, SLIDER_BUTTON_ICON_SIDE_LENGTH as l, CACHED_MESSAGE_TEMPLATES_KEY as m, DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT as n, VOICE_RECORDER_DEFAULT_MAX as o };
|
|
37
|
-
//# sourceMappingURL=bundle-
|
|
37
|
+
//# sourceMappingURL=bundle-CypLTOy5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-CypLTOy5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-CzECC0WY.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
3
3
|
import { TypingIndicator } from '../GroupChannel/components/TypingIndicator.js';
|
|
4
|
-
import { T as TypingIndicatorType } from './bundle-
|
|
4
|
+
import { T as TypingIndicatorType } from './bundle-CRJQQ2Pt.js';
|
|
5
5
|
import ConnectionStatus from '../ui/ConnectionStatus.js';
|
|
6
6
|
import PlaceHolder, { PlaceHolderTypes } from '../ui/PlaceHolder.js';
|
|
7
|
+
import { d as deleteNullish } from './bundle-B-rlaXWu.js';
|
|
7
8
|
|
|
8
9
|
var GroupChannelUIView = function (props) {
|
|
9
10
|
var _a, _b, _c, _d;
|
|
10
|
-
var isLoading = props.isLoading, isInvalid = props.isInvalid, channelUrl = props.channelUrl
|
|
11
|
-
var _e =
|
|
11
|
+
var isLoading = props.isLoading, isInvalid = props.isInvalid, channelUrl = props.channelUrl;
|
|
12
|
+
var _e = deleteNullish(props), renderChannelHeader = _e.renderChannelHeader, renderMessageList = _e.renderMessageList, renderMessageInput = _e.renderMessageInput, renderTypingIndicator = _e.renderTypingIndicator, renderPlaceholderLoader = _e.renderPlaceholderLoader, renderPlaceholderInvalid = _e.renderPlaceholderInvalid;
|
|
13
|
+
var _f = useSendbirdStateContext(), stores = _f.stores, config = _f.config;
|
|
12
14
|
var sdkError = (_a = stores === null || stores === void 0 ? void 0 : stores.sdkStore) === null || _a === void 0 ? void 0 : _a.error;
|
|
13
15
|
var logger = config.logger, isOnline = config.isOnline;
|
|
14
16
|
// Note: This is not a loading status of the message list.
|
|
@@ -40,4 +42,4 @@ var GroupChannelUIView = function (props) {
|
|
|
40
42
|
};
|
|
41
43
|
|
|
42
44
|
export { GroupChannelUIView as G };
|
|
43
|
-
//# sourceMappingURL=bundle-
|
|
45
|
+
//# sourceMappingURL=bundle-CzznhOkf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-CzznhOkf.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,7 +3,7 @@ import { GroupChannelListHeader } from '../GroupChannelList/components/GroupChan
|
|
|
3
3
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
4
4
|
import EditUserProfile from '../EditUserProfile.js';
|
|
5
5
|
import PlaceHolder, { PlaceHolderTypes } from '../ui/PlaceHolder.js';
|
|
6
|
-
import { u as useOnScrollPositionChangeDetector } from './bundle-
|
|
6
|
+
import { u as useOnScrollPositionChangeDetector } from './bundle-BmJp9ELx.js';
|
|
7
7
|
|
|
8
8
|
var GroupChannelListUIView = function (_a) {
|
|
9
9
|
var renderHeader = _a.renderHeader, renderPlaceHolderError = _a.renderPlaceHolderError, renderPlaceHolderLoading = _a.renderPlaceHolderLoading, renderPlaceHolderEmptyList = _a.renderPlaceHolderEmptyList, onChangeTheme = _a.onChangeTheme, onUserProfileUpdated = _a.onUserProfileUpdated, allowProfileEdit = _a.allowProfileEdit, channels = _a.channels, onLoadMore = _a.onLoadMore, initialized = _a.initialized, renderChannel = _a.renderChannel, renderAddChannel = _a.renderAddChannel;
|
|
@@ -64,4 +64,4 @@ var ChannelListComponent = function (props) {
|
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
export { GroupChannelListUIView as G };
|
|
67
|
-
//# sourceMappingURL=bundle-
|
|
67
|
+
//# sourceMappingURL=bundle-D-62maU6.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-D-62maU6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as VOICE_RECORDER_AUDIO_SAMPLE_RATE } from './bundle-
|
|
1
|
+
import { c as VOICE_RECORDER_AUDIO_SAMPLE_RATE } from './bundle-CypLTOy5.js';
|
|
2
2
|
import { WavHeader as ut, Mp3Encoder as ht } from '../lame.all.js';
|
|
3
3
|
|
|
4
4
|
// Thanks to https://codesandbox.io/s/media-recorder-api-downsampling-16k-mp3-encode-using-lame-js-forked-n1pblw
|
|
@@ -122,4 +122,4 @@ function bufferToWav(abuffer, len) {
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
export { downsampleToWav, encodeMp3 };
|
|
125
|
-
//# sourceMappingURL=bundle-
|
|
125
|
+
//# sourceMappingURL=bundle-D2nMevA-.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-D2nMevA-.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-D3BcbbU5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { a as __awaiter, b as __generator, c as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __awaiter, b as __generator, c as __spreadArray } from './bundle-DRWNB6So.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect, useCallback } from 'react';
|
|
3
|
-
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-
|
|
3
|
+
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-CwodDxvD.js';
|
|
4
4
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
5
|
-
import { u as useLocalization } from './bundle-
|
|
5
|
+
import { u as useLocalization } from './bundle-ByOL8d1Y.js';
|
|
6
6
|
import { SuggestedMentionList } from '../GroupChannel/components/SuggestedMentionList.js';
|
|
7
7
|
import { useDirtyGetMentions } from '../Message/hooks/useDirtyGetMentions.js';
|
|
8
8
|
import QuoteMessageInput from '../ui/QuoteMessageInput.js';
|
|
9
9
|
import { useVoicePlayer } from '../VoicePlayer/useVoicePlayer.js';
|
|
10
10
|
import { useVoiceRecorder, VoiceRecorderStatus } from '../VoiceRecorder/useVoiceRecorder.js';
|
|
11
|
-
import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-
|
|
12
|
-
import { M as Modal, c as ModalFooter } from './bundle-
|
|
11
|
+
import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-CKUGA2Du.js';
|
|
12
|
+
import { M as Modal, c as ModalFooter } from './bundle-DURANzV-.js';
|
|
13
13
|
import Button, { ButtonTypes, ButtonSizes } from '../ui/Button.js';
|
|
14
|
-
import { g as VOICE_RECORDER_DEFAULT_MIN } from './bundle-
|
|
15
|
-
import { V as VOICE_PLAYER_STATUS } from './bundle-
|
|
16
|
-
import { u as uuidv4 } from './bundle-
|
|
14
|
+
import { g as VOICE_RECORDER_DEFAULT_MIN } from './bundle-CypLTOy5.js';
|
|
15
|
+
import { V as VOICE_PLAYER_STATUS } from './bundle-Cv74ntvD.js';
|
|
16
|
+
import { u as uuidv4 } from './bundle-oKdCuyHB.js';
|
|
17
17
|
import MessageInput from '../ui/MessageInput.js';
|
|
18
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
19
|
-
import { M as MessageInputKeys } from './bundle-
|
|
20
|
-
import { k as isImage } from './bundle-
|
|
18
|
+
import { u as useMediaQueryContext } from './bundle-CfCfA_eS.js';
|
|
19
|
+
import { M as MessageInputKeys } from './bundle-C4E6x1yH.js';
|
|
20
|
+
import { k as isImage } from './bundle-CRJQQ2Pt.js';
|
|
21
21
|
import { useGlobalModalContext } from '../hooks/useModal.js';
|
|
22
|
-
import './bundle-
|
|
23
|
-
import { c as compressImages } from './bundle-
|
|
22
|
+
import './bundle-C9k4XREr.js';
|
|
23
|
+
import { c as compressImages } from './bundle-BGCeRCjz.js';
|
|
24
24
|
|
|
25
25
|
var VoiceMessageInputWrapper = function (_a) {
|
|
26
26
|
var _b;
|
|
@@ -382,4 +382,4 @@ var MessageInputWrapperView = React__default.forwardRef(function (props, ref) {
|
|
|
382
382
|
});
|
|
383
383
|
|
|
384
384
|
export { MessageInputWrapperView as M, VoiceMessageInputWrapper as V };
|
|
385
|
-
//# sourceMappingURL=bundle-
|
|
385
|
+
//# sourceMappingURL=bundle-D3hUaRgQ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-D3hUaRgQ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useCallback, useEffect } from 'react';
|
|
2
2
|
import { ReplyType } from '@sendbird/chat/message';
|
|
3
|
-
import { s as scrollIntoLast, c as scrollToRenderedMessage } from './bundle-
|
|
4
|
-
import { R as RESET_MESSAGES, M as MESSAGE_LIST_PARAMS_CHANGED, F as FETCH_INITIAL_MESSAGES_START, a as FETCH_INITIAL_MESSAGES_SUCCESS, b as FETCH_INITIAL_MESSAGES_FAILURE } from './bundle-
|
|
5
|
-
import './bundle-
|
|
6
|
-
import { d as SCROLL_BOTTOM_DELAY_FOR_FETCH } from './bundle-
|
|
3
|
+
import { s as scrollIntoLast, c as scrollToRenderedMessage } from './bundle-Buy5OFoZ.js';
|
|
4
|
+
import { R as RESET_MESSAGES, M as MESSAGE_LIST_PARAMS_CHANGED, F as FETCH_INITIAL_MESSAGES_START, a as FETCH_INITIAL_MESSAGES_SUCCESS, b as FETCH_INITIAL_MESSAGES_FAILURE } from './bundle-Dzzjbgaw.js';
|
|
5
|
+
import './bundle-DKTKyX5B.js';
|
|
6
|
+
import { d as SCROLL_BOTTOM_DELAY_FOR_FETCH } from './bundle-CypLTOy5.js';
|
|
7
7
|
|
|
8
8
|
// For legacy
|
|
9
9
|
// These are not used for collections(GroupChannel)
|
|
@@ -99,4 +99,4 @@ function useInitialMessagesFetch(_a, _b) {
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
export { NEXT_RESULT_SIZE as N, PREV_RESULT_SIZE as P, useInitialMessagesFetch as u };
|
|
102
|
-
//# sourceMappingURL=bundle-
|
|
102
|
+
//# sourceMappingURL=bundle-D7hy2K0F.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-D7hy2K0F.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import React__default, { useEffect, useCallback, useState, useReducer, useRef, useMemo } from 'react';
|
|
2
|
-
import { U as UserProfileProvider } from './bundle-
|
|
3
|
-
import { _ as __assign, c as __spreadArray, a as __awaiter, b as __generator } from './bundle-
|
|
4
|
-
import { c as compareIds } from './bundle-
|
|
5
|
-
import { p as pubSubTopics } from './bundle-
|
|
2
|
+
import { U as UserProfileProvider } from './bundle-Cr5JfXnd.js';
|
|
3
|
+
import { _ as __assign, c as __spreadArray, a as __awaiter, b as __generator } from './bundle-DRWNB6So.js';
|
|
4
|
+
import { c as compareIds } from './bundle-BWCUNJoA.js';
|
|
5
|
+
import { p as pubSubTopics } from './bundle-BmJsj1DE.js';
|
|
6
6
|
import { ChannelType } from '@sendbird/chat';
|
|
7
7
|
import { OpenChannelHandler } from '@sendbird/chat/openChannel';
|
|
8
|
-
import { u as uuidv4 } from './bundle-
|
|
9
|
-
import { c as compressImages } from './bundle-
|
|
8
|
+
import { u as uuidv4 } from './bundle-oKdCuyHB.js';
|
|
9
|
+
import { c as compressImages } from './bundle-BGCeRCjz.js';
|
|
10
10
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
11
11
|
import { useGlobalModalContext } from '../hooks/useModal.js';
|
|
12
|
-
import { u as useLocalization } from './bundle-
|
|
13
|
-
import { O as ONE_MiB } from './bundle-
|
|
14
|
-
import { c as ModalFooter } from './bundle-
|
|
15
|
-
import './bundle-
|
|
12
|
+
import { u as useLocalization } from './bundle-ByOL8d1Y.js';
|
|
13
|
+
import { O as ONE_MiB } from './bundle-CypLTOy5.js';
|
|
14
|
+
import { c as ModalFooter } from './bundle-DURANzV-.js';
|
|
15
|
+
import './bundle-C9k4XREr.js';
|
|
16
16
|
import { ButtonTypes } from '../ui/Button.js';
|
|
17
17
|
|
|
18
18
|
var shouldFetchMore = function (messageLength, maxMessages) {
|
|
@@ -997,9 +997,10 @@ function useFileUploadCallback(_a, _b) {
|
|
|
997
997
|
messagesDispatcher({
|
|
998
998
|
type: SENDING_MESSAGE_START,
|
|
999
999
|
payload: {
|
|
1000
|
+
// TODO: remove data pollution
|
|
1000
1001
|
message: __assign(__assign({}, pendingMessage), { url: URL.createObjectURL(file_1),
|
|
1001
1002
|
// pending thumbnail message seems to be failed
|
|
1002
|
-
requestState: 'pending' }),
|
|
1003
|
+
requestState: 'pending', isUserMessage: pendingMessage.isUserMessage, isFileMessage: pendingMessage.isFileMessage, isAdminMessage: pendingMessage.isAdminMessage, isMultipleFilesMessage: pendingMessage.isMultipleFilesMessage }),
|
|
1003
1004
|
channel: currentOpenChannel,
|
|
1004
1005
|
},
|
|
1005
1006
|
});
|
|
@@ -1362,4 +1363,4 @@ var OpenChannelProvider = function (props) {
|
|
|
1362
1363
|
var useOpenChannelContext = function () { return React__default.useContext(OpenChannelContext); };
|
|
1363
1364
|
|
|
1364
1365
|
export { OpenChannelProvider as O, kFormatter as k, useOpenChannelContext as u };
|
|
1365
|
-
//# sourceMappingURL=bundle-
|
|
1366
|
+
//# sourceMappingURL=bundle-DAf6h8hw.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-DAf6h8hw.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-DChW5Z3e.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-DIQmyyii.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -8,4 +8,4 @@ var ThreadReplySelectType;
|
|
|
8
8
|
})(ThreadReplySelectType || (ThreadReplySelectType = {}));
|
|
9
9
|
|
|
10
10
|
export { MAX_USER_MENTION_COUNT as M, ThreadReplySelectType as T, USER_MENTION_TEMP_CHAR as U, MAX_USER_SUGGESTION_COUNT as a };
|
|
11
|
-
//# sourceMappingURL=bundle-
|
|
11
|
+
//# sourceMappingURL=bundle-DKTKyX5B.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-DKTKyX5B.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as requiredArgs, t as toDate } from './bundle-
|
|
1
|
+
import { r as requiredArgs, t as toDate } from './bundle-BCNLSTzO.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* @name startOfDay
|
|
@@ -61,4 +61,4 @@ function isSameDay(dirtyDateLeft, dirtyDateRight) {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
export { isSameDay as i };
|
|
64
|
-
//# sourceMappingURL=bundle-
|
|
64
|
+
//# sourceMappingURL=bundle-DLC9d0SK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-DLC9d0SK.js","sources":["../../node_modules/date-fns/esm/startOfDay/index.js","../../node_modules/date-fns/esm/isSameDay/index.js"],"sourcesContent":["import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfDay\n * @category Day Helpers\n * @summary Return the start of a day for the given date.\n *\n * @description\n * Return the start of a day for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a day\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a day for 2 September 2014 11:55:00:\n * const result = startOfDay(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 02 2014 00:00:00\n */\nexport default function startOfDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import startOfDay from \"../startOfDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameDay\n * @category Day Helpers\n * @summary Are the given dates in the same day (and year and month)?\n *\n * @description\n * Are the given dates in the same day (and year and month)?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same day (and year and month)\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 4 September 06:00:00 and 4 September 18:00:00 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4, 6, 0), new Date(2014, 8, 4, 18, 0))\n * //=> true\n *\n * @example\n * // Are 4 September and 4 October in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2014, 9, 4))\n * //=> false\n *\n * @example\n * // Are 4 September, 2014 and 4 September, 2015 in the same day?\n * const result = isSameDay(new Date(2014, 8, 4), new Date(2015, 8, 4))\n * //=> false\n */\nexport default function isSameDay(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeftStartOfDay = startOfDay(dirtyDateLeft);\n var dateRightStartOfDay = startOfDay(dirtyDateRight);\n return dateLeftStartOfDay.getTime() === dateRightStartOfDay.getTime();\n}"],"names":[],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,UAAU,CAAC,SAAS,EAAE;AAC9C,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAC5B,EAAE,OAAO,IAAI,CAAC;AACd;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,SAAS,CAAC,aAAa,EAAE,cAAc,EAAE;AACjE,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,kBAAkB,GAAG,UAAU,CAAC,aAAa,CAAC,CAAC;AACrD,EAAE,IAAI,mBAAmB,GAAG,UAAU,CAAC,cAAc,CAAC,CAAC;AACvD,EAAE,OAAO,kBAAkB,CAAC,OAAO,EAAE,KAAK,mBAAmB,CAAC,OAAO,EAAE,CAAC;AACxE;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-DOE8EVWg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-DR0N9Re_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -106,4 +106,4 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
106
106
|
};
|
|
107
107
|
|
|
108
108
|
export { __assign as _, __awaiter as a, __generator as b, __spreadArray as c, __rest as d, __extends as e };
|
|
109
|
-
//# sourceMappingURL=bundle-
|
|
109
|
+
//# sourceMappingURL=bundle-DRWNB6So.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-DRWNB6So.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as __spreadArray } from './bundle-
|
|
1
|
+
import { c as __spreadArray } from './bundle-DRWNB6So.js';
|
|
2
2
|
import React__default, { useContext } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
|
-
import { n as noop } from './bundle-
|
|
5
|
-
import { L as LocalizationContext } from './bundle-
|
|
6
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
4
|
+
import { n as noop } from './bundle-B-rlaXWu.js';
|
|
5
|
+
import { L as LocalizationContext } from './bundle-ByOL8d1Y.js';
|
|
6
|
+
import { u as useMediaQueryContext } from './bundle-CfCfA_eS.js';
|
|
7
7
|
import IconButton from '../ui/IconButton.js';
|
|
8
8
|
import Button, { ButtonTypes } from '../ui/Button.js';
|
|
9
9
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
10
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
10
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-C9k4XREr.js';
|
|
11
11
|
|
|
12
12
|
// simple component to be used as modal root
|
|
13
13
|
var MODAL_ROOT = 'sendbird-modal-root';
|
|
@@ -62,4 +62,4 @@ function Modal(props) {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
export { Modal as M, MODAL_ROOT as a, ModalRoot as b, ModalFooter as c, ModalHeader as d, ModalBody as e };
|
|
65
|
-
//# sourceMappingURL=bundle-
|
|
65
|
+
//# sourceMappingURL=bundle-DURANzV-.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-DURANzV-.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { createPortal } from 'react-dom';
|
|
3
|
-
import { A as Avatar } from './bundle-
|
|
3
|
+
import { A as Avatar } from './bundle-DiKCx9T0.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
5
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
6
|
-
import { h as isSupportedFileView, j as isVideo, k as isImage } from './bundle-
|
|
5
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-C9k4XREr.js';
|
|
6
|
+
import { h as isSupportedFileView, j as isVideo, k as isImage } from './bundle-CRJQQ2Pt.js';
|
|
7
7
|
import '../hooks/useModal.js';
|
|
8
8
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
9
|
-
import { a as MODAL_ROOT } from './bundle-
|
|
9
|
+
import { a as MODAL_ROOT } from './bundle-DURANzV-.js';
|
|
10
10
|
|
|
11
11
|
var FileViewerView = function (_a) {
|
|
12
|
-
var message = _a.message, onCancel = _a.onCancel, deleteMessage = _a.deleteMessage;
|
|
12
|
+
var message = _a.message, onCancel = _a.onCancel, deleteMessage = _a.deleteMessage, onDownloadClick = _a.onDownloadClick;
|
|
13
13
|
var sender = message.sender, type = message.type, url = message.url, _b = message.name, name = _b === void 0 ? '' : _b, threadInfo = message.threadInfo;
|
|
14
14
|
var profileUrl = sender.profileUrl, nickname = sender.nickname, userId = sender.userId;
|
|
15
15
|
var config = useSendbirdStateContext().config;
|
|
16
|
-
return createPortal(React__default.createElement(FileViewerComponent, { profileUrl: profileUrl, nickname: nickname, type: type, url: url, name: name, onCancel: onCancel, onDelete: function () { return deleteMessage(message).then(function () { return onCancel(); }); }, isByMe: config.userId === userId, disableDelete: (threadInfo === null || threadInfo === void 0 ? void 0 : threadInfo.replyCount) > 0 }), document.getElementById(MODAL_ROOT));
|
|
16
|
+
return createPortal(React__default.createElement(FileViewerComponent, { profileUrl: profileUrl, nickname: nickname, type: type, url: url, name: name, onCancel: onCancel, onDelete: function () { return deleteMessage(message).then(function () { return onCancel(); }); }, isByMe: config.userId === userId, disableDelete: (threadInfo === null || threadInfo === void 0 ? void 0 : threadInfo.replyCount) > 0, onDownloadClick: onDownloadClick }), document.getElementById(MODAL_ROOT));
|
|
17
17
|
};
|
|
18
18
|
var FileViewerComponent = function (_a) {
|
|
19
19
|
var
|
|
@@ -22,7 +22,7 @@ var FileViewerComponent = function (_a) {
|
|
|
22
22
|
// file
|
|
23
23
|
name = _a.name, type = _a.type, url = _a.url,
|
|
24
24
|
// others
|
|
25
|
-
isByMe = _a.isByMe, onCancel = _a.onCancel, onDelete = _a.onDelete, disableDelete = _a.disableDelete;
|
|
25
|
+
isByMe = _a.isByMe, onCancel = _a.onCancel, onDelete = _a.onDelete, disableDelete = _a.disableDelete, onDownloadClick = _a.onDownloadClick;
|
|
26
26
|
return (React__default.createElement("div", { className: "sendbird-fileviewer" },
|
|
27
27
|
React__default.createElement("div", { className: "sendbird-fileviewer__header" },
|
|
28
28
|
React__default.createElement("div", { className: "sendbird-fileviewer__header__left" },
|
|
@@ -32,7 +32,7 @@ var FileViewerComponent = function (_a) {
|
|
|
32
32
|
React__default.createElement(Label, { className: "sendbird-fileviewer__header__left__sender-name", type: LabelTypography.BODY_1, color: LabelColors.ONBACKGROUND_2 }, nickname)),
|
|
33
33
|
React__default.createElement("div", { className: "sendbird-fileviewer__header__right" },
|
|
34
34
|
isSupportedFileView(type) && (React__default.createElement("div", { className: "sendbird-fileviewer__header__right__actions" },
|
|
35
|
-
React__default.createElement("a", { className: "sendbird-fileviewer__header__right__actions__download", rel: "noopener noreferrer", href: url, target: "_blank" },
|
|
35
|
+
React__default.createElement("a", { className: "sendbird-fileviewer__header__right__actions__download", rel: "noopener noreferrer", href: url, target: "_blank", onClick: onDownloadClick },
|
|
36
36
|
React__default.createElement(Icon, { type: IconTypes.DOWNLOAD, fillColor: IconColors.ON_BACKGROUND_1, height: "24px", width: "24px" })),
|
|
37
37
|
onDelete && isByMe && (React__default.createElement("div", { className: "sendbird-fileviewer__header__right__actions__delete" },
|
|
38
38
|
React__default.createElement(Icon, { className: disableDelete ? 'disabled' : '', type: IconTypes.DELETE, fillColor: disableDelete ? IconColors.GRAY : IconColors.ON_BACKGROUND_1, height: "24px", width: "24px", onClick: function () {
|
|
@@ -51,4 +51,4 @@ var FileViewerComponent = function (_a) {
|
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
export { FileViewerView as F };
|
|
54
|
-
//# sourceMappingURL=bundle-
|
|
54
|
+
//# sourceMappingURL=bundle-DYRfOZJn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-DYRfOZJn.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { c as __spreadArray, _ as __assign } from './bundle-
|
|
1
|
+
import { c as __spreadArray, _ as __assign } from './bundle-DRWNB6So.js';
|
|
2
2
|
import React__default, { useState, useEffect, useRef, useLayoutEffect, useMemo } from 'react';
|
|
3
|
-
import { f as format } from './bundle-
|
|
4
|
-
import { u as useLocalization } from './bundle-
|
|
3
|
+
import { f as format } from './bundle-BCNLSTzO.js';
|
|
4
|
+
import { u as useLocalization } from './bundle-ByOL8d1Y.js';
|
|
5
5
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
6
|
-
import { M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from './bundle-
|
|
7
|
-
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-
|
|
6
|
+
import { M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from './bundle-DKTKyX5B.js';
|
|
7
|
+
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-CwodDxvD.js';
|
|
8
8
|
import { useDirtyGetMentions } from '../Message/hooks/useDirtyGetMentions.js';
|
|
9
|
-
import { w as getClassName, g as getSuggestedReplies } from './bundle-
|
|
9
|
+
import { w as getClassName, g as getSuggestedReplies } from './bundle-CRJQQ2Pt.js';
|
|
10
10
|
import DateSeparator from '../ui/DateSeparator.js';
|
|
11
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
11
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-C9k4XREr.js';
|
|
12
12
|
import MessageInput from '../ui/MessageInput.js';
|
|
13
|
-
import { M as MessageInputKeys } from './bundle-
|
|
13
|
+
import { M as MessageInputKeys } from './bundle-C4E6x1yH.js';
|
|
14
14
|
import MessageContent from '../ui/MessageContent.js';
|
|
15
15
|
import SuggestedReplies from '../GroupChannel/components/SuggestedReplies.js';
|
|
16
|
-
import { S as SuggestedMentionListView } from './bundle-
|
|
16
|
+
import { S as SuggestedMentionListView } from './bundle-B4gJwLnb.js';
|
|
17
|
+
import { d as deleteNullish } from './bundle-B-rlaXWu.js';
|
|
17
18
|
|
|
18
19
|
var useDidMountEffect = function (func, deps) {
|
|
19
20
|
var _a = useState(false), didMount = _a[0], setDidmount = _a[1];
|
|
@@ -32,24 +33,25 @@ var MessageView = function (props) {
|
|
|
32
33
|
var _a, _b;
|
|
33
34
|
var
|
|
34
35
|
// MessageProps
|
|
35
|
-
message = props.message,
|
|
36
|
+
message = props.message, children = props.children, hasSeparator = props.hasSeparator, chainTop = props.chainTop, chainBottom = props.chainBottom, handleScroll = props.handleScroll,
|
|
36
37
|
// MessageViewProps
|
|
37
|
-
channel = props.channel, emojiContainer = props.emojiContainer, editInputDisabled = props.editInputDisabled, shouldRenderSuggestedReplies = props.shouldRenderSuggestedReplies, isReactionEnabled = props.isReactionEnabled, replyType = props.replyType, threadReplySelectType = props.threadReplySelectType, nicknamesMap = props.nicknamesMap,
|
|
38
|
-
var
|
|
38
|
+
channel = props.channel, emojiContainer = props.emojiContainer, editInputDisabled = props.editInputDisabled, shouldRenderSuggestedReplies = props.shouldRenderSuggestedReplies, isReactionEnabled = props.isReactionEnabled, replyType = props.replyType, threadReplySelectType = props.threadReplySelectType, nicknamesMap = props.nicknamesMap, scrollToMessage = props.scrollToMessage, toggleReaction = props.toggleReaction, setQuoteMessage = props.setQuoteMessage, onQuoteMessageClick = props.onQuoteMessageClick, onReplyInThreadClick = props.onReplyInThreadClick, onBeforeDownloadFileMessage = props.onBeforeDownloadFileMessage, sendUserMessage = props.sendUserMessage, updateUserMessage = props.updateUserMessage, resendMessage = props.resendMessage, deleteMessage = props.deleteMessage, setAnimatedMessageId = props.setAnimatedMessageId, animatedMessageId = props.animatedMessageId, onMessageAnimated = props.onMessageAnimated, _c = props.usedInLegacy, usedInLegacy = _c === void 0 ? true : _c;
|
|
39
|
+
var _d = deleteNullish(props), renderUserMentionItem = _d.renderUserMentionItem, renderMessage = _d.renderMessage, _e = _d.renderMessageContent, renderMessageContent = _e === void 0 ? function (props) { return React__default.createElement(MessageContent, __assign({}, props)); } : _e, _f = _d.renderSuggestedReplies, renderSuggestedReplies = _f === void 0 ? function (props) { return React__default.createElement(SuggestedReplies, __assign({}, props)); } : _f, renderCustomSeparator = _d.renderCustomSeparator, renderEditInput = _d.renderEditInput, renderFileViewer = _d.renderFileViewer, renderRemoveMessageModal = _d.renderRemoveMessageModal;
|
|
40
|
+
var _g = useLocalization(), dateLocale = _g.dateLocale, stringSet = _g.stringSet;
|
|
39
41
|
var globalStore = useSendbirdStateContext();
|
|
40
|
-
var
|
|
42
|
+
var _h = globalStore.config, userId = _h.userId, isOnline = _h.isOnline, isMentionEnabled = _h.isMentionEnabled, userMention = _h.userMention, logger = _h.logger;
|
|
41
43
|
var maxUserMentionCount = (userMention === null || userMention === void 0 ? void 0 : userMention.maxMentionCount) || MAX_USER_MENTION_COUNT;
|
|
42
44
|
var maxUserSuggestionCount = (userMention === null || userMention === void 0 ? void 0 : userMention.maxSuggestionCount) || MAX_USER_SUGGESTION_COUNT;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
45
|
-
var
|
|
46
|
-
var
|
|
47
|
-
var
|
|
48
|
-
var
|
|
49
|
-
var
|
|
50
|
-
var
|
|
51
|
-
var
|
|
52
|
-
var
|
|
45
|
+
var _j = useState(false), showEdit = _j[0], setShowEdit = _j[1];
|
|
46
|
+
var _k = useState(false), showRemove = _k[0], setShowRemove = _k[1];
|
|
47
|
+
var _l = useState(false), showFileViewer = _l[0], setShowFileViewer = _l[1];
|
|
48
|
+
var _m = useState(false), isAnimated = _m[0], setIsAnimated = _m[1];
|
|
49
|
+
var _o = useState(''), mentionNickname = _o[0], setMentionNickname = _o[1];
|
|
50
|
+
var _p = useState([]), mentionedUsers = _p[0], setMentionedUsers = _p[1];
|
|
51
|
+
var _q = useState([]), mentionedUserIds = _q[0], setMentionedUserIds = _q[1];
|
|
52
|
+
var _r = useState(null), messageInputEvent = _r[0], setMessageInputEvent = _r[1];
|
|
53
|
+
var _s = useState(null), selectedUser = _s[0], setSelectedUser = _s[1];
|
|
54
|
+
var _t = useState([]), mentionSuggestedUsers = _t[0], setMentionSuggestedUsers = _t[1];
|
|
53
55
|
var editMessageInputRef = useRef(null);
|
|
54
56
|
var messageScrollRef = useRef(null);
|
|
55
57
|
var displaySuggestedMentionList = isOnline && isMentionEnabled && mentionNickname.length > 0 && !isDisabledBecauseFrozen(channel) && !isDisabledBecauseMuted(channel);
|
|
@@ -69,7 +71,7 @@ var MessageView = function (props) {
|
|
|
69
71
|
}));
|
|
70
72
|
}, [mentionedUserIds]);
|
|
71
73
|
/**
|
|
72
|
-
* Move the
|
|
74
|
+
* Move the message list scroll
|
|
73
75
|
* when the message's height is changed by `showEdit` OR `message.reactions`
|
|
74
76
|
*/
|
|
75
77
|
useDidMountEffect(function () {
|
|
@@ -134,7 +136,8 @@ var MessageView = function (props) {
|
|
|
134
136
|
setQuoteMessage: setQuoteMessage,
|
|
135
137
|
onReplyInThread: onReplyInThreadClick,
|
|
136
138
|
onQuoteMessageClick: onQuoteMessageClick,
|
|
137
|
-
onMessageHeightChange:
|
|
139
|
+
onMessageHeightChange: handleScroll,
|
|
140
|
+
onBeforeDownloadFileMessage: onBeforeDownloadFileMessage,
|
|
138
141
|
}),
|
|
139
142
|
shouldRenderSuggestedReplies && renderSuggestedReplies({
|
|
140
143
|
replyOptions: getSuggestedReplies(message),
|
|
@@ -213,4 +216,4 @@ var MessageView = function (props) {
|
|
|
213
216
|
};
|
|
214
217
|
|
|
215
218
|
export { MessageView as M };
|
|
216
|
-
//# sourceMappingURL=bundle-
|
|
219
|
+
//# sourceMappingURL=bundle-Dan3OYIf.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Dan3OYIf.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|