@sendbird/uikit-react 3.4.9 → 3.5.0-feature-config-rc-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (591) hide show
  1. package/App.js +81 -62
  2. package/App.js.map +1 -1
  3. package/Channel/components/ChannelHeader.js +19 -18
  4. package/Channel/components/ChannelHeader.js.map +1 -1
  5. package/Channel/components/ChannelUI.js +44 -43
  6. package/Channel/components/ChannelUI.js.map +1 -1
  7. package/Channel/components/FileViewer.js +15 -14
  8. package/Channel/components/FileViewer.js.map +1 -1
  9. package/Channel/components/FrozenNotification.js +4 -4
  10. package/Channel/components/Message.js +38 -36
  11. package/Channel/components/Message.js.map +1 -1
  12. package/Channel/components/MessageInput.js +31 -29
  13. package/Channel/components/MessageInput.js.map +1 -1
  14. package/Channel/components/MessageList.js +38 -37
  15. package/Channel/components/MessageList.js.map +1 -1
  16. package/Channel/components/RemoveMessageModal.js +17 -16
  17. package/Channel/components/RemoveMessageModal.js.map +1 -1
  18. package/Channel/components/SuggestedMentionList.js +17 -16
  19. package/Channel/components/SuggestedMentionList.js.map +1 -1
  20. package/Channel/components/TypingIndicator.js +15 -14
  21. package/Channel/components/TypingIndicator.js.map +1 -1
  22. package/Channel/components/UnreadCount.js +4 -4
  23. package/Channel/context.js +12 -11
  24. package/Channel/context.js.map +1 -1
  25. package/Channel.js +42 -41
  26. package/Channel.js.map +1 -1
  27. package/ChannelList/components/AddChannel.js +14 -14
  28. package/ChannelList/components/ChannelListHeader.js +6 -6
  29. package/ChannelList/components/ChannelListUI.js +30 -29
  30. package/ChannelList/components/ChannelListUI.js.map +1 -1
  31. package/ChannelList/components/ChannelPreview.js +26 -25
  32. package/ChannelList/components/ChannelPreview.js.map +1 -1
  33. package/ChannelList/components/ChannelPreviewAction.js +13 -13
  34. package/ChannelList/context.js +7 -7
  35. package/ChannelList.js +30 -29
  36. package/ChannelList.js.map +1 -1
  37. package/{ChannelListProvider-21425002.js → ChannelListProvider-e9b9d9dc.js} +7 -7
  38. package/{ChannelListProvider-21425002.js.map → ChannelListProvider-e9b9d9dc.js.map} +1 -1
  39. package/{ChannelProvider-910bbc1f.js → ChannelProvider-e1ddeda2.js} +52 -30
  40. package/ChannelProvider-e1ddeda2.js.map +1 -0
  41. package/ChannelSettings/components/ChannelProfile.js +11 -11
  42. package/ChannelSettings/components/ChannelSettingsUI.js +17 -17
  43. package/ChannelSettings/components/EditDetailsModal.js +11 -11
  44. package/ChannelSettings/components/LeaveChannel.js +11 -11
  45. package/ChannelSettings/components/ModerationPanel.js +14 -14
  46. package/ChannelSettings/components/UserListItem.js +10 -10
  47. package/ChannelSettings/components/UserPanel.js +13 -13
  48. package/ChannelSettings/context.js +3 -3
  49. package/ChannelSettings.js +17 -17
  50. package/CreateChannel/components/CreateChannelUI.js +13 -13
  51. package/CreateChannel/components/InviteUsers.js +13 -13
  52. package/CreateChannel/components/SelectChannelType.js +10 -10
  53. package/CreateChannel/context.js +4 -4
  54. package/CreateChannel.js +13 -13
  55. package/{CreateChannelProvider-11c8b9a3.js → CreateChannelProvider-8c7aa9d6.js} +1 -1
  56. package/{CreateChannelProvider-11c8b9a3.js.map → CreateChannelProvider-8c7aa9d6.js.map} +1 -1
  57. package/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
  58. package/CreateOpenChannel/context.js +1 -1
  59. package/CreateOpenChannel.js +9 -9
  60. package/EditUserProfile/components/EditUserProfileUI.js +12 -12
  61. package/EditUserProfile.js +12 -12
  62. package/{LocalizationContext-076d6d2e.js → LocalizationContext-2a605cc6.js} +3 -3
  63. package/{LocalizationContext-076d6d2e.js.map → LocalizationContext-2a605cc6.js.map} +1 -1
  64. package/{MediaQueryContext-11f0e43f.js → MediaQueryContext-9a1ce18e.js} +2 -2
  65. package/MediaQueryContext-9a1ce18e.js.map +1 -0
  66. package/{MemberList-061d186f.js → MemberList-f74830e4.js} +8 -6
  67. package/{cjs/MemberList-c886fbc9.js.map → MemberList-f74830e4.js.map} +1 -1
  68. package/MessageSearch/components/MessageSearchUI.js +11 -11
  69. package/MessageSearch/context.js +1 -1
  70. package/MessageSearch.js +11 -11
  71. package/OpenChannel/components/FrozenChannelNotification.js +4 -4
  72. package/OpenChannel/components/OpenChannelHeader.js +12 -12
  73. package/OpenChannel/components/OpenChannelInput.js +22 -20
  74. package/OpenChannel/components/OpenChannelInput.js.map +1 -1
  75. package/OpenChannel/components/OpenChannelMessage.js +37 -32
  76. package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  77. package/OpenChannel/components/OpenChannelMessageList.js +31 -31
  78. package/OpenChannel/components/OpenChannelUI.js +31 -31
  79. package/OpenChannel/context.js +8 -8
  80. package/OpenChannel.js +33 -33
  81. package/OpenChannelList/components/OpenChannelListUI.js +13 -13
  82. package/OpenChannelList/components/OpenChannelPreview.js +3 -3
  83. package/OpenChannelList/context.js +3 -3
  84. package/OpenChannelList.js +13 -13
  85. package/{OpenChannelListProvider-426cfb39.js → OpenChannelListProvider-1674b977.js} +3 -3
  86. package/{OpenChannelListProvider-426cfb39.js.map → OpenChannelListProvider-1674b977.js.map} +1 -1
  87. package/{OpenChannelProvider-d3a850e3.js → OpenChannelProvider-c1097360.js} +7 -7
  88. package/{OpenChannelProvider-d3a850e3.js.map → OpenChannelProvider-c1097360.js.map} +1 -1
  89. package/OpenChannelSettings/components/EditDetailsModal.js +12 -12
  90. package/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
  91. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
  92. package/OpenChannelSettings/components/OperatorUI.js +16 -16
  93. package/OpenChannelSettings/components/ParticipantUI.js +14 -14
  94. package/OpenChannelSettings/context.js +3 -3
  95. package/OpenChannelSettings.js +17 -17
  96. package/{RemoveMessageModal-78e395ad.js → RemoveMessageModal-103c3502.js} +3 -3
  97. package/{RemoveMessageModal-78e395ad.js.map → RemoveMessageModal-103c3502.js.map} +1 -1
  98. package/SendbirdProvider.js +69 -217
  99. package/SendbirdProvider.js.map +1 -1
  100. package/Thread/components/ParentMessageInfo.js +35 -32
  101. package/Thread/components/ParentMessageInfo.js.map +1 -1
  102. package/Thread/components/ParentMessageInfoItem.js +23 -21
  103. package/Thread/components/ParentMessageInfoItem.js.map +1 -1
  104. package/Thread/components/ThreadHeader.js +6 -6
  105. package/Thread/components/ThreadList.js +36 -35
  106. package/Thread/components/ThreadList.js.map +1 -1
  107. package/Thread/components/ThreadListItem.js +44 -38
  108. package/Thread/components/ThreadListItem.js.map +1 -1
  109. package/Thread/components/ThreadMessageInput.js +32 -30
  110. package/Thread/components/ThreadMessageInput.js.map +1 -1
  111. package/Thread/components/ThreadUI.js +40 -39
  112. package/Thread/components/ThreadUI.js.map +1 -1
  113. package/Thread/context.js +8 -8
  114. package/Thread.js +40 -39
  115. package/Thread.js.map +1 -1
  116. package/{ThreadProvider-3a4a4db0.js → ThreadProvider-1799dbab.js} +10 -10
  117. package/ThreadProvider-1799dbab.js.map +1 -0
  118. package/{UserProfileContext-9cfbab4d.js → UserProfileContext-cf8bb199.js} +1 -1
  119. package/{UserProfileContext-9cfbab4d.js.map → UserProfileContext-cf8bb199.js.map} +1 -1
  120. package/{VoiceMessageInputWrapper-dc459df1.js → VoiceMessageInputWrapper-276b625e.js} +8 -7
  121. package/VoiceMessageInputWrapper-276b625e.js.map +1 -0
  122. package/VoicePlayer/context.js +3 -3
  123. package/VoicePlayer/useVoicePlayer.js +15 -3
  124. package/VoicePlayer/useVoicePlayer.js.map +1 -1
  125. package/VoiceRecorder/context.js +42 -4
  126. package/VoiceRecorder/context.js.map +1 -1
  127. package/VoiceRecorder/useVoiceRecorder.js +14 -2
  128. package/VoiceRecorder/useVoiceRecorder.js.map +1 -1
  129. package/{WebAudioUtils-6df19fcc.js → WebAudioUtils-b2c9fae9.js} +1 -1
  130. package/{WebAudioUtils-6df19fcc.js.map → WebAudioUtils-b2c9fae9.js.map} +1 -1
  131. package/{_rollupPluginBabelHelpers-6bb0305c.js → _rollupPluginBabelHelpers-34fc6689.js} +1 -1
  132. package/_rollupPluginBabelHelpers-34fc6689.js.map +1 -0
  133. package/{actionTypes-ce6caec1.js → actionTypes-3f51c08a.js} +1 -1
  134. package/{actionTypes-ce6caec1.js.map → actionTypes-3f51c08a.js.map} +1 -1
  135. package/cjs/App.js +81 -62
  136. package/cjs/App.js.map +1 -1
  137. package/cjs/Channel/components/ChannelHeader.js +19 -18
  138. package/cjs/Channel/components/ChannelHeader.js.map +1 -1
  139. package/cjs/Channel/components/ChannelUI.js +44 -43
  140. package/cjs/Channel/components/ChannelUI.js.map +1 -1
  141. package/cjs/Channel/components/FileViewer.js +15 -14
  142. package/cjs/Channel/components/FileViewer.js.map +1 -1
  143. package/cjs/Channel/components/FrozenNotification.js +4 -4
  144. package/cjs/Channel/components/Message.js +38 -36
  145. package/cjs/Channel/components/Message.js.map +1 -1
  146. package/cjs/Channel/components/MessageInput.js +31 -29
  147. package/cjs/Channel/components/MessageInput.js.map +1 -1
  148. package/cjs/Channel/components/MessageList.js +38 -37
  149. package/cjs/Channel/components/MessageList.js.map +1 -1
  150. package/cjs/Channel/components/RemoveMessageModal.js +17 -16
  151. package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
  152. package/cjs/Channel/components/SuggestedMentionList.js +17 -16
  153. package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
  154. package/cjs/Channel/components/TypingIndicator.js +15 -14
  155. package/cjs/Channel/components/TypingIndicator.js.map +1 -1
  156. package/cjs/Channel/components/UnreadCount.js +4 -4
  157. package/cjs/Channel/context.js +12 -12
  158. package/cjs/Channel.js +42 -41
  159. package/cjs/Channel.js.map +1 -1
  160. package/cjs/ChannelList/components/AddChannel.js +14 -14
  161. package/cjs/ChannelList/components/ChannelListHeader.js +6 -6
  162. package/cjs/ChannelList/components/ChannelListUI.js +30 -29
  163. package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
  164. package/cjs/ChannelList/components/ChannelPreview.js +26 -25
  165. package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
  166. package/cjs/ChannelList/components/ChannelPreviewAction.js +13 -13
  167. package/cjs/ChannelList/context.js +7 -7
  168. package/cjs/ChannelList.js +30 -29
  169. package/cjs/ChannelList.js.map +1 -1
  170. package/cjs/{ChannelListProvider-6f1b6689.js → ChannelListProvider-26cc6944.js} +7 -7
  171. package/cjs/{ChannelListProvider-6f1b6689.js.map → ChannelListProvider-26cc6944.js.map} +1 -1
  172. package/cjs/{ChannelProvider-da7b08a1.js → ChannelProvider-54bb28cc.js} +51 -30
  173. package/cjs/ChannelProvider-54bb28cc.js.map +1 -0
  174. package/cjs/ChannelSettings/components/ChannelProfile.js +11 -11
  175. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +17 -17
  176. package/cjs/ChannelSettings/components/EditDetailsModal.js +11 -11
  177. package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
  178. package/cjs/ChannelSettings/components/ModerationPanel.js +14 -14
  179. package/cjs/ChannelSettings/components/UserListItem.js +10 -10
  180. package/cjs/ChannelSettings/components/UserPanel.js +13 -13
  181. package/cjs/ChannelSettings/context.js +3 -3
  182. package/cjs/ChannelSettings.js +17 -17
  183. package/cjs/CreateChannel/components/CreateChannelUI.js +13 -13
  184. package/cjs/CreateChannel/components/InviteUsers.js +13 -13
  185. package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
  186. package/cjs/CreateChannel/context.js +4 -4
  187. package/cjs/CreateChannel.js +13 -13
  188. package/cjs/{CreateChannelProvider-2f105a5c.js → CreateChannelProvider-8c106973.js} +1 -1
  189. package/cjs/{CreateChannelProvider-2f105a5c.js.map → CreateChannelProvider-8c106973.js.map} +1 -1
  190. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +9 -9
  191. package/cjs/CreateOpenChannel/context.js +1 -1
  192. package/cjs/CreateOpenChannel.js +9 -9
  193. package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
  194. package/cjs/EditUserProfile.js +12 -12
  195. package/cjs/{LocalizationContext-df436a16.js → LocalizationContext-bdc95952.js} +3 -3
  196. package/cjs/{LocalizationContext-df436a16.js.map → LocalizationContext-bdc95952.js.map} +1 -1
  197. package/cjs/{MediaQueryContext-f1e8fdbc.js → MediaQueryContext-28b81968.js} +2 -2
  198. package/cjs/MediaQueryContext-28b81968.js.map +1 -0
  199. package/cjs/{MemberList-c886fbc9.js → MemberList-5f5ab063.js} +8 -6
  200. package/cjs/MemberList-5f5ab063.js.map +1 -0
  201. package/cjs/MessageSearch/components/MessageSearchUI.js +11 -11
  202. package/cjs/MessageSearch/context.js +1 -1
  203. package/cjs/MessageSearch.js +11 -11
  204. package/cjs/OpenChannel/components/FrozenChannelNotification.js +4 -4
  205. package/cjs/OpenChannel/components/OpenChannelHeader.js +12 -12
  206. package/cjs/OpenChannel/components/OpenChannelInput.js +22 -20
  207. package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
  208. package/cjs/OpenChannel/components/OpenChannelMessage.js +37 -32
  209. package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  210. package/cjs/OpenChannel/components/OpenChannelMessageList.js +31 -31
  211. package/cjs/OpenChannel/components/OpenChannelUI.js +31 -31
  212. package/cjs/OpenChannel/context.js +8 -8
  213. package/cjs/OpenChannel.js +33 -33
  214. package/cjs/OpenChannelList/components/OpenChannelListUI.js +13 -13
  215. package/cjs/OpenChannelList/components/OpenChannelPreview.js +3 -3
  216. package/cjs/OpenChannelList/context.js +3 -3
  217. package/cjs/OpenChannelList.js +13 -13
  218. package/cjs/{OpenChannelListProvider-b7914f1a.js → OpenChannelListProvider-da4fd54b.js} +3 -3
  219. package/cjs/{OpenChannelListProvider-b7914f1a.js.map → OpenChannelListProvider-da4fd54b.js.map} +1 -1
  220. package/cjs/{OpenChannelProvider-b431f910.js → OpenChannelProvider-c6295ecd.js} +7 -7
  221. package/cjs/{OpenChannelProvider-b431f910.js.map → OpenChannelProvider-c6295ecd.js.map} +1 -1
  222. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +12 -12
  223. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +12 -12
  224. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +17 -17
  225. package/cjs/OpenChannelSettings/components/OperatorUI.js +16 -16
  226. package/cjs/OpenChannelSettings/components/ParticipantUI.js +14 -14
  227. package/cjs/OpenChannelSettings/context.js +3 -3
  228. package/cjs/OpenChannelSettings.js +17 -17
  229. package/cjs/{RemoveMessageModal-bcf3c6fe.js → RemoveMessageModal-f4d8af47.js} +3 -3
  230. package/cjs/{RemoveMessageModal-bcf3c6fe.js.map → RemoveMessageModal-f4d8af47.js.map} +1 -1
  231. package/cjs/SendbirdProvider.js +70 -218
  232. package/cjs/SendbirdProvider.js.map +1 -1
  233. package/cjs/Thread/components/ParentMessageInfo.js +35 -32
  234. package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
  235. package/cjs/Thread/components/ParentMessageInfoItem.js +23 -21
  236. package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
  237. package/cjs/Thread/components/ThreadHeader.js +6 -6
  238. package/cjs/Thread/components/ThreadList.js +36 -35
  239. package/cjs/Thread/components/ThreadList.js.map +1 -1
  240. package/cjs/Thread/components/ThreadListItem.js +44 -38
  241. package/cjs/Thread/components/ThreadListItem.js.map +1 -1
  242. package/cjs/Thread/components/ThreadMessageInput.js +32 -30
  243. package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
  244. package/cjs/Thread/components/ThreadUI.js +40 -39
  245. package/cjs/Thread/components/ThreadUI.js.map +1 -1
  246. package/cjs/Thread/context.js +8 -8
  247. package/cjs/Thread.js +40 -39
  248. package/cjs/Thread.js.map +1 -1
  249. package/cjs/{ThreadProvider-654b9db0.js → ThreadProvider-17ad9d05.js} +10 -10
  250. package/cjs/ThreadProvider-17ad9d05.js.map +1 -0
  251. package/cjs/{UserProfileContext-0c255fa6.js → UserProfileContext-27a5718b.js} +1 -1
  252. package/cjs/{UserProfileContext-0c255fa6.js.map → UserProfileContext-27a5718b.js.map} +1 -1
  253. package/cjs/{VoiceMessageInputWrapper-2aaed45b.js → VoiceMessageInputWrapper-1100905a.js} +8 -7
  254. package/cjs/VoiceMessageInputWrapper-1100905a.js.map +1 -0
  255. package/cjs/VoicePlayer/context.js +4 -3
  256. package/cjs/VoicePlayer/context.js.map +1 -1
  257. package/cjs/VoicePlayer/useVoicePlayer.js +15 -3
  258. package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
  259. package/cjs/VoiceRecorder/context.js +42 -4
  260. package/cjs/VoiceRecorder/context.js.map +1 -1
  261. package/cjs/VoiceRecorder/useVoiceRecorder.js +14 -2
  262. package/cjs/VoiceRecorder/useVoiceRecorder.js.map +1 -1
  263. package/cjs/{WebAudioUtils-58f47b3f.js → WebAudioUtils-cd45fa51.js} +1 -1
  264. package/cjs/{WebAudioUtils-58f47b3f.js.map → WebAudioUtils-cd45fa51.js.map} +1 -1
  265. package/cjs/{_rollupPluginBabelHelpers-5fad415d.js → _rollupPluginBabelHelpers-d68672d6.js} +1 -1
  266. package/cjs/_rollupPluginBabelHelpers-d68672d6.js.map +1 -0
  267. package/cjs/{actionTypes-6cbf2054.js → actionTypes-bf093246.js} +1 -1
  268. package/cjs/{actionTypes-6cbf2054.js.map → actionTypes-bf093246.js.map} +1 -1
  269. package/cjs/{color-026d07a6.js → color-bb9924cb.js} +1 -1
  270. package/cjs/{color-026d07a6.js.map → color-bb9924cb.js.map} +1 -1
  271. package/cjs/{compareIds-f064c47d.js → compareIds-96cdd2a0.js} +1 -1
  272. package/cjs/{compareIds-f064c47d.js.map → compareIds-96cdd2a0.js.map} +1 -1
  273. package/cjs/{const-692d0039.js → const-44ddbe54.js} +1 -1
  274. package/cjs/{const-692d0039.js.map → const-44ddbe54.js.map} +1 -1
  275. package/cjs/{const-0a12bf51.js → const-73fbd467.js} +1 -1
  276. package/cjs/{const-0a12bf51.js.map → const-73fbd467.js.map} +1 -1
  277. package/cjs/{consts-f0dc64d0.js → consts-2dfc1883.js} +1 -1
  278. package/cjs/{consts-f0dc64d0.js.map → consts-2dfc1883.js.map} +1 -1
  279. package/cjs/{consts-2f667487.js → consts-40680de5.js} +1 -1
  280. package/cjs/{consts-2f667487.js.map → consts-40680de5.js.map} +1 -1
  281. package/cjs/{consts-25fc4351.js → consts-4fbdb1d6.js} +1 -1
  282. package/cjs/{consts-25fc4351.js.map → consts-4fbdb1d6.js.map} +1 -1
  283. package/cjs/{consts-297fdae1.js → consts-ccfad912.js} +1 -1
  284. package/cjs/{consts-297fdae1.js.map → consts-ccfad912.js.map} +1 -1
  285. package/cjs/{context-ec9b8da1.js → context-cdc5a8dd.js} +2 -2
  286. package/cjs/{context-ec9b8da1.js.map → context-cdc5a8dd.js.map} +1 -1
  287. package/cjs/dist/index.css +737 -732
  288. package/cjs/dist/index.css.map +1 -1
  289. package/cjs/{index-a715eaef.js → index-0d4b8939.js} +2 -2
  290. package/cjs/{index-a715eaef.js.map → index-0d4b8939.js.map} +1 -1
  291. package/cjs/{index-162396f5.js → index-1ee86976.js} +3 -3
  292. package/cjs/{index-162396f5.js.map → index-1ee86976.js.map} +1 -1
  293. package/cjs/{index-9b38e167.js → index-2044d323.js} +4 -4
  294. package/cjs/{index-9b38e167.js.map → index-2044d323.js.map} +1 -1
  295. package/cjs/{index-80fc14fe.js → index-4ff12eb9.js} +2 -2
  296. package/cjs/{index-80fc14fe.js.map → index-4ff12eb9.js.map} +1 -1
  297. package/cjs/{index-606495e5.js → index-6d959b4d.js} +5 -5
  298. package/cjs/{index-606495e5.js.map → index-6d959b4d.js.map} +1 -1
  299. package/cjs/{index-0f42efcf.js → index-71def451.js} +1 -1
  300. package/cjs/{index-0f42efcf.js.map → index-71def451.js.map} +1 -1
  301. package/cjs/{index-dd9bc361.js → index-77c91851.js} +1 -1
  302. package/cjs/{index-dd9bc361.js.map → index-77c91851.js.map} +1 -1
  303. package/cjs/{index-33b67e46.js → index-7a9d2024.js} +3 -5
  304. package/cjs/index-7a9d2024.js.map +1 -0
  305. package/cjs/{index-0bd8e5f3.js → index-7b19a3f7.js} +6 -6
  306. package/cjs/{index-0bd8e5f3.js.map → index-7b19a3f7.js.map} +1 -1
  307. package/cjs/{index-6e05ddef.js → index-89314643.js} +35 -20
  308. package/cjs/index-89314643.js.map +1 -0
  309. package/cjs/{index-450be53e.js → index-adcca875.js} +4 -4
  310. package/cjs/{index-450be53e.js.map → index-adcca875.js.map} +1 -1
  311. package/cjs/{index-45cee454.js → index-b1485c4a.js} +2 -2
  312. package/cjs/{index-45cee454.js.map → index-b1485c4a.js.map} +1 -1
  313. package/cjs/{index-21392a2e.js → index-b6a49cba.js} +3 -3
  314. package/cjs/{index-21392a2e.js.map → index-b6a49cba.js.map} +1 -1
  315. package/cjs/{index-4881e776.js → index-ca51d316.js} +6 -6
  316. package/cjs/{index-4881e776.js.map → index-ca51d316.js.map} +1 -1
  317. package/cjs/{index-12ce8274.js → index-dada883d.js} +62 -24
  318. package/cjs/index-dada883d.js.map +1 -0
  319. package/cjs/{index-c89616c9.js → index-e766176d.js} +2 -2
  320. package/cjs/{index-c89616c9.js.map → index-e766176d.js.map} +1 -1
  321. package/cjs/{index-bf4e62fb.js → index-f7b329d2.js} +2 -2
  322. package/cjs/{index-bf4e62fb.js.map → index-f7b329d2.js.map} +1 -1
  323. package/cjs/index.js +58 -56
  324. package/cjs/index.js.map +1 -1
  325. package/cjs/{index.module-e5552393.js → index.module-3e11d4a7.js} +1 -1
  326. package/cjs/{index.module-e5552393.js.map → index.module-3e11d4a7.js.map} +1 -1
  327. package/cjs/resolvedReplyType-42ff3f75.js +32 -0
  328. package/cjs/resolvedReplyType-42ff3f75.js.map +1 -0
  329. package/cjs/sendbirdSelectors.js +3 -3
  330. package/cjs/{stringSet-d7f78de0.js → stringSet-0cddd94a.js} +3 -1
  331. package/cjs/stringSet-0cddd94a.js.map +1 -0
  332. package/cjs/{tokenize-595877b4.js → tokenize-75ed25db.js} +2 -2
  333. package/cjs/{tokenize-595877b4.js.map → tokenize-75ed25db.js.map} +1 -1
  334. package/cjs/{topics-2431bb78.js → topics-3e3eb86d.js} +1 -1
  335. package/cjs/{topics-2431bb78.js.map → topics-3e3eb86d.js.map} +1 -1
  336. package/cjs/{types-ef51254c.js → types-2138565d.js} +1 -1
  337. package/cjs/types-2138565d.js.map +1 -0
  338. package/cjs/ui/Accordion.js +2 -2
  339. package/cjs/ui/AccordionGroup.js +2 -2
  340. package/cjs/ui/AdminMessage.js +2 -2
  341. package/cjs/ui/Avatar.js +1 -1
  342. package/cjs/ui/Badge.js +4 -4
  343. package/cjs/ui/BottomSheet.js +1 -1
  344. package/cjs/ui/Button.js +2 -2
  345. package/cjs/ui/ChannelAvatar.js +2 -2
  346. package/cjs/ui/ConnectionStatus.js +4 -4
  347. package/cjs/ui/ContextMenu.js +5 -5
  348. package/cjs/ui/DateSeparator.js +3 -3
  349. package/cjs/ui/EmojiReactions.js +13 -13
  350. package/cjs/ui/FileMessageItemBody.js +6 -6
  351. package/cjs/ui/FileViewer.js +8 -8
  352. package/cjs/ui/IconButton.js +1 -1
  353. package/cjs/ui/Input.js +2 -2
  354. package/cjs/ui/Label.js +2 -2
  355. package/cjs/ui/LinkLabel.js +2 -2
  356. package/cjs/ui/MentionLabel.js +10 -10
  357. package/cjs/ui/MentionUserLabel.js +1 -1
  358. package/cjs/ui/MessageContent.js +35 -33
  359. package/cjs/ui/MessageContent.js.map +1 -1
  360. package/cjs/ui/MessageInput.js +70 -17
  361. package/cjs/ui/MessageInput.js.map +1 -1
  362. package/cjs/ui/MessageItemMenu.js +8 -8
  363. package/cjs/ui/MessageItemReactionMenu.js +8 -8
  364. package/cjs/ui/MessageSearchFileItem.js +10 -10
  365. package/cjs/ui/MessageSearchItem.js +8 -8
  366. package/cjs/ui/MessageStatus.js +10 -10
  367. package/cjs/ui/Modal.js +7 -7
  368. package/cjs/ui/OGMessageItemBody.js +14 -14
  369. package/cjs/ui/OpenChannelAdminMessage.js +2 -2
  370. package/cjs/ui/OpenChannelAvatar.js +5 -5
  371. package/cjs/ui/OpenchannelConversationHeader.js +6 -6
  372. package/cjs/ui/OpenchannelFileMessage.js +17 -17
  373. package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
  374. package/cjs/ui/OpenchannelOGMessage.js +21 -21
  375. package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
  376. package/cjs/ui/OpenchannelThumbnailMessage.js +16 -16
  377. package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
  378. package/cjs/ui/OpenchannelUserMessage.js +20 -21
  379. package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
  380. package/cjs/ui/PlaceHolder.js +5 -5
  381. package/cjs/ui/PlaybackTime.js +2 -2
  382. package/cjs/ui/QuoteMessage.js +7 -7
  383. package/cjs/ui/QuoteMessage.js.map +1 -1
  384. package/cjs/ui/QuoteMessageInput.js +6 -6
  385. package/cjs/ui/ReactionBadge.js +2 -2
  386. package/cjs/ui/ReactionButton.js +4 -4
  387. package/cjs/ui/SortByRow.js +1 -1
  388. package/cjs/ui/TextButton.js +1 -1
  389. package/cjs/ui/TextMessageItemBody.js +14 -14
  390. package/cjs/ui/ThreadReplies.js +5 -5
  391. package/cjs/ui/ThumbnailMessageItemBody.js +6 -13
  392. package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
  393. package/cjs/ui/Toggle.js +1 -1
  394. package/cjs/ui/Tooltip.js +2 -2
  395. package/cjs/ui/UnknownMessageItemBody.js +6 -6
  396. package/cjs/ui/UserListItem.js +10 -10
  397. package/cjs/ui/UserProfile.js +9 -9
  398. package/cjs/ui/VoiceMessageItemBody.js +17 -6
  399. package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
  400. package/cjs/ui/VoiceMessgeInput.js +7 -7
  401. package/cjs/ui/Word.js +10 -10
  402. package/cjs/{useDirtyGetMentions-cc7de01f.js → useDirtyGetMentions-9945a1c0.js} +1 -1
  403. package/cjs/{useDirtyGetMentions-cc7de01f.js.map → useDirtyGetMentions-9945a1c0.js.map} +1 -1
  404. package/cjs/{useLongPress-68ad7161.js → useLongPress-5174fd42.js} +3 -3
  405. package/cjs/{useLongPress-68ad7161.js.map → useLongPress-5174fd42.js.map} +1 -1
  406. package/cjs/useSendbirdStateContext.js +1 -1
  407. package/cjs/utils/message/isVoiceMessage.js +2 -2
  408. package/cjs/{utils-53aa911b.js → utils-2ef71eef.js} +1 -1
  409. package/cjs/{utils-53aa911b.js.map → utils-2ef71eef.js.map} +1 -1
  410. package/cjs/{utils-279e7553.js → utils-37a5dfde.js} +1 -1
  411. package/cjs/{utils-279e7553.js.map → utils-37a5dfde.js.map} +1 -1
  412. package/cjs/{utils-080f7835.js → utils-a7008e7b.js} +2 -2
  413. package/cjs/{utils-080f7835.js.map → utils-a7008e7b.js.map} +1 -1
  414. package/cjs/{utils-58e012fb.js → utils-f1c0d384.js} +1 -1
  415. package/cjs/{utils-58e012fb.js.map → utils-f1c0d384.js.map} +1 -1
  416. package/cjs/{uuid-2953f4dd.js → uuid-075367f7.js} +1 -1
  417. package/cjs/{uuid-2953f4dd.js.map → uuid-075367f7.js.map} +1 -1
  418. package/cjs/withSendbird.js +1 -1
  419. package/{color-879cc347.js → color-85cde5a7.js} +1 -1
  420. package/{color-879cc347.js.map → color-85cde5a7.js.map} +1 -1
  421. package/{compareIds-defe2bb3.js → compareIds-3e3591cb.js} +1 -1
  422. package/{compareIds-defe2bb3.js.map → compareIds-3e3591cb.js.map} +1 -1
  423. package/{const-b3f02313.js → const-2109eff9.js} +1 -1
  424. package/{const-b3f02313.js.map → const-2109eff9.js.map} +1 -1
  425. package/{const-221c6a89.js → const-91fefb8e.js} +1 -1
  426. package/{const-221c6a89.js.map → const-91fefb8e.js.map} +1 -1
  427. package/{consts-81544e52.js → consts-b6194fdf.js} +1 -1
  428. package/{consts-81544e52.js.map → consts-b6194fdf.js.map} +1 -1
  429. package/{consts-95d8566e.js → consts-bd5c0783.js} +1 -1
  430. package/{consts-95d8566e.js.map → consts-bd5c0783.js.map} +1 -1
  431. package/{consts-c41580ae.js → consts-d9de055a.js} +1 -1
  432. package/{consts-c41580ae.js.map → consts-d9de055a.js.map} +1 -1
  433. package/{consts-ff014656.js → consts-fafa501c.js} +1 -1
  434. package/{consts-ff014656.js.map → consts-fafa501c.js.map} +1 -1
  435. package/{context-63cbe5bd.js → context-b6e563d1.js} +2 -2
  436. package/{context-63cbe5bd.js.map → context-b6e563d1.js.map} +1 -1
  437. package/dist/index.css +737 -732
  438. package/dist/index.css.map +1 -1
  439. package/{index-cef1cfff.js → index-10472187.js} +3 -3
  440. package/{index-cef1cfff.js.map → index-10472187.js.map} +1 -1
  441. package/{index-fb8a5bc3.js → index-1a6d4397.js} +5 -5
  442. package/{index-fb8a5bc3.js.map → index-1a6d4397.js.map} +1 -1
  443. package/{index-f7ec60a8.js → index-2f7c2c8a.js} +2 -2
  444. package/{index-f7ec60a8.js.map → index-2f7c2c8a.js.map} +1 -1
  445. package/{index-2c3e11ea.js → index-31eb43c8.js} +4 -4
  446. package/{index-2c3e11ea.js.map → index-31eb43c8.js.map} +1 -1
  447. package/{index-99aabd9e.js → index-3515f8f3.js} +1 -1
  448. package/{index-99aabd9e.js.map → index-3515f8f3.js.map} +1 -1
  449. package/{index-7eb65acf.js → index-39f0a98e.js} +4 -5
  450. package/index-39f0a98e.js.map +1 -0
  451. package/{index-e6e562c5.js → index-3a6d5e45.js} +4 -4
  452. package/{index-e6e562c5.js.map → index-3a6d5e45.js.map} +1 -1
  453. package/{index-eaf0d65b.js → index-76929e40.js} +6 -6
  454. package/{index-eaf0d65b.js.map → index-76929e40.js.map} +1 -1
  455. package/{index-63949de5.js → index-8fb5d71a.js} +2 -2
  456. package/{index-63949de5.js.map → index-8fb5d71a.js.map} +1 -1
  457. package/{index-9e49ffe3.js → index-94ed0e50.js} +2 -2
  458. package/{index-9e49ffe3.js.map → index-94ed0e50.js.map} +1 -1
  459. package/{index-aca30408.js → index-9730aae6.js} +35 -20
  460. package/index-9730aae6.js.map +1 -0
  461. package/{index-38e61c64.js → index-a27543ed.js} +1 -1
  462. package/{index-38e61c64.js.map → index-a27543ed.js.map} +1 -1
  463. package/{index-fe932783.js → index-b05a5803.js} +2 -2
  464. package/{index-fe932783.js.map → index-b05a5803.js.map} +1 -1
  465. package/{index-306bc4ab.js → index-bbf4f597.js} +3 -3
  466. package/{index-306bc4ab.js.map → index-bbf4f597.js.map} +1 -1
  467. package/{index-5c1b672d.js → index-bf4f0a7e.js} +6 -6
  468. package/{index-5c1b672d.js.map → index-bf4f0a7e.js.map} +1 -1
  469. package/{index-5c985608.js → index-c54a357d.js} +62 -25
  470. package/index-c54a357d.js.map +1 -0
  471. package/{index-7cdd58b8.js → index-d847ae45.js} +2 -2
  472. package/{index-7cdd58b8.js.map → index-d847ae45.js.map} +1 -1
  473. package/index.d.ts +7 -3
  474. package/index.js +58 -56
  475. package/index.js.map +1 -1
  476. package/{index.module-54d57ec3.js → index.module-9faf1703.js} +1 -1
  477. package/{index.module-54d57ec3.js.map → index.module-9faf1703.js.map} +1 -1
  478. package/package.json +3 -2
  479. package/resolvedReplyType-f5cc6c0b.js +29 -0
  480. package/resolvedReplyType-f5cc6c0b.js.map +1 -0
  481. package/sendbirdSelectors.js +3 -3
  482. package/{stringSet-13bbd4a2.js → stringSet-d0b92983.js} +3 -1
  483. package/stringSet-d0b92983.js.map +1 -0
  484. package/{tokenize-c40f2b57.js → tokenize-fd0af52f.js} +2 -2
  485. package/{tokenize-c40f2b57.js.map → tokenize-fd0af52f.js.map} +1 -1
  486. package/{topics-b2b77fb9.js → topics-8aa96837.js} +1 -1
  487. package/{topics-b2b77fb9.js.map → topics-8aa96837.js.map} +1 -1
  488. package/{types-4ff4177c.js → types-7f0754fd.js} +1 -1
  489. package/types-7f0754fd.js.map +1 -0
  490. package/ui/Accordion.js +2 -2
  491. package/ui/AccordionGroup.js +2 -2
  492. package/ui/AdminMessage.js +2 -2
  493. package/ui/Avatar.js +1 -1
  494. package/ui/Badge.js +4 -4
  495. package/ui/BottomSheet.js +1 -1
  496. package/ui/Button.js +2 -2
  497. package/ui/ChannelAvatar.js +2 -2
  498. package/ui/ConnectionStatus.js +4 -4
  499. package/ui/ContextMenu.js +5 -5
  500. package/ui/DateSeparator.js +3 -3
  501. package/ui/EmojiReactions.js +13 -13
  502. package/ui/FileMessageItemBody.js +6 -6
  503. package/ui/FileViewer.js +8 -8
  504. package/ui/IconButton.js +1 -1
  505. package/ui/Input.js +2 -2
  506. package/ui/Label.js +2 -2
  507. package/ui/LinkLabel.js +2 -2
  508. package/ui/MentionLabel.js +10 -10
  509. package/ui/MentionUserLabel.js +1 -1
  510. package/ui/MessageContent.js +35 -33
  511. package/ui/MessageContent.js.map +1 -1
  512. package/ui/MessageInput.js +71 -18
  513. package/ui/MessageInput.js.map +1 -1
  514. package/ui/MessageItemMenu.js +8 -8
  515. package/ui/MessageItemReactionMenu.js +8 -8
  516. package/ui/MessageSearchFileItem.js +10 -10
  517. package/ui/MessageSearchItem.js +8 -8
  518. package/ui/MessageStatus.js +10 -10
  519. package/ui/Modal.js +7 -7
  520. package/ui/OGMessageItemBody.js +14 -14
  521. package/ui/OpenChannelAdminMessage.js +2 -2
  522. package/ui/OpenChannelAvatar.js +5 -5
  523. package/ui/OpenchannelConversationHeader.js +6 -6
  524. package/ui/OpenchannelFileMessage.js +17 -17
  525. package/ui/OpenchannelFileMessage.js.map +1 -1
  526. package/ui/OpenchannelOGMessage.js +21 -21
  527. package/ui/OpenchannelOGMessage.js.map +1 -1
  528. package/ui/OpenchannelThumbnailMessage.js +16 -16
  529. package/ui/OpenchannelThumbnailMessage.js.map +1 -1
  530. package/ui/OpenchannelUserMessage.js +20 -21
  531. package/ui/OpenchannelUserMessage.js.map +1 -1
  532. package/ui/PlaceHolder.js +5 -5
  533. package/ui/PlaybackTime.js +2 -2
  534. package/ui/QuoteMessage.js +7 -7
  535. package/ui/QuoteMessage.js.map +1 -1
  536. package/ui/QuoteMessageInput.js +6 -6
  537. package/ui/ReactionBadge.js +2 -2
  538. package/ui/ReactionButton.js +4 -4
  539. package/ui/SortByRow.js +1 -1
  540. package/ui/TextButton.js +1 -1
  541. package/ui/TextMessageItemBody.js +14 -14
  542. package/ui/ThreadReplies.js +5 -5
  543. package/ui/ThumbnailMessageItemBody.js +6 -13
  544. package/ui/ThumbnailMessageItemBody.js.map +1 -1
  545. package/ui/Toggle.js +1 -1
  546. package/ui/Tooltip.js +2 -2
  547. package/ui/UnknownMessageItemBody.js +6 -6
  548. package/ui/UserListItem.js +10 -10
  549. package/ui/UserProfile.js +9 -9
  550. package/ui/VoiceMessageItemBody.js +17 -6
  551. package/ui/VoiceMessageItemBody.js.map +1 -1
  552. package/ui/VoiceMessgeInput.js +7 -7
  553. package/ui/Word.js +10 -10
  554. package/{useDirtyGetMentions-aa730e2c.js → useDirtyGetMentions-5b631226.js} +1 -1
  555. package/{useDirtyGetMentions-aa730e2c.js.map → useDirtyGetMentions-5b631226.js.map} +1 -1
  556. package/{useLongPress-1303953d.js → useLongPress-700ef78f.js} +3 -3
  557. package/{useLongPress-1303953d.js.map → useLongPress-700ef78f.js.map} +1 -1
  558. package/useSendbirdStateContext.js +1 -1
  559. package/utils/message/isVoiceMessage.js +2 -2
  560. package/{utils-4bbbca2c.js → utils-0e2c993e.js} +1 -1
  561. package/{utils-4bbbca2c.js.map → utils-0e2c993e.js.map} +1 -1
  562. package/{utils-d86ad6ab.js → utils-6763f910.js} +1 -1
  563. package/{utils-d86ad6ab.js.map → utils-6763f910.js.map} +1 -1
  564. package/{utils-a2009c36.js → utils-8c4a9896.js} +1 -1
  565. package/{utils-a2009c36.js.map → utils-8c4a9896.js.map} +1 -1
  566. package/{utils-30d3ca65.js → utils-9de25bcb.js} +2 -2
  567. package/{utils-30d3ca65.js.map → utils-9de25bcb.js.map} +1 -1
  568. package/{uuid-1adedf62.js → uuid-eadf9a09.js} +1 -1
  569. package/{uuid-1adedf62.js.map → uuid-eadf9a09.js.map} +1 -1
  570. package/withSendbird.js +1 -1
  571. package/ChannelProvider-910bbc1f.js.map +0 -1
  572. package/MediaQueryContext-11f0e43f.js.map +0 -1
  573. package/MemberList-061d186f.js.map +0 -1
  574. package/ThreadProvider-3a4a4db0.js.map +0 -1
  575. package/VoiceMessageInputWrapper-dc459df1.js.map +0 -1
  576. package/_rollupPluginBabelHelpers-6bb0305c.js.map +0 -1
  577. package/cjs/ChannelProvider-da7b08a1.js.map +0 -1
  578. package/cjs/MediaQueryContext-f1e8fdbc.js.map +0 -1
  579. package/cjs/ThreadProvider-654b9db0.js.map +0 -1
  580. package/cjs/VoiceMessageInputWrapper-2aaed45b.js.map +0 -1
  581. package/cjs/_rollupPluginBabelHelpers-5fad415d.js.map +0 -1
  582. package/cjs/index-12ce8274.js.map +0 -1
  583. package/cjs/index-33b67e46.js.map +0 -1
  584. package/cjs/index-6e05ddef.js.map +0 -1
  585. package/cjs/stringSet-d7f78de0.js.map +0 -1
  586. package/cjs/types-ef51254c.js.map +0 -1
  587. package/index-5c985608.js.map +0 -1
  588. package/index-7eb65acf.js.map +0 -1
  589. package/index-aca30408.js.map +0 -1
  590. package/stringSet-13bbd4a2.js.map +0 -1
  591. package/types-4ff4177c.js.map +0 -1
