@sendbird/uikit-react 3.8.0 → 3.8.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 +59 -59
- package/CHANGELOG.md +54 -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 +81 -54
- package/Channel/components/MessageList.js.map +1 -1
- 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--Hrow3p-.js +42 -0
- package/chunks/bundle--Hrow3p-.js.map +1 -0
- package/chunks/{bundle-YEttY5xG.js → bundle-06CfHADE.js} +1 -1
- package/chunks/bundle-06CfHADE.js.map +1 -0
- package/chunks/{bundle-9KsbryQI.js → bundle-0BwB1B7t.js} +1 -1
- package/chunks/{bundle-9KsbryQI.js.map → bundle-0BwB1B7t.js.map} +1 -1
- package/chunks/{bundle--F_1NyoU.js → bundle-0plqkdfC.js} +1 -1
- package/chunks/bundle-0plqkdfC.js.map +1 -0
- package/chunks/{bundle-mpeh7m6z.js → bundle-1uIyPhfL.js} +1 -1
- package/chunks/bundle-1uIyPhfL.js.map +1 -0
- package/chunks/{bundle-1P01-roD.js → bundle-2oi09sb6.js} +7 -7
- package/chunks/{bundle-1P01-roD.js.map → bundle-2oi09sb6.js.map} +1 -1
- package/chunks/{bundle-hjECCUV3.js → bundle-3KS1YB09.js} +2 -2
- package/chunks/bundle-3KS1YB09.js.map +1 -0
- package/chunks/{bundle-_qiqf8_l.js → bundle-3oeQjqp5.js} +1 -1
- package/chunks/bundle-3oeQjqp5.js.map +1 -0
- package/chunks/{bundle-5yKxJk_M.js → bundle-4zdVdGkr.js} +1 -1
- package/chunks/{bundle-5yKxJk_M.js.map → bundle-4zdVdGkr.js.map} +1 -1
- package/chunks/{bundle-NCqCEOuY.js → bundle-5Z7nY-qa.js} +4 -4
- package/chunks/{bundle-NCqCEOuY.js.map → bundle-5Z7nY-qa.js.map} +1 -1
- package/chunks/{bundle-qunsoajv.js → bundle-62G-DTVs.js} +5 -5
- package/chunks/{bundle-qunsoajv.js.map → bundle-62G-DTVs.js.map} +1 -1
- package/chunks/{bundle-PgBVk3py.js → bundle-6G8kMIS1.js} +12 -12
- package/chunks/{bundle-PgBVk3py.js.map → bundle-6G8kMIS1.js.map} +1 -1
- package/chunks/{bundle-vnmGzWMt.js → bundle-7-9WA7QK.js} +4 -4
- package/chunks/{bundle-vnmGzWMt.js.map → bundle-7-9WA7QK.js.map} +1 -1
- package/chunks/{bundle-prRsVvhT.js → bundle-7DHTLnV3.js} +2 -2
- package/chunks/{bundle-prRsVvhT.js.map → bundle-7DHTLnV3.js.map} +1 -1
- package/chunks/{bundle-btDN-R-c.js → bundle-9uR-6efo.js} +3 -3
- package/chunks/bundle-9uR-6efo.js.map +1 -0
- package/chunks/{bundle-hKtwSqbO.js → bundle-AVOWwEQ4.js} +1 -1
- package/chunks/{bundle-hKtwSqbO.js.map → bundle-AVOWwEQ4.js.map} +1 -1
- package/chunks/{bundle-zoxfINxQ.js → bundle-DwZzB6nL.js} +3 -3
- package/chunks/bundle-DwZzB6nL.js.map +1 -0
- package/chunks/{bundle-zLBuOeRY.js → bundle-EZnDY3Tc.js} +7 -7
- package/chunks/bundle-EZnDY3Tc.js.map +1 -0
- package/chunks/{bundle-8zJE_DCx.js → bundle-F63fi8fP.js} +6 -6
- package/chunks/bundle-F63fi8fP.js.map +1 -0
- package/chunks/{bundle-v9a1_z0P.js → bundle-FQAabli1.js} +1 -1
- package/chunks/bundle-FQAabli1.js.map +1 -0
- package/chunks/{bundle-ubky9D9H.js → bundle-G3cS-S1W.js} +1 -1
- package/chunks/bundle-G3cS-S1W.js.map +1 -0
- package/chunks/{bundle-v0OWADVv.js → bundle-GqUhOzeC.js} +3 -3
- package/chunks/bundle-GqUhOzeC.js.map +1 -0
- package/chunks/{bundle-ftY5T58h.js → bundle-J7RD0FpU.js} +4 -4
- package/chunks/{bundle-ftY5T58h.js.map → bundle-J7RD0FpU.js.map} +1 -1
- package/chunks/{bundle-dLuEa16_.js → bundle-J7om32yx.js} +3 -3
- package/chunks/{bundle-dLuEa16_.js.map → bundle-J7om32yx.js.map} +1 -1
- package/chunks/{bundle-AI8e02c3.js → bundle-JGFwpJZJ.js} +1 -1
- package/chunks/bundle-JGFwpJZJ.js.map +1 -0
- package/chunks/{bundle-w9T6A0ez.js → bundle-KaSW5xxP.js} +9 -9
- package/{cjs/chunks/bundle-4q81wd8X.js.map → chunks/bundle-KaSW5xxP.js.map} +1 -1
- package/chunks/{bundle-h3JIYRTG.js → bundle-LPkaaUo4.js} +2 -2
- package/chunks/{bundle-h3JIYRTG.js.map → bundle-LPkaaUo4.js.map} +1 -1
- package/chunks/{bundle-rYAZn3lj.js → bundle-Lh7-eKPZ.js} +2 -2
- package/chunks/{bundle-rYAZn3lj.js.map → bundle-Lh7-eKPZ.js.map} +1 -1
- package/chunks/{bundle-Q8dtkDOa.js → bundle-NcHt88Fs.js} +1 -1
- package/chunks/bundle-NcHt88Fs.js.map +1 -0
- package/chunks/{bundle-EHReigfD.js → bundle-OoXqnc0l.js} +4 -4
- package/chunks/{bundle-EHReigfD.js.map → bundle-OoXqnc0l.js.map} +1 -1
- package/chunks/{bundle-qst5L6aH.js → bundle-PK1dgVwp.js} +5 -3
- package/chunks/bundle-PK1dgVwp.js.map +1 -0
- package/chunks/{bundle-x-4ukZm_.js → bundle-QKq7b-WA.js} +1 -1
- package/chunks/bundle-QKq7b-WA.js.map +1 -0
- package/chunks/{bundle-mL_86Tua.js → bundle-QeQV8Aqe.js} +1 -1
- package/chunks/bundle-QeQV8Aqe.js.map +1 -0
- package/chunks/{bundle-_YRJ7d9_.js → bundle-TWJd6cza.js} +26 -27
- package/chunks/{bundle-_YRJ7d9_.js.map → bundle-TWJd6cza.js.map} +1 -1
- package/chunks/{bundle-WCTKBopn.js → bundle-UjngV2Kp.js} +2 -2
- package/chunks/bundle-UjngV2Kp.js.map +1 -0
- package/chunks/{bundle-w2v7oZ9G.js → bundle-VSkY75XQ.js} +2 -2
- package/chunks/bundle-VSkY75XQ.js.map +1 -0
- package/chunks/{bundle-LUte5Kb5.js → bundle-YwxAxKwQ.js} +91 -166
- package/chunks/{bundle-LUte5Kb5.js.map → bundle-YwxAxKwQ.js.map} +1 -1
- package/chunks/{bundle-3mdR5HDw.js → bundle-ZZuBYhV1.js} +2 -2
- package/chunks/{bundle-3mdR5HDw.js.map → bundle-ZZuBYhV1.js.map} +1 -1
- package/chunks/bundle-_2iSz8ke.js +353 -0
- package/{cjs/chunks/bundle-kBUglm2K.js.map → chunks/bundle-_2iSz8ke.js.map} +1 -1
- package/chunks/{bundle-khKXutc3.js → bundle-_nlJSeuz.js} +1 -1
- package/chunks/bundle-_nlJSeuz.js.map +1 -0
- package/chunks/{bundle-ZmvX8uZ5.js → bundle-fQ2M7pMu.js} +5 -17
- package/chunks/bundle-fQ2M7pMu.js.map +1 -0
- package/chunks/{bundle-ANPmLOz8.js → bundle-fbmUkwMs.js} +4 -4
- package/chunks/{bundle-ANPmLOz8.js.map → bundle-fbmUkwMs.js.map} +1 -1
- package/chunks/{bundle-rLxuFUa1.js → bundle-gYyMZyCn.js} +5 -5
- package/chunks/bundle-gYyMZyCn.js.map +1 -0
- package/chunks/{bundle-bofQNMJb.js → bundle-iPDlyZXo.js} +1 -1
- package/chunks/bundle-iPDlyZXo.js.map +1 -0
- package/chunks/{bundle-Zl1hrCWc.js → bundle-jUubN32Z.js} +4 -4
- package/chunks/bundle-jUubN32Z.js.map +1 -0
- package/chunks/{bundle-53PRRrlp.js → bundle-kBtT3HBi.js} +3 -3
- package/chunks/{bundle-53PRRrlp.js.map → bundle-kBtT3HBi.js.map} +1 -1
- package/chunks/{bundle-cviP1IM2.js → bundle-kPOY92Qs.js} +3 -3
- package/chunks/{bundle-cviP1IM2.js.map → bundle-kPOY92Qs.js.map} +1 -1
- package/chunks/{bundle-kp1MMNMf.js → bundle-kaJaYGwQ.js} +1 -1
- package/chunks/bundle-kaJaYGwQ.js.map +1 -0
- package/chunks/{bundle-wMgBBDf9.js → bundle-lDOyfwhb.js} +3 -3
- package/chunks/bundle-lDOyfwhb.js.map +1 -0
- package/chunks/{bundle-FTgSGiKe.js → bundle-ltzZCtkR.js} +1 -1
- package/chunks/{bundle-FTgSGiKe.js.map → bundle-ltzZCtkR.js.map} +1 -1
- package/chunks/{bundle-H2I60B2B.js → bundle-ndy1oWfZ.js} +2 -2
- package/chunks/bundle-ndy1oWfZ.js.map +1 -0
- package/chunks/{bundle-bJrywUB-.js → bundle-r7_GdraW.js} +10 -10
- package/chunks/{bundle-TZXZa-F1.js.map → bundle-r7_GdraW.js.map} +1 -1
- package/chunks/{bundle-5iuNyt5M.js → bundle-rX7vrYxX.js} +1 -1
- package/chunks/{bundle-5iuNyt5M.js.map → bundle-rX7vrYxX.js.map} +1 -1
- package/chunks/{bundle-sOjc_nNQ.js → bundle-tK1qgIcU.js} +1 -1
- package/chunks/bundle-tK1qgIcU.js.map +1 -0
- package/chunks/{bundle-7FyFbzI4.js → bundle-um2Azmnd.js} +1 -1
- package/chunks/bundle-um2Azmnd.js.map +1 -0
- package/chunks/{bundle-r_VxbiS3.js → bundle-w-pB0qJ8.js} +1 -1
- package/chunks/bundle-w-pB0qJ8.js.map +1 -0
- package/chunks/bundle-x3udz03j.js +77 -0
- package/chunks/bundle-x3udz03j.js.map +1 -0
- package/chunks/{bundle-TZXZa-F1.js → bundle-zch8NdOh.js} +13 -19
- package/chunks/bundle-zch8NdOh.js.map +1 -0
- package/chunks/{bundle-M2ljBW6p.js → bundle-zqQY3xFx.js} +4 -4
- package/chunks/bundle-zqQY3xFx.js.map +1 -0
- 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 +80 -53
- package/cjs/Channel/components/MessageList.js.map +1 -1
- 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-BN7IOLFq.js → bundle-2KPLdyEL.js} +2 -2
- package/cjs/chunks/bundle-2KPLdyEL.js.map +1 -0
- package/cjs/chunks/{bundle-iwsbhMUN.js → bundle-3qeMVUne.js} +4 -4
- package/cjs/chunks/bundle-3qeMVUne.js.map +1 -0
- package/cjs/chunks/{bundle-L9ushBZQ.js → bundle-4iro9CUN.js} +1 -1
- package/cjs/chunks/bundle-4iro9CUN.js.map +1 -0
- package/cjs/chunks/{bundle-z-Bvsn0B.js → bundle-5l7POen0.js} +1 -1
- package/cjs/chunks/bundle-5l7POen0.js.map +1 -0
- package/cjs/chunks/bundle-6fWeHUzf.js +46 -0
- package/cjs/chunks/bundle-6fWeHUzf.js.map +1 -0
- package/cjs/chunks/{bundle-QmSa90PC.js → bundle-80bw1Z-w.js} +3 -3
- package/cjs/chunks/bundle-80bw1Z-w.js.map +1 -0
- package/cjs/chunks/{bundle-4q81wd8X.js → bundle-8lUFYwiz.js} +4 -17
- package/{chunks/bundle-ZmvX8uZ5.js.map → cjs/chunks/bundle-8lUFYwiz.js.map} +1 -1
- package/cjs/chunks/{bundle-6OOGDxxE.js → bundle-A9-xoiFy.js} +3 -3
- package/cjs/chunks/bundle-A9-xoiFy.js.map +1 -0
- package/cjs/chunks/{bundle-4bb_98h6.js → bundle-ACXel153.js} +1 -1
- package/cjs/chunks/bundle-ACXel153.js.map +1 -0
- package/cjs/chunks/{bundle-FHx0K-3z.js → bundle-BUF_nc4Q.js} +3 -3
- package/cjs/chunks/{bundle-FHx0K-3z.js.map → bundle-BUF_nc4Q.js.map} +1 -1
- package/cjs/chunks/{bundle-FLCJVplO.js → bundle-Bekm94S6.js} +3 -3
- package/cjs/chunks/bundle-Bekm94S6.js.map +1 -0
- package/cjs/chunks/{bundle-F7GEQVgT.js → bundle-Ch6xNfpK.js} +12 -12
- package/cjs/chunks/{bundle-F7GEQVgT.js.map → bundle-Ch6xNfpK.js.map} +1 -1
- package/cjs/chunks/{bundle-RlFjml8m.js → bundle-Co06yFqb.js} +4 -4
- package/{chunks/bundle-w9T6A0ez.js.map → cjs/chunks/bundle-Co06yFqb.js.map} +1 -1
- package/cjs/chunks/{bundle-RaQV-Bpr.js → bundle-DRPbz-J2.js} +1 -1
- package/cjs/chunks/bundle-DRPbz-J2.js.map +1 -0
- package/cjs/chunks/{bundle-kWUEW1ZN.js → bundle-DTSMqW5p.js} +1 -1
- package/cjs/chunks/bundle-DTSMqW5p.js.map +1 -0
- package/cjs/chunks/{bundle-n1yh-qDb.js → bundle-EVv3xRW8.js} +1 -1
- package/cjs/chunks/{bundle-n1yh-qDb.js.map → bundle-EVv3xRW8.js.map} +1 -1
- package/cjs/chunks/{bundle-tywVawyg.js → bundle-FCrfVx0P.js} +3 -3
- package/cjs/chunks/bundle-FCrfVx0P.js.map +1 -0
- package/cjs/chunks/{bundle-cttYM0DR.js → bundle-FI-ZNmbG.js} +1 -1
- package/cjs/chunks/bundle-FI-ZNmbG.js.map +1 -0
- package/cjs/chunks/{bundle-b4fiCQuI.js → bundle-LoNtsKOJ.js} +5 -5
- package/cjs/chunks/bundle-LoNtsKOJ.js.map +1 -0
- package/cjs/chunks/{bundle-lii4Ueh3.js → bundle-M6v8bdc6.js} +1 -1
- package/cjs/chunks/bundle-M6v8bdc6.js.map +1 -0
- package/cjs/chunks/{bundle-g0lpRY8_.js → bundle-MB8QdyyQ.js} +1 -1
- package/cjs/chunks/bundle-MB8QdyyQ.js.map +1 -0
- package/cjs/chunks/{bundle-QfhZ2YNP.js → bundle-MwYMtlCB.js} +2 -2
- package/cjs/chunks/{bundle-QfhZ2YNP.js.map → bundle-MwYMtlCB.js.map} +1 -1
- package/cjs/chunks/{bundle-ELeM0_1Y.js → bundle-NOQysszZ.js} +1 -1
- package/cjs/chunks/bundle-NOQysszZ.js.map +1 -0
- package/cjs/chunks/{bundle-tRBVL0r6.js → bundle-OfmF0BBb.js} +4 -4
- package/cjs/chunks/{bundle-tRBVL0r6.js.map → bundle-OfmF0BBb.js.map} +1 -1
- package/cjs/chunks/{bundle-gS0bojlA.js → bundle-PoR4V_kd.js} +1 -1
- package/cjs/chunks/bundle-PoR4V_kd.js.map +1 -0
- package/cjs/chunks/{bundle-I_9_5a8a.js → bundle-RG3ZDmvE.js} +1 -1
- package/cjs/chunks/{bundle-I_9_5a8a.js.map → bundle-RG3ZDmvE.js.map} +1 -1
- package/cjs/chunks/{bundle-zr9ZXBrm.js → bundle-RV4B0RCM.js} +2 -2
- package/cjs/chunks/bundle-RV4B0RCM.js.map +1 -0
- package/cjs/chunks/{bundle-TEIqVGqn.js → bundle-TCdgqawd.js} +2 -2
- package/cjs/chunks/bundle-TCdgqawd.js.map +1 -0
- package/cjs/chunks/{bundle-P_B0eyVT.js → bundle-VHUezYnn.js} +1 -1
- package/cjs/chunks/bundle-VHUezYnn.js.map +1 -0
- package/cjs/chunks/{bundle-11ybpGNN.js → bundle-Y0ibVW_O.js} +7 -7
- package/cjs/chunks/bundle-Y0ibVW_O.js.map +1 -0
- package/cjs/chunks/{bundle-dXhGOQQM.js → bundle-YRW87MiX.js} +1 -1
- package/cjs/chunks/bundle-YRW87MiX.js.map +1 -0
- package/cjs/chunks/{bundle-gMxOq93o.js → bundle-Z8uBiYyS.js} +1 -1
- package/cjs/chunks/bundle-Z8uBiYyS.js.map +1 -0
- package/cjs/chunks/{bundle-DZeKHvMp.js → bundle-ZYvG_yE0.js} +6 -6
- package/cjs/chunks/bundle-ZYvG_yE0.js.map +1 -0
- package/cjs/chunks/{bundle-Dwrq46Xb.js → bundle-_R3HdLLP.js} +26 -27
- package/cjs/chunks/{bundle-Dwrq46Xb.js.map → bundle-_R3HdLLP.js.map} +1 -1
- package/cjs/chunks/{bundle-4DATo50q.js → bundle-_yIYQoui.js} +95 -170
- package/cjs/chunks/{bundle-4DATo50q.js.map → bundle-_yIYQoui.js.map} +1 -1
- package/cjs/chunks/{bundle-tmB_l3Q9.js → bundle-a_NGo240.js} +1 -1
- package/cjs/chunks/bundle-a_NGo240.js.map +1 -0
- package/cjs/chunks/{bundle-c6O8NjZI.js → bundle-bQffWPr0.js} +5 -2
- package/cjs/chunks/bundle-bQffWPr0.js.map +1 -0
- package/cjs/chunks/{bundle-CUP2x37z.js → bundle-cKt6NzI1.js} +3 -3
- package/cjs/chunks/{bundle-CUP2x37z.js.map → bundle-cKt6NzI1.js.map} +1 -1
- package/cjs/chunks/{bundle-6ziaqiUd.js → bundle-fTDV9UxX.js} +3 -3
- package/cjs/chunks/bundle-fTDV9UxX.js.map +1 -0
- package/cjs/chunks/{bundle-41ZfOrRZ.js → bundle-h48X_8mu.js} +4 -4
- package/cjs/chunks/{bundle-41ZfOrRZ.js.map → bundle-h48X_8mu.js.map} +1 -1
- package/cjs/chunks/{bundle-Y9TkHVI5.js → bundle-kkxTVcGD.js} +1 -1
- package/cjs/chunks/bundle-kkxTVcGD.js.map +1 -0
- package/cjs/chunks/{bundle-6o4fw0w0.js → bundle-leALuaxJ.js} +12 -18
- package/{chunks/bundle-Ael7hqI7.js.map → cjs/chunks/bundle-leALuaxJ.js.map} +1 -1
- package/cjs/chunks/bundle-lj7KorhP.js +81 -0
- package/cjs/chunks/bundle-lj7KorhP.js.map +1 -0
- package/cjs/chunks/{bundle-p1cCW0sH.js → bundle-lkluBCYi.js} +3 -3
- package/cjs/chunks/bundle-lkluBCYi.js.map +1 -0
- package/cjs/chunks/{bundle-hK4x7nmG.js → bundle-mc8PQfi_.js} +1 -1
- package/cjs/chunks/{bundle-hK4x7nmG.js.map → bundle-mc8PQfi_.js.map} +1 -1
- package/cjs/chunks/{bundle-_fjTT1-g.js → bundle-n6O0NYfY.js} +7 -7
- package/cjs/chunks/bundle-n6O0NYfY.js.map +1 -0
- package/cjs/chunks/{bundle-e-fvbugV.js → bundle-o5pJIgS7.js} +1 -1
- package/cjs/chunks/bundle-o5pJIgS7.js.map +1 -0
- package/cjs/chunks/{bundle-UooP2IDU.js → bundle-o66lc7qg.js} +5 -5
- package/cjs/chunks/bundle-o66lc7qg.js.map +1 -0
- package/cjs/chunks/{bundle-B2MaAm21.js → bundle-oISd80pA.js} +1 -1
- package/cjs/chunks/bundle-oISd80pA.js.map +1 -0
- package/cjs/chunks/{bundle-BJe68nS0.js → bundle-oiMScSG6.js} +3 -3
- package/{chunks/bundle-bJrywUB-.js.map → cjs/chunks/bundle-oiMScSG6.js.map} +1 -1
- package/cjs/chunks/{bundle-28p7K0N-.js → bundle-pLajF9mf.js} +2 -2
- package/cjs/chunks/{bundle-28p7K0N-.js.map → bundle-pLajF9mf.js.map} +1 -1
- package/cjs/chunks/{bundle-JggdKsJa.js → bundle-t70SIG3R.js} +10 -10
- package/cjs/chunks/bundle-t70SIG3R.js.map +1 -0
- package/cjs/chunks/{bundle-kBUglm2K.js → bundle-tooLK5gn.js} +4 -4
- package/cjs/chunks/bundle-tooLK5gn.js.map +1 -0
- package/cjs/chunks/{bundle-YNHu-c84.js → bundle-u4ZfKyD_.js} +2 -2
- package/cjs/chunks/bundle-u4ZfKyD_.js.map +1 -0
- package/cjs/chunks/{bundle-4rFcKXQa.js → bundle-uE1K1eGs.js} +2 -2
- package/cjs/chunks/{bundle-4rFcKXQa.js.map → bundle-uE1K1eGs.js.map} +1 -1
- package/cjs/chunks/bundle-vWOLHFBL.js +356 -0
- package/cjs/chunks/bundle-vWOLHFBL.js.map +1 -0
- package/cjs/chunks/{bundle-1yOirqug.js → bundle-viTxhrPr.js} +1 -1
- package/cjs/chunks/bundle-viTxhrPr.js.map +1 -0
- package/cjs/chunks/{bundle-g_OXBrgT.js → bundle-wPu8WyIh.js} +1 -1
- package/cjs/chunks/bundle-wPu8WyIh.js.map +1 -0
- package/cjs/chunks/{bundle-P0kNl8GH.js → bundle-xy995kna.js} +11 -11
- package/cjs/chunks/bundle-xy995kna.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 +711 -653
- 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
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import React__default, { useRef, useContext, useEffect, useMemo, useState } from 'react';
|
|
2
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-
|
|
2
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-lDOyfwhb.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
4
|
-
import Avatar from '../../
|
|
5
|
-
import { L as LocalizationContext } from '../../chunks/bundle-
|
|
6
|
-
import { u as uuidv4 } from '../../chunks/bundle-
|
|
7
|
-
import { u as useChannelContext } from '../../chunks/bundle-
|
|
4
|
+
import { A as Avatar } from '../../chunks/bundle-x3udz03j.js';
|
|
5
|
+
import { L as LocalizationContext } from '../../chunks/bundle-GqUhOzeC.js';
|
|
6
|
+
import { u as uuidv4 } from '../../chunks/bundle-iPDlyZXo.js';
|
|
7
|
+
import { u as useChannelContext } from '../../chunks/bundle-YwxAxKwQ.js';
|
|
8
8
|
import { useSendbirdStateContext } from '../../useSendbirdStateContext.js';
|
|
9
|
-
import { U as USER_MENTION_TEMP_CHAR, M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from '../../chunks/bundle-
|
|
10
|
-
import { M as MessageInputKeys } from '../../chunks/bundle-
|
|
9
|
+
import { U as USER_MENTION_TEMP_CHAR, M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from '../../chunks/bundle-JGFwpJZJ.js';
|
|
10
|
+
import { M as MessageInputKeys } from '../../chunks/bundle-tK1qgIcU.js';
|
|
11
11
|
import { useThreadContext } from '../../Thread/context.js';
|
|
12
|
-
import '../../chunks/bundle-
|
|
13
|
-
import '../../chunks/bundle-
|
|
14
|
-
import '../../chunks/bundle-
|
|
12
|
+
import { c as __awaiter, d as __generator } from '../../chunks/bundle-AVOWwEQ4.js';
|
|
13
|
+
import '../../chunks/bundle-4zdVdGkr.js';
|
|
14
|
+
import '../../chunks/bundle-FQAabli1.js';
|
|
15
15
|
import '../../ui/ImageRenderer.js';
|
|
16
|
-
import '../../chunks/bundle-
|
|
17
|
-
import '../../chunks/bundle-
|
|
18
|
-
import '../../chunks/bundle-
|
|
19
|
-
import '../../chunks/bundle-
|
|
20
|
-
import '../../chunks/bundle-
|
|
16
|
+
import '../../chunks/bundle-ltzZCtkR.js';
|
|
17
|
+
import '../../chunks/bundle-G3cS-S1W.js';
|
|
18
|
+
import '../../chunks/bundle-fQ2M7pMu.js';
|
|
19
|
+
import '../../chunks/bundle-LPkaaUo4.js';
|
|
20
|
+
import '../../chunks/bundle-OoXqnc0l.js';
|
|
21
21
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
22
|
-
import '../../chunks/bundle-
|
|
22
|
+
import '../../chunks/bundle-0BwB1B7t.js';
|
|
23
23
|
import '@sendbird/chat/message';
|
|
24
|
-
import '../../chunks/bundle-
|
|
25
|
-
import '../../chunks/bundle-
|
|
24
|
+
import '../../chunks/bundle-PK1dgVwp.js';
|
|
25
|
+
import '../../chunks/bundle-3oeQjqp5.js';
|
|
26
26
|
import '@sendbird/chat/groupChannel';
|
|
27
27
|
import '../hooks/useInitialMessagesFetch.js';
|
|
28
|
-
import '../../
|
|
29
|
-
import '../../chunks/bundle-
|
|
30
|
-
import '../../chunks/bundle-
|
|
31
|
-
import '../../chunks/bundle-
|
|
28
|
+
import '../../chunks/bundle--Hrow3p-.js';
|
|
29
|
+
import '../../chunks/bundle-UjngV2Kp.js';
|
|
30
|
+
import '../../chunks/bundle-rX7vrYxX.js';
|
|
31
|
+
import '../../chunks/bundle-zch8NdOh.js';
|
|
32
32
|
import '../../withSendbird.js';
|
|
33
33
|
import '../../Thread/context/types.js';
|
|
34
34
|
import '@sendbird/chat';
|
|
@@ -58,6 +58,38 @@ function SuggestedUserMentionItem(props) {
|
|
|
58
58
|
React__default.createElement(Label, { className: "sendbird-mention-suggest-list__user-item__user-id", type: LabelTypography.SUBTITLE_2, color: LabelColors.ONBACKGROUND_2 }, member === null || member === void 0 ? void 0 : member.userId)));
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
+
function fetchMembersFromChannel(currentUserId, channel, maxSuggestionCount, searchString) {
|
|
62
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
63
|
+
return __generator(this, function (_a) {
|
|
64
|
+
return [2 /*return*/, channel.members
|
|
65
|
+
.sort(function (a, b) { var _a; return (_a = a.nickname) === null || _a === void 0 ? void 0 : _a.localeCompare(b.nickname); })
|
|
66
|
+
.filter(function (member) {
|
|
67
|
+
var _a;
|
|
68
|
+
return ((_a = member.nickname) === null || _a === void 0 ? void 0 : _a.toLowerCase().startsWith(searchString.toLowerCase()))
|
|
69
|
+
&& member.userId !== currentUserId
|
|
70
|
+
&& member.isActive;
|
|
71
|
+
}).slice(0, maxSuggestionCount)];
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
function fetchMembersFromQuery(currentUserId, channel, maxSuggestionCount, searchString) {
|
|
76
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
77
|
+
var query;
|
|
78
|
+
return __generator(this, function (_a) {
|
|
79
|
+
query = channel.createMemberListQuery({
|
|
80
|
+
limit: maxSuggestionCount + 1,
|
|
81
|
+
nicknameStartsWithFilter: searchString,
|
|
82
|
+
});
|
|
83
|
+
return [2 /*return*/, query.next()
|
|
84
|
+
.then(function (memberList) {
|
|
85
|
+
return memberList
|
|
86
|
+
.filter(function (member) { return currentUserId !== (member === null || member === void 0 ? void 0 : member.userId); })
|
|
87
|
+
.slice(0, maxSuggestionCount);
|
|
88
|
+
})];
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
|
|
61
93
|
var DEBOUNCING_TIME = 300;
|
|
62
94
|
function SuggestedMentionList(props) {
|
|
63
95
|
var _a, _b, _c, _d, _e;
|
|
@@ -75,7 +107,7 @@ function SuggestedMentionList(props) {
|
|
|
75
107
|
var _l = useState(null), timer = _l[0], setTimer = _l[1];
|
|
76
108
|
var _m = useState(''), searchString = _m[0], setSearchString = _m[1];
|
|
77
109
|
var _o = useState(''), lastSearchString = _o[0], setLastSearchString = _o[1];
|
|
78
|
-
var _p = useState(null),
|
|
110
|
+
var _p = useState(null), currentFocusedMember = _p[0], setCurrentFocusedMember = _p[1];
|
|
79
111
|
var _q = useState([]), currentMemberList = _q[0], setCurrentMemberList = _q[1];
|
|
80
112
|
useEffect(function () {
|
|
81
113
|
clearTimeout(timer);
|
|
@@ -86,50 +118,44 @@ function SuggestedMentionList(props) {
|
|
|
86
118
|
useEffect(function () {
|
|
87
119
|
if ((inputEvent === null || inputEvent === void 0 ? void 0 : inputEvent.key) === MessageInputKeys.Enter) {
|
|
88
120
|
if (currentMemberList.length > 0) {
|
|
89
|
-
onUserItemClick(
|
|
121
|
+
onUserItemClick(currentFocusedMember);
|
|
90
122
|
}
|
|
91
123
|
}
|
|
92
124
|
if ((inputEvent === null || inputEvent === void 0 ? void 0 : inputEvent.key) === MessageInputKeys.ArrowUp) {
|
|
93
|
-
var currentUserIndex = currentMemberList.findIndex(function (member) { return ((member === null || member === void 0 ? void 0 : member.userId) === (
|
|
125
|
+
var currentUserIndex = currentMemberList.findIndex(function (member) { return ((member === null || member === void 0 ? void 0 : member.userId) === (currentFocusedMember === null || currentFocusedMember === void 0 ? void 0 : currentFocusedMember.userId)); });
|
|
94
126
|
if (0 < currentUserIndex) {
|
|
95
|
-
|
|
127
|
+
setCurrentFocusedMember(currentMemberList[currentUserIndex - 1]);
|
|
96
128
|
onFocusItemChange(currentMemberList[currentUserIndex - 1]);
|
|
97
129
|
}
|
|
98
130
|
}
|
|
99
131
|
if ((inputEvent === null || inputEvent === void 0 ? void 0 : inputEvent.key) === MessageInputKeys.ArrowDown) {
|
|
100
|
-
var currentUserIndex = currentMemberList.findIndex(function (member) { return ((member === null || member === void 0 ? void 0 : member.userId) === (
|
|
132
|
+
var currentUserIndex = currentMemberList.findIndex(function (member) { return ((member === null || member === void 0 ? void 0 : member.userId) === (currentFocusedMember === null || currentFocusedMember === void 0 ? void 0 : currentFocusedMember.userId)); });
|
|
101
133
|
if (currentUserIndex < currentMemberList.length - 1) {
|
|
102
|
-
|
|
134
|
+
setCurrentFocusedMember(currentMemberList[currentUserIndex + 1]);
|
|
103
135
|
onFocusItemChange(currentMemberList[currentUserIndex + 1]);
|
|
104
136
|
}
|
|
105
137
|
}
|
|
106
138
|
}, [inputEvent]);
|
|
107
|
-
/* Fetch member list */
|
|
108
139
|
useEffect(function () {
|
|
109
|
-
if (!(channelInstance === null || channelInstance === void 0 ? void 0 : channelInstance.createMemberListQuery)) {
|
|
110
|
-
logger.warning('SuggestedMentionList: Creating member list query failed');
|
|
111
|
-
return;
|
|
112
|
-
}
|
|
113
140
|
if (lastSearchString && searchString.indexOf(lastSearchString) === 0 && currentMemberList.length === 0) {
|
|
114
141
|
// Don't need to request query again
|
|
115
142
|
return;
|
|
116
143
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
.slice(0, maxSuggestionCount);
|
|
144
|
+
if (channelInstance.isSuper) {
|
|
145
|
+
if (!(channelInstance === null || channelInstance === void 0 ? void 0 : channelInstance.createMemberListQuery)) {
|
|
146
|
+
logger.warning('SuggestedMentionList: Creating member list query failed');
|
|
147
|
+
return;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
var fetcher = channelInstance.isSuper ? fetchMembersFromQuery : fetchMembersFromChannel;
|
|
151
|
+
fetcher(currentUserId, channelInstance, maxSuggestionCount, searchString.slice(USER_MENTION_TEMP_CHAR.length))
|
|
152
|
+
.then(function (suggestingMembers) {
|
|
127
153
|
if (suggestingMembers.length < 1) {
|
|
128
154
|
logger.info('SuggestedMentionList: Fetched member list is empty');
|
|
129
155
|
}
|
|
130
156
|
else {
|
|
131
|
-
logger.info('SuggestedMentionList: Fetching member list succeeded', {
|
|
132
|
-
|
|
157
|
+
logger.info('SuggestedMentionList: Fetching member list succeeded', { memberList: suggestingMembers });
|
|
158
|
+
setCurrentFocusedMember(suggestingMembers[0]);
|
|
133
159
|
}
|
|
134
160
|
setLastSearchString(searchString);
|
|
135
161
|
onFetchUsers(suggestingMembers);
|
|
@@ -140,17 +166,27 @@ function SuggestedMentionList(props) {
|
|
|
140
166
|
logger.error('SuggestedMentionList: Fetching member list failed', error);
|
|
141
167
|
}
|
|
142
168
|
});
|
|
143
|
-
}, [
|
|
169
|
+
}, [
|
|
170
|
+
channelInstance === null || channelInstance === void 0 ? void 0 : channelInstance.url,
|
|
171
|
+
// We have to be specific like this or React would not recognize the changes in instances.
|
|
172
|
+
channelInstance.members.map(function (member) { return member.nickname; }).join(),
|
|
173
|
+
channelInstance.members.map(function (member) { return member.isActive; }).join(),
|
|
174
|
+
searchString,
|
|
175
|
+
maxSuggestionCount,
|
|
176
|
+
currentUserId,
|
|
177
|
+
currentMemberList.length,
|
|
178
|
+
lastSearchString,
|
|
179
|
+
]);
|
|
144
180
|
if (!ableAddMention && currentMemberList.length === 0) {
|
|
145
181
|
return null;
|
|
146
182
|
}
|
|
147
183
|
return (React__default.createElement("div", { className: "sendbird-mention-suggest-list ".concat(className), key: "sendbird-mention-suggest-list", ref: scrollRef },
|
|
148
|
-
ableAddMention && (currentMemberList === null || currentMemberList === void 0 ? void 0 : currentMemberList.map(function (member) { return (React__default.createElement(SuggestedUserMentionItem, { key: (member === null || member === void 0 ? void 0 : member.userId) || uuidv4(), member: member, isFocused: (member === null || member === void 0 ? void 0 : member.userId) === (
|
|
184
|
+
ableAddMention && (currentMemberList === null || currentMemberList === void 0 ? void 0 : currentMemberList.map(function (member) { return (React__default.createElement(SuggestedUserMentionItem, { key: (member === null || member === void 0 ? void 0 : member.userId) || uuidv4(), member: member, isFocused: (member === null || member === void 0 ? void 0 : member.userId) === (currentFocusedMember === null || currentFocusedMember === void 0 ? void 0 : currentFocusedMember.userId), parentScrollRef: scrollRef, onClick: function (_a) {
|
|
149
185
|
var member = _a.member;
|
|
150
186
|
onUserItemClick(member);
|
|
151
187
|
}, onMouseOver: function (_a) {
|
|
152
188
|
var member = _a.member;
|
|
153
|
-
|
|
189
|
+
setCurrentFocusedMember(member);
|
|
154
190
|
}, renderUserMentionItem: renderUserMentionItem })); })),
|
|
155
191
|
!ableAddMention && (React__default.createElement("div", { className: "sendbird-mention-suggest-list__notice-item" },
|
|
156
192
|
React__default.createElement(Icon, { className: "sendbird-mention-suggest-list__notice-item__icon", type: IconTypes.INFO, fillColor: IconColors.ON_BACKGROUND_2, width: "20px", height: "20px" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuggestedMentionList.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SuggestedMentionList.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import React__default, { useState, useEffect, useContext } from 'react';
|
|
2
2
|
import { GroupChannelHandler } from '@sendbird/chat/groupChannel';
|
|
3
|
-
import { L as LocalizationContext } from '../../chunks/bundle-
|
|
4
|
-
import { u as uuidv4 } from '../../chunks/bundle-
|
|
5
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-
|
|
6
|
-
import { u as useChannelContext } from '../../chunks/bundle-
|
|
3
|
+
import { L as LocalizationContext } from '../../chunks/bundle-GqUhOzeC.js';
|
|
4
|
+
import { u as uuidv4 } from '../../chunks/bundle-iPDlyZXo.js';
|
|
5
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-lDOyfwhb.js';
|
|
6
|
+
import { u as useChannelContext } from '../../chunks/bundle-YwxAxKwQ.js';
|
|
7
7
|
import { useSendbirdStateContext } from '../../useSendbirdStateContext.js';
|
|
8
|
-
import '../../chunks/bundle-
|
|
9
|
-
import '../../chunks/bundle-
|
|
10
|
-
import '../../chunks/bundle-
|
|
11
|
-
import '../../chunks/bundle-
|
|
12
|
-
import '../../chunks/bundle-
|
|
13
|
-
import '../../chunks/bundle-
|
|
14
|
-
import '../../chunks/bundle-
|
|
15
|
-
import '../../chunks/bundle-
|
|
8
|
+
import '../../chunks/bundle-4zdVdGkr.js';
|
|
9
|
+
import '../../chunks/bundle-ltzZCtkR.js';
|
|
10
|
+
import '../../chunks/bundle-AVOWwEQ4.js';
|
|
11
|
+
import '../../chunks/bundle-G3cS-S1W.js';
|
|
12
|
+
import '../../chunks/bundle-JGFwpJZJ.js';
|
|
13
|
+
import '../../chunks/bundle-fQ2M7pMu.js';
|
|
14
|
+
import '../../chunks/bundle-LPkaaUo4.js';
|
|
15
|
+
import '../../chunks/bundle-OoXqnc0l.js';
|
|
16
16
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
17
|
-
import '../../chunks/bundle-
|
|
17
|
+
import '../../chunks/bundle-0BwB1B7t.js';
|
|
18
18
|
import '@sendbird/chat/message';
|
|
19
|
-
import '../../chunks/bundle-
|
|
20
|
-
import '../../chunks/bundle-
|
|
19
|
+
import '../../chunks/bundle-PK1dgVwp.js';
|
|
20
|
+
import '../../chunks/bundle-3oeQjqp5.js';
|
|
21
21
|
import '../hooks/useInitialMessagesFetch.js';
|
|
22
|
-
import '../../
|
|
23
|
-
import '../../chunks/bundle-
|
|
24
|
-
import '../../chunks/bundle-
|
|
25
|
-
import '../../chunks/bundle-
|
|
22
|
+
import '../../chunks/bundle--Hrow3p-.js';
|
|
23
|
+
import '../../chunks/bundle-UjngV2Kp.js';
|
|
24
|
+
import '../../chunks/bundle-rX7vrYxX.js';
|
|
25
|
+
import '../../chunks/bundle-zch8NdOh.js';
|
|
26
26
|
import '../../withSendbird.js';
|
|
27
27
|
|
|
28
28
|
var TypingIndicatorText = function (_a) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React__default, { useContext, useMemo } from 'react';
|
|
2
|
-
import { L as LocalizationContext } from '../../chunks/bundle-
|
|
3
|
-
import { L as Label, b as LabelColors, a as LabelTypography } from '../../chunks/bundle-
|
|
2
|
+
import { L as LocalizationContext } from '../../chunks/bundle-GqUhOzeC.js';
|
|
3
|
+
import { L as Label, b as LabelColors, a as LabelTypography } from '../../chunks/bundle-lDOyfwhb.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
5
|
-
import { f as format } from '../../chunks/bundle-
|
|
6
|
-
import '../../chunks/bundle-
|
|
7
|
-
import '../../chunks/bundle-
|
|
8
|
-
import '../../chunks/bundle-
|
|
9
|
-
import '../../chunks/bundle-
|
|
5
|
+
import { f as format } from '../../chunks/bundle-LPkaaUo4.js';
|
|
6
|
+
import '../../chunks/bundle-4zdVdGkr.js';
|
|
7
|
+
import '../../chunks/bundle-ltzZCtkR.js';
|
|
8
|
+
import '../../chunks/bundle-AVOWwEQ4.js';
|
|
9
|
+
import '../../chunks/bundle-FQAabli1.js';
|
|
10
10
|
|
|
11
11
|
var UnreadCount = function (_a) {
|
|
12
12
|
var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.count, count = _c === void 0 ? 0 : _c, _d = _a.time, time = _d === void 0 ? '' : _d, onClick = _a.onClick, lastReadAt = _a.lastReadAt;
|
|
13
|
-
var
|
|
13
|
+
var _e = useContext(LocalizationContext), stringSet = _e.stringSet, dateLocale = _e.dateLocale;
|
|
14
14
|
var unreadSince = useMemo(function () {
|
|
15
15
|
var _a, _b;
|
|
16
16
|
// TODO: Remove this on v4
|
|
@@ -20,7 +20,7 @@ var UnreadCount = function (_a) {
|
|
|
20
20
|
return timeArray.join(' ');
|
|
21
21
|
}
|
|
22
22
|
else if (lastReadAt) {
|
|
23
|
-
return format(lastReadAt, stringSet.DATE_FORMAT__MESSAGE_LIST__NOTIFICATION__UNREAD_SINCE);
|
|
23
|
+
return format(lastReadAt, stringSet.DATE_FORMAT__MESSAGE_LIST__NOTIFICATION__UNREAD_SINCE, { locale: dateLocale });
|
|
24
24
|
}
|
|
25
25
|
}, [time, lastReadAt]);
|
|
26
26
|
return (React__default.createElement("div", { className: "sendbird-notification".concat(count < 1 ? '--hide' : '', " ").concat(className), onClick: onClick },
|
package/Channel/context.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
import '../chunks/bundle-
|
|
2
|
+
import '../chunks/bundle-G3cS-S1W.js';
|
|
3
3
|
import '../useSendbirdStateContext.js';
|
|
4
|
-
import '../chunks/bundle-
|
|
5
|
-
import '../chunks/bundle-
|
|
6
|
-
export { C as ChannelProvider, u as useChannelContext } from '../chunks/bundle-
|
|
7
|
-
import '../chunks/bundle-
|
|
4
|
+
import '../chunks/bundle-JGFwpJZJ.js';
|
|
5
|
+
import '../chunks/bundle-fQ2M7pMu.js';
|
|
6
|
+
export { C as ChannelProvider, u as useChannelContext } from '../chunks/bundle-YwxAxKwQ.js';
|
|
7
|
+
import '../chunks/bundle-PK1dgVwp.js';
|
|
8
8
|
import './hooks/useInitialMessagesFetch.js';
|
|
9
|
-
import '../chunks/bundle-
|
|
10
|
-
import '../chunks/bundle-
|
|
9
|
+
import '../chunks/bundle-rX7vrYxX.js';
|
|
10
|
+
import '../chunks/bundle-zch8NdOh.js';
|
|
11
|
+
import '../chunks/bundle--Hrow3p-.js';
|
|
11
12
|
import '../withSendbird.js';
|
|
12
|
-
import '../chunks/bundle-
|
|
13
|
-
import '../chunks/bundle-
|
|
14
|
-
import '../chunks/bundle-
|
|
15
|
-
import '../chunks/bundle-
|
|
13
|
+
import '../chunks/bundle-AVOWwEQ4.js';
|
|
14
|
+
import '../chunks/bundle-LPkaaUo4.js';
|
|
15
|
+
import '../chunks/bundle-ltzZCtkR.js';
|
|
16
|
+
import '../chunks/bundle-OoXqnc0l.js';
|
|
16
17
|
import '../utils/message/getOutgoingMessageState.js';
|
|
17
|
-
import '../chunks/bundle-
|
|
18
|
+
import '../chunks/bundle-0BwB1B7t.js';
|
|
18
19
|
import '@sendbird/chat/message';
|
|
19
|
-
import '../chunks/bundle-
|
|
20
|
+
import '../chunks/bundle-3oeQjqp5.js';
|
|
20
21
|
import '@sendbird/chat/groupChannel';
|
|
21
|
-
import '../chunks/bundle-
|
|
22
|
-
import '../
|
|
23
|
-
import '../chunks/bundle-WCTKBopn.js';
|
|
22
|
+
import '../chunks/bundle-iPDlyZXo.js';
|
|
23
|
+
import '../chunks/bundle-UjngV2Kp.js';
|
|
24
24
|
//# sourceMappingURL=context.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useCallback, useEffect } from 'react';
|
|
2
2
|
import { ReplyType } from '@sendbird/chat/message';
|
|
3
|
-
import { s as scrollIntoLast, a as scrollToRenderedMessage } from '../../chunks/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 '../../chunks/bundle-
|
|
5
|
-
import { N as NEXT_RESULT_SIZE, P as PREV_RESULT_SIZE } from '../../chunks/bundle-
|
|
6
|
-
import { b as isMultipleFilesMessage } from '../../chunks/bundle-
|
|
7
|
-
import '../../chunks/bundle-
|
|
8
|
-
import '../../chunks/bundle-
|
|
9
|
-
import '../../chunks/bundle-
|
|
3
|
+
import { s as scrollIntoLast, a as scrollToRenderedMessage } from '../../chunks/bundle-fQ2M7pMu.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 '../../chunks/bundle-PK1dgVwp.js';
|
|
5
|
+
import { N as NEXT_RESULT_SIZE, P as PREV_RESULT_SIZE } from '../../chunks/bundle-JGFwpJZJ.js';
|
|
6
|
+
import { b as isMultipleFilesMessage } from '../../chunks/bundle-OoXqnc0l.js';
|
|
7
|
+
import '../../chunks/bundle-AVOWwEQ4.js';
|
|
8
|
+
import '../../chunks/bundle-LPkaaUo4.js';
|
|
9
|
+
import '../../chunks/bundle-ltzZCtkR.js';
|
|
10
10
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
11
|
-
import '../../chunks/bundle-
|
|
11
|
+
import '../../chunks/bundle-0BwB1B7t.js';
|
|
12
12
|
|
|
13
13
|
function useInitialMessagesFetch(_a, _b) {
|
|
14
14
|
var currentGroupChannel = _a.currentGroupChannel, initialTimeStamp = _a.initialTimeStamp, userFilledMessageListQuery = _a.userFilledMessageListQuery, replyType = _a.replyType, setIsScrolled = _a.setIsScrolled;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { d as isSameGroup } from '../../chunks/bundle-
|
|
2
|
-
import '../../chunks/bundle-
|
|
3
|
-
import '../../chunks/bundle-
|
|
4
|
-
import '../../chunks/bundle-
|
|
5
|
-
import '../../chunks/bundle-
|
|
1
|
+
import { d as isSameGroup } from '../../chunks/bundle-fQ2M7pMu.js';
|
|
2
|
+
import '../../chunks/bundle-AVOWwEQ4.js';
|
|
3
|
+
import '../../chunks/bundle-LPkaaUo4.js';
|
|
4
|
+
import '../../chunks/bundle-ltzZCtkR.js';
|
|
5
|
+
import '../../chunks/bundle-OoXqnc0l.js';
|
|
6
6
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
7
|
-
import '../../chunks/bundle-
|
|
7
|
+
import '../../chunks/bundle-0BwB1B7t.js';
|
|
8
8
|
import '@sendbird/chat/message';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { i as isSameDay } from '../../chunks/bundle-
|
|
1
|
+
import { i as isSameDay } from '../../chunks/bundle-ZZuBYhV1.js';
|
|
2
2
|
import { compareMessagesForGrouping } from './compareMessagesForGrouping.js';
|
|
3
|
-
import '../../chunks/bundle-
|
|
4
|
-
import '../../chunks/bundle-
|
|
5
|
-
import '../../chunks/bundle-
|
|
6
|
-
import '../../chunks/bundle-
|
|
7
|
-
import '../../chunks/bundle-
|
|
3
|
+
import '../../chunks/bundle-LPkaaUo4.js';
|
|
4
|
+
import '../../chunks/bundle-ltzZCtkR.js';
|
|
5
|
+
import '../../chunks/bundle-fQ2M7pMu.js';
|
|
6
|
+
import '../../chunks/bundle-AVOWwEQ4.js';
|
|
7
|
+
import '../../chunks/bundle-OoXqnc0l.js';
|
|
8
8
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
9
|
-
import '../../chunks/bundle-
|
|
9
|
+
import '../../chunks/bundle-0BwB1B7t.js';
|
|
10
10
|
import '@sendbird/chat/message';
|
|
11
11
|
|
|
12
12
|
/**
|
package/Channel.js
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { C as ChannelProvider } from './chunks/bundle-
|
|
2
|
+
import { C as ChannelProvider } from './chunks/bundle-YwxAxKwQ.js';
|
|
3
3
|
import ChannelUI from './Channel/components/ChannelUI.js';
|
|
4
|
-
import './chunks/bundle-
|
|
4
|
+
import './chunks/bundle-G3cS-S1W.js';
|
|
5
5
|
import './useSendbirdStateContext.js';
|
|
6
6
|
import './withSendbird.js';
|
|
7
|
-
import './chunks/bundle-
|
|
8
|
-
import './chunks/bundle-
|
|
9
|
-
import './chunks/bundle-
|
|
10
|
-
import './chunks/bundle-
|
|
11
|
-
import './chunks/bundle-
|
|
12
|
-
import './chunks/bundle-
|
|
7
|
+
import './chunks/bundle-AVOWwEQ4.js';
|
|
8
|
+
import './chunks/bundle-JGFwpJZJ.js';
|
|
9
|
+
import './chunks/bundle-fQ2M7pMu.js';
|
|
10
|
+
import './chunks/bundle-LPkaaUo4.js';
|
|
11
|
+
import './chunks/bundle-ltzZCtkR.js';
|
|
12
|
+
import './chunks/bundle-OoXqnc0l.js';
|
|
13
13
|
import './utils/message/getOutgoingMessageState.js';
|
|
14
|
-
import './chunks/bundle-
|
|
14
|
+
import './chunks/bundle-0BwB1B7t.js';
|
|
15
15
|
import '@sendbird/chat/message';
|
|
16
|
-
import './chunks/bundle-
|
|
17
|
-
import './chunks/bundle-
|
|
16
|
+
import './chunks/bundle-PK1dgVwp.js';
|
|
17
|
+
import './chunks/bundle-3oeQjqp5.js';
|
|
18
18
|
import '@sendbird/chat/groupChannel';
|
|
19
|
-
import './chunks/bundle-
|
|
19
|
+
import './chunks/bundle-iPDlyZXo.js';
|
|
20
20
|
import './Channel/hooks/useInitialMessagesFetch.js';
|
|
21
|
-
import './
|
|
22
|
-
import './chunks/bundle-
|
|
23
|
-
import './chunks/bundle-
|
|
24
|
-
import './chunks/bundle-
|
|
21
|
+
import './chunks/bundle--Hrow3p-.js';
|
|
22
|
+
import './chunks/bundle-UjngV2Kp.js';
|
|
23
|
+
import './chunks/bundle-rX7vrYxX.js';
|
|
24
|
+
import './chunks/bundle-zch8NdOh.js';
|
|
25
25
|
import './ui/PlaceHolder.js';
|
|
26
|
-
import './chunks/bundle-
|
|
27
|
-
import './chunks/bundle-
|
|
26
|
+
import './chunks/bundle-GqUhOzeC.js';
|
|
27
|
+
import './chunks/bundle-4zdVdGkr.js';
|
|
28
28
|
import './ui/Icon.js';
|
|
29
|
-
import './chunks/bundle-
|
|
30
|
-
import './chunks/bundle-
|
|
29
|
+
import './chunks/bundle-FQAabli1.js';
|
|
30
|
+
import './chunks/bundle-lDOyfwhb.js';
|
|
31
31
|
import './ui/Loader.js';
|
|
32
32
|
import './ui/ConnectionStatus.js';
|
|
33
33
|
import './Channel/components/ChannelHeader.js';
|
|
34
|
-
import './chunks/bundle-
|
|
34
|
+
import './chunks/bundle-3KS1YB09.js';
|
|
35
35
|
import './ui/IconButton.js';
|
|
36
36
|
import './ui/ChannelAvatar.js';
|
|
37
|
-
import './
|
|
37
|
+
import './chunks/bundle-x3udz03j.js';
|
|
38
38
|
import './ui/ImageRenderer.js';
|
|
39
|
-
import './chunks/bundle-
|
|
40
|
-
import './chunks/bundle-
|
|
39
|
+
import './chunks/bundle-um2Azmnd.js';
|
|
40
|
+
import './chunks/bundle-QKq7b-WA.js';
|
|
41
41
|
import './Channel/components/MessageList.js';
|
|
42
42
|
import './Channel/components/Message.js';
|
|
43
43
|
import './Channel/components/SuggestedMentionList.js';
|
|
44
|
-
import './chunks/bundle-
|
|
44
|
+
import './chunks/bundle-tK1qgIcU.js';
|
|
45
45
|
import './Thread/context.js';
|
|
46
46
|
import './Thread/context/types.js';
|
|
47
47
|
import '@sendbird/chat';
|
|
48
48
|
import './ui/DateSeparator.js';
|
|
49
|
-
import './chunks/bundle-
|
|
49
|
+
import './chunks/bundle-06CfHADE.js';
|
|
50
50
|
import './ui/MessageInput.js';
|
|
51
51
|
import './ui/Button.js';
|
|
52
|
-
import './chunks/bundle-
|
|
52
|
+
import './chunks/bundle-62G-DTVs.js';
|
|
53
53
|
import 'dompurify';
|
|
54
|
-
import './chunks/bundle
|
|
55
|
-
import './chunks/bundle-
|
|
56
|
-
import './chunks/bundle-
|
|
57
|
-
import './chunks/bundle-
|
|
54
|
+
import './chunks/bundle-0plqkdfC.js';
|
|
55
|
+
import './chunks/bundle-kaJaYGwQ.js';
|
|
56
|
+
import './chunks/bundle-_nlJSeuz.js';
|
|
57
|
+
import './chunks/bundle-kPOY92Qs.js';
|
|
58
58
|
import './ui/MessageContent.js';
|
|
59
|
-
import './
|
|
60
|
-
import './
|
|
61
|
-
import './chunks/bundle-
|
|
62
|
-
import './chunks/bundle-dLuEa16_.js';
|
|
63
|
-
import './chunks/bundle-3mdR5HDw.js';
|
|
59
|
+
import './chunks/bundle-EZnDY3Tc.js';
|
|
60
|
+
import './chunks/bundle-J7om32yx.js';
|
|
61
|
+
import './chunks/bundle-ZZuBYhV1.js';
|
|
64
62
|
import './ui/MessageItemMenu.js';
|
|
65
63
|
import './ui/ContextMenu.js';
|
|
66
64
|
import 'react-dom';
|
|
67
65
|
import './ui/SortByRow.js';
|
|
68
|
-
import './chunks/bundle-
|
|
66
|
+
import './chunks/bundle-1uIyPhfL.js';
|
|
69
67
|
import './ui/MessageItemReactionMenu.js';
|
|
70
68
|
import './ui/ReactionButton.js';
|
|
71
|
-
import './chunks/bundle-
|
|
69
|
+
import './chunks/bundle-9uR-6efo.js';
|
|
72
70
|
import './ui/EmojiReactions.js';
|
|
73
71
|
import './ui/ReactionBadge.js';
|
|
74
72
|
import './ui/BottomSheet.js';
|
|
75
73
|
import './hooks/useModal.js';
|
|
76
|
-
import './chunks/bundle-
|
|
74
|
+
import './chunks/bundle-gYyMZyCn.js';
|
|
77
75
|
import './ui/UserListItem.js';
|
|
78
76
|
import './ui/MutedAvatarOverlay.js';
|
|
79
77
|
import './ui/Checkbox.js';
|
|
78
|
+
import './ui/UserProfile.js';
|
|
79
|
+
import './sendbirdSelectors.js';
|
|
80
80
|
import './ui/Tooltip.js';
|
|
81
81
|
import './ui/TooltipWrapper.js';
|
|
82
82
|
import './Message/context.js';
|
|
83
83
|
import './ui/AdminMessage.js';
|
|
84
|
-
import './ui/
|
|
85
|
-
import './chunks/bundle-
|
|
84
|
+
import './ui/QuoteMessage.js';
|
|
85
|
+
import './chunks/bundle-zqQY3xFx.js';
|
|
86
|
+
import './chunks/bundle-7-9WA7QK.js';
|
|
87
|
+
import './ui/ThreadReplies.js';
|
|
88
|
+
import './ui/OGMessageItemBody.js';
|
|
89
|
+
import './chunks/bundle-jUubN32Z.js';
|
|
86
90
|
import './ui/MentionLabel.js';
|
|
87
91
|
import './ui/LinkLabel.js';
|
|
92
|
+
import './ui/TextMessageItemBody.js';
|
|
88
93
|
import './ui/FileMessageItemBody.js';
|
|
89
94
|
import './ui/TextButton.js';
|
|
90
|
-
import './
|
|
91
|
-
import './chunks/bundle-
|
|
92
|
-
import './ui/OGMessageItemBody.js';
|
|
93
|
-
import './ui/UnknownMessageItemBody.js';
|
|
94
|
-
import './ui/QuoteMessage.js';
|
|
95
|
-
import './chunks/bundle-vnmGzWMt.js';
|
|
96
|
-
import './ui/ThreadReplies.js';
|
|
95
|
+
import './chunks/bundle-fbmUkwMs.js';
|
|
96
|
+
import './chunks/bundle-KaSW5xxP.js';
|
|
97
97
|
import './ui/VoiceMessageItemBody.js';
|
|
98
98
|
import './ui/ProgressBar.js';
|
|
99
99
|
import './VoicePlayer/useVoicePlayer.js';
|
|
100
|
-
import './chunks/bundle-
|
|
100
|
+
import './chunks/bundle-kBtT3HBi.js';
|
|
101
101
|
import './VoiceRecorder/context.js';
|
|
102
102
|
import './ui/PlaybackTime.js';
|
|
103
|
-
import './
|
|
104
|
-
import './
|
|
103
|
+
import './ui/ThumbnailMessageItemBody.js';
|
|
104
|
+
import './ui/UnknownMessageItemBody.js';
|
|
105
105
|
import './Channel/components/FileViewer.js';
|
|
106
106
|
import './Channel/components/RemoveMessageModal.js';
|
|
107
|
-
import './chunks/bundle-
|
|
108
|
-
import './chunks/bundle-
|
|
107
|
+
import './chunks/bundle-DwZzB6nL.js';
|
|
108
|
+
import './chunks/bundle-VSkY75XQ.js';
|
|
109
109
|
import './Message/hooks/useDirtyGetMentions.js';
|
|
110
110
|
import './Channel/utils/getMessagePartsInfo.js';
|
|
111
111
|
import './Channel/utils/compareMessagesForGrouping.js';
|
|
@@ -114,9 +114,9 @@ import './Channel/components/FrozenNotification.js';
|
|
|
114
114
|
import './Channel/components/TypingIndicator.js';
|
|
115
115
|
import './Channel/components/MessageInput.js';
|
|
116
116
|
import './ui/QuoteMessageInput.js';
|
|
117
|
-
import './chunks/bundle-
|
|
117
|
+
import './chunks/bundle-_2iSz8ke.js';
|
|
118
118
|
import './VoiceRecorder/useVoiceRecorder.js';
|
|
119
|
-
import './chunks/bundle-
|
|
119
|
+
import './chunks/bundle-J7RD0FpU.js';
|
|
120
120
|
|
|
121
121
|
var Channel = function (props) {
|
|
122
122
|
return (React__default.createElement(ChannelProvider, { channelUrl: props === null || props === void 0 ? void 0 : props.channelUrl, isReactionEnabled: props === null || props === void 0 ? void 0 : props.isReactionEnabled, isMessageGroupingEnabled: props === null || props === void 0 ? void 0 : props.isMessageGroupingEnabled, isMultipleFilesMessageEnabled: props === null || props === void 0 ? void 0 : props.isMultipleFilesMessageEnabled, showSearchIcon: props === null || props === void 0 ? void 0 : props.showSearchIcon, animatedMessage: props === null || props === void 0 ? void 0 : props.animatedMessage, highlightedMessage: props === null || props === void 0 ? void 0 : props.highlightedMessage, startingPoint: props === null || props === void 0 ? void 0 : props.startingPoint, onBeforeSendUserMessage: props === null || props === void 0 ? void 0 : props.onBeforeSendUserMessage, onBeforeSendFileMessage: props === null || props === void 0 ? void 0 : props.onBeforeSendFileMessage, onBeforeUpdateUserMessage: props === null || props === void 0 ? void 0 : props.onBeforeUpdateUserMessage, onBeforeSendVoiceMessage: props === null || props === void 0 ? void 0 : props.onBeforeSendVoiceMessage, onBeforeSendMultipleFilesMessage: props === null || props === void 0 ? void 0 : props.onBeforeSendMultipleFilesMessage, onChatHeaderActionClick: props === null || props === void 0 ? void 0 : props.onChatHeaderActionClick, onSearchClick: props === null || props === void 0 ? void 0 : props.onSearchClick, onBackClick: props === null || props === void 0 ? void 0 : props.onBackClick, replyType: props === null || props === void 0 ? void 0 : props.replyType, threadReplySelectType: props === null || props === void 0 ? void 0 : props.threadReplySelectType, queries: props === null || props === void 0 ? void 0 : props.queries, renderUserProfile: props === null || props === void 0 ? void 0 : props.renderUserProfile, filterMessageList: props === null || props === void 0 ? void 0 : props.filterMessageList, disableUserProfile: props === null || props === void 0 ? void 0 : props.disableUserProfile, disableMarkAsRead: props === null || props === void 0 ? void 0 : props.disableMarkAsRead, onReplyInThread: props === null || props === void 0 ? void 0 : props.onReplyInThread, onQuoteMessageClick: props === null || props === void 0 ? void 0 : props.onQuoteMessageClick, onMessageAnimated: props === null || props === void 0 ? void 0 : props.onMessageAnimated, onMessageHighlighted: props === null || props === void 0 ? void 0 : props.onMessageHighlighted, scrollBehavior: props.scrollBehavior, reconnectOnIdle: props.reconnectOnIdle },
|