@sendbird/uikit-react 3.17.11 → 3.18.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 +93 -91
- package/App.js.map +1 -1
- package/CHANGELOG.md +20 -16
- package/Channel/components/ChannelHeader.js +33 -33
- package/Channel/components/ChannelUI.js +72 -69
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +31 -31
- package/Channel/components/FrozenNotification.js +6 -6
- package/Channel/components/Message.js +59 -58
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +56 -54
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageInputWrapper.js +54 -51
- package/Channel/components/MessageInputWrapper.js.map +1 -1
- package/Channel/components/MessageList.js +66 -65
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +30 -30
- package/Channel/components/SuggestedMentionList.js +30 -30
- package/Channel/components/TypingIndicator.js +9 -9
- package/Channel/components/UnreadCount.js +8 -8
- package/Channel/context.js +25 -26
- package/Channel/context.js.map +1 -1
- package/Channel/hooks/useHandleUploadFiles.js +35 -57
- package/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/Channel/utils/compareMessagesForGrouping.js +8 -8
- package/Channel/utils/getMessagePartsInfo.js +9 -9
- package/Channel.js +72 -69
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +93 -91
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +13 -13
- package/ChannelList/components/ChannelListUI.js +93 -91
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +32 -32
- package/ChannelList/components/ChannelPreviewAction.js +17 -17
- package/ChannelList/context.js +14 -14
- package/ChannelList.js +93 -91
- package/ChannelList.js.map +1 -1
- package/ChannelSettings/components/ChannelProfile.js +23 -23
- package/ChannelSettings/components/ChannelSettingMenuList.js +14 -14
- package/ChannelSettings/components/ChannelSettingsHeader.js +11 -11
- package/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
- package/ChannelSettings/components/ChannelSettingsUI.js +33 -33
- package/ChannelSettings/components/EditDetailsModal.js +19 -19
- package/ChannelSettings/components/LeaveChannel.js +20 -20
- package/ChannelSettings/components/ModerationPanel.js +31 -31
- package/ChannelSettings/components/UserListItem.js +19 -19
- package/ChannelSettings/components/UserPanel.js +29 -29
- package/ChannelSettings/context.js +9 -9
- package/ChannelSettings/hooks/useMenuList.js +29 -29
- package/ChannelSettings.js +31 -31
- package/CreateChannel/components/CreateChannelUI.js +93 -91
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +93 -91
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +93 -91
- package/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/CreateChannel/context.js +93 -91
- package/CreateChannel/context.js.map +1 -1
- package/CreateChannel.js +93 -91
- package/CreateChannel.js.map +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +16 -16
- package/CreateOpenChannel/context.js +4 -4
- package/CreateOpenChannel.js +15 -15
- package/EditUserProfile/components/EditUserProfileUI.js +15 -15
- package/EditUserProfile/context.js +1 -1
- package/EditUserProfile.js +15 -15
- package/GroupChannel/components/FileViewer.js +28 -28
- package/GroupChannel/components/FrozenNotification.js +6 -6
- package/GroupChannel/components/GroupChannelHeader.js +29 -29
- package/GroupChannel/components/GroupChannelUI.js +67 -64
- package/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/GroupChannel/components/Message.js +56 -55
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +51 -48
- package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/GroupChannel/components/MessageList.js +61 -60
- package/GroupChannel/components/MessageList.js.map +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +27 -27
- package/GroupChannel/components/SuggestedMentionList.js +15 -15
- package/GroupChannel/components/TypingIndicator.js +9 -9
- package/GroupChannel/components/UnreadCount.js +9 -9
- package/GroupChannel/context.js +15 -15
- package/GroupChannel.js +67 -64
- package/GroupChannel.js.map +1 -1
- package/GroupChannelList/components/AddGroupChannel.js +93 -91
- package/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListHeader.js +13 -13
- package/GroupChannelList/components/GroupChannelListItem.js +32 -32
- package/GroupChannelList/components/GroupChannelListUI.js +93 -91
- package/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/GroupChannelList/components/GroupChannelPreviewAction.js +18 -18
- package/GroupChannelList/context.js +10 -10
- package/GroupChannelList.js +93 -91
- package/GroupChannelList.js.map +1 -1
- package/MessageSearch/components/MessageSearchUI.js +20 -20
- package/MessageSearch/context.js +6 -6
- package/MessageSearch.js +23 -23
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +21 -21
- package/OpenChannel/components/OpenChannelInput.js +81 -34
- package/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessage.js +40 -42
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +45 -45
- package/OpenChannel/components/OpenChannelUI.js +46 -44
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +19 -19
- package/OpenChannel.js +48 -46
- package/OpenChannel.js.map +1 -1
- package/OpenChannelList/components/OpenChannelListUI.js +18 -18
- package/OpenChannelList/components/OpenChannelPreview.js +7 -7
- package/OpenChannelList/context.js +7 -7
- package/OpenChannelList.js +17 -17
- package/OpenChannelSettings/components/EditDetailsModal.js +18 -18
- package/OpenChannelSettings/components/OpenChannelProfile.js +18 -18
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +24 -24
- package/OpenChannelSettings/components/OperatorUI.js +26 -26
- package/OpenChannelSettings/components/ParticipantUI.js +22 -22
- package/OpenChannelSettings/context.js +6 -6
- package/OpenChannelSettings.js +24 -24
- package/SendbirdProvider.js +28 -24
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +59 -62
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +35 -35
- package/Thread/components/ThreadHeader.js +9 -9
- package/Thread/components/ThreadList.js +58 -57
- package/Thread/components/ThreadList.js.map +1 -1
- package/Thread/components/ThreadListItem.js +66 -69
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +220 -79
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +66 -64
- package/Thread/components/ThreadUI.js.map +1 -1
- package/Thread/context.js +15 -15
- package/Thread.js +66 -64
- package/Thread.js.map +1 -1
- package/VoicePlayer/context.js +6 -6
- package/VoicePlayer/useVoicePlayer.js +24 -18
- package/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/VoiceRecorder/context.js +14 -14
- package/VoiceRecorder/useVoiceRecorder.js +12 -12
- package/chunks/{bundle-CeLEEyFJ.js → bundle-4clodtJA.js} +25 -29
- package/chunks/bundle-4clodtJA.js.map +1 -0
- package/chunks/{bundle-8dH5t8D9.js → bundle-5y4qYKhm.js} +9 -9
- package/chunks/{bundle-8dH5t8D9.js.map → bundle-5y4qYKhm.js.map} +1 -1
- package/chunks/{bundle-Cq01dsQs.js → bundle-6I0gJidJ.js} +1 -1
- package/chunks/bundle-6I0gJidJ.js.map +1 -0
- package/chunks/{bundle-BMMEMc9R.js → bundle-9ghXmCwH.js} +1 -1
- package/chunks/bundle-9ghXmCwH.js.map +1 -0
- package/chunks/bundle-AsQ1wnFm.js +47 -0
- package/chunks/bundle-AsQ1wnFm.js.map +1 -0
- package/chunks/{bundle-CgAh8D8l.js → bundle-B40pTdZv.js} +1 -1
- package/chunks/bundle-B40pTdZv.js.map +1 -0
- package/chunks/{bundle-DOHzCh7a.js → bundle-B56O1y8C.js} +5 -5
- package/chunks/{bundle-DOHzCh7a.js.map → bundle-B56O1y8C.js.map} +1 -1
- package/chunks/{bundle-CH1SOYd0.js → bundle-B5LKcMN_.js} +2 -2
- package/chunks/bundle-B5LKcMN_.js.map +1 -0
- package/chunks/bundle-B5xkbY4c.js +111 -0
- package/chunks/bundle-B5xkbY4c.js.map +1 -0
- package/chunks/{bundle-CfGa1Ywx.js → bundle-B9yd2WEy.js} +4 -4
- package/chunks/bundle-B9yd2WEy.js.map +1 -0
- package/chunks/bundle-BCjR1Qiq.js +707 -0
- package/chunks/bundle-BCjR1Qiq.js.map +1 -0
- package/chunks/{bundle-DGZK0j-W.js → bundle-BEPoP7sp.js} +2 -2
- package/chunks/bundle-BEPoP7sp.js.map +1 -0
- package/chunks/{bundle-DCwgKOlw.js → bundle-BJShQs4P.js} +5 -5
- package/chunks/bundle-BJShQs4P.js.map +1 -0
- package/chunks/{bundle-CC_Jz6mm.js → bundle-BKXsd3zk.js} +1 -1
- package/chunks/bundle-BKXsd3zk.js.map +1 -0
- package/chunks/{bundle-C5JanUlq.js → bundle-BLMU9f-F.js} +34 -23
- package/{cjs/chunks/bundle-U6Y2jYcy.js.map → chunks/bundle-BLMU9f-F.js.map} +1 -1
- package/chunks/{bundle-CmTULFbc.js → bundle-BRJdb8OX.js} +1 -1
- package/chunks/bundle-BRJdb8OX.js.map +1 -0
- package/chunks/{bundle-DPFUYsH2.js → bundle-BShLbNAF.js} +1 -1
- package/chunks/bundle-BShLbNAF.js.map +1 -0
- package/chunks/{bundle-DKnH9j0w.js → bundle-BZSLsKkw.js} +25 -8
- package/chunks/{bundle-DKnH9j0w.js.map → bundle-BZSLsKkw.js.map} +1 -1
- package/chunks/{bundle-DoCZ7Yns.js → bundle-Banyr0qP.js} +3 -3
- package/chunks/bundle-Banyr0qP.js.map +1 -0
- package/chunks/{bundle-C6xi9dYP.js → bundle-BdprN8pt.js} +1 -1
- package/chunks/{bundle-C6xi9dYP.js.map → bundle-BdprN8pt.js.map} +1 -1
- package/chunks/{bundle-BwngnlYf.js → bundle-BfgSx7DM.js} +3 -3
- package/chunks/{bundle-BwngnlYf.js.map → bundle-BfgSx7DM.js.map} +1 -1
- package/chunks/{bundle-deCJFaXg.js → bundle-Bm5O6aP3.js} +1 -1
- package/chunks/bundle-Bm5O6aP3.js.map +1 -0
- package/chunks/{bundle-DajAePTd.js → bundle-BpM8phr1.js} +14 -14
- package/chunks/bundle-BpM8phr1.js.map +1 -0
- package/chunks/{bundle-CUFNseKN.js → bundle-Bpofr334.js} +2 -2
- package/chunks/{bundle-CUFNseKN.js.map → bundle-Bpofr334.js.map} +1 -1
- package/chunks/{bundle-DcfMvtQG.js → bundle-BqKoZDqX.js} +1 -1
- package/chunks/{bundle-DcfMvtQG.js.map → bundle-BqKoZDqX.js.map} +1 -1
- package/chunks/{bundle-BZoGlf3f.js → bundle-BrCEaRXK.js} +16 -16
- package/chunks/{bundle-BZoGlf3f.js.map → bundle-BrCEaRXK.js.map} +1 -1
- package/chunks/{bundle-CSa8zeut.js → bundle-BrqWLoDb.js} +5 -5
- package/chunks/{bundle-CSa8zeut.js.map → bundle-BrqWLoDb.js.map} +1 -1
- package/chunks/{bundle-K4xHiJfN.js → bundle-Bs8Cwq5j.js} +9 -9
- package/chunks/bundle-Bs8Cwq5j.js.map +1 -0
- package/chunks/{bundle-LKiKEQMD.js → bundle-BsY2Dawk.js} +2 -2
- package/chunks/bundle-BsY2Dawk.js.map +1 -0
- package/chunks/{bundle-DvFk9hZu.js → bundle-C1npFBfj.js} +1 -1
- package/chunks/bundle-C1npFBfj.js.map +1 -0
- package/chunks/{bundle-DUhFIvq0.js → bundle-C20UC6V7.js} +7 -7
- package/chunks/bundle-C20UC6V7.js.map +1 -0
- package/chunks/{bundle-CTVS7EpI.js → bundle-C2ARCMSL.js} +1 -1
- package/chunks/bundle-C2ARCMSL.js.map +1 -0
- package/chunks/{bundle-QqMAlWsP.js → bundle-C4anRHWY.js} +11 -11
- package/chunks/bundle-C4anRHWY.js.map +1 -0
- package/chunks/{bundle-CX6EYwvX.js → bundle-C5-D2BAP.js} +61 -17
- package/{cjs/chunks/bundle-DmR0_slE.js.map → chunks/bundle-C5-D2BAP.js.map} +1 -1
- package/chunks/{bundle-DmoshxdI.js → bundle-C60Wnv-9.js} +2 -2
- package/chunks/bundle-C60Wnv-9.js.map +1 -0
- package/chunks/{bundle-DiKiLU8g.js → bundle-CAshTR7h.js} +1 -1
- package/chunks/bundle-CAshTR7h.js.map +1 -0
- package/chunks/{bundle-DYbMoqiD.js → bundle-CD4RzjMA.js} +4 -4
- package/chunks/bundle-CD4RzjMA.js.map +1 -0
- package/chunks/{bundle-D3DfLeep.js → bundle-CFc2hy8g.js} +2 -2
- package/chunks/bundle-CFc2hy8g.js.map +1 -0
- package/chunks/{bundle-4FHXjC0T.js → bundle-CLHIHGae.js} +5 -5
- package/chunks/bundle-CLHIHGae.js.map +1 -0
- package/chunks/{bundle-CVIpQvz-.js → bundle-CLrmFXHj.js} +10 -10
- package/chunks/{bundle-CVIpQvz-.js.map → bundle-CLrmFXHj.js.map} +1 -1
- package/chunks/{bundle-CjCG01vR.js → bundle-CPOgmEXq.js} +4 -4
- package/chunks/bundle-CPOgmEXq.js.map +1 -0
- package/chunks/{bundle-C7rLZX4P.js → bundle-Cd8fnvI_.js} +1 -1
- package/chunks/bundle-Cd8fnvI_.js.map +1 -0
- package/chunks/{bundle-CE8XZeIa.js → bundle-Cdplrrlw.js} +4 -4
- package/chunks/bundle-Cdplrrlw.js.map +1 -0
- package/chunks/{bundle-CD6CGxYu.js → bundle-Cdqsdoa8.js} +4 -4
- package/chunks/bundle-Cdqsdoa8.js.map +1 -0
- package/chunks/{bundle-NRNsjiKk.js → bundle-CglqREVl.js} +1 -1
- package/chunks/bundle-CglqREVl.js.map +1 -0
- package/chunks/{bundle-DNZm2aCn.js → bundle-ChLik1Zs.js} +4 -4
- package/chunks/bundle-ChLik1Zs.js.map +1 -0
- package/chunks/{bundle-jqzUQHEL.js → bundle-CnFrQOtC.js} +21 -19
- package/{cjs/chunks/bundle-DzxR2MCH.js.map → chunks/bundle-CnFrQOtC.js.map} +1 -1
- package/chunks/{bundle-CWhu5cnC.js → bundle-Cslf3sKl.js} +3 -3
- package/chunks/bundle-Cslf3sKl.js.map +1 -0
- package/chunks/{bundle-BDaOve18.js → bundle-Cw0XZgRI.js} +7 -7
- package/chunks/bundle-Cw0XZgRI.js.map +1 -0
- package/chunks/{bundle-nJfCHTAl.js → bundle-CwMNZmx9.js} +222 -149
- package/chunks/{bundle-nJfCHTAl.js.map → bundle-CwMNZmx9.js.map} +1 -1
- package/chunks/{bundle-BS4kt0WK.js → bundle-Cyocqt10.js} +10 -12
- package/{cjs/chunks/bundle-BPerQ7Nn.js.map → chunks/bundle-Cyocqt10.js.map} +1 -1
- package/chunks/{bundle-CSLZlbio.js → bundle-D-L9ZslG.js} +8 -8
- package/chunks/{bundle-CSLZlbio.js.map → bundle-D-L9ZslG.js.map} +1 -1
- package/chunks/{bundle-C5IAP1zO.js → bundle-D0WVu0lN.js} +1 -1
- package/chunks/bundle-D0WVu0lN.js.map +1 -0
- package/chunks/{bundle-D77O6D1c.js → bundle-D3zdGXmK.js} +4 -4
- package/chunks/{bundle-D77O6D1c.js.map → bundle-D3zdGXmK.js.map} +1 -1
- package/chunks/{bundle-EUiAeGsI.js → bundle-D4O-NxY1.js} +28 -18
- package/{cjs/chunks/bundle-D3d1xmjt.js.map → chunks/bundle-D4O-NxY1.js.map} +1 -1
- package/chunks/{bundle-CTZdxGd-.js → bundle-D646l1Rn.js} +1 -1
- package/chunks/bundle-D646l1Rn.js.map +1 -0
- package/chunks/{bundle-B07oZGKu.js → bundle-D9ORMtyv.js} +7 -7
- package/chunks/bundle-D9ORMtyv.js.map +1 -0
- package/chunks/{bundle-CQA3ZHxQ.js → bundle-DC25kzte.js} +10 -10
- package/chunks/{bundle-CQA3ZHxQ.js.map → bundle-DC25kzte.js.map} +1 -1
- package/chunks/{bundle-CdzKrMjw.js → bundle-DD_FhSU8.js} +6 -6
- package/chunks/bundle-DD_FhSU8.js.map +1 -0
- package/chunks/{bundle-DKmGgarH.js → bundle-DFWI31lg.js} +4 -4
- package/chunks/bundle-DFWI31lg.js.map +1 -0
- package/chunks/{bundle-CTBJyV2C.js → bundle-DIdJF27_.js} +2 -2
- package/chunks/bundle-DIdJF27_.js.map +1 -0
- package/chunks/{bundle-DJ-TOKrq.js → bundle-DTiJ-rFi.js} +5 -5
- package/chunks/{bundle-DJ-TOKrq.js.map → bundle-DTiJ-rFi.js.map} +1 -1
- package/chunks/{bundle-CBhbbqeO.js → bundle-DVdeXT-4.js} +2 -4
- package/chunks/bundle-DVdeXT-4.js.map +1 -0
- package/chunks/{bundle-DdGdUttq.js → bundle-DWURNKdQ.js} +19 -10
- package/{cjs/chunks/bundle-DCE4aPIh.js.map → chunks/bundle-DWURNKdQ.js.map} +1 -1
- package/chunks/{bundle-CQJQkdjB.js → bundle-DX6fRIJl.js} +1 -1
- package/chunks/bundle-DX6fRIJl.js.map +1 -0
- package/chunks/{bundle-BhsIH5N9.js → bundle-DXC9ZAL8.js} +7 -7
- package/chunks/{bundle-BhsIH5N9.js.map → bundle-DXC9ZAL8.js.map} +1 -1
- package/chunks/{bundle-COVbA08i.js → bundle-DY7Cxkk0.js} +2 -2
- package/chunks/{bundle-COVbA08i.js.map → bundle-DY7Cxkk0.js.map} +1 -1
- package/chunks/{bundle-MfWZwGxM.js → bundle-DiO7lolz.js} +3 -3
- package/chunks/bundle-DiO7lolz.js.map +1 -0
- package/chunks/{bundle-yJIT2XDk.js → bundle-Dj_wODPB.js} +97 -78
- package/{cjs/chunks/bundle-D9x3No8L.js.map → chunks/bundle-Dj_wODPB.js.map} +1 -1
- package/chunks/{bundle-Dtcjhm7e.js → bundle-DmOfz_GY.js} +77 -47
- package/chunks/{bundle-EUiAeGsI.js.map → bundle-DmOfz_GY.js.map} +1 -1
- package/chunks/{bundle-BPR5PyGX.js → bundle-DmnXeBdU.js} +1 -1
- package/chunks/{bundle-BPR5PyGX.js.map → bundle-DmnXeBdU.js.map} +1 -1
- package/chunks/{bundle-DCbF_EZ6.js → bundle-DpOgiF9r.js} +1 -1
- package/chunks/bundle-DpOgiF9r.js.map +1 -0
- package/chunks/{bundle-CBGlP9zt.js → bundle-Dw9WYTqh.js} +2 -2
- package/chunks/{bundle-CBGlP9zt.js.map → bundle-Dw9WYTqh.js.map} +1 -1
- package/chunks/{bundle-apFuh3_k.js → bundle-DyguzebC.js} +2 -2
- package/chunks/{bundle-apFuh3_k.js.map → bundle-DyguzebC.js.map} +1 -1
- package/chunks/{bundle-DeDZvs38.js → bundle-DyosazG-.js} +3 -5
- package/chunks/{bundle-DeDZvs38.js.map → bundle-DyosazG-.js.map} +1 -1
- package/chunks/{bundle-D4as5hKh.js → bundle-DzB_38co.js} +7 -7
- package/chunks/{bundle-BS4kt0WK.js.map → bundle-DzB_38co.js.map} +1 -1
- package/chunks/{bundle-C9eESsTb.js → bundle-EKFQIahk.js} +3 -3
- package/chunks/{bundle-C9eESsTb.js.map → bundle-EKFQIahk.js.map} +1 -1
- package/chunks/bundle-ExNQo0Ly.js +160 -0
- package/chunks/{bundle-C9pDO7b_.js.map → bundle-ExNQo0Ly.js.map} +1 -1
- package/chunks/{bundle-BrZWYj5G.js → bundle-F_R9C4cW.js} +1 -1
- package/chunks/bundle-F_R9C4cW.js.map +1 -0
- package/chunks/{bundle-BdqzVlr4.js → bundle-FnWZX8on.js} +4 -4
- package/chunks/bundle-FnWZX8on.js.map +1 -0
- package/chunks/{bundle-u7ZSOSmF.js → bundle-Gpc6ZS8v.js} +51 -26
- package/chunks/{bundle-u7ZSOSmF.js.map → bundle-Gpc6ZS8v.js.map} +1 -1
- package/chunks/{bundle-B_1lMJw7.js → bundle-HZPwhqsr.js} +8 -8
- package/{cjs/chunks/bundle-Cj4QTkbo.js.map → chunks/bundle-HZPwhqsr.js.map} +1 -1
- package/chunks/{bundle-D67XuNKa.js → bundle-JhKiWlXT.js} +2 -2
- package/chunks/bundle-JhKiWlXT.js.map +1 -0
- package/chunks/{bundle-B4W87yRp.js → bundle-KmABwClk.js} +9 -9
- package/chunks/{bundle-B4W87yRp.js.map → bundle-KmABwClk.js.map} +1 -1
- package/chunks/{bundle-D1MmNbfE.js → bundle-LLA95Pqf.js} +1 -1
- package/chunks/bundle-LLA95Pqf.js.map +1 -0
- package/chunks/{bundle-3JP5bt3Z.js → bundle-WvDa8Nzx.js} +3 -3
- package/chunks/bundle-WvDa8Nzx.js.map +1 -0
- package/chunks/{bundle-C9pDO7b_.js → bundle-XzHJwv9S.js} +6 -6
- package/chunks/{bundle-jqzUQHEL.js.map → bundle-XzHJwv9S.js.map} +1 -1
- package/chunks/{bundle-B5yOEM4l.js → bundle-YDriVB8K.js} +2 -2
- package/chunks/bundle-YDriVB8K.js.map +1 -0
- package/chunks/{bundle-DI1Potyd.js → bundle-bbQJtRLQ.js} +11 -11
- package/chunks/{bundle-DI1Potyd.js.map → bundle-bbQJtRLQ.js.map} +1 -1
- package/chunks/{bundle-C78c_-iF.js → bundle-dSIU9ibx.js} +9 -9
- package/chunks/{bundle-C78c_-iF.js.map → bundle-dSIU9ibx.js.map} +1 -1
- package/chunks/{bundle-BVIoifvS.js → bundle-glu5FhZF.js} +13 -13
- package/chunks/{bundle-BVIoifvS.js.map → bundle-glu5FhZF.js.map} +1 -1
- package/chunks/{bundle-DlD_Odlg.js → bundle-hLkIqB36.js} +37 -37
- package/chunks/{bundle-DlD_Odlg.js.map → bundle-hLkIqB36.js.map} +1 -1
- package/chunks/{bundle-0zReDi7b.js → bundle-iPLJ9a5J.js} +1 -1
- package/chunks/bundle-iPLJ9a5J.js.map +1 -0
- package/chunks/bundle-lqEjT2ED.js +4 -0
- package/chunks/bundle-lqEjT2ED.js.map +1 -0
- package/chunks/{bundle-D8iL7lya.js → bundle-oM0Fxt9G.js} +6 -2
- package/chunks/bundle-oM0Fxt9G.js.map +1 -0
- package/chunks/{bundle-BE6zj_MW.js → bundle-zNUBt0Cg.js} +9 -11
- package/chunks/bundle-zNUBt0Cg.js.map +1 -0
- package/cjs/App.js +93 -91
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +33 -33
- package/cjs/Channel/components/ChannelUI.js +72 -69
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +31 -31
- package/cjs/Channel/components/FrozenNotification.js +6 -6
- package/cjs/Channel/components/Message.js +59 -58
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +56 -54
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageInputWrapper.js +54 -51
- package/cjs/Channel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +65 -64
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +30 -30
- package/cjs/Channel/components/SuggestedMentionList.js +30 -30
- package/cjs/Channel/components/TypingIndicator.js +9 -9
- package/cjs/Channel/components/UnreadCount.js +8 -8
- package/cjs/Channel/context.js +25 -26
- package/cjs/Channel/context.js.map +1 -1
- package/cjs/Channel/hooks/useHandleUploadFiles.js +34 -60
- package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/cjs/Channel/utils/compareMessagesForGrouping.js +10 -10
- package/cjs/Channel/utils/getMessagePartsInfo.js +9 -9
- package/cjs/Channel.js +72 -69
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +93 -91
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +13 -13
- package/cjs/ChannelList/components/ChannelListUI.js +93 -91
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +32 -32
- package/cjs/ChannelList/components/ChannelPreviewAction.js +17 -17
- package/cjs/ChannelList/context.js +14 -14
- package/cjs/ChannelList.js +93 -91
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +23 -23
- package/cjs/ChannelSettings/components/ChannelSettingMenuList.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +11 -11
- package/cjs/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +32 -32
- package/cjs/ChannelSettings/components/EditDetailsModal.js +19 -19
- package/cjs/ChannelSettings/components/LeaveChannel.js +20 -20
- package/cjs/ChannelSettings/components/ModerationPanel.js +33 -33
- package/cjs/ChannelSettings/components/UserListItem.js +19 -19
- package/cjs/ChannelSettings/components/UserPanel.js +28 -28
- package/cjs/ChannelSettings/context.js +9 -9
- package/cjs/ChannelSettings/hooks/useMenuList.js +29 -29
- package/cjs/ChannelSettings.js +31 -31
- package/cjs/CreateChannel/components/CreateChannelUI.js +93 -91
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +93 -91
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +93 -91
- package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/cjs/CreateChannel/context.js +93 -91
- package/cjs/CreateChannel/context.js.map +1 -1
- package/cjs/CreateChannel.js +93 -91
- package/cjs/CreateChannel.js.map +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +15 -15
- package/cjs/CreateOpenChannel/context.js +4 -4
- package/cjs/CreateOpenChannel.js +15 -15
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +15 -15
- package/cjs/EditUserProfile/context.js +1 -1
- package/cjs/EditUserProfile.js +15 -15
- package/cjs/GroupChannel/components/FileViewer.js +28 -28
- package/cjs/GroupChannel/components/FrozenNotification.js +6 -6
- package/cjs/GroupChannel/components/GroupChannelHeader.js +29 -29
- package/cjs/GroupChannel/components/GroupChannelUI.js +67 -64
- package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/cjs/GroupChannel/components/Message.js +56 -55
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +50 -47
- package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/GroupChannel/components/MessageList.js +60 -59
- package/cjs/GroupChannel/components/MessageList.js.map +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +27 -27
- package/cjs/GroupChannel/components/SuggestedMentionList.js +15 -15
- package/cjs/GroupChannel/components/TypingIndicator.js +9 -9
- package/cjs/GroupChannel/components/UnreadCount.js +8 -8
- package/cjs/GroupChannel/context.js +15 -15
- package/cjs/GroupChannel.js +67 -64
- package/cjs/GroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/AddGroupChannel.js +93 -91
- package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +13 -13
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +32 -32
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +93 -91
- package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +17 -17
- package/cjs/GroupChannelList/context.js +10 -10
- package/cjs/GroupChannelList.js +93 -91
- package/cjs/GroupChannelList.js.map +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +20 -20
- package/cjs/MessageSearch/context.js +6 -6
- package/cjs/MessageSearch.js +22 -22
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +20 -20
- package/cjs/OpenChannel/components/OpenChannelInput.js +80 -33
- package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessage.js +41 -43
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +47 -47
- package/cjs/OpenChannel/components/OpenChannelUI.js +46 -44
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +19 -19
- package/cjs/OpenChannel.js +48 -46
- package/cjs/OpenChannel.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +17 -17
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/cjs/OpenChannelList/context.js +8 -8
- package/cjs/OpenChannelList.js +17 -17
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +18 -18
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +18 -18
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +24 -24
- package/cjs/OpenChannelSettings/components/OperatorUI.js +28 -28
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +22 -22
- package/cjs/OpenChannelSettings/context.js +6 -6
- package/cjs/OpenChannelSettings.js +24 -24
- package/cjs/SendbirdProvider.js +28 -24
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +59 -62
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +34 -34
- package/cjs/Thread/components/ThreadHeader.js +8 -8
- package/cjs/Thread/components/ThreadList.js +58 -57
- package/cjs/Thread/components/ThreadList.js.map +1 -1
- package/cjs/Thread/components/ThreadListItem.js +66 -69
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +223 -82
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +66 -64
- package/cjs/Thread/components/ThreadUI.js.map +1 -1
- package/cjs/Thread/context.js +15 -15
- package/cjs/Thread.js +66 -64
- package/cjs/Thread.js.map +1 -1
- package/cjs/VoicePlayer/context.js +6 -6
- package/cjs/VoicePlayer/useVoicePlayer.js +23 -17
- package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/cjs/VoiceRecorder/context.js +13 -13
- package/cjs/VoiceRecorder/useVoiceRecorder.js +12 -12
- package/cjs/chunks/{bundle-mBM5xtnU.js → bundle--ZBrECLK.js} +3 -5
- package/cjs/chunks/{bundle-mBM5xtnU.js.map → bundle--ZBrECLK.js.map} +1 -1
- package/cjs/chunks/{bundle-99j0pbE6.js → bundle-1F9guuKw.js} +1 -1
- package/cjs/chunks/bundle-1F9guuKw.js.map +1 -0
- package/cjs/chunks/{bundle-DFv16RSR.js → bundle-2FCFe95u.js} +3 -3
- package/cjs/chunks/bundle-2FCFe95u.js.map +1 -0
- package/cjs/chunks/{bundle-DzxR2MCH.js → bundle-4vdcmQiE.js} +5 -5
- package/cjs/chunks/bundle-4vdcmQiE.js.map +1 -0
- package/cjs/chunks/{bundle-cTlYBGMg.js → bundle-76A2Zzye.js} +4 -4
- package/cjs/chunks/bundle-76A2Zzye.js.map +1 -0
- package/cjs/chunks/{bundle-CnoOxWnY.js → bundle-9izlRrTd.js} +3 -3
- package/cjs/chunks/bundle-9izlRrTd.js.map +1 -0
- package/cjs/chunks/{bundle-NLD3XGHp.js → bundle-AjkDYnfX.js} +4 -4
- package/cjs/chunks/{bundle-NLD3XGHp.js.map → bundle-AjkDYnfX.js.map} +1 -1
- package/cjs/chunks/{bundle-CCWL4_Bj.js → bundle-B14gP5iL.js} +1 -1
- package/cjs/chunks/bundle-B14gP5iL.js.map +1 -0
- package/cjs/chunks/{bundle-2_6pbUrU.js → bundle-B3MkpbB1.js} +2 -2
- package/cjs/chunks/bundle-B3MkpbB1.js.map +1 -0
- package/cjs/chunks/{bundle-BL5M4yXI.js → bundle-B4v0Agxd.js} +1 -1
- package/cjs/chunks/bundle-B4v0Agxd.js.map +1 -0
- package/cjs/chunks/{bundle-BM_oajIx.js → bundle-BFmC2V1o.js} +8 -8
- package/cjs/chunks/bundle-BFmC2V1o.js.map +1 -0
- package/cjs/chunks/{bundle-BOHlEif7.js → bundle-BKn9ow_B.js} +1 -1
- package/cjs/chunks/{bundle-BOHlEif7.js.map → bundle-BKn9ow_B.js.map} +1 -1
- package/cjs/chunks/{bundle-BwsikcS8.js → bundle-BNgfU9I_.js} +1 -1
- package/cjs/chunks/bundle-BNgfU9I_.js.map +1 -0
- package/cjs/chunks/{bundle-B7RDGS3d.js → bundle-BNu-mNlA.js} +8 -8
- package/cjs/chunks/bundle-BNu-mNlA.js.map +1 -0
- package/cjs/chunks/{bundle-cWZTmuuh.js → bundle-BPfnvsLX.js} +3 -3
- package/cjs/chunks/bundle-BPfnvsLX.js.map +1 -0
- package/cjs/chunks/{bundle-BQFjw5g0.js → bundle-BSCZWP_l.js} +1 -1
- package/cjs/chunks/bundle-BSCZWP_l.js.map +1 -0
- package/cjs/chunks/{bundle-oeZ9Mu_e.js → bundle-BSEj3ItE.js} +1 -1
- package/cjs/chunks/bundle-BSEj3ItE.js.map +1 -0
- package/cjs/chunks/{bundle-DqSg-zio.js → bundle-BSfAJlO9.js} +3 -3
- package/cjs/chunks/bundle-BSfAJlO9.js.map +1 -0
- package/cjs/chunks/{bundle-Cll1iNxk.js → bundle-BTzm82Jl.js} +8 -10
- package/cjs/chunks/{bundle-Cll1iNxk.js.map → bundle-BTzm82Jl.js.map} +1 -1
- package/cjs/chunks/{bundle-DvWSVzag.js → bundle-BVmEHs1Z.js} +51 -26
- package/cjs/chunks/{bundle-DvWSVzag.js.map → bundle-BVmEHs1Z.js.map} +1 -1
- package/cjs/chunks/{bundle-CdZGTXx9.js → bundle-BVn2UMtk.js} +1 -1
- package/cjs/chunks/bundle-BVn2UMtk.js.map +1 -0
- package/cjs/chunks/{bundle-DvYB_ALf.js → bundle-BX9WTltL.js} +12 -12
- package/cjs/chunks/bundle-BX9WTltL.js.map +1 -0
- package/cjs/chunks/{bundle-C-sNT-AX.js → bundle-BXuNw6bR.js} +1 -1
- package/cjs/chunks/{bundle-C-sNT-AX.js.map → bundle-BXuNw6bR.js.map} +1 -1
- package/cjs/chunks/{bundle-D9Wy18VM.js → bundle-Bcw-YfFm.js} +1 -1
- package/cjs/chunks/bundle-Bcw-YfFm.js.map +1 -0
- package/cjs/chunks/{bundle-CE-VoGP-.js → bundle-BiR_Hvsk.js} +1 -1
- package/cjs/chunks/bundle-BiR_Hvsk.js.map +1 -0
- package/cjs/chunks/bundle-BjZvm-U5.js +49 -0
- package/cjs/chunks/bundle-BjZvm-U5.js.map +1 -0
- package/cjs/chunks/{bundle-vDWY1z2Z.js → bundle-BrAZmQ3O.js} +3 -3
- package/cjs/chunks/bundle-BrAZmQ3O.js.map +1 -0
- package/cjs/chunks/{bundle-eQiz8T6M.js → bundle-BreYBYIV.js} +35 -35
- package/cjs/chunks/{bundle-eQiz8T6M.js.map → bundle-BreYBYIV.js.map} +1 -1
- package/cjs/chunks/{bundle-D8mb0bUY.js → bundle-Buar9ys-.js} +9 -9
- package/cjs/chunks/{bundle-D8mb0bUY.js.map → bundle-Buar9ys-.js.map} +1 -1
- package/cjs/chunks/{bundle-DDkOZQii.js → bundle-Bwhgb7dL.js} +1 -1
- package/cjs/chunks/bundle-Bwhgb7dL.js.map +1 -0
- package/cjs/chunks/{bundle-D9x3No8L.js → bundle-BzJwE_My.js} +97 -78
- package/{chunks/bundle-yJIT2XDk.js.map → cjs/chunks/bundle-BzJwE_My.js.map} +1 -1
- package/cjs/chunks/{bundle-TEBEFl6a.js → bundle-C0QyatLj.js} +6 -6
- package/cjs/chunks/bundle-C0QyatLj.js.map +1 -0
- package/cjs/chunks/{bundle-BJYfQ4s4.js → bundle-C8s_p9Hf.js} +7 -7
- package/cjs/chunks/bundle-C8s_p9Hf.js.map +1 -0
- package/cjs/chunks/{bundle-QaZWYrEC.js → bundle-CArwk_DH.js} +1 -1
- package/cjs/chunks/bundle-CArwk_DH.js.map +1 -0
- package/cjs/chunks/{bundle-DoGdirRr.js → bundle-CBQxHnhS.js} +2 -2
- package/cjs/chunks/{bundle-DoGdirRr.js.map → bundle-CBQxHnhS.js.map} +1 -1
- package/cjs/chunks/{bundle-D3d1xmjt.js → bundle-CID8L5Tq.js} +26 -16
- package/cjs/chunks/bundle-CID8L5Tq.js.map +1 -0
- package/cjs/chunks/{bundle-B4XlG9FO.js → bundle-CIgMOlz1.js} +2 -2
- package/cjs/chunks/bundle-CIgMOlz1.js.map +1 -0
- package/cjs/chunks/{bundle-C29AY54U.js → bundle-CIn5419q.js} +10 -10
- package/cjs/chunks/bundle-CIn5419q.js.map +1 -0
- package/cjs/chunks/{bundle-CPuSTw7t.js → bundle-CXWT21Ur.js} +2 -2
- package/cjs/chunks/bundle-CXWT21Ur.js.map +1 -0
- package/cjs/chunks/{bundle-BffvsF9C.js → bundle-CXeHa80f.js} +4 -4
- package/cjs/chunks/bundle-CXeHa80f.js.map +1 -0
- package/cjs/chunks/{bundle-BeQdqOWX.js → bundle-CZmT_dIf.js} +1 -1
- package/cjs/chunks/bundle-CZmT_dIf.js.map +1 -0
- package/cjs/chunks/{bundle-mPsaH5U9.js → bundle-CdalwlxE.js} +4 -4
- package/cjs/chunks/bundle-CdalwlxE.js.map +1 -0
- package/cjs/chunks/{bundle-UHQZNGhZ.js → bundle-CeCg868O.js} +1 -1
- package/cjs/chunks/bundle-CeCg868O.js.map +1 -0
- package/cjs/chunks/{bundle-B5ue2ic0.js → bundle-CgDPAVTm.js} +4 -4
- package/cjs/chunks/bundle-CgDPAVTm.js.map +1 -0
- package/cjs/chunks/{bundle-Bjb4mIZC.js → bundle-ClT0IexP.js} +4 -4
- package/cjs/chunks/bundle-ClT0IexP.js.map +1 -0
- package/cjs/chunks/{bundle-CDa_AAan.js → bundle-CoU1-PYo.js} +3 -3
- package/cjs/chunks/bundle-CoU1-PYo.js.map +1 -0
- package/cjs/chunks/{bundle-B6wPJMBO.js → bundle-CofqAAwu.js} +9 -9
- package/cjs/chunks/{bundle-B6wPJMBO.js.map → bundle-CofqAAwu.js.map} +1 -1
- package/cjs/chunks/{bundle-CupeqF2S.js → bundle-CsVrpeSa.js} +222 -149
- package/cjs/chunks/bundle-CsVrpeSa.js.map +1 -0
- package/cjs/chunks/{bundle-CNxWQqoS.js → bundle-CskFALvU.js} +24 -6
- package/cjs/chunks/{bundle-CNxWQqoS.js.map → bundle-CskFALvU.js.map} +1 -1
- package/cjs/chunks/{bundle-CuVdJwKh.js → bundle-CtIVPWwX.js} +5 -5
- package/cjs/chunks/bundle-CtIVPWwX.js.map +1 -0
- package/cjs/chunks/{bundle-Cco0Civb.js → bundle-CxHNqGL1.js} +12 -12
- package/cjs/chunks/{bundle-Cco0Civb.js.map → bundle-CxHNqGL1.js.map} +1 -1
- package/cjs/chunks/{bundle-BgLRyBNQ.js → bundle-Czc5a05Q.js} +7 -7
- package/cjs/chunks/bundle-Czc5a05Q.js.map +1 -0
- package/cjs/chunks/bundle-CzhNQgac.js +714 -0
- package/cjs/chunks/bundle-CzhNQgac.js.map +1 -0
- package/cjs/chunks/{bundle-Dwls0-Q0.js → bundle-D-_6Kk3L.js} +6 -2
- package/cjs/chunks/bundle-D-_6Kk3L.js.map +1 -0
- package/cjs/chunks/{bundle-5VhZKYIJ.js → bundle-D4-t2BcI.js} +1 -1
- package/cjs/chunks/bundle-D4-t2BcI.js.map +1 -0
- package/cjs/chunks/{bundle-CCpd42nC.js → bundle-D4QmbyQp.js} +2 -2
- package/cjs/chunks/bundle-D4QmbyQp.js.map +1 -0
- package/cjs/chunks/{bundle-D64wX3ZA.js → bundle-D5X7fpcq.js} +2 -4
- package/cjs/chunks/bundle-D5X7fpcq.js.map +1 -0
- package/cjs/chunks/{bundle-Czw_qpiM.js → bundle-D8gpRIxO.js} +1 -1
- package/cjs/chunks/bundle-D8gpRIxO.js.map +1 -0
- package/cjs/chunks/{bundle-8rTW0vfg.js → bundle-DDUAkmTu.js} +1 -1
- package/cjs/chunks/bundle-DDUAkmTu.js.map +1 -0
- package/cjs/chunks/{bundle-Cc0re38P.js → bundle-DEaaC1ah.js} +1 -1
- package/cjs/chunks/bundle-DEaaC1ah.js.map +1 -0
- package/cjs/chunks/{bundle-AHixe4ku.js → bundle-DGYb2_L_.js} +6 -6
- package/cjs/chunks/bundle-DGYb2_L_.js.map +1 -0
- package/cjs/chunks/{bundle-D34myP8B.js → bundle-DHLpqx03.js} +8 -8
- package/cjs/chunks/bundle-DHLpqx03.js.map +1 -0
- package/cjs/chunks/{bundle-BNq5tPbD.js → bundle-DHOzCMYH.js} +61 -16
- package/cjs/chunks/bundle-DHOzCMYH.js.map +1 -0
- package/cjs/chunks/{bundle-Dr8s7l1j.js → bundle-DKZYkV6h.js} +4 -4
- package/cjs/chunks/bundle-DKZYkV6h.js.map +1 -0
- package/cjs/chunks/{bundle-Bpc04WVm.js → bundle-DS7dko_G.js} +1 -1
- package/cjs/chunks/{bundle-Bpc04WVm.js.map → bundle-DS7dko_G.js.map} +1 -1
- package/cjs/chunks/{bundle-B5DI1itX.js → bundle-DUmpUM6Z.js} +1 -1
- package/cjs/chunks/bundle-DUmpUM6Z.js.map +1 -0
- package/cjs/chunks/{bundle-Dz379Vmq.js → bundle-DZN-28o5.js} +1 -1
- package/cjs/chunks/bundle-DZN-28o5.js.map +1 -0
- package/cjs/chunks/{bundle-DmR0_slE.js → bundle-DaeRuO3M.js} +77 -47
- package/cjs/chunks/bundle-DaeRuO3M.js.map +1 -0
- package/cjs/chunks/{bundle-BE_0v0fP.js → bundle-DgHpd49A.js} +9 -11
- package/cjs/chunks/bundle-DgHpd49A.js.map +1 -0
- package/cjs/chunks/{bundle-Dr1OK02d.js → bundle-DnOJJX7f.js} +1 -1
- package/cjs/chunks/bundle-DnOJJX7f.js.map +1 -0
- package/cjs/chunks/{bundle-U6Y2jYcy.js → bundle-DogWmRlf.js} +33 -22
- package/{chunks/bundle-C5JanUlq.js.map → cjs/chunks/bundle-DogWmRlf.js.map} +1 -1
- package/cjs/chunks/{bundle-BVWhTr3J.js → bundle-Dqt-Moft.js} +1 -1
- package/cjs/chunks/bundle-Dqt-Moft.js.map +1 -0
- package/cjs/chunks/bundle-DvHjgbFi.js +7 -0
- package/cjs/chunks/bundle-DvHjgbFi.js.map +1 -0
- package/cjs/chunks/{bundle-DTcOyI0C.js → bundle-DwLWArJq.js} +2 -2
- package/cjs/chunks/bundle-DwLWArJq.js.map +1 -0
- package/cjs/chunks/{bundle-BPerQ7Nn.js → bundle-DxZzcGya.js} +3 -3
- package/{chunks/bundle-D4as5hKh.js.map → cjs/chunks/bundle-DxZzcGya.js.map} +1 -1
- package/cjs/chunks/{bundle-VjeTD0aT.js → bundle-FGb-8cIo.js} +14 -14
- package/cjs/chunks/bundle-FGb-8cIo.js.map +1 -0
- package/cjs/chunks/{bundle-lblAS-IJ.js → bundle-FVds7Nnw.js} +7 -7
- package/cjs/chunks/bundle-FVds7Nnw.js.map +1 -0
- package/cjs/chunks/bundle-Hqqb920S.js +120 -0
- package/cjs/chunks/bundle-Hqqb920S.js.map +1 -0
- package/cjs/chunks/{bundle-BcQ3ko6U.js → bundle-IobNGCyV.js} +3 -3
- package/cjs/chunks/bundle-IobNGCyV.js.map +1 -0
- package/cjs/chunks/{bundle-BleSzbM_.js → bundle-Iy7lVhfX.js} +20 -18
- package/cjs/chunks/bundle-Iy7lVhfX.js.map +1 -0
- package/cjs/chunks/{bundle-8fa3LqxP.js → bundle-Lc8Xpc4e.js} +1 -1
- package/cjs/chunks/bundle-Lc8Xpc4e.js.map +1 -0
- package/cjs/chunks/{bundle-DMG2AtFE.js → bundle-SlJSIlpP.js} +9 -9
- package/cjs/chunks/{bundle-DMG2AtFE.js.map → bundle-SlJSIlpP.js.map} +1 -1
- package/cjs/chunks/{bundle-Cj4QTkbo.js → bundle-_yh4eC6v.js} +8 -8
- package/{chunks/bundle-B_1lMJw7.js.map → cjs/chunks/bundle-_yh4eC6v.js.map} +1 -1
- package/cjs/chunks/{bundle-Dd2G9BuN.js → bundle-bmGcb273.js} +5 -5
- package/cjs/chunks/bundle-bmGcb273.js.map +1 -0
- package/cjs/chunks/{bundle--OptrnnH.js → bundle-btgMGRIX.js} +5 -5
- package/cjs/chunks/bundle-btgMGRIX.js.map +1 -0
- package/cjs/chunks/bundle-gKWdBSmm.js +163 -0
- package/cjs/chunks/bundle-gKWdBSmm.js.map +1 -0
- package/cjs/chunks/{bundle-Cm6xW6b-.js → bundle-iF1pW7_s.js} +2 -2
- package/cjs/chunks/bundle-iF1pW7_s.js.map +1 -0
- package/cjs/chunks/{bundle-DCE4aPIh.js → bundle-iWa9rWFV.js} +17 -8
- package/cjs/chunks/bundle-iWa9rWFV.js.map +1 -0
- package/cjs/chunks/{bundle-BO7CCDGO.js → bundle-iwIElqGP.js} +2 -2
- package/{chunks/bundle-CX6EYwvX.js.map → cjs/chunks/bundle-iwIElqGP.js.map} +1 -1
- package/cjs/chunks/{bundle-DXxZOPH7.js → bundle-jAsAzWpU.js} +1 -1
- package/cjs/chunks/{bundle-BE_0v0fP.js.map → bundle-jAsAzWpU.js.map} +1 -1
- package/cjs/chunks/{bundle-BI-qtSLE.js → bundle-mNJHRgJ3.js} +1 -1
- package/cjs/chunks/bundle-mNJHRgJ3.js.map +1 -0
- package/cjs/chunks/{bundle-DNRo8vQ6.js → bundle-mOGMtPz8.js} +1 -1
- package/cjs/chunks/bundle-mOGMtPz8.js.map +1 -0
- package/cjs/chunks/{bundle-6XexheFI.js → bundle-mVBmPsCD.js} +37 -37
- package/cjs/chunks/{bundle-6XexheFI.js.map → bundle-mVBmPsCD.js.map} +1 -1
- package/cjs/chunks/{bundle-BGGRSN-Z.js → bundle-npZxEXNX.js} +11 -11
- package/cjs/chunks/{bundle-BGGRSN-Z.js.map → bundle-npZxEXNX.js.map} +1 -1
- package/cjs/chunks/{bundle-BL3oBZ_9.js → bundle-on0zTbLT.js} +24 -28
- package/cjs/chunks/bundle-on0zTbLT.js.map +1 -0
- package/cjs/chunks/{bundle-DqS61Vd8.js → bundle-y79foBWw.js} +7 -7
- package/cjs/chunks/bundle-y79foBWw.js.map +1 -0
- package/cjs/hooks/useConnectionState.js +5 -5
- package/cjs/hooks/useLocalization.js +4 -4
- package/cjs/hooks/useModal.js +13 -13
- package/cjs/index.js +95 -93
- package/cjs/index.js.map +1 -1
- package/cjs/lame.all.js +1 -1
- package/cjs/lame.all.js.map +1 -1
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/ui/Accordion.js +2 -2
- package/cjs/ui/AccordionGroup.js +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 +13 -13
- 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 +14 -14
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +23 -23
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +10 -10
- package/cjs/ui/FileMessageItemBody.js +13 -13
- package/cjs/ui/FileViewer.js +19 -20
- package/cjs/ui/FileViewer.js.map +1 -1
- package/cjs/ui/Header.js +10 -10
- package/cjs/ui/Icon.js +2 -2
- package/cjs/ui/Icon.js.map +1 -1
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +2 -2
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +3 -3
- package/cjs/ui/LinkLabel.js +4 -4
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +2 -2
- package/cjs/ui/MentionLabel.js +19 -19
- package/cjs/ui/MentionUserLabel.js +2 -2
- package/cjs/ui/MessageContent.js +42 -42
- package/cjs/ui/MessageFeedbackFailedModal.js +13 -13
- package/cjs/ui/MessageFeedbackModal.js +13 -13
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +26 -467
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +15 -15
- package/cjs/ui/MessageItemReactionMenu.js +16 -16
- package/cjs/ui/MessageMenu.js +16 -16
- package/cjs/ui/MessageSearchFileItem.js +25 -25
- package/cjs/ui/MessageSearchItem.js +12 -12
- package/cjs/ui/MessageStatus.js +15 -15
- package/cjs/ui/MessageTemplate.js +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +13 -13
- package/cjs/ui/MobileMenu.js +18 -18
- package/cjs/ui/Modal.js +12 -12
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +23 -23
- 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 +25 -25
- package/cjs/ui/OpenchannelOGMessage.js +28 -28
- package/cjs/ui/OpenchannelThumbnailMessage.js +24 -24
- package/cjs/ui/OpenchannelUserMessage.js +26 -26
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/ProgressBar.js +1 -1
- package/cjs/ui/QuoteMessage.js +12 -12
- package/cjs/ui/QuoteMessageInput.js +12 -12
- 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 +14 -14
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +22 -22
- package/cjs/ui/ThreadReplies.js +12 -12
- package/cjs/ui/ThumbnailMessageItemBody.js +10 -10
- package/cjs/ui/Toggle.js +4 -4
- 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 +10 -10
- package/cjs/ui/UserListItem.js +19 -19
- package/cjs/ui/UserListItemMenu.js +16 -16
- package/cjs/ui/UserProfile.js +13 -13
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +14 -14
- package/cjs/ui/Word.js +19 -19
- package/cjs/useSendbirdStateContext.js +4 -4
- package/cjs/utils/message/isVoiceMessage.js +6 -6
- package/cjs/withSendbird.js +24 -24
- package/dist/index.css +320 -2
- package/hooks/useConnectionState.js +5 -5
- package/hooks/useLocalization.js +4 -4
- package/hooks/useModal.js +15 -15
- package/index.js +95 -93
- package/index.js.map +1 -1
- package/lame.all.js +1 -1
- package/lame.all.js.map +1 -1
- package/package.json +2 -2
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/hooks/VoicePlayer/index.d.ts +1 -0
- package/types/hooks/useTypingLifecycle.d.ts +21 -0
- package/types/lib/Sendbird/utils.d.ts +4 -3
- package/types/modules/Channel/context/hooks/useHandleUploadFiles.d.ts +2 -1
- package/types/modules/GroupChannel/components/MessageInputWrapper/useHandleUploadFiles.d.ts +2 -1
- package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +1 -1
- package/types/modules/Thread/context/ThreadProvider.d.ts +3 -2
- package/types/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +1 -0
- package/types/modules/Thread/context/useThread.d.ts +3 -2
- package/types/ui/Label/stringSet.d.ts +4 -0
- package/types/ui/MessageInput/composer/PendingFileCard.d.ts +14 -0
- package/types/ui/MessageInput/composer/PendingFileItem.d.ts +13 -0
- package/types/ui/MessageInput/composer/PendingFilesPreview.d.ts +9 -0
- package/types/ui/MessageInput/hooks/useDragAndDrop.d.ts +25 -0
- package/types/ui/MessageInput/hooks/usePaste/index.d.ts +1 -1
- package/types/ui/MessageInput/hooks/usePaste/types.d.ts +5 -0
- package/types/ui/MessageInput/hooks/usePendingFiles.d.ts +35 -0
- package/types/ui/MessageInput/index.d.ts +33 -0
- package/types/ui/MessageInput/utils.d.ts +2 -0
- package/types/utils/fileValidation.d.ts +62 -0
- package/types/utils/index.d.ts +1 -0
- package/types/utils/truncateMiddleKeepExtension.d.ts +20 -0
- package/ui/Accordion.js +2 -2
- package/ui/AccordionGroup.js +1 -1
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +13 -13
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +6 -6
- package/ui/ConnectionStatus.js +7 -7
- package/ui/ContextMenu.js +14 -14
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +24 -24
- package/ui/FallbackTemplateMessageItemBody.tsx.js +10 -10
- package/ui/FileMessageItemBody.js +14 -14
- package/ui/FileViewer.js +20 -21
- package/ui/FileViewer.js.map +1 -1
- package/ui/Header.js +6 -6
- package/ui/Icon.js +2 -2
- package/ui/Icon.js.map +1 -1
- package/ui/IconButton.js +1 -1
- package/ui/ImageRenderer.js +2 -2
- package/ui/Input.js +3 -3
- package/ui/Label.js +3 -3
- package/ui/LinkLabel.js +4 -4
- package/ui/Loader.js +2 -2
- package/ui/LoadingTemplateMessageItemBody.tsx.js +3 -3
- package/ui/MentionLabel.js +19 -19
- package/ui/MentionUserLabel.js +2 -2
- package/ui/MessageContent.js +42 -42
- package/ui/MessageFeedbackFailedModal.js +13 -13
- package/ui/MessageFeedbackModal.js +13 -13
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +25 -466
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +16 -16
- package/ui/MessageItemReactionMenu.js +17 -17
- package/ui/MessageMenu.js +16 -16
- package/ui/MessageSearchFileItem.js +17 -17
- package/ui/MessageSearchItem.js +12 -12
- package/ui/MessageStatus.js +15 -15
- package/ui/MessageTemplate.js +1 -1
- package/ui/MobileFeedbackMenu.js +13 -13
- package/ui/MobileMenu.js +19 -19
- package/ui/Modal.js +12 -12
- package/ui/MutedAvatarOverlay.js +3 -3
- package/ui/OGMessageItemBody.js +23 -23
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +8 -8
- package/ui/OpenchannelConversationHeader.js +9 -9
- package/ui/OpenchannelFileMessage.js +25 -25
- package/ui/OpenchannelOGMessage.js +29 -29
- package/ui/OpenchannelThumbnailMessage.js +24 -24
- package/ui/OpenchannelUserMessage.js +27 -27
- package/ui/PlaceHolder.js +7 -7
- package/ui/PlaybackTime.js +3 -3
- package/ui/ProgressBar.js +1 -1
- package/ui/QuoteMessage.js +13 -13
- package/ui/QuoteMessageInput.js +13 -13
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TemplateMessageItemBody.js +14 -14
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +22 -22
- package/ui/ThreadReplies.js +9 -9
- package/ui/ThumbnailMessageItemBody.js +11 -11
- package/ui/Toggle.js +4 -4
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +4 -4
- package/ui/UnknownMessageItemBody.js +10 -10
- package/ui/UserListItem.js +19 -19
- package/ui/UserListItemMenu.js +17 -17
- package/ui/UserProfile.js +13 -13
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +15 -15
- package/ui/Word.js +19 -19
- package/useSendbirdStateContext.js +4 -4
- package/utils/message/isVoiceMessage.js +6 -6
- package/withSendbird.js +24 -24
- package/chunks/bundle-0zReDi7b.js.map +0 -1
- package/chunks/bundle-3JP5bt3Z.js.map +0 -1
- package/chunks/bundle-4FHXjC0T.js.map +0 -1
- package/chunks/bundle-B07oZGKu.js.map +0 -1
- package/chunks/bundle-B5yOEM4l.js.map +0 -1
- package/chunks/bundle-B7yb0nm6.js +0 -4
- package/chunks/bundle-B7yb0nm6.js.map +0 -1
- package/chunks/bundle-BDaOve18.js.map +0 -1
- package/chunks/bundle-BE6zj_MW.js.map +0 -1
- package/chunks/bundle-BMMEMc9R.js.map +0 -1
- package/chunks/bundle-BdqzVlr4.js.map +0 -1
- package/chunks/bundle-BrZWYj5G.js.map +0 -1
- package/chunks/bundle-C5IAP1zO.js.map +0 -1
- package/chunks/bundle-C7rLZX4P.js.map +0 -1
- package/chunks/bundle-CBhbbqeO.js.map +0 -1
- package/chunks/bundle-CC_Jz6mm.js.map +0 -1
- package/chunks/bundle-CD6CGxYu.js.map +0 -1
- package/chunks/bundle-CE8XZeIa.js.map +0 -1
- package/chunks/bundle-CH1SOYd0.js.map +0 -1
- package/chunks/bundle-CQJQkdjB.js.map +0 -1
- package/chunks/bundle-CTBJyV2C.js.map +0 -1
- package/chunks/bundle-CTVS7EpI.js.map +0 -1
- package/chunks/bundle-CTZdxGd-.js.map +0 -1
- package/chunks/bundle-CWhu5cnC.js.map +0 -1
- package/chunks/bundle-CdzKrMjw.js.map +0 -1
- package/chunks/bundle-CeLEEyFJ.js.map +0 -1
- package/chunks/bundle-CfGa1Ywx.js.map +0 -1
- package/chunks/bundle-CgAh8D8l.js.map +0 -1
- package/chunks/bundle-CjCG01vR.js.map +0 -1
- package/chunks/bundle-CmTULFbc.js.map +0 -1
- package/chunks/bundle-Cq01dsQs.js.map +0 -1
- package/chunks/bundle-D1MmNbfE.js.map +0 -1
- package/chunks/bundle-D3DfLeep.js.map +0 -1
- package/chunks/bundle-D67XuNKa.js.map +0 -1
- package/chunks/bundle-D8iL7lya.js.map +0 -1
- package/chunks/bundle-DCbF_EZ6.js.map +0 -1
- package/chunks/bundle-DCwgKOlw.js.map +0 -1
- package/chunks/bundle-DGZK0j-W.js.map +0 -1
- package/chunks/bundle-DKmGgarH.js.map +0 -1
- package/chunks/bundle-DNZm2aCn.js.map +0 -1
- package/chunks/bundle-DPFUYsH2.js.map +0 -1
- package/chunks/bundle-DUhFIvq0.js.map +0 -1
- package/chunks/bundle-DYbMoqiD.js.map +0 -1
- package/chunks/bundle-DajAePTd.js.map +0 -1
- package/chunks/bundle-DdGdUttq.js.map +0 -1
- package/chunks/bundle-DiKiLU8g.js.map +0 -1
- package/chunks/bundle-DmoshxdI.js.map +0 -1
- package/chunks/bundle-DoCZ7Yns.js.map +0 -1
- package/chunks/bundle-Dtcjhm7e.js.map +0 -1
- package/chunks/bundle-DvFk9hZu.js.map +0 -1
- package/chunks/bundle-K4xHiJfN.js.map +0 -1
- package/chunks/bundle-LKiKEQMD.js.map +0 -1
- package/chunks/bundle-MfWZwGxM.js.map +0 -1
- package/chunks/bundle-NRNsjiKk.js.map +0 -1
- package/chunks/bundle-QqMAlWsP.js.map +0 -1
- package/chunks/bundle-deCJFaXg.js.map +0 -1
- package/cjs/chunks/bundle--OptrnnH.js.map +0 -1
- package/cjs/chunks/bundle-2_6pbUrU.js.map +0 -1
- package/cjs/chunks/bundle-5VhZKYIJ.js.map +0 -1
- package/cjs/chunks/bundle-8fa3LqxP.js.map +0 -1
- package/cjs/chunks/bundle-8rTW0vfg.js.map +0 -1
- package/cjs/chunks/bundle-99j0pbE6.js.map +0 -1
- package/cjs/chunks/bundle-AHixe4ku.js.map +0 -1
- package/cjs/chunks/bundle-B4XlG9FO.js.map +0 -1
- package/cjs/chunks/bundle-B5DI1itX.js.map +0 -1
- package/cjs/chunks/bundle-B5ue2ic0.js.map +0 -1
- package/cjs/chunks/bundle-B7RDGS3d.js.map +0 -1
- package/cjs/chunks/bundle-BI-qtSLE.js.map +0 -1
- package/cjs/chunks/bundle-BJYfQ4s4.js.map +0 -1
- package/cjs/chunks/bundle-BL3oBZ_9.js.map +0 -1
- package/cjs/chunks/bundle-BL5M4yXI.js.map +0 -1
- package/cjs/chunks/bundle-BM_oajIx.js.map +0 -1
- package/cjs/chunks/bundle-BNq5tPbD.js.map +0 -1
- package/cjs/chunks/bundle-BO7CCDGO.js.map +0 -1
- package/cjs/chunks/bundle-BQFjw5g0.js.map +0 -1
- package/cjs/chunks/bundle-BVWhTr3J.js.map +0 -1
- package/cjs/chunks/bundle-BcQ3ko6U.js.map +0 -1
- package/cjs/chunks/bundle-BeQdqOWX.js.map +0 -1
- package/cjs/chunks/bundle-BffvsF9C.js.map +0 -1
- package/cjs/chunks/bundle-BgLRyBNQ.js.map +0 -1
- package/cjs/chunks/bundle-Bjb4mIZC.js.map +0 -1
- package/cjs/chunks/bundle-BleSzbM_.js.map +0 -1
- package/cjs/chunks/bundle-BwsikcS8.js.map +0 -1
- package/cjs/chunks/bundle-C29AY54U.js.map +0 -1
- package/cjs/chunks/bundle-C6JU7bHv.js +0 -7
- package/cjs/chunks/bundle-C6JU7bHv.js.map +0 -1
- package/cjs/chunks/bundle-CCWL4_Bj.js.map +0 -1
- package/cjs/chunks/bundle-CCpd42nC.js.map +0 -1
- package/cjs/chunks/bundle-CDa_AAan.js.map +0 -1
- package/cjs/chunks/bundle-CE-VoGP-.js.map +0 -1
- package/cjs/chunks/bundle-CPuSTw7t.js.map +0 -1
- package/cjs/chunks/bundle-Cc0re38P.js.map +0 -1
- package/cjs/chunks/bundle-CdZGTXx9.js.map +0 -1
- package/cjs/chunks/bundle-Cm6xW6b-.js.map +0 -1
- package/cjs/chunks/bundle-CnoOxWnY.js.map +0 -1
- package/cjs/chunks/bundle-CuVdJwKh.js.map +0 -1
- package/cjs/chunks/bundle-CupeqF2S.js.map +0 -1
- package/cjs/chunks/bundle-Czw_qpiM.js.map +0 -1
- package/cjs/chunks/bundle-D34myP8B.js.map +0 -1
- package/cjs/chunks/bundle-D64wX3ZA.js.map +0 -1
- package/cjs/chunks/bundle-D9Wy18VM.js.map +0 -1
- package/cjs/chunks/bundle-DDkOZQii.js.map +0 -1
- package/cjs/chunks/bundle-DFv16RSR.js.map +0 -1
- package/cjs/chunks/bundle-DNRo8vQ6.js.map +0 -1
- package/cjs/chunks/bundle-DTcOyI0C.js.map +0 -1
- package/cjs/chunks/bundle-DXxZOPH7.js.map +0 -1
- package/cjs/chunks/bundle-Dd2G9BuN.js.map +0 -1
- package/cjs/chunks/bundle-DqS61Vd8.js.map +0 -1
- package/cjs/chunks/bundle-DqSg-zio.js.map +0 -1
- package/cjs/chunks/bundle-Dr1OK02d.js.map +0 -1
- package/cjs/chunks/bundle-Dr8s7l1j.js.map +0 -1
- package/cjs/chunks/bundle-DvYB_ALf.js.map +0 -1
- package/cjs/chunks/bundle-Dwls0-Q0.js.map +0 -1
- package/cjs/chunks/bundle-Dz379Vmq.js.map +0 -1
- package/cjs/chunks/bundle-QaZWYrEC.js.map +0 -1
- package/cjs/chunks/bundle-TEBEFl6a.js.map +0 -1
- package/cjs/chunks/bundle-UHQZNGhZ.js.map +0 -1
- package/cjs/chunks/bundle-VjeTD0aT.js.map +0 -1
- package/cjs/chunks/bundle-cTlYBGMg.js.map +0 -1
- package/cjs/chunks/bundle-cWZTmuuh.js.map +0 -1
- package/cjs/chunks/bundle-lblAS-IJ.js.map +0 -1
- package/cjs/chunks/bundle-mPsaH5U9.js.map +0 -1
- package/cjs/chunks/bundle-oeZ9Mu_e.js.map +0 -1
- package/cjs/chunks/bundle-vDWY1z2Z.js.map +0 -1
package/ui/MessageInput.js
CHANGED
|
@@ -1,472 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
1
|
+
import '../chunks/bundle-Bpofr334.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import '../chunks/bundle-BEPoP7sp.js';
|
|
4
|
+
import '../chunks/bundle-CFc2hy8g.js';
|
|
5
|
+
import './IconButton.js';
|
|
6
|
+
import './Button.js';
|
|
7
|
+
import '../chunks/bundle-C5-D2BAP.js';
|
|
8
|
+
import './Icon.js';
|
|
9
|
+
import '../chunks/bundle-Cdplrrlw.js';
|
|
10
|
+
import '../chunks/bundle-Cdqsdoa8.js';
|
|
11
|
+
import '../chunks/bundle-BZSLsKkw.js';
|
|
12
|
+
export { M as default } from '../chunks/bundle-BCjR1Qiq.js';
|
|
13
|
+
import '../chunks/bundle-EKFQIahk.js';
|
|
14
|
+
import '../chunks/bundle-DX6fRIJl.js';
|
|
15
|
+
import '../chunks/bundle-CglqREVl.js';
|
|
16
|
+
import '../chunks/bundle-4clodtJA.js';
|
|
17
|
+
import '../chunks/bundle-oM0Fxt9G.js';
|
|
17
18
|
import 'dompurify';
|
|
18
|
-
import '../chunks/bundle-
|
|
19
|
-
import '../chunks/bundle-
|
|
20
|
-
import '../chunks/bundle-
|
|
21
|
-
import '../chunks/bundle-
|
|
22
|
-
import '../chunks/bundle-BPR5PyGX.js';
|
|
19
|
+
import '../chunks/bundle-6I0gJidJ.js';
|
|
20
|
+
import '../chunks/bundle-B40pTdZv.js';
|
|
21
|
+
import '../chunks/bundle-iPLJ9a5J.js';
|
|
22
|
+
import '../chunks/bundle-DmnXeBdU.js';
|
|
23
23
|
import '@sendbird/chat/groupChannel';
|
|
24
24
|
import '../utils/message/getOutgoingMessageState.js';
|
|
25
|
-
import '../chunks/bundle-
|
|
26
|
-
import '../chunks/bundle-
|
|
27
|
-
import '../chunks/bundle-
|
|
25
|
+
import '../chunks/bundle-lqEjT2ED.js';
|
|
26
|
+
import '../chunks/bundle-BqKoZDqX.js';
|
|
27
|
+
import '../chunks/bundle-JhKiWlXT.js';
|
|
28
|
+
import '../chunks/bundle-B56O1y8C.js';
|
|
28
29
|
import '@sendbird/chat';
|
|
29
30
|
import '@sendbird/chat/openChannel';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* FIXME:
|
|
33
|
-
* Import this ChannelType enum from @sendbird/chat
|
|
34
|
-
* once MessageInput.spec unit tests can be run \wo jest <-> ESM issue
|
|
35
|
-
*/
|
|
36
|
-
var ChannelType;
|
|
37
|
-
(function (ChannelType) {
|
|
38
|
-
ChannelType["BASE"] = "base";
|
|
39
|
-
ChannelType["GROUP"] = "group";
|
|
40
|
-
ChannelType["OPEN"] = "open";
|
|
41
|
-
})(ChannelType || (ChannelType = {}));
|
|
42
|
-
/**
|
|
43
|
-
* FIXME: Simplify this in UIKit@v4
|
|
44
|
-
* If customer is using MessageInput inside our modules(ie: Channel, Thread, etc),
|
|
45
|
-
* we should use the config from the module.
|
|
46
|
-
* If customer is using MessageInput outside our modules(ie: custom UI),
|
|
47
|
-
* we expect Channel to be undefined and customer gets control to show/hide file-upload.
|
|
48
|
-
* @param {*} channel GroupChannel | OpenChannel
|
|
49
|
-
* @param {*} config SendbirdStateConfig
|
|
50
|
-
* @returns boolean
|
|
51
|
-
*/
|
|
52
|
-
var checkIfFileUploadEnabled = function (_a) {
|
|
53
|
-
var channel = _a.channel, config = _a.config;
|
|
54
|
-
var isEnabled = K(channel === null || channel === void 0 ? void 0 : channel.channelType)
|
|
55
|
-
.with(ChannelType.GROUP, function () { var _a; return (_a = config === null || config === void 0 ? void 0 : config.groupChannel) === null || _a === void 0 ? void 0 : _a.enableDocument; })
|
|
56
|
-
.with(ChannelType.OPEN, function () { var _a; return (_a = config === null || config === void 0 ? void 0 : config.openChannel) === null || _a === void 0 ? void 0 : _a.enableDocument; })
|
|
57
|
-
.otherwise(function () { return true; });
|
|
58
|
-
return isEnabled;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
var TEXT_FIELD_ID = 'sendbird-message-input-text-field';
|
|
62
|
-
var noop = function () {
|
|
63
|
-
return null;
|
|
64
|
-
};
|
|
65
|
-
var resetInput = function (ref) {
|
|
66
|
-
if (ref && ref.current) {
|
|
67
|
-
ref.current.innerHTML = '';
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
var initialTargetStringInfo = {
|
|
71
|
-
targetString: '',
|
|
72
|
-
startNodeIndex: null,
|
|
73
|
-
startOffsetIndex: null,
|
|
74
|
-
endNodeIndex: null,
|
|
75
|
-
endOffsetIndex: null,
|
|
76
|
-
};
|
|
77
|
-
var MessageInput = React__default.forwardRef(function (props, externalRef) {
|
|
78
|
-
var _a, _b, _c, _d, _e;
|
|
79
|
-
var channel = props.channel, _f = props.className, className = _f === void 0 ? '' : _f, _g = props.messageFieldId, messageFieldId = _g === void 0 ? '' : _g, _h = props.isEdit, isEdit = _h === void 0 ? false : _h, _j = props.isMobile, isMobile = _j === void 0 ? false : _j, _k = props.isMentionEnabled, isMentionEnabled = _k === void 0 ? false : _k, _l = props.isVoiceMessageEnabled, isVoiceMessageEnabled = _l === void 0 ? true : _l, _m = props.isSelectingMultipleFilesEnabled, isSelectingMultipleFilesEnabled = _m === void 0 ? false : _m, _o = props.disabled, disabled = _o === void 0 ? false : _o, _p = props.message, message = _p === void 0 ? null : _p, _q = props.placeholder, placeholder = _q === void 0 ? '' : _q, _r = props.maxLength, maxLength = _r === void 0 ? 5000 : _r, _s = props.onFileUpload, onFileUpload = _s === void 0 ? noop : _s, _t = props.onSendMessage, onSendMessage = _t === void 0 ? noop : _t, _u = props.onUpdateMessage, onUpdateMessage = _u === void 0 ? noop : _u, _v = props.onCancelEdit, onCancelEdit = _v === void 0 ? noop : _v, _w = props.onStartTyping, onStartTyping = _w === void 0 ? noop : _w, _x = props.channelUrl, channelUrl = _x === void 0 ? '' : _x, _y = props.mentionSelectedUser, mentionSelectedUser = _y === void 0 ? null : _y, _z = props.onUserMentioned, onUserMentioned = _z === void 0 ? noop : _z, _0 = props.onMentionStringChange, onMentionStringChange = _0 === void 0 ? noop : _0, _1 = props.onMentionedUserIdsUpdated, onMentionedUserIdsUpdated = _1 === void 0 ? noop : _1, _2 = props.onVoiceMessageIconClick, onVoiceMessageIconClick = _2 === void 0 ? noop : _2, _3 = props.onKeyUp, onKeyUp = _3 === void 0 ? noop : _3, _4 = props.onKeyDown, onKeyDown = _4 === void 0 ? noop : _4, _5 = props.renderFileUploadIcon, renderFileUploadIcon = _5 === void 0 ? noop : _5, _6 = props.renderVoiceMessageIcon, renderVoiceMessageIcon = _6 === void 0 ? noop : _6, _7 = props.renderSendMessageIcon, renderSendMessageIcon = _7 === void 0 ? noop : _7, _8 = props.setMentionedUsers, setMentionedUsers = _8 === void 0 ? noop : _8, acceptableMimeTypes = props.acceptableMimeTypes;
|
|
80
|
-
var internalRef = (externalRef && 'current' in externalRef) ? externalRef : useRef(null);
|
|
81
|
-
var ghostInputRef = useRef(null);
|
|
82
|
-
var textFieldId = messageFieldId || TEXT_FIELD_ID;
|
|
83
|
-
var stringSet = useLocalization().stringSet;
|
|
84
|
-
var _9 = useSendbird().state, config = _9.config, eventHandlers = _9.eventHandlers;
|
|
85
|
-
var isFileUploadEnabled = checkIfFileUploadEnabled({
|
|
86
|
-
channel: channel,
|
|
87
|
-
config: config,
|
|
88
|
-
});
|
|
89
|
-
var fileInputRef = useRef();
|
|
90
|
-
var _10 = useState(false), isInput = _10[0], setIsInput = _10[1];
|
|
91
|
-
var _11 = useState([]), mentionedUserIds = _11[0], setMentionedUserIds = _11[1];
|
|
92
|
-
var _12 = useState(__assign({}, initialTargetStringInfo)), targetStringInfo = _12[0], setTargetStringInfo = _12[1];
|
|
93
|
-
// #Edit mode
|
|
94
|
-
// for easily initialize input value from outside, but
|
|
95
|
-
// useEffect(_, [channelUrl]) erase it
|
|
96
|
-
var initialValue = props === null || props === void 0 ? void 0 : props.value;
|
|
97
|
-
useEffect(function () {
|
|
98
|
-
var textField = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current;
|
|
99
|
-
setMentionedUserIds([]);
|
|
100
|
-
setIsInput((textField === null || textField === void 0 ? void 0 : textField.textContent) ? textField.textContent.trim().length > 0 : false);
|
|
101
|
-
}, [initialValue]);
|
|
102
|
-
// #Mention | Clear input value when channel changes
|
|
103
|
-
useEffect(function () {
|
|
104
|
-
if (!isEdit) {
|
|
105
|
-
setIsInput(false);
|
|
106
|
-
resetInput(internalRef);
|
|
107
|
-
}
|
|
108
|
-
}, [channelUrl]);
|
|
109
|
-
// #Mention & #Edit | Fill message input values
|
|
110
|
-
useEffect(function () {
|
|
111
|
-
var _a, _b;
|
|
112
|
-
if (isEdit && (message === null || message === void 0 ? void 0 : message.messageId)) {
|
|
113
|
-
// const textField = document.getElementById(textFieldId);
|
|
114
|
-
var textField = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current;
|
|
115
|
-
if (isMentionEnabled
|
|
116
|
-
&& (message === null || message === void 0 ? void 0 : message.mentionedUsers)
|
|
117
|
-
&& message.mentionedUsers.length > 0
|
|
118
|
-
&& (message === null || message === void 0 ? void 0 : message.mentionedMessageTemplate)
|
|
119
|
-
&& message.mentionedMessageTemplate.length > 0) {
|
|
120
|
-
/* mention enabled */
|
|
121
|
-
var _c = message.mentionedUsers, mentionedUsers_1 = _c === void 0 ? [] : _c;
|
|
122
|
-
var tokens = tokenizeMessage({
|
|
123
|
-
messageText: message === null || message === void 0 ? void 0 : message.mentionedMessageTemplate,
|
|
124
|
-
mentionedUsers: mentionedUsers_1,
|
|
125
|
-
includeMarkdown: channel.isGroupChannel() && config.groupChannel.enableMarkdownForUserMessage,
|
|
126
|
-
});
|
|
127
|
-
if (textField) {
|
|
128
|
-
textField.innerHTML = tokens
|
|
129
|
-
.map(function (token) {
|
|
130
|
-
if (token.type === TOKEN_TYPES.mention) {
|
|
131
|
-
var mentionedUser = mentionedUsers_1.find(function (user) { return user.userId === token.userId; });
|
|
132
|
-
var nickname = "".concat(USER_MENTION_PREFIX).concat((mentionedUser === null || mentionedUser === void 0 ? void 0 : mentionedUser.nickname) || token.value || stringSet.MENTION_NAME__NO_NAME);
|
|
133
|
-
return renderToString({
|
|
134
|
-
userId: token.userId,
|
|
135
|
-
nickname: nickname,
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
return sanitizeString(token.value);
|
|
139
|
-
})
|
|
140
|
-
.join('');
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
else {
|
|
144
|
-
/* mention disabled */
|
|
145
|
-
try {
|
|
146
|
-
if (textField) {
|
|
147
|
-
textField.innerHTML = (_a = sanitizeString(message === null || message === void 0 ? void 0 : message.message)) !== null && _a !== void 0 ? _a : '';
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
catch (_d) {
|
|
151
|
-
//
|
|
152
|
-
}
|
|
153
|
-
setMentionedUserIds([]);
|
|
154
|
-
}
|
|
155
|
-
setIsInput((textField === null || textField === void 0 ? void 0 : textField.textContent) ? ((_b = textField === null || textField === void 0 ? void 0 : textField.textContent) === null || _b === void 0 ? void 0 : _b.trim().length) > 0 : false);
|
|
156
|
-
}
|
|
157
|
-
}, [isEdit, message]);
|
|
158
|
-
// #Mention | Detect MentionedLabel modified
|
|
159
|
-
var useMentionedLabelDetection = useCallback(function () {
|
|
160
|
-
var _a;
|
|
161
|
-
var textField = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current;
|
|
162
|
-
if (isMentionEnabled && textField) {
|
|
163
|
-
var newMentionedUserIds = Array.from(textField.getElementsByClassName('sendbird-mention-user-label')).map(
|
|
164
|
-
// @ts-ignore
|
|
165
|
-
function (node) { var _a; return (_a = node === null || node === void 0 ? void 0 : node.dataset) === null || _a === void 0 ? void 0 : _a.userid; });
|
|
166
|
-
if (!arrayEqual(mentionedUserIds, newMentionedUserIds) || newMentionedUserIds.length === 0) {
|
|
167
|
-
onMentionedUserIdsUpdated(newMentionedUserIds);
|
|
168
|
-
setMentionedUserIds(newMentionedUserIds);
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
setIsInput((textField === null || textField === void 0 ? void 0 : textField.textContent) ? ((_a = textField.textContent) === null || _a === void 0 ? void 0 : _a.trim().length) > 0 : false);
|
|
172
|
-
}, [targetStringInfo, isMentionEnabled]);
|
|
173
|
-
// #Mention | Replace selected user nickname to the MentionedUserLabel
|
|
174
|
-
useEffect(function () {
|
|
175
|
-
var _a, _b, _c, _d;
|
|
176
|
-
if (isMentionEnabled && mentionSelectedUser) {
|
|
177
|
-
var targetString = targetStringInfo.targetString, startNodeIndex = targetStringInfo.startNodeIndex, startOffsetIndex = targetStringInfo.startOffsetIndex, endNodeIndex = targetStringInfo.endNodeIndex, endOffsetIndex = targetStringInfo.endOffsetIndex;
|
|
178
|
-
var textField_1 = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current;
|
|
179
|
-
if (targetString && startNodeIndex !== null && startOffsetIndex !== null && endOffsetIndex !== null && endNodeIndex !== null && textField_1) {
|
|
180
|
-
// const textField = document.getElementById(textFieldId);
|
|
181
|
-
var childNodes = nodeListToArray(textField_1 === null || textField_1 === void 0 ? void 0 : textField_1.childNodes);
|
|
182
|
-
var startNodeTextContent = (_b = (_a = childNodes[startNodeIndex]) === null || _a === void 0 ? void 0 : _a.textContent) !== null && _b !== void 0 ? _b : '';
|
|
183
|
-
var frontTextNode = document.createTextNode(startNodeTextContent.slice(0, startOffsetIndex));
|
|
184
|
-
var endNodeTextContent = (_d = (_c = childNodes[endNodeIndex]) === null || _c === void 0 ? void 0 : _c.textContent) !== null && _d !== void 0 ? _d : '';
|
|
185
|
-
var backTextNode = endOffsetIndex && document.createTextNode("\u00A0".concat(endNodeTextContent.slice(endOffsetIndex)));
|
|
186
|
-
var mentionLabel = renderToString({
|
|
187
|
-
userId: mentionSelectedUser === null || mentionSelectedUser === void 0 ? void 0 : mentionSelectedUser.userId,
|
|
188
|
-
nickname: "".concat(USER_MENTION_TEMP_CHAR).concat((mentionSelectedUser === null || mentionSelectedUser === void 0 ? void 0 : mentionSelectedUser.nickname) || stringSet.MENTION_NAME__NO_NAME),
|
|
189
|
-
});
|
|
190
|
-
var div = document.createElement('div');
|
|
191
|
-
div.innerHTML = mentionLabel;
|
|
192
|
-
var newNodes = __spreadArray(__spreadArray(__spreadArray([], childNodes.slice(0, startNodeIndex), true), [
|
|
193
|
-
frontTextNode,
|
|
194
|
-
div.childNodes[0],
|
|
195
|
-
backTextNode
|
|
196
|
-
], false), childNodes.slice(endNodeIndex + 1), true);
|
|
197
|
-
if (textField_1) {
|
|
198
|
-
textField_1.innerHTML = '';
|
|
199
|
-
newNodes.forEach(function (newNode) {
|
|
200
|
-
if (newNode) {
|
|
201
|
-
textField_1.appendChild(newNode);
|
|
202
|
-
}
|
|
203
|
-
});
|
|
204
|
-
}
|
|
205
|
-
onUserMentioned(mentionSelectedUser);
|
|
206
|
-
if (window.getSelection || document.getSelection) {
|
|
207
|
-
// set caret postion
|
|
208
|
-
var selection = window.getSelection() || document.getSelection();
|
|
209
|
-
selection === null || selection === void 0 ? void 0 : selection.removeAllRanges();
|
|
210
|
-
var range = new Range();
|
|
211
|
-
range.selectNodeContents(textField_1);
|
|
212
|
-
range.setStart(textField_1.childNodes[startNodeIndex + 2], 1);
|
|
213
|
-
range.setEnd(textField_1.childNodes[startNodeIndex + 2], 1);
|
|
214
|
-
range.collapse(false);
|
|
215
|
-
selection === null || selection === void 0 ? void 0 : selection.addRange(range);
|
|
216
|
-
textField_1.focus();
|
|
217
|
-
}
|
|
218
|
-
setTargetStringInfo(__assign({}, initialTargetStringInfo));
|
|
219
|
-
useMentionedLabelDetection();
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}, [mentionSelectedUser, isMentionEnabled]);
|
|
223
|
-
// #Mention | Detect mentioning user nickname
|
|
224
|
-
var useMentionInputDetection = useCallback(function () {
|
|
225
|
-
var _a, _b;
|
|
226
|
-
var selection = ((_a = window === null || window === void 0 ? void 0 : window.getSelection) === null || _a === void 0 ? void 0 : _a.call(window)) || ((_b = document === null || document === void 0 ? void 0 : document.getSelection) === null || _b === void 0 ? void 0 : _b.call(document));
|
|
227
|
-
var textField = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current;
|
|
228
|
-
if ((selection === null || selection === void 0 ? void 0 : selection.anchorNode) === textField) {
|
|
229
|
-
onMentionStringChange('');
|
|
230
|
-
}
|
|
231
|
-
if (isMentionEnabled
|
|
232
|
-
&& textField
|
|
233
|
-
&& selection
|
|
234
|
-
&& selection.anchorNode === selection.focusNode
|
|
235
|
-
&& selection.anchorOffset === selection.focusOffset) {
|
|
236
|
-
var textStack = '';
|
|
237
|
-
var startNodeIndex = null;
|
|
238
|
-
var startOffsetIndex = null;
|
|
239
|
-
var _loop_1 = function (index) {
|
|
240
|
-
var currentNode = textField.childNodes[index];
|
|
241
|
-
if (currentNode.nodeType === NodeTypes.TextNode) {
|
|
242
|
-
/* text node */
|
|
243
|
-
var textContent = (function () {
|
|
244
|
-
var _a;
|
|
245
|
-
if (currentNode === selection.anchorNode) {
|
|
246
|
-
return (currentNode === null || currentNode === void 0 ? void 0 : currentNode.textContent) ? currentNode === null || currentNode === void 0 ? void 0 : currentNode.textContent.slice(0, selection.anchorOffset) : '';
|
|
247
|
-
}
|
|
248
|
-
return (_a = currentNode === null || currentNode === void 0 ? void 0 : currentNode.textContent) !== null && _a !== void 0 ? _a : '';
|
|
249
|
-
})();
|
|
250
|
-
if (textStack.length > 0) {
|
|
251
|
-
textStack += textContent;
|
|
252
|
-
}
|
|
253
|
-
else {
|
|
254
|
-
var charLastIndex = textContent.lastIndexOf(USER_MENTION_TEMP_CHAR);
|
|
255
|
-
for (var i = charLastIndex - 1; i > -1; i -= 1) {
|
|
256
|
-
if (textContent[i] === USER_MENTION_TEMP_CHAR) {
|
|
257
|
-
charLastIndex = i;
|
|
258
|
-
}
|
|
259
|
-
else {
|
|
260
|
-
break;
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
if (charLastIndex > -1) {
|
|
264
|
-
textStack = textContent;
|
|
265
|
-
startNodeIndex = index;
|
|
266
|
-
startOffsetIndex = charLastIndex;
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
else {
|
|
271
|
-
/* other nodes */
|
|
272
|
-
textStack = '';
|
|
273
|
-
startNodeIndex = null;
|
|
274
|
-
startOffsetIndex = null;
|
|
275
|
-
}
|
|
276
|
-
if (currentNode === selection.anchorNode) {
|
|
277
|
-
/**
|
|
278
|
-
* targetString could be ''
|
|
279
|
-
* startNodeIndex and startOffsetIndex could be null
|
|
280
|
-
*/
|
|
281
|
-
var targetString = textStack && startOffsetIndex !== null ? textStack.slice(startOffsetIndex) : ''; // include template character
|
|
282
|
-
setTargetStringInfo({
|
|
283
|
-
targetString: targetString,
|
|
284
|
-
startNodeIndex: startNodeIndex,
|
|
285
|
-
startOffsetIndex: startOffsetIndex,
|
|
286
|
-
endNodeIndex: index,
|
|
287
|
-
endOffsetIndex: selection.anchorOffset,
|
|
288
|
-
});
|
|
289
|
-
onMentionStringChange(targetString);
|
|
290
|
-
return { value: void 0 };
|
|
291
|
-
}
|
|
292
|
-
};
|
|
293
|
-
for (var index = 0; index < textField.childNodes.length; index += 1) {
|
|
294
|
-
var state_1 = _loop_1(index);
|
|
295
|
-
if (typeof state_1 === "object")
|
|
296
|
-
return state_1.value;
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
}, [isMentionEnabled]);
|
|
300
|
-
var sendMessage = function () {
|
|
301
|
-
var _a, _b;
|
|
302
|
-
try {
|
|
303
|
-
var textField_2 = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current;
|
|
304
|
-
if (!isEdit && (textField_2 === null || textField_2 === void 0 ? void 0 : textField_2.textContent)) {
|
|
305
|
-
var _c = extractTextAndMentions(textField_2.childNodes), messageText = _c.messageText, mentionTemplate = _c.mentionTemplate, isMentionedMessage = _c.isMentionedMessage;
|
|
306
|
-
var params = { message: messageText, mentionTemplate: mentionTemplate };
|
|
307
|
-
if (!isMentionedMessage)
|
|
308
|
-
params.mentionTemplate = '';
|
|
309
|
-
onSendMessage(params);
|
|
310
|
-
resetInput(internalRef);
|
|
311
|
-
/**
|
|
312
|
-
* Note: contentEditable does not work as expected in mobile WebKit (Safari).
|
|
313
|
-
* @see https://github.com/sendbird/sendbird-uikit-react/pull/1108
|
|
314
|
-
*/
|
|
315
|
-
if (isMobileIOS(navigator.userAgent)) {
|
|
316
|
-
if (ghostInputRef.current)
|
|
317
|
-
ghostInputRef.current.focus();
|
|
318
|
-
requestAnimationFrame(function () { return textField_2.focus(); });
|
|
319
|
-
}
|
|
320
|
-
else {
|
|
321
|
-
// important: keeps the keyboard open -> must add test on refactor
|
|
322
|
-
textField_2.focus();
|
|
323
|
-
}
|
|
324
|
-
setIsInput(false);
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
catch (error) {
|
|
328
|
-
(_b = (_a = eventHandlers === null || eventHandlers === void 0 ? void 0 : eventHandlers.message) === null || _a === void 0 ? void 0 : _a.onSendMessageFailed) === null || _b === void 0 ? void 0 : _b.call(_a, message, error);
|
|
329
|
-
}
|
|
330
|
-
};
|
|
331
|
-
var isEditDisabled = !((_b = (_a = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current) === null || _a === void 0 ? void 0 : _a.textContent) === null || _b === void 0 ? void 0 : _b.trim());
|
|
332
|
-
var editMessage = function () {
|
|
333
|
-
var _a, _b;
|
|
334
|
-
try {
|
|
335
|
-
var textField = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current;
|
|
336
|
-
var messageId = message === null || message === void 0 ? void 0 : message.messageId;
|
|
337
|
-
if (isEdit && messageId && textField) {
|
|
338
|
-
var _c = extractTextAndMentions(textField.childNodes), messageText = _c.messageText, mentionTemplate = _c.mentionTemplate;
|
|
339
|
-
var params = { messageId: messageId, message: messageText, mentionTemplate: mentionTemplate };
|
|
340
|
-
onUpdateMessage(params);
|
|
341
|
-
resetInput(internalRef);
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
catch (error) {
|
|
345
|
-
(_b = (_a = eventHandlers === null || eventHandlers === void 0 ? void 0 : eventHandlers.message) === null || _a === void 0 ? void 0 : _a.onUpdateMessageFailed) === null || _b === void 0 ? void 0 : _b.call(_a, message, error);
|
|
346
|
-
}
|
|
347
|
-
};
|
|
348
|
-
var onPaste = usePaste({
|
|
349
|
-
ref: internalRef,
|
|
350
|
-
setMentionedUsers: setMentionedUsers,
|
|
351
|
-
channel: channel,
|
|
352
|
-
setIsInput: setIsInput,
|
|
353
|
-
});
|
|
354
|
-
var uploadFile = function (event) {
|
|
355
|
-
var _a, _b;
|
|
356
|
-
var files = event.currentTarget.files;
|
|
357
|
-
try {
|
|
358
|
-
if (files) {
|
|
359
|
-
onFileUpload(Array.from(files));
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
catch (error) {
|
|
363
|
-
(_b = (_a = eventHandlers === null || eventHandlers === void 0 ? void 0 : eventHandlers.message) === null || _a === void 0 ? void 0 : _a.onFileUploadFailed) === null || _b === void 0 ? void 0 : _b.call(_a, error);
|
|
364
|
-
}
|
|
365
|
-
finally {
|
|
366
|
-
event.target.value = '';
|
|
367
|
-
}
|
|
368
|
-
};
|
|
369
|
-
var adjustScrollToCaret = function () {
|
|
370
|
-
var _a;
|
|
371
|
-
var inputRef = internalRef;
|
|
372
|
-
var selection = window.getSelection();
|
|
373
|
-
if (!selection || selection.rangeCount === 0)
|
|
374
|
-
return;
|
|
375
|
-
// Get the last range (caret or selected text position) from the selection
|
|
376
|
-
var range = selection.getRangeAt(selection.rangeCount - 1);
|
|
377
|
-
var rect = range.getBoundingClientRect();
|
|
378
|
-
var container = (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect();
|
|
379
|
-
if (!container || !inputRef.current)
|
|
380
|
-
return;
|
|
381
|
-
// If the caret (or selection) is below the visible container area, scroll down
|
|
382
|
-
if (rect.bottom > container.bottom) {
|
|
383
|
-
var scrollAmount = Math.min(rect.bottom - container.bottom, // Calculate how much we need to scroll
|
|
384
|
-
inputRef.current.scrollHeight - inputRef.current.clientHeight);
|
|
385
|
-
inputRef.current.scrollTop += scrollAmount; // Adjust the scroll position downward
|
|
386
|
-
}
|
|
387
|
-
// If the caret (or selection) is above the visible container area, scroll up
|
|
388
|
-
else if (rect.top < container.top) {
|
|
389
|
-
var scrollAmount = Math.min(container.top - rect.top, // Calculate how much we need to scroll
|
|
390
|
-
inputRef.current.scrollTop);
|
|
391
|
-
inputRef.current.scrollTop -= scrollAmount; // Adjust the scroll position upward
|
|
392
|
-
}
|
|
393
|
-
};
|
|
394
|
-
return (React__default.createElement("form", { className: classnames.apply(void 0, __spreadArray(__spreadArray([], (Array.isArray(className) ? className : [className]), false), [isEdit && 'sendbird-message-input__edit',
|
|
395
|
-
disabled && 'sendbird-message-input-form__disabled'], false)) },
|
|
396
|
-
React__default.createElement("div", { className: classnames('sendbird-message-input', disabled && 'sendbird-message-input__disabled'), "data-testid": "sendbird-message-input" },
|
|
397
|
-
isMobileIOS(navigator.userAgent) && (React__default.createElement("input", { id: 'ghost-input-reset-ime-cjk', ref: ghostInputRef, style: { opacity: 0, padding: 0, margin: 0, height: 0, border: 'none', position: 'absolute', top: -9999 }, defaultValue: '_' })),
|
|
398
|
-
React__default.createElement("div", { id: "".concat(textFieldId).concat(isEdit ? message === null || message === void 0 ? void 0 : message.messageId : ''), className: "sendbird-message-input--textarea ".concat(textFieldId), contentEditable: !disabled, role: "textbox", "aria-label": "Text Input", ref: internalRef,
|
|
399
|
-
// @ts-ignore
|
|
400
|
-
disabled: disabled, maxLength: maxLength, onKeyDown: function (e) {
|
|
401
|
-
var _a, _b, _c, _d;
|
|
402
|
-
var preventEvent = onKeyDown(e);
|
|
403
|
-
if (preventEvent) {
|
|
404
|
-
e.preventDefault();
|
|
405
|
-
}
|
|
406
|
-
else {
|
|
407
|
-
if (!e.shiftKey
|
|
408
|
-
&& e.key === MessageInputKeys.Enter
|
|
409
|
-
&& !isMobile
|
|
410
|
-
&& ((_a = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current) === null || _a === void 0 ? void 0 : _a.textContent)
|
|
411
|
-
&& internalRef.current.textContent.trim().length > 0
|
|
412
|
-
&& ((_b = e === null || e === void 0 ? void 0 : e.nativeEvent) === null || _b === void 0 ? void 0 : _b.isComposing) !== true
|
|
413
|
-
/**
|
|
414
|
-
* NOTE: What isComposing does?
|
|
415
|
-
* Check if the user has finished composing characters
|
|
416
|
-
* (e.g., for languages like Korean, Japanese, where characters are composed from multiple keystrokes)
|
|
417
|
-
* Prevents executing the code while the user is still composing characters.
|
|
418
|
-
*/
|
|
419
|
-
) {
|
|
420
|
-
e.preventDefault();
|
|
421
|
-
sendMessage();
|
|
422
|
-
}
|
|
423
|
-
if (e.key === MessageInputKeys.Backspace
|
|
424
|
-
&& ((_d = (_c = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current) === null || _c === void 0 ? void 0 : _c.childNodes) === null || _d === void 0 ? void 0 : _d.length) === 2
|
|
425
|
-
&& !internalRef.current.childNodes[0].textContent
|
|
426
|
-
&& internalRef.current.childNodes[1].nodeType === NodeTypes.ElementNode) {
|
|
427
|
-
internalRef.current.removeChild(internalRef.current.childNodes[1]);
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
}, onKeyUp: function (e) {
|
|
431
|
-
var preventEvent = onKeyUp(e);
|
|
432
|
-
if (preventEvent) {
|
|
433
|
-
e.preventDefault();
|
|
434
|
-
}
|
|
435
|
-
else {
|
|
436
|
-
useMentionInputDetection();
|
|
437
|
-
}
|
|
438
|
-
}, onClick: function () {
|
|
439
|
-
useMentionInputDetection();
|
|
440
|
-
}, onInput: function () {
|
|
441
|
-
var _a;
|
|
442
|
-
onStartTyping();
|
|
443
|
-
setIsInput(((_a = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current) === null || _a === void 0 ? void 0 : _a.textContent) ? internalRef.current.textContent.trim().length > 0 : false);
|
|
444
|
-
useMentionedLabelDetection();
|
|
445
|
-
}, onPaste: function (e) {
|
|
446
|
-
onPaste(e);
|
|
447
|
-
setTimeout(adjustScrollToCaret);
|
|
448
|
-
} }),
|
|
449
|
-
((_e = (_d = (_c = internalRef === null || internalRef === void 0 ? void 0 : internalRef.current) === null || _c === void 0 ? void 0 : _c.textContent) === null || _d === void 0 ? void 0 : _d.length) !== null && _e !== void 0 ? _e : 0) === 0 && (React__default.createElement(Label, { className: "sendbird-message-input--placeholder", type: LabelTypography.BODY_1, color: disabled ? LabelColors.ONBACKGROUND_4 : LabelColors.ONBACKGROUND_3 }, placeholder || stringSet.MESSAGE_INPUT__PLACE_HOLDER)),
|
|
450
|
-
!isEdit && isInput && (React__default.createElement(IconButton, { className: "sendbird-message-input--send", height: "32px", width: "32px", onClick: function () { return sendMessage(); }, testID: "sendbird-message-input-send-button" }, (renderSendMessageIcon === null || renderSendMessageIcon === void 0 ? void 0 : renderSendMessageIcon()) || (React__default.createElement(Icon, { type: IconTypes.SEND, fillColor: disabled ? IconColors.ON_BACKGROUND_4 : IconColors.PRIMARY, width: "20px", height: "20px" })))),
|
|
451
|
-
!isEdit
|
|
452
|
-
&& !isInput
|
|
453
|
-
&& ((renderFileUploadIcon === null || renderFileUploadIcon === void 0 ? void 0 : renderFileUploadIcon())
|
|
454
|
-
// UIKit Dashboard configuration should have lower priority than
|
|
455
|
-
// renderFileUploadIcon which is set in code level
|
|
456
|
-
|| (isFileUploadEnabled && (React__default.createElement(IconButton, { className: classnames('sendbird-message-input--attach', isVoiceMessageEnabled && 'is-voice-message-enabled'), height: "32px", width: "32px", onClick: function () {
|
|
457
|
-
var _a, _b;
|
|
458
|
-
// todo: clear previous input
|
|
459
|
-
(_b = (_a = fileInputRef === null || fileInputRef === void 0 ? void 0 : fileInputRef.current) === null || _a === void 0 ? void 0 : _a.click) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
460
|
-
} },
|
|
461
|
-
React__default.createElement(Icon, { type: IconTypes.ATTACH, fillColor: disabled ? IconColors.ON_BACKGROUND_4 : IconColors.CONTENT_INVERSE, width: "20px", height: "20px" }),
|
|
462
|
-
React__default.createElement("input", { className: "sendbird-message-input--attach-input", type: "file", ref: fileInputRef,
|
|
463
|
-
// It will affect to <Channel /> and <Thread />
|
|
464
|
-
onChange: function (event) { return uploadFile(event); }, accept: getMimeTypesUIKitAccepts(acceptableMimeTypes), multiple: isSelectingMultipleFilesEnabled && isChannelTypeSupportsMultipleFilesMessage(channel) }))))),
|
|
465
|
-
isVoiceMessageEnabled && !isEdit && !isInput && (React__default.createElement(IconButton, { className: "sendbird-message-input--voice-message", width: "32px", height: "32px", onClick: onVoiceMessageIconClick }, (renderVoiceMessageIcon === null || renderVoiceMessageIcon === void 0 ? void 0 : renderVoiceMessageIcon()) || (React__default.createElement(Icon, { type: IconTypes.AUDIO_ON_LINED, fillColor: disabled ? IconColors.ON_BACKGROUND_4 : IconColors.CONTENT_INVERSE, width: "20px", height: "20px" }))))),
|
|
466
|
-
isEdit && (React__default.createElement("div", { className: "sendbird-message-input--edit-action", "data-testid": "sendbird-message-input--edit-action" },
|
|
467
|
-
React__default.createElement(Button, { className: "sendbird-message-input--edit-action__cancel", type: ButtonTypes.SECONDARY, size: ButtonSizes.SMALL, onClick: onCancelEdit }, stringSet.BUTTON__CANCEL),
|
|
468
|
-
React__default.createElement(Button, { className: "sendbird-message-input--edit-action__save", type: ButtonTypes.PRIMARY, size: ButtonSizes.SMALL, disabled: isEditDisabled, onClick: function () { return editMessage(); } }, stringSet.BUTTON__SAVE)))));
|
|
469
|
-
});
|
|
470
|
-
|
|
471
|
-
export { MessageInput as default };
|
|
472
31
|
//# sourceMappingURL=MessageInput.js.map
|
package/ui/MessageInput.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageInput.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageInput.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/ui/MessageItemMenu.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { _ as __assign } from '../chunks/bundle-
|
|
1
|
+
import { _ as __assign } from '../chunks/bundle-Bpofr334.js';
|
|
2
2
|
import React__default, { useContext, useRef } from 'react';
|
|
3
|
-
import { C as ContextMenu,
|
|
4
|
-
import Icon, {
|
|
3
|
+
import { C as ContextMenu, f as MenuItems, e as MenuItem } from '../chunks/bundle-zNUBt0Cg.js';
|
|
4
|
+
import Icon, { IconColors, IconTypes } from './Icon.js';
|
|
5
5
|
import IconButton from './IconButton.js';
|
|
6
|
-
import {
|
|
7
|
-
import { L as LocalizationContext } from '../chunks/bundle-
|
|
8
|
-
import { R as Role } from '../chunks/bundle-
|
|
9
|
-
import { d as deleteNullish } from '../chunks/bundle-
|
|
6
|
+
import { Y as isUserMessage, P as isSentMessage, A as isFailedMessage, L as isPendingMessage, e as getClassName, b as copyToClipboard } from '../chunks/bundle-BZSLsKkw.js';
|
|
7
|
+
import { L as LocalizationContext } from '../chunks/bundle-Cdqsdoa8.js';
|
|
8
|
+
import { R as Role } from '../chunks/bundle-DVdeXT-4.js';
|
|
9
|
+
import { d as deleteNullish } from '../chunks/bundle-DX6fRIJl.js';
|
|
10
10
|
import 'react-dom';
|
|
11
11
|
import '@sendbird/chat';
|
|
12
12
|
import '@sendbird/chat/openChannel';
|
|
13
13
|
import './SortByRow.js';
|
|
14
|
-
import '../chunks/bundle-
|
|
15
|
-
import '../chunks/bundle-
|
|
16
|
-
import '../chunks/bundle-
|
|
17
|
-
import '../chunks/bundle-
|
|
18
|
-
import '../chunks/bundle-
|
|
14
|
+
import '../chunks/bundle-LLA95Pqf.js';
|
|
15
|
+
import '../chunks/bundle-Cdplrrlw.js';
|
|
16
|
+
import '../chunks/bundle-oM0Fxt9G.js';
|
|
17
|
+
import '../chunks/bundle-B56O1y8C.js';
|
|
18
|
+
import '../chunks/bundle-JhKiWlXT.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 '../chunks/bundle-
|
|
21
|
+
import '../chunks/bundle-CglqREVl.js';
|
|
22
|
+
import '../chunks/bundle-lqEjT2ED.js';
|
|
23
|
+
import '../chunks/bundle-BqKoZDqX.js';
|
|
24
|
+
import '../chunks/bundle-DmnXeBdU.js';
|
|
25
25
|
|
|
26
26
|
function MessageMenu(props) {
|
|
27
27
|
var _a;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import React__default, { useRef, useMemo } from 'react';
|
|
2
|
-
import { C as ContextMenu,
|
|
3
|
-
import Icon, {
|
|
2
|
+
import { C as ContextMenu, a as EmojiListItems, j as getObservingId } from '../chunks/bundle-zNUBt0Cg.js';
|
|
3
|
+
import Icon, { IconColors, IconTypes } from './Icon.js';
|
|
4
4
|
import IconButton from './IconButton.js';
|
|
5
5
|
import ImageRenderer from './ImageRenderer.js';
|
|
6
6
|
import ReactionButton from './ReactionButton.js';
|
|
7
|
-
import {
|
|
8
|
-
import '../chunks/bundle-
|
|
7
|
+
import { i as getEmojiListByCategoryIds, L as isPendingMessage, A as isFailedMessage, e as getClassName } from '../chunks/bundle-BZSLsKkw.js';
|
|
8
|
+
import '../chunks/bundle-Bpofr334.js';
|
|
9
9
|
import 'react-dom';
|
|
10
|
-
import '../chunks/bundle-
|
|
10
|
+
import '../chunks/bundle-DX6fRIJl.js';
|
|
11
11
|
import '@sendbird/chat';
|
|
12
12
|
import '@sendbird/chat/openChannel';
|
|
13
13
|
import './SortByRow.js';
|
|
14
|
-
import '../chunks/bundle-
|
|
15
|
-
import '../chunks/bundle-
|
|
16
|
-
import '../chunks/bundle-
|
|
17
|
-
import '../chunks/bundle-
|
|
18
|
-
import '../chunks/bundle-
|
|
19
|
-
import '../chunks/bundle-
|
|
20
|
-
import '../chunks/bundle-
|
|
14
|
+
import '../chunks/bundle-LLA95Pqf.js';
|
|
15
|
+
import '../chunks/bundle-Cdplrrlw.js';
|
|
16
|
+
import '../chunks/bundle-oM0Fxt9G.js';
|
|
17
|
+
import '../chunks/bundle-Cdqsdoa8.js';
|
|
18
|
+
import '../chunks/bundle-DmnXeBdU.js';
|
|
19
|
+
import '../chunks/bundle-B56O1y8C.js';
|
|
20
|
+
import '../chunks/bundle-JhKiWlXT.js';
|
|
21
21
|
import '@sendbird/chat/groupChannel';
|
|
22
|
-
import '../chunks/bundle-
|
|
23
|
-
import '../chunks/bundle-
|
|
22
|
+
import '../chunks/bundle-WvDa8Nzx.js';
|
|
23
|
+
import '../chunks/bundle-C2ARCMSL.js';
|
|
24
24
|
import '../utils/message/getOutgoingMessageState.js';
|
|
25
|
-
import '../chunks/bundle-
|
|
26
|
-
import '../chunks/bundle-
|
|
27
|
-
import '../chunks/bundle-
|
|
25
|
+
import '../chunks/bundle-CglqREVl.js';
|
|
26
|
+
import '../chunks/bundle-lqEjT2ED.js';
|
|
27
|
+
import '../chunks/bundle-BqKoZDqX.js';
|
|
28
28
|
|
|
29
29
|
function MessageEmojiMenu(_a) {
|
|
30
30
|
var className = _a.className, message = _a.message, userId = _a.userId, _b = _a.spaceFromTrigger, spaceFromTrigger = _b === void 0 ? { x: 0, y: 0 } : _b, emojiContainer = _a.emojiContainer, filterEmojiCategoryIds = _a.filterEmojiCategoryIds, toggleReaction = _a.toggleReaction;
|