@sendbird/uikit-react 3.13.2-rc.0 → 3.14.0-beta
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 +76 -76
- package/CHANGELOG.md +8 -0
- package/Channel/components/ChannelHeader.js +29 -29
- package/Channel/components/ChannelUI.js +64 -64
- package/Channel/components/FileViewer.js +28 -28
- package/Channel/components/FrozenNotification.js +5 -5
- package/Channel/components/Message.js +54 -53
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageFeedbackModal.js +9 -9
- package/Channel/components/MessageInput.js +41 -41
- package/Channel/components/MessageInputWrapper.js +41 -41
- package/Channel/components/MessageList.js +57 -57
- package/Channel/components/RemoveMessageModal.js +27 -27
- package/Channel/components/SuggestedMentionList.js +27 -27
- package/Channel/components/TypingIndicator.js +6 -6
- package/Channel/components/UnreadCount.js +7 -7
- package/Channel/context.js +19 -19
- package/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/Channel/utils/getMessagePartsInfo.js +6 -6
- package/Channel.js +64 -64
- package/ChannelList/components/AddChannel.js +20 -20
- package/ChannelList/components/ChannelListHeader.js +8 -8
- package/ChannelList/components/ChannelListUI.js +34 -34
- package/ChannelList/components/ChannelPreview.js +27 -27
- package/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/ChannelList/context.js +10 -10
- package/ChannelList.js +34 -34
- package/ChannelSettings/components/ChannelProfile.js +14 -14
- package/ChannelSettings/components/ChannelSettingsHeader.js +6 -6
- package/ChannelSettings/components/ChannelSettingsUI.js +23 -23
- package/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +21 -21
- package/ChannelSettings/components/UserListItem.js +13 -13
- package/ChannelSettings/components/UserPanel.js +20 -20
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +23 -23
- package/CreateChannel/components/CreateChannelUI.js +16 -16
- package/CreateChannel/components/InviteUsers.js +16 -16
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +16 -16
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +11 -11
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile.js +12 -12
- package/GroupChannel/components/FileViewer.js +23 -23
- package/GroupChannel/components/FrozenNotification.js +5 -5
- package/GroupChannel/components/GroupChannelHeader.js +22 -22
- package/GroupChannel/components/GroupChannelUI.js +59 -59
- package/GroupChannel/components/Message.js +51 -50
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +38 -38
- package/GroupChannel/components/MessageList.js +52 -52
- package/GroupChannel/components/RemoveMessageModal.js +22 -22
- package/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/GroupChannel/components/TypingIndicator.js +6 -6
- package/GroupChannel/components/UnreadCount.js +7 -7
- package/GroupChannel/context.js +11 -11
- package/GroupChannel.js +59 -59
- package/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/GroupChannelList/context.js +5 -5
- package/GroupChannelList.js +33 -33
- package/MessageSearch/components/MessageSearchUI.js +14 -14
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +14 -14
- package/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/OpenChannel/components/OpenChannelInput.js +25 -25
- package/OpenChannel/components/OpenChannelMessage.js +35 -35
- package/OpenChannel/components/OpenChannelMessageList.js +39 -39
- package/OpenChannel/components/OpenChannelUI.js +39 -39
- package/OpenChannel/context.js +17 -17
- package/OpenChannel.js +39 -39
- package/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +14 -14
- package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +19 -19
- package/SendbirdProvider.js +103 -73
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +42 -42
- package/Thread/components/ParentMessageInfoItem.js +28 -28
- package/Thread/components/ThreadHeader.js +7 -7
- package/Thread/components/ThreadList.js +46 -46
- package/Thread/components/ThreadListItem.js +46 -46
- package/Thread/components/ThreadMessageInput.js +42 -42
- package/Thread/components/ThreadUI.js +56 -56
- package/Thread/context.js +9 -9
- package/Thread.js +56 -56
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +10 -10
- package/VoiceRecorder/context.js +10 -10
- package/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/chunks/{bundle-_9XBB-ZS.js → bundle-1IYchI7A.js} +2 -2
- package/chunks/bundle-1IYchI7A.js.map +1 -0
- package/chunks/{bundle-BnG5XETL.js → bundle-33BY7XhN.js} +8 -7
- package/chunks/bundle-33BY7XhN.js.map +1 -0
- package/chunks/{bundle-Ds5aQSz-.js → bundle-4YHx3jhU.js} +1 -1
- package/chunks/bundle-4YHx3jhU.js.map +1 -0
- package/chunks/{bundle-DRpQlFMu.js → bundle-7DqcfMUP.js} +1 -1
- package/chunks/bundle-7DqcfMUP.js.map +1 -0
- package/chunks/{bundle-CeN11uF4.js → bundle-B-5nMQI8.js} +10 -10
- package/chunks/bundle-B-5nMQI8.js.map +1 -0
- package/chunks/{bundle-C8Oe5QOQ.js → bundle-B0A-GTy2.js} +1 -1
- package/chunks/bundle-B0A-GTy2.js.map +1 -0
- package/chunks/{bundle-wKPuxvL-.js → bundle-B0hUzTR9.js} +1 -1
- package/chunks/bundle-B0hUzTR9.js.map +1 -0
- package/chunks/{bundle-CwQ5U5f7.js → bundle-B9rl4lBQ.js} +11 -11
- package/chunks/{bundle-CwQ5U5f7.js.map → bundle-B9rl4lBQ.js.map} +1 -1
- package/chunks/{bundle-Czh0_N3j.js → bundle-BE6Zgv3s.js} +1 -1
- package/chunks/bundle-BE6Zgv3s.js.map +1 -0
- package/chunks/{bundle-Cs0ZtBj7.js → bundle-BE9YtwxF.js} +1 -1
- package/chunks/bundle-BE9YtwxF.js.map +1 -0
- package/chunks/{bundle-CvvqaAH_.js → bundle-BFLCbnVa.js} +4 -4
- package/chunks/{bundle-CvvqaAH_.js.map → bundle-BFLCbnVa.js.map} +1 -1
- package/chunks/{bundle-Dj5aDnzf.js → bundle-BGPVh26h.js} +2 -2
- package/chunks/{bundle-Dj5aDnzf.js.map → bundle-BGPVh26h.js.map} +1 -1
- package/chunks/{bundle-6n4c-yxi.js → bundle-BRSrznG_.js} +1 -1
- package/chunks/bundle-BRSrznG_.js.map +1 -0
- package/chunks/{bundle-DcZ6VbHw.js → bundle-BYjHDpcR.js} +3 -3
- package/chunks/bundle-BYjHDpcR.js.map +1 -0
- package/chunks/{bundle-DlHY-98U.js → bundle-BcfbcVVS.js} +1 -1
- package/chunks/bundle-BcfbcVVS.js.map +1 -0
- package/chunks/{bundle-CAdKFBfs.js → bundle-BdJeQIAi.js} +1 -1
- package/chunks/bundle-BdJeQIAi.js.map +1 -0
- package/chunks/{bundle-D1vFAfKb.js → bundle-BdnV2Mq3.js} +3 -3
- package/chunks/{bundle-D1vFAfKb.js.map → bundle-BdnV2Mq3.js.map} +1 -1
- package/chunks/{bundle-BbEkZYpE.js → bundle-BegOh-X0.js} +1 -1
- package/chunks/bundle-BegOh-X0.js.map +1 -0
- package/chunks/{bundle-CWxzg5Gh.js → bundle-Bhs7U8wE.js} +2 -2
- package/chunks/{bundle-CWxzg5Gh.js.map → bundle-Bhs7U8wE.js.map} +1 -1
- package/chunks/{bundle-FDedpAl7.js → bundle-BiOWvuqq.js} +2 -2
- package/chunks/{bundle-FDedpAl7.js.map → bundle-BiOWvuqq.js.map} +1 -1
- package/chunks/{bundle-6c04eWHT.js → bundle-BjbYgCW9.js} +1 -1
- package/chunks/bundle-BjbYgCW9.js.map +1 -0
- package/chunks/{bundle-97fd4oe2.js → bundle-BkNNtN1V.js} +3 -3
- package/chunks/bundle-BkNNtN1V.js.map +1 -0
- package/chunks/{bundle-CPRA25ls.js → bundle-Blu2Cp4C.js} +1 -1
- package/chunks/{bundle-CPRA25ls.js.map → bundle-Blu2Cp4C.js.map} +1 -1
- package/chunks/{bundle-B4CUv14M.js → bundle-Bm9cdQdy.js} +1 -1
- package/chunks/bundle-Bm9cdQdy.js.map +1 -0
- package/chunks/{bundle-DMQ1a9pl.js → bundle-BnLycG5g.js} +4 -4
- package/chunks/{bundle-DMQ1a9pl.js.map → bundle-BnLycG5g.js.map} +1 -1
- package/chunks/{bundle-DkTxVi3R.js → bundle-Bo4dNQtg.js} +3 -3
- package/chunks/{bundle-DkTxVi3R.js.map → bundle-Bo4dNQtg.js.map} +1 -1
- package/chunks/{bundle-CCx8yXVd.js → bundle-BqL00V4c.js} +58 -4
- package/chunks/{bundle-CCx8yXVd.js.map → bundle-BqL00V4c.js.map} +1 -1
- package/chunks/{bundle-CQxSmK2v.js → bundle-Bumce6iI.js} +1 -1
- package/chunks/bundle-Bumce6iI.js.map +1 -0
- package/chunks/{bundle-eNe8jUiS.js → bundle-BydX5Gik.js} +1 -1
- package/chunks/{bundle-eNe8jUiS.js.map → bundle-BydX5Gik.js.map} +1 -1
- package/chunks/{bundle-LUBbQW82.js → bundle-Byxn68mh.js} +1 -1
- package/chunks/{bundle-LUBbQW82.js.map → bundle-Byxn68mh.js.map} +1 -1
- package/chunks/{bundle-C0risNHg.js → bundle-BzmY6Ioa.js} +6 -6
- package/chunks/bundle-BzmY6Ioa.js.map +1 -0
- package/chunks/{bundle-lYawLy67.js → bundle-C-gNLxiH.js} +4 -4
- package/chunks/bundle-C-gNLxiH.js.map +1 -0
- package/chunks/{bundle-L4mF-vqf.js → bundle-C00KC3uY.js} +4 -4
- package/chunks/bundle-C00KC3uY.js.map +1 -0
- package/chunks/{bundle-CkCkzFFu.js → bundle-C1UCPEjT.js} +1 -1
- package/chunks/bundle-C1UCPEjT.js.map +1 -0
- package/chunks/{bundle-Cbgk06HJ.js → bundle-CJBaJoMx.js} +7 -7
- package/chunks/{bundle-Cbgk06HJ.js.map → bundle-CJBaJoMx.js.map} +1 -1
- package/chunks/{bundle-C5C8XKZl.js → bundle-CJxhCCYf.js} +8 -8
- package/chunks/{bundle-C5C8XKZl.js.map → bundle-CJxhCCYf.js.map} +1 -1
- package/chunks/{bundle-jYzea4Ke.js → bundle-CKqBhRZh.js} +1 -1
- package/chunks/{bundle-jYzea4Ke.js.map → bundle-CKqBhRZh.js.map} +1 -1
- package/chunks/{bundle-vVxTsDkS.js → bundle-CPlEjTQQ.js} +3 -3
- package/chunks/bundle-CPlEjTQQ.js.map +1 -0
- package/chunks/{bundle-CvuK4Gl-.js → bundle-CSIi4GHQ.js} +1 -1
- package/chunks/bundle-CSIi4GHQ.js.map +1 -0
- package/chunks/{bundle-BiQds65K.js → bundle-CT8aJQs5.js} +4 -4
- package/chunks/{bundle-BiQds65K.js.map → bundle-CT8aJQs5.js.map} +1 -1
- package/chunks/{bundle-B_5nSVDN.js → bundle-CWPkjiZ7.js} +1 -1
- package/chunks/bundle-CWPkjiZ7.js.map +1 -0
- package/chunks/{bundle-D4kbZg4e.js → bundle-CWvAVk8m.js} +1 -1
- package/chunks/bundle-CWvAVk8m.js.map +1 -0
- package/chunks/{bundle-gO4JLOKo.js → bundle-CZbk43my.js} +3 -3
- package/chunks/{bundle-gO4JLOKo.js.map → bundle-CZbk43my.js.map} +1 -1
- package/chunks/{bundle-b4p8k2uf.js → bundle-CbKfkHfl.js} +1 -1
- package/chunks/bundle-CbKfkHfl.js.map +1 -0
- package/chunks/{bundle-BCeNaIWw.js → bundle-Cbag41eX.js} +3 -3
- package/chunks/bundle-Cbag41eX.js.map +1 -0
- package/chunks/{bundle-aAoUY1dC.js → bundle-CfcTsxlD.js} +1 -1
- package/chunks/{bundle-aAoUY1dC.js.map → bundle-CfcTsxlD.js.map} +1 -1
- package/chunks/{bundle-Bjr0f1Zp.js → bundle-CquJpe2n.js} +2 -2
- package/chunks/{bundle-Bjr0f1Zp.js.map → bundle-CquJpe2n.js.map} +1 -1
- package/chunks/{bundle-BGdbKz3x.js → bundle-CsV5Pqhn.js} +1 -1
- package/chunks/bundle-CsV5Pqhn.js.map +1 -0
- package/chunks/{bundle-BTAzxMsc.js → bundle-D01F_So9.js} +10 -10
- package/chunks/{bundle-BTAzxMsc.js.map → bundle-D01F_So9.js.map} +1 -1
- package/chunks/{bundle-CanFPW6u.js → bundle-D4vlYCrG.js} +1 -1
- package/chunks/bundle-D4vlYCrG.js.map +1 -0
- package/chunks/{bundle-Cg7eHJV0.js → bundle-D87WTORg.js} +3 -3
- package/chunks/bundle-D87WTORg.js.map +1 -0
- package/chunks/{bundle-caD0Cpiq.js → bundle-DEPqhDQk.js} +1 -1
- package/chunks/bundle-DEPqhDQk.js.map +1 -0
- package/chunks/{bundle-BTrdwUY4.js → bundle-DEsGEQb8.js} +10 -10
- package/chunks/{bundle-BTrdwUY4.js.map → bundle-DEsGEQb8.js.map} +1 -1
- package/chunks/{bundle-CzNavr80.js → bundle-DGSAqfvK.js} +3 -3
- package/chunks/{bundle-CzNavr80.js.map → bundle-DGSAqfvK.js.map} +1 -1
- package/chunks/{bundle-C3mD4WPX.js → bundle-DKctNGC2.js} +5 -5
- package/chunks/{bundle-C3mD4WPX.js.map → bundle-DKctNGC2.js.map} +1 -1
- package/chunks/{bundle-D1DIGSmr.js → bundle-DM3wUgvd.js} +1 -1
- package/chunks/bundle-DM3wUgvd.js.map +1 -0
- package/chunks/{bundle-DBy3c8gM.js → bundle-DPsySdlV.js} +2 -2
- package/chunks/bundle-DPsySdlV.js.map +1 -0
- package/chunks/{bundle-DlBu0K2F.js → bundle-DR5lvmY_.js} +2 -2
- package/chunks/bundle-DR5lvmY_.js.map +1 -0
- package/chunks/{bundle-DsU79j1A.js → bundle-DTniwDWL.js} +8 -8
- package/chunks/{bundle-DsU79j1A.js.map → bundle-DTniwDWL.js.map} +1 -1
- package/chunks/{bundle-gSigJ2qv.js → bundle-DW2UIt7g.js} +1 -1
- package/chunks/bundle-DW2UIt7g.js.map +1 -0
- package/chunks/{bundle-C5ygMhyk.js → bundle-DaAps-h8.js} +1 -1
- package/chunks/bundle-DaAps-h8.js.map +1 -0
- package/chunks/{bundle-D4mHGcWb.js → bundle-DbWpPftJ.js} +5 -5
- package/chunks/bundle-DbWpPftJ.js.map +1 -0
- package/chunks/{bundle-Bsh5KSxb.js → bundle-Dcg5UJZ5.js} +1 -1
- package/chunks/bundle-Dcg5UJZ5.js.map +1 -0
- package/chunks/{bundle-Cxjgwfwy.js → bundle-Df7uYu02.js} +10 -10
- package/chunks/bundle-Df7uYu02.js.map +1 -0
- package/chunks/{bundle-B4EY2YKu.js → bundle-DfhDmd9y.js} +1 -1
- package/chunks/bundle-DfhDmd9y.js.map +1 -0
- package/chunks/{bundle-BY9JnLew.js → bundle-Dm1_TUsQ.js} +7 -7
- package/chunks/{bundle-BY9JnLew.js.map → bundle-Dm1_TUsQ.js.map} +1 -1
- package/chunks/{bundle-pISqEqOe.js → bundle-DnX0-Kjr.js} +3 -3
- package/chunks/{bundle-pISqEqOe.js.map → bundle-DnX0-Kjr.js.map} +1 -1
- package/chunks/{bundle-CE_8gK7h.js → bundle-DqPWGoAJ.js} +6 -6
- package/chunks/bundle-DqPWGoAJ.js.map +1 -0
- package/chunks/{bundle-BQntI2YH.js → bundle-DrKv7qiU.js} +6 -6
- package/chunks/bundle-DrKv7qiU.js.map +1 -0
- package/chunks/{bundle-CeNRu1nh.js → bundle-DyaS04Hg.js} +5 -4
- package/chunks/bundle-DyaS04Hg.js.map +1 -0
- package/chunks/{bundle-CQhhBQgY.js → bundle-DzD5ZPeu.js} +4 -4
- package/chunks/bundle-DzD5ZPeu.js.map +1 -0
- package/chunks/{bundle-DbYE20Ij.js → bundle-FBDSQPhI.js} +14 -14
- package/chunks/{bundle-DbYE20Ij.js.map → bundle-FBDSQPhI.js.map} +1 -1
- package/chunks/{bundle-2qPS-99f.js → bundle-O8OKcGsA.js} +1 -1
- package/chunks/bundle-O8OKcGsA.js.map +1 -0
- package/chunks/{bundle-CHaqW2Sj.js → bundle-PoeV4u5o.js} +5 -5
- package/chunks/{bundle-CHaqW2Sj.js.map → bundle-PoeV4u5o.js.map} +1 -1
- package/chunks/{bundle-LIsneT-k.js → bundle-Ti1Y75Dm.js} +2 -2
- package/chunks/bundle-Ti1Y75Dm.js.map +1 -0
- package/chunks/{bundle-0Xv23Jlo.js → bundle-VAV0nvVl.js} +1 -1
- package/chunks/{bundle-0Xv23Jlo.js.map → bundle-VAV0nvVl.js.map} +1 -1
- package/chunks/{bundle-BPKrwLVZ.js → bundle-WT4kbHBE.js} +11 -11
- package/chunks/{bundle-BPKrwLVZ.js.map → bundle-WT4kbHBE.js.map} +1 -1
- package/chunks/{bundle-B24GwCXx.js → bundle-ZJcHeU_o.js} +5 -5
- package/chunks/bundle-ZJcHeU_o.js.map +1 -0
- package/chunks/{bundle-DarlDWy7.js → bundle-f6zTWcHL.js} +2 -2
- package/chunks/bundle-f6zTWcHL.js.map +1 -0
- package/chunks/{bundle-OJu5PM7q.js → bundle-moA7aUUB.js} +1 -1
- package/chunks/bundle-moA7aUUB.js.map +1 -0
- package/chunks/{bundle-DCXp9q80.js → bundle-tL7Z4efR.js} +2 -2
- package/chunks/{bundle-DCXp9q80.js.map → bundle-tL7Z4efR.js.map} +1 -1
- package/cjs/App.js +76 -76
- package/cjs/Channel/components/ChannelHeader.js +29 -29
- package/cjs/Channel/components/ChannelUI.js +64 -64
- package/cjs/Channel/components/FileViewer.js +28 -28
- package/cjs/Channel/components/FrozenNotification.js +5 -5
- package/cjs/Channel/components/Message.js +54 -53
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageFeedbackModal.js +9 -9
- package/cjs/Channel/components/MessageInput.js +41 -41
- package/cjs/Channel/components/MessageInputWrapper.js +41 -41
- package/cjs/Channel/components/MessageList.js +58 -58
- package/cjs/Channel/components/RemoveMessageModal.js +27 -27
- package/cjs/Channel/components/SuggestedMentionList.js +27 -27
- package/cjs/Channel/components/TypingIndicator.js +6 -6
- package/cjs/Channel/components/UnreadCount.js +7 -7
- package/cjs/Channel/context.js +19 -19
- package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -6
- package/cjs/Channel/utils/compareMessagesForGrouping.js +5 -5
- package/cjs/Channel/utils/getMessagePartsInfo.js +6 -6
- package/cjs/Channel.js +64 -64
- package/cjs/ChannelList/components/AddChannel.js +20 -20
- package/cjs/ChannelList/components/ChannelListHeader.js +8 -8
- package/cjs/ChannelList/components/ChannelListUI.js +34 -34
- package/cjs/ChannelList/components/ChannelPreview.js +27 -27
- package/cjs/ChannelList/components/ChannelPreviewAction.js +11 -11
- package/cjs/ChannelList/context.js +10 -10
- package/cjs/ChannelList.js +34 -34
- package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +6 -6
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +23 -23
- package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +21 -21
- package/cjs/ChannelSettings/components/UserListItem.js +13 -13
- package/cjs/ChannelSettings/components/UserPanel.js +20 -20
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +23 -23
- package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
- package/cjs/CreateChannel/components/InviteUsers.js +16 -16
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +16 -16
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +11 -11
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile.js +12 -12
- package/cjs/GroupChannel/components/FileViewer.js +23 -23
- package/cjs/GroupChannel/components/FrozenNotification.js +5 -5
- package/cjs/GroupChannel/components/GroupChannelHeader.js +22 -22
- package/cjs/GroupChannel/components/GroupChannelUI.js +59 -59
- package/cjs/GroupChannel/components/Message.js +51 -50
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +37 -37
- package/cjs/GroupChannel/components/MessageList.js +53 -53
- package/cjs/GroupChannel/components/RemoveMessageModal.js +22 -22
- package/cjs/GroupChannel/components/SuggestedMentionList.js +12 -12
- package/cjs/GroupChannel/components/TypingIndicator.js +6 -6
- package/cjs/GroupChannel/components/UnreadCount.js +7 -7
- package/cjs/GroupChannel/context.js +11 -11
- package/cjs/GroupChannel.js +59 -59
- package/cjs/GroupChannelList/components/AddGroupChannel.js +18 -18
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +8 -8
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +24 -24
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +33 -33
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +11 -11
- package/cjs/GroupChannelList/context.js +5 -5
- package/cjs/GroupChannelList.js +33 -33
- package/cjs/MessageSearch/components/MessageSearchUI.js +14 -14
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +14 -14
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
- package/cjs/OpenChannel/components/OpenChannelHeader.js +18 -18
- package/cjs/OpenChannel/components/OpenChannelInput.js +25 -25
- package/cjs/OpenChannel/components/OpenChannelMessage.js +35 -35
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +39 -39
- package/cjs/OpenChannel/components/OpenChannelUI.js +39 -39
- package/cjs/OpenChannel/context.js +17 -17
- package/cjs/OpenChannel.js +39 -39
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -14
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +14 -14
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
- package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -19
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +19 -19
- package/cjs/SendbirdProvider.js +103 -73
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +42 -42
- package/cjs/Thread/components/ParentMessageInfoItem.js +28 -28
- package/cjs/Thread/components/ThreadHeader.js +7 -7
- package/cjs/Thread/components/ThreadList.js +46 -46
- package/cjs/Thread/components/ThreadListItem.js +46 -46
- package/cjs/Thread/components/ThreadMessageInput.js +42 -42
- package/cjs/Thread/components/ThreadUI.js +56 -56
- package/cjs/Thread/context.js +9 -9
- package/cjs/Thread.js +56 -56
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
- package/cjs/VoiceRecorder/context.js +10 -10
- package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
- package/cjs/chunks/{bundle-BGHVt4pv.js → bundle-0dm-rZLh.js} +3 -3
- package/cjs/chunks/bundle-0dm-rZLh.js.map +1 -0
- package/cjs/chunks/{bundle-DxxDc_9W.js → bundle-2pxnOYL4.js} +4 -4
- package/cjs/chunks/{bundle-DxxDc_9W.js.map → bundle-2pxnOYL4.js.map} +1 -1
- package/cjs/chunks/{bundle-BYRgBOOO.js → bundle-3HPlnxkl.js} +3 -3
- package/cjs/chunks/{bundle-BYRgBOOO.js.map → bundle-3HPlnxkl.js.map} +1 -1
- package/cjs/chunks/{bundle-BOxqoDK2.js → bundle-6RaeE_-7.js} +1 -1
- package/cjs/chunks/bundle-6RaeE_-7.js.map +1 -0
- package/cjs/chunks/{bundle-lF1xvz4H.js → bundle-AxW84oGr.js} +1 -1
- package/cjs/chunks/bundle-AxW84oGr.js.map +1 -0
- package/cjs/chunks/{bundle-DOIvf0Sq.js → bundle-B212ojpX.js} +2 -2
- package/cjs/chunks/{bundle-DOIvf0Sq.js.map → bundle-B212ojpX.js.map} +1 -1
- package/cjs/chunks/{bundle-CsTxv_Ia.js → bundle-B3gE4-sg.js} +60 -3
- package/cjs/chunks/{bundle-CsTxv_Ia.js.map → bundle-B3gE4-sg.js.map} +1 -1
- package/cjs/chunks/{bundle-jG5ojZfP.js → bundle-B5RW0yuQ.js} +1 -1
- package/cjs/chunks/bundle-B5RW0yuQ.js.map +1 -0
- package/cjs/chunks/{bundle-iA0z-oXP.js → bundle-B5pxZS7a.js} +1 -1
- package/cjs/chunks/bundle-B5pxZS7a.js.map +1 -0
- package/cjs/chunks/{bundle-BOhx1d6V.js → bundle-BANWV5X0.js} +4 -4
- package/cjs/chunks/{bundle-BOhx1d6V.js.map → bundle-BANWV5X0.js.map} +1 -1
- package/cjs/chunks/{bundle-DdUUl9AF.js → bundle-BDDfcS3c.js} +1 -1
- package/cjs/chunks/bundle-BDDfcS3c.js.map +1 -0
- package/cjs/chunks/{bundle-BvRYyRnB.js → bundle-BIaA_1Gt.js} +1 -1
- package/cjs/chunks/bundle-BIaA_1Gt.js.map +1 -0
- package/cjs/chunks/{bundle-BFGQyFEj.js → bundle-BKMGAY2l.js} +2 -2
- package/cjs/chunks/{bundle-BFGQyFEj.js.map → bundle-BKMGAY2l.js.map} +1 -1
- package/cjs/chunks/{bundle-BNyi-HLe.js → bundle-BPcaLWyG.js} +1 -1
- package/cjs/chunks/bundle-BPcaLWyG.js.map +1 -0
- package/cjs/chunks/{bundle-Dt1ALnWb.js → bundle-BQc8sm8f.js} +10 -10
- package/cjs/chunks/bundle-BQc8sm8f.js.map +1 -0
- package/cjs/chunks/{bundle-C-FliXg3.js → bundle-BR4VteQq.js} +2 -2
- package/cjs/chunks/bundle-BR4VteQq.js.map +1 -0
- package/cjs/chunks/{bundle-CWXCI9cE.js → bundle-BSTb1mFt.js} +5 -5
- package/cjs/chunks/bundle-BSTb1mFt.js.map +1 -0
- package/cjs/chunks/{bundle-6dNjb6bq.js → bundle-BUBaSa_-.js} +11 -11
- package/cjs/chunks/{bundle-6dNjb6bq.js.map → bundle-BUBaSa_-.js.map} +1 -1
- package/cjs/chunks/{bundle-0q_scAND.js → bundle-BZByKaLs.js} +1 -1
- package/cjs/chunks/bundle-BZByKaLs.js.map +1 -0
- package/cjs/chunks/{bundle-CdthjbGs.js → bundle-BZYotRJz.js} +1 -1
- package/cjs/chunks/bundle-BZYotRJz.js.map +1 -0
- package/cjs/chunks/{bundle-D6wZDkwJ.js → bundle-BZyYPaEv.js} +1 -1
- package/cjs/chunks/{bundle-D6wZDkwJ.js.map → bundle-BZyYPaEv.js.map} +1 -1
- package/cjs/chunks/{bundle-B8q44rPm.js → bundle-Bc_3JLZG.js} +3 -3
- package/cjs/chunks/bundle-Bc_3JLZG.js.map +1 -0
- package/cjs/chunks/{bundle-BfU270mH.js → bundle-Bd5-Auhd.js} +1 -1
- package/cjs/chunks/bundle-Bd5-Auhd.js.map +1 -0
- package/cjs/chunks/{bundle-Ccyujyp6.js → bundle-BdG7Rc1R.js} +5 -5
- package/cjs/chunks/{bundle-Ccyujyp6.js.map → bundle-BdG7Rc1R.js.map} +1 -1
- package/cjs/chunks/{bundle-CbqU9Myv.js → bundle-BfLBf8rb.js} +4 -4
- package/cjs/chunks/bundle-BfLBf8rb.js.map +1 -0
- package/cjs/chunks/{bundle-C8xia3yL.js → bundle-BhRPdcn-.js} +1 -1
- package/cjs/chunks/{bundle-C8xia3yL.js.map → bundle-BhRPdcn-.js.map} +1 -1
- package/cjs/chunks/{bundle-B9IeOTau.js → bundle-BkrtMQxo.js} +1 -1
- package/cjs/chunks/bundle-BkrtMQxo.js.map +1 -0
- package/cjs/chunks/{bundle-Dtsa1X9i.js → bundle-BmOkcO1e.js} +1 -1
- package/cjs/chunks/bundle-BmOkcO1e.js.map +1 -0
- package/cjs/chunks/{bundle-v3tXlTmz.js → bundle-BubTAoq5.js} +4 -4
- package/cjs/chunks/{bundle-v3tXlTmz.js.map → bundle-BubTAoq5.js.map} +1 -1
- package/cjs/chunks/{bundle-BKeOSYnB.js → bundle-BwwA3giM.js} +3 -3
- package/cjs/chunks/bundle-BwwA3giM.js.map +1 -0
- package/cjs/chunks/{bundle-CsyBnNlx.js → bundle-ByYRydtT.js} +1 -1
- package/cjs/chunks/bundle-ByYRydtT.js.map +1 -0
- package/cjs/chunks/{bundle-BiUFkVUS.js → bundle-C1YOhOl2.js} +6 -6
- package/cjs/chunks/bundle-C1YOhOl2.js.map +1 -0
- package/cjs/chunks/{bundle-DaHjWMxX.js → bundle-C2ABFLZ1.js} +2 -2
- package/cjs/chunks/bundle-C2ABFLZ1.js.map +1 -0
- package/cjs/chunks/{bundle-a-KJqpeY.js → bundle-C3gIbns_.js} +10 -10
- package/cjs/chunks/bundle-C3gIbns_.js.map +1 -0
- package/cjs/chunks/{bundle-Bzy4_NRF.js → bundle-C9xOwqge.js} +3 -3
- package/cjs/chunks/bundle-C9xOwqge.js.map +1 -0
- package/cjs/chunks/{bundle-B0sJ-8vm.js → bundle-CCEKPtKR.js} +1 -1
- package/cjs/chunks/bundle-CCEKPtKR.js.map +1 -0
- package/cjs/chunks/{bundle-wa4qpxjp.js → bundle-CMoYluZj.js} +4 -4
- package/cjs/chunks/bundle-CMoYluZj.js.map +1 -0
- package/cjs/chunks/{bundle-DiOpJGh-.js → bundle-CSfRc5hY.js} +3 -3
- package/cjs/chunks/bundle-CSfRc5hY.js.map +1 -0
- package/cjs/chunks/{bundle-aYP0bwh_.js → bundle-CYBu-C6E.js} +1 -1
- package/cjs/chunks/bundle-CYBu-C6E.js.map +1 -0
- package/cjs/chunks/{bundle-CK4e6MqD.js → bundle-CfxDEtAN.js} +10 -10
- package/cjs/chunks/bundle-CfxDEtAN.js.map +1 -0
- package/cjs/chunks/{bundle-CYl2v3wW.js → bundle-Chu9Um5P.js} +1 -1
- package/cjs/chunks/bundle-Chu9Um5P.js.map +1 -0
- package/cjs/chunks/{bundle-Cimaz2Wz.js → bundle-CidVlBMl.js} +9 -7
- package/cjs/chunks/bundle-CidVlBMl.js.map +1 -0
- package/cjs/chunks/{bundle-zArQW7NP.js → bundle-Cl34HO9m.js} +5 -5
- package/cjs/chunks/bundle-Cl34HO9m.js.map +1 -0
- package/cjs/chunks/{bundle-BeKLq9sl.js → bundle-Crhw0Zu1.js} +1 -1
- package/cjs/chunks/bundle-Crhw0Zu1.js.map +1 -0
- package/cjs/chunks/{bundle-D2ZB9EdF.js → bundle-CsCGO7nq.js} +2 -2
- package/cjs/chunks/bundle-CsCGO7nq.js.map +1 -0
- package/cjs/chunks/{bundle-o44Pbmy8.js → bundle-CtfNcymC.js} +1 -1
- package/cjs/chunks/bundle-CtfNcymC.js.map +1 -0
- package/cjs/chunks/{bundle-BNrcDbpk.js → bundle-CuhtyPjN.js} +1 -1
- package/cjs/chunks/bundle-CuhtyPjN.js.map +1 -0
- package/cjs/chunks/{bundle-B4TwDXre.js → bundle-DDM7FQ5E.js} +7 -7
- package/cjs/chunks/bundle-DDM7FQ5E.js.map +1 -0
- package/cjs/chunks/{bundle-BffOmMzm.js → bundle-DDSkFKJ4.js} +1 -1
- package/cjs/chunks/bundle-DDSkFKJ4.js.map +1 -0
- package/cjs/chunks/{bundle-CtUclh8a.js → bundle-DEQCIOPf.js} +1 -1
- package/cjs/chunks/bundle-DEQCIOPf.js.map +1 -0
- package/cjs/chunks/{bundle-BSfsim6u.js → bundle-DJbEnul6.js} +6 -6
- package/cjs/chunks/bundle-DJbEnul6.js.map +1 -0
- package/cjs/chunks/{bundle-Bh1pBlFe.js → bundle-DLZ9iVVC.js} +3 -3
- package/cjs/chunks/bundle-DLZ9iVVC.js.map +1 -0
- package/cjs/chunks/{bundle-CrjxrhRR.js → bundle-DPFRrny4.js} +2 -2
- package/cjs/chunks/bundle-DPFRrny4.js.map +1 -0
- package/cjs/chunks/{bundle-tAANyqOj.js → bundle-DP_Z2ZCu.js} +2 -2
- package/cjs/chunks/bundle-DP_Z2ZCu.js.map +1 -0
- package/cjs/chunks/{bundle-CHRgMdqD.js → bundle-DUThNjHI.js} +3 -3
- package/cjs/chunks/{bundle-CHRgMdqD.js.map → bundle-DUThNjHI.js.map} +1 -1
- package/cjs/chunks/{bundle-BMtAL3gL.js → bundle-DhbE_hFO.js} +1 -1
- package/cjs/chunks/bundle-DhbE_hFO.js.map +1 -0
- package/cjs/chunks/{bundle-Dt0Ehz1U.js → bundle-Di5APzpg.js} +5 -4
- package/cjs/chunks/bundle-Di5APzpg.js.map +1 -0
- package/cjs/chunks/{bundle-BwNMzZfg.js → bundle-DpgtZXbp.js} +14 -14
- package/cjs/chunks/{bundle-BwNMzZfg.js.map → bundle-DpgtZXbp.js.map} +1 -1
- package/cjs/chunks/{bundle-IX2NQYwk.js → bundle-DytUGiju.js} +2 -2
- package/cjs/chunks/bundle-DytUGiju.js.map +1 -0
- package/cjs/chunks/{bundle-BZZfP00r.js → bundle-EroNh7Ac.js} +1 -1
- package/cjs/chunks/bundle-EroNh7Ac.js.map +1 -0
- package/cjs/chunks/{bundle-BFmEadGJ.js → bundle-FDJnhm3r.js} +1 -1
- package/cjs/chunks/{bundle-BFmEadGJ.js.map → bundle-FDJnhm3r.js.map} +1 -1
- package/cjs/chunks/{bundle-BwRgHhjl.js → bundle-G2_KR7Mu.js} +7 -7
- package/cjs/chunks/bundle-G2_KR7Mu.js.map +1 -0
- package/cjs/chunks/{bundle-BZEyOKfd.js → bundle-GZJzVB02.js} +4 -4
- package/cjs/chunks/bundle-GZJzVB02.js.map +1 -0
- package/cjs/chunks/{bundle-DDWWo4Ur.js → bundle-HLR6JcDU.js} +1 -1
- package/cjs/chunks/bundle-HLR6JcDU.js.map +1 -0
- package/cjs/chunks/{bundle-DrvpXqH0.js → bundle-Ht75_VEx.js} +2 -2
- package/cjs/chunks/bundle-Ht75_VEx.js.map +1 -0
- package/cjs/chunks/{bundle-DQPcs28F.js → bundle-MdWTpHE3.js} +8 -8
- package/cjs/chunks/bundle-MdWTpHE3.js.map +1 -0
- package/cjs/chunks/{bundle-BLnYd3a5.js → bundle-NgDLJ4XU.js} +3 -3
- package/cjs/chunks/bundle-NgDLJ4XU.js.map +1 -0
- package/cjs/chunks/{bundle-BBWcxxM0.js → bundle-UNBazgOP.js} +11 -11
- package/cjs/chunks/bundle-UNBazgOP.js.map +1 -0
- package/cjs/chunks/{bundle-DveQNuEW.js → bundle-XHpUo2d5.js} +6 -6
- package/cjs/chunks/bundle-XHpUo2d5.js.map +1 -0
- package/cjs/chunks/{bundle-Bj5uGit3.js → bundle-cjfTIYNo.js} +1 -1
- package/cjs/chunks/bundle-cjfTIYNo.js.map +1 -0
- package/cjs/chunks/{bundle-2f5GwCzi.js → bundle-jp-5eI5e.js} +3 -3
- package/cjs/chunks/bundle-jp-5eI5e.js.map +1 -0
- package/cjs/chunks/{bundle-CooVtiK4.js → bundle-lXC5D8Eq.js} +1 -1
- package/cjs/chunks/bundle-lXC5D8Eq.js.map +1 -0
- package/cjs/chunks/{bundle-CTGfAwTJ.js → bundle-lf9AeIkc.js} +3 -3
- package/cjs/chunks/{bundle-CTGfAwTJ.js.map → bundle-lf9AeIkc.js.map} +1 -1
- package/cjs/chunks/{bundle-DjzwlyX1.js → bundle-mNfA1oxo.js} +8 -8
- package/cjs/chunks/{bundle-DjzwlyX1.js.map → bundle-mNfA1oxo.js.map} +1 -1
- package/cjs/chunks/{bundle-CxBq1p0s.js → bundle-pYqgDFla.js} +1 -1
- package/cjs/chunks/bundle-pYqgDFla.js.map +1 -0
- package/cjs/chunks/{bundle-C58ONaz6.js → bundle-tK8yFMGZ.js} +5 -5
- package/cjs/chunks/bundle-tK8yFMGZ.js.map +1 -0
- package/cjs/chunks/{bundle-CRp1Zs4h.js → bundle-uIEHfPv7.js} +1 -1
- package/cjs/chunks/bundle-uIEHfPv7.js.map +1 -0
- package/cjs/chunks/{bundle-CaSblzTL.js → bundle-viPU2Zrj.js} +1 -1
- package/cjs/chunks/bundle-viPU2Zrj.js.map +1 -0
- package/cjs/chunks/{bundle-Cf4WLYFa.js → bundle-wwwDjH0w.js} +1 -1
- package/cjs/chunks/{bundle-Cf4WLYFa.js.map → bundle-wwwDjH0w.js.map} +1 -1
- package/cjs/chunks/{bundle-DQ6EeiN7.js → bundle-z66HeEp3.js} +1 -1
- package/cjs/chunks/bundle-z66HeEp3.js.map +1 -0
- package/cjs/chunks/{bundle-vpFsS041.js → bundle-zUlseH3U.js} +10 -10
- package/cjs/chunks/{bundle-vpFsS041.js.map → bundle-zUlseH3U.js.map} +1 -1
- package/cjs/hooks/useModal.js +9 -9
- package/cjs/index.js +82 -82
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +2 -2
- package/cjs/ui/Accordion.js +3 -3
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +3 -3
- package/cjs/ui/Avatar.js +4 -4
- package/cjs/ui/Badge.js +5 -5
- package/cjs/ui/BottomSheet.js +9 -9
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/Carousel.js +194 -0
- package/cjs/ui/Carousel.js.map +1 -0
- package/cjs/ui/ChannelAvatar.js +5 -5
- package/cjs/ui/ConnectionStatus.js +6 -6
- package/cjs/ui/ContextMenu.js +6 -6
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +16 -16
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
- package/cjs/ui/FileMessageItemBody.js +8 -8
- package/cjs/ui/FileViewer.js +15 -15
- package/cjs/ui/Icon.js +2 -2
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/ImageRenderer.js +2 -2
- package/cjs/ui/Input.js +3 -3
- package/cjs/ui/Label.js +4 -3
- package/cjs/ui/Label.js.map +1 -1
- package/cjs/ui/LinkLabel.js +3 -3
- package/cjs/ui/Loader.js +2 -2
- package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
- package/cjs/ui/MentionLabel.js +13 -13
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +232 -189
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +15 -15
- package/cjs/ui/MessageItemMenu.js +10 -10
- package/cjs/ui/MessageItemReactionMenu.js +9 -9
- package/cjs/ui/MessageSearchFileItem.js +14 -14
- package/cjs/ui/MessageSearchItem.js +11 -11
- package/cjs/ui/MessageStatus.js +12 -12
- package/cjs/ui/MessageTemplate.js +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +9 -9
- package/cjs/ui/Modal.js +8 -8
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +16 -16
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +8 -8
- package/cjs/ui/OpenchannelConversationHeader.js +8 -8
- package/cjs/ui/OpenchannelFileMessage.js +18 -18
- package/cjs/ui/OpenchannelOGMessage.js +20 -20
- package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
- package/cjs/ui/OpenchannelUserMessage.js +18 -18
- package/cjs/ui/PlaceHolder.js +6 -6
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/QuoteMessage.js +9 -9
- package/cjs/ui/QuoteMessageInput.js +9 -9
- package/cjs/ui/ReactionBadge.js +3 -3
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +2 -2
- package/cjs/ui/TemplateMessageItemBody.js +218 -78
- package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +16 -16
- package/cjs/ui/ThreadReplies.js +16 -12
- package/cjs/ui/ThreadReplies.js.map +1 -1
- package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +3 -3
- package/cjs/ui/TooltipWrapper.js +1 -1
- package/cjs/ui/TypingIndicatorBubble.js +4 -4
- package/cjs/ui/UnknownMessageItemBody.js +7 -7
- package/cjs/ui/UserListItem.js +13 -13
- package/cjs/ui/UserProfile.js +10 -10
- package/cjs/ui/VoiceMessageInput.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +10 -10
- package/cjs/ui/Word.js +13 -13
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +3 -3
- package/cjs/withSendbird.js +1 -1
- package/dist/index.css +64 -19
- package/dist/index.css.map +1 -1
- package/hooks/useModal.js +10 -10
- package/index.js +81 -81
- package/package.json +11 -2
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +2 -2
- package/types/lib/dux/appInfo/actionTypes.d.ts +9 -8
- package/types/lib/dux/appInfo/initialState.d.ts +1 -1
- package/types/lib/dux/appInfo/utils.d.ts +1 -1
- package/types/lib/hooks/useMessageTemplateUtils.d.ts +1 -1
- package/types/lib/types.d.ts +1 -1
- package/types/modules/GroupChannel/components/MessageTemplateWrapper/index.d.ts +2 -2
- package/types/types.d.ts +5 -0
- package/types/ui/Avatar/index.d.ts +1 -0
- package/types/ui/Carousel/index.d.ts +9 -0
- package/types/ui/Label/index.d.ts +4 -2
- package/types/ui/MessageContent/MessageBody/index.d.ts +1 -1
- package/types/ui/MessageContent/MessageProfile/index.d.ts +1 -0
- package/types/ui/MessageContent/index.d.ts +2 -2
- package/types/ui/MessageTemplate/messageTemplateErrorBoundary.d.ts +19 -0
- package/types/ui/TemplateMessageItemBody/index.d.ts +1 -0
- package/types/ui/TemplateMessageItemBody/types.d.ts +13 -3
- package/types/ui/TemplateMessageItemBody/utils/selectColorVariablesByTheme.d.ts +2 -2
- package/types/ui/ThreadReplies/index.d.ts +4 -2
- package/types/utils/index.d.ts +13 -0
- package/ui/Accordion.js +3 -3
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +5 -5
- package/ui/BottomSheet.js +9 -9
- package/ui/Button.js +3 -3
- package/ui/Carousel.js +189 -0
- package/ui/Carousel.js.map +1 -0
- package/ui/ChannelAvatar.js +5 -5
- package/ui/ConnectionStatus.js +6 -6
- package/ui/ContextMenu.js +6 -6
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +16 -16
- package/ui/FallbackTemplateMessageItemBody.tsx.js +7 -7
- package/ui/FileMessageItemBody.js +8 -8
- package/ui/FileViewer.js +15 -15
- 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 +3 -3
- package/ui/Loader.js +2 -2
- package/ui/LoadingTemplateMessageItemBody.tsx.js +4 -4
- package/ui/MentionLabel.js +13 -13
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +233 -190
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +15 -15
- package/ui/MessageItemMenu.js +10 -10
- package/ui/MessageItemReactionMenu.js +9 -9
- package/ui/MessageSearchFileItem.js +14 -14
- package/ui/MessageSearchItem.js +11 -11
- package/ui/MessageStatus.js +12 -12
- package/ui/MessageTemplate.js +1 -1
- package/ui/MobileFeedbackMenu.js +9 -9
- package/ui/Modal.js +8 -8
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +16 -16
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +8 -8
- package/ui/OpenchannelConversationHeader.js +8 -8
- package/ui/OpenchannelFileMessage.js +18 -18
- package/ui/OpenchannelOGMessage.js +20 -20
- package/ui/OpenchannelThumbnailMessage.js +17 -17
- package/ui/OpenchannelUserMessage.js +18 -18
- package/ui/PlaceHolder.js +6 -6
- package/ui/PlaybackTime.js +3 -3
- package/ui/QuoteMessage.js +9 -9
- package/ui/QuoteMessageInput.js +9 -9
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TemplateMessageItemBody.js +219 -79
- package/ui/TemplateMessageItemBody.js.map +1 -1
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +16 -16
- package/ui/ThreadReplies.js +13 -12
- package/ui/ThreadReplies.js.map +1 -1
- package/ui/ThumbnailMessageItemBody.js +7 -7
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +4 -4
- package/ui/UnknownMessageItemBody.js +7 -7
- package/ui/UserListItem.js +13 -13
- package/ui/UserProfile.js +10 -10
- package/ui/VoiceMessageInput.js +9 -9
- package/ui/VoiceMessageItemBody.js +10 -10
- package/ui/Word.js +13 -13
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +3 -3
- package/withSendbird.js +1 -1
- package/chunks/bundle-2qPS-99f.js.map +0 -1
- package/chunks/bundle-6c04eWHT.js.map +0 -1
- package/chunks/bundle-6n4c-yxi.js.map +0 -1
- package/chunks/bundle-97fd4oe2.js.map +0 -1
- package/chunks/bundle-B24GwCXx.js.map +0 -1
- package/chunks/bundle-B4CUv14M.js.map +0 -1
- package/chunks/bundle-B4EY2YKu.js.map +0 -1
- package/chunks/bundle-BCeNaIWw.js.map +0 -1
- package/chunks/bundle-BGdbKz3x.js.map +0 -1
- package/chunks/bundle-BQntI2YH.js.map +0 -1
- package/chunks/bundle-B_5nSVDN.js.map +0 -1
- package/chunks/bundle-BbEkZYpE.js.map +0 -1
- package/chunks/bundle-BnG5XETL.js.map +0 -1
- package/chunks/bundle-Bsh5KSxb.js.map +0 -1
- package/chunks/bundle-C0risNHg.js.map +0 -1
- package/chunks/bundle-C5ygMhyk.js.map +0 -1
- package/chunks/bundle-C8Oe5QOQ.js.map +0 -1
- package/chunks/bundle-CAdKFBfs.js.map +0 -1
- package/chunks/bundle-CE_8gK7h.js.map +0 -1
- package/chunks/bundle-CHKEsMqU.js +0 -8
- package/chunks/bundle-CHKEsMqU.js.map +0 -1
- package/chunks/bundle-CQhhBQgY.js.map +0 -1
- package/chunks/bundle-CQxSmK2v.js.map +0 -1
- package/chunks/bundle-CanFPW6u.js.map +0 -1
- package/chunks/bundle-CeN11uF4.js.map +0 -1
- package/chunks/bundle-CeNRu1nh.js.map +0 -1
- package/chunks/bundle-Cg7eHJV0.js.map +0 -1
- package/chunks/bundle-CkCkzFFu.js.map +0 -1
- package/chunks/bundle-Cs0ZtBj7.js.map +0 -1
- package/chunks/bundle-CvuK4Gl-.js.map +0 -1
- package/chunks/bundle-Cxjgwfwy.js.map +0 -1
- package/chunks/bundle-Czh0_N3j.js.map +0 -1
- package/chunks/bundle-D1DIGSmr.js.map +0 -1
- package/chunks/bundle-D4kbZg4e.js.map +0 -1
- package/chunks/bundle-D4mHGcWb.js.map +0 -1
- package/chunks/bundle-DBy3c8gM.js.map +0 -1
- package/chunks/bundle-DRpQlFMu.js.map +0 -1
- package/chunks/bundle-DarlDWy7.js.map +0 -1
- package/chunks/bundle-DcZ6VbHw.js.map +0 -1
- package/chunks/bundle-DlBu0K2F.js.map +0 -1
- package/chunks/bundle-DlHY-98U.js.map +0 -1
- package/chunks/bundle-Ds5aQSz-.js.map +0 -1
- package/chunks/bundle-L4mF-vqf.js.map +0 -1
- package/chunks/bundle-LIsneT-k.js.map +0 -1
- package/chunks/bundle-OJu5PM7q.js.map +0 -1
- package/chunks/bundle-_9XBB-ZS.js.map +0 -1
- package/chunks/bundle-b4p8k2uf.js.map +0 -1
- package/chunks/bundle-caD0Cpiq.js.map +0 -1
- package/chunks/bundle-gSigJ2qv.js.map +0 -1
- package/chunks/bundle-lYawLy67.js.map +0 -1
- package/chunks/bundle-vVxTsDkS.js.map +0 -1
- package/chunks/bundle-wKPuxvL-.js.map +0 -1
- package/cjs/chunks/bundle-0q_scAND.js.map +0 -1
- package/cjs/chunks/bundle-2f5GwCzi.js.map +0 -1
- package/cjs/chunks/bundle-B0sJ-8vm.js.map +0 -1
- package/cjs/chunks/bundle-B4TwDXre.js.map +0 -1
- package/cjs/chunks/bundle-B8q44rPm.js.map +0 -1
- package/cjs/chunks/bundle-B9IeOTau.js.map +0 -1
- package/cjs/chunks/bundle-BBWcxxM0.js.map +0 -1
- package/cjs/chunks/bundle-BGHVt4pv.js.map +0 -1
- package/cjs/chunks/bundle-BKeOSYnB.js.map +0 -1
- package/cjs/chunks/bundle-BLnYd3a5.js.map +0 -1
- package/cjs/chunks/bundle-BMtAL3gL.js.map +0 -1
- package/cjs/chunks/bundle-BNrcDbpk.js.map +0 -1
- package/cjs/chunks/bundle-BNyi-HLe.js.map +0 -1
- package/cjs/chunks/bundle-BOxqoDK2.js.map +0 -1
- package/cjs/chunks/bundle-BSfsim6u.js.map +0 -1
- package/cjs/chunks/bundle-BZEyOKfd.js.map +0 -1
- package/cjs/chunks/bundle-BZZfP00r.js.map +0 -1
- package/cjs/chunks/bundle-BeKLq9sl.js.map +0 -1
- package/cjs/chunks/bundle-BfU270mH.js.map +0 -1
- package/cjs/chunks/bundle-BffOmMzm.js.map +0 -1
- package/cjs/chunks/bundle-Bh1pBlFe.js.map +0 -1
- package/cjs/chunks/bundle-BiUFkVUS.js.map +0 -1
- package/cjs/chunks/bundle-Bj5uGit3.js.map +0 -1
- package/cjs/chunks/bundle-BvRYyRnB.js.map +0 -1
- package/cjs/chunks/bundle-BwRgHhjl.js.map +0 -1
- package/cjs/chunks/bundle-Bzy4_NRF.js.map +0 -1
- package/cjs/chunks/bundle-C-FliXg3.js.map +0 -1
- package/cjs/chunks/bundle-C58ONaz6.js.map +0 -1
- package/cjs/chunks/bundle-CEXaY05E.js +0 -8
- package/cjs/chunks/bundle-CEXaY05E.js.map +0 -1
- package/cjs/chunks/bundle-CK4e6MqD.js.map +0 -1
- package/cjs/chunks/bundle-CRp1Zs4h.js.map +0 -1
- package/cjs/chunks/bundle-CWXCI9cE.js.map +0 -1
- package/cjs/chunks/bundle-CYl2v3wW.js.map +0 -1
- package/cjs/chunks/bundle-CaSblzTL.js.map +0 -1
- package/cjs/chunks/bundle-CbqU9Myv.js.map +0 -1
- package/cjs/chunks/bundle-CdthjbGs.js.map +0 -1
- package/cjs/chunks/bundle-Cimaz2Wz.js.map +0 -1
- package/cjs/chunks/bundle-CooVtiK4.js.map +0 -1
- package/cjs/chunks/bundle-CrjxrhRR.js.map +0 -1
- package/cjs/chunks/bundle-CsyBnNlx.js.map +0 -1
- package/cjs/chunks/bundle-CtUclh8a.js.map +0 -1
- package/cjs/chunks/bundle-CxBq1p0s.js.map +0 -1
- package/cjs/chunks/bundle-D2ZB9EdF.js.map +0 -1
- package/cjs/chunks/bundle-DDWWo4Ur.js.map +0 -1
- package/cjs/chunks/bundle-DQ6EeiN7.js.map +0 -1
- package/cjs/chunks/bundle-DQPcs28F.js.map +0 -1
- package/cjs/chunks/bundle-DaHjWMxX.js.map +0 -1
- package/cjs/chunks/bundle-DdUUl9AF.js.map +0 -1
- package/cjs/chunks/bundle-DiOpJGh-.js.map +0 -1
- package/cjs/chunks/bundle-DrvpXqH0.js.map +0 -1
- package/cjs/chunks/bundle-Dt0Ehz1U.js.map +0 -1
- package/cjs/chunks/bundle-Dt1ALnWb.js.map +0 -1
- package/cjs/chunks/bundle-Dtsa1X9i.js.map +0 -1
- package/cjs/chunks/bundle-DveQNuEW.js.map +0 -1
- package/cjs/chunks/bundle-IX2NQYwk.js.map +0 -1
- package/cjs/chunks/bundle-a-KJqpeY.js.map +0 -1
- package/cjs/chunks/bundle-aYP0bwh_.js.map +0 -1
- package/cjs/chunks/bundle-iA0z-oXP.js.map +0 -1
- package/cjs/chunks/bundle-jG5ojZfP.js.map +0 -1
- package/cjs/chunks/bundle-lF1xvz4H.js.map +0 -1
- package/cjs/chunks/bundle-o44Pbmy8.js.map +0 -1
- package/cjs/chunks/bundle-tAANyqOj.js.map +0 -1
- package/cjs/chunks/bundle-wa4qpxjp.js.map +0 -1
- package/cjs/chunks/bundle-zArQW7NP.js.map +0 -1
package/SendbirdProvider.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { _ as __assign, a as __awaiter, b as __generator, c as __spreadArray } from './chunks/bundle-
|
|
1
|
+
import { _ as __assign, a as __awaiter, b as __generator, c as __spreadArray } from './chunks/bundle-CfcTsxlD.js';
|
|
2
2
|
import React__default, { useLayoutEffect, useRef, useEffect, useCallback, useMemo, useState, useReducer } from 'react';
|
|
3
3
|
import { UIKitConfigProvider, useUIKitConfig } from '@sendbird/uikit-tools';
|
|
4
4
|
import { SendbirdSdkContext } from './withSendbird.js';
|
|
5
5
|
import cssVars from 'css-vars-ponyfill';
|
|
6
|
-
import { K } from './chunks/bundle-
|
|
7
|
-
import { U as USER_ACTIONS } from './chunks/bundle-
|
|
8
|
-
import { s as schedulerFactory, b as useUnmount, u as useOnlineStatus, a as useMarkAsDeliveredScheduler } from './chunks/bundle-
|
|
6
|
+
import { K } from './chunks/bundle-VAV0nvVl.js';
|
|
7
|
+
import { U as USER_ACTIONS } from './chunks/bundle-B0hUzTR9.js';
|
|
8
|
+
import { s as schedulerFactory, b as useUnmount, u as useOnlineStatus, a as useMarkAsDeliveredScheduler } from './chunks/bundle-Bo4dNQtg.js';
|
|
9
9
|
import SendbirdChat, { SendbirdProduct, SendbirdPlatform, DeviceOsPlatform } from '@sendbird/chat';
|
|
10
10
|
import { OpenChannelModule } from '@sendbird/chat/openChannel';
|
|
11
11
|
import { GroupChannelModule } from '@sendbird/chat/groupChannel';
|
|
12
|
-
import {
|
|
13
|
-
import { n as noop } from './chunks/bundle-
|
|
14
|
-
import { p as pubSubFactory } from './chunks/bundle-
|
|
15
|
-
import { b as VoicePlayerProvider } from './chunks/bundle-
|
|
12
|
+
import { a0 as isTextuallyNull } from './chunks/bundle-BqL00V4c.js';
|
|
13
|
+
import { n as noop } from './chunks/bundle-Bm9cdQdy.js';
|
|
14
|
+
import { p as pubSubFactory } from './chunks/bundle-O8OKcGsA.js';
|
|
15
|
+
import { b as VoicePlayerProvider } from './chunks/bundle-CZbk43my.js';
|
|
16
16
|
import { VoiceRecorderProvider } from './VoiceRecorder/context.js';
|
|
17
|
-
import { a as LocalizationProvider } from './chunks/bundle-
|
|
18
|
-
import { u as useMediaQueryContext, M as MediaQueryProvider } from './chunks/bundle-
|
|
19
|
-
import { g as getStringSet } from './chunks/bundle-
|
|
20
|
-
import { C as CACHED_MESSAGE_TEMPLATES_TOKEN_KEY, m as CACHED_MESSAGE_TEMPLATES_KEY, n as DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT, o as VOICE_RECORDER_DEFAULT_MAX, g as VOICE_RECORDER_DEFAULT_MIN } from './chunks/bundle-
|
|
21
|
-
import { g as getCaseResolvedReplyType, a as getCaseResolvedThreadReplySelectType } from './chunks/bundle-
|
|
17
|
+
import { a as LocalizationProvider } from './chunks/bundle-BkNNtN1V.js';
|
|
18
|
+
import { u as useMediaQueryContext, M as MediaQueryProvider } from './chunks/bundle-BE9YtwxF.js';
|
|
19
|
+
import { g as getStringSet } from './chunks/bundle-BydX5Gik.js';
|
|
20
|
+
import { C as CACHED_MESSAGE_TEMPLATES_TOKEN_KEY, m as CACHED_MESSAGE_TEMPLATES_KEY, n as DEFAULT_MULTIPLE_FILES_MESSAGE_LIMIT, o as VOICE_RECORDER_DEFAULT_MAX, g as VOICE_RECORDER_DEFAULT_MIN } from './chunks/bundle-BdJeQIAi.js';
|
|
21
|
+
import { g as getCaseResolvedReplyType, a as getCaseResolvedThreadReplySelectType } from './chunks/bundle-Blu2Cp4C.js';
|
|
22
22
|
import { GlobalModalProvider } from './hooks/useModal.js';
|
|
23
23
|
export { useSendbirdStateContext } from './useSendbirdStateContext.js';
|
|
24
|
-
import './chunks/bundle-
|
|
24
|
+
import './chunks/bundle-D4vlYCrG.js';
|
|
25
25
|
import './utils/message/getOutgoingMessageState.js';
|
|
26
|
-
import './chunks/bundle-
|
|
26
|
+
import './chunks/bundle-DrKv7qiU.js';
|
|
27
27
|
import 'react-dom';
|
|
28
28
|
import './ui/IconButton.js';
|
|
29
29
|
import './ui/Button.js';
|
|
30
|
-
import './chunks/bundle-
|
|
30
|
+
import './chunks/bundle-33BY7XhN.js';
|
|
31
31
|
import './ui/Icon.js';
|
|
32
|
-
import './chunks/bundle-
|
|
32
|
+
import './chunks/bundle-CKqBhRZh.js';
|
|
33
33
|
|
|
34
34
|
var isEmpty = function (obj) {
|
|
35
35
|
if (obj === null || obj === undefined) {
|
|
@@ -201,9 +201,9 @@ function reducer$1(state, action) {
|
|
|
201
201
|
|
|
202
202
|
var APP_INFO_ACTIONS = {
|
|
203
203
|
INITIALIZE_MESSAGE_TEMPLATES_INFO: 'INITIALIZE_MESSAGE_TEMPLATES_INFO',
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
204
|
+
UPSERT_MESSAGE_TEMPLATES: 'UPSERT_MESSAGE_TEMPLATES',
|
|
205
|
+
UPSERT_WAITING_TEMPLATE_KEYS: 'UPSERT_WAITING_TEMPLATE_KEYS',
|
|
206
|
+
MARK_ERROR_WAITING_TEMPLATE_KEYS: 'MARK_ERROR_WAITING_TEMPLATE_KEYS',
|
|
207
207
|
};
|
|
208
208
|
|
|
209
209
|
function reducer(state, action) {
|
|
@@ -215,33 +215,43 @@ function reducer(state, action) {
|
|
|
215
215
|
waitingTemplateKeysMap: {},
|
|
216
216
|
};
|
|
217
217
|
})
|
|
218
|
-
.with({ type: APP_INFO_ACTIONS.
|
|
218
|
+
.with({ type: APP_INFO_ACTIONS.UPSERT_MESSAGE_TEMPLATES }, function (_a) {
|
|
219
219
|
var payload = _a.payload;
|
|
220
220
|
var templatesInfo = state.messageTemplatesInfo;
|
|
221
221
|
if (!templatesInfo)
|
|
222
222
|
return state; // Not initialized. Ignore.
|
|
223
|
-
var
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
223
|
+
var waitingTemplateKeysMap = __assign({}, state.waitingTemplateKeysMap);
|
|
224
|
+
payload.forEach(function (templatesMapData) {
|
|
225
|
+
var key = templatesMapData.key, template = templatesMapData.template;
|
|
226
|
+
templatesInfo.templatesMap[key] = template;
|
|
227
|
+
delete waitingTemplateKeysMap[key];
|
|
228
|
+
});
|
|
229
|
+
return __assign(__assign({}, state), { waitingTemplateKeysMap: waitingTemplateKeysMap, messageTemplatesInfo: templatesInfo });
|
|
227
230
|
})
|
|
228
|
-
.with({ type: APP_INFO_ACTIONS.
|
|
231
|
+
.with({ type: APP_INFO_ACTIONS.UPSERT_WAITING_TEMPLATE_KEYS }, function (_a) {
|
|
229
232
|
var payload = _a.payload;
|
|
230
|
-
var
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
233
|
+
var keys = payload.keys, requestedAt = payload.requestedAt;
|
|
234
|
+
var waitingTemplateKeysMap = __assign({}, state.waitingTemplateKeysMap);
|
|
235
|
+
keys.forEach(function (key) {
|
|
236
|
+
var _a, _b;
|
|
237
|
+
waitingTemplateKeysMap[key] = {
|
|
238
|
+
erroredMessageIds: (_b = (_a = waitingTemplateKeysMap[key]) === null || _a === void 0 ? void 0 : _a.erroredMessageIds) !== null && _b !== void 0 ? _b : [],
|
|
239
|
+
requestedAt: requestedAt,
|
|
240
|
+
};
|
|
241
|
+
});
|
|
242
|
+
return __assign(__assign({}, state), { waitingTemplateKeysMap: waitingTemplateKeysMap });
|
|
236
243
|
})
|
|
237
|
-
.with({ type: APP_INFO_ACTIONS.
|
|
244
|
+
.with({ type: APP_INFO_ACTIONS.MARK_ERROR_WAITING_TEMPLATE_KEYS }, function (_a) {
|
|
238
245
|
var payload = _a.payload;
|
|
239
|
-
var
|
|
240
|
-
var
|
|
241
|
-
|
|
242
|
-
waitingTemplateKeyData
|
|
243
|
-
|
|
244
|
-
|
|
246
|
+
var keys = payload.keys, messageId = payload.messageId;
|
|
247
|
+
var waitingTemplateKeysMap = __assign({}, state.waitingTemplateKeysMap);
|
|
248
|
+
keys.forEach(function (key) {
|
|
249
|
+
var waitingTemplateKeyData = waitingTemplateKeysMap[key];
|
|
250
|
+
if (waitingTemplateKeyData && waitingTemplateKeyData.erroredMessageIds.indexOf(messageId) === -1) {
|
|
251
|
+
waitingTemplateKeyData.erroredMessageIds.push(messageId);
|
|
252
|
+
}
|
|
253
|
+
});
|
|
254
|
+
return __assign(__assign({}, state), { waitingTemplateKeysMap: waitingTemplateKeysMap });
|
|
245
255
|
})
|
|
246
256
|
.otherwise(function () {
|
|
247
257
|
return state;
|
|
@@ -276,7 +286,7 @@ function disconnectSdk(_a) {
|
|
|
276
286
|
});
|
|
277
287
|
}
|
|
278
288
|
|
|
279
|
-
var APP_VERSION_STRING = '3.
|
|
289
|
+
var APP_VERSION_STRING = '3.14.0-beta';
|
|
280
290
|
var INIT_SDK = SDK_ACTIONS.INIT_SDK, SET_SDK_LOADING = SDK_ACTIONS.SET_SDK_LOADING, RESET_SDK = SDK_ACTIONS.RESET_SDK, SDK_ERROR = SDK_ACTIONS.SDK_ERROR;
|
|
281
291
|
var INIT_USER = USER_ACTIONS.INIT_USER, UPDATE_USER_INFO = USER_ACTIONS.UPDATE_USER_INFO, RESET_USER = USER_ACTIONS.RESET_USER;
|
|
282
292
|
function getMissingParamError(_a) {
|
|
@@ -825,7 +835,7 @@ var getProcessedTemplate = function (parsedTemplate) {
|
|
|
825
835
|
colorVariables: parsedTemplate.color_variables,
|
|
826
836
|
};
|
|
827
837
|
};
|
|
828
|
-
var
|
|
838
|
+
var getProcessedTemplatesMap = function (parsedTemplates) {
|
|
829
839
|
var processedTemplates = {};
|
|
830
840
|
parsedTemplates.forEach(function (template) {
|
|
831
841
|
processedTemplates[template.key] = getProcessedTemplate(template);
|
|
@@ -834,7 +844,7 @@ var getProcessedTemplates = function (parsedTemplates) {
|
|
|
834
844
|
};
|
|
835
845
|
|
|
836
846
|
var MESSAGE_TEMPLATES_FETCH_LIMIT = 20;
|
|
837
|
-
var INITIALIZE_MESSAGE_TEMPLATES_INFO = APP_INFO_ACTIONS.INITIALIZE_MESSAGE_TEMPLATES_INFO,
|
|
847
|
+
var INITIALIZE_MESSAGE_TEMPLATES_INFO = APP_INFO_ACTIONS.INITIALIZE_MESSAGE_TEMPLATES_INFO, UPSERT_MESSAGE_TEMPLATES = APP_INFO_ACTIONS.UPSERT_MESSAGE_TEMPLATES, UPSERT_WAITING_TEMPLATE_KEYS = APP_INFO_ACTIONS.UPSERT_WAITING_TEMPLATE_KEYS, MARK_ERROR_WAITING_TEMPLATE_KEYS = APP_INFO_ACTIONS.MARK_ERROR_WAITING_TEMPLATE_KEYS;
|
|
838
848
|
function useMessageTemplateUtils(_a) {
|
|
839
849
|
var _this = this;
|
|
840
850
|
var sdk = _a.sdk, logger = _a.logger, appInfoStore = _a.appInfoStore, appInfoDispatcher = _a.appInfoDispatcher;
|
|
@@ -903,7 +913,7 @@ function useMessageTemplateUtils(_a) {
|
|
|
903
913
|
parsedTemplates = _b.sent();
|
|
904
914
|
newMessageTemplatesInfo = {
|
|
905
915
|
token: sdkMessageTemplateToken,
|
|
906
|
-
templatesMap:
|
|
916
|
+
templatesMap: getProcessedTemplatesMap(parsedTemplates),
|
|
907
917
|
};
|
|
908
918
|
appInfoDispatcher({ type: INITIALIZE_MESSAGE_TEMPLATES_INFO, payload: newMessageTemplatesInfo });
|
|
909
919
|
localStorage.setItem(CACHED_MESSAGE_TEMPLATES_TOKEN_KEY, sdkMessageTemplateToken);
|
|
@@ -916,7 +926,7 @@ function useMessageTemplateUtils(_a) {
|
|
|
916
926
|
parsedTemplates = JSON.parse(cachedMessageTemplates);
|
|
917
927
|
newMessageTemplatesInfo = {
|
|
918
928
|
token: sdkMessageTemplateToken,
|
|
919
|
-
templatesMap:
|
|
929
|
+
templatesMap: getProcessedTemplatesMap(parsedTemplates),
|
|
920
930
|
};
|
|
921
931
|
appInfoDispatcher({ type: INITIALIZE_MESSAGE_TEMPLATES_INFO, payload: newMessageTemplatesInfo });
|
|
922
932
|
}
|
|
@@ -929,63 +939,83 @@ function useMessageTemplateUtils(_a) {
|
|
|
929
939
|
* If given message is a template message with template key and if the key does not exist in the cache,
|
|
930
940
|
* update the cache by fetching the template.
|
|
931
941
|
*/
|
|
932
|
-
var updateMessageTemplatesInfo = function (
|
|
933
|
-
var
|
|
942
|
+
var updateMessageTemplatesInfo = function (templateKeys, messageId, requestedAt) { return __awaiter(_this, void 0, void 0, function () {
|
|
943
|
+
var newParsedTemplates_1, hasMore, token, result, e_1, cachedMessageTemplates, parsedTemplates_1, existingKeys_1;
|
|
934
944
|
var _a;
|
|
935
945
|
return __generator(this, function (_b) {
|
|
936
946
|
switch (_b.label) {
|
|
937
947
|
case 0:
|
|
938
|
-
if (!appInfoDispatcher) return [3 /*break*/,
|
|
948
|
+
if (!appInfoDispatcher) return [3 /*break*/, 7];
|
|
939
949
|
appInfoDispatcher({
|
|
940
|
-
type:
|
|
950
|
+
type: UPSERT_WAITING_TEMPLATE_KEYS,
|
|
941
951
|
payload: {
|
|
942
|
-
|
|
952
|
+
keys: templateKeys,
|
|
943
953
|
requestedAt: requestedAt,
|
|
944
954
|
},
|
|
945
955
|
});
|
|
946
|
-
|
|
956
|
+
newParsedTemplates_1 = [];
|
|
947
957
|
_b.label = 1;
|
|
948
958
|
case 1:
|
|
949
|
-
_b.trys.push([1,
|
|
950
|
-
|
|
959
|
+
_b.trys.push([1, 5, , 6]);
|
|
960
|
+
hasMore = true;
|
|
961
|
+
token = null;
|
|
962
|
+
_b.label = 2;
|
|
951
963
|
case 2:
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
964
|
+
if (!hasMore) return [3 /*break*/, 4];
|
|
965
|
+
return [4 /*yield*/, sdk.message.getMessageTemplatesByToken(token, {
|
|
966
|
+
keys: templateKeys,
|
|
967
|
+
})];
|
|
955
968
|
case 3:
|
|
969
|
+
result = _b.sent();
|
|
970
|
+
result.templates.forEach(function (newTemplate) {
|
|
971
|
+
newParsedTemplates_1.push(JSON.parse(newTemplate.template));
|
|
972
|
+
});
|
|
973
|
+
hasMore = result.hasMore;
|
|
974
|
+
token = result.token;
|
|
975
|
+
return [3 /*break*/, 2];
|
|
976
|
+
case 4: return [3 /*break*/, 6];
|
|
977
|
+
case 5:
|
|
956
978
|
e_1 = _b.sent();
|
|
957
|
-
(_a = logger === null || logger === void 0 ? void 0 : logger.error) === null || _a === void 0 ? void 0 : _a.call(logger, 'Sendbird |
|
|
958
|
-
return [3 /*break*/,
|
|
959
|
-
case
|
|
960
|
-
if (
|
|
979
|
+
(_a = logger === null || logger === void 0 ? void 0 : logger.error) === null || _a === void 0 ? void 0 : _a.call(logger, 'Sendbird | fetchProcessedMessageTemplates failed', e_1, templateKeys);
|
|
980
|
+
return [3 /*break*/, 6];
|
|
981
|
+
case 6:
|
|
982
|
+
if (newParsedTemplates_1.length > 0) {
|
|
961
983
|
cachedMessageTemplates = localStorage.getItem(CACHED_MESSAGE_TEMPLATES_KEY);
|
|
962
984
|
if (cachedMessageTemplates) {
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
985
|
+
parsedTemplates_1 = JSON.parse(cachedMessageTemplates);
|
|
986
|
+
existingKeys_1 = parsedTemplates_1.map(function (parsedTemplate) { return parsedTemplate.key; });
|
|
987
|
+
newParsedTemplates_1.forEach(function (newParsedTemplate) {
|
|
988
|
+
if (!existingKeys_1.includes(newParsedTemplate.key)) {
|
|
989
|
+
parsedTemplates_1.push(newParsedTemplate);
|
|
990
|
+
}
|
|
991
|
+
});
|
|
992
|
+
localStorage.setItem(CACHED_MESSAGE_TEMPLATES_KEY, JSON.stringify(parsedTemplates_1));
|
|
966
993
|
}
|
|
967
994
|
else {
|
|
968
|
-
localStorage.setItem(CACHED_MESSAGE_TEMPLATES_KEY, JSON.stringify([
|
|
995
|
+
localStorage.setItem(CACHED_MESSAGE_TEMPLATES_KEY, JSON.stringify([newParsedTemplates_1]));
|
|
969
996
|
}
|
|
970
|
-
|
|
997
|
+
// Update memory
|
|
971
998
|
appInfoDispatcher({
|
|
972
|
-
type:
|
|
973
|
-
payload: {
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
999
|
+
type: UPSERT_MESSAGE_TEMPLATES,
|
|
1000
|
+
payload: newParsedTemplates_1.map(function (newParsedTemplate) {
|
|
1001
|
+
return {
|
|
1002
|
+
key: newParsedTemplate.key,
|
|
1003
|
+
template: getProcessedTemplate(newParsedTemplate),
|
|
1004
|
+
};
|
|
1005
|
+
}),
|
|
977
1006
|
});
|
|
978
1007
|
}
|
|
979
1008
|
else {
|
|
980
1009
|
appInfoDispatcher({
|
|
981
|
-
type:
|
|
1010
|
+
type: MARK_ERROR_WAITING_TEMPLATE_KEYS,
|
|
982
1011
|
payload: {
|
|
983
|
-
|
|
1012
|
+
keys: templateKeys,
|
|
1013
|
+
messageId: messageId,
|
|
984
1014
|
},
|
|
985
1015
|
});
|
|
986
1016
|
}
|
|
987
|
-
_b.label =
|
|
988
|
-
case
|
|
1017
|
+
_b.label = 7;
|
|
1018
|
+
case 7: return [2 /*return*/];
|
|
989
1019
|
}
|
|
990
1020
|
});
|
|
991
1021
|
}); };
|
package/SendbirdProvider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SendbirdProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SendbirdProvider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { c as __spreadArray, _ as __assign } from '../../chunks/bundle-
|
|
1
|
+
import { c as __spreadArray, _ as __assign } from '../../chunks/bundle-CfcTsxlD.js';
|
|
2
2
|
import React__default, { useState, useRef, useEffect, useContext } from 'react';
|
|
3
|
-
import { f as format } from '../../chunks/bundle-
|
|
4
|
-
import { R as RemoveMessage } from '../../chunks/bundle-
|
|
3
|
+
import { f as format } from '../../chunks/bundle-BGPVh26h.js';
|
|
4
|
+
import { R as RemoveMessage } from '../../chunks/bundle-DqPWGoAJ.js';
|
|
5
5
|
import ParentMessageInfoItem from './ParentMessageInfoItem.js';
|
|
6
|
-
import { f as getSenderName } from '../../chunks/bundle-
|
|
7
|
-
import { g as getIsReactionEnabled } from '../../chunks/bundle-
|
|
8
|
-
import { u as useLocalization } from '../../chunks/bundle-
|
|
6
|
+
import { f as getSenderName } from '../../chunks/bundle-BqL00V4c.js';
|
|
7
|
+
import { g as getIsReactionEnabled } from '../../chunks/bundle-moA7aUUB.js';
|
|
8
|
+
import { u as useLocalization } from '../../chunks/bundle-BkNNtN1V.js';
|
|
9
9
|
import { useSendbirdStateContext } from '../../useSendbirdStateContext.js';
|
|
10
10
|
import { useThreadContext } from '../context.js';
|
|
11
|
-
import { a as UserProfileContext } from '../../chunks/bundle-
|
|
12
|
-
import { S as SuggestedMentionList } from '../../chunks/bundle-
|
|
13
|
-
import { A as Avatar } from '../../chunks/bundle-
|
|
14
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-
|
|
15
|
-
import { F as FileViewer } from '../../chunks/bundle-
|
|
11
|
+
import { a as UserProfileContext } from '../../chunks/bundle-B0A-GTy2.js';
|
|
12
|
+
import { S as SuggestedMentionList } from '../../chunks/bundle-CPlEjTQQ.js';
|
|
13
|
+
import { A as Avatar } from '../../chunks/bundle-DyaS04Hg.js';
|
|
14
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-33BY7XhN.js';
|
|
15
|
+
import { F as FileViewer } from '../../chunks/bundle-B-5nMQI8.js';
|
|
16
16
|
import { MessageMenu } from '../../ui/MessageItemMenu.js';
|
|
17
17
|
import { MessageEmojiMenu } from '../../ui/MessageItemReactionMenu.js';
|
|
18
18
|
import ContextMenu, { MenuItems } from '../../ui/ContextMenu.js';
|
|
19
19
|
import UserProfile from '../../ui/UserProfile.js';
|
|
20
20
|
import MessageInput from '../../ui/MessageInput.js';
|
|
21
|
-
import { M as MessageInputKeys } from '../../chunks/bundle-
|
|
22
|
-
import { R as Role } from '../../chunks/bundle-
|
|
23
|
-
import { u as useMediaQueryContext } from '../../chunks/bundle-
|
|
24
|
-
import { u as useLongPress } from '../../chunks/bundle-
|
|
25
|
-
import { M as MobileMenu } from '../../chunks/bundle-
|
|
21
|
+
import { M as MessageInputKeys } from '../../chunks/bundle-Dcg5UJZ5.js';
|
|
22
|
+
import { R as Role } from '../../chunks/bundle-Bumce6iI.js';
|
|
23
|
+
import { u as useMediaQueryContext } from '../../chunks/bundle-BE9YtwxF.js';
|
|
24
|
+
import { u as useLongPress } from '../../chunks/bundle-D87WTORg.js';
|
|
25
|
+
import { M as MobileMenu } from '../../chunks/bundle-BnLycG5g.js';
|
|
26
26
|
import { useDirtyGetMentions } from '../../Message/hooks/useDirtyGetMentions.js';
|
|
27
|
-
import '../../chunks/bundle-
|
|
28
|
-
import '../../chunks/bundle-
|
|
27
|
+
import '../../chunks/bundle-CKqBhRZh.js';
|
|
28
|
+
import '../../chunks/bundle-DrKv7qiU.js';
|
|
29
29
|
import 'react-dom';
|
|
30
|
-
import '../../chunks/bundle-
|
|
30
|
+
import '../../chunks/bundle-Bm9cdQdy.js';
|
|
31
31
|
import '../../ui/IconButton.js';
|
|
32
32
|
import '../../ui/Button.js';
|
|
33
33
|
import '../../ui/Icon.js';
|
|
34
|
-
import '../../chunks/bundle-
|
|
35
|
-
import '../../chunks/bundle-
|
|
34
|
+
import '../../chunks/bundle-BYjHDpcR.js';
|
|
35
|
+
import '../../chunks/bundle-VAV0nvVl.js';
|
|
36
36
|
import '../../ui/ImageRenderer.js';
|
|
37
37
|
import '../../ui/TextButton.js';
|
|
38
|
-
import '../../chunks/bundle-
|
|
38
|
+
import '../../chunks/bundle-DaAps-h8.js';
|
|
39
39
|
import '../../ui/EmojiReactions.js';
|
|
40
40
|
import '../../ui/ReactionBadge.js';
|
|
41
41
|
import '../../ui/ReactionButton.js';
|
|
42
42
|
import '../../ui/BottomSheet.js';
|
|
43
43
|
import '../../hooks/useModal.js';
|
|
44
|
-
import '../../chunks/bundle-
|
|
44
|
+
import '../../chunks/bundle-BydX5Gik.js';
|
|
45
45
|
import '../../ui/UserListItem.js';
|
|
46
46
|
import '../../ui/MutedAvatarOverlay.js';
|
|
47
47
|
import '../../ui/Checkbox.js';
|
|
48
|
-
import '../../chunks/bundle-
|
|
48
|
+
import '../../chunks/bundle-CWPkjiZ7.js';
|
|
49
49
|
import '../../sendbirdSelectors.js';
|
|
50
|
-
import '../../chunks/bundle-
|
|
50
|
+
import '../../chunks/bundle-C1UCPEjT.js';
|
|
51
51
|
import '../../withSendbird.js';
|
|
52
52
|
import '@sendbird/chat';
|
|
53
53
|
import '@sendbird/chat/openChannel';
|
|
54
54
|
import '../../ui/SortByRow.js';
|
|
55
|
-
import '../../chunks/bundle-
|
|
55
|
+
import '../../chunks/bundle-D4vlYCrG.js';
|
|
56
56
|
import '@sendbird/chat/groupChannel';
|
|
57
57
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
58
58
|
import '../../ui/Tooltip.js';
|
|
@@ -61,31 +61,31 @@ import '../../Message/context.js';
|
|
|
61
61
|
import '../../ui/VoiceMessageItemBody.js';
|
|
62
62
|
import '../../ui/ProgressBar.js';
|
|
63
63
|
import '../../VoicePlayer/useVoicePlayer.js';
|
|
64
|
-
import '../../chunks/bundle-
|
|
65
|
-
import '../../chunks/bundle-
|
|
64
|
+
import '../../chunks/bundle-CZbk43my.js';
|
|
65
|
+
import '../../chunks/bundle-BdJeQIAi.js';
|
|
66
66
|
import '../../VoiceRecorder/context.js';
|
|
67
67
|
import '../../ui/PlaybackTime.js';
|
|
68
68
|
import '../../ui/Loader.js';
|
|
69
|
-
import '../../chunks/bundle-
|
|
70
|
-
import '../../chunks/bundle-
|
|
69
|
+
import '../../chunks/bundle-DzD5ZPeu.js';
|
|
70
|
+
import '../../chunks/bundle-CquJpe2n.js';
|
|
71
71
|
import '../../ui/MentionLabel.js';
|
|
72
72
|
import '../../ui/LinkLabel.js';
|
|
73
|
-
import '../../chunks/bundle-
|
|
73
|
+
import '../../chunks/bundle-PoeV4u5o.js';
|
|
74
74
|
import '@sendbird/chat/message';
|
|
75
|
-
import '../../chunks/bundle-
|
|
76
|
-
import '../../chunks/bundle-
|
|
75
|
+
import '../../chunks/bundle-BFLCbnVa.js';
|
|
76
|
+
import '../../chunks/bundle-DR5lvmY_.js';
|
|
77
77
|
import '../context/types.js';
|
|
78
|
-
import '../../chunks/bundle-
|
|
79
|
-
import '../../chunks/bundle-
|
|
80
|
-
import '../../chunks/bundle-
|
|
81
|
-
import '../../chunks/bundle-
|
|
82
|
-
import '../../chunks/bundle-
|
|
78
|
+
import '../../chunks/bundle-CSIi4GHQ.js';
|
|
79
|
+
import '../../chunks/bundle-BE6Zgv3s.js';
|
|
80
|
+
import '../../chunks/bundle-CJxhCCYf.js';
|
|
81
|
+
import '../../chunks/bundle-4YHx3jhU.js';
|
|
82
|
+
import '../../chunks/bundle-CsV5Pqhn.js';
|
|
83
83
|
import '@sendbird/uikit-tools';
|
|
84
|
-
import '../../chunks/bundle-
|
|
84
|
+
import '../../chunks/bundle-Dm1_TUsQ.js';
|
|
85
85
|
import 'dompurify';
|
|
86
|
-
import '../../chunks/bundle-
|
|
87
|
-
import '../../chunks/bundle-
|
|
88
|
-
import '../../chunks/bundle-
|
|
86
|
+
import '../../chunks/bundle-DM3wUgvd.js';
|
|
87
|
+
import '../../chunks/bundle-DfhDmd9y.js';
|
|
88
|
+
import '../../chunks/bundle-BRSrznG_.js';
|
|
89
89
|
|
|
90
90
|
function ParentMessageInfo(_a) {
|
|
91
91
|
var _b, _c, _d, _e, _f, _g;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React__default, { useMemo, useState } from 'react';
|
|
2
|
-
import { u as useLocalization } from '../../chunks/bundle-
|
|
3
|
-
import { l as isUserMessage, d as isEditedMessage, m as getUIKitMessageType, n as getUIKitMessageTypes, o as getUIKitFileType, t as truncateString, c as isMultipleFilesMessage, i as isVoiceMessage, p as isThumbnailMessage, q as isSentMessage, r as isVideoMessage, s as isGifMessage } from '../../chunks/bundle-
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-
|
|
2
|
+
import { u as useLocalization } from '../../chunks/bundle-BkNNtN1V.js';
|
|
3
|
+
import { l as isUserMessage, d as isEditedMessage, m as getUIKitMessageType, n as getUIKitMessageTypes, o as getUIKitFileType, t as truncateString, c as isMultipleFilesMessage, i as isVoiceMessage, p as isThumbnailMessage, q as isSentMessage, r as isVideoMessage, s as isGifMessage } from '../../chunks/bundle-BqL00V4c.js';
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-33BY7XhN.js';
|
|
5
5
|
import ImageRenderer from '../../ui/ImageRenderer.js';
|
|
6
6
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
7
7
|
import TextButton from '../../ui/TextButton.js';
|
|
@@ -9,62 +9,62 @@ import { useSendbirdStateContext } from '../../useSendbirdStateContext.js';
|
|
|
9
9
|
import EmojiReactions from '../../ui/EmojiReactions.js';
|
|
10
10
|
import { useThreadContext } from '../context.js';
|
|
11
11
|
import { VoiceMessageItemBody } from '../../ui/VoiceMessageItemBody.js';
|
|
12
|
-
import { T as TextFragment } from '../../chunks/bundle-
|
|
13
|
-
import { t as tokenizeMessage } from '../../chunks/bundle-
|
|
14
|
-
import { u as useThreadMessageKindKeySelector, a as useFileInfoListWithUploaded, M as MultipleFilesMessageItemBody, T as ThreadMessageKind } from '../../chunks/bundle-
|
|
15
|
-
import { u as useMediaQueryContext } from '../../chunks/bundle-
|
|
16
|
-
import { C as Colors } from '../../chunks/bundle-
|
|
17
|
-
import '../../chunks/bundle-
|
|
18
|
-
import '../../chunks/bundle-
|
|
19
|
-
import '../../chunks/bundle-
|
|
12
|
+
import { T as TextFragment } from '../../chunks/bundle-DzD5ZPeu.js';
|
|
13
|
+
import { t as tokenizeMessage } from '../../chunks/bundle-CquJpe2n.js';
|
|
14
|
+
import { u as useThreadMessageKindKeySelector, a as useFileInfoListWithUploaded, M as MultipleFilesMessageItemBody, T as ThreadMessageKind } from '../../chunks/bundle-PoeV4u5o.js';
|
|
15
|
+
import { u as useMediaQueryContext } from '../../chunks/bundle-BE9YtwxF.js';
|
|
16
|
+
import { C as Colors } from '../../chunks/bundle-DaAps-h8.js';
|
|
17
|
+
import '../../chunks/bundle-BydX5Gik.js';
|
|
18
|
+
import '../../chunks/bundle-CKqBhRZh.js';
|
|
19
|
+
import '../../chunks/bundle-CfcTsxlD.js';
|
|
20
20
|
import '@sendbird/chat/groupChannel';
|
|
21
21
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
22
|
-
import '../../chunks/bundle-
|
|
23
|
-
import '../../chunks/bundle-
|
|
22
|
+
import '../../chunks/bundle-VAV0nvVl.js';
|
|
23
|
+
import '../../chunks/bundle-Bm9cdQdy.js';
|
|
24
24
|
import '../../withSendbird.js';
|
|
25
25
|
import '../../ui/ReactionBadge.js';
|
|
26
26
|
import '../../ui/ReactionButton.js';
|
|
27
|
-
import '../../chunks/bundle-
|
|
27
|
+
import '../../chunks/bundle-D87WTORg.js';
|
|
28
28
|
import '../../ui/ContextMenu.js';
|
|
29
29
|
import 'react-dom';
|
|
30
30
|
import '@sendbird/chat';
|
|
31
31
|
import '@sendbird/chat/openChannel';
|
|
32
32
|
import '../../ui/SortByRow.js';
|
|
33
|
-
import '../../chunks/bundle-
|
|
33
|
+
import '../../chunks/bundle-D4vlYCrG.js';
|
|
34
34
|
import '../../ui/BottomSheet.js';
|
|
35
35
|
import '../../hooks/useModal.js';
|
|
36
|
-
import '../../chunks/bundle-
|
|
36
|
+
import '../../chunks/bundle-DrKv7qiU.js';
|
|
37
37
|
import '../../ui/IconButton.js';
|
|
38
38
|
import '../../ui/Button.js';
|
|
39
39
|
import '../../ui/UserListItem.js';
|
|
40
|
-
import '../../chunks/bundle-
|
|
41
|
-
import '../../chunks/bundle-
|
|
42
|
-
import '../../chunks/bundle-
|
|
40
|
+
import '../../chunks/bundle-B0A-GTy2.js';
|
|
41
|
+
import '../../chunks/bundle-DyaS04Hg.js';
|
|
42
|
+
import '../../chunks/bundle-CWPkjiZ7.js';
|
|
43
43
|
import '../../ui/MutedAvatarOverlay.js';
|
|
44
44
|
import '../../ui/Checkbox.js';
|
|
45
45
|
import '../../ui/UserProfile.js';
|
|
46
46
|
import '../../sendbirdSelectors.js';
|
|
47
|
-
import '../../chunks/bundle-
|
|
47
|
+
import '../../chunks/bundle-C1UCPEjT.js';
|
|
48
48
|
import '../../ui/Tooltip.js';
|
|
49
49
|
import '../../ui/TooltipWrapper.js';
|
|
50
50
|
import '../../Message/context.js';
|
|
51
|
-
import '../../chunks/bundle-
|
|
52
|
-
import '../../chunks/bundle-
|
|
51
|
+
import '../../chunks/bundle-BFLCbnVa.js';
|
|
52
|
+
import '../../chunks/bundle-DR5lvmY_.js';
|
|
53
53
|
import '@sendbird/chat/message';
|
|
54
|
-
import '../../chunks/bundle-
|
|
54
|
+
import '../../chunks/bundle-BdJeQIAi.js';
|
|
55
55
|
import '../context/types.js';
|
|
56
|
-
import '../../chunks/bundle-
|
|
57
|
-
import '../../chunks/bundle-
|
|
56
|
+
import '../../chunks/bundle-CSIi4GHQ.js';
|
|
57
|
+
import '../../chunks/bundle-BE6Zgv3s.js';
|
|
58
58
|
import '../../ui/ProgressBar.js';
|
|
59
59
|
import '../../VoicePlayer/useVoicePlayer.js';
|
|
60
|
-
import '../../chunks/bundle-
|
|
60
|
+
import '../../chunks/bundle-CZbk43my.js';
|
|
61
61
|
import '../../VoiceRecorder/context.js';
|
|
62
62
|
import '../../ui/PlaybackTime.js';
|
|
63
63
|
import '../../ui/Loader.js';
|
|
64
64
|
import '../../ui/MentionLabel.js';
|
|
65
65
|
import '../../ui/LinkLabel.js';
|
|
66
|
-
import '../../chunks/bundle-
|
|
67
|
-
import '../../chunks/bundle-
|
|
66
|
+
import '../../chunks/bundle-B-5nMQI8.js';
|
|
67
|
+
import '../../chunks/bundle-CsV5Pqhn.js';
|
|
68
68
|
import '@sendbird/uikit-tools';
|
|
69
69
|
|
|
70
70
|
function ParentMessageInfoItem(_a) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React__default, { useMemo } from 'react';
|
|
2
2
|
import IconButton from '../../ui/IconButton.js';
|
|
3
3
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
4
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-
|
|
4
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../chunks/bundle-33BY7XhN.js';
|
|
5
5
|
import TextButton from '../../ui/TextButton.js';
|
|
6
|
-
import { u as useLocalization } from '../../chunks/bundle-
|
|
7
|
-
import '../../chunks/bundle-
|
|
8
|
-
import '../../chunks/bundle-
|
|
9
|
-
import '../../chunks/bundle-
|
|
10
|
-
import '../../chunks/bundle-
|
|
11
|
-
import '../../chunks/bundle-
|
|
6
|
+
import { u as useLocalization } from '../../chunks/bundle-BkNNtN1V.js';
|
|
7
|
+
import '../../chunks/bundle-CfcTsxlD.js';
|
|
8
|
+
import '../../chunks/bundle-Bm9cdQdy.js';
|
|
9
|
+
import '../../chunks/bundle-BydX5Gik.js';
|
|
10
|
+
import '../../chunks/bundle-DaAps-h8.js';
|
|
11
|
+
import '../../chunks/bundle-CKqBhRZh.js';
|
|
12
12
|
|
|
13
13
|
function ThreadHeader(_a) {
|
|
14
14
|
var className = _a.className, channelName = _a.channelName, renderActionIcon = _a.renderActionIcon, onActionIconClick = _a.onActionIconClick, onChannelNameClick = _a.onChannelNameClick;
|