@sendbird/uikit-react 3.11.1 → 3.12.0-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 (898) hide show
  1. package/App.js +139 -390
  2. package/App.js.map +1 -1
  3. package/CHANGELOG.md +40 -0
  4. package/Channel/components/ChannelHeader.js +38 -30
  5. package/Channel/components/ChannelHeader.js.map +1 -1
  6. package/Channel/components/ChannelUI.js +85 -68
  7. package/Channel/components/ChannelUI.js.map +1 -1
  8. package/Channel/components/FileViewer.js +36 -29
  9. package/Channel/components/FileViewer.js.map +1 -1
  10. package/Channel/components/FrozenNotification.js +6 -6
  11. package/Channel/components/Message.js +84 -54
  12. package/Channel/components/Message.js.map +1 -1
  13. package/Channel/components/MessageFeedbackModal.js +9 -9
  14. package/Channel/components/MessageInput.js +56 -46
  15. package/Channel/components/MessageInput.js.map +1 -1
  16. package/Channel/components/MessageInputWrapper.js +67 -0
  17. package/Channel/components/MessageInputWrapper.js.map +1 -0
  18. package/Channel/components/MessageList.js +277 -66
  19. package/Channel/components/MessageList.js.map +1 -1
  20. package/Channel/components/RemoveMessageModal.js +35 -28
  21. package/Channel/components/RemoveMessageModal.js.map +1 -1
  22. package/Channel/components/SuggestedMentionList.js +26 -26
  23. package/Channel/components/TypingIndicator.js +7 -7
  24. package/Channel/components/UnreadCount.js +8 -8
  25. package/Channel/context.js +25 -34
  26. package/Channel/context.js.map +1 -1
  27. package/Channel/hooks/useHandleUploadFiles.js +13 -13
  28. package/Channel/hooks/useInitialMessagesFetch.js +6 -16
  29. package/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
  30. package/Channel/utils/compareMessagesForGrouping.js +5 -5
  31. package/Channel/utils/getMessagePartsInfo.js +6 -6
  32. package/Channel.js +77 -69
  33. package/Channel.js.map +1 -1
  34. package/ChannelList/components/AddChannel.js +29 -21
  35. package/ChannelList/components/AddChannel.js.map +1 -1
  36. package/ChannelList/components/ChannelListHeader.js +9 -9
  37. package/ChannelList/components/ChannelListUI.js +114 -42
  38. package/ChannelList/components/ChannelListUI.js.map +1 -1
  39. package/ChannelList/components/ChannelPreview.js +45 -33
  40. package/ChannelList/components/ChannelPreview.js.map +1 -1
  41. package/ChannelList/components/ChannelPreviewAction.js +18 -14
  42. package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  43. package/ChannelList/context.js +10 -10
  44. package/ChannelList.js +41 -40
  45. package/ChannelList.js.map +1 -1
  46. package/ChannelSettings/components/ChannelProfile.js +14 -14
  47. package/ChannelSettings/components/ChannelSettingsUI.js +23 -23
  48. package/ChannelSettings/components/EditDetailsModal.js +14 -14
  49. package/ChannelSettings/components/LeaveChannel.js +11 -11
  50. package/ChannelSettings/components/ModerationPanel.js +21 -21
  51. package/ChannelSettings/components/UserListItem.js +13 -13
  52. package/ChannelSettings/components/UserPanel.js +20 -20
  53. package/ChannelSettings/context.js +3 -3
  54. package/ChannelSettings.js +23 -23
  55. package/CreateChannel/components/CreateChannelUI.js +16 -16
  56. package/CreateChannel/components/InviteUsers.js +16 -16
  57. package/CreateChannel/components/SelectChannelType.js +10 -10
  58. package/CreateChannel/context.js +4 -4
  59. package/CreateChannel.js +16 -16
  60. package/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
  61. package/CreateOpenChannel/context.js +1 -1
  62. package/CreateOpenChannel.js +11 -11
  63. package/EditUserProfile/components/EditUserProfileUI.js +12 -12
  64. package/EditUserProfile.js +12 -12
  65. package/GroupChannel/components/FileViewer.js +45 -0
  66. package/GroupChannel/components/FileViewer.js.map +1 -0
  67. package/{chunks/bundle-dMLt2ro9.js → GroupChannel/components/FrozenNotification.js} +7 -4
  68. package/GroupChannel/components/FrozenNotification.js.map +1 -0
  69. package/GroupChannel/components/GroupChannelHeader.js +42 -0
  70. package/GroupChannel/components/GroupChannelHeader.js.map +1 -0
  71. package/GroupChannel/components/GroupChannelUI.js +143 -0
  72. package/GroupChannel/components/GroupChannelUI.js.map +1 -0
  73. package/GroupChannel/components/Message.js +132 -0
  74. package/GroupChannel/components/Message.js.map +1 -0
  75. package/GroupChannel/components/MessageInputWrapper.js +88 -0
  76. package/GroupChannel/components/MessageInputWrapper.js.map +1 -0
  77. package/GroupChannel/components/MessageList.js +230 -0
  78. package/{cjs/chunks/bundle-hCR6GZHZ.js.map → GroupChannel/components/MessageList.js.map} +1 -1
  79. package/GroupChannel/components/RemoveMessageModal.js +42 -0
  80. package/GroupChannel/components/RemoveMessageModal.js.map +1 -0
  81. package/GroupChannel/components/SuggestedMentionList.js +23 -0
  82. package/GroupChannel/components/SuggestedMentionList.js.map +1 -0
  83. package/GroupChannel/components/SuggestedReplies.js +20 -0
  84. package/GroupChannel/components/SuggestedReplies.js.map +1 -0
  85. package/{chunks/bundle-4JVMIRVC.js → GroupChannel/components/TypingIndicator.js} +10 -6
  86. package/GroupChannel/components/TypingIndicator.js.map +1 -0
  87. package/{chunks/bundle-8OBG2Jrw.js → GroupChannel/components/UnreadCount.js} +10 -6
  88. package/GroupChannel/components/UnreadCount.js.map +1 -0
  89. package/{chunks/bundle-d31Dx4g9.js → GroupChannel/context.js} +36 -156
  90. package/{cjs/chunks/bundle-xbwLn6pV.js.map → GroupChannel/context.js.map} +1 -1
  91. package/GroupChannel.js +141 -0
  92. package/GroupChannel.js.map +1 -0
  93. package/GroupChannelList/components/AddGroupChannel.js +51 -0
  94. package/GroupChannelList/components/AddGroupChannel.js.map +1 -0
  95. package/{chunks/bundle-0Pl6hdf0.js → GroupChannelList/components/GroupChannelListHeader.js} +14 -6
  96. package/GroupChannelList/components/GroupChannelListHeader.js.map +1 -0
  97. package/GroupChannelList/components/GroupChannelListItem.js +59 -0
  98. package/GroupChannelList/components/GroupChannelListItem.js.map +1 -0
  99. package/GroupChannelList/components/GroupChannelListUI.js +123 -0
  100. package/GroupChannelList/components/GroupChannelListUI.js.map +1 -0
  101. package/{chunks/bundle-NFkyRDpH.js → GroupChannelList/components/GroupChannelPreviewAction.js} +26 -12
  102. package/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -0
  103. package/GroupChannelList/context.js +108 -0
  104. package/GroupChannelList/context.js.map +1 -0
  105. package/GroupChannelList.js +82 -0
  106. package/GroupChannelList.js.map +1 -0
  107. package/MessageSearch/components/MessageSearchUI.js +14 -14
  108. package/MessageSearch/context.js +1 -1
  109. package/MessageSearch.js +14 -14
  110. package/OpenChannel/components/FrozenChannelNotification.js +5 -5
  111. package/OpenChannel/components/OpenChannelHeader.js +18 -18
  112. package/OpenChannel/components/OpenChannelInput.js +25 -25
  113. package/OpenChannel/components/OpenChannelMessage.js +35 -35
  114. package/OpenChannel/components/OpenChannelMessageList.js +39 -39
  115. package/OpenChannel/components/OpenChannelUI.js +39 -39
  116. package/OpenChannel/context.js +17 -17
  117. package/OpenChannel.js +39 -39
  118. package/OpenChannelList/components/OpenChannelListUI.js +14 -14
  119. package/OpenChannelList/components/OpenChannelPreview.js +6 -6
  120. package/OpenChannelList/context.js +3 -3
  121. package/OpenChannelList.js +14 -14
  122. package/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  123. package/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  124. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
  125. package/OpenChannelSettings/components/OperatorUI.js +19 -19
  126. package/OpenChannelSettings/components/ParticipantUI.js +17 -17
  127. package/OpenChannelSettings/context.js +3 -3
  128. package/OpenChannelSettings.js +19 -19
  129. package/SendbirdProvider.js +22 -22
  130. package/Thread/components/ParentMessageInfo.js +42 -42
  131. package/Thread/components/ParentMessageInfoItem.js +28 -28
  132. package/Thread/components/ThreadHeader.js +7 -7
  133. package/Thread/components/ThreadList.js +46 -46
  134. package/Thread/components/ThreadListItem.js +46 -46
  135. package/Thread/components/ThreadMessageInput.js +175 -51
  136. package/Thread/components/ThreadMessageInput.js.map +1 -1
  137. package/Thread/components/ThreadUI.js +59 -57
  138. package/Thread/components/ThreadUI.js.map +1 -1
  139. package/Thread/context.js +11 -11
  140. package/Thread.js +59 -57
  141. package/Thread.js.map +1 -1
  142. package/VoicePlayer/context.js +3 -3
  143. package/VoicePlayer/useVoicePlayer.js +10 -10
  144. package/VoiceRecorder/context.js +10 -10
  145. package/VoiceRecorder/useVoiceRecorder.js +9 -9
  146. package/chunks/{bundle-7gnDs7-N.js → bundle--ORA9L0f.js} +10 -10
  147. package/chunks/{bundle-7gnDs7-N.js.map → bundle--ORA9L0f.js.map} +1 -1
  148. package/chunks/bundle--QWYYsI7.js +67 -0
  149. package/chunks/bundle--QWYYsI7.js.map +1 -0
  150. package/chunks/{bundle-laq4Cm2M.js → bundle--XsvJ3hU.js} +3 -3
  151. package/chunks/bundle--XsvJ3hU.js.map +1 -0
  152. package/chunks/{bundle-5x-SH0ln.js → bundle--rPLqx46.js} +1 -1
  153. package/chunks/bundle--rPLqx46.js.map +1 -0
  154. package/chunks/{bundle-72sPkBu4.js → bundle-2atU-KVo.js} +1 -1
  155. package/chunks/bundle-2atU-KVo.js.map +1 -0
  156. package/chunks/{bundle-A9vhM7uK.js → bundle-3DH6zZHH.js} +4 -4
  157. package/chunks/bundle-3DH6zZHH.js.map +1 -0
  158. package/chunks/{bundle-YetIEB9o.js → bundle-3f1my2Ir.js} +2 -2
  159. package/chunks/bundle-3f1my2Ir.js.map +1 -0
  160. package/chunks/{bundle-9wFvMqxF.js → bundle-46qOcsB3.js} +1 -1
  161. package/chunks/{bundle-9wFvMqxF.js.map → bundle-46qOcsB3.js.map} +1 -1
  162. package/chunks/{bundle-e5lT4U6_.js → bundle-5FiMKfdx.js} +4 -2
  163. package/chunks/bundle-5FiMKfdx.js.map +1 -0
  164. package/chunks/{bundle-YoiKtyRA.js → bundle-5rAtBp8F.js} +3 -3
  165. package/chunks/{bundle-YoiKtyRA.js.map → bundle-5rAtBp8F.js.map} +1 -1
  166. package/chunks/{bundle-YBExtK73.js → bundle-67KZd0Wh.js} +3 -10
  167. package/chunks/bundle-67KZd0Wh.js.map +1 -0
  168. package/chunks/{bundle-brky8TnE.js → bundle-7128atOc.js} +1 -1
  169. package/chunks/bundle-7128atOc.js.map +1 -0
  170. package/chunks/{bundle-BnMLjoeD.js → bundle-7RxHW-e9.js} +2 -2
  171. package/chunks/{bundle-BnMLjoeD.js.map → bundle-7RxHW-e9.js.map} +1 -1
  172. package/chunks/{bundle-WSNk7jGd.js → bundle-7cTKRmbK.js} +6 -6
  173. package/chunks/bundle-7cTKRmbK.js.map +1 -0
  174. package/chunks/{bundle-SI8TVXcF.js → bundle-7h36Ded4.js} +1 -1
  175. package/chunks/bundle-7h36Ded4.js.map +1 -0
  176. package/chunks/{bundle-KwnXXB-s.js → bundle-7nI0MJOs.js} +1 -1
  177. package/chunks/bundle-7nI0MJOs.js.map +1 -0
  178. package/chunks/{bundle-9M3o3hPA.js → bundle-8C68O5Qm.js} +8 -8
  179. package/chunks/{bundle-9M3o3hPA.js.map → bundle-8C68O5Qm.js.map} +1 -1
  180. package/chunks/{bundle-QWYghVSN.js → bundle-8M13Uq7P.js} +3 -3
  181. package/chunks/{bundle-QWYghVSN.js.map → bundle-8M13Uq7P.js.map} +1 -1
  182. package/chunks/{bundle--M9av9I5.js → bundle-8PbcZ5aj.js} +1 -1
  183. package/chunks/bundle-8PbcZ5aj.js.map +1 -0
  184. package/chunks/{bundle-fgZJ6wUh.js → bundle-94myZnyI.js} +2 -2
  185. package/chunks/bundle-94myZnyI.js.map +1 -0
  186. package/chunks/{bundle-1kYamWYQ.js → bundle-9nrFshYX.js} +4 -4
  187. package/chunks/{bundle-1kYamWYQ.js.map → bundle-9nrFshYX.js.map} +1 -1
  188. package/chunks/{bundle-zqJVlTpN.js → bundle-9vFMqSQw.js} +4 -4
  189. package/chunks/bundle-9vFMqSQw.js.map +1 -0
  190. package/chunks/{bundle-fNYexgBr.js → bundle-Br-kF2rc.js} +5 -5
  191. package/chunks/{bundle-fNYexgBr.js.map → bundle-Br-kF2rc.js.map} +1 -1
  192. package/chunks/{bundle-2xEG_fol.js → bundle-BvxbprFR.js} +6 -8
  193. package/chunks/bundle-BvxbprFR.js.map +1 -0
  194. package/chunks/{bundle--LjMBMp3.js → bundle-BxGOQnDI.js} +10 -10
  195. package/chunks/{bundle--LjMBMp3.js.map → bundle-BxGOQnDI.js.map} +1 -1
  196. package/chunks/{bundle-R5n5AVj8.js → bundle-DDOXEDJp.js} +1 -1
  197. package/chunks/bundle-DDOXEDJp.js.map +1 -0
  198. package/chunks/{bundle-5cvB_UbP.js → bundle-F-lMyjp-.js} +1 -1
  199. package/chunks/bundle-F-lMyjp-.js.map +1 -0
  200. package/chunks/bundle-FVeeTX_F.js +86 -0
  201. package/chunks/bundle-FVeeTX_F.js.map +1 -0
  202. package/chunks/{bundle-IKRolu9P.js → bundle-GM_JyB6p.js} +2 -2
  203. package/chunks/{bundle-IKRolu9P.js.map → bundle-GM_JyB6p.js.map} +1 -1
  204. package/chunks/{bundle-jiwqHI-2.js → bundle-J-eeHkE5.js} +6 -13
  205. package/chunks/bundle-J-eeHkE5.js.map +1 -0
  206. package/chunks/{bundle-8GIaD9eE.js → bundle-JkQoCKWv.js} +3 -3
  207. package/chunks/{bundle-8GIaD9eE.js.map → bundle-JkQoCKWv.js.map} +1 -1
  208. package/chunks/{bundle-buXsGWIu.js → bundle-JlL_734C.js} +7 -13
  209. package/chunks/bundle-JlL_734C.js.map +1 -0
  210. package/chunks/bundle-KUOX5P0q.js +8 -0
  211. package/chunks/bundle-KUOX5P0q.js.map +1 -0
  212. package/chunks/{bundle-Xy9OskjJ.js → bundle-LG1mMxPr.js} +7 -7
  213. package/chunks/{bundle-Xy9OskjJ.js.map → bundle-LG1mMxPr.js.map} +1 -1
  214. package/chunks/{bundle-kP3o9aRv.js → bundle-Lgn5J-2T.js} +1 -1
  215. package/chunks/bundle-Lgn5J-2T.js.map +1 -0
  216. package/chunks/{bundle-4ab6nIKe.js → bundle-MYBkZ28K.js} +1 -1
  217. package/chunks/bundle-MYBkZ28K.js.map +1 -0
  218. package/chunks/{bundle-scS3KeKI.js → bundle-NOqfYbat.js} +11 -11
  219. package/chunks/{bundle-scS3KeKI.js.map → bundle-NOqfYbat.js.map} +1 -1
  220. package/chunks/{bundle-KNG-9gh9.js → bundle-N_nx28TN.js} +4 -4
  221. package/chunks/{bundle-KNG-9gh9.js.map → bundle-N_nx28TN.js.map} +1 -1
  222. package/chunks/{bundle-ncF5Vx6b.js → bundle-OZuyNhMv.js} +3 -3
  223. package/chunks/bundle-OZuyNhMv.js.map +1 -0
  224. package/chunks/{bundle-T7ZknK5s.js → bundle-Omjc0GuQ.js} +1 -1
  225. package/chunks/bundle-Omjc0GuQ.js.map +1 -0
  226. package/chunks/{bundle-uGz5dAkT.js → bundle-R2oWoix8.js} +10 -10
  227. package/chunks/{bundle-uGz5dAkT.js.map → bundle-R2oWoix8.js.map} +1 -1
  228. package/chunks/{bundle-hrqkDKRD.js → bundle-RX3fBZMu.js} +4 -4
  229. package/chunks/{bundle-hrqkDKRD.js.map → bundle-RX3fBZMu.js.map} +1 -1
  230. package/chunks/{bundle-qI3fzrBt.js → bundle-Rik09YnB.js} +1 -1
  231. package/chunks/bundle-Rik09YnB.js.map +1 -0
  232. package/chunks/{bundle-1XQGq5tE.js → bundle-RjOfwRD9.js} +1 -1
  233. package/chunks/bundle-RjOfwRD9.js.map +1 -0
  234. package/chunks/{bundle--4gDKFyU.js → bundle-TPqzf5St.js} +1 -1
  235. package/chunks/bundle-TPqzf5St.js.map +1 -0
  236. package/chunks/{bundle-RVuTQS9f.js → bundle-UXAf5PuY.js} +8 -19
  237. package/chunks/bundle-UXAf5PuY.js.map +1 -0
  238. package/chunks/{bundle-eGLEfc7r.js → bundle-UxZ7Yk8Z.js} +1 -1
  239. package/chunks/{bundle-8OBG2Jrw.js.map → bundle-UxZ7Yk8Z.js.map} +1 -1
  240. package/chunks/{bundle-veNmMfAH.js → bundle-V1r4qRh7.js} +11 -55
  241. package/chunks/bundle-V1r4qRh7.js.map +1 -0
  242. package/chunks/{bundle-RzWTDZDo.js → bundle-VC1JO5-p.js} +3 -3
  243. package/chunks/bundle-VC1JO5-p.js.map +1 -0
  244. package/chunks/{bundle-TlXrstq8.js → bundle-VhCdB2-c.js} +1 -1
  245. package/chunks/bundle-VhCdB2-c.js.map +1 -0
  246. package/chunks/{bundle-Edp-TIC7.js → bundle-VwgVuCHi.js} +15 -19
  247. package/chunks/{bundle-Edp-TIC7.js.map → bundle-VwgVuCHi.js.map} +1 -1
  248. package/chunks/{bundle-wICBtdE1.js → bundle-XL-KBWqW.js} +1 -1
  249. package/chunks/bundle-XL-KBWqW.js.map +1 -0
  250. package/chunks/{bundle-TEGbbRiE.js → bundle-XekDAFCE.js} +1 -1
  251. package/chunks/bundle-XekDAFCE.js.map +1 -0
  252. package/chunks/{bundle-_NUeDv_m.js → bundle-Z1D61u4a.js} +2 -1
  253. package/chunks/{bundle-_NUeDv_m.js.map → bundle-Z1D61u4a.js.map} +1 -1
  254. package/chunks/{bundle-QUJKjMCy.js → bundle-ZfA8OpRJ.js} +1 -1
  255. package/chunks/bundle-ZfA8OpRJ.js.map +1 -0
  256. package/chunks/{bundle-l7rDKrwx.js → bundle-_IIBqN54.js} +1 -1
  257. package/chunks/bundle-_IIBqN54.js.map +1 -0
  258. package/chunks/{bundle-0vtSUcHY.js → bundle-bBs0-8AF.js} +2 -2
  259. package/chunks/{bundle-0vtSUcHY.js.map → bundle-bBs0-8AF.js.map} +1 -1
  260. package/chunks/{bundle-u_1-OZu0.js → bundle-cYprLCVV.js} +2 -2
  261. package/chunks/{bundle-u_1-OZu0.js.map → bundle-cYprLCVV.js.map} +1 -1
  262. package/chunks/{bundle-92kzAxsw.js → bundle-cqMRshaU.js} +6 -6
  263. package/chunks/bundle-cqMRshaU.js.map +1 -0
  264. package/chunks/{bundle-Y0R5tada.js → bundle-dlgSS-h4.js} +3 -3
  265. package/chunks/{bundle-Y0R5tada.js.map → bundle-dlgSS-h4.js.map} +1 -1
  266. package/chunks/{bundle-b9LCaMtu.js → bundle-etzT3I0G.js} +1 -1
  267. package/chunks/bundle-etzT3I0G.js.map +1 -0
  268. package/chunks/{bundle-YOec1wfw.js → bundle-jKjzU1MT.js} +1 -1
  269. package/chunks/{bundle-YOec1wfw.js.map → bundle-jKjzU1MT.js.map} +1 -1
  270. package/chunks/{bundle-FqjGVIIM.js → bundle-jOlYtsGu.js} +5 -5
  271. package/chunks/{bundle-2xEG_fol.js.map → bundle-jOlYtsGu.js.map} +1 -1
  272. package/chunks/{bundle-bAvA5Udb.js → bundle-mGum5Avu.js} +3 -3
  273. package/chunks/bundle-mGum5Avu.js.map +1 -0
  274. package/chunks/{bundle-3hGhEhNx.js → bundle-mN_8ZHp6.js} +1 -1
  275. package/chunks/bundle-mN_8ZHp6.js.map +1 -0
  276. package/chunks/{bundle-K3gy6I7U.js → bundle-mPXz1Hjl.js} +1 -1
  277. package/chunks/bundle-mPXz1Hjl.js.map +1 -0
  278. package/chunks/{bundle-Npg4qQQD.js → bundle-nrzV0hwh.js} +1 -1
  279. package/chunks/bundle-nrzV0hwh.js.map +1 -0
  280. package/chunks/{bundle-pffuo01q.js → bundle-oesAmMyD.js} +2 -2
  281. package/chunks/bundle-oesAmMyD.js.map +1 -0
  282. package/chunks/{bundle-rOhl9tWD.js → bundle-opleCLJP.js} +1 -1
  283. package/chunks/bundle-opleCLJP.js.map +1 -0
  284. package/chunks/{bundle-OYvgeZlT.js → bundle-pSagaLQn.js} +4 -4
  285. package/chunks/bundle-pSagaLQn.js.map +1 -0
  286. package/chunks/{bundle-2lbcW98e.js → bundle-qxRcOzlA.js} +3 -3
  287. package/chunks/{bundle-2lbcW98e.js.map → bundle-qxRcOzlA.js.map} +1 -1
  288. package/chunks/{bundle-AAE0evYg.js → bundle-r8uICiMq.js} +3 -3
  289. package/chunks/bundle-r8uICiMq.js.map +1 -0
  290. package/chunks/{bundle-X1ee5Xag.js → bundle-rTlMQK8Z.js} +5 -14
  291. package/chunks/{bundle-X1ee5Xag.js.map → bundle-rTlMQK8Z.js.map} +1 -1
  292. package/chunks/{bundle-Dpt_A2Sv.js → bundle-rwD6SAkU.js} +6 -14
  293. package/chunks/bundle-rwD6SAkU.js.map +1 -0
  294. package/chunks/{bundle-2FXQWzCx.js → bundle-samkISwY.js} +8 -8
  295. package/chunks/{bundle-2FXQWzCx.js.map → bundle-samkISwY.js.map} +1 -1
  296. package/chunks/{bundle-kNzGDcl1.js → bundle-tmygoDRK.js} +4 -4
  297. package/chunks/{bundle-kNzGDcl1.js.map → bundle-tmygoDRK.js.map} +1 -1
  298. package/chunks/{bundle-zOkaSZl3.js → bundle-wbu1BRph.js} +3 -3
  299. package/chunks/bundle-wbu1BRph.js.map +1 -0
  300. package/chunks/{bundle-U_0F9z8c.js → bundle-xHxKphkV.js} +1 -1
  301. package/chunks/bundle-xHxKphkV.js.map +1 -0
  302. package/chunks/{bundle-2aZMC1gn.js → bundle-yGuAYhYN.js} +2 -2
  303. package/chunks/bundle-yGuAYhYN.js.map +1 -0
  304. package/chunks/{bundle-7RyEqo9-.js → bundle-zdgdWVyn.js} +3 -3
  305. package/chunks/bundle-zdgdWVyn.js.map +1 -0
  306. package/cjs/App.js +142 -393
  307. package/cjs/App.js.map +1 -1
  308. package/cjs/Channel/components/ChannelHeader.js +37 -33
  309. package/cjs/Channel/components/ChannelHeader.js.map +1 -1
  310. package/cjs/Channel/components/ChannelUI.js +83 -70
  311. package/cjs/Channel/components/ChannelUI.js.map +1 -1
  312. package/cjs/Channel/components/FileViewer.js +35 -32
  313. package/cjs/Channel/components/FileViewer.js.map +1 -1
  314. package/cjs/Channel/components/FrozenNotification.js +7 -7
  315. package/cjs/Channel/components/Message.js +82 -56
  316. package/cjs/Channel/components/Message.js.map +1 -1
  317. package/cjs/Channel/components/MessageFeedbackModal.js +9 -9
  318. package/cjs/Channel/components/MessageInput.js +56 -46
  319. package/cjs/Channel/components/MessageInput.js.map +1 -1
  320. package/cjs/Channel/components/MessageInputWrapper.js +76 -0
  321. package/cjs/Channel/components/MessageInputWrapper.js.map +1 -0
  322. package/cjs/Channel/components/MessageList.js +275 -68
  323. package/cjs/Channel/components/MessageList.js.map +1 -1
  324. package/cjs/Channel/components/RemoveMessageModal.js +33 -30
  325. package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
  326. package/cjs/Channel/components/SuggestedMentionList.js +26 -26
  327. package/cjs/Channel/components/TypingIndicator.js +8 -8
  328. package/cjs/Channel/components/UnreadCount.js +9 -9
  329. package/cjs/Channel/context.js +25 -34
  330. package/cjs/Channel/context.js.map +1 -1
  331. package/cjs/Channel/hooks/useHandleUploadFiles.js +13 -13
  332. package/cjs/Channel/hooks/useInitialMessagesFetch.js +6 -16
  333. package/cjs/Channel/hooks/useInitialMessagesFetch.js.map +1 -1
  334. package/cjs/Channel/utils/compareMessagesForGrouping.js +5 -5
  335. package/cjs/Channel/utils/getMessagePartsInfo.js +6 -6
  336. package/cjs/Channel.js +78 -70
  337. package/cjs/Channel.js.map +1 -1
  338. package/cjs/ChannelList/components/AddChannel.js +28 -24
  339. package/cjs/ChannelList/components/AddChannel.js.map +1 -1
  340. package/cjs/ChannelList/components/ChannelListHeader.js +10 -10
  341. package/cjs/ChannelList/components/ChannelListUI.js +112 -44
  342. package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
  343. package/cjs/ChannelList/components/ChannelPreview.js +43 -35
  344. package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
  345. package/cjs/ChannelList/components/ChannelPreviewAction.js +15 -15
  346. package/cjs/ChannelList/context.js +10 -10
  347. package/cjs/ChannelList.js +42 -41
  348. package/cjs/ChannelList.js.map +1 -1
  349. package/cjs/ChannelSettings/components/ChannelProfile.js +14 -14
  350. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +23 -23
  351. package/cjs/ChannelSettings/components/EditDetailsModal.js +14 -14
  352. package/cjs/ChannelSettings/components/LeaveChannel.js +11 -11
  353. package/cjs/ChannelSettings/components/ModerationPanel.js +21 -21
  354. package/cjs/ChannelSettings/components/UserListItem.js +13 -13
  355. package/cjs/ChannelSettings/components/UserPanel.js +20 -20
  356. package/cjs/ChannelSettings/context.js +3 -3
  357. package/cjs/ChannelSettings.js +23 -23
  358. package/cjs/CreateChannel/components/CreateChannelUI.js +16 -16
  359. package/cjs/CreateChannel/components/InviteUsers.js +16 -16
  360. package/cjs/CreateChannel/components/SelectChannelType.js +10 -10
  361. package/cjs/CreateChannel/context.js +4 -4
  362. package/cjs/CreateChannel.js +16 -16
  363. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +11 -11
  364. package/cjs/CreateOpenChannel/context.js +1 -1
  365. package/cjs/CreateOpenChannel.js +11 -11
  366. package/cjs/EditUserProfile/components/EditUserProfileUI.js +12 -12
  367. package/cjs/EditUserProfile.js +12 -12
  368. package/cjs/GroupChannel/components/FileViewer.js +50 -0
  369. package/cjs/GroupChannel/components/FileViewer.js.map +1 -0
  370. package/cjs/{chunks/bundle-Y4f3TKLP.js → GroupChannel/components/FrozenNotification.js} +9 -3
  371. package/cjs/GroupChannel/components/FrozenNotification.js.map +1 -0
  372. package/cjs/GroupChannel/components/GroupChannelHeader.js +47 -0
  373. package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -0
  374. package/cjs/GroupChannel/components/GroupChannelUI.js +148 -0
  375. package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -0
  376. package/cjs/GroupChannel/components/Message.js +137 -0
  377. package/cjs/GroupChannel/components/Message.js.map +1 -0
  378. package/cjs/GroupChannel/components/MessageInputWrapper.js +93 -0
  379. package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -0
  380. package/cjs/GroupChannel/components/MessageList.js +235 -0
  381. package/cjs/{chunks/bundle-qLmNEs3L.js.map → GroupChannel/components/MessageList.js.map} +1 -1
  382. package/cjs/GroupChannel/components/RemoveMessageModal.js +47 -0
  383. package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -0
  384. package/cjs/GroupChannel/components/SuggestedMentionList.js +28 -0
  385. package/cjs/GroupChannel/components/SuggestedMentionList.js.map +1 -0
  386. package/cjs/GroupChannel/components/SuggestedReplies.js +25 -0
  387. package/cjs/GroupChannel/components/SuggestedReplies.js.map +1 -0
  388. package/cjs/{chunks/bundle-jI1VVAdg.js → GroupChannel/components/TypingIndicator.js} +12 -5
  389. package/cjs/GroupChannel/components/TypingIndicator.js.map +1 -0
  390. package/cjs/{chunks/bundle-UmkcFSLj.js → GroupChannel/components/UnreadCount.js} +12 -5
  391. package/cjs/GroupChannel/components/UnreadCount.js.map +1 -0
  392. package/cjs/{chunks/bundle-xbwLn6pV.js → GroupChannel/context.js} +36 -156
  393. package/cjs/{chunks/bundle-eG-yFfLY.js.map → GroupChannel/context.js.map} +1 -1
  394. package/cjs/GroupChannel.js +146 -0
  395. package/cjs/GroupChannel.js.map +1 -0
  396. package/cjs/GroupChannelList/components/AddGroupChannel.js +56 -0
  397. package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -0
  398. package/cjs/{chunks/bundle-W789Mnl2.js → GroupChannelList/components/GroupChannelListHeader.js} +16 -5
  399. package/cjs/GroupChannelList/components/GroupChannelListHeader.js.map +1 -0
  400. package/cjs/GroupChannelList/components/GroupChannelListItem.js +61 -0
  401. package/cjs/GroupChannelList/components/GroupChannelListItem.js.map +1 -0
  402. package/cjs/GroupChannelList/components/GroupChannelListUI.js +128 -0
  403. package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -0
  404. package/cjs/{chunks/bundle-dSLJZu7j.js → GroupChannelList/components/GroupChannelPreviewAction.js} +29 -13
  405. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -0
  406. package/cjs/GroupChannelList/context.js +112 -0
  407. package/cjs/GroupChannelList/context.js.map +1 -0
  408. package/cjs/GroupChannelList.js +87 -0
  409. package/cjs/GroupChannelList.js.map +1 -0
  410. package/cjs/MessageSearch/components/MessageSearchUI.js +14 -14
  411. package/cjs/MessageSearch/context.js +1 -1
  412. package/cjs/MessageSearch.js +14 -14
  413. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -5
  414. package/cjs/OpenChannel/components/OpenChannelHeader.js +18 -18
  415. package/cjs/OpenChannel/components/OpenChannelInput.js +25 -25
  416. package/cjs/OpenChannel/components/OpenChannelMessage.js +35 -35
  417. package/cjs/OpenChannel/components/OpenChannelMessageList.js +39 -39
  418. package/cjs/OpenChannel/components/OpenChannelUI.js +39 -39
  419. package/cjs/OpenChannel/context.js +17 -17
  420. package/cjs/OpenChannel.js +39 -39
  421. package/cjs/OpenChannelList/components/OpenChannelListUI.js +14 -14
  422. package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
  423. package/cjs/OpenChannelList/context.js +3 -3
  424. package/cjs/OpenChannelList.js +14 -14
  425. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +15 -15
  426. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +15 -15
  427. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +19 -19
  428. package/cjs/OpenChannelSettings/components/OperatorUI.js +19 -19
  429. package/cjs/OpenChannelSettings/components/ParticipantUI.js +17 -17
  430. package/cjs/OpenChannelSettings/context.js +3 -3
  431. package/cjs/OpenChannelSettings.js +19 -19
  432. package/cjs/SendbirdProvider.js +22 -22
  433. package/cjs/Thread/components/ParentMessageInfo.js +42 -42
  434. package/cjs/Thread/components/ParentMessageInfoItem.js +28 -28
  435. package/cjs/Thread/components/ThreadHeader.js +7 -7
  436. package/cjs/Thread/components/ThreadList.js +46 -46
  437. package/cjs/Thread/components/ThreadListItem.js +46 -46
  438. package/cjs/Thread/components/ThreadMessageInput.js +173 -53
  439. package/cjs/Thread/components/ThreadMessageInput.js.map +1 -1
  440. package/cjs/Thread/components/ThreadUI.js +60 -58
  441. package/cjs/Thread/components/ThreadUI.js.map +1 -1
  442. package/cjs/Thread/context.js +11 -11
  443. package/cjs/Thread.js +59 -57
  444. package/cjs/Thread.js.map +1 -1
  445. package/cjs/VoicePlayer/context.js +3 -3
  446. package/cjs/VoicePlayer/useVoicePlayer.js +10 -10
  447. package/cjs/VoiceRecorder/context.js +10 -10
  448. package/cjs/VoiceRecorder/useVoiceRecorder.js +9 -9
  449. package/cjs/chunks/{bundle-mNGciuzV.js → bundle--ygAOWyl.js} +3 -3
  450. package/cjs/chunks/bundle--ygAOWyl.js.map +1 -0
  451. package/cjs/chunks/{bundle-aetFglQl.js → bundle-0JDC4wle.js} +2 -2
  452. package/cjs/chunks/{bundle-aetFglQl.js.map → bundle-0JDC4wle.js.map} +1 -1
  453. package/cjs/chunks/{bundle-jP-1bn23.js → bundle-1Kqo8Utk.js} +1 -1
  454. package/cjs/chunks/bundle-1Kqo8Utk.js.map +1 -0
  455. package/cjs/chunks/{bundle-X6IgWOv5.js → bundle-1q18oFrr.js} +3 -3
  456. package/cjs/chunks/bundle-1q18oFrr.js.map +1 -0
  457. package/cjs/chunks/{bundle-aQOJcXCO.js → bundle-31Znhf75.js} +6 -6
  458. package/cjs/chunks/bundle-31Znhf75.js.map +1 -0
  459. package/cjs/chunks/{bundle-hlZ6VwkW.js → bundle-3my94NZb.js} +1 -1
  460. package/cjs/chunks/bundle-3my94NZb.js.map +1 -0
  461. package/cjs/chunks/{bundle-r9E_mzs-.js → bundle-40a4LzCe.js} +3 -3
  462. package/cjs/chunks/bundle-40a4LzCe.js.map +1 -0
  463. package/cjs/chunks/{bundle-A7TvCVbX.js → bundle-4_qnUKIC.js} +1 -1
  464. package/cjs/chunks/bundle-4_qnUKIC.js.map +1 -0
  465. package/cjs/chunks/{bundle-KloNxGOC.js → bundle-7S9yo7uc.js} +3 -3
  466. package/{chunks/bundle-szN3I4WN.js.map → cjs/chunks/bundle-7S9yo7uc.js.map} +1 -1
  467. package/cjs/chunks/{bundle-4QpLkquA.js → bundle-7hPt-3N9.js} +7 -7
  468. package/cjs/chunks/bundle-7hPt-3N9.js.map +1 -0
  469. package/cjs/chunks/{bundle-a3DGXthf.js → bundle-7qCJ1BsN.js} +5 -5
  470. package/cjs/chunks/bundle-7qCJ1BsN.js.map +1 -0
  471. package/cjs/chunks/{bundle-BrOubGHT.js → bundle-83aDMaJz.js} +5 -13
  472. package/cjs/chunks/bundle-83aDMaJz.js.map +1 -0
  473. package/cjs/chunks/{bundle-V4Gdewny.js → bundle-8jmUxywc.js} +1 -1
  474. package/cjs/chunks/bundle-8jmUxywc.js.map +1 -0
  475. package/cjs/chunks/{bundle-YvcRCGBd.js → bundle-98I9HrXW.js} +4 -4
  476. package/cjs/chunks/bundle-98I9HrXW.js.map +1 -0
  477. package/cjs/chunks/{bundle-qXInmu7W.js → bundle-9G4y8IUf.js} +3 -3
  478. package/cjs/chunks/bundle-9G4y8IUf.js.map +1 -0
  479. package/cjs/chunks/{bundle-8XvxyLQN.js → bundle-AN2XvUtp.js} +1 -1
  480. package/cjs/chunks/bundle-AN2XvUtp.js.map +1 -0
  481. package/cjs/chunks/{bundle-kYfqAttM.js → bundle-B3exQvX0.js} +1 -1
  482. package/cjs/chunks/bundle-B3exQvX0.js.map +1 -0
  483. package/cjs/chunks/{bundle-eG-yFfLY.js → bundle-BIo8a3gP.js} +3 -3
  484. package/{chunks/bundle-d31Dx4g9.js.map → cjs/chunks/bundle-BIo8a3gP.js.map} +1 -1
  485. package/cjs/chunks/{bundle-QU7zbepl.js → bundle-ECik2x9q.js} +4 -4
  486. package/cjs/chunks/bundle-ECik2x9q.js.map +1 -0
  487. package/cjs/chunks/{bundle-E1H3DQtB.js → bundle-G3wIPH8m.js} +3 -3
  488. package/cjs/chunks/bundle-G3wIPH8m.js.map +1 -0
  489. package/cjs/chunks/{bundle-_vyDAzUb.js → bundle-G8VoSPnT.js} +1 -1
  490. package/cjs/chunks/bundle-G8VoSPnT.js.map +1 -0
  491. package/cjs/chunks/{bundle-jUxjf8aL.js → bundle-GVX1pgQE.js} +7 -7
  492. package/cjs/chunks/{bundle-jUxjf8aL.js.map → bundle-GVX1pgQE.js.map} +1 -1
  493. package/cjs/chunks/{bundle-Eq5GnDnz.js → bundle-HxNp6IgG.js} +10 -10
  494. package/cjs/chunks/{bundle-Eq5GnDnz.js.map → bundle-HxNp6IgG.js.map} +1 -1
  495. package/cjs/chunks/{bundle-mk0LQISG.js → bundle-I85dteYT.js} +3 -3
  496. package/cjs/chunks/bundle-I85dteYT.js.map +1 -0
  497. package/cjs/chunks/{bundle-kLhcU0Bg.js → bundle-KLiWyyBv.js} +3 -3
  498. package/cjs/chunks/bundle-KLiWyyBv.js.map +1 -0
  499. package/cjs/chunks/{bundle-dwD6gaHJ.js → bundle-L-INlcEY.js} +1 -1
  500. package/cjs/chunks/bundle-L-INlcEY.js.map +1 -0
  501. package/cjs/chunks/{bundle-Pcl0nMWb.js → bundle-L6Jk8Ayi.js} +5 -5
  502. package/cjs/chunks/bundle-L6Jk8Ayi.js.map +1 -0
  503. package/cjs/chunks/{bundle-Ne8lK39C.js → bundle-MRTWQD0M.js} +2 -2
  504. package/cjs/chunks/bundle-MRTWQD0M.js.map +1 -0
  505. package/cjs/chunks/{bundle--t70CDfb.js → bundle-Mku2L7HX.js} +6 -6
  506. package/cjs/chunks/bundle-Mku2L7HX.js.map +1 -0
  507. package/cjs/chunks/{bundle--zfwoPVm.js → bundle-NO9KjD6-.js} +1 -1
  508. package/cjs/chunks/bundle-NO9KjD6-.js.map +1 -0
  509. package/cjs/chunks/{bundle-H3iUL9jU.js → bundle-Pp2hAi9g.js} +1 -1
  510. package/cjs/chunks/bundle-Pp2hAi9g.js.map +1 -0
  511. package/cjs/chunks/{bundle-0LtiaxJx.js → bundle-PzNWj1Ya.js} +1 -1
  512. package/cjs/chunks/bundle-PzNWj1Ya.js.map +1 -0
  513. package/cjs/chunks/bundle-RjWuJw-3.js +88 -0
  514. package/cjs/chunks/bundle-RjWuJw-3.js.map +1 -0
  515. package/cjs/chunks/{bundle-2wF6U5Rf.js → bundle-SNQZJo5u.js} +3 -3
  516. package/cjs/chunks/{bundle-2wF6U5Rf.js.map → bundle-SNQZJo5u.js.map} +1 -1
  517. package/cjs/chunks/{bundle-8oh3Iidd.js → bundle-SSVfUJDa.js} +2 -2
  518. package/cjs/chunks/{bundle-8oh3Iidd.js.map → bundle-SSVfUJDa.js.map} +1 -1
  519. package/cjs/chunks/{bundle-bNp99ZTk.js → bundle-SY2qr3yT.js} +1 -1
  520. package/cjs/chunks/bundle-SY2qr3yT.js.map +1 -0
  521. package/cjs/chunks/{bundle-y7MhfXfx.js → bundle-Sp0Vzjeq.js} +1 -1
  522. package/cjs/chunks/bundle-Sp0Vzjeq.js.map +1 -0
  523. package/cjs/chunks/bundle-TEAixAXm.js +8 -0
  524. package/cjs/chunks/bundle-TEAixAXm.js.map +1 -0
  525. package/cjs/chunks/{bundle-5E4_BBHS.js → bundle-U81js22j.js} +5 -14
  526. package/cjs/chunks/bundle-U81js22j.js.map +1 -0
  527. package/cjs/chunks/{bundle--yF0PJ6E.js → bundle-VSxKlJiY.js} +5 -1
  528. package/cjs/chunks/bundle-VSxKlJiY.js.map +1 -0
  529. package/cjs/chunks/{bundle-EsJltkVm.js → bundle-WnDkk4j0.js} +1 -1
  530. package/cjs/chunks/bundle-WnDkk4j0.js.map +1 -0
  531. package/cjs/chunks/{bundle-DgcTM2HW.js → bundle-Zjbgztcu.js} +1 -1
  532. package/cjs/chunks/bundle-Zjbgztcu.js.map +1 -0
  533. package/cjs/chunks/{bundle-1CojrMYd.js → bundle-_BACdERA.js} +1 -1
  534. package/cjs/chunks/bundle-_BACdERA.js.map +1 -0
  535. package/cjs/chunks/{bundle-p1TqI4uJ.js → bundle-_P-b1GDT.js} +4 -4
  536. package/cjs/chunks/{bundle-p1TqI4uJ.js.map → bundle-_P-b1GDT.js.map} +1 -1
  537. package/cjs/chunks/{bundle-ZpJLlgNE.js → bundle-aMzX7VhJ.js} +6 -8
  538. package/cjs/chunks/bundle-aMzX7VhJ.js.map +1 -0
  539. package/cjs/chunks/{bundle-uubJJzRW.js → bundle-ac8CNkHD.js} +1 -1
  540. package/cjs/chunks/bundle-ac8CNkHD.js.map +1 -0
  541. package/cjs/chunks/{bundle-3-zCFAsZ.js → bundle-cTA4XRQz.js} +3 -3
  542. package/cjs/chunks/{bundle-3-zCFAsZ.js.map → bundle-cTA4XRQz.js.map} +1 -1
  543. package/cjs/chunks/{bundle-YxnuYJcD.js → bundle-cjPeUrcf.js} +1 -1
  544. package/cjs/chunks/bundle-cjPeUrcf.js.map +1 -0
  545. package/cjs/chunks/{bundle-08DJamJs.js → bundle-cuXn941P.js} +2 -1
  546. package/cjs/chunks/bundle-cuXn941P.js.map +1 -0
  547. package/cjs/chunks/{bundle-hCR6GZHZ.js → bundle-dRMOPP7T.js} +4 -4
  548. package/{chunks/bundle-jamufWw7.js.map → cjs/chunks/bundle-dRMOPP7T.js.map} +1 -1
  549. package/cjs/chunks/{bundle-xv7LjcKq.js → bundle-gKfBWs5Z.js} +1 -1
  550. package/cjs/chunks/bundle-gKfBWs5Z.js.map +1 -0
  551. package/cjs/chunks/{bundle-LFW-mAQF.js → bundle-h40wCyHM.js} +1 -1
  552. package/cjs/chunks/bundle-h40wCyHM.js.map +1 -0
  553. package/cjs/chunks/{bundle-Dy4KUUCa.js → bundle-hlXVvUFU.js} +1 -9
  554. package/cjs/chunks/bundle-hlXVvUFU.js.map +1 -0
  555. package/cjs/chunks/{bundle-mvH436V0.js → bundle-jL6J2ZGE.js} +1 -1
  556. package/cjs/chunks/bundle-jL6J2ZGE.js.map +1 -0
  557. package/cjs/chunks/{bundle-WWYVAaVT.js → bundle-kp4rHxFj.js} +3 -3
  558. package/cjs/chunks/bundle-kp4rHxFj.js.map +1 -0
  559. package/cjs/chunks/{bundle-lHnGN-3L.js → bundle-l18lIHqV.js} +1 -1
  560. package/cjs/chunks/bundle-l18lIHqV.js.map +1 -0
  561. package/cjs/chunks/{bundle-uBPLEBjK.js → bundle-mCVRGUkl.js} +2 -2
  562. package/cjs/chunks/bundle-mCVRGUkl.js.map +1 -0
  563. package/cjs/chunks/{bundle-Kwa0c8dM.js → bundle-mPK9VGR0.js} +1 -1
  564. package/cjs/chunks/bundle-mPK9VGR0.js.map +1 -0
  565. package/cjs/chunks/{bundle-qjc3EF_B.js → bundle-mYCCMkSO.js} +1 -1
  566. package/cjs/chunks/bundle-mYCCMkSO.js.map +1 -0
  567. package/cjs/chunks/{bundle-zuVbTz4t.js → bundle-nFCXCRnQ.js} +2 -2
  568. package/cjs/chunks/bundle-nFCXCRnQ.js.map +1 -0
  569. package/cjs/chunks/bundle-naQEIYGP.js +69 -0
  570. package/cjs/chunks/bundle-naQEIYGP.js.map +1 -0
  571. package/cjs/chunks/{bundle-om7V4Kmd.js → bundle-oMHrTlRN.js} +3 -3
  572. package/cjs/chunks/bundle-oMHrTlRN.js.map +1 -0
  573. package/cjs/chunks/{bundle-gjgpE5zc.js → bundle-p2ei7o2m.js} +11 -11
  574. package/cjs/chunks/{bundle-gjgpE5zc.js.map → bundle-p2ei7o2m.js.map} +1 -1
  575. package/cjs/chunks/{bundle-FHJHaFw9.js → bundle-pnCKgq1p.js} +11 -56
  576. package/cjs/chunks/bundle-pnCKgq1p.js.map +1 -0
  577. package/cjs/chunks/{bundle-4ndIl1vM.js → bundle-pnXfU14e.js} +8 -8
  578. package/cjs/chunks/{bundle-4ndIl1vM.js.map → bundle-pnXfU14e.js.map} +1 -1
  579. package/cjs/chunks/{bundle-ubmIpm9y.js → bundle-qTpNvbyy.js} +1 -1
  580. package/cjs/chunks/{bundle-ubmIpm9y.js.map → bundle-qTpNvbyy.js.map} +1 -1
  581. package/cjs/chunks/{bundle-A_nlAok6.js → bundle-smspHY3g.js} +10 -10
  582. package/cjs/chunks/bundle-smspHY3g.js.map +1 -0
  583. package/cjs/chunks/{bundle-49TaYIAY.js → bundle-szNiJOoj.js} +3 -3
  584. package/cjs/chunks/bundle-szNiJOoj.js.map +1 -0
  585. package/cjs/chunks/{bundle-BMB3xh2i.js → bundle-tlScTb1q.js} +1 -1
  586. package/cjs/chunks/bundle-tlScTb1q.js.map +1 -0
  587. package/cjs/chunks/{bundle-eg9jnWPm.js → bundle-ttLl6tqv.js} +1 -1
  588. package/cjs/chunks/{bundle-eg9jnWPm.js.map → bundle-ttLl6tqv.js.map} +1 -1
  589. package/cjs/chunks/{bundle-hzGTyicd.js → bundle-v-iEVf7X.js} +5 -14
  590. package/cjs/chunks/{bundle-hzGTyicd.js.map → bundle-v-iEVf7X.js.map} +1 -1
  591. package/cjs/chunks/{bundle-Z6FnnPza.js → bundle-vN6Le9sy.js} +1 -1
  592. package/cjs/chunks/bundle-vN6Le9sy.js.map +1 -0
  593. package/cjs/chunks/{bundle-m_0K8NXX.js → bundle-vx2itBKI.js} +1 -1
  594. package/cjs/chunks/bundle-vx2itBKI.js.map +1 -0
  595. package/cjs/chunks/{bundle-o2O3PYyl.js → bundle-w450_AIz.js} +16 -20
  596. package/cjs/chunks/{bundle-o2O3PYyl.js.map → bundle-w450_AIz.js.map} +1 -1
  597. package/cjs/chunks/{bundle-0TRHdH1v.js → bundle-wKMTgv_N.js} +2 -2
  598. package/cjs/chunks/{bundle-0TRHdH1v.js.map → bundle-wKMTgv_N.js.map} +1 -1
  599. package/cjs/chunks/{bundle-Ok99sReN.js → bundle-wVlRBt78.js} +1 -1
  600. package/cjs/chunks/bundle-wVlRBt78.js.map +1 -0
  601. package/cjs/chunks/{bundle-3MlXHMIm.js → bundle-x15u4MXa.js} +8 -20
  602. package/cjs/chunks/bundle-x15u4MXa.js.map +1 -0
  603. package/cjs/chunks/{bundle-1WCZv5Jt.js → bundle-y9eM9Vz6.js} +4 -4
  604. package/cjs/chunks/bundle-y9eM9Vz6.js.map +1 -0
  605. package/cjs/chunks/{bundle-oLo1K2bf.js → bundle-zC9tSqim.js} +10 -10
  606. package/cjs/chunks/bundle-zC9tSqim.js.map +1 -0
  607. package/cjs/chunks/{bundle-OlL6NpZd.js → bundle-zKwOBTKD.js} +6 -13
  608. package/cjs/chunks/bundle-zKwOBTKD.js.map +1 -0
  609. package/cjs/hooks/useModal.js +9 -9
  610. package/cjs/index.js +128 -103
  611. package/cjs/index.js.map +1 -1
  612. package/cjs/pubSub/topics.js +1 -1
  613. package/cjs/sendbirdSelectors.js +2 -2
  614. package/cjs/ui/Accordion.js +3 -3
  615. package/cjs/ui/AccordionGroup.js +2 -2
  616. package/cjs/ui/AdminMessage.js +3 -3
  617. package/cjs/ui/Avatar.js +4 -4
  618. package/cjs/ui/Badge.js +5 -5
  619. package/cjs/ui/BottomSheet.js +9 -9
  620. package/cjs/ui/Button.js +3 -3
  621. package/cjs/ui/ChannelAvatar.js +5 -5
  622. package/cjs/ui/ConnectionStatus.js +6 -6
  623. package/cjs/ui/ContextMenu.js +6 -6
  624. package/cjs/ui/DateSeparator.js +4 -4
  625. package/cjs/ui/EmojiReactions.js +16 -16
  626. package/cjs/ui/FileMessageItemBody.js +8 -8
  627. package/cjs/ui/FileViewer.js +15 -15
  628. package/cjs/ui/Icon.js +2 -2
  629. package/cjs/ui/IconButton.js +1 -1
  630. package/cjs/ui/ImageRenderer.js +2 -2
  631. package/cjs/ui/Input.js +3 -3
  632. package/cjs/ui/Label.js +3 -3
  633. package/cjs/ui/LinkLabel.js +3 -3
  634. package/cjs/ui/Loader.js +2 -2
  635. package/cjs/ui/MentionLabel.js +13 -13
  636. package/cjs/ui/MentionUserLabel.js +1 -1
  637. package/cjs/ui/MessageContent.js +34 -34
  638. package/cjs/ui/MessageInput/hooks/usePaste.js +5 -5
  639. package/cjs/ui/MessageInput.js +15 -15
  640. package/cjs/ui/MessageItemMenu.js +10 -10
  641. package/cjs/ui/MessageItemReactionMenu.js +9 -9
  642. package/cjs/ui/MessageSearchFileItem.js +14 -14
  643. package/cjs/ui/MessageSearchItem.js +11 -11
  644. package/cjs/ui/MessageStatus.js +12 -12
  645. package/cjs/ui/MobileFeedbackMenu.js +9 -9
  646. package/cjs/ui/Modal.js +8 -8
  647. package/cjs/ui/MutedAvatarOverlay.js +2 -2
  648. package/cjs/ui/OGMessageItemBody.js +16 -16
  649. package/cjs/ui/OpenChannelAdminMessage.js +3 -3
  650. package/cjs/ui/OpenChannelAvatar.js +8 -8
  651. package/cjs/ui/OpenchannelConversationHeader.js +8 -8
  652. package/cjs/ui/OpenchannelFileMessage.js +18 -18
  653. package/cjs/ui/OpenchannelOGMessage.js +20 -20
  654. package/cjs/ui/OpenchannelThumbnailMessage.js +17 -17
  655. package/cjs/ui/OpenchannelUserMessage.js +18 -18
  656. package/cjs/ui/PlaceHolder.js +6 -6
  657. package/cjs/ui/PlaybackTime.js +3 -3
  658. package/cjs/ui/QuoteMessage.js +9 -9
  659. package/cjs/ui/QuoteMessageInput.js +9 -9
  660. package/cjs/ui/ReactionBadge.js +3 -3
  661. package/cjs/ui/ReactionButton.js +4 -4
  662. package/cjs/ui/SortByRow.js +2 -2
  663. package/cjs/ui/TextButton.js +2 -2
  664. package/cjs/ui/TextMessageItemBody.js +16 -16
  665. package/cjs/ui/ThreadReplies.js +8 -8
  666. package/cjs/ui/ThumbnailMessageItemBody.js +7 -7
  667. package/cjs/ui/Toggle.js +1 -1
  668. package/cjs/ui/Tooltip.js +3 -3
  669. package/cjs/ui/TooltipWrapper.js +1 -1
  670. package/cjs/ui/TypingIndicatorBubble.js +4 -4
  671. package/cjs/ui/UnknownMessageItemBody.js +7 -7
  672. package/cjs/ui/UserListItem.js +14 -14
  673. package/cjs/ui/UserProfile.js +10 -10
  674. package/cjs/ui/VoiceMessageInput.js +9 -9
  675. package/cjs/ui/VoiceMessageItemBody.js +10 -10
  676. package/cjs/ui/Word.js +17 -37
  677. package/cjs/ui/Word.js.map +1 -1
  678. package/cjs/useSendbirdStateContext.js +1 -1
  679. package/cjs/utils/message/isVoiceMessage.js +3 -3
  680. package/cjs/withSendbird.js +1 -1
  681. package/dist/index.css +71 -85
  682. package/dist/index.css.map +1 -1
  683. package/hooks/useModal.js +10 -10
  684. package/index.js +127 -102
  685. package/index.js.map +1 -1
  686. package/package.json +202 -4
  687. package/pubSub/topics.js +1 -1
  688. package/sendbirdSelectors.js +2 -2
  689. package/types/lib/hooks/useConnect/connect.d.ts +1 -1
  690. package/types/modules/ChannelList/components/ChannelListUI/index.d.ts +4 -5
  691. package/types/modules/ChannelList/components/ChannelPreview/index.d.ts +4 -12
  692. package/types/modules/ChannelList/components/ChannelPreviewAction.d.ts +2 -9
  693. package/types/modules/GroupChannel/components/GroupChannelUI/GroupChannelUIView.d.ts +1 -1
  694. package/types/modules/GroupChannel/components/SuggestedReplies/index.d.ts +1 -1
  695. package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +2 -1
  696. package/types/modules/GroupChannelList/components/GroupChannelListItem/GroupChannelListItemView.d.ts +11 -9
  697. package/types/modules/GroupChannelList/components/GroupChannelListItem/index.d.ts +2 -13
  698. package/types/modules/GroupChannelList/components/GroupChannelListUI/GroupChannelListUIView.d.ts +1 -0
  699. package/types/modules/GroupChannelList/components/GroupChannelListUI/index.d.ts +3 -5
  700. package/types/modules/GroupChannelList/components/GroupChannelPreviewAction.d.ts +4 -4
  701. package/types/ui/Label/stringSet.d.ts +1 -0
  702. package/types/utils/consts.d.ts +2 -0
  703. package/ui/Accordion.js +3 -3
  704. package/ui/AccordionGroup.js +2 -2
  705. package/ui/AdminMessage.js +3 -3
  706. package/ui/Avatar.js +4 -4
  707. package/ui/Badge.js +5 -5
  708. package/ui/BottomSheet.js +9 -9
  709. package/ui/Button.js +3 -3
  710. package/ui/ChannelAvatar.js +5 -5
  711. package/ui/ConnectionStatus.js +6 -6
  712. package/ui/ContextMenu.js +6 -6
  713. package/ui/DateSeparator.js +4 -4
  714. package/ui/EmojiReactions.js +16 -16
  715. package/ui/FileMessageItemBody.js +8 -8
  716. package/ui/FileViewer.js +15 -15
  717. package/ui/Icon.js +2 -2
  718. package/ui/IconButton.js +1 -1
  719. package/ui/ImageRenderer.js +2 -2
  720. package/ui/Input.js +3 -3
  721. package/ui/Label.js +3 -3
  722. package/ui/LinkLabel.js +3 -3
  723. package/ui/Loader.js +2 -2
  724. package/ui/MentionLabel.js +13 -13
  725. package/ui/MentionUserLabel.js +1 -1
  726. package/ui/MessageContent.js +34 -34
  727. package/ui/MessageInput/hooks/usePaste.js +5 -5
  728. package/ui/MessageInput.js +15 -15
  729. package/ui/MessageItemMenu.js +10 -10
  730. package/ui/MessageItemReactionMenu.js +9 -9
  731. package/ui/MessageSearchFileItem.js +14 -14
  732. package/ui/MessageSearchItem.js +11 -11
  733. package/ui/MessageStatus.js +12 -12
  734. package/ui/MobileFeedbackMenu.js +9 -9
  735. package/ui/Modal.js +8 -8
  736. package/ui/MutedAvatarOverlay.js +2 -2
  737. package/ui/OGMessageItemBody.js +16 -16
  738. package/ui/OpenChannelAdminMessage.js +3 -3
  739. package/ui/OpenChannelAvatar.js +8 -8
  740. package/ui/OpenchannelConversationHeader.js +8 -8
  741. package/ui/OpenchannelFileMessage.js +18 -18
  742. package/ui/OpenchannelOGMessage.js +20 -20
  743. package/ui/OpenchannelThumbnailMessage.js +17 -17
  744. package/ui/OpenchannelUserMessage.js +18 -18
  745. package/ui/PlaceHolder.js +6 -6
  746. package/ui/PlaybackTime.js +3 -3
  747. package/ui/QuoteMessage.js +9 -9
  748. package/ui/QuoteMessageInput.js +9 -9
  749. package/ui/ReactionBadge.js +3 -3
  750. package/ui/ReactionButton.js +4 -4
  751. package/ui/SortByRow.js +2 -2
  752. package/ui/TextButton.js +2 -2
  753. package/ui/TextMessageItemBody.js +16 -16
  754. package/ui/ThreadReplies.js +8 -8
  755. package/ui/ThumbnailMessageItemBody.js +7 -7
  756. package/ui/Toggle.js +1 -1
  757. package/ui/Tooltip.js +3 -3
  758. package/ui/TooltipWrapper.js +1 -1
  759. package/ui/TypingIndicatorBubble.js +4 -4
  760. package/ui/UnknownMessageItemBody.js +7 -7
  761. package/ui/UserListItem.js +14 -14
  762. package/ui/UserProfile.js +10 -10
  763. package/ui/VoiceMessageInput.js +9 -9
  764. package/ui/VoiceMessageItemBody.js +10 -10
  765. package/ui/Word.js +17 -37
  766. package/ui/Word.js.map +1 -1
  767. package/useSendbirdStateContext.js +1 -1
  768. package/utils/message/isVoiceMessage.js +3 -3
  769. package/withSendbird.js +1 -1
  770. package/chunks/bundle--4gDKFyU.js.map +0 -1
  771. package/chunks/bundle--M9av9I5.js.map +0 -1
  772. package/chunks/bundle-0Pl6hdf0.js.map +0 -1
  773. package/chunks/bundle-1XQGq5tE.js.map +0 -1
  774. package/chunks/bundle-2aZMC1gn.js.map +0 -1
  775. package/chunks/bundle-3hGhEhNx.js.map +0 -1
  776. package/chunks/bundle-4JVMIRVC.js.map +0 -1
  777. package/chunks/bundle-4ab6nIKe.js.map +0 -1
  778. package/chunks/bundle-5cvB_UbP.js.map +0 -1
  779. package/chunks/bundle-5x-SH0ln.js.map +0 -1
  780. package/chunks/bundle-72sPkBu4.js.map +0 -1
  781. package/chunks/bundle-7RyEqo9-.js.map +0 -1
  782. package/chunks/bundle-92kzAxsw.js.map +0 -1
  783. package/chunks/bundle-A9vhM7uK.js.map +0 -1
  784. package/chunks/bundle-AAE0evYg.js.map +0 -1
  785. package/chunks/bundle-Dpt_A2Sv.js.map +0 -1
  786. package/chunks/bundle-FqjGVIIM.js.map +0 -1
  787. package/chunks/bundle-K3gy6I7U.js.map +0 -1
  788. package/chunks/bundle-KwnXXB-s.js.map +0 -1
  789. package/chunks/bundle-NFkyRDpH.js.map +0 -1
  790. package/chunks/bundle-Npg4qQQD.js.map +0 -1
  791. package/chunks/bundle-OYvgeZlT.js.map +0 -1
  792. package/chunks/bundle-QUJKjMCy.js.map +0 -1
  793. package/chunks/bundle-R5n5AVj8.js.map +0 -1
  794. package/chunks/bundle-RVuTQS9f.js.map +0 -1
  795. package/chunks/bundle-RzWTDZDo.js.map +0 -1
  796. package/chunks/bundle-SI8TVXcF.js.map +0 -1
  797. package/chunks/bundle-T7ZknK5s.js.map +0 -1
  798. package/chunks/bundle-TEGbbRiE.js.map +0 -1
  799. package/chunks/bundle-TlXrstq8.js.map +0 -1
  800. package/chunks/bundle-U_0F9z8c.js.map +0 -1
  801. package/chunks/bundle-WSNk7jGd.js.map +0 -1
  802. package/chunks/bundle-YBExtK73.js.map +0 -1
  803. package/chunks/bundle-YetIEB9o.js.map +0 -1
  804. package/chunks/bundle-b9LCaMtu.js.map +0 -1
  805. package/chunks/bundle-bAvA5Udb.js.map +0 -1
  806. package/chunks/bundle-brky8TnE.js.map +0 -1
  807. package/chunks/bundle-buXsGWIu.js.map +0 -1
  808. package/chunks/bundle-dMLt2ro9.js.map +0 -1
  809. package/chunks/bundle-e5lT4U6_.js.map +0 -1
  810. package/chunks/bundle-eGLEfc7r.js.map +0 -1
  811. package/chunks/bundle-fgZJ6wUh.js.map +0 -1
  812. package/chunks/bundle-iXzQekqM.js +0 -120
  813. package/chunks/bundle-iXzQekqM.js.map +0 -1
  814. package/chunks/bundle-jamufWw7.js +0 -230
  815. package/chunks/bundle-jiwqHI-2.js.map +0 -1
  816. package/chunks/bundle-kP3o9aRv.js.map +0 -1
  817. package/chunks/bundle-l7rDKrwx.js.map +0 -1
  818. package/chunks/bundle-laq4Cm2M.js.map +0 -1
  819. package/chunks/bundle-ncF5Vx6b.js.map +0 -1
  820. package/chunks/bundle-pffuo01q.js.map +0 -1
  821. package/chunks/bundle-qI3fzrBt.js.map +0 -1
  822. package/chunks/bundle-rOhl9tWD.js.map +0 -1
  823. package/chunks/bundle-szN3I4WN.js +0 -199
  824. package/chunks/bundle-veNmMfAH.js.map +0 -1
  825. package/chunks/bundle-wICBtdE1.js.map +0 -1
  826. package/chunks/bundle-zOkaSZl3.js.map +0 -1
  827. package/chunks/bundle-zqJVlTpN.js.map +0 -1
  828. package/cjs/chunks/bundle--t70CDfb.js.map +0 -1
  829. package/cjs/chunks/bundle--yF0PJ6E.js.map +0 -1
  830. package/cjs/chunks/bundle--zfwoPVm.js.map +0 -1
  831. package/cjs/chunks/bundle-08DJamJs.js.map +0 -1
  832. package/cjs/chunks/bundle-0LtiaxJx.js.map +0 -1
  833. package/cjs/chunks/bundle-1CojrMYd.js.map +0 -1
  834. package/cjs/chunks/bundle-1WCZv5Jt.js.map +0 -1
  835. package/cjs/chunks/bundle-3MlXHMIm.js.map +0 -1
  836. package/cjs/chunks/bundle-49TaYIAY.js.map +0 -1
  837. package/cjs/chunks/bundle-4QpLkquA.js.map +0 -1
  838. package/cjs/chunks/bundle-5E4_BBHS.js.map +0 -1
  839. package/cjs/chunks/bundle-8XvxyLQN.js.map +0 -1
  840. package/cjs/chunks/bundle-A7TvCVbX.js.map +0 -1
  841. package/cjs/chunks/bundle-A_nlAok6.js.map +0 -1
  842. package/cjs/chunks/bundle-BMB3xh2i.js.map +0 -1
  843. package/cjs/chunks/bundle-BrOubGHT.js.map +0 -1
  844. package/cjs/chunks/bundle-DgcTM2HW.js.map +0 -1
  845. package/cjs/chunks/bundle-Dy4KUUCa.js.map +0 -1
  846. package/cjs/chunks/bundle-E1H3DQtB.js.map +0 -1
  847. package/cjs/chunks/bundle-EsJltkVm.js.map +0 -1
  848. package/cjs/chunks/bundle-FHJHaFw9.js.map +0 -1
  849. package/cjs/chunks/bundle-H3iUL9jU.js.map +0 -1
  850. package/cjs/chunks/bundle-KloNxGOC.js.map +0 -1
  851. package/cjs/chunks/bundle-Kwa0c8dM.js.map +0 -1
  852. package/cjs/chunks/bundle-LFW-mAQF.js.map +0 -1
  853. package/cjs/chunks/bundle-MF7Mgc0Z.js +0 -204
  854. package/cjs/chunks/bundle-MF7Mgc0Z.js.map +0 -1
  855. package/cjs/chunks/bundle-Ne8lK39C.js.map +0 -1
  856. package/cjs/chunks/bundle-Ok99sReN.js.map +0 -1
  857. package/cjs/chunks/bundle-OlL6NpZd.js.map +0 -1
  858. package/cjs/chunks/bundle-Pcl0nMWb.js.map +0 -1
  859. package/cjs/chunks/bundle-QU7zbepl.js.map +0 -1
  860. package/cjs/chunks/bundle-Rs2C3Gv0.js +0 -123
  861. package/cjs/chunks/bundle-Rs2C3Gv0.js.map +0 -1
  862. package/cjs/chunks/bundle-UmkcFSLj.js.map +0 -1
  863. package/cjs/chunks/bundle-V4Gdewny.js.map +0 -1
  864. package/cjs/chunks/bundle-W789Mnl2.js.map +0 -1
  865. package/cjs/chunks/bundle-WWYVAaVT.js.map +0 -1
  866. package/cjs/chunks/bundle-X6IgWOv5.js.map +0 -1
  867. package/cjs/chunks/bundle-Y4f3TKLP.js.map +0 -1
  868. package/cjs/chunks/bundle-YvcRCGBd.js.map +0 -1
  869. package/cjs/chunks/bundle-YxnuYJcD.js.map +0 -1
  870. package/cjs/chunks/bundle-Z6FnnPza.js.map +0 -1
  871. package/cjs/chunks/bundle-ZpJLlgNE.js.map +0 -1
  872. package/cjs/chunks/bundle-_vyDAzUb.js.map +0 -1
  873. package/cjs/chunks/bundle-a3DGXthf.js.map +0 -1
  874. package/cjs/chunks/bundle-aQOJcXCO.js.map +0 -1
  875. package/cjs/chunks/bundle-bNp99ZTk.js.map +0 -1
  876. package/cjs/chunks/bundle-dSLJZu7j.js.map +0 -1
  877. package/cjs/chunks/bundle-dwD6gaHJ.js.map +0 -1
  878. package/cjs/chunks/bundle-hlZ6VwkW.js.map +0 -1
  879. package/cjs/chunks/bundle-jI1VVAdg.js.map +0 -1
  880. package/cjs/chunks/bundle-jP-1bn23.js.map +0 -1
  881. package/cjs/chunks/bundle-kLhcU0Bg.js.map +0 -1
  882. package/cjs/chunks/bundle-kYfqAttM.js.map +0 -1
  883. package/cjs/chunks/bundle-lHnGN-3L.js.map +0 -1
  884. package/cjs/chunks/bundle-mNGciuzV.js.map +0 -1
  885. package/cjs/chunks/bundle-m_0K8NXX.js.map +0 -1
  886. package/cjs/chunks/bundle-mk0LQISG.js.map +0 -1
  887. package/cjs/chunks/bundle-mvH436V0.js.map +0 -1
  888. package/cjs/chunks/bundle-oLo1K2bf.js.map +0 -1
  889. package/cjs/chunks/bundle-om7V4Kmd.js.map +0 -1
  890. package/cjs/chunks/bundle-qLmNEs3L.js +0 -232
  891. package/cjs/chunks/bundle-qXInmu7W.js.map +0 -1
  892. package/cjs/chunks/bundle-qjc3EF_B.js.map +0 -1
  893. package/cjs/chunks/bundle-r9E_mzs-.js.map +0 -1
  894. package/cjs/chunks/bundle-uBPLEBjK.js.map +0 -1
  895. package/cjs/chunks/bundle-uubJJzRW.js.map +0 -1
  896. package/cjs/chunks/bundle-xv7LjcKq.js.map +0 -1
  897. package/cjs/chunks/bundle-y7MhfXfx.js.map +0 -1
  898. package/cjs/chunks/bundle-zuVbTz4t.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-WnDkk4j0.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