@@ -1,73 +1,75 @@
1
1
  import React__default from 'react';
2
2
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
3
- import { u as useChannelContext } from '../../ChannelProvider-910bbc1f.js';
4
- import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-cef1cfff.js';
3
+ import { u as useChannelContext } from '../../ChannelProvider-e1ddeda2.js';
4
+ import { P as PlaceHolder, a as PlaceHolderTypes } from '../../index-10472187.js';
5
5
  import ConnectionStatus from '../../ui/ConnectionStatus.js';
6
6
  import ChannelHeader from './ChannelHeader.js';
7
7
  import MessageList from './MessageList.js';
8
8
  import TypingIndicator from './TypingIndicator.js';
9
9
  import MessageInputWrapper from './MessageInput.js';
10
10
  import '../../withSendbird.js';
11
- import '../../_rollupPluginBabelHelpers-6bb0305c.js';
12
- import '../../UserProfileContext-9cfbab4d.js';
11
+ import '../../_rollupPluginBabelHelpers-34fc6689.js';
12
+ import '../../UserProfileContext-cf8bb199.js';
13
13
  import 'prop-types';
14
- import '../../index-7cdd58b8.js';
15
- import '../../index-99aabd9e.js';
16
- import '../../topics-b2b77fb9.js';
17
- import '../../index-7eb65acf.js';
14
+ import '../../const-2109eff9.js';
15
+ import '../../index-d847ae45.js';
16
+ import '../../index-3515f8f3.js';
17
+ import '../../topics-8aa96837.js';
18
+ import '../../index-39f0a98e.js';
18
19
  import '../../utils/message/getOutgoingMessageState.js';
