@sendbird/uikit-react 3.5.0-mobile-rc-3 → 3.5.0-mobile-web-5
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 +67 -55
- package/App.js.map +1 -1
- package/Channel/components/ChannelHeader.js +19 -18
- package/Channel/components/ChannelHeader.js.map +1 -1
- package/Channel/components/ChannelUI.js +41 -40
- package/Channel/components/ChannelUI.js.map +1 -1
- package/Channel/components/FileViewer.js +15 -14
- package/Channel/components/FileViewer.js.map +1 -1
- package/Channel/components/FrozenNotification.js +4 -4
- package/Channel/components/Message.js +37 -35
- package/Channel/components/Message.js.map +1 -1
- package/Channel/components/MessageInput.js +29 -27
- package/Channel/components/MessageInput.js.map +1 -1
- package/Channel/components/MessageList.js +37 -36
- package/Channel/components/MessageList.js.map +1 -1
- package/Channel/components/RemoveMessageModal.js +17 -16
- package/Channel/components/RemoveMessageModal.js.map +1 -1
- package/Channel/components/SuggestedMentionList.js +17 -16
- package/Channel/components/SuggestedMentionList.js.map +1 -1
- package/Channel/components/TypingIndicator.js +15 -14
- package/Channel/components/TypingIndicator.js.map +1 -1
- package/Channel/components/UnreadCount.js +4 -4
- package/Channel/context.js +12 -11
- package/Channel/context.js.map +1 -1
- package/Channel.js +41 -40
- package/Channel.js.map +1 -1
- package/ChannelList/components/AddChannel.js +14 -14
- package/ChannelList/components/ChannelListHeader.js +6 -6
- package/ChannelList/components/ChannelListUI.js +30 -29
- package/ChannelList/components/ChannelListUI.js.map +1 -1
- package/ChannelList/components/ChannelPreview.js +26 -25
- package/ChannelList/components/ChannelPreview.js.map +1 -1
- package/ChannelList/components/ChannelPreviewAction.js +13 -13
- package/ChannelList/context.js +7 -7
- package/ChannelList.js +30 -29
- package/ChannelList.js.map +1 -1
- package/{ChannelListProvider-16d506e3.js → ChannelListProvider-8e3af350.js} +7 -7
- package/{ChannelListProvider-16d506e3.js.map → ChannelListProvider-8e3af350.js.map} +1 -1
- package/{ChannelProvider-f39a427f.js → ChannelProvider-cb73270f.js} +17 -20
- package/ChannelProvider-cb73270f.js.map +1 -0
- package/ChannelSettings/components/ChannelProfile.js +11 -11
- package/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/ChannelSettings/components/LeaveChannel.js +11 -11
- package/ChannelSettings/components/ModerationPanel.js +14 -14
- package/ChannelSettings/components/UserListItem.js +10 -10
- package/ChannelSettings/components/UserPanel.js +13 -13
- package/ChannelSettings/context.js +3 -3
- package/ChannelSettings.js +17 -17
- package/CreateChannel/components/CreateChannelUI.js +13 -13
- package/CreateChannel/components/InviteUsers.js +13 -13
- package/CreateChannel/components/SelectChannelType.js +10 -10
- package/CreateChannel/context.js +4 -4
- package/CreateChannel.js +13 -13
- package/{CreateChannelProvider-5ad9445d.js → CreateChannelProvider-3173e8cd.js} +1 -1
- package/{CreateChannelProvider-5ad9445d.js.map → CreateChannelProvider-3173e8cd.js.map} +1 -1
- package/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
- package/CreateOpenChannel/context.js +1 -1
- package/CreateOpenChannel.js +9 -9
- package/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/EditUserProfile.js +12 -12
- package/{LocalizationContext-674efe64.js → LocalizationContext-689d8aa4.js} +3 -3
- package/{LocalizationContext-674efe64.js.map → LocalizationContext-689d8aa4.js.map} +1 -1
- package/{MediaQueryContext-c2b754b4.js → MediaQueryContext-2604d3dc.js} +1 -1
- package/{MediaQueryContext-c2b754b4.js.map → MediaQueryContext-2604d3dc.js.map} +1 -1
- package/{MemberList-0a820146.js → MemberList-7b3e0ace.js} +5 -5
- package/{MemberList-0a820146.js.map → MemberList-7b3e0ace.js.map} +1 -1
- package/MessageSearch/components/MessageSearchUI.js +11 -11
- package/MessageSearch/context.js +1 -1
- package/MessageSearch.js +11 -11
- package/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/OpenChannel/components/OpenChannelInput.js +22 -20
- package/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessage.js +29 -28
- package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/OpenChannel/components/OpenChannelMessageList.js +31 -31
- package/OpenChannel/components/OpenChannelUI.js +31 -31
- package/OpenChannel/context.js +8 -8
- package/OpenChannel.js +33 -33
- package/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/OpenChannelList/components/OpenChannelPreview.js +3 -3
- package/OpenChannelList/context.js +3 -3
- package/OpenChannelList.js +13 -13
- package/{OpenChannelListProvider-f71260c9.js → OpenChannelListProvider-154424c5.js} +3 -3
- package/{OpenChannelListProvider-f71260c9.js.map → OpenChannelListProvider-154424c5.js.map} +1 -1
- package/{OpenChannelProvider-6f8c231a.js → OpenChannelProvider-fc50a84b.js} +7 -7
- package/{OpenChannelProvider-6f8c231a.js.map → OpenChannelProvider-fc50a84b.js.map} +1 -1
- package/OpenChannelSettings/components/EditDetailsModal.js +12 -12
- package/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
- package/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/OpenChannelSettings/context.js +3 -3
- package/OpenChannelSettings.js +17 -17
- package/{RemoveMessageModal-3fd74511.js → RemoveMessageModal-c345043b.js} +3 -3
- package/{RemoveMessageModal-3fd74511.js.map → RemoveMessageModal-c345043b.js.map} +1 -1
- package/SendbirdProvider.js +43 -44
- package/SendbirdProvider.js.map +1 -1
- package/Thread/components/ParentMessageInfo.js +35 -32
- package/Thread/components/ParentMessageInfo.js.map +1 -1
- package/Thread/components/ParentMessageInfoItem.js +21 -21
- package/Thread/components/ThreadHeader.js +6 -6
- package/Thread/components/ThreadList.js +36 -35
- package/Thread/components/ThreadList.js.map +1 -1
- package/Thread/components/ThreadListItem.js +37 -35
- package/Thread/components/ThreadListItem.js.map +1 -1
- package/Thread/components/ThreadMessageInput.js +30 -28
- package/Thread/components/ThreadMessageInput.js.map +1 -1
- package/Thread/components/ThreadUI.js +40 -39
- package/Thread/components/ThreadUI.js.map +1 -1
- package/Thread/context.js +8 -8
- package/Thread.js +40 -39
- package/Thread.js.map +1 -1
- package/{ThreadProvider-da0112d8.js → ThreadProvider-4ecee019.js} +10 -10
- package/ThreadProvider-4ecee019.js.map +1 -0
- package/{UserProfileContext-ca6e2310.js → UserProfileContext-4c07230f.js} +1 -1
- package/{UserProfileContext-ca6e2310.js.map → UserProfileContext-4c07230f.js.map} +1 -1
- package/{VoiceMessageInputWrapper-ceba20ae.js → VoiceMessageInputWrapper-5f95a888.js} +7 -7
- package/{VoiceMessageInputWrapper-ceba20ae.js.map → VoiceMessageInputWrapper-5f95a888.js.map} +1 -1
- package/VoicePlayer/context.js +3 -3
- package/VoicePlayer/useVoicePlayer.js +9 -9
- package/VoiceRecorder/context.js +9 -9
- package/VoiceRecorder/useVoiceRecorder.js +8 -8
- package/{WebAudioUtils-086599ab.js → WebAudioUtils-30020f07.js} +1 -1
- package/{WebAudioUtils-086599ab.js.map → WebAudioUtils-30020f07.js.map} +1 -1
- package/{_rollupPluginBabelHelpers-fba60f75.js → _rollupPluginBabelHelpers-b764bedf.js} +1 -1
- package/_rollupPluginBabelHelpers-b764bedf.js.map +1 -0
- package/{actionTypes-5e5dfc97.js → actionTypes-e6bdb61c.js} +1 -1
- package/{actionTypes-5e5dfc97.js.map → actionTypes-e6bdb61c.js.map} +1 -1
- package/cjs/App.js +67 -55
- package/cjs/App.js.map +1 -1
- package/cjs/Channel/components/ChannelHeader.js +19 -18
- package/cjs/Channel/components/ChannelHeader.js.map +1 -1
- package/cjs/Channel/components/ChannelUI.js +41 -40
- package/cjs/Channel/components/ChannelUI.js.map +1 -1
- package/cjs/Channel/components/FileViewer.js +15 -14
- package/cjs/Channel/components/FileViewer.js.map +1 -1
- package/cjs/Channel/components/FrozenNotification.js +4 -4
- package/cjs/Channel/components/Message.js +37 -35
- package/cjs/Channel/components/Message.js.map +1 -1
- package/cjs/Channel/components/MessageInput.js +29 -27
- package/cjs/Channel/components/MessageInput.js.map +1 -1
- package/cjs/Channel/components/MessageList.js +37 -36
- package/cjs/Channel/components/MessageList.js.map +1 -1
- package/cjs/Channel/components/RemoveMessageModal.js +17 -16
- package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
- package/cjs/Channel/components/SuggestedMentionList.js +17 -16
- package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
- package/cjs/Channel/components/TypingIndicator.js +15 -14
- package/cjs/Channel/components/TypingIndicator.js.map +1 -1
- package/cjs/Channel/components/UnreadCount.js +4 -4
- package/cjs/Channel/context.js +12 -12
- package/cjs/Channel.js +41 -40
- package/cjs/Channel.js.map +1 -1
- package/cjs/ChannelList/components/AddChannel.js +14 -14
- package/cjs/ChannelList/components/ChannelListHeader.js +6 -6
- package/cjs/ChannelList/components/ChannelListUI.js +30 -29
- package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreview.js +26 -25
- package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
- package/cjs/ChannelList/components/ChannelPreviewAction.js +13 -13
- package/cjs/ChannelList/context.js +7 -7
- package/cjs/ChannelList.js +30 -29
- package/cjs/ChannelList.js.map +1 -1
- package/cjs/{ChannelListProvider-21ef123f.js → ChannelListProvider-ce4ea47a.js} +7 -7
- package/cjs/{ChannelListProvider-21ef123f.js.map → ChannelListProvider-ce4ea47a.js.map} +1 -1
- package/cjs/{ChannelProvider-1599fb99.js → ChannelProvider-0dba8547.js} +16 -20
- package/cjs/ChannelProvider-0dba8547.js.map +1 -0
- package/cjs/ChannelSettings/components/ChannelProfile.js +11 -11
- package/cjs/ChannelSettings/components/ChannelSettingsUI.js +17 -17
- package/cjs/ChannelSettings/components/EditDetailsModal.js +11 -11
- package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
- package/cjs/ChannelSettings/components/ModerationPanel.js +14 -14
- package/cjs/ChannelSettings/components/UserListItem.js +10 -10
- package/cjs/ChannelSettings/components/UserPanel.js +13 -13
- package/cjs/ChannelSettings/context.js +3 -3
- package/cjs/ChannelSettings.js +17 -17
- package/cjs/CreateChannel/components/CreateChannelUI.js +13 -13
- package/cjs/CreateChannel/components/InviteUsers.js +13 -13
- package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
- package/cjs/CreateChannel/context.js +4 -4
- package/cjs/CreateChannel.js +13 -13
- package/cjs/{CreateChannelProvider-5d628a3f.js → CreateChannelProvider-b4859589.js} +1 -1
- package/cjs/{CreateChannelProvider-5d628a3f.js.map → CreateChannelProvider-b4859589.js.map} +1 -1
- package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
- package/cjs/CreateOpenChannel/context.js +1 -1
- package/cjs/CreateOpenChannel.js +9 -9
- package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
- package/cjs/EditUserProfile.js +12 -12
- package/cjs/{LocalizationContext-a584fa55.js → LocalizationContext-b57dbbb3.js} +3 -3
- package/cjs/{LocalizationContext-a584fa55.js.map → LocalizationContext-b57dbbb3.js.map} +1 -1
- package/cjs/{MediaQueryContext-baafb1bb.js → MediaQueryContext-6cbb7b30.js} +1 -1
- package/cjs/{MediaQueryContext-baafb1bb.js.map → MediaQueryContext-6cbb7b30.js.map} +1 -1
- package/cjs/{MemberList-2e6f8eb2.js → MemberList-6d3240f1.js} +5 -5
- package/cjs/{MemberList-2e6f8eb2.js.map → MemberList-6d3240f1.js.map} +1 -1
- package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
- package/cjs/MessageSearch/context.js +1 -1
- package/cjs/MessageSearch.js +11 -11
- package/cjs/OpenChannel/components/FrozenChannelNotification.js +4 -4
- package/cjs/OpenChannel/components/OpenChannelHeader.js +12 -12
- package/cjs/OpenChannel/components/OpenChannelInput.js +22 -20
- package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessage.js +29 -28
- package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
- package/cjs/OpenChannel/components/OpenChannelMessageList.js +31 -31
- package/cjs/OpenChannel/components/OpenChannelUI.js +31 -31
- package/cjs/OpenChannel/context.js +8 -8
- package/cjs/OpenChannel.js +33 -33
- package/cjs/OpenChannelList/components/OpenChannelListUI.js +13 -13
- package/cjs/OpenChannelList/components/OpenChannelPreview.js +3 -3
- package/cjs/OpenChannelList/context.js +3 -3
- package/cjs/OpenChannelList.js +13 -13
- package/cjs/{OpenChannelListProvider-4c7e2916.js → OpenChannelListProvider-3a4075da.js} +3 -3
- package/cjs/{OpenChannelListProvider-4c7e2916.js.map → OpenChannelListProvider-3a4075da.js.map} +1 -1
- package/cjs/{OpenChannelProvider-e515e831.js → OpenChannelProvider-e5968018.js} +7 -7
- package/cjs/{OpenChannelProvider-e515e831.js.map → OpenChannelProvider-e5968018.js.map} +1 -1
- package/cjs/OpenChannelSettings/components/EditDetailsModal.js +12 -12
- package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
- package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
- package/cjs/OpenChannelSettings/components/OperatorUI.js +16 -16
- package/cjs/OpenChannelSettings/components/ParticipantUI.js +14 -14
- package/cjs/OpenChannelSettings/context.js +3 -3
- package/cjs/OpenChannelSettings.js +17 -17
- package/cjs/{RemoveMessageModal-46ba7070.js → RemoveMessageModal-f195bcd6.js} +3 -3
- package/cjs/{RemoveMessageModal-46ba7070.js.map → RemoveMessageModal-f195bcd6.js.map} +1 -1
- package/cjs/SendbirdProvider.js +42 -43
- package/cjs/SendbirdProvider.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfo.js +35 -32
- package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
- package/cjs/Thread/components/ParentMessageInfoItem.js +21 -21
- package/cjs/Thread/components/ThreadHeader.js +6 -6
- package/cjs/Thread/components/ThreadList.js +36 -35
- package/cjs/Thread/components/ThreadList.js.map +1 -1
- package/cjs/Thread/components/ThreadListItem.js +37 -35
- package/cjs/Thread/components/ThreadListItem.js.map +1 -1
- package/cjs/Thread/components/ThreadMessageInput.js +30 -28
- package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
- package/cjs/Thread/components/ThreadUI.js +40 -39
- package/cjs/Thread/components/ThreadUI.js.map +1 -1
- package/cjs/Thread/context.js +8 -8
- package/cjs/Thread.js +40 -39
- package/cjs/Thread.js.map +1 -1
- package/cjs/{ThreadProvider-c79aceb3.js → ThreadProvider-0508aa6b.js} +10 -10
- package/cjs/ThreadProvider-0508aa6b.js.map +1 -0
- package/cjs/{UserProfileContext-0308bb46.js → UserProfileContext-47da79ce.js} +1 -1
- package/cjs/{UserProfileContext-0308bb46.js.map → UserProfileContext-47da79ce.js.map} +1 -1
- package/cjs/{VoiceMessageInputWrapper-4d17462c.js → VoiceMessageInputWrapper-19bb43d1.js} +7 -7
- package/cjs/{VoiceMessageInputWrapper-4d17462c.js.map → VoiceMessageInputWrapper-19bb43d1.js.map} +1 -1
- package/cjs/VoicePlayer/context.js +3 -3
- package/cjs/VoicePlayer/useVoicePlayer.js +9 -9
- package/cjs/VoiceRecorder/context.js +9 -9
- package/cjs/VoiceRecorder/useVoiceRecorder.js +8 -8
- package/cjs/{WebAudioUtils-0b2ff03e.js → WebAudioUtils-607e6d36.js} +1 -1
- package/cjs/{WebAudioUtils-0b2ff03e.js.map → WebAudioUtils-607e6d36.js.map} +1 -1
- package/cjs/{_rollupPluginBabelHelpers-17f53083.js → _rollupPluginBabelHelpers-eb6b8b27.js} +1 -1
- package/cjs/_rollupPluginBabelHelpers-eb6b8b27.js.map +1 -0
- package/cjs/{actionTypes-9b5d9ddf.js → actionTypes-5b18beb9.js} +1 -1
- package/cjs/{actionTypes-9b5d9ddf.js.map → actionTypes-5b18beb9.js.map} +1 -1
- package/cjs/{color-f5216e6a.js → color-1d73789a.js} +1 -1
- package/cjs/{color-f5216e6a.js.map → color-1d73789a.js.map} +1 -1
- package/cjs/{compareIds-c9b9dfbc.js → compareIds-1e3d2ab4.js} +1 -1
- package/cjs/{compareIds-c9b9dfbc.js.map → compareIds-1e3d2ab4.js.map} +1 -1
- package/cjs/{const-a9f20831.js → const-23450239.js} +1 -1
- package/cjs/{const-a9f20831.js.map → const-23450239.js.map} +1 -1
- package/cjs/{const-75f8d9ae.js → const-a2bea8cb.js} +1 -1
- package/cjs/{const-75f8d9ae.js.map → const-a2bea8cb.js.map} +1 -1
- package/cjs/{consts-78675c0f.js → consts-10ef7616.js} +1 -1
- package/cjs/{consts-78675c0f.js.map → consts-10ef7616.js.map} +1 -1
- package/cjs/{consts-6a102338.js → consts-384c3f07.js} +1 -1
- package/cjs/{consts-6a102338.js.map → consts-384c3f07.js.map} +1 -1
- package/cjs/{consts-b90134e3.js → consts-b7b7a6e1.js} +1 -1
- package/cjs/{consts-b90134e3.js.map → consts-b7b7a6e1.js.map} +1 -1
- package/cjs/{consts-8f76585f.js → consts-da8cf320.js} +1 -1
- package/cjs/{consts-8f76585f.js.map → consts-da8cf320.js.map} +1 -1
- package/cjs/{context-a04985ac.js → context-7a760f10.js} +2 -2
- package/cjs/{context-a04985ac.js.map → context-7a760f10.js.map} +1 -1
- package/cjs/dist/index.css +77 -62
- package/cjs/dist/index.css.map +1 -1
- package/cjs/{index-70ee1e87.js → index-0bfdb242.js} +2 -7
- package/cjs/index-0bfdb242.js.map +1 -0
- package/cjs/{index-ab691428.js → index-2abc972f.js} +3 -3
- package/cjs/{index-ab691428.js.map → index-2abc972f.js.map} +1 -1
- package/cjs/{index-5012370d.js → index-3302aa9f.js} +4 -4
- package/cjs/{index-5012370d.js.map → index-3302aa9f.js.map} +1 -1
- package/cjs/{index-91cd09c7.js → index-37e8cb7f.js} +1 -1
- package/cjs/{index-91cd09c7.js.map → index-37e8cb7f.js.map} +1 -1
- package/cjs/{index-c3b543df.js → index-3bf38657.js} +6 -6
- package/cjs/{index-c3b543df.js.map → index-3bf38657.js.map} +1 -1
- package/cjs/{index-d947b675.js → index-4836de1e.js} +5 -5
- package/cjs/{index-d947b675.js.map → index-4836de1e.js.map} +1 -1
- package/cjs/{index-3f50b745.js → index-48e4dc27.js} +2 -2
- package/cjs/{index-3f50b745.js.map → index-48e4dc27.js.map} +1 -1
- package/cjs/{index-98dc0da4.js → index-560e60c2.js} +34 -19
- package/cjs/index-560e60c2.js.map +1 -0
- package/cjs/{index-36b49ef5.js → index-572ef10a.js} +1 -1
- package/cjs/{index-36b49ef5.js.map → index-572ef10a.js.map} +1 -1
- package/cjs/{index-0546aff2.js → index-604a4266.js} +2 -2
- package/cjs/{index-0546aff2.js.map → index-604a4266.js.map} +1 -1
- package/cjs/{index-3606d178.js → index-735ab91e.js} +2 -2
- package/cjs/{index-3606d178.js.map → index-735ab91e.js.map} +1 -1
- package/cjs/{index-93ba8e85.js → index-95cb25f2.js} +4 -4
- package/cjs/{index-93ba8e85.js.map → index-95cb25f2.js.map} +1 -1
- package/cjs/{index-be531e8c.js → index-bd8d9af4.js} +3 -3
- package/cjs/{index-be531e8c.js.map → index-bd8d9af4.js.map} +1 -1
- package/cjs/{index-77a6e8f7.js → index-ccb95f1e.js} +6 -6
- package/cjs/{index-77a6e8f7.js.map → index-ccb95f1e.js.map} +1 -1
- package/cjs/{index-a039da1f.js → index-d2315c53.js} +3 -3
- package/cjs/{index-a039da1f.js.map → index-d2315c53.js.map} +1 -1
- package/cjs/{index-63a06f37.js → index-e811013a.js} +2 -2
- package/cjs/{index-63a06f37.js.map → index-e811013a.js.map} +1 -1
- package/cjs/{index-de824ad7.js → index-eda19173.js} +2 -2
- package/cjs/{index-de824ad7.js.map → index-eda19173.js.map} +1 -1
- package/cjs/index.js +52 -51
- package/cjs/index.js.map +1 -1
- package/cjs/{index.module-6fa7f09a.js → index.module-ea6bd1f1.js} +1 -1
- package/cjs/{index.module-6fa7f09a.js.map → index.module-ea6bd1f1.js.map} +1 -1
- package/cjs/resolvedReplyType-8a349b8c.js +32 -0
- package/cjs/resolvedReplyType-8a349b8c.js.map +1 -0
- package/cjs/sendbirdSelectors.js +3 -3
- package/cjs/{stringSet-d6f2a33a.js → stringSet-2450c9e9.js} +1 -1
- package/cjs/{stringSet-d6f2a33a.js.map → stringSet-2450c9e9.js.map} +1 -1
- package/cjs/{tokenize-0df4eb21.js → tokenize-f217adbe.js} +2 -2
- package/cjs/{tokenize-0df4eb21.js.map → tokenize-f217adbe.js.map} +1 -1
- package/cjs/{topics-c7ef77ef.js → topics-03a59659.js} +1 -1
- package/cjs/{topics-c7ef77ef.js.map → topics-03a59659.js.map} +1 -1
- package/cjs/{types-edd094e8.js → types-86058820.js} +1 -1
- package/cjs/types-86058820.js.map +1 -0
- package/cjs/ui/Accordion.js +2 -2
- package/cjs/ui/AccordionGroup.js +2 -2
- package/cjs/ui/AdminMessage.js +2 -2
- package/cjs/ui/Avatar.js +1 -1
- package/cjs/ui/Badge.js +4 -4
- package/cjs/ui/BottomSheet.js +1 -1
- package/cjs/ui/Button.js +2 -2
- package/cjs/ui/ChannelAvatar.js +2 -2
- package/cjs/ui/ConnectionStatus.js +4 -4
- package/cjs/ui/ContextMenu.js +5 -5
- package/cjs/ui/DateSeparator.js +3 -3
- package/cjs/ui/EmojiReactions.js +13 -13
- package/cjs/ui/FileMessageItemBody.js +6 -6
- package/cjs/ui/FileViewer.js +8 -8
- package/cjs/ui/IconButton.js +1 -1
- package/cjs/ui/Input.js +2 -2
- package/cjs/ui/Label.js +2 -2
- package/cjs/ui/LinkLabel.js +2 -2
- package/cjs/ui/MentionLabel.js +10 -10
- package/cjs/ui/MentionUserLabel.js +1 -1
- package/cjs/ui/MessageContent.js +28 -28
- package/cjs/ui/MessageInput.js +70 -17
- package/cjs/ui/MessageInput.js.map +1 -1
- package/cjs/ui/MessageItemMenu.js +8 -8
- package/cjs/ui/MessageItemReactionMenu.js +8 -8
- package/cjs/ui/MessageSearchFileItem.js +10 -10
- package/cjs/ui/MessageSearchItem.js +8 -8
- package/cjs/ui/MessageStatus.js +10 -10
- package/cjs/ui/Modal.js +7 -7
- package/cjs/ui/OGMessageItemBody.js +14 -14
- package/cjs/ui/OpenChannelAdminMessage.js +2 -2
- package/cjs/ui/OpenChannelAvatar.js +5 -5
- package/cjs/ui/OpenchannelConversationHeader.js +6 -6
- package/cjs/ui/OpenchannelFileMessage.js +15 -15
- package/cjs/ui/OpenchannelOGMessage.js +18 -18
- package/cjs/ui/OpenchannelThumbnailMessage.js +14 -14
- package/cjs/ui/OpenchannelUserMessage.js +15 -15
- package/cjs/ui/PlaceHolder.js +5 -5
- package/cjs/ui/PlaybackTime.js +2 -2
- package/cjs/ui/QuoteMessage.js +6 -6
- package/cjs/ui/QuoteMessageInput.js +6 -6
- package/cjs/ui/ReactionBadge.js +2 -2
- package/cjs/ui/ReactionButton.js +4 -4
- package/cjs/ui/SortByRow.js +1 -1
- package/cjs/ui/TextButton.js +1 -1
- package/cjs/ui/TextMessageItemBody.js +14 -14
- package/cjs/ui/ThreadReplies.js +5 -5
- package/cjs/ui/ThumbnailMessageItemBody.js +5 -5
- package/cjs/ui/Toggle.js +1 -1
- package/cjs/ui/Tooltip.js +2 -2
- package/cjs/ui/UnknownMessageItemBody.js +6 -6
- package/cjs/ui/UserListItem.js +10 -10
- package/cjs/ui/UserProfile.js +9 -9
- package/cjs/ui/VoiceMessageItemBody.js +9 -9
- package/cjs/ui/VoiceMessgeInput.js +7 -7
- package/cjs/ui/Word.js +10 -10
- package/cjs/{useDirtyGetMentions-527f80ca.js → useDirtyGetMentions-73c92dd1.js} +1 -1
- package/cjs/{useDirtyGetMentions-527f80ca.js.map → useDirtyGetMentions-73c92dd1.js.map} +1 -1
- package/cjs/{useLongPress-a31543ee.js → useLongPress-b013fc04.js} +3 -3
- package/cjs/{useLongPress-a31543ee.js.map → useLongPress-b013fc04.js.map} +1 -1
- package/cjs/useSendbirdStateContext.js +1 -1
- package/cjs/utils/message/isVoiceMessage.js +2 -2
- package/cjs/{utils-98335f41.js → utils-44170a0b.js} +2 -2
- package/cjs/{utils-98335f41.js.map → utils-44170a0b.js.map} +1 -1
- package/cjs/{utils-fbb85607.js → utils-6828954f.js} +1 -1
- package/cjs/{utils-fbb85607.js.map → utils-6828954f.js.map} +1 -1
- package/cjs/{utils-ad2cc973.js → utils-d2968db1.js} +1 -1
- package/cjs/{utils-ad2cc973.js.map → utils-d2968db1.js.map} +1 -1
- package/cjs/{utils-721f4b6c.js → utils-feec79a2.js} +1 -1
- package/cjs/{utils-721f4b6c.js.map → utils-feec79a2.js.map} +1 -1
- package/cjs/{uuid-10926ed0.js → uuid-ec351d96.js} +1 -1
- package/cjs/{uuid-10926ed0.js.map → uuid-ec351d96.js.map} +1 -1
- package/cjs/withSendbird.js +1 -1
- package/{color-f9212f23.js → color-65ea9130.js} +1 -1
- package/{color-f9212f23.js.map → color-65ea9130.js.map} +1 -1
- package/{compareIds-1bcdf748.js → compareIds-e8adfea2.js} +1 -1
- package/{compareIds-1bcdf748.js.map → compareIds-e8adfea2.js.map} +1 -1
- package/{const-877bea22.js → const-2fda8942.js} +1 -1
- package/{const-877bea22.js.map → const-2fda8942.js.map} +1 -1
- package/{const-735145c8.js → const-89c31819.js} +1 -1
- package/{const-735145c8.js.map → const-89c31819.js.map} +1 -1
- package/{consts-d45ca387.js → consts-60bc9064.js} +1 -1
- package/{consts-d45ca387.js.map → consts-60bc9064.js.map} +1 -1
- package/{consts-67559ec4.js → consts-746d9d54.js} +1 -1
- package/{consts-67559ec4.js.map → consts-746d9d54.js.map} +1 -1
- package/{consts-383d4a75.js → consts-a7afe685.js} +1 -1
- package/{consts-383d4a75.js.map → consts-a7afe685.js.map} +1 -1
- package/{consts-d545cae2.js → consts-f3cb0986.js} +1 -1
- package/{consts-d545cae2.js.map → consts-f3cb0986.js.map} +1 -1
- package/{context-8bd9e132.js → context-f542aa7f.js} +2 -2
- package/{context-8bd9e132.js.map → context-f542aa7f.js.map} +1 -1
- package/dist/index.css +77 -62
- package/dist/index.css.map +1 -1
- package/{index-96b80cca.js → index-1a9ad5e8.js} +3 -3
- package/{index-96b80cca.js.map → index-1a9ad5e8.js.map} +1 -1
- package/{index-cfa2cf64.js → index-1bb6ac7b.js} +5 -5
- package/{index-cfa2cf64.js.map → index-1bb6ac7b.js.map} +1 -1
- package/{index-10f046cd.js → index-284c6669.js} +34 -19
- package/index-284c6669.js.map +1 -0
- package/{index-200e4585.js → index-4415e3d4.js} +3 -7
- package/index-4415e3d4.js.map +1 -0
- package/{index-6716e8aa.js → index-68e4f991.js} +4 -4
- package/{index-6716e8aa.js.map → index-68e4f991.js.map} +1 -1
- package/{index-d4617078.js → index-6d5e4fbe.js} +2 -2
- package/{index-d4617078.js.map → index-6d5e4fbe.js.map} +1 -1
- package/{index-c165d519.js → index-8ca9e057.js} +1 -1
- package/{index-c165d519.js.map → index-8ca9e057.js.map} +1 -1
- package/{index-efad9427.js → index-915d9f7d.js} +3 -3
- package/{index-efad9427.js.map → index-915d9f7d.js.map} +1 -1
- package/{index-fc6960aa.js → index-920644b3.js} +2 -2
- package/{index-fc6960aa.js.map → index-920644b3.js.map} +1 -1
- package/{index-092e70e5.js → index-ada3d917.js} +2 -2
- package/{index-092e70e5.js.map → index-ada3d917.js.map} +1 -1
- package/{index-b179de93.js → index-c2c5dd5d.js} +2 -2
- package/{index-b179de93.js.map → index-c2c5dd5d.js.map} +1 -1
- package/{index-9118a2a4.js → index-d83e2bc2.js} +1 -1
- package/{index-9118a2a4.js.map → index-d83e2bc2.js.map} +1 -1
- package/{index-d029f899.js → index-dc264d1a.js} +6 -6
- package/{index-d029f899.js.map → index-dc264d1a.js.map} +1 -1
- package/{index-ff4bc2bb.js → index-e7546341.js} +2 -2
- package/{index-ff4bc2bb.js.map → index-e7546341.js.map} +1 -1
- package/{index-f0e93243.js → index-ea60d5ce.js} +6 -6
- package/{index-f0e93243.js.map → index-ea60d5ce.js.map} +1 -1
- package/{index-f86cd2f7.js → index-ef404210.js} +4 -4
- package/{index-f86cd2f7.js.map → index-ef404210.js.map} +1 -1
- package/{index-3cffa0b8.js → index-fba0a213.js} +3 -3
- package/{index-3cffa0b8.js.map → index-fba0a213.js.map} +1 -1
- package/index.d.ts +4 -2
- package/index.js +52 -51
- package/index.js.map +1 -1
- package/{index.module-a01d7416.js → index.module-8c38026f.js} +1 -1
- package/{index.module-a01d7416.js.map → index.module-8c38026f.js.map} +1 -1
- package/package.json +2 -2
- package/resolvedReplyType-3b091b4c.js +29 -0
- package/resolvedReplyType-3b091b4c.js.map +1 -0
- package/sendbirdSelectors.js +3 -3
- package/{stringSet-b7fd994d.js → stringSet-21b6dbb8.js} +1 -1
- package/{stringSet-b7fd994d.js.map → stringSet-21b6dbb8.js.map} +1 -1
- package/{tokenize-537ba1e5.js → tokenize-52f8c30c.js} +2 -2
- package/{tokenize-537ba1e5.js.map → tokenize-52f8c30c.js.map} +1 -1
- package/{topics-abeef9b5.js → topics-89a856f6.js} +1 -1
- package/{topics-abeef9b5.js.map → topics-89a856f6.js.map} +1 -1
- package/{types-256ac544.js → types-e62d482c.js} +1 -1
- package/types-e62d482c.js.map +1 -0
- package/ui/Accordion.js +2 -2
- package/ui/AccordionGroup.js +2 -2
- package/ui/AdminMessage.js +2 -2
- package/ui/Avatar.js +1 -1
- package/ui/Badge.js +4 -4
- package/ui/BottomSheet.js +1 -1
- package/ui/Button.js +2 -2
- package/ui/ChannelAvatar.js +2 -2
- package/ui/ConnectionStatus.js +4 -4
- package/ui/ContextMenu.js +5 -5
- package/ui/DateSeparator.js +3 -3
- package/ui/EmojiReactions.js +13 -13
- package/ui/FileMessageItemBody.js +6 -6
- package/ui/FileViewer.js +8 -8
- package/ui/IconButton.js +1 -1
- package/ui/Input.js +2 -2
- package/ui/Label.js +2 -2
- package/ui/LinkLabel.js +2 -2
- package/ui/MentionLabel.js +10 -10
- package/ui/MentionUserLabel.js +1 -1
- package/ui/MessageContent.js +28 -28
- package/ui/MessageInput.js +71 -18
- package/ui/MessageInput.js.map +1 -1
- package/ui/MessageItemMenu.js +8 -8
- package/ui/MessageItemReactionMenu.js +8 -8
- package/ui/MessageSearchFileItem.js +10 -10
- package/ui/MessageSearchItem.js +8 -8
- package/ui/MessageStatus.js +10 -10
- package/ui/Modal.js +7 -7
- package/ui/OGMessageItemBody.js +14 -14
- package/ui/OpenChannelAdminMessage.js +2 -2
- package/ui/OpenChannelAvatar.js +5 -5
- package/ui/OpenchannelConversationHeader.js +6 -6
- package/ui/OpenchannelFileMessage.js +15 -15
- package/ui/OpenchannelOGMessage.js +18 -18
- package/ui/OpenchannelThumbnailMessage.js +14 -14
- package/ui/OpenchannelUserMessage.js +15 -15
- package/ui/PlaceHolder.js +5 -5
- package/ui/PlaybackTime.js +2 -2
- package/ui/QuoteMessage.js +6 -6
- package/ui/QuoteMessageInput.js +6 -6
- package/ui/ReactionBadge.js +2 -2
- package/ui/ReactionButton.js +4 -4
- package/ui/SortByRow.js +1 -1
- package/ui/TextButton.js +1 -1
- package/ui/TextMessageItemBody.js +14 -14
- package/ui/ThreadReplies.js +5 -5
- package/ui/ThumbnailMessageItemBody.js +5 -5
- package/ui/Toggle.js +1 -1
- package/ui/Tooltip.js +2 -2
- package/ui/UnknownMessageItemBody.js +6 -6
- package/ui/UserListItem.js +10 -10
- package/ui/UserProfile.js +9 -9
- package/ui/VoiceMessageItemBody.js +9 -9
- package/ui/VoiceMessgeInput.js +7 -7
- package/ui/Word.js +10 -10
- package/{useDirtyGetMentions-af15b9c7.js → useDirtyGetMentions-20e1c85d.js} +1 -1
- package/{useDirtyGetMentions-af15b9c7.js.map → useDirtyGetMentions-20e1c85d.js.map} +1 -1
- package/{useLongPress-d6ae865b.js → useLongPress-0c20bd2f.js} +3 -3
- package/{useLongPress-d6ae865b.js.map → useLongPress-0c20bd2f.js.map} +1 -1
- package/useSendbirdStateContext.js +1 -1
- package/utils/message/isVoiceMessage.js +2 -2
- package/{utils-b1338a23.js → utils-95512c29.js} +1 -1
- package/{utils-b1338a23.js.map → utils-95512c29.js.map} +1 -1
- package/{utils-9d1564a9.js → utils-9ca6a7a1.js} +2 -2
- package/{utils-9d1564a9.js.map → utils-9ca6a7a1.js.map} +1 -1
- package/{utils-b9abb204.js → utils-bee6567e.js} +1 -1
- package/{utils-b9abb204.js.map → utils-bee6567e.js.map} +1 -1
- package/{utils-28649e5d.js → utils-cefd05d8.js} +1 -1
- package/{utils-28649e5d.js.map → utils-cefd05d8.js.map} +1 -1
- package/{uuid-d20d317b.js → uuid-1141c1b4.js} +1 -1
- package/{uuid-d20d317b.js.map → uuid-1141c1b4.js.map} +1 -1
- package/withSendbird.js +1 -1
- package/ChannelProvider-f39a427f.js.map +0 -1
- package/ThreadProvider-da0112d8.js.map +0 -1
- package/_rollupPluginBabelHelpers-fba60f75.js.map +0 -1
- package/cjs/ChannelProvider-1599fb99.js.map +0 -1
- package/cjs/ThreadProvider-c79aceb3.js.map +0 -1
- package/cjs/_rollupPluginBabelHelpers-17f53083.js.map +0 -1
- package/cjs/index-70ee1e87.js.map +0 -1
- package/cjs/index-98dc0da4.js.map +0 -1
- package/cjs/types-edd094e8.js.map +0 -1
- package/index-10f046cd.js.map +0 -1
- package/index-200e4585.js.map +0 -1
- package/types-256ac544.js.map +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import React__default, { useRef, useState, useContext } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
-
import { P as PUBSUB_TOPICS } from '../../topics-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-689d8aa4.js';
|
|
3
|
+
import { P as PUBSUB_TOPICS } from '../../topics-89a856f6.js';
|
|
4
4
|
import Modal from '../../ui/Modal.js';
|
|
5
5
|
import Input, { InputLabel } from '../../ui/Input.js';
|
|
6
6
|
import Avatar from '../../ui/Avatar.js';
|
|
7
7
|
import { ButtonTypes } from '../../ui/Button.js';
|
|
8
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
8
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-ada3d917.js';
|
|
9
9
|
import TextButton from '../../ui/TextButton.js';
|
|
10
10
|
import ChannelAvatar from '../../ui/OpenChannelAvatar.js';
|
|
11
11
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
12
12
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
13
|
-
import '../../stringSet-
|
|
14
|
-
import '../../index-
|
|
13
|
+
import '../../stringSet-21b6dbb8.js';
|
|
14
|
+
import '../../index-d83e2bc2.js';
|
|
15
15
|
import 'react-dom';
|
|
16
|
-
import '../../index-
|
|
16
|
+
import '../../index-8ca9e057.js';
|
|
17
17
|
import '../../ui/Icon.js';
|
|
18
18
|
import 'prop-types';
|
|
19
19
|
import '../../ui/IconButton.js';
|
|
20
|
-
import '../../_rollupPluginBabelHelpers-
|
|
21
|
-
import '../../MediaQueryContext-
|
|
20
|
+
import '../../_rollupPluginBabelHelpers-b764bedf.js';
|
|
21
|
+
import '../../MediaQueryContext-2604d3dc.js';
|
|
22
22
|
import '../../ui/ImageRenderer.js';
|
|
23
|
-
import '../../uuid-
|
|
24
|
-
import '../../color-
|
|
25
|
-
import '../../utils-
|
|
23
|
+
import '../../uuid-1141c1b4.js';
|
|
24
|
+
import '../../color-65ea9130.js';
|
|
25
|
+
import '../../utils-bee6567e.js';
|
|
26
26
|
import '@sendbird/chat/openChannel';
|
|
27
|
-
import '../../UserProfileContext-
|
|
27
|
+
import '../../UserProfileContext-4c07230f.js';
|
|
28
28
|
import '../../withSendbird.js';
|
|
29
29
|
|
|
30
30
|
const EditDetails = props => {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import React__default, { useState, useContext } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-689d8aa4.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-ada3d917.js';
|
|
4
4
|
import TextButton from '../../ui/TextButton.js';
|
|
5
5
|
import ChannelAvatar from '../../ui/OpenChannelAvatar.js';
|
|
6
6
|
import EditDetails from './EditDetailsModal.js';
|
|
7
7
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
8
8
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
9
|
-
import '../../stringSet-
|
|
10
|
-
import '../../index-
|
|
9
|
+
import '../../stringSet-21b6dbb8.js';
|
|
10
|
+
import '../../index-d83e2bc2.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../../color-
|
|
12
|
+
import '../../color-65ea9130.js';
|
|
13
13
|
import '../../ui/Avatar.js';
|
|
14
14
|
import '../../ui/ImageRenderer.js';
|
|
15
15
|
import '../../ui/Icon.js';
|
|
16
|
-
import '../../uuid-
|
|
17
|
-
import '../../utils-
|
|
18
|
-
import '../../topics-
|
|
16
|
+
import '../../uuid-1141c1b4.js';
|
|
17
|
+
import '../../utils-bee6567e.js';
|
|
18
|
+
import '../../topics-89a856f6.js';
|
|
19
19
|
import '../../ui/Modal.js';
|
|
20
20
|
import 'react-dom';
|
|
21
|
-
import '../../index-
|
|
21
|
+
import '../../index-8ca9e057.js';
|
|
22
22
|
import '../../ui/Button.js';
|
|
23
23
|
import '../../ui/IconButton.js';
|
|
24
|
-
import '../../_rollupPluginBabelHelpers-
|
|
25
|
-
import '../../MediaQueryContext-
|
|
24
|
+
import '../../_rollupPluginBabelHelpers-b764bedf.js';
|
|
25
|
+
import '../../MediaQueryContext-2604d3dc.js';
|
|
26
26
|
import '../../ui/Input.js';
|
|
27
27
|
import '../../withSendbird.js';
|
|
28
28
|
import '@sendbird/chat/openChannel';
|
|
29
|
-
import '../../UserProfileContext-
|
|
29
|
+
import '../../UserProfileContext-4c07230f.js';
|
|
30
30
|
|
|
31
31
|
function ChannelProfile() {
|
|
32
32
|
var _globalState$config, _globalState$config2;
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
2
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
3
3
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
4
|
-
import { U as UserProfileProvider } from '../../UserProfileContext-
|
|
5
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
6
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
4
|
+
import { U as UserProfileProvider } from '../../UserProfileContext-4c07230f.js';
|
|
5
|
+
import { a as LocalizationContext } from '../../LocalizationContext-689d8aa4.js';
|
|
6
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-ada3d917.js';
|
|
7
7
|
import Icon, { IconTypes } from '../../ui/Icon.js';
|
|
8
|
-
import { P as PlaceHolder, b as PlaceHolderTypes } from '../../index-
|
|
8
|
+
import { P as PlaceHolder, b as PlaceHolderTypes } from '../../index-915d9f7d.js';
|
|
9
9
|
import { OperatorUI } from './OperatorUI.js';
|
|
10
|
-
import { P as ParticipantList } from '../../index-
|
|
10
|
+
import { P as ParticipantList } from '../../index-ea60d5ce.js';
|
|
11
11
|
import '../../withSendbird.js';
|
|
12
|
-
import '../../_rollupPluginBabelHelpers-
|
|
12
|
+
import '../../_rollupPluginBabelHelpers-b764bedf.js';
|
|
13
13
|
import '@sendbird/chat/openChannel';
|
|
14
|
-
import '../../uuid-
|
|
14
|
+
import '../../uuid-1141c1b4.js';
|
|
15
15
|
import 'prop-types';
|
|
16
|
-
import '../../stringSet-
|
|
17
|
-
import '../../index-
|
|
16
|
+
import '../../stringSet-21b6dbb8.js';
|
|
17
|
+
import '../../index-d83e2bc2.js';
|
|
18
18
|
import '../../ui/Loader.js';
|
|
19
19
|
import './OpenChannelProfile.js';
|
|
20
20
|
import '../../ui/TextButton.js';
|
|
21
|
-
import '../../color-
|
|
21
|
+
import '../../color-65ea9130.js';
|
|
22
22
|
import '../../ui/OpenChannelAvatar.js';
|
|
23
23
|
import '../../ui/Avatar.js';
|
|
24
24
|
import '../../ui/ImageRenderer.js';
|
|
25
|
-
import '../../utils-
|
|
25
|
+
import '../../utils-bee6567e.js';
|
|
26
26
|
import './EditDetailsModal.js';
|
|
27
|
-
import '../../topics-
|
|
27
|
+
import '../../topics-89a856f6.js';
|
|
28
28
|
import '../../ui/Modal.js';
|
|
29
29
|
import 'react-dom';
|
|
30
|
-
import '../../index-
|
|
30
|
+
import '../../index-8ca9e057.js';
|
|
31
31
|
import '../../ui/Button.js';
|
|
32
32
|
import '../../ui/IconButton.js';
|
|
33
|
-
import '../../MediaQueryContext-
|
|
33
|
+
import '../../MediaQueryContext-2604d3dc.js';
|
|
34
34
|
import '../../ui/Input.js';
|
|
35
35
|
import '../../ui/Accordion.js';
|
|
36
36
|
import '../../ui/AccordionGroup.js';
|
|
37
|
-
import '../../context-
|
|
38
|
-
import '../../utils-
|
|
37
|
+
import '../../context-f542aa7f.js';
|
|
38
|
+
import '../../utils-cefd05d8.js';
|
|
39
39
|
import '../../ui/ContextMenu.js';
|
|
40
40
|
import '../../ui/SortByRow.js';
|
|
41
|
-
import '../../index-
|
|
41
|
+
import '../../index-4415e3d4.js';
|
|
42
42
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
43
43
|
import '../../ui/UserListItem.js';
|
|
44
44
|
import '../../ui/MutedAvatarOverlay.js';
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import React__default, { useState, useContext, useEffect, useCallback } from 'react';
|
|
2
|
-
import { a as LocalizationContext } from '../../LocalizationContext-
|
|
3
|
-
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-
|
|
2
|
+
import { a as LocalizationContext } from '../../LocalizationContext-689d8aa4.js';
|
|
3
|
+
import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-ada3d917.js';
|
|
4
4
|
import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
|
|
5
5
|
import { useOpenChannelSettingsContext } from '../context.js';
|
|
6
6
|
import ChannelProfile from './OpenChannelProfile.js';
|
|
7
7
|
import Modal from '../../ui/Modal.js';
|
|
8
8
|
import useSendbirdStateContext from '../../useSendbirdStateContext.js';
|
|
9
|
-
import { U as UserListItem$1, P as ParticipantList } from '../../index-
|
|
9
|
+
import { U as UserListItem$1, P as ParticipantList } from '../../index-ea60d5ce.js';
|
|
10
10
|
import Accordion, { AccordionGroup } from '../../ui/Accordion.js';
|
|
11
11
|
import Button, { ButtonTypes, ButtonSizes } from '../../ui/Button.js';
|
|
12
12
|
import ContextMenu, { MenuItems, MenuItem } from '../../ui/ContextMenu.js';
|
|
13
13
|
import IconButton from '../../ui/IconButton.js';
|
|
14
14
|
import UserListItem from '../../ui/UserListItem.js';
|
|
15
|
-
import { _ as _objectSpread2 } from '../../_rollupPluginBabelHelpers-
|
|
16
|
-
import { n as noop } from '../../utils-
|
|
17
|
-
import '../../stringSet-
|
|
18
|
-
import '../../index-
|
|
15
|
+
import { _ as _objectSpread2 } from '../../_rollupPluginBabelHelpers-b764bedf.js';
|
|
16
|
+
import { n as noop } from '../../utils-cefd05d8.js';
|
|
17
|
+
import '../../stringSet-21b6dbb8.js';
|
|
18
|
+
import '../../index-d83e2bc2.js';
|
|
19
19
|
import 'prop-types';
|
|
20
20
|
import '@sendbird/chat/openChannel';
|
|
21
|
-
import '../../UserProfileContext-
|
|
22
|
-
import '../../uuid-
|
|
21
|
+
import '../../UserProfileContext-4c07230f.js';
|
|
22
|
+
import '../../uuid-1141c1b4.js';
|
|
23
23
|
import '../../withSendbird.js';
|
|
24
24
|
import '../../ui/TextButton.js';
|
|
25
|
-
import '../../color-
|
|
25
|
+
import '../../color-65ea9130.js';
|
|
26
26
|
import '../../ui/OpenChannelAvatar.js';
|
|
27
27
|
import '../../ui/Avatar.js';
|
|
28
28
|
import '../../ui/ImageRenderer.js';
|
|
29
|
-
import '../../utils-
|
|
29
|
+
import '../../utils-bee6567e.js';
|
|
30
30
|
import './EditDetailsModal.js';
|
|
31
|
-
import '../../topics-
|
|
31
|
+
import '../../topics-89a856f6.js';
|
|
32
32
|
import '../../ui/Input.js';
|
|
33
33
|
import 'react-dom';
|
|
34
|
-
import '../../index-
|
|
35
|
-
import '../../MediaQueryContext-
|
|
36
|
-
import '../../context-
|
|
34
|
+
import '../../index-8ca9e057.js';
|
|
35
|
+
import '../../MediaQueryContext-2604d3dc.js';
|
|
36
|
+
import '../../context-f542aa7f.js';
|
|
37
37
|
import '../../ui/MutedAvatarOverlay.js';
|
|
38
38
|
import '../../ui/UserProfile.js';
|
|
39
39
|
import '../../sendbirdSelectors.js';
|
|
40
40
|
import '../../ui/AccordionGroup.js';
|
|
41
41
|
import '../../ui/SortByRow.js';
|
|
42
|
-
import '../../index-
|
|
42
|
+
import '../../index-4415e3d4.js';
|
|
43
43
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
44
44
|
import '../../ui/Checkbox.js';
|
|
45
45
|
|
|
@@ -3,34 +3,34 @@ import '../../ui/Button.js';
|
|
|
3
3
|
import '../../ui/ContextMenu.js';
|
|
4
4
|
import '../../ui/Icon.js';
|
|
5
5
|
import '../../ui/IconButton.js';
|
|
6
|
-
import '../../index-
|
|
7
|
-
export { P as default } from '../../index-
|
|
8
|
-
import '../../LocalizationContext-
|
|
6
|
+
import '../../index-ada3d917.js';
|
|
7
|
+
export { P as default } from '../../index-ea60d5ce.js';
|
|
8
|
+
import '../../LocalizationContext-689d8aa4.js';
|
|
9
9
|
import '../context.js';
|
|
10
10
|
import '../../useSendbirdStateContext.js';
|
|
11
11
|
import 'prop-types';
|
|
12
|
-
import '../../stringSet-
|
|
13
|
-
import '../../_rollupPluginBabelHelpers-
|
|
12
|
+
import '../../stringSet-21b6dbb8.js';
|
|
13
|
+
import '../../_rollupPluginBabelHelpers-b764bedf.js';
|
|
14
14
|
import 'react-dom';
|
|
15
15
|
import '../../ui/SortByRow.js';
|
|
16
|
-
import '../../uuid-
|
|
17
|
-
import '../../index-
|
|
16
|
+
import '../../uuid-1141c1b4.js';
|
|
17
|
+
import '../../index-4415e3d4.js';
|
|
18
18
|
import '../../utils/message/getOutgoingMessageState.js';
|
|
19
|
-
import '../../UserProfileContext-
|
|
20
|
-
import '../../context-
|
|
21
|
-
import '../../utils-
|
|
19
|
+
import '../../UserProfileContext-4c07230f.js';
|
|
20
|
+
import '../../context-f542aa7f.js';
|
|
21
|
+
import '../../utils-cefd05d8.js';
|
|
22
22
|
import '../../ui/Avatar.js';
|
|
23
23
|
import '../../ui/ImageRenderer.js';
|
|
24
24
|
import '../../ui/MutedAvatarOverlay.js';
|
|
25
25
|
import '../../ui/UserProfile.js';
|
|
26
26
|
import '../../sendbirdSelectors.js';
|
|
27
|
-
import '../../topics-
|
|
28
|
-
import '../../index-
|
|
27
|
+
import '../../topics-89a856f6.js';
|
|
28
|
+
import '../../index-d83e2bc2.js';
|
|
29
29
|
import '../../withSendbird.js';
|
|
30
30
|
import '@sendbird/chat/openChannel';
|
|
31
31
|
import '../../ui/Modal.js';
|
|
32
|
-
import '../../index-
|
|
33
|
-
import '../../MediaQueryContext-
|
|
32
|
+
import '../../index-8ca9e057.js';
|
|
33
|
+
import '../../MediaQueryContext-2604d3dc.js';
|
|
34
34
|
import '../../ui/UserListItem.js';
|
|
35
35
|
import '../../ui/Checkbox.js';
|
|
36
36
|
//# sourceMappingURL=ParticipantUI.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React__default, { useState, useEffect } from 'react';
|
|
2
2
|
import { OpenChannelHandler } from '@sendbird/chat/openChannel';
|
|
3
3
|
import useSendbirdStateContext from '../useSendbirdStateContext.js';
|
|
4
|
-
import { U as UserProfileProvider } from '../UserProfileContext-
|
|
5
|
-
import { u as uuidv4 } from '../uuid-
|
|
4
|
+
import { U as UserProfileProvider } from '../UserProfileContext-4c07230f.js';
|
|
5
|
+
import { u as uuidv4 } from '../uuid-1141c1b4.js';
|
|
6
6
|
import '../withSendbird.js';
|
|
7
|
-
import '../_rollupPluginBabelHelpers-
|
|
7
|
+
import '../_rollupPluginBabelHelpers-b764bedf.js';
|
|
8
8
|
import 'prop-types';
|
|
9
9
|
|
|
10
10
|
const OpenChannelSettingsContext = /*#__PURE__*/React__default.createContext(undefined);
|
package/OpenChannelSettings.js
CHANGED
|
@@ -3,41 +3,41 @@ import OpenChannelUI from './OpenChannelSettings/components/OpenChannelSettingsU
|
|
|
3
3
|
import { OpenChannelSettingsProvider } from './OpenChannelSettings/context.js';
|
|
4
4
|
import './useSendbirdStateContext.js';
|
|
5
5
|
import './withSendbird.js';
|
|
6
|
-
import './_rollupPluginBabelHelpers-
|
|
7
|
-
import './UserProfileContext-
|
|
6
|
+
import './_rollupPluginBabelHelpers-b764bedf.js';
|
|
7
|
+
import './UserProfileContext-4c07230f.js';
|
|
8
8
|
import 'prop-types';
|
|
9
|
-
import './LocalizationContext-
|
|
10
|
-
import './stringSet-
|
|
11
|
-
import './index-
|
|
12
|
-
import './index-
|
|
9
|
+
import './LocalizationContext-689d8aa4.js';
|
|
10
|
+
import './stringSet-21b6dbb8.js';
|
|
11
|
+
import './index-d83e2bc2.js';
|
|
12
|
+
import './index-ada3d917.js';
|
|
13
13
|
import './ui/Icon.js';
|
|
14
|
-
import './index-
|
|
14
|
+
import './index-915d9f7d.js';
|
|
15
15
|
import './ui/Loader.js';
|
|
16
16
|
import './OpenChannelSettings/components/OperatorUI.js';
|
|
17
17
|
import './OpenChannelSettings/components/OpenChannelProfile.js';
|
|
18
18
|
import './ui/TextButton.js';
|
|
19
|
-
import './color-
|
|
19
|
+
import './color-65ea9130.js';
|
|
20
20
|
import './ui/OpenChannelAvatar.js';
|
|
21
21
|
import './ui/Avatar.js';
|
|
22
22
|
import './ui/ImageRenderer.js';
|
|
23
|
-
import './uuid-
|
|
24
|
-
import './utils-
|
|
23
|
+
import './uuid-1141c1b4.js';
|
|
24
|
+
import './utils-bee6567e.js';
|
|
25
25
|
import './OpenChannelSettings/components/EditDetailsModal.js';
|
|
26
|
-
import './topics-
|
|
26
|
+
import './topics-89a856f6.js';
|
|
27
27
|
import './ui/Modal.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-8ca9e057.js';
|
|
30
30
|
import './ui/Button.js';
|
|
31
31
|
import './ui/IconButton.js';
|
|
32
|
-
import './MediaQueryContext-
|
|
32
|
+
import './MediaQueryContext-2604d3dc.js';
|
|
33
33
|
import './ui/Input.js';
|
|
34
|
-
import './index-
|
|
34
|
+
import './index-ea60d5ce.js';
|
|
35
35
|
import './ui/ContextMenu.js';
|
|
36
36
|
import './ui/SortByRow.js';
|
|
37
|
-
import './index-
|
|
37
|
+
import './index-4415e3d4.js';
|
|
38
38
|
import './utils/message/getOutgoingMessageState.js';
|
|
39
|
-
import './context-
|
|
40
|
-
import './utils-
|
|
39
|
+
import './context-f542aa7f.js';
|
|
40
|
+
import './utils-cefd05d8.js';
|
|
41
41
|
import './ui/MutedAvatarOverlay.js';
|
|
42
42
|
import './ui/UserProfile.js';
|
|
43
43
|
import './sendbirdSelectors.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React__default, { useContext } from 'react';
|
|
2
2
|
import Modal from './ui/Modal.js';
|
|
3
3
|
import { ButtonTypes } from './ui/Button.js';
|
|
4
|
-
import { a as LocalizationContext } from './LocalizationContext-
|
|
5
|
-
import { u as useThreadContext } from './ThreadProvider-
|
|
4
|
+
import { a as LocalizationContext } from './LocalizationContext-689d8aa4.js';
|
|
5
|
+
import { u as useThreadContext } from './ThreadProvider-4ecee019.js';
|
|
6
6
|
|
|
7
7
|
const RemoveMessage = props => {
|
|
8
8
|
var _message$threadInfo;
|
|
@@ -33,4 +33,4 @@ const RemoveMessage = props => {
|
|
|
33
33
|
};
|
|
34
34
|
|
|
35
35
|
export { RemoveMessage as R };
|
|
36
|
-
//# sourceMappingURL=RemoveMessageModal-
|
|
36
|
+
//# sourceMappingURL=RemoveMessageModal-c345043b.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RemoveMessageModal-
|
|
1
|
+
{"version":3,"file":"RemoveMessageModal-c345043b.js","sources":["../src/modules/Thread/components/RemoveMessageModal.tsx"],"sourcesContent":["import React, { useContext } from 'react';\n\nimport Modal from '../../../ui/Modal';\nimport { ButtonTypes } from '../../../ui/Button';\nimport { LocalizationContext } from '../../../lib/LocalizationContext';\nimport { useThreadContext } from '../context/ThreadProvider';\nimport { FileMessage, UserMessage } from '@sendbird/chat/message';\n\nexport interface RemoveMessageProps {\n onCancel: () => void; // rename to onClose\n onSubmit?: () => void;\n message: UserMessage | FileMessage;\n}\n\nconst RemoveMessage: React.FC<RemoveMessageProps> = (props: RemoveMessageProps) => {\n const {\n onCancel,\n onSubmit,\n message,\n } = props;\n const { stringSet } = useContext(LocalizationContext);\n const {\n deleteMessage,\n } = useThreadContext();\n return (\n <Modal\n type={ButtonTypes.DANGER}\n disabled={message?.threadInfo?.replyCount > 0}\n onCancel={onCancel}\n onSubmit={() => {\n deleteMessage(message).then(() => {\n onCancel?.();\n onSubmit?.();\n });\n }}\n submitText={stringSet.MESSAGE_MENU__DELETE}\n titleText={stringSet.MODAL__DELETE_MESSAGE__TITLE}\n />\n );\n};\n\nexport default RemoveMessage;\n"],"names":["RemoveMessage","props","_message$threadInfo","onCancel","onSubmit","message","stringSet","useContext","LocalizationContext","deleteMessage","useThreadContext","React","createElement","Modal","type","ButtonTypes","DANGER","disabled","threadInfo","replyCount","then","submitText","MESSAGE_MENU__DELETE","titleText","MODAL__DELETE_MESSAGE__TITLE"],"mappings":";;;;;;AAcMA,MAAAA,aAA2C,GAAIC,KAAyB,IAAK;AAAA,EAAA,IAAAC,mBAAA,CAAA;EACjF,MAAM;IACJC,QAAQ;IACRC,QAAQ;AACRC,IAAAA,OAAAA;AACF,GAAC,GAAGJ,KAAK,CAAA;EACT,MAAM;AAAEK,IAAAA,SAAAA;AAAU,GAAC,GAAGC,UAAU,CAACC,mBAAmB,CAAC,CAAA;EACrD,MAAM;AACJC,IAAAA,aAAAA;GACD,GAAGC,gBAAgB,EAAE,CAAA;AACtB,EAAA,oBACEC,cAAA,CAAAC,aAAA,CAACC,KAAK,EAAA;IACJC,IAAI,EAAEC,WAAW,CAACC,MAAO;AACzBC,IAAAA,QAAQ,EAAE,CAAAZ,OAAO,aAAPA,OAAO,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAA,CAAAH,mBAAA,GAAPG,OAAO,CAAEa,UAAU,cAAAhB,mBAAA,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAnBA,mBAAA,CAAqBiB,UAAU,IAAG,CAAE;AAC9ChB,IAAAA,QAAQ,EAAEA,QAAS;IACnBC,QAAQ,EAAEA,MAAM;AACdK,MAAAA,aAAa,CAACJ,OAAO,CAAC,CAACe,IAAI,CAAC,MAAM;AAChCjB,QAAAA,QAAQ,KAARA,IAAAA,IAAAA,QAAQ,KAARA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,QAAQ,EAAI,CAAA;AACZC,QAAAA,QAAQ,KAARA,IAAAA,IAAAA,QAAQ,KAARA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,QAAQ,EAAI,CAAA;AACd,OAAC,CAAC,CAAA;KACF;IACFiB,UAAU,EAAEf,SAAS,CAACgB,oBAAqB;IAC3CC,SAAS,EAAEjB,SAAS,CAACkB,4BAAAA;GACrB,CAAA,CAAA;AAEN;;;;"}
|
package/SendbirdProvider.js
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { _ as _objectSpread2 } from './_rollupPluginBabelHelpers-
|
|
1
|
+
import { _ as _objectSpread2 } from './_rollupPluginBabelHelpers-b764bedf.js';
|
|
2
2
|
import React__default, { useLayoutEffect, useState, useEffect, useCallback, useMemo, useReducer } from 'react';
|
|
3
3
|
import { SendbirdSdkContext } from './withSendbird.js';
|
|
4
4
|
import cssVars from 'css-vars-ponyfill';
|
|
5
|
-
import { K } from './index.module-
|
|
6
|
-
import { U as USER_ACTIONS } from './actionTypes-
|
|
5
|
+
import { K } from './index.module-8c38026f.js';
|
|
6
|
+
import { U as USER_ACTIONS } from './actionTypes-e6bdb61c.js';
|
|
7
7
|
import SendbirdChat, { ConnectionHandler } from '@sendbird/chat';
|
|
8
|
-
import { u as uuidv4 } from './uuid-
|
|
8
|
+
import { u as uuidv4 } from './uuid-1141c1b4.js';
|
|
9
9
|
import { OpenChannelModule } from '@sendbird/chat/openChannel';
|
|
10
10
|
import { GroupChannelModule } from '@sendbird/chat/groupChannel';
|
|
11
|
-
import { i as isTextuallyNull } from './index-
|
|
12
|
-
import { UIKitConfigProvider,
|
|
13
|
-
import { V as VoicePlayerProvider } from './index-
|
|
11
|
+
import { i as isTextuallyNull } from './index-4415e3d4.js';
|
|
12
|
+
import { UIKitConfigProvider, useUIKitConfig } from '@sendbird/uikit-tools';
|
|
13
|
+
import { V as VoicePlayerProvider } from './index-1a9ad5e8.js';
|
|
14
14
|
import { VoiceRecorderProvider } from './VoiceRecorder/context.js';
|
|
15
|
-
import { L as LocalizationProvider } from './LocalizationContext-
|
|
16
|
-
import { M as MediaQueryProvider } from './MediaQueryContext-
|
|
17
|
-
import { g as getStringSet } from './stringSet-
|
|
18
|
-
import { V as VOICE_RECORDER_DEFAULT_MAX, a as VOICE_RECORDER_DEFAULT_MIN } from './consts-
|
|
15
|
+
import { L as LocalizationProvider } from './LocalizationContext-689d8aa4.js';
|
|
16
|
+
import { M as MediaQueryProvider } from './MediaQueryContext-2604d3dc.js';
|
|
17
|
+
import { g as getStringSet } from './stringSet-21b6dbb8.js';
|
|
18
|
+
import { V as VOICE_RECORDER_DEFAULT_MAX, a as VOICE_RECORDER_DEFAULT_MIN } from './consts-746d9d54.js';
|
|
19
|
+
import { g as getCaseResolvedReplyType, a as getCaseResolvedThreadReplySelectType } from './resolvedReplyType-3b091b4c.js';
|
|
19
20
|
import './utils/message/getOutgoingMessageState.js';
|
|
20
21
|
import './useSendbirdStateContext.js';
|
|
21
22
|
import './ui/Modal.js';
|
|
22
23
|
import 'react-dom';
|
|
23
|
-
import './index-
|
|
24
|
+
import './index-8ca9e057.js';
|
|
24
25
|
import './ui/Button.js';
|
|
25
|
-
import './index-
|
|
26
|
+
import './index-ada3d917.js';
|
|
26
27
|
import 'prop-types';
|
|
27
28
|
import './ui/Icon.js';
|
|
28
29
|
import './ui/IconButton.js';
|
|
29
|
-
import './index-
|
|
30
|
+
import './index-d83e2bc2.js';
|
|
30
31
|
|
|
31
32
|
const isEmpty = obj => {
|
|
32
33
|
if (obj === null || obj === undefined) {
|
|
@@ -331,7 +332,7 @@ async function disconnectSdk(_ref) {
|
|
|
331
332
|
});
|
|
332
333
|
}
|
|
333
334
|
|
|
334
|
-
const APP_VERSION_STRING = '3.5.0-mobile-
|
|
335
|
+
const APP_VERSION_STRING = '3.5.0-mobile-web-5';
|
|
335
336
|
const {
|
|
336
337
|
INIT_SDK,
|
|
337
338
|
SET_SDK_LOADING,
|
|
@@ -840,11 +841,12 @@ function schedulerFactory(_ref) {
|
|
|
840
841
|
|
|
841
842
|
// this hook accepts a callback to run component is unmounted
|
|
842
843
|
function useUnmount(callback) {
|
|
844
|
+
let deps = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
843
845
|
useLayoutEffect(() => {
|
|
844
846
|
return () => {
|
|
845
847
|
callback();
|
|
846
848
|
};
|
|
847
|
-
},
|
|
849
|
+
}, deps);
|
|
848
850
|
}
|
|
849
851
|
|
|
850
852
|
function useMarkAsReadScheduler(_ref, _ref2) {
|
|
@@ -911,13 +913,6 @@ function useMarkAsDeliveredScheduler(_ref, _ref2) {
|
|
|
911
913
|
return markAsDeliveredScheduler;
|
|
912
914
|
}
|
|
913
915
|
|
|
914
|
-
function getCaseResolvedReplyType(replyType) {
|
|
915
|
-
return {
|
|
916
|
-
lowerCase: replyType.toLowerCase(),
|
|
917
|
-
upperCase: replyType.toUpperCase()
|
|
918
|
-
};
|
|
919
|
-
}
|
|
920
|
-
|
|
921
916
|
function Sendbird(props) {
|
|
922
917
|
const {
|
|
923
918
|
replyType,
|
|
@@ -932,19 +927,14 @@ function Sendbird(props) {
|
|
|
932
927
|
return /*#__PURE__*/React__default.createElement(UIKitConfigProvider, {
|
|
933
928
|
localConfigs: {
|
|
934
929
|
common: {
|
|
935
|
-
enableUsingDefaultUserProfile: !disableUserProfile
|
|
930
|
+
enableUsingDefaultUserProfile: typeof disableUserProfile === 'boolean' ? !disableUserProfile : undefined
|
|
936
931
|
},
|
|
937
932
|
groupChannel: {
|
|
938
933
|
channel: {
|
|
939
934
|
enableReactions: isReactionEnabled,
|
|
940
935
|
enableMention: isMentionEnabled,
|
|
941
936
|
enableVoiceMessage: isVoiceMessageEnabled,
|
|
942
|
-
|
|
943
|
-
* Since dashbord UIKit Configuration's replyType is consisted of all lowercase letters,
|
|
944
|
-
* we convert it from here.
|
|
945
|
-
* i.e. 'THREAD' -> 'thread'
|
|
946
|
-
*/
|
|
947
|
-
replyType: getCaseResolvedReplyType(replyType !== null && replyType !== void 0 ? replyType : initialConfig.groupChannel.channel.replyType).lowerCase
|
|
937
|
+
replyType: replyType != null ? getCaseResolvedReplyType(replyType).lowerCase : undefined
|
|
948
938
|
},
|
|
949
939
|
channelList: {
|
|
950
940
|
enableTypingIndicator: isTypingIndicatorEnabledOnChannelList,
|
|
@@ -996,8 +986,11 @@ const SendbirdSDK = _ref => {
|
|
|
996
986
|
const [userStore, userDispatcher] = useReducer(reducer, initialState);
|
|
997
987
|
const {
|
|
998
988
|
configs,
|
|
989
|
+
configsWithAppAttr,
|
|
999
990
|
initDashboardConfigs
|
|
1000
991
|
} = useUIKitConfig();
|
|
992
|
+
const sdkInitialized = sdkStore.initialized;
|
|
993
|
+
const sdk = sdkStore === null || sdkStore === void 0 ? void 0 : sdkStore.sdk;
|
|
1001
994
|
useTheme(colorSet);
|
|
1002
995
|
const reconnect = useConnect({
|
|
1003
996
|
appId,
|
|
@@ -1010,11 +1003,21 @@ const SendbirdSDK = _ref => {
|
|
|
1010
1003
|
configureSession,
|
|
1011
1004
|
customApiHost,
|
|
1012
1005
|
customWebSocketHost,
|
|
1013
|
-
sdk
|
|
1006
|
+
sdk,
|
|
1014
1007
|
sdkDispatcher,
|
|
1015
1008
|
userDispatcher,
|
|
1016
1009
|
initDashboardConfigs
|
|
1017
1010
|
});
|
|
1011
|
+
useUnmount(() => {
|
|
1012
|
+
if (typeof sdk.disconnect === 'function') {
|
|
1013
|
+
disconnectSdk({
|
|
1014
|
+
logger,
|
|
1015
|
+
sdkDispatcher,
|
|
1016
|
+
userDispatcher,
|
|
1017
|
+
sdk
|
|
1018
|
+
});
|
|
1019
|
+
}
|
|
1020
|
+
}, [sdk.disconnect]);
|
|
1018
1021
|
|
|
1019
1022
|
// to create a pubsub to communicate between parent and child
|
|
1020
1023
|
useEffect(() => {
|
|
@@ -1110,27 +1113,23 @@ const SendbirdSDK = _ref => {
|
|
|
1110
1113
|
markAsDeliveredScheduler,
|
|
1111
1114
|
// From UIKitConfigProvider.localConfigs
|
|
1112
1115
|
disableUserProfile: !configs.common.enableUsingDefaultUserProfile,
|
|
1113
|
-
isReactionEnabled:
|
|
1116
|
+
isReactionEnabled: sdkInitialized && configsWithAppAttr(sdk).groupChannel.channel.enableReactions,
|
|
1114
1117
|
isMentionEnabled: configs.groupChannel.channel.enableMention,
|
|
1115
1118
|
isVoiceMessageEnabled: configs.groupChannel.channel.enableVoiceMessage,
|
|
1116
|
-
replyType:
|
|
1117
|
-
/**
|
|
1118
|
-
* Since UIKitConfigContext's replyType is consisted of all lowercase letters,
|
|
1119
|
-
* we need to convert it into all uppercase ones like
|
|
1120
|
-
* - 'thread' -> 'THREAD'
|
|
1121
|
-
* - 'quote_reply' -> 'QUOTE_REPLY'
|
|
1122
|
-
*/
|
|
1123
|
-
getCaseResolvedReplyType(configs.groupChannel.channel.replyType).upperCase,
|
|
1119
|
+
replyType: getCaseResolvedReplyType(configs.groupChannel.channel.replyType).upperCase,
|
|
1124
1120
|
isTypingIndicatorEnabledOnChannelList: configs.groupChannel.channelList.enableTypingIndicator,
|
|
1125
1121
|
isMessageReceiptStatusEnabledOnChannelList: configs.groupChannel.channelList.enableMessageReceiptStatus,
|
|
1126
|
-
showSearchIcon:
|
|
1122
|
+
showSearchIcon: sdkInitialized && configsWithAppAttr(sdk).groupChannel.setting.enableMessageSearch,
|
|
1127
1123
|
// Remote configs set from dashboard by UIKit feature configuration
|
|
1128
1124
|
groupChannel: {
|
|
1129
|
-
enableOgtag:
|
|
1130
|
-
enableTypingIndicator: configs.groupChannel.channel.enableTypingIndicator
|
|
1125
|
+
enableOgtag: sdkInitialized && configsWithAppAttr(sdk).groupChannel.channel.enableOgtag,
|
|
1126
|
+
enableTypingIndicator: configs.groupChannel.channel.enableTypingIndicator,
|
|
1127
|
+
enableDocument: configs.groupChannel.channel.input.enableDocument,
|
|
1128
|
+
threadReplySelectType: getCaseResolvedThreadReplySelectType(configs.groupChannel.channel.threadReplySelectType).upperCase
|
|
1131
1129
|
},
|
|
1132
1130
|
openChannel: {
|
|
1133
|
-
enableOgtag:
|
|
1131
|
+
enableOgtag: sdkInitialized && configsWithAppAttr(sdk).openChannel.channel.enableOgtag,
|
|
1132
|
+
enableDocument: configs.openChannel.channel.input.enableDocument
|
|
1134
1133
|
}
|
|
1135
1134
|
}
|
|
1136
1135
|
}
|