@@ -14,4 +14,4 @@ var pxToNumber = function (px) {
14
14
  };
15
15
 
16
16
  exports.pxToNumber = pxToNumber;
17
- //# sourceMappingURL=bundle-DgcTM2HW.js.map
17
+ //# sourceMappingURL=bundle-Zjbgztcu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-Zjbgztcu.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
@@ -22,4 +22,4 @@ function useReconnectOnIdle(isOnline, currentGroupChannel, reconnectOnIdle) {
22
22
  }
23
23
 
24
24
  exports.useReconnectOnIdle = useReconnectOnIdle;
25
- //# sourceMappingURL=bundle-1CojrMYd.js.map
25
+ //# sourceMappingURL=bundle-_BACdERA.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-_BACdERA.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -5,9 +5,9 @@ var ui_PlaybackTime = require('../ui/PlaybackTime.js');
5
5
  var ui_ProgressBar = require('../ui/ProgressBar.js');
6
6
  var ui_TextButton = require('../ui/TextButton.js');
7
7
  var ui_Icon = require('../ui/Icon.js');
8
- var ui_Label = require('./bundle-WWYVAaVT.js');
9
- var LocalizationContext = require('./bundle-om7V4Kmd.js');
10
- var consts = require('./bundle--yF0PJ6E.js');
8
+ var ui_Label = require('./bundle-kp4rHxFj.js');
9
+ var LocalizationContext = require('./bundle-oMHrTlRN.js');
10
+ var consts = require('./bundle-VSxKlJiY.js');
11
11
 