19
- import '../../compareIds-defe2bb3.js';
20
- import '../../const-b3f02313.js';
20
+ import '../../compareIds-3e3591cb.js';
21
21
  import '@sendbird/chat/groupChannel';
22
- import '../../uuid-1adedf62.js';
22
+ import '../../uuid-eadf9a09.js';
23
23
  import '@sendbird/chat/message';
24
- import '../../consts-95d8566e.js';
25
- import '../../LocalizationContext-076d6d2e.js';
26
- import '../../stringSet-13bbd4a2.js';
24
+ import '../../consts-bd5c0783.js';
25
+ import '../../resolvedReplyType-f5cc6c0b.js';
26
+ import '../../LocalizationContext-2a605cc6.js';
27
+ import '../../stringSet-d0b92983.js';
27
28
  import '../../ui/Icon.js';
28
- import '../../index-63949de5.js';
29
+ import '../../index-8fb5d71a.js';
29
30
  import '../../ui/Loader.js';
30
- import '../../utils-30d3ca65.js';
31
+ import '../../utils-9de25bcb.js';
31
32
  import '../../ui/IconButton.js';
32
33
  import '../../ui/ChannelAvatar.js';
33
34
  import '../../ui/Avatar.js';
34
35
  import '../../ui/ImageRenderer.js';
