@sendbird/uikit-react 3.15.13 → 3.15.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1326) hide show
  1. package/App.js +115 -270
  2. package/App.js.map +1 -1
  3. package/CHANGELOG.md +39 -0
  4. package/Channel/components/ChannelHeader.js +32 -40
  5. package/Channel/components/ChannelHeader.js.map +1 -1
  6. package/Channel/components/ChannelUI.js +77 -76
  7. package/Channel/components/ChannelUI.js.map +1 -1
  8. package/Channel/components/FileViewer.js +31 -35
  9. package/Channel/components/FileViewer.js.map +1 -1
  10. package/Channel/components/FrozenNotification.js +6 -5
  11. package/Channel/components/FrozenNotification.js.map +1 -1
  12. package/Channel/components/Message.js +68 -67
  13. package/Channel/components/Message.js.map +1 -1
  14. package/Channel/components/MessageInput.js +48 -50
  15. package/Channel/components/MessageInput.js.map +1 -1
  16. package/Channel/components/MessageInputWrapper.js +48 -50
  17. package/Channel/components/MessageInputWrapper.js.map +1 -1
  18. package/Channel/components/MessageList.js +74 -70
  19. package/Channel/components/MessageList.js.map +1 -1
  20. package/Channel/components/RemoveMessageModal.js +31 -36
  21. package/Channel/components/RemoveMessageModal.js.map +1 -1
  22. package/Channel/components/SuggestedMentionList.js +31 -41
  23. package/Channel/components/SuggestedMentionList.js.map +1 -1
  24. package/Channel/components/TypingIndicator.js +11 -7
  25. package/Channel/components/TypingIndicator.js.map +1 -1
  26. package/Channel/components/UnreadCount.js +8 -7
  27. package/Channel/components/UnreadCount.js.map +1 -1
  28. package/Channel/context.js +71 -39
  29. package/Channel/context.js.map +1 -1
  30. package/Channel/hooks/useHandleUploadFiles.js +20 -22
  31. package/Channel/hooks/useHandleUploadFiles.js.map +1 -1
  32. package/Channel/hooks/useInitialMessagesFetch.js +8 -8
  33. package/Channel/utils/compareMessagesForGrouping.js +16 -18
  34. package/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  35. package/Channel/utils/getMessagePartsInfo.js +13 -14
  36. package/Channel/utils/getMessagePartsInfo.js.map +1 -1
  37. package/Channel.js +77 -76
  38. package/Channel.js.map +1 -1
  39. package/ChannelList/components/AddChannel.js +214 -45
  40. package/ChannelList/components/AddChannel.js.map +1 -1
  41. package/ChannelList/components/ChannelListHeader.js +16 -11
  42. package/ChannelList/components/ChannelListHeader.js.map +1 -1
  43. package/ChannelList/components/ChannelListUI.js +205 -138
  44. package/ChannelList/components/ChannelListUI.js.map +1 -1
  45. package/ChannelList/components/ChannelPreview.js +39 -41
  46. package/ChannelList/components/ChannelPreview.js.map +1 -1
  47. package/ChannelList/components/ChannelPreviewAction.js +17 -18
  48. package/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  49. package/ChannelList/context.js +14 -27
  50. package/ChannelList/context.js.map +1 -1
  51. package/ChannelList.js +212 -81
  52. package/ChannelList.js.map +1 -1
  53. package/ChannelSettings/components/ChannelProfile.js +28 -32
  54. package/ChannelSettings/components/ChannelProfile.js.map +1 -1
  55. package/ChannelSettings/components/ChannelSettingMenuList.js +15 -28
  56. package/ChannelSettings/components/ChannelSettingMenuList.js.map +1 -1
  57. package/ChannelSettings/components/ChannelSettingsHeader.js +16 -10
  58. package/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
  59. package/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
  60. package/ChannelSettings/components/ChannelSettingsUI.js +49 -50
  61. package/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  62. package/ChannelSettings/components/EditDetailsModal.js +23 -31
  63. package/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  64. package/ChannelSettings/components/LeaveChannel.js +25 -28
  65. package/ChannelSettings/components/LeaveChannel.js.map +1 -1
  66. package/ChannelSettings/components/ModerationPanel.js +33 -33
  67. package/ChannelSettings/components/UserListItem.js +26 -29
  68. package/ChannelSettings/components/UserListItem.js.map +1 -1
  69. package/ChannelSettings/components/UserPanel.js +35 -35
  70. package/ChannelSettings/context.js +11 -173
  71. package/ChannelSettings/context.js.map +1 -1
  72. package/ChannelSettings/hooks/useMenuList.js +33 -33
  73. package/ChannelSettings.js +52 -52
  74. package/CreateChannel/components/CreateChannelUI.js +214 -45
  75. package/CreateChannel/components/CreateChannelUI.js.map +1 -1
  76. package/CreateChannel/components/InviteUsers.js +215 -153
  77. package/CreateChannel/components/InviteUsers.js.map +1 -1
  78. package/CreateChannel/components/SelectChannelType.js +216 -85
  79. package/CreateChannel/components/SelectChannelType.js.map +1 -1
  80. package/CreateChannel/context.js +221 -6
  81. package/CreateChannel/context.js.map +1 -1
  82. package/CreateChannel.js +213 -39
  83. package/CreateChannel.js.map +1 -1
  84. package/CreateOpenChannel/components/CreateOpenChannelUI.js +16 -24
  85. package/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  86. package/CreateOpenChannel/context.js +9 -4
  87. package/CreateOpenChannel/context.js.map +1 -1
  88. package/CreateOpenChannel.js +16 -24
  89. package/CreateOpenChannel.js.map +1 -1
  90. package/EditUserProfile/components/EditUserProfileUI.js +27 -35
  91. package/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  92. package/EditUserProfile/context.js +1 -1
  93. package/EditUserProfile.js +16 -25
  94. package/EditUserProfile.js.map +1 -1
  95. package/GroupChannel/components/FileViewer.js +34 -36
  96. package/GroupChannel/components/FileViewer.js.map +1 -1
  97. package/GroupChannel/components/FrozenNotification.js +6 -5
  98. package/GroupChannel/components/FrozenNotification.js.map +1 -1
  99. package/GroupChannel/components/GroupChannelHeader.js +31 -37
  100. package/GroupChannel/components/GroupChannelHeader.js.map +1 -1
  101. package/GroupChannel/components/GroupChannelUI.js +73 -70
  102. package/GroupChannel/components/GroupChannelUI.js.map +1 -1
  103. package/GroupChannel/components/Message.js +67 -63
  104. package/GroupChannel/components/Message.js.map +1 -1
  105. package/GroupChannel/components/MessageInputWrapper.js +49 -48
  106. package/GroupChannel/components/MessageInputWrapper.js.map +1 -1
  107. package/GroupChannel/components/MessageList.js +76 -71
  108. package/GroupChannel/components/MessageList.js.map +1 -1
  109. package/GroupChannel/components/RemoveMessageModal.js +32 -34
  110. package/GroupChannel/components/RemoveMessageModal.js.map +1 -1
  111. package/GroupChannel/components/SuggestedMentionList.js +18 -13
  112. package/GroupChannel/components/SuggestedMentionList.js.map +1 -1
  113. package/GroupChannel/components/TypingIndicator.js +14 -10
  114. package/GroupChannel/components/TypingIndicator.js.map +1 -1
  115. package/GroupChannel/components/UnreadCount.js +8 -7
  116. package/GroupChannel/components/UnreadCount.js.map +1 -1
  117. package/GroupChannel/context.js +19 -513
  118. package/GroupChannel/context.js.map +1 -1
  119. package/GroupChannel.js +71 -68
  120. package/GroupChannel.js.map +1 -1
  121. package/GroupChannelList/components/AddGroupChannel.js +214 -45
  122. package/GroupChannelList/components/AddGroupChannel.js.map +1 -1
  123. package/GroupChannelList/components/GroupChannelListHeader.js +17 -13
  124. package/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
  125. package/GroupChannelList/components/GroupChannelListItem.js +39 -40
  126. package/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
  127. package/GroupChannelList/components/GroupChannelListUI.js +211 -115
  128. package/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
  129. package/GroupChannelList/components/GroupChannelPreviewAction.js +18 -20
  130. package/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
  131. package/GroupChannelList/context.js +13 -118
  132. package/GroupChannelList/context.js.map +1 -1
  133. package/GroupChannelList.js +209 -72
  134. package/GroupChannelList.js.map +1 -1
  135. package/MessageSearch/components/MessageSearchUI.js +24 -23
  136. package/MessageSearch/components/MessageSearchUI.js.map +1 -1
  137. package/MessageSearch/context.js +9 -280
  138. package/MessageSearch/context.js.map +1 -1
  139. package/MessageSearch.js +24 -20
  140. package/MessageSearch.js.map +1 -1
  141. package/OpenChannel/components/FrozenChannelNotification.js +5 -4
  142. package/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
  143. package/OpenChannel/components/OpenChannelHeader.js +23 -29
  144. package/OpenChannel/components/OpenChannelHeader.js.map +1 -1
  145. package/OpenChannel/components/OpenChannelInput.js +31 -33
  146. package/OpenChannel/components/OpenChannelInput.js.map +1 -1
  147. package/OpenChannel/components/OpenChannelMessage.js +45 -44
  148. package/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  149. package/OpenChannel/components/OpenChannelMessageList.js +54 -52
  150. package/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  151. package/OpenChannel/components/OpenChannelUI.js +49 -48
  152. package/OpenChannel/components/OpenChannelUI.js.map +1 -1
  153. package/OpenChannel/context.js +21 -27
  154. package/OpenChannel/context.js.map +1 -1
  155. package/OpenChannel.js +47 -46
  156. package/OpenChannel.js.map +1 -1
  157. package/OpenChannelList/components/OpenChannelListUI.js +20 -28
  158. package/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
  159. package/OpenChannelList/components/OpenChannelPreview.js +6 -6
  160. package/OpenChannelList/context.js +9 -5
  161. package/OpenChannelList/context.js.map +1 -1
  162. package/OpenChannelList.js +18 -26
  163. package/OpenChannelList.js.map +1 -1
  164. package/OpenChannelSettings/components/EditDetailsModal.js +23 -31
  165. package/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  166. package/OpenChannelSettings/components/OpenChannelProfile.js +24 -32
  167. package/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
  168. package/OpenChannelSettings/components/OpenChannelSettingsUI.js +33 -34
  169. package/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  170. package/OpenChannelSettings/components/OperatorUI.js +37 -41
  171. package/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  172. package/OpenChannelSettings/components/ParticipantUI.js +22 -23
  173. package/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
  174. package/OpenChannelSettings/context.js +16 -35
  175. package/OpenChannelSettings/context.js.map +1 -1
  176. package/OpenChannelSettings.js +27 -28
  177. package/OpenChannelSettings.js.map +1 -1
  178. package/SendbirdProvider.js +486 -914
  179. package/SendbirdProvider.js.map +1 -1
  180. package/Thread/components/ParentMessageInfo.js +71 -68
  181. package/Thread/components/ParentMessageInfo.js.map +1 -1
  182. package/Thread/components/ParentMessageInfoItem.js +42 -39
  183. package/Thread/components/ParentMessageInfoItem.js.map +1 -1
  184. package/Thread/components/ThreadHeader.js +8 -7
  185. package/Thread/components/ThreadHeader.js.map +1 -1
  186. package/Thread/components/ThreadList.js +67 -63
  187. package/Thread/components/ThreadList.js.map +1 -1
  188. package/Thread/components/ThreadListItem.js +77 -76
  189. package/Thread/components/ThreadListItem.js.map +1 -1
  190. package/Thread/components/ThreadMessageInput.js +67 -67
  191. package/Thread/components/ThreadUI.js +74 -72
  192. package/Thread/components/ThreadUI.js.map +1 -1
  193. package/Thread/context/types.js +0 -1
  194. package/Thread/context/types.js.map +1 -1
  195. package/Thread/context.js +20 -1335
  196. package/Thread/context.js.map +1 -1
  197. package/Thread.js +70 -68
  198. package/Thread.js.map +1 -1
  199. package/VoicePlayer/context.js +9 -6
  200. package/VoicePlayer/context.js.map +1 -1
  201. package/VoicePlayer/useVoicePlayer.js +17 -22
  202. package/VoicePlayer/useVoicePlayer.js.map +1 -1
  203. package/VoiceRecorder/context.js +127 -22
  204. package/VoiceRecorder/context.js.map +1 -1
  205. package/VoiceRecorder/useVoiceRecorder.js +16 -22
  206. package/VoiceRecorder/useVoiceRecorder.js.map +1 -1
  207. package/chunks/{bundle-MkyS3j4-.js → bundle--1cImOGd.js} +1 -1
  208. package/chunks/bundle--1cImOGd.js.map +1 -0
  209. package/chunks/{bundle-BBowfNDO.js → bundle-4w9Y7uxA.js} +1 -1
  210. package/chunks/bundle-4w9Y7uxA.js.map +1 -0
  211. package/chunks/{bundle-ryUmMhVP.js → bundle-B5_aP8LE.js} +1 -1
  212. package/chunks/{bundle-ryUmMhVP.js.map → bundle-B5_aP8LE.js.map} +1 -1
  213. package/chunks/{bundle-C7jYHvwG.js → bundle-B8Grfnrx.js} +2 -2
  214. package/chunks/{bundle-C7jYHvwG.js.map → bundle-B8Grfnrx.js.map} +1 -1
  215. package/chunks/{bundle-BP1DBRft.js → bundle-BCGcsRu2.js} +5 -5
  216. package/chunks/{bundle-BP1DBRft.js.map → bundle-BCGcsRu2.js.map} +1 -1
  217. package/chunks/{bundle-Crm9sJrW.js → bundle-BFJ4ctRk.js} +8 -8
  218. package/chunks/{bundle-Crm9sJrW.js.map → bundle-BFJ4ctRk.js.map} +1 -1
  219. package/chunks/{bundle-LWpHaUiZ.js → bundle-BGj68IUE.js} +9 -7
  220. package/chunks/bundle-BGj68IUE.js.map +1 -0
  221. package/chunks/{bundle-V4PrrT67.js → bundle-BQnpPj5l.js} +13 -13
  222. package/chunks/bundle-BQnpPj5l.js.map +1 -0
  223. package/chunks/{bundle-CDjVXDOc.js → bundle-BTxw_tIt.js} +1 -1
  224. package/chunks/bundle-BTxw_tIt.js.map +1 -0
  225. package/{cjs/chunks/bundle-DE5YH8Q-.js → chunks/bundle-BYOddwmS.js} +2 -32
  226. package/chunks/{bundle-CIN9yQRB.js.map → bundle-BYOddwmS.js.map} +1 -1
  227. package/chunks/{bundle-gQ2a8Eki.js → bundle-BYqblmEM.js} +4 -19
  228. package/chunks/bundle-BYqblmEM.js.map +1 -0
  229. package/chunks/bundle-Bc6hXWJF.js +190 -0
  230. package/chunks/bundle-Bc6hXWJF.js.map +1 -0
  231. package/chunks/{bundle-Dpdq7qeD.js → bundle-BciLDE6M.js} +1 -1
  232. package/chunks/bundle-BciLDE6M.js.map +1 -0
  233. package/chunks/bundle-BfEYq-V8.js +9 -0
  234. package/chunks/bundle-BfEYq-V8.js.map +1 -0
  235. package/chunks/bundle-BkZBhjs8.js +209 -0
  236. package/chunks/bundle-BkZBhjs8.js.map +1 -0
  237. package/chunks/{bundle-JYgg9UJ5.js → bundle-BoZwl2OL.js} +23 -23
  238. package/chunks/{bundle-JYgg9UJ5.js.map → bundle-BoZwl2OL.js.map} +1 -1
  239. package/chunks/{bundle-CMuwfYDs.js → bundle-BqREbgmR.js} +17 -17
  240. package/chunks/{bundle-CMuwfYDs.js.map → bundle-BqREbgmR.js.map} +1 -1
  241. package/chunks/{bundle-Dskg5qjd.js → bundle-BqjbaVLO.js} +1 -1
  242. package/chunks/bundle-BqjbaVLO.js.map +1 -0
  243. package/chunks/{bundle-DjgT6gu4.js → bundle-C3VM5eS8.js} +1 -1
  244. package/chunks/bundle-C3VM5eS8.js.map +1 -0
  245. package/chunks/bundle-C4OmfIXk.js +2920 -0
  246. package/chunks/bundle-C4OmfIXk.js.map +1 -0
  247. package/chunks/bundle-C5Pz6wMm.js +38 -0
  248. package/chunks/bundle-C5Pz6wMm.js.map +1 -0
  249. package/chunks/{bundle-Dvg19muo.js → bundle-C60pq62Y.js} +6 -6
  250. package/chunks/bundle-C60pq62Y.js.map +1 -0
  251. package/chunks/{bundle-LPNnEgGp.js → bundle-C6Hk5xTT.js} +1 -1
  252. package/chunks/bundle-C6Hk5xTT.js.map +1 -0
  253. package/chunks/{bundle-yLTgHCRG.js → bundle-C8TP-mjp.js} +2 -2
  254. package/chunks/{bundle-yLTgHCRG.js.map → bundle-C8TP-mjp.js.map} +1 -1
  255. package/chunks/{bundle-DLlgZtQy.js → bundle-CBOpPuMW.js} +5 -5
  256. package/chunks/{bundle-DLlgZtQy.js.map → bundle-CBOpPuMW.js.map} +1 -1
  257. package/chunks/{bundle-DUTyBaXr.js → bundle-CDcu1I4f.js} +7 -2
  258. package/chunks/bundle-CDcu1I4f.js.map +1 -0
  259. package/chunks/{bundle-BXE5p6Kc.js → bundle-CEE3GJSk.js} +14 -13
  260. package/chunks/{bundle-BXE5p6Kc.js.map → bundle-CEE3GJSk.js.map} +1 -1
  261. package/chunks/{bundle-BL_0pgq0.js → bundle-CF8V-ET_.js} +17 -16
  262. package/chunks/{bundle-BL_0pgq0.js.map → bundle-CF8V-ET_.js.map} +1 -1
  263. package/chunks/{bundle-DaKZZ13Y.js → bundle-CFXaZ31h.js} +1 -1
  264. package/chunks/bundle-CFXaZ31h.js.map +1 -0
  265. package/chunks/{bundle-D5-VMB5f.js → bundle-CGOt5cwH.js} +13 -12
  266. package/chunks/{bundle-D5-VMB5f.js.map → bundle-CGOt5cwH.js.map} +1 -1
  267. package/chunks/{bundle-eYHtE5ry.js → bundle-CJmXP56m.js} +3 -3
  268. package/chunks/bundle-CJmXP56m.js.map +1 -0
  269. package/chunks/{bundle-3aUfVJHj.js → bundle-CQAiZVNS.js} +8 -9
  270. package/chunks/bundle-CQAiZVNS.js.map +1 -0
  271. package/chunks/{bundle-2kzSicIw.js → bundle-CSDZhWAY.js} +3 -3
  272. package/chunks/{bundle-2kzSicIw.js.map → bundle-CSDZhWAY.js.map} +1 -1
  273. package/chunks/{bundle-4W3uBGU3.js → bundle-CTkGIdt8.js} +1 -1
  274. package/chunks/bundle-CTkGIdt8.js.map +1 -0
  275. package/chunks/bundle-CVS5Kfg_.js +1108 -0
  276. package/chunks/bundle-CVS5Kfg_.js.map +1 -0
  277. package/chunks/{bundle-DrHsf0sP.js → bundle-CYGowmbA.js} +4 -4
  278. package/chunks/bundle-CYGowmbA.js.map +1 -0
  279. package/chunks/{bundle-CZsW3iP9.js → bundle-CYXfk28D.js} +2 -2
  280. package/chunks/bundle-CYXfk28D.js.map +1 -0
  281. package/chunks/{bundle-BR3O1lZq.js → bundle-C_ngoQD_.js} +1 -1
  282. package/chunks/bundle-C_ngoQD_.js.map +1 -0
  283. package/chunks/{bundle-DYeeW5nS.js → bundle-CgLhYjm5.js} +7 -14
  284. package/chunks/bundle-CgLhYjm5.js.map +1 -0
  285. package/chunks/bundle-CinANGYQ.js +260 -0
  286. package/chunks/bundle-CinANGYQ.js.map +1 -0
  287. package/chunks/{bundle-P-vXuw8U.js → bundle-Cn2czFA-.js} +1 -1
  288. package/chunks/bundle-Cn2czFA-.js.map +1 -0
  289. package/chunks/{bundle-5-21Jk06.js → bundle-CrQTAewk.js} +16 -20
  290. package/chunks/bundle-CrQTAewk.js.map +1 -0
  291. package/chunks/{bundle-CJBs1h8R.js → bundle-CuP5OWwY.js} +16 -16
  292. package/chunks/{bundle-CJBs1h8R.js.map → bundle-CuP5OWwY.js.map} +1 -1
  293. package/chunks/{bundle-Er6ifVzM.js → bundle-CwHldvb8.js} +1 -1
  294. package/chunks/{bundle-Er6ifVzM.js.map → bundle-CwHldvb8.js.map} +1 -1
  295. package/chunks/bundle-D4BlmM5H.js +661 -0
  296. package/chunks/bundle-D4BlmM5H.js.map +1 -0
  297. package/chunks/{bundle-BE58pe-0.js → bundle-D6CBeFkE.js} +8 -8
  298. package/chunks/bundle-D6CBeFkE.js.map +1 -0
  299. package/chunks/{bundle-C1U8wE49.js → bundle-D8xAej93.js} +2 -2
  300. package/chunks/bundle-D8xAej93.js.map +1 -0
  301. package/chunks/{bundle-DCbJaskZ.js → bundle-DDZn5buS.js} +3 -2
  302. package/chunks/bundle-DDZn5buS.js.map +1 -0
  303. package/chunks/{bundle-Ci2fMtNJ.js → bundle-DED6q4Ti.js} +1 -2
  304. package/chunks/bundle-DED6q4Ti.js.map +1 -0
  305. package/chunks/{bundle-TGosz9cX.js → bundle-DS6Kt7YS.js} +1 -1
  306. package/chunks/bundle-DS6Kt7YS.js.map +1 -0
  307. package/chunks/{bundle-_-FiwcfQ.js → bundle-DT1VcdMs.js} +2 -2
  308. package/chunks/{bundle-_-FiwcfQ.js.map → bundle-DT1VcdMs.js.map} +1 -1
  309. package/chunks/{bundle-DvcOxLrR.js → bundle-DTYj03OD.js} +3 -3
  310. package/chunks/bundle-DTYj03OD.js.map +1 -0
  311. package/chunks/{bundle-C9dF4QVS.js → bundle-DXneAdAp.js} +1 -1
  312. package/chunks/bundle-DXneAdAp.js.map +1 -0
  313. package/chunks/{bundle-Dl9NVsui.js → bundle-DYBTopZK.js} +1 -1
  314. package/chunks/{bundle-Dl9NVsui.js.map → bundle-DYBTopZK.js.map} +1 -1
  315. package/chunks/{bundle-BP1CB0js.js → bundle-DZJe3dCn.js} +1 -1
  316. package/chunks/bundle-DZJe3dCn.js.map +1 -0
  317. package/chunks/{bundle-_sFl37fA.js → bundle-D_SH0JG9.js} +6 -7
  318. package/chunks/{bundle-CTE4m7bC.js.map → bundle-D_SH0JG9.js.map} +1 -1
  319. package/chunks/{bundle-Deel9XzY.js → bundle-D_tSqvX6.js} +3 -3
  320. package/chunks/bundle-D_tSqvX6.js.map +1 -0
  321. package/chunks/{bundle-BH8ohfFx.js → bundle-Dd7rgmeQ.js} +8 -8
  322. package/chunks/{bundle-BH8ohfFx.js.map → bundle-Dd7rgmeQ.js.map} +1 -1
  323. package/chunks/bundle-De-3zaYV.js +4 -0
  324. package/chunks/bundle-De-3zaYV.js.map +1 -0
  325. package/chunks/{bundle-CbEyAimK.js → bundle-DgFzcADJ.js} +4 -4
  326. package/chunks/bundle-DgFzcADJ.js.map +1 -0
  327. package/chunks/{bundle-BiPxcZtH.js → bundle-DgpfIrde.js} +1 -1
  328. package/chunks/bundle-DgpfIrde.js.map +1 -0
  329. package/chunks/{bundle-Bzt5nDi4.js → bundle-Dhf37wzM.js} +4 -4
  330. package/chunks/{bundle-Bzt5nDi4.js.map → bundle-Dhf37wzM.js.map} +1 -1
  331. package/chunks/{bundle-CTE4m7bC.js → bundle-DhzrKzt2.js} +5 -5
  332. package/{cjs/chunks/bundle-ChVeqDIG.js.map → chunks/bundle-DhzrKzt2.js.map} +1 -1
  333. package/chunks/{bundle-CzdrQ_Yq.js → bundle-Djq12iSf.js} +1 -1
  334. package/chunks/bundle-Djq12iSf.js.map +1 -0
  335. package/chunks/bundle-Dkmv9H3b.js +149 -0
  336. package/chunks/bundle-Dkmv9H3b.js.map +1 -0
  337. package/chunks/{bundle-k6zcGkBp.js → bundle-Do9UFGCD.js} +4 -4
  338. package/chunks/bundle-Do9UFGCD.js.map +1 -0
  339. package/chunks/{bundle-BMygDCXK.js → bundle-Dp_oW1ks.js} +1 -1
  340. package/chunks/bundle-Dp_oW1ks.js.map +1 -0
  341. package/chunks/{bundle-DWrM1EW4.js → bundle-DqR5RvpV.js} +4 -4
  342. package/chunks/bundle-DqR5RvpV.js.map +1 -0
  343. package/chunks/bundle-Dupd7RPQ.js +740 -0
  344. package/chunks/bundle-Dupd7RPQ.js.map +1 -0
  345. package/chunks/{bundle-BAQj91eb.js → bundle-DvsR4u7y.js} +9 -8
  346. package/chunks/bundle-DvsR4u7y.js.map +1 -0
  347. package/chunks/{bundle-DCX2mqfp.js → bundle-DwLTEVMK.js} +8 -22
  348. package/{cjs/chunks/bundle-DpyxKl7F.js.map → chunks/bundle-DwLTEVMK.js.map} +1 -1
  349. package/chunks/{bundle-90vsNbxW.js → bundle-Dx4-1s0A.js} +1 -1
  350. package/chunks/bundle-Dx4-1s0A.js.map +1 -0
  351. package/chunks/{bundle-BeUKuH7h.js → bundle-Dy1IZ181.js} +3 -3
  352. package/chunks/{bundle-BeUKuH7h.js.map → bundle-Dy1IZ181.js.map} +1 -1
  353. package/chunks/{bundle-DImSV9VW.js → bundle-HspRRkmy.js} +3 -3
  354. package/chunks/bundle-HspRRkmy.js.map +1 -0
  355. package/chunks/bundle-I25ah_Bv.js +257 -0
  356. package/chunks/{bundle-DCX2mqfp.js.map → bundle-I25ah_Bv.js.map} +1 -1
  357. package/chunks/{bundle-CDvvzlad.js → bundle-L60pJMdf.js} +6 -5
  358. package/chunks/bundle-L60pJMdf.js.map +1 -0
  359. package/chunks/bundle-LnGQMQVt.js +65 -0
  360. package/chunks/bundle-LnGQMQVt.js.map +1 -0
  361. package/chunks/{bundle-DkviGBGz.js → bundle-Ob7Cw3V-.js} +2 -2
  362. package/chunks/bundle-Ob7Cw3V-.js.map +1 -0
  363. package/chunks/{bundle-C6-Ix-Lk.js → bundle-QCH8CZT8.js} +8 -7
  364. package/{cjs/chunks/bundle-DUanoG7J.js.map → chunks/bundle-QCH8CZT8.js.map} +1 -1
  365. package/chunks/bundle-WJtiC3BL.js +12 -0
  366. package/chunks/bundle-WJtiC3BL.js.map +1 -0
  367. package/chunks/{bundle-Cq6wCLlD.js → bundle-WsWZ-SJW.js} +15 -15
  368. package/chunks/{bundle-Cq6wCLlD.js.map → bundle-WsWZ-SJW.js.map} +1 -1
  369. package/chunks/{bundle-pOZPN8hk.js → bundle-Y2KBbxRr.js} +1 -1
  370. package/chunks/{bundle-pOZPN8hk.js.map → bundle-Y2KBbxRr.js.map} +1 -1
  371. package/chunks/{bundle-BI2YMBw_.js → bundle-YbXrJewH.js} +60 -6
  372. package/chunks/bundle-YbXrJewH.js.map +1 -0
  373. package/chunks/{bundle-CcHvUx-a.js → bundle-fYlljM7o.js} +11 -10
  374. package/chunks/{bundle-CcHvUx-a.js.map → bundle-fYlljM7o.js.map} +1 -1
  375. package/chunks/{bundle-BFqR1X1Q.js → bundle-jhdKInOw.js} +1 -1
  376. package/chunks/bundle-jhdKInOw.js.map +1 -0
  377. package/chunks/bundle-l_QLKq1Y.js +24 -0
  378. package/chunks/bundle-l_QLKq1Y.js.map +1 -0
  379. package/chunks/{bundle-B2dhmpsj.js → bundle-nmIRAkKg.js} +14 -14
  380. package/chunks/{bundle-B2dhmpsj.js.map → bundle-nmIRAkKg.js.map} +1 -1
  381. package/chunks/{bundle-jw_xHmHg.js → bundle-tFnb24Id.js} +3 -2
  382. package/chunks/bundle-tFnb24Id.js.map +1 -0
  383. package/chunks/{bundle-DRyEkedz.js → bundle-uthnB1Zu.js} +28 -24
  384. package/chunks/{bundle-DRyEkedz.js.map → bundle-uthnB1Zu.js.map} +1 -1
  385. package/chunks/{bundle-DfDrbjM5.js → bundle-yKqHFFfz.js} +1 -1
  386. package/chunks/bundle-yKqHFFfz.js.map +1 -0
  387. package/chunks/{bundle-CLonR-iH.js → bundle-zOZq2Vpt.js} +8 -7
  388. package/chunks/{bundle-CLonR-iH.js.map → bundle-zOZq2Vpt.js.map} +1 -1
  389. package/cjs/App.js +116 -271
  390. package/cjs/App.js.map +1 -1
  391. package/cjs/Channel/components/ChannelHeader.js +32 -40
  392. package/cjs/Channel/components/ChannelHeader.js.map +1 -1
  393. package/cjs/Channel/components/ChannelUI.js +77 -76
  394. package/cjs/Channel/components/ChannelUI.js.map +1 -1
  395. package/cjs/Channel/components/FileViewer.js +31 -35
  396. package/cjs/Channel/components/FileViewer.js.map +1 -1
  397. package/cjs/Channel/components/FrozenNotification.js +6 -5
  398. package/cjs/Channel/components/FrozenNotification.js.map +1 -1
  399. package/cjs/Channel/components/Message.js +68 -67
  400. package/cjs/Channel/components/Message.js.map +1 -1
  401. package/cjs/Channel/components/MessageInput.js +48 -50
  402. package/cjs/Channel/components/MessageInput.js.map +1 -1
  403. package/cjs/Channel/components/MessageInputWrapper.js +48 -50
  404. package/cjs/Channel/components/MessageInputWrapper.js.map +1 -1
  405. package/cjs/Channel/components/MessageList.js +74 -70
  406. package/cjs/Channel/components/MessageList.js.map +1 -1
  407. package/cjs/Channel/components/RemoveMessageModal.js +31 -36
  408. package/cjs/Channel/components/RemoveMessageModal.js.map +1 -1
  409. package/cjs/Channel/components/SuggestedMentionList.js +31 -41
  410. package/cjs/Channel/components/SuggestedMentionList.js.map +1 -1
  411. package/cjs/Channel/components/TypingIndicator.js +11 -7
  412. package/cjs/Channel/components/TypingIndicator.js.map +1 -1
  413. package/cjs/Channel/components/UnreadCount.js +8 -7
  414. package/cjs/Channel/components/UnreadCount.js.map +1 -1
  415. package/cjs/Channel/context.js +153 -121
  416. package/cjs/Channel/context.js.map +1 -1
  417. package/cjs/Channel/hooks/useHandleUploadFiles.js +21 -23
  418. package/cjs/Channel/hooks/useHandleUploadFiles.js.map +1 -1
  419. package/cjs/Channel/hooks/useInitialMessagesFetch.js +8 -8
  420. package/cjs/Channel/utils/compareMessagesForGrouping.js +16 -18
  421. package/cjs/Channel/utils/compareMessagesForGrouping.js.map +1 -1
  422. package/cjs/Channel/utils/getMessagePartsInfo.js +13 -14
  423. package/cjs/Channel/utils/getMessagePartsInfo.js.map +1 -1
  424. package/cjs/Channel.js +77 -76
  425. package/cjs/Channel.js.map +1 -1
  426. package/cjs/ChannelList/components/AddChannel.js +216 -47
  427. package/cjs/ChannelList/components/AddChannel.js.map +1 -1
  428. package/cjs/ChannelList/components/ChannelListHeader.js +16 -11
  429. package/cjs/ChannelList/components/ChannelListHeader.js.map +1 -1
  430. package/cjs/ChannelList/components/ChannelListUI.js +206 -139
  431. package/cjs/ChannelList/components/ChannelListUI.js.map +1 -1
  432. package/cjs/ChannelList/components/ChannelPreview.js +39 -41
  433. package/cjs/ChannelList/components/ChannelPreview.js.map +1 -1
  434. package/cjs/ChannelList/components/ChannelPreviewAction.js +17 -18
  435. package/cjs/ChannelList/components/ChannelPreviewAction.js.map +1 -1
  436. package/cjs/ChannelList/context.js +14 -27
  437. package/cjs/ChannelList/context.js.map +1 -1
  438. package/cjs/ChannelList.js +213 -82
  439. package/cjs/ChannelList.js.map +1 -1
  440. package/cjs/ChannelSettings/components/ChannelProfile.js +28 -32
  441. package/cjs/ChannelSettings/components/ChannelProfile.js.map +1 -1
  442. package/cjs/ChannelSettings/components/ChannelSettingMenuList.js +15 -28
  443. package/cjs/ChannelSettings/components/ChannelSettingMenuList.js.map +1 -1
  444. package/cjs/ChannelSettings/components/ChannelSettingsHeader.js +16 -10
  445. package/cjs/ChannelSettings/components/ChannelSettingsHeader.js.map +1 -1
  446. package/cjs/ChannelSettings/components/ChannelSettingsMenuItem.js +2 -2
  447. package/cjs/ChannelSettings/components/ChannelSettingsUI.js +48 -49
  448. package/cjs/ChannelSettings/components/ChannelSettingsUI.js.map +1 -1
  449. package/cjs/ChannelSettings/components/EditDetailsModal.js +23 -31
  450. package/cjs/ChannelSettings/components/EditDetailsModal.js.map +1 -1
  451. package/cjs/ChannelSettings/components/LeaveChannel.js +25 -28
  452. package/cjs/ChannelSettings/components/LeaveChannel.js.map +1 -1
  453. package/cjs/ChannelSettings/components/ModerationPanel.js +33 -33
  454. package/cjs/ChannelSettings/components/UserListItem.js +26 -29
  455. package/cjs/ChannelSettings/components/UserListItem.js.map +1 -1
  456. package/cjs/ChannelSettings/components/UserPanel.js +34 -34
  457. package/cjs/ChannelSettings/context.js +14 -175
  458. package/cjs/ChannelSettings/context.js.map +1 -1
  459. package/cjs/ChannelSettings/hooks/useMenuList.js +33 -33
  460. package/cjs/ChannelSettings.js +53 -53
  461. package/cjs/CreateChannel/components/CreateChannelUI.js +215 -46
  462. package/cjs/CreateChannel/components/CreateChannelUI.js.map +1 -1
  463. package/cjs/CreateChannel/components/InviteUsers.js +216 -154
  464. package/cjs/CreateChannel/components/InviteUsers.js.map +1 -1
  465. package/cjs/CreateChannel/components/SelectChannelType.js +217 -86
  466. package/cjs/CreateChannel/components/SelectChannelType.js.map +1 -1
  467. package/cjs/CreateChannel/context.js +225 -8
  468. package/cjs/CreateChannel/context.js.map +1 -1
  469. package/cjs/CreateChannel.js +214 -40
  470. package/cjs/CreateChannel.js.map +1 -1
  471. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js +16 -24
  472. package/cjs/CreateOpenChannel/components/CreateOpenChannelUI.js.map +1 -1
  473. package/cjs/CreateOpenChannel/context.js +9 -4
  474. package/cjs/CreateOpenChannel/context.js.map +1 -1
  475. package/cjs/CreateOpenChannel.js +16 -24
  476. package/cjs/CreateOpenChannel.js.map +1 -1
  477. package/cjs/EditUserProfile/components/EditUserProfileUI.js +27 -35
  478. package/cjs/EditUserProfile/components/EditUserProfileUI.js.map +1 -1
  479. package/cjs/EditUserProfile/context.js +1 -1
  480. package/cjs/EditUserProfile.js +16 -25
  481. package/cjs/EditUserProfile.js.map +1 -1
  482. package/cjs/GroupChannel/components/FileViewer.js +34 -36
  483. package/cjs/GroupChannel/components/FileViewer.js.map +1 -1
  484. package/cjs/GroupChannel/components/FrozenNotification.js +6 -5
  485. package/cjs/GroupChannel/components/FrozenNotification.js.map +1 -1
  486. package/cjs/GroupChannel/components/GroupChannelHeader.js +32 -38
  487. package/cjs/GroupChannel/components/GroupChannelHeader.js.map +1 -1
  488. package/cjs/GroupChannel/components/GroupChannelUI.js +74 -71
  489. package/cjs/GroupChannel/components/GroupChannelUI.js.map +1 -1
  490. package/cjs/GroupChannel/components/Message.js +67 -63
  491. package/cjs/GroupChannel/components/Message.js.map +1 -1
  492. package/cjs/GroupChannel/components/MessageInputWrapper.js +48 -47
  493. package/cjs/GroupChannel/components/MessageInputWrapper.js.map +1 -1
  494. package/cjs/GroupChannel/components/MessageList.js +75 -70
  495. package/cjs/GroupChannel/components/MessageList.js.map +1 -1
  496. package/cjs/GroupChannel/components/RemoveMessageModal.js +32 -34
  497. package/cjs/GroupChannel/components/RemoveMessageModal.js.map +1 -1
  498. package/cjs/GroupChannel/components/SuggestedMentionList.js +18 -13
  499. package/cjs/GroupChannel/components/SuggestedMentionList.js.map +1 -1
  500. package/cjs/GroupChannel/components/TypingIndicator.js +14 -10
  501. package/cjs/GroupChannel/components/TypingIndicator.js.map +1 -1
  502. package/cjs/GroupChannel/components/UnreadCount.js +8 -7
  503. package/cjs/GroupChannel/components/UnreadCount.js.map +1 -1
  504. package/cjs/GroupChannel/context.js +25 -520
  505. package/cjs/GroupChannel/context.js.map +1 -1
  506. package/cjs/GroupChannel.js +72 -69
  507. package/cjs/GroupChannel.js.map +1 -1
  508. package/cjs/GroupChannelList/components/AddGroupChannel.js +216 -47
  509. package/cjs/GroupChannelList/components/AddGroupChannel.js.map +1 -1
  510. package/cjs/GroupChannelList/components/GroupChannelListHeader.js +17 -13
  511. package/cjs/GroupChannelList/components/GroupChannelListHeader.js.map +1 -1
  512. package/cjs/GroupChannelList/components/GroupChannelListItem.js +39 -40
  513. package/cjs/GroupChannelList/components/GroupChannelListItem.js.map +1 -1
  514. package/cjs/GroupChannelList/components/GroupChannelListUI.js +213 -117
  515. package/cjs/GroupChannelList/components/GroupChannelListUI.js.map +1 -1
  516. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js +18 -20
  517. package/cjs/GroupChannelList/components/GroupChannelPreviewAction.js.map +1 -1
  518. package/cjs/GroupChannelList/context.js +19 -121
  519. package/cjs/GroupChannelList/context.js.map +1 -1
  520. package/cjs/GroupChannelList.js +211 -74
  521. package/cjs/GroupChannelList.js.map +1 -1
  522. package/cjs/MessageSearch/components/MessageSearchUI.js +24 -23
  523. package/cjs/MessageSearch/components/MessageSearchUI.js.map +1 -1
  524. package/cjs/MessageSearch/context.js +17 -285
  525. package/cjs/MessageSearch/context.js.map +1 -1
  526. package/cjs/MessageSearch.js +25 -21
  527. package/cjs/MessageSearch.js.map +1 -1
  528. package/cjs/OpenChannel/components/FrozenChannelNotification.js +5 -4
  529. package/cjs/OpenChannel/components/FrozenChannelNotification.js.map +1 -1
  530. package/cjs/OpenChannel/components/OpenChannelHeader.js +23 -29
  531. package/cjs/OpenChannel/components/OpenChannelHeader.js.map +1 -1
  532. package/cjs/OpenChannel/components/OpenChannelInput.js +31 -33
  533. package/cjs/OpenChannel/components/OpenChannelInput.js.map +1 -1
  534. package/cjs/OpenChannel/components/OpenChannelMessage.js +45 -44
  535. package/cjs/OpenChannel/components/OpenChannelMessage.js.map +1 -1
  536. package/cjs/OpenChannel/components/OpenChannelMessageList.js +54 -52
  537. package/cjs/OpenChannel/components/OpenChannelMessageList.js.map +1 -1
  538. package/cjs/OpenChannel/components/OpenChannelUI.js +49 -48
  539. package/cjs/OpenChannel/components/OpenChannelUI.js.map +1 -1
  540. package/cjs/OpenChannel/context.js +21 -27
  541. package/cjs/OpenChannel/context.js.map +1 -1
  542. package/cjs/OpenChannel.js +47 -46
  543. package/cjs/OpenChannel.js.map +1 -1
  544. package/cjs/OpenChannelList/components/OpenChannelListUI.js +20 -28
  545. package/cjs/OpenChannelList/components/OpenChannelListUI.js.map +1 -1
  546. package/cjs/OpenChannelList/components/OpenChannelPreview.js +6 -6
  547. package/cjs/OpenChannelList/context.js +9 -5
  548. package/cjs/OpenChannelList/context.js.map +1 -1
  549. package/cjs/OpenChannelList.js +18 -26
  550. package/cjs/OpenChannelList.js.map +1 -1
  551. package/cjs/OpenChannelSettings/components/EditDetailsModal.js +23 -31
  552. package/cjs/OpenChannelSettings/components/EditDetailsModal.js.map +1 -1
  553. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js +24 -32
  554. package/cjs/OpenChannelSettings/components/OpenChannelProfile.js.map +1 -1
  555. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js +33 -34
  556. package/cjs/OpenChannelSettings/components/OpenChannelSettingsUI.js.map +1 -1
  557. package/cjs/OpenChannelSettings/components/OperatorUI.js +37 -41
  558. package/cjs/OpenChannelSettings/components/OperatorUI.js.map +1 -1
  559. package/cjs/OpenChannelSettings/components/ParticipantUI.js +22 -23
  560. package/cjs/OpenChannelSettings/components/ParticipantUI.js.map +1 -1
  561. package/cjs/OpenChannelSettings/context.js +16 -35
  562. package/cjs/OpenChannelSettings/context.js.map +1 -1
  563. package/cjs/OpenChannelSettings.js +27 -28
  564. package/cjs/OpenChannelSettings.js.map +1 -1
  565. package/cjs/SendbirdProvider.js +486 -915
  566. package/cjs/SendbirdProvider.js.map +1 -1
  567. package/cjs/Thread/components/ParentMessageInfo.js +71 -68
  568. package/cjs/Thread/components/ParentMessageInfo.js.map +1 -1
  569. package/cjs/Thread/components/ParentMessageInfoItem.js +42 -39
  570. package/cjs/Thread/components/ParentMessageInfoItem.js.map +1 -1
  571. package/cjs/Thread/components/ThreadHeader.js +8 -7
  572. package/cjs/Thread/components/ThreadHeader.js.map +1 -1
  573. package/cjs/Thread/components/ThreadList.js +67 -63
  574. package/cjs/Thread/components/ThreadList.js.map +1 -1
  575. package/cjs/Thread/components/ThreadListItem.js +77 -76
  576. package/cjs/Thread/components/ThreadListItem.js.map +1 -1
  577. package/cjs/Thread/components/ThreadMessageInput.js +67 -67
  578. package/cjs/Thread/components/ThreadUI.js +74 -72
  579. package/cjs/Thread/components/ThreadUI.js.map +1 -1
  580. package/cjs/Thread/context/types.js +0 -1
  581. package/cjs/Thread/context/types.js.map +1 -1
  582. package/cjs/Thread/context.js +26 -1337
  583. package/cjs/Thread/context.js.map +1 -1
  584. package/cjs/Thread.js +71 -69
  585. package/cjs/Thread.js.map +1 -1
  586. package/cjs/VoicePlayer/context.js +9 -6
  587. package/cjs/VoicePlayer/context.js.map +1 -1
  588. package/cjs/VoicePlayer/useVoicePlayer.js +18 -23
  589. package/cjs/VoicePlayer/useVoicePlayer.js.map +1 -1
  590. package/cjs/VoiceRecorder/context.js +130 -25
  591. package/cjs/VoiceRecorder/context.js.map +1 -1
  592. package/cjs/VoiceRecorder/useVoiceRecorder.js +17 -23
  593. package/cjs/VoiceRecorder/useVoiceRecorder.js.map +1 -1
  594. package/cjs/chunks/{bundle-BpThX3wu.js → bundle-4kO4nPo9.js} +5 -5
  595. package/{chunks/bundle-BI2YMBw_.js.map → cjs/chunks/bundle-4kO4nPo9.js.map} +1 -1
  596. package/cjs/chunks/bundle-AAO7jUU2.js +2932 -0
  597. package/cjs/chunks/bundle-AAO7jUU2.js.map +1 -0
  598. package/cjs/chunks/{bundle-ChDTEa9-.js → bundle-B-Smxy4L.js} +1 -1
  599. package/cjs/chunks/bundle-B-Smxy4L.js.map +1 -0
  600. package/cjs/chunks/{bundle-BA6Cum_9.js → bundle-B0UICprZ.js} +3 -3
  601. package/cjs/chunks/{bundle-BA6Cum_9.js.map → bundle-B0UICprZ.js.map} +1 -1
  602. package/cjs/chunks/{bundle-BOCivP7e.js → bundle-B1NPGl_q.js} +2 -2
  603. package/cjs/chunks/bundle-B1NPGl_q.js.map +1 -0
  604. package/cjs/chunks/{bundle-Bu4cmOCm.js → bundle-B2KoWBOt.js} +1 -1
  605. package/cjs/chunks/bundle-B2KoWBOt.js.map +1 -0
  606. package/cjs/chunks/{bundle-D30swLTX.js → bundle-B2xIXbEG.js} +3 -3
  607. package/cjs/chunks/bundle-B2xIXbEG.js.map +1 -0
  608. package/cjs/chunks/bundle-B7URG8PR.js +1119 -0
  609. package/cjs/chunks/bundle-B7URG8PR.js.map +1 -0
  610. package/cjs/chunks/{bundle-BOSyMutC.js → bundle-B9BY1g5d.js} +2 -2
  611. package/cjs/chunks/{bundle-BOSyMutC.js.map → bundle-B9BY1g5d.js.map} +1 -1
  612. package/cjs/chunks/{bundle-DpyxKl7F.js → bundle-BEbBkdwl.js} +16 -20
  613. package/{chunks/bundle-3aUfVJHj.js.map → cjs/chunks/bundle-BEbBkdwl.js.map} +1 -1
  614. package/cjs/chunks/{bundle-D6fimwV5.js → bundle-BFKxvlzn.js} +8 -8
  615. package/cjs/chunks/bundle-BFKxvlzn.js.map +1 -0
  616. package/cjs/chunks/{bundle-XANrnOqB.js → bundle-BIrmQghI.js} +1 -2
  617. package/cjs/chunks/bundle-BIrmQghI.js.map +1 -0
  618. package/cjs/chunks/{bundle-R7sVfaA9.js → bundle-BLQ7t6yE.js} +9 -8
  619. package/cjs/chunks/bundle-BLQ7t6yE.js.map +1 -0
  620. package/cjs/chunks/{bundle-BFFRQpby.js → bundle-BOb4newg.js} +8 -8
  621. package/cjs/chunks/bundle-BOb4newg.js.map +1 -0
  622. package/cjs/chunks/{bundle-Dq5LRxGL.js → bundle-BPGU6BH2.js} +11 -10
  623. package/cjs/chunks/bundle-BPGU6BH2.js.map +1 -0
  624. package/cjs/chunks/{bundle-DWfeFlxG.js → bundle-BPWJgESF.js} +1 -1
  625. package/cjs/chunks/bundle-BPWJgESF.js.map +1 -0
  626. package/cjs/chunks/{bundle-s1cLz65w.js → bundle-BUGwK1WK.js} +1 -1
  627. package/cjs/chunks/bundle-BUGwK1WK.js.map +1 -0
  628. package/{chunks/bundle-CIN9yQRB.js → cjs/chunks/bundle-BV7y6VDn.js} +3 -22
  629. package/cjs/chunks/{bundle-DE5YH8Q-.js.map → bundle-BV7y6VDn.js.map} +1 -1
  630. package/cjs/chunks/{bundle-D4NkDFD-.js → bundle-BWtBhW43.js} +11 -10
  631. package/cjs/chunks/{bundle-sZREfKpL.js.map → bundle-BWtBhW43.js.map} +1 -1
  632. package/cjs/chunks/{bundle-Bua7cUR6.js → bundle-BX4VESNC.js} +16 -16
  633. package/cjs/chunks/{bundle-Bua7cUR6.js.map → bundle-BX4VESNC.js.map} +1 -1
  634. package/cjs/chunks/{bundle-BL1sGjVd.js → bundle-BXvzT2m9.js} +1 -1
  635. package/cjs/chunks/bundle-BXvzT2m9.js.map +1 -0
  636. package/cjs/chunks/{bundle-n_Z6yPjx.js → bundle-BcgWN8U2.js} +6 -7
  637. package/cjs/chunks/bundle-BcgWN8U2.js.map +1 -0
  638. package/cjs/chunks/{bundle-BSfpBazH.js → bundle-Bd-cNaJc.js} +3 -3
  639. package/cjs/chunks/bundle-Bd-cNaJc.js.map +1 -0
  640. package/cjs/chunks/{bundle-LNbeYHuL.js → bundle-BeI9AozB.js} +24 -24
  641. package/cjs/chunks/{bundle-LNbeYHuL.js.map → bundle-BeI9AozB.js.map} +1 -1
  642. package/cjs/chunks/{bundle-bfd2VoyQ.js → bundle-BfhkRB7U.js} +26 -25
  643. package/cjs/chunks/{bundle-bfd2VoyQ.js.map → bundle-BfhkRB7U.js.map} +1 -1
  644. package/cjs/chunks/{bundle-JpIugjtL.js → bundle-BqAUDzGx.js} +3 -3
  645. package/cjs/chunks/bundle-BqAUDzGx.js.map +1 -0
  646. package/cjs/chunks/{bundle-QF_AmnwV.js → bundle-Bqahh-7Q.js} +8 -7
  647. package/cjs/chunks/{bundle-D4NkDFD-.js.map → bundle-Bqahh-7Q.js.map} +1 -1
  648. package/cjs/chunks/{bundle-m5OpCHlj.js → bundle-Bx1_cAVo.js} +8 -22
  649. package/cjs/chunks/bundle-Bx1_cAVo.js.map +1 -0
  650. package/cjs/chunks/{bundle-CuWm0vby.js → bundle-C1G0SKDq.js} +1 -1
  651. package/cjs/chunks/{bundle-CuWm0vby.js.map → bundle-C1G0SKDq.js.map} +1 -1
  652. package/cjs/chunks/{bundle-B3LOu7kN.js → bundle-C4t_1F0C.js} +4 -3
  653. package/cjs/chunks/bundle-C4t_1F0C.js.map +1 -0
  654. package/cjs/chunks/{bundle-C3_KfqSN.js → bundle-C8MACRPO.js} +1 -1
  655. package/cjs/chunks/bundle-C8MACRPO.js.map +1 -0
  656. package/cjs/chunks/{bundle-COBYaK8T.js → bundle-CBLzrxjV.js} +4 -4
  657. package/cjs/chunks/{bundle-COBYaK8T.js.map → bundle-CBLzrxjV.js.map} +1 -1
  658. package/cjs/chunks/{bundle-DX3sBwvt.js → bundle-CCXodf32.js} +29 -25
  659. package/{chunks/bundle-MyLy9AIu.js.map → cjs/chunks/bundle-CCXodf32.js.map} +1 -1
  660. package/cjs/chunks/{bundle-BZd597ep.js → bundle-CG2rv5Ij.js} +1 -1
  661. package/cjs/chunks/bundle-CG2rv5Ij.js.map +1 -0
  662. package/cjs/chunks/{bundle-DHPSwRDh.js → bundle-CLL-nCFU.js} +4 -4
  663. package/cjs/chunks/bundle-CLL-nCFU.js.map +1 -0
  664. package/cjs/chunks/bundle-CLXojdVj.js +761 -0
  665. package/cjs/chunks/bundle-CLXojdVj.js.map +1 -0
  666. package/cjs/chunks/bundle-CMpha6Ac.js +152 -0
  667. package/cjs/chunks/bundle-CMpha6Ac.js.map +1 -0
  668. package/cjs/chunks/{bundle-B2zio8XF.js → bundle-CPeZ4wPf.js} +1 -1
  669. package/cjs/chunks/bundle-CPeZ4wPf.js.map +1 -0
  670. package/cjs/chunks/{bundle-BbpZ1Xe-.js → bundle-CXHWkhsI.js} +2 -2
  671. package/cjs/chunks/{bundle-BbpZ1Xe-.js.map → bundle-CXHWkhsI.js.map} +1 -1
  672. package/cjs/chunks/{bundle-DYjhaLRW.js → bundle-CaNXlSAv.js} +9 -7
  673. package/cjs/chunks/bundle-CaNXlSAv.js.map +1 -0
  674. package/cjs/chunks/bundle-CcVLRLk8.js +217 -0
  675. package/{chunks/bundle-5-21Jk06.js.map → cjs/chunks/bundle-CcVLRLk8.js.map} +1 -1
  676. package/cjs/chunks/{bundle-vf5ayidG.js → bundle-CdtZVJ6y.js} +17 -17
  677. package/cjs/chunks/{bundle-vf5ayidG.js.map → bundle-CdtZVJ6y.js.map} +1 -1
  678. package/cjs/chunks/{bundle-Aw-PHA-I.js → bundle-CgCnWqE5.js} +1 -1
  679. package/cjs/chunks/bundle-CgCnWqE5.js.map +1 -0
  680. package/cjs/chunks/bundle-ChpcAmBg.js +40 -0
  681. package/cjs/chunks/bundle-ChpcAmBg.js.map +1 -0
  682. package/cjs/chunks/bundle-CpzjjrHg.js +201 -0
  683. package/cjs/chunks/bundle-CpzjjrHg.js.map +1 -0
  684. package/cjs/chunks/{bundle-Khwf-z37.js → bundle-Cq2Y8hPN.js} +9 -9
  685. package/cjs/chunks/bundle-Cq2Y8hPN.js.map +1 -0
  686. package/cjs/chunks/{bundle-nWxq3V_Q.js → bundle-CqFqMb6S.js} +3 -3
  687. package/cjs/chunks/bundle-CqFqMb6S.js.map +1 -0
  688. package/cjs/chunks/{bundle-YTiDKoON.js → bundle-CvQwksvR.js} +1 -1
  689. package/cjs/chunks/bundle-CvQwksvR.js.map +1 -0
  690. package/cjs/chunks/{bundle-CNvRk1Z6.js → bundle-Cwboa2Wr.js} +1 -1
  691. package/cjs/chunks/bundle-Cwboa2Wr.js.map +1 -0
  692. package/cjs/chunks/{bundle-D1slQ3hS.js → bundle-CxoFSSXv.js} +1 -1
  693. package/cjs/chunks/bundle-CxoFSSXv.js.map +1 -0
  694. package/cjs/chunks/{bundle-B5aEwfu1.js → bundle-CyQD5TkW.js} +1 -1
  695. package/cjs/chunks/bundle-CyQD5TkW.js.map +1 -0
  696. package/cjs/chunks/{bundle-S-XkXH4q.js → bundle-CzJX13Yl.js} +2 -2
  697. package/cjs/chunks/bundle-CzJX13Yl.js.map +1 -0
  698. package/cjs/chunks/{bundle-DkDRIPJe.js → bundle-CzdU1g3S.js} +6 -5
  699. package/cjs/chunks/bundle-CzdU1g3S.js.map +1 -0
  700. package/cjs/chunks/{bundle-XxCVYLKy.js → bundle-D2TXT2xX.js} +8 -9
  701. package/cjs/chunks/bundle-D2TXT2xX.js.map +1 -0
  702. package/cjs/chunks/{bundle-DuSS5Dmw.js → bundle-D4Il5UXX.js} +1 -1
  703. package/cjs/chunks/bundle-D4Il5UXX.js.map +1 -0
  704. package/cjs/chunks/{bundle-CfUeEOi0.js → bundle-D5wxUmg4.js} +14 -14
  705. package/cjs/chunks/bundle-D5wxUmg4.js.map +1 -0
  706. package/cjs/chunks/{bundle-DTD48j2K.js → bundle-D7YiKR6i.js} +7 -17
  707. package/cjs/chunks/bundle-D7YiKR6i.js.map +1 -0
  708. package/cjs/chunks/{bundle-DL3fuSPu.js → bundle-DAVPwIxJ.js} +1 -1
  709. package/cjs/chunks/bundle-DAVPwIxJ.js.map +1 -0
  710. package/cjs/chunks/bundle-DDNdw3A9.js +32 -0
  711. package/cjs/chunks/bundle-DDNdw3A9.js.map +1 -0
  712. package/cjs/chunks/bundle-DJOukqkN.js +672 -0
  713. package/cjs/chunks/bundle-DJOukqkN.js.map +1 -0
  714. package/cjs/chunks/{bundle-sZREfKpL.js → bundle-DK39NcVd.js} +7 -6
  715. package/{chunks/bundle-C6-Ix-Lk.js.map → cjs/chunks/bundle-DK39NcVd.js.map} +1 -1
  716. package/cjs/chunks/{bundle-D-kYFL1Z.js → bundle-DNjcGEfJ.js} +1 -1
  717. package/cjs/chunks/bundle-DNjcGEfJ.js.map +1 -0
  718. package/cjs/chunks/{bundle-Cq5LKFhE.js → bundle-DQNu-S6D.js} +7 -1
  719. package/cjs/chunks/bundle-DQNu-S6D.js.map +1 -0
  720. package/cjs/chunks/{bundle-Clz7RiTn.js → bundle-Da973hrK.js} +1 -1
  721. package/cjs/chunks/bundle-Da973hrK.js.map +1 -0
  722. package/cjs/chunks/{bundle-B0uIbH1T.js → bundle-DeyX1dvY.js} +4 -19
  723. package/cjs/chunks/bundle-DeyX1dvY.js.map +1 -0
  724. package/cjs/chunks/bundle-DlOFss3p.js +11 -0
  725. package/cjs/chunks/bundle-DlOFss3p.js.map +1 -0
  726. package/cjs/chunks/bundle-Dn0hi6OJ.js +7 -0
  727. package/cjs/chunks/bundle-Dn0hi6OJ.js.map +1 -0
  728. package/cjs/chunks/bundle-Dn7m9LzR.js +187 -0
  729. package/cjs/chunks/bundle-Dn7m9LzR.js.map +1 -0
  730. package/cjs/chunks/{bundle-B5-vaN7x.js → bundle-DptJHWLW.js} +17 -16
  731. package/cjs/chunks/{bundle-DeLEOQNO.js.map → bundle-DptJHWLW.js.map} +1 -1
  732. package/cjs/chunks/{bundle-BcIrmepz.js → bundle-DsZL8mH-.js} +1 -1
  733. package/cjs/chunks/bundle-DsZL8mH-.js.map +1 -0
  734. package/cjs/chunks/{bundle-A5UoPEJO.js → bundle-DwVBqZFY.js} +4 -4
  735. package/cjs/chunks/bundle-DwVBqZFY.js.map +1 -0
  736. package/cjs/chunks/{bundle-DzEGN4bG.js → bundle-EhtiN7UV.js} +1 -1
  737. package/cjs/chunks/bundle-EhtiN7UV.js.map +1 -0
  738. package/cjs/chunks/{bundle-WqJcr9PX.js → bundle-FJtjwZwh.js} +4 -4
  739. package/cjs/chunks/{bundle-WqJcr9PX.js.map → bundle-FJtjwZwh.js.map} +1 -1
  740. package/cjs/chunks/{bundle-BBgc3koD.js → bundle-G4J-OWth.js} +15 -14
  741. package/cjs/chunks/{bundle-BBgc3koD.js.map → bundle-G4J-OWth.js.map} +1 -1
  742. package/cjs/chunks/{bundle-qMxPIH0k.js → bundle-L8U6SolV.js} +6 -6
  743. package/cjs/chunks/bundle-L8U6SolV.js.map +1 -0
  744. package/cjs/chunks/bundle-LI9JjqG2.js +263 -0
  745. package/cjs/chunks/bundle-LI9JjqG2.js.map +1 -0
  746. package/cjs/chunks/{bundle-DeLEOQNO.js → bundle-THfLGJxy.js} +5 -5
  747. package/cjs/chunks/{bundle-B5-vaN7x.js.map → bundle-THfLGJxy.js.map} +1 -1
  748. package/cjs/chunks/{bundle-Bhf_RRfA.js → bundle-UKqK7ytZ.js} +1 -1
  749. package/cjs/chunks/bundle-UKqK7ytZ.js.map +1 -0
  750. package/cjs/chunks/{bundle-ChVeqDIG.js → bundle-Y1fPW7ES.js} +13 -13
  751. package/{chunks/bundle-_sFl37fA.js.map → cjs/chunks/bundle-Y1fPW7ES.js.map} +1 -1
  752. package/cjs/chunks/bundle-YeW89zsR.js +76 -0
  753. package/cjs/chunks/bundle-YeW89zsR.js.map +1 -0
  754. package/cjs/chunks/{bundle-DmO3Qtot.js → bundle-aMt_60_o.js} +1 -1
  755. package/cjs/chunks/{bundle-DmO3Qtot.js.map → bundle-aMt_60_o.js.map} +1 -1
  756. package/cjs/chunks/{bundle-Bc_sQb3i.js → bundle-de2DEYPS.js} +5 -5
  757. package/cjs/chunks/bundle-de2DEYPS.js.map +1 -0
  758. package/cjs/chunks/{bundle-BAF8GaDh.js → bundle-dfqZUdij.js} +1 -1
  759. package/cjs/chunks/bundle-dfqZUdij.js.map +1 -0
  760. package/cjs/chunks/bundle-j0RMwIZ5.js +270 -0
  761. package/cjs/chunks/bundle-j0RMwIZ5.js.map +1 -0
  762. package/cjs/chunks/{bundle-DHZYT5M_.js → bundle-kPv1Olqr.js} +1 -1
  763. package/cjs/chunks/bundle-kPv1Olqr.js.map +1 -0
  764. package/cjs/chunks/{bundle-DUanoG7J.js → bundle-nPNv9ATU.js} +5 -5
  765. package/cjs/chunks/bundle-nPNv9ATU.js.map +1 -0
  766. package/cjs/chunks/{bundle-BfjugOIp.js → bundle-swpo7Z_P.js} +4 -4
  767. package/cjs/chunks/bundle-swpo7Z_P.js.map +1 -0
  768. package/cjs/chunks/{bundle-DVc6YedH.js → bundle-vEi_Cfco.js} +4 -4
  769. package/cjs/chunks/bundle-vEi_Cfco.js.map +1 -0
  770. package/cjs/chunks/{bundle-BloKh_k7.js → bundle-yU9Mr2pS.js} +1 -1
  771. package/cjs/chunks/bundle-yU9Mr2pS.js.map +1 -0
  772. package/cjs/chunks/{bundle-6UD0H-nz.js → bundle-ys65nyET.js} +14 -14
  773. package/cjs/chunks/bundle-ys65nyET.js.map +1 -0
  774. package/cjs/chunks/{bundle-ByQJ042a.js → bundle-za5uPkdP.js} +1 -1
  775. package/cjs/chunks/bundle-za5uPkdP.js.map +1 -0
  776. package/cjs/hooks/useConnectionState.js +8 -5
  777. package/cjs/hooks/useConnectionState.js.map +1 -1
  778. package/cjs/hooks/useLocalization.js +4 -3
  779. package/cjs/hooks/useLocalization.js.map +1 -1
  780. package/cjs/hooks/useModal.js +56 -24
  781. package/cjs/hooks/useModal.js.map +1 -1
  782. package/cjs/index.js +119 -127
  783. package/cjs/index.js.map +1 -1
  784. package/cjs/pubSub/topics.js +1 -1
  785. package/cjs/sendbirdSelectors.js +3 -3
  786. package/cjs/ui/Accordion.js +2 -2
  787. package/cjs/ui/AccordionGroup.js +1 -1
  788. package/cjs/ui/AdminMessage.js +3 -3
  789. package/cjs/ui/Avatar.js +4 -4
  790. package/cjs/ui/Badge.js +5 -4
  791. package/cjs/ui/Badge.js.map +1 -1
  792. package/cjs/ui/BottomSheet.js +19 -25
  793. package/cjs/ui/BottomSheet.js.map +1 -1
  794. package/cjs/ui/Button.js +3 -3
  795. package/cjs/ui/ChannelAvatar.js +5 -5
  796. package/cjs/ui/ConnectionStatus.js +6 -5
  797. package/cjs/ui/ConnectionStatus.js.map +1 -1
  798. package/cjs/ui/ContextMenu.js +16 -14
  799. package/cjs/ui/ContextMenu.js.map +1 -1
  800. package/cjs/ui/DateSeparator.js +4 -4
  801. package/cjs/ui/EmojiReactions.js +27 -28
  802. package/cjs/ui/EmojiReactions.js.map +1 -1
  803. package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js +10 -8
  804. package/cjs/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
  805. package/cjs/ui/FileMessageItemBody.js +20 -16
  806. package/cjs/ui/FileMessageItemBody.js.map +1 -1
  807. package/cjs/ui/FileViewer.js +22 -23
  808. package/cjs/ui/FileViewer.js.map +1 -1
  809. package/cjs/ui/Header.js +6 -6
  810. package/cjs/ui/Icon.js +2 -2
  811. package/cjs/ui/IconButton.js +1 -1
  812. package/cjs/ui/ImageRenderer.js +2 -2
  813. package/cjs/ui/Input.js +3 -3
  814. package/cjs/ui/Label.js +3 -3
  815. package/cjs/ui/LinkLabel.js +4 -4
  816. package/cjs/ui/Loader.js +2 -2
  817. package/cjs/ui/LoadingTemplateMessageItemBody.tsx.js +2 -2
  818. package/cjs/ui/MentionLabel.js +24 -27
  819. package/cjs/ui/MentionLabel.js.map +1 -1
  820. package/cjs/ui/MentionUserLabel.js +2 -2
  821. package/cjs/ui/MessageContent.js +48 -45
  822. package/cjs/ui/MessageContent.js.map +1 -1
  823. package/cjs/ui/MessageFeedbackFailedModal.js +15 -22
  824. package/cjs/ui/MessageFeedbackFailedModal.js.map +1 -1
  825. package/cjs/ui/MessageFeedbackModal.js +15 -22
  826. package/cjs/ui/MessageFeedbackModal.js.map +1 -1
  827. package/cjs/ui/MessageInput/hooks/usePaste.js +7 -7
  828. package/cjs/ui/MessageInput.js +26 -22
  829. package/cjs/ui/MessageInput.js.map +1 -1
  830. package/cjs/ui/MessageItemMenu.js +15 -13
  831. package/cjs/ui/MessageItemMenu.js.map +1 -1
  832. package/cjs/ui/MessageItemReactionMenu.js +16 -14
  833. package/cjs/ui/MessageItemReactionMenu.js.map +1 -1
  834. package/cjs/ui/MessageMenu.js +17 -15
  835. package/cjs/ui/MessageMenu.js.map +1 -1
  836. package/cjs/ui/MessageSearchFileItem.js +17 -15
  837. package/cjs/ui/MessageSearchFileItem.js.map +1 -1
  838. package/cjs/ui/MessageSearchItem.js +12 -11
  839. package/cjs/ui/MessageSearchItem.js.map +1 -1
  840. package/cjs/ui/MessageStatus.js +15 -13
  841. package/cjs/ui/MessageStatus.js.map +1 -1
  842. package/cjs/ui/MessageTemplate.js +1 -1
  843. package/cjs/ui/MobileFeedbackMenu.js +15 -21
  844. package/cjs/ui/MobileFeedbackMenu.js.map +1 -1
  845. package/cjs/ui/MobileMenu.js +21 -23
  846. package/cjs/ui/MobileMenu.js.map +1 -1
  847. package/cjs/ui/Modal.js +13 -21
  848. package/cjs/ui/Modal.js.map +1 -1
  849. package/cjs/ui/MutedAvatarOverlay.js +2 -2
  850. package/cjs/ui/OGMessageItemBody.js +24 -26
  851. package/cjs/ui/OGMessageItemBody.js.map +1 -1
  852. package/cjs/ui/OpenChannelAdminMessage.js +3 -3
  853. package/cjs/ui/OpenChannelAvatar.js +8 -7
  854. package/cjs/ui/OpenChannelAvatar.js.map +1 -1
  855. package/cjs/ui/OpenchannelConversationHeader.js +8 -7
  856. package/cjs/ui/OpenchannelConversationHeader.js.map +1 -1
  857. package/cjs/ui/OpenchannelFileMessage.js +24 -26
  858. package/cjs/ui/OpenchannelFileMessage.js.map +1 -1
  859. package/cjs/ui/OpenchannelOGMessage.js +26 -28
  860. package/cjs/ui/OpenchannelOGMessage.js.map +1 -1
  861. package/cjs/ui/OpenchannelThumbnailMessage.js +23 -25
  862. package/cjs/ui/OpenchannelThumbnailMessage.js.map +1 -1
  863. package/cjs/ui/OpenchannelUserMessage.js +25 -27
  864. package/cjs/ui/OpenchannelUserMessage.js.map +1 -1
  865. package/cjs/ui/PlaceHolder.js +6 -5
  866. package/cjs/ui/PlaceHolder.js.map +1 -1
  867. package/cjs/ui/PlaybackTime.js +3 -3
  868. package/cjs/ui/ProgressBar.js +1 -1
  869. package/cjs/ui/QuoteMessage.js +12 -10
  870. package/cjs/ui/QuoteMessage.js.map +1 -1
  871. package/cjs/ui/QuoteMessageInput.js +12 -10
  872. package/cjs/ui/QuoteMessageInput.js.map +1 -1
  873. package/cjs/ui/ReactionBadge.js +3 -3
  874. package/cjs/ui/ReactionButton.js +4 -4
  875. package/cjs/ui/SortByRow.js +2 -2
  876. package/cjs/ui/TemplateMessageItemBody.js +21 -17
  877. package/cjs/ui/TemplateMessageItemBody.js.map +1 -1
  878. package/cjs/ui/TextButton.js +2 -2
  879. package/cjs/ui/TextMessageItemBody.js +24 -27
  880. package/cjs/ui/TextMessageItemBody.js.map +1 -1
  881. package/cjs/ui/ThreadReplies.js +8 -7
  882. package/cjs/ui/ThreadReplies.js.map +1 -1
  883. package/cjs/ui/ThumbnailMessageItemBody.js +10 -9
  884. package/cjs/ui/ThumbnailMessageItemBody.js.map +1 -1
  885. package/cjs/ui/Toggle.js +8 -5
  886. package/cjs/ui/Toggle.js.map +1 -1
  887. package/cjs/ui/Tooltip.js +3 -3
  888. package/cjs/ui/TooltipWrapper.js +1 -1
  889. package/cjs/ui/TypingIndicatorBubble.js +4 -4
  890. package/cjs/ui/UnknownMessageItemBody.js +10 -8
  891. package/cjs/ui/UnknownMessageItemBody.js.map +1 -1
  892. package/cjs/ui/UserListItem.js +28 -31
  893. package/cjs/ui/UserListItem.js.map +1 -1
  894. package/cjs/ui/UserListItemMenu.js +17 -15
  895. package/cjs/ui/UserListItemMenu.js.map +1 -1
  896. package/cjs/ui/UserProfile.js +19 -32
  897. package/cjs/ui/UserProfile.js.map +1 -1
  898. package/cjs/ui/VoiceMessageInput.js +9 -8
  899. package/cjs/ui/VoiceMessageInput.js.map +1 -1
  900. package/cjs/ui/VoiceMessageItemBody.js +16 -21
  901. package/cjs/ui/VoiceMessageItemBody.js.map +1 -1
  902. package/cjs/ui/Word.js +21 -24
  903. package/cjs/ui/Word.js.map +1 -1
  904. package/cjs/utils/message/isVoiceMessage.js +6 -5
  905. package/cjs/utils/message/isVoiceMessage.js.map +1 -1
  906. package/dist/index.css +113 -113
  907. package/hooks/useConnectionState.js +8 -5
  908. package/hooks/useConnectionState.js.map +1 -1
  909. package/hooks/useLocalization.js +4 -3
  910. package/hooks/useLocalization.js.map +1 -1
  911. package/hooks/useModal.js +55 -22
  912. package/hooks/useModal.js.map +1 -1
  913. package/index.js +116 -125
  914. package/index.js.map +1 -1
  915. package/package.json +15 -33
  916. package/pubSub/topics.js +1 -1
  917. package/sendbirdSelectors.js +3 -3
  918. package/types/hooks/useDeepCompareEffect.d.ts +24 -0
  919. package/types/hooks/useStore.d.ts +14 -0
  920. package/types/hooks/useThrottleCallback.d.ts +0 -7
  921. package/types/index.d.ts +3 -2
  922. package/types/lib/MediaQueryContext.d.ts +1 -1
  923. package/types/lib/Sendbird/context/SendbirdContext.d.ts +18 -0
  924. package/types/lib/Sendbird/context/SendbirdProvider.d.ts +4 -0
  925. package/types/lib/Sendbird/context/hooks/useSendbird.d.ts +32 -0
  926. package/types/lib/Sendbird/context/hooks/useSendbirdStateContext.d.ts +3 -0
  927. package/types/lib/Sendbird/context/initialState.d.ts +2 -0
  928. package/types/lib/Sendbird/index.d.ts +16 -0
  929. package/types/lib/{types.d.ts → Sendbird/types.d.ts} +167 -102
  930. package/types/lib/Sendbird/utils.d.ts +28 -0
  931. package/types/lib/emojiManager.d.ts +2 -3
  932. package/types/lib/hooks/schedulerFactory.d.ts +1 -1
  933. package/types/lib/hooks/useMarkAsDeliveredScheduler.d.ts +1 -1
  934. package/types/lib/hooks/useMarkAsReadScheduler.d.ts +1 -1
  935. package/types/lib/hooks/useMessageTemplateUtils.d.ts +10 -5
  936. package/types/lib/selectors.d.ts +37 -37
  937. package/types/lib/utils/uikitConfigMapper.d.ts +1 -1
  938. package/types/modules/App/types.d.ts +1 -1
  939. package/types/modules/Channel/context/hooks/useGetChannel.d.ts +1 -1
  940. package/types/modules/Channel/context/hooks/useHandleChannelEvents.d.ts +1 -1
  941. package/types/modules/Channel/context/hooks/useHandleReconnect.d.ts +1 -2
  942. package/types/modules/Channel/context/hooks/useHandleReconnectForChannelList.d.ts +1 -2
  943. package/types/modules/Channel/context/hooks/useHandleUploadFiles.d.ts +1 -1
  944. package/types/modules/Channel/context/hooks/useScrollCallback.d.ts +1 -1
  945. package/types/modules/Channel/context/hooks/useScrollDownCallback.d.ts +1 -1
  946. package/types/modules/Channel/context/hooks/useSendFileMessageCallback.d.ts +2 -2
  947. package/types/modules/Channel/context/hooks/useSendMultipleFilesMessage.d.ts +1 -1
  948. package/types/modules/Channel/context/hooks/useSendVoiceMessageCallback.d.ts +1 -1
  949. package/types/modules/Channel/context/hooks/useToggleReactionCallback.d.ts +16 -8
  950. package/types/modules/Channel/context/utils.d.ts +1 -1
  951. package/types/modules/ChannelList/context/hooks/useActiveChannelUrl.d.ts +1 -2
  952. package/types/modules/ChannelList/context/hooks/useFetchChannelList.d.ts +1 -1
  953. package/types/modules/ChannelList/utils.d.ts +1 -1
  954. package/types/modules/ChannelSettings/components/ChannelSettingsUI/index.d.ts +2 -1
  955. package/types/modules/ChannelSettings/components/ModerationPanel/BannedUsersModal.d.ts +1 -1
  956. package/types/modules/ChannelSettings/components/ModerationPanel/MutedMembersModal.d.ts +1 -1
  957. package/types/modules/ChannelSettings/context/ChannelSettingsProvider.d.ts +23 -38
  958. package/types/modules/ChannelSettings/context/hooks/useChannelHandler.d.ts +10 -0
  959. package/types/modules/ChannelSettings/context/hooks/useSetChannel.d.ts +10 -0
  960. package/types/modules/ChannelSettings/context/index.d.ts +3 -0
  961. package/types/modules/ChannelSettings/context/types.d.ts +40 -0
  962. package/types/modules/ChannelSettings/context/useChannelSettings.d.ts +11 -0
  963. package/types/modules/ChannelSettings/index.d.ts +1 -1
  964. package/types/modules/CreateChannel/components/InviteUsers/utils.d.ts +1 -1
  965. package/types/modules/CreateChannel/context/CreateChannelProvider.d.ts +36 -9
  966. package/types/modules/CreateChannel/context/index.d.ts +2 -0
  967. package/types/modules/CreateChannel/context/useCreateChannel.d.ts +11 -0
  968. package/types/modules/CreateChannel/utils.d.ts +1 -1
  969. package/types/modules/CreateOpenChannel/context/CreateOpenChannelProvider.d.ts +1 -2
  970. package/types/modules/GroupChannel/components/Message/MessageView.d.ts +1 -1
  971. package/types/modules/GroupChannel/components/MessageInputWrapper/useHandleUploadFiles.d.ts +1 -1
  972. package/types/modules/GroupChannel/components/MessageList/getMessagePartsInfo.d.ts +3 -1
  973. package/types/modules/GroupChannel/context/GroupChannelProvider.d.ts +64 -55
  974. package/types/modules/GroupChannel/context/hooks/useGroupChannel.d.ts +23 -0
  975. package/types/modules/GroupChannel/context/hooks/useMessageActions.d.ts +4 -10
  976. package/types/modules/GroupChannel/context/hooks/useMessageListScroll.d.ts +0 -2
  977. package/types/modules/GroupChannel/context/index.d.ts +2 -0
  978. package/types/modules/GroupChannel/context/types.d.ts +80 -0
  979. package/types/modules/GroupChannel/index.d.ts +1 -1
  980. package/types/modules/GroupChannelList/context/GroupChannelListProvider.d.ts +36 -4
  981. package/types/modules/GroupChannelList/context/index.d.ts +2 -0
  982. package/types/modules/GroupChannelList/context/useGroupChannelList.d.ts +8 -0
  983. package/types/modules/Message/hooks/useDirtyGetMentions.d.ts +1 -1
  984. package/types/modules/MessageSearch/context/MessageSearchProvider.d.ts +51 -24
  985. package/types/modules/MessageSearch/context/hooks/useGetSearchedMessages.d.ts +2 -8
  986. package/types/modules/MessageSearch/context/hooks/useMessageSearch.d.ts +21 -0
  987. package/types/modules/MessageSearch/context/hooks/useScrollCallback.d.ts +2 -9
  988. package/types/modules/MessageSearch/context/hooks/useSearchStringEffect.d.ts +1 -7
  989. package/types/modules/MessageSearch/context/hooks/useSetChannel.d.ts +2 -7
  990. package/types/modules/MessageSearch/context/index.d.ts +2 -0
  991. package/types/modules/OpenChannel/context/hooks/useDeleteMessageCallback.d.ts +1 -1
  992. package/types/modules/OpenChannel/context/hooks/useFileUploadCallback.d.ts +1 -3
  993. package/types/modules/OpenChannel/context/hooks/useHandleChannelEvents.d.ts +1 -2
  994. package/types/modules/OpenChannel/context/hooks/useInitialMessagesFetch.d.ts +1 -1
  995. package/types/modules/OpenChannel/context/hooks/useResendMessageCallback.d.ts +1 -1
  996. package/types/modules/OpenChannel/context/hooks/useScrollCallback.d.ts +1 -2
  997. package/types/modules/OpenChannel/context/hooks/useSendMessageCallback.d.ts +1 -2
  998. package/types/modules/OpenChannel/context/hooks/useSetChannel.d.ts +1 -2
  999. package/types/modules/OpenChannel/context/hooks/useUpdateMessageCallback.d.ts +1 -1
  1000. package/types/modules/OpenChannel/context/utils.d.ts +1 -1
  1001. package/types/modules/OpenChannelList/context/OpenChannelListInterfaces.d.ts +1 -1
  1002. package/types/modules/OpenChannelList/context/hooks/createChannelListQuery.d.ts +1 -2
  1003. package/types/modules/OpenChannelList/context/hooks/useFetchNextCallback.d.ts +1 -1
  1004. package/types/modules/OpenChannelList/context/hooks/useRefreshOpenChannelList.d.ts +1 -2
  1005. package/types/modules/OpenChannelList/context/hooks/useSetupOpenChannelList.d.ts +1 -2
  1006. package/types/modules/Thread/components/ParentMessageInfo/ParentMessageInfoItem.d.ts +1 -1
  1007. package/types/modules/Thread/context/ThreadProvider.d.ts +110 -22
  1008. package/types/modules/Thread/context/hooks/useDeleteMessageCallback.d.ts +4 -3
  1009. package/types/modules/Thread/context/hooks/useGetAllEmoji.d.ts +2 -4
  1010. package/types/modules/Thread/context/hooks/useGetChannel.d.ts +2 -7
  1011. package/types/modules/Thread/context/hooks/useGetParentMessage.d.ts +2 -4
  1012. package/types/modules/Thread/context/hooks/useHandleChannelEvents.d.ts +2 -4
  1013. package/types/modules/Thread/context/hooks/useHandleThreadPubsubEvents.d.ts +2 -3
  1014. package/types/modules/Thread/context/hooks/useResendMessageCallback.d.ts +5 -3
  1015. package/types/modules/Thread/context/hooks/useSendFileMessage.d.ts +4 -3
  1016. package/types/modules/Thread/context/hooks/useSendUserMessageCallback.d.ts +4 -3
  1017. package/types/modules/Thread/context/hooks/useSendVoiceMessageCallback.d.ts +4 -3
  1018. package/types/modules/Thread/context/hooks/useSetCurrentUserId.d.ts +6 -0
  1019. package/types/modules/Thread/context/hooks/useThreadFetchers.d.ts +14 -7
  1020. package/types/modules/Thread/context/hooks/useToggleReactionsCallback.d.ts +1 -1
  1021. package/types/modules/Thread/context/hooks/useUpdateMessageCallback.d.ts +4 -3
  1022. package/types/modules/Thread/context/index.d.ts +2 -0
  1023. package/types/modules/Thread/context/useThread.d.ts +64 -0
  1024. package/types/modules/Thread/types.d.ts +8 -0
  1025. package/types/ui/FileMessageItemBody/index.d.ts +1 -1
  1026. package/types/ui/MessageContent/MessageBody/index.d.ts +3 -3
  1027. package/types/ui/MessageContent/index.d.ts +1 -1
  1028. package/types/ui/MessageInput/messageInputUtils.d.ts +3 -3
  1029. package/types/ui/MultipleFilesMessageItemBody/index.d.ts +1 -1
  1030. package/types/utils/color.d.ts +0 -1
  1031. package/types/utils/compressImages.d.ts +1 -2
  1032. package/types/utils/getIsReactionEnabled.d.ts +2 -2
  1033. package/types/utils/index.d.ts +2 -26
  1034. package/types/utils/messages.d.ts +7 -6
  1035. package/types/utils/storeManager.d.ts +10 -0
  1036. package/types/utils/utils.d.ts +5 -0
  1037. package/ui/Accordion.js +2 -2
  1038. package/ui/AccordionGroup.js +1 -1
  1039. package/ui/AdminMessage.js +3 -3
  1040. package/ui/Avatar.js +4 -4
  1041. package/ui/Badge.js +5 -4
  1042. package/ui/Badge.js.map +1 -1
  1043. package/ui/BottomSheet.js +19 -25
  1044. package/ui/BottomSheet.js.map +1 -1
  1045. package/ui/Button.js +3 -3
  1046. package/ui/ChannelAvatar.js +5 -5
  1047. package/ui/ConnectionStatus.js +6 -5
  1048. package/ui/ConnectionStatus.js.map +1 -1
  1049. package/ui/ContextMenu.js +16 -14
  1050. package/ui/ContextMenu.js.map +1 -1
  1051. package/ui/DateSeparator.js +4 -4
  1052. package/ui/EmojiReactions.js +26 -27
  1053. package/ui/EmojiReactions.js.map +1 -1
  1054. package/ui/FallbackTemplateMessageItemBody.tsx.js +10 -8
  1055. package/ui/FallbackTemplateMessageItemBody.tsx.js.map +1 -1
  1056. package/ui/FileMessageItemBody.js +20 -16
  1057. package/ui/FileMessageItemBody.js.map +1 -1
  1058. package/ui/FileViewer.js +22 -23
  1059. package/ui/FileViewer.js.map +1 -1
  1060. package/ui/Header.js +6 -6
  1061. package/ui/Icon.js +2 -2
  1062. package/ui/IconButton.js +1 -1
  1063. package/ui/ImageRenderer.js +2 -2
  1064. package/ui/Input.js +3 -3
  1065. package/ui/Label.js +3 -3
  1066. package/ui/LinkLabel.js +4 -4
  1067. package/ui/Loader.js +2 -2
  1068. package/ui/LoadingTemplateMessageItemBody.tsx.js +2 -2
  1069. package/ui/MentionLabel.js +24 -27
  1070. package/ui/MentionLabel.js.map +1 -1
  1071. package/ui/MentionUserLabel.js +2 -2
  1072. package/ui/MessageContent.js +48 -45
  1073. package/ui/MessageContent.js.map +1 -1
  1074. package/ui/MessageFeedbackFailedModal.js +15 -22
  1075. package/ui/MessageFeedbackFailedModal.js.map +1 -1
  1076. package/ui/MessageFeedbackModal.js +15 -22
  1077. package/ui/MessageFeedbackModal.js.map +1 -1
  1078. package/ui/MessageInput/hooks/usePaste.js +7 -7
  1079. package/ui/MessageInput.js +24 -20
  1080. package/ui/MessageInput.js.map +1 -1
  1081. package/ui/MessageItemMenu.js +15 -13
  1082. package/ui/MessageItemMenu.js.map +1 -1
  1083. package/ui/MessageItemReactionMenu.js +16 -14
  1084. package/ui/MessageItemReactionMenu.js.map +1 -1
  1085. package/ui/MessageMenu.js +17 -15
  1086. package/ui/MessageMenu.js.map +1 -1
  1087. package/ui/MessageSearchFileItem.js +17 -15
  1088. package/ui/MessageSearchFileItem.js.map +1 -1
  1089. package/ui/MessageSearchItem.js +12 -11
  1090. package/ui/MessageSearchItem.js.map +1 -1
  1091. package/ui/MessageStatus.js +15 -13
  1092. package/ui/MessageStatus.js.map +1 -1
  1093. package/ui/MessageTemplate.js +1 -1
  1094. package/ui/MobileFeedbackMenu.js +15 -21
  1095. package/ui/MobileFeedbackMenu.js.map +1 -1
  1096. package/ui/MobileMenu.js +21 -23
  1097. package/ui/MobileMenu.js.map +1 -1
  1098. package/ui/Modal.js +13 -21
  1099. package/ui/Modal.js.map +1 -1
  1100. package/ui/MutedAvatarOverlay.js +2 -2
  1101. package/ui/OGMessageItemBody.js +24 -26
  1102. package/ui/OGMessageItemBody.js.map +1 -1
  1103. package/ui/OpenChannelAdminMessage.js +3 -3
  1104. package/ui/OpenChannelAvatar.js +8 -7
  1105. package/ui/OpenChannelAvatar.js.map +1 -1
  1106. package/ui/OpenchannelConversationHeader.js +8 -7
  1107. package/ui/OpenchannelConversationHeader.js.map +1 -1
  1108. package/ui/OpenchannelFileMessage.js +24 -26
  1109. package/ui/OpenchannelFileMessage.js.map +1 -1
  1110. package/ui/OpenchannelOGMessage.js +26 -28
  1111. package/ui/OpenchannelOGMessage.js.map +1 -1
  1112. package/ui/OpenchannelThumbnailMessage.js +23 -25
  1113. package/ui/OpenchannelThumbnailMessage.js.map +1 -1
  1114. package/ui/OpenchannelUserMessage.js +25 -27
  1115. package/ui/OpenchannelUserMessage.js.map +1 -1
  1116. package/ui/PlaceHolder.js +6 -5
  1117. package/ui/PlaceHolder.js.map +1 -1
  1118. package/ui/PlaybackTime.js +3 -3
  1119. package/ui/ProgressBar.js +1 -1
  1120. package/ui/QuoteMessage.js +12 -10
  1121. package/ui/QuoteMessage.js.map +1 -1
  1122. package/ui/QuoteMessageInput.js +12 -10
  1123. package/ui/QuoteMessageInput.js.map +1 -1
  1124. package/ui/ReactionBadge.js +3 -3
  1125. package/ui/ReactionButton.js +4 -4
  1126. package/ui/SortByRow.js +2 -2
  1127. package/ui/TemplateMessageItemBody.js +21 -17
  1128. package/ui/TemplateMessageItemBody.js.map +1 -1
  1129. package/ui/TextButton.js +2 -2
  1130. package/ui/TextMessageItemBody.js +24 -27
  1131. package/ui/TextMessageItemBody.js.map +1 -1
  1132. package/ui/ThreadReplies.js +8 -7
  1133. package/ui/ThreadReplies.js.map +1 -1
  1134. package/ui/ThumbnailMessageItemBody.js +10 -9
  1135. package/ui/ThumbnailMessageItemBody.js.map +1 -1
  1136. package/ui/Toggle.js +8 -5
  1137. package/ui/Toggle.js.map +1 -1
  1138. package/ui/Tooltip.js +3 -3
  1139. package/ui/TooltipWrapper.js +1 -1
  1140. package/ui/TypingIndicatorBubble.js +4 -4
  1141. package/ui/UnknownMessageItemBody.js +10 -8
  1142. package/ui/UnknownMessageItemBody.js.map +1 -1
  1143. package/ui/UserListItem.js +28 -31
  1144. package/ui/UserListItem.js.map +1 -1
  1145. package/ui/UserListItemMenu.js +18 -16
  1146. package/ui/UserListItemMenu.js.map +1 -1
  1147. package/ui/UserProfile.js +19 -32
  1148. package/ui/UserProfile.js.map +1 -1
  1149. package/ui/VoiceMessageInput.js +9 -8
  1150. package/ui/VoiceMessageInput.js.map +1 -1
  1151. package/ui/VoiceMessageItemBody.js +16 -21
  1152. package/ui/VoiceMessageItemBody.js.map +1 -1
  1153. package/ui/Word.js +21 -24
  1154. package/ui/Word.js.map +1 -1
  1155. package/utils/message/isVoiceMessage.js +6 -5
  1156. package/utils/message/isVoiceMessage.js.map +1 -1
  1157. package/chunks/bundle-4W3uBGU3.js.map +0 -1
  1158. package/chunks/bundle-90vsNbxW.js.map +0 -1
  1159. package/chunks/bundle-BAQj91eb.js.map +0 -1
  1160. package/chunks/bundle-BBowfNDO.js.map +0 -1
  1161. package/chunks/bundle-BE58pe-0.js.map +0 -1
  1162. package/chunks/bundle-BFqR1X1Q.js.map +0 -1
  1163. package/chunks/bundle-BMygDCXK.js.map +0 -1
  1164. package/chunks/bundle-BP1CB0js.js.map +0 -1
  1165. package/chunks/bundle-BR3O1lZq.js.map +0 -1
  1166. package/chunks/bundle-BWM5xqIs.js +0 -57
  1167. package/chunks/bundle-BWM5xqIs.js.map +0 -1
  1168. package/chunks/bundle-BiPxcZtH.js.map +0 -1
  1169. package/chunks/bundle-Bk5X1tDl.js +0 -8
  1170. package/chunks/bundle-Bk5X1tDl.js.map +0 -1
  1171. package/chunks/bundle-C1U8wE49.js.map +0 -1
  1172. package/chunks/bundle-C9dF4QVS.js.map +0 -1
  1173. package/chunks/bundle-CB5ZFhrW.js +0 -9
  1174. package/chunks/bundle-CB5ZFhrW.js.map +0 -1
  1175. package/chunks/bundle-CDjVXDOc.js.map +0 -1
  1176. package/chunks/bundle-CDvvzlad.js.map +0 -1
  1177. package/chunks/bundle-CHzQIw7_.js +0 -43
  1178. package/chunks/bundle-CHzQIw7_.js.map +0 -1
  1179. package/chunks/bundle-CZsW3iP9.js.map +0 -1
  1180. package/chunks/bundle-CbEyAimK.js.map +0 -1
  1181. package/chunks/bundle-Ci2fMtNJ.js.map +0 -1
  1182. package/chunks/bundle-Ctm0h0rU.js +0 -12
  1183. package/chunks/bundle-Ctm0h0rU.js.map +0 -1
  1184. package/chunks/bundle-Cu4bYcMG.js +0 -67
  1185. package/chunks/bundle-Cu4bYcMG.js.map +0 -1
  1186. package/chunks/bundle-CzdrQ_Yq.js.map +0 -1
  1187. package/chunks/bundle-DCbJaskZ.js.map +0 -1
  1188. package/chunks/bundle-DImSV9VW.js.map +0 -1
  1189. package/chunks/bundle-DUTyBaXr.js.map +0 -1
  1190. package/chunks/bundle-DWrM1EW4.js.map +0 -1
  1191. package/chunks/bundle-DYeeW5nS.js.map +0 -1
  1192. package/chunks/bundle-DaKZZ13Y.js.map +0 -1
  1193. package/chunks/bundle-Deel9XzY.js.map +0 -1
  1194. package/chunks/bundle-DfDrbjM5.js.map +0 -1
  1195. package/chunks/bundle-DjgT6gu4.js.map +0 -1
  1196. package/chunks/bundle-DkviGBGz.js.map +0 -1
  1197. package/chunks/bundle-Dpdq7qeD.js.map +0 -1
  1198. package/chunks/bundle-DrHsf0sP.js.map +0 -1
  1199. package/chunks/bundle-Dskg5qjd.js.map +0 -1
  1200. package/chunks/bundle-DtycZWOo.js +0 -20
  1201. package/chunks/bundle-DtycZWOo.js.map +0 -1
  1202. package/chunks/bundle-DvcOxLrR.js.map +0 -1
  1203. package/chunks/bundle-Dvg19muo.js.map +0 -1
  1204. package/chunks/bundle-LPNnEgGp.js.map +0 -1
  1205. package/chunks/bundle-LWpHaUiZ.js.map +0 -1
  1206. package/chunks/bundle-MkyS3j4-.js.map +0 -1
  1207. package/chunks/bundle-MrMJJXf2.js +0 -34
  1208. package/chunks/bundle-MrMJJXf2.js.map +0 -1
  1209. package/chunks/bundle-MyLy9AIu.js +0 -367
  1210. package/chunks/bundle-P-vXuw8U.js.map +0 -1
  1211. package/chunks/bundle-TGosz9cX.js.map +0 -1
  1212. package/chunks/bundle-V4PrrT67.js.map +0 -1
  1213. package/chunks/bundle-eYHtE5ry.js.map +0 -1
  1214. package/chunks/bundle-gQ2a8Eki.js.map +0 -1
  1215. package/chunks/bundle-jw_xHmHg.js.map +0 -1
  1216. package/chunks/bundle-k6zcGkBp.js.map +0 -1
  1217. package/cjs/chunks/bundle-4i5ybSGL.js +0 -107
  1218. package/cjs/chunks/bundle-4i5ybSGL.js.map +0 -1
  1219. package/cjs/chunks/bundle-6UD0H-nz.js.map +0 -1
  1220. package/cjs/chunks/bundle-A5UoPEJO.js.map +0 -1
  1221. package/cjs/chunks/bundle-Aw-PHA-I.js.map +0 -1
  1222. package/cjs/chunks/bundle-B0uIbH1T.js.map +0 -1
  1223. package/cjs/chunks/bundle-B2zio8XF.js.map +0 -1
  1224. package/cjs/chunks/bundle-B3LOu7kN.js.map +0 -1
  1225. package/cjs/chunks/bundle-B5aEwfu1.js.map +0 -1
  1226. package/cjs/chunks/bundle-BAF8GaDh.js.map +0 -1
  1227. package/cjs/chunks/bundle-BFFRQpby.js.map +0 -1
  1228. package/cjs/chunks/bundle-BFPhV1oD.js +0 -10
  1229. package/cjs/chunks/bundle-BFPhV1oD.js.map +0 -1
  1230. package/cjs/chunks/bundle-BFXyNnQ0.js +0 -11
  1231. package/cjs/chunks/bundle-BFXyNnQ0.js.map +0 -1
  1232. package/cjs/chunks/bundle-BL1sGjVd.js.map +0 -1
  1233. package/cjs/chunks/bundle-BOCivP7e.js.map +0 -1
  1234. package/cjs/chunks/bundle-BSfpBazH.js.map +0 -1
  1235. package/cjs/chunks/bundle-BUuEhLl0.js +0 -26
  1236. package/cjs/chunks/bundle-BUuEhLl0.js.map +0 -1
  1237. package/cjs/chunks/bundle-BZd597ep.js.map +0 -1
  1238. package/cjs/chunks/bundle-BcIrmepz.js.map +0 -1
  1239. package/cjs/chunks/bundle-Bc_sQb3i.js.map +0 -1
  1240. package/cjs/chunks/bundle-BfjugOIp.js.map +0 -1
  1241. package/cjs/chunks/bundle-Bhf_RRfA.js.map +0 -1
  1242. package/cjs/chunks/bundle-BloKh_k7.js.map +0 -1
  1243. package/cjs/chunks/bundle-BpThX3wu.js.map +0 -1
  1244. package/cjs/chunks/bundle-Bu4cmOCm.js.map +0 -1
  1245. package/cjs/chunks/bundle-ByQJ042a.js.map +0 -1
  1246. package/cjs/chunks/bundle-C3_KfqSN.js.map +0 -1
  1247. package/cjs/chunks/bundle-CNvRk1Z6.js.map +0 -1
  1248. package/cjs/chunks/bundle-CT3qZJLT.js +0 -36
  1249. package/cjs/chunks/bundle-CT3qZJLT.js.map +0 -1
  1250. package/cjs/chunks/bundle-CYAm3mYC.js +0 -50
  1251. package/cjs/chunks/bundle-CYAm3mYC.js.map +0 -1
  1252. package/cjs/chunks/bundle-CfUeEOi0.js.map +0 -1
  1253. package/cjs/chunks/bundle-ChDTEa9-.js.map +0 -1
  1254. package/cjs/chunks/bundle-Clz7RiTn.js.map +0 -1
  1255. package/cjs/chunks/bundle-Cq5LKFhE.js.map +0 -1
  1256. package/cjs/chunks/bundle-D-kYFL1Z.js.map +0 -1
  1257. package/cjs/chunks/bundle-D1slQ3hS.js.map +0 -1
  1258. package/cjs/chunks/bundle-D30swLTX.js.map +0 -1
  1259. package/cjs/chunks/bundle-D6fimwV5.js.map +0 -1
  1260. package/cjs/chunks/bundle-D7uROwt_.js +0 -73
  1261. package/cjs/chunks/bundle-D7uROwt_.js.map +0 -1
  1262. package/cjs/chunks/bundle-DHPSwRDh.js.map +0 -1
  1263. package/cjs/chunks/bundle-DHZYT5M_.js.map +0 -1
  1264. package/cjs/chunks/bundle-DL3fuSPu.js.map +0 -1
  1265. package/cjs/chunks/bundle-DQy9DqFO.js +0 -84
  1266. package/cjs/chunks/bundle-DQy9DqFO.js.map +0 -1
  1267. package/cjs/chunks/bundle-DTD48j2K.js.map +0 -1
  1268. package/cjs/chunks/bundle-DVc6YedH.js.map +0 -1
  1269. package/cjs/chunks/bundle-DWfeFlxG.js.map +0 -1
  1270. package/cjs/chunks/bundle-DX3sBwvt.js.map +0 -1
  1271. package/cjs/chunks/bundle-DYjhaLRW.js.map +0 -1
  1272. package/cjs/chunks/bundle-DkDRIPJe.js.map +0 -1
  1273. package/cjs/chunks/bundle-Dq5LRxGL.js.map +0 -1
  1274. package/cjs/chunks/bundle-DuSS5Dmw.js.map +0 -1
  1275. package/cjs/chunks/bundle-DzEGN4bG.js.map +0 -1
  1276. package/cjs/chunks/bundle-JpIugjtL.js.map +0 -1
  1277. package/cjs/chunks/bundle-Khwf-z37.js.map +0 -1
  1278. package/cjs/chunks/bundle-Ol1CxgYk.js +0 -385
  1279. package/cjs/chunks/bundle-Ol1CxgYk.js.map +0 -1
  1280. package/cjs/chunks/bundle-QF_AmnwV.js.map +0 -1
  1281. package/cjs/chunks/bundle-R7sVfaA9.js.map +0 -1
  1282. package/cjs/chunks/bundle-S-XkXH4q.js.map +0 -1
  1283. package/cjs/chunks/bundle-XANrnOqB.js.map +0 -1
  1284. package/cjs/chunks/bundle-XxCVYLKy.js.map +0 -1
  1285. package/cjs/chunks/bundle-YTiDKoON.js.map +0 -1
  1286. package/cjs/chunks/bundle-m5OpCHlj.js.map +0 -1
  1287. package/cjs/chunks/bundle-nWxq3V_Q.js.map +0 -1
  1288. package/cjs/chunks/bundle-n_Z6yPjx.js.map +0 -1
  1289. package/cjs/chunks/bundle-qMxPIH0k.js.map +0 -1
  1290. package/cjs/chunks/bundle-s1cLz65w.js.map +0 -1
  1291. package/cjs/useSendbirdStateContext.js +0 -27
  1292. package/cjs/useSendbirdStateContext.js.map +0 -1
  1293. package/cjs/withSendbird.js +0 -33
  1294. package/cjs/withSendbird.js.map +0 -1
  1295. package/types/hooks/useAppendDomNode.d.ts +0 -2
  1296. package/types/hooks/useSendbirdStateContext.d.ts +0 -3
  1297. package/types/lib/Sendbird.d.ts +0 -67
  1298. package/types/lib/SendbirdSdkContext.d.ts +0 -12
  1299. package/types/lib/SendbirdState.d.ts +0 -7
  1300. package/types/lib/dux/appInfo/actionTypes.d.ts +0 -26
  1301. package/types/lib/dux/appInfo/initialState.d.ts +0 -23
  1302. package/types/lib/dux/appInfo/reducers.d.ts +0 -3
  1303. package/types/lib/dux/appInfo/utils.d.ts +0 -7
  1304. package/types/lib/dux/sdk/actionTypes.d.ts +0 -16
  1305. package/types/lib/dux/sdk/initialState.d.ts +0 -9
  1306. package/types/lib/dux/sdk/reducers.d.ts +0 -3
  1307. package/types/lib/dux/user/actionTypes.d.ts +0 -14
  1308. package/types/lib/dux/user/initialState.d.ts +0 -8
  1309. package/types/lib/dux/user/reducers.d.ts +0 -3
  1310. package/types/lib/hooks/useConnect/__test__/data.mocks.d.ts +0 -16
  1311. package/types/lib/hooks/useConnect/connect.d.ts +0 -2
  1312. package/types/lib/hooks/useConnect/disconnectSdk.d.ts +0 -2
  1313. package/types/lib/hooks/useConnect/index.d.ts +0 -2
  1314. package/types/lib/hooks/useConnect/setupConnection.d.ts +0 -22
  1315. package/types/lib/hooks/useConnect/types.d.ts +0 -47
  1316. package/types/modules/GroupChannel/context/hooks/useToggleReactionCallback.d.ts +0 -4
  1317. package/types/modules/MessageSearch/context/dux/actionTypes.d.ts +0 -8
  1318. package/types/modules/MessageSearch/context/dux/initialState.d.ts +0 -14
  1319. package/types/modules/MessageSearch/context/dux/reducers.d.ts +0 -7
  1320. package/types/modules/Thread/context/dux/actionTypes.d.ts +0 -38
  1321. package/types/modules/Thread/context/dux/initialState.d.ts +0 -22
  1322. package/types/modules/Thread/context/dux/reducer.d.ts +0 -8
  1323. package/useSendbirdStateContext.js +0 -22
  1324. package/useSendbirdStateContext.js.map +0 -1
  1325. package/withSendbird.js +0 -24
  1326. package/withSendbird.js.map +0 -1
