@sendbird/uikit-react 3.15.13 → 3.15.14
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 +115 -270
- package/App.js.map +1 -1
- package/CHANGELOG.md +39 -0
- package/Channel/components/ChannelHeader.js +32 -40
- package/Channel/components/ChannelHeader.js.map +1 -1
- package/Channel/components/ChannelUI.js +77 -76
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +31 -35
- package/Channel/components/FileViewer.js.map +1 -1
- package/Channel/components/FrozenNotification.js +6 -5
- package/Channel/components/FrozenNotification.js.map +1 -1
- package/Channel/components/Message.js +68 -67
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +48 -50
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageInputWrapper.js +48 -50
- package/Channel/components/MessageInputWrapper.js.map +1 -1
- package/Channel/components/MessageList.js +74 -70
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +31 -36
- package/Channel/components/RemoveMessageModal.js.map +1 -1
- package/Channel/components/SuggestedMentionList.js +31 -41
- package/Channel/components/SuggestedMentionList.js.map +1 -1
- package/Channel/components/TypingIndicator.js +11 -7
- package/Channel/components/TypingIndicator.js.map +1 -1
- package/Channel/components/UnreadCount.js +8 -7
- package/Channel/components/UnreadCount.js.map +1 -1
- package/Channel/context.js +71 -39
- package/Channel/context.js.map +1 -1
- package/Channel/hooks/useHandleUploadFiles.js +20 -22
- package/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/Channel/utils/compareMessagesForGrouping.js +16 -18
- package/Channel/utils/compareMessagesForGrouping.js.map +1 -1
- package/Channel/utils/getMessagePartsInfo.js +13 -14
- package/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/Channel.js +77 -76
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +214 -45
- package/ChannelList/components/AddChannel.js.map +1 -1
- package/ChannelList/components/ChannelListHeader.js +16 -11
- package/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/ChannelList/components/ChannelListUI.js +205 -138
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +39 -41
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +17 -18
- package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/ChannelList/context.js +14 -27
- package/ChannelList/context.js.map +1 -1
- package/ChannelList.js +212 -81
- package/ChannelList.js.map +1 -1
- package/ChannelSettings/components/ChannelProfile.js +28 -32
- package/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingMenuList.js +15 -28
- package/ChannelSettings/components/ChannelSettingMenuList.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsHeader.js +16 -10
- package/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
- package/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
- package/ChannelSettings/components/ChannelSettingsUI.js +49 -50
- package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/ChannelSettings/components/EditDetailsModal.js +23 -31
- package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/ChannelSettings/components/LeaveChannel.js +25 -28
- package/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/ChannelSettings/components/ModerationPanel.js +33 -33
- package/ChannelSettings/components/UserListItem.js +26 -29
- package/ChannelSettings/components/UserListItem.js.map +1 -1
- package/ChannelSettings/components/UserPanel.js +35 -35
- package/ChannelSettings/context.js +11 -173
- package/ChannelSettings/context.js.map +1 -1
- package/ChannelSettings/hooks/useMenuList.js +33 -33
- package/ChannelSettings.js +52 -52
- package/CreateChannel/components/CreateChannelUI.js +214 -45
- package/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/CreateChannel/components/InviteUsers.js +215 -153
- package/CreateChannel/components/InviteUsers.js.map +1 -1
- package/CreateChannel/components/SelectChannelType.js +216 -85
- package/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/CreateChannel/context.js +221 -6
- package/CreateChannel/context.js.map +1 -1
- package/CreateChannel.js +213 -39
- package/CreateChannel.js.map +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +16 -24
- package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/CreateOpenChannel/context.js +9 -4
- package/CreateOpenChannel/context.js.map +1 -1
- package/CreateOpenChannel.js +16 -24
- package/CreateOpenChannel.js.map +1 -1
- package/EditUserProfile/components/EditUserProfileUI.js +27 -35
- package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/EditUserProfile/context.js +1 -1
- package/EditUserProfile.js +16 -25
- package/EditUserProfile.js.map +1 -1
- package/GroupChannel/components/FileViewer.js +34 -36
- package/GroupChannel/components/FileViewer.js.map +1 -1
- package/GroupChannel/components/FrozenNotification.js +6 -5
- package/GroupChannel/components/FrozenNotification.js.map +1 -1
- package/GroupChannel/components/GroupChannelHeader.js +31 -37
- package/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/GroupChannel/components/GroupChannelUI.js +73 -70
- package/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/GroupChannel/components/Message.js +67 -63
- package/GroupChannel/components/Message.js.map +1 -1
- package/GroupChannel/components/MessageInputWrapper.js +49 -48
- package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/GroupChannel/components/MessageList.js +76 -71
- package/GroupChannel/components/MessageList.js.map +1 -1
- package/GroupChannel/components/RemoveMessageModal.js +32 -34
- package/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/GroupChannel/components/SuggestedMentionList.js +18 -13
- package/GroupChannel/components/SuggestedMentionList.js.map +1 -1
- package/GroupChannel/components/TypingIndicator.js +14 -10
- package/GroupChannel/components/TypingIndicator.js.map +1 -1
- package/GroupChannel/components/UnreadCount.js +8 -7
- package/GroupChannel/components/UnreadCount.js.map +1 -1
- package/GroupChannel/context.js +19 -513
- package/GroupChannel/context.js.map +1 -1
- package/GroupChannel.js +71 -68
- package/GroupChannel.js.map +1 -1
- package/GroupChannelList/components/AddGroupChannel.js +214 -45
- package/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListHeader.js +17 -13
- package/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListItem.js +39 -40
- package/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
- package/GroupChannelList/components/GroupChannelListUI.js +211 -115
- package/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/GroupChannelList/components/GroupChannelPreviewAction.js +18 -20
- package/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
- package/GroupChannelList/context.js +13 -118
- package/GroupChannelList/context.js.map +1 -1
- package/GroupChannelList.js +209 -72
- package/GroupChannelList.js.map +1 -1
- package/MessageSearch/components/MessageSearchUI.js +24 -23
- package/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/MessageSearch/context.js +9 -280
- package/MessageSearch/context.js.map +1 -1
- package/MessageSearch.js +24 -20
- package/MessageSearch.js.map +1 -1
- package/OpenChannel/components/FrozenChannelNotification.js +5 -4
- package/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
- package/OpenChannel/components/OpenChannelHeader.js +23 -29
- package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/OpenChannel/components/OpenChannelInput.js +31 -33
- package/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessage.js +45 -44
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +54 -52
- package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/OpenChannel/components/OpenChannelUI.js +49 -48
- package/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/OpenChannel/context.js +21 -27
- package/OpenChannel/context.js.map +1 -1
- package/OpenChannel.js +47 -46
- package/OpenChannel.js.map +1 -1
- package/OpenChannelList/components/OpenChannelListUI.js +20 -28
- package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/OpenChannelList/context.js +9 -5
- package/OpenChannelList/context.js.map +1 -1
- package/OpenChannelList.js +18 -26
- package/OpenChannelList.js.map +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +23 -31
- package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelProfile.js +24 -32
- package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +33 -34
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/OpenChannelSettings/components/OperatorUI.js +37 -41
- package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/OpenChannelSettings/components/ParticipantUI.js +22 -23
- package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/OpenChannelSettings/context.js +16 -35
- package/OpenChannelSettings/context.js.map +1 -1
- package/OpenChannelSettings.js +27 -28
- package/OpenChannelSettings.js.map +1 -1
- package/SendbirdProvider.js +486 -914
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +71 -68
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +42 -39
- package/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/Thread/components/ThreadHeader.js +8 -7
- package/Thread/components/ThreadHeader.js.map +1 -1
- package/Thread/components/ThreadList.js +67 -63
- package/Thread/components/ThreadList.js.map +1 -1
- package/Thread/components/ThreadListItem.js +77 -76
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +67 -67
- package/Thread/components/ThreadUI.js +74 -72
- package/Thread/components/ThreadUI.js.map +1 -1
- package/Thread/context/types.js +0 -1
- package/Thread/context/types.js.map +1 -1
- package/Thread/context.js +20 -1335
- package/Thread/context.js.map +1 -1
- package/Thread.js +70 -68
- package/Thread.js.map +1 -1
- package/VoicePlayer/context.js +9 -6
- package/VoicePlayer/context.js.map +1 -1
- package/VoicePlayer/useVoicePlayer.js +17 -22
- package/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/VoiceRecorder/context.js +127 -22
- package/VoiceRecorder/context.js.map +1 -1
- package/VoiceRecorder/useVoiceRecorder.js +16 -22
- package/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/chunks/{bundle-MkyS3j4-.js → bundle--1cImOGd.js} +1 -1
- package/chunks/bundle--1cImOGd.js.map +1 -0
- package/chunks/{bundle-BBowfNDO.js → bundle-4w9Y7uxA.js} +1 -1
- package/chunks/bundle-4w9Y7uxA.js.map +1 -0
- package/chunks/{bundle-ryUmMhVP.js → bundle-B5_aP8LE.js} +1 -1
- package/chunks/{bundle-ryUmMhVP.js.map → bundle-B5_aP8LE.js.map} +1 -1
- package/chunks/{bundle-C7jYHvwG.js → bundle-B8Grfnrx.js} +2 -2
- package/chunks/{bundle-C7jYHvwG.js.map → bundle-B8Grfnrx.js.map} +1 -1
- package/chunks/{bundle-BP1DBRft.js → bundle-BCGcsRu2.js} +5 -5
- package/chunks/{bundle-BP1DBRft.js.map → bundle-BCGcsRu2.js.map} +1 -1
- package/chunks/{bundle-Crm9sJrW.js → bundle-BFJ4ctRk.js} +8 -8
- package/chunks/{bundle-Crm9sJrW.js.map → bundle-BFJ4ctRk.js.map} +1 -1
- package/chunks/{bundle-LWpHaUiZ.js → bundle-BGj68IUE.js} +9 -7
- package/chunks/bundle-BGj68IUE.js.map +1 -0
- package/chunks/{bundle-V4PrrT67.js → bundle-BQnpPj5l.js} +13 -13
- package/chunks/bundle-BQnpPj5l.js.map +1 -0
- package/chunks/{bundle-CDjVXDOc.js → bundle-BTxw_tIt.js} +1 -1
- package/chunks/bundle-BTxw_tIt.js.map +1 -0
- package/{cjs/chunks/bundle-DE5YH8Q-.js → chunks/bundle-BYOddwmS.js} +2 -32
- package/chunks/{bundle-CIN9yQRB.js.map → bundle-BYOddwmS.js.map} +1 -1
- package/chunks/{bundle-gQ2a8Eki.js → bundle-BYqblmEM.js} +4 -19
- package/chunks/bundle-BYqblmEM.js.map +1 -0
- package/chunks/bundle-Bc6hXWJF.js +190 -0
- package/chunks/bundle-Bc6hXWJF.js.map +1 -0
- package/chunks/{bundle-Dpdq7qeD.js → bundle-BciLDE6M.js} +1 -1
- package/chunks/bundle-BciLDE6M.js.map +1 -0
- package/chunks/bundle-BfEYq-V8.js +9 -0
- package/chunks/bundle-BfEYq-V8.js.map +1 -0
- package/chunks/bundle-BkZBhjs8.js +209 -0
- package/chunks/bundle-BkZBhjs8.js.map +1 -0
- package/chunks/{bundle-JYgg9UJ5.js → bundle-BoZwl2OL.js} +23 -23
- package/chunks/{bundle-JYgg9UJ5.js.map → bundle-BoZwl2OL.js.map} +1 -1
- package/chunks/{bundle-CMuwfYDs.js → bundle-BqREbgmR.js} +17 -17
- package/chunks/{bundle-CMuwfYDs.js.map → bundle-BqREbgmR.js.map} +1 -1
- package/chunks/{bundle-Dskg5qjd.js → bundle-BqjbaVLO.js} +1 -1
- package/chunks/bundle-BqjbaVLO.js.map +1 -0
- package/chunks/{bundle-DjgT6gu4.js → bundle-C3VM5eS8.js} +1 -1
- package/chunks/bundle-C3VM5eS8.js.map +1 -0
- package/chunks/bundle-C4OmfIXk.js +2920 -0
- package/chunks/bundle-C4OmfIXk.js.map +1 -0
- package/chunks/bundle-C5Pz6wMm.js +38 -0
- package/chunks/bundle-C5Pz6wMm.js.map +1 -0
- package/chunks/{bundle-Dvg19muo.js → bundle-C60pq62Y.js} +6 -6
- package/chunks/bundle-C60pq62Y.js.map +1 -0
- package/chunks/{bundle-LPNnEgGp.js → bundle-C6Hk5xTT.js} +1 -1
- package/chunks/bundle-C6Hk5xTT.js.map +1 -0
- package/chunks/{bundle-yLTgHCRG.js → bundle-C8TP-mjp.js} +2 -2
- package/chunks/{bundle-yLTgHCRG.js.map → bundle-C8TP-mjp.js.map} +1 -1
- package/chunks/{bundle-DLlgZtQy.js → bundle-CBOpPuMW.js} +5 -5
- package/chunks/{bundle-DLlgZtQy.js.map → bundle-CBOpPuMW.js.map} +1 -1
- package/chunks/{bundle-DUTyBaXr.js → bundle-CDcu1I4f.js} +7 -2
- package/chunks/bundle-CDcu1I4f.js.map +1 -0
- package/chunks/{bundle-BXE5p6Kc.js → bundle-CEE3GJSk.js} +14 -13
- package/chunks/{bundle-BXE5p6Kc.js.map → bundle-CEE3GJSk.js.map} +1 -1
- package/chunks/{bundle-BL_0pgq0.js → bundle-CF8V-ET_.js} +17 -16
- package/chunks/{bundle-BL_0pgq0.js.map → bundle-CF8V-ET_.js.map} +1 -1
- package/chunks/{bundle-DaKZZ13Y.js → bundle-CFXaZ31h.js} +1 -1
- package/chunks/bundle-CFXaZ31h.js.map +1 -0
- package/chunks/{bundle-D5-VMB5f.js → bundle-CGOt5cwH.js} +13 -12
- package/chunks/{bundle-D5-VMB5f.js.map → bundle-CGOt5cwH.js.map} +1 -1
- package/chunks/{bundle-eYHtE5ry.js → bundle-CJmXP56m.js} +3 -3
- package/chunks/bundle-CJmXP56m.js.map +1 -0
- package/chunks/{bundle-3aUfVJHj.js → bundle-CQAiZVNS.js} +8 -9
- package/chunks/bundle-CQAiZVNS.js.map +1 -0
- package/chunks/{bundle-2kzSicIw.js → bundle-CSDZhWAY.js} +3 -3
- package/chunks/{bundle-2kzSicIw.js.map → bundle-CSDZhWAY.js.map} +1 -1
- package/chunks/{bundle-4W3uBGU3.js → bundle-CTkGIdt8.js} +1 -1
- package/chunks/bundle-CTkGIdt8.js.map +1 -0
- package/chunks/bundle-CVS5Kfg_.js +1108 -0
- package/chunks/bundle-CVS5Kfg_.js.map +1 -0
- package/chunks/{bundle-DrHsf0sP.js → bundle-CYGowmbA.js} +4 -4
- package/chunks/bundle-CYGowmbA.js.map +1 -0
- package/chunks/{bundle-CZsW3iP9.js → bundle-CYXfk28D.js} +2 -2
- package/chunks/bundle-CYXfk28D.js.map +1 -0
- package/chunks/{bundle-BR3O1lZq.js → bundle-C_ngoQD_.js} +1 -1
- package/chunks/bundle-C_ngoQD_.js.map +1 -0
- package/chunks/{bundle-DYeeW5nS.js → bundle-CgLhYjm5.js} +7 -14
- package/chunks/bundle-CgLhYjm5.js.map +1 -0
- package/chunks/bundle-CinANGYQ.js +260 -0
- package/chunks/bundle-CinANGYQ.js.map +1 -0
- package/chunks/{bundle-P-vXuw8U.js → bundle-Cn2czFA-.js} +1 -1
- package/chunks/bundle-Cn2czFA-.js.map +1 -0
- package/chunks/{bundle-5-21Jk06.js → bundle-CrQTAewk.js} +16 -20
- package/chunks/bundle-CrQTAewk.js.map +1 -0
- package/chunks/{bundle-CJBs1h8R.js → bundle-CuP5OWwY.js} +16 -16
- package/chunks/{bundle-CJBs1h8R.js.map → bundle-CuP5OWwY.js.map} +1 -1
- package/chunks/{bundle-Er6ifVzM.js → bundle-CwHldvb8.js} +1 -1
- package/chunks/{bundle-Er6ifVzM.js.map → bundle-CwHldvb8.js.map} +1 -1
- package/chunks/bundle-D4BlmM5H.js +661 -0
- package/chunks/bundle-D4BlmM5H.js.map +1 -0
- package/chunks/{bundle-BE58pe-0.js → bundle-D6CBeFkE.js} +8 -8
- package/chunks/bundle-D6CBeFkE.js.map +1 -0
- package/chunks/{bundle-C1U8wE49.js → bundle-D8xAej93.js} +2 -2
- package/chunks/bundle-D8xAej93.js.map +1 -0
- package/chunks/{bundle-DCbJaskZ.js → bundle-DDZn5buS.js} +3 -2
- package/chunks/bundle-DDZn5buS.js.map +1 -0
- package/chunks/{bundle-Ci2fMtNJ.js → bundle-DED6q4Ti.js} +1 -2
- package/chunks/bundle-DED6q4Ti.js.map +1 -0
- package/chunks/{bundle-TGosz9cX.js → bundle-DS6Kt7YS.js} +1 -1
- package/chunks/bundle-DS6Kt7YS.js.map +1 -0
- package/chunks/{bundle-_-FiwcfQ.js → bundle-DT1VcdMs.js} +2 -2
- package/chunks/{bundle-_-FiwcfQ.js.map → bundle-DT1VcdMs.js.map} +1 -1
- package/chunks/{bundle-DvcOxLrR.js → bundle-DTYj03OD.js} +3 -3
- package/chunks/bundle-DTYj03OD.js.map +1 -0
- package/chunks/{bundle-C9dF4QVS.js → bundle-DXneAdAp.js} +1 -1
- package/chunks/bundle-DXneAdAp.js.map +1 -0
- package/chunks/{bundle-Dl9NVsui.js → bundle-DYBTopZK.js} +1 -1
- package/chunks/{bundle-Dl9NVsui.js.map → bundle-DYBTopZK.js.map} +1 -1
- package/chunks/{bundle-BP1CB0js.js → bundle-DZJe3dCn.js} +1 -1
- package/chunks/bundle-DZJe3dCn.js.map +1 -0
- package/chunks/{bundle-_sFl37fA.js → bundle-D_SH0JG9.js} +6 -7
- package/chunks/{bundle-CTE4m7bC.js.map → bundle-D_SH0JG9.js.map} +1 -1
- package/chunks/{bundle-Deel9XzY.js → bundle-D_tSqvX6.js} +3 -3
- package/chunks/bundle-D_tSqvX6.js.map +1 -0
- package/chunks/{bundle-BH8ohfFx.js → bundle-Dd7rgmeQ.js} +8 -8
- package/chunks/{bundle-BH8ohfFx.js.map → bundle-Dd7rgmeQ.js.map} +1 -1
- package/chunks/bundle-De-3zaYV.js +4 -0
- package/chunks/bundle-De-3zaYV.js.map +1 -0
- package/chunks/{bundle-CbEyAimK.js → bundle-DgFzcADJ.js} +4 -4
- package/chunks/bundle-DgFzcADJ.js.map +1 -0
- package/chunks/{bundle-BiPxcZtH.js → bundle-DgpfIrde.js} +1 -1
- package/chunks/bundle-DgpfIrde.js.map +1 -0
- package/chunks/{bundle-Bzt5nDi4.js → bundle-Dhf37wzM.js} +4 -4
- package/chunks/{bundle-Bzt5nDi4.js.map → bundle-Dhf37wzM.js.map} +1 -1
- package/chunks/{bundle-CTE4m7bC.js → bundle-DhzrKzt2.js} +5 -5
- package/{cjs/chunks/bundle-ChVeqDIG.js.map → chunks/bundle-DhzrKzt2.js.map} +1 -1
- package/chunks/{bundle-CzdrQ_Yq.js → bundle-Djq12iSf.js} +1 -1
- package/chunks/bundle-Djq12iSf.js.map +1 -0
- package/chunks/bundle-Dkmv9H3b.js +149 -0
- package/chunks/bundle-Dkmv9H3b.js.map +1 -0
- package/chunks/{bundle-k6zcGkBp.js → bundle-Do9UFGCD.js} +4 -4
- package/chunks/bundle-Do9UFGCD.js.map +1 -0
- package/chunks/{bundle-BMygDCXK.js → bundle-Dp_oW1ks.js} +1 -1
- package/chunks/bundle-Dp_oW1ks.js.map +1 -0
- package/chunks/{bundle-DWrM1EW4.js → bundle-DqR5RvpV.js} +4 -4
- package/chunks/bundle-DqR5RvpV.js.map +1 -0
- package/chunks/bundle-Dupd7RPQ.js +740 -0
- package/chunks/bundle-Dupd7RPQ.js.map +1 -0
- package/chunks/{bundle-BAQj91eb.js → bundle-DvsR4u7y.js} +9 -8
- package/chunks/bundle-DvsR4u7y.js.map +1 -0
- package/chunks/{bundle-DCX2mqfp.js → bundle-DwLTEVMK.js} +8 -22
- package/{cjs/chunks/bundle-DpyxKl7F.js.map → chunks/bundle-DwLTEVMK.js.map} +1 -1
- package/chunks/{bundle-90vsNbxW.js → bundle-Dx4-1s0A.js} +1 -1
- package/chunks/bundle-Dx4-1s0A.js.map +1 -0
- package/chunks/{bundle-BeUKuH7h.js → bundle-Dy1IZ181.js} +3 -3
- package/chunks/{bundle-BeUKuH7h.js.map → bundle-Dy1IZ181.js.map} +1 -1
- package/chunks/{bundle-DImSV9VW.js → bundle-HspRRkmy.js} +3 -3
- package/chunks/bundle-HspRRkmy.js.map +1 -0
- package/chunks/bundle-I25ah_Bv.js +257 -0
- package/chunks/{bundle-DCX2mqfp.js.map → bundle-I25ah_Bv.js.map} +1 -1
- package/chunks/{bundle-CDvvzlad.js → bundle-L60pJMdf.js} +6 -5
- package/chunks/bundle-L60pJMdf.js.map +1 -0
- package/chunks/bundle-LnGQMQVt.js +65 -0
- package/chunks/bundle-LnGQMQVt.js.map +1 -0
- package/chunks/{bundle-DkviGBGz.js → bundle-Ob7Cw3V-.js} +2 -2
- package/chunks/bundle-Ob7Cw3V-.js.map +1 -0
- package/chunks/{bundle-C6-Ix-Lk.js → bundle-QCH8CZT8.js} +8 -7
- package/{cjs/chunks/bundle-DUanoG7J.js.map → chunks/bundle-QCH8CZT8.js.map} +1 -1
- package/chunks/bundle-WJtiC3BL.js +12 -0
- package/chunks/bundle-WJtiC3BL.js.map +1 -0
- package/chunks/{bundle-Cq6wCLlD.js → bundle-WsWZ-SJW.js} +15 -15
- package/chunks/{bundle-Cq6wCLlD.js.map → bundle-WsWZ-SJW.js.map} +1 -1
- package/chunks/{bundle-pOZPN8hk.js → bundle-Y2KBbxRr.js} +1 -1
- package/chunks/{bundle-pOZPN8hk.js.map → bundle-Y2KBbxRr.js.map} +1 -1
- package/chunks/{bundle-BI2YMBw_.js → bundle-YbXrJewH.js} +60 -6
- package/chunks/bundle-YbXrJewH.js.map +1 -0
- package/chunks/{bundle-CcHvUx-a.js → bundle-fYlljM7o.js} +11 -10
- package/chunks/{bundle-CcHvUx-a.js.map → bundle-fYlljM7o.js.map} +1 -1
- package/chunks/{bundle-BFqR1X1Q.js → bundle-jhdKInOw.js} +1 -1
- package/chunks/bundle-jhdKInOw.js.map +1 -0
- package/chunks/bundle-l_QLKq1Y.js +24 -0
- package/chunks/bundle-l_QLKq1Y.js.map +1 -0
- package/chunks/{bundle-B2dhmpsj.js → bundle-nmIRAkKg.js} +14 -14
- package/chunks/{bundle-B2dhmpsj.js.map → bundle-nmIRAkKg.js.map} +1 -1
- package/chunks/{bundle-jw_xHmHg.js → bundle-tFnb24Id.js} +3 -2
- package/chunks/bundle-tFnb24Id.js.map +1 -0
- package/chunks/{bundle-DRyEkedz.js → bundle-uthnB1Zu.js} +28 -24
- package/chunks/{bundle-DRyEkedz.js.map → bundle-uthnB1Zu.js.map} +1 -1
- package/chunks/{bundle-DfDrbjM5.js → bundle-yKqHFFfz.js} +1 -1
- package/chunks/bundle-yKqHFFfz.js.map +1 -0
- package/chunks/{bundle-CLonR-iH.js → bundle-zOZq2Vpt.js} +8 -7
- package/chunks/{bundle-CLonR-iH.js.map → bundle-zOZq2Vpt.js.map} +1 -1
- package/cjs/App.js +116 -271
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +32 -40
- package/cjs/Channel/components/ChannelHeader.js.map +1 -1
- package/cjs/Channel/components/ChannelUI.js +77 -76
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +31 -35
- package/cjs/Channel/components/FileViewer.js.map +1 -1
- package/cjs/Channel/components/FrozenNotification.js +6 -5
- package/cjs/Channel/components/FrozenNotification.js.map +1 -1
- package/cjs/Channel/components/Message.js +68 -67
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +48 -50
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageInputWrapper.js +48 -50
- package/cjs/Channel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +74 -70
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +31 -36
- package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/Channel/components/SuggestedMentionList.js +31 -41
- package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/Channel/components/TypingIndicator.js +11 -7
- package/cjs/Channel/components/TypingIndicator.js.map +1 -1
- package/cjs/Channel/components/UnreadCount.js +8 -7
- package/cjs/Channel/components/UnreadCount.js.map +1 -1
- package/cjs/Channel/context.js +153 -121
- package/cjs/Channel/context.js.map +1 -1
- package/cjs/Channel/hooks/useHandleUploadFiles.js +21 -23
- package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -1
- package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
- package/cjs/Channel/utils/compareMessagesForGrouping.js +16 -18
- package/cjs/Channel/utils/compareMessagesForGrouping.js.map +1 -1
- package/cjs/Channel/utils/getMessagePartsInfo.js +13 -14
- package/cjs/Channel/utils/getMessagePartsInfo.js.map +1 -1
- package/cjs/Channel.js +77 -76
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +216 -47
- package/cjs/ChannelList/components/AddChannel.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListHeader.js +16 -11
- package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
- package/cjs/ChannelList/components/ChannelListUI.js +206 -139
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +39 -41
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +17 -18
- package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
- package/cjs/ChannelList/context.js +14 -27
- package/cjs/ChannelList/context.js.map +1 -1
- package/cjs/ChannelList.js +213 -82
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelProfile.js +28 -32
- package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingMenuList.js +15 -28
- package/cjs/ChannelSettings/components/ChannelSettingMenuList.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +16 -10
- package/cjs/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
- package/cjs/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +48 -49
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
- package/cjs/ChannelSettings/components/EditDetailsModal.js +23 -31
- package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/ChannelSettings/components/LeaveChannel.js +25 -28
- package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
- package/cjs/ChannelSettings/components/ModerationPanel.js +33 -33
- package/cjs/ChannelSettings/components/UserListItem.js +26 -29
- package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
- package/cjs/ChannelSettings/components/UserPanel.js +34 -34
- package/cjs/ChannelSettings/context.js +14 -175
- package/cjs/ChannelSettings/context.js.map +1 -1
- package/cjs/ChannelSettings/hooks/useMenuList.js +33 -33
- package/cjs/ChannelSettings.js +53 -53
- package/cjs/CreateChannel/components/CreateChannelUI.js +215 -46
- package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
- package/cjs/CreateChannel/components/InviteUsers.js +216 -154
- package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
- package/cjs/CreateChannel/components/SelectChannelType.js +217 -86
- package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
- package/cjs/CreateChannel/context.js +225 -8
- package/cjs/CreateChannel/context.js.map +1 -1
- package/cjs/CreateChannel.js +214 -40
- package/cjs/CreateChannel.js.map +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +16 -24
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
- package/cjs/CreateOpenChannel/context.js +9 -4
- package/cjs/CreateOpenChannel/context.js.map +1 -1
- package/cjs/CreateOpenChannel.js +16 -24
- package/cjs/CreateOpenChannel.js.map +1 -1
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +27 -35
- package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
- package/cjs/EditUserProfile/context.js +1 -1
- package/cjs/EditUserProfile.js +16 -25
- package/cjs/EditUserProfile.js.map +1 -1
- package/cjs/GroupChannel/components/FileViewer.js +34 -36
- package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
- package/cjs/GroupChannel/components/FrozenNotification.js +6 -5
- package/cjs/GroupChannel/components/FrozenNotification.js.map +1 -1
- package/cjs/GroupChannel/components/GroupChannelHeader.js +32 -38
- package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -1
- package/cjs/GroupChannel/components/GroupChannelUI.js +74 -71
- package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
- package/cjs/GroupChannel/components/Message.js +67 -63
- package/cjs/GroupChannel/components/Message.js.map +1 -1
- package/cjs/GroupChannel/components/MessageInputWrapper.js +48 -47
- package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
- package/cjs/GroupChannel/components/MessageList.js +75 -70
- package/cjs/GroupChannel/components/MessageList.js.map +1 -1
- package/cjs/GroupChannel/components/RemoveMessageModal.js +32 -34
- package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/GroupChannel/components/SuggestedMentionList.js +18 -13
- package/cjs/GroupChannel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/GroupChannel/components/TypingIndicator.js +14 -10
- package/cjs/GroupChannel/components/TypingIndicator.js.map +1 -1
- package/cjs/GroupChannel/components/UnreadCount.js +8 -7
- package/cjs/GroupChannel/components/UnreadCount.js.map +1 -1
- package/cjs/GroupChannel/context.js +25 -520
- package/cjs/GroupChannel/context.js.map +1 -1
- package/cjs/GroupChannel.js +72 -69
- package/cjs/GroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/AddGroupChannel.js +216 -47
- package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js +17 -13
- package/cjs/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListItem.js +39 -40
- package/cjs/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelListUI.js +213 -117
- package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +18 -20
- package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
- package/cjs/GroupChannelList/context.js +19 -121
- package/cjs/GroupChannelList/context.js.map +1 -1
- package/cjs/GroupChannelList.js +211 -74
- package/cjs/GroupChannelList.js.map +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +24 -23
- package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
- package/cjs/MessageSearch/context.js +17 -285
- package/cjs/MessageSearch/context.js.map +1 -1
- package/cjs/MessageSearch.js +25 -21
- package/cjs/MessageSearch.js.map +1 -1
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -4
- package/cjs/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelHeader.js +23 -29
- package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelInput.js +31 -33
- package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessage.js +45 -44
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +54 -52
- package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelUI.js +49 -48
- package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
- package/cjs/OpenChannel/context.js +21 -27
- package/cjs/OpenChannel/context.js.map +1 -1
- package/cjs/OpenChannel.js +47 -46
- package/cjs/OpenChannel.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +20 -28
- package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
- package/cjs/OpenChannelList/context.js +9 -5
- package/cjs/OpenChannelList/context.js.map +1 -1
- package/cjs/OpenChannelList.js +18 -26
- package/cjs/OpenChannelList.js.map +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +23 -31
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +24 -32
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +33 -34
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/OperatorUI.js +37 -41
- package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +22 -23
- package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
- package/cjs/OpenChannelSettings/context.js +16 -35
- package/cjs/OpenChannelSettings/context.js.map +1 -1
- package/cjs/OpenChannelSettings.js +27 -28
- package/cjs/OpenChannelSettings.js.map +1 -1
- package/cjs/SendbirdProvider.js +486 -915
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +71 -68
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +42 -39
- package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
- package/cjs/Thread/components/ThreadHeader.js +8 -7
- package/cjs/Thread/components/ThreadHeader.js.map +1 -1
- package/cjs/Thread/components/ThreadList.js +67 -63
- package/cjs/Thread/components/ThreadList.js.map +1 -1
- package/cjs/Thread/components/ThreadListItem.js +77 -76
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +67 -67
- package/cjs/Thread/components/ThreadUI.js +74 -72
- package/cjs/Thread/components/ThreadUI.js.map +1 -1
- package/cjs/Thread/context/types.js +0 -1
- package/cjs/Thread/context/types.js.map +1 -1
- package/cjs/Thread/context.js +26 -1337
- package/cjs/Thread/context.js.map +1 -1
- package/cjs/Thread.js +71 -69
- package/cjs/Thread.js.map +1 -1
- package/cjs/VoicePlayer/context.js +9 -6
- package/cjs/VoicePlayer/context.js.map +1 -1
- package/cjs/VoicePlayer/useVoicePlayer.js +18 -23
- package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
- package/cjs/VoiceRecorder/context.js +130 -25
- package/cjs/VoiceRecorder/context.js.map +1 -1
- package/cjs/VoiceRecorder/useVoiceRecorder.js +17 -23
- package/cjs/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/cjs/chunks/{bundle-BpThX3wu.js → bundle-4kO4nPo9.js} +5 -5
- package/{chunks/bundle-BI2YMBw_.js.map → cjs/chunks/bundle-4kO4nPo9.js.map} +1 -1
- package/cjs/chunks/bundle-AAO7jUU2.js +2932 -0
- package/cjs/chunks/bundle-AAO7jUU2.js.map +1 -0
- package/cjs/chunks/{bundle-ChDTEa9-.js → bundle-B-Smxy4L.js} +1 -1
- package/cjs/chunks/bundle-B-Smxy4L.js.map +1 -0
- package/cjs/chunks/{bundle-BA6Cum_9.js → bundle-B0UICprZ.js} +3 -3
- package/cjs/chunks/{bundle-BA6Cum_9.js.map → bundle-B0UICprZ.js.map} +1 -1
- package/cjs/chunks/{bundle-BOCivP7e.js → bundle-B1NPGl_q.js} +2 -2
- package/cjs/chunks/bundle-B1NPGl_q.js.map +1 -0
- package/cjs/chunks/{bundle-Bu4cmOCm.js → bundle-B2KoWBOt.js} +1 -1
- package/cjs/chunks/bundle-B2KoWBOt.js.map +1 -0
- package/cjs/chunks/{bundle-D30swLTX.js → bundle-B2xIXbEG.js} +3 -3
- package/cjs/chunks/bundle-B2xIXbEG.js.map +1 -0
- package/cjs/chunks/bundle-B7URG8PR.js +1119 -0
- package/cjs/chunks/bundle-B7URG8PR.js.map +1 -0
- package/cjs/chunks/{bundle-BOSyMutC.js → bundle-B9BY1g5d.js} +2 -2
- package/cjs/chunks/{bundle-BOSyMutC.js.map → bundle-B9BY1g5d.js.map} +1 -1
- package/cjs/chunks/{bundle-DpyxKl7F.js → bundle-BEbBkdwl.js} +16 -20
- package/{chunks/bundle-3aUfVJHj.js.map → cjs/chunks/bundle-BEbBkdwl.js.map} +1 -1
- package/cjs/chunks/{bundle-D6fimwV5.js → bundle-BFKxvlzn.js} +8 -8
- package/cjs/chunks/bundle-BFKxvlzn.js.map +1 -0
- package/cjs/chunks/{bundle-XANrnOqB.js → bundle-BIrmQghI.js} +1 -2
- package/cjs/chunks/bundle-BIrmQghI.js.map +1 -0
- package/cjs/chunks/{bundle-R7sVfaA9.js → bundle-BLQ7t6yE.js} +9 -8
- package/cjs/chunks/bundle-BLQ7t6yE.js.map +1 -0
- package/cjs/chunks/{bundle-BFFRQpby.js → bundle-BOb4newg.js} +8 -8
- package/cjs/chunks/bundle-BOb4newg.js.map +1 -0
- package/cjs/chunks/{bundle-Dq5LRxGL.js → bundle-BPGU6BH2.js} +11 -10
- package/cjs/chunks/bundle-BPGU6BH2.js.map +1 -0
- package/cjs/chunks/{bundle-DWfeFlxG.js → bundle-BPWJgESF.js} +1 -1
- package/cjs/chunks/bundle-BPWJgESF.js.map +1 -0
- package/cjs/chunks/{bundle-s1cLz65w.js → bundle-BUGwK1WK.js} +1 -1
- package/cjs/chunks/bundle-BUGwK1WK.js.map +1 -0
- package/{chunks/bundle-CIN9yQRB.js → cjs/chunks/bundle-BV7y6VDn.js} +3 -22
- package/cjs/chunks/{bundle-DE5YH8Q-.js.map → bundle-BV7y6VDn.js.map} +1 -1
- package/cjs/chunks/{bundle-D4NkDFD-.js → bundle-BWtBhW43.js} +11 -10
- package/cjs/chunks/{bundle-sZREfKpL.js.map → bundle-BWtBhW43.js.map} +1 -1
- package/cjs/chunks/{bundle-Bua7cUR6.js → bundle-BX4VESNC.js} +16 -16
- package/cjs/chunks/{bundle-Bua7cUR6.js.map → bundle-BX4VESNC.js.map} +1 -1
- package/cjs/chunks/{bundle-BL1sGjVd.js → bundle-BXvzT2m9.js} +1 -1
- package/cjs/chunks/bundle-BXvzT2m9.js.map +1 -0
- package/cjs/chunks/{bundle-n_Z6yPjx.js → bundle-BcgWN8U2.js} +6 -7
- package/cjs/chunks/bundle-BcgWN8U2.js.map +1 -0
- package/cjs/chunks/{bundle-BSfpBazH.js → bundle-Bd-cNaJc.js} +3 -3
- package/cjs/chunks/bundle-Bd-cNaJc.js.map +1 -0
- package/cjs/chunks/{bundle-LNbeYHuL.js → bundle-BeI9AozB.js} +24 -24
- package/cjs/chunks/{bundle-LNbeYHuL.js.map → bundle-BeI9AozB.js.map} +1 -1
- package/cjs/chunks/{bundle-bfd2VoyQ.js → bundle-BfhkRB7U.js} +26 -25
- package/cjs/chunks/{bundle-bfd2VoyQ.js.map → bundle-BfhkRB7U.js.map} +1 -1
- package/cjs/chunks/{bundle-JpIugjtL.js → bundle-BqAUDzGx.js} +3 -3
- package/cjs/chunks/bundle-BqAUDzGx.js.map +1 -0
- package/cjs/chunks/{bundle-QF_AmnwV.js → bundle-Bqahh-7Q.js} +8 -7
- package/cjs/chunks/{bundle-D4NkDFD-.js.map → bundle-Bqahh-7Q.js.map} +1 -1
- package/cjs/chunks/{bundle-m5OpCHlj.js → bundle-Bx1_cAVo.js} +8 -22
- package/cjs/chunks/bundle-Bx1_cAVo.js.map +1 -0
- package/cjs/chunks/{bundle-CuWm0vby.js → bundle-C1G0SKDq.js} +1 -1
- package/cjs/chunks/{bundle-CuWm0vby.js.map → bundle-C1G0SKDq.js.map} +1 -1
- package/cjs/chunks/{bundle-B3LOu7kN.js → bundle-C4t_1F0C.js} +4 -3
- package/cjs/chunks/bundle-C4t_1F0C.js.map +1 -0
- package/cjs/chunks/{bundle-C3_KfqSN.js → bundle-C8MACRPO.js} +1 -1
- package/cjs/chunks/bundle-C8MACRPO.js.map +1 -0
- package/cjs/chunks/{bundle-COBYaK8T.js → bundle-CBLzrxjV.js} +4 -4
- package/cjs/chunks/{bundle-COBYaK8T.js.map → bundle-CBLzrxjV.js.map} +1 -1
- package/cjs/chunks/{bundle-DX3sBwvt.js → bundle-CCXodf32.js} +29 -25
- package/{chunks/bundle-MyLy9AIu.js.map → cjs/chunks/bundle-CCXodf32.js.map} +1 -1
- package/cjs/chunks/{bundle-BZd597ep.js → bundle-CG2rv5Ij.js} +1 -1
- package/cjs/chunks/bundle-CG2rv5Ij.js.map +1 -0
- package/cjs/chunks/{bundle-DHPSwRDh.js → bundle-CLL-nCFU.js} +4 -4
- package/cjs/chunks/bundle-CLL-nCFU.js.map +1 -0
- package/cjs/chunks/bundle-CLXojdVj.js +761 -0
- package/cjs/chunks/bundle-CLXojdVj.js.map +1 -0
- package/cjs/chunks/bundle-CMpha6Ac.js +152 -0
- package/cjs/chunks/bundle-CMpha6Ac.js.map +1 -0
- package/cjs/chunks/{bundle-B2zio8XF.js → bundle-CPeZ4wPf.js} +1 -1
- package/cjs/chunks/bundle-CPeZ4wPf.js.map +1 -0
- package/cjs/chunks/{bundle-BbpZ1Xe-.js → bundle-CXHWkhsI.js} +2 -2
- package/cjs/chunks/{bundle-BbpZ1Xe-.js.map → bundle-CXHWkhsI.js.map} +1 -1
- package/cjs/chunks/{bundle-DYjhaLRW.js → bundle-CaNXlSAv.js} +9 -7
- package/cjs/chunks/bundle-CaNXlSAv.js.map +1 -0
- package/cjs/chunks/bundle-CcVLRLk8.js +217 -0
- package/{chunks/bundle-5-21Jk06.js.map → cjs/chunks/bundle-CcVLRLk8.js.map} +1 -1
- package/cjs/chunks/{bundle-vf5ayidG.js → bundle-CdtZVJ6y.js} +17 -17
- package/cjs/chunks/{bundle-vf5ayidG.js.map → bundle-CdtZVJ6y.js.map} +1 -1
- package/cjs/chunks/{bundle-Aw-PHA-I.js → bundle-CgCnWqE5.js} +1 -1
- package/cjs/chunks/bundle-CgCnWqE5.js.map +1 -0
- package/cjs/chunks/bundle-ChpcAmBg.js +40 -0
- package/cjs/chunks/bundle-ChpcAmBg.js.map +1 -0
- package/cjs/chunks/bundle-CpzjjrHg.js +201 -0
- package/cjs/chunks/bundle-CpzjjrHg.js.map +1 -0
- package/cjs/chunks/{bundle-Khwf-z37.js → bundle-Cq2Y8hPN.js} +9 -9
- package/cjs/chunks/bundle-Cq2Y8hPN.js.map +1 -0
- package/cjs/chunks/{bundle-nWxq3V_Q.js → bundle-CqFqMb6S.js} +3 -3
- package/cjs/chunks/bundle-CqFqMb6S.js.map +1 -0
- package/cjs/chunks/{bundle-YTiDKoON.js → bundle-CvQwksvR.js} +1 -1
- package/cjs/chunks/bundle-CvQwksvR.js.map +1 -0
- package/cjs/chunks/{bundle-CNvRk1Z6.js → bundle-Cwboa2Wr.js} +1 -1
- package/cjs/chunks/bundle-Cwboa2Wr.js.map +1 -0
- package/cjs/chunks/{bundle-D1slQ3hS.js → bundle-CxoFSSXv.js} +1 -1
- package/cjs/chunks/bundle-CxoFSSXv.js.map +1 -0
- package/cjs/chunks/{bundle-B5aEwfu1.js → bundle-CyQD5TkW.js} +1 -1
- package/cjs/chunks/bundle-CyQD5TkW.js.map +1 -0
- package/cjs/chunks/{bundle-S-XkXH4q.js → bundle-CzJX13Yl.js} +2 -2
- package/cjs/chunks/bundle-CzJX13Yl.js.map +1 -0
- package/cjs/chunks/{bundle-DkDRIPJe.js → bundle-CzdU1g3S.js} +6 -5
- package/cjs/chunks/bundle-CzdU1g3S.js.map +1 -0
- package/cjs/chunks/{bundle-XxCVYLKy.js → bundle-D2TXT2xX.js} +8 -9
- package/cjs/chunks/bundle-D2TXT2xX.js.map +1 -0
- package/cjs/chunks/{bundle-DuSS5Dmw.js → bundle-D4Il5UXX.js} +1 -1
- package/cjs/chunks/bundle-D4Il5UXX.js.map +1 -0
- package/cjs/chunks/{bundle-CfUeEOi0.js → bundle-D5wxUmg4.js} +14 -14
- package/cjs/chunks/bundle-D5wxUmg4.js.map +1 -0
- package/cjs/chunks/{bundle-DTD48j2K.js → bundle-D7YiKR6i.js} +7 -17
- package/cjs/chunks/bundle-D7YiKR6i.js.map +1 -0
- package/cjs/chunks/{bundle-DL3fuSPu.js → bundle-DAVPwIxJ.js} +1 -1
- package/cjs/chunks/bundle-DAVPwIxJ.js.map +1 -0
- package/cjs/chunks/bundle-DDNdw3A9.js +32 -0
- package/cjs/chunks/bundle-DDNdw3A9.js.map +1 -0
- package/cjs/chunks/bundle-DJOukqkN.js +672 -0
- package/cjs/chunks/bundle-DJOukqkN.js.map +1 -0
- package/cjs/chunks/{bundle-sZREfKpL.js → bundle-DK39NcVd.js} +7 -6
- package/{chunks/bundle-C6-Ix-Lk.js.map → cjs/chunks/bundle-DK39NcVd.js.map} +1 -1
- package/cjs/chunks/{bundle-D-kYFL1Z.js → bundle-DNjcGEfJ.js} +1 -1
- package/cjs/chunks/bundle-DNjcGEfJ.js.map +1 -0
- package/cjs/chunks/{bundle-Cq5LKFhE.js → bundle-DQNu-S6D.js} +7 -1
- package/cjs/chunks/bundle-DQNu-S6D.js.map +1 -0
- package/cjs/chunks/{bundle-Clz7RiTn.js → bundle-Da973hrK.js} +1 -1
- package/cjs/chunks/bundle-Da973hrK.js.map +1 -0
- package/cjs/chunks/{bundle-B0uIbH1T.js → bundle-DeyX1dvY.js} +4 -19
- package/cjs/chunks/bundle-DeyX1dvY.js.map +1 -0
- package/cjs/chunks/bundle-DlOFss3p.js +11 -0
- package/cjs/chunks/bundle-DlOFss3p.js.map +1 -0
- package/cjs/chunks/bundle-Dn0hi6OJ.js +7 -0
- package/cjs/chunks/bundle-Dn0hi6OJ.js.map +1 -0
- package/cjs/chunks/bundle-Dn7m9LzR.js +187 -0
- package/cjs/chunks/bundle-Dn7m9LzR.js.map +1 -0
- package/cjs/chunks/{bundle-B5-vaN7x.js → bundle-DptJHWLW.js} +17 -16
- package/cjs/chunks/{bundle-DeLEOQNO.js.map → bundle-DptJHWLW.js.map} +1 -1
- package/cjs/chunks/{bundle-BcIrmepz.js → bundle-DsZL8mH-.js} +1 -1
- package/cjs/chunks/bundle-DsZL8mH-.js.map +1 -0
- package/cjs/chunks/{bundle-A5UoPEJO.js → bundle-DwVBqZFY.js} +4 -4
- package/cjs/chunks/bundle-DwVBqZFY.js.map +1 -0
- package/cjs/chunks/{bundle-DzEGN4bG.js → bundle-EhtiN7UV.js} +1 -1
- package/cjs/chunks/bundle-EhtiN7UV.js.map +1 -0
- package/cjs/chunks/{bundle-WqJcr9PX.js → bundle-FJtjwZwh.js} +4 -4
- package/cjs/chunks/{bundle-WqJcr9PX.js.map → bundle-FJtjwZwh.js.map} +1 -1
- package/cjs/chunks/{bundle-BBgc3koD.js → bundle-G4J-OWth.js} +15 -14
- package/cjs/chunks/{bundle-BBgc3koD.js.map → bundle-G4J-OWth.js.map} +1 -1
- package/cjs/chunks/{bundle-qMxPIH0k.js → bundle-L8U6SolV.js} +6 -6
- package/cjs/chunks/bundle-L8U6SolV.js.map +1 -0
- package/cjs/chunks/bundle-LI9JjqG2.js +263 -0
- package/cjs/chunks/bundle-LI9JjqG2.js.map +1 -0
- package/cjs/chunks/{bundle-DeLEOQNO.js → bundle-THfLGJxy.js} +5 -5
- package/cjs/chunks/{bundle-B5-vaN7x.js.map → bundle-THfLGJxy.js.map} +1 -1
- package/cjs/chunks/{bundle-Bhf_RRfA.js → bundle-UKqK7ytZ.js} +1 -1
- package/cjs/chunks/bundle-UKqK7ytZ.js.map +1 -0
- package/cjs/chunks/{bundle-ChVeqDIG.js → bundle-Y1fPW7ES.js} +13 -13
- package/{chunks/bundle-_sFl37fA.js.map → cjs/chunks/bundle-Y1fPW7ES.js.map} +1 -1
- package/cjs/chunks/bundle-YeW89zsR.js +76 -0
- package/cjs/chunks/bundle-YeW89zsR.js.map +1 -0
- package/cjs/chunks/{bundle-DmO3Qtot.js → bundle-aMt_60_o.js} +1 -1
- package/cjs/chunks/{bundle-DmO3Qtot.js.map → bundle-aMt_60_o.js.map} +1 -1
- package/cjs/chunks/{bundle-Bc_sQb3i.js → bundle-de2DEYPS.js} +5 -5
- package/cjs/chunks/bundle-de2DEYPS.js.map +1 -0
- package/cjs/chunks/{bundle-BAF8GaDh.js → bundle-dfqZUdij.js} +1 -1
- package/cjs/chunks/bundle-dfqZUdij.js.map +1 -0
- package/cjs/chunks/bundle-j0RMwIZ5.js +270 -0
- package/cjs/chunks/bundle-j0RMwIZ5.js.map +1 -0
- package/cjs/chunks/{bundle-DHZYT5M_.js → bundle-kPv1Olqr.js} +1 -1
- package/cjs/chunks/bundle-kPv1Olqr.js.map +1 -0
- package/cjs/chunks/{bundle-DUanoG7J.js → bundle-nPNv9ATU.js} +5 -5
- package/cjs/chunks/bundle-nPNv9ATU.js.map +1 -0
- package/cjs/chunks/{bundle-BfjugOIp.js → bundle-swpo7Z_P.js} +4 -4
- package/cjs/chunks/bundle-swpo7Z_P.js.map +1 -0
- package/cjs/chunks/{bundle-DVc6YedH.js → bundle-vEi_Cfco.js} +4 -4
- package/cjs/chunks/bundle-vEi_Cfco.js.map +1 -0
- package/cjs/chunks/{bundle-BloKh_k7.js → bundle-yU9Mr2pS.js} +1 -1
- package/cjs/chunks/bundle-yU9Mr2pS.js.map +1 -0
- package/cjs/chunks/{bundle-6UD0H-nz.js → bundle-ys65nyET.js} +14 -14
- package/cjs/chunks/bundle-ys65nyET.js.map +1 -0
- package/cjs/chunks/{bundle-ByQJ042a.js → bundle-za5uPkdP.js} +1 -1
- package/cjs/chunks/bundle-za5uPkdP.js.map +1 -0
- package/cjs/hooks/useConnectionState.js +8 -5
- package/cjs/hooks/useConnectionState.js.map +1 -1
- package/cjs/hooks/useLocalization.js +4 -3
- package/cjs/hooks/useLocalization.js.map +1 -1
- package/cjs/hooks/useModal.js +56 -24
- package/cjs/hooks/useModal.js.map +1 -1
- package/cjs/index.js +119 -127
- package/cjs/index.js.map +1 -1
- package/cjs/pubSub/topics.js +1 -1
- package/cjs/sendbirdSelectors.js +3 -3
- 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 -4
- package/cjs/ui/Badge.js.map +1 -1
- package/cjs/ui/BottomSheet.js +19 -25
- package/cjs/ui/BottomSheet.js.map +1 -1
- package/cjs/ui/Button.js +3 -3
- package/cjs/ui/ChannelAvatar.js +5 -5
- package/cjs/ui/ConnectionStatus.js +6 -5
- package/cjs/ui/ConnectionStatus.js.map +1 -1
- package/cjs/ui/ContextMenu.js +16 -14
- package/cjs/ui/ContextMenu.js.map +1 -1
- package/cjs/ui/DateSeparator.js +4 -4
- package/cjs/ui/EmojiReactions.js +27 -28
- package/cjs/ui/EmojiReactions.js.map +1 -1
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +10 -8
- package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
- package/cjs/ui/FileMessageItemBody.js +20 -16
- package/cjs/ui/FileMessageItemBody.js.map +1 -1
- package/cjs/ui/FileViewer.js +22 -23
- package/cjs/ui/FileViewer.js.map +1 -1
- 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 +24 -27
- package/cjs/ui/MentionLabel.js.map +1 -1
- package/cjs/ui/MentionUserLabel.js +2 -2
- package/cjs/ui/MessageContent.js +48 -45
- package/cjs/ui/MessageContent.js.map +1 -1
- package/cjs/ui/MessageFeedbackFailedModal.js +15 -22
- package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -1
- package/cjs/ui/MessageFeedbackModal.js +15 -22
- package/cjs/ui/MessageFeedbackModal.js.map +1 -1
- package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
- package/cjs/ui/MessageInput.js +26 -22
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +15 -13
- package/cjs/ui/MessageItemMenu.js.map +1 -1
- package/cjs/ui/MessageItemReactionMenu.js +16 -14
- package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
- package/cjs/ui/MessageMenu.js +17 -15
- package/cjs/ui/MessageMenu.js.map +1 -1
- package/cjs/ui/MessageSearchFileItem.js +17 -15
- package/cjs/ui/MessageSearchFileItem.js.map +1 -1
- package/cjs/ui/MessageSearchItem.js +12 -11
- package/cjs/ui/MessageSearchItem.js.map +1 -1
- package/cjs/ui/MessageStatus.js +15 -13
- package/cjs/ui/MessageStatus.js.map +1 -1
- package/cjs/ui/MessageTemplate.js +1 -1
- package/cjs/ui/MobileFeedbackMenu.js +15 -21
- package/cjs/ui/MobileFeedbackMenu.js.map +1 -1
- package/cjs/ui/MobileMenu.js +21 -23
- package/cjs/ui/MobileMenu.js.map +1 -1
- package/cjs/ui/Modal.js +13 -21
- package/cjs/ui/Modal.js.map +1 -1
- package/cjs/ui/MutedAvatarOverlay.js +2 -2
- package/cjs/ui/OGMessageItemBody.js +24 -26
- package/cjs/ui/OGMessageItemBody.js.map +1 -1
- package/cjs/ui/OpenChannelAdminMessage.js +3 -3
- package/cjs/ui/OpenChannelAvatar.js +8 -7
- package/cjs/ui/OpenChannelAvatar.js.map +1 -1
- package/cjs/ui/OpenchannelConversationHeader.js +8 -7
- package/cjs/ui/OpenchannelConversationHeader.js.map +1 -1
- package/cjs/ui/OpenchannelFileMessage.js +24 -26
- package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
- package/cjs/ui/OpenchannelOGMessage.js +26 -28
- package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
- package/cjs/ui/OpenchannelThumbnailMessage.js +23 -25
- package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/cjs/ui/OpenchannelUserMessage.js +25 -27
- package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
- package/cjs/ui/PlaceHolder.js +6 -5
- package/cjs/ui/PlaceHolder.js.map +1 -1
- package/cjs/ui/PlaybackTime.js +3 -3
- package/cjs/ui/ProgressBar.js +1 -1
- package/cjs/ui/QuoteMessage.js +12 -10
- package/cjs/ui/QuoteMessage.js.map +1 -1
- package/cjs/ui/QuoteMessageInput.js +12 -10
- package/cjs/ui/QuoteMessageInput.js.map +1 -1
- 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 +21 -17
- package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
- package/cjs/ui/TextButton.js +2 -2
- package/cjs/ui/TextMessageItemBody.js +24 -27
- package/cjs/ui/TextMessageItemBody.js.map +1 -1
- package/cjs/ui/ThreadReplies.js +8 -7
- package/cjs/ui/ThreadReplies.js.map +1 -1
- package/cjs/ui/ThumbnailMessageItemBody.js +10 -9
- package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/cjs/ui/Toggle.js +8 -5
- package/cjs/ui/Toggle.js.map +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 +10 -8
- package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
- package/cjs/ui/UserListItem.js +28 -31
- package/cjs/ui/UserListItem.js.map +1 -1
- package/cjs/ui/UserListItemMenu.js +17 -15
- package/cjs/ui/UserListItemMenu.js.map +1 -1
- package/cjs/ui/UserProfile.js +19 -32
- package/cjs/ui/UserProfile.js.map +1 -1
- package/cjs/ui/VoiceMessageInput.js +9 -8
- package/cjs/ui/VoiceMessageInput.js.map +1 -1
- package/cjs/ui/VoiceMessageItemBody.js +16 -21
- package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
- package/cjs/ui/Word.js +21 -24
- package/cjs/ui/Word.js.map +1 -1
- package/cjs/utils/message/isVoiceMessage.js +6 -5
- package/cjs/utils/message/isVoiceMessage.js.map +1 -1
- package/dist/index.css +113 -113
- package/hooks/useConnectionState.js +8 -5
- package/hooks/useConnectionState.js.map +1 -1
- package/hooks/useLocalization.js +4 -3
- package/hooks/useLocalization.js.map +1 -1
- package/hooks/useModal.js +55 -22
- package/hooks/useModal.js.map +1 -1
- package/index.js +116 -125
- package/index.js.map +1 -1
- package/package.json +15 -33
- package/pubSub/topics.js +1 -1
- package/sendbirdSelectors.js +3 -3
- package/types/hooks/useDeepCompareEffect.d.ts +24 -0
- package/types/hooks/useStore.d.ts +14 -0
- package/types/hooks/useThrottleCallback.d.ts +0 -7
- package/types/index.d.ts +3 -2
- package/types/lib/MediaQueryContext.d.ts +1 -1
- package/types/lib/Sendbird/context/SendbirdContext.d.ts +18 -0
- package/types/lib/Sendbird/context/SendbirdProvider.d.ts +4 -0
- package/types/lib/Sendbird/context/hooks/useSendbird.d.ts +32 -0
- package/types/lib/Sendbird/context/hooks/useSendbirdStateContext.d.ts +3 -0
- package/types/lib/Sendbird/context/initialState.d.ts +2 -0
- package/types/lib/Sendbird/index.d.ts +16 -0
- package/types/lib/{types.d.ts → Sendbird/types.d.ts} +167 -102
- package/types/lib/Sendbird/utils.d.ts +28 -0
- package/types/lib/emojiManager.d.ts +2 -3
- package/types/lib/hooks/schedulerFactory.d.ts +1 -1
- package/types/lib/hooks/useMarkAsDeliveredScheduler.d.ts +1 -1
- package/types/lib/hooks/useMarkAsReadScheduler.d.ts +1 -1
- package/types/lib/hooks/useMessageTemplateUtils.d.ts +10 -5
- package/types/lib/selectors.d.ts +37 -37
- package/types/lib/utils/uikitConfigMapper.d.ts +1 -1
- package/types/modules/App/types.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useGetChannel.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useHandleReconnect.d.ts +1 -2
- package/types/modules/Channel/context/hooks/useHandleReconnectForChannelList.d.ts +1 -2
- package/types/modules/Channel/context/hooks/useHandleUploadFiles.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useScrollCallback.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useScrollDownCallback.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +2 -2
- package/types/modules/Channel/context/hooks/useSendMultipleFilesMessage.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +1 -1
- package/types/modules/Channel/context/hooks/useToggleReactionCallback.d.ts +16 -8
- package/types/modules/Channel/context/utils.d.ts +1 -1
- package/types/modules/ChannelList/context/hooks/useActiveChannelUrl.d.ts +1 -2
- package/types/modules/ChannelList/context/hooks/useFetchChannelList.d.ts +1 -1
- package/types/modules/ChannelList/utils.d.ts +1 -1
- package/types/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +2 -1
- package/types/modules/ChannelSettings/components/ModerationPanel/BannedUsersModal.d.ts +1 -1
- package/types/modules/ChannelSettings/components/ModerationPanel/MutedMembersModal.d.ts +1 -1
- package/types/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +23 -38
- package/types/modules/ChannelSettings/context/hooks/useChannelHandler.d.ts +10 -0
- package/types/modules/ChannelSettings/context/hooks/useSetChannel.d.ts +10 -0
- package/types/modules/ChannelSettings/context/index.d.ts +3 -0
- package/types/modules/ChannelSettings/context/types.d.ts +40 -0
- package/types/modules/ChannelSettings/context/useChannelSettings.d.ts +11 -0
- package/types/modules/ChannelSettings/index.d.ts +1 -1
- package/types/modules/CreateChannel/components/InviteUsers/utils.d.ts +1 -1
- package/types/modules/CreateChannel/context/CreateChannelProvider.d.ts +36 -9
- package/types/modules/CreateChannel/context/index.d.ts +2 -0
- package/types/modules/CreateChannel/context/useCreateChannel.d.ts +11 -0
- package/types/modules/CreateChannel/utils.d.ts +1 -1
- package/types/modules/CreateOpenChannel/context/CreateOpenChannelProvider.d.ts +1 -2
- package/types/modules/GroupChannel/components/Message/MessageView.d.ts +1 -1
- package/types/modules/GroupChannel/components/MessageInputWrapper/useHandleUploadFiles.d.ts +1 -1
- package/types/modules/GroupChannel/components/MessageList/getMessagePartsInfo.d.ts +3 -1
- package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +64 -55
- package/types/modules/GroupChannel/context/hooks/useGroupChannel.d.ts +23 -0
- package/types/modules/GroupChannel/context/hooks/useMessageActions.d.ts +4 -10
- package/types/modules/GroupChannel/context/hooks/useMessageListScroll.d.ts +0 -2
- package/types/modules/GroupChannel/context/index.d.ts +2 -0
- package/types/modules/GroupChannel/context/types.d.ts +80 -0
- package/types/modules/GroupChannel/index.d.ts +1 -1
- package/types/modules/GroupChannelList/context/GroupChannelListProvider.d.ts +36 -4
- package/types/modules/GroupChannelList/context/index.d.ts +2 -0
- package/types/modules/GroupChannelList/context/useGroupChannelList.d.ts +8 -0
- package/types/modules/Message/hooks/useDirtyGetMentions.d.ts +1 -1
- package/types/modules/MessageSearch/context/MessageSearchProvider.d.ts +51 -24
- package/types/modules/MessageSearch/context/hooks/useGetSearchedMessages.d.ts +2 -8
- package/types/modules/MessageSearch/context/hooks/useMessageSearch.d.ts +21 -0
- package/types/modules/MessageSearch/context/hooks/useScrollCallback.d.ts +2 -9
- package/types/modules/MessageSearch/context/hooks/useSearchStringEffect.d.ts +1 -7
- package/types/modules/MessageSearch/context/hooks/useSetChannel.d.ts +2 -7
- package/types/modules/MessageSearch/context/index.d.ts +2 -0
- package/types/modules/OpenChannel/context/hooks/useDeleteMessageCallback.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +1 -3
- package/types/modules/OpenChannel/context/hooks/useHandleChannelEvents.d.ts +1 -2
- package/types/modules/OpenChannel/context/hooks/useInitialMessagesFetch.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useResendMessageCallback.d.ts +1 -1
- package/types/modules/OpenChannel/context/hooks/useScrollCallback.d.ts +1 -2
- package/types/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +1 -2
- package/types/modules/OpenChannel/context/hooks/useSetChannel.d.ts +1 -2
- package/types/modules/OpenChannel/context/hooks/useUpdateMessageCallback.d.ts +1 -1
- package/types/modules/OpenChannel/context/utils.d.ts +1 -1
- package/types/modules/OpenChannelList/context/OpenChannelListInterfaces.d.ts +1 -1
- package/types/modules/OpenChannelList/context/hooks/createChannelListQuery.d.ts +1 -2
- package/types/modules/OpenChannelList/context/hooks/useFetchNextCallback.d.ts +1 -1
- package/types/modules/OpenChannelList/context/hooks/useRefreshOpenChannelList.d.ts +1 -2
- package/types/modules/OpenChannelList/context/hooks/useSetupOpenChannelList.d.ts +1 -2
- package/types/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +1 -1
- package/types/modules/Thread/context/ThreadProvider.d.ts +110 -22
- package/types/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +4 -3
- package/types/modules/Thread/context/hooks/useGetAllEmoji.d.ts +2 -4
- package/types/modules/Thread/context/hooks/useGetChannel.d.ts +2 -7
- package/types/modules/Thread/context/hooks/useGetParentMessage.d.ts +2 -4
- package/types/modules/Thread/context/hooks/useHandleChannelEvents.d.ts +2 -4
- package/types/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +2 -3
- package/types/modules/Thread/context/hooks/useResendMessageCallback.d.ts +5 -3
- package/types/modules/Thread/context/hooks/useSendFileMessage.d.ts +4 -3
- package/types/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +4 -3
- package/types/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +4 -3
- package/types/modules/Thread/context/hooks/useSetCurrentUserId.d.ts +6 -0
- package/types/modules/Thread/context/hooks/useThreadFetchers.d.ts +14 -7
- package/types/modules/Thread/context/hooks/useToggleReactionsCallback.d.ts +1 -1
- package/types/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +4 -3
- package/types/modules/Thread/context/index.d.ts +2 -0
- package/types/modules/Thread/context/useThread.d.ts +64 -0
- package/types/modules/Thread/types.d.ts +8 -0
- package/types/ui/FileMessageItemBody/index.d.ts +1 -1
- package/types/ui/MessageContent/MessageBody/index.d.ts +3 -3
- package/types/ui/MessageContent/index.d.ts +1 -1
- package/types/ui/MessageInput/messageInputUtils.d.ts +3 -3
- package/types/ui/MultipleFilesMessageItemBody/index.d.ts +1 -1
- package/types/utils/color.d.ts +0 -1
- package/types/utils/compressImages.d.ts +1 -2
- package/types/utils/getIsReactionEnabled.d.ts +2 -2
- package/types/utils/index.d.ts +2 -26
- package/types/utils/messages.d.ts +7 -6
- package/types/utils/storeManager.d.ts +10 -0
- package/types/utils/utils.d.ts +5 -0
- package/ui/Accordion.js +2 -2
- package/ui/AccordionGroup.js +1 -1
- package/ui/AdminMessage.js +3 -3
- package/ui/Avatar.js +4 -4
- package/ui/Badge.js +5 -4
- package/ui/Badge.js.map +1 -1
- package/ui/BottomSheet.js +19 -25
- package/ui/BottomSheet.js.map +1 -1
- package/ui/Button.js +3 -3
- package/ui/ChannelAvatar.js +5 -5
- package/ui/ConnectionStatus.js +6 -5
- package/ui/ConnectionStatus.js.map +1 -1
- package/ui/ContextMenu.js +16 -14
- package/ui/ContextMenu.js.map +1 -1
- package/ui/DateSeparator.js +4 -4
- package/ui/EmojiReactions.js +26 -27
- package/ui/EmojiReactions.js.map +1 -1
- package/ui/FallbackTemplateMessageItemBody.tsx.js +10 -8
- package/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
- package/ui/FileMessageItemBody.js +20 -16
- package/ui/FileMessageItemBody.js.map +1 -1
- package/ui/FileViewer.js +22 -23
- package/ui/FileViewer.js.map +1 -1
- 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 +24 -27
- package/ui/MentionLabel.js.map +1 -1
- package/ui/MentionUserLabel.js +2 -2
- package/ui/MessageContent.js +48 -45
- package/ui/MessageContent.js.map +1 -1
- package/ui/MessageFeedbackFailedModal.js +15 -22
- package/ui/MessageFeedbackFailedModal.js.map +1 -1
- package/ui/MessageFeedbackModal.js +15 -22
- package/ui/MessageFeedbackModal.js.map +1 -1
- package/ui/MessageInput/hooks/usePaste.js +7 -7
- package/ui/MessageInput.js +24 -20
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +15 -13
- package/ui/MessageItemMenu.js.map +1 -1
- package/ui/MessageItemReactionMenu.js +16 -14
- package/ui/MessageItemReactionMenu.js.map +1 -1
- package/ui/MessageMenu.js +17 -15
- package/ui/MessageMenu.js.map +1 -1
- package/ui/MessageSearchFileItem.js +17 -15
- package/ui/MessageSearchFileItem.js.map +1 -1
- package/ui/MessageSearchItem.js +12 -11
- package/ui/MessageSearchItem.js.map +1 -1
- package/ui/MessageStatus.js +15 -13
- package/ui/MessageStatus.js.map +1 -1
- package/ui/MessageTemplate.js +1 -1
- package/ui/MobileFeedbackMenu.js +15 -21
- package/ui/MobileFeedbackMenu.js.map +1 -1
- package/ui/MobileMenu.js +21 -23
- package/ui/MobileMenu.js.map +1 -1
- package/ui/Modal.js +13 -21
- package/ui/Modal.js.map +1 -1
- package/ui/MutedAvatarOverlay.js +2 -2
- package/ui/OGMessageItemBody.js +24 -26
- package/ui/OGMessageItemBody.js.map +1 -1
- package/ui/OpenChannelAdminMessage.js +3 -3
- package/ui/OpenChannelAvatar.js +8 -7
- package/ui/OpenChannelAvatar.js.map +1 -1
- package/ui/OpenchannelConversationHeader.js +8 -7
- package/ui/OpenchannelConversationHeader.js.map +1 -1
- package/ui/OpenchannelFileMessage.js +24 -26
- package/ui/OpenchannelFileMessage.js.map +1 -1
- package/ui/OpenchannelOGMessage.js +26 -28
- package/ui/OpenchannelOGMessage.js.map +1 -1
- package/ui/OpenchannelThumbnailMessage.js +23 -25
- package/ui/OpenchannelThumbnailMessage.js.map +1 -1
- package/ui/OpenchannelUserMessage.js +25 -27
- package/ui/OpenchannelUserMessage.js.map +1 -1
- package/ui/PlaceHolder.js +6 -5
- package/ui/PlaceHolder.js.map +1 -1
- package/ui/PlaybackTime.js +3 -3
- package/ui/ProgressBar.js +1 -1
- package/ui/QuoteMessage.js +12 -10
- package/ui/QuoteMessage.js.map +1 -1
- package/ui/QuoteMessageInput.js +12 -10
- package/ui/QuoteMessageInput.js.map +1 -1
- package/ui/ReactionBadge.js +3 -3
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +2 -2
- package/ui/TemplateMessageItemBody.js +21 -17
- package/ui/TemplateMessageItemBody.js.map +1 -1
- package/ui/TextButton.js +2 -2
- package/ui/TextMessageItemBody.js +24 -27
- package/ui/TextMessageItemBody.js.map +1 -1
- package/ui/ThreadReplies.js +8 -7
- package/ui/ThreadReplies.js.map +1 -1
- package/ui/ThumbnailMessageItemBody.js +10 -9
- package/ui/ThumbnailMessageItemBody.js.map +1 -1
- package/ui/Toggle.js +8 -5
- package/ui/Toggle.js.map +1 -1
- package/ui/Tooltip.js +3 -3
- package/ui/TooltipWrapper.js +1 -1
- package/ui/TypingIndicatorBubble.js +4 -4
- package/ui/UnknownMessageItemBody.js +10 -8
- package/ui/UnknownMessageItemBody.js.map +1 -1
- package/ui/UserListItem.js +28 -31
- package/ui/UserListItem.js.map +1 -1
- package/ui/UserListItemMenu.js +18 -16
- package/ui/UserListItemMenu.js.map +1 -1
- package/ui/UserProfile.js +19 -32
- package/ui/UserProfile.js.map +1 -1
- package/ui/VoiceMessageInput.js +9 -8
- package/ui/VoiceMessageInput.js.map +1 -1
- package/ui/VoiceMessageItemBody.js +16 -21
- package/ui/VoiceMessageItemBody.js.map +1 -1
- package/ui/Word.js +21 -24
- package/ui/Word.js.map +1 -1
- package/utils/message/isVoiceMessage.js +6 -5
- package/utils/message/isVoiceMessage.js.map +1 -1
- package/chunks/bundle-4W3uBGU3.js.map +0 -1
- package/chunks/bundle-90vsNbxW.js.map +0 -1
- package/chunks/bundle-BAQj91eb.js.map +0 -1
- package/chunks/bundle-BBowfNDO.js.map +0 -1
- package/chunks/bundle-BE58pe-0.js.map +0 -1
- package/chunks/bundle-BFqR1X1Q.js.map +0 -1
- package/chunks/bundle-BMygDCXK.js.map +0 -1
- package/chunks/bundle-BP1CB0js.js.map +0 -1
- package/chunks/bundle-BR3O1lZq.js.map +0 -1
- package/chunks/bundle-BWM5xqIs.js +0 -57
- package/chunks/bundle-BWM5xqIs.js.map +0 -1
- package/chunks/bundle-BiPxcZtH.js.map +0 -1
- package/chunks/bundle-Bk5X1tDl.js +0 -8
- package/chunks/bundle-Bk5X1tDl.js.map +0 -1
- package/chunks/bundle-C1U8wE49.js.map +0 -1
- package/chunks/bundle-C9dF4QVS.js.map +0 -1
- package/chunks/bundle-CB5ZFhrW.js +0 -9
- package/chunks/bundle-CB5ZFhrW.js.map +0 -1
- package/chunks/bundle-CDjVXDOc.js.map +0 -1
- package/chunks/bundle-CDvvzlad.js.map +0 -1
- package/chunks/bundle-CHzQIw7_.js +0 -43
- package/chunks/bundle-CHzQIw7_.js.map +0 -1
- package/chunks/bundle-CZsW3iP9.js.map +0 -1
- package/chunks/bundle-CbEyAimK.js.map +0 -1
- package/chunks/bundle-Ci2fMtNJ.js.map +0 -1
- package/chunks/bundle-Ctm0h0rU.js +0 -12
- package/chunks/bundle-Ctm0h0rU.js.map +0 -1
- package/chunks/bundle-Cu4bYcMG.js +0 -67
- package/chunks/bundle-Cu4bYcMG.js.map +0 -1
- package/chunks/bundle-CzdrQ_Yq.js.map +0 -1
- package/chunks/bundle-DCbJaskZ.js.map +0 -1
- package/chunks/bundle-DImSV9VW.js.map +0 -1
- package/chunks/bundle-DUTyBaXr.js.map +0 -1
- package/chunks/bundle-DWrM1EW4.js.map +0 -1
- package/chunks/bundle-DYeeW5nS.js.map +0 -1
- package/chunks/bundle-DaKZZ13Y.js.map +0 -1
- package/chunks/bundle-Deel9XzY.js.map +0 -1
- package/chunks/bundle-DfDrbjM5.js.map +0 -1
- package/chunks/bundle-DjgT6gu4.js.map +0 -1
- package/chunks/bundle-DkviGBGz.js.map +0 -1
- package/chunks/bundle-Dpdq7qeD.js.map +0 -1
- package/chunks/bundle-DrHsf0sP.js.map +0 -1
- package/chunks/bundle-Dskg5qjd.js.map +0 -1
- package/chunks/bundle-DtycZWOo.js +0 -20
- package/chunks/bundle-DtycZWOo.js.map +0 -1
- package/chunks/bundle-DvcOxLrR.js.map +0 -1
- package/chunks/bundle-Dvg19muo.js.map +0 -1
- package/chunks/bundle-LPNnEgGp.js.map +0 -1
- package/chunks/bundle-LWpHaUiZ.js.map +0 -1
- package/chunks/bundle-MkyS3j4-.js.map +0 -1
- package/chunks/bundle-MrMJJXf2.js +0 -34
- package/chunks/bundle-MrMJJXf2.js.map +0 -1
- package/chunks/bundle-MyLy9AIu.js +0 -367
- package/chunks/bundle-P-vXuw8U.js.map +0 -1
- package/chunks/bundle-TGosz9cX.js.map +0 -1
- package/chunks/bundle-V4PrrT67.js.map +0 -1
- package/chunks/bundle-eYHtE5ry.js.map +0 -1
- package/chunks/bundle-gQ2a8Eki.js.map +0 -1
- package/chunks/bundle-jw_xHmHg.js.map +0 -1
- package/chunks/bundle-k6zcGkBp.js.map +0 -1
- package/cjs/chunks/bundle-4i5ybSGL.js +0 -107
- package/cjs/chunks/bundle-4i5ybSGL.js.map +0 -1
- package/cjs/chunks/bundle-6UD0H-nz.js.map +0 -1
- package/cjs/chunks/bundle-A5UoPEJO.js.map +0 -1
- package/cjs/chunks/bundle-Aw-PHA-I.js.map +0 -1
- package/cjs/chunks/bundle-B0uIbH1T.js.map +0 -1
- package/cjs/chunks/bundle-B2zio8XF.js.map +0 -1
- package/cjs/chunks/bundle-B3LOu7kN.js.map +0 -1
- package/cjs/chunks/bundle-B5aEwfu1.js.map +0 -1
- package/cjs/chunks/bundle-BAF8GaDh.js.map +0 -1
- package/cjs/chunks/bundle-BFFRQpby.js.map +0 -1
- package/cjs/chunks/bundle-BFPhV1oD.js +0 -10
- package/cjs/chunks/bundle-BFPhV1oD.js.map +0 -1
- package/cjs/chunks/bundle-BFXyNnQ0.js +0 -11
- package/cjs/chunks/bundle-BFXyNnQ0.js.map +0 -1
- package/cjs/chunks/bundle-BL1sGjVd.js.map +0 -1
- package/cjs/chunks/bundle-BOCivP7e.js.map +0 -1
- package/cjs/chunks/bundle-BSfpBazH.js.map +0 -1
- package/cjs/chunks/bundle-BUuEhLl0.js +0 -26
- package/cjs/chunks/bundle-BUuEhLl0.js.map +0 -1
- package/cjs/chunks/bundle-BZd597ep.js.map +0 -1
- package/cjs/chunks/bundle-BcIrmepz.js.map +0 -1
- package/cjs/chunks/bundle-Bc_sQb3i.js.map +0 -1
- package/cjs/chunks/bundle-BfjugOIp.js.map +0 -1
- package/cjs/chunks/bundle-Bhf_RRfA.js.map +0 -1
- package/cjs/chunks/bundle-BloKh_k7.js.map +0 -1
- package/cjs/chunks/bundle-BpThX3wu.js.map +0 -1
- package/cjs/chunks/bundle-Bu4cmOCm.js.map +0 -1
- package/cjs/chunks/bundle-ByQJ042a.js.map +0 -1
- package/cjs/chunks/bundle-C3_KfqSN.js.map +0 -1
- package/cjs/chunks/bundle-CNvRk1Z6.js.map +0 -1
- package/cjs/chunks/bundle-CT3qZJLT.js +0 -36
- package/cjs/chunks/bundle-CT3qZJLT.js.map +0 -1
- package/cjs/chunks/bundle-CYAm3mYC.js +0 -50
- package/cjs/chunks/bundle-CYAm3mYC.js.map +0 -1
- package/cjs/chunks/bundle-CfUeEOi0.js.map +0 -1
- package/cjs/chunks/bundle-ChDTEa9-.js.map +0 -1
- package/cjs/chunks/bundle-Clz7RiTn.js.map +0 -1
- package/cjs/chunks/bundle-Cq5LKFhE.js.map +0 -1
- package/cjs/chunks/bundle-D-kYFL1Z.js.map +0 -1
- package/cjs/chunks/bundle-D1slQ3hS.js.map +0 -1
- package/cjs/chunks/bundle-D30swLTX.js.map +0 -1
- package/cjs/chunks/bundle-D6fimwV5.js.map +0 -1
- package/cjs/chunks/bundle-D7uROwt_.js +0 -73
- package/cjs/chunks/bundle-D7uROwt_.js.map +0 -1
- package/cjs/chunks/bundle-DHPSwRDh.js.map +0 -1
- package/cjs/chunks/bundle-DHZYT5M_.js.map +0 -1
- package/cjs/chunks/bundle-DL3fuSPu.js.map +0 -1
- package/cjs/chunks/bundle-DQy9DqFO.js +0 -84
- package/cjs/chunks/bundle-DQy9DqFO.js.map +0 -1
- package/cjs/chunks/bundle-DTD48j2K.js.map +0 -1
- package/cjs/chunks/bundle-DVc6YedH.js.map +0 -1
- package/cjs/chunks/bundle-DWfeFlxG.js.map +0 -1
- package/cjs/chunks/bundle-DX3sBwvt.js.map +0 -1
- package/cjs/chunks/bundle-DYjhaLRW.js.map +0 -1
- package/cjs/chunks/bundle-DkDRIPJe.js.map +0 -1
- package/cjs/chunks/bundle-Dq5LRxGL.js.map +0 -1
- package/cjs/chunks/bundle-DuSS5Dmw.js.map +0 -1
- package/cjs/chunks/bundle-DzEGN4bG.js.map +0 -1
- package/cjs/chunks/bundle-JpIugjtL.js.map +0 -1
- package/cjs/chunks/bundle-Khwf-z37.js.map +0 -1
- package/cjs/chunks/bundle-Ol1CxgYk.js +0 -385
- package/cjs/chunks/bundle-Ol1CxgYk.js.map +0 -1
- package/cjs/chunks/bundle-QF_AmnwV.js.map +0 -1
- package/cjs/chunks/bundle-R7sVfaA9.js.map +0 -1
- package/cjs/chunks/bundle-S-XkXH4q.js.map +0 -1
- package/cjs/chunks/bundle-XANrnOqB.js.map +0 -1
- package/cjs/chunks/bundle-XxCVYLKy.js.map +0 -1
- package/cjs/chunks/bundle-YTiDKoON.js.map +0 -1
- package/cjs/chunks/bundle-m5OpCHlj.js.map +0 -1
- package/cjs/chunks/bundle-nWxq3V_Q.js.map +0 -1
- package/cjs/chunks/bundle-n_Z6yPjx.js.map +0 -1
- package/cjs/chunks/bundle-qMxPIH0k.js.map +0 -1
- package/cjs/chunks/bundle-s1cLz65w.js.map +0 -1
- package/cjs/useSendbirdStateContext.js +0 -27
- package/cjs/useSendbirdStateContext.js.map +0 -1
- package/cjs/withSendbird.js +0 -33
- package/cjs/withSendbird.js.map +0 -1
- package/types/hooks/useAppendDomNode.d.ts +0 -2
- package/types/hooks/useSendbirdStateContext.d.ts +0 -3
- package/types/lib/Sendbird.d.ts +0 -67
- package/types/lib/SendbirdSdkContext.d.ts +0 -12
- package/types/lib/SendbirdState.d.ts +0 -7
- package/types/lib/dux/appInfo/actionTypes.d.ts +0 -26
- package/types/lib/dux/appInfo/initialState.d.ts +0 -23
- package/types/lib/dux/appInfo/reducers.d.ts +0 -3
- package/types/lib/dux/appInfo/utils.d.ts +0 -7
- package/types/lib/dux/sdk/actionTypes.d.ts +0 -16
- package/types/lib/dux/sdk/initialState.d.ts +0 -9
- package/types/lib/dux/sdk/reducers.d.ts +0 -3
- package/types/lib/dux/user/actionTypes.d.ts +0 -14
- package/types/lib/dux/user/initialState.d.ts +0 -8
- package/types/lib/dux/user/reducers.d.ts +0 -3
- package/types/lib/hooks/useConnect/__test__/data.mocks.d.ts +0 -16
- package/types/lib/hooks/useConnect/connect.d.ts +0 -2
- package/types/lib/hooks/useConnect/disconnectSdk.d.ts +0 -2
- package/types/lib/hooks/useConnect/index.d.ts +0 -2
- package/types/lib/hooks/useConnect/setupConnection.d.ts +0 -22
- package/types/lib/hooks/useConnect/types.d.ts +0 -47
- package/types/modules/GroupChannel/context/hooks/useToggleReactionCallback.d.ts +0 -4
- package/types/modules/MessageSearch/context/dux/actionTypes.d.ts +0 -8
- package/types/modules/MessageSearch/context/dux/initialState.d.ts +0 -14
- package/types/modules/MessageSearch/context/dux/reducers.d.ts +0 -7
- package/types/modules/Thread/context/dux/actionTypes.d.ts +0 -38
- package/types/modules/Thread/context/dux/initialState.d.ts +0 -22
- package/types/modules/Thread/context/dux/reducer.d.ts +0 -8
- package/useSendbirdStateContext.js +0 -22
- package/useSendbirdStateContext.js.map +0 -1
- package/withSendbird.js +0 -24
- package/withSendbird.js.map +0 -1
|
@@ -0,0 +1,661 @@
|
|
|
1
|
+
import { _ as __assign, b as __awaiter, c as __generator } from './bundle-B8Grfnrx.js';
|
|
2
|
+
import React__default, { useCallback, useContext, useMemo, useRef, useState, useLayoutEffect, createContext, useEffect } from 'react';
|
|
3
|
+
import { MessageMetaArray, ReplyType } from '@sendbird/chat/message';
|
|
4
|
+
import { MessageFilter } from '@sendbird/chat/groupChannel';
|
|
5
|
+
import { useIIFE, useGroupChannelMessages, useAsyncEffect, useAsyncLayoutEffect } from '@sendbird/uikit-tools';
|
|
6
|
+
import { U as UserProfileProvider } from './bundle-BYqblmEM.js';
|
|
7
|
+
import { p as pubSubFactory } from './bundle-Dx4-1s0A.js';
|
|
8
|
+
import { s as shimExports, c as createStore, u as useStore } from './bundle-C4OmfIXk.js';
|
|
9
|
+
import { e as getMessageTopOffset, b as isContextMenuClosed } from './bundle-D8xAej93.js';
|
|
10
|
+
import { u as useSendbird } from './bundle-I25ah_Bv.js';
|
|
11
|
+
import { g as getIsReactionEnabled } from './bundle-C6Hk5xTT.js';
|
|
12
|
+
import { g as getCaseResolvedReplyType, a as getCaseResolvedThreadReplySelectType } from './bundle-B5_aP8LE.js';
|
|
13
|
+
import { P as PUBSUB_TOPICS, b as PublishingModuleType, p as pubSubTopics } from './bundle--1cImOGd.js';
|
|
14
|
+
import { T as ThreadReplySelectType } from './bundle-BciLDE6M.js';
|
|
15
|
+
import { u as useDeepCompareEffect } from './bundle-C5Pz6wMm.js';
|
|
16
|
+
import { K } from './bundle-De-3zaYV.js';
|
|
17
|
+
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-Ob7Cw3V-.js';
|
|
18
|
+
import { a as delay } from './bundle-CDcu1I4f.js';
|
|
19
|
+
|
|
20
|
+
var pass = function (value) { return value; };
|
|
21
|
+
/**
|
|
22
|
+
* @description This hook controls common processes related to message sending, updating.
|
|
23
|
+
* */
|
|
24
|
+
function useMessageActions(params) {
|
|
25
|
+
var _this = this;
|
|
26
|
+
var _a = params.onBeforeSendUserMessage, onBeforeSendUserMessage = _a === void 0 ? pass : _a, _b = params.onBeforeSendFileMessage, onBeforeSendFileMessage = _b === void 0 ? pass : _b, _c = params.onBeforeUpdateUserMessage, onBeforeUpdateUserMessage = _c === void 0 ? pass : _c, _d = params.onBeforeSendVoiceMessage, onBeforeSendVoiceMessage = _d === void 0 ? pass : _d, _e = params.onBeforeSendMultipleFilesMessage, onBeforeSendMultipleFilesMessage = _e === void 0 ? pass : _e, sendFileMessage = params.sendFileMessage, sendMultipleFilesMessage = params.sendMultipleFilesMessage, sendUserMessage = params.sendUserMessage, updateUserMessage = params.updateUserMessage, updateFileMessage = params.updateFileMessage, resendMessage = params.resendMessage, deleteMessage = params.deleteMessage, resetNewMessages = params.resetNewMessages, scrollToBottom = params.scrollToBottom, quoteMessage = params.quoteMessage, replyType = params.replyType, currentChannel = params.currentChannel;
|
|
27
|
+
var _f = useSendbird().state, eventHandlers = _f.eventHandlers, pubSub = _f.config.pubSub;
|
|
28
|
+
var buildInternalMessageParams = useCallback(function (basicParams) {
|
|
29
|
+
var messageParams = __assign({}, basicParams);
|
|
30
|
+
if (params.quoteMessage && replyType !== 'NONE') {
|
|
31
|
+
messageParams.isReplyToChannel = true;
|
|
32
|
+
messageParams.parentMessageId = quoteMessage === null || quoteMessage === void 0 ? void 0 : quoteMessage.messageId;
|
|
33
|
+
}
|
|
34
|
+
return messageParams;
|
|
35
|
+
}, [replyType, quoteMessage]);
|
|
36
|
+
// This is a hack for the hotfix of following issue
|
|
37
|
+
// https://sendbird.atlassian.net/browse/SBISSUE-17029
|
|
38
|
+
var asyncScrollToBottom = useCallback(function () {
|
|
39
|
+
setTimeout(scrollToBottom, 0);
|
|
40
|
+
}, []);
|
|
41
|
+
var processParams = useCallback(function (handler, params, type) { return __awaiter(_this, void 0, void 0, function () {
|
|
42
|
+
var result, error_1;
|
|
43
|
+
return __generator(this, function (_a) {
|
|
44
|
+
switch (_a.label) {
|
|
45
|
+
case 0:
|
|
46
|
+
_a.trys.push([0, 2, , 3]);
|
|
47
|
+
return [4 /*yield*/, handler(params)];
|
|
48
|
+
case 1:
|
|
49
|
+
result = _a.sent();
|
|
50
|
+
return [2 /*return*/, (result === undefined ? params : result)];
|
|
51
|
+
case 2:
|
|
52
|
+
error_1 = _a.sent();
|
|
53
|
+
if (typeof (eventHandlers === null || eventHandlers === void 0 ? void 0 : eventHandlers.message) === 'object') {
|
|
54
|
+
K(type)
|
|
55
|
+
.with('file', 'voice', function () {
|
|
56
|
+
var _a, _b, _c, _d;
|
|
57
|
+
if (params.file) {
|
|
58
|
+
(_b = (_a = eventHandlers.message).onFileUploadFailed) === null || _b === void 0 ? void 0 : _b.call(_a, error_1);
|
|
59
|
+
}
|
|
60
|
+
(_d = (_c = eventHandlers.message).onSendMessageFailed) === null || _d === void 0 ? void 0 : _d.call(_c, params, error_1);
|
|
61
|
+
})
|
|
62
|
+
.with('multipleFiles', function () {
|
|
63
|
+
var _a, _b, _c, _d;
|
|
64
|
+
if (params.fileInfoList) {
|
|
65
|
+
(_b = (_a = eventHandlers.message).onFileUploadFailed) === null || _b === void 0 ? void 0 : _b.call(_a, error_1);
|
|
66
|
+
}
|
|
67
|
+
(_d = (_c = eventHandlers.message).onSendMessageFailed) === null || _d === void 0 ? void 0 : _d.call(_c, params, error_1);
|
|
68
|
+
})
|
|
69
|
+
.with('user', function () {
|
|
70
|
+
var _a, _b;
|
|
71
|
+
(_b = (_a = eventHandlers.message).onSendMessageFailed) === null || _b === void 0 ? void 0 : _b.call(_a, params, error_1);
|
|
72
|
+
})
|
|
73
|
+
.with('update', function () {
|
|
74
|
+
var _a, _b;
|
|
75
|
+
(_b = (_a = eventHandlers.message).onUpdateMessageFailed) === null || _b === void 0 ? void 0 : _b.call(_a, params, error_1);
|
|
76
|
+
})
|
|
77
|
+
.exhaustive();
|
|
78
|
+
}
|
|
79
|
+
throw error_1;
|
|
80
|
+
case 3: return [2 /*return*/];
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
}); }, [eventHandlers]);
|
|
84
|
+
return {
|
|
85
|
+
sendUserMessage: useCallback(function (params) { return __awaiter(_this, void 0, void 0, function () {
|
|
86
|
+
var internalParams, processedParams;
|
|
87
|
+
return __generator(this, function (_a) {
|
|
88
|
+
switch (_a.label) {
|
|
89
|
+
case 0:
|
|
90
|
+
internalParams = buildInternalMessageParams(params);
|
|
91
|
+
return [4 /*yield*/, processParams(onBeforeSendUserMessage, internalParams, 'user')];
|
|
92
|
+
case 1:
|
|
93
|
+
processedParams = _a.sent();
|
|
94
|
+
return [2 /*return*/, sendUserMessage(processedParams, asyncScrollToBottom)];
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
}); }, [buildInternalMessageParams, sendUserMessage, scrollToBottom, processParams]),
|
|
98
|
+
sendFileMessage: useCallback(function (params) { return __awaiter(_this, void 0, void 0, function () {
|
|
99
|
+
var internalParams, processedParams;
|
|
100
|
+
return __generator(this, function (_a) {
|
|
101
|
+
switch (_a.label) {
|
|
102
|
+
case 0:
|
|
103
|
+
internalParams = buildInternalMessageParams(params);
|
|
104
|
+
return [4 /*yield*/, processParams(onBeforeSendFileMessage, internalParams, 'file')];
|
|
105
|
+
case 1:
|
|
106
|
+
processedParams = _a.sent();
|
|
107
|
+
return [2 /*return*/, sendFileMessage(processedParams, asyncScrollToBottom)];
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
}); }, [buildInternalMessageParams, sendFileMessage, scrollToBottom, processParams]),
|
|
111
|
+
sendMultipleFilesMessage: useCallback(function (params) { return __awaiter(_this, void 0, void 0, function () {
|
|
112
|
+
var internalParams, processedParams;
|
|
113
|
+
return __generator(this, function (_a) {
|
|
114
|
+
switch (_a.label) {
|
|
115
|
+
case 0:
|
|
116
|
+
internalParams = buildInternalMessageParams(params);
|
|
117
|
+
return [4 /*yield*/, processParams(onBeforeSendMultipleFilesMessage, internalParams, 'multipleFiles')];
|
|
118
|
+
case 1:
|
|
119
|
+
processedParams = _a.sent();
|
|
120
|
+
return [2 /*return*/, sendMultipleFilesMessage(processedParams, asyncScrollToBottom)];
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}); }, [buildInternalMessageParams, sendMultipleFilesMessage, scrollToBottom, processParams]),
|
|
124
|
+
sendVoiceMessage: useCallback(function (params, duration) { return __awaiter(_this, void 0, void 0, function () {
|
|
125
|
+
var internalParams, processedParams;
|
|
126
|
+
return __generator(this, function (_a) {
|
|
127
|
+
switch (_a.label) {
|
|
128
|
+
case 0:
|
|
129
|
+
internalParams = buildInternalMessageParams(__assign(__assign({}, params), { fileName: VOICE_MESSAGE_FILE_NAME, mimeType: VOICE_MESSAGE_MIME_TYPE, metaArrays: [
|
|
130
|
+
new MessageMetaArray({
|
|
131
|
+
key: META_ARRAY_VOICE_DURATION_KEY,
|
|
132
|
+
value: ["".concat(duration)],
|
|
133
|
+
}),
|
|
134
|
+
new MessageMetaArray({
|
|
135
|
+
key: META_ARRAY_MESSAGE_TYPE_KEY,
|
|
136
|
+
value: [META_ARRAY_MESSAGE_TYPE_VALUE__VOICE],
|
|
137
|
+
}),
|
|
138
|
+
] }));
|
|
139
|
+
return [4 /*yield*/, processParams(onBeforeSendVoiceMessage, internalParams, 'voice')];
|
|
140
|
+
case 1:
|
|
141
|
+
processedParams = _a.sent();
|
|
142
|
+
return [2 /*return*/, sendFileMessage(processedParams, asyncScrollToBottom)];
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
}); }, [buildInternalMessageParams, sendFileMessage, scrollToBottom, processParams]),
|
|
146
|
+
updateUserMessage: useCallback(function (messageId, params) { return __awaiter(_this, void 0, void 0, function () {
|
|
147
|
+
var internalParams, processedParams;
|
|
148
|
+
return __generator(this, function (_a) {
|
|
149
|
+
switch (_a.label) {
|
|
150
|
+
case 0:
|
|
151
|
+
internalParams = buildInternalMessageParams(params);
|
|
152
|
+
return [4 /*yield*/, processParams(onBeforeUpdateUserMessage, internalParams, 'update')];
|
|
153
|
+
case 1:
|
|
154
|
+
processedParams = _a.sent();
|
|
155
|
+
return [2 /*return*/, updateUserMessage(messageId, processedParams)
|
|
156
|
+
.then(function (message) {
|
|
157
|
+
pubSub.publish(PUBSUB_TOPICS.UPDATE_USER_MESSAGE, {
|
|
158
|
+
channel: currentChannel,
|
|
159
|
+
message: message,
|
|
160
|
+
publishingModules: [PublishingModuleType.CHANNEL],
|
|
161
|
+
});
|
|
162
|
+
return message;
|
|
163
|
+
})];
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
}); }, [buildInternalMessageParams, updateUserMessage, processParams, currentChannel === null || currentChannel === void 0 ? void 0 : currentChannel.url]),
|
|
167
|
+
updateFileMessage: updateFileMessage,
|
|
168
|
+
resendMessage: resendMessage,
|
|
169
|
+
deleteMessage: deleteMessage,
|
|
170
|
+
resetNewMessages: resetNewMessages,
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
var useGroupChannel = function () {
|
|
175
|
+
var _a, _b, _c;
|
|
176
|
+
var store = useContext(GroupChannelContext);
|
|
177
|
+
if (!store)
|
|
178
|
+
throw new Error('useGroupChannel must be used within a GroupChannelProvider');
|
|
179
|
+
var config = useSendbird().state.config;
|
|
180
|
+
var markAsReadScheduler = config.markAsReadScheduler;
|
|
181
|
+
var state = shimExports.useSyncExternalStore(store.subscribe, store.getState);
|
|
182
|
+
var setAnimatedMessageId = useCallback(function (messageId) {
|
|
183
|
+
store.setState(function (state) { return (__assign(__assign({}, state), { animatedMessageId: messageId })); });
|
|
184
|
+
}, []);
|
|
185
|
+
var setIsScrollBottomReached = useCallback(function (isReached) {
|
|
186
|
+
store.setState(function (state) { return (__assign(__assign({}, state), { isScrollBottomReached: isReached })); });
|
|
187
|
+
}, []);
|
|
188
|
+
var scrollToBottom = useCallback(function (animated) { return __awaiter(void 0, void 0, void 0, function () {
|
|
189
|
+
return __generator(this, function (_a) {
|
|
190
|
+
switch (_a.label) {
|
|
191
|
+
case 0:
|
|
192
|
+
if (!state.scrollRef.current)
|
|
193
|
+
return [2 /*return*/];
|
|
194
|
+
setAnimatedMessageId(null);
|
|
195
|
+
setIsScrollBottomReached(true);
|
|
196
|
+
// wait a bit for scroll ref to be updated
|
|
197
|
+
return [4 /*yield*/, delay()];
|
|
198
|
+
case 1:
|
|
199
|
+
// wait a bit for scroll ref to be updated
|
|
200
|
+
_a.sent();
|
|
201
|
+
if (!(config.isOnline && state.hasNext())) return [3 /*break*/, 3];
|
|
202
|
+
return [4 /*yield*/, state.resetWithStartingPoint(Number.MAX_SAFE_INTEGER)];
|
|
203
|
+
case 2:
|
|
204
|
+
_a.sent();
|
|
205
|
+
_a.label = 3;
|
|
206
|
+
case 3:
|
|
207
|
+
state.scrollPubSub.publish('scrollToBottom', { animated: animated });
|
|
208
|
+
if (state.currentChannel && !state.hasNext()) {
|
|
209
|
+
state.resetNewMessages();
|
|
210
|
+
if (!state.disableMarkAsRead) {
|
|
211
|
+
markAsReadScheduler.push(state.currentChannel);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
return [2 /*return*/];
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
}); }, [state.scrollRef.current, config.isOnline, markAsReadScheduler]);
|
|
218
|
+
var scrollToMessage = useCallback(function (createdAt, messageId, messageFocusAnimated, scrollAnimated) { return __awaiter(void 0, void 0, void 0, function () {
|
|
219
|
+
var element, parentNode, clickHandler, message, topOffset;
|
|
220
|
+
return __generator(this, function (_a) {
|
|
221
|
+
switch (_a.label) {
|
|
222
|
+
case 0:
|
|
223
|
+
element = state.scrollRef.current;
|
|
224
|
+
parentNode = element === null || element === void 0 ? void 0 : element.parentNode;
|
|
225
|
+
clickHandler = {
|
|
226
|
+
activate: function () {
|
|
227
|
+
if (!element || !parentNode)
|
|
228
|
+
return;
|
|
229
|
+
element.style.pointerEvents = 'auto';
|
|
230
|
+
parentNode.style.cursor = 'auto';
|
|
231
|
+
},
|
|
232
|
+
deactivate: function () {
|
|
233
|
+
if (!element || !parentNode)
|
|
234
|
+
return;
|
|
235
|
+
element.style.pointerEvents = 'none';
|
|
236
|
+
parentNode.style.cursor = 'wait';
|
|
237
|
+
},
|
|
238
|
+
};
|
|
239
|
+
clickHandler.deactivate();
|
|
240
|
+
setAnimatedMessageId(null);
|
|
241
|
+
message = state.messages.find(function (it) { return it.messageId === messageId || it.createdAt === createdAt; });
|
|
242
|
+
if (!message) return [3 /*break*/, 1];
|
|
243
|
+
topOffset = getMessageTopOffset(message.createdAt);
|
|
244
|
+
if (topOffset)
|
|
245
|
+
state.scrollPubSub.publish('scroll', { top: topOffset, animated: scrollAnimated });
|
|
246
|
+
if (messageFocusAnimated !== null && messageFocusAnimated !== void 0 ? messageFocusAnimated : true)
|
|
247
|
+
setAnimatedMessageId(messageId);
|
|
248
|
+
return [3 /*break*/, 3];
|
|
249
|
+
case 1: return [4 /*yield*/, state.resetWithStartingPoint(createdAt)];
|
|
250
|
+
case 2:
|
|
251
|
+
_a.sent();
|
|
252
|
+
setTimeout(function () {
|
|
253
|
+
var topOffset = getMessageTopOffset(createdAt);
|
|
254
|
+
if (topOffset) {
|
|
255
|
+
state.scrollPubSub.publish('scroll', {
|
|
256
|
+
top: topOffset,
|
|
257
|
+
lazy: false,
|
|
258
|
+
animated: scrollAnimated,
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
if (messageFocusAnimated !== null && messageFocusAnimated !== void 0 ? messageFocusAnimated : true)
|
|
262
|
+
setAnimatedMessageId(messageId);
|
|
263
|
+
});
|
|
264
|
+
_a.label = 3;
|
|
265
|
+
case 3:
|
|
266
|
+
clickHandler.activate();
|
|
267
|
+
return [2 /*return*/];
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
}); }, [setAnimatedMessageId, state.scrollRef.current, (_a = state.messages) === null || _a === void 0 ? void 0 : _a.map(function (it) { return it === null || it === void 0 ? void 0 : it.messageId; })]);
|
|
271
|
+
var toggleReaction = useCallback(function (message, emojiKey, isReacted) {
|
|
272
|
+
if (!state.currentChannel)
|
|
273
|
+
return;
|
|
274
|
+
if (isReacted) {
|
|
275
|
+
state.currentChannel.deleteReaction(message, emojiKey)
|
|
276
|
+
.catch(function (error) {
|
|
277
|
+
var _a;
|
|
278
|
+
(_a = config.logger) === null || _a === void 0 ? void 0 : _a.warning('Failed to delete reaction:', error);
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
else {
|
|
282
|
+
state.currentChannel.addReaction(message, emojiKey)
|
|
283
|
+
.catch(function (error) {
|
|
284
|
+
var _a;
|
|
285
|
+
(_a = config.logger) === null || _a === void 0 ? void 0 : _a.warning('Failed to add reaction:', error);
|
|
286
|
+
});
|
|
287
|
+
}
|
|
288
|
+
}, [(_b = state.currentChannel) === null || _b === void 0 ? void 0 : _b.deleteReaction, (_c = state.currentChannel) === null || _c === void 0 ? void 0 : _c.addReaction]);
|
|
289
|
+
var messageActions = useMessageActions(__assign(__assign({}, state), { scrollToBottom: scrollToBottom }));
|
|
290
|
+
var setCurrentChannel = useCallback(function (channel) {
|
|
291
|
+
store.setState(function (state) { return (__assign(__assign({}, state), { currentChannel: channel, fetchChannelError: null, quoteMessage: null, animatedMessageId: null, nicknamesMap: new Map(channel.members.map(function (_a) {
|
|
292
|
+
var userId = _a.userId, nickname = _a.nickname;
|
|
293
|
+
return [userId, nickname];
|
|
294
|
+
})) })); }, true);
|
|
295
|
+
}, []);
|
|
296
|
+
var handleChannelError = useCallback(function (error) {
|
|
297
|
+
store.setState(function (state) { return (__assign(__assign({}, state), { currentChannel: null, fetchChannelError: error, quoteMessage: null, animatedMessageId: null })); });
|
|
298
|
+
}, []);
|
|
299
|
+
var setQuoteMessage = useCallback(function (message) {
|
|
300
|
+
store.setState(function (state) { return (__assign(__assign({}, state), { quoteMessage: message })); });
|
|
301
|
+
}, []);
|
|
302
|
+
var actions = useMemo(function () {
|
|
303
|
+
return __assign({ setCurrentChannel: setCurrentChannel, handleChannelError: handleChannelError, setQuoteMessage: setQuoteMessage, scrollToBottom: scrollToBottom, scrollToMessage: scrollToMessage, toggleReaction: toggleReaction, setAnimatedMessageId: setAnimatedMessageId, setIsScrollBottomReached: setIsScrollBottomReached }, messageActions);
|
|
304
|
+
}, [
|
|
305
|
+
setCurrentChannel,
|
|
306
|
+
handleChannelError,
|
|
307
|
+
setQuoteMessage,
|
|
308
|
+
scrollToBottom,
|
|
309
|
+
scrollToMessage,
|
|
310
|
+
toggleReaction,
|
|
311
|
+
setAnimatedMessageId,
|
|
312
|
+
setIsScrollBottomReached,
|
|
313
|
+
messageActions,
|
|
314
|
+
]);
|
|
315
|
+
return { state: state, actions: actions };
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
function useMessageListScroll(behavior, deps) {
|
|
319
|
+
if (deps === void 0) { deps = []; }
|
|
320
|
+
var scrollRef = useRef(null);
|
|
321
|
+
var scrollPositionRef = useRef(0);
|
|
322
|
+
var scrollDistanceFromBottomRef = useRef(0);
|
|
323
|
+
var scrollPubSub = useState(function () { return pubSubFactory({ publishSynchronous: true }); })[0];
|
|
324
|
+
var setIsScrollBottomReached = useGroupChannel().actions.setIsScrollBottomReached;
|
|
325
|
+
// SideEffect: Reset scroll state
|
|
326
|
+
useLayoutEffect(function () {
|
|
327
|
+
scrollPositionRef.current = 0;
|
|
328
|
+
scrollDistanceFromBottomRef.current = 0;
|
|
329
|
+
setIsScrollBottomReached(true);
|
|
330
|
+
if (scrollRef.current)
|
|
331
|
+
scrollRef.current.scrollTop = scrollRef.current.scrollHeight;
|
|
332
|
+
}, deps);
|
|
333
|
+
useLayoutEffect(function () {
|
|
334
|
+
var unsubscribes = [];
|
|
335
|
+
unsubscribes.push(scrollPubSub.subscribe('scrollToBottom', function (_a) {
|
|
336
|
+
var resolve = _a.resolve, animated = _a.animated;
|
|
337
|
+
runCallback(function () {
|
|
338
|
+
if (!scrollRef.current) {
|
|
339
|
+
if (resolve)
|
|
340
|
+
resolve();
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
if (scrollRef.current.scroll) {
|
|
344
|
+
scrollRef.current.scroll({ top: scrollRef.current.scrollHeight, behavior: getScrollBehavior(behavior, animated) });
|
|
345
|
+
}
|
|
346
|
+
else {
|
|
347
|
+
scrollRef.current.scrollTop = scrollRef.current.scrollHeight;
|
|
348
|
+
}
|
|
349
|
+
// Update data by manual update
|
|
350
|
+
scrollDistanceFromBottomRef.current = 0;
|
|
351
|
+
setIsScrollBottomReached(true);
|
|
352
|
+
if (resolve)
|
|
353
|
+
resolve();
|
|
354
|
+
});
|
|
355
|
+
}));
|
|
356
|
+
unsubscribes.push(scrollPubSub.subscribe('scroll', function (_a) {
|
|
357
|
+
var top = _a.top, animated = _a.animated, lazy = _a.lazy, resolve = _a.resolve;
|
|
358
|
+
runCallback(function () {
|
|
359
|
+
if (!scrollRef.current)
|
|
360
|
+
return;
|
|
361
|
+
var _a = scrollRef.current, scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;
|
|
362
|
+
if (scrollRef.current.scroll) {
|
|
363
|
+
scrollRef.current.scroll({ top: top, behavior: getScrollBehavior(behavior, animated) });
|
|
364
|
+
}
|
|
365
|
+
else if (typeof top === 'number') {
|
|
366
|
+
scrollRef.current.scrollTop = top;
|
|
367
|
+
}
|
|
368
|
+
// Update data by manual update
|
|
369
|
+
scrollDistanceFromBottomRef.current = Math.max(0, scrollHeight - scrollTop - clientHeight);
|
|
370
|
+
setIsScrollBottomReached(scrollDistanceFromBottomRef.current === 0);
|
|
371
|
+
if (resolve)
|
|
372
|
+
resolve();
|
|
373
|
+
}, lazy);
|
|
374
|
+
}));
|
|
375
|
+
return function () {
|
|
376
|
+
unsubscribes.forEach(function (_a) {
|
|
377
|
+
var remove = _a.remove;
|
|
378
|
+
return remove();
|
|
379
|
+
});
|
|
380
|
+
};
|
|
381
|
+
}, [behavior]);
|
|
382
|
+
return {
|
|
383
|
+
scrollRef: scrollRef,
|
|
384
|
+
scrollPubSub: scrollPubSub,
|
|
385
|
+
scrollDistanceFromBottomRef: scrollDistanceFromBottomRef,
|
|
386
|
+
scrollPositionRef: scrollPositionRef,
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
function runCallback(callback, lazy) {
|
|
390
|
+
if (lazy === void 0) { lazy = true; }
|
|
391
|
+
if (lazy) {
|
|
392
|
+
setTimeout(function () {
|
|
393
|
+
callback();
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
else {
|
|
397
|
+
callback();
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
function getScrollBehavior(behavior, animated) {
|
|
401
|
+
if (typeof animated === 'boolean')
|
|
402
|
+
return animated ? 'smooth' : 'auto';
|
|
403
|
+
return behavior;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
var initialState = {
|
|
407
|
+
currentChannel: null,
|
|
408
|
+
channelUrl: '',
|
|
409
|
+
fetchChannelError: null,
|
|
410
|
+
nicknamesMap: new Map(),
|
|
411
|
+
quoteMessage: null,
|
|
412
|
+
animatedMessageId: null,
|
|
413
|
+
isScrollBottomReached: true,
|
|
414
|
+
scrollRef: { current: null },
|
|
415
|
+
scrollDistanceFromBottomRef: { current: 0 },
|
|
416
|
+
scrollPositionRef: { current: 0 },
|
|
417
|
+
messageInputRef: { current: null },
|
|
418
|
+
isReactionEnabled: false,
|
|
419
|
+
isMessageGroupingEnabled: true,
|
|
420
|
+
isMultipleFilesMessageEnabled: false,
|
|
421
|
+
showSearchIcon: true,
|
|
422
|
+
replyType: 'NONE',
|
|
423
|
+
threadReplySelectType: ThreadReplySelectType.PARENT,
|
|
424
|
+
disableMarkAsRead: false,
|
|
425
|
+
scrollBehavior: 'auto',
|
|
426
|
+
scrollPubSub: null,
|
|
427
|
+
};
|
|
428
|
+
var GroupChannelContext = createContext(null);
|
|
429
|
+
var InternalGroupChannelProvider = function (_a) {
|
|
430
|
+
var children = _a.children;
|
|
431
|
+
var storeRef = useRef(createStore(initialState));
|
|
432
|
+
return (React__default.createElement(GroupChannelContext.Provider, { value: storeRef.current }, children));
|
|
433
|
+
};
|
|
434
|
+
var GroupChannelManager = function (props) {
|
|
435
|
+
var _a, _b, _c;
|
|
436
|
+
var channelUrl = props.channelUrl, children = props.children, moduleReactionEnabled = props.isReactionEnabled, moduleReplyType = props.replyType, moduleThreadReplySelectType = props.threadReplySelectType, _d = props.isMessageGroupingEnabled, isMessageGroupingEnabled = _d === void 0 ? true : _d, isMultipleFilesMessageEnabled = props.isMultipleFilesMessageEnabled, showSearchIcon = props.showSearchIcon, _e = props.disableMarkAsRead, disableMarkAsRead = _e === void 0 ? false : _e, _f = props.scrollBehavior, scrollBehavior = _f === void 0 ? 'auto' : _f, startingPoint = props.startingPoint, _animatedMessageId = props.animatedMessageId, messageListQueryParams = props.messageListQueryParams, onBeforeSendUserMessage = props.onBeforeSendUserMessage, onBeforeSendFileMessage = props.onBeforeSendFileMessage, onBeforeSendVoiceMessage = props.onBeforeSendVoiceMessage, onBeforeSendMultipleFilesMessage = props.onBeforeSendMultipleFilesMessage, onBeforeUpdateUserMessage = props.onBeforeUpdateUserMessage, onBeforeDownloadFileMessage = props.onBeforeDownloadFileMessage, onMessageAnimated = props.onMessageAnimated, onBackClick = props.onBackClick, onChatHeaderActionClick = props.onChatHeaderActionClick, onReplyInThreadClick = props.onReplyInThreadClick, onSearchClick = props.onSearchClick, onQuoteMessageClick = props.onQuoteMessageClick, renderUserMentionItem = props.renderUserMentionItem, filterEmojiCategoryIds = props.filterEmojiCategoryIds;
|
|
437
|
+
var _g = useGroupChannel(), state = _g.state, actions = _g.actions;
|
|
438
|
+
var updateState = useGroupChannelStore().updateState;
|
|
439
|
+
var _h = useSendbird().state, config = _h.config, stores = _h.stores;
|
|
440
|
+
var sdkStore = stores.sdkStore;
|
|
441
|
+
var markAsReadScheduler = config.markAsReadScheduler, logger = config.logger, pubSub = config.pubSub;
|
|
442
|
+
// ScrollHandler initialization
|
|
443
|
+
var _j = useMessageListScroll(scrollBehavior, [(_a = state.currentChannel) === null || _a === void 0 ? void 0 : _a.url]), scrollRef = _j.scrollRef, scrollPubSub = _j.scrollPubSub, scrollDistanceFromBottomRef = _j.scrollDistanceFromBottomRef, scrollPositionRef = _j.scrollPositionRef;
|
|
444
|
+
var isScrollBottomReached = state.isScrollBottomReached;
|
|
445
|
+
// Configuration resolution
|
|
446
|
+
var resolvedReplyType = getCaseResolvedReplyType(moduleReplyType !== null && moduleReplyType !== void 0 ? moduleReplyType : config.groupChannel.replyType).upperCase;
|
|
447
|
+
var resolvedThreadReplySelectType = getCaseResolvedThreadReplySelectType(moduleThreadReplySelectType !== null && moduleThreadReplySelectType !== void 0 ? moduleThreadReplySelectType : config.groupChannel.threadReplySelectType).upperCase;
|
|
448
|
+
var replyType = getCaseResolvedReplyType(moduleReplyType !== null && moduleReplyType !== void 0 ? moduleReplyType : config.groupChannel.replyType).upperCase;
|
|
449
|
+
var resolvedIsReactionEnabled = getIsReactionEnabled({
|
|
450
|
+
channel: state.currentChannel,
|
|
451
|
+
config: config,
|
|
452
|
+
moduleLevel: moduleReactionEnabled,
|
|
453
|
+
});
|
|
454
|
+
var chatReplyType = useIIFE(function () {
|
|
455
|
+
if (replyType === 'NONE')
|
|
456
|
+
return ReplyType.NONE;
|
|
457
|
+
return ReplyType.ONLY_REPLY_TO_CHANNEL;
|
|
458
|
+
});
|
|
459
|
+
// Message Collection setup
|
|
460
|
+
var messageDataSource = useGroupChannelMessages(sdkStore.sdk, state.currentChannel, {
|
|
461
|
+
startingPoint: startingPoint,
|
|
462
|
+
replyType: chatReplyType,
|
|
463
|
+
collectionCreator: getCollectionCreator(state.currentChannel, messageListQueryParams),
|
|
464
|
+
shouldCountNewMessages: function () { return !isScrollBottomReached; },
|
|
465
|
+
markAsRead: function (channels) {
|
|
466
|
+
if (isScrollBottomReached && !disableMarkAsRead) {
|
|
467
|
+
channels.forEach(function (it) { return markAsReadScheduler.push(it); });
|
|
468
|
+
}
|
|
469
|
+
},
|
|
470
|
+
onMessagesReceived: function (messages) {
|
|
471
|
+
if (isScrollBottomReached
|
|
472
|
+
&& isContextMenuClosed()
|
|
473
|
+
// Note: this shouldn't happen ideally, but it happens on re-rendering GroupChannelManager
|
|
474
|
+
// even though the next messages and the current messages length are the same.
|
|
475
|
+
// So added this condition to check if they are the same to prevent unnecessary calling scrollToBottom action
|
|
476
|
+
&& messages.length !== state.messages.length) {
|
|
477
|
+
setTimeout(function () { return actions.scrollToBottom(true); }, 10);
|
|
478
|
+
}
|
|
479
|
+
},
|
|
480
|
+
onChannelDeleted: function () {
|
|
481
|
+
actions.setCurrentChannel(null);
|
|
482
|
+
onBackClick === null || onBackClick === void 0 ? void 0 : onBackClick();
|
|
483
|
+
},
|
|
484
|
+
onCurrentUserBanned: function () {
|
|
485
|
+
actions.setCurrentChannel(null);
|
|
486
|
+
onBackClick === null || onBackClick === void 0 ? void 0 : onBackClick();
|
|
487
|
+
},
|
|
488
|
+
onChannelUpdated: function (channel) {
|
|
489
|
+
actions.setCurrentChannel(channel);
|
|
490
|
+
},
|
|
491
|
+
logger: logger,
|
|
492
|
+
});
|
|
493
|
+
// Channel initialization
|
|
494
|
+
useAsyncEffect(function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
495
|
+
var channel, error_1;
|
|
496
|
+
var _a;
|
|
497
|
+
return __generator(this, function (_b) {
|
|
498
|
+
switch (_b.label) {
|
|
499
|
+
case 0:
|
|
500
|
+
if (!(sdkStore.initialized && channelUrl)) return [3 /*break*/, 4];
|
|
501
|
+
_b.label = 1;
|
|
502
|
+
case 1:
|
|
503
|
+
_b.trys.push([1, 3, , 4]);
|
|
504
|
+
return [4 /*yield*/, sdkStore.sdk.groupChannel.getChannel(channelUrl)];
|
|
505
|
+
case 2:
|
|
506
|
+
channel = _b.sent();
|
|
507
|
+
actions.setCurrentChannel(channel);
|
|
508
|
+
return [3 /*break*/, 4];
|
|
509
|
+
case 3:
|
|
510
|
+
error_1 = _b.sent();
|
|
511
|
+
actions.handleChannelError(error_1);
|
|
512
|
+
(_a = logger === null || logger === void 0 ? void 0 : logger.error) === null || _a === void 0 ? void 0 : _a.call(logger, 'GroupChannelProvider: error when fetching channel', error_1);
|
|
513
|
+
return [3 /*break*/, 4];
|
|
514
|
+
case 4: return [2 /*return*/];
|
|
515
|
+
}
|
|
516
|
+
});
|
|
517
|
+
}); }, [sdkStore.initialized, sdkStore.sdk, channelUrl]);
|
|
518
|
+
// Message sync effect
|
|
519
|
+
useAsyncLayoutEffect(function () { return __awaiter(void 0, void 0, void 0, function () {
|
|
520
|
+
var handleExternalMessage, subscriptions;
|
|
521
|
+
return __generator(this, function (_a) {
|
|
522
|
+
if (messageDataSource.initialized) {
|
|
523
|
+
actions.scrollToBottom();
|
|
524
|
+
}
|
|
525
|
+
handleExternalMessage = function (data) {
|
|
526
|
+
var _a;
|
|
527
|
+
if (data.channel.url === ((_a = state.currentChannel) === null || _a === void 0 ? void 0 : _a.url)) {
|
|
528
|
+
actions.scrollToBottom(true);
|
|
529
|
+
}
|
|
530
|
+
};
|
|
531
|
+
if ((pubSub === null || pubSub === void 0 ? void 0 : pubSub.subscribe) === undefined)
|
|
532
|
+
return [2 /*return*/];
|
|
533
|
+
subscriptions = [
|
|
534
|
+
config.pubSub.subscribe(pubSubTopics.SEND_USER_MESSAGE, handleExternalMessage),
|
|
535
|
+
config.pubSub.subscribe(pubSubTopics.SEND_FILE_MESSAGE, handleExternalMessage),
|
|
536
|
+
];
|
|
537
|
+
return [2 /*return*/, function () {
|
|
538
|
+
subscriptions.forEach(function (subscription) { return subscription.remove(); });
|
|
539
|
+
}];
|
|
540
|
+
});
|
|
541
|
+
}); }, [messageDataSource.initialized, (_b = state.currentChannel) === null || _b === void 0 ? void 0 : _b.url]);
|
|
542
|
+
// Starting point handling
|
|
543
|
+
useEffect(function () {
|
|
544
|
+
if (typeof startingPoint === 'number') {
|
|
545
|
+
actions.scrollToMessage(startingPoint, 0, false, false);
|
|
546
|
+
}
|
|
547
|
+
}, [startingPoint]);
|
|
548
|
+
// Animated message handling
|
|
549
|
+
useEffect(function () {
|
|
550
|
+
if (_animatedMessageId) {
|
|
551
|
+
actions.setAnimatedMessageId(_animatedMessageId);
|
|
552
|
+
}
|
|
553
|
+
}, [_animatedMessageId]);
|
|
554
|
+
// State update effect
|
|
555
|
+
var eventHandlers = useMemo(function () { return ({
|
|
556
|
+
onBeforeSendUserMessage: onBeforeSendUserMessage,
|
|
557
|
+
onBeforeSendFileMessage: onBeforeSendFileMessage,
|
|
558
|
+
onBeforeSendVoiceMessage: onBeforeSendVoiceMessage,
|
|
559
|
+
onBeforeSendMultipleFilesMessage: onBeforeSendMultipleFilesMessage,
|
|
560
|
+
onBeforeUpdateUserMessage: onBeforeUpdateUserMessage,
|
|
561
|
+
onBeforeDownloadFileMessage: onBeforeDownloadFileMessage,
|
|
562
|
+
onBackClick: onBackClick,
|
|
563
|
+
onChatHeaderActionClick: onChatHeaderActionClick,
|
|
564
|
+
onReplyInThreadClick: onReplyInThreadClick,
|
|
565
|
+
onSearchClick: onSearchClick,
|
|
566
|
+
onQuoteMessageClick: onQuoteMessageClick,
|
|
567
|
+
onMessageAnimated: onMessageAnimated,
|
|
568
|
+
}); }, [
|
|
569
|
+
onBeforeSendUserMessage,
|
|
570
|
+
onBeforeSendFileMessage,
|
|
571
|
+
onBeforeSendVoiceMessage,
|
|
572
|
+
onBeforeSendMultipleFilesMessage,
|
|
573
|
+
onBeforeUpdateUserMessage,
|
|
574
|
+
onBeforeDownloadFileMessage,
|
|
575
|
+
onBackClick,
|
|
576
|
+
onChatHeaderActionClick,
|
|
577
|
+
onReplyInThreadClick,
|
|
578
|
+
onSearchClick,
|
|
579
|
+
onQuoteMessageClick,
|
|
580
|
+
onMessageAnimated,
|
|
581
|
+
]);
|
|
582
|
+
var renderProps = useMemo(function () { return ({
|
|
583
|
+
renderUserMentionItem: renderUserMentionItem,
|
|
584
|
+
filterEmojiCategoryIds: filterEmojiCategoryIds,
|
|
585
|
+
}); }, [renderUserMentionItem, filterEmojiCategoryIds]);
|
|
586
|
+
var configurations = useMemo(function () { return ({
|
|
587
|
+
isReactionEnabled: resolvedIsReactionEnabled,
|
|
588
|
+
isMessageGroupingEnabled: isMessageGroupingEnabled,
|
|
589
|
+
isMultipleFilesMessageEnabled: isMultipleFilesMessageEnabled,
|
|
590
|
+
replyType: resolvedReplyType,
|
|
591
|
+
threadReplySelectType: resolvedThreadReplySelectType,
|
|
592
|
+
showSearchIcon: showSearchIcon !== null && showSearchIcon !== void 0 ? showSearchIcon : config.groupChannelSettings.enableMessageSearch,
|
|
593
|
+
disableMarkAsRead: disableMarkAsRead,
|
|
594
|
+
scrollBehavior: scrollBehavior,
|
|
595
|
+
}); }, [
|
|
596
|
+
resolvedIsReactionEnabled,
|
|
597
|
+
isMessageGroupingEnabled,
|
|
598
|
+
isMultipleFilesMessageEnabled,
|
|
599
|
+
resolvedReplyType,
|
|
600
|
+
resolvedThreadReplySelectType,
|
|
601
|
+
showSearchIcon,
|
|
602
|
+
disableMarkAsRead,
|
|
603
|
+
scrollBehavior,
|
|
604
|
+
config.groupChannelSettings.enableMessageSearch,
|
|
605
|
+
]);
|
|
606
|
+
var scrollState = useMemo(function () { return ({
|
|
607
|
+
scrollRef: scrollRef,
|
|
608
|
+
scrollPubSub: scrollPubSub,
|
|
609
|
+
scrollDistanceFromBottomRef: scrollDistanceFromBottomRef,
|
|
610
|
+
scrollPositionRef: scrollPositionRef,
|
|
611
|
+
isScrollBottomReached: isScrollBottomReached,
|
|
612
|
+
}); }, [
|
|
613
|
+
scrollRef,
|
|
614
|
+
scrollPubSub,
|
|
615
|
+
scrollDistanceFromBottomRef,
|
|
616
|
+
scrollPositionRef,
|
|
617
|
+
isScrollBottomReached,
|
|
618
|
+
]);
|
|
619
|
+
useDeepCompareEffect(function () {
|
|
620
|
+
updateState(__assign(__assign(__assign(__assign(__assign({
|
|
621
|
+
// Channel state
|
|
622
|
+
channelUrl: channelUrl, currentChannel: state.currentChannel }, configurations), scrollState), eventHandlers), renderProps), messageDataSource));
|
|
623
|
+
}, [
|
|
624
|
+
channelUrl,
|
|
625
|
+
(_c = state.currentChannel) === null || _c === void 0 ? void 0 : _c.serialize(),
|
|
626
|
+
configurations,
|
|
627
|
+
scrollState,
|
|
628
|
+
eventHandlers,
|
|
629
|
+
renderProps,
|
|
630
|
+
messageDataSource.initialized,
|
|
631
|
+
messageDataSource.loading,
|
|
632
|
+
messageDataSource.messages.map(function (it) { return it.serialize(); }),
|
|
633
|
+
]);
|
|
634
|
+
return children;
|
|
635
|
+
};
|
|
636
|
+
var GroupChannelProvider = function (props) {
|
|
637
|
+
return (React__default.createElement(InternalGroupChannelProvider, null,
|
|
638
|
+
React__default.createElement(GroupChannelManager, __assign({}, props),
|
|
639
|
+
React__default.createElement(UserProfileProvider, __assign({}, props), props.children))));
|
|
640
|
+
};
|
|
641
|
+
/**
|
|
642
|
+
* A specialized hook for GroupChannel state management
|
|
643
|
+
* @returns {ReturnType<typeof createStore<GroupChannelState>>}
|
|
644
|
+
*/
|
|
645
|
+
var useGroupChannelStore = function () {
|
|
646
|
+
return useStore(GroupChannelContext, function (state) { return state; }, initialState);
|
|
647
|
+
};
|
|
648
|
+
// Keep this function for backward compatibility.
|
|
649
|
+
var useGroupChannelContext = function () {
|
|
650
|
+
var _a = useGroupChannel(), state = _a.state, actions = _a.actions;
|
|
651
|
+
return __assign(__assign({}, state), actions);
|
|
652
|
+
};
|
|
653
|
+
function getCollectionCreator(groupChannel, messageListQueryParams) {
|
|
654
|
+
return function (defaultParams) {
|
|
655
|
+
var params = __assign(__assign(__assign({}, defaultParams), { prevResultLimit: 30, nextResultLimit: 30 }), messageListQueryParams);
|
|
656
|
+
return groupChannel.createMessageCollection(__assign(__assign({}, params), { filter: new MessageFilter(params) }));
|
|
657
|
+
};
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export { GroupChannelContext as G, InternalGroupChannelProvider as I, GroupChannelProvider as a, useGroupChannelContext as b, GroupChannelManager as c, useGroupChannel as u };
|
|
661
|
+
//# sourceMappingURL=bundle-D4BlmM5H.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bundle-D4BlmM5H.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|