35
- import '../../utils-d86ad6ab.js';
36
- import '../../MediaQueryContext-11f0e43f.js';
37
- import '../../utils-4bbbca2c.js';
36
+ import '../../utils-6763f910.js';
37
+ import '../../MediaQueryContext-9a1ce18e.js';
38
+ import '../../utils-0e2c993e.js';
38
39
  import './Message.js';
39
40
  import './SuggestedMentionList.js';
40
- import '../../const-221c6a89.js';
41
- import '../../ThreadProvider-3a4a4db0.js';
41
+ import '../../const-91fefb8e.js';
42
+ import '../../ThreadProvider-1799dbab.js';
42
43
  import '../../Thread/context/types.js';
43
44
  import '@sendbird/chat';
44
45
  import '../../ui/DateSeparator.js';
45
- import '../../color-879cc347.js';
46
+ import '../../color-85cde5a7.js';
46
47
  import '../../ui/MessageInput.js';
47
48
  import '../../ui/Button.js';
48
49
  import 'dompurify';
49
- import '../../consts-ff014656.js';
50
- import '../../consts-c41580ae.js';
51
- import '../../consts-81544e52.js';
52
- import '../../tokenize-c40f2b57.js';
50
+ import '../../consts-fafa501c.js';
51
+ import '../../consts-d9de055a.js';
52
+ import '../../consts-b6194fdf.js';
53
+ import '../../tokenize-fd0af52f.js';
54
+ import '../../index.module-9faf1703.js';
53
55
  import '../../ui/MessageContent.js';