@@ -1,67 +0,0 @@
1
- import React__default, { useState } from 'react';
2
- import { GroupChannelListHeader } from '../GroupChannelList/components/GroupChannelListHeader.js';
3
- import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
4
- import EditUserProfile from '../EditUserProfile.js';
5
- import PlaceHolder, { PlaceHolderTypes } from '../ui/PlaceHolder.js';
6
- import { u as useOnScrollPositionChangeDetector } from './bundle-DWrM1EW4.js';
7
-
8
- var GroupChannelListUIView = function (_a) {
9
- 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, scrollRef = _a.scrollRef;
10
- var _b = useState(false), showProfileEdit = _b[0], setShowProfileEdit = _b[1];
11
- var stores = useSendbirdStateContext().stores;
12
- var renderer = {
13
- addChannel: renderAddChannel,
14
- channel: renderChannel,
15
- placeholder: {
16
- loading: function () {
17
- if (initialized)
18
- return null;
19
- if (renderPlaceHolderLoading)
20
- return renderPlaceHolderLoading();
21
- return React__default.createElement(PlaceHolder, { type: PlaceHolderTypes.LOADING });
22
- },
23
- empty: function () {
24
- if (!initialized)
25
- return null;
26
- if (renderPlaceHolderEmptyList)
27
- return renderPlaceHolderEmptyList();
28
- return React__default.createElement(PlaceHolder, { type: PlaceHolderTypes.NO_CHANNELS });
29
- },
30
- error: function () {
31
- if (!initialized || !stores.sdkStore.error)
32
- return null;
33
- if (renderPlaceHolderError)
34
- return renderPlaceHolderError();
35
- return React__default.createElement(PlaceHolder, { type: PlaceHolderTypes.WRONG });
36
- },
37
- },
38
- };
39
- return (React__default.createElement(React__default.Fragment, null,
40
- React__default.createElement("div", { className: "sendbird-channel-list__header" }, (renderHeader === null || renderHeader === void 0 ? void 0 : renderHeader()) || (React__default.createElement(GroupChannelListHeader, { onEdit: function () { return allowProfileEdit && setShowProfileEdit(true); }, allowProfileEdit: allowProfileEdit, renderIconButton: function () { return renderer.addChannel(); } }))),
41
- showProfileEdit && (React__default.createElement(EditUserProfile, { onThemeChange: onChangeTheme, onCancel: function () { return setShowProfileEdit(false); }, onEditProfile: function (user) {
42
- setShowProfileEdit(false);
43
- onUserProfileUpdated(user);
44
- } })),
45
- React__default.createElement(ChannelListComponent, { data: channels, renderItem: renderer.channel, onLoadMore: onLoadMore, placeholderLoading: renderer.placeholder.loading(), placeholderEmpty: renderer.placeholder.empty(), placeholderError: renderer.placeholder.error(), scrollRef: scrollRef })));
46
- };
47
- /**
48
- * To do: Implement windowing
49
- * Implement windowing if you are dealing with large number of messages/channels
50
- * https://github.com/bvaughn/react-window -> recommendation
51
- * We hesitate to bring one more dependency to our library,
52
- * we are planning to implement it inside the library
53
- * */
54
- var ChannelListComponent = function (props) {
55
- var data = props.data, renderItem = props.renderItem, onLoadMore = props.onLoadMore, placeholderLoading = props.placeholderLoading, placeholderError = props.placeholderError, placeholderEmpty = props.placeholderEmpty, scrollRef = props.scrollRef;
56
- var onScroll = useOnScrollPositionChangeDetector({
57
- onReachedBottom: function () { return onLoadMore === null || onLoadMore === void 0 ? void 0 : onLoadMore(); },
58
- });
59
- return (React__default.createElement("div", { className: 'sendbird-channel-list__body', onScroll: onScroll, ref: scrollRef },
60
- placeholderError,
61
- React__default.createElement("div", null, data.map(function (item, index) { return renderItem({ item: item, index: index }); })),
62
- placeholderLoading,
63
- data.length === 0 && placeholderEmpty));
64
- };
65
-
66
- export { GroupChannelListUIView as G };
67
- //# sourceMappingURL=bundle-Cu4bYcMG.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-Cu4bYcMG.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-CzdrQ_Yq.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DCbJaskZ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DImSV9VW.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DUTyBaXr.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DWrM1EW4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DYeeW5nS.js","sources":["../../node_modules/ts-pattern/dist/index.js","../../node_modules/date-fns/esm/startOfSecond/index.js","../../node_modules/date-fns/esm/isSameSecond/index.js"],"sourcesContent":["var n=Symbol(\"@ts-pattern/matcher\"),t=\"@ts-pattern/anonymous-select-key\",e=function(n){return Boolean(n&&\"object\"==typeof n)},r=function(t){return t&&!!t[n]},u=function t(u,i,c){if(e(u)){if(r(u)){var o=u[n]().match(i),a=o.matched,f=o.selections;return a&&f&&Object.keys(f).forEach(function(n){return c(n,f[n])}),a}if(!e(i))return!1;if(Array.isArray(u))return!!Array.isArray(i)&&u.length===i.length&&u.every(function(n,e){return t(n,i[e],c)});if(u instanceof Map)return i instanceof Map&&Array.from(u.keys()).every(function(n){return t(u.get(n),i.get(n),c)});if(u instanceof Set){if(!(i instanceof Set))return!1;if(0===u.size)return 0===i.size;if(1===u.size){var s=Array.from(u.values())[0];return r(s)?Array.from(i.values()).every(function(n){return t(s,n,c)}):i.has(s)}return Array.from(u.values()).every(function(n){return i.has(n)})}return Object.keys(u).every(function(e){var o,a=u[e];return(e in i||r(o=a)&&\"optional\"===o[n]().matcherType)&&t(a,i[e],c)})}return Object.is(i,u)},i=function t(u){var i,o,a;return e(u)?r(u)?null!=(i=null==(o=(a=u[n]()).getSelectionKeys)?void 0:o.call(a))?i:[]:Array.isArray(u)?c(u,t):c(Object.values(u),t):[]},c=function(n,t){return n.reduce(function(n,e){return n.concat(t(e))},[])};function o(t){var e;return(e={})[n]=function(){return{match:function(n){var e={},r=function(n,t){e[n]=t};return void 0===n?(i(t).forEach(function(n){return r(n,void 0)}),{matched:!0,selections:e}):{matched:u(t,n,r),selections:e}},getSelectionKeys:function(){return i(t)},matcherType:\"optional\"}},e}function a(t){var e;return(e={})[n]=function(){return{match:function(n){if(!Array.isArray(n))return{matched:!1};var e={};if(0===n.length)return i(t).forEach(function(n){e[n]=[]}),{matched:!0,selections:e};var r=function(n,t){e[n]=(e[n]||[]).concat([t])};return{matched:n.every(function(n){return u(t,n,r)}),selections:e}},getSelectionKeys:function(){return i(t)}}},e}function f(){var t,e=[].slice.call(arguments);return(t={})[n]=function(){return{match:function(n){var t={},r=function(n,e){t[n]=e};return{matched:e.every(function(t){return u(t,n,r)}),selections:t}},getSelectionKeys:function(){return c(e,i)},matcherType:\"and\"}},t}function s(){var t,e=[].slice.call(arguments);return(t={})[n]=function(){return{match:function(n){var t={},r=function(n,e){t[n]=e};return c(e,i).forEach(function(n){return r(n,void 0)}),{matched:e.some(function(t){return u(t,n,r)}),selections:t}},getSelectionKeys:function(){return c(e,i)},matcherType:\"or\"}},t}function l(t){var e;return(e={})[n]=function(){return{match:function(n){return{matched:!u(t,n,function(){})}},getSelectionKeys:function(){return[]},matcherType:\"not\"}},e}function h(t){var e;return(e={})[n]=function(){return{match:function(n){return{matched:Boolean(t(n))}}}},e}function v(){var e,r=[].slice.call(arguments),c=\"string\"==typeof r[0]?r[0]:void 0,o=2===r.length?r[1]:\"string\"==typeof r[0]?void 0:r[0];return(e={})[n]=function(){return{match:function(n){var e,r=((e={})[null!=c?c:t]=n,e);return{matched:void 0===o||u(o,n,function(n,t){r[n]=t}),selections:r}},getSelectionKeys:function(){return[null!=c?c:t].concat(void 0===o?[]:i(o))}}},e}var y=h(function(n){return!0}),m=y,d=h(function(n){return\"string\"==typeof n}),g=h(function(n){return\"number\"==typeof n}),p=h(function(n){return\"boolean\"==typeof n}),b=h(function(n){return\"bigint\"==typeof n}),w=h(function(n){return\"symbol\"==typeof n}),A=h(function(n){return null==n}),S={__proto__:null,optional:o,array:a,intersection:f,union:s,not:l,when:h,select:v,any:y,_:m,string:d,number:g,boolean:p,bigint:b,symbol:w,nullish:A,instanceOf:function(n){return h(function(n){return function(t){return t instanceof n}}(n))},typed:function(){return{array:a,optional:o,intersection:f,union:s,not:l,select:v,when:h}}};function K(n){return new O(n,[])}var O=/*#__PURE__*/function(){function n(n,t){this.value=void 0,this.cases=void 0,this.value=n,this.cases=t}var e=n.prototype;return e.with=function(){var e=[].slice.call(arguments),r=e[e.length-1],i=[e[0]],c=[];return 3===e.length&&\"function\"==typeof e[1]?(i.push(e[0]),c.push(e[1])):e.length>2&&i.push.apply(i,e.slice(1,e.length-1)),new n(this.value,this.cases.concat([{match:function(n){var e={},r=Boolean(i.some(function(t){return u(t,n,function(n,t){e[n]=t})})&&c.every(function(t){return t(n)}));return{matched:r,value:r&&Object.keys(e).length?t in e?e[t]:e:n}},handler:r}]))},e.when=function(t,e){return new n(this.value,this.cases.concat([{match:function(n){return{matched:Boolean(t(n)),value:n}},handler:e}]))},e.otherwise=function(t){return new n(this.value,this.cases.concat([{match:function(n){return{matched:!0,value:n}},handler:t}])).run()},e.exhaustive=function(){return this.run()},e.run=function(){for(var n=this.value,t=void 0,e=0;e<this.cases.length;e++){var r=this.cases[e],u=r.match(this.value);if(u.matched){n=u.value,t=r.handler;break}}if(!t){var i;try{i=JSON.stringify(this.value)}catch(n){i=this.value}throw new Error(\"Pattern matching error: no pattern matches value \"+i)}return t(n,this.value)},n}();function j(){var n=[].slice.call(arguments);if(1===n.length){var t=n[0];return function(n){return u(t,n,function(){})}}if(2===n.length)return u(n[0],n[1],function(){});throw new Error(\"isMatching wasn't given the right number of arguments: expected 1 or 2, received \"+n.length+\".\")}export{S as P,S as Pattern,j as isMatching,K as match};\n//# sourceMappingURL=index.js.map\n","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfSecond\n * @category Second Helpers\n * @summary Return the start of a second for the given date.\n *\n * @description\n * Return the start of a second for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a second\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a second for 1 December 2014 22:15:45.400:\n * const result = startOfSecond(new Date(2014, 11, 1, 22, 15, 45, 400))\n * //=> Mon Dec 01 2014 22:15:45.000\n */\nexport default function startOfSecond(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setMilliseconds(0);\n return date;\n}","import startOfSecond from \"../startOfSecond/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameSecond\n * @category Second Helpers\n * @summary Are the given dates in the same second (and hour and day)?\n *\n * @description\n * Are the given dates in the same second (and hour and day)?\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 second (and hour and day)\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 4 September 2014 06:30:15.000 and 4 September 2014 06:30.15.500 in the same second?\n * const result = isSameSecond(\n * new Date(2014, 8, 4, 6, 30, 15),\n * new Date(2014, 8, 4, 6, 30, 15, 500)\n * )\n * //=> true\n *\n * @example\n * // Are 4 September 2014 06:00:15.000 and 4 September 2014 06:01.15.000 in the same second?\n * const result = isSameSecond(\n * new Date(2014, 8, 4, 6, 0, 15),\n * new Date(2014, 8, 4, 6, 1, 15)\n * )\n * //=> false\n *\n * @example\n * // Are 4 September 2014 06:00:15.000 and 5 September 2014 06:00.15.000 in the same second?\n * const result = isSameSecond(\n * new Date(2014, 8, 4, 6, 0, 15),\n * new Date(2014, 8, 5, 6, 0, 15)\n * )\n * //=> false\n */\nexport default function isSameSecond(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeftStartOfSecond = startOfSecond(dirtyDateLeft);\n var dateRightStartOfSecond = startOfSecond(dirtyDateRight);\n return dateLeftStartOfSecond.getTime() === dateRightStartOfSecond.getTime();\n}"],"names":[],"mappings":";;;;;;;AAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0,1,2]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DaKZZ13Y.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-Deel9XzY.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DfDrbjM5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DjgT6gu4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DkviGBGz.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-Dpdq7qeD.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DrHsf0sP.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-Dskg5qjd.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,20 +0,0 @@
1
- import React__default from 'react';
2
- import IconButton from '../ui/IconButton.js';
3
- import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
4
- import CreateChannel from '../CreateChannel.js';
5
- import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
6
-
7
- var AddGroupChannelView = function (_a) {
8
- var createChannelVisible = _a.createChannelVisible, onChangeCreateChannelVisible = _a.onChangeCreateChannelVisible, onBeforeCreateChannel = _a.onBeforeCreateChannel, onCreateChannelClick = _a.onCreateChannelClick, onChannelCreated = _a.onChannelCreated;
9
- var config = useSendbirdStateContext().config;
10
- return (React__default.createElement(React__default.Fragment, null,
11
- React__default.createElement(IconButton, { height: '32px', width: '32px', disabled: !config.isOnline, onClick: function () { return onChangeCreateChannelVisible(true); } },
12
- React__default.createElement(Icon, { type: IconTypes.CREATE, fillColor: IconColors.PRIMARY, width: '24px', height: '24px' })),
13
- createChannelVisible && (React__default.createElement(CreateChannel, { onCancel: function () { return onChangeCreateChannelVisible(false); }, onChannelCreated: function (channel) {
14
- onChannelCreated === null || onChannelCreated === void 0 ? void 0 : onChannelCreated(channel);
15
- onChangeCreateChannelVisible(false);
16
- }, onBeforeCreateChannel: onBeforeCreateChannel, onCreateChannelClick: onCreateChannelClick }))));
17
- };
18
-
19
- export { AddGroupChannelView as A };
20
- //# sourceMappingURL=bundle-DtycZWOo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DtycZWOo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-DvcOxLrR.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-Dvg19muo.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-LPNnEgGp.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-LWpHaUiZ.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-MkyS3j4-.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,34 +0,0 @@
1
- import { useCallback } from 'react';
2
-
3
- var LOG_PRESET = 'useToggleReactionCallback:';
4
- function useToggleReactionCallback(currentChannel, logger) {
5
- return useCallback(function (message, key, isReacted) {
6
- if (!currentChannel) {
7
- logger === null || logger === void 0 ? void 0 : logger.warning("".concat(LOG_PRESET, " currentChannel doesn't exist"), currentChannel);
8
- return;
9
- }
10
- if (isReacted) {
11
- currentChannel
12
- .deleteReaction(message, key)
13
- .then(function (res) {
14
- logger === null || logger === void 0 ? void 0 : logger.info("".concat(LOG_PRESET, " Delete reaction success"), res);
15
- })
16
- .catch(function (err) {
17
- logger === null || logger === void 0 ? void 0 : logger.warning("".concat(LOG_PRESET, " Delete reaction failed"), err);
18
- });
19
- }
20
- else {
21
- currentChannel
22
- .addReaction(message, key)
23
- .then(function (res) {
24
- logger === null || logger === void 0 ? void 0 : logger.info("".concat(LOG_PRESET, " Add reaction success"), res);
25
- })
26
- .catch(function (err) {
27
- logger === null || logger === void 0 ? void 0 : logger.warning("".concat(LOG_PRESET, " Add reaction failed"), err);
28
- });
29
- }
30
- }, [currentChannel]);
31
- }
32
-
33
- export { useToggleReactionCallback as u };
34
- //# sourceMappingURL=bundle-MrMJJXf2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-MrMJJXf2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,367 +0,0 @@
1
- import { c as __spreadArray, _ as __assign } from './bundle-C7jYHvwG.js';
2
- import React__default, { useContext, useState, useEffect, createContext, useCallback, useMemo } from 'react';
3
- import { K } from './bundle-DYeeW5nS.js';
4
- import { c as classnames, n as noop } from './bundle-DUTyBaXr.js';
5
- import { createPortal } from 'react-dom';
6
- import { L as LocalizationContext, u as useLocalization } from './bundle-CIN9yQRB.js';
7
- import { u as useMediaQueryContext } from './bundle-DfDrbjM5.js';
8
- import IconButton from '../ui/IconButton.js';
9
- import Button, { ButtonTypes } from '../ui/Button.js';
10
- import Icon, { IconTypes, IconColors } from '../ui/Icon.js';
11
- import { L as Label, a as LabelTypography, b as LabelColors } from './bundle-DImSV9VW.js';
12
- import '@sendbird/uikit-tools';
13
- import '../withSendbird.js';
14
- import 'css-vars-ponyfill';
15
- import '@sendbird/chat';
16
- import { u as uuidv4 } from './bundle-4W3uBGU3.js';
17
- import '@sendbird/chat/openChannel';
18
- import '@sendbird/chat/groupChannel';
19
- import './bundle-CLonR-iH.js';
20
- import { B as BROWSER_SUPPORT_MIME_TYPE_LIST, o as VOICE_RECORDER_AUDIO_BIT_RATE, e as VOICE_MESSAGE_FILE_NAME, a as VOICE_MESSAGE_MIME_TYPE } from './bundle-DkviGBGz.js';
21
- import { useSendbirdStateContext } from '../useSendbirdStateContext.js';
22
- import './bundle-C6-Ix-Lk.js';
23
-
24
- /**
25
- * Mapping object to convert numeric keys to descriptive text
26
- * [(legacy) numeric key]: [(new) descriptive text]
27
- */
28
- var colorMapping = {
29
- // Primary / Secondary / Error / Information
30
- 100: 'extra-light',
31
- 200: 'light',
32
- 300: 'main',
33
- 400: 'dark',
34
- 500: 'extra-dark',
35
- // Overlay
36
- 'overlay-01': 'overlay-dark',
37
- 'overlay-02': 'overlay-light',
38
- // OnLight
39
- 'onlight-01': 'onlight-text-high-emphasis',
40
- 'onlight-02': 'onlight-text-mid-emphasis',
41
- 'onlight-03': 'onlight-text-low-emphasis',
42
- 'onlight-04': 'onlight-text-disabled',
43
- // OnDark
44
- 'ondark-01': 'ondark-text-high-emphasis',
45
- 'ondark-02': 'ondark-text-mid-emphasis',
46
- 'ondark-03': 'ondark-text-low-emphasis',
47
- 'ondark-04': 'ondark-text-disabled',
48
- };
49
- /**
50
- * Order of mappings to ensure longer keys are matched first
51
- * e.g. In --sendbird-dark-background-extra-dark, 'extra-dark' should be matched instead of 'dark'
52
- */
53
- var colorMappingOrder = Object
54
- .values(colorMapping)
55
- .sort(function (a, b) { return b.length - a.length; });
56
- /**
57
- * Convert colorMapping to a Map for quick lookup in mapColorKeys
58
- */
59
- var colorMappingMap = new Map(Object.entries(colorMapping).map(function (_a) {
60
- var key = _a[0], value = _a[1];
61
- return [value, key];
62
- }));
63
- /**
64
- * Converts descriptive color keys to their numeric equivalents.
65
- *
66
- * This function takes a set of CSS variable keys and transforms
67
- * descriptive color keys (e.g. 'extra-light', 'main') into their
68
- * numeric equivalents(e.g. 100, 200, ..., 500) as defined in the colorMapping object.
69
- *
70
- * e.g.
71
- * Input:
72
- * {
73
- * '--sendbird-light-primary-extra-dark': '#00487c',
74
- * '--sendbird-light-primary-dark': '#4bb3fd',
75
- * '--sendbird-light-primary-main': '#3e6680',
76
- * '--sendbird-light-primary-light': '#0496ff',
77
- * '--sendbird-light-primary-extra-light': '#027bce',
78
- * }
79
- *
80
- * Output:
81
- * {
82
- * '--sendbird-light-primary-500': '#00487c',
83
- * '--sendbird-light-primary-400': '#4bb3fd',
84
- * '--sendbird-light-primary-300': '#3e6680',
85
- * '--sendbird-light-primary-200': '#0496ff',
86
- * '--sendbird-light-primary-100': '#027bce',
87
- * }
88
- *
89
- * @param {ColorSet} colorSet - The input object containing CSS variables with descriptive keys.
90
- * @returns {ColorSet} The transformed object with numeric keys.
91
- */
92
- var mapColorKeys = function (colorSet) {
93
- var mappedColors = {};
94
- Object.entries(colorSet).forEach(function (_a) {
95
- var key = _a[0], value = _a[1];
96
- var descriptiveKey = key;
97
- for (var _i = 0, colorMappingOrder_1 = colorMappingOrder; _i < colorMappingOrder_1.length; _i++) {
98
- var mappingValue = colorMappingOrder_1[_i];
99
- // Prepare a regex to match the mapping value at the end of the key
100
- // e.g., '-extra-dark$'
101
- var regex = new RegExp("-".concat(mappingValue, "$"));
102
- if (regex.test(key)) {
103
- // Find the corresponding numeric key for the mapping value using Map
104
- var numericKey = colorMappingMap.get(mappingValue);
105
- if (numericKey) {
106
- // Replace the descriptive text with the numeric key
107
- descriptiveKey = key.replace(regex, "-".concat(numericKey));
108
- break;
109
- }
110
- }
111
- }
112
- mappedColors[descriptiveKey] = value;
113
- });
114
- return mappedColors;
115
- };
116
-
117
- // simple component to be used as modal root
118
- var MODAL_ROOT = 'sendbird-modal-root';
119
- var ModalRoot = function () { return (React__default.createElement("div", { id: MODAL_ROOT, className: MODAL_ROOT })); };
120
-
121
- var ModalHeader = function (_a) {
122
- var titleText = _a.titleText, onCloseClick = _a.onCloseClick;
123
- return (React__default.createElement("div", { className: "sendbird-modal__header" },
124
- React__default.createElement(Label, { type: LabelTypography.H_1, color: LabelColors.ONBACKGROUND_1 }, titleText),
125
- React__default.createElement("div", { className: "sendbird-modal__close" },
126
- React__default.createElement(IconButton, { width: "32px", height: "32px", onClick: onCloseClick },
127
- React__default.createElement(Icon, { type: IconTypes.CLOSE, fillColor: IconColors.DEFAULT, width: "24px", height: "24px" })))));
128
- };
129
- var ModalBody = function (_a) {
130
- var children = _a.children;
131
- return (React__default.createElement("div", { className: "sendbird-modal__body" },
132
- React__default.createElement(Label, { type: LabelTypography.SUBTITLE_1, color: LabelColors.ONBACKGROUND_2 }, children)));
133
- };
134
- var ModalFooter = function (_a) {
135
- var submitText = _a.submitText, _b = _a.disabled, disabled = _b === void 0 ? false : _b, _c = _a.hideCancelButton, hideCancelButton = _c === void 0 ? false : _c, _d = _a.type, type = _d === void 0 ? ButtonTypes.DANGER : _d, onSubmit = _a.onSubmit, onCancel = _a.onCancel;
136
- var stringSet = useContext(LocalizationContext).stringSet;
137
- return (React__default.createElement("div", { className: "sendbird-modal__footer" },
138
- !hideCancelButton && (React__default.createElement(Button, { type: ButtonTypes.SECONDARY, onClick: onCancel },
139
- React__default.createElement(Label, { type: LabelTypography.BUTTON_1, color: LabelColors.ONBACKGROUND_1 }, stringSet.BUTTON__CANCEL))),
140
- React__default.createElement(Button, { type: type, disabled: disabled, onClick: onSubmit }, submitText)));
141
- };
142
- function Modal(props) {
143
- var _a;
144
- var _b = props.children, children = _b === void 0 ? null : _b, _c = props.className, className = _c === void 0 ? '' : _c, _d = props.contentClassName, contentClassName = _d === void 0 ? '' : _d, _e = props.isCloseOnClickOutside, isCloseOnClickOutside = _e === void 0 ? false : _e, _f = props.isFullScreenOnMobile, isFullScreenOnMobile = _f === void 0 ? false : _f, titleText = props.titleText, submitText = props.submitText, _g = props.disabled, disabled = _g === void 0 ? false : _g, _h = props.hideFooter, hideFooter = _h === void 0 ? false : _h, _j = props.type, type = _j === void 0 ? ButtonTypes.DANGER : _j, renderHeader = props.renderHeader, _k = props.onSubmit, onSubmit = _k === void 0 ? noop : _k, onClose = props.onClose, onCancel = props.onCancel, customFooter = props.customFooter;
145
- var handleClose = (_a = onClose !== null && onClose !== void 0 ? onClose : onCancel) !== null && _a !== void 0 ? _a : noop;
146
- var eventHandlers = useSendbirdStateContext().eventHandlers;
147
- var id = useState(function () { return "sbu-modal-".concat(uuidv4()); })[0];
148
- useEffect(function () {
149
- var _a, _b;
150
- return (_b = (_a = eventHandlers === null || eventHandlers === void 0 ? void 0 : eventHandlers.modal) === null || _a === void 0 ? void 0 : _a.onMounted) === null || _b === void 0 ? void 0 : _b.call(_a, { close: handleClose, id: id });
151
- }, []);
152
- var isMobile = useMediaQueryContext().isMobile;
153
- return createPortal(React__default.createElement("div", { className: classnames('sendbird-modal', className, isFullScreenOnMobile && isMobile && 'sendbird-modal--full-mobile') },
154
- React__default.createElement("div", { className: classnames.apply(void 0, __spreadArray(['sendbird-modal__content'], (Array.isArray(contentClassName) ? contentClassName : [contentClassName]), false)) },
155
- (renderHeader === null || renderHeader === void 0 ? void 0 : renderHeader()) || React__default.createElement(ModalHeader, { titleText: titleText !== null && titleText !== void 0 ? titleText : '', onCloseClick: handleClose }),
156
- React__default.createElement(ModalBody, null, children),
157
- !hideFooter
158
- && (customFooter !== null && customFooter !== void 0 ? customFooter : (React__default.createElement(ModalFooter, { disabled: disabled, onCancel: handleClose, onSubmit: onSubmit, submitText: submitText !== null && submitText !== void 0 ? submitText : '', type: type })))),
159
- React__default.createElement("div", { className: classnames('sendbird-modal__backdrop', isCloseOnClickOutside && 'sendbird-modal__backdrop--clickoutside'), onClick: function (e) {
160
- e === null || e === void 0 ? void 0 : e.stopPropagation();
161
- if (isCloseOnClickOutside) {
162
- handleClose();
163
- }
164
- } })), document.getElementById(MODAL_ROOT));
165
- }
166
-
167
- var Context = createContext({
168
- start: noop,
169
- stop: noop,
170
- isRecordable: false,
171
- });
172
- var VoiceRecorderProvider = function (props) {
173
- var _a;
174
- var children = props.children;
175
- var config = useSendbirdStateContext().config;
176
- var logger = config.logger, groupChannel = config.groupChannel;
177
- var _b = useState(null), mediaRecorder = _b[0], setMediaRecorder = _b[1];
178
- var _c = useState(false), isRecordable = _c[0], setIsRecordable = _c[1];
179
- var _d = useState(false), permissionWarning = _d[0], setPermissionWarning = _d[1];
180
- var stringSet = useLocalization().stringSet;
181
- var isVoiceMessageEnabled = groupChannel.enableVoiceMessage;
182
- var _e = useState(null), webAudioUtils = _e[0], setWebAudioUtils = _e[1];
183
- var browserSupportMimeType = (_a = BROWSER_SUPPORT_MIME_TYPE_LIST.find(function (mimeType) { return MediaRecorder.isTypeSupported(mimeType); })) !== null && _a !== void 0 ? _a : '';
184
- if (isVoiceMessageEnabled && !browserSupportMimeType) {
185
- logger.error('VoiceRecorder: Browser does not support mimeType', { mimmeTypes: BROWSER_SUPPORT_MIME_TYPE_LIST });
186
- }
187
- useEffect(function () {
188
- if (isVoiceMessageEnabled && !webAudioUtils) {
189
- import('./bundle-CZsW3iP9.js').then(function (module) { return setWebAudioUtils(module); });
190
- }
191
- }, [isVoiceMessageEnabled, webAudioUtils]);
192
- var start = useCallback(function (eventHandler) {
193
- var _a, _b;
194
- if (isVoiceMessageEnabled && !webAudioUtils) {
195
- logger.error('VoiceRecorder: Recording audio processor is being loaded.');
196
- return;
197
- }
198
- var checkPermission = function () {
199
- try {
200
- // Type '"microphone"' is not assignable to type 'PermissionName'.ts(2322)
201
- // this is typescript issue
202
- // https://github.com/microsoft/TypeScript/issues/33923
203
- // @ts-expect-error
204
- navigator.permissions.query({ name: 'microphone' }).then(function (result) {
205
- if (result.state === 'denied') {
206
- logger.warning('VoiceRecorder: Permission denied.');
207
- setPermissionWarning(true);
208
- }
209
- });
210
- }
211
- catch (error) {
212
- logger.warning('VoiceRecorder: Failed to check permission.', error);
213
- }
214
- };
215
- logger.info('VoiceRecorder: Start recording.');
216
- if (mediaRecorder) {
217
- stop();
218
- logger.info('VoiceRecorder: Previous mediaRecorder is stopped.');
219
- }
220
- checkPermission();
221
- (_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.mediaDevices) === null || _a === void 0 ? void 0 : _a.getUserMedia) === null || _b === void 0 ? void 0 : _b.call(_a, { audio: true }).then(function (stream) {
222
- var _a;
223
- logger.info('VoiceRecorder: Succeeded getting media stream.', stream);
224
- setIsRecordable(true);
225
- var mediaRecorder = new MediaRecorder(stream, {
226
- mimeType: browserSupportMimeType,
227
- audioBitsPerSecond: VOICE_RECORDER_AUDIO_BIT_RATE,
228
- });
229
- // when recording stops
230
- mediaRecorder.ondataavailable = function (e) {
231
- logger.info('VoiceRecorder: Succeeded getting an available data.', e.data);
232
- var audioFile = new File([e.data], VOICE_MESSAGE_FILE_NAME, {
233
- lastModified: new Date().getTime(),
234
- type: VOICE_MESSAGE_MIME_TYPE,
235
- });
236
- webAudioUtils === null || webAudioUtils === void 0 ? void 0 : webAudioUtils.downsampleToWav(audioFile, function (buffer) {
237
- var _a;
238
- var mp3Buffer = webAudioUtils === null || webAudioUtils === void 0 ? void 0 : webAudioUtils.encodeMp3(buffer);
239
- var mp3blob = new Blob(mp3Buffer, { type: VOICE_MESSAGE_MIME_TYPE });
240
- var convertedAudioFile = new File([mp3blob], VOICE_MESSAGE_FILE_NAME, {
241
- lastModified: new Date().getTime(),
242
- type: VOICE_MESSAGE_MIME_TYPE,
243
- });
244
- (_a = eventHandler === null || eventHandler === void 0 ? void 0 : eventHandler.onRecordingEnded) === null || _a === void 0 ? void 0 : _a.call(eventHandler, convertedAudioFile);
245
- logger.info('VoiceRecorder: Succeeded converting audio file.', convertedAudioFile);
246
- });
247
- var tracks = stream.getAudioTracks();
248
- tracks.forEach(function (track) { return track.stop(); });
249
- setIsRecordable(false);
250
- };
251
- mediaRecorder.onstart = (_a = eventHandler === null || eventHandler === void 0 ? void 0 : eventHandler.onRecordingStarted) !== null && _a !== void 0 ? _a : noop;
252
- mediaRecorder === null || mediaRecorder === void 0 ? void 0 : mediaRecorder.start();
253
- setMediaRecorder(mediaRecorder);
254
- }).catch(function (err) {
255
- logger.error('VoiceRecorder: Failed getting media stream.', err);
256
- setMediaRecorder(null);
257
- });
258
- }, [mediaRecorder, webAudioUtils]);
259
- var stop = useCallback(function () {
260
- // Stop recording
261
- mediaRecorder === null || mediaRecorder === void 0 ? void 0 : mediaRecorder.stop();
262
- setMediaRecorder(null);
263
- setIsRecordable(false);
264
- logger.info('VoiceRecorder: Stop recording.');
265
- }, [mediaRecorder]);
266
- return (React__default.createElement(Context.Provider, { value: { start: start, stop: stop, isRecordable: isRecordable } },
267
- children,
268
- permissionWarning && (React__default.createElement(Modal, { hideFooter: true, onClose: function () { return setPermissionWarning(false); } },
269
- React__default.createElement(React__default.Fragment, null, stringSet.VOICE_RECORDING_PERMISSION_DENIED)))));
270
- };
271
- var useVoiceRecorderContext = function () { return useContext(Context); };
272
- var index = {
273
- VoiceRecorderProvider: VoiceRecorderProvider,
274
- useVoiceRecorderContext: useVoiceRecorderContext,
275
- };
276
-
277
- var GlobalModalContext = createContext({
278
- openModal: noop,
279
- });
280
- var GlobalModalProvider = function (_a) {
281
- var children = _a.children;
282
- // Idea from https://dev.to/nurislamov/simple-modals-queue-in-react-4g6c
283
- var _b = useState([]), globalModalQueue = _b[0], setGlobalModalQueue = _b[1];
284
- var openModal = useCallback(function (props) {
285
- setGlobalModalQueue(function (currentQue) { return __spreadArray(__spreadArray([], currentQue, true), [props], false); });
286
- }, []);
287
- var closeModal = useCallback(function () {
288
- setGlobalModalQueue(function (currentQue) { return currentQue.slice(1); });
289
- }, []);
290
- var ModalComponent = useMemo(function () { return function () {
291
- return K(globalModalQueue)
292
- .when(function (q) { return q.length === 0; }, function () {
293
- return React__default.createElement(React__default.Fragment, null);
294
- })
295
- .otherwise(function () {
296
- var _a = globalModalQueue[0], modalProps = _a.modalProps, childElement = _a.childElement;
297
- return (React__default.createElement(Modal, __assign({}, modalProps, { className: classnames('sendbird-global-modal', modalProps === null || modalProps === void 0 ? void 0 : modalProps.className), onClose: function () {
298
- var _a;
299
- (_a = modalProps === null || modalProps === void 0 ? void 0 : modalProps.onClose) === null || _a === void 0 ? void 0 : _a.call(modalProps);
300
- closeModal();
301
- } }), childElement({
302
- closeModal: closeModal,
303
- })));
304
- });
305
- }; }, [globalModalQueue]);
306
- return (React__default.createElement(GlobalModalContext.Provider, { value: {
307
- openModal: openModal,
308
- } },
309
- React__default.createElement(ModalComponent, null),
310
- children));
311
- };
312
- var useGlobalModalContext = function () { return useContext(GlobalModalContext); };
313
-
314
- var EmojiManager = /** @class */ (function () {
315
- function EmojiManager(props) {
316
- var _this = this;
317
- var _a;
318
- var sdk = props.sdk, logger = props.logger;
319
- (_a = sdk === null || sdk === void 0 ? void 0 : sdk.getAllEmoji) === null || _a === void 0 ? void 0 : _a.call(sdk).then(function (emojiContainer) {
320
- _this._emojiContainer = emojiContainer;
321
- logger === null || logger === void 0 ? void 0 : logger.info('EmojiManager | Succeeded getting all emojis. ', emojiContainer);
322
- }).catch(function () {
323
- logger === null || logger === void 0 ? void 0 : logger.warning('EmojiManager | Failed getting all emojis.');
324
- });
325
- }
326
- Object.defineProperty(EmojiManager.prototype, "AllEmojisAsArray", {
327
- get: function () {
328
- return this._emojiContainer.emojiCategories.flatMap(function (category) { return category.emojis; });
329
- },
330
- enumerable: false,
331
- configurable: true
332
- });
333
- Object.defineProperty(EmojiManager.prototype, "AllEmojisAsMap", {
334
- get: function () {
335
- return this._emojiContainer.emojiCategories
336
- .flatMap(function (category) { return category.emojis; })
337
- .reduce(function (map, emoji) {
338
- map.set(emoji.key, emoji.url);
339
- return map;
340
- }, new Map());
341
- },
342
- enumerable: false,
343
- configurable: true
344
- });
345
- EmojiManager.prototype.getAllEmojis = function (type) {
346
- var _this = this;
347
- return K(type)
348
- .when(function (type) { return ['array', 'arr'].includes(type); }, function () { return _this.AllEmojisAsArray; })
349
- .when(function (type) { return ['map'].includes(type); }, function () { return _this.AllEmojisAsMap; })
350
- .otherwise(function () { return _this.AllEmojisAsArray; });
351
- };
352
- EmojiManager.prototype.getEmojiUrl = function (reactionKey) {
353
- var _a, _b;
354
- return (_b = (_a = this.AllEmojisAsArray.find(function (emoji) { return emoji.key === reactionKey; })) === null || _a === void 0 ? void 0 : _a.url) !== null && _b !== void 0 ? _b : '';
355
- };
356
- Object.defineProperty(EmojiManager.prototype, "emojiContainer", {
357
- get: function () {
358
- return this._emojiContainer;
359
- },
360
- enumerable: false,
361
- configurable: true
362
- });
363
- return EmojiManager;
364
- }());
365
-
366
- export { EmojiManager as E, GlobalModalProvider as G, Modal as M, VoiceRecorderProvider as V, MODAL_ROOT as a, useGlobalModalContext as b, ModalFooter as c, ModalRoot as d, ModalHeader as e, ModalBody as f, index as i, mapColorKeys as m, useVoiceRecorderContext as u };
367
- //# sourceMappingURL=bundle-MyLy9AIu.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-P-vXuw8U.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-TGosz9cX.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-V4PrrT67.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-eYHtE5ry.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"bundle-gQ2a8Eki.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}