12
12
  /* eslint-disable no-redeclare */
13
13
  var VoiceMessageInputStatus = {
@@ -96,4 +96,4 @@ var VoiceMessageInput = function (_a) {
96
96
 
97
97
  exports.VoiceMessageInput = VoiceMessageInput;
98
98
  exports.VoiceMessageInputStatus = VoiceMessageInputStatus;
99
- //# sourceMappingURL=bundle-p1TqI4uJ.js.map
99
+ //# sourceMappingURL=bundle-_P-b1GDT.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-p1TqI4uJ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"bundle-_P-b1GDT.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var _tslib = require('./bundle-H3iUL9jU.js');
3
+ var _tslib = require('./bundle-Pp2hAi9g.js');
4
4
 
5
5
  var USER_MENTION_PREFIX = '@';
6
6
 
@@ -53,7 +53,7 @@ function identifyMentions(_a) {
53
53
  return results;
54
54
  }
55
55
  function identifyUrlsAndStrings(token) {
56
- var URL_REG = /(?:https?:\/\/|www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.(xn--)?[a-z0-9-]{2,20}\b([-a-zA-Z0-9@:%_+[\],.~#?&/=]*[-a-zA-Z0-9@:%_+~#?&/=])*/g;
56
+ var URL_REG = /(?:https?:\/\/|www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.(xn--)?[a-z]{2,20}\b([-a-zA-Z0-9@:%_+[\],.~#?&/=]*[-a-zA-Z0-9@:%_+~#?&/=])*/g;
57
57
  var results = token.map(function (token) {
58
58
  if (token.type !== TOKEN_TYPES.undetermined) {
59
59
  return token;
@@ -75,15 +75,13 @@ function identifyUrlsAndStrings(token) {
75
75
  var head = restText.slice(0, start - cursor);
76
76
  var mid = text;
77
77
  var tail = restText.slice(end - cursor);
78
- items.push({ value: head, type: TOKEN_TYPES.string }, { value: mid, type: TOKEN_TYPES.url });
78
+ if (head.length > 0)
79
+ items.push({ value: head, type: TOKEN_TYPES.string });
80
+ items.push({ value: mid, type: TOKEN_TYPES.url });
79
81
  if (tail.length > 0)
80
82
  items.push({ value: tail, type: TOKEN_TYPES.string });
81
83
  cursor = end;
82
84
  });
83
- // Remove the first empty string
84
- if (items[0].value === '' && items[0].type === TOKEN_TYPES.string) {
85
- items.shift();
86
- }
87
85
  return items;
88
86
  }).flat();
89
87
  return results;
@@ -150,4 +148,4 @@ exports.TOKEN_TYPES = TOKEN_TYPES;
150
148
  exports.USER_MENTION_PREFIX = USER_MENTION_PREFIX;
151
149
  exports.getWhiteSpacePreservedText = getWhiteSpacePreservedText;
152
150
  exports.tokenizeMessage = tokenizeMessage;
153
- //# sourceMappingURL=bundle-ZpJLlgNE.js.map
151
+ //# sourceMappingURL=bundle-aMzX7VhJ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-aMzX7VhJ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -24,4 +24,4 @@ var UserProfileProvider = function (_a) {
24
24
 
25
25
  exports.UserProfileContext = UserProfileContext;
26
26
  exports.UserProfileProvider = UserProfileProvider;
27
- //# sourceMappingURL=bundle-uubJJzRW.js.map
27
+ //# sourceMappingURL=bundle-ac8CNkHD.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-ac8CNkHD.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var index$1 = require('./bundle-8oh3Iidd.js');
4
- var index = require('./bundle-0TRHdH1v.js');
3
+ var index$1 = require('./bundle-SSVfUJDa.js');
4
+ var index = require('./bundle-wKMTgv_N.js');
5
5
 
6
6
  /**
7
7
  * @name isToday
@@ -166,4 +166,4 @@ function isYesterday(dirtyDate) {
166
166
  exports.isThisYear = isThisYear;
167
167
  exports.isToday = isToday;
168
168
  exports.isYesterday = isYesterday;
169
- //# sourceMappingURL=bundle-3-zCFAsZ.js.map
169
+ //# sourceMappingURL=bundle-cTA4XRQz.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-3-zCFAsZ.js","sources":["../../../node_modules/date-fns/esm/isToday/index.js","../../../node_modules/date-fns/esm/isSameYear/index.js","../../../node_modules/date-fns/esm/isThisYear/index.js","../../../node_modules/date-fns/esm/addDays/index.js","../../../node_modules/date-fns/esm/subDays/index.js","../../../node_modules/date-fns/esm/isYesterday/index.js"],"sourcesContent":["import isSameDay from \"../isSameDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isToday\n * @category Day Helpers\n * @summary Is the given date today?\n * @pure false\n *\n * @description\n * Is the given date today?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is today\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 6 October 2014, is 6 October 14:00:00 today?\n * const result = isToday(new Date(2014, 9, 6, 14, 0))\n * //=> true\n */\nexport default function isToday(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameDay(dirtyDate, Date.now());\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameYear\n * @category Year Helpers\n * @summary Are the given dates in the same year?\n *\n * @description\n * Are the given dates in the same year?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same year\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 2 September 2014 and 25 September 2014 in the same year?\n * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25))\n * //=> true\n */\nexport default function isSameYear(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() === dateRight.getFullYear();\n}","import isSameYear from \"../isSameYear/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isThisYear\n * @category Year Helpers\n * @summary Is the given date in the same year as the current date?\n * @pure false\n *\n * @description\n * Is the given date in the same year as the current date?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is in this year\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 25 September 2014, is 2 July 2014 in this year?\n * const result = isThisYear(new Date(2014, 6, 2))\n * //=> true\n */\nexport default function isThisYear(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameYear(dirtyDate, Date.now());\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} - the new date with the days added\n * @throws {TypeError} - 2 arguments required\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * const result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\nexport default function addDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n date.setDate(date.getDate() + amount);\n return date;\n}","import addDays from \"../addDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n/**\n * @name subDays\n * @category Day Helpers\n * @summary Subtract the specified number of days from the given date.\n *\n * @description\n * Subtract the specified number of days from the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the days subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 10 days from 1 September 2014:\n * const result = subDays(new Date(2014, 8, 1), 10)\n * //=> Fri Aug 22 2014 00:00:00\n */\nexport default function subDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addDays(dirtyDate, -amount);\n}","import isSameDay from \"../isSameDay/index.js\";\nimport subDays from \"../subDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isYesterday\n * @category Day Helpers\n * @summary Is the given date yesterday?\n * @pure false\n *\n * @description\n * Is the given date yesterday?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is yesterday\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 6 October 2014, is 5 October 14:00:00 yesterday?\n * const result = isYesterday(new Date(2014, 9, 5, 14, 0))\n * //=> true\n */\nexport default function isYesterday(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameDay(dirtyDate, subDays(Date.now(), 1));\n}"],"names":["requiredArgs","isSameDay","toDate","toInteger"],"mappings":";;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,OAAO,CAAC,SAAS,EAAE;AAC3C,EAAEA,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,OAAOC,iBAAS,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AAC1C;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,UAAU,CAAC,aAAa,EAAE,cAAc,EAAE;AAClE,EAAED,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,QAAQ,GAAGE,YAAM,CAAC,aAAa,CAAC,CAAC;AACvC,EAAE,IAAI,SAAS,GAAGA,YAAM,CAAC,cAAc,CAAC,CAAC;AACzC,EAAE,OAAO,QAAQ,CAAC,WAAW,EAAE,KAAK,SAAS,CAAC,WAAW,EAAE,CAAC;AAC5D;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,UAAU,CAAC,SAAS,EAAE;AAC9C,EAAEF,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,OAAO,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AAC3C;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,OAAO,CAAC,SAAS,EAAE,WAAW,EAAE;AACxD,EAAEA,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAGE,YAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,MAAM,GAAGC,eAAS,CAAC,WAAW,CAAC,CAAC;AACtC,EAAE,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE;AACrB,IAAI,OAAO,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC;AACzB,GAAG;AACH,EAAE,IAAI,CAAC,MAAM,EAAE;AACf;AACA,IAAI,OAAO,IAAI,CAAC;AAChB,GAAG;AACH,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,CAAC;AACxC,EAAE,OAAO,IAAI,CAAC;AACd;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,OAAO,CAAC,SAAS,EAAE,WAAW,EAAE;AACxD,EAAEH,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,MAAM,GAAGG,eAAS,CAAC,WAAW,CAAC,CAAC;AACtC,EAAE,OAAO,OAAO,CAAC,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;AACrC;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,WAAW,CAAC,SAAS,EAAE;AAC/C,EAAEH,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,OAAOC,iBAAS,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AACtD;;;;;;","x_google_ignoreList":[0,1,2,3,4,5]}
1
+ {"version":3,"file":"bundle-cTA4XRQz.js","sources":["../../../node_modules/date-fns/esm/isToday/index.js","../../../node_modules/date-fns/esm/isSameYear/index.js","../../../node_modules/date-fns/esm/isThisYear/index.js","../../../node_modules/date-fns/esm/addDays/index.js","../../../node_modules/date-fns/esm/subDays/index.js","../../../node_modules/date-fns/esm/isYesterday/index.js"],"sourcesContent":["import isSameDay from \"../isSameDay/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isToday\n * @category Day Helpers\n * @summary Is the given date today?\n * @pure false\n *\n * @description\n * Is the given date today?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is today\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 6 October 2014, is 6 October 14:00:00 today?\n * const result = isToday(new Date(2014, 9, 6, 14, 0))\n * //=> true\n */\nexport default function isToday(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameDay(dirtyDate, Date.now());\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameYear\n * @category Year Helpers\n * @summary Are the given dates in the same year?\n *\n * @description\n * Are the given dates in the same year?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same year\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 2 September 2014 and 25 September 2014 in the same year?\n * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25))\n * //=> true\n */\nexport default function isSameYear(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() === dateRight.getFullYear();\n}","import isSameYear from \"../isSameYear/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isThisYear\n * @category Year Helpers\n * @summary Is the given date in the same year as the current date?\n * @pure false\n *\n * @description\n * Is the given date in the same year as the current date?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is in this year\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 25 September 2014, is 2 July 2014 in this year?\n * const result = isThisYear(new Date(2014, 6, 2))\n * //=> true\n */\nexport default function isThisYear(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameYear(dirtyDate, Date.now());\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} - the new date with the days added\n * @throws {TypeError} - 2 arguments required\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * const result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\nexport default function addDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n date.setDate(date.getDate() + amount);\n return date;\n}","import addDays from \"../addDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\nimport toInteger from \"../_lib/toInteger/index.js\";\n/**\n * @name subDays\n * @category Day Helpers\n * @summary Subtract the specified number of days from the given date.\n *\n * @description\n * Subtract the specified number of days from the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be subtracted. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the days subtracted\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Subtract 10 days from 1 September 2014:\n * const result = subDays(new Date(2014, 8, 1), 10)\n * //=> Fri Aug 22 2014 00:00:00\n */\nexport default function subDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addDays(dirtyDate, -amount);\n}","import isSameDay from \"../isSameDay/index.js\";\nimport subDays from \"../subDays/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isYesterday\n * @category Day Helpers\n * @summary Is the given date yesterday?\n * @pure false\n *\n * @description\n * Is the given date yesterday?\n *\n * > ⚠️ Please note that this function is not present in the FP submodule as\n * > it uses `Date.now()` internally hence impure and can't be safely curried.\n *\n * @param {Date|Number} date - the date to check\n * @returns {Boolean} the date is yesterday\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // If today is 6 October 2014, is 5 October 14:00:00 yesterday?\n * const result = isYesterday(new Date(2014, 9, 5, 14, 0))\n * //=> true\n */\nexport default function isYesterday(dirtyDate) {\n requiredArgs(1, arguments);\n return isSameDay(dirtyDate, subDays(Date.now(), 1));\n}"],"names":["requiredArgs","isSameDay","toDate","toInteger"],"mappings":";;;;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,OAAO,CAAC,SAAS,EAAE;AAC3C,EAAEA,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,OAAOC,iBAAS,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AAC1C;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,UAAU,CAAC,aAAa,EAAE,cAAc,EAAE;AAClE,EAAED,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,QAAQ,GAAGE,YAAM,CAAC,aAAa,CAAC,CAAC;AACvC,EAAE,IAAI,SAAS,GAAGA,YAAM,CAAC,cAAc,CAAC,CAAC;AACzC,EAAE,OAAO,QAAQ,CAAC,WAAW,EAAE,KAAK,SAAS,CAAC,WAAW,EAAE,CAAC;AAC5D;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,UAAU,CAAC,SAAS,EAAE;AAC9C,EAAEF,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,OAAO,UAAU,CAAC,SAAS,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;AAC3C;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,OAAO,CAAC,SAAS,EAAE,WAAW,EAAE;AACxD,EAAEA,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAGE,YAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,MAAM,GAAGC,eAAS,CAAC,WAAW,CAAC,CAAC;AACtC,EAAE,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE;AACrB,IAAI,OAAO,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC;AACzB,GAAG;AACH,EAAE,IAAI,CAAC,MAAM,EAAE;AACf;AACA,IAAI,OAAO,IAAI,CAAC;AAChB,GAAG;AACH,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,CAAC;AACxC,EAAE,OAAO,IAAI,CAAC;AACd;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,OAAO,CAAC,SAAS,EAAE,WAAW,EAAE;AACxD,EAAEH,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,MAAM,GAAGG,eAAS,CAAC,WAAW,CAAC,CAAC;AACtC,EAAE,OAAO,OAAO,CAAC,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;AACrC;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,WAAW,CAAC,SAAS,EAAE;AAC/C,EAAEH,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,OAAOC,iBAAS,CAAC,SAAS,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AACtD;;;;;;","x_google_ignoreList":[0,1,2,3,4,5]}
@@ -25,4 +25,4 @@ var changeColorToClassName = function (color) {
25
25
  };
26
26
 
27
27
  exports.changeColorToClassName = changeColorToClassName;
28
- //# sourceMappingURL=bundle-YxnuYJcD.js.map
28
+ //# sourceMappingURL=bundle-cjPeUrcf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-cjPeUrcf.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -151,6 +151,7 @@ var stringSet = {
151
151
  NO_TITLE: 'No title',
152
152
  NO_NAME: '(No name)',
153
153
  NO_MEMBERS: '(No members)',
154
+ LABEL__OPERATOR: 'Operator',
154
155
  // Context Menu
155
156
  MESSAGE_MENU__COPY: 'Copy',
156
157
  MESSAGE_MENU__REPLY: 'Reply',
@@ -232,4 +233,4 @@ var getStringSet = function (lang) {
232
233
  };
233
234
 
234
235
  exports.getStringSet = getStringSet;
235
- //# sourceMappingURL=bundle-08DJamJs.js.map
236
+ //# sourceMappingURL=bundle-cuXn941P.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-cuXn941P.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,10 +2,10 @@
2
2
 
3
3
  var React = require('react');
4
4
  var ui_ContextMenu = require('../ui/ContextMenu.js');
5
- var index = require('./bundle-eG-yFfLY.js');
6
- var LocalizationContext = require('./bundle-om7V4Kmd.js');
5
+ var index = require('./bundle-BIo8a3gP.js');
6
+ var LocalizationContext = require('./bundle-oMHrTlRN.js');
7
7
  var ui_Icon = require('../ui/Icon.js');
8
- var ui_Label = require('./bundle-WWYVAaVT.js');
8
+ var ui_Label = require('./bundle-kp4rHxFj.js');
9
9
  var ui_BottomSheet = require('../ui/BottomSheet.js');
10
10
  var ui_ImageRenderer = require('../ui/ImageRenderer.js');
11
11
  var ui_ReactionButton = require('../ui/ReactionButton.js');
@@ -227,4 +227,4 @@ var MobileMenu = function (props) {
227
227
  };
228
228
 
229
229
  exports.MobileMenu = MobileMenu;
230
- //# sourceMappingURL=bundle-hCR6GZHZ.js.map
230
+ //# sourceMappingURL=bundle-dRMOPP7T.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-jamufWw7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"bundle-dRMOPP7T.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -32,4 +32,4 @@ var generateDefaultAvatar = function (channel) {
32
32
  exports.generateDefaultAvatar = generateDefaultAvatar;
33
33
  exports.getChannelAvatarSource = getChannelAvatarSource;
34
34
  exports.getOpenChannelAvatar = getOpenChannelAvatar;
35
- //# sourceMappingURL=bundle-xv7LjcKq.js.map
35
+ //# sourceMappingURL=bundle-gKfBWs5Z.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-gKfBWs5Z.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -17,4 +17,4 @@ function useKeyDown(ref, keyDownCallbackMap) {
17
17
  }
18
18
 
19
19
  exports.useKeyDown = useKeyDown;
20
- //# sourceMappingURL=bundle-LFW-mAQF.js.map
20
+ //# sourceMappingURL=bundle-h40wCyHM.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-h40wCyHM.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,6 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var ChannelList_context = require('./bundle-Eq5GnDnz.js');
5
4
  var ui_IconButton = require('../ui/IconButton.js');
6
5
  var ui_Icon = require('../ui/Icon.js');
7
6
  var CreateChannel = require('../CreateChannel.js');
@@ -19,12 +18,5 @@ var AddGroupChannelView = function (_a) {
19
18
  }, onBeforeCreateChannel: onBeforeCreateChannel, onCreateChannelClick: onCreateChannelClick }))));
20
19
  };
21
20
 
22
- var AddChannel = function () {
23
- var _a = React.useState(false), showModal = _a[0], setShowModal = _a[1];
24
- var _b = ChannelList_context.useChannelListContext(), overrideInviteUser = _b.overrideInviteUser, onBeforeCreateChannel = _b.onBeforeCreateChannel, onChannelSelect = _b.onChannelSelect;
25
- return (React.createElement(AddGroupChannelView, { createChannelVisible: showModal, onChangeCreateChannelVisible: setShowModal, onCreateChannelClick: overrideInviteUser, onBeforeCreateChannel: onBeforeCreateChannel, onChannelCreated: onChannelSelect }));
26
- };
27
-
28
- exports.AddChannel = AddChannel;
29
21
  exports.AddGroupChannelView = AddGroupChannelView;
30
- //# sourceMappingURL=bundle-Dy4KUUCa.js.map
22
+ //# sourceMappingURL=bundle-hlXVvUFU.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-hlXVvUFU.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
@@ -7,4 +7,4 @@ var USER_ACTIONS = {
7
7
  };
8
8
 
9
9
  exports.USER_ACTIONS = USER_ACTIONS;
10
- //# sourceMappingURL=bundle-mvH436V0.js.map
10
+ //# sourceMappingURL=bundle-jL6J2ZGE.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-jL6J2ZGE.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var _tslib = require('./bundle-H3iUL9jU.js');
3
+ var _tslib = require('./bundle-Pp2hAi9g.js');
4
4
  var React = require('react');
5
- var stringSet = require('./bundle-08DJamJs.js');
5
+ var stringSet = require('./bundle-cuXn941P.js');
6
6
 
7
7
  var Typography = {
8
8
  H_1: 'H_1',
@@ -83,4 +83,4 @@ exports.LabelColors = LabelColors;
83
83
  exports.LabelStringSet = LabelStringSet;
84
84
  exports.LabelTypography = LabelTypography;
85
85
  exports.changeColorToClassName = changeColorToClassName;
86
- //# sourceMappingURL=bundle-WWYVAaVT.js.map
86
+ //# sourceMappingURL=bundle-kp4rHxFj.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-kp4rHxFj.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -76,4 +76,4 @@ var useMediaQueryContext = function () { return React.useContext(MediaQueryConte
76
76
 
77
77
  exports.MediaQueryProvider = MediaQueryProvider;
78
78
  exports.useMediaQueryContext = useMediaQueryContext;
79
- //# sourceMappingURL=bundle-lHnGN-3L.js.map
79
+ //# sourceMappingURL=bundle-l18lIHqV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-l18lIHqV.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var consts = require('./bundle--yF0PJ6E.js');
3
+ var consts = require('./bundle-VSxKlJiY.js');
4
4
  var lame_all = require('../lame.all.js');
5
5
 
6
6
  // Thanks to https://codesandbox.io/s/media-recorder-api-downsampling-16k-mp3-encode-using-lame-js-forked-n1pblw
@@ -125,4 +125,4 @@ function bufferToWav(abuffer, len) {
125
125
 
126
126
  exports.downsampleToWav = downsampleToWav;
127
127
  exports.encodeMp3 = encodeMp3;
128
- //# sourceMappingURL=bundle-uBPLEBjK.js.map
128
+ //# sourceMappingURL=bundle-mCVRGUkl.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-mCVRGUkl.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -10,4 +10,4 @@ var isMobileIOS = function (userAgent) {
10
10
 
11
11
  exports.isMobileIOS = isMobileIOS;
12
12
  exports.noop = noop;
13
- //# sourceMappingURL=bundle-Kwa0c8dM.js.map
13
+ //# sourceMappingURL=bundle-mPK9VGR0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-mPK9VGR0.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -33,4 +33,4 @@ function useToggleReactionCallback(currentChannel, logger) {
33
33
  }
34
34
 
35
35
  exports.useToggleReactionCallback = useToggleReactionCallback;
36
- //# sourceMappingURL=bundle-qjc3EF_B.js.map
36
+ //# sourceMappingURL=bundle-mYCCMkSO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-mYCCMkSO.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var ui_Label = require('./bundle-WWYVAaVT.js');
3
+ var ui_Label = require('./bundle-kp4rHxFj.js');
4
4
 
5
5
  var getChannelTitle = function (channel, currentUserId, stringSet) {
6
6
  var _a;
@@ -24,4 +24,4 @@ var getChannelTitle = function (channel, currentUserId, stringSet) {
24
24
  };
25
25
 
26
26
  exports.getChannelTitle = getChannelTitle;
27
- //# sourceMappingURL=bundle-zuVbTz4t.js.map
27
+ //# sourceMappingURL=bundle-nFCXCRnQ.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-nFCXCRnQ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,69 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var GroupChannelList_components_GroupChannelListHeader = require('../GroupChannelList/components/GroupChannelListHeader.js');
5
+ var useSendbirdStateContext = require('../useSendbirdStateContext.js');
6
+ var EditUserProfile = require('../EditUserProfile.js');
7
+ var ui_PlaceHolder = require('../ui/PlaceHolder.js');
8
+ var index = require('./bundle-ECik2x9q.js');
9
+
10
+ var GroupChannelListUIView = function (_a) {
11
+ var renderHeader = _a.renderHeader, renderPlaceHolderError = _a.renderPlaceHolderError, renderPlaceHolderLoading = _a.renderPlaceHolderLoading, renderPlaceHolderEmptyList = _a.renderPlaceHolderEmptyList, onChangeTheme = _a.onChangeTheme, onUserProfileUpdated = _a.onUserProfileUpdated, allowProfileEdit = _a.allowProfileEdit, channels = _a.channels, onLoadMore = _a.onLoadMore, initialized = _a.initialized, renderChannel = _a.renderChannel, renderAddChannel = _a.renderAddChannel;
12
+ var _b = React.useState(false), showProfileEdit = _b[0], setShowProfileEdit = _b[1];
13
+ var stores = useSendbirdStateContext.useSendbirdStateContext().stores;
14
+ var renderer = {
15
+ addChannel: renderAddChannel,
16
+ channel: renderChannel,
17
+ placeholder: {
18
+ loading: function () {
19
+ if (initialized)
20
+ return null;
21
+ if (renderPlaceHolderLoading)
22
+ return renderPlaceHolderLoading();
23
+ return React.createElement(ui_PlaceHolder.default, { type: ui_PlaceHolder.PlaceHolderTypes.LOADING });
24
+ },
25
+ empty: function () {
26
+ if (!initialized)
27
+ return null;
28
+ if (renderPlaceHolderEmptyList)
29
+ return renderPlaceHolderEmptyList();
30
+ return React.createElement(ui_PlaceHolder.default, { type: ui_PlaceHolder.PlaceHolderTypes.NO_CHANNELS });
31
+ },
32
+ error: function () {
33
+ if (!initialized || !stores.sdkStore.error)
34
+ return null;
35
+ if (renderPlaceHolderError)
36
+ return renderPlaceHolderError();
37
+ return React.createElement(ui_PlaceHolder.default, { type: ui_PlaceHolder.PlaceHolderTypes.WRONG });
38
+ },
39
+ },
40
+ };
41
+ return (React.createElement(React.Fragment, null,
42
+ React.createElement("div", { className: "sendbird-channel-list__header" }, (renderHeader === null || renderHeader === void 0 ? void 0 : renderHeader()) || (React.createElement(GroupChannelList_components_GroupChannelListHeader.GroupChannelListHeader, { onEdit: function () { return allowProfileEdit && setShowProfileEdit(true); }, allowProfileEdit: allowProfileEdit, renderIconButton: function () { return renderer.addChannel(); } }))),
43
+ showProfileEdit && (React.createElement(EditUserProfile, { onThemeChange: onChangeTheme, onCancel: function () { return setShowProfileEdit(false); }, onEditProfile: function (user) {
44
+ setShowProfileEdit(false);
45
+ onUserProfileUpdated(user);
46
+ } })),
47
+ React.createElement(ChannelListComponent, { data: channels, renderItem: renderer.channel, onLoadMore: onLoadMore, placeholderLoading: renderer.placeholder.loading(), placeholderEmpty: renderer.placeholder.empty(), placeholderError: renderer.placeholder.error() })));
48
+ };
49
+ /**
50
+ * To do: Implement windowing
51
+ * Implement windowing if you are dealing with large number of messages/channels
52
+ * https://github.com/bvaughn/react-window -> recommendation
53
+ * We hesitate to bring one more dependency to our library,
54
+ * we are planning to implement it inside the library
55
+ * */
56
+ var ChannelListComponent = function (props) {
57
+ var data = props.data, renderItem = props.renderItem, onLoadMore = props.onLoadMore, placeholderLoading = props.placeholderLoading, placeholderError = props.placeholderError, placeholderEmpty = props.placeholderEmpty;
58
+ var onScroll = index.useOnScrollPositionChangeDetector({
59
+ onReachedBottom: function () { return onLoadMore(); },
60
+ });
61
+ return (React.createElement("div", { className: 'sendbird-channel-list__body', onScroll: onScroll },
62
+ placeholderError,
63
+ React.createElement("div", null, data.map(function (item, index) { return renderItem({ item: item, index: index }); })),
64
+ placeholderLoading,
65
+ data.length === 0 && placeholderEmpty));
66
+ };
67
+
68
+ exports.GroupChannelListUIView = GroupChannelListUIView;
69
+ //# sourceMappingURL=bundle-naQEIYGP.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-naQEIYGP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var stringSet = require('./bundle-08DJamJs.js');
5
- var index = require('./bundle-ubmIpm9y.js');
4
+ var stringSet = require('./bundle-cuXn941P.js');
5
+ var index = require('./bundle-qTpNvbyy.js');
6
6
 
7
7
  var LocalizationContext = React.createContext({
8
8
  stringSet: stringSet.getStringSet('en'),
@@ -17,4 +17,4 @@ var useLocalization = function () { return React.useContext(LocalizationContext)
17
17
  exports.LocalizationContext = LocalizationContext;
18
18
  exports.LocalizationProvider = LocalizationProvider;
19
19
  exports.useLocalization = useLocalization;
20
- //# sourceMappingURL=bundle-om7V4Kmd.js.map
20
+ //# sourceMappingURL=bundle-oMHrTlRN.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle-oMHrTlRN.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var UserProfileContext = require('./bundle-uubJJzRW.js');
5
- var _tslib = require('./bundle-H3iUL9jU.js');
6
- var compareIds = require('./bundle-EsJltkVm.js');
7
- var pubSub_topics = require('./bundle-BMB3xh2i.js');
4
+ var UserProfileContext = require('./bundle-ac8CNkHD.js');
5
+ var _tslib = require('./bundle-Pp2hAi9g.js');
6
+ var compareIds = require('./bundle-WnDkk4j0.js');
7
+ var pubSub_topics = require('./bundle-tlScTb1q.js');
8
8
  var SendbirdChat = require('@sendbird/chat');
9
9
  var openChannel = require('@sendbird/chat/openChannel');
10
- var uuid = require('./bundle-jP-1bn23.js');
11
- var compressImages = require('./bundle-49TaYIAY.js');
10
+ var uuid = require('./bundle-1Kqo8Utk.js');
11
+ var compressImages = require('./bundle-szNiJOoj.js');
12
12
  var useSendbirdStateContext = require('../useSendbirdStateContext.js');
13
13
  var hooks_useModal = require('../hooks/useModal.js');
14
- var LocalizationContext = require('./bundle-om7V4Kmd.js');
15
- var consts = require('./bundle--yF0PJ6E.js');
16
- var ui_Modal = require('./bundle--t70CDfb.js');
17
- require('./bundle-WWYVAaVT.js');
14
+ var LocalizationContext = require('./bundle-oMHrTlRN.js');
15
+ var consts = require('./bundle-VSxKlJiY.js');
16
+ var ui_Modal = require('./bundle-Mku2L7HX.js');
17
+ require('./bundle-kp4rHxFj.js');
18
18
  var ui_Button = require('../ui/Button.js');
19
19
 
20
20
  var shouldFetchMore = function (messageLength, maxMessages) {
@@ -1366,4 +1366,4 @@ var useOpenChannelContext = function () { return React.useContext(OpenChannelCon
1366
1366
  exports.OpenChannelProvider = OpenChannelProvider;
1367
1367
  exports.kFormatter = kFormatter;
1368
1368
  exports.useOpenChannelContext = useOpenChannelContext;
1369
- //# sourceMappingURL=bundle-gjgpE5zc.js.map
1369
+ //# sourceMappingURL=bundle-p2ei7o2m.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"bundle-gjgpE5zc.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"bundle-p2ei7o2m.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,23 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var _tslib = require('./bundle-H3iUL9jU.js');
3
+ var _tslib = require('./bundle-Pp2hAi9g.js');
4
4
  var React = require('react');
5
+ var index$1 = require('./bundle-wKMTgv_N.js');
6
+ var LocalizationContext = require('./bundle-oMHrTlRN.js');
5
7
  var useSendbirdStateContext = require('../useSendbirdStateContext.js');
6
- var Channel_context = require('../Channel/context.js');
7
- var index = require('./bundle-eG-yFfLY.js');
8
- var utils$1 = require('./bundle-E1H3DQtB.js');
9
- var index$1 = require('./bundle-0TRHdH1v.js');
10
- var LocalizationContext = require('./bundle-om7V4Kmd.js');
11
- var SuggestedMentionListView = require('./bundle-jUxjf8aL.js');
12
- var utils = require('./bundle-hlZ6VwkW.js');
8
+ var SuggestedMentionListView = require('./bundle-GVX1pgQE.js');
9
+ var utils = require('./bundle-3my94NZb.js');
13
10
  var Message_hooks_useDirtyGetMentions = require('../Message/hooks/useDirtyGetMentions.js');
11
+ var index = require('./bundle-BIo8a3gP.js');
14
12
  var ui_DateSeparator = require('../ui/DateSeparator.js');
15
- var ui_Label = require('./bundle-WWYVAaVT.js');
13
+ var ui_Label = require('./bundle-kp4rHxFj.js');
16
14
  var ui_MessageInput = require('../ui/MessageInput.js');
17
- var _const = require('./bundle-Ok99sReN.js');
15
+ var _const = require('./bundle-wVlRBt78.js');
18
16
  var ui_MessageContent = require('../ui/MessageContent.js');
19
- var Channel_components_FileViewer = require('./bundle-BrOubGHT.js');
20
- var Channel_components_RemoveMessageModal = require('./bundle-OlL6NpZd.js');
17
+ var GroupChannel_components_SuggestedReplies = require('../GroupChannel/components/SuggestedReplies.js');
21
18
 
22
19
  var useDidMountEffect = function (func, deps) {
23
20
  var _a = React.useState(false), didMount = _a[0], setDidmount = _a[1];
@@ -31,22 +28,6 @@ var useDidMountEffect = function (func, deps) {
31
28
  }, deps);
32
29
  };
33
30
 
34
- var SuggestedReplies = function (_a) {
35
- var replyOptions = _a.replyOptions, onSendMessage = _a.onSendMessage;
36
- var _b = React.useState(false), replied = _b[0], setReplied = _b[1];
37
- var onClickReply = function (event, option) {
38
- event.preventDefault();
39
- onSendMessage({ message: option });
40
- setReplied(true);
41
- };
42
- if (replied) {
43
- return null;
44
- }
45
- return (React.createElement("div", { className: "sendbird-suggested-replies" }, replyOptions.map(function (option, index) {
46
- return (React.createElement("div", { className: "sendbird-suggested-replies__option", id: option, key: index + option, onClick: function (e) { return onClickReply(e, option); } }, option));
47
- })));
48
- };
49
-
50
31
  // TODO: Refactor this component, is too complex now
51
32
  var MessageView = function (props) {
52
33
  var _a, _b;
@@ -249,36 +230,10 @@ var MessageView = function (props) {
249
230
  onMessageHeightChange: handleScroll,
250
231
  }),
251
232
  /** Suggested Replies */
252
- shouldRenderSuggestedReplies && React.createElement(SuggestedReplies, { replyOptions: index.getSuggestedReplies(message), onSendMessage: sendUserMessage }),
233
+ shouldRenderSuggestedReplies && React.createElement(GroupChannel_components_SuggestedReplies.SuggestedReplies, { replyOptions: index.getSuggestedReplies(message), onSendMessage: sendUserMessage }),
253
234
  showRemove && renderRemoveMessageModal({ message: message, onCancel: function () { return setShowRemove(false); } }),
254
235
  showFileViewer && renderFileViewer({ message: message, onCancel: function () { return setShowFileViewer(false); } })));
255
236
  };
256
237
 
257
- var Message = function (props) {
258
- var _a, _b;
259
- var config = useSendbirdStateContext.useSendbirdStateContext().config;
260
- var _c = Channel_context.useChannelContext(), initialized = _c.initialized, currentGroupChannel = _c.currentGroupChannel, highLightedMessageId = _c.highLightedMessageId, setHighLightedMessageId = _c.setHighLightedMessageId, animatedMessageId = _c.animatedMessageId, setAnimatedMessageId = _c.setAnimatedMessageId, updateMessage = _c.updateMessage, scrollToMessage = _c.scrollToMessage, replyType = _c.replyType, threadReplySelectType = _c.threadReplySelectType, isReactionEnabled = _c.isReactionEnabled, toggleReaction = _c.toggleReaction, emojiContainer = _c.emojiContainer, nicknamesMap = _c.nicknamesMap, setQuoteMessage = _c.setQuoteMessage, resendMessage = _c.resendMessage, deleteMessage = _c.deleteMessage, renderUserMentionItem = _c.renderUserMentionItem, onReplyInThread = _c.onReplyInThread, onQuoteMessageClick = _c.onQuoteMessageClick, onMessageAnimated = _c.onMessageAnimated, onMessageHighlighted = _c.onMessageHighlighted, sendMessage = _c.sendMessage, localMessages = _c.localMessages;
261
- var message = props.message;
262
- return (React.createElement(MessageView, _tslib.__assign({}, props, { channel: currentGroupChannel, emojiContainer: emojiContainer, editInputDisabled: !initialized || utils$1.isDisabledBecauseFrozen(currentGroupChannel) || utils$1.isDisabledBecauseMuted(currentGroupChannel) || !config.isOnline, shouldRenderSuggestedReplies: ((_a = config === null || config === void 0 ? void 0 : config.groupChannel) === null || _a === void 0 ? void 0 : _a.enableSuggestedReplies)
263
- && message.messageId === ((_b = currentGroupChannel === null || currentGroupChannel === void 0 ? void 0 : currentGroupChannel.lastMessage) === null || _b === void 0 ? void 0 : _b.messageId)
264
- // the options should appear only when there's no failed or pending messages
265
- && (localMessages === null || localMessages === void 0 ? void 0 : localMessages.length) === 0
266
- && index.getSuggestedReplies(message).length > 0, isReactionEnabled: isReactionEnabled, replyType: replyType, threadReplySelectType: threadReplySelectType, nicknamesMap: nicknamesMap, renderUserMentionItem: renderUserMentionItem, scrollToMessage: scrollToMessage, toggleReaction: toggleReaction, setQuoteMessage: setQuoteMessage, onQuoteMessageClick: onQuoteMessageClick, onReplyInThreadClick: onReplyInThread, sendUserMessage: function (params) {
267
- sendMessage({
268
- message: params.message,
269
- mentionedUsers: params.mentionedUsers,
270
- mentionTemplate: params.mentionedMessageTemplate,
271
- });
272
- }, updateUserMessage: function (messageId, params) {
273
- updateMessage({
274
- messageId: messageId,
275
- message: params.message,
276
- mentionedUsers: params.mentionedUsers,
277
- mentionTemplate: params.mentionedMessageTemplate,
278
- });
279
- }, resendMessage: resendMessage, deleteMessage: deleteMessage, animatedMessageId: animatedMessageId, setAnimatedMessageId: setAnimatedMessageId, onMessageAnimated: onMessageAnimated, highLightedMessageId: highLightedMessageId, setHighLightedMessageId: setHighLightedMessageId, onMessageHighlighted: onMessageHighlighted, renderFileViewer: function (props) { return React.createElement(Channel_components_FileViewer.FileViewer, _tslib.__assign({}, props)); }, renderRemoveMessageModal: function (props) { return React.createElement(Channel_components_RemoveMessageModal.RemoveMessageModal, _tslib.__assign({}, props)); } })));
280
- };
281
-
282
- exports.Message = Message;
283
238
  exports.MessageView = MessageView;
284
- //# sourceMappingURL=bundle-FHJHaFw9.js.map
239
+ //# sourceMappingURL=bundle-pnCKgq1p.js.map