54
56
  import '../../ui/UserProfile.js';
55
57
  import '../../sendbirdSelectors.js';
56
- import '../../index-5c1b672d.js';
57
- import '../../index-306bc4ab.js';
58
- import '../../index-fe932783.js';
58
+ import '../../index-bf4f0a7e.js';
59
+ import '../../index-bbf4f597.js';
60
+ import '../../index-b05a5803.js';
59
61
  import '../../ui/MessageItemMenu.js';
60
62
  import '../../ui/ContextMenu.js';
61
63
  import 'react-dom';
62
64
  import '../../ui/SortByRow.js';
63
- import '../../types-4ff4177c.js';
65
+ import '../../types-7f0754fd.js';
64
66
  import '../../ui/MessageItemReactionMenu.js';
65
67
  import '../../ui/ReactionButton.js';
66
- import '../../useLongPress-1303953d.js';
68
+ import '../../useLongPress-700ef78f.js';
67
69
  import '../../ui/EmojiReactions.js';
68
70
  import '../../ui/ReactionBadge.js';
69
71
  import '../../ui/BottomSheet.js';
70
- import '../../index-38e61c64.js';
72
+ import '../../index-a27543ed.js';
71
73
  import '../../ui/UserListItem.js';
72
74
  import '../../ui/MutedAvatarOverlay.js';
73
75
  import '../../ui/Checkbox.js';
@@ -76,8 +78,7 @@ import '../../ui/TooltipWrapper.js';
76
78
  import '../../Message/context.js';
77
79
  import '../../ui/AdminMessage.js';
78
80
  import '../../ui/TextMessageItemBody.js';
79
- import '../../index-2c3e11ea.js';
80
- import '../../index.module-54d57ec3.js';
81
+ import '../../index-31eb43c8.js';
81
82
  import '../../ui/MentionLabel.js';
82
83
  import '../../ui/LinkLabel.js';
83
84
  import '../../ui/FileMessageItemBody.js';
@@ -86,28 +87,28 @@ import '../../ui/ThumbnailMessageItemBody.js';
86
87
  import '../../ui/OGMessageItemBody.js';
87
88
  import '../../ui/UnknownMessageItemBody.js';
88
89
  import '../../ui/QuoteMessage.js';
89
- import '../../index-aca30408.js';
90
+ import '../../index-9730aae6.js';
90
91
  import '../../ui/ThreadReplies.js';
91
92
  import '../../ui/VoiceMessageItemBody.js';
92
93
  import '../../ui/ProgressBar.js';
93
94
  import '../../VoicePlayer/useVoicePlayer.js';
94
- import '../../index-5c985608.js';
95
+ import '../../index-c54a357d.js';
95
96
  import '../../VoiceRecorder/context.js';
97
+ import '../../ui/Modal.js';
96
98
  import '../../ui/PlaybackTime.js';
97
99
  import './FileViewer.js';
98
100
  import './RemoveMessageModal.js';
99
- import '../../ui/Modal.js';
100
- import '../../index-9e49ffe3.js';
101
- import '../../useDirtyGetMentions-aa730e2c.js';
101
+ import '../../index-94ed0e50.js';
102
+ import '../../useDirtyGetMentions-5b631226.js';
102
103
  import './UnreadCount.js';
103
104
  import './FrozenNotification.js';
104
105
  import '../../ui/QuoteMessageInput.js';
105
- import '../../VoiceMessageInputWrapper-dc459df1.js';
106
+ import '../../VoiceMessageInputWrapper-276b625e.js';
106
107
  import '../../VoiceRecorder/useVoiceRecorder.js';
107
- import '../../index-e6e562c5.js';
108
+ import '../../index-3a6d5e45.js';
108
109
 
109
110
  const ChannelUI = _ref => {
110
- var _globalStore$stores, _globalStore$stores$s, _globalStore$config, _globalStore$config2;
111
+ var _globalStore$stores, _globalStore$stores$s, _globalStore$config, _globalStore$config2, _globalStore$config3, _globalStore$config3$;
111
112
  let {
112
113
  isLoading,
113
114
  renderPlaceholderLoader,
@@ -181,7 +182,7 @@ const ChannelUI = _ref => {
181
182
  renderSendMessageIcon: renderSendMessageIcon
182
183
  }), /*#__PURE__*/React__default.createElement("div", {
183
184
  className: "sendbird-conversation__footer__typing-indicator"
184
- }, (renderTypingIndicator === null || renderTypingIndicator === void 0 ? void 0 : renderTypingIndicator()) || /*#__PURE__*/React__default.createElement(TypingIndicator, null), !isOnline && /*#__PURE__*/React__default.createElement(ConnectionStatus, null))));
185
+ }, (renderTypingIndicator === null || renderTypingIndicator === void 0 ? void 0 : renderTypingIndicator()) || (globalStore === null || globalStore === void 0 ? void 0 : (_globalStore$config3 = globalStore.config) === null || _globalStore$config3 === void 0 ? void 0 : (_globalStore$config3$ = _globalStore$config3.groupChannel) === null || _globalStore$config3$ === void 0 ? void 0 : _globalStore$config3$.enableTypingIndicator) && /*#__PURE__*/React__default.createElement(TypingIndicator, null), !isOnline && /*#__PURE__*/React__default.createElement(ConnectionStatus, null))));
185
186
  };
186
187
 
187
188
  export { ChannelUI as default };
