@sendbird/uikit-react 3.8.0 → 3.8.2
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 +59 -59
- package/CHANGELOG.md +56 -0
- package/Channel/components/ChannelHeader.js +24 -24
- package/Channel/components/ChannelUI.js +55 -55
- package/Channel/components/FileViewer.js +23 -23
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +53 -53
- package/Channel/components/MessageInput.js +35 -35
- package/Channel/components/MessageList.js +52 -52
- package/Channel/components/RemoveMessageModal.js +23 -23
- package/Channel/components/SuggestedMentionList.js +84 -48
- package/Channel/components/SuggestedMentionList.js.map +1 -1
- package/Channel/components/TypingIndicator.js +19 -19
- package/Channel/components/UnreadCount.js +9 -9
- package/Channel/context.js +16 -16
- package/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/Channel/utils/compareMessagesForGrouping.js +6 -6
- package/Channel/utils/getMessagePartsInfo.js +7 -7
- package/Channel.js +55 -55
- package/ChannelList/components/AddChannel.js +17 -17
- package/ChannelList/components/ChannelListHeader.js +8 -8
- package/ChannelList/components/ChannelListUI.js +33 -33
- package/ChannelList/components/ChannelPreview.js +31 -31
- package/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/ChannelList/context.js +9 -9
- package/ChannelList.js +33 -33
- package/ChannelSettings/components/ChannelProfile.js +13 -13
- package/ChannelSettings/components/ChannelSettingsUI.js +18 -18
- package/ChannelSettings/components/EditDetailsModal.js +13 -13
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +16 -16
- package/ChannelSettings/components/UserListItem.js +12 -12
- package/ChannelSettings/components/UserPanel.js +15 -15
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +18 -18
- package/CreateChannel/components/CreateChannelUI.js +15 -15
- package/CreateChannel/components/InviteUsers.js +15 -15
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +15 -15
- 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/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 +14 -14
- package/OpenChannel/components/OpenChannelInput.js +21 -21
- package/OpenChannel/components/OpenChannelMessage.js +32 -32
- package/OpenChannel/components/OpenChannelMessageList.js +34 -34
- package/OpenChannel/components/OpenChannelUI.js +34 -34
- package/OpenChannel/context.js +8 -8
- package/OpenChannel.js +34 -34
- 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 +14 -14
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +18 -18
- package/OpenChannelSettings/components/OperatorUI.js +18 -18
- package/OpenChannelSettings/components/ParticipantUI.js +16 -16
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +18 -18
- package/SendbirdProvider.js +24 -33
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +39 -39
- package/Thread/components/ParentMessageInfoItem.js +27 -26
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +43 -43
- package/Thread/components/ThreadListItem.js +45 -45
- package/Thread/components/ThreadMessageInput.js +35 -35
- package/Thread/components/ThreadUI.js +47 -47
- package/Thread/context.js +69 -49
- package/Thread/context.js.map +1 -1
- package/Thread.js +46 -46
- 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-dLuEa16_.js → bundle-0--XgUA7.js} +3 -3
- package/chunks/{bundle-dLuEa16_.js.map → bundle-0--XgUA7.js.map} +1 -1
- package/chunks/{bundle-bJrywUB-.js → bundle-0QcaQ8yA.js} +10 -10
- package/chunks/{bundle-TZXZa-F1.js.map → bundle-0QcaQ8yA.js.map} +1 -1
- package/chunks/{bundle-v0OWADVv.js → bundle-1O7rPYFy.js} +3 -3
- package/chunks/bundle-1O7rPYFy.js.map +1 -0
- package/chunks/{bundle-H2I60B2B.js → bundle-2zaLibl-.js} +2 -2
- package/chunks/bundle-2zaLibl-.js.map +1 -0
- package/chunks/{bundle-Q8dtkDOa.js → bundle-4yQvKOnq.js} +1 -1
- package/chunks/bundle-4yQvKOnq.js.map +1 -0
- package/chunks/{bundle-_YRJ7d9_.js → bundle-50blTGht.js} +26 -27
- package/chunks/{bundle-_YRJ7d9_.js.map → bundle-50blTGht.js.map} +1 -1
- package/chunks/{bundle-ubky9D9H.js → bundle-5WxplyP9.js} +1 -1
- package/chunks/bundle-5WxplyP9.js.map +1 -0
- package/chunks/{bundle-8zJE_DCx.js → bundle-5asq-E-v.js} +6 -6
- package/chunks/bundle-5asq-E-v.js.map +1 -0
- package/chunks/{bundle-NCqCEOuY.js → bundle-6Opy_RV-.js} +4 -4
- package/chunks/{bundle-NCqCEOuY.js.map → bundle-6Opy_RV-.js.map} +1 -1
- package/chunks/{bundle-YEttY5xG.js → bundle-8Ct4JuXG.js} +1 -1
- package/chunks/bundle-8Ct4JuXG.js.map +1 -0
- package/chunks/{bundle-M2ljBW6p.js → bundle-9AVOtanU.js} +4 -4
- package/chunks/bundle-9AVOtanU.js.map +1 -0
- package/chunks/{bundle-vnmGzWMt.js → bundle-9YazFOHk.js} +4 -4
- package/chunks/{bundle-vnmGzWMt.js.map → bundle-9YazFOHk.js.map} +1 -1
- package/chunks/{bundle-LUte5Kb5.js → bundle-BgGUA_Do.js} +91 -166
- package/chunks/{bundle-LUte5Kb5.js.map → bundle-BgGUA_Do.js.map} +1 -1
- package/chunks/{bundle-cviP1IM2.js → bundle-EaGyVrR8.js} +3 -3
- package/chunks/{bundle-cviP1IM2.js.map → bundle-EaGyVrR8.js.map} +1 -1
- package/chunks/{bundle-ZmvX8uZ5.js → bundle-EoW7JC-6.js} +5 -17
- package/chunks/bundle-EoW7JC-6.js.map +1 -0
- package/chunks/bundle-Ey2KFn-R.js +42 -0
- package/chunks/bundle-Ey2KFn-R.js.map +1 -0
- package/chunks/{bundle-FTgSGiKe.js → bundle-FxBVAeu9.js} +1 -1
- package/chunks/{bundle-FTgSGiKe.js.map → bundle-FxBVAeu9.js.map} +1 -1
- package/chunks/{bundle-qst5L6aH.js → bundle-GaBLtZQZ.js} +5 -3
- package/chunks/bundle-GaBLtZQZ.js.map +1 -0
- package/chunks/{bundle-btDN-R-c.js → bundle-HTP_W562.js} +3 -3
- package/chunks/bundle-HTP_W562.js.map +1 -0
- package/chunks/{bundle-hKtwSqbO.js → bundle-HUCZoqot.js} +1 -1
- package/chunks/{bundle-hKtwSqbO.js.map → bundle-HUCZoqot.js.map} +1 -1
- package/chunks/{bundle-khKXutc3.js → bundle-I0NSP9ei.js} +1 -1
- package/chunks/bundle-I0NSP9ei.js.map +1 -0
- package/chunks/{bundle-5yKxJk_M.js → bundle-JGL7ecyE.js} +1 -1
- package/chunks/{bundle-5yKxJk_M.js.map → bundle-JGL7ecyE.js.map} +1 -1
- package/chunks/{bundle-3mdR5HDw.js → bundle-JJDjO0bj.js} +2 -2
- package/chunks/{bundle-3mdR5HDw.js.map → bundle-JJDjO0bj.js.map} +1 -1
- package/chunks/{bundle-rYAZn3lj.js → bundle-KkDaqYo6.js} +2 -2
- package/chunks/{bundle-rYAZn3lj.js.map → bundle-KkDaqYo6.js.map} +1 -1
- package/chunks/{bundle-_qiqf8_l.js → bundle-L1jL1HlF.js} +1 -1
- package/chunks/bundle-L1jL1HlF.js.map +1 -0
- package/chunks/{bundle-bofQNMJb.js → bundle-LutukB6f.js} +1 -1
- package/chunks/bundle-LutukB6f.js.map +1 -0
- package/chunks/{bundle-sOjc_nNQ.js → bundle-NRuB0VyT.js} +1 -1
- package/chunks/bundle-NRuB0VyT.js.map +1 -0
- package/chunks/{bundle-ftY5T58h.js → bundle-RXyEKXFG.js} +4 -4
- package/chunks/{bundle-ftY5T58h.js.map → bundle-RXyEKXFG.js.map} +1 -1
- package/chunks/{bundle-EHReigfD.js → bundle-UW-TqfsF.js} +4 -4
- package/chunks/{bundle-EHReigfD.js.map → bundle-UW-TqfsF.js.map} +1 -1
- package/chunks/{bundle-mL_86Tua.js → bundle-UvPIovuO.js} +1 -1
- package/chunks/bundle-UvPIovuO.js.map +1 -0
- package/chunks/{bundle-ANPmLOz8.js → bundle-WJ4T7o4h.js} +4 -4
- package/chunks/{bundle-ANPmLOz8.js.map → bundle-WJ4T7o4h.js.map} +1 -1
- package/chunks/{bundle-kp1MMNMf.js → bundle-WiQweU5U.js} +1 -1
- package/chunks/bundle-WiQweU5U.js.map +1 -0
- package/chunks/{bundle-PgBVk3py.js → bundle-Zl59BqjG.js} +12 -12
- package/chunks/{bundle-PgBVk3py.js.map → bundle-Zl59BqjG.js.map} +1 -1
- package/chunks/{bundle-zoxfINxQ.js → bundle-atKtJDZx.js} +3 -3
- package/chunks/bundle-atKtJDZx.js.map +1 -0
- package/chunks/bundle-cTKDcBXH.js +77 -0
- package/chunks/bundle-cTKDcBXH.js.map +1 -0
- package/chunks/{bundle--F_1NyoU.js → bundle-dGdUFeGw.js} +1 -1
- package/chunks/bundle-dGdUFeGw.js.map +1 -0
- package/chunks/{bundle-v9a1_z0P.js → bundle-fBRojj0w.js} +1 -1
- package/chunks/bundle-fBRojj0w.js.map +1 -0
- package/chunks/{bundle-WCTKBopn.js → bundle-fRhlDZge.js} +2 -2
- package/chunks/bundle-fRhlDZge.js.map +1 -0
- package/chunks/{bundle-53PRRrlp.js → bundle-fiU7Tho8.js} +3 -3
- package/chunks/{bundle-53PRRrlp.js.map → bundle-fiU7Tho8.js.map} +1 -1
- package/chunks/{bundle-Zl1hrCWc.js → bundle-grxc9ClY.js} +4 -4
- package/chunks/bundle-grxc9ClY.js.map +1 -0
- package/chunks/{bundle-r_VxbiS3.js → bundle-iI1ssAAJ.js} +1 -1
- package/chunks/bundle-iI1ssAAJ.js.map +1 -0
- package/chunks/{bundle-zLBuOeRY.js → bundle-iTeulylJ.js} +7 -7
- package/chunks/bundle-iTeulylJ.js.map +1 -0
- package/chunks/{bundle-5iuNyt5M.js → bundle-j2oaAFR4.js} +1 -1
- package/chunks/{bundle-5iuNyt5M.js.map → bundle-j2oaAFR4.js.map} +1 -1
- package/chunks/{bundle-hjECCUV3.js → bundle-kdRMkp9s.js} +2 -2
- package/chunks/bundle-kdRMkp9s.js.map +1 -0
- package/chunks/{bundle-rLxuFUa1.js → bundle-mg_7Exot.js} +5 -5
- package/chunks/bundle-mg_7Exot.js.map +1 -0
- package/chunks/{bundle-w2v7oZ9G.js → bundle-mjC4Frm5.js} +2 -2
- package/chunks/bundle-mjC4Frm5.js.map +1 -0
- package/chunks/{bundle-prRsVvhT.js → bundle-moPxtvhk.js} +2 -2
- package/chunks/{bundle-prRsVvhT.js.map → bundle-moPxtvhk.js.map} +1 -1
- package/chunks/{bundle-TZXZa-F1.js → bundle-n3JTobCF.js} +13 -19
- package/chunks/bundle-n3JTobCF.js.map +1 -0
- package/chunks/{bundle-x-4ukZm_.js → bundle-nB9Rk0Vg.js} +1 -1
- package/chunks/bundle-nB9Rk0Vg.js.map +1 -0
- package/chunks/{bundle-h3JIYRTG.js → bundle-o_MR5zP9.js} +2 -2
- package/chunks/{bundle-h3JIYRTG.js.map → bundle-o_MR5zP9.js.map} +1 -1
- package/chunks/{bundle-wMgBBDf9.js → bundle-qJVzRD5Y.js} +3 -3
- package/chunks/bundle-qJVzRD5Y.js.map +1 -0
- package/chunks/{bundle-9KsbryQI.js → bundle-qReOreYH.js} +1 -1
- package/chunks/{bundle-9KsbryQI.js.map → bundle-qReOreYH.js.map} +1 -1
- package/chunks/{bundle-1P01-roD.js → bundle-rYiLt_kr.js} +7 -7
- package/chunks/{bundle-1P01-roD.js.map → bundle-rYiLt_kr.js.map} +1 -1
- package/chunks/{bundle-AI8e02c3.js → bundle-sTNKynXj.js} +1 -1
- package/chunks/bundle-sTNKynXj.js.map +1 -0
- package/chunks/bundle-tR2Ipjel.js +353 -0
- package/{cjs/chunks/bundle-kBUglm2K.js.map → chunks/bundle-tR2Ipjel.js.map} +1 -1
- package/chunks/{bundle-w9T6A0ez.js → bundle-u_gMIDNK.js} +9 -9
- package/{cjs/chunks/bundle-4q81wd8X.js.map → chunks/bundle-u_gMIDNK.js.map} +1 -1
- package/chunks/{bundle-7FyFbzI4.js → bundle-ybonwZPt.js} +1 -1
- package/chunks/bundle-ybonwZPt.js.map +1 -0
- package/chunks/{bundle-mpeh7m6z.js → bundle-zL8um0im.js} +1 -1
- package/chunks/bundle-zL8um0im.js.map +1 -0
- package/chunks/{bundle-qunsoajv.js → bundle-zz-E8ZLu.js} +5 -5
- package/chunks/{bundle-qunsoajv.js.map → bundle-zz-E8ZLu.js.map} +1 -1
- package/cjs/App.js +59 -59
- package/cjs/Channel/components/ChannelHeader.js +24 -24
- package/cjs/Channel/components/ChannelUI.js +55 -55
- package/cjs/Channel/components/FileViewer.js +24 -24
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +53 -53
- package/cjs/Channel/components/MessageInput.js +35 -35
- package/cjs/Channel/components/MessageList.js +52 -52
- package/cjs/Channel/components/RemoveMessageModal.js +23 -23
- package/cjs/Channel/components/SuggestedMentionList.js +85 -49
- package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/Channel/components/TypingIndicator.js +19 -19
- package/cjs/Channel/components/UnreadCount.js +9 -9
- package/cjs/Channel/context.js +16 -16
- 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 +55 -55
- package/cjs/ChannelList/components/AddChannel.js +17 -17
- package/cjs/ChannelList/components/ChannelListHeader.js +9 -9
- package/cjs/ChannelList/components/ChannelListUI.js +33 -33
- package/cjs/ChannelList/components/ChannelPreview.js +31 -31
- package/cjs/ChannelList/components/ChannelPreviewAction.js +15 -15
- package/cjs/ChannelList/context.js +9 -9
- package/cjs/ChannelList.js +33 -33
- package/cjs/ChannelSettings/components/ChannelProfile.js +13 -13
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +18 -18
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +16 -16
- package/cjs/ChannelSettings/components/UserListItem.js +13 -13
- package/cjs/ChannelSettings/components/UserPanel.js +15 -15
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +18 -18
- package/cjs/CreateChannel/components/CreateChannelUI.js +15 -15
- package/cjs/CreateChannel/components/InviteUsers.js +15 -15
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +15 -15
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +12 -12
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +11 -11
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +13 -13
- package/cjs/EditUserProfile.js +12 -12
- 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 +15 -15
- package/cjs/OpenChannel/components/OpenChannelInput.js +21 -21
- package/cjs/OpenChannel/components/OpenChannelMessage.js +32 -32
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +34 -34
- package/cjs/OpenChannel/components/OpenChannelUI.js +34 -34
- package/cjs/OpenChannel/context.js +8 -8
- package/cjs/OpenChannel.js +34 -34
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +7 -7
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +14 -14
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +16 -16
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +14 -14
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +18 -18
- package/cjs/OpenChannelSettings/components/OperatorUI.js +18 -18
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +16 -16
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +18 -18
- package/cjs/SendbirdProvider.js +24 -33
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +40 -40
- package/cjs/Thread/components/ParentMessageInfoItem.js +27 -26
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +43 -43
- package/cjs/Thread/components/ThreadListItem.js +46 -46
- package/cjs/Thread/components/ThreadMessageInput.js +35 -35
- package/cjs/Thread/components/ThreadUI.js +47 -47
- package/cjs/Thread/context.js +77 -57
- package/cjs/Thread/context.js.map +1 -1
- package/cjs/Thread.js +46 -46
- 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-gMxOq93o.js → bundle--NEfAH1H.js} +1 -1
- package/cjs/chunks/bundle--NEfAH1H.js.map +1 -0
- package/cjs/chunks/{bundle-1yOirqug.js → bundle--OdfDOjY.js} +1 -1
- package/cjs/chunks/bundle--OdfDOjY.js.map +1 -0
- package/cjs/chunks/bundle-03qc56fX.js +81 -0
- package/cjs/chunks/bundle-03qc56fX.js.map +1 -0
- package/cjs/chunks/{bundle-iwsbhMUN.js → bundle-0ugulztA.js} +4 -4
- package/cjs/chunks/bundle-0ugulztA.js.map +1 -0
- package/cjs/chunks/{bundle-6ziaqiUd.js → bundle-1Rk5zlYY.js} +3 -3
- package/cjs/chunks/bundle-1Rk5zlYY.js.map +1 -0
- package/cjs/chunks/{bundle-41ZfOrRZ.js → bundle-1SeNKVYf.js} +4 -4
- package/cjs/chunks/{bundle-41ZfOrRZ.js.map → bundle-1SeNKVYf.js.map} +1 -1
- package/cjs/chunks/{bundle-hK4x7nmG.js → bundle-2s7rxLn3.js} +1 -1
- package/cjs/chunks/{bundle-hK4x7nmG.js.map → bundle-2s7rxLn3.js.map} +1 -1
- package/cjs/chunks/{bundle-QmSa90PC.js → bundle-3AvVQDMo.js} +3 -3
- package/cjs/chunks/bundle-3AvVQDMo.js.map +1 -0
- package/cjs/chunks/{bundle-lii4Ueh3.js → bundle-3PJj-XfK.js} +1 -1
- package/cjs/chunks/bundle-3PJj-XfK.js.map +1 -0
- package/cjs/chunks/{bundle-4DATo50q.js → bundle-4NrBnGEN.js} +95 -170
- package/cjs/chunks/{bundle-4DATo50q.js.map → bundle-4NrBnGEN.js.map} +1 -1
- package/cjs/chunks/{bundle-gS0bojlA.js → bundle-4ajshWV-.js} +1 -1
- package/cjs/chunks/bundle-4ajshWV-.js.map +1 -0
- package/cjs/chunks/{bundle-4q81wd8X.js → bundle-5SOWNViS.js} +4 -17
- package/{chunks/bundle-ZmvX8uZ5.js.map → cjs/chunks/bundle-5SOWNViS.js.map} +1 -1
- package/cjs/chunks/{bundle-UooP2IDU.js → bundle-6lAqYT4t.js} +5 -5
- package/cjs/chunks/bundle-6lAqYT4t.js.map +1 -0
- package/cjs/chunks/{bundle-tywVawyg.js → bundle-6upaSfL9.js} +3 -3
- package/cjs/chunks/bundle-6upaSfL9.js.map +1 -0
- package/cjs/chunks/{bundle-11ybpGNN.js → bundle-7kVSLQPz.js} +7 -7
- package/cjs/chunks/bundle-7kVSLQPz.js.map +1 -0
- package/cjs/chunks/{bundle-cttYM0DR.js → bundle-8YK4BV9m.js} +1 -1
- package/cjs/chunks/bundle-8YK4BV9m.js.map +1 -0
- package/cjs/chunks/{bundle-L9ushBZQ.js → bundle-9GSi_LkG.js} +1 -1
- package/cjs/chunks/bundle-9GSi_LkG.js.map +1 -0
- package/cjs/chunks/{bundle-YNHu-c84.js → bundle-DFBAN2Mi.js} +2 -2
- package/cjs/chunks/bundle-DFBAN2Mi.js.map +1 -0
- package/cjs/chunks/{bundle-B2MaAm21.js → bundle-DvBNc5Qi.js} +1 -1
- package/cjs/chunks/bundle-DvBNc5Qi.js.map +1 -0
- package/cjs/chunks/{bundle-p1cCW0sH.js → bundle-GJqVurdA.js} +3 -3
- package/cjs/chunks/bundle-GJqVurdA.js.map +1 -0
- package/cjs/chunks/{bundle-BN7IOLFq.js → bundle-IZeqjgE7.js} +2 -2
- package/cjs/chunks/bundle-IZeqjgE7.js.map +1 -0
- package/cjs/chunks/{bundle-DZeKHvMp.js → bundle-IpMpyY9U.js} +6 -6
- package/cjs/chunks/bundle-IpMpyY9U.js.map +1 -0
- package/cjs/chunks/{bundle-Y9TkHVI5.js → bundle-K0D5qG0j.js} +1 -1
- package/cjs/chunks/bundle-K0D5qG0j.js.map +1 -0
- package/cjs/chunks/{bundle-28p7K0N-.js → bundle-KQyVyq1q.js} +2 -2
- package/cjs/chunks/{bundle-28p7K0N-.js.map → bundle-KQyVyq1q.js.map} +1 -1
- package/cjs/chunks/{bundle-6o4fw0w0.js → bundle-L6ZM4yRd.js} +12 -18
- package/{chunks/bundle-Ael7hqI7.js.map → cjs/chunks/bundle-L6ZM4yRd.js.map} +1 -1
- package/cjs/chunks/{bundle-CUP2x37z.js → bundle-M4KuiFU1.js} +3 -3
- package/cjs/chunks/{bundle-CUP2x37z.js.map → bundle-M4KuiFU1.js.map} +1 -1
- package/cjs/chunks/{bundle-RaQV-Bpr.js → bundle-NS_si8Av.js} +1 -1
- package/cjs/chunks/bundle-NS_si8Av.js.map +1 -0
- package/cjs/chunks/{bundle-4rFcKXQa.js → bundle-NXDlGjOm.js} +2 -2
- package/cjs/chunks/{bundle-4rFcKXQa.js.map → bundle-NXDlGjOm.js.map} +1 -1
- package/cjs/chunks/bundle-ONpNGzUN.js +46 -0
- package/cjs/chunks/bundle-ONpNGzUN.js.map +1 -0
- package/cjs/chunks/{bundle-tmB_l3Q9.js → bundle-QkZHyxSs.js} +1 -1
- package/cjs/chunks/bundle-QkZHyxSs.js.map +1 -0
- package/cjs/chunks/{bundle-ELeM0_1Y.js → bundle-R4nsdVDF.js} +1 -1
- package/cjs/chunks/bundle-R4nsdVDF.js.map +1 -0
- package/cjs/chunks/{bundle-BJe68nS0.js → bundle-S6CVN67K.js} +3 -3
- package/{chunks/bundle-bJrywUB-.js.map → cjs/chunks/bundle-S6CVN67K.js.map} +1 -1
- package/cjs/chunks/{bundle-tRBVL0r6.js → bundle-UEKzL00k.js} +4 -4
- package/cjs/chunks/{bundle-tRBVL0r6.js.map → bundle-UEKzL00k.js.map} +1 -1
- package/cjs/chunks/{bundle-QfhZ2YNP.js → bundle-VQoPLYq1.js} +2 -2
- package/cjs/chunks/{bundle-QfhZ2YNP.js.map → bundle-VQoPLYq1.js.map} +1 -1
- package/cjs/chunks/{bundle-dXhGOQQM.js → bundle-X1dqH2Sm.js} +1 -1
- package/cjs/chunks/bundle-X1dqH2Sm.js.map +1 -0
- package/cjs/chunks/{bundle-n1yh-qDb.js → bundle-YXCUHkka.js} +1 -1
- package/cjs/chunks/{bundle-n1yh-qDb.js.map → bundle-YXCUHkka.js.map} +1 -1
- package/cjs/chunks/{bundle-P0kNl8GH.js → bundle-ajGnEkbH.js} +11 -11
- package/cjs/chunks/bundle-ajGnEkbH.js.map +1 -0
- package/cjs/chunks/{bundle-F7GEQVgT.js → bundle-cIQlPA4P.js} +12 -12
- package/cjs/chunks/{bundle-F7GEQVgT.js.map → bundle-cIQlPA4P.js.map} +1 -1
- package/cjs/chunks/{bundle-kBUglm2K.js → bundle-hBelyuMa.js} +4 -4
- package/cjs/chunks/bundle-hBelyuMa.js.map +1 -0
- package/cjs/chunks/{bundle-TEIqVGqn.js → bundle-iOLwSv4j.js} +2 -2
- package/cjs/chunks/bundle-iOLwSv4j.js.map +1 -0
- package/cjs/chunks/{bundle-b4fiCQuI.js → bundle-jl7T2kDZ.js} +5 -5
- package/cjs/chunks/bundle-jl7T2kDZ.js.map +1 -0
- package/cjs/chunks/{bundle-zr9ZXBrm.js → bundle-mLp_yP52.js} +2 -2
- package/cjs/chunks/bundle-mLp_yP52.js.map +1 -0
- package/cjs/chunks/{bundle-6OOGDxxE.js → bundle-mtATkaCS.js} +3 -3
- package/cjs/chunks/bundle-mtATkaCS.js.map +1 -0
- package/cjs/chunks/{bundle-P_B0eyVT.js → bundle-nsOL78qf.js} +1 -1
- package/cjs/chunks/bundle-nsOL78qf.js.map +1 -0
- package/cjs/chunks/{bundle-kWUEW1ZN.js → bundle-oCpY1j30.js} +1 -1
- package/cjs/chunks/bundle-oCpY1j30.js.map +1 -0
- package/cjs/chunks/{bundle-I_9_5a8a.js → bundle-qnGmz8ai.js} +1 -1
- package/cjs/chunks/{bundle-I_9_5a8a.js.map → bundle-qnGmz8ai.js.map} +1 -1
- package/cjs/chunks/{bundle-c6O8NjZI.js → bundle-qtVxG8eL.js} +5 -2
- package/cjs/chunks/bundle-qtVxG8eL.js.map +1 -0
- package/cjs/chunks/{bundle-RlFjml8m.js → bundle-r1UVi2ak.js} +4 -4
- package/{chunks/bundle-w9T6A0ez.js.map → cjs/chunks/bundle-r1UVi2ak.js.map} +1 -1
- package/cjs/chunks/{bundle-4bb_98h6.js → bundle-r81ddDqP.js} +1 -1
- package/cjs/chunks/bundle-r81ddDqP.js.map +1 -0
- package/cjs/chunks/{bundle-Dwrq46Xb.js → bundle-sVUGn8PI.js} +26 -27
- package/cjs/chunks/{bundle-Dwrq46Xb.js.map → bundle-sVUGn8PI.js.map} +1 -1
- package/cjs/chunks/{bundle-FHx0K-3z.js → bundle-tFwEElQ4.js} +3 -3
- package/cjs/chunks/{bundle-FHx0K-3z.js.map → bundle-tFwEElQ4.js.map} +1 -1
- package/cjs/chunks/{bundle-_fjTT1-g.js → bundle-uOWwkmAr.js} +7 -7
- package/cjs/chunks/bundle-uOWwkmAr.js.map +1 -0
- package/cjs/chunks/{bundle-g0lpRY8_.js → bundle-veamuCpa.js} +1 -1
- package/cjs/chunks/bundle-veamuCpa.js.map +1 -0
- package/cjs/chunks/{bundle-JggdKsJa.js → bundle-vvpfLay7.js} +10 -10
- package/cjs/chunks/bundle-vvpfLay7.js.map +1 -0
- package/cjs/chunks/{bundle-z-Bvsn0B.js → bundle-wvuQ096A.js} +1 -1
- package/cjs/chunks/bundle-wvuQ096A.js.map +1 -0
- package/cjs/chunks/{bundle-FLCJVplO.js → bundle-ww8_Dx5u.js} +3 -3
- package/cjs/chunks/bundle-ww8_Dx5u.js.map +1 -0
- package/cjs/chunks/bundle-xXG5L42q.js +356 -0
- package/cjs/chunks/bundle-xXG5L42q.js.map +1 -0
- package/cjs/chunks/{bundle-e-fvbugV.js → bundle-z8FhI7RF.js} +1 -1
- package/cjs/chunks/bundle-z8FhI7RF.js.map +1 -0
- package/cjs/chunks/{bundle-g_OXBrgT.js → bundle-zNIQydjM.js} +1 -1
- package/cjs/chunks/bundle-zNIQydjM.js.map +1 -0
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +57 -57
- package/cjs/pubSub/topics.js +12 -17
- package/cjs/pubSub/topics.js.map +1 -1
- package/cjs/sendbirdSelectors.js +80 -65
- package/cjs/sendbirdSelectors.js.map +1 -1
- 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 +9 -75
- package/cjs/ui/Avatar.js.map +1 -1
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +7 -7
- 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 +15 -15
- package/cjs/ui/FileMessageItemBody.js +8 -8
- package/cjs/ui/FileViewer.js +14 -14
- package/cjs/ui/Icon.js +2 -2
- 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 +12 -12
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +162 -120
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +5 -5
- package/cjs/ui/MessageInput.js +15 -15
- package/cjs/ui/MessageItemMenu.js +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 +15 -15
- 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 +15 -15
- package/cjs/ui/ThreadReplies.js +10 -10
- 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/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +13 -13
- package/cjs/ui/UserProfile.js +11 -11
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/VoiceMessgeInput.js +9 -9
- package/cjs/ui/Word.js +12 -12
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +3 -3
- package/cjs/withSendbird.js +1 -1
- package/dist/index.css +663 -664
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +57 -57
- package/package.json +3 -3
- package/pubSub/topics.js +1 -17
- package/pubSub/topics.js.map +1 -1
- package/sendbirdSelectors.js +80 -65
- package/sendbirdSelectors.js.map +1 -1
- package/types/lib/Sendbird.d.ts +2 -2
- package/types/lib/pubSub/index.d.ts +16 -6
- package/types/lib/pubSub/topics.d.ts +84 -14
- package/types/lib/selectors.d.ts +13 -12
- package/types/lib/types.d.ts +2 -1
- package/types/modules/Channel/components/MessageInput/useHandleUploadFiles.d.ts +2 -2
- package/types/modules/Channel/components/SuggestedMentionList/utils.d.ts +3 -0
- package/types/modules/Channel/context/ChannelProvider.d.ts +2 -0
- package/types/modules/Channel/context/dux/actionTypes.d.ts +6 -0
- package/types/modules/Channel/context/dux/initialState.d.ts +2 -1
- package/types/modules/Channel/context/hooks/useHandleChannelPubsubEvents.d.ts +2 -1
- package/types/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +5 -5
- package/types/modules/Channel/context/hooks/useSendMessageCallback.d.ts +2 -2
- package/types/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +2 -1
- package/types/modules/Channel/context/hooks/useUpdateMessageCallback.d.ts +2 -2
- package/types/modules/ChannelList/utils.d.ts +2 -2
- package/types/modules/Thread/context/dux/actionTypes.d.ts +2 -1
- package/types/modules/Thread/context/dux/initialState.d.ts +2 -1
- package/types/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +2 -1
- package/types/modules/Thread/context/hooks/useResendMessageCallback.d.ts +2 -1
- package/types/modules/Thread/context/hooks/useSendFileMessage.d.ts +2 -1
- package/types/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +2 -1
- package/types/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +2 -1
- package/types/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +2 -1
- package/types/modules/internalInterfaces.d.ts +2 -0
- package/types/ui/MessageContent/MessageBody/index.d.ts +18 -0
- package/types/ui/MessageContent/MessageHeader/index.d.ts +10 -0
- package/types/ui/MessageContent/MessageProfile/index.d.ts +15 -0
- package/types/ui/MessageContent/index.d.ts +9 -4
- package/types/ui/TypingIndicatorMessage/TypingDots.d.ts +4 -0
- package/types/ui/TypingIndicatorMessage/index.d.ts +6 -0
- package/types/utils/compressImages.d.ts +11 -0
- package/types/utils/pxToNumber.d.ts +2 -2
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +7 -77
- package/ui/Avatar.js.map +1 -1
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +5 -5
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +15 -15
- package/ui/FileMessageItemBody.js +8 -8
- package/ui/FileViewer.js +14 -14
- package/ui/Icon.js +2 -2
- 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 +12 -12
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +163 -121
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +5 -5
- package/ui/MessageInput.js +15 -15
- package/ui/MessageItemMenu.js +21 -21
- 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/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +15 -15
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +8 -8
- package/ui/OpenchannelConversationHeader.js +8 -8
- package/ui/OpenchannelFileMessage.js +17 -17
- package/ui/OpenchannelOGMessage.js +19 -19
- package/ui/OpenchannelThumbnailMessage.js +16 -16
- package/ui/OpenchannelUserMessage.js +17 -17
- 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 +15 -15
- 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/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +12 -12
- package/ui/UserProfile.js +10 -10
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/VoiceMessgeInput.js +9 -9
- package/ui/Word.js +12 -12
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +3 -3
- package/withSendbird.js +1 -1
- package/chunks/bundle--F_1NyoU.js.map +0 -1
- package/chunks/bundle-7FyFbzI4.js.map +0 -1
- package/chunks/bundle-8zJE_DCx.js.map +0 -1
- package/chunks/bundle-AI8e02c3.js.map +0 -1
- package/chunks/bundle-Ael7hqI7.js +0 -227
- package/chunks/bundle-H2I60B2B.js.map +0 -1
- package/chunks/bundle-M2ljBW6p.js.map +0 -1
- package/chunks/bundle-Q8dtkDOa.js.map +0 -1
- package/chunks/bundle-WCTKBopn.js.map +0 -1
- package/chunks/bundle-YEttY5xG.js.map +0 -1
- package/chunks/bundle-Zl1hrCWc.js.map +0 -1
- package/chunks/bundle-_qiqf8_l.js.map +0 -1
- package/chunks/bundle-bofQNMJb.js.map +0 -1
- package/chunks/bundle-btDN-R-c.js.map +0 -1
- package/chunks/bundle-hjECCUV3.js.map +0 -1
- package/chunks/bundle-khKXutc3.js.map +0 -1
- package/chunks/bundle-kp1MMNMf.js.map +0 -1
- package/chunks/bundle-mL_86Tua.js.map +0 -1
- package/chunks/bundle-mpeh7m6z.js.map +0 -1
- package/chunks/bundle-qst5L6aH.js.map +0 -1
- package/chunks/bundle-rLxuFUa1.js.map +0 -1
- package/chunks/bundle-r_VxbiS3.js.map +0 -1
- package/chunks/bundle-sOjc_nNQ.js.map +0 -1
- package/chunks/bundle-ubky9D9H.js.map +0 -1
- package/chunks/bundle-v0OWADVv.js.map +0 -1
- package/chunks/bundle-v9a1_z0P.js.map +0 -1
- package/chunks/bundle-w2v7oZ9G.js.map +0 -1
- package/chunks/bundle-wMgBBDf9.js.map +0 -1
- package/chunks/bundle-x-4ukZm_.js.map +0 -1
- package/chunks/bundle-zLBuOeRY.js.map +0 -1
- package/chunks/bundle-zoxfINxQ.js.map +0 -1
- package/cjs/chunks/bundle-11ybpGNN.js.map +0 -1
- package/cjs/chunks/bundle-1yOirqug.js.map +0 -1
- package/cjs/chunks/bundle-4bb_98h6.js.map +0 -1
- package/cjs/chunks/bundle-6OOGDxxE.js.map +0 -1
- package/cjs/chunks/bundle-6o4fw0w0.js.map +0 -1
- package/cjs/chunks/bundle-6ziaqiUd.js.map +0 -1
- package/cjs/chunks/bundle-B2MaAm21.js.map +0 -1
- package/cjs/chunks/bundle-BJe68nS0.js.map +0 -1
- package/cjs/chunks/bundle-BN7IOLFq.js.map +0 -1
- package/cjs/chunks/bundle-DZeKHvMp.js.map +0 -1
- package/cjs/chunks/bundle-ELeM0_1Y.js.map +0 -1
- package/cjs/chunks/bundle-FLCJVplO.js.map +0 -1
- package/cjs/chunks/bundle-JggdKsJa.js.map +0 -1
- package/cjs/chunks/bundle-L9ushBZQ.js.map +0 -1
- package/cjs/chunks/bundle-P0kNl8GH.js.map +0 -1
- package/cjs/chunks/bundle-P_B0eyVT.js.map +0 -1
- package/cjs/chunks/bundle-QmSa90PC.js.map +0 -1
- package/cjs/chunks/bundle-RaQV-Bpr.js.map +0 -1
- package/cjs/chunks/bundle-RlFjml8m.js.map +0 -1
- package/cjs/chunks/bundle-TEIqVGqn.js.map +0 -1
- package/cjs/chunks/bundle-UooP2IDU.js.map +0 -1
- package/cjs/chunks/bundle-Y9TkHVI5.js.map +0 -1
- package/cjs/chunks/bundle-YNHu-c84.js.map +0 -1
- package/cjs/chunks/bundle-_fjTT1-g.js.map +0 -1
- package/cjs/chunks/bundle-b4fiCQuI.js.map +0 -1
- package/cjs/chunks/bundle-c6O8NjZI.js.map +0 -1
- package/cjs/chunks/bundle-cttYM0DR.js.map +0 -1
- package/cjs/chunks/bundle-dXhGOQQM.js.map +0 -1
- package/cjs/chunks/bundle-e-fvbugV.js.map +0 -1
- package/cjs/chunks/bundle-e0il9C3T.js +0 -230
- package/cjs/chunks/bundle-e0il9C3T.js.map +0 -1
- package/cjs/chunks/bundle-g0lpRY8_.js.map +0 -1
- package/cjs/chunks/bundle-gMxOq93o.js.map +0 -1
- package/cjs/chunks/bundle-gS0bojlA.js.map +0 -1
- package/cjs/chunks/bundle-g_OXBrgT.js.map +0 -1
- package/cjs/chunks/bundle-iwsbhMUN.js.map +0 -1
- package/cjs/chunks/bundle-kWUEW1ZN.js.map +0 -1
- package/cjs/chunks/bundle-lii4Ueh3.js.map +0 -1
- package/cjs/chunks/bundle-p1cCW0sH.js.map +0 -1
- package/cjs/chunks/bundle-tmB_l3Q9.js.map +0 -1
- package/cjs/chunks/bundle-tywVawyg.js.map +0 -1
- package/cjs/chunks/bundle-z-Bvsn0B.js.map +0 -1
- package/cjs/chunks/bundle-zr9ZXBrm.js.map +0 -1
package/cjs/Thread/context.js
CHANGED
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var useSendMultipleFilesMessage = require('../chunks/bundle-
|
|
5
|
-
var UserProfileContext = require('../chunks/bundle-
|
|
4
|
+
var useSendMultipleFilesMessage = require('../chunks/bundle-L6ZM4yRd.js');
|
|
5
|
+
var UserProfileContext = require('../chunks/bundle-r81ddDqP.js');
|
|
6
6
|
var useSendbirdStateContext = require('../useSendbirdStateContext.js');
|
|
7
|
-
var _tslib = require('../chunks/bundle-
|
|
7
|
+
var _tslib = require('../chunks/bundle-2s7rxLn3.js');
|
|
8
8
|
var Thread_context_types = require('./context/types.js');
|
|
9
9
|
var SendbirdChat = require('@sendbird/chat');
|
|
10
|
-
var pubSub_topics = require('../
|
|
11
|
-
require('../chunks/bundle-
|
|
12
|
-
var message = require('@sendbird/chat/message');
|
|
13
|
-
var actionTypes = require('../chunks/bundle-c6O8NjZI.js');
|
|
10
|
+
var pubSub_topics = require('../chunks/bundle-ONpNGzUN.js');
|
|
11
|
+
var actionTypes = require('../chunks/bundle-qtVxG8eL.js');
|
|
14
12
|
var groupChannel = require('@sendbird/chat/groupChannel');
|
|
15
|
-
var uuid = require('../chunks/bundle
|
|
16
|
-
var
|
|
17
|
-
require('../chunks/bundle-
|
|
18
|
-
require('
|
|
19
|
-
require('../chunks/bundle-
|
|
13
|
+
var uuid = require('../chunks/bundle--NEfAH1H.js');
|
|
14
|
+
var compareIds = require('../chunks/bundle-QkZHyxSs.js');
|
|
15
|
+
require('../chunks/bundle-tFwEElQ4.js');
|
|
16
|
+
var message = require('@sendbird/chat/message');
|
|
17
|
+
var consts = require('../chunks/bundle-9GSi_LkG.js');
|
|
18
|
+
require('../chunks/bundle-5SOWNViS.js');
|
|
19
|
+
require('../chunks/bundle-KQyVyq1q.js');
|
|
20
|
+
require('../chunks/bundle-YXCUHkka.js');
|
|
20
21
|
require('../utils/message/getOutgoingMessageState.js');
|
|
21
22
|
require('../withSendbird.js');
|
|
22
|
-
require('../chunks/bundle-
|
|
23
|
+
require('../chunks/bundle-qnGmz8ai.js');
|
|
23
24
|
|
|
24
25
|
var PREV_THREADS_FETCH_SIZE = 30;
|
|
25
26
|
var NEXT_THREADS_FETCH_SIZE = 30;
|
|
@@ -70,10 +71,12 @@ var ThreadContextActionTypes;
|
|
|
70
71
|
ThreadContextActionTypes["ON_CHANNEL_FROZEN"] = "ON_CHANNEL_FROZEN";
|
|
71
72
|
ThreadContextActionTypes["ON_CHANNEL_UNFROZEN"] = "ON_CHANNEL_UNFROZEN";
|
|
72
73
|
ThreadContextActionTypes["ON_OPERATOR_UPDATED"] = "ON_OPERATOR_UPDATED";
|
|
74
|
+
// event handler - typing status change
|
|
75
|
+
ThreadContextActionTypes["ON_TYPING_STATUS_UPDATED"] = "ON_TYPING_STATUS_UPDATED";
|
|
73
76
|
})(ThreadContextActionTypes || (ThreadContextActionTypes = {}));
|
|
74
77
|
|
|
75
78
|
function reducer(state, action) {
|
|
76
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
|
|
79
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y;
|
|
77
80
|
switch (action.type) {
|
|
78
81
|
// initialize
|
|
79
82
|
case ThreadContextActionTypes.INIT_USER_ID: {
|
|
@@ -109,7 +112,7 @@ function reducer(state, action) {
|
|
|
109
112
|
return _tslib.__assign(_tslib.__assign({}, state), { threadListState: Thread_context_types.ThreadListStateTypes.LOADING, allThreadMessages: [] });
|
|
110
113
|
}
|
|
111
114
|
case ThreadContextActionTypes.INITIALIZE_THREAD_LIST_SUCCESS: {
|
|
112
|
-
var
|
|
115
|
+
var _z = action.payload, parentMessage = _z.parentMessage, anchorMessage = _z.anchorMessage, threadedMessages = _z.threadedMessages;
|
|
113
116
|
var anchorMessageCreatedAt_1 = (!(anchorMessage === null || anchorMessage === void 0 ? void 0 : anchorMessage.messageId)) ? parentMessage === null || parentMessage === void 0 ? void 0 : parentMessage.createdAt : anchorMessage === null || anchorMessage === void 0 ? void 0 : anchorMessage.createdAt;
|
|
114
117
|
var anchorIndex = threadedMessages.findIndex(function (message) { return (message === null || message === void 0 ? void 0 : message.createdAt) > anchorMessageCreatedAt_1; });
|
|
115
118
|
var prevThreadMessages = anchorIndex > -1 ? threadedMessages.slice(0, anchorIndex) : threadedMessages;
|
|
@@ -142,7 +145,7 @@ function reducer(state, action) {
|
|
|
142
145
|
}
|
|
143
146
|
// event handlers - message status change
|
|
144
147
|
case ThreadContextActionTypes.ON_MESSAGE_RECEIVED: {
|
|
145
|
-
var
|
|
148
|
+
var _0 = action.payload, channel = _0.channel, message_1 = _0.message;
|
|
146
149
|
if (((_c = state.currentChannel) === null || _c === void 0 ? void 0 : _c.url) !== (channel === null || channel === void 0 ? void 0 : channel.url)
|
|
147
150
|
|| state.hasMoreNext
|
|
148
151
|
|| ((_d = message_1 === null || message_1 === void 0 ? void 0 : message_1.parentMessage) === null || _d === void 0 ? void 0 : _d.messageId) !== ((_e = state === null || state === void 0 ? void 0 : state.parentMessage) === null || _e === void 0 ? void 0 : _e.messageId)) {
|
|
@@ -156,7 +159,7 @@ function reducer(state, action) {
|
|
|
156
159
|
], false) });
|
|
157
160
|
}
|
|
158
161
|
case ThreadContextActionTypes.ON_MESSAGE_UPDATED: {
|
|
159
|
-
var
|
|
162
|
+
var _1 = action.payload, channel = _1.channel, message_2 = _1.message;
|
|
160
163
|
if (((_g = state.currentChannel) === null || _g === void 0 ? void 0 : _g.url) !== (channel === null || channel === void 0 ? void 0 : channel.url)) {
|
|
161
164
|
return state;
|
|
162
165
|
}
|
|
@@ -165,7 +168,7 @@ function reducer(state, action) {
|
|
|
165
168
|
: state.parentMessage, allThreadMessages: (_j = state.allThreadMessages) === null || _j === void 0 ? void 0 : _j.map(function (msg) { return (((msg === null || msg === void 0 ? void 0 : msg.messageId) === (message_2 === null || message_2 === void 0 ? void 0 : message_2.messageId)) ? message_2 : msg); }) });
|
|
166
169
|
}
|
|
167
170
|
case ThreadContextActionTypes.ON_MESSAGE_DELETED: {
|
|
168
|
-
var
|
|
171
|
+
var _2 = action.payload, channel = _2.channel, messageId_1 = _2.messageId;
|
|
169
172
|
if (((_k = state.currentChannel) === null || _k === void 0 ? void 0 : _k.url) !== (channel === null || channel === void 0 ? void 0 : channel.url)) {
|
|
170
173
|
return state;
|
|
171
174
|
}
|
|
@@ -193,14 +196,14 @@ function reducer(state, action) {
|
|
|
193
196
|
}
|
|
194
197
|
// event handlers - user status change
|
|
195
198
|
case ThreadContextActionTypes.ON_USER_MUTED: {
|
|
196
|
-
var
|
|
199
|
+
var _3 = action.payload, channel = _3.channel, user = _3.user;
|
|
197
200
|
if (((_t = state.currentChannel) === null || _t === void 0 ? void 0 : _t.url) !== (channel === null || channel === void 0 ? void 0 : channel.url) || state.currentUserId !== (user === null || user === void 0 ? void 0 : user.userId)) {
|
|
198
201
|
return state;
|
|
199
202
|
}
|
|
200
203
|
return _tslib.__assign(_tslib.__assign({}, state), { isMuted: true });
|
|
201
204
|
}
|
|
202
205
|
case ThreadContextActionTypes.ON_USER_UNMUTED: {
|
|
203
|
-
var
|
|
206
|
+
var _4 = action.payload, channel = _4.channel, user = _4.user;
|
|
204
207
|
if (((_u = state.currentChannel) === null || _u === void 0 ? void 0 : _u.url) !== (channel === null || channel === void 0 ? void 0 : channel.url) || state.currentUserId !== (user === null || user === void 0 ? void 0 : user.userId)) {
|
|
205
208
|
return state;
|
|
206
209
|
}
|
|
@@ -252,7 +255,7 @@ function reducer(state, action) {
|
|
|
252
255
|
return _tslib.__assign({}, state);
|
|
253
256
|
}
|
|
254
257
|
case ThreadContextActionTypes.ON_FILE_INFO_UPLOADED: {
|
|
255
|
-
var
|
|
258
|
+
var _5 = action.payload, channelUrl = _5.channelUrl, requestId_1 = _5.requestId, index = _5.index, uploadableFileInfo = _5.uploadableFileInfo, error = _5.error;
|
|
256
259
|
if (!useSendMultipleFilesMessage.compareIds(channelUrl, (_w = state.currentChannel) === null || _w === void 0 ? void 0 : _w.url)) {
|
|
257
260
|
return state;
|
|
258
261
|
}
|
|
@@ -271,6 +274,13 @@ function reducer(state, action) {
|
|
|
271
274
|
}
|
|
272
275
|
return _tslib.__assign(_tslib.__assign({}, state), { localThreadMessages: localThreadMessages });
|
|
273
276
|
}
|
|
277
|
+
case ThreadContextActionTypes.ON_TYPING_STATUS_UPDATED: {
|
|
278
|
+
var _6 = action.payload, channel = _6.channel, typingMembers = _6.typingMembers;
|
|
279
|
+
if (!useSendMultipleFilesMessage.compareIds(channel.url, (_y = state.currentChannel) === null || _y === void 0 ? void 0 : _y.url)) {
|
|
280
|
+
return state;
|
|
281
|
+
}
|
|
282
|
+
return _tslib.__assign(_tslib.__assign({}, state), { typingMembers: typingMembers });
|
|
283
|
+
}
|
|
274
284
|
default: {
|
|
275
285
|
return state;
|
|
276
286
|
}
|
|
@@ -294,6 +304,7 @@ var initialState = {
|
|
|
294
304
|
isMuted: false,
|
|
295
305
|
isChannelFrozen: false,
|
|
296
306
|
currentUserId: '',
|
|
307
|
+
typingMembers: [],
|
|
297
308
|
};
|
|
298
309
|
|
|
299
310
|
function useGetChannel(_a, _b) {
|
|
@@ -453,11 +464,9 @@ function useHandleThreadPubsubEvents(_a, _b) {
|
|
|
453
464
|
var subscriber = new Map();
|
|
454
465
|
if (pubSub === null || pubSub === void 0 ? void 0 : pubSub.subscribe) {
|
|
455
466
|
// TODO: subscribe ON_FILE_INFO_UPLOADED
|
|
456
|
-
subscriber.set(pubSub_topics.
|
|
457
|
-
var
|
|
458
|
-
if ((currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url) === (channel === null || channel === void 0 ? void 0 : channel.url)
|
|
459
|
-
&& (message === null || message === void 0 ? void 0 : message.parentMessageId) === (parentMessage === null || parentMessage === void 0 ? void 0 : parentMessage.messageId)
|
|
460
|
-
&& publishingModules.includes(useSendMultipleFilesMessage.PublishingModuleType.THREAD)) {
|
|
467
|
+
subscriber.set(pubSub_topics.pubSubTopics.SEND_MESSAGE_START, pubSub.subscribe(pubSub_topics.pubSubTopics.SEND_MESSAGE_START, function (props) {
|
|
468
|
+
var channel = props.channel, message = props.message, publishingModules = props.publishingModules;
|
|
469
|
+
if ((currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url) === (channel === null || channel === void 0 ? void 0 : channel.url) && (message === null || message === void 0 ? void 0 : message.parentMessageId) === (parentMessage === null || parentMessage === void 0 ? void 0 : parentMessage.messageId) && pubSub_topics.shouldPubSubPublishToThread(publishingModules)) {
|
|
461
470
|
// TODO: const clonedMessage = cloneMessage(message);
|
|
462
471
|
var pendingMessage = _tslib.__assign({}, message);
|
|
463
472
|
if (message.isMultipleFilesMessage()) {
|
|
@@ -473,16 +482,15 @@ function useHandleThreadPubsubEvents(_a, _b) {
|
|
|
473
482
|
useSendMultipleFilesMessage.scrollIntoLast === null || useSendMultipleFilesMessage.scrollIntoLast === void 0 ? void 0 : useSendMultipleFilesMessage.scrollIntoLast();
|
|
474
483
|
}));
|
|
475
484
|
subscriber.set(pubSub_topics.PUBSUB_TOPICS.ON_FILE_INFO_UPLOADED, pubSub.subscribe(pubSub_topics.PUBSUB_TOPICS.ON_FILE_INFO_UPLOADED, function (props) {
|
|
476
|
-
var
|
|
477
|
-
if ((currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url) === response.channelUrl
|
|
478
|
-
&& publishingModules.includes(useSendMultipleFilesMessage.PublishingModuleType.THREAD)) {
|
|
485
|
+
var response = props.response, publishingModules = props.publishingModules;
|
|
486
|
+
if ((currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url) === response.channelUrl && pubSub_topics.shouldPubSubPublishToThread(publishingModules)) {
|
|
479
487
|
threadDispatcher({
|
|
480
488
|
type: actionTypes.ON_FILE_INFO_UPLOADED,
|
|
481
489
|
payload: response,
|
|
482
490
|
});
|
|
483
491
|
}
|
|
484
492
|
}));
|
|
485
|
-
subscriber.set(pubSub_topics.
|
|
493
|
+
subscriber.set(pubSub_topics.pubSubTopics.SEND_USER_MESSAGE, pubSub.subscribe(pubSub_topics.pubSubTopics.SEND_USER_MESSAGE, function (props) {
|
|
486
494
|
var _a = props, channel = _a.channel, message = _a.message;
|
|
487
495
|
if ((currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url) === (channel === null || channel === void 0 ? void 0 : channel.url)
|
|
488
496
|
&& (message === null || message === void 0 ? void 0 : message.parentMessageId) === (parentMessage === null || parentMessage === void 0 ? void 0 : parentMessage.messageId)) {
|
|
@@ -493,21 +501,18 @@ function useHandleThreadPubsubEvents(_a, _b) {
|
|
|
493
501
|
}
|
|
494
502
|
useSendMultipleFilesMessage.scrollIntoLast === null || useSendMultipleFilesMessage.scrollIntoLast === void 0 ? void 0 : useSendMultipleFilesMessage.scrollIntoLast();
|
|
495
503
|
}));
|
|
496
|
-
subscriber.set(pubSub_topics.
|
|
497
|
-
var
|
|
498
|
-
if ((currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url) === (channel === null || channel === void 0 ? void 0 : channel.url)
|
|
499
|
-
&& (message === null || message === void 0 ? void 0 : message.parentMessageId) === (parentMessage === null || parentMessage === void 0 ? void 0 : parentMessage.messageId)
|
|
500
|
-
&& publishingModules.includes(useSendMultipleFilesMessage.PublishingModuleType.THREAD)) {
|
|
504
|
+
subscriber.set(pubSub_topics.pubSubTopics.SEND_MESSAGE_FAILED, pubSub.subscribe(pubSub_topics.pubSubTopics.SEND_MESSAGE_FAILED, function (props) {
|
|
505
|
+
var channel = props.channel, message = props.message, publishingModules = props.publishingModules;
|
|
506
|
+
if ((currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url) === (channel === null || channel === void 0 ? void 0 : channel.url) && (message === null || message === void 0 ? void 0 : message.parentMessageId) === (parentMessage === null || parentMessage === void 0 ? void 0 : parentMessage.messageId) && pubSub_topics.shouldPubSubPublishToThread(publishingModules)) {
|
|
501
507
|
threadDispatcher({
|
|
502
508
|
type: ThreadContextActionTypes.SEND_MESSAGE_FAILURE,
|
|
503
509
|
payload: { message: message },
|
|
504
510
|
});
|
|
505
511
|
}
|
|
506
512
|
}));
|
|
507
|
-
subscriber.set(pubSub_topics.
|
|
508
|
-
var
|
|
509
|
-
if ((currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url) === (channel === null || channel === void 0 ? void 0 : channel.url)
|
|
510
|
-
&& publishingModules.includes(useSendMultipleFilesMessage.PublishingModuleType.THREAD)) {
|
|
513
|
+
subscriber.set(pubSub_topics.pubSubTopics.SEND_FILE_MESSAGE, pubSub.subscribe(pubSub_topics.pubSubTopics.SEND_FILE_MESSAGE, function (props) {
|
|
514
|
+
var channel = props.channel, message = props.message, publishingModules = props.publishingModules;
|
|
515
|
+
if ((currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url) === (channel === null || channel === void 0 ? void 0 : channel.url) && pubSub_topics.shouldPubSubPublishToThread(publishingModules)) {
|
|
511
516
|
threadDispatcher({
|
|
512
517
|
type: ThreadContextActionTypes.SEND_MESSAGE_SUCESS,
|
|
513
518
|
payload: { message: message },
|
|
@@ -515,7 +520,7 @@ function useHandleThreadPubsubEvents(_a, _b) {
|
|
|
515
520
|
}
|
|
516
521
|
useSendMultipleFilesMessage.scrollIntoLast === null || useSendMultipleFilesMessage.scrollIntoLast === void 0 ? void 0 : useSendMultipleFilesMessage.scrollIntoLast();
|
|
517
522
|
}));
|
|
518
|
-
subscriber.set(pubSub_topics.
|
|
523
|
+
subscriber.set(pubSub_topics.pubSubTopics.UPDATE_USER_MESSAGE, pubSub.subscribe(pubSub_topics.pubSubTopics.UPDATE_USER_MESSAGE, function (props) {
|
|
519
524
|
var _a = props, channel = _a.channel, message = _a.message;
|
|
520
525
|
if ((currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url) === (channel === null || channel === void 0 ? void 0 : channel.url)) {
|
|
521
526
|
threadDispatcher({
|
|
@@ -524,7 +529,7 @@ function useHandleThreadPubsubEvents(_a, _b) {
|
|
|
524
529
|
});
|
|
525
530
|
}
|
|
526
531
|
}));
|
|
527
|
-
subscriber.set(pubSub_topics.
|
|
532
|
+
subscriber.set(pubSub_topics.pubSubTopics.DELETE_MESSAGE, pubSub.subscribe(pubSub_topics.pubSubTopics.DELETE_MESSAGE, function (props) {
|
|
528
533
|
var _a = props, channel = _a.channel, messageId = _a.messageId;
|
|
529
534
|
if ((currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url) === (channel === null || channel === void 0 ? void 0 : channel.url)) {
|
|
530
535
|
threadDispatcher({
|
|
@@ -644,6 +649,19 @@ function useHandleChannelEvents(_a, _b) {
|
|
|
644
649
|
payload: { channel: channel, users: users },
|
|
645
650
|
});
|
|
646
651
|
},
|
|
652
|
+
onTypingStatusUpdated: function (channel) {
|
|
653
|
+
if (compareIds.compareIds(channel === null || channel === void 0 ? void 0 : channel.url, currentChannel.url)) {
|
|
654
|
+
logger.info('Channel | onTypingStatusUpdated', { channel: channel });
|
|
655
|
+
var typingMembers = channel.getTypingUsers();
|
|
656
|
+
threadDispatcher({
|
|
657
|
+
type: actionTypes.ON_TYPING_STATUS_UPDATED,
|
|
658
|
+
payload: {
|
|
659
|
+
channel: channel,
|
|
660
|
+
typingMembers: typingMembers,
|
|
661
|
+
},
|
|
662
|
+
});
|
|
663
|
+
}
|
|
664
|
+
},
|
|
647
665
|
};
|
|
648
666
|
var channelHandler = new groupChannel.GroupChannelHandler(channelHandlerParams);
|
|
649
667
|
(_c = (_b = sdk.groupChannel).addGroupChannelHandler) === null || _c === void 0 ? void 0 : _c.call(_b, handlerId, channelHandler);
|
|
@@ -703,10 +721,10 @@ function useSendFileMessageCallback(_a, _b) {
|
|
|
703
721
|
reject(error);
|
|
704
722
|
}).onSucceeded(function (message) {
|
|
705
723
|
logger.info('Thread | useSendFileMessageCallback: Sending file message succeeded.', message);
|
|
706
|
-
pubSub.publish(pubSub_topics.
|
|
724
|
+
pubSub.publish(pubSub_topics.pubSubTopics.SEND_FILE_MESSAGE, {
|
|
707
725
|
channel: currentChannel,
|
|
708
726
|
message: message,
|
|
709
|
-
publishingModules: [
|
|
727
|
+
publishingModules: [pubSub_topics.PublishingModuleType.THREAD],
|
|
710
728
|
});
|
|
711
729
|
resolve(message);
|
|
712
730
|
});
|
|
@@ -718,6 +736,7 @@ function useSendFileMessageCallback(_a, _b) {
|
|
|
718
736
|
function useUpdateMessageCallback(_a, _b) {
|
|
719
737
|
var currentChannel = _a.currentChannel, isMentionEnabled = _a.isMentionEnabled;
|
|
720
738
|
var logger = _b.logger, pubSub = _b.pubSub, threadDispatcher = _b.threadDispatcher;
|
|
739
|
+
// TODO: add type
|
|
721
740
|
return React.useCallback(function (props) {
|
|
722
741
|
var _a;
|
|
723
742
|
var messageId = props.messageId, message = props.message, mentionedUsers = props.mentionedUsers, mentionTemplate = props.mentionTemplate;
|
|
@@ -746,11 +765,11 @@ function useUpdateMessageCallback(_a, _b) {
|
|
|
746
765
|
message: message,
|
|
747
766
|
},
|
|
748
767
|
});
|
|
749
|
-
pubSub.publish(pubSub_topics.
|
|
768
|
+
pubSub.publish(pubSub_topics.pubSubTopics.UPDATE_USER_MESSAGE, {
|
|
750
769
|
fromSelector: true,
|
|
751
770
|
channel: currentChannel,
|
|
752
771
|
message: message,
|
|
753
|
-
publishingModules: [
|
|
772
|
+
publishingModules: [pubSub_topics.PublishingModuleType.THREAD],
|
|
754
773
|
});
|
|
755
774
|
});
|
|
756
775
|
}, [currentChannel, isMentionEnabled]);
|
|
@@ -934,10 +953,10 @@ function useSendUserMessageCallback(_a, _b) {
|
|
|
934
953
|
}).onSucceeded(function (message) {
|
|
935
954
|
logger.info('Thread | useSendUserMessageCallback: Sending user message succeeded.', message);
|
|
936
955
|
// because Thread doesn't subscribe SEND_USER_MESSAGE
|
|
937
|
-
pubSub.publish(pubSub_topics.
|
|
956
|
+
pubSub.publish(pubSub_topics.pubSubTopics.SEND_USER_MESSAGE, {
|
|
938
957
|
channel: currentChannel,
|
|
939
958
|
message: message,
|
|
940
|
-
publishingModules: [
|
|
959
|
+
publishingModules: [pubSub_topics.PublishingModuleType.THREAD],
|
|
941
960
|
});
|
|
942
961
|
});
|
|
943
962
|
}
|
|
@@ -964,10 +983,10 @@ function useResendMessageCallback(_a, _b) {
|
|
|
964
983
|
type: ThreadContextActionTypes.SEND_MESSAGE_SUCESS,
|
|
965
984
|
payload: { message: message },
|
|
966
985
|
});
|
|
967
|
-
pubSub.publish(pubSub_topics.
|
|
986
|
+
pubSub.publish(pubSub_topics.pubSubTopics.SEND_USER_MESSAGE, {
|
|
968
987
|
channel: currentChannel,
|
|
969
988
|
message: message,
|
|
970
|
-
publishingModules: [
|
|
989
|
+
publishingModules: [pubSub_topics.PublishingModuleType.THREAD],
|
|
971
990
|
});
|
|
972
991
|
}).catch(function (error) {
|
|
973
992
|
logger.warning('Thread | useResendMessageCallback: Resending failedMessage failed.', error);
|
|
@@ -992,10 +1011,10 @@ function useResendMessageCallback(_a, _b) {
|
|
|
992
1011
|
type: ThreadContextActionTypes.SEND_MESSAGE_FAILURE,
|
|
993
1012
|
payload: { message: failedMessage },
|
|
994
1013
|
});
|
|
995
|
-
pubSub.publish(pubSub_topics.
|
|
1014
|
+
pubSub.publish(pubSub_topics.pubSubTopics.SEND_FILE_MESSAGE, {
|
|
996
1015
|
channel: currentChannel,
|
|
997
1016
|
message: failedMessage,
|
|
998
|
-
publishingModules: [
|
|
1017
|
+
publishingModules: [pubSub_topics.PublishingModuleType.THREAD],
|
|
999
1018
|
});
|
|
1000
1019
|
});
|
|
1001
1020
|
}
|
|
@@ -1012,10 +1031,10 @@ function useResendMessageCallback(_a, _b) {
|
|
|
1012
1031
|
type: ThreadContextActionTypes.SEND_MESSAGE_FAILURE,
|
|
1013
1032
|
payload: { message: message },
|
|
1014
1033
|
});
|
|
1015
|
-
pubSub.publish(pubSub_topics.
|
|
1034
|
+
pubSub.publish(pubSub_topics.pubSubTopics.SEND_FILE_MESSAGE, {
|
|
1016
1035
|
channel: currentChannel,
|
|
1017
1036
|
message: message,
|
|
1018
|
-
publishingModules: [
|
|
1037
|
+
publishingModules: [pubSub_topics.PublishingModuleType.THREAD],
|
|
1019
1038
|
});
|
|
1020
1039
|
});
|
|
1021
1040
|
}
|
|
@@ -1080,10 +1099,10 @@ var useSendVoiceMessageCallback = function (_a, _b) {
|
|
|
1080
1099
|
});
|
|
1081
1100
|
}).onSucceeded(function (message) {
|
|
1082
1101
|
logger.info('Thread | useSendVoiceMessageCallback: Sending voice message succeeded.', message);
|
|
1083
|
-
pubSub.publish(pubSub_topics.
|
|
1102
|
+
pubSub.publish(pubSub_topics.pubSubTopics.SEND_FILE_MESSAGE, {
|
|
1084
1103
|
channel: currentChannel,
|
|
1085
1104
|
message: message,
|
|
1086
|
-
publishingModules: [
|
|
1105
|
+
publishingModules: [pubSub_topics.PublishingModuleType.THREAD],
|
|
1087
1106
|
});
|
|
1088
1107
|
});
|
|
1089
1108
|
}, [
|
|
@@ -1113,7 +1132,7 @@ var ThreadProvider = function (props) {
|
|
|
1113
1132
|
var logger = config.logger, pubSub = config.pubSub, replyType = config.replyType, isMentionEnabled = config.isMentionEnabled, isReactionEnabled = config.isReactionEnabled, onUserProfileMessage = config.onUserProfileMessage;
|
|
1114
1133
|
// dux of Thread
|
|
1115
1134
|
var _c = React.useReducer(reducer, initialState), threadStore = _c[0], threadDispatcher = _c[1];
|
|
1116
|
-
var currentChannel = threadStore.currentChannel, allThreadMessages = threadStore.allThreadMessages, localThreadMessages = threadStore.localThreadMessages, parentMessage = threadStore.parentMessage, channelState = threadStore.channelState, threadListState = threadStore.threadListState, parentMessageState = threadStore.parentMessageState, hasMorePrev = threadStore.hasMorePrev, hasMoreNext = threadStore.hasMoreNext, emojiContainer = threadStore.emojiContainer, isMuted = threadStore.isMuted, isChannelFrozen = threadStore.isChannelFrozen, currentUserId = threadStore.currentUserId;
|
|
1135
|
+
var currentChannel = threadStore.currentChannel, allThreadMessages = threadStore.allThreadMessages, localThreadMessages = threadStore.localThreadMessages, parentMessage = threadStore.parentMessage, channelState = threadStore.channelState, threadListState = threadStore.threadListState, parentMessageState = threadStore.parentMessageState, hasMorePrev = threadStore.hasMorePrev, hasMoreNext = threadStore.hasMoreNext, emojiContainer = threadStore.emojiContainer, isMuted = threadStore.isMuted, isChannelFrozen = threadStore.isChannelFrozen, currentUserId = threadStore.currentUserId, typingMembers = threadStore.typingMembers;
|
|
1117
1136
|
// Initialization
|
|
1118
1137
|
React.useEffect(function () {
|
|
1119
1138
|
threadDispatcher({
|
|
@@ -1194,7 +1213,7 @@ var ThreadProvider = function (props) {
|
|
|
1194
1213
|
var sendMultipleFilesMessage = useSendMultipleFilesMessage.useSendMultipleFilesMessage({
|
|
1195
1214
|
currentChannel: currentChannel,
|
|
1196
1215
|
onBeforeSendMultipleFilesMessage: onBeforeSendMultipleFilesMessage,
|
|
1197
|
-
publishingModules: [
|
|
1216
|
+
publishingModules: [pubSub_topics.PublishingModuleType.THREAD],
|
|
1198
1217
|
}, {
|
|
1199
1218
|
logger: logger,
|
|
1200
1219
|
pubSub: pubSub,
|
|
@@ -1245,6 +1264,7 @@ var ThreadProvider = function (props) {
|
|
|
1245
1264
|
isMuted: isMuted,
|
|
1246
1265
|
isChannelFrozen: isChannelFrozen,
|
|
1247
1266
|
currentUserId: currentUserId,
|
|
1267
|
+
typingMembers: typingMembers,
|
|
1248
1268
|
} },
|
|
1249
1269
|
React.createElement(UserProfileContext.UserProfileProvider, { disableUserProfile: disableUserProfile !== null && disableUserProfile !== void 0 ? disableUserProfile : config.disableUserProfile, renderUserProfile: renderUserProfile, onUserProfileMessage: onUserProfileMessage }, children)));
|
|
1250
1270
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"context.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/cjs/Thread.js
CHANGED
|
@@ -3,53 +3,54 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var Thread_context = require('./Thread/context.js');
|
|
5
5
|
var Thread_components_ThreadUI = require('./Thread/components/ThreadUI.js');
|
|
6
|
-
require('./chunks/bundle-
|
|
7
|
-
require('./
|
|
8
|
-
require('./chunks/bundle-
|
|
9
|
-
require('./chunks/bundle-
|
|
10
|
-
require('./chunks/bundle-
|
|
11
|
-
require('./chunks/bundle-
|
|
12
|
-
require('./chunks/bundle-
|
|
6
|
+
require('./chunks/bundle-L6ZM4yRd.js');
|
|
7
|
+
require('./chunks/bundle-ONpNGzUN.js');
|
|
8
|
+
require('./chunks/bundle-5SOWNViS.js');
|
|
9
|
+
require('./chunks/bundle-2s7rxLn3.js');
|
|
10
|
+
require('./chunks/bundle-KQyVyq1q.js');
|
|
11
|
+
require('./chunks/bundle-YXCUHkka.js');
|
|
12
|
+
require('./chunks/bundle-tFwEElQ4.js');
|
|
13
13
|
require('./utils/message/getOutgoingMessageState.js');
|
|
14
|
-
require('./chunks/bundle-
|
|
14
|
+
require('./chunks/bundle-qnGmz8ai.js');
|
|
15
15
|
require('@sendbird/chat/message');
|
|
16
|
-
require('./chunks/bundle-
|
|
16
|
+
require('./chunks/bundle-r81ddDqP.js');
|
|
17
17
|
require('./useSendbirdStateContext.js');
|
|
18
18
|
require('./withSendbird.js');
|
|
19
19
|
require('./Thread/context/types.js');
|
|
20
20
|
require('@sendbird/chat');
|
|
21
|
-
require('./chunks/bundle-
|
|
21
|
+
require('./chunks/bundle-qtVxG8eL.js');
|
|
22
22
|
require('@sendbird/chat/groupChannel');
|
|
23
|
-
require('./chunks/bundle
|
|
24
|
-
require('./chunks/bundle-
|
|
25
|
-
require('./chunks/bundle-
|
|
26
|
-
require('./chunks/bundle-
|
|
27
|
-
require('./chunks/bundle-
|
|
28
|
-
require('./chunks/bundle-
|
|
23
|
+
require('./chunks/bundle--NEfAH1H.js');
|
|
24
|
+
require('./chunks/bundle-QkZHyxSs.js');
|
|
25
|
+
require('./chunks/bundle-9GSi_LkG.js');
|
|
26
|
+
require('./chunks/bundle-3AvVQDMo.js');
|
|
27
|
+
require('./chunks/bundle-wvuQ096A.js');
|
|
28
|
+
require('./chunks/bundle-mLp_yP52.js');
|
|
29
|
+
require('./chunks/bundle-1Rk5zlYY.js');
|
|
29
30
|
require('./Thread/components/ParentMessageInfo.js');
|
|
30
|
-
require('./chunks/bundle-
|
|
31
|
-
require('./chunks/bundle-
|
|
31
|
+
require('./chunks/bundle-IpMpyY9U.js');
|
|
32
|
+
require('./chunks/bundle-6lAqYT4t.js');
|
|
32
33
|
require('react-dom');
|
|
33
|
-
require('./chunks/bundle
|
|
34
|
-
require('./chunks/bundle-
|
|
34
|
+
require('./chunks/bundle--OdfDOjY.js');
|
|
35
|
+
require('./chunks/bundle-K0D5qG0j.js');
|
|
35
36
|
require('./ui/IconButton.js');
|
|
36
37
|
require('./ui/Button.js');
|
|
37
38
|
require('./ui/Icon.js');
|
|
38
|
-
require('./chunks/bundle-
|
|
39
|
+
require('./chunks/bundle-mtATkaCS.js');
|
|
39
40
|
require('./Thread/components/ParentMessageInfoItem.js');
|
|
40
41
|
require('./ui/ImageRenderer.js');
|
|
41
42
|
require('./ui/TextButton.js');
|
|
42
|
-
require('./chunks/bundle-
|
|
43
|
+
require('./chunks/bundle-DvBNc5Qi.js');
|
|
43
44
|
require('./ui/EmojiReactions.js');
|
|
44
45
|
require('./ui/ReactionBadge.js');
|
|
45
46
|
require('./ui/ReactionButton.js');
|
|
46
|
-
require('./chunks/bundle-
|
|
47
|
+
require('./chunks/bundle-6upaSfL9.js');
|
|
47
48
|
require('./ui/ContextMenu.js');
|
|
48
49
|
require('./ui/SortByRow.js');
|
|
49
50
|
require('./ui/BottomSheet.js');
|
|
50
51
|
require('./hooks/useModal.js');
|
|
51
52
|
require('./ui/UserListItem.js');
|
|
52
|
-
require('./
|
|
53
|
+
require('./chunks/bundle-03qc56fX.js');
|
|
53
54
|
require('./ui/MutedAvatarOverlay.js');
|
|
54
55
|
require('./ui/Checkbox.js');
|
|
55
56
|
require('./ui/UserProfile.js');
|
|
@@ -60,52 +61,51 @@ require('./Message/context.js');
|
|
|
60
61
|
require('./ui/VoiceMessageItemBody.js');
|
|
61
62
|
require('./ui/ProgressBar.js');
|
|
62
63
|
require('./VoicePlayer/useVoicePlayer.js');
|
|
63
|
-
require('./chunks/bundle-
|
|
64
|
+
require('./chunks/bundle-S6CVN67K.js');
|
|
64
65
|
require('./VoiceRecorder/context.js');
|
|
65
66
|
require('./ui/PlaybackTime.js');
|
|
66
67
|
require('./ui/Loader.js');
|
|
67
|
-
require('./chunks/bundle-
|
|
68
|
-
require('./chunks/bundle-
|
|
68
|
+
require('./chunks/bundle-0ugulztA.js');
|
|
69
|
+
require('./chunks/bundle-ww8_Dx5u.js');
|
|
69
70
|
require('./ui/MentionLabel.js');
|
|
70
71
|
require('./ui/LinkLabel.js');
|
|
71
|
-
require('./chunks/bundle-
|
|
72
|
-
require('./chunks/bundle-
|
|
73
|
-
require('./chunks/bundle-
|
|
74
|
-
require('./chunks/bundle-
|
|
75
|
-
require('./chunks/bundle-tmB_l3Q9.js');
|
|
72
|
+
require('./chunks/bundle-r1UVi2ak.js');
|
|
73
|
+
require('./chunks/bundle-vvpfLay7.js');
|
|
74
|
+
require('./chunks/bundle-4NrBnGEN.js');
|
|
75
|
+
require('./chunks/bundle-nsOL78qf.js');
|
|
76
76
|
require('./Channel/hooks/useInitialMessagesFetch.js');
|
|
77
|
-
require('./chunks/bundle-
|
|
77
|
+
require('./chunks/bundle-zNIQydjM.js');
|
|
78
78
|
require('./Channel/components/SuggestedMentionList.js');
|
|
79
|
-
require('./chunks/bundle-
|
|
79
|
+
require('./chunks/bundle-X1dqH2Sm.js');
|
|
80
80
|
require('./ui/MessageItemMenu.js');
|
|
81
|
-
require('./chunks/bundle-
|
|
81
|
+
require('./chunks/bundle-3PJj-XfK.js');
|
|
82
82
|
require('./ui/MessageItemReactionMenu.js');
|
|
83
83
|
require('./ui/MessageInput.js');
|
|
84
|
-
require('./chunks/bundle-
|
|
84
|
+
require('./chunks/bundle-jl7T2kDZ.js');
|
|
85
85
|
require('dompurify');
|
|
86
|
-
require('./chunks/bundle-
|
|
87
|
-
require('./chunks/bundle-
|
|
88
|
-
require('./chunks/bundle-
|
|
89
|
-
require('./chunks/bundle-
|
|
86
|
+
require('./chunks/bundle-4ajshWV-.js');
|
|
87
|
+
require('./chunks/bundle-veamuCpa.js');
|
|
88
|
+
require('./chunks/bundle-NS_si8Av.js');
|
|
89
|
+
require('./chunks/bundle-1SeNKVYf.js');
|
|
90
90
|
require('./Message/hooks/useDirtyGetMentions.js');
|
|
91
91
|
require('./Thread/components/ThreadHeader.js');
|
|
92
92
|
require('./Thread/components/ThreadList.js');
|
|
93
93
|
require('./Thread/components/ThreadListItem.js');
|
|
94
94
|
require('./ui/DateSeparator.js');
|
|
95
|
-
require('./chunks/bundle-
|
|
96
|
-
require('./chunks/bundle-
|
|
97
|
-
require('./chunks/bundle-
|
|
95
|
+
require('./chunks/bundle-7kVSLQPz.js');
|
|
96
|
+
require('./chunks/bundle-M4KuiFU1.js');
|
|
97
|
+
require('./chunks/bundle-NXDlGjOm.js');
|
|
98
98
|
require('./ui/TextMessageItemBody.js');
|
|
99
99
|
require('./ui/OGMessageItemBody.js');
|
|
100
100
|
require('./ui/FileMessageItemBody.js');
|
|
101
101
|
require('./ui/ThumbnailMessageItemBody.js');
|
|
102
|
-
require('./chunks/bundle-
|
|
102
|
+
require('./chunks/bundle-GJqVurdA.js');
|
|
103
103
|
require('./ui/UnknownMessageItemBody.js');
|
|
104
104
|
require('date-fns');
|
|
105
105
|
require('./Thread/components/ThreadMessageInput.js');
|
|
106
|
-
require('./chunks/bundle-
|
|
106
|
+
require('./chunks/bundle-xXG5L42q.js');
|
|
107
107
|
require('./VoiceRecorder/useVoiceRecorder.js');
|
|
108
|
-
require('./chunks/bundle-
|
|
108
|
+
require('./chunks/bundle-UEKzL00k.js');
|
|
109
109
|
require('./ui/PlaceHolder.js');
|
|
110
110
|
|
|
111
111
|
var Thread = function (props) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('react');
|
|
4
|
-
var VoicePlayer_context = require('../chunks/bundle-
|
|
5
|
-
require('../chunks/bundle-
|
|
4
|
+
var VoicePlayer_context = require('../chunks/bundle-S6CVN67K.js');
|
|
5
|
+
require('../chunks/bundle-9GSi_LkG.js');
|
|
6
6
|
require('../useSendbirdStateContext.js');
|
|
7
|
-
require('../chunks/bundle-
|
|
7
|
+
require('../chunks/bundle-2s7rxLn3.js');
|
|
8
8
|
require('../withSendbird.js');
|
|
9
9
|
|
|
10
10
|
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
|
-
var VoicePlayer_context = require('../chunks/bundle-
|
|
5
|
-
var consts = require('../chunks/bundle-
|
|
4
|
+
var VoicePlayer_context = require('../chunks/bundle-S6CVN67K.js');
|
|
5
|
+
var consts = require('../chunks/bundle-9GSi_LkG.js');
|
|
6
6
|
var VoiceRecorder_context = require('../VoiceRecorder/context.js');
|
|
7
|
-
require('../chunks/bundle-
|
|
7
|
+
require('../chunks/bundle-2s7rxLn3.js');
|
|
8
8
|
require('../useSendbirdStateContext.js');
|
|
9
9
|
require('../withSendbird.js');
|
|
10
|
-
require('../chunks/bundle-
|
|
11
|
-
require('../chunks/bundle-
|
|
12
|
-
require('../chunks/bundle-
|
|
13
|
-
require('../chunks/bundle-
|
|
10
|
+
require('../chunks/bundle-3AvVQDMo.js');
|
|
11
|
+
require('../chunks/bundle-wvuQ096A.js');
|
|
12
|
+
require('../chunks/bundle-YXCUHkka.js');
|
|
13
|
+
require('../chunks/bundle-6lAqYT4t.js');
|
|
14
14
|
require('react-dom');
|
|
15
|
-
require('../chunks/bundle
|
|
16
|
-
require('../chunks/bundle-
|
|
15
|
+
require('../chunks/bundle--OdfDOjY.js');
|
|
16
|
+
require('../chunks/bundle-K0D5qG0j.js');
|
|
17
17
|
require('../ui/IconButton.js');
|
|
18
18
|
require('../ui/Button.js');
|
|
19
|
-
require('../chunks/bundle-
|
|
19
|
+
require('../chunks/bundle-1Rk5zlYY.js');
|
|
20
20
|
require('../ui/Icon.js');
|
|
21
21
|
|
|
22
22
|
var generateGroupKey = function (channelUrl, key) {
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var LocalizationContext = require('../chunks/bundle-
|
|
7
|
-
var ui_Modal = require('../chunks/bundle-
|
|
8
|
-
var consts = require('../chunks/bundle-
|
|
6
|
+
var LocalizationContext = require('../chunks/bundle-3AvVQDMo.js');
|
|
7
|
+
var ui_Modal = require('../chunks/bundle-6lAqYT4t.js');
|
|
8
|
+
var consts = require('../chunks/bundle-9GSi_LkG.js');
|
|
9
9
|
var useSendbirdStateContext = require('../useSendbirdStateContext.js');
|
|
10
|
-
require('../chunks/bundle-
|
|
11
|
-
require('../chunks/bundle-
|
|
10
|
+
require('../chunks/bundle-wvuQ096A.js');
|
|
11
|
+
require('../chunks/bundle-YXCUHkka.js');
|
|
12
12
|
require('react-dom');
|
|
13
|
-
require('../chunks/bundle
|
|
14
|
-
require('../chunks/bundle-
|
|
13
|
+
require('../chunks/bundle--OdfDOjY.js');
|
|
14
|
+
require('../chunks/bundle-K0D5qG0j.js');
|
|
15
15
|
require('../ui/IconButton.js');
|
|
16
|
-
require('../chunks/bundle-
|
|
16
|
+
require('../chunks/bundle-2s7rxLn3.js');
|
|
17
17
|
require('../ui/Button.js');
|
|
18
|
-
require('../chunks/bundle-
|
|
18
|
+
require('../chunks/bundle-1Rk5zlYY.js');
|
|
19
19
|
require('../ui/Icon.js');
|
|
20
20
|
require('../withSendbird.js');
|
|
21
21
|
|
|
@@ -58,7 +58,7 @@ var VoiceRecorderProvider = function (props) {
|
|
|
58
58
|
var _e = React.useState(null), webAudioUtils = _e[0], setWebAudioUtils = _e[1];
|
|
59
59
|
React.useEffect(function () {
|
|
60
60
|
if (isVoiceMessageEnabled && !webAudioUtils) {
|
|
61
|
-
Promise.resolve().then(function () { return require('../chunks/bundle-
|
|
61
|
+
Promise.resolve().then(function () { return require('../chunks/bundle-IZeqjgE7.js'); }).then(function (data) {
|
|
62
62
|
setWebAudioUtils(data);
|
|
63
63
|
});
|
|
64
64
|
}
|