@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
|
@@ -1,48 +1,47 @@
|
|
|
1
1
|
import React__default, { useState, useContext, useEffect, useCallback } from 'react';
|
|
2
|
-
import { L as LocalizationContext } from '../../chunks/bundle-
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-
|
|
2
|
+
import { L as LocalizationContext } from '../../chunks/bundle-Bsg3ZeXI.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-D81rUAiK.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
5
5
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
6
6
|
import ChannelProfile from './OpenChannelProfile.js';
|
|
7
|
-
import { M as Modal } from '../../chunks/bundle-
|
|
7
|
+
import { M as Modal } from '../../chunks/bundle-CIwNgqhu.js';
|
|
8
8
|
import { useSendbirdStateContext } from '../../useSendbirdStateContext.js';
|
|
9
|
-
import { U as UserListItem$1, P as ParticipantList } from '../../chunks/bundle-
|
|
9
|
+
import { U as UserListItem$1, P as ParticipantList } from '../../chunks/bundle-CI-NOqgi.js';
|
|
10
10
|
import Accordion, { AccordionGroup } from '../../ui/Accordion.js';
|
|
11
11
|
import Button, { ButtonTypes, ButtonSizes } from '../../ui/Button.js';
|
|
12
12
|
import ContextMenu, { MenuItems, MenuItem, MuteMenuItem } from '../../ui/ContextMenu.js';
|
|
13
13
|
import IconButton from '../../ui/IconButton.js';
|
|
14
|
-
import { c as __spreadArray, _ as __assign } from '../../chunks/bundle-
|
|
14
|
+
import { c as __spreadArray, _ as __assign } from '../../chunks/bundle-CfcfVkxG.js';
|
|
15
15
|
import UserListItem from '../../ui/UserListItem.js';
|
|
16
|
-
import { n as noop } from '../../chunks/bundle-
|
|
17
|
-
import '../../chunks/bundle-
|
|
18
|
-
import '../../chunks/bundle-
|
|
16
|
+
import { n as noop } from '../../chunks/bundle-rA2Y0qFJ.js';
|
|
17
|
+
import '../../chunks/bundle-KeJ_rVJL.js';
|
|
18
|
+
import '../../chunks/bundle-BFdttAaW.js';
|
|
19
19
|
import '@sendbird/chat/openChannel';
|
|
20
|
-
import '../../chunks/bundle-
|
|
21
|
-
import '../../chunks/bundle-
|
|
20
|
+
import '../../chunks/bundle-CwINP854.js';
|
|
21
|
+
import '../../chunks/bundle-CFYZBlok.js';
|
|
22
22
|
import '../../withSendbird.js';
|
|
23
23
|
import '../../ui/TextButton.js';
|
|
24
|
-
import '../../chunks/bundle-
|
|
24
|
+
import '../../chunks/bundle-BUC4DRq0.js';
|
|
25
25
|
import '../../ui/OpenChannelAvatar.js';
|
|
26
|
-
import '../../chunks/bundle-
|
|
26
|
+
import '../../chunks/bundle-vsdOwl6R.js';
|
|
27
27
|
import '../../ui/ImageRenderer.js';
|
|
28
|
-
import '../../chunks/bundle-
|
|
29
|
-
import '../../chunks/bundle-
|
|
28
|
+
import '../../chunks/bundle-DF_LuHdb.js';
|
|
29
|
+
import '../../chunks/bundle-DO6PYt2s.js';
|
|
30
30
|
import './EditDetailsModal.js';
|
|
31
|
-
import '../../chunks/bundle-
|
|
31
|
+
import '../../chunks/bundle-CaYPuZ9G.js';
|
|
32
32
|
import '../../ui/Input.js';
|
|
33
33
|
import 'react-dom';
|
|
34
|
-
import '../../chunks/bundle-
|
|
35
|
-
import '../../
|
|
34
|
+
import '../../chunks/bundle-CuD6w3tY.js';
|
|
35
|
+
import '../../ui/AccordionGroup.js';
|
|
36
36
|
import '../../ui/MutedAvatarOverlay.js';
|
|
37
37
|
import '../../ui/UserProfile.js';
|
|
38
38
|
import '../../sendbirdSelectors.js';
|
|
39
|
-
import '../../ui/AccordionGroup.js';
|
|
40
39
|
import '@sendbird/chat';
|
|
41
40
|
import '../../ui/SortByRow.js';
|
|
42
|
-
import '../../chunks/bundle-
|
|
41
|
+
import '../../chunks/bundle-FVThTEKh.js';
|
|
43
42
|
import '@sendbird/chat/groupChannel';
|
|
44
43
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
45
|
-
import '../../chunks/bundle-
|
|
44
|
+
import '../../chunks/bundle-BubacXNL.js';
|
|
46
45
|
import '../../ui/Checkbox.js';
|
|
47
46
|
|
|
48
47
|
function DeleteChannel() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperatorUI.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OperatorUI.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import '../../chunks/bundle-
|
|
1
|
+
import '../../chunks/bundle-CfcfVkxG.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import '../../ui/Button.js';
|
|
4
4
|
import '../../ui/ContextMenu.js';
|
|
5
5
|
import '../../ui/Icon.js';
|
|
6
6
|
import '../../ui/IconButton.js';
|
|
7
|
-
import '../../chunks/bundle-
|
|
8
|
-
export { P as default } from '../../chunks/bundle-
|
|
9
|
-
import '../../chunks/bundle-
|
|
7
|
+
import '../../chunks/bundle-D81rUAiK.js';
|
|
8
|
+
export { P as default } from '../../chunks/bundle-CI-NOqgi.js';
|
|
9
|
+
import '../../chunks/bundle-Bsg3ZeXI.js';
|
|
10
10
|
import '../context.js';
|
|
11
11
|
import '../../useSendbirdStateContext.js';
|
|
12
|
-
import '../../chunks/bundle-
|
|
12
|
+
import '../../chunks/bundle-KeJ_rVJL.js';
|
|
13
13
|
import 'react-dom';
|
|
14
14
|
import '@sendbird/chat';
|
|
15
15
|
import '@sendbird/chat/openChannel';
|
|
16
16
|
import '../../ui/SortByRow.js';
|
|
17
|
-
import '../../chunks/bundle-
|
|
18
|
-
import '../../chunks/bundle-
|
|
17
|
+
import '../../chunks/bundle-CFYZBlok.js';
|
|
18
|
+
import '../../chunks/bundle-FVThTEKh.js';
|
|
19
19
|
import '@sendbird/chat/groupChannel';
|
|
20
20
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
21
|
-
import '../../chunks/bundle-
|
|
22
|
-
import '../../chunks/bundle-
|
|
23
|
-
import '../../chunks/bundle-
|
|
24
|
-
import '../../
|
|
25
|
-
import '../../chunks/bundle-
|
|
21
|
+
import '../../chunks/bundle-BubacXNL.js';
|
|
22
|
+
import '../../chunks/bundle-rA2Y0qFJ.js';
|
|
23
|
+
import '../../chunks/bundle-CwINP854.js';
|
|
24
|
+
import '../../ui/AccordionGroup.js';
|
|
25
|
+
import '../../chunks/bundle-vsdOwl6R.js';
|
|
26
26
|
import '../../ui/ImageRenderer.js';
|
|
27
|
-
import '../../chunks/bundle-
|
|
28
|
-
import '../../chunks/bundle-
|
|
27
|
+
import '../../chunks/bundle-DF_LuHdb.js';
|
|
28
|
+
import '../../chunks/bundle-CuD6w3tY.js';
|
|
29
29
|
import '../../ui/MutedAvatarOverlay.js';
|
|
30
30
|
import '../../ui/UserProfile.js';
|
|
31
31
|
import '../../sendbirdSelectors.js';
|
|
32
|
-
import '../../chunks/bundle-
|
|
33
|
-
import '../../chunks/bundle-
|
|
32
|
+
import '../../chunks/bundle-CaYPuZ9G.js';
|
|
33
|
+
import '../../chunks/bundle-BFdttAaW.js';
|
|
34
34
|
import '../../withSendbird.js';
|
|
35
|
-
import '../../chunks/bundle-
|
|
35
|
+
import '../../chunks/bundle-CIwNgqhu.js';
|
|
36
36
|
import '../../ui/UserListItem.js';
|
|
37
37
|
import '../../ui/Checkbox.js';
|
|
38
38
|
//# sourceMappingURL=ParticipantUI.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
2
|
import { OpenChannelHandler } from '@sendbird/chat/openChannel';
|
|
3
3
|
import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
|
|
4
|
-
import { U as UserProfileProvider } from '../chunks/bundle-
|
|
5
|
-
import { u as uuidv4 } from '../chunks/bundle-
|
|
4
|
+
import { U as UserProfileProvider } from '../chunks/bundle-CwINP854.js';
|
|
5
|
+
import { u as uuidv4 } from '../chunks/bundle-CFYZBlok.js';
|
|
6
6
|
import '../withSendbird.js';
|
|
7
|
-
import '../chunks/bundle-
|
|
7
|
+
import '../chunks/bundle-CfcfVkxG.js';
|
|
8
8
|
|
|
9
9
|
var OpenChannelSettingsContext = React__default.createContext(undefined);
|
|
10
10
|
var OpenChannelSettingsProvider = function (props) {
|
package/OpenChannelSettings.js
CHANGED
|
@@ -3,51 +3,50 @@ import OpenChannelUI from './OpenChannelSettings/components/OpenChannelSettingsU
|
|
|
3
3
|
import { OpenChannelSettingsProvider } from './OpenChannelSettings/context.js';
|
|
4
4
|
import './useSendbirdStateContext.js';
|
|
5
5
|
import './withSendbird.js';
|
|
6
|
-
import './chunks/bundle-
|
|
7
|
-
import './chunks/bundle-
|
|
8
|
-
import './chunks/bundle-
|
|
9
|
-
import './chunks/bundle-
|
|
10
|
-
import './chunks/bundle-
|
|
6
|
+
import './chunks/bundle-CfcfVkxG.js';
|
|
7
|
+
import './chunks/bundle-Bsg3ZeXI.js';
|
|
8
|
+
import './chunks/bundle-KeJ_rVJL.js';
|
|
9
|
+
import './chunks/bundle-BFdttAaW.js';
|
|
10
|
+
import './chunks/bundle-D81rUAiK.js';
|
|
11
11
|
import './ui/Icon.js';
|
|
12
|
-
import './chunks/bundle-
|
|
12
|
+
import './chunks/bundle-rA2Y0qFJ.js';
|
|
13
13
|
import './ui/PlaceHolder.js';
|
|
14
14
|
import './ui/Loader.js';
|
|
15
15
|
import './OpenChannelSettings/components/OperatorUI.js';
|
|
16
16
|
import './OpenChannelSettings/components/OpenChannelProfile.js';
|
|
17
17
|
import './ui/TextButton.js';
|
|
18
|
-
import './chunks/bundle-
|
|
18
|
+
import './chunks/bundle-BUC4DRq0.js';
|
|
19
19
|
import './ui/OpenChannelAvatar.js';
|
|
20
|
-
import './chunks/bundle-
|
|
20
|
+
import './chunks/bundle-vsdOwl6R.js';
|
|
21
21
|
import './ui/ImageRenderer.js';
|
|
22
|
-
import './chunks/bundle-
|
|
23
|
-
import './chunks/bundle-
|
|
22
|
+
import './chunks/bundle-DF_LuHdb.js';
|
|
23
|
+
import './chunks/bundle-DO6PYt2s.js';
|
|
24
24
|
import './OpenChannelSettings/components/EditDetailsModal.js';
|
|
25
|
-
import './chunks/bundle-
|
|
26
|
-
import './chunks/bundle-
|
|
25
|
+
import './chunks/bundle-CaYPuZ9G.js';
|
|
26
|
+
import './chunks/bundle-CIwNgqhu.js';
|
|
27
27
|
import 'react-dom';
|
|
28
|
-
import './chunks/bundle-
|
|
28
|
+
import './chunks/bundle-CuD6w3tY.js';
|
|
29
29
|
import './ui/IconButton.js';
|
|
30
30
|
import './ui/Button.js';
|
|
31
31
|
import './ui/Input.js';
|
|
32
|
-
import './chunks/bundle-
|
|
32
|
+
import './chunks/bundle-CI-NOqgi.js';
|
|
33
33
|
import './ui/ContextMenu.js';
|
|
34
34
|
import '@sendbird/chat';
|
|
35
35
|
import '@sendbird/chat/openChannel';
|
|
36
36
|
import './ui/SortByRow.js';
|
|
37
|
-
import './chunks/bundle-
|
|
38
|
-
import './chunks/bundle-
|
|
37
|
+
import './chunks/bundle-CFYZBlok.js';
|
|
38
|
+
import './chunks/bundle-FVThTEKh.js';
|
|
39
39
|
import '@sendbird/chat/groupChannel';
|
|
40
40
|
import './utils/message/getOutgoingMessageState.js';
|
|
41
|
-
import './chunks/bundle-
|
|
42
|
-
import './chunks/bundle-
|
|
43
|
-
import './
|
|
41
|
+
import './chunks/bundle-BubacXNL.js';
|
|
42
|
+
import './chunks/bundle-CwINP854.js';
|
|
43
|
+
import './ui/AccordionGroup.js';
|
|
44
44
|
import './ui/MutedAvatarOverlay.js';
|
|
45
45
|
import './ui/UserProfile.js';
|
|
46
46
|
import './sendbirdSelectors.js';
|
|
47
47
|
import './ui/UserListItem.js';
|
|
48
48
|
import './ui/Checkbox.js';
|
|
49
49
|
import './ui/Accordion.js';
|
|
50
|
-
import './ui/AccordionGroup.js';
|
|
51
50
|
|
|
52
51
|
var OpenChannelSetting = function (props) {
|
|
53
52
|
return (React__default.createElement(OpenChannelSettingsProvider, { channelUrl: props === null || props === void 0 ? void 0 : props.channelUrl, onCloseClick: props === null || props === void 0 ? void 0 : props.onCloseClick, onBeforeUpdateChannel: props === null || props === void 0 ? void 0 : props.onBeforeUpdateChannel, onChannelModified: props === null || props === void 0 ? void 0 : props.onChannelModified, onDeleteChannel: props === null || props === void 0 ? void 0 : props.onDeleteChannel, disableUserProfile: props === null || props === void 0 ? void 0 : props.disableUserProfile, renderUserProfile: props === null || props === void 0 ? void 0 : props.renderUserProfile },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenChannelSettings.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OpenChannelSettings.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/SendbirdProvider.js
CHANGED
|
@@ -1,35 +1,37 @@
|
|
|
1
|
-
import { _ as __assign, a as __awaiter, b as __generator, c as __spreadArray } from './chunks/bundle-
|
|
1
|
+
import { _ as __assign, a as __awaiter, b as __generator, c as __spreadArray } from './chunks/bundle-CfcfVkxG.js';
|
|
2
2
|
import React__default, { useLayoutEffect, useRef, useEffect, useCallback, useMemo, useState, useReducer } from 'react';
|
|
3
3
|
import { UIKitConfigProvider, useUIKitConfig } from '@sendbird/uikit-tools';
|
|
4
4
|
import { SendbirdSdkContext } from './withSendbird.js';
|
|
5
5
|
import cssVars from 'css-vars-ponyfill';
|
|
6
|
-
import { K } from './chunks/bundle-
|
|
7
|
-
import { U as USER_ACTIONS } from './chunks/bundle-
|
|
8
|
-
import { s as schedulerFactory, b as useUnmount, u as useOnlineStatus, a as useMarkAsDeliveredScheduler } from './chunks/bundle-
|
|
6
|
+
import { K } from './chunks/bundle-BubacXNL.js';
|
|
7
|
+
import { U as USER_ACTIONS } from './chunks/bundle-hWMpOZwq.js';
|
|
8
|
+
import { s as schedulerFactory, b as useUnmount, u as useOnlineStatus, a as useMarkAsDeliveredScheduler } from './chunks/bundle-Ct48juZF.js';
|
|
9
9
|
import SendbirdChat, { SendbirdProduct, SendbirdPlatform, DeviceOsPlatform } from '@sendbird/chat';
|
|
10
10
|
import { OpenChannelModule } from '@sendbird/chat/openChannel';
|
|
11
11
|
import { GroupChannelModule } from '@sendbird/chat/groupChannel';
|
|
12
|
-
import { a0 as isTextuallyNull } from './chunks/bundle-
|
|
13
|
-
import { n as noop } from './chunks/bundle-
|
|
14
|
-
import { p as pubSubFactory } from './chunks/bundle-
|
|
15
|
-
import { b as VoicePlayerProvider } from './chunks/bundle-
|
|
12
|
+
import { a0 as isTextuallyNull } from './chunks/bundle-FVThTEKh.js';
|
|
13
|
+
import { n as noop } from './chunks/bundle-rA2Y0qFJ.js';
|
|
14
|
+
import { p as pubSubFactory } from './chunks/bundle-BbRFaX0l.js';
|
|
15
|
+
import { b as VoicePlayerProvider } from './chunks/bundle-CWYkDVsf.js';
|
|
16
16
|
import { VoiceRecorderProvider } from './VoiceRecorder/context.js';
|
|
17
|
-
import { a as LocalizationProvider } from './chunks/bundle-
|
|
18
|
-
import { u as useMediaQueryContext, M as MediaQueryProvider } from './chunks/bundle-
|
|
19
|
-
import { g as getStringSet } from './chunks/bundle-
|
|
20
|
-
import { C as CACHED_MESSAGE_TEMPLATES_TOKEN_KEY, m as CACHED_MESSAGE_TEMPLATES_KEY, n as DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT, o as VOICE_RECORDER_DEFAULT_MAX, g as VOICE_RECORDER_DEFAULT_MIN } from './chunks/bundle-
|
|
21
|
-
import { g as getCaseResolvedReplyType, a as getCaseResolvedThreadReplySelectType } from './chunks/bundle-
|
|
17
|
+
import { a as LocalizationProvider } from './chunks/bundle-Bsg3ZeXI.js';
|
|
18
|
+
import { u as useMediaQueryContext, M as MediaQueryProvider } from './chunks/bundle-CuD6w3tY.js';
|
|
19
|
+
import { g as getStringSet } from './chunks/bundle-KeJ_rVJL.js';
|
|
20
|
+
import { C as CACHED_MESSAGE_TEMPLATES_TOKEN_KEY, m as CACHED_MESSAGE_TEMPLATES_KEY, n as DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT, o as VOICE_RECORDER_DEFAULT_MAX, g as VOICE_RECORDER_DEFAULT_MIN } from './chunks/bundle-C5Wf2y_6.js';
|
|
21
|
+
import { g as getCaseResolvedReplyType, a as getCaseResolvedThreadReplySelectType } from './chunks/bundle-DuUoXuv1.js';
|
|
22
22
|
import { GlobalModalProvider } from './hooks/useModal.js';
|
|
23
|
+
import { EmojiReactionListRoot, MenuRoot } from './ui/ContextMenu.js';
|
|
23
24
|
export { useSendbirdStateContext } from './useSendbirdStateContext.js';
|
|
24
|
-
import './chunks/bundle-
|
|
25
|
+
import { b as ModalRoot } from './chunks/bundle-CIwNgqhu.js';
|
|
26
|
+
import './chunks/bundle-CFYZBlok.js';
|
|
25
27
|
import './utils/message/getOutgoingMessageState.js';
|
|
26
|
-
import './chunks/bundle-
|
|
28
|
+
import './chunks/bundle-BFdttAaW.js';
|
|
27
29
|
import 'react-dom';
|
|
28
30
|
import './ui/IconButton.js';
|
|
29
31
|
import './ui/Button.js';
|
|
30
|
-
import './chunks/bundle-
|
|
32
|
+
import './chunks/bundle-D81rUAiK.js';
|
|
31
33
|
import './ui/Icon.js';
|
|
32
|
-
import './
|
|
34
|
+
import './ui/SortByRow.js';
|
|
33
35
|
|
|
34
36
|
var isEmpty = function (obj) {
|
|
35
37
|
if (obj === null || obj === undefined) {
|
|
@@ -286,7 +288,7 @@ function disconnectSdk(_a) {
|
|
|
286
288
|
});
|
|
287
289
|
}
|
|
288
290
|
|
|
289
|
-
var APP_VERSION_STRING = '3.14.0
|
|
291
|
+
var APP_VERSION_STRING = '3.14.0';
|
|
290
292
|
var INIT_SDK = SDK_ACTIONS.INIT_SDK, SET_SDK_LOADING = SDK_ACTIONS.SET_SDK_LOADING, RESET_SDK = SDK_ACTIONS.RESET_SDK, SDK_ERROR = SDK_ACTIONS.SDK_ERROR;
|
|
291
293
|
var INIT_USER = USER_ACTIONS.INIT_USER, UPDATE_USER_INFO = USER_ACTIONS.UPDATE_USER_INFO, RESET_USER = USER_ACTIONS.RESET_USER;
|
|
292
294
|
function getMissingParamError(_a) {
|
|
@@ -660,30 +662,6 @@ var LoggerFactory = function (lvl, customInterface) {
|
|
|
660
662
|
};
|
|
661
663
|
// TODO: Make this to hook, useLogger
|
|
662
664
|
|
|
663
|
-
function useAppendDomNode(ids, rootSelector) {
|
|
664
|
-
if (ids === void 0) { ids = []; }
|
|
665
|
-
if (rootSelector === void 0) { rootSelector = 'unknown'; }
|
|
666
|
-
useEffect(function () {
|
|
667
|
-
var root = document.querySelector(rootSelector);
|
|
668
|
-
if (root) {
|
|
669
|
-
ids.forEach(function (id) {
|
|
670
|
-
var elem = document.createElement('div');
|
|
671
|
-
elem.setAttribute('id', id);
|
|
672
|
-
root.appendChild(elem);
|
|
673
|
-
});
|
|
674
|
-
}
|
|
675
|
-
return function () {
|
|
676
|
-
if (root) {
|
|
677
|
-
ids.forEach(function (id) {
|
|
678
|
-
var target = document.getElementById(id);
|
|
679
|
-
if (target)
|
|
680
|
-
root.removeChild(target);
|
|
681
|
-
});
|
|
682
|
-
}
|
|
683
|
-
};
|
|
684
|
-
}, []);
|
|
685
|
-
}
|
|
686
|
-
|
|
687
665
|
var VoiceMessageProvider = function (_a) {
|
|
688
666
|
var children = _a.children;
|
|
689
667
|
return (React__default.createElement(VoicePlayerProvider, null,
|
|
@@ -831,6 +809,7 @@ var uikitConfigStorage = {
|
|
|
831
809
|
*/
|
|
832
810
|
var getProcessedTemplate = function (parsedTemplate) {
|
|
833
811
|
return {
|
|
812
|
+
version: Number(parsedTemplate.ui_template.version),
|
|
834
813
|
uiTemplate: JSON.stringify(parsedTemplate.ui_template.body.items),
|
|
835
814
|
colorVariables: parsedTemplate.color_variables,
|
|
836
815
|
};
|
|
@@ -1115,11 +1094,6 @@ var SendbirdSDK = function (_a) {
|
|
|
1115
1094
|
useEffect(function () {
|
|
1116
1095
|
setLogger(LoggerFactory(logLevel));
|
|
1117
1096
|
}, [logLevel]);
|
|
1118
|
-
useAppendDomNode([
|
|
1119
|
-
'sendbird-modal-root',
|
|
1120
|
-
'sendbird-dropdown-portal',
|
|
1121
|
-
'sendbird-emoji-list-portal',
|
|
1122
|
-
], 'body');
|
|
1123
1097
|
// should move to reducer
|
|
1124
1098
|
var _7 = useState(theme), currentTheme = _7[0], setCurrentTheme = _7[1];
|
|
1125
1099
|
useEffect(function () {
|
|
@@ -1238,6 +1212,7 @@ var SendbirdSDK = function (_a) {
|
|
|
1238
1212
|
enableTypingIndicator: configs.groupChannel.channel.enableTypingIndicator,
|
|
1239
1213
|
enableDocument: configs.groupChannel.channel.input.enableDocument,
|
|
1240
1214
|
enableReactions: sdkInitialized && configsWithAppAttr(sdk).groupChannel.channel.enableReactions,
|
|
1215
|
+
enableReactionsSupergroup: sdkInitialized && configsWithAppAttr(sdk).groupChannel.channel.enableReactionsSupergroup,
|
|
1241
1216
|
replyType: configs.groupChannel.channel.replyType,
|
|
1242
1217
|
threadReplySelectType: getCaseResolvedThreadReplySelectType(configs.groupChannel.channel.threadReplySelectType).lowerCase,
|
|
1243
1218
|
typingIndicatorTypes: configs.groupChannel.channel.typingIndicatorTypes,
|
|
@@ -1257,7 +1232,10 @@ var SendbirdSDK = function (_a) {
|
|
|
1257
1232
|
React__default.createElement(MediaQueryProvider, { logger: logger, breakpoint: breakpoint },
|
|
1258
1233
|
React__default.createElement(LocalizationProvider, { stringSet: localeStringSet, dateLocale: dateLocale },
|
|
1259
1234
|
React__default.createElement(VoiceMessageProvider, null,
|
|
1260
|
-
React__default.createElement(GlobalModalProvider, null, children))))
|
|
1235
|
+
React__default.createElement(GlobalModalProvider, null, children)))),
|
|
1236
|
+
React__default.createElement(EmojiReactionListRoot, null),
|
|
1237
|
+
React__default.createElement(ModalRoot, null),
|
|
1238
|
+
React__default.createElement(MenuRoot, null)));
|
|
1261
1239
|
};
|
|
1262
1240
|
|
|
1263
1241
|
export { SendbirdProvider, SendbirdProvider as default };
|
package/SendbirdProvider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SendbirdProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SendbirdProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { c as __spreadArray, _ as __assign } from '../../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray, _ as __assign, a as __awaiter, b as __generator } from '../../chunks/bundle-CfcfVkxG.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect, useContext } from 'react';
|
|
3
|
-
import { f as format } from '../../chunks/bundle-
|
|
4
|
-
import { R as RemoveMessage } from '../../chunks/bundle-
|
|
3
|
+
import { f as format } from '../../chunks/bundle-Ba74MVBa.js';
|
|
4
|
+
import { R as RemoveMessage } from '../../chunks/bundle-CHtHakLU.js';
|
|
5
5
|
import ParentMessageInfoItem from './ParentMessageInfoItem.js';
|
|
6
|
-
import { f as getSenderName } from '../../chunks/bundle-
|
|
7
|
-
import { g as getIsReactionEnabled } from '../../chunks/bundle-
|
|
8
|
-
import { u as useLocalization } from '../../chunks/bundle-
|
|
6
|
+
import { f as getSenderName } from '../../chunks/bundle-FVThTEKh.js';
|
|
7
|
+
import { g as getIsReactionEnabled } from '../../chunks/bundle-v1dt12FL.js';
|
|
8
|
+
import { u as useLocalization } from '../../chunks/bundle-Bsg3ZeXI.js';
|
|
9
9
|
import { useSendbirdStateContext } from '../../useSendbirdStateContext.js';
|
|
10
10
|
import { useThreadContext } from '../context.js';
|
|
11
|
-
import { a as UserProfileContext } from '../../chunks/bundle-
|
|
12
|
-
import { S as SuggestedMentionList } from '../../chunks/bundle-
|
|
13
|
-
import { A as Avatar } from '../../chunks/bundle-
|
|
14
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-
|
|
15
|
-
import { F as FileViewer } from '../../chunks/bundle-
|
|
11
|
+
import { a as UserProfileContext } from '../../chunks/bundle-CwINP854.js';
|
|
12
|
+
import { S as SuggestedMentionList } from '../../chunks/bundle-BKYbtWkn.js';
|
|
13
|
+
import { A as Avatar } from '../../chunks/bundle-vsdOwl6R.js';
|
|
14
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-D81rUAiK.js';
|
|
15
|
+
import { F as FileViewer } from '../../chunks/bundle-Go8RJZ6S.js';
|
|
16
16
|
import { MessageMenu } from '../../ui/MessageItemMenu.js';
|
|
17
17
|
import { MessageEmojiMenu } from '../../ui/MessageItemReactionMenu.js';
|
|
18
18
|
import ContextMenu, { MenuItems } from '../../ui/ContextMenu.js';
|
|
19
19
|
import UserProfile from '../../ui/UserProfile.js';
|
|
20
20
|
import MessageInput from '../../ui/MessageInput.js';
|
|
21
|
-
import { M as MessageInputKeys } from '../../chunks/bundle-
|
|
22
|
-
import { R as Role } from '../../chunks/bundle-
|
|
23
|
-
import { u as useMediaQueryContext } from '../../chunks/bundle-
|
|
24
|
-
import { u as useLongPress } from '../../chunks/bundle-
|
|
25
|
-
import { M as MobileMenu } from '../../chunks/bundle-
|
|
21
|
+
import { M as MessageInputKeys } from '../../chunks/bundle-Y5rRHVbA.js';
|
|
22
|
+
import { R as Role } from '../../chunks/bundle-CMax-oWd.js';
|
|
23
|
+
import { u as useMediaQueryContext } from '../../chunks/bundle-CuD6w3tY.js';
|
|
24
|
+
import { u as useLongPress } from '../../chunks/bundle-CvZD4CjF.js';
|
|
25
|
+
import { M as MobileMenu } from '../../chunks/bundle-CznK5-Sd.js';
|
|
26
26
|
import { useDirtyGetMentions } from '../../Message/hooks/useDirtyGetMentions.js';
|
|
27
|
-
import '../../chunks/bundle-
|
|
28
|
-
import '../../chunks/bundle-
|
|
27
|
+
import '../../chunks/bundle-BFdttAaW.js';
|
|
28
|
+
import '../../chunks/bundle-CIwNgqhu.js';
|
|
29
29
|
import 'react-dom';
|
|
30
|
-
import '../../chunks/bundle-
|
|
30
|
+
import '../../chunks/bundle-rA2Y0qFJ.js';
|
|
31
31
|
import '../../ui/IconButton.js';
|
|
32
32
|
import '../../ui/Button.js';
|
|
33
33
|
import '../../ui/Icon.js';
|
|
34
|
-
import '../../chunks/bundle-
|
|
35
|
-
import '../../chunks/bundle-
|
|
34
|
+
import '../../chunks/bundle-CWVPqsi_.js';
|
|
35
|
+
import '../../chunks/bundle-BubacXNL.js';
|
|
36
36
|
import '../../ui/ImageRenderer.js';
|
|
37
37
|
import '../../ui/TextButton.js';
|
|
38
|
-
import '../../chunks/bundle-
|
|
38
|
+
import '../../chunks/bundle-BUC4DRq0.js';
|
|
39
39
|
import '../../ui/EmojiReactions.js';
|
|
40
40
|
import '../../ui/ReactionBadge.js';
|
|
41
41
|
import '../../ui/ReactionButton.js';
|
|
42
42
|
import '../../ui/BottomSheet.js';
|
|
43
43
|
import '../../hooks/useModal.js';
|
|
44
|
-
import '../../chunks/bundle-
|
|
44
|
+
import '../../chunks/bundle-KeJ_rVJL.js';
|
|
45
45
|
import '../../ui/UserListItem.js';
|
|
46
46
|
import '../../ui/MutedAvatarOverlay.js';
|
|
47
47
|
import '../../ui/Checkbox.js';
|
|
48
|
-
import '../../chunks/bundle-
|
|
48
|
+
import '../../chunks/bundle-DF_LuHdb.js';
|
|
49
49
|
import '../../sendbirdSelectors.js';
|
|
50
|
-
import '../../chunks/bundle-
|
|
50
|
+
import '../../chunks/bundle-CaYPuZ9G.js';
|
|
51
51
|
import '../../withSendbird.js';
|
|
52
52
|
import '@sendbird/chat';
|
|
53
53
|
import '@sendbird/chat/openChannel';
|
|
54
54
|
import '../../ui/SortByRow.js';
|
|
55
|
-
import '../../chunks/bundle-
|
|
55
|
+
import '../../chunks/bundle-CFYZBlok.js';
|
|
56
56
|
import '@sendbird/chat/groupChannel';
|
|
57
57
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
58
58
|
import '../../ui/Tooltip.js';
|
|
@@ -61,48 +61,49 @@ import '../../Message/context.js';
|
|
|
61
61
|
import '../../ui/VoiceMessageItemBody.js';
|
|
62
62
|
import '../../ui/ProgressBar.js';
|
|
63
63
|
import '../../VoicePlayer/useVoicePlayer.js';
|
|
64
|
-
import '../../chunks/bundle-
|
|
65
|
-
import '../../chunks/bundle-
|
|
64
|
+
import '../../chunks/bundle-CWYkDVsf.js';
|
|
65
|
+
import '../../chunks/bundle-C5Wf2y_6.js';
|
|
66
66
|
import '../../VoiceRecorder/context.js';
|
|
67
67
|
import '../../ui/PlaybackTime.js';
|
|
68
68
|
import '../../ui/Loader.js';
|
|
69
|
-
import '../../chunks/bundle-
|
|
70
|
-
import '../../chunks/bundle-
|
|
69
|
+
import '../../chunks/bundle-DMs2iFV3.js';
|
|
70
|
+
import '../../chunks/bundle-D6_jF6vA.js';
|
|
71
71
|
import '../../ui/MentionLabel.js';
|
|
72
72
|
import '../../ui/LinkLabel.js';
|
|
73
|
-
import '../../chunks/bundle-
|
|
73
|
+
import '../../chunks/bundle-C-mS5Dam.js';
|
|
74
74
|
import '@sendbird/chat/message';
|
|
75
|
-
import '../../chunks/bundle-
|
|
76
|
-
import '../../chunks/bundle-
|
|
75
|
+
import '../../chunks/bundle-CmZPkDe1.js';
|
|
76
|
+
import '../../chunks/bundle-C8jQWzDU.js';
|
|
77
77
|
import '../context/types.js';
|
|
78
|
-
import '../../chunks/bundle-
|
|
79
|
-
import '../../chunks/bundle-
|
|
80
|
-
import '../../chunks/bundle-
|
|
81
|
-
import '../../chunks/bundle-
|
|
82
|
-
import '../../chunks/bundle-
|
|
78
|
+
import '../../chunks/bundle-aDOQN2rV.js';
|
|
79
|
+
import '../../chunks/bundle-BQoN_-_d.js';
|
|
80
|
+
import '../../chunks/bundle-D4k3lbic.js';
|
|
81
|
+
import '../../chunks/bundle-BU3SRwZT.js';
|
|
82
|
+
import '../../chunks/bundle-BN9xM02J.js';
|
|
83
83
|
import '@sendbird/uikit-tools';
|
|
84
|
-
import '../../chunks/bundle-
|
|
84
|
+
import '../../chunks/bundle-BsCYcxaN.js';
|
|
85
85
|
import 'dompurify';
|
|
86
|
-
import '../../chunks/bundle-
|
|
87
|
-
import '../../chunks/bundle-
|
|
88
|
-
import '../../chunks/bundle-
|
|
86
|
+
import '../../chunks/bundle-Don9PlYG.js';
|
|
87
|
+
import '../../chunks/bundle-HQX6RTqS.js';
|
|
88
|
+
import '../../chunks/bundle-DPSsFTo9.js';
|
|
89
89
|
|
|
90
90
|
function ParentMessageInfo(_a) {
|
|
91
|
+
var _this = this;
|
|
91
92
|
var _b, _c, _d, _e, _f, _g;
|
|
92
93
|
var className = _a.className;
|
|
93
94
|
var _h = useSendbirdStateContext(), stores = _h.stores, config = _h.config;
|
|
94
95
|
var isMentionEnabled = config.isMentionEnabled, isReactionEnabled = config.isReactionEnabled, replyType = config.replyType, isOnline = config.isOnline, userMention = config.userMention, logger = config.logger;
|
|
95
96
|
var userId = (_c = (_b = stores.userStore.user) === null || _b === void 0 ? void 0 : _b.userId) !== null && _c !== void 0 ? _c : '';
|
|
96
97
|
var dateLocale = useLocalization().dateLocale;
|
|
97
|
-
var _j = useThreadContext(), currentChannel = _j.currentChannel, parentMessage = _j.parentMessage, allThreadMessages = _j.allThreadMessages, emojiContainer = _j.emojiContainer, toggleReaction = _j.toggleReaction, updateMessage = _j.updateMessage, deleteMessage = _j.deleteMessage, onMoveToParentMessage = _j.onMoveToParentMessage, onHeaderActionClick = _j.onHeaderActionClick, isMuted = _j.isMuted, isChannelFrozen = _j.isChannelFrozen;
|
|
98
|
+
var _j = useThreadContext(), currentChannel = _j.currentChannel, parentMessage = _j.parentMessage, allThreadMessages = _j.allThreadMessages, emojiContainer = _j.emojiContainer, toggleReaction = _j.toggleReaction, updateMessage = _j.updateMessage, deleteMessage = _j.deleteMessage, onMoveToParentMessage = _j.onMoveToParentMessage, onHeaderActionClick = _j.onHeaderActionClick, isMuted = _j.isMuted, isChannelFrozen = _j.isChannelFrozen, onBeforeDownloadFileMessage = _j.onBeforeDownloadFileMessage;
|
|
98
99
|
var isMobile = useMediaQueryContext().isMobile;
|
|
99
100
|
var _k = useState(false), showRemove = _k[0], setShowRemove = _k[1];
|
|
100
101
|
var _l = useState(false), supposedHover = _l[0], setSupposedHover = _l[1];
|
|
101
102
|
var _m = useState(false), showFileViewer = _m[0], setShowFileViewer = _m[1];
|
|
102
103
|
var usingReaction = getIsReactionEnabled({
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
channel: currentChannel,
|
|
105
|
+
config: config,
|
|
106
|
+
moduleLevel: isReactionEnabled,
|
|
106
107
|
});
|
|
107
108
|
var isByMe = userId === parentMessage.sender.userId;
|
|
108
109
|
// Mobile
|
|
@@ -148,6 +149,34 @@ function ParentMessageInfo(_a) {
|
|
|
148
149
|
}
|
|
149
150
|
}));
|
|
150
151
|
}, [mentionedUserIds]);
|
|
152
|
+
var handleOnDownloadClick = function (e) { return __awaiter(_this, void 0, void 0, function () {
|
|
153
|
+
var allowDownload, err_1;
|
|
154
|
+
var _a, _b;
|
|
155
|
+
return __generator(this, function (_c) {
|
|
156
|
+
switch (_c.label) {
|
|
157
|
+
case 0:
|
|
158
|
+
if (!onBeforeDownloadFileMessage) {
|
|
159
|
+
return [2 /*return*/, null];
|
|
160
|
+
}
|
|
161
|
+
_c.label = 1;
|
|
162
|
+
case 1:
|
|
163
|
+
_c.trys.push([1, 3, , 4]);
|
|
164
|
+
return [4 /*yield*/, onBeforeDownloadFileMessage({ message: parentMessage })];
|
|
165
|
+
case 2:
|
|
166
|
+
allowDownload = _c.sent();
|
|
167
|
+
if (!allowDownload) {
|
|
168
|
+
e.preventDefault();
|
|
169
|
+
(_a = logger === null || logger === void 0 ? void 0 : logger.info) === null || _a === void 0 ? void 0 : _a.call(logger, 'ParentMessageInfo: Not allowed to download.');
|
|
170
|
+
}
|
|
171
|
+
return [3 /*break*/, 4];
|
|
172
|
+
case 3:
|
|
173
|
+
err_1 = _c.sent();
|
|
174
|
+
(_b = logger === null || logger === void 0 ? void 0 : logger.error) === null || _b === void 0 ? void 0 : _b.call(logger, 'ParentMessageInfo: Error occurred while determining download continuation:', err_1);
|
|
175
|
+
return [3 /*break*/, 4];
|
|
176
|
+
case 4: return [2 /*return*/];
|
|
177
|
+
}
|
|
178
|
+
});
|
|
179
|
+
}); };
|
|
151
180
|
// User Profile
|
|
152
181
|
var avatarRef = useRef(null);
|
|
153
182
|
var _w = useContext(UserProfileContext), disableUserProfile = _w.disableUserProfile, renderUserProfile = _w.renderUserProfile;
|
|
@@ -229,7 +258,7 @@ function ParentMessageInfo(_a) {
|
|
|
229
258
|
React__default.createElement("div", { className: "sendbird-parent-message-info__content__info" },
|
|
230
259
|
React__default.createElement(Label, { className: "sendbird-parent-message-info__content__info__sender-name".concat(usingReaction ? '--use-reaction' : ''), type: LabelTypography.CAPTION_2, color: LabelColors.ONBACKGROUND_2 }, ((_f = (_e = currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.members) === null || _e === void 0 ? void 0 : _e.find(function (member) { var _a; return (member === null || member === void 0 ? void 0 : member.userId) === ((_a = parentMessage === null || parentMessage === void 0 ? void 0 : parentMessage.sender) === null || _a === void 0 ? void 0 : _a.userId); })) === null || _f === void 0 ? void 0 : _f.nickname) || (getSenderName === null || getSenderName === void 0 ? void 0 : getSenderName(parentMessage))),
|
|
231
260
|
React__default.createElement(Label, { className: "sendbird-parent-message-info__content__info__sent-at", type: LabelTypography.CAPTION_3, color: LabelColors.ONBACKGROUND_2 }, format((parentMessage === null || parentMessage === void 0 ? void 0 : parentMessage.createdAt) || 0, 'p', { locale: dateLocale }))),
|
|
232
|
-
React__default.createElement(ParentMessageInfoItem, { message: parentMessage, showFileViewer: setShowFileViewer })),
|
|
261
|
+
React__default.createElement(ParentMessageInfoItem, { message: parentMessage, showFileViewer: setShowFileViewer, onBeforeDownloadFileMessage: onBeforeDownloadFileMessage })),
|
|
233
262
|
!isMobile && (React__default.createElement(MessageMenu, { className: "sendbird-parent-message-info__context-menu ".concat(usingReaction ? 'use-reaction' : '', " ").concat(supposedHover ? 'sendbird-mouse-hover' : ''), channel: currentChannel, message: parentMessage, isByMe: userId === ((_g = parentMessage === null || parentMessage === void 0 ? void 0 : parentMessage.sender) === null || _g === void 0 ? void 0 : _g.userId), disableDeleteMessage: allThreadMessages.length > 0, replyType: replyType, showEdit: setShowEditInput, showRemove: setShowRemove, setSupposedHover: setSupposedHover, onMoveToParentMessage: function () {
|
|
234
263
|
onMoveToParentMessage({ message: parentMessage, channel: currentChannel });
|
|
235
264
|
}, deleteMessage: deleteMessage })),
|
|
@@ -242,12 +271,12 @@ function ParentMessageInfo(_a) {
|
|
|
242
271
|
.then(function () {
|
|
243
272
|
setShowFileViewer(false);
|
|
244
273
|
});
|
|
245
|
-
} })),
|
|
274
|
+
}, onDownloadClick: handleOnDownloadClick })),
|
|
246
275
|
showMobileMenu && (React__default.createElement(MobileMenu, { parentRef: mobileMenuRef, channel: currentChannel, message: parentMessage, userId: userId, replyType: replyType, hideMenu: function () {
|
|
247
276
|
setShowMobileMenu(false);
|
|
248
277
|
}, deleteMessage: deleteMessage, deleteMenuState: (allThreadMessages === null || allThreadMessages === void 0 ? void 0 : allThreadMessages.length) === 0
|
|
249
278
|
? 'ACTIVE'
|
|
250
|
-
: 'HIDE', isReactionEnabled: usingReaction, isByMe: isByMe, emojiContainer: emojiContainer, showEdit: setShowEditInput, showRemove: setShowRemove, toggleReaction: toggleReaction, isOpenedFromThread: true }))));
|
|
279
|
+
: 'HIDE', isReactionEnabled: usingReaction, isByMe: isByMe, emojiContainer: emojiContainer, showEdit: setShowEditInput, showRemove: setShowRemove, toggleReaction: toggleReaction, isOpenedFromThread: true, onDownloadClick: handleOnDownloadClick }))));
|
|
251
280
|
}
|
|
252
281
|
|
|
253
282
|
export { ParentMessageInfo as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ParentMessageInfo.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ParentMessageInfo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|