@@ -1 +1 @@
1
- {"version":3,"file":"ChannelUI.js","sources":["../../../src/modules/Channel/components/ChannelUI/index.tsx"],"sourcesContent":["import './channel-ui.scss';\n\nimport React from 'react';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\n\nimport { useChannelContext } from '../../context/ChannelProvider';\nimport PlaceHolder, { PlaceHolderTypes } from '../../../../ui/PlaceHolder';\nimport ConnectionStatus from '../../../../ui/ConnectionStatus';\nimport ChannelHeader from '../ChannelHeader';\nimport MessageList from '../MessageList';\nimport TypingIndicator from '../TypingIndicator';\nimport MessageInputWrapper from '../MessageInput';\nimport { RenderCustomSeparatorProps, RenderMessageProps } from '../../../../types';\n\nexport interface ChannelUIProps {\n isLoading?: boolean;\n renderPlaceholderLoader?: () => React.ReactElement;\n renderPlaceholderInvalid?: () => React.ReactElement;\n renderPlaceholderEmpty?: () => React.ReactElement;\n renderChannelHeader?: () => React.ReactElement;\n renderMessage?: (props: RenderMessageProps) => React.ReactElement;\n renderMessageInput?: () => React.ReactElement;\n renderFileUploadIcon?: () => React.ReactElement;\n renderVoiceMessageIcon?: () => React.ReactElement;\n renderSendMessageIcon?: () => React.ReactElement;\n renderTypingIndicator?: () => React.ReactElement;\n renderCustomSeparator?: (props: RenderCustomSeparatorProps) => React.ReactElement;\n}\n\nconst ChannelUI: React.FC<ChannelUIProps> = ({\n isLoading,\n renderPlaceholderLoader,\n renderPlaceholderInvalid,\n renderPlaceholderEmpty,\n renderChannelHeader,\n renderMessage,\n renderMessageInput,\n renderTypingIndicator,\n renderCustomSeparator,\n renderFileUploadIcon,\n renderVoiceMessageIcon,\n renderSendMessageIcon,\n}: ChannelUIProps) => {\n const {\n channelUrl,\n isInvalid,\n } = useChannelContext();\n\n const globalStore = useSendbirdStateContext();\n const sdkError = globalStore?.stores?.sdkStore?.error;\n const logger = globalStore?.config?.logger;\n const isOnline = globalStore?.config?.isOnline;\n\n if (isLoading) {\n return (<div className=\"sendbird-conversation\">\n {\n renderPlaceholderLoader?.() || (\n <PlaceHolder type={PlaceHolderTypes.LOADING} />\n )\n }\n </div>);\n }\n\n if (!channelUrl) {\n return (<div className=\"sendbird-conversation\">\n {\n renderPlaceholderInvalid?.() || (\n <PlaceHolder type={PlaceHolderTypes.NO_CHANNELS} />\n )\n }\n </div>);\n }\n if (isInvalid) {\n return (\n <div className=\"sendbird-conversation\">\n {\n renderPlaceholderInvalid?.() || (\n <PlaceHolder type={PlaceHolderTypes.WRONG} />\n )\n }\n </div>\n );\n }\n if (sdkError) {\n return (\n <div className=\"sendbird-conversation\">\n {\n renderPlaceholderInvalid?.() || (\n <PlaceHolder\n type={PlaceHolderTypes.WRONG}\n retryToConnect={() => {\n logger.info('Channel: reconnecting');\n // reconnect();\n }}\n />\n )\n }\n </div>\n );\n }\n return (\n <div className='sendbird-conversation'>\n {renderChannelHeader?.() || (\n <ChannelHeader className=\"sendbird-conversation__channel-header\" />\n )}\n <MessageList\n className=\"sendbird-conversation__message-list\"\n renderMessage={renderMessage}\n renderPlaceholderEmpty={renderPlaceholderEmpty}\n renderCustomSeparator={renderCustomSeparator}\n renderPlaceholderLoader={renderPlaceholderLoader}\n />\n <div className=\"sendbird-conversation__footer\">\n {\n renderMessageInput?.() || (\n <MessageInputWrapper\n renderFileUploadIcon={renderFileUploadIcon}\n renderVoiceMessageIcon={renderVoiceMessageIcon}\n renderSendMessageIcon={renderSendMessageIcon}\n />\n )\n }\n <div className=\"sendbird-conversation__footer__typing-indicator\">\n {\n renderTypingIndicator?.() || (\n <TypingIndicator />\n )\n }\n {\n !isOnline && (\n <ConnectionStatus />\n )\n }\n </div>\n </div>\n </div>\n );\n};\n\nexport default ChannelUI;\n"],"names":["ChannelUI","_ref","_globalStore$stores","_globalStore$stores$s","_globalStore$config","_globalStore$config2","isLoading","renderPlaceholderLoader","renderPlaceholderInvalid","renderPlaceholderEmpty","renderChannelHeader","renderMessage","renderMessageInput","renderTypingIndicator","renderCustomSeparator","renderFileUploadIcon","renderVoiceMessageIcon","renderSendMessageIcon","channelUrl","isInvalid","useChannelContext","globalStore","useSendbirdStateContext","sdkError","stores","sdkStore","error","logger","config","isOnline","React","createElement","className","PlaceHolder","type","PlaceHolderTypes","LOADING","NO_CHANNELS","WRONG","retryToConnect","info","ChannelHeader","MessageList","MessageInputWrapper","TypingIndicator","ConnectionStatus"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BMA,MAAAA,SAAmC,GAAGC,IAAA,IAatB;AAAA,EAAA,IAAAC,mBAAA,EAAAC,qBAAA,EAAAC,mBAAA,EAAAC,oBAAA,CAAA;EAAA,IAbuB;IAC3CC,SAAS;IACTC,uBAAuB;IACvBC,wBAAwB;IACxBC,sBAAsB;IACtBC,mBAAmB;IACnBC,aAAa;IACbC,kBAAkB;IAClBC,qBAAqB;IACrBC,qBAAqB;IACrBC,oBAAoB;IACpBC,sBAAsB;AACtBC,IAAAA,qBAAAA;AACc,GAAC,GAAAhB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CAAAC,aAAA,CAACa,eAAe,OACjB,EAGD,CAACf,QAAQ,iBACPC,cAAA,CAAAC,aAAA,CAACc,gBAAgB,EAAA,IAAA,CAClB,CAEC,CACF,CACF,CAAA;AAEV;;;;"}
1
+ {"version":3,"file":"ChannelUI.js","sources":["../../../src/modules/Channel/components/ChannelUI/index.tsx"],"sourcesContent":["import './channel-ui.scss';\n\nimport React from 'react';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\n\nimport { useChannelContext } from '../../context/ChannelProvider';\nimport PlaceHolder, { PlaceHolderTypes } from '../../../../ui/PlaceHolder';\nimport ConnectionStatus from '../../../../ui/ConnectionStatus';\nimport ChannelHeader from '../ChannelHeader';\nimport MessageList from '../MessageList';\nimport TypingIndicator from '../TypingIndicator';\nimport MessageInputWrapper from '../MessageInput';\nimport { RenderCustomSeparatorProps, RenderMessageProps } from '../../../../types';\n\nexport interface ChannelUIProps {\n isLoading?: boolean;\n renderPlaceholderLoader?: () => React.ReactElement;\n renderPlaceholderInvalid?: () => React.ReactElement;\n renderPlaceholderEmpty?: () => React.ReactElement;\n renderChannelHeader?: () => React.ReactElement;\n renderMessage?: (props: RenderMessageProps) => React.ReactElement;\n renderMessageInput?: () => React.ReactElement;\n renderFileUploadIcon?: () => React.ReactElement;\n renderVoiceMessageIcon?: () => React.ReactElement;\n renderSendMessageIcon?: () => React.ReactElement;\n renderTypingIndicator?: () => React.ReactElement;\n renderCustomSeparator?: (props: RenderCustomSeparatorProps) => React.ReactElement;\n}\n\nconst ChannelUI: React.FC<ChannelUIProps> = ({\n isLoading,\n renderPlaceholderLoader,\n renderPlaceholderInvalid,\n renderPlaceholderEmpty,\n renderChannelHeader,\n renderMessage,\n renderMessageInput,\n renderTypingIndicator,\n renderCustomSeparator,\n renderFileUploadIcon,\n renderVoiceMessageIcon,\n renderSendMessageIcon,\n}: ChannelUIProps) => {\n const {\n channelUrl,\n isInvalid,\n } = useChannelContext();\n\n const globalStore = useSendbirdStateContext();\n const sdkError = globalStore?.stores?.sdkStore?.error;\n const logger = globalStore?.config?.logger;\n const isOnline = globalStore?.config?.isOnline;\n\n if (isLoading) {\n return (<div className=\"sendbird-conversation\">\n {\n renderPlaceholderLoader?.() || (\n <PlaceHolder type={PlaceHolderTypes.LOADING} />\n )\n }\n </div>);\n }\n\n if (!channelUrl) {\n return (<div className=\"sendbird-conversation\">\n {\n renderPlaceholderInvalid?.() || (\n <PlaceHolder type={PlaceHolderTypes.NO_CHANNELS} />\n )\n }\n </div>);\n }\n if (isInvalid) {\n return (\n <div className=\"sendbird-conversation\">\n {\n renderPlaceholderInvalid?.() || (\n <PlaceHolder type={PlaceHolderTypes.WRONG} />\n )\n }\n </div>\n );\n }\n if (sdkError) {\n return (\n <div className=\"sendbird-conversation\">\n {\n renderPlaceholderInvalid?.() || (\n <PlaceHolder\n type={PlaceHolderTypes.WRONG}\n retryToConnect={() => {\n logger.info('Channel: reconnecting');\n // reconnect();\n }}\n />\n )\n }\n </div>\n );\n }\n return (\n <div className='sendbird-conversation'>\n {renderChannelHeader?.() || (\n <ChannelHeader className=\"sendbird-conversation__channel-header\" />\n )}\n <MessageList\n className=\"sendbird-conversation__message-list\"\n renderMessage={renderMessage}\n renderPlaceholderEmpty={renderPlaceholderEmpty}\n renderCustomSeparator={renderCustomSeparator}\n renderPlaceholderLoader={renderPlaceholderLoader}\n />\n <div className=\"sendbird-conversation__footer\">\n {\n renderMessageInput?.() || (\n <MessageInputWrapper\n renderFileUploadIcon={renderFileUploadIcon}\n renderVoiceMessageIcon={renderVoiceMessageIcon}\n renderSendMessageIcon={renderSendMessageIcon}\n />\n )\n }\n <div className=\"sendbird-conversation__footer__typing-indicator\">\n {\n renderTypingIndicator?.()\n || globalStore?.config?.groupChannel?.enableTypingIndicator && (\n <TypingIndicator />\n )\n }\n {\n !isOnline && (\n <ConnectionStatus />\n )\n }\n </div>\n </div>\n </div>\n );\n};\n\nexport default ChannelUI;\n"],"names":["ChannelUI","_ref","_globalStore$stores","_globalStore$stores$s","_globalStore$config","_globalStore$config2","_globalStore$config3","_globalStore$config3$","isLoading","renderPlaceholderLoader","renderPlaceholderInvalid","renderPlaceholderEmpty","renderChannelHeader","renderMessage","renderMessageInput","renderTypingIndicator","renderCustomSeparator","renderFileUploadIcon","renderVoiceMessageIcon","renderSendMessageIcon","channelUrl","isInvalid","useChannelContext","globalStore","useSendbirdStateContext","sdkError","stores","sdkStore","error","logger","config","isOnline","React","createElement","className","PlaceHolder","type","PlaceHolderTypes","LOADING","NO_CHANNELS","WRONG","retryToConnect","info","ChannelHeader","MessageList","MessageInputWrapper","groupChannel","enableTypingIndicator","TypingIndicator","ConnectionStatus"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BMA,MAAAA,SAAmC,GAAGC,IAAA,IAatB;EAAA,IAAAC,mBAAA,EAAAC,qBAAA,EAAAC,mBAAA,EAAAC,oBAAA,EAAAC,oBAAA,EAAAC,qBAAA,CAAA;EAAA,IAbuB;IAC3CC,SAAS;IACTC,uBAAuB;IACvBC,wBAAwB;IACxBC,sBAAsB;IACtBC,mBAAmB;IACnBC,aAAa;IACbC,kBAAkB;IAClBC,qBAAqB;IACrBC,qBAAqB;IACrBC,oBAAoB;IACpBC,sBAAsB;AACtBC,IAAAA,qBAAAA;AACc,GAAC,GAAAlB,IAAA,CAAA;EACf,MAAM;IACJmB,UAAU;AACVC,IAAAA,SAAAA;GACD,GAAGC,iBAAiB,EAAE,CAAA;EAEvB,MAAMC,WAAW,GAAGC,uBAAuB,EAAE,CAAA;EAC7C,MAAMC,QAAQ,GAAGF,WAAW,KAAXA,IAAAA,IAAAA,WAAW,wBAAArB,mBAAA,GAAXqB,WAAW,CAAEG,MAAM,MAAA,IAAA,IAAAxB,mBAAA,KAAAC,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,CA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,CAACe,eAAe,EAAA,IAAA,CACjB,EAGH,CAACjB,QAAQ,iBACPC,cAAA,CAAAC,aAAA,CAACgB,gBAAgB,EAAA,IAAA,CAClB,CAEC,CACF,CACF,CAAA;AAEV;;;;"}
@@ -1,28 +1,29 @@
1
1
  import React__default from 'react';
2
2
  import { createPortal } from 'react-dom';
3
3
  import Avatar from '../../ui/Avatar.js';
4
- import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-63949de5.js';
4
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-8fb5d71a.js';
5
5
  import Icon, { IconTypes, IconColors } from '../../ui/Icon.js';
6
- import { M as MODAL_ROOT } from '../../index-38e61c64.js';
7
- import { x as isSupportedFileView, y as isVideo, z as isImage } from '../../index-7eb65acf.js';
6
+ import { M as MODAL_ROOT } from '../../index-a27543ed.js';
7
+ import { x as isSupportedFileView, y as isVideo, z as isImage } from '../../index-39f0a98e.js';
8
8
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
9
- import { u as useChannelContext } from '../../ChannelProvider-910bbc1f.js';
9
+ import { u as useChannelContext } from '../../ChannelProvider-e1ddeda2.js';
10
10
  import '../../ui/ImageRenderer.js';
11
- import '../../uuid-1adedf62.js';
11
+ import '../../uuid-eadf9a09.js';
12
12
  import 'prop-types';
13
- import '../../stringSet-13bbd4a2.js';
14
- import '../../_rollupPluginBabelHelpers-6bb0305c.js';
13
+ import '../../stringSet-d0b92983.js';
14
+ import '../../_rollupPluginBabelHelpers-34fc6689.js';
15
15
  import '../../utils/message/getOutgoingMessageState.js';
16
16
  import '../../withSendbird.js';
17
- import '../../UserProfileContext-9cfbab4d.js';
18
- import '../../index-7cdd58b8.js';
19
- import '../../index-99aabd9e.js';
20
- import '../../topics-b2b77fb9.js';
21
- import '../../compareIds-defe2bb3.js';
22
- import '../../const-b3f02313.js';
17
+ import '../../UserProfileContext-cf8bb199.js';
18
+ import '../../const-2109eff9.js';
19
+ import '../../index-d847ae45.js';
20
+ import '../../index-3515f8f3.js';
21
+ import '../../topics-8aa96837.js';
22
+ import '../../compareIds-3e3591cb.js';
23
23
  import '@sendbird/chat/groupChannel';
24
24
  import '@sendbird/chat/message';
25
- import '../../consts-95d8566e.js';
25
+ import '../../consts-bd5c0783.js';
26
+ import '../../resolvedReplyType-f5cc6c0b.js';
26
27
 
27
28
  const FileViewerComponent = _ref => {
28
29
  let {
@@ -1 +1 @@
1
- {"version":3,"file":"FileViewer.js","sources":["../../../src/modules/Channel/components/FileViewer/index.tsx"],"sourcesContent":["import React from 'react';\nimport { createPortal } from 'react-dom';\nimport type { FileMessage } from '@sendbird/chat/message';\n\nimport './file-viewer.scss';\nimport Avatar from '../../../../ui/Avatar';\nimport Label, { LabelTypography, LabelColors } from '../../../../ui/Label';\nimport Icon, { IconColors, IconTypes } from '../../../../ui/Icon';\nimport { MODAL_ROOT } from '../../../../hooks/useModal/ModalRoot';\n\nimport { isImage, isVideo, isSupportedFileView } from '../../../../utils';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\nimport { useChannelContext } from '../../context/ChannelProvider';\nimport { EveryMessage } from '../../../../types';\n\ntype FileViewerUIProps = {\n profileUrl: string;\n nickname: string;\n // file\n name: string;\n type: string;\n url: string;\n // others\n isByMe: boolean;\n onCancel: () => void;\n onDelete: () => void;\n disableDelete: boolean;\n};\n\nexport const FileViewerComponent: React.FC<FileViewerUIProps> = ({\n // sender\n profileUrl,\n nickname,\n // file\n name,\n type,\n url,\n // others\n isByMe,\n onCancel,\n onDelete,\n disableDelete,\n}: FileViewerUIProps) => (\n <div className=\"sendbird-fileviewer\">\n <div className=\"sendbird-fileviewer__header\">\n <div className=\"sendbird-fileviewer__header__left\">\n <div className=\"sendbird-fileviewer__header__left__avatar\">\n <Avatar height=\"32px\" width=\"32px\" src={profileUrl} />\n </div>\n <Label\n className=\"sendbird-fileviewer__header__left__filename\"\n type={LabelTypography.H_2}\n color={LabelColors.ONBACKGROUND_1}\n >\n {name}\n </Label>\n <Label\n className=\"sendbird-fileviewer__header__left__sender-name\"\n type={LabelTypography.BODY_1}\n color={LabelColors.ONBACKGROUND_2}\n >\n {nickname}\n </Label>\n </div>\n <div className=\"sendbird-fileviewer__header__right\">\n {\n isSupportedFileView(type) && (\n <div className=\"sendbird-fileviewer__header__right__actions\">\n <a\n className=\"sendbird-fileviewer__header__right__actions__download\"\n rel=\"noopener noreferrer\"\n href={url}\n target=\"_blank\"\n >\n <Icon\n type={IconTypes.DOWNLOAD}\n fillColor={IconColors.ON_BACKGROUND_1}\n height=\"24px\"\n width=\"24px\"\n />\n </a>\n {\n onDelete && isByMe && (\n <div className=\"sendbird-fileviewer__header__right__actions__delete\">\n <Icon\n className={disableDelete ? 'disabled' : ''}\n type={IconTypes.DELETE}\n fillColor={disableDelete ? IconColors.GRAY : IconColors.ON_BACKGROUND_1}\n height=\"24px\"\n width=\"24px\"\n onClick={() => { if (!disableDelete) { onDelete(); } }}\n />\n </div>\n )\n }\n </div>\n )\n }\n <div className=\"sendbird-fileviewer__header__right__actions__close\">\n <Icon\n type={IconTypes.CLOSE}\n fillColor={IconColors.ON_BACKGROUND_1}\n height=\"24px\"\n width=\"24px\"\n onClick={onCancel}\n />\n </div>\n </div>\n </div>\n <div className=\"sendbird-fileviewer__content\">\n {isVideo(type) && (\n <video controls className=\"sendbird-fileviewer__content__video\">\n <source src={url} type={type} />\n </video>\n )}\n {\n isImage(type) && (\n <img\n src={url}\n alt={name}\n className=\"sendbird-fileviewer__content__img\"\n />\n )\n }\n {\n !isSupportedFileView(type) && (\n <div className=\"sendbird-fileviewer__content__unsupported\">\n <Label type={LabelTypography.H_1} color={LabelColors.ONBACKGROUND_1}>\n Unsupoprted message\n </Label>\n </div>\n )\n }\n </div>\n </div>\n);\n\ntype FileViewerProps = {\n onCancel:() => void;\n message: FileMessage;\n};\n\nconst FileViewer: React.FC<FileViewerProps> = ({ onCancel, message }: FileViewerProps) => {\n const { deleteMessage } = useChannelContext();\n const {\n sender,\n type,\n url,\n name = '',\n threadInfo,\n } = message;\n const user = useSendbirdStateContext()?.config?.userId;\n const isByMe = user === message?.sender?.userId;\n const disableDelete = threadInfo?.replyCount > 0;\n const { profileUrl, nickname = '' } = sender;\n return createPortal(\n (\n <FileViewerComponent\n profileUrl={profileUrl}\n nickname={nickname}\n type={type}\n url={url}\n name={name}\n onCancel={onCancel}\n onDelete={() => {\n deleteMessage(message as EveryMessage).then(() => {\n onCancel();\n });\n }}\n isByMe={isByMe}\n disableDelete={disableDelete}\n />\n ),\n document.getElementById(MODAL_ROOT),\n );\n};\n\nexport default FileViewer;\n"],"names":["FileViewerComponent","_ref","profileUrl","nickname","name","type","url","isByMe","onCancel","onDelete","disableDelete","React","createElement","className","Avatar","height","width","src","Label","LabelTypography","H_2","color","LabelColors","ONBACKGROUND_1","BODY_1","ONBACKGROUND_2","isSupportedFileView","rel","href","target","Icon","IconTypes","DOWNLOAD","fillColor","IconColors","ON_BACKGROUND_1","DELETE","GRAY","onClick","CLOSE","isVideo","controls","isImage","alt","H_1","FileViewer","_ref2","_useSendbirdStateCont","_useSendbirdStateCont2","_message$sender","message","deleteMessage","useChannelContext","sender","threadInfo","user","useSendbirdStateContext","config","userId","replyCount","createPortal","then","document","getElementById","MODAL_ROOT"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AA6BO,MAAMA,mBAAgD,GAAGC,IAAA,IAAA;EAAA,IAAC;AAC/D;IACAC,UAAU;IACVC,QAAQ;AACR;IACAC,IAAI;IACJC,IAAI;IACJC,GAAG;AACH;IACAC,MAAM;IACNC,QAAQ;IACRC,QAAQ;AACRC,IAAAA,aAAAA;AACiB,GAAC,GAAAT,IAAA,CAAA;EAAA,oBAClBU,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,qBAAA;GACbF,eAAAA,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,6BAAA;GACbF,eAAAA,cAAA,CAAAC,aAAA,CAAA,KAA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"],"sourcesContent":["import React from 'react';\nimport { createPortal } from 'react-dom';\nimport type { FileMessage } from '@sendbird/chat/message';\n\nimport './file-viewer.scss';\nimport Avatar from '../../../../ui/Avatar';\nimport Label, { LabelTypography, LabelColors } from '../../../../ui/Label';\nimport Icon, { IconColors, IconTypes } from '../../../../ui/Icon';\nimport { MODAL_ROOT } from '../../../../hooks/useModal/ModalRoot';\n\nimport { isImage, isVideo, isSupportedFileView } from '../../../../utils';\nimport useSendbirdStateContext from '../../../../hooks/useSendbirdStateContext';\nimport { useChannelContext } from '../../context/ChannelProvider';\nimport { EveryMessage } from '../../../../types';\n\ntype FileViewerUIProps = {\n profileUrl: string;\n nickname: string;\n // file\n name: string;\n type: string;\n url: string;\n // others\n isByMe: boolean;\n onCancel: () => void;\n onDelete: () => void;\n disableDelete: boolean;\n};\n\nexport const FileViewerComponent: React.FC<FileViewerUIProps> = ({\n // sender\n profileUrl,\n nickname,\n // file\n name,\n type,\n url,\n // others\n isByMe,\n onCancel,\n onDelete,\n disableDelete,\n}: FileViewerUIProps) => (\n <div className=\"sendbird-fileviewer\">\n <div className=\"sendbird-fileviewer__header\">\n <div className=\"sendbird-fileviewer__header__left\">\n <div className=\"sendbird-fileviewer__header__left__avatar\">\n <Avatar height=\"32px\" width=\"32px\" src={profileUrl} />\n </div>\n <Label\n className=\"sendbird-fileviewer__header__left__filename\"\n type={LabelTypography.H_2}\n color={LabelColors.ONBACKGROUND_1}\n >\n {name}\n </Label>\n <Label\n className=\"sendbird-fileviewer__header__left__sender-name\"\n type={LabelTypography.BODY_1}\n color={LabelColors.ONBACKGROUND_2}\n >\n {nickname}\n </Label>\n </div>\n <div className=\"sendbird-fileviewer__header__right\">\n {\n isSupportedFileView(type) && (\n <div className=\"sendbird-fileviewer__header__right__actions\">\n <a\n className=\"sendbird-fileviewer__header__right__actions__download\"\n rel=\"noopener noreferrer\"\n href={url}\n target=\"_blank\"\n >\n <Icon\n type={IconTypes.DOWNLOAD}\n fillColor={IconColors.ON_BACKGROUND_1}\n height=\"24px\"\n width=\"24px\"\n />\n </a>\n {\n onDelete && isByMe && (\n <div className=\"sendbird-fileviewer__header__right__actions__delete\">\n <Icon\n className={disableDelete ? 'disabled' : ''}\n type={IconTypes.DELETE}\n fillColor={disableDelete ? IconColors.GRAY : IconColors.ON_BACKGROUND_1}\n height=\"24px\"\n width=\"24px\"\n onClick={() => { if (!disableDelete) { onDelete(); } }}\n />\n </div>\n )\n }\n </div>\n )\n }\n <div className=\"sendbird-fileviewer__header__right__actions__close\">\n <Icon\n type={IconTypes.CLOSE}\n fillColor={IconColors.ON_BACKGROUND_1}\n height=\"24px\"\n width=\"24px\"\n onClick={onCancel}\n />\n </div>\n </div>\n </div>\n <div className=\"sendbird-fileviewer__content\">\n {isVideo(type) && (\n <video controls className=\"sendbird-fileviewer__content__video\">\n <source src={url} type={type} />\n </video>\n )}\n {\n isImage(type) && (\n <img\n src={url}\n alt={name}\n className=\"sendbird-fileviewer__content__img\"\n />\n )\n }\n {\n !isSupportedFileView(type) && (\n <div className=\"sendbird-fileviewer__content__unsupported\">\n <Label type={LabelTypography.H_1} color={LabelColors.ONBACKGROUND_1}>\n Unsupoprted message\n </Label>\n </div>\n )\n }\n </div>\n </div>\n);\n\ntype FileViewerProps = {\n onCancel:() => void;\n message: FileMessage;\n};\n\nconst FileViewer: React.FC<FileViewerProps> = ({ onCancel, message }: FileViewerProps) => {\n const { deleteMessage } = useChannelContext();\n const {\n sender,\n type,\n url,\n name = '',\n threadInfo,\n } = message;\n const user = useSendbirdStateContext()?.config?.userId;\n const isByMe = user === message?.sender?.userId;\n const disableDelete = threadInfo?.replyCount > 0;\n const { profileUrl, nickname = '' } = sender;\n return createPortal(\n (\n <FileViewerComponent\n profileUrl={profileUrl}\n nickname={nickname}\n type={type}\n url={url}\n name={name}\n onCancel={onCancel}\n onDelete={() => {\n deleteMessage(message as EveryMessage).then(() => {\n onCancel();\n });\n }}\n isByMe={isByMe}\n disableDelete={disableDelete}\n />\n ),\n document.getElementById(MODAL_ROOT),\n );\n};\n\nexport default FileViewer;\n"],"names":["FileViewerComponent","_ref","profileUrl","nickname","name","type","url","isByMe","onCancel","onDelete","disableDelete","React","createElement","className","Avatar","height","width","src","Label","LabelTypography","H_2","color","LabelColors","ONBACKGROUND_1","BODY_1","ONBACKGROUND_2","isSupportedFileView","rel","href","target","Icon","IconTypes","DOWNLOAD","fillColor","IconColors","ON_BACKGROUND_1","DELETE","GRAY","onClick","CLOSE","isVideo","controls","isImage","alt","H_1","FileViewer","_ref2","_useSendbirdStateCont","_useSendbirdStateCont2","_message$sender","message","deleteMessage","useChannelContext","sender","threadInfo","user","useSendbirdStateContext","config","userId","replyCount","createPortal","then","document","getElementById","MODAL_ROOT"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BO,MAAMA,mBAAgD,GAAGC,IAAA,IAAA;EAAA,IAAC;AAC/D;IACAC,UAAU;IACVC,QAAQ;AACR;IACAC,IAAI;IACJC,IAAI;IACJC,GAAG;AACH;IACAC,MAAM;IACNC,QAAQ;IACRC,QAAQ;AACRC,IAAAA,aAAAA;AACiB,GAAC,GAAAT,IAAA,CAAA;EAAA,oBAClBU,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,qBAAA;GACbF,eAAAA,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,6BAAA;GACbF,eAAAA,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,mCAAA;GACbF,eAAAA,cAAA,CAAAC,aAAA,CAAA,KAAA,EAAA;AAAKC,IAAAA,SAAS,EAAC,2CAAA;AAA2C,GAAA,eACxDF,cAAA,CAAAC,aAAA,CAACE,MAAM,EAAA;AAACC,IAAAA,MAAM,EAAC,MAAM;AAACC,IAAAA,KAAK,EAAC,MAAM;AAACC,IAAAA,GAAG,EAAEf,UAAAA;AAAW,GAAA,CAAG,CAClD,eAC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A,eAAA,CAAiBS,MAAM,CAAA,CAAA;EAC/C,MAAMhD,aAAa,GAAG,CAAA4C,UAAU,KAAA,IAAA,IAAVA,UAAU,KAAA,KAAA,CAAA,GAAA,KAAA,CAAA,GAAVA,UAAU,CAAEK,UAAU,IAAG,CAAC,CAAA;EAChD,MAAM;IAAEzD,UAAU;AAAEC,IAAAA,QAAQ,GAAG,EAAA;AAAG,GAAC,GAAGkD,MAAM,CAAA;AAC5C,EAAA,oBAAOO,YAAY,eAEfjD,cAAA,CAAAC,aAAA,CAACZ,mBAAmB,EAAA;AAClBE,IAAAA,UAAU,EAAEA,UAAW;AACvBC,IAAAA,QAAQ,EAAEA,QAAS;AACnBE,IAAAA,IAAI,EAAEA,IAAK;AACXC,IAAAA,GAAG,EAAEA,GAAI;AACTF,IAAAA,IAAI,EAAEA,IAAK;AACXI,IAAAA,QAAQ,EAAEA,QAAS;IACnBC,QAAQ,EAAEA,MAAM;AACd0C,MAAAA,aAAa,CAACD,OAAO,CAAiB,CAACW,IAAI,CAAC,MAAM;AAChDrD,QAAAA,QAAQ,EAAE,CAAA;AACZ,OAAC,CAAC,CAAA;KACF;AACFD,IAAAA,MAAM,EAAEA,MAAO;AACfG,IAAAA,aAAa,EAAEA,aAAAA;AAAc,GAAA,CAC7B,EAEJoD,QAAQ,CAACC,cAAc,CAACC,UAAU,CAAC,CACpC,CAAA;AACH;;;;"}
@@ -1,8 +1,8 @@
1
1
  import React__default, { useContext } from 'react';
2
- import { a as LocalizationContext } from '../../LocalizationContext-076d6d2e.js';
3
- import { L as Label, a as LabelTypography } from '../../index-63949de5.js';
4
- import '../../stringSet-13bbd4a2.js';
5
- import '../../index-99aabd9e.js';
2
+ import { a as LocalizationContext } from '../../LocalizationContext-2a605cc6.js';
3
+ import { L as Label, a as LabelTypography } from '../../index-8fb5d71a.js';
4
+ import '../../stringSet-d0b92983.js';
5
+ import '../../index-3515f8f3.js';
6
6
  import 'prop-types';
7
7
 
8
8
  const FrozenNotification = _ref => {
@@ -1,67 +1,69 @@
1
1
  import React__default, { useState, useEffect, useRef, useLayoutEffect, useMemo } from 'react';
2
- import { f as format } from '../../index-7cdd58b8.js';
2
+ import { f as format } from '../../index-d847ae45.js';
3
3
  import SuggestedMentionList from './SuggestedMentionList.js';
4
4
  import useSendbirdStateContext from '../../useSendbirdStateContext.js';
5
- import { u as useChannelContext, a as isDisabledBecauseFrozen, b as isDisabledBecauseMuted } from '../../ChannelProvider-910bbc1f.js';
6
- import { h as getClassName } from '../../index-7eb65acf.js';
7
- import { M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from '../../const-b3f02313.js';
5
+ import { u as useChannelContext, a as isDisabledBecauseFrozen, b as isDisabledBecauseMuted } from '../../ChannelProvider-e1ddeda2.js';
6
+ import { h as getClassName } from '../../index-39f0a98e.js';
7
+ import { M as MAX_USER_MENTION_COUNT, a as MAX_USER_SUGGESTION_COUNT } from '../../const-2109eff9.js';
8
8
  import DateSeparator from '../../ui/DateSeparator.js';
9
- import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-63949de5.js';
9
+ import { L as Label, a as LabelTypography, b as LabelColors } from '../../index-8fb5d71a.js';
10
10
  import MessageInput from '../../ui/MessageInput.js';
11
11
  import MessageContent from '../../ui/MessageContent.js';
12
12
  import FileViewer from './FileViewer.js';
13
13
  import RemoveMessage from './RemoveMessageModal.js';
14
- import { M as MessageInputKeys } from '../../const-221c6a89.js';
15
- import { u as useLocalization } from '../../LocalizationContext-076d6d2e.js';
16
- import { a as useHandleOnScrollCallback } from '../../index-9e49ffe3.js';
17
- import { u as useDirtyGetMentions } from '../../useDirtyGetMentions-aa730e2c.js';
18
- import '../../index-99aabd9e.js';
14
+ import { M as MessageInputKeys } from '../../const-91fefb8e.js';
15
+ import { u as useLocalization } from '../../LocalizationContext-2a605cc6.js';
16
+ import { a as useHandleOnScrollCallback } from '../../index-94ed0e50.js';
17
+ import { u as useDirtyGetMentions } from '../../useDirtyGetMentions-5b631226.js';
18
+ import '../../index-3515f8f3.js';
19
19
  import '../../ui/Icon.js';
20
20
  import 'prop-types';
21
21
  import '../../ui/Avatar.js';
22
22
  import '../../ui/ImageRenderer.js';
23
- import '../../uuid-1adedf62.js';
24
- import '../../ThreadProvider-3a4a4db0.js';
23
+ import '../../uuid-eadf9a09.js';
24
+ import '../../ThreadProvider-1799dbab.js';
25
25
  import '../../utils/message/getOutgoingMessageState.js';
26
- import '../../UserProfileContext-9cfbab4d.js';
27
- import '../../_rollupPluginBabelHelpers-6bb0305c.js';
26
+ import '../../UserProfileContext-cf8bb199.js';
27
+ import '../../_rollupPluginBabelHelpers-34fc6689.js';
28
28
  import '../../Thread/context/types.js';
29
29
  import '@sendbird/chat';
30
- import '../../topics-b2b77fb9.js';
30
+ import '../../topics-8aa96837.js';
31
31
  import '@sendbird/chat/groupChannel';
32
32
  import '@sendbird/chat/message';
33
- import '../../consts-95d8566e.js';
33
+ import '../../consts-bd5c0783.js';
34
34
  import '../../withSendbird.js';
35
- import '../../compareIds-defe2bb3.js';
36
- import '../../color-879cc347.js';
37
- import '../../stringSet-13bbd4a2.js';
35
+ import '../../compareIds-3e3591cb.js';
36
+ import '../../resolvedReplyType-f5cc6c0b.js';
37
+ import '../../color-85cde5a7.js';
38
+ import '../../stringSet-d0b92983.js';
38
39
  import '../../ui/IconButton.js';
39
40
  import '../../ui/Button.js';
40
41
  import 'dompurify';
41
- import '../../consts-ff014656.js';
42
- import '../../consts-c41580ae.js';
43
- import '../../consts-81544e52.js';
44
- import '../../tokenize-c40f2b57.js';
42
+ import '../../consts-fafa501c.js';
43
+ import '../../consts-d9de055a.js';
44
+ import '../../consts-b6194fdf.js';
45
+ import '../../tokenize-fd0af52f.js';
46
+ import '../../index.module-9faf1703.js';
45
47
  import '../../ui/UserProfile.js';
46
48
  import '../../sendbirdSelectors.js';
47
- import '../../utils-4bbbca2c.js';
48
- import '../../index-5c1b672d.js';
49
+ import '../../utils-0e2c993e.js';
50
+ import '../../index-bf4f0a7e.js';
49
51
  import '../../ui/Loader.js';
50
- import '../../index-306bc4ab.js';
51
- import '../../index-fe932783.js';
52
+ import '../../index-bbf4f597.js';
53
+ import '../../index-b05a5803.js';
52
54
  import '../../ui/MessageItemMenu.js';
53
55
  import '../../ui/ContextMenu.js';
54
56
  import 'react-dom';
55
57
  import '../../ui/SortByRow.js';
56
- import '../../types-4ff4177c.js';
58
+ import '../../types-7f0754fd.js';
57
59
  import '../../ui/MessageItemReactionMenu.js';
58
60
  import '../../ui/ReactionButton.js';
59
- import '../../useLongPress-1303953d.js';
60
- import '../../MediaQueryContext-11f0e43f.js';
61
+ import '../../useLongPress-700ef78f.js';
62
+ import '../../MediaQueryContext-9a1ce18e.js';
61
63
  import '../../ui/EmojiReactions.js';
62
64
  import '../../ui/ReactionBadge.js';
63
65
  import '../../ui/BottomSheet.js';
64
- import '../../index-38e61c64.js';
66
+ import '../../index-a27543ed.js';
65
67
  import '../../ui/UserListItem.js';
66
68
  import '../../ui/MutedAvatarOverlay.js';
67
69
  import '../../ui/Checkbox.js';
@@ -70,8 +72,7 @@ import '../../ui/TooltipWrapper.js';
70
72
  import '../../Message/context.js';
71
73
  import '../../ui/AdminMessage.js';
72
74
  import '../../ui/TextMessageItemBody.js';
73
- import '../../index-2c3e11ea.js';
74
- import '../../index.module-54d57ec3.js';
75
+ import '../../index-31eb43c8.js';
75
76
  import '../../ui/MentionLabel.js';
76
77
  import '../../ui/LinkLabel.js';
77
78
  import '../../ui/FileMessageItemBody.js';
@@ -80,15 +81,15 @@ import '../../ui/ThumbnailMessageItemBody.js';
80
81
  import '../../ui/OGMessageItemBody.js';
81
82
  import '../../ui/UnknownMessageItemBody.js';
82
83
  import '../../ui/QuoteMessage.js';
83
- import '../../index-aca30408.js';
84
+ import '../../index-9730aae6.js';
84
85
  import '../../ui/ThreadReplies.js';
85
86
  import '../../ui/VoiceMessageItemBody.js';
86
87
  import '../../ui/ProgressBar.js';
87
88
  import '../../VoicePlayer/useVoicePlayer.js';
88
- import '../../index-5c985608.js';
89
+ import '../../index-c54a357d.js';
89
90
  import '../../VoiceRecorder/context.js';
90
- import '../../ui/PlaybackTime.js';
91
91
  import '../../ui/Modal.js';
92
+ import '../../ui/PlaybackTime.js';
92
93
 
93
94
  const useDidMountEffect = (func, deps) => {
94
95
  const [didMount, setDidmount] = useState(false);
@@ -302,6 +303,7 @@ const Message = _ref => {
302
303
  maxSuggestionCount: maxUserSuggestionCount
303
304
  }), /*#__PURE__*/React__default.createElement(MessageInput, {
304
305
  isEdit: true,
306
+ channel: currentGroupChannel,
305
307
  disabled: disabled,
306
308
  ref: editMessageInputRef,
307
309
  mentionSelectedUser: selectedUser,