@sendbird/uikit-react 3.17.8 → 3.17.10
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 +89 -89
- package/CHANGELOG.md +18 -0
- package/Channel/components/ChannelHeader.js +33 -33
- package/Channel/components/ChannelUI.js +68 -68
- package/Channel/components/FileViewer.js +31 -31
- package/Channel/components/FrozenNotification.js +6 -6
- package/Channel/components/Message.js +57 -57
- package/Channel/components/MessageInput.js +44 -44
- package/Channel/components/MessageInputWrapper.js +44 -44
- package/Channel/components/MessageList.js +61 -61
- 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 +24 -24
- package/Channel/hooks/useHandleUploadFiles.js +18 -18
- package/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/Channel/utils/compareMessagesForGrouping.js +8 -8
- package/Channel/utils/getMessagePartsInfo.js +9 -9
- package/Channel.js +68 -68
- package/ChannelList/components/AddChannel.js +89 -89
- package/ChannelList/components/ChannelListHeader.js +13 -13
- package/ChannelList/components/ChannelListUI.js +89 -89
- package/ChannelList/components/ChannelPreview.js +32 -32
- package/ChannelList/components/ChannelPreviewAction.js +17 -17
- package/ChannelList/context.js +14 -14
- package/ChannelList.js +89 -89
- package/ChannelSettings/components/ChannelProfile.js +23 -23
- package/ChannelSettings/components/ChannelSettingMenuList.js +14 -14
- package/ChannelSettings/components/ChannelSettingsHeader.js +15 -14
- package/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
- package/ChannelSettings/components/ChannelSettingsUI.js +31 -31
- package/ChannelSettings/components/EditDetailsModal.js +19 -19
- package/ChannelSettings/components/LeaveChannel.js +20 -20
- package/ChannelSettings/components/ModerationPanel.js +29 -29
- package/ChannelSettings/components/UserListItem.js +19 -19
- package/ChannelSettings/components/UserPanel.js +28 -28
- package/ChannelSettings/context.js +9 -9
- package/ChannelSettings/hooks/useMenuList.js +29 -29
- package/ChannelSettings.js +31 -31
- package/CreateChannel/components/CreateChannelUI.js +89 -89
- package/CreateChannel/components/InviteUsers.js +89 -89
- package/CreateChannel/components/SelectChannelType.js +89 -89
- package/CreateChannel/context.js +89 -89
- package/CreateChannel.js +89 -89
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +15 -15
- 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 +63 -63
- package/GroupChannel/components/Message.js +54 -54
- package/GroupChannel/components/MessageInputWrapper.js +41 -41
- package/GroupChannel/components/MessageList.js +56 -56
- 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 +8 -8
- package/GroupChannel/context.js +15 -15
- package/GroupChannel.js +63 -63
- package/GroupChannelList/components/AddGroupChannel.js +89 -89
- package/GroupChannelList/components/GroupChannelListHeader.js +13 -13
- package/GroupChannelList/components/GroupChannelListItem.js +32 -32
- package/GroupChannelList/components/GroupChannelListUI.js +89 -89
- package/GroupChannelList/components/GroupChannelPreviewAction.js +17 -17
- package/GroupChannelList/context.js +10 -10
- package/GroupChannelList.js +89 -89
- package/MessageSearch/components/MessageSearchUI.js +20 -20
- package/MessageSearch/context.js +6 -6
- package/MessageSearch.js +22 -22
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +20 -20
- package/OpenChannel/components/OpenChannelInput.js +29 -29
- package/OpenChannel/components/OpenChannelMessage.js +39 -39
- package/OpenChannel/components/OpenChannelMessageList.js +43 -43
- package/OpenChannel/components/OpenChannelUI.js +43 -43
- package/OpenChannel/context.js +19 -19
- package/OpenChannel.js +43 -43
- package/OpenChannelList/components/OpenChannelListUI.js +18 -18
- package/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/OpenChannelList/context.js +8 -7
- package/OpenChannelList/context.js.map +1 -1
- package/OpenChannelList.js +17 -17
- package/OpenChannelSettings/components/EditDetailsModal.js +18 -18
- package/OpenChannelSettings/components/OpenChannelProfile.js +18 -18
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +36 -30
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +32 -27
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +22 -22
- package/OpenChannelSettings/context.js +6 -6
- package/OpenChannelSettings.js +27 -27
- package/SendbirdProvider.js +41 -39
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +49 -49
- package/Thread/components/ParentMessageInfoItem.js +35 -35
- package/Thread/components/ThreadHeader.js +8 -8
- package/Thread/components/ThreadList.js +56 -56
- package/Thread/components/ThreadListItem.js +59 -56
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +46 -46
- package/Thread/components/ThreadUI.js +62 -62
- package/Thread/context.js +15 -15
- package/Thread.js +62 -62
- package/VoicePlayer/context.js +6 -6
- package/VoicePlayer/useVoicePlayer.js +14 -14
- package/VoiceRecorder/context.js +13 -13
- package/VoiceRecorder/useVoiceRecorder.js +12 -12
- package/chunks/{bundle-CGVdQav_.js → bundle-44QynWoG.js} +2 -2
- package/chunks/{bundle-CGVdQav_.js.map → bundle-44QynWoG.js.map} +1 -1
- package/chunks/{bundle-C-3XjeEQ.js → bundle-7K78yrCU.js} +11 -11
- package/chunks/{bundle-C-3XjeEQ.js.map → bundle-7K78yrCU.js.map} +1 -1
- package/chunks/{bundle-DDuEV8ss.js → bundle-B3Vz_eYg.js} +1 -1
- package/chunks/bundle-B3Vz_eYg.js.map +1 -0
- package/chunks/{bundle-rfynU_-Q.js → bundle-BE-vC7Lt.js} +11 -10
- package/chunks/bundle-BE-vC7Lt.js.map +1 -0
- package/chunks/{bundle-Bk6K4SiJ.js → bundle-BNJo28hx.js} +3 -3
- package/chunks/bundle-BNJo28hx.js.map +1 -0
- package/chunks/{bundle-CHQbC-Dq.js → bundle-BNvlnMM2.js} +7 -7
- package/chunks/bundle-BNvlnMM2.js.map +1 -0
- package/chunks/{bundle-CNOE57-o.js → bundle-BPvTEy0t.js} +12 -12
- package/chunks/{bundle-CNOE57-o.js.map → bundle-BPvTEy0t.js.map} +1 -1
- package/chunks/{bundle-BUocnB3D.js → bundle-BQqf09uI.js} +8 -8
- package/chunks/{bundle-BUocnB3D.js.map → bundle-BQqf09uI.js.map} +1 -1
- package/chunks/{bundle-BtHF6odC.js → bundle-BREsEgZM.js} +3 -3
- package/chunks/bundle-BREsEgZM.js.map +1 -0
- package/chunks/{bundle-BdaLfhAv.js → bundle-BS8MSmBM.js} +14 -14
- package/chunks/{bundle-BdaLfhAv.js.map → bundle-BS8MSmBM.js.map} +1 -1
- package/chunks/{bundle-CLQhlbOw.js → bundle-BVBQRww-.js} +10 -10
- package/chunks/{bundle-CLQhlbOw.js.map → bundle-BVBQRww-.js.map} +1 -1
- package/chunks/{bundle-CGdHR-Ps.js → bundle-BZoeTBeq.js} +1 -1
- package/chunks/{bundle-CGdHR-Ps.js.map → bundle-BZoeTBeq.js.map} +1 -1
- package/chunks/{bundle-Dr70s9Hs.js → bundle-BgOjuIrI.js} +1 -1
- package/chunks/bundle-BgOjuIrI.js.map +1 -0
- package/chunks/{bundle-BDRTwJmn.js → bundle-Bi2zy7Rq.js} +1 -1
- package/chunks/{bundle-BDRTwJmn.js.map → bundle-Bi2zy7Rq.js.map} +1 -1
- package/chunks/{bundle-D5GnWE9c.js → bundle-Bma0fCyK.js} +42 -22
- package/{cjs/chunks/bundle-CaXjvJdI.js.map → chunks/bundle-Bma0fCyK.js.map} +1 -1
- package/chunks/{bundle-lN1arHZQ.js → bundle-BoZeHqfo.js} +4 -4
- package/chunks/bundle-BoZeHqfo.js.map +1 -0
- package/chunks/{bundle-m4x7sPQ7.js → bundle-Bq3cKfll.js} +8 -8
- package/chunks/bundle-Bq3cKfll.js.map +1 -0
- package/chunks/{bundle-Cb1wdYL8.js → bundle-BrAHUkpi.js} +2 -2
- package/chunks/{bundle-Cb1wdYL8.js.map → bundle-BrAHUkpi.js.map} +1 -1
- package/chunks/{bundle-Dv3rdIbE.js → bundle-Bu8UF7z9.js} +3 -3
- package/chunks/{bundle-Dv3rdIbE.js.map → bundle-Bu8UF7z9.js.map} +1 -1
- package/chunks/{bundle-DeBC8-NM.js → bundle-BxRMl0NH.js} +1 -1
- package/chunks/bundle-BxRMl0NH.js.map +1 -0
- package/chunks/{bundle-ByXzZBhE.js → bundle-ByScbYGt.js} +33 -33
- package/chunks/{bundle-ByXzZBhE.js.map → bundle-ByScbYGt.js.map} +1 -1
- package/chunks/{bundle-CwiOZkw5.js → bundle-ByVmmqcj.js} +9 -6
- package/chunks/{bundle-CwiOZkw5.js.map → bundle-ByVmmqcj.js.map} +1 -1
- package/chunks/{bundle-HP--QSrP.js → bundle-BzEareAP.js} +1 -1
- package/chunks/bundle-BzEareAP.js.map +1 -0
- package/chunks/{bundle-DChnPE2e.js → bundle-C-cNHvb3.js} +37 -5
- package/{cjs/chunks/bundle-DjKX-AvB.js.map → chunks/bundle-C-cNHvb3.js.map} +1 -1
- package/chunks/{bundle-t-3ijxgJ.js → bundle-C3cyXpot.js} +1 -1
- package/chunks/bundle-C3cyXpot.js.map +1 -0
- package/chunks/{bundle-dza5Ln49.js → bundle-C584816X.js} +3 -3
- package/chunks/bundle-C584816X.js.map +1 -0
- package/chunks/{bundle-D8NOKNDm.js → bundle-C6DfSdlB.js} +1 -1
- package/chunks/bundle-C6DfSdlB.js.map +1 -0
- package/chunks/{bundle-CluAw9vh.js → bundle-C8ue-M9T.js} +5 -5
- package/chunks/{bundle-CluAw9vh.js.map → bundle-C8ue-M9T.js.map} +1 -1
- package/chunks/{bundle-CzumtYKK.js → bundle-C98ZxHO9.js} +4 -4
- package/chunks/bundle-C98ZxHO9.js.map +1 -0
- package/chunks/{bundle-DGyKg9fA.js → bundle-CAtDWrGV.js} +4 -4
- package/chunks/bundle-CAtDWrGV.js.map +1 -0
- package/chunks/{bundle-BJGRF-ja.js → bundle-CCFaWKwf.js} +9 -9
- package/chunks/{bundle-BJGRF-ja.js.map → bundle-CCFaWKwf.js.map} +1 -1
- package/chunks/{bundle-BBsTFpWr.js → bundle-CD7nQMNh.js} +21 -21
- package/chunks/{bundle-BBsTFpWr.js.map → bundle-CD7nQMNh.js.map} +1 -1
- package/chunks/{bundle-B0GrBRcM.js → bundle-CFHEY2p4.js} +12 -12
- package/chunks/{bundle-B0GrBRcM.js.map → bundle-CFHEY2p4.js.map} +1 -1
- package/chunks/{bundle-G9Ab37UP.js → bundle-CIlc1dvT.js} +1 -1
- package/chunks/bundle-CIlc1dvT.js.map +1 -0
- package/chunks/{bundle-C2j5faYi.js → bundle-CJX5Jh7u.js} +2 -2
- package/chunks/bundle-CJX5Jh7u.js.map +1 -0
- package/chunks/{bundle-Cxv41Qwz.js → bundle-CLLlK3L0.js} +2 -2
- package/chunks/bundle-CLLlK3L0.js.map +1 -0
- package/chunks/{bundle-7j_kGHGn.js → bundle-CLxgZowy.js} +1 -1
- package/chunks/bundle-CLxgZowy.js.map +1 -0
- package/chunks/{bundle-Dy_aAi1y.js → bundle-CQgnHPbJ.js} +1 -1
- package/chunks/bundle-CQgnHPbJ.js.map +1 -0
- package/chunks/{bundle-DW_bfssX.js → bundle-CT2liYyN.js} +8 -8
- package/chunks/bundle-CT2liYyN.js.map +1 -0
- package/chunks/{bundle-DyvN3jnE.js → bundle-CUdLrgmK.js} +1 -1
- package/chunks/bundle-CUdLrgmK.js.map +1 -0
- package/chunks/{bundle-ray7Dj4f.js → bundle-CVkjpnw8.js} +13 -13
- package/chunks/{bundle-ray7Dj4f.js.map → bundle-CVkjpnw8.js.map} +1 -1
- package/chunks/{bundle-7Lu1-IwI.js → bundle-CWttl_Pf.js} +3 -3
- package/chunks/bundle-CWttl_Pf.js.map +1 -0
- package/chunks/{bundle-Cu3LsDnq.js → bundle-CY2NPyy9.js} +3 -3
- package/chunks/{bundle-Cu3LsDnq.js.map → bundle-CY2NPyy9.js.map} +1 -1
- package/chunks/{bundle-Dly3MK8P.js → bundle-CY6jSZJz.js} +2 -2
- package/chunks/bundle-CY6jSZJz.js.map +1 -0
- package/chunks/{bundle-DrTCKt_l.js → bundle-CbLxWQmt.js} +7 -7
- package/chunks/{bundle-DrTCKt_l.js.map → bundle-CbLxWQmt.js.map} +1 -1
- package/chunks/{bundle-DzCmr8py.js → bundle-Cda4O3PL.js} +2 -2
- package/chunks/bundle-Cda4O3PL.js.map +1 -0
- package/chunks/{bundle-BMCJ_Yj1.js → bundle-CeknuDhO.js} +1 -1
- package/chunks/bundle-CeknuDhO.js.map +1 -0
- package/chunks/{bundle-CLhx8hxU.js → bundle-CgDS9B4O.js} +1 -1
- package/chunks/bundle-CgDS9B4O.js.map +1 -0
- package/chunks/{bundle-BjH8wyIq.js → bundle-CjHWsy4S.js} +1 -1
- package/chunks/bundle-CjHWsy4S.js.map +1 -0
- package/chunks/{bundle-CLr3fT6Y.js → bundle-CqUk0XXd.js} +1 -1
- package/chunks/bundle-CqUk0XXd.js.map +1 -0
- package/chunks/{bundle-DV3apbMR.js → bundle-CtNthIiA.js} +5 -5
- package/chunks/bundle-CtNthIiA.js.map +1 -0
- package/chunks/{bundle-B3070GP8.js → bundle-CwWHzn0O.js} +4 -4
- package/chunks/bundle-CwWHzn0O.js.map +1 -0
- package/chunks/{bundle-B_JC7FwN.js → bundle-Cx0E1vwh.js} +1 -1
- package/chunks/bundle-Cx0E1vwh.js.map +1 -0
- package/chunks/{bundle-PB3YcYyN.js → bundle-Cy88TJjF.js} +4 -4
- package/chunks/bundle-Cy88TJjF.js.map +1 -0
- package/chunks/{bundle-Evgz3hq4.js → bundle-CyU55YQc.js} +6 -6
- package/chunks/bundle-CyU55YQc.js.map +1 -0
- package/chunks/{bundle-JRuLGGVr.js → bundle-CzS9d74N.js} +13 -13
- package/chunks/{bundle-CHLFLbHl.js.map → bundle-CzS9d74N.js.map} +1 -1
- package/chunks/{bundle-BWUmjjMw.js → bundle-CznW00mg.js} +12 -12
- package/chunks/{bundle-BWUmjjMw.js.map → bundle-CznW00mg.js.map} +1 -1
- package/chunks/{bundle-Bu4j0AKg.js → bundle-D3vBmq0k.js} +4 -4
- package/chunks/{bundle-BfZFSUFJ.js.map → bundle-D3vBmq0k.js.map} +1 -1
- package/chunks/{bundle-CuMlMBCU.js → bundle-DArDRDUr.js} +1 -1
- package/chunks/{bundle-CuMlMBCU.js.map → bundle-DArDRDUr.js.map} +1 -1
- package/chunks/{bundle-BSdXHtZO.js → bundle-DEL8ljY9.js} +4 -4
- package/chunks/{bundle-BSdXHtZO.js.map → bundle-DEL8ljY9.js.map} +1 -1
- package/chunks/{bundle-VVVOJGMk.js → bundle-DFwAWoi7.js} +22 -7
- package/chunks/{bundle-VVVOJGMk.js.map → bundle-DFwAWoi7.js.map} +1 -1
- package/chunks/{bundle-CBXVXcKA.js → bundle-DJM1hhs4.js} +4 -4
- package/chunks/{bundle-CBXVXcKA.js.map → bundle-DJM1hhs4.js.map} +1 -1
- package/chunks/{bundle-CrMXger7.js → bundle-DKx3NR1w.js} +12 -12
- package/chunks/{bundle-CrMXger7.js.map → bundle-DKx3NR1w.js.map} +1 -1
- package/chunks/{bundle-DgGM7iAj.js → bundle-DMP4IOmZ.js} +4 -4
- package/chunks/bundle-DMP4IOmZ.js.map +1 -0
- package/chunks/{bundle-DRqC4c0T.js → bundle-DQu3BLLd.js} +1 -1
- package/chunks/bundle-DQu3BLLd.js.map +1 -0
- package/chunks/{bundle-CHo7Ym5x.js → bundle-DYU7abrP.js} +1 -1
- package/chunks/bundle-DYU7abrP.js.map +1 -0
- package/chunks/{bundle-LAORUmCI.js → bundle-DbWCSmuo.js} +2 -2
- package/chunks/{bundle-LAORUmCI.js.map → bundle-DbWCSmuo.js.map} +1 -1
- package/chunks/{bundle-Cc4mNH8e.js → bundle-DcYwBbme.js} +8 -8
- package/chunks/{bundle-Cc4mNH8e.js.map → bundle-DcYwBbme.js.map} +1 -1
- package/chunks/{bundle-B8QzeTlj.js → bundle-DcfQg8Uy.js} +1 -1
- package/chunks/bundle-DcfQg8Uy.js.map +1 -0
- package/chunks/{bundle-CrO5YQyr.js → bundle-DfkEzAlf.js} +3 -3
- package/chunks/{bundle-CrO5YQyr.js.map → bundle-DfkEzAlf.js.map} +1 -1
- package/chunks/{bundle-Cj5HFVNm.js → bundle-DiDPUa4G.js} +2 -2
- package/chunks/{bundle-Cj5HFVNm.js.map → bundle-DiDPUa4G.js.map} +1 -1
- package/chunks/{bundle-N8Fgt3t-.js → bundle-DnBGqmRP.js} +1 -1
- package/chunks/bundle-DnBGqmRP.js.map +1 -0
- package/chunks/{bundle-Bxw6lQbS.js → bundle-DobIp5EF.js} +1 -1
- package/chunks/bundle-DobIp5EF.js.map +1 -0
- package/chunks/{bundle-CD7tUuUD.js → bundle-Ds73wciT.js} +10 -10
- package/chunks/{bundle-CD7tUuUD.js.map → bundle-Ds73wciT.js.map} +1 -1
- package/chunks/{bundle-DfcVDYZJ.js → bundle-DvfLia2p.js} +3 -3
- package/chunks/{bundle-DfcVDYZJ.js.map → bundle-DvfLia2p.js.map} +1 -1
- package/chunks/{bundle-B7-_ZzvG.js → bundle-Dwn0i3O0.js} +1 -1
- package/chunks/bundle-Dwn0i3O0.js.map +1 -0
- package/chunks/{bundle-J7NywV72.js → bundle-DwoUKI2F.js} +1 -1
- package/chunks/{bundle-J7NywV72.js.map → bundle-DwoUKI2F.js.map} +1 -1
- package/chunks/{bundle-ChPmOO9d.js → bundle-DxCD7jJG.js} +1 -1
- package/chunks/bundle-DxCD7jJG.js.map +1 -0
- package/chunks/{bundle-Vwe91C8I.js → bundle-DzM4yc5s.js} +3 -3
- package/chunks/bundle-DzM4yc5s.js.map +1 -0
- package/chunks/{bundle-Yat0lxs0.js → bundle-FpTYjAqh.js} +5 -5
- package/chunks/{bundle-Yat0lxs0.js.map → bundle-FpTYjAqh.js.map} +1 -1
- package/chunks/{bundle-D_16EZJ4.js → bundle-H_Psj481.js} +5 -5
- package/chunks/{bundle-D_16EZJ4.js.map → bundle-H_Psj481.js.map} +1 -1
- package/chunks/{bundle-B0GntYsM.js → bundle-MA8C181q.js} +6 -6
- package/chunks/bundle-MA8C181q.js.map +1 -0
- package/chunks/{bundle-CHLFLbHl.js → bundle-QdDm0lM_.js} +21 -10
- package/{cjs/chunks/bundle-DOK40Un-.js.map → chunks/bundle-QdDm0lM_.js.map} +1 -1
- package/chunks/{bundle-muxpTh9u.js → bundle-VHuYsTmC.js} +1 -1
- package/chunks/bundle-VHuYsTmC.js.map +1 -0
- package/chunks/{bundle-LtUjjnGN.js → bundle-VqoQQamR.js} +3 -3
- package/chunks/{bundle-LtUjjnGN.js.map → bundle-VqoQQamR.js.map} +1 -1
- package/chunks/{bundle-DcCnTTQq.js → bundle-_96c-wim.js} +8 -8
- package/chunks/bundle-_96c-wim.js.map +1 -0
- package/chunks/{bundle-BF6ey5Oc.js → bundle-aylKVP-t.js} +5 -5
- package/chunks/{bundle-BF6ey5Oc.js.map → bundle-aylKVP-t.js.map} +1 -1
- package/chunks/{bundle-Cb33D_QR.js → bundle-fT16CxUq.js} +1 -1
- package/chunks/{bundle-Cb33D_QR.js.map → bundle-fT16CxUq.js.map} +1 -1
- package/chunks/{bundle-BfZFSUFJ.js → bundle-gclN7sr5.js} +5 -5
- package/chunks/{bundle-Bu4j0AKg.js.map → bundle-gclN7sr5.js.map} +1 -1
- package/chunks/{bundle-8BN9Ampe.js → bundle-lcE93tnM.js} +1 -1
- package/chunks/bundle-lcE93tnM.js.map +1 -0
- package/chunks/{bundle-CeCKOzBv.js → bundle-yydYieYt.js} +1 -1
- package/chunks/{bundle-CeCKOzBv.js.map → bundle-yydYieYt.js.map} +1 -1
- package/chunks/{bundle-Chl-afJt.js → bundle-zxR5w1Ch.js} +1 -1
- package/chunks/{bundle-Chl-afJt.js.map → bundle-zxR5w1Ch.js.map} +1 -1
- package/cjs/App.js +89 -89
- package/cjs/Channel/components/ChannelHeader.js +33 -33
- package/cjs/Channel/components/ChannelUI.js +68 -68
- package/cjs/Channel/components/FileViewer.js +31 -31
- package/cjs/Channel/components/FrozenNotification.js +6 -6
- package/cjs/Channel/components/Message.js +57 -57
- package/cjs/Channel/components/MessageInput.js +44 -44
- package/cjs/Channel/components/MessageInputWrapper.js +44 -44
- package/cjs/Channel/components/MessageList.js +61 -61
- 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 +24 -24
- package/cjs/Channel/hooks/useHandleUploadFiles.js +18 -18
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/cjs/Channel/utils/compareMessagesForGrouping.js +8 -8
- package/cjs/Channel/utils/getMessagePartsInfo.js +9 -9
- package/cjs/Channel.js +68 -68
- package/cjs/ChannelList/components/AddChannel.js +89 -89
- package/cjs/ChannelList/components/ChannelListHeader.js +13 -13
- package/cjs/ChannelList/components/ChannelListUI.js +89 -89
- 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 +89 -89
- package/cjs/ChannelSettings/components/ChannelProfile.js +23 -23
- package/cjs/ChannelSettings/components/ChannelSettingMenuList.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +14 -13
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +31 -31
- package/cjs/ChannelSettings/components/EditDetailsModal.js +19 -19
- package/cjs/ChannelSettings/components/LeaveChannel.js +20 -20
- package/cjs/ChannelSettings/components/ModerationPanel.js +29 -29
- 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 +89 -89
- package/cjs/CreateChannel/components/InviteUsers.js +89 -89
- package/cjs/CreateChannel/components/SelectChannelType.js +89 -89
- package/cjs/CreateChannel/context.js +89 -89
- package/cjs/CreateChannel.js +89 -89
- 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 +63 -63
- package/cjs/GroupChannel/components/Message.js +54 -54
- package/cjs/GroupChannel/components/MessageInputWrapper.js +40 -40
- package/cjs/GroupChannel/components/MessageList.js +56 -56
- 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 +63 -63
- package/cjs/GroupChannelList/components/AddGroupChannel.js +89 -89
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +13 -13
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +32 -32
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +89 -89
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +17 -17
- package/cjs/GroupChannelList/context.js +10 -10
- package/cjs/GroupChannelList.js +89 -89
- 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 +29 -29
- package/cjs/OpenChannel/components/OpenChannelMessage.js +39 -39
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +43 -43
- package/cjs/OpenChannel/components/OpenChannelUI.js +43 -43
- package/cjs/OpenChannel/context.js +19 -19
- package/cjs/OpenChannel.js +43 -43
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +18 -18
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/cjs/OpenChannelList/context.js +8 -7
- package/cjs/OpenChannelList/context.js.map +1 -1
- 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 +35 -29
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +32 -27
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +22 -22
- package/cjs/OpenChannelSettings/context.js +6 -6
- package/cjs/OpenChannelSettings.js +27 -27
- package/cjs/SendbirdProvider.js +41 -39
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +49 -49
- package/cjs/Thread/components/ParentMessageInfoItem.js +35 -35
- package/cjs/Thread/components/ThreadHeader.js +8 -8
- package/cjs/Thread/components/ThreadList.js +56 -56
- package/cjs/Thread/components/ThreadListItem.js +59 -56
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +46 -46
- package/cjs/Thread/components/ThreadUI.js +62 -62
- package/cjs/Thread/context.js +15 -15
- package/cjs/Thread.js +62 -62
- package/cjs/VoicePlayer/context.js +6 -6
- package/cjs/VoicePlayer/useVoicePlayer.js +14 -14
- package/cjs/VoiceRecorder/context.js +13 -13
- package/cjs/VoiceRecorder/useVoiceRecorder.js +12 -12
- package/cjs/chunks/{bundle-B86IpqYQ.js → bundle--PzY8B9b.js} +1 -1
- package/cjs/chunks/bundle--PzY8B9b.js.map +1 -0
- package/cjs/chunks/{bundle-BMuXQhie.js → bundle-814F-8SV.js} +4 -4
- package/cjs/chunks/bundle-814F-8SV.js.map +1 -0
- package/cjs/chunks/{bundle-ZzdI-jwB.js → bundle-8OrPgTB0.js} +1 -1
- package/cjs/chunks/{bundle-ZzdI-jwB.js.map → bundle-8OrPgTB0.js.map} +1 -1
- package/cjs/chunks/{bundle-CvZONl0s.js → bundle-B-PfgBAR.js} +1 -1
- package/cjs/chunks/bundle-B-PfgBAR.js.map +1 -0
- package/cjs/chunks/{bundle-Dn97RmUr.js → bundle-B-ecCniP.js} +8 -8
- package/cjs/chunks/{bundle-Dn97RmUr.js.map → bundle-B-ecCniP.js.map} +1 -1
- package/cjs/chunks/{bundle-CNRiN4A9.js → bundle-B06i03vA.js} +1 -1
- package/cjs/chunks/bundle-B06i03vA.js.map +1 -0
- package/cjs/chunks/{bundle-NYxDDzgi.js → bundle-B2eNle8H.js} +3 -3
- package/cjs/chunks/{bundle-NYxDDzgi.js.map → bundle-B2eNle8H.js.map} +1 -1
- package/cjs/chunks/{bundle-BsSziZUI.js → bundle-B3ldlWad.js} +1 -1
- package/cjs/chunks/bundle-B3ldlWad.js.map +1 -0
- package/cjs/chunks/{bundle-HUouGTEF.js → bundle-B4m7sr4v.js} +5 -5
- package/cjs/chunks/bundle-B4m7sr4v.js.map +1 -0
- package/cjs/chunks/{bundle-ItDpX0Hs.js → bundle-BB0OziBI.js} +2 -2
- package/cjs/chunks/bundle-BB0OziBI.js.map +1 -0
- package/cjs/chunks/{bundle-Dq8hoGB1.js → bundle-BMTUZPER.js} +37 -5
- package/cjs/chunks/{bundle-B1rX0sy4.js.map → bundle-BMTUZPER.js.map} +1 -1
- package/cjs/chunks/{bundle-B1rX0sy4.js → bundle-BOjQNN-9.js} +21 -21
- package/cjs/chunks/bundle-BOjQNN-9.js.map +1 -0
- package/cjs/chunks/{bundle-D5NKFAQG.js → bundle-BRLFKHZl.js} +1 -1
- package/cjs/chunks/bundle-BRLFKHZl.js.map +1 -0
- package/cjs/chunks/{bundle-BydQ0Gha.js → bundle-BTCz3gK0.js} +10 -10
- package/cjs/chunks/bundle-BTCz3gK0.js.map +1 -0
- package/cjs/chunks/{bundle-DhOEMGmO.js → bundle-BUfNcSdS.js} +1 -1
- package/cjs/chunks/bundle-BUfNcSdS.js.map +1 -0
- package/cjs/chunks/{bundle-Iayzu9OF.js → bundle-BXHdNDVQ.js} +1 -1
- package/cjs/chunks/bundle-BXHdNDVQ.js.map +1 -0
- package/cjs/chunks/{bundle-Bp1qh2ux.js → bundle-BXqpEfns.js} +2 -2
- package/cjs/chunks/bundle-BXqpEfns.js.map +1 -0
- package/cjs/chunks/{bundle-D4coWOuL.js → bundle-BYGUXntZ.js} +3 -3
- package/cjs/chunks/{bundle-D4coWOuL.js.map → bundle-BYGUXntZ.js.map} +1 -1
- package/cjs/chunks/{bundle-Bj_7k6mP.js → bundle-Batig6Ji.js} +1 -1
- package/cjs/chunks/{bundle-Bj_7k6mP.js.map → bundle-Batig6Ji.js.map} +1 -1
- package/cjs/chunks/{bundle-CwUnH-v5.js → bundle-BbjIi7z9.js} +9 -6
- package/cjs/chunks/{bundle-CwUnH-v5.js.map → bundle-BbjIi7z9.js.map} +1 -1
- package/cjs/chunks/{bundle-DjKX-AvB.js → bundle-BfRikWcg.js} +9 -9
- package/cjs/chunks/bundle-BfRikWcg.js.map +1 -0
- package/cjs/chunks/{bundle-DR6kSEIC.js → bundle-Bfk09i2f.js} +11 -11
- package/cjs/chunks/{bundle-DR6kSEIC.js.map → bundle-Bfk09i2f.js.map} +1 -1
- package/cjs/chunks/{bundle-50QCMo05.js → bundle-Bhfa8ipt.js} +13 -13
- package/cjs/chunks/{bundle-50QCMo05.js.map → bundle-Bhfa8ipt.js.map} +1 -1
- package/cjs/chunks/{bundle-ClwPyvfV.js → bundle-BngPWMsd.js} +1 -1
- package/cjs/chunks/bundle-BngPWMsd.js.map +1 -0
- package/cjs/chunks/{bundle-Z4N8U3e7.js → bundle-C3p_3lFI.js} +3 -3
- package/cjs/chunks/bundle-C3p_3lFI.js.map +1 -0
- package/cjs/chunks/{bundle-UCZ6oQE0.js → bundle-C5JFjCcJ.js} +5 -5
- package/cjs/chunks/bundle-C5JFjCcJ.js.map +1 -0
- package/cjs/chunks/{bundle-CbWbOdzD.js → bundle-CHs395io.js} +1 -1
- package/cjs/chunks/bundle-CHs395io.js.map +1 -0
- package/cjs/chunks/{bundle-D3pAUkOx.js → bundle-CKCTCe5Y.js} +4 -4
- package/cjs/chunks/bundle-CKCTCe5Y.js.map +1 -0
- package/cjs/chunks/{bundle-x9QxRr3_.js → bundle-CKSYAC_v.js} +3 -3
- package/cjs/chunks/bundle-CKSYAC_v.js.map +1 -0
- package/cjs/chunks/{bundle-C4inWBzW.js → bundle-CKcQSwT_.js} +3 -3
- package/cjs/chunks/bundle-CKcQSwT_.js.map +1 -0
- package/cjs/chunks/{bundle-uq4X3bUm.js → bundle-CKhBx4oa.js} +4 -4
- package/cjs/chunks/bundle-CKhBx4oa.js.map +1 -0
- package/cjs/chunks/{bundle-DTYchV3j.js → bundle-CNBWylyQ.js} +4 -4
- package/cjs/chunks/bundle-CNBWylyQ.js.map +1 -0
- package/cjs/chunks/{bundle-CUASb5fB.js → bundle-COPpQkYW.js} +1 -1
- package/cjs/chunks/bundle-COPpQkYW.js.map +1 -0
- package/cjs/chunks/{bundle--Lmlrzjj.js → bundle-COU8ZAhT.js} +1 -1
- package/cjs/chunks/bundle-COU8ZAhT.js.map +1 -0
- package/cjs/chunks/{bundle-DOK40Un-.js → bundle-CVCFUpNm.js} +20 -9
- package/cjs/chunks/bundle-CVCFUpNm.js.map +1 -0
- package/cjs/chunks/{bundle-BChRKiPk.js → bundle-CX_kBn6i.js} +7 -7
- package/cjs/chunks/bundle-CX_kBn6i.js.map +1 -0
- package/cjs/chunks/{bundle-Cs7TkNOW.js → bundle-Cd429rPu.js} +3 -3
- package/cjs/chunks/bundle-Cd429rPu.js.map +1 -0
- package/cjs/chunks/{bundle-DwUOL2Ww.js → bundle-Chl1y42J.js} +1 -1
- package/cjs/chunks/bundle-Chl1y42J.js.map +1 -0
- package/cjs/chunks/{bundle-ovHk3JiU.js → bundle-Cl1F2dVf.js} +4 -4
- package/cjs/chunks/bundle-Cl1F2dVf.js.map +1 -0
- package/cjs/chunks/{bundle-CeyPe2wb.js → bundle-Cll76wxt.js} +1 -1
- package/cjs/chunks/bundle-Cll76wxt.js.map +1 -0
- package/cjs/chunks/{bundle-DR6_asmA.js → bundle-CnunHQIE.js} +8 -8
- package/cjs/chunks/bundle-CnunHQIE.js.map +1 -0
- package/cjs/chunks/{bundle-DIxNoIh0.js → bundle-CoQLe8gx.js} +1 -1
- package/cjs/chunks/{bundle-DIxNoIh0.js.map → bundle-CoQLe8gx.js.map} +1 -1
- package/cjs/chunks/{bundle-D__9ZNxN.js → bundle-CrTeH6bJ.js} +1 -1
- package/cjs/chunks/bundle-CrTeH6bJ.js.map +1 -0
- package/cjs/chunks/{bundle-DHVtnZAN.js → bundle-Cu-E4uhH.js} +8 -8
- package/cjs/chunks/bundle-Cu-E4uhH.js.map +1 -0
- package/cjs/chunks/{bundle-CvIKNVki.js → bundle-CyqCxWZT.js} +4 -4
- package/cjs/chunks/bundle-CyqCxWZT.js.map +1 -0
- package/cjs/chunks/{bundle-BhkmTAsb.js → bundle-CzQxs20C.js} +1 -1
- package/cjs/chunks/bundle-CzQxs20C.js.map +1 -0
- package/cjs/chunks/{bundle-B6yMitWs.js → bundle-CzscNNMs.js} +33 -33
- package/cjs/chunks/{bundle-B6yMitWs.js.map → bundle-CzscNNMs.js.map} +1 -1
- package/cjs/chunks/{bundle-CC02OqLD.js → bundle-Czv9Hg_y.js} +2 -2
- package/cjs/chunks/{bundle-CC02OqLD.js.map → bundle-Czv9Hg_y.js.map} +1 -1
- package/cjs/chunks/{bundle-XDDK_c3z.js → bundle-D316Q_r0.js} +3 -3
- package/cjs/chunks/{bundle-XDDK_c3z.js.map → bundle-D316Q_r0.js.map} +1 -1
- package/cjs/chunks/{bundle-XH5O7W0X.js → bundle-D3ah5_IJ.js} +1 -1
- package/cjs/chunks/{bundle-XH5O7W0X.js.map → bundle-D3ah5_IJ.js.map} +1 -1
- package/cjs/chunks/{bundle-D3kbURWe.js → bundle-D7BpE_pB.js} +12 -12
- package/cjs/chunks/bundle-D7BpE_pB.js.map +1 -0
- package/cjs/chunks/{bundle-diH5sWL2.js → bundle-DBDL0nRL.js} +8 -8
- package/cjs/chunks/bundle-DBDL0nRL.js.map +1 -0
- package/cjs/chunks/{bundle-FuVFrWd0.js → bundle-DCcUF9x7.js} +12 -12
- package/cjs/chunks/{bundle-FuVFrWd0.js.map → bundle-DCcUF9x7.js.map} +1 -1
- package/cjs/chunks/{bundle-B41UFboz.js → bundle-DD_yVvf1.js} +3 -3
- package/cjs/chunks/bundle-DD_yVvf1.js.map +1 -0
- package/cjs/chunks/{bundle-Bffmuci2.js → bundle-DFR87f0X.js} +5 -5
- package/cjs/chunks/{bundle-Bffmuci2.js.map → bundle-DFR87f0X.js.map} +1 -1
- package/cjs/chunks/{bundle-BmqvKwio.js → bundle-DHMqj-xF.js} +7 -7
- package/cjs/chunks/bundle-DHMqj-xF.js.map +1 -0
- package/cjs/chunks/{bundle-Bu2xxpjg.js → bundle-DJFecfEm.js} +4 -4
- package/cjs/chunks/bundle-DJFecfEm.js.map +1 -0
- package/cjs/chunks/{bundle-B58X-lXS.js → bundle-DOkicHCg.js} +1 -1
- package/cjs/chunks/bundle-DOkicHCg.js.map +1 -0
- package/cjs/chunks/{bundle-Bek2MAkb.js → bundle-DQ1pnb5z.js} +1 -1
- package/cjs/chunks/bundle-DQ1pnb5z.js.map +1 -0
- package/cjs/chunks/{bundle-C1kKCLp5.js → bundle-DZ8Uar-L.js} +2 -2
- package/cjs/chunks/bundle-DZ8Uar-L.js.map +1 -0
- package/cjs/chunks/{bundle-Celz1O7P.js → bundle-DZGqZ52T.js} +1 -1
- package/cjs/chunks/bundle-DZGqZ52T.js.map +1 -0
- package/cjs/chunks/{bundle-DKgL1lC0.js → bundle-DdsGxM39.js} +6 -6
- package/cjs/chunks/bundle-DdsGxM39.js.map +1 -0
- package/cjs/chunks/{bundle-s_gWMxar.js → bundle-DfUHWW29.js} +2 -2
- package/cjs/chunks/bundle-DfUHWW29.js.map +1 -0
- package/cjs/chunks/{bundle-Bf07JJ1k.js → bundle-DiJHF9YJ.js} +22 -7
- package/cjs/chunks/bundle-DiJHF9YJ.js.map +1 -0
- package/cjs/chunks/{bundle-CB7HuHcr.js → bundle-DkI6G6PW.js} +1 -1
- package/cjs/chunks/{bundle-CB7HuHcr.js.map → bundle-DkI6G6PW.js.map} +1 -1
- package/cjs/chunks/{bundle-4SDUXyq5.js → bundle-DliNMy0M.js} +2 -2
- package/cjs/chunks/bundle-DliNMy0M.js.map +1 -0
- package/cjs/chunks/{bundle-hY8NodqE.js → bundle-Dlo-vb4P.js} +5 -5
- package/cjs/chunks/bundle-Dlo-vb4P.js.map +1 -0
- package/cjs/chunks/{bundle-CaXjvJdI.js → bundle-DmbZjvRc.js} +42 -22
- package/{chunks/bundle-D5GnWE9c.js.map → cjs/chunks/bundle-DmbZjvRc.js.map} +1 -1
- package/cjs/chunks/{bundle-DkJOL09F.js → bundle-DqHwOshw.js} +1 -1
- package/cjs/chunks/bundle-DqHwOshw.js.map +1 -0
- package/cjs/chunks/{bundle-D_3I6GLr.js → bundle-DsHJ31yC.js} +5 -5
- package/cjs/chunks/bundle-DsHJ31yC.js.map +1 -0
- package/cjs/chunks/{bundle-UvTaPlHA.js → bundle-DtVAlWM4.js} +1 -1
- package/cjs/chunks/bundle-DtVAlWM4.js.map +1 -0
- package/cjs/chunks/{bundle-DxEgqHXx.js → bundle-DuABYNkQ.js} +4 -4
- package/cjs/chunks/{bundle-DxEgqHXx.js.map → bundle-DuABYNkQ.js.map} +1 -1
- package/cjs/chunks/{bundle-CBOtMhMd.js → bundle-DyKIB46z.js} +13 -13
- package/cjs/chunks/{bundle-CBOtMhMd.js.map → bundle-DyKIB46z.js.map} +1 -1
- package/cjs/chunks/{bundle-njPw7cKy.js → bundle-Dz196p2P.js} +8 -8
- package/cjs/chunks/bundle-Dz196p2P.js.map +1 -0
- package/cjs/chunks/{bundle-BFMW84xa.js → bundle-HqVsOj-b.js} +10 -10
- package/cjs/chunks/bundle-HqVsOj-b.js.map +1 -0
- package/cjs/chunks/{bundle-BCZZ1v2B.js → bundle-IUtR_XJG.js} +6 -6
- package/cjs/chunks/bundle-IUtR_XJG.js.map +1 -0
- package/cjs/chunks/{bundle-Cup6sNLs.js → bundle-KhVg_sE0.js} +1 -1
- package/cjs/chunks/bundle-KhVg_sE0.js.map +1 -0
- package/cjs/chunks/{bundle-DBfe6ILc.js → bundle-L7tKUhzo.js} +1 -1
- package/cjs/chunks/bundle-L7tKUhzo.js.map +1 -0
- package/cjs/chunks/{bundle-CoTHBgQO.js → bundle-NHTJoN9Q.js} +1 -1
- package/cjs/chunks/bundle-NHTJoN9Q.js.map +1 -0
- package/cjs/chunks/{bundle-CyfbHlqN.js → bundle-O10pK2XX.js} +3 -3
- package/cjs/chunks/bundle-O10pK2XX.js.map +1 -0
- package/cjs/chunks/{bundle-KTFl1Pya.js → bundle-RjGO8My3.js} +2 -2
- package/cjs/chunks/bundle-RjGO8My3.js.map +1 -0
- package/cjs/chunks/{bundle-BiJKUAGA.js → bundle-TMLyypqr.js} +2 -2
- package/cjs/chunks/bundle-TMLyypqr.js.map +1 -0
- package/cjs/chunks/{bundle-DCGCXQi9.js → bundle-VU45mQZx.js} +1 -1
- package/cjs/chunks/bundle-VU45mQZx.js.map +1 -0
- package/cjs/chunks/{bundle-BqLzoJ6k.js → bundle-XaUvL9w0.js} +12 -12
- package/cjs/chunks/{bundle-BqLzoJ6k.js.map → bundle-XaUvL9w0.js.map} +1 -1
- package/cjs/chunks/{bundle-D-6-R1xP.js → bundle-_MVb0Kx_.js} +14 -14
- package/cjs/chunks/bundle-_MVb0Kx_.js.map +1 -0
- package/cjs/chunks/{bundle-3Pk8uikX.js → bundle-efExYkYv.js} +3 -3
- package/cjs/chunks/bundle-efExYkYv.js.map +1 -0
- package/cjs/chunks/{bundle-BBYqrCnE.js → bundle-f__T9xli.js} +1 -1
- package/cjs/chunks/bundle-f__T9xli.js.map +1 -0
- package/cjs/chunks/{bundle-B85zPN4f.js → bundle-fsMd9LLE.js} +5 -5
- package/cjs/chunks/{bundle-B85zPN4f.js.map → bundle-fsMd9LLE.js.map} +1 -1
- package/cjs/chunks/{bundle-CoGXIO42.js → bundle-h6a18UoJ.js} +12 -12
- package/cjs/chunks/{bundle-CoGXIO42.js.map → bundle-h6a18UoJ.js.map} +1 -1
- package/cjs/chunks/{bundle-ChqrUH2-.js → bundle-m5uOYWuv.js} +4 -4
- package/cjs/chunks/bundle-m5uOYWuv.js.map +1 -0
- package/cjs/chunks/{bundle-DzpNI6xJ.js → bundle-tM7nBlLo.js} +1 -1
- package/cjs/chunks/bundle-tM7nBlLo.js.map +1 -0
- package/cjs/chunks/{bundle-uNdBr9PL.js → bundle-tocC95yV.js} +10 -9
- package/cjs/chunks/bundle-tocC95yV.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 +90 -90
- 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 -19
- package/cjs/ui/Header.js +6 -6
- package/cjs/ui/Icon.js +2 -2
- 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 +104 -174
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageFeedbackFailedModal.js +16 -13
- package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -1
- package/cjs/ui/MessageFeedbackModal.js +16 -13
- package/cjs/ui/MessageFeedbackModal.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +20 -20
- 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 +17 -17
- 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 +24 -24
- package/cjs/ui/OpenchannelOGMessage.js +26 -26
- package/cjs/ui/OpenchannelThumbnailMessage.js +23 -23
- package/cjs/ui/OpenchannelUserMessage.js +24 -24
- 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 +8 -8
- 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 +25 -7
- package/hooks/useConnectionState.js +5 -5
- package/hooks/useLocalization.js +4 -4
- package/hooks/useModal.js +14 -14
- package/index.js +90 -90
- package/package.json +2 -2
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/modules/Message/components/TextFragment/index.d.ts +2 -1
- package/types/modules/OpenChannelList/context/dux/actionTypes.d.ts +2 -1
- package/types/ui/ContextMenu/MenuItems.d.ts +2 -0
- package/types/ui/FormMessageItemBody/FormInput.d.ts +6 -0
- package/types/ui/FormMessageItemBody/index.d.ts +3 -0
- package/types/ui/MessageFeedbackFailedModal/index.d.ts +6 -0
- package/types/ui/MessageFeedbackModal/index.d.ts +6 -0
- package/types/ui/MessageMenu/MessageMenu.d.ts +2 -1
- package/types/ui/MobileFeedbackMenu/index.d.ts +3 -0
- package/types/ui/MobileMenu/types.d.ts +1 -0
- package/types/utils/index.d.ts +3 -0
- package/types/utils/menuConditions.d.ts +1 -1
- 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 +5 -5
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +14 -14
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +23 -23
- package/ui/FallbackTemplateMessageItemBody.tsx.js +10 -10
- package/ui/FileMessageItemBody.js +13 -13
- package/ui/FileViewer.js +19 -19
- package/ui/Header.js +6 -6
- package/ui/Icon.js +2 -2
- 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 +2 -2
- package/ui/MentionLabel.js +19 -19
- package/ui/MentionUserLabel.js +2 -2
- package/ui/MessageContent.js +67 -137
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageFeedbackFailedModal.js +16 -13
- package/ui/MessageFeedbackFailedModal.js.map +1 -1
- package/ui/MessageFeedbackModal.js +16 -13
- package/ui/MessageFeedbackModal.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +20 -20
- package/ui/MessageItemMenu.js +15 -15
- package/ui/MessageItemReactionMenu.js +16 -16
- 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 +18 -18
- package/ui/Modal.js +12 -12
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +23 -23
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +8 -8
- package/ui/OpenchannelConversationHeader.js +8 -8
- package/ui/OpenchannelFileMessage.js +24 -24
- package/ui/OpenchannelOGMessage.js +26 -26
- package/ui/OpenchannelThumbnailMessage.js +23 -23
- package/ui/OpenchannelUserMessage.js +24 -24
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/ProgressBar.js +1 -1
- package/ui/QuoteMessage.js +12 -12
- package/ui/QuoteMessageInput.js +12 -12
- 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 +8 -8
- package/ui/ThumbnailMessageItemBody.js +10 -10
- 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 +14 -14
- 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-7Lu1-IwI.js.map +0 -1
- package/chunks/bundle-7j_kGHGn.js.map +0 -1
- package/chunks/bundle-8BN9Ampe.js.map +0 -1
- package/chunks/bundle-B0GntYsM.js.map +0 -1
- package/chunks/bundle-B3070GP8.js.map +0 -1
- package/chunks/bundle-B7-_ZzvG.js.map +0 -1
- package/chunks/bundle-B8QzeTlj.js.map +0 -1
- package/chunks/bundle-BMCJ_Yj1.js.map +0 -1
- package/chunks/bundle-B_JC7FwN.js.map +0 -1
- package/chunks/bundle-BjH8wyIq.js.map +0 -1
- package/chunks/bundle-Bk6K4SiJ.js.map +0 -1
- package/chunks/bundle-BtHF6odC.js.map +0 -1
- package/chunks/bundle-Bxw6lQbS.js.map +0 -1
- package/chunks/bundle-C2j5faYi.js.map +0 -1
- package/chunks/bundle-CHQbC-Dq.js.map +0 -1
- package/chunks/bundle-CHo7Ym5x.js.map +0 -1
- package/chunks/bundle-CLhx8hxU.js.map +0 -1
- package/chunks/bundle-CLr3fT6Y.js.map +0 -1
- package/chunks/bundle-ChPmOO9d.js.map +0 -1
- package/chunks/bundle-Cxv41Qwz.js.map +0 -1
- package/chunks/bundle-CzumtYKK.js.map +0 -1
- package/chunks/bundle-D8NOKNDm.js.map +0 -1
- package/chunks/bundle-DChnPE2e.js.map +0 -1
- package/chunks/bundle-DDuEV8ss.js.map +0 -1
- package/chunks/bundle-DGyKg9fA.js.map +0 -1
- package/chunks/bundle-DRqC4c0T.js.map +0 -1
- package/chunks/bundle-DV3apbMR.js.map +0 -1
- package/chunks/bundle-DW_bfssX.js.map +0 -1
- package/chunks/bundle-DcCnTTQq.js.map +0 -1
- package/chunks/bundle-DeBC8-NM.js.map +0 -1
- package/chunks/bundle-DgGM7iAj.js.map +0 -1
- package/chunks/bundle-Dly3MK8P.js.map +0 -1
- package/chunks/bundle-Dr70s9Hs.js.map +0 -1
- package/chunks/bundle-Dy_aAi1y.js.map +0 -1
- package/chunks/bundle-DyvN3jnE.js.map +0 -1
- package/chunks/bundle-DzCmr8py.js.map +0 -1
- package/chunks/bundle-Evgz3hq4.js.map +0 -1
- package/chunks/bundle-G9Ab37UP.js.map +0 -1
- package/chunks/bundle-HP--QSrP.js.map +0 -1
- package/chunks/bundle-JRuLGGVr.js.map +0 -1
- package/chunks/bundle-N8Fgt3t-.js.map +0 -1
- package/chunks/bundle-PB3YcYyN.js.map +0 -1
- package/chunks/bundle-Vwe91C8I.js.map +0 -1
- package/chunks/bundle-dza5Ln49.js.map +0 -1
- package/chunks/bundle-lN1arHZQ.js.map +0 -1
- package/chunks/bundle-m4x7sPQ7.js.map +0 -1
- package/chunks/bundle-muxpTh9u.js.map +0 -1
- package/chunks/bundle-rfynU_-Q.js.map +0 -1
- package/chunks/bundle-t-3ijxgJ.js.map +0 -1
- package/cjs/chunks/bundle--Lmlrzjj.js.map +0 -1
- package/cjs/chunks/bundle-3Pk8uikX.js.map +0 -1
- package/cjs/chunks/bundle-4SDUXyq5.js.map +0 -1
- package/cjs/chunks/bundle-B41UFboz.js.map +0 -1
- package/cjs/chunks/bundle-B58X-lXS.js.map +0 -1
- package/cjs/chunks/bundle-B86IpqYQ.js.map +0 -1
- package/cjs/chunks/bundle-BBYqrCnE.js.map +0 -1
- package/cjs/chunks/bundle-BCZZ1v2B.js.map +0 -1
- package/cjs/chunks/bundle-BChRKiPk.js.map +0 -1
- package/cjs/chunks/bundle-BFMW84xa.js.map +0 -1
- package/cjs/chunks/bundle-BMuXQhie.js.map +0 -1
- package/cjs/chunks/bundle-Bek2MAkb.js.map +0 -1
- package/cjs/chunks/bundle-Bf07JJ1k.js.map +0 -1
- package/cjs/chunks/bundle-BhkmTAsb.js.map +0 -1
- package/cjs/chunks/bundle-BiJKUAGA.js.map +0 -1
- package/cjs/chunks/bundle-BmqvKwio.js.map +0 -1
- package/cjs/chunks/bundle-Bp1qh2ux.js.map +0 -1
- package/cjs/chunks/bundle-BsSziZUI.js.map +0 -1
- package/cjs/chunks/bundle-Bu2xxpjg.js.map +0 -1
- package/cjs/chunks/bundle-BydQ0Gha.js.map +0 -1
- package/cjs/chunks/bundle-C1kKCLp5.js.map +0 -1
- package/cjs/chunks/bundle-C4inWBzW.js.map +0 -1
- package/cjs/chunks/bundle-CNRiN4A9.js.map +0 -1
- package/cjs/chunks/bundle-CUASb5fB.js.map +0 -1
- package/cjs/chunks/bundle-CbWbOdzD.js.map +0 -1
- package/cjs/chunks/bundle-Celz1O7P.js.map +0 -1
- package/cjs/chunks/bundle-CeyPe2wb.js.map +0 -1
- package/cjs/chunks/bundle-ChqrUH2-.js.map +0 -1
- package/cjs/chunks/bundle-ClwPyvfV.js.map +0 -1
- package/cjs/chunks/bundle-CoTHBgQO.js.map +0 -1
- package/cjs/chunks/bundle-Cs7TkNOW.js.map +0 -1
- package/cjs/chunks/bundle-Cup6sNLs.js.map +0 -1
- package/cjs/chunks/bundle-CvIKNVki.js.map +0 -1
- package/cjs/chunks/bundle-CvZONl0s.js.map +0 -1
- package/cjs/chunks/bundle-CyfbHlqN.js.map +0 -1
- package/cjs/chunks/bundle-D-6-R1xP.js.map +0 -1
- package/cjs/chunks/bundle-D3kbURWe.js.map +0 -1
- package/cjs/chunks/bundle-D3pAUkOx.js.map +0 -1
- package/cjs/chunks/bundle-D5NKFAQG.js.map +0 -1
- package/cjs/chunks/bundle-DBfe6ILc.js.map +0 -1
- package/cjs/chunks/bundle-DCGCXQi9.js.map +0 -1
- package/cjs/chunks/bundle-DHVtnZAN.js.map +0 -1
- package/cjs/chunks/bundle-DKgL1lC0.js.map +0 -1
- package/cjs/chunks/bundle-DR6_asmA.js.map +0 -1
- package/cjs/chunks/bundle-DTYchV3j.js.map +0 -1
- package/cjs/chunks/bundle-D_3I6GLr.js.map +0 -1
- package/cjs/chunks/bundle-D__9ZNxN.js.map +0 -1
- package/cjs/chunks/bundle-DhOEMGmO.js.map +0 -1
- package/cjs/chunks/bundle-DkJOL09F.js.map +0 -1
- package/cjs/chunks/bundle-Dq8hoGB1.js.map +0 -1
- package/cjs/chunks/bundle-DwUOL2Ww.js.map +0 -1
- package/cjs/chunks/bundle-DzpNI6xJ.js.map +0 -1
- package/cjs/chunks/bundle-HUouGTEF.js.map +0 -1
- package/cjs/chunks/bundle-Iayzu9OF.js.map +0 -1
- package/cjs/chunks/bundle-ItDpX0Hs.js.map +0 -1
- package/cjs/chunks/bundle-KTFl1Pya.js.map +0 -1
- package/cjs/chunks/bundle-UCZ6oQE0.js.map +0 -1
- package/cjs/chunks/bundle-UvTaPlHA.js.map +0 -1
- package/cjs/chunks/bundle-Z4N8U3e7.js.map +0 -1
- package/cjs/chunks/bundle-diH5sWL2.js.map +0 -1
- package/cjs/chunks/bundle-hY8NodqE.js.map +0 -1
- package/cjs/chunks/bundle-njPw7cKy.js.map +0 -1
- package/cjs/chunks/bundle-ovHk3JiU.js.map +0 -1
- package/cjs/chunks/bundle-s_gWMxar.js.map +0 -1
- package/cjs/chunks/bundle-uNdBr9PL.js.map +0 -1
- package/cjs/chunks/bundle-uq4X3bUm.js.map +0 -1
- package/cjs/chunks/bundle-x9QxRr3_.js.map +0 -1
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { a as __awaiter, b as __generator, c as __spreadArray } from './bundle-
|
|
1
|
+
import { a as __awaiter, b as __generator, c as __spreadArray } from './bundle-fT16CxUq.js';
|
|
2
2
|
import React__default, { useRef, useState, useEffect, useCallback } from 'react';
|
|
3
|
-
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted, b as isDisabledBecauseSuggestedReplies, c as isDisabledBecauseMessageForm } from './bundle-
|
|
4
|
-
import { u as useLocalization } from './bundle-
|
|
3
|
+
import { i as isDisabledBecauseFrozen, a as isDisabledBecauseMuted, b as isDisabledBecauseSuggestedReplies, c as isDisabledBecauseMessageForm } from './bundle-Cda4O3PL.js';
|
|
4
|
+
import { u as useLocalization } from './bundle-CwWHzn0O.js';
|
|
5
5
|
import { SuggestedMentionList } from '../GroupChannel/components/SuggestedMentionList.js';
|
|
6
6
|
import { useDirtyGetMentions } from '../Message/hooks/useDirtyGetMentions.js';
|
|
7
7
|
import QuoteMessageInput from '../ui/QuoteMessageInput.js';
|
|
8
8
|
import { useVoicePlayer } from '../VoicePlayer/useVoicePlayer.js';
|
|
9
9
|
import { useVoiceRecorder, VoiceRecorderStatus } from '../VoiceRecorder/useVoiceRecorder.js';
|
|
10
|
-
import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-
|
|
11
|
-
import { M as Modal, c as ModalFooter } from './bundle-
|
|
10
|
+
import { V as VoiceMessageInputStatus, a as VoiceMessageInput } from './bundle-gclN7sr5.js';
|
|
11
|
+
import { M as Modal, c as ModalFooter } from './bundle-Bq3cKfll.js';
|
|
12
12
|
import Button, { ButtonTypes, ButtonSizes } from '../ui/Button.js';
|
|
13
|
-
import { V as VOICE_PLAYER_STATUS } from './bundle-
|
|
14
|
-
import { u as uuidv4 } from './bundle-
|
|
15
|
-
import { u as useSendbird } from './bundle-
|
|
13
|
+
import { V as VOICE_PLAYER_STATUS } from './bundle-aylKVP-t.js';
|
|
14
|
+
import { u as uuidv4 } from './bundle-DnBGqmRP.js';
|
|
15
|
+
import { u as useSendbird } from './bundle-C98ZxHO9.js';
|
|
16
16
|
import MessageInput from '../ui/MessageInput.js';
|
|
17
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
18
|
-
import { M as MessageInputKeys } from './bundle-
|
|
19
|
-
import { l as isImage } from './bundle-
|
|
17
|
+
import { u as useMediaQueryContext } from './bundle-DcfQg8Uy.js';
|
|
18
|
+
import { M as MessageInputKeys } from './bundle-CLxgZowy.js';
|
|
19
|
+
import { l as isImage } from './bundle-ByVmmqcj.js';
|
|
20
20
|
import { useGlobalModalContext } from '../hooks/useModal.js';
|
|
21
|
-
import './bundle-
|
|
22
|
-
import { c as compressImages } from './bundle-
|
|
21
|
+
import './bundle-DzM4yc5s.js';
|
|
22
|
+
import { c as compressImages } from './bundle-Bu8UF7z9.js';
|
|
23
23
|
|
|
24
24
|
var VoiceMessageInputWrapper = function (_a) {
|
|
25
25
|
var channel = _a.channel, onCancelClick = _a.onCancelClick, onSubmitClick = _a.onSubmitClick;
|
|
@@ -397,4 +397,4 @@ var MessageInputWrapperView = React__default.forwardRef(function (props, ref) {
|
|
|
397
397
|
});
|
|
398
398
|
|
|
399
399
|
export { MessageInputWrapperView as M, VoiceMessageInputWrapper as V };
|
|
400
|
-
//# sourceMappingURL=bundle-
|
|
400
|
+
//# sourceMappingURL=bundle-BS8MSmBM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-BS8MSmBM.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { _ as __assign, a as __awaiter, b as __generator, c as __spreadArray, d as __rest } from './bundle-
|
|
1
|
+
import { _ as __assign, a as __awaiter, b as __generator, c as __spreadArray, d as __rest } from './bundle-fT16CxUq.js';
|
|
2
2
|
import React__default, { useState, useContext, useEffect, useMemo, useCallback } from 'react';
|
|
3
3
|
import { Role } from '@sendbird/chat';
|
|
4
|
-
import { L as LocalizationContext, u as useLocalization } from './bundle-
|
|
4
|
+
import { L as LocalizationContext, u as useLocalization } from './bundle-CwWHzn0O.js';
|
|
5
5
|
import Button, { ButtonTypes, ButtonSizes } from '../ui/Button.js';
|
|
6
|
-
import { U as UserListItemMenu } from './bundle-
|
|
6
|
+
import { U as UserListItemMenu } from './bundle-QdDm0lM_.js';
|
|
7
7
|
import { UserListItem } from '../ui/UserListItem.js';
|
|
8
|
-
import { M as Modal } from './bundle-
|
|
9
|
-
import { n as noop } from './bundle-
|
|
10
|
-
import { u as useOnScrollPositionChangeDetector } from './bundle-
|
|
11
|
-
import { u as useChannelSettings } from './bundle-
|
|
12
|
-
import './bundle-
|
|
13
|
-
import { u as useSendbird } from './bundle-
|
|
8
|
+
import { M as Modal } from './bundle-Bq3cKfll.js';
|
|
9
|
+
import { n as noop } from './bundle-BxRMl0NH.js';
|
|
10
|
+
import { u as useOnScrollPositionChangeDetector } from './bundle-Cy88TJjF.js';
|
|
11
|
+
import { u as useChannelSettings } from './bundle-DcYwBbme.js';
|
|
12
|
+
import './bundle-DzM4yc5s.js';
|
|
13
|
+
import { u as useSendbird } from './bundle-C98ZxHO9.js';
|
|
14
14
|
|
|
15
15
|
function MembersModal(_a) {
|
|
16
16
|
var _this = this;
|
|
@@ -260,4 +260,4 @@ var MemberList = function (_a) {
|
|
|
260
260
|
};
|
|
261
261
|
|
|
262
262
|
export { MemberList as M };
|
|
263
|
-
//# sourceMappingURL=bundle-
|
|
263
|
+
//# sourceMappingURL=bundle-BVBQRww-.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-BVBQRww-.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-BZoeTBeq.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-BgOjuIrI.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Bi2zy7Rq.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { _ as __assign, a as __awaiter, b as __generator } from './bundle-
|
|
1
|
+
import { _ as __assign, a as __awaiter, b as __generator } from './bundle-fT16CxUq.js';
|
|
2
2
|
import React__default, { useCallback, useContext, useMemo, useRef, useState, useLayoutEffect, createContext, useEffect } from 'react';
|
|
3
3
|
import { MessageMetaArray, ReplyType } from '@sendbird/chat/message';
|
|
4
4
|
import { MessageFilter } from '@sendbird/chat/groupChannel';
|
|
5
5
|
import { useIIFE, useGroupChannelMessages, useAsyncEffect, useAsyncLayoutEffect } from '@sendbird/uikit-tools';
|
|
6
|
-
import { U as UserProfileProvider } from './bundle-
|
|
7
|
-
import { p as pubSubFactory } from './bundle-
|
|
8
|
-
import { s as shimExports, u as useStore, c as createStore } from './bundle-
|
|
9
|
-
import { g as getMessageTopOffset, d as isContextMenuClosed } from './bundle-
|
|
10
|
-
import { u as useSendbird } from './bundle-
|
|
11
|
-
import { g as getIsReactionEnabled } from './bundle-
|
|
12
|
-
import { g as getCaseResolvedReplyType, a as getCaseResolvedThreadReplySelectType } from './bundle-
|
|
13
|
-
import { P as PUBSUB_TOPICS, b as PublishingModuleType, p as pubSubTopics } from './bundle-
|
|
14
|
-
import { T as ThreadReplySelectType } from './bundle-
|
|
15
|
-
import { u as useDeepCompareEffect } from './bundle-
|
|
16
|
-
import { d as deleteNullish } from './bundle-
|
|
6
|
+
import { U as UserProfileProvider } from './bundle-CJX5Jh7u.js';
|
|
7
|
+
import { p as pubSubFactory } from './bundle-CgDS9B4O.js';
|
|
8
|
+
import { s as shimExports, u as useStore, c as createStore } from './bundle-VqoQQamR.js';
|
|
9
|
+
import { g as getMessageTopOffset, d as isContextMenuClosed } from './bundle-Cda4O3PL.js';
|
|
10
|
+
import { u as useSendbird } from './bundle-C98ZxHO9.js';
|
|
11
|
+
import { g as getIsReactionEnabled } from './bundle-CUdLrgmK.js';
|
|
12
|
+
import { g as getCaseResolvedReplyType, a as getCaseResolvedThreadReplySelectType } from './bundle-Bi2zy7Rq.js';
|
|
13
|
+
import { P as PUBSUB_TOPICS, b as PublishingModuleType, p as pubSubTopics } from './bundle-B3Vz_eYg.js';
|
|
14
|
+
import { T as ThreadReplySelectType } from './bundle-CIlc1dvT.js';
|
|
15
|
+
import { u as useDeepCompareEffect } from './bundle-CLLlK3L0.js';
|
|
16
|
+
import { d as deleteNullish } from './bundle-BxRMl0NH.js';
|
|
17
17
|
import { CollectionEventSource } from '@sendbird/chat';
|
|
18
|
-
import { K } from './bundle-
|
|
19
|
-
import { a as VOICE_MESSAGE_FILE_NAME, b as VOICE_MESSAGE_MIME_TYPE, i as META_ARRAY_VOICE_DURATION_KEY, j as META_ARRAY_MESSAGE_TYPE_KEY, k as META_ARRAY_MESSAGE_TYPE_VALUE__VOICE } from './bundle-
|
|
18
|
+
import { K } from './bundle-yydYieYt.js';
|
|
19
|
+
import { a as VOICE_MESSAGE_FILE_NAME, b as VOICE_MESSAGE_MIME_TYPE, i as META_ARRAY_VOICE_DURATION_KEY, j as META_ARRAY_MESSAGE_TYPE_KEY, k as META_ARRAY_MESSAGE_TYPE_VALUE__VOICE } from './bundle-DobIp5EF.js';
|
|
20
20
|
|
|
21
21
|
var pass = function (value) { return value; };
|
|
22
22
|
/**
|
|
@@ -284,7 +284,24 @@ var useGroupChannel = function () {
|
|
|
284
284
|
case 2:
|
|
285
285
|
_a.sent();
|
|
286
286
|
setTimeout(function () {
|
|
287
|
-
|
|
287
|
+
// NOTE: Inside setTimeout callback, the closure-captured `state` is a stale snapshot (before reset).
|
|
288
|
+
// Use store.getState() to get the latest state (including updated messages) at callback execution time.
|
|
289
|
+
var currentState = store.getState();
|
|
290
|
+
if (currentState.messages.length === 0)
|
|
291
|
+
return; // empty channel case.
|
|
292
|
+
var message = null;
|
|
293
|
+
var distance = Number.MAX_SAFE_INTEGER;
|
|
294
|
+
for (var _i = 0, _a = currentState.messages; _i < _a.length; _i++) {
|
|
295
|
+
var it_1 = _a[_i];
|
|
296
|
+
if (it_1.createdAt > createdAt)
|
|
297
|
+
break;
|
|
298
|
+
var diff = Math.abs(it_1.createdAt - createdAt);
|
|
299
|
+
if (diff < distance) {
|
|
300
|
+
distance = diff;
|
|
301
|
+
message = it_1;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
var topOffset = getMessageTopOffset(message.createdAt);
|
|
288
305
|
if (topOffset !== null) {
|
|
289
306
|
state.scrollPubSub.publish('scroll', {
|
|
290
307
|
top: topOffset,
|
|
@@ -327,10 +344,13 @@ var useGroupChannel = function () {
|
|
|
327
344
|
}, [(_b = state.currentChannel) === null || _b === void 0 ? void 0 : _b.deleteReaction, (_c = state.currentChannel) === null || _c === void 0 ? void 0 : _c.addReaction]);
|
|
328
345
|
var messageActions = useMessageActions(__assign(__assign({}, state), { scrollToBottom: scrollToBottom }));
|
|
329
346
|
var setCurrentChannel = useCallback(function (channel) {
|
|
330
|
-
store.setState(function (state) {
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
347
|
+
store.setState(function (state) {
|
|
348
|
+
var _a;
|
|
349
|
+
return (__assign(__assign({}, state), { currentChannel: channel, fetchChannelError: null, quoteMessage: ((_a = state.currentChannel) === null || _a === void 0 ? void 0 : _a.url) === (channel === null || channel === void 0 ? void 0 : channel.url) ? state.quoteMessage : null, animatedMessageId: null, nicknamesMap: channel ? new Map(channel.members.map(function (_a) {
|
|
350
|
+
var userId = _a.userId, nickname = _a.nickname;
|
|
351
|
+
return [userId, nickname];
|
|
352
|
+
})) : new Map() }));
|
|
353
|
+
}, true);
|
|
334
354
|
}, []);
|
|
335
355
|
var handleChannelError = useCallback(function (error) {
|
|
336
356
|
store.setState(function (state) { return (__assign(__assign({}, state), { currentChannel: null, fetchChannelError: error, quoteMessage: null, animatedMessageId: null })); });
|
|
@@ -680,10 +700,10 @@ var GroupChannelManager = function (props) {
|
|
|
680
700
|
}); }, [messageDataSource.initialized, (_c = state.currentChannel) === null || _c === void 0 ? void 0 : _c.url]);
|
|
681
701
|
// Starting point handling
|
|
682
702
|
useEffect(function () {
|
|
683
|
-
if (typeof startingPoint === 'number' &&
|
|
703
|
+
if (typeof startingPoint === 'number' && state.initialized) {
|
|
684
704
|
actions.scrollToMessage(startingPoint, 0, false, false);
|
|
685
705
|
}
|
|
686
|
-
}, [
|
|
706
|
+
}, [state.initialized, startingPoint]);
|
|
687
707
|
// Animated message handling
|
|
688
708
|
useEffect(function () {
|
|
689
709
|
if (_animatedMessageId) {
|
|
@@ -803,4 +823,4 @@ function getCollectionCreator(groupChannel, messageListQueryParams) {
|
|
|
803
823
|
}
|
|
804
824
|
|
|
805
825
|
export { GroupChannelContext as G, InternalGroupChannelProvider as I, GroupChannelProvider as a, useGroupChannelContext as b, GroupChannelManager as c, useGroupChannel as u };
|
|
806
|
-
//# sourceMappingURL=bundle-
|
|
826
|
+
//# sourceMappingURL=bundle-Bma0fCyK.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Bma0fCyK.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as SCROLL_BUFFER } from './bundle-
|
|
2
|
-
import { u as useThrottleCallback } from './bundle-
|
|
3
|
-
import { a as isAboutSame } from './bundle-
|
|
1
|
+
import { S as SCROLL_BUFFER } from './bundle-DobIp5EF.js';
|
|
2
|
+
import { u as useThrottleCallback } from './bundle-DxCD7jJG.js';
|
|
3
|
+
import { a as isAboutSame } from './bundle-DfkEzAlf.js';
|
|
4
4
|
import { usePreservedCallback } from '@sendbird/uikit-tools';
|
|
5
5
|
|
|
6
6
|
var DELAY = 100;
|
|
@@ -50,4 +50,4 @@ function useHandleOnScrollCallback(_a) {
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
export { useHandleOnScrollCallback as u };
|
|
53
|
-
//# sourceMappingURL=bundle-
|
|
53
|
+
//# sourceMappingURL=bundle-BoZeHqfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-BoZeHqfo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { c as __spreadArray } from './bundle-
|
|
1
|
+
import { c as __spreadArray } from './bundle-fT16CxUq.js';
|
|
2
2
|
import React__default, { useContext, useState, useEffect } from 'react';
|
|
3
3
|
import { createPortal } from 'react-dom';
|
|
4
|
-
import { c as classnames, n as noop } from './bundle-
|
|
5
|
-
import { L as LocalizationContext } from './bundle-
|
|
6
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
4
|
+
import { c as classnames, n as noop } from './bundle-BxRMl0NH.js';
|
|
5
|
+
import { L as LocalizationContext } from './bundle-CwWHzn0O.js';
|
|
6
|
+
import { u as useMediaQueryContext } from './bundle-DcfQg8Uy.js';
|
|
7
7
|
import IconButton from '../ui/IconButton.js';
|
|
8
8
|
import Button, { ButtonTypes } from '../ui/Button.js';
|
|
9
9
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
10
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-
|
|
11
|
-
import { u as uuidv4 } from './bundle-
|
|
12
|
-
import { u as useSendbird } from './bundle-
|
|
10
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-DzM4yc5s.js';
|
|
11
|
+
import { u as uuidv4 } from './bundle-DnBGqmRP.js';
|
|
12
|
+
import { u as useSendbird } from './bundle-C98ZxHO9.js';
|
|
13
13
|
|
|
14
14
|
// simple component to be used as modal root
|
|
15
15
|
var MODAL_ROOT = 'sendbird-modal-root';
|
|
@@ -62,4 +62,4 @@ function Modal(props) {
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
export { Modal as M, MODAL_ROOT as a, ModalRoot as b, ModalFooter as c, ModalHeader as d, ModalBody as e };
|
|
65
|
-
//# sourceMappingURL=bundle-
|
|
65
|
+
//# sourceMappingURL=bundle-Bq3cKfll.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-Bq3cKfll.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as VOICE_RECORDER_AUDIO_SAMPLE_RATE } from './bundle-
|
|
1
|
+
import { d as VOICE_RECORDER_AUDIO_SAMPLE_RATE } from './bundle-DobIp5EF.js';
|
|
2
2
|
import { WavHeader as ut, Mp3Encoder as ht } from '../lame.all.js';
|
|
3
3
|
|
|
4
4
|
// Thanks to https://codesandbox.io/s/media-recorder-api-downsampling-16k-mp3-encode-using-lame-js-forked-n1pblw
|
|
@@ -126,4 +126,4 @@ function bufferToWav(abuffer, len) {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
export { downsampleToWav, encodeMp3 };
|
|
129
|
-
//# sourceMappingURL=bundle-
|
|
129
|
+
//# sourceMappingURL=bundle-BrAHUkpi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-BrAHUkpi.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as __awaiter, b as __generator } from './bundle-
|
|
2
|
-
import { p as pxToNumber } from './bundle-
|
|
1
|
+
import { a as __awaiter, b as __generator } from './bundle-fT16CxUq.js';
|
|
2
|
+
import { p as pxToNumber } from './bundle-CjHWsy4S.js';
|
|
3
3
|
|
|
4
4
|
var compressImage = function (_a) {
|
|
5
5
|
var imageFile = _a.imageFile, compressionRate = _a.compressionRate, resizingWidth = _a.resizingWidth, resizingHeight = _a.resizingHeight, outputFormat = _a.outputFormat;
|
|
@@ -118,4 +118,4 @@ var compressImages = function (_a) { return __awaiter(void 0, [_a], void 0, func
|
|
|
118
118
|
}); };
|
|
119
119
|
|
|
120
120
|
export { compressImages as c };
|
|
121
|
-
//# sourceMappingURL=bundle-
|
|
121
|
+
//# sourceMappingURL=bundle-Bu8UF7z9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-Bu8UF7z9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-BxRMl0NH.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import { _ as __assign, c as __spreadArray, a as __awaiter, b as __generator } from './bundle-
|
|
1
|
+
import { _ as __assign, c as __spreadArray, a as __awaiter, b as __generator } from './bundle-fT16CxUq.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect, useContext, useCallback, useMemo } from 'react';
|
|
3
3
|
import { GroupChannelHandler } from '@sendbird/chat/groupChannel';
|
|
4
4
|
import { GroupChannel } from '../GroupChannel.js';
|
|
5
|
-
import { u as useGroupChannelList, c as GroupChannelListProvider } from './bundle-
|
|
5
|
+
import { u as useGroupChannelList, c as GroupChannelListProvider } from './bundle-_96c-wim.js';
|
|
6
6
|
import { GroupChannelListHeader } from '../GroupChannelList/components/GroupChannelListHeader.js';
|
|
7
7
|
import EditUserProfile from '../EditUserProfile.js';
|
|
8
8
|
import PlaceHolder, { PlaceHolderTypes } from '../ui/PlaceHolder.js';
|
|
9
|
-
import { u as useOnScrollPositionChangeDetector } from './bundle-
|
|
10
|
-
import { u as useSendbird } from './bundle-
|
|
9
|
+
import { u as useOnScrollPositionChangeDetector } from './bundle-Cy88TJjF.js';
|
|
10
|
+
import { u as useSendbird } from './bundle-C98ZxHO9.js';
|
|
11
11
|
import { GroupChannelPreviewAction } from '../GroupChannelList/components/GroupChannelPreviewAction.js';
|
|
12
12
|
import { GroupChannelListItem } from '../GroupChannelList/components/GroupChannelListItem.js';
|
|
13
13
|
import IconButton from '../ui/IconButton.js';
|
|
14
14
|
import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
|
|
15
|
-
import { L as LocalizationContext } from './bundle-
|
|
16
|
-
import { u as useMediaQueryContext } from './bundle-
|
|
17
|
-
import { M as Modal } from './bundle-
|
|
18
|
-
import { L as Label, b as LabelColors, a as LabelTypography } from './bundle-
|
|
15
|
+
import { L as LocalizationContext } from './bundle-CwWHzn0O.js';
|
|
16
|
+
import { u as useMediaQueryContext } from './bundle-DcfQg8Uy.js';
|
|
17
|
+
import { M as Modal } from './bundle-Bq3cKfll.js';
|
|
18
|
+
import { L as Label, b as LabelColors, a as LabelTypography } from './bundle-DzM4yc5s.js';
|
|
19
19
|
import { ButtonTypes } from '../ui/Button.js';
|
|
20
20
|
import { UserListItem } from '../ui/UserListItem.js';
|
|
21
|
-
import { d as deleteNullish, n as noop } from './bundle-
|
|
22
|
-
import { c as createStore, u as useStore, s as shimExports } from './bundle-
|
|
21
|
+
import { d as deleteNullish, n as noop } from './bundle-BxRMl0NH.js';
|
|
22
|
+
import { c as createStore, u as useStore, s as shimExports } from './bundle-VqoQQamR.js';
|
|
23
23
|
import { getCreateGroupChannel, getSdk } from '../sendbirdSelectors.js';
|
|
24
24
|
import '@sendbird/uikit-tools';
|
|
25
|
-
import { u as useVoicePlayerContext, b as ALL } from './bundle-
|
|
25
|
+
import { u as useVoicePlayerContext, b as ALL } from './bundle-aylKVP-t.js';
|
|
26
26
|
import '../VoiceRecorder/context.js';
|
|
27
27
|
import '../hooks/useModal.js';
|
|
28
|
-
import './bundle-
|
|
28
|
+
import './bundle-44QynWoG.js';
|
|
29
29
|
import 'css-vars-ponyfill';
|
|
30
30
|
import '@sendbird/chat';
|
|
31
|
-
import { A as APP_LAYOUT_ROOT } from './bundle-
|
|
31
|
+
import { A as APP_LAYOUT_ROOT } from './bundle-DFwAWoi7.js';
|
|
32
32
|
import '@sendbird/chat/openChannel';
|
|
33
33
|
import 'react-dom';
|
|
34
|
-
import './bundle-
|
|
35
|
-
import './bundle-
|
|
36
|
-
import './bundle-
|
|
37
|
-
import './bundle-
|
|
34
|
+
import './bundle-ByVmmqcj.js';
|
|
35
|
+
import './bundle-Bma0fCyK.js';
|
|
36
|
+
import './bundle-BzEareAP.js';
|
|
37
|
+
import './bundle-DMP4IOmZ.js';
|
|
38
38
|
import '../ui/Header.js';
|
|
39
|
-
import './bundle-
|
|
40
|
-
import './bundle-
|
|
39
|
+
import './bundle-CIlc1dvT.js';
|
|
40
|
+
import './bundle-DQu3BLLd.js';
|
|
41
41
|
import '../ui/MessageInput.js';
|
|
42
|
-
import './bundle-
|
|
42
|
+
import './bundle-BQqf09uI.js';
|
|
43
43
|
import '../ui/ReactionButton.js';
|
|
44
44
|
import '../ui/ReactionBadge.js';
|
|
45
|
-
import './bundle-
|
|
45
|
+
import './bundle-CJX5Jh7u.js';
|
|
46
46
|
import '../Message/context.js';
|
|
47
|
-
import './bundle-
|
|
47
|
+
import './bundle-yydYieYt.js';
|
|
48
48
|
import '@sendbird/chat/message';
|
|
49
49
|
import '../ui/ThreadReplies.js';
|
|
50
|
-
import './bundle-
|
|
50
|
+
import './bundle-DwoUKI2F.js';
|
|
51
51
|
import '../ui/TemplateMessageItemBody.js';
|
|
52
52
|
import '../ui/FeedbackIconButton.js';
|
|
53
53
|
import '../ui/Input.js';
|
|
54
54
|
import '../ui/MessageContent.js';
|
|
55
|
-
import './bundle-
|
|
55
|
+
import './bundle-B3Vz_eYg.js';
|
|
56
56
|
import '../GroupChannel/components/MessageList.js';
|
|
57
|
-
import './bundle-
|
|
57
|
+
import './bundle-BS8MSmBM.js';
|
|
58
58
|
import '../EditUserProfile/context.js';
|
|
59
59
|
import '../Channel/context.js';
|
|
60
|
-
import { u as useChannelListContext, S as SET_CURRENT_CHANNEL, L as LEAVE_CHANNEL_SUCCESS, C as ChannelListProvider } from './bundle-
|
|
61
|
-
import './bundle-
|
|
60
|
+
import { u as useChannelListContext, S as SET_CURRENT_CHANNEL, L as LEAVE_CHANNEL_SUCCESS, C as ChannelListProvider } from './bundle-7K78yrCU.js';
|
|
61
|
+
import './bundle-DcYwBbme.js';
|
|
62
62
|
import '../ChannelSettings/hooks/useMenuList.js';
|
|
63
|
-
import './bundle-
|
|
64
|
-
import './bundle-
|
|
65
|
-
import './bundle-
|
|
63
|
+
import './bundle-QdDm0lM_.js';
|
|
64
|
+
import './bundle-H_Psj481.js';
|
|
65
|
+
import './bundle-CznW00mg.js';
|
|
66
66
|
import '../Thread/context/types.js';
|
|
67
67
|
import '../utils/message/getOutgoingMessageState.js';
|
|
68
68
|
import 'date-fns';
|
|
@@ -72,8 +72,8 @@ import ChannelPreview from '../ChannelList/components/ChannelPreview.js';
|
|
|
72
72
|
import ChannelSettings from '../ChannelSettings.js';
|
|
73
73
|
import MessageSearchPannel from '../MessageSearch.js';
|
|
74
74
|
import Thread from '../Thread.js';
|
|
75
|
-
import { u as uuidv4 } from './bundle-
|
|
76
|
-
import './bundle-
|
|
75
|
+
import { u as uuidv4 } from './bundle-DnBGqmRP.js';
|
|
76
|
+
import './bundle-CFHEY2p4.js';
|
|
77
77
|
import '../OpenChannel/components/OpenChannelInput.js';
|
|
78
78
|
import '../OpenChannel/components/OpenChannelMessageList.js';
|
|
79
79
|
import '../OpenChannelSettings/context.js';
|
|
@@ -757,4 +757,4 @@ var MobileLayout = function (props) {
|
|
|
757
757
|
};
|
|
758
758
|
|
|
759
759
|
export { AddGroupChannel as A, ChannelList as C, GroupChannelList as G, InviteUsers as I, MobileLayout as M, SelectChannelType as S, CreateChannelProvider as a, CreateChannelContext as b, useCreateChannelContext as c, CreateChannel$1 as d, CreateChannel as e, GroupChannelListUI as f, AddChannel as g, ChannelListUI as h, useCreateChannel as u };
|
|
760
|
-
//# sourceMappingURL=bundle-
|
|
760
|
+
//# sourceMappingURL=bundle-ByScbYGt.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-ByScbYGt.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as __spreadArray, _ as __assign } from './bundle-
|
|
1
|
+
import { c as __spreadArray, _ as __assign } from './bundle-fT16CxUq.js';
|
|
2
2
|
import { GroupChannelListOrder } from '@sendbird/chat/groupChannel';
|
|
3
3
|
import { OutgoingMessageStates, getOutgoingMessageState } from '../utils/message/getOutgoingMessageState.js';
|
|
4
|
-
import { a as isSafari } from './bundle-
|
|
5
|
-
import { K } from './bundle-
|
|
6
|
-
import { r as requiredArgs, t as toDate } from './bundle-
|
|
7
|
-
import { M as MESSAGE_TEMPLATE_KEY } from './bundle-
|
|
4
|
+
import { a as isSafari } from './bundle-CqUk0XXd.js';
|
|
5
|
+
import { K } from './bundle-yydYieYt.js';
|
|
6
|
+
import { r as requiredArgs, t as toDate } from './bundle-DArDRDUr.js';
|
|
7
|
+
import { M as MESSAGE_TEMPLATE_KEY } from './bundle-DobIp5EF.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @name startOfSecond
|
|
@@ -273,6 +273,9 @@ var isMultipleFilesMessage = function (message) { return (message && (message['i
|
|
|
273
273
|
: (message.messageType === 'file'
|
|
274
274
|
&& Object.prototype.hasOwnProperty.call(message, 'fileInfoList')))); };
|
|
275
275
|
var isThreadMessage = function (message) { return (!!message.parentMessageId && !!message.parentMessage); };
|
|
276
|
+
/**
|
|
277
|
+
* @deprecated This feature is deprecated and will be removed in May 2026.
|
|
278
|
+
*/
|
|
276
279
|
var isFormMessage = function (message) { return !!(message.messageForm); };
|
|
277
280
|
var isTemplateMessage = function (message) {
|
|
278
281
|
var _a;
|
|
@@ -829,4 +832,4 @@ var isDefaultChannelName = function (channel) {
|
|
|
829
832
|
};
|
|
830
833
|
|
|
831
834
|
export { filterChannelListParams as $, getUIKitFileTypes as A, isGif as B, copyToClipboard as C, convertWordToStringObj as D, isTemplateMessage as E, isAudio as F, isVoiceMessageMimeType as G, isSentStatus as H, arrayEqual as I, getMimeTypesUIKitAccepts as J, isImageMessage as K, isImageFileInfo as L, isAudioMessage as M, isOGMessage as N, getHTMLTextDirection as O, uiContainerType as P, isFormMessage as Q, isValidTemplateMessageType as R, StringObjType as S, isThreadMessage as T, UIKitMessageTypes as U, getEmojiListAll as V, getEmojiUrl as W, isReactedBy as X, getEmojiTooltipString as Y, getEmojiMapAll as Z, isTextMessage as _, isDefaultChannelName as a, getChannelsWithUpsertedChannel as a0, isChannelJustCreated as a1, filterMessageListParams as a2, isAdminMessage as b, isReadMessage as c, isFileMessage as d, isMultipleFilesMessage as e, isEditedMessage as f, getSuggestedReplies as g, getSenderName as h, isVoiceMessage as i, isSupportedFileView as j, isVideo as k, isImage as l, isSendableMessage as m, isUserMessage as n, getUIKitMessageType as o, getUIKitMessageTypes as p, getUIKitFileType as q, isThumbnailMessage as r, isSentMessage as s, truncateString as t, isVideoMessage as u, isGifMessage as v, getEmojiListByCategoryIds as w, isPendingMessage as x, isFailedMessage as y, getClassName as z };
|
|
832
|
-
//# sourceMappingURL=bundle-
|
|
835
|
+
//# sourceMappingURL=bundle-ByVmmqcj.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bundle-
|
|
1
|
+
{"version":3,"file":"bundle-ByVmmqcj.js","sources":["../../node_modules/date-fns/esm/startOfSecond/index.js","../../node_modules/date-fns/esm/isSameSecond/index.js"],"sourcesContent":["import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfSecond\n * @category Second Helpers\n * @summary Return the start of a second for the given date.\n *\n * @description\n * Return the start of a second for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a second\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a second for 1 December 2014 22:15:45.400:\n * const result = startOfSecond(new Date(2014, 11, 1, 22, 15, 45, 400))\n * //=> Mon Dec 01 2014 22:15:45.000\n */\nexport default function startOfSecond(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setMilliseconds(0);\n return date;\n}","import startOfSecond from \"../startOfSecond/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameSecond\n * @category Second Helpers\n * @summary Are the given dates in the same second (and hour and day)?\n *\n * @description\n * Are the given dates in the same second (and hour and day)?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same second (and hour and day)\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500 in the same second?\n * const result = isSameSecond(\n * new Date(2014, 8, 4, 6, 30, 15),\n * new Date(2014, 8, 4, 6, 30, 15, 500)\n * )\n * //=> true\n *\n * @example\n * // Are 4 September 2014 06:00:15.000 and 4 September 2014 06:01.15.000 in the same second?\n * const result = isSameSecond(\n * new Date(2014, 8, 4, 6, 0, 15),\n * new Date(2014, 8, 4, 6, 1, 15)\n * )\n * //=> false\n *\n * @example\n * // Are 4 September 2014 06:00:15.000 and 5 September 2014 06:00.15.000 in the same second?\n * const result = isSameSecond(\n * new Date(2014, 8, 4, 6, 0, 15),\n * new Date(2014, 8, 5, 6, 0, 15)\n * )\n * //=> false\n */\nexport default function isSameSecond(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeftStartOfSecond = startOfSecond(dirtyDateLeft);\n var dateRightStartOfSecond = startOfSecond(dirtyDateRight);\n return dateLeftStartOfSecond.getTime() === dateRightStartOfSecond.getTime();\n}"],"names":[],"mappings":";;;;;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,aAAa,CAAC,SAAS,EAAE;AACjD,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;AAC1B,EAAE,OAAO,IAAI,CAAC;AACd;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,YAAY,CAAC,aAAa,EAAE,cAAc,EAAE;AACpE,EAAE,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,CAAC;AAC3D,EAAE,IAAI,sBAAsB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC;AAC7D,EAAE,OAAO,qBAAqB,CAAC,OAAO,EAAE,KAAK,sBAAsB,CAAC,OAAO,EAAE,CAAC;AAC9E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-BzEareAP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React__default, { useCallback, useEffect, useContext, useReducer } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { u as
|
|
2
|
+
import { OpenChannelHandler } from '@sendbird/chat/openChannel';
|
|
3
|
+
import { p as pubSubTopics } from './bundle-B3Vz_eYg.js';
|
|
4
|
+
import { u as uuidv4 } from './bundle-DnBGqmRP.js';
|
|
5
|
+
import { _ as __assign, c as __spreadArray } from './bundle-fT16CxUq.js';
|
|
6
|
+
import { u as useSendbird } from './bundle-C98ZxHO9.js';
|
|
5
7
|
|
|
6
8
|
var OpenChannelListFetchingStatus;
|
|
7
9
|
(function (OpenChannelListFetchingStatus) {
|
|
@@ -25,11 +27,12 @@ var OpenChannelListActionTypes;
|
|
|
25
27
|
OpenChannelListActionTypes["SET_CURRENT_OPEN_CHANNEL"] = "SET_CURRENT_OPEN_CHANNEL";
|
|
26
28
|
OpenChannelListActionTypes["UPDATE_OPEN_CHANNEL_LIST_QUERY"] = "UPDATE_OPEN_CHANNEL_LIST_QUERY";
|
|
27
29
|
OpenChannelListActionTypes["UPDATE_OPEN_CHANNEL"] = "UPDATE_OPEN_CHANNEL";
|
|
30
|
+
OpenChannelListActionTypes["DELETE_OPEN_CHANNEL"] = "DELETE_OPEN_CHANNEL";
|
|
28
31
|
})(OpenChannelListActionTypes || (OpenChannelListActionTypes = {}));
|
|
29
32
|
var OpenChannelListActionTypes$1 = OpenChannelListActionTypes;
|
|
30
33
|
|
|
31
34
|
function reducer(state, action) {
|
|
32
|
-
var _a, _b;
|
|
35
|
+
var _a, _b, _c;
|
|
33
36
|
switch (action.type) {
|
|
34
37
|
case OpenChannelListActionTypes$1.INIT_OPEN_CHANNEL_LIST_START: {
|
|
35
38
|
return __assign(__assign({}, state), { fetchingStatus: OpenChannelListFetchingStatus.FETCHING });
|
|
@@ -72,6 +75,11 @@ function reducer(state, action) {
|
|
|
72
75
|
? state.currentChannel
|
|
73
76
|
: action.payload });
|
|
74
77
|
}
|
|
78
|
+
case OpenChannelListActionTypes$1.DELETE_OPEN_CHANNEL: {
|
|
79
|
+
var channelUrl_1 = action.payload;
|
|
80
|
+
var updatedChannels = state.allChannels.filter(function (channel) { return (channel === null || channel === void 0 ? void 0 : channel.url) !== channelUrl_1; });
|
|
81
|
+
return __assign(__assign({}, state), { allChannels: updatedChannels, currentChannel: ((_c = state.currentChannel) === null || _c === void 0 ? void 0 : _c.url) === channelUrl_1 ? null : state.currentChannel });
|
|
82
|
+
}
|
|
75
83
|
default: {
|
|
76
84
|
return state;
|
|
77
85
|
}
|
|
@@ -294,6 +302,30 @@ var OpenChannelListProvider = function (_a) {
|
|
|
294
302
|
subscriber.forEach(function (it) { return it === null || it === void 0 ? void 0 : it.remove(); });
|
|
295
303
|
};
|
|
296
304
|
}, [sdkInitialized, pubSub === null || pubSub === void 0 ? void 0 : pubSub.subscribe]);
|
|
305
|
+
// Channel event handler for deletion
|
|
306
|
+
useEffect(function () {
|
|
307
|
+
var _a;
|
|
308
|
+
var channelHandlerId = uuidv4();
|
|
309
|
+
if (sdkInitialized && ((_a = sdk === null || sdk === void 0 ? void 0 : sdk.openChannel) === null || _a === void 0 ? void 0 : _a.addOpenChannelHandler)) {
|
|
310
|
+
var channelHandler = new OpenChannelHandler({
|
|
311
|
+
onChannelDeleted: function (channelUrl) {
|
|
312
|
+
logger.info('OpenChannelList: onChannelDeleted', channelUrl);
|
|
313
|
+
openChannelListDispatcher({
|
|
314
|
+
type: OpenChannelListActionTypes$1.DELETE_OPEN_CHANNEL,
|
|
315
|
+
payload: channelUrl,
|
|
316
|
+
});
|
|
317
|
+
},
|
|
318
|
+
});
|
|
319
|
+
sdk.openChannel.addOpenChannelHandler(channelHandlerId, channelHandler);
|
|
320
|
+
logger.info('OpenChannelList: Added channel handler', channelHandlerId);
|
|
321
|
+
}
|
|
322
|
+
return function () {
|
|
323
|
+
var _a;
|
|
324
|
+
if ((_a = sdk === null || sdk === void 0 ? void 0 : sdk.openChannel) === null || _a === void 0 ? void 0 : _a.removeOpenChannelHandler) {
|
|
325
|
+
sdk.openChannel.removeOpenChannelHandler(channelHandlerId);
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
}, [sdkInitialized]);
|
|
297
329
|
// Fetch next channels by scroll event
|
|
298
330
|
var fetchNextChannels = useFetchNextCallback({
|
|
299
331
|
sdkInitialized: sdkInitialized,
|
|
@@ -332,4 +364,4 @@ var OpenChannelListProvider$1 = {
|
|
|
332
364
|
};
|
|
333
365
|
|
|
334
366
|
export { OpenChannelListProvider as O, OpenChannelListFetchingStatus as a, OpenChannelListActionTypes$1 as b, OpenChannelListProvider$1 as c, useOpenChannelListContext as u };
|
|
335
|
-
//# sourceMappingURL=bundle-
|
|
367
|
+
//# sourceMappingURL=bundle-C-cNHvb3.js.map
|