@sendbird/uikit-react 3.14.0-beta → 3.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/App.js +78 -79
- package/App.js.map +1 -1
- package/CHANGELOG.md +101 -5
- package/Channel/components/ChannelHeader.js +29 -29
- package/Channel/components/ChannelUI.js +65 -65
- package/Channel/components/FileViewer.js +28 -28
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +55 -55
- package/Channel/components/MessageInput.js +41 -41
- package/Channel/components/MessageInputWrapper.js +41 -41
- package/Channel/components/MessageList.js +58 -58
- package/Channel/components/RemoveMessageModal.js +27 -27
- package/Channel/components/SuggestedMentionList.js +27 -27
- package/Channel/components/TypingIndicator.js +6 -6
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +21 -24
- package/Channel/context.js.map +1 -1
- package/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/Channel/utils/getMessagePartsInfo.js +6 -6
- package/Channel.js +65 -65
- package/ChannelList/components/AddChannel.js +20 -20
- package/ChannelList/components/ChannelListHeader.js +8 -8
- package/ChannelList/components/ChannelListUI.js +34 -34
- package/ChannelList/components/ChannelPreview.js +27 -27
- package/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/ChannelList/context.js +10 -10
- package/ChannelList.js +34 -34
- package/ChannelSettings/components/ChannelProfile.js +14 -14
- package/ChannelSettings/components/ChannelSettingsHeader.js +6 -6
- package/ChannelSettings/components/ChannelSettingsUI.js +24 -25
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +22 -23
- package/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/ChannelSettings/components/UserListItem.js +13 -13
- package/ChannelSettings/components/UserPanel.js +20 -20
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +22 -23
- package/ChannelSettings.js.map +1 -1
- package/CreateChannel/components/CreateChannelUI.js +16 -16
- package/CreateChannel/components/InviteUsers.js +16 -16
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +16 -16
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +11 -11
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile.js +12 -12
- package/GroupChannel/components/FileViewer.js +57 -27
- package/GroupChannel/components/FileViewer.js.map +1 -1
- package/GroupChannel/components/FrozenNotification.js +5 -5
- package/GroupChannel/components/GroupChannelHeader.js +23 -22
- package/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/GroupChannel/components/GroupChannelUI.js +60 -59
- package/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/GroupChannel/components/Message.js +55 -54
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +39 -38
- package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/GroupChannel/components/MessageList.js +53 -52
- package/GroupChannel/components/MessageList.js.map +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +23 -22
- package/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/GroupChannel/components/TypingIndicator.js +6 -6
- package/GroupChannel/components/UnreadCount.js +7 -7
- package/GroupChannel/context.js +29 -26
- package/GroupChannel/context.js.map +1 -1
- package/GroupChannel.js +60 -59
- package/GroupChannel.js.map +1 -1
- package/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/GroupChannelList/context.js +5 -5
- package/GroupChannelList.js +33 -33
- package/MessageSearch/components/MessageSearchUI.js +14 -14
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +14 -14
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/OpenChannel/components/OpenChannelInput.js +25 -25
- package/OpenChannel/components/OpenChannelMessage.js +35 -35
- package/OpenChannel/components/OpenChannelMessageList.js +39 -39
- package/OpenChannel/components/OpenChannelUI.js +39 -39
- package/OpenChannel/context.js +17 -17
- package/OpenChannel.js +39 -39
- package/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +14 -14
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +18 -19
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +19 -20
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +19 -20
- package/OpenChannelSettings.js.map +1 -1
- package/SendbirdProvider.js +26 -48
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +78 -49
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +74 -36
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +46 -46
- package/Thread/components/ThreadListItem.js +112 -55
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +43 -42
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +56 -56
- package/Thread/context.js +11 -10
- package/Thread/context.js.map +1 -1
- package/Thread.js +56 -56
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +10 -10
- package/VoiceRecorder/context.js +10 -10
- package/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/chunks/{bundle-tL7Z4efR.js → bundle--v2l79xO.js} +2 -2
- package/chunks/{bundle-tL7Z4efR.js.map → bundle--v2l79xO.js.map} +1 -1
- package/chunks/{bundle-BcfbcVVS.js → bundle-65boKdRp.js} +1 -1
- package/chunks/bundle-65boKdRp.js.map +1 -0
- package/chunks/{bundle-BzmY6Ioa.js → bundle-B5vsennE.js} +6 -6
- package/chunks/bundle-B5vsennE.js.map +1 -0
- package/chunks/{bundle-CKqBhRZh.js → bundle-BFdttAaW.js} +1 -1
- package/chunks/{bundle-CKqBhRZh.js.map → bundle-BFdttAaW.js.map} +1 -1
- package/chunks/{bundle-DW2UIt7g.js → bundle-BJxRm-OS.js} +1 -1
- package/chunks/bundle-BJxRm-OS.js.map +1 -0
- package/chunks/{bundle-CPlEjTQQ.js → bundle-BKYbtWkn.js} +3 -3
- package/chunks/bundle-BKYbtWkn.js.map +1 -0
- package/chunks/{bundle-CsV5Pqhn.js → bundle-BN9xM02J.js} +1 -1
- package/chunks/bundle-BN9xM02J.js.map +1 -0
- package/chunks/{bundle-BE6Zgv3s.js → bundle-BQoN_-_d.js} +1 -1
- package/chunks/bundle-BQoN_-_d.js.map +1 -0
- package/chunks/{bundle-4YHx3jhU.js → bundle-BU3SRwZT.js} +1 -1
- package/chunks/bundle-BU3SRwZT.js.map +1 -0
- package/chunks/{bundle-DaAps-h8.js → bundle-BUC4DRq0.js} +1 -1
- package/chunks/bundle-BUC4DRq0.js.map +1 -0
- package/chunks/{bundle-BGPVh26h.js → bundle-Ba74MVBa.js} +2 -2
- package/chunks/{bundle-BGPVh26h.js.map → bundle-Ba74MVBa.js.map} +1 -1
- package/chunks/{bundle-DEPqhDQk.js → bundle-BaMugzjD.js} +1 -1
- package/chunks/bundle-BaMugzjD.js.map +1 -0
- package/chunks/{bundle-O8OKcGsA.js → bundle-BbRFaX0l.js} +1 -1
- package/chunks/bundle-BbRFaX0l.js.map +1 -0
- package/chunks/{bundle-DnX0-Kjr.js → bundle-BfvTBFop.js} +3 -3
- package/chunks/{bundle-DnX0-Kjr.js.map → bundle-BfvTBFop.js.map} +1 -1
- package/chunks/{bundle-BdnV2Mq3.js → bundle-BhXdj56o.js} +3 -3
- package/chunks/{bundle-BdnV2Mq3.js.map → bundle-BhXdj56o.js.map} +1 -1
- package/chunks/{bundle-Cbag41eX.js → bundle-BjWhPiF7.js} +3 -3
- package/chunks/bundle-BjWhPiF7.js.map +1 -0
- package/chunks/{bundle-Dm1_TUsQ.js → bundle-BsCYcxaN.js} +7 -7
- package/chunks/{bundle-Dm1_TUsQ.js.map → bundle-BsCYcxaN.js.map} +1 -1
- package/chunks/{bundle-BkNNtN1V.js → bundle-Bsg3ZeXI.js} +3 -3
- package/chunks/bundle-Bsg3ZeXI.js.map +1 -0
- package/chunks/{bundle-D01F_So9.js → bundle-BtLxIgDH.js} +10 -10
- package/chunks/{bundle-D01F_So9.js.map → bundle-BtLxIgDH.js.map} +1 -1
- package/chunks/{bundle-C00KC3uY.js → bundle-Bu4CHE14.js} +4 -4
- package/chunks/bundle-Bu4CHE14.js.map +1 -0
- package/chunks/{bundle-VAV0nvVl.js → bundle-BubacXNL.js} +1 -1
- package/chunks/{bundle-VAV0nvVl.js.map → bundle-BubacXNL.js.map} +1 -1
- package/chunks/{bundle-PoeV4u5o.js → bundle-C-mS5Dam.js} +40 -9
- package/{cjs/chunks/bundle-BubTAoq5.js.map → chunks/bundle-C-mS5Dam.js.map} +1 -1
- package/chunks/{bundle-Df7uYu02.js → bundle-C0fGI40C.js} +10 -10
- package/chunks/bundle-C0fGI40C.js.map +1 -0
- package/chunks/{bundle-CbKfkHfl.js → bundle-C4xjDmEt.js} +1 -1
- package/chunks/bundle-C4xjDmEt.js.map +1 -0
- package/chunks/{bundle-BdJeQIAi.js → bundle-C5Wf2y_6.js} +1 -1
- package/chunks/bundle-C5Wf2y_6.js.map +1 -0
- package/chunks/{bundle-DR5lvmY_.js → bundle-C8jQWzDU.js} +2 -2
- package/chunks/bundle-C8jQWzDU.js.map +1 -0
- package/chunks/{bundle-D4vlYCrG.js → bundle-CFYZBlok.js} +1 -1
- package/chunks/bundle-CFYZBlok.js.map +1 -0
- package/chunks/{bundle-DqPWGoAJ.js → bundle-CHtHakLU.js} +6 -6
- package/chunks/bundle-CHtHakLU.js.map +1 -0
- package/chunks/{bundle-DEsGEQb8.js → bundle-CI-NOqgi.js} +10 -10
- package/chunks/{bundle-DEsGEQb8.js.map → bundle-CI-NOqgi.js.map} +1 -1
- package/chunks/{bundle-DrKv7qiU.js → bundle-CIwNgqhu.js} +6 -6
- package/chunks/bundle-CIwNgqhu.js.map +1 -0
- package/chunks/{bundle-Bumce6iI.js → bundle-CMax-oWd.js} +1 -1
- package/chunks/bundle-CMax-oWd.js.map +1 -0
- package/chunks/{bundle-DKctNGC2.js → bundle-CThF5Krw.js} +5 -5
- package/chunks/{bundle-DKctNGC2.js.map → bundle-CThF5Krw.js.map} +1 -1
- package/chunks/{bundle-CJBaJoMx.js → bundle-CVtMSwfw.js} +7 -7
- package/chunks/{bundle-CJBaJoMx.js.map → bundle-CVtMSwfw.js.map} +1 -1
- package/chunks/{bundle-BYjHDpcR.js → bundle-CWVPqsi_.js} +3 -3
- package/chunks/bundle-CWVPqsi_.js.map +1 -0
- package/chunks/{bundle-CZbk43my.js → bundle-CWYkDVsf.js} +3 -3
- package/chunks/{bundle-CZbk43my.js.map → bundle-CWYkDVsf.js.map} +1 -1
- package/chunks/{bundle-ZJcHeU_o.js → bundle-CYIneUd3.js} +9 -9
- package/chunks/bundle-CYIneUd3.js.map +1 -0
- package/chunks/{bundle-DGSAqfvK.js → bundle-CaUvCYOg.js} +3 -3
- package/chunks/{bundle-DGSAqfvK.js.map → bundle-CaUvCYOg.js.map} +1 -1
- package/chunks/{bundle-C1UCPEjT.js → bundle-CaYPuZ9G.js} +1 -1
- package/chunks/bundle-CaYPuZ9G.js.map +1 -0
- package/chunks/{bundle-CfcTsxlD.js → bundle-CfcfVkxG.js} +1 -1
- package/chunks/{bundle-CfcTsxlD.js.map → bundle-CfcfVkxG.js.map} +1 -1
- package/chunks/{bundle-WT4kbHBE.js → bundle-Cl5_xPaV.js} +11 -11
- package/chunks/{bundle-WT4kbHBE.js.map → bundle-Cl5_xPaV.js.map} +1 -1
- package/chunks/{bundle-BFLCbnVa.js → bundle-CmZPkDe1.js} +4 -4
- package/chunks/{bundle-BFLCbnVa.js.map → bundle-CmZPkDe1.js.map} +1 -1
- package/chunks/{bundle-C-gNLxiH.js → bundle-CnzbHeuJ.js} +4 -4
- package/chunks/bundle-CnzbHeuJ.js.map +1 -0
- package/chunks/{bundle-Bo4dNQtg.js → bundle-Ct48juZF.js} +3 -3
- package/chunks/{bundle-Bo4dNQtg.js.map → bundle-Ct48juZF.js.map} +1 -1
- package/chunks/{bundle-BE9YtwxF.js → bundle-CuD6w3tY.js} +1 -1
- package/chunks/bundle-CuD6w3tY.js.map +1 -0
- package/chunks/{bundle-CT8aJQs5.js → bundle-CuW57Fa0.js} +4 -4
- package/chunks/{bundle-CT8aJQs5.js.map → bundle-CuW57Fa0.js.map} +1 -1
- package/chunks/{bundle-D87WTORg.js → bundle-CvZD4CjF.js} +3 -3
- package/chunks/bundle-CvZD4CjF.js.map +1 -0
- package/chunks/{bundle-B0A-GTy2.js → bundle-CwINP854.js} +1 -1
- package/chunks/bundle-CwINP854.js.map +1 -0
- package/chunks/{bundle-BiOWvuqq.js → bundle-Cy3rlDS2.js} +2 -2
- package/chunks/{bundle-BiOWvuqq.js.map → bundle-Cy3rlDS2.js.map} +1 -1
- package/chunks/{bundle-BnLycG5g.js → bundle-CznK5-Sd.js} +10 -10
- package/chunks/{bundle-BnLycG5g.js.map → bundle-CznK5-Sd.js.map} +1 -1
- package/chunks/{bundle-CJxhCCYf.js → bundle-D4k3lbic.js} +8 -8
- package/chunks/{bundle-CJxhCCYf.js.map → bundle-D4k3lbic.js.map} +1 -1
- package/chunks/{bundle-CquJpe2n.js → bundle-D6_jF6vA.js} +2 -2
- package/chunks/bundle-D6_jF6vA.js.map +1 -0
- package/chunks/{bundle-33BY7XhN.js → bundle-D81rUAiK.js} +3 -3
- package/chunks/bundle-D81rUAiK.js.map +1 -0
- package/chunks/{bundle-CWPkjiZ7.js → bundle-DF_LuHdb.js} +1 -1
- package/chunks/bundle-DF_LuHdb.js.map +1 -0
- package/chunks/{bundle-BjbYgCW9.js → bundle-DKfCP7IG.js} +1 -1
- package/chunks/bundle-DKfCP7IG.js.map +1 -0
- package/chunks/{bundle-DzD5ZPeu.js → bundle-DMs2iFV3.js} +4 -4
- package/chunks/bundle-DMs2iFV3.js.map +1 -0
- package/chunks/{bundle-CWvAVk8m.js → bundle-DO6PYt2s.js} +1 -1
- package/chunks/bundle-DO6PYt2s.js.map +1 -0
- package/chunks/{bundle-BRSrznG_.js → bundle-DPSsFTo9.js} +1 -1
- package/chunks/bundle-DPSsFTo9.js.map +1 -0
- package/chunks/{bundle-B9rl4lBQ.js → bundle-DRcme3Wk.js} +13 -12
- package/chunks/{bundle-B9rl4lBQ.js.map → bundle-DRcme3Wk.js.map} +1 -1
- package/chunks/{bundle-DPsySdlV.js → bundle-DcURn6BN.js} +2 -2
- package/chunks/bundle-DcURn6BN.js.map +1 -0
- package/chunks/{bundle-DM3wUgvd.js → bundle-Don9PlYG.js} +1 -1
- package/chunks/bundle-Don9PlYG.js.map +1 -0
- package/chunks/{bundle-Byxn68mh.js → bundle-DoqoSCJx.js} +1370 -120
- package/chunks/bundle-DoqoSCJx.js.map +1 -0
- package/chunks/{bundle-BegOh-X0.js → bundle-DrjAD_2v.js} +1 -1
- package/chunks/bundle-DrjAD_2v.js.map +1 -0
- package/chunks/{bundle-Blu2Cp4C.js → bundle-DuUoXuv1.js} +1 -1
- package/chunks/{bundle-Blu2Cp4C.js.map → bundle-DuUoXuv1.js.map} +1 -1
- package/chunks/{bundle-Bhs7U8wE.js → bundle-DzZlONIt.js} +2 -2
- package/chunks/{bundle-Bhs7U8wE.js.map → bundle-DzZlONIt.js.map} +1 -1
- package/chunks/{bundle-BqL00V4c.js → bundle-FVThTEKh.js} +5 -20
- package/chunks/{bundle-BqL00V4c.js.map → bundle-FVThTEKh.js.map} +1 -1
- package/chunks/{bundle-B-5nMQI8.js → bundle-Go8RJZ6S.js} +16 -16
- package/chunks/{bundle-B-5nMQI8.js.map → bundle-Go8RJZ6S.js.map} +1 -1
- package/chunks/{bundle-DfhDmd9y.js → bundle-HQX6RTqS.js} +1 -1
- package/chunks/bundle-HQX6RTqS.js.map +1 -0
- package/chunks/{bundle-BydX5Gik.js → bundle-KeJ_rVJL.js} +1 -1
- package/chunks/{bundle-BydX5Gik.js.map → bundle-KeJ_rVJL.js.map} +1 -1
- package/chunks/{bundle-FBDSQPhI.js → bundle-LL2dZ_t-.js} +14 -14
- package/chunks/{bundle-FBDSQPhI.js.map → bundle-LL2dZ_t-.js.map} +1 -1
- package/chunks/{bundle-Dcg5UJZ5.js → bundle-Y5rRHVbA.js} +1 -1
- package/chunks/bundle-Y5rRHVbA.js.map +1 -0
- package/chunks/{bundle-7DqcfMUP.js → bundle-YaC569om.js} +1 -1
- package/chunks/bundle-YaC569om.js.map +1 -0
- package/chunks/{bundle-CSIi4GHQ.js → bundle-aDOQN2rV.js} +1 -1
- package/chunks/bundle-aDOQN2rV.js.map +1 -0
- package/chunks/{bundle-DTniwDWL.js → bundle-abfFo17w.js} +57 -63
- package/chunks/bundle-abfFo17w.js.map +1 -0
- package/chunks/{bundle-f6zTWcHL.js → bundle-c_OhpzFv.js} +2 -2
- package/chunks/bundle-c_OhpzFv.js.map +1 -0
- package/chunks/{bundle-DbWpPftJ.js → bundle-gFk75Dds.js} +5 -5
- package/chunks/bundle-gFk75Dds.js.map +1 -0
- package/chunks/{bundle-B0hUzTR9.js → bundle-hWMpOZwq.js} +1 -1
- package/chunks/bundle-hWMpOZwq.js.map +1 -0
- package/chunks/{bundle-Bm9cdQdy.js → bundle-rA2Y0qFJ.js} +1 -1
- package/chunks/bundle-rA2Y0qFJ.js.map +1 -0
- package/chunks/{bundle-Ti1Y75Dm.js → bundle-rGg9UI8F.js} +2 -2
- package/chunks/bundle-rGg9UI8F.js.map +1 -0
- package/chunks/bundle-v1dt12FL.js +16 -0
- package/chunks/bundle-v1dt12FL.js.map +1 -0
- package/chunks/{bundle-DyaS04Hg.js → bundle-vsdOwl6R.js} +3 -3
- package/chunks/bundle-vsdOwl6R.js.map +1 -0
- package/cjs/App.js +78 -79
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +29 -29
- package/cjs/Channel/components/ChannelUI.js +65 -65
- package/cjs/Channel/components/FileViewer.js +28 -28
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +55 -55
- package/cjs/Channel/components/MessageInput.js +41 -41
- package/cjs/Channel/components/MessageInputWrapper.js +41 -41
- package/cjs/Channel/components/MessageList.js +58 -58
- package/cjs/Channel/components/RemoveMessageModal.js +27 -27
- package/cjs/Channel/components/SuggestedMentionList.js +27 -27
- package/cjs/Channel/components/TypingIndicator.js +6 -6
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +21 -24
- package/cjs/Channel/context.js.map +1 -1
- package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/cjs/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/cjs/Channel/utils/getMessagePartsInfo.js +6 -6
- package/cjs/Channel.js +65 -65
- package/cjs/ChannelList/components/AddChannel.js +20 -20
- package/cjs/ChannelList/components/ChannelListHeader.js +8 -8
- package/cjs/ChannelList/components/ChannelListUI.js +34 -34
- package/cjs/ChannelList/components/ChannelPreview.js +27 -27
- package/cjs/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/cjs/ChannelList/context.js +10 -10
- package/cjs/ChannelList.js +34 -34
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +6 -6
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +22 -23
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +22 -23
- package/cjs/ChannelSettings/components/ModerationPanel.js.map +1 -1
- package/cjs/ChannelSettings/components/UserListItem.js +13 -13
- package/cjs/ChannelSettings/components/UserPanel.js +20 -20
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +22 -23
- package/cjs/ChannelSettings.js.map +1 -1
- package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
- package/cjs/CreateChannel/components/InviteUsers.js +16 -16
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +16 -16
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +11 -11
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile.js +12 -12
- package/cjs/GroupChannel/components/FileViewer.js +57 -27
- package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
- package/cjs/GroupChannel/components/FrozenNotification.js +5 -5
- package/cjs/GroupChannel/components/GroupChannelHeader.js +23 -22
- package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/cjs/GroupChannel/components/GroupChannelUI.js +60 -59
- package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/cjs/GroupChannel/components/Message.js +55 -54
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +38 -37
- package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/GroupChannel/components/MessageList.js +53 -52
- package/cjs/GroupChannel/components/MessageList.js.map +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +23 -22
- package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/cjs/GroupChannel/components/TypingIndicator.js +6 -6
- package/cjs/GroupChannel/components/UnreadCount.js +7 -7
- package/cjs/GroupChannel/context.js +29 -26
- package/cjs/GroupChannel/context.js.map +1 -1
- package/cjs/GroupChannel.js +60 -59
- package/cjs/GroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/cjs/GroupChannelList/context.js +5 -5
- package/cjs/GroupChannelList.js +33 -33
- package/cjs/MessageSearch/components/MessageSearchUI.js +14 -14
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +14 -14
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/cjs/OpenChannel/components/OpenChannelInput.js +25 -25
- package/cjs/OpenChannel/components/OpenChannelMessage.js +35 -35
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +39 -39
- package/cjs/OpenChannel/components/OpenChannelUI.js +39 -39
- package/cjs/OpenChannel/context.js +17 -17
- package/cjs/OpenChannel.js +39 -39
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +14 -14
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +18 -19
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -20
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +19 -20
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/SendbirdProvider.js +26 -48
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +78 -49
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +74 -36
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +46 -46
- package/cjs/Thread/components/ThreadListItem.js +112 -55
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +43 -42
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +56 -56
- package/cjs/Thread/context.js +11 -10
- package/cjs/Thread/context.js.map +1 -1
- package/cjs/Thread.js +56 -56
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
- package/cjs/VoiceRecorder/context.js +10 -10
- package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/cjs/chunks/{bundle-Ht75_VEx.js → bundle--n4D2PVF.js} +2 -2
- package/cjs/chunks/bundle--n4D2PVF.js.map +1 -0
- package/cjs/chunks/{bundle-DEQCIOPf.js → bundle-0NyPGfcV.js} +1 -1
- package/cjs/chunks/bundle-0NyPGfcV.js.map +1 -0
- package/cjs/chunks/{bundle-Di5APzpg.js → bundle-1Lraxvfp.js} +3 -3
- package/cjs/chunks/bundle-1Lraxvfp.js.map +1 -0
- package/cjs/chunks/{bundle-DPFRrny4.js → bundle-3ku2DsRp.js} +2 -2
- package/cjs/chunks/bundle-3ku2DsRp.js.map +1 -0
- package/cjs/chunks/{bundle-BmOkcO1e.js → bundle-7SR3bIHI.js} +1 -1
- package/cjs/chunks/bundle-7SR3bIHI.js.map +1 -0
- package/cjs/chunks/{bundle-DhbE_hFO.js → bundle-B04GCotY.js} +1 -1
- package/cjs/chunks/bundle-B04GCotY.js.map +1 -0
- package/cjs/chunks/{bundle-UNBazgOP.js → bundle-BAWPNqDt.js} +13 -12
- package/cjs/chunks/bundle-BAWPNqDt.js.map +1 -0
- package/cjs/chunks/{bundle-3HPlnxkl.js → bundle-BB5SwDry.js} +3 -3
- package/cjs/chunks/{bundle-3HPlnxkl.js.map → bundle-BB5SwDry.js.map} +1 -1
- package/cjs/chunks/{bundle-FDJnhm3r.js → bundle-BDam-wvP.js} +1 -1
- package/cjs/chunks/{bundle-FDJnhm3r.js.map → bundle-BDam-wvP.js.map} +1 -1
- package/cjs/chunks/{bundle-jp-5eI5e.js → bundle-BHoDcZuM.js} +3 -3
- package/cjs/chunks/bundle-BHoDcZuM.js.map +1 -0
- package/cjs/chunks/{bundle-lf9AeIkc.js → bundle-BQ8kBY7P.js} +3 -3
- package/cjs/chunks/{bundle-lf9AeIkc.js.map → bundle-BQ8kBY7P.js.map} +1 -1
- package/cjs/chunks/{bundle-CuhtyPjN.js → bundle-BZwhrU6K.js} +1 -1
- package/cjs/chunks/bundle-BZwhrU6K.js.map +1 -0
- package/cjs/chunks/{bundle-AxW84oGr.js → bundle-BaJn2YsZ.js} +1 -1
- package/cjs/chunks/bundle-BaJn2YsZ.js.map +1 -0
- package/cjs/chunks/{bundle-zUlseH3U.js → bundle-BdkEfjlQ.js} +10 -10
- package/cjs/chunks/{bundle-zUlseH3U.js.map → bundle-BdkEfjlQ.js.map} +1 -1
- package/cjs/chunks/{bundle-G2_KR7Mu.js → bundle-Bqn5UkGf.js} +7 -7
- package/cjs/chunks/bundle-Bqn5UkGf.js.map +1 -0
- package/cjs/chunks/{bundle-CidVlBMl.js → bundle-BvwX2pXU.js} +3 -3
- package/cjs/chunks/bundle-BvwX2pXU.js.map +1 -0
- package/cjs/chunks/{bundle-BkrtMQxo.js → bundle-BwuEkyq5.js} +1 -1
- package/cjs/chunks/bundle-BwuEkyq5.js.map +1 -0
- package/cjs/chunks/{bundle-CCEKPtKR.js → bundle-Bx_5BAxl.js} +1 -1
- package/cjs/chunks/bundle-Bx_5BAxl.js.map +1 -0
- package/cjs/chunks/{bundle-C9xOwqge.js → bundle-ByUOxOjA.js} +3 -3
- package/cjs/chunks/bundle-ByUOxOjA.js.map +1 -0
- package/cjs/chunks/{bundle-GZJzVB02.js → bundle-C1NORWsC.js} +4 -4
- package/cjs/chunks/bundle-C1NORWsC.js.map +1 -0
- package/cjs/chunks/{bundle-Cl34HO9m.js → bundle-CDD7rA5D.js} +40 -9
- package/cjs/chunks/bundle-CDD7rA5D.js.map +1 -0
- package/cjs/chunks/{bundle-B5RW0yuQ.js → bundle-CIoqC6d1.js} +1 -1
- package/cjs/chunks/bundle-CIoqC6d1.js.map +1 -0
- package/cjs/chunks/{bundle-CsCGO7nq.js → bundle-CM2Yesst.js} +2 -2
- package/cjs/chunks/bundle-CM2Yesst.js.map +1 -0
- package/cjs/chunks/{bundle-B5pxZS7a.js → bundle-CYRD0mhW.js} +1 -1
- package/cjs/chunks/bundle-CYRD0mhW.js.map +1 -0
- package/cjs/chunks/{bundle-BZyYPaEv.js → bundle-CcICQ161.js} +1 -1
- package/cjs/chunks/{bundle-BZyYPaEv.js.map → bundle-CcICQ161.js.map} +1 -1
- package/cjs/chunks/{bundle-Crhw0Zu1.js → bundle-CcejNHwV.js} +1 -1
- package/cjs/chunks/bundle-CcejNHwV.js.map +1 -0
- package/cjs/chunks/{bundle-C1YOhOl2.js → bundle-CjPaNItW.js} +6 -6
- package/cjs/chunks/bundle-CjPaNItW.js.map +1 -0
- package/cjs/chunks/{bundle-BDDfcS3c.js → bundle-Co8JsD2l.js} +1 -1
- package/cjs/chunks/bundle-Co8JsD2l.js.map +1 -0
- package/cjs/chunks/{bundle-BhRPdcn-.js → bundle-CpgiyizX.js} +1369 -119
- package/cjs/chunks/bundle-CpgiyizX.js.map +1 -0
- package/cjs/chunks/{bundle-pYqgDFla.js → bundle-Cq1mLH5J.js} +1 -1
- package/cjs/chunks/bundle-Cq1mLH5J.js.map +1 -0
- package/cjs/chunks/{bundle-Bc_3JLZG.js → bundle-Crb55m_S.js} +3 -3
- package/cjs/chunks/bundle-Crb55m_S.js.map +1 -0
- package/cjs/chunks/{bundle-DP_Z2ZCu.js → bundle-Ctjr6ytm.js} +2 -2
- package/cjs/chunks/bundle-Ctjr6ytm.js.map +1 -0
- package/cjs/chunks/{bundle-CtfNcymC.js → bundle-Cv_3sQEK.js} +1 -1
- package/cjs/chunks/bundle-Cv_3sQEK.js.map +1 -0
- package/cjs/chunks/{bundle-B212ojpX.js → bundle-D1LOTtRp.js} +2 -2
- package/cjs/chunks/{bundle-B212ojpX.js.map → bundle-D1LOTtRp.js.map} +1 -1
- package/cjs/chunks/{bundle-C2ABFLZ1.js → bundle-D2rrmfUO.js} +2 -2
- package/cjs/chunks/bundle-D2rrmfUO.js.map +1 -0
- package/cjs/chunks/{bundle-BubTAoq5.js → bundle-D69KMIe6.js} +4 -4
- package/cjs/chunks/bundle-D69KMIe6.js.map +1 -0
- package/cjs/chunks/{bundle-BKMGAY2l.js → bundle-DC4hSZ50.js} +2 -2
- package/cjs/chunks/{bundle-BKMGAY2l.js.map → bundle-DC4hSZ50.js.map} +1 -1
- package/cjs/chunks/{bundle-CSfRc5hY.js → bundle-DDm1Q65G.js} +3 -3
- package/cjs/chunks/bundle-DDm1Q65G.js.map +1 -0
- package/cjs/chunks/{bundle-mNfA1oxo.js → bundle-DJ64rHSo.js} +8 -8
- package/cjs/chunks/{bundle-mNfA1oxo.js.map → bundle-DJ64rHSo.js.map} +1 -1
- package/cjs/chunks/{bundle-XHpUo2d5.js → bundle-DOVeRCEG.js} +6 -6
- package/cjs/chunks/bundle-DOVeRCEG.js.map +1 -0
- package/cjs/chunks/{bundle-Chu9Um5P.js → bundle-DSsqgxx7.js} +1 -1
- package/cjs/chunks/bundle-DSsqgxx7.js.map +1 -0
- package/cjs/chunks/{bundle-BIaA_1Gt.js → bundle-DTNXVmlf.js} +1 -1
- package/cjs/chunks/bundle-DTNXVmlf.js.map +1 -0
- package/cjs/chunks/{bundle-BfLBf8rb.js → bundle-DUpA78AC.js} +4 -4
- package/cjs/chunks/bundle-DUpA78AC.js.map +1 -0
- package/cjs/chunks/{bundle-BZYotRJz.js → bundle-DWVQJ2gC.js} +1 -1
- package/cjs/chunks/bundle-DWVQJ2gC.js.map +1 -0
- package/cjs/chunks/{bundle-BUBaSa_-.js → bundle-DWwL0a4W.js} +11 -11
- package/cjs/chunks/{bundle-BUBaSa_-.js.map → bundle-DWwL0a4W.js.map} +1 -1
- package/cjs/chunks/{bundle-B3gE4-sg.js → bundle-DYH-Fpti.js} +4 -19
- package/cjs/chunks/{bundle-B3gE4-sg.js.map → bundle-DYH-Fpti.js.map} +1 -1
- package/cjs/chunks/{bundle-2pxnOYL4.js → bundle-Dcn5Xw_v.js} +4 -4
- package/cjs/chunks/{bundle-2pxnOYL4.js.map → bundle-Dcn5Xw_v.js.map} +1 -1
- package/cjs/chunks/{bundle-MdWTpHE3.js → bundle-Dg5cJzTw.js} +57 -63
- package/cjs/chunks/bundle-Dg5cJzTw.js.map +1 -0
- package/cjs/chunks/{bundle-DLZ9iVVC.js → bundle-Dhc8aysm.js} +3 -3
- package/cjs/chunks/bundle-Dhc8aysm.js.map +1 -0
- package/cjs/chunks/{bundle-viPU2Zrj.js → bundle-DoE4Q2WU.js} +1 -1
- package/cjs/chunks/bundle-DoE4Q2WU.js.map +1 -0
- package/cjs/chunks/{bundle-EroNh7Ac.js → bundle-DsxetdDB.js} +1 -1
- package/cjs/chunks/bundle-DsxetdDB.js.map +1 -0
- package/cjs/chunks/{bundle-tK8yFMGZ.js → bundle-DvowIJM9.js} +9 -9
- package/cjs/chunks/bundle-DvowIJM9.js.map +1 -0
- package/cjs/chunks/{bundle-DpgtZXbp.js → bundle-L3CfQ_hg.js} +14 -14
- package/cjs/chunks/{bundle-DpgtZXbp.js.map → bundle-L3CfQ_hg.js.map} +1 -1
- package/cjs/chunks/{bundle-BwwA3giM.js → bundle-LsedFW92.js} +2 -2
- package/cjs/chunks/bundle-LsedFW92.js.map +1 -0
- package/cjs/chunks/{bundle-CMoYluZj.js → bundle-N_1Gt5W3.js} +4 -4
- package/cjs/chunks/bundle-N_1Gt5W3.js.map +1 -0
- package/cjs/chunks/{bundle-z66HeEp3.js → bundle-QN_dssGC.js} +1 -1
- package/cjs/chunks/bundle-QN_dssGC.js.map +1 -0
- package/cjs/chunks/{bundle-BdG7Rc1R.js → bundle-TEaGoE63.js} +5 -5
- package/cjs/chunks/bundle-TEaGoE63.js.map +1 -0
- package/cjs/chunks/{bundle-6RaeE_-7.js → bundle-XORoItM6.js} +1 -1
- package/cjs/chunks/bundle-XORoItM6.js.map +1 -0
- package/cjs/chunks/{bundle-BSTb1mFt.js → bundle-ZARlfEpr.js} +5 -5
- package/cjs/chunks/bundle-ZARlfEpr.js.map +1 -0
- package/cjs/chunks/{bundle-DDSkFKJ4.js → bundle-_KPYoqvO.js} +1 -1
- package/cjs/chunks/bundle-_KPYoqvO.js.map +1 -0
- package/cjs/chunks/{bundle-DJbEnul6.js → bundle-cFWnX4Tf.js} +6 -6
- package/cjs/chunks/bundle-cFWnX4Tf.js.map +1 -0
- package/cjs/chunks/{bundle-DDM7FQ5E.js → bundle-gYlXAuPh.js} +7 -7
- package/cjs/chunks/bundle-gYlXAuPh.js.map +1 -0
- package/cjs/chunks/{bundle-CYBu-C6E.js → bundle-hQ7iLiTN.js} +1 -1
- package/cjs/chunks/bundle-hQ7iLiTN.js.map +1 -0
- package/cjs/chunks/{bundle-DUThNjHI.js → bundle-hVPEu0_c.js} +3 -3
- package/cjs/chunks/{bundle-DUThNjHI.js.map → bundle-hVPEu0_c.js.map} +1 -1
- package/cjs/chunks/{bundle-DytUGiju.js → bundle-ioAYAc1x.js} +2 -2
- package/cjs/chunks/bundle-ioAYAc1x.js.map +1 -0
- package/cjs/chunks/bundle-k-Y_BM9m.js +18 -0
- package/cjs/chunks/bundle-k-Y_BM9m.js.map +1 -0
- package/cjs/chunks/{bundle-lXC5D8Eq.js → bundle-lRPypcEP.js} +1 -1
- package/cjs/chunks/bundle-lRPypcEP.js.map +1 -0
- package/cjs/chunks/{bundle-C3gIbns_.js → bundle-lg2VZUfB.js} +16 -16
- package/cjs/chunks/bundle-lg2VZUfB.js.map +1 -0
- package/cjs/chunks/{bundle-CfxDEtAN.js → bundle-lwejARF-.js} +10 -10
- package/cjs/chunks/bundle-lwejARF-.js.map +1 -0
- package/cjs/chunks/{bundle-BZByKaLs.js → bundle-mgZT4o2L.js} +1 -1
- package/cjs/chunks/bundle-mgZT4o2L.js.map +1 -0
- package/cjs/chunks/{bundle-cjfTIYNo.js → bundle-n7yqWnYc.js} +1 -1
- package/cjs/chunks/bundle-n7yqWnYc.js.map +1 -0
- package/cjs/chunks/{bundle-wwwDjH0w.js → bundle-nbIOXEwY.js} +1 -1
- package/cjs/chunks/{bundle-wwwDjH0w.js.map → bundle-nbIOXEwY.js.map} +1 -1
- package/cjs/chunks/{bundle-uIEHfPv7.js → bundle-pDTpawXd.js} +1 -1
- package/cjs/chunks/bundle-pDTpawXd.js.map +1 -0
- package/cjs/chunks/{bundle-Bd5-Auhd.js → bundle-pJv3Q0cb.js} +1 -1
- package/cjs/chunks/bundle-pJv3Q0cb.js.map +1 -0
- package/cjs/chunks/{bundle-BPcaLWyG.js → bundle-pW3_ob-0.js} +1 -1
- package/cjs/chunks/bundle-pW3_ob-0.js.map +1 -0
- package/cjs/chunks/{bundle-NgDLJ4XU.js → bundle-qc5egsO_.js} +3 -3
- package/cjs/chunks/bundle-qc5egsO_.js.map +1 -0
- package/cjs/chunks/{bundle-BANWV5X0.js → bundle-sRcY6eTA.js} +10 -10
- package/cjs/chunks/{bundle-BANWV5X0.js.map → bundle-sRcY6eTA.js.map} +1 -1
- package/cjs/chunks/{bundle-0dm-rZLh.js → bundle-vsCAD9Ej.js} +3 -3
- package/cjs/chunks/bundle-vsCAD9Ej.js.map +1 -0
- package/cjs/chunks/{bundle-HLR6JcDU.js → bundle-xOjjMFaY.js} +1 -1
- package/cjs/chunks/bundle-xOjjMFaY.js.map +1 -0
- package/cjs/chunks/{bundle-BQc8sm8f.js → bundle-xn7uMkjF.js} +10 -10
- package/cjs/chunks/bundle-xn7uMkjF.js.map +1 -0
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +82 -83
- package/cjs/index.js.map +1 -1
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/ui/Accordion.js +28 -36
- package/cjs/ui/Accordion.js.map +1 -1
- package/cjs/ui/AccordionGroup.js +47 -11
- package/cjs/ui/AccordionGroup.js.map +1 -1
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +4 -4
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +5 -5
- package/cjs/ui/ConnectionStatus.js +6 -6
- package/cjs/ui/ContextMenu.js +6 -6
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +29 -17
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
- package/cjs/ui/FileMessageItemBody.js +50 -12
- package/cjs/ui/FileMessageItemBody.js.map +1 -1
- package/cjs/ui/FileViewer.js +15 -15
- package/cjs/ui/Icon.js +2 -2
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +3 -3
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
- package/cjs/ui/MentionLabel.js +13 -13
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +138 -114
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageFeedbackFailedModal.js +35 -0
- package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -0
- package/cjs/{Channel/components → ui}/MessageFeedbackModal.js +13 -13
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +15 -15
- package/cjs/ui/MessageItemMenu.js +63 -26
- package/cjs/ui/MessageItemMenu.js.map +1 -1
- package/cjs/ui/MessageItemReactionMenu.js +9 -9
- package/cjs/ui/MessageSearchFileItem.js +14 -14
- package/cjs/ui/MessageSearchItem.js +11 -11
- package/cjs/ui/MessageStatus.js +12 -12
- package/cjs/ui/MessageTemplate.js +2 -1
- package/cjs/ui/MessageTemplate.js.map +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +9 -9
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +19 -17
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +8 -8
- package/cjs/ui/OpenchannelConversationHeader.js +8 -8
- package/cjs/ui/OpenchannelFileMessage.js +18 -18
- package/cjs/ui/OpenchannelOGMessage.js +20 -20
- package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
- package/cjs/ui/OpenchannelUserMessage.js +18 -18
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/QuoteMessage.js +9 -9
- package/cjs/ui/QuoteMessageInput.js +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/TemplateMessageItemBody.js +143 -73
- package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +16 -16
- package/cjs/ui/ThreadReplies.js +8 -8
- package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/TypingIndicatorBubble.js +4 -4
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +17 -16
- package/cjs/ui/UserListItem.js.map +1 -1
- package/cjs/ui/UserProfile.js +10 -10
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/Word.js +13 -13
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +3 -3
- package/cjs/withSendbird.js +1 -1
- package/dist/index.css +143 -148
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +82 -83
- package/index.js.map +1 -1
- package/package.json +19 -19
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/lib/dux/appInfo/initialState.d.ts +1 -0
- package/types/lib/types.d.ts +1 -0
- package/types/modules/ChannelSettings/components/ModerationPanel/index.d.ts +1 -1
- package/types/modules/GroupChannel/components/FileViewer/FileViewerView.d.ts +5 -3
- package/types/modules/GroupChannel/components/Message/MessageView.d.ts +6 -0
- package/types/modules/GroupChannel/components/MessageTemplateWrapper/index.d.ts +1 -1
- package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +6 -1
- package/types/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +3 -1
- package/types/modules/Thread/context/ThreadProvider.d.ts +2 -0
- package/types/types.d.ts +1 -2
- package/types/ui/Accordion/Accordion.d.ts +10 -0
- package/types/ui/Accordion/AccordionGroup.d.ts +15 -5
- package/types/ui/Accordion/index.d.ts +6 -12
- package/types/ui/EmojiReactions/index.d.ts +1 -2
- package/types/ui/FileMessageItemBody/index.d.ts +3 -1
- package/types/ui/FileViewer/index.d.ts +2 -1
- package/types/ui/FileViewer/types.d.ts +4 -2
- package/types/ui/MessageContent/MessageBody/index.d.ts +5 -1
- package/types/ui/MessageContent/index.d.ts +3 -1
- package/types/{modules/Channel/components → ui}/MessageFeedbackModal/index.d.ts +1 -1
- package/types/ui/MessageItemMenu/index.d.ts +10 -2
- package/types/ui/MessageTemplate/index.d.ts +4 -3
- package/types/ui/MessageTemplate/messageTemplateErrorBoundary.d.ts +3 -0
- package/types/ui/MobileMenu/types.d.ts +2 -1
- package/types/ui/MultipleFilesMessageItemBody/index.d.ts +3 -1
- package/types/ui/TemplateMessageItemBody/index.d.ts +3 -2
- package/types/ui/TemplateMessageItemBody/types.d.ts +11 -12
- package/types/ui/UserListItem/index.d.ts +2 -1
- package/types/utils/getIsReactionEnabled.d.ts +5 -4
- package/types/utils/index.d.ts +0 -2
- package/ui/Accordion.js +28 -39
- package/ui/Accordion.js.map +1 -1
- package/ui/AccordionGroup.js +43 -12
- package/ui/AccordionGroup.js.map +1 -1
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +5 -5
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +29 -17
- package/ui/EmojiReactions.js.map +1 -1
- package/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
- package/ui/FileMessageItemBody.js +50 -12
- package/ui/FileMessageItemBody.js.map +1 -1
- package/ui/FileViewer.js +15 -15
- package/ui/Icon.js +2 -2
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +3 -3
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +3 -3
- package/ui/Loader.js +2 -2
- package/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
- package/ui/MentionLabel.js +13 -13
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +137 -113
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageFeedbackFailedModal.js +33 -0
- package/ui/MessageFeedbackFailedModal.js.map +1 -0
- package/{Channel/components → ui}/MessageFeedbackModal.js +13 -13
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +15 -15
- package/ui/MessageItemMenu.js +63 -26
- package/ui/MessageItemMenu.js.map +1 -1
- package/ui/MessageItemReactionMenu.js +9 -9
- package/ui/MessageSearchFileItem.js +14 -14
- package/ui/MessageSearchItem.js +11 -11
- package/ui/MessageStatus.js +12 -12
- package/ui/MessageTemplate.js +2 -1
- package/ui/MessageTemplate.js.map +1 -1
- package/ui/MobileFeedbackMenu.js +9 -9
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +19 -17
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +8 -8
- package/ui/OpenchannelConversationHeader.js +8 -8
- package/ui/OpenchannelFileMessage.js +18 -18
- package/ui/OpenchannelOGMessage.js +20 -20
- package/ui/OpenchannelThumbnailMessage.js +17 -17
- package/ui/OpenchannelUserMessage.js +18 -18
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/QuoteMessage.js +9 -9
- package/ui/QuoteMessageInput.js +9 -9
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TemplateMessageItemBody.js +143 -73
- package/ui/TemplateMessageItemBody.js.map +1 -1
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +16 -16
- package/ui/ThreadReplies.js +8 -8
- package/ui/ThumbnailMessageItemBody.js +7 -7
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +4 -4
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +17 -16
- package/ui/UserListItem.js.map +1 -1
- package/ui/UserProfile.js +10 -10
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +13 -13
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +3 -3
- package/withSendbird.js +1 -1
- package/chunks/bundle-1IYchI7A.js +0 -12
- package/chunks/bundle-1IYchI7A.js.map +0 -1
- package/chunks/bundle-33BY7XhN.js.map +0 -1
- package/chunks/bundle-4YHx3jhU.js.map +0 -1
- package/chunks/bundle-7DqcfMUP.js.map +0 -1
- package/chunks/bundle-B0A-GTy2.js.map +0 -1
- package/chunks/bundle-B0hUzTR9.js.map +0 -1
- package/chunks/bundle-BE6Zgv3s.js.map +0 -1
- package/chunks/bundle-BE9YtwxF.js.map +0 -1
- package/chunks/bundle-BRSrznG_.js.map +0 -1
- package/chunks/bundle-BYjHDpcR.js.map +0 -1
- package/chunks/bundle-BcfbcVVS.js.map +0 -1
- package/chunks/bundle-BdJeQIAi.js.map +0 -1
- package/chunks/bundle-BegOh-X0.js.map +0 -1
- package/chunks/bundle-BjbYgCW9.js.map +0 -1
- package/chunks/bundle-BkNNtN1V.js.map +0 -1
- package/chunks/bundle-Bm9cdQdy.js.map +0 -1
- package/chunks/bundle-Bumce6iI.js.map +0 -1
- package/chunks/bundle-Byxn68mh.js.map +0 -1
- package/chunks/bundle-BzmY6Ioa.js.map +0 -1
- package/chunks/bundle-C-gNLxiH.js.map +0 -1
- package/chunks/bundle-C00KC3uY.js.map +0 -1
- package/chunks/bundle-C1UCPEjT.js.map +0 -1
- package/chunks/bundle-CPlEjTQQ.js.map +0 -1
- package/chunks/bundle-CSIi4GHQ.js.map +0 -1
- package/chunks/bundle-CWPkjiZ7.js.map +0 -1
- package/chunks/bundle-CWvAVk8m.js.map +0 -1
- package/chunks/bundle-CbKfkHfl.js.map +0 -1
- package/chunks/bundle-Cbag41eX.js.map +0 -1
- package/chunks/bundle-CquJpe2n.js.map +0 -1
- package/chunks/bundle-CsV5Pqhn.js.map +0 -1
- package/chunks/bundle-D4vlYCrG.js.map +0 -1
- package/chunks/bundle-D87WTORg.js.map +0 -1
- package/chunks/bundle-DEPqhDQk.js.map +0 -1
- package/chunks/bundle-DM3wUgvd.js.map +0 -1
- package/chunks/bundle-DPsySdlV.js.map +0 -1
- package/chunks/bundle-DR5lvmY_.js.map +0 -1
- package/chunks/bundle-DTniwDWL.js.map +0 -1
- package/chunks/bundle-DW2UIt7g.js.map +0 -1
- package/chunks/bundle-DaAps-h8.js.map +0 -1
- package/chunks/bundle-DbWpPftJ.js.map +0 -1
- package/chunks/bundle-Dcg5UJZ5.js.map +0 -1
- package/chunks/bundle-Df7uYu02.js.map +0 -1
- package/chunks/bundle-DfhDmd9y.js.map +0 -1
- package/chunks/bundle-DqPWGoAJ.js.map +0 -1
- package/chunks/bundle-DrKv7qiU.js.map +0 -1
- package/chunks/bundle-DyaS04Hg.js.map +0 -1
- package/chunks/bundle-DzD5ZPeu.js.map +0 -1
- package/chunks/bundle-O8OKcGsA.js.map +0 -1
- package/chunks/bundle-PoeV4u5o.js.map +0 -1
- package/chunks/bundle-Ti1Y75Dm.js.map +0 -1
- package/chunks/bundle-ZJcHeU_o.js.map +0 -1
- package/chunks/bundle-f6zTWcHL.js.map +0 -1
- package/chunks/bundle-moA7aUUB.js +0 -11
- package/chunks/bundle-moA7aUUB.js.map +0 -1
- package/cjs/chunks/bundle-0dm-rZLh.js.map +0 -1
- package/cjs/chunks/bundle-6RaeE_-7.js.map +0 -1
- package/cjs/chunks/bundle-AxW84oGr.js.map +0 -1
- package/cjs/chunks/bundle-B5RW0yuQ.js.map +0 -1
- package/cjs/chunks/bundle-B5pxZS7a.js.map +0 -1
- package/cjs/chunks/bundle-BDDfcS3c.js.map +0 -1
- package/cjs/chunks/bundle-BIaA_1Gt.js.map +0 -1
- package/cjs/chunks/bundle-BPcaLWyG.js.map +0 -1
- package/cjs/chunks/bundle-BQc8sm8f.js.map +0 -1
- package/cjs/chunks/bundle-BR4VteQq.js +0 -15
- package/cjs/chunks/bundle-BR4VteQq.js.map +0 -1
- package/cjs/chunks/bundle-BSTb1mFt.js.map +0 -1
- package/cjs/chunks/bundle-BZByKaLs.js.map +0 -1
- package/cjs/chunks/bundle-BZYotRJz.js.map +0 -1
- package/cjs/chunks/bundle-Bc_3JLZG.js.map +0 -1
- package/cjs/chunks/bundle-Bd5-Auhd.js.map +0 -1
- package/cjs/chunks/bundle-BdG7Rc1R.js.map +0 -1
- package/cjs/chunks/bundle-BfLBf8rb.js.map +0 -1
- package/cjs/chunks/bundle-BhRPdcn-.js.map +0 -1
- package/cjs/chunks/bundle-BkrtMQxo.js.map +0 -1
- package/cjs/chunks/bundle-BmOkcO1e.js.map +0 -1
- package/cjs/chunks/bundle-BwwA3giM.js.map +0 -1
- package/cjs/chunks/bundle-ByYRydtT.js +0 -13
- package/cjs/chunks/bundle-ByYRydtT.js.map +0 -1
- package/cjs/chunks/bundle-C1YOhOl2.js.map +0 -1
- package/cjs/chunks/bundle-C2ABFLZ1.js.map +0 -1
- package/cjs/chunks/bundle-C3gIbns_.js.map +0 -1
- package/cjs/chunks/bundle-C9xOwqge.js.map +0 -1
- package/cjs/chunks/bundle-CCEKPtKR.js.map +0 -1
- package/cjs/chunks/bundle-CMoYluZj.js.map +0 -1
- package/cjs/chunks/bundle-CSfRc5hY.js.map +0 -1
- package/cjs/chunks/bundle-CYBu-C6E.js.map +0 -1
- package/cjs/chunks/bundle-CfxDEtAN.js.map +0 -1
- package/cjs/chunks/bundle-Chu9Um5P.js.map +0 -1
- package/cjs/chunks/bundle-CidVlBMl.js.map +0 -1
- package/cjs/chunks/bundle-Cl34HO9m.js.map +0 -1
- package/cjs/chunks/bundle-Crhw0Zu1.js.map +0 -1
- package/cjs/chunks/bundle-CsCGO7nq.js.map +0 -1
- package/cjs/chunks/bundle-CtfNcymC.js.map +0 -1
- package/cjs/chunks/bundle-CuhtyPjN.js.map +0 -1
- package/cjs/chunks/bundle-DDM7FQ5E.js.map +0 -1
- package/cjs/chunks/bundle-DDSkFKJ4.js.map +0 -1
- package/cjs/chunks/bundle-DEQCIOPf.js.map +0 -1
- package/cjs/chunks/bundle-DJbEnul6.js.map +0 -1
- package/cjs/chunks/bundle-DLZ9iVVC.js.map +0 -1
- package/cjs/chunks/bundle-DPFRrny4.js.map +0 -1
- package/cjs/chunks/bundle-DP_Z2ZCu.js.map +0 -1
- package/cjs/chunks/bundle-DhbE_hFO.js.map +0 -1
- package/cjs/chunks/bundle-Di5APzpg.js.map +0 -1
- package/cjs/chunks/bundle-DytUGiju.js.map +0 -1
- package/cjs/chunks/bundle-EroNh7Ac.js.map +0 -1
- package/cjs/chunks/bundle-G2_KR7Mu.js.map +0 -1
- package/cjs/chunks/bundle-GZJzVB02.js.map +0 -1
- package/cjs/chunks/bundle-HLR6JcDU.js.map +0 -1
- package/cjs/chunks/bundle-Ht75_VEx.js.map +0 -1
- package/cjs/chunks/bundle-MdWTpHE3.js.map +0 -1
- package/cjs/chunks/bundle-NgDLJ4XU.js.map +0 -1
- package/cjs/chunks/bundle-UNBazgOP.js.map +0 -1
- package/cjs/chunks/bundle-XHpUo2d5.js.map +0 -1
- package/cjs/chunks/bundle-cjfTIYNo.js.map +0 -1
- package/cjs/chunks/bundle-jp-5eI5e.js.map +0 -1
- package/cjs/chunks/bundle-lXC5D8Eq.js.map +0 -1
- package/cjs/chunks/bundle-pYqgDFla.js.map +0 -1
- package/cjs/chunks/bundle-tK8yFMGZ.js.map +0 -1
- package/cjs/chunks/bundle-uIEHfPv7.js.map +0 -1
- package/cjs/chunks/bundle-viPU2Zrj.js.map +0 -1
- package/cjs/chunks/bundle-z66HeEp3.js.map +0 -1
- package/cjs/ui/Carousel.js +0 -194
- package/cjs/ui/Carousel.js.map +0 -1
- package/ui/Carousel.js +0 -189
- package/ui/Carousel.js.map +0 -1
- /package/cjs/{Channel/components → ui}/MessageFeedbackModal.js.map +0 -0
- /package/types/{modules/Channel/components → ui}/MessageFeedbackFailedModal/index.d.ts +0 -0
- /package/{Channel/components → ui}/MessageFeedbackModal.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-DrjAD_2v.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-DuUoXuv1.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as VOICE_RECORDER_AUDIO_SAMPLE_RATE } from './bundle-
|
|
1
|
+
import { c as VOICE_RECORDER_AUDIO_SAMPLE_RATE } from './bundle-C5Wf2y_6.js';
|
|
2
2
|
import { WavHeader as ut, Mp3Encoder as ht } from '../lame.all.js';
|
|
3
3
|
|
|
4
4
|
// Thanks to https://codesandbox.io/s/media-recorder-api-downsampling-16k-mp3-encode-using-lame-js-forked-n1pblw
|
|
@@ -122,4 +122,4 @@ function bufferToWav(abuffer, len) {
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
export { downsampleToWav, encodeMp3 };
|
|
125
|
-
//# sourceMappingURL=bundle-
|
|
125
|
+
//# sourceMappingURL=bundle-DzZlONIt.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-DzZlONIt.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as __assign, c as __spreadArray } from './bundle-
|
|
1
|
+
import { _ as __assign, c as __spreadArray } from './bundle-CfcfVkxG.js';
|
|
2
2
|
import { GroupChannelListOrder } from '@sendbird/chat/groupChannel';
|
|
3
3
|
import { OutgoingMessageStates, getOutgoingMessageState } from '../utils/message/getOutgoingMessageState.js';
|
|
4
|
-
import { K } from './bundle-
|
|
4
|
+
import { K } from './bundle-BubacXNL.js';
|
|
5
5
|
|
|
6
6
|
var TypingIndicatorType;
|
|
7
7
|
(function (TypingIndicatorType) {
|
|
@@ -12,7 +12,6 @@ var MessageContentMiddleContainerType;
|
|
|
12
12
|
(function (MessageContentMiddleContainerType) {
|
|
13
13
|
MessageContentMiddleContainerType["DEFAULT"] = "default";
|
|
14
14
|
MessageContentMiddleContainerType["WIDE"] = "wide";
|
|
15
|
-
MessageContentMiddleContainerType["FULL"] = "full";
|
|
16
15
|
})(MessageContentMiddleContainerType || (MessageContentMiddleContainerType = {}));
|
|
17
16
|
|
|
18
17
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
|
|
@@ -189,15 +188,10 @@ var isTemplateMessage = function (message) {
|
|
|
189
188
|
var _a;
|
|
190
189
|
return !!(message && ((_a = message.extendedMessagePayload) === null || _a === void 0 ? void 0 : _a['template']));
|
|
191
190
|
};
|
|
192
|
-
var isCompositeTemplateMessage = function (message) {
|
|
193
|
-
var _a, _b;
|
|
194
|
-
return !!(message && ((_b = (_a = message.extendedMessagePayload) === null || _a === void 0 ? void 0 : _a['template']) === null || _b === void 0 ? void 0 : _b['view_variables']));
|
|
195
|
-
};
|
|
196
191
|
var UI_CONTAINER_TYPES;
|
|
197
192
|
(function (UI_CONTAINER_TYPES) {
|
|
198
193
|
UI_CONTAINER_TYPES["DEFAULT"] = "";
|
|
199
194
|
UI_CONTAINER_TYPES["WIDE"] = "ui_container_type__wide";
|
|
200
|
-
UI_CONTAINER_TYPES["FULL"] = "ui_container_type__full";
|
|
201
195
|
UI_CONTAINER_TYPES["DEFAULT_CAROUSEL"] = "ui_container_type__default-carousel";
|
|
202
196
|
})(UI_CONTAINER_TYPES || (UI_CONTAINER_TYPES = {}));
|
|
203
197
|
var getMessageContentMiddleClassNameByContainerType = function (_a) {
|
|
@@ -208,18 +202,9 @@ var getMessageContentMiddleClassNameByContainerType = function (_a) {
|
|
|
208
202
|
* WIDE: all message types.
|
|
209
203
|
*/
|
|
210
204
|
var containerType = (_c = (_b = message.extendedMessagePayload) === null || _b === void 0 ? void 0 : _b['ui']) === null || _c === void 0 ? void 0 : _c['container_type'];
|
|
211
|
-
if (isCompositeTemplateMessage(message)) {
|
|
212
|
-
/**
|
|
213
|
-
* Composite templates must have default carousel view irregardless of given containerType.
|
|
214
|
-
*/
|
|
215
|
-
return UI_CONTAINER_TYPES.DEFAULT_CAROUSEL;
|
|
216
|
-
}
|
|
217
205
|
if (!isMobile)
|
|
218
206
|
return UI_CONTAINER_TYPES.DEFAULT;
|
|
219
|
-
if (
|
|
220
|
-
return UI_CONTAINER_TYPES.FULL;
|
|
221
|
-
}
|
|
222
|
-
else if (containerType === MessageContentMiddleContainerType.WIDE) {
|
|
207
|
+
if (containerType === MessageContentMiddleContainerType.WIDE) {
|
|
223
208
|
return UI_CONTAINER_TYPES.WIDE;
|
|
224
209
|
}
|
|
225
210
|
return UI_CONTAINER_TYPES.DEFAULT;
|
|
@@ -726,5 +711,5 @@ var isSendableMessage = function (message) {
|
|
|
726
711
|
return Boolean(message) && 'sender' in message;
|
|
727
712
|
};
|
|
728
713
|
|
|
729
|
-
export { filterMessageListParams as $, isGif as A, convertWordToStringObj as B, isTemplateMessage as C, isAudio as D, isVoiceMessageMimeType as E, isSentStatus as F, arrayEqual as G, getMimeTypesUIKitAccepts as H, isImageMessage as I, isImageFileInfo as J, isAudioMessage as K, isOGMessage as L, isTextMessage as M, isThreadMessage as N,
|
|
730
|
-
//# sourceMappingURL=bundle-
|
|
714
|
+
export { filterMessageListParams as $, isGif as A, convertWordToStringObj as B, isTemplateMessage as C, isAudio as D, isVoiceMessageMimeType as E, isSentStatus as F, arrayEqual as G, getMimeTypesUIKitAccepts as H, isImageMessage as I, isImageFileInfo as J, isAudioMessage as K, isOGMessage as L, isTextMessage as M, isThreadMessage as N, getMessageContentMiddleClassNameByContainerType as O, UI_CONTAINER_TYPES as P, getEmojiUrl as Q, isReactedBy as R, StringObjType as S, TypingIndicatorType as T, UIKitMessageTypes as U, getEmojiTooltipString as V, getEmojiMapAll as W, startsWithAtAndEndsWithBraces as X, removeAtAndBraces as Y, filterChannelListParams as Z, getChannelsWithUpsertedChannel as _, isReadMessage as a, isTextuallyNull as a0, isFileMessage as b, isMultipleFilesMessage as c, isEditedMessage as d, isSendableMessage as e, getSenderName as f, getSuggestedReplies as g, isSupportedFileView as h, isVoiceMessage as i, isVideo as j, isImage as k, isUserMessage as l, getUIKitMessageType as m, getUIKitMessageTypes as n, getUIKitFileType as o, isThumbnailMessage as p, isSentMessage as q, isVideoMessage as r, isGifMessage as s, truncateString as t, isFailedMessage as u, isPendingMessage as v, getClassName as w, copyToClipboard as x, getEmojiListAll as y, getUIKitFileTypes as z };
|
|
715
|
+
//# sourceMappingURL=bundle-FVThTEKh.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-FVThTEKh.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { _ as __assign } from './bundle-
|
|
1
|
+
import { _ as __assign } from './bundle-CfcfVkxG.js';
|
|
2
2
|
import React__default, { useRef, useContext } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
|
-
import { L as LocalizationContext } from './bundle-
|
|
4
|
+
import { L as LocalizationContext } from './bundle-Bsg3ZeXI.js';
|
|
5
5
|
import '../hooks/useModal.js';
|
|
6
|
-
import { c as isMultipleFilesMessage, b as isFileMessage, h as isSupportedFileView, j as isVideo$1, k as isImage$1 } from './bundle-
|
|
7
|
-
import { n as noop } from './bundle-
|
|
8
|
-
import { A as Avatar } from './bundle-
|
|
9
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
6
|
+
import { c as isMultipleFilesMessage, b as isFileMessage, h as isSupportedFileView, j as isVideo$1, k as isImage$1 } from './bundle-FVThTEKh.js';
|
|
7
|
+
import { n as noop } from './bundle-rA2Y0qFJ.js';
|
|
8
|
+
import { A as Avatar } from './bundle-vsdOwl6R.js';
|
|
9
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-D81rUAiK.js';
|
|
10
10
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
11
|
-
import { l as SLIDER_BUTTON_ICON_SIDE_LENGTH } from './bundle-
|
|
12
|
-
import { u as useKeyDown } from './bundle-
|
|
13
|
-
import { a as MODAL_ROOT } from './bundle-
|
|
11
|
+
import { l as SLIDER_BUTTON_ICON_SIDE_LENGTH } from './bundle-C5Wf2y_6.js';
|
|
12
|
+
import { u as useKeyDown } from './bundle-BN9xM02J.js';
|
|
13
|
+
import { a as MODAL_ROOT } from './bundle-CIwNgqhu.js';
|
|
14
14
|
|
|
15
15
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
|
|
16
16
|
var SUPPORTED_MIMES = {
|
|
@@ -85,9 +85,9 @@ function Slider(props) {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
var FileViewerComponent = function (props) {
|
|
88
|
-
var
|
|
89
|
-
var profileUrl = props.profileUrl, nickname = props.nickname, onClose = props.onClose;
|
|
88
|
+
var profileUrl = props.profileUrl, nickname = props.nickname, onClose = props.onClose, onDownloadClick = props.onDownloadClick;
|
|
90
89
|
var _a = props, onClickLeft = _a.onClickLeft, onClickRight = _a.onClickRight;
|
|
90
|
+
var ref = useRef(null);
|
|
91
91
|
var onKeyDown = useKeyDown(ref, {
|
|
92
92
|
Escape: function (e) { return onClose === null || onClose === void 0 ? void 0 : onClose(e); },
|
|
93
93
|
ArrowLeft: function () { return onClickLeft === null || onClickLeft === void 0 ? void 0 : onClickLeft(); },
|
|
@@ -106,7 +106,7 @@ var FileViewerComponent = function (props) {
|
|
|
106
106
|
React__default.createElement(Label, { className: "sendbird-fileviewer__header__left__sender-name", type: LabelTypography.BODY_1, color: LabelColors.ONBACKGROUND_2 }, nickname)),
|
|
107
107
|
React__default.createElement("div", { className: "sendbird-fileviewer__header__right" },
|
|
108
108
|
isSupportedFileView(type) && (React__default.createElement("div", { className: "sendbird-fileviewer__header__right__actions" },
|
|
109
|
-
React__default.createElement("a", { className: "sendbird-fileviewer__header__right__actions__download", rel: "noopener noreferrer", href: url, target: "_blank" },
|
|
109
|
+
React__default.createElement("a", { className: "sendbird-fileviewer__header__right__actions__download", rel: "noopener noreferrer", href: url, target: "_blank", onClick: onDownloadClick },
|
|
110
110
|
React__default.createElement(Icon, { type: IconTypes.DOWNLOAD, fillColor: IconColors.ON_BACKGROUND_1, height: "24px", width: "24px" })),
|
|
111
111
|
React__default.createElement(DeleteButton, __assign({ className: 'sendbird-fileviewer__header__right__actions__delete' }, props)))),
|
|
112
112
|
React__default.createElement("div", { className: "sendbird-fileviewer__header__right__actions__close" },
|
|
@@ -123,7 +123,7 @@ var FileViewerComponent = function (props) {
|
|
|
123
123
|
};
|
|
124
124
|
function FileViewer(_a) {
|
|
125
125
|
var _b, _c, _d;
|
|
126
|
-
var message = _a.message, _e = _a.statefulFileInfoList, statefulFileInfoList = _e === void 0 ? [] : _e, onClose = _a.onClose, _f = _a.isByMe, isByMe = _f === void 0 ? false : _f, onDelete = _a.onDelete, currentIndex = _a.currentIndex, onClickLeft = _a.onClickLeft, onClickRight = _a.onClickRight;
|
|
126
|
+
var message = _a.message, _e = _a.statefulFileInfoList, statefulFileInfoList = _e === void 0 ? [] : _e, onClose = _a.onClose, _f = _a.isByMe, isByMe = _f === void 0 ? false : _f, onDelete = _a.onDelete, currentIndex = _a.currentIndex, onClickLeft = _a.onClickLeft, onClickRight = _a.onClickRight, onDownloadClick = _a.onDownloadClick;
|
|
127
127
|
if (isMultipleFilesMessage(message)) {
|
|
128
128
|
var castedMessage = message;
|
|
129
129
|
return (React__default.createElement(FileViewerComponent, { profileUrl: castedMessage.sender.profileUrl, nickname: castedMessage.sender.nickname, viewerType: ViewerTypes.MULTI, fileInfoList: statefulFileInfoList.filter(function (fileInfo) {
|
|
@@ -134,14 +134,14 @@ function FileViewer(_a) {
|
|
|
134
134
|
type: fileInfo.mimeType || '',
|
|
135
135
|
url: fileInfo.url,
|
|
136
136
|
};
|
|
137
|
-
}), currentIndex: currentIndex || 0, onClickLeft: onClickLeft || noop, onClickRight: onClickRight || noop, onClose: onClose }));
|
|
137
|
+
}), currentIndex: currentIndex || 0, onClickLeft: onClickLeft || noop, onClickRight: onClickRight || noop, onClose: onClose, onDownloadClick: onDownloadClick }));
|
|
138
138
|
}
|
|
139
139
|
else if (isFileMessage(message)) {
|
|
140
140
|
var castedMessage = message;
|
|
141
|
-
return createPortal((React__default.createElement(FileViewerComponent, { profileUrl: (_b = castedMessage.sender) === null || _b === void 0 ? void 0 : _b.profileUrl, nickname: (_c = castedMessage.sender) === null || _c === void 0 ? void 0 : _c.nickname, name: castedMessage.name, type: castedMessage.type, url: castedMessage === null || castedMessage === void 0 ? void 0 : castedMessage.url, isByMe: isByMe, disableDelete: (((_d = castedMessage.threadInfo) === null || _d === void 0 ? void 0 : _d.replyCount) || 0) > 0, onClose: onClose, onDelete: onDelete || noop })), document.getElementById(MODAL_ROOT));
|
|
141
|
+
return createPortal((React__default.createElement(FileViewerComponent, { profileUrl: (_b = castedMessage.sender) === null || _b === void 0 ? void 0 : _b.profileUrl, nickname: (_c = castedMessage.sender) === null || _c === void 0 ? void 0 : _c.nickname, name: castedMessage.name, type: castedMessage.type, url: castedMessage === null || castedMessage === void 0 ? void 0 : castedMessage.url, isByMe: isByMe, disableDelete: (((_d = castedMessage.threadInfo) === null || _d === void 0 ? void 0 : _d.replyCount) || 0) > 0, onClose: onClose, onDelete: onDelete || noop, onDownloadClick: onDownloadClick })), document.getElementById(MODAL_ROOT));
|
|
142
142
|
}
|
|
143
143
|
return React__default.createElement(React__default.Fragment, null);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
export { FileViewer as F, isVideo as a, FileViewerComponent as b, isImage as i };
|
|
147
|
-
//# sourceMappingURL=bundle-
|
|
147
|
+
//# sourceMappingURL=bundle-Go8RJZ6S.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Go8RJZ6S.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-HQX6RTqS.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-KeJ_rVJL.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { a as __awaiter, b as __generator, c as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __awaiter, b as __generator, c as __spreadArray } from './bundle-CfcfVkxG.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect, useCallback } from 'react';
|
|
3
|
-
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-
|
|
3
|
+
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted } from './bundle-DKfCP7IG.js';
|
|
4
4
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
5
|
-
import { u as useLocalization } from './bundle-
|
|
5
|
+
import { u as useLocalization } from './bundle-Bsg3ZeXI.js';
|
|
6
6
|
import { SuggestedMentionList } from '../GroupChannel/components/SuggestedMentionList.js';
|
|
7
7
|
import { useDirtyGetMentions } from '../Message/hooks/useDirtyGetMentions.js';
|
|
8
8
|
import QuoteMessageInput from '../ui/QuoteMessageInput.js';
|
|
9
9
|
import { useVoicePlayer } from '../VoicePlayer/useVoicePlayer.js';
|
|
10
10
|
import { useVoiceRecorder, VoiceRecorderStatus } from '../VoiceRecorder/useVoiceRecorder.js';
|
|
11
|
-
import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-
|
|
12
|
-
import { M as Modal, c as ModalFooter } from './bundle-
|
|
11
|
+
import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-CuW57Fa0.js';
|
|
12
|
+
import { M as Modal, c as ModalFooter } from './bundle-CIwNgqhu.js';
|
|
13
13
|
import Button, { ButtonTypes, ButtonSizes } from '../ui/Button.js';
|
|
14
|
-
import { g as VOICE_RECORDER_DEFAULT_MIN } from './bundle-
|
|
15
|
-
import { V as VOICE_PLAYER_STATUS } from './bundle-
|
|
16
|
-
import { u as uuidv4 } from './bundle-
|
|
14
|
+
import { g as VOICE_RECORDER_DEFAULT_MIN } from './bundle-C5Wf2y_6.js';
|
|
15
|
+
import { V as VOICE_PLAYER_STATUS } from './bundle-CWYkDVsf.js';
|
|
16
|
+
import { u as uuidv4 } from './bundle-CFYZBlok.js';
|
|
17
17
|
import MessageInput from '../ui/MessageInput.js';
|
|
18
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
19
|
-
import { M as MessageInputKeys } from './bundle-
|
|
20
|
-
import { k as isImage } from './bundle-
|
|
18
|
+
import { u as useMediaQueryContext } from './bundle-CuD6w3tY.js';
|
|
19
|
+
import { M as MessageInputKeys } from './bundle-Y5rRHVbA.js';
|
|
20
|
+
import { k as isImage } from './bundle-FVThTEKh.js';
|
|
21
21
|
import { useGlobalModalContext } from '../hooks/useModal.js';
|
|
22
|
-
import './bundle-
|
|
23
|
-
import { c as compressImages } from './bundle-
|
|
22
|
+
import './bundle-D81rUAiK.js';
|
|
23
|
+
import { c as compressImages } from './bundle-CaUvCYOg.js';
|
|
24
24
|
|
|
25
25
|
var VoiceMessageInputWrapper = function (_a) {
|
|
26
26
|
var _b;
|
|
@@ -382,4 +382,4 @@ var MessageInputWrapperView = React__default.forwardRef(function (props, ref) {
|
|
|
382
382
|
});
|
|
383
383
|
|
|
384
384
|
export { MessageInputWrapperView as M, VoiceMessageInputWrapper as V };
|
|
385
|
-
//# sourceMappingURL=bundle-
|
|
385
|
+
//# sourceMappingURL=bundle-LL2dZ_t-.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-LL2dZ_t-.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-Y5rRHVbA.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-YaC569om.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -54,4 +54,4 @@ var channelActions = /*#__PURE__*/Object.freeze({
|
|
|
54
54
|
});
|
|
55
55
|
|
|
56
56
|
export { FETCH_INITIAL_MESSAGES_START as F, MESSAGE_LIST_PARAMS_CHANGED as M, ON_MESSAGE_RECEIVED as O, RESET_MESSAGES as R, SEND_MESSAGE_START as S, FETCH_INITIAL_MESSAGES_SUCCESS as a, FETCH_INITIAL_MESSAGES_FAILURE as b, FETCH_PREV_MESSAGES_SUCCESS as c, FETCH_NEXT_MESSAGES_SUCCESS as d, FETCH_PREV_MESSAGES_FAILURE as e, FETCH_NEXT_MESSAGES_FAILURE as f, SEND_MESSAGE_SUCCESS as g, SEND_MESSAGE_FAILURE as h, SET_CURRENT_CHANNEL as i, SET_CHANNEL_INVALID as j, ON_MESSAGE_UPDATED as k, ON_MESSAGE_THREAD_INFO_UPDATED as l, RESEND_MESSAGE_START as m, MARK_AS_READ as n, ON_MESSAGE_DELETED as o, ON_MESSAGE_DELETED_BY_REQ_ID as p, SET_EMOJI_CONTAINER as q, ON_REACTION_UPDATED as r, ON_FILE_INFO_UPLOADED as s, ON_TYPING_STATUS_UPDATED as t, channelActions as u };
|
|
57
|
-
//# sourceMappingURL=bundle-
|
|
57
|
+
//# sourceMappingURL=bundle-aDOQN2rV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-aDOQN2rV.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -4,17 +4,16 @@ import IconButton from '../ui/IconButton.js';
|
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
5
5
|
import ContextMenu, { MenuItems, OperatorMenuItem, MuteMenuItem, MenuItem } from '../ui/ContextMenu.js';
|
|
6
6
|
import UserListItem$1 from '../ChannelSettings/components/UserListItem.js';
|
|
7
|
-
import { _ as __assign, a as __awaiter, b as __generator, c as __spreadArray, d as __rest } from './bundle-
|
|
7
|
+
import { _ as __assign, a as __awaiter, b as __generator, c as __spreadArray, d as __rest } from './bundle-CfcfVkxG.js';
|
|
8
8
|
import { Role } from '@sendbird/chat';
|
|
9
|
-
import { M as Modal } from './bundle-
|
|
9
|
+
import { M as Modal } from './bundle-CIwNgqhu.js';
|
|
10
10
|
import UserListItem from '../ui/UserListItem.js';
|
|
11
|
-
import { n as noop } from './bundle-
|
|
11
|
+
import { n as noop } from './bundle-rA2Y0qFJ.js';
|
|
12
12
|
import { useChannelSettingsContext } from '../ChannelSettings/context.js';
|
|
13
13
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
14
|
-
import { L as LocalizationContext, u as useLocalization } from './bundle-
|
|
15
|
-
import { u as useOnScrollPositionChangeDetector } from './bundle-
|
|
16
|
-
import './bundle-
|
|
17
|
-
import { u as uuidv4 } from './bundle-D4vlYCrG.js';
|
|
14
|
+
import { L as LocalizationContext, u as useLocalization } from './bundle-Bsg3ZeXI.js';
|
|
15
|
+
import { u as useOnScrollPositionChangeDetector } from './bundle-CnzbHeuJ.js';
|
|
16
|
+
import './bundle-D81rUAiK.js';
|
|
18
17
|
|
|
19
18
|
function MembersModal(_a) {
|
|
20
19
|
var _this = this;
|
|
@@ -24,7 +23,7 @@ function MembersModal(_a) {
|
|
|
24
23
|
var _d = useState(null), memberQuery = _d[0], setMemberQuery = _d[1];
|
|
25
24
|
var channel = useChannelSettingsContext().channel;
|
|
26
25
|
var state = useSendbirdStateContext();
|
|
27
|
-
var
|
|
26
|
+
var currentUserId = (_b = state === null || state === void 0 ? void 0 : state.config) === null || _b === void 0 ? void 0 : _b.userId;
|
|
28
27
|
var stringSet = useContext(LocalizationContext).stringSet;
|
|
29
28
|
useEffect(function () {
|
|
30
29
|
var memberListQuery = channel === null || channel === void 0 ? void 0 : channel.createMemberListQuery({
|
|
@@ -50,50 +49,52 @@ function MembersModal(_a) {
|
|
|
50
49
|
return [2 /*return*/];
|
|
51
50
|
});
|
|
52
51
|
}); },
|
|
53
|
-
}) }, members.map(function (member) {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
closeDropdown();
|
|
67
|
-
}, onError: function () {
|
|
68
|
-
// FIXME: handle error later
|
|
69
|
-
closeDropdown();
|
|
70
|
-
}, dataSbId: "channel_setting_member_context_menu_".concat((member.role !== 'operator') ? 'register_as_operator' : 'unregister_operator') }, member.role !== 'operator'
|
|
71
|
-
? stringSet.CHANNEL_SETTING__MODERATION__REGISTER_AS_OPERATOR
|
|
72
|
-
: stringSet.CHANNEL_SETTING__MODERATION__UNREGISTER_OPERATOR),
|
|
73
|
-
// No muted members in broadcast channel
|
|
74
|
-
!(channel === null || channel === void 0 ? void 0 : channel.isBroadcast) && (React__default.createElement(MuteMenuItem, { channel: channel, user: member, onChange: function (_, member, isMuted) {
|
|
75
|
-
setMembers(members.map(function (m) {
|
|
76
|
-
if (m.userId === member.userId) {
|
|
77
|
-
return __assign(__assign({}, member), { isMuted: isMuted });
|
|
78
|
-
}
|
|
79
|
-
return m;
|
|
80
|
-
}));
|
|
81
|
-
closeDropdown();
|
|
82
|
-
}, onError: function () {
|
|
83
|
-
// FIXME: handle error later
|
|
84
|
-
closeDropdown();
|
|
85
|
-
}, dataSbId: "channel_setting_member_context_menu_".concat((member.isMuted) ? 'unmute' : 'mute') }, member.isMuted
|
|
86
|
-
? stringSet.CHANNEL_SETTING__MODERATION__UNMUTE
|
|
87
|
-
: stringSet.CHANNEL_SETTING__MODERATION__MUTE)),
|
|
88
|
-
React__default.createElement(MenuItem, { onClick: function () {
|
|
89
|
-
channel === null || channel === void 0 ? void 0 : channel.banUser(member, -1, '').then(function () {
|
|
90
|
-
setMembers(members.filter(function (_a) {
|
|
91
|
-
var userId = _a.userId;
|
|
92
|
-
return userId !== member.userId;
|
|
52
|
+
}) }, members.map(function (member) {
|
|
53
|
+
return (React__default.createElement(UserListItem, { user: member, key: member.userId, currentUser: currentUserId, action: function (_a) {
|
|
54
|
+
var parentRef = _a.parentRef, actionRef = _a.actionRef;
|
|
55
|
+
return (React__default.createElement(React__default.Fragment, null, (channel === null || channel === void 0 ? void 0 : channel.myRole) === 'operator' && currentUserId !== member.userId && (React__default.createElement(ContextMenu, { menuTrigger: function (toggleDropdown) { return (React__default.createElement(IconButton, { className: "sendbird-user-message__more__menu", width: "32px", height: "32px", onClick: function () {
|
|
56
|
+
toggleDropdown();
|
|
57
|
+
} },
|
|
58
|
+
React__default.createElement(Icon, { width: "24px", height: "24px", type: IconTypes.MORE, fillColor: IconColors.CONTENT_INVERSE }))); }, menuItems: function (closeDropdown) { return (React__default.createElement(MenuItems, { parentContainRef: parentRef, parentRef: actionRef, closeDropdown: closeDropdown, openLeft: true },
|
|
59
|
+
React__default.createElement(OperatorMenuItem, { channel: channel, user: member, disable: currentUserId === member.userId, onChange: function (_, member, isOperator) {
|
|
60
|
+
setMembers(members.map(function (m) {
|
|
61
|
+
if (m.userId === member.userId) {
|
|
62
|
+
return __assign(__assign({}, member), { role: isOperator ? Role.OPERATOR : Role.NONE });
|
|
63
|
+
}
|
|
64
|
+
return m;
|
|
93
65
|
}));
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
66
|
+
closeDropdown();
|
|
67
|
+
}, onError: function () {
|
|
68
|
+
// FIXME: handle error later
|
|
69
|
+
closeDropdown();
|
|
70
|
+
}, dataSbId: "channel_setting_member_context_menu_".concat((member.role !== 'operator') ? 'register_as_operator' : 'unregister_operator') }, member.role !== 'operator'
|
|
71
|
+
? stringSet.CHANNEL_SETTING__MODERATION__REGISTER_AS_OPERATOR
|
|
72
|
+
: stringSet.CHANNEL_SETTING__MODERATION__UNREGISTER_OPERATOR),
|
|
73
|
+
// No muted members in broadcast channel
|
|
74
|
+
!(channel === null || channel === void 0 ? void 0 : channel.isBroadcast) && (React__default.createElement(MuteMenuItem, { channel: channel, user: member, onChange: function (_, member, isMuted) {
|
|
75
|
+
setMembers(members.map(function (m) {
|
|
76
|
+
if (m.userId === member.userId) {
|
|
77
|
+
return __assign(__assign({}, member), { isMuted: isMuted });
|
|
78
|
+
}
|
|
79
|
+
return m;
|
|
80
|
+
}));
|
|
81
|
+
closeDropdown();
|
|
82
|
+
}, onError: function () {
|
|
83
|
+
// FIXME: handle error later
|
|
84
|
+
closeDropdown();
|
|
85
|
+
}, dataSbId: "channel_setting_member_context_menu_".concat((member.isMuted) ? 'unmute' : 'mute') }, member.isMuted
|
|
86
|
+
? stringSet.CHANNEL_SETTING__MODERATION__UNMUTE
|
|
87
|
+
: stringSet.CHANNEL_SETTING__MODERATION__MUTE)),
|
|
88
|
+
React__default.createElement(MenuItem, { onClick: function () {
|
|
89
|
+
channel === null || channel === void 0 ? void 0 : channel.banUser(member, -1, '').then(function () {
|
|
90
|
+
setMembers(members.filter(function (_a) {
|
|
91
|
+
var userId = _a.userId;
|
|
92
|
+
return userId !== member.userId;
|
|
93
|
+
}));
|
|
94
|
+
});
|
|
95
|
+
}, dataSbId: "channel_setting_member_context_menu_ban" }, stringSet.CHANNEL_SETTING__MODERATION__BAN))); } }))));
|
|
96
|
+
} }));
|
|
97
|
+
})))));
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
function InviteUsers(_a) {
|
|
@@ -205,7 +206,7 @@ var MemberList = function () {
|
|
|
205
206
|
var _f = useState(false), showAllMembers = _f[0], setShowAllMembers = _f[1];
|
|
206
207
|
var _g = useState(false), showInviteUsers = _g[0], setShowInviteUsers = _g[1];
|
|
207
208
|
var state = useSendbirdStateContext();
|
|
208
|
-
var
|
|
209
|
+
var channel = useChannelSettingsContext().channel;
|
|
209
210
|
var stringSet = useContext(LocalizationContext).stringSet;
|
|
210
211
|
var sdk = (_b = (_a = state === null || state === void 0 ? void 0 : state.stores) === null || _a === void 0 ? void 0 : _a.sdkStore) === null || _b === void 0 ? void 0 : _b.sdk;
|
|
211
212
|
var userId = (_c = state === null || state === void 0 ? void 0 : state.config) === null || _c === void 0 ? void 0 : _c.userId;
|
|
@@ -229,10 +230,9 @@ var MemberList = function () {
|
|
|
229
230
|
memberUserListQuery.next().then(function (members) {
|
|
230
231
|
setMembers(members);
|
|
231
232
|
setHasNext(memberUserListQuery.hasNext);
|
|
232
|
-
setChannelUpdateId(uuidv4());
|
|
233
233
|
});
|
|
234
234
|
}, [channel]);
|
|
235
|
-
return (React__default.createElement("div", { className: "sendbird-channel-settings-member-list
|
|
235
|
+
return (React__default.createElement("div", { className: "sendbird-channel-settings-member-list" },
|
|
236
236
|
members.map(function (member) { return (React__default.createElement(UserListItem$1, { key: member.userId, user: member, currentUser: sdk.currentUser.userId, action: ((channel === null || channel === void 0 ? void 0 : channel.myRole) === 'operator' && userId !== member.userId)
|
|
237
237
|
? function (_a) {
|
|
238
238
|
var actionRef = _a.actionRef, parentRef = _a.parentRef;
|
|
@@ -241,20 +241,14 @@ var MemberList = function () {
|
|
|
241
241
|
React__default.createElement(OperatorMenuItem, { channel: channel, user: member, onChange: function () {
|
|
242
242
|
refreshList();
|
|
243
243
|
closeDropdown();
|
|
244
|
-
}, onError:
|
|
245
|
-
// FIXME: handle error later
|
|
246
|
-
closeDropdown();
|
|
247
|
-
}, dataSbId: "channel_setting_member_context_menu_".concat((member.role !== 'operator') ? 'register_as_operator' : 'unregister_operator') }, member.role !== 'operator'
|
|
244
|
+
}, onError: noop, dataSbId: "channel_setting_member_context_menu_".concat((member.role !== 'operator') ? 'register_as_operator' : 'unregister_operator') }, member.role !== 'operator'
|
|
248
245
|
? stringSet.CHANNEL_SETTING__MODERATION__REGISTER_AS_OPERATOR
|
|
249
246
|
: stringSet.CHANNEL_SETTING__MODERATION__UNREGISTER_OPERATOR),
|
|
250
247
|
// No muted members in broadcast channel
|
|
251
248
|
!(channel === null || channel === void 0 ? void 0 : channel.isBroadcast) && (React__default.createElement(MuteMenuItem, { channel: channel, user: member, onChange: function () {
|
|
252
249
|
refreshList();
|
|
253
250
|
closeDropdown();
|
|
254
|
-
}, onError:
|
|
255
|
-
// FIXME: handle error later
|
|
256
|
-
closeDropdown();
|
|
257
|
-
}, dataSbId: "channel_setting_member_context_menu_".concat(member.isMuted ? 'unmute' : 'mute') }, member.isMuted
|
|
251
|
+
}, onError: noop, dataSbId: "channel_setting_member_context_menu_".concat(member.isMuted ? 'unmute' : 'mute') }, member.isMuted
|
|
258
252
|
? stringSet.CHANNEL_SETTING__MODERATION__UNMUTE
|
|
259
253
|
: stringSet.CHANNEL_SETTING__MODERATION__MUTE)),
|
|
260
254
|
React__default.createElement(MenuItem, { onClick: function () {
|
|
@@ -279,4 +273,4 @@ var MemberList = function () {
|
|
|
279
273
|
};
|
|
280
274
|
|
|
281
275
|
export { MemberList as M };
|
|
282
|
-
//# sourceMappingURL=bundle-
|
|
276
|
+
//# sourceMappingURL=bundle-abfFo17w.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-abfFo17w.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,7 +3,7 @@ import { GroupChannelListHeader } from '../GroupChannelList/components/GroupChan
|
|
|
3
3
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
4
4
|
import EditUserProfile from '../EditUserProfile.js';
|
|
5
5
|
import PlaceHolder, { PlaceHolderTypes } from '../ui/PlaceHolder.js';
|
|
6
|
-
import { u as useOnScrollPositionChangeDetector } from './bundle-
|
|
6
|
+
import { u as useOnScrollPositionChangeDetector } from './bundle-CnzbHeuJ.js';
|
|
7
7
|
|
|
8
8
|
var GroupChannelListUIView = function (_a) {
|
|
9
9
|
var renderHeader = _a.renderHeader, renderPlaceHolderError = _a.renderPlaceHolderError, renderPlaceHolderLoading = _a.renderPlaceHolderLoading, renderPlaceHolderEmptyList = _a.renderPlaceHolderEmptyList, onChangeTheme = _a.onChangeTheme, onUserProfileUpdated = _a.onUserProfileUpdated, allowProfileEdit = _a.allowProfileEdit, channels = _a.channels, onLoadMore = _a.onLoadMore, initialized = _a.initialized, renderChannel = _a.renderChannel, renderAddChannel = _a.renderAddChannel;
|
|
@@ -64,4 +64,4 @@ var ChannelListComponent = function (props) {
|
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
export { GroupChannelListUIView as G };
|
|
67
|
-
//# sourceMappingURL=bundle-
|
|
67
|
+
//# sourceMappingURL=bundle-c_OhpzFv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-c_OhpzFv.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import IconButton from '../ui/IconButton.js';
|
|
3
3
|
import Icon, { IconColors, IconTypes } from '../ui/Icon.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-D81rUAiK.js';
|
|
5
5
|
import ChannelAvatar from '../ui/ChannelAvatar.js';
|
|
6
|
-
import { g as getChannelTitle } from './bundle-
|
|
7
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
6
|
+
import { g as getChannelTitle } from './bundle-DcURn6BN.js';
|
|
7
|
+
import { u as useMediaQueryContext } from './bundle-CuD6w3tY.js';
|
|
8
8
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
9
|
-
import { u as useLocalization } from './bundle-
|
|
9
|
+
import { u as useLocalization } from './bundle-Bsg3ZeXI.js';
|
|
10
10
|
|
|
11
11
|
var GroupChannelHeaderView = function (_a) {
|
|
12
12
|
var _b;
|
|
@@ -33,4 +33,4 @@ var GroupChannelHeaderView = function (_a) {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
export { GroupChannelHeaderView as G };
|
|
36
|
-
//# sourceMappingURL=bundle-
|
|
36
|
+
//# sourceMappingURL=bundle-gFk75Dds.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-gFk75Dds.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-hWMpOZwq.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-rA2Y0qFJ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
2
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
3
3
|
import { TypingIndicator } from '../GroupChannel/components/TypingIndicator.js';
|
|
4
|
-
import { T as TypingIndicatorType } from './bundle-
|
|
4
|
+
import { T as TypingIndicatorType } from './bundle-FVThTEKh.js';
|
|
5
5
|
import ConnectionStatus from '../ui/ConnectionStatus.js';
|
|
6
6
|
import PlaceHolder, { PlaceHolderTypes } from '../ui/PlaceHolder.js';
|
|
7
7
|
|
|
@@ -40,4 +40,4 @@ var GroupChannelUIView = function (props) {
|
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
export { GroupChannelUIView as G };
|
|
43
|
-
//# sourceMappingURL=bundle-
|
|
43
|
+
//# sourceMappingURL=bundle-rGg9UI8F.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-rGg9UI8F.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This function helps consider the every condition
|
|
3
|
+
* related to enabling emoji reaction feature.
|
|
4
|
+
*/
|
|
5
|
+
function getIsReactionEnabled(_a) {
|
|
6
|
+
var channel = _a.channel, config = _a.config, moduleLevel = _a.moduleLevel;
|
|
7
|
+
if (!channel || channel.isBroadcast || channel.isEphemeral) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
if (channel.isSuper)
|
|
11
|
+
return moduleLevel && config.groupChannel.enableReactionsSupergroup;
|
|
12
|
+
return moduleLevel !== null && moduleLevel !== void 0 ? moduleLevel : config.groupChannel.enableReactions;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { getIsReactionEnabled as g };
|
|
16
|
+
//# sourceMappingURL=bundle-v1dt12FL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-v1dt12FL.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
|